@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231115.0 → 0.0.0-nightly-20231117.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 +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +3 -3
- package/lang/translations/ar.po +19 -19
- package/lang/translations/bg.po +19 -19
- package/lang/translations/bn.po +19 -19
- package/lang/translations/ca.po +19 -19
- package/lang/translations/cs.po +19 -19
- package/lang/translations/da.po +19 -19
- package/lang/translations/de.po +19 -19
- package/lang/translations/el.po +19 -19
- package/lang/translations/es.po +19 -19
- package/lang/translations/et.po +19 -19
- package/lang/translations/fi.po +19 -19
- package/lang/translations/fr.po +19 -19
- package/lang/translations/he.po +19 -19
- package/lang/translations/hi.po +19 -19
- package/lang/translations/hu.po +19 -19
- package/lang/translations/id.po +19 -19
- package/lang/translations/it.po +19 -19
- package/lang/translations/ja.po +19 -19
- package/lang/translations/ko.po +19 -19
- package/lang/translations/lt.po +19 -19
- package/lang/translations/lv.po +19 -19
- package/lang/translations/ms.po +19 -19
- package/lang/translations/nl.po +19 -19
- package/lang/translations/no.po +19 -19
- package/lang/translations/pl.po +19 -19
- package/lang/translations/pt-br.po +19 -19
- package/lang/translations/pt.po +19 -19
- package/lang/translations/ro.po +19 -19
- package/lang/translations/ru.po +19 -19
- package/lang/translations/sk.po +19 -19
- package/lang/translations/sr.po +19 -19
- package/lang/translations/sv.po +19 -19
- package/lang/translations/th.po +19 -19
- package/lang/translations/tr.po +19 -19
- package/lang/translations/uk.po +19 -19
- package/lang/translations/vi.po +19 -19
- package/lang/translations/zh-cn.po +19 -19
- package/lang/translations/zh.po +19 -19
- 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/index.d.ts +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.d.ts +0 -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.d.ts +7 -4
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +0 -67
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +22 -19
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +14 -23
- 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.d.ts +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 _0x16c3=['assign','backward','dataToMarker','change','substr','getFirstMarker','showSuggestionHighlights','getSuggestions','removeMarkers','formatInline:','hasCommentThread','getWalker','markMultiRangeBlockFormat','multi','_processAttributeSuggestions','addRange','removeAttribute','isArray','every','changeAttribute','isInContent','addSuggestion','suggestion:attribute:','marker-count','isMultiRange','_getAuthorFromId','markBlockFormat','includes','range','init','conversion','@external','_recordAttributeSuggestionsFromVersion','adapter','unbindElementFromMarkerName','getRanges','newValue','trackChanges.trackFormatChanges','formatBlock:','_trackFormatChanges','PENDING_ACTION_SUGGESTION','attributeNewValue','createdAt','for','pop','updateSuggestion','announce','start','originalSuggestionId','find','commands','ck-suggestion-marker--active','attribute:discard','forEach','deletion:chain','_cutOutSuggestionMarker','format','authoredAt','end','toJSON','detach','dataDowncast','howMany','_processAttributeChanges','_initAriaMarkerChangeAnnouncements','commentThread','formatBlock:chain','change:data','commandName','_splitMarkerName','previous','_removeSuggestion','oldRange','always','element','markAttributeChange','after','accept','setTo','isOwn','_handleNewSuggestionMarker','_updateSuggestionData','suggestion:','suggestionChanged','key','getOperations','trackChanges','pluginName','formatGroupId','discardSuggestion','attribute','bindElementToMarker','subType','sort','formatBlock:accept','_isBlockAttribute','containsRangeInObject','editor','_refreshAttributeSuggestionsChain','_reduceExistingSuggestions','setAttribute','name','deletion:','trackChangesCommand','widget','clear','open','Users','requires','getNearestSelectionRange','formatBlock','insertContent','reconvertMarker','formatInline','ck-suggestion-marker','document','insertion:discard','getCommentThread','acceptSelectedSuggestions','isInsideObject','comments','getChangedMarkers','markMultiRangeDeletion','define','has','isObject','formatInline:chain','type','_descriptionFactory','_isForcedDefaultExecutionBlock','track-changes-suggestion-data-mismatch','getRange','move','change:activeMarkers','isAfter','deletion:join','rootName','applyOperation','_joinSuggestions','editing','markerReady','group','update:suggestion','insert','getAncestors','discard','normal','filter','listenTo','substring','createPositionBefore','splice','resolve','locale','dataReady','getChanges','_refreshSuggestionsChain','getCustomProperty','writer','_registerDefaultCallbacks','getShiftedBy','_SUGGESTION_ANNOUNCEMENT','batch','elementEnd','execute','accepted','_addSuggestionMarker','skipNestingCheck','track-changes-enable-command-twice','isNextTo','discardSelectedSuggestions','isAtEnd','remove','removed','formatInline:discard','addMarker','_checkSuggestionCorrectness','insertion','_editor','fromCharCode','targetPosition','consume','notReady','stopListening','isEqual','formatInline:accept','markers','low','_setSuggestionRange','_commentsRepository','creator','return','containsPosition','markerNameToElements','isAtStart','delete','_mergeNestedSuggestions','_recordAttributeChanges','attributeKey','addClass','containsItem','attributes','elementStart','isIntersectingWithRange','ck-suggestion-marker-formatInline','moveTargetPosition','clone','addMarkerName','concat','rename','insertion:chain','markerToHighlight','removeMarker','_getMarkerAnnouncementText','createSelection','upcast','root','author','schema','parent','containsRange','documentSelection','markInsertion','createElement','_isSuggestionMarker','splitPosition','attributeOldValue','forceDefaultExecution','_breakSuggestionMarker','newName','from','getIntersection','mapper','deletion:discard','collaboration.channelId','highest','change:_saved','split','LEAVE','getItems','external:','_rangeIsInLocalUserInsertion','forward','chain','_defaultCallbacks','_findSuggestions','updateMarker','_adapter','_customCallbacks','_suggestionFactory','consumable','suggestionUnloaded','_saved','values','_isDataLoaded','ready','_createSuggestion','_inlineAttributeKeys','_blockAttributeKeys','high','registerPostFixer','enableReadOnlyMode','getSuggestionCallback','markerName','discardAllSuggestions','CommentsRepository','isLocal','removeMarker:suggestion:attribute','getSuggestion','formatBlock:join','data','model','suggestionLoaded','isTouching','_enabledCommands','deletion','oldValue','registerInlineAttribute','ck-suggestion-marker-','join','PendingActions','error-saving-suggestion-data-suggestion-discarded','differ','_onDiscard','addMarker:suggestion:attribute','stop','size','config','_suggestions','suggestion','some','options','_getSuggestionData','selection','map','getAttribute','getDifference','value','buildSuggestion','setSelection','elementToElement','newRange','createRange','markInlineFormat','markMultiRangeInsertion','length','_reduceSuggestionAttributeRange','_getAttributeKeyFromSubType','_getExternalAuthor','addHighlight','position','isRemovable','isIntersecting','ENTER','addMarker:suggestion:formatBlock','trackChanges.mergeNestedSuggestions','add','plugins','set','startsWith','markerToData','getFirstRange','isBefore','formatInline:join','getAllAdjacentSuggestions','addSuggestionData','editingDowncast','enableCommand','isBlock','isExternal','deleteContent','_joinWithAdjacentSuggestions','ck-suggestion-marker-formatBlock','_model','_setSuggestionData','createPositionAfter','item','acceptAllSuggestions','attribute:accept','insertion:accept','getMultiRangeId','createPositionAt','isUndo','attribute:','get','attribute:join','activeMarkers','isSelectable','_addThreadToSuggestion','formatBlock:discard','removeClass','acceptSuggestion','isLimit','refresh','meta','nodeAfter','getMarkers','getUser','data-suggestion','then','head','never','_suggestionState','catch','$elementName','$graveyard','push','addMarker:suggestion','fire','addCommentThread','insertion:','$textProxy','hasComments','nodeBefore','removeMarker:suggestion:formatBlock','isCollapsed','next','registerBlockAttribute'];(function(_0x47cfb9,_0x16c359){const _0x572f67=function(_0x32dc54){while(--_0x32dc54){_0x47cfb9['push'](_0x47cfb9['shift']());}};_0x572f67(++_0x16c359);}(_0x16c3,0x191));const _0x572f=function(_0x47cfb9,_0x16c359){_0x47cfb9=_0x47cfb9-0x0;let _0x572f67=_0x16c3[_0x47cfb9];return _0x572f67;};import{Plugin as _0x1fa59d,PendingActions as _0x42ebbe}from'ckeditor5/src/core';import{LiveRange as _0x4a8ee2}from'ckeditor5/src/engine';import{CKEditorError as _0x4356a9,uid as _0x3aeeef,priorities as _0x1b5a23,logWarning as _0x28396b}from'ckeditor5/src/utils';import{toWidget as _0x5b4222}from'ckeditor5/src/widget';import{Users as _0x3f76a4,hashObject as _0x2b427a,surroundingMarkersDetector as _0x164e48}from'ckeditor5-collaboration/src/collaboration-core';import _0x497506 from'./commands/trackchangescommand';import _0x90f694 from'./commands/acceptsuggestioncommand';import _0x4af909 from'./commands/discardsuggestioncommand';import _0x5e71fe from'./commands/executeonallsuggestionscommand';import _0x2c06fe from'./commands/executeonselectedsuggestionscommand';import _0x25752f from'./suggestion';import _0x100ad0 from'./suggestiondescriptionfactory';import _0x270738 from'./integrations/aiassistant';import _0x2fb0e1 from'./integrations/alignment';import _0x13456c from'./integrations/basicstyles';import _0x4ef606 from'./integrations/blockquote';import _0x4b9041 from'./integrations/ckbox';import _0x4c1252 from'./integrations/codeblock';import _0x2015d3 from'./integrations/comments';import _0x41632d from'./integrations/deletecommand';import _0x4ab0e4 from'./integrations/documentlist';import _0x229007 from'./integrations/documentlistproperties';import _0x228b08 from'./integrations/entercommand';import _0x3b52c0 from'./integrations/findandreplace';import _0x2ed2c6 from'./integrations/font';import _0x493ec7 from'./integrations/formatpainter';import _0x5da026 from'./integrations/heading';import _0x3ab3e4 from'./integrations/highlight';import _0x1b339e from'./integrations/horizontalline';import _0xa00e5d from'./integrations/htmlembed';import _0x11f77f from'./integrations/image';import _0x21be8b from'./integrations/imagereplace';import _0x5a40e0 from'./integrations/imagestyle';import _0x342ba1 from'./integrations/importword';import _0x55e755 from'./integrations/indent';import _0x55dff6 from'./integrations/inputcommand';import _0x4e84f1 from'./integrations/link';import _0x2df965 from'./integrations/list';import _0x7611e8 from'./integrations/listproperties';import _0x587d67 from'./integrations/mediaembed';import _0x294e8c from'./integrations/mention';import _0xcedfe8 from'./integrations/pagebreak';import _0xede57a from'./integrations/paragraph';import _0x187350 from'./integrations/removeformat';import _0x51941c from'./integrations/restrictededitingmode';import _0xb31ff4 from'./integrations/shiftentercommand';import _0x1d9796 from'./integrations/standardeditingmode';import _0x388259 from'./integrations/style';import _0x5469b0 from'./integrations/table';import _0x878776 from'./integrations/tablemergesplit';import _0x5e9568 from'./integrations/tableheadings';import _0x4fc2b1 from'./integrations/tableclipboard';import _0x4a87b2 from'./integrations/tablecolumnresize';import _0x2cbcb0 from'./integrations/template';import _0x42ebab from'./integrations/tableofcontents';import _0x4f4212 from'./integrations/title';import _0x1500fb from'./integrations/undo';import _0x238a44 from'./integrations/tablecaption';import _0xac343e from'./integrations/tableproperties';import{getTranslation as _0x4b7ce6}from'./utils/common-translations';import{isEqual as _0x4338d0}from'lodash-es';export const renameAttributeKey=_0x572f('0x155');export default class p extends _0x1fa59d{static get[_0x572f('0x55')](){return[_0x572f('0xf2'),_0x3f76a4,_0x42ebbe,_0x270738,_0x2fb0e1,_0x13456c,_0x4ef606,_0x4b9041,_0x4c1252,_0x2015d3,_0x41632d,_0x4ab0e4,_0x229007,_0x228b08,_0x3b52c0,_0x2ed2c6,_0x493ec7,_0x5da026,_0x3ab3e4,_0x1b339e,_0xa00e5d,_0x11f77f,_0x5a40e0,_0x21be8b,_0x342ba1,_0x55e755,_0x55dff6,_0x4e84f1,_0x2df965,_0x7611e8,_0x587d67,_0x294e8c,_0xcedfe8,_0xede57a,_0x187350,_0x51941c,_0xb31ff4,_0x1d9796,_0x388259,_0x5469b0,_0x878776,_0x5e9568,_0x238a44,_0x4fc2b1,_0x4a87b2,_0x42ebab,_0xac343e,_0x2cbcb0,_0x4f4212,_0x1500fb];}static get[_0x572f('0x40')](){return'TrackChangesEditing';}constructor(_0x557a5e){function _0x527a33(_0xc05d4){return _0xc05d4[_0x572f('0x10f')](_0x4a60ad=>String[_0x572f('0x9c')](_0x4a60ad))[_0x572f('0x100')]('');}super(_0x557a5e),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x572f('0x127')](_0x572f('0x143'),[]),this['on'](_0x572f('0x6e'),(_0x1be4b4,_0x287f1b,_0x76ce5f,_0x187cbc)=>{this['_model']['change'](()=>{for(const _0x13def0 of[..._0x187cbc,..._0x76ce5f])this[_0x572f('0x136')][_0x572f('0xa3')]['has'](_0x13def0)&&_0x557a5e[_0x572f('0x74')][_0x572f('0x59')](_0x13def0);});}),this[_0x572f('0x69')]=new _0x100ad0(this[_0x572f('0x4a')][_0x572f('0xf8')][_0x572f('0xc3')],this[_0x572f('0x4a')]['locale']),this['_adapter']=null,this[_0x572f('0xe2')]=new $t(this[_0x572f('0x4a')]),this[_0x572f('0x109')]=new Map(),this['_commentsRepository']=_0x557a5e['plugins']['get']('CommentsRepository'),this[_0x572f('0xfb')]=new Set(),this[_0x572f('0x136')]=this['editor']['model'],this[_0x572f('0x153')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x572f('0xeb')]=new Set([_0x572f('0x155')]),this[_0x572f('0xea')]=new Set(),_0x557a5e[_0x572f('0x108')][_0x572f('0x64')](_0x572f('0xe'),'default'),this[_0x572f('0x10')]=_0x557a5e[_0x572f('0x108')][_0x572f('0x141')]('trackChanges.trackFormatChanges'),_0x557a5e[_0x572f('0x108')][_0x572f('0x64')](_0x572f('0x124'),!0x0),this[_0x572f('0xad')]=_0x557a5e[_0x572f('0x108')][_0x572f('0x141')]('trackChanges.mergeNestedSuggestions'),this[_0x572f('0x50')]=new _0x497506(_0x557a5e,this['_enabledCommands']),this[_0x572f('0x29')](),this[_0x527a33([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x527a33([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x30]);}[_0x572f('0x6')](){const _0x2091fd=this['editor'],_0x5a6421=(_0x221819,_0x220f22)=>{if(_0x572f('0x43')!=_0x221819)return _0x572f('0xff')+_0x221819;const _0x498c3b=_0x220f22[_0x572f('0xd6')]('|')[0x0];return this[_0x572f('0x48')](_0x498c3b)?_0x572f('0x135'):_0x572f('0xb5');};_0x2091fd[_0x572f('0x7')]['for'](_0x572f('0x12f'))[_0x572f('0xbc')]({'model':_0x572f('0x10a'),'view':_0x373865=>{const {id:_0x5f255b,type:_0x344aa3,subType:_0x102245}=this[_0x572f('0x2e')](_0x373865[_0x572f('0xf0')]),_0x2b3f14=[_0x572f('0x5b'),_0x5a6421(_0x344aa3,_0x102245)];let _0x372def=0xbb8;return this[_0x572f('0x143')]['includes'](_0x373865['markerName'])&&(_0x2b3f14['push'](_0x572f('0x1c')),_0x372def=0xbc2),_0x572f('0xfc')==_0x344aa3&&(_0x372def+=0x5),{'classes':_0x2b3f14,'attributes':{'data-suggestion':_0x5f255b},'priority':_0x372def};}}),_0x2091fd[_0x572f('0x7')][_0x572f('0x14')](_0x572f('0x26'))[_0x572f('0x125')](_0x4ec628=>{_0x4ec628['on'](_0x572f('0x158'),(_0x2cfca2,_0x346992,_0x13ce79)=>{if(!_0x13ce79[_0x572f('0x10c')][_0x572f('0x169')])return;const _0x34da35=_0x346992[_0x572f('0x139')];if(!_0x34da35)return;const _0x16c250=_0x13ce79[_0x572f('0xd1')]['toViewElement'](_0x34da35);_0x2091fd['model'][_0x572f('0xc3')][_0x572f('0x66')](_0x34da35)&&_0x16c250&&!_0x16c250[_0x572f('0x86')](_0x572f('0x51'))&&_0x16c250['is']('containerElement')&&_0x5b4222(_0x16c250,_0x13ce79[_0x572f('0x87')]);},{'priority':_0x572f('0xec')});}),_0x2091fd[_0x572f('0x7')][_0x572f('0x14')](_0x572f('0x26'))[_0x572f('0xbc')]({'model':_0x572f('0x10a'),'view':(_0x17aad1,_0x565f8a)=>{if(!_0x565f8a['options']['showSuggestionHighlights'])return null;const {type:_0x51b061,subType:_0x22ee2b}=this['_splitMarkerName'](_0x17aad1['markerName']);return{'classes':[_0x572f('0x5b'),_0x5a6421(_0x51b061,_0x22ee2b)],'priority':0xbb8};}});const _0x5837c2=({showActiveMarkers:_0x2cde32=!0x0,isAttributeSuggestion:_0x32bb8f=!0x1}={})=>(_0x330362,_0x4181dc,_0x94453e)=>{if(!_0x4181dc['item'])return;const {id:_0x1a719f}=this[_0x572f('0x2e')](_0x4181dc[_0x572f('0xf0')]);if(_0x32bb8f){const _0x320241=this[_0x572f('0x109')][_0x572f('0x141')](_0x1a719f);if(!_0x320241['data'])return;if(!this[_0x572f('0x48')](_0x320241[_0x572f('0xf7')][_0x572f('0x3d')]))return;}if(_0x4181dc[_0x572f('0x139')]['is']('selection'))return void _0x94453e[_0x572f('0xe3')]['consume'](_0x4181dc[_0x572f('0x139')],_0x330362[_0x572f('0x4e')]);const _0x4ee498=_0x94453e['mapper']['toViewElement'](_0x4181dc[_0x572f('0x139')]);if(_0x4181dc[_0x572f('0x139')]['is'](_0x572f('0x33'))&&_0x2091fd[_0x572f('0xf8')]['schema'][_0x572f('0x131')](_0x4181dc[_0x572f('0x139')])&&!_0x4ee498[_0x572f('0x86')]('addHighlight')){_0x94453e[_0x572f('0x87')][_0x572f('0xb0')](['ck-suggestion-marker',_0x572f('0x135')],_0x4ee498),_0x94453e[_0x572f('0x87')]['setAttribute'](_0x572f('0x14f'),_0x1a719f,_0x4ee498),_0x94453e[_0x572f('0xd1')][_0x572f('0x44')](_0x4ee498,_0x4181dc[_0x572f('0xf0')]),_0x2cde32&&(this[_0x572f('0x143')][_0x572f('0x4')](_0x4181dc['markerName'])?_0x94453e[_0x572f('0x87')][_0x572f('0xb0')](_0x572f('0x1c'),_0x4ee498):_0x94453e['writer'][_0x572f('0x147')]('ck-suggestion-marker--active',_0x4ee498));for(const _0x37af25 of _0x2091fd[_0x572f('0xf8')]['createRangeIn'](_0x4181dc[_0x572f('0x139')])[_0x572f('0xd8')]())_0x94453e[_0x572f('0xe3')]['consume'](_0x37af25,_0x330362[_0x572f('0x4e')]);_0x94453e[_0x572f('0xe3')][_0x572f('0x9e')](_0x4181dc[_0x572f('0x139')],_0x330362[_0x572f('0x4e')]);}};_0x2091fd[_0x572f('0x7')][_0x572f('0x14')](_0x572f('0x26'))[_0x572f('0x125')](_0x455a57=>{_0x455a57['on'](_0x572f('0x123'),(_0x33e69d,_0x147f9f,_0xab494e)=>{_0xab494e[_0x572f('0x10c')][_0x572f('0x169')]&&_0x5837c2({'showActiveMarkers':!0x1})(_0x33e69d,_0x147f9f,_0xab494e);},{'priority':_0x572f('0xd4')});}),_0x2091fd['conversion'][_0x572f('0x14')](_0x572f('0x26'))[_0x572f('0x125')](_0x1a8458=>{_0x1a8458['on'](_0x572f('0x105'),(_0x1da61c,_0x288f1e,_0x5b0dcd)=>{_0x5b0dcd[_0x572f('0x10c')][_0x572f('0x169')]&&_0x5837c2({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x1da61c,_0x288f1e,_0x5b0dcd);},{'priority':_0x572f('0xd4')});}),_0x2091fd[_0x572f('0x7')]['for'](_0x572f('0x26'))[_0x572f('0x129')]({'model':_0x572f('0x10a'),'view':(_0x2f6764,_0x4a84a4)=>_0x4a84a4[_0x572f('0x10c')][_0x572f('0x169')]?null:{'group':_0x572f('0x10a'),'name':_0x2f6764[_0x572f('0x167')](0xb)}}),_0x2091fd[_0x572f('0x7')][_0x572f('0x14')](_0x572f('0xc0'))[_0x572f('0x115')]({'view':{'name':_0x572f('0x10a'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1b6aa2,{writer:_0x11312b})=>{let _0x139d34=_0x572f('0x3b')+_0x1b6aa2['getAttribute']('suggestion-type')+':'+_0x1b6aa2[_0x572f('0x110')]('id');return _0x1b6aa2[_0x572f('0x110')](_0x572f('0x0'))&&(_0x139d34+=':'+_0x1b6aa2[_0x572f('0x110')]('marker-count')),_0x11312b[_0x572f('0xc8')]('$marker',{'data-name':_0x139d34});}}),_0x2091fd['conversion'][_0x572f('0x14')]('upcast')[_0x572f('0x165')]({'view':'suggestion'}),_0x2091fd['conversion'][_0x572f('0x14')](_0x572f('0x12f'))[_0x572f('0x125')](_0x5edab4=>{_0x5edab4['on'](_0x572f('0x123'),_0x5837c2(),{'priority':'high'});}),_0x2091fd[_0x572f('0x7')][_0x572f('0x14')](_0x572f('0x12f'))[_0x572f('0x125')](_0x3ec16a=>{_0x3ec16a['on'](_0x572f('0x105'),_0x5837c2({'isAttributeSuggestion':!0x0}),{'priority':_0x572f('0xec')});}),_0x2091fd[_0x572f('0x7')][_0x572f('0x14')](_0x572f('0x12f'))['add'](_0x498344=>{_0x498344['on'](_0x572f('0x15f'),(_0x432aa6,_0x7cf203,_0x7d1277)=>{const _0x6b08cd=_0x7d1277[_0x572f('0xd1')][_0x572f('0xaa')](_0x7cf203[_0x572f('0xf0')]);if(_0x6b08cd)for(const _0x31554a of _0x6b08cd)_0x31554a[_0x572f('0x86')](_0x572f('0x11e'))||(_0x7d1277['writer']['removeClass']([_0x572f('0x5b'),_0x572f('0x135'),_0x572f('0x1c')],_0x31554a),_0x7d1277[_0x572f('0x87')][_0x572f('0x173')]('data-suggestion',_0x31554a),_0x7d1277[_0x572f('0xd1')][_0x572f('0xb')](_0x31554a,_0x7cf203[_0x572f('0xf0')]));},{'priority':_0x572f('0xec')});}),_0x2091fd['conversion'][_0x572f('0x14')](_0x572f('0x12f'))[_0x572f('0x125')](_0xd49118=>{_0xd49118['on'](_0x572f('0xf4'),(_0x3d8667,_0x38c44a,_0xca64e8)=>{const _0x54aa91=_0xca64e8[_0x572f('0xd1')][_0x572f('0xaa')](_0x38c44a[_0x572f('0xf0')]);if(!_0x54aa91)return;const {id:_0x256272}=this['_splitMarkerName'](_0x38c44a[_0x572f('0xf0')]),_0x295176=this[_0x572f('0x109')][_0x572f('0x141')](_0x256272);if(_0x295176[_0x572f('0xf7')]&&this[_0x572f('0x48')](_0x295176[_0x572f('0xf7')][_0x572f('0x3d')]))for(const _0x1efb8a of _0x54aa91)_0x1efb8a[_0x572f('0x86')](_0x572f('0x11e'))||(_0xca64e8['writer'][_0x572f('0x147')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock',_0x572f('0x1c')],_0x1efb8a),_0xca64e8[_0x572f('0x87')][_0x572f('0x173')](_0x572f('0x14f'),_0x1efb8a),_0xca64e8[_0x572f('0xd1')][_0x572f('0xb')](_0x1efb8a,_0x38c44a[_0x572f('0xf0')]));},{'priority':_0x572f('0xec')});}),_0x2091fd[_0x572f('0xf8')]['document'][_0x572f('0xed')](_0x562d0b=>{let _0x4e6007=!0x1;const _0x1b9b0f=Array[_0x572f('0xcf')](_0x2091fd[_0x572f('0xf8')][_0x572f('0x5c')][_0x572f('0x103')][_0x572f('0x62')]()),_0xcf026c=new Set();for(const {name:_0x124e6d,data:_0x50527e}of _0x1b9b0f){const {group:_0x24af3e,type:_0x448eeb,subType:_0xa42dca,id:_0x199e6f}=this['_splitMarkerName'](_0x124e6d);if(_0x572f('0x10a')!==_0x24af3e)continue;const _0x36c167=this[_0x572f('0x109')][_0x572f('0x141')](_0x199e6f);if(null!=_0x50527e['newRange']){_0x572f('0x5a')==_0x448eeb&&(_0x4e6007=_0x4e6007||xt(_0x50527e[_0x572f('0x116')],_0x124e6d,_0x562d0b,_0x2091fd[_0x572f('0xf8')]['schema']));const _0x5a4238=_0x572f('0x43')==_0x448eeb&&this[_0x572f('0x48')](_0xa42dca[_0x572f('0xd6')]('|')[0x0]);if(_0x50527e[_0x572f('0x116')][_0x572f('0x160')]||_0x572f('0x156')==_0x50527e[_0x572f('0x116')][_0x572f('0xc1')][_0x572f('0x71')]||_0x572f('0x57')==_0x448eeb&&!Rt(_0x50527e[_0x572f('0x116')])||_0x5a4238&&!Rt(_0x50527e['newRange'])||'deletion'==_0x448eeb&&!(!Tt(_0x3b3211=_0x50527e[_0x572f('0x116')])&&!function(_0x4d9761){return _0x4d9761[_0x572f('0x18')][_0x572f('0xc4')]==_0x4d9761[_0x572f('0x23')][_0x572f('0x15e')]&&_0x4d9761[_0x572f('0x18')]['isAtEnd'];}(_0x3b3211)))_0x562d0b[_0x572f('0xbd')](_0x124e6d),_0x4e6007=!0x0;else{if(!_0x36c167||!_0x36c167[_0x572f('0x177')])continue;_0xcf026c[_0x572f('0x125')](_0x36c167);}}}var _0x3b3211;return _0xcf026c[_0x572f('0x107')]>0x0&&(_0x4e6007=!!this[_0x572f('0x134')](_0xcf026c)||_0x4e6007),_0x4e6007;}),_0x2091fd[_0x572f('0xf8')][_0x572f('0x5c')][_0x572f('0xed')](_0x705e41=>{let _0x391a5e=!0x1;for(const _0x5ad1b7 of _0x2091fd['model'][_0x572f('0x5c')][_0x572f('0x103')][_0x572f('0x84')]())if(_0x572f('0x78')==_0x5ad1b7[_0x572f('0x68')])for(const _0x45d6b5 of this['_suggestions']['values']()){if(_0x45d6b5[_0x572f('0x1')]||!_0x45d6b5[_0x572f('0x177')])continue;const _0x2348e2='formatBlock'==_0x45d6b5[_0x572f('0x68')],_0x19c399=this['_getAttributeKeyFromSubType'](_0x45d6b5),_0x30c26b=_0x19c399&&this['_isBlockAttribute'](_0x19c399);if(!_0x2348e2&&!_0x30c26b)continue;const _0x16e15d=_0x45d6b5['getFirstRange']();if(_0x16e15d['start'][_0x572f('0xc4')]!=_0x16e15d[_0x572f('0x23')][_0x572f('0xc4')]&&!_0x16e15d[_0x572f('0x23')][_0x572f('0x94')]){const _0x3d6b11=_0x2091fd[_0x572f('0xf8')][_0x572f('0x13e')](_0x16e15d[_0x572f('0x18')][_0x572f('0x14c')],_0x572f('0x23')),_0x41f2c8=_0x2091fd[_0x572f('0xf8')][_0x572f('0x117')](_0x16e15d['start'],_0x3d6b11);_0x705e41[_0x572f('0xdf')](_0x45d6b5[_0x572f('0x168')](),{'range':_0x41f2c8}),_0x391a5e=!0x0;}}return _0x391a5e;}),_0x2091fd[_0x572f('0xf8')][_0x572f('0x5c')][_0x572f('0xed')](_0x516aeb=>this[_0x572f('0x28')](_0x516aeb)),_0x2091fd[_0x572f('0xf8')]['document']['registerPostFixer'](_0x943c99=>!_0x943c99[_0x572f('0x8b')]['isLocal']&&this[_0x572f('0x171')](_0x943c99)),_0x2091fd[_0x572f('0xf8')][_0x572f('0xa3')]['on'](_0x572f('0x77'),(_0x560cbe,_0x321bda,_0x77c075)=>{if(null==_0x77c075){const {id:_0x357e07}=this[_0x572f('0x2e')](_0x321bda[_0x572f('0x4e')]),_0x221818=this['_suggestions'][_0x572f('0x141')](_0x357e07);_0x221818&&_0x221818[_0x572f('0xb8')](_0x321bda[_0x572f('0x4e')]);}}),_0x2091fd[_0x572f('0xf8')][_0x572f('0x5c')]['on'](_0x572f('0x2c'),()=>{const _0x42f7f9=Array[_0x572f('0xcf')](_0x2091fd[_0x572f('0xf8')][_0x572f('0x5c')][_0x572f('0x103')][_0x572f('0x62')]())[_0x572f('0x7c')](_0x500999=>_0x572f('0x10a')===this['_splitMarkerName'](_0x500999[_0x572f('0x4e')])[_0x572f('0x76')]);if(0x0===_0x42f7f9[_0x572f('0x11a')])return;_0x42f7f9[_0x572f('0x46')]((_0x1c03ac,_0x423b95)=>{const _0x2b01fb=_0x1c03ac[_0x572f('0xf7')]['oldRange'],_0x8c1058=_0x423b95['data'][_0x572f('0x31')];return null===_0x2b01fb&&null===_0x8c1058?0x0:null===_0x2b01fb&&null!==_0x8c1058?-0x1:null!==_0x2b01fb&&null===_0x8c1058?0x1:_0x2b01fb[_0x572f('0x18')][_0x572f('0x12b')](_0x8c1058[_0x572f('0x18')])?-0x1:0x1;});const _0x127820=new Set(),_0x11364f=new Set();for(const {name:_0x3bd826,data:_0xb81cdd}of _0x42f7f9){const {id:_0x460fa8}=this[_0x572f('0x2e')](_0x3bd826);if(null===_0xb81cdd[_0x572f('0x31')]){const _0x45afb9=this[_0x572f('0x39')](_0x3bd826);_0x11364f['add'](_0x45afb9);}else{const _0x21b9f7=this['_suggestions'][_0x572f('0x141')](_0x460fa8);null!==_0xb81cdd[_0x572f('0x116')]||_0x21b9f7[_0x572f('0x177')]?(_0x127820[_0x572f('0x125')](_0x21b9f7[_0x572f('0x151')]),_0x11364f[_0x572f('0x125')](_0x21b9f7)):this[_0x572f('0x30')](_0x21b9f7);}}_0x11364f['size']>0x0&&this['_refreshSuggestionsChain'](_0x11364f);for(const _0x301ba6 of _0x127820)this['fire'](_0x572f('0x3c'),_0x301ba6);}),_0x2091fd[_0x572f('0xf8')]['on'](_0x572f('0x72'),(_0x118438,_0x5dfa28)=>{const _0x384023=_0x5dfa28[0x0];if(!this['_suggestions'][_0x572f('0x107')])return;if(!_0x384023['isDocumentOperation'])return;if(_0x384023[_0x572f('0x8b')][_0x572f('0x13f')]||!_0x384023[_0x572f('0x8b')][_0x572f('0xf3')])return;let _0x3cddfb,_0x366679;switch(_0x384023[_0x572f('0x68')]){case _0x572f('0x78'):_0x3cddfb=_0x2091fd[_0x572f('0xf8')][_0x572f('0x13e')](_0x384023[_0x572f('0x11f')]),_0x366679=_0x3cddfb[_0x572f('0x89')](_0x384023[_0x572f('0x27')]);break;case _0x572f('0xd6'):_0x3cddfb=_0x2091fd[_0x572f('0xf8')][_0x572f('0x13e')](_0x384023[_0x572f('0xca')]),_0x366679=_0x2091fd[_0x572f('0xf8')][_0x572f('0x13e')](_0x384023[_0x572f('0xb6')]);break;case _0x572f('0x6d'):_0x3cddfb=_0x2091fd[_0x572f('0xf8')][_0x572f('0x13e')](_0x384023[_0x572f('0x9d')]),_0x366679=_0x3cddfb[_0x572f('0x89')](_0x384023[_0x572f('0x27')]);break;default:return;}const _0x39cc33=_0x2091fd[_0x572f('0xf8')][_0x572f('0x117')](_0x3cddfb,_0x366679);_0x2091fd[_0x572f('0xf8')][_0x572f('0x166')](()=>{for(const {suggestion:_0x502e15,meta:_0x37b7e3}of this[_0x572f('0xde')](_0x39cc33)){if(_0x502e15['isMultiRange'])continue;if('formatInline'==_0x502e15[_0x572f('0x68')])continue;if(this[_0x572f('0x11c')](_0x502e15)&&this[_0x572f('0x48')](_0x502e15[_0x572f('0xf7')][_0x572f('0x3d')])&&_0x572f('0xd6')!=_0x384023['type'])continue;const _0x19ec8d=_0x502e15[_0x572f('0xf7')]&&_0x502e15['data']['multipleBlocks'];(_0x572f('0x57')!=_0x502e15['type']||'split'==_0x384023[_0x572f('0x68')]&&!_0x19ec8d)&&(_0x37b7e3[_0x572f('0x49')]||_0x572f('0x9a')==_0x502e15[_0x572f('0x68')]&&_0x37b7e3['isOwn']||_0x502e15[_0x572f('0x12a')]()[_0x572f('0xc5')](_0x39cc33)&&this[_0x572f('0xcd')](_0x502e15,_0x3cddfb,_0x366679));}});},{'priority':'lowest'}),_0x2091fd[_0x572f('0xf8')]['on'](_0x572f('0x133'),(_0xf306fb,_0x2d97c2)=>{const _0x9bb47c=_0x2d97c2[0x0],_0x971b9f=_0x2d97c2[0x1];if(_0x971b9f&&_0x971b9f[_0x572f('0xcc')])return;if(this[_0x572f('0x6a')])return;if(!this[_0x572f('0x50')]['value'])return;if(_0x9bb47c['isCollapsed'])return;const _0x46c511=_0x2091fd['model'][_0x572f('0xc3')],{start:_0x5d8e41,end:_0x3026f3}=_0x9bb47c['getFirstRange'](),_0x139b81=_0x5d8e41[_0x572f('0x14c')]&&_0x46c511[_0x572f('0x149')](_0x5d8e41[_0x572f('0x14c')])?null:_0x46c511[_0x572f('0x56')](_0x5d8e41,_0x572f('0xdb')),_0x53711d=_0x3026f3['nodeBefore']&&_0x46c511[_0x572f('0x149')](_0x3026f3[_0x572f('0x15e')])?null:_0x46c511[_0x572f('0x56')](_0x3026f3,_0x572f('0x164')),_0x83429=_0x2091fd[_0x572f('0xf8')][_0x572f('0x117')](_0x139b81?_0x139b81[_0x572f('0x18')]:_0x5d8e41,_0x53711d?_0x53711d[_0x572f('0x23')]:_0x3026f3);_0x2091fd[_0x572f('0xf8')][_0x572f('0x166')](_0x14b1ac=>{this['markDeletion'](_0x83429);const _0x56999f=_0x2091fd['model'][_0x572f('0xc3')][_0x572f('0x56')](_0x83429['start']);_0x9bb47c['is'](_0x572f('0xc6'))?_0x14b1ac[_0x572f('0x114')](_0x56999f):_0x9bb47c[_0x572f('0x37')](_0x56999f);}),_0xf306fb[_0x572f('0x106')]();},{'priority':_0x1b5a23[_0x572f('0x7b')]+0xa}),_0x2091fd['model']['on'](_0x572f('0x58'),(_0x4a392b,_0x1b93cb)=>{const _0x42ce8a=_0x1b93cb[_0x1b93cb['length']-0x1];_0x42ce8a&&_0x42ce8a['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this[_0x572f('0x50')][_0x572f('0x112')]&&(_0x2091fd[_0x572f('0xf8')][_0x572f('0x166')](()=>{let _0x1d10ad=_0x2091fd['model'][_0x572f('0x58')](_0x1b93cb[0x0],_0x1b93cb[0x1],_0x1b93cb[0x2],{'forceDefaultExecution':!0x0});if(!_0x1d10ad)return;_0x4a392b[_0x572f('0xa8')]=_0x1d10ad[_0x572f('0xb7')]();const _0x374ae1=_0x1d10ad[_0x572f('0x23')]['nodeBefore'],_0x487f1a=_0x2091fd['model'][_0x572f('0xc3')];_0x374ae1&&_0x487f1a[_0x572f('0x131')](_0x374ae1)&&!_0x487f1a['isObject'](_0x374ae1)&&(_0x1d10ad=_0x2091fd[_0x572f('0xf8')]['createRange'](_0x1d10ad[_0x572f('0x18')],_0x2091fd['model']['createPositionAt'](_0x374ae1,_0x572f('0x23')))),this[_0x572f('0xc7')](_0x1d10ad);}),_0x4a392b['stop']());},{'priority':_0x572f('0xec')}),this[_0x572f('0x4a')][_0x572f('0x1b')][_0x572f('0x125')]('trackChanges',this[_0x572f('0x50')]),this['enableCommand'](_0x572f('0x3f'));const _0x2c4db8=new _0x90f694(_0x2091fd,this['_suggestions']);_0x2091fd[_0x572f('0x1b')]['add'](_0x572f('0x148'),_0x2c4db8),this[_0x572f('0x130')]('acceptSuggestion');const _0x4b0fb2=new _0x4af909(_0x2091fd,this[_0x572f('0x109')]);_0x2091fd['commands'][_0x572f('0x125')](_0x572f('0x42'),_0x4b0fb2),this['enableCommand'](_0x572f('0x42')),_0x2091fd[_0x572f('0x1b')][_0x572f('0x125')](_0x572f('0x13a'),new _0x5e71fe(_0x2091fd,_0x2c4db8,this[_0x572f('0x109')])),this[_0x572f('0x130')](_0x572f('0x13a')),_0x2091fd['commands']['add'](_0x572f('0xf1'),new _0x5e71fe(_0x2091fd,_0x4b0fb2,this['_suggestions'])),this[_0x572f('0x130')]('discardAllSuggestions'),_0x2091fd['commands'][_0x572f('0x125')](_0x572f('0x5f'),new _0x2c06fe(_0x2091fd,_0x2c4db8,this['_suggestions'])),this[_0x572f('0x130')](_0x572f('0x5f')),_0x2091fd['commands']['add']('discardSelectedSuggestions',new _0x2c06fe(_0x2091fd,_0x4b0fb2,this[_0x572f('0x109')])),this['enableCommand'](_0x572f('0x93'));const _0x7194c6=_0x2091fd['plugins'][_0x572f('0x141')](_0x572f('0xf2'));this[_0x572f('0x7d')](_0x7194c6,'addComment',(_0x2c8ad1,{threadId:_0x580520})=>{const _0x5c2358=this[_0x572f('0x109')][_0x572f('0x141')](_0x580520);_0x5c2358&&_0x5c2358[_0x572f('0x2a')]&&0x1===_0x5c2358[_0x572f('0x2a')]['length']&&this[_0x572f('0x3a')](_0x580520,{'hasComments':!0x0});},{'priority':_0x572f('0xa4')}),this[_0x572f('0x7d')](_0x7194c6,'removeComment',(_0x2fb133,{threadId:_0x3ef047})=>{const _0x3f6e3e=this[_0x572f('0x109')][_0x572f('0x141')](_0x3ef047);_0x3f6e3e&&_0x3f6e3e[_0x572f('0x2a')]&&!_0x3f6e3e[_0x572f('0x2a')]['length']&&this['_updateSuggestionData'](_0x3ef047,{'hasComments':!0x1});},{'priority':_0x572f('0xa4')});}set[_0x572f('0xa')](_0x3da1c7){if(this['_adapter'])throw new _0x4356a9('track-changes-adapter-already-set',this);this[_0x572f('0xe0')]=_0x3da1c7;}get[_0x572f('0xa')](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x3ba3eb=!0x1,toJSON:_0x4165bc=!0x1}={}){const _0x1980e2=[];for(const _0x50c689 of this[_0x572f('0x109')]['values']())_0x3ba3eb&&!_0x50c689['isInContent']||_0x1980e2[_0x572f('0x157')](_0x50c689);return _0x4165bc?_0x1980e2[_0x572f('0x10f')](_0x2b225e=>_0x2b225e[_0x572f('0x24')]()):_0x1980e2;}[_0x572f('0xf5')](_0x5777f9){const _0x5f2266=this['_suggestions'][_0x572f('0x141')](_0x5777f9);if(!_0x5f2266)throw new _0x4356a9('track-changes-suggestion-not-found',this);return _0x5f2266;}['hasSuggestion'](_0x4c3387){return this['_suggestions'][_0x572f('0x65')](_0x4c3387);}[_0x572f('0x12e')](_0x23701a){const {authorId:_0x426a18,id:_0x426b30,attributes:_0x5ecf65}=_0x23701a,[_0x4919c0,_0x3c60dd]=_0x23701a['type'][_0x572f('0xd6')](':'),_0x51934e=this[_0x572f('0x109')]['get'](_0x426b30)||this[_0x572f('0xe9')](_0x4919c0,_0x3c60dd,_0x426b30,_0x426a18,_0x5ecf65);if(this[_0x572f('0x145')](_0x51934e),this[_0x572f('0x99')](_0x51934e,_0x4919c0,_0x3c60dd||null,_0x426a18),_0x51934e[_0x572f('0x13')]=_0x23701a['createdAt'],_0x51934e['_isDataLoaded']=!0x0,_0x5ecf65&&_0x5ecf65[_0x572f('0x8')]){const _0x3ecc9a=_0x5ecf65[_0x572f('0x8')],_0x46d362=this[_0x572f('0x11d')](_0x3ecc9a['authorName']);_0x51934e[_0x572f('0x22')]=_0x3ecc9a[_0x572f('0x13')],_0x51934e[_0x572f('0xc2')]=_0x46d362,_0x51934e[_0x572f('0x132')]=!0x0;}else _0x51934e[_0x572f('0x22')]=_0x23701a[_0x572f('0x13')];switch(_0x23701a[_0x572f('0xf7')]&&(_0x51934e[_0x572f('0xf7')]=_0x23701a[_0x572f('0xf7')]),_0x23701a[_0x572f('0xb2')]&&(_0x51934e[_0x572f('0xb2')]=_0x23701a[_0x572f('0xb2')]),this['_adapter']&&this[_0x572f('0xe0')][_0x572f('0x178')]||(_0x51934e['_saved']=!0x0),this['_suggestionState'][_0x572f('0x141')](_0x51934e)){case _0x572f('0x9f'):this[_0x572f('0x153')][_0x572f('0x127')](_0x51934e,'dataReady');break;case _0x572f('0x75'):_0x51934e[_0x572f('0x177')]?(_0x51934e[_0x572f('0x14d')]()[_0x572f('0x1e')](_0x2304eb=>{this['editor'][_0x572f('0x74')][_0x572f('0x59')](_0x2304eb);}),this[_0x572f('0x85')](new Set([_0x51934e])),this[_0x572f('0x134')](new Set([_0x51934e])),this['_suggestionState'][_0x572f('0x127')](_0x51934e,_0x572f('0xe8')),this[_0x572f('0x159')](_0x572f('0xf9'),_0x51934e)):this[_0x572f('0x153')][_0x572f('0x127')](_0x51934e,'removed');}return _0x51934e;}[_0x572f('0x148')](_0x3c5ded){this['forceDefaultExecution'](()=>{this[_0x572f('0x4a')][_0x572f('0xf8')][_0x572f('0x166')](()=>{for(const _0x562100 of _0x3c5ded['getAllAdjacentSuggestions']())_0x562100['accept']();});});}[_0x572f('0x42')](_0x425c7f){this[_0x572f('0xcc')](()=>{this['editor'][_0x572f('0xf8')][_0x572f('0x166')](()=>{for(const _0x3527d1 of _0x425c7f[_0x572f('0x12d')]())_0x3527d1[_0x572f('0x7a')]();});});}[_0x572f('0x130')](_0x67c2fb,_0x48a445){const _0x1ff6cc=this[_0x572f('0x4a')][_0x572f('0x1b')][_0x572f('0x141')](_0x67c2fb);if(!_0x1ff6cc)throw new _0x4356a9('track-changes-command-not-found',this,{'commandName':_0x67c2fb});if(this[_0x572f('0xfb')][_0x572f('0x65')](_0x1ff6cc))throw new _0x4356a9(_0x572f('0x91'),this,{'commandName':_0x67c2fb});this[_0x572f('0xfb')][_0x572f('0x125')](_0x1ff6cc),_0x48a445&&_0x1ff6cc['on'](_0x572f('0x8d'),(_0x25cef7,_0x2d6068)=>{this[_0x572f('0x50')][_0x572f('0x112')]&&(this[_0x572f('0x6a')]||(_0x2d6068[_0x572f('0x11a')]>0x0&&_0x2d6068[_0x2d6068[_0x572f('0x11a')]-0x1]&&_0x2d6068[_0x2d6068[_0x572f('0x11a')]-0x1][_0x572f('0xcc')]?_0x2d6068[_0x572f('0x15')]():(_0x25cef7[_0x572f('0xa8')]=_0x48a445((..._0xd0f780)=>_0x1ff6cc['execute'](..._0xd0f780,{'forceDefaultExecution':!0x0}),..._0x2d6068),_0x25cef7[_0x572f('0x106')]())));},{'priority':_0x572f('0xec')});}[_0x572f('0xcc')](_0x51001d){let _0x240a0f,_0x25f23e;const _0x4fa6fc=this[_0x572f('0x6a')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x240a0f=_0x51001d();}catch(_0x2a0b8a){_0x25f23e=_0x2a0b8a;}return _0x4fa6fc||(this[_0x572f('0x6a')]=!0x1),_0x25f23e&&_0x4356a9['rethrowUnexpectedError'](_0x25f23e,this),_0x240a0f;}[_0x572f('0xc7')](_0x2b6c22,_0x2142d9=null,_0x3e4100={}){if(_0x2b6c22['isCollapsed'])return null;const _0x13efb2=this['editor'][_0x572f('0x126')][_0x572f('0x141')](_0x572f('0x54'))['me'];for(const {suggestion:_0x4f12a1,meta:_0x4fb2de}of this['_findSuggestions'](_0x2b6c22,_0x572f('0x9a')))if(_0x4fb2de[_0x572f('0x38')]){if(!_0x4fb2de[_0x572f('0x92')]){if(_0x4fb2de[_0x572f('0x49')]){if(!this['_mergeNestedSuggestions']||!Vt(_0x4f12a1,_0x3e4100))continue;return _0x4f12a1;}if(Vt(_0x4f12a1,_0x3e4100))return _0x4f12a1;this[_0x572f('0xcd')](_0x4f12a1,_0x2b6c22['start'],_0x2b6c22[_0x572f('0x23')]);break;}if(_0x2142d9==_0x4f12a1[_0x572f('0x45')]&&Vt(_0x4f12a1,_0x3e4100)){const _0x57904e=_0x4f12a1[_0x572f('0x12a')]();return _0x57904e[_0x572f('0x18')][_0x572f('0xa1')](_0x2b6c22['end'])?this['_setSuggestionRange'](_0x4f12a1,this[_0x572f('0x136')][_0x572f('0x117')](_0x2b6c22[_0x572f('0x18')],_0x57904e[_0x572f('0x23')])):this[_0x572f('0xa5')](_0x4f12a1,this['_model'][_0x572f('0x117')](_0x57904e['start'],_0x2b6c22[_0x572f('0x23')])),_0x4f12a1;}}const _0x209076=_0x3aeeef(),_0x61e1a6=_0x13efb2['id'],_0x4d8292=_0x2142d9?_0x572f('0x15b')+_0x2142d9:_0x572f('0x9a'),_0x1fc662=this[_0x572f('0x137')]({'id':_0x209076,'type':_0x4d8292,'createdAt':new Date(),'authorId':_0x61e1a6,'attributes':_0x3e4100});return this[_0x572f('0x8f')](_0x4d8292,_0x209076,_0x61e1a6,_0x2b6c22),_0x1fc662;}[_0x572f('0x119')](_0x3135a9,_0x2d5351=_0x572f('0x170'),_0x24eba4={}){const _0x3e6ec5=this[_0x572f('0x4a')]['plugins']['get'](_0x572f('0x54'))['me'],_0x506fb7=this['_suggestionFactory'][_0x572f('0xef')](_0x572f('0x9a'),_0x2d5351,'join');for(const _0x49dc37 of this[_0x572f('0x16a')]())if(_0x49dc37[_0x572f('0xc2')]['id']==_0x3e6ec5['id']&&_0x572f('0x9a')==_0x49dc37[_0x572f('0x68')]&&_0x49dc37[_0x572f('0x45')]==_0x2d5351&&Vt(_0x49dc37,_0x24eba4)&&(_0x506fb7(_0x49dc37[_0x572f('0xc')](),_0x3135a9)||_0x506fb7(_0x3135a9,_0x49dc37[_0x572f('0xc')]()))){for(const _0x20f68d of _0x3135a9)_0x49dc37[_0x572f('0x172')](_0x20f68d);return _0x49dc37;}for(const {suggestion:_0xa73f87,meta:_0x353020}of this[_0x572f('0xde')](_0x3135a9,_0x572f('0x9a'))){if(!_0x353020[_0x572f('0x38')])continue;if(!this[_0x572f('0xad')]&&_0x353020[_0x572f('0x49')])continue;if(!Vt(_0xa73f87,_0x24eba4))continue;let _0x23e1f5=!0x0;for(const _0x394ade of _0xa73f87[_0x572f('0xc')]())for(const _0x42ccf2 of _0x3135a9)if(!_0x394ade[_0x572f('0xc5')](_0x42ccf2)){_0x23e1f5=!0x1;break;}if(_0x23e1f5)return _0xa73f87;}const _0xc00b4e=_0x3aeeef(),_0x4e5fea=_0x3e6ec5['id'],_0x1f7150=_0x572f('0x15b')+_0x2d5351,_0x5e79dd=this[_0x572f('0x137')]({'id':_0xc00b4e,'type':_0x1f7150,'createdAt':new Date(),'authorId':_0x4e5fea,'attributes':_0x24eba4});for(const _0x436bd3 of _0x3135a9)this[_0x572f('0x8f')](_0x1f7150,_0xc00b4e,_0x4e5fea,_0x436bd3,_0x25752f[_0x572f('0x13d')]());return _0x5e79dd;}[_0x572f('0x118')](_0x3b2f98,_0x4fd32c,_0x5536cb=null,_0x2e349b={}){if(_0x5536cb=_0x5536cb||Et(_0x4fd32c),_0x3b2f98[_0x572f('0x160')])return null;if('never'===this['_trackFormatChanges']){const _0x5a318f=this[_0x572f('0xe2')]['getSuggestionCallback'](_0x572f('0x5a'),_0x5536cb,'accept');return this[_0x572f('0xcc')](()=>_0x5a318f([_0x3b2f98],_0x4fd32c,_0x2e349b)),null;}const _0x1aebb2=this['editor'][_0x572f('0x126')][_0x572f('0x141')]('Users')['me'],_0x20056f=[];if(_0x572f('0x32')!==this['_trackFormatChanges'])for(const {suggestion:_0x2b9b77,meta:_0x37364c}of this['_findSuggestions'](_0x3b2f98,'insertion'))_0x37364c[_0x572f('0x38')]&&!_0x37364c[_0x572f('0x60')]&&_0x20056f['push'](..._0x2b9b77['getRanges']());const _0x3a6eb4=function(_0x49bf4f,_0x5872b6){const _0x5615a3=[];for(const _0x31ff8e of _0x5872b6){const _0x5033b5=_0x49bf4f[_0x572f('0xd0')](_0x31ff8e);_0x5033b5&&_0x5615a3[_0x572f('0x157')](_0x5033b5);}return _0x5615a3;}(_0x3b2f98,_0x20056f),_0x1337f9=function(_0x1a304c,_0x371c44){const _0x569c3f=[_0x1a304c];for(const _0x147e6d of _0x371c44){let _0x2bee4d=0x0;for(;_0x2bee4d<_0x569c3f[_0x572f('0x11a')];){const _0x15afee=_0x569c3f[_0x2bee4d][_0x572f('0x111')](_0x147e6d);_0x569c3f[_0x572f('0x80')](_0x2bee4d,0x1,..._0x15afee),_0x2bee4d+=_0x15afee[_0x572f('0x11a')];}}return _0x569c3f;}(_0x3b2f98,_0x20056f);_0x3a6eb4[_0x572f('0x11a')]&&this[_0x572f('0x136')][_0x572f('0x166')](()=>{for(const _0x128eb1 of _0x3a6eb4){const _0x543dd5=this[_0x572f('0xe2')][_0x572f('0xef')](_0x572f('0x5a'),_0x5536cb,'accept');this[_0x572f('0xcc')](()=>_0x543dd5([_0x128eb1],_0x4fd32c,_0x2e349b));}});for(const _0x46338d of _0x1337f9){let _0x453f60=null,_0x4896b8=_0x46338d[_0x572f('0x18')],_0x40f2a7=_0x46338d['end'];for(const {suggestion:_0x3a907e,meta:_0x1ee7b9}of this['_findSuggestions'](_0x46338d,_0x572f('0x5a'))){if(!_0x1ee7b9[_0x572f('0x38')])continue;if(_0x3a907e[_0x572f('0x45')]!=_0x5536cb)continue;if(!Vt(_0x3a907e,_0x2e349b))continue;const _0x350409=_0x3a907e[_0x572f('0x12a')]();if(_0x350409['containsRange'](_0x46338d,!0x0))return null;_0x4896b8=_0x4896b8[_0x572f('0x12b')](_0x350409[_0x572f('0x18')])?_0x4896b8:_0x350409[_0x572f('0x18')],_0x40f2a7=_0x40f2a7[_0x572f('0x6f')](_0x350409[_0x572f('0x23')])?_0x40f2a7:_0x350409[_0x572f('0x23')],_0x453f60?_0x350409['start'][_0x572f('0x12b')](_0x453f60[_0x572f('0x12a')]()[_0x572f('0x18')])?(_0x453f60[_0x572f('0x16b')](),_0x453f60=_0x3a907e):_0x3a907e['removeMarkers']():_0x453f60=_0x3a907e;}const _0x4add4f=this['_model'][_0x572f('0x117')](_0x4896b8,_0x40f2a7);if(_0x453f60)this[_0x572f('0xa5')](_0x453f60,_0x4add4f);else{const _0x3e9913=_0x3aeeef(),_0x15ecf4=_0x1aebb2['id'];this[_0x572f('0x137')]({'id':_0x3e9913,'type':'formatInline:'+_0x5536cb,'data':_0x4fd32c,'createdAt':new Date(),'authorId':_0x15ecf4,'attributes':_0x2e349b}),this[_0x572f('0x8f')](_0x572f('0x16c')+_0x5536cb,_0x3e9913,_0x15ecf4,_0x4add4f);}}return null;}[_0x572f('0x3')](_0x2a8291,_0xaeecf5,_0x41f972=[],_0x4ac526=null,_0x259ea5={}){_0xaeecf5[_0x572f('0x41')]||(_0xaeecf5[_0x572f('0x41')]=_0xaeecf5['commandName']),_0xaeecf5['multipleBlocks']=_0x2a8291['is'](_0x572f('0x5')),_0x4ac526=_0x4ac526||Et(_0xaeecf5);const _0x2b9566=_0x41f972[_0x572f('0x10f')](_0x416986=>jt(_0x416986,this[_0x572f('0x136')])),_0x9f5ed9=_0x2a8291['is'](_0x572f('0x5'))?_0x2a8291:jt(_0x2a8291,this[_0x572f('0x136')]);if(_0x572f('0x152')===this['_trackFormatChanges']){const _0x2e5201=this[_0x572f('0xe2')][_0x572f('0xef')]('formatBlock',_0x4ac526,'accept');return this[_0x572f('0xcc')](()=>_0x2e5201([_0x9f5ed9],_0xaeecf5,_0x259ea5)),null;}_0x2b9566[_0x572f('0x157')](_0x9f5ed9);let _0x5e2d46=!0x0;for(const _0x240dc0 of _0x2b9566)if(!this[_0x572f('0xda')](_0x240dc0)){_0x5e2d46=!0x1;break;}if(_0x5e2d46&&_0x572f('0x32')!==this[_0x572f('0x10')]){const _0x1d367c=this[_0x572f('0xe2')][_0x572f('0xef')](_0x572f('0x57'),_0x4ac526,'accept');return this[_0x572f('0xcc')](()=>_0x1d367c([_0x9f5ed9],_0xaeecf5,_0x259ea5)),null;}let _0x38d93e=null,_0x41f0f0=_0x9f5ed9[_0x572f('0x18')],_0x56891f=_0x9f5ed9[_0x572f('0x23')];for(const {suggestion:_0x535c43,meta:_0x4e0fa7}of this[_0x572f('0xde')](_0x9f5ed9,_0x572f('0x57'))){if(!_0x4e0fa7[_0x572f('0x38')])continue;if(_0x4e0fa7[_0x572f('0x92')]||_0x4e0fa7[_0x572f('0x49')]||_0x4e0fa7[_0x572f('0x60')])continue;if(_0x535c43['data']['formatGroupId']!=_0xaeecf5[_0x572f('0x41')])continue;if(!Vt(_0x535c43,_0x259ea5))continue;const _0x1ac2be=_0x535c43['getFirstRange']();if(_0x535c43['subType']==_0x4ac526){if(_0x1ac2be[_0x572f('0xc5')](_0x9f5ed9,!0x0))return null;_0x41f0f0=_0x41f0f0['isBefore'](_0x1ac2be[_0x572f('0x18')])?_0x41f0f0:_0x1ac2be['start'],_0x56891f=_0x56891f[_0x572f('0x6f')](_0x1ac2be['end'])?_0x56891f:_0x1ac2be[_0x572f('0x23')],_0x38d93e?_0x1ac2be[_0x572f('0x18')][_0x572f('0x12b')](_0x38d93e[_0x572f('0x12a')]()[_0x572f('0x18')])?(_0x38d93e[_0x572f('0x16b')](),_0x38d93e=_0x535c43):_0x535c43[_0x572f('0x16b')]():_0x38d93e=_0x535c43;}else{const _0x49b6a1=_0x9f5ed9[_0x572f('0xd0')](_0x1ac2be);this[_0x572f('0x20')](_0x535c43,_0x49b6a1);}}const _0x4317e7=this[_0x572f('0x4a')][_0x572f('0x126')][_0x572f('0x141')](_0x572f('0x54'))['me'],_0x409afa=_0x3aeeef(),_0x447393=_0x4317e7['id'];if(_0x38d93e)return this[_0x572f('0xa5')](_0x38d93e,this[_0x572f('0x136')][_0x572f('0x117')](_0x41f0f0,_0x56891f)),_0x38d93e;{const _0x2578f6=this['_setSuggestionData']({'id':_0x409afa,'type':_0x572f('0xf')+_0x4ac526,'data':_0xaeecf5,'createdAt':new Date(),'authorId':_0x447393,'attributes':_0x259ea5});return this['_addSuggestionMarker']('formatBlock:'+_0x4ac526,_0x409afa,_0x447393,this[_0x572f('0x136')]['createRange'](_0x41f0f0,_0x56891f)),_0x2578f6;}}[_0x572f('0x16f')](_0xef54d2,_0x950ad3,_0x337627=[],_0x3fd130=null,_0x13987b={}){_0x950ad3[_0x572f('0x41')]||(_0x950ad3[_0x572f('0x41')]=_0x950ad3[_0x572f('0x2d')]);const _0x19c99a=_0xef54d2[0x0];_0x950ad3['multipleBlocks']=_0x19c99a['is'](_0x572f('0x5')),_0x3fd130=_0x3fd130||Et(_0x950ad3);const _0x53ff6a=_0x337627[_0x572f('0x10f')](_0x45d3a2=>jt(_0x45d3a2,this[_0x572f('0x136')])),_0x2d5143=_0x19c99a['is'](_0x572f('0x5'))?_0xef54d2:_0xef54d2[_0x572f('0x10f')](_0x3be6f2=>jt(_0x3be6f2,this[_0x572f('0x136')]));if(_0x572f('0x152')===this[_0x572f('0x10')]){const _0x2f90e0=this[_0x572f('0xe2')][_0x572f('0xef')](_0x572f('0x57'),_0x3fd130,_0x572f('0x36'));return this[_0x572f('0xcc')](()=>_0x2f90e0(_0x2d5143,_0x950ad3,_0x13987b)),null;}_0x53ff6a[_0x572f('0x157')](..._0x2d5143);let _0x332a18=!0x0;for(const _0x15822f of _0x53ff6a)if(!this[_0x572f('0xda')](_0x15822f)){_0x332a18=!0x1;break;}if(_0x332a18&&_0x572f('0x32')!==this[_0x572f('0x10')]){const _0x423f47=this[_0x572f('0xe2')][_0x572f('0xef')](_0x572f('0x57'),_0x3fd130,'accept');return this[_0x572f('0xcc')](()=>_0x423f47(_0x2d5143,_0x950ad3,_0x13987b)),null;}const _0x3e1fd8=this['editor'][_0x572f('0x126')][_0x572f('0x141')]('Users')['me'];for(const _0x3e526a of this['getSuggestions']()){if(_0x3e526a[_0x572f('0xc2')]['id']!=_0x3e1fd8['id'])continue;if(_0x572f('0x57')!=_0x3e526a[_0x572f('0x68')]||_0x3e526a[_0x572f('0xf7')]['formatGroupId']!=_0x950ad3[_0x572f('0x41')])continue;if(!Vt(_0x3e526a,_0x13987b))continue;const _0x29edbc=_0x3e526a[_0x572f('0x45')]==_0x3fd130;for(let _0x143ec8=0x0;_0x143ec8<_0x2d5143[_0x572f('0x11a')];_0x143ec8++){const _0x42fd11=_0x2d5143[_0x143ec8];for(const _0x3c3bf5 of _0x3e526a[_0x572f('0x14d')]()){const _0x228724=_0x3c3bf5[_0x572f('0x6c')]();if(_0x42fd11['isEqual'](_0x228724)){_0x29edbc?(_0x2d5143[_0x572f('0x80')](_0x143ec8,0x1),_0x143ec8--):_0x3e526a['removeMarker'](_0x3c3bf5[_0x572f('0x4e')]);break;}}}}if(0x0==_0x2d5143['length'])return null;const _0x50c521=this[_0x572f('0xe2')]['getSuggestionCallback']('formatBlock',_0x3fd130,_0x572f('0x100'));for(const _0x54ba97 of this['getSuggestions']())if(_0x54ba97[_0x572f('0xc2')]['id']==_0x3e1fd8['id']&&_0x572f('0x57')==_0x54ba97[_0x572f('0x68')]&&_0x54ba97[_0x572f('0xf7')][_0x572f('0x41')]==_0x950ad3[_0x572f('0x41')]&&_0x54ba97[_0x572f('0x45')]==_0x3fd130&&Vt(_0x54ba97,_0x13987b)&&(_0x50c521(_0x54ba97[_0x572f('0xc')](),_0x2d5143)||_0x50c521(_0x2d5143,_0x54ba97[_0x572f('0xc')]()))){for(const _0x4403eb of _0x2d5143)_0x54ba97[_0x572f('0x172')](_0x4403eb);return _0x54ba97;}const _0x535d66=_0x3aeeef(),_0x5d2d4a=_0x3e1fd8['id'],_0x3a6523=_0x572f('0xf')+_0x3fd130,_0x22a502=this['_setSuggestionData']({'id':_0x535d66,'type':_0x3a6523,'data':_0x950ad3,'createdAt':new Date(),'authorId':_0x5d2d4a,'attributes':_0x13987b});for(const _0x39b397 of _0x2d5143)this['_addSuggestionMarker'](_0x3a6523,_0x535d66,_0x5d2d4a,_0x39b397,_0x25752f[_0x572f('0x13d')]());return _0x22a502;}['markDeletion'](_0x402896,_0x3b616c=null,_0x4fb23f={}){if(_0x402896['isCollapsed'])return null;const _0xe9c148=this[_0x572f('0x4a')][_0x572f('0x126')][_0x572f('0x141')](_0x572f('0x54'))['me'],_0x3460be=new _0x4a8ee2(_0x402896[_0x572f('0x18')],_0x402896[_0x572f('0x23')]);for(const {suggestion:_0xe12684,meta:_0x1d5006}of this[_0x572f('0xde')](_0x3460be,'insertion'))if(_0x1d5006[_0x572f('0x38')]&&!_0x1d5006[_0x572f('0x92')]){if(_0xe12684[_0x572f('0x1')]){const _0x49acc2=_0xe12684[_0x572f('0xc')]()['filter'](_0x472665=>_0x572f('0x156')!=_0x472665[_0x572f('0xc1')]['rootName']);_0x49acc2[_0x572f('0x175')](_0x168ced=>_0x3460be['containsRange'](_0x168ced,!0x0))&&_0xe12684['discard']();if(_0x49acc2[_0x572f('0x10b')](_0x18be34=>_0x18be34[_0x572f('0xc5')](_0x3460be,!0x0))){const _0x44821c=this[_0x572f('0xe2')]['getSuggestionCallback'](_0x572f('0xfc'),_0x3b616c,'accept');return this[_0x572f('0xcc')](()=>_0x44821c([_0x3460be],null,_0x4fb23f)),null;}}else{const _0x3c5af3=_0x3460be[_0x572f('0xd0')](_0xe12684[_0x572f('0x12a')]());null!==_0x3c5af3&&_0xe12684[_0x572f('0x104')]([_0x3c5af3],null,_0x4fb23f);}}if(_0x3460be[_0x572f('0x25')](),_0x3460be['isCollapsed']||_0x572f('0x156')==_0x3460be[_0x572f('0xc1')]['rootName'])return null;let _0x3ec3f4=null,_0x5b509c=_0x3460be[_0x572f('0x18')],_0x6851b5=_0x3460be[_0x572f('0x23')];const _0x55e058=this[_0x572f('0xde')](_0x3460be,_0x572f('0xfc'));for(const {suggestion:_0x8537b7,meta:_0x1f814e}of _0x55e058){const _0x44c2f1=this['_model'][_0x572f('0x117')](_0x5b509c,_0x6851b5);if(_0x1f814e[_0x572f('0x38')]&&(this['_mergeNestedSuggestions']||!_0x1f814e[_0x572f('0x49')]&&!_0x1f814e[_0x572f('0x60')])){if(_0x8537b7[_0x572f('0x1')]){if(!Vt(_0x8537b7,_0x4fb23f))continue;let _0x574bc9=!0x0;for(const _0x5c53c1 of _0x8537b7[_0x572f('0xc')]()){if(_0x5c53c1[_0x572f('0xc5')](_0x44c2f1,!0x0))return _0x8537b7;_0x44c2f1['containsRange'](_0x5c53c1)||(_0x574bc9=!0x1);}_0x574bc9&&_0x8537b7[_0x572f('0x7a')]();}else{const _0x5eb6e7=_0x8537b7[_0x572f('0x12a')]();if(_0x5eb6e7['containsRange'](_0x44c2f1,!0x0))return _0x8537b7;if(!Vt(_0x8537b7,_0x4fb23f)){_0x44c2f1[_0x572f('0xc5')](_0x5eb6e7)?_0x8537b7['removeMarkers']():_0x5eb6e7[_0x572f('0xa9')](_0x5b509c)?_0x5b509c=_0x5eb6e7['end']:_0x5eb6e7[_0x572f('0xa9')](_0x6851b5)&&(_0x6851b5=_0x5eb6e7[_0x572f('0x18')]);continue;}_0x5b509c=_0x5b509c[_0x572f('0x12b')](_0x5eb6e7[_0x572f('0x18')])?_0x5b509c:_0x5eb6e7['start'],_0x6851b5=_0x6851b5['isAfter'](_0x5eb6e7[_0x572f('0x23')])?_0x6851b5:_0x5eb6e7[_0x572f('0x23')],_0x4fb23f=Object[_0x572f('0x163')]({},_0x8537b7[_0x572f('0xb2')]),_0x3ec3f4?_0x5eb6e7[_0x572f('0x18')][_0x572f('0x12b')](_0x3ec3f4[_0x572f('0x12a')]()['start'])?(_0x3ec3f4[_0x572f('0x16b')](),_0x3ec3f4=_0x8537b7):_0x8537b7['removeMarkers']():_0x3ec3f4=_0x8537b7;}}}if(_0x3ec3f4)return this['_setSuggestionRange'](_0x3ec3f4,this[_0x572f('0x136')]['createRange'](_0x5b509c,_0x6851b5)),_0x3ec3f4;{const _0x249b36=_0x3aeeef(),_0x5f04e5=this[_0x572f('0x136')][_0x572f('0x117')](_0x5b509c,_0x6851b5),_0x542121=_0xe9c148['id'],_0x32fafb=_0x3b616c?_0x572f('0x4f')+_0x3b616c:_0x572f('0xfc'),_0x1a9258=this[_0x572f('0x137')]({'id':_0x249b36,'type':_0x32fafb,'createdAt':new Date(),'authorId':_0x542121,'attributes':_0x4fb23f});return this['_addSuggestionMarker'](_0x32fafb,_0x249b36,_0x542121,_0x5f04e5),_0x1a9258;}}[_0x572f('0x63')](_0x7f49fb,_0x3d5116='multi',_0x461188={}){const _0x37e419=this[_0x572f('0x4a')][_0x572f('0x126')]['get'](_0x572f('0x54'))['me'],_0x5b6044=_0x7f49fb[_0x572f('0x10f')](_0x3d3a92=>new _0x4a8ee2(_0x3d3a92['start'],_0x3d3a92[_0x572f('0x23')])),_0x149b26=new Set();for(const {suggestion:_0x4d229e,meta:_0x189a03}of this[_0x572f('0xde')](_0x5b6044,'insertion'))_0x189a03[_0x572f('0x38')]&&!_0x189a03['isNextTo']&&_0x149b26['add'](_0x4d229e);for(const _0x19305b of _0x149b26)if(_0x19305b['isMultiRange']){const _0x52f81a=_0x19305b[_0x572f('0xc')]();(!_0x19305b[_0x572f('0xb2')]||!_0x19305b[_0x572f('0xb2')]['skipNestingCheck'])&&(_0x52f81a[_0x572f('0x175')](_0x46a65e=>_0x5b6044['some'](_0x1bbd39=>_0x1bbd39[_0x572f('0xc5')](_0x46a65e,!0x0)))&&_0x19305b[_0x572f('0x7a')]());if(_0x5b6044['every'](_0x5aff99=>_0x52f81a[_0x572f('0x10b')](_0x298326=>_0x298326[_0x572f('0xc5')](_0x5aff99,!0x0)))){const _0x3e24f7=this[_0x572f('0xe2')][_0x572f('0xef')](_0x572f('0xfc'),_0x3d5116,_0x572f('0x36'));return this[_0x572f('0xcc')](()=>_0x3e24f7(_0x7f49fb,null,_0x461188)),null;}}else{const _0x1b61db=_0x19305b[_0x572f('0x12a')]();_0x5b6044[_0x572f('0x10b')](_0x10ebf5=>_0x10ebf5['containsRange'](_0x1b61db,!0x0))&&_0x19305b[_0x572f('0x7a')]();if(_0x5b6044['every'](_0x2c4529=>_0x1b61db[_0x572f('0xc5')](_0x2c4529,!0x0))){const _0x203c17=this[_0x572f('0xe2')][_0x572f('0xef')](_0x572f('0xfc'),_0x3d5116,_0x572f('0x36'));return this['forceDefaultExecution'](()=>_0x203c17(_0x5b6044,null,_0x461188)),null;}}const _0x1b842b=this[_0x572f('0xe2')]['getSuggestionCallback'](_0x572f('0xfc'),_0x3d5116,_0x572f('0x100'));let _0x26dfc4=null;for(const _0x21623e of this[_0x572f('0x16a')]())if(_0x21623e[_0x572f('0xc2')]['id']==_0x37e419['id']&&_0x21623e[_0x572f('0x177')]&&'deletion'==_0x21623e[_0x572f('0x68')]&&_0x21623e[_0x572f('0x45')]==_0x3d5116&&Vt(_0x21623e,_0x461188)&&(_0x1b842b(_0x21623e[_0x572f('0xc')](),_0x5b6044)||_0x1b842b(_0x5b6044,_0x21623e[_0x572f('0xc')]()))){if(_0x26dfc4){if(_0x21623e[_0x572f('0x2a')]&&_0x21623e[_0x572f('0x2a')][_0x572f('0x11a')])continue;for(const _0x495baa of _0x21623e['getRanges']())_0x26dfc4['isIntersectingWithRange'](_0x495baa)||_0x26dfc4[_0x572f('0x172')](_0x495baa);_0x21623e[_0x572f('0x16b')]();}else{_0x26dfc4=_0x21623e;for(const _0x1c9ecb of _0x5b6044)_0x21623e[_0x572f('0xb4')](_0x1c9ecb)||_0x21623e[_0x572f('0x172')](_0x1c9ecb);}}if(_0x26dfc4)return _0x26dfc4;_0x149b26[_0x572f('0x52')]();for(const {suggestion:_0x19378c,meta:_0x2b2666}of this['_findSuggestions'](_0x5b6044,_0x572f('0xfc')))_0x2b2666[_0x572f('0x38')]&&(this[_0x572f('0xad')]||!_0x2b2666[_0x572f('0x49')]&&!_0x2b2666[_0x572f('0x60')])&&Vt(_0x19378c,_0x461188)&&_0x149b26[_0x572f('0x125')](_0x19378c);for(const _0x420df9 of _0x149b26){const _0x4aeb9f=_0x420df9['getRanges']();if(!_0x461188||!_0x461188['skipNestingCheck']){if(_0x5b6044[_0x572f('0x175')](_0x2688d8=>_0x4aeb9f[_0x572f('0x10b')](_0x410756=>_0x410756['containsRange'](_0x2688d8,!0x0))))return _0x420df9;}(!_0x420df9[_0x572f('0xb2')]||!_0x420df9[_0x572f('0xb2')][_0x572f('0x90')])&&(_0x4aeb9f[_0x572f('0x175')](_0x49c5cd=>_0x5b6044[_0x572f('0x10b')](_0x4e2695=>_0x4e2695[_0x572f('0xc5')](_0x49c5cd,!0x0)))&&_0x420df9['discard']());}const _0x30b2db=_0x3aeeef(),_0x52a2b2=_0x37e419['id'],_0x10766a=_0x572f('0x4f')+_0x3d5116,_0x4b5097=this[_0x572f('0x137')]({'id':_0x30b2db,'type':_0x10766a,'createdAt':new Date(),'authorId':_0x52a2b2,'attributes':_0x461188});for(const _0x5083ce of _0x5b6044)_0x5083ce[_0x572f('0x25')](),_0x5083ce['isCollapsed']||_0x572f('0x156')==_0x5083ce[_0x572f('0xc1')][_0x572f('0x71')]||this[_0x572f('0x8f')](_0x10766a,_0x30b2db,_0x52a2b2,_0x5083ce,_0x25752f[_0x572f('0x13d')]());return _0x4b5097;}[_0x572f('0x34')](_0x34241f,_0x308c71,_0x52c9b3,_0x2db84e,_0x13ec87,_0x1ddd6e={}){if(_0x34241f[_0x572f('0x160')])return[];if(_0x572f('0x152')===this[_0x572f('0x10')])return[];const _0x4eee29=this['editor'][_0x572f('0x126')]['get'](_0x572f('0x54'))['me']['id'],_0x195fc7=Array[_0x572f('0xcf')](this[_0x572f('0x109')][_0x572f('0xe6')]())[_0x572f('0x7c')](_0x2b3e9e=>_0x572f('0x43')==_0x2b3e9e['type']&&_0x2b3e9e['data']['key']==_0x308c71&&_0x2b3e9e['isIntersectingWithRange'](_0x34241f));if('default'===this[_0x572f('0x10')]){const _0x46f010=this['_findSuggestions'](_0x34241f,'insertion')[_0x572f('0x7c')](({meta:_0x3631a8})=>_0x3631a8['isOwn']&&!_0x3631a8[_0x572f('0x60')]&&!_0x3631a8['isNextTo'])[_0x572f('0x10f')](({suggestion:_0x21d8cc})=>_0x21d8cc);_0x195fc7['unshift'](..._0x46f010);}const _0x2df981=new Map([[_0x34241f,_0x52c9b3]]);for(const _0x52c9a4 of _0x195fc7){const _0x54416b=_0x572f('0x43')==_0x52c9a4[_0x572f('0x68')]?_0x52c9a4[_0x572f('0xf7')]['oldValue']:void 0x0,_0x4b29e4=_0x52c9a4[_0x572f('0x12a')](),_0xe2d6df=Array[_0x572f('0xcf')](_0x2df981['keys']())[_0x572f('0x1a')](_0x5a38e8=>_0x5a38e8['isIntersecting'](_0x4b29e4));if(_0xe2d6df){if(_0x2df981[_0x572f('0xac')](_0xe2d6df),this['_isBlockAttribute'](_0x308c71))_0xe2d6df[_0x572f('0x111')](_0x4b29e4)[_0x572f('0x11a')]>0x0&&_0x2df981[_0x572f('0x127')](_0xe2d6df,_0x52c9b3);else _0xe2d6df[_0x572f('0x111')](_0x4b29e4)[_0x572f('0x1e')](_0x57cc55=>{_0x2df981[_0x572f('0x127')](_0x57cc55,_0x52c9b3);});'insertion'!=_0x52c9a4[_0x572f('0x68')]&&_0x54416b!=_0x2db84e&&_0x2df981[_0x572f('0x127')](_0xe2d6df[_0x572f('0xd0')](_0x4b29e4),_0x54416b);}}const _0x4b6b10=[];for(const [_0x5d078a,_0x2a5a93]of _0x2df981){const _0x1f1543=_0x3aeeef(),_0x3a2b5b={'key':_0x308c71,'oldValue':_0x2a5a93,'newValue':_0x2db84e,'batchId':_0x13ec87},_0x46c031=_0x572f('0x140')+(_0x308c71[_0x572f('0x7e')](0x0,0x25)+'|'+Et({'newValue':_0x2db84e})),_0x1675bb=this[_0x572f('0x137')]({'id':_0x1f1543,'type':_0x46c031,'data':_0x3a2b5b,'createdAt':new Date(),'authorId':_0x4eee29,'attributes':_0x1ddd6e});_0x4b6b10[_0x572f('0x157')](_0x1675bb),this[_0x572f('0x8f')](_0x46c031,_0x1f1543,_0x4eee29,_0x5d078a);}return _0x4b6b10;}[_0x572f('0x162')](_0x3a534c){this['_blockAttributeKeys'][_0x572f('0x125')](_0x3a534c);}[_0x572f('0xfe')](_0x351eec){this[_0x572f('0xea')][_0x572f('0x125')](_0x351eec);}['enableDefaultIntegration'](_0x5f32e2,_0x11e397=[],_0x2c9f2d=[]){this[_0x572f('0x130')](_0x5f32e2,(_0x4e6654,..._0xc7bc8a)=>{this[_0x572f('0xae')](()=>{_0x4e6654(..._0xc7bc8a);});});for(const _0x97a718 of _0x11e397)this[_0x572f('0xfe')](_0x97a718);for(const _0x2babdf of _0x2c9f2d)this[_0x572f('0x162')](_0x2babdf);}[_0x572f('0xa5')](_0x2ed9c2,_0x410c31){const _0x161f46=_0x2ed9c2['getFirstMarker']();this[_0x572f('0x136')][_0x572f('0x166')](_0x340a75=>{_0x340a75[_0x572f('0xdf')](_0x161f46,{'range':_0x410c31});});}[_0x572f('0x145')](_0x5c33ac){const _0x4443ea=_0x5c33ac['id'],_0x6033d=this['editor'][_0x572f('0x108')][_0x572f('0x141')]('collaboration.channelId');this[_0x572f('0xa6')][_0x572f('0x16d')](_0x4443ea)||this[_0x572f('0xa6')][_0x572f('0x15a')]({'channelId':_0x6033d,'threadId':_0x4443ea,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x52686b=this[_0x572f('0xa6')][_0x572f('0x5e')](_0x4443ea);_0x52686b['unbind'](_0x572f('0x120')),_0x52686b[_0x572f('0x120')]=!0x1,_0x5c33ac['commentThread']=_0x52686b;}[_0x572f('0x99')](_0x32d69f,_0x446f01,_0x64c836,_0x445bcb){if(_0x32d69f['type']!=_0x446f01||_0x32d69f['subType']!=_0x64c836||_0x32d69f[_0x572f('0xa7')]['id']!=_0x445bcb)throw this[_0x572f('0x4a')][_0x572f('0xee')](_0x572f('0x6b')),new _0x4356a9(_0x572f('0x6b'),this);}[_0x572f('0x20')](_0x98c9b2,_0x403cda){const _0x5c3028=_0x98c9b2[_0x572f('0x12a')]();if(_0x403cda['isEqual'](_0x5c3028))_0x98c9b2[_0x572f('0x16b')]();else{if(_0x5c3028[_0x572f('0xc5')](_0x403cda)){const _0x3e6f36=this[_0x572f('0x136')]['createPositionAt'](_0x403cda['start'][_0x572f('0x15e')],_0x572f('0x23'));this[_0x572f('0xa5')](_0x98c9b2,this[_0x572f('0x136')][_0x572f('0x117')](_0x5c3028[_0x572f('0x18')],_0x3e6f36));const _0x42000c=_0x3aeeef(),_0x1f496c=_0x98c9b2['creator']['id'],_0x461ebc=_0x98c9b2[_0x572f('0x68')]+':'+_0x98c9b2[_0x572f('0x45')];this[_0x572f('0x137')]({'id':_0x42000c,'type':_0x461ebc,'createdAt':new Date(),'authorId':_0x1f496c,'data':_0x98c9b2[_0x572f('0xf7')],'attributes':_0x98c9b2[_0x572f('0xb2')]});const _0x2947a8=this['_model'][_0x572f('0x13e')](_0x403cda[_0x572f('0x23')][_0x572f('0xc4')],_0x572f('0x35')),_0x214c4e=this['_model'][_0x572f('0x117')](_0x2947a8,_0x5c3028[_0x572f('0x23')]);this[_0x572f('0x8f')](_0x461ebc,_0x42000c,_0x1f496c,_0x214c4e);}else{if(_0x5c3028[_0x572f('0xa9')](_0x403cda['start'])){const _0x56f0df=this[_0x572f('0x136')][_0x572f('0x13e')](_0x403cda[_0x572f('0x18')][_0x572f('0x15e')],_0x572f('0x23'));this['_setSuggestionRange'](_0x98c9b2,this[_0x572f('0x136')][_0x572f('0x117')](_0x5c3028[_0x572f('0x18')],_0x56f0df));}else{const _0x911746=this[_0x572f('0x136')][_0x572f('0x13e')](_0x403cda[_0x572f('0x23')][_0x572f('0xc4')],_0x572f('0x35'));this[_0x572f('0xa5')](_0x98c9b2,this[_0x572f('0x136')][_0x572f('0x117')](_0x911746,_0x5c3028[_0x572f('0x23')]));}}}}[_0x572f('0xda')](_0x21560d){for(const {suggestion:_0x1b98f4,meta:_0x47b057}of this[_0x572f('0xde')](_0x21560d,'insertion')){if(!_0x47b057[_0x572f('0x38')])continue;const _0x10be4c=_0x1b98f4[_0x572f('0xc')]();for(const _0x588436 of _0x10be4c)if(!_0x21560d[_0x572f('0x111')](_0x588436)[_0x572f('0x11a')])return!0x0;}return!0x1;}[_0x572f('0x2')](_0x1825c5){const _0x3ae390=this[_0x572f('0x4a')][_0x572f('0x126')][_0x572f('0x141')]('Users')['getUser'](_0x1825c5);if(!_0x3ae390)throw new _0x4356a9('track-changes-user-not-found',this);return _0x3ae390;}[_0x572f('0x11d')](_0x13bd01){const _0x4f7214=this[_0x572f('0x4a')][_0x572f('0x126')]['get'](_0x572f('0x54')),_0x4674e2=_0x2b427a(_0x572f('0xd9')+_0x13bd01),_0x380243=_0x4f7214[_0x572f('0x14e')](_0x4674e2);return _0x380243||_0x4f7214['addUser']({'id':_0x4674e2,'name':_0x13bd01});}[_0x572f('0xe9')](_0x272f1a,_0x3660e0,_0x13aece,_0x4bfa7f,_0x3ebc0a){const _0x5f20a4=this[_0x572f('0x2')](_0x4bfa7f),_0x213093=this[_0x572f('0xe2')]['buildSuggestion'](_0x272f1a,_0x3660e0,_0x13aece,_0x5f20a4,_0x3ebc0a,_0x1867f9=>this[_0x572f('0x3a')](_0x13aece,{'attributes':_0x1867f9}));return this[_0x572f('0x7d')](_0x213093,_0x572f('0x36'),()=>{this[_0x572f('0x3a')](_0x13aece,{'state':_0x572f('0x8e')});},{'priority':'high'}),this[_0x572f('0x7d')](_0x213093,_0x572f('0x7a'),()=>{this[_0x572f('0x3a')](_0x13aece,{'state':'rejected'});},{'priority':_0x572f('0xec')}),this[_0x572f('0x109')][_0x572f('0x127')](_0x13aece,_0x213093),this['_suggestionState']['set'](_0x213093,_0x572f('0x9f')),_0x213093;}['_splitMarkerName'](_0x43e78a){const _0xaeecfb=_0x43e78a['split'](':');return{'group':_0xaeecfb[0x0],'type':_0xaeecfb[0x1],'subType':_0xaeecfb[_0x572f('0x11a')]>=0x5?_0xaeecfb[0x2]:null,'id':_0xaeecfb[_0x572f('0x11a')]<0x5?_0xaeecfb[0x2]:_0xaeecfb[0x3],'authorId':_0xaeecfb['length']<0x5?_0xaeecfb[0x3]:_0xaeecfb[0x4],'markerCount':0x6==_0xaeecfb[_0x572f('0x11a')]?_0xaeecfb[0x5]:null};}[_0x572f('0xcd')](_0x2c9f0e,_0x35253e,_0x495bac){const _0x59c2a5=_0x2c9f0e['getFirstRange'](),_0x51ebac=_0x59c2a5[_0x572f('0x18')],_0x48f429=_0x59c2a5['end'];this[_0x572f('0xa5')](_0x2c9f0e,this[_0x572f('0x136')][_0x572f('0x117')](_0x51ebac,_0x35253e));const _0x22cf84=_0x3aeeef(),_0x69e534=_0x2c9f0e['creator']['id'],_0x794b0c=_0x2c9f0e['type']+(_0x2c9f0e[_0x572f('0x45')]?':'+_0x2c9f0e[_0x572f('0x45')]:'');this[_0x572f('0x137')]({'id':_0x22cf84,'type':_0x794b0c,'createdAt':new Date(),'authorId':_0x69e534,'originalSuggestionId':_0x2c9f0e['id'],'attributes':_0x2c9f0e['attributes'],'data':_0x2c9f0e[_0x572f('0xf7')]});const _0x319cbc=this[_0x572f('0x11c')](_0x2c9f0e);(_0x572f('0x57')==_0x2c9f0e[_0x572f('0x68')]||_0x319cbc&&this[_0x572f('0x48')](_0x319cbc))&&(_0x495bac=this[_0x572f('0x136')][_0x572f('0x7f')](_0x495bac[_0x572f('0xc4')])),this[_0x572f('0x8f')](_0x794b0c,_0x22cf84,_0x69e534,this['_model']['createRange'](_0x495bac,_0x48f429));}['_findSuggestions'](_0x35454f,_0x227003=null){const _0xe94a62=[],_0x3d9595=this[_0x572f('0x4a')][_0x572f('0x126')][_0x572f('0x141')](_0x572f('0x54'))['me'];Array[_0x572f('0x174')](_0x35454f)||(_0x35454f=[_0x35454f]);for(const _0x17a0f0 of this[_0x572f('0x16a')]()){if(!_0x17a0f0[_0x572f('0x177')])continue;if(_0x227003&&_0x17a0f0['type']!=_0x227003)continue;let _0x2f89b1=!0x1;for(const _0x32ab4a of _0x17a0f0[_0x572f('0xc')]()){for(const _0x45cd06 of _0x35454f){const _0x24372b=_0x45cd06[_0x572f('0x18')][_0x572f('0xa1')](_0x32ab4a[_0x572f('0x23')])||_0x45cd06[_0x572f('0x23')][_0x572f('0xa1')](_0x32ab4a[_0x572f('0x18')]);if(_0x24372b||_0x45cd06[_0x572f('0xd0')](_0x32ab4a)){const _0x32de6d=_0x45cd06[_0x572f('0xc5')](_0x32ab4a)&&Bt(this['_model']['schema'],_0x32ab4a[_0x572f('0x18')],_0x45cd06),_0x489d1a=_0x32ab4a[_0x572f('0xc5')](_0x45cd06)&&Bt(this[_0x572f('0x136')]['schema'],_0x45cd06['start'],_0x32ab4a);_0xe94a62[_0x572f('0x157')]({'suggestion':_0x17a0f0,'meta':{'isOwn':_0x3d9595==_0x17a0f0['author'],'isNextTo':_0x24372b,'isInsideObject':_0x32de6d,'containsRangeInObject':_0x489d1a}}),_0x2f89b1=!0x0;break;}}if(_0x2f89b1)break;}}return _0xe94a62;}[_0x572f('0x8f')](_0x5568a5,_0x1548ed,_0x55a63f,_0x4d1480,_0x4406c3){this['_model']['change'](_0x24b8aa=>{let _0x38a933=_0x572f('0x3b')+_0x5568a5+':'+_0x1548ed+':'+_0x55a63f;_0x4406c3&&(_0x38a933=_0x38a933+':'+_0x4406c3),_0x24b8aa[_0x572f('0x98')](_0x38a933,{'range':_0x4d1480,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x572f('0x30')](_0x171000){const _0x61d772=_0x171000['previous'],_0x3bcd79=_0x171000[_0x572f('0x161')];_0x171000[_0x572f('0x2f')]=null,_0x171000[_0x572f('0x161')]=null,null!=_0x61d772&&(_0x61d772[_0x572f('0x161')]=_0x3bcd79),null!=_0x3bcd79&&(_0x3bcd79['previous']=_0x61d772),_0x572f('0xe8')==this['_suggestionState']['get'](_0x171000)&&(this[_0x572f('0x153')][_0x572f('0x127')](_0x171000,_0x572f('0x96')),this[_0x572f('0x159')](_0x572f('0xe4'),_0x171000,_0x61d772,_0x3bcd79));}['_setSuggestionData'](_0x53f350){const _0x2d6b2f=_0x53f350['id'],_0x197b4d=this[_0x572f('0x12e')](_0x53f350);if(this[_0x572f('0xe0')]&&this[_0x572f('0xe0')][_0x572f('0x178')]){const _0x4384b5=this[_0x572f('0x4a')][_0x572f('0x126')]['get'](_0x572f('0x101')),_0x87c603=_0x197b4d['hasComments'],_0x160598=_0x197b4d['subType']?_0x197b4d[_0x572f('0x68')]+':'+_0x197b4d['subType']:_0x197b4d['type'],_0xcfdf15=this['editor']['locale'],_0x24dd7d=_0x4384b5[_0x572f('0x125')](_0x4b7ce6(_0xcfdf15,'PENDING_ACTION_SUGGESTION')),_0x2c2344={'id':_0x2d6b2f,'type':_0x160598,'hasComments':_0x87c603,'data':_0x53f350[_0x572f('0xf7')]||null,'originalSuggestionId':_0x53f350[_0x572f('0x19')]||null,'attributes':_0x197b4d['attributes']};this[_0x572f('0xe0')][_0x572f('0x178')](_0x2c2344)['then'](_0x15250b=>{_0x197b4d[_0x572f('0xe5')]=!0x0,_0x4384b5[_0x572f('0x95')](_0x24dd7d),_0x15250b&&_0x15250b[_0x572f('0x13')]&&(this[_0x572f('0x109')]['get'](_0x2d6b2f)[_0x572f('0x13')]=_0x15250b['createdAt']);})[_0x572f('0x154')](_0x66800=>{throw _0x28396b(_0x572f('0x102')),this[_0x572f('0x4a')]['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x197b4d[_0x572f('0x7a')]();}),_0x197b4d[_0x572f('0xa0')](),this['_suggestions'][_0x572f('0xac')](_0x197b4d['id']),this['_suggestionState'][_0x572f('0xac')](_0x197b4d),_0x66800;});}return _0x197b4d;}[_0x572f('0x48')](_0xda3397){return this[_0x572f('0xeb')][_0x572f('0x65')](_0xda3397);}[_0x572f('0x11c')](_0x46becf){return _0x572f('0x43')==_0x46becf[_0x572f('0x68')]&&_0x46becf['subType'][_0x572f('0xd6')]('|')[0x0];}[_0x572f('0x3a')](_0x3907a3,_0x1b70ce){const _0x828361=this[_0x572f('0x4a')][_0x572f('0x126')][_0x572f('0x141')](_0x572f('0x101')),_0x561d33=this[_0x572f('0xf5')](_0x3907a3);if(this['_adapter']&&this[_0x572f('0xe0')][_0x572f('0x16')]){if(_0x561d33[_0x572f('0xe5')]){const _0xb1673e=_0x828361[_0x572f('0x125')](_0x4b7ce6(this['editor']['locale'],_0x572f('0x11')));this[_0x572f('0xe0')][_0x572f('0x16')](_0x3907a3,_0x1b70ce)[_0x572f('0x150')](()=>{_0x828361[_0x572f('0x95')](_0xb1673e);});}else _0x561d33['on'](_0x572f('0xd5'),()=>{this[_0x572f('0x3a')](_0x3907a3,_0x1b70ce);});}}[_0x572f('0x10d')](_0x57448b){if(!this[_0x572f('0xe0')]||!this[_0x572f('0xe0')][_0x572f('0xf5')])throw new _0x4356a9('track-changes-adapter-missing-getsuggestion',this);return this['_adapter'][_0x572f('0xf5')](_0x57448b);}[_0x572f('0x39')](_0x234168){const {id:_0x32c406,type:_0x4bc001,subType:_0x4139cf,authorId:_0x4db777}=this[_0x572f('0x2e')](_0x234168),_0x40b96a=this['_suggestions'][_0x572f('0x141')](_0x32c406)||this['_createSuggestion'](_0x4bc001,_0x4139cf,_0x32c406,_0x4db777,{});switch(this[_0x572f('0x99')](_0x40b96a,_0x4bc001,_0x4139cf,_0x4db777),this[_0x572f('0x153')][_0x572f('0x141')](_0x40b96a)){case _0x572f('0x9f'):this[_0x572f('0x10d')](_0x32c406)['then'](_0x575eee=>{let _0x4dca8b=Promise[_0x572f('0x81')]();_0x575eee[_0x572f('0x15d')]&&(_0x4dca8b=this[_0x572f('0xa6')]['fetchCommentThread']({'channelId':this[_0x572f('0x4a')][_0x572f('0x108')][_0x572f('0x141')](_0x572f('0xd3')),'threadId':_0x32c406})),_0x4dca8b[_0x572f('0x150')](()=>{this[_0x572f('0x12e')](_0x575eee)[_0x572f('0xe5')]=!0x0;});}),this[_0x572f('0x153')][_0x572f('0x127')](_0x40b96a,_0x572f('0x75'));break;case _0x572f('0x96'):this[_0x572f('0x3a')](_0x32c406,{'state':_0x572f('0x53')});case _0x572f('0x83'):this['_suggestionState'][_0x572f('0x127')](_0x40b96a,'ready'),this[_0x572f('0x159')](_0x572f('0xf9'),_0x40b96a);break;case _0x572f('0xe8'):this[_0x572f('0x159')](_0x572f('0x3c'),_0x40b96a);}return _0x40b96a['addMarkerName'](_0x234168),_0x40b96a;}[_0x572f('0x85')](_0x52afa4){const _0x50b3a9=Array[_0x572f('0xcf')](_0x52afa4),_0x45954d=_0x50b3a9[_0x572f('0x7c')](_0x50bef8=>_0x572f('0x43')==_0x50bef8[_0x572f('0x68')]);this[_0x572f('0x4b')](_0x45954d);const _0x46cdf4=_0x50b3a9['filter'](_0x528ad1=>!_0x528ad1[_0x572f('0x1')]&&_0x572f('0x43')!=_0x528ad1[_0x572f('0x68')]),_0x2176fd=this[_0x572f('0x16a')]({'skipNotAttached':!0x0})[_0x572f('0x7c')](_0x451eb0=>!_0x451eb0[_0x572f('0x1')]&&'attribute'!=_0x451eb0[_0x572f('0x68')]),_0x55e8db=_0x2176fd[_0x572f('0x7c')](_0x39a8af=>!_0x52afa4[_0x572f('0x65')](_0x39a8af)),_0x30d3fe=new Map(_0x2176fd['map'](_0x4fa7d6=>[_0x4fa7d6,this[_0x572f('0xe2')][_0x572f('0xef')](_0x4fa7d6[_0x572f('0x68')],_0x4fa7d6[_0x572f('0x45')],_0x572f('0xdc'))])),_0x2a78a1=new Map(_0x2176fd[_0x572f('0x10f')](_0x569f84=>[_0x569f84,_0x569f84['getFirstRange']()])),_0x4f4a18=new Set(),_0x4a2d14=new Set();for(let _0x3e68b6=0x0;_0x3e68b6<_0x46cdf4['length'];_0x3e68b6++)_0x39f5ab(_0x46cdf4[_0x3e68b6],_0x46cdf4,_0x3e68b6+0x1);for(let _0x14136f=0x0;_0x14136f<_0x46cdf4[_0x572f('0x11a')];_0x14136f++)_0x39f5ab(_0x46cdf4[_0x14136f],_0x55e8db,0x0);const _0x11dd48=new Set();for(let _0x52f087=0x0;_0x52f087<_0x46cdf4['length'];_0x52f087++){const _0x39875d=_0x46cdf4[_0x52f087];!_0x4a2d14['has'](_0x39875d)&&_0x39875d[_0x572f('0x2f')]&&(_0x11dd48[_0x572f('0x125')](_0x39875d['previous']),_0x39875d[_0x572f('0x2f')]['next']===_0x39875d&&(_0x39875d[_0x572f('0x2f')][_0x572f('0x161')]=null),_0x39875d[_0x572f('0x2f')]=null),!_0x4f4a18[_0x572f('0x65')](_0x39875d)&&_0x39875d['next']&&(_0x11dd48[_0x572f('0x125')](_0x39875d[_0x572f('0x161')]),_0x39875d[_0x572f('0x161')][_0x572f('0x2f')]===_0x39875d&&(_0x39875d[_0x572f('0x161')]['previous']=null),_0x39875d[_0x572f('0x161')]=null);}function _0x39f5ab(_0x44a5ae,_0x3d8010,_0x2ac607){for(let _0x34c6d0=_0x2ac607;_0x34c6d0<_0x3d8010[_0x572f('0x11a')];_0x34c6d0++){const _0x56137e=_0x3ebbb8(_0x44a5ae,_0x3d8010[_0x34c6d0]);_0x56137e&&(_0x56137e[0x0]['next']=_0x56137e[0x1],_0x56137e[0x1][_0x572f('0x2f')]=_0x56137e[0x0],_0x4f4a18['add'](_0x56137e[0x0]),_0x4a2d14['add'](_0x56137e[0x1]));}}function _0x3ebbb8(_0x3b65ae,_0x2e71e4){if(_0x3b65ae[_0x572f('0xc2')]['id']!==_0x2e71e4[_0x572f('0xc2')]['id'])return null;const _0xa1d5d5=_0x30d3fe[_0x572f('0x141')](_0x3b65ae)(_0x3b65ae,_0x2e71e4,_0x2a78a1['get'](_0x3b65ae),_0x2a78a1[_0x572f('0x141')](_0x2e71e4));if(!_0xa1d5d5)return null;return _0x30d3fe[_0x572f('0x141')](_0x2e71e4)(_0x3b65ae,_0x2e71e4,_0x2a78a1[_0x572f('0x141')](_0x3b65ae),_0x2a78a1[_0x572f('0x141')](_0x2e71e4))?_0xa1d5d5[0x1]['commentThread']&&_0xa1d5d5[0x1][_0x572f('0x2a')][_0x572f('0x11a')]?null:_0xa1d5d5:null;}}[_0x572f('0x4b')](_0x5a632d){if(0x0==_0x5a632d[_0x572f('0x11a')])return;const _0x24225f=this[_0x572f('0x16a')]({'skipNotAttached':!0x0})[_0x572f('0x7c')](_0x5647d9=>_0x572f('0x43')==_0x5647d9['type']&&_0x5647d9[_0x572f('0xe7')]),_0x6effe9=[],_0x55b4ea=new Map();for(const _0x154875 of _0x24225f){const _0x14ab45=_0x2b427a(_0x154875['attributes']),_0x3a50e0=_0x154875['data']['batchId']+_0x14ab45;_0x55b4ea['has'](_0x3a50e0)||(_0x55b4ea[_0x572f('0x127')](_0x3a50e0,_0x6effe9[_0x572f('0x11a')]),_0x6effe9[_0x572f('0x157')]([]));const _0x1af4fe=_0x55b4ea[_0x572f('0x141')](_0x3a50e0);_0x6effe9[_0x1af4fe]['push'](_0x154875);}!function(){_0x6effe9[_0x572f('0x46')]((_0x57100d,_0x38da95)=>_0x57100d[0x0][_0x572f('0x13')]<_0x38da95[0x0][_0x572f('0x13')]?-0x1:0x1);for(const _0xc601c8 of _0x6effe9)_0xc601c8[_0x572f('0x46')]((_0x145acc,_0x28c5cd)=>_0x145acc['id']<_0x28c5cd['id']?-0x1:0x1);}();for(let _0x503b50=0x0;_0x503b50<_0x6effe9[_0x572f('0x11a')];_0x503b50++){if(0x0==_0x6effe9[_0x503b50][_0x572f('0x11a')])continue;const _0x22d34f=[];for(let _0x58db31=_0x503b50+0x1;_0x58db31<_0x6effe9[_0x572f('0x11a')];_0x58db31++)0x0!=_0x6effe9[_0x58db31][_0x572f('0x11a')]&&_0x495979(_0x6effe9[_0x503b50],_0x6effe9[_0x58db31])&&_0x22d34f[_0x572f('0x157')](_0x58db31);for(const _0x44c882 of _0x22d34f)_0x6effe9[_0x503b50]=_0x6effe9[_0x503b50][_0x572f('0xb9')](_0x6effe9[_0x44c882]),_0x6effe9[_0x44c882]=[];}for(const _0x395e7d of _0x6effe9)for(let _0x22127b=0x0;_0x22127b<_0x395e7d[_0x572f('0x11a')];_0x22127b++)_0x395e7d[_0x22127b][_0x572f('0x2f')]=_0x395e7d[_0x22127b-0x1]||null,_0x395e7d[_0x22127b][_0x572f('0x161')]=_0x395e7d[_0x22127b+0x1]||null;function _0x495979(_0x44dba8,_0x1dcf8f){if(_0x44dba8[0x0][_0x572f('0xc2')]!==_0x1dcf8f[0x0]['author'])return!0x1;if(!function(_0x299b91,_0x37b049){if(!_0x299b91[_0x572f('0x15d')]&&!_0x37b049[_0x572f('0x15d')])return!0x0;if(_0x299b91[_0x572f('0x15d')]&&_0x37b049[_0x572f('0x15d')])return!0x1;if(_0x299b91[_0x572f('0x15d')]&&_0x37b049[_0x572f('0x13')]<_0x299b91[_0x572f('0x2a')][_0x572f('0x61')][_0x572f('0x141')](0x0)[_0x572f('0x13')])return!0x0;if(_0x37b049[_0x572f('0x15d')]&&_0x299b91['createdAt']<_0x37b049[_0x572f('0x2a')][_0x572f('0x61')]['get'](0x0)[_0x572f('0x13')])return!0x0;return!0x1;}(_0x44dba8[0x0],_0x1dcf8f[0x0]))return!0x1;if(!Ot(_0x44dba8[0x0],_0x1dcf8f[0x0]))return!0x1;return!!_0x44dba8['every'](_0xf4591e=>_0x1dcf8f[_0x572f('0x10b')](_0x27ef81=>_0xf4591e[_0x572f('0x12a')]()[_0x572f('0xa1')](_0x27ef81[_0x572f('0x12a')]())))&&_0x1dcf8f[_0x572f('0x175')](_0x20ee56=>_0x44dba8[_0x572f('0x10b')](_0x4577cc=>_0x20ee56[_0x572f('0x12a')]()['isEqual'](_0x4577cc[_0x572f('0x12a')]())));}}[_0x572f('0x134')](_0x5a867d){const _0x49d008=Array[_0x572f('0xcf')](_0x5a867d),_0x1ca25a=this[_0x572f('0x16a')]({'skipNotAttached':!0x0}),_0x2ffe0d=_0x1ca25a[_0x572f('0x7c')](_0x266f34=>!_0x5a867d[_0x572f('0x65')](_0x266f34)),_0x1e223e=new Map(_0x49d008[_0x572f('0x10f')](_0x32ea43=>[_0x32ea43,this[_0x572f('0xe2')][_0x572f('0xef')](_0x32ea43['type'],_0x32ea43[_0x572f('0x45')],_0x572f('0x100'))])),_0x22b9ce=new Map(_0x1ca25a[_0x572f('0x10f')](_0xf0294e=>[_0xf0294e,_0xf0294e[_0x572f('0xc')]()]));for(let _0x7da106=0x0;_0x7da106<_0x49d008[_0x572f('0x11a')];_0x7da106++){if(_0x1b0208(this,_0x49d008[_0x7da106],_0x49d008,_0x7da106+0x1))return!0x0;}for(let _0x2f62df=0x0;_0x2f62df<_0x49d008[_0x572f('0x11a')];_0x2f62df++){if(_0x1b0208(this,_0x49d008[_0x2f62df],_0x2ffe0d,0x0))return!0x0;}return!0x1;function _0x1b0208(_0x196bc9,_0x51e478,_0x241f1b,_0x2f58e2){for(let _0x3d152b=_0x2f58e2;_0x3d152b<_0x241f1b[_0x572f('0x11a')];_0x3d152b++){const _0x2beb36=_0x241f1b[_0x3d152b];if(_0x2beb36[_0x572f('0x68')]!==_0x51e478[_0x572f('0x68')]||_0x2beb36[_0x572f('0xc2')]['id']!==_0x51e478[_0x572f('0xc2')]['id']||_0x2beb36['subType']!==_0x51e478[_0x572f('0x45')])continue;if(!Ot(_0x51e478,_0x2beb36))continue;if(_0x572f('0x43')==_0x51e478[_0x572f('0x68')]&&_0x51e478[_0x572f('0xf7')]['oldValue']!=_0x2beb36['data'][_0x572f('0xfd')])continue;const _0x4a44e9=_0x1e223e['get'](_0x51e478),_0x1d1d07=_0x22b9ce[_0x572f('0x141')](_0x51e478),_0x4d592e=_0x22b9ce[_0x572f('0x141')](_0x2beb36),_0x188550=_0x51e478[_0x572f('0x2a')]&&_0x51e478[_0x572f('0x2a')][_0x572f('0x11a')],_0x2bed8d=_0x2beb36['commentThread']&&_0x2beb36[_0x572f('0x2a')][_0x572f('0x11a')];if(!_0x188550&&_0x4a44e9(_0x4d592e,_0x1d1d07))return _0x196bc9[_0x572f('0x73')](_0x2beb36,_0x51e478),_0x22b9ce['delete'](_0x51e478),!0x0;if(!_0x2bed8d&&_0x4a44e9(_0x1d1d07,_0x4d592e))return _0x196bc9[_0x572f('0x73')](_0x51e478,_0x2beb36),_0x22b9ce['delete'](_0x2beb36),!0x0;}return!0x1;}}[_0x572f('0x73')](_0x15d593,_0x1a83bc){if(_0x15d593['isMultiRange'])for(const _0x15ae2a of _0x1a83bc[_0x572f('0xc')]())_0x15d593[_0x572f('0x172')](_0x15ae2a);else{const _0x42f47e=_0x1a83bc['getFirstRange']()[_0x572f('0x23')];this[_0x572f('0xa5')](_0x15d593,this[_0x572f('0x136')][_0x572f('0x117')](_0x15d593[_0x572f('0x12a')]()[_0x572f('0x18')],_0x42f47e));}_0x1a83bc['removeMarkers']();}[_0x572f('0xc9')](_0x179c9b){return _0x572f('0x10a')===this['_splitMarkerName'](_0x179c9b[_0x572f('0x4e')])[_0x572f('0x76')];}[_0x572f('0xbe')](_0x140f48,_0x2c3fca){const _0x513c48=_0x140f48[_0x572f('0x128')](_0x572f('0x21'))||_0x140f48[_0x572f('0x128')](_0x572f('0x43'))?'FORMATTING':_0x140f48['toUpperCase']();return _0x4b7ce6(this[_0x572f('0x4a')][_0x572f('0x82')],_0x2c3fca+'_'+_0x513c48+_0x572f('0x8a'));}['_initAriaMarkerChangeAnnouncements'](){const _0x3386b3=this['editor'];_0x164e48(this[_0x572f('0x136')],({left:_0x3414d2,entered:_0x49cfb0})=>{const _0x34d119=[];for(const _0x238b56 of _0x3414d2){const {group:_0x38e3ee,type:_0x319839}=this[_0x572f('0x2e')](_0x238b56[_0x572f('0x4e')]);if(_0x572f('0x10a')===_0x38e3ee){_0x34d119[_0x572f('0x157')](this[_0x572f('0xbe')](_0x319839,_0x572f('0xd7')));break;}}for(const _0xa385c6 of _0x49cfb0){const {group:_0x56e5c5,type:_0xbc02bf}=this[_0x572f('0x2e')](_0xa385c6['name']);if(_0x572f('0x10a')===_0x56e5c5){_0x34d119['push'](this['_getMarkerAnnouncementText'](_0xbc02bf,_0x572f('0x122')));break;}}_0x34d119[_0x572f('0x11a')]&&_0x3386b3['ui']['ariaLiveAnnouncer'][_0x572f('0x17')]('trackChanges',_0x34d119[_0x572f('0x100')]('\x20'));});}[_0x572f('0x28')](_0x2d629c){if(null!==this[_0x572f('0x9')])return!0x1;const _0x5516b1=this[_0x572f('0x4a')],_0x20bd87=_0x5516b1['model'][_0x572f('0x5c')][_0x572f('0x103')][_0x572f('0x84')]();if(0x0==_0x20bd87[_0x572f('0x11a')])return!0x1;const _0x34e3cb=[],_0x1faf96=_0x20bd87[_0x572f('0x7c')](_0xce0a08=>_0x572f('0x43')==_0xce0a08[_0x572f('0x68')]),_0x3c438e=_0x20bd87[_0x572f('0x7c')](_0xe32c3e=>'insert'==_0xe32c3e[_0x572f('0x68')]&&'$text'!=_0xe32c3e[_0x572f('0x4e')]),_0x262d61=_0x20bd87[_0x572f('0x7c')](_0x3c5f6c=>_0x572f('0x95')==_0x3c5f6c[_0x572f('0x68')]&&'$text'!=_0x3c5f6c[_0x572f('0x4e')]);for(const _0x370ff0 of _0x1faf96)_0x34e3cb['push']({'key':_0x370ff0[_0x572f('0xaf')],'newValue':_0x370ff0[_0x572f('0x12')],'oldValue':_0x370ff0[_0x572f('0xcb')],'range':_0x22824f(_0x370ff0[_0x572f('0x5')])});for(const _0x21e683 of _0x3c438e){const _0x29e690=_0x262d61[_0x572f('0x1a')](_0xf3eb57=>_0xf3eb57[_0x572f('0x11f')][_0x572f('0xa1')](_0x21e683[_0x572f('0x11f')]));_0x29e690&&_0x34e3cb[_0x572f('0x157')]({'key':_0x572f('0x155'),'newValue':_0x29e690[_0x572f('0x4e')],'oldValue':_0x21e683['name'],'range':_0x5516b1['model']['createRangeOn'](_0x21e683[_0x572f('0x11f')]['nodeAfter'])});}return 0x0!=_0x34e3cb[_0x572f('0x11a')]&&this[_0x572f('0x4c')](_0x2d629c,_0x34e3cb);function _0x22824f(_0x3f2e3d){return null==_0x3f2e3d[_0x572f('0x23')][_0x572f('0x15e')]&&_0x3f2e3d[_0x572f('0x23')][_0x572f('0xc4')]==_0x3f2e3d[_0x572f('0x18')][_0x572f('0x14c')]?jt(_0x3f2e3d[_0x572f('0x18')][_0x572f('0x14c')],_0x5516b1[_0x572f('0xf8')]):_0x3f2e3d;}}['_processAttributeSuggestions'](_0x15fcdf){let _0x3eb19d=!0x1;const _0x413507=this[_0x572f('0x4a')][_0x572f('0xf8')][_0x572f('0x5c')][_0x572f('0x103')][_0x572f('0x62')]()['filter'](_0x27ad77=>_0x27ad77[_0x572f('0xf7')]['newRange']&&_0x27ad77['name'][_0x572f('0x128')](_0x572f('0x179')));for(const _0x4a8a89 of _0x413507){const {subType:_0x351c82,id:_0xf16196}=this['_splitMarkerName'](_0x4a8a89['name']),_0x3d8ade=_0x351c82[_0x572f('0xd6')]('|')[0x0];for(const _0x4b79ba of this[_0x572f('0x16a')]({'skipNotAttached':!0x0}))_0x4b79ba['id']!=_0xf16196&&_0x572f('0x43')==_0x4b79ba[_0x572f('0x68')]&&_0x4b79ba[_0x572f('0xf7')]&&_0x4b79ba['data'][_0x572f('0x3d')]==_0x3d8ade&&_0x4b79ba[_0x572f('0x12a')]()[_0x572f('0x121')](_0x4a8a89[_0x572f('0xf7')][_0x572f('0x116')])&&(this['_reduceSuggestionAttributeRange'](_0x4b79ba,_0x4a8a89[_0x572f('0xf7')][_0x572f('0x116')],_0x15fcdf),_0x3eb19d=!0x0);}return _0x3eb19d;}['_recordAttributeChanges'](_0x11967d){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x11967d();const _0x2b83b4=this[_0x572f('0x4a')];this[_0x572f('0x9')]=_0x2b83b4['model'][_0x572f('0x5c')]['version'],_0x11967d();const _0x157110=new Map();for(const _0x11e9ee of _0x2b83b4[_0x572f('0xf8')]['document']['history'][_0x572f('0x3e')](this[_0x572f('0x9')]))if([_0x572f('0xba'),'addAttribute',_0x572f('0x173'),_0x572f('0x176')][_0x572f('0x4')](_0x11e9ee['type'])){const _0x5825d8=_0x11e9ee[_0x572f('0x8b')],_0x57430d=_0x157110[_0x572f('0x141')](_0x5825d8)||[];_0x57430d['push'](_0x11e9ee),_0x157110['set'](_0x5825d8,_0x57430d);}this[_0x572f('0x9')]=null;for(const [_0x242614,_0x4220d3]of _0x157110){const _0x20cb80=_0x3aeeef();_0x2b83b4['model']['enqueueChange'](_0x242614,_0x307c0e=>{const _0x4af70e=[];for(const _0x49ae77 of _0x4220d3){let _0x35f79e,_0x3d53d1,_0x28fcd6,_0x4ccd11;if('rename'==_0x49ae77[_0x572f('0x68')]){const _0x526725=_0x49ae77;_0x35f79e=jt(_0x526725[_0x572f('0x11f')]['nodeAfter'],_0x2b83b4['model']),_0x3d53d1=_0x572f('0x155'),_0x28fcd6=_0x526725[_0x572f('0xce')],_0x4ccd11=_0x526725['oldName'];}else{const _0x5e1fcf=_0x49ae77,_0x338659=this[_0x572f('0x48')](_0x5e1fcf['key']),_0xe2df83=this[_0x572f('0xea')][_0x572f('0x65')](_0x5e1fcf[_0x572f('0x3d')]);if(!_0x338659&&!_0xe2df83)continue;_0x35f79e=_0x338659?jt(_0x5e1fcf[_0x572f('0x5')]['start']['nodeAfter'],_0x2b83b4[_0x572f('0xf8')]):_0x5e1fcf[_0x572f('0x5')],_0x3d53d1=_0x5e1fcf[_0x572f('0x3d')],_0x28fcd6='removeAttribute'==_0x49ae77[_0x572f('0x68')]?void 0x0:_0x5e1fcf[_0x572f('0xd')],_0x4ccd11=_0x5e1fcf[_0x572f('0xfd')];}this['markAttributeChange'](_0x35f79e,_0x3d53d1,_0x4ccd11,_0x28fcd6,_0x20cb80),_0x4af70e[_0x572f('0x157')]({'range':_0x35f79e,'key':_0x3d53d1,'newValue':_0x28fcd6,'oldValue':_0x4ccd11});}this[_0x572f('0x4c')](_0x307c0e,_0x4af70e);});}}[_0x572f('0x4c')](_0x446d50,_0xb7eab5){if(0x0==_0xb7eab5[_0x572f('0x11a')])return!0x1;let _0x34c4bd=!0x1;for(const _0x136e1a of _0xb7eab5){const _0x3639c6=this[_0x572f('0xde')](_0x136e1a[_0x572f('0x5')],_0x572f('0x43'))['filter'](_0x5504d4=>!_0x5504d4[_0x572f('0x14b')][_0x572f('0x92')])[_0x572f('0x10f')](_0x56884e=>_0x56884e[_0x572f('0x10a')]),_0x19dcf2=_0x2b427a({'newValue':_0x136e1a[_0x572f('0xd')]}),_0x14c886=_0x3639c6[_0x572f('0x7c')](_0x280fc2=>{const [_0x5813f8,_0x49ebe0]=_0x280fc2[_0x572f('0x45')]['split']('|');return _0x5813f8==_0x136e1a[_0x572f('0x3d')]&&_0x49ebe0!=_0x19dcf2;});for(const _0x135ec6 of _0x14c886)this[_0x572f('0x11b')](_0x135ec6,_0x136e1a[_0x572f('0x5')],_0x446d50),_0x34c4bd=!0x0;}return _0x34c4bd;}['_reduceSuggestionAttributeRange'](_0x128b0f,_0x589a0f,_0x30701d){const _0xc50bfc=_0x128b0f[_0x572f('0x12a')]()[_0x572f('0x111')](_0x589a0f);if(0x0===_0xc50bfc[_0x572f('0x11a')])return void _0x30701d['removeMarker'](_0x128b0f[_0x572f('0x168')]());const _0x546695=this['_getAttributeKeyFromSubType'](_0x128b0f);this[_0x572f('0x48')](_0x546695)||(0x1!==_0xc50bfc[_0x572f('0x11a')]?this['_breakSuggestionMarker'](_0x128b0f,_0x589a0f[_0x572f('0x18')],_0x589a0f[_0x572f('0x23')]):this[_0x572f('0xa5')](_0x128b0f,_0xc50bfc[0x0]));}}class $t{constructor(_0x430d00){this[_0x572f('0x9b')]=_0x430d00,this[_0x572f('0x136')]=_0x430d00[_0x572f('0xf8')],this[_0x572f('0xe1')]=new Map(),this[_0x572f('0xdd')]=new Map(),this[_0x572f('0x88')]();}[_0x572f('0x113')](_0x1dabf4,_0x324eed,_0xe0bdf5,_0x562aaa,_0x22d6e9,_0x4771b2){return new _0x25752f(this['_model'],{'type':_0x1dabf4,'subType':_0x324eed,'id':_0xe0bdf5,'author':_0x562aaa,'creator':_0x562aaa,'attributes':_0x22d6e9,'onAttributesChange':_0x4771b2,'onAccept':(..._0x25455f)=>this['getSuggestionCallback'](_0x1dabf4,_0x324eed,_0x572f('0x36'))(..._0x25455f),'onDiscard':(..._0x5ceab1)=>this['getSuggestionCallback'](_0x1dabf4,_0x324eed,_0x572f('0x7a'))(..._0x5ceab1)});}['registerCustomCallback'](_0x4ba73c,_0x31ed8b,_0x13b10e,_0x36764f){const _0x34cd12=_0x4ba73c+':'+_0x31ed8b+':'+_0x13b10e;this[_0x572f('0xe1')][_0x572f('0x127')](_0x34cd12,_0x36764f);}[_0x572f('0xef')](_0x3dbbc3,_0x1bb5e8,_0xc02f97){const _0x38efe6=_0x3dbbc3+':'+_0x1bb5e8+':'+_0xc02f97;return this[_0x572f('0xe1')][_0x572f('0x141')](_0x38efe6)||this['_defaultCallbacks'][_0x572f('0x141')](_0x3dbbc3+':'+_0xc02f97);}[_0x572f('0x88')](){const _0x5ef596=()=>!0x1,_0x3d70a6=_0x262be4=>{_0x262be4[_0x572f('0x46')]((_0x478aa1,_0x1ce799)=>_0x478aa1[_0x572f('0x18')][_0x572f('0x12b')](_0x1ce799[_0x572f('0x18')])?0x1:-0x1),this[_0x572f('0x136')]['change'](_0x539c32=>{for(const _0x572a97 of _0x262be4){let _0x12a677;_0x12a677=_0x572a97[_0x572f('0x23')][_0x572f('0x94')]&&_0x572a97[_0x572f('0x23')][_0x572f('0xc4')]==_0x572a97[_0x572f('0x18')][_0x572f('0x14c')]?_0x539c32['createSelection'](_0x572a97[_0x572f('0x18')][_0x572f('0x14c')],'on'):_0x539c32[_0x572f('0xbf')](_0x572a97),this[_0x572f('0x136')]['deleteContent'](_0x12a677,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x25c1e4=(_0x58829b,_0x2576e3)=>{_0x2576e3&&this['_model']['change'](_0x43a9e1=>{const {commandName:_0x200eed,commandParams:_0x2b331a=[]}=_0x2576e3,_0x3d0a96=_0x58829b[_0x572f('0x10f')](_0x2687e9=>(Tt(_0x2687e9)&&(_0x2687e9=this[_0x572f('0x136')]['createRange'](_0x2687e9[_0x572f('0x23')])),_0x2687e9))[_0x572f('0x7c')](_0x355e10=>_0x572f('0x156')!==_0x355e10[_0x572f('0xc1')][_0x572f('0x71')]);if(_0x3d0a96['length']<0x1)return;const _0x2e6722=Array[_0x572f('0xcf')](this[_0x572f('0x136')][_0x572f('0x5c')][_0x572f('0x10e')][_0x572f('0xc')]())[_0x572f('0x10f')](_0x104dcf=>_0x4a8ee2['fromRange'](_0x104dcf));_0x43a9e1[_0x572f('0x114')](_0x3d0a96);for(const _0x500f78 of this[_0x572f('0x9b')][_0x572f('0x1b')][_0x572f('0x1b')]())_0x500f78[_0x572f('0x14a')]();_0x2b331a['push']({'forceDefaultExecution':!0x0}),this[_0x572f('0x9b')][_0x572f('0x8d')](_0x200eed,..._0x2b331a);const _0x35ba34=_0x2e6722[_0x572f('0x7c')](_0x34bb9e=>_0x572f('0x156')!=_0x34bb9e[_0x572f('0xc1')][_0x572f('0x71')]);_0x35ba34[_0x572f('0x11a')]>0x0&&_0x43a9e1[_0x572f('0x114')](_0x35ba34);for(const _0x34debb of _0x2e6722)_0x34debb[_0x572f('0x25')]();});},_0x3c4e1a=(_0x44174e,_0x22d1e9)=>0x1==_0x44174e[_0x572f('0x11a')]&&0x1==_0x22d1e9[_0x572f('0x11a')]&&_0x44174e[0x0][_0x572f('0x23')][_0x572f('0xa1')](_0x22d1e9[0x0][_0x572f('0x18')]),_0x458bd7=(_0x3138b8,_0x1a9ed0,_0x3d1838,_0x15f240)=>Ut(_0x3138b8,_0x1a9ed0,_0x3d1838,_0x15f240,this[_0x572f('0x136')])?[_0x3138b8,_0x1a9ed0]:Ut(_0x1a9ed0,_0x3138b8,_0x15f240,_0x3d1838,this[_0x572f('0x136')])?[_0x1a9ed0,_0x3138b8]:null;this[_0x572f('0xdd')]['set'](_0x572f('0x13c'),_0x5ef596),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x5d'),_0x3d70a6),this['_defaultCallbacks'][_0x572f('0x127')]('insertion:join',_0x3c4e1a),this[_0x572f('0xdd')]['set'](_0x572f('0xbb'),_0x458bd7),this[_0x572f('0xdd')][_0x572f('0x127')]('deletion:accept',_0x3d70a6),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0xd2'),_0x5ef596),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x70'),_0x3c4e1a),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x1f'),_0x458bd7),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0xa2'),_0x25c1e4),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x97'),_0x5ef596),this[_0x572f('0xdd')]['set'](_0x572f('0x12c'),_0x3c4e1a),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x67'),_0x5ef596),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x47'),_0x25c1e4),this['_defaultCallbacks'][_0x572f('0x127')](_0x572f('0x146'),_0x5ef596),this['_defaultCallbacks'][_0x572f('0x127')](_0x572f('0xf6'),_0x3c4e1a),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x2b'),_0x5ef596),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x13b'),_0x5ef596),this[_0x572f('0xdd')][_0x572f('0x127')](_0x572f('0x1d'),(_0x35b721,_0x424380)=>{if(!_0x424380)return;if(_0x572f('0x155')==_0x424380[_0x572f('0x3d')])return void this[_0x572f('0x136')]['change'](_0x36a8f2=>{for(const _0x4e02a1 of _0x35b721){const _0x358d41=_0x29f2bc(_0x4e02a1);_0x36a8f2[_0x572f('0xba')](_0x358d41,_0x424380[_0x572f('0xfd')]);}});function _0x29f2bc(_0x41cb30){return _0x41cb30[_0x572f('0x18')][_0x572f('0x14c')];}this[_0x572f('0x9b')]['plugins']['get'](p)[_0x572f('0x48')](_0x424380[_0x572f('0x3d')])?this[_0x572f('0x136')]['change'](_0x57e0f4=>{for(const _0x5322b9 of _0x35b721)void 0x0===_0x424380[_0x572f('0xfd')]?_0x57e0f4[_0x572f('0x173')](_0x424380[_0x572f('0x3d')],_0x5322b9[_0x572f('0x18')][_0x572f('0x14c')]):_0x57e0f4[_0x572f('0x4d')](_0x424380['key'],_0x424380[_0x572f('0xfd')],_0x5322b9['start'][_0x572f('0x14c')]);}):this[_0x572f('0x136')]['change'](_0x485240=>{for(const _0x4bff10 of _0x35b721)_0x424380[_0x572f('0xfd')]?_0x485240[_0x572f('0x4d')](_0x424380[_0x572f('0x3d')],_0x424380['oldValue'],_0x4bff10):_0x485240[_0x572f('0x173')](_0x424380[_0x572f('0x3d')],_0x4bff10);});}),this[_0x572f('0xdd')]['set'](_0x572f('0x142'),_0x3c4e1a);}}function Bt(_0x5ad9f1,_0x257c86,_0x15f2a8){for(const _0x136f77 of _0x257c86[_0x572f('0xc4')][_0x572f('0x79')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x136f77[_0x572f('0xc1')]==_0x136f77)return!0x1;if(!_0x15f2a8[_0x572f('0xb1')](_0x136f77))return!0x1;if(_0x5ad9f1[_0x572f('0x66')](_0x136f77)||_0x5ad9f1[_0x572f('0x149')](_0x136f77))return!0x0;}return!0x1;}function Tt(_0x4adcc6){return _0x4adcc6[_0x572f('0x23')][_0x572f('0xc4')]==_0x4adcc6[_0x572f('0x18')][_0x572f('0x14c')]&&_0x4adcc6[_0x572f('0x23')][_0x572f('0xab')];}function xt(_0x31c438,_0x298db4,_0x102bf7,_0x464941){const _0xf6a0f7=_0x534ae3=>!_0x534ae3['item']['is'](_0x572f('0x15c'))&&!_0x464941['isObject'](_0x534ae3[_0x572f('0x139')]),_0x45a800=_0x31c438[_0x572f('0x18')]['getLastMatchingPosition'](_0xf6a0f7),_0x52d7f1=_0x31c438[_0x572f('0x23')]['getLastMatchingPosition'](_0xf6a0f7,{'direction':_0x572f('0x164')});return(!_0x31c438['start']['isEqual'](_0x45a800)||!_0x31c438['end']['isEqual'](_0x52d7f1))&&(_0x45a800[_0x572f('0x12b')](_0x52d7f1)?_0x102bf7[_0x572f('0xdf')](_0x298db4,{'range':_0x102bf7[_0x572f('0x117')](_0x45a800,_0x52d7f1)}):_0x102bf7[_0x572f('0xbd')](_0x298db4),!0x0);}function Et(_0x54a4d1){return _0x2b427a(_0x54a4d1);}function Rt(_0x4ff34e){const _0x3b90b5=_0x4ff34e[_0x572f('0x18')]['nodeAfter'];return _0x3b90b5&&_0x3b90b5['is'](_0x572f('0x33'));}function jt(_0x4c321e,_0x3e814e){const _0x2c0e60=_0x3e814e['schema'][_0x572f('0x66')](_0x4c321e)||_0x3e814e[_0x572f('0xc3')][_0x572f('0x144')](_0x4c321e);return _0x3e814e['createRange'](_0x3e814e[_0x572f('0x13e')](_0x4c321e,'before'),_0x2c0e60?_0x3e814e[_0x572f('0x138')](_0x4c321e):_0x3e814e[_0x572f('0x13e')](_0x4c321e,_0x572f('0x23')));}function Ut(_0x406eaa,_0x1a5059,_0x5235c6,_0x3d16bd,_0x375176){if(!Ot(_0x406eaa,_0x1a5059))return!0x1;if(_0x5235c6[_0x572f('0x23')][_0x572f('0xa1')](_0x3d16bd['start']))return!0x0;if(_0x406eaa[_0x572f('0x68')]!=_0x1a5059['type'])return!0x1;if(!_0x5235c6[_0x572f('0x23')][_0x572f('0xfa')](_0x3d16bd[_0x572f('0x18')]))return!0x1;const _0x1089fe=_0x375176[_0x572f('0x117')](_0x5235c6[_0x572f('0x23')],_0x3d16bd[_0x572f('0x18')])[_0x572f('0x16e')]();for(const _0x2118c7 of _0x1089fe)if([_0x572f('0xb3'),_0x572f('0x8c')][_0x572f('0x4')](_0x2118c7[_0x572f('0x68')])&&_0x375176[_0x572f('0xc3')][_0x572f('0x149')](_0x2118c7[_0x572f('0x139')]))return!0x1;return!0x0;}function Ot(_0x4e8da0,_0xc11ff4){return!(!_0x4e8da0[_0x572f('0xe7')]||!_0xc11ff4['_isDataLoaded'])&&_0x4338d0(_0x4e8da0[_0x572f('0xb2')],_0xc11ff4[_0x572f('0xb2')]);}function Vt(_0x5ba4cb,_0x430fac){const _0x1302df=Ft(_0x5ba4cb['attributes']),_0x2d92a5=Ft(_0x430fac);if(!_0x5ba4cb[_0x572f('0xe7')])return!0x1;for(const _0x2e346a of Object['keys'](_0x2d92a5))if(!_0x4338d0(_0x1302df[_0x2e346a],_0x2d92a5[_0x2e346a]))return!0x1;return!0x0;}function Ft(_0x3e4439){const _0x4c385a=Object[_0x572f('0x163')]({},_0x3e4439);return delete _0x4c385a['skipNestingCheck'],delete _0x4c385a['tablePasteChainId'],_0x4c385a;}
|
|
23
|
+
const _0x4222=['setSelection','_reduceSuggestionAttributeRange','originalSuggestionId','rootName','toJSON','_rangeIsInLocalUserInsertion','track-changes-command-not-found','writer','isRemovable','trackChanges','fromCharCode','size','commentThread','bindElementToMarker','forward','getAttribute','_model','multi','getRanges','insertion:','attributes','$graveyard','_enabledCommands','isEqual','isAtEnd','upcast','rethrowUnexpectedError','_joinWithAdjacentSuggestions','isTouching','oldName','get','data-suggestion','find','isBefore','_splitMarkerName','suggestion','getAncestors','_addSuggestionMarker','addAttribute','consume','_registerDefaultCallbacks','getOperations','newRange','ready','assign','isIntersecting','external:','_isBlockAttribute','formatBlock:join','attribute:accept','ck-suggestion-marker-formatBlock','removeClass','containsRangeInObject','suggestion:','value','addHighlight','nodeAfter','markInsertion','notReady','_suggestionState','isAfter','getMultiRangeId','isDocumentOperation','$textProxy','data','change','addUser','isOwn','subType','highest','length','commands','getNearestSelectionRange','markerToData','_onDiscard','pop','attribute:','isInsideObject','removeMarkers','_recordAttributeSuggestionsFromVersion','_processAttributeChanges','authoredAt','track-changes-adapter-missing-getsuggestion','createElement','toUpperCase','getSuggestionCallback','collaboration.channelId','markerName','targetPosition','oldValue','isLocal','fetchCommentThread','updateMarker','insertion:discard','locale','getDifference','getSuggestions','TrackChangesEditing','markMultiRangeDeletion','markInlineFormat','toViewElement','_createSuggestion','error-saving-suggestion-data-suggestion-discarded','from','forEach','deletion:chain','addMarker','getFirstRange','end','addMarker:suggestion','backward','_removeSuggestion','getSuggestion','isExternal','authorName','_getExternalAuthor','requires','_handleNewSuggestionMarker','getMarkers','editingDowncast','getCommentThread','FORMATTING','deletion:discard','deletion','oldRange','_getMarkerAnnouncementText','getWalker','parent','ck-suggestion-marker--active','_suggestionFactory','marker-count','multipleBlocks','_suggestions','start','item','unshift','fire','isAtStart','PendingActions','acceptSuggestion','splitPosition','editing','insertion','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','PENDING_ACTION_SUGGESTION','containsRange','@external','markerToHighlight','setTo','startsWith','discardSelectedSuggestions','moveTargetPosition','then','_adapter','markDeletion','track-changes-adapter-already-set','selection','deletion:','stop','createPositionBefore','insertion:join','suggestionLoaded','discardAllSuggestions','_defaultCallbacks','model','always','_isForcedDefaultExecutionBlock','removeMarker','_isDataLoaded','suggestionUnloaded','_updateSuggestionData','insertContent','reconvertMarker','mapper','for','isInContent','markers','createPositionAfter','history','clone','formatInline:accept','update:suggestion','unbindElementFromMarkerName','addCommentThread','push','hasSuggestion','ENTER','isUndo','position','getAllAdjacentSuggestions','range','commandName','version','_reduceExistingSuggestions','ck-suggestion-marker','containsPosition','getCustomProperty','createRange','keys','createRangeOn','editor','attributeKey','trackChanges.trackFormatChanges','buildSuggestion','howMany','insertion:chain','_initAriaMarkerChangeAnnouncements','after','addComment','map','getFirstMarker','removed','_findSuggestions','key','isIntersectingWithRange','document','removeAttribute','define','_registerBlockAttribute','open','change:activeMarkers','batch','attribute:join','schema','trackChangesCommand','creator','track-changes-enable-command-twice','addMarker:suggestion:attribute','showSuggestionHighlights','formatGroupId','CommentsRepository','isNextTo','_refreshAttributeSuggestionsChain','markerNameToElements','refresh','isBlock','_registerInlineAttribute','meta','addSuggestion','markBlockFormat','insert','getShiftedBy','substring','formatInline:chain','_setSuggestionRange','track-changes-suggestion-data-mismatch','skipNestingCheck','chain','type','head','activeMarkers','detach','listenTo','_commentsRepository','_processAttributeSuggestions','markerReady','_enableDefaultAttributesIntegration','some','formatBlock:accept','formatInline:','getChangedMarkers','updateSuggestion','getChanges','nodeBefore','_setSuggestionData','_joinSuggestions','_checkSuggestionCorrectness','ck-suggestion-marker-formatInline','next','formatBlock','_addThreadToSuggestion','addMarkerName','$elementName','dataToMarker','author','_customCallbacks','_saved','element','accept','catch','enqueueChange','sort','consumable','enableCommand','join','suggestionChanged','previous','default','formatBlock:','never','enableReadOnlyMode','_trackFormatChanges','addMarker:suggestion:formatBlock','formatInline','delete','warn','track-changes-user-not-found','isLimit','root','getUser','registerPostFixer','concat','substr','_recordAttributeChanges','addClass','elementToElement','getLastMatchingPosition','adapter','_mergeNestedSuggestions','suggestion-type','dataDowncast','conversion','trackChanges.mergeNestedSuggestions','execute','createdAt','includes','split','insertion:accept','isCollapsed','lowest','values','attributeNewValue','_getSuggestionData','Users','acceptSelectedSuggestions','every','filter','formatInline:join','_getAttributeKeyFromSubType','_SUGGESTION_ANNOUNCEMENT','_breakSuggestionMarker','isSelectable','deleteContent','init','isMultiRange','rename','hasComments','has','addSuggestionData','createRangeIn','name','attribute:discard','high','splice','before','_cutOutSuggestionMarker','forceDefaultExecution','isObject','acceptAllSuggestions','_inlineAttributeKeys','setAttribute','createSelection','isArray','dataReady','containsItem','tablePasteChainId','comments','createPositionAt','remove','set','groupId','discard','differ','$text','deletion:join','discardSuggestion','_refreshSuggestionsChain','getIntersection','hasCommentThread','addRange','_blockAttributeKeys','_editor','add','plugins','options','return','markAttributeChange','attribute','config','elementStart','group'];(function(_0x79993d,_0x422224){const _0x1aa09d=function(_0x2c15ef){while(--_0x2c15ef){_0x79993d['push'](_0x79993d['shift']());}};_0x1aa09d(++_0x422224);}(_0x4222,0x83));const _0x1aa0=function(_0x79993d,_0x422224){_0x79993d=_0x79993d-0x0;let _0x1aa09d=_0x4222[_0x79993d];return _0x1aa09d;};import{Plugin as _0x5deb71,PendingActions as _0x4061b5}from'ckeditor5/src/core';import{LiveRange as _0x174a17}from'ckeditor5/src/engine';import{CKEditorError as _0x3c8e1d,uid as _0x2a195c,priorities as _0x33fce0,logWarning as _0x562c54}from'ckeditor5/src/utils';import{toWidget as _0x23feef}from'ckeditor5/src/widget';import{Users as _0x5c01f7,hashObject as _0x205c05,surroundingMarkersDetector as _0x5d8883}from'ckeditor5-collaboration/src/collaboration-core';import _0x19a451 from'./commands/trackchangescommand';import _0x36998b from'./commands/acceptsuggestioncommand';import _0x1ef9be from'./commands/discardsuggestioncommand';import _0x548822 from'./commands/executeonallsuggestionscommand';import _0xf7bc0b from'./commands/executeonselectedsuggestionscommand';import _0x526ec3 from'./suggestion';import _0x57d621 from'./suggestiondescriptionfactory';import _0x44222c from'./integrations/aiassistant';import _0x3e2b62 from'./integrations/alignment';import _0x31b1c0 from'./integrations/basicstyles';import _0x308edb from'./integrations/blockquote';import _0x11b2b8 from'./integrations/ckbox';import _0x563dfc from'./integrations/codeblock';import _0x21e420 from'./integrations/comments';import _0x57b116 from'./integrations/deletecommand';import _0x16de91 from'./integrations/documentlist';import _0x223614 from'./integrations/documentlistproperties';import _0x39afc9 from'./integrations/entercommand';import _0xcf7d4e from'./integrations/findandreplace';import _0x314ea4 from'./integrations/font';import _0x15c113 from'./integrations/formatpainter';import _0x39e23b from'./integrations/heading';import _0x2985dd from'./integrations/highlight';import _0x30ac8c from'./integrations/horizontalline';import _0x251210 from'./integrations/htmlembed';import _0x32b083 from'./integrations/image';import _0x112783 from'./integrations/imagereplace';import _0x5f23a5 from'./integrations/imagestyle';import _0x2c1318 from'./integrations/importword';import _0x58f54f from'./integrations/indent';import _0xe3e9c9 from'./integrations/inputcommand';import _0x4710f9 from'./integrations/link';import _0x3bea96 from'./integrations/list';import _0x100a22 from'./integrations/listproperties';import _0xfd61fb from'./integrations/mediaembed';import _0x5689a9 from'./integrations/mention';import _0x83a6de from'./integrations/pagebreak';import _0x4fdfc7 from'./integrations/paragraph';import _0x307f6b from'./integrations/removeformat';import _0x2fc162 from'./integrations/restrictededitingmode';import _0x18acd6 from'./integrations/shiftentercommand';import _0x1dfef6 from'./integrations/standardeditingmode';import _0x585fab from'./integrations/style';import _0x5ee559 from'./integrations/table';import _0x3fe4ed from'./integrations/tablemergesplit';import _0x5a3613 from'./integrations/tableheadings';import _0x40e20d from'./integrations/tableclipboard';import _0x4ec850 from'./integrations/tablecolumnresize';import _0x5992d7 from'./integrations/template';import _0x1ac202 from'./integrations/tableofcontents';import _0x3458e9 from'./integrations/title';import _0x5aa1ec from'./integrations/undo';import _0x506c9a from'./integrations/tablecaption';import _0x6844c7 from'./integrations/tableproperties';import{getTranslation as _0x4e33ed}from'./utils/common-translations';import{isEqual as _0x223011,omit as _0x142fcf}from'lodash-es';export const renameAttributeKey=_0x1aa0('0x8d');export default class p extends _0x5deb71{static get[_0x1aa0('0x16e')](){return[_0x1aa0('0x63'),_0x5c01f7,_0x4061b5,_0x44222c,_0x3e2b62,_0x31b1c0,_0x308edb,_0x11b2b8,_0x563dfc,_0x21e420,_0x57b116,_0x16de91,_0x223614,_0x39afc9,_0xcf7d4e,_0x314ea4,_0x15c113,_0x39e23b,_0x2985dd,_0x30ac8c,_0x251210,_0x32b083,_0x5f23a5,_0x112783,_0x2c1318,_0x58f54f,_0xe3e9c9,_0x4710f9,_0x3bea96,_0x100a22,_0xfd61fb,_0x5689a9,_0x83a6de,_0x4fdfc7,_0x307f6b,_0x2fc162,_0x18acd6,_0x1dfef6,_0x585fab,_0x5ee559,_0x3fe4ed,_0x5a3613,_0x506c9a,_0x40e20d,_0x4ec850,_0x1ac202,_0x6844c7,_0x5992d7,_0x3458e9,_0x5aa1ec];}static get['pluginName'](){return _0x1aa0('0x15b');}constructor(_0xc1cdab){function _0x52f85c(_0x388dc6){return _0x388dc6[_0x1aa0('0x4e')](_0xd587c7=>String[_0x1aa0('0x104')](_0xd587c7))['join']('');}super(_0xc1cdab),this[_0x1aa0('0x149')]=null,this['set'](_0x1aa0('0x77'),[]),this['on'](_0x1aa0('0x59'),(_0x49cc0d,_0x4c45a9,_0x56bb07,_0x13af70)=>{this['_model']['change'](()=>{for(const _0x25a928 of[..._0x13af70,..._0x56bb07])this[_0x1aa0('0x10a')][_0x1aa0('0x2d')]['has'](_0x25a928)&&_0xc1cdab[_0x1aa0('0xa')][_0x1aa0('0x29')](_0x25a928);});}),this['_descriptionFactory']=new _0x57d621(this[_0x1aa0('0x45')][_0x1aa0('0x21')][_0x1aa0('0x5c')],this[_0x1aa0('0x45')]['locale']),this[_0x1aa0('0x16')]=null,this[_0x1aa0('0x17b')]=new Bt(this[_0x1aa0('0x45')]),this['_suggestions']=new Map(),this[_0x1aa0('0x7a')]=_0xc1cdab[_0x1aa0('0xf2')]['get'](_0x1aa0('0x63')),this[_0x1aa0('0x110')]=new Set(),this[_0x1aa0('0x10a')]=this[_0x1aa0('0x45')][_0x1aa0('0x21')],this[_0x1aa0('0x135')]=new WeakMap(),this[_0x1aa0('0x23')]=!0x1,this[_0x1aa0('0xef')]=new Set([_0x1aa0('0x8d')]),this[_0x1aa0('0xda')]=new Set(),_0xc1cdab['config'][_0x1aa0('0x56')](_0x1aa0('0x47'),_0x1aa0('0x9c')),this['_trackFormatChanges']=_0xc1cdab[_0x1aa0('0xf7')][_0x1aa0('0x118')](_0x1aa0('0x47')),_0xc1cdab['config'][_0x1aa0('0x56')](_0x1aa0('0xb5'),!0x0),this['_mergeNestedSuggestions']=_0xc1cdab[_0x1aa0('0xf7')][_0x1aa0('0x118')](_0x1aa0('0xb5')),this[_0x1aa0('0x5d')]=new _0x19a451(_0xc1cdab,this['_enabledCommands']),this[_0x1aa0('0x4b')](),this[_0x52f85c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x52f85c([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x34]);}[_0x1aa0('0xca')](){const _0x2090f1=this['editor'],_0xb24e7b=(_0x240e9b,_0xeab52f)=>{if('attribute'!=_0x240e9b)return'ck-suggestion-marker-'+_0x240e9b;const _0x5eb7c8=_0xeab52f[_0x1aa0('0xb9')]('|')[0x0];return this['_isBlockAttribute'](_0x5eb7c8)?_0x1aa0('0x12c'):_0x1aa0('0x88');};_0x2090f1[_0x1aa0('0xb4')][_0x1aa0('0x2b')](_0x1aa0('0x171'))[_0x1aa0('0x10')]({'model':_0x1aa0('0x11d'),'view':_0x31d9e1=>{const {id:_0x397e21,type:_0x4707dd,subType:_0x24e09f}=this[_0x1aa0('0x11c')](_0x31d9e1[_0x1aa0('0x151')]),_0x35ef34=['ck-suggestion-marker',_0xb24e7b(_0x4707dd,_0x24e09f)];let _0x3f2c5d=0xbb8;return this[_0x1aa0('0x77')][_0x1aa0('0xb8')](_0x31d9e1[_0x1aa0('0x151')])&&(_0x35ef34[_0x1aa0('0x35')](_0x1aa0('0x17a')),_0x3f2c5d=0xbc2),_0x1aa0('0x175')==_0x4707dd&&(_0x3f2c5d+=0x5),{'classes':_0x35ef34,'attributes':{'data-suggestion':_0x397e21},'priority':_0x3f2c5d};}}),_0x2090f1['conversion'][_0x1aa0('0x2b')]('dataDowncast')[_0x1aa0('0xf1')](_0x575264=>{_0x575264['on'](_0x1aa0('0x167'),(_0x513d2d,_0x5b44b5,_0x4978d3)=>{if(!_0x4978d3['options'][_0x1aa0('0x61')])return;const _0x528c7a=_0x5b44b5[_0x1aa0('0x3')];if(!_0x528c7a)return;const _0x405073=_0x4978d3[_0x1aa0('0x2a')][_0x1aa0('0x15e')](_0x528c7a);_0x2090f1[_0x1aa0('0x21')]['schema'][_0x1aa0('0xd8')](_0x528c7a)&&_0x405073&&!_0x405073['getCustomProperty']('widget')&&_0x405073['is']('containerElement')&&_0x23feef(_0x405073,_0x4978d3[_0x1aa0('0x101')]);},{'priority':_0x1aa0('0xd3')});}),_0x2090f1[_0x1aa0('0xb4')]['for']('dataDowncast')[_0x1aa0('0x10')]({'model':_0x1aa0('0x11d'),'view':(_0x52ee9e,_0x394f62)=>{if(!_0x394f62[_0x1aa0('0xf3')][_0x1aa0('0x61')])return null;const {type:_0x4ffbde,subType:_0x11c9cd}=this['_splitMarkerName'](_0x52ee9e['markerName']);return{'classes':[_0x1aa0('0x3f'),_0xb24e7b(_0x4ffbde,_0x11c9cd)],'priority':0xbb8};}});const _0x282187=({showActiveMarkers:_0x4e7a0a=!0x0,isAttributeSuggestion:_0x48a12f=!0x1}={})=>(_0xd05aba,_0x1a6eaf,_0xe57e9b)=>{if(!_0x1a6eaf['item'])return;const {id:_0x5b2474}=this['_splitMarkerName'](_0x1a6eaf[_0x1aa0('0x151')]);if(_0x48a12f){const _0x481a36=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x5b2474),_0x2bb1fa=this[_0x1aa0('0xc5')](_0x481a36);if(!this[_0x1aa0('0x129')](_0x2bb1fa))return;}if(_0x1a6eaf['item']['is'](_0x1aa0('0x19')))return void _0xe57e9b[_0x1aa0('0x97')][_0x1aa0('0x121')](_0x1a6eaf[_0x1aa0('0x3')],_0xd05aba[_0x1aa0('0xd1')]);const _0x3f0710=_0xe57e9b[_0x1aa0('0x2a')][_0x1aa0('0x15e')](_0x1a6eaf[_0x1aa0('0x3')]);if(_0x1a6eaf[_0x1aa0('0x3')]['is'](_0x1aa0('0x92'))&&_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x5c')]['isBlock'](_0x1a6eaf[_0x1aa0('0x3')])&&!_0x3f0710[_0x1aa0('0x41')]('addHighlight')){_0xe57e9b['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3f0710),_0xe57e9b[_0x1aa0('0x101')][_0x1aa0('0xdb')](_0x1aa0('0x119'),_0x5b2474,_0x3f0710),_0xe57e9b['mapper'][_0x1aa0('0x107')](_0x3f0710,_0x1a6eaf[_0x1aa0('0x151')]),_0x4e7a0a&&(this[_0x1aa0('0x77')]['includes'](_0x1a6eaf[_0x1aa0('0x151')])?_0xe57e9b[_0x1aa0('0x101')][_0x1aa0('0xad')](_0x1aa0('0x17a'),_0x3f0710):_0xe57e9b[_0x1aa0('0x101')][_0x1aa0('0x12d')](_0x1aa0('0x17a'),_0x3f0710));for(const _0x3c8772 of _0x2090f1['model'][_0x1aa0('0xd0')](_0x1a6eaf['item'])['getItems']())_0xe57e9b[_0x1aa0('0x97')][_0x1aa0('0x121')](_0x3c8772,_0xd05aba[_0x1aa0('0xd1')]);_0xe57e9b[_0x1aa0('0x97')][_0x1aa0('0x121')](_0x1a6eaf[_0x1aa0('0x3')],_0xd05aba[_0x1aa0('0xd1')]);}};_0x2090f1['conversion'][_0x1aa0('0x2b')](_0x1aa0('0xb3'))[_0x1aa0('0xf1')](_0x3dd5b5=>{_0x3dd5b5['on'](_0x1aa0('0xa1'),(_0x395e80,_0x4563a7,_0x4353d0)=>{_0x4353d0[_0x1aa0('0xf3')][_0x1aa0('0x61')]&&_0x282187({'showActiveMarkers':!0x1})(_0x395e80,_0x4563a7,_0x4353d0);},{'priority':'highest'});}),_0x2090f1[_0x1aa0('0xb4')]['for'](_0x1aa0('0xb3'))['add'](_0x24e0d8=>{_0x24e0d8['on'](_0x1aa0('0x60'),(_0x3aec36,_0x270cbd,_0x3900e9)=>{_0x3900e9[_0x1aa0('0xf3')]['showSuggestionHighlights']&&_0x282187({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x3aec36,_0x270cbd,_0x3900e9);},{'priority':_0x1aa0('0x13f')});}),_0x2090f1[_0x1aa0('0xb4')][_0x1aa0('0x2b')]('dataDowncast')[_0x1aa0('0x143')]({'model':_0x1aa0('0x11d'),'view':(_0x5889a0,_0x54461f)=>_0x54461f[_0x1aa0('0xf3')]['showSuggestionHighlights']?null:{'group':_0x1aa0('0x11d'),'name':_0x5889a0[_0x1aa0('0xab')](0xb)}}),_0x2090f1['conversion'][_0x1aa0('0x2b')](_0x1aa0('0x113'))[_0x1aa0('0xae')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x5ab858,{writer:_0x1d450b})=>{let _0x81c1c1=_0x1aa0('0x12f')+_0x5ab858[_0x1aa0('0x109')](_0x1aa0('0xb2'))+':'+_0x5ab858[_0x1aa0('0x109')]('id');return _0x5ab858[_0x1aa0('0x109')](_0x1aa0('0x17c'))&&(_0x81c1c1+=':'+_0x5ab858['getAttribute']('marker-count')),_0x1d450b[_0x1aa0('0x14d')]('$marker',{'data-name':_0x81c1c1});}}),_0x2090f1[_0x1aa0('0xb4')]['for']('upcast')[_0x1aa0('0x8e')]({'view':'suggestion'}),_0x2090f1[_0x1aa0('0xb4')]['for'](_0x1aa0('0x171'))[_0x1aa0('0xf1')](_0x320bed=>{_0x320bed['on']('addMarker:suggestion:formatBlock',_0x282187(),{'priority':'high'});}),_0x2090f1['conversion'][_0x1aa0('0x2b')](_0x1aa0('0x171'))[_0x1aa0('0xf1')](_0x30ab9c=>{_0x30ab9c['on'](_0x1aa0('0x60'),_0x282187({'isAttributeSuggestion':!0x0}),{'priority':_0x1aa0('0xd3')});}),_0x2090f1['conversion'][_0x1aa0('0x2b')]('editingDowncast')[_0x1aa0('0xf1')](_0x118d8b=>{_0x118d8b['on']('removeMarker:suggestion:formatBlock',(_0x321993,_0x4cf764,_0x2ccc3e)=>{const _0x60afad=_0x2ccc3e[_0x1aa0('0x2a')][_0x1aa0('0x66')](_0x4cf764[_0x1aa0('0x151')]);if(_0x60afad)for(const _0x4539c9 of _0x60afad)_0x4539c9[_0x1aa0('0x41')](_0x1aa0('0x131'))||(_0x2ccc3e[_0x1aa0('0x101')]['removeClass'](['ck-suggestion-marker',_0x1aa0('0x12c'),_0x1aa0('0x17a')],_0x4539c9),_0x2ccc3e['writer'][_0x1aa0('0x55')](_0x1aa0('0x119'),_0x4539c9),_0x2ccc3e[_0x1aa0('0x2a')][_0x1aa0('0x33')](_0x4539c9,_0x4cf764['markerName']));},{'priority':_0x1aa0('0xd3')});}),_0x2090f1['conversion']['for'](_0x1aa0('0x171'))[_0x1aa0('0xf1')](_0x14045a=>{_0x14045a['on']('removeMarker:suggestion:attribute',(_0x4d42ba,_0x400332,_0x1f425f)=>{const _0x4b91ba=_0x1f425f[_0x1aa0('0x2a')][_0x1aa0('0x66')](_0x400332['markerName']);if(!_0x4b91ba)return;const {id:_0x167bde}=this[_0x1aa0('0x11c')](_0x400332[_0x1aa0('0x151')]),_0x1295c0=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x167bde),_0x5b0d20=this[_0x1aa0('0xc5')](_0x1295c0);if(this['_isBlockAttribute'](_0x5b0d20))for(const _0x2849f5 of _0x4b91ba)_0x2849f5[_0x1aa0('0x41')](_0x1aa0('0x131'))||(_0x1f425f[_0x1aa0('0x101')]['removeClass']([_0x1aa0('0x3f'),_0x1aa0('0x12c'),'ck-suggestion-marker--active'],_0x2849f5),_0x1f425f[_0x1aa0('0x101')]['removeAttribute'](_0x1aa0('0x119'),_0x2849f5),_0x1f425f[_0x1aa0('0x2a')]['unbindElementFromMarkerName'](_0x2849f5,_0x400332[_0x1aa0('0x151')]));},{'priority':_0x1aa0('0xd3')});}),_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x54')]['registerPostFixer'](_0x147215=>{let _0x425a8a=!0x1;const _0x58ea0a=Array['from'](_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x54')][_0x1aa0('0xe7')][_0x1aa0('0x81')]()),_0x139fcf=new Set();for(const {name:_0x4570f8,data:_0x298004}of _0x58ea0a){const {group:_0x4723fc,type:_0xe0f646,subType:_0x5cf43f,id:_0x3ddaaf}=this[_0x1aa0('0x11c')](_0x4570f8);if('suggestion'!==_0x4723fc)continue;const _0xa76ea3=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x3ddaaf);if(null!=_0x298004[_0x1aa0('0x124')]){_0x1aa0('0xa2')==_0xe0f646&&(_0x425a8a=_0x425a8a||Et(_0x298004[_0x1aa0('0x124')],_0x4570f8,_0x147215,_0x2090f1['model'][_0x1aa0('0x5c')]));const _0x466d42='attribute'==_0xe0f646&&this['_isBlockAttribute'](_0x5cf43f[_0x1aa0('0xb9')]('|')[0x0]);if(_0x298004[_0x1aa0('0x124')][_0x1aa0('0xbb')]||_0x1aa0('0x10f')==_0x298004[_0x1aa0('0x124')][_0x1aa0('0xa7')]['rootName']||_0x1aa0('0x8a')==_0xe0f646&&!jt(_0x298004[_0x1aa0('0x124')])||_0x466d42&&!jt(_0x298004['newRange'])||_0x1aa0('0x175')==_0xe0f646&&!(!xt(_0x56948b=_0x298004[_0x1aa0('0x124')])&&!function(_0x53c8de){return _0x53c8de[_0x1aa0('0x2')][_0x1aa0('0x179')]==_0x53c8de[_0x1aa0('0x166')][_0x1aa0('0x84')]&&_0x53c8de[_0x1aa0('0x2')]['isAtEnd'];}(_0x56948b)))_0x147215[_0x1aa0('0x24')](_0x4570f8),_0x425a8a=!0x0;else{if(!_0xa76ea3||!_0xa76ea3[_0x1aa0('0x2c')])continue;_0x139fcf[_0x1aa0('0xf1')](_0xa76ea3);}}}var _0x56948b;return _0x139fcf[_0x1aa0('0x105')]>0x0&&(_0x425a8a=!!this['_joinWithAdjacentSuggestions'](_0x139fcf)||_0x425a8a),_0x425a8a;}),_0x2090f1['model'][_0x1aa0('0x54')][_0x1aa0('0xa9')](_0x194818=>{let _0x9b52c2=!0x1;for(const _0x18773d of _0x2090f1['model'][_0x1aa0('0x54')][_0x1aa0('0xe7')][_0x1aa0('0x83')]())if(_0x1aa0('0x6d')==_0x18773d['type'])for(const _0x2dda3f of this['_suggestions'][_0x1aa0('0xbd')]()){if(_0x2dda3f['isMultiRange']||!_0x2dda3f[_0x1aa0('0x2c')])continue;const _0x48a779=_0x1aa0('0x8a')==_0x2dda3f[_0x1aa0('0x75')],_0x219330=this[_0x1aa0('0xc5')](_0x2dda3f),_0x2540c7=_0x219330&&this[_0x1aa0('0x129')](_0x219330);if(!_0x48a779&&!_0x2540c7)continue;const _0x25cdb8=_0x2dda3f[_0x1aa0('0x165')]();if(_0x25cdb8[_0x1aa0('0x2')][_0x1aa0('0x179')]!=_0x25cdb8[_0x1aa0('0x166')][_0x1aa0('0x179')]&&!_0x25cdb8[_0x1aa0('0x166')][_0x1aa0('0x112')]){const _0xbb6d05=_0x2090f1['model'][_0x1aa0('0xe2')](_0x25cdb8[_0x1aa0('0x2')][_0x1aa0('0x132')],_0x1aa0('0x166')),_0x25c12a=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x42')](_0x25cdb8['start'],_0xbb6d05);_0x194818[_0x1aa0('0x156')](_0x2dda3f[_0x1aa0('0x4f')](),{'range':_0x25c12a}),_0x9b52c2=!0x0;}}return _0x9b52c2;}),_0x2090f1[_0x1aa0('0x21')]['document'][_0x1aa0('0xa9')](_0x232479=>this[_0x1aa0('0x14a')](_0x232479)),_0x2090f1['model'][_0x1aa0('0x54')][_0x1aa0('0xa9')](_0x38c3a1=>!_0x38c3a1[_0x1aa0('0x5a')][_0x1aa0('0x154')]&&this['_processAttributeSuggestions'](_0x38c3a1)),_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x2d')]['on'](_0x1aa0('0x32'),(_0xc3b1fa,_0x1f7966,_0x331877)=>{if(null==_0x331877){const {id:_0x3332d8}=this[_0x1aa0('0x11c')](_0x1f7966[_0x1aa0('0xd1')]),_0x315e04=this[_0x1aa0('0x1')]['get'](_0x3332d8);_0x315e04&&_0x315e04[_0x1aa0('0x8c')](_0x1f7966[_0x1aa0('0xd1')]);}}),_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x54')]['on']('change:data',()=>{const _0x3f1773=Array[_0x1aa0('0x161')](_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x54')][_0x1aa0('0xe7')][_0x1aa0('0x81')]())[_0x1aa0('0xc3')](_0x2667e7=>_0x1aa0('0x11d')===this[_0x1aa0('0x11c')](_0x2667e7['name'])[_0x1aa0('0xf9')]);if(0x0===_0x3f1773[_0x1aa0('0x140')])return;_0x3f1773[_0x1aa0('0x96')]((_0x510d4e,_0x56a088)=>{const _0x243a02=_0x510d4e['data'][_0x1aa0('0x176')],_0x425113=_0x56a088[_0x1aa0('0x13a')][_0x1aa0('0x176')];return null===_0x243a02&&null===_0x425113?0x0:null===_0x243a02&&null!==_0x425113?-0x1:null!==_0x243a02&&null===_0x425113?0x1:_0x243a02[_0x1aa0('0x2')][_0x1aa0('0x11b')](_0x425113[_0x1aa0('0x2')])?-0x1:0x1;});const _0x546a95=new Set(),_0xef6539=new Set();for(const {name:_0x71865c,data:_0x1584b9}of _0x3f1773){const {id:_0x568a39}=this[_0x1aa0('0x11c')](_0x71865c);if(null===_0x1584b9[_0x1aa0('0x176')]){const _0x2e459a=this[_0x1aa0('0x16f')](_0x71865c);_0xef6539[_0x1aa0('0xf1')](_0x2e459a);}else{const _0x442574=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x568a39);null!==_0x1584b9[_0x1aa0('0x124')]||_0x442574[_0x1aa0('0x2c')]?(_0x546a95[_0x1aa0('0xf1')](_0x442574[_0x1aa0('0x76')]),_0xef6539[_0x1aa0('0xf1')](_0x442574)):this[_0x1aa0('0x169')](_0x442574);}}_0xef6539[_0x1aa0('0x105')]>0x0&&this[_0x1aa0('0xeb')](_0xef6539);for(const _0x51caa6 of _0x546a95)this[_0x1aa0('0x5')]('suggestionChanged',_0x51caa6);}),_0x2090f1[_0x1aa0('0x21')]['on']('applyOperation',(_0x2399c4,_0x226c75)=>{const _0x318fa1=_0x226c75[0x0];if(!this[_0x1aa0('0x1')][_0x1aa0('0x105')])return;if(!_0x318fa1[_0x1aa0('0x138')])return;if(_0x318fa1['batch'][_0x1aa0('0x38')]||!_0x318fa1[_0x1aa0('0x5a')][_0x1aa0('0x154')])return;let _0x265594,_0x28c615;switch(_0x318fa1[_0x1aa0('0x75')]){case _0x1aa0('0x6d'):_0x265594=_0x2090f1['model'][_0x1aa0('0xe2')](_0x318fa1[_0x1aa0('0x39')]),_0x28c615=_0x265594[_0x1aa0('0x6e')](_0x318fa1['howMany']);break;case _0x1aa0('0xb9'):_0x265594=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0xe2')](_0x318fa1[_0x1aa0('0x9')]),_0x28c615=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0xe2')](_0x318fa1[_0x1aa0('0x14')]);break;case'move':_0x265594=_0x2090f1['model'][_0x1aa0('0xe2')](_0x318fa1[_0x1aa0('0x152')]),_0x28c615=_0x265594[_0x1aa0('0x6e')](_0x318fa1[_0x1aa0('0x49')]);break;default:return;}const _0x22db42=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x42')](_0x265594,_0x28c615);_0x2090f1['model'][_0x1aa0('0x13b')](()=>{for(const {suggestion:_0x21239a,meta:_0x493ab7}of this[_0x1aa0('0x51')](_0x22db42)){if(_0x21239a[_0x1aa0('0xcb')])continue;if(_0x1aa0('0xa2')==_0x21239a[_0x1aa0('0x75')])continue;const _0x4c24ee=this[_0x1aa0('0xc5')](_0x21239a);if(_0x4c24ee&&this[_0x1aa0('0x129')](_0x4c24ee)&&_0x1aa0('0xb9')!=_0x318fa1[_0x1aa0('0x75')])continue;const _0x2d3c51=_0x21239a[_0x1aa0('0x13a')]&&_0x21239a[_0x1aa0('0x13a')][_0x1aa0('0x0')];('formatBlock'!=_0x21239a[_0x1aa0('0x75')]||'split'==_0x318fa1[_0x1aa0('0x75')]&&!_0x2d3c51)&&(_0x493ab7[_0x1aa0('0x12e')]||'insertion'==_0x21239a[_0x1aa0('0x75')]&&_0x493ab7['isOwn']||_0x21239a[_0x1aa0('0x165')]()[_0x1aa0('0xe')](_0x22db42)&&this[_0x1aa0('0xc7')](_0x21239a,_0x265594,_0x28c615));}});},{'priority':_0x1aa0('0xbc')}),_0x2090f1[_0x1aa0('0x21')]['on'](_0x1aa0('0xc9'),(_0x23c92c,_0x2dc37b)=>{const _0x574313=_0x2dc37b[0x0],_0x413520=_0x2dc37b[0x1];if(_0x413520&&_0x413520['forceDefaultExecution'])return;if(this[_0x1aa0('0x23')])return;if(!this[_0x1aa0('0x5d')][_0x1aa0('0x130')])return;if(_0x574313[_0x1aa0('0xbb')])return;const _0x581f68=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x5c')],{start:_0x55e977,end:_0x472daa}=_0x574313[_0x1aa0('0x165')](),_0x4f5956=_0x55e977[_0x1aa0('0x132')]&&_0x581f68[_0x1aa0('0xa6')](_0x55e977['nodeAfter'])?null:_0x581f68[_0x1aa0('0x142')](_0x55e977,_0x1aa0('0x108')),_0x260f14=_0x472daa['nodeBefore']&&_0x581f68[_0x1aa0('0xa6')](_0x472daa['nodeBefore'])?null:_0x581f68[_0x1aa0('0x142')](_0x472daa,_0x1aa0('0x168')),_0x2031df=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x42')](_0x4f5956?_0x4f5956['start']:_0x55e977,_0x260f14?_0x260f14['end']:_0x472daa);_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x13b')](_0x2541de=>{this[_0x1aa0('0x17')](_0x2031df);const _0x1e5e80=_0x2090f1['model']['schema'][_0x1aa0('0x142')](_0x2031df[_0x1aa0('0x2')]);_0x574313['is']('documentSelection')?_0x2541de[_0x1aa0('0xfa')](_0x1e5e80):_0x574313[_0x1aa0('0x11')](_0x1e5e80);}),_0x23c92c[_0x1aa0('0x1b')]();},{'priority':_0x33fce0['normal']+0xa}),_0x2090f1[_0x1aa0('0x21')]['on'](_0x1aa0('0x28'),(_0x48b6c1,_0x4343fc)=>{const _0x5b835a=_0x4343fc[_0x4343fc[_0x1aa0('0x140')]-0x1];_0x5b835a&&_0x5b835a[_0x1aa0('0xd7')]||this[_0x1aa0('0x23')]||this[_0x1aa0('0x5d')][_0x1aa0('0x130')]&&(_0x2090f1['model']['change'](()=>{let _0x34b8df=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x28')](_0x4343fc[0x0],_0x4343fc[0x1],_0x4343fc[0x2],{'forceDefaultExecution':!0x0});if(!_0x34b8df)return;_0x48b6c1[_0x1aa0('0xf4')]=_0x34b8df[_0x1aa0('0x30')]();const _0x49e018=_0x34b8df[_0x1aa0('0x166')]['nodeBefore'],_0x2fa027=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x5c')];_0x49e018&&_0x2fa027[_0x1aa0('0x68')](_0x49e018)&&!_0x2fa027[_0x1aa0('0xd8')](_0x49e018)&&(_0x34b8df=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x42')](_0x34b8df[_0x1aa0('0x2')],_0x2090f1['model'][_0x1aa0('0xe2')](_0x49e018,_0x1aa0('0x166')))),this[_0x1aa0('0x133')](_0x34b8df);}),_0x48b6c1[_0x1aa0('0x1b')]());},{'priority':_0x1aa0('0xd3')}),this['editor'][_0x1aa0('0x141')][_0x1aa0('0xf1')](_0x1aa0('0x103'),this[_0x1aa0('0x5d')]),this[_0x1aa0('0x98')](_0x1aa0('0x103'));const _0x2eb586=new _0x36998b(_0x2090f1,this[_0x1aa0('0x1')]);_0x2090f1[_0x1aa0('0x141')][_0x1aa0('0xf1')]('acceptSuggestion',_0x2eb586),this[_0x1aa0('0x98')](_0x1aa0('0x8'));const _0x3e4cef=new _0x1ef9be(_0x2090f1,this[_0x1aa0('0x1')]);_0x2090f1[_0x1aa0('0x141')][_0x1aa0('0xf1')](_0x1aa0('0xea'),_0x3e4cef),this[_0x1aa0('0x98')](_0x1aa0('0xea')),_0x2090f1[_0x1aa0('0x141')][_0x1aa0('0xf1')]('acceptAllSuggestions',new _0x548822(_0x2090f1,_0x2eb586,this[_0x1aa0('0x1')])),this['enableCommand'](_0x1aa0('0xd9')),_0x2090f1[_0x1aa0('0x141')][_0x1aa0('0xf1')]('discardAllSuggestions',new _0x548822(_0x2090f1,_0x3e4cef,this[_0x1aa0('0x1')])),this[_0x1aa0('0x98')](_0x1aa0('0x1f')),_0x2090f1['commands']['add'](_0x1aa0('0xc1'),new _0xf7bc0b(_0x2090f1,_0x2eb586,this['_suggestions'])),this[_0x1aa0('0x98')](_0x1aa0('0xc1')),_0x2090f1['commands'][_0x1aa0('0xf1')]('discardSelectedSuggestions',new _0xf7bc0b(_0x2090f1,_0x3e4cef,this['_suggestions'])),this[_0x1aa0('0x98')](_0x1aa0('0x13'));const _0x2133d=_0x2090f1[_0x1aa0('0xf2')]['get'](_0x1aa0('0x63'));this[_0x1aa0('0x79')](_0x2133d,_0x1aa0('0x4d'),(_0x5bafe1,{threadId:_0x39794a})=>{const _0x509679=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x39794a);_0x509679&&_0x509679[_0x1aa0('0x106')]&&0x1===_0x509679[_0x1aa0('0x106')][_0x1aa0('0x140')]&&this['_updateSuggestionData'](_0x39794a,{'hasComments':!0x0});},{'priority':'low'}),this[_0x1aa0('0x79')](_0x2133d,'removeComment',(_0x56264e,{threadId:_0xf7ec90})=>{const _0x54c2a4=this['_suggestions'][_0x1aa0('0x118')](_0xf7ec90);_0x54c2a4&&_0x54c2a4[_0x1aa0('0x106')]&&!_0x54c2a4[_0x1aa0('0x106')][_0x1aa0('0x140')]&&this['_updateSuggestionData'](_0xf7ec90,{'hasComments':!0x1});},{'priority':'low'});}set[_0x1aa0('0xb0')](_0x39ecc7){if(this[_0x1aa0('0x16')])throw new _0x3c8e1d(_0x1aa0('0x18'),this);this['_adapter']=_0x39ecc7;}get[_0x1aa0('0xb0')](){return this[_0x1aa0('0x16')];}[_0x1aa0('0x15a')]({skipNotAttached:_0x46ae1f=!0x1,toJSON:_0x2af2e7=!0x1}={}){const _0x28a779=[];for(const _0x7faa26 of this[_0x1aa0('0x1')][_0x1aa0('0xbd')]())_0x46ae1f&&!_0x7faa26[_0x1aa0('0x2c')]||_0x28a779['push'](_0x7faa26);return _0x2af2e7?_0x28a779[_0x1aa0('0x4e')](_0x15b1b9=>_0x15b1b9[_0x1aa0('0xfe')]()):_0x28a779;}[_0x1aa0('0x16a')](_0x511ece){const _0x363c1b=this['_suggestions'][_0x1aa0('0x118')](_0x511ece);if(!_0x363c1b)throw new _0x3c8e1d('track-changes-suggestion-not-found',this);return _0x363c1b;}[_0x1aa0('0x36')](_0x447912){return this['_suggestions'][_0x1aa0('0xce')](_0x447912);}['addSuggestionData'](_0x35d0ca){const {authorId:_0x45ec66,id:_0x227337,attributes:_0x578985}=_0x35d0ca,[_0x345001,_0x23e7b0]=_0x35d0ca[_0x1aa0('0x75')][_0x1aa0('0xb9')](':'),_0x2f1d0d=this['_suggestions'][_0x1aa0('0x118')](_0x227337)||this[_0x1aa0('0x15f')](_0x345001,_0x23e7b0,_0x227337,_0x45ec66,_0x578985);if(this[_0x1aa0('0x8b')](_0x2f1d0d),this[_0x1aa0('0x87')](_0x2f1d0d,_0x345001,_0x23e7b0||null,_0x45ec66),_0x2f1d0d['createdAt']=_0x35d0ca['createdAt'],_0x2f1d0d['_isDataLoaded']=!0x0,_0x578985&&_0x578985[_0x1aa0('0xf')]){const _0x3b61bb=_0x578985[_0x1aa0('0xf')],_0x43e424=this[_0x1aa0('0x16d')](_0x3b61bb[_0x1aa0('0x16c')]);_0x2f1d0d[_0x1aa0('0x14b')]=_0x3b61bb['createdAt'],_0x2f1d0d[_0x1aa0('0x8f')]=_0x43e424,_0x2f1d0d[_0x1aa0('0x16b')]=!0x0;}else _0x2f1d0d[_0x1aa0('0x14b')]=_0x35d0ca[_0x1aa0('0xb7')];switch(_0x35d0ca['data']&&(_0x2f1d0d[_0x1aa0('0x13a')]=_0x35d0ca['data']),_0x35d0ca[_0x1aa0('0x10e')]&&(_0x2f1d0d[_0x1aa0('0x10e')]=_0x35d0ca[_0x1aa0('0x10e')]),this[_0x1aa0('0x16')]&&this[_0x1aa0('0x16')][_0x1aa0('0x6b')]||(_0x2f1d0d[_0x1aa0('0x91')]=!0x0),this[_0x1aa0('0x135')]['get'](_0x2f1d0d)){case'notReady':this[_0x1aa0('0x135')][_0x1aa0('0xe4')](_0x2f1d0d,_0x1aa0('0xde'));break;case _0x1aa0('0x7c'):_0x2f1d0d[_0x1aa0('0x2c')]?(this[_0x1aa0('0xeb')](new Set([_0x2f1d0d])),this[_0x1aa0('0x115')](new Set([_0x2f1d0d])),this[_0x1aa0('0x135')][_0x1aa0('0xe4')](_0x2f1d0d,'ready'),this[_0x1aa0('0x5')](_0x1aa0('0x1e'),_0x2f1d0d)):this[_0x1aa0('0x135')]['set'](_0x2f1d0d,_0x1aa0('0x50'));}return _0x2f1d0d;}[_0x1aa0('0x8')](_0x4d399a){this['forceDefaultExecution'](()=>{this[_0x1aa0('0x45')][_0x1aa0('0x21')][_0x1aa0('0x13b')](()=>{for(const _0x38ed87 of _0x4d399a[_0x1aa0('0x3a')]())_0x38ed87[_0x1aa0('0x93')]();});});}[_0x1aa0('0xea')](_0x305dbf){this[_0x1aa0('0xd7')](()=>{this[_0x1aa0('0x45')]['model']['change'](()=>{for(const _0x5ded87 of _0x305dbf['getAllAdjacentSuggestions']())_0x5ded87[_0x1aa0('0xe6')]();});});}[_0x1aa0('0x98')](_0x489934,_0x3f8ce2){const _0x4e49ca=this[_0x1aa0('0x45')][_0x1aa0('0x141')][_0x1aa0('0x118')](_0x489934);if(!_0x4e49ca)throw new _0x3c8e1d(_0x1aa0('0x100'),this,{'commandName':_0x489934});if(this[_0x1aa0('0x110')]['has'](_0x4e49ca))throw new _0x3c8e1d(_0x1aa0('0x5f'),this,{'commandName':_0x489934});this[_0x1aa0('0x110')][_0x1aa0('0xf1')](_0x4e49ca),_0x3f8ce2&&_0x4e49ca['on'](_0x1aa0('0xb6'),(_0x216760,_0x23174e)=>{this[_0x1aa0('0x5d')][_0x1aa0('0x130')]&&(this[_0x1aa0('0x23')]||(_0x23174e[_0x1aa0('0x140')]>0x0&&_0x23174e[_0x23174e[_0x1aa0('0x140')]-0x1]&&_0x23174e[_0x23174e[_0x1aa0('0x140')]-0x1][_0x1aa0('0xd7')]?_0x23174e[_0x1aa0('0x145')]():(_0x216760['return']=_0x3f8ce2((..._0x1eb225)=>_0x4e49ca[_0x1aa0('0xb6')](..._0x1eb225,{'forceDefaultExecution':!0x0}),..._0x23174e),_0x216760[_0x1aa0('0x1b')]())));},{'priority':_0x1aa0('0xd3')});}[_0x1aa0('0xd7')](_0x5aaf83){let _0x3b7c16,_0x3ae8b7;const _0x337b87=this['_isForcedDefaultExecutionBlock'];this[_0x1aa0('0x23')]=!0x0;try{_0x3b7c16=_0x5aaf83();}catch(_0x2de092){_0x3ae8b7=_0x2de092;}return _0x337b87||(this[_0x1aa0('0x23')]=!0x1),_0x3ae8b7&&_0x3c8e1d[_0x1aa0('0x114')](_0x3ae8b7,this),_0x3b7c16;}[_0x1aa0('0x133')](_0x6d6bc4,_0x50a90d=null,_0x35d82d={}){if(_0x6d6bc4[_0x1aa0('0xbb')])return null;const _0x31af17=this[_0x1aa0('0x45')]['plugins']['get'](_0x1aa0('0xc0'))['me'];for(const {suggestion:_0x251c22,meta:_0x2c91d5}of this[_0x1aa0('0x51')](_0x6d6bc4,_0x1aa0('0xb')))if(_0x2c91d5[_0x1aa0('0x13d')]){if(!_0x2c91d5[_0x1aa0('0x64')]){if(_0x2c91d5[_0x1aa0('0x12e')]){if(!this[_0x1aa0('0xb1')]||!Ft(_0x251c22,_0x35d82d))continue;return _0x251c22;}if(Ft(_0x251c22,_0x35d82d))return _0x251c22;this['_breakSuggestionMarker'](_0x251c22,_0x6d6bc4[_0x1aa0('0x2')],_0x6d6bc4[_0x1aa0('0x166')]);break;}if(_0x50a90d==_0x251c22[_0x1aa0('0x13e')]&&Ft(_0x251c22,_0x35d82d)){const _0x485307=_0x251c22[_0x1aa0('0x165')]();return _0x485307[_0x1aa0('0x2')][_0x1aa0('0x111')](_0x6d6bc4['end'])?this[_0x1aa0('0x71')](_0x251c22,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x6d6bc4[_0x1aa0('0x2')],_0x485307[_0x1aa0('0x166')])):this[_0x1aa0('0x71')](_0x251c22,this[_0x1aa0('0x10a')]['createRange'](_0x485307[_0x1aa0('0x2')],_0x6d6bc4[_0x1aa0('0x166')])),_0x251c22;}}const _0x3a1025=_0x2a195c(),_0x778b51=_0x31af17['id'],_0x3a8cb5=_0x50a90d?_0x1aa0('0x10d')+_0x50a90d:_0x1aa0('0xb'),_0x4b4772=this[_0x1aa0('0x85')]({'id':_0x3a1025,'type':_0x3a8cb5,'createdAt':new Date(),'authorId':_0x778b51,'attributes':_0x35d82d});return this[_0x1aa0('0x11f')](_0x3a8cb5,_0x3a1025,_0x778b51,_0x6d6bc4),_0x4b4772;}['markMultiRangeInsertion'](_0xf33ff3,_0x3e66fc='multi',_0x12c302={}){const _0x4e7e62=this['editor'][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x5cf18d=this[_0x1aa0('0x17b')]['getSuggestionCallback'](_0x1aa0('0xb'),_0x3e66fc,_0x1aa0('0x99'));for(const _0x362c56 of this['getSuggestions']())if(_0x362c56[_0x1aa0('0x8f')]['id']==_0x4e7e62['id']&&_0x1aa0('0xb')==_0x362c56[_0x1aa0('0x75')]&&_0x362c56[_0x1aa0('0x13e')]==_0x3e66fc&&Ft(_0x362c56,_0x12c302)&&(_0x5cf18d(_0x362c56['getRanges'](),_0xf33ff3)||_0x5cf18d(_0xf33ff3,_0x362c56['getRanges']()))){for(const _0x5d7c65 of _0xf33ff3)_0x362c56[_0x1aa0('0xee')](_0x5d7c65);return _0x362c56;}for(const {suggestion:_0x3d7212,meta:_0x38f658}of this['_findSuggestions'](_0xf33ff3,_0x1aa0('0xb'))){if(!_0x38f658[_0x1aa0('0x13d')])continue;if(!this[_0x1aa0('0xb1')]&&_0x38f658['containsRangeInObject'])continue;if(!Ft(_0x3d7212,_0x12c302))continue;let _0x3e90f7=!0x0;for(const _0x4806d0 of _0x3d7212[_0x1aa0('0x10c')]())for(const _0x1053a1 of _0xf33ff3)if(!_0x4806d0['containsRange'](_0x1053a1)){_0x3e90f7=!0x1;break;}if(_0x3e90f7)return _0x3d7212;}const _0x4f4501=_0x2a195c(),_0x190570=_0x4e7e62['id'],_0x18f32e=_0x1aa0('0x10d')+_0x3e66fc,_0x35d445=this['_setSuggestionData']({'id':_0x4f4501,'type':_0x18f32e,'createdAt':new Date(),'authorId':_0x190570,'attributes':_0x12c302});for(const _0x31d63e of _0xf33ff3)this[_0x1aa0('0x11f')](_0x18f32e,_0x4f4501,_0x190570,_0x31d63e,_0x526ec3[_0x1aa0('0x137')]());return _0x35d445;}[_0x1aa0('0x15d')](_0x1f33a8,_0x4212c8,_0x23a7d1=null,_0x450d33={}){if(_0x23a7d1=_0x23a7d1||Rt(_0x4212c8),_0x1f33a8[_0x1aa0('0xbb')])return null;if(_0x1aa0('0x9e')===this[_0x1aa0('0xa0')]){const _0x29ccd7=this[_0x1aa0('0x17b')]['getSuggestionCallback'](_0x1aa0('0xa2'),_0x23a7d1,_0x1aa0('0x93'));return this['forceDefaultExecution'](()=>_0x29ccd7([_0x1f33a8],_0x4212c8,_0x450d33)),null;}const _0x1f58c3=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x14ddfc=[];if('always'!==this[_0x1aa0('0xa0')])for(const {suggestion:_0x434b70,meta:_0x5bee97}of this['_findSuggestions'](_0x1f33a8,'insertion'))_0x5bee97[_0x1aa0('0x13d')]&&!_0x5bee97[_0x1aa0('0x147')]&&_0x14ddfc['push'](..._0x434b70[_0x1aa0('0x10c')]());const _0x4c01b9=function(_0x294c71,_0x4335d2){const _0x5acbbf=[];for(const _0xeadffa of _0x4335d2){const _0x22177d=_0x294c71[_0x1aa0('0xec')](_0xeadffa);_0x22177d&&_0x5acbbf[_0x1aa0('0x35')](_0x22177d);}return _0x5acbbf;}(_0x1f33a8,_0x14ddfc),_0x3ce635=function(_0x552b80,_0x11fa0f){const _0x14228b=[_0x552b80];for(const _0x5e4bfe of _0x11fa0f){let _0x2bfecc=0x0;for(;_0x2bfecc<_0x14228b[_0x1aa0('0x140')];){const _0x4d51ea=_0x14228b[_0x2bfecc][_0x1aa0('0x159')](_0x5e4bfe);_0x14228b[_0x1aa0('0xd4')](_0x2bfecc,0x1,..._0x4d51ea),_0x2bfecc+=_0x4d51ea[_0x1aa0('0x140')];}}return _0x14228b;}(_0x1f33a8,_0x14ddfc);_0x4c01b9[_0x1aa0('0x140')]&&this['_model'][_0x1aa0('0x13b')](()=>{for(const _0x3d9970 of _0x4c01b9){const _0x481b2b=this['_suggestionFactory'][_0x1aa0('0x14f')]('formatInline',_0x23a7d1,'accept');this[_0x1aa0('0xd7')](()=>_0x481b2b([_0x3d9970],_0x4212c8,_0x450d33));}});for(const _0x187914 of _0x3ce635){let _0x2e232f=null,_0x3bcd1b=_0x187914[_0x1aa0('0x2')],_0xb2bad9=_0x187914[_0x1aa0('0x166')];for(const {suggestion:_0x50bfac,meta:_0x15bda9}of this[_0x1aa0('0x51')](_0x187914,'formatInline')){if(!_0x15bda9[_0x1aa0('0x13d')])continue;if(_0x50bfac[_0x1aa0('0x13e')]!=_0x23a7d1)continue;if(!Ft(_0x50bfac,_0x450d33))continue;const _0x53a4db=_0x50bfac[_0x1aa0('0x165')]();if(_0x53a4db[_0x1aa0('0xe')](_0x187914,!0x0))return null;_0x3bcd1b=_0x3bcd1b[_0x1aa0('0x11b')](_0x53a4db[_0x1aa0('0x2')])?_0x3bcd1b:_0x53a4db[_0x1aa0('0x2')],_0xb2bad9=_0xb2bad9[_0x1aa0('0x136')](_0x53a4db[_0x1aa0('0x166')])?_0xb2bad9:_0x53a4db[_0x1aa0('0x166')],_0x2e232f?_0x53a4db[_0x1aa0('0x2')][_0x1aa0('0x11b')](_0x2e232f['getFirstRange']()['start'])?(_0x2e232f['removeMarkers'](),_0x2e232f=_0x50bfac):_0x50bfac['removeMarkers']():_0x2e232f=_0x50bfac;}const _0x47fde5=this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x3bcd1b,_0xb2bad9);if(_0x2e232f)this['_setSuggestionRange'](_0x2e232f,_0x47fde5);else{const _0x3c9790=_0x2a195c(),_0x40c61a=_0x1f58c3['id'];this[_0x1aa0('0x85')]({'id':_0x3c9790,'type':'formatInline:'+_0x23a7d1,'data':_0x4212c8,'createdAt':new Date(),'authorId':_0x40c61a,'attributes':_0x450d33}),this[_0x1aa0('0x11f')](_0x1aa0('0x80')+_0x23a7d1,_0x3c9790,_0x40c61a,_0x47fde5);}}return null;}[_0x1aa0('0x6c')](_0x28e136,_0x3a8baa,_0x16c9e0=[],_0x2aa35b=null,_0x27f8a3={}){_0x3a8baa[_0x1aa0('0x62')]||(_0x3a8baa['formatGroupId']=_0x3a8baa[_0x1aa0('0x3c')]),_0x3a8baa['multipleBlocks']=_0x28e136['is'](_0x1aa0('0x3b')),_0x2aa35b=_0x2aa35b||Rt(_0x3a8baa);const _0x3f154b=_0x16c9e0[_0x1aa0('0x4e')](_0xd05c69=>Ut(_0xd05c69,this[_0x1aa0('0x10a')])),_0x40d7e4=_0x28e136['is'](_0x1aa0('0x3b'))?_0x28e136:Ut(_0x28e136,this[_0x1aa0('0x10a')]);if('never'===this[_0x1aa0('0xa0')]){const _0x5f5dcd=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x1aa0('0x8a'),_0x2aa35b,_0x1aa0('0x93'));return this[_0x1aa0('0xd7')](()=>_0x5f5dcd([_0x40d7e4],_0x3a8baa,_0x27f8a3)),null;}_0x3f154b['push'](_0x40d7e4);let _0x42dea6=!0x0;for(const _0x16a33c of _0x3f154b)if(!this[_0x1aa0('0xff')](_0x16a33c)){_0x42dea6=!0x1;break;}if(_0x42dea6&&_0x1aa0('0x22')!==this[_0x1aa0('0xa0')]){const _0x4dab67=this['_suggestionFactory'][_0x1aa0('0x14f')]('formatBlock',_0x2aa35b,_0x1aa0('0x93'));return this[_0x1aa0('0xd7')](()=>_0x4dab67([_0x40d7e4],_0x3a8baa,_0x27f8a3)),null;}let _0x2297bb=null,_0x1907db=_0x40d7e4[_0x1aa0('0x2')],_0x2596ae=_0x40d7e4[_0x1aa0('0x166')];for(const {suggestion:_0x57b3ad,meta:_0x26e21e}of this[_0x1aa0('0x51')](_0x40d7e4,_0x1aa0('0x8a'))){if(!_0x26e21e[_0x1aa0('0x13d')])continue;if(_0x26e21e[_0x1aa0('0x64')]||_0x26e21e[_0x1aa0('0x12e')]||_0x26e21e['isInsideObject'])continue;if(_0x57b3ad[_0x1aa0('0x13a')][_0x1aa0('0x62')]!=_0x3a8baa[_0x1aa0('0x62')])continue;if(!Ft(_0x57b3ad,_0x27f8a3))continue;const _0x3792e3=_0x57b3ad[_0x1aa0('0x165')]();if(_0x57b3ad[_0x1aa0('0x13e')]==_0x2aa35b){if(_0x3792e3[_0x1aa0('0xe')](_0x40d7e4,!0x0))return null;_0x1907db=_0x1907db[_0x1aa0('0x11b')](_0x3792e3[_0x1aa0('0x2')])?_0x1907db:_0x3792e3[_0x1aa0('0x2')],_0x2596ae=_0x2596ae[_0x1aa0('0x136')](_0x3792e3[_0x1aa0('0x166')])?_0x2596ae:_0x3792e3[_0x1aa0('0x166')],_0x2297bb?_0x3792e3[_0x1aa0('0x2')][_0x1aa0('0x11b')](_0x2297bb[_0x1aa0('0x165')]()[_0x1aa0('0x2')])?(_0x2297bb['removeMarkers'](),_0x2297bb=_0x57b3ad):_0x57b3ad['removeMarkers']():_0x2297bb=_0x57b3ad;}else{const _0x4dfa25=_0x40d7e4[_0x1aa0('0xec')](_0x3792e3);this[_0x1aa0('0xd6')](_0x57b3ad,_0x4dfa25);}}const _0x31fbd7=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x2774b0=_0x2a195c(),_0x4f25e1=_0x31fbd7['id'];if(_0x2297bb)return this[_0x1aa0('0x71')](_0x2297bb,this['_model'][_0x1aa0('0x42')](_0x1907db,_0x2596ae)),_0x2297bb;{const _0x219329=this[_0x1aa0('0x85')]({'id':_0x2774b0,'type':_0x1aa0('0x9d')+_0x2aa35b,'data':_0x3a8baa,'createdAt':new Date(),'authorId':_0x4f25e1,'attributes':_0x27f8a3});return this['_addSuggestionMarker'](_0x1aa0('0x9d')+_0x2aa35b,_0x2774b0,_0x4f25e1,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x1907db,_0x2596ae)),_0x219329;}}['markMultiRangeBlockFormat'](_0x338823,_0x240868,_0x38b139=[],_0x1b24e1=null,_0xc43b44={}){_0x240868['formatGroupId']||(_0x240868['formatGroupId']=_0x240868[_0x1aa0('0x3c')]);const _0x326f9e=_0x338823[0x0];_0x240868[_0x1aa0('0x0')]=_0x326f9e['is'](_0x1aa0('0x3b')),_0x1b24e1=_0x1b24e1||Rt(_0x240868);const _0x189bf0=_0x38b139[_0x1aa0('0x4e')](_0x3e2394=>Ut(_0x3e2394,this[_0x1aa0('0x10a')])),_0xb1791=_0x326f9e['is'](_0x1aa0('0x3b'))?_0x338823:_0x338823[_0x1aa0('0x4e')](_0x37fe20=>Ut(_0x37fe20,this[_0x1aa0('0x10a')]));if(_0x1aa0('0x9e')===this['_trackFormatChanges']){const _0x510a92=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x1aa0('0x8a'),_0x1b24e1,_0x1aa0('0x93'));return this['forceDefaultExecution'](()=>_0x510a92(_0xb1791,_0x240868,_0xc43b44)),null;}_0x189bf0[_0x1aa0('0x35')](..._0xb1791);let _0xd44191=!0x0;for(const _0x35c00a of _0x189bf0)if(!this[_0x1aa0('0xff')](_0x35c00a)){_0xd44191=!0x1;break;}if(_0xd44191&&_0x1aa0('0x22')!==this[_0x1aa0('0xa0')]){const _0x37bdf4=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x1aa0('0x8a'),_0x1b24e1,_0x1aa0('0x93'));return this['forceDefaultExecution'](()=>_0x37bdf4(_0xb1791,_0x240868,_0xc43b44)),null;}const _0x154aea=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')]('Users')['me'];for(const _0x53effc of this[_0x1aa0('0x15a')]()){if(_0x53effc[_0x1aa0('0x8f')]['id']!=_0x154aea['id'])continue;if(_0x1aa0('0x8a')!=_0x53effc[_0x1aa0('0x75')]||_0x53effc[_0x1aa0('0x13a')][_0x1aa0('0x62')]!=_0x240868['formatGroupId'])continue;if(!Ft(_0x53effc,_0xc43b44))continue;const _0x32d209=_0x53effc['subType']==_0x1b24e1;for(let _0xd7957e=0x0;_0xd7957e<_0xb1791[_0x1aa0('0x140')];_0xd7957e++){const _0x3a6163=_0xb1791[_0xd7957e];for(const _0x437eb1 of _0x53effc[_0x1aa0('0x170')]()){const _0x3f9452=_0x437eb1['getRange']();if(_0x3a6163[_0x1aa0('0x111')](_0x3f9452)){_0x32d209?(_0xb1791[_0x1aa0('0xd4')](_0xd7957e,0x1),_0xd7957e--):_0x53effc[_0x1aa0('0x24')](_0x437eb1[_0x1aa0('0xd1')]);break;}}}}if(0x0==_0xb1791[_0x1aa0('0x140')])return null;const _0x4809a3=this['_suggestionFactory']['getSuggestionCallback'](_0x1aa0('0x8a'),_0x1b24e1,'join');for(const _0x29aad6 of this[_0x1aa0('0x15a')]())if(_0x29aad6[_0x1aa0('0x8f')]['id']==_0x154aea['id']&&_0x1aa0('0x8a')==_0x29aad6['type']&&_0x29aad6[_0x1aa0('0x13a')][_0x1aa0('0x62')]==_0x240868['formatGroupId']&&_0x29aad6['subType']==_0x1b24e1&&Ft(_0x29aad6,_0xc43b44)&&(_0x4809a3(_0x29aad6[_0x1aa0('0x10c')](),_0xb1791)||_0x4809a3(_0xb1791,_0x29aad6[_0x1aa0('0x10c')]()))){for(const _0x41d7b3 of _0xb1791)_0x29aad6[_0x1aa0('0xee')](_0x41d7b3);return _0x29aad6;}const _0x58d371=_0x2a195c(),_0x5ec2ab=_0x154aea['id'],_0x2d5946=_0x1aa0('0x9d')+_0x1b24e1,_0x5cadc7=this[_0x1aa0('0x85')]({'id':_0x58d371,'type':_0x2d5946,'data':_0x240868,'createdAt':new Date(),'authorId':_0x5ec2ab,'attributes':_0xc43b44});for(const _0x115ee6 of _0xb1791)this[_0x1aa0('0x11f')](_0x2d5946,_0x58d371,_0x5ec2ab,_0x115ee6,_0x526ec3[_0x1aa0('0x137')]());return _0x5cadc7;}[_0x1aa0('0x17')](_0x288017,_0x3206f3=null,_0x3a0d6c={}){if(_0x288017['isCollapsed'])return null;const _0x5dcb72=this[_0x1aa0('0x45')]['plugins'][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x193fa9=new _0x174a17(_0x288017[_0x1aa0('0x2')],_0x288017[_0x1aa0('0x166')]);for(const {suggestion:_0x2543e9,meta:_0x4bb466}of this[_0x1aa0('0x51')](_0x193fa9,_0x1aa0('0xb')))if(_0x4bb466[_0x1aa0('0x13d')]&&!_0x4bb466[_0x1aa0('0x64')]){if(_0x2543e9['isMultiRange']){const _0x1c9db8=_0x2543e9[_0x1aa0('0x10c')]()['filter'](_0x244cb9=>_0x1aa0('0x10f')!=_0x244cb9[_0x1aa0('0xa7')][_0x1aa0('0xfd')]);_0x1c9db8[_0x1aa0('0xc2')](_0x2a1bba=>_0x193fa9['containsRange'](_0x2a1bba,!0x0))&&_0x2543e9[_0x1aa0('0xe6')]();if(_0x1c9db8['some'](_0x2438d1=>_0x2438d1[_0x1aa0('0xe')](_0x193fa9,!0x0))){const _0x5f0f98=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x1aa0('0x175'),_0x3206f3,_0x1aa0('0x93'));return this['forceDefaultExecution'](()=>_0x5f0f98([_0x193fa9],null,_0x3a0d6c)),null;}}else{const _0x4e4a5b=_0x193fa9['getIntersection'](_0x2543e9[_0x1aa0('0x165')]());null!==_0x4e4a5b&&_0x2543e9[_0x1aa0('0x144')]([_0x4e4a5b],null,_0x3a0d6c);}}if(_0x193fa9['detach'](),_0x193fa9[_0x1aa0('0xbb')]||_0x1aa0('0x10f')==_0x193fa9['root'][_0x1aa0('0xfd')])return null;let _0x24b8c3=null,_0x2ede55=_0x193fa9['start'],_0x50ab4b=_0x193fa9[_0x1aa0('0x166')];const _0x36592d=this[_0x1aa0('0x51')](_0x193fa9,'deletion');for(const {suggestion:_0x2c5fc9,meta:_0x367168}of _0x36592d){const _0x4e3f50=this['_model'][_0x1aa0('0x42')](_0x2ede55,_0x50ab4b);if(_0x367168[_0x1aa0('0x13d')]&&(this[_0x1aa0('0xb1')]||!_0x367168[_0x1aa0('0x12e')]&&!_0x367168['isInsideObject'])){if(_0x2c5fc9['isMultiRange']){if(!Ft(_0x2c5fc9,_0x3a0d6c))continue;let _0x185472=!0x0;for(const _0x4ad9e7 of _0x2c5fc9[_0x1aa0('0x10c')]()){if(_0x4ad9e7[_0x1aa0('0xe')](_0x4e3f50,!0x0))return _0x2c5fc9;_0x4e3f50[_0x1aa0('0xe')](_0x4ad9e7)||(_0x185472=!0x1);}_0x185472&&_0x2c5fc9[_0x1aa0('0xe6')]();}else{const _0x3f368d=_0x2c5fc9['getFirstRange']();if(_0x3f368d['containsRange'](_0x4e3f50,!0x0))return _0x2c5fc9;if(!Ft(_0x2c5fc9,_0x3a0d6c)){_0x4e3f50['containsRange'](_0x3f368d)?_0x2c5fc9[_0x1aa0('0x148')]():_0x3f368d[_0x1aa0('0x40')](_0x2ede55)?_0x2ede55=_0x3f368d[_0x1aa0('0x166')]:_0x3f368d['containsPosition'](_0x50ab4b)&&(_0x50ab4b=_0x3f368d[_0x1aa0('0x2')]);continue;}_0x2ede55=_0x2ede55[_0x1aa0('0x11b')](_0x3f368d[_0x1aa0('0x2')])?_0x2ede55:_0x3f368d['start'],_0x50ab4b=_0x50ab4b[_0x1aa0('0x136')](_0x3f368d[_0x1aa0('0x166')])?_0x50ab4b:_0x3f368d[_0x1aa0('0x166')],_0x3a0d6c=Object['assign']({},_0x2c5fc9['attributes']),_0x24b8c3?_0x3f368d[_0x1aa0('0x2')][_0x1aa0('0x11b')](_0x24b8c3[_0x1aa0('0x165')]()[_0x1aa0('0x2')])?(_0x24b8c3[_0x1aa0('0x148')](),_0x24b8c3=_0x2c5fc9):_0x2c5fc9[_0x1aa0('0x148')]():_0x24b8c3=_0x2c5fc9;}}}if(_0x24b8c3)return this[_0x1aa0('0x71')](_0x24b8c3,this['_model'][_0x1aa0('0x42')](_0x2ede55,_0x50ab4b)),_0x24b8c3;{const _0x43e9eb=_0x2a195c(),_0x12a56b=this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x2ede55,_0x50ab4b),_0x7eb9d5=_0x5dcb72['id'],_0x187444=_0x3206f3?_0x1aa0('0x1a')+_0x3206f3:_0x1aa0('0x175'),_0xe8542=this[_0x1aa0('0x85')]({'id':_0x43e9eb,'type':_0x187444,'createdAt':new Date(),'authorId':_0x7eb9d5,'attributes':_0x3a0d6c});return this[_0x1aa0('0x11f')](_0x187444,_0x43e9eb,_0x7eb9d5,_0x12a56b),_0xe8542;}}[_0x1aa0('0x15c')](_0xbb5d67,_0x1f086f=_0x1aa0('0x10b'),_0x4b6141={}){const _0x369b1f=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x390d34=_0xbb5d67[_0x1aa0('0x4e')](_0xcd787b=>new _0x174a17(_0xcd787b['start'],_0xcd787b['end'])),_0xcb77d2=new Set();for(const {suggestion:_0xa3c487,meta:_0x5dbf96}of this[_0x1aa0('0x51')](_0x390d34,_0x1aa0('0xb')))_0x5dbf96[_0x1aa0('0x13d')]&&!_0x5dbf96[_0x1aa0('0x64')]&&_0xcb77d2[_0x1aa0('0xf1')](_0xa3c487);for(const _0x299962 of _0xcb77d2)if(_0x299962['isMultiRange']){const _0x2c28c9=_0x299962[_0x1aa0('0x10c')]();(!_0x299962[_0x1aa0('0x10e')]||!_0x299962[_0x1aa0('0x10e')][_0x1aa0('0x73')])&&(_0x2c28c9[_0x1aa0('0xc2')](_0x34e886=>_0x390d34[_0x1aa0('0x7e')](_0xb1c7e6=>_0xb1c7e6[_0x1aa0('0xe')](_0x34e886,!0x0)))&&_0x299962[_0x1aa0('0xe6')]());if(_0x390d34[_0x1aa0('0xc2')](_0x1717aa=>_0x2c28c9[_0x1aa0('0x7e')](_0x1082eb=>_0x1082eb[_0x1aa0('0xe')](_0x1717aa,!0x0)))){const _0x12628a=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')]('deletion',_0x1f086f,_0x1aa0('0x93'));return this[_0x1aa0('0xd7')](()=>_0x12628a(_0xbb5d67,null,_0x4b6141)),null;}}else{const _0x32fe51=_0x299962[_0x1aa0('0x165')]();_0x390d34[_0x1aa0('0x7e')](_0x3db7d7=>_0x3db7d7[_0x1aa0('0xe')](_0x32fe51,!0x0))&&_0x299962[_0x1aa0('0xe6')]();if(_0x390d34[_0x1aa0('0xc2')](_0x5c3391=>_0x32fe51[_0x1aa0('0xe')](_0x5c3391,!0x0))){const _0x442118=this['_suggestionFactory'][_0x1aa0('0x14f')]('deletion',_0x1f086f,_0x1aa0('0x93'));return this[_0x1aa0('0xd7')](()=>_0x442118(_0x390d34,null,_0x4b6141)),null;}}const _0x52fa4b=this[_0x1aa0('0x17b')]['getSuggestionCallback'](_0x1aa0('0x175'),_0x1f086f,_0x1aa0('0x99'));let _0x1bbd2e=null;for(const _0x962e06 of this['getSuggestions']())if(_0x962e06['author']['id']==_0x369b1f['id']&&_0x962e06['isInContent']&&'deletion'==_0x962e06[_0x1aa0('0x75')]&&_0x962e06[_0x1aa0('0x13e')]==_0x1f086f&&Ft(_0x962e06,_0x4b6141)&&(_0x52fa4b(_0x962e06[_0x1aa0('0x10c')](),_0x390d34)||_0x52fa4b(_0x390d34,_0x962e06[_0x1aa0('0x10c')]()))){if(_0x1bbd2e){if(_0x962e06['commentThread']&&_0x962e06['commentThread'][_0x1aa0('0x140')])continue;for(const _0x5aa5a5 of _0x962e06[_0x1aa0('0x10c')]())_0x1bbd2e['isIntersectingWithRange'](_0x5aa5a5)||_0x1bbd2e[_0x1aa0('0xee')](_0x5aa5a5);_0x962e06['removeMarkers']();}else{_0x1bbd2e=_0x962e06;for(const _0x316fba of _0x390d34)_0x962e06[_0x1aa0('0x53')](_0x316fba)||_0x962e06['addRange'](_0x316fba);}}if(_0x1bbd2e)return _0x1bbd2e;_0xcb77d2['clear']();for(const {suggestion:_0x4b8dbc,meta:_0x4aff18}of this['_findSuggestions'](_0x390d34,'deletion'))_0x4aff18[_0x1aa0('0x13d')]&&(this['_mergeNestedSuggestions']||!_0x4aff18[_0x1aa0('0x12e')]&&!_0x4aff18[_0x1aa0('0x147')])&&Ft(_0x4b8dbc,_0x4b6141)&&_0xcb77d2[_0x1aa0('0xf1')](_0x4b8dbc);for(const _0x5248f9 of _0xcb77d2){const _0x303d55=_0x5248f9[_0x1aa0('0x10c')]();if(!_0x4b6141||!_0x4b6141[_0x1aa0('0x73')]){if(_0x390d34['every'](_0x5e42bd=>_0x303d55[_0x1aa0('0x7e')](_0x4591f9=>_0x4591f9[_0x1aa0('0xe')](_0x5e42bd,!0x0))))return _0x5248f9;}(!_0x5248f9[_0x1aa0('0x10e')]||!_0x5248f9[_0x1aa0('0x10e')][_0x1aa0('0x73')])&&(_0x303d55[_0x1aa0('0xc2')](_0x5a91b9=>_0x390d34['some'](_0x849ed4=>_0x849ed4[_0x1aa0('0xe')](_0x5a91b9,!0x0)))&&_0x5248f9[_0x1aa0('0xe6')]());}const _0x5f244e=_0x2a195c(),_0x437ca9=_0x369b1f['id'],_0x2a5f52=_0x1aa0('0x1a')+_0x1f086f,_0x1b2268=this[_0x1aa0('0x85')]({'id':_0x5f244e,'type':_0x2a5f52,'createdAt':new Date(),'authorId':_0x437ca9,'attributes':_0x4b6141});for(const _0x424184 of _0x390d34)_0x424184[_0x1aa0('0x78')](),_0x424184['isCollapsed']||_0x1aa0('0x10f')==_0x424184[_0x1aa0('0xa7')][_0x1aa0('0xfd')]||this[_0x1aa0('0x11f')](_0x2a5f52,_0x5f244e,_0x437ca9,_0x424184,_0x526ec3[_0x1aa0('0x137')]());return _0x1b2268;}['markAttributeChange'](_0x148690,_0x1a54a9,_0x266368,_0x352aeb,_0x4e0a99){if(_0x148690[_0x1aa0('0xbb')])return[];if(_0x1aa0('0x9e')===this['_trackFormatChanges'])return[];const _0x5d1ccc=this['editor']['plugins'][_0x1aa0('0x118')]('Users')['me']['id'],_0x3e6837=Array[_0x1aa0('0x161')](this[_0x1aa0('0x1')][_0x1aa0('0xbd')]())[_0x1aa0('0xc3')](_0x4cf0da=>_0x1aa0('0xf6')==_0x4cf0da[_0x1aa0('0x75')]&&_0x4cf0da[_0x1aa0('0x13a')][_0x1aa0('0x52')]==_0x1a54a9&&_0x4cf0da[_0x1aa0('0x53')](_0x148690));if(_0x1aa0('0x9c')===this[_0x1aa0('0xa0')]){const _0x512adb=this[_0x1aa0('0x51')](_0x148690,'insertion')[_0x1aa0('0xc3')](({meta:_0x4d1a8b})=>_0x4d1a8b[_0x1aa0('0x13d')]&&!_0x4d1a8b[_0x1aa0('0x147')]&&!_0x4d1a8b[_0x1aa0('0x64')])[_0x1aa0('0x4e')](({suggestion:_0xeaf22f})=>_0xeaf22f);_0x3e6837[_0x1aa0('0x4')](..._0x512adb);}const _0x324ebe=new Map([[_0x148690,_0x266368]]);for(const _0x1d15c1 of _0x3e6837){const _0x343d78=_0x1aa0('0xf6')==_0x1d15c1[_0x1aa0('0x75')]?_0x1d15c1[_0x1aa0('0x13a')][_0x1aa0('0x153')]:void 0x0,_0x4aa8d4=_0x1d15c1[_0x1aa0('0x165')](),_0x263d9f=Array[_0x1aa0('0x161')](_0x324ebe[_0x1aa0('0x43')]())[_0x1aa0('0x11a')](_0x1bd483=>_0x1bd483['isIntersecting'](_0x4aa8d4));_0x263d9f&&(_0x324ebe[_0x1aa0('0xa3')](_0x263d9f),_0x263d9f[_0x1aa0('0x159')](_0x4aa8d4)[_0x1aa0('0x162')](_0x4fb547=>{_0x324ebe[_0x1aa0('0xe4')](_0x4fb547,_0x266368);}),'insertion'!=_0x1d15c1[_0x1aa0('0x75')]&&_0x343d78!=_0x352aeb&&_0x324ebe['set'](_0x263d9f['getIntersection'](_0x4aa8d4),_0x343d78));}const _0x1ec694=[];for(const [_0x5e40c0,_0x1716b6]of _0x324ebe){const _0x44e597=_0x2a195c(),_0x5be568={'key':_0x1a54a9,'oldValue':_0x1716b6,'newValue':_0x352aeb};_0x1a54a9[_0x1aa0('0x140')]>0x25&&console[_0x1aa0('0xa4')](_0x1aa0('0xc'),{'key':_0x1a54a9});const _0x555b4d=(_0x1aa0('0x146')+(_0x1a54a9+'|'+Rt({'newValue':_0x352aeb})))[_0x1aa0('0x6f')](0x0,0x3c),_0x262788=this['_setSuggestionData']({'id':_0x44e597,'type':_0x555b4d,'data':_0x5be568,'createdAt':new Date(),'authorId':_0x5d1ccc,'attributes':_0x4e0a99});_0x1ec694[_0x1aa0('0x35')](_0x262788),this[_0x1aa0('0x11f')](_0x555b4d,_0x44e597,_0x5d1ccc,_0x5e40c0);}return _0x1ec694;}[_0x1aa0('0x57')](_0x1ccfb5){this[_0x1aa0('0xef')]['add'](_0x1ccfb5);}['_registerInlineAttribute'](_0x4a3124){this[_0x1aa0('0xda')]['add'](_0x4a3124);}[_0x1aa0('0x7d')](_0xed4f14,_0x32604f=[],_0x43fa8b=[]){this[_0x1aa0('0x98')](_0xed4f14,(_0x205398,..._0x463f20)=>{this[_0x1aa0('0xac')](()=>{_0x205398(..._0x463f20);});});for(const _0x100cba of _0x32604f)this[_0x1aa0('0x69')](_0x100cba);for(const _0x31e840 of _0x43fa8b)this['_registerBlockAttribute'](_0x31e840);}[_0x1aa0('0x71')](_0x414624,_0x322e37){const _0x3d4d15=_0x414624[_0x1aa0('0x4f')]();this['_model'][_0x1aa0('0x13b')](_0x209c8c=>{_0x209c8c[_0x1aa0('0x156')](_0x3d4d15,{'range':_0x322e37});});}['_addThreadToSuggestion'](_0x5e527a){const _0x3f93cb=_0x5e527a['id'],_0x4bd1c8=this[_0x1aa0('0x45')]['config'][_0x1aa0('0x118')](_0x1aa0('0x150'));this[_0x1aa0('0x7a')][_0x1aa0('0xed')](_0x3f93cb)||this[_0x1aa0('0x7a')][_0x1aa0('0x34')]({'channelId':_0x4bd1c8,'threadId':_0x3f93cb,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x6da3a2=this[_0x1aa0('0x7a')][_0x1aa0('0x172')](_0x3f93cb);_0x6da3a2['unbind'](_0x1aa0('0x102')),_0x6da3a2['isRemovable']=!0x1,_0x5e527a[_0x1aa0('0x106')]=_0x6da3a2;}[_0x1aa0('0x87')](_0x742de4,_0x4e887e,_0x300b8a,_0x25ef42){if(_0x742de4[_0x1aa0('0x75')]!=_0x4e887e||_0x742de4[_0x1aa0('0x13e')]!=_0x300b8a||_0x742de4[_0x1aa0('0x5e')]['id']!=_0x25ef42)throw this[_0x1aa0('0x45')][_0x1aa0('0x9f')](_0x1aa0('0x72')),new _0x3c8e1d('track-changes-suggestion-data-mismatch',this);}[_0x1aa0('0xd6')](_0xcde7ff,_0x2235e6){const _0x935f4e=_0xcde7ff[_0x1aa0('0x165')]();if(_0x2235e6['isEqual'](_0x935f4e))_0xcde7ff[_0x1aa0('0x148')]();else{if(_0x935f4e[_0x1aa0('0xe')](_0x2235e6)){const _0x14cca8=this[_0x1aa0('0x10a')][_0x1aa0('0xe2')](_0x2235e6[_0x1aa0('0x2')][_0x1aa0('0x84')],_0x1aa0('0x166'));this[_0x1aa0('0x71')](_0xcde7ff,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x935f4e[_0x1aa0('0x2')],_0x14cca8));const _0x461009=_0x2a195c(),_0x99daf4=_0xcde7ff[_0x1aa0('0x5e')]['id'],_0x495b34=_0xcde7ff['type']+':'+_0xcde7ff[_0x1aa0('0x13e')];this[_0x1aa0('0x85')]({'id':_0x461009,'type':_0x495b34,'createdAt':new Date(),'authorId':_0x99daf4,'data':_0xcde7ff[_0x1aa0('0x13a')],'attributes':_0xcde7ff[_0x1aa0('0x10e')]});const _0x57fb7d=this[_0x1aa0('0x10a')][_0x1aa0('0xe2')](_0x2235e6[_0x1aa0('0x166')][_0x1aa0('0x179')],_0x1aa0('0x4c')),_0x35db62=this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x57fb7d,_0x935f4e[_0x1aa0('0x166')]);this[_0x1aa0('0x11f')](_0x495b34,_0x461009,_0x99daf4,_0x35db62);}else{if(_0x935f4e[_0x1aa0('0x40')](_0x2235e6['start'])){const _0x7b19b9=this['_model'][_0x1aa0('0xe2')](_0x2235e6['start'][_0x1aa0('0x84')],_0x1aa0('0x166'));this[_0x1aa0('0x71')](_0xcde7ff,this['_model']['createRange'](_0x935f4e[_0x1aa0('0x2')],_0x7b19b9));}else{const _0x13f057=this[_0x1aa0('0x10a')][_0x1aa0('0xe2')](_0x2235e6['end'][_0x1aa0('0x179')],'after');this['_setSuggestionRange'](_0xcde7ff,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x13f057,_0x935f4e['end']));}}}}[_0x1aa0('0xff')](_0xb3ad49){for(const {suggestion:_0x41ad9e,meta:_0x1cd0b5}of this[_0x1aa0('0x51')](_0xb3ad49,'insertion')){if(!_0x1cd0b5[_0x1aa0('0x13d')])continue;const _0x22cafb=_0x41ad9e[_0x1aa0('0x10c')]();for(const _0xfa6ecb of _0x22cafb)if(!_0xb3ad49[_0x1aa0('0x159')](_0xfa6ecb)[_0x1aa0('0x140')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1e9b89){const _0x1932e8=this[_0x1aa0('0x45')]['plugins'][_0x1aa0('0x118')](_0x1aa0('0xc0'))[_0x1aa0('0xa8')](_0x1e9b89);if(!_0x1932e8)throw new _0x3c8e1d(_0x1aa0('0xa5'),this);return _0x1932e8;}[_0x1aa0('0x16d')](_0x40ba3f){const _0x16ad2c=this['editor'][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0')),_0x1c2077=_0x205c05(_0x1aa0('0x128')+_0x40ba3f),_0xd92dcf=_0x16ad2c[_0x1aa0('0xa8')](_0x1c2077);return _0xd92dcf||_0x16ad2c[_0x1aa0('0x13c')]({'id':_0x1c2077,'name':_0x40ba3f});}['_createSuggestion'](_0x5d529a,_0x1eede9,_0xce6a80,_0x35aaa3,_0x21e134){const _0x4d5a75=this['_getAuthorFromId'](_0x35aaa3),_0x509567=this[_0x1aa0('0x17b')]['buildSuggestion'](_0x5d529a,_0x1eede9,_0xce6a80,_0x4d5a75,_0x21e134,_0x46bc51=>this[_0x1aa0('0x27')](_0xce6a80,{'attributes':_0x46bc51}));return this[_0x1aa0('0x79')](_0x509567,_0x1aa0('0x93'),()=>{this[_0x1aa0('0x27')](_0xce6a80,{'state':'accepted'});},{'priority':_0x1aa0('0xd3')}),this[_0x1aa0('0x79')](_0x509567,'discard',()=>{this[_0x1aa0('0x27')](_0xce6a80,{'state':'rejected'});},{'priority':_0x1aa0('0xd3')}),this[_0x1aa0('0x1')][_0x1aa0('0xe4')](_0xce6a80,_0x509567),this[_0x1aa0('0x135')][_0x1aa0('0xe4')](_0x509567,_0x1aa0('0x134')),_0x509567;}['_splitMarkerName'](_0x1f606d){const _0x2fb867=_0x1f606d['split'](':');return{'group':_0x2fb867[0x0],'type':_0x2fb867[0x1],'subType':_0x2fb867['length']>=0x5?_0x2fb867[0x2]:null,'id':_0x2fb867[_0x1aa0('0x140')]<0x5?_0x2fb867[0x2]:_0x2fb867[0x3],'authorId':_0x2fb867[_0x1aa0('0x140')]<0x5?_0x2fb867[0x3]:_0x2fb867[0x4],'markerCount':0x6==_0x2fb867[_0x1aa0('0x140')]?_0x2fb867[0x5]:null};}[_0x1aa0('0xc7')](_0x309384,_0x3a8721,_0x3534d2){const _0x2f3dd2=_0x309384[_0x1aa0('0x165')](),_0x5df132=_0x2f3dd2[_0x1aa0('0x2')],_0x52d6d8=_0x2f3dd2[_0x1aa0('0x166')];this[_0x1aa0('0x71')](_0x309384,this[_0x1aa0('0x10a')]['createRange'](_0x5df132,_0x3a8721));const _0x1e6a33=_0x2a195c(),_0x19dc4e=_0x309384['creator']['id'],_0x115907=_0x309384[_0x1aa0('0x75')]+(_0x309384[_0x1aa0('0x13e')]?':'+_0x309384[_0x1aa0('0x13e')]:'');this[_0x1aa0('0x85')]({'id':_0x1e6a33,'type':_0x115907,'createdAt':new Date(),'authorId':_0x19dc4e,'originalSuggestionId':_0x309384['id'],'attributes':_0x309384[_0x1aa0('0x10e')],'data':_0x309384[_0x1aa0('0x13a')]});const _0x4f5e8c=this[_0x1aa0('0xc5')](_0x309384);('formatBlock'==_0x309384[_0x1aa0('0x75')]||_0x4f5e8c&&this[_0x1aa0('0x129')](_0x4f5e8c))&&(_0x3534d2=this[_0x1aa0('0x10a')][_0x1aa0('0x1c')](_0x3534d2[_0x1aa0('0x179')])),this[_0x1aa0('0x11f')](_0x115907,_0x1e6a33,_0x19dc4e,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x3534d2,_0x52d6d8));}['_findSuggestions'](_0x4f5bc8,_0x40e12c=null){const _0x47aa0b=[],_0x15532d=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'];Array[_0x1aa0('0xdd')](_0x4f5bc8)||(_0x4f5bc8=[_0x4f5bc8]);for(const _0x26c594 of this[_0x1aa0('0x15a')]()){if(!_0x26c594[_0x1aa0('0x2c')])continue;if(_0x40e12c&&_0x26c594[_0x1aa0('0x75')]!=_0x40e12c)continue;let _0x4ca52a=!0x1;for(const _0x126af9 of _0x26c594[_0x1aa0('0x10c')]()){for(const _0x2a1ee2 of _0x4f5bc8){const _0x4b72d1=_0x2a1ee2['start'][_0x1aa0('0x111')](_0x126af9[_0x1aa0('0x166')])||_0x2a1ee2['end'][_0x1aa0('0x111')](_0x126af9[_0x1aa0('0x2')]);if(_0x4b72d1||_0x2a1ee2[_0x1aa0('0xec')](_0x126af9)){const _0x457350=_0x2a1ee2[_0x1aa0('0xe')](_0x126af9)&&Tt(this[_0x1aa0('0x10a')][_0x1aa0('0x5c')],_0x126af9[_0x1aa0('0x2')],_0x2a1ee2),_0x4e5661=_0x126af9[_0x1aa0('0xe')](_0x2a1ee2)&&Tt(this[_0x1aa0('0x10a')][_0x1aa0('0x5c')],_0x2a1ee2[_0x1aa0('0x2')],_0x126af9);_0x47aa0b['push']({'suggestion':_0x26c594,'meta':{'isOwn':_0x15532d==_0x26c594[_0x1aa0('0x8f')],'isNextTo':_0x4b72d1,'isInsideObject':_0x457350,'containsRangeInObject':_0x4e5661}}),_0x4ca52a=!0x0;break;}}if(_0x4ca52a)break;}}return _0x47aa0b;}['_addSuggestionMarker'](_0x244fb0,_0x25f785,_0x4d73b5,_0x356f48,_0x5427b1){this[_0x1aa0('0x10a')][_0x1aa0('0x13b')](_0x56a797=>{let _0x105004=_0x1aa0('0x12f')+_0x244fb0+':'+_0x25f785+':'+_0x4d73b5;_0x5427b1&&(_0x105004=_0x105004+':'+_0x5427b1),_0x56a797[_0x1aa0('0x164')](_0x105004,{'range':_0x356f48,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x2903b6){const _0x2488ce=_0x2903b6['previous'],_0x20d8a0=_0x2903b6[_0x1aa0('0x89')];_0x2903b6[_0x1aa0('0x9b')]=null,_0x2903b6[_0x1aa0('0x89')]=null,null!=_0x2488ce&&(_0x2488ce[_0x1aa0('0x89')]=_0x20d8a0),null!=_0x20d8a0&&(_0x20d8a0[_0x1aa0('0x9b')]=_0x2488ce),_0x1aa0('0x125')==this[_0x1aa0('0x135')][_0x1aa0('0x118')](_0x2903b6)&&(this[_0x1aa0('0x135')]['set'](_0x2903b6,_0x1aa0('0x50')),this['fire'](_0x1aa0('0x26'),_0x2903b6,_0x2488ce,_0x20d8a0));}[_0x1aa0('0x85')](_0x39ef1f){const _0x506601=_0x39ef1f['id'],_0x5c6f2d=this[_0x1aa0('0xcf')](_0x39ef1f);if(this[_0x1aa0('0x16')]&&this[_0x1aa0('0x16')][_0x1aa0('0x6b')]){const _0x5114e8=this[_0x1aa0('0x45')][_0x1aa0('0xf2')]['get'](_0x1aa0('0x7')),_0xc2bc75=_0x5c6f2d[_0x1aa0('0xcd')],_0x372f9c=_0x5c6f2d['subType']?_0x5c6f2d[_0x1aa0('0x75')]+':'+_0x5c6f2d[_0x1aa0('0x13e')]:_0x5c6f2d['type'],_0x37b265=this['editor'][_0x1aa0('0x158')],_0x3555d2=_0x5114e8[_0x1aa0('0xf1')](_0x4e33ed(_0x37b265,_0x1aa0('0xd'))),_0x2791a0={'id':_0x506601,'type':_0x372f9c,'hasComments':_0xc2bc75,'data':_0x39ef1f[_0x1aa0('0x13a')]||null,'originalSuggestionId':_0x39ef1f[_0x1aa0('0xfc')]||null,'attributes':_0x5c6f2d[_0x1aa0('0x10e')]};this[_0x1aa0('0x16')][_0x1aa0('0x6b')](_0x2791a0)[_0x1aa0('0x15')](_0x28e0d2=>{_0x5c6f2d['_saved']=!0x0,_0x5114e8[_0x1aa0('0xe3')](_0x3555d2),_0x28e0d2&&_0x28e0d2[_0x1aa0('0xb7')]&&(this[_0x1aa0('0x1')]['get'](_0x506601)['createdAt']=_0x28e0d2[_0x1aa0('0xb7')]);})[_0x1aa0('0x94')](_0x475e3c=>{throw _0x562c54(_0x1aa0('0x160')),this[_0x1aa0('0x45')][_0x1aa0('0x21')][_0x1aa0('0x95')]({'isUndoable':!0x1},()=>{_0x5c6f2d[_0x1aa0('0xe6')]();}),_0x5c6f2d['stopListening'](),this[_0x1aa0('0x1')]['delete'](_0x5c6f2d['id']),this[_0x1aa0('0x135')][_0x1aa0('0xa3')](_0x5c6f2d),_0x475e3c;});}return _0x5c6f2d;}['_isBlockAttribute'](_0x3cd84d){return this['_blockAttributeKeys']['has'](_0x3cd84d);}['_getAttributeKeyFromSubType'](_0x1ede5d){return _0x1aa0('0xf6')==_0x1ede5d[_0x1aa0('0x75')]&&_0x1ede5d[_0x1aa0('0x13e')][_0x1aa0('0xb9')]('|')[0x0];}[_0x1aa0('0x27')](_0x4c1ac3,_0x39e78a){const _0x507e43=this['editor']['plugins'][_0x1aa0('0x118')]('PendingActions'),_0x28bf85=this[_0x1aa0('0x16a')](_0x4c1ac3);if(this[_0x1aa0('0x16')]&&this[_0x1aa0('0x16')]['updateSuggestion']){if(_0x28bf85[_0x1aa0('0x91')]){const _0x4b8cb4=_0x507e43[_0x1aa0('0xf1')](_0x4e33ed(this[_0x1aa0('0x45')][_0x1aa0('0x158')],_0x1aa0('0xd')));this[_0x1aa0('0x16')][_0x1aa0('0x82')](_0x4c1ac3,_0x39e78a)['then'](()=>{_0x507e43[_0x1aa0('0xe3')](_0x4b8cb4);});}else _0x28bf85['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x4c1ac3,_0x39e78a);});}}[_0x1aa0('0xbf')](_0x54b27a){if(!this[_0x1aa0('0x16')]||!this['_adapter'][_0x1aa0('0x16a')])throw new _0x3c8e1d(_0x1aa0('0x14c'),this);return this[_0x1aa0('0x16')][_0x1aa0('0x16a')](_0x54b27a);}[_0x1aa0('0x16f')](_0x180508){const {id:_0x380f00,type:_0x2ac3de,subType:_0x451798,authorId:_0xc8d029}=this[_0x1aa0('0x11c')](_0x180508),_0x54615f=this['_suggestions'][_0x1aa0('0x118')](_0x380f00)||this[_0x1aa0('0x15f')](_0x2ac3de,_0x451798,_0x380f00,_0xc8d029,{});switch(this[_0x1aa0('0x87')](_0x54615f,_0x2ac3de,_0x451798,_0xc8d029),this[_0x1aa0('0x135')]['get'](_0x54615f)){case _0x1aa0('0x134'):this[_0x1aa0('0xbf')](_0x380f00)[_0x1aa0('0x15')](_0x835511=>{let _0xc05dd3=Promise['resolve']();_0x835511[_0x1aa0('0xcd')]&&(_0xc05dd3=this[_0x1aa0('0x7a')][_0x1aa0('0x155')]({'channelId':this['editor']['config'][_0x1aa0('0x118')](_0x1aa0('0x150')),'threadId':_0x380f00})),_0xc05dd3['then'](()=>{this['addSuggestionData'](_0x835511)['_saved']=!0x0;});}),this[_0x1aa0('0x135')][_0x1aa0('0xe4')](_0x54615f,'markerReady');break;case _0x1aa0('0x50'):this[_0x1aa0('0x27')](_0x380f00,{'state':_0x1aa0('0x58')});case _0x1aa0('0xde'):this[_0x1aa0('0x135')]['set'](_0x54615f,_0x1aa0('0x125')),this[_0x1aa0('0x5')](_0x1aa0('0x1e'),_0x54615f);break;case _0x1aa0('0x125'):this[_0x1aa0('0x5')](_0x1aa0('0x9a'),_0x54615f);}return _0x54615f[_0x1aa0('0x8c')](_0x180508),_0x54615f;}[_0x1aa0('0xeb')](_0x9c402b){const _0x1a8615=Array[_0x1aa0('0x161')](_0x9c402b),_0x4bcd30=_0x1a8615[_0x1aa0('0xc3')](_0x1c576d=>'attribute'==_0x1c576d[_0x1aa0('0x75')]);this['_refreshAttributeSuggestionsChain'](_0x4bcd30);const _0x2fab54=_0x1a8615[_0x1aa0('0xc3')](_0x100345=>!_0x100345[_0x1aa0('0xcb')]&&_0x1aa0('0xf6')!=_0x100345[_0x1aa0('0x75')]),_0xef4bfe=this[_0x1aa0('0x15a')]({'skipNotAttached':!0x0})[_0x1aa0('0xc3')](_0x5a9a36=>!_0x5a9a36[_0x1aa0('0xcb')]&&_0x1aa0('0xf6')!=_0x5a9a36[_0x1aa0('0x75')]),_0x3cf724=_0xef4bfe[_0x1aa0('0xc3')](_0x328450=>!_0x9c402b[_0x1aa0('0xce')](_0x328450)),_0x5e6bbb=new Map(_0xef4bfe['map'](_0x4fa1d9=>[_0x4fa1d9,this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x4fa1d9[_0x1aa0('0x75')],_0x4fa1d9[_0x1aa0('0x13e')],_0x1aa0('0x74'))])),_0x45001d=new Map(_0xef4bfe[_0x1aa0('0x4e')](_0x137d77=>[_0x137d77,_0x137d77['getFirstRange']()])),_0x2631fb=new Set(),_0x38de56=new Set();for(let _0x915280=0x0;_0x915280<_0x2fab54[_0x1aa0('0x140')];_0x915280++)_0x5f0256(_0x2fab54[_0x915280],_0x2fab54,_0x915280+0x1);for(let _0x2b373e=0x0;_0x2b373e<_0x2fab54[_0x1aa0('0x140')];_0x2b373e++)_0x5f0256(_0x2fab54[_0x2b373e],_0x3cf724,0x0);const _0x533976=new Set();for(let _0x333553=0x0;_0x333553<_0x2fab54[_0x1aa0('0x140')];_0x333553++){const _0x2fd3e3=_0x2fab54[_0x333553];!_0x38de56['has'](_0x2fd3e3)&&_0x2fd3e3['previous']&&(_0x533976[_0x1aa0('0xf1')](_0x2fd3e3[_0x1aa0('0x9b')]),_0x2fd3e3[_0x1aa0('0x9b')][_0x1aa0('0x89')]===_0x2fd3e3&&(_0x2fd3e3[_0x1aa0('0x9b')][_0x1aa0('0x89')]=null),_0x2fd3e3[_0x1aa0('0x9b')]=null),!_0x2631fb[_0x1aa0('0xce')](_0x2fd3e3)&&_0x2fd3e3[_0x1aa0('0x89')]&&(_0x533976[_0x1aa0('0xf1')](_0x2fd3e3['next']),_0x2fd3e3[_0x1aa0('0x89')][_0x1aa0('0x9b')]===_0x2fd3e3&&(_0x2fd3e3['next'][_0x1aa0('0x9b')]=null),_0x2fd3e3['next']=null);}function _0x5f0256(_0x48b0ba,_0x69cf67,_0xe9f2f9){for(let _0x88143c=_0xe9f2f9;_0x88143c<_0x69cf67[_0x1aa0('0x140')];_0x88143c++){const _0x376ef8=_0xfe242a(_0x48b0ba,_0x69cf67[_0x88143c]);_0x376ef8&&(_0x376ef8[0x0][_0x1aa0('0x89')]=_0x376ef8[0x1],_0x376ef8[0x1][_0x1aa0('0x9b')]=_0x376ef8[0x0],_0x2631fb[_0x1aa0('0xf1')](_0x376ef8[0x0]),_0x38de56[_0x1aa0('0xf1')](_0x376ef8[0x1]));}}function _0xfe242a(_0x46b096,_0x132185){if(_0x46b096[_0x1aa0('0x8f')]['id']!==_0x132185[_0x1aa0('0x8f')]['id'])return null;const _0x3710f7=_0x5e6bbb[_0x1aa0('0x118')](_0x46b096)(_0x46b096,_0x132185,_0x45001d['get'](_0x46b096),_0x45001d['get'](_0x132185));if(!_0x3710f7)return null;return _0x5e6bbb[_0x1aa0('0x118')](_0x132185)(_0x46b096,_0x132185,_0x45001d[_0x1aa0('0x118')](_0x46b096),_0x45001d[_0x1aa0('0x118')](_0x132185))?_0x3710f7[0x1]['commentThread']&&_0x3710f7[0x1][_0x1aa0('0x106')][_0x1aa0('0x140')]?null:_0x3710f7:null;}_0x533976[_0x1aa0('0x105')]&&this[_0x1aa0('0xeb')](_0x533976);}[_0x1aa0('0x65')](_0x352172){if(0x0==_0x352172[_0x1aa0('0x140')])return;const _0x40794c=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x231b6e=>_0x1aa0('0xf6')==_0x231b6e[_0x1aa0('0x75')]&&_0x231b6e[_0x1aa0('0x25')]),_0x2af6f1=[],_0x248a68=new Map();for(const _0x1089ca of _0x40794c){const _0x798bb2=_0x205c05(_0x1089ca['attributes']);_0x248a68[_0x1aa0('0xce')](_0x798bb2)||(_0x248a68[_0x1aa0('0xe4')](_0x798bb2,_0x2af6f1['length']),_0x2af6f1[_0x1aa0('0x35')]([]));const _0x4c8b30=_0x248a68[_0x1aa0('0x118')](_0x798bb2);_0x2af6f1[_0x4c8b30][_0x1aa0('0x35')](_0x1089ca);}!function(){_0x2af6f1[_0x1aa0('0x96')]((_0x311368,_0x2969cc)=>{const _0x39c73f=_0x311368[0x0]['createdAt'],_0x33f4df=_0x2969cc[0x0]['createdAt'];return _0x39c73f==_0x33f4df?_0x311368[0x0][_0x1aa0('0x10e')][_0x1aa0('0xe5')]<_0x2969cc[0x0][_0x1aa0('0x10e')][_0x1aa0('0xe5')]?-0x1:0x1:_0x39c73f<_0x33f4df?-0x1:0x1;});for(const _0x172170 of _0x2af6f1)_0x172170[_0x1aa0('0x96')]((_0x5099f6,_0x9e2076)=>_0x5099f6['id']<_0x9e2076['id']?-0x1:0x1);}();for(let _0x3a0733=0x0;_0x3a0733<_0x2af6f1[_0x1aa0('0x140')];_0x3a0733++){if(0x0==_0x2af6f1[_0x3a0733]['length'])continue;const _0x54db2f=[];for(let _0x5ba839=_0x3a0733+0x1;_0x5ba839<_0x2af6f1[_0x1aa0('0x140')];_0x5ba839++)0x0!=_0x2af6f1[_0x5ba839]['length']&&_0x501d7f(_0x2af6f1[_0x3a0733],_0x2af6f1[_0x5ba839])&&_0x54db2f['push'](_0x5ba839);for(const _0x2c5734 of _0x54db2f)_0x2af6f1[_0x3a0733]=_0x2af6f1[_0x3a0733][_0x1aa0('0xaa')](_0x2af6f1[_0x2c5734]),_0x2af6f1[_0x2c5734]=[];}for(const _0x1f18ce of _0x2af6f1)for(let _0x50e74d=0x0;_0x50e74d<_0x1f18ce[_0x1aa0('0x140')];_0x50e74d++)_0x1f18ce[_0x50e74d]['next']=_0x1f18ce[_0x50e74d+0x1]||null;for(const _0x26771b of _0x2af6f1)for(let _0x190dd1=0x0;_0x190dd1<_0x26771b[_0x1aa0('0x140')];_0x190dd1++)_0x26771b[_0x190dd1][_0x1aa0('0x9b')]=_0x26771b[_0x190dd1-0x1]||null;function _0x501d7f(_0x5d8277,_0x3e5985){if(_0x5d8277[0x0][_0x1aa0('0x8f')]!==_0x3e5985[0x0][_0x1aa0('0x8f')])return!0x1;if(!function(_0x4621ab,_0x73d623){if(!_0x4621ab[_0x1aa0('0xcd')]&&!_0x73d623['hasComments'])return!0x0;if(_0x4621ab[_0x1aa0('0xcd')]&&_0x73d623[_0x1aa0('0xcd')])return!0x1;if(_0x4621ab[_0x1aa0('0xcd')]&&_0x73d623[_0x1aa0('0xb7')]<_0x4621ab[_0x1aa0('0x106')][_0x1aa0('0xe1')][_0x1aa0('0x118')](0x0)['createdAt'])return!0x0;if(_0x73d623[_0x1aa0('0xcd')]&&_0x4621ab[_0x1aa0('0xb7')]<_0x73d623[_0x1aa0('0x106')][_0x1aa0('0xe1')][_0x1aa0('0x118')](0x0)[_0x1aa0('0xb7')])return!0x0;return!0x1;}(_0x5d8277[0x0],_0x3e5985[0x0]))return!0x1;const _0x387f3d=_0x142fcf(_0x5d8277[0x0]['attributes'],'groupId'),_0x1767b3=_0x142fcf(_0x3e5985[0x0]['attributes'],_0x1aa0('0xe5'));if(!_0x223011(_0x387f3d,_0x1767b3))return!0x1;return!!_0x5d8277['every'](_0x4301cd=>_0x3e5985[_0x1aa0('0x7e')](_0x5ec96e=>_0x4301cd[_0x1aa0('0x165')]()[_0x1aa0('0x111')](_0x5ec96e[_0x1aa0('0x165')]())))&&_0x3e5985[_0x1aa0('0xc2')](_0x5939a4=>_0x5d8277['some'](_0x1b85ec=>_0x5939a4[_0x1aa0('0x165')]()[_0x1aa0('0x111')](_0x1b85ec[_0x1aa0('0x165')]())));}}[_0x1aa0('0x115')](_0x148147){const _0x5095d3=Array[_0x1aa0('0x161')](_0x148147),_0x3cb863=this[_0x1aa0('0x15a')]({'skipNotAttached':!0x0}),_0x11687f=_0x3cb863[_0x1aa0('0xc3')](_0x4aadf3=>!_0x148147[_0x1aa0('0xce')](_0x4aadf3)),_0x25da32=new Map(_0x5095d3[_0x1aa0('0x4e')](_0xc1b81b=>[_0xc1b81b,this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0xc1b81b['type'],_0xc1b81b[_0x1aa0('0x13e')],'join')])),_0xd074e1=new Map(_0x3cb863[_0x1aa0('0x4e')](_0x2ec8de=>[_0x2ec8de,_0x2ec8de[_0x1aa0('0x10c')]()]));for(let _0x2e617f=0x0;_0x2e617f<_0x5095d3['length'];_0x2e617f++){if(_0x5c6f27(this,_0x5095d3[_0x2e617f],_0x5095d3,_0x2e617f+0x1))return!0x0;}for(let _0x305e83=0x0;_0x305e83<_0x5095d3[_0x1aa0('0x140')];_0x305e83++){if(_0x5c6f27(this,_0x5095d3[_0x305e83],_0x11687f,0x0))return!0x0;}return!0x1;function _0x5c6f27(_0x4d7a46,_0x20d3be,_0x2f70b5,_0x6d0dd5){for(let _0x5556ac=_0x6d0dd5;_0x5556ac<_0x2f70b5[_0x1aa0('0x140')];_0x5556ac++){const _0xa27027=_0x2f70b5[_0x5556ac];if(_0xa27027[_0x1aa0('0x75')]!==_0x20d3be[_0x1aa0('0x75')]||_0xa27027[_0x1aa0('0x8f')]['id']!==_0x20d3be[_0x1aa0('0x8f')]['id']||_0xa27027['subType']!==_0x20d3be['subType'])continue;if(!Vt(_0x20d3be,_0xa27027))continue;if(_0x1aa0('0xf6')==_0x20d3be['type']&&_0x20d3be[_0x1aa0('0x13a')][_0x1aa0('0x153')]!=_0xa27027[_0x1aa0('0x13a')][_0x1aa0('0x153')])continue;if(_0x1aa0('0xf6')==_0x20d3be['type']&&_0x4d7a46[_0x1aa0('0x129')](_0x20d3be[_0x1aa0('0x13a')][_0x1aa0('0x52')]))continue;const _0x3bd6ef=_0x25da32[_0x1aa0('0x118')](_0x20d3be),_0x1def48=_0xd074e1[_0x1aa0('0x118')](_0x20d3be),_0xf2412f=_0xd074e1[_0x1aa0('0x118')](_0xa27027),_0x298f99=_0x20d3be[_0x1aa0('0x106')]&&_0x20d3be[_0x1aa0('0x106')]['length'],_0xc30fc0=_0xa27027['commentThread']&&_0xa27027[_0x1aa0('0x106')][_0x1aa0('0x140')];if(!_0x298f99&&_0x3bd6ef(_0xf2412f,_0x1def48))return _0x4d7a46['_joinSuggestions'](_0xa27027,_0x20d3be),_0xd074e1[_0x1aa0('0xa3')](_0x20d3be),!0x0;if(!_0xc30fc0&&_0x3bd6ef(_0x1def48,_0xf2412f))return _0x4d7a46[_0x1aa0('0x86')](_0x20d3be,_0xa27027),_0xd074e1[_0x1aa0('0xa3')](_0xa27027),!0x0;}return!0x1;}}[_0x1aa0('0x86')](_0x2d6d04,_0x565393){if(_0x2d6d04['isMultiRange'])for(const _0x293cd7 of _0x565393[_0x1aa0('0x10c')]())_0x2d6d04[_0x1aa0('0xee')](_0x293cd7);else{const _0x16270c=_0x565393[_0x1aa0('0x165')]()[_0x1aa0('0x166')];this[_0x1aa0('0x71')](_0x2d6d04,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x2d6d04[_0x1aa0('0x165')]()[_0x1aa0('0x2')],_0x16270c));}_0x565393[_0x1aa0('0x148')]();}[_0x1aa0('0x177')](_0x515db5,_0xee935d){const _0x1c0fbf=_0x515db5[_0x1aa0('0x12')]('format')||_0x515db5[_0x1aa0('0x12')](_0x1aa0('0xf6'))?_0x1aa0('0x173'):_0x515db5[_0x1aa0('0x14e')]();return _0x4e33ed(this[_0x1aa0('0x45')][_0x1aa0('0x158')],_0xee935d+'_'+_0x1c0fbf+_0x1aa0('0xc6'));}['_initAriaMarkerChangeAnnouncements'](){const _0x145894=this[_0x1aa0('0x45')];_0x5d8883(this[_0x1aa0('0x10a')],({left:_0x4d41fc,entered:_0x4d9c09})=>{const _0x1d9fd0=[];for(const _0x41a981 of _0x4d41fc){const {group:_0x417304,type:_0x4c86ab}=this[_0x1aa0('0x11c')](_0x41a981[_0x1aa0('0xd1')]);if('suggestion'===_0x417304){_0x1d9fd0['push'](this['_getMarkerAnnouncementText'](_0x4c86ab,'LEAVE'));break;}}for(const _0x51c2b1 of _0x4d9c09){const {group:_0x196bf0,type:_0x38bce3}=this[_0x1aa0('0x11c')](_0x51c2b1[_0x1aa0('0xd1')]);if('suggestion'===_0x196bf0){_0x1d9fd0[_0x1aa0('0x35')](this[_0x1aa0('0x177')](_0x38bce3,_0x1aa0('0x37')));break;}}_0x1d9fd0[_0x1aa0('0x140')]&&_0x145894['ui']['ariaLiveAnnouncer']['announce'](_0x1aa0('0x103'),_0x1d9fd0[_0x1aa0('0x99')]('\x20'));});}[_0x1aa0('0x14a')](_0x31f9a6){if(null!==this[_0x1aa0('0x149')])return!0x1;const _0x98746c=this[_0x1aa0('0x45')],_0x3006de=_0x98746c['model'][_0x1aa0('0x54')][_0x1aa0('0xe7')][_0x1aa0('0x83')]();if(0x0==_0x3006de[_0x1aa0('0x140')])return!0x1;const _0x36a076=[],_0x109bc3=_0x3006de[_0x1aa0('0xc3')](_0x34175e=>_0x1aa0('0xf6')==_0x34175e[_0x1aa0('0x75')]),_0x430005=_0x3006de[_0x1aa0('0xc3')](_0x348d3d=>_0x1aa0('0x6d')==_0x348d3d[_0x1aa0('0x75')]&&_0x1aa0('0xe8')!=_0x348d3d[_0x1aa0('0xd1')]),_0x25b9c2=_0x3006de[_0x1aa0('0xc3')](_0x53549e=>'remove'==_0x53549e[_0x1aa0('0x75')]&&_0x1aa0('0xe8')!=_0x53549e[_0x1aa0('0xd1')]);for(const _0x3c036a of _0x109bc3)_0x36a076[_0x1aa0('0x35')]({'key':_0x3c036a[_0x1aa0('0x46')],'newValue':_0x3c036a[_0x1aa0('0xbe')],'oldValue':_0x3c036a['attributeOldValue'],'range':_0x143d2c(_0x3c036a[_0x1aa0('0x3b')])});for(const _0x160d01 of _0x430005){const _0x9a5ff2=_0x25b9c2[_0x1aa0('0x11a')](_0x5da0f6=>_0x5da0f6[_0x1aa0('0x39')]['isEqual'](_0x160d01[_0x1aa0('0x39')]));_0x9a5ff2&&_0x36a076[_0x1aa0('0x35')]({'key':_0x1aa0('0x8d'),'newValue':_0x160d01[_0x1aa0('0xd1')],'oldValue':_0x9a5ff2[_0x1aa0('0xd1')],'range':_0x98746c[_0x1aa0('0x21')][_0x1aa0('0x44')](_0x160d01[_0x1aa0('0x39')][_0x1aa0('0x132')])});}return 0x0!=_0x36a076[_0x1aa0('0x140')]&&this['_reduceExistingSuggestions'](_0x31f9a6,_0x36a076);function _0x143d2c(_0xc583e8){return null==_0xc583e8[_0x1aa0('0x166')][_0x1aa0('0x84')]&&_0xc583e8['end'][_0x1aa0('0x179')]==_0xc583e8['start'][_0x1aa0('0x132')]?Ut(_0xc583e8['start'][_0x1aa0('0x132')],_0x98746c[_0x1aa0('0x21')]):_0xc583e8;}}[_0x1aa0('0x7b')](_0x209527){let _0x1eec08=!0x1;const _0x2753c1=this['editor'][_0x1aa0('0x21')][_0x1aa0('0x54')]['differ'][_0x1aa0('0x81')]()[_0x1aa0('0xc3')](_0x14dd98=>_0x14dd98[_0x1aa0('0x13a')][_0x1aa0('0x124')]&&_0x14dd98[_0x1aa0('0xd1')][_0x1aa0('0x12')]('suggestion:attribute:'));for(const _0x64502a of _0x2753c1){const {subType:_0x2d0a87,id:_0x456795}=this[_0x1aa0('0x11c')](_0x64502a[_0x1aa0('0xd1')]),_0x4048e1=_0x2d0a87['split']('|')[0x0];for(const _0x4066ab of this[_0x1aa0('0x15a')]({'skipNotAttached':!0x0}))_0x4066ab['id']!=_0x456795&&_0x1aa0('0xf6')==_0x4066ab['type']&&_0x4066ab[_0x1aa0('0x13a')]&&_0x4066ab[_0x1aa0('0x13a')][_0x1aa0('0x52')]==_0x4048e1&&_0x4066ab['getFirstRange']()[_0x1aa0('0x127')](_0x64502a[_0x1aa0('0x13a')]['newRange'])&&(this[_0x1aa0('0xfb')](_0x4066ab,_0x64502a['data'][_0x1aa0('0x124')],_0x209527),_0x1eec08=!0x0);}return _0x1eec08;}[_0x1aa0('0xac')](_0x5e73c3){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x5e73c3();const _0x3664cf=this[_0x1aa0('0x45')];this[_0x1aa0('0x149')]=_0x3664cf['model'][_0x1aa0('0x54')][_0x1aa0('0x3d')],_0x5e73c3();const _0x32c166=new Map();for(const _0x5dd64a of _0x3664cf[_0x1aa0('0x21')][_0x1aa0('0x54')][_0x1aa0('0x2f')][_0x1aa0('0x123')](this[_0x1aa0('0x149')]))if([_0x1aa0('0xcc'),_0x1aa0('0x120'),_0x1aa0('0x55'),'changeAttribute'][_0x1aa0('0xb8')](_0x5dd64a[_0x1aa0('0x75')])){const _0x49cf7d=_0x5dd64a[_0x1aa0('0x5a')],_0x4c3f19=_0x32c166[_0x1aa0('0x118')](_0x49cf7d)||[];_0x4c3f19['push'](_0x5dd64a),_0x32c166[_0x1aa0('0xe4')](_0x49cf7d,_0x4c3f19);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x4f0087,_0x1d7464]of _0x32c166){const _0x7f9d9b=_0x2a195c();_0x3664cf[_0x1aa0('0x21')][_0x1aa0('0x95')](_0x4f0087,_0x4fdfc8=>{const _0x2ab5d3=[];for(const _0x190f53 of _0x1d7464){let _0x1a26ae,_0x48b73f,_0x301884,_0x4c23c2;if(_0x1aa0('0xcc')==_0x190f53['type']){const _0x23e6c4=_0x190f53;_0x1a26ae=Ut(_0x23e6c4[_0x1aa0('0x39')][_0x1aa0('0x132')],_0x3664cf[_0x1aa0('0x21')]),_0x48b73f='$elementName',_0x301884=_0x23e6c4['newName'],_0x4c23c2=_0x23e6c4[_0x1aa0('0x117')];}else{const _0x47c696=_0x190f53,_0x49cc1c=this[_0x1aa0('0x129')](_0x47c696[_0x1aa0('0x52')]),_0x2385c1=this[_0x1aa0('0xda')]['has'](_0x47c696[_0x1aa0('0x52')]);if(!_0x49cc1c&&!_0x2385c1)continue;_0x1a26ae=_0x49cc1c?Ut(_0x47c696['range'][_0x1aa0('0x2')][_0x1aa0('0x132')],_0x3664cf[_0x1aa0('0x21')]):_0x47c696['range'],_0x48b73f=_0x47c696[_0x1aa0('0x52')],_0x301884='removeAttribute'==_0x190f53['type']?void 0x0:_0x47c696['newValue'],_0x4c23c2=_0x47c696[_0x1aa0('0x153')];}this[_0x1aa0('0xf5')](_0x1a26ae,_0x48b73f,_0x4c23c2,_0x301884,{'groupId':_0x7f9d9b}),_0x2ab5d3[_0x1aa0('0x35')]({'range':_0x1a26ae,'key':_0x48b73f,'newValue':_0x301884,'oldValue':_0x4c23c2});}this[_0x1aa0('0x3e')](_0x4fdfc8,_0x2ab5d3);});}}[_0x1aa0('0x3e')](_0x4bcdbe,_0x479ad6){if(0x0==_0x479ad6[_0x1aa0('0x140')])return!0x1;let _0x1acc0d=!0x1;for(const _0x118293 of _0x479ad6){const _0x4080d9=this['_findSuggestions'](_0x118293[_0x1aa0('0x3b')],_0x1aa0('0xf6'))[_0x1aa0('0xc3')](_0x350751=>!_0x350751[_0x1aa0('0x6a')][_0x1aa0('0x64')])['map'](_0x395b9e=>_0x395b9e['suggestion']),_0x1d0596=_0x205c05({'newValue':_0x118293['newValue']});_0x4080d9[_0x1aa0('0xc3')](_0x53a03a=>{const [_0x45d722,_0x1b0608]=_0x53a03a[_0x1aa0('0x13e')]['split']('|');return _0x45d722==_0x118293[_0x1aa0('0x52')]&&_0x1b0608!=_0x1d0596;})[_0x1aa0('0x162')](_0x5ecc36=>{this['_reduceSuggestionAttributeRange'](_0x5ecc36,_0x118293['range'],_0x4bcdbe),_0x1acc0d=!0x0;});}return _0x1acc0d;}[_0x1aa0('0xfb')](_0x20f4c4,_0x2181a4,_0x2e9214){const _0x33e67f=_0x20f4c4[_0x1aa0('0x165')]()[_0x1aa0('0x159')](_0x2181a4);0x0!==_0x33e67f[_0x1aa0('0x140')]?0x1!==_0x33e67f[_0x1aa0('0x140')]?this[_0x1aa0('0xc7')](_0x20f4c4,_0x2181a4[_0x1aa0('0x2')],_0x2181a4[_0x1aa0('0x166')]):this[_0x1aa0('0x71')](_0x20f4c4,_0x33e67f[0x0]):_0x2e9214['removeMarker'](_0x20f4c4['getFirstMarker']());}}class Bt{constructor(_0x4a9072){this[_0x1aa0('0xf0')]=_0x4a9072,this['_model']=_0x4a9072['model'],this[_0x1aa0('0x90')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x1aa0('0x122')]();}[_0x1aa0('0x48')](_0x5b912b,_0x1a01b5,_0x4d2236,_0x107678,_0x4b6b40,_0x55768c){return new _0x526ec3(this[_0x1aa0('0x10a')],{'type':_0x5b912b,'subType':_0x1a01b5,'id':_0x4d2236,'author':_0x107678,'creator':_0x107678,'attributes':_0x4b6b40,'onAttributesChange':_0x55768c,'onAccept':(..._0x416571)=>this[_0x1aa0('0x14f')](_0x5b912b,_0x1a01b5,_0x1aa0('0x93'))(..._0x416571),'onDiscard':(..._0x439af2)=>this[_0x1aa0('0x14f')](_0x5b912b,_0x1a01b5,_0x1aa0('0xe6'))(..._0x439af2)});}['registerCustomCallback'](_0x5da9dd,_0x417482,_0xcc2ddd,_0x2586b8){const _0x3b6b02=_0x5da9dd+':'+_0x417482+':'+_0xcc2ddd;this[_0x1aa0('0x90')][_0x1aa0('0xe4')](_0x3b6b02,_0x2586b8);}[_0x1aa0('0x14f')](_0x15ba85,_0x1c756f,_0x2673f7){const _0x57c81a=_0x15ba85+':'+_0x1c756f+':'+_0x2673f7;return this[_0x1aa0('0x90')]['get'](_0x57c81a)||this[_0x1aa0('0x20')][_0x1aa0('0x118')](_0x15ba85+':'+_0x2673f7);}[_0x1aa0('0x122')](){const _0x3e7588=()=>!0x1,_0xba325d=_0x5202bd=>{_0x5202bd['sort']((_0x1dfac7,_0x4bae84)=>_0x1dfac7['start']['isBefore'](_0x4bae84[_0x1aa0('0x2')])?0x1:-0x1),this[_0x1aa0('0x10a')][_0x1aa0('0x13b')](_0x392cf7=>{for(const _0x42b2c5 of _0x5202bd){let _0x53c341;_0x53c341=_0x42b2c5[_0x1aa0('0x166')][_0x1aa0('0x112')]&&_0x42b2c5[_0x1aa0('0x166')][_0x1aa0('0x179')]==_0x42b2c5['start'][_0x1aa0('0x132')]?_0x392cf7[_0x1aa0('0xdc')](_0x42b2c5[_0x1aa0('0x2')]['nodeAfter'],'on'):_0x392cf7['createSelection'](_0x42b2c5),this[_0x1aa0('0x10a')][_0x1aa0('0xc9')](_0x53c341,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x89b8b0=(_0x2b29f4,_0x171094)=>{_0x171094&&this[_0x1aa0('0x10a')][_0x1aa0('0x13b')](_0x1821e9=>{const {commandName:_0x18d45f,commandParams:_0x34b0a8=[]}=_0x171094,_0x660841=_0x2b29f4['map'](_0x2565d9=>(xt(_0x2565d9)&&(_0x2565d9=this['_model'][_0x1aa0('0x42')](_0x2565d9['end'])),_0x2565d9))[_0x1aa0('0xc3')](_0x125a6e=>_0x1aa0('0x10f')!==_0x125a6e[_0x1aa0('0xa7')][_0x1aa0('0xfd')]);if(_0x660841['length']<0x1)return;const _0xa07261=Array[_0x1aa0('0x161')](this[_0x1aa0('0x10a')][_0x1aa0('0x54')][_0x1aa0('0x19')][_0x1aa0('0x10c')]())[_0x1aa0('0x4e')](_0xcb816a=>_0x174a17['fromRange'](_0xcb816a));_0x1821e9[_0x1aa0('0xfa')](_0x660841);for(const _0x1aa88c of this[_0x1aa0('0xf0')]['commands'][_0x1aa0('0x141')]())_0x1aa88c[_0x1aa0('0x67')]();_0x34b0a8['push']({'forceDefaultExecution':!0x0}),this[_0x1aa0('0xf0')][_0x1aa0('0xb6')](_0x18d45f,..._0x34b0a8);const _0x26f216=_0xa07261['filter'](_0x36346a=>_0x1aa0('0x10f')!=_0x36346a['root']['rootName']);_0x26f216[_0x1aa0('0x140')]>0x0&&_0x1821e9[_0x1aa0('0xfa')](_0x26f216);for(const _0x63f36 of _0xa07261)_0x63f36[_0x1aa0('0x78')]();});},_0x3fe487=(_0xc46306,_0xa9c3ac)=>0x1==_0xc46306[_0x1aa0('0x140')]&&0x1==_0xa9c3ac[_0x1aa0('0x140')]&&_0xc46306[0x0][_0x1aa0('0x166')]['isEqual'](_0xa9c3ac[0x0][_0x1aa0('0x2')]),_0x98049=(_0x3ba5e4,_0x17f0ac,_0x3749d1,_0x3b1b8f)=>Ot(_0x3ba5e4,_0x17f0ac,_0x3749d1,_0x3b1b8f,this[_0x1aa0('0x10a')])?[_0x3ba5e4,_0x17f0ac]:Ot(_0x17f0ac,_0x3ba5e4,_0x3b1b8f,_0x3749d1,this[_0x1aa0('0x10a')])?[_0x17f0ac,_0x3ba5e4]:null;this[_0x1aa0('0x20')]['set'](_0x1aa0('0xba'),_0x3e7588),this[_0x1aa0('0x20')]['set'](_0x1aa0('0x157'),_0xba325d),this[_0x1aa0('0x20')]['set'](_0x1aa0('0x1d'),_0x3fe487),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x4a'),_0x98049),this['_defaultCallbacks'][_0x1aa0('0xe4')]('deletion:accept',_0xba325d),this[_0x1aa0('0x20')]['set'](_0x1aa0('0x174'),_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0xe9'),_0x3fe487),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x163'),_0x98049),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x31'),_0x89b8b0),this['_defaultCallbacks']['set']('formatInline:discard',_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0xc4'),_0x3fe487),this[_0x1aa0('0x20')]['set'](_0x1aa0('0x70'),_0x3e7588),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x7f'),_0x89b8b0),this['_defaultCallbacks'][_0x1aa0('0xe4')]('formatBlock:discard',_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0x12a'),_0x3fe487),this[_0x1aa0('0x20')][_0x1aa0('0xe4')]('formatBlock:chain',_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0x12b'),_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0xd2'),(_0x5d29b9,_0x359e69)=>{if(!_0x359e69)return;const _0x13f254=this[_0x1aa0('0xf0')][_0x1aa0('0xf2')][_0x1aa0('0x118')](p);this[_0x1aa0('0x10a')][_0x1aa0('0x13b')](_0x58441e=>{if(_0x1aa0('0x8d')==_0x359e69[_0x1aa0('0x52')])for(const _0x2d38c1 of _0x5d29b9){const _0x255573=_0x2d38c1[_0x1aa0('0x2')][_0x1aa0('0x132')],_0x30f83d=_0x359e69['oldValue'];_0x58441e[_0x1aa0('0xcc')](_0x255573,_0x30f83d);}else{if(_0x13f254['_isBlockAttribute'](_0x359e69[_0x1aa0('0x52')]))for(const _0x949e11 of _0x5d29b9)void 0x0!==_0x359e69['oldValue']?_0x58441e[_0x1aa0('0xdb')](_0x359e69[_0x1aa0('0x52')],_0x359e69[_0x1aa0('0x153')],_0x949e11[_0x1aa0('0x2')]['nodeAfter']):_0x58441e[_0x1aa0('0x55')](_0x359e69[_0x1aa0('0x52')],_0x949e11['start'][_0x1aa0('0x132')]);else for(const _0x6c3d72 of _0x5d29b9)_0x359e69[_0x1aa0('0x153')]?_0x58441e[_0x1aa0('0xdb')](_0x359e69['key'],_0x359e69[_0x1aa0('0x153')],_0x6c3d72):_0x58441e[_0x1aa0('0x55')](_0x359e69[_0x1aa0('0x52')],_0x6c3d72);}});}),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x5b'),_0x3fe487);}}function Tt(_0x2126c1,_0xb8be64,_0x40808c){for(const _0x1c6bc9 of _0xb8be64[_0x1aa0('0x179')][_0x1aa0('0x11e')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1c6bc9[_0x1aa0('0xa7')]==_0x1c6bc9)return!0x1;if(!_0x40808c[_0x1aa0('0xdf')](_0x1c6bc9))return!0x1;if(_0x2126c1[_0x1aa0('0xd8')](_0x1c6bc9)||_0x2126c1[_0x1aa0('0xa6')](_0x1c6bc9))return!0x0;}return!0x1;}function xt(_0x2f09d2){return _0x2f09d2[_0x1aa0('0x166')][_0x1aa0('0x179')]==_0x2f09d2[_0x1aa0('0x2')][_0x1aa0('0x132')]&&_0x2f09d2[_0x1aa0('0x166')][_0x1aa0('0x6')];}function Et(_0x48ea41,_0x2e7997,_0x2c8f34,_0x514eb7){const _0x56f62b=_0x1629b4=>!_0x1629b4[_0x1aa0('0x3')]['is'](_0x1aa0('0x139'))&&!_0x514eb7['isObject'](_0x1629b4[_0x1aa0('0x3')]),_0x468a14=_0x48ea41['start'][_0x1aa0('0xaf')](_0x56f62b),_0x539902=_0x48ea41[_0x1aa0('0x166')]['getLastMatchingPosition'](_0x56f62b,{'direction':'backward'});return(!_0x48ea41[_0x1aa0('0x2')]['isEqual'](_0x468a14)||!_0x48ea41['end'][_0x1aa0('0x111')](_0x539902))&&(_0x468a14[_0x1aa0('0x11b')](_0x539902)?_0x2c8f34[_0x1aa0('0x156')](_0x2e7997,{'range':_0x2c8f34[_0x1aa0('0x42')](_0x468a14,_0x539902)}):_0x2c8f34[_0x1aa0('0x24')](_0x2e7997),!0x0);}function Rt(_0x111161){return _0x205c05(_0x111161);}function jt(_0xe7c10e){const _0x31845f=_0xe7c10e[_0x1aa0('0x2')][_0x1aa0('0x132')];return _0x31845f&&_0x31845f['is'](_0x1aa0('0x92'));}function Ut(_0xb64bed,_0x37b86e){const _0x1529a3=_0x37b86e[_0x1aa0('0x5c')]['isObject'](_0xb64bed)||_0x37b86e['schema'][_0x1aa0('0xc8')](_0xb64bed);return _0x37b86e[_0x1aa0('0x42')](_0x37b86e[_0x1aa0('0xe2')](_0xb64bed,_0x1aa0('0xd5')),_0x1529a3?_0x37b86e[_0x1aa0('0x2e')](_0xb64bed):_0x37b86e[_0x1aa0('0xe2')](_0xb64bed,'end'));}function Ot(_0x23f9fc,_0x581da4,_0x19b3db,_0x40eb46,_0x15adba){if(!Vt(_0x23f9fc,_0x581da4))return!0x1;if(_0x19b3db[_0x1aa0('0x166')][_0x1aa0('0x111')](_0x40eb46[_0x1aa0('0x2')]))return!0x0;if(_0x23f9fc[_0x1aa0('0x75')]!=_0x581da4[_0x1aa0('0x75')])return!0x1;if(!_0x19b3db[_0x1aa0('0x166')][_0x1aa0('0x116')](_0x40eb46[_0x1aa0('0x2')]))return!0x1;const _0x497c8a=_0x15adba[_0x1aa0('0x42')](_0x19b3db[_0x1aa0('0x166')],_0x40eb46['start'])[_0x1aa0('0x178')]();for(const _0x2530b9 of _0x497c8a)if([_0x1aa0('0xf8'),'elementEnd'][_0x1aa0('0xb8')](_0x2530b9['type'])&&_0x15adba[_0x1aa0('0x5c')][_0x1aa0('0xa6')](_0x2530b9['item']))return!0x1;return!0x0;}function Vt(_0x37202b,_0x1743c0){return!(!_0x37202b[_0x1aa0('0x25')]||!_0x1743c0[_0x1aa0('0x25')])&&_0x223011(_0x37202b[_0x1aa0('0x10e')],_0x1743c0[_0x1aa0('0x10e')]);}function Ft(_0x3376c9,_0x5043cd){const _0x52b70d=Gt(_0x3376c9[_0x1aa0('0x10e')]),_0x337d09=Gt(_0x5043cd);if(!_0x3376c9[_0x1aa0('0x25')])return!0x1;for(const _0x333cb6 of Object['keys'](_0x337d09))if(!_0x223011(_0x52b70d[_0x333cb6],_0x337d09[_0x333cb6]))return!0x1;return!0x0;}function Gt(_0x21265e){const _0x4c7141=Object[_0x1aa0('0x126')]({},_0x21265e);return delete _0x4c7141[_0x1aa0('0x73')],delete _0x4c7141[_0x1aa0('0xe0')],_0x4c7141;}
|