@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231204.0 → 0.0.0-nightly-20231205.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/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x54e7=['_SUGGESTION_ANNOUNCEMENT','isLimit','markerName','backward','skipNestingCheck','isAtStart','isBefore','ck-suggestion-marker-formatBlock','addCommentThread','rootName','getIntersection','error-saving-suggestion-data-suggestion-discarded','consumable','isExternal','add','buildSuggestion','ck-suggestion-marker-','head','trackChanges.trackFormatChanges','getLastMatchingPosition','markerNameToElements','setTo','_model','isBlock','isTouching','_getMarkerAnnouncementText','applyOperation','never','_mergeNestedSuggestions','isArray','isLocal','highest','_initAriaMarkerChangeAnnouncements','formatInline:discard','deletion:','enqueueChange','getOperations','nodeAfter','createPositionAfter','adapter','_breakSuggestionMarker','isObject','@external','getContainedElement','differ','model','formatBlock','FORMATTING','deletion:accept','PENDING_ACTION_SUGGESTION','set','announce','discardAllSuggestions','root','_checkSuggestionCorrectness','markInlineFormat','isUndo','getWalker','notReady','subType','_enabledCommands','deletion:chain','isAtEnd','commentThread','insertion:discard','track-changes-user-not-found','define','addMarkerName','formatInline:accept','resolve','markMultiRangeBlockFormat','_suggestions','removed','rejected','version','newRange','_rangeIsInLocalUserInsertion','config','isInContent','_isDataLoaded','getChangedMarkers','markBlockFormat','containsPosition','groupId','catch','deletion','editing','formatBlock:discard','find','get','setSelection','track-changes-adapter-missing-getsuggestion','start','_findSuggestions','_joinWithAdjacentSuggestions','markMultiRangeDeletion','fromRange','addMarker:suggestion:formatBlock','_blockAttributeKeys','attribute:accept','type','getFirstRange','hasCommentThread','removeMarker','_removeSuggestion','removeMarkers','rethrowUnexpectedError','isAfter','multipleBlocks','conversion','discardSelectedSuggestions','comments','map','authoredAt','getSuggestion','TrackChangesEditing','remove','addAttribute','isOwn','markerToHighlight','formatInline:','addRange','oldValue','elementToElement','_adapter','trackChanges.mergeNestedSuggestions','_reduceExistingSuggestions','attributeOldValue','createPositionBefore','then','element','elementEnd','getAttribute','_customCallbacks','setAttribute','attributes','getSuggestionCallback','authorName','markDeletion','isCollapsed','ck-suggestion-marker','values','rename','_defaultCallbacks','ENTER','hasComments','end','collaboration.channelId','for','toViewElement','deletion:discard','every','getDifference','activeMarkers','isIntersectingWithRange','$elementName','fire','insertion:chain','normal','_registerBlockAttribute','track-changes-adapter-already-set','widget','_trackFormatChanges','dataReady','execute','_editor','newName','key','_commentsRepository','addHighlight','concat','mapper','getCustomProperty','options','removeMarker:suggestion:formatBlock','containsRangeInObject','registerCustomCallback','changeAttribute','formatInline','moveTargetPosition','isNextTo','getAllAdjacentSuggestions','move','suggestion:','formatInline:join','_setSuggestionData','registerPostFixer','insert','editor','_setSuggestionRange','_recordAttributeSuggestionsFromVersion','accepted','addSuggestion','open','fromCharCode','insertion:accept','after','change:_saved','substring','formatBlock:join','$text','addMarker','range','$marker','position','addUser','fetchCommentThread','markAttributeChange','_inlineAttributeKeys','data','tablePasteChainId','return','value','containsRange','locale','author','getNearestSelectionRange','document','trackChanges','item','addComment','listenTo','formatBlock:','_reduceSuggestionAttributeRange','_processAttributeSuggestions','isIntersecting','editingDowncast','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.','getFirstMarker','addSuggestionData','createRange','removeAttribute','isEqual','attribute','_suggestionState','refresh','getShiftedBy','getSuggestions','pop','selection','delete','splitPosition','_splitMarkerName','change:activeMarkers','attributeNewValue','getRanges','unbind','isSelectable','getAncestors','isMultiRange','_joinSuggestions','_suggestionFactory','toJSON','attribute:','markerToData','createdAt','accept','isRemovable','createPositionAt','formatBlock:accept','chain','format','_getSuggestionData','acceptAllSuggestions','suggestionLoaded','next','detach','getCommentThread','upcast','forceDefaultExecution','change','_updateSuggestionData','$textProxy','filter','getMarkers','createSelection','default','multi','acceptSuggestion','data-suggestion','reconvertMarker','originalSuggestionId','_addSuggestionMarker','sort','parent','targetPosition','_onDiscard','toUpperCase','marker-count','substr','clone','dataToMarker','_cutOutSuggestionMarker','writer','_getAuthorFromId','updateSuggestion','dataDowncast','join','update:suggestion','discard','consume','removeComment','creator','commandName','splice','_isForcedDefaultExecutionBlock','suggestionUnloaded','_createSuggestion','trackChangesCommand','some','deleteContent','_handleNewSuggestionMarker','newValue','_isBlockAttribute','split','formatBlock:chain','batch','PendingActions','_refreshAttributeSuggestionsChain','length','push','_refreshSuggestionsChain','bindElementToMarker','discardSuggestion','pluginName','name','ready','createElement','assign','forEach','insertion:join','size','insertContent','commands','high','oldRange','previous','addMarker:suggestion','suggestion','track-changes-suggestion-data-mismatch','from','formatGroupId','suggestionChanged','ck-suggestion-marker--active','hasSuggestion','has','Users','getRange','updateMarker','always','$graveyard','addClass','containsItem','_saved','_addThreadToSuggestion','keys','schema','formatInline:chain','acceptSelectedSuggestions','includes','containerElement','_registerInlineAttribute','showSuggestionHighlights','ariaLiveAnnouncer','_processAttributeChanges','_registerDefaultCallbacks','suggestion:attribute:','markInsertion','getMultiRangeId','markers','getChanges','nodeBefore','suggestion-type','enableCommand','clear','isInsideObject','low','external:','unshift','insertion:','plugins','stop','_recordAttributeChanges','markerReady','CommentsRepository','insertion','oldName'];(function(_0xe8ae04,_0x54e7ce){const _0x326650=function(_0x59d22b){while(--_0x59d22b){_0xe8ae04['push'](_0xe8ae04['shift']());}};_0x326650(++_0x54e7ce);}(_0x54e7,0xa1));const _0x3266=function(_0xe8ae04,_0x54e7ce){_0xe8ae04=_0xe8ae04-0x0;let _0x326650=_0x54e7[_0xe8ae04];return _0x326650;};import{Plugin as _0x23db9c,PendingActions as _0x45a70f}from'ckeditor5/src/core';import{LiveRange as _0x15e6db}from'ckeditor5/src/engine';import{CKEditorError as _0x1231ca,uid as _0x30564f,priorities as _0x10979b,logWarning as _0x4cde5f}from'ckeditor5/src/utils';import{toWidget as _0x173fa9}from'ckeditor5/src/widget';import{Users as _0x4c4c5f,hashObject as _0x2cbd9a,surroundingMarkersDetector as _0x196bcb}from'ckeditor5-collaboration/src/collaboration-core';import _0x333016 from'./commands/trackchangescommand';import _0x3af46b from'./commands/acceptsuggestioncommand';import _0x4d0499 from'./commands/discardsuggestioncommand';import _0x54f269 from'./commands/executeonallsuggestionscommand';import _0x2ed373 from'./commands/executeonselectedsuggestionscommand';import _0x3717a3 from'./suggestion';import _0x1b5886 from'./suggestiondescriptionfactory';import _0x5711bc from'./integrations/aiassistant';import _0x250062 from'./integrations/alignment';import _0x459d3d from'./integrations/basicstyles';import _0x3f6113 from'./integrations/blockquote';import _0x5c70b3 from'./integrations/ckbox';import _0x3df183 from'./integrations/codeblock';import _0x4f125c from'./integrations/comments';import _0x198dee from'./integrations/deletecommand';import _0x1dbd48 from'./integrations/documentlist';import _0x24a70b from'./integrations/documentlistproperties';import _0x451175 from'./integrations/entercommand';import _0x5f78d4 from'./integrations/findandreplace';import _0x27e11f from'./integrations/font';import _0x490587 from'./integrations/formatpainter';import _0x1fa2b6 from'./integrations/heading';import _0x4eed3b from'./integrations/highlight';import _0x86c63f from'./integrations/horizontalline';import _0x284144 from'./integrations/htmlembed';import _0x35a85a from'./integrations/image';import _0x14a75b from'./integrations/imagereplace';import _0x3037c3 from'./integrations/imagestyle';import _0x456ffe from'./integrations/importword';import _0x4834f9 from'./integrations/indent';import _0x2c771d from'./integrations/inputcommand';import _0x392120 from'./integrations/link';import _0x2498e6 from'./integrations/list';import _0x17cc70 from'./integrations/listproperties';import _0x20699d from'./integrations/mediaembed';import _0x1e8c2f from'./integrations/mention';import _0x53bde5 from'./integrations/pagebreak';import _0x7dafec from'./integrations/paragraph';import _0xdb593d from'./integrations/removeformat';import _0x2c5f02 from'./integrations/restrictededitingmode';import _0x4b2f64 from'./integrations/shiftentercommand';import _0x5005e5 from'./integrations/standardeditingmode';import _0x4273ca from'./integrations/style';import _0x106682 from'./integrations/table';import _0x256bf6 from'./integrations/tablemergesplit';import _0x2ae252 from'./integrations/tableheadings';import _0x18fb8f from'./integrations/tableclipboard';import _0x30c48b from'./integrations/tablecolumnresize';import _0x53954a from'./integrations/template';import _0x30a384 from'./integrations/tableofcontents';import _0x563614 from'./integrations/title';import _0x353cc1 from'./integrations/undo';import _0x4063e4 from'./integrations/tablecaption';import _0x5151d2 from'./integrations/tableproperties';import{getTranslation as _0x5cb1d5}from'./utils/common-translations';import{isEqual as _0x828a1b,omit as _0x41db8e}from'lodash-es';export const renameAttributeKey=_0x3266('0x17d');export default class p extends _0x23db9c{static get['requires'](){return['CommentsRepository',_0x4c4c5f,_0x45a70f,_0x5711bc,_0x250062,_0x459d3d,_0x3f6113,_0x5c70b3,_0x3df183,_0x4f125c,_0x198dee,_0x1dbd48,_0x24a70b,_0x451175,_0x5f78d4,_0x27e11f,_0x490587,_0x1fa2b6,_0x4eed3b,_0x86c63f,_0x284144,_0x35a85a,_0x3037c3,_0x14a75b,_0x456ffe,_0x4834f9,_0x2c771d,_0x392120,_0x2498e6,_0x17cc70,_0x20699d,_0x1e8c2f,_0x53bde5,_0x7dafec,_0xdb593d,_0x2c5f02,_0x4b2f64,_0x5005e5,_0x4273ca,_0x106682,_0x256bf6,_0x2ae252,_0x4063e4,_0x18fb8f,_0x30c48b,_0x30a384,_0x5151d2,_0x53954a,_0x563614,_0x353cc1];}static get[_0x3266('0xa3')](){return _0x3266('0x155');}constructor(_0x10a5b5){function _0xf36b0e(_0x4de344){return _0x4de344['map'](_0x4ca187=>String[_0x3266('0x21')](_0x4ca187))[_0x3266('0x88')]('');}super(_0x10a5b5),this[_0x3266('0x1d')]=null,this['set'](_0x3266('0x17b'),[]),this['on'](_0x3266('0x52'),(_0x2e21f2,_0x436eb4,_0x54e4cd,_0x2d0eea)=>{this[_0x3266('0xf8')][_0x3266('0x6d')](()=>{for(const _0x44a391 of[..._0x2d0eea,..._0x54e4cd])this[_0x3266('0xf8')][_0x3266('0xd0')][_0x3266('0xb8')](_0x44a391)&&_0x10a5b5[_0x3266('0x138')][_0x3266('0x77')](_0x44a391);});}),this['_descriptionFactory']=new _0x1b5886(this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0xc3')],this['editor']['locale']),this['_adapter']=null,this[_0x3266('0x5a')]=new Bt(this[_0x3266('0x1b')]),this[_0x3266('0x129')]=new Map(),this['_commentsRepository']=_0x10a5b5[_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xdf')),this[_0x3266('0x11e')]=new Set(),this[_0x3266('0xf8')]=this[_0x3266('0x1b')][_0x3266('0x10f')],this[_0x3266('0x49')]=new WeakMap(),this[_0x3266('0x90')]=!0x1,this[_0x3266('0x144')]=new Set(['$elementName']),this[_0x3266('0x2f')]=new Set(),_0x10a5b5[_0x3266('0x12f')][_0x3266('0x124')](_0x3266('0xf4'),_0x3266('0x73')),this['_trackFormatChanges']=_0x10a5b5['config']['get'](_0x3266('0xf4')),_0x10a5b5[_0x3266('0x12f')][_0x3266('0x124')](_0x3266('0x15f'),!0x0),this[_0x3266('0xfe')]=_0x10a5b5[_0x3266('0x12f')]['get'](_0x3266('0x15f')),this[_0x3266('0x93')]=new _0x333016(_0x10a5b5,this['_enabledCommands']),this[_0x3266('0x102')](),this[_0xf36b0e([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xf36b0e([0x34,0x30,0x34,0x36,0x32,0x34,0x30,0x38]);}['init'](){const _0x407ba6=this[_0x3266('0x1b')],_0x43737c=(_0xb294ff,_0x23b459)=>{if(_0x3266('0x48')!=_0xb294ff)return _0x3266('0xf2')+_0xb294ff;const _0x4412ec=_0x23b459[_0x3266('0x99')]('|')[0x0];return this[_0x3266('0x98')](_0x4412ec)?_0x3266('0xe9'):'ck-suggestion-marker-formatInline';};_0x407ba6['conversion']['for'](_0x3266('0x41'))[_0x3266('0x159')]({'model':_0x3266('0xb1'),'view':_0x34830a=>{const {id:_0x1f16ed,type:_0x113f96,subType:_0x1461a7}=this[_0x3266('0x51')](_0x34830a[_0x3266('0xe4')]),_0x3bd4e4=[_0x3266('0x16e'),_0x43737c(_0x113f96,_0x1461a7)];let _0x5e44e5=0xbb8;return this['activeMarkers'][_0x3266('0xc6')](_0x34830a[_0x3266('0xe4')])&&(_0x3bd4e4[_0x3266('0x9f')](_0x3266('0xb6')),_0x5e44e5=0xbc2),'deletion'==_0x113f96&&(_0x5e44e5+=0x5),{'classes':_0x3bd4e4,'attributes':{'data-suggestion':_0x1f16ed},'priority':_0x5e44e5};}}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0xf0')](_0x587028=>{_0x587028['on'](_0x3266('0xb0'),(_0x8f4070,_0x3e0429,_0x592324)=>{if(!_0x592324[_0x3266('0xc')]['showSuggestionHighlights'])return;const _0x382a9d=_0x3e0429[_0x3266('0x3a')];if(!_0x382a9d)return;const _0x257818=_0x592324['mapper'][_0x3266('0x177')](_0x382a9d);_0x407ba6[_0x3266('0x10f')][_0x3266('0xc3')][_0x3266('0x10b')](_0x382a9d)&&_0x257818&&!_0x257818[_0x3266('0xb')](_0x3266('0x0'))&&_0x257818['is'](_0x3266('0xc7'))&&_0x173fa9(_0x257818,_0x592324[_0x3266('0x84')]);},{'priority':'high'});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0x159')]({'model':_0x3266('0xb1'),'view':(_0x36bbb5,_0x1e9f6f)=>{if(!_0x1e9f6f[_0x3266('0xc')][_0x3266('0xc9')])return null;const {type:_0x1695cc,subType:_0xaf5279}=this['_splitMarkerName'](_0x36bbb5[_0x3266('0xe4')]);return{'classes':[_0x3266('0x16e'),_0x43737c(_0x1695cc,_0xaf5279)],'priority':0xbb8};}});const _0x479bff=({showActiveMarkers:_0xc58b91=!0x0,isAttributeSuggestion:_0x1c63d1=!0x1}={})=>(_0x2a2d1b,_0x3d5c72,_0x36f004)=>{if(!_0x3d5c72['item'])return;const {id:_0x5e5c39}=this[_0x3266('0x51')](_0x3d5c72[_0x3266('0xe4')]);if(_0x1c63d1){const _0x305598=Pt(this['_suggestions'][_0x3266('0x13b')](_0x5e5c39));if(!this[_0x3266('0x98')](_0x305598))return;}if(_0x3d5c72['item']['is']('selection'))return void _0x36f004['consumable']['consume'](_0x3d5c72['item'],_0x2a2d1b[_0x3266('0xa4')]);const _0x855d37=_0x36f004[_0x3266('0xa')]['toViewElement'](_0x3d5c72[_0x3266('0x3a')]);if(_0x3d5c72['item']['is'](_0x3266('0x164'))&&_0x407ba6[_0x3266('0x10f')][_0x3266('0xc3')][_0x3266('0xf9')](_0x3d5c72[_0x3266('0x3a')])&&!_0x855d37['getCustomProperty'](_0x3266('0x8'))){_0x36f004[_0x3266('0x84')][_0x3266('0xbe')]([_0x3266('0x16e'),_0x3266('0xe9')],_0x855d37),_0x36f004[_0x3266('0x84')][_0x3266('0x168')]('data-suggestion',_0x5e5c39,_0x855d37),_0x36f004['mapper'][_0x3266('0xa1')](_0x855d37,_0x3d5c72[_0x3266('0xe4')]),_0xc58b91&&(this[_0x3266('0x17b')][_0x3266('0xc6')](_0x3d5c72[_0x3266('0xe4')])?_0x36f004[_0x3266('0x84')]['addClass']('ck-suggestion-marker--active',_0x855d37):_0x36f004[_0x3266('0x84')]['removeClass'](_0x3266('0xb6'),_0x855d37));for(const _0x5d91b2 of _0x407ba6[_0x3266('0x10f')]['createRangeIn'](_0x3d5c72[_0x3266('0x3a')])['getItems']())_0x36f004['consumable'][_0x3266('0x8b')](_0x5d91b2,_0x2a2d1b[_0x3266('0xa4')]);_0x36f004[_0x3266('0xee')][_0x3266('0x8b')](_0x3d5c72[_0x3266('0x3a')],_0x2a2d1b[_0x3266('0xa4')]);}};_0x407ba6['conversion'][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0xf0')](_0x1db244=>{_0x1db244['on']('addMarker:suggestion:formatBlock',(_0x3405ae,_0x1c8bd3,_0x5fc859)=>{_0x5fc859['options']['showSuggestionHighlights']&&_0x479bff({'showActiveMarkers':!0x1})(_0x3405ae,_0x1c8bd3,_0x5fc859);},{'priority':_0x3266('0x101')});}),_0x407ba6['conversion'][_0x3266('0x176')]('dataDowncast')[_0x3266('0xf0')](_0x265c09=>{_0x265c09['on']('addMarker:suggestion:attribute',(_0x138bd0,_0xe358f1,_0x5ca3e3)=>{_0x5ca3e3[_0x3266('0xc')][_0x3266('0xc9')]&&_0x479bff({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x138bd0,_0xe358f1,_0x5ca3e3);},{'priority':'highest'});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0x5d')]({'model':_0x3266('0xb1'),'view':(_0x446a60,_0x1abe7b)=>_0x1abe7b[_0x3266('0xc')][_0x3266('0xc9')]?null:{'group':_0x3266('0xb1'),'name':_0x446a60[_0x3266('0x80')](0xb)}}),_0x407ba6[_0x3266('0x14f')]['for'](_0x3266('0x6b'))[_0x3266('0x15d')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1a8735,{writer:_0x4364a3})=>{let _0x522d7c=_0x3266('0x16')+_0x1a8735[_0x3266('0x166')](_0x3266('0xd3'))+':'+_0x1a8735[_0x3266('0x166')]('id');return _0x1a8735['getAttribute']('marker-count')&&(_0x522d7c+=':'+_0x1a8735[_0x3266('0x166')](_0x3266('0x7f'))),_0x4364a3[_0x3266('0xa6')](_0x3266('0x2a'),{'data-name':_0x522d7c});}}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x6b'))[_0x3266('0x82')]({'view':_0x3266('0xb1')}),_0x407ba6['conversion']['for'](_0x3266('0x41'))[_0x3266('0xf0')](_0x4ebee5=>{_0x4ebee5['on'](_0x3266('0x143'),_0x479bff(),{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')]['for']('editingDowncast')[_0x3266('0xf0')](_0x25a368=>{_0x25a368['on']('addMarker:suggestion:attribute',_0x479bff({'isAttributeSuggestion':!0x0}),{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')]('editingDowncast')[_0x3266('0xf0')](_0x3e491e=>{_0x3e491e['on'](_0x3266('0xd'),(_0x24070c,_0xb560b8,_0x568693)=>{const _0x4c8ff0=_0x568693[_0x3266('0xa')][_0x3266('0xf6')](_0xb560b8[_0x3266('0xe4')]);if(_0x4c8ff0)for(const _0x2fc242 of _0x4c8ff0)_0x2fc242[_0x3266('0xb')](_0x3266('0x8'))||(_0x568693['writer']['removeClass']([_0x3266('0x16e'),_0x3266('0xe9'),_0x3266('0xb6')],_0x2fc242),_0x568693[_0x3266('0x84')][_0x3266('0x46')]('data-suggestion',_0x2fc242),_0x568693['mapper']['unbindElementFromMarkerName'](_0x2fc242,_0xb560b8['markerName']));},{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')]['for'](_0x3266('0x41'))[_0x3266('0xf0')](_0x368867=>{_0x368867['on']('removeMarker:suggestion:attribute',(_0x37c797,_0x4ab6a3,_0x422b11)=>{const _0x442d13=_0x422b11['mapper'][_0x3266('0xf6')](_0x4ab6a3[_0x3266('0xe4')]);if(!_0x442d13)return;const {id:_0x420698}=this[_0x3266('0x51')](_0x4ab6a3[_0x3266('0xe4')]),_0x24aedd=Pt(this['_suggestions'][_0x3266('0x13b')](_0x420698));if(this[_0x3266('0x98')](_0x24aedd))for(const _0x44193a of _0x442d13)_0x44193a['getCustomProperty']('addHighlight')||(_0x422b11[_0x3266('0x84')]['removeClass'](['ck-suggestion-marker',_0x3266('0xe9'),_0x3266('0xb6')],_0x44193a),_0x422b11[_0x3266('0x84')][_0x3266('0x46')](_0x3266('0x76'),_0x44193a),_0x422b11[_0x3266('0xa')]['unbindElementFromMarkerName'](_0x44193a,_0x4ab6a3['markerName']));},{'priority':'high'});}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')]['registerPostFixer'](_0x3d06c1=>{let _0x13c2c6=!0x1;const _0x35731e=Array['from'](_0x407ba6[_0x3266('0x10f')]['document'][_0x3266('0x10e')][_0x3266('0x132')]()),_0x1520f3=new Set();for(const {name:_0x4d92e9,data:_0x573ab3}of _0x35731e){const {group:_0x287317,type:_0x29e90e,subType:_0x43b4c9,id:_0x434474}=this['_splitMarkerName'](_0x4d92e9);if('suggestion'!==_0x287317)continue;const _0xafe2ac=this[_0x3266('0x129')]['get'](_0x434474);if(null!=_0x573ab3[_0x3266('0x12d')]){_0x3266('0x11')==_0x29e90e&&(_0x13c2c6=_0x13c2c6||Et(_0x573ab3[_0x3266('0x12d')],_0x4d92e9,_0x3d06c1,_0x407ba6[_0x3266('0x10f')]['schema']));const _0x4152b6=_0x3266('0x48')==_0x29e90e&&this[_0x3266('0x98')](_0x43b4c9[_0x3266('0x99')]('|')[0x0]);if(_0x573ab3[_0x3266('0x12d')]['isCollapsed']||_0x3266('0xbd')==_0x573ab3[_0x3266('0x12d')]['root'][_0x3266('0xeb')]||_0x3266('0x110')==_0x29e90e&&!jt(_0x573ab3[_0x3266('0x12d')])||_0x4152b6&&!jt(_0x573ab3[_0x3266('0x12d')])||'deletion'==_0x29e90e&&!(!xt(_0x1b5994=_0x573ab3[_0x3266('0x12d')])&&!function(_0x446119){return _0x446119[_0x3266('0x13e')]['parent']==_0x446119['end']['nodeBefore']&&_0x446119[_0x3266('0x13e')]['isAtEnd'];}(_0x1b5994)))_0x3d06c1['removeMarker'](_0x4d92e9),_0x13c2c6=!0x0;else{if(!_0xafe2ac||!_0xafe2ac[_0x3266('0x130')])continue;_0x1520f3[_0x3266('0xf0')](_0xafe2ac);}}}var _0x1b5994;return _0x1520f3['size']>0x0&&(_0x13c2c6=!!this[_0x3266('0x140')](_0x1520f3)||_0x13c2c6),_0x13c2c6;}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x19')](_0x2413dc=>{let _0x43bd29=!0x1;for(const _0x398958 of _0x407ba6['model'][_0x3266('0x38')][_0x3266('0x10e')][_0x3266('0xd1')]())if('insert'==_0x398958[_0x3266('0x146')])for(const _0xbcfaae of this[_0x3266('0x129')][_0x3266('0x16f')]()){if(_0xbcfaae['isMultiRange']||!_0xbcfaae[_0x3266('0x130')])continue;const _0x14cd78=_0x3266('0x110')==_0xbcfaae[_0x3266('0x146')],_0x1fcdad=Pt(_0xbcfaae),_0x2a42cd=_0x1fcdad&&this[_0x3266('0x98')](_0x1fcdad);if(!_0x14cd78&&!_0x2a42cd)continue;const _0x2cafda=_0xbcfaae[_0x3266('0x147')]();if(_0x2cafda[_0x3266('0x13e')][_0x3266('0x7b')]!=_0x2cafda['end']['parent']&&!_0x2cafda[_0x3266('0x174')][_0x3266('0x120')]){const _0x5e3167=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x2cafda[_0x3266('0x13e')][_0x3266('0x107')],_0x3266('0x174')),_0x1fee7d=_0x407ba6[_0x3266('0x10f')]['createRange'](_0x2cafda[_0x3266('0x13e')],_0x5e3167);_0x2413dc[_0x3266('0xbb')](_0xbcfaae[_0x3266('0x43')](),{'range':_0x1fee7d}),_0x43bd29=!0x0;}}return _0x43bd29;}),_0x407ba6['model'][_0x3266('0x38')][_0x3266('0x19')](_0x389b44=>this[_0x3266('0xcb')](_0x389b44)),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x19')](_0x56de5a=>!_0x56de5a[_0x3266('0x9b')][_0x3266('0x100')]&&this[_0x3266('0x3f')](_0x56de5a)),_0x407ba6['model'][_0x3266('0xd0')]['on'](_0x3266('0x89'),(_0x55aea8,_0xdea3b1,_0x1f04b0)=>{if(null==_0x1f04b0){const {id:_0x1e9fb6}=this['_splitMarkerName'](_0xdea3b1['name']),_0x23bb3a=this[_0x3266('0x129')]['get'](_0x1e9fb6);_0x23bb3a&&_0x23bb3a[_0x3266('0x125')](_0xdea3b1[_0x3266('0xa4')]);}}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')]['on']('change:data',()=>{const _0x4296ea=Array[_0x3266('0xb3')](_0x407ba6['model']['document']['differ']['getChangedMarkers']())['filter'](_0x2d0c78=>_0x3266('0xb1')===this[_0x3266('0x51')](_0x2d0c78[_0x3266('0xa4')])['group']);if(0x0===_0x4296ea['length'])return;_0x4296ea[_0x3266('0x7a')]((_0x2c1342,_0x6b7885)=>{const _0x567760=_0x2c1342['data'][_0x3266('0xae')],_0x910d1f=_0x6b7885[_0x3266('0x30')][_0x3266('0xae')];return null===_0x567760&&null===_0x910d1f?0x0:null===_0x567760&&null!==_0x910d1f?-0x1:null!==_0x567760&&null===_0x910d1f?0x1:_0x567760[_0x3266('0x13e')][_0x3266('0xe8')](_0x910d1f[_0x3266('0x13e')])?-0x1:0x1;});const _0x2f257b=new Set(),_0x5e1cab=new Set();for(const {name:_0x4a2b36,data:_0x5b03bf}of _0x4296ea){const {id:_0x3167d6}=this[_0x3266('0x51')](_0x4a2b36);if(null===_0x5b03bf[_0x3266('0xae')]){const _0x29f392=this[_0x3266('0x96')](_0x4a2b36);_0x5e1cab[_0x3266('0xf0')](_0x29f392);}else{const _0x2a7ed0=this[_0x3266('0x129')][_0x3266('0x13b')](_0x3167d6);null!==_0x5b03bf[_0x3266('0x12d')]||_0x2a7ed0['isInContent']?(_0x2f257b[_0x3266('0xf0')](_0x2a7ed0[_0x3266('0xf3')]),_0x5e1cab[_0x3266('0xf0')](_0x2a7ed0)):this[_0x3266('0x14a')](_0x2a7ed0);}}_0x5e1cab['size']>0x0&&this[_0x3266('0xa0')](_0x5e1cab);for(const _0x18b9e0 of _0x2f257b)this[_0x3266('0x17e')](_0x3266('0xb5'),_0x18b9e0);}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0xfc'),(_0x40bd7a,_0x3c390c)=>{const _0x358544=_0x3c390c[0x0];if(!this[_0x3266('0x129')][_0x3266('0xaa')])return;if(!_0x358544['isDocumentOperation'])return;if(_0x358544['batch'][_0x3266('0x11a')]||!_0x358544[_0x3266('0x9b')][_0x3266('0x100')])return;let _0x5e3207,_0x2fa6cc;switch(_0x358544[_0x3266('0x146')]){case _0x3266('0x1a'):_0x5e3207=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x358544[_0x3266('0x2b')]),_0x2fa6cc=_0x5e3207['getShiftedBy'](_0x358544['howMany']);break;case _0x3266('0x99'):_0x5e3207=_0x407ba6[_0x3266('0x10f')]['createPositionAt'](_0x358544[_0x3266('0x50')]),_0x2fa6cc=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x358544[_0x3266('0x12')]);break;case _0x3266('0x15'):_0x5e3207=_0x407ba6['model'][_0x3266('0x61')](_0x358544[_0x3266('0x7c')]),_0x2fa6cc=_0x5e3207[_0x3266('0x4b')](_0x358544['howMany']);break;default:return;}const _0x232008=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x5e3207,_0x2fa6cc);_0x407ba6[_0x3266('0x10f')]['change'](()=>{for(const {suggestion:_0x1167a4,meta:_0x256def}of this[_0x3266('0x13f')](_0x232008)){if(_0x1167a4[_0x3266('0x58')])continue;if(_0x3266('0x11')==_0x1167a4[_0x3266('0x146')])continue;const _0x56eba9=Pt(_0x1167a4);if(_0x56eba9&&this[_0x3266('0x98')](_0x56eba9)&&_0x3266('0x99')!=_0x358544[_0x3266('0x146')])continue;const _0x21dade=_0x1167a4[_0x3266('0x30')]&&_0x1167a4[_0x3266('0x30')][_0x3266('0x14e')];(_0x3266('0x110')!=_0x1167a4[_0x3266('0x146')]||_0x3266('0x99')==_0x358544[_0x3266('0x146')]&&!_0x21dade)&&(_0x256def[_0x3266('0xe')]||_0x3266('0xe0')==_0x1167a4[_0x3266('0x146')]&&_0x256def['isOwn']||_0x1167a4[_0x3266('0x147')]()[_0x3266('0x34')](_0x232008)&&this[_0x3266('0x10a')](_0x1167a4,_0x5e3207,_0x2fa6cc));}});},{'priority':'lowest'}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0x95'),(_0x5868bf,_0x340dbf)=>{const _0xcfc09e=_0x340dbf[0x0],_0x564e68=_0x340dbf[0x1];if(_0x564e68&&_0x564e68[_0x3266('0x6c')])return;if(this[_0x3266('0x90')])return;if(!this[_0x3266('0x93')][_0x3266('0x33')])return;if(_0xcfc09e[_0x3266('0x16d')])return;const _0x4ff9b1=_0x407ba6['model'][_0x3266('0xc3')],{start:_0x240004,end:_0x4d5f8e}=_0xcfc09e[_0x3266('0x147')](),_0x5827cc=_0x240004[_0x3266('0x107')]&&_0x4ff9b1[_0x3266('0xe3')](_0x240004[_0x3266('0x107')])?null:_0x4ff9b1[_0x3266('0x37')](_0x240004,'forward'),_0x4b4fcb=_0x4d5f8e[_0x3266('0xd2')]&&_0x4ff9b1[_0x3266('0xe3')](_0x4d5f8e[_0x3266('0xd2')])?null:_0x4ff9b1[_0x3266('0x37')](_0x4d5f8e,_0x3266('0xe5')),_0x3e8164=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x5827cc?_0x5827cc[_0x3266('0x13e')]:_0x240004,_0x4b4fcb?_0x4b4fcb[_0x3266('0x174')]:_0x4d5f8e);_0x407ba6[_0x3266('0x10f')]['change'](_0x293984=>{this[_0x3266('0x16c')](_0x3e8164);const _0x457d13=_0x407ba6['model']['schema'][_0x3266('0x37')](_0x3e8164[_0x3266('0x13e')]);_0xcfc09e['is']('documentSelection')?_0x293984[_0x3266('0x13c')](_0x457d13):_0xcfc09e[_0x3266('0xf7')](_0x457d13);}),_0x5868bf[_0x3266('0xdc')]();},{'priority':_0x10979b[_0x3266('0x180')]+0xa}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0xab'),(_0x4e5548,_0x4a6418)=>{const _0x4a0b81=_0x4a6418[_0x4a6418['length']-0x1];_0x4a0b81&&_0x4a0b81[_0x3266('0x6c')]||this[_0x3266('0x90')]||this[_0x3266('0x93')]['value']&&(_0x407ba6['model']['change'](()=>{let _0x3a6567=_0x407ba6[_0x3266('0x10f')]['insertContent'](_0x4a6418[0x0],_0x4a6418[0x1],_0x4a6418[0x2],{'forceDefaultExecution':!0x0});if(!_0x3a6567)return;_0x4e5548[_0x3266('0x32')]=_0x3a6567[_0x3266('0x81')]();const _0x4ac146=_0x3a6567[_0x3266('0x174')][_0x3266('0xd2')],_0x4d7611=_0x407ba6['model'][_0x3266('0xc3')];_0x4ac146&&_0x4d7611[_0x3266('0xf9')](_0x4ac146)&&!_0x4d7611[_0x3266('0x10b')](_0x4ac146)&&(_0x3a6567=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x3a6567[_0x3266('0x13e')],_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x4ac146,_0x3266('0x174')))),this[_0x3266('0xce')](_0x3a6567);}),_0x4e5548['stop']());},{'priority':_0x3266('0xad')}),this[_0x3266('0x1b')]['commands']['add'](_0x3266('0x39'),this['trackChangesCommand']),this[_0x3266('0xd4')](_0x3266('0x39'));const _0xaffca0=new _0x3af46b(_0x407ba6,this[_0x3266('0x129')]);_0x407ba6[_0x3266('0xac')]['add']('acceptSuggestion',_0xaffca0),this[_0x3266('0xd4')](_0x3266('0x75'));const _0xe7d535=new _0x4d0499(_0x407ba6,this[_0x3266('0x129')]);_0x407ba6[_0x3266('0xac')][_0x3266('0xf0')](_0x3266('0xa2'),_0xe7d535),this[_0x3266('0xd4')]('discardSuggestion'),_0x407ba6[_0x3266('0xac')][_0x3266('0xf0')](_0x3266('0x66'),new _0x54f269(_0x407ba6,_0xaffca0,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x66')),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0x116'),new _0x54f269(_0x407ba6,_0xe7d535,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x116')),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0xc5'),new _0x2ed373(_0x407ba6,_0xaffca0,this[_0x3266('0x129')])),this[_0x3266('0xd4')]('acceptSelectedSuggestions'),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0x150'),new _0x2ed373(_0x407ba6,_0xe7d535,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x150'));const _0x37ff70=_0x407ba6[_0x3266('0xdb')][_0x3266('0x13b')]('CommentsRepository');this[_0x3266('0x3c')](_0x37ff70,_0x3266('0x3b'),(_0x2ffe21,{threadId:_0x50ddea})=>{const _0x30714c=this[_0x3266('0x129')]['get'](_0x50ddea);_0x30714c&&_0x30714c['commentThread']&&0x1===_0x30714c[_0x3266('0x121')][_0x3266('0x9e')]&&this[_0x3266('0x6e')](_0x50ddea,{'hasComments':!0x0});},{'priority':_0x3266('0xd7')}),this[_0x3266('0x3c')](_0x37ff70,_0x3266('0x8c'),(_0x167393,{threadId:_0x2b70f3})=>{const _0x49cefc=this[_0x3266('0x129')]['get'](_0x2b70f3);_0x49cefc&&_0x49cefc[_0x3266('0x121')]&&!_0x49cefc['commentThread']['length']&&this[_0x3266('0x6e')](_0x2b70f3,{'hasComments':!0x1});},{'priority':_0x3266('0xd7')});}set[_0x3266('0x109')](_0x4fbdb3){if(this[_0x3266('0x15e')])throw new _0x1231ca(_0x3266('0x182'),this);this[_0x3266('0x15e')]=_0x4fbdb3;}get[_0x3266('0x109')](){return this[_0x3266('0x15e')];}[_0x3266('0x4c')]({skipNotAttached:_0x2c5e72=!0x1,toJSON:_0x30147e=!0x1}={}){const _0xeb3773=[];for(const _0x5d0706 of this['_suggestions']['values']())_0x2c5e72&&!_0x5d0706[_0x3266('0x130')]||_0xeb3773[_0x3266('0x9f')](_0x5d0706);return _0x30147e?_0xeb3773[_0x3266('0x152')](_0x1e235b=>_0x1e235b[_0x3266('0x5b')]()):_0xeb3773;}['getSuggestion'](_0x3d422e){const _0x2434dc=this['_suggestions'][_0x3266('0x13b')](_0x3d422e);if(!_0x2434dc)throw new _0x1231ca('track-changes-suggestion-not-found',this);return _0x2434dc;}[_0x3266('0xb7')](_0x3942bf){return this[_0x3266('0x129')][_0x3266('0xb8')](_0x3942bf);}[_0x3266('0x44')](_0x144ee3){const {authorId:_0x4319a3,id:_0x11c6bb,attributes:_0xf7d414}=_0x144ee3,[_0x3f0009,_0x319db1]=_0x144ee3[_0x3266('0x146')][_0x3266('0x99')](':'),_0x13cece=this[_0x3266('0x129')][_0x3266('0x13b')](_0x11c6bb)||this[_0x3266('0x92')](_0x3f0009,_0x319db1,_0x11c6bb,_0x4319a3,_0xf7d414);if(this[_0x3266('0xc1')](_0x13cece),this['_checkSuggestionCorrectness'](_0x13cece,_0x3f0009,_0x319db1||null,_0x4319a3),_0x13cece[_0x3266('0x5e')]=_0x144ee3['createdAt'],_0x13cece[_0x3266('0x131')]=!0x0,_0xf7d414&&_0xf7d414[_0x3266('0x10c')]){const _0x583a41=_0xf7d414['@external'],_0x1a89c2=this['_getExternalAuthor'](_0x583a41[_0x3266('0x16b')]);_0x13cece[_0x3266('0x153')]=_0x583a41[_0x3266('0x5e')],_0x13cece[_0x3266('0x36')]=_0x1a89c2,_0x13cece[_0x3266('0xef')]=!0x0;}else _0x13cece[_0x3266('0x153')]=_0x144ee3[_0x3266('0x5e')];switch(_0x144ee3['data']&&(_0x13cece[_0x3266('0x30')]=_0x144ee3['data']),_0x144ee3[_0x3266('0x169')]&&(_0x13cece[_0x3266('0x169')]=_0x144ee3[_0x3266('0x169')]),this['_adapter']&&this[_0x3266('0x15e')][_0x3266('0x1f')]||(_0x13cece[_0x3266('0xc0')]=!0x0),this[_0x3266('0x49')][_0x3266('0x13b')](_0x13cece)){case'notReady':this[_0x3266('0x49')][_0x3266('0x114')](_0x13cece,_0x3266('0x2'));break;case _0x3266('0xde'):_0x13cece[_0x3266('0x130')]?(this[_0x3266('0xa0')](new Set([_0x13cece])),this[_0x3266('0x140')](new Set([_0x13cece])),this[_0x3266('0x49')][_0x3266('0x114')](_0x13cece,_0x3266('0xa5')),this[_0x3266('0x17e')](_0x3266('0x67'),_0x13cece)):this['_suggestionState'][_0x3266('0x114')](_0x13cece,_0x3266('0x12a'));}return _0x13cece;}[_0x3266('0x75')](_0x355ec4){this['forceDefaultExecution'](()=>{this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x6d')](()=>{for(const _0x25fd09 of _0x355ec4[_0x3266('0x14')]())_0x25fd09[_0x3266('0x5f')]();});});}[_0x3266('0xa2')](_0x40a664){this['forceDefaultExecution'](()=>{this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x6d')](()=>{for(const _0x56c934 of _0x40a664[_0x3266('0x14')]())_0x56c934[_0x3266('0x8a')]();});});}[_0x3266('0xd4')](_0x5c5086,_0x17b7d1){const _0x575328=this[_0x3266('0x1b')][_0x3266('0xac')][_0x3266('0x13b')](_0x5c5086);if(!_0x575328)throw new _0x1231ca('track-changes-command-not-found',this,{'commandName':_0x5c5086});if(this[_0x3266('0x11e')][_0x3266('0xb8')](_0x575328))throw new _0x1231ca('track-changes-enable-command-twice',this,{'commandName':_0x5c5086});this[_0x3266('0x11e')][_0x3266('0xf0')](_0x575328),_0x17b7d1&&_0x575328['on'](_0x3266('0x3'),(_0xecf171,_0x13d303)=>{this[_0x3266('0x93')][_0x3266('0x33')]&&(this[_0x3266('0x90')]||(_0x13d303['length']>0x0&&_0x13d303[_0x13d303[_0x3266('0x9e')]-0x1]&&_0x13d303[_0x13d303[_0x3266('0x9e')]-0x1][_0x3266('0x6c')]?_0x13d303[_0x3266('0x4d')]():(_0xecf171[_0x3266('0x32')]=_0x17b7d1((..._0x314649)=>_0x575328['execute'](..._0x314649,{'forceDefaultExecution':!0x0}),..._0x13d303),_0xecf171[_0x3266('0xdc')]())));},{'priority':_0x3266('0xad')});}[_0x3266('0x6c')](_0x5b110e){let _0x41587b,_0xf14d50;const _0x3fff3f=this[_0x3266('0x90')];this[_0x3266('0x90')]=!0x0;try{_0x41587b=_0x5b110e();}catch(_0x9dc375){_0xf14d50=_0x9dc375;}return _0x3fff3f||(this[_0x3266('0x90')]=!0x1),_0xf14d50&&_0x1231ca[_0x3266('0x14c')](_0xf14d50,this),_0x41587b;}['markInsertion'](_0x2170dc,_0x3659c0=null,_0x37ba21={}){if(_0x2170dc[_0x3266('0x16d')])return null;const _0x1cdde2=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'];for(const {suggestion:_0x22cb8a,meta:_0x3aa9de}of this[_0x3266('0x13f')](_0x2170dc,_0x3266('0xe0')))if(_0x3aa9de[_0x3266('0x158')]){if(!_0x3aa9de['isNextTo']){if(_0x3aa9de[_0x3266('0xe')]){if(!this['_mergeNestedSuggestions']||!Gt(_0x22cb8a,_0x37ba21))continue;return _0x22cb8a;}if(Gt(_0x22cb8a,_0x37ba21))return _0x22cb8a;this[_0x3266('0x10a')](_0x22cb8a,_0x2170dc[_0x3266('0x13e')],_0x2170dc[_0x3266('0x174')]);break;}if(_0x3659c0==_0x22cb8a[_0x3266('0x11d')]&&Gt(_0x22cb8a,_0x37ba21)){const _0x59b518=_0x22cb8a[_0x3266('0x147')]();return _0x59b518[_0x3266('0x13e')][_0x3266('0x47')](_0x2170dc[_0x3266('0x174')])?this[_0x3266('0x1c')](_0x22cb8a,this[_0x3266('0xf8')][_0x3266('0x45')](_0x2170dc['start'],_0x59b518[_0x3266('0x174')])):this[_0x3266('0x1c')](_0x22cb8a,this[_0x3266('0xf8')][_0x3266('0x45')](_0x59b518[_0x3266('0x13e')],_0x2170dc[_0x3266('0x174')])),_0x22cb8a;}}const _0x82445f=_0x30564f(),_0x3767f2=_0x1cdde2['id'],_0x4dfb2e=_0x3659c0?_0x3266('0xda')+_0x3659c0:_0x3266('0xe0'),_0x198713=this[_0x3266('0x18')]({'id':_0x82445f,'type':_0x4dfb2e,'createdAt':new Date(),'authorId':_0x3767f2,'attributes':_0x37ba21});return this[_0x3266('0x79')](_0x4dfb2e,_0x82445f,_0x3767f2,_0x2170dc),_0x198713;}['markMultiRangeInsertion'](_0x4b124e,_0x50d74e=_0x3266('0x74'),_0x11d7c7={}){const _0x2a90b3=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0xc72f90=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0xe0'),_0x50d74e,_0x3266('0x88'));for(const _0x3d4725 of this[_0x3266('0x4c')]())if(_0x3d4725[_0x3266('0x36')]['id']==_0x2a90b3['id']&&_0x3266('0xe0')==_0x3d4725[_0x3266('0x146')]&&_0x3d4725[_0x3266('0x11d')]==_0x50d74e&&Gt(_0x3d4725,_0x11d7c7)&&(_0xc72f90(_0x3d4725['getRanges'](),_0x4b124e)||_0xc72f90(_0x4b124e,_0x3d4725[_0x3266('0x54')]()))){for(const _0x461df0 of _0x4b124e)_0x3d4725['addRange'](_0x461df0);return _0x3d4725;}for(const {suggestion:_0x322299,meta:_0x9d3b1a}of this[_0x3266('0x13f')](_0x4b124e,'insertion')){if(!_0x9d3b1a[_0x3266('0x158')])continue;if(!this[_0x3266('0xfe')]&&_0x9d3b1a[_0x3266('0xe')])continue;if(!Gt(_0x322299,_0x11d7c7))continue;let _0x42f925=!0x0;for(const _0x3a09fc of _0x322299[_0x3266('0x54')]())for(const _0x4ad4cd of _0x4b124e)if(!_0x3a09fc[_0x3266('0x34')](_0x4ad4cd)){_0x42f925=!0x1;break;}if(_0x42f925)return _0x322299;}const _0x3c7031=_0x30564f(),_0x53403b=_0x2a90b3['id'],_0x4741af='insertion:'+_0x50d74e,_0x33ca8b=this['_setSuggestionData']({'id':_0x3c7031,'type':_0x4741af,'createdAt':new Date(),'authorId':_0x53403b,'attributes':_0x11d7c7});for(const _0x292b8a of _0x4b124e)this[_0x3266('0x79')](_0x4741af,_0x3c7031,_0x53403b,_0x292b8a,_0x3717a3[_0x3266('0xcf')]());return _0x33ca8b;}[_0x3266('0x119')](_0x38059a,_0x1f109d,_0x21c1f0=null,_0x34352f={}){if(_0x21c1f0=_0x21c1f0||Rt(_0x1f109d),_0x38059a['isCollapsed'])return null;if('never'===this[_0x3266('0x1')]){const _0x4f10be=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x11'),_0x21c1f0,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x4f10be([_0x38059a],_0x1f109d,_0x34352f)),null;}const _0x34a543=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0x5199ce=[];if(_0x3266('0xbc')!==this[_0x3266('0x1')])for(const {suggestion:_0x4fedd7,meta:_0x519c2c}of this[_0x3266('0x13f')](_0x38059a,'insertion'))_0x519c2c[_0x3266('0x158')]&&!_0x519c2c[_0x3266('0xd6')]&&_0x5199ce[_0x3266('0x9f')](..._0x4fedd7[_0x3266('0x54')]());const _0x52bd82=function(_0x458c72,_0x1cdacd){const _0x590703=[];for(const _0x318bea of _0x1cdacd){const _0x52e05a=_0x458c72[_0x3266('0xec')](_0x318bea);_0x52e05a&&_0x590703[_0x3266('0x9f')](_0x52e05a);}return _0x590703;}(_0x38059a,_0x5199ce),_0x1bd04d=function(_0x1c2850,_0xd6adf2){const _0x1be965=[_0x1c2850];for(const _0x1c1e95 of _0xd6adf2){let _0x4a7e18=0x0;for(;_0x4a7e18<_0x1be965[_0x3266('0x9e')];){const _0x5b84d8=_0x1be965[_0x4a7e18][_0x3266('0x17a')](_0x1c1e95);_0x1be965[_0x3266('0x8f')](_0x4a7e18,0x1,..._0x5b84d8),_0x4a7e18+=_0x5b84d8[_0x3266('0x9e')];}}return _0x1be965;}(_0x38059a,_0x5199ce);_0x52bd82['length']&&this[_0x3266('0xf8')][_0x3266('0x6d')](()=>{for(const _0x393c13 of _0x52bd82){const _0x15b180=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x11'),_0x21c1f0,_0x3266('0x5f'));this[_0x3266('0x6c')](()=>_0x15b180([_0x393c13],_0x1f109d,_0x34352f));}});for(const _0x44731f of _0x1bd04d){let _0x4396f8=null,_0x59059a=_0x44731f[_0x3266('0x13e')],_0x576bef=_0x44731f[_0x3266('0x174')];for(const {suggestion:_0x229e9d,meta:_0x2b784a}of this[_0x3266('0x13f')](_0x44731f,_0x3266('0x11'))){if(!_0x2b784a[_0x3266('0x158')])continue;if(_0x229e9d[_0x3266('0x11d')]!=_0x21c1f0)continue;if(!Gt(_0x229e9d,_0x34352f))continue;const _0x59cd7c=_0x229e9d['getFirstRange']();if(_0x59cd7c[_0x3266('0x34')](_0x44731f,!0x0))return null;_0x59059a=_0x59059a[_0x3266('0xe8')](_0x59cd7c[_0x3266('0x13e')])?_0x59059a:_0x59cd7c[_0x3266('0x13e')],_0x576bef=_0x576bef['isAfter'](_0x59cd7c[_0x3266('0x174')])?_0x576bef:_0x59cd7c[_0x3266('0x174')],_0x4396f8?_0x59cd7c[_0x3266('0x13e')][_0x3266('0xe8')](_0x4396f8[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0x4396f8[_0x3266('0x14b')](),_0x4396f8=_0x229e9d):_0x229e9d[_0x3266('0x14b')]():_0x4396f8=_0x229e9d;}const _0x4cb620=this['_model']['createRange'](_0x59059a,_0x576bef);if(_0x4396f8)this[_0x3266('0x1c')](_0x4396f8,_0x4cb620);else{const _0x24e76a=_0x30564f(),_0x4b4aa9=_0x34a543['id'];this[_0x3266('0x18')]({'id':_0x24e76a,'type':_0x3266('0x15a')+_0x21c1f0,'data':_0x1f109d,'createdAt':new Date(),'authorId':_0x4b4aa9,'attributes':_0x34352f}),this['_addSuggestionMarker'](_0x3266('0x15a')+_0x21c1f0,_0x24e76a,_0x4b4aa9,_0x4cb620);}}return null;}[_0x3266('0x133')](_0x5396ad,_0x23b3c1,_0x39ec74=[],_0x32e2d1=null,_0x1bb381={}){_0x23b3c1['formatGroupId']||(_0x23b3c1[_0x3266('0xb4')]=_0x23b3c1[_0x3266('0x8e')]),_0x23b3c1['multipleBlocks']=_0x5396ad['is'](_0x3266('0x29')),_0x32e2d1=_0x32e2d1||Rt(_0x23b3c1);const _0x122b21=_0x39ec74[_0x3266('0x152')](_0x504d12=>Ut(_0x504d12,this[_0x3266('0xf8')])),_0x358352=_0x5396ad['is'](_0x3266('0x29'))?_0x5396ad:Ut(_0x5396ad,this[_0x3266('0xf8')]);if(_0x3266('0xfd')===this[_0x3266('0x1')]){const _0x42755c=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x110'),_0x32e2d1,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x42755c([_0x358352],_0x23b3c1,_0x1bb381)),null;}_0x122b21[_0x3266('0x9f')](_0x358352);let _0xc6d68=!0x0;for(const _0x57748f of _0x122b21)if(!this[_0x3266('0x12e')](_0x57748f)){_0xc6d68=!0x1;break;}if(_0xc6d68&&_0x3266('0xbc')!==this[_0x3266('0x1')]){const _0x44cac1=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x110'),_0x32e2d1,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x44cac1([_0x358352],_0x23b3c1,_0x1bb381)),null;}let _0xe787cc=null,_0x27960b=_0x358352[_0x3266('0x13e')],_0x589d04=_0x358352[_0x3266('0x174')];for(const {suggestion:_0x51c160,meta:_0x3a7111}of this['_findSuggestions'](_0x358352,_0x3266('0x110'))){if(!_0x3a7111['isOwn'])continue;if(_0x3a7111[_0x3266('0x13')]||_0x3a7111['containsRangeInObject']||_0x3a7111[_0x3266('0xd6')])continue;if(_0x51c160[_0x3266('0x30')][_0x3266('0xb4')]!=_0x23b3c1['formatGroupId'])continue;if(!Gt(_0x51c160,_0x1bb381))continue;const _0x5a6c2c=_0x51c160[_0x3266('0x147')]();if(_0x51c160[_0x3266('0x11d')]==_0x32e2d1){if(_0x5a6c2c[_0x3266('0x34')](_0x358352,!0x0))return null;_0x27960b=_0x27960b['isBefore'](_0x5a6c2c[_0x3266('0x13e')])?_0x27960b:_0x5a6c2c['start'],_0x589d04=_0x589d04[_0x3266('0x14d')](_0x5a6c2c[_0x3266('0x174')])?_0x589d04:_0x5a6c2c[_0x3266('0x174')],_0xe787cc?_0x5a6c2c[_0x3266('0x13e')][_0x3266('0xe8')](_0xe787cc[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0xe787cc[_0x3266('0x14b')](),_0xe787cc=_0x51c160):_0x51c160[_0x3266('0x14b')]():_0xe787cc=_0x51c160;}else{const _0x555ad0=_0x358352[_0x3266('0xec')](_0x5a6c2c);this['_cutOutSuggestionMarker'](_0x51c160,_0x555ad0);}}const _0x3dfd8b=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0x4eff58=_0x30564f(),_0x247269=_0x3dfd8b['id'];if(_0xe787cc)return this[_0x3266('0x1c')](_0xe787cc,this[_0x3266('0xf8')][_0x3266('0x45')](_0x27960b,_0x589d04)),_0xe787cc;{const _0x1887e7=this[_0x3266('0x18')]({'id':_0x4eff58,'type':_0x3266('0x3d')+_0x32e2d1,'data':_0x23b3c1,'createdAt':new Date(),'authorId':_0x247269,'attributes':_0x1bb381});return this['_addSuggestionMarker'](_0x3266('0x3d')+_0x32e2d1,_0x4eff58,_0x247269,this[_0x3266('0xf8')][_0x3266('0x45')](_0x27960b,_0x589d04)),_0x1887e7;}}[_0x3266('0x128')](_0x374022,_0x1171da,_0x5d0527=[],_0x2af8e8=null,_0x397d5e={}){_0x1171da['formatGroupId']||(_0x1171da[_0x3266('0xb4')]=_0x1171da['commandName']);const _0x22a024=_0x374022[0x0];_0x1171da[_0x3266('0x14e')]=_0x22a024['is'](_0x3266('0x29')),_0x2af8e8=_0x2af8e8||Rt(_0x1171da);const _0x306a99=_0x5d0527[_0x3266('0x152')](_0x194c6c=>Ut(_0x194c6c,this[_0x3266('0xf8')])),_0x337eef=_0x22a024['is']('range')?_0x374022:_0x374022['map'](_0x2d53c0=>Ut(_0x2d53c0,this[_0x3266('0xf8')]));if(_0x3266('0xfd')===this[_0x3266('0x1')]){const _0x48e01d=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x110'),_0x2af8e8,'accept');return this[_0x3266('0x6c')](()=>_0x48e01d(_0x337eef,_0x1171da,_0x397d5e)),null;}_0x306a99[_0x3266('0x9f')](..._0x337eef);let _0xef0941=!0x0;for(const _0x3e331a of _0x306a99)if(!this[_0x3266('0x12e')](_0x3e331a)){_0xef0941=!0x1;break;}if(_0xef0941&&_0x3266('0xbc')!==this[_0x3266('0x1')]){const _0x158eb7=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x110'),_0x2af8e8,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x158eb7(_0x337eef,_0x1171da,_0x397d5e)),null;}const _0x3c828a=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'];for(const _0x281733 of this[_0x3266('0x4c')]()){if(_0x281733[_0x3266('0x36')]['id']!=_0x3c828a['id'])continue;if(_0x3266('0x110')!=_0x281733['type']||_0x281733[_0x3266('0x30')][_0x3266('0xb4')]!=_0x1171da['formatGroupId'])continue;if(!Gt(_0x281733,_0x397d5e))continue;const _0x19c0c2=_0x281733[_0x3266('0x11d')]==_0x2af8e8;for(let _0x5229bd=0x0;_0x5229bd<_0x337eef[_0x3266('0x9e')];_0x5229bd++){const _0x534ac4=_0x337eef[_0x5229bd];for(const _0x23939d of _0x281733[_0x3266('0x71')]()){const _0x49d6f5=_0x23939d[_0x3266('0xba')]();if(_0x534ac4[_0x3266('0x47')](_0x49d6f5)){_0x19c0c2?(_0x337eef[_0x3266('0x8f')](_0x5229bd,0x1),_0x5229bd--):_0x281733['removeMarker'](_0x23939d[_0x3266('0xa4')]);break;}}}}if(0x0==_0x337eef[_0x3266('0x9e')])return null;const _0x36e3cd=this[_0x3266('0x5a')]['getSuggestionCallback']('formatBlock',_0x2af8e8,'join');for(const _0x4de1d2 of this[_0x3266('0x4c')]())if(_0x4de1d2[_0x3266('0x36')]['id']==_0x3c828a['id']&&_0x3266('0x110')==_0x4de1d2[_0x3266('0x146')]&&_0x4de1d2[_0x3266('0x30')][_0x3266('0xb4')]==_0x1171da['formatGroupId']&&_0x4de1d2['subType']==_0x2af8e8&&Gt(_0x4de1d2,_0x397d5e)&&(_0x36e3cd(_0x4de1d2[_0x3266('0x54')](),_0x337eef)||_0x36e3cd(_0x337eef,_0x4de1d2[_0x3266('0x54')]()))){for(const _0x4b18d0 of _0x337eef)_0x4de1d2[_0x3266('0x15b')](_0x4b18d0);return _0x4de1d2;}const _0x329e6a=_0x30564f(),_0x1165cb=_0x3c828a['id'],_0x44fef8=_0x3266('0x3d')+_0x2af8e8,_0x294d52=this[_0x3266('0x18')]({'id':_0x329e6a,'type':_0x44fef8,'data':_0x1171da,'createdAt':new Date(),'authorId':_0x1165cb,'attributes':_0x397d5e});for(const _0x4ac03f of _0x337eef)this['_addSuggestionMarker'](_0x44fef8,_0x329e6a,_0x1165cb,_0x4ac03f,_0x3717a3[_0x3266('0xcf')]());return _0x294d52;}[_0x3266('0x16c')](_0x1630f9,_0xa85f69=null,_0x2ff659={}){if(_0x1630f9[_0x3266('0x16d')])return null;const _0x15269e=this['editor'][_0x3266('0xdb')]['get']('Users')['me'],_0xf034a6=new _0x15e6db(_0x1630f9[_0x3266('0x13e')],_0x1630f9[_0x3266('0x174')]);for(const {suggestion:_0xa17192,meta:_0x1bf6d9}of this['_findSuggestions'](_0xf034a6,_0x3266('0xe0')))if(_0x1bf6d9[_0x3266('0x158')]&&!_0x1bf6d9[_0x3266('0x13')]){if(_0xa17192[_0x3266('0x58')]){const _0x2c0e47=_0xa17192[_0x3266('0x54')]()[_0x3266('0x70')](_0x248146=>_0x3266('0xbd')!=_0x248146[_0x3266('0x117')]['rootName']);_0x2c0e47[_0x3266('0x179')](_0x2299c6=>_0xf034a6['containsRange'](_0x2299c6,!0x0))&&_0xa17192[_0x3266('0x8a')]();if(_0x2c0e47[_0x3266('0x94')](_0x56fdbb=>_0x56fdbb['containsRange'](_0xf034a6,!0x0))){const _0x274be0=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x137'),_0xa85f69,'accept');return this[_0x3266('0x6c')](()=>_0x274be0([_0xf034a6],null,_0x2ff659)),null;}}else{const _0x593e71=_0xf034a6['getIntersection'](_0xa17192['getFirstRange']());null!==_0x593e71&&_0xa17192[_0x3266('0x7d')]([_0x593e71],null,_0x2ff659);}}if(_0xf034a6[_0x3266('0x69')](),_0xf034a6[_0x3266('0x16d')]||_0x3266('0xbd')==_0xf034a6['root'][_0x3266('0xeb')])return null;let _0x20f9d6=null,_0x5c269e=_0xf034a6[_0x3266('0x13e')],_0x299572=_0xf034a6['end'];const _0x49784f=this['_findSuggestions'](_0xf034a6,_0x3266('0x137'));for(const {suggestion:_0x2700c4,meta:_0x43d20f}of _0x49784f){const _0x18e74f=this[_0x3266('0xf8')][_0x3266('0x45')](_0x5c269e,_0x299572);if(_0x43d20f[_0x3266('0x158')]&&(this[_0x3266('0xfe')]||!_0x43d20f[_0x3266('0xe')]&&!_0x43d20f[_0x3266('0xd6')])){if(_0x2700c4[_0x3266('0x58')]){if(!Gt(_0x2700c4,_0x2ff659))continue;let _0x52e3de=!0x0;for(const _0x2361d4 of _0x2700c4['getRanges']()){if(_0x2361d4[_0x3266('0x34')](_0x18e74f,!0x0))return _0x2700c4;_0x18e74f[_0x3266('0x34')](_0x2361d4)||(_0x52e3de=!0x1);}_0x52e3de&&_0x2700c4[_0x3266('0x8a')]();}else{const _0x4950f0=_0x2700c4[_0x3266('0x147')]();if(_0x4950f0[_0x3266('0x34')](_0x18e74f,!0x0))return _0x2700c4;if(!Gt(_0x2700c4,_0x2ff659)){_0x18e74f[_0x3266('0x34')](_0x4950f0)?_0x2700c4[_0x3266('0x14b')]():_0x4950f0['containsPosition'](_0x5c269e)?_0x5c269e=_0x4950f0['end']:_0x4950f0[_0x3266('0x134')](_0x299572)&&(_0x299572=_0x4950f0['start']);continue;}_0x5c269e=_0x5c269e[_0x3266('0xe8')](_0x4950f0[_0x3266('0x13e')])?_0x5c269e:_0x4950f0[_0x3266('0x13e')],_0x299572=_0x299572[_0x3266('0x14d')](_0x4950f0['end'])?_0x299572:_0x4950f0[_0x3266('0x174')],_0x2ff659=Object[_0x3266('0xa7')]({},_0x2700c4[_0x3266('0x169')]),_0x20f9d6?_0x4950f0['start'][_0x3266('0xe8')](_0x20f9d6[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0x20f9d6[_0x3266('0x14b')](),_0x20f9d6=_0x2700c4):_0x2700c4[_0x3266('0x14b')]():_0x20f9d6=_0x2700c4;}}}if(_0x20f9d6)return this[_0x3266('0x1c')](_0x20f9d6,this[_0x3266('0xf8')]['createRange'](_0x5c269e,_0x299572)),_0x20f9d6;{const _0x543abf=_0x30564f(),_0x6dfcca=this['_model'][_0x3266('0x45')](_0x5c269e,_0x299572),_0xbe194f=_0x15269e['id'],_0x577d46=_0xa85f69?_0x3266('0x104')+_0xa85f69:_0x3266('0x137'),_0x39b0d5=this[_0x3266('0x18')]({'id':_0x543abf,'type':_0x577d46,'createdAt':new Date(),'authorId':_0xbe194f,'attributes':_0x2ff659});return this['_addSuggestionMarker'](_0x577d46,_0x543abf,_0xbe194f,_0x6dfcca),_0x39b0d5;}}[_0x3266('0x141')](_0x380907,_0x39378f=_0x3266('0x74'),_0x1aac84={}){const _0x3bcf70=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')]('Users')['me'],_0xa85b9f=_0x380907[_0x3266('0x152')](_0x20ebbe=>new _0x15e6db(_0x20ebbe[_0x3266('0x13e')],_0x20ebbe[_0x3266('0x174')])),_0x54c5f9=new Set();for(const {suggestion:_0x3d7735,meta:_0x51ee75}of this[_0x3266('0x13f')](_0xa85b9f,_0x3266('0xe0')))_0x51ee75['isOwn']&&!_0x51ee75[_0x3266('0x13')]&&_0x54c5f9['add'](_0x3d7735);for(const _0x2a038b of _0x54c5f9)if(_0x2a038b[_0x3266('0x58')]){const _0x566cd4=_0x2a038b[_0x3266('0x54')]();(!_0x2a038b['attributes']||!_0x2a038b[_0x3266('0x169')]['skipNestingCheck'])&&(_0x566cd4[_0x3266('0x179')](_0x3c67f1=>_0xa85b9f['some'](_0x4345ad=>_0x4345ad[_0x3266('0x34')](_0x3c67f1,!0x0)))&&_0x2a038b[_0x3266('0x8a')]());if(_0xa85b9f[_0x3266('0x179')](_0x284067=>_0x566cd4[_0x3266('0x94')](_0x26e1c3=>_0x26e1c3[_0x3266('0x34')](_0x284067,!0x0)))){const _0x392aa2=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x392aa2(_0x380907,null,_0x1aac84)),null;}}else{const _0x4284a2=_0x2a038b[_0x3266('0x147')]();_0xa85b9f['some'](_0x82cbf=>_0x82cbf[_0x3266('0x34')](_0x4284a2,!0x0))&&_0x2a038b[_0x3266('0x8a')]();if(_0xa85b9f[_0x3266('0x179')](_0xfea5cb=>_0x4284a2[_0x3266('0x34')](_0xfea5cb,!0x0))){const _0x5226e3=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x5f'));return this['forceDefaultExecution'](()=>_0x5226e3(_0xa85b9f,null,_0x1aac84)),null;}}const _0x1e8988=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x88'));let _0x532b90=null;for(const _0x167314 of this[_0x3266('0x4c')]())if(_0x167314[_0x3266('0x36')]['id']==_0x3bcf70['id']&&_0x167314['isInContent']&&'deletion'==_0x167314[_0x3266('0x146')]&&_0x167314[_0x3266('0x11d')]==_0x39378f&&Gt(_0x167314,_0x1aac84)&&(_0x1e8988(_0x167314['getRanges'](),_0xa85b9f)||_0x1e8988(_0xa85b9f,_0x167314[_0x3266('0x54')]()))){if(_0x532b90){if(_0x167314[_0x3266('0x121')]&&_0x167314[_0x3266('0x121')][_0x3266('0x9e')])continue;for(const _0x3ec301 of _0x167314['getRanges']())_0x532b90[_0x3266('0x17c')](_0x3ec301)||_0x532b90[_0x3266('0x15b')](_0x3ec301);_0x167314[_0x3266('0x14b')]();}else{_0x532b90=_0x167314;for(const _0x47f1e3 of _0xa85b9f)_0x167314[_0x3266('0x17c')](_0x47f1e3)||_0x167314['addRange'](_0x47f1e3);}}if(_0x532b90)return _0x532b90;_0x54c5f9[_0x3266('0xd5')]();for(const {suggestion:_0x26b055,meta:_0x4151db}of this['_findSuggestions'](_0xa85b9f,_0x3266('0x137')))_0x4151db[_0x3266('0x158')]&&(this[_0x3266('0xfe')]||!_0x4151db[_0x3266('0xe')]&&!_0x4151db[_0x3266('0xd6')])&&Gt(_0x26b055,_0x1aac84)&&_0x54c5f9[_0x3266('0xf0')](_0x26b055);for(const _0x2fc529 of _0x54c5f9){const _0x3caba4=_0x2fc529['getRanges']();if(!_0x1aac84||!_0x1aac84['skipNestingCheck']){if(_0xa85b9f[_0x3266('0x179')](_0x274e0a=>_0x3caba4[_0x3266('0x94')](_0xf3e376=>_0xf3e376['containsRange'](_0x274e0a,!0x0))))return _0x2fc529;}(!_0x2fc529['attributes']||!_0x2fc529[_0x3266('0x169')][_0x3266('0xe6')])&&(_0x3caba4['every'](_0x50290a=>_0xa85b9f[_0x3266('0x94')](_0x177b61=>_0x177b61[_0x3266('0x34')](_0x50290a,!0x0)))&&_0x2fc529[_0x3266('0x8a')]());}const _0x4f0d7b=_0x30564f(),_0x25eeb8=_0x3bcf70['id'],_0x58aaeb=_0x3266('0x104')+_0x39378f,_0x4eaac8=this[_0x3266('0x18')]({'id':_0x4f0d7b,'type':_0x58aaeb,'createdAt':new Date(),'authorId':_0x25eeb8,'attributes':_0x1aac84});for(const _0x412cbd of _0xa85b9f)_0x412cbd['detach'](),_0x412cbd['isCollapsed']||_0x3266('0xbd')==_0x412cbd[_0x3266('0x117')][_0x3266('0xeb')]||this['_addSuggestionMarker'](_0x58aaeb,_0x4f0d7b,_0x25eeb8,_0x412cbd,_0x3717a3[_0x3266('0xcf')]());return _0x4eaac8;}[_0x3266('0x2e')](_0x336921,_0x2975a1,_0x5c9145,_0x1e6ee0,_0x57f364){if(_0x336921[_0x3266('0x16d')])return[];if('never'===this[_0x3266('0x1')])return[];const _0x4c49b6=this[_0x3266('0x1b')]['plugins'][_0x3266('0x13b')](_0x3266('0xb9'))['me']['id'],_0x30d76c=Array[_0x3266('0xb3')](this[_0x3266('0x129')][_0x3266('0x16f')]())[_0x3266('0x70')](_0x469491=>_0x3266('0x48')==_0x469491['type']&&_0x469491[_0x3266('0x30')]['key']==_0x2975a1&&_0x469491[_0x3266('0x17c')](_0x336921));if(_0x3266('0x73')===this['_trackFormatChanges']){const _0x2f2690=this[_0x3266('0x13f')](_0x336921,_0x3266('0xe0'))[_0x3266('0x70')](({meta:_0x3249d8})=>_0x3249d8[_0x3266('0x158')]&&!_0x3249d8[_0x3266('0xd6')]&&!_0x3249d8['isNextTo'])[_0x3266('0x152')](({suggestion:_0x21eb3b})=>_0x21eb3b);_0x30d76c[_0x3266('0xd9')](..._0x2f2690);}const _0xf8b5b8=new Map([[_0x336921,_0x5c9145]]);for(const _0x40f7ef of _0x30d76c){const _0x5d41dd='attribute'==_0x40f7ef[_0x3266('0x146')]?_0x40f7ef['data'][_0x3266('0x15c')]:void 0x0,_0x44672c=_0x40f7ef[_0x3266('0x147')](),_0x50c862=Array[_0x3266('0xb3')](_0xf8b5b8['keys']())[_0x3266('0x13a')](_0x3b8996=>_0x3b8996[_0x3266('0x40')](_0x44672c));if(!_0x50c862)continue;const _0x4d6b52=_0x50c862[_0x3266('0x17a')](_0x44672c);this[_0x3266('0x98')](_0x2975a1)&&_0x3266('0xe0')==_0x40f7ef[_0x3266('0x146')]&&0x0!=_0x4d6b52[_0x3266('0x9e')]||(_0xf8b5b8['delete'](_0x50c862),_0x4d6b52[_0x3266('0xa8')](_0x2c2bf3=>{_0xf8b5b8[_0x3266('0x114')](_0x2c2bf3,_0x5c9145);}),_0x3266('0xe0')!=_0x40f7ef[_0x3266('0x146')]&&_0x5d41dd!=_0x1e6ee0&&_0xf8b5b8[_0x3266('0x114')](_0x50c862[_0x3266('0xec')](_0x44672c),_0x5d41dd));}const _0x4a2dbb=[];for(const [_0x2a9f85,_0x34c2c9]of _0xf8b5b8){const _0x25750a=_0x30564f(),_0x51bda4={'key':_0x2975a1,'oldValue':_0x34c2c9,'newValue':_0x1e6ee0};_0x2975a1[_0x3266('0x9e')]>0x25&&console['warn'](_0x3266('0x42'),{'key':_0x2975a1});const _0x1fd1dd=(_0x3266('0x5c')+(_0x2975a1+'|'+Rt({'newValue':_0x1e6ee0})))[_0x3266('0x25')](0x0,0x3c),_0x3e70a8=this[_0x3266('0x18')]({'id':_0x25750a,'type':_0x1fd1dd,'data':_0x51bda4,'createdAt':new Date(),'authorId':_0x4c49b6,'attributes':_0x57f364});_0x4a2dbb[_0x3266('0x9f')](_0x3e70a8),this['_addSuggestionMarker'](_0x1fd1dd,_0x25750a,_0x4c49b6,_0x2a9f85);}return _0x4a2dbb;}[_0x3266('0x181')](_0x4cdf8c){this[_0x3266('0x144')]['add'](_0x4cdf8c);}[_0x3266('0xc8')](_0x45ccb0){this['_inlineAttributeKeys']['add'](_0x45ccb0);}['_enableDefaultAttributesIntegration'](_0x584ff1,_0xe25d41=[],_0x3dfc26=[]){this[_0x3266('0xd4')](_0x584ff1,(_0x4cef72,..._0x88c3e3)=>{this[_0x3266('0xdd')](()=>{_0x4cef72(..._0x88c3e3);});});for(const _0x52bfb3 of _0xe25d41)this[_0x3266('0xc8')](_0x52bfb3);for(const _0x588f30 of _0x3dfc26)this['_registerBlockAttribute'](_0x588f30);}['_setSuggestionRange'](_0x2df796,_0x7ee15d){const _0x16f86b=_0x2df796[_0x3266('0x43')]();this[_0x3266('0xf8')][_0x3266('0x6d')](_0x3d2a4d=>{_0x3d2a4d[_0x3266('0xbb')](_0x16f86b,{'range':_0x7ee15d});});}[_0x3266('0xc1')](_0x5dbc28){const _0x28d29a=_0x5dbc28['id'],_0x1e6d81=this[_0x3266('0x1b')][_0x3266('0x12f')]['get']('collaboration.channelId');this[_0x3266('0x7')][_0x3266('0x148')](_0x28d29a)||this[_0x3266('0x7')][_0x3266('0xea')]({'channelId':_0x1e6d81,'threadId':_0x28d29a,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x56f886=this[_0x3266('0x7')][_0x3266('0x6a')](_0x28d29a);_0x56f886[_0x3266('0x55')]('isRemovable'),_0x56f886[_0x3266('0x60')]=!0x1,_0x5dbc28[_0x3266('0x121')]=_0x56f886;}[_0x3266('0x118')](_0x178efc,_0x27e21f,_0xc30a47,_0x2ef28a){if(_0x178efc['type']!=_0x27e21f||_0x178efc[_0x3266('0x11d')]!=_0xc30a47||_0x178efc['creator']['id']!=_0x2ef28a)throw this['editor']['enableReadOnlyMode'](_0x3266('0xb2')),new _0x1231ca(_0x3266('0xb2'),this);}[_0x3266('0x83')](_0xdacc4f,_0x392c1f){const _0x35d3c6=_0xdacc4f[_0x3266('0x147')]();if(_0x392c1f[_0x3266('0x47')](_0x35d3c6))_0xdacc4f[_0x3266('0x14b')]();else{if(_0x35d3c6[_0x3266('0x34')](_0x392c1f)){const _0x4ee129=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f[_0x3266('0x13e')][_0x3266('0xd2')],_0x3266('0x174'));this[_0x3266('0x1c')](_0xdacc4f,this[_0x3266('0xf8')][_0x3266('0x45')](_0x35d3c6['start'],_0x4ee129));const _0x319b72=_0x30564f(),_0x5bd9f5=_0xdacc4f[_0x3266('0x8d')]['id'],_0x51c949=_0xdacc4f['type']+':'+_0xdacc4f['subType'];this[_0x3266('0x18')]({'id':_0x319b72,'type':_0x51c949,'createdAt':new Date(),'authorId':_0x5bd9f5,'data':_0xdacc4f[_0x3266('0x30')],'attributes':_0xdacc4f['attributes']});const _0x54bfbb=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f['end'][_0x3266('0x7b')],'after'),_0x247f29=this['_model']['createRange'](_0x54bfbb,_0x35d3c6[_0x3266('0x174')]);this[_0x3266('0x79')](_0x51c949,_0x319b72,_0x5bd9f5,_0x247f29);}else{if(_0x35d3c6[_0x3266('0x134')](_0x392c1f[_0x3266('0x13e')])){const _0x1945af=this['_model'][_0x3266('0x61')](_0x392c1f[_0x3266('0x13e')][_0x3266('0xd2')],_0x3266('0x174'));this[_0x3266('0x1c')](_0xdacc4f,this[_0x3266('0xf8')][_0x3266('0x45')](_0x35d3c6[_0x3266('0x13e')],_0x1945af));}else{const _0x14a9e1=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f['end'][_0x3266('0x7b')],_0x3266('0x23'));this[_0x3266('0x1c')](_0xdacc4f,this['_model'][_0x3266('0x45')](_0x14a9e1,_0x35d3c6[_0x3266('0x174')]));}}}}[_0x3266('0x12e')](_0x169c9a){for(const {suggestion:_0x386d38,meta:_0x3f3d95}of this['_findSuggestions'](_0x169c9a,_0x3266('0xe0'))){if(!_0x3f3d95[_0x3266('0x158')])continue;const _0x51c831=_0x386d38['getRanges']();for(const _0x332e05 of _0x51c831)if(!_0x169c9a[_0x3266('0x17a')](_0x332e05)[_0x3266('0x9e')])return!0x0;}return!0x1;}[_0x3266('0x85')](_0x5dcf79){const _0x46e41f=this[_0x3266('0x1b')]['plugins'][_0x3266('0x13b')](_0x3266('0xb9'))['getUser'](_0x5dcf79);if(!_0x46e41f)throw new _0x1231ca(_0x3266('0x123'),this);return _0x46e41f;}['_getExternalAuthor'](_0x382348){const _0x13dc16=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9')),_0x9a35c1=_0x2cbd9a(_0x3266('0xd8')+_0x382348),_0x33c742=_0x13dc16['getUser'](_0x9a35c1);return _0x33c742||_0x13dc16[_0x3266('0x2c')]({'id':_0x9a35c1,'name':_0x382348});}[_0x3266('0x92')](_0x303c7c,_0x286589,_0x550a9e,_0x12ea10,_0x52f2a6){const _0x1a75c8=this[_0x3266('0x85')](_0x12ea10),_0x177b01=this[_0x3266('0x5a')][_0x3266('0xf1')](_0x303c7c,_0x286589,_0x550a9e,_0x1a75c8,_0x52f2a6,_0x4de18e=>this[_0x3266('0x6e')](_0x550a9e,{'attributes':_0x4de18e}));return this[_0x3266('0x3c')](_0x177b01,_0x3266('0x5f'),()=>{this['_updateSuggestionData'](_0x550a9e,{'state':_0x3266('0x1e')});},{'priority':'high'}),this[_0x3266('0x3c')](_0x177b01,_0x3266('0x8a'),()=>{this[_0x3266('0x6e')](_0x550a9e,{'state':_0x3266('0x12b')});},{'priority':_0x3266('0xad')}),this[_0x3266('0x129')]['set'](_0x550a9e,_0x177b01),this[_0x3266('0x49')][_0x3266('0x114')](_0x177b01,_0x3266('0x11c')),_0x177b01;}[_0x3266('0x51')](_0x4e3285){const _0x3ac940=_0x4e3285['split'](':');return{'group':_0x3ac940[0x0],'type':_0x3ac940[0x1],'subType':_0x3ac940[_0x3266('0x9e')]>=0x5?_0x3ac940[0x2]:null,'id':_0x3ac940['length']<0x5?_0x3ac940[0x2]:_0x3ac940[0x3],'authorId':_0x3ac940[_0x3266('0x9e')]<0x5?_0x3ac940[0x3]:_0x3ac940[0x4],'markerCount':0x6==_0x3ac940['length']?_0x3ac940[0x5]:null};}['_breakSuggestionMarker'](_0x375a94,_0x19adba,_0x53dfbd){const _0x71fa3b=_0x375a94['getFirstRange'](),_0x262032=_0x71fa3b['start'],_0x1236c2=_0x71fa3b['end'];this[_0x3266('0x1c')](_0x375a94,this[_0x3266('0xf8')]['createRange'](_0x262032,_0x19adba));const _0x5a7415=_0x30564f(),_0x300579=_0x375a94[_0x3266('0x8d')]['id'],_0x5e8a2b=_0x375a94[_0x3266('0x146')]+(_0x375a94[_0x3266('0x11d')]?':'+_0x375a94[_0x3266('0x11d')]:'');this['_setSuggestionData']({'id':_0x5a7415,'type':_0x5e8a2b,'createdAt':new Date(),'authorId':_0x300579,'originalSuggestionId':_0x375a94['id'],'attributes':_0x375a94['attributes'],'data':_0x375a94['data']});const _0x14f5bf=Pt(_0x375a94);(_0x3266('0x110')==_0x375a94[_0x3266('0x146')]||_0x14f5bf&&this[_0x3266('0x98')](_0x14f5bf))&&(_0x53dfbd=this[_0x3266('0xf8')][_0x3266('0x162')](_0x53dfbd[_0x3266('0x7b')])),this[_0x3266('0x79')](_0x5e8a2b,_0x5a7415,_0x300579,this[_0x3266('0xf8')][_0x3266('0x45')](_0x53dfbd,_0x1236c2));}[_0x3266('0x13f')](_0x4aa4d8,_0x168fb7=null){const _0x4c37b1=[],_0x52aeb8=this[_0x3266('0x1b')][_0x3266('0xdb')]['get'](_0x3266('0xb9'))['me'];Array[_0x3266('0xff')](_0x4aa4d8)||(_0x4aa4d8=[_0x4aa4d8]);for(const _0x5b9755 of this[_0x3266('0x4c')]()){if(!_0x5b9755[_0x3266('0x130')])continue;if(_0x168fb7&&_0x5b9755[_0x3266('0x146')]!=_0x168fb7)continue;let _0x2a36b7=!0x1;for(const _0x17da6a of _0x5b9755[_0x3266('0x54')]()){for(const _0x576ef1 of _0x4aa4d8){const _0x4519ca=_0x576ef1['start'][_0x3266('0x47')](_0x17da6a[_0x3266('0x174')])||_0x576ef1[_0x3266('0x174')][_0x3266('0x47')](_0x17da6a['start']);if(_0x4519ca||_0x576ef1['getIntersection'](_0x17da6a)){const _0x3fd191=_0x576ef1['containsRange'](_0x17da6a)&&Tt(this['_model'][_0x3266('0xc3')],_0x17da6a[_0x3266('0x13e')],_0x576ef1),_0x303d06=_0x17da6a['containsRange'](_0x576ef1)&&Tt(this[_0x3266('0xf8')]['schema'],_0x576ef1[_0x3266('0x13e')],_0x17da6a);_0x4c37b1['push']({'suggestion':_0x5b9755,'meta':{'isOwn':_0x52aeb8==_0x5b9755['author'],'isNextTo':_0x4519ca,'isInsideObject':_0x3fd191,'containsRangeInObject':_0x303d06}}),_0x2a36b7=!0x0;break;}}if(_0x2a36b7)break;}}return _0x4c37b1;}[_0x3266('0x79')](_0x7b864f,_0x4e01f6,_0x1972d8,_0x473eb2,_0x319290){this[_0x3266('0xf8')][_0x3266('0x6d')](_0x2e2b5f=>{let _0x22332d=_0x3266('0x16')+_0x7b864f+':'+_0x4e01f6+':'+_0x1972d8;_0x319290&&(_0x22332d=_0x22332d+':'+_0x319290),_0x2e2b5f[_0x3266('0x28')](_0x22332d,{'range':_0x473eb2,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x16b7b9){const _0x11818b=_0x16b7b9[_0x3266('0xaf')],_0x9d6265=_0x16b7b9[_0x3266('0x68')];_0x16b7b9['previous']=null,_0x16b7b9[_0x3266('0x68')]=null,null!=_0x11818b&&(_0x11818b[_0x3266('0x68')]=_0x9d6265),null!=_0x9d6265&&(_0x9d6265['previous']=_0x11818b),_0x3266('0xa5')==this['_suggestionState'][_0x3266('0x13b')](_0x16b7b9)&&(this[_0x3266('0x49')]['set'](_0x16b7b9,_0x3266('0x12a')),this[_0x3266('0x17e')](_0x3266('0x91'),_0x16b7b9,_0x11818b,_0x9d6265));}[_0x3266('0x18')](_0x54f64c){const _0x4e97aa=_0x54f64c['id'],_0x58707a=this[_0x3266('0x44')](_0x54f64c);if(this[_0x3266('0x15e')]&&this[_0x3266('0x15e')][_0x3266('0x1f')]){const _0x4c13c4=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')]('PendingActions'),_0x381c5c=_0x58707a['hasComments'],_0x5c0037=_0x58707a[_0x3266('0x11d')]?_0x58707a['type']+':'+_0x58707a[_0x3266('0x11d')]:_0x58707a['type'],_0x489770=this[_0x3266('0x1b')]['locale'],_0x57bfe9=_0x4c13c4[_0x3266('0xf0')](_0x5cb1d5(_0x489770,_0x3266('0x113'))),_0x168fc8={'id':_0x4e97aa,'type':_0x5c0037,'hasComments':_0x381c5c,'data':_0x54f64c[_0x3266('0x30')]||null,'originalSuggestionId':_0x54f64c[_0x3266('0x78')]||null,'attributes':_0x58707a['attributes']};this['_adapter'][_0x3266('0x1f')](_0x168fc8)[_0x3266('0x163')](_0x126fde=>{_0x58707a[_0x3266('0xc0')]=!0x0,_0x4c13c4['remove'](_0x57bfe9),_0x126fde&&_0x126fde[_0x3266('0x5e')]&&(this[_0x3266('0x129')][_0x3266('0x13b')](_0x4e97aa)[_0x3266('0x5e')]=_0x126fde[_0x3266('0x5e')]);})[_0x3266('0x136')](_0x5c0c21=>{throw _0x4cde5f(_0x3266('0xed')),this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x105')]({'isUndoable':!0x1},()=>{_0x58707a[_0x3266('0x8a')]();}),_0x58707a['stopListening'](),this['_suggestions'][_0x3266('0x4f')](_0x58707a['id']),this[_0x3266('0x49')][_0x3266('0x4f')](_0x58707a),_0x5c0c21;});}return _0x58707a;}[_0x3266('0x98')](_0x25cabd){return this[_0x3266('0x144')]['has'](_0x25cabd);}[_0x3266('0x6e')](_0x10a933,_0x1a4b8b){const _0x5c2e3a=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0x9c')),_0x5f2fe3=this[_0x3266('0x154')](_0x10a933);if(this[_0x3266('0x15e')]&&this[_0x3266('0x15e')][_0x3266('0x86')]){if(_0x5f2fe3[_0x3266('0xc0')]){const _0x22095f=_0x5c2e3a['add'](_0x5cb1d5(this[_0x3266('0x1b')][_0x3266('0x35')],_0x3266('0x113')));this[_0x3266('0x15e')][_0x3266('0x86')](_0x10a933,_0x1a4b8b)['then'](()=>{_0x5c2e3a[_0x3266('0x156')](_0x22095f);});}else _0x5f2fe3['on'](_0x3266('0x24'),()=>{this[_0x3266('0x6e')](_0x10a933,_0x1a4b8b);});}}[_0x3266('0x65')](_0x2e774e){if(!this[_0x3266('0x15e')]||!this[_0x3266('0x15e')][_0x3266('0x154')])throw new _0x1231ca(_0x3266('0x13d'),this);return this[_0x3266('0x15e')][_0x3266('0x154')](_0x2e774e);}[_0x3266('0x96')](_0x2128ef){const {id:_0x19b964,type:_0x162479,subType:_0x42f847,authorId:_0x50a77f}=this[_0x3266('0x51')](_0x2128ef),_0x2aff7a=this[_0x3266('0x129')][_0x3266('0x13b')](_0x19b964)||this[_0x3266('0x92')](_0x162479,_0x42f847,_0x19b964,_0x50a77f,{});switch(this[_0x3266('0x118')](_0x2aff7a,_0x162479,_0x42f847,_0x50a77f),this[_0x3266('0x49')][_0x3266('0x13b')](_0x2aff7a)){case _0x3266('0x11c'):this['_getSuggestionData'](_0x19b964)[_0x3266('0x163')](_0x5eb20e=>{let _0x54346f=Promise[_0x3266('0x127')]();_0x5eb20e[_0x3266('0x173')]&&(_0x54346f=this[_0x3266('0x7')][_0x3266('0x2d')]({'channelId':this['editor'][_0x3266('0x12f')][_0x3266('0x13b')](_0x3266('0x175')),'threadId':_0x19b964})),_0x54346f[_0x3266('0x163')](()=>{this['addSuggestionData'](_0x5eb20e)[_0x3266('0xc0')]=!0x0;});}),this[_0x3266('0x49')][_0x3266('0x114')](_0x2aff7a,_0x3266('0xde'));break;case _0x3266('0x12a'):this[_0x3266('0x6e')](_0x19b964,{'state':_0x3266('0x20')});case'dataReady':this['_suggestionState'][_0x3266('0x114')](_0x2aff7a,_0x3266('0xa5')),this['fire'](_0x3266('0x67'),_0x2aff7a);break;case _0x3266('0xa5'):this[_0x3266('0x17e')](_0x3266('0xb5'),_0x2aff7a);}return _0x2aff7a[_0x3266('0x125')](_0x2128ef),_0x2aff7a;}[_0x3266('0xa0')](_0x37fb6c){const _0x43e5ce=Array[_0x3266('0xb3')](_0x37fb6c),_0x408d5f=_0x43e5ce[_0x3266('0x70')](_0x492ee0=>_0x3266('0x48')==_0x492ee0[_0x3266('0x146')]);this[_0x3266('0x9d')](_0x408d5f);const _0x2d3906=_0x43e5ce[_0x3266('0x70')](_0x3cee3b=>!_0x3cee3b[_0x3266('0x58')]&&_0x3266('0x48')!=_0x3cee3b[_0x3266('0x146')]),_0x402142=this['getSuggestions']({'skipNotAttached':!0x0})[_0x3266('0x70')](_0x14b58a=>!_0x14b58a[_0x3266('0x58')]&&'attribute'!=_0x14b58a['type']),_0x48f884=_0x402142[_0x3266('0x70')](_0x3408a6=>!_0x37fb6c[_0x3266('0xb8')](_0x3408a6)),_0x38b6d2=new Map(_0x402142[_0x3266('0x152')](_0x186322=>[_0x186322,this[_0x3266('0x5a')][_0x3266('0x16a')](_0x186322[_0x3266('0x146')],_0x186322[_0x3266('0x11d')],_0x3266('0x63'))])),_0x46bfef=new Map(_0x402142[_0x3266('0x152')](_0xa0074b=>[_0xa0074b,_0xa0074b[_0x3266('0x147')]()])),_0x5e3a7d=new Set(),_0x3e20cd=new Set();for(let _0x4a8518=0x0;_0x4a8518<_0x2d3906[_0x3266('0x9e')];_0x4a8518++)_0x400995(_0x2d3906[_0x4a8518],_0x2d3906,_0x4a8518+0x1);for(let _0x13ec07=0x0;_0x13ec07<_0x2d3906[_0x3266('0x9e')];_0x13ec07++)_0x400995(_0x2d3906[_0x13ec07],_0x48f884,0x0);const _0x414130=new Set();for(let _0xb37627=0x0;_0xb37627<_0x2d3906[_0x3266('0x9e')];_0xb37627++){const _0xc41a6d=_0x2d3906[_0xb37627];!_0x3e20cd[_0x3266('0xb8')](_0xc41a6d)&&_0xc41a6d[_0x3266('0xaf')]&&(_0x414130[_0x3266('0xf0')](_0xc41a6d[_0x3266('0xaf')]),_0xc41a6d[_0x3266('0xaf')][_0x3266('0x68')]===_0xc41a6d&&(_0xc41a6d[_0x3266('0xaf')][_0x3266('0x68')]=null),_0xc41a6d[_0x3266('0xaf')]=null),!_0x5e3a7d[_0x3266('0xb8')](_0xc41a6d)&&_0xc41a6d[_0x3266('0x68')]&&(_0x414130[_0x3266('0xf0')](_0xc41a6d[_0x3266('0x68')]),_0xc41a6d['next'][_0x3266('0xaf')]===_0xc41a6d&&(_0xc41a6d[_0x3266('0x68')][_0x3266('0xaf')]=null),_0xc41a6d[_0x3266('0x68')]=null);}function _0x400995(_0x48a24d,_0x1dbc7a,_0x533308){for(let _0x572739=_0x533308;_0x572739<_0x1dbc7a[_0x3266('0x9e')];_0x572739++){const _0x184f37=_0x40aae7(_0x48a24d,_0x1dbc7a[_0x572739]);_0x184f37&&(_0x184f37[0x0][_0x3266('0x68')]=_0x184f37[0x1],_0x184f37[0x1][_0x3266('0xaf')]=_0x184f37[0x0],_0x5e3a7d[_0x3266('0xf0')](_0x184f37[0x0]),_0x3e20cd[_0x3266('0xf0')](_0x184f37[0x1]));}}function _0x40aae7(_0x518bae,_0x427ffe){if(_0x518bae[_0x3266('0x36')]['id']!==_0x427ffe[_0x3266('0x36')]['id'])return null;const _0x18cc3c=_0x38b6d2['get'](_0x518bae)(_0x518bae,_0x427ffe,_0x46bfef[_0x3266('0x13b')](_0x518bae),_0x46bfef[_0x3266('0x13b')](_0x427ffe));if(!_0x18cc3c)return null;return _0x38b6d2[_0x3266('0x13b')](_0x427ffe)(_0x518bae,_0x427ffe,_0x46bfef[_0x3266('0x13b')](_0x518bae),_0x46bfef[_0x3266('0x13b')](_0x427ffe))?_0x18cc3c[0x1]['commentThread']&&_0x18cc3c[0x1][_0x3266('0x121')][_0x3266('0x9e')]?null:_0x18cc3c:null;}_0x414130[_0x3266('0xaa')]&&this['_refreshSuggestionsChain'](_0x414130);}[_0x3266('0x9d')](_0x39bb2a){if(0x0==_0x39bb2a[_0x3266('0x9e')])return;const _0x42b803=this[_0x3266('0x4c')]({'skipNotAttached':!0x0})[_0x3266('0x70')](_0x265278=>_0x3266('0x48')==_0x265278[_0x3266('0x146')]&&_0x265278[_0x3266('0x131')]),_0xc0398f=[],_0x134977=new Map();for(const _0x3c4bba of _0x42b803){const _0x149335=_0x2cbd9a(_0x3c4bba[_0x3266('0x169')]);_0x134977['has'](_0x149335)||(_0x134977[_0x3266('0x114')](_0x149335,_0xc0398f[_0x3266('0x9e')]),_0xc0398f[_0x3266('0x9f')]([]));const _0x22edeb=_0x134977[_0x3266('0x13b')](_0x149335);_0xc0398f[_0x22edeb][_0x3266('0x9f')](_0x3c4bba);}!function(){_0xc0398f['sort']((_0x16fa84,_0x5e5e8b)=>{const _0x35703e=_0x16fa84[0x0][_0x3266('0x5e')],_0x1da668=_0x5e5e8b[0x0][_0x3266('0x5e')];return _0x35703e==_0x1da668?_0x16fa84[0x0][_0x3266('0x169')][_0x3266('0x135')]<_0x5e5e8b[0x0][_0x3266('0x169')]['groupId']?-0x1:0x1:_0x35703e<_0x1da668?-0x1:0x1;});for(const _0x2b75f6 of _0xc0398f)_0x2b75f6[_0x3266('0x7a')]((_0x79d8dd,_0x5b1d9e)=>_0x79d8dd['id']<_0x5b1d9e['id']?-0x1:0x1);}();for(let _0xcd485a=0x0;_0xcd485a<_0xc0398f['length'];_0xcd485a++){if(0x0==_0xc0398f[_0xcd485a][_0x3266('0x9e')])continue;const _0x331b1c=[];for(let _0x31f0e2=_0xcd485a+0x1;_0x31f0e2<_0xc0398f[_0x3266('0x9e')];_0x31f0e2++)0x0!=_0xc0398f[_0x31f0e2][_0x3266('0x9e')]&&_0x5dcd18(_0xc0398f[_0xcd485a],_0xc0398f[_0x31f0e2])&&_0x331b1c[_0x3266('0x9f')](_0x31f0e2);for(const _0x1626ba of _0x331b1c)_0xc0398f[_0xcd485a]=_0xc0398f[_0xcd485a][_0x3266('0x9')](_0xc0398f[_0x1626ba]),_0xc0398f[_0x1626ba]=[];}for(const _0x24949a of _0xc0398f)for(let _0x4f8ae7=0x0;_0x4f8ae7<_0x24949a[_0x3266('0x9e')];_0x4f8ae7++)_0x24949a[_0x4f8ae7]['next']=_0x24949a[_0x4f8ae7+0x1]||null;for(const _0x3feb0c of _0xc0398f)for(let _0x895e33=0x0;_0x895e33<_0x3feb0c[_0x3266('0x9e')];_0x895e33++)_0x3feb0c[_0x895e33][_0x3266('0xaf')]=_0x3feb0c[_0x895e33-0x1]||null;function _0x5dcd18(_0x4201bb,_0x4eb32e){if(_0x4201bb[0x0][_0x3266('0x36')]!==_0x4eb32e[0x0][_0x3266('0x36')])return!0x1;if(!function(_0x1a76d9,_0x58fe7d){if(!_0x1a76d9[_0x3266('0x173')]&&!_0x58fe7d['hasComments'])return!0x0;if(_0x1a76d9[_0x3266('0x173')]&&_0x58fe7d[_0x3266('0x173')])return!0x1;if(_0x1a76d9[_0x3266('0x173')]&&_0x58fe7d[_0x3266('0x5e')]<_0x1a76d9[_0x3266('0x121')][_0x3266('0x151')][_0x3266('0x13b')](0x0)['createdAt'])return!0x0;if(_0x58fe7d[_0x3266('0x173')]&&_0x1a76d9[_0x3266('0x5e')]<_0x58fe7d[_0x3266('0x121')]['comments'][_0x3266('0x13b')](0x0)[_0x3266('0x5e')])return!0x0;return!0x1;}(_0x4201bb[0x0],_0x4eb32e[0x0]))return!0x1;const _0x494235=_0x41db8e(_0x4201bb[0x0][_0x3266('0x169')],_0x3266('0x135')),_0x4958fa=_0x41db8e(_0x4eb32e[0x0][_0x3266('0x169')],'groupId');if(!_0x828a1b(_0x494235,_0x4958fa))return!0x1;return!!_0x4201bb['every'](_0x2391a4=>_0x4eb32e[_0x3266('0x94')](_0x144ad4=>_0x2391a4['getFirstRange']()[_0x3266('0x47')](_0x144ad4[_0x3266('0x147')]())))&&_0x4eb32e[_0x3266('0x179')](_0x6bb26=>_0x4201bb[_0x3266('0x94')](_0x20549a=>_0x6bb26[_0x3266('0x147')]()['isEqual'](_0x20549a['getFirstRange']())));}}[_0x3266('0x140')](_0x3183bb){const _0x519c04=Array['from'](_0x3183bb),_0x503d1d=this[_0x3266('0x4c')]({'skipNotAttached':!0x0}),_0x2e5e35=_0x503d1d[_0x3266('0x70')](_0x48e7ce=>!_0x3183bb[_0x3266('0xb8')](_0x48e7ce)),_0xf1f24=new Map(_0x519c04[_0x3266('0x152')](_0x3564f8=>[_0x3564f8,this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3564f8[_0x3266('0x146')],_0x3564f8['subType'],_0x3266('0x88'))])),_0x272958=new Map(_0x503d1d[_0x3266('0x152')](_0x18c179=>[_0x18c179,_0x18c179[_0x3266('0x54')]()]));for(let _0x5c834d=0x0;_0x5c834d<_0x519c04['length'];_0x5c834d++){if(_0x3d31cf(this,_0x519c04[_0x5c834d],_0x519c04,_0x5c834d+0x1))return!0x0;}for(let _0x456b52=0x0;_0x456b52<_0x519c04['length'];_0x456b52++){if(_0x3d31cf(this,_0x519c04[_0x456b52],_0x2e5e35,0x0))return!0x0;}return!0x1;function _0x3d31cf(_0x3bcbbf,_0x391f59,_0x30c9e,_0x29c388){for(let _0x224e94=_0x29c388;_0x224e94<_0x30c9e[_0x3266('0x9e')];_0x224e94++){const _0x3cd3dd=_0x30c9e[_0x224e94];if(_0x3cd3dd[_0x3266('0x146')]!==_0x391f59[_0x3266('0x146')]||_0x3cd3dd[_0x3266('0x36')]['id']!==_0x391f59[_0x3266('0x36')]['id']||_0x3cd3dd[_0x3266('0x11d')]!==_0x391f59[_0x3266('0x11d')])continue;if(!Vt(_0x391f59,_0x3cd3dd))continue;if('attribute'==_0x391f59[_0x3266('0x146')]&&_0x391f59[_0x3266('0x30')]['oldValue']!=_0x3cd3dd[_0x3266('0x30')][_0x3266('0x15c')])continue;if(_0x3266('0x48')==_0x391f59['type']&&_0x3bcbbf[_0x3266('0x98')](_0x391f59[_0x3266('0x30')]['key']))continue;if('formatBlock'==_0x391f59[_0x3266('0x146')]){const _0x567b00=_0x3bcbbf[_0x3266('0x1b')][_0x3266('0x10f')],_0x1ed3a4=_0x391f59[_0x3266('0x10d')]();if(_0x1ed3a4&&(_0x567b00[_0x3266('0xc3')]['isObject'](_0x1ed3a4)||_0x567b00[_0x3266('0xc3')][_0x3266('0xe3')](_0x1ed3a4)))continue;}const _0x59a852=_0xf1f24['get'](_0x391f59),_0x2621e7=_0x272958[_0x3266('0x13b')](_0x391f59),_0x3316d9=_0x272958[_0x3266('0x13b')](_0x3cd3dd),_0x4d0f81=_0x391f59[_0x3266('0x121')]&&_0x391f59[_0x3266('0x121')][_0x3266('0x9e')],_0x2fb510=_0x3cd3dd[_0x3266('0x121')]&&_0x3cd3dd[_0x3266('0x121')][_0x3266('0x9e')];if(!_0x4d0f81&&_0x59a852(_0x3316d9,_0x2621e7))return _0x3bcbbf[_0x3266('0x59')](_0x3cd3dd,_0x391f59),_0x272958[_0x3266('0x4f')](_0x391f59),!0x0;if(!_0x2fb510&&_0x59a852(_0x2621e7,_0x3316d9))return _0x3bcbbf[_0x3266('0x59')](_0x391f59,_0x3cd3dd),_0x272958[_0x3266('0x4f')](_0x3cd3dd),!0x0;}return!0x1;}}[_0x3266('0x59')](_0x576a04,_0x3e3c3b){if(_0x576a04[_0x3266('0x58')])for(const _0xbba762 of _0x3e3c3b['getRanges']())_0x576a04[_0x3266('0x15b')](_0xbba762);else{const _0x4f4d47=_0x3e3c3b[_0x3266('0x147')]()[_0x3266('0x174')];this[_0x3266('0x1c')](_0x576a04,this[_0x3266('0xf8')][_0x3266('0x45')](_0x576a04[_0x3266('0x147')]()['start'],_0x4f4d47));}_0x3e3c3b[_0x3266('0x14b')]();}[_0x3266('0xfb')](_0xe2556c,_0x3b41d6){const _0x58e38e=_0xe2556c['startsWith'](_0x3266('0x64'))||_0xe2556c['startsWith']('attribute')?_0x3266('0x111'):_0xe2556c[_0x3266('0x7e')]();return _0x5cb1d5(this[_0x3266('0x1b')][_0x3266('0x35')],_0x3b41d6+'_'+_0x58e38e+_0x3266('0xe2'));}[_0x3266('0x102')](){const _0x407a43=this[_0x3266('0x1b')];_0x196bcb(this[_0x3266('0xf8')],({left:_0x145f8d,entered:_0x1ba512})=>{const _0x388709=[];for(const _0x49af69 of _0x145f8d){const {group:_0x54f2fc,type:_0x5c7366}=this['_splitMarkerName'](_0x49af69[_0x3266('0xa4')]);if(_0x3266('0xb1')===_0x54f2fc){_0x388709['push'](this[_0x3266('0xfb')](_0x5c7366,'LEAVE'));break;}}for(const _0x346c5c of _0x1ba512){const {group:_0x15841a,type:_0x9ddac0}=this[_0x3266('0x51')](_0x346c5c[_0x3266('0xa4')]);if(_0x3266('0xb1')===_0x15841a){_0x388709[_0x3266('0x9f')](this['_getMarkerAnnouncementText'](_0x9ddac0,_0x3266('0x172')));break;}}_0x388709['length']&&_0x407a43['ui'][_0x3266('0xca')][_0x3266('0x115')](_0x3266('0x39'),_0x388709[_0x3266('0x88')]('\x20'));});}[_0x3266('0xcb')](_0x241e22){if(null!==this[_0x3266('0x1d')])return!0x1;const _0x62250b=this[_0x3266('0x1b')],_0x52f7be=_0x62250b[_0x3266('0x10f')][_0x3266('0x38')]['differ'][_0x3266('0xd1')]();if(0x0==_0x52f7be[_0x3266('0x9e')])return!0x1;const _0x4c51d8=[],_0x1a61aa=_0x52f7be[_0x3266('0x70')](_0x5ed2e2=>_0x3266('0x48')==_0x5ed2e2[_0x3266('0x146')]),_0x452903=_0x52f7be[_0x3266('0x70')](_0x2c4c6e=>'insert'==_0x2c4c6e[_0x3266('0x146')]&&_0x3266('0x27')!=_0x2c4c6e['name']),_0x19bfec=_0x52f7be[_0x3266('0x70')](_0x525d46=>_0x3266('0x156')==_0x525d46['type']&&_0x3266('0x27')!=_0x525d46[_0x3266('0xa4')]);for(const _0x1b199c of _0x1a61aa)_0x4c51d8[_0x3266('0x9f')]({'key':_0x1b199c['attributeKey'],'newValue':_0x1b199c[_0x3266('0x53')],'oldValue':_0x1b199c[_0x3266('0x161')],'range':_0x14da60(_0x1b199c['range'])});for(const _0x61daa5 of _0x452903){const _0x4b981a=_0x19bfec[_0x3266('0x13a')](_0xc92d8d=>_0xc92d8d[_0x3266('0x2b')][_0x3266('0x47')](_0x61daa5[_0x3266('0x2b')]));_0x4b981a&&_0x4c51d8[_0x3266('0x9f')]({'key':_0x3266('0x17d'),'newValue':_0x61daa5[_0x3266('0xa4')],'oldValue':_0x4b981a[_0x3266('0xa4')],'range':_0x62250b[_0x3266('0x10f')]['createRangeOn'](_0x61daa5[_0x3266('0x2b')][_0x3266('0x107')])});}return 0x0!=_0x4c51d8[_0x3266('0x9e')]&&this['_reduceExistingSuggestions'](_0x241e22,_0x4c51d8);function _0x14da60(_0x5b98e6){return null==_0x5b98e6[_0x3266('0x174')]['nodeBefore']&&_0x5b98e6[_0x3266('0x174')][_0x3266('0x7b')]==_0x5b98e6[_0x3266('0x13e')][_0x3266('0x107')]?Ut(_0x5b98e6[_0x3266('0x13e')][_0x3266('0x107')],_0x62250b[_0x3266('0x10f')]):_0x5b98e6;}}[_0x3266('0x3f')](_0x19d23f){let _0x5bb19e=!0x1;const _0x29b5c1=this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x38')]['differ'][_0x3266('0x132')]()[_0x3266('0x70')](_0x3eea36=>_0x3eea36[_0x3266('0x30')][_0x3266('0x12d')]&&_0x3eea36[_0x3266('0xa4')]['startsWith'](_0x3266('0xcd')));for(const _0x4854e9 of _0x29b5c1){const {subType:_0x86dd70,id:_0x5835ae}=this[_0x3266('0x51')](_0x4854e9[_0x3266('0xa4')]),_0x26dc44=_0x86dd70['split']('|')[0x0];for(const _0x2447a7 of this[_0x3266('0x4c')]({'skipNotAttached':!0x0}))_0x2447a7['id']!=_0x5835ae&&'attribute'==_0x2447a7[_0x3266('0x146')]&&_0x2447a7[_0x3266('0x30')]&&_0x2447a7[_0x3266('0x30')][_0x3266('0x6')]==_0x26dc44&&_0x2447a7[_0x3266('0x147')]()[_0x3266('0x40')](_0x4854e9[_0x3266('0x30')]['newRange'])&&(this[_0x3266('0x3e')](_0x2447a7,_0x4854e9['data'][_0x3266('0x12d')],_0x19d23f),_0x5bb19e=!0x0);}return _0x5bb19e;}[_0x3266('0xdd')](_0x557f28){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x557f28();const _0x1d6829=this[_0x3266('0x1b')];this[_0x3266('0x1d')]=_0x1d6829[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x12c')],_0x557f28();const _0x503d98=new Map();for(const _0x5ae3ba of _0x1d6829[_0x3266('0x10f')]['document']['history'][_0x3266('0x106')](this[_0x3266('0x1d')]))if([_0x3266('0x170'),_0x3266('0x157'),'removeAttribute',_0x3266('0x10')][_0x3266('0xc6')](_0x5ae3ba[_0x3266('0x146')])){const _0x3fa5e1=_0x5ae3ba[_0x3266('0x9b')],_0x386363=_0x503d98[_0x3266('0x13b')](_0x3fa5e1)||[];_0x386363[_0x3266('0x9f')](_0x5ae3ba),_0x503d98['set'](_0x3fa5e1,_0x386363);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x203609,_0x33e53f]of _0x503d98){const _0x1f7da0=_0x30564f();_0x1d6829[_0x3266('0x10f')][_0x3266('0x105')](_0x203609,_0x42c00c=>{const _0x42fd3f=[];for(const _0x3fc5e0 of _0x33e53f){let _0x24f798,_0xdeea35,_0x47194b,_0x588fb1;if(_0x3266('0x170')==_0x3fc5e0[_0x3266('0x146')]){const _0x36d5bc=_0x3fc5e0;_0x24f798=Ut(_0x36d5bc[_0x3266('0x2b')][_0x3266('0x107')],_0x1d6829[_0x3266('0x10f')]),_0xdeea35=_0x3266('0x17d'),_0x47194b=_0x36d5bc[_0x3266('0x5')],_0x588fb1=_0x36d5bc[_0x3266('0xe1')];}else{const _0x549fea=_0x3fc5e0,_0x2a042d=this[_0x3266('0x98')](_0x549fea[_0x3266('0x6')]),_0x245882=this[_0x3266('0x2f')][_0x3266('0xb8')](_0x549fea[_0x3266('0x6')]);if(!_0x2a042d&&!_0x245882)continue;_0x24f798=_0x2a042d?Ut(_0x549fea[_0x3266('0x29')][_0x3266('0x13e')]['nodeAfter'],_0x1d6829['model']):_0x549fea[_0x3266('0x29')],_0xdeea35=_0x549fea['key'],_0x47194b=_0x3266('0x46')==_0x3fc5e0[_0x3266('0x146')]?void 0x0:_0x549fea[_0x3266('0x97')],_0x588fb1=_0x549fea[_0x3266('0x15c')];}this[_0x3266('0x2e')](_0x24f798,_0xdeea35,_0x588fb1,_0x47194b,{'groupId':_0x1f7da0}),_0x42fd3f['push']({'range':_0x24f798,'key':_0xdeea35,'newValue':_0x47194b,'oldValue':_0x588fb1});}this[_0x3266('0x160')](_0x42c00c,_0x42fd3f);});}}[_0x3266('0x160')](_0xbb4069,_0x32b7a9){if(0x0==_0x32b7a9[_0x3266('0x9e')])return!0x1;let _0x5f0c30=!0x1;for(const _0x28a0ac of _0x32b7a9){const _0x30166c=this[_0x3266('0x13f')](_0x28a0ac['range'],_0x3266('0x48'))[_0x3266('0x70')](_0x32a368=>!_0x32a368['meta'][_0x3266('0x13')])[_0x3266('0x152')](_0x4cd65b=>_0x4cd65b[_0x3266('0xb1')]),_0x5b361e=_0x2cbd9a({'newValue':_0x28a0ac[_0x3266('0x97')]});_0x30166c[_0x3266('0x70')](_0x4f7a74=>{const [_0x39bd30,_0x1b1d42]=_0x4f7a74[_0x3266('0x11d')]['split']('|');return _0x39bd30==_0x28a0ac[_0x3266('0x6')]&&_0x1b1d42!=_0x5b361e;})[_0x3266('0xa8')](_0x394aca=>{this['_reduceSuggestionAttributeRange'](_0x394aca,_0x28a0ac[_0x3266('0x29')],_0xbb4069),_0x5f0c30=!0x0;});}return _0x5f0c30;}[_0x3266('0x3e')](_0x39cd75,_0x23918d,_0x1b8cbf){const _0x50a7c0=_0x39cd75['getFirstRange']()[_0x3266('0x17a')](_0x23918d);0x0!==_0x50a7c0[_0x3266('0x9e')]?0x1!==_0x50a7c0[_0x3266('0x9e')]?this[_0x3266('0x10a')](_0x39cd75,_0x23918d['start'],_0x23918d[_0x3266('0x174')]):this[_0x3266('0x1c')](_0x39cd75,_0x50a7c0[0x0]):_0x1b8cbf[_0x3266('0x149')](_0x39cd75['getFirstMarker']());}}class Bt{constructor(_0x58926e){this['_editor']=_0x58926e,this['_model']=_0x58926e['model'],this[_0x3266('0x167')]=new Map(),this[_0x3266('0x171')]=new Map(),this[_0x3266('0xcc')]();}[_0x3266('0xf1')](_0x3fad47,_0x362e07,_0x5b1299,_0x4d84e1,_0x3d9f25,_0x46d76e){return new _0x3717a3(this[_0x3266('0xf8')],{'type':_0x3fad47,'subType':_0x362e07,'id':_0x5b1299,'author':_0x4d84e1,'creator':_0x4d84e1,'attributes':_0x3d9f25,'onAttributesChange':_0x46d76e,'onAccept':(..._0x55f535)=>this[_0x3266('0x16a')](_0x3fad47,_0x362e07,_0x3266('0x5f'))(..._0x55f535),'onDiscard':(..._0x39ec17)=>this[_0x3266('0x16a')](_0x3fad47,_0x362e07,_0x3266('0x8a'))(..._0x39ec17)});}[_0x3266('0xf')](_0x477c01,_0x53c1bd,_0x315ad4,_0x6c1b03){const _0x2fc82f=_0x477c01+':'+_0x53c1bd+':'+_0x315ad4;this['_customCallbacks']['set'](_0x2fc82f,_0x6c1b03);}[_0x3266('0x16a')](_0x235657,_0x1f7e80,_0x2ee8e4){const _0x3c287d=_0x235657+':'+_0x1f7e80+':'+_0x2ee8e4;return this[_0x3266('0x167')]['get'](_0x3c287d)||this['_defaultCallbacks'][_0x3266('0x13b')](_0x235657+':'+_0x2ee8e4);}[_0x3266('0xcc')](){const _0x3ee9af=()=>!0x1,_0x3ec7e7=_0x4da65a=>{_0x4da65a[_0x3266('0x7a')]((_0x35676f,_0x2ba425)=>_0x35676f[_0x3266('0x13e')][_0x3266('0xe8')](_0x2ba425[_0x3266('0x13e')])?0x1:-0x1),this[_0x3266('0xf8')][_0x3266('0x6d')](_0x2f6226=>{for(const _0x46f459 of _0x4da65a){let _0x2d9579;_0x2d9579=_0x46f459[_0x3266('0x174')][_0x3266('0x120')]&&_0x46f459[_0x3266('0x174')][_0x3266('0x7b')]==_0x46f459[_0x3266('0x13e')][_0x3266('0x107')]?_0x2f6226['createSelection'](_0x46f459[_0x3266('0x13e')][_0x3266('0x107')],'on'):_0x2f6226[_0x3266('0x72')](_0x46f459),this[_0x3266('0xf8')]['deleteContent'](_0x2d9579,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x617a13=(_0x3cd051,_0x8c2bdc)=>{_0x8c2bdc&&this['_model'][_0x3266('0x6d')](_0x17ac1d=>{const {commandName:_0x2f7421,commandParams:_0x25a2d1=[]}=_0x8c2bdc,_0xd097b8=_0x3cd051['map'](_0x46801b=>(xt(_0x46801b)&&(_0x46801b=this[_0x3266('0xf8')][_0x3266('0x45')](_0x46801b[_0x3266('0x174')])),_0x46801b))[_0x3266('0x70')](_0x83ce37=>'$graveyard'!==_0x83ce37[_0x3266('0x117')][_0x3266('0xeb')]);if(_0xd097b8[_0x3266('0x9e')]<0x1)return;const _0x58caf7=Array[_0x3266('0xb3')](this['_model'][_0x3266('0x38')][_0x3266('0x4e')][_0x3266('0x54')]())[_0x3266('0x152')](_0x5839a5=>_0x15e6db[_0x3266('0x142')](_0x5839a5));_0x17ac1d['setSelection'](_0xd097b8);for(const _0x3f66a4 of this[_0x3266('0x4')][_0x3266('0xac')][_0x3266('0xac')]())_0x3f66a4[_0x3266('0x4a')]();_0x25a2d1[_0x3266('0x9f')]({'forceDefaultExecution':!0x0}),this[_0x3266('0x4')][_0x3266('0x3')](_0x2f7421,..._0x25a2d1);const _0x5ed341=_0x58caf7[_0x3266('0x70')](_0x3ab810=>_0x3266('0xbd')!=_0x3ab810[_0x3266('0x117')][_0x3266('0xeb')]);_0x5ed341[_0x3266('0x9e')]>0x0&&_0x17ac1d[_0x3266('0x13c')](_0x5ed341);for(const _0x4a8f00 of _0x58caf7)_0x4a8f00[_0x3266('0x69')]();});},_0x1714f7=(_0x1bb6bd,_0x351235)=>0x1==_0x1bb6bd[_0x3266('0x9e')]&&0x1==_0x351235[_0x3266('0x9e')]&&_0x1bb6bd[0x0][_0x3266('0x174')][_0x3266('0x47')](_0x351235[0x0][_0x3266('0x13e')]),_0x17b2ce=(_0x4e03c2,_0xb95d8b,_0x1bd132,_0x2e4aa8)=>Ot(_0x4e03c2,_0xb95d8b,_0x1bd132,_0x2e4aa8,this[_0x3266('0xf8')])?[_0x4e03c2,_0xb95d8b]:Ot(_0xb95d8b,_0x4e03c2,_0x2e4aa8,_0x1bd132,this[_0x3266('0xf8')])?[_0xb95d8b,_0x4e03c2]:null;this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x22'),_0x3ee9af),this[_0x3266('0x171')]['set'](_0x3266('0x122'),_0x3ec7e7),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0xa9'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x17f'),_0x17b2ce),this[_0x3266('0x171')]['set'](_0x3266('0x112'),_0x3ec7e7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x178'),_0x3ee9af),this['_defaultCallbacks'][_0x3266('0x114')]('deletion:join',_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x11f'),_0x17b2ce),this['_defaultCallbacks']['set'](_0x3266('0x126'),_0x617a13),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0x103'),_0x3ee9af),this[_0x3266('0x171')]['set'](_0x3266('0x17'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0xc4'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x62'),_0x617a13),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0x139'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x26'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x9a'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x145'),_0x3ee9af),this[_0x3266('0x171')]['set']('attribute:discard',(_0x52cada,_0x4ed84f)=>{if(!_0x4ed84f)return;const _0x36f77b=this[_0x3266('0x4')][_0x3266('0xdb')]['get'](p);this[_0x3266('0xf8')][_0x3266('0x6d')](_0x1806f8=>{if('$elementName'==_0x4ed84f[_0x3266('0x6')])for(const _0x8c741e of _0x52cada){const _0x2cdf2f=_0x8c741e[_0x3266('0x13e')][_0x3266('0x107')],_0x10e3cd=_0x4ed84f['oldValue'];_0x1806f8[_0x3266('0x170')](_0x2cdf2f,_0x10e3cd);}else{if(_0x36f77b[_0x3266('0x98')](_0x4ed84f['key']))for(const _0x48226a of _0x52cada)void 0x0!==_0x4ed84f[_0x3266('0x15c')]?_0x1806f8['setAttribute'](_0x4ed84f[_0x3266('0x6')],_0x4ed84f[_0x3266('0x15c')],_0x48226a['start'][_0x3266('0x107')]):_0x1806f8[_0x3266('0x46')](_0x4ed84f[_0x3266('0x6')],_0x48226a[_0x3266('0x13e')]['nodeAfter']);else for(const _0x5d04d5 of _0x52cada)_0x4ed84f[_0x3266('0x15c')]?_0x1806f8[_0x3266('0x168')](_0x4ed84f[_0x3266('0x6')],_0x4ed84f['oldValue'],_0x5d04d5):_0x1806f8[_0x3266('0x46')](_0x4ed84f[_0x3266('0x6')],_0x5d04d5);}});}),this['_defaultCallbacks'][_0x3266('0x114')]('attribute:join',_0x1714f7);}}function Tt(_0x255211,_0x1b8a60,_0x3aa7eb){for(const _0x54cbdf of _0x1b8a60[_0x3266('0x7b')][_0x3266('0x57')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x54cbdf[_0x3266('0x117')]==_0x54cbdf)return!0x1;if(!_0x3aa7eb[_0x3266('0xbf')](_0x54cbdf))return!0x1;if(_0x255211[_0x3266('0x10b')](_0x54cbdf)||_0x255211[_0x3266('0xe3')](_0x54cbdf))return!0x0;}return!0x1;}function xt(_0x324960){return _0x324960[_0x3266('0x174')][_0x3266('0x7b')]==_0x324960['start']['nodeAfter']&&_0x324960[_0x3266('0x174')][_0x3266('0xe7')];}function Et(_0x3292be,_0xe23dd4,_0x265dc8,_0x368338){const _0x7b72d7=_0x3fad15=>!_0x3fad15['item']['is'](_0x3266('0x6f'))&&!_0x368338['isObject'](_0x3fad15[_0x3266('0x3a')]),_0x4c2937=_0x3292be['start'][_0x3266('0xf5')](_0x7b72d7),_0x2de816=_0x3292be[_0x3266('0x174')][_0x3266('0xf5')](_0x7b72d7,{'direction':_0x3266('0xe5')});return(!_0x3292be[_0x3266('0x13e')]['isEqual'](_0x4c2937)||!_0x3292be[_0x3266('0x174')][_0x3266('0x47')](_0x2de816))&&(_0x4c2937['isBefore'](_0x2de816)?_0x265dc8[_0x3266('0xbb')](_0xe23dd4,{'range':_0x265dc8['createRange'](_0x4c2937,_0x2de816)}):_0x265dc8[_0x3266('0x149')](_0xe23dd4),!0x0);}function Rt(_0x201861){return _0x2cbd9a(_0x201861);}function jt(_0x3fb337){const _0x3ce0a7=_0x3fb337[_0x3266('0x13e')][_0x3266('0x107')];return _0x3ce0a7&&_0x3ce0a7['is'](_0x3266('0x164'));}function Ut(_0x4425b4,_0x41f3ca){const _0x8eeb3d=_0x41f3ca[_0x3266('0xc3')][_0x3266('0x10b')](_0x4425b4)||_0x41f3ca['schema'][_0x3266('0x56')](_0x4425b4);return _0x41f3ca[_0x3266('0x45')](_0x41f3ca[_0x3266('0x61')](_0x4425b4,'before'),_0x8eeb3d?_0x41f3ca[_0x3266('0x108')](_0x4425b4):_0x41f3ca[_0x3266('0x61')](_0x4425b4,_0x3266('0x174')));}function Ot(_0x380481,_0x4701a9,_0x5793b0,_0x400c81,_0x43c260){if(!Vt(_0x380481,_0x4701a9))return!0x1;if(_0x5793b0[_0x3266('0x174')][_0x3266('0x47')](_0x400c81[_0x3266('0x13e')]))return!0x0;if(_0x380481['type']!=_0x4701a9[_0x3266('0x146')])return!0x1;if(!_0x5793b0[_0x3266('0x174')][_0x3266('0xfa')](_0x400c81[_0x3266('0x13e')]))return!0x1;const _0x39ebdd=_0x43c260[_0x3266('0x45')](_0x5793b0[_0x3266('0x174')],_0x400c81[_0x3266('0x13e')])[_0x3266('0x11b')]();for(const _0x209162 of _0x39ebdd)if(['elementStart',_0x3266('0x165')][_0x3266('0xc6')](_0x209162[_0x3266('0x146')])&&_0x43c260[_0x3266('0xc3')][_0x3266('0xe3')](_0x209162[_0x3266('0x3a')]))return!0x1;return!0x0;}function Vt(_0x73c8aa,_0x3e8158){return!(!_0x73c8aa['_isDataLoaded']||!_0x3e8158[_0x3266('0x131')])&&_0x828a1b(_0x73c8aa[_0x3266('0x169')],_0x3e8158[_0x3266('0x169')]);}function Gt(_0x41e303,_0x1175cf){const _0x5c4e06=Ft(_0x41e303['attributes']),_0x19ce58=Ft(_0x1175cf);if(!_0x41e303['_isDataLoaded'])return!0x1;for(const _0x465432 of Object[_0x3266('0xc2')](_0x19ce58))if(!_0x828a1b(_0x5c4e06[_0x465432],_0x19ce58[_0x465432]))return!0x1;return!0x0;}function Ft(_0x597160){const _0x56f3ea=Object[_0x3266('0xa7')]({},_0x597160);return delete _0x56f3ea[_0x3266('0xe6')],delete _0x56f3ea[_0x3266('0x31')],_0x56f3ea;}function Pt(_0x286ac0){return'attribute'==_0x286ac0['type']?_0x286ac0[_0x3266('0x11d')][_0x3266('0x99')]('|')[0x0]:null;}
|
|
23
|
+
const _0x5934=['markerReady','markers','some','TrackChangesEditing','every','always','FORMATTING','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.','markerName','then','dataReady','_processAttributeChanges','value','_getSuggestionData','isIntersecting','end','set','containsPosition','sort','root','markDeletion','range','addUser','listenTo','map','formatGroupId','_customCallbacks','_registerBlockAttribute','isLocal','_descriptionFactory','insertion:discard','rename','_onDiscard','addClass','keys','_editor','getCustomProperty','$text','startsWith','markerToHighlight','markInlineFormat','markMultiRangeBlockFormat','_initAriaMarkerChangeAnnouncements','getShiftedBy','$marker','_handleNewSuggestionMarker','discard','_commentsRepository','version','has','addMarker:suggestion:formatBlock','element','hasComments','author','enableReadOnlyMode','addRange','getAllAdjacentSuggestions','isDocumentOperation','rootName','isCollapsed','refresh','_adapter','collaboration.channelId','getIntersection','stopListening','attribute','acceptSelectedSuggestions','nodeAfter','toJSON','editor','consumable','_model','_getExternalAuthor','removeMarkers','get','ck-suggestion-marker--active','LEAVE','key','trackChanges.mergeNestedSuggestions','markerToData','_suggestionFactory','_breakSuggestionMarker','execute','_cutOutSuggestionMarker','marker-count','_suggestions','forEach','notReady','getMultiRangeId','getChangedMarkers','getItems','skipNestingCheck','setTo','hasSuggestion','createElement','isMultiRange','elementToElement','multipleBlocks','track-changes-command-not-found','pluginName','trackChanges.trackFormatChanges','getNearestSelectionRange','markAttributeChange','_addSuggestionMarker','concat','define','for','getAncestors','_joinSuggestions','_getAuthorFromId','fetchCommentThread','discardAllSuggestions','group','stop','remove','isInsideObject','deletion:discard','highest','createdAt','deleteContent','dataDowncast','getContainedElement','createSelection','insertContent','isLimit','tablePasteChainId','from','reconvertMarker','selection','editing','getRanges','enqueueChange','formatBlock:accept','getAttribute','updateMarker','document','_suggestionState','isBefore','_isBlockAttribute','_registerInlineAttribute','length','changeAttribute','multi','_splitMarkerName','addHighlight','commentThread','removeAttribute','locale','config','newRange','toUpperCase','filter','_inlineAttributeKeys','isAtEnd','splice','default','_mergeNestedSuggestions','never','addSuggestionData','warn','isAfter','markMultiRangeDeletion','containerElement','oldRange','mapper','isObject','track-changes-adapter-missing-getsuggestion','change:data','formatInline:discard','high','writer','substring','moveTargetPosition','bindElementToMarker','discardSuggestion','buildSuggestion','data','_registerDefaultCallbacks','_addThreadToSuggestion','applyOperation','newName','_checkSuggestionCorrectness','suggestionChanged','track-changes-user-not-found','isBlock','PENDING_ACTION_SUGGESTION','createRangeIn','getFirstMarker','after','addCommentThread','_recordAttributeChanges','insertion:chain','start','_processAttributeSuggestions','createPositionAfter','suggestionUnloaded','_setSuggestionData','addMarker:suggestion','accept','formatBlock:join','_updateSuggestionData','values','_blockAttributeKeys','plugins','setSelection','_reduceSuggestionAttributeRange','change','split','getOperations','push','commands','parent','suggestion:','updateSuggestion','format','addMarker:suggestion:attribute','acceptSuggestion','commandName','nodeBefore','track-changes-suggestion-not-found','track-changes-suggestion-data-mismatch','howMany','data-suggestion','markerNameToElements','open','trackChangesCommand','suggestion','editingDowncast','$graveyard','_removeSuggestion','getSuggestions','requires','history','name','substr','chain','$elementName','rethrowUnexpectedError','_findSuggestions','previous','markBlockFormat','registerPostFixer','creator','hasCommentThread','oldValue','PendingActions','addSuggestion','_recordAttributeSuggestionsFromVersion','CommentsRepository','options','clone','_refreshAttributeSuggestionsChain','enableCommand','isRemovable','_isForcedDefaultExecutionBlock','_saved','targetPosition','find','unbind','containsRange','groupId','_defaultCallbacks','isOwn','announce','init','deletion','acceptAllSuggestions','attribute:join','assign','formatInline','getDifference','fire','isTouching','addMarker','error-saving-suggestion-data-suggestion-discarded','deletion:','toViewElement','head','conversion','suggestion-type','setAttribute','_isDataLoaded','_rangeIsInLocalUserInsertion','isEqual','discardSelectedSuggestions','insertion','size','getChanges','getLastMatchingPosition','isUndo','unshift','formatInline:chain','removeComment','isNextTo','formatBlock:chain','type','next','insertion:','differ','item','Users','unbindElementFromMarkerName','isIntersectingWithRange','forceDefaultExecution','update:suggestion','ck-suggestion-marker','upcast','_joinWithAdjacentSuggestions','_setSuggestionRange','_refreshSuggestionsChain','getSuggestion','removeMarker','attribute:accept','authoredAt','elementStart','createPositionAt','registerCustomCallback','_createSuggestion','meta','getWalker','ariaLiveAnnouncer','getFirstRange','_reduceExistingSuggestions','suggestionLoaded','consume','join','model','markInsertion','formatBlock','attributeOldValue','@external','schema','_enabledCommands','low','containsRangeInObject','isInContent','move','removed','dataToMarker','removeClass','removeMarker:suggestion:attribute','createRange','return','ck-suggestion-marker-formatBlock','position','createRangeOn','add','isAtStart','insert','getCommentThread','batch','addMarkerName','fromCharCode','showSuggestionHighlights','comments','_getMarkerAnnouncementText','formatInline:','attributes','ready','adapter','_SUGGESTION_ANNOUNCEMENT','detach','delete','activeMarkers','getSuggestionCallback','subType','trackChanges','_trackFormatChanges','getMarkers','newValue','backward','includes','originalSuggestionId'];(function(_0x77db7d,_0x593442){const _0x17aa03=function(_0x2b0d03){while(--_0x2b0d03){_0x77db7d['push'](_0x77db7d['shift']());}};_0x17aa03(++_0x593442);}(_0x5934,0x83));const _0x17aa=function(_0x77db7d,_0x593442){_0x77db7d=_0x77db7d-0x0;let _0x17aa03=_0x5934[_0x77db7d];return _0x17aa03;};import{Plugin as _0x200752,PendingActions as _0x2abbcb}from'ckeditor5/src/core';import{LiveRange as _0x19b7af}from'ckeditor5/src/engine';import{CKEditorError as _0x2b4c41,uid as _0x5a23e6,priorities as _0x2c3d92,logWarning as _0x4e3dc4}from'ckeditor5/src/utils';import{toWidget as _0x5140f4}from'ckeditor5/src/widget';import{Users as _0x133f85,hashObject as _0x51a959,surroundingMarkersDetector as _0x4884b6}from'ckeditor5-collaboration/src/collaboration-core';import _0x23dc9b from'./commands/trackchangescommand';import _0x300d47 from'./commands/acceptsuggestioncommand';import _0x5e6f08 from'./commands/discardsuggestioncommand';import _0x513375 from'./commands/executeonallsuggestionscommand';import _0x24395e from'./commands/executeonselectedsuggestionscommand';import _0x4fbbf1 from'./suggestion';import _0x43a7ec from'./suggestiondescriptionfactory';import _0x2db6e3 from'./integrations/aiassistant';import _0x412d46 from'./integrations/alignment';import _0x358bf3 from'./integrations/basicstyles';import _0x3934e9 from'./integrations/blockquote';import _0x3b422d from'./integrations/ckbox';import _0x377096 from'./integrations/codeblock';import _0x18d793 from'./integrations/comments';import _0x1af23e from'./integrations/deletecommand';import _0x2f1cfd from'./integrations/documentlist';import _0x51e221 from'./integrations/documentlistproperties';import _0x4480ea from'./integrations/entercommand';import _0x55bbb4 from'./integrations/findandreplace';import _0x4e59a9 from'./integrations/font';import _0x28ae32 from'./integrations/formatpainter';import _0x120ddc from'./integrations/heading';import _0xb76bad from'./integrations/highlight';import _0x2399f5 from'./integrations/horizontalline';import _0x2317b4 from'./integrations/htmlembed';import _0x4237a9 from'./integrations/image';import _0x398a18 from'./integrations/imagereplace';import _0x178302 from'./integrations/imagestyle';import _0x51d706 from'./integrations/importword';import _0x21eff9 from'./integrations/indent';import _0x2db45b from'./integrations/inputcommand';import _0x4a6c4a from'./integrations/link';import _0x24ba6a from'./integrations/list';import _0x1c2380 from'./integrations/listproperties';import _0x686996 from'./integrations/mediaembed';import _0x320bbb from'./integrations/mention';import _0x599a8f from'./integrations/pagebreak';import _0x1a86fb from'./integrations/paragraph';import _0x397081 from'./integrations/removeformat';import _0x418889 from'./integrations/restrictededitingmode';import _0xc60a72 from'./integrations/shiftentercommand';import _0x5c3102 from'./integrations/standardeditingmode';import _0x5871d2 from'./integrations/style';import _0x3870f3 from'./integrations/table';import _0x1a03fc from'./integrations/tablemergesplit';import _0x53e12c from'./integrations/tableheadings';import _0x2f67e5 from'./integrations/tableclipboard';import _0x5769cb from'./integrations/tablecolumnresize';import _0x3cac35 from'./integrations/template';import _0x8fcc5f from'./integrations/tableofcontents';import _0x271967 from'./integrations/title';import _0x1b15d8 from'./integrations/undo';import _0x143748 from'./integrations/tablecaption';import _0x1ae93e from'./integrations/tableproperties';import{getTranslation as _0x1fa411}from'./utils/common-translations';import{isEqual as _0x466072,omit as _0x5edd12}from'lodash-es';export const renameAttributeKey=_0x17aa('0x69');export default class p extends _0x200752{static get[_0x17aa('0x64')](){return[_0x17aa('0x75'),_0x133f85,_0x2abbcb,_0x2db6e3,_0x412d46,_0x358bf3,_0x3934e9,_0x3b422d,_0x377096,_0x18d793,_0x1af23e,_0x2f1cfd,_0x51e221,_0x4480ea,_0x55bbb4,_0x4e59a9,_0x28ae32,_0x120ddc,_0xb76bad,_0x2399f5,_0x2317b4,_0x4237a9,_0x178302,_0x398a18,_0x51d706,_0x21eff9,_0x2db45b,_0x4a6c4a,_0x24ba6a,_0x1c2380,_0x686996,_0x320bbb,_0x599a8f,_0x1a86fb,_0x397081,_0x418889,_0xc60a72,_0x5c3102,_0x5871d2,_0x3870f3,_0x1a03fc,_0x53e12c,_0x143748,_0x2f67e5,_0x5769cb,_0x8fcc5f,_0x1ae93e,_0x3cac35,_0x271967,_0x1b15d8];}static get[_0x17aa('0x155')](){return _0x17aa('0xf5');}constructor(_0x3c74f3){function _0x4e7db1(_0x376414){return _0x376414[_0x17aa('0x10a')](_0x213388=>String[_0x17aa('0xdd')](_0x213388))[_0x17aa('0xc2')]('');}super(_0x3c74f3),this[_0x17aa('0x74')]=null,this[_0x17aa('0x102')](_0x17aa('0xe8'),[]),this['on']('change:activeMarkers',(_0x142361,_0x1d6d6b,_0x3c9209,_0x461ddb)=>{this[_0x17aa('0x139')][_0x17aa('0x4b')](()=>{for(const _0x5907ed of[..._0x461ddb,..._0x3c9209])this['_model'][_0x17aa('0xf3')]['has'](_0x5907ed)&&_0x3c74f3[_0x17aa('0x173')][_0x17aa('0x171')](_0x5907ed);});}),this[_0x17aa('0x10f')]=new _0x43a7ec(this['editor'][_0x17aa('0xc3')]['schema'],this[_0x17aa('0x137')][_0x17aa('0x10')]),this[_0x17aa('0x12f')]=null,this[_0x17aa('0x142')]=new Bt(this[_0x17aa('0x137')]),this[_0x17aa('0x147')]=new Map(),this['_commentsRepository']=_0x3c74f3['plugins']['get'](_0x17aa('0x75')),this[_0x17aa('0xc9')]=new Set(),this[_0x17aa('0x139')]=this[_0x17aa('0x137')][_0x17aa('0xc3')],this[_0x17aa('0x5')]=new WeakMap(),this[_0x17aa('0x7b')]=!0x1,this[_0x17aa('0x47')]=new Set([_0x17aa('0x69')]),this[_0x17aa('0x15')]=new Set(),_0x3c74f3['config'][_0x17aa('0x15b')](_0x17aa('0x156'),'default'),this[_0x17aa('0xec')]=_0x3c74f3[_0x17aa('0x11')][_0x17aa('0x13c')](_0x17aa('0x156')),_0x3c74f3[_0x17aa('0x11')][_0x17aa('0x15b')](_0x17aa('0x140'),!0x0),this[_0x17aa('0x19')]=_0x3c74f3[_0x17aa('0x11')][_0x17aa('0x13c')](_0x17aa('0x140')),this[_0x17aa('0x5e')]=new _0x23dc9b(_0x3c74f3,this[_0x17aa('0xc9')]),this[_0x17aa('0x11c')](),this[_0x4e7db1([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4e7db1([0x34,0x30,0x34,0x36,0x32,0x34,0x31,0x30]);}[_0x17aa('0x85')](){const _0x531486=this[_0x17aa('0x137')],_0x2543db=(_0x37c9a6,_0x699047)=>{if('attribute'!=_0x37c9a6)return'ck-suggestion-marker-'+_0x37c9a6;const _0x2fe0c0=_0x699047[_0x17aa('0x4c')]('|')[0x0];return this[_0x17aa('0x7')](_0x2fe0c0)?_0x17aa('0xd4'):'ck-suggestion-marker-formatInline';};_0x531486['conversion'][_0x17aa('0x15c')](_0x17aa('0x60'))['markerToHighlight']({'model':'suggestion','view':_0x554054=>{const {id:_0x59ce4b,type:_0x44288f,subType:_0x46dc6b}=this[_0x17aa('0xc')](_0x554054[_0x17aa('0xfa')]),_0x472eff=[_0x17aa('0xae'),_0x2543db(_0x44288f,_0x46dc6b)];let _0xda117d=0xbb8;return this[_0x17aa('0xe8')][_0x17aa('0xf0')](_0x554054[_0x17aa('0xfa')])&&(_0x472eff['push']('ck-suggestion-marker--active'),_0xda117d=0xbc2),_0x17aa('0x86')==_0x44288f&&(_0xda117d+=0x5),{'classes':_0x472eff,'attributes':{'data-suggestion':_0x59ce4b},'priority':_0xda117d};}}),_0x531486[_0x17aa('0x93')][_0x17aa('0x15c')](_0x17aa('0x16a'))[_0x17aa('0xd7')](_0x362fe8=>{_0x362fe8['on'](_0x17aa('0x42'),(_0x54d96e,_0x2563a2,_0x3b3f2d)=>{if(!_0x3b3f2d[_0x17aa('0x76')][_0x17aa('0xde')])return;const _0x2a4ec1=_0x2563a2[_0x17aa('0xa8')];if(!_0x2a4ec1)return;const _0x52a218=_0x3b3f2d[_0x17aa('0x21')][_0x17aa('0x91')](_0x2a4ec1);_0x531486[_0x17aa('0xc3')][_0x17aa('0xc8')][_0x17aa('0x22')](_0x2a4ec1)&&_0x52a218&&!_0x52a218[_0x17aa('0x116')]('widget')&&_0x52a218['is'](_0x17aa('0x1f'))&&_0x5140f4(_0x52a218,_0x3b3f2d['writer']);},{'priority':'high'});}),_0x531486[_0x17aa('0x93')]['for'](_0x17aa('0x16a'))[_0x17aa('0x119')]({'model':'suggestion','view':(_0x560429,_0x21ede2)=>{if(!_0x21ede2[_0x17aa('0x76')][_0x17aa('0xde')])return null;const {type:_0xfe3663,subType:_0xf6bb}=this['_splitMarkerName'](_0x560429[_0x17aa('0xfa')]);return{'classes':[_0x17aa('0xae'),_0x2543db(_0xfe3663,_0xf6bb)],'priority':0xbb8};}});const _0x5db15a=({showActiveMarkers:_0x15dd1d=!0x0,isAttributeSuggestion:_0x1d114c=!0x1}={})=>(_0x1299fb,_0x3c05be,_0x537446)=>{if(!_0x3c05be['item'])return;const {id:_0x1fb6c3}=this[_0x17aa('0xc')](_0x3c05be['markerName']);if(_0x1d114c){const _0x34ab31=Pt(this['_suggestions'][_0x17aa('0x13c')](_0x1fb6c3));if(!this['_isBlockAttribute'](_0x34ab31))return;}if(_0x3c05be[_0x17aa('0xa8')]['is']('selection'))return void _0x537446[_0x17aa('0x138')][_0x17aa('0xc1')](_0x3c05be[_0x17aa('0xa8')],_0x1299fb[_0x17aa('0x66')]);const _0x467432=_0x537446[_0x17aa('0x21')][_0x17aa('0x91')](_0x3c05be[_0x17aa('0xa8')]);if(_0x3c05be[_0x17aa('0xa8')]['is'](_0x17aa('0x125'))&&_0x531486[_0x17aa('0xc3')][_0x17aa('0xc8')][_0x17aa('0x35')](_0x3c05be['item'])&&!_0x467432[_0x17aa('0x116')]('addHighlight')){_0x537446[_0x17aa('0x27')][_0x17aa('0x113')]([_0x17aa('0xae'),'ck-suggestion-marker-formatBlock'],_0x467432),_0x537446[_0x17aa('0x27')][_0x17aa('0x95')](_0x17aa('0x5b'),_0x1fb6c3,_0x467432),_0x537446[_0x17aa('0x21')][_0x17aa('0x2a')](_0x467432,_0x3c05be['markerName']),_0x15dd1d&&(this[_0x17aa('0xe8')][_0x17aa('0xf0')](_0x3c05be[_0x17aa('0xfa')])?_0x537446[_0x17aa('0x27')][_0x17aa('0x113')](_0x17aa('0x13d'),_0x467432):_0x537446[_0x17aa('0x27')]['removeClass']('ck-suggestion-marker--active',_0x467432));for(const _0x36f97d of _0x531486['model'][_0x17aa('0x37')](_0x3c05be[_0x17aa('0xa8')])[_0x17aa('0x14c')]())_0x537446['consumable'][_0x17aa('0xc1')](_0x36f97d,_0x1299fb[_0x17aa('0x66')]);_0x537446[_0x17aa('0x138')][_0x17aa('0xc1')](_0x3c05be[_0x17aa('0xa8')],_0x1299fb[_0x17aa('0x66')]);}};_0x531486[_0x17aa('0x93')][_0x17aa('0x15c')]('dataDowncast')[_0x17aa('0xd7')](_0x528b31=>{_0x528b31['on']('addMarker:suggestion:formatBlock',(_0x39fc76,_0x3d2470,_0x2c2aec)=>{_0x2c2aec[_0x17aa('0x76')][_0x17aa('0xde')]&&_0x5db15a({'showActiveMarkers':!0x1})(_0x39fc76,_0x3d2470,_0x2c2aec);},{'priority':_0x17aa('0x167')});}),_0x531486['conversion'][_0x17aa('0x15c')](_0x17aa('0x16a'))[_0x17aa('0xd7')](_0x1d32be=>{_0x1d32be['on'](_0x17aa('0x54'),(_0x2a035d,_0x2ba538,_0x1ab4a7)=>{_0x1ab4a7[_0x17aa('0x76')][_0x17aa('0xde')]&&_0x5db15a({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x2a035d,_0x2ba538,_0x1ab4a7);},{'priority':_0x17aa('0x167')});}),_0x531486[_0x17aa('0x93')][_0x17aa('0x15c')](_0x17aa('0x16a'))[_0x17aa('0x141')]({'model':_0x17aa('0x5f'),'view':(_0x50c566,_0x113224)=>_0x113224['options']['showSuggestionHighlights']?null:{'group':_0x17aa('0x5f'),'name':_0x50c566[_0x17aa('0x67')](0xb)}}),_0x531486[_0x17aa('0x93')]['for'](_0x17aa('0xaf'))[_0x17aa('0x152')]({'view':{'name':_0x17aa('0x5f'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x269b71,{writer:_0x2d8100})=>{let _0x2d4172=_0x17aa('0x51')+_0x269b71[_0x17aa('0x2')](_0x17aa('0x94'))+':'+_0x269b71[_0x17aa('0x2')]('id');return _0x269b71['getAttribute'](_0x17aa('0x146'))&&(_0x2d4172+=':'+_0x269b71[_0x17aa('0x2')](_0x17aa('0x146'))),_0x2d8100[_0x17aa('0x150')](_0x17aa('0x11e'),{'data-name':_0x2d4172});}}),_0x531486[_0x17aa('0x93')][_0x17aa('0x15c')](_0x17aa('0xaf'))[_0x17aa('0xcf')]({'view':_0x17aa('0x5f')}),_0x531486['conversion'][_0x17aa('0x15c')](_0x17aa('0x60'))[_0x17aa('0xd7')](_0x437de7=>{_0x437de7['on'](_0x17aa('0x124'),_0x5db15a(),{'priority':_0x17aa('0x26')});}),_0x531486['conversion'][_0x17aa('0x15c')](_0x17aa('0x60'))[_0x17aa('0xd7')](_0x3de041=>{_0x3de041['on']('addMarker:suggestion:attribute',_0x5db15a({'isAttributeSuggestion':!0x0}),{'priority':_0x17aa('0x26')});}),_0x531486[_0x17aa('0x93')]['for'](_0x17aa('0x60'))[_0x17aa('0xd7')](_0x397375=>{_0x397375['on']('removeMarker:suggestion:formatBlock',(_0x28b94b,_0x3bf504,_0xfb24ea)=>{const _0x46fb14=_0xfb24ea['mapper'][_0x17aa('0x5c')](_0x3bf504[_0x17aa('0xfa')]);if(_0x46fb14)for(const _0x6ed05f of _0x46fb14)_0x6ed05f['getCustomProperty'](_0x17aa('0xd'))||(_0xfb24ea['writer'][_0x17aa('0xd0')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x6ed05f),_0xfb24ea['writer'][_0x17aa('0xf')](_0x17aa('0x5b'),_0x6ed05f),_0xfb24ea['mapper']['unbindElementFromMarkerName'](_0x6ed05f,_0x3bf504[_0x17aa('0xfa')]));},{'priority':_0x17aa('0x26')});}),_0x531486[_0x17aa('0x93')]['for'](_0x17aa('0x60'))[_0x17aa('0xd7')](_0x31462b=>{_0x31462b['on'](_0x17aa('0xd1'),(_0x435683,_0x5091d3,_0x3dd90e)=>{const _0x3009ce=_0x3dd90e['mapper'][_0x17aa('0x5c')](_0x5091d3[_0x17aa('0xfa')]);if(!_0x3009ce)return;const {id:_0x40c404}=this[_0x17aa('0xc')](_0x5091d3['markerName']),_0x113412=Pt(this[_0x17aa('0x147')][_0x17aa('0x13c')](_0x40c404));if(this[_0x17aa('0x7')](_0x113412))for(const _0xa1acdf of _0x3009ce)_0xa1acdf['getCustomProperty'](_0x17aa('0xd'))||(_0x3dd90e['writer'][_0x17aa('0xd0')]([_0x17aa('0xae'),_0x17aa('0xd4'),'ck-suggestion-marker--active'],_0xa1acdf),_0x3dd90e[_0x17aa('0x27')][_0x17aa('0xf')](_0x17aa('0x5b'),_0xa1acdf),_0x3dd90e[_0x17aa('0x21')][_0x17aa('0xaa')](_0xa1acdf,_0x5091d3[_0x17aa('0xfa')]));},{'priority':'high'});}),_0x531486[_0x17aa('0xc3')][_0x17aa('0x4')]['registerPostFixer'](_0x32ccc3=>{let _0x2a09b5=!0x1;const _0x21e538=Array[_0x17aa('0x170')](_0x531486['model'][_0x17aa('0x4')][_0x17aa('0xa7')]['getChangedMarkers']()),_0x595f3d=new Set();for(const {name:_0x266457,data:_0x54108e}of _0x21e538){const {group:_0x568aef,type:_0x3e954b,subType:_0x1b4296,id:_0x17bd3f}=this[_0x17aa('0xc')](_0x266457);if('suggestion'!==_0x568aef)continue;const _0x73bc7=this[_0x17aa('0x147')][_0x17aa('0x13c')](_0x17bd3f);if(null!=_0x54108e['newRange']){_0x17aa('0x8a')==_0x3e954b&&(_0x2a09b5=_0x2a09b5||Et(_0x54108e['newRange'],_0x266457,_0x32ccc3,_0x531486[_0x17aa('0xc3')]['schema']));const _0x1d5555=_0x17aa('0x133')==_0x3e954b&&this[_0x17aa('0x7')](_0x1b4296[_0x17aa('0x4c')]('|')[0x0]);if(_0x54108e[_0x17aa('0x12')][_0x17aa('0x12d')]||_0x17aa('0x61')==_0x54108e['newRange'][_0x17aa('0x105')][_0x17aa('0x12c')]||_0x17aa('0xc5')==_0x3e954b&&!jt(_0x54108e[_0x17aa('0x12')])||_0x1d5555&&!jt(_0x54108e[_0x17aa('0x12')])||_0x17aa('0x86')==_0x3e954b&&!(!xt(_0x490b4e=_0x54108e[_0x17aa('0x12')])&&!function(_0x497e6b){return _0x497e6b[_0x17aa('0x3d')][_0x17aa('0x50')]==_0x497e6b['end'][_0x17aa('0x57')]&&_0x497e6b[_0x17aa('0x3d')][_0x17aa('0x16')];}(_0x490b4e)))_0x32ccc3['removeMarker'](_0x266457),_0x2a09b5=!0x0;else{if(!_0x73bc7||!_0x73bc7[_0x17aa('0xcc')])continue;_0x595f3d[_0x17aa('0xd7')](_0x73bc7);}}}var _0x490b4e;return _0x595f3d[_0x17aa('0x9b')]>0x0&&(_0x2a09b5=!!this[_0x17aa('0xb0')](_0x595f3d)||_0x2a09b5),_0x2a09b5;}),_0x531486['model'][_0x17aa('0x4')][_0x17aa('0x6e')](_0x6d474c=>{let _0x2cf677=!0x1;for(const _0x3cc048 of _0x531486[_0x17aa('0xc3')][_0x17aa('0x4')][_0x17aa('0xa7')][_0x17aa('0x9c')]())if(_0x17aa('0xd9')==_0x3cc048[_0x17aa('0xa4')])for(const _0x531b3a of this[_0x17aa('0x147')][_0x17aa('0x46')]()){if(_0x531b3a['isMultiRange']||!_0x531b3a[_0x17aa('0xcc')])continue;const _0x429efb=_0x17aa('0xc5')==_0x531b3a[_0x17aa('0xa4')],_0x5131e3=Pt(_0x531b3a),_0x3f9b36=_0x5131e3&&this[_0x17aa('0x7')](_0x5131e3);if(!_0x429efb&&!_0x3f9b36)continue;const _0x44949f=_0x531b3a['getFirstRange']();if(_0x44949f[_0x17aa('0x3d')]['parent']!=_0x44949f[_0x17aa('0x101')]['parent']&&!_0x44949f['end'][_0x17aa('0x16')]){const _0x3fb091=_0x531486[_0x17aa('0xc3')][_0x17aa('0xb8')](_0x44949f[_0x17aa('0x3d')][_0x17aa('0x135')],'end'),_0x2a3305=_0x531486[_0x17aa('0xc3')][_0x17aa('0xd2')](_0x44949f[_0x17aa('0x3d')],_0x3fb091);_0x6d474c[_0x17aa('0x3')](_0x531b3a[_0x17aa('0x38')](),{'range':_0x2a3305}),_0x2cf677=!0x0;}}return _0x2cf677;}),_0x531486['model'][_0x17aa('0x4')][_0x17aa('0x6e')](_0x17f5f8=>this[_0x17aa('0xfd')](_0x17f5f8)),_0x531486['model'][_0x17aa('0x4')][_0x17aa('0x6e')](_0x411402=>!_0x411402['batch']['isLocal']&&this[_0x17aa('0x3e')](_0x411402)),_0x531486['model'][_0x17aa('0xf3')]['on'](_0x17aa('0xad'),(_0x8012a2,_0x13405b,_0xa7233d)=>{if(null==_0xa7233d){const {id:_0x265a24}=this['_splitMarkerName'](_0x13405b[_0x17aa('0x66')]),_0x1dec17=this[_0x17aa('0x147')][_0x17aa('0x13c')](_0x265a24);_0x1dec17&&_0x1dec17['addMarkerName'](_0x13405b['name']);}}),_0x531486['model'][_0x17aa('0x4')]['on'](_0x17aa('0x24'),()=>{const _0xdce08=Array[_0x17aa('0x170')](_0x531486[_0x17aa('0xc3')][_0x17aa('0x4')]['differ'][_0x17aa('0x14b')]())['filter'](_0x3bdbc4=>'suggestion'===this[_0x17aa('0xc')](_0x3bdbc4[_0x17aa('0x66')])[_0x17aa('0x162')]);if(0x0===_0xdce08[_0x17aa('0x9')])return;_0xdce08['sort']((_0x4d002a,_0x557e37)=>{const _0x5328ff=_0x4d002a[_0x17aa('0x2d')]['oldRange'],_0x196af6=_0x557e37[_0x17aa('0x2d')][_0x17aa('0x20')];return null===_0x5328ff&&null===_0x196af6?0x0:null===_0x5328ff&&null!==_0x196af6?-0x1:null!==_0x5328ff&&null===_0x196af6?0x1:_0x5328ff[_0x17aa('0x3d')][_0x17aa('0x6')](_0x196af6[_0x17aa('0x3d')])?-0x1:0x1;});const _0x37e634=new Set(),_0x1eb5a3=new Set();for(const {name:_0x543099,data:_0xe869f4}of _0xdce08){const {id:_0x2df461}=this[_0x17aa('0xc')](_0x543099);if(null===_0xe869f4[_0x17aa('0x20')]){const _0x3549eb=this[_0x17aa('0x11f')](_0x543099);_0x1eb5a3[_0x17aa('0xd7')](_0x3549eb);}else{const _0x1d26fd=this[_0x17aa('0x147')]['get'](_0x2df461);null!==_0xe869f4['newRange']||_0x1d26fd[_0x17aa('0xcc')]?(_0x37e634[_0x17aa('0xd7')](_0x1d26fd[_0x17aa('0x92')]),_0x1eb5a3[_0x17aa('0xd7')](_0x1d26fd)):this[_0x17aa('0x62')](_0x1d26fd);}}_0x1eb5a3[_0x17aa('0x9b')]>0x0&&this[_0x17aa('0xb2')](_0x1eb5a3);for(const _0x5c3143 of _0x37e634)this['fire'](_0x17aa('0x33'),_0x5c3143);}),_0x531486['model']['on'](_0x17aa('0x30'),(_0xe1b3d0,_0x522ed1)=>{const _0x46dcb6=_0x522ed1[0x0];if(!this['_suggestions'][_0x17aa('0x9b')])return;if(!_0x46dcb6[_0x17aa('0x12b')])return;if(_0x46dcb6[_0x17aa('0xdb')][_0x17aa('0x9e')]||!_0x46dcb6[_0x17aa('0xdb')][_0x17aa('0x10e')])return;let _0x57922e,_0x573399;switch(_0x46dcb6['type']){case _0x17aa('0xd9'):_0x57922e=_0x531486[_0x17aa('0xc3')]['createPositionAt'](_0x46dcb6['position']),_0x573399=_0x57922e['getShiftedBy'](_0x46dcb6[_0x17aa('0x5a')]);break;case'split':_0x57922e=_0x531486[_0x17aa('0xc3')][_0x17aa('0xb8')](_0x46dcb6['splitPosition']),_0x573399=_0x531486['model'][_0x17aa('0xb8')](_0x46dcb6[_0x17aa('0x29')]);break;case _0x17aa('0xcd'):_0x57922e=_0x531486[_0x17aa('0xc3')][_0x17aa('0xb8')](_0x46dcb6[_0x17aa('0x7d')]),_0x573399=_0x57922e[_0x17aa('0x11d')](_0x46dcb6['howMany']);break;default:return;}const _0xde5a3c=_0x531486[_0x17aa('0xc3')][_0x17aa('0xd2')](_0x57922e,_0x573399);_0x531486[_0x17aa('0xc3')]['change'](()=>{for(const {suggestion:_0x205805,meta:_0x5654cd}of this[_0x17aa('0x6b')](_0xde5a3c)){if(_0x205805['isMultiRange'])continue;if(_0x17aa('0x8a')==_0x205805[_0x17aa('0xa4')])continue;const _0x133b2b=Pt(_0x205805);if(_0x133b2b&&this[_0x17aa('0x7')](_0x133b2b)&&_0x17aa('0x4c')!=_0x46dcb6[_0x17aa('0xa4')])continue;const _0xab8ff0=_0x205805[_0x17aa('0x2d')]&&_0x205805[_0x17aa('0x2d')]['multipleBlocks'];(_0x17aa('0xc5')!=_0x205805[_0x17aa('0xa4')]||_0x17aa('0x4c')==_0x46dcb6[_0x17aa('0xa4')]&&!_0xab8ff0)&&(_0x5654cd['containsRangeInObject']||_0x17aa('0x9a')==_0x205805['type']&&_0x5654cd[_0x17aa('0x83')]||_0x205805[_0x17aa('0xbe')]()[_0x17aa('0x80')](_0xde5a3c)&&this[_0x17aa('0x143')](_0x205805,_0x57922e,_0x573399));}});},{'priority':'lowest'}),_0x531486[_0x17aa('0xc3')]['on'](_0x17aa('0x169'),(_0x36df04,_0x1a8779)=>{const _0x5cbae3=_0x1a8779[0x0],_0x15e019=_0x1a8779[0x1];if(_0x15e019&&_0x15e019[_0x17aa('0xac')])return;if(this[_0x17aa('0x7b')])return;if(!this[_0x17aa('0x5e')][_0x17aa('0xfe')])return;if(_0x5cbae3[_0x17aa('0x12d')])return;const _0x20e53a=_0x531486[_0x17aa('0xc3')]['schema'],{start:_0x33664f,end:_0x4dfeaa}=_0x5cbae3[_0x17aa('0xbe')](),_0x41fd9c=_0x33664f[_0x17aa('0x135')]&&_0x20e53a[_0x17aa('0x16e')](_0x33664f[_0x17aa('0x135')])?null:_0x20e53a['getNearestSelectionRange'](_0x33664f,'forward'),_0x11c0be=_0x4dfeaa['nodeBefore']&&_0x20e53a[_0x17aa('0x16e')](_0x4dfeaa[_0x17aa('0x57')])?null:_0x20e53a[_0x17aa('0x157')](_0x4dfeaa,'backward'),_0x4a2272=_0x531486[_0x17aa('0xc3')][_0x17aa('0xd2')](_0x41fd9c?_0x41fd9c[_0x17aa('0x3d')]:_0x33664f,_0x11c0be?_0x11c0be[_0x17aa('0x101')]:_0x4dfeaa);_0x531486[_0x17aa('0xc3')][_0x17aa('0x4b')](_0x4eedf5=>{this[_0x17aa('0x106')](_0x4a2272);const _0x387cf8=_0x531486[_0x17aa('0xc3')][_0x17aa('0xc8')][_0x17aa('0x157')](_0x4a2272['start']);_0x5cbae3['is']('documentSelection')?_0x4eedf5[_0x17aa('0x49')](_0x387cf8):_0x5cbae3[_0x17aa('0x14e')](_0x387cf8);}),_0x36df04[_0x17aa('0x163')]();},{'priority':_0x2c3d92['normal']+0xa}),_0x531486[_0x17aa('0xc3')]['on'](_0x17aa('0x16d'),(_0x2e2ce8,_0xc2546a)=>{const _0x186d80=_0xc2546a[_0xc2546a[_0x17aa('0x9')]-0x1];_0x186d80&&_0x186d80[_0x17aa('0xac')]||this[_0x17aa('0x7b')]||this[_0x17aa('0x5e')][_0x17aa('0xfe')]&&(_0x531486[_0x17aa('0xc3')][_0x17aa('0x4b')](()=>{let _0x27f957=_0x531486[_0x17aa('0xc3')][_0x17aa('0x16d')](_0xc2546a[0x0],_0xc2546a[0x1],_0xc2546a[0x2],{'forceDefaultExecution':!0x0});if(!_0x27f957)return;_0x2e2ce8['return']=_0x27f957[_0x17aa('0x77')]();const _0x19b4cf=_0x27f957['end'][_0x17aa('0x57')],_0x1dbdef=_0x531486[_0x17aa('0xc3')][_0x17aa('0xc8')];_0x19b4cf&&_0x1dbdef[_0x17aa('0x35')](_0x19b4cf)&&!_0x1dbdef[_0x17aa('0x22')](_0x19b4cf)&&(_0x27f957=_0x531486['model'][_0x17aa('0xd2')](_0x27f957[_0x17aa('0x3d')],_0x531486[_0x17aa('0xc3')][_0x17aa('0xb8')](_0x19b4cf,'end'))),this['markInsertion'](_0x27f957);}),_0x2e2ce8[_0x17aa('0x163')]());},{'priority':_0x17aa('0x26')}),this[_0x17aa('0x137')][_0x17aa('0x4f')][_0x17aa('0xd7')]('trackChanges',this[_0x17aa('0x5e')]),this[_0x17aa('0x79')](_0x17aa('0xeb'));const _0x7d8050=new _0x300d47(_0x531486,this[_0x17aa('0x147')]);_0x531486[_0x17aa('0x4f')]['add'](_0x17aa('0x55'),_0x7d8050),this[_0x17aa('0x79')]('acceptSuggestion');const _0x5da97a=new _0x5e6f08(_0x531486,this[_0x17aa('0x147')]);_0x531486[_0x17aa('0x4f')][_0x17aa('0xd7')](_0x17aa('0x2b'),_0x5da97a),this[_0x17aa('0x79')](_0x17aa('0x2b')),_0x531486[_0x17aa('0x4f')]['add']('acceptAllSuggestions',new _0x513375(_0x531486,_0x7d8050,this[_0x17aa('0x147')])),this[_0x17aa('0x79')](_0x17aa('0x87')),_0x531486['commands'][_0x17aa('0xd7')]('discardAllSuggestions',new _0x513375(_0x531486,_0x5da97a,this[_0x17aa('0x147')])),this['enableCommand'](_0x17aa('0x161')),_0x531486[_0x17aa('0x4f')][_0x17aa('0xd7')](_0x17aa('0x134'),new _0x24395e(_0x531486,_0x7d8050,this[_0x17aa('0x147')])),this['enableCommand'](_0x17aa('0x134')),_0x531486[_0x17aa('0x4f')]['add']('discardSelectedSuggestions',new _0x24395e(_0x531486,_0x5da97a,this[_0x17aa('0x147')])),this[_0x17aa('0x79')](_0x17aa('0x99'));const _0x11a07d=_0x531486[_0x17aa('0x48')][_0x17aa('0x13c')](_0x17aa('0x75'));this['listenTo'](_0x11a07d,'addComment',(_0x2b9230,{threadId:_0x51790c})=>{const _0x1f4ea4=this['_suggestions'][_0x17aa('0x13c')](_0x51790c);_0x1f4ea4&&_0x1f4ea4[_0x17aa('0xe')]&&0x1===_0x1f4ea4['commentThread'][_0x17aa('0x9')]&&this[_0x17aa('0x45')](_0x51790c,{'hasComments':!0x0});},{'priority':'low'}),this[_0x17aa('0x109')](_0x11a07d,_0x17aa('0xa1'),(_0x328e40,{threadId:_0x4d9ead})=>{const _0x3665f4=this[_0x17aa('0x147')][_0x17aa('0x13c')](_0x4d9ead);_0x3665f4&&_0x3665f4['commentThread']&&!_0x3665f4[_0x17aa('0xe')][_0x17aa('0x9')]&&this[_0x17aa('0x45')](_0x4d9ead,{'hasComments':!0x1});},{'priority':_0x17aa('0xca')});}set[_0x17aa('0xe4')](_0x484012){if(this[_0x17aa('0x12f')])throw new _0x2b4c41('track-changes-adapter-already-set',this);this[_0x17aa('0x12f')]=_0x484012;}get[_0x17aa('0xe4')](){return this[_0x17aa('0x12f')];}[_0x17aa('0x63')]({skipNotAttached:_0x3cdcde=!0x1,toJSON:_0x4b5e13=!0x1}={}){const _0x257d93=[];for(const _0x3c9b81 of this[_0x17aa('0x147')][_0x17aa('0x46')]())_0x3cdcde&&!_0x3c9b81[_0x17aa('0xcc')]||_0x257d93[_0x17aa('0x4e')](_0x3c9b81);return _0x4b5e13?_0x257d93[_0x17aa('0x10a')](_0x2246b7=>_0x2246b7[_0x17aa('0x136')]()):_0x257d93;}['getSuggestion'](_0x2258ee){const _0x39434c=this[_0x17aa('0x147')]['get'](_0x2258ee);if(!_0x39434c)throw new _0x2b4c41(_0x17aa('0x58'),this);return _0x39434c;}[_0x17aa('0x14f')](_0x8d260b){return this[_0x17aa('0x147')]['has'](_0x8d260b);}[_0x17aa('0x1b')](_0x5d9f98){const {authorId:_0x57419d,id:_0x671abf,attributes:_0x28ce81}=_0x5d9f98,[_0x38e938,_0x38abf9]=_0x5d9f98[_0x17aa('0xa4')][_0x17aa('0x4c')](':'),_0x4fbf3a=this['_suggestions'][_0x17aa('0x13c')](_0x671abf)||this[_0x17aa('0xba')](_0x38e938,_0x38abf9,_0x671abf,_0x57419d,_0x28ce81);if(this[_0x17aa('0x2f')](_0x4fbf3a),this['_checkSuggestionCorrectness'](_0x4fbf3a,_0x38e938,_0x38abf9||null,_0x57419d),_0x4fbf3a[_0x17aa('0x168')]=_0x5d9f98[_0x17aa('0x168')],_0x4fbf3a['_isDataLoaded']=!0x0,_0x28ce81&&_0x28ce81[_0x17aa('0xc7')]){const _0x5948aa=_0x28ce81['@external'],_0x49fcec=this[_0x17aa('0x13a')](_0x5948aa['authorName']);_0x4fbf3a[_0x17aa('0xb6')]=_0x5948aa[_0x17aa('0x168')],_0x4fbf3a[_0x17aa('0x127')]=_0x49fcec,_0x4fbf3a['isExternal']=!0x0;}else _0x4fbf3a[_0x17aa('0xb6')]=_0x5d9f98['createdAt'];switch(_0x5d9f98['data']&&(_0x4fbf3a['data']=_0x5d9f98[_0x17aa('0x2d')]),_0x5d9f98['attributes']&&(_0x4fbf3a['attributes']=_0x5d9f98[_0x17aa('0xe2')]),this['_adapter']&&this[_0x17aa('0x12f')][_0x17aa('0x73')]||(_0x4fbf3a[_0x17aa('0x7c')]=!0x0),this['_suggestionState'][_0x17aa('0x13c')](_0x4fbf3a)){case _0x17aa('0x149'):this['_suggestionState']['set'](_0x4fbf3a,_0x17aa('0xfc'));break;case _0x17aa('0xf2'):_0x4fbf3a['isInContent']?(this['_refreshSuggestionsChain'](new Set([_0x4fbf3a])),this[_0x17aa('0xb0')](new Set([_0x4fbf3a])),this[_0x17aa('0x5')]['set'](_0x4fbf3a,_0x17aa('0xe3')),this[_0x17aa('0x8c')](_0x17aa('0xc0'),_0x4fbf3a)):this[_0x17aa('0x5')][_0x17aa('0x102')](_0x4fbf3a,'removed');}return _0x4fbf3a;}[_0x17aa('0x55')](_0x2a0413){this[_0x17aa('0xac')](()=>{this['editor'][_0x17aa('0xc3')]['change'](()=>{for(const _0x4ae8a3 of _0x2a0413[_0x17aa('0x12a')]())_0x4ae8a3[_0x17aa('0x43')]();});});}[_0x17aa('0x2b')](_0x4a8744){this['forceDefaultExecution'](()=>{this[_0x17aa('0x137')][_0x17aa('0xc3')][_0x17aa('0x4b')](()=>{for(const _0x4c0a72 of _0x4a8744[_0x17aa('0x12a')]())_0x4c0a72['discard']();});});}['enableCommand'](_0x29f719,_0xf0ff2f){const _0x3f6bc9=this[_0x17aa('0x137')][_0x17aa('0x4f')][_0x17aa('0x13c')](_0x29f719);if(!_0x3f6bc9)throw new _0x2b4c41(_0x17aa('0x154'),this,{'commandName':_0x29f719});if(this[_0x17aa('0xc9')][_0x17aa('0x123')](_0x3f6bc9))throw new _0x2b4c41('track-changes-enable-command-twice',this,{'commandName':_0x29f719});this[_0x17aa('0xc9')]['add'](_0x3f6bc9),_0xf0ff2f&&_0x3f6bc9['on']('execute',(_0x452406,_0x19a492)=>{this['trackChangesCommand'][_0x17aa('0xfe')]&&(this[_0x17aa('0x7b')]||(_0x19a492[_0x17aa('0x9')]>0x0&&_0x19a492[_0x19a492['length']-0x1]&&_0x19a492[_0x19a492[_0x17aa('0x9')]-0x1][_0x17aa('0xac')]?_0x19a492['pop']():(_0x452406[_0x17aa('0xd3')]=_0xf0ff2f((..._0xcf3ec8)=>_0x3f6bc9[_0x17aa('0x144')](..._0xcf3ec8,{'forceDefaultExecution':!0x0}),..._0x19a492),_0x452406['stop']())));},{'priority':_0x17aa('0x26')});}[_0x17aa('0xac')](_0x2d019b){let _0x2db071,_0x3428d3;const _0x354be2=this[_0x17aa('0x7b')];this[_0x17aa('0x7b')]=!0x0;try{_0x2db071=_0x2d019b();}catch(_0x22aa5f){_0x3428d3=_0x22aa5f;}return _0x354be2||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x3428d3&&_0x2b4c41[_0x17aa('0x6a')](_0x3428d3,this),_0x2db071;}[_0x17aa('0xc4')](_0x5b598e,_0x2aaaa1=null,_0x1a4811={}){if(_0x5b598e[_0x17aa('0x12d')])return null;const _0x142907=this[_0x17aa('0x137')][_0x17aa('0x48')][_0x17aa('0x13c')](_0x17aa('0xa9'))['me'];for(const {suggestion:_0x41691e,meta:_0xa8b7b3}of this['_findSuggestions'](_0x5b598e,'insertion'))if(_0xa8b7b3[_0x17aa('0x83')]){if(!_0xa8b7b3[_0x17aa('0xa2')]){if(_0xa8b7b3[_0x17aa('0xcb')]){if(!this[_0x17aa('0x19')]||!Gt(_0x41691e,_0x1a4811))continue;return _0x41691e;}if(Gt(_0x41691e,_0x1a4811))return _0x41691e;this[_0x17aa('0x143')](_0x41691e,_0x5b598e['start'],_0x5b598e['end']);break;}if(_0x2aaaa1==_0x41691e[_0x17aa('0xea')]&&Gt(_0x41691e,_0x1a4811)){const _0x3b555d=_0x41691e['getFirstRange']();return _0x3b555d[_0x17aa('0x3d')]['isEqual'](_0x5b598e[_0x17aa('0x101')])?this[_0x17aa('0xb1')](_0x41691e,this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x5b598e['start'],_0x3b555d[_0x17aa('0x101')])):this[_0x17aa('0xb1')](_0x41691e,this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x3b555d[_0x17aa('0x3d')],_0x5b598e[_0x17aa('0x101')])),_0x41691e;}}const _0x4c528b=_0x5a23e6(),_0x3ddf84=_0x142907['id'],_0x469990=_0x2aaaa1?'insertion:'+_0x2aaaa1:'insertion',_0x332282=this['_setSuggestionData']({'id':_0x4c528b,'type':_0x469990,'createdAt':new Date(),'authorId':_0x3ddf84,'attributes':_0x1a4811});return this[_0x17aa('0x159')](_0x469990,_0x4c528b,_0x3ddf84,_0x5b598e),_0x332282;}['markMultiRangeInsertion'](_0x45ba0e,_0x2a7eb0='multi',_0x2b3add={}){const _0x59e4a9=this[_0x17aa('0x137')][_0x17aa('0x48')][_0x17aa('0x13c')](_0x17aa('0xa9'))['me'],_0xd0a6f0=this[_0x17aa('0x142')]['getSuggestionCallback']('insertion',_0x2a7eb0,_0x17aa('0xc2'));for(const _0x3d04a5 of this[_0x17aa('0x63')]())if(_0x3d04a5[_0x17aa('0x127')]['id']==_0x59e4a9['id']&&_0x17aa('0x9a')==_0x3d04a5['type']&&_0x3d04a5[_0x17aa('0xea')]==_0x2a7eb0&&Gt(_0x3d04a5,_0x2b3add)&&(_0xd0a6f0(_0x3d04a5[_0x17aa('0x174')](),_0x45ba0e)||_0xd0a6f0(_0x45ba0e,_0x3d04a5[_0x17aa('0x174')]()))){for(const _0x1f2b49 of _0x45ba0e)_0x3d04a5[_0x17aa('0x129')](_0x1f2b49);return _0x3d04a5;}for(const {suggestion:_0x458204,meta:_0x23f5fb}of this[_0x17aa('0x6b')](_0x45ba0e,_0x17aa('0x9a'))){if(!_0x23f5fb[_0x17aa('0x83')])continue;if(!this[_0x17aa('0x19')]&&_0x23f5fb[_0x17aa('0xcb')])continue;if(!Gt(_0x458204,_0x2b3add))continue;let _0x11ef1f=!0x0;for(const _0x1137e3 of _0x458204[_0x17aa('0x174')]())for(const _0x16f630 of _0x45ba0e)if(!_0x1137e3[_0x17aa('0x80')](_0x16f630)){_0x11ef1f=!0x1;break;}if(_0x11ef1f)return _0x458204;}const _0x41d785=_0x5a23e6(),_0x16f5e8=_0x59e4a9['id'],_0x36925f=_0x17aa('0xa6')+_0x2a7eb0,_0x39be23=this[_0x17aa('0x41')]({'id':_0x41d785,'type':_0x36925f,'createdAt':new Date(),'authorId':_0x16f5e8,'attributes':_0x2b3add});for(const _0x463bb2 of _0x45ba0e)this[_0x17aa('0x159')](_0x36925f,_0x41d785,_0x16f5e8,_0x463bb2,_0x4fbbf1[_0x17aa('0x14a')]());return _0x39be23;}[_0x17aa('0x11a')](_0xd6ae8f,_0x2bcfd1,_0x11adc4=null,_0x3bb7fe={}){if(_0x11adc4=_0x11adc4||Rt(_0x2bcfd1),_0xd6ae8f[_0x17aa('0x12d')])return null;if(_0x17aa('0x1a')===this[_0x17aa('0xec')]){const _0xae89bb=this[_0x17aa('0x142')]['getSuggestionCallback']('formatInline',_0x11adc4,_0x17aa('0x43'));return this[_0x17aa('0xac')](()=>_0xae89bb([_0xd6ae8f],_0x2bcfd1,_0x3bb7fe)),null;}const _0x5c0701=this[_0x17aa('0x137')]['plugins']['get'](_0x17aa('0xa9'))['me'],_0x4efc85=[];if(_0x17aa('0xf7')!==this[_0x17aa('0xec')])for(const {suggestion:_0xf34d7d,meta:_0x4503c8}of this[_0x17aa('0x6b')](_0xd6ae8f,_0x17aa('0x9a')))_0x4503c8[_0x17aa('0x83')]&&!_0x4503c8[_0x17aa('0x165')]&&_0x4efc85[_0x17aa('0x4e')](..._0xf34d7d[_0x17aa('0x174')]());const _0xf8a290=function(_0x14a0e3,_0x201973){const _0xd99520=[];for(const _0x1b38c8 of _0x201973){const _0x59883f=_0x14a0e3[_0x17aa('0x131')](_0x1b38c8);_0x59883f&&_0xd99520[_0x17aa('0x4e')](_0x59883f);}return _0xd99520;}(_0xd6ae8f,_0x4efc85),_0x5a3299=function(_0x3d4c51,_0x5b89ea){const _0x5344c1=[_0x3d4c51];for(const _0x66ac48 of _0x5b89ea){let _0x4f77c8=0x0;for(;_0x4f77c8<_0x5344c1['length'];){const _0x4dec1c=_0x5344c1[_0x4f77c8][_0x17aa('0x8b')](_0x66ac48);_0x5344c1['splice'](_0x4f77c8,0x1,..._0x4dec1c),_0x4f77c8+=_0x4dec1c['length'];}}return _0x5344c1;}(_0xd6ae8f,_0x4efc85);_0xf8a290[_0x17aa('0x9')]&&this[_0x17aa('0x139')]['change'](()=>{for(const _0x20eb30 of _0xf8a290){const _0x16abe6=this[_0x17aa('0x142')]['getSuggestionCallback'](_0x17aa('0x8a'),_0x11adc4,_0x17aa('0x43'));this[_0x17aa('0xac')](()=>_0x16abe6([_0x20eb30],_0x2bcfd1,_0x3bb7fe));}});for(const _0x18feda of _0x5a3299){let _0x5d3a1d=null,_0x75837=_0x18feda['start'],_0x4c8f77=_0x18feda[_0x17aa('0x101')];for(const {suggestion:_0x50fcce,meta:_0x58097e}of this[_0x17aa('0x6b')](_0x18feda,_0x17aa('0x8a'))){if(!_0x58097e[_0x17aa('0x83')])continue;if(_0x50fcce['subType']!=_0x11adc4)continue;if(!Gt(_0x50fcce,_0x3bb7fe))continue;const _0x7963cc=_0x50fcce[_0x17aa('0xbe')]();if(_0x7963cc['containsRange'](_0x18feda,!0x0))return null;_0x75837=_0x75837[_0x17aa('0x6')](_0x7963cc['start'])?_0x75837:_0x7963cc[_0x17aa('0x3d')],_0x4c8f77=_0x4c8f77[_0x17aa('0x1d')](_0x7963cc[_0x17aa('0x101')])?_0x4c8f77:_0x7963cc[_0x17aa('0x101')],_0x5d3a1d?_0x7963cc['start']['isBefore'](_0x5d3a1d[_0x17aa('0xbe')]()[_0x17aa('0x3d')])?(_0x5d3a1d[_0x17aa('0x13b')](),_0x5d3a1d=_0x50fcce):_0x50fcce[_0x17aa('0x13b')]():_0x5d3a1d=_0x50fcce;}const _0x24a854=this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x75837,_0x4c8f77);if(_0x5d3a1d)this[_0x17aa('0xb1')](_0x5d3a1d,_0x24a854);else{const _0x21b1b0=_0x5a23e6(),_0x3b7048=_0x5c0701['id'];this[_0x17aa('0x41')]({'id':_0x21b1b0,'type':_0x17aa('0xe1')+_0x11adc4,'data':_0x2bcfd1,'createdAt':new Date(),'authorId':_0x3b7048,'attributes':_0x3bb7fe}),this[_0x17aa('0x159')](_0x17aa('0xe1')+_0x11adc4,_0x21b1b0,_0x3b7048,_0x24a854);}}return null;}[_0x17aa('0x6d')](_0x213afb,_0x15ad7c,_0x3a81f0=[],_0x53925c=null,_0x3b8534={}){_0x15ad7c[_0x17aa('0x10b')]||(_0x15ad7c[_0x17aa('0x10b')]=_0x15ad7c[_0x17aa('0x56')]),_0x15ad7c[_0x17aa('0x153')]=_0x213afb['is'](_0x17aa('0x107')),_0x53925c=_0x53925c||Rt(_0x15ad7c);const _0x70ae07=_0x3a81f0[_0x17aa('0x10a')](_0x2275a4=>Ut(_0x2275a4,this[_0x17aa('0x139')])),_0x56a6b8=_0x213afb['is'](_0x17aa('0x107'))?_0x213afb:Ut(_0x213afb,this[_0x17aa('0x139')]);if(_0x17aa('0x1a')===this['_trackFormatChanges']){const _0x301123=this[_0x17aa('0x142')][_0x17aa('0xe9')](_0x17aa('0xc5'),_0x53925c,_0x17aa('0x43'));return this[_0x17aa('0xac')](()=>_0x301123([_0x56a6b8],_0x15ad7c,_0x3b8534)),null;}_0x70ae07[_0x17aa('0x4e')](_0x56a6b8);let _0x34b721=!0x0;for(const _0x5b3df7 of _0x70ae07)if(!this[_0x17aa('0x97')](_0x5b3df7)){_0x34b721=!0x1;break;}if(_0x34b721&&_0x17aa('0xf7')!==this[_0x17aa('0xec')]){const _0x34e58a=this[_0x17aa('0x142')]['getSuggestionCallback']('formatBlock',_0x53925c,_0x17aa('0x43'));return this[_0x17aa('0xac')](()=>_0x34e58a([_0x56a6b8],_0x15ad7c,_0x3b8534)),null;}let _0xdf0256=null,_0x21e378=_0x56a6b8[_0x17aa('0x3d')],_0x57663b=_0x56a6b8[_0x17aa('0x101')];for(const {suggestion:_0x35bd34,meta:_0x3fc38b}of this[_0x17aa('0x6b')](_0x56a6b8,_0x17aa('0xc5'))){if(!_0x3fc38b['isOwn'])continue;if(_0x3fc38b[_0x17aa('0xa2')]||_0x3fc38b['containsRangeInObject']||_0x3fc38b[_0x17aa('0x165')])continue;if(_0x35bd34['data'][_0x17aa('0x10b')]!=_0x15ad7c[_0x17aa('0x10b')])continue;if(!Gt(_0x35bd34,_0x3b8534))continue;const _0x2af071=_0x35bd34[_0x17aa('0xbe')]();if(_0x35bd34[_0x17aa('0xea')]==_0x53925c){if(_0x2af071[_0x17aa('0x80')](_0x56a6b8,!0x0))return null;_0x21e378=_0x21e378[_0x17aa('0x6')](_0x2af071[_0x17aa('0x3d')])?_0x21e378:_0x2af071[_0x17aa('0x3d')],_0x57663b=_0x57663b['isAfter'](_0x2af071[_0x17aa('0x101')])?_0x57663b:_0x2af071[_0x17aa('0x101')],_0xdf0256?_0x2af071[_0x17aa('0x3d')][_0x17aa('0x6')](_0xdf0256[_0x17aa('0xbe')]()[_0x17aa('0x3d')])?(_0xdf0256[_0x17aa('0x13b')](),_0xdf0256=_0x35bd34):_0x35bd34[_0x17aa('0x13b')]():_0xdf0256=_0x35bd34;}else{const _0x43aafa=_0x56a6b8[_0x17aa('0x131')](_0x2af071);this[_0x17aa('0x145')](_0x35bd34,_0x43aafa);}}const _0x4b40f5=this[_0x17aa('0x137')]['plugins']['get'](_0x17aa('0xa9'))['me'],_0x513959=_0x5a23e6(),_0x1a6f70=_0x4b40f5['id'];if(_0xdf0256)return this[_0x17aa('0xb1')](_0xdf0256,this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x21e378,_0x57663b)),_0xdf0256;{const _0x2ba10e=this['_setSuggestionData']({'id':_0x513959,'type':'formatBlock:'+_0x53925c,'data':_0x15ad7c,'createdAt':new Date(),'authorId':_0x1a6f70,'attributes':_0x3b8534});return this[_0x17aa('0x159')]('formatBlock:'+_0x53925c,_0x513959,_0x1a6f70,this[_0x17aa('0x139')]['createRange'](_0x21e378,_0x57663b)),_0x2ba10e;}}[_0x17aa('0x11b')](_0x12bb85,_0x1afbe4,_0x4fb3ea=[],_0xb6ba9d=null,_0x51350c={}){_0x1afbe4[_0x17aa('0x10b')]||(_0x1afbe4[_0x17aa('0x10b')]=_0x1afbe4[_0x17aa('0x56')]);const _0x5d51b1=_0x12bb85[0x0];_0x1afbe4['multipleBlocks']=_0x5d51b1['is'](_0x17aa('0x107')),_0xb6ba9d=_0xb6ba9d||Rt(_0x1afbe4);const _0x3e2686=_0x4fb3ea[_0x17aa('0x10a')](_0x5966e7=>Ut(_0x5966e7,this[_0x17aa('0x139')])),_0x369bc7=_0x5d51b1['is'](_0x17aa('0x107'))?_0x12bb85:_0x12bb85[_0x17aa('0x10a')](_0xcf123a=>Ut(_0xcf123a,this[_0x17aa('0x139')]));if(_0x17aa('0x1a')===this[_0x17aa('0xec')]){const _0x29486d=this[_0x17aa('0x142')][_0x17aa('0xe9')]('formatBlock',_0xb6ba9d,'accept');return this[_0x17aa('0xac')](()=>_0x29486d(_0x369bc7,_0x1afbe4,_0x51350c)),null;}_0x3e2686[_0x17aa('0x4e')](..._0x369bc7);let _0x260bb1=!0x0;for(const _0x248cf0 of _0x3e2686)if(!this[_0x17aa('0x97')](_0x248cf0)){_0x260bb1=!0x1;break;}if(_0x260bb1&&_0x17aa('0xf7')!==this['_trackFormatChanges']){const _0x484241=this[_0x17aa('0x142')]['getSuggestionCallback'](_0x17aa('0xc5'),_0xb6ba9d,_0x17aa('0x43'));return this[_0x17aa('0xac')](()=>_0x484241(_0x369bc7,_0x1afbe4,_0x51350c)),null;}const _0x595d1e=this[_0x17aa('0x137')]['plugins'][_0x17aa('0x13c')](_0x17aa('0xa9'))['me'];for(const _0x291465 of this['getSuggestions']()){if(_0x291465[_0x17aa('0x127')]['id']!=_0x595d1e['id'])continue;if(_0x17aa('0xc5')!=_0x291465[_0x17aa('0xa4')]||_0x291465[_0x17aa('0x2d')][_0x17aa('0x10b')]!=_0x1afbe4[_0x17aa('0x10b')])continue;if(!Gt(_0x291465,_0x51350c))continue;const _0x40f344=_0x291465[_0x17aa('0xea')]==_0xb6ba9d;for(let _0x43e305=0x0;_0x43e305<_0x369bc7[_0x17aa('0x9')];_0x43e305++){const _0x3cc23c=_0x369bc7[_0x43e305];for(const _0x331571 of _0x291465[_0x17aa('0xed')]()){const _0x481173=_0x331571['getRange']();if(_0x3cc23c[_0x17aa('0x98')](_0x481173)){_0x40f344?(_0x369bc7[_0x17aa('0x17')](_0x43e305,0x1),_0x43e305--):_0x291465[_0x17aa('0xb4')](_0x331571['name']);break;}}}}if(0x0==_0x369bc7[_0x17aa('0x9')])return null;const _0x58a81b=this[_0x17aa('0x142')]['getSuggestionCallback'](_0x17aa('0xc5'),_0xb6ba9d,_0x17aa('0xc2'));for(const _0x56f162 of this[_0x17aa('0x63')]())if(_0x56f162[_0x17aa('0x127')]['id']==_0x595d1e['id']&&'formatBlock'==_0x56f162[_0x17aa('0xa4')]&&_0x56f162[_0x17aa('0x2d')][_0x17aa('0x10b')]==_0x1afbe4[_0x17aa('0x10b')]&&_0x56f162['subType']==_0xb6ba9d&&Gt(_0x56f162,_0x51350c)&&(_0x58a81b(_0x56f162[_0x17aa('0x174')](),_0x369bc7)||_0x58a81b(_0x369bc7,_0x56f162[_0x17aa('0x174')]()))){for(const _0x5c08fd of _0x369bc7)_0x56f162[_0x17aa('0x129')](_0x5c08fd);return _0x56f162;}const _0x3f23a2=_0x5a23e6(),_0x562076=_0x595d1e['id'],_0x139869='formatBlock:'+_0xb6ba9d,_0x7a9c9a=this[_0x17aa('0x41')]({'id':_0x3f23a2,'type':_0x139869,'data':_0x1afbe4,'createdAt':new Date(),'authorId':_0x562076,'attributes':_0x51350c});for(const _0x30f1c2 of _0x369bc7)this[_0x17aa('0x159')](_0x139869,_0x3f23a2,_0x562076,_0x30f1c2,_0x4fbbf1[_0x17aa('0x14a')]());return _0x7a9c9a;}[_0x17aa('0x106')](_0x295411,_0x472603=null,_0x377ed6={}){if(_0x295411['isCollapsed'])return null;const _0x4b1f7e=this[_0x17aa('0x137')]['plugins'][_0x17aa('0x13c')]('Users')['me'],_0x28a784=new _0x19b7af(_0x295411[_0x17aa('0x3d')],_0x295411['end']);for(const {suggestion:_0x16cda3,meta:_0x242ed0}of this[_0x17aa('0x6b')](_0x28a784,_0x17aa('0x9a')))if(_0x242ed0[_0x17aa('0x83')]&&!_0x242ed0[_0x17aa('0xa2')]){if(_0x16cda3['isMultiRange']){const _0x54cb0f=_0x16cda3[_0x17aa('0x174')]()[_0x17aa('0x14')](_0x54079d=>_0x17aa('0x61')!=_0x54079d[_0x17aa('0x105')]['rootName']);_0x54cb0f['every'](_0x3642cc=>_0x28a784['containsRange'](_0x3642cc,!0x0))&&_0x16cda3[_0x17aa('0x120')]();if(_0x54cb0f[_0x17aa('0xf4')](_0x27eb6f=>_0x27eb6f['containsRange'](_0x28a784,!0x0))){const _0x4d5bce=this[_0x17aa('0x142')][_0x17aa('0xe9')](_0x17aa('0x86'),_0x472603,_0x17aa('0x43'));return this[_0x17aa('0xac')](()=>_0x4d5bce([_0x28a784],null,_0x377ed6)),null;}}else{const _0x3c437b=_0x28a784['getIntersection'](_0x16cda3[_0x17aa('0xbe')]());null!==_0x3c437b&&_0x16cda3[_0x17aa('0x112')]([_0x3c437b],null,_0x377ed6);}}if(_0x28a784[_0x17aa('0xe6')](),_0x28a784['isCollapsed']||_0x17aa('0x61')==_0x28a784[_0x17aa('0x105')][_0x17aa('0x12c')])return null;let _0x752ed3=null,_0x3c1a48=_0x28a784[_0x17aa('0x3d')],_0x3944c4=_0x28a784[_0x17aa('0x101')];const _0x5d2f05=this[_0x17aa('0x6b')](_0x28a784,_0x17aa('0x86'));for(const {suggestion:_0x5300b3,meta:_0x4e9604}of _0x5d2f05){const _0x261c0b=this['_model'][_0x17aa('0xd2')](_0x3c1a48,_0x3944c4);if(_0x4e9604[_0x17aa('0x83')]&&(this[_0x17aa('0x19')]||!_0x4e9604['containsRangeInObject']&&!_0x4e9604[_0x17aa('0x165')])){if(_0x5300b3[_0x17aa('0x151')]){if(!Gt(_0x5300b3,_0x377ed6))continue;let _0x34d786=!0x0;for(const _0x51735a of _0x5300b3[_0x17aa('0x174')]()){if(_0x51735a[_0x17aa('0x80')](_0x261c0b,!0x0))return _0x5300b3;_0x261c0b[_0x17aa('0x80')](_0x51735a)||(_0x34d786=!0x1);}_0x34d786&&_0x5300b3[_0x17aa('0x120')]();}else{const _0x4a5b67=_0x5300b3[_0x17aa('0xbe')]();if(_0x4a5b67[_0x17aa('0x80')](_0x261c0b,!0x0))return _0x5300b3;if(!Gt(_0x5300b3,_0x377ed6)){_0x261c0b[_0x17aa('0x80')](_0x4a5b67)?_0x5300b3['removeMarkers']():_0x4a5b67[_0x17aa('0x103')](_0x3c1a48)?_0x3c1a48=_0x4a5b67['end']:_0x4a5b67[_0x17aa('0x103')](_0x3944c4)&&(_0x3944c4=_0x4a5b67['start']);continue;}_0x3c1a48=_0x3c1a48[_0x17aa('0x6')](_0x4a5b67[_0x17aa('0x3d')])?_0x3c1a48:_0x4a5b67[_0x17aa('0x3d')],_0x3944c4=_0x3944c4[_0x17aa('0x1d')](_0x4a5b67[_0x17aa('0x101')])?_0x3944c4:_0x4a5b67[_0x17aa('0x101')],_0x377ed6=Object[_0x17aa('0x89')]({},_0x5300b3[_0x17aa('0xe2')]),_0x752ed3?_0x4a5b67[_0x17aa('0x3d')]['isBefore'](_0x752ed3[_0x17aa('0xbe')]()[_0x17aa('0x3d')])?(_0x752ed3[_0x17aa('0x13b')](),_0x752ed3=_0x5300b3):_0x5300b3[_0x17aa('0x13b')]():_0x752ed3=_0x5300b3;}}}if(_0x752ed3)return this['_setSuggestionRange'](_0x752ed3,this[_0x17aa('0x139')]['createRange'](_0x3c1a48,_0x3944c4)),_0x752ed3;{const _0x2acf70=_0x5a23e6(),_0x477e08=this['_model']['createRange'](_0x3c1a48,_0x3944c4),_0x39436e=_0x4b1f7e['id'],_0xcefde6=_0x472603?_0x17aa('0x90')+_0x472603:'deletion',_0x68b63=this[_0x17aa('0x41')]({'id':_0x2acf70,'type':_0xcefde6,'createdAt':new Date(),'authorId':_0x39436e,'attributes':_0x377ed6});return this['_addSuggestionMarker'](_0xcefde6,_0x2acf70,_0x39436e,_0x477e08),_0x68b63;}}[_0x17aa('0x1e')](_0x57978c,_0x4c9746=_0x17aa('0xb'),_0x526a41={}){const _0x51b68=this[_0x17aa('0x137')][_0x17aa('0x48')][_0x17aa('0x13c')]('Users')['me'],_0x136244=_0x57978c[_0x17aa('0x10a')](_0x1fafef=>new _0x19b7af(_0x1fafef[_0x17aa('0x3d')],_0x1fafef[_0x17aa('0x101')])),_0x460e53=new Set();for(const {suggestion:_0x312995,meta:_0x3a3c6c}of this[_0x17aa('0x6b')](_0x136244,_0x17aa('0x9a')))_0x3a3c6c[_0x17aa('0x83')]&&!_0x3a3c6c['isNextTo']&&_0x460e53[_0x17aa('0xd7')](_0x312995);for(const _0x494d80 of _0x460e53)if(_0x494d80[_0x17aa('0x151')]){const _0x555b4d=_0x494d80[_0x17aa('0x174')]();(!_0x494d80[_0x17aa('0xe2')]||!_0x494d80['attributes'][_0x17aa('0x14d')])&&(_0x555b4d[_0x17aa('0xf6')](_0x38521d=>_0x136244[_0x17aa('0xf4')](_0x2dfd55=>_0x2dfd55[_0x17aa('0x80')](_0x38521d,!0x0)))&&_0x494d80[_0x17aa('0x120')]());if(_0x136244[_0x17aa('0xf6')](_0x4c599d=>_0x555b4d[_0x17aa('0xf4')](_0x115124=>_0x115124[_0x17aa('0x80')](_0x4c599d,!0x0)))){const _0x2d46b4=this[_0x17aa('0x142')][_0x17aa('0xe9')]('deletion',_0x4c9746,_0x17aa('0x43'));return this[_0x17aa('0xac')](()=>_0x2d46b4(_0x57978c,null,_0x526a41)),null;}}else{const _0x5184f3=_0x494d80[_0x17aa('0xbe')]();_0x136244[_0x17aa('0xf4')](_0x5907d8=>_0x5907d8['containsRange'](_0x5184f3,!0x0))&&_0x494d80['discard']();if(_0x136244[_0x17aa('0xf6')](_0x16244c=>_0x5184f3['containsRange'](_0x16244c,!0x0))){const _0x5ba545=this[_0x17aa('0x142')]['getSuggestionCallback'](_0x17aa('0x86'),_0x4c9746,'accept');return this[_0x17aa('0xac')](()=>_0x5ba545(_0x136244,null,_0x526a41)),null;}}const _0x98b7d9=this[_0x17aa('0x142')][_0x17aa('0xe9')](_0x17aa('0x86'),_0x4c9746,'join');let _0x4799dc=null;for(const _0x3a5f56 of this[_0x17aa('0x63')]())if(_0x3a5f56[_0x17aa('0x127')]['id']==_0x51b68['id']&&_0x3a5f56['isInContent']&&_0x17aa('0x86')==_0x3a5f56['type']&&_0x3a5f56['subType']==_0x4c9746&&Gt(_0x3a5f56,_0x526a41)&&(_0x98b7d9(_0x3a5f56[_0x17aa('0x174')](),_0x136244)||_0x98b7d9(_0x136244,_0x3a5f56['getRanges']()))){if(_0x4799dc){if(_0x3a5f56['commentThread']&&_0x3a5f56['commentThread'][_0x17aa('0x9')])continue;for(const _0x46fff2 of _0x3a5f56[_0x17aa('0x174')]())_0x4799dc[_0x17aa('0xab')](_0x46fff2)||_0x4799dc[_0x17aa('0x129')](_0x46fff2);_0x3a5f56[_0x17aa('0x13b')]();}else{_0x4799dc=_0x3a5f56;for(const _0x15e161 of _0x136244)_0x3a5f56['isIntersectingWithRange'](_0x15e161)||_0x3a5f56[_0x17aa('0x129')](_0x15e161);}}if(_0x4799dc)return _0x4799dc;_0x460e53['clear']();for(const {suggestion:_0x3a7714,meta:_0x1d586a}of this[_0x17aa('0x6b')](_0x136244,_0x17aa('0x86')))_0x1d586a['isOwn']&&(this[_0x17aa('0x19')]||!_0x1d586a[_0x17aa('0xcb')]&&!_0x1d586a['isInsideObject'])&&Gt(_0x3a7714,_0x526a41)&&_0x460e53[_0x17aa('0xd7')](_0x3a7714);for(const _0x5b324a of _0x460e53){const _0x5a97f3=_0x5b324a[_0x17aa('0x174')]();if(!_0x526a41||!_0x526a41[_0x17aa('0x14d')]){if(_0x136244[_0x17aa('0xf6')](_0x40a1d7=>_0x5a97f3['some'](_0x396ecd=>_0x396ecd['containsRange'](_0x40a1d7,!0x0))))return _0x5b324a;}(!_0x5b324a[_0x17aa('0xe2')]||!_0x5b324a['attributes'][_0x17aa('0x14d')])&&(_0x5a97f3['every'](_0x1de8aa=>_0x136244['some'](_0x540b38=>_0x540b38[_0x17aa('0x80')](_0x1de8aa,!0x0)))&&_0x5b324a[_0x17aa('0x120')]());}const _0x334dd9=_0x5a23e6(),_0x418aab=_0x51b68['id'],_0x298a48='deletion:'+_0x4c9746,_0x3cd83e=this[_0x17aa('0x41')]({'id':_0x334dd9,'type':_0x298a48,'createdAt':new Date(),'authorId':_0x418aab,'attributes':_0x526a41});for(const _0x2cb108 of _0x136244)_0x2cb108['detach'](),_0x2cb108[_0x17aa('0x12d')]||_0x17aa('0x61')==_0x2cb108['root'][_0x17aa('0x12c')]||this['_addSuggestionMarker'](_0x298a48,_0x334dd9,_0x418aab,_0x2cb108,_0x4fbbf1[_0x17aa('0x14a')]());return _0x3cd83e;}[_0x17aa('0x158')](_0x1d721a,_0x3862da,_0x2a659b,_0x2d6526,_0x4ea17b){if(_0x1d721a[_0x17aa('0x12d')])return[];if(_0x17aa('0x1a')===this['_trackFormatChanges'])return[];const _0x514a69=this[_0x17aa('0x137')][_0x17aa('0x48')][_0x17aa('0x13c')](_0x17aa('0xa9'))['me']['id'],_0x526e30=Array[_0x17aa('0x170')](this[_0x17aa('0x147')][_0x17aa('0x46')]())[_0x17aa('0x14')](_0x2d4ab6=>_0x17aa('0x133')==_0x2d4ab6[_0x17aa('0xa4')]&&_0x2d4ab6[_0x17aa('0x2d')][_0x17aa('0x13f')]==_0x3862da&&_0x2d4ab6['isIntersectingWithRange'](_0x1d721a));if(_0x17aa('0x18')===this[_0x17aa('0xec')]){const _0x101f99=this[_0x17aa('0x6b')](_0x1d721a,_0x17aa('0x9a'))[_0x17aa('0x14')](({meta:_0x3acb6c})=>_0x3acb6c[_0x17aa('0x83')]&&!_0x3acb6c[_0x17aa('0x165')]&&!_0x3acb6c['isNextTo'])[_0x17aa('0x10a')](({suggestion:_0x1c3ffb})=>_0x1c3ffb);_0x526e30[_0x17aa('0x9f')](..._0x101f99);}const _0x369c02=new Map([[_0x1d721a,_0x2a659b]]);for(const _0x33e193 of _0x526e30){const _0x330f0a=_0x17aa('0x133')==_0x33e193[_0x17aa('0xa4')]?_0x33e193[_0x17aa('0x2d')][_0x17aa('0x71')]:void 0x0,_0x1828ed=_0x33e193[_0x17aa('0xbe')](),_0x184583=Array['from'](_0x369c02[_0x17aa('0x114')]())[_0x17aa('0x7e')](_0x432587=>_0x432587[_0x17aa('0x100')](_0x1828ed));if(!_0x184583)continue;const _0x46a59d=_0x184583[_0x17aa('0x8b')](_0x1828ed);this['_isBlockAttribute'](_0x3862da)&&_0x17aa('0x9a')==_0x33e193['type']&&0x0!=_0x46a59d[_0x17aa('0x9')]||(_0x369c02['delete'](_0x184583),_0x46a59d[_0x17aa('0x148')](_0x36fb66=>{_0x369c02[_0x17aa('0x102')](_0x36fb66,_0x2a659b);}),_0x17aa('0x9a')!=_0x33e193[_0x17aa('0xa4')]&&_0x330f0a!=_0x2d6526&&_0x369c02['set'](_0x184583[_0x17aa('0x131')](_0x1828ed),_0x330f0a));}const _0x11e717=[];for(const [_0x38715d,_0x11871c]of _0x369c02){const _0x4661ce=_0x5a23e6(),_0x10f21a={'key':_0x3862da,'oldValue':_0x11871c,'newValue':_0x2d6526};_0x3862da[_0x17aa('0x9')]>0x25&&console[_0x17aa('0x1c')](_0x17aa('0xf9'),{'key':_0x3862da});const _0x3e4357=('attribute:'+(_0x3862da+'|'+Rt({'newValue':_0x2d6526})))[_0x17aa('0x28')](0x0,0x3c),_0x24132e=this[_0x17aa('0x41')]({'id':_0x4661ce,'type':_0x3e4357,'data':_0x10f21a,'createdAt':new Date(),'authorId':_0x514a69,'attributes':_0x4ea17b});_0x11e717[_0x17aa('0x4e')](_0x24132e),this[_0x17aa('0x159')](_0x3e4357,_0x4661ce,_0x514a69,_0x38715d);}return _0x11e717;}[_0x17aa('0x10d')](_0x52a9d8){this[_0x17aa('0x47')]['add'](_0x52a9d8);}['_registerInlineAttribute'](_0x14a70f){this[_0x17aa('0x15')]['add'](_0x14a70f);}['_enableDefaultAttributesIntegration'](_0x3d6f2b,_0x5ff126=[],_0x4f6443=[]){this[_0x17aa('0x79')](_0x3d6f2b,(_0xa51a23,..._0x5d13e3)=>{this[_0x17aa('0x3b')](()=>{_0xa51a23(..._0x5d13e3);});});for(const _0x1edcae of _0x5ff126)this[_0x17aa('0x8')](_0x1edcae);for(const _0x3c5270 of _0x4f6443)this[_0x17aa('0x10d')](_0x3c5270);}['_setSuggestionRange'](_0x18864b,_0x1954cc){const _0x3b0313=_0x18864b[_0x17aa('0x38')]();this[_0x17aa('0x139')]['change'](_0x59554f=>{_0x59554f['updateMarker'](_0x3b0313,{'range':_0x1954cc});});}[_0x17aa('0x2f')](_0x1415df){const _0x1ebfbc=_0x1415df['id'],_0x40d786=this['editor'][_0x17aa('0x11')][_0x17aa('0x13c')](_0x17aa('0x130'));this[_0x17aa('0x121')][_0x17aa('0x70')](_0x1ebfbc)||this[_0x17aa('0x121')][_0x17aa('0x3a')]({'channelId':_0x40d786,'threadId':_0x1ebfbc,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x34b0cc=this['_commentsRepository'][_0x17aa('0xda')](_0x1ebfbc);_0x34b0cc[_0x17aa('0x7f')](_0x17aa('0x7a')),_0x34b0cc[_0x17aa('0x7a')]=!0x1,_0x1415df[_0x17aa('0xe')]=_0x34b0cc;}[_0x17aa('0x32')](_0x7cb0f,_0x2336d6,_0x3c996f,_0x1ba40c){if(_0x7cb0f[_0x17aa('0xa4')]!=_0x2336d6||_0x7cb0f[_0x17aa('0xea')]!=_0x3c996f||_0x7cb0f[_0x17aa('0x6f')]['id']!=_0x1ba40c)throw this[_0x17aa('0x137')][_0x17aa('0x128')](_0x17aa('0x59')),new _0x2b4c41(_0x17aa('0x59'),this);}[_0x17aa('0x145')](_0x3027ed,_0x34797f){const _0x52cbf1=_0x3027ed[_0x17aa('0xbe')]();if(_0x34797f[_0x17aa('0x98')](_0x52cbf1))_0x3027ed['removeMarkers']();else{if(_0x52cbf1['containsRange'](_0x34797f)){const _0x36ec11=this[_0x17aa('0x139')][_0x17aa('0xb8')](_0x34797f[_0x17aa('0x3d')][_0x17aa('0x57')],_0x17aa('0x101'));this['_setSuggestionRange'](_0x3027ed,this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x52cbf1[_0x17aa('0x3d')],_0x36ec11));const _0x450d10=_0x5a23e6(),_0x23fe04=_0x3027ed[_0x17aa('0x6f')]['id'],_0x5bfc96=_0x3027ed[_0x17aa('0xa4')]+':'+_0x3027ed[_0x17aa('0xea')];this[_0x17aa('0x41')]({'id':_0x450d10,'type':_0x5bfc96,'createdAt':new Date(),'authorId':_0x23fe04,'data':_0x3027ed[_0x17aa('0x2d')],'attributes':_0x3027ed['attributes']});const _0x5ef7e4=this[_0x17aa('0x139')][_0x17aa('0xb8')](_0x34797f[_0x17aa('0x101')]['parent'],_0x17aa('0x39')),_0x4972fd=this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x5ef7e4,_0x52cbf1['end']);this[_0x17aa('0x159')](_0x5bfc96,_0x450d10,_0x23fe04,_0x4972fd);}else{if(_0x52cbf1[_0x17aa('0x103')](_0x34797f['start'])){const _0xc01c09=this[_0x17aa('0x139')][_0x17aa('0xb8')](_0x34797f[_0x17aa('0x3d')][_0x17aa('0x57')],_0x17aa('0x101'));this[_0x17aa('0xb1')](_0x3027ed,this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x52cbf1['start'],_0xc01c09));}else{const _0xd84705=this[_0x17aa('0x139')][_0x17aa('0xb8')](_0x34797f['end']['parent'],_0x17aa('0x39'));this[_0x17aa('0xb1')](_0x3027ed,this[_0x17aa('0x139')][_0x17aa('0xd2')](_0xd84705,_0x52cbf1[_0x17aa('0x101')]));}}}}['_rangeIsInLocalUserInsertion'](_0xbebd79){for(const {suggestion:_0x2e8753,meta:_0x436098}of this[_0x17aa('0x6b')](_0xbebd79,_0x17aa('0x9a'))){if(!_0x436098[_0x17aa('0x83')])continue;const _0x37a282=_0x2e8753[_0x17aa('0x174')]();for(const _0x17bd83 of _0x37a282)if(!_0xbebd79[_0x17aa('0x8b')](_0x17bd83)[_0x17aa('0x9')])return!0x0;}return!0x1;}[_0x17aa('0x15f')](_0x469808){const _0x4f53c2=this['editor'][_0x17aa('0x48')][_0x17aa('0x13c')](_0x17aa('0xa9'))['getUser'](_0x469808);if(!_0x4f53c2)throw new _0x2b4c41(_0x17aa('0x34'),this);return _0x4f53c2;}['_getExternalAuthor'](_0x57aefe){const _0x10f2f2=this[_0x17aa('0x137')][_0x17aa('0x48')][_0x17aa('0x13c')](_0x17aa('0xa9')),_0x50b5f0=_0x51a959('external:'+_0x57aefe),_0x1cb01f=_0x10f2f2['getUser'](_0x50b5f0);return _0x1cb01f||_0x10f2f2[_0x17aa('0x108')]({'id':_0x50b5f0,'name':_0x57aefe});}[_0x17aa('0xba')](_0x32a8e1,_0x132e9c,_0x504910,_0x205dd7,_0x3a2ab6){const _0x1d3324=this[_0x17aa('0x15f')](_0x205dd7),_0x265ef5=this[_0x17aa('0x142')][_0x17aa('0x2c')](_0x32a8e1,_0x132e9c,_0x504910,_0x1d3324,_0x3a2ab6,_0x40b84b=>this[_0x17aa('0x45')](_0x504910,{'attributes':_0x40b84b}));return this[_0x17aa('0x109')](_0x265ef5,_0x17aa('0x43'),()=>{this[_0x17aa('0x45')](_0x504910,{'state':'accepted'});},{'priority':_0x17aa('0x26')}),this[_0x17aa('0x109')](_0x265ef5,_0x17aa('0x120'),()=>{this[_0x17aa('0x45')](_0x504910,{'state':'rejected'});},{'priority':_0x17aa('0x26')}),this['_suggestions']['set'](_0x504910,_0x265ef5),this[_0x17aa('0x5')][_0x17aa('0x102')](_0x265ef5,_0x17aa('0x149')),_0x265ef5;}[_0x17aa('0xc')](_0x222120){const _0x103a76=_0x222120['split'](':');return{'group':_0x103a76[0x0],'type':_0x103a76[0x1],'subType':_0x103a76[_0x17aa('0x9')]>=0x5?_0x103a76[0x2]:null,'id':_0x103a76['length']<0x5?_0x103a76[0x2]:_0x103a76[0x3],'authorId':_0x103a76[_0x17aa('0x9')]<0x5?_0x103a76[0x3]:_0x103a76[0x4],'markerCount':0x6==_0x103a76[_0x17aa('0x9')]?_0x103a76[0x5]:null};}[_0x17aa('0x143')](_0x3bf81c,_0x142cb5,_0x3f037c){const _0x3c36f6=_0x3bf81c[_0x17aa('0xbe')](),_0x377e2e=_0x3c36f6[_0x17aa('0x3d')],_0x4e8712=_0x3c36f6[_0x17aa('0x101')];this[_0x17aa('0xb1')](_0x3bf81c,this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x377e2e,_0x142cb5));const _0x1bbabd=_0x5a23e6(),_0x3313ad=_0x3bf81c[_0x17aa('0x6f')]['id'],_0x5eb5c6=_0x3bf81c['type']+(_0x3bf81c[_0x17aa('0xea')]?':'+_0x3bf81c[_0x17aa('0xea')]:'');this[_0x17aa('0x41')]({'id':_0x1bbabd,'type':_0x5eb5c6,'createdAt':new Date(),'authorId':_0x3313ad,'originalSuggestionId':_0x3bf81c['id'],'attributes':_0x3bf81c['attributes'],'data':_0x3bf81c[_0x17aa('0x2d')]});const _0x445bf1=Pt(_0x3bf81c);('formatBlock'==_0x3bf81c[_0x17aa('0xa4')]||_0x445bf1&&this[_0x17aa('0x7')](_0x445bf1))&&(_0x3f037c=this[_0x17aa('0x139')]['createPositionBefore'](_0x3f037c[_0x17aa('0x50')])),this[_0x17aa('0x159')](_0x5eb5c6,_0x1bbabd,_0x3313ad,this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x3f037c,_0x4e8712));}[_0x17aa('0x6b')](_0x102096,_0x48ec56=null){const _0x20d2ed=[],_0x26ca6d=this[_0x17aa('0x137')][_0x17aa('0x48')]['get']('Users')['me'];Array['isArray'](_0x102096)||(_0x102096=[_0x102096]);for(const _0xe302d7 of this[_0x17aa('0x63')]()){if(!_0xe302d7['isInContent'])continue;if(_0x48ec56&&_0xe302d7[_0x17aa('0xa4')]!=_0x48ec56)continue;let _0x1b9c7a=!0x1;for(const _0x45fa4f of _0xe302d7[_0x17aa('0x174')]()){for(const _0x1c2555 of _0x102096){const _0x22e2e2=_0x1c2555[_0x17aa('0x3d')][_0x17aa('0x98')](_0x45fa4f['end'])||_0x1c2555[_0x17aa('0x101')][_0x17aa('0x98')](_0x45fa4f['start']);if(_0x22e2e2||_0x1c2555[_0x17aa('0x131')](_0x45fa4f)){const _0x1f06de=_0x1c2555[_0x17aa('0x80')](_0x45fa4f)&&Tt(this[_0x17aa('0x139')][_0x17aa('0xc8')],_0x45fa4f['start'],_0x1c2555),_0x248f97=_0x45fa4f[_0x17aa('0x80')](_0x1c2555)&&Tt(this['_model'][_0x17aa('0xc8')],_0x1c2555[_0x17aa('0x3d')],_0x45fa4f);_0x20d2ed[_0x17aa('0x4e')]({'suggestion':_0xe302d7,'meta':{'isOwn':_0x26ca6d==_0xe302d7['author'],'isNextTo':_0x22e2e2,'isInsideObject':_0x1f06de,'containsRangeInObject':_0x248f97}}),_0x1b9c7a=!0x0;break;}}if(_0x1b9c7a)break;}}return _0x20d2ed;}[_0x17aa('0x159')](_0x3dba86,_0x47975d,_0x469bea,_0x3fbe4d,_0xd88d73){this[_0x17aa('0x139')]['change'](_0x420246=>{let _0x50fa80=_0x17aa('0x51')+_0x3dba86+':'+_0x47975d+':'+_0x469bea;_0xd88d73&&(_0x50fa80=_0x50fa80+':'+_0xd88d73),_0x420246[_0x17aa('0x8e')](_0x50fa80,{'range':_0x3fbe4d,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x17aa('0x62')](_0xae314d){const _0x1f8182=_0xae314d['previous'],_0x50a69e=_0xae314d['next'];_0xae314d[_0x17aa('0x6c')]=null,_0xae314d[_0x17aa('0xa5')]=null,null!=_0x1f8182&&(_0x1f8182[_0x17aa('0xa5')]=_0x50a69e),null!=_0x50a69e&&(_0x50a69e[_0x17aa('0x6c')]=_0x1f8182),_0x17aa('0xe3')==this[_0x17aa('0x5')]['get'](_0xae314d)&&(this[_0x17aa('0x5')][_0x17aa('0x102')](_0xae314d,_0x17aa('0xce')),this[_0x17aa('0x8c')](_0x17aa('0x40'),_0xae314d,_0x1f8182,_0x50a69e));}[_0x17aa('0x41')](_0x42c7b4){const _0x3c9d1c=_0x42c7b4['id'],_0x36421f=this['addSuggestionData'](_0x42c7b4);if(this[_0x17aa('0x12f')]&&this['_adapter'][_0x17aa('0x73')]){const _0x429a2e=this[_0x17aa('0x137')][_0x17aa('0x48')][_0x17aa('0x13c')](_0x17aa('0x72')),_0x6121b=_0x36421f[_0x17aa('0x126')],_0x232781=_0x36421f[_0x17aa('0xea')]?_0x36421f[_0x17aa('0xa4')]+':'+_0x36421f['subType']:_0x36421f['type'],_0x4b9acf=this['editor'][_0x17aa('0x10')],_0x1cfcf5=_0x429a2e[_0x17aa('0xd7')](_0x1fa411(_0x4b9acf,_0x17aa('0x36'))),_0x4b7354={'id':_0x3c9d1c,'type':_0x232781,'hasComments':_0x6121b,'data':_0x42c7b4['data']||null,'originalSuggestionId':_0x42c7b4[_0x17aa('0xf1')]||null,'attributes':_0x36421f[_0x17aa('0xe2')]};this['_adapter'][_0x17aa('0x73')](_0x4b7354)['then'](_0x2df71c=>{_0x36421f[_0x17aa('0x7c')]=!0x0,_0x429a2e[_0x17aa('0x164')](_0x1cfcf5),_0x2df71c&&_0x2df71c['createdAt']&&(this[_0x17aa('0x147')]['get'](_0x3c9d1c)[_0x17aa('0x168')]=_0x2df71c[_0x17aa('0x168')]);})['catch'](_0xeb4f6=>{throw _0x4e3dc4(_0x17aa('0x8f')),this[_0x17aa('0x137')]['model'][_0x17aa('0x0')]({'isUndoable':!0x1},()=>{_0x36421f[_0x17aa('0x120')]();}),_0x36421f[_0x17aa('0x132')](),this[_0x17aa('0x147')][_0x17aa('0xe7')](_0x36421f['id']),this[_0x17aa('0x5')][_0x17aa('0xe7')](_0x36421f),_0xeb4f6;});}return _0x36421f;}[_0x17aa('0x7')](_0x2a27d7){return this[_0x17aa('0x47')][_0x17aa('0x123')](_0x2a27d7);}['_updateSuggestionData'](_0x9c52b0,_0x45f932){const _0x2a0c28=this[_0x17aa('0x137')][_0x17aa('0x48')][_0x17aa('0x13c')]('PendingActions'),_0x11c1b3=this[_0x17aa('0xb3')](_0x9c52b0);if(this[_0x17aa('0x12f')]&&this[_0x17aa('0x12f')][_0x17aa('0x52')]){if(_0x11c1b3[_0x17aa('0x7c')]){const _0x422b21=_0x2a0c28[_0x17aa('0xd7')](_0x1fa411(this[_0x17aa('0x137')][_0x17aa('0x10')],_0x17aa('0x36')));this['_adapter'][_0x17aa('0x52')](_0x9c52b0,_0x45f932)[_0x17aa('0xfb')](()=>{_0x2a0c28[_0x17aa('0x164')](_0x422b21);});}else _0x11c1b3['on']('change:_saved',()=>{this[_0x17aa('0x45')](_0x9c52b0,_0x45f932);});}}[_0x17aa('0xff')](_0xb7545c){if(!this['_adapter']||!this['_adapter'][_0x17aa('0xb3')])throw new _0x2b4c41(_0x17aa('0x23'),this);return this[_0x17aa('0x12f')][_0x17aa('0xb3')](_0xb7545c);}['_handleNewSuggestionMarker'](_0x4711e6){const {id:_0x2f3dfc,type:_0x13fd64,subType:_0x3b3ac2,authorId:_0x52c1af}=this[_0x17aa('0xc')](_0x4711e6),_0xa245f6=this['_suggestions'][_0x17aa('0x13c')](_0x2f3dfc)||this[_0x17aa('0xba')](_0x13fd64,_0x3b3ac2,_0x2f3dfc,_0x52c1af,{});switch(this[_0x17aa('0x32')](_0xa245f6,_0x13fd64,_0x3b3ac2,_0x52c1af),this[_0x17aa('0x5')][_0x17aa('0x13c')](_0xa245f6)){case _0x17aa('0x149'):this[_0x17aa('0xff')](_0x2f3dfc)['then'](_0x515564=>{let _0x1f6f70=Promise['resolve']();_0x515564[_0x17aa('0x126')]&&(_0x1f6f70=this[_0x17aa('0x121')][_0x17aa('0x160')]({'channelId':this[_0x17aa('0x137')][_0x17aa('0x11')][_0x17aa('0x13c')](_0x17aa('0x130')),'threadId':_0x2f3dfc})),_0x1f6f70[_0x17aa('0xfb')](()=>{this[_0x17aa('0x1b')](_0x515564)[_0x17aa('0x7c')]=!0x0;});}),this[_0x17aa('0x5')][_0x17aa('0x102')](_0xa245f6,_0x17aa('0xf2'));break;case _0x17aa('0xce'):this['_updateSuggestionData'](_0x2f3dfc,{'state':_0x17aa('0x5d')});case _0x17aa('0xfc'):this[_0x17aa('0x5')][_0x17aa('0x102')](_0xa245f6,_0x17aa('0xe3')),this['fire'](_0x17aa('0xc0'),_0xa245f6);break;case _0x17aa('0xe3'):this[_0x17aa('0x8c')](_0x17aa('0x33'),_0xa245f6);}return _0xa245f6[_0x17aa('0xdc')](_0x4711e6),_0xa245f6;}['_refreshSuggestionsChain'](_0x2bcc32){const _0x155c36=Array['from'](_0x2bcc32),_0x5c82d2=_0x155c36['filter'](_0x1c656c=>_0x17aa('0x133')==_0x1c656c[_0x17aa('0xa4')]);this[_0x17aa('0x78')](_0x5c82d2);const _0x125578=_0x155c36[_0x17aa('0x14')](_0x22c7fb=>!_0x22c7fb[_0x17aa('0x151')]&&_0x17aa('0x133')!=_0x22c7fb['type']),_0x44596b=this['getSuggestions']({'skipNotAttached':!0x0})[_0x17aa('0x14')](_0x1e0a1f=>!_0x1e0a1f[_0x17aa('0x151')]&&_0x17aa('0x133')!=_0x1e0a1f[_0x17aa('0xa4')]),_0x3efffa=_0x44596b[_0x17aa('0x14')](_0x4d5ccf=>!_0x2bcc32['has'](_0x4d5ccf)),_0x1ad021=new Map(_0x44596b['map'](_0x34e650=>[_0x34e650,this['_suggestionFactory'][_0x17aa('0xe9')](_0x34e650['type'],_0x34e650[_0x17aa('0xea')],_0x17aa('0x68'))])),_0x32342d=new Map(_0x44596b[_0x17aa('0x10a')](_0x599303=>[_0x599303,_0x599303[_0x17aa('0xbe')]()])),_0x21af63=new Set(),_0x2428b0=new Set();for(let _0x5e13ff=0x0;_0x5e13ff<_0x125578[_0x17aa('0x9')];_0x5e13ff++)_0x9028db(_0x125578[_0x5e13ff],_0x125578,_0x5e13ff+0x1);for(let _0x1acc26=0x0;_0x1acc26<_0x125578[_0x17aa('0x9')];_0x1acc26++)_0x9028db(_0x125578[_0x1acc26],_0x3efffa,0x0);const _0x3ba5e6=new Set();for(let _0x49a2d8=0x0;_0x49a2d8<_0x125578['length'];_0x49a2d8++){const _0x3bd600=_0x125578[_0x49a2d8];!_0x2428b0[_0x17aa('0x123')](_0x3bd600)&&_0x3bd600['previous']&&(_0x3ba5e6[_0x17aa('0xd7')](_0x3bd600[_0x17aa('0x6c')]),_0x3bd600['previous'][_0x17aa('0xa5')]===_0x3bd600&&(_0x3bd600[_0x17aa('0x6c')][_0x17aa('0xa5')]=null),_0x3bd600[_0x17aa('0x6c')]=null),!_0x21af63[_0x17aa('0x123')](_0x3bd600)&&_0x3bd600[_0x17aa('0xa5')]&&(_0x3ba5e6[_0x17aa('0xd7')](_0x3bd600[_0x17aa('0xa5')]),_0x3bd600[_0x17aa('0xa5')][_0x17aa('0x6c')]===_0x3bd600&&(_0x3bd600[_0x17aa('0xa5')][_0x17aa('0x6c')]=null),_0x3bd600[_0x17aa('0xa5')]=null);}function _0x9028db(_0x47851a,_0x1a3914,_0x4b17b1){for(let _0x3bcce1=_0x4b17b1;_0x3bcce1<_0x1a3914[_0x17aa('0x9')];_0x3bcce1++){const _0x1577cf=_0x58d7b6(_0x47851a,_0x1a3914[_0x3bcce1]);_0x1577cf&&(_0x1577cf[0x0]['next']=_0x1577cf[0x1],_0x1577cf[0x1]['previous']=_0x1577cf[0x0],_0x21af63['add'](_0x1577cf[0x0]),_0x2428b0[_0x17aa('0xd7')](_0x1577cf[0x1]));}}function _0x58d7b6(_0x397350,_0x3ed396){if(_0x397350[_0x17aa('0x127')]['id']!==_0x3ed396[_0x17aa('0x127')]['id'])return null;const _0x5a1136=_0x1ad021[_0x17aa('0x13c')](_0x397350)(_0x397350,_0x3ed396,_0x32342d[_0x17aa('0x13c')](_0x397350),_0x32342d[_0x17aa('0x13c')](_0x3ed396));if(!_0x5a1136)return null;return _0x1ad021['get'](_0x3ed396)(_0x397350,_0x3ed396,_0x32342d['get'](_0x397350),_0x32342d[_0x17aa('0x13c')](_0x3ed396))?_0x5a1136[0x1][_0x17aa('0xe')]&&_0x5a1136[0x1][_0x17aa('0xe')][_0x17aa('0x9')]?null:_0x5a1136:null;}_0x3ba5e6[_0x17aa('0x9b')]&&this[_0x17aa('0xb2')](_0x3ba5e6);}[_0x17aa('0x78')](_0x5cb7a6){if(0x0==_0x5cb7a6[_0x17aa('0x9')])return;const _0x3dbb3d=this[_0x17aa('0x63')]({'skipNotAttached':!0x0})['filter'](_0x3b2169=>'attribute'==_0x3b2169[_0x17aa('0xa4')]&&_0x3b2169['_isDataLoaded']),_0x1b8d65=[],_0x44f408=new Map();for(const _0x409888 of _0x3dbb3d){const _0x6a6243=_0x51a959(_0x409888[_0x17aa('0xe2')]);_0x44f408[_0x17aa('0x123')](_0x6a6243)||(_0x44f408['set'](_0x6a6243,_0x1b8d65[_0x17aa('0x9')]),_0x1b8d65[_0x17aa('0x4e')]([]));const _0x13330d=_0x44f408[_0x17aa('0x13c')](_0x6a6243);_0x1b8d65[_0x13330d][_0x17aa('0x4e')](_0x409888);}!function(){_0x1b8d65[_0x17aa('0x104')]((_0x1a57e8,_0x30693b)=>{const _0x42558c=_0x1a57e8[0x0]['createdAt'],_0x331d65=_0x30693b[0x0][_0x17aa('0x168')];return _0x42558c==_0x331d65?_0x1a57e8[0x0][_0x17aa('0xe2')][_0x17aa('0x81')]<_0x30693b[0x0][_0x17aa('0xe2')]['groupId']?-0x1:0x1:_0x42558c<_0x331d65?-0x1:0x1;});for(const _0x15a1c4 of _0x1b8d65)_0x15a1c4[_0x17aa('0x104')]((_0x151056,_0x7b6f8c)=>_0x151056['id']<_0x7b6f8c['id']?-0x1:0x1);}();for(let _0xb85114=0x0;_0xb85114<_0x1b8d65[_0x17aa('0x9')];_0xb85114++){if(0x0==_0x1b8d65[_0xb85114][_0x17aa('0x9')])continue;const _0x3a2c61=[];for(let _0x5242c4=_0xb85114+0x1;_0x5242c4<_0x1b8d65[_0x17aa('0x9')];_0x5242c4++)0x0!=_0x1b8d65[_0x5242c4][_0x17aa('0x9')]&&_0x23447d(_0x1b8d65[_0xb85114],_0x1b8d65[_0x5242c4])&&_0x3a2c61[_0x17aa('0x4e')](_0x5242c4);for(const _0x543895 of _0x3a2c61)_0x1b8d65[_0xb85114]=_0x1b8d65[_0xb85114][_0x17aa('0x15a')](_0x1b8d65[_0x543895]),_0x1b8d65[_0x543895]=[];}for(const _0x18e5da of _0x1b8d65)for(let _0x3bec32=0x0;_0x3bec32<_0x18e5da[_0x17aa('0x9')];_0x3bec32++)_0x18e5da[_0x3bec32][_0x17aa('0xa5')]=_0x18e5da[_0x3bec32+0x1]||null;for(const _0x293395 of _0x1b8d65)for(let _0x4e5516=0x0;_0x4e5516<_0x293395[_0x17aa('0x9')];_0x4e5516++)_0x293395[_0x4e5516][_0x17aa('0x6c')]=_0x293395[_0x4e5516-0x1]||null;function _0x23447d(_0x566def,_0x30e85e){if(_0x566def[0x0]['author']!==_0x30e85e[0x0][_0x17aa('0x127')])return!0x1;if(!function(_0x23b32c,_0x5607d5){if(!_0x23b32c[_0x17aa('0x126')]&&!_0x5607d5['hasComments'])return!0x0;if(_0x23b32c['hasComments']&&_0x5607d5[_0x17aa('0x126')])return!0x1;if(_0x23b32c[_0x17aa('0x126')]&&_0x5607d5[_0x17aa('0x168')]<_0x23b32c[_0x17aa('0xe')][_0x17aa('0xdf')][_0x17aa('0x13c')](0x0)[_0x17aa('0x168')])return!0x0;if(_0x5607d5[_0x17aa('0x126')]&&_0x23b32c[_0x17aa('0x168')]<_0x5607d5[_0x17aa('0xe')][_0x17aa('0xdf')][_0x17aa('0x13c')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x566def[0x0],_0x30e85e[0x0]))return!0x1;const _0x9a1272=_0x5edd12(_0x566def[0x0][_0x17aa('0xe2')],_0x17aa('0x81')),_0x15ae34=_0x5edd12(_0x30e85e[0x0][_0x17aa('0xe2')],_0x17aa('0x81'));if(!_0x466072(_0x9a1272,_0x15ae34))return!0x1;return!!_0x566def[_0x17aa('0xf6')](_0xa358a2=>_0x30e85e[_0x17aa('0xf4')](_0x32051d=>_0xa358a2[_0x17aa('0xbe')]()[_0x17aa('0x98')](_0x32051d['getFirstRange']())))&&_0x30e85e[_0x17aa('0xf6')](_0x25f0c6=>_0x566def['some'](_0x1b0fb5=>_0x25f0c6[_0x17aa('0xbe')]()['isEqual'](_0x1b0fb5[_0x17aa('0xbe')]())));}}[_0x17aa('0xb0')](_0xa03cf2){const _0x51c067=Array[_0x17aa('0x170')](_0xa03cf2),_0x1ad676=this[_0x17aa('0x63')]({'skipNotAttached':!0x0}),_0x573d8d=_0x1ad676['filter'](_0x4acc54=>!_0xa03cf2[_0x17aa('0x123')](_0x4acc54)),_0x461fcf=new Map(_0x51c067[_0x17aa('0x10a')](_0x17e29c=>[_0x17e29c,this[_0x17aa('0x142')][_0x17aa('0xe9')](_0x17e29c[_0x17aa('0xa4')],_0x17e29c[_0x17aa('0xea')],_0x17aa('0xc2'))])),_0x1e69e2=new Map(_0x1ad676[_0x17aa('0x10a')](_0x554b8d=>[_0x554b8d,_0x554b8d['getRanges']()]));for(let _0x133567=0x0;_0x133567<_0x51c067[_0x17aa('0x9')];_0x133567++){if(_0x40df1c(this,_0x51c067[_0x133567],_0x51c067,_0x133567+0x1))return!0x0;}for(let _0x429e33=0x0;_0x429e33<_0x51c067['length'];_0x429e33++){if(_0x40df1c(this,_0x51c067[_0x429e33],_0x573d8d,0x0))return!0x0;}return!0x1;function _0x40df1c(_0x180d53,_0x427b02,_0x22af24,_0x40010f){for(let _0x7f7271=_0x40010f;_0x7f7271<_0x22af24[_0x17aa('0x9')];_0x7f7271++){const _0x3e591b=_0x22af24[_0x7f7271];if(_0x3e591b['type']!==_0x427b02[_0x17aa('0xa4')]||_0x3e591b[_0x17aa('0x127')]['id']!==_0x427b02[_0x17aa('0x127')]['id']||_0x3e591b['subType']!==_0x427b02[_0x17aa('0xea')])continue;if(!Vt(_0x427b02,_0x3e591b))continue;if(_0x17aa('0x133')==_0x427b02[_0x17aa('0xa4')]&&_0x427b02[_0x17aa('0x2d')][_0x17aa('0x71')]!=_0x3e591b[_0x17aa('0x2d')]['oldValue'])continue;if(_0x17aa('0x133')==_0x427b02[_0x17aa('0xa4')]&&_0x180d53[_0x17aa('0x7')](_0x427b02['data'][_0x17aa('0x13f')]))continue;if('formatBlock'==_0x427b02[_0x17aa('0xa4')]){const _0x3d8db8=_0x180d53[_0x17aa('0x137')][_0x17aa('0xc3')],_0x555715=_0x427b02[_0x17aa('0x16b')]();if(_0x555715&&(_0x3d8db8[_0x17aa('0xc8')]['isObject'](_0x555715)||_0x3d8db8['schema'][_0x17aa('0x16e')](_0x555715)))continue;}const _0x17dee0=_0x461fcf[_0x17aa('0x13c')](_0x427b02),_0x3ff67b=_0x1e69e2[_0x17aa('0x13c')](_0x427b02),_0x4d2687=_0x1e69e2[_0x17aa('0x13c')](_0x3e591b),_0x37e01a=_0x427b02[_0x17aa('0xe')]&&_0x427b02['commentThread'][_0x17aa('0x9')],_0x52e6e4=_0x3e591b[_0x17aa('0xe')]&&_0x3e591b[_0x17aa('0xe')][_0x17aa('0x9')];if(!_0x37e01a&&_0x17dee0(_0x4d2687,_0x3ff67b))return _0x180d53[_0x17aa('0x15e')](_0x3e591b,_0x427b02),_0x1e69e2[_0x17aa('0xe7')](_0x427b02),!0x0;if(!_0x52e6e4&&_0x17dee0(_0x3ff67b,_0x4d2687))return _0x180d53[_0x17aa('0x15e')](_0x427b02,_0x3e591b),_0x1e69e2[_0x17aa('0xe7')](_0x3e591b),!0x0;}return!0x1;}}[_0x17aa('0x15e')](_0xb2fdad,_0x31e847){if(_0xb2fdad[_0x17aa('0x151')])for(const _0x35f889 of _0x31e847[_0x17aa('0x174')]())_0xb2fdad[_0x17aa('0x129')](_0x35f889);else{const _0x47d607=_0x31e847[_0x17aa('0xbe')]()[_0x17aa('0x101')];this[_0x17aa('0xb1')](_0xb2fdad,this[_0x17aa('0x139')]['createRange'](_0xb2fdad[_0x17aa('0xbe')]()[_0x17aa('0x3d')],_0x47d607));}_0x31e847[_0x17aa('0x13b')]();}['_getMarkerAnnouncementText'](_0x447fa2,_0x592d4f){const _0xaa6a1e=_0x447fa2[_0x17aa('0x118')](_0x17aa('0x53'))||_0x447fa2[_0x17aa('0x118')](_0x17aa('0x133'))?_0x17aa('0xf8'):_0x447fa2[_0x17aa('0x13')]();return _0x1fa411(this[_0x17aa('0x137')][_0x17aa('0x10')],_0x592d4f+'_'+_0xaa6a1e+_0x17aa('0xe5'));}[_0x17aa('0x11c')](){const _0xb928cb=this[_0x17aa('0x137')];_0x4884b6(this['_model'],({left:_0x16b885,entered:_0x3d7d8f})=>{const _0x19eef6=[];for(const _0x1b8731 of _0x16b885){const {group:_0x4eedce,type:_0x39bc01}=this[_0x17aa('0xc')](_0x1b8731[_0x17aa('0x66')]);if('suggestion'===_0x4eedce){_0x19eef6['push'](this[_0x17aa('0xe0')](_0x39bc01,_0x17aa('0x13e')));break;}}for(const _0x2e7789 of _0x3d7d8f){const {group:_0x17e97a,type:_0x298830}=this[_0x17aa('0xc')](_0x2e7789['name']);if('suggestion'===_0x17e97a){_0x19eef6[_0x17aa('0x4e')](this['_getMarkerAnnouncementText'](_0x298830,'ENTER'));break;}}_0x19eef6[_0x17aa('0x9')]&&_0xb928cb['ui'][_0x17aa('0xbd')][_0x17aa('0x84')]('trackChanges',_0x19eef6[_0x17aa('0xc2')]('\x20'));});}[_0x17aa('0xfd')](_0x503eca){if(null!==this[_0x17aa('0x74')])return!0x1;const _0x279e8b=this[_0x17aa('0x137')],_0xf83539=_0x279e8b[_0x17aa('0xc3')]['document'][_0x17aa('0xa7')][_0x17aa('0x9c')]();if(0x0==_0xf83539[_0x17aa('0x9')])return!0x1;const _0x555cc3=[],_0x2f65b9=_0xf83539[_0x17aa('0x14')](_0x1e18d3=>_0x17aa('0x133')==_0x1e18d3[_0x17aa('0xa4')]),_0x34ed95=_0xf83539['filter'](_0x370dd7=>'insert'==_0x370dd7[_0x17aa('0xa4')]&&_0x17aa('0x117')!=_0x370dd7['name']),_0x249930=_0xf83539[_0x17aa('0x14')](_0x35eaa0=>_0x17aa('0x164')==_0x35eaa0[_0x17aa('0xa4')]&&_0x17aa('0x117')!=_0x35eaa0[_0x17aa('0x66')]);for(const _0x187a33 of _0x2f65b9)_0x555cc3[_0x17aa('0x4e')]({'key':_0x187a33['attributeKey'],'newValue':_0x187a33['attributeNewValue'],'oldValue':_0x187a33[_0x17aa('0xc6')],'range':_0x3b8bc5(_0x187a33['range'])});for(const _0xc9748d of _0x34ed95){const _0x1f87e3=_0x249930[_0x17aa('0x7e')](_0x355e88=>_0x355e88[_0x17aa('0xd5')][_0x17aa('0x98')](_0xc9748d[_0x17aa('0xd5')]));_0x1f87e3&&_0x555cc3[_0x17aa('0x4e')]({'key':_0x17aa('0x69'),'newValue':_0xc9748d[_0x17aa('0x66')],'oldValue':_0x1f87e3[_0x17aa('0x66')],'range':_0x279e8b[_0x17aa('0xc3')][_0x17aa('0xd6')](_0xc9748d[_0x17aa('0xd5')][_0x17aa('0x135')])});}return 0x0!=_0x555cc3[_0x17aa('0x9')]&&this[_0x17aa('0xbf')](_0x503eca,_0x555cc3);function _0x3b8bc5(_0x509f61){return null==_0x509f61['end'][_0x17aa('0x57')]&&_0x509f61[_0x17aa('0x101')][_0x17aa('0x50')]==_0x509f61['start']['nodeAfter']?Ut(_0x509f61[_0x17aa('0x3d')]['nodeAfter'],_0x279e8b[_0x17aa('0xc3')]):_0x509f61;}}['_processAttributeSuggestions'](_0x47204e){let _0x73913c=!0x1;const _0x58b754=this['editor'][_0x17aa('0xc3')][_0x17aa('0x4')][_0x17aa('0xa7')][_0x17aa('0x14b')]()[_0x17aa('0x14')](_0x52edde=>_0x52edde[_0x17aa('0x2d')][_0x17aa('0x12')]&&_0x52edde['name'][_0x17aa('0x118')]('suggestion:attribute:'));for(const _0x5a4da2 of _0x58b754){const {subType:_0x17e51f,id:_0xd58114}=this[_0x17aa('0xc')](_0x5a4da2[_0x17aa('0x66')]),_0x35c909=_0x17e51f['split']('|')[0x0];for(const _0x1e823c of this[_0x17aa('0x63')]({'skipNotAttached':!0x0}))_0x1e823c['id']!=_0xd58114&&_0x17aa('0x133')==_0x1e823c['type']&&_0x1e823c[_0x17aa('0x2d')]&&_0x1e823c['data'][_0x17aa('0x13f')]==_0x35c909&&_0x1e823c[_0x17aa('0xbe')]()['isIntersecting'](_0x5a4da2[_0x17aa('0x2d')]['newRange'])&&(this[_0x17aa('0x4a')](_0x1e823c,_0x5a4da2['data']['newRange'],_0x47204e),_0x73913c=!0x0);}return _0x73913c;}[_0x17aa('0x3b')](_0x3a7503){if(null!==this[_0x17aa('0x74')])return void _0x3a7503();const _0x736e08=this[_0x17aa('0x137')];this['_recordAttributeSuggestionsFromVersion']=_0x736e08[_0x17aa('0xc3')][_0x17aa('0x4')][_0x17aa('0x122')],_0x3a7503();const _0x2f7f25=new Map();for(const _0x243996 of _0x736e08[_0x17aa('0xc3')][_0x17aa('0x4')][_0x17aa('0x65')][_0x17aa('0x4d')](this[_0x17aa('0x74')]))if([_0x17aa('0x111'),'addAttribute',_0x17aa('0xf'),_0x17aa('0xa')][_0x17aa('0xf0')](_0x243996['type'])){const _0x11b223=_0x243996[_0x17aa('0xdb')],_0x5ed4f9=_0x2f7f25[_0x17aa('0x13c')](_0x11b223)||[];_0x5ed4f9[_0x17aa('0x4e')](_0x243996),_0x2f7f25[_0x17aa('0x102')](_0x11b223,_0x5ed4f9);}this[_0x17aa('0x74')]=null;for(const [_0x419946,_0xeb823f]of _0x2f7f25){const _0x5a03f0=_0x5a23e6();_0x736e08['model'][_0x17aa('0x0')](_0x419946,_0x459ad1=>{const _0x43bec1=[];for(const _0x2412e4 of _0xeb823f){let _0x2c4d96,_0x37008e,_0x3fcaff,_0x183766;if(_0x17aa('0x111')==_0x2412e4[_0x17aa('0xa4')]){const _0x4e00d2=_0x2412e4;_0x2c4d96=Ut(_0x4e00d2[_0x17aa('0xd5')]['nodeAfter'],_0x736e08[_0x17aa('0xc3')]),_0x37008e=_0x17aa('0x69'),_0x3fcaff=_0x4e00d2[_0x17aa('0x31')],_0x183766=_0x4e00d2['oldName'];}else{const _0x434fed=_0x2412e4,_0x577357=this['_isBlockAttribute'](_0x434fed[_0x17aa('0x13f')]),_0x54ebaf=this[_0x17aa('0x15')][_0x17aa('0x123')](_0x434fed['key']);if(!_0x577357&&!_0x54ebaf)continue;_0x2c4d96=_0x577357?Ut(_0x434fed['range']['start'][_0x17aa('0x135')],_0x736e08['model']):_0x434fed[_0x17aa('0x107')],_0x37008e=_0x434fed['key'],_0x3fcaff='removeAttribute'==_0x2412e4[_0x17aa('0xa4')]?void 0x0:_0x434fed[_0x17aa('0xee')],_0x183766=_0x434fed[_0x17aa('0x71')];}this[_0x17aa('0x158')](_0x2c4d96,_0x37008e,_0x183766,_0x3fcaff,{'groupId':_0x5a03f0}),_0x43bec1[_0x17aa('0x4e')]({'range':_0x2c4d96,'key':_0x37008e,'newValue':_0x3fcaff,'oldValue':_0x183766});}this[_0x17aa('0xbf')](_0x459ad1,_0x43bec1);});}}[_0x17aa('0xbf')](_0x450236,_0x3211e0){if(0x0==_0x3211e0[_0x17aa('0x9')])return!0x1;let _0x4d2154=!0x1;for(const _0x26fd8e of _0x3211e0){const _0x44e04a=this['_findSuggestions'](_0x26fd8e[_0x17aa('0x107')],_0x17aa('0x133'))['filter'](_0x4e5602=>!_0x4e5602[_0x17aa('0xbb')][_0x17aa('0xa2')])[_0x17aa('0x10a')](_0x16bd91=>_0x16bd91[_0x17aa('0x5f')]),_0x380f7c=_0x51a959({'newValue':_0x26fd8e['newValue']});_0x44e04a['filter'](_0x2677b3=>{const [_0x2357bf,_0x22397e]=_0x2677b3['subType']['split']('|');return _0x2357bf==_0x26fd8e[_0x17aa('0x13f')]&&_0x22397e!=_0x380f7c;})[_0x17aa('0x148')](_0x482909=>{this[_0x17aa('0x4a')](_0x482909,_0x26fd8e['range'],_0x450236),_0x4d2154=!0x0;});}return _0x4d2154;}[_0x17aa('0x4a')](_0x1dea49,_0x19df68,_0x439456){const _0x16db24=_0x1dea49[_0x17aa('0xbe')]()[_0x17aa('0x8b')](_0x19df68);0x0!==_0x16db24[_0x17aa('0x9')]?0x1!==_0x16db24[_0x17aa('0x9')]?this[_0x17aa('0x143')](_0x1dea49,_0x19df68['start'],_0x19df68['end']):this[_0x17aa('0xb1')](_0x1dea49,_0x16db24[0x0]):_0x439456[_0x17aa('0xb4')](_0x1dea49['getFirstMarker']());}}class Bt{constructor(_0x1e347e){this[_0x17aa('0x115')]=_0x1e347e,this[_0x17aa('0x139')]=_0x1e347e[_0x17aa('0xc3')],this[_0x17aa('0x10c')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x17aa('0x2e')]();}[_0x17aa('0x2c')](_0x50affd,_0x4209b1,_0x389f20,_0x126f5e,_0x793b56,_0x140d0b){return new _0x4fbbf1(this['_model'],{'type':_0x50affd,'subType':_0x4209b1,'id':_0x389f20,'author':_0x126f5e,'creator':_0x126f5e,'attributes':_0x793b56,'onAttributesChange':_0x140d0b,'onAccept':(..._0xeb3eca)=>this['getSuggestionCallback'](_0x50affd,_0x4209b1,_0x17aa('0x43'))(..._0xeb3eca),'onDiscard':(..._0x47c34e)=>this[_0x17aa('0xe9')](_0x50affd,_0x4209b1,_0x17aa('0x120'))(..._0x47c34e)});}[_0x17aa('0xb9')](_0x3d3e26,_0xdc380,_0x4a91cf,_0x4c946b){const _0xe5d73a=_0x3d3e26+':'+_0xdc380+':'+_0x4a91cf;this['_customCallbacks'][_0x17aa('0x102')](_0xe5d73a,_0x4c946b);}[_0x17aa('0xe9')](_0x307693,_0x4c45a3,_0x3ca62a){const _0x4f6e20=_0x307693+':'+_0x4c45a3+':'+_0x3ca62a;return this[_0x17aa('0x10c')]['get'](_0x4f6e20)||this['_defaultCallbacks'][_0x17aa('0x13c')](_0x307693+':'+_0x3ca62a);}[_0x17aa('0x2e')](){const _0x476dd7=()=>!0x1,_0x2da7b7=_0x15bb5c=>{_0x15bb5c[_0x17aa('0x104')]((_0x24805c,_0x101246)=>_0x24805c[_0x17aa('0x3d')][_0x17aa('0x6')](_0x101246['start'])?0x1:-0x1),this[_0x17aa('0x139')][_0x17aa('0x4b')](_0x1267cf=>{for(const _0x87e412 of _0x15bb5c){let _0x17dbcd;_0x17dbcd=_0x87e412[_0x17aa('0x101')][_0x17aa('0x16')]&&_0x87e412[_0x17aa('0x101')][_0x17aa('0x50')]==_0x87e412[_0x17aa('0x3d')][_0x17aa('0x135')]?_0x1267cf[_0x17aa('0x16c')](_0x87e412['start'][_0x17aa('0x135')],'on'):_0x1267cf[_0x17aa('0x16c')](_0x87e412),this[_0x17aa('0x139')]['deleteContent'](_0x17dbcd,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x3edecb=(_0x4b8403,_0x58e709)=>{_0x58e709&&this[_0x17aa('0x139')]['change'](_0x563b4b=>{const {commandName:_0x5a2e52,commandParams:_0x1ecef3=[]}=_0x58e709,_0x131509=_0x4b8403[_0x17aa('0x10a')](_0x51b65f=>(xt(_0x51b65f)&&(_0x51b65f=this[_0x17aa('0x139')][_0x17aa('0xd2')](_0x51b65f[_0x17aa('0x101')])),_0x51b65f))[_0x17aa('0x14')](_0x1c0c62=>_0x17aa('0x61')!==_0x1c0c62[_0x17aa('0x105')][_0x17aa('0x12c')]);if(_0x131509['length']<0x1)return;const _0x4203dc=Array['from'](this[_0x17aa('0x139')][_0x17aa('0x4')][_0x17aa('0x172')][_0x17aa('0x174')]())[_0x17aa('0x10a')](_0x4d7dd1=>_0x19b7af['fromRange'](_0x4d7dd1));_0x563b4b[_0x17aa('0x49')](_0x131509);for(const _0x44ae24 of this['_editor'][_0x17aa('0x4f')][_0x17aa('0x4f')]())_0x44ae24[_0x17aa('0x12e')]();_0x1ecef3[_0x17aa('0x4e')]({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x5a2e52,..._0x1ecef3);const _0x516937=_0x4203dc[_0x17aa('0x14')](_0x24717a=>'$graveyard'!=_0x24717a[_0x17aa('0x105')][_0x17aa('0x12c')]);_0x516937[_0x17aa('0x9')]>0x0&&_0x563b4b[_0x17aa('0x49')](_0x516937);for(const _0x156803 of _0x4203dc)_0x156803[_0x17aa('0xe6')]();});},_0x23576d=(_0x38caa2,_0x144928)=>0x1==_0x38caa2[_0x17aa('0x9')]&&0x1==_0x144928[_0x17aa('0x9')]&&_0x38caa2[0x0]['end'][_0x17aa('0x98')](_0x144928[0x0][_0x17aa('0x3d')]),_0x38987f=(_0x30bd7d,_0x25d624,_0xe9b421,_0x498f09)=>Ot(_0x30bd7d,_0x25d624,_0xe9b421,_0x498f09,this[_0x17aa('0x139')])?[_0x30bd7d,_0x25d624]:Ot(_0x25d624,_0x30bd7d,_0x498f09,_0xe9b421,this[_0x17aa('0x139')])?[_0x25d624,_0x30bd7d]:null;this[_0x17aa('0x82')]['set']('insertion:accept',_0x476dd7),this[_0x17aa('0x82')][_0x17aa('0x102')](_0x17aa('0x110'),_0x2da7b7),this[_0x17aa('0x82')]['set']('insertion:join',_0x23576d),this['_defaultCallbacks'][_0x17aa('0x102')](_0x17aa('0x3c'),_0x38987f),this['_defaultCallbacks'][_0x17aa('0x102')]('deletion:accept',_0x2da7b7),this[_0x17aa('0x82')][_0x17aa('0x102')](_0x17aa('0x166'),_0x476dd7),this['_defaultCallbacks'][_0x17aa('0x102')]('deletion:join',_0x23576d),this['_defaultCallbacks']['set']('deletion:chain',_0x38987f),this[_0x17aa('0x82')]['set']('formatInline:accept',_0x3edecb),this[_0x17aa('0x82')][_0x17aa('0x102')](_0x17aa('0x25'),_0x476dd7),this[_0x17aa('0x82')][_0x17aa('0x102')]('formatInline:join',_0x23576d),this[_0x17aa('0x82')][_0x17aa('0x102')](_0x17aa('0xa0'),_0x476dd7),this[_0x17aa('0x82')][_0x17aa('0x102')](_0x17aa('0x1'),_0x3edecb),this['_defaultCallbacks'][_0x17aa('0x102')]('formatBlock:discard',_0x476dd7),this[_0x17aa('0x82')][_0x17aa('0x102')](_0x17aa('0x44'),_0x23576d),this['_defaultCallbacks'][_0x17aa('0x102')](_0x17aa('0xa3'),_0x476dd7),this[_0x17aa('0x82')][_0x17aa('0x102')](_0x17aa('0xb5'),_0x476dd7),this[_0x17aa('0x82')][_0x17aa('0x102')]('attribute:discard',(_0x36a249,_0x4a8508)=>{if(!_0x4a8508)return;const _0x2057a6=this['_editor'][_0x17aa('0x48')][_0x17aa('0x13c')](p);this[_0x17aa('0x139')]['change'](_0x2e6ffd=>{if(_0x17aa('0x69')==_0x4a8508[_0x17aa('0x13f')])for(const _0x5f395c of _0x36a249){const _0x20c289=_0x5f395c[_0x17aa('0x3d')]['nodeAfter'],_0x2faeaa=_0x4a8508['oldValue'];_0x2e6ffd[_0x17aa('0x111')](_0x20c289,_0x2faeaa);}else{if(_0x2057a6['_isBlockAttribute'](_0x4a8508['key']))for(const _0xf22279 of _0x36a249)void 0x0!==_0x4a8508[_0x17aa('0x71')]?_0x2e6ffd[_0x17aa('0x95')](_0x4a8508[_0x17aa('0x13f')],_0x4a8508[_0x17aa('0x71')],_0xf22279['start'][_0x17aa('0x135')]):_0x2e6ffd[_0x17aa('0xf')](_0x4a8508[_0x17aa('0x13f')],_0xf22279[_0x17aa('0x3d')][_0x17aa('0x135')]);else for(const _0x274c15 of _0x36a249)_0x4a8508[_0x17aa('0x71')]?_0x2e6ffd[_0x17aa('0x95')](_0x4a8508[_0x17aa('0x13f')],_0x4a8508[_0x17aa('0x71')],_0x274c15):_0x2e6ffd[_0x17aa('0xf')](_0x4a8508[_0x17aa('0x13f')],_0x274c15);}});}),this[_0x17aa('0x82')][_0x17aa('0x102')](_0x17aa('0x88'),_0x23576d);}}function Tt(_0x383701,_0x589a63,_0x3e1d54){for(const _0xb70eaf of _0x589a63[_0x17aa('0x50')][_0x17aa('0x15d')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xb70eaf['root']==_0xb70eaf)return!0x1;if(!_0x3e1d54['containsItem'](_0xb70eaf))return!0x1;if(_0x383701[_0x17aa('0x22')](_0xb70eaf)||_0x383701[_0x17aa('0x16e')](_0xb70eaf))return!0x0;}return!0x1;}function xt(_0x8230b5){return _0x8230b5[_0x17aa('0x101')]['parent']==_0x8230b5['start'][_0x17aa('0x135')]&&_0x8230b5['end'][_0x17aa('0xd8')];}function Et(_0x364eaf,_0x3e0585,_0x409d77,_0x3732db){const _0x4966ce=_0xfa8810=>!_0xfa8810[_0x17aa('0xa8')]['is']('$textProxy')&&!_0x3732db[_0x17aa('0x22')](_0xfa8810[_0x17aa('0xa8')]),_0x598442=_0x364eaf[_0x17aa('0x3d')][_0x17aa('0x9d')](_0x4966ce),_0x5a8f37=_0x364eaf[_0x17aa('0x101')][_0x17aa('0x9d')](_0x4966ce,{'direction':_0x17aa('0xef')});return(!_0x364eaf[_0x17aa('0x3d')][_0x17aa('0x98')](_0x598442)||!_0x364eaf[_0x17aa('0x101')][_0x17aa('0x98')](_0x5a8f37))&&(_0x598442[_0x17aa('0x6')](_0x5a8f37)?_0x409d77[_0x17aa('0x3')](_0x3e0585,{'range':_0x409d77[_0x17aa('0xd2')](_0x598442,_0x5a8f37)}):_0x409d77[_0x17aa('0xb4')](_0x3e0585),!0x0);}function Rt(_0x3b35ce){return _0x51a959(_0x3b35ce);}function jt(_0x150f6c){const _0x53690e=_0x150f6c[_0x17aa('0x3d')][_0x17aa('0x135')];return _0x53690e&&_0x53690e['is'](_0x17aa('0x125'));}function Ut(_0x28cb57,_0xa2938d){const _0xe4d3e5=_0xa2938d['schema']['isObject'](_0x28cb57)||_0xa2938d[_0x17aa('0xc8')]['isSelectable'](_0x28cb57);return _0xa2938d[_0x17aa('0xd2')](_0xa2938d['createPositionAt'](_0x28cb57,'before'),_0xe4d3e5?_0xa2938d[_0x17aa('0x3f')](_0x28cb57):_0xa2938d[_0x17aa('0xb8')](_0x28cb57,_0x17aa('0x101')));}function Ot(_0x431542,_0x3d0ac2,_0x37d004,_0x33c868,_0x3fc96b){if(!Vt(_0x431542,_0x3d0ac2))return!0x1;if(_0x37d004[_0x17aa('0x101')][_0x17aa('0x98')](_0x33c868[_0x17aa('0x3d')]))return!0x0;if(_0x431542[_0x17aa('0xa4')]!=_0x3d0ac2[_0x17aa('0xa4')])return!0x1;if(!_0x37d004[_0x17aa('0x101')][_0x17aa('0x8d')](_0x33c868['start']))return!0x1;const _0x482130=_0x3fc96b[_0x17aa('0xd2')](_0x37d004[_0x17aa('0x101')],_0x33c868[_0x17aa('0x3d')])[_0x17aa('0xbc')]();for(const _0x596961 of _0x482130)if([_0x17aa('0xb7'),'elementEnd'][_0x17aa('0xf0')](_0x596961[_0x17aa('0xa4')])&&_0x3fc96b[_0x17aa('0xc8')][_0x17aa('0x16e')](_0x596961[_0x17aa('0xa8')]))return!0x1;return!0x0;}function Vt(_0x4a3efe,_0x4a8cad){return!(!_0x4a3efe['_isDataLoaded']||!_0x4a8cad[_0x17aa('0x96')])&&_0x466072(_0x4a3efe[_0x17aa('0xe2')],_0x4a8cad[_0x17aa('0xe2')]);}function Gt(_0x37ed25,_0x4609ba){const _0x34a9c5=Ft(_0x37ed25[_0x17aa('0xe2')]),_0x3c764f=Ft(_0x4609ba);if(!_0x37ed25[_0x17aa('0x96')])return!0x1;for(const _0x291ff7 of Object[_0x17aa('0x114')](_0x3c764f))if(!_0x466072(_0x34a9c5[_0x291ff7],_0x3c764f[_0x291ff7]))return!0x1;return!0x0;}function Ft(_0x18b476){const _0x42de0d=Object['assign']({},_0x18b476);return delete _0x42de0d['skipNestingCheck'],delete _0x42de0d[_0x17aa('0x16f')],_0x42de0d;}function Pt(_0x60f354){return'attribute'==_0x60f354['type']?_0x60f354[_0x17aa('0xea')]['split']('|')[0x0]:null;}
|