@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230831.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 (88) hide show
  1. package/build/revision-history.js +1 -1
  2. package/lang/translations/af.po +1 -0
  3. package/lang/translations/ar.po +1 -0
  4. package/lang/translations/az.po +1 -0
  5. package/lang/translations/bg.po +1 -0
  6. package/lang/translations/bn.po +1 -0
  7. package/lang/translations/bs.po +1 -0
  8. package/lang/translations/ca.po +1 -0
  9. package/lang/translations/cs.po +1 -0
  10. package/lang/translations/da.po +1 -0
  11. package/lang/translations/de-ch.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en-gb.po +1 -0
  16. package/lang/translations/en.po +1 -0
  17. package/lang/translations/es-co.po +1 -0
  18. package/lang/translations/es.po +1 -0
  19. package/lang/translations/et.po +1 -0
  20. package/lang/translations/fa.po +1 -0
  21. package/lang/translations/fi.po +1 -0
  22. package/lang/translations/fr.po +1 -0
  23. package/lang/translations/gl.po +1 -0
  24. package/lang/translations/he.po +1 -0
  25. package/lang/translations/hi.po +1 -0
  26. package/lang/translations/hr.po +1 -0
  27. package/lang/translations/hu.po +1 -0
  28. package/lang/translations/id.po +1 -0
  29. package/lang/translations/it.po +1 -0
  30. package/lang/translations/ja.po +1 -0
  31. package/lang/translations/jv.po +1 -0
  32. package/lang/translations/ko.po +1 -0
  33. package/lang/translations/ku.po +1 -0
  34. package/lang/translations/lt.po +1 -0
  35. package/lang/translations/lv.po +1 -0
  36. package/lang/translations/ms.po +1 -0
  37. package/lang/translations/ne.po +1 -0
  38. package/lang/translations/nl.po +1 -0
  39. package/lang/translations/no.po +1 -0
  40. package/lang/translations/pl.po +1 -0
  41. package/lang/translations/pt-br.po +1 -0
  42. package/lang/translations/pt.po +1 -0
  43. package/lang/translations/ro.po +1 -0
  44. package/lang/translations/ru.po +1 -0
  45. package/lang/translations/sk.po +1 -0
  46. package/lang/translations/sr-latn.po +1 -0
  47. package/lang/translations/sr.po +1 -0
  48. package/lang/translations/sv.po +1 -0
  49. package/lang/translations/th.po +1 -0
  50. package/lang/translations/tk.po +1 -0
  51. package/lang/translations/tr.po +1 -0
  52. package/lang/translations/tt.po +1 -0
  53. package/lang/translations/ug.po +1 -0
  54. package/lang/translations/uk.po +1 -0
  55. package/lang/translations/ur.po +1 -0
  56. package/lang/translations/vi.po +1 -0
  57. package/lang/translations/zh-cn.po +1 -0
  58. package/lang/translations/zh.po +1 -0
  59. package/package.json +6 -6
  60. package/src/changeitem.js +1 -1
  61. package/src/editor/revisionviewereditor.js +1 -1
  62. package/src/editor/revisionviewereditorui.js +1 -1
  63. package/src/editor/revisionviewereditoruiview.js +1 -1
  64. package/src/revision.js +1 -1
  65. package/src/revisiondiff.js +1 -1
  66. package/src/revisionhistory.js +1 -1
  67. package/src/revisionsrepository.js +1 -1
  68. package/src/revisiontracker.js +1 -1
  69. package/src/revisionviewer.js +1 -1
  70. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  71. package/src/ui/revision/revisionauthorview.js +1 -1
  72. package/src/ui/revision/revisionnameview.js +1 -1
  73. package/src/ui/revision/revisionview.js +1 -1
  74. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  75. package/src/ui/revision/subrevisionview.js +1 -1
  76. package/src/ui/revision/utils.js +1 -1
  77. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  78. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  79. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  80. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  81. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  82. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  83. package/src/ui/revisionssidebar/utils.js +1 -1
  84. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  85. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  86. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  87. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  88. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6bbe=['paragraph','hasContent','roots','model','addRoot','PendingActions','offsetSize','initialData','afterInit','set','elementStart','nodeAfter','_getBaseVids','adapter','finally','baseVersion','_baseRootsAttributes','getData','_bufferUpdate','attributesBefore','resolve','_revisionDataBuilder','sourcePosition','clone','isEqual','_applyOperations','_fixOperation','_handleInsertOperation','_getFromVersion','getOperation','documentFragment','marked','getRevisions','newValue','delete','markerToData','_authorId','element','_copyMarkers','requires','_revisionId','_getPreviousFrom','deletions','_fixPosition','$graveyard','_handleRootOperation','locale','keepParagraph','dataToMarker','setSource','define','trim','deletion','_handleRootAttributeOperation','_calculateMetaData','getChild','_savedMetaData','merge','_createCurrentRevision','stickiness','$text','getRevisionDocumentData','vid_start','parent','isAttached','_clone','_isInit','parse','RealTimeCollaborationClient','_execute','editing','type','keys','previousPosition','getRoot','_handleMoveOperation','offset','isAdd','data-revision-','_startingRevisionId','add','_operations','collaboration.channelId','getNodeByPath','currentRevision','splitPosition','attributes','values','_reset','targetPosition','slice','getRootNames','Initial\x20revision','affectsData','createPositionFromPath','revision','creator','addRevisionData','rootName','startsWith','_addPendingAction','removeRootAttribute','path','getLatestVersion','stringify','key','nodes','PENDING_ACTION_REVISION_HISTORY','_processRootBeforeSave','_baseRoots','item','_loadRevisionData','getMovedRangeStart','_appendChild','_isAttached','diffData','createRange','_makeModelFromViewString','getAncestors','markers','tableCell','shift','getAttribute','history','for','_lastFrom','reinsert','_source','authors','addRevision','_makeRevision','_prepareViewToSave','authorsIds','elementEnd','getChildren','_handleMarkerOperation','Users','_isPendingUpdate','_getState','_pendingAction','_markers','getCurrentRevisionId','name','isEnabled','_getViewJson','processor','getRevision','string','_setConversion','detachRoot','_markChanges','createPositionAt','init','split','graveyardPosition','attributesAfter','size','_getVidAttributeName','find','_insertChild','reverse','update','includes','_handleMergeOperation','source','insertions','_handleOperation','some','children','remove','clear','toView','get','newRange','creatorId','_startingVersion','push','root','reInit','version','_removeMetaData','sendBufferedUpdates','childCount','toVersion','config','oldRange','start','_touched','ready','insertion','buildRevisionData','createPositionAfter','getWalker','data','filter','loadState','attachChange','createRevision','_cloneOperation','setRevisionData','_removePendingAction','createdAt','_loadState','getIndex','NEGATIVE_INFINITY','createRangeIn','updateRevisions','_handleSplitOperation','useFillerType','revision:','vid_end','vid','plugins','then','_setAttribute','sort','howMany','has','from','map','_touchedMarkers','getUser','text','view','_initialRevisionId','isReady','_diffRoots','_transformMarkers','_bufferedUpdates','editor','dataDowncast','_loadedStateData','RevisionsRepository','_createFromRanges','_generateTape','_continueCurrentRevision','_lastTo','end','_saveMetaData','_touchedRoots','_fixRange','default','insert','_findInsertionIndex','repository','_update','rootsAttributes','revisionHistory.resumeUnsavedRevision','_idsRoots','createPositionBefore','marker','_makeIdsRoot','position','_diffRootsAttributes','length','getRange','_baseIdsRoots','bind','fromVersion','userId','document','_removeRevisionMarkers','changeRootAttribute'];(function(_0x97f3e9,_0x6bbed6){const _0x5e1555=function(_0x556b8f){while(--_0x556b8f){_0x97f3e9['push'](_0x97f3e9['shift']());}};_0x5e1555(++_0x6bbed6);}(_0x6bbe,0x8b));const _0x5e15=function(_0x97f3e9,_0x6bbed6){_0x97f3e9=_0x97f3e9-0x0;let _0x5e1555=_0x6bbe[_0x97f3e9];return _0x5e1555;};import{Users as _0xbc240e}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x5868c7,PendingActions as _0x3fa143}from'ckeditor5/src/core';import{logWarning as _0x2b693c,uid as _0x40f2ca}from'ckeditor5/src/utils';import{Position as _0x27cce9,Range as _0x1267ff,Element as _0x41cbf8,DocumentFragment as _0x143316,ViewText as _0x540e8f,ViewElement as _0x6f9192,ViewContainerElement as _0x21bfff,ViewAttributeElement as _0xdff235,ViewEmptyElement as _0x249be3,ViewRawElement as _0x33bcf6,ViewUIElement as _0x164ab4,ViewDocumentFragment as _0x5c797f}from'ckeditor5/src/engine';import _0x106220 from'./revisionsrepository';import{getTranslation as _0x58a6dd}from'./utils/common-translations';import{cloneDeep as _0x6bddad,isEqual as _0x1dd850}from'lodash-es';const B={'c':_0x21bfff,'a':_0xdff235,'e':_0x249be3,'r':_0x33bcf6,'u':_0x164ab4};export default class l extends _0x5868c7{static get['pluginName'](){return'RevisionTracker';}static get[_0x5e15('0xa3')](){return[_0xbc240e,_0x106220,_0x3fa143];}constructor(_0x74c174){super(_0x74c174),this['adapter']=null,this[_0x5e15('0xd0')]=null,this[_0x5e15('0x91')]=new H(this[_0x5e15('0x5a')]),this[_0x5e15('0x55')]=this[_0x5e15('0x5a')][_0x5e15('0x2d')][_0x5e15('0x21')]('collaboration.channelId')||'initial',this[_0x5e15('0x59')]=new Map(),this[_0x5e15('0x5c')]=null;const _0x504472=_0x40f2ca();this[_0x5e15('0xfb')]={'history':this['editor'][_0x5e15('0x7f')][_0x5e15('0x79')][_0x5e15('0xf7')],'getLatestVersion':()=>Promise[_0x5e15('0x90')](this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')]['version']),'getCurrentRevisionId':()=>_0x504472},this[_0x5e15('0x85')](_0x5e15('0x56'),!0x1),this[_0x5e15('0x85')](_0x5e15('0x4'),!0x0),this[_0x5e15('0x85')](_0x5e15('0x105'),!0x1),this[_0x5e15('0x5a')][_0x5e15('0x2d')][_0x5e15('0xae')]('revisionHistory.resumeUnsavedRevision',!0x0),this[_0x5e15('0x5a')]['conversion']['for']('upcast')[_0x5e15('0xac')]({'view':_0x5e15('0xdb')});}['init'](){this['repository']=this['editor'][_0x5e15('0x49')]['get'](_0x5e15('0x5d')),this[_0x5e15('0x9')](),this[_0x5e15('0x5a')][_0x5e15('0x36')]['on'](_0x5e15('0x31'),()=>{const _0xc731e3=this[_0x5e15('0x69')][_0x5e15('0x7')](0x0),_0x15bfab=_0xc731e3&&null===_0xc731e3[_0x5e15('0xdc')]?_0xc731e3:null;if(this['_continueCurrentRevision']=!!_0x15bfab&&this[_0x5e15('0x5a')][_0x5e15('0x2d')][_0x5e15('0x21')](_0x5e15('0x6c')),this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x4e')](_0x5e15('0xc0'))){const _0x280631=this['_source'][_0x5e15('0x2')](),_0x4febbf=this[_0x5e15('0x69')][_0x5e15('0x7')](_0x280631);if(_0x4febbf)this['_startingVersion']=_0x4febbf[_0x5e15('0x77')],this[_0x5e15('0x60')]=!0x1;else{const _0x21f7ef=this[_0x5e15('0xfb')]['history'][_0x5e15('0xcd')][_0x5e15('0x13')](_0x26c1f6=>!_0x26c1f6[_0x5e15('0xbe')]),_0x4407ac=_0x21f7ef?_0x21f7ef['baseVersion']:this['_source'][_0x5e15('0xf7')][_0x5e15('0x28')];_0xc731e3?(_0xc731e3[_0x5e15('0x2c')]<_0x4407ac&&_0xc731e3[_0x5e15('0x6a')]({'toVersion':_0x4407ac}),this[_0x5e15('0x60')]?(this[_0x5e15('0xfb')][_0x5e15('0x2')]=()=>_0x15bfab['id'],this[_0x5e15('0x24')]=_0x15bfab[_0x5e15('0x77')]):(this['_startingVersion']=_0xc731e3['toVersion'],this[_0x5e15('0x60')]=!0x1)):(this[_0x5e15('0x24')]=_0x4407ac,this[_0x5e15('0x60')]=!0x1);}}else _0x15bfab&&(this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')][_0x5e15('0xf7')][_0x5e15('0x28')]=Math['max'](_0x15bfab[_0x5e15('0x2c')],this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')][_0x5e15('0xf7')][_0x5e15('0x28')]),_0x15bfab[_0x5e15('0x77')]===_0x15bfab[_0x5e15('0x2c')]?(0x0!==_0x15bfab[_0x5e15('0x77')]&&(this['_source'][_0x5e15('0x2')]=()=>_0x15bfab['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source'][_0x5e15('0x2')]=()=>_0x15bfab['id'],this[_0x5e15('0x24')]=_0x15bfab[_0x5e15('0x77')])),this[_0x5e15('0x60')]||(this['_startingVersion']=this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')][_0x5e15('0x28')]);this[_0x5e15('0x91')]['init'](this[_0x5e15('0xfb')][_0x5e15('0xf7')]),this['_createInitialRevision'](this[_0x5e15('0x24')]),this['_createCurrentRevision'](this[_0x5e15('0x24')]),this[_0x5e15('0x89')]&&this[_0x5e15('0x2a')]();}),this[_0x5e15('0x76')](_0x5e15('0x56'))['to'](this,_0x5e15('0x105'),_0x245404=>!_0x245404);}async[_0x5e15('0x84')](){if(this[_0x5e15('0x69')][_0x5e15('0x73')]>0x0){const _0x3016a4=this['repository'][_0x5e15('0x7')](0x0),_0x225b4d=await this[_0x5e15('0xb9')](_0x3016a4),_0x2c6339=await this['getRevisionRootsAttributes'](_0x3016a4);this['_replaceEditorDataWithRevisionData'](_0x225b4d,_0x2c6339);}}[_0x5e15('0xad')](_0x37415a){this[_0x5e15('0xfb')]=_0x37415a;}async[_0x5e15('0x16')](){const _0x2e3b36=await this['_source'][_0x5e15('0xe3')]();if(_0x2e3b36>this[_0x5e15('0xd0')]['toVersion']){await this[_0x5e15('0x3f')]();const _0x197618=this[_0x5e15('0x33')]({'revision':this[_0x5e15('0xd0')],'to':_0x2e3b36});_0x197618[_0x5e15('0xfc')]=_0x197618[_0x5e15('0x100')][_0x5e15('0x50')](_0x4a3566=>this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x21')](_0x5e15('0x104'))[_0x5e15('0x52')](_0x4a3566)),this[_0x5e15('0xd0')]['_update'](_0x197618);}}async['_loadState'](){this[_0x5e15('0x60')]&&!this[_0x5e15('0x5c')]&&(await this[_0x5e15('0xeb')](this[_0x5e15('0xd0')]),this[_0x5e15('0x91')][_0x5e15('0x38')](this[_0x5e15('0xd0')]),this[_0x5e15('0x5c')]={'fromVersion':this['currentRevision'][_0x5e15('0x77')],'authors':this[_0x5e15('0xd0')][_0x5e15('0xfc')][_0x5e15('0xd6')]()});}async['saveRevision'](_0x7ac5d8={},_0x5b07af=null){const _0x40d690=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5b07af>this[_0x5e15('0xd0')][_0x5e15('0x2c')]&&(_0x5b07af=null),null===_0x5b07af&&(_0x5b07af=await this['_source']['getLatestVersion']());const _0x3272ec=this[_0x5e15('0x98')](_0x5b07af),_0xcf1132=this[_0x5e15('0x33')]({'from':_0x3272ec,'to':_0x5b07af});if(this[_0x5e15('0xd0')][_0x5e15('0x2c')]<_0x5b07af){const _0x155b55=this[_0x5e15('0x33')]({'revision':this['currentRevision'],'from':_0x5b07af,'to':_0x5b07af});_0x155b55[_0x5e15('0xfc')]=[],_0x155b55[_0x5e15('0x100')]=[],_0x155b55['id']=this['currentRevision']['id'],this['currentRevision'][_0x5e15('0x6a')](_0x155b55,!0x0),delete _0x155b55[_0x5e15('0xfc')],_0x40d690[_0x5e15('0x25')](_0x155b55);}_0x7ac5d8['creatorId']=this['editor'][_0x5e15('0x49')][_0x5e15('0x21')](_0x5e15('0x104'))['me']['id'],_0x7ac5d8['name']=_0x7ac5d8[_0x5e15('0x3')]||null,_0x7ac5d8['id']=_0x7ac5d8['id']||_0x40f2ca(),_0x7ac5d8={..._0x7ac5d8,..._0xcf1132};const _0x535c07=this[_0x5e15('0xdd')](_0x7ac5d8);_0x40d690[_0x5e15('0x25')](_0x7ac5d8);const _0x366775=this['repository'][_0x5e15('0x40')](_0x535c07);if(0x0!==_0x366775){const _0x43554f=this[_0x5e15('0x69')][_0x5e15('0x7')](_0x366775-0x1);if(_0x43554f[_0x5e15('0x77')]!==_0x5b07af){const _0x5ba3c2=this['_revisionDataBuilder'][_0x5e15('0x8d')](_0x5b07af,_0x43554f['toVersion']),_0x4f6979={'id':_0x43554f['id'],'diffData':_0x5ba3c2[_0x5e15('0xef')],'authorsIds':_0x5ba3c2[_0x5e15('0x100')],'authors':_0x5ba3c2[_0x5e15('0x100')][_0x5e15('0x50')](_0x2e81f7=>this[_0x5e15('0x5a')]['plugins'][_0x5e15('0x21')](_0x5e15('0x104'))[_0x5e15('0x52')](_0x2e81f7)),'fromVersion':_0x5b07af};_0x43554f===this['currentRevision']&&(_0x4f6979[_0x5e15('0x3e')]=new Date(_0x7ac5d8[_0x5e15('0x3e')]['getTime']()+0xa)),_0x43554f['_update'](_0x4f6979,!0x0),delete _0x4f6979[_0x5e15('0xfc')],_0x40d690[_0x5e15('0x25')](_0x4f6979);}}if(this[_0x5e15('0x89')]){for(const _0x330581 of _0x40d690)this[_0x5e15('0x8e')](_0x330581['id'],_0x330581,!0x0);this['sendBufferedUpdates']();}return _0x535c07;}['addRevisionData'](_0x2fac9f){const _0xa925d4=this[_0x5e15('0x69')][_0x5e15('0x3a')](_0x2fac9f);return this[_0x5e15('0x89')]&&_0xa925d4['on'](_0x5e15('0x6a'),(_0x39ec68,_0x58c63e,_0x175bf9)=>{_0x175bf9||(this['_bufferUpdate'](_0x58c63e['id'],_0x58c63e,!0x0),this[_0x5e15('0x2a')]());}),this[_0x5e15('0x69')][_0x5e15('0xfd')](_0xa925d4,this[_0x5e15('0x68')](_0xa925d4)),_0xa925d4;}async[_0x5e15('0xb9')](_0x248321){await this[_0x5e15('0xeb')](_0x248321);const _0x5a327b={};for(const _0x26d23d in _0x248321[_0x5e15('0xef')]){if(_0x248321['diffData'][_0x26d23d][_0x5e15('0x39')]&&!_0x248321[_0x5e15('0xef')][_0x26d23d][_0x5e15('0x39')][_0x5e15('0xbc')])continue;const _0x4bc2c3=this[_0x5e15('0x7a')](JSON[_0x5e15('0xbf')](_0x248321['diffData'][_0x26d23d][_0x5e15('0x1a')])),_0x21c122=this[_0x5e15('0x5a')][_0x5e15('0xc2')][_0x5e15('0x54')][_0x5e15('0x79')],_0x17b6a7=new _0x5c797f(_0x21c122,_0x4bc2c3[_0x5e15('0x50')](_0x5500f2=>J(_0x5500f2,this[_0x5e15('0x5a')])));this['editor'][_0x5e15('0x36')][_0x5e15('0x6')][_0x5e15('0x45')](_0x5e15('0x9b')),_0x5a327b[_0x26d23d]=this[_0x5e15('0x5a')][_0x5e15('0x36')][_0x5e15('0x6')]['toData'](_0x17b6a7),this[_0x5e15('0x5a')][_0x5e15('0x36')][_0x5e15('0x6')][_0x5e15('0x45')](_0x5e15('0x66'));}return _0x5a327b;}async['getRevisionRootsAttributes'](_0x991363){await this[_0x5e15('0xeb')](_0x991363);const _0x3ed440={};for(const _0x162be3 in _0x991363[_0x5e15('0xef')])_0x991363['diffData'][_0x162be3][_0x5e15('0x39')]&&!_0x991363[_0x5e15('0xef')][_0x162be3][_0x5e15('0x39')][_0x5e15('0xbc')]||(_0x3ed440[_0x162be3]=_0x991363[_0x5e15('0xef')][_0x162be3][_0x5e15('0x10')]||{});return _0x3ed440;}[_0x5e15('0x2a')](){if(0x0===this[_0x5e15('0x59')]['size'])return;if(this['_isPendingUpdate'])return;let _0x509724=Array[_0x5e15('0x4f')](this[_0x5e15('0x59')][_0x5e15('0xd3')]());this[_0x5e15('0x59')][_0x5e15('0x1f')]();for(let _0x4c02fc=0x0;_0x4c02fc<_0x509724[_0x5e15('0x73')];_0x4c02fc++){const _0x1830a0=_0x509724[_0x4c02fc];let _0x225636=!0x1;for(const _0x284bde of Object['keys'](_0x1830a0))void 0x0===_0x1830a0[_0x284bde]?delete _0x1830a0[_0x284bde]:'id'!==_0x284bde&&(_0x225636=!0x0);_0x225636||(_0x509724[_0x4c02fc]=null);}if(_0x509724=_0x509724['filter'](_0x5d8c16=>null!==_0x5d8c16),!_0x509724[_0x5e15('0x73')])return;for(let _0x311063=0x0;_0x311063<_0x509724[_0x5e15('0x73')];_0x311063++){const _0x2a4c32=_0x509724[_0x311063];void 0x0!==_0x2a4c32[_0x5e15('0x77')]&&void 0x0===_0x2a4c32[_0x5e15('0x2c')]&&(_0x2a4c32[_0x5e15('0x2c')]=this[_0x5e15('0x69')][_0x5e15('0x7')](_0x2a4c32['id'])['toVersion']),void 0x0!==_0x2a4c32[_0x5e15('0x2c')]&&void 0x0===_0x2a4c32[_0x5e15('0x77')]&&(_0x2a4c32['fromVersion']=this[_0x5e15('0x69')]['getRevision'](_0x2a4c32['id'])[_0x5e15('0x77')]);}const _0x178d51=this[_0x5e15('0x5a')][_0x5e15('0x2d')][_0x5e15('0x21')](_0x5e15('0xce'));this['_isPendingUpdate']=!0x0,this[_0x5e15('0xe0')](),this[_0x5e15('0x89')][_0x5e15('0x43')](_0x509724,_0x178d51)[_0x5e15('0x8a')](()=>{this[_0x5e15('0x105')]=!0x1;})[_0x5e15('0x4a')](_0x3b9b66=>{if(_0x3b9b66)for(const _0x5bd327 of _0x3b9b66)this[_0x5e15('0x3c')]({'id':_0x5bd327['id'],'createdAt':_0x5bd327[_0x5e15('0x3e')]});this[_0x5e15('0x3d')](),this[_0x5e15('0x2a')]();});}['_replaceEditorDataWithRevisionData'](_0x36c0d2,_0x29ad0f){let _0x11de63=this[_0x5e15('0x5a')][_0x5e15('0x2d')][_0x5e15('0x21')](_0x5e15('0x83')),_0x154008=this[_0x5e15('0x5a')]['config'][_0x5e15('0x21')](_0x5e15('0x6b'));if(void 0x0===_0x11de63){_0x11de63={};for(const _0x98dd7c of this[_0x5e15('0x5a')]['model'][_0x5e15('0x79')]['getRootNames']())_0x11de63[_0x98dd7c]='';}if(_0x5e15('0x8')==typeof _0x11de63&&(_0x11de63={'main':_0x11de63}),void 0x0===_0x154008){_0x154008={};for(const _0x49fe0d of this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')][_0x5e15('0xd7')]())_0x154008[_0x49fe0d]={};}let _0x515ac8=!0x1;const _0x203d49=Object[_0x5e15('0xc4')](_0x11de63),_0x230435=Object[_0x5e15('0xc4')](_0x36c0d2);for(const _0x48fdfc of _0x203d49){if(_0x11de63[_0x48fdfc]!==_0x36c0d2[_0x48fdfc]&&''!==_0x11de63[_0x48fdfc][_0x5e15('0xaf')]()){_0x515ac8=!0x0;break;}if(!_0x1dd850(_0x154008[_0x48fdfc],_0x29ad0f[_0x48fdfc])&&Object[_0x5e15('0xc4')](_0x154008[_0x48fdfc])[_0x5e15('0x73')]>0x0){_0x515ac8=!0x0;break;}}_0x515ac8||(_0x515ac8=_0x230435[_0x5e15('0x1c')](_0x427ba2=>!this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')]['getRoot'](_0x427ba2))),_0x515ac8&&_0x2b693c('editor-initial-data-replaced-with-revision-data',{'editorData':_0x11de63,'editorRootsAttributes':_0x154008,'revisionData':_0x36c0d2,'revisionRootsAttributes':_0x29ad0f}),this[_0x5e15('0x5a')][_0x5e15('0x2d')][_0x5e15('0x85')](_0x5e15('0x83'),_0x36c0d2),this[_0x5e15('0x5a')]['config'][_0x5e15('0x85')](_0x5e15('0x6b'),_0x29ad0f);}['_addPendingAction'](){if(!this[_0x5e15('0x0')]){const _0xf285b=this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x21')](_0x5e15('0x81'));this[_0x5e15('0x0')]=_0xf285b[_0x5e15('0xcc')](_0x58a6dd(this[_0x5e15('0x5a')][_0x5e15('0xaa')],_0x5e15('0xe7')));}}[_0x5e15('0x3d')](){this[_0x5e15('0x0')]&&(this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x21')](_0x5e15('0x81'))[_0x5e15('0x1e')](this['_pendingAction']),this[_0x5e15('0x0')]=null);}[_0x5e15('0x68')](_0x3f0961){const _0x731c03=this[_0x5e15('0x69')][_0x5e15('0x9c')]();_0x731c03[_0x5e15('0x15')]();let _0x26fe02=0x0;for(;_0x26fe02<_0x731c03[_0x5e15('0x73')];){const _0x4804b6=_0x731c03[_0x26fe02];if(_0x4804b6===this[_0x5e15('0xd0')]){_0x26fe02++;continue;}if(_0x4804b6['id']===this[_0x5e15('0x55')])break;const _0x1fcbd3=_0x3f0961[_0x5e15('0x2c')]-_0x4804b6[_0x5e15('0x2c')]||_0x3f0961['fromVersion']-_0x4804b6[_0x5e15('0x77')];if(_0x1fcbd3>0x0)break;if(_0x1fcbd3<0x0)_0x26fe02++;else{if(!_0x3f0961[_0x5e15('0xdc')]&&_0x4804b6['creator'])break;if(_0x4804b6[_0x5e15('0xdc')]||!_0x3f0961[_0x5e15('0xdc')]){if(_0x3f0961[_0x5e15('0x3e')]>_0x4804b6[_0x5e15('0x3e')])break;_0x26fe02++;}else _0x26fe02++;}}return _0x26fe02;}['setRevisionData'](_0x32d8f5){const _0x5242c7=this[_0x5e15('0x69')][_0x5e15('0x7')](_0x32d8f5['id']);if(_0x32d8f5[_0x5e15('0x3e')]&&(_0x32d8f5[_0x5e15('0x3e')]=new Date(_0x32d8f5[_0x5e15('0x3e')])),_0x32d8f5[_0x5e15('0x100')]){const _0x416d4d=this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x21')]('Users');_0x32d8f5[_0x5e15('0xfc')]=_0x32d8f5[_0x5e15('0x100')][_0x5e15('0x50')](_0x5bfc95=>_0x416d4d[_0x5e15('0x52')](_0x5bfc95));}_0x5242c7[_0x5e15('0x6a')](_0x32d8f5,!0x0);}[_0x5e15('0x33')]({revision:_0x35a906=null,from:_0x202a34=null,to:_0x580301=null}){_0x202a34=null!==_0x202a34?_0x202a34:_0x35a906[_0x5e15('0x77')],_0x580301=null!==_0x580301?_0x580301:_0x35a906[_0x5e15('0x2c')];const _0x5847be=this['_revisionDataBuilder'][_0x5e15('0x8d')](_0x202a34,_0x580301),_0x205789={'diffData':_0x5847be[_0x5e15('0xef')],'authorsIds':_0x5847be['authorsIds'],'fromVersion':_0x202a34,'toVersion':_0x580301};if(!_0x35a906||_0x580301!==_0x35a906['toVersion']){const _0x54f56c=_0x580301-0x1,_0x265c95=this[_0x5e15('0xfb')][_0x5e15('0xf7')][_0x5e15('0x99')](_0x54f56c);_0x205789[_0x5e15('0x3e')]=_0x265c95&&_0x265c95[_0x5e15('0x3e')]||new Date();}if(this['_loadedStateData']&&_0x202a34===this[_0x5e15('0x5c')][_0x5e15('0x77')])for(const _0x5343cc of this[_0x5e15('0x5c')]['authors'])_0x205789[_0x5e15('0x100')][_0x5e15('0x17')](_0x5343cc['id'])||_0x205789['authorsIds'][_0x5e15('0x25')](_0x5343cc['id']);return _0x205789;}[_0x5e15('0xeb')](_0x15fd40){if(!_0x15fd40||_0x15fd40[_0x5e15('0xef')])return Promise[_0x5e15('0x90')]();{const _0x322f6b=this[_0x5e15('0x5a')]['config']['get'](_0x5e15('0xce'));return this[_0x5e15('0x89')][_0x5e15('0x7')]({'channelId':_0x322f6b,'revisionId':_0x15fd40['id']})[_0x5e15('0x4a')](_0xfc6f71=>{_0x15fd40[_0x5e15('0xef')]=_0xfc6f71[_0x5e15('0xef')];});}}[_0x5e15('0x8e')](_0x4da3b6,_0x401d06,_0x41ab34){if(this[_0x5e15('0x59')][_0x5e15('0x4e')](_0x4da3b6)){const _0x249f24=this[_0x5e15('0x59')][_0x5e15('0x21')](_0x4da3b6);_0x401d06=_0x41ab34?{..._0x249f24,..._0x401d06}:{..._0x401d06,..._0x249f24};}this[_0x5e15('0x59')]['set'](_0x4da3b6,_0x401d06);}[_0x5e15('0x98')](_0x4c3cef){const _0x278d0b=this[_0x5e15('0x69')][_0x5e15('0x9c')]();_0x278d0b[_0x5e15('0x15')](),_0x278d0b[_0x5e15('0xf5')]();const _0x5e79f2=_0x278d0b[_0x5e15('0x13')](_0x5d9ea7=>_0x5d9ea7[_0x5e15('0x2c')]<=_0x4c3cef)[_0x5e15('0x2c')];return _0x5e79f2<this[_0x5e15('0x24')]?this['_startingVersion']:_0x5e79f2;}['_createInitialRevision'](_0x539c07){const _0x23e771=this['repository'][_0x5e15('0x7')](this[_0x5e15('0x69')][_0x5e15('0x73')]-0x1);if(_0x23e771)this[_0x5e15('0x55')]=_0x23e771['id'];else{const _0xd4d724=!this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')]['roots'][_0x5e15('0x13')](_0x4068de=>this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x7d')](_0x4068de)),_0x39a81f=this[_0x5e15('0x5a')]['plugins'][_0x5e15('0x21')](_0x5e15('0x104'))['me']['id'],_0x2001cf=_0x58a6dd(this[_0x5e15('0x5a')][_0x5e15('0xaa')],_0xd4d724?'Empty\x20document':_0x5e15('0xd8'));this[_0x5e15('0xfe')]({'from':_0x539c07,'to':_0x539c07,'id':this[_0x5e15('0x55')],'name':_0x2001cf,'creatorId':_0x39a81f});}}[_0x5e15('0xb6')](_0x58800d){const _0x19101a=this[_0x5e15('0xfb')][_0x5e15('0x2')]();this[_0x5e15('0xd0')]=this[_0x5e15('0x69')][_0x5e15('0x7')](_0x19101a),this[_0x5e15('0xd0')]||(this['currentRevision']=this['_makeRevision']({'from':_0x58800d,'to':_0x58800d,'id':_0x19101a,'name':'','creatorId':null}));}['_makeRevision']({name:_0x231c36,from:_0x4a8774,to:_0x281b68,creatorId:_0x10c1e5,id:_0x4a15c8}){const _0x56f60a=this[_0x5e15('0x33')]({'from':_0x4a8774,'to':_0x281b68});_0x56f60a[_0x5e15('0x3')]=_0x231c36,_0x56f60a[_0x5e15('0x23')]=_0x10c1e5,_0x56f60a['id']=_0x4a15c8;const _0x23a317=this['addRevisionData'](_0x56f60a);return this['adapter']&&this[_0x5e15('0x8e')](_0x56f60a['id'],_0x56f60a,!0x0),_0x23a317;}[_0x5e15('0x9')](){this[_0x5e15('0x5a')]['conversion'][_0x5e15('0xf8')](_0x5e15('0x5b'))[_0x5e15('0x9f')]({'model':_0x5e15('0xdb')});}[_0x5e15('0x7a')](_0x2858c1){return(_0x2858c1=_0x2858c1['filter'](_0x2208fb=>!_0x2208fb['name']||'revision-start'!==_0x2208fb[_0x5e15('0x3')]&&'revision-end'!==_0x2208fb[_0x5e15('0x3')]))['forEach'](_0x1e9e25=>{_0x5e15('0x8')!=typeof _0x1e9e25&&(_0x1e9e25['children']=this[_0x5e15('0x7a')](_0x1e9e25[_0x5e15('0x1d')]),_0x1e9e25['attributes']=_0x1e9e25[_0x5e15('0xd2')]['filter'](_0x305918=>!_0x305918[0x0]['startsWith'](_0x5e15('0xca'))));}),_0x2858c1;}}function J(_0x3cb194,_0x4a06da){const _0x2203be=_0x4a06da[_0x5e15('0xc2')][_0x5e15('0x54')][_0x5e15('0x79')];if(_0x5e15('0x8')==typeof _0x3cb194)return new _0x540e8f(_0x2203be,_0x3cb194);{const _0x29f1ab=_0x3cb194[_0x5e15('0x1d')][_0x5e15('0x50')](_0x9bdb9=>J(_0x9bdb9,_0x4a06da));return new(B[_0x3cb194['type']]||_0x6f9192)(_0x2203be,_0x3cb194[_0x5e15('0x3')],_0x3cb194[_0x5e15('0xd2')],_0x29f1ab);}}class H{constructor(_0x3f0ec6){this[_0x5e15('0x5a')]=_0x3f0ec6,this[_0x5e15('0xb4')]=new Map(),this[_0x5e15('0xf9')]=-0x1,this['_lastTo']=-0x1,this[_0x5e15('0x1')]=new Map(),this['_diffRoots']=new Map(),this[_0x5e15('0x72')]=new Map(),this[_0x5e15('0xe9')]=new Map(),this['_baseRootsAttributes']=new Map(),this[_0x5e15('0x6d')]=new Map(),this[_0x5e15('0x75')]=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}[_0x5e15('0xd')](_0x20e6ea){this['source']=_0x20e6ea;const _0x2b0417=new Map(),_0x54d089=new Map(),_0x185152=this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')][_0x5e15('0x7e')][_0x5e15('0x50')](_0x5eeefb=>_0x5eeefb['rootName']);for(const _0x47cb6b of _0x185152){const _0x234fc4=this[_0x5e15('0x5a')][_0x5e15('0x7f')][_0x5e15('0x79')][_0x5e15('0xc6')](_0x47cb6b),_0x90dc5c=q(_0x234fc4);_0x2b0417[_0x5e15('0x85')](_0x47cb6b,_0x90dc5c),_0x54d089[_0x5e15('0x85')](_0x47cb6b,Object['fromEntries'](_0x234fc4['getAttributes']()));}const _0x28f098=Array[_0x5e15('0x4f')](this[_0x5e15('0x5a')][_0x5e15('0x7f')]['markers'])[_0x5e15('0x50')](_0xd895e3=>[_0xd895e3[_0x5e15('0x3')],_0xd895e3[_0x5e15('0x74')]()]),_0x2ea899=this['source']['version'];this['_saveMetaData'](_0x2ea899,_0x2b0417,_0x28f098,_0x54d089),this[_0x5e15('0xcb')]=this[_0x5e15('0xa4')];const _0x363f4a=new Map(),_0x49654e=new Map();for(const _0x51b207 of _0x185152){const _0x3c9c92=G(_0x51b207);_0x363f4a[_0x5e15('0x85')](_0x51b207,_0x3c9c92),_0x49654e[_0x5e15('0x85')](_0x51b207,{});}this[_0x5e15('0x63')](Number[_0x5e15('0x41')],_0x363f4a,[],_0x49654e);}[_0x5e15('0x8d')](_0x517f26,_0x5dcc1e){if(this[_0x5e15('0xf9')]===_0x517f26&&this[_0x5e15('0x61')]<=_0x5dcc1e)this['_savedMetaData'][_0x5e15('0x11')]>0x1&&this[_0x5e15('0x29')](this[_0x5e15('0x61')]),this[_0x5e15('0x95')](this[_0x5e15('0x61')],_0x5dcc1e,!0x0);else{if(!this[_0x5e15('0xb4')]['has'](_0x517f26)){const _0x1a54ce=this[_0x5e15('0xa5')](_0x517f26);this[_0x5e15('0xb2')](_0x1a54ce,_0x517f26,!0x1);}this[_0x5e15('0xb2')](_0x517f26,_0x5dcc1e,!0x0);}return this[_0x5e15('0xf9')]=_0x517f26,this[_0x5e15('0x61')]=_0x5dcc1e,this[_0x5e15('0x106')]();}['loadState'](_0x3ba38d){this[_0x5e15('0xd4')](),this['_lastFrom']=_0x3ba38d[_0x5e15('0x77')],this[_0x5e15('0x61')]=_0x3ba38d['toVersion'];for(const _0x3d3310 in _0x3ba38d[_0x5e15('0xef')]){const _0x206354=_0x3ba38d[_0x5e15('0xef')][_0x3d3310][_0x5e15('0x39')],_0x451538=_0x6bddad(_0x3ba38d[_0x5e15('0xef')][_0x3d3310][_0x5e15('0x8f')])||{},_0x34c5d5=this[_0x5e15('0xf1')](_0x3ba38d[_0x5e15('0xef')][_0x3d3310][_0x5e15('0xa6')]);_0x34c5d5[_0x5e15('0xde')]=_0x3d3310,_0x34c5d5['_isAttached']=!_0x206354||!_0x206354[_0x5e15('0xbc')],_0x34c5d5[_0x5e15('0xbc')]=()=>_0x34c5d5[_0x5e15('0xee')],this[_0x5e15('0xe9')][_0x5e15('0x85')](_0x3d3310,_0x34c5d5),this[_0x5e15('0x8c')][_0x5e15('0x85')](_0x3d3310,_0x451538),_0x206354&&this['_touchedRoots'][_0x5e15('0x85')](_0x3d3310,_0x206354);const _0x58fafd=this[_0x5e15('0x70')](_0x34c5d5);this[_0x5e15('0x75')]['set'](_0x3d3310,_0x58fafd);for(const [_0x171da2,_0x1d08b8]of _0x34c5d5[_0x5e15('0xf3')]){if(!_0x171da2[_0x5e15('0xdf')](_0x5e15('0x46')))continue;const _0x167763=_0x171da2[_0x5e15('0xe')](':')[0x2];for(const _0xefbfcb of _0x1d08b8['getWalker']({'singleCharacters':!0x0})){const _0x51f123=this[_0x5e15('0x12')](_0xefbfcb),_0x4d0f06=_0x5e15('0x101')==_0xefbfcb[_0x5e15('0xc3')]?_0xefbfcb[_0x5e15('0xc5')][_0x5e15('0xe2')]['slice'](0x0,-0x1):_0xefbfcb[_0x5e15('0xc5')][_0x5e15('0xe2')],_0x3d7e2c=_0x58fafd[_0x5e15('0xcf')](_0x4d0f06)[_0x5e15('0xf6')](_0x51f123);this[_0x5e15('0x30')]['set'](_0x3d7e2c,{'userId':_0x167763});}}}this[_0x5e15('0xcb')]=this[_0x5e15('0xa4')];const _0x285e51=[...Array(this['_revisionId'])[_0x5e15('0xc4')]()][_0x5e15('0xd6')](0x1)[_0x5e15('0x37')](_0xf9b2c7=>!this[_0x5e15('0x30')][_0x5e15('0x4e')](_0xf9b2c7));let _0xe859a9=0x0;const _0x5c9ca4=new Map();for(const _0x37bc88 in _0x3ba38d['diffData']){const _0x18ecc6=_0x3ba38d[_0x5e15('0xef')][_0x37bc88][_0x5e15('0x39')],_0x1c4b20=_0x6bddad(_0x3ba38d[_0x5e15('0xef')][_0x37bc88][_0x5e15('0x10')])||{},_0x20d5f9=this[_0x5e15('0xf1')](_0x3ba38d['diffData'][_0x37bc88][_0x5e15('0x1a')]);_0x20d5f9[_0x5e15('0xde')]=_0x37bc88,_0x20d5f9[_0x5e15('0xee')]=!_0x18ecc6||_0x18ecc6[_0x5e15('0xbc')],_0x20d5f9['isAttached']=()=>_0x20d5f9[_0x5e15('0xee')],this[_0x5e15('0x57')][_0x5e15('0x85')](_0x37bc88,_0x20d5f9),this['_diffRootsAttributes'][_0x5e15('0x85')](_0x37bc88,_0x1c4b20);const _0x5308f5=this[_0x5e15('0x70')](_0x20d5f9,Number['NEGATIVE_INFINITY']);this[_0x5e15('0x6d')][_0x5e15('0x85')](_0x37bc88,_0x5308f5),_0x5c9ca4['set'](_0x37bc88,_0x20d5f9[_0x5e15('0xbc')]()?_0x1c4b20:{});for(const [_0x2bd6ae,_0x27a648]of _0x20d5f9[_0x5e15('0xf3')]){if(!_0x2bd6ae[_0x5e15('0xdf')]('revision:'))continue;const _0x1919db=_0x2bd6ae['split'](':')[0x2];for(const _0x4eefe9 of _0x27a648[_0x5e15('0x35')]({'singleCharacters':!0x0})){const _0x431348=this[_0x5e15('0x12')](_0x4eefe9),_0x143ef4=this[_0x5e15('0xa4')]++,_0x12137f=_0x5e15('0x101')==_0x4eefe9[_0x5e15('0xc3')]?_0x4eefe9[_0x5e15('0xc5')]['path']['slice'](0x0,-0x1):_0x4eefe9['previousPosition']['path'];_0x5308f5[_0x5e15('0xcf')](_0x12137f)[_0x5e15('0x4b')](_0x431348,_0x143ef4),this['_touched'][_0x5e15('0x85')](_0x143ef4,{'userId':_0x1919db});}}for(const _0x9f03ec of this[_0x5e15('0x5a')]['model'][_0x5e15('0x42')](_0x20d5f9)['getWalker']({'singleCharacters':!0x0})){const _0x139b74=this[_0x5e15('0x12')](_0x9f03ec),_0x387ecf=_0x5e15('0x101')==_0x9f03ec[_0x5e15('0xc3')]?_0x9f03ec[_0x5e15('0xc5')][_0x5e15('0xe2')]['slice'](0x0,-0x1):_0x9f03ec['previousPosition'][_0x5e15('0xe2')],_0x160f9d=_0x5308f5[_0x5e15('0xcf')](_0x387ecf);_0x160f9d['getAttribute'](_0x139b74)>0x0||_0x160f9d[_0x5e15('0x4b')](_0x139b74,_0x285e51[_0xe859a9++]);}for(const [_0x5a30bb,_0x5e9563]of _0x20d5f9[_0x5e15('0xf3')])_0x5a30bb[_0x5e15('0xdf')]('revision:')||this[_0x5e15('0x1')][_0x5e15('0x85')](_0x5a30bb,_0x5e9563);}const _0x960d2a=G(_0x5e15('0xa8'));this[_0x5e15('0xe9')]['set'](_0x5e15('0xa8'),_0x960d2a),this[_0x5e15('0x75')][_0x5e15('0x85')](_0x5e15('0xa8'),this['_makeIdsRoot'](_0x960d2a,0x1));const _0x598ddb=G(_0x5e15('0xa8'));this[_0x5e15('0x57')][_0x5e15('0x85')](_0x5e15('0xa8'),_0x598ddb),this[_0x5e15('0x6d')][_0x5e15('0x85')](_0x5e15('0xa8'),this[_0x5e15('0x70')](_0x598ddb,0x1));const _0x55090f=Array[_0x5e15('0x4f')](this[_0x5e15('0x57')])['map'](([_0x1e3d3a,_0x55c84])=>[_0x1e3d3a,q(_0x55c84)]);this['_saveMetaData'](this[_0x5e15('0x61')],_0x55090f,this['_markers'],_0x5c9ca4);}[_0x5e15('0xf1')](_0x44b904){const _0x1f9989=JSON[_0x5e15('0xbf')](_0x44b904),_0x29ba3a=this['editor']['editing'][_0x5e15('0x54')][_0x5e15('0x79')],_0x4e106b=new _0x5c797f(_0x29ba3a,_0x1f9989[_0x5e15('0x50')](_0x2c8898=>J(_0x2c8898,this[_0x5e15('0x5a')])));return this[_0x5e15('0x5a')]['data']['toModel'](_0x4e106b);}[_0x5e15('0x63')](_0x1fb624,_0x453002,_0x157304,_0x330158){const _0x1f6dff=new Map(_0x453002),_0x2fd5b0=new Map(_0x6bddad(_0x330158)),_0xe57936=new Map();for(const [_0x40de1e,_0x1e9afb]of _0x157304)_0xe57936[_0x5e15('0x85')](_0x40de1e,{'start':_0x1e9afb[_0x5e15('0x2f')][_0x5e15('0x93')](),'end':_0x1e9afb['end']['clone'](),'rootName':_0x1e9afb['root'][_0x5e15('0xde')]});this[_0x5e15('0xb4')][_0x5e15('0x85')](_0x1fb624,{'roots':_0x1f6dff,'markers':_0xe57936,'rootsAttributes':_0x2fd5b0});}[_0x5e15('0x29')](_0x3b65fd){this[_0x5e15('0xb4')][_0x5e15('0x9e')](_0x3b65fd);}[_0x5e15('0x27')](){this[_0x5e15('0xd4')](),this[_0x5e15('0xf9')]=-0x1,this[_0x5e15('0x61')]=-0x1,this[_0x5e15('0xb4')][_0x5e15('0x1f')](),this[_0x5e15('0xd')](this[_0x5e15('0x19')]);}[_0x5e15('0xd4')](){this[_0x5e15('0x30')][_0x5e15('0x1f')](),this[_0x5e15('0x51')][_0x5e15('0x1f')](),this[_0x5e15('0x64')]['clear'](),this[_0x5e15('0x57')][_0x5e15('0x1f')](),this[_0x5e15('0x72')][_0x5e15('0x1f')](),this[_0x5e15('0xe9')]['clear'](),this[_0x5e15('0x8c')][_0x5e15('0x1f')](),this[_0x5e15('0x6d')][_0x5e15('0x1f')](),this['_baseIdsRoots'][_0x5e15('0x1f')](),this[_0x5e15('0x1')]['clear'](),this[_0x5e15('0xa4')]=0x1,this[_0x5e15('0xcb')]=this[_0x5e15('0xa4')];}[_0x5e15('0x70')](_0xf146ba,_0x5da576=null){let _0x3bf28a=null;_0xf146ba['is']('documentFragment')||(_0x3bf28a=new _0x41cbf8(_0xf146ba[_0x5e15('0x3')],{'vid_start':null===_0x5da576?this[_0x5e15('0xa4')]++:_0x5da576++}));const _0x5af803=[];for(const _0x6c1f3c of _0xf146ba['getChildren']())if(_0x6c1f3c['is'](_0x5e15('0xa1'))){_0x5af803[_0x5e15('0x25')](this[_0x5e15('0x70')](_0x6c1f3c,_0x5da576));const _0x333cba=_0x5af803[_0x5af803[_0x5e15('0x73')]-0x1];null!==_0x5da576&&(_0x5da576=_0x333cba['is']('element',_0x5e15('0xb8'))?_0x333cba['getAttribute'](_0x5e15('0x48'))+0x1:_0x333cba[_0x5e15('0xf6')](_0x5e15('0x47'))+0x1);}else for(let _0x342bfd=0x0;_0x342bfd<_0x6c1f3c[_0x5e15('0x82')];_0x342bfd++)_0x5af803[_0x5e15('0x25')](new _0x41cbf8(_0x5e15('0xb8'),{'vid':null===_0x5da576?this[_0x5e15('0xa4')]++:_0x5da576++}));if(_0xf146ba['is'](_0x5e15('0x9a'))){const _0x52d1d7=G(_0xf146ba[_0x5e15('0xde')]);return _0x52d1d7[_0x5e15('0x14')](0x0,_0x5af803),_0x52d1d7;}return _0x3bf28a[_0x5e15('0x4b')]('vid_end',null===_0x5da576?this[_0x5e15('0xa4')]++:_0x5da576++),_0x3bf28a['_insertChild'](0x0,_0x5af803),_0x3bf28a;}[_0x5e15('0xb2')](_0x571f32,_0x5cdc10,_0x6dda1f){this[_0x5e15('0xd4')]();const {roots:_0x3fa82b,markers:_0x532a02,rootsAttributes:_0x21312d}=this[_0x5e15('0xb4')][_0x5e15('0x21')](_0x571f32);this[_0x5e15('0xe9')]=new Map(_0x3fa82b),this[_0x5e15('0x8c')]=new Map(_0x6bddad(_0x21312d));for(const [_0x47a024,_0x1b80dc]of this['_baseRoots'])if(_0x5e15('0xa8')!==_0x47a024&&(this[_0x5e15('0x57')]['set'](_0x47a024,q(_0x1b80dc)),this['_diffRootsAttributes']=new Map(_0x6bddad(_0x21312d)),_0x6dda1f)){const _0xca6ae4=this[_0x5e15('0xa4')];this['_idsRoots'][_0x5e15('0x85')](_0x47a024,this[_0x5e15('0x70')](_0x1b80dc)),this[_0x5e15('0x75')][_0x5e15('0x85')](_0x47a024,this[_0x5e15('0x70')](_0x1b80dc,_0xca6ae4));}this[_0x5e15('0xcb')]=this[_0x5e15('0xa4')],this[_0x5e15('0x57')]['set']('$graveyard',q(this[_0x5e15('0xe9')]['get'](_0x5e15('0xa8')))),_0x6dda1f&&this['_idsRoots'][_0x5e15('0x85')](_0x5e15('0xa8'),this['_makeIdsRoot'](this[_0x5e15('0xe9')]['get']('$graveyard')));for(const [_0x23356b,_0x3d9cf1]of _0x532a02){const _0x2150fb=this['_baseRoots'][_0x5e15('0x21')](_0x3d9cf1[_0x5e15('0xde')]),_0x87ab4a=this[_0x5e15('0x57')][_0x5e15('0x21')](_0x3d9cf1['rootName']),_0xf3fc7c=new _0x1267ff(this[_0x5e15('0xa7')](_0x3d9cf1[_0x5e15('0x2f')],_0x2150fb),this[_0x5e15('0xa7')](_0x3d9cf1['end'],_0x2150fb)),_0x3cc0f5=this[_0x5e15('0x65')](_0xf3fc7c,_0x87ab4a);_0x2150fb['markers']['set'](_0x23356b,_0xf3fc7c),this[_0x5e15('0x1')]['set'](_0x23356b,_0x3cc0f5);}this['_applyOperations'](_0x571f32,_0x5cdc10,_0x6dda1f);}[_0x5e15('0x95')](_0x430187,_0x569eeb,_0x17cc2a){for(const _0x556290 of this[_0x5e15('0x19')]['getOperations'](_0x430187,_0x569eeb))this[_0x5e15('0x1b')](_0x556290,_0x17cc2a);for(const _0x5ea67c of this[_0x5e15('0x57')][_0x5e15('0xd3')]())_0x5ea67c[_0x5e15('0xf3')][_0x5e15('0x1f')]();for(const [_0x536695,_0x56d8fa]of this[_0x5e15('0x1')]){this[_0x5e15('0x57')][_0x5e15('0x21')](_0x56d8fa['root'][_0x5e15('0xde')])[_0x5e15('0xf3')][_0x5e15('0x85')](_0x536695,_0x56d8fa[_0x5e15('0x93')]());}const _0x4c7ad5=new Map(),_0x585be5=new Map();for(const [_0x4094d5,_0x1c4952]of this[_0x5e15('0x57')])_0x4c7ad5[_0x5e15('0x85')](_0x4094d5,q(_0x1c4952)),_0x585be5[_0x5e15('0x85')](_0x4094d5,this[_0x5e15('0x72')]['get'](_0x4094d5));this[_0x5e15('0x63')](_0x569eeb,_0x4c7ad5,this[_0x5e15('0x1')],_0x585be5);}[_0x5e15('0xa5')](_0x3d1442){const _0x3bbec3=Array[_0x5e15('0x4f')](this[_0x5e15('0xb4')]['keys']());_0x3bbec3[_0x5e15('0x4c')]((_0x355191,_0x4b680d)=>_0x355191-_0x4b680d),_0x3bbec3[_0x5e15('0x15')]();for(const _0x33dcc5 of _0x3bbec3)if(_0x33dcc5<_0x3d1442)return _0x33dcc5;return Number[_0x5e15('0x41')];}[_0x5e15('0xa2')](_0xead8d3,_0x2bb550){const _0x52d4cb=Array['from'](_0x2bb550[_0x5e15('0xf3')])[_0x5e15('0x50')](([_0x430a9c,_0x502886])=>[_0x430a9c,this[_0x5e15('0x65')](_0x502886,_0xead8d3)]);_0xead8d3['markers']=new Map(_0x52d4cb);}['_transformMarkers'](_0x300fe2){for(const _0x5a9815 of this[_0x5e15('0x1')][_0x5e15('0xd3')]()){const _0x19b255=_0x5a9815['getTransformedByOperation'](_0x300fe2),_0x2f6f62=_0x1267ff[_0x5e15('0x5e')](_0x19b255);_0x5a9815['start']=_0x2f6f62[_0x5e15('0x2f')],_0x5a9815[_0x5e15('0x62')]=_0x2f6f62[_0x5e15('0x62')];}}[_0x5e15('0x1b')](_0x420aaf,_0x4f4ac2){if(_0x5e15('0x80')==_0x420aaf['type']||_0x5e15('0xa')==_0x420aaf[_0x5e15('0xc3')])return void this[_0x5e15('0xa9')](_0x420aaf,_0x4f4ac2);if(_0x5e15('0x67')==_0x420aaf[_0x5e15('0xc3')]){const _0x41bb1d=_0x420aaf[_0x5e15('0x71')][_0x5e15('0x26')][_0x5e15('0xde')];this[_0x5e15('0x57')][_0x5e15('0x4e')](_0x41bb1d)||(this[_0x5e15('0x57')][_0x5e15('0x85')](_0x41bb1d,G(_0x41bb1d,!0x0)),this['_diffRootsAttributes'][_0x5e15('0x85')](_0x41bb1d,{}),_0x4f4ac2&&this['_idsRoots'][_0x5e15('0x85')](_0x41bb1d,G(_0x41bb1d,!0x0)));}else{if('addRootAttribute'==_0x420aaf[_0x5e15('0xc3')]||_0x5e15('0xe1')==_0x420aaf[_0x5e15('0xc3')]||_0x5e15('0x7b')==_0x420aaf[_0x5e15('0xc3')])return void this[_0x5e15('0xb1')](_0x420aaf);}const _0x11a8ed=this['_cloneOperation'](_0x420aaf,this[_0x5e15('0x57')]);if(_0x5e15('0x6f')!==_0x420aaf['type']&&(_0x11a8ed[_0x5e15('0xc1')](),this[_0x5e15('0x58')](_0x11a8ed)),_0x4f4ac2)switch(_0x11a8ed[_0x5e15('0xc3')]){case _0x5e15('0x67'):this[_0x5e15('0x97')](_0x420aaf);break;case'move':case'remove':case _0x5e15('0xfa'):this[_0x5e15('0xc7')](_0x420aaf);break;case _0x5e15('0xb5'):this['_handleMergeOperation'](_0x420aaf);break;case'split':this['_handleSplitOperation'](_0x420aaf);break;case _0x5e15('0x6f'):this[_0x5e15('0x103')](_0x420aaf);}}[_0x5e15('0x3b')](_0x37232d,_0x5ed3f7){const _0x360839=_0x37232d[_0x5e15('0x93')]();return _0x360839[_0x5e15('0xa0')]=_0x37232d['_authorId'],this[_0x5e15('0x96')](_0x360839,_0x5ed3f7),_0x360839;}[_0x5e15('0x88')](_0x118685){return _0x118685[_0x5e15('0x50')](_0x5ce7e3=>{const _0x3626ed=this[_0x5e15('0x12')](_0x5ce7e3);return Number(_0x5ce7e3['item'][_0x5e15('0xf6')](_0x3626ed));});}[_0x5e15('0x5f')](_0x1d883b,_0x29623){if(_0x1d883b['is']('element',_0x5e15('0xb8')))_0x29623['push']({'item':_0x1d883b,'type':_0x5e15('0x53')});else{_0x1d883b['is'](_0x5e15('0xa1'))&&_0x29623[_0x5e15('0x25')]({'item':_0x1d883b,'type':_0x5e15('0x86')});for(const _0x4bcf48 of _0x1d883b[_0x5e15('0x102')]())this[_0x5e15('0x5f')](_0x4bcf48,_0x29623);_0x1d883b['is'](_0x5e15('0xa1'))&&_0x29623[_0x5e15('0x25')]({'item':_0x1d883b,'type':_0x5e15('0x101')});}return _0x29623;}[_0x5e15('0x106')](){const _0x4d2d69=new Map(this[_0x5e15('0x30')]),_0x3c0767=new Map(_0x4d2d69),_0x43c5de=new Map(),_0x5459c9={'insertions':{},'deletions':{}},_0x48a8e0={'insertions':{},'deletions':{}},_0x2996f5=new Map(),_0x158b56=new Set([...this[_0x5e15('0xe9')]['keys'](),...this[_0x5e15('0x57')][_0x5e15('0xc4')]()]);_0x158b56['delete'](_0x5e15('0xa8'));for(const _0x1037da of _0x158b56){const _0x1a48a5=this['_diffRoots'][_0x5e15('0x21')](_0x1037da)||G(_0x1037da,!0x1),_0x163ff8=this[_0x5e15('0xe9')][_0x5e15('0x21')](_0x1037da)||G(_0x1037da,!0x1);_0x1a48a5[_0x5e15('0xbc')]()||_0x163ff8[_0x5e15('0xbc')]()?(_0x5459c9[_0x5e15('0x1a')][_0x1037da]=q(_0x1a48a5),_0x5459c9[_0x5e15('0xa6')][_0x1037da]=q(_0x163ff8),this[_0x5e15('0xa2')](_0x5459c9[_0x5e15('0xa6')][_0x1037da],_0x163ff8),this['_copyMarkers'](_0x5459c9['insertions'][_0x1037da],_0x1a48a5),_0x48a8e0[_0x5e15('0x1a')][_0x1037da]=this[_0x5e15('0x5f')](this[_0x5e15('0x6d')]['get'](_0x1037da),[]),_0x48a8e0[_0x5e15('0xa6')][_0x1037da]=this[_0x5e15('0x5f')](this['_baseIdsRoots'][_0x5e15('0x21')](_0x1037da)||G(_0x1037da,!0x1),[])):_0x158b56[_0x5e15('0x9e')](_0x1037da);}for(const _0x377057 of _0x158b56){const _0x58d584=_0x48a8e0[_0x5e15('0x1a')][_0x377057];for(const _0x87ee8e of _0x58d584){const _0x1a3028=this[_0x5e15('0x12')](_0x87ee8e),_0x3ca84d=_0x87ee8e[_0x5e15('0xea')]['getAttribute'](_0x1a3028);_0x3c0767['delete'](_0x3ca84d),_0x3ca84d>=this[_0x5e15('0xcb')]&&_0x43c5de[_0x5e15('0x85')](_0x3ca84d,_0x4d2d69[_0x5e15('0x21')](_0x3ca84d));}}for(const _0x1004f3 of _0x158b56){const _0x45187f=_0x48a8e0[_0x5e15('0x1a')][_0x1004f3],_0x1e8686=this[_0x5e15('0x88')](_0x48a8e0[_0x5e15('0xa6')][_0x1004f3]);let _0x1a935e=0x0;for(const _0x3d0d0c of _0x45187f){const _0x3e8bd1=this['_getVidAttributeName'](_0x3d0d0c),_0x3a59a3=_0x3d0d0c[_0x5e15('0xea')][_0x5e15('0xf6')](_0x3e8bd1);if(!_0x43c5de[_0x5e15('0x4e')](_0x3a59a3)&&!_0x2996f5[_0x5e15('0x4e')](_0x3a59a3)){if(_0x3c0767[_0x5e15('0x4e')](_0x3a59a3))_0x1a935e++;else{if(_0x3a59a3!=_0x1e8686[_0x1a935e]){const _0x462471=_0x4d2d69[_0x5e15('0x21')](_0x3a59a3)||_0x4d2d69[_0x5e15('0x21')](_0x1e8686[_0x1a935e]);for(;_0x3a59a3!=_0x1e8686[_0x1a935e];)_0x3c0767[_0x5e15('0x4e')](_0x1e8686[_0x1a935e])||(_0x2996f5[_0x5e15('0x85')](_0x1e8686[_0x1a935e],_0x462471),_0x4d2d69[_0x5e15('0x85')](_0x1e8686[_0x1a935e],_0x462471)),_0x1a935e++;}_0x1a935e++;}}}}for(const _0x47a86a of _0x158b56){const _0x14ee1a=_0x48a8e0[_0x5e15('0x1a')][_0x47a86a];for(const _0x21db1d of _0x14ee1a){const _0x15560b=this[_0x5e15('0x12')](_0x21db1d),_0x5f3342=_0x21db1d[_0x5e15('0xea')][_0x5e15('0xf6')](_0x15560b);if(_0x2996f5[_0x5e15('0x4e')](_0x5f3342)){const _0x1ca26d=_0x2996f5[_0x5e15('0x21')](_0x5f3342);_0x3c0767['has'](_0x5f3342)||_0x3c0767[_0x5e15('0x85')](_0x5f3342,{..._0x1ca26d}),_0x43c5de[_0x5e15('0x85')](_0x5f3342,{..._0x1ca26d});}}}for(const _0x575801 of _0x3c0767[_0x5e15('0xc4')]())_0x575801>=this[_0x5e15('0xcb')]&&_0x3c0767[_0x5e15('0x9e')](_0x575801);const _0x40bd85=new Map();for(const _0x137406 of _0x158b56){let _0x254f4c=_0x48a8e0[_0x5e15('0x1a')][_0x137406];for(const _0x4dd9d5 of _0x254f4c)if(_0x4dd9d5[_0x5e15('0xea')]['is'](_0x5e15('0xa1'),_0x5e15('0xf4'))){const _0x554898=this[_0x5e15('0x12')](_0x4dd9d5),_0x9ce2f9=_0x4dd9d5[_0x5e15('0xea')][_0x5e15('0xf6')](_0x554898);if(_0x43c5de[_0x5e15('0x4e')](_0x9ce2f9)){const _0x78c1a3=_0x4dd9d5[_0x5e15('0xea')][_0x5e15('0xbb')][_0x5e15('0xbb')][_0x5e15('0xf6')](_0x5e15('0xba')),_0x17a72d=_0x40bd85['get'](_0x78c1a3)||new Set();_0x17a72d[_0x5e15('0xcc')](_0x43c5de[_0x5e15('0x21')](_0x9ce2f9)[_0x5e15('0x78')]),_0x40bd85['set'](_0x78c1a3,_0x17a72d);}}_0x254f4c=_0x48a8e0[_0x5e15('0xa6')][_0x137406];for(const _0x55a4c3 of _0x254f4c)if(_0x55a4c3[_0x5e15('0xea')]['is'](_0x5e15('0xa1'),_0x5e15('0xf4'))){const _0x3bfdc8=this[_0x5e15('0x12')](_0x55a4c3),_0x39c3fb=_0x55a4c3[_0x5e15('0xea')][_0x5e15('0xf6')](_0x3bfdc8);if(_0x3c0767[_0x5e15('0x4e')](_0x39c3fb)){const _0x5884d0=_0x55a4c3['item'][_0x5e15('0xbb')][_0x5e15('0xbb')][_0x5e15('0xf6')](_0x5e15('0xba')),_0x1a45fb=_0x40bd85[_0x5e15('0x21')](_0x5884d0)||new Set();_0x1a45fb[_0x5e15('0xcc')](_0x3c0767['get'](_0x39c3fb)[_0x5e15('0x78')]),_0x40bd85[_0x5e15('0x85')](_0x5884d0,_0x1a45fb);}}for(const _0x528665 of _0x40bd85[_0x5e15('0xc4')]())(_0x43c5de[_0x5e15('0x4e')](_0x528665)||_0x3c0767['has'](_0x528665))&&_0x40bd85[_0x5e15('0x9e')](_0x528665);}for(const _0x44bbf0 of _0x158b56){const _0x204b61=_0x48a8e0[_0x5e15('0x1a')][_0x44bbf0];let _0x2951a7=null,_0x209919=null;for(const _0x342bd7 of _0x204b61){const _0x5c87d6=this[_0x5e15('0x12')](_0x342bd7),_0x4f2bb2=_0x342bd7[_0x5e15('0xea')][_0x5e15('0xf6')](_0x5c87d6),_0x1ce7be=_0x40bd85[_0x5e15('0x21')](_0x4f2bb2);_0x1ce7be&&_0x5e15('0x86')==_0x342bd7[_0x5e15('0xc3')]&&(_0x2951a7=Array[_0x5e15('0x4f')](_0x1ce7be)[0x0],_0x209919=_0x342bd7['item'][_0x5e15('0xf6')]('vid_end')),_0x2951a7&&(_0x3c0767[_0x5e15('0x85')](_0x4f2bb2,{'userId':_0x2951a7}),_0x43c5de[_0x5e15('0x85')](_0x4f2bb2,{'userId':_0x2951a7})),_0x4f2bb2==_0x209919&&(_0x2951a7=null,_0x209919=null);}}const _0x592e7e={},_0x40694e=new Set();for(const _0x2c51e6 of _0x158b56){const _0x5a4ca8=_0x5459c9[_0x5e15('0xa6')][_0x2c51e6],_0x19d5b0=_0x5459c9[_0x5e15('0x1a')][_0x2c51e6];for(const {userId:_0x24f902}of this[_0x5e15('0x51')]['values']())null!==_0x24f902&&_0x40694e[_0x5e15('0xcc')](_0x24f902);for(const {userId:_0x26ad37}of this[_0x5e15('0x64')][_0x5e15('0xd3')]())null!==_0x26ad37&&_0x40694e[_0x5e15('0xcc')](_0x26ad37);this[_0x5e15('0xb')](_0x19d5b0,_0x48a8e0['insertions'][_0x2c51e6],_0x43c5de,_0x5e15('0x32'),_0x40694e),this[_0x5e15('0xb')](_0x5a4ca8,_0x48a8e0[_0x5e15('0xa6')][_0x2c51e6],_0x3c0767,_0x5e15('0xb0'),_0x40694e),_0x592e7e[_0x2c51e6]={'insertions':this[_0x5e15('0xff')](_0x19d5b0),'deletions':this[_0x5e15('0xff')](_0x5a4ca8),'attachChange':this[_0x5e15('0x64')]['get'](_0x2c51e6)||null,'attributesBefore':_0x6bddad(this[_0x5e15('0x8c')][_0x5e15('0x21')](_0x2c51e6))||{},'attributesAfter':_0x6bddad(this[_0x5e15('0x72')]['get'](_0x2c51e6))};}return{'diffData':_0x592e7e,'authorsIds':Array[_0x5e15('0x4f')](_0x40694e)};}[_0x5e15('0xe8')](_0x30360a){for(const [,_0xc6c150]of _0x30360a['markers']){const _0x1a986c=_0xc6c150[_0x5e15('0x2f')][_0x5e15('0xf2')]()[_0x5e15('0x37')](_0x50b1dd=>'tableCell'==_0x50b1dd['name']);for(const _0x10f353 of _0x1a986c)0x1==_0x10f353[_0x5e15('0x2b')]&&_0x10f353['getChild'](0x0)['is'](_0x5e15('0xa1'),_0x5e15('0x7c'))&&_0x10f353[_0x5e15('0xb3')](0x0)['_setAttribute'](_0x5e15('0xab'),!0x0);}}[_0x5e15('0xff')](_0x4bcf3c){this[_0x5e15('0xe8')](_0x4bcf3c);const _0x3e5989=this[_0x5e15('0x5a')][_0x5e15('0x36')][_0x5e15('0x20')](_0x4bcf3c,{}),_0x53a08b=Array[_0x5e15('0x4f')](_0x3e5989['getChildren']())['map'](_0x4be49b=>this[_0x5e15('0x5')](_0x4be49b));return JSON[_0x5e15('0xe4')](_0x53a08b);}['_getViewJson'](_0x5333b2){if(_0x5333b2['is'](_0x5e15('0xb8')))return _0x5333b2[_0x5e15('0x36')];{const _0x14eba6=_0x5333b2;return{'type':Object[_0x5e15('0xc4')](B)['find'](_0x58ae5c=>_0x5333b2 instanceof B[_0x58ae5c]),'name':_0x14eba6['name'],'attributes':Array[_0x5e15('0x4f')](_0x14eba6['getAttributes']()),'children':Array[_0x5e15('0x4f')](_0x14eba6[_0x5e15('0x102')]())[_0x5e15('0x50')](_0x474a07=>this[_0x5e15('0x5')](_0x474a07))};}}[_0x5e15('0xb')](_0x21527d,_0x720832,_0xe494a8,_0x3ce614,_0x593cf3){let _0x30d596=null,_0x396452=null,_0x4b917c=0x0;const _0x452cb1=this[_0x5e15('0x5a')][_0x5e15('0x7f')];for(let _0x25a76c=0x0;_0x25a76c<_0x720832[_0x5e15('0x73')];_0x25a76c++){const _0x573593=this['_getVidAttributeName'](_0x720832[_0x25a76c]),_0x5541c6=_0x720832[_0x25a76c][_0x5e15('0xea')]['getAttribute'](_0x573593),_0x4db680=_0xe494a8[_0x5e15('0x21')](_0x5541c6),_0x31b782=_0x25a76c==_0x720832[_0x5e15('0x73')]-0x1;(!_0x30d596&&_0x4db680&&(_0x30d596=_0x4db680,_0x396452=_0x720832[_0x25a76c]),_0x30d596&&(!_0x4db680||_0x4db680[_0x5e15('0x78')]!=_0x30d596[_0x5e15('0x78')]))&&(_0x3e6179(_0x4db680,L(_0x396452,_0x21527d,_0x452cb1),L(_0x720832[_0x25a76c],_0x21527d,_0x452cb1)),_0x30d596=_0x4db680||null,_0x396452=_0x4db680?_0x720832[_0x25a76c]:null),_0x30d596&&_0x31b782&&_0x3e6179(_0x4db680,L(_0x396452,_0x21527d,_0x452cb1),W(_0x720832[_0x25a76c],_0x21527d,_0x452cb1));}function _0x3e6179(_0x13821b,_0x4a69a4,_0x592ecb){const _0x480327=_0x30d596[_0x5e15('0x78')],_0x1dd14c=_0x5e15('0x46')+_0x3ce614+':'+_0x480327+':'+_0x4b917c++,_0x5dc730=_0x452cb1['createRange'](_0x4a69a4,_0x592ecb);_0x21527d[_0x5e15('0xf3')]['set'](_0x1dd14c,_0x5dc730),null!==_0x480327&&_0x593cf3[_0x5e15('0xcc')](_0x480327);}}[_0x5e15('0x12')](_0x2696ec){switch(_0x2696ec[_0x5e15('0xc3')]){case _0x5e15('0x86'):return _0x5e15('0xba');case _0x5e15('0x101'):return'vid_end';default:return _0x5e15('0x48');}}[_0x5e15('0x96')](_0x2913b2,_0xd38e83){_0x2913b2[_0x5e15('0x8b')]=null;for(const _0x479bf5 in _0x2913b2){const _0x38b0bd=_0x2913b2[_0x479bf5];if(_0x38b0bd instanceof _0x27cce9){const _0x30e3e9=_0xd38e83[_0x5e15('0x21')](_0x38b0bd[_0x5e15('0x26')]['rootName']);_0x2913b2[_0x479bf5]=this[_0x5e15('0xa7')](_0x38b0bd,_0x30e3e9);}if(_0x38b0bd instanceof _0x1267ff){const _0x56dfd5=_0xd38e83[_0x5e15('0x21')](_0x38b0bd[_0x5e15('0x26')][_0x5e15('0xde')]);_0x2913b2[_0x479bf5]=this[_0x5e15('0x65')](_0x38b0bd,_0x56dfd5);}_0x5e15('0x26')===_0x479bf5&&(_0x2913b2[_0x5e15('0x26')]=_0xd38e83[_0x5e15('0x21')](_0x2913b2[_0x5e15('0x26')][_0x5e15('0xde')]));}}[_0x5e15('0x65')](_0x4de740,_0x6f1680){return this[_0x5e15('0x5a')]['model'][_0x5e15('0xf0')](this[_0x5e15('0xa7')](_0x4de740['start'],_0x6f1680),this[_0x5e15('0xa7')](_0x4de740[_0x5e15('0x62')],_0x6f1680));}[_0x5e15('0xa7')](_0x2324d1,_0x4e8d93){return this['editor'][_0x5e15('0x7f')]['createPositionFromPath'](_0x4e8d93,_0x2324d1[_0x5e15('0xe2')],_0x2324d1[_0x5e15('0xb7')]);}['_handleInsertOperation'](_0x13ed8d){const _0x3b157e=this[_0x5e15('0x6d')][_0x5e15('0x21')](_0x13ed8d[_0x5e15('0x71')][_0x5e15('0x26')][_0x5e15('0xde')]),_0x122147=this[_0x5e15('0xa7')](_0x13ed8d[_0x5e15('0x71')],_0x3b157e),_0x3afdb6=null===_0x13ed8d[_0x5e15('0xa0')]?null:_0x13ed8d['_authorId']||this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x21')](_0x5e15('0x104'))['me']['id'],_0x305fab=_0x122147[_0x5e15('0xbb')],_0x175af4=this[_0x5e15('0xa4')],_0x17c006=[];for(const _0x3f8024 of _0x13ed8d[_0x5e15('0xe6')])if(_0x3f8024['is'](_0x5e15('0xa1')))_0x17c006[_0x5e15('0x25')](this[_0x5e15('0x70')](_0x3f8024));else for(let _0x1b136f=0x0;_0x1b136f<_0x3f8024['offsetSize'];_0x1b136f++)_0x17c006[_0x5e15('0x25')](new _0x41cbf8(_0x5e15('0xb8'),{'vid':this['_revisionId']++}));const _0x4440d2=this[_0x5e15('0xa4')];for(let _0x461ed2=_0x175af4;_0x461ed2<_0x4440d2;_0x461ed2++)this[_0x5e15('0x30')][_0x5e15('0x85')](_0x461ed2,{'userId':_0x3afdb6});_0x305fab['_insertChild'](_0x122147['offset'],_0x17c006);}['_handleMoveOperation'](_0x3d73e7){(_0x3d73e7=this[_0x5e15('0x3b')](_0x3d73e7,this[_0x5e15('0x6d')]))['_execute']();const _0x4a98a1=null===_0x3d73e7[_0x5e15('0xa0')]?null:_0x3d73e7['_authorId']||this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x21')](_0x5e15('0x104'))['me']['id'],_0x34e357=_0x3d73e7[_0x5e15('0xec')](),_0x252b8d=_0x34e357[_0x5e15('0xbb')],_0x57b61c=_0x34e357[_0x5e15('0xc8')];!function _0xf203c6(_0x16dcce,_0x2486e6,_0x390318,_0x58ffe5){for(let _0x14d135=_0x390318;_0x14d135<_0x58ffe5;_0x14d135++){const _0x12bcc9=_0x2486e6[_0x5e15('0xb3')](_0x14d135);_0x12bcc9['is'](_0x5e15('0xa1'),_0x5e15('0xb8'))?_0x16dcce[_0x5e15('0x85')](_0x12bcc9[_0x5e15('0xf6')](_0x5e15('0x48')),{'userId':_0x4a98a1}):(_0x16dcce[_0x5e15('0x85')](_0x12bcc9[_0x5e15('0xf6')]('vid_start'),{'userId':_0x4a98a1}),_0xf203c6(_0x16dcce,_0x12bcc9,0x0,_0x12bcc9[_0x5e15('0x2b')]),_0x16dcce[_0x5e15('0x85')](_0x12bcc9[_0x5e15('0xf6')](_0x5e15('0x47')),{'userId':_0x4a98a1}));}}(this[_0x5e15('0x30')],_0x252b8d,_0x57b61c,_0x57b61c+_0x3d73e7[_0x5e15('0x4d')]);}[_0x5e15('0x18')](_0xaae83e){const _0x20c5c5=null===(_0xaae83e=this['_cloneOperation'](_0xaae83e,this[_0x5e15('0x6d')]))[_0x5e15('0xa0')]?null:_0xaae83e[_0x5e15('0xa0')]||this['editor'][_0x5e15('0x49')]['get'](_0x5e15('0x104'))['me']['id'],_0x12f3c3=_0xaae83e[_0x5e15('0xd5')]['parent'],_0x1936c6=_0xaae83e[_0x5e15('0x92')][_0x5e15('0xbb')],_0x3a13ef=_0x12f3c3[_0x5e15('0xf6')](_0x5e15('0x47')),_0x1069f7=_0x1936c6['getAttribute'](_0x5e15('0xba'));_0x12f3c3[_0x5e15('0x4b')]('vid_end',_0x1936c6['getAttribute'](_0x5e15('0x47'))),_0x1936c6[_0x5e15('0x4b')](_0x5e15('0x47'),_0x3a13ef),this[_0x5e15('0x30')]['set'](_0x1069f7,{'userId':_0x20c5c5}),this[_0x5e15('0x30')][_0x5e15('0x85')](_0x3a13ef,{'userId':_0x20c5c5}),_0xaae83e[_0x5e15('0xc1')]();}[_0x5e15('0x44')](_0x33586b){const _0xf9ef8f=null===(_0x33586b=this[_0x5e15('0x3b')](_0x33586b,this[_0x5e15('0x6d')]))[_0x5e15('0xa0')]?null:_0x33586b[_0x5e15('0xa0')]||this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x21')]('Users')['me']['id'],_0x540ffc=_0x33586b[_0x5e15('0xf')],_0x58f743=_0x33586b[_0x5e15('0xd1')][_0x5e15('0xbb')];_0x33586b['_execute']();const _0x9051d8=_0x58f743['getAttribute'](_0x5e15('0x47')),_0x4273c7=_0x33586b['insertionPosition'][_0x5e15('0x87')];if(_0x540ffc){const _0x2fec63=_0x4273c7['getAttribute'](_0x5e15('0x47')),_0x39361f=_0x58f743[_0x5e15('0xf6')](_0x5e15('0x47'));_0x58f743['_setAttribute'](_0x5e15('0x47'),_0x2fec63),_0x4273c7['_setAttribute'](_0x5e15('0x47'),_0x39361f),this['_touched']['set'](_0x58f743[_0x5e15('0xf6')](_0x5e15('0x47')),{'userId':_0xf9ef8f}),this['_touched']['set'](_0x4273c7[_0x5e15('0xf6')](_0x5e15('0xba')),{'userId':_0xf9ef8f});}else{const _0x706ee9=this[_0x5e15('0xa4')]++,_0x256d52=this['_revisionId']++;_0x58f743['_setAttribute'](_0x5e15('0x47'),_0x706ee9),_0x4273c7[_0x5e15('0x4b')]('vid_start',_0x256d52),_0x4273c7['_setAttribute']('vid_end',_0x9051d8),this[_0x5e15('0x30')][_0x5e15('0x85')](_0x706ee9,{'userId':_0xf9ef8f}),this[_0x5e15('0x30')][_0x5e15('0x85')](_0x256d52,{'userId':_0xf9ef8f});}}[_0x5e15('0x103')](_0x4cbeb4){if(!_0x4cbeb4[_0x5e15('0xd9')])return;const _0x174029=(_0x4cbeb4=this[_0x5e15('0x3b')](_0x4cbeb4,this['_diffRoots']))[_0x5e15('0x2e')]?_0x4cbeb4[_0x5e15('0x2e')][_0x5e15('0x26')]:null,_0x343f8a=_0x4cbeb4[_0x5e15('0x22')]?_0x4cbeb4[_0x5e15('0x22')][_0x5e15('0x26')]:null;_0x174029&&this[_0x5e15('0x1')][_0x5e15('0x9e')](_0x4cbeb4[_0x5e15('0x3')]),_0x343f8a&&this[_0x5e15('0x1')]['set'](_0x4cbeb4['name'],_0x4cbeb4[_0x5e15('0x22')]['clone']());const _0x24d0ed=null===_0x4cbeb4['_authorId']?null:_0x4cbeb4[_0x5e15('0xa0')]||this[_0x5e15('0x5a')]['plugins'][_0x5e15('0x21')](_0x5e15('0x104'))['me']['id'],_0x56b982=_0x4cbeb4[_0x5e15('0x3')];if(!this[_0x5e15('0x51')][_0x5e15('0x4e')](_0x56b982))return void this['_touchedMarkers'][_0x5e15('0x85')](_0x56b982,{'range':_0x4cbeb4[_0x5e15('0x2e')],'userId':_0x24d0ed});const _0x5f31c4=this['_touchedMarkers'][_0x5e15('0x21')](_0x56b982),_0x513093=_0x5f31c4['range'],_0x4efd4d=_0x4cbeb4[_0x5e15('0x22')];null==_0x513093&&null==_0x4efd4d||_0x513093&&_0x4efd4d&&_0x513093[_0x5e15('0x94')](_0x4efd4d)?this['_touchedMarkers'][_0x5e15('0x9e')](_0x4cbeb4[_0x5e15('0x3')]):_0x5f31c4[_0x5e15('0x78')]=_0x24d0ed;}[_0x5e15('0xa9')](_0x288605,_0x304c5e){this['_diffRoots'][_0x5e15('0x4e')](_0x288605[_0x5e15('0xde')])?this[_0x5e15('0x57')]['get'](_0x288605[_0x5e15('0xde')])[_0x5e15('0xee')]=_0x288605[_0x5e15('0xc9')]:(this[_0x5e15('0x57')][_0x5e15('0x85')](_0x288605['rootName'],G(_0x288605[_0x5e15('0xde')],!0x0)),this['_diffRootsAttributes'][_0x5e15('0x85')](_0x288605[_0x5e15('0xde')],{}),_0x304c5e&&this[_0x5e15('0x6d')][_0x5e15('0x85')](_0x288605[_0x5e15('0xde')],G(_0x288605[_0x5e15('0xde')],!0x0)));const _0x50f44b=null===_0x288605[_0x5e15('0xa0')]?null:_0x288605['_authorId']||this[_0x5e15('0x5a')][_0x5e15('0x49')][_0x5e15('0x21')](_0x5e15('0x104'))['me']['id'],_0x19ed1a=this[_0x5e15('0x64')][_0x5e15('0x21')](_0x288605[_0x5e15('0xde')]);_0x19ed1a&&_0x19ed1a[_0x5e15('0x78')]===_0x50f44b?this[_0x5e15('0x64')][_0x5e15('0x9e')](_0x288605[_0x5e15('0xde')]):this['_touchedRoots']['set'](_0x288605[_0x5e15('0xde')],{'userId':_0x50f44b,'isAttached':_0x288605[_0x5e15('0xc9')]});}[_0x5e15('0xb1')](_0x4f43e9){const _0x2fe6db=this[_0x5e15('0x72')][_0x5e15('0x21')](_0x4f43e9['root'][_0x5e15('0xde')]);null===_0x4f43e9[_0x5e15('0x9d')]?delete _0x2fe6db[_0x4f43e9[_0x5e15('0xe5')]]:_0x2fe6db[_0x4f43e9[_0x5e15('0xe5')]]=_0x4f43e9[_0x5e15('0x9d')];}}function q(_0x4cd09d){const _0x24e937=G(_0x4cd09d['rootName'],_0x4cd09d[_0x5e15('0xbc')]());for(const _0x56fae0 of _0x4cd09d['getChildren']()){const _0x9bae77=_0x56fae0[_0x5e15('0xbd')](!0x0);_0x24e937[_0x5e15('0xed')](_0x9bae77);}return _0x24e937;}function G(_0x305177,_0x495e70=!0x0){const _0x4e6174=new _0x143316();return _0x4e6174[_0x5e15('0xde')]=_0x305177,_0x4e6174[_0x5e15('0xee')]=_0x495e70,_0x4e6174[_0x5e15('0xbc')]=()=>_0x4e6174['_isAttached'],_0x4e6174;}function L(_0x28543c,_0x2dc201,_0x4d81ea){const _0x2c37a8=_0x5e15('0x101')==_0x28543c['type']?_0x4d81ea['createPositionAt'](_0x28543c[_0x5e15('0xea')],'end'):_0x4d81ea[_0x5e15('0x6e')](_0x28543c[_0x5e15('0xea')]);return _0x4d81ea[_0x5e15('0xda')](_0x2dc201,_0x2c37a8['path'],_0x2c37a8[_0x5e15('0xb7')]);}function W(_0x3a8495,_0xad50b9,_0x372acb){const _0x17791a='elementStart'==_0x3a8495[_0x5e15('0xc3')]?_0x372acb[_0x5e15('0xc')](_0x3a8495[_0x5e15('0xea')],0x0):_0x372acb[_0x5e15('0x34')](_0x3a8495[_0x5e15('0xea')]);return _0x372acb[_0x5e15('0xda')](_0xad50b9,_0x17791a[_0x5e15('0xe2')],_0x17791a[_0x5e15('0xb7')]);}
23
+ const _0x293f=['_getVidAttributeName','_insertChild','addRoot','resolve','splitPosition','attributesBefore','repository','_findInsertionIndex','_copyMarkers','locale','insertion','_operations','_source','userId','move','_baseIdsRoots','children','start','$graveyard','has','getMovedRangeStart','reverse','collaboration.channelId','dataDowncast','Initial\x20revision','source','range','fromEntries','getNodeByPath','conversion','createPositionAt','Empty\x20document','push','Users','length','_makeRevision','attachChange','from','bind','getUser','addRevisionData','_handleRootAttributeOperation','changeRootAttribute','offsetSize','model','_createFromRanges','path','_makeModelFromViewString','getIndex','_markChanges','rootName','createPositionBefore','getRange','_generateTape','_diffRootsAttributes','RevisionTracker','_handleRootOperation','_update','_revisionDataBuilder','_continueCurrentRevision','afterInit','toData','stringify','root','_fixPosition','RealTimeCollaborationClient','get','toVersion','documentFragment','for','createPositionFromPath','insert','plugins','name','oldRange','_bufferUpdate','initialData','_setConversion','revision','insertions','_authorId','_bufferedUpdates','markers','vid_start','parse','end','_applyOperations','createRangeIn','authors','_savedMetaData','then','getAncestors','_clone','item','_isPendingUpdate','roots','authorsIds','_isAttached','toModel','data','element','attributes','tableCell','filter','isAdd','version','_handleOperation','isEqual','history','sourcePosition','map','view','_initialRevisionId','size','_calculateMetaData','childCount','isEnabled','marked','buildRevisionData','max','createRange','some','_isInit','update','elementStart','createRevision','default','_processRootBeforeSave','_createCurrentRevision','clone','document','keepParagraph','removeRootAttribute','offset','values','_handleMarkerOperation','_startingVersion','currentRevision','_idsRoots','getWalker','getTime','position','setSource','type','getLatestVersion','define','_startingRevisionId','_diffRoots','_loadRevisionData','rootsAttributes','_saveMetaData','slice','revision:','_loadState','_removePendingAction','split','getData','sendBufferedUpdates','reInit','_getBaseVids','keys','getChild','processor','getChildren','getOperation','_setAttribute','getRoot','_markers','baseVersion','$text','find','_transformMarkers','setRevisionData','_makeIdsRoot','initial','_reset','getCurrentRevisionId','startsWith','toView','getOperations','_handleInsertOperation','isReady','config','attributesAfter','_fixOperation','deletions','useFillerType','key','init','_baseRoots','_getFromVersion','detachRoot','parent','isAttached','getAttributes','paragraph','delete','_handleSplitOperation','getRevisions','revision-end','forEach','_revisionId','adapter','_touchedRoots','clear','createdAt','marker','vid_end','saveRevision','editor-initial-data-replaced-with-revision-data','remove','includes','_prepareViewToSave','pluginName','getTransformedByOperation','revisionHistory.resumeUnsavedRevision','reinsert','howMany','_pendingAction','_baseRootsAttributes','_getState','newValue','_createInitialRevision','nodes','_addPendingAction','updateRevisions','_removeRevisionMarkers','stickiness','_lastFrom','fromVersion','_getViewJson','elementEnd','vid','add','requires','string','_cloneOperation','_getPreviousFrom','_lastTo','shift','getRevisionDocumentData','_touched','diffData','loadState','_touchedMarkers','NEGATIVE_INFINITY','_replaceEditorDataWithRevisionData','upcast','previousPosition','createPositionAfter','creatorId','editing','getRootNames','merge','creator','_execute','_loadedStateData','graveyardPosition','getRevision','_fixRange','set','_handleMergeOperation','getAttribute','newRange','PENDING_ACTION_REVISION_HISTORY','editor'];(function(_0x30ad6a,_0x293f7f){const _0x2b1f5d=function(_0x3ddb9f){while(--_0x3ddb9f){_0x30ad6a['push'](_0x30ad6a['shift']());}};_0x2b1f5d(++_0x293f7f);}(_0x293f,0x130));const _0x2b1f=function(_0x30ad6a,_0x293f7f){_0x30ad6a=_0x30ad6a-0x0;let _0x2b1f5d=_0x293f[_0x30ad6a];return _0x2b1f5d;};import{Users as _0x1cda21}from'ckeditor5-collaboration/src/collaboration-core';import{Plugin as _0x22a70d,PendingActions as _0x56b82e}from'ckeditor5/src/core';import{logWarning as _0x2a73cc,uid as _0x3de290}from'ckeditor5/src/utils';import{Position as _0x197ee7,Range as _0x2ff7d4,Element as _0x30bfde,DocumentFragment as _0x2bfc66,ViewText as _0x16bf16,ViewElement as _0x442f78,ViewContainerElement as _0x552a5a,ViewAttributeElement as _0x1875ec,ViewEmptyElement as _0xb2074b,ViewRawElement as _0x147958,ViewUIElement as _0x21375e,ViewDocumentFragment as _0x117ac4}from'ckeditor5/src/engine';import _0x545dd8 from'./revisionsrepository';import{getTranslation as _0x200b74}from'./utils/common-translations';import{cloneDeep as _0xf2b218,isEqual as _0x117b78}from'lodash-es';const B={'c':_0x552a5a,'a':_0x1875ec,'e':_0xb2074b,'r':_0x147958,'u':_0x21375e};export default class l extends _0x22a70d{static get[_0x2b1f('0xaf')](){return _0x2b1f('0x11');}static get[_0x2b1f('0xc4')](){return[_0x1cda21,_0x545dd8,_0x56b82e];}constructor(_0xad5e33){super(_0xad5e33),this[_0x2b1f('0xa4')]=null,this[_0x2b1f('0x63')]=null,this['_revisionDataBuilder']=new H(this[_0x2b1f('0xe3')]),this[_0x2b1f('0x4a')]=this['editor'][_0x2b1f('0x90')][_0x2b1f('0x1c')](_0x2b1f('0xfa'))||_0x2b1f('0x88'),this['_bufferedUpdates']=new Map(),this[_0x2b1f('0xda')]=null;const _0x542e16=_0x3de290();this[_0x2b1f('0xf0')]={'history':this[_0x2b1f('0xe3')]['model'][_0x2b1f('0x5c')][_0x2b1f('0x46')],'getLatestVersion':()=>Promise[_0x2b1f('0xe7')](this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x5c')][_0x2b1f('0x43')]),'getCurrentRevisionId':()=>_0x542e16},this[_0x2b1f('0xde')](_0x2b1f('0x8f'),!0x1),this[_0x2b1f('0xde')](_0x2b1f('0x4e'),!0x0),this[_0x2b1f('0xde')](_0x2b1f('0x38'),!0x1),this['editor'][_0x2b1f('0x90')][_0x2b1f('0x6b')](_0x2b1f('0xb1'),!0x0),this['editor'][_0x2b1f('0x101')][_0x2b1f('0x1f')](_0x2b1f('0xd1'))['dataToMarker']({'view':_0x2b1f('0x28')});}[_0x2b1f('0x96')](){this[_0x2b1f('0xea')]=this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')]('RevisionsRepository'),this[_0x2b1f('0x27')](),this['editor'][_0x2b1f('0x3d')]['on']('ready',()=>{const _0x13015d=this[_0x2b1f('0xea')]['getRevision'](0x0),_0x94e9d=_0x13015d&&null===_0x13015d[_0x2b1f('0xd8')]?_0x13015d:null;if(this[_0x2b1f('0x15')]=!!_0x94e9d&&this[_0x2b1f('0xe3')]['config']['get'](_0x2b1f('0xb1')),this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0xf7')](_0x2b1f('0x1b'))){const _0x33ed33=this[_0x2b1f('0xf0')][_0x2b1f('0x8a')](),_0x30cd5e=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x33ed33);if(_0x30cd5e)this['_startingVersion']=_0x30cd5e[_0x2b1f('0xbf')],this['_continueCurrentRevision']=!0x1;else{const _0x22b567=this['_source'][_0x2b1f('0x46')][_0x2b1f('0xef')]['find'](_0x36000c=>!_0x36000c[_0x2b1f('0x54')]),_0x15338a=_0x22b567?_0x22b567[_0x2b1f('0x82')]:this[_0x2b1f('0xf0')][_0x2b1f('0x46')][_0x2b1f('0x43')];_0x13015d?(_0x13015d[_0x2b1f('0x1d')]<_0x15338a&&_0x13015d[_0x2b1f('0x13')]({'toVersion':_0x15338a}),this[_0x2b1f('0x15')]?(this[_0x2b1f('0xf0')][_0x2b1f('0x8a')]=()=>_0x94e9d['id'],this['_startingVersion']=_0x94e9d[_0x2b1f('0xbf')]):(this[_0x2b1f('0x62')]=_0x13015d['toVersion'],this[_0x2b1f('0x15')]=!0x1)):(this[_0x2b1f('0x62')]=_0x15338a,this[_0x2b1f('0x15')]=!0x1);}}else _0x94e9d&&(this[_0x2b1f('0xe3')]['model'][_0x2b1f('0x5c')][_0x2b1f('0x46')][_0x2b1f('0x43')]=Math[_0x2b1f('0x51')](_0x94e9d[_0x2b1f('0x1d')],this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x5c')][_0x2b1f('0x46')][_0x2b1f('0x43')]),_0x94e9d[_0x2b1f('0xbf')]===_0x94e9d[_0x2b1f('0x1d')]?(0x0!==_0x94e9d[_0x2b1f('0xbf')]&&(this['_source']['getCurrentRevisionId']=()=>_0x94e9d['id']),this[_0x2b1f('0x15')]=!0x1):this['_continueCurrentRevision']&&(this[_0x2b1f('0xf0')][_0x2b1f('0x8a')]=()=>_0x94e9d['id'],this['_startingVersion']=_0x94e9d['fromVersion'])),this[_0x2b1f('0x15')]||(this[_0x2b1f('0x62')]=this[_0x2b1f('0xe3')]['model'][_0x2b1f('0x5c')][_0x2b1f('0x43')]);this[_0x2b1f('0x14')][_0x2b1f('0x96')](this[_0x2b1f('0xf0')][_0x2b1f('0x46')]),this[_0x2b1f('0xb8')](this[_0x2b1f('0x62')]),this[_0x2b1f('0x5a')](this[_0x2b1f('0x62')]),this[_0x2b1f('0xa4')]&&this[_0x2b1f('0x77')]();}),this[_0x2b1f('0x0')](_0x2b1f('0x8f'))['to'](this,_0x2b1f('0x38'),_0x461cfd=>!_0x461cfd);}async[_0x2b1f('0x16')](){if(this[_0x2b1f('0xea')]['length']>0x0){const _0x351c48=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](0x0),_0x34da33=await this[_0x2b1f('0xca')](_0x351c48),_0x5934bd=await this['getRevisionRootsAttributes'](_0x351c48);this[_0x2b1f('0xd0')](_0x34da33,_0x5934bd);}}[_0x2b1f('0x68')](_0x204105){this[_0x2b1f('0xf0')]=_0x204105;}async[_0x2b1f('0x55')](){const _0x406bbc=await this[_0x2b1f('0xf0')]['getLatestVersion']();if(_0x406bbc>this[_0x2b1f('0x63')][_0x2b1f('0x1d')]){await this[_0x2b1f('0x73')]();const _0x177aa4=this[_0x2b1f('0x50')]({'revision':this['currentRevision'],'to':_0x406bbc});_0x177aa4[_0x2b1f('0x32')]=_0x177aa4[_0x2b1f('0x3a')][_0x2b1f('0x48')](_0x75b60e=>this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')]('Users')[_0x2b1f('0x1')](_0x75b60e)),this[_0x2b1f('0x63')]['_update'](_0x177aa4);}}async[_0x2b1f('0x73')](){this[_0x2b1f('0x15')]&&!this['_loadedStateData']&&(await this[_0x2b1f('0x6e')](this[_0x2b1f('0x63')]),this[_0x2b1f('0x14')][_0x2b1f('0xcd')](this[_0x2b1f('0x63')]),this[_0x2b1f('0xda')]={'fromVersion':this[_0x2b1f('0x63')][_0x2b1f('0xbf')],'authors':this[_0x2b1f('0x63')][_0x2b1f('0x32')][_0x2b1f('0x71')]()});}async[_0x2b1f('0xaa')](_0x371cd0={},_0x481d3c=null){const _0x51d6c7=[];await this[_0x2b1f('0x73')](),this['_continueCurrentRevision']=!0x1,_0x481d3c>this[_0x2b1f('0x63')]['toVersion']&&(_0x481d3c=null),null===_0x481d3c&&(_0x481d3c=await this[_0x2b1f('0xf0')][_0x2b1f('0x6a')]());const _0x4bf41a=this[_0x2b1f('0x98')](_0x481d3c),_0x49ee48=this[_0x2b1f('0x50')]({'from':_0x4bf41a,'to':_0x481d3c});if(this['currentRevision'][_0x2b1f('0x1d')]<_0x481d3c){const _0x20ff93=this[_0x2b1f('0x50')]({'revision':this[_0x2b1f('0x63')],'from':_0x481d3c,'to':_0x481d3c});_0x20ff93[_0x2b1f('0x32')]=[],_0x20ff93[_0x2b1f('0x3a')]=[],_0x20ff93['id']=this[_0x2b1f('0x63')]['id'],this[_0x2b1f('0x63')][_0x2b1f('0x13')](_0x20ff93,!0x0),delete _0x20ff93[_0x2b1f('0x32')],_0x51d6c7[_0x2b1f('0x104')](_0x20ff93);}_0x371cd0[_0x2b1f('0xd4')]=this['editor'][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x371cd0['name']=_0x371cd0[_0x2b1f('0x23')]||null,_0x371cd0['id']=_0x371cd0['id']||_0x3de290(),_0x371cd0={..._0x371cd0,..._0x49ee48};const _0x48dcd9=this[_0x2b1f('0x2')](_0x371cd0);_0x51d6c7[_0x2b1f('0x104')](_0x371cd0);const _0x40b6d9=this['repository'][_0x2b1f('0xa')](_0x48dcd9);if(0x0!==_0x40b6d9){const _0x1fa3e8=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x40b6d9-0x1);if(_0x1fa3e8[_0x2b1f('0xbf')]!==_0x481d3c){const _0x13b8c4=this[_0x2b1f('0x14')][_0x2b1f('0x76')](_0x481d3c,_0x1fa3e8['toVersion']),_0x351e65={'id':_0x1fa3e8['id'],'diffData':_0x13b8c4[_0x2b1f('0xcc')],'authorsIds':_0x13b8c4[_0x2b1f('0x3a')],'authors':_0x13b8c4[_0x2b1f('0x3a')][_0x2b1f('0x48')](_0x4e540a=>this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))[_0x2b1f('0x1')](_0x4e540a)),'fromVersion':_0x481d3c};_0x1fa3e8===this[_0x2b1f('0x63')]&&(_0x351e65['createdAt']=new Date(_0x371cd0[_0x2b1f('0xa7')][_0x2b1f('0x66')]()+0xa)),_0x1fa3e8[_0x2b1f('0x13')](_0x351e65,!0x0),delete _0x351e65[_0x2b1f('0x32')],_0x51d6c7[_0x2b1f('0x104')](_0x351e65);}}if(this[_0x2b1f('0xa4')]){for(const _0x4f6313 of _0x51d6c7)this[_0x2b1f('0x25')](_0x4f6313['id'],_0x4f6313,!0x0);this[_0x2b1f('0x77')]();}return _0x48dcd9;}['addRevisionData'](_0x41b741){const _0x1b32bd=this['repository'][_0x2b1f('0x57')](_0x41b741);return this['adapter']&&_0x1b32bd['on'](_0x2b1f('0x13'),(_0x30f621,_0x339781,_0x4f555b)=>{_0x4f555b||(this[_0x2b1f('0x25')](_0x339781['id'],_0x339781,!0x0),this[_0x2b1f('0x77')]());}),this[_0x2b1f('0xea')]['addRevision'](_0x1b32bd,this[_0x2b1f('0xeb')](_0x1b32bd)),_0x1b32bd;}async[_0x2b1f('0xca')](_0x2c2ea3){await this[_0x2b1f('0x6e')](_0x2c2ea3);const _0x529689={};for(const _0x54ae13 in _0x2c2ea3[_0x2b1f('0xcc')]){if(_0x2c2ea3[_0x2b1f('0xcc')][_0x54ae13][_0x2b1f('0x108')]&&!_0x2c2ea3[_0x2b1f('0xcc')][_0x54ae13]['attachChange']['isAttached'])continue;const _0x6663b4=this['_removeRevisionMarkers'](JSON[_0x2b1f('0x2e')](_0x2c2ea3['diffData'][_0x54ae13][_0x2b1f('0x29')])),_0x458f97=this[_0x2b1f('0xe3')]['editing'][_0x2b1f('0x49')]['document'],_0x326bb4=new _0x117ac4(_0x458f97,_0x6663b4['map'](_0x4c8b89=>J(_0x4c8b89,this[_0x2b1f('0xe3')])));this['editor']['data'][_0x2b1f('0x7c')][_0x2b1f('0x94')](_0x2b1f('0x4f')),_0x529689[_0x54ae13]=this['editor'][_0x2b1f('0x3d')][_0x2b1f('0x7c')][_0x2b1f('0x17')](_0x326bb4),this[_0x2b1f('0xe3')][_0x2b1f('0x3d')][_0x2b1f('0x7c')]['useFillerType'](_0x2b1f('0x58'));}return _0x529689;}async['getRevisionRootsAttributes'](_0xdb326){await this['_loadRevisionData'](_0xdb326);const _0x361f63={};for(const _0x5799c5 in _0xdb326['diffData'])_0xdb326[_0x2b1f('0xcc')][_0x5799c5][_0x2b1f('0x108')]&&!_0xdb326[_0x2b1f('0xcc')][_0x5799c5]['attachChange']['isAttached']||(_0x361f63[_0x5799c5]=_0xdb326[_0x2b1f('0xcc')][_0x5799c5][_0x2b1f('0x91')]||{});return _0x361f63;}[_0x2b1f('0x77')](){if(0x0===this[_0x2b1f('0x2b')][_0x2b1f('0x4b')])return;if(this[_0x2b1f('0x38')])return;let _0x1a80ce=Array[_0x2b1f('0x109')](this[_0x2b1f('0x2b')][_0x2b1f('0x60')]());this['_bufferedUpdates']['clear']();for(let _0x2426d0=0x0;_0x2426d0<_0x1a80ce[_0x2b1f('0x106')];_0x2426d0++){const _0x24c163=_0x1a80ce[_0x2426d0];let _0x1500ab=!0x1;for(const _0x1d5d46 of Object[_0x2b1f('0x7a')](_0x24c163))void 0x0===_0x24c163[_0x1d5d46]?delete _0x24c163[_0x1d5d46]:'id'!==_0x1d5d46&&(_0x1500ab=!0x0);_0x1500ab||(_0x1a80ce[_0x2426d0]=null);}if(_0x1a80ce=_0x1a80ce[_0x2b1f('0x41')](_0x432a0c=>null!==_0x432a0c),!_0x1a80ce[_0x2b1f('0x106')])return;for(let _0x35205d=0x0;_0x35205d<_0x1a80ce[_0x2b1f('0x106')];_0x35205d++){const _0x57ce16=_0x1a80ce[_0x35205d];void 0x0!==_0x57ce16[_0x2b1f('0xbf')]&&void 0x0===_0x57ce16[_0x2b1f('0x1d')]&&(_0x57ce16[_0x2b1f('0x1d')]=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x57ce16['id'])[_0x2b1f('0x1d')]),void 0x0!==_0x57ce16[_0x2b1f('0x1d')]&&void 0x0===_0x57ce16[_0x2b1f('0xbf')]&&(_0x57ce16[_0x2b1f('0xbf')]=this['repository'][_0x2b1f('0xdc')](_0x57ce16['id'])[_0x2b1f('0xbf')]);}const _0x1d7d86=this[_0x2b1f('0xe3')][_0x2b1f('0x90')]['get']('collaboration.channelId');this[_0x2b1f('0x38')]=!0x0,this[_0x2b1f('0xba')](),this[_0x2b1f('0xa4')][_0x2b1f('0xbb')](_0x1a80ce,_0x1d7d86)['finally'](()=>{this['_isPendingUpdate']=!0x1;})[_0x2b1f('0x34')](_0x124bb8=>{if(_0x124bb8)for(const _0x48f460 of _0x124bb8)this[_0x2b1f('0x86')]({'id':_0x48f460['id'],'createdAt':_0x48f460[_0x2b1f('0xa7')]});this[_0x2b1f('0x74')](),this['sendBufferedUpdates']();});}[_0x2b1f('0xd0')](_0x3a271c,_0x56426e){let _0x5edacf=this[_0x2b1f('0xe3')][_0x2b1f('0x90')][_0x2b1f('0x1c')](_0x2b1f('0x26')),_0x4ac5a3=this[_0x2b1f('0xe3')][_0x2b1f('0x90')][_0x2b1f('0x1c')](_0x2b1f('0x6f'));if(void 0x0===_0x5edacf){_0x5edacf={};for(const _0x1e45cd of this['editor'][_0x2b1f('0x6')][_0x2b1f('0x5c')]['getRootNames']())_0x5edacf[_0x1e45cd]='';}if(_0x2b1f('0xc5')==typeof _0x5edacf&&(_0x5edacf={'main':_0x5edacf}),void 0x0===_0x4ac5a3){_0x4ac5a3={};for(const _0x120ed7 of this['editor'][_0x2b1f('0x6')][_0x2b1f('0x5c')][_0x2b1f('0xd6')]())_0x4ac5a3[_0x120ed7]={};}let _0x1f8ad2=!0x1;const _0x117e3f=Object[_0x2b1f('0x7a')](_0x5edacf),_0x3dd91f=Object['keys'](_0x3a271c);for(const _0x39346d of _0x117e3f){if(_0x5edacf[_0x39346d]!==_0x3a271c[_0x39346d]&&''!==_0x5edacf[_0x39346d]['trim']()){_0x1f8ad2=!0x0;break;}if(!_0x117b78(_0x4ac5a3[_0x39346d],_0x56426e[_0x39346d])&&Object[_0x2b1f('0x7a')](_0x4ac5a3[_0x39346d])[_0x2b1f('0x106')]>0x0){_0x1f8ad2=!0x0;break;}}_0x1f8ad2||(_0x1f8ad2=_0x3dd91f[_0x2b1f('0x53')](_0x1748a9=>!this['editor']['model'][_0x2b1f('0x5c')][_0x2b1f('0x80')](_0x1748a9))),_0x1f8ad2&&_0x2a73cc(_0x2b1f('0xab'),{'editorData':_0x5edacf,'editorRootsAttributes':_0x4ac5a3,'revisionData':_0x3a271c,'revisionRootsAttributes':_0x56426e}),this['editor'][_0x2b1f('0x90')][_0x2b1f('0xde')](_0x2b1f('0x26'),_0x3a271c),this[_0x2b1f('0xe3')][_0x2b1f('0x90')][_0x2b1f('0xde')](_0x2b1f('0x6f'),_0x56426e);}[_0x2b1f('0xba')](){if(!this[_0x2b1f('0xb4')]){const _0x2b78ef=this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')]('PendingActions');this['_pendingAction']=_0x2b78ef[_0x2b1f('0xc3')](_0x200b74(this[_0x2b1f('0xe3')][_0x2b1f('0xed')],_0x2b1f('0xe2')));}}[_0x2b1f('0x74')](){this[_0x2b1f('0xb4')]&&(this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')]('PendingActions')[_0x2b1f('0xac')](this[_0x2b1f('0xb4')]),this[_0x2b1f('0xb4')]=null);}[_0x2b1f('0xeb')](_0x523b40){const _0x377ffe=this['repository']['getRevisions']();_0x377ffe[_0x2b1f('0xf9')]();let _0x17ac71=0x0;for(;_0x17ac71<_0x377ffe[_0x2b1f('0x106')];){const _0x23bfe7=_0x377ffe[_0x17ac71];if(_0x23bfe7===this[_0x2b1f('0x63')]){_0x17ac71++;continue;}if(_0x23bfe7['id']===this[_0x2b1f('0x4a')])break;const _0x3e898c=_0x523b40[_0x2b1f('0x1d')]-_0x23bfe7[_0x2b1f('0x1d')]||_0x523b40[_0x2b1f('0xbf')]-_0x23bfe7[_0x2b1f('0xbf')];if(_0x3e898c>0x0)break;if(_0x3e898c<0x0)_0x17ac71++;else{if(!_0x523b40[_0x2b1f('0xd8')]&&_0x23bfe7['creator'])break;if(_0x23bfe7[_0x2b1f('0xd8')]||!_0x523b40['creator']){if(_0x523b40[_0x2b1f('0xa7')]>_0x23bfe7[_0x2b1f('0xa7')])break;_0x17ac71++;}else _0x17ac71++;}}return _0x17ac71;}[_0x2b1f('0x86')](_0x3a35f0){const _0x410b6c=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x3a35f0['id']);if(_0x3a35f0[_0x2b1f('0xa7')]&&(_0x3a35f0[_0x2b1f('0xa7')]=new Date(_0x3a35f0['createdAt'])),_0x3a35f0['authorsIds']){const _0x44f6db=this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')](_0x2b1f('0x105'));_0x3a35f0[_0x2b1f('0x32')]=_0x3a35f0[_0x2b1f('0x3a')]['map'](_0x5eb51c=>_0x44f6db['getUser'](_0x5eb51c));}_0x410b6c[_0x2b1f('0x13')](_0x3a35f0,!0x0);}[_0x2b1f('0x50')]({revision:_0xe61310=null,from:_0x129918=null,to:_0x37301e=null}){_0x129918=null!==_0x129918?_0x129918:_0xe61310[_0x2b1f('0xbf')],_0x37301e=null!==_0x37301e?_0x37301e:_0xe61310['toVersion'];const _0x3fda18=this[_0x2b1f('0x14')][_0x2b1f('0x76')](_0x129918,_0x37301e),_0x181f77={'diffData':_0x3fda18['diffData'],'authorsIds':_0x3fda18[_0x2b1f('0x3a')],'fromVersion':_0x129918,'toVersion':_0x37301e};if(!_0xe61310||_0x37301e!==_0xe61310[_0x2b1f('0x1d')]){const _0x3e147a=_0x37301e-0x1,_0x2906bf=this[_0x2b1f('0xf0')][_0x2b1f('0x46')][_0x2b1f('0x7e')](_0x3e147a);_0x181f77[_0x2b1f('0xa7')]=_0x2906bf&&_0x2906bf['createdAt']||new Date();}if(this[_0x2b1f('0xda')]&&_0x129918===this[_0x2b1f('0xda')][_0x2b1f('0xbf')])for(const _0x598048 of this[_0x2b1f('0xda')][_0x2b1f('0x32')])_0x181f77[_0x2b1f('0x3a')][_0x2b1f('0xad')](_0x598048['id'])||_0x181f77[_0x2b1f('0x3a')][_0x2b1f('0x104')](_0x598048['id']);return _0x181f77;}[_0x2b1f('0x6e')](_0x10c7e9){if(!_0x10c7e9||_0x10c7e9[_0x2b1f('0xcc')])return Promise['resolve']();{const _0x53c7a7=this[_0x2b1f('0xe3')][_0x2b1f('0x90')][_0x2b1f('0x1c')](_0x2b1f('0xfa'));return this[_0x2b1f('0xa4')]['getRevision']({'channelId':_0x53c7a7,'revisionId':_0x10c7e9['id']})['then'](_0x4f1e74=>{_0x10c7e9[_0x2b1f('0xcc')]=_0x4f1e74[_0x2b1f('0xcc')];});}}[_0x2b1f('0x25')](_0xf6166b,_0x39b2ed,_0xd51f16){if(this['_bufferedUpdates']['has'](_0xf6166b)){const _0x3f1675=this[_0x2b1f('0x2b')][_0x2b1f('0x1c')](_0xf6166b);_0x39b2ed=_0xd51f16?{..._0x3f1675,..._0x39b2ed}:{..._0x39b2ed,..._0x3f1675};}this[_0x2b1f('0x2b')][_0x2b1f('0xde')](_0xf6166b,_0x39b2ed);}[_0x2b1f('0x98')](_0x86f53){const _0x4cf88f=this[_0x2b1f('0xea')][_0x2b1f('0xa0')]();_0x4cf88f[_0x2b1f('0xf9')](),_0x4cf88f[_0x2b1f('0xc9')]();const _0x5ba821=_0x4cf88f['find'](_0x255b50=>_0x255b50['toVersion']<=_0x86f53)['toVersion'];return _0x5ba821<this[_0x2b1f('0x62')]?this[_0x2b1f('0x62')]:_0x5ba821;}[_0x2b1f('0xb8')](_0x451c6d){const _0x3dda97=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](this[_0x2b1f('0xea')][_0x2b1f('0x106')]-0x1);if(_0x3dda97)this[_0x2b1f('0x4a')]=_0x3dda97['id'];else{const _0xa0fe18=!this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x5c')][_0x2b1f('0x39')][_0x2b1f('0x84')](_0x4bea9f=>this[_0x2b1f('0xe3')]['model']['hasContent'](_0x4bea9f)),_0x3bf7b4=this[_0x2b1f('0xe3')][_0x2b1f('0x22')]['get'](_0x2b1f('0x105'))['me']['id'],_0x11daa0=_0x200b74(this[_0x2b1f('0xe3')][_0x2b1f('0xed')],_0xa0fe18?_0x2b1f('0x103'):_0x2b1f('0xfc'));this['_makeRevision']({'from':_0x451c6d,'to':_0x451c6d,'id':this[_0x2b1f('0x4a')],'name':_0x11daa0,'creatorId':_0x3bf7b4});}}[_0x2b1f('0x5a')](_0x2b4687){const _0x3d6c9f=this[_0x2b1f('0xf0')][_0x2b1f('0x8a')]();this[_0x2b1f('0x63')]=this[_0x2b1f('0xea')][_0x2b1f('0xdc')](_0x3d6c9f),this[_0x2b1f('0x63')]||(this['currentRevision']=this['_makeRevision']({'from':_0x2b4687,'to':_0x2b4687,'id':_0x3d6c9f,'name':'','creatorId':null}));}[_0x2b1f('0x107')]({name:_0x3adeaf,from:_0x527866,to:_0x566292,creatorId:_0x4aaa86,id:_0x3ced75}){const _0x341edb=this['buildRevisionData']({'from':_0x527866,'to':_0x566292});_0x341edb[_0x2b1f('0x23')]=_0x3adeaf,_0x341edb['creatorId']=_0x4aaa86,_0x341edb['id']=_0x3ced75;const _0x133271=this[_0x2b1f('0x2')](_0x341edb);return this[_0x2b1f('0xa4')]&&this[_0x2b1f('0x25')](_0x341edb['id'],_0x341edb,!0x0),_0x133271;}[_0x2b1f('0x27')](){this['editor'][_0x2b1f('0x101')][_0x2b1f('0x1f')](_0x2b1f('0xfb'))['markerToData']({'model':_0x2b1f('0x28')});}[_0x2b1f('0xbc')](_0x4267ec){return(_0x4267ec=_0x4267ec[_0x2b1f('0x41')](_0x5b27f0=>!_0x5b27f0['name']||'revision-start'!==_0x5b27f0[_0x2b1f('0x23')]&&_0x2b1f('0xa1')!==_0x5b27f0['name']))[_0x2b1f('0xa2')](_0x439c33=>{'string'!=typeof _0x439c33&&(_0x439c33['children']=this[_0x2b1f('0xbc')](_0x439c33[_0x2b1f('0xf4')]),_0x439c33[_0x2b1f('0x3f')]=_0x439c33[_0x2b1f('0x3f')]['filter'](_0x4b7ae7=>!_0x4b7ae7[0x0]['startsWith']('data-revision-')));}),_0x4267ec;}}function J(_0x113cec,_0x22600a){const _0x3b35c9=_0x22600a[_0x2b1f('0xd5')][_0x2b1f('0x49')]['document'];if('string'==typeof _0x113cec)return new _0x16bf16(_0x3b35c9,_0x113cec);{const _0x34ad9e=_0x113cec['children'][_0x2b1f('0x48')](_0x1a8b01=>J(_0x1a8b01,_0x22600a));return new(B[_0x113cec[(_0x2b1f('0x69'))]]||_0x442f78)(_0x3b35c9,_0x113cec[_0x2b1f('0x23')],_0x113cec[_0x2b1f('0x3f')],_0x34ad9e);}}class H{constructor(_0x1d3912){this['editor']=_0x1d3912,this[_0x2b1f('0x33')]=new Map(),this[_0x2b1f('0xbe')]=-0x1,this['_lastTo']=-0x1,this[_0x2b1f('0x81')]=new Map(),this['_diffRoots']=new Map(),this[_0x2b1f('0x10')]=new Map(),this[_0x2b1f('0x97')]=new Map(),this[_0x2b1f('0xb5')]=new Map(),this[_0x2b1f('0x64')]=new Map(),this[_0x2b1f('0xf3')]=new Map(),this[_0x2b1f('0xcb')]=new Map(),this[_0x2b1f('0xce')]=new Map(),this[_0x2b1f('0xa5')]=new Map(),this[_0x2b1f('0xa3')]=0x1;}['init'](_0x4307cd){this[_0x2b1f('0xfd')]=_0x4307cd;const _0x5e2749=new Map(),_0x35911e=new Map(),_0x32a765=this['editor'][_0x2b1f('0x6')]['document'][_0x2b1f('0x39')][_0x2b1f('0x48')](_0x466808=>_0x466808[_0x2b1f('0xc')]);for(const _0x59a730 of _0x32a765){const _0x3eb4f1=this[_0x2b1f('0xe3')][_0x2b1f('0x6')]['document'][_0x2b1f('0x80')](_0x59a730),_0xeaf8a=q(_0x3eb4f1);_0x5e2749[_0x2b1f('0xde')](_0x59a730,_0xeaf8a),_0x35911e['set'](_0x59a730,Object[_0x2b1f('0xff')](_0x3eb4f1[_0x2b1f('0x9c')]()));}const _0x4a29c1=Array[_0x2b1f('0x109')](this['editor'][_0x2b1f('0x6')][_0x2b1f('0x2c')])[_0x2b1f('0x48')](_0x2616ee=>[_0x2616ee[_0x2b1f('0x23')],_0x2616ee[_0x2b1f('0xe')]()]),_0x4e58b5=this[_0x2b1f('0xfd')][_0x2b1f('0x43')];this[_0x2b1f('0x70')](_0x4e58b5,_0x5e2749,_0x4a29c1,_0x35911e),this[_0x2b1f('0x6c')]=this[_0x2b1f('0xa3')];const _0xf5ba17=new Map(),_0x486542=new Map();for(const _0x42fc41 of _0x32a765){const _0x1b2157=G(_0x42fc41);_0xf5ba17[_0x2b1f('0xde')](_0x42fc41,_0x1b2157),_0x486542[_0x2b1f('0xde')](_0x42fc41,{});}this[_0x2b1f('0x70')](Number[_0x2b1f('0xcf')],_0xf5ba17,[],_0x486542);}['getData'](_0x185de1,_0x41e5f6){if(this['_lastFrom']===_0x185de1&&this['_lastTo']<=_0x41e5f6)this['_savedMetaData'][_0x2b1f('0x4b')]>0x1&&this['_removeMetaData'](this[_0x2b1f('0xc8')]),this[_0x2b1f('0x30')](this[_0x2b1f('0xc8')],_0x41e5f6,!0x0);else{if(!this[_0x2b1f('0x33')][_0x2b1f('0xf7')](_0x185de1)){const _0x158a22=this[_0x2b1f('0xc7')](_0x185de1);this[_0x2b1f('0x4c')](_0x158a22,_0x185de1,!0x1);}this['_calculateMetaData'](_0x185de1,_0x41e5f6,!0x0);}return this['_lastFrom']=_0x185de1,this[_0x2b1f('0xc8')]=_0x41e5f6,this['_getState']();}['loadState'](_0x575aee){this[_0x2b1f('0x89')](),this[_0x2b1f('0xbe')]=_0x575aee[_0x2b1f('0xbf')],this[_0x2b1f('0xc8')]=_0x575aee[_0x2b1f('0x1d')];for(const _0x23ba41 in _0x575aee[_0x2b1f('0xcc')]){const _0x42208=_0x575aee['diffData'][_0x23ba41]['attachChange'],_0x33c2e8=_0xf2b218(_0x575aee[_0x2b1f('0xcc')][_0x23ba41][_0x2b1f('0xe9')])||{},_0x280f83=this[_0x2b1f('0x9')](_0x575aee[_0x2b1f('0xcc')][_0x23ba41][_0x2b1f('0x93')]);_0x280f83['rootName']=_0x23ba41,_0x280f83['_isAttached']=!_0x42208||!_0x42208[_0x2b1f('0x9b')],_0x280f83[_0x2b1f('0x9b')]=()=>_0x280f83[_0x2b1f('0x3b')],this[_0x2b1f('0x97')][_0x2b1f('0xde')](_0x23ba41,_0x280f83),this[_0x2b1f('0xb5')][_0x2b1f('0xde')](_0x23ba41,_0x33c2e8),_0x42208&&this[_0x2b1f('0xa5')][_0x2b1f('0xde')](_0x23ba41,_0x42208);const _0x42ed17=this[_0x2b1f('0x87')](_0x280f83);this[_0x2b1f('0xf3')][_0x2b1f('0xde')](_0x23ba41,_0x42ed17);for(const [_0x4475ab,_0x53fb05]of _0x280f83[_0x2b1f('0x2c')]){if(!_0x4475ab[_0x2b1f('0x8b')](_0x2b1f('0x72')))continue;const _0x47e3d3=_0x4475ab[_0x2b1f('0x75')](':')[0x2];for(const _0x33b1dc of _0x53fb05[_0x2b1f('0x65')]({'singleCharacters':!0x0})){const _0x2c7353=this[_0x2b1f('0xe4')](_0x33b1dc),_0x844931=_0x2b1f('0xc1')==_0x33b1dc[_0x2b1f('0x69')]?_0x33b1dc[_0x2b1f('0xd2')][_0x2b1f('0x8')][_0x2b1f('0x71')](0x0,-0x1):_0x33b1dc[_0x2b1f('0xd2')]['path'],_0x20ca52=_0x42ed17[_0x2b1f('0x100')](_0x844931)[_0x2b1f('0xe0')](_0x2c7353);this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x20ca52,{'userId':_0x47e3d3});}}}this[_0x2b1f('0x6c')]=this[_0x2b1f('0xa3')];const _0x2d71d5=[...Array(this[_0x2b1f('0xa3')])['keys']()][_0x2b1f('0x71')](0x1)[_0x2b1f('0x41')](_0xc48f67=>!this[_0x2b1f('0xcb')][_0x2b1f('0xf7')](_0xc48f67));let _0x1fb5b0=0x0;const _0x3fccdc=new Map();for(const _0x4179c2 in _0x575aee[_0x2b1f('0xcc')]){const _0x18cbba=_0x575aee['diffData'][_0x4179c2][_0x2b1f('0x108')],_0x31651c=_0xf2b218(_0x575aee[_0x2b1f('0xcc')][_0x4179c2][_0x2b1f('0x91')])||{},_0x3ef076=this[_0x2b1f('0x9')](_0x575aee['diffData'][_0x4179c2][_0x2b1f('0x29')]);_0x3ef076['rootName']=_0x4179c2,_0x3ef076['_isAttached']=!_0x18cbba||_0x18cbba[_0x2b1f('0x9b')],_0x3ef076[_0x2b1f('0x9b')]=()=>_0x3ef076[_0x2b1f('0x3b')],this[_0x2b1f('0x6d')][_0x2b1f('0xde')](_0x4179c2,_0x3ef076),this[_0x2b1f('0x10')][_0x2b1f('0xde')](_0x4179c2,_0x31651c);const _0x5ac963=this[_0x2b1f('0x87')](_0x3ef076,Number[_0x2b1f('0xcf')]);this[_0x2b1f('0x64')][_0x2b1f('0xde')](_0x4179c2,_0x5ac963),_0x3fccdc[_0x2b1f('0xde')](_0x4179c2,_0x3ef076[_0x2b1f('0x9b')]()?_0x31651c:{});for(const [_0x2db8d5,_0x1877e6]of _0x3ef076['markers']){if(!_0x2db8d5[_0x2b1f('0x8b')](_0x2b1f('0x72')))continue;const _0x14f8dc=_0x2db8d5['split'](':')[0x2];for(const _0x2011b8 of _0x1877e6[_0x2b1f('0x65')]({'singleCharacters':!0x0})){const _0x3d4dd7=this['_getVidAttributeName'](_0x2011b8),_0x5071da=this[_0x2b1f('0xa3')]++,_0x3499aa=_0x2b1f('0xc1')==_0x2011b8[_0x2b1f('0x69')]?_0x2011b8[_0x2b1f('0xd2')][_0x2b1f('0x8')][_0x2b1f('0x71')](0x0,-0x1):_0x2011b8['previousPosition']['path'];_0x5ac963[_0x2b1f('0x100')](_0x3499aa)[_0x2b1f('0x7f')](_0x3d4dd7,_0x5071da),this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x5071da,{'userId':_0x14f8dc});}}for(const _0x4ac464 of this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x31')](_0x3ef076)['getWalker']({'singleCharacters':!0x0})){const _0x57c592=this[_0x2b1f('0xe4')](_0x4ac464),_0x9c4971=_0x2b1f('0xc1')==_0x4ac464[_0x2b1f('0x69')]?_0x4ac464[_0x2b1f('0xd2')][_0x2b1f('0x8')][_0x2b1f('0x71')](0x0,-0x1):_0x4ac464[_0x2b1f('0xd2')]['path'],_0x342527=_0x5ac963[_0x2b1f('0x100')](_0x9c4971);_0x342527[_0x2b1f('0xe0')](_0x57c592)>0x0||_0x342527[_0x2b1f('0x7f')](_0x57c592,_0x2d71d5[_0x1fb5b0++]);}for(const [_0x91dcdd,_0x3f4ea5]of _0x3ef076[_0x2b1f('0x2c')])_0x91dcdd[_0x2b1f('0x8b')](_0x2b1f('0x72'))||this[_0x2b1f('0x81')][_0x2b1f('0xde')](_0x91dcdd,_0x3f4ea5);}const _0x115ee6=G(_0x2b1f('0xf6'));this[_0x2b1f('0x97')][_0x2b1f('0xde')](_0x2b1f('0xf6'),_0x115ee6),this[_0x2b1f('0xf3')][_0x2b1f('0xde')](_0x2b1f('0xf6'),this[_0x2b1f('0x87')](_0x115ee6,0x1));const _0x778cdb=G(_0x2b1f('0xf6'));this[_0x2b1f('0x6d')][_0x2b1f('0xde')](_0x2b1f('0xf6'),_0x778cdb),this[_0x2b1f('0x64')][_0x2b1f('0xde')](_0x2b1f('0xf6'),this[_0x2b1f('0x87')](_0x778cdb,0x1));const _0x997c52=Array['from'](this['_diffRoots'])[_0x2b1f('0x48')](([_0x362a47,_0x16ea94])=>[_0x362a47,q(_0x16ea94)]);this[_0x2b1f('0x70')](this[_0x2b1f('0xc8')],_0x997c52,this[_0x2b1f('0x81')],_0x3fccdc);}[_0x2b1f('0x9')](_0x553984){const _0x807b71=JSON['parse'](_0x553984),_0x3ec58c=this[_0x2b1f('0xe3')][_0x2b1f('0xd5')][_0x2b1f('0x49')][_0x2b1f('0x5c')],_0x4745a8=new _0x117ac4(_0x3ec58c,_0x807b71[_0x2b1f('0x48')](_0x65f84d=>J(_0x65f84d,this[_0x2b1f('0xe3')])));return this[_0x2b1f('0xe3')]['data'][_0x2b1f('0x3c')](_0x4745a8);}[_0x2b1f('0x70')](_0x2b3a10,_0x5cd13a,_0x57945e,_0x2b77b7){const _0x10d86c=new Map(_0x5cd13a),_0x25c08c=new Map(_0xf2b218(_0x2b77b7)),_0x3535f4=new Map();for(const [_0x6c347,_0x27ae9f]of _0x57945e)_0x3535f4['set'](_0x6c347,{'start':_0x27ae9f[_0x2b1f('0xf5')][_0x2b1f('0x5b')](),'end':_0x27ae9f[_0x2b1f('0x2f')]['clone'](),'rootName':_0x27ae9f[_0x2b1f('0x19')][_0x2b1f('0xc')]});this['_savedMetaData'][_0x2b1f('0xde')](_0x2b3a10,{'roots':_0x10d86c,'markers':_0x3535f4,'rootsAttributes':_0x25c08c});}['_removeMetaData'](_0x406fbf){this[_0x2b1f('0x33')][_0x2b1f('0x9e')](_0x406fbf);}[_0x2b1f('0x78')](){this[_0x2b1f('0x89')](),this['_lastFrom']=-0x1,this[_0x2b1f('0xc8')]=-0x1,this[_0x2b1f('0x33')][_0x2b1f('0xa6')](),this[_0x2b1f('0x96')](this['source']);}[_0x2b1f('0x89')](){this[_0x2b1f('0xcb')]['clear'](),this[_0x2b1f('0xce')]['clear'](),this[_0x2b1f('0xa5')]['clear'](),this[_0x2b1f('0x6d')][_0x2b1f('0xa6')](),this[_0x2b1f('0x10')][_0x2b1f('0xa6')](),this[_0x2b1f('0x97')][_0x2b1f('0xa6')](),this[_0x2b1f('0xb5')][_0x2b1f('0xa6')](),this[_0x2b1f('0x64')][_0x2b1f('0xa6')](),this['_baseIdsRoots'][_0x2b1f('0xa6')](),this[_0x2b1f('0x81')]['clear'](),this[_0x2b1f('0xa3')]=0x1,this[_0x2b1f('0x6c')]=this[_0x2b1f('0xa3')];}[_0x2b1f('0x87')](_0x3ce6ce,_0x1f650a=null){let _0x5ac84a=null;_0x3ce6ce['is'](_0x2b1f('0x1e'))||(_0x5ac84a=new _0x30bfde(_0x3ce6ce[_0x2b1f('0x23')],{'vid_start':null===_0x1f650a?this['_revisionId']++:_0x1f650a++}));const _0x535d06=[];for(const _0x35ef30 of _0x3ce6ce[_0x2b1f('0x7d')]())if(_0x35ef30['is'](_0x2b1f('0x3e'))){_0x535d06[_0x2b1f('0x104')](this[_0x2b1f('0x87')](_0x35ef30,_0x1f650a));const _0x24fa8c=_0x535d06[_0x535d06['length']-0x1];null!==_0x1f650a&&(_0x1f650a=_0x24fa8c['is'](_0x2b1f('0x3e'),'$text')?_0x24fa8c[_0x2b1f('0xe0')](_0x2b1f('0xc2'))+0x1:_0x24fa8c[_0x2b1f('0xe0')](_0x2b1f('0xa9'))+0x1);}else for(let _0x40649e=0x0;_0x40649e<_0x35ef30[_0x2b1f('0x5')];_0x40649e++)_0x535d06[_0x2b1f('0x104')](new _0x30bfde(_0x2b1f('0x83'),{'vid':null===_0x1f650a?this['_revisionId']++:_0x1f650a++}));if(_0x3ce6ce['is'](_0x2b1f('0x1e'))){const _0xdff405=G(_0x3ce6ce[_0x2b1f('0xc')]);return _0xdff405[_0x2b1f('0xe5')](0x0,_0x535d06),_0xdff405;}return _0x5ac84a[_0x2b1f('0x7f')](_0x2b1f('0xa9'),null===_0x1f650a?this[_0x2b1f('0xa3')]++:_0x1f650a++),_0x5ac84a[_0x2b1f('0xe5')](0x0,_0x535d06),_0x5ac84a;}['_calculateMetaData'](_0x552453,_0x1ff016,_0x1652da){this[_0x2b1f('0x89')]();const {roots:_0x25694d,markers:_0x2aa1d4,rootsAttributes:_0x25e0ee}=this[_0x2b1f('0x33')][_0x2b1f('0x1c')](_0x552453);this[_0x2b1f('0x97')]=new Map(_0x25694d),this['_baseRootsAttributes']=new Map(_0xf2b218(_0x25e0ee));for(const [_0x53ea71,_0x5197d3]of this[_0x2b1f('0x97')])if('$graveyard'!==_0x53ea71&&(this['_diffRoots'][_0x2b1f('0xde')](_0x53ea71,q(_0x5197d3)),this[_0x2b1f('0x10')]=new Map(_0xf2b218(_0x25e0ee)),_0x1652da)){const _0x1a9e62=this[_0x2b1f('0xa3')];this[_0x2b1f('0x64')][_0x2b1f('0xde')](_0x53ea71,this[_0x2b1f('0x87')](_0x5197d3)),this[_0x2b1f('0xf3')][_0x2b1f('0xde')](_0x53ea71,this[_0x2b1f('0x87')](_0x5197d3,_0x1a9e62));}this[_0x2b1f('0x6c')]=this['_revisionId'],this[_0x2b1f('0x6d')][_0x2b1f('0xde')](_0x2b1f('0xf6'),q(this[_0x2b1f('0x97')][_0x2b1f('0x1c')](_0x2b1f('0xf6')))),_0x1652da&&this['_idsRoots'][_0x2b1f('0xde')](_0x2b1f('0xf6'),this[_0x2b1f('0x87')](this[_0x2b1f('0x97')][_0x2b1f('0x1c')]('$graveyard')));for(const [_0x481d68,_0xe6c66e]of _0x2aa1d4){const _0x568a6b=this[_0x2b1f('0x97')][_0x2b1f('0x1c')](_0xe6c66e[_0x2b1f('0xc')]),_0x1f1110=this[_0x2b1f('0x6d')][_0x2b1f('0x1c')](_0xe6c66e[_0x2b1f('0xc')]),_0x7dd1e=new _0x2ff7d4(this[_0x2b1f('0x1a')](_0xe6c66e[_0x2b1f('0xf5')],_0x568a6b),this[_0x2b1f('0x1a')](_0xe6c66e[_0x2b1f('0x2f')],_0x568a6b)),_0x48ec28=this[_0x2b1f('0xdd')](_0x7dd1e,_0x1f1110);_0x568a6b[_0x2b1f('0x2c')][_0x2b1f('0xde')](_0x481d68,_0x7dd1e),this[_0x2b1f('0x81')]['set'](_0x481d68,_0x48ec28);}this['_applyOperations'](_0x552453,_0x1ff016,_0x1652da);}[_0x2b1f('0x30')](_0x4dbd79,_0x437fb3,_0x56a988){for(const _0x3891a0 of this[_0x2b1f('0xfd')][_0x2b1f('0x8d')](_0x4dbd79,_0x437fb3))this['_handleOperation'](_0x3891a0,_0x56a988);for(const _0x208adb of this[_0x2b1f('0x6d')][_0x2b1f('0x60')]())_0x208adb[_0x2b1f('0x2c')][_0x2b1f('0xa6')]();for(const [_0xba088e,_0x541cda]of this[_0x2b1f('0x81')]){this[_0x2b1f('0x6d')][_0x2b1f('0x1c')](_0x541cda[_0x2b1f('0x19')]['rootName'])[_0x2b1f('0x2c')][_0x2b1f('0xde')](_0xba088e,_0x541cda[_0x2b1f('0x5b')]());}const _0x29a257=new Map(),_0x3b1964=new Map();for(const [_0x586bbc,_0x3a6f4e]of this[_0x2b1f('0x6d')])_0x29a257[_0x2b1f('0xde')](_0x586bbc,q(_0x3a6f4e)),_0x3b1964[_0x2b1f('0xde')](_0x586bbc,this[_0x2b1f('0x10')][_0x2b1f('0x1c')](_0x586bbc));this[_0x2b1f('0x70')](_0x437fb3,_0x29a257,this[_0x2b1f('0x81')],_0x3b1964);}[_0x2b1f('0xc7')](_0x4a7c18){const _0x14238e=Array[_0x2b1f('0x109')](this[_0x2b1f('0x33')][_0x2b1f('0x7a')]());_0x14238e['sort']((_0x2ddc80,_0xd4b76d)=>_0x2ddc80-_0xd4b76d),_0x14238e[_0x2b1f('0xf9')]();for(const _0x2a5262 of _0x14238e)if(_0x2a5262<_0x4a7c18)return _0x2a5262;return Number['NEGATIVE_INFINITY'];}[_0x2b1f('0xec')](_0x9cb7e6,_0x3add7a){const _0x2f0e48=Array['from'](_0x3add7a[_0x2b1f('0x2c')])[_0x2b1f('0x48')](([_0x72e30a,_0x4a96ba])=>[_0x72e30a,this[_0x2b1f('0xdd')](_0x4a96ba,_0x9cb7e6)]);_0x9cb7e6[_0x2b1f('0x2c')]=new Map(_0x2f0e48);}[_0x2b1f('0x85')](_0xfe0f74){for(const _0x528ac2 of this['_markers']['values']()){const _0x504429=_0x528ac2[_0x2b1f('0xb0')](_0xfe0f74),_0xaf8a70=_0x2ff7d4[_0x2b1f('0x7')](_0x504429);_0x528ac2[_0x2b1f('0xf5')]=_0xaf8a70[_0x2b1f('0xf5')],_0x528ac2[_0x2b1f('0x2f')]=_0xaf8a70['end'];}}[_0x2b1f('0x44')](_0x541200,_0x578759){if(_0x2b1f('0xe6')==_0x541200[_0x2b1f('0x69')]||_0x2b1f('0x99')==_0x541200[_0x2b1f('0x69')])return void this[_0x2b1f('0x12')](_0x541200,_0x578759);if('insert'==_0x541200['type']){const _0xa26e75=_0x541200[_0x2b1f('0x67')][_0x2b1f('0x19')][_0x2b1f('0xc')];this[_0x2b1f('0x6d')][_0x2b1f('0xf7')](_0xa26e75)||(this[_0x2b1f('0x6d')][_0x2b1f('0xde')](_0xa26e75,G(_0xa26e75,!0x0)),this[_0x2b1f('0x10')][_0x2b1f('0xde')](_0xa26e75,{}),_0x578759&&this['_idsRoots'][_0x2b1f('0xde')](_0xa26e75,G(_0xa26e75,!0x0)));}else{if('addRootAttribute'==_0x541200[_0x2b1f('0x69')]||_0x2b1f('0x5e')==_0x541200[_0x2b1f('0x69')]||_0x2b1f('0x4')==_0x541200[_0x2b1f('0x69')])return void this[_0x2b1f('0x3')](_0x541200);}const _0x218bca=this[_0x2b1f('0xc6')](_0x541200,this[_0x2b1f('0x6d')]);if(_0x2b1f('0xa8')!==_0x541200[_0x2b1f('0x69')]&&(_0x218bca[_0x2b1f('0xd9')](),this[_0x2b1f('0x85')](_0x218bca)),_0x578759)switch(_0x218bca[_0x2b1f('0x69')]){case _0x2b1f('0x21'):this['_handleInsertOperation'](_0x541200);break;case _0x2b1f('0xf2'):case _0x2b1f('0xac'):case _0x2b1f('0xb2'):this['_handleMoveOperation'](_0x541200);break;case _0x2b1f('0xd7'):this[_0x2b1f('0xdf')](_0x541200);break;case'split':this['_handleSplitOperation'](_0x541200);break;case'marker':this[_0x2b1f('0x61')](_0x541200);}}[_0x2b1f('0xc6')](_0x90d4a4,_0x39cffd){const _0xea5822=_0x90d4a4[_0x2b1f('0x5b')]();return _0xea5822[_0x2b1f('0x2a')]=_0x90d4a4[_0x2b1f('0x2a')],this['_fixOperation'](_0xea5822,_0x39cffd),_0xea5822;}['_getBaseVids'](_0x85c145){return _0x85c145[_0x2b1f('0x48')](_0x3c2291=>{const _0x3ff531=this[_0x2b1f('0xe4')](_0x3c2291);return Number(_0x3c2291['item'][_0x2b1f('0xe0')](_0x3ff531));});}[_0x2b1f('0xf')](_0x10dac0,_0x381ff6){if(_0x10dac0['is'](_0x2b1f('0x3e'),'$text'))_0x381ff6[_0x2b1f('0x104')]({'item':_0x10dac0,'type':'text'});else{_0x10dac0['is'](_0x2b1f('0x3e'))&&_0x381ff6[_0x2b1f('0x104')]({'item':_0x10dac0,'type':_0x2b1f('0x56')});for(const _0x499437 of _0x10dac0['getChildren']())this[_0x2b1f('0xf')](_0x499437,_0x381ff6);_0x10dac0['is'](_0x2b1f('0x3e'))&&_0x381ff6[_0x2b1f('0x104')]({'item':_0x10dac0,'type':_0x2b1f('0xc1')});}return _0x381ff6;}[_0x2b1f('0xb6')](){const _0x452ac7=new Map(this[_0x2b1f('0xcb')]),_0x50c46a=new Map(_0x452ac7),_0x3aace5=new Map(),_0x202a92={'insertions':{},'deletions':{}},_0x5cb340={'insertions':{},'deletions':{}},_0x26cfb7=new Map(),_0x465b0e=new Set([...this[_0x2b1f('0x97')]['keys'](),...this[_0x2b1f('0x6d')][_0x2b1f('0x7a')]()]);_0x465b0e[_0x2b1f('0x9e')]('$graveyard');for(const _0x1addfb of _0x465b0e){const _0x58be52=this[_0x2b1f('0x6d')]['get'](_0x1addfb)||G(_0x1addfb,!0x1),_0x31b2fc=this[_0x2b1f('0x97')][_0x2b1f('0x1c')](_0x1addfb)||G(_0x1addfb,!0x1);_0x58be52[_0x2b1f('0x9b')]()||_0x31b2fc[_0x2b1f('0x9b')]()?(_0x202a92['insertions'][_0x1addfb]=q(_0x58be52),_0x202a92[_0x2b1f('0x93')][_0x1addfb]=q(_0x31b2fc),this[_0x2b1f('0xec')](_0x202a92[_0x2b1f('0x93')][_0x1addfb],_0x31b2fc),this[_0x2b1f('0xec')](_0x202a92[_0x2b1f('0x29')][_0x1addfb],_0x58be52),_0x5cb340[_0x2b1f('0x29')][_0x1addfb]=this[_0x2b1f('0xf')](this[_0x2b1f('0x64')][_0x2b1f('0x1c')](_0x1addfb),[]),_0x5cb340[_0x2b1f('0x93')][_0x1addfb]=this['_generateTape'](this[_0x2b1f('0xf3')][_0x2b1f('0x1c')](_0x1addfb)||G(_0x1addfb,!0x1),[])):_0x465b0e[_0x2b1f('0x9e')](_0x1addfb);}for(const _0x4b9af1 of _0x465b0e){const _0x2451a6=_0x5cb340[_0x2b1f('0x29')][_0x4b9af1];for(const _0x145e5c of _0x2451a6){const _0x207ae2=this['_getVidAttributeName'](_0x145e5c),_0x35d097=_0x145e5c[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x207ae2);_0x50c46a[_0x2b1f('0x9e')](_0x35d097),_0x35d097>=this[_0x2b1f('0x6c')]&&_0x3aace5[_0x2b1f('0xde')](_0x35d097,_0x452ac7['get'](_0x35d097));}}for(const _0x57276a of _0x465b0e){const _0x2e3ee9=_0x5cb340[_0x2b1f('0x29')][_0x57276a],_0x65b836=this[_0x2b1f('0x79')](_0x5cb340[_0x2b1f('0x93')][_0x57276a]);let _0x3f44b5=0x0;for(const _0x5290e8 of _0x2e3ee9){const _0x3737b4=this[_0x2b1f('0xe4')](_0x5290e8),_0x5db632=_0x5290e8[_0x2b1f('0x37')]['getAttribute'](_0x3737b4);if(!_0x3aace5[_0x2b1f('0xf7')](_0x5db632)&&!_0x26cfb7[_0x2b1f('0xf7')](_0x5db632)){if(_0x50c46a[_0x2b1f('0xf7')](_0x5db632))_0x3f44b5++;else{if(_0x5db632!=_0x65b836[_0x3f44b5]){const _0x57ba39=_0x452ac7[_0x2b1f('0x1c')](_0x5db632)||_0x452ac7['get'](_0x65b836[_0x3f44b5]);for(;_0x5db632!=_0x65b836[_0x3f44b5];)_0x50c46a[_0x2b1f('0xf7')](_0x65b836[_0x3f44b5])||(_0x26cfb7['set'](_0x65b836[_0x3f44b5],_0x57ba39),_0x452ac7[_0x2b1f('0xde')](_0x65b836[_0x3f44b5],_0x57ba39)),_0x3f44b5++;}_0x3f44b5++;}}}}for(const _0xc6d445 of _0x465b0e){const _0x53426a=_0x5cb340[_0x2b1f('0x29')][_0xc6d445];for(const _0x2a5b1e of _0x53426a){const _0x34c126=this[_0x2b1f('0xe4')](_0x2a5b1e),_0x5e334e=_0x2a5b1e[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x34c126);if(_0x26cfb7['has'](_0x5e334e)){const _0x8a788c=_0x26cfb7[_0x2b1f('0x1c')](_0x5e334e);_0x50c46a[_0x2b1f('0xf7')](_0x5e334e)||_0x50c46a['set'](_0x5e334e,{..._0x8a788c}),_0x3aace5[_0x2b1f('0xde')](_0x5e334e,{..._0x8a788c});}}}for(const _0x50961f of _0x50c46a[_0x2b1f('0x7a')]())_0x50961f>=this['_startingRevisionId']&&_0x50c46a['delete'](_0x50961f);const _0x2c5ccc=new Map();for(const _0x4ccde4 of _0x465b0e){let _0x4c5b3b=_0x5cb340[_0x2b1f('0x29')][_0x4ccde4];for(const _0x4492c0 of _0x4c5b3b)if(_0x4492c0['item']['is']('element',_0x2b1f('0x40'))){const _0x1778b1=this[_0x2b1f('0xe4')](_0x4492c0),_0x11f6af=_0x4492c0[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x1778b1);if(_0x3aace5[_0x2b1f('0xf7')](_0x11f6af)){const _0x39f79a=_0x4492c0[_0x2b1f('0x37')][_0x2b1f('0x9a')][_0x2b1f('0x9a')][_0x2b1f('0xe0')](_0x2b1f('0x2d')),_0xb2bccc=_0x2c5ccc[_0x2b1f('0x1c')](_0x39f79a)||new Set();_0xb2bccc[_0x2b1f('0xc3')](_0x3aace5[_0x2b1f('0x1c')](_0x11f6af)[_0x2b1f('0xf1')]),_0x2c5ccc['set'](_0x39f79a,_0xb2bccc);}}_0x4c5b3b=_0x5cb340['deletions'][_0x4ccde4];for(const _0x16c3fd of _0x4c5b3b)if(_0x16c3fd[_0x2b1f('0x37')]['is'](_0x2b1f('0x3e'),'tableCell')){const _0x4d1306=this[_0x2b1f('0xe4')](_0x16c3fd),_0x5f3375=_0x16c3fd[_0x2b1f('0x37')]['getAttribute'](_0x4d1306);if(_0x50c46a[_0x2b1f('0xf7')](_0x5f3375)){const _0xbab996=_0x16c3fd[_0x2b1f('0x37')]['parent'][_0x2b1f('0x9a')][_0x2b1f('0xe0')]('vid_start'),_0x33b90e=_0x2c5ccc[_0x2b1f('0x1c')](_0xbab996)||new Set();_0x33b90e['add'](_0x50c46a[_0x2b1f('0x1c')](_0x5f3375)[_0x2b1f('0xf1')]),_0x2c5ccc[_0x2b1f('0xde')](_0xbab996,_0x33b90e);}}for(const _0x25a01c of _0x2c5ccc[_0x2b1f('0x7a')]())(_0x3aace5[_0x2b1f('0xf7')](_0x25a01c)||_0x50c46a[_0x2b1f('0xf7')](_0x25a01c))&&_0x2c5ccc[_0x2b1f('0x9e')](_0x25a01c);}for(const _0x1b8f33 of _0x465b0e){const _0x110d76=_0x5cb340[_0x2b1f('0x29')][_0x1b8f33];let _0x222773=null,_0x2b4cbe=null;for(const _0x48068a of _0x110d76){const _0x2291c0=this[_0x2b1f('0xe4')](_0x48068a),_0xabe098=_0x48068a[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x2291c0),_0x1625c9=_0x2c5ccc[_0x2b1f('0x1c')](_0xabe098);_0x1625c9&&'elementStart'==_0x48068a['type']&&(_0x222773=Array[_0x2b1f('0x109')](_0x1625c9)[0x0],_0x2b4cbe=_0x48068a[_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x2b1f('0xa9'))),_0x222773&&(_0x50c46a[_0x2b1f('0xde')](_0xabe098,{'userId':_0x222773}),_0x3aace5[_0x2b1f('0xde')](_0xabe098,{'userId':_0x222773})),_0xabe098==_0x2b4cbe&&(_0x222773=null,_0x2b4cbe=null);}}const _0x34f9a7={},_0x2ec8bd=new Set();for(const _0x2c5289 of _0x465b0e){const _0x56fe01=_0x202a92[_0x2b1f('0x93')][_0x2c5289],_0x11e157=_0x202a92[_0x2b1f('0x29')][_0x2c5289];for(const {userId:_0x143674}of this['_touchedMarkers'][_0x2b1f('0x60')]())null!==_0x143674&&_0x2ec8bd['add'](_0x143674);for(const {userId:_0x362bac}of this['_touchedRoots']['values']())null!==_0x362bac&&_0x2ec8bd['add'](_0x362bac);this['_markChanges'](_0x11e157,_0x5cb340[_0x2b1f('0x29')][_0x2c5289],_0x3aace5,_0x2b1f('0xee'),_0x2ec8bd),this[_0x2b1f('0xb')](_0x56fe01,_0x5cb340[_0x2b1f('0x93')][_0x2c5289],_0x50c46a,'deletion',_0x2ec8bd),_0x34f9a7[_0x2c5289]={'insertions':this[_0x2b1f('0xae')](_0x11e157),'deletions':this[_0x2b1f('0xae')](_0x56fe01),'attachChange':this['_touchedRoots']['get'](_0x2c5289)||null,'attributesBefore':_0xf2b218(this[_0x2b1f('0xb5')][_0x2b1f('0x1c')](_0x2c5289))||{},'attributesAfter':_0xf2b218(this[_0x2b1f('0x10')]['get'](_0x2c5289))};}return{'diffData':_0x34f9a7,'authorsIds':Array[_0x2b1f('0x109')](_0x2ec8bd)};}[_0x2b1f('0x59')](_0x1b4bb4){for(const [,_0x553bd7]of _0x1b4bb4[_0x2b1f('0x2c')]){const _0x339246=_0x553bd7[_0x2b1f('0xf5')][_0x2b1f('0x35')]()['filter'](_0x44c669=>_0x2b1f('0x40')==_0x44c669[_0x2b1f('0x23')]);for(const _0x6d0260 of _0x339246)0x1==_0x6d0260[_0x2b1f('0x4d')]&&_0x6d0260['getChild'](0x0)['is']('element',_0x2b1f('0x9d'))&&_0x6d0260[_0x2b1f('0x7b')](0x0)[_0x2b1f('0x7f')](_0x2b1f('0x5d'),!0x0);}}[_0x2b1f('0xae')](_0x4b24ae){this['_processRootBeforeSave'](_0x4b24ae);const _0x129187=this[_0x2b1f('0xe3')][_0x2b1f('0x3d')][_0x2b1f('0x8c')](_0x4b24ae,{}),_0x21e317=Array[_0x2b1f('0x109')](_0x129187[_0x2b1f('0x7d')]())[_0x2b1f('0x48')](_0x5be954=>this[_0x2b1f('0xc0')](_0x5be954));return JSON[_0x2b1f('0x18')](_0x21e317);}[_0x2b1f('0xc0')](_0x4ad2a8){if(_0x4ad2a8['is'](_0x2b1f('0x83')))return _0x4ad2a8['data'];{const _0x446d60=_0x4ad2a8;return{'type':Object[_0x2b1f('0x7a')](B)['find'](_0x2ed9b8=>_0x4ad2a8 instanceof B[_0x2ed9b8]),'name':_0x446d60[_0x2b1f('0x23')],'attributes':Array[_0x2b1f('0x109')](_0x446d60[_0x2b1f('0x9c')]()),'children':Array[_0x2b1f('0x109')](_0x446d60['getChildren']())[_0x2b1f('0x48')](_0x28a431=>this[_0x2b1f('0xc0')](_0x28a431))};}}[_0x2b1f('0xb')](_0x16c562,_0x299383,_0x15dbd8,_0x40bcec,_0x209352){let _0x49ef30=null,_0x3a7c18=null,_0x75ce4b=0x0;const _0x554b4b=this[_0x2b1f('0xe3')][_0x2b1f('0x6')];for(let _0x39715c=0x0;_0x39715c<_0x299383[_0x2b1f('0x106')];_0x39715c++){const _0x4a02c7=this['_getVidAttributeName'](_0x299383[_0x39715c]),_0x4943de=_0x299383[_0x39715c][_0x2b1f('0x37')][_0x2b1f('0xe0')](_0x4a02c7),_0x394c83=_0x15dbd8[_0x2b1f('0x1c')](_0x4943de),_0x29883c=_0x39715c==_0x299383[_0x2b1f('0x106')]-0x1;(!_0x49ef30&&_0x394c83&&(_0x49ef30=_0x394c83,_0x3a7c18=_0x299383[_0x39715c]),_0x49ef30&&(!_0x394c83||_0x394c83[_0x2b1f('0xf1')]!=_0x49ef30['userId']))&&(_0x2101f6(_0x394c83,L(_0x3a7c18,_0x16c562,_0x554b4b),L(_0x299383[_0x39715c],_0x16c562,_0x554b4b)),_0x49ef30=_0x394c83||null,_0x3a7c18=_0x394c83?_0x299383[_0x39715c]:null),_0x49ef30&&_0x29883c&&_0x2101f6(_0x394c83,L(_0x3a7c18,_0x16c562,_0x554b4b),W(_0x299383[_0x39715c],_0x16c562,_0x554b4b));}function _0x2101f6(_0x3b169c,_0x25ccdd,_0x30162c){const _0x4529b1=_0x49ef30['userId'],_0x3996fd='revision:'+_0x40bcec+':'+_0x4529b1+':'+_0x75ce4b++,_0x3896ba=_0x554b4b['createRange'](_0x25ccdd,_0x30162c);_0x16c562[_0x2b1f('0x2c')][_0x2b1f('0xde')](_0x3996fd,_0x3896ba),null!==_0x4529b1&&_0x209352[_0x2b1f('0xc3')](_0x4529b1);}}[_0x2b1f('0xe4')](_0x3afa3c){switch(_0x3afa3c[_0x2b1f('0x69')]){case _0x2b1f('0x56'):return _0x2b1f('0x2d');case _0x2b1f('0xc1'):return _0x2b1f('0xa9');default:return _0x2b1f('0xc2');}}[_0x2b1f('0x92')](_0x95d2e,_0x177b6f){_0x95d2e[_0x2b1f('0x82')]=null;for(const _0xb0fabc in _0x95d2e){const _0x1eb8df=_0x95d2e[_0xb0fabc];if(_0x1eb8df instanceof _0x197ee7){const _0x1f16ce=_0x177b6f[_0x2b1f('0x1c')](_0x1eb8df[_0x2b1f('0x19')][_0x2b1f('0xc')]);_0x95d2e[_0xb0fabc]=this[_0x2b1f('0x1a')](_0x1eb8df,_0x1f16ce);}if(_0x1eb8df instanceof _0x2ff7d4){const _0x4b74c6=_0x177b6f[_0x2b1f('0x1c')](_0x1eb8df[_0x2b1f('0x19')][_0x2b1f('0xc')]);_0x95d2e[_0xb0fabc]=this[_0x2b1f('0xdd')](_0x1eb8df,_0x4b74c6);}_0x2b1f('0x19')===_0xb0fabc&&(_0x95d2e[_0x2b1f('0x19')]=_0x177b6f[_0x2b1f('0x1c')](_0x95d2e['root'][_0x2b1f('0xc')]));}}[_0x2b1f('0xdd')](_0x4a6238,_0x5df853){return this[_0x2b1f('0xe3')][_0x2b1f('0x6')][_0x2b1f('0x52')](this[_0x2b1f('0x1a')](_0x4a6238[_0x2b1f('0xf5')],_0x5df853),this[_0x2b1f('0x1a')](_0x4a6238['end'],_0x5df853));}[_0x2b1f('0x1a')](_0x426a52,_0x44895f){return this[_0x2b1f('0xe3')]['model'][_0x2b1f('0x20')](_0x44895f,_0x426a52[_0x2b1f('0x8')],_0x426a52[_0x2b1f('0xbd')]);}[_0x2b1f('0x8e')](_0x474068){const _0x2ebf24=this[_0x2b1f('0x64')][_0x2b1f('0x1c')](_0x474068[_0x2b1f('0x67')][_0x2b1f('0x19')][_0x2b1f('0xc')]),_0x3c29a2=this[_0x2b1f('0x1a')](_0x474068[_0x2b1f('0x67')],_0x2ebf24),_0x495e8f=null===_0x474068['_authorId']?null:_0x474068['_authorId']||this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x4e0255=_0x3c29a2[_0x2b1f('0x9a')],_0x7f9d67=this['_revisionId'],_0x4d6810=[];for(const _0x1cacbe of _0x474068[_0x2b1f('0xb9')])if(_0x1cacbe['is'](_0x2b1f('0x3e')))_0x4d6810[_0x2b1f('0x104')](this[_0x2b1f('0x87')](_0x1cacbe));else for(let _0x4217f3=0x0;_0x4217f3<_0x1cacbe['offsetSize'];_0x4217f3++)_0x4d6810[_0x2b1f('0x104')](new _0x30bfde(_0x2b1f('0x83'),{'vid':this[_0x2b1f('0xa3')]++}));const _0x5cf758=this[_0x2b1f('0xa3')];for(let _0x400d04=_0x7f9d67;_0x400d04<_0x5cf758;_0x400d04++)this[_0x2b1f('0xcb')]['set'](_0x400d04,{'userId':_0x495e8f});_0x4e0255[_0x2b1f('0xe5')](_0x3c29a2[_0x2b1f('0x5f')],_0x4d6810);}['_handleMoveOperation'](_0x4a5e99){(_0x4a5e99=this[_0x2b1f('0xc6')](_0x4a5e99,this[_0x2b1f('0x64')]))['_execute']();const _0x553c71=null===_0x4a5e99[_0x2b1f('0x2a')]?null:_0x4a5e99[_0x2b1f('0x2a')]||this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x5a1899=_0x4a5e99[_0x2b1f('0xf8')](),_0x1cb11a=_0x5a1899[_0x2b1f('0x9a')],_0x2aa47d=_0x5a1899[_0x2b1f('0x5f')];!function _0x4e0a04(_0x1341f5,_0x2822ec,_0x446e91,_0x390006){for(let _0x2ac2d6=_0x446e91;_0x2ac2d6<_0x390006;_0x2ac2d6++){const _0x395825=_0x2822ec[_0x2b1f('0x7b')](_0x2ac2d6);_0x395825['is'](_0x2b1f('0x3e'),'$text')?_0x1341f5[_0x2b1f('0xde')](_0x395825[_0x2b1f('0xe0')](_0x2b1f('0xc2')),{'userId':_0x553c71}):(_0x1341f5['set'](_0x395825[_0x2b1f('0xe0')](_0x2b1f('0x2d')),{'userId':_0x553c71}),_0x4e0a04(_0x1341f5,_0x395825,0x0,_0x395825[_0x2b1f('0x4d')]),_0x1341f5[_0x2b1f('0xde')](_0x395825[_0x2b1f('0xe0')](_0x2b1f('0xa9')),{'userId':_0x553c71}));}}(this['_touched'],_0x1cb11a,_0x2aa47d,_0x2aa47d+_0x4a5e99[_0x2b1f('0xb3')]);}['_handleMergeOperation'](_0x4aafdf){const _0x191122=null===(_0x4aafdf=this['_cloneOperation'](_0x4aafdf,this[_0x2b1f('0x64')]))['_authorId']?null:_0x4aafdf[_0x2b1f('0x2a')]||this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x322009=_0x4aafdf['targetPosition']['parent'],_0x146f28=_0x4aafdf[_0x2b1f('0x47')][_0x2b1f('0x9a')],_0x432f0e=_0x322009[_0x2b1f('0xe0')](_0x2b1f('0xa9')),_0x39cbba=_0x146f28[_0x2b1f('0xe0')]('vid_start');_0x322009['_setAttribute'](_0x2b1f('0xa9'),_0x146f28[_0x2b1f('0xe0')](_0x2b1f('0xa9'))),_0x146f28[_0x2b1f('0x7f')](_0x2b1f('0xa9'),_0x432f0e),this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x39cbba,{'userId':_0x191122}),this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x432f0e,{'userId':_0x191122}),_0x4aafdf[_0x2b1f('0xd9')]();}[_0x2b1f('0x9f')](_0x81cbff){const _0x4f9280=null===(_0x81cbff=this['_cloneOperation'](_0x81cbff,this[_0x2b1f('0x64')]))[_0x2b1f('0x2a')]?null:_0x81cbff[_0x2b1f('0x2a')]||this[_0x2b1f('0xe3')][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x57ab0c=_0x81cbff[_0x2b1f('0xdb')],_0x30477c=_0x81cbff[_0x2b1f('0xe8')][_0x2b1f('0x9a')];_0x81cbff[_0x2b1f('0xd9')]();const _0x3932b4=_0x30477c[_0x2b1f('0xe0')](_0x2b1f('0xa9')),_0x5c91b8=_0x81cbff['insertionPosition']['nodeAfter'];if(_0x57ab0c){const _0x4c2f74=_0x5c91b8[_0x2b1f('0xe0')](_0x2b1f('0xa9')),_0x464bcf=_0x30477c[_0x2b1f('0xe0')]('vid_end');_0x30477c[_0x2b1f('0x7f')](_0x2b1f('0xa9'),_0x4c2f74),_0x5c91b8[_0x2b1f('0x7f')](_0x2b1f('0xa9'),_0x464bcf),this['_touched'][_0x2b1f('0xde')](_0x30477c[_0x2b1f('0xe0')](_0x2b1f('0xa9')),{'userId':_0x4f9280}),this[_0x2b1f('0xcb')]['set'](_0x5c91b8['getAttribute'](_0x2b1f('0x2d')),{'userId':_0x4f9280});}else{const _0x36a5ef=this[_0x2b1f('0xa3')]++,_0x5ebc62=this[_0x2b1f('0xa3')]++;_0x30477c[_0x2b1f('0x7f')]('vid_end',_0x36a5ef),_0x5c91b8[_0x2b1f('0x7f')](_0x2b1f('0x2d'),_0x5ebc62),_0x5c91b8[_0x2b1f('0x7f')](_0x2b1f('0xa9'),_0x3932b4),this[_0x2b1f('0xcb')][_0x2b1f('0xde')](_0x36a5ef,{'userId':_0x4f9280}),this['_touched'][_0x2b1f('0xde')](_0x5ebc62,{'userId':_0x4f9280});}}[_0x2b1f('0x61')](_0x404eb9){if(!_0x404eb9['affectsData'])return;const _0x2eaf37=(_0x404eb9=this[_0x2b1f('0xc6')](_0x404eb9,this[_0x2b1f('0x6d')]))[_0x2b1f('0x24')]?_0x404eb9[_0x2b1f('0x24')][_0x2b1f('0x19')]:null,_0x1fc776=_0x404eb9[_0x2b1f('0xe1')]?_0x404eb9[_0x2b1f('0xe1')][_0x2b1f('0x19')]:null;_0x2eaf37&&this['_markers']['delete'](_0x404eb9[_0x2b1f('0x23')]),_0x1fc776&&this['_markers'][_0x2b1f('0xde')](_0x404eb9['name'],_0x404eb9[_0x2b1f('0xe1')][_0x2b1f('0x5b')]());const _0x4e6392=null===_0x404eb9['_authorId']?null:_0x404eb9[_0x2b1f('0x2a')]||this[_0x2b1f('0xe3')]['plugins'][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x40e15a=_0x404eb9[_0x2b1f('0x23')];if(!this[_0x2b1f('0xce')]['has'](_0x40e15a))return void this[_0x2b1f('0xce')]['set'](_0x40e15a,{'range':_0x404eb9[_0x2b1f('0x24')],'userId':_0x4e6392});const _0x1d4ac0=this[_0x2b1f('0xce')]['get'](_0x40e15a),_0x15c616=_0x1d4ac0[_0x2b1f('0xfe')],_0x1787d0=_0x404eb9[_0x2b1f('0xe1')];null==_0x15c616&&null==_0x1787d0||_0x15c616&&_0x1787d0&&_0x15c616[_0x2b1f('0x45')](_0x1787d0)?this['_touchedMarkers']['delete'](_0x404eb9[_0x2b1f('0x23')]):_0x1d4ac0['userId']=_0x4e6392;}[_0x2b1f('0x12')](_0x4e3f9b,_0x4be9db){this['_diffRoots']['has'](_0x4e3f9b[_0x2b1f('0xc')])?this[_0x2b1f('0x6d')][_0x2b1f('0x1c')](_0x4e3f9b[_0x2b1f('0xc')])[_0x2b1f('0x3b')]=_0x4e3f9b[_0x2b1f('0x42')]:(this[_0x2b1f('0x6d')]['set'](_0x4e3f9b[_0x2b1f('0xc')],G(_0x4e3f9b[_0x2b1f('0xc')],!0x0)),this[_0x2b1f('0x10')][_0x2b1f('0xde')](_0x4e3f9b[_0x2b1f('0xc')],{}),_0x4be9db&&this[_0x2b1f('0x64')][_0x2b1f('0xde')](_0x4e3f9b['rootName'],G(_0x4e3f9b[_0x2b1f('0xc')],!0x0)));const _0x835a1e=null===_0x4e3f9b[_0x2b1f('0x2a')]?null:_0x4e3f9b[_0x2b1f('0x2a')]||this['editor'][_0x2b1f('0x22')][_0x2b1f('0x1c')](_0x2b1f('0x105'))['me']['id'],_0x557644=this[_0x2b1f('0xa5')][_0x2b1f('0x1c')](_0x4e3f9b[_0x2b1f('0xc')]);_0x557644&&_0x557644[_0x2b1f('0xf1')]===_0x835a1e?this['_touchedRoots'][_0x2b1f('0x9e')](_0x4e3f9b[_0x2b1f('0xc')]):this[_0x2b1f('0xa5')][_0x2b1f('0xde')](_0x4e3f9b[_0x2b1f('0xc')],{'userId':_0x835a1e,'isAttached':_0x4e3f9b[_0x2b1f('0x42')]});}['_handleRootAttributeOperation'](_0x366b0d){const _0x51111c=this['_diffRootsAttributes'][_0x2b1f('0x1c')](_0x366b0d[_0x2b1f('0x19')][_0x2b1f('0xc')]);null===_0x366b0d[_0x2b1f('0xb7')]?delete _0x51111c[_0x366b0d[_0x2b1f('0x95')]]:_0x51111c[_0x366b0d[_0x2b1f('0x95')]]=_0x366b0d['newValue'];}}function q(_0xa6bf82){const _0x1498c9=G(_0xa6bf82[_0x2b1f('0xc')],_0xa6bf82['isAttached']());for(const _0x1713b0 of _0xa6bf82['getChildren']()){const _0x31934b=_0x1713b0[_0x2b1f('0x36')](!0x0);_0x1498c9['_appendChild'](_0x31934b);}return _0x1498c9;}function G(_0x11c5ce,_0x31d14d=!0x0){const _0x8f67d7=new _0x2bfc66();return _0x8f67d7[_0x2b1f('0xc')]=_0x11c5ce,_0x8f67d7[_0x2b1f('0x3b')]=_0x31d14d,_0x8f67d7[_0x2b1f('0x9b')]=()=>_0x8f67d7['_isAttached'],_0x8f67d7;}function L(_0x2eb7a4,_0x2e43a1,_0x21db43){const _0x3182ef='elementEnd'==_0x2eb7a4[_0x2b1f('0x69')]?_0x21db43[_0x2b1f('0x102')](_0x2eb7a4[_0x2b1f('0x37')],'end'):_0x21db43[_0x2b1f('0xd')](_0x2eb7a4[_0x2b1f('0x37')]);return _0x21db43['createPositionFromPath'](_0x2e43a1,_0x3182ef[_0x2b1f('0x8')],_0x3182ef[_0x2b1f('0xbd')]);}function W(_0xdba62a,_0x15a6be,_0x641669){const _0x5108a3='elementStart'==_0xdba62a[_0x2b1f('0x69')]?_0x641669[_0x2b1f('0x102')](_0xdba62a[_0x2b1f('0x37')],0x0):_0x641669[_0x2b1f('0xd3')](_0xdba62a['item']);return _0x641669[_0x2b1f('0x20')](_0x15a6be,_0x5108a3[_0x2b1f('0x8')],_0x5108a3[_0x2b1f('0xbd')]);}