@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20230818.0 → 0.0.0-nightly-20230818.1
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 _0x5118=['_createCurrentRevision','length','authorsIds','attributes','documentFragment','insertion','_addPendingAction','setRevisionData','splitPosition','$graveyard','getIndex','childCount','_handleOperation','upcast','has','_createFromRanges','_lastTo','attachChange','removeRootAttribute','vid','getAncestors','from','updateRevisions','_pendingAction','createPositionAfter','_fixPosition','_bufferedUpdates','getRevisions','repository','getCurrentRevisionId','vid_end','_markChanges','createPositionBefore','elementStart','keepParagraph','_insertChild','insert','root','position','_findInsertionIndex','getChildren','_cloneOperation','offsetSize','default','getRevision','getChild','buildRevisionData','text','_touchedMarkers','_fixOperation','_startingRevisionId','delete','toVersion','clone','rootsAttributes','_getViewJson','_operations','_baseRootsAttributes','markers','shift','getOperation','getTransformedByOperation','string','find','_calculateMetaData','view','_startingVersion','_makeIdsRoot','initial','authors','Users','revision','createdAt','model','_isPendingUpdate','_execute','_appendChild','getUser','pluginName','getTime','rootName','oldRange','dataToMarker','offset','define','_replaceEditorDataWithRevisionData','version','editing','_getFromVersion','_baseRoots','isEqual','_removePendingAction','_isAttached','PendingActions','adapter','_authorId','_markers','size','_diffRoots','get','_handleRootOperation','document','map','creator','_prepareViewToSave','_removeRevisionMarkers','_getVidAttributeName','config','path','creatorId','_removeMetaData','_getPreviousFrom','_loadRevisionData','push','$text','affectsData','_copyMarkers','range','targetPosition','element','includes','split','getRevisionDocumentData','_makeRevision','afterInit','getNodeByPath','addRoot','_handleSplitOperation','createRevision','previousPosition','Initial\x20revision','insertionPosition','reInit','plugins','newRange','newValue','getData','isReady','stringify','RevisionTracker','markerToData','roots','vid_start','_update','NEGATIVE_INFINITY','locale','move','then','attributesAfter','_handleRootAttributeOperation','isAttached','item','values','key','type','_savedMetaData','name','tableCell','parse','createPositionFromPath','_touched','howMany','finally','_revisionDataBuilder','revisionHistory.resumeUnsavedRevision','merge','filter','end','_fixRange','deletion','_baseIdsRoots','_getBaseVids','_clone','collaboration.channelId','clear','processor','elementEnd','_reset','data','stickiness','insertions','currentRevision','keys','_lastFrom','deletions','createRange','_createInitialRevision','graveyardPosition','children','toModel','conversion','getWalker','getMovedRangeStart','slice','start','_loadState','_idsRoots','source','editor','some','trim','baseVersion','_handleMarkerOperation','_getState','hasContent','_transformMarkers','attributesBefore','toData','_isInit','sendBufferedUpdates','sort','getOperations','getAttributes','_saveMetaData','revision:','fromEntries','fromVersion','remove','marked','saveRevision','nodeAfter','getAttribute','for','_touchedRoots','getRoot','_diffRootsAttributes','set','loadState','data-revision-','marker','history','_initialRevisionId','_setAttribute','isAdd','resolve','useFillerType','Empty\x20document','_generateTape','_setConversion','revision-start','startsWith','getRootNames','getRevisionRootsAttributes','_loadedStateData','bind','parent','_processRootBeforeSave','init','diffData','_continueCurrentRevision','_revisionId','paragraph','userId','_applyOperations','reverse','initialData','update','add','_handleMergeOperation','_makeModelFromViewString','_bufferUpdate','revision-end','addRevisionData','_source'];(function(_0x3241c3,_0x51182f){const _0x2c6fa6=function(_0x2871e3){while(--_0x2871e3){_0x3241c3['push'](_0x3241c3['shift']());}};_0x2c6fa6(++_0x51182f);}(_0x5118,0x137));const _0x2c6f=function(_0x3241c3,_0x51182f){_0x3241c3=_0x3241c3-0x0;let _0x2c6fa6=_0x5118[_0x3241c3];return _0x2c6fa6;};import{Users as _0x2f72d3}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0xd14f5c,PendingActions as _0xa2e87b}from'ckeditor5/src/core';import{logWarning as _0x41377c,uid as _0x154040}from'ckeditor5/src/utils';import{Position as _0x4f2d96,Range as _0x20270a,Element as _0x2bfd72,DocumentFragment as _0x381441,ViewText as _0x11c7bb,ViewElement as _0x31128b,ViewContainerElement as _0x7f07bf,ViewAttributeElement as _0x407e78,ViewEmptyElement as _0x505704,ViewRawElement as _0x49524d,ViewUIElement as _0x2e1638,ViewDocumentFragment as _0x4ab740}from'ckeditor5/src/engine';import _0x33a4ba from'./revisionsrepository';import{getTranslation as _0x34622a}from'./utils/common-translations';import{cloneDeep as _0x165835,isEqual as _0x20092c}from'lodash-es';const B={'c':_0x7f07bf,'a':_0x407e78,'e':_0x505704,'r':_0x49524d,'u':_0x2e1638};export default class l extends _0xd14f5c{static get[_0x2c6f('0x1f')](){return _0x2c6f('0x5c');}static get['requires'](){return[_0x2f72d3,_0x33a4ba,_0xa2e87b];}constructor(_0x476ff4){super(_0x476ff4),this[_0x2c6f('0x2f')]=null,this['currentRevision']=null,this['_revisionDataBuilder']=new H(this[_0x2c6f('0x97')]),this['_initialRevisionId']=this[_0x2c6f('0x97')]['config']['get'](_0x2c6f('0x7e'))||_0x2c6f('0x15'),this[_0x2c6f('0xf3')]=new Map(),this['_loadedStateData']=null;const _0x4aa6b1=_0x154040();this[_0x2c6f('0xd8')]={'history':this['editor'][_0x2c6f('0x1a')][_0x2c6f('0x36')]['history'],'getLatestVersion':()=>Promise['resolve'](this['editor'][_0x2c6f('0x1a')][_0x2c6f('0x36')][_0x2c6f('0x27')]),'getCurrentRevisionId':()=>_0x4aa6b1},this['set']('isReady',!0x1),this[_0x2c6f('0xb3')]('isEnabled',!0x0),this[_0x2c6f('0xb3')](_0x2c6f('0x1b'),!0x1),this[_0x2c6f('0x97')][_0x2c6f('0x3c')][_0x2c6f('0x25')](_0x2c6f('0x75'),!0x0),this[_0x2c6f('0x97')][_0x2c6f('0x8f')]['for'](_0x2c6f('0xe6'))[_0x2c6f('0x23')]({'view':_0x2c6f('0x18')});}[_0x2c6f('0xc8')](){this[_0x2c6f('0xf5')]=this['editor'][_0x2c6f('0x56')][_0x2c6f('0x34')]('RevisionsRepository'),this[_0x2c6f('0xbf')](),this[_0x2c6f('0x97')]['data']['on']('ready',()=>{const _0x15d920=this[_0x2c6f('0xf5')][_0x2c6f('0x105')](0x0),_0x295c53=_0x15d920&&null===_0x15d920['creator']?_0x15d920:null;if(this['_continueCurrentRevision']=!!_0x295c53&&this[_0x2c6f('0x97')][_0x2c6f('0x3c')][_0x2c6f('0x34')](_0x2c6f('0x75')),this[_0x2c6f('0x97')]['plugins'][_0x2c6f('0xe7')]('RealTimeCollaborationClient')){const _0xfcf58=this[_0x2c6f('0xd8')]['getCurrentRevisionId'](),_0x3d03bd=this[_0x2c6f('0xf5')]['getRevision'](_0xfcf58);if(_0x3d03bd)this[_0x2c6f('0x13')]=_0x3d03bd[_0x2c6f('0xa9')],this[_0x2c6f('0xca')]=!0x1;else{const _0x31429d=this['_source']['history'][_0x2c6f('0x9')][_0x2c6f('0x10')](_0x1cf2c4=>!_0x1cf2c4[_0x2c6f('0xa1')]),_0x3fc914=_0x31429d?_0x31429d[_0x2c6f('0x9a')]:this[_0x2c6f('0xd8')][_0x2c6f('0xb7')][_0x2c6f('0x27')];_0x15d920?(_0x15d920[_0x2c6f('0x5')]<_0x3fc914&&_0x15d920[_0x2c6f('0x60')]({'toVersion':_0x3fc914}),this[_0x2c6f('0xca')]?(this[_0x2c6f('0xd8')][_0x2c6f('0xf6')]=()=>_0x295c53['id'],this[_0x2c6f('0x13')]=_0x295c53['fromVersion']):(this['_startingVersion']=_0x15d920[_0x2c6f('0x5')],this[_0x2c6f('0xca')]=!0x1)):(this[_0x2c6f('0x13')]=_0x3fc914,this[_0x2c6f('0xca')]=!0x1);}}else _0x295c53&&(this[_0x2c6f('0x97')][_0x2c6f('0x1a')][_0x2c6f('0x36')][_0x2c6f('0xb7')]['version']=Math['max'](_0x295c53[_0x2c6f('0x5')],this[_0x2c6f('0x97')]['model'][_0x2c6f('0x36')][_0x2c6f('0xb7')][_0x2c6f('0x27')]),_0x295c53[_0x2c6f('0xa9')]===_0x295c53[_0x2c6f('0x5')]?(0x0!==_0x295c53[_0x2c6f('0xa9')]&&(this[_0x2c6f('0xd8')][_0x2c6f('0xf6')]=()=>_0x295c53['id']),this['_continueCurrentRevision']=!0x1):this[_0x2c6f('0xca')]&&(this[_0x2c6f('0xd8')]['getCurrentRevisionId']=()=>_0x295c53['id'],this['_startingVersion']=_0x295c53[_0x2c6f('0xa9')])),this[_0x2c6f('0xca')]||(this[_0x2c6f('0x13')]=this[_0x2c6f('0x97')][_0x2c6f('0x1a')][_0x2c6f('0x36')][_0x2c6f('0x27')]);this['_revisionDataBuilder'][_0x2c6f('0xc8')](this[_0x2c6f('0xd8')][_0x2c6f('0xb7')]),this[_0x2c6f('0x8b')](this[_0x2c6f('0x13')]),this[_0x2c6f('0xd9')](this[_0x2c6f('0x13')]),this[_0x2c6f('0x2f')]&&this['sendBufferedUpdates']();}),this[_0x2c6f('0xc5')](_0x2c6f('0x5a'))['to'](this,_0x2c6f('0x1b'),_0x808fd7=>!_0x808fd7);}async[_0x2c6f('0x4d')](){if(this['repository'][_0x2c6f('0xda')]>0x0){const _0x34e5cf=this[_0x2c6f('0xf5')][_0x2c6f('0x105')](0x0),_0x2497db=await this[_0x2c6f('0x4b')](_0x34e5cf),_0x414da6=await this[_0x2c6f('0xc3')](_0x34e5cf);this[_0x2c6f('0x26')](_0x2497db,_0x414da6);}}['setSource'](_0x53806c){this[_0x2c6f('0xd8')]=_0x53806c;}async[_0x2c6f('0xd1')](){const _0x2437fc=await this[_0x2c6f('0xd8')]['getLatestVersion']();if(_0x2437fc>this[_0x2c6f('0x86')][_0x2c6f('0x5')]){await this[_0x2c6f('0x94')]();const _0xc664d1=this[_0x2c6f('0x107')]({'revision':this[_0x2c6f('0x86')],'to':_0x2437fc});_0xc664d1[_0x2c6f('0x16')]=_0xc664d1[_0x2c6f('0xdb')]['map'](_0xfb0609=>this[_0x2c6f('0x97')][_0x2c6f('0x56')][_0x2c6f('0x34')](_0x2c6f('0x17'))[_0x2c6f('0x1e')](_0xfb0609)),this['currentRevision'][_0x2c6f('0x60')](_0xc664d1);}}async[_0x2c6f('0x94')](){this[_0x2c6f('0xca')]&&!this[_0x2c6f('0xc4')]&&(await this[_0x2c6f('0x41')](this['currentRevision']),this[_0x2c6f('0x74')][_0x2c6f('0xb4')](this[_0x2c6f('0x86')]),this[_0x2c6f('0xc4')]={'fromVersion':this[_0x2c6f('0x86')][_0x2c6f('0xa9')],'authors':this['currentRevision']['authors'][_0x2c6f('0x92')]()});}async[_0x2c6f('0xac')](_0x41e6b9={},_0x173245=null){const _0x44280b=[];await this[_0x2c6f('0x94')](),this[_0x2c6f('0xca')]=!0x1,_0x173245>this[_0x2c6f('0x86')][_0x2c6f('0x5')]&&(_0x173245=null),null===_0x173245&&(_0x173245=await this[_0x2c6f('0xd8')]['getLatestVersion']());const _0x184daf=this[_0x2c6f('0x29')](_0x173245),_0x4d5df6=this['buildRevisionData']({'from':_0x184daf,'to':_0x173245});if(this[_0x2c6f('0x86')]['toVersion']<_0x173245){const _0x156253=this[_0x2c6f('0x107')]({'revision':this['currentRevision'],'from':_0x173245,'to':_0x173245});_0x156253['authors']=[],_0x156253['authorsIds']=[],_0x156253['id']=this[_0x2c6f('0x86')]['id'],this['currentRevision'][_0x2c6f('0x60')](_0x156253,!0x0),delete _0x156253[_0x2c6f('0x16')],_0x44280b['push'](_0x156253);}_0x41e6b9[_0x2c6f('0x3e')]=this[_0x2c6f('0x97')]['plugins']['get']('Users')['me']['id'],_0x41e6b9['name']=_0x41e6b9[_0x2c6f('0x6d')]||null,_0x41e6b9['id']=_0x41e6b9['id']||_0x154040(),_0x41e6b9={..._0x41e6b9,..._0x4d5df6};const _0x426d37=this[_0x2c6f('0xd7')](_0x41e6b9);_0x44280b[_0x2c6f('0x42')](_0x41e6b9);const _0x2c588e=this[_0x2c6f('0xf5')][_0x2c6f('0xe3')](_0x426d37);if(0x0!==_0x2c588e){const _0x320d70=this[_0x2c6f('0xf5')][_0x2c6f('0x105')](_0x2c588e-0x1);if(_0x320d70[_0x2c6f('0xa9')]!==_0x173245){const _0x3352ae=this[_0x2c6f('0x74')]['getData'](_0x173245,_0x320d70[_0x2c6f('0x5')]),_0x35ef3f={'id':_0x320d70['id'],'diffData':_0x3352ae[_0x2c6f('0xc9')],'authorsIds':_0x3352ae[_0x2c6f('0xdb')],'authors':_0x3352ae[_0x2c6f('0xdb')][_0x2c6f('0x37')](_0x509d30=>this[_0x2c6f('0x97')][_0x2c6f('0x56')][_0x2c6f('0x34')](_0x2c6f('0x17'))[_0x2c6f('0x1e')](_0x509d30)),'fromVersion':_0x173245};_0x320d70===this['currentRevision']&&(_0x35ef3f['createdAt']=new Date(_0x41e6b9[_0x2c6f('0x19')][_0x2c6f('0x20')]()+0xa)),_0x320d70[_0x2c6f('0x60')](_0x35ef3f,!0x0),delete _0x35ef3f[_0x2c6f('0x16')],_0x44280b[_0x2c6f('0x42')](_0x35ef3f);}}if(this['adapter']){for(const _0x176a0d of _0x44280b)this[_0x2c6f('0xd5')](_0x176a0d['id'],_0x176a0d,!0x0);this[_0x2c6f('0xa2')]();}return _0x426d37;}[_0x2c6f('0xd7')](_0x58ab7a){const _0x119d8c=this[_0x2c6f('0xf5')][_0x2c6f('0x51')](_0x58ab7a);return this[_0x2c6f('0x2f')]&&_0x119d8c['on'](_0x2c6f('0x60'),(_0x311c03,_0x4b1975,_0x5a3f82)=>{_0x5a3f82||(this['_bufferUpdate'](_0x4b1975['id'],_0x4b1975,!0x0),this['sendBufferedUpdates']());}),this[_0x2c6f('0xf5')]['addRevision'](_0x119d8c,this[_0x2c6f('0x100')](_0x119d8c)),_0x119d8c;}async[_0x2c6f('0x4b')](_0x141f8e){await this[_0x2c6f('0x41')](_0x141f8e);const _0x5e5c9c={};for(const _0x234104 in _0x141f8e[_0x2c6f('0xc9')]){if(_0x141f8e[_0x2c6f('0xc9')][_0x234104]['attachChange']&&!_0x141f8e[_0x2c6f('0xc9')][_0x234104][_0x2c6f('0xea')][_0x2c6f('0x67')])continue;const _0x1ea51b=this[_0x2c6f('0x3a')](JSON[_0x2c6f('0x6f')](_0x141f8e['diffData'][_0x234104][_0x2c6f('0x85')])),_0x242b4c=this['editor'][_0x2c6f('0x28')][_0x2c6f('0x12')][_0x2c6f('0x36')],_0x773be6=new _0x4ab740(_0x242b4c,_0x1ea51b[_0x2c6f('0x37')](_0x213d0e=>J(_0x213d0e,this['editor'])));this[_0x2c6f('0x97')][_0x2c6f('0x83')][_0x2c6f('0x80')][_0x2c6f('0xbc')](_0x2c6f('0xab')),_0x5e5c9c[_0x234104]=this[_0x2c6f('0x97')][_0x2c6f('0x83')][_0x2c6f('0x80')][_0x2c6f('0xa0')](_0x773be6),this[_0x2c6f('0x97')][_0x2c6f('0x83')]['processor']['useFillerType'](_0x2c6f('0x104'));}return _0x5e5c9c;}async['getRevisionRootsAttributes'](_0x316ef7){await this[_0x2c6f('0x41')](_0x316ef7);const _0x25252e={};for(const _0x3828cc in _0x316ef7['diffData'])_0x316ef7['diffData'][_0x3828cc]['attachChange']&&!_0x316ef7[_0x2c6f('0xc9')][_0x3828cc]['attachChange'][_0x2c6f('0x67')]||(_0x25252e[_0x3828cc]=_0x316ef7[_0x2c6f('0xc9')][_0x3828cc][_0x2c6f('0x65')]||{});return _0x25252e;}[_0x2c6f('0xa2')](){if(0x0===this[_0x2c6f('0xf3')][_0x2c6f('0x32')])return;if(this[_0x2c6f('0x1b')])return;let _0x966eda=Array[_0x2c6f('0xee')](this[_0x2c6f('0xf3')][_0x2c6f('0x69')]());this['_bufferedUpdates'][_0x2c6f('0x7f')]();for(let _0x41a5dc=0x0;_0x41a5dc<_0x966eda['length'];_0x41a5dc++){const _0x598a50=_0x966eda[_0x41a5dc];let _0x41f57c=!0x1;for(const _0x53bc47 of Object[_0x2c6f('0x87')](_0x598a50))void 0x0===_0x598a50[_0x53bc47]?delete _0x598a50[_0x53bc47]:'id'!==_0x53bc47&&(_0x41f57c=!0x0);_0x41f57c||(_0x966eda[_0x41a5dc]=null);}if(_0x966eda=_0x966eda['filter'](_0x588802=>null!==_0x588802),!_0x966eda['length'])return;for(let _0x2a3eb0=0x0;_0x2a3eb0<_0x966eda[_0x2c6f('0xda')];_0x2a3eb0++){const _0x485a6e=_0x966eda[_0x2a3eb0];void 0x0!==_0x485a6e['fromVersion']&&void 0x0===_0x485a6e[_0x2c6f('0x5')]&&(_0x485a6e[_0x2c6f('0x5')]=this[_0x2c6f('0xf5')][_0x2c6f('0x105')](_0x485a6e['id'])[_0x2c6f('0x5')]),void 0x0!==_0x485a6e['toVersion']&&void 0x0===_0x485a6e[_0x2c6f('0xa9')]&&(_0x485a6e['fromVersion']=this['repository'][_0x2c6f('0x105')](_0x485a6e['id'])[_0x2c6f('0xa9')]);}const _0x2b5ba2=this[_0x2c6f('0x97')]['config'][_0x2c6f('0x34')](_0x2c6f('0x7e'));this['_isPendingUpdate']=!0x0,this[_0x2c6f('0xdf')](),this[_0x2c6f('0x2f')][_0x2c6f('0xef')](_0x966eda,_0x2b5ba2)[_0x2c6f('0x73')](()=>{this[_0x2c6f('0x1b')]=!0x1;})[_0x2c6f('0x64')](_0x347e17=>{if(_0x347e17)for(const _0x56f3ab of _0x347e17)this[_0x2c6f('0xe0')]({'id':_0x56f3ab['id'],'createdAt':_0x56f3ab['createdAt']});this[_0x2c6f('0x2c')](),this[_0x2c6f('0xa2')]();});}[_0x2c6f('0x26')](_0x1465ce,_0x211f9c){let _0x95713f=this[_0x2c6f('0x97')][_0x2c6f('0x3c')][_0x2c6f('0x34')](_0x2c6f('0xd0')),_0x313d0a=this[_0x2c6f('0x97')][_0x2c6f('0x3c')][_0x2c6f('0x34')](_0x2c6f('0x7'));if(void 0x0===_0x95713f){_0x95713f={};for(const _0x2fa771 of this['editor'][_0x2c6f('0x1a')][_0x2c6f('0x36')][_0x2c6f('0xc2')]())_0x95713f[_0x2fa771]='';}if(_0x2c6f('0xf')==typeof _0x95713f&&(_0x95713f={'main':_0x95713f}),void 0x0===_0x313d0a){_0x313d0a={};for(const _0x4fc412 of this[_0x2c6f('0x97')][_0x2c6f('0x1a')][_0x2c6f('0x36')][_0x2c6f('0xc2')]())_0x313d0a[_0x4fc412]={};}let _0x316d1e=!0x1;const _0x336d7f=Object['keys'](_0x95713f),_0x48902d=Object[_0x2c6f('0x87')](_0x1465ce);for(const _0x4120ff of _0x336d7f){if(_0x95713f[_0x4120ff]!==_0x1465ce[_0x4120ff]&&''!==_0x95713f[_0x4120ff][_0x2c6f('0x99')]()){_0x316d1e=!0x0;break;}if(!_0x20092c(_0x313d0a[_0x4120ff],_0x211f9c[_0x4120ff])&&Object[_0x2c6f('0x87')](_0x313d0a[_0x4120ff])[_0x2c6f('0xda')]>0x0){_0x316d1e=!0x0;break;}}_0x316d1e||(_0x316d1e=_0x48902d[_0x2c6f('0x98')](_0x4fa5e3=>!this[_0x2c6f('0x97')]['model'][_0x2c6f('0x36')][_0x2c6f('0xb1')](_0x4fa5e3))),_0x316d1e&&_0x41377c('editor-initial-data-replaced-with-revision-data',{'editorData':_0x95713f,'editorRootsAttributes':_0x313d0a,'revisionData':_0x1465ce,'revisionRootsAttributes':_0x211f9c}),this['editor'][_0x2c6f('0x3c')][_0x2c6f('0xb3')]('initialData',_0x1465ce),this[_0x2c6f('0x97')][_0x2c6f('0x3c')][_0x2c6f('0xb3')](_0x2c6f('0x7'),_0x211f9c);}[_0x2c6f('0xdf')](){if(!this['_pendingAction']){const _0x33ce4d=this[_0x2c6f('0x97')][_0x2c6f('0x56')][_0x2c6f('0x34')](_0x2c6f('0x2e'));this['_pendingAction']=_0x33ce4d[_0x2c6f('0xd2')](_0x34622a(this[_0x2c6f('0x97')][_0x2c6f('0x62')],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this[_0x2c6f('0xf0')]&&(this[_0x2c6f('0x97')][_0x2c6f('0x56')]['get'](_0x2c6f('0x2e'))[_0x2c6f('0xaa')](this[_0x2c6f('0xf0')]),this[_0x2c6f('0xf0')]=null);}[_0x2c6f('0x100')](_0x5ec0ed){const _0x582c18=this[_0x2c6f('0xf5')][_0x2c6f('0xf4')]();_0x582c18[_0x2c6f('0xcf')]();let _0x46db9a=0x0;for(;_0x46db9a<_0x582c18[_0x2c6f('0xda')];){const _0x3d4c8b=_0x582c18[_0x46db9a];if(_0x3d4c8b===this['currentRevision']){_0x46db9a++;continue;}if(_0x3d4c8b['id']===this['_initialRevisionId'])break;const _0xf9c3df=_0x5ec0ed['toVersion']-_0x3d4c8b['toVersion']||_0x5ec0ed[_0x2c6f('0xa9')]-_0x3d4c8b[_0x2c6f('0xa9')];if(_0xf9c3df>0x0)break;if(_0xf9c3df<0x0)_0x46db9a++;else{if(!_0x5ec0ed[_0x2c6f('0x38')]&&_0x3d4c8b[_0x2c6f('0x38')])break;if(_0x3d4c8b[_0x2c6f('0x38')]||!_0x5ec0ed[_0x2c6f('0x38')]){if(_0x5ec0ed['createdAt']>_0x3d4c8b[_0x2c6f('0x19')])break;_0x46db9a++;}else _0x46db9a++;}}return _0x46db9a;}[_0x2c6f('0xe0')](_0x423d06){const _0x22ecde=this[_0x2c6f('0xf5')][_0x2c6f('0x105')](_0x423d06['id']);if(_0x423d06[_0x2c6f('0x19')]&&(_0x423d06[_0x2c6f('0x19')]=new Date(_0x423d06[_0x2c6f('0x19')])),_0x423d06[_0x2c6f('0xdb')]){const _0x5b638a=this[_0x2c6f('0x97')][_0x2c6f('0x56')][_0x2c6f('0x34')](_0x2c6f('0x17'));_0x423d06[_0x2c6f('0x16')]=_0x423d06['authorsIds'][_0x2c6f('0x37')](_0x5d7af7=>_0x5b638a['getUser'](_0x5d7af7));}_0x22ecde[_0x2c6f('0x60')](_0x423d06,!0x0);}[_0x2c6f('0x107')]({revision:_0x366f26=null,from:_0x5a0cce=null,to:_0x3ce034=null}){_0x5a0cce=null!==_0x5a0cce?_0x5a0cce:_0x366f26[_0x2c6f('0xa9')],_0x3ce034=null!==_0x3ce034?_0x3ce034:_0x366f26[_0x2c6f('0x5')];const _0x1d7164=this[_0x2c6f('0x74')][_0x2c6f('0x59')](_0x5a0cce,_0x3ce034),_0x4b7e46={'diffData':_0x1d7164[_0x2c6f('0xc9')],'authorsIds':_0x1d7164[_0x2c6f('0xdb')],'fromVersion':_0x5a0cce,'toVersion':_0x3ce034};if(!_0x366f26||_0x3ce034!==_0x366f26[_0x2c6f('0x5')]){const _0x2ce9bd=_0x3ce034-0x1,_0x3fd647=this[_0x2c6f('0xd8')][_0x2c6f('0xb7')][_0x2c6f('0xd')](_0x2ce9bd);_0x4b7e46[_0x2c6f('0x19')]=_0x3fd647&&_0x3fd647[_0x2c6f('0x19')]||new Date();}if(this[_0x2c6f('0xc4')]&&_0x5a0cce===this[_0x2c6f('0xc4')][_0x2c6f('0xa9')])for(const _0x2f83c1 of this[_0x2c6f('0xc4')][_0x2c6f('0x16')])_0x4b7e46[_0x2c6f('0xdb')][_0x2c6f('0x49')](_0x2f83c1['id'])||_0x4b7e46['authorsIds']['push'](_0x2f83c1['id']);return _0x4b7e46;}[_0x2c6f('0x41')](_0x52392f){if(!_0x52392f||_0x52392f[_0x2c6f('0xc9')])return Promise[_0x2c6f('0xbb')]();{const _0x328bbf=this[_0x2c6f('0x97')]['config'][_0x2c6f('0x34')]('collaboration.channelId');return this[_0x2c6f('0x2f')][_0x2c6f('0x105')]({'channelId':_0x328bbf,'revisionId':_0x52392f['id']})[_0x2c6f('0x64')](_0x1ec1a1=>{_0x52392f['diffData']=_0x1ec1a1[_0x2c6f('0xc9')];});}}[_0x2c6f('0xd5')](_0x183a2a,_0x633194,_0xbda6f0){if(this[_0x2c6f('0xf3')][_0x2c6f('0xe7')](_0x183a2a)){const _0x33954c=this[_0x2c6f('0xf3')][_0x2c6f('0x34')](_0x183a2a);_0x633194=_0xbda6f0?{..._0x33954c,..._0x633194}:{..._0x633194,..._0x33954c};}this[_0x2c6f('0xf3')][_0x2c6f('0xb3')](_0x183a2a,_0x633194);}[_0x2c6f('0x29')](_0x214068){const _0x28b4cc=this[_0x2c6f('0xf5')][_0x2c6f('0xf4')]();_0x28b4cc['reverse'](),_0x28b4cc[_0x2c6f('0xc')]();const _0x502903=_0x28b4cc['find'](_0x29b90d=>_0x29b90d[_0x2c6f('0x5')]<=_0x214068)[_0x2c6f('0x5')];return _0x502903<this[_0x2c6f('0x13')]?this[_0x2c6f('0x13')]:_0x502903;}[_0x2c6f('0x8b')](_0x49dc01){const _0xb3bb71=this[_0x2c6f('0xf5')][_0x2c6f('0x105')](this[_0x2c6f('0xf5')]['length']-0x1);if(_0xb3bb71)this[_0x2c6f('0xb8')]=_0xb3bb71['id'];else{const _0x44d530=!this[_0x2c6f('0x97')]['model'][_0x2c6f('0x36')]['roots'][_0x2c6f('0x10')](_0x20717e=>this[_0x2c6f('0x97')][_0x2c6f('0x1a')][_0x2c6f('0x9d')](_0x20717e)),_0x378e26=this['editor']['plugins'][_0x2c6f('0x34')]('Users')['me']['id'],_0x4a5193=_0x34622a(this[_0x2c6f('0x97')][_0x2c6f('0x62')],_0x44d530?_0x2c6f('0xbd'):_0x2c6f('0x53'));this[_0x2c6f('0x4c')]({'from':_0x49dc01,'to':_0x49dc01,'id':this[_0x2c6f('0xb8')],'name':_0x4a5193,'creatorId':_0x378e26});}}[_0x2c6f('0xd9')](_0xa5873c){const _0x159147=this[_0x2c6f('0xd8')]['getCurrentRevisionId']();this[_0x2c6f('0x86')]=this[_0x2c6f('0xf5')]['getRevision'](_0x159147),this[_0x2c6f('0x86')]||(this[_0x2c6f('0x86')]=this[_0x2c6f('0x4c')]({'from':_0xa5873c,'to':_0xa5873c,'id':_0x159147,'name':'','creatorId':null}));}[_0x2c6f('0x4c')]({name:_0x25de1f,from:_0x47dcd2,to:_0x1ca0e9,creatorId:_0x3a9916,id:_0x32a28a}){const _0x170683=this[_0x2c6f('0x107')]({'from':_0x47dcd2,'to':_0x1ca0e9});_0x170683[_0x2c6f('0x6d')]=_0x25de1f,_0x170683[_0x2c6f('0x3e')]=_0x3a9916,_0x170683['id']=_0x32a28a;const _0x1828d3=this[_0x2c6f('0xd7')](_0x170683);return this[_0x2c6f('0x2f')]&&this['_bufferUpdate'](_0x170683['id'],_0x170683,!0x0),_0x1828d3;}['_setConversion'](){this[_0x2c6f('0x97')][_0x2c6f('0x8f')][_0x2c6f('0xaf')]('dataDowncast')[_0x2c6f('0x5d')]({'model':_0x2c6f('0x18')});}['_removeRevisionMarkers'](_0x12f9b2){return(_0x12f9b2=_0x12f9b2[_0x2c6f('0x77')](_0x2753cb=>!_0x2753cb[_0x2c6f('0x6d')]||_0x2c6f('0xc0')!==_0x2753cb['name']&&_0x2c6f('0xd6')!==_0x2753cb[_0x2c6f('0x6d')]))['forEach'](_0x32957a=>{'string'!=typeof _0x32957a&&(_0x32957a[_0x2c6f('0x8d')]=this['_removeRevisionMarkers'](_0x32957a['children']),_0x32957a[_0x2c6f('0xdc')]=_0x32957a[_0x2c6f('0xdc')][_0x2c6f('0x77')](_0x3c81c9=>!_0x3c81c9[0x0][_0x2c6f('0xc1')](_0x2c6f('0xb5'))));}),_0x12f9b2;}}function J(_0x250b5c,_0x4eb293){const _0x284cb3=_0x4eb293['editing']['view'][_0x2c6f('0x36')];if(_0x2c6f('0xf')==typeof _0x250b5c)return new _0x11c7bb(_0x284cb3,_0x250b5c);{const _0x4d3316=_0x250b5c[_0x2c6f('0x8d')][_0x2c6f('0x37')](_0x47f68f=>J(_0x47f68f,_0x4eb293));return new(B[_0x250b5c[(_0x2c6f('0x6b'))]]||_0x31128b)(_0x284cb3,_0x250b5c['name'],_0x250b5c['attributes'],_0x4d3316);}}class H{constructor(_0x1d7d2a){this[_0x2c6f('0x97')]=_0x1d7d2a,this[_0x2c6f('0x6c')]=new Map(),this[_0x2c6f('0x88')]=-0x1,this[_0x2c6f('0xe9')]=-0x1,this[_0x2c6f('0x31')]=new Map(),this[_0x2c6f('0x33')]=new Map(),this['_diffRootsAttributes']=new Map(),this[_0x2c6f('0x2a')]=new Map(),this[_0x2c6f('0xa')]=new Map(),this[_0x2c6f('0x95')]=new Map(),this[_0x2c6f('0x7b')]=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this[_0x2c6f('0xb0')]=new Map(),this[_0x2c6f('0xcb')]=0x1;}[_0x2c6f('0xc8')](_0x2c13fe){this[_0x2c6f('0x96')]=_0x2c13fe;const _0x3a41b1=new Map(),_0x4c5fea=new Map(),_0x443fa7=this['editor'][_0x2c6f('0x1a')][_0x2c6f('0x36')][_0x2c6f('0x5e')]['map'](_0xe40376=>_0xe40376[_0x2c6f('0x21')]);for(const _0xf1fd0e of _0x443fa7){const _0x352dbf=this['editor'][_0x2c6f('0x1a')]['document'][_0x2c6f('0xb1')](_0xf1fd0e),_0x403bd3=q(_0x352dbf);_0x3a41b1[_0x2c6f('0xb3')](_0xf1fd0e,_0x403bd3),_0x4c5fea[_0x2c6f('0xb3')](_0xf1fd0e,Object[_0x2c6f('0xa8')](_0x352dbf[_0x2c6f('0xa5')]()));}const _0x133cc4=Array[_0x2c6f('0xee')](this['editor'][_0x2c6f('0x1a')][_0x2c6f('0xb')])['map'](_0x31b8ec=>[_0x31b8ec[_0x2c6f('0x6d')],_0x31b8ec['getRange']()]),_0x116f40=this[_0x2c6f('0x96')][_0x2c6f('0x27')];this[_0x2c6f('0xa6')](_0x116f40,_0x3a41b1,_0x133cc4,_0x4c5fea),this[_0x2c6f('0x3')]=this[_0x2c6f('0xcb')];const _0x3f36e9=new Map(),_0x1c0f5f=new Map();for(const _0x396ca8 of _0x443fa7){const _0x5b95e9=G(_0x396ca8);_0x3f36e9[_0x2c6f('0xb3')](_0x396ca8,_0x5b95e9),_0x1c0f5f[_0x2c6f('0xb3')](_0x396ca8,{});}this[_0x2c6f('0xa6')](Number['NEGATIVE_INFINITY'],_0x3f36e9,[],_0x1c0f5f);}[_0x2c6f('0x59')](_0x2f9921,_0x266d7f){if(this['_lastFrom']===_0x2f9921&&this[_0x2c6f('0xe9')]<=_0x266d7f)this[_0x2c6f('0x6c')][_0x2c6f('0x32')]>0x1&&this[_0x2c6f('0x3f')](this[_0x2c6f('0xe9')]),this[_0x2c6f('0xce')](this[_0x2c6f('0xe9')],_0x266d7f,!0x0);else{if(!this[_0x2c6f('0x6c')]['has'](_0x2f9921)){const _0x151374=this[_0x2c6f('0x40')](_0x2f9921);this[_0x2c6f('0x11')](_0x151374,_0x2f9921,!0x1);}this['_calculateMetaData'](_0x2f9921,_0x266d7f,!0x0);}return this['_lastFrom']=_0x2f9921,this[_0x2c6f('0xe9')]=_0x266d7f,this['_getState']();}[_0x2c6f('0xb4')](_0x3e5b03){this['_reset'](),this[_0x2c6f('0x88')]=_0x3e5b03[_0x2c6f('0xa9')],this['_lastTo']=_0x3e5b03['toVersion'];for(const _0x574e56 in _0x3e5b03['diffData']){const _0x18a18f=_0x3e5b03[_0x2c6f('0xc9')][_0x574e56][_0x2c6f('0xea')],_0x472861=_0x165835(_0x3e5b03[_0x2c6f('0xc9')][_0x574e56][_0x2c6f('0x9f')])||{},_0x501dfc=this[_0x2c6f('0xd4')](_0x3e5b03['diffData'][_0x574e56]['deletions']);_0x501dfc['rootName']=_0x574e56,_0x501dfc[_0x2c6f('0x2d')]=!_0x18a18f||!_0x18a18f['isAttached'],_0x501dfc[_0x2c6f('0x67')]=()=>_0x501dfc[_0x2c6f('0x2d')],this[_0x2c6f('0x2a')][_0x2c6f('0xb3')](_0x574e56,_0x501dfc),this[_0x2c6f('0xa')]['set'](_0x574e56,_0x472861),_0x18a18f&&this[_0x2c6f('0xb0')][_0x2c6f('0xb3')](_0x574e56,_0x18a18f);const _0x5bd5dd=this[_0x2c6f('0x14')](_0x501dfc);this[_0x2c6f('0x7b')][_0x2c6f('0xb3')](_0x574e56,_0x5bd5dd);for(const [_0x59f937,_0x394c53]of _0x501dfc['markers']){if(!_0x59f937[_0x2c6f('0xc1')](_0x2c6f('0xa7')))continue;const _0xdd825f=_0x59f937[_0x2c6f('0x4a')](':')[0x2];for(const _0x1c25bd of _0x394c53[_0x2c6f('0x90')]({'singleCharacters':!0x0})){const _0x304ae1=this[_0x2c6f('0x3b')](_0x1c25bd),_0x4c1ac9=_0x2c6f('0x81')==_0x1c25bd[_0x2c6f('0x6b')]?_0x1c25bd['previousPosition']['path']['slice'](0x0,-0x1):_0x1c25bd['previousPosition'][_0x2c6f('0x3d')],_0x58b780=_0x5bd5dd[_0x2c6f('0x4e')](_0x4c1ac9)['getAttribute'](_0x304ae1);this['_touched'][_0x2c6f('0xb3')](_0x58b780,{'userId':_0xdd825f});}}}this[_0x2c6f('0x3')]=this[_0x2c6f('0xcb')];const _0x402e48=[...Array(this[_0x2c6f('0xcb')])['keys']()][_0x2c6f('0x92')](0x1)[_0x2c6f('0x77')](_0x5ef6c2=>!this[_0x2c6f('0x71')][_0x2c6f('0xe7')](_0x5ef6c2));let _0x4bdd10=0x0;const _0xa25e47=new Map();for(const _0x53f3e4 in _0x3e5b03[_0x2c6f('0xc9')]){const _0x3ea9f6=_0x3e5b03[_0x2c6f('0xc9')][_0x53f3e4][_0x2c6f('0xea')],_0x11f9cf=_0x165835(_0x3e5b03[_0x2c6f('0xc9')][_0x53f3e4][_0x2c6f('0x65')])||{},_0x2e66a5=this['_makeModelFromViewString'](_0x3e5b03[_0x2c6f('0xc9')][_0x53f3e4][_0x2c6f('0x85')]);_0x2e66a5[_0x2c6f('0x21')]=_0x53f3e4,_0x2e66a5['_isAttached']=!_0x3ea9f6||_0x3ea9f6[_0x2c6f('0x67')],_0x2e66a5['isAttached']=()=>_0x2e66a5[_0x2c6f('0x2d')],this[_0x2c6f('0x33')][_0x2c6f('0xb3')](_0x53f3e4,_0x2e66a5),this[_0x2c6f('0xb2')][_0x2c6f('0xb3')](_0x53f3e4,_0x11f9cf);const _0x749c26=this[_0x2c6f('0x14')](_0x2e66a5,Number[_0x2c6f('0x61')]);this[_0x2c6f('0x95')][_0x2c6f('0xb3')](_0x53f3e4,_0x749c26),_0xa25e47[_0x2c6f('0xb3')](_0x53f3e4,_0x2e66a5['isAttached']()?_0x11f9cf:{});for(const [_0x3d5211,_0x5e3926]of _0x2e66a5[_0x2c6f('0xb')]){if(!_0x3d5211['startsWith'](_0x2c6f('0xa7')))continue;const _0x2a614=_0x3d5211[_0x2c6f('0x4a')](':')[0x2];for(const _0x32f5e6 of _0x5e3926[_0x2c6f('0x90')]({'singleCharacters':!0x0})){const _0x43ec68=this['_getVidAttributeName'](_0x32f5e6),_0x12ff7e=this[_0x2c6f('0xcb')]++,_0x4159d7=_0x2c6f('0x81')==_0x32f5e6[_0x2c6f('0x6b')]?_0x32f5e6[_0x2c6f('0x52')]['path']['slice'](0x0,-0x1):_0x32f5e6[_0x2c6f('0x52')][_0x2c6f('0x3d')];_0x749c26[_0x2c6f('0x4e')](_0x4159d7)[_0x2c6f('0xb9')](_0x43ec68,_0x12ff7e),this[_0x2c6f('0x71')][_0x2c6f('0xb3')](_0x12ff7e,{'userId':_0x2a614});}}for(const _0x8fe0b of this[_0x2c6f('0x97')][_0x2c6f('0x1a')]['createRangeIn'](_0x2e66a5)[_0x2c6f('0x90')]({'singleCharacters':!0x0})){const _0x523715=this[_0x2c6f('0x3b')](_0x8fe0b),_0x1fd034=_0x2c6f('0x81')==_0x8fe0b[_0x2c6f('0x6b')]?_0x8fe0b[_0x2c6f('0x52')][_0x2c6f('0x3d')][_0x2c6f('0x92')](0x0,-0x1):_0x8fe0b[_0x2c6f('0x52')][_0x2c6f('0x3d')],_0x405650=_0x749c26[_0x2c6f('0x4e')](_0x1fd034);_0x405650[_0x2c6f('0xae')](_0x523715)>0x0||_0x405650[_0x2c6f('0xb9')](_0x523715,_0x402e48[_0x4bdd10++]);}for(const [_0x390e02,_0xf17ef5]of _0x2e66a5[_0x2c6f('0xb')])_0x390e02[_0x2c6f('0xc1')](_0x2c6f('0xa7'))||this[_0x2c6f('0x31')][_0x2c6f('0xb3')](_0x390e02,_0xf17ef5);}const _0x39bf54=G('$graveyard');this[_0x2c6f('0x2a')][_0x2c6f('0xb3')](_0x2c6f('0xe2'),_0x39bf54),this[_0x2c6f('0x7b')][_0x2c6f('0xb3')]('$graveyard',this[_0x2c6f('0x14')](_0x39bf54,0x1));const _0x17df60=G('$graveyard');this[_0x2c6f('0x33')][_0x2c6f('0xb3')](_0x2c6f('0xe2'),_0x17df60),this[_0x2c6f('0x95')][_0x2c6f('0xb3')](_0x2c6f('0xe2'),this[_0x2c6f('0x14')](_0x17df60,0x1));const _0x48b9a5=Array[_0x2c6f('0xee')](this[_0x2c6f('0x33')])[_0x2c6f('0x37')](([_0x181eea,_0x31fc8c])=>[_0x181eea,q(_0x31fc8c)]);this[_0x2c6f('0xa6')](this[_0x2c6f('0xe9')],_0x48b9a5,this[_0x2c6f('0x31')],_0xa25e47);}[_0x2c6f('0xd4')](_0x4e0f0e){const _0x50fa9c=JSON[_0x2c6f('0x6f')](_0x4e0f0e),_0xf01ba1=this[_0x2c6f('0x97')][_0x2c6f('0x28')][_0x2c6f('0x12')][_0x2c6f('0x36')],_0x6dbbab=new _0x4ab740(_0xf01ba1,_0x50fa9c['map'](_0x198e27=>J(_0x198e27,this['editor'])));return this[_0x2c6f('0x97')]['data'][_0x2c6f('0x8e')](_0x6dbbab);}[_0x2c6f('0xa6')](_0x2c6103,_0x4f052f,_0x156f66,_0x52ccf2){const _0x4a4756=new Map(_0x4f052f),_0x1bb5c6=new Map(_0x165835(_0x52ccf2)),_0x5f3ac5=new Map();for(const [_0x3d239e,_0x126a3c]of _0x156f66)_0x5f3ac5[_0x2c6f('0xb3')](_0x3d239e,{'start':_0x126a3c[_0x2c6f('0x93')]['clone'](),'end':_0x126a3c[_0x2c6f('0x78')]['clone'](),'rootName':_0x126a3c[_0x2c6f('0xfe')][_0x2c6f('0x21')]});this[_0x2c6f('0x6c')][_0x2c6f('0xb3')](_0x2c6103,{'roots':_0x4a4756,'markers':_0x5f3ac5,'rootsAttributes':_0x1bb5c6});}[_0x2c6f('0x3f')](_0x2ed098){this[_0x2c6f('0x6c')][_0x2c6f('0x4')](_0x2ed098);}[_0x2c6f('0x55')](){this[_0x2c6f('0x82')](),this[_0x2c6f('0x88')]=-0x1,this['_lastTo']=-0x1,this[_0x2c6f('0x6c')][_0x2c6f('0x7f')](),this[_0x2c6f('0xc8')](this[_0x2c6f('0x96')]);}['_reset'](){this['_touched'][_0x2c6f('0x7f')](),this[_0x2c6f('0x1')][_0x2c6f('0x7f')](),this[_0x2c6f('0xb0')][_0x2c6f('0x7f')](),this[_0x2c6f('0x33')][_0x2c6f('0x7f')](),this['_diffRootsAttributes']['clear'](),this[_0x2c6f('0x2a')][_0x2c6f('0x7f')](),this['_baseRootsAttributes'][_0x2c6f('0x7f')](),this[_0x2c6f('0x95')]['clear'](),this[_0x2c6f('0x7b')][_0x2c6f('0x7f')](),this[_0x2c6f('0x31')][_0x2c6f('0x7f')](),this[_0x2c6f('0xcb')]=0x1,this['_startingRevisionId']=this[_0x2c6f('0xcb')];}[_0x2c6f('0x14')](_0x17f611,_0x1e99b7=null){let _0x5bdd73=null;_0x17f611['is']('documentFragment')||(_0x5bdd73=new _0x2bfd72(_0x17f611['name'],{'vid_start':null===_0x1e99b7?this['_revisionId']++:_0x1e99b7++}));const _0x5ce822=[];for(const _0x7278e9 of _0x17f611[_0x2c6f('0x101')]())if(_0x7278e9['is']('element')){_0x5ce822[_0x2c6f('0x42')](this[_0x2c6f('0x14')](_0x7278e9,_0x1e99b7));const _0x5b02a0=_0x5ce822[_0x5ce822['length']-0x1];null!==_0x1e99b7&&(_0x1e99b7=_0x5b02a0['is'](_0x2c6f('0x48'),_0x2c6f('0x43'))?_0x5b02a0[_0x2c6f('0xae')](_0x2c6f('0xec'))+0x1:_0x5b02a0[_0x2c6f('0xae')](_0x2c6f('0xf7'))+0x1);}else for(let _0x368c94=0x0;_0x368c94<_0x7278e9[_0x2c6f('0x103')];_0x368c94++)_0x5ce822[_0x2c6f('0x42')](new _0x2bfd72('$text',{'vid':null===_0x1e99b7?this[_0x2c6f('0xcb')]++:_0x1e99b7++}));if(_0x17f611['is'](_0x2c6f('0xdd'))){const _0x5d5abb=G(_0x17f611['rootName']);return _0x5d5abb['_insertChild'](0x0,_0x5ce822),_0x5d5abb;}return _0x5bdd73[_0x2c6f('0xb9')]('vid_end',null===_0x1e99b7?this[_0x2c6f('0xcb')]++:_0x1e99b7++),_0x5bdd73[_0x2c6f('0xfc')](0x0,_0x5ce822),_0x5bdd73;}['_calculateMetaData'](_0x4bf6c3,_0xaf9b13,_0x372e61){this['_reset']();const {roots:_0x37762a,markers:_0x3305b6,rootsAttributes:_0x243d35}=this[_0x2c6f('0x6c')][_0x2c6f('0x34')](_0x4bf6c3);this[_0x2c6f('0x2a')]=new Map(_0x37762a),this['_baseRootsAttributes']=new Map(_0x165835(_0x243d35));for(const [_0x56513d,_0x14cf44]of this[_0x2c6f('0x2a')])if('$graveyard'!==_0x56513d&&(this['_diffRoots']['set'](_0x56513d,q(_0x14cf44)),this[_0x2c6f('0xb2')]=new Map(_0x165835(_0x243d35)),_0x372e61)){const _0x2940fe=this[_0x2c6f('0xcb')];this['_idsRoots'][_0x2c6f('0xb3')](_0x56513d,this[_0x2c6f('0x14')](_0x14cf44)),this[_0x2c6f('0x7b')]['set'](_0x56513d,this['_makeIdsRoot'](_0x14cf44,_0x2940fe));}this[_0x2c6f('0x3')]=this[_0x2c6f('0xcb')],this['_diffRoots']['set'](_0x2c6f('0xe2'),q(this[_0x2c6f('0x2a')]['get']('$graveyard'))),_0x372e61&&this[_0x2c6f('0x95')][_0x2c6f('0xb3')]('$graveyard',this[_0x2c6f('0x14')](this['_baseRoots'][_0x2c6f('0x34')](_0x2c6f('0xe2'))));for(const [_0x3237bc,_0x413c94]of _0x3305b6){const _0x12a91e=this['_baseRoots'][_0x2c6f('0x34')](_0x413c94[_0x2c6f('0x21')]),_0x5b1a80=this[_0x2c6f('0x33')][_0x2c6f('0x34')](_0x413c94['rootName']),_0x1cbed3=new _0x20270a(this[_0x2c6f('0xf2')](_0x413c94['start'],_0x12a91e),this[_0x2c6f('0xf2')](_0x413c94[_0x2c6f('0x78')],_0x12a91e)),_0x9d23ca=this['_fixRange'](_0x1cbed3,_0x5b1a80);_0x12a91e['markers']['set'](_0x3237bc,_0x1cbed3),this['_markers'][_0x2c6f('0xb3')](_0x3237bc,_0x9d23ca);}this[_0x2c6f('0xce')](_0x4bf6c3,_0xaf9b13,_0x372e61);}[_0x2c6f('0xce')](_0x550d19,_0x126e33,_0x2a81f8){for(const _0x5b698a of this[_0x2c6f('0x96')][_0x2c6f('0xa4')](_0x550d19,_0x126e33))this[_0x2c6f('0xe5')](_0x5b698a,_0x2a81f8);for(const _0x36f3f0 of this[_0x2c6f('0x33')]['values']())_0x36f3f0['markers'][_0x2c6f('0x7f')]();for(const [_0x2aa728,_0x44d65f]of this[_0x2c6f('0x31')]){this[_0x2c6f('0x33')]['get'](_0x44d65f[_0x2c6f('0xfe')]['rootName'])[_0x2c6f('0xb')][_0x2c6f('0xb3')](_0x2aa728,_0x44d65f[_0x2c6f('0x6')]());}const _0x599a29=new Map(),_0x5a34a2=new Map();for(const [_0x1f9101,_0x5172b2]of this[_0x2c6f('0x33')])_0x599a29[_0x2c6f('0xb3')](_0x1f9101,q(_0x5172b2)),_0x5a34a2[_0x2c6f('0xb3')](_0x1f9101,this[_0x2c6f('0xb2')][_0x2c6f('0x34')](_0x1f9101));this[_0x2c6f('0xa6')](_0x126e33,_0x599a29,this['_markers'],_0x5a34a2);}['_getPreviousFrom'](_0x211aee){const _0x5aaf63=Array[_0x2c6f('0xee')](this['_savedMetaData'][_0x2c6f('0x87')]());_0x5aaf63[_0x2c6f('0xa3')]((_0x3005ac,_0x5e7955)=>_0x3005ac-_0x5e7955),_0x5aaf63[_0x2c6f('0xcf')]();for(const _0x584816 of _0x5aaf63)if(_0x584816<_0x211aee)return _0x584816;return Number[_0x2c6f('0x61')];}['_copyMarkers'](_0x4b431b,_0x5d0927){const _0x3014da=Array[_0x2c6f('0xee')](_0x5d0927[_0x2c6f('0xb')])[_0x2c6f('0x37')](([_0x3675f9,_0x15a087])=>[_0x3675f9,this[_0x2c6f('0x79')](_0x15a087,_0x4b431b)]);_0x4b431b[_0x2c6f('0xb')]=new Map(_0x3014da);}[_0x2c6f('0x9e')](_0x1b3d8b){for(const _0x4f1d89 of this['_markers'][_0x2c6f('0x69')]()){const _0x5ceb6a=_0x4f1d89[_0x2c6f('0xe')](_0x1b3d8b),_0xd6287d=_0x20270a[_0x2c6f('0xe8')](_0x5ceb6a);_0x4f1d89['start']=_0xd6287d[_0x2c6f('0x93')],_0x4f1d89['end']=_0xd6287d[_0x2c6f('0x78')];}}[_0x2c6f('0xe5')](_0x426d21,_0x419662){if(_0x2c6f('0x4f')==_0x426d21[_0x2c6f('0x6b')]||'detachRoot'==_0x426d21[_0x2c6f('0x6b')])return void this[_0x2c6f('0x35')](_0x426d21,_0x419662);if(_0x2c6f('0xfd')==_0x426d21[_0x2c6f('0x6b')]){const _0x3bc45c=_0x426d21[_0x2c6f('0xff')][_0x2c6f('0xfe')][_0x2c6f('0x21')];this[_0x2c6f('0x33')][_0x2c6f('0xe7')](_0x3bc45c)||(this['_diffRoots'][_0x2c6f('0xb3')](_0x3bc45c,G(_0x3bc45c,!0x0)),this[_0x2c6f('0xb2')][_0x2c6f('0xb3')](_0x3bc45c,{}),_0x419662&&this[_0x2c6f('0x95')][_0x2c6f('0xb3')](_0x3bc45c,G(_0x3bc45c,!0x0)));}else{if('addRootAttribute'==_0x426d21[_0x2c6f('0x6b')]||_0x2c6f('0xeb')==_0x426d21[_0x2c6f('0x6b')]||'changeRootAttribute'==_0x426d21[_0x2c6f('0x6b')])return void this['_handleRootAttributeOperation'](_0x426d21);}const _0x2573e0=this[_0x2c6f('0x102')](_0x426d21,this[_0x2c6f('0x33')]);if(_0x2c6f('0xb6')!==_0x426d21[_0x2c6f('0x6b')]&&(_0x2573e0[_0x2c6f('0x1c')](),this[_0x2c6f('0x9e')](_0x2573e0)),_0x419662)switch(_0x2573e0[_0x2c6f('0x6b')]){case _0x2c6f('0xfd'):this['_handleInsertOperation'](_0x426d21);break;case _0x2c6f('0x63'):case _0x2c6f('0xaa'):case'reinsert':this['_handleMoveOperation'](_0x426d21);break;case _0x2c6f('0x76'):this[_0x2c6f('0xd3')](_0x426d21);break;case _0x2c6f('0x4a'):this[_0x2c6f('0x50')](_0x426d21);break;case'marker':this[_0x2c6f('0x9b')](_0x426d21);}}[_0x2c6f('0x102')](_0x49ddf9,_0x35f676){const _0x25b19e=_0x49ddf9[_0x2c6f('0x6')]();return _0x25b19e['_authorId']=_0x49ddf9['_authorId'],this[_0x2c6f('0x2')](_0x25b19e,_0x35f676),_0x25b19e;}['_getBaseVids'](_0x258614){return _0x258614[_0x2c6f('0x37')](_0x58f04a=>{const _0x16cb2a=this['_getVidAttributeName'](_0x58f04a);return Number(_0x58f04a['item'][_0x2c6f('0xae')](_0x16cb2a));});}[_0x2c6f('0xbe')](_0x556e5b,_0x7c3565){if(_0x556e5b['is'](_0x2c6f('0x48'),'$text'))_0x7c3565[_0x2c6f('0x42')]({'item':_0x556e5b,'type':_0x2c6f('0x0')});else{_0x556e5b['is'](_0x2c6f('0x48'))&&_0x7c3565[_0x2c6f('0x42')]({'item':_0x556e5b,'type':_0x2c6f('0xfa')});for(const _0x778c8c of _0x556e5b[_0x2c6f('0x101')]())this[_0x2c6f('0xbe')](_0x778c8c,_0x7c3565);_0x556e5b['is'](_0x2c6f('0x48'))&&_0x7c3565['push']({'item':_0x556e5b,'type':'elementEnd'});}return _0x7c3565;}[_0x2c6f('0x9c')](){const _0x4f5a91=new Map(this[_0x2c6f('0x71')]),_0x2188ca=new Map(_0x4f5a91),_0xabdbb9=new Map(),_0x22e47d={'insertions':{},'deletions':{}},_0x302e79={'insertions':{},'deletions':{}},_0x897ec9=new Map(),_0x1d8eb0=new Set([...this[_0x2c6f('0x2a')][_0x2c6f('0x87')](),...this['_diffRoots']['keys']()]);_0x1d8eb0['delete']('$graveyard');for(const _0x5c4207 of _0x1d8eb0){const _0x51eda1=this[_0x2c6f('0x33')][_0x2c6f('0x34')](_0x5c4207)||G(_0x5c4207,!0x1),_0x260beb=this[_0x2c6f('0x2a')][_0x2c6f('0x34')](_0x5c4207)||G(_0x5c4207,!0x1);_0x51eda1[_0x2c6f('0x67')]()||_0x260beb[_0x2c6f('0x67')]()?(_0x22e47d[_0x2c6f('0x85')][_0x5c4207]=q(_0x51eda1),_0x22e47d[_0x2c6f('0x89')][_0x5c4207]=q(_0x260beb),this[_0x2c6f('0x45')](_0x22e47d[_0x2c6f('0x89')][_0x5c4207],_0x260beb),this['_copyMarkers'](_0x22e47d['insertions'][_0x5c4207],_0x51eda1),_0x302e79['insertions'][_0x5c4207]=this[_0x2c6f('0xbe')](this[_0x2c6f('0x95')][_0x2c6f('0x34')](_0x5c4207),[]),_0x302e79[_0x2c6f('0x89')][_0x5c4207]=this[_0x2c6f('0xbe')](this['_baseIdsRoots'][_0x2c6f('0x34')](_0x5c4207)||G(_0x5c4207,!0x1),[])):_0x1d8eb0['delete'](_0x5c4207);}for(const _0x466399 of _0x1d8eb0){const _0x5188fe=_0x302e79[_0x2c6f('0x85')][_0x466399];for(const _0x507941 of _0x5188fe){const _0x3b49ba=this[_0x2c6f('0x3b')](_0x507941),_0x3cd8fe=_0x507941[_0x2c6f('0x68')][_0x2c6f('0xae')](_0x3b49ba);_0x2188ca['delete'](_0x3cd8fe),_0x3cd8fe>=this['_startingRevisionId']&&_0xabdbb9['set'](_0x3cd8fe,_0x4f5a91[_0x2c6f('0x34')](_0x3cd8fe));}}for(const _0x4d44e8 of _0x1d8eb0){const _0x2df4a1=_0x302e79[_0x2c6f('0x85')][_0x4d44e8],_0x14e8f5=this[_0x2c6f('0x7c')](_0x302e79[_0x2c6f('0x89')][_0x4d44e8]);let _0x566fa8=0x0;for(const _0x59d1f5 of _0x2df4a1){const _0x18fe94=this['_getVidAttributeName'](_0x59d1f5),_0x3d5ce3=_0x59d1f5['item'][_0x2c6f('0xae')](_0x18fe94);if(!_0xabdbb9[_0x2c6f('0xe7')](_0x3d5ce3)&&!_0x897ec9[_0x2c6f('0xe7')](_0x3d5ce3)){if(_0x2188ca['has'](_0x3d5ce3))_0x566fa8++;else{if(_0x3d5ce3!=_0x14e8f5[_0x566fa8]){const _0x1f52ab=_0x4f5a91[_0x2c6f('0x34')](_0x3d5ce3)||_0x4f5a91['get'](_0x14e8f5[_0x566fa8]);for(;_0x3d5ce3!=_0x14e8f5[_0x566fa8];)_0x2188ca[_0x2c6f('0xe7')](_0x14e8f5[_0x566fa8])||(_0x897ec9['set'](_0x14e8f5[_0x566fa8],_0x1f52ab),_0x4f5a91[_0x2c6f('0xb3')](_0x14e8f5[_0x566fa8],_0x1f52ab)),_0x566fa8++;}_0x566fa8++;}}}}for(const _0x4e9af7 of _0x1d8eb0){const _0x532564=_0x302e79[_0x2c6f('0x85')][_0x4e9af7];for(const _0x433225 of _0x532564){const _0x37e7a5=this[_0x2c6f('0x3b')](_0x433225),_0x14e2ec=_0x433225[_0x2c6f('0x68')][_0x2c6f('0xae')](_0x37e7a5);if(_0x897ec9['has'](_0x14e2ec)){const _0x8b072=_0x897ec9[_0x2c6f('0x34')](_0x14e2ec);_0x2188ca[_0x2c6f('0xe7')](_0x14e2ec)||_0x2188ca[_0x2c6f('0xb3')](_0x14e2ec,{..._0x8b072}),_0xabdbb9[_0x2c6f('0xb3')](_0x14e2ec,{..._0x8b072});}}}for(const _0xc116bc of _0x2188ca[_0x2c6f('0x87')]())_0xc116bc>=this['_startingRevisionId']&&_0x2188ca[_0x2c6f('0x4')](_0xc116bc);const _0x4f4d07=new Map();for(const _0x172098 of _0x1d8eb0){let _0x3654cf=_0x302e79['insertions'][_0x172098];for(const _0x8863cf of _0x3654cf)if(_0x8863cf['item']['is'](_0x2c6f('0x48'),_0x2c6f('0x6e'))){const _0x1d7881=this[_0x2c6f('0x3b')](_0x8863cf),_0x22254c=_0x8863cf[_0x2c6f('0x68')][_0x2c6f('0xae')](_0x1d7881);if(_0xabdbb9[_0x2c6f('0xe7')](_0x22254c)){const _0x3fc460=_0x8863cf[_0x2c6f('0x68')]['parent'][_0x2c6f('0xc6')][_0x2c6f('0xae')](_0x2c6f('0x5f')),_0x2a3599=_0x4f4d07[_0x2c6f('0x34')](_0x3fc460)||new Set();_0x2a3599[_0x2c6f('0xd2')](_0xabdbb9[_0x2c6f('0x34')](_0x22254c)[_0x2c6f('0xcd')]),_0x4f4d07[_0x2c6f('0xb3')](_0x3fc460,_0x2a3599);}}_0x3654cf=_0x302e79['deletions'][_0x172098];for(const _0x251c92 of _0x3654cf)if(_0x251c92[_0x2c6f('0x68')]['is'](_0x2c6f('0x48'),_0x2c6f('0x6e'))){const _0x207409=this['_getVidAttributeName'](_0x251c92),_0x144f6c=_0x251c92[_0x2c6f('0x68')][_0x2c6f('0xae')](_0x207409);if(_0x2188ca[_0x2c6f('0xe7')](_0x144f6c)){const _0x2ac17f=_0x251c92[_0x2c6f('0x68')][_0x2c6f('0xc6')][_0x2c6f('0xc6')]['getAttribute']('vid_start'),_0x34c1b8=_0x4f4d07[_0x2c6f('0x34')](_0x2ac17f)||new Set();_0x34c1b8['add'](_0x2188ca[_0x2c6f('0x34')](_0x144f6c)[_0x2c6f('0xcd')]),_0x4f4d07[_0x2c6f('0xb3')](_0x2ac17f,_0x34c1b8);}}for(const _0x44941a of _0x4f4d07[_0x2c6f('0x87')]())(_0xabdbb9[_0x2c6f('0xe7')](_0x44941a)||_0x2188ca['has'](_0x44941a))&&_0x4f4d07[_0x2c6f('0x4')](_0x44941a);}for(const _0x20c2e6 of _0x1d8eb0){const _0x12d375=_0x302e79['insertions'][_0x20c2e6];let _0x5be0c6=null,_0x47c4f1=null;for(const _0x1db0ed of _0x12d375){const _0x3347c6=this[_0x2c6f('0x3b')](_0x1db0ed),_0x2e06b1=_0x1db0ed[_0x2c6f('0x68')][_0x2c6f('0xae')](_0x3347c6),_0xa64ee8=_0x4f4d07[_0x2c6f('0x34')](_0x2e06b1);_0xa64ee8&&_0x2c6f('0xfa')==_0x1db0ed[_0x2c6f('0x6b')]&&(_0x5be0c6=Array[_0x2c6f('0xee')](_0xa64ee8)[0x0],_0x47c4f1=_0x1db0ed[_0x2c6f('0x68')][_0x2c6f('0xae')](_0x2c6f('0xf7'))),_0x5be0c6&&(_0x2188ca['set'](_0x2e06b1,{'userId':_0x5be0c6}),_0xabdbb9[_0x2c6f('0xb3')](_0x2e06b1,{'userId':_0x5be0c6})),_0x2e06b1==_0x47c4f1&&(_0x5be0c6=null,_0x47c4f1=null);}}const _0x1fae6d={},_0x4cb5ec=new Set();for(const _0x5a80cb of _0x1d8eb0){const _0x498405=_0x22e47d[_0x2c6f('0x89')][_0x5a80cb],_0x4ed96e=_0x22e47d[_0x2c6f('0x85')][_0x5a80cb];for(const {userId:_0x24fa48}of this[_0x2c6f('0x1')][_0x2c6f('0x69')]())null!==_0x24fa48&&_0x4cb5ec[_0x2c6f('0xd2')](_0x24fa48);for(const {userId:_0x18213b}of this[_0x2c6f('0xb0')][_0x2c6f('0x69')]())null!==_0x18213b&&_0x4cb5ec['add'](_0x18213b);this[_0x2c6f('0xf8')](_0x4ed96e,_0x302e79[_0x2c6f('0x85')][_0x5a80cb],_0xabdbb9,_0x2c6f('0xde'),_0x4cb5ec),this[_0x2c6f('0xf8')](_0x498405,_0x302e79[_0x2c6f('0x89')][_0x5a80cb],_0x2188ca,_0x2c6f('0x7a'),_0x4cb5ec),_0x1fae6d[_0x5a80cb]={'insertions':this[_0x2c6f('0x39')](_0x4ed96e),'deletions':this[_0x2c6f('0x39')](_0x498405),'attachChange':this[_0x2c6f('0xb0')][_0x2c6f('0x34')](_0x5a80cb)||null,'attributesBefore':_0x165835(this['_baseRootsAttributes'][_0x2c6f('0x34')](_0x5a80cb))||{},'attributesAfter':_0x165835(this[_0x2c6f('0xb2')]['get'](_0x5a80cb))};}return{'diffData':_0x1fae6d,'authorsIds':Array['from'](_0x4cb5ec)};}['_processRootBeforeSave'](_0x3428a4){for(const [,_0x3a8701]of _0x3428a4[_0x2c6f('0xb')]){const _0x46ec8b=_0x3a8701[_0x2c6f('0x93')][_0x2c6f('0xed')]()[_0x2c6f('0x77')](_0x5ab56e=>_0x2c6f('0x6e')==_0x5ab56e[_0x2c6f('0x6d')]);for(const _0x37e8d5 of _0x46ec8b)0x1==_0x37e8d5[_0x2c6f('0xe4')]&&_0x37e8d5[_0x2c6f('0x106')](0x0)['is']('element',_0x2c6f('0xcc'))&&_0x37e8d5[_0x2c6f('0x106')](0x0)[_0x2c6f('0xb9')](_0x2c6f('0xfb'),!0x0);}}['_prepareViewToSave'](_0x35e761){this[_0x2c6f('0xc7')](_0x35e761);const _0x16f09f=this[_0x2c6f('0x97')][_0x2c6f('0x83')]['toView'](_0x35e761,{}),_0x318e3f=Array[_0x2c6f('0xee')](_0x16f09f[_0x2c6f('0x101')]())[_0x2c6f('0x37')](_0x204f35=>this['_getViewJson'](_0x204f35));return JSON[_0x2c6f('0x5b')](_0x318e3f);}[_0x2c6f('0x8')](_0x333da0){if(_0x333da0['is'](_0x2c6f('0x43')))return _0x333da0['data'];{const _0x1fc7a9=_0x333da0;return{'type':Object['keys'](B)[_0x2c6f('0x10')](_0x1ecc85=>_0x333da0 instanceof B[_0x1ecc85]),'name':_0x1fc7a9['name'],'attributes':Array[_0x2c6f('0xee')](_0x1fc7a9['getAttributes']()),'children':Array['from'](_0x1fc7a9[_0x2c6f('0x101')]())[_0x2c6f('0x37')](_0x3b3946=>this[_0x2c6f('0x8')](_0x3b3946))};}}['_markChanges'](_0x54d606,_0x426126,_0x4fafbe,_0x4c6fa4,_0x1abde9){let _0x5a7b2b=null,_0x18193a=null,_0x1ae484=0x0;const _0x46c855=this[_0x2c6f('0x97')][_0x2c6f('0x1a')];for(let _0x3bf376=0x0;_0x3bf376<_0x426126[_0x2c6f('0xda')];_0x3bf376++){const _0x40d22a=this[_0x2c6f('0x3b')](_0x426126[_0x3bf376]),_0x859e78=_0x426126[_0x3bf376][_0x2c6f('0x68')][_0x2c6f('0xae')](_0x40d22a),_0xfd0ac6=_0x4fafbe[_0x2c6f('0x34')](_0x859e78),_0x59d275=_0x3bf376==_0x426126['length']-0x1;(!_0x5a7b2b&&_0xfd0ac6&&(_0x5a7b2b=_0xfd0ac6,_0x18193a=_0x426126[_0x3bf376]),_0x5a7b2b&&(!_0xfd0ac6||_0xfd0ac6[_0x2c6f('0xcd')]!=_0x5a7b2b[_0x2c6f('0xcd')]))&&(_0x5dd1d4(_0xfd0ac6,L(_0x18193a,_0x54d606,_0x46c855),L(_0x426126[_0x3bf376],_0x54d606,_0x46c855)),_0x5a7b2b=_0xfd0ac6||null,_0x18193a=_0xfd0ac6?_0x426126[_0x3bf376]:null),_0x5a7b2b&&_0x59d275&&_0x5dd1d4(_0xfd0ac6,L(_0x18193a,_0x54d606,_0x46c855),W(_0x426126[_0x3bf376],_0x54d606,_0x46c855));}function _0x5dd1d4(_0xbb6cdb,_0x5b7393,_0xb61c5){const _0x3ffb30=_0x5a7b2b['userId'],_0x1db64c='revision:'+_0x4c6fa4+':'+_0x3ffb30+':'+_0x1ae484++,_0x296e1a=_0x46c855[_0x2c6f('0x8a')](_0x5b7393,_0xb61c5);_0x54d606[_0x2c6f('0xb')]['set'](_0x1db64c,_0x296e1a),null!==_0x3ffb30&&_0x1abde9['add'](_0x3ffb30);}}[_0x2c6f('0x3b')](_0x413960){switch(_0x413960[_0x2c6f('0x6b')]){case _0x2c6f('0xfa'):return _0x2c6f('0x5f');case _0x2c6f('0x81'):return _0x2c6f('0xf7');default:return'vid';}}[_0x2c6f('0x2')](_0x1dc0af,_0x348db3){_0x1dc0af[_0x2c6f('0x9a')]=null;for(const _0x292573 in _0x1dc0af){const _0x4c0439=_0x1dc0af[_0x292573];if(_0x4c0439 instanceof _0x4f2d96){const _0x19ba37=_0x348db3['get'](_0x4c0439[_0x2c6f('0xfe')]['rootName']);_0x1dc0af[_0x292573]=this['_fixPosition'](_0x4c0439,_0x19ba37);}if(_0x4c0439 instanceof _0x20270a){const _0x5c23ce=_0x348db3[_0x2c6f('0x34')](_0x4c0439[_0x2c6f('0xfe')][_0x2c6f('0x21')]);_0x1dc0af[_0x292573]=this[_0x2c6f('0x79')](_0x4c0439,_0x5c23ce);}_0x2c6f('0xfe')===_0x292573&&(_0x1dc0af[_0x2c6f('0xfe')]=_0x348db3[_0x2c6f('0x34')](_0x1dc0af[_0x2c6f('0xfe')][_0x2c6f('0x21')]));}}[_0x2c6f('0x79')](_0x330a7f,_0x46013e){return this[_0x2c6f('0x97')][_0x2c6f('0x1a')][_0x2c6f('0x8a')](this[_0x2c6f('0xf2')](_0x330a7f[_0x2c6f('0x93')],_0x46013e),this[_0x2c6f('0xf2')](_0x330a7f[_0x2c6f('0x78')],_0x46013e));}[_0x2c6f('0xf2')](_0x17cff9,_0x34a530){return this[_0x2c6f('0x97')]['model'][_0x2c6f('0x70')](_0x34a530,_0x17cff9[_0x2c6f('0x3d')],_0x17cff9[_0x2c6f('0x84')]);}['_handleInsertOperation'](_0x377205){const _0x588a0b=this['_idsRoots']['get'](_0x377205[_0x2c6f('0xff')][_0x2c6f('0xfe')]['rootName']),_0x13bee1=this[_0x2c6f('0xf2')](_0x377205[_0x2c6f('0xff')],_0x588a0b),_0x1f91f1=null===_0x377205['_authorId']?null:_0x377205[_0x2c6f('0x30')]||this[_0x2c6f('0x97')]['plugins'][_0x2c6f('0x34')](_0x2c6f('0x17'))['me']['id'],_0x5c34bd=_0x13bee1[_0x2c6f('0xc6')],_0x2858c7=this[_0x2c6f('0xcb')],_0x20a298=[];for(const _0x56e7be of _0x377205['nodes'])if(_0x56e7be['is'](_0x2c6f('0x48')))_0x20a298['push'](this[_0x2c6f('0x14')](_0x56e7be));else for(let _0x1eeb0c=0x0;_0x1eeb0c<_0x56e7be[_0x2c6f('0x103')];_0x1eeb0c++)_0x20a298[_0x2c6f('0x42')](new _0x2bfd72(_0x2c6f('0x43'),{'vid':this[_0x2c6f('0xcb')]++}));const _0x25e3c3=this['_revisionId'];for(let _0x2b1c38=_0x2858c7;_0x2b1c38<_0x25e3c3;_0x2b1c38++)this[_0x2c6f('0x71')][_0x2c6f('0xb3')](_0x2b1c38,{'userId':_0x1f91f1});_0x5c34bd[_0x2c6f('0xfc')](_0x13bee1[_0x2c6f('0x24')],_0x20a298);}['_handleMoveOperation'](_0x163300){(_0x163300=this['_cloneOperation'](_0x163300,this[_0x2c6f('0x95')]))['_execute']();const _0x4ac3a7=null===_0x163300['_authorId']?null:_0x163300[_0x2c6f('0x30')]||this[_0x2c6f('0x97')]['plugins'][_0x2c6f('0x34')](_0x2c6f('0x17'))['me']['id'],_0x263afd=_0x163300[_0x2c6f('0x91')](),_0xd42d9c=_0x263afd[_0x2c6f('0xc6')],_0x423240=_0x263afd['offset'];!function _0x5c555f(_0x48358f,_0x5789a4,_0x4e0fb0,_0x37ac0e){for(let _0x36422d=_0x4e0fb0;_0x36422d<_0x37ac0e;_0x36422d++){const _0x531570=_0x5789a4[_0x2c6f('0x106')](_0x36422d);_0x531570['is']('element',_0x2c6f('0x43'))?_0x48358f[_0x2c6f('0xb3')](_0x531570[_0x2c6f('0xae')](_0x2c6f('0xec')),{'userId':_0x4ac3a7}):(_0x48358f[_0x2c6f('0xb3')](_0x531570[_0x2c6f('0xae')](_0x2c6f('0x5f')),{'userId':_0x4ac3a7}),_0x5c555f(_0x48358f,_0x531570,0x0,_0x531570[_0x2c6f('0xe4')]),_0x48358f[_0x2c6f('0xb3')](_0x531570[_0x2c6f('0xae')](_0x2c6f('0xf7')),{'userId':_0x4ac3a7}));}}(this[_0x2c6f('0x71')],_0xd42d9c,_0x423240,_0x423240+_0x163300[_0x2c6f('0x72')]);}[_0x2c6f('0xd3')](_0x4b8a5a){const _0x177353=null===(_0x4b8a5a=this[_0x2c6f('0x102')](_0x4b8a5a,this['_idsRoots']))[_0x2c6f('0x30')]?null:_0x4b8a5a[_0x2c6f('0x30')]||this[_0x2c6f('0x97')][_0x2c6f('0x56')][_0x2c6f('0x34')]('Users')['me']['id'],_0x88893d=_0x4b8a5a[_0x2c6f('0x47')][_0x2c6f('0xc6')],_0x3c0711=_0x4b8a5a['sourcePosition'][_0x2c6f('0xc6')],_0x455ee9=_0x88893d[_0x2c6f('0xae')]('vid_end'),_0x943870=_0x3c0711[_0x2c6f('0xae')]('vid_start');_0x88893d[_0x2c6f('0xb9')](_0x2c6f('0xf7'),_0x3c0711['getAttribute'](_0x2c6f('0xf7'))),_0x3c0711['_setAttribute'](_0x2c6f('0xf7'),_0x455ee9),this[_0x2c6f('0x71')][_0x2c6f('0xb3')](_0x943870,{'userId':_0x177353}),this['_touched']['set'](_0x455ee9,{'userId':_0x177353}),_0x4b8a5a[_0x2c6f('0x1c')]();}[_0x2c6f('0x50')](_0x1f3645){const _0x11277b=null===(_0x1f3645=this[_0x2c6f('0x102')](_0x1f3645,this[_0x2c6f('0x95')]))['_authorId']?null:_0x1f3645[_0x2c6f('0x30')]||this[_0x2c6f('0x97')][_0x2c6f('0x56')]['get'](_0x2c6f('0x17'))['me']['id'],_0x547602=_0x1f3645[_0x2c6f('0x8c')],_0x4e3f43=_0x1f3645[_0x2c6f('0xe1')][_0x2c6f('0xc6')];_0x1f3645['_execute']();const _0x532833=_0x4e3f43['getAttribute'](_0x2c6f('0xf7')),_0x247f5d=_0x1f3645[_0x2c6f('0x54')][_0x2c6f('0xad')];if(_0x547602){const _0x1ffd4b=_0x247f5d[_0x2c6f('0xae')](_0x2c6f('0xf7')),_0x10de10=_0x4e3f43[_0x2c6f('0xae')](_0x2c6f('0xf7'));_0x4e3f43[_0x2c6f('0xb9')](_0x2c6f('0xf7'),_0x1ffd4b),_0x247f5d[_0x2c6f('0xb9')]('vid_end',_0x10de10),this[_0x2c6f('0x71')][_0x2c6f('0xb3')](_0x4e3f43['getAttribute'](_0x2c6f('0xf7')),{'userId':_0x11277b}),this['_touched'][_0x2c6f('0xb3')](_0x247f5d[_0x2c6f('0xae')](_0x2c6f('0x5f')),{'userId':_0x11277b});}else{const _0x4719a1=this[_0x2c6f('0xcb')]++,_0x325cc3=this[_0x2c6f('0xcb')]++;_0x4e3f43[_0x2c6f('0xb9')](_0x2c6f('0xf7'),_0x4719a1),_0x247f5d[_0x2c6f('0xb9')](_0x2c6f('0x5f'),_0x325cc3),_0x247f5d[_0x2c6f('0xb9')](_0x2c6f('0xf7'),_0x532833),this[_0x2c6f('0x71')][_0x2c6f('0xb3')](_0x4719a1,{'userId':_0x11277b}),this[_0x2c6f('0x71')][_0x2c6f('0xb3')](_0x325cc3,{'userId':_0x11277b});}}[_0x2c6f('0x9b')](_0x2ab684){if(!_0x2ab684[_0x2c6f('0x44')])return;const _0x2e6a00=(_0x2ab684=this[_0x2c6f('0x102')](_0x2ab684,this[_0x2c6f('0x33')]))['oldRange']?_0x2ab684[_0x2c6f('0x22')][_0x2c6f('0xfe')]:null,_0xb7e13=_0x2ab684['newRange']?_0x2ab684[_0x2c6f('0x57')][_0x2c6f('0xfe')]:null;_0x2e6a00&&this[_0x2c6f('0x31')][_0x2c6f('0x4')](_0x2ab684['name']),_0xb7e13&&this[_0x2c6f('0x31')][_0x2c6f('0xb3')](_0x2ab684[_0x2c6f('0x6d')],_0x2ab684[_0x2c6f('0x57')][_0x2c6f('0x6')]());const _0x575c3e=null===_0x2ab684['_authorId']?null:_0x2ab684[_0x2c6f('0x30')]||this['editor'][_0x2c6f('0x56')][_0x2c6f('0x34')](_0x2c6f('0x17'))['me']['id'],_0x4e023e=_0x2ab684[_0x2c6f('0x6d')];if(!this[_0x2c6f('0x1')]['has'](_0x4e023e))return void this[_0x2c6f('0x1')]['set'](_0x4e023e,{'range':_0x2ab684['oldRange'],'userId':_0x575c3e});const _0x5128e5=this[_0x2c6f('0x1')][_0x2c6f('0x34')](_0x4e023e),_0x26a029=_0x5128e5[_0x2c6f('0x46')],_0x27a492=_0x2ab684[_0x2c6f('0x57')];null==_0x26a029&&null==_0x27a492||_0x26a029&&_0x27a492&&_0x26a029[_0x2c6f('0x2b')](_0x27a492)?this[_0x2c6f('0x1')][_0x2c6f('0x4')](_0x2ab684[_0x2c6f('0x6d')]):_0x5128e5['userId']=_0x575c3e;}[_0x2c6f('0x35')](_0x5f50f0,_0x3eafe5){this['_diffRoots'][_0x2c6f('0xe7')](_0x5f50f0['rootName'])?this[_0x2c6f('0x33')]['get'](_0x5f50f0[_0x2c6f('0x21')])[_0x2c6f('0x2d')]=_0x5f50f0[_0x2c6f('0xba')]:(this['_diffRoots'][_0x2c6f('0xb3')](_0x5f50f0[_0x2c6f('0x21')],G(_0x5f50f0[_0x2c6f('0x21')],!0x0)),this[_0x2c6f('0xb2')][_0x2c6f('0xb3')](_0x5f50f0[_0x2c6f('0x21')],{}),_0x3eafe5&&this['_idsRoots']['set'](_0x5f50f0[_0x2c6f('0x21')],G(_0x5f50f0['rootName'],!0x0)));const _0x393af9=null===_0x5f50f0[_0x2c6f('0x30')]?null:_0x5f50f0[_0x2c6f('0x30')]||this[_0x2c6f('0x97')][_0x2c6f('0x56')]['get']('Users')['me']['id'],_0x1db418=this[_0x2c6f('0xb0')][_0x2c6f('0x34')](_0x5f50f0['rootName']);_0x1db418&&_0x1db418[_0x2c6f('0xcd')]===_0x393af9?this['_touchedRoots'][_0x2c6f('0x4')](_0x5f50f0[_0x2c6f('0x21')]):this[_0x2c6f('0xb0')][_0x2c6f('0xb3')](_0x5f50f0[_0x2c6f('0x21')],{'userId':_0x393af9,'isAttached':_0x5f50f0[_0x2c6f('0xba')]});}[_0x2c6f('0x66')](_0x372a9e){const _0x2d8a60=this[_0x2c6f('0xb2')]['get'](_0x372a9e[_0x2c6f('0xfe')][_0x2c6f('0x21')]);null===_0x372a9e[_0x2c6f('0x58')]?delete _0x2d8a60[_0x372a9e[_0x2c6f('0x6a')]]:_0x2d8a60[_0x372a9e['key']]=_0x372a9e[_0x2c6f('0x58')];}}function q(_0x17fb24){const _0x50aa84=G(_0x17fb24['rootName'],_0x17fb24[_0x2c6f('0x67')]());for(const _0x509fdb of _0x17fb24[_0x2c6f('0x101')]()){const _0xfe55e6=_0x509fdb[_0x2c6f('0x7d')](!0x0);_0x50aa84[_0x2c6f('0x1d')](_0xfe55e6);}return _0x50aa84;}function G(_0x2747db,_0xb803b2=!0x0){const _0x1fc4af=new _0x381441();return _0x1fc4af[_0x2c6f('0x21')]=_0x2747db,_0x1fc4af[_0x2c6f('0x2d')]=_0xb803b2,_0x1fc4af[_0x2c6f('0x67')]=()=>_0x1fc4af[_0x2c6f('0x2d')],_0x1fc4af;}function L(_0x1b865f,_0x59306e,_0x3d67c2){const _0x23279d=_0x2c6f('0x81')==_0x1b865f[_0x2c6f('0x6b')]?_0x3d67c2['createPositionAt'](_0x1b865f[_0x2c6f('0x68')],_0x2c6f('0x78')):_0x3d67c2[_0x2c6f('0xf9')](_0x1b865f['item']);return _0x3d67c2[_0x2c6f('0x70')](_0x59306e,_0x23279d[_0x2c6f('0x3d')],_0x23279d[_0x2c6f('0x84')]);}function W(_0x268276,_0x5c510d,_0x3736d3){const _0x34c8c4=_0x2c6f('0xfa')==_0x268276[_0x2c6f('0x6b')]?_0x3736d3['createPositionAt'](_0x268276[_0x2c6f('0x68')],0x0):_0x3736d3[_0x2c6f('0xf1')](_0x268276[_0x2c6f('0x68')]);return _0x3736d3['createPositionFromPath'](_0x5c510d,_0x34c8c4[_0x2c6f('0x3d')],_0x34c8c4[_0x2c6f('0x84')]);}
|
|
23
|
+
const _0x1f79=['vid_end','nodes','oldRange','_transformMarkers','default','addRootAttribute','_copyMarkers','RealTimeCollaborationClient','_findInsertionIndex','Empty\x20document','model','element','baseVersion','getChild','then','type','forEach','getCurrentRevisionId','getOperation','affectsData','_appendChild','revisionHistory.resumeUnsavedRevision','getUser','$graveyard','_createCurrentRevision','rootName','size','createdAt','source','newValue','_clone','createRange','delete','repository','_handleRootAttributeOperation','view','childCount','elementStart','requires','_loadState','diffData','_createFromRanges','includes','conversion','history','clone','_cloneOperation','vid_start','documentFragment','config','end','addRevision','_makeIdsRoot','getLatestVersion','_prepareViewToSave','_loadRevisionData','markers','_operations','attachChange','_authorId','split','_fixOperation','_fixRange','_execute','_source','NEGATIVE_INFINITY','path','insert','_handleOperation','offsetSize','_saveMetaData','setRevisionData','_diffRootsAttributes','merge','item','createPositionAt','_lastTo','_continueCurrentRevision','_getViewJson','upcast','newRange','_handleMergeOperation','_getVidAttributeName','_makeModelFromViewString','_processRootBeforeSave','hasContent','root','isEnabled','_isAttached','trim','deletions','_touchedMarkers','getRevisionDocumentData','_getState','revision:','fromVersion','_diffRoots','revision','getRevisionRootsAttributes','_touched','attributes','currentRevision','_createInitialRevision','shift','reverse','_lastFrom','revision-start','_revisionId','add','getRevisions','_idsRoots','addRevisionData','set','Initial\x20revision','stringify','_bufferUpdate','editor','revision-end','data-revision-','createPositionBefore','_handleInsertOperation','marker','update','_getPreviousFrom','_startingRevisionId','_addPendingAction','afterInit','filter','get','sort','RevisionTracker','_isPendingUpdate','slice','_getBaseVids','graveyardPosition','toData','_replaceEditorDataWithRevisionData','vid','from','paragraph','children','_removePendingAction','resolve','stickiness','reInit','attributesAfter','keys','targetPosition','sourcePosition','isReady','key','getChildren','_revisionDataBuilder','updateRevisions','version','nodeAfter','creator','elementEnd','isEqual','tableCell','loadState','clear','map','editor-initial-data-replaced-with-revision-data','previousPosition','getOperations','parse','authorsIds','position','_handleMoveOperation','insertions','_bufferedUpdates','_update','toModel','getAttribute','values','marked','sendBufferedUpdates','removeRootAttribute','parent','_applyOperations','createPositionFromPath','authors','processor','insertion','userId','startsWith','_baseIdsRoots','useFillerType','reinsert','Users','toView','_savedMetaData','markerToData','_touchedRoots','deletion','has','initialData','_getFromVersion','detachRoot','_setAttribute','getWalker','_handleSplitOperation','editing','start','data','_loadedStateData','_baseRoots','_initialRevisionId','pluginName','string','getAncestors','saveRevision','toVersion','push','_fixPosition','length','getRange','changeRootAttribute','initial','_removeRevisionMarkers','_reset','collaboration.channelId','$text','getRevision','getMovedRangeStart','_calculateMetaData','fromEntries','createRevision','_insertChild','_handleRootOperation','isAttached','RevisionsRepository','_markers','PendingActions','text','getAttributes','_baseRootsAttributes','_generateTape','move','name','getNodeByPath','_makeRevision','getRoot','roots','creatorId','buildRevisionData','isAdd','rootsAttributes','addRoot','offset','keepParagraph','find','remove','ready','_startingVersion','plugins','createPositionAfter','getTime','_setConversion','document','locale','adapter','init','setSource','_pendingAction'];(function(_0x523f74,_0x1f7909){const _0x3d94a1=function(_0x13af33){while(--_0x13af33){_0x523f74['push'](_0x523f74['shift']());}};_0x3d94a1(++_0x1f7909);}(_0x1f79,0x1bd));const _0x3d94=function(_0x523f74,_0x1f7909){_0x523f74=_0x523f74-0x0;let _0x3d94a1=_0x1f79[_0x523f74];return _0x3d94a1;};import{Users as _0x63d9e6}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x456bdf,PendingActions as _0x14e687}from'ckeditor5/src/core';import{logWarning as _0x19a330,uid as _0x549efb}from'ckeditor5/src/utils';import{Position as _0xbe6921,Range as _0x34e76e,Element as _0x231bc2,DocumentFragment as _0x2c471c,ViewText as _0x306c06,ViewElement as _0x20d318,ViewContainerElement as _0x2f6a7d,ViewAttributeElement as _0x512970,ViewEmptyElement as _0x1a356a,ViewRawElement as _0x3a611a,ViewUIElement as _0x26f790,ViewDocumentFragment as _0x3d15dc}from'ckeditor5/src/engine';import _0x692509 from'./revisionsrepository';import{getTranslation as _0x535496}from'./utils/common-translations';import{cloneDeep as _0xc09d56,isEqual as _0x284d4e}from'lodash-es';const B={'c':_0x2f6a7d,'a':_0x512970,'e':_0x1a356a,'r':_0x3a611a,'u':_0x26f790};export default class l extends _0x456bdf{static get[_0x3d94('0x1e')](){return _0x3d94('0xd9');}static get[_0x3d94('0x7d')](){return[_0x63d9e6,_0x692509,_0x14e687];}constructor(_0x10ab90){super(_0x10ab90),this[_0x3d94('0x53')]=null,this[_0x3d94('0xbc')]=null,this[_0x3d94('0xef')]=new H(this[_0x3d94('0xcb')]),this[_0x3d94('0x1d')]=this[_0x3d94('0xcb')][_0x3d94('0x88')][_0x3d94('0xd7')](_0x3d94('0x2b'))||_0x3d94('0x28'),this[_0x3d94('0x102')]=new Map(),this[_0x3d94('0x1b')]=null;const _0x178c45=_0x549efb();this[_0x3d94('0x97')]={'history':this['editor'][_0x3d94('0x61')]['document'][_0x3d94('0x83')],'getLatestVersion':()=>Promise[_0x3d94('0xe5')](this[_0x3d94('0xcb')][_0x3d94('0x61')]['document'][_0x3d94('0xf1')]),'getCurrentRevisionId':()=>_0x178c45},this['set'](_0x3d94('0xec'),!0x1),this[_0x3d94('0xc7')](_0x3d94('0xae'),!0x0),this[_0x3d94('0xc7')](_0x3d94('0xda'),!0x1),this[_0x3d94('0xcb')][_0x3d94('0x88')]['define'](_0x3d94('0x6c'),!0x0),this[_0x3d94('0xcb')]['conversion']['for'](_0x3d94('0xa6'))['dataToMarker']({'view':_0x3d94('0xb8')});}['init'](){this[_0x3d94('0x78')]=this[_0x3d94('0xcb')][_0x3d94('0x4d')][_0x3d94('0xd7')](_0x3d94('0x35')),this[_0x3d94('0x50')](),this['editor'][_0x3d94('0x1a')]['on'](_0x3d94('0x4b'),()=>{const _0x1c9694=this[_0x3d94('0x78')][_0x3d94('0x2d')](0x0),_0x434685=_0x1c9694&&null===_0x1c9694[_0x3d94('0xf3')]?_0x1c9694:null;if(this['_continueCurrentRevision']=!!_0x434685&&this[_0x3d94('0xcb')][_0x3d94('0x88')][_0x3d94('0xd7')](_0x3d94('0x6c')),this[_0x3d94('0xcb')]['plugins'][_0x3d94('0x11')](_0x3d94('0x5e'))){const _0x147d47=this[_0x3d94('0x97')]['getCurrentRevisionId'](),_0x55c89c=this['repository']['getRevision'](_0x147d47);if(_0x55c89c)this[_0x3d94('0x4c')]=_0x55c89c[_0x3d94('0xb6')],this['_continueCurrentRevision']=!0x1;else{const _0x7b554d=this['_source'][_0x3d94('0x83')][_0x3d94('0x90')]['find'](_0x4bd762=>!_0x4bd762['_isInit']),_0x55469e=_0x7b554d?_0x7b554d['baseVersion']:this[_0x3d94('0x97')]['history'][_0x3d94('0xf1')];_0x1c9694?(_0x1c9694[_0x3d94('0x22')]<_0x55469e&&_0x1c9694['_update']({'toVersion':_0x55469e}),this[_0x3d94('0xa4')]?(this[_0x3d94('0x97')][_0x3d94('0x68')]=()=>_0x434685['id'],this[_0x3d94('0x4c')]=_0x434685[_0x3d94('0xb6')]):(this['_startingVersion']=_0x1c9694[_0x3d94('0x22')],this['_continueCurrentRevision']=!0x1)):(this[_0x3d94('0x4c')]=_0x55469e,this[_0x3d94('0xa4')]=!0x1);}}else _0x434685&&(this['editor'][_0x3d94('0x61')][_0x3d94('0x51')][_0x3d94('0x83')][_0x3d94('0xf1')]=Math['max'](_0x434685[_0x3d94('0x22')],this[_0x3d94('0xcb')][_0x3d94('0x61')]['document'][_0x3d94('0x83')]['version']),_0x434685[_0x3d94('0xb6')]===_0x434685[_0x3d94('0x22')]?(0x0!==_0x434685[_0x3d94('0xb6')]&&(this[_0x3d94('0x97')][_0x3d94('0x68')]=()=>_0x434685['id']),this[_0x3d94('0xa4')]=!0x1):this[_0x3d94('0xa4')]&&(this[_0x3d94('0x97')][_0x3d94('0x68')]=()=>_0x434685['id'],this['_startingVersion']=_0x434685['fromVersion'])),this[_0x3d94('0xa4')]||(this[_0x3d94('0x4c')]=this[_0x3d94('0xcb')][_0x3d94('0x61')][_0x3d94('0x51')][_0x3d94('0xf1')]);this['_revisionDataBuilder']['init'](this[_0x3d94('0x97')][_0x3d94('0x83')]),this[_0x3d94('0xbd')](this[_0x3d94('0x4c')]),this[_0x3d94('0x6f')](this['_startingVersion']),this['adapter']&&this[_0x3d94('0x108')]();}),this['bind'](_0x3d94('0xec'))['to'](this,_0x3d94('0xda'),_0x43635a=>!_0x43635a);}async[_0x3d94('0xd5')](){if(this[_0x3d94('0x78')][_0x3d94('0x25')]>0x0){const _0x540d96=this[_0x3d94('0x78')]['getRevision'](0x0),_0xed54b8=await this[_0x3d94('0xb3')](_0x540d96),_0x2003ed=await this['getRevisionRootsAttributes'](_0x540d96);this[_0x3d94('0xdf')](_0xed54b8,_0x2003ed);}}[_0x3d94('0x55')](_0x1e6327){this['_source']=_0x1e6327;}async[_0x3d94('0xd1')](){const _0x10777b=await this[_0x3d94('0x97')][_0x3d94('0x8c')]();if(_0x10777b>this[_0x3d94('0xbc')][_0x3d94('0x22')]){await this[_0x3d94('0x7e')]();const _0x2af459=this[_0x3d94('0x43')]({'revision':this[_0x3d94('0xbc')],'to':_0x10777b});_0x2af459['authors']=_0x2af459[_0x3d94('0xfe')][_0x3d94('0xf9')](_0x29200b=>this[_0x3d94('0xcb')]['plugins'][_0x3d94('0xd7')](_0x3d94('0xb'))['getUser'](_0x29200b)),this['currentRevision'][_0x3d94('0x103')](_0x2af459);}}async[_0x3d94('0x7e')](){this[_0x3d94('0xa4')]&&!this[_0x3d94('0x1b')]&&(await this['_loadRevisionData'](this[_0x3d94('0xbc')]),this[_0x3d94('0xef')][_0x3d94('0xf7')](this[_0x3d94('0xbc')]),this[_0x3d94('0x1b')]={'fromVersion':this[_0x3d94('0xbc')]['fromVersion'],'authors':this[_0x3d94('0xbc')][_0x3d94('0x3')][_0x3d94('0xdb')]()});}async[_0x3d94('0x21')](_0x552ff1={},_0x580179=null){const _0x2bfd35=[];await this[_0x3d94('0x7e')](),this['_continueCurrentRevision']=!0x1,_0x580179>this[_0x3d94('0xbc')]['toVersion']&&(_0x580179=null),null===_0x580179&&(_0x580179=await this[_0x3d94('0x97')][_0x3d94('0x8c')]());const _0x5c1123=this[_0x3d94('0x13')](_0x580179),_0x367af6=this[_0x3d94('0x43')]({'from':_0x5c1123,'to':_0x580179});if(this[_0x3d94('0xbc')][_0x3d94('0x22')]<_0x580179){const _0x1273a1=this[_0x3d94('0x43')]({'revision':this[_0x3d94('0xbc')],'from':_0x580179,'to':_0x580179});_0x1273a1[_0x3d94('0x3')]=[],_0x1273a1['authorsIds']=[],_0x1273a1['id']=this[_0x3d94('0xbc')]['id'],this['currentRevision']['_update'](_0x1273a1,!0x0),delete _0x1273a1[_0x3d94('0x3')],_0x2bfd35[_0x3d94('0x23')](_0x1273a1);}_0x552ff1[_0x3d94('0x42')]=this[_0x3d94('0xcb')][_0x3d94('0x4d')][_0x3d94('0xd7')](_0x3d94('0xb'))['me']['id'],_0x552ff1[_0x3d94('0x3d')]=_0x552ff1['name']||null,_0x552ff1['id']=_0x552ff1['id']||_0x549efb(),_0x552ff1={..._0x552ff1,..._0x367af6};const _0x310640=this[_0x3d94('0xc6')](_0x552ff1);_0x2bfd35['push'](_0x552ff1);const _0x2df08c=this[_0x3d94('0x78')]['getIndex'](_0x310640);if(0x0!==_0x2df08c){const _0x528903=this[_0x3d94('0x78')][_0x3d94('0x2d')](_0x2df08c-0x1);if(_0x528903[_0x3d94('0xb6')]!==_0x580179){const _0x3422dc=this[_0x3d94('0xef')]['getData'](_0x580179,_0x528903['toVersion']),_0x57557c={'id':_0x528903['id'],'diffData':_0x3422dc[_0x3d94('0x7f')],'authorsIds':_0x3422dc[_0x3d94('0xfe')],'authors':_0x3422dc[_0x3d94('0xfe')][_0x3d94('0xf9')](_0x32b7f5=>this['editor']['plugins'][_0x3d94('0xd7')]('Users')[_0x3d94('0x6d')](_0x32b7f5)),'fromVersion':_0x580179};_0x528903===this[_0x3d94('0xbc')]&&(_0x57557c['createdAt']=new Date(_0x552ff1[_0x3d94('0x72')][_0x3d94('0x4f')]()+0xa)),_0x528903[_0x3d94('0x103')](_0x57557c,!0x0),delete _0x57557c['authors'],_0x2bfd35[_0x3d94('0x23')](_0x57557c);}}if(this['adapter']){for(const _0x52a710 of _0x2bfd35)this[_0x3d94('0xca')](_0x52a710['id'],_0x52a710,!0x0);this[_0x3d94('0x108')]();}return _0x310640;}[_0x3d94('0xc6')](_0x49e221){const _0x41fd46=this[_0x3d94('0x78')][_0x3d94('0x31')](_0x49e221);return this[_0x3d94('0x53')]&&_0x41fd46['on'](_0x3d94('0x103'),(_0x3cf857,_0xf4513b,_0x44ff61)=>{_0x44ff61||(this[_0x3d94('0xca')](_0xf4513b['id'],_0xf4513b,!0x0),this[_0x3d94('0x108')]());}),this[_0x3d94('0x78')][_0x3d94('0x8a')](_0x41fd46,this[_0x3d94('0x5f')](_0x41fd46)),_0x41fd46;}async[_0x3d94('0xb3')](_0x171592){await this[_0x3d94('0x8e')](_0x171592);const _0x1e4769={};for(const _0x43d473 in _0x171592[_0x3d94('0x7f')]){if(_0x171592[_0x3d94('0x7f')][_0x43d473][_0x3d94('0x91')]&&!_0x171592[_0x3d94('0x7f')][_0x43d473]['attachChange'][_0x3d94('0x34')])continue;const _0xf4b032=this[_0x3d94('0x29')](JSON['parse'](_0x171592[_0x3d94('0x7f')][_0x43d473][_0x3d94('0x101')])),_0x3af1d8=this[_0x3d94('0xcb')][_0x3d94('0x18')][_0x3d94('0x7a')][_0x3d94('0x51')],_0x4b89bc=new _0x3d15dc(_0x3af1d8,_0xf4b032[_0x3d94('0xf9')](_0x53472f=>J(_0x53472f,this[_0x3d94('0xcb')])));this[_0x3d94('0xcb')][_0x3d94('0x1a')][_0x3d94('0x4')][_0x3d94('0x9')](_0x3d94('0x107')),_0x1e4769[_0x43d473]=this['editor']['data'][_0x3d94('0x4')][_0x3d94('0xde')](_0x4b89bc),this['editor']['data']['processor'][_0x3d94('0x9')](_0x3d94('0x5b'));}return _0x1e4769;}async[_0x3d94('0xb9')](_0x237975){await this[_0x3d94('0x8e')](_0x237975);const _0xfd0e3c={};for(const _0x5304c7 in _0x237975[_0x3d94('0x7f')])_0x237975[_0x3d94('0x7f')][_0x5304c7]['attachChange']&&!_0x237975[_0x3d94('0x7f')][_0x5304c7]['attachChange'][_0x3d94('0x34')]||(_0xfd0e3c[_0x5304c7]=_0x237975['diffData'][_0x5304c7][_0x3d94('0xe8')]||{});return _0xfd0e3c;}[_0x3d94('0x108')](){if(0x0===this[_0x3d94('0x102')][_0x3d94('0x71')])return;if(this[_0x3d94('0xda')])return;let _0x5f2bc6=Array[_0x3d94('0xe1')](this[_0x3d94('0x102')]['values']());this[_0x3d94('0x102')][_0x3d94('0xf8')]();for(let _0x2819ca=0x0;_0x2819ca<_0x5f2bc6[_0x3d94('0x25')];_0x2819ca++){const _0x409f4e=_0x5f2bc6[_0x2819ca];let _0x14320c=!0x1;for(const _0x1eb2dc of Object[_0x3d94('0xe9')](_0x409f4e))void 0x0===_0x409f4e[_0x1eb2dc]?delete _0x409f4e[_0x1eb2dc]:'id'!==_0x1eb2dc&&(_0x14320c=!0x0);_0x14320c||(_0x5f2bc6[_0x2819ca]=null);}if(_0x5f2bc6=_0x5f2bc6[_0x3d94('0xd6')](_0x489c5e=>null!==_0x489c5e),!_0x5f2bc6[_0x3d94('0x25')])return;for(let _0x366c78=0x0;_0x366c78<_0x5f2bc6[_0x3d94('0x25')];_0x366c78++){const _0x10b12f=_0x5f2bc6[_0x366c78];void 0x0!==_0x10b12f['fromVersion']&&void 0x0===_0x10b12f['toVersion']&&(_0x10b12f['toVersion']=this[_0x3d94('0x78')][_0x3d94('0x2d')](_0x10b12f['id'])['toVersion']),void 0x0!==_0x10b12f[_0x3d94('0x22')]&&void 0x0===_0x10b12f[_0x3d94('0xb6')]&&(_0x10b12f['fromVersion']=this['repository']['getRevision'](_0x10b12f['id'])[_0x3d94('0xb6')]);}const _0x3db7e0=this[_0x3d94('0xcb')]['config']['get'](_0x3d94('0x2b'));this['_isPendingUpdate']=!0x0,this[_0x3d94('0xd4')](),this['adapter'][_0x3d94('0xf0')](_0x5f2bc6,_0x3db7e0)['finally'](()=>{this[_0x3d94('0xda')]=!0x1;})[_0x3d94('0x65')](_0x426aec=>{if(_0x426aec)for(const _0x779728 of _0x426aec)this[_0x3d94('0x9e')]({'id':_0x779728['id'],'createdAt':_0x779728['createdAt']});this[_0x3d94('0xe4')](),this[_0x3d94('0x108')]();});}[_0x3d94('0xdf')](_0x31a1f0,_0x22b358){let _0x40bc81=this['editor'][_0x3d94('0x88')][_0x3d94('0xd7')](_0x3d94('0x12')),_0xf4dfa3=this[_0x3d94('0xcb')][_0x3d94('0x88')][_0x3d94('0xd7')](_0x3d94('0x45'));if(void 0x0===_0x40bc81){_0x40bc81={};for(const _0x189bd2 of this[_0x3d94('0xcb')]['model']['document']['getRootNames']())_0x40bc81[_0x189bd2]='';}if(_0x3d94('0x1f')==typeof _0x40bc81&&(_0x40bc81={'main':_0x40bc81}),void 0x0===_0xf4dfa3){_0xf4dfa3={};for(const _0x3edf10 of this[_0x3d94('0xcb')][_0x3d94('0x61')][_0x3d94('0x51')]['getRootNames']())_0xf4dfa3[_0x3edf10]={};}let _0x337afb=!0x1;const _0x386059=Object['keys'](_0x40bc81),_0x1c449c=Object['keys'](_0x31a1f0);for(const _0x511f87 of _0x386059){if(_0x40bc81[_0x511f87]!==_0x31a1f0[_0x511f87]&&''!==_0x40bc81[_0x511f87][_0x3d94('0xb0')]()){_0x337afb=!0x0;break;}if(!_0x284d4e(_0xf4dfa3[_0x511f87],_0x22b358[_0x511f87])&&Object[_0x3d94('0xe9')](_0xf4dfa3[_0x511f87])[_0x3d94('0x25')]>0x0){_0x337afb=!0x0;break;}}_0x337afb||(_0x337afb=_0x1c449c['some'](_0x3e324c=>!this[_0x3d94('0xcb')]['model'][_0x3d94('0x51')]['getRoot'](_0x3e324c))),_0x337afb&&_0x19a330(_0x3d94('0xfa'),{'editorData':_0x40bc81,'editorRootsAttributes':_0xf4dfa3,'revisionData':_0x31a1f0,'revisionRootsAttributes':_0x22b358}),this[_0x3d94('0xcb')][_0x3d94('0x88')][_0x3d94('0xc7')](_0x3d94('0x12'),_0x31a1f0),this['editor'][_0x3d94('0x88')][_0x3d94('0xc7')](_0x3d94('0x45'),_0x22b358);}['_addPendingAction'](){if(!this[_0x3d94('0x56')]){const _0x33641f=this[_0x3d94('0xcb')]['plugins'][_0x3d94('0xd7')](_0x3d94('0x37'));this['_pendingAction']=_0x33641f[_0x3d94('0xc3')](_0x535496(this[_0x3d94('0xcb')][_0x3d94('0x52')],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this[_0x3d94('0xcb')]['plugins'][_0x3d94('0xd7')](_0x3d94('0x37'))['remove'](this[_0x3d94('0x56')]),this[_0x3d94('0x56')]=null);}[_0x3d94('0x5f')](_0x304fc5){const _0x33c667=this['repository']['getRevisions']();_0x33c667[_0x3d94('0xbf')]();let _0x4f1ad9=0x0;for(;_0x4f1ad9<_0x33c667[_0x3d94('0x25')];){const _0x1767af=_0x33c667[_0x4f1ad9];if(_0x1767af===this[_0x3d94('0xbc')]){_0x4f1ad9++;continue;}if(_0x1767af['id']===this[_0x3d94('0x1d')])break;const _0x3e69b2=_0x304fc5['toVersion']-_0x1767af['toVersion']||_0x304fc5[_0x3d94('0xb6')]-_0x1767af[_0x3d94('0xb6')];if(_0x3e69b2>0x0)break;if(_0x3e69b2<0x0)_0x4f1ad9++;else{if(!_0x304fc5[_0x3d94('0xf3')]&&_0x1767af[_0x3d94('0xf3')])break;if(_0x1767af['creator']||!_0x304fc5['creator']){if(_0x304fc5[_0x3d94('0x72')]>_0x1767af[_0x3d94('0x72')])break;_0x4f1ad9++;}else _0x4f1ad9++;}}return _0x4f1ad9;}[_0x3d94('0x9e')](_0x169da9){const _0x358aaf=this['repository'][_0x3d94('0x2d')](_0x169da9['id']);if(_0x169da9[_0x3d94('0x72')]&&(_0x169da9['createdAt']=new Date(_0x169da9[_0x3d94('0x72')])),_0x169da9[_0x3d94('0xfe')]){const _0x218e6a=this[_0x3d94('0xcb')][_0x3d94('0x4d')][_0x3d94('0xd7')](_0x3d94('0xb'));_0x169da9[_0x3d94('0x3')]=_0x169da9['authorsIds'][_0x3d94('0xf9')](_0x2e5501=>_0x218e6a[_0x3d94('0x6d')](_0x2e5501));}_0x358aaf[_0x3d94('0x103')](_0x169da9,!0x0);}[_0x3d94('0x43')]({revision:_0x3c3483=null,from:_0x4a233b=null,to:_0x500af8=null}){_0x4a233b=null!==_0x4a233b?_0x4a233b:_0x3c3483['fromVersion'],_0x500af8=null!==_0x500af8?_0x500af8:_0x3c3483[_0x3d94('0x22')];const _0x2fdcb9=this[_0x3d94('0xef')]['getData'](_0x4a233b,_0x500af8),_0x1edd44={'diffData':_0x2fdcb9[_0x3d94('0x7f')],'authorsIds':_0x2fdcb9['authorsIds'],'fromVersion':_0x4a233b,'toVersion':_0x500af8};if(!_0x3c3483||_0x500af8!==_0x3c3483[_0x3d94('0x22')]){const _0x92a230=_0x500af8-0x1,_0x5329be=this[_0x3d94('0x97')][_0x3d94('0x83')][_0x3d94('0x69')](_0x92a230);_0x1edd44[_0x3d94('0x72')]=_0x5329be&&_0x5329be['createdAt']||new Date();}if(this[_0x3d94('0x1b')]&&_0x4a233b===this['_loadedStateData'][_0x3d94('0xb6')])for(const _0x6f4764 of this['_loadedStateData']['authors'])_0x1edd44[_0x3d94('0xfe')][_0x3d94('0x81')](_0x6f4764['id'])||_0x1edd44[_0x3d94('0xfe')][_0x3d94('0x23')](_0x6f4764['id']);return _0x1edd44;}[_0x3d94('0x8e')](_0x13f281){if(!_0x13f281||_0x13f281['diffData'])return Promise[_0x3d94('0xe5')]();{const _0x3a9022=this[_0x3d94('0xcb')][_0x3d94('0x88')][_0x3d94('0xd7')](_0x3d94('0x2b'));return this[_0x3d94('0x53')]['getRevision']({'channelId':_0x3a9022,'revisionId':_0x13f281['id']})[_0x3d94('0x65')](_0x492c5e=>{_0x13f281[_0x3d94('0x7f')]=_0x492c5e[_0x3d94('0x7f')];});}}[_0x3d94('0xca')](_0x3c789b,_0xbf72e4,_0xce3c32){if(this['_bufferedUpdates'][_0x3d94('0x11')](_0x3c789b)){const _0x530478=this['_bufferedUpdates']['get'](_0x3c789b);_0xbf72e4=_0xce3c32?{..._0x530478,..._0xbf72e4}:{..._0xbf72e4,..._0x530478};}this[_0x3d94('0x102')][_0x3d94('0xc7')](_0x3c789b,_0xbf72e4);}['_getFromVersion'](_0x7a02cf){const _0x1f3b6c=this['repository'][_0x3d94('0xc4')]();_0x1f3b6c[_0x3d94('0xbf')](),_0x1f3b6c[_0x3d94('0xbe')]();const _0xbe130c=_0x1f3b6c['find'](_0x2c0373=>_0x2c0373[_0x3d94('0x22')]<=_0x7a02cf)['toVersion'];return _0xbe130c<this[_0x3d94('0x4c')]?this['_startingVersion']:_0xbe130c;}[_0x3d94('0xbd')](_0x17e93e){const _0x481126=this['repository'][_0x3d94('0x2d')](this[_0x3d94('0x78')][_0x3d94('0x25')]-0x1);if(_0x481126)this['_initialRevisionId']=_0x481126['id'];else{const _0x312096=!this[_0x3d94('0xcb')]['model']['document'][_0x3d94('0x41')][_0x3d94('0x49')](_0x36a667=>this[_0x3d94('0xcb')][_0x3d94('0x61')][_0x3d94('0xac')](_0x36a667)),_0xda7782=this[_0x3d94('0xcb')]['plugins'][_0x3d94('0xd7')](_0x3d94('0xb'))['me']['id'],_0x54da61=_0x535496(this[_0x3d94('0xcb')][_0x3d94('0x52')],_0x312096?_0x3d94('0x60'):_0x3d94('0xc8'));this[_0x3d94('0x3f')]({'from':_0x17e93e,'to':_0x17e93e,'id':this[_0x3d94('0x1d')],'name':_0x54da61,'creatorId':_0xda7782});}}[_0x3d94('0x6f')](_0x48fe25){const _0x8543a1=this[_0x3d94('0x97')]['getCurrentRevisionId']();this[_0x3d94('0xbc')]=this['repository'][_0x3d94('0x2d')](_0x8543a1),this['currentRevision']||(this[_0x3d94('0xbc')]=this[_0x3d94('0x3f')]({'from':_0x48fe25,'to':_0x48fe25,'id':_0x8543a1,'name':'','creatorId':null}));}[_0x3d94('0x3f')]({name:_0x251ee3,from:_0x4c214f,to:_0x30ff8a,creatorId:_0x2ff419,id:_0x8d663}){const _0x5d593b=this[_0x3d94('0x43')]({'from':_0x4c214f,'to':_0x30ff8a});_0x5d593b[_0x3d94('0x3d')]=_0x251ee3,_0x5d593b[_0x3d94('0x42')]=_0x2ff419,_0x5d593b['id']=_0x8d663;const _0x1a20f7=this[_0x3d94('0xc6')](_0x5d593b);return this[_0x3d94('0x53')]&&this[_0x3d94('0xca')](_0x5d593b['id'],_0x5d593b,!0x0),_0x1a20f7;}[_0x3d94('0x50')](){this[_0x3d94('0xcb')][_0x3d94('0x82')]['for']('dataDowncast')[_0x3d94('0xe')]({'model':_0x3d94('0xb8')});}[_0x3d94('0x29')](_0x148837){return(_0x148837=_0x148837['filter'](_0xa02ec3=>!_0xa02ec3[_0x3d94('0x3d')]||_0x3d94('0xc1')!==_0xa02ec3[_0x3d94('0x3d')]&&_0x3d94('0xcc')!==_0xa02ec3[_0x3d94('0x3d')]))[_0x3d94('0x67')](_0x3f9242=>{_0x3d94('0x1f')!=typeof _0x3f9242&&(_0x3f9242[_0x3d94('0xe3')]=this[_0x3d94('0x29')](_0x3f9242[_0x3d94('0xe3')]),_0x3f9242[_0x3d94('0xbb')]=_0x3f9242[_0x3d94('0xbb')][_0x3d94('0xd6')](_0x3f2dae=>!_0x3f2dae[0x0][_0x3d94('0x7')](_0x3d94('0xcd'))));}),_0x148837;}}function J(_0x242207,_0x1d9b25){const _0x346ab6=_0x1d9b25[_0x3d94('0x18')][_0x3d94('0x7a')][_0x3d94('0x51')];if('string'==typeof _0x242207)return new _0x306c06(_0x346ab6,_0x242207);{const _0x45a717=_0x242207[_0x3d94('0xe3')]['map'](_0x242886=>J(_0x242886,_0x1d9b25));return new(B[_0x242207[(_0x3d94('0x66'))]]||_0x20d318)(_0x346ab6,_0x242207[_0x3d94('0x3d')],_0x242207[_0x3d94('0xbb')],_0x45a717);}}class H{constructor(_0x325168){this[_0x3d94('0xcb')]=_0x325168,this['_savedMetaData']=new Map(),this[_0x3d94('0xc0')]=-0x1,this[_0x3d94('0xa3')]=-0x1,this[_0x3d94('0x36')]=new Map(),this[_0x3d94('0xb7')]=new Map(),this[_0x3d94('0x9f')]=new Map(),this['_baseRoots']=new Map(),this[_0x3d94('0x3a')]=new Map(),this[_0x3d94('0xc5')]=new Map(),this[_0x3d94('0x8')]=new Map(),this[_0x3d94('0xba')]=new Map(),this['_touchedMarkers']=new Map(),this[_0x3d94('0xf')]=new Map(),this[_0x3d94('0xc2')]=0x1;}[_0x3d94('0x54')](_0x49aa40){this[_0x3d94('0x73')]=_0x49aa40;const _0x879a4=new Map(),_0x3cfb7f=new Map(),_0x28bb4b=this[_0x3d94('0xcb')][_0x3d94('0x61')][_0x3d94('0x51')]['roots'][_0x3d94('0xf9')](_0x12cf2c=>_0x12cf2c[_0x3d94('0x70')]);for(const _0x358d69 of _0x28bb4b){const _0x17bd27=this[_0x3d94('0xcb')]['model'][_0x3d94('0x51')][_0x3d94('0x40')](_0x358d69),_0x2a062d=q(_0x17bd27);_0x879a4[_0x3d94('0xc7')](_0x358d69,_0x2a062d),_0x3cfb7f[_0x3d94('0xc7')](_0x358d69,Object[_0x3d94('0x30')](_0x17bd27[_0x3d94('0x39')]()));}const _0x1929ef=Array[_0x3d94('0xe1')](this[_0x3d94('0xcb')]['model'][_0x3d94('0x8f')])[_0x3d94('0xf9')](_0x1b18bd=>[_0x1b18bd[_0x3d94('0x3d')],_0x1b18bd[_0x3d94('0x26')]()]),_0x168c95=this[_0x3d94('0x73')][_0x3d94('0xf1')];this['_saveMetaData'](_0x168c95,_0x879a4,_0x1929ef,_0x3cfb7f),this[_0x3d94('0xd3')]=this[_0x3d94('0xc2')];const _0x469f86=new Map(),_0x28d921=new Map();for(const _0x2593c3 of _0x28bb4b){const _0x5a7c0e=G(_0x2593c3);_0x469f86[_0x3d94('0xc7')](_0x2593c3,_0x5a7c0e),_0x28d921['set'](_0x2593c3,{});}this[_0x3d94('0x9d')](Number['NEGATIVE_INFINITY'],_0x469f86,[],_0x28d921);}['getData'](_0x3de696,_0x2dd4){if(this['_lastFrom']===_0x3de696&&this[_0x3d94('0xa3')]<=_0x2dd4)this[_0x3d94('0xd')][_0x3d94('0x71')]>0x1&&this['_removeMetaData'](this[_0x3d94('0xa3')]),this[_0x3d94('0x1')](this['_lastTo'],_0x2dd4,!0x0);else{if(!this[_0x3d94('0xd')][_0x3d94('0x11')](_0x3de696)){const _0x453f62=this[_0x3d94('0xd2')](_0x3de696);this[_0x3d94('0x2f')](_0x453f62,_0x3de696,!0x1);}this[_0x3d94('0x2f')](_0x3de696,_0x2dd4,!0x0);}return this[_0x3d94('0xc0')]=_0x3de696,this[_0x3d94('0xa3')]=_0x2dd4,this['_getState']();}[_0x3d94('0xf7')](_0x566e58){this[_0x3d94('0x2a')](),this['_lastFrom']=_0x566e58[_0x3d94('0xb6')],this[_0x3d94('0xa3')]=_0x566e58[_0x3d94('0x22')];for(const _0x2f128a in _0x566e58[_0x3d94('0x7f')]){const _0x24d395=_0x566e58[_0x3d94('0x7f')][_0x2f128a][_0x3d94('0x91')],_0x41457b=_0xc09d56(_0x566e58[_0x3d94('0x7f')][_0x2f128a]['attributesBefore'])||{},_0x2838a2=this[_0x3d94('0xaa')](_0x566e58[_0x3d94('0x7f')][_0x2f128a]['deletions']);_0x2838a2['rootName']=_0x2f128a,_0x2838a2['_isAttached']=!_0x24d395||!_0x24d395['isAttached'],_0x2838a2[_0x3d94('0x34')]=()=>_0x2838a2['_isAttached'],this['_baseRoots'][_0x3d94('0xc7')](_0x2f128a,_0x2838a2),this['_baseRootsAttributes']['set'](_0x2f128a,_0x41457b),_0x24d395&&this[_0x3d94('0xf')]['set'](_0x2f128a,_0x24d395);const _0x3609ed=this[_0x3d94('0x8b')](_0x2838a2);this['_baseIdsRoots'][_0x3d94('0xc7')](_0x2f128a,_0x3609ed);for(const [_0x25898a,_0x42645e]of _0x2838a2['markers']){if(!_0x25898a[_0x3d94('0x7')](_0x3d94('0xb5')))continue;const _0x3aa844=_0x25898a[_0x3d94('0x93')](':')[0x2];for(const _0x2b19b9 of _0x42645e[_0x3d94('0x16')]({'singleCharacters':!0x0})){const _0x127baa=this['_getVidAttributeName'](_0x2b19b9),_0x5552bc=_0x3d94('0xf4')==_0x2b19b9[_0x3d94('0x66')]?_0x2b19b9[_0x3d94('0xfb')]['path']['slice'](0x0,-0x1):_0x2b19b9['previousPosition'][_0x3d94('0x99')],_0x11fd17=_0x3609ed['getNodeByPath'](_0x5552bc)['getAttribute'](_0x127baa);this['_touched'][_0x3d94('0xc7')](_0x11fd17,{'userId':_0x3aa844});}}}this[_0x3d94('0xd3')]=this[_0x3d94('0xc2')];const _0x3e4677=[...Array(this[_0x3d94('0xc2')])[_0x3d94('0xe9')]()]['slice'](0x1)[_0x3d94('0xd6')](_0x464490=>!this['_touched']['has'](_0x464490));let _0x11ffb0=0x0;const _0x32ab9c=new Map();for(const _0x447430 in _0x566e58['diffData']){const _0x4fbce0=_0x566e58['diffData'][_0x447430][_0x3d94('0x91')],_0x182a63=_0xc09d56(_0x566e58[_0x3d94('0x7f')][_0x447430]['attributesAfter'])||{},_0x366d68=this[_0x3d94('0xaa')](_0x566e58[_0x3d94('0x7f')][_0x447430][_0x3d94('0x101')]);_0x366d68[_0x3d94('0x70')]=_0x447430,_0x366d68['_isAttached']=!_0x4fbce0||_0x4fbce0[_0x3d94('0x34')],_0x366d68[_0x3d94('0x34')]=()=>_0x366d68[_0x3d94('0xaf')],this[_0x3d94('0xb7')][_0x3d94('0xc7')](_0x447430,_0x366d68),this[_0x3d94('0x9f')][_0x3d94('0xc7')](_0x447430,_0x182a63);const _0x50ec5b=this[_0x3d94('0x8b')](_0x366d68,Number[_0x3d94('0x98')]);this[_0x3d94('0xc5')][_0x3d94('0xc7')](_0x447430,_0x50ec5b),_0x32ab9c['set'](_0x447430,_0x366d68[_0x3d94('0x34')]()?_0x182a63:{});for(const [_0x5b9693,_0x2b570d]of _0x366d68[_0x3d94('0x8f')]){if(!_0x5b9693[_0x3d94('0x7')](_0x3d94('0xb5')))continue;const _0x5edf50=_0x5b9693['split'](':')[0x2];for(const _0x2485cb of _0x2b570d['getWalker']({'singleCharacters':!0x0})){const _0x96e46b=this[_0x3d94('0xa9')](_0x2485cb),_0x5c3395=this[_0x3d94('0xc2')]++,_0x236ee4='elementEnd'==_0x2485cb[_0x3d94('0x66')]?_0x2485cb['previousPosition'][_0x3d94('0x99')][_0x3d94('0xdb')](0x0,-0x1):_0x2485cb[_0x3d94('0xfb')]['path'];_0x50ec5b[_0x3d94('0x3e')](_0x236ee4)['_setAttribute'](_0x96e46b,_0x5c3395),this[_0x3d94('0xba')][_0x3d94('0xc7')](_0x5c3395,{'userId':_0x5edf50});}}for(const _0x3d8453 of this[_0x3d94('0xcb')][_0x3d94('0x61')]['createRangeIn'](_0x366d68)[_0x3d94('0x16')]({'singleCharacters':!0x0})){const _0x5d2777=this[_0x3d94('0xa9')](_0x3d8453),_0x57ef21=_0x3d94('0xf4')==_0x3d8453['type']?_0x3d8453['previousPosition']['path'][_0x3d94('0xdb')](0x0,-0x1):_0x3d8453[_0x3d94('0xfb')]['path'],_0x5c1a9f=_0x50ec5b[_0x3d94('0x3e')](_0x57ef21);_0x5c1a9f['getAttribute'](_0x5d2777)>0x0||_0x5c1a9f[_0x3d94('0x15')](_0x5d2777,_0x3e4677[_0x11ffb0++]);}for(const [_0x227928,_0x159d98]of _0x366d68[_0x3d94('0x8f')])_0x227928['startsWith'](_0x3d94('0xb5'))||this[_0x3d94('0x36')][_0x3d94('0xc7')](_0x227928,_0x159d98);}const _0x5beda1=G(_0x3d94('0x6e'));this[_0x3d94('0x1c')][_0x3d94('0xc7')](_0x3d94('0x6e'),_0x5beda1),this[_0x3d94('0x8')][_0x3d94('0xc7')](_0x3d94('0x6e'),this[_0x3d94('0x8b')](_0x5beda1,0x1));const _0x50f8e9=G('$graveyard');this[_0x3d94('0xb7')][_0x3d94('0xc7')](_0x3d94('0x6e'),_0x50f8e9),this[_0x3d94('0xc5')][_0x3d94('0xc7')](_0x3d94('0x6e'),this[_0x3d94('0x8b')](_0x50f8e9,0x1));const _0x32e086=Array['from'](this[_0x3d94('0xb7')])[_0x3d94('0xf9')](([_0x3008bc,_0x5b6f52])=>[_0x3008bc,q(_0x5b6f52)]);this['_saveMetaData'](this[_0x3d94('0xa3')],_0x32e086,this['_markers'],_0x32ab9c);}[_0x3d94('0xaa')](_0x12450d){const _0x280de2=JSON[_0x3d94('0xfd')](_0x12450d),_0x2305e4=this['editor']['editing']['view'][_0x3d94('0x51')],_0x3d051c=new _0x3d15dc(_0x2305e4,_0x280de2[_0x3d94('0xf9')](_0x44ae90=>J(_0x44ae90,this[_0x3d94('0xcb')])));return this['editor']['data'][_0x3d94('0x104')](_0x3d051c);}[_0x3d94('0x9d')](_0x1baaf6,_0x57d5aa,_0x2be3a0,_0x2538c9){const _0x130e28=new Map(_0x57d5aa),_0x32e4bd=new Map(_0xc09d56(_0x2538c9)),_0x5170de=new Map();for(const [_0x92921a,_0x34ce1c]of _0x2be3a0)_0x5170de[_0x3d94('0xc7')](_0x92921a,{'start':_0x34ce1c['start'][_0x3d94('0x84')](),'end':_0x34ce1c[_0x3d94('0x89')][_0x3d94('0x84')](),'rootName':_0x34ce1c[_0x3d94('0xad')][_0x3d94('0x70')]});this[_0x3d94('0xd')][_0x3d94('0xc7')](_0x1baaf6,{'roots':_0x130e28,'markers':_0x5170de,'rootsAttributes':_0x32e4bd});}['_removeMetaData'](_0x37b435){this['_savedMetaData'][_0x3d94('0x77')](_0x37b435);}[_0x3d94('0xe7')](){this[_0x3d94('0x2a')](),this[_0x3d94('0xc0')]=-0x1,this[_0x3d94('0xa3')]=-0x1,this[_0x3d94('0xd')]['clear'](),this[_0x3d94('0x54')](this[_0x3d94('0x73')]);}[_0x3d94('0x2a')](){this[_0x3d94('0xba')][_0x3d94('0xf8')](),this[_0x3d94('0xb2')]['clear'](),this['_touchedRoots'][_0x3d94('0xf8')](),this[_0x3d94('0xb7')][_0x3d94('0xf8')](),this['_diffRootsAttributes'][_0x3d94('0xf8')](),this[_0x3d94('0x1c')][_0x3d94('0xf8')](),this[_0x3d94('0x3a')][_0x3d94('0xf8')](),this['_idsRoots'][_0x3d94('0xf8')](),this[_0x3d94('0x8')]['clear'](),this[_0x3d94('0x36')][_0x3d94('0xf8')](),this[_0x3d94('0xc2')]=0x1,this[_0x3d94('0xd3')]=this['_revisionId'];}[_0x3d94('0x8b')](_0x56417e,_0xf34f4b=null){let _0x290303=null;_0x56417e['is'](_0x3d94('0x87'))||(_0x290303=new _0x231bc2(_0x56417e[_0x3d94('0x3d')],{'vid_start':null===_0xf34f4b?this[_0x3d94('0xc2')]++:_0xf34f4b++}));const _0x528798=[];for(const _0x778ed1 of _0x56417e[_0x3d94('0xee')]())if(_0x778ed1['is'](_0x3d94('0x62'))){_0x528798['push'](this[_0x3d94('0x8b')](_0x778ed1,_0xf34f4b));const _0x5db287=_0x528798[_0x528798[_0x3d94('0x25')]-0x1];null!==_0xf34f4b&&(_0xf34f4b=_0x5db287['is'](_0x3d94('0x62'),_0x3d94('0x2c'))?_0x5db287[_0x3d94('0x105')](_0x3d94('0xe0'))+0x1:_0x5db287['getAttribute'](_0x3d94('0x57'))+0x1);}else for(let _0x1b1020=0x0;_0x1b1020<_0x778ed1[_0x3d94('0x9c')];_0x1b1020++)_0x528798['push'](new _0x231bc2('$text',{'vid':null===_0xf34f4b?this[_0x3d94('0xc2')]++:_0xf34f4b++}));if(_0x56417e['is'](_0x3d94('0x87'))){const _0x57af21=G(_0x56417e[_0x3d94('0x70')]);return _0x57af21[_0x3d94('0x32')](0x0,_0x528798),_0x57af21;}return _0x290303[_0x3d94('0x15')](_0x3d94('0x57'),null===_0xf34f4b?this['_revisionId']++:_0xf34f4b++),_0x290303[_0x3d94('0x32')](0x0,_0x528798),_0x290303;}[_0x3d94('0x2f')](_0x1c07ed,_0xe10fb2,_0xd992a0){this['_reset']();const {roots:_0x1fc413,markers:_0xf344f9,rootsAttributes:_0x5bacd8}=this[_0x3d94('0xd')][_0x3d94('0xd7')](_0x1c07ed);this[_0x3d94('0x1c')]=new Map(_0x1fc413),this[_0x3d94('0x3a')]=new Map(_0xc09d56(_0x5bacd8));for(const [_0x19f279,_0x5677b9]of this[_0x3d94('0x1c')])if(_0x3d94('0x6e')!==_0x19f279&&(this[_0x3d94('0xb7')]['set'](_0x19f279,q(_0x5677b9)),this[_0x3d94('0x9f')]=new Map(_0xc09d56(_0x5bacd8)),_0xd992a0)){const _0x549f6b=this['_revisionId'];this[_0x3d94('0xc5')]['set'](_0x19f279,this[_0x3d94('0x8b')](_0x5677b9)),this[_0x3d94('0x8')][_0x3d94('0xc7')](_0x19f279,this[_0x3d94('0x8b')](_0x5677b9,_0x549f6b));}this[_0x3d94('0xd3')]=this[_0x3d94('0xc2')],this[_0x3d94('0xb7')]['set'](_0x3d94('0x6e'),q(this['_baseRoots'][_0x3d94('0xd7')](_0x3d94('0x6e')))),_0xd992a0&&this[_0x3d94('0xc5')]['set']('$graveyard',this[_0x3d94('0x8b')](this[_0x3d94('0x1c')][_0x3d94('0xd7')](_0x3d94('0x6e'))));for(const [_0x36b866,_0x5252b4]of _0xf344f9){const _0x4b5ad6=this['_baseRoots'][_0x3d94('0xd7')](_0x5252b4[_0x3d94('0x70')]),_0x1763a2=this['_diffRoots']['get'](_0x5252b4[_0x3d94('0x70')]),_0x260680=new _0x34e76e(this[_0x3d94('0x24')](_0x5252b4['start'],_0x4b5ad6),this[_0x3d94('0x24')](_0x5252b4[_0x3d94('0x89')],_0x4b5ad6)),_0x3152cb=this['_fixRange'](_0x260680,_0x1763a2);_0x4b5ad6[_0x3d94('0x8f')]['set'](_0x36b866,_0x260680),this[_0x3d94('0x36')][_0x3d94('0xc7')](_0x36b866,_0x3152cb);}this[_0x3d94('0x1')](_0x1c07ed,_0xe10fb2,_0xd992a0);}['_applyOperations'](_0x34d1e8,_0x196c75,_0x29f88d){for(const _0x17c20b of this[_0x3d94('0x73')][_0x3d94('0xfc')](_0x34d1e8,_0x196c75))this[_0x3d94('0x9b')](_0x17c20b,_0x29f88d);for(const _0x3c52d5 of this[_0x3d94('0xb7')]['values']())_0x3c52d5['markers'][_0x3d94('0xf8')]();for(const [_0x3e76e9,_0x64a2da]of this['_markers']){this[_0x3d94('0xb7')][_0x3d94('0xd7')](_0x64a2da[_0x3d94('0xad')]['rootName'])[_0x3d94('0x8f')][_0x3d94('0xc7')](_0x3e76e9,_0x64a2da['clone']());}const _0x351d84=new Map(),_0x477882=new Map();for(const [_0x1461c0,_0x3e1bf6]of this[_0x3d94('0xb7')])_0x351d84[_0x3d94('0xc7')](_0x1461c0,q(_0x3e1bf6)),_0x477882['set'](_0x1461c0,this['_diffRootsAttributes'][_0x3d94('0xd7')](_0x1461c0));this[_0x3d94('0x9d')](_0x196c75,_0x351d84,this[_0x3d94('0x36')],_0x477882);}['_getPreviousFrom'](_0x1637d8){const _0x9e03aa=Array['from'](this[_0x3d94('0xd')][_0x3d94('0xe9')]());_0x9e03aa[_0x3d94('0xd8')]((_0x34cbf0,_0x3f4f0d)=>_0x34cbf0-_0x3f4f0d),_0x9e03aa['reverse']();for(const _0x1bf9a3 of _0x9e03aa)if(_0x1bf9a3<_0x1637d8)return _0x1bf9a3;return Number[_0x3d94('0x98')];}['_copyMarkers'](_0x27080b,_0x4cd414){const _0xddf22b=Array[_0x3d94('0xe1')](_0x4cd414[_0x3d94('0x8f')])[_0x3d94('0xf9')](([_0xf7f9d2,_0x2ad43f])=>[_0xf7f9d2,this[_0x3d94('0x95')](_0x2ad43f,_0x27080b)]);_0x27080b['markers']=new Map(_0xddf22b);}[_0x3d94('0x5a')](_0x372b11){for(const _0x2d5279 of this[_0x3d94('0x36')][_0x3d94('0x106')]()){const _0x481a33=_0x2d5279['getTransformedByOperation'](_0x372b11),_0x53a14c=_0x34e76e[_0x3d94('0x80')](_0x481a33);_0x2d5279['start']=_0x53a14c[_0x3d94('0x19')],_0x2d5279[_0x3d94('0x89')]=_0x53a14c[_0x3d94('0x89')];}}['_handleOperation'](_0x232fae,_0x359f55){if(_0x3d94('0x46')==_0x232fae['type']||_0x3d94('0x14')==_0x232fae['type'])return void this[_0x3d94('0x33')](_0x232fae,_0x359f55);if(_0x3d94('0x9a')==_0x232fae[_0x3d94('0x66')]){const _0x1acdb9=_0x232fae[_0x3d94('0xff')][_0x3d94('0xad')]['rootName'];this[_0x3d94('0xb7')][_0x3d94('0x11')](_0x1acdb9)||(this[_0x3d94('0xb7')]['set'](_0x1acdb9,G(_0x1acdb9,!0x0)),this[_0x3d94('0x9f')][_0x3d94('0xc7')](_0x1acdb9,{}),_0x359f55&&this[_0x3d94('0xc5')][_0x3d94('0xc7')](_0x1acdb9,G(_0x1acdb9,!0x0)));}else{if(_0x3d94('0x5c')==_0x232fae['type']||_0x3d94('0x109')==_0x232fae[_0x3d94('0x66')]||_0x3d94('0x27')==_0x232fae[_0x3d94('0x66')])return void this[_0x3d94('0x79')](_0x232fae);}const _0x1344b7=this[_0x3d94('0x85')](_0x232fae,this['_diffRoots']);if(_0x3d94('0xd0')!==_0x232fae[_0x3d94('0x66')]&&(_0x1344b7[_0x3d94('0x96')](),this[_0x3d94('0x5a')](_0x1344b7)),_0x359f55)switch(_0x1344b7[_0x3d94('0x66')]){case _0x3d94('0x9a'):this[_0x3d94('0xcf')](_0x232fae);break;case _0x3d94('0x3c'):case _0x3d94('0x4a'):case _0x3d94('0xa'):this[_0x3d94('0x100')](_0x232fae);break;case _0x3d94('0xa0'):this[_0x3d94('0xa8')](_0x232fae);break;case'split':this['_handleSplitOperation'](_0x232fae);break;case _0x3d94('0xd0'):this['_handleMarkerOperation'](_0x232fae);}}[_0x3d94('0x85')](_0x32edbc,_0x4e072b){const _0x173df7=_0x32edbc[_0x3d94('0x84')]();return _0x173df7[_0x3d94('0x92')]=_0x32edbc[_0x3d94('0x92')],this[_0x3d94('0x94')](_0x173df7,_0x4e072b),_0x173df7;}['_getBaseVids'](_0x187589){return _0x187589[_0x3d94('0xf9')](_0x4e25af=>{const _0x3f6a7c=this[_0x3d94('0xa9')](_0x4e25af);return Number(_0x4e25af[_0x3d94('0xa1')][_0x3d94('0x105')](_0x3f6a7c));});}['_generateTape'](_0x132d9d,_0x2e5a85){if(_0x132d9d['is'](_0x3d94('0x62'),'$text'))_0x2e5a85[_0x3d94('0x23')]({'item':_0x132d9d,'type':_0x3d94('0x38')});else{_0x132d9d['is'](_0x3d94('0x62'))&&_0x2e5a85['push']({'item':_0x132d9d,'type':_0x3d94('0x7c')});for(const _0x5699a2 of _0x132d9d['getChildren']())this['_generateTape'](_0x5699a2,_0x2e5a85);_0x132d9d['is']('element')&&_0x2e5a85[_0x3d94('0x23')]({'item':_0x132d9d,'type':_0x3d94('0xf4')});}return _0x2e5a85;}[_0x3d94('0xb4')](){const _0x24eb71=new Map(this[_0x3d94('0xba')]),_0x3913fa=new Map(_0x24eb71),_0x6d51b8=new Map(),_0x5af196={'insertions':{},'deletions':{}},_0x4e6682={'insertions':{},'deletions':{}},_0x4d94fb=new Map(),_0x2f0527=new Set([...this['_baseRoots'][_0x3d94('0xe9')](),...this[_0x3d94('0xb7')]['keys']()]);_0x2f0527[_0x3d94('0x77')](_0x3d94('0x6e'));for(const _0x1609a1 of _0x2f0527){const _0x4d0593=this[_0x3d94('0xb7')]['get'](_0x1609a1)||G(_0x1609a1,!0x1),_0x168a16=this[_0x3d94('0x1c')][_0x3d94('0xd7')](_0x1609a1)||G(_0x1609a1,!0x1);_0x4d0593[_0x3d94('0x34')]()||_0x168a16[_0x3d94('0x34')]()?(_0x5af196[_0x3d94('0x101')][_0x1609a1]=q(_0x4d0593),_0x5af196[_0x3d94('0xb1')][_0x1609a1]=q(_0x168a16),this[_0x3d94('0x5d')](_0x5af196[_0x3d94('0xb1')][_0x1609a1],_0x168a16),this[_0x3d94('0x5d')](_0x5af196[_0x3d94('0x101')][_0x1609a1],_0x4d0593),_0x4e6682['insertions'][_0x1609a1]=this[_0x3d94('0x3b')](this[_0x3d94('0xc5')][_0x3d94('0xd7')](_0x1609a1),[]),_0x4e6682[_0x3d94('0xb1')][_0x1609a1]=this[_0x3d94('0x3b')](this['_baseIdsRoots'][_0x3d94('0xd7')](_0x1609a1)||G(_0x1609a1,!0x1),[])):_0x2f0527[_0x3d94('0x77')](_0x1609a1);}for(const _0x3046a8 of _0x2f0527){const _0x523d08=_0x4e6682[_0x3d94('0x101')][_0x3046a8];for(const _0x47824d of _0x523d08){const _0x4e9af0=this[_0x3d94('0xa9')](_0x47824d),_0x5f0930=_0x47824d['item'][_0x3d94('0x105')](_0x4e9af0);_0x3913fa[_0x3d94('0x77')](_0x5f0930),_0x5f0930>=this['_startingRevisionId']&&_0x6d51b8[_0x3d94('0xc7')](_0x5f0930,_0x24eb71[_0x3d94('0xd7')](_0x5f0930));}}for(const _0x46fb00 of _0x2f0527){const _0x2c8dc5=_0x4e6682['insertions'][_0x46fb00],_0xd59339=this[_0x3d94('0xdc')](_0x4e6682[_0x3d94('0xb1')][_0x46fb00]);let _0x3bf3ad=0x0;for(const _0x16f3e4 of _0x2c8dc5){const _0x48a254=this['_getVidAttributeName'](_0x16f3e4),_0x5c406b=_0x16f3e4[_0x3d94('0xa1')][_0x3d94('0x105')](_0x48a254);if(!_0x6d51b8[_0x3d94('0x11')](_0x5c406b)&&!_0x4d94fb['has'](_0x5c406b)){if(_0x3913fa[_0x3d94('0x11')](_0x5c406b))_0x3bf3ad++;else{if(_0x5c406b!=_0xd59339[_0x3bf3ad]){const _0x4c2c95=_0x24eb71[_0x3d94('0xd7')](_0x5c406b)||_0x24eb71[_0x3d94('0xd7')](_0xd59339[_0x3bf3ad]);for(;_0x5c406b!=_0xd59339[_0x3bf3ad];)_0x3913fa[_0x3d94('0x11')](_0xd59339[_0x3bf3ad])||(_0x4d94fb['set'](_0xd59339[_0x3bf3ad],_0x4c2c95),_0x24eb71[_0x3d94('0xc7')](_0xd59339[_0x3bf3ad],_0x4c2c95)),_0x3bf3ad++;}_0x3bf3ad++;}}}}for(const _0x39e52f of _0x2f0527){const _0x277148=_0x4e6682[_0x3d94('0x101')][_0x39e52f];for(const _0xacb48b of _0x277148){const _0x1b3ca6=this[_0x3d94('0xa9')](_0xacb48b),_0x3ba3dd=_0xacb48b[_0x3d94('0xa1')][_0x3d94('0x105')](_0x1b3ca6);if(_0x4d94fb['has'](_0x3ba3dd)){const _0x37e02e=_0x4d94fb[_0x3d94('0xd7')](_0x3ba3dd);_0x3913fa[_0x3d94('0x11')](_0x3ba3dd)||_0x3913fa['set'](_0x3ba3dd,{..._0x37e02e}),_0x6d51b8['set'](_0x3ba3dd,{..._0x37e02e});}}}for(const _0x2bcfb7 of _0x3913fa[_0x3d94('0xe9')]())_0x2bcfb7>=this[_0x3d94('0xd3')]&&_0x3913fa[_0x3d94('0x77')](_0x2bcfb7);const _0x3a1254=new Map();for(const _0x56c0b9 of _0x2f0527){let _0x345896=_0x4e6682[_0x3d94('0x101')][_0x56c0b9];for(const _0x324c41 of _0x345896)if(_0x324c41[_0x3d94('0xa1')]['is'](_0x3d94('0x62'),_0x3d94('0xf6'))){const _0x425422=this[_0x3d94('0xa9')](_0x324c41),_0x1cf0d0=_0x324c41[_0x3d94('0xa1')][_0x3d94('0x105')](_0x425422);if(_0x6d51b8[_0x3d94('0x11')](_0x1cf0d0)){const _0x59c585=_0x324c41[_0x3d94('0xa1')]['parent'][_0x3d94('0x0')][_0x3d94('0x105')](_0x3d94('0x86')),_0x2a487e=_0x3a1254[_0x3d94('0xd7')](_0x59c585)||new Set();_0x2a487e['add'](_0x6d51b8[_0x3d94('0xd7')](_0x1cf0d0)[_0x3d94('0x6')]),_0x3a1254[_0x3d94('0xc7')](_0x59c585,_0x2a487e);}}_0x345896=_0x4e6682[_0x3d94('0xb1')][_0x56c0b9];for(const _0x451926 of _0x345896)if(_0x451926['item']['is'](_0x3d94('0x62'),_0x3d94('0xf6'))){const _0x9895bb=this[_0x3d94('0xa9')](_0x451926),_0x38fb7d=_0x451926[_0x3d94('0xa1')]['getAttribute'](_0x9895bb);if(_0x3913fa[_0x3d94('0x11')](_0x38fb7d)){const _0x40d91e=_0x451926['item'][_0x3d94('0x0')][_0x3d94('0x0')][_0x3d94('0x105')](_0x3d94('0x86')),_0x4dcc6b=_0x3a1254[_0x3d94('0xd7')](_0x40d91e)||new Set();_0x4dcc6b[_0x3d94('0xc3')](_0x3913fa['get'](_0x38fb7d)['userId']),_0x3a1254['set'](_0x40d91e,_0x4dcc6b);}}for(const _0x3e5e25 of _0x3a1254[_0x3d94('0xe9')]())(_0x6d51b8[_0x3d94('0x11')](_0x3e5e25)||_0x3913fa[_0x3d94('0x11')](_0x3e5e25))&&_0x3a1254[_0x3d94('0x77')](_0x3e5e25);}for(const _0x201399 of _0x2f0527){const _0x23d2a2=_0x4e6682['insertions'][_0x201399];let _0x78a94f=null,_0x4d6f3b=null;for(const _0x4ffa97 of _0x23d2a2){const _0x9616d0=this[_0x3d94('0xa9')](_0x4ffa97),_0x3616dc=_0x4ffa97['item'][_0x3d94('0x105')](_0x9616d0),_0x5cd35f=_0x3a1254[_0x3d94('0xd7')](_0x3616dc);_0x5cd35f&&_0x3d94('0x7c')==_0x4ffa97[_0x3d94('0x66')]&&(_0x78a94f=Array[_0x3d94('0xe1')](_0x5cd35f)[0x0],_0x4d6f3b=_0x4ffa97[_0x3d94('0xa1')][_0x3d94('0x105')](_0x3d94('0x57'))),_0x78a94f&&(_0x3913fa[_0x3d94('0xc7')](_0x3616dc,{'userId':_0x78a94f}),_0x6d51b8['set'](_0x3616dc,{'userId':_0x78a94f})),_0x3616dc==_0x4d6f3b&&(_0x78a94f=null,_0x4d6f3b=null);}}const _0x1caf82={},_0x126f3e=new Set();for(const _0x3b2de5 of _0x2f0527){const _0x32aa84=_0x5af196[_0x3d94('0xb1')][_0x3b2de5],_0x27d6ce=_0x5af196[_0x3d94('0x101')][_0x3b2de5];for(const {userId:_0x377c92}of this[_0x3d94('0xb2')][_0x3d94('0x106')]())null!==_0x377c92&&_0x126f3e[_0x3d94('0xc3')](_0x377c92);for(const {userId:_0x4ad6f4}of this['_touchedRoots'][_0x3d94('0x106')]())null!==_0x4ad6f4&&_0x126f3e[_0x3d94('0xc3')](_0x4ad6f4);this['_markChanges'](_0x27d6ce,_0x4e6682[_0x3d94('0x101')][_0x3b2de5],_0x6d51b8,_0x3d94('0x5'),_0x126f3e),this['_markChanges'](_0x32aa84,_0x4e6682[_0x3d94('0xb1')][_0x3b2de5],_0x3913fa,_0x3d94('0x10'),_0x126f3e),_0x1caf82[_0x3b2de5]={'insertions':this[_0x3d94('0x8d')](_0x27d6ce),'deletions':this[_0x3d94('0x8d')](_0x32aa84),'attachChange':this[_0x3d94('0xf')][_0x3d94('0xd7')](_0x3b2de5)||null,'attributesBefore':_0xc09d56(this[_0x3d94('0x3a')][_0x3d94('0xd7')](_0x3b2de5))||{},'attributesAfter':_0xc09d56(this[_0x3d94('0x9f')][_0x3d94('0xd7')](_0x3b2de5))};}return{'diffData':_0x1caf82,'authorsIds':Array[_0x3d94('0xe1')](_0x126f3e)};}[_0x3d94('0xab')](_0x505952){for(const [,_0x41f1c6]of _0x505952[_0x3d94('0x8f')]){const _0x4fd7d2=_0x41f1c6[_0x3d94('0x19')][_0x3d94('0x20')]()['filter'](_0x355daa=>'tableCell'==_0x355daa[_0x3d94('0x3d')]);for(const _0x263c18 of _0x4fd7d2)0x1==_0x263c18['childCount']&&_0x263c18[_0x3d94('0x64')](0x0)['is'](_0x3d94('0x62'),_0x3d94('0xe2'))&&_0x263c18[_0x3d94('0x64')](0x0)[_0x3d94('0x15')](_0x3d94('0x48'),!0x0);}}['_prepareViewToSave'](_0xf6cb26){this[_0x3d94('0xab')](_0xf6cb26);const _0x37b9c0=this[_0x3d94('0xcb')][_0x3d94('0x1a')][_0x3d94('0xc')](_0xf6cb26,{}),_0x28cf95=Array[_0x3d94('0xe1')](_0x37b9c0[_0x3d94('0xee')]())[_0x3d94('0xf9')](_0x1152f8=>this['_getViewJson'](_0x1152f8));return JSON[_0x3d94('0xc9')](_0x28cf95);}[_0x3d94('0xa5')](_0x4f635c){if(_0x4f635c['is'](_0x3d94('0x2c')))return _0x4f635c[_0x3d94('0x1a')];{const _0x19b666=_0x4f635c;return{'type':Object[_0x3d94('0xe9')](B)[_0x3d94('0x49')](_0x4b44be=>_0x4f635c instanceof B[_0x4b44be]),'name':_0x19b666[_0x3d94('0x3d')],'attributes':Array[_0x3d94('0xe1')](_0x19b666[_0x3d94('0x39')]()),'children':Array[_0x3d94('0xe1')](_0x19b666['getChildren']())[_0x3d94('0xf9')](_0xcf7c2f=>this['_getViewJson'](_0xcf7c2f))};}}['_markChanges'](_0xb85c9e,_0x33e053,_0x9ec9f3,_0x39de9b,_0x4bb456){let _0x35e3b2=null,_0x21e94f=null,_0x5eb11c=0x0;const _0x5445f8=this[_0x3d94('0xcb')][_0x3d94('0x61')];for(let _0x12cfba=0x0;_0x12cfba<_0x33e053[_0x3d94('0x25')];_0x12cfba++){const _0x33b20a=this[_0x3d94('0xa9')](_0x33e053[_0x12cfba]),_0x381124=_0x33e053[_0x12cfba][_0x3d94('0xa1')][_0x3d94('0x105')](_0x33b20a),_0x129e9e=_0x9ec9f3['get'](_0x381124),_0x3c9800=_0x12cfba==_0x33e053[_0x3d94('0x25')]-0x1;(!_0x35e3b2&&_0x129e9e&&(_0x35e3b2=_0x129e9e,_0x21e94f=_0x33e053[_0x12cfba]),_0x35e3b2&&(!_0x129e9e||_0x129e9e[_0x3d94('0x6')]!=_0x35e3b2[_0x3d94('0x6')]))&&(_0x25a8b3(_0x129e9e,L(_0x21e94f,_0xb85c9e,_0x5445f8),L(_0x33e053[_0x12cfba],_0xb85c9e,_0x5445f8)),_0x35e3b2=_0x129e9e||null,_0x21e94f=_0x129e9e?_0x33e053[_0x12cfba]:null),_0x35e3b2&&_0x3c9800&&_0x25a8b3(_0x129e9e,L(_0x21e94f,_0xb85c9e,_0x5445f8),W(_0x33e053[_0x12cfba],_0xb85c9e,_0x5445f8));}function _0x25a8b3(_0x5bca73,_0x32668b,_0x6b3d3d){const _0xb15aa=_0x35e3b2[_0x3d94('0x6')],_0x2ecb11=_0x3d94('0xb5')+_0x39de9b+':'+_0xb15aa+':'+_0x5eb11c++,_0x1f1e2b=_0x5445f8[_0x3d94('0x76')](_0x32668b,_0x6b3d3d);_0xb85c9e[_0x3d94('0x8f')][_0x3d94('0xc7')](_0x2ecb11,_0x1f1e2b),null!==_0xb15aa&&_0x4bb456['add'](_0xb15aa);}}[_0x3d94('0xa9')](_0x1e8767){switch(_0x1e8767[_0x3d94('0x66')]){case _0x3d94('0x7c'):return _0x3d94('0x86');case _0x3d94('0xf4'):return _0x3d94('0x57');default:return _0x3d94('0xe0');}}[_0x3d94('0x94')](_0x2c5151,_0x2c3c1b){_0x2c5151[_0x3d94('0x63')]=null;for(const _0x10fb79 in _0x2c5151){const _0x2b0e62=_0x2c5151[_0x10fb79];if(_0x2b0e62 instanceof _0xbe6921){const _0x150c0d=_0x2c3c1b['get'](_0x2b0e62[_0x3d94('0xad')]['rootName']);_0x2c5151[_0x10fb79]=this[_0x3d94('0x24')](_0x2b0e62,_0x150c0d);}if(_0x2b0e62 instanceof _0x34e76e){const _0x4acd82=_0x2c3c1b[_0x3d94('0xd7')](_0x2b0e62[_0x3d94('0xad')][_0x3d94('0x70')]);_0x2c5151[_0x10fb79]=this[_0x3d94('0x95')](_0x2b0e62,_0x4acd82);}'root'===_0x10fb79&&(_0x2c5151['root']=_0x2c3c1b[_0x3d94('0xd7')](_0x2c5151[_0x3d94('0xad')][_0x3d94('0x70')]));}}[_0x3d94('0x95')](_0x56a061,_0x317e2b){return this[_0x3d94('0xcb')]['model'][_0x3d94('0x76')](this[_0x3d94('0x24')](_0x56a061[_0x3d94('0x19')],_0x317e2b),this[_0x3d94('0x24')](_0x56a061[_0x3d94('0x89')],_0x317e2b));}['_fixPosition'](_0x49f28e,_0x47974b){return this['editor'][_0x3d94('0x61')]['createPositionFromPath'](_0x47974b,_0x49f28e[_0x3d94('0x99')],_0x49f28e[_0x3d94('0xe6')]);}[_0x3d94('0xcf')](_0x37f14f){const _0x31665c=this[_0x3d94('0xc5')][_0x3d94('0xd7')](_0x37f14f[_0x3d94('0xff')][_0x3d94('0xad')]['rootName']),_0x1e99d4=this[_0x3d94('0x24')](_0x37f14f['position'],_0x31665c),_0x47fe14=null===_0x37f14f[_0x3d94('0x92')]?null:_0x37f14f[_0x3d94('0x92')]||this[_0x3d94('0xcb')]['plugins']['get'](_0x3d94('0xb'))['me']['id'],_0x33a66c=_0x1e99d4[_0x3d94('0x0')],_0x43b5f2=this[_0x3d94('0xc2')],_0x3b5aea=[];for(const _0x297ef4 of _0x37f14f[_0x3d94('0x58')])if(_0x297ef4['is'](_0x3d94('0x62')))_0x3b5aea[_0x3d94('0x23')](this['_makeIdsRoot'](_0x297ef4));else for(let _0x201f05=0x0;_0x201f05<_0x297ef4['offsetSize'];_0x201f05++)_0x3b5aea[_0x3d94('0x23')](new _0x231bc2(_0x3d94('0x2c'),{'vid':this[_0x3d94('0xc2')]++}));const _0x3aecb7=this[_0x3d94('0xc2')];for(let _0x55b2dd=_0x43b5f2;_0x55b2dd<_0x3aecb7;_0x55b2dd++)this[_0x3d94('0xba')][_0x3d94('0xc7')](_0x55b2dd,{'userId':_0x47fe14});_0x33a66c[_0x3d94('0x32')](_0x1e99d4[_0x3d94('0x47')],_0x3b5aea);}[_0x3d94('0x100')](_0x63e300){(_0x63e300=this[_0x3d94('0x85')](_0x63e300,this[_0x3d94('0xc5')]))[_0x3d94('0x96')]();const _0x4b993c=null===_0x63e300[_0x3d94('0x92')]?null:_0x63e300[_0x3d94('0x92')]||this['editor'][_0x3d94('0x4d')][_0x3d94('0xd7')](_0x3d94('0xb'))['me']['id'],_0x25921f=_0x63e300[_0x3d94('0x2e')](),_0x3789cc=_0x25921f[_0x3d94('0x0')],_0x3085f8=_0x25921f[_0x3d94('0x47')];!function _0x2794dc(_0x34bd8b,_0x2433cc,_0x408021,_0x572a8b){for(let _0x2a1676=_0x408021;_0x2a1676<_0x572a8b;_0x2a1676++){const _0xfd3a27=_0x2433cc[_0x3d94('0x64')](_0x2a1676);_0xfd3a27['is'](_0x3d94('0x62'),_0x3d94('0x2c'))?_0x34bd8b[_0x3d94('0xc7')](_0xfd3a27['getAttribute'](_0x3d94('0xe0')),{'userId':_0x4b993c}):(_0x34bd8b['set'](_0xfd3a27[_0x3d94('0x105')]('vid_start'),{'userId':_0x4b993c}),_0x2794dc(_0x34bd8b,_0xfd3a27,0x0,_0xfd3a27[_0x3d94('0x7b')]),_0x34bd8b[_0x3d94('0xc7')](_0xfd3a27[_0x3d94('0x105')](_0x3d94('0x57')),{'userId':_0x4b993c}));}}(this[_0x3d94('0xba')],_0x3789cc,_0x3085f8,_0x3085f8+_0x63e300['howMany']);}[_0x3d94('0xa8')](_0x597ce5){const _0x181291=null===(_0x597ce5=this[_0x3d94('0x85')](_0x597ce5,this[_0x3d94('0xc5')]))['_authorId']?null:_0x597ce5[_0x3d94('0x92')]||this[_0x3d94('0xcb')][_0x3d94('0x4d')]['get']('Users')['me']['id'],_0x721005=_0x597ce5[_0x3d94('0xea')][_0x3d94('0x0')],_0x284c43=_0x597ce5[_0x3d94('0xeb')][_0x3d94('0x0')],_0x64215f=_0x721005['getAttribute'](_0x3d94('0x57')),_0x51e038=_0x284c43['getAttribute'](_0x3d94('0x86'));_0x721005[_0x3d94('0x15')](_0x3d94('0x57'),_0x284c43['getAttribute'](_0x3d94('0x57'))),_0x284c43[_0x3d94('0x15')]('vid_end',_0x64215f),this[_0x3d94('0xba')][_0x3d94('0xc7')](_0x51e038,{'userId':_0x181291}),this['_touched'][_0x3d94('0xc7')](_0x64215f,{'userId':_0x181291}),_0x597ce5[_0x3d94('0x96')]();}[_0x3d94('0x17')](_0x45e0da){const _0x2e4788=null===(_0x45e0da=this['_cloneOperation'](_0x45e0da,this[_0x3d94('0xc5')]))['_authorId']?null:_0x45e0da[_0x3d94('0x92')]||this[_0x3d94('0xcb')][_0x3d94('0x4d')][_0x3d94('0xd7')](_0x3d94('0xb'))['me']['id'],_0x3c78fb=_0x45e0da[_0x3d94('0xdd')],_0x3f0a2b=_0x45e0da['splitPosition'][_0x3d94('0x0')];_0x45e0da[_0x3d94('0x96')]();const _0x43da5a=_0x3f0a2b['getAttribute'](_0x3d94('0x57')),_0x12b43c=_0x45e0da['insertionPosition'][_0x3d94('0xf2')];if(_0x3c78fb){const _0x40c331=_0x12b43c['getAttribute'](_0x3d94('0x57')),_0x11a9ab=_0x3f0a2b[_0x3d94('0x105')](_0x3d94('0x57'));_0x3f0a2b['_setAttribute'](_0x3d94('0x57'),_0x40c331),_0x12b43c['_setAttribute'](_0x3d94('0x57'),_0x11a9ab),this[_0x3d94('0xba')]['set'](_0x3f0a2b['getAttribute']('vid_end'),{'userId':_0x2e4788}),this[_0x3d94('0xba')][_0x3d94('0xc7')](_0x12b43c[_0x3d94('0x105')](_0x3d94('0x86')),{'userId':_0x2e4788});}else{const _0x2cc76b=this['_revisionId']++,_0x153e2f=this[_0x3d94('0xc2')]++;_0x3f0a2b[_0x3d94('0x15')](_0x3d94('0x57'),_0x2cc76b),_0x12b43c['_setAttribute'](_0x3d94('0x86'),_0x153e2f),_0x12b43c[_0x3d94('0x15')](_0x3d94('0x57'),_0x43da5a),this[_0x3d94('0xba')]['set'](_0x2cc76b,{'userId':_0x2e4788}),this[_0x3d94('0xba')][_0x3d94('0xc7')](_0x153e2f,{'userId':_0x2e4788});}}['_handleMarkerOperation'](_0xa0eb25){if(!_0xa0eb25[_0x3d94('0x6a')])return;const _0xf7a2d4=(_0xa0eb25=this['_cloneOperation'](_0xa0eb25,this[_0x3d94('0xb7')]))['oldRange']?_0xa0eb25[_0x3d94('0x59')][_0x3d94('0xad')]:null,_0x29cedb=_0xa0eb25[_0x3d94('0xa7')]?_0xa0eb25[_0x3d94('0xa7')][_0x3d94('0xad')]:null;_0xf7a2d4&&this[_0x3d94('0x36')]['delete'](_0xa0eb25['name']),_0x29cedb&&this[_0x3d94('0x36')][_0x3d94('0xc7')](_0xa0eb25['name'],_0xa0eb25[_0x3d94('0xa7')][_0x3d94('0x84')]());const _0x4295fc=null===_0xa0eb25[_0x3d94('0x92')]?null:_0xa0eb25['_authorId']||this[_0x3d94('0xcb')][_0x3d94('0x4d')][_0x3d94('0xd7')]('Users')['me']['id'],_0x4485d8=_0xa0eb25[_0x3d94('0x3d')];if(!this[_0x3d94('0xb2')][_0x3d94('0x11')](_0x4485d8))return void this['_touchedMarkers']['set'](_0x4485d8,{'range':_0xa0eb25[_0x3d94('0x59')],'userId':_0x4295fc});const _0x4c53a5=this['_touchedMarkers'][_0x3d94('0xd7')](_0x4485d8),_0x1a3cbb=_0x4c53a5['range'],_0x35a30b=_0xa0eb25[_0x3d94('0xa7')];null==_0x1a3cbb&&null==_0x35a30b||_0x1a3cbb&&_0x35a30b&&_0x1a3cbb[_0x3d94('0xf5')](_0x35a30b)?this[_0x3d94('0xb2')][_0x3d94('0x77')](_0xa0eb25[_0x3d94('0x3d')]):_0x4c53a5['userId']=_0x4295fc;}[_0x3d94('0x33')](_0xd920b5,_0x6efec7){this[_0x3d94('0xb7')][_0x3d94('0x11')](_0xd920b5[_0x3d94('0x70')])?this[_0x3d94('0xb7')][_0x3d94('0xd7')](_0xd920b5[_0x3d94('0x70')])[_0x3d94('0xaf')]=_0xd920b5[_0x3d94('0x44')]:(this[_0x3d94('0xb7')][_0x3d94('0xc7')](_0xd920b5['rootName'],G(_0xd920b5[_0x3d94('0x70')],!0x0)),this[_0x3d94('0x9f')][_0x3d94('0xc7')](_0xd920b5['rootName'],{}),_0x6efec7&&this['_idsRoots'][_0x3d94('0xc7')](_0xd920b5['rootName'],G(_0xd920b5['rootName'],!0x0)));const _0x51f9cf=null===_0xd920b5[_0x3d94('0x92')]?null:_0xd920b5[_0x3d94('0x92')]||this[_0x3d94('0xcb')][_0x3d94('0x4d')][_0x3d94('0xd7')]('Users')['me']['id'],_0x47173a=this[_0x3d94('0xf')][_0x3d94('0xd7')](_0xd920b5[_0x3d94('0x70')]);_0x47173a&&_0x47173a[_0x3d94('0x6')]===_0x51f9cf?this[_0x3d94('0xf')][_0x3d94('0x77')](_0xd920b5['rootName']):this[_0x3d94('0xf')][_0x3d94('0xc7')](_0xd920b5[_0x3d94('0x70')],{'userId':_0x51f9cf,'isAttached':_0xd920b5[_0x3d94('0x44')]});}[_0x3d94('0x79')](_0x2c4f68){const _0x5b6a0f=this[_0x3d94('0x9f')][_0x3d94('0xd7')](_0x2c4f68[_0x3d94('0xad')]['rootName']);null===_0x2c4f68['newValue']?delete _0x5b6a0f[_0x2c4f68['key']]:_0x5b6a0f[_0x2c4f68[_0x3d94('0xed')]]=_0x2c4f68[_0x3d94('0x74')];}}function q(_0x5c1536){const _0x6292e5=G(_0x5c1536[_0x3d94('0x70')],_0x5c1536[_0x3d94('0x34')]());for(const _0x4dd44c of _0x5c1536[_0x3d94('0xee')]()){const _0x1ffb56=_0x4dd44c[_0x3d94('0x75')](!0x0);_0x6292e5[_0x3d94('0x6b')](_0x1ffb56);}return _0x6292e5;}function G(_0xa82fe8,_0x3be924=!0x0){const _0x2c1fb1=new _0x2c471c();return _0x2c1fb1[_0x3d94('0x70')]=_0xa82fe8,_0x2c1fb1[_0x3d94('0xaf')]=_0x3be924,_0x2c1fb1[_0x3d94('0x34')]=()=>_0x2c1fb1[_0x3d94('0xaf')],_0x2c1fb1;}function L(_0x412b4f,_0x2ef817,_0x1829ee){const _0x48d12d=_0x3d94('0xf4')==_0x412b4f[_0x3d94('0x66')]?_0x1829ee[_0x3d94('0xa2')](_0x412b4f[_0x3d94('0xa1')],'end'):_0x1829ee[_0x3d94('0xce')](_0x412b4f[_0x3d94('0xa1')]);return _0x1829ee['createPositionFromPath'](_0x2ef817,_0x48d12d[_0x3d94('0x99')],_0x48d12d['stickiness']);}function W(_0x4cd7f4,_0x582ce8,_0x35b11a){const _0x53ba19='elementStart'==_0x4cd7f4[_0x3d94('0x66')]?_0x35b11a[_0x3d94('0xa2')](_0x4cd7f4[_0x3d94('0xa1')],0x0):_0x35b11a[_0x3d94('0x4e')](_0x4cd7f4['item']);return _0x35b11a[_0x3d94('0x2')](_0x582ce8,_0x53ba19['path'],_0x53ba19[_0x3d94('0xe6')]);}
|