@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240201.0 → 0.0.0-nightly-20240202.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240202.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20240202.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240202.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x33e8=['hasSuggestion','substring','keys','batch','attributeOldValue','ck-suggestion-marker-formatInline','always','getLastMatchingPosition','_addSuggestionMarker','start','notReady','ck-suggestion-marker','_editor','registerCustomCallback','isIntersecting','author','unshift','isArray','markInsertion','getWalker','formatInline:discard','formatBlock:accept','stopListening','_blockAttributeKeys','define','addMarkerName','splitPosition','isAtEnd','default','end','isTouching','attributeNewValue','attribute:','_checkSuggestionCorrectness','addClass','_inlineAttributeKeys','toJSON','addRange','some','_defaultCallbacks','setSelection','value','has','catch','isOwn','_getSuggestionData','isBefore','getDifference','mapper','formatInline:','registerPostFixer','rename','trackChanges.mergeNestedSuggestions','detach','deletion:chain','assign','_trackFormatChanges','accepted','_breakSuggestionMarker','getAttribute','$elementName','isAfter','set','dataToMarker','markerNameToElements','getSuggestions','_suggestions','_updateSuggestionData','chain','startsWith','getChangedMarkers','removeClass','backward','insertion:accept','addMarker','addHighlight','formatInline:chain','_cutOutSuggestionMarker','before','formatBlock:join','splice','schema','toUpperCase','getRange','join','lowest','_mergeNestedSuggestions','targetPosition','delete','createPositionBefore','elementToElement','moveTargetPosition','markerName','_joinSuggestions','_descriptionFactory','_findSuggestions','_afterChanges','substr','fire','formatBlock:chain','markers','every','adapter','updateMarker','differ','getRanges','parent','marker-count','addComment','CommentsRepository','discardSuggestion','for','sort','ck-suggestion-marker-','addCommentThread','_customCallbacks','_commentsRepository','enableReadOnlyMode','unbind','hasCommentThread','isInsideObject','never','plugins','track-changes-suggestion-not-found','discardSelectedSuggestions','_isBlockAttribute','insertion:','previous','deletion:accept','key','_setSuggestionRange','high','getSuggestionCallback','low','requires','external:','getNearestSelectionRange','acceptSuggestion','concat','getMarkers','values','elementStart','from','forEach','_suggestionState','markerReady','$text','multi','remove','next','multipleBlocks','fromCharCode','documentSelection','isMultiRange','_handleNewSuggestionMarker','type','data-suggestion','rootName','execute','track-changes-adapter-missing-getsuggestion','_saved','widget','isUndo','groupId','move','getAncestors','activeMarkers','acceptSelectedSuggestions','_registerBlockAttribute','dataDowncast','name','find','LEAVE','@external','fromRange','_setSuggestionData','newRange','fetchCommentThread','isBlock','createPositionAt','markInlineFormat','trackChangesCommand','commands','getMultiRangeId','ck-suggestion-marker-formatBlock','consumable','push','clone','_createSuggestion','createSelection','bindElementToMarker','filter','removeMarker','accept','attributes','suggestion','upcast','writer','discardAllSuggestions','rejected','_reduceSuggestionAttributeRange','_onDiscard','formatInline:join','consume','createRange','markMultiRangeInsertion','addMarker:suggestion:formatBlock','suggestion-type','_suggestionFactory','_getExternalAuthor','formatBlock','collaboration.channelId','buildSuggestion','formatBlock:','getFirstMarker','deletion','nodeBefore','acceptAllSuggestions','get','init','_enabledCommands','_isDataLoaded','_removeSuggestion','track-changes-suggestion-data-mismatch','highest','normal','isLimit','error-saving-suggestion-data-suggestion-discarded','Users','authorName','removeAttribute','newValue','_rangeIsInLocalUserInsertion','_joinWithAdjacentSuggestions','createdAt','howMany','isNextTo','comments','containsPosition','element','createRangeIn','head','trackChanges.trackFormatChanges','subType','editingDowncast','root','removeMarkers','insert','return','suggestionUnloaded','containsRange','TrackChangesEditing','oldValue','PendingActions','format','map','options','PENDING_ACTION_SUGGESTION','document','_refreshSuggestionsChain','ENTER','creator','setAttribute','getCommentThread','_model','authoredAt','skipNestingCheck','suggestionChanged','removed','locale','isEqual','addSuggestionData','suggestion:','$marker','track-changes-enable-command-twice','$graveyard','refresh','range','getUser','attribute:discard','dataReady','insertion:chain','insertion','forceDefaultExecution','_getMarkerAnnouncementText','oldRange','add','attribute','stop','attributeKey','_enableDefaultAttributesIntegration','discard','trackChanges','_getAuthorFromId','formatBlock:discard','deletion:discard','size','hasComments','_adapter','isObject','change:_saved','createRangeOn','addSuggestion','markerToHighlight','containsRangeInObject','length','formatGroupId','position','_addThreadToSuggestion','enqueueChange','insertion:discard','ck-suggestion-marker--active','getIntersection','_splitMarkerName','_processAttributeSuggestions','item','updateSuggestion','unbindElementFromMarkerName','deletion:join','_SUGGESTION_ANNOUNCEMENT','_element','tablePasteChainId','forward','includes','_isForcedDefaultExecutionBlock','originalSuggestionId','_refreshAttributeSuggestionsChain','deleteContent','group','_recordAttributeChanges','getAllAdjacentSuggestions','_getAttributeKey','suggestion:attribute:','config','toViewElement','track-changes-user-not-found','markDeletion','change','removeMarker:suggestion:formatBlock','data','insertContent','addMarker:suggestion:attribute','isAtStart','enableCommand','isCollapsed','meta','_recordAttributeSuggestions','track-changes-adapter-already-set','markBlockFormat','showSuggestionHighlights','ready','conversion','applyOperation','markMultiRangeBlockFormat','commandName','change:data','update:suggestion','commentThread','editor','isIntersectingWithRange','getCustomProperty','getSuggestion','split','markAttributeChange','isInContent','attribute:join','elementEnd','getChanges','getFirstRange','listenTo','_isRegisteredAttribute','formatInline','then','nodeAfter','_registerDefaultCallbacks','_reduceExistingSuggestions','createElement','suggestionLoaded','model'];(function(_0xa1759e,_0x33e862){const _0x323d80=function(_0x596d10){while(--_0x596d10){_0xa1759e['push'](_0xa1759e['shift']());}};_0x323d80(++_0x33e862);}(_0x33e8,0x8e));const _0x323d=function(_0xa1759e,_0x33e862){_0xa1759e=_0xa1759e-0x0;let _0x323d80=_0x33e8[_0xa1759e];return _0x323d80;};import{Plugin as _0xfcad18,PendingActions as _0x41dc8a}from'ckeditor5/src/core.js';import{LiveRange as _0x3a2519}from'ckeditor5/src/engine.js';import{CKEditorError as _0x3d8249,uid as _0x613f7,priorities as _0x2ac13e,logWarning as _0x45d79b}from'ckeditor5/src/utils.js';import{toWidget as _0x352b18}from'ckeditor5/src/widget.js';import{Users as _0x3f6e5a,hashObject as _0x7777e0,surroundingMarkersDetector as _0x326657}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1a6a8 from'./commands/trackchangescommand.js';import _0x954c3f from'./commands/acceptsuggestioncommand.js';import _0x47ecb0 from'./commands/discardsuggestioncommand.js';import _0x109a42 from'./commands/executeonallsuggestionscommand.js';import _0x52c619 from'./commands/executeonselectedsuggestionscommand.js';import _0x2ef1b9 from'./suggestion.js';import _0x1fed64 from'./suggestiondescriptionfactory.js';import _0x3e74ce from'./integrations/aiassistant.js';import _0x51dc03 from'./integrations/alignment.js';import _0x42ef19 from'./integrations/basicstyles.js';import _0x5359d3 from'./integrations/blockquote.js';import _0x4d4c53 from'./integrations/casechange.js';import _0x2505c2 from'./integrations/ckbox.js';import _0x4fc74b from'./integrations/codeblock.js';import _0x6d9e66 from'./integrations/comments.js';import _0x4c566c from'./integrations/deletecommand.js';import _0x37354e from'./integrations/list.js';import _0x5c2a1a from'./integrations/listproperties.js';import _0x5ce72d from'./integrations/entercommand.js';import _0x257272 from'./integrations/findandreplace.js';import _0x47b933 from'./integrations/font.js';import _0x313c34 from'./integrations/formatpainter.js';import _0x38fa3f from'./integrations/heading.js';import _0x369fb7 from'./integrations/highlight.js';import _0x4defe6 from'./integrations/horizontalline.js';import _0x40f6e0 from'./integrations/htmlembed.js';import _0x5b83dd from'./integrations/image.js';import _0x370147 from'./integrations/imagereplace.js';import _0x43eccb from'./integrations/imagestyle.js';import _0x3f708e from'./integrations/importword.js';import _0x2dd291 from'./integrations/indent.js';import _0x44e303 from'./integrations/inputcommand.js';import _0x46c328 from'./integrations/link.js';import _0x40090f from'./integrations/legacylist.js';import _0x551f18 from'./integrations/legacylistproperties.js';import _0x1142a5 from'./integrations/mediaembed.js';import _0x230fb2 from'./integrations/mention.js';import _0xb49af6 from'./integrations/pagebreak.js';import _0x4bc918 from'./integrations/paragraph.js';import _0x584e32 from'./integrations/removeformat.js';import _0x54eaa1 from'./integrations/restrictededitingmode.js';import _0x2d01e9 from'./integrations/shiftentercommand.js';import _0x349e7c from'./integrations/standardeditingmode.js';import _0x2341ee from'./integrations/style.js';import _0x5b7a66 from'./integrations/table.js';import _0x734b1b from'./integrations/tablemergesplit.js';import _0x390492 from'./integrations/tableheadings.js';import _0x10b186 from'./integrations/tableclipboard.js';import _0x1c35d3 from'./integrations/tablecolumnresize.js';import _0x44eb30 from'./integrations/template.js';import _0x4fc738 from'./integrations/tableofcontents.js';import _0x40f141 from'./integrations/title.js';import _0x51829f from'./integrations/undo.js';import _0x817a9f from'./integrations/tablecaption.js';import _0x353251 from'./integrations/tableproperties.js';import{getTranslation as _0x47b0af}from'./utils/common-translations.js';import{isEqual as _0x1070e2,omit as _0x2edb98}from'lodash-es';export const renameAttributeKey=_0x323d('0x129');export default class p extends _0xfcad18{static get[_0x323d('0x173')](){return[_0x323d('0x15a'),_0x3f6e5a,_0x41dc8a,_0x3e74ce,_0x51dc03,_0x42ef19,_0x5359d3,_0x2505c2,_0x4d4c53,_0x4fc74b,_0x6d9e66,_0x4c566c,_0x5ce72d,_0x257272,_0x47b933,_0x313c34,_0x38fa3f,_0x369fb7,_0x4defe6,_0x40f6e0,_0x5b83dd,_0x43eccb,_0x370147,_0x3f708e,_0x2dd291,_0x44e303,_0x40090f,_0x551f18,_0x46c328,_0x37354e,_0x5c2a1a,_0x1142a5,_0x230fb2,_0xb49af6,_0x4bc918,_0x584e32,_0x54eaa1,_0x2d01e9,_0x349e7c,_0x2341ee,_0x5b7a66,_0x734b1b,_0x390492,_0x817a9f,_0x10b186,_0x1c35d3,_0x4fc738,_0x353251,_0x44eb30,_0x40f141,_0x51829f];}static get['pluginName'](){return _0x323d('0x6d');}constructor(_0x59c92f){function _0x4bfeb6(_0x2b7bf0){return _0x2b7bf0[_0x323d('0x71')](_0x5559c1=>String[_0x323d('0x9')](_0x5559c1))[_0x323d('0x141')]('');}super(_0x59c92f),this['_recordAttributeSuggestions']=!0x1,this['set'](_0x323d('0x18'),[]),this['on']('change:activeMarkers',(_0x513651,_0x3980f9,_0x2f151f,_0x3246aa)=>{this[_0x323d('0x7a')][_0x323d('0xc3')](()=>{for(const _0x3cd155 of[..._0x3246aa,..._0x2f151f])this[_0x323d('0x7a')][_0x323d('0x151')][_0x323d('0x117')](_0x3cd155)&&_0x59c92f['editing']['reconvertMarker'](_0x3cd155);});}),this[_0x323d('0x14b')]=new _0x1fed64(this[_0x323d('0xd8')]['model'][_0x323d('0x13e')],this[_0x323d('0xd8')][_0x323d('0x7f')]),this['_adapter']=null,this[_0x323d('0x42')]=new Bt(this[_0x323d('0xd8')]),this[_0x323d('0x12f')]=new Map(),this[_0x323d('0x161')]=_0x59c92f['plugins']['get'](_0x323d('0x15a')),this['_enabledCommands']=new Set(),this['_model']=this['editor'][_0x323d('0xec')],this[_0x323d('0x2')]=new WeakMap(),this[_0x323d('0xb6')]=!0x1,this[_0x323d('0x104')]=new Set(['$elementName']),this['_inlineAttributeKeys']=new Set(),_0x59c92f[_0x323d('0xbf')][_0x323d('0x105')](_0x323d('0x64'),_0x323d('0x109')),this[_0x323d('0x125')]=_0x59c92f[_0x323d('0xbf')]['get'](_0x323d('0x64')),_0x59c92f[_0x323d('0xbf')]['define'](_0x323d('0x121'),!0x0),this['_mergeNestedSuggestions']=_0x59c92f['config'][_0x323d('0x4c')](_0x323d('0x121')),this[_0x323d('0x27')]=new _0x1a6a8(_0x59c92f,this[_0x323d('0x4e')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x4bfeb6([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4bfeb6([0x34,0x30,0x34,0x38,0x30,0x34,0x30,0x32]);}[_0x323d('0x4d')](){const _0x3c8b5b=this[_0x323d('0xd8')],_0x51ab2f=(_0xa98dc9,_0x2646e1)=>{if(_0x323d('0x91')!=_0xa98dc9)return _0x323d('0x15e')+_0xa98dc9;const _0x197d18=_0x2646e1[_0x323d('0xdc')]('|')[0x0];return this['_isBlockAttribute'](_0x197d18)?_0x323d('0x2a'):_0x323d('0xf2');};_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')]('editingDowncast')[_0x323d('0xa1')]({'model':_0x323d('0x35'),'view':_0x4c2bd0=>{const {id:_0x9aca7d,type:_0x5c7c3c,subType:_0x16be8e}=this['_splitMarkerName'](_0x4c2bd0['markerName']),_0x532f5a=['ck-suggestion-marker',_0x51ab2f(_0x5c7c3c,_0x16be8e)];let _0x248fdb=0xbb8;return this['activeMarkers']['includes'](_0x4c2bd0[_0x323d('0x149')])&&(_0x532f5a['push']('ck-suggestion-marker--active'),_0x248fdb=0xbc2),_0x323d('0x49')==_0x5c7c3c&&(_0x248fdb+=0x5),{'classes':_0x532f5a,'attributes':{'data-suggestion':_0x9aca7d},'priority':_0x248fdb};}}),_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')](_0x323d('0x1b'))[_0x323d('0x90')](_0x1bef0a=>{_0x1bef0a['on']('addMarker:suggestion',(_0x251abc,_0x37646a,_0x5d54f6)=>{if(!_0x5d54f6['options'][_0x323d('0xcf')])return;const _0x34671c=_0x37646a['item'];if(!_0x34671c)return;const _0x43ed8c=_0x5d54f6[_0x323d('0x11d')]['toViewElement'](_0x34671c);_0x3c8b5b['model'][_0x323d('0x13e')][_0x323d('0x9d')](_0x34671c)&&_0x43ed8c&&!_0x43ed8c[_0x323d('0xda')](_0x323d('0x13'))&&_0x43ed8c['is']('containerElement')&&_0x352b18(_0x43ed8c,_0x5d54f6[_0x323d('0x37')]);},{'priority':'high'});}),_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')](_0x323d('0x1b'))[_0x323d('0xa1')]({'model':_0x323d('0x35'),'view':(_0x5a09bb,_0x2c0754)=>{if(!_0x2c0754[_0x323d('0x72')][_0x323d('0xcf')])return null;const {type:_0x3d5105,subType:_0x5734b1}=this[_0x323d('0xab')](_0x5a09bb[_0x323d('0x149')]);return{'classes':[_0x323d('0xf8'),_0x51ab2f(_0x3d5105,_0x5734b1)],'priority':0xbb8};}});const _0x269ed1=({showActiveMarkers:_0x3321a0=!0x0,isAttributeSuggestion:_0x98d5a0=!0x1}={})=>(_0x267816,_0xc6223f,_0x2f0151)=>{if(!_0xc6223f[_0x323d('0xad')])return;const {id:_0x52391f}=this[_0x323d('0xab')](_0xc6223f['markerName']);if(_0x98d5a0){const _0x439278=this['_suggestions'][_0x323d('0x4c')](_0x52391f),_0x30c08c=this[_0x323d('0xbd')](_0x439278);if(!this[_0x323d('0x16a')](_0x30c08c))return;}if(_0xc6223f[_0x323d('0xad')]['is']('selection'))return void _0x2f0151['consumable'][_0x323d('0x3d')](_0xc6223f['item'],_0x267816[_0x323d('0x1c')]);const _0x3a42cb=_0x2f0151[_0x323d('0x11d')][_0x323d('0xc0')](_0xc6223f['item']);if(_0xc6223f['item']['is'](_0x323d('0x61'))&&_0x3c8b5b[_0x323d('0xec')]['schema'][_0x323d('0x24')](_0xc6223f[_0x323d('0xad')])&&!_0x3a42cb[_0x323d('0xda')](_0x323d('0x138'))){_0x2f0151[_0x323d('0x37')][_0x323d('0x10f')](['ck-suggestion-marker',_0x323d('0x2a')],_0x3a42cb),_0x2f0151[_0x323d('0x37')][_0x323d('0x78')](_0x323d('0xe'),_0x52391f,_0x3a42cb),_0x2f0151[_0x323d('0x11d')][_0x323d('0x30')](_0x3a42cb,_0xc6223f['markerName']),_0x3321a0&&(this[_0x323d('0x18')][_0x323d('0xb5')](_0xc6223f[_0x323d('0x149')])?_0x2f0151[_0x323d('0x37')][_0x323d('0x10f')](_0x323d('0xa9'),_0x3a42cb):_0x2f0151['writer'][_0x323d('0x134')](_0x323d('0xa9'),_0x3a42cb));for(const _0x2f5018 of _0x3c8b5b[_0x323d('0xec')][_0x323d('0x62')](_0xc6223f[_0x323d('0xad')])['getItems']())_0x2f0151[_0x323d('0x2b')][_0x323d('0x3d')](_0x2f5018,_0x267816[_0x323d('0x1c')]);_0x2f0151[_0x323d('0x2b')][_0x323d('0x3d')](_0xc6223f[_0x323d('0xad')],_0x267816['name']);}};_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')]('dataDowncast')[_0x323d('0x90')](_0x3d27a5=>{_0x3d27a5['on'](_0x323d('0x40'),(_0x5a67dc,_0x4b9553,_0xf61e5b)=>{_0xf61e5b[_0x323d('0x72')][_0x323d('0xcf')]&&_0x269ed1({'showActiveMarkers':!0x1})(_0x5a67dc,_0x4b9553,_0xf61e5b);},{'priority':_0x323d('0x52')});}),_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')](_0x323d('0x1b'))[_0x323d('0x90')](_0x4ea1e4=>{_0x4ea1e4['on'](_0x323d('0xc7'),(_0x5ba2ce,_0xee8049,_0x1d6927)=>{_0x1d6927[_0x323d('0x72')][_0x323d('0xcf')]&&_0x269ed1({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x5ba2ce,_0xee8049,_0x1d6927);},{'priority':'highest'});}),_0x3c8b5b['conversion'][_0x323d('0x15c')](_0x323d('0x1b'))['markerToData']({'model':'suggestion','view':(_0xfe0f96,_0x3d2da7)=>_0x3d2da7[_0x323d('0x72')][_0x323d('0xcf')]?null:{'group':_0x323d('0x35'),'name':_0xfe0f96[_0x323d('0x14e')](0xb)}}),_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')](_0x323d('0x36'))[_0x323d('0x147')]({'view':{'name':_0x323d('0x35'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x56c787,{writer:_0x28a6b9})=>{let _0x4528d6=_0x323d('0x82')+_0x56c787['getAttribute'](_0x323d('0x41'))+':'+_0x56c787[_0x323d('0x128')]('id');return _0x56c787[_0x323d('0x128')](_0x323d('0x158'))&&(_0x4528d6+=':'+_0x56c787['getAttribute'](_0x323d('0x158'))),_0x28a6b9[_0x323d('0xea')](_0x323d('0x83'),{'data-name':_0x4528d6});}}),_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')](_0x323d('0x36'))[_0x323d('0x12c')]({'view':_0x323d('0x35')}),_0x3c8b5b['conversion'][_0x323d('0x15c')](_0x323d('0x66'))['add'](_0x2df31b=>{_0x2df31b['on'](_0x323d('0x40'),_0x269ed1(),{'priority':_0x323d('0x170')});}),_0x3c8b5b['conversion'][_0x323d('0x15c')]('editingDowncast')['add'](_0x2a59b8=>{_0x2a59b8['on'](_0x323d('0xc7'),_0x269ed1({'isAttributeSuggestion':!0x0}),{'priority':_0x323d('0x170')});}),_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')](_0x323d('0x66'))[_0x323d('0x90')](_0x1fd8bd=>{_0x1fd8bd['on'](_0x323d('0xc4'),(_0x43e85f,_0xb40074,_0xb676b2)=>{const _0xf71606=_0xb676b2['mapper'][_0x323d('0x12d')](_0xb40074[_0x323d('0x149')]);if(_0xf71606)for(const _0x45f0ee of _0xf71606)_0x45f0ee[_0x323d('0xda')]('addHighlight')||(_0xb676b2[_0x323d('0x37')][_0x323d('0x134')]([_0x323d('0xf8'),'ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x45f0ee),_0xb676b2[_0x323d('0x37')][_0x323d('0x58')](_0x323d('0xe'),_0x45f0ee),_0xb676b2[_0x323d('0x11d')][_0x323d('0xaf')](_0x45f0ee,_0xb40074[_0x323d('0x149')]));},{'priority':_0x323d('0x170')});}),_0x3c8b5b[_0x323d('0xd1')][_0x323d('0x15c')]('editingDowncast')[_0x323d('0x90')](_0xfafc39=>{_0xfafc39['on']('removeMarker:suggestion:attribute',(_0x5005d5,_0x1d8613,_0x171615)=>{const _0x378b40=_0x171615[_0x323d('0x11d')]['markerNameToElements'](_0x1d8613[_0x323d('0x149')]);if(!_0x378b40)return;const {id:_0x1d468c}=this[_0x323d('0xab')](_0x1d8613[_0x323d('0x149')]),_0xd9e498=this[_0x323d('0x12f')][_0x323d('0x4c')](_0x1d468c),_0x20ae0a=this[_0x323d('0xbd')](_0xd9e498);if(this[_0x323d('0x16a')](_0x20ae0a))for(const _0x5a092d of _0x378b40)_0x5a092d['getCustomProperty'](_0x323d('0x138'))||(_0x171615[_0x323d('0x37')][_0x323d('0x134')](['ck-suggestion-marker',_0x323d('0x2a'),'ck-suggestion-marker--active'],_0x5a092d),_0x171615['writer'][_0x323d('0x58')]('data-suggestion',_0x5a092d),_0x171615[_0x323d('0x11d')][_0x323d('0xaf')](_0x5a092d,_0x1d8613['markerName']));},{'priority':_0x323d('0x170')});}),_0x3c8b5b['model'][_0x323d('0x74')][_0x323d('0x11f')](_0x47e983=>{let _0x2b36d9=!0x1;const _0x2b11dc=Array[_0x323d('0x0')](_0x3c8b5b[_0x323d('0xec')]['document'][_0x323d('0x155')][_0x323d('0x133')]()),_0x484097=new Set();for(const {name:_0x5c8bf2,data:_0x455b3}of _0x2b11dc){const {group:_0x54476d,type:_0x1b2b5f,subType:_0x536734,id:_0x3bead9}=this['_splitMarkerName'](_0x5c8bf2);if(_0x323d('0x35')!==_0x54476d)continue;const _0x2f1b0d=this[_0x323d('0x12f')][_0x323d('0x4c')](_0x3bead9);if(null!=_0x455b3['newRange']){_0x323d('0xe5')==_0x1b2b5f&&(_0x2b36d9=_0x2b36d9||Tt(_0x455b3[_0x323d('0x22')],_0x5c8bf2,_0x47e983,_0x3c8b5b[_0x323d('0xec')][_0x323d('0x13e')]));const _0x1ebde9='attribute'==_0x1b2b5f&&this[_0x323d('0x16a')](_0x536734['split']('|')[0x0]);if(_0x455b3[_0x323d('0x22')]['isCollapsed']||_0x323d('0x85')==_0x455b3[_0x323d('0x22')][_0x323d('0x67')][_0x323d('0xf')]||_0x323d('0x44')==_0x1b2b5f&&!Vt(_0x455b3[_0x323d('0x22')])||_0x1ebde9&&!Vt(_0x455b3[_0x323d('0x22')])||'deletion'==_0x1b2b5f&&!(!Rt(_0x507213=_0x455b3[_0x323d('0x22')])&&!function(_0x2ea423){return _0x2ea423[_0x323d('0xf6')][_0x323d('0x157')]==_0x2ea423[_0x323d('0x10a')][_0x323d('0x4a')]&&_0x2ea423[_0x323d('0xf6')]['isAtEnd'];}(_0x507213)))_0x47e983[_0x323d('0x32')](_0x5c8bf2),_0x2b36d9=!0x0;else{if(!_0x2f1b0d||!_0x2f1b0d[_0x323d('0xde')])continue;_0x484097[_0x323d('0x90')](_0x2f1b0d);}}}var _0x507213;return _0x484097['size']>0x0&&(_0x2b36d9=!!this[_0x323d('0x5b')](_0x484097)||_0x2b36d9),_0x2b36d9;}),_0x3c8b5b[_0x323d('0xec')][_0x323d('0x74')][_0x323d('0x11f')](_0x43b7eb=>{let _0x10d291=!0x1;for(const _0x43878f of _0x3c8b5b[_0x323d('0xec')][_0x323d('0x74')][_0x323d('0x155')][_0x323d('0xe1')]())if(_0x323d('0x69')==_0x43878f[_0x323d('0xd')])for(const _0x32bf6e of this['_suggestions'][_0x323d('0x179')]()){if(_0x32bf6e[_0x323d('0xb')]||!_0x32bf6e[_0x323d('0xde')])continue;const _0x5ef255=_0x323d('0x44')==_0x32bf6e[_0x323d('0xd')],_0x3027de=this[_0x323d('0xbd')](_0x32bf6e),_0x1a361d=_0x3027de&&this['_isBlockAttribute'](_0x3027de);if(!_0x5ef255&&!_0x1a361d)continue;const _0xc614db=_0x32bf6e[_0x323d('0xe2')]();if(_0xc614db[_0x323d('0xf6')]['parent']!=_0xc614db[_0x323d('0x10a')][_0x323d('0x157')]&&!_0xc614db[_0x323d('0x10a')][_0x323d('0x108')]){const _0x105192=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x25')](_0xc614db[_0x323d('0xf6')][_0x323d('0xe7')],'end'),_0x3a182d=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x3e')](_0xc614db['start'],_0x105192);_0x43b7eb['updateMarker'](_0x32bf6e[_0x323d('0x48')](),{'range':_0x3a182d}),_0x10d291=!0x0;}}return _0x10d291;}),_0x3c8b5b[_0x323d('0xec')][_0x323d('0x74')]['registerPostFixer'](_0x5a333c=>this['_processAttributeChanges'](_0x5a333c)),_0x3c8b5b[_0x323d('0xec')]['document']['registerPostFixer'](_0x21ae33=>!_0x21ae33[_0x323d('0xf0')]['isLocal']&&this[_0x323d('0xac')](_0x21ae33)),_0x3c8b5b[_0x323d('0xec')]['on'](_0x323d('0x14d'),()=>{this[_0x323d('0xcc')]=!0x1;}),_0x3c8b5b[_0x323d('0xec')][_0x323d('0x74')]['on'](_0x323d('0xd5'),(_0x4d27f2,_0x5aa589)=>{if(!_0x5aa589['isLocal']||_0x5aa589['isUndo'])return;if(!this[_0x323d('0xcc')])return;const _0x114892=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x74')]['differ'][_0x323d('0xe1')]();if(0x0==_0x114892[_0x323d('0xa3')])return;const _0x119a96=[],_0x4ea6f5=_0x114892[_0x323d('0x31')](_0x183097=>'attribute'==_0x183097['type']),_0x114603=_0x114892[_0x323d('0x31')](_0x1c333e=>'insert'==_0x1c333e['type']&&_0x323d('0x4')!=_0x1c333e[_0x323d('0x1c')]),_0x50f18d=_0x114892[_0x323d('0x31')](_0x24216b=>_0x323d('0x6')==_0x24216b['type']&&_0x323d('0x4')!=_0x24216b['name']);for(const _0x4b34e2 of _0x4ea6f5)this[_0x323d('0xe4')](_0x4b34e2[_0x323d('0x93')])&&_0x119a96['push']({'key':_0x4b34e2[_0x323d('0x93')],'newValue':_0x4b34e2[_0x323d('0x10c')],'oldValue':_0x4b34e2[_0x323d('0xf1')],'range':Ut(_0x4b34e2[_0x323d('0x87')],_0x3c8b5b['model'])});for(const _0x1a6400 of _0x114603){const _0x28a2d6=_0x50f18d[_0x323d('0x1d')](_0x4af783=>_0x4af783[_0x323d('0xb2')]===_0x1a6400[_0x323d('0xb2')]);if(_0x28a2d6){const _0x519813=Ot(_0x1a6400[_0x323d('0xa5')][_0x323d('0xe7')],_0x3c8b5b['model']);_0x28a2d6[_0x323d('0x1c')]!==_0x1a6400[_0x323d('0x1c')]&&_0x119a96['push']({'key':_0x323d('0x129'),'newValue':_0x1a6400[_0x323d('0x1c')],'oldValue':_0x28a2d6['name'],'range':_0x519813});for(const [_0x237478,_0x2b37be]of _0x28a2d6[_0x323d('0x34')]){if(!this[_0x323d('0xe4')](_0x237478))continue;const _0x1f499c=_0x1a6400[_0x323d('0x34')][_0x323d('0x4c')](_0x237478);_0x2b37be!==_0x1f499c&&_0x119a96[_0x323d('0x2c')]({'key':_0x237478,'newValue':_0x1f499c,'oldValue':_0x2b37be,'range':_0x519813});}for(const [_0x39c74e,_0x46e462]of _0x1a6400[_0x323d('0x34')])this[_0x323d('0xe4')](_0x39c74e)&&(_0x28a2d6[_0x323d('0x34')][_0x323d('0x117')](_0x39c74e)||_0x119a96[_0x323d('0x2c')]({'key':_0x39c74e,'newValue':_0x46e462,'oldValue':null,'range':_0x519813}));}}0x0!=_0x119a96[_0x323d('0xa3')]&&_0x3c8b5b[_0x323d('0xec')][_0x323d('0xa7')](_0x5aa589,_0x453dee=>{const _0x183c94=_0x613f7();for(const {range:_0x285165,key:_0x1da82e,oldValue:_0x1124e0,newValue:_0xf33c0d}of _0x119a96)this[_0x323d('0xdd')](_0x285165,_0x1da82e,_0x1124e0,_0xf33c0d,{'groupId':_0x183c94});this[_0x323d('0xe9')](_0x453dee,_0x119a96);});},{'priority':_0x323d('0x142')}),_0x3c8b5b[_0x323d('0xec')]['markers']['on'](_0x323d('0xd6'),(_0x2101bf,_0x47abd2,_0x24502f)=>{if(null==_0x24502f){const {id:_0x29a521}=this[_0x323d('0xab')](_0x47abd2['name']),_0x1df30e=this[_0x323d('0x12f')][_0x323d('0x4c')](_0x29a521);_0x1df30e&&_0x1df30e[_0x323d('0x106')](_0x47abd2[_0x323d('0x1c')]);}}),_0x3c8b5b[_0x323d('0xec')][_0x323d('0x74')]['on'](_0x323d('0xd5'),()=>{const _0x2a5f49=Array[_0x323d('0x0')](_0x3c8b5b['model'][_0x323d('0x74')][_0x323d('0x155')][_0x323d('0x133')]())['filter'](_0x5504ae=>_0x323d('0x35')===this[_0x323d('0xab')](_0x5504ae['name'])[_0x323d('0xba')]);if(0x0===_0x2a5f49[_0x323d('0xa3')])return;_0x2a5f49[_0x323d('0x15d')]((_0x5d5ef0,_0x2c00a9)=>{const _0x4d0cf6=_0x5d5ef0[_0x323d('0xc5')][_0x323d('0x8f')],_0xa65105=_0x2c00a9[_0x323d('0xc5')][_0x323d('0x8f')];return null===_0x4d0cf6&&null===_0xa65105?0x0:null===_0x4d0cf6&&null!==_0xa65105?-0x1:null!==_0x4d0cf6&&null===_0xa65105?0x1:_0x4d0cf6[_0x323d('0xf6')][_0x323d('0x11b')](_0xa65105[_0x323d('0xf6')])?-0x1:0x1;});const _0x139650=new Set(),_0x435249=new Set();for(const {name:_0x233a4f,data:_0x46ac14}of _0x2a5f49){const {id:_0x3f8d96}=this['_splitMarkerName'](_0x233a4f);if(null===_0x46ac14[_0x323d('0x8f')]){const _0x2dab4f=this[_0x323d('0xc')](_0x233a4f);_0x435249['add'](_0x2dab4f);}else{const _0x375f0a=this['_suggestions'][_0x323d('0x4c')](_0x3f8d96);null!==_0x46ac14[_0x323d('0x22')]||_0x375f0a[_0x323d('0xde')]?(_0x139650[_0x323d('0x90')](_0x375f0a[_0x323d('0x63')]),_0x435249['add'](_0x375f0a)):this[_0x323d('0x50')](_0x375f0a);}}_0x435249['size']>0x0&&this[_0x323d('0x75')](_0x435249);for(const _0x1404a1 of _0x139650)this[_0x323d('0x14f')](_0x323d('0x7d'),_0x1404a1);}),_0x3c8b5b[_0x323d('0xec')]['on'](_0x323d('0xd2'),(_0x1d258f,_0x3995f3)=>{const _0x1fa9cd=_0x3995f3[0x0];if(!this[_0x323d('0x12f')][_0x323d('0x9a')])return;if(!_0x1fa9cd['isDocumentOperation'])return;if(_0x1fa9cd[_0x323d('0xf0')][_0x323d('0x14')]||!_0x1fa9cd[_0x323d('0xf0')]['isLocal'])return;let _0x35cb51,_0x2dfb60;switch(_0x1fa9cd[_0x323d('0xd')]){case _0x323d('0x69'):_0x35cb51=_0x3c8b5b['model'][_0x323d('0x25')](_0x1fa9cd['position']),_0x2dfb60=_0x35cb51['getShiftedBy'](_0x1fa9cd[_0x323d('0x5d')]);break;case _0x323d('0xdc'):_0x35cb51=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x25')](_0x1fa9cd[_0x323d('0x107')]),_0x2dfb60=_0x3c8b5b['model'][_0x323d('0x25')](_0x1fa9cd[_0x323d('0x148')]);break;case _0x323d('0x16'):_0x35cb51=_0x3c8b5b['model'][_0x323d('0x25')](_0x1fa9cd[_0x323d('0x144')]),_0x2dfb60=_0x35cb51['getShiftedBy'](_0x1fa9cd['howMany']);break;default:return;}const _0x4eda0a=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x3e')](_0x35cb51,_0x2dfb60);_0x3c8b5b[_0x323d('0xec')][_0x323d('0xc3')](()=>{for(const {suggestion:_0x42c235,meta:_0x26ba1e}of this[_0x323d('0x14c')](_0x4eda0a)){if(_0x42c235[_0x323d('0xb')])continue;if(_0x323d('0xe5')==_0x42c235['type'])continue;const _0x19f1be=this['_getAttributeKey'](_0x42c235);if(_0x19f1be&&this['_isBlockAttribute'](_0x19f1be)&&_0x323d('0xdc')!=_0x1fa9cd[_0x323d('0xd')])continue;const _0x5686e5=_0x42c235[_0x323d('0xc5')]&&_0x42c235[_0x323d('0xc5')][_0x323d('0x8')];('formatBlock'!=_0x42c235[_0x323d('0xd')]||_0x323d('0xdc')==_0x1fa9cd[_0x323d('0xd')]&&!_0x5686e5)&&(_0x26ba1e['containsRangeInObject']||_0x323d('0x8c')==_0x42c235[_0x323d('0xd')]&&_0x26ba1e[_0x323d('0x119')]||_0x42c235[_0x323d('0xe2')]()[_0x323d('0x6c')](_0x4eda0a)&&this[_0x323d('0x127')](_0x42c235,_0x35cb51,_0x2dfb60));}});},{'priority':_0x323d('0x142')}),_0x3c8b5b[_0x323d('0xec')]['on'](_0x323d('0xb9'),(_0x4da213,_0x10ff10)=>{const _0x2820ca=_0x10ff10[0x0],_0x5c620c=_0x10ff10[0x1];if(_0x5c620c&&_0x5c620c['forceDefaultExecution'])return;if(this[_0x323d('0xb6')])return;if(!this['trackChangesCommand'][_0x323d('0x116')])return;if(_0x2820ca['isCollapsed'])return;const _0x22f38d=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x13e')],{start:_0x4e0513,end:_0x77b860}=_0x2820ca[_0x323d('0xe2')](),_0x20dca0=_0x4e0513[_0x323d('0xe7')]&&_0x22f38d[_0x323d('0x54')](_0x4e0513[_0x323d('0xe7')])?null:_0x22f38d[_0x323d('0x175')](_0x4e0513,_0x323d('0xb4')),_0x6bcc92=_0x77b860[_0x323d('0x4a')]&&_0x22f38d[_0x323d('0x54')](_0x77b860[_0x323d('0x4a')])?null:_0x22f38d[_0x323d('0x175')](_0x77b860,_0x323d('0x135')),_0x1acfd5=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x3e')](_0x20dca0?_0x20dca0[_0x323d('0xf6')]:_0x4e0513,_0x6bcc92?_0x6bcc92['end']:_0x77b860);_0x3c8b5b['model'][_0x323d('0xc3')](_0x5898d8=>{this[_0x323d('0xc2')](_0x1acfd5);const _0x5a4969=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x13e')]['getNearestSelectionRange'](_0x1acfd5[_0x323d('0xf6')]);_0x2820ca['is'](_0x323d('0xa'))?_0x5898d8[_0x323d('0x115')](_0x5a4969):_0x2820ca['setTo'](_0x5a4969);}),_0x4da213['stop']();},{'priority':_0x2ac13e[_0x323d('0x53')]+0xa}),_0x3c8b5b[_0x323d('0xec')]['on'](_0x323d('0xc6'),(_0x3a981a,_0x8e8293)=>{const _0x30ec25=_0x8e8293[_0x8e8293[_0x323d('0xa3')]-0x1];_0x30ec25&&_0x30ec25[_0x323d('0x8d')]||this[_0x323d('0xb6')]||this[_0x323d('0x27')]['value']&&(_0x3c8b5b[_0x323d('0xec')][_0x323d('0xc3')](()=>{let _0x11d666=_0x3c8b5b[_0x323d('0xec')][_0x323d('0xc6')](_0x8e8293[0x0],_0x8e8293[0x1],_0x8e8293[0x2],{'forceDefaultExecution':!0x0});if(!_0x11d666)return;_0x3a981a[_0x323d('0x6a')]=_0x11d666[_0x323d('0x2d')]();const _0x1d3e87=_0x11d666['end'][_0x323d('0x4a')],_0x1c3fd9=_0x3c8b5b[_0x323d('0xec')][_0x323d('0x13e')];_0x1d3e87&&_0x1c3fd9[_0x323d('0x24')](_0x1d3e87)&&!_0x1c3fd9['isObject'](_0x1d3e87)&&(_0x11d666=_0x3c8b5b[_0x323d('0xec')]['createRange'](_0x11d666[_0x323d('0xf6')],_0x3c8b5b[_0x323d('0xec')][_0x323d('0x25')](_0x1d3e87,_0x323d('0x10a')))),this[_0x323d('0xff')](_0x11d666);}),_0x3a981a[_0x323d('0x92')]());},{'priority':_0x323d('0x170')}),this[_0x323d('0xd8')][_0x323d('0x28')]['add'](_0x323d('0x96'),this[_0x323d('0x27')]),this[_0x323d('0xc9')](_0x323d('0x96'));const _0x4dac8e=new _0x954c3f(_0x3c8b5b,this['_suggestions']);_0x3c8b5b[_0x323d('0x28')][_0x323d('0x90')]('acceptSuggestion',_0x4dac8e),this[_0x323d('0xc9')](_0x323d('0x176'));const _0x4b84bb=new _0x47ecb0(_0x3c8b5b,this[_0x323d('0x12f')]);_0x3c8b5b[_0x323d('0x28')][_0x323d('0x90')](_0x323d('0x15b'),_0x4b84bb),this[_0x323d('0xc9')]('discardSuggestion'),_0x3c8b5b['commands']['add'](_0x323d('0x4b'),new _0x109a42(_0x3c8b5b,_0x4dac8e,this['_suggestions'])),this[_0x323d('0xc9')](_0x323d('0x4b')),_0x3c8b5b[_0x323d('0x28')]['add'](_0x323d('0x38'),new _0x109a42(_0x3c8b5b,_0x4b84bb,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x3c8b5b[_0x323d('0x28')]['add']('acceptSelectedSuggestions',new _0x52c619(_0x3c8b5b,_0x4dac8e,this[_0x323d('0x12f')])),this[_0x323d('0xc9')](_0x323d('0x19')),_0x3c8b5b['commands'][_0x323d('0x90')](_0x323d('0x169'),new _0x52c619(_0x3c8b5b,_0x4b84bb,this[_0x323d('0x12f')])),this[_0x323d('0xc9')]('discardSelectedSuggestions');const _0xcd4c36=_0x3c8b5b[_0x323d('0x167')][_0x323d('0x4c')](_0x323d('0x15a'));this['listenTo'](_0xcd4c36,_0x323d('0x159'),(_0x55353f,{threadId:_0xaf769b})=>{const _0x254910=this[_0x323d('0x12f')][_0x323d('0x4c')](_0xaf769b);_0x254910&&_0x254910['commentThread']&&0x1===_0x254910[_0x323d('0xd7')][_0x323d('0xa3')]&&this[_0x323d('0x130')](_0xaf769b,{'hasComments':!0x0});},{'priority':_0x323d('0x172')}),this[_0x323d('0xe3')](_0xcd4c36,'removeComment',(_0xd66910,{threadId:_0x1a20e4})=>{const _0x58dc8a=this[_0x323d('0x12f')]['get'](_0x1a20e4);_0x58dc8a&&_0x58dc8a['commentThread']&&!_0x58dc8a[_0x323d('0xd7')][_0x323d('0xa3')]&&this[_0x323d('0x130')](_0x1a20e4,{'hasComments':!0x1});},{'priority':_0x323d('0x172')});}set[_0x323d('0x153')](_0x34babe){if(this[_0x323d('0x9c')])throw new _0x3d8249(_0x323d('0xcd'),this);this['_adapter']=_0x34babe;}get[_0x323d('0x153')](){return this['_adapter'];}[_0x323d('0x12e')]({skipNotAttached:_0x4a5c56=!0x1,toJSON:_0x1b39a2=!0x1}={}){const _0xef6f3c=[];for(const _0x1dbe76 of this[_0x323d('0x12f')][_0x323d('0x179')]())_0x4a5c56&&!_0x1dbe76['isInContent']||_0xef6f3c['push'](_0x1dbe76);return _0x1b39a2?_0xef6f3c['map'](_0x4c4cbb=>_0x4c4cbb[_0x323d('0x111')]()):_0xef6f3c;}[_0x323d('0xdb')](_0x5ef50d){const _0x345534=this[_0x323d('0x12f')][_0x323d('0x4c')](_0x5ef50d);if(!_0x345534)throw new _0x3d8249(_0x323d('0x168'),this);return _0x345534;}[_0x323d('0xed')](_0x280b33){return this[_0x323d('0x12f')]['has'](_0x280b33);}[_0x323d('0x81')](_0x15383d){const {authorId:_0x27b958,id:_0x34bb84,attributes:_0x380fe7}=_0x15383d,[_0x384970,_0x2c3a8d]=_0x15383d['type'][_0x323d('0xdc')](':'),_0x33e79a=this[_0x323d('0x12f')][_0x323d('0x4c')](_0x34bb84)||this['_createSuggestion'](_0x384970,_0x2c3a8d,_0x34bb84,_0x27b958,_0x380fe7);if(this[_0x323d('0xa6')](_0x33e79a),this[_0x323d('0x10e')](_0x33e79a,_0x384970,_0x2c3a8d||null,_0x27b958),_0x33e79a[_0x323d('0x5c')]=_0x15383d[_0x323d('0x5c')],_0x33e79a['_isDataLoaded']=!0x0,_0x380fe7&&_0x380fe7['@external']){const _0x294162=_0x380fe7[_0x323d('0x1f')],_0x43ebc4=this[_0x323d('0x43')](_0x294162[_0x323d('0x57')]);_0x33e79a[_0x323d('0x7b')]=_0x294162[_0x323d('0x5c')],_0x33e79a[_0x323d('0xfc')]=_0x43ebc4,_0x33e79a['isExternal']=!0x0;}else _0x33e79a[_0x323d('0x7b')]=_0x15383d[_0x323d('0x5c')];switch(_0x15383d[_0x323d('0xc5')]&&(_0x33e79a['data']=_0x15383d[_0x323d('0xc5')]),_0x15383d[_0x323d('0x34')]&&(_0x33e79a[_0x323d('0x34')]=_0x15383d[_0x323d('0x34')]),this[_0x323d('0x9c')]&&this[_0x323d('0x9c')][_0x323d('0xa0')]||(_0x33e79a['_saved']=!0x0),this['_suggestionState']['get'](_0x33e79a)){case _0x323d('0xf7'):this[_0x323d('0x2')][_0x323d('0x12b')](_0x33e79a,_0x323d('0x8a'));break;case _0x323d('0x3'):_0x33e79a[_0x323d('0xde')]?(this['_joinWithAdjacentSuggestions'](new Set([_0x33e79a])),this['_refreshSuggestionsChain'](new Set([_0x33e79a])),this[_0x323d('0x2')][_0x323d('0x12b')](_0x33e79a,_0x323d('0xd0')),this[_0x323d('0x14f')](_0x323d('0xeb'),_0x33e79a)):this[_0x323d('0x2')]['set'](_0x33e79a,_0x323d('0x7e'));}return _0x33e79a;}[_0x323d('0x176')](_0x36face){this['forceDefaultExecution'](()=>{this[_0x323d('0xd8')][_0x323d('0xec')][_0x323d('0xc3')](()=>{for(const _0x3ed45d of _0x36face[_0x323d('0xbc')]())_0x3ed45d[_0x323d('0x33')]();});});}[_0x323d('0x15b')](_0x5501d1){this['forceDefaultExecution'](()=>{this[_0x323d('0xd8')][_0x323d('0xec')][_0x323d('0xc3')](()=>{for(const _0x49e5a8 of _0x5501d1[_0x323d('0xbc')]())_0x49e5a8[_0x323d('0x95')]();});});}[_0x323d('0xc9')](_0x2e2199,_0x2c8fcf){const _0x22b365=this[_0x323d('0xd8')][_0x323d('0x28')]['get'](_0x2e2199);if(!_0x22b365)throw new _0x3d8249('track-changes-command-not-found',this,{'commandName':_0x2e2199});if(this[_0x323d('0x4e')][_0x323d('0x117')](_0x22b365))throw new _0x3d8249(_0x323d('0x84'),this,{'commandName':_0x2e2199});this[_0x323d('0x4e')][_0x323d('0x90')](_0x22b365),_0x2c8fcf&&_0x22b365['on']('execute',(_0x2d3879,_0x30f8e7)=>{this['trackChangesCommand'][_0x323d('0x116')]&&(this[_0x323d('0xb6')]||(_0x30f8e7['length']>0x0&&_0x30f8e7[_0x30f8e7[_0x323d('0xa3')]-0x1]&&_0x30f8e7[_0x30f8e7[_0x323d('0xa3')]-0x1][_0x323d('0x8d')]?_0x30f8e7['pop']():(_0x2d3879[_0x323d('0x6a')]=_0x2c8fcf((..._0x4d31e7)=>_0x22b365['execute'](..._0x4d31e7,{'forceDefaultExecution':!0x0}),..._0x30f8e7),_0x2d3879[_0x323d('0x92')]())));},{'priority':_0x323d('0x170')});}['forceDefaultExecution'](_0x42c0b9){let _0x356d0f,_0x57761e;const _0x38b2be=this[_0x323d('0xb6')];this[_0x323d('0xb6')]=!0x0;try{_0x356d0f=_0x42c0b9();}catch(_0x1a34e5){_0x57761e=_0x1a34e5;}return _0x38b2be||(this[_0x323d('0xb6')]=!0x1),_0x57761e&&_0x3d8249['rethrowUnexpectedError'](_0x57761e,this),_0x356d0f;}[_0x323d('0xff')](_0x5ac8a4,_0x1d2be5=null,_0x5db3c6={}){if(_0x5ac8a4['isCollapsed'])return null;const _0x5e78e7=this['editor'][_0x323d('0x167')][_0x323d('0x4c')](_0x323d('0x56'))['me'];for(const {suggestion:_0x440d3e,meta:_0x51b00d}of this[_0x323d('0x14c')](_0x5ac8a4,_0x323d('0x8c')))if(_0x51b00d['isOwn']){if(!_0x51b00d[_0x323d('0x5e')]){if(_0x51b00d[_0x323d('0xa2')]){if(!this[_0x323d('0x143')]||!Pt(_0x440d3e,_0x5db3c6))continue;return _0x440d3e;}if(Pt(_0x440d3e,_0x5db3c6))return _0x440d3e;this['_breakSuggestionMarker'](_0x440d3e,_0x5ac8a4['start'],_0x5ac8a4[_0x323d('0x10a')]);break;}if(_0x1d2be5==_0x440d3e[_0x323d('0x65')]&&Pt(_0x440d3e,_0x5db3c6)){const _0xe104a2=_0x440d3e['getFirstRange']();return _0xe104a2[_0x323d('0xf6')][_0x323d('0x80')](_0x5ac8a4['end'])?this[_0x323d('0x16f')](_0x440d3e,this[_0x323d('0x7a')][_0x323d('0x3e')](_0x5ac8a4[_0x323d('0xf6')],_0xe104a2[_0x323d('0x10a')])):this[_0x323d('0x16f')](_0x440d3e,this[_0x323d('0x7a')][_0x323d('0x3e')](_0xe104a2[_0x323d('0xf6')],_0x5ac8a4[_0x323d('0x10a')])),_0x440d3e;}}const _0x56d1eb=_0x613f7(),_0x5960a2=_0x5e78e7['id'],_0x48c338=_0x1d2be5?'insertion:'+_0x1d2be5:_0x323d('0x8c'),_0x22a6e4=this[_0x323d('0x21')]({'id':_0x56d1eb,'type':_0x48c338,'createdAt':new Date(),'authorId':_0x5960a2,'attributes':_0x5db3c6});return this[_0x323d('0xf5')](_0x48c338,_0x56d1eb,_0x5960a2,_0x5ac8a4),_0x22a6e4;}[_0x323d('0x3f')](_0x32498e,_0x206e6a=_0x323d('0x5'),_0x1115de={}){const _0x1eebf6=this[_0x323d('0xd8')][_0x323d('0x167')]['get'](_0x323d('0x56'))['me'],_0x59a444=this[_0x323d('0x42')][_0x323d('0x171')](_0x323d('0x8c'),_0x206e6a,_0x323d('0x141'));for(const _0x5458d6 of this[_0x323d('0x12e')]())if(_0x5458d6['author']['id']==_0x1eebf6['id']&&_0x323d('0x8c')==_0x5458d6[_0x323d('0xd')]&&_0x5458d6['subType']==_0x206e6a&&Pt(_0x5458d6,_0x1115de)&&(_0x59a444(_0x5458d6[_0x323d('0x156')](),_0x32498e)||_0x59a444(_0x32498e,_0x5458d6[_0x323d('0x156')]()))){for(const _0x492925 of _0x32498e)_0x5458d6[_0x323d('0x112')](_0x492925);return _0x5458d6;}for(const {suggestion:_0x14566a,meta:_0x32b275}of this[_0x323d('0x14c')](_0x32498e,_0x323d('0x8c'))){if(!_0x32b275['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x32b275[_0x323d('0xa2')])continue;if(!Pt(_0x14566a,_0x1115de))continue;let _0x1f0403=!0x0;for(const _0x1fb38c of _0x14566a[_0x323d('0x156')]())for(const _0x35abc3 of _0x32498e)if(!_0x1fb38c['containsRange'](_0x35abc3)){_0x1f0403=!0x1;break;}if(_0x1f0403)return _0x14566a;}const _0x364e51=_0x613f7(),_0x3d441=_0x1eebf6['id'],_0x1d00a7=_0x323d('0x16b')+_0x206e6a,_0x1d885c=this['_setSuggestionData']({'id':_0x364e51,'type':_0x1d00a7,'createdAt':new Date(),'authorId':_0x3d441,'attributes':_0x1115de});for(const _0x5e18f8 of _0x32498e)this[_0x323d('0xf5')](_0x1d00a7,_0x364e51,_0x3d441,_0x5e18f8,_0x2ef1b9[_0x323d('0x29')]());return _0x1d885c;}[_0x323d('0x26')](_0x37fbb8,_0x1fe2ff,_0x31ea0a=null,_0x4ed2a4={}){if(_0x31ea0a=_0x31ea0a||Et(_0x1fe2ff),_0x37fbb8[_0x323d('0xca')])return null;if('never'===this[_0x323d('0x125')]){const _0x45de3a=this[_0x323d('0x42')][_0x323d('0x171')](_0x323d('0xe5'),_0x31ea0a,_0x323d('0x33'));return this[_0x323d('0x8d')](()=>_0x45de3a([_0x37fbb8],_0x1fe2ff,_0x4ed2a4)),null;}const _0x1a80de=this[_0x323d('0xd8')][_0x323d('0x167')]['get'](_0x323d('0x56'))['me'],_0x661df3=[];if(_0x323d('0xf3')!==this[_0x323d('0x125')])for(const {suggestion:_0x22abdf,meta:_0x5b82b4}of this['_findSuggestions'](_0x37fbb8,_0x323d('0x8c')))_0x5b82b4[_0x323d('0x119')]&&!_0x5b82b4['isInsideObject']&&_0x661df3[_0x323d('0x2c')](..._0x22abdf[_0x323d('0x156')]());const _0x2e6568=function(_0x5731b3,_0x3dee0d){const _0x4aa3bb=[];for(const _0xbbc3e9 of _0x3dee0d){const _0x4c8ce0=_0x5731b3[_0x323d('0xaa')](_0xbbc3e9);_0x4c8ce0&&_0x4aa3bb['push'](_0x4c8ce0);}return _0x4aa3bb;}(_0x37fbb8,_0x661df3),_0x19dc60=function(_0x410b6c,_0x4389f1){const _0x1706e8=[_0x410b6c];for(const _0x427cf5 of _0x4389f1){let _0x3c52dc=0x0;for(;_0x3c52dc<_0x1706e8[_0x323d('0xa3')];){const _0x422645=_0x1706e8[_0x3c52dc][_0x323d('0x11c')](_0x427cf5);_0x1706e8[_0x323d('0x13d')](_0x3c52dc,0x1,..._0x422645),_0x3c52dc+=_0x422645[_0x323d('0xa3')];}}return _0x1706e8;}(_0x37fbb8,_0x661df3);_0x2e6568[_0x323d('0xa3')]&&this[_0x323d('0x7a')]['change'](()=>{for(const _0x591f72 of _0x2e6568){const _0x168f72=this[_0x323d('0x42')]['getSuggestionCallback']('formatInline',_0x31ea0a,'accept');this['forceDefaultExecution'](()=>_0x168f72([_0x591f72],_0x1fe2ff,_0x4ed2a4));}});for(const _0x36acd4 of _0x19dc60){let _0xcb1a4c=null,_0x5b33c6=_0x36acd4[_0x323d('0xf6')],_0x565ec3=_0x36acd4[_0x323d('0x10a')];for(const {suggestion:_0x5513aa,meta:_0x2078ea}of this['_findSuggestions'](_0x36acd4,_0x323d('0xe5'))){if(!_0x2078ea[_0x323d('0x119')])continue;if(_0x5513aa[_0x323d('0x65')]!=_0x31ea0a)continue;if(!Pt(_0x5513aa,_0x4ed2a4))continue;const _0x429991=_0x5513aa[_0x323d('0xe2')]();if(_0x429991[_0x323d('0x6c')](_0x36acd4,!0x0))return null;_0x5b33c6=_0x5b33c6['isBefore'](_0x429991[_0x323d('0xf6')])?_0x5b33c6:_0x429991[_0x323d('0xf6')],_0x565ec3=_0x565ec3[_0x323d('0x12a')](_0x429991[_0x323d('0x10a')])?_0x565ec3:_0x429991[_0x323d('0x10a')],_0xcb1a4c?_0x429991[_0x323d('0xf6')][_0x323d('0x11b')](_0xcb1a4c[_0x323d('0xe2')]()[_0x323d('0xf6')])?(_0xcb1a4c[_0x323d('0x68')](),_0xcb1a4c=_0x5513aa):_0x5513aa['removeMarkers']():_0xcb1a4c=_0x5513aa;}const _0x51f964=this[_0x323d('0x7a')][_0x323d('0x3e')](_0x5b33c6,_0x565ec3);if(_0xcb1a4c)this[_0x323d('0x16f')](_0xcb1a4c,_0x51f964);else{const _0x1e24d5=_0x613f7(),_0x331dc4=_0x1a80de['id'];this[_0x323d('0x21')]({'id':_0x1e24d5,'type':_0x323d('0x11e')+_0x31ea0a,'data':_0x1fe2ff,'createdAt':new Date(),'authorId':_0x331dc4,'attributes':_0x4ed2a4}),this[_0x323d('0xf5')](_0x323d('0x11e')+_0x31ea0a,_0x1e24d5,_0x331dc4,_0x51f964);}}return null;}[_0x323d('0xce')](_0x4cc049,_0x575c0c,_0x28b306=[],_0xd86fad=null,_0x2bdd7d={}){_0x575c0c[_0x323d('0xa4')]||(_0x575c0c[_0x323d('0xa4')]=_0x575c0c[_0x323d('0xd4')]),_0x575c0c['multipleBlocks']=_0x4cc049['is'](_0x323d('0x87')),_0xd86fad=_0xd86fad||Et(_0x575c0c);const _0xc63e98=_0x28b306[_0x323d('0x71')](_0xcc8a92=>Ot(_0xcc8a92,this['_model'])),_0x28d4a6=_0x4cc049['is'](_0x323d('0x87'))?_0x4cc049:Ot(_0x4cc049,this['_model']);if(_0x323d('0x166')===this[_0x323d('0x125')]){const _0x21a9dd=this[_0x323d('0x42')][_0x323d('0x171')](_0x323d('0x44'),_0xd86fad,_0x323d('0x33'));return this[_0x323d('0x8d')](()=>_0x21a9dd([_0x28d4a6],_0x575c0c,_0x2bdd7d)),null;}_0xc63e98[_0x323d('0x2c')](_0x28d4a6);let _0x48d507=!0x0;for(const _0x36722d of _0xc63e98)if(!this[_0x323d('0x5a')](_0x36722d)){_0x48d507=!0x1;break;}if(_0x48d507&&_0x323d('0xf3')!==this[_0x323d('0x125')]){const _0x5d4281=this[_0x323d('0x42')]['getSuggestionCallback'](_0x323d('0x44'),_0xd86fad,_0x323d('0x33'));return this[_0x323d('0x8d')](()=>_0x5d4281([_0x28d4a6],_0x575c0c,_0x2bdd7d)),null;}let _0x48721c=null,_0x39d0fd=_0x28d4a6[_0x323d('0xf6')],_0x55f579=_0x28d4a6[_0x323d('0x10a')];for(const {suggestion:_0x673c9,meta:_0x417a0c}of this[_0x323d('0x14c')](_0x28d4a6,'formatBlock')){if(!_0x417a0c[_0x323d('0x119')])continue;if(_0x417a0c[_0x323d('0x5e')]||_0x417a0c[_0x323d('0xa2')]||_0x417a0c['isInsideObject'])continue;if(_0x673c9[_0x323d('0xc5')][_0x323d('0xa4')]!=_0x575c0c[_0x323d('0xa4')])continue;if(!Pt(_0x673c9,_0x2bdd7d))continue;const _0x39ac4e=_0x673c9[_0x323d('0xe2')]();if(_0x673c9[_0x323d('0x65')]==_0xd86fad){if(_0x39ac4e[_0x323d('0x6c')](_0x28d4a6,!0x0))return null;_0x39d0fd=_0x39d0fd[_0x323d('0x11b')](_0x39ac4e[_0x323d('0xf6')])?_0x39d0fd:_0x39ac4e[_0x323d('0xf6')],_0x55f579=_0x55f579[_0x323d('0x12a')](_0x39ac4e['end'])?_0x55f579:_0x39ac4e[_0x323d('0x10a')],_0x48721c?_0x39ac4e[_0x323d('0xf6')][_0x323d('0x11b')](_0x48721c[_0x323d('0xe2')]()['start'])?(_0x48721c[_0x323d('0x68')](),_0x48721c=_0x673c9):_0x673c9['removeMarkers']():_0x48721c=_0x673c9;}else{const _0x5dd63d=_0x28d4a6[_0x323d('0xaa')](_0x39ac4e);this[_0x323d('0x13a')](_0x673c9,_0x5dd63d);}}const _0x288c58=this['editor']['plugins'][_0x323d('0x4c')](_0x323d('0x56'))['me'],_0x31e5bd=_0x613f7(),_0x3793b7=_0x288c58['id'];if(_0x48721c)return this[_0x323d('0x16f')](_0x48721c,this[_0x323d('0x7a')][_0x323d('0x3e')](_0x39d0fd,_0x55f579)),_0x48721c;{const _0x197835=this[_0x323d('0x21')]({'id':_0x31e5bd,'type':_0x323d('0x47')+_0xd86fad,'data':_0x575c0c,'createdAt':new Date(),'authorId':_0x3793b7,'attributes':_0x2bdd7d});return this[_0x323d('0xf5')](_0x323d('0x47')+_0xd86fad,_0x31e5bd,_0x3793b7,this[_0x323d('0x7a')][_0x323d('0x3e')](_0x39d0fd,_0x55f579)),_0x197835;}}[_0x323d('0xd3')](_0x2bedaa,_0x30b98b,_0xd68a2d=[],_0x58d651=null,_0x1ab270={}){_0x30b98b[_0x323d('0xa4')]||(_0x30b98b[_0x323d('0xa4')]=_0x30b98b['commandName']);const _0x385e7d=_0x2bedaa[0x0];_0x30b98b[_0x323d('0x8')]=_0x385e7d['is'](_0x323d('0x87')),_0x58d651=_0x58d651||Et(_0x30b98b);const _0x31f027=_0xd68a2d[_0x323d('0x71')](_0x11e3ce=>Ot(_0x11e3ce,this[_0x323d('0x7a')])),_0x2292cb=_0x385e7d['is'](_0x323d('0x87'))?_0x2bedaa:_0x2bedaa['map'](_0x11dcc8=>Ot(_0x11dcc8,this['_model']));if(_0x323d('0x166')===this['_trackFormatChanges']){const _0x1aac7b=this[_0x323d('0x42')]['getSuggestionCallback']('formatBlock',_0x58d651,_0x323d('0x33'));return this[_0x323d('0x8d')](()=>_0x1aac7b(_0x2292cb,_0x30b98b,_0x1ab270)),null;}_0x31f027[_0x323d('0x2c')](..._0x2292cb);let _0x474bf2=!0x0;for(const _0x4e0d1f of _0x31f027)if(!this[_0x323d('0x5a')](_0x4e0d1f)){_0x474bf2=!0x1;break;}if(_0x474bf2&&_0x323d('0xf3')!==this[_0x323d('0x125')]){const _0x18218a=this[_0x323d('0x42')][_0x323d('0x171')]('formatBlock',_0x58d651,'accept');return this[_0x323d('0x8d')](()=>_0x18218a(_0x2292cb,_0x30b98b,_0x1ab270)),null;}const _0x1ea8cb=this[_0x323d('0xd8')][_0x323d('0x167')]['get'](_0x323d('0x56'))['me'];for(const _0x20a8f3 of this[_0x323d('0x12e')]()){if(_0x20a8f3[_0x323d('0xfc')]['id']!=_0x1ea8cb['id'])continue;if('formatBlock'!=_0x20a8f3['type']||_0x20a8f3['data'][_0x323d('0xa4')]!=_0x30b98b[_0x323d('0xa4')])continue;if(!Pt(_0x20a8f3,_0x1ab270))continue;const _0x5e16e8=_0x20a8f3[_0x323d('0x65')]==_0x58d651;for(let _0xd50528=0x0;_0xd50528<_0x2292cb[_0x323d('0xa3')];_0xd50528++){const _0x1c8043=_0x2292cb[_0xd50528];for(const _0xb3a902 of _0x20a8f3[_0x323d('0x178')]()){const _0x262fc8=_0xb3a902[_0x323d('0x140')]();if(_0x1c8043['isEqual'](_0x262fc8)){_0x5e16e8?(_0x2292cb['splice'](_0xd50528,0x1),_0xd50528--):_0x20a8f3[_0x323d('0x32')](_0xb3a902[_0x323d('0x1c')]);break;}}}}if(0x0==_0x2292cb[_0x323d('0xa3')])return null;const _0x399f2a=this['_suggestionFactory'][_0x323d('0x171')](_0x323d('0x44'),_0x58d651,_0x323d('0x141'));for(const _0x2bb156 of this[_0x323d('0x12e')]())if(_0x2bb156[_0x323d('0xfc')]['id']==_0x1ea8cb['id']&&_0x323d('0x44')==_0x2bb156[_0x323d('0xd')]&&_0x2bb156[_0x323d('0xc5')][_0x323d('0xa4')]==_0x30b98b[_0x323d('0xa4')]&&_0x2bb156[_0x323d('0x65')]==_0x58d651&&Pt(_0x2bb156,_0x1ab270)&&(_0x399f2a(_0x2bb156['getRanges'](),_0x2292cb)||_0x399f2a(_0x2292cb,_0x2bb156[_0x323d('0x156')]()))){for(const _0x412dec of _0x2292cb)_0x2bb156[_0x323d('0x112')](_0x412dec);return _0x2bb156;}const _0x30bbb7=_0x613f7(),_0x1dc122=_0x1ea8cb['id'],_0x340d98=_0x323d('0x47')+_0x58d651,_0x410f56=this[_0x323d('0x21')]({'id':_0x30bbb7,'type':_0x340d98,'data':_0x30b98b,'createdAt':new Date(),'authorId':_0x1dc122,'attributes':_0x1ab270});for(const _0x1da145 of _0x2292cb)this[_0x323d('0xf5')](_0x340d98,_0x30bbb7,_0x1dc122,_0x1da145,_0x2ef1b9['getMultiRangeId']());return _0x410f56;}['markDeletion'](_0x1688f3,_0x52fe77=null,_0x33a84c={}){if(_0x1688f3['isCollapsed'])return null;const _0x223000=this[_0x323d('0xd8')][_0x323d('0x167')][_0x323d('0x4c')](_0x323d('0x56'))['me'],_0x1fd08b=new _0x3a2519(_0x1688f3[_0x323d('0xf6')],_0x1688f3[_0x323d('0x10a')]);for(const {suggestion:_0x3307c4,meta:_0x7e5115}of this[_0x323d('0x14c')](_0x1fd08b,_0x323d('0x8c')))if(_0x7e5115[_0x323d('0x119')]&&!_0x7e5115[_0x323d('0x5e')]){if(_0x3307c4[_0x323d('0xb')]){const _0xe8ce5c=_0x3307c4[_0x323d('0x156')]()[_0x323d('0x31')](_0x5ee519=>_0x323d('0x85')!=_0x5ee519[_0x323d('0x67')][_0x323d('0xf')]);_0xe8ce5c[_0x323d('0x152')](_0x2814c3=>_0x1fd08b[_0x323d('0x6c')](_0x2814c3,!0x0))&&_0x3307c4[_0x323d('0x95')]();if(_0xe8ce5c[_0x323d('0x113')](_0x530355=>_0x530355[_0x323d('0x6c')](_0x1fd08b,!0x0))){const _0x1a0552=this[_0x323d('0x42')][_0x323d('0x171')](_0x323d('0x49'),_0x52fe77,_0x323d('0x33'));return this[_0x323d('0x8d')](()=>_0x1a0552([_0x1fd08b],null,_0x33a84c)),null;}}else{const _0x12c3fe=_0x1fd08b['getIntersection'](_0x3307c4['getFirstRange']());null!==_0x12c3fe&&_0x3307c4[_0x323d('0x3b')]([_0x12c3fe],null,_0x33a84c);}}if(_0x1fd08b[_0x323d('0x122')](),_0x1fd08b[_0x323d('0xca')]||'$graveyard'==_0x1fd08b[_0x323d('0x67')][_0x323d('0xf')])return null;let _0x5314f9=null,_0x2b8379=_0x1fd08b[_0x323d('0xf6')],_0x496fcb=_0x1fd08b[_0x323d('0x10a')];const _0x446967=this['_findSuggestions'](_0x1fd08b,'deletion');for(const {suggestion:_0x5b1713,meta:_0x21fc94}of _0x446967){const _0x5cfe6f=this[_0x323d('0x7a')][_0x323d('0x3e')](_0x2b8379,_0x496fcb);if(_0x21fc94[_0x323d('0x119')]&&(this[_0x323d('0x143')]||!_0x21fc94[_0x323d('0xa2')]&&!_0x21fc94[_0x323d('0x165')])){if(_0x5b1713[_0x323d('0xb')]){if(!Pt(_0x5b1713,_0x33a84c))continue;let _0x599d44=!0x0;for(const _0x4063c1 of _0x5b1713[_0x323d('0x156')]()){if(_0x4063c1[_0x323d('0x6c')](_0x5cfe6f,!0x0))return _0x5b1713;_0x5cfe6f['containsRange'](_0x4063c1)||(_0x599d44=!0x1);}_0x599d44&&_0x5b1713['discard']();}else{const _0xdf8073=_0x5b1713['getFirstRange']();if(_0xdf8073[_0x323d('0x6c')](_0x5cfe6f,!0x0))return _0x5b1713;if(!Pt(_0x5b1713,_0x33a84c)){_0x5cfe6f[_0x323d('0x6c')](_0xdf8073)?_0x5b1713[_0x323d('0x68')]():_0xdf8073['containsPosition'](_0x2b8379)?_0x2b8379=_0xdf8073['end']:_0xdf8073[_0x323d('0x60')](_0x496fcb)&&(_0x496fcb=_0xdf8073['start']);continue;}_0x2b8379=_0x2b8379['isBefore'](_0xdf8073[_0x323d('0xf6')])?_0x2b8379:_0xdf8073[_0x323d('0xf6')],_0x496fcb=_0x496fcb[_0x323d('0x12a')](_0xdf8073[_0x323d('0x10a')])?_0x496fcb:_0xdf8073['end'],_0x33a84c=Object[_0x323d('0x124')]({},_0x5b1713['attributes']),_0x5314f9?_0xdf8073[_0x323d('0xf6')][_0x323d('0x11b')](_0x5314f9[_0x323d('0xe2')]()[_0x323d('0xf6')])?(_0x5314f9[_0x323d('0x68')](),_0x5314f9=_0x5b1713):_0x5b1713[_0x323d('0x68')]():_0x5314f9=_0x5b1713;}}}if(_0x5314f9)return this[_0x323d('0x16f')](_0x5314f9,this[_0x323d('0x7a')][_0x323d('0x3e')](_0x2b8379,_0x496fcb)),_0x5314f9;{const _0x5bb19b=_0x613f7(),_0xb48d80=this[_0x323d('0x7a')][_0x323d('0x3e')](_0x2b8379,_0x496fcb),_0x524b64=_0x223000['id'],_0x41c50e=_0x52fe77?'deletion:'+_0x52fe77:_0x323d('0x49'),_0x34c990=this[_0x323d('0x21')]({'id':_0x5bb19b,'type':_0x41c50e,'createdAt':new Date(),'authorId':_0x524b64,'attributes':_0x33a84c});return this[_0x323d('0xf5')](_0x41c50e,_0x5bb19b,_0x524b64,_0xb48d80),_0x34c990;}}['markMultiRangeDeletion'](_0x596acb,_0x2d2fe9='multi',_0x1fa385={}){const _0x4e5981=this['editor'][_0x323d('0x167')]['get'](_0x323d('0x56'))['me'],_0x61ef79=_0x596acb[_0x323d('0x71')](_0x4f1d5f=>new _0x3a2519(_0x4f1d5f[_0x323d('0xf6')],_0x4f1d5f[_0x323d('0x10a')])),_0x2b5de1=new Set();for(const {suggestion:_0x5c75d1,meta:_0xcdc51}of this[_0x323d('0x14c')](_0x61ef79,_0x323d('0x8c')))_0xcdc51[_0x323d('0x119')]&&!_0xcdc51[_0x323d('0x5e')]&&_0x2b5de1[_0x323d('0x90')](_0x5c75d1);for(const _0x257db6 of _0x2b5de1)if(_0x257db6[_0x323d('0xb')]){const _0x372e92=_0x257db6['getRanges']();(!_0x257db6[_0x323d('0x34')]||!_0x257db6[_0x323d('0x34')]['skipNestingCheck'])&&(_0x372e92[_0x323d('0x152')](_0x7cd965=>_0x61ef79[_0x323d('0x113')](_0x200053=>_0x200053['containsRange'](_0x7cd965,!0x0)))&&_0x257db6[_0x323d('0x95')]());if(_0x61ef79[_0x323d('0x152')](_0x2d8a49=>_0x372e92[_0x323d('0x113')](_0xb5601b=>_0xb5601b[_0x323d('0x6c')](_0x2d8a49,!0x0)))){const _0x2863d0=this['_suggestionFactory'][_0x323d('0x171')]('deletion',_0x2d2fe9,_0x323d('0x33'));return this[_0x323d('0x8d')](()=>_0x2863d0(_0x596acb,null,_0x1fa385)),null;}}else{const _0x1ebcc3=_0x257db6['getFirstRange']();_0x61ef79[_0x323d('0x113')](_0x3e8ec2=>_0x3e8ec2['containsRange'](_0x1ebcc3,!0x0))&&_0x257db6[_0x323d('0x95')]();if(_0x61ef79[_0x323d('0x152')](_0x374a1d=>_0x1ebcc3['containsRange'](_0x374a1d,!0x0))){const _0xce3bcc=this[_0x323d('0x42')][_0x323d('0x171')](_0x323d('0x49'),_0x2d2fe9,_0x323d('0x33'));return this[_0x323d('0x8d')](()=>_0xce3bcc(_0x61ef79,null,_0x1fa385)),null;}}const _0x3fec39=this[_0x323d('0x42')][_0x323d('0x171')](_0x323d('0x49'),_0x2d2fe9,'join');let _0x395eaf=null;for(const _0x83c003 of this[_0x323d('0x12e')]())if(_0x83c003[_0x323d('0xfc')]['id']==_0x4e5981['id']&&_0x83c003[_0x323d('0xde')]&&_0x323d('0x49')==_0x83c003[_0x323d('0xd')]&&_0x83c003['subType']==_0x2d2fe9&&Pt(_0x83c003,_0x1fa385)&&(_0x3fec39(_0x83c003[_0x323d('0x156')](),_0x61ef79)||_0x3fec39(_0x61ef79,_0x83c003[_0x323d('0x156')]()))){if(_0x395eaf){if(_0x83c003[_0x323d('0xd7')]&&_0x83c003[_0x323d('0xd7')]['length'])continue;for(const _0x34eed2 of _0x83c003['getRanges']())_0x395eaf[_0x323d('0xd9')](_0x34eed2)||_0x395eaf[_0x323d('0x112')](_0x34eed2);_0x83c003['removeMarkers']();}else{_0x395eaf=_0x83c003;for(const _0x359bc4 of _0x61ef79)_0x83c003[_0x323d('0xd9')](_0x359bc4)||_0x83c003[_0x323d('0x112')](_0x359bc4);}}if(_0x395eaf)return _0x395eaf;_0x2b5de1['clear']();for(const {suggestion:_0x45b3a6,meta:_0x25b46f}of this[_0x323d('0x14c')](_0x61ef79,_0x323d('0x49')))_0x25b46f[_0x323d('0x119')]&&(this[_0x323d('0x143')]||!_0x25b46f[_0x323d('0xa2')]&&!_0x25b46f[_0x323d('0x165')])&&Pt(_0x45b3a6,_0x1fa385)&&_0x2b5de1['add'](_0x45b3a6);for(const _0x1ac34c of _0x2b5de1){const _0x22af70=_0x1ac34c['getRanges']();if(!_0x1fa385||!_0x1fa385[_0x323d('0x7c')]){if(_0x61ef79['every'](_0x352809=>_0x22af70['some'](_0x290aa1=>_0x290aa1[_0x323d('0x6c')](_0x352809,!0x0))))return _0x1ac34c;}(!_0x1ac34c['attributes']||!_0x1ac34c[_0x323d('0x34')][_0x323d('0x7c')])&&(_0x22af70['every'](_0x5c7e93=>_0x61ef79[_0x323d('0x113')](_0x33b996=>_0x33b996[_0x323d('0x6c')](_0x5c7e93,!0x0)))&&_0x1ac34c[_0x323d('0x95')]());}const _0x284e4f=_0x613f7(),_0x322faf=_0x4e5981['id'],_0x4be0b2='deletion:'+_0x2d2fe9,_0x1434d5=this[_0x323d('0x21')]({'id':_0x284e4f,'type':_0x4be0b2,'createdAt':new Date(),'authorId':_0x322faf,'attributes':_0x1fa385});for(const _0x25b4de of _0x61ef79)_0x25b4de[_0x323d('0x122')](),_0x25b4de[_0x323d('0xca')]||_0x323d('0x85')==_0x25b4de[_0x323d('0x67')]['rootName']||this[_0x323d('0xf5')](_0x4be0b2,_0x284e4f,_0x322faf,_0x25b4de,_0x2ef1b9[_0x323d('0x29')]());return _0x1434d5;}[_0x323d('0xdd')](_0x1ebae9,_0xcc6c04,_0x1fdf73,_0x29254e,_0x52cb75){if(_0x1ebae9[_0x323d('0xca')])return[];if(_0x323d('0x166')===this['_trackFormatChanges'])return[];const _0x4c225d=this[_0x323d('0xd8')]['plugins'][_0x323d('0x4c')](_0x323d('0x56'))['me']['id'],_0x541acc=Array[_0x323d('0x0')](this[_0x323d('0x12f')][_0x323d('0x179')]())['filter'](_0x2a7892=>_0x323d('0x91')==_0x2a7892[_0x323d('0xd')]&&_0x2a7892[_0x323d('0xc5')][_0x323d('0x16e')]==_0xcc6c04&&_0x2a7892[_0x323d('0xd9')](_0x1ebae9));if('default'===this[_0x323d('0x125')]){const _0x4b113f=this[_0x323d('0x14c')](_0x1ebae9,'insertion')[_0x323d('0x31')](({meta:_0x4476da})=>_0x4476da[_0x323d('0x119')]&&!_0x4476da[_0x323d('0x165')]&&!_0x4476da['isNextTo'])[_0x323d('0x71')](({suggestion:_0x336057})=>_0x336057);_0x541acc[_0x323d('0xfd')](..._0x4b113f);}const _0x315518=new Map([[_0x1ebae9,_0x1fdf73]]);for(const _0x1ae802 of _0x541acc){const _0xe98358='attribute'==_0x1ae802[_0x323d('0xd')]?_0x1ae802[_0x323d('0xc5')][_0x323d('0x6e')]:void 0x0,_0x11830f=_0x1ae802['getFirstRange'](),_0x4b45ce=Array[_0x323d('0x0')](_0x315518[_0x323d('0xef')]())[_0x323d('0x1d')](_0x17264f=>_0x17264f['isIntersecting'](_0x11830f));if(!_0x4b45ce)continue;const _0x2be0db=_0x4b45ce[_0x323d('0x11c')](_0x11830f);this[_0x323d('0x16a')](_0xcc6c04)&&'insertion'==_0x1ae802[_0x323d('0xd')]&&0x0!=_0x2be0db[_0x323d('0xa3')]||(_0x315518[_0x323d('0x145')](_0x4b45ce),_0x2be0db['forEach'](_0x2fb4ea=>{_0x315518[_0x323d('0x12b')](_0x2fb4ea,_0x1fdf73);}),_0x323d('0x8c')!=_0x1ae802[_0x323d('0xd')]&&_0xe98358!=_0x29254e&&_0x315518['set'](_0x4b45ce[_0x323d('0xaa')](_0x11830f),_0xe98358));}const _0x1c7b14=[];for(const [_0x40252f,_0x587e49]of _0x315518){const _0x52afe7=_0x613f7(),_0x1a136d={'key':_0xcc6c04,'oldValue':_0x587e49,'newValue':_0x29254e};_0xcc6c04['length']>0x25&&console['warn']('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0xcc6c04});const _0x49e6c8=(_0x323d('0x10d')+(_0xcc6c04+'|'+Et({'newValue':_0x29254e})))[_0x323d('0xee')](0x0,0x3c),_0x177157=this['_setSuggestionData']({'id':_0x52afe7,'type':_0x49e6c8,'data':_0x1a136d,'createdAt':new Date(),'authorId':_0x4c225d,'attributes':_0x52cb75});_0x1c7b14['push'](_0x177157),this[_0x323d('0xf5')](_0x49e6c8,_0x52afe7,_0x4c225d,_0x40252f);}return _0x1c7b14;}[_0x323d('0x1a')](_0x2e96b1){this[_0x323d('0x104')][_0x323d('0x90')](_0x2e96b1);}['_registerInlineAttribute'](_0x230d59){this['_inlineAttributeKeys'][_0x323d('0x90')](_0x230d59);}[_0x323d('0x94')](_0x3d9846,_0x17b593=[],_0x199cbf=[]){this[_0x323d('0xc9')](_0x3d9846,(_0x6538ed,..._0x84fee6)=>{this[_0x323d('0xbb')](()=>{_0x6538ed(..._0x84fee6);});});for(const _0x280221 of _0x17b593)this['_registerInlineAttribute'](_0x280221);for(const _0x2e0ce8 of _0x199cbf)this[_0x323d('0x1a')](_0x2e0ce8);}[_0x323d('0xbd')](_0xe14f0e){return'attribute'==_0xe14f0e[_0x323d('0xd')]?_0xe14f0e[_0x323d('0x65')][_0x323d('0xdc')]('|')[0x0]:null;}[_0x323d('0x16f')](_0x3a806c,_0x37cf61){const _0x668784=_0x3a806c['getFirstMarker']();this[_0x323d('0x7a')][_0x323d('0xc3')](_0x47a96f=>{_0x47a96f[_0x323d('0x154')](_0x668784,{'range':_0x37cf61});});}['_addThreadToSuggestion'](_0x49182e){const _0x1e52b5=_0x49182e['id'],_0x5c0c9f=this[_0x323d('0xd8')][_0x323d('0xbf')][_0x323d('0x4c')](_0x323d('0x45'));this[_0x323d('0x161')][_0x323d('0x164')](_0x1e52b5)||this[_0x323d('0x161')][_0x323d('0x15f')]({'channelId':_0x5c0c9f,'threadId':_0x1e52b5,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4fab61=this[_0x323d('0x161')][_0x323d('0x79')](_0x1e52b5);_0x4fab61[_0x323d('0x163')]('isRemovable'),_0x4fab61['isRemovable']=!0x1,_0x49182e[_0x323d('0xd7')]=_0x4fab61;}[_0x323d('0x10e')](_0x456981,_0x207f5a,_0xb55080,_0x4c345c){if(_0x456981['type']!=_0x207f5a||_0x456981[_0x323d('0x65')]!=_0xb55080||_0x456981['creator']['id']!=_0x4c345c)throw this[_0x323d('0xd8')][_0x323d('0x162')](_0x323d('0x51')),new _0x3d8249(_0x323d('0x51'),this);}[_0x323d('0x13a')](_0x241903,_0x348db4){const _0x9b7edc=_0x241903[_0x323d('0xe2')]();if(_0x348db4[_0x323d('0x80')](_0x9b7edc))_0x241903[_0x323d('0x68')]();else{if(_0x9b7edc[_0x323d('0x6c')](_0x348db4)){const _0x2e2c23=this[_0x323d('0x7a')][_0x323d('0x25')](_0x348db4['start'][_0x323d('0x4a')],_0x323d('0x10a'));this[_0x323d('0x16f')](_0x241903,this[_0x323d('0x7a')][_0x323d('0x3e')](_0x9b7edc[_0x323d('0xf6')],_0x2e2c23));const _0x5514f5=_0x613f7(),_0x413205=_0x241903[_0x323d('0x77')]['id'],_0xcdf101=_0x241903[_0x323d('0xd')]+':'+_0x241903[_0x323d('0x65')];this[_0x323d('0x21')]({'id':_0x5514f5,'type':_0xcdf101,'createdAt':new Date(),'authorId':_0x413205,'data':_0x241903['data'],'attributes':_0x241903[_0x323d('0x34')]});const _0x349a39=this[_0x323d('0x7a')][_0x323d('0x25')](_0x348db4['end'][_0x323d('0x157')],'after'),_0x4406c2=this[_0x323d('0x7a')]['createRange'](_0x349a39,_0x9b7edc[_0x323d('0x10a')]);this[_0x323d('0xf5')](_0xcdf101,_0x5514f5,_0x413205,_0x4406c2);}else{if(_0x9b7edc[_0x323d('0x60')](_0x348db4[_0x323d('0xf6')])){const _0xcd729e=this['_model'][_0x323d('0x25')](_0x348db4['start'][_0x323d('0x4a')],_0x323d('0x10a'));this[_0x323d('0x16f')](_0x241903,this['_model'][_0x323d('0x3e')](_0x9b7edc[_0x323d('0xf6')],_0xcd729e));}else{const _0x373fda=this['_model']['createPositionAt'](_0x348db4[_0x323d('0x10a')][_0x323d('0x157')],'after');this['_setSuggestionRange'](_0x241903,this[_0x323d('0x7a')][_0x323d('0x3e')](_0x373fda,_0x9b7edc['end']));}}}}[_0x323d('0x5a')](_0xbc6a48){for(const {suggestion:_0x299b87,meta:_0xe6a623}of this[_0x323d('0x14c')](_0xbc6a48,'insertion')){if(!_0xe6a623[_0x323d('0x119')])continue;const _0x972030=_0x299b87[_0x323d('0x156')]();for(const _0xbb6efc of _0x972030)if(!_0xbc6a48[_0x323d('0x11c')](_0xbb6efc)['length'])return!0x0;}return!0x1;}[_0x323d('0x97')](_0x135140){const _0x4cfb47=this[_0x323d('0xd8')]['plugins'][_0x323d('0x4c')](_0x323d('0x56'))[_0x323d('0x88')](_0x135140);if(!_0x4cfb47)throw new _0x3d8249(_0x323d('0xc1'),this);return _0x4cfb47;}[_0x323d('0x43')](_0x1409ea){const _0x46518a=this[_0x323d('0xd8')][_0x323d('0x167')][_0x323d('0x4c')]('Users'),_0x4f2afb=_0x7777e0(_0x323d('0x174')+_0x1409ea),_0x85074a=_0x46518a[_0x323d('0x88')](_0x4f2afb);return _0x85074a||_0x46518a['addUser']({'id':_0x4f2afb,'name':_0x1409ea});}[_0x323d('0x2e')](_0x25bf76,_0x4ddea2,_0x4108cb,_0x4417ef,_0x217750){const _0x3aaf23=this[_0x323d('0x97')](_0x4417ef),_0x43d1a5=this[_0x323d('0x42')][_0x323d('0x46')](_0x25bf76,_0x4ddea2,_0x4108cb,_0x3aaf23,_0x217750,_0x1ee7c7=>{this['_updateSuggestionData'](_0x4108cb,{'attributes':_0x1ee7c7});const _0x10d493=this[_0x323d('0xdb')](_0x4108cb);this[_0x323d('0x5b')](new Set([_0x10d493])),this[_0x323d('0x75')](new Set([_0x10d493]));});return this[_0x323d('0xe3')](_0x43d1a5,'accept',()=>{this[_0x323d('0x130')](_0x4108cb,{'state':_0x323d('0x126')});},{'priority':_0x323d('0x170')}),this['listenTo'](_0x43d1a5,_0x323d('0x95'),()=>{this[_0x323d('0x130')](_0x4108cb,{'state':_0x323d('0x39')});},{'priority':_0x323d('0x170')}),this[_0x323d('0x12f')][_0x323d('0x12b')](_0x4108cb,_0x43d1a5),this[_0x323d('0x2')][_0x323d('0x12b')](_0x43d1a5,_0x323d('0xf7')),_0x43d1a5;}[_0x323d('0xab')](_0x2952a7){const _0x1b3216=_0x2952a7[_0x323d('0xdc')](':');return{'group':_0x1b3216[0x0],'type':_0x1b3216[0x1],'subType':_0x1b3216[_0x323d('0xa3')]>=0x5?_0x1b3216[0x2]:null,'id':_0x1b3216[_0x323d('0xa3')]<0x5?_0x1b3216[0x2]:_0x1b3216[0x3],'authorId':_0x1b3216['length']<0x5?_0x1b3216[0x3]:_0x1b3216[0x4],'markerCount':0x6==_0x1b3216[_0x323d('0xa3')]?_0x1b3216[0x5]:null};}[_0x323d('0x127')](_0x3b0f01,_0x59ee7b,_0x26449){const _0x5e8af0=_0x3b0f01[_0x323d('0xe2')](),_0x46f0ce=_0x5e8af0[_0x323d('0xf6')],_0x3061b2=_0x5e8af0[_0x323d('0x10a')];this[_0x323d('0x16f')](_0x3b0f01,this[_0x323d('0x7a')][_0x323d('0x3e')](_0x46f0ce,_0x59ee7b));const _0x4fa998=_0x613f7(),_0x19b25a=_0x3b0f01[_0x323d('0x77')]['id'],_0x515076=_0x3b0f01['type']+(_0x3b0f01[_0x323d('0x65')]?':'+_0x3b0f01['subType']:'');this['_setSuggestionData']({'id':_0x4fa998,'type':_0x515076,'createdAt':new Date(),'authorId':_0x19b25a,'originalSuggestionId':_0x3b0f01['id'],'attributes':_0x3b0f01['attributes'],'data':_0x3b0f01[_0x323d('0xc5')]});const _0x2f7952=this[_0x323d('0xbd')](_0x3b0f01);(_0x323d('0x44')==_0x3b0f01['type']||_0x2f7952&&this[_0x323d('0x16a')](_0x2f7952))&&(_0x26449=this[_0x323d('0x7a')][_0x323d('0x146')](_0x26449[_0x323d('0x157')])),this[_0x323d('0xf5')](_0x515076,_0x4fa998,_0x19b25a,this[_0x323d('0x7a')][_0x323d('0x3e')](_0x26449,_0x3061b2));}[_0x323d('0x14c')](_0x4ffe78,_0x516a21=null){const _0xb6cc48=[],_0x16b58b=this[_0x323d('0xd8')][_0x323d('0x167')][_0x323d('0x4c')]('Users')['me'];Array[_0x323d('0xfe')](_0x4ffe78)||(_0x4ffe78=[_0x4ffe78]);for(const _0x23883a of this[_0x323d('0x12e')]()){if(!_0x23883a[_0x323d('0xde')])continue;if(_0x516a21&&_0x23883a[_0x323d('0xd')]!=_0x516a21)continue;let _0x147e7f=!0x1;for(const _0x3a088a of _0x23883a[_0x323d('0x156')]()){for(const _0x5edcc5 of _0x4ffe78){const _0x19111d=_0x5edcc5[_0x323d('0xf6')]['isEqual'](_0x3a088a['end'])||_0x5edcc5['end'][_0x323d('0x80')](_0x3a088a[_0x323d('0xf6')]);if(_0x19111d||_0x5edcc5['getIntersection'](_0x3a088a)){const _0x3f45d2=_0x5edcc5[_0x323d('0x6c')](_0x3a088a)&&xt(this[_0x323d('0x7a')][_0x323d('0x13e')],_0x3a088a[_0x323d('0xf6')],_0x5edcc5),_0x3a18fd=_0x3a088a['containsRange'](_0x5edcc5)&&xt(this[_0x323d('0x7a')][_0x323d('0x13e')],_0x5edcc5['start'],_0x3a088a);_0xb6cc48[_0x323d('0x2c')]({'suggestion':_0x23883a,'meta':{'isOwn':_0x16b58b==_0x23883a['author'],'isNextTo':_0x19111d,'isInsideObject':_0x3f45d2,'containsRangeInObject':_0x3a18fd}}),_0x147e7f=!0x0;break;}}if(_0x147e7f)break;}}return _0xb6cc48;}[_0x323d('0xf5')](_0x1a43d2,_0x21fd51,_0x56fc0a,_0x27c3f9,_0x3bc020){this[_0x323d('0x7a')]['change'](_0xef3b75=>{let _0x343b26=_0x323d('0x82')+_0x1a43d2+':'+_0x21fd51+':'+_0x56fc0a;_0x3bc020&&(_0x343b26=_0x343b26+':'+_0x3bc020),_0xef3b75[_0x323d('0x137')](_0x343b26,{'range':_0x27c3f9,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x5ce086){const _0x313864=_0x5ce086[_0x323d('0x16c')],_0x3aa9f0=_0x5ce086[_0x323d('0x7')];_0x5ce086[_0x323d('0x16c')]=null,_0x5ce086[_0x323d('0x7')]=null,null!=_0x313864&&_0x313864[_0x323d('0x7')]==_0x5ce086&&(_0x313864['next']=_0x3aa9f0),null!=_0x3aa9f0&&_0x3aa9f0[_0x323d('0x16c')]==_0x5ce086&&(_0x3aa9f0[_0x323d('0x16c')]=_0x313864),'ready'==this[_0x323d('0x2')][_0x323d('0x4c')](_0x5ce086)&&(this[_0x323d('0x2')]['set'](_0x5ce086,'removed'),this[_0x323d('0x14f')](_0x323d('0x6b'),_0x5ce086,_0x313864,_0x3aa9f0));}[_0x323d('0x21')](_0x5244d5){const _0x1a380f=_0x5244d5['id'],_0x12d5e5=this['addSuggestionData'](_0x5244d5);if(this[_0x323d('0x9c')]&&this[_0x323d('0x9c')][_0x323d('0xa0')]){const _0x1a6526=this[_0x323d('0xd8')][_0x323d('0x167')][_0x323d('0x4c')](_0x323d('0x6f')),_0x3e5192=_0x12d5e5[_0x323d('0x9b')],_0x2a3661=_0x12d5e5['subType']?_0x12d5e5[_0x323d('0xd')]+':'+_0x12d5e5[_0x323d('0x65')]:_0x12d5e5[_0x323d('0xd')],_0x2b6041=this[_0x323d('0xd8')][_0x323d('0x7f')],_0x88921c=_0x1a6526[_0x323d('0x90')](_0x47b0af(_0x2b6041,_0x323d('0x73'))),_0x3c4218={'id':_0x1a380f,'type':_0x2a3661,'hasComments':_0x3e5192,'data':_0x5244d5[_0x323d('0xc5')]||null,'originalSuggestionId':_0x5244d5[_0x323d('0xb7')]||null,'attributes':_0x12d5e5['attributes']};this[_0x323d('0x9c')]['addSuggestion'](_0x3c4218)[_0x323d('0xe6')](_0xa3d577=>{_0x12d5e5[_0x323d('0x12')]=!0x0,_0x1a6526[_0x323d('0x6')](_0x88921c),_0xa3d577&&_0xa3d577['createdAt']&&(this[_0x323d('0x12f')][_0x323d('0x4c')](_0x1a380f)[_0x323d('0x5c')]=_0xa3d577['createdAt']);})[_0x323d('0x118')](_0x58584a=>{throw _0x45d79b(_0x323d('0x55')),this[_0x323d('0xd8')]['model'][_0x323d('0xa7')]({'isUndoable':!0x1},()=>{_0x12d5e5['discard']();}),_0x12d5e5[_0x323d('0x103')](),this['_suggestions']['delete'](_0x12d5e5['id']),this[_0x323d('0x2')]['delete'](_0x12d5e5),_0x58584a;});}return _0x12d5e5;}[_0x323d('0x16a')](_0x52beee){return this[_0x323d('0x104')]['has'](_0x52beee);}[_0x323d('0x130')](_0x42f531,_0x19af25){const _0x5effb6=this[_0x323d('0xd8')][_0x323d('0x167')][_0x323d('0x4c')](_0x323d('0x6f')),_0x4fc693=this[_0x323d('0xdb')](_0x42f531);if(this[_0x323d('0x9c')]&&this['_adapter']['updateSuggestion']){if(_0x4fc693['_saved']){const _0x44aab1=_0x5effb6['add'](_0x47b0af(this[_0x323d('0xd8')][_0x323d('0x7f')],_0x323d('0x73')));this['_adapter'][_0x323d('0xae')](_0x42f531,_0x19af25)[_0x323d('0xe6')](()=>{_0x5effb6[_0x323d('0x6')](_0x44aab1);});}else _0x4fc693['on'](_0x323d('0x9e'),()=>{this['_updateSuggestionData'](_0x42f531,_0x19af25);});}}[_0x323d('0x11a')](_0x54ed8c){if(!this[_0x323d('0x9c')]||!this['_adapter'][_0x323d('0xdb')])throw new _0x3d8249(_0x323d('0x11'),this);return this[_0x323d('0x9c')]['getSuggestion'](_0x54ed8c);}[_0x323d('0xc')](_0x1dd8e3){const {id:_0x1b7fa4,type:_0x1423b6,subType:_0x34418c,authorId:_0x2d8ab1}=this[_0x323d('0xab')](_0x1dd8e3),_0x5d43a0=this[_0x323d('0x12f')][_0x323d('0x4c')](_0x1b7fa4)||this[_0x323d('0x2e')](_0x1423b6,_0x34418c,_0x1b7fa4,_0x2d8ab1,{});switch(this[_0x323d('0x10e')](_0x5d43a0,_0x1423b6,_0x34418c,_0x2d8ab1),this['_suggestionState'][_0x323d('0x4c')](_0x5d43a0)){case _0x323d('0xf7'):this[_0x323d('0x11a')](_0x1b7fa4)[_0x323d('0xe6')](_0x4da630=>{let _0x3485d3=Promise['resolve']();_0x4da630['hasComments']&&(_0x3485d3=this['_commentsRepository'][_0x323d('0x23')]({'channelId':this[_0x323d('0xd8')][_0x323d('0xbf')][_0x323d('0x4c')](_0x323d('0x45')),'threadId':_0x1b7fa4})),_0x3485d3[_0x323d('0xe6')](()=>{this[_0x323d('0x81')](_0x4da630)[_0x323d('0x12')]=!0x0;});}),this['_suggestionState'][_0x323d('0x12b')](_0x5d43a0,_0x323d('0x3'));break;case _0x323d('0x7e'):this[_0x323d('0x130')](_0x1b7fa4,{'state':'open'});case _0x323d('0x8a'):this[_0x323d('0x2')][_0x323d('0x12b')](_0x5d43a0,_0x323d('0xd0')),this['fire']('suggestionLoaded',_0x5d43a0);break;case'ready':this[_0x323d('0x14f')](_0x323d('0x7d'),_0x5d43a0);}return _0x5d43a0[_0x323d('0x106')](_0x1dd8e3),_0x5d43a0;}[_0x323d('0x75')](_0x1e7c51){const _0xcca806=Array['from'](_0x1e7c51),_0x40584f=_0xcca806['filter'](_0x44330f=>_0x323d('0x91')==_0x44330f[_0x323d('0xd')]);this[_0x323d('0xb8')](_0x40584f);const _0x27cd6f=_0xcca806[_0x323d('0x31')](_0x4e245b=>!_0x4e245b['isMultiRange']&&_0x323d('0x91')!=_0x4e245b[_0x323d('0xd')]),_0x243379=this[_0x323d('0x12e')]({'skipNotAttached':!0x0})[_0x323d('0x31')](_0x38bbe3=>!_0x38bbe3['isMultiRange']&&_0x323d('0x91')!=_0x38bbe3[_0x323d('0xd')]),_0xaf09fc=_0x243379[_0x323d('0x31')](_0x11c82d=>!_0x1e7c51[_0x323d('0x117')](_0x11c82d)),_0x5540b6=new Map(_0x243379[_0x323d('0x71')](_0x3584fc=>[_0x3584fc,this['_suggestionFactory']['getSuggestionCallback'](_0x3584fc[_0x323d('0xd')],_0x3584fc['subType'],_0x323d('0x131'))])),_0x521844=new Map(_0x243379[_0x323d('0x71')](_0x278ebf=>[_0x278ebf,_0x278ebf['getFirstRange']()])),_0x1e4c94=new Set(),_0x178bd4=new Set();for(let _0x16a753=0x0;_0x16a753<_0x27cd6f[_0x323d('0xa3')];_0x16a753++)_0x9c13e0(_0x27cd6f[_0x16a753],_0x27cd6f,_0x16a753+0x1);for(let _0xcde613=0x0;_0xcde613<_0x27cd6f['length'];_0xcde613++)_0x9c13e0(_0x27cd6f[_0xcde613],_0xaf09fc,0x0);const _0x1f143a=new Set();for(let _0x5da27a=0x0;_0x5da27a<_0x27cd6f[_0x323d('0xa3')];_0x5da27a++){const _0x4cf0c9=_0x27cd6f[_0x5da27a];!_0x178bd4[_0x323d('0x117')](_0x4cf0c9)&&_0x4cf0c9['previous']&&(_0x1f143a[_0x323d('0x90')](_0x4cf0c9[_0x323d('0x16c')]),_0x4cf0c9['previous']['next']===_0x4cf0c9&&(_0x4cf0c9['previous'][_0x323d('0x7')]=null),_0x4cf0c9[_0x323d('0x16c')]=null),!_0x1e4c94['has'](_0x4cf0c9)&&_0x4cf0c9[_0x323d('0x7')]&&(_0x1f143a[_0x323d('0x90')](_0x4cf0c9[_0x323d('0x7')]),_0x4cf0c9[_0x323d('0x7')][_0x323d('0x16c')]===_0x4cf0c9&&(_0x4cf0c9[_0x323d('0x7')][_0x323d('0x16c')]=null),_0x4cf0c9[_0x323d('0x7')]=null);}function _0x9c13e0(_0x3dad99,_0x522c4d,_0x55ea69){for(let _0x231825=_0x55ea69;_0x231825<_0x522c4d['length'];_0x231825++){const _0x4ec773=_0x38b180(_0x3dad99,_0x522c4d[_0x231825]);_0x4ec773&&(_0x4ec773[0x0][_0x323d('0x7')]=_0x4ec773[0x1],_0x4ec773[0x1]['previous']=_0x4ec773[0x0],_0x1e4c94['add'](_0x4ec773[0x0]),_0x178bd4['add'](_0x4ec773[0x1]));}}function _0x38b180(_0x3f7df8,_0x491fa4){if(_0x3f7df8[_0x323d('0xfc')]['id']!==_0x491fa4['author']['id'])return null;const _0x55daf1=_0x5540b6[_0x323d('0x4c')](_0x3f7df8)(_0x3f7df8,_0x491fa4,_0x521844[_0x323d('0x4c')](_0x3f7df8),_0x521844['get'](_0x491fa4));if(!_0x55daf1)return null;return _0x5540b6[_0x323d('0x4c')](_0x491fa4)(_0x3f7df8,_0x491fa4,_0x521844['get'](_0x3f7df8),_0x521844[_0x323d('0x4c')](_0x491fa4))?_0x55daf1[0x1][_0x323d('0xd7')]&&_0x55daf1[0x1][_0x323d('0xd7')][_0x323d('0xa3')]?null:_0x55daf1:null;}_0x1f143a[_0x323d('0x9a')]&&this[_0x323d('0x75')](_0x1f143a);}[_0x323d('0xb8')](_0x408c76){if(0x0==_0x408c76['length'])return;const _0x8938cd=this['getSuggestions']({'skipNotAttached':!0x0})[_0x323d('0x31')](_0x2396e6=>'attribute'==_0x2396e6['type']&&_0x2396e6['_isDataLoaded']),_0xa97de6=[],_0x36e396=new Map();for(const _0x401a5f of _0x8938cd){const _0x4c6cb3=_0x7777e0(_0x401a5f[_0x323d('0x34')]);_0x36e396[_0x323d('0x117')](_0x4c6cb3)||(_0x36e396[_0x323d('0x12b')](_0x4c6cb3,_0xa97de6[_0x323d('0xa3')]),_0xa97de6['push']([]));const _0x19c3f6=_0x36e396[_0x323d('0x4c')](_0x4c6cb3);_0xa97de6[_0x19c3f6]['push'](_0x401a5f);}!function(){_0xa97de6[_0x323d('0x15d')]((_0x8bdf4e,_0x40156f)=>{const _0x1a90ee=_0x8bdf4e[0x0][_0x323d('0x5c')],_0x5346de=_0x40156f[0x0][_0x323d('0x5c')];return _0x1a90ee==_0x5346de?_0x8bdf4e[0x0]['attributes'][_0x323d('0x15')]<_0x40156f[0x0]['attributes']['groupId']?-0x1:0x1:_0x1a90ee<_0x5346de?-0x1:0x1;});for(const _0x3ee1ea of _0xa97de6)_0x3ee1ea[_0x323d('0x15d')]((_0xd5879e,_0x2f78c2)=>_0xd5879e['id']<_0x2f78c2['id']?-0x1:0x1);}();for(let _0x3ba4de=0x0;_0x3ba4de<_0xa97de6[_0x323d('0xa3')];_0x3ba4de++){if(0x0==_0xa97de6[_0x3ba4de][_0x323d('0xa3')])continue;const _0x198e2e=[];for(let _0x59c580=_0x3ba4de+0x1;_0x59c580<_0xa97de6[_0x323d('0xa3')];_0x59c580++)0x0!=_0xa97de6[_0x59c580][_0x323d('0xa3')]&&_0x508619(_0xa97de6[_0x3ba4de],_0xa97de6[_0x59c580])&&_0x198e2e[_0x323d('0x2c')](_0x59c580);for(const _0x14db12 of _0x198e2e)_0xa97de6[_0x3ba4de]=_0xa97de6[_0x3ba4de][_0x323d('0x177')](_0xa97de6[_0x14db12]),_0xa97de6[_0x14db12]=[];}for(const _0x1f29a5 of _0xa97de6)for(let _0x524907=0x0;_0x524907<_0x1f29a5[_0x323d('0xa3')];_0x524907++)_0x1f29a5[_0x524907]['next']=_0x1f29a5[_0x524907+0x1]||null;for(const _0x4caabf of _0xa97de6)for(let _0x5ce465=0x0;_0x5ce465<_0x4caabf['length'];_0x5ce465++)_0x4caabf[_0x5ce465][_0x323d('0x16c')]=_0x4caabf[_0x5ce465-0x1]||null;function _0x508619(_0x9beb99,_0xe1bb4d){if(_0x9beb99[0x0]['attributes']['groupId']!==_0xe1bb4d[0x0][_0x323d('0x34')][_0x323d('0x15')]&&_0x9beb99[0x0][_0x323d('0xfc')]!==_0xe1bb4d[0x0]['author'])return!0x1;if(!function(_0x219a21,_0x316301){if(!_0x219a21['hasComments']&&!_0x316301[_0x323d('0x9b')])return!0x0;if(_0x219a21[_0x323d('0x9b')]&&_0x316301[_0x323d('0x9b')])return!0x1;if(_0x219a21[_0x323d('0x9b')]&&_0x316301[_0x323d('0x5c')]<_0x219a21[_0x323d('0xd7')][_0x323d('0x5f')][_0x323d('0x4c')](0x0)[_0x323d('0x5c')])return!0x0;if(_0x316301[_0x323d('0x9b')]&&_0x219a21[_0x323d('0x5c')]<_0x316301[_0x323d('0xd7')][_0x323d('0x5f')][_0x323d('0x4c')](0x0)[_0x323d('0x5c')])return!0x0;return!0x1;}(_0x9beb99[0x0],_0xe1bb4d[0x0]))return!0x1;const _0x109be1=_0x2edb98(_0x9beb99[0x0][_0x323d('0x34')],'groupId'),_0x5ac708=_0x2edb98(_0xe1bb4d[0x0][_0x323d('0x34')],_0x323d('0x15'));if(!_0x1070e2(_0x109be1,_0x5ac708))return!0x1;return!!_0x9beb99[_0x323d('0x152')](_0x314ae7=>_0xe1bb4d[_0x323d('0x113')](_0x5b9864=>_0x314ae7[_0x323d('0xe2')]()[_0x323d('0x80')](_0x5b9864[_0x323d('0xe2')]())))&&_0xe1bb4d[_0x323d('0x152')](_0x11af78=>_0x9beb99[_0x323d('0x113')](_0x5e765e=>_0x11af78[_0x323d('0xe2')]()['isEqual'](_0x5e765e[_0x323d('0xe2')]())));}}[_0x323d('0x5b')](_0x286208){const _0x5d7422=Array[_0x323d('0x0')](_0x286208),_0x1865fc=this[_0x323d('0x12e')]({'skipNotAttached':!0x0}),_0x53c553=_0x1865fc['filter'](_0xb5802c=>!_0x286208[_0x323d('0x117')](_0xb5802c)),_0x963c40=new Map(_0x5d7422[_0x323d('0x71')](_0x4cbb25=>[_0x4cbb25,this[_0x323d('0x42')][_0x323d('0x171')](_0x4cbb25[_0x323d('0xd')],_0x4cbb25[_0x323d('0x65')],'join')])),_0x526232=new Map(_0x1865fc['map'](_0x3cd4d6=>[_0x3cd4d6,_0x3cd4d6[_0x323d('0x156')]()]));for(let _0x83f5a2=0x0;_0x83f5a2<_0x5d7422[_0x323d('0xa3')];_0x83f5a2++){if(_0x35490f(this,_0x5d7422[_0x83f5a2],_0x5d7422,_0x83f5a2+0x1))return!0x0;}for(let _0x4e7cf7=0x0;_0x4e7cf7<_0x5d7422[_0x323d('0xa3')];_0x4e7cf7++){if(_0x35490f(this,_0x5d7422[_0x4e7cf7],_0x53c553,0x0))return!0x0;}return!0x1;function _0x35490f(_0x49e91a,_0x3b2352,_0xcca798,_0x433c7f){for(let _0x1df5dd=_0x433c7f;_0x1df5dd<_0xcca798[_0x323d('0xa3')];_0x1df5dd++){const _0x15cdd3=_0xcca798[_0x1df5dd];if(_0x15cdd3[_0x323d('0xd')]!==_0x3b2352[_0x323d('0xd')]||_0x15cdd3['author']['id']!==_0x3b2352[_0x323d('0xfc')]['id']||_0x15cdd3[_0x323d('0x65')]!==_0x3b2352[_0x323d('0x65')])continue;if(!Ft(_0x3b2352,_0x15cdd3,['groupId']))continue;if(_0x323d('0x91')==_0x3b2352[_0x323d('0xd')]&&_0x3b2352['data'][_0x323d('0x6e')]!=_0x15cdd3['data'][_0x323d('0x6e')])continue;if(_0x323d('0x91')==_0x3b2352['type']&&_0x49e91a[_0x323d('0x16a')](_0x3b2352['data'][_0x323d('0x16e')]))continue;if('formatBlock'==_0x3b2352[_0x323d('0xd')]){const _0x52f2ad=_0x49e91a[_0x323d('0xd8')][_0x323d('0xec')],_0x32b984=_0x3b2352['getContainedElement']();if(_0x32b984&&(_0x52f2ad[_0x323d('0x13e')]['isObject'](_0x32b984)||_0x52f2ad['schema'][_0x323d('0x54')](_0x32b984)))continue;}const _0x43108c=_0x963c40[_0x323d('0x4c')](_0x3b2352),_0x12b1d1=_0x526232[_0x323d('0x4c')](_0x3b2352),_0x4a9e80=_0x526232[_0x323d('0x4c')](_0x15cdd3),_0x49054d=_0x3b2352[_0x323d('0xd7')]&&_0x3b2352[_0x323d('0xd7')][_0x323d('0xa3')],_0x16125d=_0x15cdd3[_0x323d('0xd7')]&&_0x15cdd3[_0x323d('0xd7')]['length'];if(!_0x49054d&&_0x43108c(_0x4a9e80,_0x12b1d1))return _0x49e91a[_0x323d('0x14a')](_0x15cdd3,_0x3b2352),_0x526232['delete'](_0x3b2352),!0x0;if(!_0x16125d&&_0x43108c(_0x12b1d1,_0x4a9e80))return _0x49e91a[_0x323d('0x14a')](_0x3b2352,_0x15cdd3),_0x526232[_0x323d('0x145')](_0x15cdd3),!0x0;}return!0x1;}}[_0x323d('0x14a')](_0x17f43d,_0x205b55){if(_0x17f43d[_0x323d('0xb')])for(const _0x2c5044 of _0x205b55['getRanges']())_0x17f43d['addRange'](_0x2c5044);else{const _0x528802=_0x205b55[_0x323d('0xe2')]()[_0x323d('0x10a')];this[_0x323d('0x16f')](_0x17f43d,this['_model'][_0x323d('0x3e')](_0x17f43d[_0x323d('0xe2')]()['start'],_0x528802));}_0x205b55[_0x323d('0x68')]();}[_0x323d('0x8e')](_0x3c36fe,_0x34dcf8){const _0x29a10f=_0x3c36fe[_0x323d('0x132')](_0x323d('0x70'))||_0x3c36fe['startsWith'](_0x323d('0x91'))?'FORMATTING':_0x3c36fe[_0x323d('0x13f')]();return _0x47b0af(this[_0x323d('0xd8')][_0x323d('0x7f')],_0x34dcf8+'_'+_0x29a10f+_0x323d('0xb1'));}['_initAriaMarkerChangeAnnouncements'](){const _0x5a9c52=this[_0x323d('0xd8')];_0x326657(this['_model'],({left:_0x1834e7,entered:_0x3f0140})=>{const _0x46de31=[];for(const _0x3d0bd7 of _0x1834e7){const {group:_0x578b75,type:_0x14e6ee}=this['_splitMarkerName'](_0x3d0bd7[_0x323d('0x1c')]);if(_0x323d('0x35')===_0x578b75){_0x46de31['push'](this[_0x323d('0x8e')](_0x14e6ee,_0x323d('0x1e')));break;}}for(const _0x3ae2c5 of _0x3f0140){const {group:_0x1afa71,type:_0x1d9568}=this[_0x323d('0xab')](_0x3ae2c5[_0x323d('0x1c')]);if(_0x323d('0x35')===_0x1afa71){_0x46de31[_0x323d('0x2c')](this[_0x323d('0x8e')](_0x1d9568,_0x323d('0x76')));break;}}_0x46de31[_0x323d('0xa3')]&&_0x5a9c52['ui']['ariaLiveAnnouncer']['announce'](_0x323d('0x96'),_0x46de31[_0x323d('0x141')]('\x20'));});}['_processAttributeChanges'](_0x48d960){if(this['_recordAttributeSuggestions'])return!0x1;const _0x1949be=this['editor'],_0x46075f=_0x1949be[_0x323d('0xec')][_0x323d('0x74')][_0x323d('0x155')][_0x323d('0xe1')]();if(0x0==_0x46075f[_0x323d('0xa3')])return!0x1;const _0x1467ad=[],_0x2723d4=_0x46075f['filter'](_0x4993bf=>_0x323d('0x91')==_0x4993bf[_0x323d('0xd')]),_0x39d8f1=_0x46075f[_0x323d('0x31')](_0x5c1379=>_0x323d('0x69')==_0x5c1379['type']&&_0x323d('0x4')!=_0x5c1379[_0x323d('0x1c')]),_0x2f208c=_0x46075f[_0x323d('0x31')](_0x23bf7d=>_0x323d('0x6')==_0x23bf7d[_0x323d('0xd')]&&_0x323d('0x4')!=_0x23bf7d[_0x323d('0x1c')]);for(const _0xbf985a of _0x2723d4)_0x1467ad[_0x323d('0x2c')]({'key':_0xbf985a[_0x323d('0x93')],'newValue':_0xbf985a[_0x323d('0x10c')],'oldValue':_0xbf985a['attributeOldValue'],'range':Ut(_0xbf985a[_0x323d('0x87')],_0x1949be[_0x323d('0xec')])});for(const _0x1d14d5 of _0x39d8f1){const _0x2a88cb=_0x2f208c[_0x323d('0x1d')](_0x94117c=>_0x94117c['position'][_0x323d('0x80')](_0x1d14d5[_0x323d('0xa5')]));_0x2a88cb&&_0x1467ad['push']({'key':_0x323d('0x129'),'newValue':_0x1d14d5[_0x323d('0x1c')],'oldValue':_0x2a88cb[_0x323d('0x1c')],'range':_0x1949be['model'][_0x323d('0x9f')](_0x1d14d5['position'][_0x323d('0xe7')])});}return 0x0!=_0x1467ad['length']&&this[_0x323d('0xe9')](_0x48d960,_0x1467ad);}[_0x323d('0xac')](_0x1d4ca1){let _0x42ffdf=!0x1;const _0x3164d0=this['editor']['model']['document'][_0x323d('0x155')]['getChangedMarkers']()[_0x323d('0x31')](_0x393cf0=>_0x393cf0[_0x323d('0xc5')]['newRange']&&_0x393cf0[_0x323d('0x1c')]['startsWith'](_0x323d('0xbe')));for(const _0x2dcc05 of _0x3164d0){const {subType:_0x2ca172,id:_0x23afed}=this['_splitMarkerName'](_0x2dcc05[_0x323d('0x1c')]),_0x33a555=_0x2ca172['split']('|')[0x0];for(const _0x42406b of this['getSuggestions']({'skipNotAttached':!0x0}))_0x42406b['id']!=_0x23afed&&'attribute'==_0x42406b[_0x323d('0xd')]&&_0x42406b[_0x323d('0xc5')]&&_0x42406b[_0x323d('0xc5')][_0x323d('0x16e')]==_0x33a555&&_0x42406b['getFirstRange']()[_0x323d('0xfb')](_0x2dcc05['data'][_0x323d('0x22')])&&(this[_0x323d('0x3a')](_0x42406b,_0x2dcc05[_0x323d('0xc5')][_0x323d('0x22')],_0x1d4ca1),_0x42ffdf=!0x0);}return _0x42ffdf;}[_0x323d('0xbb')](_0x443c6b){this[_0x323d('0xd8')],(this[_0x323d('0xcc')]=!0x0,_0x443c6b());}[_0x323d('0xe4')](_0xafcf2e){const _0x1f73c3=this[_0x323d('0x16a')](_0xafcf2e),_0x5b6969=this[_0x323d('0x110')][_0x323d('0x117')](_0xafcf2e);return _0x1f73c3||_0x5b6969;}['_reduceExistingSuggestions'](_0x35c837,_0x3e6ecf){if(0x0==_0x3e6ecf['length'])return!0x1;let _0x29a1ed=!0x1;for(const _0x1a7bf8 of _0x3e6ecf){const _0x345aa8=this[_0x323d('0x14c')](_0x1a7bf8['range'],'attribute')[_0x323d('0x31')](_0xc38d79=>!_0xc38d79[_0x323d('0xcb')][_0x323d('0x5e')])[_0x323d('0x71')](_0x291b81=>_0x291b81[_0x323d('0x35')]),_0x2c0dfe=_0x7777e0({'newValue':_0x1a7bf8[_0x323d('0x59')]});_0x345aa8['filter'](_0x24c2e8=>{const [_0x246b13,_0x5e395b]=_0x24c2e8[_0x323d('0x65')][_0x323d('0xdc')]('|');return _0x246b13==_0x1a7bf8[_0x323d('0x16e')]&&_0x5e395b!=_0x2c0dfe;})[_0x323d('0x1')](_0x377811=>{this[_0x323d('0x3a')](_0x377811,_0x1a7bf8[_0x323d('0x87')],_0x35c837),_0x29a1ed=!0x0;});}return _0x29a1ed;}['_reduceSuggestionAttributeRange'](_0x3538ce,_0x447ed6,_0x3cd72c){const _0x36627d=_0x3538ce['getFirstRange']()['getDifference'](_0x447ed6);0x0!==_0x36627d[_0x323d('0xa3')]?0x1!==_0x36627d[_0x323d('0xa3')]?this[_0x323d('0x127')](_0x3538ce,_0x447ed6[_0x323d('0xf6')],_0x447ed6['end']):this[_0x323d('0x16f')](_0x3538ce,_0x36627d[0x0]):_0x3cd72c[_0x323d('0x32')](_0x3538ce[_0x323d('0x48')]());}}class Bt{constructor(_0x49821a){this[_0x323d('0xf9')]=_0x49821a,this[_0x323d('0x7a')]=_0x49821a[_0x323d('0xec')],this[_0x323d('0x160')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x323d('0xe8')]();}[_0x323d('0x46')](_0x4915bf,_0x1a79f0,_0x3b2b10,_0x1f133b,_0x36bc25,_0x37c212){return new _0x2ef1b9(this['_model'],{'type':_0x4915bf,'subType':_0x1a79f0,'id':_0x3b2b10,'author':_0x1f133b,'creator':_0x1f133b,'attributes':_0x36bc25,'onAttributesChange':_0x37c212,'onAccept':(..._0x2d3ffb)=>this[_0x323d('0x171')](_0x4915bf,_0x1a79f0,_0x323d('0x33'))(..._0x2d3ffb),'onDiscard':(..._0x19ab2c)=>this[_0x323d('0x171')](_0x4915bf,_0x1a79f0,_0x323d('0x95'))(..._0x19ab2c)});}[_0x323d('0xfa')](_0x34d393,_0x275e84,_0x10e029,_0x488990){const _0x3a40f8=_0x34d393+':'+_0x275e84+':'+_0x10e029;this['_customCallbacks'][_0x323d('0x12b')](_0x3a40f8,_0x488990);}['getSuggestionCallback'](_0x2038f7,_0x24454e,_0xc53e5c){const _0x5c18f6=_0x2038f7+':'+_0x24454e+':'+_0xc53e5c;return this['_customCallbacks']['get'](_0x5c18f6)||this[_0x323d('0x114')][_0x323d('0x4c')](_0x2038f7+':'+_0xc53e5c);}[_0x323d('0xe8')](){const _0x5b7ea4=()=>!0x1,_0x1fbb2b=_0x4c41cb=>{_0x4c41cb[_0x323d('0x15d')]((_0xd121e,_0x41bb54)=>_0xd121e[_0x323d('0xf6')][_0x323d('0x11b')](_0x41bb54[_0x323d('0xf6')])?0x1:-0x1),this[_0x323d('0x7a')]['change'](_0xa59f63=>{for(const _0x17b572 of _0x4c41cb){let _0x4f88b2;_0x4f88b2=_0x17b572[_0x323d('0x10a')]['isAtEnd']&&_0x17b572['end'][_0x323d('0x157')]==_0x17b572[_0x323d('0xf6')]['nodeAfter']?_0xa59f63['createSelection'](_0x17b572[_0x323d('0xf6')][_0x323d('0xe7')],'on'):_0xa59f63[_0x323d('0x2f')](_0x17b572),this['_model'][_0x323d('0xb9')](_0x4f88b2,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x759c91=(_0x4ee6c7,_0x5701eb)=>{_0x5701eb&&this[_0x323d('0x7a')][_0x323d('0xc3')](_0x26b4bf=>{const {commandName:_0x74ca31,commandParams:_0x1225fe=[]}=_0x5701eb,_0x339600=_0x4ee6c7[_0x323d('0x71')](_0xc1b7f1=>(Rt(_0xc1b7f1)&&(_0xc1b7f1=this[_0x323d('0x7a')][_0x323d('0x3e')](_0xc1b7f1[_0x323d('0x10a')])),_0xc1b7f1))[_0x323d('0x31')](_0x56ed36=>_0x323d('0x85')!==_0x56ed36[_0x323d('0x67')][_0x323d('0xf')]);if(_0x339600[_0x323d('0xa3')]<0x1)return;const _0x4eb937=Array[_0x323d('0x0')](this[_0x323d('0x7a')][_0x323d('0x74')]['selection'][_0x323d('0x156')]())['map'](_0xe89445=>_0x3a2519[_0x323d('0x20')](_0xe89445));_0x26b4bf[_0x323d('0x115')](_0x339600);for(const _0x1a1d32 of this['_editor'][_0x323d('0x28')][_0x323d('0x28')]())_0x1a1d32[_0x323d('0x86')]();_0x1225fe[_0x323d('0x2c')]({'forceDefaultExecution':!0x0}),this[_0x323d('0xf9')][_0x323d('0x10')](_0x74ca31,..._0x1225fe);const _0x32f5d2=_0x4eb937['filter'](_0x46bffb=>_0x323d('0x85')!=_0x46bffb['root']['rootName']);_0x32f5d2[_0x323d('0xa3')]>0x0&&_0x26b4bf[_0x323d('0x115')](_0x32f5d2);for(const _0x45e5e7 of _0x4eb937)_0x45e5e7[_0x323d('0x122')]();});},_0x391f6b=(_0x4145e2,_0x5e0bc3)=>0x1==_0x4145e2['length']&&0x1==_0x5e0bc3[_0x323d('0xa3')]&&_0x4145e2[0x0][_0x323d('0x10a')][_0x323d('0x80')](_0x5e0bc3[0x0][_0x323d('0xf6')]),_0x108b4b=(_0x3366bb,_0x1485ad,_0x267e34,_0x642f8a)=>Gt(_0x3366bb,_0x1485ad,_0x267e34,_0x642f8a,this[_0x323d('0x7a')])?[_0x3366bb,_0x1485ad]:Gt(_0x1485ad,_0x3366bb,_0x642f8a,_0x267e34,this[_0x323d('0x7a')])?[_0x1485ad,_0x3366bb]:null;this['_defaultCallbacks'][_0x323d('0x12b')](_0x323d('0x136'),_0x5b7ea4),this[_0x323d('0x114')]['set'](_0x323d('0xa8'),_0x1fbb2b),this[_0x323d('0x114')]['set']('insertion:join',_0x391f6b),this['_defaultCallbacks']['set'](_0x323d('0x8b'),_0x108b4b),this['_defaultCallbacks']['set'](_0x323d('0x16d'),_0x1fbb2b),this['_defaultCallbacks'][_0x323d('0x12b')](_0x323d('0x99'),_0x5b7ea4),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0xb0'),_0x391f6b),this['_defaultCallbacks'][_0x323d('0x12b')](_0x323d('0x123'),_0x108b4b),this[_0x323d('0x114')][_0x323d('0x12b')]('formatInline:accept',_0x759c91),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0x101'),_0x5b7ea4),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0x3c'),_0x391f6b),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0x139'),_0x5b7ea4),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0x102'),_0x759c91),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0x98'),_0x5b7ea4),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0x13c'),_0x391f6b),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0x150'),_0x5b7ea4),this[_0x323d('0x114')]['set']('attribute:accept',_0x5b7ea4),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0x89'),(_0x53c9b0,_0x56d998)=>{if(!_0x56d998)return;const _0x997e0d=this[_0x323d('0xf9')][_0x323d('0x167')][_0x323d('0x4c')](p);this[_0x323d('0x7a')][_0x323d('0xc3')](_0x411118=>{if(_0x323d('0x129')==_0x56d998[_0x323d('0x16e')])for(const _0x315a7f of _0x53c9b0){const _0x3e1d25=_0x315a7f['start']['nodeAfter'],_0x4b54f3=_0x56d998[_0x323d('0x6e')];_0x411118[_0x323d('0x120')](_0x3e1d25,_0x4b54f3);}else{if(_0x997e0d[_0x323d('0x16a')](_0x56d998[_0x323d('0x16e')]))for(const _0x471635 of _0x53c9b0)void 0x0!==_0x56d998[_0x323d('0x6e')]?_0x411118[_0x323d('0x78')](_0x56d998[_0x323d('0x16e')],_0x56d998[_0x323d('0x6e')],_0x471635['start']['nodeAfter']):_0x411118[_0x323d('0x58')](_0x56d998[_0x323d('0x16e')],_0x471635[_0x323d('0xf6')][_0x323d('0xe7')]);else for(const _0x22fa11 of _0x53c9b0)_0x56d998['oldValue']?_0x411118[_0x323d('0x78')](_0x56d998['key'],_0x56d998[_0x323d('0x6e')],_0x22fa11):_0x411118[_0x323d('0x58')](_0x56d998['key'],_0x22fa11);}});}),this[_0x323d('0x114')][_0x323d('0x12b')](_0x323d('0xdf'),_0x391f6b);}}function xt(_0x3fdcc1,_0x5ec8fc,_0x1a46d8){for(const _0x47c0ed of _0x5ec8fc[_0x323d('0x157')][_0x323d('0x17')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x47c0ed[_0x323d('0x67')]==_0x47c0ed)return!0x1;if(!_0x1a46d8['containsItem'](_0x47c0ed))return!0x1;if(_0x3fdcc1[_0x323d('0x9d')](_0x47c0ed)||_0x3fdcc1[_0x323d('0x54')](_0x47c0ed))return!0x0;}return!0x1;}function Rt(_0x372b12){return _0x372b12[_0x323d('0x10a')][_0x323d('0x157')]==_0x372b12[_0x323d('0xf6')]['nodeAfter']&&_0x372b12[_0x323d('0x10a')][_0x323d('0xc8')];}function Tt(_0x561b52,_0x13fd31,_0x2e9fad,_0x5230ea){const _0x259ad5=_0x569d5f=>!_0x569d5f[_0x323d('0xad')]['is']('$textProxy')&&!_0x5230ea[_0x323d('0x9d')](_0x569d5f[_0x323d('0xad')]),_0x1393a9=_0x561b52[_0x323d('0xf6')][_0x323d('0xf4')](_0x259ad5),_0x49e937=_0x561b52[_0x323d('0x10a')][_0x323d('0xf4')](_0x259ad5,{'direction':_0x323d('0x135')});return(!_0x561b52['start'][_0x323d('0x80')](_0x1393a9)||!_0x561b52[_0x323d('0x10a')][_0x323d('0x80')](_0x49e937))&&(_0x1393a9[_0x323d('0x11b')](_0x49e937)?_0x2e9fad['updateMarker'](_0x13fd31,{'range':_0x2e9fad[_0x323d('0x3e')](_0x1393a9,_0x49e937)}):_0x2e9fad[_0x323d('0x32')](_0x13fd31),!0x0);}function Et(_0x4cbb99){return _0x7777e0(_0x4cbb99);}function Vt(_0xb3dc72){const _0x5d26ba=_0xb3dc72[_0x323d('0xf6')][_0x323d('0xe7')];return _0x5d26ba&&_0x5d26ba['is']('element');}function Ut(_0x1d35b7,_0x140ed8){return null==_0x1d35b7[_0x323d('0x10a')][_0x323d('0x4a')]&&_0x1d35b7[_0x323d('0x10a')][_0x323d('0x157')]==_0x1d35b7[_0x323d('0xf6')][_0x323d('0xe7')]?Ot(_0x1d35b7[_0x323d('0xf6')][_0x323d('0xe7')],_0x140ed8):_0x1d35b7;}function Ot(_0x456ac2,_0x509815){const _0x119c83=_0x509815['schema'][_0x323d('0x9d')](_0x456ac2)||_0x509815[_0x323d('0x13e')]['isSelectable'](_0x456ac2);return _0x509815[_0x323d('0x3e')](_0x509815[_0x323d('0x25')](_0x456ac2,_0x323d('0x13b')),_0x119c83?_0x509815['createPositionAfter'](_0x456ac2):_0x509815['createPositionAt'](_0x456ac2,_0x323d('0x10a')));}function Gt(_0x190062,_0xe14862,_0x19b75,_0x66036e,_0x218b16){if(!Ft(_0x190062,_0xe14862))return!0x1;if(_0x19b75[_0x323d('0x10a')]['isEqual'](_0x66036e[_0x323d('0xf6')]))return!0x0;if(_0x190062[_0x323d('0xd')]!=_0xe14862[_0x323d('0xd')])return!0x1;if(!_0x19b75[_0x323d('0x10a')][_0x323d('0x10b')](_0x66036e[_0x323d('0xf6')]))return!0x1;const _0x331552=_0x218b16[_0x323d('0x3e')](_0x19b75[_0x323d('0x10a')],_0x66036e[_0x323d('0xf6')])[_0x323d('0x100')]();for(const _0x55efb1 of _0x331552)if([_0x323d('0x17a'),_0x323d('0xe0')][_0x323d('0xb5')](_0x55efb1[_0x323d('0xd')])&&_0x218b16[_0x323d('0x13e')]['isLimit'](_0x55efb1[_0x323d('0xad')]))return!0x1;return!0x0;}function Ft(_0x26c96a,_0x6ac0ed,_0x46065b=[]){return!(!_0x26c96a[_0x323d('0x4f')]||!_0x6ac0ed['_isDataLoaded'])&&_0x1070e2(_0x2edb98(_0x26c96a['attributes'],_0x46065b),_0x2edb98(_0x6ac0ed[_0x323d('0x34')],_0x46065b));}function Pt(_0x3973c2,_0x36abf4){const _0x53d930=Lt(_0x3973c2[_0x323d('0x34')]),_0x8aaf1e=Lt(_0x36abf4);if(!_0x3973c2[_0x323d('0x4f')])return!0x1;for(const _0x4c01aa of Object[_0x323d('0xef')](_0x8aaf1e))if(!_0x1070e2(_0x53d930[_0x4c01aa],_0x8aaf1e[_0x4c01aa]))return!0x1;return!0x0;}function Lt(_0x107b9b){const _0x448dfb=Object[_0x323d('0x124')]({},_0x107b9b);return delete _0x448dfb[_0x323d('0x7c')],delete _0x448dfb[_0x323d('0xb3')],_0x448dfb;}
|
|
23
|
+
const _0x49d3=['substr','track-changes-suggestion-data-mismatch','marker-count','_isDataLoaded','get','consume','_getMarkerAnnouncementText','containsRange','addComment','_updateSuggestionData','editing','removeMarkers','plugins','acceptSelectedSuggestions','trackChanges.mergeNestedSuggestions','data-suggestion','set','formatInline:','isIntersecting','documentSelection','isOwn','oldValue','getItems','_splitMarkerName','batch','filter','insertion:join','_suggestionFactory','announce','toJSON','config','_addThreadToSuggestion','deletion:join','@external','containsPosition','commands','parent','removeComment','attributeKey','lowest','clone','document','from','_suggestions','suggestion:','length','_commentsRepository','getAllAdjacentSuggestions','_adapter','isNextTo','for','markerReady','attributeOldValue','addClass','model','_getAttributeKey','markMultiRangeInsertion','backward','createRangeIn','comments','markInlineFormat','getCommentThread','addMarker:suggestion:formatBlock','_isForcedDefaultExecutionBlock','after','createElement','newRange','markInsertion','subType','accept','PendingActions','change:data','multi','_afterChanges','_SUGGESTION_ANNOUNCEMENT','isUndo','createRangeOn','init','low','then','change:_saved','isBlock','discardSuggestion','_getExternalAuthor','addSuggestionData','addMarker:suggestion:attribute','markers','end','addMarker','highest','pop','setSelection','dataReady','_mergeNestedSuggestions','change:activeMarkers','listenTo','getRange','isLimit','ck-suggestion-marker','default','attributeNewValue','PENDING_ACTION_SUGGESTION','skipNestingCheck','includes','unbindElementFromMarkerName','range','formatGroupId','attribute:join','attribute','addHighlight','_refreshSuggestionsChain','_onDiscard','rootName','setTo','format','trackChangesCommand','insert','element','oldRange','_setSuggestionData','multipleBlocks','forEach','attribute:','type','addRange','getSuggestion','isRemovable','move','markMultiRangeDeletion','delete','trackChanges','_handleNewSuggestionMarker','_isBlockAttribute','fire','forceDefaultExecution','define','return','reconvertMarker','push','editingDowncast','head','suggestionLoaded','catch','isBefore','unshift','getChangedMarkers','deleteContent','splice','isTouching','showSuggestionHighlights','previous','ready','_removeSuggestion','writer','containsRangeInObject','elementStart','_rangeIsInLocalUserInsertion','schema','adapter','registerPostFixer','$text','formatInline:accept','getMultiRangeId','insertion:accept','external:','dataToMarker','addMarkerName','attribute:discard','createRange','tablePasteChainId','change','data','options','discardAllSuggestions','Users','elementEnd','keys','_suggestionState','formatInline:chain','createPositionAfter','_initAriaMarkerChangeAnnouncements','mapper','refresh','_findSuggestions','howMany','map','enqueueChange','getAttribute','suggestionUnloaded','substring','elementToElement','meta','_element','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.','commentThread','ck-suggestion-marker-formatBlock','addCommentThread','nodeAfter','_checkSuggestionCorrectness','markDeletion','_saved','getRanges','always','high','_recordAttributeSuggestions','unbind','add','removed','before','forward','toViewElement','isLocal','isAfter','deletion:','isInContent','discardSelectedSuggestions','_model','buildSuggestion','getUser','never','activeMarkers','getDifference','$elementName','getCustomProperty','attribute:accept','formatBlock:','_recordAttributeChanges','getFirstMarker','selection','_setSuggestionRange','editor','commandName','removeMarker','sort','getWalker','join','containsItem','group','isArray','consumable','suggestion','_addSuggestionMarker','acceptSuggestion','_registerBlockAttribute','_inlineAttributeKeys','LEAVE','_joinSuggestions','formatInline:join','ariaLiveAnnouncer','hasComments','removeClass','formatBlock','every','attributes','updateMarker','originalSuggestionId','_descriptionFactory','stopListening','createPositionAt','getIntersection','addSuggestion','getLastMatchingPosition','creator','_editor','author','isObject','values','$graveyard','updateSuggestion','root','isMultiRange','pluginName','_blockAttributeKeys','assign','createdAt','_refreshAttributeSuggestionsChain','removeMarker:suggestion:formatBlock','_joinWithAdjacentSuggestions','key','size','getSuggestions','notReady','differ','enableCommand','_enableDefaultAttributesIntegration','nodeBefore','upcast','_registerInlineAttribute','_getSuggestionData','isAtEnd','track-changes-command-not-found','registerCustomCallback','execute','getContainedElement','getSuggestionCallback','addMarker:suggestion','trackChanges.trackFormatChanges','requires','rejected','isInsideObject','suggestionChanged','_reduceExistingSuggestions','formatInline','normal','insertion','deletion:chain','find','markAttributeChange','enableReadOnlyMode','start','item','getAncestors','discard','locale','_breakSuggestionMarker','isDocumentOperation','track-changes-adapter-already-set','has','value','rename','_cutOutSuggestionMarker','ck-suggestion-marker-formatInline','formatBlock:discard','setAttribute','newValue','getChanges','isSelectable','stop','_enabledCommands','position','isIntersectingWithRange','_reduceSuggestionAttributeRange','_trackFormatChanges','toUpperCase','insertContent','resolve','isEqual','FORMATTING','formatBlock:accept','detach','removeMarker:suggestion:attribute','ck-suggestion-marker--active','_createSuggestion','$textProxy','markBlockFormat','acceptAllSuggestions','markerName','widget','_processAttributeSuggestions','insertion:','_customCallbacks','split','conversion','concat','chain','rethrowUnexpectedError','groupId','isCollapsed','markerNameToElements','CommentsRepository','name','getFirstRange','_defaultCallbacks','next','deletion','collaboration.channelId','remove','insertion:discard','fromCharCode','removeAttribute','createSelection','dataDowncast','startsWith','markerToHighlight','some','isAtStart'];(function(_0x4f67ec,_0x49d31b){const _0x40420d=function(_0x4bf30d){while(--_0x4bf30d){_0x4f67ec['push'](_0x4f67ec['shift']());}};_0x40420d(++_0x49d31b);}(_0x49d3,0x1b1));const _0x4042=function(_0x4f67ec,_0x49d31b){_0x4f67ec=_0x4f67ec-0x0;let _0x40420d=_0x49d3[_0x4f67ec];return _0x40420d;};import{Plugin as _0xb1fb7b,PendingActions as _0xc4458b}from'ckeditor5/src/core.js';import{LiveRange as _0x1da7bd}from'ckeditor5/src/engine.js';import{CKEditorError as _0x32bac2,uid as _0x2ec2a0,priorities as _0x8cb314,logWarning as _0x480750}from'ckeditor5/src/utils.js';import{toWidget as _0x116c53}from'ckeditor5/src/widget.js';import{Users as _0x1c8050,hashObject as _0x25abe0,surroundingMarkersDetector as _0x137661}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x38bbf8 from'./commands/trackchangescommand.js';import _0x1e9007 from'./commands/acceptsuggestioncommand.js';import _0x304468 from'./commands/discardsuggestioncommand.js';import _0x3ed919 from'./commands/executeonallsuggestionscommand.js';import _0x3f5fdc from'./commands/executeonselectedsuggestionscommand.js';import _0x241239 from'./suggestion.js';import _0x528270 from'./suggestiondescriptionfactory.js';import _0x134719 from'./integrations/aiassistant.js';import _0x17c905 from'./integrations/alignment.js';import _0x407bd4 from'./integrations/basicstyles.js';import _0x1a6cbb from'./integrations/blockquote.js';import _0x2e6d51 from'./integrations/casechange.js';import _0x400bb0 from'./integrations/ckbox.js';import _0x32bb92 from'./integrations/codeblock.js';import _0x4aac76 from'./integrations/comments.js';import _0x15c4f7 from'./integrations/deletecommand.js';import _0x5f038f from'./integrations/list.js';import _0x409626 from'./integrations/listproperties.js';import _0xe4493d from'./integrations/entercommand.js';import _0x4faaf6 from'./integrations/findandreplace.js';import _0x14980d from'./integrations/font.js';import _0x4f1ca4 from'./integrations/formatpainter.js';import _0x173fa7 from'./integrations/heading.js';import _0x57bee5 from'./integrations/highlight.js';import _0x5118de from'./integrations/horizontalline.js';import _0x4e53a9 from'./integrations/htmlembed.js';import _0x52e0eb from'./integrations/image.js';import _0x2947b7 from'./integrations/imagereplace.js';import _0x271b4c from'./integrations/imagestyle.js';import _0x56564f from'./integrations/importword.js';import _0x287767 from'./integrations/indent.js';import _0x324e6f from'./integrations/inputcommand.js';import _0x219038 from'./integrations/link.js';import _0xd299bd from'./integrations/legacylist.js';import _0x1ce74b from'./integrations/legacylistproperties.js';import _0x3a97b3 from'./integrations/mediaembed.js';import _0x5baca1 from'./integrations/mention.js';import _0x4e1266 from'./integrations/pagebreak.js';import _0x52dd25 from'./integrations/paragraph.js';import _0x3f551e from'./integrations/removeformat.js';import _0x20c659 from'./integrations/restrictededitingmode.js';import _0x4471bd from'./integrations/shiftentercommand.js';import _0x4c72cd from'./integrations/standardeditingmode.js';import _0x215d90 from'./integrations/style.js';import _0x52d1fb from'./integrations/table.js';import _0x4496a5 from'./integrations/tablemergesplit.js';import _0x134b84 from'./integrations/tableheadings.js';import _0x451294 from'./integrations/tableclipboard.js';import _0x50ce2a from'./integrations/tablecolumnresize.js';import _0x42cd36 from'./integrations/template.js';import _0x237182 from'./integrations/tableofcontents.js';import _0x4dfad6 from'./integrations/title.js';import _0x361f9a from'./integrations/undo.js';import _0x5e3280 from'./integrations/tablecaption.js';import _0x3333ab from'./integrations/tableproperties.js';import{getTranslation as _0x3c8dcf}from'./utils/common-translations.js';import{isEqual as _0x438cfc,omit as _0x4795a3}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0xb1fb7b{static get[_0x4042('0xf0')](){return[_0x4042('0x12e'),_0x1c8050,_0xc4458b,_0x134719,_0x17c905,_0x407bd4,_0x1a6cbb,_0x400bb0,_0x2e6d51,_0x32bb92,_0x4aac76,_0x15c4f7,_0xe4493d,_0x4faaf6,_0x14980d,_0x4f1ca4,_0x173fa7,_0x57bee5,_0x5118de,_0x4e53a9,_0x52e0eb,_0x271b4c,_0x2947b7,_0x56564f,_0x287767,_0x324e6f,_0xd299bd,_0x1ce74b,_0x219038,_0x5f038f,_0x409626,_0x3a97b3,_0x5baca1,_0x4e1266,_0x52dd25,_0x3f551e,_0x20c659,_0x4471bd,_0x4c72cd,_0x215d90,_0x52d1fb,_0x4496a5,_0x134b84,_0x5e3280,_0x451294,_0x50ce2a,_0x237182,_0x3333ab,_0x42cd36,_0x4dfad6,_0x361f9a];}static get[_0x4042('0xd6')](){return'TrackChangesEditing';}constructor(_0x110315){function _0x47b4ed(_0x39e9f8){return _0x39e9f8[_0x4042('0x80')](_0x716b78=>String[_0x4042('0x137')](_0x716b78))[_0x4042('0xb2')]('');}super(_0x110315),this[_0x4042('0x93')]=!0x1,this['set'](_0x4042('0xa3'),[]),this['on'](_0x4042('0x25'),(_0x1daf7a,_0x2743da,_0x15594a,_0x3c7b26)=>{this['_model'][_0x4042('0x71')](()=>{for(const _0x5bd07b of[..._0x3c7b26,..._0x15594a])this[_0x4042('0x9f')][_0x4042('0x1d')][_0x4042('0x104')](_0x5bd07b)&&_0x110315[_0x4042('0x149')][_0x4042('0x50')](_0x5bd07b);});}),this[_0x4042('0xc7')]=new _0x528270(this['editor']['model'][_0x4042('0x64')],this[_0x4042('0xad')]['locale']),this[_0x4042('0x16f')]=null,this['_suggestionFactory']=new Bt(this[_0x4042('0xad')]),this[_0x4042('0x16a')]=new Map(),this[_0x4042('0x16d')]=_0x110315[_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x12e')),this[_0x4042('0x10f')]=new Set(),this[_0x4042('0x9f')]=this[_0x4042('0xad')][_0x4042('0x175')],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this['_blockAttributeKeys']=new Set([_0x4042('0xa5')]),this[_0x4042('0xbb')]=new Set(),_0x110315[_0x4042('0x15d')][_0x4042('0x4e')](_0x4042('0xef'),_0x4042('0x2a')),this[_0x4042('0x113')]=_0x110315[_0x4042('0x15d')][_0x4042('0x143')](_0x4042('0xef')),_0x110315[_0x4042('0x15d')][_0x4042('0x4e')](_0x4042('0x14d'),!0x0),this[_0x4042('0x24')]=_0x110315['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x38bbf8(_0x110315,this[_0x4042('0x10f')]),this[_0x4042('0x7b')](),this[_0x47b4ed([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x47b4ed([0x34,0x30,0x34,0x38,0x30,0x34,0x30,0x34]);}[_0x4042('0x14')](){const _0x24c605=this['editor'],_0x3fb832=(_0x55c675,_0x382aa4)=>{if(_0x4042('0x33')!=_0x55c675)return'ck-suggestion-marker-'+_0x55c675;const _0x14da07=_0x382aa4[_0x4042('0x126')]('|')[0x0];return this[_0x4042('0x4b')](_0x14da07)?_0x4042('0x8a'):_0x4042('0x108');};_0x24c605[_0x4042('0x127')][_0x4042('0x171')](_0x4042('0x52'))[_0x4042('0x13c')]({'model':_0x4042('0xb7'),'view':_0x21cd78=>{const {id:_0x5023ff,type:_0x4d7f5c,subType:_0x944dd7}=this['_splitMarkerName'](_0x21cd78[_0x4042('0x121')]),_0x3b06c6=['ck-suggestion-marker',_0x3fb832(_0x4d7f5c,_0x944dd7)];let _0x46bda5=0xbb8;return this[_0x4042('0xa3')][_0x4042('0x2e')](_0x21cd78[_0x4042('0x121')])&&(_0x3b06c6[_0x4042('0x51')](_0x4042('0x11c')),_0x46bda5=0xbc2),'deletion'==_0x4d7f5c&&(_0x46bda5+=0x5),{'classes':_0x3b06c6,'attributes':{'data-suggestion':_0x5023ff},'priority':_0x46bda5};}}),_0x24c605[_0x4042('0x127')][_0x4042('0x171')](_0x4042('0x13a'))['add'](_0x4d41ad=>{_0x4d41ad['on'](_0x4042('0xee'),(_0x1ffeda,_0x3153f2,_0x322816)=>{if(!_0x322816[_0x4042('0x73')][_0x4042('0x5c')])return;const _0x2611b7=_0x3153f2[_0x4042('0xfd')];if(!_0x2611b7)return;const _0xb1803d=_0x322816[_0x4042('0x7c')][_0x4042('0x99')](_0x2611b7);_0x24c605[_0x4042('0x175')][_0x4042('0x64')][_0x4042('0xd0')](_0x2611b7)&&_0xb1803d&&!_0xb1803d[_0x4042('0xa6')](_0x4042('0x122'))&&_0xb1803d['is']('containerElement')&&_0x116c53(_0xb1803d,_0x322816[_0x4042('0x60')]);},{'priority':_0x4042('0x92')});}),_0x24c605['conversion'][_0x4042('0x171')]('dataDowncast')[_0x4042('0x13c')]({'model':_0x4042('0xb7'),'view':(_0x24a368,_0x57cf32)=>{if(!_0x57cf32[_0x4042('0x73')][_0x4042('0x5c')])return null;const {type:_0x364067,subType:_0x58eece}=this[_0x4042('0x156')](_0x24a368[_0x4042('0x121')]);return{'classes':['ck-suggestion-marker',_0x3fb832(_0x364067,_0x58eece)],'priority':0xbb8};}});const _0x52607d=({showActiveMarkers:_0x1e8ead=!0x0,isAttributeSuggestion:_0x35acee=!0x1}={})=>(_0x2f8fd2,_0x317cb4,_0x2cdb14)=>{if(!_0x317cb4[_0x4042('0xfd')])return;const {id:_0x552eec}=this[_0x4042('0x156')](_0x317cb4['markerName']);if(_0x35acee){const _0x35bac6=this[_0x4042('0x16a')]['get'](_0x552eec),_0x57ebbb=this[_0x4042('0x176')](_0x35bac6);if(!this[_0x4042('0x4b')](_0x57ebbb))return;}if(_0x317cb4[_0x4042('0xfd')]['is'](_0x4042('0xab')))return void _0x2cdb14[_0x4042('0xb6')][_0x4042('0x144')](_0x317cb4[_0x4042('0xfd')],_0x2f8fd2['name']);const _0x26ad0a=_0x2cdb14[_0x4042('0x7c')][_0x4042('0x99')](_0x317cb4[_0x4042('0xfd')]);if(_0x317cb4['item']['is'](_0x4042('0x3c'))&&_0x24c605[_0x4042('0x175')]['schema'][_0x4042('0x18')](_0x317cb4['item'])&&!_0x26ad0a['getCustomProperty'](_0x4042('0x34'))){_0x2cdb14[_0x4042('0x60')][_0x4042('0x174')]([_0x4042('0x29'),_0x4042('0x8a')],_0x26ad0a),_0x2cdb14['writer'][_0x4042('0x10a')](_0x4042('0x14e'),_0x552eec,_0x26ad0a),_0x2cdb14[_0x4042('0x7c')]['bindElementToMarker'](_0x26ad0a,_0x317cb4[_0x4042('0x121')]),_0x1e8ead&&(this[_0x4042('0xa3')][_0x4042('0x2e')](_0x317cb4['markerName'])?_0x2cdb14[_0x4042('0x60')]['addClass']('ck-suggestion-marker--active',_0x26ad0a):_0x2cdb14[_0x4042('0x60')][_0x4042('0xc1')](_0x4042('0x11c'),_0x26ad0a));for(const _0x2e602e of _0x24c605[_0x4042('0x175')][_0x4042('0x1')](_0x317cb4[_0x4042('0xfd')])[_0x4042('0x155')]())_0x2cdb14[_0x4042('0xb6')]['consume'](_0x2e602e,_0x2f8fd2[_0x4042('0x12f')]);_0x2cdb14['consumable']['consume'](_0x317cb4[_0x4042('0xfd')],_0x2f8fd2['name']);}};_0x24c605[_0x4042('0x127')][_0x4042('0x171')](_0x4042('0x13a'))[_0x4042('0x95')](_0x4f7c5f=>{_0x4f7c5f['on'](_0x4042('0x5'),(_0x36d4a8,_0x41215b,_0x2bb709)=>{_0x2bb709[_0x4042('0x73')][_0x4042('0x5c')]&&_0x52607d({'showActiveMarkers':!0x1})(_0x36d4a8,_0x41215b,_0x2bb709);},{'priority':'highest'});}),_0x24c605[_0x4042('0x127')]['for'](_0x4042('0x13a'))[_0x4042('0x95')](_0x5eec31=>{_0x5eec31['on'](_0x4042('0x1c'),(_0x100fe1,_0x2705b5,_0x3f648d)=>{_0x3f648d[_0x4042('0x73')]['showSuggestionHighlights']&&_0x52607d({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x100fe1,_0x2705b5,_0x3f648d);},{'priority':_0x4042('0x20')});}),_0x24c605[_0x4042('0x127')][_0x4042('0x171')]('dataDowncast')['markerToData']({'model':_0x4042('0xb7'),'view':(_0x1188f6,_0x1e8384)=>_0x1e8384[_0x4042('0x73')]['showSuggestionHighlights']?null:{'group':_0x4042('0xb7'),'name':_0x1188f6[_0x4042('0x13f')](0xb)}}),_0x24c605['conversion'][_0x4042('0x171')](_0x4042('0xe5'))[_0x4042('0x85')]({'view':{'name':_0x4042('0xb7'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x5dd305,{writer:_0x4a3dc1})=>{let _0x3a0335=_0x4042('0x16b')+_0x5dd305[_0x4042('0x82')]('suggestion-type')+':'+_0x5dd305[_0x4042('0x82')]('id');return _0x5dd305[_0x4042('0x82')](_0x4042('0x141'))&&(_0x3a0335+=':'+_0x5dd305['getAttribute'](_0x4042('0x141'))),_0x4a3dc1[_0x4042('0x8')]('$marker',{'data-name':_0x3a0335});}}),_0x24c605[_0x4042('0x127')]['for'](_0x4042('0xe5'))[_0x4042('0x6c')]({'view':_0x4042('0xb7')}),_0x24c605[_0x4042('0x127')][_0x4042('0x171')](_0x4042('0x52'))[_0x4042('0x95')](_0x3ad848=>{_0x3ad848['on'](_0x4042('0x5'),_0x52607d(),{'priority':_0x4042('0x92')});}),_0x24c605[_0x4042('0x127')]['for'](_0x4042('0x52'))['add'](_0x47b4da=>{_0x47b4da['on'](_0x4042('0x1c'),_0x52607d({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x24c605[_0x4042('0x127')][_0x4042('0x171')]('editingDowncast')['add'](_0x1bcdc2=>{_0x1bcdc2['on'](_0x4042('0xdb'),(_0x5caf0a,_0x4d492a,_0x372337)=>{const _0x14b8fa=_0x372337[_0x4042('0x7c')]['markerNameToElements'](_0x4d492a[_0x4042('0x121')]);if(_0x14b8fa)for(const _0xa125cb of _0x14b8fa)_0xa125cb['getCustomProperty'](_0x4042('0x34'))||(_0x372337[_0x4042('0x60')]['removeClass'](['ck-suggestion-marker',_0x4042('0x8a'),_0x4042('0x11c')],_0xa125cb),_0x372337['writer'][_0x4042('0x138')](_0x4042('0x14e'),_0xa125cb),_0x372337[_0x4042('0x7c')]['unbindElementFromMarkerName'](_0xa125cb,_0x4d492a[_0x4042('0x121')]));},{'priority':'high'});}),_0x24c605[_0x4042('0x127')]['for']('editingDowncast')[_0x4042('0x95')](_0x78c44d=>{_0x78c44d['on'](_0x4042('0x11b'),(_0x32008c,_0x13ff14,_0xd698b6)=>{const _0x42e0a7=_0xd698b6['mapper'][_0x4042('0x12d')](_0x13ff14['markerName']);if(!_0x42e0a7)return;const {id:_0x30b103}=this[_0x4042('0x156')](_0x13ff14['markerName']),_0x27903d=this[_0x4042('0x16a')][_0x4042('0x143')](_0x30b103),_0x2e8155=this['_getAttributeKey'](_0x27903d);if(this[_0x4042('0x4b')](_0x2e8155))for(const _0x9dea2e of _0x42e0a7)_0x9dea2e[_0x4042('0xa6')](_0x4042('0x34'))||(_0xd698b6['writer'][_0x4042('0xc1')]([_0x4042('0x29'),_0x4042('0x8a'),_0x4042('0x11c')],_0x9dea2e),_0xd698b6['writer']['removeAttribute'](_0x4042('0x14e'),_0x9dea2e),_0xd698b6[_0x4042('0x7c')][_0x4042('0x2f')](_0x9dea2e,_0x13ff14[_0x4042('0x121')]));},{'priority':_0x4042('0x92')});}),_0x24c605[_0x4042('0x175')]['document'][_0x4042('0x66')](_0x2389e6=>{let _0x52de34=!0x1;const _0x4d9053=Array['from'](_0x24c605['model']['document'][_0x4042('0xe1')][_0x4042('0x58')]()),_0x39c3ad=new Set();for(const {name:_0x553e16,data:_0x1b6893}of _0x4d9053){const {group:_0x39d1b0,type:_0x25cf32,subType:_0x3dd519,id:_0x4b8217}=this[_0x4042('0x156')](_0x553e16);if('suggestion'!==_0x39d1b0)continue;const _0x5e62d7=this[_0x4042('0x16a')][_0x4042('0x143')](_0x4b8217);if(null!=_0x1b6893['newRange']){_0x4042('0xf5')==_0x25cf32&&(_0x52de34=_0x52de34||Tt(_0x1b6893[_0x4042('0x9')],_0x553e16,_0x2389e6,_0x24c605[_0x4042('0x175')][_0x4042('0x64')]));const _0x1f0475=_0x4042('0x33')==_0x25cf32&&this[_0x4042('0x4b')](_0x3dd519[_0x4042('0x126')]('|')[0x0]);if(_0x1b6893[_0x4042('0x9')]['isCollapsed']||_0x4042('0xd2')==_0x1b6893['newRange'][_0x4042('0xd4')][_0x4042('0x37')]||_0x4042('0xc2')==_0x25cf32&&!Vt(_0x1b6893[_0x4042('0x9')])||_0x1f0475&&!Vt(_0x1b6893[_0x4042('0x9')])||_0x4042('0x133')==_0x25cf32&&!(!Rt(_0x26f3c6=_0x1b6893[_0x4042('0x9')])&&!function(_0x4d83ae){return _0x4d83ae[_0x4042('0xfc')]['parent']==_0x4d83ae['end']['nodeBefore']&&_0x4d83ae[_0x4042('0xfc')][_0x4042('0xe8')];}(_0x26f3c6)))_0x2389e6[_0x4042('0xaf')](_0x553e16),_0x52de34=!0x0;else{if(!_0x5e62d7||!_0x5e62d7[_0x4042('0x9d')])continue;_0x39c3ad[_0x4042('0x95')](_0x5e62d7);}}}var _0x26f3c6;return _0x39c3ad[_0x4042('0xde')]>0x0&&(_0x52de34=!!this[_0x4042('0xdc')](_0x39c3ad)||_0x52de34),_0x52de34;}),_0x24c605['model'][_0x4042('0x168')]['registerPostFixer'](_0x5bdf7a=>{let _0x2e2da8=!0x1;for(const _0x145886 of _0x24c605[_0x4042('0x175')][_0x4042('0x168')][_0x4042('0xe1')][_0x4042('0x10c')]())if(_0x4042('0x3b')==_0x145886[_0x4042('0x42')])for(const _0x533fc3 of this[_0x4042('0x16a')]['values']()){if(_0x533fc3[_0x4042('0xd5')]||!_0x533fc3[_0x4042('0x9d')])continue;const _0x5b7157=_0x4042('0xc2')==_0x533fc3['type'],_0x1e0341=this['_getAttributeKey'](_0x533fc3),_0x51200b=_0x1e0341&&this[_0x4042('0x4b')](_0x1e0341);if(!_0x5b7157&&!_0x51200b)continue;const _0x320b65=_0x533fc3[_0x4042('0x130')]();if(_0x320b65[_0x4042('0xfc')][_0x4042('0x163')]!=_0x320b65[_0x4042('0x1e')][_0x4042('0x163')]&&!_0x320b65[_0x4042('0x1e')][_0x4042('0xe8')]){const _0x393dbe=_0x24c605[_0x4042('0x175')][_0x4042('0xc9')](_0x320b65[_0x4042('0xfc')][_0x4042('0x8c')],_0x4042('0x1e')),_0x5458da=_0x24c605[_0x4042('0x175')][_0x4042('0x6f')](_0x320b65['start'],_0x393dbe);_0x5bdf7a[_0x4042('0xc5')](_0x533fc3['getFirstMarker'](),{'range':_0x5458da}),_0x2e2da8=!0x0;}}return _0x2e2da8;}),_0x24c605[_0x4042('0x175')]['document'][_0x4042('0x66')](_0x5dc271=>this['_processAttributeChanges'](_0x5dc271)),_0x24c605[_0x4042('0x175')]['document'][_0x4042('0x66')](_0x3860bf=>!_0x3860bf[_0x4042('0x157')][_0x4042('0x9a')]&&this[_0x4042('0x123')](_0x3860bf)),_0x24c605[_0x4042('0x175')]['on'](_0x4042('0x10'),()=>{this[_0x4042('0x93')]=!0x1;}),_0x24c605[_0x4042('0x175')][_0x4042('0x168')]['on'](_0x4042('0xe'),(_0x4e14a9,_0x2a548c)=>{if(!_0x2a548c[_0x4042('0x9a')]||_0x2a548c['isUndo'])return;if(!this[_0x4042('0x93')])return;const _0x117fb7=_0x24c605[_0x4042('0x175')]['document'][_0x4042('0xe1')]['getChanges']();if(0x0==_0x117fb7[_0x4042('0x16c')])return;const _0x34f6a6=[],_0x4ba035=_0x117fb7[_0x4042('0x158')](_0x3a10f9=>_0x4042('0x33')==_0x3a10f9[_0x4042('0x42')]),_0x54343b=_0x117fb7[_0x4042('0x158')](_0x36dbb8=>_0x4042('0x3b')==_0x36dbb8[_0x4042('0x42')]&&_0x4042('0x67')!=_0x36dbb8[_0x4042('0x12f')]),_0x18f3ca=_0x117fb7[_0x4042('0x158')](_0x1e3451=>_0x4042('0x135')==_0x1e3451[_0x4042('0x42')]&&'$text'!=_0x1e3451[_0x4042('0x12f')]);for(const _0x3ff612 of _0x4ba035)this['_isRegisteredAttribute'](_0x3ff612['attributeKey'])&&_0x34f6a6[_0x4042('0x51')]({'key':_0x3ff612[_0x4042('0x165')],'newValue':_0x3ff612[_0x4042('0x2b')],'oldValue':_0x3ff612['attributeOldValue'],'range':Ut(_0x3ff612[_0x4042('0x30')],_0x24c605[_0x4042('0x175')])});for(const _0x389600 of _0x54343b){const _0x1acdda=_0x18f3ca[_0x4042('0xf9')](_0x46fb37=>_0x46fb37['_element']===_0x389600[_0x4042('0x87')]);if(_0x1acdda){const _0x30e041=Ot(_0x389600[_0x4042('0x110')]['nodeAfter'],_0x24c605[_0x4042('0x175')]);_0x1acdda[_0x4042('0x12f')]!==_0x389600[_0x4042('0x12f')]&&_0x34f6a6[_0x4042('0x51')]({'key':_0x4042('0xa5'),'newValue':_0x389600['name'],'oldValue':_0x1acdda[_0x4042('0x12f')],'range':_0x30e041});for(const [_0x17f7d9,_0x25b5d1]of _0x1acdda['attributes']){if(!this['_isRegisteredAttribute'](_0x17f7d9))continue;const _0x298aae=_0x389600[_0x4042('0xc4')][_0x4042('0x143')](_0x17f7d9);_0x25b5d1!==_0x298aae&&_0x34f6a6['push']({'key':_0x17f7d9,'newValue':_0x298aae,'oldValue':_0x25b5d1,'range':_0x30e041});}for(const [_0x3f13b9,_0x53da32]of _0x389600[_0x4042('0xc4')])this['_isRegisteredAttribute'](_0x3f13b9)&&(_0x1acdda['attributes'][_0x4042('0x104')](_0x3f13b9)||_0x34f6a6['push']({'key':_0x3f13b9,'newValue':_0x53da32,'oldValue':null,'range':_0x30e041}));}}0x0!=_0x34f6a6[_0x4042('0x16c')]&&_0x24c605[_0x4042('0x175')][_0x4042('0x81')](_0x2a548c,_0x1c1ec9=>{const _0x2eee27=_0x2ec2a0();for(const {range:_0x21e6ad,key:_0x1884b7,oldValue:_0x275148,newValue:_0x29f7b7}of _0x34f6a6)this['markAttributeChange'](_0x21e6ad,_0x1884b7,_0x275148,_0x29f7b7,{'groupId':_0x2eee27});this[_0x4042('0xf4')](_0x1c1ec9,_0x34f6a6);});},{'priority':_0x4042('0x166')}),_0x24c605[_0x4042('0x175')]['markers']['on']('update:suggestion',(_0x2a9dad,_0x5ec309,_0x30d514)=>{if(null==_0x30d514){const {id:_0xc45c78}=this[_0x4042('0x156')](_0x5ec309['name']),_0x29027d=this[_0x4042('0x16a')][_0x4042('0x143')](_0xc45c78);_0x29027d&&_0x29027d['addMarkerName'](_0x5ec309[_0x4042('0x12f')]);}}),_0x24c605[_0x4042('0x175')]['document']['on']('change:data',()=>{const _0x397955=Array[_0x4042('0x169')](_0x24c605['model'][_0x4042('0x168')][_0x4042('0xe1')][_0x4042('0x58')]())[_0x4042('0x158')](_0x39ee85=>_0x4042('0xb7')===this[_0x4042('0x156')](_0x39ee85['name'])[_0x4042('0xb4')]);if(0x0===_0x397955[_0x4042('0x16c')])return;_0x397955[_0x4042('0xb0')]((_0x144772,_0x276a0d)=>{const _0x170712=_0x144772[_0x4042('0x72')][_0x4042('0x3d')],_0x58455c=_0x276a0d[_0x4042('0x72')][_0x4042('0x3d')];return null===_0x170712&&null===_0x58455c?0x0:null===_0x170712&&null!==_0x58455c?-0x1:null!==_0x170712&&null===_0x58455c?0x1:_0x170712['start'][_0x4042('0x56')](_0x58455c[_0x4042('0xfc')])?-0x1:0x1;});const _0x3071f1=new Set(),_0x41fecd=new Set();for(const {name:_0x406c9d,data:_0x29ed3c}of _0x397955){const {id:_0x57aad7}=this['_splitMarkerName'](_0x406c9d);if(null===_0x29ed3c[_0x4042('0x3d')]){const _0x3d210b=this['_handleNewSuggestionMarker'](_0x406c9d);_0x41fecd['add'](_0x3d210b);}else{const _0x3c5a54=this[_0x4042('0x16a')][_0x4042('0x143')](_0x57aad7);null!==_0x29ed3c['newRange']||_0x3c5a54[_0x4042('0x9d')]?(_0x3071f1[_0x4042('0x95')](_0x3c5a54[_0x4042('0x53')]),_0x41fecd[_0x4042('0x95')](_0x3c5a54)):this['_removeSuggestion'](_0x3c5a54);}}_0x41fecd['size']>0x0&&this['_refreshSuggestionsChain'](_0x41fecd);for(const _0x49bf0c of _0x3071f1)this[_0x4042('0x4c')](_0x4042('0xf3'),_0x49bf0c);}),_0x24c605[_0x4042('0x175')]['on']('applyOperation',(_0x1e29df,_0x11d5ec)=>{const _0x40ca46=_0x11d5ec[0x0];if(!this[_0x4042('0x16a')][_0x4042('0xde')])return;if(!_0x40ca46[_0x4042('0x102')])return;if(_0x40ca46['batch'][_0x4042('0x12')]||!_0x40ca46[_0x4042('0x157')][_0x4042('0x9a')])return;let _0x1ce686,_0xd83a56;switch(_0x40ca46[_0x4042('0x42')]){case _0x4042('0x3b'):_0x1ce686=_0x24c605['model'][_0x4042('0xc9')](_0x40ca46['position']),_0xd83a56=_0x1ce686['getShiftedBy'](_0x40ca46[_0x4042('0x7f')]);break;case _0x4042('0x126'):_0x1ce686=_0x24c605['model']['createPositionAt'](_0x40ca46['splitPosition']),_0xd83a56=_0x24c605['model'][_0x4042('0xc9')](_0x40ca46['moveTargetPosition']);break;case _0x4042('0x46'):_0x1ce686=_0x24c605[_0x4042('0x175')][_0x4042('0xc9')](_0x40ca46['targetPosition']),_0xd83a56=_0x1ce686['getShiftedBy'](_0x40ca46[_0x4042('0x7f')]);break;default:return;}const _0xccdc41=_0x24c605['model']['createRange'](_0x1ce686,_0xd83a56);_0x24c605[_0x4042('0x175')][_0x4042('0x71')](()=>{for(const {suggestion:_0x10e774,meta:_0x11d0c3}of this[_0x4042('0x7e')](_0xccdc41)){if(_0x10e774[_0x4042('0xd5')])continue;if(_0x4042('0xf5')==_0x10e774['type'])continue;const _0x1de9ee=this['_getAttributeKey'](_0x10e774);if(_0x1de9ee&&this[_0x4042('0x4b')](_0x1de9ee)&&'split'!=_0x40ca46[_0x4042('0x42')])continue;const _0x17fb6d=_0x10e774['data']&&_0x10e774[_0x4042('0x72')][_0x4042('0x3f')];(_0x4042('0xc2')!=_0x10e774[_0x4042('0x42')]||'split'==_0x40ca46[_0x4042('0x42')]&&!_0x17fb6d)&&(_0x11d0c3[_0x4042('0x61')]||'insertion'==_0x10e774['type']&&_0x11d0c3['isOwn']||_0x10e774[_0x4042('0x130')]()[_0x4042('0x146')](_0xccdc41)&&this['_breakSuggestionMarker'](_0x10e774,_0x1ce686,_0xd83a56));}});},{'priority':'lowest'}),_0x24c605['model']['on'](_0x4042('0x59'),(_0x42614f,_0xbde22c)=>{const _0xb23301=_0xbde22c[0x0],_0x5916a0=_0xbde22c[0x1];if(_0x5916a0&&_0x5916a0[_0x4042('0x4d')])return;if(this[_0x4042('0x6')])return;if(!this[_0x4042('0x3a')]['value'])return;if(_0xb23301[_0x4042('0x12c')])return;const _0x5f0397=_0x24c605[_0x4042('0x175')][_0x4042('0x64')],{start:_0x5074bf,end:_0x1d6c75}=_0xb23301[_0x4042('0x130')](),_0x2da729=_0x5074bf['nodeAfter']&&_0x5f0397[_0x4042('0x28')](_0x5074bf['nodeAfter'])?null:_0x5f0397['getNearestSelectionRange'](_0x5074bf,_0x4042('0x98')),_0x163280=_0x1d6c75[_0x4042('0xe4')]&&_0x5f0397[_0x4042('0x28')](_0x1d6c75[_0x4042('0xe4')])?null:_0x5f0397['getNearestSelectionRange'](_0x1d6c75,_0x4042('0x0')),_0xf96788=_0x24c605[_0x4042('0x175')][_0x4042('0x6f')](_0x2da729?_0x2da729['start']:_0x5074bf,_0x163280?_0x163280['end']:_0x1d6c75);_0x24c605[_0x4042('0x175')][_0x4042('0x71')](_0x1078f6=>{this[_0x4042('0x8e')](_0xf96788);const _0x418f76=_0x24c605[_0x4042('0x175')][_0x4042('0x64')]['getNearestSelectionRange'](_0xf96788[_0x4042('0xfc')]);_0xb23301['is'](_0x4042('0x152'))?_0x1078f6['setSelection'](_0x418f76):_0xb23301[_0x4042('0x38')](_0x418f76);}),_0x42614f[_0x4042('0x10e')]();},{'priority':_0x8cb314[_0x4042('0xf6')]+0xa}),_0x24c605[_0x4042('0x175')]['on'](_0x4042('0x115'),(_0x46a4b0,_0x4bd3e0)=>{const _0x216ac3=_0x4bd3e0[_0x4bd3e0[_0x4042('0x16c')]-0x1];_0x216ac3&&_0x216ac3['forceDefaultExecution']||this[_0x4042('0x6')]||this[_0x4042('0x3a')][_0x4042('0x105')]&&(_0x24c605[_0x4042('0x175')][_0x4042('0x71')](()=>{let _0x279c52=_0x24c605['model'][_0x4042('0x115')](_0x4bd3e0[0x0],_0x4bd3e0[0x1],_0x4bd3e0[0x2],{'forceDefaultExecution':!0x0});if(!_0x279c52)return;_0x46a4b0[_0x4042('0x4f')]=_0x279c52[_0x4042('0x167')]();const _0x3e3976=_0x279c52[_0x4042('0x1e')]['nodeBefore'],_0x17780f=_0x24c605['model'][_0x4042('0x64')];_0x3e3976&&_0x17780f[_0x4042('0x18')](_0x3e3976)&&!_0x17780f[_0x4042('0xd0')](_0x3e3976)&&(_0x279c52=_0x24c605[_0x4042('0x175')][_0x4042('0x6f')](_0x279c52[_0x4042('0xfc')],_0x24c605['model']['createPositionAt'](_0x3e3976,'end'))),this['markInsertion'](_0x279c52);}),_0x46a4b0[_0x4042('0x10e')]());},{'priority':_0x4042('0x92')}),this[_0x4042('0xad')][_0x4042('0x162')][_0x4042('0x95')](_0x4042('0x49'),this['trackChangesCommand']),this['enableCommand'](_0x4042('0x49'));const _0xa32354=new _0x1e9007(_0x24c605,this[_0x4042('0x16a')]);_0x24c605['commands'][_0x4042('0x95')](_0x4042('0xb9'),_0xa32354),this[_0x4042('0xe2')](_0x4042('0xb9'));const _0x2879d4=new _0x304468(_0x24c605,this[_0x4042('0x16a')]);_0x24c605[_0x4042('0x162')][_0x4042('0x95')](_0x4042('0x19'),_0x2879d4),this['enableCommand'](_0x4042('0x19')),_0x24c605['commands'][_0x4042('0x95')]('acceptAllSuggestions',new _0x3ed919(_0x24c605,_0xa32354,this[_0x4042('0x16a')])),this[_0x4042('0xe2')](_0x4042('0x120')),_0x24c605[_0x4042('0x162')][_0x4042('0x95')](_0x4042('0x74'),new _0x3ed919(_0x24c605,_0x2879d4,this[_0x4042('0x16a')])),this[_0x4042('0xe2')]('discardAllSuggestions'),_0x24c605[_0x4042('0x162')]['add'](_0x4042('0x14c'),new _0x3f5fdc(_0x24c605,_0xa32354,this[_0x4042('0x16a')])),this[_0x4042('0xe2')]('acceptSelectedSuggestions'),_0x24c605[_0x4042('0x162')]['add'](_0x4042('0x9e'),new _0x3f5fdc(_0x24c605,_0x2879d4,this[_0x4042('0x16a')])),this[_0x4042('0xe2')](_0x4042('0x9e'));const _0x4c86e8=_0x24c605['plugins'][_0x4042('0x143')](_0x4042('0x12e'));this[_0x4042('0x26')](_0x4c86e8,_0x4042('0x147'),(_0x3d135c,{threadId:_0x400481})=>{const _0x35a27f=this[_0x4042('0x16a')]['get'](_0x400481);_0x35a27f&&_0x35a27f['commentThread']&&0x1===_0x35a27f[_0x4042('0x89')]['length']&&this[_0x4042('0x148')](_0x400481,{'hasComments':!0x0});},{'priority':_0x4042('0x15')}),this[_0x4042('0x26')](_0x4c86e8,_0x4042('0x164'),(_0x259a3d,{threadId:_0x119b8c})=>{const _0x23116c=this[_0x4042('0x16a')][_0x4042('0x143')](_0x119b8c);_0x23116c&&_0x23116c[_0x4042('0x89')]&&!_0x23116c[_0x4042('0x89')][_0x4042('0x16c')]&&this['_updateSuggestionData'](_0x119b8c,{'hasComments':!0x1});},{'priority':_0x4042('0x15')});}set[_0x4042('0x65')](_0x4b3277){if(this[_0x4042('0x16f')])throw new _0x32bac2(_0x4042('0x103'),this);this[_0x4042('0x16f')]=_0x4b3277;}get[_0x4042('0x65')](){return this[_0x4042('0x16f')];}['getSuggestions']({skipNotAttached:_0x56b856=!0x1,toJSON:_0x37e804=!0x1}={}){const _0xd61dc8=[];for(const _0x4a0808 of this[_0x4042('0x16a')]['values']())_0x56b856&&!_0x4a0808[_0x4042('0x9d')]||_0xd61dc8[_0x4042('0x51')](_0x4a0808);return _0x37e804?_0xd61dc8[_0x4042('0x80')](_0x255dd7=>_0x255dd7[_0x4042('0x15c')]()):_0xd61dc8;}[_0x4042('0x44')](_0x387f20){const _0x497554=this[_0x4042('0x16a')]['get'](_0x387f20);if(!_0x497554)throw new _0x32bac2('track-changes-suggestion-not-found',this);return _0x497554;}['hasSuggestion'](_0xa49268){return this[_0x4042('0x16a')]['has'](_0xa49268);}[_0x4042('0x1b')](_0x157fde){const {authorId:_0x1bb56f,id:_0x10efa8,attributes:_0x3ccb9c}=_0x157fde,[_0x18c779,_0x419955]=_0x157fde[_0x4042('0x42')][_0x4042('0x126')](':'),_0x1a7931=this['_suggestions'][_0x4042('0x143')](_0x10efa8)||this[_0x4042('0x11d')](_0x18c779,_0x419955,_0x10efa8,_0x1bb56f,_0x3ccb9c);if(this[_0x4042('0x15e')](_0x1a7931),this['_checkSuggestionCorrectness'](_0x1a7931,_0x18c779,_0x419955||null,_0x1bb56f),_0x1a7931[_0x4042('0xd9')]=_0x157fde[_0x4042('0xd9')],_0x1a7931['_isDataLoaded']=!0x0,_0x3ccb9c&&_0x3ccb9c['@external']){const _0x3d859f=_0x3ccb9c[_0x4042('0x160')],_0x52a65b=this[_0x4042('0x1a')](_0x3d859f['authorName']);_0x1a7931['authoredAt']=_0x3d859f[_0x4042('0xd9')],_0x1a7931[_0x4042('0xcf')]=_0x52a65b,_0x1a7931['isExternal']=!0x0;}else _0x1a7931['authoredAt']=_0x157fde[_0x4042('0xd9')];switch(_0x157fde[_0x4042('0x72')]&&(_0x1a7931[_0x4042('0x72')]=_0x157fde[_0x4042('0x72')]),_0x157fde[_0x4042('0xc4')]&&(_0x1a7931['attributes']=_0x157fde[_0x4042('0xc4')]),this[_0x4042('0x16f')]&&this['_adapter'][_0x4042('0xcb')]||(_0x1a7931['_saved']=!0x0),this[_0x4042('0x78')][_0x4042('0x143')](_0x1a7931)){case'notReady':this['_suggestionState'][_0x4042('0x14f')](_0x1a7931,_0x4042('0x23'));break;case'markerReady':_0x1a7931[_0x4042('0x9d')]?(this['_joinWithAdjacentSuggestions'](new Set([_0x1a7931])),this[_0x4042('0x35')](new Set([_0x1a7931])),this[_0x4042('0x78')][_0x4042('0x14f')](_0x1a7931,_0x4042('0x5e')),this[_0x4042('0x4c')](_0x4042('0x54'),_0x1a7931)):this[_0x4042('0x78')][_0x4042('0x14f')](_0x1a7931,_0x4042('0x96'));}return _0x1a7931;}[_0x4042('0xb9')](_0x58cdec){this[_0x4042('0x4d')](()=>{this[_0x4042('0xad')][_0x4042('0x175')][_0x4042('0x71')](()=>{for(const _0xd6b2b4 of _0x58cdec[_0x4042('0x16e')]())_0xd6b2b4['accept']();});});}['discardSuggestion'](_0x3d2802){this[_0x4042('0x4d')](()=>{this[_0x4042('0xad')][_0x4042('0x175')][_0x4042('0x71')](()=>{for(const _0x3065d2 of _0x3d2802['getAllAdjacentSuggestions']())_0x3065d2[_0x4042('0xff')]();});});}['enableCommand'](_0xf85cff,_0x521ee9){const _0x55f705=this[_0x4042('0xad')][_0x4042('0x162')][_0x4042('0x143')](_0xf85cff);if(!_0x55f705)throw new _0x32bac2(_0x4042('0xe9'),this,{'commandName':_0xf85cff});if(this['_enabledCommands']['has'](_0x55f705))throw new _0x32bac2('track-changes-enable-command-twice',this,{'commandName':_0xf85cff});this[_0x4042('0x10f')][_0x4042('0x95')](_0x55f705),_0x521ee9&&_0x55f705['on'](_0x4042('0xeb'),(_0x1758ec,_0x361b5c)=>{this['trackChangesCommand']['value']&&(this[_0x4042('0x6')]||(_0x361b5c[_0x4042('0x16c')]>0x0&&_0x361b5c[_0x361b5c['length']-0x1]&&_0x361b5c[_0x361b5c[_0x4042('0x16c')]-0x1][_0x4042('0x4d')]?_0x361b5c[_0x4042('0x21')]():(_0x1758ec[_0x4042('0x4f')]=_0x521ee9((..._0x11b01b)=>_0x55f705['execute'](..._0x11b01b,{'forceDefaultExecution':!0x0}),..._0x361b5c),_0x1758ec['stop']())));},{'priority':_0x4042('0x92')});}[_0x4042('0x4d')](_0x2b182c){let _0x45ce67,_0x5339f2;const _0x55b7e0=this[_0x4042('0x6')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x45ce67=_0x2b182c();}catch(_0x39ea81){_0x5339f2=_0x39ea81;}return _0x55b7e0||(this[_0x4042('0x6')]=!0x1),_0x5339f2&&_0x32bac2[_0x4042('0x12a')](_0x5339f2,this),_0x45ce67;}[_0x4042('0xa')](_0x38a7a7,_0x11be8a=null,_0x1137d0={}){if(_0x38a7a7[_0x4042('0x12c')])return null;const _0x453d6a=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'];for(const {suggestion:_0x5e4aa6,meta:_0x5d7b15}of this['_findSuggestions'](_0x38a7a7,'insertion'))if(_0x5d7b15[_0x4042('0x153')]){if(!_0x5d7b15[_0x4042('0x170')]){if(_0x5d7b15[_0x4042('0x61')]){if(!this[_0x4042('0x24')]||!Pt(_0x5e4aa6,_0x1137d0))continue;return _0x5e4aa6;}if(Pt(_0x5e4aa6,_0x1137d0))return _0x5e4aa6;this['_breakSuggestionMarker'](_0x5e4aa6,_0x38a7a7[_0x4042('0xfc')],_0x38a7a7[_0x4042('0x1e')]);break;}if(_0x11be8a==_0x5e4aa6[_0x4042('0xb')]&&Pt(_0x5e4aa6,_0x1137d0)){const _0x24ea76=_0x5e4aa6['getFirstRange']();return _0x24ea76[_0x4042('0xfc')][_0x4042('0x117')](_0x38a7a7[_0x4042('0x1e')])?this[_0x4042('0xac')](_0x5e4aa6,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x38a7a7[_0x4042('0xfc')],_0x24ea76[_0x4042('0x1e')])):this['_setSuggestionRange'](_0x5e4aa6,this[_0x4042('0x9f')]['createRange'](_0x24ea76[_0x4042('0xfc')],_0x38a7a7['end'])),_0x5e4aa6;}}const _0x32ac63=_0x2ec2a0(),_0x1d4e6c=_0x453d6a['id'],_0x235f06=_0x11be8a?_0x4042('0x124')+_0x11be8a:'insertion',_0xd670bc=this[_0x4042('0x3e')]({'id':_0x32ac63,'type':_0x235f06,'createdAt':new Date(),'authorId':_0x1d4e6c,'attributes':_0x1137d0});return this['_addSuggestionMarker'](_0x235f06,_0x32ac63,_0x1d4e6c,_0x38a7a7),_0xd670bc;}[_0x4042('0x177')](_0x3da0c3,_0x27acb8=_0x4042('0xf'),_0x12d77b={}){const _0x24d615=this['editor'][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'],_0x1d6616=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0xf7'),_0x27acb8,_0x4042('0xb2'));for(const _0x3ffffb of this[_0x4042('0xdf')]())if(_0x3ffffb[_0x4042('0xcf')]['id']==_0x24d615['id']&&_0x4042('0xf7')==_0x3ffffb[_0x4042('0x42')]&&_0x3ffffb[_0x4042('0xb')]==_0x27acb8&&Pt(_0x3ffffb,_0x12d77b)&&(_0x1d6616(_0x3ffffb[_0x4042('0x90')](),_0x3da0c3)||_0x1d6616(_0x3da0c3,_0x3ffffb[_0x4042('0x90')]()))){for(const _0x50f34c of _0x3da0c3)_0x3ffffb[_0x4042('0x43')](_0x50f34c);return _0x3ffffb;}for(const {suggestion:_0x3007f9,meta:_0x40841a}of this[_0x4042('0x7e')](_0x3da0c3,_0x4042('0xf7'))){if(!_0x40841a[_0x4042('0x153')])continue;if(!this['_mergeNestedSuggestions']&&_0x40841a['containsRangeInObject'])continue;if(!Pt(_0x3007f9,_0x12d77b))continue;let _0x2de293=!0x0;for(const _0x5c42dc of _0x3007f9[_0x4042('0x90')]())for(const _0x49b4d6 of _0x3da0c3)if(!_0x5c42dc[_0x4042('0x146')](_0x49b4d6)){_0x2de293=!0x1;break;}if(_0x2de293)return _0x3007f9;}const _0x146410=_0x2ec2a0(),_0x126e49=_0x24d615['id'],_0x4bafba='insertion:'+_0x27acb8,_0x44561c=this['_setSuggestionData']({'id':_0x146410,'type':_0x4bafba,'createdAt':new Date(),'authorId':_0x126e49,'attributes':_0x12d77b});for(const _0x1a6d6c of _0x3da0c3)this[_0x4042('0xb8')](_0x4bafba,_0x146410,_0x126e49,_0x1a6d6c,_0x241239[_0x4042('0x69')]());return _0x44561c;}[_0x4042('0x3')](_0x17a324,_0x22dfaa,_0x509942=null,_0x15c063={}){if(_0x509942=_0x509942||Et(_0x22dfaa),_0x17a324[_0x4042('0x12c')])return null;if(_0x4042('0xa2')===this[_0x4042('0x113')]){const _0x435be6=this[_0x4042('0x15a')]['getSuggestionCallback'](_0x4042('0xf5'),_0x509942,_0x4042('0xc'));return this['forceDefaultExecution'](()=>_0x435be6([_0x17a324],_0x22dfaa,_0x15c063)),null;}const _0x1f1c7b=this[_0x4042('0xad')][_0x4042('0x14b')]['get'](_0x4042('0x75'))['me'],_0x266c0a=[];if('always'!==this[_0x4042('0x113')])for(const {suggestion:_0x3c624a,meta:_0x18f4af}of this['_findSuggestions'](_0x17a324,_0x4042('0xf7')))_0x18f4af[_0x4042('0x153')]&&!_0x18f4af[_0x4042('0xf2')]&&_0x266c0a['push'](..._0x3c624a[_0x4042('0x90')]());const _0xca8bd4=function(_0x195f42,_0x454a42){const _0x256666=[];for(const _0x56b059 of _0x454a42){const _0x4ca904=_0x195f42['getIntersection'](_0x56b059);_0x4ca904&&_0x256666['push'](_0x4ca904);}return _0x256666;}(_0x17a324,_0x266c0a),_0x4292f3=function(_0x6ce4bd,_0x238c10){const _0x10f3ec=[_0x6ce4bd];for(const _0x2134ce of _0x238c10){let _0x233a5c=0x0;for(;_0x233a5c<_0x10f3ec[_0x4042('0x16c')];){const _0x41e583=_0x10f3ec[_0x233a5c][_0x4042('0xa4')](_0x2134ce);_0x10f3ec[_0x4042('0x5a')](_0x233a5c,0x1,..._0x41e583),_0x233a5c+=_0x41e583[_0x4042('0x16c')];}}return _0x10f3ec;}(_0x17a324,_0x266c0a);_0xca8bd4[_0x4042('0x16c')]&&this['_model']['change'](()=>{for(const _0x2670ce of _0xca8bd4){const _0x24b2d2=this['_suggestionFactory'][_0x4042('0xed')](_0x4042('0xf5'),_0x509942,_0x4042('0xc'));this[_0x4042('0x4d')](()=>_0x24b2d2([_0x2670ce],_0x22dfaa,_0x15c063));}});for(const _0x7bef7d of _0x4292f3){let _0x562292=null,_0x270d58=_0x7bef7d['start'],_0x6beb0=_0x7bef7d['end'];for(const {suggestion:_0x310232,meta:_0x2b679a}of this[_0x4042('0x7e')](_0x7bef7d,_0x4042('0xf5'))){if(!_0x2b679a['isOwn'])continue;if(_0x310232[_0x4042('0xb')]!=_0x509942)continue;if(!Pt(_0x310232,_0x15c063))continue;const _0x1aeb6f=_0x310232[_0x4042('0x130')]();if(_0x1aeb6f[_0x4042('0x146')](_0x7bef7d,!0x0))return null;_0x270d58=_0x270d58[_0x4042('0x56')](_0x1aeb6f[_0x4042('0xfc')])?_0x270d58:_0x1aeb6f['start'],_0x6beb0=_0x6beb0[_0x4042('0x9b')](_0x1aeb6f[_0x4042('0x1e')])?_0x6beb0:_0x1aeb6f['end'],_0x562292?_0x1aeb6f[_0x4042('0xfc')][_0x4042('0x56')](_0x562292[_0x4042('0x130')]()[_0x4042('0xfc')])?(_0x562292['removeMarkers'](),_0x562292=_0x310232):_0x310232[_0x4042('0x14a')]():_0x562292=_0x310232;}const _0x5da68c=this[_0x4042('0x9f')][_0x4042('0x6f')](_0x270d58,_0x6beb0);if(_0x562292)this['_setSuggestionRange'](_0x562292,_0x5da68c);else{const _0x3553d7=_0x2ec2a0(),_0x4309ba=_0x1f1c7b['id'];this['_setSuggestionData']({'id':_0x3553d7,'type':_0x4042('0x150')+_0x509942,'data':_0x22dfaa,'createdAt':new Date(),'authorId':_0x4309ba,'attributes':_0x15c063}),this['_addSuggestionMarker'](_0x4042('0x150')+_0x509942,_0x3553d7,_0x4309ba,_0x5da68c);}}return null;}[_0x4042('0x11f')](_0xf942cf,_0x406193,_0xb8cd78=[],_0x2e825c=null,_0x38b6fc={}){_0x406193[_0x4042('0x31')]||(_0x406193[_0x4042('0x31')]=_0x406193[_0x4042('0xae')]),_0x406193['multipleBlocks']=_0xf942cf['is'](_0x4042('0x30')),_0x2e825c=_0x2e825c||Et(_0x406193);const _0x9f2c1e=_0xb8cd78[_0x4042('0x80')](_0x48dc16=>Ot(_0x48dc16,this[_0x4042('0x9f')])),_0x14ba0b=_0xf942cf['is']('range')?_0xf942cf:Ot(_0xf942cf,this[_0x4042('0x9f')]);if(_0x4042('0xa2')===this[_0x4042('0x113')]){const _0x370ebc=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0xc2'),_0x2e825c,_0x4042('0xc'));return this['forceDefaultExecution'](()=>_0x370ebc([_0x14ba0b],_0x406193,_0x38b6fc)),null;}_0x9f2c1e[_0x4042('0x51')](_0x14ba0b);let _0x3da2dd=!0x0;for(const _0x24bfcf of _0x9f2c1e)if(!this['_rangeIsInLocalUserInsertion'](_0x24bfcf)){_0x3da2dd=!0x1;break;}if(_0x3da2dd&&_0x4042('0x91')!==this[_0x4042('0x113')]){const _0x50ec55=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0xc2'),_0x2e825c,_0x4042('0xc'));return this['forceDefaultExecution'](()=>_0x50ec55([_0x14ba0b],_0x406193,_0x38b6fc)),null;}let _0x2d1aa6=null,_0x5dc431=_0x14ba0b[_0x4042('0xfc')],_0x12b6f9=_0x14ba0b[_0x4042('0x1e')];for(const {suggestion:_0x27d7a0,meta:_0x11a7f7}of this[_0x4042('0x7e')](_0x14ba0b,_0x4042('0xc2'))){if(!_0x11a7f7[_0x4042('0x153')])continue;if(_0x11a7f7[_0x4042('0x170')]||_0x11a7f7[_0x4042('0x61')]||_0x11a7f7[_0x4042('0xf2')])continue;if(_0x27d7a0['data']['formatGroupId']!=_0x406193['formatGroupId'])continue;if(!Pt(_0x27d7a0,_0x38b6fc))continue;const _0x2371d7=_0x27d7a0[_0x4042('0x130')]();if(_0x27d7a0[_0x4042('0xb')]==_0x2e825c){if(_0x2371d7['containsRange'](_0x14ba0b,!0x0))return null;_0x5dc431=_0x5dc431[_0x4042('0x56')](_0x2371d7['start'])?_0x5dc431:_0x2371d7[_0x4042('0xfc')],_0x12b6f9=_0x12b6f9[_0x4042('0x9b')](_0x2371d7[_0x4042('0x1e')])?_0x12b6f9:_0x2371d7['end'],_0x2d1aa6?_0x2371d7[_0x4042('0xfc')]['isBefore'](_0x2d1aa6['getFirstRange']()[_0x4042('0xfc')])?(_0x2d1aa6['removeMarkers'](),_0x2d1aa6=_0x27d7a0):_0x27d7a0[_0x4042('0x14a')]():_0x2d1aa6=_0x27d7a0;}else{const _0x56d503=_0x14ba0b[_0x4042('0xca')](_0x2371d7);this[_0x4042('0x107')](_0x27d7a0,_0x56d503);}}const _0x1d415b=this[_0x4042('0xad')]['plugins'][_0x4042('0x143')](_0x4042('0x75'))['me'],_0xc58487=_0x2ec2a0(),_0x3cfe3c=_0x1d415b['id'];if(_0x2d1aa6)return this[_0x4042('0xac')](_0x2d1aa6,this['_model']['createRange'](_0x5dc431,_0x12b6f9)),_0x2d1aa6;{const _0x1af633=this[_0x4042('0x3e')]({'id':_0xc58487,'type':_0x4042('0xa8')+_0x2e825c,'data':_0x406193,'createdAt':new Date(),'authorId':_0x3cfe3c,'attributes':_0x38b6fc});return this[_0x4042('0xb8')](_0x4042('0xa8')+_0x2e825c,_0xc58487,_0x3cfe3c,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x5dc431,_0x12b6f9)),_0x1af633;}}['markMultiRangeBlockFormat'](_0x37cd03,_0x2711d6,_0x1f6f8e=[],_0x5c7b77=null,_0x361120={}){_0x2711d6['formatGroupId']||(_0x2711d6[_0x4042('0x31')]=_0x2711d6[_0x4042('0xae')]);const _0x799fd4=_0x37cd03[0x0];_0x2711d6[_0x4042('0x3f')]=_0x799fd4['is'](_0x4042('0x30')),_0x5c7b77=_0x5c7b77||Et(_0x2711d6);const _0x381bcc=_0x1f6f8e[_0x4042('0x80')](_0x9a34c5=>Ot(_0x9a34c5,this[_0x4042('0x9f')])),_0x26e359=_0x799fd4['is'](_0x4042('0x30'))?_0x37cd03:_0x37cd03[_0x4042('0x80')](_0x73010b=>Ot(_0x73010b,this['_model']));if('never'===this['_trackFormatChanges']){const _0x503f1f=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0xc2'),_0x5c7b77,_0x4042('0xc'));return this[_0x4042('0x4d')](()=>_0x503f1f(_0x26e359,_0x2711d6,_0x361120)),null;}_0x381bcc['push'](..._0x26e359);let _0x2da3f9=!0x0;for(const _0x2ce4f8 of _0x381bcc)if(!this[_0x4042('0x63')](_0x2ce4f8)){_0x2da3f9=!0x1;break;}if(_0x2da3f9&&'always'!==this[_0x4042('0x113')]){const _0x4a4e73=this[_0x4042('0x15a')][_0x4042('0xed')]('formatBlock',_0x5c7b77,'accept');return this[_0x4042('0x4d')](()=>_0x4a4e73(_0x26e359,_0x2711d6,_0x361120)),null;}const _0x2e96b0=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'];for(const _0x463b51 of this['getSuggestions']()){if(_0x463b51[_0x4042('0xcf')]['id']!=_0x2e96b0['id'])continue;if(_0x4042('0xc2')!=_0x463b51['type']||_0x463b51[_0x4042('0x72')][_0x4042('0x31')]!=_0x2711d6[_0x4042('0x31')])continue;if(!Pt(_0x463b51,_0x361120))continue;const _0x2fe126=_0x463b51[_0x4042('0xb')]==_0x5c7b77;for(let _0x4914b3=0x0;_0x4914b3<_0x26e359[_0x4042('0x16c')];_0x4914b3++){const _0x132323=_0x26e359[_0x4914b3];for(const _0x1c06e5 of _0x463b51['getMarkers']()){const _0x3dd334=_0x1c06e5[_0x4042('0x27')]();if(_0x132323['isEqual'](_0x3dd334)){_0x2fe126?(_0x26e359[_0x4042('0x5a')](_0x4914b3,0x1),_0x4914b3--):_0x463b51[_0x4042('0xaf')](_0x1c06e5[_0x4042('0x12f')]);break;}}}}if(0x0==_0x26e359['length'])return null;const _0x9638f7=this['_suggestionFactory'][_0x4042('0xed')](_0x4042('0xc2'),_0x5c7b77,'join');for(const _0x1c401f of this[_0x4042('0xdf')]())if(_0x1c401f[_0x4042('0xcf')]['id']==_0x2e96b0['id']&&_0x4042('0xc2')==_0x1c401f[_0x4042('0x42')]&&_0x1c401f[_0x4042('0x72')][_0x4042('0x31')]==_0x2711d6[_0x4042('0x31')]&&_0x1c401f[_0x4042('0xb')]==_0x5c7b77&&Pt(_0x1c401f,_0x361120)&&(_0x9638f7(_0x1c401f[_0x4042('0x90')](),_0x26e359)||_0x9638f7(_0x26e359,_0x1c401f[_0x4042('0x90')]()))){for(const _0x321d13 of _0x26e359)_0x1c401f[_0x4042('0x43')](_0x321d13);return _0x1c401f;}const _0x166d8c=_0x2ec2a0(),_0x1030d5=_0x2e96b0['id'],_0x4136ad=_0x4042('0xa8')+_0x5c7b77,_0x4997af=this[_0x4042('0x3e')]({'id':_0x166d8c,'type':_0x4136ad,'data':_0x2711d6,'createdAt':new Date(),'authorId':_0x1030d5,'attributes':_0x361120});for(const _0x46fb51 of _0x26e359)this['_addSuggestionMarker'](_0x4136ad,_0x166d8c,_0x1030d5,_0x46fb51,_0x241239['getMultiRangeId']());return _0x4997af;}[_0x4042('0x8e')](_0xb13252,_0x345d93=null,_0x493d92={}){if(_0xb13252['isCollapsed'])return null;const _0x554116=this[_0x4042('0xad')][_0x4042('0x14b')]['get'](_0x4042('0x75'))['me'],_0x8661da=new _0x1da7bd(_0xb13252[_0x4042('0xfc')],_0xb13252[_0x4042('0x1e')]);for(const {suggestion:_0x4873d1,meta:_0x215667}of this[_0x4042('0x7e')](_0x8661da,_0x4042('0xf7')))if(_0x215667[_0x4042('0x153')]&&!_0x215667[_0x4042('0x170')]){if(_0x4873d1[_0x4042('0xd5')]){const _0x2f3390=_0x4873d1['getRanges']()[_0x4042('0x158')](_0x56c1bb=>_0x4042('0xd2')!=_0x56c1bb['root'][_0x4042('0x37')]);_0x2f3390['every'](_0x1d3e74=>_0x8661da[_0x4042('0x146')](_0x1d3e74,!0x0))&&_0x4873d1['discard']();if(_0x2f3390['some'](_0xfa1f86=>_0xfa1f86[_0x4042('0x146')](_0x8661da,!0x0))){const _0x114047=this[_0x4042('0x15a')]['getSuggestionCallback'](_0x4042('0x133'),_0x345d93,_0x4042('0xc'));return this[_0x4042('0x4d')](()=>_0x114047([_0x8661da],null,_0x493d92)),null;}}else{const _0x2d0091=_0x8661da[_0x4042('0xca')](_0x4873d1[_0x4042('0x130')]());null!==_0x2d0091&&_0x4873d1[_0x4042('0x36')]([_0x2d0091],null,_0x493d92);}}if(_0x8661da[_0x4042('0x11a')](),_0x8661da[_0x4042('0x12c')]||'$graveyard'==_0x8661da['root'][_0x4042('0x37')])return null;let _0x10cfc5=null,_0x3685fd=_0x8661da[_0x4042('0xfc')],_0x949771=_0x8661da[_0x4042('0x1e')];const _0xef65c2=this[_0x4042('0x7e')](_0x8661da,'deletion');for(const {suggestion:_0x12d892,meta:_0x1ddfa5}of _0xef65c2){const _0x17b362=this[_0x4042('0x9f')][_0x4042('0x6f')](_0x3685fd,_0x949771);if(_0x1ddfa5[_0x4042('0x153')]&&(this[_0x4042('0x24')]||!_0x1ddfa5[_0x4042('0x61')]&&!_0x1ddfa5['isInsideObject'])){if(_0x12d892[_0x4042('0xd5')]){if(!Pt(_0x12d892,_0x493d92))continue;let _0x230faa=!0x0;for(const _0x552914 of _0x12d892[_0x4042('0x90')]()){if(_0x552914[_0x4042('0x146')](_0x17b362,!0x0))return _0x12d892;_0x17b362[_0x4042('0x146')](_0x552914)||(_0x230faa=!0x1);}_0x230faa&&_0x12d892['discard']();}else{const _0x24de0c=_0x12d892[_0x4042('0x130')]();if(_0x24de0c['containsRange'](_0x17b362,!0x0))return _0x12d892;if(!Pt(_0x12d892,_0x493d92)){_0x17b362[_0x4042('0x146')](_0x24de0c)?_0x12d892['removeMarkers']():_0x24de0c[_0x4042('0x161')](_0x3685fd)?_0x3685fd=_0x24de0c[_0x4042('0x1e')]:_0x24de0c[_0x4042('0x161')](_0x949771)&&(_0x949771=_0x24de0c[_0x4042('0xfc')]);continue;}_0x3685fd=_0x3685fd[_0x4042('0x56')](_0x24de0c['start'])?_0x3685fd:_0x24de0c[_0x4042('0xfc')],_0x949771=_0x949771[_0x4042('0x9b')](_0x24de0c[_0x4042('0x1e')])?_0x949771:_0x24de0c[_0x4042('0x1e')],_0x493d92=Object[_0x4042('0xd8')]({},_0x12d892[_0x4042('0xc4')]),_0x10cfc5?_0x24de0c[_0x4042('0xfc')][_0x4042('0x56')](_0x10cfc5[_0x4042('0x130')]()['start'])?(_0x10cfc5[_0x4042('0x14a')](),_0x10cfc5=_0x12d892):_0x12d892[_0x4042('0x14a')]():_0x10cfc5=_0x12d892;}}}if(_0x10cfc5)return this['_setSuggestionRange'](_0x10cfc5,this[_0x4042('0x9f')]['createRange'](_0x3685fd,_0x949771)),_0x10cfc5;{const _0x39f31e=_0x2ec2a0(),_0x5d564f=this[_0x4042('0x9f')]['createRange'](_0x3685fd,_0x949771),_0x130f97=_0x554116['id'],_0x40c0d5=_0x345d93?_0x4042('0x9c')+_0x345d93:_0x4042('0x133'),_0x25f07e=this['_setSuggestionData']({'id':_0x39f31e,'type':_0x40c0d5,'createdAt':new Date(),'authorId':_0x130f97,'attributes':_0x493d92});return this[_0x4042('0xb8')](_0x40c0d5,_0x39f31e,_0x130f97,_0x5d564f),_0x25f07e;}}[_0x4042('0x47')](_0x631353,_0x3ebf82=_0x4042('0xf'),_0xf4e3da={}){const _0x522a35=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'],_0x560a24=_0x631353[_0x4042('0x80')](_0x5e0870=>new _0x1da7bd(_0x5e0870[_0x4042('0xfc')],_0x5e0870[_0x4042('0x1e')])),_0x4d53bb=new Set();for(const {suggestion:_0x441cc6,meta:_0x583516}of this[_0x4042('0x7e')](_0x560a24,'insertion'))_0x583516[_0x4042('0x153')]&&!_0x583516[_0x4042('0x170')]&&_0x4d53bb['add'](_0x441cc6);for(const _0x353ef4 of _0x4d53bb)if(_0x353ef4[_0x4042('0xd5')]){const _0x2ef868=_0x353ef4['getRanges']();(!_0x353ef4[_0x4042('0xc4')]||!_0x353ef4['attributes'][_0x4042('0x2d')])&&(_0x2ef868[_0x4042('0xc3')](_0x12d9d8=>_0x560a24[_0x4042('0x13d')](_0x1d7699=>_0x1d7699['containsRange'](_0x12d9d8,!0x0)))&&_0x353ef4[_0x4042('0xff')]());if(_0x560a24[_0x4042('0xc3')](_0x2c1bd2=>_0x2ef868[_0x4042('0x13d')](_0x26cb07=>_0x26cb07['containsRange'](_0x2c1bd2,!0x0)))){const _0x451b89=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0x133'),_0x3ebf82,'accept');return this['forceDefaultExecution'](()=>_0x451b89(_0x631353,null,_0xf4e3da)),null;}}else{const _0x73406d=_0x353ef4[_0x4042('0x130')]();_0x560a24[_0x4042('0x13d')](_0x1511d4=>_0x1511d4['containsRange'](_0x73406d,!0x0))&&_0x353ef4[_0x4042('0xff')]();if(_0x560a24[_0x4042('0xc3')](_0x2ddf90=>_0x73406d['containsRange'](_0x2ddf90,!0x0))){const _0x148668=this['_suggestionFactory']['getSuggestionCallback'](_0x4042('0x133'),_0x3ebf82,_0x4042('0xc'));return this[_0x4042('0x4d')](()=>_0x148668(_0x560a24,null,_0xf4e3da)),null;}}const _0x4698d2=this[_0x4042('0x15a')][_0x4042('0xed')]('deletion',_0x3ebf82,_0x4042('0xb2'));let _0x195cfe=null;for(const _0x1b21d9 of this[_0x4042('0xdf')]())if(_0x1b21d9[_0x4042('0xcf')]['id']==_0x522a35['id']&&_0x1b21d9[_0x4042('0x9d')]&&_0x4042('0x133')==_0x1b21d9[_0x4042('0x42')]&&_0x1b21d9[_0x4042('0xb')]==_0x3ebf82&&Pt(_0x1b21d9,_0xf4e3da)&&(_0x4698d2(_0x1b21d9['getRanges'](),_0x560a24)||_0x4698d2(_0x560a24,_0x1b21d9[_0x4042('0x90')]()))){if(_0x195cfe){if(_0x1b21d9[_0x4042('0x89')]&&_0x1b21d9['commentThread'][_0x4042('0x16c')])continue;for(const _0x4638b4 of _0x1b21d9[_0x4042('0x90')]())_0x195cfe[_0x4042('0x111')](_0x4638b4)||_0x195cfe[_0x4042('0x43')](_0x4638b4);_0x1b21d9['removeMarkers']();}else{_0x195cfe=_0x1b21d9;for(const _0x2102f9 of _0x560a24)_0x1b21d9[_0x4042('0x111')](_0x2102f9)||_0x1b21d9[_0x4042('0x43')](_0x2102f9);}}if(_0x195cfe)return _0x195cfe;_0x4d53bb['clear']();for(const {suggestion:_0x1f87ae,meta:_0x84a9cc}of this['_findSuggestions'](_0x560a24,_0x4042('0x133')))_0x84a9cc[_0x4042('0x153')]&&(this[_0x4042('0x24')]||!_0x84a9cc[_0x4042('0x61')]&&!_0x84a9cc[_0x4042('0xf2')])&&Pt(_0x1f87ae,_0xf4e3da)&&_0x4d53bb['add'](_0x1f87ae);for(const _0x96ce18 of _0x4d53bb){const _0x15a2d6=_0x96ce18[_0x4042('0x90')]();if(!_0xf4e3da||!_0xf4e3da[_0x4042('0x2d')]){if(_0x560a24[_0x4042('0xc3')](_0x4d198c=>_0x15a2d6[_0x4042('0x13d')](_0x24bd0a=>_0x24bd0a[_0x4042('0x146')](_0x4d198c,!0x0))))return _0x96ce18;}(!_0x96ce18[_0x4042('0xc4')]||!_0x96ce18[_0x4042('0xc4')]['skipNestingCheck'])&&(_0x15a2d6[_0x4042('0xc3')](_0xfd4375=>_0x560a24['some'](_0x2396d3=>_0x2396d3[_0x4042('0x146')](_0xfd4375,!0x0)))&&_0x96ce18[_0x4042('0xff')]());}const _0x51b9b1=_0x2ec2a0(),_0x4b70f4=_0x522a35['id'],_0x195b02='deletion:'+_0x3ebf82,_0x150865=this[_0x4042('0x3e')]({'id':_0x51b9b1,'type':_0x195b02,'createdAt':new Date(),'authorId':_0x4b70f4,'attributes':_0xf4e3da});for(const _0x8045ea of _0x560a24)_0x8045ea[_0x4042('0x11a')](),_0x8045ea['isCollapsed']||_0x4042('0xd2')==_0x8045ea['root'][_0x4042('0x37')]||this[_0x4042('0xb8')](_0x195b02,_0x51b9b1,_0x4b70f4,_0x8045ea,_0x241239['getMultiRangeId']());return _0x150865;}[_0x4042('0xfa')](_0x1c8ac8,_0x1a4e69,_0x46e2b8,_0x57c9dc,_0x24cff7){if(_0x1c8ac8[_0x4042('0x12c')])return[];if(_0x4042('0xa2')===this[_0x4042('0x113')])return[];const _0x1c1f0b=this['editor'][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me']['id'],_0x3d7b20=Array[_0x4042('0x169')](this[_0x4042('0x16a')][_0x4042('0xd1')]())['filter'](_0x2bed83=>'attribute'==_0x2bed83[_0x4042('0x42')]&&_0x2bed83[_0x4042('0x72')]['key']==_0x1a4e69&&_0x2bed83[_0x4042('0x111')](_0x1c8ac8));if('default'===this[_0x4042('0x113')]){const _0x3303f5=this[_0x4042('0x7e')](_0x1c8ac8,_0x4042('0xf7'))[_0x4042('0x158')](({meta:_0x3d50fb})=>_0x3d50fb[_0x4042('0x153')]&&!_0x3d50fb['isInsideObject']&&!_0x3d50fb['isNextTo'])[_0x4042('0x80')](({suggestion:_0x50ce1c})=>_0x50ce1c);_0x3d7b20[_0x4042('0x57')](..._0x3303f5);}const _0x53dc91=new Map([[_0x1c8ac8,_0x46e2b8]]);for(const _0x47adcb of _0x3d7b20){const _0x5a3856=_0x4042('0x33')==_0x47adcb[_0x4042('0x42')]?_0x47adcb['data'][_0x4042('0x154')]:void 0x0,_0x1acb6f=_0x47adcb[_0x4042('0x130')](),_0x341512=Array['from'](_0x53dc91[_0x4042('0x77')]())[_0x4042('0xf9')](_0x424f99=>_0x424f99[_0x4042('0x151')](_0x1acb6f));if(!_0x341512)continue;const _0x1fdc28=_0x341512['getDifference'](_0x1acb6f);this[_0x4042('0x4b')](_0x1a4e69)&&_0x4042('0xf7')==_0x47adcb['type']&&0x0!=_0x1fdc28['length']||(_0x53dc91[_0x4042('0x48')](_0x341512),_0x1fdc28[_0x4042('0x40')](_0x300b41=>{_0x53dc91[_0x4042('0x14f')](_0x300b41,_0x46e2b8);}),_0x4042('0xf7')!=_0x47adcb['type']&&_0x5a3856!=_0x57c9dc&&_0x53dc91['set'](_0x341512[_0x4042('0xca')](_0x1acb6f),_0x5a3856));}const _0x420355=[];for(const [_0x2c9df1,_0x312e92]of _0x53dc91){const _0x59fe8b=_0x2ec2a0(),_0x43d854={'key':_0x1a4e69,'oldValue':_0x312e92,'newValue':_0x57c9dc};_0x1a4e69[_0x4042('0x16c')]>0x25&&console['warn'](_0x4042('0x88'),{'key':_0x1a4e69});const _0x555d8e=(_0x4042('0x41')+(_0x1a4e69+'|'+Et({'newValue':_0x57c9dc})))[_0x4042('0x84')](0x0,0x3c),_0x7fe82e=this[_0x4042('0x3e')]({'id':_0x59fe8b,'type':_0x555d8e,'data':_0x43d854,'createdAt':new Date(),'authorId':_0x1c1f0b,'attributes':_0x24cff7});_0x420355[_0x4042('0x51')](_0x7fe82e),this[_0x4042('0xb8')](_0x555d8e,_0x59fe8b,_0x1c1f0b,_0x2c9df1);}return _0x420355;}['_registerBlockAttribute'](_0x3b0e46){this[_0x4042('0xd7')][_0x4042('0x95')](_0x3b0e46);}['_registerInlineAttribute'](_0x1bbe6a){this[_0x4042('0xbb')][_0x4042('0x95')](_0x1bbe6a);}[_0x4042('0xe3')](_0x5f2364,_0x4fa4d5=[],_0x4a5523=[]){this[_0x4042('0xe2')](_0x5f2364,(_0xea0101,..._0x324b09)=>{this[_0x4042('0xa9')](()=>{_0xea0101(..._0x324b09);});});for(const _0x1e483a of _0x4fa4d5)this[_0x4042('0xe6')](_0x1e483a);for(const _0x4c6ce0 of _0x4a5523)this[_0x4042('0xba')](_0x4c6ce0);}[_0x4042('0x176')](_0xafa26a){return _0x4042('0x33')==_0xafa26a[_0x4042('0x42')]?_0xafa26a[_0x4042('0xb')][_0x4042('0x126')]('|')[0x0]:null;}[_0x4042('0xac')](_0x3b6a63,_0x48c0c5){const _0x55ba95=_0x3b6a63[_0x4042('0xaa')]();this[_0x4042('0x9f')][_0x4042('0x71')](_0x3b7f03=>{_0x3b7f03['updateMarker'](_0x55ba95,{'range':_0x48c0c5});});}[_0x4042('0x15e')](_0x155833){const _0x3f95cb=_0x155833['id'],_0x1b7f8c=this[_0x4042('0xad')][_0x4042('0x15d')][_0x4042('0x143')]('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x3f95cb)||this[_0x4042('0x16d')][_0x4042('0x8b')]({'channelId':_0x1b7f8c,'threadId':_0x3f95cb,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1b66ab=this[_0x4042('0x16d')][_0x4042('0x4')](_0x3f95cb);_0x1b66ab[_0x4042('0x94')]('isRemovable'),_0x1b66ab[_0x4042('0x45')]=!0x1,_0x155833[_0x4042('0x89')]=_0x1b66ab;}[_0x4042('0x8d')](_0xefe342,_0x4dcf06,_0x32706f,_0xc8af4a){if(_0xefe342[_0x4042('0x42')]!=_0x4dcf06||_0xefe342['subType']!=_0x32706f||_0xefe342['creator']['id']!=_0xc8af4a)throw this['editor'][_0x4042('0xfb')](_0x4042('0x140')),new _0x32bac2('track-changes-suggestion-data-mismatch',this);}[_0x4042('0x107')](_0x4f38d9,_0x1dca0b){const _0x1531a6=_0x4f38d9[_0x4042('0x130')]();if(_0x1dca0b[_0x4042('0x117')](_0x1531a6))_0x4f38d9[_0x4042('0x14a')]();else{if(_0x1531a6[_0x4042('0x146')](_0x1dca0b)){const _0x3cc124=this[_0x4042('0x9f')][_0x4042('0xc9')](_0x1dca0b['start'][_0x4042('0xe4')],_0x4042('0x1e'));this['_setSuggestionRange'](_0x4f38d9,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x1531a6[_0x4042('0xfc')],_0x3cc124));const _0x2f2c19=_0x2ec2a0(),_0x54017b=_0x4f38d9[_0x4042('0xcd')]['id'],_0x3a3c6f=_0x4f38d9[_0x4042('0x42')]+':'+_0x4f38d9[_0x4042('0xb')];this[_0x4042('0x3e')]({'id':_0x2f2c19,'type':_0x3a3c6f,'createdAt':new Date(),'authorId':_0x54017b,'data':_0x4f38d9[_0x4042('0x72')],'attributes':_0x4f38d9[_0x4042('0xc4')]});const _0x4946b4=this[_0x4042('0x9f')][_0x4042('0xc9')](_0x1dca0b[_0x4042('0x1e')][_0x4042('0x163')],_0x4042('0x7')),_0xd94bb2=this[_0x4042('0x9f')][_0x4042('0x6f')](_0x4946b4,_0x1531a6[_0x4042('0x1e')]);this['_addSuggestionMarker'](_0x3a3c6f,_0x2f2c19,_0x54017b,_0xd94bb2);}else{if(_0x1531a6['containsPosition'](_0x1dca0b[_0x4042('0xfc')])){const _0x528bce=this['_model'][_0x4042('0xc9')](_0x1dca0b[_0x4042('0xfc')][_0x4042('0xe4')],'end');this[_0x4042('0xac')](_0x4f38d9,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x1531a6[_0x4042('0xfc')],_0x528bce));}else{const _0x4b9a55=this[_0x4042('0x9f')][_0x4042('0xc9')](_0x1dca0b[_0x4042('0x1e')][_0x4042('0x163')],_0x4042('0x7'));this[_0x4042('0xac')](_0x4f38d9,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x4b9a55,_0x1531a6[_0x4042('0x1e')]));}}}}[_0x4042('0x63')](_0x9efd5f){for(const {suggestion:_0x353660,meta:_0x13584e}of this[_0x4042('0x7e')](_0x9efd5f,'insertion')){if(!_0x13584e[_0x4042('0x153')])continue;const _0x1ef1cf=_0x353660['getRanges']();for(const _0x5a4d11 of _0x1ef1cf)if(!_0x9efd5f[_0x4042('0xa4')](_0x5a4d11)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x4e2bd5){const _0x9f9b71=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))[_0x4042('0xa1')](_0x4e2bd5);if(!_0x9f9b71)throw new _0x32bac2('track-changes-user-not-found',this);return _0x9f9b71;}[_0x4042('0x1a')](_0x308705){const _0x31010a=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75')),_0x427877=_0x25abe0(_0x4042('0x6b')+_0x308705),_0x8b2afe=_0x31010a[_0x4042('0xa1')](_0x427877);return _0x8b2afe||_0x31010a['addUser']({'id':_0x427877,'name':_0x308705});}['_createSuggestion'](_0x478214,_0x40bac0,_0x1b1a89,_0x2e5e92,_0x3f30ef){const _0x45073f=this['_getAuthorFromId'](_0x2e5e92),_0x6062a2=this[_0x4042('0x15a')][_0x4042('0xa0')](_0x478214,_0x40bac0,_0x1b1a89,_0x45073f,_0x3f30ef,_0x5bd2ab=>{this[_0x4042('0x148')](_0x1b1a89,{'attributes':_0x5bd2ab});const _0x8c65ef=this['getSuggestion'](_0x1b1a89);this['_joinWithAdjacentSuggestions'](new Set([_0x8c65ef])),this[_0x4042('0x35')](new Set([_0x8c65ef]));});return this[_0x4042('0x26')](_0x6062a2,_0x4042('0xc'),()=>{this[_0x4042('0x148')](_0x1b1a89,{'state':'accepted'});},{'priority':_0x4042('0x92')}),this[_0x4042('0x26')](_0x6062a2,'discard',()=>{this[_0x4042('0x148')](_0x1b1a89,{'state':_0x4042('0xf1')});},{'priority':_0x4042('0x92')}),this['_suggestions'][_0x4042('0x14f')](_0x1b1a89,_0x6062a2),this[_0x4042('0x78')][_0x4042('0x14f')](_0x6062a2,'notReady'),_0x6062a2;}[_0x4042('0x156')](_0x1ed295){const _0x1cf8c2=_0x1ed295[_0x4042('0x126')](':');return{'group':_0x1cf8c2[0x0],'type':_0x1cf8c2[0x1],'subType':_0x1cf8c2[_0x4042('0x16c')]>=0x5?_0x1cf8c2[0x2]:null,'id':_0x1cf8c2['length']<0x5?_0x1cf8c2[0x2]:_0x1cf8c2[0x3],'authorId':_0x1cf8c2[_0x4042('0x16c')]<0x5?_0x1cf8c2[0x3]:_0x1cf8c2[0x4],'markerCount':0x6==_0x1cf8c2[_0x4042('0x16c')]?_0x1cf8c2[0x5]:null};}[_0x4042('0x101')](_0xe00e17,_0x3501f2,_0x30239c){const _0x338c80=_0xe00e17[_0x4042('0x130')](),_0x4b137a=_0x338c80[_0x4042('0xfc')],_0x447736=_0x338c80[_0x4042('0x1e')];this['_setSuggestionRange'](_0xe00e17,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x4b137a,_0x3501f2));const _0x4c0b13=_0x2ec2a0(),_0x1fb292=_0xe00e17['creator']['id'],_0x5a0d6a=_0xe00e17[_0x4042('0x42')]+(_0xe00e17[_0x4042('0xb')]?':'+_0xe00e17[_0x4042('0xb')]:'');this[_0x4042('0x3e')]({'id':_0x4c0b13,'type':_0x5a0d6a,'createdAt':new Date(),'authorId':_0x1fb292,'originalSuggestionId':_0xe00e17['id'],'attributes':_0xe00e17[_0x4042('0xc4')],'data':_0xe00e17[_0x4042('0x72')]});const _0x57f1b3=this[_0x4042('0x176')](_0xe00e17);(_0x4042('0xc2')==_0xe00e17['type']||_0x57f1b3&&this[_0x4042('0x4b')](_0x57f1b3))&&(_0x30239c=this[_0x4042('0x9f')]['createPositionBefore'](_0x30239c['parent'])),this[_0x4042('0xb8')](_0x5a0d6a,_0x4c0b13,_0x1fb292,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x30239c,_0x447736));}['_findSuggestions'](_0x2d3d40,_0x6a9ffe=null){const _0x5c737e=[],_0x3563e8=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'];Array[_0x4042('0xb5')](_0x2d3d40)||(_0x2d3d40=[_0x2d3d40]);for(const _0x79995d of this[_0x4042('0xdf')]()){if(!_0x79995d[_0x4042('0x9d')])continue;if(_0x6a9ffe&&_0x79995d['type']!=_0x6a9ffe)continue;let _0x584979=!0x1;for(const _0x4657d6 of _0x79995d[_0x4042('0x90')]()){for(const _0xea0bca of _0x2d3d40){const _0x421542=_0xea0bca['start'][_0x4042('0x117')](_0x4657d6[_0x4042('0x1e')])||_0xea0bca['end'][_0x4042('0x117')](_0x4657d6['start']);if(_0x421542||_0xea0bca[_0x4042('0xca')](_0x4657d6)){const _0x28841e=_0xea0bca[_0x4042('0x146')](_0x4657d6)&&xt(this[_0x4042('0x9f')][_0x4042('0x64')],_0x4657d6[_0x4042('0xfc')],_0xea0bca),_0x31fd8c=_0x4657d6[_0x4042('0x146')](_0xea0bca)&&xt(this[_0x4042('0x9f')]['schema'],_0xea0bca[_0x4042('0xfc')],_0x4657d6);_0x5c737e[_0x4042('0x51')]({'suggestion':_0x79995d,'meta':{'isOwn':_0x3563e8==_0x79995d[_0x4042('0xcf')],'isNextTo':_0x421542,'isInsideObject':_0x28841e,'containsRangeInObject':_0x31fd8c}}),_0x584979=!0x0;break;}}if(_0x584979)break;}}return _0x5c737e;}[_0x4042('0xb8')](_0x52924d,_0x5a1316,_0xdc1542,_0x26417b,_0x1fbb7f){this['_model'][_0x4042('0x71')](_0x402e9e=>{let _0x290764=_0x4042('0x16b')+_0x52924d+':'+_0x5a1316+':'+_0xdc1542;_0x1fbb7f&&(_0x290764=_0x290764+':'+_0x1fbb7f),_0x402e9e[_0x4042('0x1f')](_0x290764,{'range':_0x26417b,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4042('0x5f')](_0x206845){const _0x3e25bf=_0x206845[_0x4042('0x5d')],_0x2c726d=_0x206845[_0x4042('0x132')];_0x206845[_0x4042('0x5d')]=null,_0x206845[_0x4042('0x132')]=null,null!=_0x3e25bf&&_0x3e25bf[_0x4042('0x132')]==_0x206845&&(_0x3e25bf['next']=_0x2c726d),null!=_0x2c726d&&_0x2c726d[_0x4042('0x5d')]==_0x206845&&(_0x2c726d[_0x4042('0x5d')]=_0x3e25bf),_0x4042('0x5e')==this['_suggestionState'][_0x4042('0x143')](_0x206845)&&(this[_0x4042('0x78')][_0x4042('0x14f')](_0x206845,_0x4042('0x96')),this[_0x4042('0x4c')](_0x4042('0x83'),_0x206845,_0x3e25bf,_0x2c726d));}[_0x4042('0x3e')](_0x56d461){const _0x38b6ba=_0x56d461['id'],_0x109c1a=this[_0x4042('0x1b')](_0x56d461);if(this[_0x4042('0x16f')]&&this[_0x4042('0x16f')][_0x4042('0xcb')]){const _0x4719a5=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0xd')),_0x2715df=_0x109c1a[_0x4042('0xc0')],_0x1360b0=_0x109c1a['subType']?_0x109c1a['type']+':'+_0x109c1a[_0x4042('0xb')]:_0x109c1a[_0x4042('0x42')],_0x1c8bd8=this['editor'][_0x4042('0x100')],_0x14181a=_0x4719a5[_0x4042('0x95')](_0x3c8dcf(_0x1c8bd8,_0x4042('0x2c'))),_0xce71a5={'id':_0x38b6ba,'type':_0x1360b0,'hasComments':_0x2715df,'data':_0x56d461[_0x4042('0x72')]||null,'originalSuggestionId':_0x56d461[_0x4042('0xc6')]||null,'attributes':_0x109c1a[_0x4042('0xc4')]};this['_adapter'][_0x4042('0xcb')](_0xce71a5)['then'](_0x36e1e5=>{_0x109c1a[_0x4042('0x8f')]=!0x0,_0x4719a5['remove'](_0x14181a),_0x36e1e5&&_0x36e1e5[_0x4042('0xd9')]&&(this[_0x4042('0x16a')]['get'](_0x38b6ba)[_0x4042('0xd9')]=_0x36e1e5['createdAt']);})[_0x4042('0x55')](_0x5ee8ff=>{throw _0x480750('error-saving-suggestion-data-suggestion-discarded'),this['editor'][_0x4042('0x175')][_0x4042('0x81')]({'isUndoable':!0x1},()=>{_0x109c1a['discard']();}),_0x109c1a[_0x4042('0xc8')](),this[_0x4042('0x16a')][_0x4042('0x48')](_0x109c1a['id']),this[_0x4042('0x78')][_0x4042('0x48')](_0x109c1a),_0x5ee8ff;});}return _0x109c1a;}['_isBlockAttribute'](_0xc2af87){return this[_0x4042('0xd7')]['has'](_0xc2af87);}[_0x4042('0x148')](_0x280f8e,_0x107f15){const _0x621d27=this[_0x4042('0xad')][_0x4042('0x14b')]['get'](_0x4042('0xd')),_0x57e021=this[_0x4042('0x44')](_0x280f8e);if(this[_0x4042('0x16f')]&&this[_0x4042('0x16f')][_0x4042('0xd3')]){if(_0x57e021['_saved']){const _0x41fe00=_0x621d27['add'](_0x3c8dcf(this[_0x4042('0xad')][_0x4042('0x100')],'PENDING_ACTION_SUGGESTION'));this[_0x4042('0x16f')][_0x4042('0xd3')](_0x280f8e,_0x107f15)[_0x4042('0x16')](()=>{_0x621d27[_0x4042('0x135')](_0x41fe00);});}else _0x57e021['on'](_0x4042('0x17'),()=>{this[_0x4042('0x148')](_0x280f8e,_0x107f15);});}}[_0x4042('0xe7')](_0x160362){if(!this[_0x4042('0x16f')]||!this[_0x4042('0x16f')][_0x4042('0x44')])throw new _0x32bac2('track-changes-adapter-missing-getsuggestion',this);return this['_adapter'][_0x4042('0x44')](_0x160362);}[_0x4042('0x4a')](_0x15a5b7){const {id:_0x12f832,type:_0xa136b4,subType:_0x25f925,authorId:_0x5ae60c}=this[_0x4042('0x156')](_0x15a5b7),_0x1f8c48=this['_suggestions'][_0x4042('0x143')](_0x12f832)||this[_0x4042('0x11d')](_0xa136b4,_0x25f925,_0x12f832,_0x5ae60c,{});switch(this[_0x4042('0x8d')](_0x1f8c48,_0xa136b4,_0x25f925,_0x5ae60c),this[_0x4042('0x78')]['get'](_0x1f8c48)){case _0x4042('0xe0'):this['_getSuggestionData'](_0x12f832)[_0x4042('0x16')](_0x96c7c2=>{let _0x3ac4c7=Promise[_0x4042('0x116')]();_0x96c7c2[_0x4042('0xc0')]&&(_0x3ac4c7=this[_0x4042('0x16d')]['fetchCommentThread']({'channelId':this[_0x4042('0xad')][_0x4042('0x15d')][_0x4042('0x143')](_0x4042('0x134')),'threadId':_0x12f832})),_0x3ac4c7[_0x4042('0x16')](()=>{this[_0x4042('0x1b')](_0x96c7c2)[_0x4042('0x8f')]=!0x0;});}),this[_0x4042('0x78')][_0x4042('0x14f')](_0x1f8c48,_0x4042('0x172'));break;case _0x4042('0x96'):this['_updateSuggestionData'](_0x12f832,{'state':'open'});case _0x4042('0x23'):this[_0x4042('0x78')][_0x4042('0x14f')](_0x1f8c48,_0x4042('0x5e')),this[_0x4042('0x4c')](_0x4042('0x54'),_0x1f8c48);break;case _0x4042('0x5e'):this[_0x4042('0x4c')](_0x4042('0xf3'),_0x1f8c48);}return _0x1f8c48[_0x4042('0x6d')](_0x15a5b7),_0x1f8c48;}[_0x4042('0x35')](_0x23fe47){const _0x2ba628=Array[_0x4042('0x169')](_0x23fe47),_0x47a3d3=_0x2ba628[_0x4042('0x158')](_0x11af1d=>_0x4042('0x33')==_0x11af1d['type']);this[_0x4042('0xda')](_0x47a3d3);const _0x3b637b=_0x2ba628['filter'](_0x31a513=>!_0x31a513[_0x4042('0xd5')]&&_0x4042('0x33')!=_0x31a513[_0x4042('0x42')]),_0x2f20ab=this[_0x4042('0xdf')]({'skipNotAttached':!0x0})[_0x4042('0x158')](_0x2b0d39=>!_0x2b0d39[_0x4042('0xd5')]&&'attribute'!=_0x2b0d39[_0x4042('0x42')]),_0x56755c=_0x2f20ab[_0x4042('0x158')](_0x14d913=>!_0x23fe47[_0x4042('0x104')](_0x14d913)),_0xb2d39e=new Map(_0x2f20ab[_0x4042('0x80')](_0x57806d=>[_0x57806d,this[_0x4042('0x15a')][_0x4042('0xed')](_0x57806d['type'],_0x57806d['subType'],_0x4042('0x129'))])),_0x4f9d6e=new Map(_0x2f20ab[_0x4042('0x80')](_0x39b295=>[_0x39b295,_0x39b295[_0x4042('0x130')]()])),_0x2b43ed=new Set(),_0x3189d4=new Set();for(let _0x2f2e24=0x0;_0x2f2e24<_0x3b637b[_0x4042('0x16c')];_0x2f2e24++)_0x57c5e5(_0x3b637b[_0x2f2e24],_0x3b637b,_0x2f2e24+0x1);for(let _0x10518e=0x0;_0x10518e<_0x3b637b[_0x4042('0x16c')];_0x10518e++)_0x57c5e5(_0x3b637b[_0x10518e],_0x56755c,0x0);const _0xb83dc6=new Set();for(let _0x343703=0x0;_0x343703<_0x3b637b['length'];_0x343703++){const _0x502625=_0x3b637b[_0x343703];!_0x3189d4['has'](_0x502625)&&_0x502625[_0x4042('0x5d')]&&(_0xb83dc6[_0x4042('0x95')](_0x502625[_0x4042('0x5d')]),_0x502625[_0x4042('0x5d')][_0x4042('0x132')]===_0x502625&&(_0x502625[_0x4042('0x5d')]['next']=null),_0x502625[_0x4042('0x5d')]=null),!_0x2b43ed[_0x4042('0x104')](_0x502625)&&_0x502625[_0x4042('0x132')]&&(_0xb83dc6[_0x4042('0x95')](_0x502625['next']),_0x502625[_0x4042('0x132')][_0x4042('0x5d')]===_0x502625&&(_0x502625[_0x4042('0x132')]['previous']=null),_0x502625[_0x4042('0x132')]=null);}function _0x57c5e5(_0x1ff27b,_0x299de2,_0x379246){for(let _0x46375a=_0x379246;_0x46375a<_0x299de2[_0x4042('0x16c')];_0x46375a++){const _0x9bcca0=_0xde2543(_0x1ff27b,_0x299de2[_0x46375a]);_0x9bcca0&&(_0x9bcca0[0x0]['next']=_0x9bcca0[0x1],_0x9bcca0[0x1][_0x4042('0x5d')]=_0x9bcca0[0x0],_0x2b43ed[_0x4042('0x95')](_0x9bcca0[0x0]),_0x3189d4['add'](_0x9bcca0[0x1]));}}function _0xde2543(_0x22e7e8,_0x2c3ece){if(_0x22e7e8[_0x4042('0xcf')]['id']!==_0x2c3ece[_0x4042('0xcf')]['id'])return null;const _0x58fec2=_0xb2d39e[_0x4042('0x143')](_0x22e7e8)(_0x22e7e8,_0x2c3ece,_0x4f9d6e[_0x4042('0x143')](_0x22e7e8),_0x4f9d6e[_0x4042('0x143')](_0x2c3ece));if(!_0x58fec2)return null;return _0xb2d39e[_0x4042('0x143')](_0x2c3ece)(_0x22e7e8,_0x2c3ece,_0x4f9d6e['get'](_0x22e7e8),_0x4f9d6e[_0x4042('0x143')](_0x2c3ece))?_0x58fec2[0x1][_0x4042('0x89')]&&_0x58fec2[0x1][_0x4042('0x89')][_0x4042('0x16c')]?null:_0x58fec2:null;}_0xb83dc6[_0x4042('0xde')]&&this[_0x4042('0x35')](_0xb83dc6);}[_0x4042('0xda')](_0x555a7e){if(0x0==_0x555a7e[_0x4042('0x16c')])return;const _0x482998=this[_0x4042('0xdf')]({'skipNotAttached':!0x0})['filter'](_0x35290e=>_0x4042('0x33')==_0x35290e[_0x4042('0x42')]&&_0x35290e['_isDataLoaded']),_0x46dc86=[],_0x49ea6c=new Map();for(const _0x1c51d4 of _0x482998){const _0x2cd89c=_0x25abe0(_0x1c51d4[_0x4042('0xc4')]);_0x49ea6c[_0x4042('0x104')](_0x2cd89c)||(_0x49ea6c[_0x4042('0x14f')](_0x2cd89c,_0x46dc86[_0x4042('0x16c')]),_0x46dc86[_0x4042('0x51')]([]));const _0x3c02b6=_0x49ea6c[_0x4042('0x143')](_0x2cd89c);_0x46dc86[_0x3c02b6]['push'](_0x1c51d4);}!function(){_0x46dc86[_0x4042('0xb0')]((_0x25fd1a,_0xd66f9a)=>{const _0x58e6cc=_0x25fd1a[0x0][_0x4042('0xd9')],_0x4423f5=_0xd66f9a[0x0][_0x4042('0xd9')];return _0x58e6cc==_0x4423f5?_0x25fd1a[0x0][_0x4042('0xc4')][_0x4042('0x12b')]<_0xd66f9a[0x0][_0x4042('0xc4')][_0x4042('0x12b')]?-0x1:0x1:_0x58e6cc<_0x4423f5?-0x1:0x1;});for(const _0x3da288 of _0x46dc86)_0x3da288[_0x4042('0xb0')]((_0x4bef8d,_0x585810)=>_0x4bef8d['id']<_0x585810['id']?-0x1:0x1);}();for(let _0x1ba18c=0x0;_0x1ba18c<_0x46dc86[_0x4042('0x16c')];_0x1ba18c++){if(0x0==_0x46dc86[_0x1ba18c][_0x4042('0x16c')])continue;const _0x3850ca=[];for(let _0x48154b=_0x1ba18c+0x1;_0x48154b<_0x46dc86[_0x4042('0x16c')];_0x48154b++)0x0!=_0x46dc86[_0x48154b]['length']&&_0x19f2e4(_0x46dc86[_0x1ba18c],_0x46dc86[_0x48154b])&&_0x3850ca[_0x4042('0x51')](_0x48154b);for(const _0x34efe2 of _0x3850ca)_0x46dc86[_0x1ba18c]=_0x46dc86[_0x1ba18c][_0x4042('0x128')](_0x46dc86[_0x34efe2]),_0x46dc86[_0x34efe2]=[];}for(const _0x7ecc73 of _0x46dc86)for(let _0x4f2b2a=0x0;_0x4f2b2a<_0x7ecc73['length'];_0x4f2b2a++)_0x7ecc73[_0x4f2b2a][_0x4042('0x132')]=_0x7ecc73[_0x4f2b2a+0x1]||null;for(const _0x2aa9f9 of _0x46dc86)for(let _0x31263f=0x0;_0x31263f<_0x2aa9f9['length'];_0x31263f++)_0x2aa9f9[_0x31263f][_0x4042('0x5d')]=_0x2aa9f9[_0x31263f-0x1]||null;function _0x19f2e4(_0x4abb20,_0x2709a2){if(_0x4abb20[0x0][_0x4042('0xc4')][_0x4042('0x12b')]!==_0x2709a2[0x0][_0x4042('0xc4')]['groupId']&&_0x4abb20[0x0][_0x4042('0xcf')]!==_0x2709a2[0x0][_0x4042('0xcf')])return!0x1;if(!function(_0x52e779,_0x56e6bd){if(!_0x52e779[_0x4042('0xc0')]&&!_0x56e6bd['hasComments'])return!0x0;if(_0x52e779[_0x4042('0xc0')]&&_0x56e6bd[_0x4042('0xc0')])return!0x1;if(_0x52e779['hasComments']&&_0x56e6bd[_0x4042('0xd9')]<_0x52e779[_0x4042('0x89')][_0x4042('0x2')][_0x4042('0x143')](0x0)[_0x4042('0xd9')])return!0x0;if(_0x56e6bd['hasComments']&&_0x52e779[_0x4042('0xd9')]<_0x56e6bd[_0x4042('0x89')][_0x4042('0x2')][_0x4042('0x143')](0x0)[_0x4042('0xd9')])return!0x0;return!0x1;}(_0x4abb20[0x0],_0x2709a2[0x0]))return!0x1;const _0x8f898e=_0x4795a3(_0x4abb20[0x0]['attributes'],'groupId'),_0x42159b=_0x4795a3(_0x2709a2[0x0][_0x4042('0xc4')],_0x4042('0x12b'));if(!_0x438cfc(_0x8f898e,_0x42159b))return!0x1;return!!_0x4abb20[_0x4042('0xc3')](_0x34c9c0=>_0x2709a2[_0x4042('0x13d')](_0x2940c0=>_0x34c9c0['getFirstRange']()['isEqual'](_0x2940c0[_0x4042('0x130')]())))&&_0x2709a2[_0x4042('0xc3')](_0x55cc9c=>_0x4abb20['some'](_0x51c92a=>_0x55cc9c['getFirstRange']()[_0x4042('0x117')](_0x51c92a[_0x4042('0x130')]())));}}[_0x4042('0xdc')](_0x145fd8){const _0x37caa6=Array[_0x4042('0x169')](_0x145fd8),_0x4bbb71=this[_0x4042('0xdf')]({'skipNotAttached':!0x0}),_0x1893ce=_0x4bbb71[_0x4042('0x158')](_0xa9d90b=>!_0x145fd8[_0x4042('0x104')](_0xa9d90b)),_0x3f87cd=new Map(_0x37caa6['map'](_0x4efa44=>[_0x4efa44,this['_suggestionFactory'][_0x4042('0xed')](_0x4efa44[_0x4042('0x42')],_0x4efa44[_0x4042('0xb')],_0x4042('0xb2'))])),_0x4826c0=new Map(_0x4bbb71[_0x4042('0x80')](_0x317138=>[_0x317138,_0x317138[_0x4042('0x90')]()]));for(let _0x442e7d=0x0;_0x442e7d<_0x37caa6[_0x4042('0x16c')];_0x442e7d++){if(_0xe5f848(this,_0x37caa6[_0x442e7d],_0x37caa6,_0x442e7d+0x1))return!0x0;}for(let _0x316fd3=0x0;_0x316fd3<_0x37caa6[_0x4042('0x16c')];_0x316fd3++){if(_0xe5f848(this,_0x37caa6[_0x316fd3],_0x1893ce,0x0))return!0x0;}return!0x1;function _0xe5f848(_0x171fe2,_0x1b2c8d,_0xa8895d,_0x40b421){for(let _0x165960=_0x40b421;_0x165960<_0xa8895d[_0x4042('0x16c')];_0x165960++){const _0x532b07=_0xa8895d[_0x165960];if(_0x532b07[_0x4042('0x42')]!==_0x1b2c8d[_0x4042('0x42')]||_0x532b07[_0x4042('0xcf')]['id']!==_0x1b2c8d[_0x4042('0xcf')]['id']||_0x532b07[_0x4042('0xb')]!==_0x1b2c8d[_0x4042('0xb')])continue;if(!Ft(_0x1b2c8d,_0x532b07,['groupId']))continue;if(_0x4042('0x33')==_0x1b2c8d[_0x4042('0x42')]&&_0x1b2c8d[_0x4042('0x72')][_0x4042('0x154')]!=_0x532b07[_0x4042('0x72')][_0x4042('0x154')])continue;if(_0x4042('0x33')==_0x1b2c8d[_0x4042('0x42')]&&_0x171fe2[_0x4042('0x4b')](_0x1b2c8d[_0x4042('0x72')][_0x4042('0xdd')]))continue;if(_0x4042('0xc2')==_0x1b2c8d[_0x4042('0x42')]){const _0x2041e3=_0x171fe2[_0x4042('0xad')][_0x4042('0x175')],_0x29e42e=_0x1b2c8d[_0x4042('0xec')]();if(_0x29e42e&&(_0x2041e3[_0x4042('0x64')][_0x4042('0xd0')](_0x29e42e)||_0x2041e3[_0x4042('0x64')][_0x4042('0x28')](_0x29e42e)))continue;}const _0x49f68d=_0x3f87cd['get'](_0x1b2c8d),_0x46cca8=_0x4826c0[_0x4042('0x143')](_0x1b2c8d),_0x1034ad=_0x4826c0[_0x4042('0x143')](_0x532b07),_0x241054=_0x1b2c8d[_0x4042('0x89')]&&_0x1b2c8d[_0x4042('0x89')][_0x4042('0x16c')],_0x486fc5=_0x532b07[_0x4042('0x89')]&&_0x532b07[_0x4042('0x89')]['length'];if(!_0x241054&&_0x49f68d(_0x1034ad,_0x46cca8))return _0x171fe2[_0x4042('0xbd')](_0x532b07,_0x1b2c8d),_0x4826c0[_0x4042('0x48')](_0x1b2c8d),!0x0;if(!_0x486fc5&&_0x49f68d(_0x46cca8,_0x1034ad))return _0x171fe2[_0x4042('0xbd')](_0x1b2c8d,_0x532b07),_0x4826c0['delete'](_0x532b07),!0x0;}return!0x1;}}[_0x4042('0xbd')](_0x55ceb6,_0x4c89e6){if(_0x55ceb6[_0x4042('0xd5')])for(const _0x16da5f of _0x4c89e6[_0x4042('0x90')]())_0x55ceb6[_0x4042('0x43')](_0x16da5f);else{const _0x84df14=_0x4c89e6[_0x4042('0x130')]()[_0x4042('0x1e')];this[_0x4042('0xac')](_0x55ceb6,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x55ceb6[_0x4042('0x130')]()[_0x4042('0xfc')],_0x84df14));}_0x4c89e6[_0x4042('0x14a')]();}[_0x4042('0x145')](_0x386995,_0x19eabd){const _0x43b969=_0x386995[_0x4042('0x13b')](_0x4042('0x39'))||_0x386995[_0x4042('0x13b')](_0x4042('0x33'))?_0x4042('0x118'):_0x386995[_0x4042('0x114')]();return _0x3c8dcf(this[_0x4042('0xad')][_0x4042('0x100')],_0x19eabd+'_'+_0x43b969+_0x4042('0x11'));}['_initAriaMarkerChangeAnnouncements'](){const _0xfe94e3=this['editor'];_0x137661(this['_model'],({left:_0x31695e,entered:_0x1c758e})=>{const _0x5da4b5=[];for(const _0x154300 of _0x31695e){const {group:_0x6e3a45,type:_0x555ead}=this[_0x4042('0x156')](_0x154300[_0x4042('0x12f')]);if(_0x4042('0xb7')===_0x6e3a45){_0x5da4b5[_0x4042('0x51')](this[_0x4042('0x145')](_0x555ead,_0x4042('0xbc')));break;}}for(const _0x21e307 of _0x1c758e){const {group:_0x153192,type:_0x303260}=this[_0x4042('0x156')](_0x21e307[_0x4042('0x12f')]);if('suggestion'===_0x153192){_0x5da4b5[_0x4042('0x51')](this['_getMarkerAnnouncementText'](_0x303260,'ENTER'));break;}}_0x5da4b5[_0x4042('0x16c')]&&_0xfe94e3['ui'][_0x4042('0xbf')][_0x4042('0x15b')](_0x4042('0x49'),_0x5da4b5['join']('\x20'));});}['_processAttributeChanges'](_0x47d46){if(this['_recordAttributeSuggestions'])return!0x1;const _0x1ed4bd=this[_0x4042('0xad')],_0x5486f1=_0x1ed4bd[_0x4042('0x175')][_0x4042('0x168')][_0x4042('0xe1')][_0x4042('0x10c')]();if(0x0==_0x5486f1[_0x4042('0x16c')])return!0x1;const _0x184b7e=[],_0x3bbea5=_0x5486f1['filter'](_0x43bcdb=>'attribute'==_0x43bcdb[_0x4042('0x42')]),_0x4851f6=_0x5486f1[_0x4042('0x158')](_0x1feab1=>'insert'==_0x1feab1['type']&&'$text'!=_0x1feab1[_0x4042('0x12f')]),_0x3d40df=_0x5486f1['filter'](_0xb1aa9d=>'remove'==_0xb1aa9d[_0x4042('0x42')]&&_0x4042('0x67')!=_0xb1aa9d[_0x4042('0x12f')]);for(const _0x5ef629 of _0x3bbea5)_0x184b7e[_0x4042('0x51')]({'key':_0x5ef629[_0x4042('0x165')],'newValue':_0x5ef629[_0x4042('0x2b')],'oldValue':_0x5ef629[_0x4042('0x173')],'range':Ut(_0x5ef629[_0x4042('0x30')],_0x1ed4bd[_0x4042('0x175')])});for(const _0x4d292b of _0x4851f6){const _0x3330c9=_0x3d40df[_0x4042('0xf9')](_0x45b4b5=>_0x45b4b5[_0x4042('0x110')][_0x4042('0x117')](_0x4d292b[_0x4042('0x110')]));_0x3330c9&&_0x184b7e[_0x4042('0x51')]({'key':'$elementName','newValue':_0x4d292b[_0x4042('0x12f')],'oldValue':_0x3330c9[_0x4042('0x12f')],'range':_0x1ed4bd['model'][_0x4042('0x13')](_0x4d292b[_0x4042('0x110')][_0x4042('0x8c')])});}return 0x0!=_0x184b7e['length']&&this[_0x4042('0xf4')](_0x47d46,_0x184b7e);}[_0x4042('0x123')](_0x107cf8){let _0x515b5b=!0x1;const _0x5c02ef=this[_0x4042('0xad')]['model']['document'][_0x4042('0xe1')][_0x4042('0x58')]()['filter'](_0x58da2a=>_0x58da2a[_0x4042('0x72')][_0x4042('0x9')]&&_0x58da2a[_0x4042('0x12f')][_0x4042('0x13b')]('suggestion:attribute:'));for(const _0x1c8d00 of _0x5c02ef){const {subType:_0xc73c8,id:_0x5f2fbf}=this[_0x4042('0x156')](_0x1c8d00[_0x4042('0x12f')]),_0x9ce4ad=_0xc73c8[_0x4042('0x126')]('|')[0x0];for(const _0x33b972 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x33b972['id']!=_0x5f2fbf&&'attribute'==_0x33b972['type']&&_0x33b972[_0x4042('0x72')]&&_0x33b972[_0x4042('0x72')]['key']==_0x9ce4ad&&_0x33b972['getFirstRange']()[_0x4042('0x151')](_0x1c8d00['data'][_0x4042('0x9')])&&(this[_0x4042('0x112')](_0x33b972,_0x1c8d00['data'][_0x4042('0x9')],_0x107cf8),_0x515b5b=!0x0);}return _0x515b5b;}[_0x4042('0xa9')](_0x102834){this[_0x4042('0xad')],(this[_0x4042('0x93')]=!0x0,_0x102834());}['_isRegisteredAttribute'](_0x21fb95){const _0x9dd8c7=this[_0x4042('0x4b')](_0x21fb95),_0x3df954=this[_0x4042('0xbb')][_0x4042('0x104')](_0x21fb95);return _0x9dd8c7||_0x3df954;}[_0x4042('0xf4')](_0x326182,_0x165434){if(0x0==_0x165434['length'])return!0x1;let _0x470652=!0x1;for(const _0x23b854 of _0x165434){const _0x435727=this[_0x4042('0x7e')](_0x23b854[_0x4042('0x30')],_0x4042('0x33'))[_0x4042('0x158')](_0xf65c95=>!_0xf65c95[_0x4042('0x86')][_0x4042('0x170')])[_0x4042('0x80')](_0x540b52=>_0x540b52[_0x4042('0xb7')]),_0x47daa9=_0x25abe0({'newValue':_0x23b854[_0x4042('0x10b')]});_0x435727[_0x4042('0x158')](_0x1832b1=>{const [_0x1a3326,_0x14630b]=_0x1832b1[_0x4042('0xb')][_0x4042('0x126')]('|');return _0x1a3326==_0x23b854[_0x4042('0xdd')]&&_0x14630b!=_0x47daa9;})[_0x4042('0x40')](_0x2713a0=>{this['_reduceSuggestionAttributeRange'](_0x2713a0,_0x23b854[_0x4042('0x30')],_0x326182),_0x470652=!0x0;});}return _0x470652;}['_reduceSuggestionAttributeRange'](_0xa5fe39,_0xd270bd,_0x405c68){const _0x4f0e3c=_0xa5fe39['getFirstRange']()[_0x4042('0xa4')](_0xd270bd);0x0!==_0x4f0e3c[_0x4042('0x16c')]?0x1!==_0x4f0e3c[_0x4042('0x16c')]?this[_0x4042('0x101')](_0xa5fe39,_0xd270bd['start'],_0xd270bd[_0x4042('0x1e')]):this[_0x4042('0xac')](_0xa5fe39,_0x4f0e3c[0x0]):_0x405c68['removeMarker'](_0xa5fe39['getFirstMarker']());}}class Bt{constructor(_0x520351){this[_0x4042('0xce')]=_0x520351,this[_0x4042('0x9f')]=_0x520351[_0x4042('0x175')],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x2935da,_0x19d438,_0xf362ca,_0x114cf9,_0x6d3358,_0x4005c1){return new _0x241239(this[_0x4042('0x9f')],{'type':_0x2935da,'subType':_0x19d438,'id':_0xf362ca,'author':_0x114cf9,'creator':_0x114cf9,'attributes':_0x6d3358,'onAttributesChange':_0x4005c1,'onAccept':(..._0x574cbe)=>this[_0x4042('0xed')](_0x2935da,_0x19d438,_0x4042('0xc'))(..._0x574cbe),'onDiscard':(..._0x587366)=>this['getSuggestionCallback'](_0x2935da,_0x19d438,_0x4042('0xff'))(..._0x587366)});}[_0x4042('0xea')](_0x2ddd84,_0xbf34d2,_0xe3d3bd,_0x37a612){const _0x278422=_0x2ddd84+':'+_0xbf34d2+':'+_0xe3d3bd;this[_0x4042('0x125')][_0x4042('0x14f')](_0x278422,_0x37a612);}['getSuggestionCallback'](_0x39462d,_0xb1c08d,_0x3ada88){const _0x19a812=_0x39462d+':'+_0xb1c08d+':'+_0x3ada88;return this[_0x4042('0x125')][_0x4042('0x143')](_0x19a812)||this[_0x4042('0x131')][_0x4042('0x143')](_0x39462d+':'+_0x3ada88);}['_registerDefaultCallbacks'](){const _0x239387=()=>!0x1,_0x5119b6=_0x1262b0=>{_0x1262b0[_0x4042('0xb0')]((_0x577758,_0x56144e)=>_0x577758[_0x4042('0xfc')][_0x4042('0x56')](_0x56144e[_0x4042('0xfc')])?0x1:-0x1),this[_0x4042('0x9f')][_0x4042('0x71')](_0x3980ad=>{for(const _0x1aa0e8 of _0x1262b0){let _0x121026;_0x121026=_0x1aa0e8[_0x4042('0x1e')][_0x4042('0xe8')]&&_0x1aa0e8[_0x4042('0x1e')][_0x4042('0x163')]==_0x1aa0e8[_0x4042('0xfc')]['nodeAfter']?_0x3980ad[_0x4042('0x139')](_0x1aa0e8['start'][_0x4042('0x8c')],'on'):_0x3980ad[_0x4042('0x139')](_0x1aa0e8),this['_model']['deleteContent'](_0x121026,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x291b89=(_0x34f809,_0x5ced1d)=>{_0x5ced1d&&this[_0x4042('0x9f')][_0x4042('0x71')](_0x566124=>{const {commandName:_0x5822df,commandParams:_0x1c5409=[]}=_0x5ced1d,_0x292fc6=_0x34f809[_0x4042('0x80')](_0xa0bcec=>(Rt(_0xa0bcec)&&(_0xa0bcec=this['_model'][_0x4042('0x6f')](_0xa0bcec[_0x4042('0x1e')])),_0xa0bcec))[_0x4042('0x158')](_0x3f7c57=>_0x4042('0xd2')!==_0x3f7c57[_0x4042('0xd4')][_0x4042('0x37')]);if(_0x292fc6['length']<0x1)return;const _0x4597b3=Array['from'](this[_0x4042('0x9f')][_0x4042('0x168')][_0x4042('0xab')][_0x4042('0x90')]())['map'](_0xaeed8d=>_0x1da7bd['fromRange'](_0xaeed8d));_0x566124['setSelection'](_0x292fc6);for(const _0x361d79 of this[_0x4042('0xce')][_0x4042('0x162')][_0x4042('0x162')]())_0x361d79[_0x4042('0x7d')]();_0x1c5409[_0x4042('0x51')]({'forceDefaultExecution':!0x0}),this['_editor'][_0x4042('0xeb')](_0x5822df,..._0x1c5409);const _0x47640e=_0x4597b3['filter'](_0x1f199a=>_0x4042('0xd2')!=_0x1f199a[_0x4042('0xd4')]['rootName']);_0x47640e['length']>0x0&&_0x566124[_0x4042('0x22')](_0x47640e);for(const _0x548b50 of _0x4597b3)_0x548b50[_0x4042('0x11a')]();});},_0x60871d=(_0x436d2f,_0x21930a)=>0x1==_0x436d2f[_0x4042('0x16c')]&&0x1==_0x21930a[_0x4042('0x16c')]&&_0x436d2f[0x0][_0x4042('0x1e')][_0x4042('0x117')](_0x21930a[0x0][_0x4042('0xfc')]),_0x335824=(_0x3b2590,_0x3f5798,_0x14e523,_0x4c30fd)=>Gt(_0x3b2590,_0x3f5798,_0x14e523,_0x4c30fd,this[_0x4042('0x9f')])?[_0x3b2590,_0x3f5798]:Gt(_0x3f5798,_0x3b2590,_0x4c30fd,_0x14e523,this[_0x4042('0x9f')])?[_0x3f5798,_0x3b2590]:null;this['_defaultCallbacks']['set'](_0x4042('0x6a'),_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0x136'),_0x5119b6),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0x159'),_0x60871d),this[_0x4042('0x131')][_0x4042('0x14f')]('insertion:chain',_0x335824),this[_0x4042('0x131')][_0x4042('0x14f')]('deletion:accept',_0x5119b6),this['_defaultCallbacks']['set']('deletion:discard',_0x239387),this['_defaultCallbacks'][_0x4042('0x14f')](_0x4042('0x15f'),_0x60871d),this[_0x4042('0x131')]['set'](_0x4042('0xf8'),_0x335824),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0x68'),_0x291b89),this['_defaultCallbacks'][_0x4042('0x14f')]('formatInline:discard',_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0xbe'),_0x60871d),this['_defaultCallbacks']['set'](_0x4042('0x79'),_0x239387),this[_0x4042('0x131')]['set'](_0x4042('0x119'),_0x291b89),this['_defaultCallbacks'][_0x4042('0x14f')](_0x4042('0x109'),_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')]('formatBlock:join',_0x60871d),this[_0x4042('0x131')][_0x4042('0x14f')]('formatBlock:chain',_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0xa7'),_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0x6e'),(_0x3b4194,_0xe9c49e)=>{if(!_0xe9c49e)return;const _0x3f8d2d=this[_0x4042('0xce')][_0x4042('0x14b')]['get'](p);this['_model'][_0x4042('0x71')](_0x3cf75c=>{if(_0x4042('0xa5')==_0xe9c49e['key'])for(const _0x43efc1 of _0x3b4194){const _0xa35133=_0x43efc1[_0x4042('0xfc')][_0x4042('0x8c')],_0xf62286=_0xe9c49e[_0x4042('0x154')];_0x3cf75c[_0x4042('0x106')](_0xa35133,_0xf62286);}else{if(_0x3f8d2d['_isBlockAttribute'](_0xe9c49e[_0x4042('0xdd')]))for(const _0x374074 of _0x3b4194)void 0x0!==_0xe9c49e[_0x4042('0x154')]?_0x3cf75c[_0x4042('0x10a')](_0xe9c49e[_0x4042('0xdd')],_0xe9c49e[_0x4042('0x154')],_0x374074['start']['nodeAfter']):_0x3cf75c[_0x4042('0x138')](_0xe9c49e[_0x4042('0xdd')],_0x374074['start']['nodeAfter']);else for(const _0x44d647 of _0x3b4194)_0xe9c49e['oldValue']?_0x3cf75c[_0x4042('0x10a')](_0xe9c49e[_0x4042('0xdd')],_0xe9c49e[_0x4042('0x154')],_0x44d647):_0x3cf75c[_0x4042('0x138')](_0xe9c49e['key'],_0x44d647);}});}),this[_0x4042('0x131')]['set'](_0x4042('0x32'),_0x60871d);}}function xt(_0x1aa886,_0x8d6073,_0xbd0824){for(const _0x2d15e0 of _0x8d6073[_0x4042('0x163')][_0x4042('0xfe')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2d15e0[_0x4042('0xd4')]==_0x2d15e0)return!0x1;if(!_0xbd0824[_0x4042('0xb3')](_0x2d15e0))return!0x1;if(_0x1aa886[_0x4042('0xd0')](_0x2d15e0)||_0x1aa886['isLimit'](_0x2d15e0))return!0x0;}return!0x1;}function Rt(_0x3380ab){return _0x3380ab['end'][_0x4042('0x163')]==_0x3380ab[_0x4042('0xfc')][_0x4042('0x8c')]&&_0x3380ab[_0x4042('0x1e')][_0x4042('0x13e')];}function Tt(_0x3301f6,_0x2e3c13,_0x298ccf,_0x456953){const _0x5e4614=_0xb1178=>!_0xb1178[_0x4042('0xfd')]['is'](_0x4042('0x11e'))&&!_0x456953[_0x4042('0xd0')](_0xb1178[_0x4042('0xfd')]),_0x4f3692=_0x3301f6['start']['getLastMatchingPosition'](_0x5e4614),_0x579381=_0x3301f6[_0x4042('0x1e')][_0x4042('0xcc')](_0x5e4614,{'direction':'backward'});return(!_0x3301f6[_0x4042('0xfc')][_0x4042('0x117')](_0x4f3692)||!_0x3301f6[_0x4042('0x1e')][_0x4042('0x117')](_0x579381))&&(_0x4f3692[_0x4042('0x56')](_0x579381)?_0x298ccf['updateMarker'](_0x2e3c13,{'range':_0x298ccf[_0x4042('0x6f')](_0x4f3692,_0x579381)}):_0x298ccf[_0x4042('0xaf')](_0x2e3c13),!0x0);}function Et(_0x419543){return _0x25abe0(_0x419543);}function Vt(_0x1b71cf){const _0x494716=_0x1b71cf[_0x4042('0xfc')][_0x4042('0x8c')];return _0x494716&&_0x494716['is']('element');}function Ut(_0x4b57dd,_0x3cba2d){return null==_0x4b57dd[_0x4042('0x1e')][_0x4042('0xe4')]&&_0x4b57dd[_0x4042('0x1e')][_0x4042('0x163')]==_0x4b57dd[_0x4042('0xfc')][_0x4042('0x8c')]?Ot(_0x4b57dd[_0x4042('0xfc')][_0x4042('0x8c')],_0x3cba2d):_0x4b57dd;}function Ot(_0x4ea78f,_0x4af66a){const _0x1ac41b=_0x4af66a[_0x4042('0x64')][_0x4042('0xd0')](_0x4ea78f)||_0x4af66a['schema'][_0x4042('0x10d')](_0x4ea78f);return _0x4af66a[_0x4042('0x6f')](_0x4af66a['createPositionAt'](_0x4ea78f,_0x4042('0x97')),_0x1ac41b?_0x4af66a[_0x4042('0x7a')](_0x4ea78f):_0x4af66a[_0x4042('0xc9')](_0x4ea78f,'end'));}function Gt(_0x2c1415,_0x474f32,_0xbf6791,_0x23d8e6,_0x1fdf27){if(!Ft(_0x2c1415,_0x474f32))return!0x1;if(_0xbf6791[_0x4042('0x1e')][_0x4042('0x117')](_0x23d8e6[_0x4042('0xfc')]))return!0x0;if(_0x2c1415[_0x4042('0x42')]!=_0x474f32[_0x4042('0x42')])return!0x1;if(!_0xbf6791[_0x4042('0x1e')][_0x4042('0x5b')](_0x23d8e6['start']))return!0x1;const _0x2d761f=_0x1fdf27[_0x4042('0x6f')](_0xbf6791[_0x4042('0x1e')],_0x23d8e6['start'])[_0x4042('0xb1')]();for(const _0x1dec79 of _0x2d761f)if([_0x4042('0x62'),_0x4042('0x76')][_0x4042('0x2e')](_0x1dec79[_0x4042('0x42')])&&_0x1fdf27[_0x4042('0x64')][_0x4042('0x28')](_0x1dec79['item']))return!0x1;return!0x0;}function Ft(_0x499294,_0x41ac44,_0x503dca=[]){return!(!_0x499294[_0x4042('0x142')]||!_0x41ac44['_isDataLoaded'])&&_0x438cfc(_0x4795a3(_0x499294['attributes'],_0x503dca),_0x4795a3(_0x41ac44[_0x4042('0xc4')],_0x503dca));}function Pt(_0xdcf2b,_0x39356e){const _0x52acad=Lt(_0xdcf2b[_0x4042('0xc4')]),_0x3f5621=Lt(_0x39356e);if(!_0xdcf2b[_0x4042('0x142')])return!0x1;for(const _0x1951cc of Object[_0x4042('0x77')](_0x3f5621))if(!_0x438cfc(_0x52acad[_0x1951cc],_0x3f5621[_0x1951cc]))return!0x1;return!0x0;}function Lt(_0x48f6bd){const _0x3d8e81=Object[_0x4042('0xd8')]({},_0x48f6bd);return delete _0x3d8e81[_0x4042('0x2d')],delete _0x3d8e81[_0x4042('0x70')],_0x3d8e81;}
|