UNPKG

@ckeditor/ckeditor5-revision-history

Version:

Document revision history feature for CKEditor 5.

23 lines • 62.1 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x1d51(){const _0x1aa208=['_changeIdToChange','downcastDispatcher','text','highest','isAdded','isAtStart','_setConversion','1941300qcriSv','forceDisabled','getRoot','-new','offsetSize','conversion','enableReadOnlyMode','currentChangeNumber','9FZHcNt','keys','_sortAndFilterDiffChanges','_markInsertions','endIndex','change:numberOfChanges','clear','ck-suggestion-marker-','1221834SnuyuJ','createAttributeElement','getItems','addMarker:revision','isBlock','resolve','softBreak','createPositionBefore','revision-suggestion','_getViewForChange','affectsData','toViewElement','RevisionsRepository','removeAttribute','getAttributes','elementStart','_makeTape','nodeAfter','POSITIVE_INFINITY','showStack','isPremiumPlugin','_markMismatchedRemovedTags','_threeWayMerge','range','userId','map','getClientRects','getCustomProperty','adapter','domEvent','right','_refreshStartEndIndex','consume','showNextChange','editingDowncast','side','set','vid_start','init','getRevisionDocumentData','isAfter','mousedown','suggestion','18397010HffdQx','forEach','done','upcast','isCollapsed','previousPosition','vid','suggestion:','isAddSuggestion','values','removeMarker:revision-suggestion','domConverter','getRootNames','isSuggestion','markers','insertions','change:isEnabled','isObject','nextPosition','change:activeView','pop','_update','checkAttribute','_removeMissingPairs','consumable','attachChange','setAttribute','filter','ck-suggestion-preview-marker-','span','_appendChild','comment','removeMarker','createRange','pairId','markersStart','sort','_getChangeFromId','revision-viewer','ck-revision-history-root-','find','136SRTZIt','_setDistance','getLaterVisibleRevision','low','_markSuggestions','has','getRevision','ck-suggestion-marker--active','detachRoot','addHighlight','dataToMarker','element','bind','refresh','type','diffData','revision:','unbindElementFromMarkerName','get','_processTape','createPositionFromPath','isInline','deletion','diff','nextSibling','pluginName','_markMarkers','findIndex','viewItem','ck-suggestion-marker','writer','length','all','_cleanMarkers','hasClass','model','forward','delete','view','_utils','item','vid_end','WidgetToolbarRepository','markerName','isRemoveSuggestion','return','start','commands','repository','remove','abs','_data','newRevisionId','execute','then','unshift','wrap','stop','attributes','reconvertMarker','first','backward','requires','getWalker','addClass','observeMarkers','left','split','isRemoved','isAtEnd','plugins','next','ck-editor__editable__overlay','catch','getRevisionRootsAttributes','elementToAttribute','distance','data-change-id','error','restoreRevision','document','addRevision','RevisionHistoryUtils','locale','insertion','changes','markerToData','ck-revision-history-root-add','element:pre','parent','isReady','getIndex','attributesAfter','oldRevisionId','data','slice','_getRevisionsRange','mapViewToDom','isIncorrect','elementEnd','hasAttribute','change','_makeModelFromTape','deletions','includes','dataDowncast','createUIElement','authors','string','concat','editing','225911emaidh','revision-comment:','markerNameToElements','push','object','listenTo','bindElementToMarker','toViewPosition','uiElement','removeMarker:revision','isAttached','showPreviousChange','ck-revision-history-root-remove','ck-suggestion-marker-merge','_getDiff','ck-suggestion-preview-marker','shift','createRevision','revisionHistoryAttachChange','ck-revision-history-root--active','isOfficialPlugin','_revisions','from','add','index','createRangeIn','getChild','toViewRange','maxOffset','getAttribute','end','splice','restoreRevisionCallback','_makeModelFromViewString','editor','isNavigationMode','enqueueChange','startsWith','attribute:vid','changeId','2600832oaalDf','flat','addMarker:revision-suggestion:insertion','numberOfChanges','mapper','target','for','change:isReady','level','_cleanUp','rootName','loadRevisionData','selection','_fixObsoleteTags','_setChanges','isEqual','markersEnd','_balloon','change:activeChange','_findChangeIdFromDomTarget','revisionHistory','ck-suggestion-marker-split','attributesBefore','_initInteractions','updatePosition','_step','bottom','isLimit','high','_joinTapes','6qxWUwP','startIndex','top','addRoot','activeView','config','368534pSDTiv','indexOf','getDomRoot','removeClass','revisionHistoryLabel','compare','_removeUnsupportedChanges','RevisionViewer','merge','_activeViewTarget','roots','revision','insert','addMarker:revision-suggestion:deletion','revision-suggestion:','modelRange','addRevisionData','name','schema','isOnRoot','activeChange','708091GfvOWt','destroy','test','isEnabled','_changeView','markerToHighlight','markerRange','mouseover','code','isContent','isBefore'];_0x1d51=function(){return _0x1aa208;};return _0x1d51();}const _0x2e8627=_0x50f4;(function(_0x47d1c4,_0x148546){const _0x7bdb35=_0x50f4,_0x2b4bd3=_0x47d1c4();while(!![]){try{const _0x143d61=parseInt(_0x7bdb35(0x163))/0x1+-parseInt(_0x7bdb35(0x14e))/0x2+parseInt(_0x7bdb35(0x185))/0x3+parseInt(_0x7bdb35(0x12a))/0x4+parseInt(_0x7bdb35(0x175))/0x5*(parseInt(_0x7bdb35(0x148))/0x6)+-parseInt(_0x7bdb35(0x102))/0x7*(-parseInt(_0x7bdb35(0x93))/0x8)+parseInt(_0x7bdb35(0x17d))/0x9*(-parseInt(_0x7bdb35(0x6a))/0xa);if(_0x143d61===_0x148546)break;else _0x2b4bd3['push'](_0x2b4bd3['shift']());}catch(_0xcbc994){_0x2b4bd3['push'](_0x2b4bd3['shift']());}}}(_0x1d51,0xa5a6e));import{Plugin as _0x75ac6f,Command as _0x15c5ee}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1f2eb9}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x5c6ce1}from'ckeditor5/src/ui.js';function _0x50f4(_0x2a6f59,_0x467245){const _0x1d514d=_0x1d51();return _0x50f4=function(_0x50f4b5,_0x4374b7){_0x50f4b5=_0x50f4b5-0x65;let _0x46e11e=_0x1d514d[_0x50f4b5];return _0x46e11e;},_0x50f4(_0x2a6f59,_0x467245);}import{ModelDocumentFragment as _0x322d05,ModelElement as _0x47c77f,ModelText as _0x192f5f}from'ckeditor5/src/engine.js';import{Users as _0x22b7bb,getMarkerDomElement as _0x3ba6f2}from'ckeditor5-collaboration/src/collaboration-core.js';import{ChangeDetailsView as _0x2310d1}from'./ui/revisionviewer/changedetailsview.js';import{RevisionsRepository as _0x5ade6c}from'./revisionsrepository.js';import{RevisionHistoryUtils as _0x4c99d7}from'./revisionhistoryutils.js';import{ChangeItem as _0x49c127}from'./changeitem.js';import{RevisionDiff as _0x21f8d6}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x4be044}from'es-toolkit/compat';export class RevisionViewer extends _0x75ac6f{[_0x2e8627(0xc3)];[_0x2e8627(0x1a1)]=null;[_0x2e8627(0xba)];[_0x2e8627(0x157)];[_0x2e8627(0x167)];[_0x2e8627(0x16e)];[_0x2e8627(0x13b)];static get[_0x2e8627(0xac)](){const _0x12989c=_0x2e8627;return _0x12989c(0x155);}static get[_0x2e8627(0x116)](){return!0x0;}static get[_0x2e8627(0x199)](){return!0x0;}static get[_0x2e8627(0xd1)](){return[_0x22b7bb,_0x5c6ce1,_0x5ade6c,_0x4c99d7];}constructor(_0x1b5381){const _0x17d81d=_0x2e8627;super(_0x1b5381),this[_0x17d81d(0xc3)]=this[_0x17d81d(0x124)][_0x17d81d(0xd9)][_0x17d81d(0xa5)](_0x17d81d(0x191)),this[_0x17d81d(0xba)]=this[_0x17d81d(0x124)][_0x17d81d(0xd9)][_0x17d81d(0xa5)](_0x17d81d(0xe5)),this[_0x17d81d(0x1a9)](_0x17d81d(0x162),null),this[_0x17d81d(0x1a9)](_0x17d81d(0x14c),null),this[_0x17d81d(0x157)]=null,this[_0x17d81d(0x1a9)](_0x17d81d(0xaa),null),this[_0x17d81d(0x1a9)](_0x17d81d(0xed),!0x1),this[_0x17d81d(0x1a9)](_0x17d81d(0x166),!0x0),this['on'](_0x17d81d(0x7a),(_0x113e4a,_0x50f0f4,_0x23574b)=>{const _0x1c7426=_0x17d81d;this[_0x1c7426(0x162)]=null,this[_0x1c7426(0x14c)]=null,this[_0x1c7426(0x124)][_0x1c7426(0x101)][_0x1c7426(0xb9)][_0x1c7426(0xf8)](_0xbe5e53=>{const _0x266de7=_0x1c7426;for(const _0x55ffc0 of this[_0x266de7(0x124)][_0x266de7(0x101)][_0x266de7(0xb9)][_0x266de7(0xe3)][_0x266de7(0x158)])_0x23574b?_0xbe5e53[_0x266de7(0x151)](_0x266de7(0xdb),_0x55ffc0):_0xbe5e53[_0x266de7(0xd3)](_0x266de7(0xdb),_0x55ffc0);});}),this[_0x17d81d(0x9f)](_0x17d81d(0x125))['to'](this,_0x17d81d(0x162),_0x16f56f=>null!==_0x16f56f),this[_0x17d81d(0x9f)](_0x17d81d(0x17c))['to'](this,_0x17d81d(0xed),this,_0x17d81d(0xaa),this,_0x17d81d(0x162),(_0xc86b5,_0x54474d,_0x7a5f21)=>_0xc86b5&&_0x7a5f21?_0x54474d[_0x17d81d(0xe8)][_0x17d81d(0xee)](_0x7a5f21):0x0),this[_0x17d81d(0x9f)](_0x17d81d(0x12d))['to'](this,_0x17d81d(0xed),this,_0x17d81d(0xaa),(_0x1575a7,_0x363513)=>_0x1575a7?_0x363513[_0x17d81d(0xe8)][_0x17d81d(0xb2)]:0x0),this[_0x17d81d(0x167)]=null,this[_0x17d81d(0x16e)]=new Map(),this[_0x17d81d(0x13b)]=this[_0x17d81d(0x124)][_0x17d81d(0xd9)][_0x17d81d(0xa5)](_0x5c6ce1);}[_0x2e8627(0x65)](){const _0x5a16d3=_0x2e8627,_0x4a7379=this[_0x5a16d3(0x124)],_0x1f3edd=new ShowChangeCommand(_0x4a7379,{'direction':_0x5a16d3(0xd0)}),_0x14f6c1=new ShowChangeCommand(_0x4a7379,{'direction':_0x5a16d3(0xb7)});(_0x4a7379[_0x5a16d3(0xc2)][_0x5a16d3(0x119)](_0x5a16d3(0x10d),_0x1f3edd),_0x4a7379[_0x5a16d3(0xc2)][_0x5a16d3(0x119)](_0x5a16d3(0x1a6),_0x14f6c1),_0x4a7379[_0x5a16d3(0xc2)][_0x5a16d3(0x119)](_0x5a16d3(0xe2),new RestoreRevisionCommand(_0x4a7379)),this['on'](_0x5a16d3(0x182),()=>{const _0x1e16f1=_0x5a16d3;_0x1f3edd[_0x1e16f1(0xa0)](),_0x14f6c1[_0x1e16f1(0xa0)]();}),this[_0x5a16d3(0x174)](),this[_0x5a16d3(0x141)](),_0x4a7379[_0x5a16d3(0x17b)](_0x5a16d3(0x90)),_0x4a7379[_0x5a16d3(0xd9)][_0x5a16d3(0x98)](_0x5a16d3(0xbd)))&&_0x4a7379[_0x5a16d3(0xd9)][_0x5a16d3(0xa5)](_0x5a16d3(0xbd))[_0x5a16d3(0x176)](_0x5a16d3(0x90));}async[_0x2e8627(0x66)](_0x3b1099){const _0x5ba840=_0x2e8627;return await this[_0x5ba840(0xba)][_0x5ba840(0x135)](_0x3b1099,this[_0x5ba840(0x1a1)]),this[_0x5ba840(0xba)][_0x5ba840(0x66)](_0x3b1099);}async[_0x2e8627(0xdd)](_0x5aaeed){const _0x1089ed=_0x2e8627;return await this[_0x1089ed(0xba)][_0x1089ed(0x135)](_0x5aaeed,this[_0x1089ed(0x1a1)]),this[_0x1089ed(0xba)][_0x1089ed(0xdd)](_0x5aaeed);}async[_0x2e8627(0x153)](_0x4da49a,_0x4496e2,_0x4195c9=!0x1){const _0x2e2dba=_0x2e8627;if(!this[_0x2e2dba(0x166)])return;const _0x3c09a6=this[_0x2e2dba(0xaa)],_0x345458=this[_0x2e2dba(0xc3)],_0x16fcd4=_0x2e2dba(0xff)==typeof _0x4da49a?_0x345458[_0x2e2dba(0x99)](_0x4da49a):_0x4da49a,_0x556052=_0x2e2dba(0xff)==typeof _0x4496e2?_0x345458[_0x2e2dba(0x99)](_0x4496e2):_0x4496e2,_0x2594f4=_0x16fcd4['id'],_0x3e26a5=_0x556052?_0x556052['id']:null;if(!_0x4195c9&&this[_0x2e2dba(0xaa)]&&this[_0x2e2dba(0xaa)][_0x2e2dba(0xc7)]===_0x2594f4&&this[_0x2e2dba(0xaa)][_0x2e2dba(0xf0)]===_0x3e26a5)return Promise[_0x2e2dba(0x18a)]();this[_0x2e2dba(0xed)]=!0x1,this[_0x2e2dba(0x14c)]=null,this[_0x2e2dba(0x162)]=null,this[_0x2e2dba(0xaa)]=new _0x21f8d6(_0x2594f4,_0x3e26a5);const _0x1a108d=this[_0x2e2dba(0xf3)](_0x16fcd4,_0x556052,!0x0)[_0x2e2dba(0x19e)](_0x5c99f8=>this[_0x2e2dba(0xba)][_0x2e2dba(0x135)](_0x5c99f8,this[_0x2e2dba(0x1a1)]));return _0x1a108d[_0x2e2dba(0x105)](new Promise(_0x15e24=>{setTimeout(_0x15e24,0x14);})),Promise[_0x2e2dba(0xb3)](_0x1a108d)[_0x2e2dba(0xc9)](()=>{const _0x3a2923=_0x2e2dba;if(!this[_0x3a2923(0x166)])return;this[_0x3a2923(0x133)]();const _0x4cd7f7=this[_0x3a2923(0x110)](_0x2594f4,_0x3e26a5);for(const _0x4952b4 of _0x4cd7f7[_0x3a2923(0xe8)])this[_0x3a2923(0x16e)][_0x3a2923(0x1a9)](_0x4952b4['id'],_0x4952b4);this[_0x3a2923(0x124)][_0x3a2923(0xb6)][_0x3a2923(0x126)]({'isUndoable':!0x1},_0x3d67f2=>{const _0x43faf0=_0x3a2923;for(const _0x47efc3 of this[_0x43faf0(0x124)][_0x43faf0(0xb6)][_0x43faf0(0xe3)][_0x43faf0(0x76)]())_0x3d67f2[_0x43faf0(0x9b)](_0x47efc3);for(const _0x3fa442 of Object[_0x43faf0(0x17e)](_0x4cd7f7[_0x43faf0(0xb6)])){const _0x2b0099=_0x3d67f2[_0x43faf0(0x14b)](_0x3fa442);for(const _0x49eb59 of Object[_0x43faf0(0x17e)](_0x4cd7f7[_0x43faf0(0xcd)][_0x3fa442]))_0x3d67f2[_0x43faf0(0x84)](_0x49eb59,_0x4cd7f7[_0x43faf0(0xcd)][_0x3fa442][_0x49eb59],_0x2b0099);_0x3d67f2[_0x43faf0(0x15a)](_0x4cd7f7[_0x43faf0(0xb6)][_0x3fa442],_0x2b0099,0x0);}}),this[_0x3a2923(0xaa)][_0x3a2923(0x138)](this[_0x3a2923(0x17f)](_0x4cd7f7[_0x3a2923(0xe8)])),this[_0x3a2923(0xed)]=!0x0;})[_0x2e2dba(0xdc)](_0x6ef904=>{const _0x1ea251=_0x2e2dba;console[_0x1ea251(0xe1)](_0x6ef904),this[_0x1ea251(0x133)](),_0x3c09a6&&(this[_0x1ea251(0xaa)]=_0x3c09a6),this[_0x1ea251(0xed)]=!0x0;});}[_0x2e8627(0x15e)](_0x4f7003,_0xbb4b58){const _0x4baccc=_0x2e8627,_0x3eff21=this[_0x4baccc(0xc3)][_0x4baccc(0x113)](_0x4f7003);return _0x3eff21['on'](_0x4baccc(0x7f),(_0xd57176,_0x3a3773,_0x54f092)=>_0xbb4b58(_0x3a3773,_0x54f092,_0x3eff21)),this[_0x4baccc(0xc3)][_0x4baccc(0xe4)](_0x3eff21),_0x3eff21;}[_0x2e8627(0x133)](){const _0x365a85=_0x2e8627;this[_0x365a85(0x162)]=null,this[_0x365a85(0xb4)](),this[_0x365a85(0x167)]&&this[_0x365a85(0x167)][_0x365a85(0x164)](),this[_0x365a85(0x167)]=null,this[_0x365a85(0x16e)][_0x365a85(0x183)](),this[_0x365a85(0x124)][_0x365a85(0xb6)][_0x365a85(0x126)]({'isUndoable':!0x1},_0x4113e4=>{const _0x5a4b0f=_0x365a85;for(const _0x503543 of this[_0x5a4b0f(0x124)][_0x5a4b0f(0xb6)][_0x5a4b0f(0xe3)][_0x5a4b0f(0x76)]())_0x4113e4[_0x5a4b0f(0x9b)](_0x503543);});}[_0x2e8627(0x17f)](_0x9913b6){const _0x3f741e=_0x2e8627,_0x39f69d=[],_0x2d2970=new Map();for(const _0x1b7967 of this[_0x3f741e(0x124)][_0x3f741e(0xb6)][_0x3f741e(0xe3)][_0x3f741e(0x76)]()){const _0x4a4b04=this[_0x3f741e(0x124)][_0x3f741e(0x101)][_0x3f741e(0xb9)][_0x3f741e(0x150)](_0x1b7967);if(!_0x4a4b04)continue;const _0xfcd7f5=_0x4a4b04[_0x3f741e(0x19f)]()[_0x3f741e(0xbb)](0x0);_0xfcd7f5&&(_0x39f69d[_0x3f741e(0x105)](_0x1b7967),_0x2d2970[_0x3f741e(0x1a9)](_0x1b7967,_0xfcd7f5));}return _0x39f69d[_0x3f741e(0x8e)]((_0x184f03,_0x1f2f8e)=>{const _0xd141b3=_0x3f741e,_0x468767=_0x2d2970[_0xd141b3(0xa5)](_0x184f03),_0x5bb5cb=_0x2d2970[_0xd141b3(0xa5)](_0x1f2f8e);return _0x468767['y']-_0x5bb5cb['y']||_0x468767['x']-_0x5bb5cb['x'];}),(_0x9913b6=_0x9913b6[_0x3f741e(0x85)](_0x4a3127=>_0x39f69d[_0x3f741e(0xfb)](_0x4a3127[_0x3f741e(0x134)])))[_0x3f741e(0x8e)]((_0x1cc8e6,_0x5bb4fc)=>_0x39f69d[_0x3f741e(0x14f)](_0x1cc8e6[_0x3f741e(0x134)])-_0x39f69d[_0x3f741e(0x14f)](_0x5bb4fc[_0x3f741e(0x134)])),_0x9913b6;}[_0x2e8627(0x195)](_0x1a7342){const _0x4f135f=_0x2e8627,_0x365207=Array[_0x4f135f(0x118)](_0x1a7342[_0x4f135f(0x78)])[_0x4f135f(0x85)](([_0x562ff1,_0x2c7608])=>_0x562ff1[_0x4f135f(0x127)](_0x4f135f(0xa3))&&!_0x2c7608[_0x4f135f(0x6e)]),_0xffa96b=Array[_0x4f135f(0x118)](this[_0x4f135f(0x124)][_0x4f135f(0xb6)][_0x4f135f(0x11b)](_0x1a7342)[_0x4f135f(0xd2)]({'singleCharacters':!0x0}));if(0x0!=_0x365207[_0x4f135f(0xb2)])for(const _0x4ba63b of _0xffa96b){const [_0x1c699a,_0x1140c0]=_0x365207[0x0],[,_0x234b6b,_0x4fde74]=_0x1c699a[_0x4f135f(0xd6)](':');if(_0x1140c0[_0x4f135f(0x120)][_0x4f135f(0x139)](_0x4ba63b[_0x4f135f(0x7c)])&&_0x365207[_0x4f135f(0x112)](),(_0x4ba63b[_0x4f135f(0x6f)][_0x4f135f(0x139)](_0x1140c0[_0x4f135f(0xc1)])||_0x4ba63b[_0x4f135f(0x6f)][_0x4f135f(0x67)](_0x1140c0[_0x4f135f(0xc1)]))&&(_0x4f135f(0xe7)==_0x234b6b?_0x4ba63b[_0x4f135f(0x172)]={'userId':_0x4fde74}:_0x4f135f(0xa9)==_0x234b6b&&(_0x4ba63b[_0x4f135f(0xd7)]={'userId':_0x4fde74})),0x0==_0x365207[_0x4f135f(0xb2)])break;}return _0xffa96b;}[_0x2e8627(0x1a4)](_0x218681){const _0x26ebba=_0x2e8627,_0x12c9aa=new Map();for(let _0x5e5d7f=0x0;_0x5e5d7f<_0x218681[_0x26ebba(0xb2)];_0x5e5d7f++)_0x26ebba(0x170)===_0x218681[_0x5e5d7f][_0x26ebba(0xa1)]?(_0x218681[_0x5e5d7f][_0x26ebba(0xbb)][_0x26ebba(0x149)]=_0x5e5d7f,_0x218681[_0x5e5d7f][_0x26ebba(0xbb)][_0x26ebba(0x181)]=_0x5e5d7f):(_0x26ebba(0x194)===_0x218681[_0x5e5d7f][_0x26ebba(0xa1)]?_0x218681[_0x5e5d7f][_0x26ebba(0xbb)][_0x26ebba(0x149)]=_0x5e5d7f:_0x26ebba(0xf6)===_0x218681[_0x5e5d7f][_0x26ebba(0xa1)]&&(_0x218681[_0x5e5d7f][_0x26ebba(0xbb)][_0x26ebba(0x181)]=_0x5e5d7f),_0x12c9aa[_0x26ebba(0x1a9)](_0x218681[_0x5e5d7f]['id'],_0x5e5d7f));for(const _0x33f349 of _0x12c9aa[_0x26ebba(0x73)]())_0x26ebba(0x194)===_0x218681[_0x33f349][_0x26ebba(0xa1)]?_0x218681[_0x33f349][_0x26ebba(0xbb)][_0x26ebba(0x181)]=_0x12c9aa[_0x26ebba(0xa5)](_0x218681[_0x33f349][_0x26ebba(0x8c)]):_0x26ebba(0xf6)===_0x218681[_0x33f349][_0x26ebba(0xa1)]&&(_0x218681[_0x33f349][_0x26ebba(0xbb)][_0x26ebba(0x149)]=_0x12c9aa[_0x26ebba(0xa5)](_0x218681[_0x33f349][_0x26ebba(0x8c)]));}[_0x2e8627(0xa6)](_0x38452b){const _0x101d73=_0x2e8627;for(let _0x3f05fd=0x0;_0x3f05fd<_0x38452b[_0x101d73(0xb2)];_0x3f05fd++){if(_0x101d73(0x194)===_0x38452b[_0x3f05fd][_0x101d73(0xa1)])_0x38452b[_0x3f05fd][_0x101d73(0xbb)][_0x101d73(0x149)]=_0x3f05fd;else{if(_0x101d73(0xf6)===_0x38452b[_0x3f05fd][_0x101d73(0xa1)]){_0x38452b[_0x3f05fd][_0x101d73(0xbb)][_0x101d73(0x181)]=_0x3f05fd;const _0x834ef0=_0x38452b[_0x3f05fd][_0x101d73(0xbb)][_0x101d73(0x149)];_0x38452b[_0x834ef0][_0x101d73(0x8c)]=_0x38452b[_0x3f05fd]['id'],_0x38452b[_0x3f05fd][_0x101d73(0x8c)]=_0x38452b[_0x834ef0]['id'];}else _0x38452b[_0x3f05fd][_0x101d73(0xbb)][_0x101d73(0x149)]=_0x3f05fd,_0x38452b[_0x3f05fd][_0x101d73(0xbb)][_0x101d73(0x181)]=_0x3f05fd,_0x38452b[_0x3f05fd][_0x101d73(0x8c)]=null;}_0x38452b[_0x3f05fd][_0x101d73(0x8d)]||(_0x38452b[_0x3f05fd][_0x101d73(0x8d)]=[],_0x38452b[_0x3f05fd][_0x101d73(0x13a)]=[]);}}[_0x2e8627(0x180)](_0x443b4e,_0x632e47){const _0x234675=_0x2e8627,_0x52916f=_0x443b4e[_0x234675(0x85)](_0x402d4a=>!_0x402d4a[_0x234675(0x172)]);for(let _0x767f50=0x0;_0x767f50<_0x632e47[_0x234675(0xb2)];_0x767f50++)_0x632e47[_0x767f50][_0x234675(0x172)]&&(_0x52916f[_0x767f50][_0x234675(0x172)]=_0x632e47[_0x767f50][_0x234675(0x172)]);}[_0x2e8627(0x110)](_0xd2d479,_0x5bddf7=null){const _0x5144db=_0x2e8627,_0x10535b=this[_0x5144db(0xc3)][_0x5144db(0x99)](_0xd2d479),_0x5d36bc=_0x5bddf7?this[_0x5144db(0xc3)][_0x5144db(0x99)](_0x5bddf7):null,_0x1d18e2=this[_0x5144db(0xf3)](_0x10535b,_0x5d36bc),_0x5b4fd4=_0x1d18e2[_0x1d18e2[_0x5144db(0xb2)]-0x1],_0x4a6f4a=new Map(),_0xe89122={'model':{},'attributes':{},'changes':[]},_0x48065e=new Set(),_0x5a49e0=new Map();for(let _0x2ec76f=_0x1d18e2[_0x5144db(0xb2)]-0x1;_0x2ec76f>=0x0;_0x2ec76f--){const _0x309e1e=_0x1d18e2[_0x2ec76f];for(const _0x2bf4b3 of Object[_0x5144db(0x17e)](_0x309e1e[_0x5144db(0xa2)]))if(_0x309e1e[_0x5144db(0xa2)][_0x2bf4b3][_0x5144db(0x83)]){const _0x34a631=_0x309e1e[_0x5144db(0xa2)][_0x2bf4b3][_0x5144db(0x83)];_0x34a631[_0x5144db(0x10c)]?(_0x48065e[_0x5144db(0x119)](_0x2bf4b3),_0x5a49e0[_0x5144db(0x98)](_0x2bf4b3)&&_0x5a49e0[_0x5144db(0xa5)](_0x2bf4b3)[_0x5144db(0x19d)]==_0x34a631[_0x5144db(0x19d)]?_0x5a49e0[_0x5144db(0xb8)](_0x2bf4b3):_0x5a49e0[_0x5144db(0x1a9)](_0x2bf4b3,_0x34a631)):_0x5a49e0[_0x5144db(0x98)](_0x2bf4b3)?(_0x48065e[_0x5144db(0xb8)](_0x2bf4b3),_0x5a49e0[_0x5144db(0xb8)](_0x2bf4b3)):(_0x48065e[_0x5144db(0x119)](_0x2bf4b3),_0x5a49e0[_0x5144db(0x1a9)](_0x2bf4b3,_0x34a631));}else _0x48065e[_0x5144db(0x119)](_0x2bf4b3);}for(const _0x478272 of _0x48065e){const _0x43f8bc=_0x5a49e0[_0x5144db(0x98)](_0x478272)&&!_0x5a49e0[_0x5144db(0xa5)](_0x478272)[_0x5144db(0x10c)];let _0x3b14ed=_0x43f8bc?_0x1d18e2[_0x5144db(0xb2)]-0x1:0x0;const _0x145841=_0x43f8bc?-0x1:0x1;for(;_0x1d18e2[_0x3b14ed];){const _0x1e936e=_0x1d18e2[_0x3b14ed];if(_0x1e936e[_0x5144db(0xa2)][_0x478272]){const _0x5885a9=_0x43f8bc?_0x1e936e[_0x5144db(0xa2)][_0x478272][_0x5144db(0x140)]:_0x1e936e[_0x5144db(0xa2)][_0x478272][_0x5144db(0xef)];_0xe89122[_0x5144db(0xcd)][_0x478272]=_0x5885a9?_0x4be044(_0x5885a9):{};break;}_0x3b14ed+=_0x145841;}}for(const _0x21684d of _0x1d18e2){_0x21684d[_0x5144db(0xb6)]={};for(const _0x951d0c of _0x21684d[_0x5144db(0xfe)])_0x4a6f4a[_0x5144db(0x1a9)](_0x951d0c['id'],_0x951d0c);for(const _0x111a54 of _0x48065e){const _0x45e802=_0x21684d[_0x5144db(0xa2)][_0x111a54]?_0x21684d[_0x5144db(0xa2)][_0x111a54][_0x5144db(0x79)]:'[]',_0x50846a=_0x21684d[_0x5144db(0xa2)][_0x111a54]?_0x21684d[_0x5144db(0xa2)][_0x111a54][_0x5144db(0xfa)]:'[]';_0x21684d[_0x5144db(0xb6)][_0x111a54]={'insertions':this[_0x5144db(0xba)][_0x5144db(0x123)](_0x45e802),'deletions':this[_0x5144db(0xba)][_0x5144db(0x123)](_0x50846a)};}}for(const _0x89ab03 of _0x48065e){let _0x6ede93=null,_0x18464c=0x0;const _0x4bf7a0=new Map(Array[_0x5144db(0x118)](_0x10535b[_0x5144db(0xb6)][_0x89ab03][_0x5144db(0x79)][_0x5144db(0x78)])[_0x5144db(0x85)](([_0x413401])=>!_0x413401[_0x5144db(0x127)](_0x5144db(0xa3))));let _0x536108=0x0;for(const _0x55cd68 of _0x1d18e2){const _0x128771=this[_0x5144db(0x195)](_0x55cd68[_0x5144db(0xb6)][_0x89ab03][_0x5144db(0x79)]);_0x55cd68==_0x10535b?(_0x6ede93=_0x128771,_0x18464c=_0x6ede93[_0x5144db(0xb2)],_0x6ede93[_0x5144db(0x6b)](_0xca5ff4=>{_0xca5ff4['id']=_0x536108++;}),this[_0x5144db(0xa6)](_0x6ede93)):this[_0x5144db(0x180)](_0x6ede93,_0x128771);const _0x32eaaf=_0x6ede93[_0x5144db(0x85)](_0x1b7667=>!_0x1b7667[_0x5144db(0x172)])[_0x5144db(0x19e)](_0x4de139=>_0x4de139['id']);let _0x186c43=0x0;const _0x2ad96f=this[_0x5144db(0x195)](_0x55cd68[_0x5144db(0xb6)][_0x89ab03][_0x5144db(0xfa)]);_0x2ad96f[_0x5144db(0x6b)](_0x4fbe42=>{const _0x55fe22=_0x5144db;_0x4fbe42[_0x55fe22(0xd7)]?_0x4fbe42['id']=_0x18464c++:_0x4fbe42['id']=_0x32eaaf[_0x186c43++];}),this[_0x5144db(0xa6)](_0x2ad96f),this[_0x5144db(0x94)](_0x6ede93,_0x5144db(0x172)),this[_0x5144db(0x94)](_0x2ad96f,_0x5144db(0xd7)),_0x55cd68==_0x10535b&&this[_0x5144db(0xad)](_0x6ede93,_0x4bf7a0),_0x6ede93=this[_0x5144db(0x147)](_0x6ede93,_0x2ad96f),this[_0x5144db(0x1a4)](_0x6ede93),this[_0x5144db(0x94)](_0x6ede93,_0x5144db(0xd7));}_0x6ede93=_0x6ede93[_0x5144db(0x85)](_0x207a87=>!(_0x207a87[_0x5144db(0x172)]&&_0x207a87[_0x5144db(0xd7)]));const _0x39eecf=new Map(_0x5b4fd4[_0x5144db(0xb6)][_0x89ab03][_0x5144db(0xfa)][_0x5144db(0x78)]),_0x48022f=new Set(_0x4bf7a0[_0x5144db(0x17e)]());for(const _0x4489ae of _0x39eecf[_0x5144db(0x17e)]())_0x48022f[_0x5144db(0xb8)](_0x4489ae);this[_0x5144db(0x97)](_0x6ede93,_0x48022f),this[_0x5144db(0x137)](_0x6ede93),_0x6ede93=this[_0x5144db(0x81)](_0x6ede93),_0x6ede93=this[_0x5144db(0x19a)](_0x6ede93),_0x6ede93=this[_0x5144db(0x154)](_0x6ede93);const {root:_0x2050ac,changes:_0x1e7a40}=this[_0x5144db(0xf9)](_0x6ede93,_0x4a6f4a,_0x89ab03);_0xe89122[_0x5144db(0xb6)][_0x89ab03]=_0x2050ac;const _0x3cab1e=_0x5a49e0[_0x5144db(0xa5)](_0x89ab03);if(_0x3cab1e){const _0xafdb0=_0x4a6f4a[_0x5144db(0xa5)](_0x3cab1e[_0x5144db(0x19d)]),_0x4eac42=new _0x49c127({'author':_0xafdb0,'type':_0x3cab1e[_0x5144db(0x10c)]?_0x5144db(0x119):_0x5144db(0xc4),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x89ab03});_0x1e7a40[_0x5144db(0xca)](_0x4eac42),_0xe89122[_0x5144db(0xcd)][_0x89ab03][_0x5144db(0x114)]=_0x4eac42['id'];}_0xe89122[_0x5144db(0xe8)]=_0xe89122[_0x5144db(0xe8)][_0x5144db(0x100)](_0x1e7a40);}return _0xe89122;}[_0x2e8627(0xad)](_0x540775,_0x1425c0){const _0x32e11a=_0x2e8627;for(let _0xcc1717=0x0;_0xcc1717<_0x540775[_0x32e11a(0xb2)];_0xcc1717++)for(const [_0x578a36,_0x3e691f]of _0x1425c0)!_0x3e691f[_0x32e11a(0x6e)]&&_0x3e691f[_0x32e11a(0xc1)][_0x32e11a(0x139)](_0x540775[_0xcc1717][_0x32e11a(0x6f)])&&_0x540775[_0xcc1717][_0x32e11a(0x8d)][_0x32e11a(0x105)](_0x578a36),_0x3e691f[_0x32e11a(0x120)][_0x32e11a(0x139)](_0x540775[_0xcc1717][_0x32e11a(0x7c)])&&_0x540775[_0xcc1717][_0x32e11a(0x13a)][_0x32e11a(0x105)](_0x578a36);}[_0x2e8627(0x147)](_0x5f1d3c,_0x267fff){const _0x5d87c5=_0x2e8627;let _0x344bc7=[],_0x3e834b=0x0,_0x99641d=0x0;for(;_0x3e834b<_0x5f1d3c[_0x5d87c5(0xb2)]||_0x99641d<_0x267fff[_0x5d87c5(0xb2)];){const _0x5043d6=_0x5f1d3c[_0x3e834b]||{},_0x23c9d1=_0x267fff[_0x99641d]||{};if(_0x5043d6['id']==_0x23c9d1['id'])_0x3e834b++,_0x99641d++,_0x344bc7[_0x5d87c5(0x105)](_0x5043d6);else{if(_0x23c9d1[_0x5d87c5(0xd7)]&&_0x5043d6[_0x5d87c5(0x172)]){const {commonTape:_0x1360a3,iEnd:_0x30dc22,jEnd:_0x373b51}=this[_0x5d87c5(0x19b)](_0x5f1d3c,_0x3e834b,_0x267fff,_0x99641d);_0x344bc7=_0x344bc7[_0x5d87c5(0x100)](_0x1360a3),_0x3e834b=_0x30dc22,_0x99641d=_0x373b51;}else _0x23c9d1[_0x5d87c5(0xd7)]?(_0x99641d++,_0x344bc7[_0x5d87c5(0x105)](_0x23c9d1)):(_0x3e834b++,_0x344bc7[_0x5d87c5(0x105)](_0x5043d6));}}return _0x344bc7;}[_0x2e8627(0x97)](_0x1bc1f5,_0x34a15c){const _0x335b5a=_0x2e8627,_0x51367c=[];for(let _0x16472d=0x0;_0x16472d<_0x1bc1f5[_0x335b5a(0xb2)];_0x16472d++){for(let _0x3b3360=0x0;_0x3b3360<_0x1bc1f5[_0x16472d][_0x335b5a(0x8d)][_0x335b5a(0xb2)];_0x3b3360++){const _0x5a1bea=_0x1bc1f5[_0x16472d][_0x335b5a(0x8d)][_0x3b3360];if(!_0x34a15c[_0x335b5a(0x98)](_0x5a1bea))continue;const {group:_0x293dcf,type:_0x564c80,authorId:_0x47aaac}=_0x13a62c(_0x5a1bea);_0x335b5a(0x18d)!=_0x293dcf||_0x335b5a(0xe7)!=_0x564c80&&_0x335b5a(0xa9)!=_0x564c80||(_0x51367c[_0x335b5a(0xca)]({'type':_0x564c80,'name':_0x5a1bea,'userId':_0x47aaac}),_0x1bc1f5[_0x16472d][_0x335b5a(0x8d)][_0x335b5a(0x121)](_0x3b3360,0x1),_0x3b3360--);}_0x598474(_0x1bc1f5[_0x16472d]);for(let _0x1c4fb4=0x0;_0x1c4fb4<_0x1bc1f5[_0x16472d][_0x335b5a(0x13a)][_0x335b5a(0xb2)];_0x1c4fb4++){const _0x23f35b=_0x1bc1f5[_0x16472d][_0x335b5a(0x13a)][_0x1c4fb4];if(!_0x34a15c[_0x335b5a(0x98)](_0x23f35b))continue;const {group:_0xf8c499,type:_0x2b2c9c}=_0x13a62c(_0x23f35b);if(_0x335b5a(0x18d)!=_0xf8c499||_0x335b5a(0xe7)!=_0x2b2c9c&&_0x335b5a(0xa9)!=_0x2b2c9c)continue;_0x1bc1f5[_0x16472d][_0x335b5a(0x13a)][_0x335b5a(0x121)](_0x1c4fb4,0x1),_0x1c4fb4--;const _0x20d34d=_0x51367c[_0x335b5a(0xae)](_0x544b5e=>_0x544b5e[_0x335b5a(0x15f)]==_0x23f35b);_0x20d34d>-0x1&&_0x51367c[_0x335b5a(0x121)](_0x20d34d,0x1);}}function _0x13a62c(_0x4a7826){const _0x467e7e=_0x335b5a,_0x559c03=_0x4a7826[_0x467e7e(0xd6)](':');return{'group':_0x559c03[0x0],'type':_0x559c03[0x1],'subType':_0x559c03[_0x467e7e(0xb2)]>=0x5?_0x559c03[0x2]:null,'id':_0x559c03[_0x467e7e(0xb2)]<0x5?_0x559c03[0x2]:_0x559c03[0x3],'authorId':_0x559c03[_0x467e7e(0xb2)]<0x5?_0x559c03[0x3]:_0x559c03[0x4],'markerCount':0x6==_0x559c03[_0x467e7e(0xb2)]?_0x559c03[0x5]:null};}function _0x598474(_0x1ee6a5){const _0xa1a840=_0x335b5a;for(let _0x49e711=0x0;_0x49e711<_0x51367c[_0xa1a840(0xb2)];_0x49e711++){if(_0x1ee6a5[_0xa1a840(0x172)]&&_0xa1a840(0xe7)==_0x51367c[_0x49e711][_0xa1a840(0xa1)]&&_0x1ee6a5[_0xa1a840(0x172)][_0xa1a840(0x19d)]==_0x51367c[_0x49e711][_0xa1a840(0x19d)])return _0x1ee6a5[_0xa1a840(0x72)]=_0x51367c[_0x49e711],void delete _0x1ee6a5[_0xa1a840(0x172)];if(!_0x1ee6a5[_0xa1a840(0x172)]&&!_0x1ee6a5[_0xa1a840(0xd7)]&&_0xa1a840(0xa9)==_0x51367c[_0x49e711][_0xa1a840(0xa1)])return void(_0x1ee6a5[_0xa1a840(0xbf)]=_0x51367c[_0x49e711]);}}}[_0x2e8627(0x94)](_0x2fd3e6,_0x38defb){const _0x46a348=_0x2e8627;let _0xbd873d=0x0,_0x334d6e=!0x1;const _0xd56af3=new Map();for(const _0x35430c of _0x2fd3e6)_0x35430c[_0x38defb]?_0x334d6e&&(_0xbd873d++,_0x334d6e=!0x1):(_0xbd873d++,_0x334d6e=!0x0),_0xd56af3[_0x46a348(0x1a9)](_0x35430c['id'],_0xbd873d);for(let _0x5c4b6d=0x0;_0x5c4b6d<_0x2fd3e6[_0x46a348(0xb2)];_0x5c4b6d++){if(_0x46a348(0xd7)==_0x38defb&&_0x2fd3e6[_0x5c4b6d][_0x46a348(0x172)]||_0x46a348(0x172)==_0x38defb&&_0x2fd3e6[_0x5c4b6d][_0x46a348(0xd7)])continue;if(_0x46a348(0x170)==_0x2fd3e6[_0x5c4b6d][_0x46a348(0xa1)]){_0x2fd3e6[_0x5c4b6d][_0x46a348(0xdf)]=0x0;continue;}const _0x433c31=_0xd56af3[_0x46a348(0xa5)](_0x2fd3e6[_0x5c4b6d][_0x46a348(0x8c)]),_0x326245=_0xd56af3[_0x46a348(0xa5)](_0x2fd3e6[_0x5c4b6d]['id']);_0x2fd3e6[_0x5c4b6d][_0x46a348(0xdf)]=_0x433c31-_0x326245;}}[_0x2e8627(0xf3)](_0x57d2d8,_0x42a611,_0xf85a95=!0x1){const _0x3895cb=_0x2e8627,_0x58016a=[];let _0x220fe0=this[_0x3895cb(0xc3)][_0x3895cb(0xee)](_0x57d2d8),_0x461b83=this[_0x3895cb(0xc3)][_0x3895cb(0xee)](_0x42a611);for(-0x1==_0x461b83&&(_0x461b83=this[_0x3895cb(0xc3)][_0x3895cb(0x117)][_0x3895cb(0xb2)],_0xf85a95=!0x1);_0x220fe0<_0x461b83;)_0x58016a[_0x3895cb(0x105)](this[_0x3895cb(0xc3)][_0x3895cb(0x99)](_0x220fe0)),_0x220fe0++;return _0xf85a95&&_0x58016a[_0x3895cb(0x105)](this[_0x3895cb(0xc3)][_0x3895cb(0x99)](_0x220fe0)),_0x58016a;}[_0x2e8627(0x19b)](_0x311d16,_0x359bb0,_0x525837,_0x237583){const _0x2aed38=_0x2e8627,_0x14456b=this[_0x2aed38(0x124)][_0x2aed38(0xb6)][_0x2aed38(0x160)];let _0x2825ca=_0x359bb0;for(;_0x311d16[_0x2825ca]&&_0x311d16[_0x2825ca][_0x2aed38(0x172)];)_0x2825ca++;let _0x13e949=_0x237583;for(;_0x525837[_0x13e949]&&_0x525837[_0x13e949][_0x2aed38(0xd7)];)_0x13e949++;_0x2e31c3(_0x311d16,_0x359bb0,_0x2825ca),_0x2e31c3(_0x525837,_0x237583,_0x13e949);const _0x89e17a=_0x525837[_0x2aed38(0xf2)](_0x237583,_0x13e949)[_0x2aed38(0x100)](_0x311d16[_0x2aed38(0xf2)](_0x359bb0,_0x2825ca));return _0x89e17a[_0x2aed38(0x8e)]((_0x2048d9,_0x3d102f)=>_0x2048d9[_0x2aed38(0x1a8)]!=_0x3d102f[_0x2aed38(0x1a8)]?_0x2048d9[_0x2aed38(0x1a8)]-_0x3d102f[_0x2aed38(0x1a8)]:_0x2048d9[_0x2aed38(0x132)]!=_0x3d102f[_0x2aed38(0x132)]?_0x2048d9[_0x2aed38(0x132)]-_0x3d102f[_0x2aed38(0x132)]:_0x2048d9[_0x2aed38(0xdf)]!=_0x3d102f[_0x2aed38(0xdf)]?_0x3d102f[_0x2aed38(0xdf)]-_0x2048d9[_0x2aed38(0xdf)]:!!_0x2048d9[_0x2aed38(0x172)]!=!!_0x3d102f[_0x2aed38(0x172)]?-0x1==_0x2048d9[_0x2aed38(0x1a8)]||0x0==_0x2048d9[_0x2aed38(0x1a8)]?_0x2048d9[_0x2aed38(0x172)]?-0x1:0x1:_0x2048d9[_0x2aed38(0x172)]?0x1:-0x1:_0x2048d9[_0x2aed38(0x11a)]-_0x3d102f[_0x2aed38(0x11a)]),{'commonTape':_0x89e17a,'iEnd':_0x2825ca,'jEnd':_0x13e949};function _0x2e31c3(_0x37555b,_0x4fa079,_0x2e1a87){const _0x5d2b33=_0x2aed38;let _0x6fb4ec=-0x1,_0x4379e7=Number[_0x5d2b33(0x197)],_0xe29501=!0x0;for(let _0x9c2ebc=_0x4fa079;_0x9c2ebc<_0x2e1a87;_0x9c2ebc++)if(_0x14456b[_0x5d2b33(0xa8)](_0x37555b[_0x9c2ebc][_0x5d2b33(0xbb)])||(_0xe29501=!0x1),_0x37555b[_0x9c2ebc][_0x5d2b33(0xbb)][_0x5d2b33(0x149)]<_0x4fa079&&(_0x6fb4ec=_0x9c2ebc),_0x37555b[_0x9c2ebc][_0x5d2b33(0xbb)][_0x5d2b33(0x181)]>=_0x2e1a87){_0x4379e7=_0x9c2ebc;break;}_0xe29501&&(_0x6fb4ec=_0x2e1a87-0x1);for(let _0x48b34d=_0x4fa079;_0x48b34d<_0x2e1a87;_0x48b34d++)_0x37555b[_0x48b34d][_0x5d2b33(0x1a8)]=_0x48b34d<=_0x6fb4ec?-0x1:_0x48b34d<_0x4379e7?0x0:0x1,_0x37555b[_0x48b34d][_0x5d2b33(0x11a)]=_0x48b34d;let _0x7bed0a=0x0;for(let _0x11b7fa=_0x4fa079;_0x11b7fa<=_0x6fb4ec;_0x11b7fa++)0x0==_0x37555b[_0x11b7fa][_0x5d2b33(0xdf)]?_0x37555b[_0x11b7fa][_0x5d2b33(0x132)]=_0x7bed0a:(_0x7bed0a++,_0x37555b[_0x11b7fa][_0x5d2b33(0x132)]=_0x7bed0a,_0x7bed0a++);for(let _0x4931ad=_0x4fa079;_0x4931ad<_0x2e1a87;_0x4931ad++)0x0==_0x37555b[_0x4931ad][_0x5d2b33(0x1a8)]&&(_0x37555b[_0x4931ad][_0x5d2b33(0x132)]=_0x7bed0a);_0x7bed0a=0x0;for(let _0x342321=_0x2e1a87-0x1;_0x342321>=_0x4379e7;_0x342321--)0x0==_0x37555b[_0x342321][_0x5d2b33(0xdf)]?_0x37555b[_0x342321][_0x5d2b33(0x132)]=_0x7bed0a:(_0x7bed0a--,_0x37555b[_0x342321][_0x5d2b33(0x132)]=_0x7bed0a,_0x7bed0a--);}}[_0x2e8627(0x137)](_0x854e4b){const _0x1e0f2f=_0x2e8627,_0x51e785=new Map(),_0x280c0b=this[_0x1e0f2f(0x124)][_0x1e0f2f(0xb6)][_0x1e0f2f(0x160)];for(let _0x1855fb=0x1;_0x1855fb<_0x854e4b[_0x1e0f2f(0xb2)];_0x1855fb++){let _0x2243e3,_0x598cf4,_0x988eed;const _0x5e987f=_0x854e4b[_0x1855fb],_0x2321bf=_0x854e4b[_0x1855fb-0x1];if(_0x1e0f2f(0x170)==_0x5e987f[_0x1e0f2f(0xa1)])continue;if(_0x5e987f[_0x1e0f2f(0xa1)]!=_0x2321bf[_0x1e0f2f(0xa1)])continue;if(!_0x280c0b[_0x1e0f2f(0x189)](_0x2321bf[_0x1e0f2f(0xbb)])||_0x280c0b[_0x1e0f2f(0x145)](_0x2321bf[_0x1e0f2f(0xbb)]))continue;if(!_0x280c0b[_0x1e0f2f(0x189)](_0x5e987f[_0x1e0f2f(0xbb)])||_0x280c0b[_0x1e0f2f(0x145)](_0x5e987f[_0x1e0f2f(0xbb)]))continue;if((_0x854e4b[_0x1855fb][_0x1e0f2f(0x172)]||_0x854e4b[_0x1855fb][_0x1e0f2f(0x72)])&&_0x854e4b[_0x1855fb-0x1][_0x1e0f2f(0xd7)])_0x2243e3=_0x854e4b[_0x1855fb],_0x598cf4=_0x854e4b[_0x1855fb-0x1],_0x988eed=_0x1855fb-0x1;else{if(!_0x854e4b[_0x1855fb][_0x1e0f2f(0xd7)]||!_0x854e4b[_0x1855fb-0x1][_0x1e0f2f(0x172)]&&!_0x854e4b[_0x1855fb-0x1][_0x1e0f2f(0x72)])continue;_0x2243e3=_0x854e4b[_0x1855fb-0x1],_0x598cf4=_0x854e4b[_0x1855fb],_0x988eed=_0x1855fb;}const _0x31fa3a=_0x2243e3[_0x1e0f2f(0x132)]==_0x598cf4[_0x1e0f2f(0x132)],_0xeb1df2=Math[_0x1e0f2f(0xc5)](_0x2243e3[_0x1e0f2f(0x132)])<Math[_0x1e0f2f(0xc5)](_0x598cf4[_0x1e0f2f(0x132)])&&0x0==_0x598cf4[_0x1e0f2f(0xdf)];(_0x31fa3a||_0xeb1df2)&&(_0x51e785[_0x1e0f2f(0x1a9)](_0x598cf4['id'],_0x2243e3['id']),_0x854e4b[_0x1e0f2f(0x121)](_0x988eed,0x1),_0x1855fb--,_0x2243e3[_0x1e0f2f(0x172)]=!0x1);}for(let _0x47a990=0x0;_0x47a990<_0x854e4b[_0x1e0f2f(0xb2)];_0x47a990++)_0x51e785[_0x1e0f2f(0x98)](_0x854e4b[_0x47a990][_0x1e0f2f(0x8c)])&&(_0x854e4b[_0x47a990][_0x1e0f2f(0x8c)]=_0x51e785[_0x1e0f2f(0xa5)](_0x854e4b[_0x47a990][_0x1e0f2f(0x8c)]));}[_0x2e8627(0x81)](_0x57a161){const _0x171d36=_0x2e8627,_0x2f1cf9=new Set(_0x57a161[_0x171d36(0x19e)](_0x34074f=>_0x34074f['id']));for(let _0xcf6109=0x0;_0xcf6109<_0x57a161[_0x171d36(0xb2)];_0xcf6109++)_0x2f1cf9[_0x171d36(0x98)](_0x57a161[_0xcf6109][_0x171d36(0x8c)])||0x0==_0x57a161[_0xcf6109][_0x171d36(0xdf)]||(_0x57a161[_0xcf6109][_0x171d36(0xf5)]=!0x0);return _0x57a161[_0x171d36(0x85)](_0x50fea3=>!_0x50fea3[_0x171d36(0xf5)]);}[_0x2e8627(0x19a)](_0x50ff71){const _0x3b5c00=_0x2e8627,_0x533899=new Set();for(let _0xfedeac=0x0;_0xfedeac<_0x50ff71[_0x3b5c00(0xb2)];_0xfedeac++){if(_0x533899[_0x3b5c00(0x98)](_0x50ff71[_0xfedeac]['id'])&&_0x50ff71[_0xfedeac][_0x3b5c00(0xd7)]&&(_0x50ff71[_0xfedeac][_0x3b5c00(0xf5)]=!0x0),_0x50ff71[_0xfedeac][_0x3b5c00(0xf5)])continue;if(0x0==_0x50ff71[_0xfedeac][_0x3b5c00(0xdf)])continue;if(_0x3b5c00(0x194)!=_0x50ff71[_0xfedeac][_0x3b5c00(0xa1)])continue;if(null==_0x50ff71[_0xfedeac][_0x3b5c00(0x8c)])continue;let _0x5f4b79=_0xfedeac+0x1,_0x45bbf1=0x0;for(;_0x50ff71[_0x5f4b79]['id']!=_0x50ff71[_0xfedeac][_0x3b5c00(0x8c)];)_0x3b5c00(0x194)==_0x50ff71[_0x5f4b79][_0x3b5c00(0xa1)]?_0x45bbf1++:_0x3b5c00(0xf6)==_0x50ff71[_0x5f4b79][_0x3b5c00(0xa1)]&&_0x45bbf1--,_0x5f4b79++;if(0x0!=_0x45bbf1){if(_0x50ff71[_0xfedeac][_0x3b5c00(0xd7)])_0x50ff71[_0xfedeac][_0x3b5c00(0xf5)]=!0x0;else{for(;_0x5f4b79!=_0xfedeac;)_0x50ff71[_0x5f4b79][_0x3b5c00(0xd7)]&&0x0!=_0x50ff71[_0x5f4b79][_0x3b5c00(0xdf)]&&(_0x50ff71[_0x5f4b79][_0x3b5c00(0xf5)]=!0x0,_0x533899[_0x3b5c00(0x119)](_0x50ff71[_0x5f4b79][_0x3b5c00(0x8c)])),_0x5f4b79--;}}}return _0x50ff71[_0x3b5c00(0x85)](_0x3e2276=>!_0x3e2276[_0x3b5c00(0xf5)]);}[_0x2e8627(0x154)](_0x1deb37){const _0x234ddf=_0x2e8627,_0x42088d=this[_0x234ddf(0x124)][_0x234ddf(0xb6)][_0x234ddf(0x160)];for(let _0x2c6c6e=0x0;_0x2c6c6e<_0x1deb37[_0x234ddf(0xb2)];_0x2c6c6e++){if(!(_0x1deb37[_0x2c6c6e][_0x234ddf(0x172)]||_0x1deb37[_0x2c6c6e][_0x234ddf(0x72)]||_0x1deb37[_0x2c6c6e][_0x234ddf(0xd7)]||_0x1deb37[_0x2c6c6e][_0x234ddf(0xbf)]))continue;if(0x0==_0x1deb37[_0x2c6c6e][_0x234ddf(0xdf)])continue;const _0x21dd9c=_0x1deb37[_0x2c6c6e][_0x234ddf(0xbb)];_0x42088d[_0x234ddf(0x189)](_0x21dd9c)||_0x42088d[_0x234ddf(0x145)](_0x21dd9c)||(_0x1deb37[_0x2c6c6e][_0x234ddf(0x172)]&&delete _0x1deb37[_0x2c6c6e][_0x234ddf(0x172)],_0x1deb37[_0x2c6c6e][_0x234ddf(0x72)]&&delete _0x1deb37[_0x2c6c6e][_0x234ddf(0x72)],_0x1deb37[_0x2c6c6e][_0x234ddf(0xbf)]&&delete _0x1deb37[_0x2c6c6e][_0x234ddf(0xbf)],_0x1deb37[_0x2c6c6e][_0x234ddf(0xd7)]&&(_0x1deb37[_0x2c6c6e][_0x234ddf(0xf5)]=!0x0));}return _0x1deb37[_0x234ddf(0x85)](_0x1137cd=>!_0x1137cd[_0x234ddf(0xf5)]);}[_0x2e8627(0xf9)](_0x592452,_0x513677,_0x4fae22){const _0x1f5228=_0x2e8627,_0x500d98=new _0x322d05(),_0x5b225b=[],_0x8b599a=new Map(),_0xed1bb=this[_0x1f5228(0x124)][_0x1f5228(0xb6)],_0x28d3cc=_0xed1bb[_0x1f5228(0x160)],_0x4079c1=[_0x500d98],_0x1d3521={},_0x17311c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3322e8=null;const _0x2faa2b=[0x0];for(let _0x20b0a4=0x0;_0x20b0a4<_0x592452[_0x1f5228(0xb2)];_0x20b0a4++)if(_0x1f5228(0x194)===_0x592452[_0x20b0a4][_0x1f5228(0xa1)]){_0x592452[_0x20b0a4][_0x1f5228(0x6f)]=_0xed1bb[_0x1f5228(0xa7)](_0x500d98,_0x2faa2b);const _0x5f5a16=new _0x47c77f(_0x592452[_0x20b0a4][_0x1f5228(0xbb)][_0x1f5228(0x15f)],_0x592452[_0x20b0a4][_0x1f5228(0xbb)][_0x1f5228(0x193)]());_0x4079c1[0x0][_0x1f5228(0x88)](_0x5f5a16),_0x2faa2b[_0x1f5228(0x105)](0x0),_0x4079c1[_0x1f5228(0xca)](_0x5f5a16),_0x592452[_0x20b0a4][_0x1f5228(0x7c)]=_0xed1bb[_0x1f5228(0xa7)](_0x500d98,_0x2faa2b);}else _0x1f5228(0xf6)===_0x592452[_0x20b0a4][_0x1f5228(0xa1)]?(_0x4079c1[_0x1f5228(0x112)](),_0x592452[_0x20b0a4][_0x1f5228(0x6f)]=_0xed1bb[_0x1f5228(0xa7)](_0x500d98,_0x2faa2b),_0x2faa2b[_0x1f5228(0x7e)](),_0x2faa2b[_0x2faa2b[_0x1f5228(0xb2)]-0x1]++,_0x592452[_0x20b0a4][_0x1f5228(0x7c)]=_0xed1bb[_0x1f5228(0xa7)](_0x500d98,_0x2faa2b)):(_0x592452[_0x20b0a4][_0x1f5228(0x6f)]=_0xed1bb[_0x1f5228(0xa7)](_0x500d98,_0x2faa2b),_0x3322e8?_0x3322e8[_0x1f5228(0xc6)]+=_0x592452[_0x20b0a4][_0x1f5228(0xbb)][_0x1f5228(0xf1)]:_0x3322e8=new _0x192f5f(_0x592452[_0x20b0a4][_0x1f5228(0xbb)][_0x1f5228(0xf1)],_0x592452[_0x20b0a4][_0x1f5228(0xbb)][_0x1f5228(0x193)]()),_0x592452[_0x20b0a4+0x1]&&_0x1f5228(0x170)===_0x592452[_0x20b0a4+0x1][_0x1f5228(0xa1)]&&_0x55ad3a(_0x3322e8,_0x592452[_0x20b0a4+0x1][_0x1f5228(0xbb)])||(_0x4079c1[0x0][_0x1f5228(0x88)](_0x3322e8),_0x3322e8=null),_0x2faa2b[_0x2faa2b[_0x1f5228(0xb2)]-0x1]+=_0x592452[_0x20b0a4][_0x1f5228(0xbb)][_0x1f5228(0x179)],_0x592452[_0x20b0a4][_0x1f5228(0x7c)]=_0xed1bb[_0x1f5228(0xa7)](_0x500d98,_0x2faa2b));for(let _0x50555c=0x0;_0x50555c<_0x592452[_0x1f5228(0xb2)];_0x50555c++){const _0x353236=_0x592452[_0x50555c][_0x1f5228(0x6f)],_0x16ae03=_0x592452[_0x50555c][_0x1f5228(0x7c)];for(const _0x4856a5 of _0x592452[_0x50555c][_0x1f5228(0x8d)])_0x8b599a[_0x1f5228(0x1a9)](_0x4856a5,{'start':_0x353236,'end':null});_0x25f161(_0x1f5228(0xbf),_0x50555c,_0x353236,_0x16ae03),_0x25f161(_0x1f5228(0x72),_0x50555c,_0x353236,_0x16ae03),_0x25f161(_0x1f5228(0xd7),_0x50555c,_0x353236,_0x16ae03),_0x25f161(_0x1f5228(0x172),_0x50555c,_0x353236,_0x16ae03);for(const _0xfad992 of _0x592452[_0x50555c][_0x1f5228(0x13a)]){const _0x2bec89=_0x8b599a[_0x1f5228(0xa5)](_0xfad992);_0x2bec89?_0x2bec89[_0x1f5228(0x120)]=_0x16ae03:_0x8b599a[_0x1f5228(0x1a9)](_0xfad992,{'start':_0x16ae03,'end':_0x16ae03});}}for(const [_0x5d560d,_0x21fa91]of _0x8b599a){const _0x554fb1=this[_0x1f5228(0x124)][_0x1f5228(0xb6)][_0x1f5228(0x8b)](_0x21fa91[_0x1f5228(0xc1)],_0x21fa91[_0x1f5228(0x120)]);_0x500d98[_0x1f5228(0x78)][_0x1f5228(0x1a9)](_0x5d560d,_0x554fb1);}return _0x5b225b[_0x1f5228(0x8e)]((_0x56632c,_0x18fed3)=>{const _0x1e8c09=_0x1f5228,_0x34bdae=_0x500d98[_0x1e8c09(0x78)][_0x1e8c09(0xa5)](_0x1e8c09(0xa3)+_0x56632c['id']),_0x52e9f5=_0x500d98[_0x1e8c09(0x78)][_0x1e8c09(0xa5)](_0x1e8c09(0xa3)+_0x18fed3['id']);return _0x34bdae[_0x1e8c09(0xc1)][_0x1e8c09(0x16d)](_0x52e9f5[_0x1e8c09(0xc1)])?-0x1:_0x34bdae[_0x1e8c09(0xc1)][_0x1e8c09(0x67)](_0x52e9f5[_0x1e8c09(0xc1)])?0x1:_0x34bdae[_0x1e8c09(0x120)][_0x1e8c09(0x16d)](_0x52e9f5[_0x1e8c09(0x120)])?-0x1:_0x34bdae[_0x1e8c09(0x120)][_0x1e8c09(0x67)](_0x52e9f5[_0x1e8c09(0x120)])?0x1:_0x1e8c09(0x119)===_0x56632c[_0x1e8c09(0xa1)]?-0x1:0x1;}),{'root':_0x500d98,'changes':_0x5b225b};function _0x25f161(_0x2f69f1,_0x3f8ea6,_0x45dd42,_0x332b40){const _0x2abd88=_0x1f5228,_0x323ed7=!!_0x592452[_0x3f8ea6][_0x2f69f1],_0x2e8326=_0x323ed7?_0x592452[_0x3f8ea6][_0x2f69f1][_0x2abd88(0x19d)]:null,_0x2a8f24=_0x3f8ea6===_0x592452[_0x2abd88(0xb2)]-0x1,_0x4d3793=_0x17311c[_0x2f69f1][0x0],_0x2942a3=_0x28d3cc[_0x2abd88(0x7b)](_0x592452[_0x3f8ea6][_0x2abd88(0xbb)]);!_0x1d3521[_0x2f69f1]&&_0x323ed7?_0x1d3521[_0x2f69f1]={'start':_0x45dd42,'tapeItem':_0x592452[_0x3f8ea6],'userId':_0x2e8326,'type':_0x2f69f1}:_0x1d3521[_0x2f69f1]&&!_0x323ed7?(_0x1d3521[_0x2f69f1][_0x2abd88(0x120)]=_0x45dd42,_0x45f085(_0x1d3521[_0x2f69f1]),_0x1d3521[_0x2f69f1]=null):_0x1d3521[_0x2f69f1]&&_0x323ed7&&_0x1d3521[_0x2f69f1][_0x2abd88(0x19d)]!==_0x2e8326&&(_0x1d3521[_0x2f69f1][_0x2abd88(0x120)]=_0x45dd42,_0x4d3793&&_0x4d3793[_0x2abd88(0x19d)]===_0x1d3521[_0x2f69f1][_0x2abd88(0x19d)]||_0x45f085(_0x1d3521[_0x2f69f1]),_0x1d3521[_0x2f69f1]={'start':_0x45dd42,'tapeItem':_0x592452[_0x3f8ea6],'userId':_0x2e8326,'type':_0x2f69f1}),_0x1d3521[_0x2f69f1]&&_0x2942a3&&(_0x2abd88(0x194)!==_0x592452[_0x3f8ea6][_0x2abd88(0xa1)]||_0x4d3793&&_0x4d3793[_0x2abd88(0x19d)]===_0x2e8326||_0x17311c[_0x2f69f1][_0x2abd88(0xca)]({'userId':_0x2e8326,'object':_0x592452[_0x3f8ea6][_0x2abd88(0xbb)],'change':_0x1d3521[_0x2f69f1]}),_0x2abd88(0xf6)===_0x592452[_0x3f8ea6][_0x2abd88(0xa1)]&&_0x4d3793&&_0x4d3793[_0x2abd88(0x106)]===_0x592452[_0x3f8ea6][_0x2abd88(0xbb)]&&(_0x17311c[_0x2f69f1][_0x2abd88(0x112)](),_0x1d3521[_0x2f69f1]=_0x4d3793[_0x2abd88(0xf8)])),_0x1d3521[_0x2f69f1]&&_0x2a8f24&&(_0x1d3521[_0x2f69f1][_0x2abd88(0x120)]=_0x332b40,_0x45f085(_0x1d3521[_0x2f69f1]),_0x1d3521[_0x2f69f1]=null);}function _0x45f085({start:_0x4a3ab9,end:_0x3c244d,tapeItem:_0x1f7a76,userId:_0x43c728,type:_0x5e9e71}){const _0x1a182b=_0x1f5228,_0x1e31cc=_0x1f7a76[_0x1a182b(0xbb)],_0x943355=_0xed1bb[_0x1a182b(0x160)][_0x1a182b(0x189)](_0x1e31cc)&&!_0xed1bb[_0x1a182b(0x160)][_0x1a182b(0x145)](_0x1e31cc),_0x5921f2=_0x4a3ab9[_0x1a182b(0x196)]==_0x3c244d[_0x1a182b(0xec)]&&_0x3c244d[_0x1a182b(0x173)];if(_0x943355&&_0x5921f2)return;const _0x38120a=_0xed1bb[_0x1a182b(0x8b)](_0x4a3ab9,_0x3c244d),_0xb296ed=_0x513677[_0x1a182b(0xa5)](_0x43c728),_0x5bf4b2=new _0x49c127({'author':_0xb296ed,'type':_0x1a182b(0x172)==_0x5e9e71||_0x1a182b(0x72)==_0x5e9e71?_0x1a182b(0x119):_0x1a182b(0xc4),'data':{'isSuggestion':_0x1a182b(0x72)==_0x5e9e71||_0x1a182b(0xbf)==_0x5e9e71},'createdAt':new Date(),'rootName':_0x4fae22});_0x5b225b[_0x1a182b(0x105)](_0x5bf4b2),_0x500d98[_0x1a182b(0x78)][_0x1a182b(0x1a9)](_0x1a182b(0xa3)+_0x5bf4b2['id'],_0x38120a);}function _0x55ad3a(_0x3f304c,_0x4444ac){const _0x1910af=_0x1f5228,_0x271bd9=_0x3f304c[_0x1910af(0x193)](),_0x117a02=_0x4444ac[_0x1910af(0x193)]();for(const _0x5e5a8c of _0x271bd9){if(_0x5e5a8c[0x1]!==_0x4444ac[_0x1910af(0x11f)](_0x5e5a8c[0x0]))return!0x1;_0x117a02[_0x1910af(0xda)]();}return _0x117a02[_0x1910af(0xda)]()[_0x1910af(0x6c)];}}[_0x2e8627(0x174)](){const _0x13589a=_0x2e8627;this[_0x13589a(0x124)][_0x13589a(0x17a)][_0x13589a(0x130)](_0x13589a(0x6d))[_0x13589a(0x9d)]({'view':_0x13589a(0x159)}),this[_0x13589a(0x124)][_0x13589a(0x17a)][_0x13589a(0x130)](_0x13589a(0x1a7))[_0x13589a(0x168)]({'model':_0x13589a(0x159),'view':_0x277da1=>{const _0x476c0b=_0x13589a,_0x851025=_0x277da1[_0x476c0b(0xbe)][_0x476c0b(0xd6)](':')[0x1],_0x172899=this[_0x476c0b(0x8f)](_0x851025);if(!_0x172899)return null;const _0x441280=_0x476c0b(0x119)==_0x172899[_0x476c0b(0xa1)]?_0x476c0b(0xe7):_0x476c0b(0xa9),_0x653e38=[_0x476c0b(0xb0),_0x476c0b(0x184)+_0x441280];return _0x172899[_0x476c0b(0xf1)][_0x476c0b(0x77)]&&_0x653e38[_0x476c0b(0x105)](_0x476c0b(0x184)+_0x441280+_0x476c0b(0x178)),this[_0x476c0b(0x162)]==_0x172899&&_0x653e38[_0x476c0b(0x105)](_0x476c0b(0x9a)),{'classes':_0x653e38,'attributes':{'data-change-id':_0x851025}};}}),this[_0x13589a(0x124)][_0x13589a(0x17a)][_0x13589a(0x130)](_0x13589a(0x6d))[_0x13589a(0x119)](_0xc5794f=>{const _0x4d1311=_0x13589a;_0xc5794f['on'](_0x4d1311(0xeb),(_0x13e6c6,_0x6c2279,_0x20193c)=>{const _0x1e8168=_0x4d1311,_0x1437ae=_0x6c2279[_0x1e8168(0xaf)][_0x1e8168(0x11c)](0x0);if(!_0x1437ae||!_0x1437ae['is'](_0x1e8168(0x9e),_0x1e8168(0x16b)))return;if(!_0x20193c[_0x1e8168(0x82)][_0x1e8168(0x1a5)](_0x1437ae,{'attributes':[_0x1e8168(0x1aa),_0x1e8168(0xbc)]}))return;const _0x457afb=_0x6c2279[_0x1e8168(0x15d)][_0x1e8168(0xc1)][_0x1e8168(0x196)];_0x20193c[_0x1e8168(0xb1)][_0x1e8168(0x84)](_0x1e8168(0x1aa),_0x1437ae[_0x1e8168(0x11f)](_0x1e8168(0x1aa)),_0x457afb),_0x20193c[_0x1e8168(0xb1)][_0x1e8168(0x84)](_0x1e8168(0xbc),_0x1437ae[_0x1e8168(0x11f)](_0x1e8168(0xbc)),_0x457afb);},{'priority':_0x4d1311(0x96)});}),this[_0x13589a(0x124)][_0x13589a(0x17a)][_0x13589a(0x130)](_0x13589a(0x6d))[_0x13589a(0x119)](_0x1cbac8=>{const _0xd0805c=_0x13589a;_0x1cbac8['on'](_0xd0805c(0x9e),(_0x4975dd,_0x201d0b,_0x570a10)=>{const _0x2a5f18=_0xd0805c;if(!_0x570a10[_0x2a5f18(0x82)][_0x2a5f18(0x1a5)](_0x201d0b[_0x2a5f18(0xaf)],{'attributes':[_0x2a5f18(0x1aa),_0x2a5f18(0xbc)]}))return;if(_0x201d0b[_0x2a5f18(0x15d)][_0x2a5f18(0x6e)])return;const _0x539094=_0x201d0b[_0x2a5f18(0x15d)][_0x2a5f18(0xc1)][_0x2a5f18(0x196)];_0x539094[_0x2a5f18(0xf7)](_0x2a5f18(0x1aa))||_0x539094[_0x2a5f18(0xf7)](_0x2a5f18(0x70))||(_0x570a10[_0x2a5f18(0xb1)][_0x2a5f18(0x84)](_0x2a5f18(0x1aa),_0x201d0b[_0x2a5f18(0xaf)][_0x2a5f18(0x11f)](_0x2a5f18(0x1aa)),_0x539094),_0x570a10[_0x2a5f18(0xb1)][_0x2a5f18(0x84)](_0x2a5f18(0xbc),_0x201d0b[_0x2a5f18(0xaf)][_0x2a5f18(0x11f)](_0x2a5f18(0xbc)),_0x539094));},{'priority':_0xd0805c(0x96)});}),this[_0x13589a(0x124)][_0x13589a(0x17a)][_0x13589a(0x130)](_0x13589a(0x6d))[_0x13589a(0xde)]({'view':{'name':_0x13589a(0x87),'attributes':{'vid':!0x0}},'model':{'key':_0x13589a(0x70),'value':_0x12d63c=>_0x12d63c[_0x13589a(0x11f)](_0x13589a(0x70))}}),this[_0x13589a(0x124)][_0x13589a(0xb6)][_0x13589a(0x160)]['on'](_0x13589a(0x80),(_0x4f08b4,[,_0x238412])=>{const _0x7f1204=_0x13589a;[_0x7f1204(0x1aa),_0x7f1204(0xbc),_0x7f1204(0x70)][_0x7f1204(0xfb)](_0x238412)&&(_0x4f08b4[_0x7f1204(0xc0)]=!0x0,_0x4f08b4[_0x7f1204(0xcc)]());},{'priority':_0x13589a(0x171)}),this[_0x13589a(0x124)][_0x13589a(0x17a)][_0x13589a(0x130)](_0x13589a(0xfc))[_0x13589a(0x119)](_0x8ec169=>{const _0x6b322a=_0x13589a;_0x8ec169['on'](_0x6b322a(0x128),(_0x47ac19,_0x51c399,_0x5f44df)=>{const _0x5ac691=_0x6b322a;if('\x20'!=_0x51c399[_0x5ac691(0xbb)][_0x5ac691(0xf1)]||_0x51c399[_0x5ac691(0xbb)][_0x5ac691(0xec)][_0x5ac691(0x11e)]>0x1)return;if(!_0x5f44df[_0x5ac691(0x82)][_0x5ac691(0x1a5)](_0x51c399[_0x5ac691(0xbb)],_0x47ac19[_0x5ac691(0x15f)]))return;const _0x589e2d=_0x5f44df[_0x5ac691(0xb1)],_0x306194=_0x5f44df[_0x5ac691(0x12e)][_0x5ac691(0x11d)](_0x51c399[_0x5ac691(0x19c)]);_0x589e2d[_0x5ac691(0xcb)](_0x306194,_0x589e2d[_0x5ac691(0x186)](_0x5ac691(0x87)));});}),this[_0x13589a(0x124)][_0x13589a(0x17a)][_0x13589a(0x130)](_0x13589a(0xfc))[_0x13589a(0xe9)]({'model':_0x13589a(0x159)}),this[_0x13589a(0x124)][_0x13589a(0x101)][_0x13589a(0x16f)]['on'](_0x13589a(0x188),function(_0x1d4454){const _0x24ae40=_0x13589a,_0x59722c=_0x1d4454[_0x24ae40(0xd9)][_0x24ae40(0xa5)](_0x24ae40(0x155));return(_0x1b3a7a,_0x2b101b,_0x317425)=>{const _0x226a8a=_0x24ae40,_0x36d3e4=_0x2b101b[_0x226a8a(0xbe)][_0x226a8a(0xd6)](':')[0x1],_0x34676d=_0x59722c[_0x226a8a(0x8f)](_0x36d3e4);if(!_0x34676d)return null;const _0x25f5ba=_0x226a8a(0x119)==_0x34676d[_0x226a8a(0xa1)]?_0x226a8a(0xd6):_0x226a8a(0x156);if(!_0x317425[_0x226a8a(0x82)][_0x226a8a(0x165)](_0x2b101b[_0x226a8a(0x169)],_0x1b3a7a[_0x226a8a(0x15f)]))return;const _0x463eec=_0x2b101b[_0x226a8a(0x169)][_0x226a8a(0xd2)](),_0x4eef08=_0x2b101b[_0x226a8a(0x169)][_0x226a8a(0xc1)],_0x173574=_0x1d4454[_0x226a8a(0xb6)][_0x226a8a(0x160)];let _0x1166d0=null,_0xceaf51=null,_0x5ddb68=!0x1,_0x420393=!0x1;for(const _0x2b3a06 of _0x463eec){const _0x15ae4a=_0x2b3a06[_0x226a8a(0xbb)];_0x5ddb68=_0x5ddb68||_0x173574[_0x226a8a(0x16c)](_0x15ae4a);const _0x30c3b5=_0x317425[_0x226a8a(0x12e)][_0x226a8a(0x190)](_0x15ae4a);if(_0x30c3b5&&_0x30c3b5[_0x226a8a(0x1a0)](_0x226a8a(0x9c)))return;_0x226a8a(0xf6)==_0x2b3a06[_0x226a8a(0xa1)]&&(_0x173574[_0x226a8a(0x189)](_0x15ae4a)&&!_0x173574[_0x226a8a(0x145)](_0x15ae4a)&&(_0x15ae4a[_0x226a8a(0xab)]||_0x4eef08[_0x226a8a(0xd8)]?_0x1166d0&&_0x1166d0[_0x226a8a(0xec)]==_0x15ae4a||(_0x1166d0=_0x15ae4a,_0x835262(_0x2b3a06[_0x226a8a(0x6f)]),_0x420393=!0x0):_0xceaf51=_0xceaf51||_0x2b3a06[_0x226a8a(0x6f)]));}function _0x835262(_0x1d919e){const _0x3a882b=_0x226a8a,_0x5c6067=_0x317425[_0x3a882b(0xb1)][_0x3a882b(0xfd)](_0x3a882b(0x87),{'class':_0x3a882b(0x184)+_0x25f5ba}),_0x320fc1=_0x317425[_0x3a882b(0x12e)][_0x3a882b(0x109)](_0x1d919e);_0x34676d[_0x3a882b(0xf1)][_0x3a882b(0x77)]&&_0x317425[_0x3a882b(0xb1)][_0x3a882b(0xd3)](_0x3a882b(0x184)+_0x25f5ba+_0x3a882b(0x178),_0x5c6067),_0x59722c[_0x3a882b(0x162)]==_0x34676d&&_0x317425[_0x3a882b(0xb1)][_0x3a882b(0xd3)](_0x3a882b(0x9a),_0x5c6067),_0x317425[_0x3a882b(0xb1)][_0x3a882b(0x15a)](_0x320fc1,_0x5c6067),_0x317425[_0x3a882b(0x12e)][_0x3a882b(0x108)](_0x5c6067,_0x2b101b[_0x3a882b(0xbe)]);}_0x5ddb68||_0x420393||!_0xceaf51||_0x835262(_0xceaf51);};}(this[_0x13589a(0x124)]),{'priority':_0x13589a(0x146)}),this[_0x13589a(0x124)][_0x13589a(0x101)][_0x13589a(0x16f)]['on'](_0x13589a(0x10b),(_0x1c3a9b,_0x25f407,_0x11708d)=>{const _0x5a5489=_0x13589a,_0x254e91=_0x11708d[_0x5a5489(0x12e)][_0x5a5489(0x104)](_0x25f407[_0x5a5489(0xbe)]);if(_0x254e91){for(const _0x254122 of _0x254e91)(_0x254122[_0x5a5489(0xb5)](_0x5a5489(0x13f))||_0x254122[_0x5a5489(0xb5)](_0x5a5489(0x10f)))&&(_0x11708d[_0x5a5489(0x12e)][_0x5a5489(0xa4)](_0x254122,_0x25f407[_0x5a5489(0xbe)]),_0x11708d[_0x5a5489(0xb1)][_0x5a5489(0xc4)](_0x254122));}},{'priority':_0x13589a(0x146)}),this[_0x13589a(0x124)][_0x13589a(0x101)][_0x13589a(0x16f)]['on'](_0x13589a(0x188),(_0x3fefc5,_0x455aeb,_0xe47246)=>{const _0x125577=_0x13589a,_0x353723=_0x455aeb[_0x125577(0xbe)][_0x125577(0xd6)](':')[0x1],_0x54be19=this[_0x125577(0x8f)](_0x353723);if(!_0x54be19)return null;const _0x3fba3a=_0x125577(0x119)==_0x54be19[_0x125577(0xa1)]?_0x125577(0xd6):_0x125577(0x156);if(_0xe47246[_0x125577(0x82)][_0x125577(0x165)](_0x455aeb[_0x125577(0x169)],_0x3fefc5[_0x125577(0x15f)]))for(const _0x1e034a of _0x455aeb[_0x125577(0x169)][_0x125577(0x187)]()){if(!_0x1e034a['is'](_0x125577(0x9e),_0x125577(0x18b)))continue;const _0x396936=_0xe47246[_0x125577(0xb1)][_0x125577(0xfd)](_0x125577(0x87),{'class':_0x125577(0x184)+_0x3fba3a}),_0x9783c8=_0xe47246[_0x125577(0x12e)][_0x125577(0x109)](this[_0x125577(0x124)][_0x125577(0xb6)][_0x125577(0x18c)](_0x1e034a));_0x54be19[_0x125577(0xf1)][_0x125577(0x77)]&&_0xe47246[_0x125577(0xb1)][_0x125577(0xd3)](_0x125577(0x184)+_0x3fba3a+_0x125577(0x178),_0x396936),this[_0x125577(0x162)]==_0x54be19&&_0xe47246[_0x125577(0xb1)][_0x125577(0xd3)](_0x125577(0x9a),_0x396936),_0xe47246[_0x125577(0xb1)][_0x125577(0x15a