@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231226.0 → 0.0.0-nightly-20231228.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.
Files changed (32) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +5 -6
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.d.ts +2 -2
  7. package/src/editor/revisionviewereditoruiview.js +1 -1
  8. package/src/revision.js +1 -1
  9. package/src/revisiondiff.js +1 -1
  10. package/src/revisionhistory.js +1 -1
  11. package/src/revisionsrepository.js +1 -1
  12. package/src/revisiontracker.js +1 -1
  13. package/src/revisionviewer.js +1 -1
  14. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  15. package/src/ui/revision/revisionauthorview.js +1 -1
  16. package/src/ui/revision/revisionnameview.js +1 -1
  17. package/src/ui/revision/revisionview.js +1 -1
  18. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  19. package/src/ui/revision/subrevisionview.js +1 -1
  20. package/src/ui/revision/utils.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  22. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  26. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  27. package/src/ui/revisionssidebar/utils.js +1 -1
  28. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  29. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  31. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  32. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54c2=['_handleOperation','insert','diffData','_getPreviousFrom','_generateTape','_source','view','getNodeByPath','toModel','graveyardPosition','_insertChild','delete','_getViewJson','startsWith','getAttribute','hasContent','stringify','isAttached','_initialRevisionId','reinsert','clear','config','_execute','slice','_bufferUpdate','dataDowncast','updateRevisions','end','remove','tableCell','type','filter','requires','isReady','_getVidAttributeName','version','createPositionAt','_getBaseVids','_isPendingUpdate','set','createRangeIn','getData','_handleRootAttributeOperation','$text','detachRoot','keys','getRevision','fromEntries','getChildren','_loadedStateData','string','rootsAttributes','PendingActions','_removePendingAction','source','userId','markers','revision:','_calculateMetaData','_touched','_lastTo','_idsRoots','addRevisionData','revision-start','newRange','ready','getRevisionRootsAttributes','_bufferedUpdates','_diffRootsAttributes','stickiness','affectsData','has','processor','_fixRange','_revisionId','parse','_authorId','then','_removeRevisionMarkers','plugins','size','revision','useFillerType','push','_processRootBeforeSave','offset','range','documentFragment','attributesAfter','_cloneOperation','update','getRevisions','_lastFrom','getRootNames','vid_end','_saveMetaData','vid','insertions','move','pluginName','childCount','getRoot','text','getOperations','removeRootAttribute','position','reInit','conversion','adapter','find','_getState','Users','_createInitialRevision','_handleMergeOperation','_clone','map','toView','fromVersion','elementEnd','_copyMarkers','_makeModelFromViewString','Empty\x20document','_isAttached','history','_loadRevisionData','getChild','some','path','createPositionFromPath','_handleSplitOperation','createdAt','keepParagraph','createPositionAfter','setRevisionData','getIndex','getAttributes','authorsIds','collaboration.channelId','_findInsertionIndex','getAncestors','attachChange','_baseRootsAttributes','targetPosition','_handleMarkerOperation','insertion','_continueCurrentRevision','offsetSize','_transformMarkers','_reset','nodeAfter','getUser','_startingRevisionId','add','insertionPosition','getRange','sourcePosition','finally','toVersion','clone','_prepareViewToSave','from','getTransformedByOperation','name','data-revision-','_markers','_baseIdsRoots','getRevisionDocumentData','_addPendingAction','isEqual','trim','_touchedRoots','sort','_setAttribute','key','RevisionTracker','deletion','initialData','for','model','start','split','_createFromRanges','_revisionDataBuilder','editor-initial-data-replaced-with-revision-data','resolve','element','getTime','_savedMetaData','reverse','getLatestVersion','children','getMovedRangeStart','getCurrentRevisionId','howMany','createRange','document','_applyOperations','_fixPosition','vid_start','_markChanges','creatorId','creator','_appendChild','_handleRootOperation','revision-end','item','_pendingAction','data','_removeMetaData','_update','NEGATIVE_INFINITY','RevisionsRepository','_getFromVersion','_makeIdsRoot','RealTimeCollaborationClient','_makeRevision','init','splitPosition','addRoot','addRevision','_diffRoots','authors','previousPosition','currentRevision','marked','editing','_startingVersion','dataToMarker','_fixOperation','addRootAttribute','_loadState','isAdd','forEach','buildRevisionData','changeRootAttribute','attributesBefore','oldRange','newValue','values','rootName','setSource','marker','locale','isEnabled','bind','elementStart','_baseRoots','length','includes','_handleMoveOperation','parent','afterInit','initial','getWalker','sendBufferedUpdates','attributes','deletions','_createCurrentRevision','editor','get','loadState','_touchedMarkers','repository','_replaceEditorDataWithRevisionData','shift','root','nodes','$graveyard','getOperation','default'];(function(_0x5d9991,_0x54c261){const _0x3ea027=function(_0x4cc9ff){while(--_0x4cc9ff){_0x5d9991['push'](_0x5d9991['shift']());}};_0x3ea027(++_0x54c261);}(_0x54c2,0x1ed));const _0x3ea0=function(_0x5d9991,_0x54c261){_0x5d9991=_0x5d9991-0x0;let _0x3ea027=_0x54c2[_0x5d9991];return _0x3ea027;};import{Users as _0x28f298}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x4e2491,PendingActions as _0x260878}from'ckeditor5/src/core.js';import{logWarning as _0x394669,uid as _0x3ad9f2}from'ckeditor5/src/utils.js';import{Position as _0x225847,Range as _0x1849d3,Element as _0x49bd18,DocumentFragment as _0x3059ca,ViewText as _0x43b77a,ViewElement as _0x40e0fb,ViewContainerElement as _0x46682f,ViewAttributeElement as _0x1655d6,ViewEmptyElement as _0x16f91b,ViewRawElement as _0x234676,ViewUIElement as _0x1435d9,ViewDocumentFragment as _0x17d2c6}from'ckeditor5/src/engine.js';import _0x1cc96d from'./revisionsrepository.js';import{getTranslation as _0x4d0da0}from'./utils/common-translations.js';import{cloneDeep as _0x3073de,isEqual as _0x315594}from'lodash-es';const B={'c':_0x46682f,'a':_0x1655d6,'e':_0x16f91b,'r':_0x234676,'u':_0x1435d9};export default class l extends _0x4e2491{static get[_0x3ea0('0x92')](){return _0x3ea0('0xdd');}static get[_0x3ea0('0x4f')](){return[_0x28f298,_0x1cc96d,_0x260878];}constructor(_0x32953a){super(_0x32953a),this['adapter']=null,this[_0x3ea0('0x0')]=null,this[_0x3ea0('0xe5')]=new H(this[_0x3ea0('0x23')]),this[_0x3ea0('0x41')]=this[_0x3ea0('0x23')][_0x3ea0('0x44')][_0x3ea0('0x24')](_0x3ea0('0xb8'))||_0x3ea0('0x1d'),this[_0x3ea0('0x72')]=new Map(),this[_0x3ea0('0x60')]=null;const _0x45c51b=_0x3ad9f2();this[_0x3ea0('0x34')]={'history':this['editor'][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0xaa')],'getLatestVersion':()=>Promise['resolve'](this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0x52')]),'getCurrentRevisionId':()=>_0x45c51b},this[_0x3ea0('0x56')](_0x3ea0('0x50'),!0x1),this[_0x3ea0('0x56')](_0x3ea0('0x14'),!0x0),this[_0x3ea0('0x56')]('_isPendingUpdate',!0x1),this[_0x3ea0('0x23')][_0x3ea0('0x44')]['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor'][_0x3ea0('0x9a')]['for']('upcast')[_0x3ea0('0x4')]({'view':_0x3ea0('0x80')});}[_0x3ea0('0x107')](){this[_0x3ea0('0x27')]=this['editor'][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x102')),this['_setConversion'](),this['editor'][_0x3ea0('0xfe')]['on'](_0x3ea0('0x70'),()=>{const _0x125b92=this[_0x3ea0('0x27')]['getRevision'](0x0),_0x5864a4=_0x125b92&&null===_0x125b92['creator']?_0x125b92:null;if(this[_0x3ea0('0xc0')]=!!_0x5864a4&&this['editor'][_0x3ea0('0x44')][_0x3ea0('0x24')]('revisionHistory.resumeUnsavedRevision'),this['editor'][_0x3ea0('0x7e')]['has'](_0x3ea0('0x105'))){const _0x48cf31=this[_0x3ea0('0x34')][_0x3ea0('0xef')](),_0x111ba6=this[_0x3ea0('0x27')][_0x3ea0('0x5d')](_0x48cf31);if(_0x111ba6)this[_0x3ea0('0x3')]=_0x111ba6[_0x3ea0('0xa4')],this[_0x3ea0('0xc0')]=!0x1;else{const _0x176c2f=this[_0x3ea0('0x34')][_0x3ea0('0xaa')]['_operations']['find'](_0x1b3c89=>!_0x1b3c89['_isInit']),_0x3ed2da=_0x176c2f?_0x176c2f['baseVersion']:this['_source'][_0x3ea0('0xaa')][_0x3ea0('0x52')];_0x125b92?(_0x125b92[_0x3ea0('0xcc')]<_0x3ed2da&&_0x125b92[_0x3ea0('0x100')]({'toVersion':_0x3ed2da}),this['_continueCurrentRevision']?(this[_0x3ea0('0x34')][_0x3ea0('0xef')]=()=>_0x5864a4['id'],this[_0x3ea0('0x3')]=_0x5864a4[_0x3ea0('0xa4')]):(this[_0x3ea0('0x3')]=_0x125b92['toVersion'],this[_0x3ea0('0xc0')]=!0x1)):(this['_startingVersion']=_0x3ed2da,this['_continueCurrentRevision']=!0x1);}}else _0x5864a4&&(this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0xaa')]['version']=Math['max'](_0x5864a4[_0x3ea0('0xcc')],this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0xaa')]['version']),_0x5864a4[_0x3ea0('0xa4')]===_0x5864a4[_0x3ea0('0xcc')]?(0x0!==_0x5864a4[_0x3ea0('0xa4')]&&(this[_0x3ea0('0x34')]['getCurrentRevisionId']=()=>_0x5864a4['id']),this['_continueCurrentRevision']=!0x1):this[_0x3ea0('0xc0')]&&(this[_0x3ea0('0x34')][_0x3ea0('0xef')]=()=>_0x5864a4['id'],this[_0x3ea0('0x3')]=_0x5864a4[_0x3ea0('0xa4')])),this['_continueCurrentRevision']||(this[_0x3ea0('0x3')]=this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0x52')]);this[_0x3ea0('0xe5')][_0x3ea0('0x107')](this[_0x3ea0('0x34')][_0x3ea0('0xaa')]),this['_createInitialRevision'](this[_0x3ea0('0x3')]),this[_0x3ea0('0x22')](this['_startingVersion']),this[_0x3ea0('0x9b')]&&this[_0x3ea0('0x1f')]();}),this[_0x3ea0('0x15')]('isReady')['to'](this,_0x3ea0('0x55'),_0x56557f=>!_0x56557f);}async[_0x3ea0('0x1c')](){if(this[_0x3ea0('0x27')][_0x3ea0('0x18')]>0x0){const _0x9183ea=this[_0x3ea0('0x27')][_0x3ea0('0x5d')](0x0),_0x1498a5=await this[_0x3ea0('0xd5')](_0x9183ea),_0x4ca3b0=await this['getRevisionRootsAttributes'](_0x9183ea);this['_replaceEditorDataWithRevisionData'](_0x1498a5,_0x4ca3b0);}}[_0x3ea0('0x11')](_0xa5f8b5){this[_0x3ea0('0x34')]=_0xa5f8b5;}async[_0x3ea0('0x89')](){const _0x338f07=await this['_source'][_0x3ea0('0xec')]();if(_0x338f07>this['currentRevision'][_0x3ea0('0xcc')]){await this[_0x3ea0('0x7')]();const _0x576599=this[_0x3ea0('0xa')]({'revision':this[_0x3ea0('0x0')],'to':_0x338f07});_0x576599[_0x3ea0('0x10c')]=_0x576599[_0x3ea0('0xb7')][_0x3ea0('0xa2')](_0x3d7002=>this[_0x3ea0('0x23')]['plugins'][_0x3ea0('0x24')](_0x3ea0('0x9e'))[_0x3ea0('0xc5')](_0x3d7002)),this[_0x3ea0('0x0')][_0x3ea0('0x100')](_0x576599);}}async[_0x3ea0('0x7')](){this[_0x3ea0('0xc0')]&&!this['_loadedStateData']&&(await this[_0x3ea0('0xab')](this[_0x3ea0('0x0')]),this[_0x3ea0('0xe5')][_0x3ea0('0x25')](this[_0x3ea0('0x0')]),this[_0x3ea0('0x60')]={'fromVersion':this['currentRevision'][_0x3ea0('0xa4')],'authors':this['currentRevision'][_0x3ea0('0x10c')][_0x3ea0('0x46')]()});}async['saveRevision'](_0x106b79={},_0x48d063=null){const _0x23e1dd=[];await this['_loadState'](),this[_0x3ea0('0xc0')]=!0x1,_0x48d063>this[_0x3ea0('0x0')][_0x3ea0('0xcc')]&&(_0x48d063=null),null===_0x48d063&&(_0x48d063=await this[_0x3ea0('0x34')][_0x3ea0('0xec')]());const _0x25b548=this[_0x3ea0('0x103')](_0x48d063),_0x3bceb9=this[_0x3ea0('0xa')]({'from':_0x25b548,'to':_0x48d063});if(this[_0x3ea0('0x0')][_0x3ea0('0xcc')]<_0x48d063){const _0x63a40=this[_0x3ea0('0xa')]({'revision':this[_0x3ea0('0x0')],'from':_0x48d063,'to':_0x48d063});_0x63a40[_0x3ea0('0x10c')]=[],_0x63a40[_0x3ea0('0xb7')]=[],_0x63a40['id']=this[_0x3ea0('0x0')]['id'],this[_0x3ea0('0x0')][_0x3ea0('0x100')](_0x63a40,!0x0),delete _0x63a40[_0x3ea0('0x10c')],_0x23e1dd[_0x3ea0('0x82')](_0x63a40);}_0x106b79['creatorId']=this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x9e'))['me']['id'],_0x106b79[_0x3ea0('0xd1')]=_0x106b79[_0x3ea0('0xd1')]||null,_0x106b79['id']=_0x106b79['id']||_0x3ad9f2(),_0x106b79={..._0x106b79,..._0x3bceb9};const _0x4fad21=this['addRevisionData'](_0x106b79);_0x23e1dd['push'](_0x106b79);const _0x5265b9=this[_0x3ea0('0x27')][_0x3ea0('0xb5')](_0x4fad21);if(0x0!==_0x5265b9){const _0x122d42=this[_0x3ea0('0x27')]['getRevision'](_0x5265b9-0x1);if(_0x122d42[_0x3ea0('0xa4')]!==_0x48d063){const _0x1eb99a=this['_revisionDataBuilder'][_0x3ea0('0x58')](_0x48d063,_0x122d42[_0x3ea0('0xcc')]),_0x361197={'id':_0x122d42['id'],'diffData':_0x1eb99a[_0x3ea0('0x31')],'authorsIds':_0x1eb99a[_0x3ea0('0xb7')],'authors':_0x1eb99a[_0x3ea0('0xb7')][_0x3ea0('0xa2')](_0x495e61=>this[_0x3ea0('0x23')][_0x3ea0('0x7e')]['get'](_0x3ea0('0x9e'))[_0x3ea0('0xc5')](_0x495e61)),'fromVersion':_0x48d063};_0x122d42===this[_0x3ea0('0x0')]&&(_0x361197[_0x3ea0('0xb1')]=new Date(_0x106b79[_0x3ea0('0xb1')][_0x3ea0('0xe9')]()+0xa)),_0x122d42[_0x3ea0('0x100')](_0x361197,!0x0),delete _0x361197['authors'],_0x23e1dd[_0x3ea0('0x82')](_0x361197);}}if(this[_0x3ea0('0x9b')]){for(const _0x5d6a9f of _0x23e1dd)this[_0x3ea0('0x47')](_0x5d6a9f['id'],_0x5d6a9f,!0x0);this[_0x3ea0('0x1f')]();}return _0x4fad21;}['addRevisionData'](_0x11bf3f){const _0xaf4114=this[_0x3ea0('0x27')]['createRevision'](_0x11bf3f);return this[_0x3ea0('0x9b')]&&_0xaf4114['on'](_0x3ea0('0x100'),(_0x565b99,_0x554dde,_0x175e47)=>{_0x175e47||(this['_bufferUpdate'](_0x554dde['id'],_0x554dde,!0x0),this[_0x3ea0('0x1f')]());}),this[_0x3ea0('0x27')][_0x3ea0('0x10a')](_0xaf4114,this[_0x3ea0('0xb9')](_0xaf4114)),_0xaf4114;}async[_0x3ea0('0xd5')](_0x12e82f){await this[_0x3ea0('0xab')](_0x12e82f);const _0x1b1485={};for(const _0x195a08 in _0x12e82f[_0x3ea0('0x31')]){if(_0x12e82f[_0x3ea0('0x31')][_0x195a08][_0x3ea0('0xbb')]&&!_0x12e82f[_0x3ea0('0x31')][_0x195a08][_0x3ea0('0xbb')][_0x3ea0('0x40')])continue;const _0x4e021a=this[_0x3ea0('0x7d')](JSON[_0x3ea0('0x7a')](_0x12e82f[_0x3ea0('0x31')][_0x195a08]['insertions'])),_0x14bcb8=this[_0x3ea0('0x23')][_0x3ea0('0x2')]['view']['document'],_0x16b418=new _0x17d2c6(_0x14bcb8,_0x4e021a[_0x3ea0('0xa2')](_0x36ef9d=>J(_0x36ef9d,this[_0x3ea0('0x23')])));this[_0x3ea0('0x23')]['data'][_0x3ea0('0x77')]['useFillerType'](_0x3ea0('0x1')),_0x1b1485[_0x195a08]=this[_0x3ea0('0x23')][_0x3ea0('0xfe')][_0x3ea0('0x77')]['toData'](_0x16b418),this[_0x3ea0('0x23')][_0x3ea0('0xfe')][_0x3ea0('0x77')][_0x3ea0('0x81')](_0x3ea0('0x2e'));}return _0x1b1485;}async[_0x3ea0('0x71')](_0x211421){await this[_0x3ea0('0xab')](_0x211421);const _0x23177e={};for(const _0x52933c in _0x211421[_0x3ea0('0x31')])_0x211421[_0x3ea0('0x31')][_0x52933c][_0x3ea0('0xbb')]&&!_0x211421[_0x3ea0('0x31')][_0x52933c][_0x3ea0('0xbb')]['isAttached']||(_0x23177e[_0x52933c]=_0x211421[_0x3ea0('0x31')][_0x52933c][_0x3ea0('0x87')]||{});return _0x23177e;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates'][_0x3ea0('0x7f')])return;if(this[_0x3ea0('0x55')])return;let _0x1660af=Array[_0x3ea0('0xcf')](this[_0x3ea0('0x72')]['values']());this[_0x3ea0('0x72')][_0x3ea0('0x43')]();for(let _0x1ac3a0=0x0;_0x1ac3a0<_0x1660af[_0x3ea0('0x18')];_0x1ac3a0++){const _0xc73ce7=_0x1660af[_0x1ac3a0];let _0xc5cd7e=!0x1;for(const _0x132043 of Object['keys'](_0xc73ce7))void 0x0===_0xc73ce7[_0x132043]?delete _0xc73ce7[_0x132043]:'id'!==_0x132043&&(_0xc5cd7e=!0x0);_0xc5cd7e||(_0x1660af[_0x1ac3a0]=null);}if(_0x1660af=_0x1660af[_0x3ea0('0x4e')](_0x542db5=>null!==_0x542db5),!_0x1660af[_0x3ea0('0x18')])return;for(let _0x406be0=0x0;_0x406be0<_0x1660af['length'];_0x406be0++){const _0x40a2f0=_0x1660af[_0x406be0];void 0x0!==_0x40a2f0[_0x3ea0('0xa4')]&&void 0x0===_0x40a2f0['toVersion']&&(_0x40a2f0[_0x3ea0('0xcc')]=this['repository'][_0x3ea0('0x5d')](_0x40a2f0['id'])['toVersion']),void 0x0!==_0x40a2f0[_0x3ea0('0xcc')]&&void 0x0===_0x40a2f0[_0x3ea0('0xa4')]&&(_0x40a2f0['fromVersion']=this[_0x3ea0('0x27')][_0x3ea0('0x5d')](_0x40a2f0['id'])[_0x3ea0('0xa4')]);}const _0x3bed4a=this[_0x3ea0('0x23')][_0x3ea0('0x44')][_0x3ea0('0x24')]('collaboration.channelId');this[_0x3ea0('0x55')]=!0x0,this[_0x3ea0('0xd6')](),this[_0x3ea0('0x9b')][_0x3ea0('0x49')](_0x1660af,_0x3bed4a)[_0x3ea0('0xcb')](()=>{this[_0x3ea0('0x55')]=!0x1;})[_0x3ea0('0x7c')](_0x75a115=>{if(_0x75a115)for(const _0xb7325c of _0x75a115)this[_0x3ea0('0xb4')]({'id':_0xb7325c['id'],'createdAt':_0xb7325c['createdAt']});this[_0x3ea0('0x64')](),this[_0x3ea0('0x1f')]();});}[_0x3ea0('0x28')](_0x286e36,_0x37c269){let _0x322bc8=this['editor']['config'][_0x3ea0('0x24')](_0x3ea0('0xdf')),_0x10756a=this[_0x3ea0('0x23')][_0x3ea0('0x44')]['get'](_0x3ea0('0x62'));if(void 0x0===_0x322bc8){_0x322bc8={};for(const _0x1ed7b5 of this['editor']['model'][_0x3ea0('0xf2')][_0x3ea0('0x8c')]())_0x322bc8[_0x1ed7b5]='';}if(_0x3ea0('0x61')==typeof _0x322bc8&&(_0x322bc8={'main':_0x322bc8}),void 0x0===_0x10756a){_0x10756a={};for(const _0x107991 of this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')]['getRootNames']())_0x10756a[_0x107991]={};}let _0x442fdf=!0x1;const _0x4bf950=Object['keys'](_0x322bc8),_0x13c448=Object['keys'](_0x286e36);for(const _0x190517 of _0x4bf950){if(_0x322bc8[_0x190517]!==_0x286e36[_0x190517]&&''!==_0x322bc8[_0x190517][_0x3ea0('0xd8')]()){_0x442fdf=!0x0;break;}if(!_0x315594(_0x10756a[_0x190517],_0x37c269[_0x190517])&&Object[_0x3ea0('0x5c')](_0x10756a[_0x190517])['length']>0x0){_0x442fdf=!0x0;break;}}_0x442fdf||(_0x442fdf=_0x13c448[_0x3ea0('0xad')](_0x39c382=>!this['editor'][_0x3ea0('0xe1')][_0x3ea0('0xf2')][_0x3ea0('0x94')](_0x39c382))),_0x442fdf&&_0x394669(_0x3ea0('0xe6'),{'editorData':_0x322bc8,'editorRootsAttributes':_0x10756a,'revisionData':_0x286e36,'revisionRootsAttributes':_0x37c269}),this[_0x3ea0('0x23')][_0x3ea0('0x44')][_0x3ea0('0x56')](_0x3ea0('0xdf'),_0x286e36),this[_0x3ea0('0x23')][_0x3ea0('0x44')]['set'](_0x3ea0('0x62'),_0x37c269);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x53746f=this['editor'][_0x3ea0('0x7e')]['get'](_0x3ea0('0x63'));this['_pendingAction']=_0x53746f[_0x3ea0('0xc7')](_0x4d0da0(this[_0x3ea0('0x23')][_0x3ea0('0x13')],'PENDING_ACTION_REVISION_HISTORY'));}}[_0x3ea0('0x64')](){this[_0x3ea0('0xfd')]&&(this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x63'))[_0x3ea0('0x4b')](this['_pendingAction']),this[_0x3ea0('0xfd')]=null);}[_0x3ea0('0xb9')](_0x3f643e){const _0x454130=this[_0x3ea0('0x27')][_0x3ea0('0x8a')]();_0x454130[_0x3ea0('0xeb')]();let _0x13eaf6=0x0;for(;_0x13eaf6<_0x454130[_0x3ea0('0x18')];){const _0x5e6604=_0x454130[_0x13eaf6];if(_0x5e6604===this[_0x3ea0('0x0')]){_0x13eaf6++;continue;}if(_0x5e6604['id']===this['_initialRevisionId'])break;const _0x4fba51=_0x3f643e[_0x3ea0('0xcc')]-_0x5e6604[_0x3ea0('0xcc')]||_0x3f643e['fromVersion']-_0x5e6604[_0x3ea0('0xa4')];if(_0x4fba51>0x0)break;if(_0x4fba51<0x0)_0x13eaf6++;else{if(!_0x3f643e[_0x3ea0('0xf8')]&&_0x5e6604[_0x3ea0('0xf8')])break;if(_0x5e6604['creator']||!_0x3f643e[_0x3ea0('0xf8')]){if(_0x3f643e[_0x3ea0('0xb1')]>_0x5e6604[_0x3ea0('0xb1')])break;_0x13eaf6++;}else _0x13eaf6++;}}return _0x13eaf6;}['setRevisionData'](_0x17569a){const _0x29c1be=this[_0x3ea0('0x27')][_0x3ea0('0x5d')](_0x17569a['id']);if(_0x17569a[_0x3ea0('0xb1')]&&(_0x17569a['createdAt']=new Date(_0x17569a[_0x3ea0('0xb1')])),_0x17569a[_0x3ea0('0xb7')]){const _0x4ad8c7=this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x9e'));_0x17569a['authors']=_0x17569a[_0x3ea0('0xb7')][_0x3ea0('0xa2')](_0x1fe8e0=>_0x4ad8c7[_0x3ea0('0xc5')](_0x1fe8e0));}_0x29c1be[_0x3ea0('0x100')](_0x17569a,!0x0);}[_0x3ea0('0xa')]({revision:_0x55281f=null,from:_0x270c00=null,to:_0x3917d1=null}){_0x270c00=null!==_0x270c00?_0x270c00:_0x55281f[_0x3ea0('0xa4')],_0x3917d1=null!==_0x3917d1?_0x3917d1:_0x55281f[_0x3ea0('0xcc')];const _0xe3772d=this[_0x3ea0('0xe5')][_0x3ea0('0x58')](_0x270c00,_0x3917d1),_0x242ad8={'diffData':_0xe3772d[_0x3ea0('0x31')],'authorsIds':_0xe3772d[_0x3ea0('0xb7')],'fromVersion':_0x270c00,'toVersion':_0x3917d1};if(!_0x55281f||_0x3917d1!==_0x55281f['toVersion']){const _0x38dc6e=_0x3917d1-0x1,_0x537b44=this[_0x3ea0('0x34')][_0x3ea0('0xaa')][_0x3ea0('0x2d')](_0x38dc6e);_0x242ad8['createdAt']=_0x537b44&&_0x537b44[_0x3ea0('0xb1')]||new Date();}if(this[_0x3ea0('0x60')]&&_0x270c00===this['_loadedStateData'][_0x3ea0('0xa4')])for(const _0x5f49e0 of this[_0x3ea0('0x60')][_0x3ea0('0x10c')])_0x242ad8[_0x3ea0('0xb7')][_0x3ea0('0x19')](_0x5f49e0['id'])||_0x242ad8[_0x3ea0('0xb7')][_0x3ea0('0x82')](_0x5f49e0['id']);return _0x242ad8;}[_0x3ea0('0xab')](_0x539e46){if(!_0x539e46||_0x539e46[_0x3ea0('0x31')])return Promise[_0x3ea0('0xe7')]();{const _0x52cb86=this[_0x3ea0('0x23')][_0x3ea0('0x44')]['get']('collaboration.channelId');return this[_0x3ea0('0x9b')][_0x3ea0('0x5d')]({'channelId':_0x52cb86,'revisionId':_0x539e46['id']})[_0x3ea0('0x7c')](_0x47e546=>{_0x539e46[_0x3ea0('0x31')]=_0x47e546[_0x3ea0('0x31')];});}}[_0x3ea0('0x47')](_0x6feafd,_0x8ce6e5,_0x3747b8){if(this[_0x3ea0('0x72')]['has'](_0x6feafd)){const _0x4f89fb=this[_0x3ea0('0x72')][_0x3ea0('0x24')](_0x6feafd);_0x8ce6e5=_0x3747b8?{..._0x4f89fb,..._0x8ce6e5}:{..._0x8ce6e5,..._0x4f89fb};}this[_0x3ea0('0x72')][_0x3ea0('0x56')](_0x6feafd,_0x8ce6e5);}[_0x3ea0('0x103')](_0x34c692){const _0x12521d=this[_0x3ea0('0x27')][_0x3ea0('0x8a')]();_0x12521d[_0x3ea0('0xeb')](),_0x12521d[_0x3ea0('0x29')]();const _0x4ab8a2=_0x12521d[_0x3ea0('0x9c')](_0x16cfc1=>_0x16cfc1[_0x3ea0('0xcc')]<=_0x34c692)[_0x3ea0('0xcc')];return _0x4ab8a2<this['_startingVersion']?this['_startingVersion']:_0x4ab8a2;}[_0x3ea0('0x9f')](_0x5a384b){const _0xe85e2=this['repository'][_0x3ea0('0x5d')](this[_0x3ea0('0x27')][_0x3ea0('0x18')]-0x1);if(_0xe85e2)this[_0x3ea0('0x41')]=_0xe85e2['id'];else{const _0x19b0e4=!this[_0x3ea0('0x23')]['model']['document']['roots'][_0x3ea0('0x9c')](_0x2ffa43=>this['editor'][_0x3ea0('0xe1')][_0x3ea0('0x3e')](_0x2ffa43)),_0x2488ef=this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')]('Users')['me']['id'],_0x2f653a=_0x4d0da0(this[_0x3ea0('0x23')]['locale'],_0x19b0e4?_0x3ea0('0xa8'):'Initial\x20revision');this[_0x3ea0('0x106')]({'from':_0x5a384b,'to':_0x5a384b,'id':this[_0x3ea0('0x41')],'name':_0x2f653a,'creatorId':_0x2488ef});}}[_0x3ea0('0x22')](_0x55d3b8){const _0x1f4ffa=this[_0x3ea0('0x34')]['getCurrentRevisionId']();this[_0x3ea0('0x0')]=this[_0x3ea0('0x27')]['getRevision'](_0x1f4ffa),this[_0x3ea0('0x0')]||(this['currentRevision']=this[_0x3ea0('0x106')]({'from':_0x55d3b8,'to':_0x55d3b8,'id':_0x1f4ffa,'name':'','creatorId':null}));}['_makeRevision']({name:_0x57a3fc,from:_0x27874b,to:_0x53618f,creatorId:_0x38b6a9,id:_0x4d10c9}){const _0x282b8b=this[_0x3ea0('0xa')]({'from':_0x27874b,'to':_0x53618f});_0x282b8b[_0x3ea0('0xd1')]=_0x57a3fc,_0x282b8b[_0x3ea0('0xf7')]=_0x38b6a9,_0x282b8b['id']=_0x4d10c9;const _0x71dc6e=this[_0x3ea0('0x6d')](_0x282b8b);return this[_0x3ea0('0x9b')]&&this['_bufferUpdate'](_0x282b8b['id'],_0x282b8b,!0x0),_0x71dc6e;}['_setConversion'](){this[_0x3ea0('0x23')]['conversion'][_0x3ea0('0xe0')](_0x3ea0('0x48'))['markerToData']({'model':_0x3ea0('0x80')});}['_removeRevisionMarkers'](_0x3a5b82){return(_0x3a5b82=_0x3a5b82[_0x3ea0('0x4e')](_0x79b55c=>!_0x79b55c[_0x3ea0('0xd1')]||_0x3ea0('0x6e')!==_0x79b55c[_0x3ea0('0xd1')]&&_0x3ea0('0xfb')!==_0x79b55c[_0x3ea0('0xd1')]))[_0x3ea0('0x9')](_0x44623c=>{_0x3ea0('0x61')!=typeof _0x44623c&&(_0x44623c['children']=this[_0x3ea0('0x7d')](_0x44623c['children']),_0x44623c[_0x3ea0('0x20')]=_0x44623c[_0x3ea0('0x20')][_0x3ea0('0x4e')](_0x5795b8=>!_0x5795b8[0x0]['startsWith'](_0x3ea0('0xd2'))));}),_0x3a5b82;}}function J(_0x49d975,_0xdcc4e0){const _0x40cf51=_0xdcc4e0['editing'][_0x3ea0('0x35')][_0x3ea0('0xf2')];if(_0x3ea0('0x61')==typeof _0x49d975)return new _0x43b77a(_0x40cf51,_0x49d975);{const _0x1848cc=_0x49d975[_0x3ea0('0xed')][_0x3ea0('0xa2')](_0x573a58=>J(_0x573a58,_0xdcc4e0));return new(B[_0x49d975[(_0x3ea0('0x4d'))]]||_0x40e0fb)(_0x40cf51,_0x49d975[_0x3ea0('0xd1')],_0x49d975[_0x3ea0('0x20')],_0x1848cc);}}class H{constructor(_0x5195ea){this[_0x3ea0('0x23')]=_0x5195ea,this['_savedMetaData']=new Map(),this[_0x3ea0('0x8b')]=-0x1,this[_0x3ea0('0x6b')]=-0x1,this[_0x3ea0('0xd3')]=new Map(),this[_0x3ea0('0x10b')]=new Map(),this['_diffRootsAttributes']=new Map(),this[_0x3ea0('0x17')]=new Map(),this['_baseRootsAttributes']=new Map(),this[_0x3ea0('0x6c')]=new Map(),this[_0x3ea0('0xd4')]=new Map(),this[_0x3ea0('0x6a')]=new Map(),this[_0x3ea0('0x26')]=new Map(),this[_0x3ea0('0xd9')]=new Map(),this[_0x3ea0('0x79')]=0x1;}[_0x3ea0('0x107')](_0x1d6155){this[_0x3ea0('0x65')]=_0x1d6155;const _0x408ff4=new Map(),_0x44962d=new Map(),_0x4b4085=this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')]['roots']['map'](_0x4ee060=>_0x4ee060[_0x3ea0('0x10')]);for(const _0x3dc46b of _0x4b4085){const _0x468565=this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0xf2')]['getRoot'](_0x3dc46b),_0x5ecb85=q(_0x468565);_0x408ff4['set'](_0x3dc46b,_0x5ecb85),_0x44962d[_0x3ea0('0x56')](_0x3dc46b,Object[_0x3ea0('0x5e')](_0x468565[_0x3ea0('0xb6')]()));}const _0x47e7af=Array[_0x3ea0('0xcf')](this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0x67')])['map'](_0x351580=>[_0x351580[_0x3ea0('0xd1')],_0x351580[_0x3ea0('0xc9')]()]),_0x2ba5c2=this['source']['version'];this['_saveMetaData'](_0x2ba5c2,_0x408ff4,_0x47e7af,_0x44962d),this['_startingRevisionId']=this[_0x3ea0('0x79')];const _0x34be1e=new Map(),_0x531efc=new Map();for(const _0x23ed73 of _0x4b4085){const _0x9adfb8=G(_0x23ed73);_0x34be1e[_0x3ea0('0x56')](_0x23ed73,_0x9adfb8),_0x531efc[_0x3ea0('0x56')](_0x23ed73,{});}this[_0x3ea0('0x8e')](Number[_0x3ea0('0x101')],_0x34be1e,[],_0x531efc);}['getData'](_0x57790,_0x53e39a){if(this[_0x3ea0('0x8b')]===_0x57790&&this[_0x3ea0('0x6b')]<=_0x53e39a)this['_savedMetaData'][_0x3ea0('0x7f')]>0x1&&this[_0x3ea0('0xff')](this[_0x3ea0('0x6b')]),this[_0x3ea0('0xf3')](this['_lastTo'],_0x53e39a,!0x0);else{if(!this['_savedMetaData'][_0x3ea0('0x76')](_0x57790)){const _0x23e9dc=this['_getPreviousFrom'](_0x57790);this[_0x3ea0('0x69')](_0x23e9dc,_0x57790,!0x1);}this['_calculateMetaData'](_0x57790,_0x53e39a,!0x0);}return this[_0x3ea0('0x8b')]=_0x57790,this[_0x3ea0('0x6b')]=_0x53e39a,this[_0x3ea0('0x9d')]();}['loadState'](_0x548d9c){this[_0x3ea0('0xc3')](),this['_lastFrom']=_0x548d9c['fromVersion'],this['_lastTo']=_0x548d9c[_0x3ea0('0xcc')];for(const _0x2ba61a in _0x548d9c[_0x3ea0('0x31')]){const _0x123647=_0x548d9c[_0x3ea0('0x31')][_0x2ba61a][_0x3ea0('0xbb')],_0x535d4d=_0x3073de(_0x548d9c[_0x3ea0('0x31')][_0x2ba61a][_0x3ea0('0xc')])||{},_0x5cb184=this[_0x3ea0('0xa7')](_0x548d9c[_0x3ea0('0x31')][_0x2ba61a][_0x3ea0('0x21')]);_0x5cb184['rootName']=_0x2ba61a,_0x5cb184[_0x3ea0('0xa9')]=!_0x123647||!_0x123647[_0x3ea0('0x40')],_0x5cb184[_0x3ea0('0x40')]=()=>_0x5cb184[_0x3ea0('0xa9')],this[_0x3ea0('0x17')][_0x3ea0('0x56')](_0x2ba61a,_0x5cb184),this[_0x3ea0('0xbc')][_0x3ea0('0x56')](_0x2ba61a,_0x535d4d),_0x123647&&this[_0x3ea0('0xd9')][_0x3ea0('0x56')](_0x2ba61a,_0x123647);const _0x5eff21=this[_0x3ea0('0x104')](_0x5cb184);this['_baseIdsRoots'][_0x3ea0('0x56')](_0x2ba61a,_0x5eff21);for(const [_0x23efa6,_0x223d60]of _0x5cb184['markers']){if(!_0x23efa6['startsWith']('revision:'))continue;const _0x1ee521=_0x23efa6['split'](':')[0x2];for(const _0x46a50a of _0x223d60[_0x3ea0('0x1e')]({'singleCharacters':!0x0})){const _0x159c92=this[_0x3ea0('0x51')](_0x46a50a),_0x5e8a82=_0x3ea0('0xa5')==_0x46a50a['type']?_0x46a50a[_0x3ea0('0x10d')][_0x3ea0('0xae')][_0x3ea0('0x46')](0x0,-0x1):_0x46a50a[_0x3ea0('0x10d')][_0x3ea0('0xae')],_0x124189=_0x5eff21[_0x3ea0('0x36')](_0x5e8a82)[_0x3ea0('0x3d')](_0x159c92);this[_0x3ea0('0x6a')][_0x3ea0('0x56')](_0x124189,{'userId':_0x1ee521});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4cecc3=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)[_0x3ea0('0x4e')](_0x3f612a=>!this[_0x3ea0('0x6a')][_0x3ea0('0x76')](_0x3f612a));let _0x4e89bd=0x0;const _0xbcc5fd=new Map();for(const _0x579623 in _0x548d9c[_0x3ea0('0x31')]){const _0x2ef6ad=_0x548d9c[_0x3ea0('0x31')][_0x579623][_0x3ea0('0xbb')],_0x45c77b=_0x3073de(_0x548d9c['diffData'][_0x579623]['attributesAfter'])||{},_0x4621fb=this[_0x3ea0('0xa7')](_0x548d9c[_0x3ea0('0x31')][_0x579623][_0x3ea0('0x90')]);_0x4621fb[_0x3ea0('0x10')]=_0x579623,_0x4621fb[_0x3ea0('0xa9')]=!_0x2ef6ad||_0x2ef6ad[_0x3ea0('0x40')],_0x4621fb[_0x3ea0('0x40')]=()=>_0x4621fb[_0x3ea0('0xa9')],this['_diffRoots'][_0x3ea0('0x56')](_0x579623,_0x4621fb),this['_diffRootsAttributes'][_0x3ea0('0x56')](_0x579623,_0x45c77b);const _0x39a02b=this[_0x3ea0('0x104')](_0x4621fb,Number[_0x3ea0('0x101')]);this[_0x3ea0('0x6c')]['set'](_0x579623,_0x39a02b),_0xbcc5fd[_0x3ea0('0x56')](_0x579623,_0x4621fb[_0x3ea0('0x40')]()?_0x45c77b:{});for(const [_0x5cad89,_0x32d6a9]of _0x4621fb[_0x3ea0('0x67')]){if(!_0x5cad89[_0x3ea0('0x3c')](_0x3ea0('0x68')))continue;const _0x4f51ca=_0x5cad89['split'](':')[0x2];for(const _0x4f4c0d of _0x32d6a9[_0x3ea0('0x1e')]({'singleCharacters':!0x0})){const _0x1963d7=this[_0x3ea0('0x51')](_0x4f4c0d),_0x3c2852=this[_0x3ea0('0x79')]++,_0xe268e7=_0x3ea0('0xa5')==_0x4f4c0d['type']?_0x4f4c0d['previousPosition'][_0x3ea0('0xae')][_0x3ea0('0x46')](0x0,-0x1):_0x4f4c0d[_0x3ea0('0x10d')][_0x3ea0('0xae')];_0x39a02b[_0x3ea0('0x36')](_0xe268e7)['_setAttribute'](_0x1963d7,_0x3c2852),this['_touched'][_0x3ea0('0x56')](_0x3c2852,{'userId':_0x4f51ca});}}for(const _0x28de16 of this[_0x3ea0('0x23')][_0x3ea0('0xe1')][_0x3ea0('0x57')](_0x4621fb)[_0x3ea0('0x1e')]({'singleCharacters':!0x0})){const _0x5addc1=this['_getVidAttributeName'](_0x28de16),_0x1fbfa3=_0x3ea0('0xa5')==_0x28de16['type']?_0x28de16[_0x3ea0('0x10d')][_0x3ea0('0xae')][_0x3ea0('0x46')](0x0,-0x1):_0x28de16[_0x3ea0('0x10d')][_0x3ea0('0xae')],_0x403899=_0x39a02b[_0x3ea0('0x36')](_0x1fbfa3);_0x403899[_0x3ea0('0x3d')](_0x5addc1)>0x0||_0x403899[_0x3ea0('0xdb')](_0x5addc1,_0x4cecc3[_0x4e89bd++]);}for(const [_0xf50a3a,_0x53250a]of _0x4621fb[_0x3ea0('0x67')])_0xf50a3a[_0x3ea0('0x3c')](_0x3ea0('0x68'))||this[_0x3ea0('0xd3')][_0x3ea0('0x56')](_0xf50a3a,_0x53250a);}const _0x2fe342=G(_0x3ea0('0x2c'));this[_0x3ea0('0x17')]['set'](_0x3ea0('0x2c'),_0x2fe342),this[_0x3ea0('0xd4')][_0x3ea0('0x56')](_0x3ea0('0x2c'),this[_0x3ea0('0x104')](_0x2fe342,0x1));const _0x3a9e54=G(_0x3ea0('0x2c'));this[_0x3ea0('0x10b')][_0x3ea0('0x56')](_0x3ea0('0x2c'),_0x3a9e54),this['_idsRoots'][_0x3ea0('0x56')](_0x3ea0('0x2c'),this[_0x3ea0('0x104')](_0x3a9e54,0x1));const _0x4442fa=Array[_0x3ea0('0xcf')](this[_0x3ea0('0x10b')])[_0x3ea0('0xa2')](([_0x111b10,_0x170b60])=>[_0x111b10,q(_0x170b60)]);this[_0x3ea0('0x8e')](this['_lastTo'],_0x4442fa,this[_0x3ea0('0xd3')],_0xbcc5fd);}[_0x3ea0('0xa7')](_0x16c176){const _0x27bb66=JSON[_0x3ea0('0x7a')](_0x16c176),_0x49dd62=this[_0x3ea0('0x23')][_0x3ea0('0x2')]['view'][_0x3ea0('0xf2')],_0x4f15a6=new _0x17d2c6(_0x49dd62,_0x27bb66[_0x3ea0('0xa2')](_0x209165=>J(_0x209165,this[_0x3ea0('0x23')])));return this[_0x3ea0('0x23')]['data'][_0x3ea0('0x37')](_0x4f15a6);}['_saveMetaData'](_0x4656c5,_0x2650e7,_0xa0e05,_0x105e5f){const _0xaf7bfa=new Map(_0x2650e7),_0x227a44=new Map(_0x3073de(_0x105e5f)),_0x27ba87=new Map();for(const [_0x13979c,_0x7f15ef]of _0xa0e05)_0x27ba87['set'](_0x13979c,{'start':_0x7f15ef[_0x3ea0('0xe2')][_0x3ea0('0xcd')](),'end':_0x7f15ef[_0x3ea0('0x4a')][_0x3ea0('0xcd')](),'rootName':_0x7f15ef[_0x3ea0('0x2a')][_0x3ea0('0x10')]});this[_0x3ea0('0xea')][_0x3ea0('0x56')](_0x4656c5,{'roots':_0xaf7bfa,'markers':_0x27ba87,'rootsAttributes':_0x227a44});}[_0x3ea0('0xff')](_0x2746a9){this[_0x3ea0('0xea')][_0x3ea0('0x3a')](_0x2746a9);}[_0x3ea0('0x99')](){this['_reset'](),this[_0x3ea0('0x8b')]=-0x1,this[_0x3ea0('0x6b')]=-0x1,this['_savedMetaData'][_0x3ea0('0x43')](),this[_0x3ea0('0x107')](this[_0x3ea0('0x65')]);}[_0x3ea0('0xc3')](){this['_touched'][_0x3ea0('0x43')](),this['_touchedMarkers'][_0x3ea0('0x43')](),this[_0x3ea0('0xd9')][_0x3ea0('0x43')](),this[_0x3ea0('0x10b')][_0x3ea0('0x43')](),this[_0x3ea0('0x73')][_0x3ea0('0x43')](),this[_0x3ea0('0x17')]['clear'](),this[_0x3ea0('0xbc')][_0x3ea0('0x43')](),this[_0x3ea0('0x6c')][_0x3ea0('0x43')](),this[_0x3ea0('0xd4')][_0x3ea0('0x43')](),this[_0x3ea0('0xd3')][_0x3ea0('0x43')](),this[_0x3ea0('0x79')]=0x1,this[_0x3ea0('0xc6')]=this[_0x3ea0('0x79')];}['_makeIdsRoot'](_0x30d210,_0x54251=null){let _0x1e77bc=null;_0x30d210['is']('documentFragment')||(_0x1e77bc=new _0x49bd18(_0x30d210[_0x3ea0('0xd1')],{'vid_start':null===_0x54251?this[_0x3ea0('0x79')]++:_0x54251++}));const _0x12d5ce=[];for(const _0x3bb764 of _0x30d210[_0x3ea0('0x5f')]())if(_0x3bb764['is'](_0x3ea0('0xe8'))){_0x12d5ce[_0x3ea0('0x82')](this['_makeIdsRoot'](_0x3bb764,_0x54251));const _0x271b3d=_0x12d5ce[_0x12d5ce[_0x3ea0('0x18')]-0x1];null!==_0x54251&&(_0x54251=_0x271b3d['is'](_0x3ea0('0xe8'),_0x3ea0('0x5a'))?_0x271b3d['getAttribute'](_0x3ea0('0x8f'))+0x1:_0x271b3d[_0x3ea0('0x3d')](_0x3ea0('0x8d'))+0x1);}else for(let _0x2fac8d=0x0;_0x2fac8d<_0x3bb764[_0x3ea0('0xc1')];_0x2fac8d++)_0x12d5ce[_0x3ea0('0x82')](new _0x49bd18(_0x3ea0('0x5a'),{'vid':null===_0x54251?this[_0x3ea0('0x79')]++:_0x54251++}));if(_0x30d210['is'](_0x3ea0('0x86'))){const _0x1dfc1c=G(_0x30d210[_0x3ea0('0x10')]);return _0x1dfc1c['_insertChild'](0x0,_0x12d5ce),_0x1dfc1c;}return _0x1e77bc[_0x3ea0('0xdb')]('vid_end',null===_0x54251?this['_revisionId']++:_0x54251++),_0x1e77bc[_0x3ea0('0x39')](0x0,_0x12d5ce),_0x1e77bc;}['_calculateMetaData'](_0x4f99d5,_0x2e91ba,_0x2585f2){this[_0x3ea0('0xc3')]();const {roots:_0x4d24d0,markers:_0x1502a9,rootsAttributes:_0x3dbd7d}=this[_0x3ea0('0xea')][_0x3ea0('0x24')](_0x4f99d5);this[_0x3ea0('0x17')]=new Map(_0x4d24d0),this[_0x3ea0('0xbc')]=new Map(_0x3073de(_0x3dbd7d));for(const [_0x3aa694,_0x138625]of this[_0x3ea0('0x17')])if('$graveyard'!==_0x3aa694&&(this[_0x3ea0('0x10b')]['set'](_0x3aa694,q(_0x138625)),this[_0x3ea0('0x73')]=new Map(_0x3073de(_0x3dbd7d)),_0x2585f2)){const _0x2c90cd=this[_0x3ea0('0x79')];this['_idsRoots'][_0x3ea0('0x56')](_0x3aa694,this[_0x3ea0('0x104')](_0x138625)),this[_0x3ea0('0xd4')][_0x3ea0('0x56')](_0x3aa694,this[_0x3ea0('0x104')](_0x138625,_0x2c90cd));}this[_0x3ea0('0xc6')]=this['_revisionId'],this[_0x3ea0('0x10b')][_0x3ea0('0x56')](_0x3ea0('0x2c'),q(this[_0x3ea0('0x17')][_0x3ea0('0x24')](_0x3ea0('0x2c')))),_0x2585f2&&this[_0x3ea0('0x6c')][_0x3ea0('0x56')](_0x3ea0('0x2c'),this[_0x3ea0('0x104')](this['_baseRoots'][_0x3ea0('0x24')](_0x3ea0('0x2c'))));for(const [_0x53f424,_0x1057a5]of _0x1502a9){const _0xa5b995=this[_0x3ea0('0x17')]['get'](_0x1057a5[_0x3ea0('0x10')]),_0x1c306a=this[_0x3ea0('0x10b')][_0x3ea0('0x24')](_0x1057a5[_0x3ea0('0x10')]),_0x31c3e3=new _0x1849d3(this['_fixPosition'](_0x1057a5[_0x3ea0('0xe2')],_0xa5b995),this[_0x3ea0('0xf4')](_0x1057a5[_0x3ea0('0x4a')],_0xa5b995)),_0x3754c5=this[_0x3ea0('0x78')](_0x31c3e3,_0x1c306a);_0xa5b995[_0x3ea0('0x67')][_0x3ea0('0x56')](_0x53f424,_0x31c3e3),this[_0x3ea0('0xd3')][_0x3ea0('0x56')](_0x53f424,_0x3754c5);}this[_0x3ea0('0xf3')](_0x4f99d5,_0x2e91ba,_0x2585f2);}[_0x3ea0('0xf3')](_0x494765,_0x103316,_0x5eb116){for(const _0x3acce8 of this[_0x3ea0('0x65')][_0x3ea0('0x96')](_0x494765,_0x103316))this[_0x3ea0('0x2f')](_0x3acce8,_0x5eb116);for(const _0x4b96d1 of this[_0x3ea0('0x10b')][_0x3ea0('0xf')]())_0x4b96d1[_0x3ea0('0x67')][_0x3ea0('0x43')]();for(const [_0xe471fb,_0x2d5efa]of this[_0x3ea0('0xd3')]){this['_diffRoots']['get'](_0x2d5efa[_0x3ea0('0x2a')][_0x3ea0('0x10')])[_0x3ea0('0x67')][_0x3ea0('0x56')](_0xe471fb,_0x2d5efa[_0x3ea0('0xcd')]());}const _0x35cf59=new Map(),_0x4d860d=new Map();for(const [_0x8edfa6,_0x1947f5]of this[_0x3ea0('0x10b')])_0x35cf59[_0x3ea0('0x56')](_0x8edfa6,q(_0x1947f5)),_0x4d860d[_0x3ea0('0x56')](_0x8edfa6,this[_0x3ea0('0x73')]['get'](_0x8edfa6));this[_0x3ea0('0x8e')](_0x103316,_0x35cf59,this['_markers'],_0x4d860d);}[_0x3ea0('0x32')](_0x4d63ff){const _0x190007=Array[_0x3ea0('0xcf')](this[_0x3ea0('0xea')][_0x3ea0('0x5c')]());_0x190007[_0x3ea0('0xda')]((_0x5ef450,_0x6269a)=>_0x5ef450-_0x6269a),_0x190007['reverse']();for(const _0x3d7dc8 of _0x190007)if(_0x3d7dc8<_0x4d63ff)return _0x3d7dc8;return Number['NEGATIVE_INFINITY'];}[_0x3ea0('0xa6')](_0x2a0be2,_0x5ad80f){const _0x4fb5b1=Array[_0x3ea0('0xcf')](_0x5ad80f[_0x3ea0('0x67')])['map'](([_0x107cef,_0x5c8119])=>[_0x107cef,this['_fixRange'](_0x5c8119,_0x2a0be2)]);_0x2a0be2['markers']=new Map(_0x4fb5b1);}[_0x3ea0('0xc2')](_0x49db43){for(const _0x4b34cc of this[_0x3ea0('0xd3')][_0x3ea0('0xf')]()){const _0x1a779a=_0x4b34cc[_0x3ea0('0xd0')](_0x49db43),_0x4b7f49=_0x1849d3[_0x3ea0('0xe4')](_0x1a779a);_0x4b34cc[_0x3ea0('0xe2')]=_0x4b7f49[_0x3ea0('0xe2')],_0x4b34cc[_0x3ea0('0x4a')]=_0x4b7f49[_0x3ea0('0x4a')];}}[_0x3ea0('0x2f')](_0x3e6f99,_0x36ef95){if(_0x3ea0('0x109')==_0x3e6f99[_0x3ea0('0x4d')]||_0x3ea0('0x5b')==_0x3e6f99[_0x3ea0('0x4d')])return void this[_0x3ea0('0xfa')](_0x3e6f99,_0x36ef95);if('insert'==_0x3e6f99[_0x3ea0('0x4d')]){const _0x2938b9=_0x3e6f99[_0x3ea0('0x98')]['root'][_0x3ea0('0x10')];this[_0x3ea0('0x10b')][_0x3ea0('0x76')](_0x2938b9)||(this[_0x3ea0('0x10b')][_0x3ea0('0x56')](_0x2938b9,G(_0x2938b9,!0x0)),this[_0x3ea0('0x73')][_0x3ea0('0x56')](_0x2938b9,{}),_0x36ef95&&this['_idsRoots'][_0x3ea0('0x56')](_0x2938b9,G(_0x2938b9,!0x0)));}else{if(_0x3ea0('0x6')==_0x3e6f99[_0x3ea0('0x4d')]||_0x3ea0('0x97')==_0x3e6f99[_0x3ea0('0x4d')]||_0x3ea0('0xb')==_0x3e6f99[_0x3ea0('0x4d')])return void this[_0x3ea0('0x59')](_0x3e6f99);}const _0xc3ac4d=this['_cloneOperation'](_0x3e6f99,this[_0x3ea0('0x10b')]);if(_0x3ea0('0x12')!==_0x3e6f99[_0x3ea0('0x4d')]&&(_0xc3ac4d['_execute'](),this['_transformMarkers'](_0xc3ac4d)),_0x36ef95)switch(_0xc3ac4d[_0x3ea0('0x4d')]){case _0x3ea0('0x30'):this['_handleInsertOperation'](_0x3e6f99);break;case _0x3ea0('0x91'):case _0x3ea0('0x4b'):case _0x3ea0('0x42'):this[_0x3ea0('0x1a')](_0x3e6f99);break;case'merge':this['_handleMergeOperation'](_0x3e6f99);break;case _0x3ea0('0xe3'):this[_0x3ea0('0xb0')](_0x3e6f99);break;case _0x3ea0('0x12'):this['_handleMarkerOperation'](_0x3e6f99);}}[_0x3ea0('0x88')](_0x5aefdf,_0x4b4ed2){const _0x4451ce=_0x5aefdf[_0x3ea0('0xcd')]();return _0x4451ce[_0x3ea0('0x7b')]=_0x5aefdf[_0x3ea0('0x7b')],this[_0x3ea0('0x5')](_0x4451ce,_0x4b4ed2),_0x4451ce;}[_0x3ea0('0x54')](_0x428549){return _0x428549[_0x3ea0('0xa2')](_0x5163ad=>{const _0x37616f=this[_0x3ea0('0x51')](_0x5163ad);return Number(_0x5163ad[_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x37616f));});}[_0x3ea0('0x33')](_0x3dc0e2,_0x39fd2d){if(_0x3dc0e2['is'](_0x3ea0('0xe8'),'$text'))_0x39fd2d['push']({'item':_0x3dc0e2,'type':_0x3ea0('0x95')});else{_0x3dc0e2['is'](_0x3ea0('0xe8'))&&_0x39fd2d[_0x3ea0('0x82')]({'item':_0x3dc0e2,'type':_0x3ea0('0x16')});for(const _0x50af26 of _0x3dc0e2['getChildren']())this['_generateTape'](_0x50af26,_0x39fd2d);_0x3dc0e2['is']('element')&&_0x39fd2d[_0x3ea0('0x82')]({'item':_0x3dc0e2,'type':_0x3ea0('0xa5')});}return _0x39fd2d;}[_0x3ea0('0x9d')](){const _0x3c3b08=new Map(this[_0x3ea0('0x6a')]),_0x2c4415=new Map(_0x3c3b08),_0x5d7608=new Map(),_0x5c9167={'insertions':{},'deletions':{}},_0x1a6222={'insertions':{},'deletions':{}},_0x53d82b=new Map(),_0x32dd48=new Set([...this['_baseRoots'][_0x3ea0('0x5c')](),...this['_diffRoots'][_0x3ea0('0x5c')]()]);_0x32dd48[_0x3ea0('0x3a')]('$graveyard');for(const _0x375906 of _0x32dd48){const _0x7602f1=this[_0x3ea0('0x10b')][_0x3ea0('0x24')](_0x375906)||G(_0x375906,!0x1),_0x460f1f=this[_0x3ea0('0x17')]['get'](_0x375906)||G(_0x375906,!0x1);_0x7602f1['isAttached']()||_0x460f1f[_0x3ea0('0x40')]()?(_0x5c9167[_0x3ea0('0x90')][_0x375906]=q(_0x7602f1),_0x5c9167[_0x3ea0('0x21')][_0x375906]=q(_0x460f1f),this[_0x3ea0('0xa6')](_0x5c9167['deletions'][_0x375906],_0x460f1f),this[_0x3ea0('0xa6')](_0x5c9167[_0x3ea0('0x90')][_0x375906],_0x7602f1),_0x1a6222[_0x3ea0('0x90')][_0x375906]=this[_0x3ea0('0x33')](this[_0x3ea0('0x6c')][_0x3ea0('0x24')](_0x375906),[]),_0x1a6222[_0x3ea0('0x21')][_0x375906]=this[_0x3ea0('0x33')](this[_0x3ea0('0xd4')]['get'](_0x375906)||G(_0x375906,!0x1),[])):_0x32dd48[_0x3ea0('0x3a')](_0x375906);}for(const _0x1b713e of _0x32dd48){const _0x470e18=_0x1a6222[_0x3ea0('0x90')][_0x1b713e];for(const _0x4a553c of _0x470e18){const _0x36bcb0=this[_0x3ea0('0x51')](_0x4a553c),_0x1adfc5=_0x4a553c[_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x36bcb0);_0x2c4415[_0x3ea0('0x3a')](_0x1adfc5),_0x1adfc5>=this[_0x3ea0('0xc6')]&&_0x5d7608['set'](_0x1adfc5,_0x3c3b08['get'](_0x1adfc5));}}for(const _0x3bd726 of _0x32dd48){const _0x374044=_0x1a6222[_0x3ea0('0x90')][_0x3bd726],_0x8814e2=this[_0x3ea0('0x54')](_0x1a6222[_0x3ea0('0x21')][_0x3bd726]);let _0x34ea35=0x0;for(const _0x144803 of _0x374044){const _0x5e9eed=this[_0x3ea0('0x51')](_0x144803),_0xd32000=_0x144803[_0x3ea0('0xfc')]['getAttribute'](_0x5e9eed);if(!_0x5d7608[_0x3ea0('0x76')](_0xd32000)&&!_0x53d82b['has'](_0xd32000)){if(_0x2c4415[_0x3ea0('0x76')](_0xd32000))_0x34ea35++;else{if(_0xd32000!=_0x8814e2[_0x34ea35]){const _0x11d525=_0x3c3b08[_0x3ea0('0x24')](_0xd32000)||_0x3c3b08['get'](_0x8814e2[_0x34ea35]);for(;_0xd32000!=_0x8814e2[_0x34ea35];)_0x2c4415[_0x3ea0('0x76')](_0x8814e2[_0x34ea35])||(_0x53d82b[_0x3ea0('0x56')](_0x8814e2[_0x34ea35],_0x11d525),_0x3c3b08[_0x3ea0('0x56')](_0x8814e2[_0x34ea35],_0x11d525)),_0x34ea35++;}_0x34ea35++;}}}}for(const _0x266dfa of _0x32dd48){const _0xbde7c7=_0x1a6222['insertions'][_0x266dfa];for(const _0x1ecb0e of _0xbde7c7){const _0x372f1f=this[_0x3ea0('0x51')](_0x1ecb0e),_0xb1c92d=_0x1ecb0e['item'][_0x3ea0('0x3d')](_0x372f1f);if(_0x53d82b[_0x3ea0('0x76')](_0xb1c92d)){const _0x40e900=_0x53d82b[_0x3ea0('0x24')](_0xb1c92d);_0x2c4415[_0x3ea0('0x76')](_0xb1c92d)||_0x2c4415['set'](_0xb1c92d,{..._0x40e900}),_0x5d7608['set'](_0xb1c92d,{..._0x40e900});}}}for(const _0x358d3b of _0x2c4415[_0x3ea0('0x5c')]())_0x358d3b>=this[_0x3ea0('0xc6')]&&_0x2c4415['delete'](_0x358d3b);const _0x3812ef=new Map();for(const _0x3e0cea of _0x32dd48){let _0x26bbc1=_0x1a6222[_0x3ea0('0x90')][_0x3e0cea];for(const _0x113046 of _0x26bbc1)if(_0x113046[_0x3ea0('0xfc')]['is']('element',_0x3ea0('0x4c'))){const _0x24c622=this[_0x3ea0('0x51')](_0x113046),_0x43c9f6=_0x113046[_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x24c622);if(_0x5d7608[_0x3ea0('0x76')](_0x43c9f6)){const _0x3800e3=_0x113046['item'][_0x3ea0('0x1b')][_0x3ea0('0x1b')][_0x3ea0('0x3d')](_0x3ea0('0xf5')),_0x203c61=_0x3812ef[_0x3ea0('0x24')](_0x3800e3)||new Set();_0x203c61[_0x3ea0('0xc7')](_0x5d7608[_0x3ea0('0x24')](_0x43c9f6)['userId']),_0x3812ef[_0x3ea0('0x56')](_0x3800e3,_0x203c61);}}_0x26bbc1=_0x1a6222['deletions'][_0x3e0cea];for(const _0x547186 of _0x26bbc1)if(_0x547186[_0x3ea0('0xfc')]['is'](_0x3ea0('0xe8'),'tableCell')){const _0x270ab0=this[_0x3ea0('0x51')](_0x547186),_0x3bcaba=_0x547186['item'][_0x3ea0('0x3d')](_0x270ab0);if(_0x2c4415['has'](_0x3bcaba)){const _0x5008cd=_0x547186[_0x3ea0('0xfc')][_0x3ea0('0x1b')][_0x3ea0('0x1b')][_0x3ea0('0x3d')](_0x3ea0('0xf5')),_0x11115a=_0x3812ef[_0x3ea0('0x24')](_0x5008cd)||new Set();_0x11115a[_0x3ea0('0xc7')](_0x2c4415[_0x3ea0('0x24')](_0x3bcaba)[_0x3ea0('0x66')]),_0x3812ef['set'](_0x5008cd,_0x11115a);}}for(const _0x8df58b of _0x3812ef['keys']())(_0x5d7608[_0x3ea0('0x76')](_0x8df58b)||_0x2c4415[_0x3ea0('0x76')](_0x8df58b))&&_0x3812ef[_0x3ea0('0x3a')](_0x8df58b);}for(const _0x15f69f of _0x32dd48){const _0x10ec79=_0x1a6222[_0x3ea0('0x90')][_0x15f69f];let _0x10fb4f=null,_0xf95bb5=null;for(const _0x25ecfd of _0x10ec79){const _0x5f3b4b=this[_0x3ea0('0x51')](_0x25ecfd),_0x52d94d=_0x25ecfd['item'][_0x3ea0('0x3d')](_0x5f3b4b),_0x57dfd0=_0x3812ef['get'](_0x52d94d);_0x57dfd0&&_0x3ea0('0x16')==_0x25ecfd['type']&&(_0x10fb4f=Array[_0x3ea0('0xcf')](_0x57dfd0)[0x0],_0xf95bb5=_0x25ecfd[_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x3ea0('0x8d'))),_0x10fb4f&&(_0x2c4415[_0x3ea0('0x56')](_0x52d94d,{'userId':_0x10fb4f}),_0x5d7608['set'](_0x52d94d,{'userId':_0x10fb4f})),_0x52d94d==_0xf95bb5&&(_0x10fb4f=null,_0xf95bb5=null);}}const _0x235a73={},_0x4ef60d=new Set();for(const _0x201d0e of _0x32dd48){const _0x5641d0=_0x5c9167['deletions'][_0x201d0e],_0x5ee0b8=_0x5c9167[_0x3ea0('0x90')][_0x201d0e];for(const {userId:_0x1f64b8}of this[_0x3ea0('0x26')][_0x3ea0('0xf')]())null!==_0x1f64b8&&_0x4ef60d['add'](_0x1f64b8);for(const {userId:_0x216427}of this['_touchedRoots'][_0x3ea0('0xf')]())null!==_0x216427&&_0x4ef60d['add'](_0x216427);this['_markChanges'](_0x5ee0b8,_0x1a6222[_0x3ea0('0x90')][_0x201d0e],_0x5d7608,_0x3ea0('0xbf'),_0x4ef60d),this[_0x3ea0('0xf6')](_0x5641d0,_0x1a6222[_0x3ea0('0x21')][_0x201d0e],_0x2c4415,_0x3ea0('0xde'),_0x4ef60d),_0x235a73[_0x201d0e]={'insertions':this['_prepareViewToSave'](_0x5ee0b8),'deletions':this[_0x3ea0('0xce')](_0x5641d0),'attachChange':this['_touchedRoots']['get'](_0x201d0e)||null,'attributesBefore':_0x3073de(this[_0x3ea0('0xbc')][_0x3ea0('0x24')](_0x201d0e))||{},'attributesAfter':_0x3073de(this[_0x3ea0('0x73')][_0x3ea0('0x24')](_0x201d0e))};}return{'diffData':_0x235a73,'authorsIds':Array[_0x3ea0('0xcf')](_0x4ef60d)};}[_0x3ea0('0x83')](_0x34e9c0){for(const [,_0x15210a]of _0x34e9c0[_0x3ea0('0x67')]){const _0x55164f=_0x15210a['start'][_0x3ea0('0xba')]()[_0x3ea0('0x4e')](_0xac22f0=>_0x3ea0('0x4c')==_0xac22f0['name']);for(const _0x111875 of _0x55164f)0x1==_0x111875[_0x3ea0('0x93')]&&_0x111875[_0x3ea0('0xac')](0x0)['is'](_0x3ea0('0xe8'),'paragraph')&&_0x111875[_0x3ea0('0xac')](0x0)[_0x3ea0('0xdb')](_0x3ea0('0xb2'),!0x0);}}['_prepareViewToSave'](_0x3c5af6){this[_0x3ea0('0x83')](_0x3c5af6);const _0x5c3a5f=this['editor'][_0x3ea0('0xfe')][_0x3ea0('0xa3')](_0x3c5af6,{}),_0x26dc6c=Array[_0x3ea0('0xcf')](_0x5c3a5f['getChildren']())[_0x3ea0('0xa2')](_0x5da28c=>this['_getViewJson'](_0x5da28c));return JSON[_0x3ea0('0x3f')](_0x26dc6c);}[_0x3ea0('0x3b')](_0x1fa306){if(_0x1fa306['is']('$text'))return _0x1fa306[_0x3ea0('0xfe')];{const _0x2e1e1b=_0x1fa306;return{'type':Object[_0x3ea0('0x5c')](B)[_0x3ea0('0x9c')](_0x11bf2e=>_0x1fa306 instanceof B[_0x11bf2e]),'name':_0x2e1e1b[_0x3ea0('0xd1')],'attributes':Array[_0x3ea0('0xcf')](_0x2e1e1b[_0x3ea0('0xb6')]()),'children':Array[_0x3ea0('0xcf')](_0x2e1e1b[_0x3ea0('0x5f')]())[_0x3ea0('0xa2')](_0x5b8ebc=>this['_getViewJson'](_0x5b8ebc))};}}[_0x3ea0('0xf6')](_0x3db27d,_0x11f957,_0x5e4174,_0x36ce8c,_0xd48b47){let _0x5eb9cd=null,_0x15dc2c=null,_0xec937c=0x0;const _0x50068a=this[_0x3ea0('0x23')][_0x3ea0('0xe1')];for(let _0x4acc4f=0x0;_0x4acc4f<_0x11f957['length'];_0x4acc4f++){const _0x22cce1=this[_0x3ea0('0x51')](_0x11f957[_0x4acc4f]),_0x56748c=_0x11f957[_0x4acc4f][_0x3ea0('0xfc')][_0x3ea0('0x3d')](_0x22cce1),_0x337fa3=_0x5e4174[_0x3ea0('0x24')](_0x56748c),_0x1b1198=_0x4acc4f==_0x11f957[_0x3ea0('0x18')]-0x1;(!_0x5eb9cd&&_0x337fa3&&(_0x5eb9cd=_0x337fa3,_0x15dc2c=_0x11f957[_0x4acc4f]),_0x5eb9cd&&(!_0x337fa3||_0x337fa3[_0x3ea0('0x66')]!=_0x5eb9cd[_0x3ea0('0x66')]))&&(_0x4fb327(_0x337fa3,L(_0x15dc2c,_0x3db27d,_0x50068a),L(_0x11f957[_0x4acc4f],_0x3db27d,_0x50068a)),_0x5eb9cd=_0x337fa3||null,_0x15dc2c=_0x337fa3?_0x11f957[_0x4acc4f]:null),_0x5eb9cd&&_0x1b1198&&_0x4fb327(_0x337fa3,L(_0x15dc2c,_0x3db27d,_0x50068a),W(_0x11f957[_0x4acc4f],_0x3db27d,_0x50068a));}function _0x4fb327(_0x38d667,_0x56780c,_0x586a49){const _0x4d58fb=_0x5eb9cd[_0x3ea0('0x66')],_0x38e672=_0x3ea0('0x68')+_0x36ce8c+':'+_0x4d58fb+':'+_0xec937c++,_0x115521=_0x50068a[_0x3ea0('0xf1')](_0x56780c,_0x586a49);_0x3db27d[_0x3ea0('0x67')][_0x3ea0('0x56')](_0x38e672,_0x115521),null!==_0x4d58fb&&_0xd48b47[_0x3ea0('0xc7')](_0x4d58fb);}}[_0x3ea0('0x51')](_0x263064){switch(_0x263064[_0x3ea0('0x4d')]){case _0x3ea0('0x16'):return'vid_start';case _0x3ea0('0xa5'):return _0x3ea0('0x8d');default:return'vid';}}['_fixOperation'](_0x57fecf,_0x14b4ff){_0x57fecf['baseVersion']=null;for(const _0x364f8e in _0x57fecf){const _0xc7f4c2=_0x57fecf[_0x364f8e];if(_0xc7f4c2 instanceof _0x225847){const _0x4f3cf1=_0x14b4ff[_0x3ea0('0x24')](_0xc7f4c2[_0x3ea0('0x2a')][_0x3ea0('0x10')]);_0x57fecf[_0x364f8e]=this[_0x3ea0('0xf4')](_0xc7f4c2,_0x4f3cf1);}if(_0xc7f4c2 instanceof _0x1849d3){const _0x415f50=_0x14b4ff[_0x3ea0('0x24')](_0xc7f4c2[_0x3ea0('0x2a')][_0x3ea0('0x10')]);_0x57fecf[_0x364f8e]=this[_0x3ea0('0x78')](_0xc7f4c2,_0x415f50);}'root'===_0x364f8e&&(_0x57fecf[_0x3ea0('0x2a')]=_0x14b4ff[_0x3ea0('0x24')](_0x57fecf['root'][_0x3ea0('0x10')]));}}[_0x3ea0('0x78')](_0x17afe8,_0x342a7f){return this[_0x3ea0('0x23')]['model'][_0x3ea0('0xf1')](this[_0x3ea0('0xf4')](_0x17afe8[_0x3ea0('0xe2')],_0x342a7f),this[_0x3ea0('0xf4')](_0x17afe8[_0x3ea0('0x4a')],_0x342a7f));}[_0x3ea0('0xf4')](_0x1a95a3,_0x26253a){return this['editor'][_0x3ea0('0xe1')]['createPositionFromPath'](_0x26253a,_0x1a95a3[_0x3ea0('0xae')],_0x1a95a3['stickiness']);}['_handleInsertOperation'](_0x59a9fe){const _0x2c7f66=this['_idsRoots'][_0x3ea0('0x24')](_0x59a9fe['position'][_0x3ea0('0x2a')][_0x3ea0('0x10')]),_0x5cdaeb=this[_0x3ea0('0xf4')](_0x59a9fe['position'],_0x2c7f66),_0x21075b=null===_0x59a9fe[_0x3ea0('0x7b')]?null:_0x59a9fe[_0x3ea0('0x7b')]||this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x9e'))['me']['id'],_0x276072=_0x5cdaeb[_0x3ea0('0x1b')],_0x29f55c=this[_0x3ea0('0x79')],_0x2866f8=[];for(const _0x28b242 of _0x59a9fe[_0x3ea0('0x2b')])if(_0x28b242['is'](_0x3ea0('0xe8')))_0x2866f8['push'](this[_0x3ea0('0x104')](_0x28b242));else for(let _0x398a43=0x0;_0x398a43<_0x28b242[_0x3ea0('0xc1')];_0x398a43++)_0x2866f8[_0x3ea0('0x82')](new _0x49bd18(_0x3ea0('0x5a'),{'vid':this[_0x3ea0('0x79')]++}));const _0x3674b9=this['_revisionId'];for(let _0x67fdd9=_0x29f55c;_0x67fdd9<_0x3674b9;_0x67fdd9++)this['_touched']['set'](_0x67fdd9,{'userId':_0x21075b});_0x276072[_0x3ea0('0x39')](_0x5cdaeb[_0x3ea0('0x84')],_0x2866f8);}[_0x3ea0('0x1a')](_0x41ff99){(_0x41ff99=this[_0x3ea0('0x88')](_0x41ff99,this['_idsRoots']))[_0x3ea0('0x45')]();const _0xc79c61=null===_0x41ff99[_0x3ea0('0x7b')]?null:_0x41ff99['_authorId']||this[_0x3ea0('0x23')]['plugins']['get'](_0x3ea0('0x9e'))['me']['id'],_0x236a43=_0x41ff99[_0x3ea0('0xee')](),_0x4e8941=_0x236a43[_0x3ea0('0x1b')],_0x4bd581=_0x236a43['offset'];!function _0x31dab6(_0x22a9e2,_0x437672,_0x35a190,_0x3efb27){for(let _0x4c30a5=_0x35a190;_0x4c30a5<_0x3efb27;_0x4c30a5++){const _0x29f699=_0x437672[_0x3ea0('0xac')](_0x4c30a5);_0x29f699['is'](_0x3ea0('0xe8'),'$text')?_0x22a9e2[_0x3ea0('0x56')](_0x29f699[_0x3ea0('0x3d')]('vid'),{'userId':_0xc79c61}):(_0x22a9e2[_0x3ea0('0x56')](_0x29f699['getAttribute'](_0x3ea0('0xf5')),{'userId':_0xc79c61}),_0x31dab6(_0x22a9e2,_0x29f699,0x0,_0x29f699[_0x3ea0('0x93')]),_0x22a9e2[_0x3ea0('0x56')](_0x29f699['getAttribute']('vid_end'),{'userId':_0xc79c61}));}}(this[_0x3ea0('0x6a')],_0x4e8941,_0x4bd581,_0x4bd581+_0x41ff99[_0x3ea0('0xf0')]);}[_0x3ea0('0xa0')](_0x2e8379){const _0x4e8b81=null===(_0x2e8379=this['_cloneOperation'](_0x2e8379,this[_0x3ea0('0x6c')]))[_0x3ea0('0x7b')]?null:_0x2e8379['_authorId']||this[_0x3ea0('0x23')][_0x3ea0('0x7e')]['get'](_0x3ea0('0x9e'))['me']['id'],_0x1abf9e=_0x2e8379[_0x3ea0('0xbd')][_0x3ea0('0x1b')],_0x15522c=_0x2e8379[_0x3ea0('0xca')][_0x3ea0('0x1b')],_0x5eb860=_0x1abf9e[_0x3ea0('0x3d')]('vid_end'),_0x2cebf3=_0x15522c[_0x3ea0('0x3d')](_0x3ea0('0xf5'));_0x1abf9e[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0x15522c[_0x3ea0('0x3d')](_0x3ea0('0x8d'))),_0x15522c['_setAttribute'](_0x3ea0('0x8d'),_0x5eb860),this[_0x3ea0('0x6a')][_0x3ea0('0x56')](_0x2cebf3,{'userId':_0x4e8b81}),this[_0x3ea0('0x6a')]['set'](_0x5eb860,{'userId':_0x4e8b81}),_0x2e8379['_execute']();}['_handleSplitOperation'](_0x577d3b){const _0x56010d=null===(_0x577d3b=this[_0x3ea0('0x88')](_0x577d3b,this[_0x3ea0('0x6c')]))[_0x3ea0('0x7b')]?null:_0x577d3b[_0x3ea0('0x7b')]||this[_0x3ea0('0x23')][_0x3ea0('0x7e')]['get'](_0x3ea0('0x9e'))['me']['id'],_0x40f9fe=_0x577d3b[_0x3ea0('0x38')],_0x3ddb04=_0x577d3b[_0x3ea0('0x108')]['parent'];_0x577d3b['_execute']();const _0xc7e34a=_0x3ddb04[_0x3ea0('0x3d')](_0x3ea0('0x8d')),_0x106588=_0x577d3b[_0x3ea0('0xc8')][_0x3ea0('0xc4')];if(_0x40f9fe){const _0x3866df=_0x106588[_0x3ea0('0x3d')]('vid_end'),_0x187f3c=_0x3ddb04[_0x3ea0('0x3d')]('vid_end');_0x3ddb04[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0x3866df),_0x106588[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0x187f3c),this[_0x3ea0('0x6a')]['set'](_0x3ddb04[_0x3ea0('0x3d')](_0x3ea0('0x8d')),{'userId':_0x56010d}),this[_0x3ea0('0x6a')][_0x3ea0('0x56')](_0x106588[_0x3ea0('0x3d')](_0x3ea0('0xf5')),{'userId':_0x56010d});}else{const _0x189697=this[_0x3ea0('0x79')]++,_0x3d6f28=this[_0x3ea0('0x79')]++;_0x3ddb04[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0x189697),_0x106588[_0x3ea0('0xdb')](_0x3ea0('0xf5'),_0x3d6f28),_0x106588[_0x3ea0('0xdb')](_0x3ea0('0x8d'),_0xc7e34a),this['_touched'][_0x3ea0('0x56')](_0x189697,{'userId':_0x56010d}),this['_touched'][_0x3ea0('0x56')](_0x3d6f28,{'userId':_0x56010d});}}[_0x3ea0('0xbe')](_0x23ddd1){if(!_0x23ddd1[_0x3ea0('0x75')])return;const _0x3316f4=(_0x23ddd1=this[_0x3ea0('0x88')](_0x23ddd1,this['_diffRoots']))[_0x3ea0('0xd')]?_0x23ddd1[_0x3ea0('0xd')][_0x3ea0('0x2a')]:null,_0x1ad20f=_0x23ddd1[_0x3ea0('0x6f')]?_0x23ddd1[_0x3ea0('0x6f')][_0x3ea0('0x2a')]:null;_0x3316f4&&this[_0x3ea0('0xd3')][_0x3ea0('0x3a')](_0x23ddd1[_0x3ea0('0xd1')]),_0x1ad20f&&this[_0x3ea0('0xd3')][_0x3ea0('0x56')](_0x23ddd1[_0x3ea0('0xd1')],_0x23ddd1[_0x3ea0('0x6f')][_0x3ea0('0xcd')]());const _0x159cc9=null===_0x23ddd1['_authorId']?null:_0x23ddd1[_0x3ea0('0x7b')]||this[_0x3ea0('0x23')][_0x3ea0('0x7e')][_0x3ea0('0x24')](_0x3ea0('0x9e'))['me']['id'],_0x2c5304=_0x23ddd1['name'];if(!this['_touchedMarkers']['has'](_0x2c5304))return void this['_touchedMarkers']['set'](_0x2c5304,{'range':_0x23ddd1[_0x3ea0('0xd')],'userId':_0x159cc9});const _0x43e47b=this['_touchedMarkers'][_0x3ea0('0x24')](_0x2c5304),_0x13e2b4=_0x43e47b[_0x3ea0('0x85')],_0x17be84=_0x23ddd1[_0x3ea0('0x6f')];null==_0x13e2b4&&null==_0x17be84||_0x13e2b4&&_0x17be84&&_0x13e2b4[_0x3ea0('0xd7')](_0x17be84)?this[_0x3ea0('0x26')][_0x3ea0('0x3a')](_0x23ddd1[_0x3ea0('0xd1')]):_0x43e47b['userId']=_0x159cc9;}['_handleRootOperation'](_0x24d94e,_0x5d16e4){this[_0x3ea0('0x10b')]['has'](_0x24d94e[_0x3ea0('0x10')])?this[_0x3ea0('0x10b')][_0x3ea0('0x24')](_0x24d94e[_0x3ea0('0x10')])[_0x3ea0('0xa9')]=_0x24d94e[_0x3ea0('0x8')]:(this[_0x3ea0('0x10b')][_0x3ea0('0x56')](_0x24d94e['rootName'],G(_0x24d94e[_0x3ea0('0x10')],!0x0)),this['_diffRootsAttributes'][_0x3ea0('0x56')](_0x24d94e[_0x3ea0('0x10')],{}),_0x5d16e4&&this[_0x3ea0('0x6c')][_0x3ea0('0x56')](_0x24d94e[_0x3ea0('0x10')],G(_0x24d94e[_0x3ea0('0x10')],!0x0)));const _0x5225d8=null===_0x24d94e['_authorId']?null:_0x24d94e[_0x3ea0('0x7b')]||this['editor']['plugins'][_0x3ea0('0x24')](_0x3ea0('0x9e'))['me']['id'],_0x8931ef=this[_0x3ea0('0xd9')]['get'](_0x24d94e[_0x3ea0('0x10')]);_0x8931ef&&_0x8931ef['userId']===_0x5225d8?this[_0x3ea0('0xd9')]['delete'](_0x24d94e[_0x3ea0('0x10')]):this[_0x3ea0('0xd9')][_0x3ea0('0x56')](_0x24d94e['rootName'],{'userId':_0x5225d8,'isAttached':_0x24d94e[_0x3ea0('0x8')]});}['_handleRootAttributeOperation'](_0x61f55c){const _0x146b68=this[_0x3ea0('0x73')]['get'](_0x61f55c['root']['rootName']);null===_0x61f55c[_0x3ea0('0xe')]?delete _0x146b68[_0x61f55c[_0x3ea0('0xdc')]]:_0x146b68[_0x61f55c['key']]=_0x61f55c[_0x3ea0('0xe')];}}function q(_0x5bbada){const _0x2d884f=G(_0x5bbada[_0x3ea0('0x10')],_0x5bbada[_0x3ea0('0x40')]());for(const _0x2d2b76 of _0x5bbada[_0x3ea0('0x5f')]()){const _0x2cc5fb=_0x2d2b76[_0x3ea0('0xa1')](!0x0);_0x2d884f[_0x3ea0('0xf9')](_0x2cc5fb);}return _0x2d884f;}function G(_0x376709,_0x4dacbb=!0x0){const _0x299c5e=new _0x3059ca();return _0x299c5e[_0x3ea0('0x10')]=_0x376709,_0x299c5e[_0x3ea0('0xa9')]=_0x4dacbb,_0x299c5e[_0x3ea0('0x40')]=()=>_0x299c5e['_isAttached'],_0x299c5e;}function L(_0x4f8ba4,_0x5dfbfe,_0x11d509){const _0x269c2e=_0x3ea0('0xa5')==_0x4f8ba4[_0x3ea0('0x4d')]?_0x11d509['createPositionAt'](_0x4f8ba4['item'],_0x3ea0('0x4a')):_0x11d509['createPositionBefore'](_0x4f8ba4['item']);return _0x11d509[_0x3ea0('0xaf')](_0x5dfbfe,_0x269c2e['path'],_0x269c2e[_0x3ea0('0x74')]);}function W(_0x3435f2,_0x48f058,_0x4b1fc7){const _0x57cec1='elementStart'==_0x3435f2[_0x3ea0('0x4d')]?_0x4b1fc7[_0x3ea0('0x53')](_0x3435f2[_0x3ea0('0xfc')],0x0):_0x4b1fc7[_0x3ea0('0xb3')](_0x3435f2[_0x3ea0('0xfc')]);return _0x4b1fc7[_0x3ea0('0xaf')](_0x48f058,_0x57cec1[_0x3ea0('0xae')],_0x57cec1['stickiness']);}
23
+ const _0x5244=['rootName','_loadedStateData','howMany','oldRange','getAttribute','_insertChild','removeRootAttribute','_startingRevisionId','_createFromRanges','PendingActions','insertion','shift','_fixRange','history','end','_fixOperation','_loadRevisionData','requires','getOperations','_handleRootAttributeOperation','_lastFrom','set','sourcePosition','repository','item','source','getData','createPositionAfter','_replaceEditorDataWithRevisionData','elementStart','changeRootAttribute','_removeMetaData','graveyardPosition','_baseRootsAttributes','_continueCurrentRevision','RevisionTracker','documentFragment','update','addRevisionData','insert','initial','Empty\x20document','_saveMetaData','string','getRevisions','trim','clone','getCurrentRevisionId','from','elementEnd','has','split','deletions','fromEntries','userId','_findInsertionIndex','createPositionAt','getTransformedByOperation','_bufferedUpdates','key','clear','getUser','attributesAfter','currentRevision','map','isAttached','_diffRootsAttributes','resolve','attributesBefore','model','define','_touchedMarkers','sort','document','isEnabled','offsetSize','toVersion','vid_start','getRoot','useFillerType','getAncestors','_revisionId','add','getNodeByPath','baseVersion','_startingVersion','_diffRoots','attachChange','createPositionFromPath','hasContent','isReady','_lastTo','offset','attributes','_getFromVersion','newValue','insertions','range','finally','_addPendingAction','_makeModelFromViewString','_handleInsertOperation','_reset','getIndex','forEach','_getViewJson','roots','vid_end','root','_appendChild','bind','some','_getBaseVids','getRootNames','isEqual','_isPendingUpdate','isAdd','nodes','_isInit','_handleSplitOperation','values','push','marker','getRange','authors','Users','init','previousPosition','affectsData','_handleRootOperation','rootsAttributes','authorsIds','createRange','_setAttribute','revision-end','creatorId','getRevision','addRoot','markerToData','path','for','_transformMarkers','children','collaboration.channelId','version','editor','markers','creator','_initialRevisionId','fromVersion','getTime','_applyOperations','stringify','length','_revisionDataBuilder','setSource','_calculateMetaData','$text','keys','_touchedRoots','_markChanges','_isAttached','revision','reverse','deletion','loadState','parent','data','_touched','setRevisionData','$graveyard','addRootAttribute','vid','_makeIdsRoot','revision-start','revisionHistory.resumeUnsavedRevision','delete','getAttributes','newRange','tableCell','getRevisionDocumentData','buildRevisionData','_copyMarkers','addRevision','_handleMoveOperation','getMovedRangeStart','updateRevisions','view','plugins','_createCurrentRevision','getWalker','getRevisionRootsAttributes','find','nodeAfter','name','createRevision','_execute','_fixPosition','reInit','marked','editor-initial-data-replaced-with-revision-data','_authorId','afterInit','_handleOperation','locale','data-revision-','reinsert','revision:','targetPosition','remove','_getPreviousFrom','sendBufferedUpdates','initialData','_prepareViewToSave','size','start','_markers','_savedMetaData','conversion','move','_baseRoots','filter','type','_generateTape','_createInitialRevision','element','getLatestVersion','_bufferUpdate','processor','childCount','_makeRevision','_removeRevisionMarkers','_source','_update','get','_handleMarkerOperation','RevisionsRepository','paragraph','_removePendingAction','editing','diffData','createdAt','_idsRoots','position','_baseIdsRoots','toModel','dataDowncast','_loadState','adapter','then','getChild','_cloneOperation','_handleMergeOperation','NEGATIVE_INFINITY','_pendingAction','startsWith','PENDING_ACTION_REVISION_HISTORY','includes','_getVidAttributeName','_getState','_clone','slice','config','createRangeIn','getChildren'];(function(_0x219ec7,_0x5244c8){const _0x14e991=function(_0x530489){while(--_0x530489){_0x219ec7['push'](_0x219ec7['shift']());}};_0x14e991(++_0x5244c8);}(_0x5244,0xf1));const _0x14e9=function(_0x219ec7,_0x5244c8){_0x219ec7=_0x219ec7-0x0;let _0x14e991=_0x5244[_0x219ec7];return _0x14e991;};import{Users as _0xa1626e}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x3d62a6,PendingActions as _0x3083ab}from'ckeditor5/src/core.js';import{logWarning as _0x41b416,uid as _0xbd0158}from'ckeditor5/src/utils.js';import{Position as _0x2e12b2,Range as _0xe568a4,Element as _0x2f8e61,DocumentFragment as _0x2e2c8b,ViewText as _0x18ae4b,ViewElement as _0x1da778,ViewContainerElement as _0x7a331e,ViewAttributeElement as _0x5e4eb2,ViewEmptyElement as _0x3ff636,ViewRawElement as _0x527fad,ViewUIElement as _0x1ae942,ViewDocumentFragment as _0x295250}from'ckeditor5/src/engine.js';import _0x578f89 from'./revisionsrepository.js';import{getTranslation as _0x44a65b}from'./utils/common-translations.js';import{cloneDeep as _0x3babc4,isEqual as _0x2ba955}from'lodash-es';const B={'c':_0x7a331e,'a':_0x5e4eb2,'e':_0x3ff636,'r':_0x527fad,'u':_0x1ae942};export default class l extends _0x3d62a6{static get['pluginName'](){return _0x14e9('0x3b');}static get[_0x14e9('0x29')](){return[_0xa1626e,_0x578f89,_0x3083ab];}constructor(_0x494ce4){super(_0x494ce4),this[_0x14e9('0x7')]=null,this[_0x14e9('0x57')]=null,this['_revisionDataBuilder']=new H(this['editor']),this[_0x14e9('0xac')]=this[_0x14e9('0xa9')]['config'][_0x14e9('0x102')](_0x14e9('0xa7'))||_0x14e9('0x40'),this[_0x14e9('0x52')]=new Map(),this[_0x14e9('0x19')]=null;const _0x43de78=_0xbd0158();this[_0x14e9('0x100')]={'history':this[_0x14e9('0xa9')]['model'][_0x14e9('0x61')][_0x14e9('0x25')],'getLatestVersion':()=>Promise[_0x14e9('0x5b')](this[_0x14e9('0xa9')][_0x14e9('0x5d')]['document']['version']),'getCurrentRevisionId':()=>_0x43de78},this[_0x14e9('0x2d')](_0x14e9('0x72'),!0x1),this[_0x14e9('0x2d')](_0x14e9('0x62'),!0x0),this[_0x14e9('0x2d')](_0x14e9('0x8b'),!0x1),this[_0x14e9('0xa9')][_0x14e9('0x15')][_0x14e9('0x5e')](_0x14e9('0xc7'),!0x0),this[_0x14e9('0xa9')]['conversion'][_0x14e9('0xa4')]('upcast')['dataToMarker']({'view':'revision'});}['init'](){this[_0x14e9('0x2f')]=this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')](_0x14e9('0x104')),this['_setConversion'](),this[_0x14e9('0xa9')][_0x14e9('0xbf')]['on']('ready',()=>{const _0x141448=this[_0x14e9('0x2f')][_0x14e9('0xa0')](0x0),_0x4b41b7=_0x141448&&null===_0x141448['creator']?_0x141448:null;if(this[_0x14e9('0x3a')]=!!_0x4b41b7&&this[_0x14e9('0xa9')]['config'][_0x14e9('0x102')](_0x14e9('0xc7')),this['editor'][_0x14e9('0xd4')]['has']('RealTimeCollaborationClient')){const _0x25aabb=this['_source'][_0x14e9('0x47')](),_0x375066=this[_0x14e9('0x2f')][_0x14e9('0xa0')](_0x25aabb);if(_0x375066)this['_startingVersion']=_0x375066[_0x14e9('0xad')],this[_0x14e9('0x3a')]=!0x1;else{const _0x11a7d0=this[_0x14e9('0x100')][_0x14e9('0x25')]['_operations'][_0x14e9('0xd8')](_0xb1259b=>!_0xb1259b[_0x14e9('0x8e')]),_0x441462=_0x11a7d0?_0x11a7d0[_0x14e9('0x6c')]:this[_0x14e9('0x100')][_0x14e9('0x25')][_0x14e9('0xa8')];_0x141448?(_0x141448[_0x14e9('0x64')]<_0x441462&&_0x141448[_0x14e9('0x101')]({'toVersion':_0x441462}),this[_0x14e9('0x3a')]?(this[_0x14e9('0x100')][_0x14e9('0x47')]=()=>_0x4b41b7['id'],this[_0x14e9('0x6d')]=_0x4b41b7[_0x14e9('0xad')]):(this['_startingVersion']=_0x141448['toVersion'],this['_continueCurrentRevision']=!0x1)):(this[_0x14e9('0x6d')]=_0x441462,this[_0x14e9('0x3a')]=!0x1);}}else _0x4b41b7&&(this[_0x14e9('0xa9')][_0x14e9('0x5d')][_0x14e9('0x61')]['history'][_0x14e9('0xa8')]=Math['max'](_0x4b41b7[_0x14e9('0x64')],this[_0x14e9('0xa9')][_0x14e9('0x5d')]['document'][_0x14e9('0x25')]['version']),_0x4b41b7[_0x14e9('0xad')]===_0x4b41b7[_0x14e9('0x64')]?(0x0!==_0x4b41b7[_0x14e9('0xad')]&&(this['_source'][_0x14e9('0x47')]=()=>_0x4b41b7['id']),this[_0x14e9('0x3a')]=!0x1):this[_0x14e9('0x3a')]&&(this[_0x14e9('0x100')][_0x14e9('0x47')]=()=>_0x4b41b7['id'],this[_0x14e9('0x6d')]=_0x4b41b7[_0x14e9('0xad')])),this[_0x14e9('0x3a')]||(this[_0x14e9('0x6d')]=this[_0x14e9('0xa9')][_0x14e9('0x5d')]['document'][_0x14e9('0xa8')]);this[_0x14e9('0xb2')][_0x14e9('0x96')](this['_source'][_0x14e9('0x25')]),this[_0x14e9('0xf8')](this[_0x14e9('0x6d')]),this[_0x14e9('0xd5')](this[_0x14e9('0x6d')]),this[_0x14e9('0x7')]&&this[_0x14e9('0xeb')]();}),this[_0x14e9('0x86')](_0x14e9('0x72'))['to'](this,'_isPendingUpdate',_0x264c4d=>!_0x264c4d);}async[_0x14e9('0xe2')](){if(this[_0x14e9('0x2f')][_0x14e9('0xb1')]>0x0){const _0x586cd1=this[_0x14e9('0x2f')][_0x14e9('0xa0')](0x0),_0x5b24dd=await this[_0x14e9('0xcc')](_0x586cd1),_0x4bd6ca=await this[_0x14e9('0xd7')](_0x586cd1);this[_0x14e9('0x34')](_0x5b24dd,_0x4bd6ca);}}[_0x14e9('0xb3')](_0x18135c){this[_0x14e9('0x100')]=_0x18135c;}async[_0x14e9('0x3d')](){const _0x113ead=await this['_source'][_0x14e9('0xfa')]();if(_0x113ead>this[_0x14e9('0x57')][_0x14e9('0x64')]){await this[_0x14e9('0x6')]();const _0x2851b7=this[_0x14e9('0xcd')]({'revision':this[_0x14e9('0x57')],'to':_0x113ead});_0x2851b7[_0x14e9('0x94')]=_0x2851b7[_0x14e9('0x9b')][_0x14e9('0x58')](_0x3f968b=>this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')](_0x14e9('0x95'))[_0x14e9('0x55')](_0x3f968b)),this[_0x14e9('0x57')]['_update'](_0x2851b7);}}async[_0x14e9('0x6')](){this[_0x14e9('0x3a')]&&!this[_0x14e9('0x19')]&&(await this[_0x14e9('0x28')](this[_0x14e9('0x57')]),this['_revisionDataBuilder'][_0x14e9('0xbd')](this[_0x14e9('0x57')]),this[_0x14e9('0x19')]={'fromVersion':this[_0x14e9('0x57')][_0x14e9('0xad')],'authors':this[_0x14e9('0x57')][_0x14e9('0x94')][_0x14e9('0x14')]()});}async['saveRevision'](_0x36f000={},_0x1e65c3=null){const _0x8bd1e1=[];await this[_0x14e9('0x6')](),this[_0x14e9('0x3a')]=!0x1,_0x1e65c3>this[_0x14e9('0x57')][_0x14e9('0x64')]&&(_0x1e65c3=null),null===_0x1e65c3&&(_0x1e65c3=await this['_source'][_0x14e9('0xfa')]());const _0x37a6be=this[_0x14e9('0x76')](_0x1e65c3),_0xc7d42a=this[_0x14e9('0xcd')]({'from':_0x37a6be,'to':_0x1e65c3});if(this['currentRevision']['toVersion']<_0x1e65c3){const _0x3c5505=this[_0x14e9('0xcd')]({'revision':this['currentRevision'],'from':_0x1e65c3,'to':_0x1e65c3});_0x3c5505[_0x14e9('0x94')]=[],_0x3c5505[_0x14e9('0x9b')]=[],_0x3c5505['id']=this[_0x14e9('0x57')]['id'],this[_0x14e9('0x57')][_0x14e9('0x101')](_0x3c5505,!0x0),delete _0x3c5505[_0x14e9('0x94')],_0x8bd1e1['push'](_0x3c5505);}_0x36f000['creatorId']=this[_0x14e9('0xa9')][_0x14e9('0xd4')]['get']('Users')['me']['id'],_0x36f000[_0x14e9('0xda')]=_0x36f000[_0x14e9('0xda')]||null,_0x36f000['id']=_0x36f000['id']||_0xbd0158(),_0x36f000={..._0x36f000,..._0xc7d42a};const _0x6cb549=this['addRevisionData'](_0x36f000);_0x8bd1e1[_0x14e9('0x91')](_0x36f000);const _0xee791c=this[_0x14e9('0x2f')][_0x14e9('0x7f')](_0x6cb549);if(0x0!==_0xee791c){const _0x598470=this[_0x14e9('0x2f')][_0x14e9('0xa0')](_0xee791c-0x1);if(_0x598470[_0x14e9('0xad')]!==_0x1e65c3){const _0x42e5d3=this['_revisionDataBuilder'][_0x14e9('0x32')](_0x1e65c3,_0x598470[_0x14e9('0x64')]),_0x278306={'id':_0x598470['id'],'diffData':_0x42e5d3['diffData'],'authorsIds':_0x42e5d3[_0x14e9('0x9b')],'authors':_0x42e5d3[_0x14e9('0x9b')]['map'](_0x2ea45c=>this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')](_0x14e9('0x95'))['getUser'](_0x2ea45c)),'fromVersion':_0x1e65c3};_0x598470===this['currentRevision']&&(_0x278306[_0x14e9('0x0')]=new Date(_0x36f000[_0x14e9('0x0')][_0x14e9('0xae')]()+0xa)),_0x598470[_0x14e9('0x101')](_0x278306,!0x0),delete _0x278306[_0x14e9('0x94')],_0x8bd1e1[_0x14e9('0x91')](_0x278306);}}if(this['adapter']){for(const _0x570463 of _0x8bd1e1)this['_bufferUpdate'](_0x570463['id'],_0x570463,!0x0);this[_0x14e9('0xeb')]();}return _0x6cb549;}[_0x14e9('0x3e')](_0x1cc80e){const _0x199b23=this[_0x14e9('0x2f')][_0x14e9('0xdb')](_0x1cc80e);return this[_0x14e9('0x7')]&&_0x199b23['on'](_0x14e9('0x101'),(_0x116518,_0x687eee,_0x44f0e8)=>{_0x44f0e8||(this[_0x14e9('0xfb')](_0x687eee['id'],_0x687eee,!0x0),this[_0x14e9('0xeb')]());}),this['repository'][_0x14e9('0xcf')](_0x199b23,this[_0x14e9('0x4f')](_0x199b23)),_0x199b23;}async[_0x14e9('0xcc')](_0x1faf92){await this[_0x14e9('0x28')](_0x1faf92);const _0x5440f7={};for(const _0x33e888 in _0x1faf92[_0x14e9('0x108')]){if(_0x1faf92[_0x14e9('0x108')][_0x33e888][_0x14e9('0x6f')]&&!_0x1faf92[_0x14e9('0x108')][_0x33e888][_0x14e9('0x6f')][_0x14e9('0x59')])continue;const _0x53fc98=this[_0x14e9('0xff')](JSON['parse'](_0x1faf92[_0x14e9('0x108')][_0x33e888][_0x14e9('0x78')])),_0x419ffb=this[_0x14e9('0xa9')][_0x14e9('0x107')][_0x14e9('0xd3')][_0x14e9('0x61')],_0x17c56a=new _0x295250(_0x419ffb,_0x53fc98[_0x14e9('0x58')](_0x1d8798=>J(_0x1d8798,this['editor'])));this[_0x14e9('0xa9')][_0x14e9('0xbf')][_0x14e9('0xfc')][_0x14e9('0x67')](_0x14e9('0xdf')),_0x5440f7[_0x33e888]=this[_0x14e9('0xa9')]['data'][_0x14e9('0xfc')]['toData'](_0x17c56a),this[_0x14e9('0xa9')]['data'][_0x14e9('0xfc')][_0x14e9('0x67')]('default');}return _0x5440f7;}async['getRevisionRootsAttributes'](_0xbaa081){await this[_0x14e9('0x28')](_0xbaa081);const _0x1be60b={};for(const _0x2d7a90 in _0xbaa081[_0x14e9('0x108')])_0xbaa081[_0x14e9('0x108')][_0x2d7a90]['attachChange']&&!_0xbaa081['diffData'][_0x2d7a90][_0x14e9('0x6f')][_0x14e9('0x59')]||(_0x1be60b[_0x2d7a90]=_0xbaa081[_0x14e9('0x108')][_0x2d7a90][_0x14e9('0x56')]||{});return _0x1be60b;}[_0x14e9('0xeb')](){if(0x0===this['_bufferedUpdates'][_0x14e9('0xee')])return;if(this[_0x14e9('0x8b')])return;let _0x342280=Array[_0x14e9('0x48')](this[_0x14e9('0x52')][_0x14e9('0x90')]());this[_0x14e9('0x52')][_0x14e9('0x54')]();for(let _0x4ecf46=0x0;_0x4ecf46<_0x342280[_0x14e9('0xb1')];_0x4ecf46++){const _0x4b4bb4=_0x342280[_0x4ecf46];let _0x4f2281=!0x1;for(const _0x23cbf5 of Object[_0x14e9('0xb6')](_0x4b4bb4))void 0x0===_0x4b4bb4[_0x23cbf5]?delete _0x4b4bb4[_0x23cbf5]:'id'!==_0x23cbf5&&(_0x4f2281=!0x0);_0x4f2281||(_0x342280[_0x4ecf46]=null);}if(_0x342280=_0x342280[_0x14e9('0xf5')](_0x30eeda=>null!==_0x30eeda),!_0x342280[_0x14e9('0xb1')])return;for(let _0x569918=0x0;_0x569918<_0x342280[_0x14e9('0xb1')];_0x569918++){const _0x335752=_0x342280[_0x569918];void 0x0!==_0x335752['fromVersion']&&void 0x0===_0x335752[_0x14e9('0x64')]&&(_0x335752[_0x14e9('0x64')]=this['repository']['getRevision'](_0x335752['id'])[_0x14e9('0x64')]),void 0x0!==_0x335752[_0x14e9('0x64')]&&void 0x0===_0x335752['fromVersion']&&(_0x335752[_0x14e9('0xad')]=this[_0x14e9('0x2f')]['getRevision'](_0x335752['id'])['fromVersion']);}const _0x343166=this[_0x14e9('0xa9')][_0x14e9('0x15')]['get'](_0x14e9('0xa7'));this[_0x14e9('0x8b')]=!0x0,this[_0x14e9('0x7b')](),this[_0x14e9('0x7')][_0x14e9('0xd2')](_0x342280,_0x343166)[_0x14e9('0x7a')](()=>{this['_isPendingUpdate']=!0x1;})[_0x14e9('0x8')](_0x183733=>{if(_0x183733)for(const _0x10e723 of _0x183733)this['setRevisionData']({'id':_0x10e723['id'],'createdAt':_0x10e723[_0x14e9('0x0')]});this['_removePendingAction'](),this[_0x14e9('0xeb')]();});}[_0x14e9('0x34')](_0x1e7055,_0x5a5353){let _0x46507b=this[_0x14e9('0xa9')]['config'][_0x14e9('0x102')](_0x14e9('0xec')),_0x3b99f7=this[_0x14e9('0xa9')][_0x14e9('0x15')][_0x14e9('0x102')](_0x14e9('0x9a'));if(void 0x0===_0x46507b){_0x46507b={};for(const _0x4c3792 of this['editor'][_0x14e9('0x5d')][_0x14e9('0x61')][_0x14e9('0x89')]())_0x46507b[_0x4c3792]='';}if(_0x14e9('0x43')==typeof _0x46507b&&(_0x46507b={'main':_0x46507b}),void 0x0===_0x3b99f7){_0x3b99f7={};for(const _0x14f238 of this['editor'][_0x14e9('0x5d')][_0x14e9('0x61')][_0x14e9('0x89')]())_0x3b99f7[_0x14f238]={};}let _0x1b21d0=!0x1;const _0x37371f=Object[_0x14e9('0xb6')](_0x46507b),_0x4e3d3a=Object[_0x14e9('0xb6')](_0x1e7055);for(const _0x40766f of _0x37371f){if(_0x46507b[_0x40766f]!==_0x1e7055[_0x40766f]&&''!==_0x46507b[_0x40766f][_0x14e9('0x45')]()){_0x1b21d0=!0x0;break;}if(!_0x2ba955(_0x3b99f7[_0x40766f],_0x5a5353[_0x40766f])&&Object['keys'](_0x3b99f7[_0x40766f])['length']>0x0){_0x1b21d0=!0x0;break;}}_0x1b21d0||(_0x1b21d0=_0x4e3d3a[_0x14e9('0x87')](_0xdf9b1=>!this[_0x14e9('0xa9')]['model']['document']['getRoot'](_0xdf9b1))),_0x1b21d0&&_0x41b416(_0x14e9('0xe0'),{'editorData':_0x46507b,'editorRootsAttributes':_0x3b99f7,'revisionData':_0x1e7055,'revisionRootsAttributes':_0x5a5353}),this[_0x14e9('0xa9')][_0x14e9('0x15')]['set'](_0x14e9('0xec'),_0x1e7055),this[_0x14e9('0xa9')]['config'][_0x14e9('0x2d')]('rootsAttributes',_0x5a5353);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x69aa81=this[_0x14e9('0xa9')]['plugins']['get'](_0x14e9('0x21'));this[_0x14e9('0xd')]=_0x69aa81[_0x14e9('0x6a')](_0x44a65b(this[_0x14e9('0xa9')][_0x14e9('0xe4')],_0x14e9('0xf')));}}[_0x14e9('0x106')](){this[_0x14e9('0xd')]&&(this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')]('PendingActions')['remove'](this[_0x14e9('0xd')]),this[_0x14e9('0xd')]=null);}[_0x14e9('0x4f')](_0x5ba91b){const _0x86f0f4=this['repository']['getRevisions']();_0x86f0f4[_0x14e9('0xbb')]();let _0x24a6af=0x0;for(;_0x24a6af<_0x86f0f4[_0x14e9('0xb1')];){const _0x1b106f=_0x86f0f4[_0x24a6af];if(_0x1b106f===this[_0x14e9('0x57')]){_0x24a6af++;continue;}if(_0x1b106f['id']===this['_initialRevisionId'])break;const _0x7fcbc5=_0x5ba91b[_0x14e9('0x64')]-_0x1b106f[_0x14e9('0x64')]||_0x5ba91b[_0x14e9('0xad')]-_0x1b106f['fromVersion'];if(_0x7fcbc5>0x0)break;if(_0x7fcbc5<0x0)_0x24a6af++;else{if(!_0x5ba91b['creator']&&_0x1b106f[_0x14e9('0xab')])break;if(_0x1b106f[_0x14e9('0xab')]||!_0x5ba91b[_0x14e9('0xab')]){if(_0x5ba91b[_0x14e9('0x0')]>_0x1b106f['createdAt'])break;_0x24a6af++;}else _0x24a6af++;}}return _0x24a6af;}[_0x14e9('0xc1')](_0x5268cd){const _0x17f48c=this[_0x14e9('0x2f')][_0x14e9('0xa0')](_0x5268cd['id']);if(_0x5268cd[_0x14e9('0x0')]&&(_0x5268cd[_0x14e9('0x0')]=new Date(_0x5268cd[_0x14e9('0x0')])),_0x5268cd[_0x14e9('0x9b')]){const _0x2949fe=this[_0x14e9('0xa9')][_0x14e9('0xd4')]['get'](_0x14e9('0x95'));_0x5268cd[_0x14e9('0x94')]=_0x5268cd[_0x14e9('0x9b')][_0x14e9('0x58')](_0x44ac02=>_0x2949fe[_0x14e9('0x55')](_0x44ac02));}_0x17f48c[_0x14e9('0x101')](_0x5268cd,!0x0);}['buildRevisionData']({revision:_0xbdf6d=null,from:_0x565343=null,to:_0x1f050e=null}){_0x565343=null!==_0x565343?_0x565343:_0xbdf6d[_0x14e9('0xad')],_0x1f050e=null!==_0x1f050e?_0x1f050e:_0xbdf6d['toVersion'];const _0x374cff=this['_revisionDataBuilder']['getData'](_0x565343,_0x1f050e),_0x39550e={'diffData':_0x374cff[_0x14e9('0x108')],'authorsIds':_0x374cff[_0x14e9('0x9b')],'fromVersion':_0x565343,'toVersion':_0x1f050e};if(!_0xbdf6d||_0x1f050e!==_0xbdf6d[_0x14e9('0x64')]){const _0x5cc99d=_0x1f050e-0x1,_0x2dd8cf=this[_0x14e9('0x100')][_0x14e9('0x25')]['getOperation'](_0x5cc99d);_0x39550e[_0x14e9('0x0')]=_0x2dd8cf&&_0x2dd8cf['createdAt']||new Date();}if(this[_0x14e9('0x19')]&&_0x565343===this[_0x14e9('0x19')][_0x14e9('0xad')])for(const _0x3ee19e of this[_0x14e9('0x19')][_0x14e9('0x94')])_0x39550e[_0x14e9('0x9b')][_0x14e9('0x10')](_0x3ee19e['id'])||_0x39550e[_0x14e9('0x9b')]['push'](_0x3ee19e['id']);return _0x39550e;}[_0x14e9('0x28')](_0xfc3bff){if(!_0xfc3bff||_0xfc3bff[_0x14e9('0x108')])return Promise[_0x14e9('0x5b')]();{const _0x4bc4b3=this['editor'][_0x14e9('0x15')]['get'](_0x14e9('0xa7'));return this[_0x14e9('0x7')][_0x14e9('0xa0')]({'channelId':_0x4bc4b3,'revisionId':_0xfc3bff['id']})[_0x14e9('0x8')](_0x4ed3db=>{_0xfc3bff[_0x14e9('0x108')]=_0x4ed3db[_0x14e9('0x108')];});}}[_0x14e9('0xfb')](_0x482729,_0x708fe6,_0x36455a){if(this[_0x14e9('0x52')]['has'](_0x482729)){const _0x2c1898=this['_bufferedUpdates'][_0x14e9('0x102')](_0x482729);_0x708fe6=_0x36455a?{..._0x2c1898,..._0x708fe6}:{..._0x708fe6,..._0x2c1898};}this[_0x14e9('0x52')][_0x14e9('0x2d')](_0x482729,_0x708fe6);}[_0x14e9('0x76')](_0x3ad25f){const _0x3954c4=this[_0x14e9('0x2f')][_0x14e9('0x44')]();_0x3954c4['reverse'](),_0x3954c4[_0x14e9('0x23')]();const _0x473474=_0x3954c4['find'](_0x49a18c=>_0x49a18c['toVersion']<=_0x3ad25f)[_0x14e9('0x64')];return _0x473474<this[_0x14e9('0x6d')]?this[_0x14e9('0x6d')]:_0x473474;}[_0x14e9('0xf8')](_0x4cadd5){const _0x2d47ad=this[_0x14e9('0x2f')]['getRevision'](this[_0x14e9('0x2f')]['length']-0x1);if(_0x2d47ad)this[_0x14e9('0xac')]=_0x2d47ad['id'];else{const _0x3957c6=!this[_0x14e9('0xa9')]['model'][_0x14e9('0x61')][_0x14e9('0x82')][_0x14e9('0xd8')](_0x53f231=>this['editor'][_0x14e9('0x5d')][_0x14e9('0x71')](_0x53f231)),_0x31af79=this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')](_0x14e9('0x95'))['me']['id'],_0x2e8170=_0x44a65b(this[_0x14e9('0xa9')]['locale'],_0x3957c6?_0x14e9('0x41'):'Initial\x20revision');this['_makeRevision']({'from':_0x4cadd5,'to':_0x4cadd5,'id':this['_initialRevisionId'],'name':_0x2e8170,'creatorId':_0x31af79});}}[_0x14e9('0xd5')](_0x2633d1){const _0x4d1c4a=this[_0x14e9('0x100')][_0x14e9('0x47')]();this['currentRevision']=this[_0x14e9('0x2f')][_0x14e9('0xa0')](_0x4d1c4a),this[_0x14e9('0x57')]||(this[_0x14e9('0x57')]=this[_0x14e9('0xfe')]({'from':_0x2633d1,'to':_0x2633d1,'id':_0x4d1c4a,'name':'','creatorId':null}));}[_0x14e9('0xfe')]({name:_0x3dae0c,from:_0x5f2a9e,to:_0x568197,creatorId:_0x41cdca,id:_0x14b554}){const _0x459982=this[_0x14e9('0xcd')]({'from':_0x5f2a9e,'to':_0x568197});_0x459982[_0x14e9('0xda')]=_0x3dae0c,_0x459982[_0x14e9('0x9f')]=_0x41cdca,_0x459982['id']=_0x14b554;const _0x19ad72=this['addRevisionData'](_0x459982);return this[_0x14e9('0x7')]&&this[_0x14e9('0xfb')](_0x459982['id'],_0x459982,!0x0),_0x19ad72;}['_setConversion'](){this[_0x14e9('0xa9')][_0x14e9('0xf2')]['for'](_0x14e9('0x5'))[_0x14e9('0xa2')]({'model':_0x14e9('0xba')});}[_0x14e9('0xff')](_0xaf02df){return(_0xaf02df=_0xaf02df[_0x14e9('0xf5')](_0x4617c3=>!_0x4617c3[_0x14e9('0xda')]||_0x14e9('0xc6')!==_0x4617c3[_0x14e9('0xda')]&&_0x14e9('0x9e')!==_0x4617c3[_0x14e9('0xda')]))[_0x14e9('0x80')](_0x4ecaed=>{_0x14e9('0x43')!=typeof _0x4ecaed&&(_0x4ecaed['children']=this[_0x14e9('0xff')](_0x4ecaed[_0x14e9('0xa6')]),_0x4ecaed[_0x14e9('0x75')]=_0x4ecaed[_0x14e9('0x75')][_0x14e9('0xf5')](_0x2710fc=>!_0x2710fc[0x0][_0x14e9('0xe')](_0x14e9('0xe5'))));}),_0xaf02df;}}function J(_0x152af6,_0x491508){const _0x4b79fc=_0x491508[_0x14e9('0x107')][_0x14e9('0xd3')]['document'];if(_0x14e9('0x43')==typeof _0x152af6)return new _0x18ae4b(_0x4b79fc,_0x152af6);{const _0x1c32ab=_0x152af6[_0x14e9('0xa6')][_0x14e9('0x58')](_0x3e2b6d=>J(_0x3e2b6d,_0x491508));return new(B[_0x152af6[(_0x14e9('0xf6'))]]||_0x1da778)(_0x4b79fc,_0x152af6[_0x14e9('0xda')],_0x152af6['attributes'],_0x1c32ab);}}class H{constructor(_0x42756b){this[_0x14e9('0xa9')]=_0x42756b,this[_0x14e9('0xf1')]=new Map(),this[_0x14e9('0x2c')]=-0x1,this[_0x14e9('0x73')]=-0x1,this[_0x14e9('0xf0')]=new Map(),this[_0x14e9('0x6e')]=new Map(),this['_diffRootsAttributes']=new Map(),this[_0x14e9('0xf4')]=new Map(),this[_0x14e9('0x39')]=new Map(),this[_0x14e9('0x1')]=new Map(),this[_0x14e9('0x3')]=new Map(),this['_touched']=new Map(),this[_0x14e9('0x5f')]=new Map(),this[_0x14e9('0xb7')]=new Map(),this[_0x14e9('0x69')]=0x1;}[_0x14e9('0x96')](_0x272130){this[_0x14e9('0x31')]=_0x272130;const _0x1296d1=new Map(),_0x3c3b60=new Map(),_0x2b7be3=this[_0x14e9('0xa9')][_0x14e9('0x5d')]['document']['roots']['map'](_0x3702d6=>_0x3702d6[_0x14e9('0x18')]);for(const _0x3cf4ad of _0x2b7be3){const _0x45e946=this[_0x14e9('0xa9')][_0x14e9('0x5d')]['document'][_0x14e9('0x66')](_0x3cf4ad),_0x40bc26=q(_0x45e946);_0x1296d1[_0x14e9('0x2d')](_0x3cf4ad,_0x40bc26),_0x3c3b60['set'](_0x3cf4ad,Object[_0x14e9('0x4d')](_0x45e946[_0x14e9('0xc9')]()));}const _0x48d7ad=Array[_0x14e9('0x48')](this['editor'][_0x14e9('0x5d')][_0x14e9('0xaa')])[_0x14e9('0x58')](_0x4595a3=>[_0x4595a3[_0x14e9('0xda')],_0x4595a3[_0x14e9('0x93')]()]),_0x57342b=this[_0x14e9('0x31')][_0x14e9('0xa8')];this[_0x14e9('0x42')](_0x57342b,_0x1296d1,_0x48d7ad,_0x3c3b60),this[_0x14e9('0x1f')]=this[_0x14e9('0x69')];const _0x14588a=new Map(),_0x141f8a=new Map();for(const _0x546d62 of _0x2b7be3){const _0x2b72a0=G(_0x546d62);_0x14588a['set'](_0x546d62,_0x2b72a0),_0x141f8a['set'](_0x546d62,{});}this['_saveMetaData'](Number[_0x14e9('0xc')],_0x14588a,[],_0x141f8a);}[_0x14e9('0x32')](_0x6f2b7d,_0x1ae8f0){if(this['_lastFrom']===_0x6f2b7d&&this[_0x14e9('0x73')]<=_0x1ae8f0)this[_0x14e9('0xf1')][_0x14e9('0xee')]>0x1&&this[_0x14e9('0x37')](this[_0x14e9('0x73')]),this[_0x14e9('0xaf')](this[_0x14e9('0x73')],_0x1ae8f0,!0x0);else{if(!this[_0x14e9('0xf1')][_0x14e9('0x4a')](_0x6f2b7d)){const _0x233bb0=this[_0x14e9('0xea')](_0x6f2b7d);this['_calculateMetaData'](_0x233bb0,_0x6f2b7d,!0x1);}this[_0x14e9('0xb4')](_0x6f2b7d,_0x1ae8f0,!0x0);}return this[_0x14e9('0x2c')]=_0x6f2b7d,this['_lastTo']=_0x1ae8f0,this[_0x14e9('0x12')]();}['loadState'](_0x307007){this[_0x14e9('0x7e')](),this[_0x14e9('0x2c')]=_0x307007['fromVersion'],this[_0x14e9('0x73')]=_0x307007[_0x14e9('0x64')];for(const _0x477021 in _0x307007[_0x14e9('0x108')]){const _0x249c8e=_0x307007[_0x14e9('0x108')][_0x477021]['attachChange'],_0x4ffba7=_0x3babc4(_0x307007[_0x14e9('0x108')][_0x477021][_0x14e9('0x5c')])||{},_0x388e54=this[_0x14e9('0x7c')](_0x307007[_0x14e9('0x108')][_0x477021][_0x14e9('0x4c')]);_0x388e54[_0x14e9('0x18')]=_0x477021,_0x388e54['_isAttached']=!_0x249c8e||!_0x249c8e[_0x14e9('0x59')],_0x388e54[_0x14e9('0x59')]=()=>_0x388e54[_0x14e9('0xb9')],this[_0x14e9('0xf4')]['set'](_0x477021,_0x388e54),this['_baseRootsAttributes']['set'](_0x477021,_0x4ffba7),_0x249c8e&&this['_touchedRoots']['set'](_0x477021,_0x249c8e);const _0x14c2d4=this[_0x14e9('0xc5')](_0x388e54);this[_0x14e9('0x3')][_0x14e9('0x2d')](_0x477021,_0x14c2d4);for(const [_0x283727,_0x3eabcf]of _0x388e54[_0x14e9('0xaa')]){if(!_0x283727[_0x14e9('0xe')](_0x14e9('0xe7')))continue;const _0xe8ab2e=_0x283727[_0x14e9('0x4b')](':')[0x2];for(const _0x11fcfc of _0x3eabcf[_0x14e9('0xd6')]({'singleCharacters':!0x0})){const _0x49f92c=this['_getVidAttributeName'](_0x11fcfc),_0xc051b0=_0x14e9('0x49')==_0x11fcfc[_0x14e9('0xf6')]?_0x11fcfc[_0x14e9('0x97')][_0x14e9('0xa3')][_0x14e9('0x14')](0x0,-0x1):_0x11fcfc[_0x14e9('0x97')][_0x14e9('0xa3')],_0x19cc15=_0x14c2d4['getNodeByPath'](_0xc051b0)[_0x14e9('0x1c')](_0x49f92c);this[_0x14e9('0xc0')][_0x14e9('0x2d')](_0x19cc15,{'userId':_0xe8ab2e});}}}this[_0x14e9('0x1f')]=this[_0x14e9('0x69')];const _0x58a29a=[...Array(this[_0x14e9('0x69')])[_0x14e9('0xb6')]()][_0x14e9('0x14')](0x1)[_0x14e9('0xf5')](_0x4df68b=>!this[_0x14e9('0xc0')]['has'](_0x4df68b));let _0x2411f4=0x0;const _0x561f34=new Map();for(const _0x46e90d in _0x307007[_0x14e9('0x108')]){const _0x418080=_0x307007[_0x14e9('0x108')][_0x46e90d][_0x14e9('0x6f')],_0x1e6481=_0x3babc4(_0x307007[_0x14e9('0x108')][_0x46e90d][_0x14e9('0x56')])||{},_0x2e5a82=this[_0x14e9('0x7c')](_0x307007[_0x14e9('0x108')][_0x46e90d]['insertions']);_0x2e5a82[_0x14e9('0x18')]=_0x46e90d,_0x2e5a82[_0x14e9('0xb9')]=!_0x418080||_0x418080['isAttached'],_0x2e5a82[_0x14e9('0x59')]=()=>_0x2e5a82[_0x14e9('0xb9')],this[_0x14e9('0x6e')][_0x14e9('0x2d')](_0x46e90d,_0x2e5a82),this[_0x14e9('0x5a')][_0x14e9('0x2d')](_0x46e90d,_0x1e6481);const _0x474236=this[_0x14e9('0xc5')](_0x2e5a82,Number[_0x14e9('0xc')]);this['_idsRoots']['set'](_0x46e90d,_0x474236),_0x561f34[_0x14e9('0x2d')](_0x46e90d,_0x2e5a82[_0x14e9('0x59')]()?_0x1e6481:{});for(const [_0x7ca633,_0x1c60d6]of _0x2e5a82[_0x14e9('0xaa')]){if(!_0x7ca633[_0x14e9('0xe')](_0x14e9('0xe7')))continue;const _0xec40e=_0x7ca633['split'](':')[0x2];for(const _0x2c77fe of _0x1c60d6[_0x14e9('0xd6')]({'singleCharacters':!0x0})){const _0x3bf648=this['_getVidAttributeName'](_0x2c77fe),_0x59cced=this['_revisionId']++,_0x18ae49=_0x14e9('0x49')==_0x2c77fe['type']?_0x2c77fe[_0x14e9('0x97')][_0x14e9('0xa3')][_0x14e9('0x14')](0x0,-0x1):_0x2c77fe['previousPosition'][_0x14e9('0xa3')];_0x474236[_0x14e9('0x6b')](_0x18ae49)[_0x14e9('0x9d')](_0x3bf648,_0x59cced),this[_0x14e9('0xc0')][_0x14e9('0x2d')](_0x59cced,{'userId':_0xec40e});}}for(const _0x443f13 of this[_0x14e9('0xa9')][_0x14e9('0x5d')][_0x14e9('0x16')](_0x2e5a82)[_0x14e9('0xd6')]({'singleCharacters':!0x0})){const _0x256328=this['_getVidAttributeName'](_0x443f13),_0x5253a6='elementEnd'==_0x443f13[_0x14e9('0xf6')]?_0x443f13[_0x14e9('0x97')][_0x14e9('0xa3')][_0x14e9('0x14')](0x0,-0x1):_0x443f13[_0x14e9('0x97')][_0x14e9('0xa3')],_0x251631=_0x474236[_0x14e9('0x6b')](_0x5253a6);_0x251631[_0x14e9('0x1c')](_0x256328)>0x0||_0x251631[_0x14e9('0x9d')](_0x256328,_0x58a29a[_0x2411f4++]);}for(const [_0x3235d0,_0x49f110]of _0x2e5a82[_0x14e9('0xaa')])_0x3235d0['startsWith'](_0x14e9('0xe7'))||this['_markers'][_0x14e9('0x2d')](_0x3235d0,_0x49f110);}const _0x31d658=G(_0x14e9('0xc2'));this['_baseRoots'][_0x14e9('0x2d')]('$graveyard',_0x31d658),this[_0x14e9('0x3')][_0x14e9('0x2d')]('$graveyard',this[_0x14e9('0xc5')](_0x31d658,0x1));const _0x344731=G(_0x14e9('0xc2'));this[_0x14e9('0x6e')]['set']('$graveyard',_0x344731),this[_0x14e9('0x1')]['set']('$graveyard',this[_0x14e9('0xc5')](_0x344731,0x1));const _0xb33414=Array['from'](this[_0x14e9('0x6e')])['map'](([_0x30021a,_0xfac6fd])=>[_0x30021a,q(_0xfac6fd)]);this[_0x14e9('0x42')](this[_0x14e9('0x73')],_0xb33414,this[_0x14e9('0xf0')],_0x561f34);}[_0x14e9('0x7c')](_0x55c01b){const _0x57f976=JSON['parse'](_0x55c01b),_0xf0a69=this[_0x14e9('0xa9')][_0x14e9('0x107')][_0x14e9('0xd3')][_0x14e9('0x61')],_0x47619b=new _0x295250(_0xf0a69,_0x57f976[_0x14e9('0x58')](_0x20425e=>J(_0x20425e,this[_0x14e9('0xa9')])));return this[_0x14e9('0xa9')][_0x14e9('0xbf')][_0x14e9('0x4')](_0x47619b);}[_0x14e9('0x42')](_0x2edd77,_0x59916b,_0x51ae28,_0x3cd781){const _0x1be509=new Map(_0x59916b),_0x12ed2a=new Map(_0x3babc4(_0x3cd781)),_0xcd8bef=new Map();for(const [_0x11b384,_0x2c67e1]of _0x51ae28)_0xcd8bef[_0x14e9('0x2d')](_0x11b384,{'start':_0x2c67e1['start']['clone'](),'end':_0x2c67e1[_0x14e9('0x26')][_0x14e9('0x46')](),'rootName':_0x2c67e1[_0x14e9('0x84')][_0x14e9('0x18')]});this[_0x14e9('0xf1')][_0x14e9('0x2d')](_0x2edd77,{'roots':_0x1be509,'markers':_0xcd8bef,'rootsAttributes':_0x12ed2a});}[_0x14e9('0x37')](_0x518cee){this[_0x14e9('0xf1')]['delete'](_0x518cee);}[_0x14e9('0xde')](){this[_0x14e9('0x7e')](),this['_lastFrom']=-0x1,this[_0x14e9('0x73')]=-0x1,this[_0x14e9('0xf1')][_0x14e9('0x54')](),this['init'](this[_0x14e9('0x31')]);}[_0x14e9('0x7e')](){this[_0x14e9('0xc0')][_0x14e9('0x54')](),this[_0x14e9('0x5f')]['clear'](),this['_touchedRoots']['clear'](),this[_0x14e9('0x6e')][_0x14e9('0x54')](),this['_diffRootsAttributes'][_0x14e9('0x54')](),this[_0x14e9('0xf4')][_0x14e9('0x54')](),this['_baseRootsAttributes'][_0x14e9('0x54')](),this[_0x14e9('0x1')][_0x14e9('0x54')](),this[_0x14e9('0x3')][_0x14e9('0x54')](),this[_0x14e9('0xf0')][_0x14e9('0x54')](),this[_0x14e9('0x69')]=0x1,this['_startingRevisionId']=this[_0x14e9('0x69')];}[_0x14e9('0xc5')](_0x1d1967,_0x1c1916=null){let _0x13f37d=null;_0x1d1967['is']('documentFragment')||(_0x13f37d=new _0x2f8e61(_0x1d1967[_0x14e9('0xda')],{'vid_start':null===_0x1c1916?this[_0x14e9('0x69')]++:_0x1c1916++}));const _0x619478=[];for(const _0x5e300a of _0x1d1967[_0x14e9('0x17')]())if(_0x5e300a['is'](_0x14e9('0xf9'))){_0x619478[_0x14e9('0x91')](this[_0x14e9('0xc5')](_0x5e300a,_0x1c1916));const _0x6598f4=_0x619478[_0x619478[_0x14e9('0xb1')]-0x1];null!==_0x1c1916&&(_0x1c1916=_0x6598f4['is'](_0x14e9('0xf9'),_0x14e9('0xb5'))?_0x6598f4[_0x14e9('0x1c')](_0x14e9('0xc4'))+0x1:_0x6598f4[_0x14e9('0x1c')](_0x14e9('0x83'))+0x1);}else for(let _0x1bf126=0x0;_0x1bf126<_0x5e300a[_0x14e9('0x63')];_0x1bf126++)_0x619478['push'](new _0x2f8e61(_0x14e9('0xb5'),{'vid':null===_0x1c1916?this['_revisionId']++:_0x1c1916++}));if(_0x1d1967['is'](_0x14e9('0x3c'))){const _0x1ebd82=G(_0x1d1967[_0x14e9('0x18')]);return _0x1ebd82[_0x14e9('0x1d')](0x0,_0x619478),_0x1ebd82;}return _0x13f37d[_0x14e9('0x9d')]('vid_end',null===_0x1c1916?this[_0x14e9('0x69')]++:_0x1c1916++),_0x13f37d[_0x14e9('0x1d')](0x0,_0x619478),_0x13f37d;}['_calculateMetaData'](_0x3a4228,_0x25df63,_0x10ef4f){this[_0x14e9('0x7e')]();const {roots:_0x2b5aa3,markers:_0xbd76d6,rootsAttributes:_0x51672a}=this[_0x14e9('0xf1')]['get'](_0x3a4228);this[_0x14e9('0xf4')]=new Map(_0x2b5aa3),this[_0x14e9('0x39')]=new Map(_0x3babc4(_0x51672a));for(const [_0xff15a3,_0x41c2c0]of this[_0x14e9('0xf4')])if(_0x14e9('0xc2')!==_0xff15a3&&(this['_diffRoots'][_0x14e9('0x2d')](_0xff15a3,q(_0x41c2c0)),this['_diffRootsAttributes']=new Map(_0x3babc4(_0x51672a)),_0x10ef4f)){const _0x57ce96=this[_0x14e9('0x69')];this[_0x14e9('0x1')][_0x14e9('0x2d')](_0xff15a3,this[_0x14e9('0xc5')](_0x41c2c0)),this['_baseIdsRoots']['set'](_0xff15a3,this[_0x14e9('0xc5')](_0x41c2c0,_0x57ce96));}this[_0x14e9('0x1f')]=this[_0x14e9('0x69')],this[_0x14e9('0x6e')]['set'](_0x14e9('0xc2'),q(this[_0x14e9('0xf4')]['get'](_0x14e9('0xc2')))),_0x10ef4f&&this[_0x14e9('0x1')][_0x14e9('0x2d')](_0x14e9('0xc2'),this[_0x14e9('0xc5')](this['_baseRoots']['get'](_0x14e9('0xc2'))));for(const [_0x43341f,_0x1f77ee]of _0xbd76d6){const _0xb05df6=this[_0x14e9('0xf4')][_0x14e9('0x102')](_0x1f77ee['rootName']),_0x35c863=this[_0x14e9('0x6e')][_0x14e9('0x102')](_0x1f77ee['rootName']),_0x43b2a6=new _0xe568a4(this[_0x14e9('0xdd')](_0x1f77ee[_0x14e9('0xef')],_0xb05df6),this[_0x14e9('0xdd')](_0x1f77ee[_0x14e9('0x26')],_0xb05df6)),_0xea6d22=this[_0x14e9('0x24')](_0x43b2a6,_0x35c863);_0xb05df6[_0x14e9('0xaa')][_0x14e9('0x2d')](_0x43341f,_0x43b2a6),this[_0x14e9('0xf0')][_0x14e9('0x2d')](_0x43341f,_0xea6d22);}this[_0x14e9('0xaf')](_0x3a4228,_0x25df63,_0x10ef4f);}['_applyOperations'](_0x4926f0,_0x124d71,_0x14042f){for(const _0xf99624 of this[_0x14e9('0x31')][_0x14e9('0x2a')](_0x4926f0,_0x124d71))this[_0x14e9('0xe3')](_0xf99624,_0x14042f);for(const _0x43ddc1 of this[_0x14e9('0x6e')][_0x14e9('0x90')]())_0x43ddc1['markers'][_0x14e9('0x54')]();for(const [_0x2280fe,_0x208e55]of this[_0x14e9('0xf0')]){this[_0x14e9('0x6e')][_0x14e9('0x102')](_0x208e55[_0x14e9('0x84')][_0x14e9('0x18')])['markers'][_0x14e9('0x2d')](_0x2280fe,_0x208e55[_0x14e9('0x46')]());}const _0x4c0bf8=new Map(),_0x37d4db=new Map();for(const [_0x2be6e9,_0x2c745b]of this[_0x14e9('0x6e')])_0x4c0bf8[_0x14e9('0x2d')](_0x2be6e9,q(_0x2c745b)),_0x37d4db[_0x14e9('0x2d')](_0x2be6e9,this[_0x14e9('0x5a')][_0x14e9('0x102')](_0x2be6e9));this[_0x14e9('0x42')](_0x124d71,_0x4c0bf8,this['_markers'],_0x37d4db);}[_0x14e9('0xea')](_0x1904f2){const _0x8c8542=Array['from'](this[_0x14e9('0xf1')]['keys']());_0x8c8542[_0x14e9('0x60')]((_0xb685be,_0x1ab5ff)=>_0xb685be-_0x1ab5ff),_0x8c8542[_0x14e9('0xbb')]();for(const _0x58ca6d of _0x8c8542)if(_0x58ca6d<_0x1904f2)return _0x58ca6d;return Number[_0x14e9('0xc')];}[_0x14e9('0xce')](_0x535808,_0x3d2c02){const _0x7b07c7=Array[_0x14e9('0x48')](_0x3d2c02['markers'])['map'](([_0x54705f,_0x462d9d])=>[_0x54705f,this[_0x14e9('0x24')](_0x462d9d,_0x535808)]);_0x535808[_0x14e9('0xaa')]=new Map(_0x7b07c7);}[_0x14e9('0xa5')](_0x42e2d2){for(const _0x46f100 of this['_markers'][_0x14e9('0x90')]()){const _0x2bae47=_0x46f100[_0x14e9('0x51')](_0x42e2d2),_0x3bf64e=_0xe568a4[_0x14e9('0x20')](_0x2bae47);_0x46f100[_0x14e9('0xef')]=_0x3bf64e[_0x14e9('0xef')],_0x46f100[_0x14e9('0x26')]=_0x3bf64e[_0x14e9('0x26')];}}['_handleOperation'](_0x44566b,_0x580ce3){if(_0x14e9('0xa1')==_0x44566b[_0x14e9('0xf6')]||'detachRoot'==_0x44566b[_0x14e9('0xf6')])return void this[_0x14e9('0x99')](_0x44566b,_0x580ce3);if('insert'==_0x44566b['type']){const _0x810613=_0x44566b[_0x14e9('0x2')][_0x14e9('0x84')]['rootName'];this['_diffRoots'][_0x14e9('0x4a')](_0x810613)||(this['_diffRoots'][_0x14e9('0x2d')](_0x810613,G(_0x810613,!0x0)),this[_0x14e9('0x5a')]['set'](_0x810613,{}),_0x580ce3&&this['_idsRoots'][_0x14e9('0x2d')](_0x810613,G(_0x810613,!0x0)));}else{if(_0x14e9('0xc3')==_0x44566b[_0x14e9('0xf6')]||_0x14e9('0x1e')==_0x44566b[_0x14e9('0xf6')]||_0x14e9('0x36')==_0x44566b[_0x14e9('0xf6')])return void this[_0x14e9('0x2b')](_0x44566b);}const _0x412006=this[_0x14e9('0xa')](_0x44566b,this['_diffRoots']);if(_0x14e9('0x92')!==_0x44566b['type']&&(_0x412006[_0x14e9('0xdc')](),this[_0x14e9('0xa5')](_0x412006)),_0x580ce3)switch(_0x412006['type']){case _0x14e9('0x3f'):this[_0x14e9('0x7d')](_0x44566b);break;case _0x14e9('0xf3'):case _0x14e9('0xe9'):case _0x14e9('0xe6'):this[_0x14e9('0xd0')](_0x44566b);break;case'merge':this['_handleMergeOperation'](_0x44566b);break;case _0x14e9('0x4b'):this[_0x14e9('0x8f')](_0x44566b);break;case'marker':this[_0x14e9('0x103')](_0x44566b);}}[_0x14e9('0xa')](_0x21c41b,_0x4c8fa2){const _0x1fd07d=_0x21c41b[_0x14e9('0x46')]();return _0x1fd07d[_0x14e9('0xe1')]=_0x21c41b['_authorId'],this['_fixOperation'](_0x1fd07d,_0x4c8fa2),_0x1fd07d;}[_0x14e9('0x88')](_0x17b5d6){return _0x17b5d6[_0x14e9('0x58')](_0xe84ec4=>{const _0x405df5=this[_0x14e9('0x11')](_0xe84ec4);return Number(_0xe84ec4['item']['getAttribute'](_0x405df5));});}[_0x14e9('0xf7')](_0x1cfac6,_0x5c8ad1){if(_0x1cfac6['is']('element',_0x14e9('0xb5')))_0x5c8ad1[_0x14e9('0x91')]({'item':_0x1cfac6,'type':'text'});else{_0x1cfac6['is'](_0x14e9('0xf9'))&&_0x5c8ad1['push']({'item':_0x1cfac6,'type':_0x14e9('0x35')});for(const _0x4a9992 of _0x1cfac6['getChildren']())this[_0x14e9('0xf7')](_0x4a9992,_0x5c8ad1);_0x1cfac6['is'](_0x14e9('0xf9'))&&_0x5c8ad1[_0x14e9('0x91')]({'item':_0x1cfac6,'type':_0x14e9('0x49')});}return _0x5c8ad1;}['_getState'](){const _0x37de25=new Map(this[_0x14e9('0xc0')]),_0x41b7b7=new Map(_0x37de25),_0x4b5ad2=new Map(),_0x348a4a={'insertions':{},'deletions':{}},_0x3f0d0a={'insertions':{},'deletions':{}},_0x5aed5b=new Map(),_0x57b821=new Set([...this[_0x14e9('0xf4')][_0x14e9('0xb6')](),...this[_0x14e9('0x6e')][_0x14e9('0xb6')]()]);_0x57b821[_0x14e9('0xc8')](_0x14e9('0xc2'));for(const _0x2e81da of _0x57b821){const _0x3d2ce6=this[_0x14e9('0x6e')][_0x14e9('0x102')](_0x2e81da)||G(_0x2e81da,!0x1),_0x26fdea=this[_0x14e9('0xf4')][_0x14e9('0x102')](_0x2e81da)||G(_0x2e81da,!0x1);_0x3d2ce6['isAttached']()||_0x26fdea['isAttached']()?(_0x348a4a[_0x14e9('0x78')][_0x2e81da]=q(_0x3d2ce6),_0x348a4a[_0x14e9('0x4c')][_0x2e81da]=q(_0x26fdea),this[_0x14e9('0xce')](_0x348a4a[_0x14e9('0x4c')][_0x2e81da],_0x26fdea),this[_0x14e9('0xce')](_0x348a4a['insertions'][_0x2e81da],_0x3d2ce6),_0x3f0d0a[_0x14e9('0x78')][_0x2e81da]=this['_generateTape'](this[_0x14e9('0x1')][_0x14e9('0x102')](_0x2e81da),[]),_0x3f0d0a[_0x14e9('0x4c')][_0x2e81da]=this[_0x14e9('0xf7')](this['_baseIdsRoots']['get'](_0x2e81da)||G(_0x2e81da,!0x1),[])):_0x57b821[_0x14e9('0xc8')](_0x2e81da);}for(const _0x5bc497 of _0x57b821){const _0x3947c9=_0x3f0d0a[_0x14e9('0x78')][_0x5bc497];for(const _0x7cb3de of _0x3947c9){const _0x172891=this[_0x14e9('0x11')](_0x7cb3de),_0x32e7a=_0x7cb3de[_0x14e9('0x30')][_0x14e9('0x1c')](_0x172891);_0x41b7b7[_0x14e9('0xc8')](_0x32e7a),_0x32e7a>=this[_0x14e9('0x1f')]&&_0x4b5ad2['set'](_0x32e7a,_0x37de25[_0x14e9('0x102')](_0x32e7a));}}for(const _0x25aef4 of _0x57b821){const _0x2937d2=_0x3f0d0a['insertions'][_0x25aef4],_0x819479=this[_0x14e9('0x88')](_0x3f0d0a[_0x14e9('0x4c')][_0x25aef4]);let _0x5915f7=0x0;for(const _0x1d99fc of _0x2937d2){const _0xb90100=this['_getVidAttributeName'](_0x1d99fc),_0x1b525f=_0x1d99fc['item']['getAttribute'](_0xb90100);if(!_0x4b5ad2[_0x14e9('0x4a')](_0x1b525f)&&!_0x5aed5b[_0x14e9('0x4a')](_0x1b525f)){if(_0x41b7b7[_0x14e9('0x4a')](_0x1b525f))_0x5915f7++;else{if(_0x1b525f!=_0x819479[_0x5915f7]){const _0x1a3bbd=_0x37de25[_0x14e9('0x102')](_0x1b525f)||_0x37de25[_0x14e9('0x102')](_0x819479[_0x5915f7]);for(;_0x1b525f!=_0x819479[_0x5915f7];)_0x41b7b7['has'](_0x819479[_0x5915f7])||(_0x5aed5b['set'](_0x819479[_0x5915f7],_0x1a3bbd),_0x37de25[_0x14e9('0x2d')](_0x819479[_0x5915f7],_0x1a3bbd)),_0x5915f7++;}_0x5915f7++;}}}}for(const _0x51a258 of _0x57b821){const _0xcfd18f=_0x3f0d0a[_0x14e9('0x78')][_0x51a258];for(const _0x2b397a of _0xcfd18f){const _0xb6ef30=this[_0x14e9('0x11')](_0x2b397a),_0x2db565=_0x2b397a['item'][_0x14e9('0x1c')](_0xb6ef30);if(_0x5aed5b[_0x14e9('0x4a')](_0x2db565)){const _0x27ab61=_0x5aed5b[_0x14e9('0x102')](_0x2db565);_0x41b7b7[_0x14e9('0x4a')](_0x2db565)||_0x41b7b7[_0x14e9('0x2d')](_0x2db565,{..._0x27ab61}),_0x4b5ad2['set'](_0x2db565,{..._0x27ab61});}}}for(const _0x59607a of _0x41b7b7[_0x14e9('0xb6')]())_0x59607a>=this[_0x14e9('0x1f')]&&_0x41b7b7[_0x14e9('0xc8')](_0x59607a);const _0xf5458a=new Map();for(const _0x1a3123 of _0x57b821){let _0x5642db=_0x3f0d0a[_0x14e9('0x78')][_0x1a3123];for(const _0x569a2e of _0x5642db)if(_0x569a2e[_0x14e9('0x30')]['is']('element',_0x14e9('0xcb'))){const _0xc0aea6=this[_0x14e9('0x11')](_0x569a2e),_0x4264f8=_0x569a2e['item'][_0x14e9('0x1c')](_0xc0aea6);if(_0x4b5ad2[_0x14e9('0x4a')](_0x4264f8)){const _0xfc0636=_0x569a2e['item'][_0x14e9('0xbe')][_0x14e9('0xbe')]['getAttribute'](_0x14e9('0x65')),_0x3a6bc0=_0xf5458a[_0x14e9('0x102')](_0xfc0636)||new Set();_0x3a6bc0['add'](_0x4b5ad2[_0x14e9('0x102')](_0x4264f8)[_0x14e9('0x4e')]),_0xf5458a['set'](_0xfc0636,_0x3a6bc0);}}_0x5642db=_0x3f0d0a['deletions'][_0x1a3123];for(const _0x1ad358 of _0x5642db)if(_0x1ad358[_0x14e9('0x30')]['is'](_0x14e9('0xf9'),_0x14e9('0xcb'))){const _0x1417a7=this[_0x14e9('0x11')](_0x1ad358),_0x39b082=_0x1ad358['item'][_0x14e9('0x1c')](_0x1417a7);if(_0x41b7b7[_0x14e9('0x4a')](_0x39b082)){const _0x3deea8=_0x1ad358[_0x14e9('0x30')]['parent']['parent'][_0x14e9('0x1c')](_0x14e9('0x65')),_0x5cd777=_0xf5458a[_0x14e9('0x102')](_0x3deea8)||new Set();_0x5cd777[_0x14e9('0x6a')](_0x41b7b7[_0x14e9('0x102')](_0x39b082)[_0x14e9('0x4e')]),_0xf5458a[_0x14e9('0x2d')](_0x3deea8,_0x5cd777);}}for(const _0x36ee97 of _0xf5458a[_0x14e9('0xb6')]())(_0x4b5ad2[_0x14e9('0x4a')](_0x36ee97)||_0x41b7b7[_0x14e9('0x4a')](_0x36ee97))&&_0xf5458a[_0x14e9('0xc8')](_0x36ee97);}for(const _0x4f1f91 of _0x57b821){const _0x361b54=_0x3f0d0a['insertions'][_0x4f1f91];let _0x187138=null,_0x5e3101=null;for(const _0x1afcca of _0x361b54){const _0x44a28d=this[_0x14e9('0x11')](_0x1afcca),_0xef2da9=_0x1afcca[_0x14e9('0x30')][_0x14e9('0x1c')](_0x44a28d),_0x45bfeb=_0xf5458a[_0x14e9('0x102')](_0xef2da9);_0x45bfeb&&_0x14e9('0x35')==_0x1afcca[_0x14e9('0xf6')]&&(_0x187138=Array[_0x14e9('0x48')](_0x45bfeb)[0x0],_0x5e3101=_0x1afcca[_0x14e9('0x30')][_0x14e9('0x1c')](_0x14e9('0x83'))),_0x187138&&(_0x41b7b7[_0x14e9('0x2d')](_0xef2da9,{'userId':_0x187138}),_0x4b5ad2[_0x14e9('0x2d')](_0xef2da9,{'userId':_0x187138})),_0xef2da9==_0x5e3101&&(_0x187138=null,_0x5e3101=null);}}const _0x220bd3={},_0x1e4ac4=new Set();for(const _0x509ad0 of _0x57b821){const _0x1beff5=_0x348a4a['deletions'][_0x509ad0],_0x1c9f45=_0x348a4a[_0x14e9('0x78')][_0x509ad0];for(const {userId:_0x2cfe14}of this[_0x14e9('0x5f')]['values']())null!==_0x2cfe14&&_0x1e4ac4[_0x14e9('0x6a')](_0x2cfe14);for(const {userId:_0x4df1c9}of this[_0x14e9('0xb7')][_0x14e9('0x90')]())null!==_0x4df1c9&&_0x1e4ac4['add'](_0x4df1c9);this[_0x14e9('0xb8')](_0x1c9f45,_0x3f0d0a[_0x14e9('0x78')][_0x509ad0],_0x4b5ad2,_0x14e9('0x22'),_0x1e4ac4),this[_0x14e9('0xb8')](_0x1beff5,_0x3f0d0a['deletions'][_0x509ad0],_0x41b7b7,_0x14e9('0xbc'),_0x1e4ac4),_0x220bd3[_0x509ad0]={'insertions':this[_0x14e9('0xed')](_0x1c9f45),'deletions':this[_0x14e9('0xed')](_0x1beff5),'attachChange':this[_0x14e9('0xb7')][_0x14e9('0x102')](_0x509ad0)||null,'attributesBefore':_0x3babc4(this['_baseRootsAttributes'][_0x14e9('0x102')](_0x509ad0))||{},'attributesAfter':_0x3babc4(this[_0x14e9('0x5a')][_0x14e9('0x102')](_0x509ad0))};}return{'diffData':_0x220bd3,'authorsIds':Array['from'](_0x1e4ac4)};}['_processRootBeforeSave'](_0x1d779e){for(const [,_0x2ea6ea]of _0x1d779e[_0x14e9('0xaa')]){const _0x10251b=_0x2ea6ea[_0x14e9('0xef')][_0x14e9('0x68')]()['filter'](_0x2c034f=>_0x14e9('0xcb')==_0x2c034f[_0x14e9('0xda')]);for(const _0x6e457d of _0x10251b)0x1==_0x6e457d[_0x14e9('0xfd')]&&_0x6e457d[_0x14e9('0x9')](0x0)['is'](_0x14e9('0xf9'),_0x14e9('0x105'))&&_0x6e457d['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x307aee){this['_processRootBeforeSave'](_0x307aee);const _0xd7fdc9=this[_0x14e9('0xa9')]['data']['toView'](_0x307aee,{}),_0x341e78=Array[_0x14e9('0x48')](_0xd7fdc9[_0x14e9('0x17')]())[_0x14e9('0x58')](_0x518e14=>this[_0x14e9('0x81')](_0x518e14));return JSON[_0x14e9('0xb0')](_0x341e78);}[_0x14e9('0x81')](_0x56cb27){if(_0x56cb27['is'](_0x14e9('0xb5')))return _0x56cb27[_0x14e9('0xbf')];{const _0x1a6dcf=_0x56cb27;return{'type':Object[_0x14e9('0xb6')](B)[_0x14e9('0xd8')](_0x490d20=>_0x56cb27 instanceof B[_0x490d20]),'name':_0x1a6dcf[_0x14e9('0xda')],'attributes':Array[_0x14e9('0x48')](_0x1a6dcf[_0x14e9('0xc9')]()),'children':Array['from'](_0x1a6dcf[_0x14e9('0x17')]())[_0x14e9('0x58')](_0xfe67f2=>this['_getViewJson'](_0xfe67f2))};}}[_0x14e9('0xb8')](_0x42a432,_0x3968c0,_0x22c02e,_0x30d160,_0x24ad0b){let _0x16b18d=null,_0x53f884=null,_0x5216a4=0x0;const _0x2b1d24=this[_0x14e9('0xa9')]['model'];for(let _0x44a434=0x0;_0x44a434<_0x3968c0['length'];_0x44a434++){const _0x3e01b7=this[_0x14e9('0x11')](_0x3968c0[_0x44a434]),_0x193227=_0x3968c0[_0x44a434]['item'][_0x14e9('0x1c')](_0x3e01b7),_0x2361bb=_0x22c02e[_0x14e9('0x102')](_0x193227),_0xaef6d7=_0x44a434==_0x3968c0[_0x14e9('0xb1')]-0x1;(!_0x16b18d&&_0x2361bb&&(_0x16b18d=_0x2361bb,_0x53f884=_0x3968c0[_0x44a434]),_0x16b18d&&(!_0x2361bb||_0x2361bb[_0x14e9('0x4e')]!=_0x16b18d[_0x14e9('0x4e')]))&&(_0x78fc91(_0x2361bb,L(_0x53f884,_0x42a432,_0x2b1d24),L(_0x3968c0[_0x44a434],_0x42a432,_0x2b1d24)),_0x16b18d=_0x2361bb||null,_0x53f884=_0x2361bb?_0x3968c0[_0x44a434]:null),_0x16b18d&&_0xaef6d7&&_0x78fc91(_0x2361bb,L(_0x53f884,_0x42a432,_0x2b1d24),W(_0x3968c0[_0x44a434],_0x42a432,_0x2b1d24));}function _0x78fc91(_0x15654b,_0x285b15,_0x36f767){const _0x2420d9=_0x16b18d[_0x14e9('0x4e')],_0x395edd=_0x14e9('0xe7')+_0x30d160+':'+_0x2420d9+':'+_0x5216a4++,_0x4a35cb=_0x2b1d24['createRange'](_0x285b15,_0x36f767);_0x42a432[_0x14e9('0xaa')]['set'](_0x395edd,_0x4a35cb),null!==_0x2420d9&&_0x24ad0b[_0x14e9('0x6a')](_0x2420d9);}}[_0x14e9('0x11')](_0x483095){switch(_0x483095[_0x14e9('0xf6')]){case _0x14e9('0x35'):return _0x14e9('0x65');case _0x14e9('0x49'):return _0x14e9('0x83');default:return _0x14e9('0xc4');}}[_0x14e9('0x27')](_0x30a5d6,_0x111f83){_0x30a5d6[_0x14e9('0x6c')]=null;for(const _0x1036f9 in _0x30a5d6){const _0x19412f=_0x30a5d6[_0x1036f9];if(_0x19412f instanceof _0x2e12b2){const _0x17faa2=_0x111f83[_0x14e9('0x102')](_0x19412f[_0x14e9('0x84')][_0x14e9('0x18')]);_0x30a5d6[_0x1036f9]=this[_0x14e9('0xdd')](_0x19412f,_0x17faa2);}if(_0x19412f instanceof _0xe568a4){const _0x423a80=_0x111f83[_0x14e9('0x102')](_0x19412f[_0x14e9('0x84')][_0x14e9('0x18')]);_0x30a5d6[_0x1036f9]=this[_0x14e9('0x24')](_0x19412f,_0x423a80);}_0x14e9('0x84')===_0x1036f9&&(_0x30a5d6[_0x14e9('0x84')]=_0x111f83[_0x14e9('0x102')](_0x30a5d6['root'][_0x14e9('0x18')]));}}['_fixRange'](_0x32a09a,_0x1a0eb4){return this[_0x14e9('0xa9')]['model'][_0x14e9('0x9c')](this[_0x14e9('0xdd')](_0x32a09a[_0x14e9('0xef')],_0x1a0eb4),this[_0x14e9('0xdd')](_0x32a09a['end'],_0x1a0eb4));}['_fixPosition'](_0x9dd50f,_0x3096ec){return this['editor'][_0x14e9('0x5d')]['createPositionFromPath'](_0x3096ec,_0x9dd50f[_0x14e9('0xa3')],_0x9dd50f['stickiness']);}[_0x14e9('0x7d')](_0x43cb9a){const _0x6af3d4=this[_0x14e9('0x1')][_0x14e9('0x102')](_0x43cb9a[_0x14e9('0x2')][_0x14e9('0x84')][_0x14e9('0x18')]),_0x5c4465=this[_0x14e9('0xdd')](_0x43cb9a[_0x14e9('0x2')],_0x6af3d4),_0x4afb1b=null===_0x43cb9a[_0x14e9('0xe1')]?null:_0x43cb9a['_authorId']||this['editor'][_0x14e9('0xd4')][_0x14e9('0x102')](_0x14e9('0x95'))['me']['id'],_0x3d3618=_0x5c4465['parent'],_0x4626a4=this[_0x14e9('0x69')],_0x175e82=[];for(const _0x2f317c of _0x43cb9a[_0x14e9('0x8d')])if(_0x2f317c['is'](_0x14e9('0xf9')))_0x175e82['push'](this[_0x14e9('0xc5')](_0x2f317c));else for(let _0x5e2cd6=0x0;_0x5e2cd6<_0x2f317c[_0x14e9('0x63')];_0x5e2cd6++)_0x175e82['push'](new _0x2f8e61(_0x14e9('0xb5'),{'vid':this[_0x14e9('0x69')]++}));const _0x4ff30a=this[_0x14e9('0x69')];for(let _0x5bb6c1=_0x4626a4;_0x5bb6c1<_0x4ff30a;_0x5bb6c1++)this[_0x14e9('0xc0')]['set'](_0x5bb6c1,{'userId':_0x4afb1b});_0x3d3618[_0x14e9('0x1d')](_0x5c4465[_0x14e9('0x74')],_0x175e82);}[_0x14e9('0xd0')](_0x5ab1d4){(_0x5ab1d4=this[_0x14e9('0xa')](_0x5ab1d4,this[_0x14e9('0x1')]))[_0x14e9('0xdc')]();const _0x2afab6=null===_0x5ab1d4['_authorId']?null:_0x5ab1d4[_0x14e9('0xe1')]||this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')](_0x14e9('0x95'))['me']['id'],_0x1f5f50=_0x5ab1d4[_0x14e9('0xd1')](),_0x48fe9a=_0x1f5f50['parent'],_0xa55ea6=_0x1f5f50['offset'];!function _0x2dd356(_0x396e16,_0x260145,_0x5e0cfc,_0x4f21f5){for(let _0x55655b=_0x5e0cfc;_0x55655b<_0x4f21f5;_0x55655b++){const _0x2f3ce4=_0x260145[_0x14e9('0x9')](_0x55655b);_0x2f3ce4['is'](_0x14e9('0xf9'),_0x14e9('0xb5'))?_0x396e16[_0x14e9('0x2d')](_0x2f3ce4[_0x14e9('0x1c')](_0x14e9('0xc4')),{'userId':_0x2afab6}):(_0x396e16['set'](_0x2f3ce4[_0x14e9('0x1c')](_0x14e9('0x65')),{'userId':_0x2afab6}),_0x2dd356(_0x396e16,_0x2f3ce4,0x0,_0x2f3ce4['childCount']),_0x396e16[_0x14e9('0x2d')](_0x2f3ce4[_0x14e9('0x1c')](_0x14e9('0x83')),{'userId':_0x2afab6}));}}(this[_0x14e9('0xc0')],_0x48fe9a,_0xa55ea6,_0xa55ea6+_0x5ab1d4[_0x14e9('0x1a')]);}[_0x14e9('0xb')](_0x566726){const _0xf38d11=null===(_0x566726=this[_0x14e9('0xa')](_0x566726,this[_0x14e9('0x1')]))[_0x14e9('0xe1')]?null:_0x566726[_0x14e9('0xe1')]||this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')]('Users')['me']['id'],_0x4ede38=_0x566726[_0x14e9('0xe8')][_0x14e9('0xbe')],_0x4e8e63=_0x566726[_0x14e9('0x2e')][_0x14e9('0xbe')],_0x2f8095=_0x4ede38[_0x14e9('0x1c')]('vid_end'),_0x2698ad=_0x4e8e63[_0x14e9('0x1c')](_0x14e9('0x65'));_0x4ede38[_0x14e9('0x9d')](_0x14e9('0x83'),_0x4e8e63['getAttribute'](_0x14e9('0x83'))),_0x4e8e63[_0x14e9('0x9d')]('vid_end',_0x2f8095),this['_touched'][_0x14e9('0x2d')](_0x2698ad,{'userId':_0xf38d11}),this[_0x14e9('0xc0')][_0x14e9('0x2d')](_0x2f8095,{'userId':_0xf38d11}),_0x566726[_0x14e9('0xdc')]();}[_0x14e9('0x8f')](_0x2b6776){const _0x1f0be4=null===(_0x2b6776=this[_0x14e9('0xa')](_0x2b6776,this[_0x14e9('0x1')]))[_0x14e9('0xe1')]?null:_0x2b6776[_0x14e9('0xe1')]||this['editor'][_0x14e9('0xd4')][_0x14e9('0x102')](_0x14e9('0x95'))['me']['id'],_0x8ef074=_0x2b6776[_0x14e9('0x38')],_0x4de39d=_0x2b6776['splitPosition']['parent'];_0x2b6776['_execute']();const _0x4420ed=_0x4de39d['getAttribute'](_0x14e9('0x83')),_0x23bf95=_0x2b6776['insertionPosition'][_0x14e9('0xd9')];if(_0x8ef074){const _0x346f6a=_0x23bf95[_0x14e9('0x1c')](_0x14e9('0x83')),_0x32a44b=_0x4de39d['getAttribute'](_0x14e9('0x83'));_0x4de39d['_setAttribute']('vid_end',_0x346f6a),_0x23bf95[_0x14e9('0x9d')](_0x14e9('0x83'),_0x32a44b),this[_0x14e9('0xc0')][_0x14e9('0x2d')](_0x4de39d['getAttribute'](_0x14e9('0x83')),{'userId':_0x1f0be4}),this[_0x14e9('0xc0')][_0x14e9('0x2d')](_0x23bf95['getAttribute']('vid_start'),{'userId':_0x1f0be4});}else{const _0x419833=this[_0x14e9('0x69')]++,_0x5c1c60=this[_0x14e9('0x69')]++;_0x4de39d[_0x14e9('0x9d')]('vid_end',_0x419833),_0x23bf95[_0x14e9('0x9d')](_0x14e9('0x65'),_0x5c1c60),_0x23bf95[_0x14e9('0x9d')](_0x14e9('0x83'),_0x4420ed),this[_0x14e9('0xc0')][_0x14e9('0x2d')](_0x419833,{'userId':_0x1f0be4}),this[_0x14e9('0xc0')]['set'](_0x5c1c60,{'userId':_0x1f0be4});}}[_0x14e9('0x103')](_0x5705de){if(!_0x5705de[_0x14e9('0x98')])return;const _0x3e01b1=(_0x5705de=this['_cloneOperation'](_0x5705de,this['_diffRoots']))['oldRange']?_0x5705de[_0x14e9('0x1b')][_0x14e9('0x84')]:null,_0x1084bd=_0x5705de[_0x14e9('0xca')]?_0x5705de[_0x14e9('0xca')][_0x14e9('0x84')]:null;_0x3e01b1&&this[_0x14e9('0xf0')][_0x14e9('0xc8')](_0x5705de[_0x14e9('0xda')]),_0x1084bd&&this['_markers'][_0x14e9('0x2d')](_0x5705de[_0x14e9('0xda')],_0x5705de[_0x14e9('0xca')][_0x14e9('0x46')]());const _0x2b6ae4=null===_0x5705de[_0x14e9('0xe1')]?null:_0x5705de[_0x14e9('0xe1')]||this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')]('Users')['me']['id'],_0x1359c4=_0x5705de[_0x14e9('0xda')];if(!this[_0x14e9('0x5f')]['has'](_0x1359c4))return void this[_0x14e9('0x5f')][_0x14e9('0x2d')](_0x1359c4,{'range':_0x5705de[_0x14e9('0x1b')],'userId':_0x2b6ae4});const _0x506294=this[_0x14e9('0x5f')][_0x14e9('0x102')](_0x1359c4),_0xf643a8=_0x506294[_0x14e9('0x79')],_0x2cf642=_0x5705de['newRange'];null==_0xf643a8&&null==_0x2cf642||_0xf643a8&&_0x2cf642&&_0xf643a8[_0x14e9('0x8a')](_0x2cf642)?this[_0x14e9('0x5f')][_0x14e9('0xc8')](_0x5705de[_0x14e9('0xda')]):_0x506294[_0x14e9('0x4e')]=_0x2b6ae4;}[_0x14e9('0x99')](_0xa2ec81,_0x6c944f){this['_diffRoots'][_0x14e9('0x4a')](_0xa2ec81['rootName'])?this[_0x14e9('0x6e')][_0x14e9('0x102')](_0xa2ec81[_0x14e9('0x18')])[_0x14e9('0xb9')]=_0xa2ec81['isAdd']:(this[_0x14e9('0x6e')]['set'](_0xa2ec81['rootName'],G(_0xa2ec81[_0x14e9('0x18')],!0x0)),this[_0x14e9('0x5a')][_0x14e9('0x2d')](_0xa2ec81[_0x14e9('0x18')],{}),_0x6c944f&&this[_0x14e9('0x1')][_0x14e9('0x2d')](_0xa2ec81[_0x14e9('0x18')],G(_0xa2ec81['rootName'],!0x0)));const _0x27745f=null===_0xa2ec81[_0x14e9('0xe1')]?null:_0xa2ec81[_0x14e9('0xe1')]||this[_0x14e9('0xa9')][_0x14e9('0xd4')][_0x14e9('0x102')](_0x14e9('0x95'))['me']['id'],_0x1c5a2a=this[_0x14e9('0xb7')][_0x14e9('0x102')](_0xa2ec81[_0x14e9('0x18')]);_0x1c5a2a&&_0x1c5a2a[_0x14e9('0x4e')]===_0x27745f?this[_0x14e9('0xb7')][_0x14e9('0xc8')](_0xa2ec81[_0x14e9('0x18')]):this[_0x14e9('0xb7')][_0x14e9('0x2d')](_0xa2ec81[_0x14e9('0x18')],{'userId':_0x27745f,'isAttached':_0xa2ec81[_0x14e9('0x8c')]});}['_handleRootAttributeOperation'](_0x45a995){const _0x4faf43=this['_diffRootsAttributes']['get'](_0x45a995[_0x14e9('0x84')][_0x14e9('0x18')]);null===_0x45a995[_0x14e9('0x77')]?delete _0x4faf43[_0x45a995[_0x14e9('0x53')]]:_0x4faf43[_0x45a995[_0x14e9('0x53')]]=_0x45a995[_0x14e9('0x77')];}}function q(_0x236499){const _0x4062c2=G(_0x236499[_0x14e9('0x18')],_0x236499[_0x14e9('0x59')]());for(const _0x21a4d9 of _0x236499[_0x14e9('0x17')]()){const _0x22d6d5=_0x21a4d9[_0x14e9('0x13')](!0x0);_0x4062c2[_0x14e9('0x85')](_0x22d6d5);}return _0x4062c2;}function G(_0x5d920d,_0x2b5b02=!0x0){const _0xe06b31=new _0x2e2c8b();return _0xe06b31[_0x14e9('0x18')]=_0x5d920d,_0xe06b31[_0x14e9('0xb9')]=_0x2b5b02,_0xe06b31[_0x14e9('0x59')]=()=>_0xe06b31[_0x14e9('0xb9')],_0xe06b31;}function L(_0x221b02,_0x4bef22,_0x4c11e8){const _0x3839c0=_0x14e9('0x49')==_0x221b02[_0x14e9('0xf6')]?_0x4c11e8['createPositionAt'](_0x221b02[_0x14e9('0x30')],'end'):_0x4c11e8['createPositionBefore'](_0x221b02['item']);return _0x4c11e8[_0x14e9('0x70')](_0x4bef22,_0x3839c0[_0x14e9('0xa3')],_0x3839c0['stickiness']);}function W(_0x5785f0,_0x1c9cee,_0x4cd0f1){const _0x495fd3=_0x14e9('0x35')==_0x5785f0[_0x14e9('0xf6')]?_0x4cd0f1[_0x14e9('0x50')](_0x5785f0['item'],0x0):_0x4cd0f1[_0x14e9('0x33')](_0x5785f0[_0x14e9('0x30')]);return _0x4cd0f1[_0x14e9('0x70')](_0x1c9cee,_0x495fd3[_0x14e9('0xa3')],_0x495fd3['stickiness']);}