@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231105.0 → 0.0.0-nightly-20231107.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 _0x137c=['revision','item','remove','NEGATIVE_INFINITY','graveyardPosition','clear','has','max','RealTimeCollaborationClient','_makeRevision','dataDowncast','vid_start','getRoot','userId','PENDING_ACTION_REVISION_HISTORY','_cloneOperation','targetPosition','getTime','_execute','_handleSplitOperation','rootsAttributes','_continueCurrentRevision','_touchedMarkers','reInit','root','_bufferUpdate','startsWith','update','buildRevisionData','afterInit','oldRange','detachRoot','_findInsertionIndex','getRootNames','filter','ready','getAncestors','_createFromRanges','toModel','view','get','Users','_initialRevisionId','createRevision','keepParagraph','_removePendingAction','_copyMarkers','addRevisionData','getCurrentRevisionId','finally','Initial\x20revision','getLatestVersion','childCount','loadState','collaboration.channelId','_appendChild','createdAt','getIndex','getTransformedByOperation','version','editor','_saveMetaData','getChild','attributesAfter','range','setRevisionData','element','push','source','conversion','some','getRevision','stringify','_handleRootOperation','$text','_createCurrentRevision','model','sort','sendBufferedUpdates','pluginName','getChildren','clone','sourcePosition','_fixRange','start','_loadRevisionData','map','howMany','_setConversion','insert','RevisionsRepository','_handleMergeOperation','slice','toData','set','elementEnd','_makeIdsRoot','updateRevisions','document','_baseIdsRoots','newRange','createPositionAt','_savedMetaData','_calculateMetaData','createRange','then','marker','offsetSize','newValue','reinsert','fromVersion','_getViewJson','_getPreviousFrom','_markers','_fixOperation','initial','plugins','_getState','_prepareViewToSave','_isPendingUpdate','insertionPosition','_removeMetaData','_handleMarkerOperation','getOperation','_processRootBeforeSave','isAdd','_authorId','_getFromVersion','_startingRevisionId','_removeRevisionMarkers','revisionHistory.resumeUnsavedRevision','_bufferedUpdates','authorsIds','_touched','markers','getUser','_generateTape','changeRootAttribute','init','_update','_operations','type','keys','offset','_lastFrom','data-revision-','isEnabled','markerToData','forEach','locale','_applyOperations','trim','string','find','getRevisionRootsAttributes','authors','_idsRoots','addRevision','_setAttribute','creator','revision-start','setSource','_pendingAction','text','nodeAfter','_handleOperation','parse','for','deletions','splitPosition','_handleInsertOperation','_baseRoots','baseVersion','getAttributes','_createInitialRevision','_baseRootsAttributes','position','_loadState','getWalker','length','from','reverse','includes','removeRootAttribute','rootName','history','getNodeByPath','_handleMoveOperation','tableCell','_isAttached','split','_insertChild','_diffRootsAttributes','fromEntries','adapter','_startingVersion','elementStart','diffData','_addPendingAction','_transformMarkers','path','processor','_diffRoots','_fixPosition','createRangeIn','key','_loadedStateData','values','insertions','dataToMarker','_reset','_revisionId','stickiness','_touchedRoots','_clone','name','getOperations','Empty\x20document','revision:','end','resolve','add','saveRevision','initialData','_revisionDataBuilder','paragraph','children','define','_lastTo','$graveyard','toVersion','getAttribute','_getVidAttributeName','PendingActions','_source','creatorId','data','attachChange','_makeModelFromViewString','attributesBefore','getData','vid','hasContent','repository','currentRevision','vid_end','isAttached','createPositionBefore','createPositionFromPath','previousPosition','_markChanges','addRootAttribute','attributes','getRevisions','roots','parent','config','_getBaseVids','move','editing','documentFragment','delete'];(function(_0x2384e4,_0x137cd2){const _0x1cecff=function(_0x32276d){while(--_0x32276d){_0x2384e4['push'](_0x2384e4['shift']());}};_0x1cecff(++_0x137cd2);}(_0x137c,0xf9));const _0x1cec=function(_0x2384e4,_0x137cd2){_0x2384e4=_0x2384e4-0x0;let _0x1cecff=_0x137c[_0x2384e4];return _0x1cecff;};import{Users as _0x37cd51}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x4a3605,PendingActions as _0x323f5d}from'ckeditor5/src/core';import{logWarning as _0x37640e,uid as _0x7a1b4c}from'ckeditor5/src/utils';import{Position as _0x1be7ef,Range as _0x17c83a,Element as _0xb8f18c,DocumentFragment as _0x5dba25,ViewText as _0x1fd6d0,ViewElement as _0x529d94,ViewContainerElement as _0x4158e3,ViewAttributeElement as _0x5c98e3,ViewEmptyElement as _0x35f882,ViewRawElement as _0x1cd1ec,ViewUIElement as _0xf1578,ViewDocumentFragment as _0x1b0c02}from'ckeditor5/src/engine';import _0xd656d1 from'./revisionsrepository';import{getTranslation as _0x14624b}from'./utils/common-translations';import{cloneDeep as _0x40701a,isEqual as _0x43f605}from'lodash-es';const B={'c':_0x4158e3,'a':_0x5c98e3,'e':_0x35f882,'r':_0x1cd1ec,'u':_0xf1578};export default class l extends _0x4a3605{static get[_0x1cec('0x5c')](){return'RevisionTracker';}static get['requires'](){return[_0x37cd51,_0xd656d1,_0x323f5d];}constructor(_0x7927ca){super(_0x7927ca),this['adapter']=null,this[_0x1cec('0x101')]=null,this['_revisionDataBuilder']=new H(this['editor']),this[_0x1cec('0x37')]=this[_0x1cec('0x49')][_0x1cec('0x7')][_0x1cec('0x35')](_0x1cec('0x43'))||_0x1cec('0x80'),this[_0x1cec('0x90')]=new Map(),this[_0x1cec('0xdb')]=null;const _0x591d87=_0x7a1b4c();this[_0x1cec('0xf7')]={'history':this[_0x1cec('0x49')][_0x1cec('0x59')][_0x1cec('0x6f')]['history'],'getLatestVersion':()=>Promise[_0x1cec('0xe9')](this[_0x1cec('0x49')][_0x1cec('0x59')][_0x1cec('0x6f')]['version']),'getCurrentRevisionId':()=>_0x591d87},this[_0x1cec('0x6b')]('isReady',!0x1),this[_0x1cec('0x6b')](_0x1cec('0x9f'),!0x0),this[_0x1cec('0x6b')](_0x1cec('0x84'),!0x1),this[_0x1cec('0x49')][_0x1cec('0x7')][_0x1cec('0xf0')](_0x1cec('0x8f'),!0x0),this[_0x1cec('0x49')][_0x1cec('0x52')]['for']('upcast')[_0x1cec('0xde')]({'view':'revision'});}[_0x1cec('0x97')](){this['repository']=this[_0x1cec('0x49')][_0x1cec('0x81')][_0x1cec('0x35')](_0x1cec('0x67')),this[_0x1cec('0x65')](),this[_0x1cec('0x49')][_0x1cec('0xf9')]['on'](_0x1cec('0x30'),()=>{const _0x4568e5=this['repository']['getRevision'](0x0),_0x4e13fb=_0x4568e5&&null===_0x4568e5[_0x1cec('0xac')]?_0x4568e5:null;if(this['_continueCurrentRevision']=!!_0x4e13fb&&this[_0x1cec('0x49')]['config'][_0x1cec('0x35')](_0x1cec('0x8f')),this[_0x1cec('0x49')][_0x1cec('0x81')]['has'](_0x1cec('0x15'))){const _0x51392b=this[_0x1cec('0xf7')][_0x1cec('0x3d')](),_0x334d7f=this['repository'][_0x1cec('0x54')](_0x51392b);if(_0x334d7f)this[_0x1cec('0xd0')]=_0x334d7f[_0x1cec('0x7b')],this['_continueCurrentRevision']=!0x1;else{const _0x1cf1aa=this[_0x1cec('0xf7')][_0x1cec('0xc6')][_0x1cec('0x99')][_0x1cec('0xa6')](_0x18275f=>!_0x18275f['_isInit']),_0x10a2de=_0x1cf1aa?_0x1cf1aa[_0x1cec('0xb9')]:this[_0x1cec('0xf7')]['history']['version'];_0x4568e5?(_0x4568e5[_0x1cec('0xf3')]<_0x10a2de&&_0x4568e5[_0x1cec('0x98')]({'toVersion':_0x10a2de}),this['_continueCurrentRevision']?(this[_0x1cec('0xf7')][_0x1cec('0x3d')]=()=>_0x4e13fb['id'],this['_startingVersion']=_0x4e13fb[_0x1cec('0x7b')]):(this[_0x1cec('0xd0')]=_0x4568e5[_0x1cec('0xf3')],this[_0x1cec('0x22')]=!0x1)):(this['_startingVersion']=_0x10a2de,this['_continueCurrentRevision']=!0x1);}}else _0x4e13fb&&(this[_0x1cec('0x49')]['model'][_0x1cec('0x6f')]['history'][_0x1cec('0x48')]=Math[_0x1cec('0x14')](_0x4e13fb[_0x1cec('0xf3')],this['editor']['model']['document'][_0x1cec('0xc6')][_0x1cec('0x48')]),_0x4e13fb[_0x1cec('0x7b')]===_0x4e13fb[_0x1cec('0xf3')]?(0x0!==_0x4e13fb['fromVersion']&&(this[_0x1cec('0xf7')][_0x1cec('0x3d')]=()=>_0x4e13fb['id']),this['_continueCurrentRevision']=!0x1):this[_0x1cec('0x22')]&&(this[_0x1cec('0xf7')][_0x1cec('0x3d')]=()=>_0x4e13fb['id'],this[_0x1cec('0xd0')]=_0x4e13fb[_0x1cec('0x7b')])),this[_0x1cec('0x22')]||(this[_0x1cec('0xd0')]=this['editor'][_0x1cec('0x59')]['document'][_0x1cec('0x48')]);this[_0x1cec('0xed')][_0x1cec('0x97')](this[_0x1cec('0xf7')]['history']),this[_0x1cec('0xbb')](this[_0x1cec('0xd0')]),this[_0x1cec('0x58')](this[_0x1cec('0xd0')]),this[_0x1cec('0xcf')]&&this[_0x1cec('0x5b')]();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x695b5c=>!_0x695b5c);}async[_0x1cec('0x2a')](){if(this[_0x1cec('0x100')]['length']>0x0){const _0x2763cf=this['repository'][_0x1cec('0x54')](0x0),_0x55d3b6=await this['getRevisionDocumentData'](_0x2763cf),_0x2062d4=await this[_0x1cec('0xa7')](_0x2763cf);this['_replaceEditorDataWithRevisionData'](_0x55d3b6,_0x2062d4);}}[_0x1cec('0xae')](_0x415c6a){this[_0x1cec('0xf7')]=_0x415c6a;}async[_0x1cec('0x28')](){const _0x1a85f8=await this[_0x1cec('0xf7')]['getLatestVersion']();if(_0x1a85f8>this[_0x1cec('0x101')][_0x1cec('0xf3')]){await this[_0x1cec('0xbe')]();const _0x859924=this[_0x1cec('0x29')]({'revision':this['currentRevision'],'to':_0x1a85f8});_0x859924[_0x1cec('0xa8')]=_0x859924[_0x1cec('0x91')][_0x1cec('0x63')](_0x343ddd=>this[_0x1cec('0x49')]['plugins']['get'](_0x1cec('0x36'))['getUser'](_0x343ddd)),this[_0x1cec('0x101')][_0x1cec('0x98')](_0x859924);}}async[_0x1cec('0xbe')](){this[_0x1cec('0x22')]&&!this[_0x1cec('0xdb')]&&(await this['_loadRevisionData'](this[_0x1cec('0x101')]),this[_0x1cec('0xed')][_0x1cec('0x42')](this[_0x1cec('0x101')]),this[_0x1cec('0xdb')]={'fromVersion':this[_0x1cec('0x101')][_0x1cec('0x7b')],'authors':this[_0x1cec('0x101')][_0x1cec('0xa8')][_0x1cec('0x69')]()});}async[_0x1cec('0xeb')](_0x1534a6={},_0x17decf=null){const _0x20ebce=[];await this[_0x1cec('0xbe')](),this[_0x1cec('0x22')]=!0x1,_0x17decf>this[_0x1cec('0x101')]['toVersion']&&(_0x17decf=null),null===_0x17decf&&(_0x17decf=await this[_0x1cec('0xf7')][_0x1cec('0x40')]());const _0x10e062=this[_0x1cec('0x8c')](_0x17decf),_0x589ba8=this[_0x1cec('0x29')]({'from':_0x10e062,'to':_0x17decf});if(this[_0x1cec('0x101')][_0x1cec('0xf3')]<_0x17decf){const _0x259969=this[_0x1cec('0x29')]({'revision':this['currentRevision'],'from':_0x17decf,'to':_0x17decf});_0x259969[_0x1cec('0xa8')]=[],_0x259969[_0x1cec('0x91')]=[],_0x259969['id']=this[_0x1cec('0x101')]['id'],this[_0x1cec('0x101')][_0x1cec('0x98')](_0x259969,!0x0),delete _0x259969['authors'],_0x20ebce[_0x1cec('0x50')](_0x259969);}_0x1534a6['creatorId']=this[_0x1cec('0x49')][_0x1cec('0x81')][_0x1cec('0x35')](_0x1cec('0x36'))['me']['id'],_0x1534a6[_0x1cec('0xe4')]=_0x1534a6['name']||null,_0x1534a6['id']=_0x1534a6['id']||_0x7a1b4c(),_0x1534a6={..._0x1534a6,..._0x589ba8};const _0x4970c2=this[_0x1cec('0x3c')](_0x1534a6);_0x20ebce[_0x1cec('0x50')](_0x1534a6);const _0x4886c9=this[_0x1cec('0x100')][_0x1cec('0x46')](_0x4970c2);if(0x0!==_0x4886c9){const _0x272bac=this['repository'][_0x1cec('0x54')](_0x4886c9-0x1);if(_0x272bac[_0x1cec('0x7b')]!==_0x17decf){const _0x228ff9=this[_0x1cec('0xed')]['getData'](_0x17decf,_0x272bac['toVersion']),_0x457977={'id':_0x272bac['id'],'diffData':_0x228ff9[_0x1cec('0xd2')],'authorsIds':_0x228ff9[_0x1cec('0x91')],'authors':_0x228ff9[_0x1cec('0x91')]['map'](_0x2d2cbb=>this[_0x1cec('0x49')][_0x1cec('0x81')]['get']('Users')[_0x1cec('0x94')](_0x2d2cbb)),'fromVersion':_0x17decf};_0x272bac===this[_0x1cec('0x101')]&&(_0x457977[_0x1cec('0x45')]=new Date(_0x1534a6[_0x1cec('0x45')][_0x1cec('0x1e')]()+0xa)),_0x272bac['_update'](_0x457977,!0x0),delete _0x457977['authors'],_0x20ebce['push'](_0x457977);}}if(this['adapter']){for(const _0x37ca29 of _0x20ebce)this[_0x1cec('0x26')](_0x37ca29['id'],_0x37ca29,!0x0);this[_0x1cec('0x5b')]();}return _0x4970c2;}[_0x1cec('0x3c')](_0x4be8c2){const _0x2d15ec=this['repository'][_0x1cec('0x38')](_0x4be8c2);return this['adapter']&&_0x2d15ec['on']('_update',(_0xc79c81,_0x588ad7,_0xc116)=>{_0xc116||(this['_bufferUpdate'](_0x588ad7['id'],_0x588ad7,!0x0),this[_0x1cec('0x5b')]());}),this[_0x1cec('0x100')][_0x1cec('0xaa')](_0x2d15ec,this[_0x1cec('0x2d')](_0x2d15ec)),_0x2d15ec;}async['getRevisionDocumentData'](_0x2db2e8){await this[_0x1cec('0x62')](_0x2db2e8);const _0x326068={};for(const _0x57708f in _0x2db2e8[_0x1cec('0xd2')]){if(_0x2db2e8[_0x1cec('0xd2')][_0x57708f][_0x1cec('0xfa')]&&!_0x2db2e8[_0x1cec('0xd2')][_0x57708f][_0x1cec('0xfa')][_0x1cec('0x103')])continue;const _0x44395d=this[_0x1cec('0x8e')](JSON['parse'](_0x2db2e8[_0x1cec('0xd2')][_0x57708f]['insertions'])),_0x3ac6cf=this['editor'][_0x1cec('0xa')][_0x1cec('0x34')][_0x1cec('0x6f')],_0x39562d=new _0x1b0c02(_0x3ac6cf,_0x44395d[_0x1cec('0x63')](_0x57e242=>J(_0x57e242,this[_0x1cec('0x49')])));this['editor'][_0x1cec('0xf9')]['processor']['useFillerType']('marked'),_0x326068[_0x57708f]=this['editor'][_0x1cec('0xf9')][_0x1cec('0xd6')][_0x1cec('0x6a')](_0x39562d),this[_0x1cec('0x49')][_0x1cec('0xf9')][_0x1cec('0xd6')]['useFillerType']('default');}return _0x326068;}async[_0x1cec('0xa7')](_0x203c73){await this[_0x1cec('0x62')](_0x203c73);const _0x5213cd={};for(const _0x5690ef in _0x203c73[_0x1cec('0xd2')])_0x203c73[_0x1cec('0xd2')][_0x5690ef][_0x1cec('0xfa')]&&!_0x203c73[_0x1cec('0xd2')][_0x5690ef][_0x1cec('0xfa')][_0x1cec('0x103')]||(_0x5213cd[_0x5690ef]=_0x203c73['diffData'][_0x5690ef]['attributesAfter']||{});return _0x5213cd;}[_0x1cec('0x5b')](){if(0x0===this['_bufferedUpdates']['size'])return;if(this[_0x1cec('0x84')])return;let _0x54a0cb=Array[_0x1cec('0xc1')](this[_0x1cec('0x90')][_0x1cec('0xdc')]());this['_bufferedUpdates'][_0x1cec('0x12')]();for(let _0x284999=0x0;_0x284999<_0x54a0cb[_0x1cec('0xc0')];_0x284999++){const _0x54b5a2=_0x54a0cb[_0x284999];let _0xd328a3=!0x1;for(const _0x13275c of Object[_0x1cec('0x9b')](_0x54b5a2))void 0x0===_0x54b5a2[_0x13275c]?delete _0x54b5a2[_0x13275c]:'id'!==_0x13275c&&(_0xd328a3=!0x0);_0xd328a3||(_0x54a0cb[_0x284999]=null);}if(_0x54a0cb=_0x54a0cb[_0x1cec('0x2f')](_0x8a98fd=>null!==_0x8a98fd),!_0x54a0cb[_0x1cec('0xc0')])return;for(let _0x2eaf21=0x0;_0x2eaf21<_0x54a0cb[_0x1cec('0xc0')];_0x2eaf21++){const _0x5add7d=_0x54a0cb[_0x2eaf21];void 0x0!==_0x5add7d['fromVersion']&&void 0x0===_0x5add7d[_0x1cec('0xf3')]&&(_0x5add7d['toVersion']=this[_0x1cec('0x100')]['getRevision'](_0x5add7d['id'])['toVersion']),void 0x0!==_0x5add7d[_0x1cec('0xf3')]&&void 0x0===_0x5add7d[_0x1cec('0x7b')]&&(_0x5add7d['fromVersion']=this[_0x1cec('0x100')][_0x1cec('0x54')](_0x5add7d['id'])['fromVersion']);}const _0x2ba653=this[_0x1cec('0x49')][_0x1cec('0x7')][_0x1cec('0x35')](_0x1cec('0x43'));this[_0x1cec('0x84')]=!0x0,this['_addPendingAction'](),this[_0x1cec('0xcf')][_0x1cec('0x6e')](_0x54a0cb,_0x2ba653)[_0x1cec('0x3e')](()=>{this[_0x1cec('0x84')]=!0x1;})[_0x1cec('0x76')](_0x2f83bc=>{if(_0x2f83bc)for(const _0x2ded53 of _0x2f83bc)this[_0x1cec('0x4e')]({'id':_0x2ded53['id'],'createdAt':_0x2ded53[_0x1cec('0x45')]});this['_removePendingAction'](),this[_0x1cec('0x5b')]();});}['_replaceEditorDataWithRevisionData'](_0xebaab0,_0x3f9eb2){let _0x602d7b=this[_0x1cec('0x49')][_0x1cec('0x7')]['get'](_0x1cec('0xec')),_0x27e410=this['editor']['config']['get'](_0x1cec('0x21'));if(void 0x0===_0x602d7b){_0x602d7b={};for(const _0x32ee7c of this['editor']['model'][_0x1cec('0x6f')][_0x1cec('0x2e')]())_0x602d7b[_0x32ee7c]='';}if(_0x1cec('0xa5')==typeof _0x602d7b&&(_0x602d7b={'main':_0x602d7b}),void 0x0===_0x27e410){_0x27e410={};for(const _0x5c08a0 of this[_0x1cec('0x49')][_0x1cec('0x59')][_0x1cec('0x6f')][_0x1cec('0x2e')]())_0x27e410[_0x5c08a0]={};}let _0x4ae561=!0x1;const _0x1f74a4=Object[_0x1cec('0x9b')](_0x602d7b),_0x30b9b7=Object['keys'](_0xebaab0);for(const _0x199312 of _0x1f74a4){if(_0x602d7b[_0x199312]!==_0xebaab0[_0x199312]&&''!==_0x602d7b[_0x199312][_0x1cec('0xa4')]()){_0x4ae561=!0x0;break;}if(!_0x43f605(_0x27e410[_0x199312],_0x3f9eb2[_0x199312])&&Object[_0x1cec('0x9b')](_0x27e410[_0x199312])[_0x1cec('0xc0')]>0x0){_0x4ae561=!0x0;break;}}_0x4ae561||(_0x4ae561=_0x30b9b7[_0x1cec('0x53')](_0x2767f1=>!this[_0x1cec('0x49')][_0x1cec('0x59')][_0x1cec('0x6f')][_0x1cec('0x19')](_0x2767f1))),_0x4ae561&&_0x37640e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x602d7b,'editorRootsAttributes':_0x27e410,'revisionData':_0xebaab0,'revisionRootsAttributes':_0x3f9eb2}),this[_0x1cec('0x49')][_0x1cec('0x7')][_0x1cec('0x6b')](_0x1cec('0xec'),_0xebaab0),this[_0x1cec('0x49')][_0x1cec('0x7')][_0x1cec('0x6b')]('rootsAttributes',_0x3f9eb2);}[_0x1cec('0xd3')](){if(!this[_0x1cec('0xaf')]){const _0x2abb43=this['editor'][_0x1cec('0x81')][_0x1cec('0x35')](_0x1cec('0xf6'));this['_pendingAction']=_0x2abb43[_0x1cec('0xea')](_0x14624b(this[_0x1cec('0x49')][_0x1cec('0xa2')],_0x1cec('0x1b')));}}[_0x1cec('0x3a')](){this[_0x1cec('0xaf')]&&(this['editor']['plugins'][_0x1cec('0x35')](_0x1cec('0xf6'))['remove'](this[_0x1cec('0xaf')]),this[_0x1cec('0xaf')]=null);}['_findInsertionIndex'](_0xd13f0b){const _0x2e63cf=this['repository'][_0x1cec('0x4')]();_0x2e63cf[_0x1cec('0xc2')]();let _0x37c91b=0x0;for(;_0x37c91b<_0x2e63cf[_0x1cec('0xc0')];){const _0xd44b06=_0x2e63cf[_0x37c91b];if(_0xd44b06===this[_0x1cec('0x101')]){_0x37c91b++;continue;}if(_0xd44b06['id']===this[_0x1cec('0x37')])break;const _0x525b5d=_0xd13f0b[_0x1cec('0xf3')]-_0xd44b06[_0x1cec('0xf3')]||_0xd13f0b['fromVersion']-_0xd44b06[_0x1cec('0x7b')];if(_0x525b5d>0x0)break;if(_0x525b5d<0x0)_0x37c91b++;else{if(!_0xd13f0b[_0x1cec('0xac')]&&_0xd44b06[_0x1cec('0xac')])break;if(_0xd44b06['creator']||!_0xd13f0b[_0x1cec('0xac')]){if(_0xd13f0b['createdAt']>_0xd44b06[_0x1cec('0x45')])break;_0x37c91b++;}else _0x37c91b++;}}return _0x37c91b;}[_0x1cec('0x4e')](_0x1bac77){const _0x97aa36=this[_0x1cec('0x100')][_0x1cec('0x54')](_0x1bac77['id']);if(_0x1bac77[_0x1cec('0x45')]&&(_0x1bac77[_0x1cec('0x45')]=new Date(_0x1bac77[_0x1cec('0x45')])),_0x1bac77['authorsIds']){const _0x5f08a1=this[_0x1cec('0x49')][_0x1cec('0x81')]['get'](_0x1cec('0x36'));_0x1bac77['authors']=_0x1bac77[_0x1cec('0x91')]['map'](_0x1203f2=>_0x5f08a1[_0x1cec('0x94')](_0x1203f2));}_0x97aa36['_update'](_0x1bac77,!0x0);}['buildRevisionData']({revision:_0x2a539b=null,from:_0x1879b0=null,to:_0x575cbc=null}){_0x1879b0=null!==_0x1879b0?_0x1879b0:_0x2a539b[_0x1cec('0x7b')],_0x575cbc=null!==_0x575cbc?_0x575cbc:_0x2a539b[_0x1cec('0xf3')];const _0x2c1faa=this[_0x1cec('0xed')]['getData'](_0x1879b0,_0x575cbc),_0x54149d={'diffData':_0x2c1faa[_0x1cec('0xd2')],'authorsIds':_0x2c1faa[_0x1cec('0x91')],'fromVersion':_0x1879b0,'toVersion':_0x575cbc};if(!_0x2a539b||_0x575cbc!==_0x2a539b[_0x1cec('0xf3')]){const _0x1e4eb0=_0x575cbc-0x1,_0x2a0387=this[_0x1cec('0xf7')][_0x1cec('0xc6')][_0x1cec('0x88')](_0x1e4eb0);_0x54149d[_0x1cec('0x45')]=_0x2a0387&&_0x2a0387[_0x1cec('0x45')]||new Date();}if(this[_0x1cec('0xdb')]&&_0x1879b0===this['_loadedStateData'][_0x1cec('0x7b')])for(const _0x432376 of this[_0x1cec('0xdb')][_0x1cec('0xa8')])_0x54149d[_0x1cec('0x91')][_0x1cec('0xc3')](_0x432376['id'])||_0x54149d['authorsIds']['push'](_0x432376['id']);return _0x54149d;}[_0x1cec('0x62')](_0x18563e){if(!_0x18563e||_0x18563e[_0x1cec('0xd2')])return Promise[_0x1cec('0xe9')]();{const _0x2d412b=this[_0x1cec('0x49')]['config'][_0x1cec('0x35')](_0x1cec('0x43'));return this[_0x1cec('0xcf')][_0x1cec('0x54')]({'channelId':_0x2d412b,'revisionId':_0x18563e['id']})['then'](_0x5bf5d0=>{_0x18563e['diffData']=_0x5bf5d0['diffData'];});}}['_bufferUpdate'](_0x5ecc66,_0x5370f0,_0x3a45d7){if(this[_0x1cec('0x90')]['has'](_0x5ecc66)){const _0x27ba9e=this['_bufferedUpdates'][_0x1cec('0x35')](_0x5ecc66);_0x5370f0=_0x3a45d7?{..._0x27ba9e,..._0x5370f0}:{..._0x5370f0,..._0x27ba9e};}this[_0x1cec('0x90')][_0x1cec('0x6b')](_0x5ecc66,_0x5370f0);}['_getFromVersion'](_0x4c1f2b){const _0x2b8bf1=this['repository'][_0x1cec('0x4')]();_0x2b8bf1[_0x1cec('0xc2')](),_0x2b8bf1['shift']();const _0x443d9b=_0x2b8bf1[_0x1cec('0xa6')](_0x1ad6ed=>_0x1ad6ed[_0x1cec('0xf3')]<=_0x4c1f2b)['toVersion'];return _0x443d9b<this[_0x1cec('0xd0')]?this[_0x1cec('0xd0')]:_0x443d9b;}[_0x1cec('0xbb')](_0x56bb11){const _0x54fc87=this[_0x1cec('0x100')][_0x1cec('0x54')](this[_0x1cec('0x100')][_0x1cec('0xc0')]-0x1);if(_0x54fc87)this[_0x1cec('0x37')]=_0x54fc87['id'];else{const _0x5cf819=!this[_0x1cec('0x49')][_0x1cec('0x59')][_0x1cec('0x6f')][_0x1cec('0x5')][_0x1cec('0xa6')](_0x59aecd=>this[_0x1cec('0x49')][_0x1cec('0x59')][_0x1cec('0xff')](_0x59aecd)),_0x563c31=this[_0x1cec('0x49')][_0x1cec('0x81')]['get']('Users')['me']['id'],_0x57ffbf=_0x14624b(this[_0x1cec('0x49')][_0x1cec('0xa2')],_0x5cf819?_0x1cec('0xe6'):_0x1cec('0x3f'));this[_0x1cec('0x16')]({'from':_0x56bb11,'to':_0x56bb11,'id':this[_0x1cec('0x37')],'name':_0x57ffbf,'creatorId':_0x563c31});}}['_createCurrentRevision'](_0x4791a0){const _0x16627e=this[_0x1cec('0xf7')][_0x1cec('0x3d')]();this[_0x1cec('0x101')]=this['repository'][_0x1cec('0x54')](_0x16627e),this['currentRevision']||(this['currentRevision']=this[_0x1cec('0x16')]({'from':_0x4791a0,'to':_0x4791a0,'id':_0x16627e,'name':'','creatorId':null}));}[_0x1cec('0x16')]({name:_0xf68c6c,from:_0x2b3f19,to:_0x232c99,creatorId:_0x499e1e,id:_0xf947d7}){const _0x4bf5c9=this[_0x1cec('0x29')]({'from':_0x2b3f19,'to':_0x232c99});_0x4bf5c9['name']=_0xf68c6c,_0x4bf5c9[_0x1cec('0xf8')]=_0x499e1e,_0x4bf5c9['id']=_0xf947d7;const _0x562fad=this[_0x1cec('0x3c')](_0x4bf5c9);return this['adapter']&&this[_0x1cec('0x26')](_0x4bf5c9['id'],_0x4bf5c9,!0x0),_0x562fad;}[_0x1cec('0x65')](){this[_0x1cec('0x49')][_0x1cec('0x52')][_0x1cec('0xb4')](_0x1cec('0x17'))[_0x1cec('0xa0')]({'model':_0x1cec('0xd')});}['_removeRevisionMarkers'](_0x22827e){return(_0x22827e=_0x22827e['filter'](_0xdd922a=>!_0xdd922a[_0x1cec('0xe4')]||_0x1cec('0xad')!==_0xdd922a[_0x1cec('0xe4')]&&'revision-end'!==_0xdd922a['name']))[_0x1cec('0xa1')](_0xe714db=>{_0x1cec('0xa5')!=typeof _0xe714db&&(_0xe714db[_0x1cec('0xef')]=this[_0x1cec('0x8e')](_0xe714db['children']),_0xe714db['attributes']=_0xe714db[_0x1cec('0x3')][_0x1cec('0x2f')](_0x527090=>!_0x527090[0x0][_0x1cec('0x27')](_0x1cec('0x9e'))));}),_0x22827e;}}function J(_0x115dd0,_0xd7745f){const _0x114b36=_0xd7745f[_0x1cec('0xa')]['view']['document'];if(_0x1cec('0xa5')==typeof _0x115dd0)return new _0x1fd6d0(_0x114b36,_0x115dd0);{const _0x170b85=_0x115dd0[_0x1cec('0xef')][_0x1cec('0x63')](_0x6a1854=>J(_0x6a1854,_0xd7745f));return new(B[_0x115dd0[(_0x1cec('0x9a'))]]||_0x529d94)(_0x114b36,_0x115dd0[_0x1cec('0xe4')],_0x115dd0[_0x1cec('0x3')],_0x170b85);}}class H{constructor(_0x48af2d){this[_0x1cec('0x49')]=_0x48af2d,this[_0x1cec('0x73')]=new Map(),this['_lastFrom']=-0x1,this[_0x1cec('0xf1')]=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this[_0x1cec('0xcd')]=new Map(),this['_baseRoots']=new Map(),this[_0x1cec('0xbc')]=new Map(),this[_0x1cec('0xa9')]=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this[_0x1cec('0x23')]=new Map(),this[_0x1cec('0xe2')]=new Map(),this[_0x1cec('0xe0')]=0x1;}[_0x1cec('0x97')](_0x32379b){this[_0x1cec('0x51')]=_0x32379b;const _0xe61764=new Map(),_0x312f7e=new Map(),_0x2c2292=this['editor'][_0x1cec('0x59')][_0x1cec('0x6f')][_0x1cec('0x5')][_0x1cec('0x63')](_0x15fcfd=>_0x15fcfd[_0x1cec('0xc5')]);for(const _0x154215 of _0x2c2292){const _0x1568f9=this['editor'][_0x1cec('0x59')][_0x1cec('0x6f')][_0x1cec('0x19')](_0x154215),_0x413ace=q(_0x1568f9);_0xe61764[_0x1cec('0x6b')](_0x154215,_0x413ace),_0x312f7e[_0x1cec('0x6b')](_0x154215,Object[_0x1cec('0xce')](_0x1568f9[_0x1cec('0xba')]()));}const _0x4272fc=Array[_0x1cec('0xc1')](this['editor']['model']['markers'])[_0x1cec('0x63')](_0x2b4702=>[_0x2b4702[_0x1cec('0xe4')],_0x2b4702['getRange']()]),_0x355360=this['source'][_0x1cec('0x48')];this[_0x1cec('0x4a')](_0x355360,_0xe61764,_0x4272fc,_0x312f7e),this[_0x1cec('0x8d')]=this['_revisionId'];const _0x46c14f=new Map(),_0x113870=new Map();for(const _0x3364ae of _0x2c2292){const _0x5a8962=G(_0x3364ae);_0x46c14f[_0x1cec('0x6b')](_0x3364ae,_0x5a8962),_0x113870['set'](_0x3364ae,{});}this['_saveMetaData'](Number[_0x1cec('0x10')],_0x46c14f,[],_0x113870);}[_0x1cec('0xfd')](_0x36f814,_0x10eb55){if(this[_0x1cec('0x9d')]===_0x36f814&&this[_0x1cec('0xf1')]<=_0x10eb55)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this[_0x1cec('0xf1')]),this[_0x1cec('0xa3')](this[_0x1cec('0xf1')],_0x10eb55,!0x0);else{if(!this[_0x1cec('0x73')]['has'](_0x36f814)){const _0x560de1=this['_getPreviousFrom'](_0x36f814);this['_calculateMetaData'](_0x560de1,_0x36f814,!0x1);}this[_0x1cec('0x74')](_0x36f814,_0x10eb55,!0x0);}return this[_0x1cec('0x9d')]=_0x36f814,this['_lastTo']=_0x10eb55,this[_0x1cec('0x82')]();}[_0x1cec('0x42')](_0x16e9e7){this[_0x1cec('0xdf')](),this[_0x1cec('0x9d')]=_0x16e9e7[_0x1cec('0x7b')],this[_0x1cec('0xf1')]=_0x16e9e7[_0x1cec('0xf3')];for(const _0x51d942 in _0x16e9e7[_0x1cec('0xd2')]){const _0x1c105f=_0x16e9e7[_0x1cec('0xd2')][_0x51d942][_0x1cec('0xfa')],_0x10fd05=_0x40701a(_0x16e9e7['diffData'][_0x51d942][_0x1cec('0xfc')])||{},_0x3c4f00=this[_0x1cec('0xfb')](_0x16e9e7[_0x1cec('0xd2')][_0x51d942][_0x1cec('0xb5')]);_0x3c4f00[_0x1cec('0xc5')]=_0x51d942,_0x3c4f00[_0x1cec('0xca')]=!_0x1c105f||!_0x1c105f[_0x1cec('0x103')],_0x3c4f00[_0x1cec('0x103')]=()=>_0x3c4f00[_0x1cec('0xca')],this[_0x1cec('0xb8')][_0x1cec('0x6b')](_0x51d942,_0x3c4f00),this[_0x1cec('0xbc')][_0x1cec('0x6b')](_0x51d942,_0x10fd05),_0x1c105f&&this[_0x1cec('0xe2')][_0x1cec('0x6b')](_0x51d942,_0x1c105f);const _0x285de5=this[_0x1cec('0x6d')](_0x3c4f00);this['_baseIdsRoots'][_0x1cec('0x6b')](_0x51d942,_0x285de5);for(const [_0x1ef41f,_0x273353]of _0x3c4f00[_0x1cec('0x93')]){if(!_0x1ef41f[_0x1cec('0x27')]('revision:'))continue;const _0x5d5868=_0x1ef41f[_0x1cec('0xcb')](':')[0x2];for(const _0x129611 of _0x273353[_0x1cec('0xbf')]({'singleCharacters':!0x0})){const _0x2cd686=this[_0x1cec('0xf5')](_0x129611),_0x29ec21=_0x1cec('0x6c')==_0x129611['type']?_0x129611[_0x1cec('0x0')][_0x1cec('0xd5')][_0x1cec('0x69')](0x0,-0x1):_0x129611[_0x1cec('0x0')][_0x1cec('0xd5')],_0x3ffd4f=_0x285de5[_0x1cec('0xc7')](_0x29ec21)[_0x1cec('0xf4')](_0x2cd686);this[_0x1cec('0x92')][_0x1cec('0x6b')](_0x3ffd4f,{'userId':_0x5d5868});}}}this[_0x1cec('0x8d')]=this['_revisionId'];const _0x1ae264=[...Array(this[_0x1cec('0xe0')])[_0x1cec('0x9b')]()][_0x1cec('0x69')](0x1)['filter'](_0xf6884e=>!this[_0x1cec('0x92')][_0x1cec('0x13')](_0xf6884e));let _0xc8ea88=0x0;const _0xaa1b7f=new Map();for(const _0x4c8cdd in _0x16e9e7[_0x1cec('0xd2')]){const _0x10a4cd=_0x16e9e7[_0x1cec('0xd2')][_0x4c8cdd][_0x1cec('0xfa')],_0x3d7fe4=_0x40701a(_0x16e9e7[_0x1cec('0xd2')][_0x4c8cdd][_0x1cec('0x4c')])||{},_0x515834=this[_0x1cec('0xfb')](_0x16e9e7[_0x1cec('0xd2')][_0x4c8cdd]['insertions']);_0x515834[_0x1cec('0xc5')]=_0x4c8cdd,_0x515834['_isAttached']=!_0x10a4cd||_0x10a4cd['isAttached'],_0x515834['isAttached']=()=>_0x515834[_0x1cec('0xca')],this['_diffRoots'][_0x1cec('0x6b')](_0x4c8cdd,_0x515834),this[_0x1cec('0xcd')]['set'](_0x4c8cdd,_0x3d7fe4);const _0x30a7ab=this[_0x1cec('0x6d')](_0x515834,Number[_0x1cec('0x10')]);this[_0x1cec('0xa9')][_0x1cec('0x6b')](_0x4c8cdd,_0x30a7ab),_0xaa1b7f[_0x1cec('0x6b')](_0x4c8cdd,_0x515834[_0x1cec('0x103')]()?_0x3d7fe4:{});for(const [_0x18b6fb,_0x16c0ff]of _0x515834[_0x1cec('0x93')]){if(!_0x18b6fb[_0x1cec('0x27')](_0x1cec('0xe7')))continue;const _0x583e46=_0x18b6fb[_0x1cec('0xcb')](':')[0x2];for(const _0x446a1f of _0x16c0ff[_0x1cec('0xbf')]({'singleCharacters':!0x0})){const _0x154b7c=this[_0x1cec('0xf5')](_0x446a1f),_0x83d231=this['_revisionId']++,_0x390fa1=_0x1cec('0x6c')==_0x446a1f[_0x1cec('0x9a')]?_0x446a1f[_0x1cec('0x0')][_0x1cec('0xd5')]['slice'](0x0,-0x1):_0x446a1f[_0x1cec('0x0')][_0x1cec('0xd5')];_0x30a7ab[_0x1cec('0xc7')](_0x390fa1)[_0x1cec('0xab')](_0x154b7c,_0x83d231),this[_0x1cec('0x92')][_0x1cec('0x6b')](_0x83d231,{'userId':_0x583e46});}}for(const _0x4281fa of this[_0x1cec('0x49')]['model'][_0x1cec('0xd9')](_0x515834)[_0x1cec('0xbf')]({'singleCharacters':!0x0})){const _0x381a4b=this[_0x1cec('0xf5')](_0x4281fa),_0x13379c=_0x1cec('0x6c')==_0x4281fa['type']?_0x4281fa[_0x1cec('0x0')][_0x1cec('0xd5')][_0x1cec('0x69')](0x0,-0x1):_0x4281fa[_0x1cec('0x0')][_0x1cec('0xd5')],_0x3986ee=_0x30a7ab[_0x1cec('0xc7')](_0x13379c);_0x3986ee[_0x1cec('0xf4')](_0x381a4b)>0x0||_0x3986ee[_0x1cec('0xab')](_0x381a4b,_0x1ae264[_0xc8ea88++]);}for(const [_0x34ed0c,_0x425501]of _0x515834[_0x1cec('0x93')])_0x34ed0c[_0x1cec('0x27')](_0x1cec('0xe7'))||this[_0x1cec('0x7e')][_0x1cec('0x6b')](_0x34ed0c,_0x425501);}const _0xa481b8=G(_0x1cec('0xf2'));this[_0x1cec('0xb8')][_0x1cec('0x6b')](_0x1cec('0xf2'),_0xa481b8),this[_0x1cec('0x70')][_0x1cec('0x6b')](_0x1cec('0xf2'),this[_0x1cec('0x6d')](_0xa481b8,0x1));const _0x404c97=G(_0x1cec('0xf2'));this[_0x1cec('0xd7')]['set'](_0x1cec('0xf2'),_0x404c97),this[_0x1cec('0xa9')][_0x1cec('0x6b')]('$graveyard',this['_makeIdsRoot'](_0x404c97,0x1));const _0x592b53=Array['from'](this[_0x1cec('0xd7')])[_0x1cec('0x63')](([_0xa9345b,_0x1dfd01])=>[_0xa9345b,q(_0x1dfd01)]);this[_0x1cec('0x4a')](this[_0x1cec('0xf1')],_0x592b53,this[_0x1cec('0x7e')],_0xaa1b7f);}[_0x1cec('0xfb')](_0x44f627){const _0x442355=JSON[_0x1cec('0xb3')](_0x44f627),_0x4a0ed4=this['editor'][_0x1cec('0xa')]['view'][_0x1cec('0x6f')],_0x3256ba=new _0x1b0c02(_0x4a0ed4,_0x442355['map'](_0x1c2a84=>J(_0x1c2a84,this[_0x1cec('0x49')])));return this['editor'][_0x1cec('0xf9')][_0x1cec('0x33')](_0x3256ba);}['_saveMetaData'](_0x8a5fa9,_0x32cbd3,_0x574abd,_0x5cd23f){const _0x792124=new Map(_0x32cbd3),_0x4d3b1e=new Map(_0x40701a(_0x5cd23f)),_0x1805d5=new Map();for(const [_0x54b58b,_0x1947d0]of _0x574abd)_0x1805d5[_0x1cec('0x6b')](_0x54b58b,{'start':_0x1947d0[_0x1cec('0x61')][_0x1cec('0x5e')](),'end':_0x1947d0['end'][_0x1cec('0x5e')](),'rootName':_0x1947d0[_0x1cec('0x25')][_0x1cec('0xc5')]});this[_0x1cec('0x73')][_0x1cec('0x6b')](_0x8a5fa9,{'roots':_0x792124,'markers':_0x1805d5,'rootsAttributes':_0x4d3b1e});}[_0x1cec('0x86')](_0x2226e8){this[_0x1cec('0x73')][_0x1cec('0xc')](_0x2226e8);}[_0x1cec('0x24')](){this['_reset'](),this['_lastFrom']=-0x1,this[_0x1cec('0xf1')]=-0x1,this[_0x1cec('0x73')][_0x1cec('0x12')](),this[_0x1cec('0x97')](this[_0x1cec('0x51')]);}['_reset'](){this['_touched'][_0x1cec('0x12')](),this[_0x1cec('0x23')][_0x1cec('0x12')](),this[_0x1cec('0xe2')]['clear'](),this['_diffRoots']['clear'](),this[_0x1cec('0xcd')][_0x1cec('0x12')](),this[_0x1cec('0xb8')][_0x1cec('0x12')](),this[_0x1cec('0xbc')][_0x1cec('0x12')](),this['_idsRoots'][_0x1cec('0x12')](),this[_0x1cec('0x70')][_0x1cec('0x12')](),this[_0x1cec('0x7e')][_0x1cec('0x12')](),this[_0x1cec('0xe0')]=0x1,this[_0x1cec('0x8d')]=this[_0x1cec('0xe0')];}[_0x1cec('0x6d')](_0x38d2a2,_0x18211e=null){let _0x466783=null;_0x38d2a2['is'](_0x1cec('0xb'))||(_0x466783=new _0xb8f18c(_0x38d2a2[_0x1cec('0xe4')],{'vid_start':null===_0x18211e?this[_0x1cec('0xe0')]++:_0x18211e++}));const _0x248d8f=[];for(const _0x50f754 of _0x38d2a2['getChildren']())if(_0x50f754['is']('element')){_0x248d8f['push'](this[_0x1cec('0x6d')](_0x50f754,_0x18211e));const _0x1a8822=_0x248d8f[_0x248d8f[_0x1cec('0xc0')]-0x1];null!==_0x18211e&&(_0x18211e=_0x1a8822['is']('element',_0x1cec('0x57'))?_0x1a8822[_0x1cec('0xf4')](_0x1cec('0xfe'))+0x1:_0x1a8822[_0x1cec('0xf4')](_0x1cec('0x102'))+0x1);}else for(let _0x538212=0x0;_0x538212<_0x50f754[_0x1cec('0x78')];_0x538212++)_0x248d8f[_0x1cec('0x50')](new _0xb8f18c('$text',{'vid':null===_0x18211e?this[_0x1cec('0xe0')]++:_0x18211e++}));if(_0x38d2a2['is']('documentFragment')){const _0x2bf497=G(_0x38d2a2[_0x1cec('0xc5')]);return _0x2bf497['_insertChild'](0x0,_0x248d8f),_0x2bf497;}return _0x466783['_setAttribute'](_0x1cec('0x102'),null===_0x18211e?this[_0x1cec('0xe0')]++:_0x18211e++),_0x466783['_insertChild'](0x0,_0x248d8f),_0x466783;}['_calculateMetaData'](_0x242d83,_0x152212,_0x149745){this[_0x1cec('0xdf')]();const {roots:_0x233478,markers:_0x4d2d97,rootsAttributes:_0x2ab462}=this[_0x1cec('0x73')]['get'](_0x242d83);this[_0x1cec('0xb8')]=new Map(_0x233478),this[_0x1cec('0xbc')]=new Map(_0x40701a(_0x2ab462));for(const [_0x2e1b85,_0x34eed5]of this[_0x1cec('0xb8')])if(_0x1cec('0xf2')!==_0x2e1b85&&(this[_0x1cec('0xd7')]['set'](_0x2e1b85,q(_0x34eed5)),this['_diffRootsAttributes']=new Map(_0x40701a(_0x2ab462)),_0x149745)){const _0x2d8a39=this[_0x1cec('0xe0')];this[_0x1cec('0xa9')]['set'](_0x2e1b85,this[_0x1cec('0x6d')](_0x34eed5)),this[_0x1cec('0x70')][_0x1cec('0x6b')](_0x2e1b85,this[_0x1cec('0x6d')](_0x34eed5,_0x2d8a39));}this[_0x1cec('0x8d')]=this[_0x1cec('0xe0')],this[_0x1cec('0xd7')][_0x1cec('0x6b')](_0x1cec('0xf2'),q(this[_0x1cec('0xb8')][_0x1cec('0x35')](_0x1cec('0xf2')))),_0x149745&&this[_0x1cec('0xa9')][_0x1cec('0x6b')](_0x1cec('0xf2'),this[_0x1cec('0x6d')](this[_0x1cec('0xb8')][_0x1cec('0x35')](_0x1cec('0xf2'))));for(const [_0x2a665e,_0x3d8264]of _0x4d2d97){const _0x3f1ba0=this['_baseRoots'][_0x1cec('0x35')](_0x3d8264['rootName']),_0x13d1d5=this[_0x1cec('0xd7')][_0x1cec('0x35')](_0x3d8264[_0x1cec('0xc5')]),_0x1d02e8=new _0x17c83a(this[_0x1cec('0xd8')](_0x3d8264[_0x1cec('0x61')],_0x3f1ba0),this[_0x1cec('0xd8')](_0x3d8264[_0x1cec('0xe8')],_0x3f1ba0)),_0x517abf=this['_fixRange'](_0x1d02e8,_0x13d1d5);_0x3f1ba0['markers']['set'](_0x2a665e,_0x1d02e8),this['_markers'][_0x1cec('0x6b')](_0x2a665e,_0x517abf);}this['_applyOperations'](_0x242d83,_0x152212,_0x149745);}['_applyOperations'](_0x3f7f3f,_0xe5cf90,_0x2df1dd){for(const _0x5bf0e8 of this[_0x1cec('0x51')][_0x1cec('0xe5')](_0x3f7f3f,_0xe5cf90))this[_0x1cec('0xb2')](_0x5bf0e8,_0x2df1dd);for(const _0x3c5efc of this[_0x1cec('0xd7')]['values']())_0x3c5efc['markers']['clear']();for(const [_0x3cafc5,_0x18622e]of this[_0x1cec('0x7e')]){this[_0x1cec('0xd7')][_0x1cec('0x35')](_0x18622e['root'][_0x1cec('0xc5')])[_0x1cec('0x93')]['set'](_0x3cafc5,_0x18622e['clone']());}const _0x40bf14=new Map(),_0x253c2d=new Map();for(const [_0x2f1597,_0x57ad4a]of this[_0x1cec('0xd7')])_0x40bf14['set'](_0x2f1597,q(_0x57ad4a)),_0x253c2d[_0x1cec('0x6b')](_0x2f1597,this[_0x1cec('0xcd')][_0x1cec('0x35')](_0x2f1597));this[_0x1cec('0x4a')](_0xe5cf90,_0x40bf14,this[_0x1cec('0x7e')],_0x253c2d);}[_0x1cec('0x7d')](_0x519d93){const _0x2464a6=Array['from'](this[_0x1cec('0x73')][_0x1cec('0x9b')]());_0x2464a6[_0x1cec('0x5a')]((_0x5c64d8,_0x4ae5f0)=>_0x5c64d8-_0x4ae5f0),_0x2464a6['reverse']();for(const _0x26466a of _0x2464a6)if(_0x26466a<_0x519d93)return _0x26466a;return Number[_0x1cec('0x10')];}[_0x1cec('0x3b')](_0x16e2c3,_0x4b93b6){const _0x4bd5fb=Array[_0x1cec('0xc1')](_0x4b93b6[_0x1cec('0x93')])[_0x1cec('0x63')](([_0x248d78,_0x411368])=>[_0x248d78,this['_fixRange'](_0x411368,_0x16e2c3)]);_0x16e2c3['markers']=new Map(_0x4bd5fb);}[_0x1cec('0xd4')](_0x170249){for(const _0x13d00c of this[_0x1cec('0x7e')][_0x1cec('0xdc')]()){const _0x43a400=_0x13d00c[_0x1cec('0x47')](_0x170249),_0x58055e=_0x17c83a[_0x1cec('0x32')](_0x43a400);_0x13d00c[_0x1cec('0x61')]=_0x58055e[_0x1cec('0x61')],_0x13d00c[_0x1cec('0xe8')]=_0x58055e[_0x1cec('0xe8')];}}[_0x1cec('0xb2')](_0x4e0867,_0x371e6a){if('addRoot'==_0x4e0867['type']||_0x1cec('0x2c')==_0x4e0867[_0x1cec('0x9a')])return void this[_0x1cec('0x56')](_0x4e0867,_0x371e6a);if('insert'==_0x4e0867[_0x1cec('0x9a')]){const _0x3d04aa=_0x4e0867['position'][_0x1cec('0x25')]['rootName'];this['_diffRoots'][_0x1cec('0x13')](_0x3d04aa)||(this['_diffRoots']['set'](_0x3d04aa,G(_0x3d04aa,!0x0)),this[_0x1cec('0xcd')][_0x1cec('0x6b')](_0x3d04aa,{}),_0x371e6a&&this[_0x1cec('0xa9')][_0x1cec('0x6b')](_0x3d04aa,G(_0x3d04aa,!0x0)));}else{if(_0x1cec('0x2')==_0x4e0867[_0x1cec('0x9a')]||_0x1cec('0xc4')==_0x4e0867[_0x1cec('0x9a')]||_0x1cec('0x96')==_0x4e0867[_0x1cec('0x9a')])return void this['_handleRootAttributeOperation'](_0x4e0867);}const _0x5a84cd=this[_0x1cec('0x1c')](_0x4e0867,this['_diffRoots']);if(_0x1cec('0x77')!==_0x4e0867[_0x1cec('0x9a')]&&(_0x5a84cd['_execute'](),this[_0x1cec('0xd4')](_0x5a84cd)),_0x371e6a)switch(_0x5a84cd['type']){case _0x1cec('0x66'):this[_0x1cec('0xb7')](_0x4e0867);break;case _0x1cec('0x9'):case _0x1cec('0xf'):case _0x1cec('0x7a'):this[_0x1cec('0xc8')](_0x4e0867);break;case'merge':this['_handleMergeOperation'](_0x4e0867);break;case _0x1cec('0xcb'):this[_0x1cec('0x20')](_0x4e0867);break;case _0x1cec('0x77'):this['_handleMarkerOperation'](_0x4e0867);}}[_0x1cec('0x1c')](_0x1427b9,_0x297310){const _0x885035=_0x1427b9[_0x1cec('0x5e')]();return _0x885035[_0x1cec('0x8b')]=_0x1427b9[_0x1cec('0x8b')],this[_0x1cec('0x7f')](_0x885035,_0x297310),_0x885035;}[_0x1cec('0x8')](_0x5c1c50){return _0x5c1c50[_0x1cec('0x63')](_0x267e7e=>{const _0x976302=this[_0x1cec('0xf5')](_0x267e7e);return Number(_0x267e7e[_0x1cec('0xe')][_0x1cec('0xf4')](_0x976302));});}[_0x1cec('0x95')](_0x3b241d,_0x58fa1b){if(_0x3b241d['is']('element',_0x1cec('0x57')))_0x58fa1b[_0x1cec('0x50')]({'item':_0x3b241d,'type':_0x1cec('0xb0')});else{_0x3b241d['is'](_0x1cec('0x4f'))&&_0x58fa1b[_0x1cec('0x50')]({'item':_0x3b241d,'type':'elementStart'});for(const _0x1c9635 of _0x3b241d[_0x1cec('0x5d')]())this['_generateTape'](_0x1c9635,_0x58fa1b);_0x3b241d['is']('element')&&_0x58fa1b[_0x1cec('0x50')]({'item':_0x3b241d,'type':_0x1cec('0x6c')});}return _0x58fa1b;}[_0x1cec('0x82')](){const _0x53c601=new Map(this[_0x1cec('0x92')]),_0x32c55=new Map(_0x53c601),_0x4d72fe=new Map(),_0x27172a={'insertions':{},'deletions':{}},_0x2b20bf={'insertions':{},'deletions':{}},_0x441013=new Map(),_0x58cae9=new Set([...this[_0x1cec('0xb8')][_0x1cec('0x9b')](),...this[_0x1cec('0xd7')]['keys']()]);_0x58cae9['delete'](_0x1cec('0xf2'));for(const _0x587bd4 of _0x58cae9){const _0x4613d4=this[_0x1cec('0xd7')]['get'](_0x587bd4)||G(_0x587bd4,!0x1),_0x120173=this[_0x1cec('0xb8')]['get'](_0x587bd4)||G(_0x587bd4,!0x1);_0x4613d4[_0x1cec('0x103')]()||_0x120173['isAttached']()?(_0x27172a[_0x1cec('0xdd')][_0x587bd4]=q(_0x4613d4),_0x27172a[_0x1cec('0xb5')][_0x587bd4]=q(_0x120173),this['_copyMarkers'](_0x27172a[_0x1cec('0xb5')][_0x587bd4],_0x120173),this[_0x1cec('0x3b')](_0x27172a[_0x1cec('0xdd')][_0x587bd4],_0x4613d4),_0x2b20bf[_0x1cec('0xdd')][_0x587bd4]=this[_0x1cec('0x95')](this[_0x1cec('0xa9')]['get'](_0x587bd4),[]),_0x2b20bf[_0x1cec('0xb5')][_0x587bd4]=this['_generateTape'](this[_0x1cec('0x70')]['get'](_0x587bd4)||G(_0x587bd4,!0x1),[])):_0x58cae9[_0x1cec('0xc')](_0x587bd4);}for(const _0x5e827d of _0x58cae9){const _0x3517c8=_0x2b20bf[_0x1cec('0xdd')][_0x5e827d];for(const _0x1c1d9d of _0x3517c8){const _0x2e7d12=this[_0x1cec('0xf5')](_0x1c1d9d),_0x4ebb84=_0x1c1d9d[_0x1cec('0xe')][_0x1cec('0xf4')](_0x2e7d12);_0x32c55[_0x1cec('0xc')](_0x4ebb84),_0x4ebb84>=this['_startingRevisionId']&&_0x4d72fe[_0x1cec('0x6b')](_0x4ebb84,_0x53c601[_0x1cec('0x35')](_0x4ebb84));}}for(const _0x57d25d of _0x58cae9){const _0x3e8c46=_0x2b20bf[_0x1cec('0xdd')][_0x57d25d],_0x3d182b=this[_0x1cec('0x8')](_0x2b20bf[_0x1cec('0xb5')][_0x57d25d]);let _0x40eb5e=0x0;for(const _0x1ac177 of _0x3e8c46){const _0x440e2f=this[_0x1cec('0xf5')](_0x1ac177),_0x3e380f=_0x1ac177[_0x1cec('0xe')][_0x1cec('0xf4')](_0x440e2f);if(!_0x4d72fe[_0x1cec('0x13')](_0x3e380f)&&!_0x441013[_0x1cec('0x13')](_0x3e380f)){if(_0x32c55[_0x1cec('0x13')](_0x3e380f))_0x40eb5e++;else{if(_0x3e380f!=_0x3d182b[_0x40eb5e]){const _0x1c9652=_0x53c601['get'](_0x3e380f)||_0x53c601['get'](_0x3d182b[_0x40eb5e]);for(;_0x3e380f!=_0x3d182b[_0x40eb5e];)_0x32c55['has'](_0x3d182b[_0x40eb5e])||(_0x441013['set'](_0x3d182b[_0x40eb5e],_0x1c9652),_0x53c601['set'](_0x3d182b[_0x40eb5e],_0x1c9652)),_0x40eb5e++;}_0x40eb5e++;}}}}for(const _0x36465e of _0x58cae9){const _0x2cb739=_0x2b20bf[_0x1cec('0xdd')][_0x36465e];for(const _0x2f213b of _0x2cb739){const _0x46f146=this['_getVidAttributeName'](_0x2f213b),_0x50d20e=_0x2f213b[_0x1cec('0xe')][_0x1cec('0xf4')](_0x46f146);if(_0x441013[_0x1cec('0x13')](_0x50d20e)){const _0x12dfac=_0x441013[_0x1cec('0x35')](_0x50d20e);_0x32c55[_0x1cec('0x13')](_0x50d20e)||_0x32c55[_0x1cec('0x6b')](_0x50d20e,{..._0x12dfac}),_0x4d72fe[_0x1cec('0x6b')](_0x50d20e,{..._0x12dfac});}}}for(const _0xbb2c2c of _0x32c55[_0x1cec('0x9b')]())_0xbb2c2c>=this[_0x1cec('0x8d')]&&_0x32c55[_0x1cec('0xc')](_0xbb2c2c);const _0x485d42=new Map();for(const _0x111211 of _0x58cae9){let _0x1058cf=_0x2b20bf['insertions'][_0x111211];for(const _0x7e0ee of _0x1058cf)if(_0x7e0ee[_0x1cec('0xe')]['is'](_0x1cec('0x4f'),'tableCell')){const _0x385dd6=this['_getVidAttributeName'](_0x7e0ee),_0x3bffdc=_0x7e0ee[_0x1cec('0xe')][_0x1cec('0xf4')](_0x385dd6);if(_0x4d72fe['has'](_0x3bffdc)){const _0x3a0e20=_0x7e0ee[_0x1cec('0xe')][_0x1cec('0x6')][_0x1cec('0x6')]['getAttribute'](_0x1cec('0x18')),_0x20812d=_0x485d42['get'](_0x3a0e20)||new Set();_0x20812d[_0x1cec('0xea')](_0x4d72fe[_0x1cec('0x35')](_0x3bffdc)[_0x1cec('0x1a')]),_0x485d42[_0x1cec('0x6b')](_0x3a0e20,_0x20812d);}}_0x1058cf=_0x2b20bf[_0x1cec('0xb5')][_0x111211];for(const _0x47fddd of _0x1058cf)if(_0x47fddd['item']['is'](_0x1cec('0x4f'),'tableCell')){const _0x53e6e4=this[_0x1cec('0xf5')](_0x47fddd),_0x5c70b2=_0x47fddd[_0x1cec('0xe')][_0x1cec('0xf4')](_0x53e6e4);if(_0x32c55['has'](_0x5c70b2)){const _0x33c524=_0x47fddd[_0x1cec('0xe')][_0x1cec('0x6')]['parent']['getAttribute'](_0x1cec('0x18')),_0x3edef1=_0x485d42[_0x1cec('0x35')](_0x33c524)||new Set();_0x3edef1[_0x1cec('0xea')](_0x32c55[_0x1cec('0x35')](_0x5c70b2)[_0x1cec('0x1a')]),_0x485d42[_0x1cec('0x6b')](_0x33c524,_0x3edef1);}}for(const _0x4b540d of _0x485d42[_0x1cec('0x9b')]())(_0x4d72fe[_0x1cec('0x13')](_0x4b540d)||_0x32c55[_0x1cec('0x13')](_0x4b540d))&&_0x485d42[_0x1cec('0xc')](_0x4b540d);}for(const _0x48269e of _0x58cae9){const _0x4205eb=_0x2b20bf['insertions'][_0x48269e];let _0x234937=null,_0x4cbc00=null;for(const _0x1cc217 of _0x4205eb){const _0x287512=this['_getVidAttributeName'](_0x1cc217),_0x4aa167=_0x1cc217[_0x1cec('0xe')][_0x1cec('0xf4')](_0x287512),_0x12d1de=_0x485d42[_0x1cec('0x35')](_0x4aa167);_0x12d1de&&_0x1cec('0xd1')==_0x1cc217[_0x1cec('0x9a')]&&(_0x234937=Array[_0x1cec('0xc1')](_0x12d1de)[0x0],_0x4cbc00=_0x1cc217['item'][_0x1cec('0xf4')]('vid_end')),_0x234937&&(_0x32c55[_0x1cec('0x6b')](_0x4aa167,{'userId':_0x234937}),_0x4d72fe[_0x1cec('0x6b')](_0x4aa167,{'userId':_0x234937})),_0x4aa167==_0x4cbc00&&(_0x234937=null,_0x4cbc00=null);}}const _0x33c5f0={},_0x4d0efa=new Set();for(const _0x5bc56b of _0x58cae9){const _0xd77d61=_0x27172a[_0x1cec('0xb5')][_0x5bc56b],_0x373b88=_0x27172a[_0x1cec('0xdd')][_0x5bc56b];for(const {userId:_0x3931d0}of this['_touchedMarkers'][_0x1cec('0xdc')]())null!==_0x3931d0&&_0x4d0efa[_0x1cec('0xea')](_0x3931d0);for(const {userId:_0x280c55}of this[_0x1cec('0xe2')][_0x1cec('0xdc')]())null!==_0x280c55&&_0x4d0efa[_0x1cec('0xea')](_0x280c55);this[_0x1cec('0x1')](_0x373b88,_0x2b20bf[_0x1cec('0xdd')][_0x5bc56b],_0x4d72fe,'insertion',_0x4d0efa),this[_0x1cec('0x1')](_0xd77d61,_0x2b20bf[_0x1cec('0xb5')][_0x5bc56b],_0x32c55,'deletion',_0x4d0efa),_0x33c5f0[_0x5bc56b]={'insertions':this[_0x1cec('0x83')](_0x373b88),'deletions':this[_0x1cec('0x83')](_0xd77d61),'attachChange':this['_touchedRoots'][_0x1cec('0x35')](_0x5bc56b)||null,'attributesBefore':_0x40701a(this['_baseRootsAttributes'][_0x1cec('0x35')](_0x5bc56b))||{},'attributesAfter':_0x40701a(this[_0x1cec('0xcd')][_0x1cec('0x35')](_0x5bc56b))};}return{'diffData':_0x33c5f0,'authorsIds':Array['from'](_0x4d0efa)};}[_0x1cec('0x89')](_0x27cde0){for(const [,_0x133f92]of _0x27cde0[_0x1cec('0x93')]){const _0x59af02=_0x133f92['start'][_0x1cec('0x31')]()[_0x1cec('0x2f')](_0x57e828=>_0x1cec('0xc9')==_0x57e828[_0x1cec('0xe4')]);for(const _0x1b5de0 of _0x59af02)0x1==_0x1b5de0[_0x1cec('0x41')]&&_0x1b5de0[_0x1cec('0x4b')](0x0)['is'](_0x1cec('0x4f'),_0x1cec('0xee'))&&_0x1b5de0[_0x1cec('0x4b')](0x0)['_setAttribute'](_0x1cec('0x39'),!0x0);}}[_0x1cec('0x83')](_0x36c65c){this[_0x1cec('0x89')](_0x36c65c);const _0x246e79=this['editor'][_0x1cec('0xf9')]['toView'](_0x36c65c,{}),_0x519a3e=Array[_0x1cec('0xc1')](_0x246e79[_0x1cec('0x5d')]())[_0x1cec('0x63')](_0x455282=>this['_getViewJson'](_0x455282));return JSON[_0x1cec('0x55')](_0x519a3e);}[_0x1cec('0x7c')](_0x2dd5bd){if(_0x2dd5bd['is'](_0x1cec('0x57')))return _0x2dd5bd[_0x1cec('0xf9')];{const _0x1459a1=_0x2dd5bd;return{'type':Object[_0x1cec('0x9b')](B)[_0x1cec('0xa6')](_0x170430=>_0x2dd5bd instanceof B[_0x170430]),'name':_0x1459a1['name'],'attributes':Array['from'](_0x1459a1[_0x1cec('0xba')]()),'children':Array[_0x1cec('0xc1')](_0x1459a1[_0x1cec('0x5d')]())[_0x1cec('0x63')](_0xcded42=>this[_0x1cec('0x7c')](_0xcded42))};}}[_0x1cec('0x1')](_0x3d291c,_0x1276e9,_0x512d51,_0x253258,_0x1da9a8){let _0x8ff9f4=null,_0xf002ca=null,_0x13531f=0x0;const _0x3866b3=this['editor'][_0x1cec('0x59')];for(let _0x56fede=0x0;_0x56fede<_0x1276e9['length'];_0x56fede++){const _0x51697b=this[_0x1cec('0xf5')](_0x1276e9[_0x56fede]),_0x546234=_0x1276e9[_0x56fede][_0x1cec('0xe')][_0x1cec('0xf4')](_0x51697b),_0x4786ff=_0x512d51['get'](_0x546234),_0x41fd83=_0x56fede==_0x1276e9[_0x1cec('0xc0')]-0x1;(!_0x8ff9f4&&_0x4786ff&&(_0x8ff9f4=_0x4786ff,_0xf002ca=_0x1276e9[_0x56fede]),_0x8ff9f4&&(!_0x4786ff||_0x4786ff['userId']!=_0x8ff9f4['userId']))&&(_0x544e3c(_0x4786ff,L(_0xf002ca,_0x3d291c,_0x3866b3),L(_0x1276e9[_0x56fede],_0x3d291c,_0x3866b3)),_0x8ff9f4=_0x4786ff||null,_0xf002ca=_0x4786ff?_0x1276e9[_0x56fede]:null),_0x8ff9f4&&_0x41fd83&&_0x544e3c(_0x4786ff,L(_0xf002ca,_0x3d291c,_0x3866b3),W(_0x1276e9[_0x56fede],_0x3d291c,_0x3866b3));}function _0x544e3c(_0x52ded3,_0xc8d0c3,_0x517cc5){const _0x5f4b9f=_0x8ff9f4[_0x1cec('0x1a')],_0x2f3e41=_0x1cec('0xe7')+_0x253258+':'+_0x5f4b9f+':'+_0x13531f++,_0x267bed=_0x3866b3[_0x1cec('0x75')](_0xc8d0c3,_0x517cc5);_0x3d291c['markers'][_0x1cec('0x6b')](_0x2f3e41,_0x267bed),null!==_0x5f4b9f&&_0x1da9a8[_0x1cec('0xea')](_0x5f4b9f);}}[_0x1cec('0xf5')](_0x2d516d){switch(_0x2d516d[_0x1cec('0x9a')]){case _0x1cec('0xd1'):return'vid_start';case _0x1cec('0x6c'):return _0x1cec('0x102');default:return'vid';}}['_fixOperation'](_0x2f08e1,_0x2140b6){_0x2f08e1['baseVersion']=null;for(const _0x9693fb in _0x2f08e1){const _0x114fca=_0x2f08e1[_0x9693fb];if(_0x114fca instanceof _0x1be7ef){const _0x2f9dc1=_0x2140b6[_0x1cec('0x35')](_0x114fca['root'][_0x1cec('0xc5')]);_0x2f08e1[_0x9693fb]=this[_0x1cec('0xd8')](_0x114fca,_0x2f9dc1);}if(_0x114fca instanceof _0x17c83a){const _0x17c715=_0x2140b6[_0x1cec('0x35')](_0x114fca[_0x1cec('0x25')]['rootName']);_0x2f08e1[_0x9693fb]=this['_fixRange'](_0x114fca,_0x17c715);}_0x1cec('0x25')===_0x9693fb&&(_0x2f08e1[_0x1cec('0x25')]=_0x2140b6['get'](_0x2f08e1[_0x1cec('0x25')][_0x1cec('0xc5')]));}}[_0x1cec('0x60')](_0x3e33f1,_0x4beaa8){return this[_0x1cec('0x49')][_0x1cec('0x59')][_0x1cec('0x75')](this[_0x1cec('0xd8')](_0x3e33f1['start'],_0x4beaa8),this[_0x1cec('0xd8')](_0x3e33f1['end'],_0x4beaa8));}['_fixPosition'](_0x60ed67,_0x2652e9){return this['editor'][_0x1cec('0x59')][_0x1cec('0x105')](_0x2652e9,_0x60ed67[_0x1cec('0xd5')],_0x60ed67[_0x1cec('0xe1')]);}['_handleInsertOperation'](_0x53883a){const _0xad909f=this[_0x1cec('0xa9')][_0x1cec('0x35')](_0x53883a[_0x1cec('0xbd')][_0x1cec('0x25')][_0x1cec('0xc5')]),_0x3798b8=this[_0x1cec('0xd8')](_0x53883a[_0x1cec('0xbd')],_0xad909f),_0x4a948b=null===_0x53883a[_0x1cec('0x8b')]?null:_0x53883a[_0x1cec('0x8b')]||this[_0x1cec('0x49')][_0x1cec('0x81')][_0x1cec('0x35')](_0x1cec('0x36'))['me']['id'],_0x140ea1=_0x3798b8[_0x1cec('0x6')],_0x37b2b2=this['_revisionId'],_0x2abf1d=[];for(const _0xd20d43 of _0x53883a['nodes'])if(_0xd20d43['is'](_0x1cec('0x4f')))_0x2abf1d[_0x1cec('0x50')](this[_0x1cec('0x6d')](_0xd20d43));else for(let _0x53d40f=0x0;_0x53d40f<_0xd20d43[_0x1cec('0x78')];_0x53d40f++)_0x2abf1d[_0x1cec('0x50')](new _0xb8f18c(_0x1cec('0x57'),{'vid':this[_0x1cec('0xe0')]++}));const _0x15f22a=this[_0x1cec('0xe0')];for(let _0x5aa5fd=_0x37b2b2;_0x5aa5fd<_0x15f22a;_0x5aa5fd++)this['_touched'][_0x1cec('0x6b')](_0x5aa5fd,{'userId':_0x4a948b});_0x140ea1[_0x1cec('0xcc')](_0x3798b8['offset'],_0x2abf1d);}[_0x1cec('0xc8')](_0x1206b2){(_0x1206b2=this['_cloneOperation'](_0x1206b2,this['_idsRoots']))[_0x1cec('0x1f')]();const _0xeb2d15=null===_0x1206b2[_0x1cec('0x8b')]?null:_0x1206b2[_0x1cec('0x8b')]||this[_0x1cec('0x49')][_0x1cec('0x81')][_0x1cec('0x35')](_0x1cec('0x36'))['me']['id'],_0x4eab16=_0x1206b2['getMovedRangeStart'](),_0x5818a2=_0x4eab16[_0x1cec('0x6')],_0x1fc893=_0x4eab16[_0x1cec('0x9c')];!function _0x1845cd(_0x2d581f,_0x5212ee,_0x1ed808,_0x631828){for(let _0x1a7be2=_0x1ed808;_0x1a7be2<_0x631828;_0x1a7be2++){const _0xa0efad=_0x5212ee[_0x1cec('0x4b')](_0x1a7be2);_0xa0efad['is'](_0x1cec('0x4f'),_0x1cec('0x57'))?_0x2d581f[_0x1cec('0x6b')](_0xa0efad['getAttribute'](_0x1cec('0xfe')),{'userId':_0xeb2d15}):(_0x2d581f['set'](_0xa0efad[_0x1cec('0xf4')](_0x1cec('0x18')),{'userId':_0xeb2d15}),_0x1845cd(_0x2d581f,_0xa0efad,0x0,_0xa0efad[_0x1cec('0x41')]),_0x2d581f[_0x1cec('0x6b')](_0xa0efad[_0x1cec('0xf4')](_0x1cec('0x102')),{'userId':_0xeb2d15}));}}(this[_0x1cec('0x92')],_0x5818a2,_0x1fc893,_0x1fc893+_0x1206b2[_0x1cec('0x64')]);}[_0x1cec('0x68')](_0xf2c1e2){const _0x32712a=null===(_0xf2c1e2=this['_cloneOperation'](_0xf2c1e2,this['_idsRoots']))[_0x1cec('0x8b')]?null:_0xf2c1e2[_0x1cec('0x8b')]||this[_0x1cec('0x49')][_0x1cec('0x81')]['get'](_0x1cec('0x36'))['me']['id'],_0x9574ee=_0xf2c1e2[_0x1cec('0x1d')]['parent'],_0x468fb3=_0xf2c1e2[_0x1cec('0x5f')][_0x1cec('0x6')],_0xa87b4a=_0x9574ee[_0x1cec('0xf4')]('vid_end'),_0x4363ce=_0x468fb3[_0x1cec('0xf4')]('vid_start');_0x9574ee[_0x1cec('0xab')]('vid_end',_0x468fb3[_0x1cec('0xf4')](_0x1cec('0x102'))),_0x468fb3[_0x1cec('0xab')](_0x1cec('0x102'),_0xa87b4a),this[_0x1cec('0x92')][_0x1cec('0x6b')](_0x4363ce,{'userId':_0x32712a}),this[_0x1cec('0x92')][_0x1cec('0x6b')](_0xa87b4a,{'userId':_0x32712a}),_0xf2c1e2[_0x1cec('0x1f')]();}[_0x1cec('0x20')](_0x302aa0){const _0x34d44b=null===(_0x302aa0=this[_0x1cec('0x1c')](_0x302aa0,this['_idsRoots']))['_authorId']?null:_0x302aa0[_0x1cec('0x8b')]||this['editor']['plugins']['get'](_0x1cec('0x36'))['me']['id'],_0x50a268=_0x302aa0[_0x1cec('0x11')],_0x2641d5=_0x302aa0[_0x1cec('0xb6')][_0x1cec('0x6')];_0x302aa0['_execute']();const _0x144b80=_0x2641d5[_0x1cec('0xf4')](_0x1cec('0x102')),_0x4ec098=_0x302aa0[_0x1cec('0x85')][_0x1cec('0xb1')];if(_0x50a268){const _0x192d8c=_0x4ec098[_0x1cec('0xf4')](_0x1cec('0x102')),_0x34f270=_0x2641d5[_0x1cec('0xf4')](_0x1cec('0x102'));_0x2641d5[_0x1cec('0xab')](_0x1cec('0x102'),_0x192d8c),_0x4ec098['_setAttribute'](_0x1cec('0x102'),_0x34f270),this[_0x1cec('0x92')]['set'](_0x2641d5[_0x1cec('0xf4')](_0x1cec('0x102')),{'userId':_0x34d44b}),this['_touched'][_0x1cec('0x6b')](_0x4ec098[_0x1cec('0xf4')](_0x1cec('0x18')),{'userId':_0x34d44b});}else{const _0x1f02a8=this[_0x1cec('0xe0')]++,_0x1e70e6=this[_0x1cec('0xe0')]++;_0x2641d5[_0x1cec('0xab')](_0x1cec('0x102'),_0x1f02a8),_0x4ec098[_0x1cec('0xab')]('vid_start',_0x1e70e6),_0x4ec098[_0x1cec('0xab')](_0x1cec('0x102'),_0x144b80),this['_touched'][_0x1cec('0x6b')](_0x1f02a8,{'userId':_0x34d44b}),this['_touched'][_0x1cec('0x6b')](_0x1e70e6,{'userId':_0x34d44b});}}[_0x1cec('0x87')](_0x56d751){if(!_0x56d751['affectsData'])return;const _0x5a0cde=(_0x56d751=this['_cloneOperation'](_0x56d751,this['_diffRoots']))[_0x1cec('0x2b')]?_0x56d751[_0x1cec('0x2b')][_0x1cec('0x25')]:null,_0x480c84=_0x56d751[_0x1cec('0x71')]?_0x56d751[_0x1cec('0x71')]['root']:null;_0x5a0cde&&this['_markers']['delete'](_0x56d751[_0x1cec('0xe4')]),_0x480c84&&this[_0x1cec('0x7e')]['set'](_0x56d751[_0x1cec('0xe4')],_0x56d751['newRange']['clone']());const _0x85f06f=null===_0x56d751[_0x1cec('0x8b')]?null:_0x56d751[_0x1cec('0x8b')]||this[_0x1cec('0x49')][_0x1cec('0x81')][_0x1cec('0x35')](_0x1cec('0x36'))['me']['id'],_0x4b402e=_0x56d751[_0x1cec('0xe4')];if(!this[_0x1cec('0x23')][_0x1cec('0x13')](_0x4b402e))return void this['_touchedMarkers'][_0x1cec('0x6b')](_0x4b402e,{'range':_0x56d751[_0x1cec('0x2b')],'userId':_0x85f06f});const _0x446980=this['_touchedMarkers'][_0x1cec('0x35')](_0x4b402e),_0x4471d3=_0x446980[_0x1cec('0x4d')],_0x114a67=_0x56d751[_0x1cec('0x71')];null==_0x4471d3&&null==_0x114a67||_0x4471d3&&_0x114a67&&_0x4471d3['isEqual'](_0x114a67)?this[_0x1cec('0x23')][_0x1cec('0xc')](_0x56d751['name']):_0x446980[_0x1cec('0x1a')]=_0x85f06f;}['_handleRootOperation'](_0x51bc56,_0x596e88){this[_0x1cec('0xd7')][_0x1cec('0x13')](_0x51bc56[_0x1cec('0xc5')])?this[_0x1cec('0xd7')][_0x1cec('0x35')](_0x51bc56[_0x1cec('0xc5')])[_0x1cec('0xca')]=_0x51bc56[_0x1cec('0x8a')]:(this[_0x1cec('0xd7')]['set'](_0x51bc56['rootName'],G(_0x51bc56[_0x1cec('0xc5')],!0x0)),this[_0x1cec('0xcd')][_0x1cec('0x6b')](_0x51bc56[_0x1cec('0xc5')],{}),_0x596e88&&this[_0x1cec('0xa9')][_0x1cec('0x6b')](_0x51bc56[_0x1cec('0xc5')],G(_0x51bc56[_0x1cec('0xc5')],!0x0)));const _0x15402a=null===_0x51bc56[_0x1cec('0x8b')]?null:_0x51bc56[_0x1cec('0x8b')]||this[_0x1cec('0x49')][_0x1cec('0x81')][_0x1cec('0x35')]('Users')['me']['id'],_0x2cc521=this[_0x1cec('0xe2')]['get'](_0x51bc56[_0x1cec('0xc5')]);_0x2cc521&&_0x2cc521[_0x1cec('0x1a')]===_0x15402a?this[_0x1cec('0xe2')][_0x1cec('0xc')](_0x51bc56['rootName']):this['_touchedRoots']['set'](_0x51bc56['rootName'],{'userId':_0x15402a,'isAttached':_0x51bc56[_0x1cec('0x8a')]});}['_handleRootAttributeOperation'](_0x24fdff){const _0x1a722b=this[_0x1cec('0xcd')][_0x1cec('0x35')](_0x24fdff[_0x1cec('0x25')][_0x1cec('0xc5')]);null===_0x24fdff['newValue']?delete _0x1a722b[_0x24fdff[_0x1cec('0xda')]]:_0x1a722b[_0x24fdff['key']]=_0x24fdff[_0x1cec('0x79')];}}function q(_0x2abd55){const _0x58d3c2=G(_0x2abd55[_0x1cec('0xc5')],_0x2abd55[_0x1cec('0x103')]());for(const _0x1a8d3e of _0x2abd55[_0x1cec('0x5d')]()){const _0x4d01f5=_0x1a8d3e[_0x1cec('0xe3')](!0x0);_0x58d3c2[_0x1cec('0x44')](_0x4d01f5);}return _0x58d3c2;}function G(_0x1231e4,_0xa3ddd7=!0x0){const _0x22038c=new _0x5dba25();return _0x22038c[_0x1cec('0xc5')]=_0x1231e4,_0x22038c['_isAttached']=_0xa3ddd7,_0x22038c[_0x1cec('0x103')]=()=>_0x22038c[_0x1cec('0xca')],_0x22038c;}function L(_0x13aedb,_0x3f4230,_0x421228){const _0x323738='elementEnd'==_0x13aedb[_0x1cec('0x9a')]?_0x421228['createPositionAt'](_0x13aedb[_0x1cec('0xe')],_0x1cec('0xe8')):_0x421228[_0x1cec('0x104')](_0x13aedb['item']);return _0x421228['createPositionFromPath'](_0x3f4230,_0x323738[_0x1cec('0xd5')],_0x323738[_0x1cec('0xe1')]);}function W(_0x3574e7,_0x1c1c18,_0x1ee5ca){const _0x230cc9=_0x1cec('0xd1')==_0x3574e7[_0x1cec('0x9a')]?_0x1ee5ca[_0x1cec('0x72')](_0x3574e7[_0x1cec('0xe')],0x0):_0x1ee5ca['createPositionAfter'](_0x3574e7['item']);return _0x1ee5ca[_0x1cec('0x105')](_0x1c1c18,_0x230cc9[_0x1cec('0xd5')],_0x230cc9['stickiness']);}
|
|
23
|
+
const _0x33ad=['vid_end','_handleMoveOperation','init','editor','has','element','get','children','_saveMetaData','item','remove','revisionHistory.resumeUnsavedRevision','_initialRevisionId','getUser','getMovedRangeStart','_clone','adapter','_baseRootsAttributes','_isInit','getAttribute','_handleMarkerOperation','affectsData','document','_loadState','conversion','define','config','_handleRootAttributeOperation','insertionPosition','addRoot','end','markerToData','revision','userId','hasContent','isEqual','_baseRoots','splitPosition','_setAttribute','createRange','getRoot','_fixRange','version','_lastTo','getRevisions','createPositionAfter','source','toModel','keys','root','_handleRootOperation','markers','fromVersion','delete','howMany','for','size','NEGATIVE_INFINITY','previousPosition','_makeIdsRoot','_revisionId','deletions','_handleInsertOperation','newValue','_calculateMetaData','buildRevisionData','_generateTape','_findInsertionIndex','_savedMetaData','ready','shift','insertion','_markChanges','_diffRoots','_removeRevisionMarkers','offsetSize','vid','_fixPosition','_setConversion','pluginName','childCount','saveRevision','currentRevision','insert','_handleMergeOperation','addRevisionData','Empty\x20document','_loadRevisionData','creatorId','editor-initial-data-replaced-with-revision-data','collaboration.channelId','_revisionDataBuilder','changeRootAttribute','filter','authorsIds','_operations','_getViewJson','getIndex','_createFromRanges','_touched','_makeModelFromViewString','_insertChild','documentFragment','_diffRootsAttributes','_authorId','offset','startsWith','start','string','resolve','creator','_bufferedUpdates','plugins','oldRange','_isPendingUpdate','addRootAttribute','revision-start','createdAt','getLatestVersion','_startingRevisionId','getRevisionRootsAttributes','editing','revision:','dataToMarker','newRange','_prepareViewToSave','trim','text','_transformMarkers','getTime','isReady','RevisionTracker','Users','some','set','max','nodes','parse','isAdd','_markers','_applyOperations','authors','name','values','stickiness','initialData','rootName','range','history','tableCell','processor','_baseIdsRoots','reInit','from','_execute','length','initial','_loadedStateData','createPositionAt','getChildren','useFillerType','_cloneOperation','merge','targetPosition','slice','key','add','attributesAfter','getCurrentRevisionId','parent','_replaceEditorDataWithRevisionData','stringify','toVersion','locale','_removePendingAction','toView','repository','view','_isAttached','clear','isAttached','fromEntries','find','path','deletion','createPositionFromPath','_update','$graveyard','_fixOperation','bind','_processRootBeforeSave','model','_getBaseVids','isEnabled','_reset','_getState','attributes','clone','_handleSplitOperation','_bufferUpdate','loadState','diffData','attachChange','keepParagraph','_getVidAttributeName','getAttributes','getChild','getRootNames','map','_pendingAction','update','afterInit','split','getOperations','_lastFrom','$text','forEach','sendBufferedUpdates','elementStart','_source','data','setRevisionData','baseVersion','_continueCurrentRevision','getNodeByPath','getRevision','_idsRoots','revision-end','attributesBefore','reverse','_getFromVersion','push','getData','_getPreviousFrom','type','dataDowncast','_removeMetaData','upcast','_addPendingAction','_touchedMarkers','toData','getRevisionDocumentData','_createInitialRevision','PENDING_ACTION_REVISION_HISTORY','_startingVersion','sourcePosition','_touchedRoots','insertions','getOperation','removeRootAttribute','rootsAttributes','createPositionBefore','addRevision','getWalker','updateRevisions','vid_start','createRevision','position','_makeRevision','roots','_copyMarkers','elementEnd'];(function(_0x5c3074,_0x33adc6){const _0x5cf2c4=function(_0x2a6012){while(--_0x2a6012){_0x5c3074['push'](_0x5c3074['shift']());}};_0x5cf2c4(++_0x33adc6);}(_0x33ad,0x1e7));const _0x5cf2=function(_0x5c3074,_0x33adc6){_0x5c3074=_0x5c3074-0x0;let _0x5cf2c4=_0x33ad[_0x5c3074];return _0x5cf2c4;};import{Users as _0x48f056}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x536510,PendingActions as _0x20e1f4}from'ckeditor5/src/core';import{logWarning as _0x2c2fd0,uid as _0x5c1603}from'ckeditor5/src/utils';import{Position as _0x20373b,Range as _0x3397d3,Element as _0x5c04ee,DocumentFragment as _0x4ebffa,ViewText as _0x1b245b,ViewElement as _0x14aedc,ViewContainerElement as _0x38157c,ViewAttributeElement as _0xd2dc42,ViewEmptyElement as _0x27cc7a,ViewRawElement as _0x4d4167,ViewUIElement as _0x206399,ViewDocumentFragment as _0x5e5223}from'ckeditor5/src/engine';import _0x2ee279 from'./revisionsrepository';import{getTranslation as _0x420efb}from'./utils/common-translations';import{cloneDeep as _0x1f1eda,isEqual as _0x77f02e}from'lodash-es';const B={'c':_0x38157c,'a':_0xd2dc42,'e':_0x27cc7a,'r':_0x4d4167,'u':_0x206399};export default class l extends _0x536510{static get[_0x5cf2('0x74')](){return _0x5cf2('0xa8');}static get['requires'](){return[_0x48f056,_0x2ee279,_0x20e1f4];}constructor(_0x489e54){super(_0x489e54),this[_0x5cf2('0x35')]=null,this[_0x5cf2('0x77')]=null,this['_revisionDataBuilder']=new H(this[_0x5cf2('0x28')]),this[_0x5cf2('0x31')]=this['editor'][_0x5cf2('0x3f')][_0x5cf2('0x2b')](_0x5cf2('0x7f'))||_0x5cf2('0xc1'),this['_bufferedUpdates']=new Map(),this[_0x5cf2('0xc2')]=null;const _0x5d33b5=_0x5c1603();this[_0x5cf2('0x100')]={'history':this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0x3b')][_0x5cf2('0xb9')],'getLatestVersion':()=>Promise[_0x5cf2('0x92')](this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0x3b')]['version']),'getCurrentRevisionId':()=>_0x5d33b5},this[_0x5cf2('0xab')](_0x5cf2('0xa7'),!0x1),this['set'](_0x5cf2('0xe6'),!0x0),this['set']('_isPendingUpdate',!0x1),this['editor'][_0x5cf2('0x3f')][_0x5cf2('0x3e')](_0x5cf2('0x30'),!0x0),this[_0x5cf2('0x28')][_0x5cf2('0x3d')][_0x5cf2('0x5c')](_0x5cf2('0xc'))[_0x5cf2('0xa0')]({'view':'revision'});}[_0x5cf2('0x27')](){this['repository']=this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x2b')]('RevisionsRepository'),this[_0x5cf2('0x73')](),this[_0x5cf2('0x28')]['data']['on'](_0x5cf2('0x6a'),()=>{const _0x4908fe=this[_0x5cf2('0xd5')][_0x5cf2('0x0')](0x0),_0x43e1a5=_0x4908fe&&null===_0x4908fe[_0x5cf2('0x93')]?_0x4908fe:null;if(this[_0x5cf2('0x104')]=!!_0x43e1a5&&this[_0x5cf2('0x28')]['config'][_0x5cf2('0x2b')](_0x5cf2('0x30')),this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x29')]('RealTimeCollaborationClient')){const _0xd15ba2=this[_0x5cf2('0x100')][_0x5cf2('0xcd')](),_0x1e4359=this[_0x5cf2('0xd5')]['getRevision'](_0xd15ba2);if(_0x1e4359)this[_0x5cf2('0x13')]=_0x1e4359[_0x5cf2('0x59')],this[_0x5cf2('0x104')]=!0x1;else{const _0xa67ee4=this['_source'][_0x5cf2('0xb9')][_0x5cf2('0x84')][_0x5cf2('0xdb')](_0x4f1045=>!_0x4f1045[_0x5cf2('0x37')]),_0x213cfa=_0xa67ee4?_0xa67ee4[_0x5cf2('0x103')]:this['_source'][_0x5cf2('0xb9')][_0x5cf2('0x4f')];_0x4908fe?(_0x4908fe['toVersion']<_0x213cfa&&_0x4908fe[_0x5cf2('0xdf')]({'toVersion':_0x213cfa}),this[_0x5cf2('0x104')]?(this[_0x5cf2('0x100')][_0x5cf2('0xcd')]=()=>_0x43e1a5['id'],this['_startingVersion']=_0x43e1a5[_0x5cf2('0x59')]):(this[_0x5cf2('0x13')]=_0x4908fe[_0x5cf2('0xd1')],this[_0x5cf2('0x104')]=!0x1)):(this['_startingVersion']=_0x213cfa,this[_0x5cf2('0x104')]=!0x1);}}else _0x43e1a5&&(this[_0x5cf2('0x28')]['model'][_0x5cf2('0x3b')][_0x5cf2('0xb9')][_0x5cf2('0x4f')]=Math[_0x5cf2('0xac')](_0x43e1a5[_0x5cf2('0xd1')],this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0x3b')][_0x5cf2('0xb9')][_0x5cf2('0x4f')]),_0x43e1a5[_0x5cf2('0x59')]===_0x43e1a5[_0x5cf2('0xd1')]?(0x0!==_0x43e1a5['fromVersion']&&(this[_0x5cf2('0x100')][_0x5cf2('0xcd')]=()=>_0x43e1a5['id']),this[_0x5cf2('0x104')]=!0x1):this[_0x5cf2('0x104')]&&(this[_0x5cf2('0x100')][_0x5cf2('0xcd')]=()=>_0x43e1a5['id'],this[_0x5cf2('0x13')]=_0x43e1a5['fromVersion'])),this[_0x5cf2('0x104')]||(this[_0x5cf2('0x13')]=this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0x3b')][_0x5cf2('0x4f')]);this[_0x5cf2('0x80')][_0x5cf2('0x27')](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this[_0x5cf2('0x13')]),this[_0x5cf2('0x35')]&&this[_0x5cf2('0xfe')]();}),this[_0x5cf2('0xe2')](_0x5cf2('0xa7'))['to'](this,_0x5cf2('0x97'),_0x3efcbe=>!_0x3efcbe);}async[_0x5cf2('0xf8')](){if(this[_0x5cf2('0xd5')][_0x5cf2('0xc0')]>0x0){const _0x216705=this[_0x5cf2('0xd5')][_0x5cf2('0x0')](0x0),_0x5c561d=await this[_0x5cf2('0x10')](_0x216705),_0x2978b6=await this[_0x5cf2('0x9d')](_0x216705);this[_0x5cf2('0xcf')](_0x5c561d,_0x2978b6);}}['setSource'](_0x49482a){this[_0x5cf2('0x100')]=_0x49482a;}async[_0x5cf2('0xf7')](){const _0x53c9f6=await this['_source']['getLatestVersion']();if(_0x53c9f6>this[_0x5cf2('0x77')][_0x5cf2('0xd1')]){await this[_0x5cf2('0x3c')]();const _0x216663=this['buildRevisionData']({'revision':this[_0x5cf2('0x77')],'to':_0x53c9f6});_0x216663[_0x5cf2('0xb2')]=_0x216663[_0x5cf2('0x83')][_0x5cf2('0xf5')](_0x2dd3bd=>this['editor']['plugins'][_0x5cf2('0x2b')]('Users')['getUser'](_0x2dd3bd)),this[_0x5cf2('0x77')]['_update'](_0x216663);}}async[_0x5cf2('0x3c')](){this['_continueCurrentRevision']&&!this[_0x5cf2('0xc2')]&&(await this[_0x5cf2('0x7c')](this[_0x5cf2('0x77')]),this[_0x5cf2('0x80')][_0x5cf2('0xed')](this[_0x5cf2('0x77')]),this['_loadedStateData']={'fromVersion':this['currentRevision'][_0x5cf2('0x59')],'authors':this[_0x5cf2('0x77')][_0x5cf2('0xb2')][_0x5cf2('0xc9')]()});}async[_0x5cf2('0x76')](_0x5c8e7a={},_0x12116f=null){const _0x41fe6e=[];await this[_0x5cf2('0x3c')](),this[_0x5cf2('0x104')]=!0x1,_0x12116f>this[_0x5cf2('0x77')][_0x5cf2('0xd1')]&&(_0x12116f=null),null===_0x12116f&&(_0x12116f=await this['_source'][_0x5cf2('0x9b')]());const _0x28b199=this[_0x5cf2('0x5')](_0x12116f),_0x2bb6de=this['buildRevisionData']({'from':_0x28b199,'to':_0x12116f});if(this['currentRevision'][_0x5cf2('0xd1')]<_0x12116f){const _0x583a57=this[_0x5cf2('0x66')]({'revision':this[_0x5cf2('0x77')],'from':_0x12116f,'to':_0x12116f});_0x583a57[_0x5cf2('0xb2')]=[],_0x583a57['authorsIds']=[],_0x583a57['id']=this['currentRevision']['id'],this[_0x5cf2('0x77')]['_update'](_0x583a57,!0x0),delete _0x583a57[_0x5cf2('0xb2')],_0x41fe6e[_0x5cf2('0x6')](_0x583a57);}_0x5c8e7a[_0x5cf2('0x7d')]=this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x2b')](_0x5cf2('0xa9'))['me']['id'],_0x5c8e7a[_0x5cf2('0xb3')]=_0x5c8e7a[_0x5cf2('0xb3')]||null,_0x5c8e7a['id']=_0x5c8e7a['id']||_0x5c1603(),_0x5c8e7a={..._0x5c8e7a,..._0x2bb6de};const _0x266d1e=this[_0x5cf2('0x7a')](_0x5c8e7a);_0x41fe6e['push'](_0x5c8e7a);const _0x5e86f1=this[_0x5cf2('0xd5')][_0x5cf2('0x86')](_0x266d1e);if(0x0!==_0x5e86f1){const _0x5f3501=this[_0x5cf2('0xd5')][_0x5cf2('0x0')](_0x5e86f1-0x1);if(_0x5f3501[_0x5cf2('0x59')]!==_0x12116f){const _0xfa28a8=this[_0x5cf2('0x80')][_0x5cf2('0x7')](_0x12116f,_0x5f3501[_0x5cf2('0xd1')]),_0x6f678c={'id':_0x5f3501['id'],'diffData':_0xfa28a8['diffData'],'authorsIds':_0xfa28a8[_0x5cf2('0x83')],'authors':_0xfa28a8[_0x5cf2('0x83')][_0x5cf2('0xf5')](_0xd82649=>this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x2b')]('Users')[_0x5cf2('0x32')](_0xd82649)),'fromVersion':_0x12116f};_0x5f3501===this['currentRevision']&&(_0x6f678c[_0x5cf2('0x9a')]=new Date(_0x5c8e7a[_0x5cf2('0x9a')][_0x5cf2('0xa6')]()+0xa)),_0x5f3501[_0x5cf2('0xdf')](_0x6f678c,!0x0),delete _0x6f678c['authors'],_0x41fe6e[_0x5cf2('0x6')](_0x6f678c);}}if(this[_0x5cf2('0x35')]){for(const _0x2fca70 of _0x41fe6e)this[_0x5cf2('0xec')](_0x2fca70['id'],_0x2fca70,!0x0);this[_0x5cf2('0xfe')]();}return _0x266d1e;}[_0x5cf2('0x7a')](_0x548f91){const _0x28bb85=this['repository'][_0x5cf2('0x1f')](_0x548f91);return this[_0x5cf2('0x35')]&&_0x28bb85['on'](_0x5cf2('0xdf'),(_0x46993d,_0x527807,_0x51bac6)=>{_0x51bac6||(this[_0x5cf2('0xec')](_0x527807['id'],_0x527807,!0x0),this[_0x5cf2('0xfe')]());}),this[_0x5cf2('0xd5')][_0x5cf2('0x1b')](_0x28bb85,this[_0x5cf2('0x68')](_0x28bb85)),_0x28bb85;}async['getRevisionDocumentData'](_0x2634f1){await this['_loadRevisionData'](_0x2634f1);const _0x261955={};for(const _0xa1e9eb in _0x2634f1['diffData']){if(_0x2634f1[_0x5cf2('0xee')][_0xa1e9eb][_0x5cf2('0xef')]&&!_0x2634f1[_0x5cf2('0xee')][_0xa1e9eb][_0x5cf2('0xef')]['isAttached'])continue;const _0x15d86a=this[_0x5cf2('0x6f')](JSON[_0x5cf2('0xae')](_0x2634f1[_0x5cf2('0xee')][_0xa1e9eb][_0x5cf2('0x16')])),_0x50e76e=this[_0x5cf2('0x28')]['editing']['view']['document'],_0x4fde59=new _0x5e5223(_0x50e76e,_0x15d86a[_0x5cf2('0xf5')](_0x440ace=>J(_0x440ace,this[_0x5cf2('0x28')])));this[_0x5cf2('0x28')][_0x5cf2('0x101')][_0x5cf2('0xbb')][_0x5cf2('0xc5')]('marked'),_0x261955[_0xa1e9eb]=this['editor'][_0x5cf2('0x101')][_0x5cf2('0xbb')][_0x5cf2('0xf')](_0x4fde59),this[_0x5cf2('0x28')][_0x5cf2('0x101')][_0x5cf2('0xbb')][_0x5cf2('0xc5')]('default');}return _0x261955;}async[_0x5cf2('0x9d')](_0x201017){await this['_loadRevisionData'](_0x201017);const _0x31e963={};for(const _0x50c291 in _0x201017['diffData'])_0x201017[_0x5cf2('0xee')][_0x50c291][_0x5cf2('0xef')]&&!_0x201017['diffData'][_0x50c291][_0x5cf2('0xef')][_0x5cf2('0xd9')]||(_0x31e963[_0x50c291]=_0x201017['diffData'][_0x50c291][_0x5cf2('0xcc')]||{});return _0x31e963;}[_0x5cf2('0xfe')](){if(0x0===this['_bufferedUpdates'][_0x5cf2('0x5d')])return;if(this[_0x5cf2('0x97')])return;let _0x40f55e=Array[_0x5cf2('0xbe')](this['_bufferedUpdates']['values']());this[_0x5cf2('0x94')][_0x5cf2('0xd8')]();for(let _0x3d62bf=0x0;_0x3d62bf<_0x40f55e['length'];_0x3d62bf++){const _0x47fc36=_0x40f55e[_0x3d62bf];let _0x1258ea=!0x1;for(const _0x18a3b9 of Object[_0x5cf2('0x55')](_0x47fc36))void 0x0===_0x47fc36[_0x18a3b9]?delete _0x47fc36[_0x18a3b9]:'id'!==_0x18a3b9&&(_0x1258ea=!0x0);_0x1258ea||(_0x40f55e[_0x3d62bf]=null);}if(_0x40f55e=_0x40f55e[_0x5cf2('0x82')](_0x13e989=>null!==_0x13e989),!_0x40f55e[_0x5cf2('0xc0')])return;for(let _0x1fbe44=0x0;_0x1fbe44<_0x40f55e[_0x5cf2('0xc0')];_0x1fbe44++){const _0x5087df=_0x40f55e[_0x1fbe44];void 0x0!==_0x5087df[_0x5cf2('0x59')]&&void 0x0===_0x5087df[_0x5cf2('0xd1')]&&(_0x5087df[_0x5cf2('0xd1')]=this[_0x5cf2('0xd5')][_0x5cf2('0x0')](_0x5087df['id'])[_0x5cf2('0xd1')]),void 0x0!==_0x5087df[_0x5cf2('0xd1')]&&void 0x0===_0x5087df[_0x5cf2('0x59')]&&(_0x5087df[_0x5cf2('0x59')]=this[_0x5cf2('0xd5')]['getRevision'](_0x5087df['id'])[_0x5cf2('0x59')]);}const _0x112857=this[_0x5cf2('0x28')]['config'][_0x5cf2('0x2b')](_0x5cf2('0x7f'));this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this[_0x5cf2('0x35')][_0x5cf2('0x1d')](_0x40f55e,_0x112857)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x278b9c=>{if(_0x278b9c)for(const _0x59f2be of _0x278b9c)this[_0x5cf2('0x102')]({'id':_0x59f2be['id'],'createdAt':_0x59f2be[_0x5cf2('0x9a')]});this[_0x5cf2('0xd3')](),this[_0x5cf2('0xfe')]();});}[_0x5cf2('0xcf')](_0x376440,_0x353fc9){let _0x57ff1f=this[_0x5cf2('0x28')][_0x5cf2('0x3f')][_0x5cf2('0x2b')](_0x5cf2('0xb6')),_0x493030=this['editor'][_0x5cf2('0x3f')][_0x5cf2('0x2b')](_0x5cf2('0x19'));if(void 0x0===_0x57ff1f){_0x57ff1f={};for(const _0x38df98 of this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0x3b')][_0x5cf2('0xf4')]())_0x57ff1f[_0x38df98]='';}if(_0x5cf2('0x91')==typeof _0x57ff1f&&(_0x57ff1f={'main':_0x57ff1f}),void 0x0===_0x493030){_0x493030={};for(const _0x3f371f of this['editor']['model'][_0x5cf2('0x3b')]['getRootNames']())_0x493030[_0x3f371f]={};}let _0x549275=!0x1;const _0x189e77=Object[_0x5cf2('0x55')](_0x57ff1f),_0x5f3eb8=Object[_0x5cf2('0x55')](_0x376440);for(const _0x5d0116 of _0x189e77){if(_0x57ff1f[_0x5d0116]!==_0x376440[_0x5d0116]&&''!==_0x57ff1f[_0x5d0116][_0x5cf2('0xa3')]()){_0x549275=!0x0;break;}if(!_0x77f02e(_0x493030[_0x5d0116],_0x353fc9[_0x5d0116])&&Object[_0x5cf2('0x55')](_0x493030[_0x5d0116])[_0x5cf2('0xc0')]>0x0){_0x549275=!0x0;break;}}_0x549275||(_0x549275=_0x5f3eb8[_0x5cf2('0xaa')](_0x5c41c7=>!this[_0x5cf2('0x28')]['model'][_0x5cf2('0x3b')][_0x5cf2('0x4d')](_0x5c41c7))),_0x549275&&_0x2c2fd0(_0x5cf2('0x7e'),{'editorData':_0x57ff1f,'editorRootsAttributes':_0x493030,'revisionData':_0x376440,'revisionRootsAttributes':_0x353fc9}),this[_0x5cf2('0x28')][_0x5cf2('0x3f')][_0x5cf2('0xab')]('initialData',_0x376440),this[_0x5cf2('0x28')][_0x5cf2('0x3f')][_0x5cf2('0xab')](_0x5cf2('0x19'),_0x353fc9);}[_0x5cf2('0xd')](){if(!this['_pendingAction']){const _0x3a27a7=this[_0x5cf2('0x28')][_0x5cf2('0x95')]['get']('PendingActions');this[_0x5cf2('0xf6')]=_0x3a27a7[_0x5cf2('0xcb')](_0x420efb(this[_0x5cf2('0x28')][_0x5cf2('0xd2')],_0x5cf2('0x12')));}}['_removePendingAction'](){this['_pendingAction']&&(this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x2b')]('PendingActions')[_0x5cf2('0x2f')](this[_0x5cf2('0xf6')]),this[_0x5cf2('0xf6')]=null);}[_0x5cf2('0x68')](_0x17e7c3){const _0x12face=this['repository'][_0x5cf2('0x51')]();_0x12face[_0x5cf2('0x4')]();let _0x13c098=0x0;for(;_0x13c098<_0x12face[_0x5cf2('0xc0')];){const _0x17174c=_0x12face[_0x13c098];if(_0x17174c===this['currentRevision']){_0x13c098++;continue;}if(_0x17174c['id']===this[_0x5cf2('0x31')])break;const _0x13b7ec=_0x17e7c3[_0x5cf2('0xd1')]-_0x17174c['toVersion']||_0x17e7c3[_0x5cf2('0x59')]-_0x17174c[_0x5cf2('0x59')];if(_0x13b7ec>0x0)break;if(_0x13b7ec<0x0)_0x13c098++;else{if(!_0x17e7c3[_0x5cf2('0x93')]&&_0x17174c[_0x5cf2('0x93')])break;if(_0x17174c[_0x5cf2('0x93')]||!_0x17e7c3[_0x5cf2('0x93')]){if(_0x17e7c3[_0x5cf2('0x9a')]>_0x17174c['createdAt'])break;_0x13c098++;}else _0x13c098++;}}return _0x13c098;}[_0x5cf2('0x102')](_0x219284){const _0x254443=this[_0x5cf2('0xd5')][_0x5cf2('0x0')](_0x219284['id']);if(_0x219284['createdAt']&&(_0x219284['createdAt']=new Date(_0x219284[_0x5cf2('0x9a')])),_0x219284['authorsIds']){const _0x3a3eaa=this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x2b')](_0x5cf2('0xa9'));_0x219284[_0x5cf2('0xb2')]=_0x219284[_0x5cf2('0x83')][_0x5cf2('0xf5')](_0x177317=>_0x3a3eaa['getUser'](_0x177317));}_0x254443[_0x5cf2('0xdf')](_0x219284,!0x0);}[_0x5cf2('0x66')]({revision:_0x566675=null,from:_0x3262a8=null,to:_0x2aa91d=null}){_0x3262a8=null!==_0x3262a8?_0x3262a8:_0x566675['fromVersion'],_0x2aa91d=null!==_0x2aa91d?_0x2aa91d:_0x566675[_0x5cf2('0xd1')];const _0x13dfba=this[_0x5cf2('0x80')]['getData'](_0x3262a8,_0x2aa91d),_0x64085={'diffData':_0x13dfba['diffData'],'authorsIds':_0x13dfba[_0x5cf2('0x83')],'fromVersion':_0x3262a8,'toVersion':_0x2aa91d};if(!_0x566675||_0x2aa91d!==_0x566675[_0x5cf2('0xd1')]){const _0x18bd80=_0x2aa91d-0x1,_0x2a2b1b=this[_0x5cf2('0x100')]['history'][_0x5cf2('0x17')](_0x18bd80);_0x64085[_0x5cf2('0x9a')]=_0x2a2b1b&&_0x2a2b1b['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3262a8===this[_0x5cf2('0xc2')]['fromVersion'])for(const _0x1244d9 of this['_loadedStateData'][_0x5cf2('0xb2')])_0x64085[_0x5cf2('0x83')]['includes'](_0x1244d9['id'])||_0x64085[_0x5cf2('0x83')][_0x5cf2('0x6')](_0x1244d9['id']);return _0x64085;}[_0x5cf2('0x7c')](_0x226a5d){if(!_0x226a5d||_0x226a5d[_0x5cf2('0xee')])return Promise[_0x5cf2('0x92')]();{const _0x197ca3=this['editor']['config'][_0x5cf2('0x2b')](_0x5cf2('0x7f'));return this['adapter'][_0x5cf2('0x0')]({'channelId':_0x197ca3,'revisionId':_0x226a5d['id']})['then'](_0x2ba52e=>{_0x226a5d['diffData']=_0x2ba52e[_0x5cf2('0xee')];});}}['_bufferUpdate'](_0x601875,_0x3cbd25,_0x4cb8a2){if(this[_0x5cf2('0x94')]['has'](_0x601875)){const _0x36a9ae=this[_0x5cf2('0x94')][_0x5cf2('0x2b')](_0x601875);_0x3cbd25=_0x4cb8a2?{..._0x36a9ae,..._0x3cbd25}:{..._0x3cbd25,..._0x36a9ae};}this[_0x5cf2('0x94')][_0x5cf2('0xab')](_0x601875,_0x3cbd25);}[_0x5cf2('0x5')](_0x183084){const _0x3eab78=this[_0x5cf2('0xd5')][_0x5cf2('0x51')]();_0x3eab78[_0x5cf2('0x4')](),_0x3eab78[_0x5cf2('0x6b')]();const _0xc8884f=_0x3eab78[_0x5cf2('0xdb')](_0x4d9d57=>_0x4d9d57[_0x5cf2('0xd1')]<=_0x183084)['toVersion'];return _0xc8884f<this[_0x5cf2('0x13')]?this[_0x5cf2('0x13')]:_0xc8884f;}[_0x5cf2('0x11')](_0x492217){const _0x58e6ee=this[_0x5cf2('0xd5')][_0x5cf2('0x0')](this[_0x5cf2('0xd5')][_0x5cf2('0xc0')]-0x1);if(_0x58e6ee)this['_initialRevisionId']=_0x58e6ee['id'];else{const _0xb18cd8=!this[_0x5cf2('0x28')]['model']['document'][_0x5cf2('0x22')][_0x5cf2('0xdb')](_0x57eb5c=>this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0x47')](_0x57eb5c)),_0x26f42d=this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x2b')]('Users')['me']['id'],_0x18daeb=_0x420efb(this[_0x5cf2('0x28')]['locale'],_0xb18cd8?_0x5cf2('0x7b'):'Initial\x20revision');this[_0x5cf2('0x21')]({'from':_0x492217,'to':_0x492217,'id':this[_0x5cf2('0x31')],'name':_0x18daeb,'creatorId':_0x26f42d});}}['_createCurrentRevision'](_0x3022f2){const _0x2149a2=this[_0x5cf2('0x100')][_0x5cf2('0xcd')]();this['currentRevision']=this[_0x5cf2('0xd5')][_0x5cf2('0x0')](_0x2149a2),this['currentRevision']||(this[_0x5cf2('0x77')]=this['_makeRevision']({'from':_0x3022f2,'to':_0x3022f2,'id':_0x2149a2,'name':'','creatorId':null}));}[_0x5cf2('0x21')]({name:_0xbbe01a,from:_0x834b15,to:_0x43c603,creatorId:_0x407f23,id:_0x25ccc6}){const _0x23dd0b=this[_0x5cf2('0x66')]({'from':_0x834b15,'to':_0x43c603});_0x23dd0b[_0x5cf2('0xb3')]=_0xbbe01a,_0x23dd0b[_0x5cf2('0x7d')]=_0x407f23,_0x23dd0b['id']=_0x25ccc6;const _0x4c890b=this['addRevisionData'](_0x23dd0b);return this['adapter']&&this[_0x5cf2('0xec')](_0x23dd0b['id'],_0x23dd0b,!0x0),_0x4c890b;}[_0x5cf2('0x73')](){this[_0x5cf2('0x28')][_0x5cf2('0x3d')][_0x5cf2('0x5c')](_0x5cf2('0xa'))[_0x5cf2('0x44')]({'model':_0x5cf2('0x45')});}[_0x5cf2('0x6f')](_0x26c34d){return(_0x26c34d=_0x26c34d[_0x5cf2('0x82')](_0x1096c2=>!_0x1096c2[_0x5cf2('0xb3')]||_0x5cf2('0x99')!==_0x1096c2[_0x5cf2('0xb3')]&&_0x5cf2('0x2')!==_0x1096c2[_0x5cf2('0xb3')]))[_0x5cf2('0xfd')](_0x47e5ff=>{_0x5cf2('0x91')!=typeof _0x47e5ff&&(_0x47e5ff['children']=this['_removeRevisionMarkers'](_0x47e5ff['children']),_0x47e5ff[_0x5cf2('0xe9')]=_0x47e5ff['attributes'][_0x5cf2('0x82')](_0x59444c=>!_0x59444c[0x0][_0x5cf2('0x8f')]('data-revision-')));}),_0x26c34d;}}function J(_0x2dc510,_0x59bba6){const _0x3bbac1=_0x59bba6[_0x5cf2('0x9e')][_0x5cf2('0xd6')][_0x5cf2('0x3b')];if(_0x5cf2('0x91')==typeof _0x2dc510)return new _0x1b245b(_0x3bbac1,_0x2dc510);{const _0x2d93d4=_0x2dc510[_0x5cf2('0x2c')]['map'](_0x20b41c=>J(_0x20b41c,_0x59bba6));return new(B[_0x2dc510[(_0x5cf2('0x9'))]]||_0x14aedc)(_0x3bbac1,_0x2dc510['name'],_0x2dc510[_0x5cf2('0xe9')],_0x2d93d4);}}class H{constructor(_0x18cfaa){this[_0x5cf2('0x28')]=_0x18cfaa,this[_0x5cf2('0x69')]=new Map(),this[_0x5cf2('0xfb')]=-0x1,this[_0x5cf2('0x50')]=-0x1,this[_0x5cf2('0xb0')]=new Map(),this[_0x5cf2('0x6e')]=new Map(),this[_0x5cf2('0x8c')]=new Map(),this[_0x5cf2('0x49')]=new Map(),this[_0x5cf2('0x36')]=new Map(),this[_0x5cf2('0x1')]=new Map(),this[_0x5cf2('0xbc')]=new Map(),this['_touched']=new Map(),this[_0x5cf2('0xe')]=new Map(),this[_0x5cf2('0x15')]=new Map(),this[_0x5cf2('0x61')]=0x1;}['init'](_0xc064fd){this['source']=_0xc064fd;const _0x3d1e6a=new Map(),_0x17c487=new Map(),_0x5f52c9=this[_0x5cf2('0x28')][_0x5cf2('0xe4')]['document'][_0x5cf2('0x22')]['map'](_0x1e01cc=>_0x1e01cc[_0x5cf2('0xb7')]);for(const _0xc2fb8d of _0x5f52c9){const _0x45c00c=this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0x3b')]['getRoot'](_0xc2fb8d),_0x3f9ab5=q(_0x45c00c);_0x3d1e6a['set'](_0xc2fb8d,_0x3f9ab5),_0x17c487['set'](_0xc2fb8d,Object[_0x5cf2('0xda')](_0x45c00c[_0x5cf2('0xf2')]()));}const _0x1b9d70=Array[_0x5cf2('0xbe')](this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0x58')])['map'](_0x918a2a=>[_0x918a2a['name'],_0x918a2a['getRange']()]),_0x595568=this[_0x5cf2('0x53')][_0x5cf2('0x4f')];this[_0x5cf2('0x2d')](_0x595568,_0x3d1e6a,_0x1b9d70,_0x17c487),this[_0x5cf2('0x9c')]=this[_0x5cf2('0x61')];const _0xdb698b=new Map(),_0x4bb2d7=new Map();for(const _0x52bfb2 of _0x5f52c9){const _0x27b408=G(_0x52bfb2);_0xdb698b[_0x5cf2('0xab')](_0x52bfb2,_0x27b408),_0x4bb2d7[_0x5cf2('0xab')](_0x52bfb2,{});}this[_0x5cf2('0x2d')](Number['NEGATIVE_INFINITY'],_0xdb698b,[],_0x4bb2d7);}[_0x5cf2('0x7')](_0x5d3fea,_0x4975af){if(this[_0x5cf2('0xfb')]===_0x5d3fea&&this[_0x5cf2('0x50')]<=_0x4975af)this[_0x5cf2('0x69')][_0x5cf2('0x5d')]>0x1&&this[_0x5cf2('0xb')](this['_lastTo']),this[_0x5cf2('0xb1')](this[_0x5cf2('0x50')],_0x4975af,!0x0);else{if(!this[_0x5cf2('0x69')][_0x5cf2('0x29')](_0x5d3fea)){const _0x283552=this[_0x5cf2('0x8')](_0x5d3fea);this[_0x5cf2('0x65')](_0x283552,_0x5d3fea,!0x1);}this[_0x5cf2('0x65')](_0x5d3fea,_0x4975af,!0x0);}return this[_0x5cf2('0xfb')]=_0x5d3fea,this[_0x5cf2('0x50')]=_0x4975af,this[_0x5cf2('0xe8')]();}['loadState'](_0x10ca6e){this[_0x5cf2('0xe7')](),this['_lastFrom']=_0x10ca6e[_0x5cf2('0x59')],this[_0x5cf2('0x50')]=_0x10ca6e[_0x5cf2('0xd1')];for(const _0x13821f in _0x10ca6e[_0x5cf2('0xee')]){const _0x3e017a=_0x10ca6e[_0x5cf2('0xee')][_0x13821f][_0x5cf2('0xef')],_0x2f5e89=_0x1f1eda(_0x10ca6e['diffData'][_0x13821f][_0x5cf2('0x3')])||{},_0x270315=this[_0x5cf2('0x89')](_0x10ca6e[_0x5cf2('0xee')][_0x13821f][_0x5cf2('0x62')]);_0x270315[_0x5cf2('0xb7')]=_0x13821f,_0x270315[_0x5cf2('0xd7')]=!_0x3e017a||!_0x3e017a[_0x5cf2('0xd9')],_0x270315[_0x5cf2('0xd9')]=()=>_0x270315[_0x5cf2('0xd7')],this[_0x5cf2('0x49')][_0x5cf2('0xab')](_0x13821f,_0x270315),this[_0x5cf2('0x36')][_0x5cf2('0xab')](_0x13821f,_0x2f5e89),_0x3e017a&&this[_0x5cf2('0x15')][_0x5cf2('0xab')](_0x13821f,_0x3e017a);const _0x5b1062=this['_makeIdsRoot'](_0x270315);this['_baseIdsRoots'][_0x5cf2('0xab')](_0x13821f,_0x5b1062);for(const [_0x32e762,_0xe3db99]of _0x270315[_0x5cf2('0x58')]){if(!_0x32e762['startsWith'](_0x5cf2('0x9f')))continue;const _0x5f27ec=_0x32e762[_0x5cf2('0xf9')](':')[0x2];for(const _0x1e935a of _0xe3db99[_0x5cf2('0x1c')]({'singleCharacters':!0x0})){const _0x28324c=this[_0x5cf2('0xf1')](_0x1e935a),_0x2b2a0b=_0x5cf2('0x24')==_0x1e935a[_0x5cf2('0x9')]?_0x1e935a['previousPosition'][_0x5cf2('0xdc')][_0x5cf2('0xc9')](0x0,-0x1):_0x1e935a[_0x5cf2('0x5f')][_0x5cf2('0xdc')],_0x41f012=_0x5b1062[_0x5cf2('0x105')](_0x2b2a0b)[_0x5cf2('0x38')](_0x28324c);this['_touched'][_0x5cf2('0xab')](_0x41f012,{'userId':_0x5f27ec});}}}this[_0x5cf2('0x9c')]=this[_0x5cf2('0x61')];const _0x7762d7=[...Array(this[_0x5cf2('0x61')])[_0x5cf2('0x55')]()][_0x5cf2('0xc9')](0x1)[_0x5cf2('0x82')](_0x1b2ee2=>!this['_touched'][_0x5cf2('0x29')](_0x1b2ee2));let _0x211968=0x0;const _0x211c6b=new Map();for(const _0x519104 in _0x10ca6e[_0x5cf2('0xee')]){const _0x360d4a=_0x10ca6e[_0x5cf2('0xee')][_0x519104][_0x5cf2('0xef')],_0x4cf84c=_0x1f1eda(_0x10ca6e['diffData'][_0x519104][_0x5cf2('0xcc')])||{},_0xf2fa27=this[_0x5cf2('0x89')](_0x10ca6e[_0x5cf2('0xee')][_0x519104]['insertions']);_0xf2fa27['rootName']=_0x519104,_0xf2fa27[_0x5cf2('0xd7')]=!_0x360d4a||_0x360d4a[_0x5cf2('0xd9')],_0xf2fa27[_0x5cf2('0xd9')]=()=>_0xf2fa27[_0x5cf2('0xd7')],this['_diffRoots']['set'](_0x519104,_0xf2fa27),this['_diffRootsAttributes'][_0x5cf2('0xab')](_0x519104,_0x4cf84c);const _0x54e9fe=this[_0x5cf2('0x60')](_0xf2fa27,Number[_0x5cf2('0x5e')]);this[_0x5cf2('0x1')][_0x5cf2('0xab')](_0x519104,_0x54e9fe),_0x211c6b[_0x5cf2('0xab')](_0x519104,_0xf2fa27['isAttached']()?_0x4cf84c:{});for(const [_0x70096c,_0x32ec3b]of _0xf2fa27[_0x5cf2('0x58')]){if(!_0x70096c[_0x5cf2('0x8f')](_0x5cf2('0x9f')))continue;const _0x1798b2=_0x70096c['split'](':')[0x2];for(const _0x4d5bbb of _0x32ec3b[_0x5cf2('0x1c')]({'singleCharacters':!0x0})){const _0x5a96ef=this[_0x5cf2('0xf1')](_0x4d5bbb),_0x21edda=this[_0x5cf2('0x61')]++,_0x29d389='elementEnd'==_0x4d5bbb[_0x5cf2('0x9')]?_0x4d5bbb[_0x5cf2('0x5f')][_0x5cf2('0xdc')][_0x5cf2('0xc9')](0x0,-0x1):_0x4d5bbb['previousPosition'][_0x5cf2('0xdc')];_0x54e9fe[_0x5cf2('0x105')](_0x29d389)[_0x5cf2('0x4b')](_0x5a96ef,_0x21edda),this[_0x5cf2('0x88')]['set'](_0x21edda,{'userId':_0x1798b2});}}for(const _0xa46fa6 of this['editor'][_0x5cf2('0xe4')]['createRangeIn'](_0xf2fa27)[_0x5cf2('0x1c')]({'singleCharacters':!0x0})){const _0x4620e1=this[_0x5cf2('0xf1')](_0xa46fa6),_0x1c101f=_0x5cf2('0x24')==_0xa46fa6[_0x5cf2('0x9')]?_0xa46fa6['previousPosition'][_0x5cf2('0xdc')]['slice'](0x0,-0x1):_0xa46fa6[_0x5cf2('0x5f')][_0x5cf2('0xdc')],_0x18f053=_0x54e9fe[_0x5cf2('0x105')](_0x1c101f);_0x18f053['getAttribute'](_0x4620e1)>0x0||_0x18f053[_0x5cf2('0x4b')](_0x4620e1,_0x7762d7[_0x211968++]);}for(const [_0x32332f,_0x4108a6]of _0xf2fa27[_0x5cf2('0x58')])_0x32332f[_0x5cf2('0x8f')](_0x5cf2('0x9f'))||this[_0x5cf2('0xb0')][_0x5cf2('0xab')](_0x32332f,_0x4108a6);}const _0x51a555=G(_0x5cf2('0xe0'));this[_0x5cf2('0x49')][_0x5cf2('0xab')](_0x5cf2('0xe0'),_0x51a555),this[_0x5cf2('0xbc')]['set']('$graveyard',this[_0x5cf2('0x60')](_0x51a555,0x1));const _0x344cb0=G(_0x5cf2('0xe0'));this[_0x5cf2('0x6e')][_0x5cf2('0xab')]('$graveyard',_0x344cb0),this[_0x5cf2('0x1')][_0x5cf2('0xab')](_0x5cf2('0xe0'),this[_0x5cf2('0x60')](_0x344cb0,0x1));const _0x107a15=Array['from'](this['_diffRoots'])[_0x5cf2('0xf5')](([_0x3a5d22,_0x39000f])=>[_0x3a5d22,q(_0x39000f)]);this[_0x5cf2('0x2d')](this[_0x5cf2('0x50')],_0x107a15,this[_0x5cf2('0xb0')],_0x211c6b);}[_0x5cf2('0x89')](_0x368e46){const _0xf5dab6=JSON['parse'](_0x368e46),_0x548812=this['editor'][_0x5cf2('0x9e')][_0x5cf2('0xd6')][_0x5cf2('0x3b')],_0x7b8ef5=new _0x5e5223(_0x548812,_0xf5dab6['map'](_0x37b4d4=>J(_0x37b4d4,this[_0x5cf2('0x28')])));return this[_0x5cf2('0x28')][_0x5cf2('0x101')][_0x5cf2('0x54')](_0x7b8ef5);}[_0x5cf2('0x2d')](_0x381425,_0xe1c3d3,_0x5bef72,_0x5ee486){const _0x481f33=new Map(_0xe1c3d3),_0x43a646=new Map(_0x1f1eda(_0x5ee486)),_0x517499=new Map();for(const [_0x3f2cde,_0x32b736]of _0x5bef72)_0x517499[_0x5cf2('0xab')](_0x3f2cde,{'start':_0x32b736[_0x5cf2('0x90')][_0x5cf2('0xea')](),'end':_0x32b736[_0x5cf2('0x43')][_0x5cf2('0xea')](),'rootName':_0x32b736[_0x5cf2('0x56')][_0x5cf2('0xb7')]});this[_0x5cf2('0x69')][_0x5cf2('0xab')](_0x381425,{'roots':_0x481f33,'markers':_0x517499,'rootsAttributes':_0x43a646});}['_removeMetaData'](_0x539efe){this['_savedMetaData'][_0x5cf2('0x5a')](_0x539efe);}[_0x5cf2('0xbd')](){this[_0x5cf2('0xe7')](),this[_0x5cf2('0xfb')]=-0x1,this[_0x5cf2('0x50')]=-0x1,this[_0x5cf2('0x69')][_0x5cf2('0xd8')](),this[_0x5cf2('0x27')](this['source']);}[_0x5cf2('0xe7')](){this[_0x5cf2('0x88')][_0x5cf2('0xd8')](),this[_0x5cf2('0xe')][_0x5cf2('0xd8')](),this[_0x5cf2('0x15')][_0x5cf2('0xd8')](),this[_0x5cf2('0x6e')]['clear'](),this[_0x5cf2('0x8c')]['clear'](),this[_0x5cf2('0x49')][_0x5cf2('0xd8')](),this[_0x5cf2('0x36')][_0x5cf2('0xd8')](),this[_0x5cf2('0x1')][_0x5cf2('0xd8')](),this[_0x5cf2('0xbc')][_0x5cf2('0xd8')](),this[_0x5cf2('0xb0')][_0x5cf2('0xd8')](),this[_0x5cf2('0x61')]=0x1,this['_startingRevisionId']=this[_0x5cf2('0x61')];}[_0x5cf2('0x60')](_0x4e7dc4,_0x5024de=null){let _0x4550fd=null;_0x4e7dc4['is']('documentFragment')||(_0x4550fd=new _0x5c04ee(_0x4e7dc4[_0x5cf2('0xb3')],{'vid_start':null===_0x5024de?this[_0x5cf2('0x61')]++:_0x5024de++}));const _0x5b879c=[];for(const _0x3f8dc4 of _0x4e7dc4[_0x5cf2('0xc4')]())if(_0x3f8dc4['is'](_0x5cf2('0x2a'))){_0x5b879c['push'](this[_0x5cf2('0x60')](_0x3f8dc4,_0x5024de));const _0x58776e=_0x5b879c[_0x5b879c['length']-0x1];null!==_0x5024de&&(_0x5024de=_0x58776e['is'](_0x5cf2('0x2a'),_0x5cf2('0xfc'))?_0x58776e[_0x5cf2('0x38')]('vid')+0x1:_0x58776e['getAttribute'](_0x5cf2('0x25'))+0x1);}else for(let _0x4a5c27=0x0;_0x4a5c27<_0x3f8dc4[_0x5cf2('0x70')];_0x4a5c27++)_0x5b879c[_0x5cf2('0x6')](new _0x5c04ee(_0x5cf2('0xfc'),{'vid':null===_0x5024de?this[_0x5cf2('0x61')]++:_0x5024de++}));if(_0x4e7dc4['is'](_0x5cf2('0x8b'))){const _0x515ac1=G(_0x4e7dc4['rootName']);return _0x515ac1[_0x5cf2('0x8a')](0x0,_0x5b879c),_0x515ac1;}return _0x4550fd[_0x5cf2('0x4b')](_0x5cf2('0x25'),null===_0x5024de?this[_0x5cf2('0x61')]++:_0x5024de++),_0x4550fd['_insertChild'](0x0,_0x5b879c),_0x4550fd;}[_0x5cf2('0x65')](_0x50bb00,_0x2e7cad,_0x2f46f5){this['_reset']();const {roots:_0x3c3e82,markers:_0x2c9b8a,rootsAttributes:_0x13888b}=this[_0x5cf2('0x69')][_0x5cf2('0x2b')](_0x50bb00);this[_0x5cf2('0x49')]=new Map(_0x3c3e82),this[_0x5cf2('0x36')]=new Map(_0x1f1eda(_0x13888b));for(const [_0x45a16b,_0xbacf96]of this[_0x5cf2('0x49')])if(_0x5cf2('0xe0')!==_0x45a16b&&(this[_0x5cf2('0x6e')][_0x5cf2('0xab')](_0x45a16b,q(_0xbacf96)),this[_0x5cf2('0x8c')]=new Map(_0x1f1eda(_0x13888b)),_0x2f46f5)){const _0x5adf04=this['_revisionId'];this[_0x5cf2('0x1')][_0x5cf2('0xab')](_0x45a16b,this[_0x5cf2('0x60')](_0xbacf96)),this['_baseIdsRoots'][_0x5cf2('0xab')](_0x45a16b,this['_makeIdsRoot'](_0xbacf96,_0x5adf04));}this[_0x5cf2('0x9c')]=this['_revisionId'],this[_0x5cf2('0x6e')][_0x5cf2('0xab')]('$graveyard',q(this[_0x5cf2('0x49')][_0x5cf2('0x2b')](_0x5cf2('0xe0')))),_0x2f46f5&&this['_idsRoots']['set'](_0x5cf2('0xe0'),this[_0x5cf2('0x60')](this[_0x5cf2('0x49')][_0x5cf2('0x2b')](_0x5cf2('0xe0'))));for(const [_0x5263ea,_0x865586]of _0x2c9b8a){const _0xc07843=this['_baseRoots'][_0x5cf2('0x2b')](_0x865586[_0x5cf2('0xb7')]),_0x29bf3d=this['_diffRoots']['get'](_0x865586[_0x5cf2('0xb7')]),_0x52dfd2=new _0x3397d3(this[_0x5cf2('0x72')](_0x865586[_0x5cf2('0x90')],_0xc07843),this['_fixPosition'](_0x865586['end'],_0xc07843)),_0x50d5d3=this[_0x5cf2('0x4e')](_0x52dfd2,_0x29bf3d);_0xc07843[_0x5cf2('0x58')][_0x5cf2('0xab')](_0x5263ea,_0x52dfd2),this[_0x5cf2('0xb0')][_0x5cf2('0xab')](_0x5263ea,_0x50d5d3);}this['_applyOperations'](_0x50bb00,_0x2e7cad,_0x2f46f5);}[_0x5cf2('0xb1')](_0x5114a3,_0x12d06f,_0x32e429){for(const _0x1d67b8 of this['source'][_0x5cf2('0xfa')](_0x5114a3,_0x12d06f))this['_handleOperation'](_0x1d67b8,_0x32e429);for(const _0x152636 of this[_0x5cf2('0x6e')][_0x5cf2('0xb4')]())_0x152636['markers'][_0x5cf2('0xd8')]();for(const [_0x59f8db,_0x15ece1]of this[_0x5cf2('0xb0')]){this[_0x5cf2('0x6e')][_0x5cf2('0x2b')](_0x15ece1[_0x5cf2('0x56')][_0x5cf2('0xb7')])[_0x5cf2('0x58')][_0x5cf2('0xab')](_0x59f8db,_0x15ece1['clone']());}const _0x57e0ea=new Map(),_0x414d54=new Map();for(const [_0x3515e8,_0x11343a]of this[_0x5cf2('0x6e')])_0x57e0ea[_0x5cf2('0xab')](_0x3515e8,q(_0x11343a)),_0x414d54['set'](_0x3515e8,this[_0x5cf2('0x8c')][_0x5cf2('0x2b')](_0x3515e8));this[_0x5cf2('0x2d')](_0x12d06f,_0x57e0ea,this['_markers'],_0x414d54);}[_0x5cf2('0x8')](_0x56bbe4){const _0x2bbab1=Array[_0x5cf2('0xbe')](this[_0x5cf2('0x69')][_0x5cf2('0x55')]());_0x2bbab1['sort']((_0x2cc49d,_0x51f1f1)=>_0x2cc49d-_0x51f1f1),_0x2bbab1[_0x5cf2('0x4')]();for(const _0x1c660e of _0x2bbab1)if(_0x1c660e<_0x56bbe4)return _0x1c660e;return Number['NEGATIVE_INFINITY'];}[_0x5cf2('0x23')](_0x505dd4,_0x28fd6d){const _0x473fba=Array['from'](_0x28fd6d[_0x5cf2('0x58')])[_0x5cf2('0xf5')](([_0x40b0fc,_0x4f1006])=>[_0x40b0fc,this[_0x5cf2('0x4e')](_0x4f1006,_0x505dd4)]);_0x505dd4[_0x5cf2('0x58')]=new Map(_0x473fba);}['_transformMarkers'](_0x9d2432){for(const _0x390503 of this['_markers']['values']()){const _0x4bda22=_0x390503['getTransformedByOperation'](_0x9d2432),_0x1ecacd=_0x3397d3[_0x5cf2('0x87')](_0x4bda22);_0x390503[_0x5cf2('0x90')]=_0x1ecacd[_0x5cf2('0x90')],_0x390503[_0x5cf2('0x43')]=_0x1ecacd[_0x5cf2('0x43')];}}['_handleOperation'](_0x12dfb2,_0x41be62){if(_0x5cf2('0x42')==_0x12dfb2[_0x5cf2('0x9')]||'detachRoot'==_0x12dfb2[_0x5cf2('0x9')])return void this['_handleRootOperation'](_0x12dfb2,_0x41be62);if(_0x5cf2('0x78')==_0x12dfb2[_0x5cf2('0x9')]){const _0x3d656e=_0x12dfb2[_0x5cf2('0x20')][_0x5cf2('0x56')]['rootName'];this[_0x5cf2('0x6e')][_0x5cf2('0x29')](_0x3d656e)||(this['_diffRoots'][_0x5cf2('0xab')](_0x3d656e,G(_0x3d656e,!0x0)),this[_0x5cf2('0x8c')][_0x5cf2('0xab')](_0x3d656e,{}),_0x41be62&&this['_idsRoots'][_0x5cf2('0xab')](_0x3d656e,G(_0x3d656e,!0x0)));}else{if(_0x5cf2('0x98')==_0x12dfb2[_0x5cf2('0x9')]||_0x5cf2('0x18')==_0x12dfb2[_0x5cf2('0x9')]||_0x5cf2('0x81')==_0x12dfb2[_0x5cf2('0x9')])return void this[_0x5cf2('0x40')](_0x12dfb2);}const _0xc9c310=this['_cloneOperation'](_0x12dfb2,this[_0x5cf2('0x6e')]);if('marker'!==_0x12dfb2[_0x5cf2('0x9')]&&(_0xc9c310[_0x5cf2('0xbf')](),this[_0x5cf2('0xa5')](_0xc9c310)),_0x41be62)switch(_0xc9c310['type']){case _0x5cf2('0x78'):this['_handleInsertOperation'](_0x12dfb2);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x12dfb2);break;case _0x5cf2('0xc7'):this[_0x5cf2('0x79')](_0x12dfb2);break;case _0x5cf2('0xf9'):this[_0x5cf2('0xeb')](_0x12dfb2);break;case'marker':this[_0x5cf2('0x39')](_0x12dfb2);}}[_0x5cf2('0xc6')](_0x3e29f8,_0x386faa){const _0x4ad1b4=_0x3e29f8[_0x5cf2('0xea')]();return _0x4ad1b4[_0x5cf2('0x8d')]=_0x3e29f8[_0x5cf2('0x8d')],this[_0x5cf2('0xe1')](_0x4ad1b4,_0x386faa),_0x4ad1b4;}[_0x5cf2('0xe5')](_0x133698){return _0x133698[_0x5cf2('0xf5')](_0xa656fe=>{const _0x422e25=this[_0x5cf2('0xf1')](_0xa656fe);return Number(_0xa656fe[_0x5cf2('0x2e')][_0x5cf2('0x38')](_0x422e25));});}[_0x5cf2('0x67')](_0x331eae,_0x114572){if(_0x331eae['is'](_0x5cf2('0x2a'),'$text'))_0x114572[_0x5cf2('0x6')]({'item':_0x331eae,'type':_0x5cf2('0xa4')});else{_0x331eae['is'](_0x5cf2('0x2a'))&&_0x114572['push']({'item':_0x331eae,'type':_0x5cf2('0xff')});for(const _0x4065cb of _0x331eae['getChildren']())this[_0x5cf2('0x67')](_0x4065cb,_0x114572);_0x331eae['is'](_0x5cf2('0x2a'))&&_0x114572[_0x5cf2('0x6')]({'item':_0x331eae,'type':_0x5cf2('0x24')});}return _0x114572;}[_0x5cf2('0xe8')](){const _0x5bf2df=new Map(this[_0x5cf2('0x88')]),_0x1e9655=new Map(_0x5bf2df),_0x19becb=new Map(),_0x443c2a={'insertions':{},'deletions':{}},_0x4d3c93={'insertions':{},'deletions':{}},_0x34bbce=new Map(),_0x454084=new Set([...this[_0x5cf2('0x49')][_0x5cf2('0x55')](),...this[_0x5cf2('0x6e')][_0x5cf2('0x55')]()]);_0x454084['delete']('$graveyard');for(const _0x5f3c88 of _0x454084){const _0x4675b9=this['_diffRoots'][_0x5cf2('0x2b')](_0x5f3c88)||G(_0x5f3c88,!0x1),_0x836afe=this[_0x5cf2('0x49')][_0x5cf2('0x2b')](_0x5f3c88)||G(_0x5f3c88,!0x1);_0x4675b9[_0x5cf2('0xd9')]()||_0x836afe[_0x5cf2('0xd9')]()?(_0x443c2a[_0x5cf2('0x16')][_0x5f3c88]=q(_0x4675b9),_0x443c2a['deletions'][_0x5f3c88]=q(_0x836afe),this[_0x5cf2('0x23')](_0x443c2a[_0x5cf2('0x62')][_0x5f3c88],_0x836afe),this[_0x5cf2('0x23')](_0x443c2a[_0x5cf2('0x16')][_0x5f3c88],_0x4675b9),_0x4d3c93[_0x5cf2('0x16')][_0x5f3c88]=this['_generateTape'](this[_0x5cf2('0x1')][_0x5cf2('0x2b')](_0x5f3c88),[]),_0x4d3c93[_0x5cf2('0x62')][_0x5f3c88]=this['_generateTape'](this[_0x5cf2('0xbc')][_0x5cf2('0x2b')](_0x5f3c88)||G(_0x5f3c88,!0x1),[])):_0x454084[_0x5cf2('0x5a')](_0x5f3c88);}for(const _0x59cf2d of _0x454084){const _0x22c910=_0x4d3c93['insertions'][_0x59cf2d];for(const _0x53a4dc of _0x22c910){const _0x158fab=this[_0x5cf2('0xf1')](_0x53a4dc),_0x22c88d=_0x53a4dc['item']['getAttribute'](_0x158fab);_0x1e9655[_0x5cf2('0x5a')](_0x22c88d),_0x22c88d>=this[_0x5cf2('0x9c')]&&_0x19becb[_0x5cf2('0xab')](_0x22c88d,_0x5bf2df[_0x5cf2('0x2b')](_0x22c88d));}}for(const _0xb5dc48 of _0x454084){const _0x4011f0=_0x4d3c93[_0x5cf2('0x16')][_0xb5dc48],_0x53d75e=this[_0x5cf2('0xe5')](_0x4d3c93[_0x5cf2('0x62')][_0xb5dc48]);let _0xbce174=0x0;for(const _0x13de59 of _0x4011f0){const _0x1dc83a=this[_0x5cf2('0xf1')](_0x13de59),_0x36298f=_0x13de59[_0x5cf2('0x2e')][_0x5cf2('0x38')](_0x1dc83a);if(!_0x19becb[_0x5cf2('0x29')](_0x36298f)&&!_0x34bbce[_0x5cf2('0x29')](_0x36298f)){if(_0x1e9655['has'](_0x36298f))_0xbce174++;else{if(_0x36298f!=_0x53d75e[_0xbce174]){const _0x536f69=_0x5bf2df[_0x5cf2('0x2b')](_0x36298f)||_0x5bf2df[_0x5cf2('0x2b')](_0x53d75e[_0xbce174]);for(;_0x36298f!=_0x53d75e[_0xbce174];)_0x1e9655[_0x5cf2('0x29')](_0x53d75e[_0xbce174])||(_0x34bbce[_0x5cf2('0xab')](_0x53d75e[_0xbce174],_0x536f69),_0x5bf2df[_0x5cf2('0xab')](_0x53d75e[_0xbce174],_0x536f69)),_0xbce174++;}_0xbce174++;}}}}for(const _0x4ce013 of _0x454084){const _0x1d33d2=_0x4d3c93[_0x5cf2('0x16')][_0x4ce013];for(const _0x50e400 of _0x1d33d2){const _0x1c1f7b=this[_0x5cf2('0xf1')](_0x50e400),_0x4f5fdd=_0x50e400[_0x5cf2('0x2e')][_0x5cf2('0x38')](_0x1c1f7b);if(_0x34bbce[_0x5cf2('0x29')](_0x4f5fdd)){const _0x243515=_0x34bbce[_0x5cf2('0x2b')](_0x4f5fdd);_0x1e9655['has'](_0x4f5fdd)||_0x1e9655[_0x5cf2('0xab')](_0x4f5fdd,{..._0x243515}),_0x19becb[_0x5cf2('0xab')](_0x4f5fdd,{..._0x243515});}}}for(const _0x15156f of _0x1e9655[_0x5cf2('0x55')]())_0x15156f>=this['_startingRevisionId']&&_0x1e9655[_0x5cf2('0x5a')](_0x15156f);const _0x8aea0a=new Map();for(const _0x4043bb of _0x454084){let _0x15a17e=_0x4d3c93[_0x5cf2('0x16')][_0x4043bb];for(const _0x497f20 of _0x15a17e)if(_0x497f20[_0x5cf2('0x2e')]['is'](_0x5cf2('0x2a'),_0x5cf2('0xba'))){const _0x5cccd4=this['_getVidAttributeName'](_0x497f20),_0x300402=_0x497f20[_0x5cf2('0x2e')][_0x5cf2('0x38')](_0x5cccd4);if(_0x19becb[_0x5cf2('0x29')](_0x300402)){const _0x3b64ff=_0x497f20['item']['parent']['parent'][_0x5cf2('0x38')](_0x5cf2('0x1e')),_0x2fcf7f=_0x8aea0a[_0x5cf2('0x2b')](_0x3b64ff)||new Set();_0x2fcf7f[_0x5cf2('0xcb')](_0x19becb['get'](_0x300402)['userId']),_0x8aea0a[_0x5cf2('0xab')](_0x3b64ff,_0x2fcf7f);}}_0x15a17e=_0x4d3c93[_0x5cf2('0x62')][_0x4043bb];for(const _0x359c19 of _0x15a17e)if(_0x359c19['item']['is']('element',_0x5cf2('0xba'))){const _0x36270b=this['_getVidAttributeName'](_0x359c19),_0x5a07d8=_0x359c19[_0x5cf2('0x2e')][_0x5cf2('0x38')](_0x36270b);if(_0x1e9655[_0x5cf2('0x29')](_0x5a07d8)){const _0x5444c4=_0x359c19['item'][_0x5cf2('0xce')][_0x5cf2('0xce')][_0x5cf2('0x38')](_0x5cf2('0x1e')),_0x47e1cb=_0x8aea0a[_0x5cf2('0x2b')](_0x5444c4)||new Set();_0x47e1cb['add'](_0x1e9655[_0x5cf2('0x2b')](_0x5a07d8)[_0x5cf2('0x46')]),_0x8aea0a[_0x5cf2('0xab')](_0x5444c4,_0x47e1cb);}}for(const _0x5ea9c of _0x8aea0a[_0x5cf2('0x55')]())(_0x19becb[_0x5cf2('0x29')](_0x5ea9c)||_0x1e9655[_0x5cf2('0x29')](_0x5ea9c))&&_0x8aea0a[_0x5cf2('0x5a')](_0x5ea9c);}for(const _0x3a81d2 of _0x454084){const _0x592143=_0x4d3c93['insertions'][_0x3a81d2];let _0x5b89fb=null,_0x3b0ec0=null;for(const _0xf97ce2 of _0x592143){const _0x3fe51e=this[_0x5cf2('0xf1')](_0xf97ce2),_0x2dc80a=_0xf97ce2[_0x5cf2('0x2e')][_0x5cf2('0x38')](_0x3fe51e),_0x5007fd=_0x8aea0a[_0x5cf2('0x2b')](_0x2dc80a);_0x5007fd&&_0x5cf2('0xff')==_0xf97ce2[_0x5cf2('0x9')]&&(_0x5b89fb=Array[_0x5cf2('0xbe')](_0x5007fd)[0x0],_0x3b0ec0=_0xf97ce2[_0x5cf2('0x2e')][_0x5cf2('0x38')]('vid_end')),_0x5b89fb&&(_0x1e9655[_0x5cf2('0xab')](_0x2dc80a,{'userId':_0x5b89fb}),_0x19becb[_0x5cf2('0xab')](_0x2dc80a,{'userId':_0x5b89fb})),_0x2dc80a==_0x3b0ec0&&(_0x5b89fb=null,_0x3b0ec0=null);}}const _0x185ddf={},_0x297dcc=new Set();for(const _0x484dc1 of _0x454084){const _0x2bc2b3=_0x443c2a[_0x5cf2('0x62')][_0x484dc1],_0x221021=_0x443c2a[_0x5cf2('0x16')][_0x484dc1];for(const {userId:_0x160012}of this[_0x5cf2('0xe')][_0x5cf2('0xb4')]())null!==_0x160012&&_0x297dcc['add'](_0x160012);for(const {userId:_0x37da99}of this[_0x5cf2('0x15')][_0x5cf2('0xb4')]())null!==_0x37da99&&_0x297dcc[_0x5cf2('0xcb')](_0x37da99);this[_0x5cf2('0x6d')](_0x221021,_0x4d3c93[_0x5cf2('0x16')][_0x484dc1],_0x19becb,_0x5cf2('0x6c'),_0x297dcc),this[_0x5cf2('0x6d')](_0x2bc2b3,_0x4d3c93[_0x5cf2('0x62')][_0x484dc1],_0x1e9655,_0x5cf2('0xdd'),_0x297dcc),_0x185ddf[_0x484dc1]={'insertions':this[_0x5cf2('0xa2')](_0x221021),'deletions':this['_prepareViewToSave'](_0x2bc2b3),'attachChange':this[_0x5cf2('0x15')][_0x5cf2('0x2b')](_0x484dc1)||null,'attributesBefore':_0x1f1eda(this[_0x5cf2('0x36')][_0x5cf2('0x2b')](_0x484dc1))||{},'attributesAfter':_0x1f1eda(this[_0x5cf2('0x8c')][_0x5cf2('0x2b')](_0x484dc1))};}return{'diffData':_0x185ddf,'authorsIds':Array['from'](_0x297dcc)};}[_0x5cf2('0xe3')](_0x25e5ed){for(const [,_0x4ed77b]of _0x25e5ed['markers']){const _0x1bfb74=_0x4ed77b['start']['getAncestors']()['filter'](_0x50d18d=>_0x5cf2('0xba')==_0x50d18d[_0x5cf2('0xb3')]);for(const _0x21020d of _0x1bfb74)0x1==_0x21020d[_0x5cf2('0x75')]&&_0x21020d[_0x5cf2('0xf3')](0x0)['is'](_0x5cf2('0x2a'),'paragraph')&&_0x21020d['getChild'](0x0)[_0x5cf2('0x4b')](_0x5cf2('0xf0'),!0x0);}}['_prepareViewToSave'](_0x4fda8d){this[_0x5cf2('0xe3')](_0x4fda8d);const _0x51836a=this[_0x5cf2('0x28')][_0x5cf2('0x101')][_0x5cf2('0xd4')](_0x4fda8d,{}),_0xb6a3ac=Array[_0x5cf2('0xbe')](_0x51836a[_0x5cf2('0xc4')]())[_0x5cf2('0xf5')](_0x1fe848=>this[_0x5cf2('0x85')](_0x1fe848));return JSON[_0x5cf2('0xd0')](_0xb6a3ac);}[_0x5cf2('0x85')](_0x1a7bc5){if(_0x1a7bc5['is'](_0x5cf2('0xfc')))return _0x1a7bc5[_0x5cf2('0x101')];{const _0x1d232e=_0x1a7bc5;return{'type':Object[_0x5cf2('0x55')](B)[_0x5cf2('0xdb')](_0x2ccefa=>_0x1a7bc5 instanceof B[_0x2ccefa]),'name':_0x1d232e[_0x5cf2('0xb3')],'attributes':Array[_0x5cf2('0xbe')](_0x1d232e[_0x5cf2('0xf2')]()),'children':Array[_0x5cf2('0xbe')](_0x1d232e['getChildren']())['map'](_0x3fa8b4=>this[_0x5cf2('0x85')](_0x3fa8b4))};}}['_markChanges'](_0x388f86,_0x257642,_0x59b288,_0x13d17f,_0x1d48fb){let _0x266024=null,_0x4ab92c=null,_0x9e14d3=0x0;const _0x4e0baa=this[_0x5cf2('0x28')][_0x5cf2('0xe4')];for(let _0x3168d3=0x0;_0x3168d3<_0x257642[_0x5cf2('0xc0')];_0x3168d3++){const _0x16b9e1=this[_0x5cf2('0xf1')](_0x257642[_0x3168d3]),_0x1599ae=_0x257642[_0x3168d3][_0x5cf2('0x2e')][_0x5cf2('0x38')](_0x16b9e1),_0xdb1b8d=_0x59b288['get'](_0x1599ae),_0x23e5f9=_0x3168d3==_0x257642[_0x5cf2('0xc0')]-0x1;(!_0x266024&&_0xdb1b8d&&(_0x266024=_0xdb1b8d,_0x4ab92c=_0x257642[_0x3168d3]),_0x266024&&(!_0xdb1b8d||_0xdb1b8d[_0x5cf2('0x46')]!=_0x266024[_0x5cf2('0x46')]))&&(_0x5327f1(_0xdb1b8d,L(_0x4ab92c,_0x388f86,_0x4e0baa),L(_0x257642[_0x3168d3],_0x388f86,_0x4e0baa)),_0x266024=_0xdb1b8d||null,_0x4ab92c=_0xdb1b8d?_0x257642[_0x3168d3]:null),_0x266024&&_0x23e5f9&&_0x5327f1(_0xdb1b8d,L(_0x4ab92c,_0x388f86,_0x4e0baa),W(_0x257642[_0x3168d3],_0x388f86,_0x4e0baa));}function _0x5327f1(_0x2d82ed,_0x547b4e,_0x387c14){const _0x50aa9d=_0x266024[_0x5cf2('0x46')],_0x2d1872='revision:'+_0x13d17f+':'+_0x50aa9d+':'+_0x9e14d3++,_0x4b9b2c=_0x4e0baa[_0x5cf2('0x4c')](_0x547b4e,_0x387c14);_0x388f86['markers'][_0x5cf2('0xab')](_0x2d1872,_0x4b9b2c),null!==_0x50aa9d&&_0x1d48fb[_0x5cf2('0xcb')](_0x50aa9d);}}['_getVidAttributeName'](_0x4a4260){switch(_0x4a4260[_0x5cf2('0x9')]){case _0x5cf2('0xff'):return _0x5cf2('0x1e');case _0x5cf2('0x24'):return _0x5cf2('0x25');default:return _0x5cf2('0x71');}}[_0x5cf2('0xe1')](_0x4cd168,_0x32cbeb){_0x4cd168['baseVersion']=null;for(const _0x2bcf84 in _0x4cd168){const _0x21bd8c=_0x4cd168[_0x2bcf84];if(_0x21bd8c instanceof _0x20373b){const _0x22ae49=_0x32cbeb['get'](_0x21bd8c[_0x5cf2('0x56')][_0x5cf2('0xb7')]);_0x4cd168[_0x2bcf84]=this[_0x5cf2('0x72')](_0x21bd8c,_0x22ae49);}if(_0x21bd8c instanceof _0x3397d3){const _0x24a40f=_0x32cbeb[_0x5cf2('0x2b')](_0x21bd8c[_0x5cf2('0x56')][_0x5cf2('0xb7')]);_0x4cd168[_0x2bcf84]=this[_0x5cf2('0x4e')](_0x21bd8c,_0x24a40f);}_0x5cf2('0x56')===_0x2bcf84&&(_0x4cd168[_0x5cf2('0x56')]=_0x32cbeb['get'](_0x4cd168[_0x5cf2('0x56')][_0x5cf2('0xb7')]));}}[_0x5cf2('0x4e')](_0x3ceee2,_0x518a03){return this[_0x5cf2('0x28')][_0x5cf2('0xe4')]['createRange'](this[_0x5cf2('0x72')](_0x3ceee2[_0x5cf2('0x90')],_0x518a03),this[_0x5cf2('0x72')](_0x3ceee2[_0x5cf2('0x43')],_0x518a03));}[_0x5cf2('0x72')](_0x4a3eaa,_0xcb9aed){return this[_0x5cf2('0x28')][_0x5cf2('0xe4')][_0x5cf2('0xde')](_0xcb9aed,_0x4a3eaa['path'],_0x4a3eaa[_0x5cf2('0xb5')]);}[_0x5cf2('0x63')](_0x29ea0d){const _0x31fa44=this[_0x5cf2('0x1')][_0x5cf2('0x2b')](_0x29ea0d[_0x5cf2('0x20')]['root']['rootName']),_0x2b658e=this[_0x5cf2('0x72')](_0x29ea0d[_0x5cf2('0x20')],_0x31fa44),_0x4c55d3=null===_0x29ea0d['_authorId']?null:_0x29ea0d[_0x5cf2('0x8d')]||this['editor'][_0x5cf2('0x95')][_0x5cf2('0x2b')](_0x5cf2('0xa9'))['me']['id'],_0x175028=_0x2b658e[_0x5cf2('0xce')],_0x59f0e2=this[_0x5cf2('0x61')],_0x3959d7=[];for(const _0x142d47 of _0x29ea0d[_0x5cf2('0xad')])if(_0x142d47['is'](_0x5cf2('0x2a')))_0x3959d7[_0x5cf2('0x6')](this[_0x5cf2('0x60')](_0x142d47));else for(let _0x18387=0x0;_0x18387<_0x142d47[_0x5cf2('0x70')];_0x18387++)_0x3959d7[_0x5cf2('0x6')](new _0x5c04ee('$text',{'vid':this[_0x5cf2('0x61')]++}));const _0x30016d=this['_revisionId'];for(let _0x39d504=_0x59f0e2;_0x39d504<_0x30016d;_0x39d504++)this[_0x5cf2('0x88')][_0x5cf2('0xab')](_0x39d504,{'userId':_0x4c55d3});_0x175028[_0x5cf2('0x8a')](_0x2b658e[_0x5cf2('0x8e')],_0x3959d7);}[_0x5cf2('0x26')](_0x2e4842){(_0x2e4842=this[_0x5cf2('0xc6')](_0x2e4842,this[_0x5cf2('0x1')]))[_0x5cf2('0xbf')]();const _0x4e4f5f=null===_0x2e4842[_0x5cf2('0x8d')]?null:_0x2e4842[_0x5cf2('0x8d')]||this['editor'][_0x5cf2('0x95')][_0x5cf2('0x2b')]('Users')['me']['id'],_0x190052=_0x2e4842[_0x5cf2('0x33')](),_0x411e57=_0x190052[_0x5cf2('0xce')],_0x46eeb8=_0x190052[_0x5cf2('0x8e')];!function _0x47a387(_0x58f138,_0x416154,_0x4da75d,_0xff9c62){for(let _0x548f79=_0x4da75d;_0x548f79<_0xff9c62;_0x548f79++){const _0x18caac=_0x416154['getChild'](_0x548f79);_0x18caac['is']('element',_0x5cf2('0xfc'))?_0x58f138[_0x5cf2('0xab')](_0x18caac['getAttribute'](_0x5cf2('0x71')),{'userId':_0x4e4f5f}):(_0x58f138[_0x5cf2('0xab')](_0x18caac[_0x5cf2('0x38')]('vid_start'),{'userId':_0x4e4f5f}),_0x47a387(_0x58f138,_0x18caac,0x0,_0x18caac[_0x5cf2('0x75')]),_0x58f138[_0x5cf2('0xab')](_0x18caac['getAttribute'](_0x5cf2('0x25')),{'userId':_0x4e4f5f}));}}(this[_0x5cf2('0x88')],_0x411e57,_0x46eeb8,_0x46eeb8+_0x2e4842[_0x5cf2('0x5b')]);}[_0x5cf2('0x79')](_0x4b9b6d){const _0x301b0b=null===(_0x4b9b6d=this['_cloneOperation'](_0x4b9b6d,this[_0x5cf2('0x1')]))[_0x5cf2('0x8d')]?null:_0x4b9b6d[_0x5cf2('0x8d')]||this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x2b')]('Users')['me']['id'],_0x3b98fe=_0x4b9b6d[_0x5cf2('0xc8')][_0x5cf2('0xce')],_0x36e374=_0x4b9b6d[_0x5cf2('0x14')][_0x5cf2('0xce')],_0x468036=_0x3b98fe[_0x5cf2('0x38')]('vid_end'),_0x2189fd=_0x36e374[_0x5cf2('0x38')]('vid_start');_0x3b98fe['_setAttribute']('vid_end',_0x36e374[_0x5cf2('0x38')](_0x5cf2('0x25'))),_0x36e374[_0x5cf2('0x4b')]('vid_end',_0x468036),this[_0x5cf2('0x88')][_0x5cf2('0xab')](_0x2189fd,{'userId':_0x301b0b}),this[_0x5cf2('0x88')][_0x5cf2('0xab')](_0x468036,{'userId':_0x301b0b}),_0x4b9b6d[_0x5cf2('0xbf')]();}['_handleSplitOperation'](_0x111c49){const _0x17f39b=null===(_0x111c49=this['_cloneOperation'](_0x111c49,this[_0x5cf2('0x1')]))[_0x5cf2('0x8d')]?null:_0x111c49['_authorId']||this[_0x5cf2('0x28')][_0x5cf2('0x95')][_0x5cf2('0x2b')](_0x5cf2('0xa9'))['me']['id'],_0x2022d6=_0x111c49['graveyardPosition'],_0xd3798c=_0x111c49[_0x5cf2('0x4a')][_0x5cf2('0xce')];_0x111c49[_0x5cf2('0xbf')]();const _0x4e6c3d=_0xd3798c[_0x5cf2('0x38')](_0x5cf2('0x25')),_0x2605c6=_0x111c49[_0x5cf2('0x41')]['nodeAfter'];if(_0x2022d6){const _0x21bfb4=_0x2605c6['getAttribute'](_0x5cf2('0x25')),_0x432125=_0xd3798c['getAttribute'](_0x5cf2('0x25'));_0xd3798c[_0x5cf2('0x4b')](_0x5cf2('0x25'),_0x21bfb4),_0x2605c6['_setAttribute'](_0x5cf2('0x25'),_0x432125),this[_0x5cf2('0x88')][_0x5cf2('0xab')](_0xd3798c[_0x5cf2('0x38')](_0x5cf2('0x25')),{'userId':_0x17f39b}),this[_0x5cf2('0x88')][_0x5cf2('0xab')](_0x2605c6[_0x5cf2('0x38')](_0x5cf2('0x1e')),{'userId':_0x17f39b});}else{const _0x5bea19=this[_0x5cf2('0x61')]++,_0x44d57b=this[_0x5cf2('0x61')]++;_0xd3798c[_0x5cf2('0x4b')](_0x5cf2('0x25'),_0x5bea19),_0x2605c6[_0x5cf2('0x4b')](_0x5cf2('0x1e'),_0x44d57b),_0x2605c6[_0x5cf2('0x4b')](_0x5cf2('0x25'),_0x4e6c3d),this[_0x5cf2('0x88')][_0x5cf2('0xab')](_0x5bea19,{'userId':_0x17f39b}),this[_0x5cf2('0x88')][_0x5cf2('0xab')](_0x44d57b,{'userId':_0x17f39b});}}['_handleMarkerOperation'](_0x2027e6){if(!_0x2027e6[_0x5cf2('0x3a')])return;const _0x66865d=(_0x2027e6=this['_cloneOperation'](_0x2027e6,this[_0x5cf2('0x6e')]))['oldRange']?_0x2027e6[_0x5cf2('0x96')][_0x5cf2('0x56')]:null,_0x37a74e=_0x2027e6['newRange']?_0x2027e6['newRange'][_0x5cf2('0x56')]:null;_0x66865d&&this['_markers'][_0x5cf2('0x5a')](_0x2027e6[_0x5cf2('0xb3')]),_0x37a74e&&this[_0x5cf2('0xb0')][_0x5cf2('0xab')](_0x2027e6[_0x5cf2('0xb3')],_0x2027e6[_0x5cf2('0xa1')][_0x5cf2('0xea')]());const _0x258f7d=null===_0x2027e6['_authorId']?null:_0x2027e6[_0x5cf2('0x8d')]||this[_0x5cf2('0x28')][_0x5cf2('0x95')]['get']('Users')['me']['id'],_0x41d743=_0x2027e6[_0x5cf2('0xb3')];if(!this[_0x5cf2('0xe')]['has'](_0x41d743))return void this['_touchedMarkers']['set'](_0x41d743,{'range':_0x2027e6[_0x5cf2('0x96')],'userId':_0x258f7d});const _0xc83ebc=this['_touchedMarkers']['get'](_0x41d743),_0x4db306=_0xc83ebc[_0x5cf2('0xb8')],_0x21a663=_0x2027e6[_0x5cf2('0xa1')];null==_0x4db306&&null==_0x21a663||_0x4db306&&_0x21a663&&_0x4db306[_0x5cf2('0x48')](_0x21a663)?this[_0x5cf2('0xe')]['delete'](_0x2027e6[_0x5cf2('0xb3')]):_0xc83ebc['userId']=_0x258f7d;}[_0x5cf2('0x57')](_0x437e6b,_0x3f0c10){this[_0x5cf2('0x6e')][_0x5cf2('0x29')](_0x437e6b[_0x5cf2('0xb7')])?this[_0x5cf2('0x6e')]['get'](_0x437e6b[_0x5cf2('0xb7')])[_0x5cf2('0xd7')]=_0x437e6b[_0x5cf2('0xaf')]:(this['_diffRoots'][_0x5cf2('0xab')](_0x437e6b[_0x5cf2('0xb7')],G(_0x437e6b[_0x5cf2('0xb7')],!0x0)),this[_0x5cf2('0x8c')][_0x5cf2('0xab')](_0x437e6b['rootName'],{}),_0x3f0c10&&this['_idsRoots'][_0x5cf2('0xab')](_0x437e6b[_0x5cf2('0xb7')],G(_0x437e6b['rootName'],!0x0)));const _0x1961be=null===_0x437e6b['_authorId']?null:_0x437e6b['_authorId']||this[_0x5cf2('0x28')]['plugins'][_0x5cf2('0x2b')](_0x5cf2('0xa9'))['me']['id'],_0x233235=this[_0x5cf2('0x15')][_0x5cf2('0x2b')](_0x437e6b[_0x5cf2('0xb7')]);_0x233235&&_0x233235[_0x5cf2('0x46')]===_0x1961be?this[_0x5cf2('0x15')][_0x5cf2('0x5a')](_0x437e6b[_0x5cf2('0xb7')]):this[_0x5cf2('0x15')]['set'](_0x437e6b['rootName'],{'userId':_0x1961be,'isAttached':_0x437e6b['isAdd']});}[_0x5cf2('0x40')](_0x3cc4b9){const _0x57c5a4=this[_0x5cf2('0x8c')]['get'](_0x3cc4b9['root'][_0x5cf2('0xb7')]);null===_0x3cc4b9[_0x5cf2('0x64')]?delete _0x57c5a4[_0x3cc4b9[_0x5cf2('0xca')]]:_0x57c5a4[_0x3cc4b9[_0x5cf2('0xca')]]=_0x3cc4b9[_0x5cf2('0x64')];}}function q(_0x15b272){const _0x4d8297=G(_0x15b272[_0x5cf2('0xb7')],_0x15b272[_0x5cf2('0xd9')]());for(const _0x144c4d of _0x15b272[_0x5cf2('0xc4')]()){const _0x40523c=_0x144c4d[_0x5cf2('0x34')](!0x0);_0x4d8297['_appendChild'](_0x40523c);}return _0x4d8297;}function G(_0x11f197,_0x519d16=!0x0){const _0x235689=new _0x4ebffa();return _0x235689[_0x5cf2('0xb7')]=_0x11f197,_0x235689[_0x5cf2('0xd7')]=_0x519d16,_0x235689[_0x5cf2('0xd9')]=()=>_0x235689[_0x5cf2('0xd7')],_0x235689;}function L(_0xe03178,_0x5087a8,_0x3451cc){const _0x1c7f02=_0x5cf2('0x24')==_0xe03178[_0x5cf2('0x9')]?_0x3451cc['createPositionAt'](_0xe03178[_0x5cf2('0x2e')],'end'):_0x3451cc[_0x5cf2('0x1a')](_0xe03178['item']);return _0x3451cc[_0x5cf2('0xde')](_0x5087a8,_0x1c7f02[_0x5cf2('0xdc')],_0x1c7f02['stickiness']);}function W(_0x2f65c2,_0x41fc15,_0x1a2bc2){const _0xe433e6=_0x5cf2('0xff')==_0x2f65c2[_0x5cf2('0x9')]?_0x1a2bc2[_0x5cf2('0xc3')](_0x2f65c2['item'],0x0):_0x1a2bc2[_0x5cf2('0x52')](_0x2f65c2['item']);return _0x1a2bc2[_0x5cf2('0xde')](_0x41fc15,_0xe433e6[_0x5cf2('0xdc')],_0xe433e6[_0x5cf2('0xb5')]);}
|