@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231115.0 → 0.0.0-nightly-20231117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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 _0x56b1=['finally','setRevisionData','getRevisionDocumentData','deletion','find','_startingVersion','_handleMoveOperation','source','getOperation','document','_replaceEditorDataWithRevisionData','RevisionsRepository','_handleSplitOperation','from','dataDowncast','_bufferedUpdates','conversion','parse','merge','_operations','attributesBefore','_fixPosition','_generateTape','_lastFrom','range','clone','sendBufferedUpdates','_bufferUpdate','position','_pendingAction','creatorId','diffData','detachRoot','_getBaseVids','text','_transformMarkers','fromEntries','_diffRootsAttributes','stickiness','_lastTo','reInit','newRange','start','some','slice','_prepareViewToSave','offsetSize','$graveyard','map','RevisionTracker','insertionPosition','_touchedMarkers','children','affectsData','hasContent','get','authorsIds','startsWith','getOperations','sort','includes','adapter','_appendChild','clear','_idsRoots','_handleInsertOperation','keepParagraph','getAttribute','reverse','elementEnd','_touchedRoots','currentRevision','addRevisionData','getRoot','_loadRevisionData','roots','_markChanges','resolve','stringify','_getVidAttributeName','isReady','_cloneOperation','_continueCurrentRevision','locale','_setConversion','getIndex','_baseRootsAttributes','_loadState','howMany','editor','getChildren','_update','_authorId','_getPreviousFrom','_saveMetaData','_insertChild','_getFromVersion','_markers','oldRange','deletions','marker','$text','version','insertion','config','data-revision-','authors','offset','getData','name','createPositionBefore','newValue','addRoot','vid_end','_createCurrentRevision','revision:','createRange','parent','length','createPositionFromPath','markers','baseVersion','_fixOperation','vid_start','_fixRange','initial','delete','changeRootAttribute','getWalker','_processRootBeforeSave','NEGATIVE_INFINITY','_loadedStateData','_getState','_baseRoots','buildRevisionData','_createInitialRevision','createRevision','isAttached','setSource','_addPendingAction','previousPosition','_removePendingAction','toData','getChild','getRevisions','useFillerType','vid','attachChange','_copyMarkers','insertions','bind','add','type','keys','graveyardPosition','createPositionAt','_savedMetaData','elementStart','data','initialData','_removeMetaData','repository','_baseIdsRoots','rootsAttributes','item','path','_handleMarkerOperation','_diffRoots','_initialRevisionId','getMovedRangeStart','isEqual','userId','_reset','define','getUser','getRevision','model','nodes','for','updateRevisions','_calculateMetaData','ready','_makeRevision','requires','getNodeByPath','history','root','getAncestors','markerToData','creator','toVersion','afterInit','getRange','_startingRevisionId','removeRootAttribute','_revisionDataBuilder','_findInsertionIndex','plugins','_makeIdsRoot','createdAt','toModel','_source','revision','_clone','revision-start','rootName','editing','_revisionId','getTransformedByOperation','key','PendingActions','PENDING_ACTION_REVISION_HISTORY','insert','paragraph','revision-end','splitPosition','then','_isPendingUpdate','end','Users','values','max','_getViewJson','filter','element','tableCell','_handleRootAttributeOperation','_createFromRanges','getLatestVersion','_isAttached','string','childCount','has','_removeRevisionMarkers','remove','split','_makeModelFromViewString','saveRevision','_execute','getAttributes','revisionHistory.resumeUnsavedRevision','addRevision','attributes','loadState','documentFragment','getRevisionRootsAttributes','move','getRootNames','reinsert','_touched','set','shift','RealTimeCollaborationClient','processor','_handleRootOperation','_isInit','init','nodeAfter','push','_setAttribute','view','fromVersion','createPositionAfter','_applyOperations','_handleOperation','collaboration.channelId','isAdd','getCurrentRevisionId','marked'];(function(_0x5caafd,_0x56b1c6){const _0x1fb5e0=function(_0x5bd84a){while(--_0x5bd84a){_0x5caafd['push'](_0x5caafd['shift']());}};_0x1fb5e0(++_0x56b1c6);}(_0x56b1,0x7c));const _0x1fb5=function(_0x5caafd,_0x56b1c6){_0x5caafd=_0x5caafd-0x0;let _0x1fb5e0=_0x56b1[_0x5caafd];return _0x1fb5e0;};import{Users as _0x5b1e42}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x1a12e5,PendingActions as _0x5af27d}from'ckeditor5/src/core';import{logWarning as _0x2f76a5,uid as _0x3fca5e}from'ckeditor5/src/utils';import{Position as _0x28fd58,Range as _0xb5b9b7,Element as _0x402e68,DocumentFragment as _0x20ef05,ViewText as _0x3d0082,ViewElement as _0x5e937e,ViewContainerElement as _0x565dd9,ViewAttributeElement as _0x2dfef0,ViewEmptyElement as _0x593b87,ViewRawElement as _0x30ac69,ViewUIElement as _0x6ac8a,ViewDocumentFragment as _0xfd42cc}from'ckeditor5/src/engine';import _0x5d8db2 from'./revisionsrepository';import{getTranslation as _0x32ca8b}from'./utils/common-translations';import{cloneDeep as _0x32fc6f,isEqual as _0x116a51}from'lodash-es';const B={'c':_0x565dd9,'a':_0x2dfef0,'e':_0x593b87,'r':_0x30ac69,'u':_0x6ac8a};export default class l extends _0x1a12e5{static get['pluginName'](){return _0x1fb5('0xc2');}static get[_0x1fb5('0x3b')](){return[_0x5b1e42,_0x5d8db2,_0x5af27d];}constructor(_0x4d052d){super(_0x4d052d),this[_0x1fb5('0xce')]=null,this[_0x1fb5('0xd8')]=null,this[_0x1fb5('0x47')]=new H(this[_0x1fb5('0xea')]),this[_0x1fb5('0x2c')]=this['editor'][_0x1fb5('0xf9')][_0x1fb5('0xc8')](_0x1fb5('0x8d'))||_0x1fb5('0x1'),this[_0x1fb5('0xa0')]=new Map(),this[_0x1fb5('0x7')]=null;const _0x40a9b9=_0x3fca5e();this[_0x1fb5('0x4d')]={'history':this[_0x1fb5('0xea')][_0x1fb5('0x34')][_0x1fb5('0x9a')][_0x1fb5('0x3d')],'getLatestVersion':()=>Promise[_0x1fb5('0xde')](this[_0x1fb5('0xea')][_0x1fb5('0x34')][_0x1fb5('0x9a')][_0x1fb5('0xf7')]),'getCurrentRevisionId':()=>_0x40a9b9},this['set'](_0x1fb5('0xe1'),!0x1),this[_0x1fb5('0x7e')]('isEnabled',!0x0),this[_0x1fb5('0x7e')]('_isPendingUpdate',!0x1),this['editor']['config'][_0x1fb5('0x31')](_0x1fb5('0x74'),!0x0),this['editor']['conversion'][_0x1fb5('0x36')]('upcast')['dataToMarker']({'view':_0x1fb5('0x4e')});}[_0x1fb5('0x84')](){this[_0x1fb5('0x25')]=this[_0x1fb5('0xea')][_0x1fb5('0x49')]['get'](_0x1fb5('0x9c')),this[_0x1fb5('0xe5')](),this['editor'][_0x1fb5('0x22')]['on'](_0x1fb5('0x39'),()=>{const _0x53817c=this[_0x1fb5('0x25')][_0x1fb5('0x33')](0x0),_0x5165cc=_0x53817c&&null===_0x53817c[_0x1fb5('0x41')]?_0x53817c:null;if(this['_continueCurrentRevision']=!!_0x5165cc&&this[_0x1fb5('0xea')][_0x1fb5('0xf9')][_0x1fb5('0xc8')](_0x1fb5('0x74')),this[_0x1fb5('0xea')][_0x1fb5('0x49')][_0x1fb5('0x6c')](_0x1fb5('0x80'))){const _0xd1e209=this[_0x1fb5('0x4d')][_0x1fb5('0x8f')](),_0x210020=this[_0x1fb5('0x25')][_0x1fb5('0x33')](_0xd1e209);if(_0x210020)this[_0x1fb5('0x96')]=_0x210020[_0x1fb5('0x89')],this['_continueCurrentRevision']=!0x1;else{const _0x4e5a0d=this[_0x1fb5('0x4d')][_0x1fb5('0x3d')][_0x1fb5('0xa4')]['find'](_0x38fd57=>!_0x38fd57[_0x1fb5('0x83')]),_0x213509=_0x4e5a0d?_0x4e5a0d[_0x1fb5('0x10a')]:this[_0x1fb5('0x4d')][_0x1fb5('0x3d')][_0x1fb5('0xf7')];_0x53817c?(_0x53817c[_0x1fb5('0x42')]<_0x213509&&_0x53817c[_0x1fb5('0xec')]({'toVersion':_0x213509}),this[_0x1fb5('0xe3')]?(this[_0x1fb5('0x4d')][_0x1fb5('0x8f')]=()=>_0x5165cc['id'],this['_startingVersion']=_0x5165cc[_0x1fb5('0x89')]):(this['_startingVersion']=_0x53817c[_0x1fb5('0x42')],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x213509,this[_0x1fb5('0xe3')]=!0x1);}}else _0x5165cc&&(this['editor'][_0x1fb5('0x34')][_0x1fb5('0x9a')][_0x1fb5('0x3d')]['version']=Math[_0x1fb5('0x61')](_0x5165cc[_0x1fb5('0x42')],this[_0x1fb5('0xea')][_0x1fb5('0x34')]['document'][_0x1fb5('0x3d')][_0x1fb5('0xf7')]),_0x5165cc[_0x1fb5('0x89')]===_0x5165cc[_0x1fb5('0x42')]?(0x0!==_0x5165cc[_0x1fb5('0x89')]&&(this['_source'][_0x1fb5('0x8f')]=()=>_0x5165cc['id']),this[_0x1fb5('0xe3')]=!0x1):this['_continueCurrentRevision']&&(this['_source'][_0x1fb5('0x8f')]=()=>_0x5165cc['id'],this['_startingVersion']=_0x5165cc[_0x1fb5('0x89')])),this[_0x1fb5('0xe3')]||(this[_0x1fb5('0x96')]=this[_0x1fb5('0xea')][_0x1fb5('0x34')][_0x1fb5('0x9a')]['version']);this[_0x1fb5('0x47')][_0x1fb5('0x84')](this[_0x1fb5('0x4d')][_0x1fb5('0x3d')]),this[_0x1fb5('0xb')](this[_0x1fb5('0x96')]),this[_0x1fb5('0x103')](this[_0x1fb5('0x96')]),this[_0x1fb5('0xce')]&&this[_0x1fb5('0xab')]();}),this[_0x1fb5('0x1a')](_0x1fb5('0xe1'))['to'](this,_0x1fb5('0x5d'),_0x34a7a3=>!_0x34a7a3);}async[_0x1fb5('0x43')](){if(this[_0x1fb5('0x25')][_0x1fb5('0x107')]>0x0){const _0x3c8886=this['repository']['getRevision'](0x0),_0x55b42d=await this[_0x1fb5('0x93')](_0x3c8886),_0x37ad2d=await this['getRevisionRootsAttributes'](_0x3c8886);this['_replaceEditorDataWithRevisionData'](_0x55b42d,_0x37ad2d);}}[_0x1fb5('0xe')](_0x2c7460){this[_0x1fb5('0x4d')]=_0x2c7460;}async['update'](){const _0x29f98f=await this[_0x1fb5('0x4d')][_0x1fb5('0x68')]();if(_0x29f98f>this[_0x1fb5('0xd8')][_0x1fb5('0x42')]){await this[_0x1fb5('0xe8')]();const _0x1bab25=this[_0x1fb5('0xa')]({'revision':this['currentRevision'],'to':_0x29f98f});_0x1bab25[_0x1fb5('0xfb')]=_0x1bab25['authorsIds']['map'](_0x564510=>this['editor']['plugins'][_0x1fb5('0xc8')]('Users')[_0x1fb5('0x32')](_0x564510)),this[_0x1fb5('0xd8')]['_update'](_0x1bab25);}}async[_0x1fb5('0xe8')](){this[_0x1fb5('0xe3')]&&!this['_loadedStateData']&&(await this[_0x1fb5('0xdb')](this['currentRevision']),this[_0x1fb5('0x47')][_0x1fb5('0x77')](this[_0x1fb5('0xd8')]),this[_0x1fb5('0x7')]={'fromVersion':this['currentRevision'][_0x1fb5('0x89')],'authors':this[_0x1fb5('0xd8')][_0x1fb5('0xfb')]['slice']()});}async[_0x1fb5('0x71')](_0x32c127={},_0xd4d8ce=null){const _0x25e718=[];await this[_0x1fb5('0xe8')](),this[_0x1fb5('0xe3')]=!0x1,_0xd4d8ce>this[_0x1fb5('0xd8')][_0x1fb5('0x42')]&&(_0xd4d8ce=null),null===_0xd4d8ce&&(_0xd4d8ce=await this['_source']['getLatestVersion']());const _0x330338=this[_0x1fb5('0xf1')](_0xd4d8ce),_0x51bb30=this[_0x1fb5('0xa')]({'from':_0x330338,'to':_0xd4d8ce});if(this['currentRevision']['toVersion']<_0xd4d8ce){const _0x2d0b35=this[_0x1fb5('0xa')]({'revision':this[_0x1fb5('0xd8')],'from':_0xd4d8ce,'to':_0xd4d8ce});_0x2d0b35[_0x1fb5('0xfb')]=[],_0x2d0b35[_0x1fb5('0xc9')]=[],_0x2d0b35['id']=this[_0x1fb5('0xd8')]['id'],this[_0x1fb5('0xd8')][_0x1fb5('0xec')](_0x2d0b35,!0x0),delete _0x2d0b35['authors'],_0x25e718[_0x1fb5('0x86')](_0x2d0b35);}_0x32c127[_0x1fb5('0xaf')]=this['editor'][_0x1fb5('0x49')][_0x1fb5('0xc8')](_0x1fb5('0x5f'))['me']['id'],_0x32c127[_0x1fb5('0xfe')]=_0x32c127['name']||null,_0x32c127['id']=_0x32c127['id']||_0x3fca5e(),_0x32c127={..._0x32c127,..._0x51bb30};const _0x2864fa=this['addRevisionData'](_0x32c127);_0x25e718[_0x1fb5('0x86')](_0x32c127);const _0x5a9bfe=this[_0x1fb5('0x25')][_0x1fb5('0xe6')](_0x2864fa);if(0x0!==_0x5a9bfe){const _0x3eda00=this['repository'][_0x1fb5('0x33')](_0x5a9bfe-0x1);if(_0x3eda00[_0x1fb5('0x89')]!==_0xd4d8ce){const _0x226312=this[_0x1fb5('0x47')]['getData'](_0xd4d8ce,_0x3eda00[_0x1fb5('0x42')]),_0x3ec3ab={'id':_0x3eda00['id'],'diffData':_0x226312[_0x1fb5('0xb0')],'authorsIds':_0x226312[_0x1fb5('0xc9')],'authors':_0x226312[_0x1fb5('0xc9')][_0x1fb5('0xc1')](_0x323d4b=>this['editor']['plugins'][_0x1fb5('0xc8')](_0x1fb5('0x5f'))[_0x1fb5('0x32')](_0x323d4b)),'fromVersion':_0xd4d8ce};_0x3eda00===this[_0x1fb5('0xd8')]&&(_0x3ec3ab[_0x1fb5('0x4b')]=new Date(_0x32c127['createdAt']['getTime']()+0xa)),_0x3eda00[_0x1fb5('0xec')](_0x3ec3ab,!0x0),delete _0x3ec3ab[_0x1fb5('0xfb')],_0x25e718[_0x1fb5('0x86')](_0x3ec3ab);}}if(this[_0x1fb5('0xce')]){for(const _0x2f1dba of _0x25e718)this[_0x1fb5('0xac')](_0x2f1dba['id'],_0x2f1dba,!0x0);this[_0x1fb5('0xab')]();}return _0x2864fa;}[_0x1fb5('0xd9')](_0x34eb25){const _0x18a606=this[_0x1fb5('0x25')][_0x1fb5('0xc')](_0x34eb25);return this[_0x1fb5('0xce')]&&_0x18a606['on']('_update',(_0x1a8453,_0x2648b9,_0x252bf9)=>{_0x252bf9||(this[_0x1fb5('0xac')](_0x2648b9['id'],_0x2648b9,!0x0),this['sendBufferedUpdates']());}),this[_0x1fb5('0x25')][_0x1fb5('0x75')](_0x18a606,this['_findInsertionIndex'](_0x18a606)),_0x18a606;}async[_0x1fb5('0x93')](_0x1a76f6){await this['_loadRevisionData'](_0x1a76f6);const _0x5de1ae={};for(const _0x342ce9 in _0x1a76f6['diffData']){if(_0x1a76f6[_0x1fb5('0xb0')][_0x342ce9]['attachChange']&&!_0x1a76f6['diffData'][_0x342ce9][_0x1fb5('0x17')][_0x1fb5('0xd')])continue;const _0x8c3202=this[_0x1fb5('0x6d')](JSON[_0x1fb5('0xa2')](_0x1a76f6[_0x1fb5('0xb0')][_0x342ce9][_0x1fb5('0x19')])),_0x23680a=this[_0x1fb5('0xea')]['editing'][_0x1fb5('0x88')][_0x1fb5('0x9a')],_0x579605=new _0xfd42cc(_0x23680a,_0x8c3202[_0x1fb5('0xc1')](_0xcc067d=>J(_0xcc067d,this[_0x1fb5('0xea')])));this[_0x1fb5('0xea')][_0x1fb5('0x22')]['processor'][_0x1fb5('0x15')](_0x1fb5('0x90')),_0x5de1ae[_0x342ce9]=this[_0x1fb5('0xea')][_0x1fb5('0x22')][_0x1fb5('0x81')][_0x1fb5('0x12')](_0x579605),this['editor'][_0x1fb5('0x22')][_0x1fb5('0x81')]['useFillerType']('default');}return _0x5de1ae;}async[_0x1fb5('0x79')](_0x1cfafb){await this[_0x1fb5('0xdb')](_0x1cfafb);const _0x10bb94={};for(const _0x25ea43 in _0x1cfafb[_0x1fb5('0xb0')])_0x1cfafb[_0x1fb5('0xb0')][_0x25ea43][_0x1fb5('0x17')]&&!_0x1cfafb[_0x1fb5('0xb0')][_0x25ea43][_0x1fb5('0x17')][_0x1fb5('0xd')]||(_0x10bb94[_0x25ea43]=_0x1cfafb[_0x1fb5('0xb0')][_0x25ea43]['attributesAfter']||{});return _0x10bb94;}[_0x1fb5('0xab')](){if(0x0===this[_0x1fb5('0xa0')]['size'])return;if(this[_0x1fb5('0x5d')])return;let _0x241249=Array[_0x1fb5('0x9e')](this[_0x1fb5('0xa0')][_0x1fb5('0x60')]());this['_bufferedUpdates'][_0x1fb5('0xd0')]();for(let _0xa54fb4=0x0;_0xa54fb4<_0x241249['length'];_0xa54fb4++){const _0x496c0d=_0x241249[_0xa54fb4];let _0x572f3f=!0x1;for(const _0x5a969b of Object['keys'](_0x496c0d))void 0x0===_0x496c0d[_0x5a969b]?delete _0x496c0d[_0x5a969b]:'id'!==_0x5a969b&&(_0x572f3f=!0x0);_0x572f3f||(_0x241249[_0xa54fb4]=null);}if(_0x241249=_0x241249[_0x1fb5('0x63')](_0x423dc3=>null!==_0x423dc3),!_0x241249['length'])return;for(let _0x127d59=0x0;_0x127d59<_0x241249['length'];_0x127d59++){const _0x95a309=_0x241249[_0x127d59];void 0x0!==_0x95a309[_0x1fb5('0x89')]&&void 0x0===_0x95a309[_0x1fb5('0x42')]&&(_0x95a309[_0x1fb5('0x42')]=this[_0x1fb5('0x25')][_0x1fb5('0x33')](_0x95a309['id'])[_0x1fb5('0x42')]),void 0x0!==_0x95a309[_0x1fb5('0x42')]&&void 0x0===_0x95a309[_0x1fb5('0x89')]&&(_0x95a309[_0x1fb5('0x89')]=this[_0x1fb5('0x25')]['getRevision'](_0x95a309['id'])['fromVersion']);}const _0x4e5644=this[_0x1fb5('0xea')]['config'][_0x1fb5('0xc8')]('collaboration.channelId');this[_0x1fb5('0x5d')]=!0x0,this[_0x1fb5('0xf')](),this[_0x1fb5('0xce')][_0x1fb5('0x37')](_0x241249,_0x4e5644)[_0x1fb5('0x91')](()=>{this['_isPendingUpdate']=!0x1;})[_0x1fb5('0x5c')](_0x24bbdc=>{if(_0x24bbdc)for(const _0x4a19e7 of _0x24bbdc)this[_0x1fb5('0x92')]({'id':_0x4a19e7['id'],'createdAt':_0x4a19e7[_0x1fb5('0x4b')]});this[_0x1fb5('0x11')](),this['sendBufferedUpdates']();});}[_0x1fb5('0x9b')](_0x968a5d,_0x53d7e9){let _0x16428e=this[_0x1fb5('0xea')][_0x1fb5('0xf9')][_0x1fb5('0xc8')](_0x1fb5('0x23')),_0x49021f=this[_0x1fb5('0xea')][_0x1fb5('0xf9')][_0x1fb5('0xc8')]('rootsAttributes');if(void 0x0===_0x16428e){_0x16428e={};for(const _0x193f73 of this['editor'][_0x1fb5('0x34')][_0x1fb5('0x9a')][_0x1fb5('0x7b')]())_0x16428e[_0x193f73]='';}if('string'==typeof _0x16428e&&(_0x16428e={'main':_0x16428e}),void 0x0===_0x49021f){_0x49021f={};for(const _0x1655e8 of this[_0x1fb5('0xea')][_0x1fb5('0x34')][_0x1fb5('0x9a')][_0x1fb5('0x7b')]())_0x49021f[_0x1655e8]={};}let _0x5821f5=!0x1;const _0x14ce6a=Object[_0x1fb5('0x1d')](_0x16428e),_0x5a7ff2=Object[_0x1fb5('0x1d')](_0x968a5d);for(const _0x266cd0 of _0x14ce6a){if(_0x16428e[_0x266cd0]!==_0x968a5d[_0x266cd0]&&''!==_0x16428e[_0x266cd0]['trim']()){_0x5821f5=!0x0;break;}if(!_0x116a51(_0x49021f[_0x266cd0],_0x53d7e9[_0x266cd0])&&Object[_0x1fb5('0x1d')](_0x49021f[_0x266cd0])[_0x1fb5('0x107')]>0x0){_0x5821f5=!0x0;break;}}_0x5821f5||(_0x5821f5=_0x5a7ff2[_0x1fb5('0xbc')](_0x145f9a=>!this[_0x1fb5('0xea')][_0x1fb5('0x34')][_0x1fb5('0x9a')][_0x1fb5('0xda')](_0x145f9a))),_0x5821f5&&_0x2f76a5('editor-initial-data-replaced-with-revision-data',{'editorData':_0x16428e,'editorRootsAttributes':_0x49021f,'revisionData':_0x968a5d,'revisionRootsAttributes':_0x53d7e9}),this[_0x1fb5('0xea')][_0x1fb5('0xf9')]['set'](_0x1fb5('0x23'),_0x968a5d),this[_0x1fb5('0xea')][_0x1fb5('0xf9')]['set'](_0x1fb5('0x27'),_0x53d7e9);}[_0x1fb5('0xf')](){if(!this[_0x1fb5('0xae')]){const _0x675df3=this['editor'][_0x1fb5('0x49')][_0x1fb5('0xc8')](_0x1fb5('0x56'));this[_0x1fb5('0xae')]=_0x675df3[_0x1fb5('0x1b')](_0x32ca8b(this['editor'][_0x1fb5('0xe4')],_0x1fb5('0x57')));}}[_0x1fb5('0x11')](){this[_0x1fb5('0xae')]&&(this['editor']['plugins'][_0x1fb5('0xc8')](_0x1fb5('0x56'))[_0x1fb5('0x6e')](this[_0x1fb5('0xae')]),this[_0x1fb5('0xae')]=null);}[_0x1fb5('0x48')](_0x121e97){const _0x573867=this['repository'][_0x1fb5('0x14')]();_0x573867[_0x1fb5('0xd5')]();let _0x15e4e6=0x0;for(;_0x15e4e6<_0x573867[_0x1fb5('0x107')];){const _0x79f50f=_0x573867[_0x15e4e6];if(_0x79f50f===this[_0x1fb5('0xd8')]){_0x15e4e6++;continue;}if(_0x79f50f['id']===this[_0x1fb5('0x2c')])break;const _0x182e38=_0x121e97[_0x1fb5('0x42')]-_0x79f50f[_0x1fb5('0x42')]||_0x121e97['fromVersion']-_0x79f50f['fromVersion'];if(_0x182e38>0x0)break;if(_0x182e38<0x0)_0x15e4e6++;else{if(!_0x121e97[_0x1fb5('0x41')]&&_0x79f50f['creator'])break;if(_0x79f50f['creator']||!_0x121e97[_0x1fb5('0x41')]){if(_0x121e97[_0x1fb5('0x4b')]>_0x79f50f[_0x1fb5('0x4b')])break;_0x15e4e6++;}else _0x15e4e6++;}}return _0x15e4e6;}[_0x1fb5('0x92')](_0x5af8df){const _0x1f9f70=this[_0x1fb5('0x25')]['getRevision'](_0x5af8df['id']);if(_0x5af8df['createdAt']&&(_0x5af8df['createdAt']=new Date(_0x5af8df[_0x1fb5('0x4b')])),_0x5af8df[_0x1fb5('0xc9')]){const _0x395ce3=this['editor'][_0x1fb5('0x49')]['get'](_0x1fb5('0x5f'));_0x5af8df[_0x1fb5('0xfb')]=_0x5af8df[_0x1fb5('0xc9')]['map'](_0x28646c=>_0x395ce3['getUser'](_0x28646c));}_0x1f9f70[_0x1fb5('0xec')](_0x5af8df,!0x0);}[_0x1fb5('0xa')]({revision:_0x2c8a13=null,from:_0x5052e0=null,to:_0x47af06=null}){_0x5052e0=null!==_0x5052e0?_0x5052e0:_0x2c8a13[_0x1fb5('0x89')],_0x47af06=null!==_0x47af06?_0x47af06:_0x2c8a13[_0x1fb5('0x42')];const _0x3321d8=this['_revisionDataBuilder'][_0x1fb5('0xfd')](_0x5052e0,_0x47af06),_0x3122c0={'diffData':_0x3321d8['diffData'],'authorsIds':_0x3321d8[_0x1fb5('0xc9')],'fromVersion':_0x5052e0,'toVersion':_0x47af06};if(!_0x2c8a13||_0x47af06!==_0x2c8a13['toVersion']){const _0x315b6f=_0x47af06-0x1,_0x50f6c0=this[_0x1fb5('0x4d')][_0x1fb5('0x3d')][_0x1fb5('0x99')](_0x315b6f);_0x3122c0[_0x1fb5('0x4b')]=_0x50f6c0&&_0x50f6c0[_0x1fb5('0x4b')]||new Date();}if(this[_0x1fb5('0x7')]&&_0x5052e0===this[_0x1fb5('0x7')][_0x1fb5('0x89')])for(const _0x19d262 of this[_0x1fb5('0x7')]['authors'])_0x3122c0[_0x1fb5('0xc9')][_0x1fb5('0xcd')](_0x19d262['id'])||_0x3122c0[_0x1fb5('0xc9')][_0x1fb5('0x86')](_0x19d262['id']);return _0x3122c0;}['_loadRevisionData'](_0x34e0ca){if(!_0x34e0ca||_0x34e0ca[_0x1fb5('0xb0')])return Promise['resolve']();{const _0x54723a=this[_0x1fb5('0xea')][_0x1fb5('0xf9')]['get'](_0x1fb5('0x8d'));return this[_0x1fb5('0xce')][_0x1fb5('0x33')]({'channelId':_0x54723a,'revisionId':_0x34e0ca['id']})[_0x1fb5('0x5c')](_0xc850e8=>{_0x34e0ca['diffData']=_0xc850e8['diffData'];});}}[_0x1fb5('0xac')](_0x6d0500,_0x3d2e51,_0x25f202){if(this[_0x1fb5('0xa0')]['has'](_0x6d0500)){const _0x21d12d=this[_0x1fb5('0xa0')][_0x1fb5('0xc8')](_0x6d0500);_0x3d2e51=_0x25f202?{..._0x21d12d,..._0x3d2e51}:{..._0x3d2e51,..._0x21d12d};}this['_bufferedUpdates'][_0x1fb5('0x7e')](_0x6d0500,_0x3d2e51);}[_0x1fb5('0xf1')](_0x148a7d){const _0x40c686=this[_0x1fb5('0x25')]['getRevisions']();_0x40c686[_0x1fb5('0xd5')](),_0x40c686[_0x1fb5('0x7f')]();const _0x3abf77=_0x40c686['find'](_0x6203ec=>_0x6203ec[_0x1fb5('0x42')]<=_0x148a7d)['toVersion'];return _0x3abf77<this[_0x1fb5('0x96')]?this[_0x1fb5('0x96')]:_0x3abf77;}[_0x1fb5('0xb')](_0x536188){const _0x46c81d=this['repository'][_0x1fb5('0x33')](this['repository'][_0x1fb5('0x107')]-0x1);if(_0x46c81d)this[_0x1fb5('0x2c')]=_0x46c81d['id'];else{const _0x3ac6c1=!this['editor'][_0x1fb5('0x34')]['document'][_0x1fb5('0xdc')][_0x1fb5('0x95')](_0x3a7499=>this['editor']['model'][_0x1fb5('0xc7')](_0x3a7499)),_0x1a552c=this[_0x1fb5('0xea')]['plugins'][_0x1fb5('0xc8')](_0x1fb5('0x5f'))['me']['id'],_0x5387bf=_0x32ca8b(this['editor'][_0x1fb5('0xe4')],_0x3ac6c1?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x536188,'to':_0x536188,'id':this[_0x1fb5('0x2c')],'name':_0x5387bf,'creatorId':_0x1a552c});}}[_0x1fb5('0x103')](_0x5b403a){const _0x1169c1=this[_0x1fb5('0x4d')][_0x1fb5('0x8f')]();this[_0x1fb5('0xd8')]=this['repository']['getRevision'](_0x1169c1),this['currentRevision']||(this['currentRevision']=this[_0x1fb5('0x3a')]({'from':_0x5b403a,'to':_0x5b403a,'id':_0x1169c1,'name':'','creatorId':null}));}[_0x1fb5('0x3a')]({name:_0xe8d6cf,from:_0x20ff62,to:_0x5e467d,creatorId:_0x414695,id:_0x1d60cb}){const _0x46f06b=this[_0x1fb5('0xa')]({'from':_0x20ff62,'to':_0x5e467d});_0x46f06b[_0x1fb5('0xfe')]=_0xe8d6cf,_0x46f06b['creatorId']=_0x414695,_0x46f06b['id']=_0x1d60cb;const _0x574574=this['addRevisionData'](_0x46f06b);return this['adapter']&&this['_bufferUpdate'](_0x46f06b['id'],_0x46f06b,!0x0),_0x574574;}[_0x1fb5('0xe5')](){this[_0x1fb5('0xea')][_0x1fb5('0xa1')][_0x1fb5('0x36')](_0x1fb5('0x9f'))[_0x1fb5('0x40')]({'model':_0x1fb5('0x4e')});}['_removeRevisionMarkers'](_0x1a8afb){return(_0x1a8afb=_0x1a8afb['filter'](_0x15fbd5=>!_0x15fbd5[_0x1fb5('0xfe')]||_0x1fb5('0x50')!==_0x15fbd5[_0x1fb5('0xfe')]&&_0x1fb5('0x5a')!==_0x15fbd5['name']))['forEach'](_0x3d0efb=>{_0x1fb5('0x6a')!=typeof _0x3d0efb&&(_0x3d0efb['children']=this[_0x1fb5('0x6d')](_0x3d0efb[_0x1fb5('0xc5')]),_0x3d0efb['attributes']=_0x3d0efb[_0x1fb5('0x76')]['filter'](_0x3a4824=>!_0x3a4824[0x0][_0x1fb5('0xca')](_0x1fb5('0xfa'))));}),_0x1a8afb;}}function J(_0x3d0f10,_0x3afc6d){const _0x1cc637=_0x3afc6d['editing']['view'][_0x1fb5('0x9a')];if('string'==typeof _0x3d0f10)return new _0x3d0082(_0x1cc637,_0x3d0f10);{const _0x5ef254=_0x3d0f10[_0x1fb5('0xc5')][_0x1fb5('0xc1')](_0x301768=>J(_0x301768,_0x3afc6d));return new(B[_0x3d0f10[(_0x1fb5('0x1c'))]]||_0x5e937e)(_0x1cc637,_0x3d0f10[_0x1fb5('0xfe')],_0x3d0f10[_0x1fb5('0x76')],_0x5ef254);}}class H{constructor(_0x16a010){this[_0x1fb5('0xea')]=_0x16a010,this[_0x1fb5('0x20')]=new Map(),this[_0x1fb5('0xa8')]=-0x1,this['_lastTo']=-0x1,this[_0x1fb5('0xf2')]=new Map(),this[_0x1fb5('0x2b')]=new Map(),this[_0x1fb5('0xb6')]=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this[_0x1fb5('0xd1')]=new Map(),this[_0x1fb5('0x26')]=new Map(),this[_0x1fb5('0x7d')]=new Map(),this['_touchedMarkers']=new Map(),this[_0x1fb5('0xd7')]=new Map(),this[_0x1fb5('0x53')]=0x1;}[_0x1fb5('0x84')](_0x556069){this[_0x1fb5('0x98')]=_0x556069;const _0x5c57dd=new Map(),_0x1adfeb=new Map(),_0x9a5593=this[_0x1fb5('0xea')]['model']['document'][_0x1fb5('0xdc')]['map'](_0x76844f=>_0x76844f[_0x1fb5('0x51')]);for(const _0x584e76 of _0x9a5593){const _0x231ad8=this['editor'][_0x1fb5('0x34')]['document'][_0x1fb5('0xda')](_0x584e76),_0x4f54da=q(_0x231ad8);_0x5c57dd[_0x1fb5('0x7e')](_0x584e76,_0x4f54da),_0x1adfeb['set'](_0x584e76,Object[_0x1fb5('0xb5')](_0x231ad8[_0x1fb5('0x73')]()));}const _0x5e23e7=Array[_0x1fb5('0x9e')](this[_0x1fb5('0xea')][_0x1fb5('0x34')]['markers'])['map'](_0x2cc59c=>[_0x2cc59c[_0x1fb5('0xfe')],_0x2cc59c[_0x1fb5('0x44')]()]),_0x3d9ac4=this['source'][_0x1fb5('0xf7')];this[_0x1fb5('0xef')](_0x3d9ac4,_0x5c57dd,_0x5e23e7,_0x1adfeb),this[_0x1fb5('0x45')]=this[_0x1fb5('0x53')];const _0x27dd20=new Map(),_0x4ba23c=new Map();for(const _0x53bf3a of _0x9a5593){const _0x1228d4=G(_0x53bf3a);_0x27dd20[_0x1fb5('0x7e')](_0x53bf3a,_0x1228d4),_0x4ba23c[_0x1fb5('0x7e')](_0x53bf3a,{});}this[_0x1fb5('0xef')](Number[_0x1fb5('0x6')],_0x27dd20,[],_0x4ba23c);}[_0x1fb5('0xfd')](_0x10fd09,_0x2e46d8){if(this[_0x1fb5('0xa8')]===_0x10fd09&&this[_0x1fb5('0xb8')]<=_0x2e46d8)this[_0x1fb5('0x20')]['size']>0x1&&this[_0x1fb5('0x24')](this[_0x1fb5('0xb8')]),this[_0x1fb5('0x8b')](this['_lastTo'],_0x2e46d8,!0x0);else{if(!this[_0x1fb5('0x20')][_0x1fb5('0x6c')](_0x10fd09)){const _0x507a90=this['_getPreviousFrom'](_0x10fd09);this[_0x1fb5('0x38')](_0x507a90,_0x10fd09,!0x1);}this[_0x1fb5('0x38')](_0x10fd09,_0x2e46d8,!0x0);}return this['_lastFrom']=_0x10fd09,this[_0x1fb5('0xb8')]=_0x2e46d8,this[_0x1fb5('0x8')]();}[_0x1fb5('0x77')](_0x4cb068){this[_0x1fb5('0x30')](),this[_0x1fb5('0xa8')]=_0x4cb068[_0x1fb5('0x89')],this[_0x1fb5('0xb8')]=_0x4cb068[_0x1fb5('0x42')];for(const _0x188afc in _0x4cb068[_0x1fb5('0xb0')]){const _0xf7409c=_0x4cb068[_0x1fb5('0xb0')][_0x188afc][_0x1fb5('0x17')],_0x4ab1e=_0x32fc6f(_0x4cb068['diffData'][_0x188afc][_0x1fb5('0xa5')])||{},_0x1cace0=this[_0x1fb5('0x70')](_0x4cb068[_0x1fb5('0xb0')][_0x188afc]['deletions']);_0x1cace0[_0x1fb5('0x51')]=_0x188afc,_0x1cace0[_0x1fb5('0x69')]=!_0xf7409c||!_0xf7409c[_0x1fb5('0xd')],_0x1cace0[_0x1fb5('0xd')]=()=>_0x1cace0[_0x1fb5('0x69')],this['_baseRoots'][_0x1fb5('0x7e')](_0x188afc,_0x1cace0),this['_baseRootsAttributes'][_0x1fb5('0x7e')](_0x188afc,_0x4ab1e),_0xf7409c&&this[_0x1fb5('0xd7')][_0x1fb5('0x7e')](_0x188afc,_0xf7409c);const _0x43a034=this[_0x1fb5('0x4a')](_0x1cace0);this[_0x1fb5('0x26')][_0x1fb5('0x7e')](_0x188afc,_0x43a034);for(const [_0x3d17bc,_0x3ee84c]of _0x1cace0[_0x1fb5('0x109')]){if(!_0x3d17bc[_0x1fb5('0xca')](_0x1fb5('0x104')))continue;const _0x3d7ce6=_0x3d17bc[_0x1fb5('0x6f')](':')[0x2];for(const _0x19f504 of _0x3ee84c[_0x1fb5('0x4')]({'singleCharacters':!0x0})){const _0x1bd71d=this[_0x1fb5('0xe0')](_0x19f504),_0x230d3d=_0x1fb5('0xd6')==_0x19f504[_0x1fb5('0x1c')]?_0x19f504['previousPosition'][_0x1fb5('0x29')][_0x1fb5('0xbd')](0x0,-0x1):_0x19f504[_0x1fb5('0x10')][_0x1fb5('0x29')],_0x4a704b=_0x43a034[_0x1fb5('0x3c')](_0x230d3d)['getAttribute'](_0x1bd71d);this[_0x1fb5('0x7d')][_0x1fb5('0x7e')](_0x4a704b,{'userId':_0x3d7ce6});}}}this['_startingRevisionId']=this['_revisionId'];const _0x28ef75=[...Array(this[_0x1fb5('0x53')])[_0x1fb5('0x1d')]()][_0x1fb5('0xbd')](0x1)['filter'](_0x1927f2=>!this[_0x1fb5('0x7d')][_0x1fb5('0x6c')](_0x1927f2));let _0x4aab7e=0x0;const _0x1372d3=new Map();for(const _0x57535d in _0x4cb068[_0x1fb5('0xb0')]){const _0x1f6f48=_0x4cb068[_0x1fb5('0xb0')][_0x57535d][_0x1fb5('0x17')],_0x4b1eb4=_0x32fc6f(_0x4cb068[_0x1fb5('0xb0')][_0x57535d]['attributesAfter'])||{},_0x51db2e=this[_0x1fb5('0x70')](_0x4cb068['diffData'][_0x57535d][_0x1fb5('0x19')]);_0x51db2e['rootName']=_0x57535d,_0x51db2e[_0x1fb5('0x69')]=!_0x1f6f48||_0x1f6f48[_0x1fb5('0xd')],_0x51db2e[_0x1fb5('0xd')]=()=>_0x51db2e['_isAttached'],this[_0x1fb5('0x2b')][_0x1fb5('0x7e')](_0x57535d,_0x51db2e),this[_0x1fb5('0xb6')]['set'](_0x57535d,_0x4b1eb4);const _0x33cc2a=this[_0x1fb5('0x4a')](_0x51db2e,Number[_0x1fb5('0x6')]);this[_0x1fb5('0xd1')]['set'](_0x57535d,_0x33cc2a),_0x1372d3[_0x1fb5('0x7e')](_0x57535d,_0x51db2e[_0x1fb5('0xd')]()?_0x4b1eb4:{});for(const [_0x2eb19c,_0x27218d]of _0x51db2e['markers']){if(!_0x2eb19c[_0x1fb5('0xca')](_0x1fb5('0x104')))continue;const _0x3c317e=_0x2eb19c[_0x1fb5('0x6f')](':')[0x2];for(const _0x4bcf63 of _0x27218d[_0x1fb5('0x4')]({'singleCharacters':!0x0})){const _0x16a9e6=this['_getVidAttributeName'](_0x4bcf63),_0x4e42fb=this[_0x1fb5('0x53')]++,_0x38ba19=_0x1fb5('0xd6')==_0x4bcf63[_0x1fb5('0x1c')]?_0x4bcf63[_0x1fb5('0x10')][_0x1fb5('0x29')][_0x1fb5('0xbd')](0x0,-0x1):_0x4bcf63[_0x1fb5('0x10')]['path'];_0x33cc2a[_0x1fb5('0x3c')](_0x38ba19)['_setAttribute'](_0x16a9e6,_0x4e42fb),this[_0x1fb5('0x7d')][_0x1fb5('0x7e')](_0x4e42fb,{'userId':_0x3c317e});}}for(const _0x43cdb1 of this[_0x1fb5('0xea')]['model']['createRangeIn'](_0x51db2e)[_0x1fb5('0x4')]({'singleCharacters':!0x0})){const _0x2c7bc0=this['_getVidAttributeName'](_0x43cdb1),_0x25e8c4='elementEnd'==_0x43cdb1[_0x1fb5('0x1c')]?_0x43cdb1['previousPosition'][_0x1fb5('0x29')][_0x1fb5('0xbd')](0x0,-0x1):_0x43cdb1[_0x1fb5('0x10')][_0x1fb5('0x29')],_0x52e5ad=_0x33cc2a['getNodeByPath'](_0x25e8c4);_0x52e5ad[_0x1fb5('0xd4')](_0x2c7bc0)>0x0||_0x52e5ad[_0x1fb5('0x87')](_0x2c7bc0,_0x28ef75[_0x4aab7e++]);}for(const [_0x3e997d,_0x531d23]of _0x51db2e[_0x1fb5('0x109')])_0x3e997d[_0x1fb5('0xca')](_0x1fb5('0x104'))||this[_0x1fb5('0xf2')][_0x1fb5('0x7e')](_0x3e997d,_0x531d23);}const _0x356184=G(_0x1fb5('0xc0'));this[_0x1fb5('0x9')][_0x1fb5('0x7e')](_0x1fb5('0xc0'),_0x356184),this['_baseIdsRoots'][_0x1fb5('0x7e')](_0x1fb5('0xc0'),this[_0x1fb5('0x4a')](_0x356184,0x1));const _0x4febe3=G(_0x1fb5('0xc0'));this['_diffRoots'][_0x1fb5('0x7e')](_0x1fb5('0xc0'),_0x4febe3),this['_idsRoots'][_0x1fb5('0x7e')](_0x1fb5('0xc0'),this['_makeIdsRoot'](_0x4febe3,0x1));const _0x4efc67=Array[_0x1fb5('0x9e')](this[_0x1fb5('0x2b')])[_0x1fb5('0xc1')](([_0x4be5a7,_0x555712])=>[_0x4be5a7,q(_0x555712)]);this['_saveMetaData'](this[_0x1fb5('0xb8')],_0x4efc67,this[_0x1fb5('0xf2')],_0x1372d3);}[_0x1fb5('0x70')](_0x1fe61d){const _0x3db6c8=JSON[_0x1fb5('0xa2')](_0x1fe61d),_0x32c2be=this[_0x1fb5('0xea')][_0x1fb5('0x52')][_0x1fb5('0x88')][_0x1fb5('0x9a')],_0x133be1=new _0xfd42cc(_0x32c2be,_0x3db6c8['map'](_0x4a1aa6=>J(_0x4a1aa6,this[_0x1fb5('0xea')])));return this[_0x1fb5('0xea')][_0x1fb5('0x22')][_0x1fb5('0x4c')](_0x133be1);}[_0x1fb5('0xef')](_0x4b3c09,_0x3d883e,_0x4bb2cf,_0x206dc5){const _0x5c85af=new Map(_0x3d883e),_0x16bebe=new Map(_0x32fc6f(_0x206dc5)),_0x4bfcb2=new Map();for(const [_0x4a70c6,_0xdb5d62]of _0x4bb2cf)_0x4bfcb2['set'](_0x4a70c6,{'start':_0xdb5d62[_0x1fb5('0xbb')][_0x1fb5('0xaa')](),'end':_0xdb5d62['end'][_0x1fb5('0xaa')](),'rootName':_0xdb5d62[_0x1fb5('0x3e')][_0x1fb5('0x51')]});this['_savedMetaData'][_0x1fb5('0x7e')](_0x4b3c09,{'roots':_0x5c85af,'markers':_0x4bfcb2,'rootsAttributes':_0x16bebe});}[_0x1fb5('0x24')](_0x3d429c){this[_0x1fb5('0x20')][_0x1fb5('0x2')](_0x3d429c);}[_0x1fb5('0xb9')](){this[_0x1fb5('0x30')](),this[_0x1fb5('0xa8')]=-0x1,this['_lastTo']=-0x1,this[_0x1fb5('0x20')]['clear'](),this[_0x1fb5('0x84')](this[_0x1fb5('0x98')]);}[_0x1fb5('0x30')](){this[_0x1fb5('0x7d')][_0x1fb5('0xd0')](),this[_0x1fb5('0xc4')][_0x1fb5('0xd0')](),this[_0x1fb5('0xd7')]['clear'](),this[_0x1fb5('0x2b')][_0x1fb5('0xd0')](),this[_0x1fb5('0xb6')][_0x1fb5('0xd0')](),this[_0x1fb5('0x9')][_0x1fb5('0xd0')](),this[_0x1fb5('0xe7')][_0x1fb5('0xd0')](),this['_idsRoots'][_0x1fb5('0xd0')](),this[_0x1fb5('0x26')][_0x1fb5('0xd0')](),this[_0x1fb5('0xf2')][_0x1fb5('0xd0')](),this[_0x1fb5('0x53')]=0x1,this[_0x1fb5('0x45')]=this[_0x1fb5('0x53')];}[_0x1fb5('0x4a')](_0xe54a58,_0x58c5b4=null){let _0x5e8a0e=null;_0xe54a58['is'](_0x1fb5('0x78'))||(_0x5e8a0e=new _0x402e68(_0xe54a58[_0x1fb5('0xfe')],{'vid_start':null===_0x58c5b4?this[_0x1fb5('0x53')]++:_0x58c5b4++}));const _0x19f6ad=[];for(const _0x4d644f of _0xe54a58[_0x1fb5('0xeb')]())if(_0x4d644f['is']('element')){_0x19f6ad[_0x1fb5('0x86')](this['_makeIdsRoot'](_0x4d644f,_0x58c5b4));const _0x55c827=_0x19f6ad[_0x19f6ad['length']-0x1];null!==_0x58c5b4&&(_0x58c5b4=_0x55c827['is'](_0x1fb5('0x64'),'$text')?_0x55c827[_0x1fb5('0xd4')](_0x1fb5('0x16'))+0x1:_0x55c827[_0x1fb5('0xd4')](_0x1fb5('0x102'))+0x1);}else for(let _0x33e89e=0x0;_0x33e89e<_0x4d644f['offsetSize'];_0x33e89e++)_0x19f6ad['push'](new _0x402e68('$text',{'vid':null===_0x58c5b4?this[_0x1fb5('0x53')]++:_0x58c5b4++}));if(_0xe54a58['is'](_0x1fb5('0x78'))){const _0x23e01c=G(_0xe54a58['rootName']);return _0x23e01c['_insertChild'](0x0,_0x19f6ad),_0x23e01c;}return _0x5e8a0e[_0x1fb5('0x87')](_0x1fb5('0x102'),null===_0x58c5b4?this[_0x1fb5('0x53')]++:_0x58c5b4++),_0x5e8a0e[_0x1fb5('0xf0')](0x0,_0x19f6ad),_0x5e8a0e;}['_calculateMetaData'](_0x1008b8,_0xc96d8e,_0x27b2d8){this[_0x1fb5('0x30')]();const {roots:_0xb21eab,markers:_0x5d1cc5,rootsAttributes:_0x47efdb}=this[_0x1fb5('0x20')][_0x1fb5('0xc8')](_0x1008b8);this[_0x1fb5('0x9')]=new Map(_0xb21eab),this['_baseRootsAttributes']=new Map(_0x32fc6f(_0x47efdb));for(const [_0x374d45,_0x2b939e]of this[_0x1fb5('0x9')])if(_0x1fb5('0xc0')!==_0x374d45&&(this['_diffRoots']['set'](_0x374d45,q(_0x2b939e)),this[_0x1fb5('0xb6')]=new Map(_0x32fc6f(_0x47efdb)),_0x27b2d8)){const _0x3eae5c=this[_0x1fb5('0x53')];this['_idsRoots'][_0x1fb5('0x7e')](_0x374d45,this['_makeIdsRoot'](_0x2b939e)),this[_0x1fb5('0x26')][_0x1fb5('0x7e')](_0x374d45,this[_0x1fb5('0x4a')](_0x2b939e,_0x3eae5c));}this[_0x1fb5('0x45')]=this['_revisionId'],this[_0x1fb5('0x2b')]['set']('$graveyard',q(this[_0x1fb5('0x9')][_0x1fb5('0xc8')](_0x1fb5('0xc0')))),_0x27b2d8&&this['_idsRoots'][_0x1fb5('0x7e')](_0x1fb5('0xc0'),this[_0x1fb5('0x4a')](this[_0x1fb5('0x9')][_0x1fb5('0xc8')]('$graveyard')));for(const [_0x274076,_0x4cde38]of _0x5d1cc5){const _0x2ea661=this['_baseRoots'][_0x1fb5('0xc8')](_0x4cde38[_0x1fb5('0x51')]),_0x478eed=this[_0x1fb5('0x2b')][_0x1fb5('0xc8')](_0x4cde38['rootName']),_0xb91c3a=new _0xb5b9b7(this[_0x1fb5('0xa6')](_0x4cde38[_0x1fb5('0xbb')],_0x2ea661),this['_fixPosition'](_0x4cde38[_0x1fb5('0x5e')],_0x2ea661)),_0x3938bb=this[_0x1fb5('0x0')](_0xb91c3a,_0x478eed);_0x2ea661[_0x1fb5('0x109')][_0x1fb5('0x7e')](_0x274076,_0xb91c3a),this[_0x1fb5('0xf2')][_0x1fb5('0x7e')](_0x274076,_0x3938bb);}this['_applyOperations'](_0x1008b8,_0xc96d8e,_0x27b2d8);}[_0x1fb5('0x8b')](_0x41e22,_0x275526,_0x2df71b){for(const _0x3da465 of this['source'][_0x1fb5('0xcb')](_0x41e22,_0x275526))this[_0x1fb5('0x8c')](_0x3da465,_0x2df71b);for(const _0x211126 of this['_diffRoots'][_0x1fb5('0x60')]())_0x211126[_0x1fb5('0x109')][_0x1fb5('0xd0')]();for(const [_0x270943,_0x488e48]of this['_markers']){this['_diffRoots'][_0x1fb5('0xc8')](_0x488e48[_0x1fb5('0x3e')][_0x1fb5('0x51')])['markers'][_0x1fb5('0x7e')](_0x270943,_0x488e48[_0x1fb5('0xaa')]());}const _0x49cebd=new Map(),_0xd6b624=new Map();for(const [_0x34163b,_0x88f6b6]of this[_0x1fb5('0x2b')])_0x49cebd[_0x1fb5('0x7e')](_0x34163b,q(_0x88f6b6)),_0xd6b624[_0x1fb5('0x7e')](_0x34163b,this[_0x1fb5('0xb6')]['get'](_0x34163b));this[_0x1fb5('0xef')](_0x275526,_0x49cebd,this[_0x1fb5('0xf2')],_0xd6b624);}[_0x1fb5('0xee')](_0x1e874d){const _0x2a3302=Array[_0x1fb5('0x9e')](this[_0x1fb5('0x20')][_0x1fb5('0x1d')]());_0x2a3302[_0x1fb5('0xcc')]((_0x372cb5,_0x569293)=>_0x372cb5-_0x569293),_0x2a3302['reverse']();for(const _0x5ad5b5 of _0x2a3302)if(_0x5ad5b5<_0x1e874d)return _0x5ad5b5;return Number[_0x1fb5('0x6')];}[_0x1fb5('0x18')](_0x4f3490,_0xc098ed){const _0x5197f0=Array['from'](_0xc098ed[_0x1fb5('0x109')])[_0x1fb5('0xc1')](([_0x45ea20,_0x3dead5])=>[_0x45ea20,this[_0x1fb5('0x0')](_0x3dead5,_0x4f3490)]);_0x4f3490[_0x1fb5('0x109')]=new Map(_0x5197f0);}[_0x1fb5('0xb4')](_0x5b6fc2){for(const _0x4d99cf of this[_0x1fb5('0xf2')]['values']()){const _0x4e3a55=_0x4d99cf[_0x1fb5('0x54')](_0x5b6fc2),_0x356229=_0xb5b9b7[_0x1fb5('0x67')](_0x4e3a55);_0x4d99cf['start']=_0x356229[_0x1fb5('0xbb')],_0x4d99cf[_0x1fb5('0x5e')]=_0x356229[_0x1fb5('0x5e')];}}[_0x1fb5('0x8c')](_0x56661a,_0x56f0b9){if(_0x1fb5('0x101')==_0x56661a[_0x1fb5('0x1c')]||_0x1fb5('0xb1')==_0x56661a[_0x1fb5('0x1c')])return void this[_0x1fb5('0x82')](_0x56661a,_0x56f0b9);if(_0x1fb5('0x58')==_0x56661a[_0x1fb5('0x1c')]){const _0x562d02=_0x56661a[_0x1fb5('0xad')][_0x1fb5('0x3e')][_0x1fb5('0x51')];this['_diffRoots']['has'](_0x562d02)||(this[_0x1fb5('0x2b')][_0x1fb5('0x7e')](_0x562d02,G(_0x562d02,!0x0)),this[_0x1fb5('0xb6')][_0x1fb5('0x7e')](_0x562d02,{}),_0x56f0b9&&this[_0x1fb5('0xd1')][_0x1fb5('0x7e')](_0x562d02,G(_0x562d02,!0x0)));}else{if('addRootAttribute'==_0x56661a[_0x1fb5('0x1c')]||_0x1fb5('0x46')==_0x56661a[_0x1fb5('0x1c')]||_0x1fb5('0x3')==_0x56661a[_0x1fb5('0x1c')])return void this[_0x1fb5('0x66')](_0x56661a);}const _0x4efbd9=this[_0x1fb5('0xe2')](_0x56661a,this[_0x1fb5('0x2b')]);if(_0x1fb5('0xf5')!==_0x56661a[_0x1fb5('0x1c')]&&(_0x4efbd9['_execute'](),this['_transformMarkers'](_0x4efbd9)),_0x56f0b9)switch(_0x4efbd9[_0x1fb5('0x1c')]){case _0x1fb5('0x58'):this[_0x1fb5('0xd2')](_0x56661a);break;case _0x1fb5('0x7a'):case'remove':case _0x1fb5('0x7c'):this[_0x1fb5('0x97')](_0x56661a);break;case _0x1fb5('0xa3'):this['_handleMergeOperation'](_0x56661a);break;case _0x1fb5('0x6f'):this[_0x1fb5('0x9d')](_0x56661a);break;case _0x1fb5('0xf5'):this[_0x1fb5('0x2a')](_0x56661a);}}[_0x1fb5('0xe2')](_0x2b18ea,_0x355934){const _0x1ed26a=_0x2b18ea['clone']();return _0x1ed26a[_0x1fb5('0xed')]=_0x2b18ea['_authorId'],this[_0x1fb5('0x10b')](_0x1ed26a,_0x355934),_0x1ed26a;}[_0x1fb5('0xb2')](_0x25b41e){return _0x25b41e[_0x1fb5('0xc1')](_0x208bc2=>{const _0x36a2fb=this[_0x1fb5('0xe0')](_0x208bc2);return Number(_0x208bc2[_0x1fb5('0x28')]['getAttribute'](_0x36a2fb));});}['_generateTape'](_0xb6f087,_0x2e7c62){if(_0xb6f087['is'](_0x1fb5('0x64'),_0x1fb5('0xf6')))_0x2e7c62[_0x1fb5('0x86')]({'item':_0xb6f087,'type':_0x1fb5('0xb3')});else{_0xb6f087['is'](_0x1fb5('0x64'))&&_0x2e7c62[_0x1fb5('0x86')]({'item':_0xb6f087,'type':_0x1fb5('0x21')});for(const _0x9ca40c of _0xb6f087[_0x1fb5('0xeb')]())this[_0x1fb5('0xa7')](_0x9ca40c,_0x2e7c62);_0xb6f087['is']('element')&&_0x2e7c62[_0x1fb5('0x86')]({'item':_0xb6f087,'type':_0x1fb5('0xd6')});}return _0x2e7c62;}[_0x1fb5('0x8')](){const _0x466358=new Map(this[_0x1fb5('0x7d')]),_0x3ab2dc=new Map(_0x466358),_0x14c766=new Map(),_0x1f4727={'insertions':{},'deletions':{}},_0x417343={'insertions':{},'deletions':{}},_0x40dc9e=new Map(),_0x4ac612=new Set([...this[_0x1fb5('0x9')]['keys'](),...this[_0x1fb5('0x2b')][_0x1fb5('0x1d')]()]);_0x4ac612['delete'](_0x1fb5('0xc0'));for(const _0x537b11 of _0x4ac612){const _0x51095b=this[_0x1fb5('0x2b')][_0x1fb5('0xc8')](_0x537b11)||G(_0x537b11,!0x1),_0x567218=this[_0x1fb5('0x9')][_0x1fb5('0xc8')](_0x537b11)||G(_0x537b11,!0x1);_0x51095b[_0x1fb5('0xd')]()||_0x567218[_0x1fb5('0xd')]()?(_0x1f4727[_0x1fb5('0x19')][_0x537b11]=q(_0x51095b),_0x1f4727['deletions'][_0x537b11]=q(_0x567218),this[_0x1fb5('0x18')](_0x1f4727[_0x1fb5('0xf4')][_0x537b11],_0x567218),this[_0x1fb5('0x18')](_0x1f4727['insertions'][_0x537b11],_0x51095b),_0x417343[_0x1fb5('0x19')][_0x537b11]=this['_generateTape'](this[_0x1fb5('0xd1')][_0x1fb5('0xc8')](_0x537b11),[]),_0x417343[_0x1fb5('0xf4')][_0x537b11]=this['_generateTape'](this[_0x1fb5('0x26')][_0x1fb5('0xc8')](_0x537b11)||G(_0x537b11,!0x1),[])):_0x4ac612['delete'](_0x537b11);}for(const _0x20d8c2 of _0x4ac612){const _0x3afac2=_0x417343[_0x1fb5('0x19')][_0x20d8c2];for(const _0x4851f1 of _0x3afac2){const _0x4be839=this[_0x1fb5('0xe0')](_0x4851f1),_0x585f32=_0x4851f1[_0x1fb5('0x28')][_0x1fb5('0xd4')](_0x4be839);_0x3ab2dc[_0x1fb5('0x2')](_0x585f32),_0x585f32>=this[_0x1fb5('0x45')]&&_0x14c766['set'](_0x585f32,_0x466358['get'](_0x585f32));}}for(const _0x1f9b36 of _0x4ac612){const _0x12c025=_0x417343[_0x1fb5('0x19')][_0x1f9b36],_0xf21cf8=this[_0x1fb5('0xb2')](_0x417343['deletions'][_0x1f9b36]);let _0x51aba4=0x0;for(const _0x31cfdc of _0x12c025){const _0x1265ee=this[_0x1fb5('0xe0')](_0x31cfdc),_0x710701=_0x31cfdc['item'][_0x1fb5('0xd4')](_0x1265ee);if(!_0x14c766[_0x1fb5('0x6c')](_0x710701)&&!_0x40dc9e['has'](_0x710701)){if(_0x3ab2dc[_0x1fb5('0x6c')](_0x710701))_0x51aba4++;else{if(_0x710701!=_0xf21cf8[_0x51aba4]){const _0x57bc2c=_0x466358['get'](_0x710701)||_0x466358[_0x1fb5('0xc8')](_0xf21cf8[_0x51aba4]);for(;_0x710701!=_0xf21cf8[_0x51aba4];)_0x3ab2dc[_0x1fb5('0x6c')](_0xf21cf8[_0x51aba4])||(_0x40dc9e[_0x1fb5('0x7e')](_0xf21cf8[_0x51aba4],_0x57bc2c),_0x466358[_0x1fb5('0x7e')](_0xf21cf8[_0x51aba4],_0x57bc2c)),_0x51aba4++;}_0x51aba4++;}}}}for(const _0xb829b7 of _0x4ac612){const _0x46ee9d=_0x417343[_0x1fb5('0x19')][_0xb829b7];for(const _0x5c67ac of _0x46ee9d){const _0x17245d=this['_getVidAttributeName'](_0x5c67ac),_0x4b46f1=_0x5c67ac[_0x1fb5('0x28')][_0x1fb5('0xd4')](_0x17245d);if(_0x40dc9e[_0x1fb5('0x6c')](_0x4b46f1)){const _0xfbdaf7=_0x40dc9e[_0x1fb5('0xc8')](_0x4b46f1);_0x3ab2dc[_0x1fb5('0x6c')](_0x4b46f1)||_0x3ab2dc[_0x1fb5('0x7e')](_0x4b46f1,{..._0xfbdaf7}),_0x14c766['set'](_0x4b46f1,{..._0xfbdaf7});}}}for(const _0x40f2d9 of _0x3ab2dc[_0x1fb5('0x1d')]())_0x40f2d9>=this[_0x1fb5('0x45')]&&_0x3ab2dc[_0x1fb5('0x2')](_0x40f2d9);const _0x1270c0=new Map();for(const _0x4f31cf of _0x4ac612){let _0x3411ff=_0x417343[_0x1fb5('0x19')][_0x4f31cf];for(const _0x32a0f9 of _0x3411ff)if(_0x32a0f9[_0x1fb5('0x28')]['is'](_0x1fb5('0x64'),'tableCell')){const _0x291bfc=this[_0x1fb5('0xe0')](_0x32a0f9),_0x2a41e8=_0x32a0f9[_0x1fb5('0x28')][_0x1fb5('0xd4')](_0x291bfc);if(_0x14c766[_0x1fb5('0x6c')](_0x2a41e8)){const _0x521ec2=_0x32a0f9[_0x1fb5('0x28')][_0x1fb5('0x106')][_0x1fb5('0x106')][_0x1fb5('0xd4')](_0x1fb5('0x10c')),_0x28861e=_0x1270c0['get'](_0x521ec2)||new Set();_0x28861e[_0x1fb5('0x1b')](_0x14c766['get'](_0x2a41e8)[_0x1fb5('0x2f')]),_0x1270c0[_0x1fb5('0x7e')](_0x521ec2,_0x28861e);}}_0x3411ff=_0x417343[_0x1fb5('0xf4')][_0x4f31cf];for(const _0x598355 of _0x3411ff)if(_0x598355[_0x1fb5('0x28')]['is'](_0x1fb5('0x64'),_0x1fb5('0x65'))){const _0x4b34e5=this[_0x1fb5('0xe0')](_0x598355),_0x16d616=_0x598355[_0x1fb5('0x28')][_0x1fb5('0xd4')](_0x4b34e5);if(_0x3ab2dc[_0x1fb5('0x6c')](_0x16d616)){const _0x2750ff=_0x598355['item'][_0x1fb5('0x106')][_0x1fb5('0x106')][_0x1fb5('0xd4')](_0x1fb5('0x10c')),_0x5b7685=_0x1270c0[_0x1fb5('0xc8')](_0x2750ff)||new Set();_0x5b7685['add'](_0x3ab2dc[_0x1fb5('0xc8')](_0x16d616)[_0x1fb5('0x2f')]),_0x1270c0[_0x1fb5('0x7e')](_0x2750ff,_0x5b7685);}}for(const _0x5608fa of _0x1270c0[_0x1fb5('0x1d')]())(_0x14c766[_0x1fb5('0x6c')](_0x5608fa)||_0x3ab2dc['has'](_0x5608fa))&&_0x1270c0[_0x1fb5('0x2')](_0x5608fa);}for(const _0x5285a0 of _0x4ac612){const _0x4633d7=_0x417343[_0x1fb5('0x19')][_0x5285a0];let _0x12a85e=null,_0x19f04c=null;for(const _0xea2182 of _0x4633d7){const _0x21aad4=this[_0x1fb5('0xe0')](_0xea2182),_0x2f2441=_0xea2182[_0x1fb5('0x28')][_0x1fb5('0xd4')](_0x21aad4),_0x5b063b=_0x1270c0[_0x1fb5('0xc8')](_0x2f2441);_0x5b063b&&'elementStart'==_0xea2182[_0x1fb5('0x1c')]&&(_0x12a85e=Array[_0x1fb5('0x9e')](_0x5b063b)[0x0],_0x19f04c=_0xea2182[_0x1fb5('0x28')][_0x1fb5('0xd4')](_0x1fb5('0x102'))),_0x12a85e&&(_0x3ab2dc[_0x1fb5('0x7e')](_0x2f2441,{'userId':_0x12a85e}),_0x14c766[_0x1fb5('0x7e')](_0x2f2441,{'userId':_0x12a85e})),_0x2f2441==_0x19f04c&&(_0x12a85e=null,_0x19f04c=null);}}const _0x6d3bf={},_0x3afe71=new Set();for(const _0x2b4121 of _0x4ac612){const _0xa4523=_0x1f4727[_0x1fb5('0xf4')][_0x2b4121],_0x3532d8=_0x1f4727[_0x1fb5('0x19')][_0x2b4121];for(const {userId:_0x39b3da}of this[_0x1fb5('0xc4')][_0x1fb5('0x60')]())null!==_0x39b3da&&_0x3afe71[_0x1fb5('0x1b')](_0x39b3da);for(const {userId:_0x21567c}of this[_0x1fb5('0xd7')][_0x1fb5('0x60')]())null!==_0x21567c&&_0x3afe71[_0x1fb5('0x1b')](_0x21567c);this[_0x1fb5('0xdd')](_0x3532d8,_0x417343['insertions'][_0x2b4121],_0x14c766,_0x1fb5('0xf8'),_0x3afe71),this[_0x1fb5('0xdd')](_0xa4523,_0x417343[_0x1fb5('0xf4')][_0x2b4121],_0x3ab2dc,_0x1fb5('0x94'),_0x3afe71),_0x6d3bf[_0x2b4121]={'insertions':this[_0x1fb5('0xbe')](_0x3532d8),'deletions':this[_0x1fb5('0xbe')](_0xa4523),'attachChange':this[_0x1fb5('0xd7')][_0x1fb5('0xc8')](_0x2b4121)||null,'attributesBefore':_0x32fc6f(this[_0x1fb5('0xe7')][_0x1fb5('0xc8')](_0x2b4121))||{},'attributesAfter':_0x32fc6f(this[_0x1fb5('0xb6')]['get'](_0x2b4121))};}return{'diffData':_0x6d3bf,'authorsIds':Array[_0x1fb5('0x9e')](_0x3afe71)};}[_0x1fb5('0x5')](_0x1b56f0){for(const [,_0x33e6b1]of _0x1b56f0[_0x1fb5('0x109')]){const _0x6089f8=_0x33e6b1[_0x1fb5('0xbb')][_0x1fb5('0x3f')]()[_0x1fb5('0x63')](_0x3db150=>_0x1fb5('0x65')==_0x3db150[_0x1fb5('0xfe')]);for(const _0x118c6a of _0x6089f8)0x1==_0x118c6a[_0x1fb5('0x6b')]&&_0x118c6a['getChild'](0x0)['is'](_0x1fb5('0x64'),_0x1fb5('0x59'))&&_0x118c6a[_0x1fb5('0x13')](0x0)[_0x1fb5('0x87')](_0x1fb5('0xd3'),!0x0);}}[_0x1fb5('0xbe')](_0x343a9d){this['_processRootBeforeSave'](_0x343a9d);const _0x1d6deb=this['editor'][_0x1fb5('0x22')]['toView'](_0x343a9d,{}),_0x57aacc=Array[_0x1fb5('0x9e')](_0x1d6deb[_0x1fb5('0xeb')]())[_0x1fb5('0xc1')](_0x2d7e83=>this[_0x1fb5('0x62')](_0x2d7e83));return JSON[_0x1fb5('0xdf')](_0x57aacc);}[_0x1fb5('0x62')](_0x1c9395){if(_0x1c9395['is'](_0x1fb5('0xf6')))return _0x1c9395[_0x1fb5('0x22')];{const _0x4b4bb2=_0x1c9395;return{'type':Object[_0x1fb5('0x1d')](B)[_0x1fb5('0x95')](_0x14f040=>_0x1c9395 instanceof B[_0x14f040]),'name':_0x4b4bb2[_0x1fb5('0xfe')],'attributes':Array['from'](_0x4b4bb2[_0x1fb5('0x73')]()),'children':Array['from'](_0x4b4bb2['getChildren']())[_0x1fb5('0xc1')](_0x373ba2=>this[_0x1fb5('0x62')](_0x373ba2))};}}[_0x1fb5('0xdd')](_0x34aeae,_0x4639f0,_0x1721e4,_0x2ef19f,_0x2eb15a){let _0x458b48=null,_0x447411=null,_0x10f9b7=0x0;const _0xaff245=this[_0x1fb5('0xea')]['model'];for(let _0x5b6a73=0x0;_0x5b6a73<_0x4639f0[_0x1fb5('0x107')];_0x5b6a73++){const _0x4828=this['_getVidAttributeName'](_0x4639f0[_0x5b6a73]),_0x40a22a=_0x4639f0[_0x5b6a73][_0x1fb5('0x28')][_0x1fb5('0xd4')](_0x4828),_0xcbd42f=_0x1721e4[_0x1fb5('0xc8')](_0x40a22a),_0x428f63=_0x5b6a73==_0x4639f0['length']-0x1;(!_0x458b48&&_0xcbd42f&&(_0x458b48=_0xcbd42f,_0x447411=_0x4639f0[_0x5b6a73]),_0x458b48&&(!_0xcbd42f||_0xcbd42f[_0x1fb5('0x2f')]!=_0x458b48[_0x1fb5('0x2f')]))&&(_0x5492ce(_0xcbd42f,L(_0x447411,_0x34aeae,_0xaff245),L(_0x4639f0[_0x5b6a73],_0x34aeae,_0xaff245)),_0x458b48=_0xcbd42f||null,_0x447411=_0xcbd42f?_0x4639f0[_0x5b6a73]:null),_0x458b48&&_0x428f63&&_0x5492ce(_0xcbd42f,L(_0x447411,_0x34aeae,_0xaff245),W(_0x4639f0[_0x5b6a73],_0x34aeae,_0xaff245));}function _0x5492ce(_0x16eaa5,_0x1b1a8f,_0x5c808f){const _0x36a6a2=_0x458b48[_0x1fb5('0x2f')],_0x2add8f=_0x1fb5('0x104')+_0x2ef19f+':'+_0x36a6a2+':'+_0x10f9b7++,_0x59b17f=_0xaff245[_0x1fb5('0x105')](_0x1b1a8f,_0x5c808f);_0x34aeae[_0x1fb5('0x109')][_0x1fb5('0x7e')](_0x2add8f,_0x59b17f),null!==_0x36a6a2&&_0x2eb15a[_0x1fb5('0x1b')](_0x36a6a2);}}[_0x1fb5('0xe0')](_0x2a7d99){switch(_0x2a7d99[_0x1fb5('0x1c')]){case _0x1fb5('0x21'):return _0x1fb5('0x10c');case'elementEnd':return _0x1fb5('0x102');default:return'vid';}}[_0x1fb5('0x10b')](_0x53c2c2,_0x26969a){_0x53c2c2[_0x1fb5('0x10a')]=null;for(const _0x1cadf8 in _0x53c2c2){const _0x4c027b=_0x53c2c2[_0x1cadf8];if(_0x4c027b instanceof _0x28fd58){const _0x294113=_0x26969a[_0x1fb5('0xc8')](_0x4c027b[_0x1fb5('0x3e')]['rootName']);_0x53c2c2[_0x1cadf8]=this['_fixPosition'](_0x4c027b,_0x294113);}if(_0x4c027b instanceof _0xb5b9b7){const _0x293972=_0x26969a['get'](_0x4c027b[_0x1fb5('0x3e')][_0x1fb5('0x51')]);_0x53c2c2[_0x1cadf8]=this[_0x1fb5('0x0')](_0x4c027b,_0x293972);}'root'===_0x1cadf8&&(_0x53c2c2['root']=_0x26969a[_0x1fb5('0xc8')](_0x53c2c2[_0x1fb5('0x3e')][_0x1fb5('0x51')]));}}[_0x1fb5('0x0')](_0x12cf86,_0xf8522){return this[_0x1fb5('0xea')][_0x1fb5('0x34')][_0x1fb5('0x105')](this['_fixPosition'](_0x12cf86['start'],_0xf8522),this[_0x1fb5('0xa6')](_0x12cf86[_0x1fb5('0x5e')],_0xf8522));}[_0x1fb5('0xa6')](_0x483181,_0x1f7a34){return this[_0x1fb5('0xea')][_0x1fb5('0x34')][_0x1fb5('0x108')](_0x1f7a34,_0x483181['path'],_0x483181[_0x1fb5('0xb7')]);}[_0x1fb5('0xd2')](_0x584959){const _0x16cd59=this['_idsRoots']['get'](_0x584959[_0x1fb5('0xad')][_0x1fb5('0x3e')][_0x1fb5('0x51')]),_0x56fb15=this[_0x1fb5('0xa6')](_0x584959['position'],_0x16cd59),_0x35d5cf=null===_0x584959[_0x1fb5('0xed')]?null:_0x584959[_0x1fb5('0xed')]||this['editor'][_0x1fb5('0x49')]['get']('Users')['me']['id'],_0x5e5739=_0x56fb15[_0x1fb5('0x106')],_0x33792f=this['_revisionId'],_0x3b3707=[];for(const _0x387942 of _0x584959[_0x1fb5('0x35')])if(_0x387942['is'](_0x1fb5('0x64')))_0x3b3707[_0x1fb5('0x86')](this[_0x1fb5('0x4a')](_0x387942));else for(let _0x3fc1af=0x0;_0x3fc1af<_0x387942[_0x1fb5('0xbf')];_0x3fc1af++)_0x3b3707['push'](new _0x402e68(_0x1fb5('0xf6'),{'vid':this[_0x1fb5('0x53')]++}));const _0x4cd360=this[_0x1fb5('0x53')];for(let _0x17ea09=_0x33792f;_0x17ea09<_0x4cd360;_0x17ea09++)this[_0x1fb5('0x7d')][_0x1fb5('0x7e')](_0x17ea09,{'userId':_0x35d5cf});_0x5e5739[_0x1fb5('0xf0')](_0x56fb15[_0x1fb5('0xfc')],_0x3b3707);}[_0x1fb5('0x97')](_0x526ba2){(_0x526ba2=this['_cloneOperation'](_0x526ba2,this[_0x1fb5('0xd1')]))[_0x1fb5('0x72')]();const _0x4fc635=null===_0x526ba2['_authorId']?null:_0x526ba2[_0x1fb5('0xed')]||this[_0x1fb5('0xea')][_0x1fb5('0x49')][_0x1fb5('0xc8')](_0x1fb5('0x5f'))['me']['id'],_0x5109fc=_0x526ba2[_0x1fb5('0x2d')](),_0x51a28f=_0x5109fc[_0x1fb5('0x106')],_0x147b81=_0x5109fc[_0x1fb5('0xfc')];!function _0x35c836(_0x171de3,_0x3e8290,_0x533979,_0x5ba34c){for(let _0x5316ae=_0x533979;_0x5316ae<_0x5ba34c;_0x5316ae++){const _0x2393b4=_0x3e8290['getChild'](_0x5316ae);_0x2393b4['is'](_0x1fb5('0x64'),_0x1fb5('0xf6'))?_0x171de3[_0x1fb5('0x7e')](_0x2393b4[_0x1fb5('0xd4')]('vid'),{'userId':_0x4fc635}):(_0x171de3[_0x1fb5('0x7e')](_0x2393b4[_0x1fb5('0xd4')]('vid_start'),{'userId':_0x4fc635}),_0x35c836(_0x171de3,_0x2393b4,0x0,_0x2393b4[_0x1fb5('0x6b')]),_0x171de3[_0x1fb5('0x7e')](_0x2393b4[_0x1fb5('0xd4')](_0x1fb5('0x102')),{'userId':_0x4fc635}));}}(this[_0x1fb5('0x7d')],_0x51a28f,_0x147b81,_0x147b81+_0x526ba2[_0x1fb5('0xe9')]);}['_handleMergeOperation'](_0xd02a4f){const _0xf2214f=null===(_0xd02a4f=this[_0x1fb5('0xe2')](_0xd02a4f,this['_idsRoots']))[_0x1fb5('0xed')]?null:_0xd02a4f['_authorId']||this[_0x1fb5('0xea')]['plugins'][_0x1fb5('0xc8')](_0x1fb5('0x5f'))['me']['id'],_0x5746cd=_0xd02a4f['targetPosition'][_0x1fb5('0x106')],_0x3ae99f=_0xd02a4f['sourcePosition'][_0x1fb5('0x106')],_0x464a1d=_0x5746cd[_0x1fb5('0xd4')]('vid_end'),_0x98f37b=_0x3ae99f['getAttribute'](_0x1fb5('0x10c'));_0x5746cd[_0x1fb5('0x87')](_0x1fb5('0x102'),_0x3ae99f[_0x1fb5('0xd4')](_0x1fb5('0x102'))),_0x3ae99f[_0x1fb5('0x87')](_0x1fb5('0x102'),_0x464a1d),this[_0x1fb5('0x7d')]['set'](_0x98f37b,{'userId':_0xf2214f}),this['_touched'][_0x1fb5('0x7e')](_0x464a1d,{'userId':_0xf2214f}),_0xd02a4f['_execute']();}[_0x1fb5('0x9d')](_0x40377c){const _0xa20c1d=null===(_0x40377c=this[_0x1fb5('0xe2')](_0x40377c,this[_0x1fb5('0xd1')]))[_0x1fb5('0xed')]?null:_0x40377c['_authorId']||this[_0x1fb5('0xea')]['plugins'][_0x1fb5('0xc8')]('Users')['me']['id'],_0x27397b=_0x40377c[_0x1fb5('0x1e')],_0x20efda=_0x40377c[_0x1fb5('0x5b')]['parent'];_0x40377c[_0x1fb5('0x72')]();const _0x30b61f=_0x20efda['getAttribute']('vid_end'),_0x5a88b3=_0x40377c[_0x1fb5('0xc3')][_0x1fb5('0x85')];if(_0x27397b){const _0x26a7a7=_0x5a88b3[_0x1fb5('0xd4')](_0x1fb5('0x102')),_0x1cdec2=_0x20efda['getAttribute'](_0x1fb5('0x102'));_0x20efda[_0x1fb5('0x87')]('vid_end',_0x26a7a7),_0x5a88b3[_0x1fb5('0x87')](_0x1fb5('0x102'),_0x1cdec2),this[_0x1fb5('0x7d')][_0x1fb5('0x7e')](_0x20efda['getAttribute'](_0x1fb5('0x102')),{'userId':_0xa20c1d}),this[_0x1fb5('0x7d')][_0x1fb5('0x7e')](_0x5a88b3[_0x1fb5('0xd4')](_0x1fb5('0x10c')),{'userId':_0xa20c1d});}else{const _0x561c0b=this['_revisionId']++,_0x36239c=this[_0x1fb5('0x53')]++;_0x20efda[_0x1fb5('0x87')](_0x1fb5('0x102'),_0x561c0b),_0x5a88b3['_setAttribute']('vid_start',_0x36239c),_0x5a88b3[_0x1fb5('0x87')](_0x1fb5('0x102'),_0x30b61f),this[_0x1fb5('0x7d')][_0x1fb5('0x7e')](_0x561c0b,{'userId':_0xa20c1d}),this['_touched'][_0x1fb5('0x7e')](_0x36239c,{'userId':_0xa20c1d});}}[_0x1fb5('0x2a')](_0x536b06){if(!_0x536b06[_0x1fb5('0xc6')])return;const _0x2d11a7=(_0x536b06=this[_0x1fb5('0xe2')](_0x536b06,this['_diffRoots']))[_0x1fb5('0xf3')]?_0x536b06['oldRange'][_0x1fb5('0x3e')]:null,_0x5ae811=_0x536b06['newRange']?_0x536b06[_0x1fb5('0xba')][_0x1fb5('0x3e')]:null;_0x2d11a7&&this[_0x1fb5('0xf2')][_0x1fb5('0x2')](_0x536b06[_0x1fb5('0xfe')]),_0x5ae811&&this['_markers'][_0x1fb5('0x7e')](_0x536b06[_0x1fb5('0xfe')],_0x536b06['newRange'][_0x1fb5('0xaa')]());const _0x38d8bb=null===_0x536b06[_0x1fb5('0xed')]?null:_0x536b06[_0x1fb5('0xed')]||this[_0x1fb5('0xea')][_0x1fb5('0x49')][_0x1fb5('0xc8')](_0x1fb5('0x5f'))['me']['id'],_0x1118e5=_0x536b06['name'];if(!this['_touchedMarkers'][_0x1fb5('0x6c')](_0x1118e5))return void this[_0x1fb5('0xc4')][_0x1fb5('0x7e')](_0x1118e5,{'range':_0x536b06[_0x1fb5('0xf3')],'userId':_0x38d8bb});const _0x236ff1=this[_0x1fb5('0xc4')][_0x1fb5('0xc8')](_0x1118e5),_0x1f8f48=_0x236ff1[_0x1fb5('0xa9')],_0x3aef71=_0x536b06[_0x1fb5('0xba')];null==_0x1f8f48&&null==_0x3aef71||_0x1f8f48&&_0x3aef71&&_0x1f8f48[_0x1fb5('0x2e')](_0x3aef71)?this[_0x1fb5('0xc4')][_0x1fb5('0x2')](_0x536b06['name']):_0x236ff1[_0x1fb5('0x2f')]=_0x38d8bb;}[_0x1fb5('0x82')](_0x4cec3b,_0x1c5bcb){this[_0x1fb5('0x2b')][_0x1fb5('0x6c')](_0x4cec3b[_0x1fb5('0x51')])?this['_diffRoots'][_0x1fb5('0xc8')](_0x4cec3b[_0x1fb5('0x51')])[_0x1fb5('0x69')]=_0x4cec3b[_0x1fb5('0x8e')]:(this[_0x1fb5('0x2b')][_0x1fb5('0x7e')](_0x4cec3b[_0x1fb5('0x51')],G(_0x4cec3b['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4cec3b[_0x1fb5('0x51')],{}),_0x1c5bcb&&this['_idsRoots'][_0x1fb5('0x7e')](_0x4cec3b['rootName'],G(_0x4cec3b['rootName'],!0x0)));const _0x39dd7f=null===_0x4cec3b[_0x1fb5('0xed')]?null:_0x4cec3b[_0x1fb5('0xed')]||this[_0x1fb5('0xea')]['plugins'][_0x1fb5('0xc8')](_0x1fb5('0x5f'))['me']['id'],_0x1f355d=this[_0x1fb5('0xd7')]['get'](_0x4cec3b[_0x1fb5('0x51')]);_0x1f355d&&_0x1f355d[_0x1fb5('0x2f')]===_0x39dd7f?this[_0x1fb5('0xd7')][_0x1fb5('0x2')](_0x4cec3b['rootName']):this[_0x1fb5('0xd7')][_0x1fb5('0x7e')](_0x4cec3b[_0x1fb5('0x51')],{'userId':_0x39dd7f,'isAttached':_0x4cec3b[_0x1fb5('0x8e')]});}[_0x1fb5('0x66')](_0x21e2de){const _0x4ab6d5=this['_diffRootsAttributes'][_0x1fb5('0xc8')](_0x21e2de[_0x1fb5('0x3e')][_0x1fb5('0x51')]);null===_0x21e2de[_0x1fb5('0x100')]?delete _0x4ab6d5[_0x21e2de[_0x1fb5('0x55')]]:_0x4ab6d5[_0x21e2de[_0x1fb5('0x55')]]=_0x21e2de[_0x1fb5('0x100')];}}function q(_0x52461f){const _0x2676a2=G(_0x52461f[_0x1fb5('0x51')],_0x52461f['isAttached']());for(const _0x1a0122 of _0x52461f['getChildren']()){const _0x3ce151=_0x1a0122[_0x1fb5('0x4f')](!0x0);_0x2676a2[_0x1fb5('0xcf')](_0x3ce151);}return _0x2676a2;}function G(_0xd0d410,_0x209231=!0x0){const _0x3aafe6=new _0x20ef05();return _0x3aafe6[_0x1fb5('0x51')]=_0xd0d410,_0x3aafe6[_0x1fb5('0x69')]=_0x209231,_0x3aafe6[_0x1fb5('0xd')]=()=>_0x3aafe6[_0x1fb5('0x69')],_0x3aafe6;}function L(_0x3bf4cb,_0x197066,_0x53359d){const _0xc921e9='elementEnd'==_0x3bf4cb['type']?_0x53359d[_0x1fb5('0x1f')](_0x3bf4cb[_0x1fb5('0x28')],_0x1fb5('0x5e')):_0x53359d[_0x1fb5('0xff')](_0x3bf4cb['item']);return _0x53359d[_0x1fb5('0x108')](_0x197066,_0xc921e9['path'],_0xc921e9[_0x1fb5('0xb7')]);}function W(_0x5beeca,_0x2cfc8a,_0x1ccace){const _0xc40eac=_0x1fb5('0x21')==_0x5beeca[_0x1fb5('0x1c')]?_0x1ccace[_0x1fb5('0x1f')](_0x5beeca[_0x1fb5('0x28')],0x0):_0x1ccace[_0x1fb5('0x8a')](_0x5beeca[_0x1fb5('0x28')]);return _0x1ccace['createPositionFromPath'](_0x2cfc8a,_0xc40eac[_0x1fb5('0x29')],_0xc40eac['stickiness']);}
|
|
23
|
+
const _0x3caf=['_startingVersion','stringify','define','_fixOperation','_baseRootsAttributes','attachChange','getUser','addRevision','slice','_appendChild','isEqual','isAttached','end','editor','previousPosition','getRevisionDocumentData','_loadRevisionData','oldRange','_handleOperation','createPositionBefore','insert','move','_lastFrom','revision-start','getRevision','insertion','_getFromVersion','max','_getBaseVids','element','clear','creatorId','_makeIdsRoot','_initialRevisionId','RevisionsRepository','_applyOperations','creator','for','_fixPosition','_touchedMarkers','getChild','getLatestVersion','initialData','sendBufferedUpdates','elementEnd','data-revision-','_handleSplitOperation','push','baseVersion','getRootNames','parse','editing','startsWith','Initial\x20revision','_bufferUpdate','_update','_bufferedUpdates','ready','markerToData','elementStart','resolve','getAncestors','map','find','sourcePosition','stickiness','keepParagraph','getAttribute','forEach','from','getChildren','then','update','_saveMetaData','_transformMarkers','NEGATIVE_INFINITY','set','view','document','diffData','getOperations','getWalker','_handleMarkerOperation','range','model','createPositionAfter','split','PendingActions','_insertChild','authors','_handleInsertOperation','_reset','vid_end','pluginName','useFillerType','updateRevisions','_revisionId','keys','editor-initial-data-replaced-with-revision-data','bind','markers','createPositionAt','RealTimeCollaborationClient','targetPosition','getRange','_fixRange','_handleMoveOperation','reinsert','_calculateMetaData','position','_lastTo','vid','_getPreviousFrom','_makeModelFromViewString','_prepareViewToSave','_removeRevisionMarkers','revision','_source','attributesAfter','fromVersion','_idsRoots','source','afterInit','_pendingAction','_operations','offset','revisionHistory.resumeUnsavedRevision','attributes','item','remove','conversion','_authorId','$graveyard','length','filter','upcast','dataToMarker','toView','type','rootName','reverse','getIndex','_continueCurrentRevision','revision:','_baseIdsRoots','_handleRootOperation','_handleMergeOperation','userId','rootsAttributes','setSource','_diffRoots','getRoot','RevisionTracker','getData','_removePendingAction','_copyMarkers','$text','paragraph','attributesBefore','_touched','reInit','createRange','childCount','tableCell','newRange','_createCurrentRevision','start','_loadedStateData','key','_isAttached','_baseRoots','repository','adapter','config','version','_removeMetaData','trim','currentRevision','nodes','locale','add','_markers','_makeRevision','deletions','_revisionDataBuilder','includes','toModel','processor','root','some','_startingRevisionId','name','values','get','history','Users','_diffRootsAttributes','data','string','roots','_handleRootAttributeOperation','finally','createRevision','Empty\x20document','path','changeRootAttribute','_getVidAttributeName','buildRevisionData','getRevisions','_setAttribute','_touchedRoots','_setConversion','authorsIds','_getViewJson','newValue','collaboration.channelId','offsetSize','detachRoot','deletion','_processRootBeforeSave','_markChanges','fromEntries','getNodeByPath','initial','affectsData','init','documentFragment','_createInitialRevision','splitPosition','children','getRevisionRootsAttributes','PENDING_ACTION_REVISION_HISTORY','loadState','_isPendingUpdate','shift','saveRevision','getAttributes','insertions','_execute','sort','setRevisionData','graveyardPosition','createdAt','clone','size','marker','has','_savedMetaData','revision-end','_getState','createPositionFromPath','requires','createRangeIn','isReady','toVersion','default','addRootAttribute','parent','delete','plugins','addRevisionData','_cloneOperation','getCurrentRevisionId','_generateTape','_addPendingAction','vid_start','_loadState','_isInit'];(function(_0x483d03,_0x3caf56){const _0x41eda8=function(_0x298d78){while(--_0x298d78){_0x483d03['push'](_0x483d03['shift']());}};_0x41eda8(++_0x3caf56);}(_0x3caf,0x193));const _0x41ed=function(_0x483d03,_0x3caf56){_0x483d03=_0x483d03-0x0;let _0x41eda8=_0x3caf[_0x483d03];return _0x41eda8;};import{Users as _0x3529e5}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x4a4773,PendingActions as _0x13d6b6}from'ckeditor5/src/core';import{logWarning as _0x43a941,uid as _0x2f1c29}from'ckeditor5/src/utils';import{Position as _0x36d179,Range as _0x285279,Element as _0x2f4999,DocumentFragment as _0x4fa6bf,ViewText as _0x453e67,ViewElement as _0x5b0633,ViewContainerElement as _0x40ae22,ViewAttributeElement as _0x5d532c,ViewEmptyElement as _0x11af20,ViewRawElement as _0x5a0321,ViewUIElement as _0x4aedb7,ViewDocumentFragment as _0x5189f2}from'ckeditor5/src/engine';import _0x34cf7e from'./revisionsrepository';import{getTranslation as _0x2648c4}from'./utils/common-translations';import{cloneDeep as _0x2cd86e,isEqual as _0x173bf7}from'lodash-es';const B={'c':_0x40ae22,'a':_0x5d532c,'e':_0x11af20,'r':_0x5a0321,'u':_0x4aedb7};export default class l extends _0x4a4773{static get[_0x41ed('0xe2')](){return _0x41ed('0x11');}static get[_0x41ed('0x74')](){return[_0x3529e5,_0x34cf7e,_0x13d6b6];}constructor(_0x1bdc6d){super(_0x1bdc6d),this[_0x41ed('0x25')]=null,this[_0x41ed('0x2a')]=null,this[_0x41ed('0x31')]=new H(this[_0x41ed('0x92')]),this['_initialRevisionId']=this[_0x41ed('0x92')][_0x41ed('0x26')][_0x41ed('0x3a')](_0x41ed('0x50'))||_0x41ed('0x58'),this['_bufferedUpdates']=new Map(),this[_0x41ed('0x20')]=null;const _0x3e4fa5=_0x2f1c29();this['_source']={'history':this['editor'][_0x41ed('0xd9')][_0x41ed('0xd3')]['history'],'getLatestVersion':()=>Promise[_0x41ed('0xc1')](this['editor']['model']['document'][_0x41ed('0x27')]),'getCurrentRevisionId':()=>_0x3e4fa5},this['set'](_0x41ed('0x76'),!0x1),this[_0x41ed('0xd1')]('isEnabled',!0x0),this['set'](_0x41ed('0x62'),!0x1),this[_0x41ed('0x92')]['config'][_0x41ed('0x87')]('revisionHistory.resumeUnsavedRevision',!0x0),this['editor'][_0x41ed('0x107')][_0x41ed('0xaa')](_0x41ed('0x0'))[_0x41ed('0x1')]({'view':_0x41ed('0xf9')});}['init'](){this[_0x41ed('0x24')]=this[_0x41ed('0x92')]['plugins'][_0x41ed('0x3a')](_0x41ed('0xa7')),this[_0x41ed('0x4c')](),this[_0x41ed('0x92')][_0x41ed('0x3e')]['on'](_0x41ed('0xbe'),()=>{const _0x15e940=this['repository'][_0x41ed('0x9d')](0x0),_0x2fb41d=_0x15e940&&null===_0x15e940[_0x41ed('0xa9')]?_0x15e940:null;if(this[_0x41ed('0x7')]=!!_0x2fb41d&&this[_0x41ed('0x92')][_0x41ed('0x26')][_0x41ed('0x3a')](_0x41ed('0x103')),this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x6f')](_0x41ed('0xeb'))){const _0x252603=this['_source'][_0x41ed('0x7f')](),_0x509fa3=this[_0x41ed('0x24')]['getRevision'](_0x252603);if(_0x509fa3)this[_0x41ed('0x85')]=_0x509fa3[_0x41ed('0xfc')],this[_0x41ed('0x7')]=!0x1;else{const _0x2a6cc8=this[_0x41ed('0xfa')]['history'][_0x41ed('0x101')]['find'](_0x9ec38=>!_0x9ec38[_0x41ed('0x84')]),_0x37ca9b=_0x2a6cc8?_0x2a6cc8[_0x41ed('0xb5')]:this[_0x41ed('0xfa')][_0x41ed('0x3b')][_0x41ed('0x27')];_0x15e940?(_0x15e940['toVersion']<_0x37ca9b&&_0x15e940[_0x41ed('0xbc')]({'toVersion':_0x37ca9b}),this[_0x41ed('0x7')]?(this[_0x41ed('0xfa')]['getCurrentRevisionId']=()=>_0x2fb41d['id'],this['_startingVersion']=_0x2fb41d[_0x41ed('0xfc')]):(this['_startingVersion']=_0x15e940[_0x41ed('0x77')],this[_0x41ed('0x7')]=!0x1)):(this[_0x41ed('0x85')]=_0x37ca9b,this['_continueCurrentRevision']=!0x1);}}else _0x2fb41d&&(this[_0x41ed('0x92')][_0x41ed('0xd9')]['document'][_0x41ed('0x3b')][_0x41ed('0x27')]=Math[_0x41ed('0xa0')](_0x2fb41d[_0x41ed('0x77')],this['editor']['model']['document'][_0x41ed('0x3b')][_0x41ed('0x27')]),_0x2fb41d[_0x41ed('0xfc')]===_0x2fb41d[_0x41ed('0x77')]?(0x0!==_0x2fb41d[_0x41ed('0xfc')]&&(this[_0x41ed('0xfa')][_0x41ed('0x7f')]=()=>_0x2fb41d['id']),this[_0x41ed('0x7')]=!0x1):this['_continueCurrentRevision']&&(this[_0x41ed('0xfa')][_0x41ed('0x7f')]=()=>_0x2fb41d['id'],this[_0x41ed('0x85')]=_0x2fb41d[_0x41ed('0xfc')])),this[_0x41ed('0x7')]||(this['_startingVersion']=this['editor'][_0x41ed('0xd9')][_0x41ed('0xd3')][_0x41ed('0x27')]);this[_0x41ed('0x31')][_0x41ed('0x5a')](this[_0x41ed('0xfa')][_0x41ed('0x3b')]),this['_createInitialRevision'](this[_0x41ed('0x85')]),this['_createCurrentRevision'](this[_0x41ed('0x85')]),this[_0x41ed('0x25')]&&this[_0x41ed('0xb0')]();}),this[_0x41ed('0xe8')](_0x41ed('0x76'))['to'](this,_0x41ed('0x62'),_0x295ce9=>!_0x295ce9);}async[_0x41ed('0xff')](){if(this['repository'][_0x41ed('0x10a')]>0x0){const _0x5abd79=this[_0x41ed('0x24')][_0x41ed('0x9d')](0x0),_0x88f72a=await this['getRevisionDocumentData'](_0x5abd79),_0x170e29=await this[_0x41ed('0x5f')](_0x5abd79);this['_replaceEditorDataWithRevisionData'](_0x88f72a,_0x170e29);}}[_0x41ed('0xe')](_0x43f089){this[_0x41ed('0xfa')]=_0x43f089;}async[_0x41ed('0xcd')](){const _0x530025=await this[_0x41ed('0xfa')][_0x41ed('0xae')]();if(_0x530025>this[_0x41ed('0x2a')][_0x41ed('0x77')]){await this[_0x41ed('0x83')]();const _0x262828=this['buildRevisionData']({'revision':this[_0x41ed('0x2a')],'to':_0x530025});_0x262828[_0x41ed('0xde')]=_0x262828[_0x41ed('0x4d')][_0x41ed('0xc3')](_0x2c63d9=>this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x3a')]('Users')['getUser'](_0x2c63d9)),this['currentRevision'][_0x41ed('0xbc')](_0x262828);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder'][_0x41ed('0x61')](this[_0x41ed('0x2a')]),this[_0x41ed('0x20')]={'fromVersion':this[_0x41ed('0x2a')][_0x41ed('0xfc')],'authors':this[_0x41ed('0x2a')][_0x41ed('0xde')]['slice']()});}async[_0x41ed('0x64')](_0xe72a56={},_0x5be69e=null){const _0x5394dd=[];await this[_0x41ed('0x83')](),this[_0x41ed('0x7')]=!0x1,_0x5be69e>this['currentRevision']['toVersion']&&(_0x5be69e=null),null===_0x5be69e&&(_0x5be69e=await this[_0x41ed('0xfa')][_0x41ed('0xae')]());const _0x414682=this[_0x41ed('0x9f')](_0x5be69e),_0x215334=this[_0x41ed('0x48')]({'from':_0x414682,'to':_0x5be69e});if(this[_0x41ed('0x2a')][_0x41ed('0x77')]<_0x5be69e){const _0x3cd6e5=this[_0x41ed('0x48')]({'revision':this[_0x41ed('0x2a')],'from':_0x5be69e,'to':_0x5be69e});_0x3cd6e5[_0x41ed('0xde')]=[],_0x3cd6e5[_0x41ed('0x4d')]=[],_0x3cd6e5['id']=this[_0x41ed('0x2a')]['id'],this['currentRevision'][_0x41ed('0xbc')](_0x3cd6e5,!0x0),delete _0x3cd6e5[_0x41ed('0xde')],_0x5394dd[_0x41ed('0xb4')](_0x3cd6e5);}_0xe72a56[_0x41ed('0xa4')]=this[_0x41ed('0x92')]['plugins'][_0x41ed('0x3a')](_0x41ed('0x3c'))['me']['id'],_0xe72a56[_0x41ed('0x38')]=_0xe72a56[_0x41ed('0x38')]||null,_0xe72a56['id']=_0xe72a56['id']||_0x2f1c29(),_0xe72a56={..._0xe72a56,..._0x215334};const _0x1b9f6b=this['addRevisionData'](_0xe72a56);_0x5394dd[_0x41ed('0xb4')](_0xe72a56);const _0x46c09e=this[_0x41ed('0x24')][_0x41ed('0x6')](_0x1b9f6b);if(0x0!==_0x46c09e){const _0x4f9092=this[_0x41ed('0x24')][_0x41ed('0x9d')](_0x46c09e-0x1);if(_0x4f9092[_0x41ed('0xfc')]!==_0x5be69e){const _0x4b0fca=this[_0x41ed('0x31')][_0x41ed('0x12')](_0x5be69e,_0x4f9092[_0x41ed('0x77')]),_0x3d66c8={'id':_0x4f9092['id'],'diffData':_0x4b0fca[_0x41ed('0xd4')],'authorsIds':_0x4b0fca[_0x41ed('0x4d')],'authors':_0x4b0fca[_0x41ed('0x4d')]['map'](_0x37fb64=>this[_0x41ed('0x92')][_0x41ed('0x7c')]['get'](_0x41ed('0x3c'))[_0x41ed('0x8b')](_0x37fb64)),'fromVersion':_0x5be69e};_0x4f9092===this['currentRevision']&&(_0x3d66c8['createdAt']=new Date(_0xe72a56[_0x41ed('0x6b')]['getTime']()+0xa)),_0x4f9092['_update'](_0x3d66c8,!0x0),delete _0x3d66c8[_0x41ed('0xde')],_0x5394dd[_0x41ed('0xb4')](_0x3d66c8);}}if(this[_0x41ed('0x25')]){for(const _0x511af3 of _0x5394dd)this[_0x41ed('0xbb')](_0x511af3['id'],_0x511af3,!0x0);this[_0x41ed('0xb0')]();}return _0x1b9f6b;}['addRevisionData'](_0x270b3f){const _0x59c15d=this['repository'][_0x41ed('0x43')](_0x270b3f);return this[_0x41ed('0x25')]&&_0x59c15d['on'](_0x41ed('0xbc'),(_0x241006,_0x20a573,_0x3b4341)=>{_0x3b4341||(this[_0x41ed('0xbb')](_0x20a573['id'],_0x20a573,!0x0),this[_0x41ed('0xb0')]());}),this[_0x41ed('0x24')][_0x41ed('0x8c')](_0x59c15d,this['_findInsertionIndex'](_0x59c15d)),_0x59c15d;}async[_0x41ed('0x94')](_0x5c53d0){await this[_0x41ed('0x95')](_0x5c53d0);const _0x452b22={};for(const _0x4adc57 in _0x5c53d0[_0x41ed('0xd4')]){if(_0x5c53d0[_0x41ed('0xd4')][_0x4adc57][_0x41ed('0x8a')]&&!_0x5c53d0[_0x41ed('0xd4')][_0x4adc57][_0x41ed('0x8a')]['isAttached'])continue;const _0x24eae2=this[_0x41ed('0xf8')](JSON[_0x41ed('0xb7')](_0x5c53d0['diffData'][_0x4adc57][_0x41ed('0x66')])),_0x544acd=this[_0x41ed('0x92')][_0x41ed('0xb8')][_0x41ed('0xd2')][_0x41ed('0xd3')],_0x34bed4=new _0x5189f2(_0x544acd,_0x24eae2[_0x41ed('0xc3')](_0x5df1ab=>J(_0x5df1ab,this[_0x41ed('0x92')])));this[_0x41ed('0x92')]['data'][_0x41ed('0x34')][_0x41ed('0xe3')]('marked'),_0x452b22[_0x4adc57]=this[_0x41ed('0x92')][_0x41ed('0x3e')][_0x41ed('0x34')]['toData'](_0x34bed4),this[_0x41ed('0x92')][_0x41ed('0x3e')]['processor'][_0x41ed('0xe3')](_0x41ed('0x78'));}return _0x452b22;}async[_0x41ed('0x5f')](_0x5db511){await this[_0x41ed('0x95')](_0x5db511);const _0x92c97d={};for(const _0x345cff in _0x5db511[_0x41ed('0xd4')])_0x5db511[_0x41ed('0xd4')][_0x345cff][_0x41ed('0x8a')]&&!_0x5db511[_0x41ed('0xd4')][_0x345cff][_0x41ed('0x8a')][_0x41ed('0x90')]||(_0x92c97d[_0x345cff]=_0x5db511[_0x41ed('0xd4')][_0x345cff][_0x41ed('0xfb')]||{});return _0x92c97d;}[_0x41ed('0xb0')](){if(0x0===this['_bufferedUpdates'][_0x41ed('0x6d')])return;if(this[_0x41ed('0x62')])return;let _0x1793ef=Array[_0x41ed('0xca')](this[_0x41ed('0xbd')]['values']());this[_0x41ed('0xbd')][_0x41ed('0xa3')]();for(let _0x553429=0x0;_0x553429<_0x1793ef[_0x41ed('0x10a')];_0x553429++){const _0x2f198b=_0x1793ef[_0x553429];let _0x73af22=!0x1;for(const _0x9cace0 of Object[_0x41ed('0xe6')](_0x2f198b))void 0x0===_0x2f198b[_0x9cace0]?delete _0x2f198b[_0x9cace0]:'id'!==_0x9cace0&&(_0x73af22=!0x0);_0x73af22||(_0x1793ef[_0x553429]=null);}if(_0x1793ef=_0x1793ef[_0x41ed('0x10b')](_0x1a3c91=>null!==_0x1a3c91),!_0x1793ef[_0x41ed('0x10a')])return;for(let _0x1e1293=0x0;_0x1e1293<_0x1793ef['length'];_0x1e1293++){const _0x2da412=_0x1793ef[_0x1e1293];void 0x0!==_0x2da412[_0x41ed('0xfc')]&&void 0x0===_0x2da412[_0x41ed('0x77')]&&(_0x2da412['toVersion']=this[_0x41ed('0x24')][_0x41ed('0x9d')](_0x2da412['id'])[_0x41ed('0x77')]),void 0x0!==_0x2da412[_0x41ed('0x77')]&&void 0x0===_0x2da412[_0x41ed('0xfc')]&&(_0x2da412[_0x41ed('0xfc')]=this[_0x41ed('0x24')][_0x41ed('0x9d')](_0x2da412['id'])[_0x41ed('0xfc')]);}const _0x25a987=this[_0x41ed('0x92')][_0x41ed('0x26')][_0x41ed('0x3a')](_0x41ed('0x50'));this[_0x41ed('0x62')]=!0x0,this[_0x41ed('0x81')](),this[_0x41ed('0x25')][_0x41ed('0xe4')](_0x1793ef,_0x25a987)[_0x41ed('0x42')](()=>{this['_isPendingUpdate']=!0x1;})[_0x41ed('0xcc')](_0x1245c5=>{if(_0x1245c5)for(const _0x1b5c7f of _0x1245c5)this[_0x41ed('0x69')]({'id':_0x1b5c7f['id'],'createdAt':_0x1b5c7f[_0x41ed('0x6b')]});this['_removePendingAction'](),this[_0x41ed('0xb0')]();});}['_replaceEditorDataWithRevisionData'](_0x4d8776,_0x3fc6a1){let _0x3404d5=this[_0x41ed('0x92')][_0x41ed('0x26')][_0x41ed('0x3a')](_0x41ed('0xaf')),_0x158f1a=this[_0x41ed('0x92')][_0x41ed('0x26')][_0x41ed('0x3a')](_0x41ed('0xd'));if(void 0x0===_0x3404d5){_0x3404d5={};for(const _0x45ce17 of this[_0x41ed('0x92')]['model'][_0x41ed('0xd3')][_0x41ed('0xb6')]())_0x3404d5[_0x45ce17]='';}if(_0x41ed('0x3f')==typeof _0x3404d5&&(_0x3404d5={'main':_0x3404d5}),void 0x0===_0x158f1a){_0x158f1a={};for(const _0x3f4473 of this[_0x41ed('0x92')]['model'][_0x41ed('0xd3')][_0x41ed('0xb6')]())_0x158f1a[_0x3f4473]={};}let _0x33be8b=!0x1;const _0x4c88d7=Object['keys'](_0x3404d5),_0x45cbcd=Object[_0x41ed('0xe6')](_0x4d8776);for(const _0x588a81 of _0x4c88d7){if(_0x3404d5[_0x588a81]!==_0x4d8776[_0x588a81]&&''!==_0x3404d5[_0x588a81][_0x41ed('0x29')]()){_0x33be8b=!0x0;break;}if(!_0x173bf7(_0x158f1a[_0x588a81],_0x3fc6a1[_0x588a81])&&Object[_0x41ed('0xe6')](_0x158f1a[_0x588a81])[_0x41ed('0x10a')]>0x0){_0x33be8b=!0x0;break;}}_0x33be8b||(_0x33be8b=_0x45cbcd[_0x41ed('0x36')](_0x29c63e=>!this[_0x41ed('0x92')][_0x41ed('0xd9')][_0x41ed('0xd3')][_0x41ed('0x10')](_0x29c63e))),_0x33be8b&&_0x43a941(_0x41ed('0xe7'),{'editorData':_0x3404d5,'editorRootsAttributes':_0x158f1a,'revisionData':_0x4d8776,'revisionRootsAttributes':_0x3fc6a1}),this['editor']['config'][_0x41ed('0xd1')]('initialData',_0x4d8776),this['editor']['config']['set']('rootsAttributes',_0x3fc6a1);}[_0x41ed('0x81')](){if(!this[_0x41ed('0x100')]){const _0x3b52ca=this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x3a')](_0x41ed('0xdc'));this[_0x41ed('0x100')]=_0x3b52ca[_0x41ed('0x2d')](_0x2648c4(this[_0x41ed('0x92')][_0x41ed('0x2c')],_0x41ed('0x60')));}}[_0x41ed('0x13')](){this['_pendingAction']&&(this['editor']['plugins'][_0x41ed('0x3a')](_0x41ed('0xdc'))[_0x41ed('0x106')](this['_pendingAction']),this[_0x41ed('0x100')]=null);}['_findInsertionIndex'](_0x567fb7){const _0x459dea=this[_0x41ed('0x24')][_0x41ed('0x49')]();_0x459dea[_0x41ed('0x5')]();let _0x18b20f=0x0;for(;_0x18b20f<_0x459dea['length'];){const _0x2de281=_0x459dea[_0x18b20f];if(_0x2de281===this['currentRevision']){_0x18b20f++;continue;}if(_0x2de281['id']===this[_0x41ed('0xa6')])break;const _0x2596b3=_0x567fb7[_0x41ed('0x77')]-_0x2de281[_0x41ed('0x77')]||_0x567fb7['fromVersion']-_0x2de281[_0x41ed('0xfc')];if(_0x2596b3>0x0)break;if(_0x2596b3<0x0)_0x18b20f++;else{if(!_0x567fb7[_0x41ed('0xa9')]&&_0x2de281['creator'])break;if(_0x2de281[_0x41ed('0xa9')]||!_0x567fb7[_0x41ed('0xa9')]){if(_0x567fb7[_0x41ed('0x6b')]>_0x2de281['createdAt'])break;_0x18b20f++;}else _0x18b20f++;}}return _0x18b20f;}[_0x41ed('0x69')](_0x52891f){const _0x1278b8=this[_0x41ed('0x24')]['getRevision'](_0x52891f['id']);if(_0x52891f[_0x41ed('0x6b')]&&(_0x52891f['createdAt']=new Date(_0x52891f['createdAt'])),_0x52891f[_0x41ed('0x4d')]){const _0x17d2f0=this['editor'][_0x41ed('0x7c')][_0x41ed('0x3a')](_0x41ed('0x3c'));_0x52891f['authors']=_0x52891f[_0x41ed('0x4d')]['map'](_0x3ad60d=>_0x17d2f0[_0x41ed('0x8b')](_0x3ad60d));}_0x1278b8[_0x41ed('0xbc')](_0x52891f,!0x0);}[_0x41ed('0x48')]({revision:_0x356a6e=null,from:_0x329744=null,to:_0x3afd66=null}){_0x329744=null!==_0x329744?_0x329744:_0x356a6e['fromVersion'],_0x3afd66=null!==_0x3afd66?_0x3afd66:_0x356a6e[_0x41ed('0x77')];const _0x2fe03e=this[_0x41ed('0x31')][_0x41ed('0x12')](_0x329744,_0x3afd66),_0x117ef9={'diffData':_0x2fe03e[_0x41ed('0xd4')],'authorsIds':_0x2fe03e[_0x41ed('0x4d')],'fromVersion':_0x329744,'toVersion':_0x3afd66};if(!_0x356a6e||_0x3afd66!==_0x356a6e[_0x41ed('0x77')]){const _0x441162=_0x3afd66-0x1,_0x50bbd0=this['_source']['history']['getOperation'](_0x441162);_0x117ef9[_0x41ed('0x6b')]=_0x50bbd0&&_0x50bbd0[_0x41ed('0x6b')]||new Date();}if(this[_0x41ed('0x20')]&&_0x329744===this[_0x41ed('0x20')]['fromVersion'])for(const _0x380340 of this['_loadedStateData'][_0x41ed('0xde')])_0x117ef9[_0x41ed('0x4d')][_0x41ed('0x32')](_0x380340['id'])||_0x117ef9[_0x41ed('0x4d')]['push'](_0x380340['id']);return _0x117ef9;}['_loadRevisionData'](_0x54bc19){if(!_0x54bc19||_0x54bc19[_0x41ed('0xd4')])return Promise[_0x41ed('0xc1')]();{const _0x17fa3d=this[_0x41ed('0x92')]['config'][_0x41ed('0x3a')](_0x41ed('0x50'));return this[_0x41ed('0x25')]['getRevision']({'channelId':_0x17fa3d,'revisionId':_0x54bc19['id']})[_0x41ed('0xcc')](_0x4ec0ff=>{_0x54bc19[_0x41ed('0xd4')]=_0x4ec0ff[_0x41ed('0xd4')];});}}[_0x41ed('0xbb')](_0x9b9552,_0x483fcf,_0x129719){if(this[_0x41ed('0xbd')]['has'](_0x9b9552)){const _0x17f217=this[_0x41ed('0xbd')][_0x41ed('0x3a')](_0x9b9552);_0x483fcf=_0x129719?{..._0x17f217,..._0x483fcf}:{..._0x483fcf,..._0x17f217};}this[_0x41ed('0xbd')][_0x41ed('0xd1')](_0x9b9552,_0x483fcf);}[_0x41ed('0x9f')](_0x3a946f){const _0x2d2608=this['repository'][_0x41ed('0x49')]();_0x2d2608[_0x41ed('0x5')](),_0x2d2608[_0x41ed('0x63')]();const _0xccaf41=_0x2d2608[_0x41ed('0xc4')](_0xe64ac=>_0xe64ac[_0x41ed('0x77')]<=_0x3a946f)[_0x41ed('0x77')];return _0xccaf41<this[_0x41ed('0x85')]?this[_0x41ed('0x85')]:_0xccaf41;}[_0x41ed('0x5c')](_0x35fb33){const _0x49a970=this[_0x41ed('0x24')]['getRevision'](this[_0x41ed('0x24')][_0x41ed('0x10a')]-0x1);if(_0x49a970)this['_initialRevisionId']=_0x49a970['id'];else{const _0x43b75c=!this['editor']['model'][_0x41ed('0xd3')][_0x41ed('0x40')][_0x41ed('0xc4')](_0x566c14=>this['editor']['model']['hasContent'](_0x566c14)),_0x1de8d1=this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x3a')](_0x41ed('0x3c'))['me']['id'],_0x2ec4ee=_0x2648c4(this['editor'][_0x41ed('0x2c')],_0x43b75c?_0x41ed('0x44'):_0x41ed('0xba'));this[_0x41ed('0x2f')]({'from':_0x35fb33,'to':_0x35fb33,'id':this[_0x41ed('0xa6')],'name':_0x2ec4ee,'creatorId':_0x1de8d1});}}[_0x41ed('0x1e')](_0x29a4a5){const _0x2bf6ea=this[_0x41ed('0xfa')][_0x41ed('0x7f')]();this[_0x41ed('0x2a')]=this[_0x41ed('0x24')][_0x41ed('0x9d')](_0x2bf6ea),this['currentRevision']||(this[_0x41ed('0x2a')]=this[_0x41ed('0x2f')]({'from':_0x29a4a5,'to':_0x29a4a5,'id':_0x2bf6ea,'name':'','creatorId':null}));}[_0x41ed('0x2f')]({name:_0x3925e1,from:_0x3b7c3f,to:_0x1091a9,creatorId:_0x3cb1a3,id:_0x1e4c1e}){const _0x24d3ef=this[_0x41ed('0x48')]({'from':_0x3b7c3f,'to':_0x1091a9});_0x24d3ef[_0x41ed('0x38')]=_0x3925e1,_0x24d3ef[_0x41ed('0xa4')]=_0x3cb1a3,_0x24d3ef['id']=_0x1e4c1e;const _0x2efcdf=this[_0x41ed('0x7d')](_0x24d3ef);return this['adapter']&&this[_0x41ed('0xbb')](_0x24d3ef['id'],_0x24d3ef,!0x0),_0x2efcdf;}['_setConversion'](){this['editor']['conversion'][_0x41ed('0xaa')]('dataDowncast')[_0x41ed('0xbf')]({'model':_0x41ed('0xf9')});}[_0x41ed('0xf8')](_0x587a6d){return(_0x587a6d=_0x587a6d[_0x41ed('0x10b')](_0x32c872=>!_0x32c872[_0x41ed('0x38')]||_0x41ed('0x9c')!==_0x32c872[_0x41ed('0x38')]&&_0x41ed('0x71')!==_0x32c872['name']))[_0x41ed('0xc9')](_0x9ec092=>{'string'!=typeof _0x9ec092&&(_0x9ec092[_0x41ed('0x5e')]=this[_0x41ed('0xf8')](_0x9ec092['children']),_0x9ec092[_0x41ed('0x104')]=_0x9ec092[_0x41ed('0x104')][_0x41ed('0x10b')](_0x2f72f0=>!_0x2f72f0[0x0][_0x41ed('0xb9')](_0x41ed('0xb2'))));}),_0x587a6d;}}function J(_0x48e089,_0x4edd0c){const _0x3ec6e7=_0x4edd0c['editing'][_0x41ed('0xd2')][_0x41ed('0xd3')];if(_0x41ed('0x3f')==typeof _0x48e089)return new _0x453e67(_0x3ec6e7,_0x48e089);{const _0x2c7038=_0x48e089[_0x41ed('0x5e')][_0x41ed('0xc3')](_0x31dc37=>J(_0x31dc37,_0x4edd0c));return new(B[_0x48e089[(_0x41ed('0x3'))]]||_0x5b0633)(_0x3ec6e7,_0x48e089[_0x41ed('0x38')],_0x48e089['attributes'],_0x2c7038);}}class H{constructor(_0x33c534){this['editor']=_0x33c534,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this[_0x41ed('0xf3')]=-0x1,this[_0x41ed('0x2e')]=new Map(),this[_0x41ed('0xf')]=new Map(),this['_diffRootsAttributes']=new Map(),this[_0x41ed('0x23')]=new Map(),this[_0x41ed('0x89')]=new Map(),this[_0x41ed('0xfd')]=new Map(),this[_0x41ed('0x9')]=new Map(),this[_0x41ed('0x18')]=new Map(),this[_0x41ed('0xac')]=new Map(),this[_0x41ed('0x4b')]=new Map(),this[_0x41ed('0xe5')]=0x1;}[_0x41ed('0x5a')](_0x30f905){this[_0x41ed('0xfe')]=_0x30f905;const _0x4acd96=new Map(),_0x519d4e=new Map(),_0x12a207=this[_0x41ed('0x92')][_0x41ed('0xd9')][_0x41ed('0xd3')]['roots']['map'](_0x8481c9=>_0x8481c9[_0x41ed('0x4')]);for(const _0x307bb5 of _0x12a207){const _0x250ae2=this[_0x41ed('0x92')][_0x41ed('0xd9')][_0x41ed('0xd3')][_0x41ed('0x10')](_0x307bb5),_0x1c6eb2=q(_0x250ae2);_0x4acd96[_0x41ed('0xd1')](_0x307bb5,_0x1c6eb2),_0x519d4e[_0x41ed('0xd1')](_0x307bb5,Object[_0x41ed('0x56')](_0x250ae2['getAttributes']()));}const _0x36b508=Array[_0x41ed('0xca')](this[_0x41ed('0x92')][_0x41ed('0xd9')][_0x41ed('0xe9')])[_0x41ed('0xc3')](_0x46c42f=>[_0x46c42f[_0x41ed('0x38')],_0x46c42f[_0x41ed('0xed')]()]),_0xd6bcf5=this[_0x41ed('0xfe')][_0x41ed('0x27')];this[_0x41ed('0xce')](_0xd6bcf5,_0x4acd96,_0x36b508,_0x519d4e),this[_0x41ed('0x37')]=this[_0x41ed('0xe5')];const _0x4a9990=new Map(),_0x105f3e=new Map();for(const _0x9ab3d7 of _0x12a207){const _0x2de9a1=G(_0x9ab3d7);_0x4a9990[_0x41ed('0xd1')](_0x9ab3d7,_0x2de9a1),_0x105f3e[_0x41ed('0xd1')](_0x9ab3d7,{});}this[_0x41ed('0xce')](Number[_0x41ed('0xd0')],_0x4a9990,[],_0x105f3e);}[_0x41ed('0x12')](_0x276b4c,_0x258a0c){if(this[_0x41ed('0x9b')]===_0x276b4c&&this[_0x41ed('0xf3')]<=_0x258a0c)this[_0x41ed('0x70')][_0x41ed('0x6d')]>0x1&&this['_removeMetaData'](this[_0x41ed('0xf3')]),this[_0x41ed('0xa8')](this[_0x41ed('0xf3')],_0x258a0c,!0x0);else{if(!this['_savedMetaData'][_0x41ed('0x6f')](_0x276b4c)){const _0x4e61fd=this[_0x41ed('0xf5')](_0x276b4c);this[_0x41ed('0xf1')](_0x4e61fd,_0x276b4c,!0x1);}this['_calculateMetaData'](_0x276b4c,_0x258a0c,!0x0);}return this[_0x41ed('0x9b')]=_0x276b4c,this['_lastTo']=_0x258a0c,this[_0x41ed('0x72')]();}[_0x41ed('0x61')](_0x317607){this[_0x41ed('0xe0')](),this[_0x41ed('0x9b')]=_0x317607[_0x41ed('0xfc')],this['_lastTo']=_0x317607[_0x41ed('0x77')];for(const _0x257200 in _0x317607[_0x41ed('0xd4')]){const _0x31a535=_0x317607[_0x41ed('0xd4')][_0x257200][_0x41ed('0x8a')],_0x4157e7=_0x2cd86e(_0x317607[_0x41ed('0xd4')][_0x257200][_0x41ed('0x17')])||{},_0xcd6108=this['_makeModelFromViewString'](_0x317607[_0x41ed('0xd4')][_0x257200][_0x41ed('0x30')]);_0xcd6108[_0x41ed('0x4')]=_0x257200,_0xcd6108['_isAttached']=!_0x31a535||!_0x31a535[_0x41ed('0x90')],_0xcd6108[_0x41ed('0x90')]=()=>_0xcd6108[_0x41ed('0x22')],this[_0x41ed('0x23')]['set'](_0x257200,_0xcd6108),this[_0x41ed('0x89')][_0x41ed('0xd1')](_0x257200,_0x4157e7),_0x31a535&&this['_touchedRoots']['set'](_0x257200,_0x31a535);const _0x448a7e=this['_makeIdsRoot'](_0xcd6108);this['_baseIdsRoots'][_0x41ed('0xd1')](_0x257200,_0x448a7e);for(const [_0xceb7ab,_0x463421]of _0xcd6108[_0x41ed('0xe9')]){if(!_0xceb7ab['startsWith']('revision:'))continue;const _0xc0ab6b=_0xceb7ab[_0x41ed('0xdb')](':')[0x2];for(const _0xb4b315 of _0x463421[_0x41ed('0xd6')]({'singleCharacters':!0x0})){const _0x2da1a8=this[_0x41ed('0x47')](_0xb4b315),_0x4a8c44=_0x41ed('0xb1')==_0xb4b315[_0x41ed('0x3')]?_0xb4b315['previousPosition'][_0x41ed('0x45')][_0x41ed('0x8d')](0x0,-0x1):_0xb4b315['previousPosition'][_0x41ed('0x45')],_0x8fed1d=_0x448a7e[_0x41ed('0x57')](_0x4a8c44)[_0x41ed('0xc8')](_0x2da1a8);this[_0x41ed('0x18')][_0x41ed('0xd1')](_0x8fed1d,{'userId':_0xc0ab6b});}}}this[_0x41ed('0x37')]=this[_0x41ed('0xe5')];const _0x4e3bec=[...Array(this[_0x41ed('0xe5')])['keys']()][_0x41ed('0x8d')](0x1)[_0x41ed('0x10b')](_0x3549ad=>!this['_touched']['has'](_0x3549ad));let _0x338095=0x0;const _0xda75ab=new Map();for(const _0x154466 in _0x317607[_0x41ed('0xd4')]){const _0x37ad39=_0x317607[_0x41ed('0xd4')][_0x154466][_0x41ed('0x8a')],_0x341845=_0x2cd86e(_0x317607[_0x41ed('0xd4')][_0x154466]['attributesAfter'])||{},_0x49bc6c=this[_0x41ed('0xf6')](_0x317607['diffData'][_0x154466]['insertions']);_0x49bc6c[_0x41ed('0x4')]=_0x154466,_0x49bc6c[_0x41ed('0x22')]=!_0x37ad39||_0x37ad39[_0x41ed('0x90')],_0x49bc6c[_0x41ed('0x90')]=()=>_0x49bc6c[_0x41ed('0x22')],this[_0x41ed('0xf')][_0x41ed('0xd1')](_0x154466,_0x49bc6c),this[_0x41ed('0x3d')][_0x41ed('0xd1')](_0x154466,_0x341845);const _0x12e078=this[_0x41ed('0xa5')](_0x49bc6c,Number[_0x41ed('0xd0')]);this[_0x41ed('0xfd')][_0x41ed('0xd1')](_0x154466,_0x12e078),_0xda75ab[_0x41ed('0xd1')](_0x154466,_0x49bc6c['isAttached']()?_0x341845:{});for(const [_0xfdc9a5,_0x417706]of _0x49bc6c[_0x41ed('0xe9')]){if(!_0xfdc9a5[_0x41ed('0xb9')](_0x41ed('0x8')))continue;const _0x58d6bc=_0xfdc9a5[_0x41ed('0xdb')](':')[0x2];for(const _0x300b87 of _0x417706[_0x41ed('0xd6')]({'singleCharacters':!0x0})){const _0x505dbc=this[_0x41ed('0x47')](_0x300b87),_0x58a772=this[_0x41ed('0xe5')]++,_0x15c79e=_0x41ed('0xb1')==_0x300b87[_0x41ed('0x3')]?_0x300b87[_0x41ed('0x93')][_0x41ed('0x45')][_0x41ed('0x8d')](0x0,-0x1):_0x300b87[_0x41ed('0x93')][_0x41ed('0x45')];_0x12e078[_0x41ed('0x57')](_0x15c79e)['_setAttribute'](_0x505dbc,_0x58a772),this[_0x41ed('0x18')][_0x41ed('0xd1')](_0x58a772,{'userId':_0x58d6bc});}}for(const _0x2dee3f of this['editor']['model'][_0x41ed('0x75')](_0x49bc6c)[_0x41ed('0xd6')]({'singleCharacters':!0x0})){const _0x44a1a9=this[_0x41ed('0x47')](_0x2dee3f),_0x3d7d0a=_0x41ed('0xb1')==_0x2dee3f[_0x41ed('0x3')]?_0x2dee3f[_0x41ed('0x93')][_0x41ed('0x45')][_0x41ed('0x8d')](0x0,-0x1):_0x2dee3f[_0x41ed('0x93')][_0x41ed('0x45')],_0x49c67a=_0x12e078['getNodeByPath'](_0x3d7d0a);_0x49c67a[_0x41ed('0xc8')](_0x44a1a9)>0x0||_0x49c67a[_0x41ed('0x4a')](_0x44a1a9,_0x4e3bec[_0x338095++]);}for(const [_0x849955,_0x3c693e]of _0x49bc6c[_0x41ed('0xe9')])_0x849955[_0x41ed('0xb9')](_0x41ed('0x8'))||this[_0x41ed('0x2e')]['set'](_0x849955,_0x3c693e);}const _0x5ab5a0=G(_0x41ed('0x109'));this[_0x41ed('0x23')][_0x41ed('0xd1')](_0x41ed('0x109'),_0x5ab5a0),this['_baseIdsRoots']['set'](_0x41ed('0x109'),this['_makeIdsRoot'](_0x5ab5a0,0x1));const _0x241d9b=G(_0x41ed('0x109'));this[_0x41ed('0xf')][_0x41ed('0xd1')](_0x41ed('0x109'),_0x241d9b),this[_0x41ed('0xfd')]['set'](_0x41ed('0x109'),this[_0x41ed('0xa5')](_0x241d9b,0x1));const _0x2df0a8=Array['from'](this[_0x41ed('0xf')])['map'](([_0x291f97,_0x2de180])=>[_0x291f97,q(_0x2de180)]);this['_saveMetaData'](this['_lastTo'],_0x2df0a8,this['_markers'],_0xda75ab);}[_0x41ed('0xf6')](_0x18bd89){const _0x47ab5b=JSON[_0x41ed('0xb7')](_0x18bd89),_0x5d4b55=this['editor'][_0x41ed('0xb8')][_0x41ed('0xd2')][_0x41ed('0xd3')],_0x908565=new _0x5189f2(_0x5d4b55,_0x47ab5b[_0x41ed('0xc3')](_0x578c22=>J(_0x578c22,this[_0x41ed('0x92')])));return this[_0x41ed('0x92')][_0x41ed('0x3e')][_0x41ed('0x33')](_0x908565);}['_saveMetaData'](_0x5618cb,_0x2027f7,_0xd4990f,_0x14fc6b){const _0x34b5c9=new Map(_0x2027f7),_0x454adc=new Map(_0x2cd86e(_0x14fc6b)),_0x3f12f3=new Map();for(const [_0x5586c6,_0x1044e]of _0xd4990f)_0x3f12f3['set'](_0x5586c6,{'start':_0x1044e[_0x41ed('0x1f')][_0x41ed('0x6c')](),'end':_0x1044e[_0x41ed('0x91')][_0x41ed('0x6c')](),'rootName':_0x1044e[_0x41ed('0x35')][_0x41ed('0x4')]});this['_savedMetaData'][_0x41ed('0xd1')](_0x5618cb,{'roots':_0x34b5c9,'markers':_0x3f12f3,'rootsAttributes':_0x454adc});}[_0x41ed('0x28')](_0x353465){this['_savedMetaData']['delete'](_0x353465);}[_0x41ed('0x19')](){this[_0x41ed('0xe0')](),this['_lastFrom']=-0x1,this[_0x41ed('0xf3')]=-0x1,this[_0x41ed('0x70')][_0x41ed('0xa3')](),this[_0x41ed('0x5a')](this[_0x41ed('0xfe')]);}['_reset'](){this[_0x41ed('0x18')][_0x41ed('0xa3')](),this[_0x41ed('0xac')][_0x41ed('0xa3')](),this['_touchedRoots'][_0x41ed('0xa3')](),this[_0x41ed('0xf')][_0x41ed('0xa3')](),this[_0x41ed('0x3d')][_0x41ed('0xa3')](),this['_baseRoots'][_0x41ed('0xa3')](),this[_0x41ed('0x89')][_0x41ed('0xa3')](),this[_0x41ed('0xfd')][_0x41ed('0xa3')](),this[_0x41ed('0x9')][_0x41ed('0xa3')](),this[_0x41ed('0x2e')][_0x41ed('0xa3')](),this[_0x41ed('0xe5')]=0x1,this[_0x41ed('0x37')]=this['_revisionId'];}['_makeIdsRoot'](_0x2ce758,_0x24359b=null){let _0x3100f8=null;_0x2ce758['is'](_0x41ed('0x5b'))||(_0x3100f8=new _0x2f4999(_0x2ce758[_0x41ed('0x38')],{'vid_start':null===_0x24359b?this[_0x41ed('0xe5')]++:_0x24359b++}));const _0x2156b8=[];for(const _0x2adf8e of _0x2ce758[_0x41ed('0xcb')]())if(_0x2adf8e['is'](_0x41ed('0xa2'))){_0x2156b8[_0x41ed('0xb4')](this['_makeIdsRoot'](_0x2adf8e,_0x24359b));const _0x5144bd=_0x2156b8[_0x2156b8[_0x41ed('0x10a')]-0x1];null!==_0x24359b&&(_0x24359b=_0x5144bd['is'](_0x41ed('0xa2'),_0x41ed('0x15'))?_0x5144bd['getAttribute'](_0x41ed('0xf4'))+0x1:_0x5144bd[_0x41ed('0xc8')](_0x41ed('0xe1'))+0x1);}else for(let _0x267c4c=0x0;_0x267c4c<_0x2adf8e['offsetSize'];_0x267c4c++)_0x2156b8['push'](new _0x2f4999(_0x41ed('0x15'),{'vid':null===_0x24359b?this[_0x41ed('0xe5')]++:_0x24359b++}));if(_0x2ce758['is']('documentFragment')){const _0x12b501=G(_0x2ce758[_0x41ed('0x4')]);return _0x12b501['_insertChild'](0x0,_0x2156b8),_0x12b501;}return _0x3100f8[_0x41ed('0x4a')](_0x41ed('0xe1'),null===_0x24359b?this[_0x41ed('0xe5')]++:_0x24359b++),_0x3100f8[_0x41ed('0xdd')](0x0,_0x2156b8),_0x3100f8;}['_calculateMetaData'](_0x4d2e7e,_0x42b971,_0x2293ae){this[_0x41ed('0xe0')]();const {roots:_0x4058f3,markers:_0x501321,rootsAttributes:_0x470ff5}=this[_0x41ed('0x70')]['get'](_0x4d2e7e);this[_0x41ed('0x23')]=new Map(_0x4058f3),this[_0x41ed('0x89')]=new Map(_0x2cd86e(_0x470ff5));for(const [_0x1dfd68,_0x141270]of this[_0x41ed('0x23')])if(_0x41ed('0x109')!==_0x1dfd68&&(this['_diffRoots']['set'](_0x1dfd68,q(_0x141270)),this[_0x41ed('0x3d')]=new Map(_0x2cd86e(_0x470ff5)),_0x2293ae)){const _0x5757ad=this['_revisionId'];this[_0x41ed('0xfd')][_0x41ed('0xd1')](_0x1dfd68,this[_0x41ed('0xa5')](_0x141270)),this[_0x41ed('0x9')][_0x41ed('0xd1')](_0x1dfd68,this[_0x41ed('0xa5')](_0x141270,_0x5757ad));}this[_0x41ed('0x37')]=this[_0x41ed('0xe5')],this[_0x41ed('0xf')]['set'](_0x41ed('0x109'),q(this['_baseRoots'][_0x41ed('0x3a')](_0x41ed('0x109')))),_0x2293ae&&this[_0x41ed('0xfd')][_0x41ed('0xd1')](_0x41ed('0x109'),this['_makeIdsRoot'](this[_0x41ed('0x23')][_0x41ed('0x3a')]('$graveyard')));for(const [_0x42348d,_0x1fe22f]of _0x501321){const _0x3ce836=this['_baseRoots'][_0x41ed('0x3a')](_0x1fe22f['rootName']),_0x5395cb=this[_0x41ed('0xf')]['get'](_0x1fe22f[_0x41ed('0x4')]),_0xe4087d=new _0x285279(this[_0x41ed('0xab')](_0x1fe22f['start'],_0x3ce836),this[_0x41ed('0xab')](_0x1fe22f['end'],_0x3ce836)),_0x371c03=this['_fixRange'](_0xe4087d,_0x5395cb);_0x3ce836[_0x41ed('0xe9')][_0x41ed('0xd1')](_0x42348d,_0xe4087d),this[_0x41ed('0x2e')][_0x41ed('0xd1')](_0x42348d,_0x371c03);}this['_applyOperations'](_0x4d2e7e,_0x42b971,_0x2293ae);}[_0x41ed('0xa8')](_0xca3c5c,_0x63353d,_0xd715cf){for(const _0x5b36f3 of this[_0x41ed('0xfe')][_0x41ed('0xd5')](_0xca3c5c,_0x63353d))this[_0x41ed('0x97')](_0x5b36f3,_0xd715cf);for(const _0xf70348 of this['_diffRoots'][_0x41ed('0x39')]())_0xf70348[_0x41ed('0xe9')]['clear']();for(const [_0x17e268,_0xd8e44]of this['_markers']){this[_0x41ed('0xf')]['get'](_0xd8e44['root'][_0x41ed('0x4')])[_0x41ed('0xe9')][_0x41ed('0xd1')](_0x17e268,_0xd8e44[_0x41ed('0x6c')]());}const _0x426b2f=new Map(),_0x33f05c=new Map();for(const [_0x3f9f4e,_0xccfa93]of this['_diffRoots'])_0x426b2f['set'](_0x3f9f4e,q(_0xccfa93)),_0x33f05c[_0x41ed('0xd1')](_0x3f9f4e,this[_0x41ed('0x3d')][_0x41ed('0x3a')](_0x3f9f4e));this[_0x41ed('0xce')](_0x63353d,_0x426b2f,this[_0x41ed('0x2e')],_0x33f05c);}[_0x41ed('0xf5')](_0x172e09){const _0x3c28fe=Array[_0x41ed('0xca')](this[_0x41ed('0x70')][_0x41ed('0xe6')]());_0x3c28fe[_0x41ed('0x68')]((_0x3406cc,_0x2ecdb0)=>_0x3406cc-_0x2ecdb0),_0x3c28fe['reverse']();for(const _0x57d0df of _0x3c28fe)if(_0x57d0df<_0x172e09)return _0x57d0df;return Number[_0x41ed('0xd0')];}[_0x41ed('0x14')](_0x5abf7b,_0x4db95d){const _0x58751b=Array[_0x41ed('0xca')](_0x4db95d[_0x41ed('0xe9')])[_0x41ed('0xc3')](([_0x2d50f0,_0x3ab2b0])=>[_0x2d50f0,this[_0x41ed('0xee')](_0x3ab2b0,_0x5abf7b)]);_0x5abf7b[_0x41ed('0xe9')]=new Map(_0x58751b);}[_0x41ed('0xcf')](_0x5e6f88){for(const _0x3432e7 of this[_0x41ed('0x2e')][_0x41ed('0x39')]()){const _0x280074=_0x3432e7['getTransformedByOperation'](_0x5e6f88),_0x29f24b=_0x285279['_createFromRanges'](_0x280074);_0x3432e7[_0x41ed('0x1f')]=_0x29f24b[_0x41ed('0x1f')],_0x3432e7[_0x41ed('0x91')]=_0x29f24b[_0x41ed('0x91')];}}[_0x41ed('0x97')](_0x4aecb5,_0x2bc2b7){if('addRoot'==_0x4aecb5['type']||_0x41ed('0x52')==_0x4aecb5[_0x41ed('0x3')])return void this[_0x41ed('0xa')](_0x4aecb5,_0x2bc2b7);if(_0x41ed('0x99')==_0x4aecb5['type']){const _0x32457b=_0x4aecb5[_0x41ed('0xf2')][_0x41ed('0x35')][_0x41ed('0x4')];this['_diffRoots'][_0x41ed('0x6f')](_0x32457b)||(this[_0x41ed('0xf')][_0x41ed('0xd1')](_0x32457b,G(_0x32457b,!0x0)),this[_0x41ed('0x3d')][_0x41ed('0xd1')](_0x32457b,{}),_0x2bc2b7&&this[_0x41ed('0xfd')][_0x41ed('0xd1')](_0x32457b,G(_0x32457b,!0x0)));}else{if(_0x41ed('0x79')==_0x4aecb5[_0x41ed('0x3')]||'removeRootAttribute'==_0x4aecb5[_0x41ed('0x3')]||_0x41ed('0x46')==_0x4aecb5[_0x41ed('0x3')])return void this[_0x41ed('0x41')](_0x4aecb5);}const _0x2baea8=this['_cloneOperation'](_0x4aecb5,this['_diffRoots']);if(_0x41ed('0x6e')!==_0x4aecb5['type']&&(_0x2baea8[_0x41ed('0x67')](),this[_0x41ed('0xcf')](_0x2baea8)),_0x2bc2b7)switch(_0x2baea8[_0x41ed('0x3')]){case _0x41ed('0x99'):this[_0x41ed('0xdf')](_0x4aecb5);break;case _0x41ed('0x9a'):case _0x41ed('0x106'):case _0x41ed('0xf0'):this[_0x41ed('0xef')](_0x4aecb5);break;case'merge':this[_0x41ed('0xb')](_0x4aecb5);break;case _0x41ed('0xdb'):this[_0x41ed('0xb3')](_0x4aecb5);break;case'marker':this[_0x41ed('0xd7')](_0x4aecb5);}}['_cloneOperation'](_0x19e22c,_0x28d51a){const _0xa66a25=_0x19e22c[_0x41ed('0x6c')]();return _0xa66a25[_0x41ed('0x108')]=_0x19e22c[_0x41ed('0x108')],this[_0x41ed('0x88')](_0xa66a25,_0x28d51a),_0xa66a25;}['_getBaseVids'](_0x4c44f4){return _0x4c44f4[_0x41ed('0xc3')](_0x3316b7=>{const _0x28eab6=this[_0x41ed('0x47')](_0x3316b7);return Number(_0x3316b7[_0x41ed('0x105')][_0x41ed('0xc8')](_0x28eab6));});}[_0x41ed('0x80')](_0x36cf86,_0x30fc50){if(_0x36cf86['is'](_0x41ed('0xa2'),'$text'))_0x30fc50['push']({'item':_0x36cf86,'type':'text'});else{_0x36cf86['is'](_0x41ed('0xa2'))&&_0x30fc50[_0x41ed('0xb4')]({'item':_0x36cf86,'type':'elementStart'});for(const _0x381381 of _0x36cf86['getChildren']())this['_generateTape'](_0x381381,_0x30fc50);_0x36cf86['is']('element')&&_0x30fc50[_0x41ed('0xb4')]({'item':_0x36cf86,'type':_0x41ed('0xb1')});}return _0x30fc50;}[_0x41ed('0x72')](){const _0x10fa2d=new Map(this['_touched']),_0x534a15=new Map(_0x10fa2d),_0x205464=new Map(),_0xbfd1={'insertions':{},'deletions':{}},_0x2ab57d={'insertions':{},'deletions':{}},_0x152486=new Map(),_0x55e8b5=new Set([...this['_baseRoots'][_0x41ed('0xe6')](),...this[_0x41ed('0xf')][_0x41ed('0xe6')]()]);_0x55e8b5[_0x41ed('0x7b')](_0x41ed('0x109'));for(const _0x133425 of _0x55e8b5){const _0x169088=this[_0x41ed('0xf')]['get'](_0x133425)||G(_0x133425,!0x1),_0x1deb32=this[_0x41ed('0x23')][_0x41ed('0x3a')](_0x133425)||G(_0x133425,!0x1);_0x169088['isAttached']()||_0x1deb32[_0x41ed('0x90')]()?(_0xbfd1['insertions'][_0x133425]=q(_0x169088),_0xbfd1[_0x41ed('0x30')][_0x133425]=q(_0x1deb32),this[_0x41ed('0x14')](_0xbfd1['deletions'][_0x133425],_0x1deb32),this[_0x41ed('0x14')](_0xbfd1[_0x41ed('0x66')][_0x133425],_0x169088),_0x2ab57d['insertions'][_0x133425]=this[_0x41ed('0x80')](this['_idsRoots'][_0x41ed('0x3a')](_0x133425),[]),_0x2ab57d[_0x41ed('0x30')][_0x133425]=this['_generateTape'](this['_baseIdsRoots'][_0x41ed('0x3a')](_0x133425)||G(_0x133425,!0x1),[])):_0x55e8b5[_0x41ed('0x7b')](_0x133425);}for(const _0x465e04 of _0x55e8b5){const _0x56fec2=_0x2ab57d[_0x41ed('0x66')][_0x465e04];for(const _0x3c90fc of _0x56fec2){const _0x104366=this['_getVidAttributeName'](_0x3c90fc),_0x1d1de4=_0x3c90fc[_0x41ed('0x105')][_0x41ed('0xc8')](_0x104366);_0x534a15[_0x41ed('0x7b')](_0x1d1de4),_0x1d1de4>=this['_startingRevisionId']&&_0x205464['set'](_0x1d1de4,_0x10fa2d['get'](_0x1d1de4));}}for(const _0x3956a1 of _0x55e8b5){const _0x42c129=_0x2ab57d[_0x41ed('0x66')][_0x3956a1],_0x28c486=this[_0x41ed('0xa1')](_0x2ab57d[_0x41ed('0x30')][_0x3956a1]);let _0x3493a2=0x0;for(const _0x3e6804 of _0x42c129){const _0x1cc0f4=this[_0x41ed('0x47')](_0x3e6804),_0x450866=_0x3e6804['item'][_0x41ed('0xc8')](_0x1cc0f4);if(!_0x205464[_0x41ed('0x6f')](_0x450866)&&!_0x152486['has'](_0x450866)){if(_0x534a15[_0x41ed('0x6f')](_0x450866))_0x3493a2++;else{if(_0x450866!=_0x28c486[_0x3493a2]){const _0x239a46=_0x10fa2d[_0x41ed('0x3a')](_0x450866)||_0x10fa2d[_0x41ed('0x3a')](_0x28c486[_0x3493a2]);for(;_0x450866!=_0x28c486[_0x3493a2];)_0x534a15['has'](_0x28c486[_0x3493a2])||(_0x152486[_0x41ed('0xd1')](_0x28c486[_0x3493a2],_0x239a46),_0x10fa2d[_0x41ed('0xd1')](_0x28c486[_0x3493a2],_0x239a46)),_0x3493a2++;}_0x3493a2++;}}}}for(const _0x255e62 of _0x55e8b5){const _0x47c0af=_0x2ab57d[_0x41ed('0x66')][_0x255e62];for(const _0x44fa4c of _0x47c0af){const _0x1f7712=this['_getVidAttributeName'](_0x44fa4c),_0x23a006=_0x44fa4c[_0x41ed('0x105')]['getAttribute'](_0x1f7712);if(_0x152486[_0x41ed('0x6f')](_0x23a006)){const _0x37402e=_0x152486[_0x41ed('0x3a')](_0x23a006);_0x534a15['has'](_0x23a006)||_0x534a15[_0x41ed('0xd1')](_0x23a006,{..._0x37402e}),_0x205464[_0x41ed('0xd1')](_0x23a006,{..._0x37402e});}}}for(const _0x327d1f of _0x534a15[_0x41ed('0xe6')]())_0x327d1f>=this[_0x41ed('0x37')]&&_0x534a15[_0x41ed('0x7b')](_0x327d1f);const _0x36bde9=new Map();for(const _0x2b236e of _0x55e8b5){let _0x34b9b6=_0x2ab57d[_0x41ed('0x66')][_0x2b236e];for(const _0x1f1547 of _0x34b9b6)if(_0x1f1547[_0x41ed('0x105')]['is'](_0x41ed('0xa2'),'tableCell')){const _0x10d30c=this[_0x41ed('0x47')](_0x1f1547),_0x1cb2fa=_0x1f1547[_0x41ed('0x105')][_0x41ed('0xc8')](_0x10d30c);if(_0x205464[_0x41ed('0x6f')](_0x1cb2fa)){const _0x562580=_0x1f1547[_0x41ed('0x105')][_0x41ed('0x7a')][_0x41ed('0x7a')][_0x41ed('0xc8')](_0x41ed('0x82')),_0x56dcd5=_0x36bde9['get'](_0x562580)||new Set();_0x56dcd5[_0x41ed('0x2d')](_0x205464[_0x41ed('0x3a')](_0x1cb2fa)[_0x41ed('0xc')]),_0x36bde9[_0x41ed('0xd1')](_0x562580,_0x56dcd5);}}_0x34b9b6=_0x2ab57d[_0x41ed('0x30')][_0x2b236e];for(const _0x20a3ef of _0x34b9b6)if(_0x20a3ef[_0x41ed('0x105')]['is'](_0x41ed('0xa2'),'tableCell')){const _0x406c15=this['_getVidAttributeName'](_0x20a3ef),_0x56f2c5=_0x20a3ef[_0x41ed('0x105')][_0x41ed('0xc8')](_0x406c15);if(_0x534a15['has'](_0x56f2c5)){const _0x23c2fe=_0x20a3ef['item']['parent'][_0x41ed('0x7a')][_0x41ed('0xc8')](_0x41ed('0x82')),_0x1c493e=_0x36bde9[_0x41ed('0x3a')](_0x23c2fe)||new Set();_0x1c493e[_0x41ed('0x2d')](_0x534a15[_0x41ed('0x3a')](_0x56f2c5)[_0x41ed('0xc')]),_0x36bde9[_0x41ed('0xd1')](_0x23c2fe,_0x1c493e);}}for(const _0x9f0a87 of _0x36bde9[_0x41ed('0xe6')]())(_0x205464[_0x41ed('0x6f')](_0x9f0a87)||_0x534a15[_0x41ed('0x6f')](_0x9f0a87))&&_0x36bde9[_0x41ed('0x7b')](_0x9f0a87);}for(const _0x567987 of _0x55e8b5){const _0x55adcc=_0x2ab57d[_0x41ed('0x66')][_0x567987];let _0x290f8b=null,_0x3801f5=null;for(const _0x15aa97 of _0x55adcc){const _0x25069e=this[_0x41ed('0x47')](_0x15aa97),_0xbbe0cd=_0x15aa97['item'][_0x41ed('0xc8')](_0x25069e),_0x38a0ee=_0x36bde9[_0x41ed('0x3a')](_0xbbe0cd);_0x38a0ee&&_0x41ed('0xc0')==_0x15aa97[_0x41ed('0x3')]&&(_0x290f8b=Array[_0x41ed('0xca')](_0x38a0ee)[0x0],_0x3801f5=_0x15aa97[_0x41ed('0x105')][_0x41ed('0xc8')](_0x41ed('0xe1'))),_0x290f8b&&(_0x534a15[_0x41ed('0xd1')](_0xbbe0cd,{'userId':_0x290f8b}),_0x205464[_0x41ed('0xd1')](_0xbbe0cd,{'userId':_0x290f8b})),_0xbbe0cd==_0x3801f5&&(_0x290f8b=null,_0x3801f5=null);}}const _0x1b6a67={},_0x330334=new Set();for(const _0x4f2cf8 of _0x55e8b5){const _0x3afcee=_0xbfd1[_0x41ed('0x30')][_0x4f2cf8],_0x2d3eee=_0xbfd1[_0x41ed('0x66')][_0x4f2cf8];for(const {userId:_0x76a1ba}of this['_touchedMarkers']['values']())null!==_0x76a1ba&&_0x330334[_0x41ed('0x2d')](_0x76a1ba);for(const {userId:_0x319eeb}of this['_touchedRoots'][_0x41ed('0x39')]())null!==_0x319eeb&&_0x330334[_0x41ed('0x2d')](_0x319eeb);this[_0x41ed('0x55')](_0x2d3eee,_0x2ab57d[_0x41ed('0x66')][_0x4f2cf8],_0x205464,_0x41ed('0x9e'),_0x330334),this[_0x41ed('0x55')](_0x3afcee,_0x2ab57d[_0x41ed('0x30')][_0x4f2cf8],_0x534a15,_0x41ed('0x53'),_0x330334),_0x1b6a67[_0x4f2cf8]={'insertions':this['_prepareViewToSave'](_0x2d3eee),'deletions':this[_0x41ed('0xf7')](_0x3afcee),'attachChange':this[_0x41ed('0x4b')]['get'](_0x4f2cf8)||null,'attributesBefore':_0x2cd86e(this[_0x41ed('0x89')][_0x41ed('0x3a')](_0x4f2cf8))||{},'attributesAfter':_0x2cd86e(this[_0x41ed('0x3d')]['get'](_0x4f2cf8))};}return{'diffData':_0x1b6a67,'authorsIds':Array['from'](_0x330334)};}[_0x41ed('0x54')](_0x2e4ad9){for(const [,_0x36ef53]of _0x2e4ad9['markers']){const _0x159f9a=_0x36ef53[_0x41ed('0x1f')][_0x41ed('0xc2')]()[_0x41ed('0x10b')](_0x4bbc60=>_0x41ed('0x1c')==_0x4bbc60['name']);for(const _0x45b792 of _0x159f9a)0x1==_0x45b792[_0x41ed('0x1b')]&&_0x45b792['getChild'](0x0)['is'](_0x41ed('0xa2'),_0x41ed('0x16'))&&_0x45b792[_0x41ed('0xad')](0x0)['_setAttribute'](_0x41ed('0xc7'),!0x0);}}[_0x41ed('0xf7')](_0x457d5e){this[_0x41ed('0x54')](_0x457d5e);const _0x5454d6=this[_0x41ed('0x92')][_0x41ed('0x3e')][_0x41ed('0x2')](_0x457d5e,{}),_0x28d50b=Array[_0x41ed('0xca')](_0x5454d6['getChildren']())[_0x41ed('0xc3')](_0x10dde8=>this['_getViewJson'](_0x10dde8));return JSON[_0x41ed('0x86')](_0x28d50b);}['_getViewJson'](_0x28c275){if(_0x28c275['is'](_0x41ed('0x15')))return _0x28c275['data'];{const _0x127482=_0x28c275;return{'type':Object[_0x41ed('0xe6')](B)[_0x41ed('0xc4')](_0x10a0b1=>_0x28c275 instanceof B[_0x10a0b1]),'name':_0x127482[_0x41ed('0x38')],'attributes':Array[_0x41ed('0xca')](_0x127482[_0x41ed('0x65')]()),'children':Array[_0x41ed('0xca')](_0x127482[_0x41ed('0xcb')]())['map'](_0x2bacce=>this[_0x41ed('0x4e')](_0x2bacce))};}}[_0x41ed('0x55')](_0x4e9670,_0x5cba66,_0x5c5d42,_0x3cb212,_0x19148a){let _0x22fa31=null,_0x2135ef=null,_0x11776c=0x0;const _0x3a2b5d=this[_0x41ed('0x92')][_0x41ed('0xd9')];for(let _0x3b99da=0x0;_0x3b99da<_0x5cba66['length'];_0x3b99da++){const _0x147516=this[_0x41ed('0x47')](_0x5cba66[_0x3b99da]),_0x5d84d4=_0x5cba66[_0x3b99da][_0x41ed('0x105')][_0x41ed('0xc8')](_0x147516),_0x4b01a7=_0x5c5d42['get'](_0x5d84d4),_0x447318=_0x3b99da==_0x5cba66['length']-0x1;(!_0x22fa31&&_0x4b01a7&&(_0x22fa31=_0x4b01a7,_0x2135ef=_0x5cba66[_0x3b99da]),_0x22fa31&&(!_0x4b01a7||_0x4b01a7['userId']!=_0x22fa31[_0x41ed('0xc')]))&&(_0x4382db(_0x4b01a7,L(_0x2135ef,_0x4e9670,_0x3a2b5d),L(_0x5cba66[_0x3b99da],_0x4e9670,_0x3a2b5d)),_0x22fa31=_0x4b01a7||null,_0x2135ef=_0x4b01a7?_0x5cba66[_0x3b99da]:null),_0x22fa31&&_0x447318&&_0x4382db(_0x4b01a7,L(_0x2135ef,_0x4e9670,_0x3a2b5d),W(_0x5cba66[_0x3b99da],_0x4e9670,_0x3a2b5d));}function _0x4382db(_0x49a3f1,_0x43dc36,_0x4fef5b){const _0x2bd36a=_0x22fa31[_0x41ed('0xc')],_0xf62c63='revision:'+_0x3cb212+':'+_0x2bd36a+':'+_0x11776c++,_0x37e94e=_0x3a2b5d[_0x41ed('0x1a')](_0x43dc36,_0x4fef5b);_0x4e9670[_0x41ed('0xe9')][_0x41ed('0xd1')](_0xf62c63,_0x37e94e),null!==_0x2bd36a&&_0x19148a[_0x41ed('0x2d')](_0x2bd36a);}}[_0x41ed('0x47')](_0x35bdaa){switch(_0x35bdaa[_0x41ed('0x3')]){case _0x41ed('0xc0'):return _0x41ed('0x82');case _0x41ed('0xb1'):return _0x41ed('0xe1');default:return _0x41ed('0xf4');}}[_0x41ed('0x88')](_0x4a07e4,_0x523e60){_0x4a07e4[_0x41ed('0xb5')]=null;for(const _0x3dbeaa in _0x4a07e4){const _0x5bc7c7=_0x4a07e4[_0x3dbeaa];if(_0x5bc7c7 instanceof _0x36d179){const _0x1fd392=_0x523e60['get'](_0x5bc7c7['root'][_0x41ed('0x4')]);_0x4a07e4[_0x3dbeaa]=this['_fixPosition'](_0x5bc7c7,_0x1fd392);}if(_0x5bc7c7 instanceof _0x285279){const _0x1441fc=_0x523e60['get'](_0x5bc7c7['root']['rootName']);_0x4a07e4[_0x3dbeaa]=this[_0x41ed('0xee')](_0x5bc7c7,_0x1441fc);}_0x41ed('0x35')===_0x3dbeaa&&(_0x4a07e4[_0x41ed('0x35')]=_0x523e60['get'](_0x4a07e4[_0x41ed('0x35')]['rootName']));}}[_0x41ed('0xee')](_0x5d0e91,_0x21ab51){return this[_0x41ed('0x92')][_0x41ed('0xd9')][_0x41ed('0x1a')](this[_0x41ed('0xab')](_0x5d0e91['start'],_0x21ab51),this[_0x41ed('0xab')](_0x5d0e91['end'],_0x21ab51));}[_0x41ed('0xab')](_0x3773c3,_0x265ccd){return this['editor'][_0x41ed('0xd9')]['createPositionFromPath'](_0x265ccd,_0x3773c3[_0x41ed('0x45')],_0x3773c3[_0x41ed('0xc6')]);}['_handleInsertOperation'](_0xd3cd39){const _0x33b7e7=this[_0x41ed('0xfd')]['get'](_0xd3cd39[_0x41ed('0xf2')][_0x41ed('0x35')]['rootName']),_0x32b3b1=this[_0x41ed('0xab')](_0xd3cd39[_0x41ed('0xf2')],_0x33b7e7),_0x4048cc=null===_0xd3cd39[_0x41ed('0x108')]?null:_0xd3cd39[_0x41ed('0x108')]||this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x3a')]('Users')['me']['id'],_0x45917b=_0x32b3b1[_0x41ed('0x7a')],_0x22b5a5=this[_0x41ed('0xe5')],_0xd965b5=[];for(const _0x2cf018 of _0xd3cd39[_0x41ed('0x2b')])if(_0x2cf018['is'](_0x41ed('0xa2')))_0xd965b5['push'](this[_0x41ed('0xa5')](_0x2cf018));else for(let _0x41953a=0x0;_0x41953a<_0x2cf018[_0x41ed('0x51')];_0x41953a++)_0xd965b5[_0x41ed('0xb4')](new _0x2f4999(_0x41ed('0x15'),{'vid':this[_0x41ed('0xe5')]++}));const _0xadee56=this[_0x41ed('0xe5')];for(let _0x2fb175=_0x22b5a5;_0x2fb175<_0xadee56;_0x2fb175++)this[_0x41ed('0x18')][_0x41ed('0xd1')](_0x2fb175,{'userId':_0x4048cc});_0x45917b[_0x41ed('0xdd')](_0x32b3b1[_0x41ed('0x102')],_0xd965b5);}[_0x41ed('0xef')](_0x3ac1cb){(_0x3ac1cb=this[_0x41ed('0x7e')](_0x3ac1cb,this[_0x41ed('0xfd')]))[_0x41ed('0x67')]();const _0x21553d=null===_0x3ac1cb[_0x41ed('0x108')]?null:_0x3ac1cb[_0x41ed('0x108')]||this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x3a')]('Users')['me']['id'],_0x3d04a5=_0x3ac1cb['getMovedRangeStart'](),_0x777076=_0x3d04a5[_0x41ed('0x7a')],_0x29c028=_0x3d04a5[_0x41ed('0x102')];!function _0x3fb178(_0x574512,_0x5eb1b6,_0x350452,_0x3350bc){for(let _0xe71955=_0x350452;_0xe71955<_0x3350bc;_0xe71955++){const _0x378622=_0x5eb1b6[_0x41ed('0xad')](_0xe71955);_0x378622['is'](_0x41ed('0xa2'),_0x41ed('0x15'))?_0x574512['set'](_0x378622[_0x41ed('0xc8')](_0x41ed('0xf4')),{'userId':_0x21553d}):(_0x574512[_0x41ed('0xd1')](_0x378622[_0x41ed('0xc8')]('vid_start'),{'userId':_0x21553d}),_0x3fb178(_0x574512,_0x378622,0x0,_0x378622[_0x41ed('0x1b')]),_0x574512[_0x41ed('0xd1')](_0x378622['getAttribute'](_0x41ed('0xe1')),{'userId':_0x21553d}));}}(this[_0x41ed('0x18')],_0x777076,_0x29c028,_0x29c028+_0x3ac1cb['howMany']);}[_0x41ed('0xb')](_0x196dc2){const _0x1e508c=null===(_0x196dc2=this[_0x41ed('0x7e')](_0x196dc2,this['_idsRoots']))[_0x41ed('0x108')]?null:_0x196dc2[_0x41ed('0x108')]||this[_0x41ed('0x92')]['plugins'][_0x41ed('0x3a')]('Users')['me']['id'],_0x3c9dfc=_0x196dc2[_0x41ed('0xec')]['parent'],_0x315378=_0x196dc2[_0x41ed('0xc5')]['parent'],_0x404067=_0x3c9dfc['getAttribute'](_0x41ed('0xe1')),_0x3ba74a=_0x315378[_0x41ed('0xc8')](_0x41ed('0x82'));_0x3c9dfc[_0x41ed('0x4a')]('vid_end',_0x315378[_0x41ed('0xc8')](_0x41ed('0xe1'))),_0x315378[_0x41ed('0x4a')](_0x41ed('0xe1'),_0x404067),this[_0x41ed('0x18')][_0x41ed('0xd1')](_0x3ba74a,{'userId':_0x1e508c}),this[_0x41ed('0x18')][_0x41ed('0xd1')](_0x404067,{'userId':_0x1e508c}),_0x196dc2[_0x41ed('0x67')]();}[_0x41ed('0xb3')](_0x31cf01){const _0x22f535=null===(_0x31cf01=this['_cloneOperation'](_0x31cf01,this[_0x41ed('0xfd')]))['_authorId']?null:_0x31cf01[_0x41ed('0x108')]||this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x3a')](_0x41ed('0x3c'))['me']['id'],_0x4c5d16=_0x31cf01[_0x41ed('0x6a')],_0x4fb4b3=_0x31cf01[_0x41ed('0x5d')][_0x41ed('0x7a')];_0x31cf01[_0x41ed('0x67')]();const _0x1248d6=_0x4fb4b3[_0x41ed('0xc8')](_0x41ed('0xe1')),_0x5e3df2=_0x31cf01['insertionPosition']['nodeAfter'];if(_0x4c5d16){const _0x199673=_0x5e3df2[_0x41ed('0xc8')](_0x41ed('0xe1')),_0x274a7c=_0x4fb4b3['getAttribute'](_0x41ed('0xe1'));_0x4fb4b3[_0x41ed('0x4a')]('vid_end',_0x199673),_0x5e3df2[_0x41ed('0x4a')](_0x41ed('0xe1'),_0x274a7c),this[_0x41ed('0x18')]['set'](_0x4fb4b3['getAttribute']('vid_end'),{'userId':_0x22f535}),this[_0x41ed('0x18')]['set'](_0x5e3df2['getAttribute']('vid_start'),{'userId':_0x22f535});}else{const _0x168b9d=this[_0x41ed('0xe5')]++,_0x4d1712=this['_revisionId']++;_0x4fb4b3[_0x41ed('0x4a')](_0x41ed('0xe1'),_0x168b9d),_0x5e3df2[_0x41ed('0x4a')](_0x41ed('0x82'),_0x4d1712),_0x5e3df2[_0x41ed('0x4a')](_0x41ed('0xe1'),_0x1248d6),this[_0x41ed('0x18')]['set'](_0x168b9d,{'userId':_0x22f535}),this['_touched'][_0x41ed('0xd1')](_0x4d1712,{'userId':_0x22f535});}}[_0x41ed('0xd7')](_0x59662c){if(!_0x59662c[_0x41ed('0x59')])return;const _0x2e1ff1=(_0x59662c=this[_0x41ed('0x7e')](_0x59662c,this[_0x41ed('0xf')]))['oldRange']?_0x59662c['oldRange'][_0x41ed('0x35')]:null,_0x493853=_0x59662c['newRange']?_0x59662c['newRange'][_0x41ed('0x35')]:null;_0x2e1ff1&&this[_0x41ed('0x2e')]['delete'](_0x59662c['name']),_0x493853&&this['_markers'][_0x41ed('0xd1')](_0x59662c[_0x41ed('0x38')],_0x59662c[_0x41ed('0x1d')]['clone']());const _0x3a117b=null===_0x59662c[_0x41ed('0x108')]?null:_0x59662c[_0x41ed('0x108')]||this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x3a')](_0x41ed('0x3c'))['me']['id'],_0x3a8923=_0x59662c['name'];if(!this[_0x41ed('0xac')][_0x41ed('0x6f')](_0x3a8923))return void this[_0x41ed('0xac')][_0x41ed('0xd1')](_0x3a8923,{'range':_0x59662c[_0x41ed('0x96')],'userId':_0x3a117b});const _0x463554=this[_0x41ed('0xac')]['get'](_0x3a8923),_0x213f9a=_0x463554[_0x41ed('0xd8')],_0x170459=_0x59662c[_0x41ed('0x1d')];null==_0x213f9a&&null==_0x170459||_0x213f9a&&_0x170459&&_0x213f9a[_0x41ed('0x8f')](_0x170459)?this[_0x41ed('0xac')][_0x41ed('0x7b')](_0x59662c[_0x41ed('0x38')]):_0x463554[_0x41ed('0xc')]=_0x3a117b;}['_handleRootOperation'](_0xfd42bc,_0x377b2b){this[_0x41ed('0xf')][_0x41ed('0x6f')](_0xfd42bc['rootName'])?this[_0x41ed('0xf')]['get'](_0xfd42bc[_0x41ed('0x4')])[_0x41ed('0x22')]=_0xfd42bc['isAdd']:(this[_0x41ed('0xf')][_0x41ed('0xd1')](_0xfd42bc[_0x41ed('0x4')],G(_0xfd42bc[_0x41ed('0x4')],!0x0)),this[_0x41ed('0x3d')][_0x41ed('0xd1')](_0xfd42bc['rootName'],{}),_0x377b2b&&this[_0x41ed('0xfd')][_0x41ed('0xd1')](_0xfd42bc[_0x41ed('0x4')],G(_0xfd42bc[_0x41ed('0x4')],!0x0)));const _0x3db185=null===_0xfd42bc[_0x41ed('0x108')]?null:_0xfd42bc[_0x41ed('0x108')]||this[_0x41ed('0x92')][_0x41ed('0x7c')][_0x41ed('0x3a')]('Users')['me']['id'],_0x5b4ddb=this[_0x41ed('0x4b')]['get'](_0xfd42bc[_0x41ed('0x4')]);_0x5b4ddb&&_0x5b4ddb[_0x41ed('0xc')]===_0x3db185?this['_touchedRoots']['delete'](_0xfd42bc['rootName']):this[_0x41ed('0x4b')][_0x41ed('0xd1')](_0xfd42bc['rootName'],{'userId':_0x3db185,'isAttached':_0xfd42bc['isAdd']});}[_0x41ed('0x41')](_0x2bb07e){const _0x7ed17a=this['_diffRootsAttributes'][_0x41ed('0x3a')](_0x2bb07e[_0x41ed('0x35')]['rootName']);null===_0x2bb07e[_0x41ed('0x4f')]?delete _0x7ed17a[_0x2bb07e[_0x41ed('0x21')]]:_0x7ed17a[_0x2bb07e[_0x41ed('0x21')]]=_0x2bb07e[_0x41ed('0x4f')];}}function q(_0x58c5d0){const _0x5a3e58=G(_0x58c5d0[_0x41ed('0x4')],_0x58c5d0[_0x41ed('0x90')]());for(const _0x57de36 of _0x58c5d0[_0x41ed('0xcb')]()){const _0x55d22d=_0x57de36['_clone'](!0x0);_0x5a3e58[_0x41ed('0x8e')](_0x55d22d);}return _0x5a3e58;}function G(_0x1fc20a,_0x19d421=!0x0){const _0x4e4396=new _0x4fa6bf();return _0x4e4396[_0x41ed('0x4')]=_0x1fc20a,_0x4e4396['_isAttached']=_0x19d421,_0x4e4396[_0x41ed('0x90')]=()=>_0x4e4396[_0x41ed('0x22')],_0x4e4396;}function L(_0xceb9f1,_0x364910,_0x448cfa){const _0x200a5b=_0x41ed('0xb1')==_0xceb9f1[_0x41ed('0x3')]?_0x448cfa[_0x41ed('0xea')](_0xceb9f1[_0x41ed('0x105')],_0x41ed('0x91')):_0x448cfa[_0x41ed('0x98')](_0xceb9f1[_0x41ed('0x105')]);return _0x448cfa['createPositionFromPath'](_0x364910,_0x200a5b[_0x41ed('0x45')],_0x200a5b['stickiness']);}function W(_0x1b530e,_0x818b5e,_0x80583){const _0x31dc59=_0x41ed('0xc0')==_0x1b530e[_0x41ed('0x3')]?_0x80583[_0x41ed('0xea')](_0x1b530e[_0x41ed('0x105')],0x0):_0x80583[_0x41ed('0xda')](_0x1b530e[_0x41ed('0x105')]);return _0x80583[_0x41ed('0x73')](_0x818b5e,_0x31dc59[_0x41ed('0x45')],_0x31dc59[_0x41ed('0xc6')]);}
|