@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20230830.0 → 0.0.0-nightly-20230901.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/lang/translations/af.po +1 -0
- package/lang/translations/ar.po +1 -0
- package/lang/translations/az.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/bs.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de-ch.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en-gb.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es-co.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fa.po +1 -0
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/jv.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/ku.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/ne.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +1 -0
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sr-latn.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tk.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/tt.po +1 -0
- package/lang/translations/ug.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/ur.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- 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 _0x2a5f=['Initial\x20revision','bind','values','upcast','filter','find','elementEnd','isReady','isAttached','_addPendingAction','has','reverse','define','createRevision','editor','revision-start','authors','_source','getRevisions','createPositionFromPath','Empty\x20document','newRange','_idsRoots','toVersion','addRevisionData','view','data','_touchedRoots','getRevision','editing','isAdd','elementStart','processor','_bufferedUpdates','length','requires','_makeModelFromViewString','vid_start','locale','push','_fixPosition','parent','conversion','keepParagraph','Users','_handleInsertOperation','insertion','stickiness','newValue','fromEntries','creatorId','_diffRootsAttributes','version','creator','childCount','remove','_processRootBeforeSave','then','oldRange','roots','getWalker','trim','config','fromVersion','sendBufferedUpdates','_baseIdsRoots','keys','document','position','getRootNames','vid','getData','_baseRoots','split','includes','revisionHistory.resumeUnsavedRevision','get','some','_initialRevisionId','howMany','getChildren','start','_getFromVersion','size','getAttribute','_pendingAction','_handleRootOperation','parse','marker','isEnabled','_handleOperation','insert','buildRevisionData','name','_lastTo','collaboration.channelId','move','getLatestVersion','getRoot','baseVersion','_insertChild','documentFragment','range','getIndex','_baseRootsAttributes','RevisionTracker','getNodeByPath','changeRootAttribute','createRangeIn','createPositionAt','_loadedStateData','_operations','sourcePosition','_setConversion','from','type','_execute','_startingRevisionId','_loadRevisionData','path','getAttributes','vid_end','clear','_clone','setRevisionData','detachRoot','toData','getOperation','add','_fixRange','_continueCurrentRevision','repository','_cloneOperation','markerToData','_markChanges','init','children','dataToMarker','_lastFrom','offset','tableCell','string','loadState','reinsert','_handleSplitOperation','userId','hasContent','_revisionDataBuilder','getTransformedByOperation','_loadState','_getBaseVids','revision','data-revision-','_generateTape','updateRevisions','_reset','marked','stringify','markers','_setAttribute','initial','offsetSize','startsWith','RevisionsRepository','delete','revision:','source','_removeRevisionMarkers','history','set','_bufferUpdate','attributes','slice','_startingVersion','targetPosition','attachChange','authorsIds','getCurrentRevisionId','_calculateMetaData','_handleRootAttributeOperation','initialData','addRevision','attributesAfter','getUser','_update','createRange','_prepareViewToSave','_getViewJson','_makeRevision','setSource','map','$text','pluginName','item','getRevisionRootsAttributes','_handleMarkerOperation','diffData','_touched','_copyMarkers','_savedMetaData','resolve','_saveMetaData','NEGATIVE_INFINITY','getOperations','attributesBefore','key','_handleMoveOperation','graveyardPosition','deletion','previousPosition','adapter','_isAttached','$graveyard','_markers','_diffRoots','_makeIdsRoot','getRevisionDocumentData','reInit','_appendChild','createPositionAfter','nodeAfter','insertions','useFillerType','deletions','_applyOperations','clone','_handleMergeOperation','_removePendingAction','getMovedRangeStart','getRange','_getState','affectsData','toModel','_isPendingUpdate','root','_revisionId','rootName','paragraph','model','_createCurrentRevision','_findInsertionIndex','RealTimeCollaborationClient','isEqual','_fixOperation','saveRevision','sort','insertionPosition','_createInitialRevision','_removeMetaData','_touchedMarkers','rootsAttributes','createdAt','getTime','max','end','_authorId','_transformMarkers','_getVidAttributeName','getChild','plugins','element','PendingActions','_getPreviousFrom','currentRevision'];(function(_0x9ec97f,_0x2a5f47){const _0x278f5f=function(_0x37bf9a){while(--_0x37bf9a){_0x9ec97f['push'](_0x9ec97f['shift']());}};_0x278f5f(++_0x2a5f47);}(_0x2a5f,0x8d));const _0x278f=function(_0x9ec97f,_0x2a5f47){_0x9ec97f=_0x9ec97f-0x0;let _0x278f5f=_0x2a5f[_0x9ec97f];return _0x278f5f;};import{Users as _0xfe55ab}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0xa4b1dc,PendingActions as _0x421ffa}from'ckeditor5/src/core';import{logWarning as _0x30e08f,uid as _0x5e4a78}from'ckeditor5/src/utils';import{Position as _0x31ab12,Range as _0x1c53ff,Element as _0x56b0b7,DocumentFragment as _0x5ab8b3,ViewText as _0x8bc594,ViewElement as _0x4bbc5f,ViewContainerElement as _0x4fe476,ViewAttributeElement as _0x437cc4,ViewEmptyElement as _0x114adc,ViewRawElement as _0x392a89,ViewUIElement as _0x2c767d,ViewDocumentFragment as _0x4b065d}from'ckeditor5/src/engine';import _0x11361b from'./revisionsrepository';import{getTranslation as _0x527825}from'./utils/common-translations';import{cloneDeep as _0x297498,isEqual as _0x45c1da}from'lodash-es';const B={'c':_0x4fe476,'a':_0x437cc4,'e':_0x114adc,'r':_0x392a89,'u':_0x2c767d};export default class l extends _0xa4b1dc{static get[_0x278f('0x33')](){return _0x278f('0xe4');}static get[_0x278f('0x9e')](){return[_0xfe55ab,_0x11361b,_0x421ffa];}constructor(_0x2db9ec){super(_0x2db9ec),this[_0x278f('0x45')]=null,this['currentRevision']=null,this['_revisionDataBuilder']=new H(this['editor']),this[_0x278f('0xc9')]=this[_0x278f('0x89')][_0x278f('0xb9')][_0x278f('0xc7')]('collaboration.channelId')||_0x278f('0x13'),this[_0x278f('0x9c')]=new Map(),this[_0x278f('0xe9')]=null;const _0x300689=_0x5e4a78();this[_0x278f('0x8c')]={'history':this[_0x278f('0x89')][_0x278f('0x61')][_0x278f('0xbe')]['history'],'getLatestVersion':()=>Promise[_0x278f('0x3b')](this[_0x278f('0x89')][_0x278f('0x61')][_0x278f('0xbe')][_0x278f('0xaf')]),'getCurrentRevisionId':()=>_0x300689},this[_0x278f('0x1c')](_0x278f('0x82'),!0x1),this['set'](_0x278f('0xd4'),!0x0),this['set'](_0x278f('0x5c'),!0x1),this[_0x278f('0x89')][_0x278f('0xb9')][_0x278f('0x87')](_0x278f('0xc6'),!0x0),this[_0x278f('0x89')][_0x278f('0xa5')]['for'](_0x278f('0x7e'))[_0x278f('0x104')]({'view':_0x278f('0xa')});}[_0x278f('0x102')](){this[_0x278f('0xfe')]=this[_0x278f('0x89')][_0x278f('0x76')][_0x278f('0xc7')](_0x278f('0x16')),this[_0x278f('0xec')](),this[_0x278f('0x89')][_0x278f('0x95')]['on']('ready',()=>{const _0xb0bd55=this[_0x278f('0xfe')][_0x278f('0x97')](0x0),_0x5a16b3=_0xb0bd55&&null===_0xb0bd55['creator']?_0xb0bd55:null;if(this['_continueCurrentRevision']=!!_0x5a16b3&&this['editor'][_0x278f('0xb9')]['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins'][_0x278f('0x85')](_0x278f('0x64'))){const _0x3f4a62=this['_source']['getCurrentRevisionId'](),_0x59f814=this['repository'][_0x278f('0x97')](_0x3f4a62);if(_0x59f814)this[_0x278f('0x20')]=_0x59f814[_0x278f('0xba')],this[_0x278f('0xfd')]=!0x1;else{const _0x446bd0=this[_0x278f('0x8c')]['history'][_0x278f('0xea')]['find'](_0x48e8f9=>!_0x48e8f9['_isInit']),_0x485764=_0x446bd0?_0x446bd0[_0x278f('0xde')]:this[_0x278f('0x8c')]['history']['version'];_0xb0bd55?(_0xb0bd55[_0x278f('0x92')]<_0x485764&&_0xb0bd55['_update']({'toVersion':_0x485764}),this['_continueCurrentRevision']?(this[_0x278f('0x8c')][_0x278f('0x24')]=()=>_0x5a16b3['id'],this['_startingVersion']=_0x5a16b3[_0x278f('0xba')]):(this[_0x278f('0x20')]=_0xb0bd55[_0x278f('0x92')],this[_0x278f('0xfd')]=!0x1)):(this[_0x278f('0x20')]=_0x485764,this[_0x278f('0xfd')]=!0x1);}}else _0x5a16b3&&(this[_0x278f('0x89')][_0x278f('0x61')][_0x278f('0xbe')]['history'][_0x278f('0xaf')]=Math[_0x278f('0x70')](_0x5a16b3[_0x278f('0x92')],this[_0x278f('0x89')]['model'][_0x278f('0xbe')][_0x278f('0x1b')]['version']),_0x5a16b3[_0x278f('0xba')]===_0x5a16b3[_0x278f('0x92')]?(0x0!==_0x5a16b3['fromVersion']&&(this[_0x278f('0x8c')][_0x278f('0x24')]=()=>_0x5a16b3['id']),this['_continueCurrentRevision']=!0x1):this[_0x278f('0xfd')]&&(this[_0x278f('0x8c')][_0x278f('0x24')]=()=>_0x5a16b3['id'],this['_startingVersion']=_0x5a16b3['fromVersion'])),this[_0x278f('0xfd')]||(this[_0x278f('0x20')]=this[_0x278f('0x89')][_0x278f('0x61')]['document']['version']);this[_0x278f('0x6')][_0x278f('0x102')](this[_0x278f('0x8c')]['history']),this[_0x278f('0x6a')](this[_0x278f('0x20')]),this['_createCurrentRevision'](this['_startingVersion']),this[_0x278f('0x45')]&&this['sendBufferedUpdates']();}),this[_0x278f('0x7c')](_0x278f('0x82'))['to'](this,'_isPendingUpdate',_0x5695af=>!_0x5695af);}async['afterInit'](){if(this[_0x278f('0xfe')][_0x278f('0x9d')]>0x0){const _0x5f2a71=this[_0x278f('0xfe')]['getRevision'](0x0),_0x38d774=await this['getRevisionDocumentData'](_0x5f2a71),_0x528955=await this[_0x278f('0x35')](_0x5f2a71);this['_replaceEditorDataWithRevisionData'](_0x38d774,_0x528955);}}[_0x278f('0x30')](_0x1bc134){this[_0x278f('0x8c')]=_0x1bc134;}async['update'](){const _0x3573e4=await this[_0x278f('0x8c')][_0x278f('0xdc')]();if(_0x3573e4>this[_0x278f('0x7a')][_0x278f('0x92')]){await this['_loadState']();const _0x47b504=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3573e4});_0x47b504[_0x278f('0x8b')]=_0x47b504[_0x278f('0x23')][_0x278f('0x31')](_0x3763cd=>this[_0x278f('0x89')][_0x278f('0x76')][_0x278f('0xc7')](_0x278f('0xa7'))['getUser'](_0x3763cd)),this[_0x278f('0x7a')][_0x278f('0x2b')](_0x47b504);}}async['_loadState'](){this[_0x278f('0xfd')]&&!this[_0x278f('0xe9')]&&(await this[_0x278f('0xf1')](this[_0x278f('0x7a')]),this[_0x278f('0x6')][_0x278f('0x1')](this['currentRevision']),this['_loadedStateData']={'fromVersion':this[_0x278f('0x7a')][_0x278f('0xba')],'authors':this[_0x278f('0x7a')][_0x278f('0x8b')]['slice']()});}async[_0x278f('0x67')](_0x3397b5={},_0x566eea=null){const _0x4182f3=[];await this[_0x278f('0x8')](),this[_0x278f('0xfd')]=!0x1,_0x566eea>this['currentRevision'][_0x278f('0x92')]&&(_0x566eea=null),null===_0x566eea&&(_0x566eea=await this[_0x278f('0x8c')]['getLatestVersion']());const _0x55f8c3=this[_0x278f('0xcd')](_0x566eea),_0x24df04=this[_0x278f('0xd7')]({'from':_0x55f8c3,'to':_0x566eea});if(this[_0x278f('0x7a')][_0x278f('0x92')]<_0x566eea){const _0x35d212=this[_0x278f('0xd7')]({'revision':this[_0x278f('0x7a')],'from':_0x566eea,'to':_0x566eea});_0x35d212[_0x278f('0x8b')]=[],_0x35d212[_0x278f('0x23')]=[],_0x35d212['id']=this[_0x278f('0x7a')]['id'],this['currentRevision'][_0x278f('0x2b')](_0x35d212,!0x0),delete _0x35d212['authors'],_0x4182f3[_0x278f('0xa2')](_0x35d212);}_0x3397b5[_0x278f('0xad')]=this[_0x278f('0x89')][_0x278f('0x76')]['get'](_0x278f('0xa7'))['me']['id'],_0x3397b5[_0x278f('0xd8')]=_0x3397b5[_0x278f('0xd8')]||null,_0x3397b5['id']=_0x3397b5['id']||_0x5e4a78(),_0x3397b5={..._0x3397b5,..._0x24df04};const _0x5e42e5=this[_0x278f('0x93')](_0x3397b5);_0x4182f3[_0x278f('0xa2')](_0x3397b5);const _0x416fd6=this[_0x278f('0xfe')][_0x278f('0xe2')](_0x5e42e5);if(0x0!==_0x416fd6){const _0x164fc4=this[_0x278f('0xfe')][_0x278f('0x97')](_0x416fd6-0x1);if(_0x164fc4['fromVersion']!==_0x566eea){const _0x109e3e=this['_revisionDataBuilder'][_0x278f('0xc2')](_0x566eea,_0x164fc4[_0x278f('0x92')]),_0x495a13={'id':_0x164fc4['id'],'diffData':_0x109e3e[_0x278f('0x37')],'authorsIds':_0x109e3e[_0x278f('0x23')],'authors':_0x109e3e['authorsIds']['map'](_0x38387a=>this[_0x278f('0x89')]['plugins']['get'](_0x278f('0xa7'))[_0x278f('0x2a')](_0x38387a)),'fromVersion':_0x566eea};_0x164fc4===this[_0x278f('0x7a')]&&(_0x495a13[_0x278f('0x6e')]=new Date(_0x3397b5['createdAt'][_0x278f('0x6f')]()+0xa)),_0x164fc4[_0x278f('0x2b')](_0x495a13,!0x0),delete _0x495a13['authors'],_0x4182f3[_0x278f('0xa2')](_0x495a13);}}if(this[_0x278f('0x45')]){for(const _0x3f78d1 of _0x4182f3)this['_bufferUpdate'](_0x3f78d1['id'],_0x3f78d1,!0x0);this[_0x278f('0xbb')]();}return _0x5e42e5;}[_0x278f('0x93')](_0x9b8cc5){const _0x2800aa=this[_0x278f('0xfe')][_0x278f('0x88')](_0x9b8cc5);return this[_0x278f('0x45')]&&_0x2800aa['on']('_update',(_0x3820da,_0x32b3b4,_0x35efac)=>{_0x35efac||(this[_0x278f('0x1d')](_0x32b3b4['id'],_0x32b3b4,!0x0),this[_0x278f('0xbb')]());}),this[_0x278f('0xfe')][_0x278f('0x28')](_0x2800aa,this[_0x278f('0x63')](_0x2800aa)),_0x2800aa;}async[_0x278f('0x4b')](_0x412c4c){await this[_0x278f('0xf1')](_0x412c4c);const _0x4b41db={};for(const _0x4871eb in _0x412c4c[_0x278f('0x37')]){if(_0x412c4c[_0x278f('0x37')][_0x4871eb]['attachChange']&&!_0x412c4c[_0x278f('0x37')][_0x4871eb][_0x278f('0x22')]['isAttached'])continue;const _0x406171=this[_0x278f('0x1a')](JSON['parse'](_0x412c4c['diffData'][_0x4871eb][_0x278f('0x50')])),_0x3e84b0=this[_0x278f('0x89')][_0x278f('0x98')][_0x278f('0x94')]['document'],_0x2e4216=new _0x4b065d(_0x3e84b0,_0x406171[_0x278f('0x31')](_0x3ebfcc=>J(_0x3ebfcc,this['editor'])));this['editor'][_0x278f('0x95')][_0x278f('0x9b')][_0x278f('0x51')](_0x278f('0xf')),_0x4b41db[_0x4871eb]=this[_0x278f('0x89')][_0x278f('0x95')][_0x278f('0x9b')][_0x278f('0xf9')](_0x2e4216),this[_0x278f('0x89')][_0x278f('0x95')][_0x278f('0x9b')][_0x278f('0x51')]('default');}return _0x4b41db;}async[_0x278f('0x35')](_0xf921fe){await this[_0x278f('0xf1')](_0xf921fe);const _0x3a6156={};for(const _0x51c9e6 in _0xf921fe[_0x278f('0x37')])_0xf921fe[_0x278f('0x37')][_0x51c9e6][_0x278f('0x22')]&&!_0xf921fe['diffData'][_0x51c9e6]['attachChange'][_0x278f('0x83')]||(_0x3a6156[_0x51c9e6]=_0xf921fe['diffData'][_0x51c9e6][_0x278f('0x29')]||{});return _0x3a6156;}['sendBufferedUpdates'](){if(0x0===this[_0x278f('0x9c')][_0x278f('0xce')])return;if(this['_isPendingUpdate'])return;let _0x58b8b2=Array['from'](this[_0x278f('0x9c')][_0x278f('0x7d')]());this['_bufferedUpdates'][_0x278f('0xf5')]();for(let _0x3eaa4c=0x0;_0x3eaa4c<_0x58b8b2['length'];_0x3eaa4c++){const _0x2de5da=_0x58b8b2[_0x3eaa4c];let _0x38bccc=!0x1;for(const _0x3355d3 of Object[_0x278f('0xbd')](_0x2de5da))void 0x0===_0x2de5da[_0x3355d3]?delete _0x2de5da[_0x3355d3]:'id'!==_0x3355d3&&(_0x38bccc=!0x0);_0x38bccc||(_0x58b8b2[_0x3eaa4c]=null);}if(_0x58b8b2=_0x58b8b2['filter'](_0x357b25=>null!==_0x357b25),!_0x58b8b2[_0x278f('0x9d')])return;for(let _0x4dbb98=0x0;_0x4dbb98<_0x58b8b2[_0x278f('0x9d')];_0x4dbb98++){const _0x2b0e18=_0x58b8b2[_0x4dbb98];void 0x0!==_0x2b0e18[_0x278f('0xba')]&&void 0x0===_0x2b0e18[_0x278f('0x92')]&&(_0x2b0e18[_0x278f('0x92')]=this[_0x278f('0xfe')][_0x278f('0x97')](_0x2b0e18['id'])[_0x278f('0x92')]),void 0x0!==_0x2b0e18[_0x278f('0x92')]&&void 0x0===_0x2b0e18['fromVersion']&&(_0x2b0e18[_0x278f('0xba')]=this[_0x278f('0xfe')][_0x278f('0x97')](_0x2b0e18['id'])[_0x278f('0xba')]);}const _0x25b2c3=this[_0x278f('0x89')]['config']['get'](_0x278f('0xda'));this[_0x278f('0x5c')]=!0x0,this[_0x278f('0x84')](),this[_0x278f('0x45')][_0x278f('0xd')](_0x58b8b2,_0x25b2c3)['finally'](()=>{this[_0x278f('0x5c')]=!0x1;})[_0x278f('0xb4')](_0x467c91=>{if(_0x467c91)for(const _0x104aad of _0x467c91)this[_0x278f('0xf7')]({'id':_0x104aad['id'],'createdAt':_0x104aad['createdAt']});this[_0x278f('0x56')](),this[_0x278f('0xbb')]();});}['_replaceEditorDataWithRevisionData'](_0x1845ec,_0x27faf4){let _0x34ed12=this[_0x278f('0x89')][_0x278f('0xb9')][_0x278f('0xc7')](_0x278f('0x27')),_0x554c3f=this[_0x278f('0x89')][_0x278f('0xb9')][_0x278f('0xc7')]('rootsAttributes');if(void 0x0===_0x34ed12){_0x34ed12={};for(const _0x59d3d4 of this['editor'][_0x278f('0x61')][_0x278f('0xbe')][_0x278f('0xc0')]())_0x34ed12[_0x59d3d4]='';}if('string'==typeof _0x34ed12&&(_0x34ed12={'main':_0x34ed12}),void 0x0===_0x554c3f){_0x554c3f={};for(const _0x522155 of this[_0x278f('0x89')][_0x278f('0x61')][_0x278f('0xbe')][_0x278f('0xc0')]())_0x554c3f[_0x522155]={};}let _0x567e5c=!0x1;const _0x3eaed6=Object['keys'](_0x34ed12),_0x33caf2=Object[_0x278f('0xbd')](_0x1845ec);for(const _0x4b8bce of _0x3eaed6){if(_0x34ed12[_0x4b8bce]!==_0x1845ec[_0x4b8bce]&&''!==_0x34ed12[_0x4b8bce][_0x278f('0xb8')]()){_0x567e5c=!0x0;break;}if(!_0x45c1da(_0x554c3f[_0x4b8bce],_0x27faf4[_0x4b8bce])&&Object[_0x278f('0xbd')](_0x554c3f[_0x4b8bce])['length']>0x0){_0x567e5c=!0x0;break;}}_0x567e5c||(_0x567e5c=_0x33caf2[_0x278f('0xc8')](_0x44c9b5=>!this['editor']['model'][_0x278f('0xbe')][_0x278f('0xdd')](_0x44c9b5))),_0x567e5c&&_0x30e08f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x34ed12,'editorRootsAttributes':_0x554c3f,'revisionData':_0x1845ec,'revisionRootsAttributes':_0x27faf4}),this['editor'][_0x278f('0xb9')][_0x278f('0x1c')](_0x278f('0x27'),_0x1845ec),this[_0x278f('0x89')]['config'][_0x278f('0x1c')](_0x278f('0x6d'),_0x27faf4);}[_0x278f('0x84')](){if(!this[_0x278f('0xd0')]){const _0x3a8f8f=this['editor']['plugins'][_0x278f('0xc7')](_0x278f('0x78'));this[_0x278f('0xd0')]=_0x3a8f8f[_0x278f('0xfb')](_0x527825(this[_0x278f('0x89')]['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this[_0x278f('0xd0')]&&(this[_0x278f('0x89')][_0x278f('0x76')][_0x278f('0xc7')](_0x278f('0x78'))[_0x278f('0xb2')](this[_0x278f('0xd0')]),this[_0x278f('0xd0')]=null);}[_0x278f('0x63')](_0xd875d9){const _0x37913f=this[_0x278f('0xfe')][_0x278f('0x8d')]();_0x37913f[_0x278f('0x86')]();let _0x4c6570=0x0;for(;_0x4c6570<_0x37913f[_0x278f('0x9d')];){const _0x475d3e=_0x37913f[_0x4c6570];if(_0x475d3e===this['currentRevision']){_0x4c6570++;continue;}if(_0x475d3e['id']===this[_0x278f('0xc9')])break;const _0x181bf4=_0xd875d9[_0x278f('0x92')]-_0x475d3e['toVersion']||_0xd875d9[_0x278f('0xba')]-_0x475d3e[_0x278f('0xba')];if(_0x181bf4>0x0)break;if(_0x181bf4<0x0)_0x4c6570++;else{if(!_0xd875d9[_0x278f('0xb0')]&&_0x475d3e[_0x278f('0xb0')])break;if(_0x475d3e[_0x278f('0xb0')]||!_0xd875d9['creator']){if(_0xd875d9[_0x278f('0x6e')]>_0x475d3e[_0x278f('0x6e')])break;_0x4c6570++;}else _0x4c6570++;}}return _0x4c6570;}[_0x278f('0xf7')](_0x20582a){const _0x4e2cf2=this[_0x278f('0xfe')][_0x278f('0x97')](_0x20582a['id']);if(_0x20582a['createdAt']&&(_0x20582a[_0x278f('0x6e')]=new Date(_0x20582a['createdAt'])),_0x20582a[_0x278f('0x23')]){const _0x389bb2=this[_0x278f('0x89')]['plugins'][_0x278f('0xc7')](_0x278f('0xa7'));_0x20582a[_0x278f('0x8b')]=_0x20582a[_0x278f('0x23')]['map'](_0x13b428=>_0x389bb2[_0x278f('0x2a')](_0x13b428));}_0x4e2cf2[_0x278f('0x2b')](_0x20582a,!0x0);}[_0x278f('0xd7')]({revision:_0x7c02e3=null,from:_0x5de529=null,to:_0x406207=null}){_0x5de529=null!==_0x5de529?_0x5de529:_0x7c02e3[_0x278f('0xba')],_0x406207=null!==_0x406207?_0x406207:_0x7c02e3[_0x278f('0x92')];const _0x182021=this['_revisionDataBuilder'][_0x278f('0xc2')](_0x5de529,_0x406207),_0x187da3={'diffData':_0x182021[_0x278f('0x37')],'authorsIds':_0x182021['authorsIds'],'fromVersion':_0x5de529,'toVersion':_0x406207};if(!_0x7c02e3||_0x406207!==_0x7c02e3[_0x278f('0x92')]){const _0x47b8b9=_0x406207-0x1,_0xdf0acd=this[_0x278f('0x8c')][_0x278f('0x1b')][_0x278f('0xfa')](_0x47b8b9);_0x187da3['createdAt']=_0xdf0acd&&_0xdf0acd['createdAt']||new Date();}if(this[_0x278f('0xe9')]&&_0x5de529===this[_0x278f('0xe9')][_0x278f('0xba')])for(const _0x13f542 of this['_loadedStateData']['authors'])_0x187da3['authorsIds'][_0x278f('0xc5')](_0x13f542['id'])||_0x187da3[_0x278f('0x23')][_0x278f('0xa2')](_0x13f542['id']);return _0x187da3;}[_0x278f('0xf1')](_0x1bf749){if(!_0x1bf749||_0x1bf749[_0x278f('0x37')])return Promise[_0x278f('0x3b')]();{const _0x306a40=this[_0x278f('0x89')][_0x278f('0xb9')]['get'](_0x278f('0xda'));return this[_0x278f('0x45')][_0x278f('0x97')]({'channelId':_0x306a40,'revisionId':_0x1bf749['id']})[_0x278f('0xb4')](_0x2d90d2=>{_0x1bf749['diffData']=_0x2d90d2[_0x278f('0x37')];});}}['_bufferUpdate'](_0x422b88,_0x24e30e,_0x1d95bd){if(this['_bufferedUpdates']['has'](_0x422b88)){const _0x14cbd9=this[_0x278f('0x9c')][_0x278f('0xc7')](_0x422b88);_0x24e30e=_0x1d95bd?{..._0x14cbd9,..._0x24e30e}:{..._0x24e30e,..._0x14cbd9};}this[_0x278f('0x9c')]['set'](_0x422b88,_0x24e30e);}[_0x278f('0xcd')](_0x54d7aa){const _0x36954d=this[_0x278f('0xfe')][_0x278f('0x8d')]();_0x36954d['reverse'](),_0x36954d['shift']();const _0x3fc893=_0x36954d[_0x278f('0x80')](_0x236d2b=>_0x236d2b[_0x278f('0x92')]<=_0x54d7aa)[_0x278f('0x92')];return _0x3fc893<this['_startingVersion']?this[_0x278f('0x20')]:_0x3fc893;}['_createInitialRevision'](_0x16eaab){const _0x1430a4=this['repository']['getRevision'](this[_0x278f('0xfe')][_0x278f('0x9d')]-0x1);if(_0x1430a4)this['_initialRevisionId']=_0x1430a4['id'];else{const _0x3d85b1=!this[_0x278f('0x89')]['model'][_0x278f('0xbe')]['roots'][_0x278f('0x80')](_0x1461af=>this['editor']['model'][_0x278f('0x5')](_0x1461af)),_0x456834=this[_0x278f('0x89')]['plugins'][_0x278f('0xc7')](_0x278f('0xa7'))['me']['id'],_0x3dbc91=_0x527825(this[_0x278f('0x89')][_0x278f('0xa1')],_0x3d85b1?_0x278f('0x8f'):_0x278f('0x7b'));this[_0x278f('0x2f')]({'from':_0x16eaab,'to':_0x16eaab,'id':this[_0x278f('0xc9')],'name':_0x3dbc91,'creatorId':_0x456834});}}[_0x278f('0x62')](_0x69f025){const _0x53c72c=this[_0x278f('0x8c')][_0x278f('0x24')]();this[_0x278f('0x7a')]=this['repository']['getRevision'](_0x53c72c),this[_0x278f('0x7a')]||(this['currentRevision']=this[_0x278f('0x2f')]({'from':_0x69f025,'to':_0x69f025,'id':_0x53c72c,'name':'','creatorId':null}));}[_0x278f('0x2f')]({name:_0x28160c,from:_0x17acb9,to:_0x19d2d2,creatorId:_0x26cf76,id:_0x28c129}){const _0x5bcea3=this[_0x278f('0xd7')]({'from':_0x17acb9,'to':_0x19d2d2});_0x5bcea3['name']=_0x28160c,_0x5bcea3['creatorId']=_0x26cf76,_0x5bcea3['id']=_0x28c129;const _0x1693c3=this[_0x278f('0x93')](_0x5bcea3);return this[_0x278f('0x45')]&&this[_0x278f('0x1d')](_0x5bcea3['id'],_0x5bcea3,!0x0),_0x1693c3;}[_0x278f('0xec')](){this['editor'][_0x278f('0xa5')]['for']('dataDowncast')[_0x278f('0x100')]({'model':_0x278f('0xa')});}[_0x278f('0x1a')](_0x44366e){return(_0x44366e=_0x44366e[_0x278f('0x7f')](_0x254546=>!_0x254546[_0x278f('0xd8')]||_0x278f('0x8a')!==_0x254546[_0x278f('0xd8')]&&'revision-end'!==_0x254546[_0x278f('0xd8')]))['forEach'](_0x467e40=>{_0x278f('0x0')!=typeof _0x467e40&&(_0x467e40[_0x278f('0x103')]=this[_0x278f('0x1a')](_0x467e40[_0x278f('0x103')]),_0x467e40[_0x278f('0x1e')]=_0x467e40['attributes']['filter'](_0x10d471=>!_0x10d471[0x0]['startsWith'](_0x278f('0xb'))));}),_0x44366e;}}function J(_0x4d0967,_0x4da7bb){const _0x272104=_0x4da7bb['editing'][_0x278f('0x94')][_0x278f('0xbe')];if(_0x278f('0x0')==typeof _0x4d0967)return new _0x8bc594(_0x272104,_0x4d0967);{const _0x5180e7=_0x4d0967[_0x278f('0x103')]['map'](_0x1266df=>J(_0x1266df,_0x4da7bb));return new(B[_0x4d0967[(_0x278f('0xee'))]]||_0x4bbc5f)(_0x272104,_0x4d0967['name'],_0x4d0967[_0x278f('0x1e')],_0x5180e7);}}class H{constructor(_0x175e2c){this['editor']=_0x175e2c,this[_0x278f('0x3a')]=new Map(),this[_0x278f('0x105')]=-0x1,this['_lastTo']=-0x1,this[_0x278f('0x48')]=new Map(),this[_0x278f('0x49')]=new Map(),this[_0x278f('0xae')]=new Map(),this['_baseRoots']=new Map(),this[_0x278f('0xe3')]=new Map(),this[_0x278f('0x91')]=new Map(),this['_baseIdsRoots']=new Map(),this[_0x278f('0x38')]=new Map(),this[_0x278f('0x6c')]=new Map(),this[_0x278f('0x96')]=new Map(),this['_revisionId']=0x1;}['init'](_0x1d497e){this[_0x278f('0x19')]=_0x1d497e;const _0x560b8b=new Map(),_0x11b0d9=new Map(),_0x398776=this['editor'][_0x278f('0x61')][_0x278f('0xbe')][_0x278f('0xb6')][_0x278f('0x31')](_0xe62b8d=>_0xe62b8d['rootName']);for(const _0x578dae of _0x398776){const _0x2f954c=this[_0x278f('0x89')]['model'][_0x278f('0xbe')][_0x278f('0xdd')](_0x578dae),_0x174d17=q(_0x2f954c);_0x560b8b[_0x278f('0x1c')](_0x578dae,_0x174d17),_0x11b0d9[_0x278f('0x1c')](_0x578dae,Object[_0x278f('0xac')](_0x2f954c[_0x278f('0xf3')]()));}const _0x31e0a6=Array['from'](this['editor'][_0x278f('0x61')]['markers'])[_0x278f('0x31')](_0x56de5c=>[_0x56de5c[_0x278f('0xd8')],_0x56de5c[_0x278f('0x58')]()]),_0x520f03=this[_0x278f('0x19')][_0x278f('0xaf')];this[_0x278f('0x3c')](_0x520f03,_0x560b8b,_0x31e0a6,_0x11b0d9),this[_0x278f('0xf0')]=this['_revisionId'];const _0x15ae04=new Map(),_0x18ce40=new Map();for(const _0x4877e5 of _0x398776){const _0x3c1b2b=G(_0x4877e5);_0x15ae04[_0x278f('0x1c')](_0x4877e5,_0x3c1b2b),_0x18ce40['set'](_0x4877e5,{});}this[_0x278f('0x3c')](Number[_0x278f('0x3d')],_0x15ae04,[],_0x18ce40);}[_0x278f('0xc2')](_0x7f400c,_0x2ecb32){if(this[_0x278f('0x105')]===_0x7f400c&&this[_0x278f('0xd9')]<=_0x2ecb32)this[_0x278f('0x3a')][_0x278f('0xce')]>0x1&&this[_0x278f('0x6b')](this[_0x278f('0xd9')]),this[_0x278f('0x53')](this[_0x278f('0xd9')],_0x2ecb32,!0x0);else{if(!this[_0x278f('0x3a')][_0x278f('0x85')](_0x7f400c)){const _0x282204=this[_0x278f('0x79')](_0x7f400c);this[_0x278f('0x25')](_0x282204,_0x7f400c,!0x1);}this[_0x278f('0x25')](_0x7f400c,_0x2ecb32,!0x0);}return this[_0x278f('0x105')]=_0x7f400c,this[_0x278f('0xd9')]=_0x2ecb32,this[_0x278f('0x59')]();}[_0x278f('0x1')](_0x406ec0){this['_reset'](),this['_lastFrom']=_0x406ec0[_0x278f('0xba')],this[_0x278f('0xd9')]=_0x406ec0[_0x278f('0x92')];for(const _0x1d8ef6 in _0x406ec0['diffData']){const _0x1c17d1=_0x406ec0[_0x278f('0x37')][_0x1d8ef6][_0x278f('0x22')],_0xd54c0f=_0x297498(_0x406ec0[_0x278f('0x37')][_0x1d8ef6][_0x278f('0x3f')])||{},_0x3056a2=this[_0x278f('0x9f')](_0x406ec0[_0x278f('0x37')][_0x1d8ef6][_0x278f('0x52')]);_0x3056a2[_0x278f('0x5f')]=_0x1d8ef6,_0x3056a2[_0x278f('0x46')]=!_0x1c17d1||!_0x1c17d1[_0x278f('0x83')],_0x3056a2['isAttached']=()=>_0x3056a2[_0x278f('0x46')],this['_baseRoots'][_0x278f('0x1c')](_0x1d8ef6,_0x3056a2),this['_baseRootsAttributes'][_0x278f('0x1c')](_0x1d8ef6,_0xd54c0f),_0x1c17d1&&this['_touchedRoots']['set'](_0x1d8ef6,_0x1c17d1);const _0x19bcc9=this[_0x278f('0x4a')](_0x3056a2);this['_baseIdsRoots']['set'](_0x1d8ef6,_0x19bcc9);for(const [_0x35094a,_0x3dd8ca]of _0x3056a2[_0x278f('0x11')]){if(!_0x35094a[_0x278f('0x15')]('revision:'))continue;const _0x1bd70b=_0x35094a['split'](':')[0x2];for(const _0x32d6b6 of _0x3dd8ca[_0x278f('0xb7')]({'singleCharacters':!0x0})){const _0x73ec95=this[_0x278f('0x74')](_0x32d6b6),_0x4ce4a1=_0x278f('0x81')==_0x32d6b6['type']?_0x32d6b6[_0x278f('0x44')][_0x278f('0xf2')][_0x278f('0x1f')](0x0,-0x1):_0x32d6b6['previousPosition']['path'],_0x48146c=_0x19bcc9['getNodeByPath'](_0x4ce4a1)[_0x278f('0xcf')](_0x73ec95);this[_0x278f('0x38')][_0x278f('0x1c')](_0x48146c,{'userId':_0x1bd70b});}}}this[_0x278f('0xf0')]=this[_0x278f('0x5e')];const _0x133206=[...Array(this[_0x278f('0x5e')])['keys']()]['slice'](0x1)[_0x278f('0x7f')](_0xaab54f=>!this[_0x278f('0x38')][_0x278f('0x85')](_0xaab54f));let _0x3af256=0x0;const _0x544913=new Map();for(const _0x3b0f1d in _0x406ec0[_0x278f('0x37')]){const _0x561520=_0x406ec0['diffData'][_0x3b0f1d][_0x278f('0x22')],_0x34642b=_0x297498(_0x406ec0[_0x278f('0x37')][_0x3b0f1d]['attributesAfter'])||{},_0x3f838d=this[_0x278f('0x9f')](_0x406ec0[_0x278f('0x37')][_0x3b0f1d][_0x278f('0x50')]);_0x3f838d[_0x278f('0x5f')]=_0x3b0f1d,_0x3f838d['_isAttached']=!_0x561520||_0x561520['isAttached'],_0x3f838d['isAttached']=()=>_0x3f838d[_0x278f('0x46')],this[_0x278f('0x49')][_0x278f('0x1c')](_0x3b0f1d,_0x3f838d),this[_0x278f('0xae')][_0x278f('0x1c')](_0x3b0f1d,_0x34642b);const _0x221d17=this[_0x278f('0x4a')](_0x3f838d,Number['NEGATIVE_INFINITY']);this[_0x278f('0x91')][_0x278f('0x1c')](_0x3b0f1d,_0x221d17),_0x544913[_0x278f('0x1c')](_0x3b0f1d,_0x3f838d['isAttached']()?_0x34642b:{});for(const [_0x2418d1,_0x54a628]of _0x3f838d[_0x278f('0x11')]){if(!_0x2418d1[_0x278f('0x15')](_0x278f('0x18')))continue;const _0x5d77fe=_0x2418d1[_0x278f('0xc4')](':')[0x2];for(const _0x4a7996 of _0x54a628['getWalker']({'singleCharacters':!0x0})){const _0x3841fc=this[_0x278f('0x74')](_0x4a7996),_0x3b925e=this['_revisionId']++,_0x3f591e=_0x278f('0x81')==_0x4a7996[_0x278f('0xee')]?_0x4a7996[_0x278f('0x44')][_0x278f('0xf2')][_0x278f('0x1f')](0x0,-0x1):_0x4a7996[_0x278f('0x44')][_0x278f('0xf2')];_0x221d17[_0x278f('0xe5')](_0x3f591e)['_setAttribute'](_0x3841fc,_0x3b925e),this[_0x278f('0x38')][_0x278f('0x1c')](_0x3b925e,{'userId':_0x5d77fe});}}for(const _0x5eb08e of this[_0x278f('0x89')][_0x278f('0x61')][_0x278f('0xe7')](_0x3f838d)[_0x278f('0xb7')]({'singleCharacters':!0x0})){const _0x1aae14=this['_getVidAttributeName'](_0x5eb08e),_0x38f1ff=_0x278f('0x81')==_0x5eb08e['type']?_0x5eb08e[_0x278f('0x44')][_0x278f('0xf2')][_0x278f('0x1f')](0x0,-0x1):_0x5eb08e[_0x278f('0x44')][_0x278f('0xf2')],_0x24d94c=_0x221d17[_0x278f('0xe5')](_0x38f1ff);_0x24d94c[_0x278f('0xcf')](_0x1aae14)>0x0||_0x24d94c['_setAttribute'](_0x1aae14,_0x133206[_0x3af256++]);}for(const [_0x4814d6,_0x3bf109]of _0x3f838d[_0x278f('0x11')])_0x4814d6[_0x278f('0x15')]('revision:')||this[_0x278f('0x48')]['set'](_0x4814d6,_0x3bf109);}const _0x529f76=G(_0x278f('0x47'));this[_0x278f('0xc3')][_0x278f('0x1c')](_0x278f('0x47'),_0x529f76),this[_0x278f('0xbc')]['set']('$graveyard',this[_0x278f('0x4a')](_0x529f76,0x1));const _0x16c90c=G(_0x278f('0x47'));this['_diffRoots'][_0x278f('0x1c')](_0x278f('0x47'),_0x16c90c),this[_0x278f('0x91')][_0x278f('0x1c')]('$graveyard',this[_0x278f('0x4a')](_0x16c90c,0x1));const _0x5d35a6=Array[_0x278f('0xed')](this['_diffRoots'])[_0x278f('0x31')](([_0x153955,_0x2c0957])=>[_0x153955,q(_0x2c0957)]);this[_0x278f('0x3c')](this['_lastTo'],_0x5d35a6,this['_markers'],_0x544913);}[_0x278f('0x9f')](_0x2dca59){const _0x3f156f=JSON[_0x278f('0xd2')](_0x2dca59),_0x46c17d=this[_0x278f('0x89')][_0x278f('0x98')]['view']['document'],_0x1f01f0=new _0x4b065d(_0x46c17d,_0x3f156f[_0x278f('0x31')](_0x541e8e=>J(_0x541e8e,this['editor'])));return this[_0x278f('0x89')][_0x278f('0x95')][_0x278f('0x5b')](_0x1f01f0);}[_0x278f('0x3c')](_0x5782e4,_0x186ae9,_0x50945f,_0x25314e){const _0x3d1da4=new Map(_0x186ae9),_0x4c9800=new Map(_0x297498(_0x25314e)),_0x45e96b=new Map();for(const [_0xd09b2e,_0x479ed5]of _0x50945f)_0x45e96b[_0x278f('0x1c')](_0xd09b2e,{'start':_0x479ed5[_0x278f('0xcc')][_0x278f('0x54')](),'end':_0x479ed5['end'][_0x278f('0x54')](),'rootName':_0x479ed5[_0x278f('0x5d')][_0x278f('0x5f')]});this[_0x278f('0x3a')][_0x278f('0x1c')](_0x5782e4,{'roots':_0x3d1da4,'markers':_0x45e96b,'rootsAttributes':_0x4c9800});}[_0x278f('0x6b')](_0x4286ef){this[_0x278f('0x3a')]['delete'](_0x4286ef);}[_0x278f('0x4c')](){this[_0x278f('0xe')](),this[_0x278f('0x105')]=-0x1,this[_0x278f('0xd9')]=-0x1,this['_savedMetaData']['clear'](),this[_0x278f('0x102')](this[_0x278f('0x19')]);}[_0x278f('0xe')](){this[_0x278f('0x38')]['clear'](),this[_0x278f('0x6c')][_0x278f('0xf5')](),this[_0x278f('0x96')][_0x278f('0xf5')](),this[_0x278f('0x49')]['clear'](),this[_0x278f('0xae')][_0x278f('0xf5')](),this[_0x278f('0xc3')][_0x278f('0xf5')](),this[_0x278f('0xe3')][_0x278f('0xf5')](),this[_0x278f('0x91')]['clear'](),this[_0x278f('0xbc')][_0x278f('0xf5')](),this['_markers'][_0x278f('0xf5')](),this[_0x278f('0x5e')]=0x1,this[_0x278f('0xf0')]=this[_0x278f('0x5e')];}[_0x278f('0x4a')](_0x41c527,_0x2afcab=null){let _0x3d083f=null;_0x41c527['is'](_0x278f('0xe0'))||(_0x3d083f=new _0x56b0b7(_0x41c527[_0x278f('0xd8')],{'vid_start':null===_0x2afcab?this['_revisionId']++:_0x2afcab++}));const _0x53d562=[];for(const _0x4759ea of _0x41c527['getChildren']())if(_0x4759ea['is'](_0x278f('0x77'))){_0x53d562[_0x278f('0xa2')](this[_0x278f('0x4a')](_0x4759ea,_0x2afcab));const _0x218cd1=_0x53d562[_0x53d562[_0x278f('0x9d')]-0x1];null!==_0x2afcab&&(_0x2afcab=_0x218cd1['is']('element',_0x278f('0x32'))?_0x218cd1['getAttribute']('vid')+0x1:_0x218cd1[_0x278f('0xcf')](_0x278f('0xf4'))+0x1);}else for(let _0x572240=0x0;_0x572240<_0x4759ea[_0x278f('0x14')];_0x572240++)_0x53d562[_0x278f('0xa2')](new _0x56b0b7('$text',{'vid':null===_0x2afcab?this[_0x278f('0x5e')]++:_0x2afcab++}));if(_0x41c527['is'](_0x278f('0xe0'))){const _0x2f57fd=G(_0x41c527[_0x278f('0x5f')]);return _0x2f57fd[_0x278f('0xdf')](0x0,_0x53d562),_0x2f57fd;}return _0x3d083f['_setAttribute'](_0x278f('0xf4'),null===_0x2afcab?this[_0x278f('0x5e')]++:_0x2afcab++),_0x3d083f[_0x278f('0xdf')](0x0,_0x53d562),_0x3d083f;}[_0x278f('0x25')](_0x2842a9,_0x36df3d,_0x242ecb){this[_0x278f('0xe')]();const {roots:_0x2a9f55,markers:_0x152bb1,rootsAttributes:_0x31474b}=this[_0x278f('0x3a')][_0x278f('0xc7')](_0x2842a9);this[_0x278f('0xc3')]=new Map(_0x2a9f55),this[_0x278f('0xe3')]=new Map(_0x297498(_0x31474b));for(const [_0x57165d,_0x255863]of this[_0x278f('0xc3')])if('$graveyard'!==_0x57165d&&(this[_0x278f('0x49')]['set'](_0x57165d,q(_0x255863)),this[_0x278f('0xae')]=new Map(_0x297498(_0x31474b)),_0x242ecb)){const _0x165c67=this[_0x278f('0x5e')];this[_0x278f('0x91')][_0x278f('0x1c')](_0x57165d,this['_makeIdsRoot'](_0x255863)),this['_baseIdsRoots'][_0x278f('0x1c')](_0x57165d,this[_0x278f('0x4a')](_0x255863,_0x165c67));}this[_0x278f('0xf0')]=this[_0x278f('0x5e')],this[_0x278f('0x49')][_0x278f('0x1c')]('$graveyard',q(this[_0x278f('0xc3')][_0x278f('0xc7')](_0x278f('0x47')))),_0x242ecb&&this[_0x278f('0x91')][_0x278f('0x1c')](_0x278f('0x47'),this['_makeIdsRoot'](this[_0x278f('0xc3')]['get'](_0x278f('0x47'))));for(const [_0x54df7b,_0x17b8f3]of _0x152bb1){const _0x2063a7=this[_0x278f('0xc3')][_0x278f('0xc7')](_0x17b8f3[_0x278f('0x5f')]),_0xbd80ed=this[_0x278f('0x49')][_0x278f('0xc7')](_0x17b8f3[_0x278f('0x5f')]),_0x2b1d6a=new _0x1c53ff(this['_fixPosition'](_0x17b8f3['start'],_0x2063a7),this[_0x278f('0xa3')](_0x17b8f3[_0x278f('0x71')],_0x2063a7)),_0x3689a0=this[_0x278f('0xfc')](_0x2b1d6a,_0xbd80ed);_0x2063a7[_0x278f('0x11')][_0x278f('0x1c')](_0x54df7b,_0x2b1d6a),this['_markers'][_0x278f('0x1c')](_0x54df7b,_0x3689a0);}this['_applyOperations'](_0x2842a9,_0x36df3d,_0x242ecb);}[_0x278f('0x53')](_0x3dfca6,_0x5ac6f5,_0x25bb72){for(const _0x2971a1 of this[_0x278f('0x19')][_0x278f('0x3e')](_0x3dfca6,_0x5ac6f5))this[_0x278f('0xd5')](_0x2971a1,_0x25bb72);for(const _0x1a893d of this['_diffRoots'][_0x278f('0x7d')]())_0x1a893d['markers']['clear']();for(const [_0x27dcff,_0x4bd8a6]of this[_0x278f('0x48')]){this[_0x278f('0x49')]['get'](_0x4bd8a6[_0x278f('0x5d')][_0x278f('0x5f')])[_0x278f('0x11')]['set'](_0x27dcff,_0x4bd8a6['clone']());}const _0x270353=new Map(),_0x24aa9c=new Map();for(const [_0x5766a9,_0x498670]of this[_0x278f('0x49')])_0x270353[_0x278f('0x1c')](_0x5766a9,q(_0x498670)),_0x24aa9c[_0x278f('0x1c')](_0x5766a9,this['_diffRootsAttributes']['get'](_0x5766a9));this[_0x278f('0x3c')](_0x5ac6f5,_0x270353,this[_0x278f('0x48')],_0x24aa9c);}[_0x278f('0x79')](_0x4ed31e){const _0x1afa8b=Array['from'](this[_0x278f('0x3a')][_0x278f('0xbd')]());_0x1afa8b[_0x278f('0x68')]((_0x496266,_0x240519)=>_0x496266-_0x240519),_0x1afa8b[_0x278f('0x86')]();for(const _0x5f10ff of _0x1afa8b)if(_0x5f10ff<_0x4ed31e)return _0x5f10ff;return Number['NEGATIVE_INFINITY'];}[_0x278f('0x39')](_0x690481,_0x41f59b){const _0x3fc3b2=Array[_0x278f('0xed')](_0x41f59b['markers'])['map'](([_0x5198c9,_0x245e87])=>[_0x5198c9,this[_0x278f('0xfc')](_0x245e87,_0x690481)]);_0x690481[_0x278f('0x11')]=new Map(_0x3fc3b2);}[_0x278f('0x73')](_0x3d89ed){for(const _0x3144a7 of this[_0x278f('0x48')][_0x278f('0x7d')]()){const _0x41d529=_0x3144a7[_0x278f('0x7')](_0x3d89ed),_0x1e510c=_0x1c53ff['_createFromRanges'](_0x41d529);_0x3144a7['start']=_0x1e510c[_0x278f('0xcc')],_0x3144a7[_0x278f('0x71')]=_0x1e510c[_0x278f('0x71')];}}[_0x278f('0xd5')](_0x518109,_0x27dddc){if('addRoot'==_0x518109[_0x278f('0xee')]||_0x278f('0xf8')==_0x518109[_0x278f('0xee')])return void this[_0x278f('0xd1')](_0x518109,_0x27dddc);if(_0x278f('0xd6')==_0x518109[_0x278f('0xee')]){const _0x30e314=_0x518109[_0x278f('0xbf')]['root'][_0x278f('0x5f')];this['_diffRoots'][_0x278f('0x85')](_0x30e314)||(this['_diffRoots'][_0x278f('0x1c')](_0x30e314,G(_0x30e314,!0x0)),this[_0x278f('0xae')][_0x278f('0x1c')](_0x30e314,{}),_0x27dddc&&this[_0x278f('0x91')]['set'](_0x30e314,G(_0x30e314,!0x0)));}else{if('addRootAttribute'==_0x518109['type']||'removeRootAttribute'==_0x518109[_0x278f('0xee')]||_0x278f('0xe6')==_0x518109['type'])return void this[_0x278f('0x26')](_0x518109);}const _0x45eea2=this['_cloneOperation'](_0x518109,this['_diffRoots']);if('marker'!==_0x518109[_0x278f('0xee')]&&(_0x45eea2['_execute'](),this[_0x278f('0x73')](_0x45eea2)),_0x27dddc)switch(_0x45eea2[_0x278f('0xee')]){case _0x278f('0xd6'):this[_0x278f('0xa8')](_0x518109);break;case _0x278f('0xdb'):case'remove':case _0x278f('0x2'):this[_0x278f('0x41')](_0x518109);break;case'merge':this[_0x278f('0x55')](_0x518109);break;case'split':this[_0x278f('0x3')](_0x518109);break;case _0x278f('0xd3'):this[_0x278f('0x36')](_0x518109);}}[_0x278f('0xff')](_0x4d18b8,_0x165477){const _0x252e91=_0x4d18b8[_0x278f('0x54')]();return _0x252e91[_0x278f('0x72')]=_0x4d18b8['_authorId'],this['_fixOperation'](_0x252e91,_0x165477),_0x252e91;}[_0x278f('0x9')](_0x517146){return _0x517146['map'](_0x3906a6=>{const _0x3c8110=this['_getVidAttributeName'](_0x3906a6);return Number(_0x3906a6['item'][_0x278f('0xcf')](_0x3c8110));});}[_0x278f('0xc')](_0x16dfb9,_0x5d15e7){if(_0x16dfb9['is'](_0x278f('0x77'),_0x278f('0x32')))_0x5d15e7[_0x278f('0xa2')]({'item':_0x16dfb9,'type':'text'});else{_0x16dfb9['is'](_0x278f('0x77'))&&_0x5d15e7[_0x278f('0xa2')]({'item':_0x16dfb9,'type':_0x278f('0x9a')});for(const _0x183c08 of _0x16dfb9[_0x278f('0xcb')]())this[_0x278f('0xc')](_0x183c08,_0x5d15e7);_0x16dfb9['is'](_0x278f('0x77'))&&_0x5d15e7[_0x278f('0xa2')]({'item':_0x16dfb9,'type':_0x278f('0x81')});}return _0x5d15e7;}['_getState'](){const _0x59ef9c=new Map(this[_0x278f('0x38')]),_0x2042c6=new Map(_0x59ef9c),_0x38ef14=new Map(),_0x2750ec={'insertions':{},'deletions':{}},_0x4ea661={'insertions':{},'deletions':{}},_0x26c74a=new Map(),_0x5f3e50=new Set([...this[_0x278f('0xc3')][_0x278f('0xbd')](),...this[_0x278f('0x49')][_0x278f('0xbd')]()]);_0x5f3e50[_0x278f('0x17')](_0x278f('0x47'));for(const _0xeac258 of _0x5f3e50){const _0x410afa=this[_0x278f('0x49')][_0x278f('0xc7')](_0xeac258)||G(_0xeac258,!0x1),_0x4a625a=this[_0x278f('0xc3')]['get'](_0xeac258)||G(_0xeac258,!0x1);_0x410afa[_0x278f('0x83')]()||_0x4a625a[_0x278f('0x83')]()?(_0x2750ec['insertions'][_0xeac258]=q(_0x410afa),_0x2750ec[_0x278f('0x52')][_0xeac258]=q(_0x4a625a),this[_0x278f('0x39')](_0x2750ec[_0x278f('0x52')][_0xeac258],_0x4a625a),this['_copyMarkers'](_0x2750ec[_0x278f('0x50')][_0xeac258],_0x410afa),_0x4ea661[_0x278f('0x50')][_0xeac258]=this[_0x278f('0xc')](this[_0x278f('0x91')][_0x278f('0xc7')](_0xeac258),[]),_0x4ea661[_0x278f('0x52')][_0xeac258]=this[_0x278f('0xc')](this['_baseIdsRoots'][_0x278f('0xc7')](_0xeac258)||G(_0xeac258,!0x1),[])):_0x5f3e50['delete'](_0xeac258);}for(const _0xc0bb4e of _0x5f3e50){const _0x2a4c78=_0x4ea661[_0x278f('0x50')][_0xc0bb4e];for(const _0x7d8413 of _0x2a4c78){const _0x244d05=this['_getVidAttributeName'](_0x7d8413),_0xf5821b=_0x7d8413[_0x278f('0x34')]['getAttribute'](_0x244d05);_0x2042c6[_0x278f('0x17')](_0xf5821b),_0xf5821b>=this[_0x278f('0xf0')]&&_0x38ef14['set'](_0xf5821b,_0x59ef9c[_0x278f('0xc7')](_0xf5821b));}}for(const _0x346199 of _0x5f3e50){const _0x4ff6f8=_0x4ea661[_0x278f('0x50')][_0x346199],_0x298bbf=this[_0x278f('0x9')](_0x4ea661[_0x278f('0x52')][_0x346199]);let _0xe46833=0x0;for(const _0x3e3c2b of _0x4ff6f8){const _0x54c171=this[_0x278f('0x74')](_0x3e3c2b),_0x377b3a=_0x3e3c2b[_0x278f('0x34')][_0x278f('0xcf')](_0x54c171);if(!_0x38ef14[_0x278f('0x85')](_0x377b3a)&&!_0x26c74a[_0x278f('0x85')](_0x377b3a)){if(_0x2042c6[_0x278f('0x85')](_0x377b3a))_0xe46833++;else{if(_0x377b3a!=_0x298bbf[_0xe46833]){const _0x41bb69=_0x59ef9c[_0x278f('0xc7')](_0x377b3a)||_0x59ef9c[_0x278f('0xc7')](_0x298bbf[_0xe46833]);for(;_0x377b3a!=_0x298bbf[_0xe46833];)_0x2042c6[_0x278f('0x85')](_0x298bbf[_0xe46833])||(_0x26c74a[_0x278f('0x1c')](_0x298bbf[_0xe46833],_0x41bb69),_0x59ef9c['set'](_0x298bbf[_0xe46833],_0x41bb69)),_0xe46833++;}_0xe46833++;}}}}for(const _0x442966 of _0x5f3e50){const _0x65f4e0=_0x4ea661[_0x278f('0x50')][_0x442966];for(const _0x440db2 of _0x65f4e0){const _0x16652c=this['_getVidAttributeName'](_0x440db2),_0x5d278d=_0x440db2[_0x278f('0x34')][_0x278f('0xcf')](_0x16652c);if(_0x26c74a[_0x278f('0x85')](_0x5d278d)){const _0x156fb3=_0x26c74a[_0x278f('0xc7')](_0x5d278d);_0x2042c6[_0x278f('0x85')](_0x5d278d)||_0x2042c6[_0x278f('0x1c')](_0x5d278d,{..._0x156fb3}),_0x38ef14[_0x278f('0x1c')](_0x5d278d,{..._0x156fb3});}}}for(const _0x260e22 of _0x2042c6[_0x278f('0xbd')]())_0x260e22>=this[_0x278f('0xf0')]&&_0x2042c6['delete'](_0x260e22);const _0x391be8=new Map();for(const _0x5b161e of _0x5f3e50){let _0x40a285=_0x4ea661['insertions'][_0x5b161e];for(const _0x599ab8 of _0x40a285)if(_0x599ab8[_0x278f('0x34')]['is']('element',_0x278f('0x107'))){const _0x14dce9=this[_0x278f('0x74')](_0x599ab8),_0x599dbd=_0x599ab8[_0x278f('0x34')]['getAttribute'](_0x14dce9);if(_0x38ef14[_0x278f('0x85')](_0x599dbd)){const _0x189750=_0x599ab8[_0x278f('0x34')]['parent'][_0x278f('0xa4')][_0x278f('0xcf')](_0x278f('0xa0')),_0x5d377e=_0x391be8[_0x278f('0xc7')](_0x189750)||new Set();_0x5d377e[_0x278f('0xfb')](_0x38ef14[_0x278f('0xc7')](_0x599dbd)['userId']),_0x391be8['set'](_0x189750,_0x5d377e);}}_0x40a285=_0x4ea661[_0x278f('0x52')][_0x5b161e];for(const _0x1da3c1 of _0x40a285)if(_0x1da3c1[_0x278f('0x34')]['is'](_0x278f('0x77'),_0x278f('0x107'))){const _0x34ee2f=this[_0x278f('0x74')](_0x1da3c1),_0x436486=_0x1da3c1[_0x278f('0x34')][_0x278f('0xcf')](_0x34ee2f);if(_0x2042c6['has'](_0x436486)){const _0x1bed38=_0x1da3c1[_0x278f('0x34')][_0x278f('0xa4')][_0x278f('0xa4')][_0x278f('0xcf')]('vid_start'),_0x24bf3f=_0x391be8['get'](_0x1bed38)||new Set();_0x24bf3f[_0x278f('0xfb')](_0x2042c6[_0x278f('0xc7')](_0x436486)[_0x278f('0x4')]),_0x391be8[_0x278f('0x1c')](_0x1bed38,_0x24bf3f);}}for(const _0x24d75b of _0x391be8[_0x278f('0xbd')]())(_0x38ef14['has'](_0x24d75b)||_0x2042c6[_0x278f('0x85')](_0x24d75b))&&_0x391be8[_0x278f('0x17')](_0x24d75b);}for(const _0x8d5da9 of _0x5f3e50){const _0x57c077=_0x4ea661[_0x278f('0x50')][_0x8d5da9];let _0x3f0a35=null,_0x373227=null;for(const _0xe94121 of _0x57c077){const _0x2f8693=this[_0x278f('0x74')](_0xe94121),_0x30969c=_0xe94121[_0x278f('0x34')][_0x278f('0xcf')](_0x2f8693),_0x5e21df=_0x391be8[_0x278f('0xc7')](_0x30969c);_0x5e21df&&_0x278f('0x9a')==_0xe94121[_0x278f('0xee')]&&(_0x3f0a35=Array[_0x278f('0xed')](_0x5e21df)[0x0],_0x373227=_0xe94121['item'][_0x278f('0xcf')](_0x278f('0xf4'))),_0x3f0a35&&(_0x2042c6[_0x278f('0x1c')](_0x30969c,{'userId':_0x3f0a35}),_0x38ef14[_0x278f('0x1c')](_0x30969c,{'userId':_0x3f0a35})),_0x30969c==_0x373227&&(_0x3f0a35=null,_0x373227=null);}}const _0x312263={},_0x1baed7=new Set();for(const _0x472287 of _0x5f3e50){const _0x35c638=_0x2750ec[_0x278f('0x52')][_0x472287],_0x4600b7=_0x2750ec[_0x278f('0x50')][_0x472287];for(const {userId:_0x146120}of this['_touchedMarkers'][_0x278f('0x7d')]())null!==_0x146120&&_0x1baed7[_0x278f('0xfb')](_0x146120);for(const {userId:_0x36268c}of this['_touchedRoots'][_0x278f('0x7d')]())null!==_0x36268c&&_0x1baed7[_0x278f('0xfb')](_0x36268c);this[_0x278f('0x101')](_0x4600b7,_0x4ea661['insertions'][_0x472287],_0x38ef14,_0x278f('0xa9'),_0x1baed7),this[_0x278f('0x101')](_0x35c638,_0x4ea661[_0x278f('0x52')][_0x472287],_0x2042c6,_0x278f('0x43'),_0x1baed7),_0x312263[_0x472287]={'insertions':this['_prepareViewToSave'](_0x4600b7),'deletions':this[_0x278f('0x2d')](_0x35c638),'attachChange':this[_0x278f('0x96')][_0x278f('0xc7')](_0x472287)||null,'attributesBefore':_0x297498(this[_0x278f('0xe3')][_0x278f('0xc7')](_0x472287))||{},'attributesAfter':_0x297498(this[_0x278f('0xae')][_0x278f('0xc7')](_0x472287))};}return{'diffData':_0x312263,'authorsIds':Array['from'](_0x1baed7)};}[_0x278f('0xb3')](_0x4ce19b){for(const [,_0x47c839]of _0x4ce19b['markers']){const _0x5becbc=_0x47c839[_0x278f('0xcc')]['getAncestors']()['filter'](_0x5d1f6e=>_0x278f('0x107')==_0x5d1f6e['name']);for(const _0x785d6c of _0x5becbc)0x1==_0x785d6c['childCount']&&_0x785d6c[_0x278f('0x75')](0x0)['is'](_0x278f('0x77'),_0x278f('0x60'))&&_0x785d6c[_0x278f('0x75')](0x0)['_setAttribute'](_0x278f('0xa6'),!0x0);}}['_prepareViewToSave'](_0x199031){this[_0x278f('0xb3')](_0x199031);const _0x565b02=this[_0x278f('0x89')][_0x278f('0x95')]['toView'](_0x199031,{}),_0x276775=Array[_0x278f('0xed')](_0x565b02[_0x278f('0xcb')]())['map'](_0x28fd1c=>this[_0x278f('0x2e')](_0x28fd1c));return JSON[_0x278f('0x10')](_0x276775);}[_0x278f('0x2e')](_0x4bd6ca){if(_0x4bd6ca['is']('$text'))return _0x4bd6ca[_0x278f('0x95')];{const _0x22f86f=_0x4bd6ca;return{'type':Object[_0x278f('0xbd')](B)[_0x278f('0x80')](_0xbac4f2=>_0x4bd6ca instanceof B[_0xbac4f2]),'name':_0x22f86f[_0x278f('0xd8')],'attributes':Array[_0x278f('0xed')](_0x22f86f['getAttributes']()),'children':Array[_0x278f('0xed')](_0x22f86f[_0x278f('0xcb')]())[_0x278f('0x31')](_0x1dae89=>this[_0x278f('0x2e')](_0x1dae89))};}}[_0x278f('0x101')](_0x281c04,_0x403927,_0x27cb12,_0x292b22,_0x4a8b6a){let _0x5a5430=null,_0x18b222=null,_0x38ca2c=0x0;const _0x49aeb4=this[_0x278f('0x89')][_0x278f('0x61')];for(let _0x36afab=0x0;_0x36afab<_0x403927[_0x278f('0x9d')];_0x36afab++){const _0x3c5eba=this[_0x278f('0x74')](_0x403927[_0x36afab]),_0x43e28e=_0x403927[_0x36afab][_0x278f('0x34')][_0x278f('0xcf')](_0x3c5eba),_0x423613=_0x27cb12[_0x278f('0xc7')](_0x43e28e),_0x33eeb2=_0x36afab==_0x403927[_0x278f('0x9d')]-0x1;(!_0x5a5430&&_0x423613&&(_0x5a5430=_0x423613,_0x18b222=_0x403927[_0x36afab]),_0x5a5430&&(!_0x423613||_0x423613[_0x278f('0x4')]!=_0x5a5430[_0x278f('0x4')]))&&(_0x1f5f32(_0x423613,L(_0x18b222,_0x281c04,_0x49aeb4),L(_0x403927[_0x36afab],_0x281c04,_0x49aeb4)),_0x5a5430=_0x423613||null,_0x18b222=_0x423613?_0x403927[_0x36afab]:null),_0x5a5430&&_0x33eeb2&&_0x1f5f32(_0x423613,L(_0x18b222,_0x281c04,_0x49aeb4),W(_0x403927[_0x36afab],_0x281c04,_0x49aeb4));}function _0x1f5f32(_0x4de050,_0x557503,_0x2bdf0f){const _0x297639=_0x5a5430[_0x278f('0x4')],_0x2fea8a='revision:'+_0x292b22+':'+_0x297639+':'+_0x38ca2c++,_0x4f049b=_0x49aeb4[_0x278f('0x2c')](_0x557503,_0x2bdf0f);_0x281c04[_0x278f('0x11')]['set'](_0x2fea8a,_0x4f049b),null!==_0x297639&&_0x4a8b6a[_0x278f('0xfb')](_0x297639);}}[_0x278f('0x74')](_0x404ce8){switch(_0x404ce8[_0x278f('0xee')]){case _0x278f('0x9a'):return _0x278f('0xa0');case'elementEnd':return _0x278f('0xf4');default:return _0x278f('0xc1');}}[_0x278f('0x66')](_0xd87a53,_0x2b4111){_0xd87a53[_0x278f('0xde')]=null;for(const _0x14bfbd in _0xd87a53){const _0x576cea=_0xd87a53[_0x14bfbd];if(_0x576cea instanceof _0x31ab12){const _0x1e3f4c=_0x2b4111['get'](_0x576cea[_0x278f('0x5d')][_0x278f('0x5f')]);_0xd87a53[_0x14bfbd]=this[_0x278f('0xa3')](_0x576cea,_0x1e3f4c);}if(_0x576cea instanceof _0x1c53ff){const _0x338117=_0x2b4111[_0x278f('0xc7')](_0x576cea[_0x278f('0x5d')][_0x278f('0x5f')]);_0xd87a53[_0x14bfbd]=this['_fixRange'](_0x576cea,_0x338117);}'root'===_0x14bfbd&&(_0xd87a53[_0x278f('0x5d')]=_0x2b4111[_0x278f('0xc7')](_0xd87a53['root'][_0x278f('0x5f')]));}}[_0x278f('0xfc')](_0x36d487,_0x56336c){return this[_0x278f('0x89')][_0x278f('0x61')][_0x278f('0x2c')](this['_fixPosition'](_0x36d487[_0x278f('0xcc')],_0x56336c),this[_0x278f('0xa3')](_0x36d487[_0x278f('0x71')],_0x56336c));}['_fixPosition'](_0x2fc073,_0x482247){return this[_0x278f('0x89')][_0x278f('0x61')][_0x278f('0x8e')](_0x482247,_0x2fc073[_0x278f('0xf2')],_0x2fc073[_0x278f('0xaa')]);}[_0x278f('0xa8')](_0x54bf35){const _0x2dff68=this['_idsRoots'][_0x278f('0xc7')](_0x54bf35[_0x278f('0xbf')][_0x278f('0x5d')][_0x278f('0x5f')]),_0x4b26de=this[_0x278f('0xa3')](_0x54bf35[_0x278f('0xbf')],_0x2dff68),_0x50e335=null===_0x54bf35['_authorId']?null:_0x54bf35['_authorId']||this[_0x278f('0x89')][_0x278f('0x76')][_0x278f('0xc7')](_0x278f('0xa7'))['me']['id'],_0x346c0a=_0x4b26de[_0x278f('0xa4')],_0x42d3cf=this[_0x278f('0x5e')],_0x492239=[];for(const _0x3e175c of _0x54bf35['nodes'])if(_0x3e175c['is'](_0x278f('0x77')))_0x492239[_0x278f('0xa2')](this[_0x278f('0x4a')](_0x3e175c));else for(let _0x2dc838=0x0;_0x2dc838<_0x3e175c['offsetSize'];_0x2dc838++)_0x492239[_0x278f('0xa2')](new _0x56b0b7(_0x278f('0x32'),{'vid':this[_0x278f('0x5e')]++}));const _0x28befc=this['_revisionId'];for(let _0x3b312f=_0x42d3cf;_0x3b312f<_0x28befc;_0x3b312f++)this[_0x278f('0x38')]['set'](_0x3b312f,{'userId':_0x50e335});_0x346c0a[_0x278f('0xdf')](_0x4b26de[_0x278f('0x106')],_0x492239);}[_0x278f('0x41')](_0x5dca83){(_0x5dca83=this[_0x278f('0xff')](_0x5dca83,this['_idsRoots']))[_0x278f('0xef')]();const _0x3a6cc6=null===_0x5dca83[_0x278f('0x72')]?null:_0x5dca83[_0x278f('0x72')]||this['editor'][_0x278f('0x76')][_0x278f('0xc7')](_0x278f('0xa7'))['me']['id'],_0x1bc6e7=_0x5dca83[_0x278f('0x57')](),_0x1b30f9=_0x1bc6e7[_0x278f('0xa4')],_0x4548ec=_0x1bc6e7[_0x278f('0x106')];!function _0x5df5ab(_0x2c7ffc,_0x1be661,_0x22813e,_0x20ba3e){for(let _0x29cdfc=_0x22813e;_0x29cdfc<_0x20ba3e;_0x29cdfc++){const _0x33d507=_0x1be661[_0x278f('0x75')](_0x29cdfc);_0x33d507['is'](_0x278f('0x77'),_0x278f('0x32'))?_0x2c7ffc['set'](_0x33d507[_0x278f('0xcf')](_0x278f('0xc1')),{'userId':_0x3a6cc6}):(_0x2c7ffc['set'](_0x33d507[_0x278f('0xcf')]('vid_start'),{'userId':_0x3a6cc6}),_0x5df5ab(_0x2c7ffc,_0x33d507,0x0,_0x33d507[_0x278f('0xb1')]),_0x2c7ffc[_0x278f('0x1c')](_0x33d507[_0x278f('0xcf')](_0x278f('0xf4')),{'userId':_0x3a6cc6}));}}(this[_0x278f('0x38')],_0x1b30f9,_0x4548ec,_0x4548ec+_0x5dca83[_0x278f('0xca')]);}[_0x278f('0x55')](_0x3cfa8f){const _0x20e3b7=null===(_0x3cfa8f=this[_0x278f('0xff')](_0x3cfa8f,this[_0x278f('0x91')]))[_0x278f('0x72')]?null:_0x3cfa8f[_0x278f('0x72')]||this[_0x278f('0x89')][_0x278f('0x76')]['get'](_0x278f('0xa7'))['me']['id'],_0x271d5a=_0x3cfa8f[_0x278f('0x21')][_0x278f('0xa4')],_0xcb635a=_0x3cfa8f[_0x278f('0xeb')][_0x278f('0xa4')],_0x2145e5=_0x271d5a[_0x278f('0xcf')](_0x278f('0xf4')),_0x4253ae=_0xcb635a[_0x278f('0xcf')](_0x278f('0xa0'));_0x271d5a[_0x278f('0x12')]('vid_end',_0xcb635a[_0x278f('0xcf')](_0x278f('0xf4'))),_0xcb635a['_setAttribute'](_0x278f('0xf4'),_0x2145e5),this[_0x278f('0x38')][_0x278f('0x1c')](_0x4253ae,{'userId':_0x20e3b7}),this['_touched'][_0x278f('0x1c')](_0x2145e5,{'userId':_0x20e3b7}),_0x3cfa8f[_0x278f('0xef')]();}[_0x278f('0x3')](_0x2abe59){const _0x5f372e=null===(_0x2abe59=this['_cloneOperation'](_0x2abe59,this[_0x278f('0x91')]))[_0x278f('0x72')]?null:_0x2abe59[_0x278f('0x72')]||this['editor']['plugins'][_0x278f('0xc7')](_0x278f('0xa7'))['me']['id'],_0x347150=_0x2abe59[_0x278f('0x42')],_0x28fe04=_0x2abe59['splitPosition'][_0x278f('0xa4')];_0x2abe59[_0x278f('0xef')]();const _0x3218cf=_0x28fe04['getAttribute'](_0x278f('0xf4')),_0x5661b4=_0x2abe59[_0x278f('0x69')][_0x278f('0x4f')];if(_0x347150){const _0x16b04d=_0x5661b4[_0x278f('0xcf')](_0x278f('0xf4')),_0x4ec9a8=_0x28fe04[_0x278f('0xcf')](_0x278f('0xf4'));_0x28fe04[_0x278f('0x12')](_0x278f('0xf4'),_0x16b04d),_0x5661b4[_0x278f('0x12')](_0x278f('0xf4'),_0x4ec9a8),this[_0x278f('0x38')][_0x278f('0x1c')](_0x28fe04[_0x278f('0xcf')](_0x278f('0xf4')),{'userId':_0x5f372e}),this[_0x278f('0x38')]['set'](_0x5661b4[_0x278f('0xcf')]('vid_start'),{'userId':_0x5f372e});}else{const _0x1f25df=this[_0x278f('0x5e')]++,_0x297c04=this[_0x278f('0x5e')]++;_0x28fe04[_0x278f('0x12')]('vid_end',_0x1f25df),_0x5661b4[_0x278f('0x12')](_0x278f('0xa0'),_0x297c04),_0x5661b4[_0x278f('0x12')](_0x278f('0xf4'),_0x3218cf),this[_0x278f('0x38')][_0x278f('0x1c')](_0x1f25df,{'userId':_0x5f372e}),this[_0x278f('0x38')][_0x278f('0x1c')](_0x297c04,{'userId':_0x5f372e});}}[_0x278f('0x36')](_0x195466){if(!_0x195466[_0x278f('0x5a')])return;const _0x32ed55=(_0x195466=this[_0x278f('0xff')](_0x195466,this[_0x278f('0x49')]))[_0x278f('0xb5')]?_0x195466[_0x278f('0xb5')][_0x278f('0x5d')]:null,_0x5714fa=_0x195466[_0x278f('0x90')]?_0x195466[_0x278f('0x90')][_0x278f('0x5d')]:null;_0x32ed55&&this[_0x278f('0x48')][_0x278f('0x17')](_0x195466[_0x278f('0xd8')]),_0x5714fa&&this[_0x278f('0x48')][_0x278f('0x1c')](_0x195466[_0x278f('0xd8')],_0x195466[_0x278f('0x90')][_0x278f('0x54')]());const _0x423217=null===_0x195466[_0x278f('0x72')]?null:_0x195466[_0x278f('0x72')]||this[_0x278f('0x89')][_0x278f('0x76')][_0x278f('0xc7')](_0x278f('0xa7'))['me']['id'],_0x3205bf=_0x195466[_0x278f('0xd8')];if(!this[_0x278f('0x6c')]['has'](_0x3205bf))return void this[_0x278f('0x6c')][_0x278f('0x1c')](_0x3205bf,{'range':_0x195466[_0x278f('0xb5')],'userId':_0x423217});const _0x2ec8f6=this[_0x278f('0x6c')]['get'](_0x3205bf),_0x39b815=_0x2ec8f6[_0x278f('0xe1')],_0x6cc0e3=_0x195466[_0x278f('0x90')];null==_0x39b815&&null==_0x6cc0e3||_0x39b815&&_0x6cc0e3&&_0x39b815[_0x278f('0x65')](_0x6cc0e3)?this['_touchedMarkers'][_0x278f('0x17')](_0x195466[_0x278f('0xd8')]):_0x2ec8f6[_0x278f('0x4')]=_0x423217;}['_handleRootOperation'](_0xb51cc6,_0x1424a3){this[_0x278f('0x49')]['has'](_0xb51cc6['rootName'])?this[_0x278f('0x49')][_0x278f('0xc7')](_0xb51cc6[_0x278f('0x5f')])[_0x278f('0x46')]=_0xb51cc6[_0x278f('0x99')]:(this[_0x278f('0x49')][_0x278f('0x1c')](_0xb51cc6[_0x278f('0x5f')],G(_0xb51cc6[_0x278f('0x5f')],!0x0)),this[_0x278f('0xae')][_0x278f('0x1c')](_0xb51cc6['rootName'],{}),_0x1424a3&&this[_0x278f('0x91')][_0x278f('0x1c')](_0xb51cc6[_0x278f('0x5f')],G(_0xb51cc6['rootName'],!0x0)));const _0x16fec5=null===_0xb51cc6[_0x278f('0x72')]?null:_0xb51cc6[_0x278f('0x72')]||this['editor'][_0x278f('0x76')][_0x278f('0xc7')](_0x278f('0xa7'))['me']['id'],_0x324cb6=this[_0x278f('0x96')][_0x278f('0xc7')](_0xb51cc6[_0x278f('0x5f')]);_0x324cb6&&_0x324cb6[_0x278f('0x4')]===_0x16fec5?this['_touchedRoots'][_0x278f('0x17')](_0xb51cc6[_0x278f('0x5f')]):this[_0x278f('0x96')]['set'](_0xb51cc6['rootName'],{'userId':_0x16fec5,'isAttached':_0xb51cc6[_0x278f('0x99')]});}['_handleRootAttributeOperation'](_0x511804){const _0x568b9c=this[_0x278f('0xae')][_0x278f('0xc7')](_0x511804['root'][_0x278f('0x5f')]);null===_0x511804[_0x278f('0xab')]?delete _0x568b9c[_0x511804['key']]:_0x568b9c[_0x511804[_0x278f('0x40')]]=_0x511804[_0x278f('0xab')];}}function q(_0x2b619e){const _0xe38180=G(_0x2b619e[_0x278f('0x5f')],_0x2b619e[_0x278f('0x83')]());for(const _0x1d562a of _0x2b619e[_0x278f('0xcb')]()){const _0x5f07e3=_0x1d562a[_0x278f('0xf6')](!0x0);_0xe38180[_0x278f('0x4d')](_0x5f07e3);}return _0xe38180;}function G(_0x25662d,_0x40c140=!0x0){const _0x37c7b3=new _0x5ab8b3();return _0x37c7b3['rootName']=_0x25662d,_0x37c7b3[_0x278f('0x46')]=_0x40c140,_0x37c7b3[_0x278f('0x83')]=()=>_0x37c7b3[_0x278f('0x46')],_0x37c7b3;}function L(_0x58f0c7,_0x5851d1,_0x561f8a){const _0x276e67=_0x278f('0x81')==_0x58f0c7['type']?_0x561f8a[_0x278f('0xe8')](_0x58f0c7['item'],_0x278f('0x71')):_0x561f8a['createPositionBefore'](_0x58f0c7[_0x278f('0x34')]);return _0x561f8a[_0x278f('0x8e')](_0x5851d1,_0x276e67[_0x278f('0xf2')],_0x276e67[_0x278f('0xaa')]);}function W(_0x35d4c5,_0x2d22d9,_0x5aa978){const _0x5ba174='elementStart'==_0x35d4c5[_0x278f('0xee')]?_0x5aa978[_0x278f('0xe8')](_0x35d4c5[_0x278f('0x34')],0x0):_0x5aa978[_0x278f('0x4e')](_0x35d4c5[_0x278f('0x34')]);return _0x5aa978[_0x278f('0x8e')](_0x2d22d9,_0x5ba174[_0x278f('0xf2')],_0x5ba174[_0x278f('0xaa')]);}
|
|
23
|
+
const _0x293f=['_getVidAttributeName','_insertChild','addRoot','resolve','splitPosition','attributesBefore','repository','_findInsertionIndex','_copyMarkers','locale','insertion','_operations','_source','userId','move','_baseIdsRoots','children','start','$graveyard','has','getMovedRangeStart','reverse','collaboration.channelId','dataDowncast','Initial\x20revision','source','range','fromEntries','getNodeByPath','conversion','createPositionAt','Empty\x20document','push','Users','length','_makeRevision','attachChange','from','bind','getUser','addRevisionData','_handleRootAttributeOperation','changeRootAttribute','offsetSize','model','_createFromRanges','path','_makeModelFromViewString','getIndex','_markChanges','rootName','createPositionBefore','getRange','_generateTape','_diffRootsAttributes','RevisionTracker','_handleRootOperation','_update','_revisionDataBuilder','_continueCurrentRevision','afterInit','toData','stringify','root','_fixPosition','RealTimeCollaborationClient','get','toVersion','documentFragment','for','createPositionFromPath','insert','plugins','name','oldRange','_bufferUpdate','initialData','_setConversion','revision','insertions','_authorId','_bufferedUpdates','markers','vid_start','parse','end','_applyOperations','createRangeIn','authors','_savedMetaData','then','getAncestors','_clone','item','_isPendingUpdate','roots','authorsIds','_isAttached','toModel','data','element','attributes','tableCell','filter','isAdd','version','_handleOperation','isEqual','history','sourcePosition','map','view','_initialRevisionId','size','_calculateMetaData','childCount','isEnabled','marked','buildRevisionData','max','createRange','some','_isInit','update','elementStart','createRevision','default','_processRootBeforeSave','_createCurrentRevision','clone','document','keepParagraph','removeRootAttribute','offset','values','_handleMarkerOperation','_startingVersion','currentRevision','_idsRoots','getWalker','getTime','position','setSource','type','getLatestVersion','define','_startingRevisionId','_diffRoots','_loadRevisionData','rootsAttributes','_saveMetaData','slice','revision:','_loadState','_removePendingAction','split','getData','sendBufferedUpdates','reInit','_getBaseVids','keys','getChild','processor','getChildren','getOperation','_setAttribute','getRoot','_markers','baseVersion','$text','find','_transformMarkers','setRevisionData','_makeIdsRoot','initial','_reset','getCurrentRevisionId','startsWith','toView','getOperations','_handleInsertOperation','isReady','config','attributesAfter','_fixOperation','deletions','useFillerType','key','init','_baseRoots','_getFromVersion','detachRoot','parent','isAttached','getAttributes','paragraph','delete','_handleSplitOperation','getRevisions','revision-end','forEach','_revisionId','adapter','_touchedRoots','clear','createdAt','marker','vid_end','saveRevision','editor-initial-data-replaced-with-revision-data','remove','includes','_prepareViewToSave','pluginName','getTransformedByOperation','revisionHistory.resumeUnsavedRevision','reinsert','howMany','_pendingAction','_baseRootsAttributes','_getState','newValue','_createInitialRevision','nodes','_addPendingAction','updateRevisions','_removeRevisionMarkers','stickiness','_lastFrom','fromVersion','_getViewJson','elementEnd','vid','add','requires','string','_cloneOperation','_getPreviousFrom','_lastTo','shift','getRevisionDocumentData','_touched','diffData','loadState','_touchedMarkers','NEGATIVE_INFINITY','_replaceEditorDataWithRevisionData','upcast','previousPosition','createPositionAfter','creatorId','editing','getRootNames','merge','creator','_execute','_loadedStateData','graveyardPosition','getRevision','_fixRange','set','_handleMergeOperation','getAttribute','newRange','PENDING_ACTION_REVISION_HISTORY','editor'];(function(_0x30ad6a,_0x293f7f){const _0x2b1f5d=function(_0x3ddb9f){while(--_0x3ddb9f){_0x30ad6a['push'](_0x30ad6a['shift']());}};_0x2b1f5d(++_0x293f7f);}(_0x293f,0x130));const _0x2b1f=function(_0x30ad6a,_0x293f7f){_0x30ad6a=_0x30ad6a-0x0;let _0x2b1f5d=_0x293f[_0x30ad6a];return _0x2b1f5d;};import{Users as _0x1cda21}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x22a70d,PendingActions as _0x56b82e}from'ckeditor5/src/core';import{logWarning as _0x2a73cc,uid as _0x3de290}from'ckeditor5/src/utils';import{Position as _0x197ee7,Range as _0x2ff7d4,Element as _0x30bfde,DocumentFragment as _0x2bfc66,ViewText as _0x16bf16,ViewElement as _0x442f78,ViewContainerElement as _0x552a5a,ViewAttributeElement as _0x1875ec,ViewEmptyElement as _0xb2074b,ViewRawElement as _0x147958,ViewUIElement as _0x21375e,ViewDocumentFragment as _0x117ac4}from'ckeditor5/src/engine';import _0x545dd8 from'./revisionsrepository';import{getTranslation as _0x200b74}from'./utils/common-translations';import{cloneDeep as _0xf2b218,isEqual as _0x117b78}from'lodash-es';const B={'c':_0x552a5a,'a':_0x1875ec,'e':_0xb2074b,'r':_0x147958,'u':_0x21375e};export default class l extends _0x22a70d{static get[_0x2b1f('0xaf')](){return _0x2b1f('0x11');}static get[_0x2b1f('0xc4')](){return[_0x1cda21,_0x545dd8,_0x56b82e];}constructor(_0xad5e33){super(_0xad5e33),this[_0x2b1f('0xa4')]=null,this[_0x2b1f('0x63')]=null,this['_revisionDataBuilder']=new H(this[_0x2b1f('0xe3')]),this[_0x2b1f('0x4a')]=this['editor'][_0x2b1f('0x90')][_0x2b1f('0x1c')](_0x2b1f('0xfa'))||_0x2b1f('0x88'),this['_bufferedUpdates']=new Map(),this[_0x2b1f('0xda')]=null;const _0x542e16=_0x3de290();this[_0x2b1f('0xf0')]={'history':this[_0x2b1f('0xe3')]['model'][_0x2b1f('0x5c')][_0x2b1f('0x46')],'getLatestVersion':()=>Promise[_0x2b1f('0xe7')](this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x5c')][_0x2b1f('0x43')]),'getCurrentRevisionId':()=>_0x542e16},this[_0x2b1f('0xde')](_0x2b1f('0x8f'),!0x1),this[_0x2b1f('0xde')](_0x2b1f('0x4e'),!0x0),this[_0x2b1f('0xde')](_0x2b1f('0x38'),!0x1),this['editor'][_0x2b1f('0x90')][_0x2b1f('0x6b')](_0x2b1f('0xb1'),!0x0),this['editor'][_0x2b1f('0x101')][_0x2b1f('0x1f')](_0x2b1f('0xd1'))['dataToMarker']({'view':_0x2b1f('0x28')});}[_0x2b1f('0x96')](){this[_0x2b1f('0xea')]=this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')]('RevisionsRepository'),this[_0x2b1f('0x27')](),this['editor'][_0x2b1f('0x3d')]['on']('ready',()=>{const _0x13015d=this[_0x2b1f('0xea')]['getRevision'](0x0),_0x94e9d=_0x13015d&&null===_0x13015d[_0x2b1f('0xd8')]?_0x13015d:null;if(this[_0x2b1f('0x15')]=!!_0x94e9d&&this[_0x2b1f('0xe3')]['config']['get'](_0x2b1f('0xb1')),this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0xf7')](_0x2b1f('0x1b'))){const _0x33ed33=this[_0x2b1f('0xf0')][_0x2b1f('0x8a')](),_0x30cd5e=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x33ed33);if(_0x30cd5e)this['_startingVersion']=_0x30cd5e[_0x2b1f('0xbf')],this['_continueCurrentRevision']=!0x1;else{const _0x22b567=this['_source'][_0x2b1f('0x46')][_0x2b1f('0xef')]['find'](_0x36000c=>!_0x36000c[_0x2b1f('0x54')]),_0x15338a=_0x22b567?_0x22b567[_0x2b1f('0x82')]:this[_0x2b1f('0xf0')][_0x2b1f('0x46')][_0x2b1f('0x43')];_0x13015d?(_0x13015d[_0x2b1f('0x1d')]<_0x15338a&&_0x13015d[_0x2b1f('0x13')]({'toVersion':_0x15338a}),this[_0x2b1f('0x15')]?(this[_0x2b1f('0xf0')][_0x2b1f('0x8a')]=()=>_0x94e9d['id'],this['_startingVersion']=_0x94e9d[_0x2b1f('0xbf')]):(this[_0x2b1f('0x62')]=_0x13015d['toVersion'],this[_0x2b1f('0x15')]=!0x1)):(this[_0x2b1f('0x62')]=_0x15338a,this[_0x2b1f('0x15')]=!0x1);}}else _0x94e9d&&(this[_0x2b1f('0xe3')]['model'][_0x2b1f('0x5c')][_0x2b1f('0x46')][_0x2b1f('0x43')]=Math[_0x2b1f('0x51')](_0x94e9d[_0x2b1f('0x1d')],this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x5c')][_0x2b1f('0x46')][_0x2b1f('0x43')]),_0x94e9d[_0x2b1f('0xbf')]===_0x94e9d[_0x2b1f('0x1d')]?(0x0!==_0x94e9d[_0x2b1f('0xbf')]&&(this['_source']['getCurrentRevisionId']=()=>_0x94e9d['id']),this[_0x2b1f('0x15')]=!0x1):this['_continueCurrentRevision']&&(this[_0x2b1f('0xf0')][_0x2b1f('0x8a')]=()=>_0x94e9d['id'],this['_startingVersion']=_0x94e9d['fromVersion'])),this[_0x2b1f('0x15')]||(this[_0x2b1f('0x62')]=this[_0x2b1f('0xe3')]['model'][_0x2b1f('0x5c')][_0x2b1f('0x43')]);this[_0x2b1f('0x14')][_0x2b1f('0x96')](this[_0x2b1f('0xf0')][_0x2b1f('0x46')]),this[_0x2b1f('0xb8')](this[_0x2b1f('0x62')]),this[_0x2b1f('0x5a')](this[_0x2b1f('0x62')]),this[_0x2b1f('0xa4')]&&this[_0x2b1f('0x77')]();}),this[_0x2b1f('0x0')](_0x2b1f('0x8f'))['to'](this,_0x2b1f('0x38'),_0x461cfd=>!_0x461cfd);}async[_0x2b1f('0x16')](){if(this[_0x2b1f('0xea')]['length']>0x0){const _0x351c48=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](0x0),_0x34da33=await this[_0x2b1f('0xca')](_0x351c48),_0x5934bd=await this['getRevisionRootsAttributes'](_0x351c48);this[_0x2b1f('0xd0')](_0x34da33,_0x5934bd);}}[_0x2b1f('0x68')](_0x204105){this[_0x2b1f('0xf0')]=_0x204105;}async[_0x2b1f('0x55')](){const _0x406bbc=await this[_0x2b1f('0xf0')]['getLatestVersion']();if(_0x406bbc>this[_0x2b1f('0x63')][_0x2b1f('0x1d')]){await this[_0x2b1f('0x73')]();const _0x177aa4=this[_0x2b1f('0x50')]({'revision':this['currentRevision'],'to':_0x406bbc});_0x177aa4[_0x2b1f('0x32')]=_0x177aa4[_0x2b1f('0x3a')][_0x2b1f('0x48')](_0x75b60e=>this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')]('Users')[_0x2b1f('0x1')](_0x75b60e)),this[_0x2b1f('0x63')]['_update'](_0x177aa4);}}async[_0x2b1f('0x73')](){this[_0x2b1f('0x15')]&&!this['_loadedStateData']&&(await this[_0x2b1f('0x6e')](this[_0x2b1f('0x63')]),this[_0x2b1f('0x14')][_0x2b1f('0xcd')](this[_0x2b1f('0x63')]),this[_0x2b1f('0xda')]={'fromVersion':this[_0x2b1f('0x63')][_0x2b1f('0xbf')],'authors':this[_0x2b1f('0x63')][_0x2b1f('0x32')][_0x2b1f('0x71')]()});}async[_0x2b1f('0xaa')](_0x371cd0={},_0x481d3c=null){const _0x51d6c7=[];await this[_0x2b1f('0x73')](),this['_continueCurrentRevision']=!0x1,_0x481d3c>this[_0x2b1f('0x63')]['toVersion']&&(_0x481d3c=null),null===_0x481d3c&&(_0x481d3c=await this[_0x2b1f('0xf0')][_0x2b1f('0x6a')]());const _0x4bf41a=this[_0x2b1f('0x98')](_0x481d3c),_0x49ee48=this[_0x2b1f('0x50')]({'from':_0x4bf41a,'to':_0x481d3c});if(this['currentRevision'][_0x2b1f('0x1d')]<_0x481d3c){const _0x20ff93=this[_0x2b1f('0x50')]({'revision':this[_0x2b1f('0x63')],'from':_0x481d3c,'to':_0x481d3c});_0x20ff93[_0x2b1f('0x32')]=[],_0x20ff93[_0x2b1f('0x3a')]=[],_0x20ff93['id']=this[_0x2b1f('0x63')]['id'],this[_0x2b1f('0x63')][_0x2b1f('0x13')](_0x20ff93,!0x0),delete _0x20ff93[_0x2b1f('0x32')],_0x51d6c7[_0x2b1f('0x104')](_0x20ff93);}_0x371cd0[_0x2b1f('0xd4')]=this['editor'][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x371cd0['name']=_0x371cd0[_0x2b1f('0x23')]||null,_0x371cd0['id']=_0x371cd0['id']||_0x3de290(),_0x371cd0={..._0x371cd0,..._0x49ee48};const _0x48dcd9=this[_0x2b1f('0x2')](_0x371cd0);_0x51d6c7[_0x2b1f('0x104')](_0x371cd0);const _0x40b6d9=this['repository'][_0x2b1f('0xa')](_0x48dcd9);if(0x0!==_0x40b6d9){const _0x1fa3e8=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x40b6d9-0x1);if(_0x1fa3e8[_0x2b1f('0xbf')]!==_0x481d3c){const _0x13b8c4=this[_0x2b1f('0x14')][_0x2b1f('0x76')](_0x481d3c,_0x1fa3e8['toVersion']),_0x351e65={'id':_0x1fa3e8['id'],'diffData':_0x13b8c4[_0x2b1f('0xcc')],'authorsIds':_0x13b8c4[_0x2b1f('0x3a')],'authors':_0x13b8c4[_0x2b1f('0x3a')][_0x2b1f('0x48')](_0x4e540a=>this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))[_0x2b1f('0x1')](_0x4e540a)),'fromVersion':_0x481d3c};_0x1fa3e8===this[_0x2b1f('0x63')]&&(_0x351e65['createdAt']=new Date(_0x371cd0[_0x2b1f('0xa7')][_0x2b1f('0x66')]()+0xa)),_0x1fa3e8[_0x2b1f('0x13')](_0x351e65,!0x0),delete _0x351e65[_0x2b1f('0x32')],_0x51d6c7[_0x2b1f('0x104')](_0x351e65);}}if(this[_0x2b1f('0xa4')]){for(const _0x4f6313 of _0x51d6c7)this[_0x2b1f('0x25')](_0x4f6313['id'],_0x4f6313,!0x0);this[_0x2b1f('0x77')]();}return _0x48dcd9;}['addRevisionData'](_0x41b741){const _0x1b32bd=this['repository'][_0x2b1f('0x57')](_0x41b741);return this['adapter']&&_0x1b32bd['on'](_0x2b1f('0x13'),(_0x30f621,_0x339781,_0x4f555b)=>{_0x4f555b||(this[_0x2b1f('0x25')](_0x339781['id'],_0x339781,!0x0),this[_0x2b1f('0x77')]());}),this[_0x2b1f('0xea')]['addRevision'](_0x1b32bd,this[_0x2b1f('0xeb')](_0x1b32bd)),_0x1b32bd;}async[_0x2b1f('0xca')](_0x2c2ea3){await this[_0x2b1f('0x6e')](_0x2c2ea3);const _0x529689={};for(const _0x54ae13 in _0x2c2ea3[_0x2b1f('0xcc')]){if(_0x2c2ea3[_0x2b1f('0xcc')][_0x54ae13][_0x2b1f('0x108')]&&!_0x2c2ea3[_0x2b1f('0xcc')][_0x54ae13]['attachChange']['isAttached'])continue;const _0x6663b4=this['_removeRevisionMarkers'](JSON[_0x2b1f('0x2e')](_0x2c2ea3['diffData'][_0x54ae13][_0x2b1f('0x29')])),_0x458f97=this[_0x2b1f('0xe3')]['editing'][_0x2b1f('0x49')]['document'],_0x326bb4=new _0x117ac4(_0x458f97,_0x6663b4['map'](_0x4c8b89=>J(_0x4c8b89,this[_0x2b1f('0xe3')])));this['editor']['data'][_0x2b1f('0x7c')][_0x2b1f('0x94')](_0x2b1f('0x4f')),_0x529689[_0x54ae13]=this['editor'][_0x2b1f('0x3d')][_0x2b1f('0x7c')][_0x2b1f('0x17')](_0x326bb4),this[_0x2b1f('0xe3')][_0x2b1f('0x3d')][_0x2b1f('0x7c')]['useFillerType'](_0x2b1f('0x58'));}return _0x529689;}async['getRevisionRootsAttributes'](_0xdb326){await this['_loadRevisionData'](_0xdb326);const _0x361f63={};for(const _0x5799c5 in _0xdb326['diffData'])_0xdb326[_0x2b1f('0xcc')][_0x5799c5][_0x2b1f('0x108')]&&!_0xdb326[_0x2b1f('0xcc')][_0x5799c5]['attachChange']['isAttached']||(_0x361f63[_0x5799c5]=_0xdb326[_0x2b1f('0xcc')][_0x5799c5][_0x2b1f('0x91')]||{});return _0x361f63;}[_0x2b1f('0x77')](){if(0x0===this[_0x2b1f('0x2b')][_0x2b1f('0x4b')])return;if(this[_0x2b1f('0x38')])return;let _0x1a80ce=Array[_0x2b1f('0x109')](this[_0x2b1f('0x2b')][_0x2b1f('0x60')]());this['_bufferedUpdates']['clear']();for(let _0x2426d0=0x0;_0x2426d0<_0x1a80ce[_0x2b1f('0x106')];_0x2426d0++){const _0x24c163=_0x1a80ce[_0x2426d0];let _0x1500ab=!0x1;for(const _0x1d5d46 of Object[_0x2b1f('0x7a')](_0x24c163))void 0x0===_0x24c163[_0x1d5d46]?delete _0x24c163[_0x1d5d46]:'id'!==_0x1d5d46&&(_0x1500ab=!0x0);_0x1500ab||(_0x1a80ce[_0x2426d0]=null);}if(_0x1a80ce=_0x1a80ce[_0x2b1f('0x41')](_0x432a0c=>null!==_0x432a0c),!_0x1a80ce[_0x2b1f('0x106')])return;for(let _0x35205d=0x0;_0x35205d<_0x1a80ce[_0x2b1f('0x106')];_0x35205d++){const _0x57ce16=_0x1a80ce[_0x35205d];void 0x0!==_0x57ce16[_0x2b1f('0xbf')]&&void 0x0===_0x57ce16[_0x2b1f('0x1d')]&&(_0x57ce16[_0x2b1f('0x1d')]=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x57ce16['id'])[_0x2b1f('0x1d')]),void 0x0!==_0x57ce16[_0x2b1f('0x1d')]&&void 0x0===_0x57ce16[_0x2b1f('0xbf')]&&(_0x57ce16[_0x2b1f('0xbf')]=this['repository'][_0x2b1f('0xdc')](_0x57ce16['id'])[_0x2b1f('0xbf')]);}const _0x1d7d86=this[_0x2b1f('0xe3')][_0x2b1f('0x90')]['get']('collaboration.channelId');this[_0x2b1f('0x38')]=!0x0,this[_0x2b1f('0xba')](),this[_0x2b1f('0xa4')][_0x2b1f('0xbb')](_0x1a80ce,_0x1d7d86)['finally'](()=>{this['_isPendingUpdate']=!0x1;})[_0x2b1f('0x34')](_0x124bb8=>{if(_0x124bb8)for(const _0x48f460 of _0x124bb8)this[_0x2b1f('0x86')]({'id':_0x48f460['id'],'createdAt':_0x48f460[_0x2b1f('0xa7')]});this[_0x2b1f('0x74')](),this['sendBufferedUpdates']();});}[_0x2b1f('0xd0')](_0x3a271c,_0x56426e){let _0x5edacf=this[_0x2b1f('0xe3')][_0x2b1f('0x90')][_0x2b1f('0x1c')](_0x2b1f('0x26')),_0x4ac5a3=this[_0x2b1f('0xe3')][_0x2b1f('0x90')][_0x2b1f('0x1c')](_0x2b1f('0x6f'));if(void 0x0===_0x5edacf){_0x5edacf={};for(const _0x1e45cd of this['editor'][_0x2b1f('0x6')][_0x2b1f('0x5c')]['getRootNames']())_0x5edacf[_0x1e45cd]='';}if(_0x2b1f('0xc5')==typeof _0x5edacf&&(_0x5edacf={'main':_0x5edacf}),void 0x0===_0x4ac5a3){_0x4ac5a3={};for(const _0x120ed7 of this['editor'][_0x2b1f('0x6')][_0x2b1f('0x5c')][_0x2b1f('0xd6')]())_0x4ac5a3[_0x120ed7]={};}let _0x1f8ad2=!0x1;const _0x117e3f=Object[_0x2b1f('0x7a')](_0x5edacf),_0x3dd91f=Object['keys'](_0x3a271c);for(const _0x39346d of _0x117e3f){if(_0x5edacf[_0x39346d]!==_0x3a271c[_0x39346d]&&''!==_0x5edacf[_0x39346d]['trim']()){_0x1f8ad2=!0x0;break;}if(!_0x117b78(_0x4ac5a3[_0x39346d],_0x56426e[_0x39346d])&&Object[_0x2b1f('0x7a')](_0x4ac5a3[_0x39346d])[_0x2b1f('0x106')]>0x0){_0x1f8ad2=!0x0;break;}}_0x1f8ad2||(_0x1f8ad2=_0x3dd91f[_0x2b1f('0x53')](_0x1748a9=>!this['editor']['model'][_0x2b1f('0x5c')][_0x2b1f('0x80')](_0x1748a9))),_0x1f8ad2&&_0x2a73cc(_0x2b1f('0xab'),{'editorData':_0x5edacf,'editorRootsAttributes':_0x4ac5a3,'revisionData':_0x3a271c,'revisionRootsAttributes':_0x56426e}),this['editor'][_0x2b1f('0x90')][_0x2b1f('0xde')](_0x2b1f('0x26'),_0x3a271c),this[_0x2b1f('0xe3')][_0x2b1f('0x90')][_0x2b1f('0xde')](_0x2b1f('0x6f'),_0x56426e);}[_0x2b1f('0xba')](){if(!this[_0x2b1f('0xb4')]){const _0x2b78ef=this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')]('PendingActions');this['_pendingAction']=_0x2b78ef[_0x2b1f('0xc3')](_0x200b74(this[_0x2b1f('0xe3')][_0x2b1f('0xed')],_0x2b1f('0xe2')));}}[_0x2b1f('0x74')](){this[_0x2b1f('0xb4')]&&(this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')]('PendingActions')[_0x2b1f('0xac')](this[_0x2b1f('0xb4')]),this[_0x2b1f('0xb4')]=null);}[_0x2b1f('0xeb')](_0x523b40){const _0x377ffe=this['repository']['getRevisions']();_0x377ffe[_0x2b1f('0xf9')]();let _0x17ac71=0x0;for(;_0x17ac71<_0x377ffe[_0x2b1f('0x106')];){const _0x23bfe7=_0x377ffe[_0x17ac71];if(_0x23bfe7===this[_0x2b1f('0x63')]){_0x17ac71++;continue;}if(_0x23bfe7['id']===this[_0x2b1f('0x4a')])break;const _0x3e898c=_0x523b40[_0x2b1f('0x1d')]-_0x23bfe7[_0x2b1f('0x1d')]||_0x523b40[_0x2b1f('0xbf')]-_0x23bfe7[_0x2b1f('0xbf')];if(_0x3e898c>0x0)break;if(_0x3e898c<0x0)_0x17ac71++;else{if(!_0x523b40[_0x2b1f('0xd8')]&&_0x23bfe7['creator'])break;if(_0x23bfe7[_0x2b1f('0xd8')]||!_0x523b40['creator']){if(_0x523b40[_0x2b1f('0xa7')]>_0x23bfe7[_0x2b1f('0xa7')])break;_0x17ac71++;}else _0x17ac71++;}}return _0x17ac71;}[_0x2b1f('0x86')](_0x3a35f0){const _0x410b6c=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x3a35f0['id']);if(_0x3a35f0[_0x2b1f('0xa7')]&&(_0x3a35f0[_0x2b1f('0xa7')]=new Date(_0x3a35f0['createdAt'])),_0x3a35f0['authorsIds']){const _0x44f6db=this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')](_0x2b1f('0x105'));_0x3a35f0[_0x2b1f('0x32')]=_0x3a35f0[_0x2b1f('0x3a')]['map'](_0x5eb51c=>_0x44f6db['getUser'](_0x5eb51c));}_0x410b6c[_0x2b1f('0x13')](_0x3a35f0,!0x0);}[_0x2b1f('0x50')]({revision:_0xe61310=null,from:_0x129918=null,to:_0x37301e=null}){_0x129918=null!==_0x129918?_0x129918:_0xe61310[_0x2b1f('0xbf')],_0x37301e=null!==_0x37301e?_0x37301e:_0xe61310['toVersion'];const _0x3fda18=this[_0x2b1f('0x14')][_0x2b1f('0x76')](_0x129918,_0x37301e),_0x181f77={'diffData':_0x3fda18['diffData'],'authorsIds':_0x3fda18[_0x2b1f('0x3a')],'fromVersion':_0x129918,'toVersion':_0x37301e};if(!_0xe61310||_0x37301e!==_0xe61310[_0x2b1f('0x1d')]){const _0x3e147a=_0x37301e-0x1,_0x2906bf=this[_0x2b1f('0xf0')][_0x2b1f('0x46')][_0x2b1f('0x7e')](_0x3e147a);_0x181f77[_0x2b1f('0xa7')]=_0x2906bf&&_0x2906bf['createdAt']||new Date();}if(this[_0x2b1f('0xda')]&&_0x129918===this[_0x2b1f('0xda')][_0x2b1f('0xbf')])for(const _0x598048 of this[_0x2b1f('0xda')][_0x2b1f('0x32')])_0x181f77[_0x2b1f('0x3a')][_0x2b1f('0xad')](_0x598048['id'])||_0x181f77[_0x2b1f('0x3a')][_0x2b1f('0x104')](_0x598048['id']);return _0x181f77;}[_0x2b1f('0x6e')](_0x10c7e9){if(!_0x10c7e9||_0x10c7e9[_0x2b1f('0xcc')])return Promise['resolve']();{const _0x53c7a7=this[_0x2b1f('0xe3')][_0x2b1f('0x90')][_0x2b1f('0x1c')](_0x2b1f('0xfa'));return this[_0x2b1f('0xa4')]['getRevision']({'channelId':_0x53c7a7,'revisionId':_0x10c7e9['id']})['then'](_0x4f1e74=>{_0x10c7e9[_0x2b1f('0xcc')]=_0x4f1e74[_0x2b1f('0xcc')];});}}[_0x2b1f('0x25')](_0xf6166b,_0x39b2ed,_0xd51f16){if(this['_bufferedUpdates']['has'](_0xf6166b)){const _0x3f1675=this[_0x2b1f('0x2b')][_0x2b1f('0x1c')](_0xf6166b);_0x39b2ed=_0xd51f16?{..._0x3f1675,..._0x39b2ed}:{..._0x39b2ed,..._0x3f1675};}this[_0x2b1f('0x2b')][_0x2b1f('0xde')](_0xf6166b,_0x39b2ed);}[_0x2b1f('0x98')](_0x86f53){const _0x4cf88f=this[_0x2b1f('0xea')][_0x2b1f('0xa0')]();_0x4cf88f[_0x2b1f('0xf9')](),_0x4cf88f[_0x2b1f('0xc9')]();const _0x5ba821=_0x4cf88f['find'](_0x255b50=>_0x255b50['toVersion']<=_0x86f53)['toVersion'];return _0x5ba821<this[_0x2b1f('0x62')]?this[_0x2b1f('0x62')]:_0x5ba821;}[_0x2b1f('0xb8')](_0x451c6d){const _0x3dda97=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](this[_0x2b1f('0xea')][_0x2b1f('0x106')]-0x1);if(_0x3dda97)this[_0x2b1f('0x4a')]=_0x3dda97['id'];else{const _0xa0fe18=!this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x5c')][_0x2b1f('0x39')][_0x2b1f('0x84')](_0x4bea9f=>this[_0x2b1f('0xe3')]['model']['hasContent'](_0x4bea9f)),_0x3bf7b4=this[_0x2b1f('0xe3')][_0x2b1f('0x22')]['get'](_0x2b1f('0x105'))['me']['id'],_0x11daa0=_0x200b74(this[_0x2b1f('0xe3')][_0x2b1f('0xed')],_0xa0fe18?_0x2b1f('0x103'):_0x2b1f('0xfc'));this['_makeRevision']({'from':_0x451c6d,'to':_0x451c6d,'id':this[_0x2b1f('0x4a')],'name':_0x11daa0,'creatorId':_0x3bf7b4});}}[_0x2b1f('0x5a')](_0x2b4687){const _0x3d6c9f=this[_0x2b1f('0xf0')][_0x2b1f('0x8a')]();this[_0x2b1f('0x63')]=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x3d6c9f),this[_0x2b1f('0x63')]||(this['currentRevision']=this['_makeRevision']({'from':_0x2b4687,'to':_0x2b4687,'id':_0x3d6c9f,'name':'','creatorId':null}));}[_0x2b1f('0x107')]({name:_0x3adeaf,from:_0x527866,to:_0x566292,creatorId:_0x4aaa86,id:_0x3ced75}){const _0x341edb=this['buildRevisionData']({'from':_0x527866,'to':_0x566292});_0x341edb[_0x2b1f('0x23')]=_0x3adeaf,_0x341edb['creatorId']=_0x4aaa86,_0x341edb['id']=_0x3ced75;const _0x133271=this[_0x2b1f('0x2')](_0x341edb);return this[_0x2b1f('0xa4')]&&this[_0x2b1f('0x25')](_0x341edb['id'],_0x341edb,!0x0),_0x133271;}[_0x2b1f('0x27')](){this['editor'][_0x2b1f('0x101')][_0x2b1f('0x1f')](_0x2b1f('0xfb'))['markerToData']({'model':_0x2b1f('0x28')});}[_0x2b1f('0xbc')](_0x4267ec){return(_0x4267ec=_0x4267ec[_0x2b1f('0x41')](_0x5b27f0=>!_0x5b27f0['name']||'revision-start'!==_0x5b27f0[_0x2b1f('0x23')]&&_0x2b1f('0xa1')!==_0x5b27f0['name']))[_0x2b1f('0xa2')](_0x439c33=>{'string'!=typeof _0x439c33&&(_0x439c33['children']=this[_0x2b1f('0xbc')](_0x439c33[_0x2b1f('0xf4')]),_0x439c33[_0x2b1f('0x3f')]=_0x439c33[_0x2b1f('0x3f')]['filter'](_0x4b7ae7=>!_0x4b7ae7[0x0]['startsWith']('data-revision-')));}),_0x4267ec;}}function J(_0x113cec,_0x22600a){const _0x3b35c9=_0x22600a[_0x2b1f('0xd5')][_0x2b1f('0x49')]['document'];if('string'==typeof _0x113cec)return new _0x16bf16(_0x3b35c9,_0x113cec);{const _0x34ad9e=_0x113cec['children'][_0x2b1f('0x48')](_0x1a8b01=>J(_0x1a8b01,_0x22600a));return new(B[_0x113cec[(_0x2b1f('0x69'))]]||_0x442f78)(_0x3b35c9,_0x113cec[_0x2b1f('0x23')],_0x113cec[_0x2b1f('0x3f')],_0x34ad9e);}}class H{constructor(_0x1d3912){this['editor']=_0x1d3912,this[_0x2b1f('0x33')]=new Map(),this[_0x2b1f('0xbe')]=-0x1,this['_lastTo']=-0x1,this[_0x2b1f('0x81')]=new Map(),this['_diffRoots']=new Map(),this[_0x2b1f('0x10')]=new Map(),this[_0x2b1f('0x97')]=new Map(),this[_0x2b1f('0xb5')]=new Map(),this[_0x2b1f('0x64')]=new Map(),this[_0x2b1f('0xf3')]=new Map(),this[_0x2b1f('0xcb')]=new Map(),this[_0x2b1f('0xce')]=new Map(),this[_0x2b1f('0xa5')]=new Map(),this[_0x2b1f('0xa3')]=0x1;}['init'](_0x4307cd){this[_0x2b1f('0xfd')]=_0x4307cd;const _0x5e2749=new Map(),_0x35911e=new Map(),_0x32a765=this['editor'][_0x2b1f('0x6')]['document'][_0x2b1f('0x39')][_0x2b1f('0x48')](_0x466808=>_0x466808[_0x2b1f('0xc')]);for(const _0x59a730 of _0x32a765){const _0x3eb4f1=this[_0x2b1f('0xe3')][_0x2b1f('0x6')]['document'][_0x2b1f('0x80')](_0x59a730),_0xeaf8a=q(_0x3eb4f1);_0x5e2749[_0x2b1f('0xde')](_0x59a730,_0xeaf8a),_0x35911e['set'](_0x59a730,Object[_0x2b1f('0xff')](_0x3eb4f1[_0x2b1f('0x9c')]()));}const _0x4a29c1=Array[_0x2b1f('0x109')](this['editor'][_0x2b1f('0x6')][_0x2b1f('0x2c')])[_0x2b1f('0x48')](_0x2616ee=>[_0x2616ee[_0x2b1f('0x23')],_0x2616ee[_0x2b1f('0xe')]()]),_0x4e58b5=this[_0x2b1f('0xfd')][_0x2b1f('0x43')];this[_0x2b1f('0x70')](_0x4e58b5,_0x5e2749,_0x4a29c1,_0x35911e),this[_0x2b1f('0x6c')]=this[_0x2b1f('0xa3')];const _0xf5ba17=new Map(),_0x486542=new Map();for(const _0x42fc41 of _0x32a765){const _0x1b2157=G(_0x42fc41);_0xf5ba17[_0x2b1f('0xde')](_0x42fc41,_0x1b2157),_0x486542[_0x2b1f('0xde')](_0x42fc41,{});}this[_0x2b1f('0x70')](Number[_0x2b1f('0xcf')],_0xf5ba17,[],_0x486542);}['getData'](_0x185de1,_0x41e5f6){if(this['_lastFrom']===_0x185de1&&this['_lastTo']<=_0x41e5f6)this['_savedMetaData'][_0x2b1f('0x4b')]>0x1&&this['_removeMetaData'](this[_0x2b1f('0xc8')]),this[_0x2b1f('0x30')](this[_0x2b1f('0xc8')],_0x41e5f6,!0x0);else{if(!this[_0x2b1f('0x33')][_0x2b1f('0xf7')](_0x185de1)){const _0x158a22=this[_0x2b1f('0xc7')](_0x185de1);this[_0x2b1f('0x4c')](_0x158a22,_0x185de1,!0x1);}this['_calculateMetaData'](_0x185de1,_0x41e5f6,!0x0);}return this['_lastFrom']=_0x185de1,this[_0x2b1f('0xc8')]=_0x41e5f6,this['_getState']();}['loadState'](_0x575aee){this[_0x2b1f('0x89')](),this[_0x2b1f('0xbe')]=_0x575aee[_0x2b1f('0xbf')],this[_0x2b1f('0xc8')]=_0x575aee[_0x2b1f('0x1d')];for(const _0x23ba41 in _0x575aee[_0x2b1f('0xcc')]){const _0x42208=_0x575aee['diffData'][_0x23ba41]['attachChange'],_0x33c2e8=_0xf2b218(_0x575aee[_0x2b1f('0xcc')][_0x23ba41][_0x2b1f('0xe9')])||{},_0x280f83=this[_0x2b1f('0x9')](_0x575aee[_0x2b1f('0xcc')][_0x23ba41][_0x2b1f('0x93')]);_0x280f83['rootName']=_0x23ba41,_0x280f83['_isAttached']=!_0x42208||!_0x42208[_0x2b1f('0x9b')],_0x280f83[_0x2b1f('0x9b')]=()=>_0x280f83[_0x2b1f('0x3b')],this[_0x2b1f('0x97')][_0x2b1f('0xde')](_0x23ba41,_0x280f83),this[_0x2b1f('0xb5')][_0x2b1f('0xde')](_0x23ba41,_0x33c2e8),_0x42208&&this[_0x2b1f('0xa5')][_0x2b1f('0xde')](_0x23ba41,_0x42208);const _0x42ed17=this[_0x2b1f('0x87')](_0x280f83);this[_0x2b1f('0xf3')][_0x2b1f('0xde')](_0x23ba41,_0x42ed17);for(const [_0x4475ab,_0x53fb05]of _0x280f83[_0x2b1f('0x2c')]){if(!_0x4475ab[_0x2b1f('0x8b')](_0x2b1f('0x72')))continue;const _0x47e3d3=_0x4475ab[_0x2b1f('0x75')](':')[0x2];for(const _0x33b1dc of _0x53fb05[_0x2b1f('0x65')]({'singleCharacters':!0x0})){const _0x2c7353=this[_0x2b1f('0xe4')](_0x33b1dc),_0x844931=_0x2b1f('0xc1')==_0x33b1dc[_0x2b1f('0x69')]?_0x33b1dc[_0x2b1f('0xd2')][_0x2b1f('0x8')][_0x2b1f('0x71')](0x0,-0x1):_0x33b1dc[_0x2b1f('0xd2')]['path'],_0x20ca52=_0x42ed17[_0x2b1f('0x100')](_0x844931)[_0x2b1f('0xe0')](_0x2c7353);this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x20ca52,{'userId':_0x47e3d3});}}}this[_0x2b1f('0x6c')]=this[_0x2b1f('0xa3')];const _0x2d71d5=[...Array(this[_0x2b1f('0xa3')])['keys']()][_0x2b1f('0x71')](0x1)[_0x2b1f('0x41')](_0xc48f67=>!this[_0x2b1f('0xcb')][_0x2b1f('0xf7')](_0xc48f67));let _0x1fb5b0=0x0;const _0x3fccdc=new Map();for(const _0x4179c2 in _0x575aee[_0x2b1f('0xcc')]){const _0x18cbba=_0x575aee['diffData'][_0x4179c2][_0x2b1f('0x108')],_0x31651c=_0xf2b218(_0x575aee[_0x2b1f('0xcc')][_0x4179c2][_0x2b1f('0x91')])||{},_0x3ef076=this[_0x2b1f('0x9')](_0x575aee['diffData'][_0x4179c2][_0x2b1f('0x29')]);_0x3ef076['rootName']=_0x4179c2,_0x3ef076['_isAttached']=!_0x18cbba||_0x18cbba[_0x2b1f('0x9b')],_0x3ef076[_0x2b1f('0x9b')]=()=>_0x3ef076[_0x2b1f('0x3b')],this[_0x2b1f('0x6d')][_0x2b1f('0xde')](_0x4179c2,_0x3ef076),this[_0x2b1f('0x10')][_0x2b1f('0xde')](_0x4179c2,_0x31651c);const _0x5ac963=this[_0x2b1f('0x87')](_0x3ef076,Number[_0x2b1f('0xcf')]);this[_0x2b1f('0x64')][_0x2b1f('0xde')](_0x4179c2,_0x5ac963),_0x3fccdc[_0x2b1f('0xde')](_0x4179c2,_0x3ef076[_0x2b1f('0x9b')]()?_0x31651c:{});for(const [_0x2db8d5,_0x1877e6]of _0x3ef076['markers']){if(!_0x2db8d5[_0x2b1f('0x8b')](_0x2b1f('0x72')))continue;const _0x14f8dc=_0x2db8d5['split'](':')[0x2];for(const _0x2011b8 of _0x1877e6[_0x2b1f('0x65')]({'singleCharacters':!0x0})){const _0x3d4dd7=this['_getVidAttributeName'](_0x2011b8),_0x5071da=this[_0x2b1f('0xa3')]++,_0x3499aa=_0x2b1f('0xc1')==_0x2011b8[_0x2b1f('0x69')]?_0x2011b8[_0x2b1f('0xd2')][_0x2b1f('0x8')][_0x2b1f('0x71')](0x0,-0x1):_0x2011b8['previousPosition']['path'];_0x5ac963[_0x2b1f('0x100')](_0x3499aa)[_0x2b1f('0x7f')](_0x3d4dd7,_0x5071da),this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x5071da,{'userId':_0x14f8dc});}}for(const _0x4ac464 of this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x31')](_0x3ef076)['getWalker']({'singleCharacters':!0x0})){const _0x57c592=this[_0x2b1f('0xe4')](_0x4ac464),_0x9c4971=_0x2b1f('0xc1')==_0x4ac464[_0x2b1f('0x69')]?_0x4ac464[_0x2b1f('0xd2')][_0x2b1f('0x8')][_0x2b1f('0x71')](0x0,-0x1):_0x4ac464[_0x2b1f('0xd2')]['path'],_0x342527=_0x5ac963[_0x2b1f('0x100')](_0x9c4971);_0x342527[_0x2b1f('0xe0')](_0x57c592)>0x0||_0x342527[_0x2b1f('0x7f')](_0x57c592,_0x2d71d5[_0x1fb5b0++]);}for(const [_0x91dcdd,_0x3f4ea5]of _0x3ef076[_0x2b1f('0x2c')])_0x91dcdd[_0x2b1f('0x8b')](_0x2b1f('0x72'))||this[_0x2b1f('0x81')][_0x2b1f('0xde')](_0x91dcdd,_0x3f4ea5);}const _0x115ee6=G(_0x2b1f('0xf6'));this[_0x2b1f('0x97')][_0x2b1f('0xde')](_0x2b1f('0xf6'),_0x115ee6),this[_0x2b1f('0xf3')][_0x2b1f('0xde')](_0x2b1f('0xf6'),this[_0x2b1f('0x87')](_0x115ee6,0x1));const _0x778cdb=G(_0x2b1f('0xf6'));this[_0x2b1f('0x6d')][_0x2b1f('0xde')](_0x2b1f('0xf6'),_0x778cdb),this[_0x2b1f('0x64')][_0x2b1f('0xde')](_0x2b1f('0xf6'),this[_0x2b1f('0x87')](_0x778cdb,0x1));const _0x997c52=Array['from'](this['_diffRoots'])[_0x2b1f('0x48')](([_0x362a47,_0x16ea94])=>[_0x362a47,q(_0x16ea94)]);this[_0x2b1f('0x70')](this[_0x2b1f('0xc8')],_0x997c52,this[_0x2b1f('0x81')],_0x3fccdc);}[_0x2b1f('0x9')](_0x553984){const _0x807b71=JSON['parse'](_0x553984),_0x3ec58c=this[_0x2b1f('0xe3')][_0x2b1f('0xd5')][_0x2b1f('0x49')][_0x2b1f('0x5c')],_0x4745a8=new _0x117ac4(_0x3ec58c,_0x807b71[_0x2b1f('0x48')](_0x65f84d=>J(_0x65f84d,this[_0x2b1f('0xe3')])));return this[_0x2b1f('0xe3')]['data'][_0x2b1f('0x3c')](_0x4745a8);}[_0x2b1f('0x70')](_0x2b3a10,_0x5cd13a,_0x57945e,_0x2b77b7){const _0x10d86c=new Map(_0x5cd13a),_0x25c08c=new Map(_0xf2b218(_0x2b77b7)),_0x3535f4=new Map();for(const [_0x6c347,_0x27ae9f]of _0x57945e)_0x3535f4['set'](_0x6c347,{'start':_0x27ae9f[_0x2b1f('0xf5')][_0x2b1f('0x5b')](),'end':_0x27ae9f[_0x2b1f('0x2f')]['clone'](),'rootName':_0x27ae9f[_0x2b1f('0x19')][_0x2b1f('0xc')]});this['_savedMetaData'][_0x2b1f('0xde')](_0x2b3a10,{'roots':_0x10d86c,'markers':_0x3535f4,'rootsAttributes':_0x25c08c});}['_removeMetaData'](_0x406fbf){this[_0x2b1f('0x33')][_0x2b1f('0x9e')](_0x406fbf);}[_0x2b1f('0x78')](){this[_0x2b1f('0x89')](),this['_lastFrom']=-0x1,this[_0x2b1f('0xc8')]=-0x1,this[_0x2b1f('0x33')][_0x2b1f('0xa6')](),this[_0x2b1f('0x96')](this['source']);}[_0x2b1f('0x89')](){this[_0x2b1f('0xcb')]['clear'](),this[_0x2b1f('0xce')]['clear'](),this[_0x2b1f('0xa5')]['clear'](),this[_0x2b1f('0x6d')][_0x2b1f('0xa6')](),this[_0x2b1f('0x10')][_0x2b1f('0xa6')](),this[_0x2b1f('0x97')][_0x2b1f('0xa6')](),this[_0x2b1f('0xb5')][_0x2b1f('0xa6')](),this[_0x2b1f('0x64')][_0x2b1f('0xa6')](),this['_baseIdsRoots'][_0x2b1f('0xa6')](),this[_0x2b1f('0x81')]['clear'](),this[_0x2b1f('0xa3')]=0x1,this[_0x2b1f('0x6c')]=this[_0x2b1f('0xa3')];}[_0x2b1f('0x87')](_0x3ce6ce,_0x1f650a=null){let _0x5ac84a=null;_0x3ce6ce['is'](_0x2b1f('0x1e'))||(_0x5ac84a=new _0x30bfde(_0x3ce6ce[_0x2b1f('0x23')],{'vid_start':null===_0x1f650a?this['_revisionId']++:_0x1f650a++}));const _0x535d06=[];for(const _0x35ef30 of _0x3ce6ce[_0x2b1f('0x7d')]())if(_0x35ef30['is'](_0x2b1f('0x3e'))){_0x535d06[_0x2b1f('0x104')](this[_0x2b1f('0x87')](_0x35ef30,_0x1f650a));const _0x24fa8c=_0x535d06[_0x535d06['length']-0x1];null!==_0x1f650a&&(_0x1f650a=_0x24fa8c['is'](_0x2b1f('0x3e'),'$text')?_0x24fa8c[_0x2b1f('0xe0')](_0x2b1f('0xc2'))+0x1:_0x24fa8c[_0x2b1f('0xe0')](_0x2b1f('0xa9'))+0x1);}else for(let _0x40649e=0x0;_0x40649e<_0x35ef30[_0x2b1f('0x5')];_0x40649e++)_0x535d06[_0x2b1f('0x104')](new _0x30bfde(_0x2b1f('0x83'),{'vid':null===_0x1f650a?this['_revisionId']++:_0x1f650a++}));if(_0x3ce6ce['is'](_0x2b1f('0x1e'))){const _0xdff405=G(_0x3ce6ce[_0x2b1f('0xc')]);return _0xdff405[_0x2b1f('0xe5')](0x0,_0x535d06),_0xdff405;}return _0x5ac84a[_0x2b1f('0x7f')](_0x2b1f('0xa9'),null===_0x1f650a?this[_0x2b1f('0xa3')]++:_0x1f650a++),_0x5ac84a[_0x2b1f('0xe5')](0x0,_0x535d06),_0x5ac84a;}['_calculateMetaData'](_0x552453,_0x1ff016,_0x1652da){this[_0x2b1f('0x89')]();const {roots:_0x25694d,markers:_0x2aa1d4,rootsAttributes:_0x25e0ee}=this[_0x2b1f('0x33')][_0x2b1f('0x1c')](_0x552453);this[_0x2b1f('0x97')]=new Map(_0x25694d),this['_baseRootsAttributes']=new Map(_0xf2b218(_0x25e0ee));for(const [_0x53ea71,_0x5197d3]of this[_0x2b1f('0x97')])if('$graveyard'!==_0x53ea71&&(this['_diffRoots'][_0x2b1f('0xde')](_0x53ea71,q(_0x5197d3)),this[_0x2b1f('0x10')]=new Map(_0xf2b218(_0x25e0ee)),_0x1652da)){const _0x1a9e62=this[_0x2b1f('0xa3')];this[_0x2b1f('0x64')][_0x2b1f('0xde')](_0x53ea71,this[_0x2b1f('0x87')](_0x5197d3)),this[_0x2b1f('0xf3')][_0x2b1f('0xde')](_0x53ea71,this[_0x2b1f('0x87')](_0x5197d3,_0x1a9e62));}this[_0x2b1f('0x6c')]=this['_revisionId'],this[_0x2b1f('0x6d')][_0x2b1f('0xde')](_0x2b1f('0xf6'),q(this[_0x2b1f('0x97')][_0x2b1f('0x1c')](_0x2b1f('0xf6')))),_0x1652da&&this['_idsRoots'][_0x2b1f('0xde')](_0x2b1f('0xf6'),this[_0x2b1f('0x87')](this[_0x2b1f('0x97')][_0x2b1f('0x1c')]('$graveyard')));for(const [_0x481d68,_0xe6c66e]of _0x2aa1d4){const _0x568a6b=this[_0x2b1f('0x97')][_0x2b1f('0x1c')](_0xe6c66e[_0x2b1f('0xc')]),_0x1f1110=this[_0x2b1f('0x6d')][_0x2b1f('0x1c')](_0xe6c66e[_0x2b1f('0xc')]),_0x7dd1e=new _0x2ff7d4(this[_0x2b1f('0x1a')](_0xe6c66e[_0x2b1f('0xf5')],_0x568a6b),this[_0x2b1f('0x1a')](_0xe6c66e[_0x2b1f('0x2f')],_0x568a6b)),_0x48ec28=this[_0x2b1f('0xdd')](_0x7dd1e,_0x1f1110);_0x568a6b[_0x2b1f('0x2c')][_0x2b1f('0xde')](_0x481d68,_0x7dd1e),this[_0x2b1f('0x81')]['set'](_0x481d68,_0x48ec28);}this['_applyOperations'](_0x552453,_0x1ff016,_0x1652da);}[_0x2b1f('0x30')](_0x4dbd79,_0x437fb3,_0x56a988){for(const _0x3891a0 of this[_0x2b1f('0xfd')][_0x2b1f('0x8d')](_0x4dbd79,_0x437fb3))this['_handleOperation'](_0x3891a0,_0x56a988);for(const _0x208adb of this[_0x2b1f('0x6d')][_0x2b1f('0x60')]())_0x208adb[_0x2b1f('0x2c')][_0x2b1f('0xa6')]();for(const [_0xba088e,_0x541cda]of this[_0x2b1f('0x81')]){this[_0x2b1f('0x6d')][_0x2b1f('0x1c')](_0x541cda[_0x2b1f('0x19')]['rootName'])[_0x2b1f('0x2c')][_0x2b1f('0xde')](_0xba088e,_0x541cda[_0x2b1f('0x5b')]());}const _0x29a257=new Map(),_0x3b1964=new Map();for(const [_0x586bbc,_0x3a6f4e]of this[_0x2b1f('0x6d')])_0x29a257[_0x2b1f('0xde')](_0x586bbc,q(_0x3a6f4e)),_0x3b1964[_0x2b1f('0xde')](_0x586bbc,this[_0x2b1f('0x10')][_0x2b1f('0x1c')](_0x586bbc));this[_0x2b1f('0x70')](_0x437fb3,_0x29a257,this[_0x2b1f('0x81')],_0x3b1964);}[_0x2b1f('0xc7')](_0x4a7c18){const _0x14238e=Array[_0x2b1f('0x109')](this[_0x2b1f('0x33')][_0x2b1f('0x7a')]());_0x14238e['sort']((_0x2ddc80,_0xd4b76d)=>_0x2ddc80-_0xd4b76d),_0x14238e[_0x2b1f('0xf9')]();for(const _0x2a5262 of _0x14238e)if(_0x2a5262<_0x4a7c18)return _0x2a5262;return Number['NEGATIVE_INFINITY'];}[_0x2b1f('0xec')](_0x9cb7e6,_0x3add7a){const _0x2f0e48=Array['from'](_0x3add7a[_0x2b1f('0x2c')])[_0x2b1f('0x48')](([_0x72e30a,_0x4a96ba])=>[_0x72e30a,this[_0x2b1f('0xdd')](_0x4a96ba,_0x9cb7e6)]);_0x9cb7e6[_0x2b1f('0x2c')]=new Map(_0x2f0e48);}[_0x2b1f('0x85')](_0xfe0f74){for(const _0x528ac2 of this['_markers']['values']()){const _0x504429=_0x528ac2[_0x2b1f('0xb0')](_0xfe0f74),_0xaf8a70=_0x2ff7d4[_0x2b1f('0x7')](_0x504429);_0x528ac2[_0x2b1f('0xf5')]=_0xaf8a70[_0x2b1f('0xf5')],_0x528ac2[_0x2b1f('0x2f')]=_0xaf8a70['end'];}}[_0x2b1f('0x44')](_0x541200,_0x578759){if(_0x2b1f('0xe6')==_0x541200[_0x2b1f('0x69')]||_0x2b1f('0x99')==_0x541200[_0x2b1f('0x69')])return void this[_0x2b1f('0x12')](_0x541200,_0x578759);if('insert'==_0x541200['type']){const _0xa26e75=_0x541200[_0x2b1f('0x67')][_0x2b1f('0x19')][_0x2b1f('0xc')];this[_0x2b1f('0x6d')][_0x2b1f('0xf7')](_0xa26e75)||(this[_0x2b1f('0x6d')][_0x2b1f('0xde')](_0xa26e75,G(_0xa26e75,!0x0)),this[_0x2b1f('0x10')][_0x2b1f('0xde')](_0xa26e75,{}),_0x578759&&this['_idsRoots'][_0x2b1f('0xde')](_0xa26e75,G(_0xa26e75,!0x0)));}else{if('addRootAttribute'==_0x541200[_0x2b1f('0x69')]||_0x2b1f('0x5e')==_0x541200[_0x2b1f('0x69')]||_0x2b1f('0x4')==_0x541200[_0x2b1f('0x69')])return void this[_0x2b1f('0x3')](_0x541200);}const _0x218bca=this[_0x2b1f('0xc6')](_0x541200,this[_0x2b1f('0x6d')]);if(_0x2b1f('0xa8')!==_0x541200[_0x2b1f('0x69')]&&(_0x218bca[_0x2b1f('0xd9')](),this[_0x2b1f('0x85')](_0x218bca)),_0x578759)switch(_0x218bca[_0x2b1f('0x69')]){case _0x2b1f('0x21'):this['_handleInsertOperation'](_0x541200);break;case _0x2b1f('0xf2'):case _0x2b1f('0xac'):case _0x2b1f('0xb2'):this['_handleMoveOperation'](_0x541200);break;case _0x2b1f('0xd7'):this[_0x2b1f('0xdf')](_0x541200);break;case'split':this['_handleSplitOperation'](_0x541200);break;case'marker':this[_0x2b1f('0x61')](_0x541200);}}[_0x2b1f('0xc6')](_0x90d4a4,_0x39cffd){const _0xea5822=_0x90d4a4[_0x2b1f('0x5b')]();return _0xea5822[_0x2b1f('0x2a')]=_0x90d4a4[_0x2b1f('0x2a')],this['_fixOperation'](_0xea5822,_0x39cffd),_0xea5822;}['_getBaseVids'](_0x85c145){return _0x85c145[_0x2b1f('0x48')](_0x3c2291=>{const _0x3ff531=this[_0x2b1f('0xe4')](_0x3c2291);return Number(_0x3c2291['item'][_0x2b1f('0xe0')](_0x3ff531));});}[_0x2b1f('0xf')](_0x10dac0,_0x381ff6){if(_0x10dac0['is'](_0x2b1f('0x3e'),'$text'))_0x381ff6[_0x2b1f('0x104')]({'item':_0x10dac0,'type':'text'});else{_0x10dac0['is'](_0x2b1f('0x3e'))&&_0x381ff6[_0x2b1f('0x104')]({'item':_0x10dac0,'type':_0x2b1f('0x56')});for(const _0x499437 of _0x10dac0['getChildren']())this[_0x2b1f('0xf')](_0x499437,_0x381ff6);_0x10dac0['is'](_0x2b1f('0x3e'))&&_0x381ff6[_0x2b1f('0x104')]({'item':_0x10dac0,'type':_0x2b1f('0xc1')});}return _0x381ff6;}[_0x2b1f('0xb6')](){const _0x452ac7=new Map(this[_0x2b1f('0xcb')]),_0x50c46a=new Map(_0x452ac7),_0x3aace5=new Map(),_0x202a92={'insertions':{},'deletions':{}},_0x5cb340={'insertions':{},'deletions':{}},_0x26cfb7=new Map(),_0x465b0e=new Set([...this[_0x2b1f('0x97')]['keys'](),...this[_0x2b1f('0x6d')][_0x2b1f('0x7a')]()]);_0x465b0e[_0x2b1f('0x9e')]('$graveyard');for(const _0x1addfb of _0x465b0e){const _0x58be52=this[_0x2b1f('0x6d')]['get'](_0x1addfb)||G(_0x1addfb,!0x1),_0x31b2fc=this[_0x2b1f('0x97')][_0x2b1f('0x1c')](_0x1addfb)||G(_0x1addfb,!0x1);_0x58be52[_0x2b1f('0x9b')]()||_0x31b2fc[_0x2b1f('0x9b')]()?(_0x202a92['insertions'][_0x1addfb]=q(_0x58be52),_0x202a92[_0x2b1f('0x93')][_0x1addfb]=q(_0x31b2fc),this[_0x2b1f('0xec')](_0x202a92[_0x2b1f('0x93')][_0x1addfb],_0x31b2fc),this[_0x2b1f('0xec')](_0x202a92[_0x2b1f('0x29')][_0x1addfb],_0x58be52),_0x5cb340[_0x2b1f('0x29')][_0x1addfb]=this[_0x2b1f('0xf')](this[_0x2b1f('0x64')][_0x2b1f('0x1c')](_0x1addfb),[]),_0x5cb340[_0x2b1f('0x93')][_0x1addfb]=this['_generateTape'](this[_0x2b1f('0xf3')][_0x2b1f('0x1c')](_0x1addfb)||G(_0x1addfb,!0x1),[])):_0x465b0e[_0x2b1f('0x9e')](_0x1addfb);}for(const _0x4b9af1 of _0x465b0e){const _0x2451a6=_0x5cb340[_0x2b1f('0x29')][_0x4b9af1];for(const _0x145e5c of _0x2451a6){const _0x207ae2=this['_getVidAttributeName'](_0x145e5c),_0x35d097=_0x145e5c[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x207ae2);_0x50c46a[_0x2b1f('0x9e')](_0x35d097),_0x35d097>=this[_0x2b1f('0x6c')]&&_0x3aace5[_0x2b1f('0xde')](_0x35d097,_0x452ac7['get'](_0x35d097));}}for(const _0x57276a of _0x465b0e){const _0x2e3ee9=_0x5cb340[_0x2b1f('0x29')][_0x57276a],_0x65b836=this[_0x2b1f('0x79')](_0x5cb340[_0x2b1f('0x93')][_0x57276a]);let _0x3f44b5=0x0;for(const _0x5290e8 of _0x2e3ee9){const _0x3737b4=this[_0x2b1f('0xe4')](_0x5290e8),_0x5db632=_0x5290e8[_0x2b1f('0x37')]['getAttribute'](_0x3737b4);if(!_0x3aace5[_0x2b1f('0xf7')](_0x5db632)&&!_0x26cfb7[_0x2b1f('0xf7')](_0x5db632)){if(_0x50c46a[_0x2b1f('0xf7')](_0x5db632))_0x3f44b5++;else{if(_0x5db632!=_0x65b836[_0x3f44b5]){const _0x57ba39=_0x452ac7[_0x2b1f('0x1c')](_0x5db632)||_0x452ac7['get'](_0x65b836[_0x3f44b5]);for(;_0x5db632!=_0x65b836[_0x3f44b5];)_0x50c46a[_0x2b1f('0xf7')](_0x65b836[_0x3f44b5])||(_0x26cfb7['set'](_0x65b836[_0x3f44b5],_0x57ba39),_0x452ac7[_0x2b1f('0xde')](_0x65b836[_0x3f44b5],_0x57ba39)),_0x3f44b5++;}_0x3f44b5++;}}}}for(const _0xc6d445 of _0x465b0e){const _0x53426a=_0x5cb340[_0x2b1f('0x29')][_0xc6d445];for(const _0x2a5b1e of _0x53426a){const _0x34c126=this[_0x2b1f('0xe4')](_0x2a5b1e),_0x5e334e=_0x2a5b1e[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x34c126);if(_0x26cfb7['has'](_0x5e334e)){const _0x8a788c=_0x26cfb7[_0x2b1f('0x1c')](_0x5e334e);_0x50c46a[_0x2b1f('0xf7')](_0x5e334e)||_0x50c46a['set'](_0x5e334e,{..._0x8a788c}),_0x3aace5[_0x2b1f('0xde')](_0x5e334e,{..._0x8a788c});}}}for(const _0x50961f of _0x50c46a[_0x2b1f('0x7a')]())_0x50961f>=this['_startingRevisionId']&&_0x50c46a['delete'](_0x50961f);const _0x2c5ccc=new Map();for(const _0x4ccde4 of _0x465b0e){let _0x4c5b3b=_0x5cb340[_0x2b1f('0x29')][_0x4ccde4];for(const _0x4492c0 of _0x4c5b3b)if(_0x4492c0['item']['is']('element',_0x2b1f('0x40'))){const _0x1778b1=this[_0x2b1f('0xe4')](_0x4492c0),_0x11f6af=_0x4492c0[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x1778b1);if(_0x3aace5[_0x2b1f('0xf7')](_0x11f6af)){const _0x39f79a=_0x4492c0[_0x2b1f('0x37')][_0x2b1f('0x9a')][_0x2b1f('0x9a')][_0x2b1f('0xe0')](_0x2b1f('0x2d')),_0xb2bccc=_0x2c5ccc[_0x2b1f('0x1c')](_0x39f79a)||new Set();_0xb2bccc[_0x2b1f('0xc3')](_0x3aace5[_0x2b1f('0x1c')](_0x11f6af)[_0x2b1f('0xf1')]),_0x2c5ccc['set'](_0x39f79a,_0xb2bccc);}}_0x4c5b3b=_0x5cb340['deletions'][_0x4ccde4];for(const _0x16c3fd of _0x4c5b3b)if(_0x16c3fd[_0x2b1f('0x37')]['is'](_0x2b1f('0x3e'),'tableCell')){const _0x4d1306=this[_0x2b1f('0xe4')](_0x16c3fd),_0x5f3375=_0x16c3fd[_0x2b1f('0x37')]['getAttribute'](_0x4d1306);if(_0x50c46a[_0x2b1f('0xf7')](_0x5f3375)){const _0xbab996=_0x16c3fd[_0x2b1f('0x37')]['parent'][_0x2b1f('0x9a')][_0x2b1f('0xe0')]('vid_start'),_0x33b90e=_0x2c5ccc[_0x2b1f('0x1c')](_0xbab996)||new Set();_0x33b90e['add'](_0x50c46a[_0x2b1f('0x1c')](_0x5f3375)[_0x2b1f('0xf1')]),_0x2c5ccc[_0x2b1f('0xde')](_0xbab996,_0x33b90e);}}for(const _0x25a01c of _0x2c5ccc[_0x2b1f('0x7a')]())(_0x3aace5[_0x2b1f('0xf7')](_0x25a01c)||_0x50c46a[_0x2b1f('0xf7')](_0x25a01c))&&_0x2c5ccc[_0x2b1f('0x9e')](_0x25a01c);}for(const _0x1b8f33 of _0x465b0e){const _0x110d76=_0x5cb340[_0x2b1f('0x29')][_0x1b8f33];let _0x222773=null,_0x2b4cbe=null;for(const _0x48068a of _0x110d76){const _0x2291c0=this[_0x2b1f('0xe4')](_0x48068a),_0xabe098=_0x48068a[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x2291c0),_0x1625c9=_0x2c5ccc[_0x2b1f('0x1c')](_0xabe098);_0x1625c9&&'elementStart'==_0x48068a['type']&&(_0x222773=Array[_0x2b1f('0x109')](_0x1625c9)[0x0],_0x2b4cbe=_0x48068a[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x2b1f('0xa9'))),_0x222773&&(_0x50c46a[_0x2b1f('0xde')](_0xabe098,{'userId':_0x222773}),_0x3aace5[_0x2b1f('0xde')](_0xabe098,{'userId':_0x222773})),_0xabe098==_0x2b4cbe&&(_0x222773=null,_0x2b4cbe=null);}}const _0x34f9a7={},_0x2ec8bd=new Set();for(const _0x2c5289 of _0x465b0e){const _0x56fe01=_0x202a92[_0x2b1f('0x93')][_0x2c5289],_0x11e157=_0x202a92[_0x2b1f('0x29')][_0x2c5289];for(const {userId:_0x143674}of this['_touchedMarkers'][_0x2b1f('0x60')]())null!==_0x143674&&_0x2ec8bd['add'](_0x143674);for(const {userId:_0x362bac}of this['_touchedRoots']['values']())null!==_0x362bac&&_0x2ec8bd['add'](_0x362bac);this['_markChanges'](_0x11e157,_0x5cb340[_0x2b1f('0x29')][_0x2c5289],_0x3aace5,_0x2b1f('0xee'),_0x2ec8bd),this[_0x2b1f('0xb')](_0x56fe01,_0x5cb340[_0x2b1f('0x93')][_0x2c5289],_0x50c46a,'deletion',_0x2ec8bd),_0x34f9a7[_0x2c5289]={'insertions':this[_0x2b1f('0xae')](_0x11e157),'deletions':this[_0x2b1f('0xae')](_0x56fe01),'attachChange':this['_touchedRoots']['get'](_0x2c5289)||null,'attributesBefore':_0xf2b218(this[_0x2b1f('0xb5')][_0x2b1f('0x1c')](_0x2c5289))||{},'attributesAfter':_0xf2b218(this[_0x2b1f('0x10')]['get'](_0x2c5289))};}return{'diffData':_0x34f9a7,'authorsIds':Array[_0x2b1f('0x109')](_0x2ec8bd)};}[_0x2b1f('0x59')](_0x1b4bb4){for(const [,_0x553bd7]of _0x1b4bb4[_0x2b1f('0x2c')]){const _0x339246=_0x553bd7[_0x2b1f('0xf5')][_0x2b1f('0x35')]()['filter'](_0x44c669=>_0x2b1f('0x40')==_0x44c669[_0x2b1f('0x23')]);for(const _0x6d0260 of _0x339246)0x1==_0x6d0260[_0x2b1f('0x4d')]&&_0x6d0260['getChild'](0x0)['is']('element',_0x2b1f('0x9d'))&&_0x6d0260[_0x2b1f('0x7b')](0x0)[_0x2b1f('0x7f')](_0x2b1f('0x5d'),!0x0);}}[_0x2b1f('0xae')](_0x4b24ae){this['_processRootBeforeSave'](_0x4b24ae);const _0x129187=this[_0x2b1f('0xe3')][_0x2b1f('0x3d')][_0x2b1f('0x8c')](_0x4b24ae,{}),_0x21e317=Array[_0x2b1f('0x109')](_0x129187[_0x2b1f('0x7d')]())[_0x2b1f('0x48')](_0x5be954=>this[_0x2b1f('0xc0')](_0x5be954));return JSON[_0x2b1f('0x18')](_0x21e317);}[_0x2b1f('0xc0')](_0x4ad2a8){if(_0x4ad2a8['is'](_0x2b1f('0x83')))return _0x4ad2a8['data'];{const _0x446d60=_0x4ad2a8;return{'type':Object[_0x2b1f('0x7a')](B)['find'](_0x2ed9b8=>_0x4ad2a8 instanceof B[_0x2ed9b8]),'name':_0x446d60[_0x2b1f('0x23')],'attributes':Array[_0x2b1f('0x109')](_0x446d60[_0x2b1f('0x9c')]()),'children':Array[_0x2b1f('0x109')](_0x446d60['getChildren']())[_0x2b1f('0x48')](_0x28a431=>this[_0x2b1f('0xc0')](_0x28a431))};}}[_0x2b1f('0xb')](_0x16c562,_0x299383,_0x15dbd8,_0x40bcec,_0x209352){let _0x49ef30=null,_0x3a7c18=null,_0x75ce4b=0x0;const _0x554b4b=this[_0x2b1f('0xe3')][_0x2b1f('0x6')];for(let _0x39715c=0x0;_0x39715c<_0x299383[_0x2b1f('0x106')];_0x39715c++){const _0x4a02c7=this['_getVidAttributeName'](_0x299383[_0x39715c]),_0x4943de=_0x299383[_0x39715c][_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x4a02c7),_0x394c83=_0x15dbd8[_0x2b1f('0x1c')](_0x4943de),_0x29883c=_0x39715c==_0x299383[_0x2b1f('0x106')]-0x1;(!_0x49ef30&&_0x394c83&&(_0x49ef30=_0x394c83,_0x3a7c18=_0x299383[_0x39715c]),_0x49ef30&&(!_0x394c83||_0x394c83[_0x2b1f('0xf1')]!=_0x49ef30['userId']))&&(_0x2101f6(_0x394c83,L(_0x3a7c18,_0x16c562,_0x554b4b),L(_0x299383[_0x39715c],_0x16c562,_0x554b4b)),_0x49ef30=_0x394c83||null,_0x3a7c18=_0x394c83?_0x299383[_0x39715c]:null),_0x49ef30&&_0x29883c&&_0x2101f6(_0x394c83,L(_0x3a7c18,_0x16c562,_0x554b4b),W(_0x299383[_0x39715c],_0x16c562,_0x554b4b));}function _0x2101f6(_0x3b169c,_0x25ccdd,_0x30162c){const _0x4529b1=_0x49ef30['userId'],_0x3996fd='revision:'+_0x40bcec+':'+_0x4529b1+':'+_0x75ce4b++,_0x3896ba=_0x554b4b['createRange'](_0x25ccdd,_0x30162c);_0x16c562[_0x2b1f('0x2c')][_0x2b1f('0xde')](_0x3996fd,_0x3896ba),null!==_0x4529b1&&_0x209352[_0x2b1f('0xc3')](_0x4529b1);}}[_0x2b1f('0xe4')](_0x3afa3c){switch(_0x3afa3c[_0x2b1f('0x69')]){case _0x2b1f('0x56'):return _0x2b1f('0x2d');case _0x2b1f('0xc1'):return _0x2b1f('0xa9');default:return _0x2b1f('0xc2');}}[_0x2b1f('0x92')](_0x95d2e,_0x177b6f){_0x95d2e[_0x2b1f('0x82')]=null;for(const _0xb0fabc in _0x95d2e){const _0x1eb8df=_0x95d2e[_0xb0fabc];if(_0x1eb8df instanceof _0x197ee7){const _0x1f16ce=_0x177b6f[_0x2b1f('0x1c')](_0x1eb8df[_0x2b1f('0x19')][_0x2b1f('0xc')]);_0x95d2e[_0xb0fabc]=this[_0x2b1f('0x1a')](_0x1eb8df,_0x1f16ce);}if(_0x1eb8df instanceof _0x2ff7d4){const _0x4b74c6=_0x177b6f[_0x2b1f('0x1c')](_0x1eb8df[_0x2b1f('0x19')][_0x2b1f('0xc')]);_0x95d2e[_0xb0fabc]=this[_0x2b1f('0xdd')](_0x1eb8df,_0x4b74c6);}_0x2b1f('0x19')===_0xb0fabc&&(_0x95d2e[_0x2b1f('0x19')]=_0x177b6f[_0x2b1f('0x1c')](_0x95d2e['root'][_0x2b1f('0xc')]));}}[_0x2b1f('0xdd')](_0x4a6238,_0x5df853){return this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x52')](this[_0x2b1f('0x1a')](_0x4a6238[_0x2b1f('0xf5')],_0x5df853),this[_0x2b1f('0x1a')](_0x4a6238['end'],_0x5df853));}[_0x2b1f('0x1a')](_0x426a52,_0x44895f){return this[_0x2b1f('0xe3')]['model'][_0x2b1f('0x20')](_0x44895f,_0x426a52[_0x2b1f('0x8')],_0x426a52[_0x2b1f('0xbd')]);}[_0x2b1f('0x8e')](_0x474068){const _0x2ebf24=this[_0x2b1f('0x64')][_0x2b1f('0x1c')](_0x474068[_0x2b1f('0x67')][_0x2b1f('0x19')][_0x2b1f('0xc')]),_0x3c29a2=this[_0x2b1f('0x1a')](_0x474068[_0x2b1f('0x67')],_0x2ebf24),_0x495e8f=null===_0x474068['_authorId']?null:_0x474068['_authorId']||this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x4e0255=_0x3c29a2[_0x2b1f('0x9a')],_0x7f9d67=this['_revisionId'],_0x4d6810=[];for(const _0x1cacbe of _0x474068[_0x2b1f('0xb9')])if(_0x1cacbe['is'](_0x2b1f('0x3e')))_0x4d6810[_0x2b1f('0x104')](this[_0x2b1f('0x87')](_0x1cacbe));else for(let _0x4217f3=0x0;_0x4217f3<_0x1cacbe['offsetSize'];_0x4217f3++)_0x4d6810[_0x2b1f('0x104')](new _0x30bfde(_0x2b1f('0x83'),{'vid':this[_0x2b1f('0xa3')]++}));const _0x5cf758=this[_0x2b1f('0xa3')];for(let _0x400d04=_0x7f9d67;_0x400d04<_0x5cf758;_0x400d04++)this[_0x2b1f('0xcb')]['set'](_0x400d04,{'userId':_0x495e8f});_0x4e0255[_0x2b1f('0xe5')](_0x3c29a2[_0x2b1f('0x5f')],_0x4d6810);}['_handleMoveOperation'](_0x4a5e99){(_0x4a5e99=this[_0x2b1f('0xc6')](_0x4a5e99,this[_0x2b1f('0x64')]))['_execute']();const _0x553c71=null===_0x4a5e99[_0x2b1f('0x2a')]?null:_0x4a5e99[_0x2b1f('0x2a')]||this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x5a1899=_0x4a5e99[_0x2b1f('0xf8')](),_0x1cb11a=_0x5a1899[_0x2b1f('0x9a')],_0x2aa47d=_0x5a1899[_0x2b1f('0x5f')];!function _0x4e0a04(_0x1341f5,_0x2822ec,_0x446e91,_0x390006){for(let _0x2ac2d6=_0x446e91;_0x2ac2d6<_0x390006;_0x2ac2d6++){const _0x395825=_0x2822ec[_0x2b1f('0x7b')](_0x2ac2d6);_0x395825['is'](_0x2b1f('0x3e'),'$text')?_0x1341f5[_0x2b1f('0xde')](_0x395825[_0x2b1f('0xe0')](_0x2b1f('0xc2')),{'userId':_0x553c71}):(_0x1341f5['set'](_0x395825[_0x2b1f('0xe0')](_0x2b1f('0x2d')),{'userId':_0x553c71}),_0x4e0a04(_0x1341f5,_0x395825,0x0,_0x395825[_0x2b1f('0x4d')]),_0x1341f5[_0x2b1f('0xde')](_0x395825[_0x2b1f('0xe0')](_0x2b1f('0xa9')),{'userId':_0x553c71}));}}(this['_touched'],_0x1cb11a,_0x2aa47d,_0x2aa47d+_0x4a5e99[_0x2b1f('0xb3')]);}['_handleMergeOperation'](_0x4aafdf){const _0x191122=null===(_0x4aafdf=this['_cloneOperation'](_0x4aafdf,this[_0x2b1f('0x64')]))['_authorId']?null:_0x4aafdf[_0x2b1f('0x2a')]||this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x322009=_0x4aafdf['targetPosition']['parent'],_0x146f28=_0x4aafdf[_0x2b1f('0x47')][_0x2b1f('0x9a')],_0x432f0e=_0x322009[_0x2b1f('0xe0')](_0x2b1f('0xa9')),_0x39cbba=_0x146f28[_0x2b1f('0xe0')]('vid_start');_0x322009['_setAttribute'](_0x2b1f('0xa9'),_0x146f28[_0x2b1f('0xe0')](_0x2b1f('0xa9'))),_0x146f28[_0x2b1f('0x7f')](_0x2b1f('0xa9'),_0x432f0e),this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x39cbba,{'userId':_0x191122}),this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x432f0e,{'userId':_0x191122}),_0x4aafdf[_0x2b1f('0xd9')]();}[_0x2b1f('0x9f')](_0x81cbff){const _0x4f9280=null===(_0x81cbff=this['_cloneOperation'](_0x81cbff,this[_0x2b1f('0x64')]))[_0x2b1f('0x2a')]?null:_0x81cbff[_0x2b1f('0x2a')]||this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x57ab0c=_0x81cbff[_0x2b1f('0xdb')],_0x30477c=_0x81cbff[_0x2b1f('0xe8')][_0x2b1f('0x9a')];_0x81cbff[_0x2b1f('0xd9')]();const _0x3932b4=_0x30477c[_0x2b1f('0xe0')](_0x2b1f('0xa9')),_0x5c91b8=_0x81cbff['insertionPosition']['nodeAfter'];if(_0x57ab0c){const _0x4c2f74=_0x5c91b8[_0x2b1f('0xe0')](_0x2b1f('0xa9')),_0x464bcf=_0x30477c[_0x2b1f('0xe0')]('vid_end');_0x30477c[_0x2b1f('0x7f')](_0x2b1f('0xa9'),_0x4c2f74),_0x5c91b8[_0x2b1f('0x7f')](_0x2b1f('0xa9'),_0x464bcf),this['_touched'][_0x2b1f('0xde')](_0x30477c[_0x2b1f('0xe0')](_0x2b1f('0xa9')),{'userId':_0x4f9280}),this[_0x2b1f('0xcb')]['set'](_0x5c91b8['getAttribute'](_0x2b1f('0x2d')),{'userId':_0x4f9280});}else{const _0x36a5ef=this[_0x2b1f('0xa3')]++,_0x5ebc62=this[_0x2b1f('0xa3')]++;_0x30477c[_0x2b1f('0x7f')]('vid_end',_0x36a5ef),_0x5c91b8[_0x2b1f('0x7f')](_0x2b1f('0x2d'),_0x5ebc62),_0x5c91b8[_0x2b1f('0x7f')](_0x2b1f('0xa9'),_0x3932b4),this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x36a5ef,{'userId':_0x4f9280}),this['_touched'][_0x2b1f('0xde')](_0x5ebc62,{'userId':_0x4f9280});}}[_0x2b1f('0x61')](_0x404eb9){if(!_0x404eb9['affectsData'])return;const _0x2eaf37=(_0x404eb9=this[_0x2b1f('0xc6')](_0x404eb9,this[_0x2b1f('0x6d')]))[_0x2b1f('0x24')]?_0x404eb9[_0x2b1f('0x24')][_0x2b1f('0x19')]:null,_0x1fc776=_0x404eb9[_0x2b1f('0xe1')]?_0x404eb9[_0x2b1f('0xe1')][_0x2b1f('0x19')]:null;_0x2eaf37&&this['_markers']['delete'](_0x404eb9[_0x2b1f('0x23')]),_0x1fc776&&this['_markers'][_0x2b1f('0xde')](_0x404eb9['name'],_0x404eb9[_0x2b1f('0xe1')][_0x2b1f('0x5b')]());const _0x4e6392=null===_0x404eb9['_authorId']?null:_0x404eb9[_0x2b1f('0x2a')]||this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x40e15a=_0x404eb9[_0x2b1f('0x23')];if(!this[_0x2b1f('0xce')]['has'](_0x40e15a))return void this[_0x2b1f('0xce')]['set'](_0x40e15a,{'range':_0x404eb9[_0x2b1f('0x24')],'userId':_0x4e6392});const _0x1d4ac0=this[_0x2b1f('0xce')]['get'](_0x40e15a),_0x15c616=_0x1d4ac0[_0x2b1f('0xfe')],_0x1787d0=_0x404eb9[_0x2b1f('0xe1')];null==_0x15c616&&null==_0x1787d0||_0x15c616&&_0x1787d0&&_0x15c616[_0x2b1f('0x45')](_0x1787d0)?this['_touchedMarkers']['delete'](_0x404eb9[_0x2b1f('0x23')]):_0x1d4ac0['userId']=_0x4e6392;}[_0x2b1f('0x12')](_0x4e3f9b,_0x4be9db){this['_diffRoots']['has'](_0x4e3f9b[_0x2b1f('0xc')])?this[_0x2b1f('0x6d')][_0x2b1f('0x1c')](_0x4e3f9b[_0x2b1f('0xc')])[_0x2b1f('0x3b')]=_0x4e3f9b[_0x2b1f('0x42')]:(this[_0x2b1f('0x6d')]['set'](_0x4e3f9b[_0x2b1f('0xc')],G(_0x4e3f9b[_0x2b1f('0xc')],!0x0)),this[_0x2b1f('0x10')][_0x2b1f('0xde')](_0x4e3f9b[_0x2b1f('0xc')],{}),_0x4be9db&&this[_0x2b1f('0x64')][_0x2b1f('0xde')](_0x4e3f9b['rootName'],G(_0x4e3f9b[_0x2b1f('0xc')],!0x0)));const _0x835a1e=null===_0x4e3f9b[_0x2b1f('0x2a')]?null:_0x4e3f9b[_0x2b1f('0x2a')]||this['editor'][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x557644=this[_0x2b1f('0xa5')][_0x2b1f('0x1c')](_0x4e3f9b[_0x2b1f('0xc')]);_0x557644&&_0x557644[_0x2b1f('0xf1')]===_0x835a1e?this['_touchedRoots'][_0x2b1f('0x9e')](_0x4e3f9b[_0x2b1f('0xc')]):this[_0x2b1f('0xa5')][_0x2b1f('0xde')](_0x4e3f9b[_0x2b1f('0xc')],{'userId':_0x835a1e,'isAttached':_0x4e3f9b[_0x2b1f('0x42')]});}['_handleRootAttributeOperation'](_0x366b0d){const _0x51111c=this['_diffRootsAttributes'][_0x2b1f('0x1c')](_0x366b0d[_0x2b1f('0x19')][_0x2b1f('0xc')]);null===_0x366b0d[_0x2b1f('0xb7')]?delete _0x51111c[_0x366b0d[_0x2b1f('0x95')]]:_0x51111c[_0x366b0d[_0x2b1f('0x95')]]=_0x366b0d['newValue'];}}function q(_0xa6bf82){const _0x1498c9=G(_0xa6bf82[_0x2b1f('0xc')],_0xa6bf82['isAttached']());for(const _0x1713b0 of _0xa6bf82['getChildren']()){const _0x31934b=_0x1713b0[_0x2b1f('0x36')](!0x0);_0x1498c9['_appendChild'](_0x31934b);}return _0x1498c9;}function G(_0x11c5ce,_0x31d14d=!0x0){const _0x8f67d7=new _0x2bfc66();return _0x8f67d7[_0x2b1f('0xc')]=_0x11c5ce,_0x8f67d7[_0x2b1f('0x3b')]=_0x31d14d,_0x8f67d7[_0x2b1f('0x9b')]=()=>_0x8f67d7['_isAttached'],_0x8f67d7;}function L(_0x2eb7a4,_0x2e43a1,_0x21db43){const _0x3182ef='elementEnd'==_0x2eb7a4[_0x2b1f('0x69')]?_0x21db43[_0x2b1f('0x102')](_0x2eb7a4[_0x2b1f('0x37')],'end'):_0x21db43[_0x2b1f('0xd')](_0x2eb7a4[_0x2b1f('0x37')]);return _0x21db43['createPositionFromPath'](_0x2e43a1,_0x3182ef[_0x2b1f('0x8')],_0x3182ef[_0x2b1f('0xbd')]);}function W(_0xdba62a,_0x15a6be,_0x641669){const _0x5108a3='elementStart'==_0xdba62a[_0x2b1f('0x69')]?_0x641669[_0x2b1f('0x102')](_0xdba62a[_0x2b1f('0x37')],0x0):_0x641669[_0x2b1f('0xd3')](_0xdba62a['item']);return _0x641669[_0x2b1f('0x20')](_0x15a6be,_0x5108a3[_0x2b1f('0x8')],_0x5108a3[_0x2b1f('0xbd')]);}
|