@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20230727.0 → 0.0.0-nightly-20230728.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/package.json +6 -6
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisiontracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d04=['_makeModelFromViewString','start','marked','keepParagraph','_handleRootOperation','childCount','getNodeByPath','_pendingAction','repository','setRevisionData','revision:','clone','useFillerType','fromVersion','values','conversion','$graveyard','deletions','getAncestors','elementStart','sort','insertions','creator','getUser','_operations','createPositionAfter','plugins','_update','filter','_revisionDataBuilder','RevisionsRepository','_prepareViewToSave','attachChange','revision-end','_authorId','_saveMetaData','_processRootBeforeSave','getMovedRangeStart','getIndex','_touched','isAttached','name','markerToData','_findInsertionIndex','data-revision-','getCurrentRevisionId','includes','_calculateMetaData','createdAt','editor','_handleOperation','requires','NEGATIVE_INFINITY','reverse','key','type','_lastFrom','_source','shift','_removePendingAction','path','_applyOperations','roots','_setConversion','size','_markers','finally','get','_copyMarkers','history','_getPreviousFrom','graveyardPosition','_lastTo','collaboration.channelId','userId','locale','max','from','find','_generateTape','upcast','splitPosition','diffData','getTime','documentFragment','getAttribute','getRoot','createPositionAt','insert','_getBaseVids','_clone','text','ready','revision','previousPosition','sendBufferedUpdates','toModel','_removeRevisionMarkers','some','string','_continueCurrentRevision','_insertChild','newRange','_cloneOperation','_createInitialRevision','paragraph','_fixPosition','newValue','model','markers','revision-start','_addPendingAction','root','insertion','rootName','afterInit','clear','config','_diffRootsAttributes','authors','push','createPositionBefore','addRoot','_isPendingUpdate','slice','processor','attributesBefore','item','_getVidAttributeName','insertionPosition','_touchedMarkers','end','document','$text','initial','_baseIdsRoots','_fixOperation','_savedMetaData','oldRange','source','_replaceEditorDataWithRevisionData','parse','then','vid_end','_initialRevisionId','Initial\x20revision','fromEntries','forEach','attributes','getRevision','authorsIds','elementEnd','PendingActions','createPositionFromPath','loadState','_bufferUpdate','createRevision','element','editing','getRevisions','parent','position','vid','toView','remove','view','createRangeIn','_loadedStateData','reinsert','affectsData','_loadRevisionData','_getFromVersion','setSource','getAttributes','_makeIdsRoot','PENDING_ACTION_REVISION_HISTORY','set','currentRevision','update','resolve','_markChanges','nodes','map','_handleMoveOperation','vid_start','getRevisionRootsAttributes','_handleMarkerOperation','bind','_handleSplitOperation','getChild','offset','revisionHistory.resumeUnsavedRevision','_getViewJson','getLatestVersion','_makeRevision','getWalker','_startingVersion','_reset','toVersion','_loadState','adapter','_idsRoots','data','_createCurrentRevision','removeRootAttribute','RevisionTracker','isReady','stickiness','_handleInsertOperation','_setAttribute','nodeAfter','has','_createFromRanges','tableCell','startsWith','RealTimeCollaborationClient','_startingRevisionId','trim','_fixRange','_baseRoots','baseVersion','getData','_execute','_touchedRoots','getRange','getOperation','getChildren','isAdd','init','_baseRootsAttributes','attributesAfter','_diffRoots','toData','Users','saveRevision','howMany','marker','rootsAttributes','for','initialData','getRevisionDocumentData','_handleRootAttributeOperation','_bufferedUpdates','_revisionId','length','changeRootAttribute','delete','createRange','keys','buildRevisionData','add','addRevisionData','detachRoot','version','_appendChild','_isAttached'];(function(_0x41a672,_0x3d0479){const _0xe2a5bb=function(_0x1a8615){while(--_0x1a8615){_0x41a672['push'](_0x41a672['shift']());}};_0xe2a5bb(++_0x3d0479);}(_0x3d04,0x178));const _0xe2a5=function(_0x41a672,_0x3d0479){_0x41a672=_0x41a672-0x0;let _0xe2a5bb=_0x3d04[_0x41a672];return _0xe2a5bb;};import{Users as _0x2d3793}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x23798a,PendingActions as _0x48630e}from'ckeditor5/src/core';import{logWarning as _0x4a4814,uid as _0x5a6b02}from'ckeditor5/src/utils';import{Position as _0x5da8fb,Range as _0x555221,Element as _0x51fbf2,DocumentFragment as _0x291270,ViewText as _0x51707a,ViewElement as _0x15e7e0,ViewContainerElement as _0x334124,ViewAttributeElement as _0x28a4e1,ViewEmptyElement as _0x3553af,ViewRawElement as _0x225637,ViewUIElement as _0x5688f3,ViewDocumentFragment as _0xb38177}from'ckeditor5/src/engine';import _0xb5f25d from'./revisionsrepository';import{getTranslation as _0x21fa08}from'./utils/common-translations';import{cloneDeep as _0x4a6ecc,isEqual as _0x106403}from'lodash-es';const B={'c':_0x334124,'a':_0x28a4e1,'e':_0x3553af,'r':_0x225637,'u':_0x5688f3};export default class l extends _0x23798a{static get['pluginName'](){return _0xe2a5('0x55');}static get[_0xe2a5('0xbb')](){return[_0x2d3793,_0xb5f25d,_0x48630e];}constructor(_0x3d3db5){super(_0x3d3db5),this[_0xe2a5('0x50')]=null,this['currentRevision']=null,this[_0xe2a5('0xa5')]=new H(this[_0xe2a5('0xb9')]),this[_0xe2a5('0x18')]=this[_0xe2a5('0xb9')][_0xe2a5('0xfd')][_0xe2a5('0xcb')](_0xe2a5('0xd1'))||_0xe2a5('0xe'),this[_0xe2a5('0x7a')]=new Map(),this['_loadedStateData']=null;const _0x3baa9d=_0x5a6b02();this[_0xe2a5('0xc1')]={'history':this[_0xe2a5('0xb9')]['model']['document']['history'],'getLatestVersion':()=>Promise[_0xe2a5('0x3b')](this['editor'][_0xe2a5('0xf4')][_0xe2a5('0xc')][_0xe2a5('0x85')]),'getCurrentRevisionId':()=>_0x3baa9d},this[_0xe2a5('0x38')]('isReady',!0x1),this[_0xe2a5('0x38')]('isEnabled',!0x0),this[_0xe2a5('0x38')](_0xe2a5('0x3'),!0x1),this[_0xe2a5('0xb9')][_0xe2a5('0xfd')]['define']('revisionHistory.resumeUnsavedRevision',!0x0),this[_0xe2a5('0xb9')][_0xe2a5('0x97')][_0xe2a5('0x76')](_0xe2a5('0xd8'))['dataToMarker']({'view':_0xe2a5('0xe5')});}[_0xe2a5('0x6c')](){this['repository']=this['editor'][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0xa6')),this['_setConversion'](),this[_0xe2a5('0xb9')][_0xe2a5('0x52')]['on'](_0xe2a5('0xe4'),()=>{const _0x21d277=this['repository']['getRevision'](0x0),_0x17f538=_0x21d277&&null===_0x21d277[_0xe2a5('0x9e')]?_0x21d277:null;if(this[_0xe2a5('0xec')]=!!_0x17f538&&this[_0xe2a5('0xb9')]['config'][_0xe2a5('0xcb')](_0xe2a5('0x47')),this[_0xe2a5('0xb9')][_0xe2a5('0xa2')]['has'](_0xe2a5('0x5f'))){const _0x2b7626=this[_0xe2a5('0xc1')][_0xe2a5('0xb5')](),_0xb9d64=this['repository']['getRevision'](_0x2b7626);if(_0xb9d64)this[_0xe2a5('0x4c')]=_0xb9d64[_0xe2a5('0x95')],this[_0xe2a5('0xec')]=!0x1;else{const _0x4c74c2=this['_source'][_0xe2a5('0xcd')][_0xe2a5('0xa0')][_0xe2a5('0xd6')](_0x4c3b37=>!_0x4c3b37['_isInit']),_0x1b8629=_0x4c74c2?_0x4c74c2[_0xe2a5('0x64')]:this[_0xe2a5('0xc1')][_0xe2a5('0xcd')][_0xe2a5('0x85')];_0x21d277?(_0x21d277[_0xe2a5('0x4e')]<_0x1b8629&&_0x21d277[_0xe2a5('0xa3')]({'toVersion':_0x1b8629}),this['_continueCurrentRevision']?(this[_0xe2a5('0xc1')]['getCurrentRevisionId']=()=>_0x17f538['id'],this[_0xe2a5('0x4c')]=_0x17f538[_0xe2a5('0x95')]):(this['_startingVersion']=_0x21d277['toVersion'],this[_0xe2a5('0xec')]=!0x1)):(this[_0xe2a5('0x4c')]=_0x1b8629,this[_0xe2a5('0xec')]=!0x1);}}else _0x17f538&&(this['editor'][_0xe2a5('0xf4')][_0xe2a5('0xc')][_0xe2a5('0xcd')]['version']=Math[_0xe2a5('0xd4')](_0x17f538['toVersion'],this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0xc')]['history'][_0xe2a5('0x85')]),_0x17f538['fromVersion']===_0x17f538[_0xe2a5('0x4e')]?(0x0!==_0x17f538['fromVersion']&&(this[_0xe2a5('0xc1')][_0xe2a5('0xb5')]=()=>_0x17f538['id']),this[_0xe2a5('0xec')]=!0x1):this[_0xe2a5('0xec')]&&(this[_0xe2a5('0xc1')][_0xe2a5('0xb5')]=()=>_0x17f538['id'],this[_0xe2a5('0x4c')]=_0x17f538[_0xe2a5('0x95')])),this['_continueCurrentRevision']||(this[_0xe2a5('0x4c')]=this['editor']['model']['document'][_0xe2a5('0x85')]);this[_0xe2a5('0xa5')]['init'](this[_0xe2a5('0xc1')][_0xe2a5('0xcd')]),this[_0xe2a5('0xf0')](this[_0xe2a5('0x4c')]),this[_0xe2a5('0x53')](this['_startingVersion']),this[_0xe2a5('0x50')]&&this[_0xe2a5('0xe7')]();}),this[_0xe2a5('0x43')](_0xe2a5('0x56'))['to'](this,_0xe2a5('0x3'),_0x1bbd14=>!_0x1bbd14);}async[_0xe2a5('0xfb')](){if(this[_0xe2a5('0x90')][_0xe2a5('0x7c')]>0x0){const _0x2ec4a1=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](0x0),_0xe73e85=await this[_0xe2a5('0x78')](_0x2ec4a1),_0x3505ac=await this[_0xe2a5('0x41')](_0x2ec4a1);this[_0xe2a5('0x14')](_0xe73e85,_0x3505ac);}}[_0xe2a5('0x34')](_0x257a05){this[_0xe2a5('0xc1')]=_0x257a05;}async[_0xe2a5('0x3a')](){const _0x39ca4f=await this['_source'][_0xe2a5('0x49')]();if(_0x39ca4f>this[_0xe2a5('0x39')][_0xe2a5('0x4e')]){await this[_0xe2a5('0x4f')]();const _0x3df31a=this[_0xe2a5('0x81')]({'revision':this[_0xe2a5('0x39')],'to':_0x39ca4f});_0x3df31a[_0xe2a5('0xff')]=_0x3df31a[_0xe2a5('0x1e')][_0xe2a5('0x3e')](_0xa78371=>this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))[_0xe2a5('0x9f')](_0xa78371)),this[_0xe2a5('0x39')]['_update'](_0x3df31a);}}async[_0xe2a5('0x4f')](){this[_0xe2a5('0xec')]&&!this[_0xe2a5('0x2f')]&&(await this[_0xe2a5('0x32')](this[_0xe2a5('0x39')]),this[_0xe2a5('0xa5')][_0xe2a5('0x22')](this[_0xe2a5('0x39')]),this['_loadedStateData']={'fromVersion':this[_0xe2a5('0x39')]['fromVersion'],'authors':this[_0xe2a5('0x39')][_0xe2a5('0xff')][_0xe2a5('0x4')]()});}async[_0xe2a5('0x72')](_0x2638f5={},_0x51fcb4=null){const _0x505b54=[];await this['_loadState'](),this[_0xe2a5('0xec')]=!0x1,_0x51fcb4>this[_0xe2a5('0x39')]['toVersion']&&(_0x51fcb4=null),null===_0x51fcb4&&(_0x51fcb4=await this[_0xe2a5('0xc1')][_0xe2a5('0x49')]());const _0x3e5d46=this[_0xe2a5('0x33')](_0x51fcb4),_0x43fa03=this[_0xe2a5('0x81')]({'from':_0x3e5d46,'to':_0x51fcb4});if(this['currentRevision'][_0xe2a5('0x4e')]<_0x51fcb4){const _0x483386=this[_0xe2a5('0x81')]({'revision':this[_0xe2a5('0x39')],'from':_0x51fcb4,'to':_0x51fcb4});_0x483386[_0xe2a5('0xff')]=[],_0x483386['authorsIds']=[],_0x483386['id']=this[_0xe2a5('0x39')]['id'],this[_0xe2a5('0x39')]['_update'](_0x483386,!0x0),delete _0x483386[_0xe2a5('0xff')],_0x505b54[_0xe2a5('0x0')](_0x483386);}_0x2638f5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2638f5['name']=_0x2638f5[_0xe2a5('0xb1')]||null,_0x2638f5['id']=_0x2638f5['id']||_0x5a6b02(),_0x2638f5={..._0x2638f5,..._0x43fa03};const _0x571493=this['addRevisionData'](_0x2638f5);_0x505b54[_0xe2a5('0x0')](_0x2638f5);const _0x48d166=this[_0xe2a5('0x90')][_0xe2a5('0xae')](_0x571493);if(0x0!==_0x48d166){const _0x31ca9b=this['repository'][_0xe2a5('0x1d')](_0x48d166-0x1);if(_0x31ca9b[_0xe2a5('0x95')]!==_0x51fcb4){const _0x459d25=this[_0xe2a5('0xa5')][_0xe2a5('0x65')](_0x51fcb4,_0x31ca9b[_0xe2a5('0x4e')]),_0x285dce={'id':_0x31ca9b['id'],'diffData':_0x459d25['diffData'],'authorsIds':_0x459d25[_0xe2a5('0x1e')],'authors':_0x459d25['authorsIds'][_0xe2a5('0x3e')](_0x4a9b77=>this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))['getUser'](_0x4a9b77)),'fromVersion':_0x51fcb4};_0x31ca9b===this[_0xe2a5('0x39')]&&(_0x285dce[_0xe2a5('0xb8')]=new Date(_0x2638f5[_0xe2a5('0xb8')][_0xe2a5('0xdb')]()+0xa)),_0x31ca9b[_0xe2a5('0xa3')](_0x285dce,!0x0),delete _0x285dce[_0xe2a5('0xff')],_0x505b54['push'](_0x285dce);}}if(this[_0xe2a5('0x50')]){for(const _0x38ad8b of _0x505b54)this['_bufferUpdate'](_0x38ad8b['id'],_0x38ad8b,!0x0);this[_0xe2a5('0xe7')]();}return _0x571493;}['addRevisionData'](_0x6844d5){const _0x84af8b=this[_0xe2a5('0x90')][_0xe2a5('0x24')](_0x6844d5);return this[_0xe2a5('0x50')]&&_0x84af8b['on']('_update',(_0x237770,_0x4a43c7,_0x420d59)=>{_0x420d59||(this[_0xe2a5('0x23')](_0x4a43c7['id'],_0x4a43c7,!0x0),this[_0xe2a5('0xe7')]());}),this[_0xe2a5('0x90')]['addRevision'](_0x84af8b,this['_findInsertionIndex'](_0x84af8b)),_0x84af8b;}async['getRevisionDocumentData'](_0x416e3e){await this[_0xe2a5('0x32')](_0x416e3e);const _0x36e07f={};for(const _0x256baf in _0x416e3e[_0xe2a5('0xda')]){if(_0x416e3e[_0xe2a5('0xda')][_0x256baf][_0xe2a5('0xa8')]&&!_0x416e3e[_0xe2a5('0xda')][_0x256baf][_0xe2a5('0xa8')][_0xe2a5('0xb0')])continue;const _0x1fa964=this[_0xe2a5('0xe9')](JSON['parse'](_0x416e3e['diffData'][_0x256baf][_0xe2a5('0x9d')])),_0x425ea4=this['editor'][_0xe2a5('0x26')][_0xe2a5('0x2d')][_0xe2a5('0xc')],_0x20d7f9=new _0xb38177(_0x425ea4,_0x1fa964['map'](_0x378a66=>J(_0x378a66,this[_0xe2a5('0xb9')])));this[_0xe2a5('0xb9')][_0xe2a5('0x52')][_0xe2a5('0x5')][_0xe2a5('0x94')](_0xe2a5('0x8a')),_0x36e07f[_0x256baf]=this['editor'][_0xe2a5('0x52')][_0xe2a5('0x5')][_0xe2a5('0x70')](_0x20d7f9),this[_0xe2a5('0xb9')][_0xe2a5('0x52')][_0xe2a5('0x5')][_0xe2a5('0x94')]('default');}return _0x36e07f;}async[_0xe2a5('0x41')](_0x2c5af3){await this[_0xe2a5('0x32')](_0x2c5af3);const _0xed377d={};for(const _0x32e229 in _0x2c5af3['diffData'])_0x2c5af3[_0xe2a5('0xda')][_0x32e229][_0xe2a5('0xa8')]&&!_0x2c5af3[_0xe2a5('0xda')][_0x32e229][_0xe2a5('0xa8')][_0xe2a5('0xb0')]||(_0xed377d[_0x32e229]=_0x2c5af3[_0xe2a5('0xda')][_0x32e229]['attributesAfter']||{});return _0xed377d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates'][_0xe2a5('0xc8')])return;if(this[_0xe2a5('0x3')])return;let _0x5261ca=Array[_0xe2a5('0xd5')](this[_0xe2a5('0x7a')]['values']());this[_0xe2a5('0x7a')][_0xe2a5('0xfc')]();for(let _0x42fcb6=0x0;_0x42fcb6<_0x5261ca[_0xe2a5('0x7c')];_0x42fcb6++){const _0x2ac6a4=_0x5261ca[_0x42fcb6];let _0x3d634a=!0x1;for(const _0x10aafc of Object[_0xe2a5('0x80')](_0x2ac6a4))void 0x0===_0x2ac6a4[_0x10aafc]?delete _0x2ac6a4[_0x10aafc]:'id'!==_0x10aafc&&(_0x3d634a=!0x0);_0x3d634a||(_0x5261ca[_0x42fcb6]=null);}if(_0x5261ca=_0x5261ca['filter'](_0x528531=>null!==_0x528531),!_0x5261ca[_0xe2a5('0x7c')])return;for(let _0x1bb973=0x0;_0x1bb973<_0x5261ca[_0xe2a5('0x7c')];_0x1bb973++){const _0x4b09ef=_0x5261ca[_0x1bb973];void 0x0!==_0x4b09ef['fromVersion']&&void 0x0===_0x4b09ef['toVersion']&&(_0x4b09ef['toVersion']=this['repository'][_0xe2a5('0x1d')](_0x4b09ef['id'])[_0xe2a5('0x4e')]),void 0x0!==_0x4b09ef[_0xe2a5('0x4e')]&&void 0x0===_0x4b09ef[_0xe2a5('0x95')]&&(_0x4b09ef[_0xe2a5('0x95')]=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](_0x4b09ef['id'])[_0xe2a5('0x95')]);}const _0x19e370=this[_0xe2a5('0xb9')]['config'][_0xe2a5('0xcb')](_0xe2a5('0xd1'));this['_isPendingUpdate']=!0x0,this[_0xe2a5('0xf7')](),this[_0xe2a5('0x50')]['updateRevisions'](_0x5261ca,_0x19e370)[_0xe2a5('0xca')](()=>{this['_isPendingUpdate']=!0x1;})[_0xe2a5('0x16')](_0x28bc8a=>{if(_0x28bc8a)for(const _0x44b2a1 of _0x28bc8a)this[_0xe2a5('0x91')]({'id':_0x44b2a1['id'],'createdAt':_0x44b2a1[_0xe2a5('0xb8')]});this[_0xe2a5('0xc3')](),this[_0xe2a5('0xe7')]();});}[_0xe2a5('0x14')](_0x29ea13,_0x2680f4){let _0x1fdf7e=this[_0xe2a5('0xb9')][_0xe2a5('0xfd')][_0xe2a5('0xcb')](_0xe2a5('0x77')),_0x2e5413=this[_0xe2a5('0xb9')][_0xe2a5('0xfd')]['get'](_0xe2a5('0x75'));if(void 0x0===_0x1fdf7e){_0x1fdf7e={};for(const _0x3b6558 of this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0xc')]['getRootNames']())_0x1fdf7e[_0x3b6558]='';}if(_0xe2a5('0xeb')==typeof _0x1fdf7e&&(_0x1fdf7e={'main':_0x1fdf7e}),void 0x0===_0x2e5413){_0x2e5413={};for(const _0x17dbd5 of this['editor']['model'][_0xe2a5('0xc')]['getRootNames']())_0x2e5413[_0x17dbd5]={};}let _0x29ef85=!0x1;const _0x38ade5=Object[_0xe2a5('0x80')](_0x1fdf7e),_0x1f8a0b=Object[_0xe2a5('0x80')](_0x29ea13);for(const _0x57032f of _0x38ade5){if(_0x1fdf7e[_0x57032f]!==_0x29ea13[_0x57032f]&&''!==_0x1fdf7e[_0x57032f][_0xe2a5('0x61')]()){_0x29ef85=!0x0;break;}if(!_0x106403(_0x2e5413[_0x57032f],_0x2680f4[_0x57032f])&&Object[_0xe2a5('0x80')](_0x2e5413[_0x57032f])[_0xe2a5('0x7c')]>0x0){_0x29ef85=!0x0;break;}}_0x29ef85||(_0x29ef85=_0x1f8a0b[_0xe2a5('0xea')](_0x5d5a8c=>!this['editor'][_0xe2a5('0xf4')]['document'][_0xe2a5('0xde')](_0x5d5a8c))),_0x29ef85&&_0x4a4814('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1fdf7e,'editorRootsAttributes':_0x2e5413,'revisionData':_0x29ea13,'revisionRootsAttributes':_0x2680f4}),this[_0xe2a5('0xb9')][_0xe2a5('0xfd')][_0xe2a5('0x38')](_0xe2a5('0x77'),_0x29ea13),this[_0xe2a5('0xb9')][_0xe2a5('0xfd')]['set'](_0xe2a5('0x75'),_0x2680f4);}[_0xe2a5('0xf7')](){if(!this[_0xe2a5('0x8f')]){const _0x3fa45d=this[_0xe2a5('0xb9')]['plugins'][_0xe2a5('0xcb')](_0xe2a5('0x20'));this[_0xe2a5('0x8f')]=_0x3fa45d['add'](_0x21fa08(this[_0xe2a5('0xb9')]['locale'],_0xe2a5('0x37')));}}[_0xe2a5('0xc3')](){this['_pendingAction']&&(this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x20'))[_0xe2a5('0x2c')](this['_pendingAction']),this[_0xe2a5('0x8f')]=null);}[_0xe2a5('0xb3')](_0x31fed9){const _0x5028be=this[_0xe2a5('0x90')]['getRevisions']();_0x5028be['reverse']();let _0xa91cee=0x0;for(;_0xa91cee<_0x5028be[_0xe2a5('0x7c')];){const _0x477bf3=_0x5028be[_0xa91cee];if(_0x477bf3===this[_0xe2a5('0x39')]){_0xa91cee++;continue;}if(_0x477bf3['id']===this[_0xe2a5('0x18')])break;const _0x537f75=_0x31fed9[_0xe2a5('0x4e')]-_0x477bf3[_0xe2a5('0x4e')]||_0x31fed9[_0xe2a5('0x95')]-_0x477bf3[_0xe2a5('0x95')];if(_0x537f75>0x0)break;if(_0x537f75<0x0)_0xa91cee++;else{if(!_0x31fed9[_0xe2a5('0x9e')]&&_0x477bf3['creator'])break;if(_0x477bf3[_0xe2a5('0x9e')]||!_0x31fed9[_0xe2a5('0x9e')]){if(_0x31fed9[_0xe2a5('0xb8')]>_0x477bf3[_0xe2a5('0xb8')])break;_0xa91cee++;}else _0xa91cee++;}}return _0xa91cee;}[_0xe2a5('0x91')](_0x1f2b4c){const _0x13ae0b=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](_0x1f2b4c['id']);if(_0x1f2b4c[_0xe2a5('0xb8')]&&(_0x1f2b4c[_0xe2a5('0xb8')]=new Date(_0x1f2b4c[_0xe2a5('0xb8')])),_0x1f2b4c[_0xe2a5('0x1e')]){const _0x5e750f=this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'));_0x1f2b4c[_0xe2a5('0xff')]=_0x1f2b4c['authorsIds'][_0xe2a5('0x3e')](_0x29245e=>_0x5e750f['getUser'](_0x29245e));}_0x13ae0b[_0xe2a5('0xa3')](_0x1f2b4c,!0x0);}['buildRevisionData']({revision:_0x409b60=null,from:_0x11a95f=null,to:_0x157958=null}){_0x11a95f=null!==_0x11a95f?_0x11a95f:_0x409b60[_0xe2a5('0x95')],_0x157958=null!==_0x157958?_0x157958:_0x409b60['toVersion'];const _0x3af7da=this[_0xe2a5('0xa5')]['getData'](_0x11a95f,_0x157958),_0x37952c={'diffData':_0x3af7da['diffData'],'authorsIds':_0x3af7da[_0xe2a5('0x1e')],'fromVersion':_0x11a95f,'toVersion':_0x157958};if(!_0x409b60||_0x157958!==_0x409b60['toVersion']){const _0x40ec0b=_0x157958-0x1,_0x28117d=this[_0xe2a5('0xc1')][_0xe2a5('0xcd')][_0xe2a5('0x69')](_0x40ec0b);_0x37952c[_0xe2a5('0xb8')]=_0x28117d&&_0x28117d['createdAt']||new Date();}if(this[_0xe2a5('0x2f')]&&_0x11a95f===this[_0xe2a5('0x2f')]['fromVersion'])for(const _0xe735b4 of this[_0xe2a5('0x2f')][_0xe2a5('0xff')])_0x37952c[_0xe2a5('0x1e')][_0xe2a5('0xb6')](_0xe735b4['id'])||_0x37952c[_0xe2a5('0x1e')][_0xe2a5('0x0')](_0xe735b4['id']);return _0x37952c;}[_0xe2a5('0x32')](_0x4203e3){if(!_0x4203e3||_0x4203e3[_0xe2a5('0xda')])return Promise[_0xe2a5('0x3b')]();{const _0x290d98=this[_0xe2a5('0xb9')]['config'][_0xe2a5('0xcb')](_0xe2a5('0xd1'));return this['adapter'][_0xe2a5('0x1d')]({'channelId':_0x290d98,'revisionId':_0x4203e3['id']})[_0xe2a5('0x16')](_0x4cbc48=>{_0x4203e3['diffData']=_0x4cbc48[_0xe2a5('0xda')];});}}[_0xe2a5('0x23')](_0x104186,_0x5af1ce,_0x1c09c0){if(this['_bufferedUpdates'][_0xe2a5('0x5b')](_0x104186)){const _0x312232=this[_0xe2a5('0x7a')][_0xe2a5('0xcb')](_0x104186);_0x5af1ce=_0x1c09c0?{..._0x312232,..._0x5af1ce}:{..._0x5af1ce,..._0x312232};}this[_0xe2a5('0x7a')]['set'](_0x104186,_0x5af1ce);}[_0xe2a5('0x33')](_0x20a1c8){const _0x486be3=this[_0xe2a5('0x90')][_0xe2a5('0x27')]();_0x486be3[_0xe2a5('0xbd')](),_0x486be3[_0xe2a5('0xc2')]();const _0x20b8c8=_0x486be3['find'](_0x857a53=>_0x857a53[_0xe2a5('0x4e')]<=_0x20a1c8)[_0xe2a5('0x4e')];return _0x20b8c8<this[_0xe2a5('0x4c')]?this[_0xe2a5('0x4c')]:_0x20b8c8;}[_0xe2a5('0xf0')](_0x175d9f){const _0x56bc6f=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](this[_0xe2a5('0x90')][_0xe2a5('0x7c')]-0x1);if(_0x56bc6f)this[_0xe2a5('0x18')]=_0x56bc6f['id'];else{const _0x405144=!this['editor'][_0xe2a5('0xf4')][_0xe2a5('0xc')]['roots'][_0xe2a5('0xd6')](_0x5662d4=>this[_0xe2a5('0xb9')][_0xe2a5('0xf4')]['hasContent'](_0x5662d4)),_0x55c54c=this['editor'][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))['me']['id'],_0x13010b=_0x21fa08(this['editor'][_0xe2a5('0xd3')],_0x405144?'Empty\x20document':_0xe2a5('0x19'));this[_0xe2a5('0x4a')]({'from':_0x175d9f,'to':_0x175d9f,'id':this[_0xe2a5('0x18')],'name':_0x13010b,'creatorId':_0x55c54c});}}[_0xe2a5('0x53')](_0x2b3c17){const _0x512a52=this[_0xe2a5('0xc1')][_0xe2a5('0xb5')]();this[_0xe2a5('0x39')]=this[_0xe2a5('0x90')][_0xe2a5('0x1d')](_0x512a52),this[_0xe2a5('0x39')]||(this[_0xe2a5('0x39')]=this[_0xe2a5('0x4a')]({'from':_0x2b3c17,'to':_0x2b3c17,'id':_0x512a52,'name':'','creatorId':null}));}[_0xe2a5('0x4a')]({name:_0x332b0a,from:_0x4e1400,to:_0x384e3b,creatorId:_0x2c5c41,id:_0x27888c}){const _0x420f5e=this[_0xe2a5('0x81')]({'from':_0x4e1400,'to':_0x384e3b});_0x420f5e['name']=_0x332b0a,_0x420f5e['creatorId']=_0x2c5c41,_0x420f5e['id']=_0x27888c;const _0x2ecf74=this[_0xe2a5('0x83')](_0x420f5e);return this[_0xe2a5('0x50')]&&this[_0xe2a5('0x23')](_0x420f5e['id'],_0x420f5e,!0x0),_0x2ecf74;}[_0xe2a5('0xc7')](){this[_0xe2a5('0xb9')][_0xe2a5('0x97')]['for']('dataDowncast')[_0xe2a5('0xb2')]({'model':'revision'});}['_removeRevisionMarkers'](_0x4d3db1){return(_0x4d3db1=_0x4d3db1[_0xe2a5('0xa4')](_0x12f2a8=>!_0x12f2a8[_0xe2a5('0xb1')]||_0xe2a5('0xf6')!==_0x12f2a8[_0xe2a5('0xb1')]&&_0xe2a5('0xa9')!==_0x12f2a8[_0xe2a5('0xb1')]))[_0xe2a5('0x1b')](_0x661bdb=>{_0xe2a5('0xeb')!=typeof _0x661bdb&&(_0x661bdb['children']=this['_removeRevisionMarkers'](_0x661bdb['children']),_0x661bdb[_0xe2a5('0x1c')]=_0x661bdb['attributes']['filter'](_0xb47c7d=>!_0xb47c7d[0x0][_0xe2a5('0x5e')](_0xe2a5('0xb4'))));}),_0x4d3db1;}}function J(_0x1eba06,_0x5b5674){const _0x51336b=_0x5b5674[_0xe2a5('0x26')][_0xe2a5('0x2d')][_0xe2a5('0xc')];if(_0xe2a5('0xeb')==typeof _0x1eba06)return new _0x51707a(_0x51336b,_0x1eba06);{const _0x24ef29=_0x1eba06['children']['map'](_0x2955a0=>J(_0x2955a0,_0x5b5674));return new(B[_0x1eba06[(_0xe2a5('0xbf'))]]||_0x15e7e0)(_0x51336b,_0x1eba06[_0xe2a5('0xb1')],_0x1eba06[_0xe2a5('0x1c')],_0x24ef29);}}class H{constructor(_0x281a4d){this[_0xe2a5('0xb9')]=_0x281a4d,this[_0xe2a5('0x11')]=new Map(),this['_lastFrom']=-0x1,this[_0xe2a5('0xd0')]=-0x1,this[_0xe2a5('0xc9')]=new Map(),this['_diffRoots']=new Map(),this[_0xe2a5('0xfe')]=new Map(),this[_0xe2a5('0x63')]=new Map(),this[_0xe2a5('0x6d')]=new Map(),this[_0xe2a5('0x51')]=new Map(),this[_0xe2a5('0xf')]=new Map(),this[_0xe2a5('0xaf')]=new Map(),this[_0xe2a5('0xa')]=new Map(),this['_touchedRoots']=new Map(),this[_0xe2a5('0x7b')]=0x1;}[_0xe2a5('0x6c')](_0x109086){this[_0xe2a5('0x13')]=_0x109086;const _0x28b4a6=new Map(),_0x186b42=new Map(),_0x3d7102=this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0xc')][_0xe2a5('0xc6')][_0xe2a5('0x3e')](_0x29aaf2=>_0x29aaf2[_0xe2a5('0xfa')]);for(const _0x41fe11 of _0x3d7102){const _0x571c3c=this['editor']['model'][_0xe2a5('0xc')]['getRoot'](_0x41fe11),_0x470199=q(_0x571c3c);_0x28b4a6['set'](_0x41fe11,_0x470199),_0x186b42[_0xe2a5('0x38')](_0x41fe11,Object[_0xe2a5('0x1a')](_0x571c3c[_0xe2a5('0x35')]()));}const _0x18fc39=Array['from'](this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0xf5')])[_0xe2a5('0x3e')](_0x239e52=>[_0x239e52['name'],_0x239e52[_0xe2a5('0x68')]()]),_0x35170d=this[_0xe2a5('0x13')][_0xe2a5('0x85')];this['_saveMetaData'](_0x35170d,_0x28b4a6,_0x18fc39,_0x186b42),this[_0xe2a5('0x60')]=this[_0xe2a5('0x7b')];const _0x3f14d0=new Map(),_0x1304c8=new Map();for(const _0x399158 of _0x3d7102){const _0x582dee=G(_0x399158);_0x3f14d0[_0xe2a5('0x38')](_0x399158,_0x582dee),_0x1304c8[_0xe2a5('0x38')](_0x399158,{});}this[_0xe2a5('0xab')](Number[_0xe2a5('0xbc')],_0x3f14d0,[],_0x1304c8);}[_0xe2a5('0x65')](_0x52429d,_0x8c1a7e){if(this['_lastFrom']===_0x52429d&&this[_0xe2a5('0xd0')]<=_0x8c1a7e)this['_savedMetaData'][_0xe2a5('0xc8')]>0x1&&this['_removeMetaData'](this[_0xe2a5('0xd0')]),this['_applyOperations'](this[_0xe2a5('0xd0')],_0x8c1a7e,!0x0);else{if(!this[_0xe2a5('0x11')][_0xe2a5('0x5b')](_0x52429d)){const _0x2f4d7c=this[_0xe2a5('0xce')](_0x52429d);this[_0xe2a5('0xb7')](_0x2f4d7c,_0x52429d,!0x1);}this[_0xe2a5('0xb7')](_0x52429d,_0x8c1a7e,!0x0);}return this[_0xe2a5('0xc0')]=_0x52429d,this[_0xe2a5('0xd0')]=_0x8c1a7e,this['_getState']();}[_0xe2a5('0x22')](_0x4ffad8){this['_reset'](),this['_lastFrom']=_0x4ffad8['fromVersion'],this[_0xe2a5('0xd0')]=_0x4ffad8[_0xe2a5('0x4e')];for(const _0x4af72d in _0x4ffad8[_0xe2a5('0xda')]){const _0x586bc6=_0x4ffad8[_0xe2a5('0xda')][_0x4af72d][_0xe2a5('0xa8')],_0x2e9eb9=_0x4a6ecc(_0x4ffad8[_0xe2a5('0xda')][_0x4af72d][_0xe2a5('0x6')])||{},_0x4e7828=this[_0xe2a5('0x88')](_0x4ffad8[_0xe2a5('0xda')][_0x4af72d][_0xe2a5('0x99')]);_0x4e7828['rootName']=_0x4af72d,_0x4e7828[_0xe2a5('0x87')]=!_0x586bc6||!_0x586bc6[_0xe2a5('0xb0')],_0x4e7828['isAttached']=()=>_0x4e7828[_0xe2a5('0x87')],this[_0xe2a5('0x63')][_0xe2a5('0x38')](_0x4af72d,_0x4e7828),this['_baseRootsAttributes'][_0xe2a5('0x38')](_0x4af72d,_0x2e9eb9),_0x586bc6&&this[_0xe2a5('0x67')][_0xe2a5('0x38')](_0x4af72d,_0x586bc6);const _0x410cf7=this[_0xe2a5('0x36')](_0x4e7828);this[_0xe2a5('0xf')]['set'](_0x4af72d,_0x410cf7);for(const [_0x4302ea,_0x569173]of _0x4e7828[_0xe2a5('0xf5')]){if(!_0x4302ea[_0xe2a5('0x5e')]('revision:'))continue;const _0xc598d4=_0x4302ea['split'](':')[0x2];for(const _0x412d1e of _0x569173[_0xe2a5('0x4b')]({'singleCharacters':!0x0})){const _0x1b2b4a=this[_0xe2a5('0x8')](_0x412d1e),_0x49b4c7=_0xe2a5('0x1f')==_0x412d1e[_0xe2a5('0xbf')]?_0x412d1e[_0xe2a5('0xe6')][_0xe2a5('0xc4')][_0xe2a5('0x4')](0x0,-0x1):_0x412d1e[_0xe2a5('0xe6')][_0xe2a5('0xc4')],_0x2e9b99=_0x410cf7[_0xe2a5('0x8e')](_0x49b4c7)[_0xe2a5('0xdd')](_0x1b2b4a);this['_touched'][_0xe2a5('0x38')](_0x2e9b99,{'userId':_0xc598d4});}}}this[_0xe2a5('0x60')]=this[_0xe2a5('0x7b')];const _0x5aecf8=[...Array(this[_0xe2a5('0x7b')])[_0xe2a5('0x80')]()]['slice'](0x1)[_0xe2a5('0xa4')](_0x4ff56e=>!this[_0xe2a5('0xaf')][_0xe2a5('0x5b')](_0x4ff56e));let _0x5092d0=0x0;const _0x1ca076=new Map();for(const _0x3bccee in _0x4ffad8[_0xe2a5('0xda')]){const _0x34492c=_0x4ffad8[_0xe2a5('0xda')][_0x3bccee]['attachChange'],_0x23d9c5=_0x4a6ecc(_0x4ffad8['diffData'][_0x3bccee][_0xe2a5('0x6e')])||{},_0x4ba8d5=this['_makeModelFromViewString'](_0x4ffad8['diffData'][_0x3bccee][_0xe2a5('0x9d')]);_0x4ba8d5['rootName']=_0x3bccee,_0x4ba8d5[_0xe2a5('0x87')]=!_0x34492c||_0x34492c['isAttached'],_0x4ba8d5['isAttached']=()=>_0x4ba8d5[_0xe2a5('0x87')],this['_diffRoots']['set'](_0x3bccee,_0x4ba8d5),this['_diffRootsAttributes'][_0xe2a5('0x38')](_0x3bccee,_0x23d9c5);const _0x281e6b=this['_makeIdsRoot'](_0x4ba8d5,Number[_0xe2a5('0xbc')]);this[_0xe2a5('0x51')]['set'](_0x3bccee,_0x281e6b),_0x1ca076[_0xe2a5('0x38')](_0x3bccee,_0x4ba8d5[_0xe2a5('0xb0')]()?_0x23d9c5:{});for(const [_0x79551d,_0x29283f]of _0x4ba8d5[_0xe2a5('0xf5')]){if(!_0x79551d[_0xe2a5('0x5e')](_0xe2a5('0x92')))continue;const _0x3cfbe8=_0x79551d['split'](':')[0x2];for(const _0x250479 of _0x29283f[_0xe2a5('0x4b')]({'singleCharacters':!0x0})){const _0x291dda=this[_0xe2a5('0x8')](_0x250479),_0x1fab6c=this[_0xe2a5('0x7b')]++,_0x3aae2e=_0xe2a5('0x1f')==_0x250479[_0xe2a5('0xbf')]?_0x250479[_0xe2a5('0xe6')][_0xe2a5('0xc4')][_0xe2a5('0x4')](0x0,-0x1):_0x250479['previousPosition'][_0xe2a5('0xc4')];_0x281e6b[_0xe2a5('0x8e')](_0x3aae2e)[_0xe2a5('0x59')](_0x291dda,_0x1fab6c),this[_0xe2a5('0xaf')][_0xe2a5('0x38')](_0x1fab6c,{'userId':_0x3cfbe8});}}for(const _0x3784f2 of this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0x2e')](_0x4ba8d5)['getWalker']({'singleCharacters':!0x0})){const _0x30c266=this['_getVidAttributeName'](_0x3784f2),_0x867da1=_0xe2a5('0x1f')==_0x3784f2['type']?_0x3784f2[_0xe2a5('0xe6')][_0xe2a5('0xc4')][_0xe2a5('0x4')](0x0,-0x1):_0x3784f2[_0xe2a5('0xe6')][_0xe2a5('0xc4')],_0x367ffd=_0x281e6b['getNodeByPath'](_0x867da1);_0x367ffd['getAttribute'](_0x30c266)>0x0||_0x367ffd[_0xe2a5('0x59')](_0x30c266,_0x5aecf8[_0x5092d0++]);}for(const [_0x364f29,_0x38dff8]of _0x4ba8d5[_0xe2a5('0xf5')])_0x364f29[_0xe2a5('0x5e')](_0xe2a5('0x92'))||this['_markers']['set'](_0x364f29,_0x38dff8);}const _0xc2bcc=G(_0xe2a5('0x98'));this[_0xe2a5('0x63')]['set'](_0xe2a5('0x98'),_0xc2bcc),this[_0xe2a5('0xf')]['set'](_0xe2a5('0x98'),this['_makeIdsRoot'](_0xc2bcc,0x1));const _0x2e66ff=G(_0xe2a5('0x98'));this[_0xe2a5('0x6f')][_0xe2a5('0x38')](_0xe2a5('0x98'),_0x2e66ff),this[_0xe2a5('0x51')][_0xe2a5('0x38')](_0xe2a5('0x98'),this[_0xe2a5('0x36')](_0x2e66ff,0x1));const _0x5cd758=Array[_0xe2a5('0xd5')](this[_0xe2a5('0x6f')])[_0xe2a5('0x3e')](([_0x3ddb44,_0x52ea61])=>[_0x3ddb44,q(_0x52ea61)]);this[_0xe2a5('0xab')](this[_0xe2a5('0xd0')],_0x5cd758,this['_markers'],_0x1ca076);}[_0xe2a5('0x88')](_0x8789d8){const _0x43a0d7=JSON[_0xe2a5('0x15')](_0x8789d8),_0x4f863c=this['editor'][_0xe2a5('0x26')][_0xe2a5('0x2d')][_0xe2a5('0xc')],_0x1e54a3=new _0xb38177(_0x4f863c,_0x43a0d7[_0xe2a5('0x3e')](_0x11a7b0=>J(_0x11a7b0,this[_0xe2a5('0xb9')])));return this[_0xe2a5('0xb9')][_0xe2a5('0x52')][_0xe2a5('0xe8')](_0x1e54a3);}[_0xe2a5('0xab')](_0x289330,_0x5c3d8d,_0x2d559f,_0x365056){const _0x1b6bbb=new Map(_0x5c3d8d),_0x442ebc=new Map(_0x4a6ecc(_0x365056)),_0x3873f5=new Map();for(const [_0x3b9bde,_0x371a79]of _0x2d559f)_0x3873f5[_0xe2a5('0x38')](_0x3b9bde,{'start':_0x371a79[_0xe2a5('0x89')][_0xe2a5('0x93')](),'end':_0x371a79[_0xe2a5('0xb')]['clone'](),'rootName':_0x371a79[_0xe2a5('0xf8')][_0xe2a5('0xfa')]});this[_0xe2a5('0x11')][_0xe2a5('0x38')](_0x289330,{'roots':_0x1b6bbb,'markers':_0x3873f5,'rootsAttributes':_0x442ebc});}['_removeMetaData'](_0x19a873){this[_0xe2a5('0x11')][_0xe2a5('0x7e')](_0x19a873);}['reInit'](){this[_0xe2a5('0x4d')](),this[_0xe2a5('0xc0')]=-0x1,this['_lastTo']=-0x1,this[_0xe2a5('0x11')][_0xe2a5('0xfc')](),this[_0xe2a5('0x6c')](this[_0xe2a5('0x13')]);}[_0xe2a5('0x4d')](){this[_0xe2a5('0xaf')][_0xe2a5('0xfc')](),this[_0xe2a5('0xa')][_0xe2a5('0xfc')](),this['_touchedRoots'][_0xe2a5('0xfc')](),this[_0xe2a5('0x6f')]['clear'](),this[_0xe2a5('0xfe')][_0xe2a5('0xfc')](),this[_0xe2a5('0x63')][_0xe2a5('0xfc')](),this[_0xe2a5('0x6d')]['clear'](),this['_idsRoots'][_0xe2a5('0xfc')](),this[_0xe2a5('0xf')][_0xe2a5('0xfc')](),this[_0xe2a5('0xc9')]['clear'](),this['_revisionId']=0x1,this[_0xe2a5('0x60')]=this[_0xe2a5('0x7b')];}[_0xe2a5('0x36')](_0x5c1cbb,_0x486371=null){let _0x529c43=null;_0x5c1cbb['is'](_0xe2a5('0xdc'))||(_0x529c43=new _0x51fbf2(_0x5c1cbb['name'],{'vid_start':null===_0x486371?this[_0xe2a5('0x7b')]++:_0x486371++}));const _0x12e6e8=[];for(const _0x266ec2 of _0x5c1cbb[_0xe2a5('0x6a')]())if(_0x266ec2['is'](_0xe2a5('0x25'))){_0x12e6e8[_0xe2a5('0x0')](this[_0xe2a5('0x36')](_0x266ec2,_0x486371));const _0xd934d5=_0x12e6e8[_0x12e6e8[_0xe2a5('0x7c')]-0x1];null!==_0x486371&&(_0x486371=_0xd934d5['is'](_0xe2a5('0x25'),_0xe2a5('0xd'))?_0xd934d5[_0xe2a5('0xdd')](_0xe2a5('0x2a'))+0x1:_0xd934d5[_0xe2a5('0xdd')](_0xe2a5('0x17'))+0x1);}else for(let _0x3c5104=0x0;_0x3c5104<_0x266ec2['offsetSize'];_0x3c5104++)_0x12e6e8[_0xe2a5('0x0')](new _0x51fbf2(_0xe2a5('0xd'),{'vid':null===_0x486371?this[_0xe2a5('0x7b')]++:_0x486371++}));if(_0x5c1cbb['is'](_0xe2a5('0xdc'))){const _0x493d4b=G(_0x5c1cbb['rootName']);return _0x493d4b[_0xe2a5('0xed')](0x0,_0x12e6e8),_0x493d4b;}return _0x529c43[_0xe2a5('0x59')](_0xe2a5('0x17'),null===_0x486371?this[_0xe2a5('0x7b')]++:_0x486371++),_0x529c43[_0xe2a5('0xed')](0x0,_0x12e6e8),_0x529c43;}['_calculateMetaData'](_0x126629,_0x5da191,_0x10468d){this[_0xe2a5('0x4d')]();const {roots:_0x380041,markers:_0x3ee9bb,rootsAttributes:_0x14ea79}=this[_0xe2a5('0x11')][_0xe2a5('0xcb')](_0x126629);this['_baseRoots']=new Map(_0x380041),this[_0xe2a5('0x6d')]=new Map(_0x4a6ecc(_0x14ea79));for(const [_0x4633f5,_0x1efffc]of this[_0xe2a5('0x63')])if(_0xe2a5('0x98')!==_0x4633f5&&(this[_0xe2a5('0x6f')][_0xe2a5('0x38')](_0x4633f5,q(_0x1efffc)),this[_0xe2a5('0xfe')]=new Map(_0x4a6ecc(_0x14ea79)),_0x10468d)){const _0x38fd8b=this['_revisionId'];this[_0xe2a5('0x51')]['set'](_0x4633f5,this[_0xe2a5('0x36')](_0x1efffc)),this[_0xe2a5('0xf')]['set'](_0x4633f5,this[_0xe2a5('0x36')](_0x1efffc,_0x38fd8b));}this[_0xe2a5('0x60')]=this[_0xe2a5('0x7b')],this[_0xe2a5('0x6f')][_0xe2a5('0x38')](_0xe2a5('0x98'),q(this['_baseRoots']['get']('$graveyard'))),_0x10468d&&this[_0xe2a5('0x51')][_0xe2a5('0x38')](_0xe2a5('0x98'),this[_0xe2a5('0x36')](this['_baseRoots'][_0xe2a5('0xcb')]('$graveyard')));for(const [_0x197e3c,_0x17e535]of _0x3ee9bb){const _0x408b9d=this[_0xe2a5('0x63')][_0xe2a5('0xcb')](_0x17e535[_0xe2a5('0xfa')]),_0x37b17b=this[_0xe2a5('0x6f')][_0xe2a5('0xcb')](_0x17e535[_0xe2a5('0xfa')]),_0x3a63d1=new _0x555221(this[_0xe2a5('0xf2')](_0x17e535[_0xe2a5('0x89')],_0x408b9d),this[_0xe2a5('0xf2')](_0x17e535[_0xe2a5('0xb')],_0x408b9d)),_0x3e4d19=this[_0xe2a5('0x62')](_0x3a63d1,_0x37b17b);_0x408b9d[_0xe2a5('0xf5')][_0xe2a5('0x38')](_0x197e3c,_0x3a63d1),this['_markers'][_0xe2a5('0x38')](_0x197e3c,_0x3e4d19);}this['_applyOperations'](_0x126629,_0x5da191,_0x10468d);}[_0xe2a5('0xc5')](_0x1a0fc8,_0x50e36b,_0x2da15e){for(const _0x50d2e4 of this[_0xe2a5('0x13')]['getOperations'](_0x1a0fc8,_0x50e36b))this[_0xe2a5('0xba')](_0x50d2e4,_0x2da15e);for(const _0x14ee4c of this[_0xe2a5('0x6f')]['values']())_0x14ee4c[_0xe2a5('0xf5')][_0xe2a5('0xfc')]();for(const [_0x1eb94f,_0x299739]of this[_0xe2a5('0xc9')]){this[_0xe2a5('0x6f')][_0xe2a5('0xcb')](_0x299739['root']['rootName'])['markers'][_0xe2a5('0x38')](_0x1eb94f,_0x299739[_0xe2a5('0x93')]());}const _0x1513ed=new Map(),_0x128fe9=new Map();for(const [_0x61c5a0,_0x449efa]of this[_0xe2a5('0x6f')])_0x1513ed[_0xe2a5('0x38')](_0x61c5a0,q(_0x449efa)),_0x128fe9['set'](_0x61c5a0,this[_0xe2a5('0xfe')][_0xe2a5('0xcb')](_0x61c5a0));this[_0xe2a5('0xab')](_0x50e36b,_0x1513ed,this[_0xe2a5('0xc9')],_0x128fe9);}['_getPreviousFrom'](_0x3ae918){const _0x5dfb47=Array[_0xe2a5('0xd5')](this[_0xe2a5('0x11')][_0xe2a5('0x80')]());_0x5dfb47[_0xe2a5('0x9c')]((_0x17edf9,_0x4cc9ac)=>_0x17edf9-_0x4cc9ac),_0x5dfb47[_0xe2a5('0xbd')]();for(const _0x3a4e3a of _0x5dfb47)if(_0x3a4e3a<_0x3ae918)return _0x3a4e3a;return Number[_0xe2a5('0xbc')];}['_copyMarkers'](_0x10ef3a,_0x311620){const _0x3b7483=Array[_0xe2a5('0xd5')](_0x311620['markers'])[_0xe2a5('0x3e')](([_0x4c570c,_0x15ab81])=>[_0x4c570c,this[_0xe2a5('0x62')](_0x15ab81,_0x10ef3a)]);_0x10ef3a[_0xe2a5('0xf5')]=new Map(_0x3b7483);}['_transformMarkers'](_0x59ed4c){for(const _0xde77c8 of this['_markers'][_0xe2a5('0x96')]()){const _0x1edb93=_0xde77c8['getTransformedByOperation'](_0x59ed4c),_0x51e496=_0x555221[_0xe2a5('0x5c')](_0x1edb93);_0xde77c8[_0xe2a5('0x89')]=_0x51e496[_0xe2a5('0x89')],_0xde77c8[_0xe2a5('0xb')]=_0x51e496['end'];}}[_0xe2a5('0xba')](_0x41239a,_0xd348b5){if(_0xe2a5('0x2')==_0x41239a[_0xe2a5('0xbf')]||_0xe2a5('0x84')==_0x41239a[_0xe2a5('0xbf')])return void this[_0xe2a5('0x8c')](_0x41239a,_0xd348b5);if('insert'==_0x41239a[_0xe2a5('0xbf')]){const _0x2dd291=_0x41239a[_0xe2a5('0x29')][_0xe2a5('0xf8')]['rootName'];this['_diffRoots'][_0xe2a5('0x5b')](_0x2dd291)||(this[_0xe2a5('0x6f')][_0xe2a5('0x38')](_0x2dd291,G(_0x2dd291,!0x0)),this[_0xe2a5('0xfe')][_0xe2a5('0x38')](_0x2dd291,{}),_0xd348b5&&this[_0xe2a5('0x51')][_0xe2a5('0x38')](_0x2dd291,G(_0x2dd291,!0x0)));}else{if('addRootAttribute'==_0x41239a[_0xe2a5('0xbf')]||_0xe2a5('0x54')==_0x41239a['type']||_0xe2a5('0x7d')==_0x41239a['type'])return void this['_handleRootAttributeOperation'](_0x41239a);}const _0x3de796=this[_0xe2a5('0xef')](_0x41239a,this['_diffRoots']);if(_0xe2a5('0x74')!==_0x41239a[_0xe2a5('0xbf')]&&(_0x3de796[_0xe2a5('0x66')](),this['_transformMarkers'](_0x3de796)),_0xd348b5)switch(_0x3de796[_0xe2a5('0xbf')]){case _0xe2a5('0xe0'):this[_0xe2a5('0x58')](_0x41239a);break;case'move':case _0xe2a5('0x2c'):case _0xe2a5('0x30'):this[_0xe2a5('0x3f')](_0x41239a);break;case'merge':this['_handleMergeOperation'](_0x41239a);break;case'split':this['_handleSplitOperation'](_0x41239a);break;case _0xe2a5('0x74'):this[_0xe2a5('0x42')](_0x41239a);}}['_cloneOperation'](_0x18df35,_0x491fc8){const _0x4fbc1b=_0x18df35[_0xe2a5('0x93')]();return _0x4fbc1b[_0xe2a5('0xaa')]=_0x18df35[_0xe2a5('0xaa')],this[_0xe2a5('0x10')](_0x4fbc1b,_0x491fc8),_0x4fbc1b;}[_0xe2a5('0xe1')](_0x5c81a8){return _0x5c81a8[_0xe2a5('0x3e')](_0x5e2efd=>{const _0x8a2031=this[_0xe2a5('0x8')](_0x5e2efd);return Number(_0x5e2efd['item']['getAttribute'](_0x8a2031));});}['_generateTape'](_0xe47838,_0x594919){if(_0xe47838['is']('element',_0xe2a5('0xd')))_0x594919[_0xe2a5('0x0')]({'item':_0xe47838,'type':_0xe2a5('0xe3')});else{_0xe47838['is'](_0xe2a5('0x25'))&&_0x594919[_0xe2a5('0x0')]({'item':_0xe47838,'type':_0xe2a5('0x9b')});for(const _0x239d50 of _0xe47838[_0xe2a5('0x6a')]())this['_generateTape'](_0x239d50,_0x594919);_0xe47838['is'](_0xe2a5('0x25'))&&_0x594919[_0xe2a5('0x0')]({'item':_0xe47838,'type':_0xe2a5('0x1f')});}return _0x594919;}['_getState'](){const _0x1da9c0=new Map(this[_0xe2a5('0xaf')]),_0x106689=new Map(_0x1da9c0),_0x34947d=new Map(),_0x53aa6d={'insertions':{},'deletions':{}},_0x2b553b={'insertions':{},'deletions':{}},_0x1d21b7=new Map(),_0x146f9c=new Set([...this[_0xe2a5('0x63')]['keys'](),...this[_0xe2a5('0x6f')][_0xe2a5('0x80')]()]);_0x146f9c[_0xe2a5('0x7e')](_0xe2a5('0x98'));for(const _0xc7ef83 of _0x146f9c){const _0x127287=this['_diffRoots'][_0xe2a5('0xcb')](_0xc7ef83)||G(_0xc7ef83,!0x1),_0x5d379e=this[_0xe2a5('0x63')][_0xe2a5('0xcb')](_0xc7ef83)||G(_0xc7ef83,!0x1);_0x127287[_0xe2a5('0xb0')]()||_0x5d379e[_0xe2a5('0xb0')]()?(_0x53aa6d['insertions'][_0xc7ef83]=q(_0x127287),_0x53aa6d[_0xe2a5('0x99')][_0xc7ef83]=q(_0x5d379e),this[_0xe2a5('0xcc')](_0x53aa6d[_0xe2a5('0x99')][_0xc7ef83],_0x5d379e),this[_0xe2a5('0xcc')](_0x53aa6d['insertions'][_0xc7ef83],_0x127287),_0x2b553b[_0xe2a5('0x9d')][_0xc7ef83]=this['_generateTape'](this[_0xe2a5('0x51')][_0xe2a5('0xcb')](_0xc7ef83),[]),_0x2b553b[_0xe2a5('0x99')][_0xc7ef83]=this[_0xe2a5('0xd7')](this[_0xe2a5('0xf')][_0xe2a5('0xcb')](_0xc7ef83)||G(_0xc7ef83,!0x1),[])):_0x146f9c[_0xe2a5('0x7e')](_0xc7ef83);}for(const _0x58cb5c of _0x146f9c){const _0x4a1d9d=_0x2b553b[_0xe2a5('0x9d')][_0x58cb5c];for(const _0x29847c of _0x4a1d9d){const _0x32df68=this[_0xe2a5('0x8')](_0x29847c),_0x4081aa=_0x29847c['item'][_0xe2a5('0xdd')](_0x32df68);_0x106689[_0xe2a5('0x7e')](_0x4081aa),_0x4081aa>=this['_startingRevisionId']&&_0x34947d[_0xe2a5('0x38')](_0x4081aa,_0x1da9c0[_0xe2a5('0xcb')](_0x4081aa));}}for(const _0x385dfb of _0x146f9c){const _0x17cd15=_0x2b553b['insertions'][_0x385dfb],_0x2c0bbe=this[_0xe2a5('0xe1')](_0x2b553b['deletions'][_0x385dfb]);let _0x1c2e3e=0x0;for(const _0x1bf0e6 of _0x17cd15){const _0x2171fd=this[_0xe2a5('0x8')](_0x1bf0e6),_0x46fb5e=_0x1bf0e6[_0xe2a5('0x7')][_0xe2a5('0xdd')](_0x2171fd);if(!_0x34947d[_0xe2a5('0x5b')](_0x46fb5e)&&!_0x1d21b7[_0xe2a5('0x5b')](_0x46fb5e)){if(_0x106689['has'](_0x46fb5e))_0x1c2e3e++;else{if(_0x46fb5e!=_0x2c0bbe[_0x1c2e3e]){const _0xa00850=_0x1da9c0[_0xe2a5('0xcb')](_0x46fb5e)||_0x1da9c0[_0xe2a5('0xcb')](_0x2c0bbe[_0x1c2e3e]);for(;_0x46fb5e!=_0x2c0bbe[_0x1c2e3e];)_0x106689[_0xe2a5('0x5b')](_0x2c0bbe[_0x1c2e3e])||(_0x1d21b7[_0xe2a5('0x38')](_0x2c0bbe[_0x1c2e3e],_0xa00850),_0x1da9c0[_0xe2a5('0x38')](_0x2c0bbe[_0x1c2e3e],_0xa00850)),_0x1c2e3e++;}_0x1c2e3e++;}}}}for(const _0x3c8fa2 of _0x146f9c){const _0x587c69=_0x2b553b['insertions'][_0x3c8fa2];for(const _0x56a54d of _0x587c69){const _0x3ac897=this[_0xe2a5('0x8')](_0x56a54d),_0x28980b=_0x56a54d[_0xe2a5('0x7')][_0xe2a5('0xdd')](_0x3ac897);if(_0x1d21b7[_0xe2a5('0x5b')](_0x28980b)){const _0x4875d8=_0x1d21b7[_0xe2a5('0xcb')](_0x28980b);_0x106689['has'](_0x28980b)||_0x106689['set'](_0x28980b,{..._0x4875d8}),_0x34947d[_0xe2a5('0x38')](_0x28980b,{..._0x4875d8});}}}for(const _0x2e6d9f of _0x106689[_0xe2a5('0x80')]())_0x2e6d9f>=this[_0xe2a5('0x60')]&&_0x106689['delete'](_0x2e6d9f);const _0xb4396c=new Map();for(const _0x314491 of _0x146f9c){let _0x1f8d7a=_0x2b553b['insertions'][_0x314491];for(const _0x9e93d0 of _0x1f8d7a)if(_0x9e93d0['item']['is'](_0xe2a5('0x25'),_0xe2a5('0x5d'))){const _0x21d20e=this['_getVidAttributeName'](_0x9e93d0),_0x4a6ad5=_0x9e93d0['item']['getAttribute'](_0x21d20e);if(_0x34947d[_0xe2a5('0x5b')](_0x4a6ad5)){const _0x5756dd=_0x9e93d0[_0xe2a5('0x7')][_0xe2a5('0x28')]['parent'][_0xe2a5('0xdd')]('vid_start'),_0x59ff12=_0xb4396c[_0xe2a5('0xcb')](_0x5756dd)||new Set();_0x59ff12['add'](_0x34947d[_0xe2a5('0xcb')](_0x4a6ad5)[_0xe2a5('0xd2')]),_0xb4396c[_0xe2a5('0x38')](_0x5756dd,_0x59ff12);}}_0x1f8d7a=_0x2b553b['deletions'][_0x314491];for(const _0x427e7e of _0x1f8d7a)if(_0x427e7e[_0xe2a5('0x7')]['is'](_0xe2a5('0x25'),_0xe2a5('0x5d'))){const _0x1e4cf1=this[_0xe2a5('0x8')](_0x427e7e),_0x4d5a7c=_0x427e7e[_0xe2a5('0x7')][_0xe2a5('0xdd')](_0x1e4cf1);if(_0x106689[_0xe2a5('0x5b')](_0x4d5a7c)){const _0x382482=_0x427e7e['item'][_0xe2a5('0x28')]['parent'][_0xe2a5('0xdd')](_0xe2a5('0x40')),_0x274bd1=_0xb4396c['get'](_0x382482)||new Set();_0x274bd1[_0xe2a5('0x82')](_0x106689[_0xe2a5('0xcb')](_0x4d5a7c)[_0xe2a5('0xd2')]),_0xb4396c[_0xe2a5('0x38')](_0x382482,_0x274bd1);}}for(const _0x4cace0 of _0xb4396c[_0xe2a5('0x80')]())(_0x34947d[_0xe2a5('0x5b')](_0x4cace0)||_0x106689[_0xe2a5('0x5b')](_0x4cace0))&&_0xb4396c[_0xe2a5('0x7e')](_0x4cace0);}for(const _0x3eacea of _0x146f9c){const _0x19c0d3=_0x2b553b['insertions'][_0x3eacea];let _0x41b4e6=null,_0x34d5cc=null;for(const _0x3309d9 of _0x19c0d3){const _0x51853f=this[_0xe2a5('0x8')](_0x3309d9),_0x450a12=_0x3309d9['item'][_0xe2a5('0xdd')](_0x51853f),_0x4ef294=_0xb4396c['get'](_0x450a12);_0x4ef294&&'elementStart'==_0x3309d9['type']&&(_0x41b4e6=Array[_0xe2a5('0xd5')](_0x4ef294)[0x0],_0x34d5cc=_0x3309d9[_0xe2a5('0x7')]['getAttribute']('vid_end')),_0x41b4e6&&(_0x106689[_0xe2a5('0x38')](_0x450a12,{'userId':_0x41b4e6}),_0x34947d['set'](_0x450a12,{'userId':_0x41b4e6})),_0x450a12==_0x34d5cc&&(_0x41b4e6=null,_0x34d5cc=null);}}const _0x34b6ce={},_0x3031d7=new Set();for(const _0x4f926d of _0x146f9c){const _0x2bdca6=_0x53aa6d[_0xe2a5('0x99')][_0x4f926d],_0x5b5e89=_0x53aa6d[_0xe2a5('0x9d')][_0x4f926d];for(const {userId:_0x2cff22}of this[_0xe2a5('0xa')][_0xe2a5('0x96')]())null!==_0x2cff22&&_0x3031d7[_0xe2a5('0x82')](_0x2cff22);for(const {userId:_0x23d090}of this[_0xe2a5('0x67')][_0xe2a5('0x96')]())null!==_0x23d090&&_0x3031d7[_0xe2a5('0x82')](_0x23d090);this[_0xe2a5('0x3c')](_0x5b5e89,_0x2b553b[_0xe2a5('0x9d')][_0x4f926d],_0x34947d,_0xe2a5('0xf9'),_0x3031d7),this['_markChanges'](_0x2bdca6,_0x2b553b[_0xe2a5('0x99')][_0x4f926d],_0x106689,'deletion',_0x3031d7),_0x34b6ce[_0x4f926d]={'insertions':this[_0xe2a5('0xa7')](_0x5b5e89),'deletions':this[_0xe2a5('0xa7')](_0x2bdca6),'attachChange':this[_0xe2a5('0x67')][_0xe2a5('0xcb')](_0x4f926d)||null,'attributesBefore':_0x4a6ecc(this[_0xe2a5('0x6d')][_0xe2a5('0xcb')](_0x4f926d))||{},'attributesAfter':_0x4a6ecc(this[_0xe2a5('0xfe')][_0xe2a5('0xcb')](_0x4f926d))};}return{'diffData':_0x34b6ce,'authorsIds':Array[_0xe2a5('0xd5')](_0x3031d7)};}[_0xe2a5('0xac')](_0x8ab9fc){for(const [,_0x36aff5]of _0x8ab9fc[_0xe2a5('0xf5')]){const _0x15c82d=_0x36aff5['start'][_0xe2a5('0x9a')]()[_0xe2a5('0xa4')](_0x3a6bfc=>_0xe2a5('0x5d')==_0x3a6bfc[_0xe2a5('0xb1')]);for(const _0x36ed0c of _0x15c82d)0x1==_0x36ed0c['childCount']&&_0x36ed0c['getChild'](0x0)['is'](_0xe2a5('0x25'),_0xe2a5('0xf1'))&&_0x36ed0c['getChild'](0x0)['_setAttribute'](_0xe2a5('0x8b'),!0x0);}}[_0xe2a5('0xa7')](_0x44cd51){this[_0xe2a5('0xac')](_0x44cd51);const _0x459273=this[_0xe2a5('0xb9')][_0xe2a5('0x52')][_0xe2a5('0x2b')](_0x44cd51,{}),_0x4ca893=Array[_0xe2a5('0xd5')](_0x459273[_0xe2a5('0x6a')]())[_0xe2a5('0x3e')](_0x14094b=>this[_0xe2a5('0x48')](_0x14094b));return JSON['stringify'](_0x4ca893);}[_0xe2a5('0x48')](_0x21ca76){if(_0x21ca76['is'](_0xe2a5('0xd')))return _0x21ca76[_0xe2a5('0x52')];{const _0x399d38=_0x21ca76;return{'type':Object[_0xe2a5('0x80')](B)[_0xe2a5('0xd6')](_0x3d33f5=>_0x21ca76 instanceof B[_0x3d33f5]),'name':_0x399d38[_0xe2a5('0xb1')],'attributes':Array[_0xe2a5('0xd5')](_0x399d38['getAttributes']()),'children':Array[_0xe2a5('0xd5')](_0x399d38['getChildren']())[_0xe2a5('0x3e')](_0x1e4403=>this[_0xe2a5('0x48')](_0x1e4403))};}}['_markChanges'](_0x4582fe,_0x911ba2,_0x38a7fd,_0x6a6914,_0x25bac3){let _0x2f8098=null,_0x58a37d=null,_0x1b989e=0x0;const _0x754ff1=this['editor'][_0xe2a5('0xf4')];for(let _0x401a22=0x0;_0x401a22<_0x911ba2[_0xe2a5('0x7c')];_0x401a22++){const _0x4298cd=this[_0xe2a5('0x8')](_0x911ba2[_0x401a22]),_0x4fa6e9=_0x911ba2[_0x401a22][_0xe2a5('0x7')]['getAttribute'](_0x4298cd),_0x483ad4=_0x38a7fd[_0xe2a5('0xcb')](_0x4fa6e9),_0x2746e8=_0x401a22==_0x911ba2['length']-0x1;(!_0x2f8098&&_0x483ad4&&(_0x2f8098=_0x483ad4,_0x58a37d=_0x911ba2[_0x401a22]),_0x2f8098&&(!_0x483ad4||_0x483ad4[_0xe2a5('0xd2')]!=_0x2f8098['userId']))&&(_0x58a55b(_0x483ad4,L(_0x58a37d,_0x4582fe,_0x754ff1),L(_0x911ba2[_0x401a22],_0x4582fe,_0x754ff1)),_0x2f8098=_0x483ad4||null,_0x58a37d=_0x483ad4?_0x911ba2[_0x401a22]:null),_0x2f8098&&_0x2746e8&&_0x58a55b(_0x483ad4,L(_0x58a37d,_0x4582fe,_0x754ff1),W(_0x911ba2[_0x401a22],_0x4582fe,_0x754ff1));}function _0x58a55b(_0xcd6871,_0x1ea36f,_0xdd5fce){const _0x253d2d=_0x2f8098[_0xe2a5('0xd2')],_0x5681d6=_0xe2a5('0x92')+_0x6a6914+':'+_0x253d2d+':'+_0x1b989e++,_0x27e23b=_0x754ff1[_0xe2a5('0x7f')](_0x1ea36f,_0xdd5fce);_0x4582fe[_0xe2a5('0xf5')][_0xe2a5('0x38')](_0x5681d6,_0x27e23b),null!==_0x253d2d&&_0x25bac3[_0xe2a5('0x82')](_0x253d2d);}}[_0xe2a5('0x8')](_0x428ce0){switch(_0x428ce0['type']){case _0xe2a5('0x9b'):return'vid_start';case _0xe2a5('0x1f'):return _0xe2a5('0x17');default:return _0xe2a5('0x2a');}}['_fixOperation'](_0x38c715,_0x1e5a80){_0x38c715[_0xe2a5('0x64')]=null;for(const _0x42c77c in _0x38c715){const _0x3a7a50=_0x38c715[_0x42c77c];if(_0x3a7a50 instanceof _0x5da8fb){const _0x3642d5=_0x1e5a80[_0xe2a5('0xcb')](_0x3a7a50[_0xe2a5('0xf8')][_0xe2a5('0xfa')]);_0x38c715[_0x42c77c]=this[_0xe2a5('0xf2')](_0x3a7a50,_0x3642d5);}if(_0x3a7a50 instanceof _0x555221){const _0x44b53b=_0x1e5a80[_0xe2a5('0xcb')](_0x3a7a50[_0xe2a5('0xf8')][_0xe2a5('0xfa')]);_0x38c715[_0x42c77c]=this[_0xe2a5('0x62')](_0x3a7a50,_0x44b53b);}_0xe2a5('0xf8')===_0x42c77c&&(_0x38c715[_0xe2a5('0xf8')]=_0x1e5a80[_0xe2a5('0xcb')](_0x38c715[_0xe2a5('0xf8')]['rootName']));}}['_fixRange'](_0x529daf,_0x134831){return this[_0xe2a5('0xb9')][_0xe2a5('0xf4')][_0xe2a5('0x7f')](this[_0xe2a5('0xf2')](_0x529daf['start'],_0x134831),this['_fixPosition'](_0x529daf[_0xe2a5('0xb')],_0x134831));}[_0xe2a5('0xf2')](_0x5c5e67,_0x1e3b64){return this['editor'][_0xe2a5('0xf4')]['createPositionFromPath'](_0x1e3b64,_0x5c5e67[_0xe2a5('0xc4')],_0x5c5e67['stickiness']);}['_handleInsertOperation'](_0x38ffa5){const _0x122411=this[_0xe2a5('0x51')][_0xe2a5('0xcb')](_0x38ffa5[_0xe2a5('0x29')][_0xe2a5('0xf8')][_0xe2a5('0xfa')]),_0x3c5e07=this[_0xe2a5('0xf2')](_0x38ffa5[_0xe2a5('0x29')],_0x122411),_0x45f7f5=null===_0x38ffa5[_0xe2a5('0xaa')]?null:_0x38ffa5[_0xe2a5('0xaa')]||this[_0xe2a5('0xb9')]['plugins']['get'](_0xe2a5('0x71'))['me']['id'],_0x3ed684=_0x3c5e07[_0xe2a5('0x28')],_0x2510e2=this[_0xe2a5('0x7b')],_0x2d6313=[];for(const _0x41ff5a of _0x38ffa5[_0xe2a5('0x3d')])if(_0x41ff5a['is'](_0xe2a5('0x25')))_0x2d6313['push'](this['_makeIdsRoot'](_0x41ff5a));else for(let _0x184fda=0x0;_0x184fda<_0x41ff5a['offsetSize'];_0x184fda++)_0x2d6313['push'](new _0x51fbf2('$text',{'vid':this['_revisionId']++}));const _0x5c0baf=this[_0xe2a5('0x7b')];for(let _0x497082=_0x2510e2;_0x497082<_0x5c0baf;_0x497082++)this['_touched'][_0xe2a5('0x38')](_0x497082,{'userId':_0x45f7f5});_0x3ed684['_insertChild'](_0x3c5e07[_0xe2a5('0x46')],_0x2d6313);}[_0xe2a5('0x3f')](_0x411650){(_0x411650=this[_0xe2a5('0xef')](_0x411650,this[_0xe2a5('0x51')]))['_execute']();const _0xf4e676=null===_0x411650['_authorId']?null:_0x411650['_authorId']||this['editor'][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))['me']['id'],_0x551b7e=_0x411650[_0xe2a5('0xad')](),_0x584d97=_0x551b7e[_0xe2a5('0x28')],_0x515f91=_0x551b7e['offset'];!function _0x1aa431(_0x47a146,_0x586129,_0x1a04ed,_0xe2e05f){for(let _0x2804e2=_0x1a04ed;_0x2804e2<_0xe2e05f;_0x2804e2++){const _0x5bc5e4=_0x586129[_0xe2a5('0x45')](_0x2804e2);_0x5bc5e4['is']('element',_0xe2a5('0xd'))?_0x47a146[_0xe2a5('0x38')](_0x5bc5e4[_0xe2a5('0xdd')](_0xe2a5('0x2a')),{'userId':_0xf4e676}):(_0x47a146[_0xe2a5('0x38')](_0x5bc5e4[_0xe2a5('0xdd')](_0xe2a5('0x40')),{'userId':_0xf4e676}),_0x1aa431(_0x47a146,_0x5bc5e4,0x0,_0x5bc5e4[_0xe2a5('0x8d')]),_0x47a146['set'](_0x5bc5e4['getAttribute'](_0xe2a5('0x17')),{'userId':_0xf4e676}));}}(this['_touched'],_0x584d97,_0x515f91,_0x515f91+_0x411650[_0xe2a5('0x73')]);}['_handleMergeOperation'](_0x332e09){const _0x15468d=null===(_0x332e09=this[_0xe2a5('0xef')](_0x332e09,this[_0xe2a5('0x51')]))[_0xe2a5('0xaa')]?null:_0x332e09[_0xe2a5('0xaa')]||this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')]('Users')['me']['id'],_0x36653e=_0x332e09['targetPosition'][_0xe2a5('0x28')],_0xda3592=_0x332e09['sourcePosition'][_0xe2a5('0x28')],_0x3587ed=_0x36653e[_0xe2a5('0xdd')]('vid_end'),_0x336817=_0xda3592[_0xe2a5('0xdd')](_0xe2a5('0x40'));_0x36653e[_0xe2a5('0x59')](_0xe2a5('0x17'),_0xda3592[_0xe2a5('0xdd')](_0xe2a5('0x17'))),_0xda3592[_0xe2a5('0x59')]('vid_end',_0x3587ed),this['_touched'][_0xe2a5('0x38')](_0x336817,{'userId':_0x15468d}),this['_touched']['set'](_0x3587ed,{'userId':_0x15468d}),_0x332e09[_0xe2a5('0x66')]();}[_0xe2a5('0x44')](_0x20b7a8){const _0x17e7ff=null===(_0x20b7a8=this[_0xe2a5('0xef')](_0x20b7a8,this['_idsRoots']))[_0xe2a5('0xaa')]?null:_0x20b7a8[_0xe2a5('0xaa')]||this[_0xe2a5('0xb9')][_0xe2a5('0xa2')]['get']('Users')['me']['id'],_0x4a8263=_0x20b7a8[_0xe2a5('0xcf')],_0x17cbe9=_0x20b7a8[_0xe2a5('0xd9')][_0xe2a5('0x28')];_0x20b7a8['_execute']();const _0x1c5968=_0x17cbe9['getAttribute'](_0xe2a5('0x17')),_0x4e6bc6=_0x20b7a8[_0xe2a5('0x9')][_0xe2a5('0x5a')];if(_0x4a8263){const _0x4c9828=_0x4e6bc6['getAttribute'](_0xe2a5('0x17')),_0x95493a=_0x17cbe9[_0xe2a5('0xdd')]('vid_end');_0x17cbe9[_0xe2a5('0x59')](_0xe2a5('0x17'),_0x4c9828),_0x4e6bc6[_0xe2a5('0x59')](_0xe2a5('0x17'),_0x95493a),this[_0xe2a5('0xaf')][_0xe2a5('0x38')](_0x17cbe9[_0xe2a5('0xdd')](_0xe2a5('0x17')),{'userId':_0x17e7ff}),this[_0xe2a5('0xaf')][_0xe2a5('0x38')](_0x4e6bc6[_0xe2a5('0xdd')]('vid_start'),{'userId':_0x17e7ff});}else{const _0x172048=this[_0xe2a5('0x7b')]++,_0x3721e4=this[_0xe2a5('0x7b')]++;_0x17cbe9[_0xe2a5('0x59')](_0xe2a5('0x17'),_0x172048),_0x4e6bc6['_setAttribute'](_0xe2a5('0x40'),_0x3721e4),_0x4e6bc6['_setAttribute']('vid_end',_0x1c5968),this[_0xe2a5('0xaf')][_0xe2a5('0x38')](_0x172048,{'userId':_0x17e7ff}),this[_0xe2a5('0xaf')]['set'](_0x3721e4,{'userId':_0x17e7ff});}}[_0xe2a5('0x42')](_0xc34025){if(!_0xc34025[_0xe2a5('0x31')])return;const _0x3bbf10=(_0xc34025=this[_0xe2a5('0xef')](_0xc34025,this[_0xe2a5('0x6f')]))[_0xe2a5('0x12')]?_0xc34025['oldRange']['root']:null,_0x5e14e7=_0xc34025['newRange']?_0xc34025[_0xe2a5('0xee')]['root']:null;_0x3bbf10&&this[_0xe2a5('0xc9')][_0xe2a5('0x7e')](_0xc34025[_0xe2a5('0xb1')]),_0x5e14e7&&this[_0xe2a5('0xc9')][_0xe2a5('0x38')](_0xc34025[_0xe2a5('0xb1')],_0xc34025['newRange'][_0xe2a5('0x93')]());const _0x133659=null===_0xc34025[_0xe2a5('0xaa')]?null:_0xc34025[_0xe2a5('0xaa')]||this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')](_0xe2a5('0x71'))['me']['id'],_0x1ad2fd=_0xc34025[_0xe2a5('0xb1')];if(!this['_touchedMarkers'][_0xe2a5('0x5b')](_0x1ad2fd))return void this['_touchedMarkers'][_0xe2a5('0x38')](_0x1ad2fd,{'range':_0xc34025['oldRange'],'userId':_0x133659});const _0x4c887d=this[_0xe2a5('0xa')]['get'](_0x1ad2fd),_0x40d0d3=_0x4c887d['range'],_0x13f20d=_0xc34025[_0xe2a5('0xee')];null==_0x40d0d3&&null==_0x13f20d||_0x40d0d3&&_0x13f20d&&_0x40d0d3['isEqual'](_0x13f20d)?this[_0xe2a5('0xa')][_0xe2a5('0x7e')](_0xc34025[_0xe2a5('0xb1')]):_0x4c887d[_0xe2a5('0xd2')]=_0x133659;}[_0xe2a5('0x8c')](_0x2c62ab,_0x1e493a){this['_diffRoots']['has'](_0x2c62ab[_0xe2a5('0xfa')])?this[_0xe2a5('0x6f')][_0xe2a5('0xcb')](_0x2c62ab[_0xe2a5('0xfa')])[_0xe2a5('0x87')]=_0x2c62ab[_0xe2a5('0x6b')]:(this['_diffRoots'][_0xe2a5('0x38')](_0x2c62ab[_0xe2a5('0xfa')],G(_0x2c62ab[_0xe2a5('0xfa')],!0x0)),this[_0xe2a5('0xfe')][_0xe2a5('0x38')](_0x2c62ab[_0xe2a5('0xfa')],{}),_0x1e493a&&this['_idsRoots'][_0xe2a5('0x38')](_0x2c62ab[_0xe2a5('0xfa')],G(_0x2c62ab[_0xe2a5('0xfa')],!0x0)));const _0x6b7bc7=null===_0x2c62ab[_0xe2a5('0xaa')]?null:_0x2c62ab['_authorId']||this[_0xe2a5('0xb9')][_0xe2a5('0xa2')][_0xe2a5('0xcb')]('Users')['me']['id'],_0x3a2d3c=this[_0xe2a5('0x67')][_0xe2a5('0xcb')](_0x2c62ab[_0xe2a5('0xfa')]);_0x3a2d3c&&_0x3a2d3c[_0xe2a5('0xd2')]===_0x6b7bc7?this[_0xe2a5('0x67')][_0xe2a5('0x7e')](_0x2c62ab['rootName']):this[_0xe2a5('0x67')][_0xe2a5('0x38')](_0x2c62ab['rootName'],{'userId':_0x6b7bc7,'isAttached':_0x2c62ab[_0xe2a5('0x6b')]});}[_0xe2a5('0x79')](_0x30546c){const _0x400de1=this['_diffRootsAttributes'][_0xe2a5('0xcb')](_0x30546c[_0xe2a5('0xf8')][_0xe2a5('0xfa')]);null===_0x30546c[_0xe2a5('0xf3')]?delete _0x400de1[_0x30546c[_0xe2a5('0xbe')]]:_0x400de1[_0x30546c[_0xe2a5('0xbe')]]=_0x30546c[_0xe2a5('0xf3')];}}function q(_0x460d3f){const _0x343c8a=G(_0x460d3f[_0xe2a5('0xfa')],_0x460d3f['isAttached']());for(const _0x104d22 of _0x460d3f[_0xe2a5('0x6a')]()){const _0x72d16a=_0x104d22[_0xe2a5('0xe2')](!0x0);_0x343c8a[_0xe2a5('0x86')](_0x72d16a);}return _0x343c8a;}function G(_0x4614db,_0x10bcd9=!0x0){const _0x3e203c=new _0x291270();return _0x3e203c[_0xe2a5('0xfa')]=_0x4614db,_0x3e203c[_0xe2a5('0x87')]=_0x10bcd9,_0x3e203c[_0xe2a5('0xb0')]=()=>_0x3e203c[_0xe2a5('0x87')],_0x3e203c;}function L(_0x351f61,_0x3b0e1f,_0x261318){const _0x3c566c=_0xe2a5('0x1f')==_0x351f61['type']?_0x261318[_0xe2a5('0xdf')](_0x351f61[_0xe2a5('0x7')],_0xe2a5('0xb')):_0x261318[_0xe2a5('0x1')](_0x351f61[_0xe2a5('0x7')]);return _0x261318['createPositionFromPath'](_0x3b0e1f,_0x3c566c[_0xe2a5('0xc4')],_0x3c566c[_0xe2a5('0x57')]);}function W(_0x3ad886,_0x4acbcc,_0x5d1fac){const _0x2c0930=_0xe2a5('0x9b')==_0x3ad886['type']?_0x5d1fac[_0xe2a5('0xdf')](_0x3ad886[_0xe2a5('0x7')],0x0):_0x5d1fac[_0xe2a5('0xa1')](_0x3ad886[_0xe2a5('0x7')]);return _0x5d1fac[_0xe2a5('0x21')](_0x4acbcc,_0x2c0930[_0xe2a5('0xc4')],_0x2c0930[_0xe2a5('0x57')]);}
|
|
23
|
+
const _0x1049=['marked','_pendingAction','vid','getWalker','_applyOperations','document','_lastTo','collaboration.channelId','_createInitialRevision','insert','children','fromEntries','markerToData','toVersion','plugins','_handleMoveOperation','addRevisionData','ready','isReady','baseVersion','_getPreviousFrom','_isInit','diffData','stringify','_copyMarkers','attributesBefore','affectsData','revisionHistory.resumeUnsavedRevision','reverse','_startingVersion','initialData','marker','clear','_replaceEditorDataWithRevisionData','_isAttached','type','newRange','howMany','_revisionDataBuilder','path','_getVidAttributeName','_createCurrentRevision','offset','shift','delete','get','_makeModelFromViewString','previousPosition','has','createRevision','_update','editing','keepParagraph','_loadedStateData','getAttributes','name','_initialRevisionId','upcast','startsWith','attributesAfter','_makeIdsRoot','split','move','stickiness','includes','_diffRootsAttributes','find','_handleRootOperation','locale','_setAttribute','currentRevision','revision-end','pluginName','_getState','newValue','root','authorsIds','_appendChild','item','_source','_baseIdsRoots','view','sourcePosition','reinsert','resolve','offsetSize','position','parent','Empty\x20document','push','getChild','isAttached','documentFragment','sendBufferedUpdates','size','_diffRoots','_touchedMarkers','map','_reset','vid_start','insertionPosition','deletions','Users','PendingActions','getNodeByPath','_calculateMetaData','_clone','init','$graveyard','_getBaseVids','_removePendingAction','getOperation','getRange','attachChange','conversion','_baseRootsAttributes','add','toData','getRevisions','createPositionBefore','_loadRevisionData','_findInsertionIndex','keys','update','adapter','length','remove','nodes','_startingRevisionId','_handleInsertOperation','getCurrentRevisionId','getAttribute','_continueCurrentRevision','nodeAfter','vid_end','createPositionAt','revision-start','creatorId','createPositionAfter','_makeRevision','set','_markers','revision','_bufferUpdate','_handleMarkerOperation','isAdd','fromVersion','userId','_savedMetaData','reInit','roots','_saveMetaData','processor','_loadState','rootsAttributes','config','getRoot','history','_execute','_lastFrom','createdAt','_bufferedUpdates','PENDING_ACTION_REVISION_HISTORY','_removeRevisionMarkers','getRootNames','_touched','initial','_cloneOperation','start','loadState','buildRevisionData','createPositionFromPath','_prepareViewToSave','creator','_setConversion','end','attributes','addRoot','merge','setRevisionData','repository','revision:','_handleSplitOperation','getRevisionRootsAttributes','addRootAttribute','_fixPosition','string','_revisionId','_handleMergeOperation','_getFromVersion','$text','_markChanges','deletion','for','bind','_transformMarkers','getData','_getViewJson','graveyardPosition','_authorId','rootName','data','values','createRange','key','_idsRoots','paragraph','clone','addRevision','RevisionsRepository','some','_processRootBeforeSave','_insertChild','dataToMarker','hasContent','editor','oldRange','_generateTape','useFillerType','getLatestVersion','authors','_isPendingUpdate','insertions','slice','updateRevisions','forEach','elementStart','filter','element','tableCell','_handleOperation','getUser','_touchedRoots','markers','insertion','_addPendingAction','from','source','parse','removeRootAttribute','detachRoot','getRevisionDocumentData','getChildren','version','then','_baseRoots','getRevision','_handleRootAttributeOperation','max','toModel','_fixRange','RealTimeCollaborationClient','model','NEGATIVE_INFINITY','elementEnd','createRangeIn'];(function(_0x5e7034,_0x1049f8){const _0x28a2ca=function(_0x2e8506){while(--_0x2e8506){_0x5e7034['push'](_0x5e7034['shift']());}};_0x28a2ca(++_0x1049f8);}(_0x1049,0x1f1));const _0x28a2=function(_0x5e7034,_0x1049f8){_0x5e7034=_0x5e7034-0x0;let _0x28a2ca=_0x1049[_0x5e7034];return _0x28a2ca;};import{Users as _0x525a76}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x210168,PendingActions as _0x309a48}from'ckeditor5/src/core';import{logWarning as _0x183192,uid as _0x418475}from'ckeditor5/src/utils';import{Position as _0x31e047,Range as _0x51c84c,Element as _0x2b9992,DocumentFragment as _0x262073,ViewText as _0x175c36,ViewElement as _0x5777b2,ViewContainerElement as _0x3a74ed,ViewAttributeElement as _0x594d20,ViewEmptyElement as _0xbac4c,ViewRawElement as _0x13afa5,ViewUIElement as _0x33fb6e,ViewDocumentFragment as _0x2ed0a2}from'ckeditor5/src/engine';import _0x37c2bd from'./revisionsrepository';import{getTranslation as _0x1eaa92}from'./utils/common-translations';import{cloneDeep as _0x29ed97,isEqual as _0x1b3a03}from'lodash-es';const B={'c':_0x3a74ed,'a':_0x594d20,'e':_0xbac4c,'r':_0x13afa5,'u':_0x33fb6e};export default class l extends _0x210168{static get[_0x28a2('0x57')](){return'RevisionTracker';}static get['requires'](){return[_0x525a76,_0x37c2bd,_0x309a48];}constructor(_0x9281fb){super(_0x9281fb),this[_0x28a2('0x8b')]=null,this[_0x28a2('0x55')]=null,this[_0x28a2('0x35')]=new H(this[_0x28a2('0xe6')]),this['_initialRevisionId']=this[_0x28a2('0xe6')]['config'][_0x28a2('0x3c')]('collaboration.channelId')||_0x28a2('0xb5'),this['_bufferedUpdates']=new Map(),this[_0x28a2('0x44')]=null;const _0x124027=_0x418475();this[_0x28a2('0x5e')]={'history':this[_0x28a2('0xe6')]['model'][_0x28a2('0x14')][_0x28a2('0xac')],'getLatestVersion':()=>Promise[_0x28a2('0x63')](this['editor'][_0x28a2('0xb')][_0x28a2('0x14')][_0x28a2('0x2')]),'getCurrentRevisionId':()=>_0x124027},this[_0x28a2('0x9b')]('isReady',!0x1),this['set']('isEnabled',!0x0),this['set'](_0x28a2('0xec'),!0x1),this[_0x28a2('0xe6')]['config']['define'](_0x28a2('0x2a'),!0x0),this[_0x28a2('0xe6')][_0x28a2('0x81')][_0x28a2('0xd0')](_0x28a2('0x48'))[_0x28a2('0xe4')]({'view':_0x28a2('0x9d')});}[_0x28a2('0x7a')](){this[_0x28a2('0xc3')]=this[_0x28a2('0xe6')][_0x28a2('0x1d')][_0x28a2('0x3c')](_0x28a2('0xe0')),this['_setConversion'](),this[_0x28a2('0xe6')][_0x28a2('0xd8')]['on'](_0x28a2('0x20'),()=>{const _0x177746=this[_0x28a2('0xc3')][_0x28a2('0x5')](0x0),_0x4454d2=_0x177746&&null===_0x177746[_0x28a2('0xbc')]?_0x177746:null;if(this[_0x28a2('0x93')]=!!_0x4454d2&&this[_0x28a2('0xe6')]['config'][_0x28a2('0x3c')](_0x28a2('0x2a')),this[_0x28a2('0xe6')][_0x28a2('0x1d')]['has'](_0x28a2('0xa'))){const _0x9b917e=this[_0x28a2('0x5e')][_0x28a2('0x91')](),_0x2d748c=this[_0x28a2('0xc3')]['getRevision'](_0x9b917e);if(_0x2d748c)this[_0x28a2('0x2c')]=_0x2d748c[_0x28a2('0xa1')],this[_0x28a2('0x93')]=!0x1;else{const _0x2ee004=this['_source'][_0x28a2('0xac')]['_operations'][_0x28a2('0x51')](_0x41838a=>!_0x41838a[_0x28a2('0x24')]),_0x12e05f=_0x2ee004?_0x2ee004[_0x28a2('0x22')]:this[_0x28a2('0x5e')][_0x28a2('0xac')][_0x28a2('0x2')];_0x177746?(_0x177746[_0x28a2('0x1c')]<_0x12e05f&&_0x177746[_0x28a2('0x41')]({'toVersion':_0x12e05f}),this[_0x28a2('0x93')]?(this[_0x28a2('0x5e')]['getCurrentRevisionId']=()=>_0x4454d2['id'],this[_0x28a2('0x2c')]=_0x4454d2[_0x28a2('0xa1')]):(this[_0x28a2('0x2c')]=_0x177746[_0x28a2('0x1c')],this[_0x28a2('0x93')]=!0x1)):(this[_0x28a2('0x2c')]=_0x12e05f,this[_0x28a2('0x93')]=!0x1);}}else _0x4454d2&&(this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0x14')][_0x28a2('0xac')][_0x28a2('0x2')]=Math[_0x28a2('0x7')](_0x4454d2['toVersion'],this['editor'][_0x28a2('0xb')][_0x28a2('0x14')][_0x28a2('0xac')][_0x28a2('0x2')]),_0x4454d2[_0x28a2('0xa1')]===_0x4454d2[_0x28a2('0x1c')]?(0x0!==_0x4454d2[_0x28a2('0xa1')]&&(this[_0x28a2('0x5e')][_0x28a2('0x91')]=()=>_0x4454d2['id']),this[_0x28a2('0x93')]=!0x1):this['_continueCurrentRevision']&&(this[_0x28a2('0x5e')][_0x28a2('0x91')]=()=>_0x4454d2['id'],this[_0x28a2('0x2c')]=_0x4454d2[_0x28a2('0xa1')])),this['_continueCurrentRevision']||(this[_0x28a2('0x2c')]=this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0x14')]['version']);this[_0x28a2('0x35')]['init'](this[_0x28a2('0x5e')]['history']),this[_0x28a2('0x17')](this[_0x28a2('0x2c')]),this[_0x28a2('0x38')](this[_0x28a2('0x2c')]),this[_0x28a2('0x8b')]&&this['sendBufferedUpdates']();}),this[_0x28a2('0xd1')](_0x28a2('0x21'))['to'](this,_0x28a2('0xec'),_0x3f8f2a=>!_0x3f8f2a);}async['afterInit'](){if(this[_0x28a2('0xc3')][_0x28a2('0x8c')]>0x0){const _0x51a518=this[_0x28a2('0xc3')]['getRevision'](0x0),_0x565860=await this[_0x28a2('0x0')](_0x51a518),_0x4b09aa=await this[_0x28a2('0xc6')](_0x51a518);this['_replaceEditorDataWithRevisionData'](_0x565860,_0x4b09aa);}}['setSource'](_0xd50ef2){this[_0x28a2('0x5e')]=_0xd50ef2;}async[_0x28a2('0x8a')](){const _0x1126d2=await this['_source'][_0x28a2('0xea')]();if(_0x1126d2>this[_0x28a2('0x55')][_0x28a2('0x1c')]){await this[_0x28a2('0xa8')]();const _0x520d32=this[_0x28a2('0xb9')]({'revision':this[_0x28a2('0x55')],'to':_0x1126d2});_0x520d32['authors']=_0x520d32['authorsIds'][_0x28a2('0x70')](_0x2165ab=>this[_0x28a2('0xe6')][_0x28a2('0x1d')][_0x28a2('0x3c')](_0x28a2('0x75'))['getUser'](_0x2165ab)),this[_0x28a2('0x55')]['_update'](_0x520d32);}}async['_loadState'](){this['_continueCurrentRevision']&&!this[_0x28a2('0x44')]&&(await this[_0x28a2('0x87')](this['currentRevision']),this[_0x28a2('0x35')][_0x28a2('0xb8')](this[_0x28a2('0x55')]),this[_0x28a2('0x44')]={'fromVersion':this[_0x28a2('0x55')][_0x28a2('0xa1')],'authors':this[_0x28a2('0x55')][_0x28a2('0xeb')][_0x28a2('0xee')]()});}async['saveRevision'](_0x3afc8d={},_0x5b252e=null){const _0x36b757=[];await this['_loadState'](),this[_0x28a2('0x93')]=!0x1,_0x5b252e>this[_0x28a2('0x55')][_0x28a2('0x1c')]&&(_0x5b252e=null),null===_0x5b252e&&(_0x5b252e=await this[_0x28a2('0x5e')][_0x28a2('0xea')]());const _0x337d67=this[_0x28a2('0xcc')](_0x5b252e),_0x5b7302=this[_0x28a2('0xb9')]({'from':_0x337d67,'to':_0x5b252e});if(this[_0x28a2('0x55')]['toVersion']<_0x5b252e){const _0x241e7a=this['buildRevisionData']({'revision':this[_0x28a2('0x55')],'from':_0x5b252e,'to':_0x5b252e});_0x241e7a[_0x28a2('0xeb')]=[],_0x241e7a[_0x28a2('0x5b')]=[],_0x241e7a['id']=this[_0x28a2('0x55')]['id'],this[_0x28a2('0x55')][_0x28a2('0x41')](_0x241e7a,!0x0),delete _0x241e7a[_0x28a2('0xeb')],_0x36b757['push'](_0x241e7a);}_0x3afc8d[_0x28a2('0x98')]=this[_0x28a2('0xe6')][_0x28a2('0x1d')][_0x28a2('0x3c')](_0x28a2('0x75'))['me']['id'],_0x3afc8d[_0x28a2('0x46')]=_0x3afc8d[_0x28a2('0x46')]||null,_0x3afc8d['id']=_0x3afc8d['id']||_0x418475(),_0x3afc8d={..._0x3afc8d,..._0x5b7302};const _0x2026c9=this['addRevisionData'](_0x3afc8d);_0x36b757[_0x28a2('0x68')](_0x3afc8d);const _0x48fe6d=this[_0x28a2('0xc3')]['getIndex'](_0x2026c9);if(0x0!==_0x48fe6d){const _0x3af6ac=this[_0x28a2('0xc3')][_0x28a2('0x5')](_0x48fe6d-0x1);if(_0x3af6ac[_0x28a2('0xa1')]!==_0x5b252e){const _0x2b6252=this[_0x28a2('0x35')][_0x28a2('0xd3')](_0x5b252e,_0x3af6ac['toVersion']),_0x1289d0={'id':_0x3af6ac['id'],'diffData':_0x2b6252[_0x28a2('0x25')],'authorsIds':_0x2b6252[_0x28a2('0x5b')],'authors':_0x2b6252['authorsIds'][_0x28a2('0x70')](_0x220013=>this[_0x28a2('0xe6')][_0x28a2('0x1d')][_0x28a2('0x3c')]('Users')[_0x28a2('0xf6')](_0x220013)),'fromVersion':_0x5b252e};_0x3af6ac===this['currentRevision']&&(_0x1289d0[_0x28a2('0xaf')]=new Date(_0x3afc8d[_0x28a2('0xaf')]['getTime']()+0xa)),_0x3af6ac[_0x28a2('0x41')](_0x1289d0,!0x0),delete _0x1289d0[_0x28a2('0xeb')],_0x36b757[_0x28a2('0x68')](_0x1289d0);}}if(this[_0x28a2('0x8b')]){for(const _0x5c7ae8 of _0x36b757)this[_0x28a2('0x9e')](_0x5c7ae8['id'],_0x5c7ae8,!0x0);this['sendBufferedUpdates']();}return _0x2026c9;}['addRevisionData'](_0x4f96ed){const _0x3a7965=this[_0x28a2('0xc3')][_0x28a2('0x40')](_0x4f96ed);return this[_0x28a2('0x8b')]&&_0x3a7965['on']('_update',(_0x4a72c7,_0x2d28ce,_0x3da2ae)=>{_0x3da2ae||(this[_0x28a2('0x9e')](_0x2d28ce['id'],_0x2d28ce,!0x0),this[_0x28a2('0x6c')]());}),this[_0x28a2('0xc3')][_0x28a2('0xdf')](_0x3a7965,this[_0x28a2('0x88')](_0x3a7965)),_0x3a7965;}async[_0x28a2('0x0')](_0x473dc9){await this[_0x28a2('0x87')](_0x473dc9);const _0x4633e8={};for(const _0xe3f20 in _0x473dc9['diffData']){if(_0x473dc9['diffData'][_0xe3f20]['attachChange']&&!_0x473dc9[_0x28a2('0x25')][_0xe3f20]['attachChange'][_0x28a2('0x6a')])continue;const _0x8b2e9e=this[_0x28a2('0xb2')](JSON[_0x28a2('0xfd')](_0x473dc9[_0x28a2('0x25')][_0xe3f20][_0x28a2('0xed')])),_0xccb18b=this[_0x28a2('0xe6')][_0x28a2('0x42')]['view'][_0x28a2('0x14')],_0xf2bb8=new _0x2ed0a2(_0xccb18b,_0x8b2e9e[_0x28a2('0x70')](_0x1443a8=>J(_0x1443a8,this['editor'])));this['editor']['data'][_0x28a2('0xa7')]['useFillerType'](_0x28a2('0xf')),_0x4633e8[_0xe3f20]=this[_0x28a2('0xe6')]['data'][_0x28a2('0xa7')][_0x28a2('0x84')](_0xf2bb8),this[_0x28a2('0xe6')]['data'][_0x28a2('0xa7')][_0x28a2('0xe9')]('default');}return _0x4633e8;}async[_0x28a2('0xc6')](_0x4d64db){await this['_loadRevisionData'](_0x4d64db);const _0x40f6c5={};for(const _0x2b73e0 in _0x4d64db[_0x28a2('0x25')])_0x4d64db['diffData'][_0x2b73e0][_0x28a2('0x80')]&&!_0x4d64db[_0x28a2('0x25')][_0x2b73e0][_0x28a2('0x80')][_0x28a2('0x6a')]||(_0x40f6c5[_0x2b73e0]=_0x4d64db[_0x28a2('0x25')][_0x2b73e0][_0x28a2('0x4a')]||{});return _0x40f6c5;}[_0x28a2('0x6c')](){if(0x0===this[_0x28a2('0xb0')][_0x28a2('0x6d')])return;if(this[_0x28a2('0xec')])return;let _0x42b633=Array[_0x28a2('0xfb')](this['_bufferedUpdates']['values']());this[_0x28a2('0xb0')][_0x28a2('0x2f')]();for(let _0x450a03=0x0;_0x450a03<_0x42b633['length'];_0x450a03++){const _0x278e9f=_0x42b633[_0x450a03];let _0x43ef0c=!0x1;for(const _0x221d22 of Object[_0x28a2('0x89')](_0x278e9f))void 0x0===_0x278e9f[_0x221d22]?delete _0x278e9f[_0x221d22]:'id'!==_0x221d22&&(_0x43ef0c=!0x0);_0x43ef0c||(_0x42b633[_0x450a03]=null);}if(_0x42b633=_0x42b633[_0x28a2('0xf2')](_0x3f9c3d=>null!==_0x3f9c3d),!_0x42b633[_0x28a2('0x8c')])return;for(let _0x4754ad=0x0;_0x4754ad<_0x42b633[_0x28a2('0x8c')];_0x4754ad++){const _0xa9f776=_0x42b633[_0x4754ad];void 0x0!==_0xa9f776[_0x28a2('0xa1')]&&void 0x0===_0xa9f776[_0x28a2('0x1c')]&&(_0xa9f776['toVersion']=this[_0x28a2('0xc3')][_0x28a2('0x5')](_0xa9f776['id'])['toVersion']),void 0x0!==_0xa9f776[_0x28a2('0x1c')]&&void 0x0===_0xa9f776[_0x28a2('0xa1')]&&(_0xa9f776['fromVersion']=this[_0x28a2('0xc3')][_0x28a2('0x5')](_0xa9f776['id'])[_0x28a2('0xa1')]);}const _0x1f80e9=this[_0x28a2('0xe6')][_0x28a2('0xaa')][_0x28a2('0x3c')](_0x28a2('0x16'));this[_0x28a2('0xec')]=!0x0,this[_0x28a2('0xfa')](),this[_0x28a2('0x8b')][_0x28a2('0xef')](_0x42b633,_0x1f80e9)['finally'](()=>{this[_0x28a2('0xec')]=!0x1;})[_0x28a2('0x3')](_0x106fb4=>{if(_0x106fb4)for(const _0x2572ff of _0x106fb4)this[_0x28a2('0xc2')]({'id':_0x2572ff['id'],'createdAt':_0x2572ff[_0x28a2('0xaf')]});this[_0x28a2('0x7d')](),this['sendBufferedUpdates']();});}[_0x28a2('0x30')](_0x4d4030,_0x5c225b){let _0x36d4af=this['editor'][_0x28a2('0xaa')][_0x28a2('0x3c')](_0x28a2('0x2d')),_0x205422=this[_0x28a2('0xe6')]['config'][_0x28a2('0x3c')](_0x28a2('0xa9'));if(void 0x0===_0x36d4af){_0x36d4af={};for(const _0x27574b of this['editor']['model'][_0x28a2('0x14')][_0x28a2('0xb3')]())_0x36d4af[_0x27574b]='';}if(_0x28a2('0xc9')==typeof _0x36d4af&&(_0x36d4af={'main':_0x36d4af}),void 0x0===_0x205422){_0x205422={};for(const _0x448748 of this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0x14')]['getRootNames']())_0x205422[_0x448748]={};}let _0x1e0401=!0x1;const _0x5e1f4b=Object[_0x28a2('0x89')](_0x36d4af),_0x3cc05a=Object[_0x28a2('0x89')](_0x4d4030);for(const _0x4fca5e of _0x5e1f4b){if(_0x36d4af[_0x4fca5e]!==_0x4d4030[_0x4fca5e]&&''!==_0x36d4af[_0x4fca5e]['trim']()){_0x1e0401=!0x0;break;}if(!_0x1b3a03(_0x205422[_0x4fca5e],_0x5c225b[_0x4fca5e])&&Object[_0x28a2('0x89')](_0x205422[_0x4fca5e])['length']>0x0){_0x1e0401=!0x0;break;}}_0x1e0401||(_0x1e0401=_0x3cc05a[_0x28a2('0xe1')](_0x4e109c=>!this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0x14')][_0x28a2('0xab')](_0x4e109c))),_0x1e0401&&_0x183192('editor-initial-data-replaced-with-revision-data',{'editorData':_0x36d4af,'editorRootsAttributes':_0x205422,'revisionData':_0x4d4030,'revisionRootsAttributes':_0x5c225b}),this[_0x28a2('0xe6')][_0x28a2('0xaa')][_0x28a2('0x9b')](_0x28a2('0x2d'),_0x4d4030),this[_0x28a2('0xe6')][_0x28a2('0xaa')]['set'](_0x28a2('0xa9'),_0x5c225b);}[_0x28a2('0xfa')](){if(!this[_0x28a2('0x10')]){const _0x113c3f=this[_0x28a2('0xe6')]['plugins']['get'](_0x28a2('0x76'));this[_0x28a2('0x10')]=_0x113c3f[_0x28a2('0x83')](_0x1eaa92(this[_0x28a2('0xe6')][_0x28a2('0x53')],_0x28a2('0xb1')));}}['_removePendingAction'](){this[_0x28a2('0x10')]&&(this['editor']['plugins']['get'](_0x28a2('0x76'))[_0x28a2('0x8d')](this[_0x28a2('0x10')]),this[_0x28a2('0x10')]=null);}[_0x28a2('0x88')](_0x5d82d3){const _0x237c5a=this[_0x28a2('0xc3')][_0x28a2('0x85')]();_0x237c5a[_0x28a2('0x2b')]();let _0x1e0997=0x0;for(;_0x1e0997<_0x237c5a['length'];){const _0x310d56=_0x237c5a[_0x1e0997];if(_0x310d56===this[_0x28a2('0x55')]){_0x1e0997++;continue;}if(_0x310d56['id']===this[_0x28a2('0x47')])break;const _0x20fd9e=_0x5d82d3[_0x28a2('0x1c')]-_0x310d56[_0x28a2('0x1c')]||_0x5d82d3[_0x28a2('0xa1')]-_0x310d56[_0x28a2('0xa1')];if(_0x20fd9e>0x0)break;if(_0x20fd9e<0x0)_0x1e0997++;else{if(!_0x5d82d3[_0x28a2('0xbc')]&&_0x310d56['creator'])break;if(_0x310d56[_0x28a2('0xbc')]||!_0x5d82d3[_0x28a2('0xbc')]){if(_0x5d82d3[_0x28a2('0xaf')]>_0x310d56['createdAt'])break;_0x1e0997++;}else _0x1e0997++;}}return _0x1e0997;}['setRevisionData'](_0x2c4e78){const _0xb75408=this[_0x28a2('0xc3')]['getRevision'](_0x2c4e78['id']);if(_0x2c4e78[_0x28a2('0xaf')]&&(_0x2c4e78[_0x28a2('0xaf')]=new Date(_0x2c4e78[_0x28a2('0xaf')])),_0x2c4e78[_0x28a2('0x5b')]){const _0x3ab484=this[_0x28a2('0xe6')]['plugins'][_0x28a2('0x3c')](_0x28a2('0x75'));_0x2c4e78['authors']=_0x2c4e78[_0x28a2('0x5b')][_0x28a2('0x70')](_0x148c8c=>_0x3ab484[_0x28a2('0xf6')](_0x148c8c));}_0xb75408[_0x28a2('0x41')](_0x2c4e78,!0x0);}['buildRevisionData']({revision:_0x51b46d=null,from:_0x95ffce=null,to:_0x42475a=null}){_0x95ffce=null!==_0x95ffce?_0x95ffce:_0x51b46d[_0x28a2('0xa1')],_0x42475a=null!==_0x42475a?_0x42475a:_0x51b46d['toVersion'];const _0x167421=this[_0x28a2('0x35')][_0x28a2('0xd3')](_0x95ffce,_0x42475a),_0x4b1ebd={'diffData':_0x167421[_0x28a2('0x25')],'authorsIds':_0x167421['authorsIds'],'fromVersion':_0x95ffce,'toVersion':_0x42475a};if(!_0x51b46d||_0x42475a!==_0x51b46d[_0x28a2('0x1c')]){const _0x11fff8=_0x42475a-0x1,_0x59a93d=this[_0x28a2('0x5e')]['history'][_0x28a2('0x7e')](_0x11fff8);_0x4b1ebd[_0x28a2('0xaf')]=_0x59a93d&&_0x59a93d[_0x28a2('0xaf')]||new Date();}if(this['_loadedStateData']&&_0x95ffce===this[_0x28a2('0x44')][_0x28a2('0xa1')])for(const _0x24e1dd of this[_0x28a2('0x44')][_0x28a2('0xeb')])_0x4b1ebd['authorsIds'][_0x28a2('0x4f')](_0x24e1dd['id'])||_0x4b1ebd['authorsIds'][_0x28a2('0x68')](_0x24e1dd['id']);return _0x4b1ebd;}['_loadRevisionData'](_0xa32c89){if(!_0xa32c89||_0xa32c89[_0x28a2('0x25')])return Promise['resolve']();{const _0x2e6db1=this['editor'][_0x28a2('0xaa')][_0x28a2('0x3c')](_0x28a2('0x16'));return this['adapter'][_0x28a2('0x5')]({'channelId':_0x2e6db1,'revisionId':_0xa32c89['id']})['then'](_0x440f86=>{_0xa32c89[_0x28a2('0x25')]=_0x440f86['diffData'];});}}[_0x28a2('0x9e')](_0x4b8407,_0x2cbeab,_0x32f774){if(this['_bufferedUpdates'][_0x28a2('0x3f')](_0x4b8407)){const _0x143730=this[_0x28a2('0xb0')][_0x28a2('0x3c')](_0x4b8407);_0x2cbeab=_0x32f774?{..._0x143730,..._0x2cbeab}:{..._0x2cbeab,..._0x143730};}this['_bufferedUpdates']['set'](_0x4b8407,_0x2cbeab);}['_getFromVersion'](_0xa87187){const _0x5c344f=this[_0x28a2('0xc3')][_0x28a2('0x85')]();_0x5c344f[_0x28a2('0x2b')](),_0x5c344f[_0x28a2('0x3a')]();const _0x35d78d=_0x5c344f['find'](_0x5df3be=>_0x5df3be['toVersion']<=_0xa87187)[_0x28a2('0x1c')];return _0x35d78d<this[_0x28a2('0x2c')]?this[_0x28a2('0x2c')]:_0x35d78d;}[_0x28a2('0x17')](_0x126770){const _0x14beec=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x14beec)this[_0x28a2('0x47')]=_0x14beec['id'];else{const _0x67fef9=!this[_0x28a2('0xe6')]['model'][_0x28a2('0x14')]['roots']['find'](_0x19c2a9=>this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0xe5')](_0x19c2a9)),_0x58ce2e=this[_0x28a2('0xe6')][_0x28a2('0x1d')][_0x28a2('0x3c')](_0x28a2('0x75'))['me']['id'],_0x31036c=_0x1eaa92(this[_0x28a2('0xe6')][_0x28a2('0x53')],_0x67fef9?_0x28a2('0x67'):'Initial\x20revision');this['_makeRevision']({'from':_0x126770,'to':_0x126770,'id':this[_0x28a2('0x47')],'name':_0x31036c,'creatorId':_0x58ce2e});}}[_0x28a2('0x38')](_0x4b13be){const _0x3cf874=this[_0x28a2('0x5e')]['getCurrentRevisionId']();this[_0x28a2('0x55')]=this[_0x28a2('0xc3')][_0x28a2('0x5')](_0x3cf874),this[_0x28a2('0x55')]||(this['currentRevision']=this['_makeRevision']({'from':_0x4b13be,'to':_0x4b13be,'id':_0x3cf874,'name':'','creatorId':null}));}[_0x28a2('0x9a')]({name:_0xffc322,from:_0x54633a,to:_0xf3b809,creatorId:_0xcadce6,id:_0x330098}){const _0x280558=this[_0x28a2('0xb9')]({'from':_0x54633a,'to':_0xf3b809});_0x280558['name']=_0xffc322,_0x280558['creatorId']=_0xcadce6,_0x280558['id']=_0x330098;const _0x4967fa=this[_0x28a2('0x1f')](_0x280558);return this[_0x28a2('0x8b')]&&this[_0x28a2('0x9e')](_0x280558['id'],_0x280558,!0x0),_0x4967fa;}[_0x28a2('0xbd')](){this[_0x28a2('0xe6')][_0x28a2('0x81')]['for']('dataDowncast')[_0x28a2('0x1b')]({'model':_0x28a2('0x9d')});}[_0x28a2('0xb2')](_0x13cef7){return(_0x13cef7=_0x13cef7[_0x28a2('0xf2')](_0x3605c1=>!_0x3605c1[_0x28a2('0x46')]||_0x28a2('0x97')!==_0x3605c1['name']&&_0x28a2('0x56')!==_0x3605c1[_0x28a2('0x46')]))[_0x28a2('0xf0')](_0x48f77c=>{_0x28a2('0xc9')!=typeof _0x48f77c&&(_0x48f77c['children']=this['_removeRevisionMarkers'](_0x48f77c['children']),_0x48f77c[_0x28a2('0xbf')]=_0x48f77c['attributes']['filter'](_0x42c013=>!_0x42c013[0x0][_0x28a2('0x49')]('data-revision-')));}),_0x13cef7;}}function J(_0x3782f0,_0x2cf899){const _0x2ae884=_0x2cf899[_0x28a2('0x42')][_0x28a2('0x60')][_0x28a2('0x14')];if(_0x28a2('0xc9')==typeof _0x3782f0)return new _0x175c36(_0x2ae884,_0x3782f0);{const _0x58a9e=_0x3782f0[_0x28a2('0x19')]['map'](_0x486d4f=>J(_0x486d4f,_0x2cf899));return new(B[_0x3782f0[(_0x28a2('0x32'))]]||_0x5777b2)(_0x2ae884,_0x3782f0[_0x28a2('0x46')],_0x3782f0[_0x28a2('0xbf')],_0x58a9e);}}class H{constructor(_0x1a83d8){this[_0x28a2('0xe6')]=_0x1a83d8,this[_0x28a2('0xa3')]=new Map(),this['_lastFrom']=-0x1,this[_0x28a2('0x15')]=-0x1,this[_0x28a2('0x9c')]=new Map(),this[_0x28a2('0x6e')]=new Map(),this[_0x28a2('0x50')]=new Map(),this[_0x28a2('0x4')]=new Map(),this[_0x28a2('0x82')]=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this[_0x28a2('0x6f')]=new Map(),this[_0x28a2('0xf7')]=new Map(),this[_0x28a2('0xca')]=0x1;}[_0x28a2('0x7a')](_0x3f27c4){this['source']=_0x3f27c4;const _0xbd72f=new Map(),_0x258d35=new Map(),_0x4230ce=this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0x14')][_0x28a2('0xa5')]['map'](_0x18e2d8=>_0x18e2d8[_0x28a2('0xd7')]);for(const _0x4feef5 of _0x4230ce){const _0x2c4c9b=this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0x14')][_0x28a2('0xab')](_0x4feef5),_0xfdf515=q(_0x2c4c9b);_0xbd72f[_0x28a2('0x9b')](_0x4feef5,_0xfdf515),_0x258d35[_0x28a2('0x9b')](_0x4feef5,Object[_0x28a2('0x1a')](_0x2c4c9b[_0x28a2('0x45')]()));}const _0xa4581e=Array[_0x28a2('0xfb')](this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0xf8')])['map'](_0x5cbbfd=>[_0x5cbbfd['name'],_0x5cbbfd[_0x28a2('0x7f')]()]),_0xb36784=this[_0x28a2('0xfc')]['version'];this[_0x28a2('0xa6')](_0xb36784,_0xbd72f,_0xa4581e,_0x258d35),this[_0x28a2('0x8f')]=this['_revisionId'];const _0x308fe2=new Map(),_0x45ef6c=new Map();for(const _0x7e4166 of _0x4230ce){const _0xa309fb=G(_0x7e4166);_0x308fe2[_0x28a2('0x9b')](_0x7e4166,_0xa309fb),_0x45ef6c[_0x28a2('0x9b')](_0x7e4166,{});}this[_0x28a2('0xa6')](Number[_0x28a2('0xc')],_0x308fe2,[],_0x45ef6c);}[_0x28a2('0xd3')](_0x4de931,_0x39e22f){if(this[_0x28a2('0xae')]===_0x4de931&&this['_lastTo']<=_0x39e22f)this[_0x28a2('0xa3')]['size']>0x1&&this['_removeMetaData'](this[_0x28a2('0x15')]),this[_0x28a2('0x13')](this[_0x28a2('0x15')],_0x39e22f,!0x0);else{if(!this[_0x28a2('0xa3')]['has'](_0x4de931)){const _0x1d4f04=this[_0x28a2('0x23')](_0x4de931);this['_calculateMetaData'](_0x1d4f04,_0x4de931,!0x1);}this[_0x28a2('0x78')](_0x4de931,_0x39e22f,!0x0);}return this[_0x28a2('0xae')]=_0x4de931,this[_0x28a2('0x15')]=_0x39e22f,this[_0x28a2('0x58')]();}[_0x28a2('0xb8')](_0x525fd5){this[_0x28a2('0x71')](),this[_0x28a2('0xae')]=_0x525fd5[_0x28a2('0xa1')],this[_0x28a2('0x15')]=_0x525fd5[_0x28a2('0x1c')];for(const _0x5a9b58 in _0x525fd5[_0x28a2('0x25')]){const _0x3a9e71=_0x525fd5[_0x28a2('0x25')][_0x5a9b58][_0x28a2('0x80')],_0x1f232c=_0x29ed97(_0x525fd5['diffData'][_0x5a9b58][_0x28a2('0x28')])||{},_0x35038b=this['_makeModelFromViewString'](_0x525fd5[_0x28a2('0x25')][_0x5a9b58][_0x28a2('0x74')]);_0x35038b[_0x28a2('0xd7')]=_0x5a9b58,_0x35038b[_0x28a2('0x31')]=!_0x3a9e71||!_0x3a9e71['isAttached'],_0x35038b[_0x28a2('0x6a')]=()=>_0x35038b[_0x28a2('0x31')],this['_baseRoots'][_0x28a2('0x9b')](_0x5a9b58,_0x35038b),this['_baseRootsAttributes'][_0x28a2('0x9b')](_0x5a9b58,_0x1f232c),_0x3a9e71&&this[_0x28a2('0xf7')][_0x28a2('0x9b')](_0x5a9b58,_0x3a9e71);const _0xb7889a=this[_0x28a2('0x4b')](_0x35038b);this['_baseIdsRoots'][_0x28a2('0x9b')](_0x5a9b58,_0xb7889a);for(const [_0x450d0c,_0x4e486c]of _0x35038b['markers']){if(!_0x450d0c[_0x28a2('0x49')]('revision:'))continue;const _0x14bb77=_0x450d0c[_0x28a2('0x4c')](':')[0x2];for(const _0x285f04 of _0x4e486c[_0x28a2('0x12')]({'singleCharacters':!0x0})){const _0x4c311d=this['_getVidAttributeName'](_0x285f04),_0x2af4e5=_0x28a2('0xd')==_0x285f04[_0x28a2('0x32')]?_0x285f04[_0x28a2('0x3e')][_0x28a2('0x36')]['slice'](0x0,-0x1):_0x285f04[_0x28a2('0x3e')][_0x28a2('0x36')],_0x10e2c8=_0xb7889a[_0x28a2('0x77')](_0x2af4e5)[_0x28a2('0x92')](_0x4c311d);this[_0x28a2('0xb4')]['set'](_0x10e2c8,{'userId':_0x14bb77});}}}this['_startingRevisionId']=this[_0x28a2('0xca')];const _0x5ea213=[...Array(this[_0x28a2('0xca')])[_0x28a2('0x89')]()][_0x28a2('0xee')](0x1)['filter'](_0x588874=>!this['_touched']['has'](_0x588874));let _0x5f3858=0x0;const _0x462af1=new Map();for(const _0xea4e1f in _0x525fd5[_0x28a2('0x25')]){const _0x16b1f7=_0x525fd5[_0x28a2('0x25')][_0xea4e1f][_0x28a2('0x80')],_0x3dd438=_0x29ed97(_0x525fd5[_0x28a2('0x25')][_0xea4e1f]['attributesAfter'])||{},_0x2308af=this[_0x28a2('0x3d')](_0x525fd5[_0x28a2('0x25')][_0xea4e1f][_0x28a2('0xed')]);_0x2308af[_0x28a2('0xd7')]=_0xea4e1f,_0x2308af[_0x28a2('0x31')]=!_0x16b1f7||_0x16b1f7[_0x28a2('0x6a')],_0x2308af[_0x28a2('0x6a')]=()=>_0x2308af['_isAttached'],this[_0x28a2('0x6e')]['set'](_0xea4e1f,_0x2308af),this[_0x28a2('0x50')]['set'](_0xea4e1f,_0x3dd438);const _0x2350ce=this[_0x28a2('0x4b')](_0x2308af,Number[_0x28a2('0xc')]);this['_idsRoots'][_0x28a2('0x9b')](_0xea4e1f,_0x2350ce),_0x462af1[_0x28a2('0x9b')](_0xea4e1f,_0x2308af[_0x28a2('0x6a')]()?_0x3dd438:{});for(const [_0x56e234,_0x30647e]of _0x2308af[_0x28a2('0xf8')]){if(!_0x56e234[_0x28a2('0x49')](_0x28a2('0xc4')))continue;const _0x54ddf7=_0x56e234[_0x28a2('0x4c')](':')[0x2];for(const _0x175b8d of _0x30647e['getWalker']({'singleCharacters':!0x0})){const _0x4aa3cd=this['_getVidAttributeName'](_0x175b8d),_0x30081a=this[_0x28a2('0xca')]++,_0x4c5b64=_0x28a2('0xd')==_0x175b8d['type']?_0x175b8d[_0x28a2('0x3e')][_0x28a2('0x36')][_0x28a2('0xee')](0x0,-0x1):_0x175b8d[_0x28a2('0x3e')][_0x28a2('0x36')];_0x2350ce[_0x28a2('0x77')](_0x4c5b64)[_0x28a2('0x54')](_0x4aa3cd,_0x30081a),this[_0x28a2('0xb4')][_0x28a2('0x9b')](_0x30081a,{'userId':_0x54ddf7});}}for(const _0x412f6a of this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0xe')](_0x2308af)['getWalker']({'singleCharacters':!0x0})){const _0x206dc1=this['_getVidAttributeName'](_0x412f6a),_0xe1d509=_0x28a2('0xd')==_0x412f6a['type']?_0x412f6a[_0x28a2('0x3e')]['path'][_0x28a2('0xee')](0x0,-0x1):_0x412f6a['previousPosition'][_0x28a2('0x36')],_0x464981=_0x2350ce[_0x28a2('0x77')](_0xe1d509);_0x464981[_0x28a2('0x92')](_0x206dc1)>0x0||_0x464981[_0x28a2('0x54')](_0x206dc1,_0x5ea213[_0x5f3858++]);}for(const [_0x4e9d2c,_0x135b47]of _0x2308af[_0x28a2('0xf8')])_0x4e9d2c[_0x28a2('0x49')](_0x28a2('0xc4'))||this[_0x28a2('0x9c')]['set'](_0x4e9d2c,_0x135b47);}const _0x460869=G(_0x28a2('0x7b'));this[_0x28a2('0x4')][_0x28a2('0x9b')](_0x28a2('0x7b'),_0x460869),this[_0x28a2('0x5f')][_0x28a2('0x9b')]('$graveyard',this['_makeIdsRoot'](_0x460869,0x1));const _0x1d3659=G('$graveyard');this[_0x28a2('0x6e')][_0x28a2('0x9b')]('$graveyard',_0x1d3659),this[_0x28a2('0xdc')][_0x28a2('0x9b')](_0x28a2('0x7b'),this[_0x28a2('0x4b')](_0x1d3659,0x1));const _0x2227c1=Array[_0x28a2('0xfb')](this['_diffRoots'])['map'](([_0x40625d,_0x39643b])=>[_0x40625d,q(_0x39643b)]);this[_0x28a2('0xa6')](this['_lastTo'],_0x2227c1,this[_0x28a2('0x9c')],_0x462af1);}[_0x28a2('0x3d')](_0x124f6f){const _0x439556=JSON[_0x28a2('0xfd')](_0x124f6f),_0x55ba2b=this[_0x28a2('0xe6')]['editing'][_0x28a2('0x60')][_0x28a2('0x14')],_0x5b0734=new _0x2ed0a2(_0x55ba2b,_0x439556[_0x28a2('0x70')](_0x44577b=>J(_0x44577b,this[_0x28a2('0xe6')])));return this[_0x28a2('0xe6')][_0x28a2('0xd8')][_0x28a2('0x8')](_0x5b0734);}[_0x28a2('0xa6')](_0x1ed5f9,_0x4739be,_0x12c2f4,_0x21bf0c){const _0x2fedac=new Map(_0x4739be),_0x12e32b=new Map(_0x29ed97(_0x21bf0c)),_0x46583b=new Map();for(const [_0x7e9c2c,_0xee892b]of _0x12c2f4)_0x46583b[_0x28a2('0x9b')](_0x7e9c2c,{'start':_0xee892b[_0x28a2('0xb7')][_0x28a2('0xde')](),'end':_0xee892b['end'][_0x28a2('0xde')](),'rootName':_0xee892b[_0x28a2('0x5a')]['rootName']});this['_savedMetaData'][_0x28a2('0x9b')](_0x1ed5f9,{'roots':_0x2fedac,'markers':_0x46583b,'rootsAttributes':_0x12e32b});}['_removeMetaData'](_0x2a4edd){this[_0x28a2('0xa3')][_0x28a2('0x3b')](_0x2a4edd);}[_0x28a2('0xa4')](){this['_reset'](),this[_0x28a2('0xae')]=-0x1,this[_0x28a2('0x15')]=-0x1,this[_0x28a2('0xa3')][_0x28a2('0x2f')](),this[_0x28a2('0x7a')](this[_0x28a2('0xfc')]);}[_0x28a2('0x71')](){this[_0x28a2('0xb4')][_0x28a2('0x2f')](),this['_touchedMarkers'][_0x28a2('0x2f')](),this['_touchedRoots'][_0x28a2('0x2f')](),this['_diffRoots'][_0x28a2('0x2f')](),this[_0x28a2('0x50')][_0x28a2('0x2f')](),this[_0x28a2('0x4')]['clear'](),this[_0x28a2('0x82')][_0x28a2('0x2f')](),this[_0x28a2('0xdc')][_0x28a2('0x2f')](),this[_0x28a2('0x5f')][_0x28a2('0x2f')](),this[_0x28a2('0x9c')][_0x28a2('0x2f')](),this['_revisionId']=0x1,this[_0x28a2('0x8f')]=this[_0x28a2('0xca')];}[_0x28a2('0x4b')](_0x831d91,_0x51f6ec=null){let _0x134873=null;_0x831d91['is'](_0x28a2('0x6b'))||(_0x134873=new _0x2b9992(_0x831d91[_0x28a2('0x46')],{'vid_start':null===_0x51f6ec?this[_0x28a2('0xca')]++:_0x51f6ec++}));const _0x3bbffd=[];for(const _0x40cce2 of _0x831d91['getChildren']())if(_0x40cce2['is']('element')){_0x3bbffd[_0x28a2('0x68')](this[_0x28a2('0x4b')](_0x40cce2,_0x51f6ec));const _0x41d81b=_0x3bbffd[_0x3bbffd[_0x28a2('0x8c')]-0x1];null!==_0x51f6ec&&(_0x51f6ec=_0x41d81b['is'](_0x28a2('0xf3'),_0x28a2('0xcd'))?_0x41d81b[_0x28a2('0x92')](_0x28a2('0x11'))+0x1:_0x41d81b[_0x28a2('0x92')](_0x28a2('0x95'))+0x1);}else for(let _0x34d6e3=0x0;_0x34d6e3<_0x40cce2['offsetSize'];_0x34d6e3++)_0x3bbffd[_0x28a2('0x68')](new _0x2b9992('$text',{'vid':null===_0x51f6ec?this['_revisionId']++:_0x51f6ec++}));if(_0x831d91['is']('documentFragment')){const _0x53125b=G(_0x831d91[_0x28a2('0xd7')]);return _0x53125b['_insertChild'](0x0,_0x3bbffd),_0x53125b;}return _0x134873['_setAttribute'](_0x28a2('0x95'),null===_0x51f6ec?this['_revisionId']++:_0x51f6ec++),_0x134873[_0x28a2('0xe3')](0x0,_0x3bbffd),_0x134873;}[_0x28a2('0x78')](_0x3dabef,_0x26d1ab,_0x7b33a0){this[_0x28a2('0x71')]();const {roots:_0x435f4c,markers:_0xa929b2,rootsAttributes:_0x2c8567}=this[_0x28a2('0xa3')]['get'](_0x3dabef);this[_0x28a2('0x4')]=new Map(_0x435f4c),this[_0x28a2('0x82')]=new Map(_0x29ed97(_0x2c8567));for(const [_0x2bedf5,_0x5e648b]of this[_0x28a2('0x4')])if(_0x28a2('0x7b')!==_0x2bedf5&&(this[_0x28a2('0x6e')]['set'](_0x2bedf5,q(_0x5e648b)),this[_0x28a2('0x50')]=new Map(_0x29ed97(_0x2c8567)),_0x7b33a0)){const _0x363d19=this[_0x28a2('0xca')];this[_0x28a2('0xdc')]['set'](_0x2bedf5,this['_makeIdsRoot'](_0x5e648b)),this[_0x28a2('0x5f')][_0x28a2('0x9b')](_0x2bedf5,this[_0x28a2('0x4b')](_0x5e648b,_0x363d19));}this[_0x28a2('0x8f')]=this[_0x28a2('0xca')],this[_0x28a2('0x6e')][_0x28a2('0x9b')](_0x28a2('0x7b'),q(this[_0x28a2('0x4')][_0x28a2('0x3c')]('$graveyard'))),_0x7b33a0&&this[_0x28a2('0xdc')]['set'](_0x28a2('0x7b'),this[_0x28a2('0x4b')](this['_baseRoots'][_0x28a2('0x3c')](_0x28a2('0x7b'))));for(const [_0xb14d98,_0x2e4734]of _0xa929b2){const _0x21f925=this[_0x28a2('0x4')]['get'](_0x2e4734[_0x28a2('0xd7')]),_0x4f63ca=this['_diffRoots'][_0x28a2('0x3c')](_0x2e4734[_0x28a2('0xd7')]),_0x493071=new _0x51c84c(this[_0x28a2('0xc8')](_0x2e4734[_0x28a2('0xb7')],_0x21f925),this[_0x28a2('0xc8')](_0x2e4734['end'],_0x21f925)),_0x38c241=this[_0x28a2('0x9')](_0x493071,_0x4f63ca);_0x21f925['markers'][_0x28a2('0x9b')](_0xb14d98,_0x493071),this[_0x28a2('0x9c')][_0x28a2('0x9b')](_0xb14d98,_0x38c241);}this[_0x28a2('0x13')](_0x3dabef,_0x26d1ab,_0x7b33a0);}[_0x28a2('0x13')](_0x17ff93,_0x5e5a9d,_0x2504c9){for(const _0xa8afac of this[_0x28a2('0xfc')]['getOperations'](_0x17ff93,_0x5e5a9d))this[_0x28a2('0xf5')](_0xa8afac,_0x2504c9);for(const _0x45b9c6 of this[_0x28a2('0x6e')][_0x28a2('0xd9')]())_0x45b9c6['markers'][_0x28a2('0x2f')]();for(const [_0x46097c,_0x55c90b]of this[_0x28a2('0x9c')]){this['_diffRoots']['get'](_0x55c90b[_0x28a2('0x5a')][_0x28a2('0xd7')])[_0x28a2('0xf8')][_0x28a2('0x9b')](_0x46097c,_0x55c90b['clone']());}const _0xa9e02d=new Map(),_0x559de9=new Map();for(const [_0x2ad656,_0x5547d4]of this[_0x28a2('0x6e')])_0xa9e02d[_0x28a2('0x9b')](_0x2ad656,q(_0x5547d4)),_0x559de9[_0x28a2('0x9b')](_0x2ad656,this[_0x28a2('0x50')][_0x28a2('0x3c')](_0x2ad656));this['_saveMetaData'](_0x5e5a9d,_0xa9e02d,this[_0x28a2('0x9c')],_0x559de9);}[_0x28a2('0x23')](_0x26bbc6){const _0x4ed57f=Array[_0x28a2('0xfb')](this[_0x28a2('0xa3')]['keys']());_0x4ed57f['sort']((_0x239d64,_0x30f49b)=>_0x239d64-_0x30f49b),_0x4ed57f['reverse']();for(const _0x390b7b of _0x4ed57f)if(_0x390b7b<_0x26bbc6)return _0x390b7b;return Number[_0x28a2('0xc')];}[_0x28a2('0x27')](_0x54caac,_0x3337cc){const _0x5d953c=Array[_0x28a2('0xfb')](_0x3337cc[_0x28a2('0xf8')])[_0x28a2('0x70')](([_0x49cd5e,_0xe43618])=>[_0x49cd5e,this[_0x28a2('0x9')](_0xe43618,_0x54caac)]);_0x54caac['markers']=new Map(_0x5d953c);}[_0x28a2('0xd2')](_0x112cdd){for(const _0x275f06 of this[_0x28a2('0x9c')][_0x28a2('0xd9')]()){const _0x45b6e0=_0x275f06['getTransformedByOperation'](_0x112cdd),_0x4edb93=_0x51c84c['_createFromRanges'](_0x45b6e0);_0x275f06[_0x28a2('0xb7')]=_0x4edb93[_0x28a2('0xb7')],_0x275f06['end']=_0x4edb93[_0x28a2('0xbe')];}}['_handleOperation'](_0x2f6566,_0x194d93){if(_0x28a2('0xc0')==_0x2f6566['type']||_0x28a2('0xff')==_0x2f6566[_0x28a2('0x32')])return void this[_0x28a2('0x52')](_0x2f6566,_0x194d93);if(_0x28a2('0x18')==_0x2f6566[_0x28a2('0x32')]){const _0x55b7d4=_0x2f6566['position'][_0x28a2('0x5a')][_0x28a2('0xd7')];this[_0x28a2('0x6e')][_0x28a2('0x3f')](_0x55b7d4)||(this['_diffRoots'][_0x28a2('0x9b')](_0x55b7d4,G(_0x55b7d4,!0x0)),this[_0x28a2('0x50')]['set'](_0x55b7d4,{}),_0x194d93&&this[_0x28a2('0xdc')][_0x28a2('0x9b')](_0x55b7d4,G(_0x55b7d4,!0x0)));}else{if(_0x28a2('0xc7')==_0x2f6566[_0x28a2('0x32')]||_0x28a2('0xfe')==_0x2f6566[_0x28a2('0x32')]||'changeRootAttribute'==_0x2f6566[_0x28a2('0x32')])return void this[_0x28a2('0x6')](_0x2f6566);}const _0x3fd2c=this[_0x28a2('0xb6')](_0x2f6566,this[_0x28a2('0x6e')]);if('marker'!==_0x2f6566[_0x28a2('0x32')]&&(_0x3fd2c['_execute'](),this[_0x28a2('0xd2')](_0x3fd2c)),_0x194d93)switch(_0x3fd2c[_0x28a2('0x32')]){case _0x28a2('0x18'):this[_0x28a2('0x90')](_0x2f6566);break;case _0x28a2('0x4d'):case _0x28a2('0x8d'):case _0x28a2('0x62'):this[_0x28a2('0x1e')](_0x2f6566);break;case _0x28a2('0xc1'):this[_0x28a2('0xcb')](_0x2f6566);break;case _0x28a2('0x4c'):this[_0x28a2('0xc5')](_0x2f6566);break;case _0x28a2('0x2e'):this[_0x28a2('0x9f')](_0x2f6566);}}[_0x28a2('0xb6')](_0x48e268,_0x37c0b7){const _0x136833=_0x48e268[_0x28a2('0xde')]();return _0x136833[_0x28a2('0xd6')]=_0x48e268['_authorId'],this['_fixOperation'](_0x136833,_0x37c0b7),_0x136833;}[_0x28a2('0x7c')](_0x18ad39){return _0x18ad39[_0x28a2('0x70')](_0x270cee=>{const _0x27af04=this[_0x28a2('0x37')](_0x270cee);return Number(_0x270cee[_0x28a2('0x5d')][_0x28a2('0x92')](_0x27af04));});}[_0x28a2('0xe8')](_0x166bd8,_0x5735ec){if(_0x166bd8['is'](_0x28a2('0xf3'),'$text'))_0x5735ec[_0x28a2('0x68')]({'item':_0x166bd8,'type':'text'});else{_0x166bd8['is']('element')&&_0x5735ec['push']({'item':_0x166bd8,'type':_0x28a2('0xf1')});for(const _0x45d429 of _0x166bd8[_0x28a2('0x1')]())this[_0x28a2('0xe8')](_0x45d429,_0x5735ec);_0x166bd8['is'](_0x28a2('0xf3'))&&_0x5735ec['push']({'item':_0x166bd8,'type':_0x28a2('0xd')});}return _0x5735ec;}[_0x28a2('0x58')](){const _0x11e87a=new Map(this[_0x28a2('0xb4')]),_0x3449f3=new Map(_0x11e87a),_0xba4c19=new Map(),_0x5907eb={'insertions':{},'deletions':{}},_0x1422af={'insertions':{},'deletions':{}},_0x59ce30=new Map(),_0x4ffac4=new Set([...this['_baseRoots'][_0x28a2('0x89')](),...this[_0x28a2('0x6e')][_0x28a2('0x89')]()]);_0x4ffac4[_0x28a2('0x3b')](_0x28a2('0x7b'));for(const _0xfd89fd of _0x4ffac4){const _0x296a14=this['_diffRoots'][_0x28a2('0x3c')](_0xfd89fd)||G(_0xfd89fd,!0x1),_0xc38c44=this[_0x28a2('0x4')][_0x28a2('0x3c')](_0xfd89fd)||G(_0xfd89fd,!0x1);_0x296a14[_0x28a2('0x6a')]()||_0xc38c44['isAttached']()?(_0x5907eb[_0x28a2('0xed')][_0xfd89fd]=q(_0x296a14),_0x5907eb[_0x28a2('0x74')][_0xfd89fd]=q(_0xc38c44),this[_0x28a2('0x27')](_0x5907eb[_0x28a2('0x74')][_0xfd89fd],_0xc38c44),this['_copyMarkers'](_0x5907eb['insertions'][_0xfd89fd],_0x296a14),_0x1422af['insertions'][_0xfd89fd]=this[_0x28a2('0xe8')](this[_0x28a2('0xdc')][_0x28a2('0x3c')](_0xfd89fd),[]),_0x1422af[_0x28a2('0x74')][_0xfd89fd]=this[_0x28a2('0xe8')](this[_0x28a2('0x5f')][_0x28a2('0x3c')](_0xfd89fd)||G(_0xfd89fd,!0x1),[])):_0x4ffac4[_0x28a2('0x3b')](_0xfd89fd);}for(const _0x389cd0 of _0x4ffac4){const _0x3587e2=_0x1422af[_0x28a2('0xed')][_0x389cd0];for(const _0x4b89a6 of _0x3587e2){const _0x4e5d89=this[_0x28a2('0x37')](_0x4b89a6),_0x2083c3=_0x4b89a6[_0x28a2('0x5d')][_0x28a2('0x92')](_0x4e5d89);_0x3449f3[_0x28a2('0x3b')](_0x2083c3),_0x2083c3>=this[_0x28a2('0x8f')]&&_0xba4c19['set'](_0x2083c3,_0x11e87a['get'](_0x2083c3));}}for(const _0x5ca3c6 of _0x4ffac4){const _0x31b626=_0x1422af[_0x28a2('0xed')][_0x5ca3c6],_0x344d9c=this[_0x28a2('0x7c')](_0x1422af[_0x28a2('0x74')][_0x5ca3c6]);let _0xc437bb=0x0;for(const _0x18e646 of _0x31b626){const _0x1e163a=this[_0x28a2('0x37')](_0x18e646),_0x3f72dd=_0x18e646['item'][_0x28a2('0x92')](_0x1e163a);if(!_0xba4c19[_0x28a2('0x3f')](_0x3f72dd)&&!_0x59ce30[_0x28a2('0x3f')](_0x3f72dd)){if(_0x3449f3[_0x28a2('0x3f')](_0x3f72dd))_0xc437bb++;else{if(_0x3f72dd!=_0x344d9c[_0xc437bb]){const _0x257e4e=_0x11e87a[_0x28a2('0x3c')](_0x3f72dd)||_0x11e87a[_0x28a2('0x3c')](_0x344d9c[_0xc437bb]);for(;_0x3f72dd!=_0x344d9c[_0xc437bb];)_0x3449f3['has'](_0x344d9c[_0xc437bb])||(_0x59ce30['set'](_0x344d9c[_0xc437bb],_0x257e4e),_0x11e87a[_0x28a2('0x9b')](_0x344d9c[_0xc437bb],_0x257e4e)),_0xc437bb++;}_0xc437bb++;}}}}for(const _0x3053db of _0x4ffac4){const _0x55b801=_0x1422af['insertions'][_0x3053db];for(const _0x2a8683 of _0x55b801){const _0x3058d3=this[_0x28a2('0x37')](_0x2a8683),_0x479a33=_0x2a8683[_0x28a2('0x5d')][_0x28a2('0x92')](_0x3058d3);if(_0x59ce30[_0x28a2('0x3f')](_0x479a33)){const _0x2ede9e=_0x59ce30['get'](_0x479a33);_0x3449f3['has'](_0x479a33)||_0x3449f3[_0x28a2('0x9b')](_0x479a33,{..._0x2ede9e}),_0xba4c19[_0x28a2('0x9b')](_0x479a33,{..._0x2ede9e});}}}for(const _0xac6548 of _0x3449f3[_0x28a2('0x89')]())_0xac6548>=this[_0x28a2('0x8f')]&&_0x3449f3[_0x28a2('0x3b')](_0xac6548);const _0x459e4d=new Map();for(const _0x53dc0f of _0x4ffac4){let _0x54d4e6=_0x1422af[_0x28a2('0xed')][_0x53dc0f];for(const _0xb99478 of _0x54d4e6)if(_0xb99478['item']['is'](_0x28a2('0xf3'),_0x28a2('0xf4'))){const _0x230d22=this[_0x28a2('0x37')](_0xb99478),_0x1f7e94=_0xb99478[_0x28a2('0x5d')][_0x28a2('0x92')](_0x230d22);if(_0xba4c19[_0x28a2('0x3f')](_0x1f7e94)){const _0x299768=_0xb99478[_0x28a2('0x5d')]['parent'][_0x28a2('0x66')]['getAttribute'](_0x28a2('0x72')),_0x1072fb=_0x459e4d[_0x28a2('0x3c')](_0x299768)||new Set();_0x1072fb[_0x28a2('0x83')](_0xba4c19[_0x28a2('0x3c')](_0x1f7e94)[_0x28a2('0xa2')]),_0x459e4d[_0x28a2('0x9b')](_0x299768,_0x1072fb);}}_0x54d4e6=_0x1422af[_0x28a2('0x74')][_0x53dc0f];for(const _0x13c026 of _0x54d4e6)if(_0x13c026[_0x28a2('0x5d')]['is'](_0x28a2('0xf3'),_0x28a2('0xf4'))){const _0xf9bfa7=this[_0x28a2('0x37')](_0x13c026),_0x4e79b4=_0x13c026[_0x28a2('0x5d')][_0x28a2('0x92')](_0xf9bfa7);if(_0x3449f3['has'](_0x4e79b4)){const _0x90e045=_0x13c026[_0x28a2('0x5d')][_0x28a2('0x66')][_0x28a2('0x66')]['getAttribute'](_0x28a2('0x72')),_0x4eed4b=_0x459e4d[_0x28a2('0x3c')](_0x90e045)||new Set();_0x4eed4b[_0x28a2('0x83')](_0x3449f3[_0x28a2('0x3c')](_0x4e79b4)[_0x28a2('0xa2')]),_0x459e4d[_0x28a2('0x9b')](_0x90e045,_0x4eed4b);}}for(const _0x366c14 of _0x459e4d[_0x28a2('0x89')]())(_0xba4c19['has'](_0x366c14)||_0x3449f3[_0x28a2('0x3f')](_0x366c14))&&_0x459e4d[_0x28a2('0x3b')](_0x366c14);}for(const _0xb81832 of _0x4ffac4){const _0x5c9e93=_0x1422af['insertions'][_0xb81832];let _0x546721=null,_0x5901d4=null;for(const _0x5162c6 of _0x5c9e93){const _0x1d317=this[_0x28a2('0x37')](_0x5162c6),_0x56d74f=_0x5162c6[_0x28a2('0x5d')][_0x28a2('0x92')](_0x1d317),_0x4c7199=_0x459e4d[_0x28a2('0x3c')](_0x56d74f);_0x4c7199&&'elementStart'==_0x5162c6[_0x28a2('0x32')]&&(_0x546721=Array[_0x28a2('0xfb')](_0x4c7199)[0x0],_0x5901d4=_0x5162c6[_0x28a2('0x5d')][_0x28a2('0x92')](_0x28a2('0x95'))),_0x546721&&(_0x3449f3[_0x28a2('0x9b')](_0x56d74f,{'userId':_0x546721}),_0xba4c19[_0x28a2('0x9b')](_0x56d74f,{'userId':_0x546721})),_0x56d74f==_0x5901d4&&(_0x546721=null,_0x5901d4=null);}}const _0x1dcb06={},_0x49bce7=new Set();for(const _0x146270 of _0x4ffac4){const _0x54c34b=_0x5907eb[_0x28a2('0x74')][_0x146270],_0x33c3a2=_0x5907eb[_0x28a2('0xed')][_0x146270];for(const {userId:_0x4b7441}of this[_0x28a2('0x6f')][_0x28a2('0xd9')]())null!==_0x4b7441&&_0x49bce7[_0x28a2('0x83')](_0x4b7441);for(const {userId:_0x2a08c7}of this[_0x28a2('0xf7')][_0x28a2('0xd9')]())null!==_0x2a08c7&&_0x49bce7[_0x28a2('0x83')](_0x2a08c7);this[_0x28a2('0xce')](_0x33c3a2,_0x1422af[_0x28a2('0xed')][_0x146270],_0xba4c19,_0x28a2('0xf9'),_0x49bce7),this['_markChanges'](_0x54c34b,_0x1422af['deletions'][_0x146270],_0x3449f3,_0x28a2('0xcf'),_0x49bce7),_0x1dcb06[_0x146270]={'insertions':this['_prepareViewToSave'](_0x33c3a2),'deletions':this[_0x28a2('0xbb')](_0x54c34b),'attachChange':this[_0x28a2('0xf7')][_0x28a2('0x3c')](_0x146270)||null,'attributesBefore':_0x29ed97(this[_0x28a2('0x82')][_0x28a2('0x3c')](_0x146270))||{},'attributesAfter':_0x29ed97(this[_0x28a2('0x50')]['get'](_0x146270))};}return{'diffData':_0x1dcb06,'authorsIds':Array[_0x28a2('0xfb')](_0x49bce7)};}[_0x28a2('0xe2')](_0x5755ee){for(const [,_0x1769e7]of _0x5755ee['markers']){const _0x903b27=_0x1769e7[_0x28a2('0xb7')]['getAncestors']()[_0x28a2('0xf2')](_0x502836=>_0x28a2('0xf4')==_0x502836[_0x28a2('0x46')]);for(const _0x3eddb7 of _0x903b27)0x1==_0x3eddb7['childCount']&&_0x3eddb7['getChild'](0x0)['is'](_0x28a2('0xf3'),_0x28a2('0xdd'))&&_0x3eddb7[_0x28a2('0x69')](0x0)['_setAttribute'](_0x28a2('0x43'),!0x0);}}[_0x28a2('0xbb')](_0x5a48a6){this[_0x28a2('0xe2')](_0x5a48a6);const _0x53fc1d=this[_0x28a2('0xe6')]['data']['toView'](_0x5a48a6,{}),_0xca0fb=Array[_0x28a2('0xfb')](_0x53fc1d[_0x28a2('0x1')]())[_0x28a2('0x70')](_0x5f4ce9=>this[_0x28a2('0xd4')](_0x5f4ce9));return JSON[_0x28a2('0x26')](_0xca0fb);}[_0x28a2('0xd4')](_0xe309ae){if(_0xe309ae['is'](_0x28a2('0xcd')))return _0xe309ae[_0x28a2('0xd8')];{const _0x53f9ca=_0xe309ae;return{'type':Object[_0x28a2('0x89')](B)['find'](_0x330ad5=>_0xe309ae instanceof B[_0x330ad5]),'name':_0x53f9ca[_0x28a2('0x46')],'attributes':Array[_0x28a2('0xfb')](_0x53f9ca[_0x28a2('0x45')]()),'children':Array[_0x28a2('0xfb')](_0x53f9ca[_0x28a2('0x1')]())[_0x28a2('0x70')](_0x40cd80=>this[_0x28a2('0xd4')](_0x40cd80))};}}[_0x28a2('0xce')](_0x2ce67b,_0x33a8b0,_0x9b1f5f,_0x173e6c,_0x50c676){let _0xb14b5a=null,_0x186ed0=null,_0x4fe401=0x0;const _0x1c933b=this[_0x28a2('0xe6')]['model'];for(let _0xaff098=0x0;_0xaff098<_0x33a8b0[_0x28a2('0x8c')];_0xaff098++){const _0x3bbf80=this[_0x28a2('0x37')](_0x33a8b0[_0xaff098]),_0x4dd026=_0x33a8b0[_0xaff098][_0x28a2('0x5d')][_0x28a2('0x92')](_0x3bbf80),_0x4e734b=_0x9b1f5f['get'](_0x4dd026),_0x4c84d9=_0xaff098==_0x33a8b0['length']-0x1;(!_0xb14b5a&&_0x4e734b&&(_0xb14b5a=_0x4e734b,_0x186ed0=_0x33a8b0[_0xaff098]),_0xb14b5a&&(!_0x4e734b||_0x4e734b[_0x28a2('0xa2')]!=_0xb14b5a[_0x28a2('0xa2')]))&&(_0x2e05cf(_0x4e734b,L(_0x186ed0,_0x2ce67b,_0x1c933b),L(_0x33a8b0[_0xaff098],_0x2ce67b,_0x1c933b)),_0xb14b5a=_0x4e734b||null,_0x186ed0=_0x4e734b?_0x33a8b0[_0xaff098]:null),_0xb14b5a&&_0x4c84d9&&_0x2e05cf(_0x4e734b,L(_0x186ed0,_0x2ce67b,_0x1c933b),W(_0x33a8b0[_0xaff098],_0x2ce67b,_0x1c933b));}function _0x2e05cf(_0x44ac60,_0x2fe06e,_0x490abe){const _0x1dac59=_0xb14b5a[_0x28a2('0xa2')],_0x86f58e='revision:'+_0x173e6c+':'+_0x1dac59+':'+_0x4fe401++,_0x455ec3=_0x1c933b[_0x28a2('0xda')](_0x2fe06e,_0x490abe);_0x2ce67b[_0x28a2('0xf8')]['set'](_0x86f58e,_0x455ec3),null!==_0x1dac59&&_0x50c676['add'](_0x1dac59);}}[_0x28a2('0x37')](_0x1bdd47){switch(_0x1bdd47[_0x28a2('0x32')]){case _0x28a2('0xf1'):return _0x28a2('0x72');case'elementEnd':return _0x28a2('0x95');default:return'vid';}}['_fixOperation'](_0x55b317,_0x2d2504){_0x55b317[_0x28a2('0x22')]=null;for(const _0x541b2e in _0x55b317){const _0x26324f=_0x55b317[_0x541b2e];if(_0x26324f instanceof _0x31e047){const _0x178ca3=_0x2d2504[_0x28a2('0x3c')](_0x26324f[_0x28a2('0x5a')][_0x28a2('0xd7')]);_0x55b317[_0x541b2e]=this[_0x28a2('0xc8')](_0x26324f,_0x178ca3);}if(_0x26324f instanceof _0x51c84c){const _0xd0ead5=_0x2d2504[_0x28a2('0x3c')](_0x26324f['root'][_0x28a2('0xd7')]);_0x55b317[_0x541b2e]=this['_fixRange'](_0x26324f,_0xd0ead5);}'root'===_0x541b2e&&(_0x55b317[_0x28a2('0x5a')]=_0x2d2504['get'](_0x55b317[_0x28a2('0x5a')][_0x28a2('0xd7')]));}}[_0x28a2('0x9')](_0x162115,_0xa46513){return this[_0x28a2('0xe6')][_0x28a2('0xb')]['createRange'](this['_fixPosition'](_0x162115[_0x28a2('0xb7')],_0xa46513),this['_fixPosition'](_0x162115[_0x28a2('0xbe')],_0xa46513));}[_0x28a2('0xc8')](_0x472585,_0x186d80){return this[_0x28a2('0xe6')][_0x28a2('0xb')][_0x28a2('0xba')](_0x186d80,_0x472585['path'],_0x472585[_0x28a2('0x4e')]);}['_handleInsertOperation'](_0x1ae589){const _0x319008=this[_0x28a2('0xdc')][_0x28a2('0x3c')](_0x1ae589[_0x28a2('0x65')][_0x28a2('0x5a')][_0x28a2('0xd7')]),_0xc71cff=this[_0x28a2('0xc8')](_0x1ae589[_0x28a2('0x65')],_0x319008),_0x1bf6dc=null===_0x1ae589[_0x28a2('0xd6')]?null:_0x1ae589[_0x28a2('0xd6')]||this[_0x28a2('0xe6')][_0x28a2('0x1d')][_0x28a2('0x3c')](_0x28a2('0x75'))['me']['id'],_0x9c5516=_0xc71cff[_0x28a2('0x66')],_0x52c11b=this[_0x28a2('0xca')],_0x5e9ef1=[];for(const _0x15ee10 of _0x1ae589[_0x28a2('0x8e')])if(_0x15ee10['is']('element'))_0x5e9ef1[_0x28a2('0x68')](this[_0x28a2('0x4b')](_0x15ee10));else for(let _0x3e816f=0x0;_0x3e816f<_0x15ee10[_0x28a2('0x64')];_0x3e816f++)_0x5e9ef1['push'](new _0x2b9992(_0x28a2('0xcd'),{'vid':this[_0x28a2('0xca')]++}));const _0x121f03=this[_0x28a2('0xca')];for(let _0x1fc8e9=_0x52c11b;_0x1fc8e9<_0x121f03;_0x1fc8e9++)this[_0x28a2('0xb4')][_0x28a2('0x9b')](_0x1fc8e9,{'userId':_0x1bf6dc});_0x9c5516['_insertChild'](_0xc71cff[_0x28a2('0x39')],_0x5e9ef1);}[_0x28a2('0x1e')](_0x2e6d6d){(_0x2e6d6d=this['_cloneOperation'](_0x2e6d6d,this['_idsRoots']))['_execute']();const _0x4520c8=null===_0x2e6d6d[_0x28a2('0xd6')]?null:_0x2e6d6d[_0x28a2('0xd6')]||this[_0x28a2('0xe6')][_0x28a2('0x1d')][_0x28a2('0x3c')](_0x28a2('0x75'))['me']['id'],_0x50e8e4=_0x2e6d6d['getMovedRangeStart'](),_0x89ff46=_0x50e8e4[_0x28a2('0x66')],_0x4c8fd9=_0x50e8e4[_0x28a2('0x39')];!function _0x5c3ab1(_0x5bebf4,_0x21dcdd,_0x2883cc,_0x59c2f5){for(let _0x46b315=_0x2883cc;_0x46b315<_0x59c2f5;_0x46b315++){const _0x28d591=_0x21dcdd[_0x28a2('0x69')](_0x46b315);_0x28d591['is']('element',_0x28a2('0xcd'))?_0x5bebf4[_0x28a2('0x9b')](_0x28d591[_0x28a2('0x92')](_0x28a2('0x11')),{'userId':_0x4520c8}):(_0x5bebf4[_0x28a2('0x9b')](_0x28d591[_0x28a2('0x92')](_0x28a2('0x72')),{'userId':_0x4520c8}),_0x5c3ab1(_0x5bebf4,_0x28d591,0x0,_0x28d591['childCount']),_0x5bebf4[_0x28a2('0x9b')](_0x28d591[_0x28a2('0x92')](_0x28a2('0x95')),{'userId':_0x4520c8}));}}(this[_0x28a2('0xb4')],_0x89ff46,_0x4c8fd9,_0x4c8fd9+_0x2e6d6d[_0x28a2('0x34')]);}[_0x28a2('0xcb')](_0x3c2a69){const _0x3bd901=null===(_0x3c2a69=this[_0x28a2('0xb6')](_0x3c2a69,this[_0x28a2('0xdc')]))[_0x28a2('0xd6')]?null:_0x3c2a69['_authorId']||this['editor'][_0x28a2('0x1d')][_0x28a2('0x3c')](_0x28a2('0x75'))['me']['id'],_0xab1c17=_0x3c2a69['targetPosition'][_0x28a2('0x66')],_0x19bf24=_0x3c2a69[_0x28a2('0x61')][_0x28a2('0x66')],_0x5cf7f1=_0xab1c17['getAttribute'](_0x28a2('0x95')),_0x1c4faf=_0x19bf24['getAttribute'](_0x28a2('0x72'));_0xab1c17[_0x28a2('0x54')]('vid_end',_0x19bf24[_0x28a2('0x92')](_0x28a2('0x95'))),_0x19bf24[_0x28a2('0x54')](_0x28a2('0x95'),_0x5cf7f1),this[_0x28a2('0xb4')][_0x28a2('0x9b')](_0x1c4faf,{'userId':_0x3bd901}),this[_0x28a2('0xb4')][_0x28a2('0x9b')](_0x5cf7f1,{'userId':_0x3bd901}),_0x3c2a69[_0x28a2('0xad')]();}[_0x28a2('0xc5')](_0x2c8f2c){const _0x53e623=null===(_0x2c8f2c=this[_0x28a2('0xb6')](_0x2c8f2c,this['_idsRoots']))[_0x28a2('0xd6')]?null:_0x2c8f2c[_0x28a2('0xd6')]||this[_0x28a2('0xe6')][_0x28a2('0x1d')]['get'](_0x28a2('0x75'))['me']['id'],_0x141734=_0x2c8f2c[_0x28a2('0xd5')],_0x5d68a3=_0x2c8f2c['splitPosition'][_0x28a2('0x66')];_0x2c8f2c[_0x28a2('0xad')]();const _0x520d41=_0x5d68a3[_0x28a2('0x92')](_0x28a2('0x95')),_0x2219e5=_0x2c8f2c[_0x28a2('0x73')][_0x28a2('0x94')];if(_0x141734){const _0x1b75d1=_0x2219e5[_0x28a2('0x92')](_0x28a2('0x95')),_0x410aeb=_0x5d68a3[_0x28a2('0x92')]('vid_end');_0x5d68a3[_0x28a2('0x54')](_0x28a2('0x95'),_0x1b75d1),_0x2219e5[_0x28a2('0x54')](_0x28a2('0x95'),_0x410aeb),this[_0x28a2('0xb4')][_0x28a2('0x9b')](_0x5d68a3[_0x28a2('0x92')](_0x28a2('0x95')),{'userId':_0x53e623}),this[_0x28a2('0xb4')][_0x28a2('0x9b')](_0x2219e5['getAttribute'](_0x28a2('0x72')),{'userId':_0x53e623});}else{const _0x135032=this[_0x28a2('0xca')]++,_0x446025=this[_0x28a2('0xca')]++;_0x5d68a3[_0x28a2('0x54')](_0x28a2('0x95'),_0x135032),_0x2219e5['_setAttribute'](_0x28a2('0x72'),_0x446025),_0x2219e5['_setAttribute'](_0x28a2('0x95'),_0x520d41),this[_0x28a2('0xb4')][_0x28a2('0x9b')](_0x135032,{'userId':_0x53e623}),this[_0x28a2('0xb4')][_0x28a2('0x9b')](_0x446025,{'userId':_0x53e623});}}[_0x28a2('0x9f')](_0x422f39){if(!_0x422f39[_0x28a2('0x29')])return;const _0x303768=(_0x422f39=this[_0x28a2('0xb6')](_0x422f39,this['_diffRoots']))[_0x28a2('0xe7')]?_0x422f39[_0x28a2('0xe7')][_0x28a2('0x5a')]:null,_0x2867a3=_0x422f39[_0x28a2('0x33')]?_0x422f39[_0x28a2('0x33')][_0x28a2('0x5a')]:null;_0x303768&&this['_markers']['delete'](_0x422f39[_0x28a2('0x46')]),_0x2867a3&&this['_markers'][_0x28a2('0x9b')](_0x422f39[_0x28a2('0x46')],_0x422f39['newRange'][_0x28a2('0xde')]());const _0x1eb63e=null===_0x422f39['_authorId']?null:_0x422f39['_authorId']||this['editor'][_0x28a2('0x1d')][_0x28a2('0x3c')](_0x28a2('0x75'))['me']['id'],_0x21d37b=_0x422f39[_0x28a2('0x46')];if(!this[_0x28a2('0x6f')][_0x28a2('0x3f')](_0x21d37b))return void this[_0x28a2('0x6f')]['set'](_0x21d37b,{'range':_0x422f39[_0x28a2('0xe7')],'userId':_0x1eb63e});const _0x2f9497=this[_0x28a2('0x6f')][_0x28a2('0x3c')](_0x21d37b),_0x2d0aea=_0x2f9497['range'],_0x32822e=_0x422f39[_0x28a2('0x33')];null==_0x2d0aea&&null==_0x32822e||_0x2d0aea&&_0x32822e&&_0x2d0aea['isEqual'](_0x32822e)?this[_0x28a2('0x6f')]['delete'](_0x422f39['name']):_0x2f9497[_0x28a2('0xa2')]=_0x1eb63e;}['_handleRootOperation'](_0x59d060,_0x596dc4){this[_0x28a2('0x6e')][_0x28a2('0x3f')](_0x59d060[_0x28a2('0xd7')])?this[_0x28a2('0x6e')][_0x28a2('0x3c')](_0x59d060[_0x28a2('0xd7')])[_0x28a2('0x31')]=_0x59d060[_0x28a2('0xa0')]:(this[_0x28a2('0x6e')][_0x28a2('0x9b')](_0x59d060[_0x28a2('0xd7')],G(_0x59d060[_0x28a2('0xd7')],!0x0)),this[_0x28a2('0x50')][_0x28a2('0x9b')](_0x59d060[_0x28a2('0xd7')],{}),_0x596dc4&&this[_0x28a2('0xdc')]['set'](_0x59d060[_0x28a2('0xd7')],G(_0x59d060[_0x28a2('0xd7')],!0x0)));const _0x263ec9=null===_0x59d060[_0x28a2('0xd6')]?null:_0x59d060['_authorId']||this[_0x28a2('0xe6')][_0x28a2('0x1d')]['get'](_0x28a2('0x75'))['me']['id'],_0x3e268f=this['_touchedRoots'][_0x28a2('0x3c')](_0x59d060['rootName']);_0x3e268f&&_0x3e268f['userId']===_0x263ec9?this[_0x28a2('0xf7')][_0x28a2('0x3b')](_0x59d060[_0x28a2('0xd7')]):this['_touchedRoots'][_0x28a2('0x9b')](_0x59d060['rootName'],{'userId':_0x263ec9,'isAttached':_0x59d060['isAdd']});}[_0x28a2('0x6')](_0x317321){const _0xdda846=this['_diffRootsAttributes'][_0x28a2('0x3c')](_0x317321[_0x28a2('0x5a')][_0x28a2('0xd7')]);null===_0x317321[_0x28a2('0x59')]?delete _0xdda846[_0x317321[_0x28a2('0xdb')]]:_0xdda846[_0x317321[_0x28a2('0xdb')]]=_0x317321['newValue'];}}function q(_0x3140af){const _0x1529fb=G(_0x3140af[_0x28a2('0xd7')],_0x3140af[_0x28a2('0x6a')]());for(const _0x5ac4c1 of _0x3140af[_0x28a2('0x1')]()){const _0x4a1348=_0x5ac4c1[_0x28a2('0x79')](!0x0);_0x1529fb[_0x28a2('0x5c')](_0x4a1348);}return _0x1529fb;}function G(_0x12a5c8,_0x148a45=!0x0){const _0x3751e2=new _0x262073();return _0x3751e2[_0x28a2('0xd7')]=_0x12a5c8,_0x3751e2[_0x28a2('0x31')]=_0x148a45,_0x3751e2[_0x28a2('0x6a')]=()=>_0x3751e2[_0x28a2('0x31')],_0x3751e2;}function L(_0x36ba8f,_0xe0737c,_0x57d767){const _0x4b55d5='elementEnd'==_0x36ba8f[_0x28a2('0x32')]?_0x57d767[_0x28a2('0x96')](_0x36ba8f[_0x28a2('0x5d')],'end'):_0x57d767[_0x28a2('0x86')](_0x36ba8f['item']);return _0x57d767[_0x28a2('0xba')](_0xe0737c,_0x4b55d5['path'],_0x4b55d5['stickiness']);}function W(_0x23f104,_0x5dc98f,_0x5d80fb){const _0x67a6a5=_0x28a2('0xf1')==_0x23f104[_0x28a2('0x32')]?_0x5d80fb[_0x28a2('0x96')](_0x23f104[_0x28a2('0x5d')],0x0):_0x5d80fb[_0x28a2('0x99')](_0x23f104[_0x28a2('0x5d')]);return _0x5d80fb[_0x28a2('0xba')](_0x5dc98f,_0x67a6a5[_0x28a2('0x36')],_0x67a6a5[_0x28a2('0x4e')]);}
|