@ckeditor/ckeditor5-revision-history 35.1.0 → 35.2.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 (37) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/es-co.js +1 -0
  3. package/build/translations/fa.js +1 -1
  4. package/build/translations/tt.js +1 -0
  5. package/lang/translations/es-co.po +124 -0
  6. package/lang/translations/fa.po +1 -1
  7. package/lang/translations/tt.po +122 -0
  8. package/package.json +7 -7
  9. package/src/changeitem.js +1 -1
  10. package/src/editor/revisionviewereditor.js +1 -1
  11. package/src/editor/revisionviewereditorui.js +1 -1
  12. package/src/editor/revisionviewereditoruiview.js +1 -1
  13. package/src/revision.js +1 -1
  14. package/src/revisiondiff.js +1 -1
  15. package/src/revisionhistory.js +1 -1
  16. package/src/revisionsrepository.js +1 -1
  17. package/src/revisiontracker.js +1 -1
  18. package/src/revisionviewer.js +1 -1
  19. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  20. package/src/ui/revision/revisionauthorview.js +1 -1
  21. package/src/ui/revision/revisionnameview.js +1 -1
  22. package/src/ui/revision/revisionview.js +1 -1
  23. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  24. package/src/ui/revision/subrevisionview.js +1 -1
  25. package/src/ui/revision/utils.js +1 -1
  26. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  27. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  28. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  29. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  30. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  31. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  32. package/src/ui/revisionssidebar/utils.js +1 -1
  33. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  34. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  35. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  36. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  37. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x402d=['splice','vid_start','_threeWayMerge','span','_processTape','_setDistance','hasAttribute','upcast','view','nextPosition','_joinTapes','_refreshStartEndIndex','getAttribute','markersEnd','bindElementToMarker','_markInsertions','commands','test','revision-comment:','numberOfChanges','uiElement','schema','loadRevisionData','getChild','isRemoved','push','enableReadOnlyMode','data-revision-','checkAttribute','isReady','_getRevisionsRange','_getViewObj','getRevisionData','pairId','ck-suggestion-marker','vid_end','_markSuggestions','for','backward','isIncorrect','unshift','map','attribute:vid','ck-editor__editable__overlay','index','setData','showPreviousChange','toViewPosition','item','shift','_removeMissingPairs','merge','restoreRevision','ck-suggestion-marker-split','isContent','addMarker:revision','includes','modelRange','downcastDispatcher','suggestion:','mousedown','isCollapsed','collaboration.channelId','startIndex','change:isReadOnly','insertions','ck-suggestion-preview-marker','ck-suggestion-marker-','setAttribute','offsetSize','change:activeChange','diff','isAtStart','showStack','newRevisionId','code','createUIElement','getCustomProperty','model','parent','nextSibling','plugins','addMarker:revision-suggestion:deletion','markerRange','getWalker','stopListening','markers','requires','_removeRevisionMarkers','dataDowncast','markerName','ck-suggestion-marker--active','revisionHistory','execute','next','readOnlyMode','addRevisionData','_changeView','_markMismatchedRemovedTags','_makeTape','deletion','getRevision','createAttributeElement','revision-suggestion:','dataToMarker','previousPosition','children','RevisionViewer','removeMarker:revision-suggestion','restoreRevisionCallback','POSITIVE_INFINITY','_balloon','removeMarker','markerToHighlight','high','getRoot','done','split','unbindElementFromMarkerName','_markMarkers','_getChangeFromId','pluginName','_initInteractions','addMarker:revision-suggestion:insertion','ck-suggestion-marker-merge','deletions','removeMarker:revision','config','isAtEnd','startsWith','isAfter','markerNameToElements','conversion','wrap','length','has','_cleanUp','showNextChange','revision:','RevisionsRepository','observeMarkers','createPositionBefore','slice','low','concat','activeChange','changes','processor','then','_target','change:isReady','softBreak','level','object','_cleanMarkers','delete','editingDowncast','range','writer','compare','elementStart','isBlock','removeClass','markerToData','change:isEnabled','get','name','return','viewItem','createRange','createRangeIn','from','revision-start','mapper','consume','string','target','insert','-new','nodeAfter','keys','isEqual','isNavigationMode','set','revision-viewer','marked','adapter','element','toViewElement','side','addHighlight','isSuggestion','_fixObsoleteTags','revision-suggestion','listenTo','elementEnd','toModel','isEnabled','end','_setConversion','attributes','markersStart','_makeModelFromTape','isAdded','document','type','editor','oldRevisionId','createRevision','_getViewForChange','stop','toData','useFillerType','isBefore','filter','change','refresh','forward','distance','userId','abs','_changeIdToChange','reconvertMarker','consumable','add','bind','isRemoveSuggestion','getRootNames','sort','diffData','_data','getItems','currentChangeNumber','hasClass','addClass','_step','repository','highest','start','revision','data','_update','insertion','remove','init','resolve','revisionHistoryLabel','_setData','vid','getAttributes','clearForceDisabled','isLimit','parse','roots','forEach','_removeUnsupportedChanges','_findChangeIdFromDomTarget','getIndex','_getDiff','maxOffset','isAddSuggestion','endIndex','text','editing','_makeModelFromViewString','destroy','change:activeView','activeView','createPositionFromPath'];(function(_0x3cd299,_0x402d9b){const _0x19065a=function(_0x133a0e){while(--_0x133a0e){_0x3cd299['push'](_0x3cd299['shift']());}};_0x19065a(++_0x402d9b);}(_0x402d,0x163));const _0x1906=function(_0x3cd299,_0x402d9b){_0x3cd299=_0x3cd299-0x0;let _0x19065a=_0x402d[_0x3cd299];return _0x19065a;};import{Plugin as _0x5a52c0,Command as _0x3864b7}from'ckeditor5/src/core';import{ObservableMixin as _0x528450,mix as _0x23516d,scrollViewportToShowTarget as _0x23cfd9}from'ckeditor5/src/utils';import{ContextualBalloon as _0x229022}from'ckeditor5/src/ui';import{DocumentFragment as _0x4c4eef,Element as _0x451052,Text as _0x1e3124,ViewDocumentFragment as _0x157040,ViewText as _0x3e81b7,ViewElement as _0x93bb8f,ViewContainerElement as _0x14dfbf,ViewAttributeElement as _0x4558d0,ViewEmptyElement as _0x4c0b2a,ViewRawElement as _0x307f9e,ViewUIElement as _0x3e3413}from'ckeditor5/src/engine';import{Users as _0x44022d,getMarkerDomElement as _0x48a7d5}from'ckeditor5-collaboration/src/collaboration-core';import _0x325d7a from'./ui/revisionviewer/changedetailsview';import _0x3ffb6c from'./revisionsrepository';import _0x542d67 from'./changeitem';import _0x1142a3 from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x14dfbf,'a':_0x4558d0,'e':_0x4c0b2a,'r':_0x307f9e,'u':_0x3e3413};export default class d extends _0x5a52c0{static get[_0x1906('0x23')](){return _0x1906('0x15');}static get[_0x1906('0x1')](){return[_0x44022d,_0x229022,_0x3ffb6c];}constructor(..._0x474b8b){super(..._0x474b8b),this[_0x1906('0x96')]=this[_0x1906('0x78')]['plugins']['get'](_0x1906('0x35')),this['set'](_0x1906('0x3b'),null),this[_0x1906('0x61')]('activeView',null),this['set'](_0x1906('0xfe'),null),this['set'](_0x1906('0xd4'),!0x1),this[_0x1906('0x61')](_0x1906('0x6f'),!0x0),this['on'](_0x1906('0x4e'),(_0x4629ef,_0x101aac,_0x1f68c9)=>{this['activeChange']=null,this[_0x1906('0xb5')]=null,this[_0x1906('0x78')][_0x1906('0xb1')][_0x1906('0xbf')][_0x1906('0x81')](_0x361a2a=>{for(const _0x49db56 of this['editor'][_0x1906('0xb1')][_0x1906('0xbf')][_0x1906('0x76')][_0x1906('0xa7')])_0x1f68c9?_0x361a2a[_0x1906('0x4c')](_0x1906('0xe2'),_0x49db56):_0x361a2a[_0x1906('0x94')](_0x1906('0xe2'),_0x49db56);});}),this[_0x1906('0x8b')](_0x1906('0x60'))['to'](this,_0x1906('0x3b'),_0x5fa37b=>null!==_0x5fa37b),this['bind'](_0x1906('0x92'))['to'](this,'isReady',this,_0x1906('0xfe'),this,_0x1906('0x3b'),(_0xaf6499,_0x303107,_0xfb0444)=>_0xaf6499&&_0xfb0444?_0x303107[_0x1906('0x3c')]['getIndex'](_0xfb0444):0x0),this[_0x1906('0x8b')](_0x1906('0xca'))['to'](this,_0x1906('0xd4'),this,_0x1906('0xfe'),(_0x41a08b,_0x3de0ea)=>_0x41a08b?_0x3de0ea[_0x1906('0x3c')][_0x1906('0x30')]:0x0),this[_0x1906('0xb')]=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this[_0x1906('0x19')]=this[_0x1906('0x78')][_0x1906('0x108')][_0x1906('0x4f')](_0x229022);}[_0x1906('0x9e')](){const _0x2ed0a7=this[_0x1906('0x78')],_0x24751b=new et(_0x2ed0a7,{'direction':_0x1906('0xdd')}),_0x44122b=new et(_0x2ed0a7,{'direction':'forward'});_0x2ed0a7[_0x1906('0xc7')][_0x1906('0x8a')](_0x1906('0xe5'),_0x24751b),_0x2ed0a7['commands'][_0x1906('0x8a')](_0x1906('0x33'),_0x44122b),_0x2ed0a7['commands'][_0x1906('0x8a')](_0x1906('0xeb'),new tt(_0x2ed0a7)),this['on']('change:numberOfChanges',()=>{_0x24751b[_0x1906('0x82')](),_0x44122b[_0x1906('0x82')]();}),this[_0x1906('0x71')](),this['_initInteractions'](),_0x2ed0a7[_0x1906('0xd1')](_0x1906('0x62'));}async[_0x1906('0xd7')](_0xf0c8b1){await this[_0x1906('0xcd')](_0xf0c8b1);const _0x4b1665={};for(const _0xbfce56 in _0xf0c8b1[_0x1906('0x8f')]){const _0x31a0fe=this[_0x1906('0x2')](JSON['parse'](_0xf0c8b1[_0x1906('0x8f')][_0xbfce56][_0x1906('0xf8')])),_0x53214d=this[_0x1906('0x78')]['editing'][_0x1906('0xbf')][_0x1906('0x76')],_0x46e23f=new _0x157040(_0x53214d,_0x31a0fe[_0x1906('0xe0')](_0x2598c5=>this['_getViewObj'](_0x2598c5)));this[_0x1906('0x78')][_0x1906('0x9a')][_0x1906('0x3d')][_0x1906('0x7e')](_0x1906('0x63')),_0x4b1665[_0xbfce56]=this[_0x1906('0x78')][_0x1906('0x9a')]['processor'][_0x1906('0x7d')](_0x46e23f),this[_0x1906('0x78')][_0x1906('0x9a')][_0x1906('0x3d')]['useFillerType']('default');}return _0x4b1665;}[_0x1906('0x2')](_0x25cced){return(_0x25cced=_0x25cced[_0x1906('0x80')](_0x11296c=>!_0x11296c[_0x1906('0x50')]||_0x1906('0x56')!==_0x11296c[_0x1906('0x50')]&&'revision-end'!==_0x11296c[_0x1906('0x50')]))['forEach'](_0x276a04=>{'string'!=typeof _0x276a04&&(_0x276a04[_0x1906('0x14')]=this['_removeRevisionMarkers'](_0x276a04['children']),_0x276a04[_0x1906('0x72')]=_0x276a04['attributes'][_0x1906('0x80')](_0x320e75=>!_0x320e75[0x0]['startsWith'](_0x1906('0xd2'))));}),_0x25cced;}[_0x1906('0x49')](_0x24eafc,_0x2220c5,_0x54e021=!0x1){if(!this[_0x1906('0x6f')])return;const _0x340476=this[_0x1906('0xfe')],_0x211489=this['repository'],_0x26c340='string'==typeof _0x24eafc?_0x211489[_0x1906('0xf')](_0x24eafc):_0x24eafc,_0x6e28cb='string'==typeof _0x2220c5?_0x211489[_0x1906('0xf')](_0x2220c5):_0x2220c5,_0x5381c9=_0x26c340['id'],_0x5af2c3=_0x6e28cb?_0x6e28cb['id']:null;if(!_0x54e021&&this[_0x1906('0xfe')]&&this[_0x1906('0xfe')][_0x1906('0x101')]===_0x5381c9&&this[_0x1906('0xfe')][_0x1906('0x79')]===_0x5af2c3)return Promise[_0x1906('0x9f')]();this[_0x1906('0xd4')]=!0x1,this['activeView']=null,this[_0x1906('0x3b')]=null,this[_0x1906('0xfe')]=new _0x1142a3(_0x5381c9,_0x5af2c3);const _0x5e3f5a=this[_0x1906('0xd5')](_0x26c340,_0x6e28cb,!0x0)[_0x1906('0xe0')](_0x27332e=>this[_0x1906('0xcd')](_0x27332e));return _0x5e3f5a[_0x1906('0xd0')](new Promise(_0x38e080=>{setTimeout(_0x38e080,0x14);})),Promise['all'](_0x5e3f5a)[_0x1906('0x3e')](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x308c05=this[_0x1906('0xac')](_0x5381c9,_0x5af2c3);this[_0x1906('0xfe')][_0x1906('0xa1')](_0x308c05);for(const _0x4d5ecd of this[_0x1906('0xfe')][_0x1906('0x3c')])this[_0x1906('0x87')][_0x1906('0x61')](_0x4d5ecd['id'],_0x4d5ecd);this[_0x1906('0x78')][_0x1906('0x105')]['enqueueChange']({'isUndoable':!0x1},_0x3fd89a=>{for(const _0x53da80 of Object[_0x1906('0x5e')](_0x308c05[_0x1906('0x105')])){const _0x41b16=this[_0x1906('0x78')][_0x1906('0x105')]['document'][_0x1906('0x1d')](_0x53da80);_0x3fd89a['remove'](_0x3fd89a[_0x1906('0x54')](_0x41b16)),_0x3fd89a[_0x1906('0x5b')](_0x308c05[_0x1906('0x105')][_0x53da80],_0x41b16,0x0);}}),this['isReady']=!0x0;})['catch'](_0x3abb6b=>{console['error'](_0x3abb6b),this[_0x1906('0x32')](),_0x340476?this['diff']=_0x340476:this[_0x1906('0x78')][_0x1906('0xe4')]('<p></p>'),this[_0x1906('0xd4')]=!0x0;});}[_0x1906('0xb3')](){this['activeView']=null,this['_changeView']&&this[_0x1906('0xb')][_0x1906('0xb3')]();}[_0x1906('0xa')](_0x5bf60c,_0x12014b){const _0x482345=this[_0x1906('0x96')][_0x1906('0x7a')](_0x5bf60c);return _0x482345['on'](_0x1906('0x9b'),(_0x7c0eed,_0x309c5e,_0x27abc0)=>_0x12014b(_0x309c5e,_0x27abc0,_0x482345)),this[_0x1906('0x96')]['addRevision'](_0x482345),_0x482345;}['loadRevisionData'](_0x2a7e77){if(!_0x2a7e77||_0x2a7e77['diffData'])return Promise[_0x1906('0x9f')]();{const _0x113ee4=this[_0x1906('0x78')]['config'][_0x1906('0x4f')](_0x1906('0xf5'));return this[_0x1906('0x64')][_0x1906('0xf')]({'channelId':_0x113ee4,'revisionId':_0x2a7e77['id']})['then'](_0x16f543=>{_0x2a7e77[_0x1906('0x9b')]({'diffData':_0x16f543['diffData']},!0x0);});}}[_0x1906('0x32')](){this['activeChange']=null,this[_0x1906('0x44')](),this[_0x1906('0xb')]&&this[_0x1906('0xb')][_0x1906('0xb3')](),this[_0x1906('0xb')]=null,this['_changeIdToChange']['clear']();}[_0x1906('0xd')](_0x675854){const _0x48ab3e=Array['from'](_0x675854['markers'])[_0x1906('0x80')](([_0x2e81a6,_0x51f60f])=>_0x2e81a6[_0x1906('0x2b')](_0x1906('0x34'))&&!_0x51f60f[_0x1906('0xf4')]),_0x5ac4b7=Array['from'](this[_0x1906('0x78')][_0x1906('0x105')][_0x1906('0x54')](_0x675854)[_0x1906('0x10b')]({'singleCharacters':!0x0}));if(0x0!=_0x48ab3e[_0x1906('0x30')])for(const _0x402daa of _0x5ac4b7){const [_0x4eedeb,_0x2a84e9]=_0x48ab3e[0x0],[,_0xc5fb9f,_0x4870b0]=_0x4eedeb[_0x1906('0x1f')](':');if(_0x2a84e9['end'][_0x1906('0x5f')](_0x402daa[_0x1906('0xc0')])&&_0x48ab3e[_0x1906('0xe8')](),(_0x402daa[_0x1906('0x13')]['isEqual'](_0x2a84e9[_0x1906('0x98')])||_0x402daa['previousPosition'][_0x1906('0x2c')](_0x2a84e9[_0x1906('0x98')]))&&('insertion'==_0xc5fb9f?_0x402daa[_0x1906('0x75')]={'userId':_0x4870b0}:_0x1906('0xe')==_0xc5fb9f&&(_0x402daa[_0x1906('0xcf')]={'userId':_0x4870b0})),0x0==_0x48ab3e[_0x1906('0x30')])break;}return _0x5ac4b7;}[_0x1906('0xc2')](_0x38b4b0){const _0x4a9cde=new Map();for(let _0x3f62c5=0x0;_0x3f62c5<_0x38b4b0[_0x1906('0x30')];_0x3f62c5++)'text'===_0x38b4b0[_0x3f62c5]['type']?(_0x38b4b0[_0x3f62c5][_0x1906('0xe7')][_0x1906('0xf6')]=_0x3f62c5,_0x38b4b0[_0x3f62c5]['item'][_0x1906('0xaf')]=_0x3f62c5):(_0x1906('0x4a')===_0x38b4b0[_0x3f62c5][_0x1906('0x77')]?_0x38b4b0[_0x3f62c5]['item']['startIndex']=_0x3f62c5:_0x1906('0x6d')===_0x38b4b0[_0x3f62c5][_0x1906('0x77')]&&(_0x38b4b0[_0x3f62c5]['item'][_0x1906('0xaf')]=_0x3f62c5),_0x4a9cde[_0x1906('0x61')](_0x38b4b0[_0x3f62c5]['id'],_0x3f62c5));for(const _0x31ee15 of _0x4a9cde['values']())_0x1906('0x4a')===_0x38b4b0[_0x31ee15][_0x1906('0x77')]?_0x38b4b0[_0x31ee15][_0x1906('0xe7')]['endIndex']=_0x4a9cde[_0x1906('0x4f')](_0x38b4b0[_0x31ee15][_0x1906('0xd8')]):_0x1906('0x6d')===_0x38b4b0[_0x31ee15][_0x1906('0x77')]&&(_0x38b4b0[_0x31ee15][_0x1906('0xe7')][_0x1906('0xf6')]=_0x4a9cde['get'](_0x38b4b0[_0x31ee15][_0x1906('0xd8')]));}[_0x1906('0xbb')](_0xa6b094){for(let _0x1e80a8=0x0;_0x1e80a8<_0xa6b094['length'];_0x1e80a8++){if(_0x1906('0x4a')===_0xa6b094[_0x1e80a8]['type'])_0xa6b094[_0x1e80a8][_0x1906('0xe7')][_0x1906('0xf6')]=_0x1e80a8;else{if(_0x1906('0x6d')===_0xa6b094[_0x1e80a8][_0x1906('0x77')]){_0xa6b094[_0x1e80a8]['item'][_0x1906('0xaf')]=_0x1e80a8;const _0xd001e4=_0xa6b094[_0x1e80a8][_0x1906('0xe7')]['startIndex'];_0xa6b094[_0xd001e4][_0x1906('0xd8')]=_0xa6b094[_0x1e80a8]['id'],_0xa6b094[_0x1e80a8][_0x1906('0xd8')]=_0xa6b094[_0xd001e4]['id'];}else _0xa6b094[_0x1e80a8]['item']['startIndex']=_0x1e80a8,_0xa6b094[_0x1e80a8][_0x1906('0xe7')][_0x1906('0xaf')]=_0x1e80a8,_0xa6b094[_0x1e80a8][_0x1906('0xd8')]=null;}_0xa6b094[_0x1e80a8][_0x1906('0x73')]||(_0xa6b094[_0x1e80a8][_0x1906('0x73')]=[],_0xa6b094[_0x1e80a8][_0x1906('0xc4')]=[]);}}[_0x1906('0xc6')](_0x1ffb1b,_0x3807ff){const _0x521776=_0x1ffb1b[_0x1906('0x80')](_0x298ad1=>!_0x298ad1[_0x1906('0x75')]);for(let _0x4b9f5a=0x0;_0x4b9f5a<_0x3807ff[_0x1906('0x30')];_0x4b9f5a++)_0x3807ff[_0x4b9f5a][_0x1906('0x75')]&&(_0x521776[_0x4b9f5a][_0x1906('0x75')]=_0x3807ff[_0x4b9f5a][_0x1906('0x75')]);}[_0x1906('0xb2')](_0x223962){const _0x422056=JSON[_0x1906('0xa6')](_0x223962),_0x2bcb81=this[_0x1906('0x78')]['editing'][_0x1906('0xbf')]['document'],_0x2ace07=new _0x157040(_0x2bcb81,_0x422056[_0x1906('0xe0')](_0x313bee=>this[_0x1906('0xd6')](_0x313bee)));return this[_0x1906('0x78')]['data'][_0x1906('0x6e')](_0x2ace07);}[_0x1906('0xd6')](_0x3b94bc){const _0x1a92c=this[_0x1906('0x78')][_0x1906('0xb1')][_0x1906('0xbf')][_0x1906('0x76')];if(_0x1906('0x59')==typeof _0x3b94bc)return new _0x3e81b7(_0x1a92c,_0x3b94bc);{const _0x314e62=_0x3b94bc[_0x1906('0x14')][_0x1906('0xe0')](_0x1647f7=>this[_0x1906('0xd6')](_0x1647f7));return new(Y[_0x3b94bc[(_0x1906('0x77'))]]||_0x93bb8f)(_0x1a92c,_0x3b94bc[_0x1906('0x50')],_0x3b94bc['attributes'],_0x314e62);}}[_0x1906('0xac')](_0x4716d6,_0x352a72=null){const _0x5bcd63=this[_0x1906('0x96')][_0x1906('0xf')](_0x4716d6),_0x1ced55=_0x352a72?this[_0x1906('0x96')][_0x1906('0xf')](_0x352a72):null,_0x1ba13d=this[_0x1906('0xd5')](_0x5bcd63,_0x1ced55),_0x2bfca5=_0x1ba13d[_0x1ba13d[_0x1906('0x30')]-0x1],_0x3ed9c6=new Map();for(const _0x50425c of _0x1ba13d){_0x50425c[_0x1906('0x105')]={};for(const _0x4a3348 of _0x50425c['authors'])_0x3ed9c6[_0x1906('0x61')](_0x4a3348['id'],_0x4a3348);for(const _0x251718 of this[_0x1906('0x78')][_0x1906('0x105')]['document'][_0x1906('0x8d')]())_0x50425c[_0x1906('0x8f')][_0x251718]||(_0x50425c[_0x1906('0x8f')][_0x251718]={'insertions':'[]','deletions':'[]'}),_0x50425c[_0x1906('0x105')][_0x251718]={'insertions':this[_0x1906('0xb2')](_0x50425c['diffData'][_0x251718][_0x1906('0xf8')]),'deletions':this[_0x1906('0xb2')](_0x50425c[_0x1906('0x8f')][_0x251718][_0x1906('0x27')])};}const _0x270577={'model':{},'changes':[]};for(const _0xba029c of this['editor'][_0x1906('0x105')]['document']['getRootNames']()){let _0x2054e8=null,_0x6e6c4d=0x0;const _0x73424d=new Map(Array[_0x1906('0x55')](_0x5bcd63[_0x1906('0x105')][_0xba029c][_0x1906('0xf8')][_0x1906('0x0')])[_0x1906('0x80')](([_0x23414a])=>!_0x23414a[_0x1906('0x2b')](_0x1906('0x34'))));let _0xb9cbff=0x0;for(const _0x24d68f of _0x1ba13d){const _0xbf3be3=this['_makeTape'](_0x24d68f[_0x1906('0x105')][_0xba029c]['insertions']);_0x24d68f==_0x5bcd63?(_0x2054e8=_0xbf3be3,_0x6e6c4d=_0x2054e8[_0x1906('0x30')],_0x2054e8[_0x1906('0xa8')](_0x112561=>{_0x112561['id']=_0xb9cbff++;}),this[_0x1906('0xbb')](_0x2054e8)):this[_0x1906('0xc6')](_0x2054e8,_0xbf3be3);const _0x2287bf=_0x2054e8[_0x1906('0x80')](_0x417869=>!_0x417869[_0x1906('0x75')])[_0x1906('0xe0')](_0x4460a2=>_0x4460a2['id']);let _0x1cbaa5=0x0;const _0x4b6cc7=this[_0x1906('0xd')](_0x24d68f[_0x1906('0x105')][_0xba029c][_0x1906('0x27')]);_0x4b6cc7['forEach'](_0xaf5c2d=>{_0xaf5c2d[_0x1906('0xcf')]?_0xaf5c2d['id']=_0x6e6c4d++:_0xaf5c2d['id']=_0x2287bf[_0x1cbaa5++];}),this[_0x1906('0xbb')](_0x4b6cc7),this[_0x1906('0xbc')](_0x2054e8,_0x1906('0x75')),this['_setDistance'](_0x4b6cc7,_0x1906('0xcf')),_0x24d68f==_0x5bcd63&&this[_0x1906('0x21')](_0x2054e8,_0x73424d),_0x2054e8=this[_0x1906('0xc1')](_0x2054e8,_0x4b6cc7),this[_0x1906('0xc2')](_0x2054e8),this[_0x1906('0xbc')](_0x2054e8,'isRemoved');}_0x2054e8=_0x2054e8['filter'](_0xff8a29=>!(_0xff8a29[_0x1906('0x75')]&&_0xff8a29['isRemoved']));const _0x340de1=new Map(_0x2bfca5['model'][_0xba029c]['deletions'][_0x1906('0x0')]),_0x480614=new Set(_0x73424d[_0x1906('0x5e')]());for(const _0x46c25a of _0x340de1['keys']())_0x480614[_0x1906('0x45')](_0x46c25a);this[_0x1906('0xdb')](_0x2054e8,_0x480614),this[_0x1906('0x6a')](_0x2054e8),_0x2054e8=this[_0x1906('0xe9')](_0x2054e8),_0x2054e8=this['_markMismatchedRemovedTags'](_0x2054e8),_0x2054e8=this[_0x1906('0xa9')](_0x2054e8);const {root:_0x5cebf9,changes:_0x2eef57}=this[_0x1906('0x74')](_0x2054e8,_0x3ed9c6);_0x270577[_0x1906('0x105')][_0xba029c]=_0x5cebf9,_0x270577[_0x1906('0x3c')]=_0x270577[_0x1906('0x3c')]['concat'](_0x2eef57);}return _0x270577;}[_0x1906('0x21')](_0x16c43b,_0x4a724f){for(let _0x437e32=0x0;_0x437e32<_0x16c43b['length'];_0x437e32++)for(const [_0x3f2061,_0x3a669e]of _0x4a724f)_0x3a669e['start'][_0x1906('0x5f')](_0x16c43b[_0x437e32][_0x1906('0x13')])&&_0x16c43b[_0x437e32]['markersStart'][_0x1906('0xd0')](_0x3f2061),_0x3a669e[_0x1906('0x70')][_0x1906('0x5f')](_0x16c43b[_0x437e32][_0x1906('0xc0')])&&_0x16c43b[_0x437e32][_0x1906('0xc4')][_0x1906('0xd0')](_0x3f2061);}[_0x1906('0xc1')](_0x3ea2eb,_0x58e666){let _0x29a5bc=[],_0x432fe7=0x0,_0x5208dc=0x0;for(;_0x432fe7<_0x3ea2eb[_0x1906('0x30')]||_0x5208dc<_0x58e666[_0x1906('0x30')];){const _0x13208e=_0x3ea2eb[_0x432fe7]||{},_0x126f14=_0x58e666[_0x5208dc]||{};if(_0x13208e['id']==_0x126f14['id'])_0x432fe7++,_0x5208dc++,_0x29a5bc['push'](_0x13208e);else{if(_0x126f14[_0x1906('0xcf')]&&_0x13208e[_0x1906('0x75')]){const {commonTape:_0x9cb461,iEnd:_0xe11339,jEnd:_0x186548}=this[_0x1906('0xb9')](_0x3ea2eb,_0x432fe7,_0x58e666,_0x5208dc);_0x29a5bc=_0x29a5bc[_0x1906('0x3a')](_0x9cb461),_0x432fe7=_0xe11339,_0x5208dc=_0x186548;}else _0x126f14[_0x1906('0xcf')]?(_0x5208dc++,_0x29a5bc[_0x1906('0xd0')](_0x126f14)):(_0x432fe7++,_0x29a5bc[_0x1906('0xd0')](_0x13208e));}}return _0x29a5bc;}['_markSuggestions'](_0x38fcb2,_0x2262f6){const _0x359306=[];for(let _0x1fcd3b=0x0;_0x1fcd3b<_0x38fcb2['length'];_0x1fcd3b++){for(let _0x309390=0x0;_0x309390<_0x38fcb2[_0x1fcd3b][_0x1906('0x73')][_0x1906('0x30')];_0x309390++){const _0x348a0e=_0x38fcb2[_0x1fcd3b][_0x1906('0x73')][_0x309390];if(!_0x2262f6['has'](_0x348a0e))continue;const {group:_0x1c9eee,type:_0x43bf5e,authorId:_0x59b19d}=_0x11cef3(_0x348a0e);'revision-suggestion'!=_0x1c9eee||'insertion'!=_0x43bf5e&&_0x1906('0xe')!=_0x43bf5e||(_0x359306['unshift']({'type':_0x43bf5e,'name':_0x348a0e,'userId':_0x59b19d}),_0x38fcb2[_0x1fcd3b][_0x1906('0x73')][_0x1906('0xb7')](_0x309390,0x1),_0x309390--);}_0x534b5b(_0x38fcb2[_0x1fcd3b]);for(let _0x345af6=0x0;_0x345af6<_0x38fcb2[_0x1fcd3b]['markersEnd']['length'];_0x345af6++){const _0x39f2c7=_0x38fcb2[_0x1fcd3b][_0x1906('0xc4')][_0x345af6];if(!_0x2262f6[_0x1906('0x31')](_0x39f2c7))continue;const {group:_0x28264c,type:_0x18a23f}=_0x11cef3(_0x39f2c7);if('revision-suggestion'!=_0x28264c||_0x1906('0x9c')!=_0x18a23f&&_0x1906('0xe')!=_0x18a23f)continue;_0x38fcb2[_0x1fcd3b][_0x1906('0xc4')][_0x1906('0xb7')](_0x345af6,0x1),_0x345af6--;const _0x107e1a=_0x359306['findIndex'](_0x612bdf=>_0x612bdf[_0x1906('0x50')]==_0x39f2c7);_0x107e1a>-0x1&&_0x359306[_0x1906('0xb7')](_0x107e1a,0x1);}}function _0x11cef3(_0xa9135c){const _0x677912=_0xa9135c[_0x1906('0x1f')](':');return{'group':_0x677912[0x0],'type':_0x677912[0x1],'subType':_0x677912[_0x1906('0x30')]>=0x5?_0x677912[0x2]:null,'id':_0x677912[_0x1906('0x30')]<0x5?_0x677912[0x2]:_0x677912[0x3],'authorId':_0x677912[_0x1906('0x30')]<0x5?_0x677912[0x3]:_0x677912[0x4],'markerCount':0x6==_0x677912[_0x1906('0x30')]?_0x677912[0x5]:null};}function _0x534b5b(_0x5e1eaa){for(let _0x514ed7=0x0;_0x514ed7<_0x359306[_0x1906('0x30')];_0x514ed7++){if(_0x5e1eaa[_0x1906('0x75')]&&_0x1906('0x9c')==_0x359306[_0x514ed7][_0x1906('0x77')])return _0x5e1eaa[_0x1906('0xae')]=_0x359306[_0x514ed7],void delete _0x5e1eaa[_0x1906('0x75')];if(!_0x5e1eaa[_0x1906('0x75')]&&!_0x5e1eaa[_0x1906('0xcf')]&&'deletion'==_0x359306[_0x514ed7]['type'])return void(_0x5e1eaa[_0x1906('0x8c')]=_0x359306[_0x514ed7]);}}}[_0x1906('0xbc')](_0x42c6ea,_0x47e76b){let _0xf6f1da=0x0,_0xd4eabd=!0x1;const _0x4daff8=new Map();for(const _0x36e740 of _0x42c6ea)_0x36e740[_0x47e76b]?_0xd4eabd&&(_0xf6f1da++,_0xd4eabd=!0x1):(_0xf6f1da++,_0xd4eabd=!0x0),_0x4daff8['set'](_0x36e740['id'],_0xf6f1da);for(let _0x1ae702=0x0;_0x1ae702<_0x42c6ea[_0x1906('0x30')];_0x1ae702++){if(_0x1906('0xcf')==_0x47e76b&&_0x42c6ea[_0x1ae702][_0x1906('0x75')]||'isAdded'==_0x47e76b&&_0x42c6ea[_0x1ae702][_0x1906('0xcf')])continue;if(_0x1906('0xb0')==_0x42c6ea[_0x1ae702][_0x1906('0x77')]){_0x42c6ea[_0x1ae702][_0x1906('0x84')]=0x0;continue;}const _0xdbf523=_0x4daff8[_0x1906('0x4f')](_0x42c6ea[_0x1ae702][_0x1906('0xd8')]),_0x5c7e35=_0x4daff8[_0x1906('0x4f')](_0x42c6ea[_0x1ae702]['id']);_0x42c6ea[_0x1ae702][_0x1906('0x84')]=_0xdbf523-_0x5c7e35;}}[_0x1906('0xd5')](_0x385c1c,_0x3f1ff3,_0x42c30d=!0x1){const _0x1df558=[];let _0x83e92e=this[_0x1906('0x96')][_0x1906('0xab')](_0x385c1c),_0x151b25=this[_0x1906('0x96')][_0x1906('0xab')](_0x3f1ff3);for(-0x1==_0x151b25&&(_0x151b25=this[_0x1906('0x96')]['_revisions'][_0x1906('0x30')],_0x42c30d=!0x1);_0x83e92e<_0x151b25;)_0x1df558[_0x1906('0xd0')](this[_0x1906('0x96')][_0x1906('0xf')](_0x83e92e)),_0x83e92e++;return _0x42c30d&&_0x1df558[_0x1906('0xd0')](this['repository'][_0x1906('0xf')](_0x83e92e)),_0x1df558;}[_0x1906('0xb9')](_0x29e5b1,_0x2abd5f,_0x4b27ac,_0x4a3660){const _0x2672f8=this[_0x1906('0x78')][_0x1906('0x105')][_0x1906('0xcc')];let _0x4cbd27=_0x2abd5f;for(;_0x29e5b1[_0x4cbd27]&&_0x29e5b1[_0x4cbd27][_0x1906('0x75')];)_0x4cbd27++;let _0x3e2817=_0x4a3660;for(;_0x4b27ac[_0x3e2817]&&_0x4b27ac[_0x3e2817][_0x1906('0xcf')];)_0x3e2817++;_0x513b55(_0x29e5b1,_0x2abd5f,_0x4cbd27),_0x513b55(_0x4b27ac,_0x4a3660,_0x3e2817);const _0x8a2787=_0x4b27ac[_0x1906('0x38')](_0x4a3660,_0x3e2817)[_0x1906('0x3a')](_0x29e5b1[_0x1906('0x38')](_0x2abd5f,_0x4cbd27));return _0x8a2787['sort']((_0x5a8f4e,_0xfc932f)=>_0x5a8f4e[_0x1906('0x67')]!=_0xfc932f['side']?_0x5a8f4e[_0x1906('0x67')]-_0xfc932f[_0x1906('0x67')]:_0x5a8f4e[_0x1906('0x42')]!=_0xfc932f[_0x1906('0x42')]?_0x5a8f4e['level']-_0xfc932f['level']:_0x5a8f4e[_0x1906('0x84')]!=_0xfc932f['distance']?_0xfc932f['distance']-_0x5a8f4e[_0x1906('0x84')]:!!_0x5a8f4e[_0x1906('0x75')]!=!!_0xfc932f[_0x1906('0x75')]?-0x1==_0x5a8f4e['side']||0x0==_0x5a8f4e[_0x1906('0x67')]?_0x5a8f4e[_0x1906('0x75')]?-0x1:0x1:_0x5a8f4e[_0x1906('0x75')]?0x1:-0x1:_0x5a8f4e['index']-_0xfc932f[_0x1906('0xe3')]),{'commonTape':_0x8a2787,'iEnd':_0x4cbd27,'jEnd':_0x3e2817};function _0x513b55(_0x5c9b38,_0x3f1e8a,_0x1b1f9e){let _0x304121=-0x1,_0x26a4f5=Number[_0x1906('0x18')],_0x4c46f5=!0x0;for(let _0x47c01=_0x3f1e8a;_0x47c01<_0x1b1f9e;_0x47c01++)if(_0x2672f8['isInline'](_0x5c9b38[_0x47c01]['item'])||(_0x4c46f5=!0x1),_0x5c9b38[_0x47c01][_0x1906('0xe7')][_0x1906('0xf6')]<_0x3f1e8a&&(_0x304121=_0x47c01),_0x5c9b38[_0x47c01][_0x1906('0xe7')][_0x1906('0xaf')]>=_0x1b1f9e){_0x26a4f5=_0x47c01;break;}_0x4c46f5&&(_0x304121=_0x1b1f9e-0x1);for(let _0x27a7f2=_0x3f1e8a;_0x27a7f2<_0x1b1f9e;_0x27a7f2++)_0x5c9b38[_0x27a7f2][_0x1906('0x67')]=_0x27a7f2<=_0x304121?-0x1:_0x27a7f2<_0x26a4f5?0x0:0x1,_0x5c9b38[_0x27a7f2]['index']=_0x27a7f2;let _0x5da17d=0x0;for(let _0x1b4fef=_0x3f1e8a;_0x1b4fef<=_0x304121;_0x1b4fef++)0x0==_0x5c9b38[_0x1b4fef][_0x1906('0x84')]?_0x5c9b38[_0x1b4fef]['level']=_0x5da17d:(_0x5da17d++,_0x5c9b38[_0x1b4fef][_0x1906('0x42')]=_0x5da17d,_0x5da17d++);for(let _0x3a9b21=_0x3f1e8a;_0x3a9b21<_0x1b1f9e;_0x3a9b21++)0x0==_0x5c9b38[_0x3a9b21][_0x1906('0x67')]&&(_0x5c9b38[_0x3a9b21][_0x1906('0x42')]=_0x5da17d);_0x5da17d=0x0;for(let _0x1250f1=_0x1b1f9e-0x1;_0x1250f1>=_0x26a4f5;_0x1250f1--)0x0==_0x5c9b38[_0x1250f1][_0x1906('0x84')]?_0x5c9b38[_0x1250f1][_0x1906('0x42')]=_0x5da17d:(_0x5da17d--,_0x5c9b38[_0x1250f1]['level']=_0x5da17d,_0x5da17d--);}}['_fixObsoleteTags'](_0x2c3065){const _0x129c5b=new Map(),_0x2ca0fe=this[_0x1906('0x78')][_0x1906('0x105')][_0x1906('0xcc')];for(let _0x527e28=0x1;_0x527e28<_0x2c3065[_0x1906('0x30')];_0x527e28++){let _0x38a1ac,_0x40d59f,_0x4ba4e3;const _0x2e90ac=_0x2c3065[_0x527e28],_0x415d6d=_0x2c3065[_0x527e28-0x1];if(_0x1906('0xb0')==_0x2e90ac['type'])continue;if(_0x2e90ac[_0x1906('0x77')]!=_0x415d6d[_0x1906('0x77')])continue;if(!_0x2ca0fe[_0x1906('0x4b')](_0x415d6d[_0x1906('0xe7')])||_0x2ca0fe['isLimit'](_0x415d6d[_0x1906('0xe7')]))continue;if(!_0x2ca0fe[_0x1906('0x4b')](_0x2e90ac['item'])||_0x2ca0fe['isLimit'](_0x2e90ac[_0x1906('0xe7')]))continue;if((_0x2c3065[_0x527e28][_0x1906('0x75')]||_0x2c3065[_0x527e28][_0x1906('0xae')])&&_0x2c3065[_0x527e28-0x1][_0x1906('0xcf')])_0x38a1ac=_0x2c3065[_0x527e28],_0x40d59f=_0x2c3065[_0x527e28-0x1],_0x4ba4e3=_0x527e28-0x1;else{if(!_0x2c3065[_0x527e28][_0x1906('0xcf')]||!_0x2c3065[_0x527e28-0x1][_0x1906('0x75')]&&!_0x2c3065[_0x527e28-0x1][_0x1906('0xae')])continue;_0x38a1ac=_0x2c3065[_0x527e28-0x1],_0x40d59f=_0x2c3065[_0x527e28],_0x4ba4e3=_0x527e28;}const _0x249cf9=_0x38a1ac[_0x1906('0x42')]==_0x40d59f[_0x1906('0x42')],_0x22e713=Math[_0x1906('0x86')](_0x38a1ac[_0x1906('0x42')])<Math[_0x1906('0x86')](_0x40d59f['level'])&&0x0==_0x40d59f['distance'];(_0x249cf9||_0x22e713)&&(_0x129c5b['set'](_0x40d59f['id'],_0x38a1ac['id']),_0x2c3065['splice'](_0x4ba4e3,0x1),_0x527e28--,_0x38a1ac[_0x1906('0x75')]=!0x1);}for(let _0x17e990=0x0;_0x17e990<_0x2c3065[_0x1906('0x30')];_0x17e990++)_0x129c5b[_0x1906('0x31')](_0x2c3065[_0x17e990][_0x1906('0xd8')])&&(_0x2c3065[_0x17e990][_0x1906('0xd8')]=_0x129c5b[_0x1906('0x4f')](_0x2c3065[_0x17e990][_0x1906('0xd8')]));}[_0x1906('0xe9')](_0x3cb688){const _0x249c7c=new Set(_0x3cb688[_0x1906('0xe0')](_0x410e65=>_0x410e65['id']));for(let _0x2dd42c=0x0;_0x2dd42c<_0x3cb688[_0x1906('0x30')];_0x2dd42c++)_0x249c7c[_0x1906('0x31')](_0x3cb688[_0x2dd42c][_0x1906('0xd8')])||0x0==_0x3cb688[_0x2dd42c]['distance']||(_0x3cb688[_0x2dd42c][_0x1906('0xde')]=!0x0);return _0x3cb688[_0x1906('0x80')](_0x53e93a=>!_0x53e93a[_0x1906('0xde')]);}[_0x1906('0xc')](_0xba1b36){const _0x2af783=new Set();for(let _0x430082=0x0;_0x430082<_0xba1b36['length'];_0x430082++){if(_0x2af783['has'](_0xba1b36[_0x430082]['id'])&&_0xba1b36[_0x430082][_0x1906('0xcf')]&&(_0xba1b36[_0x430082][_0x1906('0xde')]=!0x0),_0xba1b36[_0x430082][_0x1906('0xde')])continue;if(0x0==_0xba1b36[_0x430082]['distance'])continue;if(_0x1906('0x4a')!=_0xba1b36[_0x430082][_0x1906('0x77')])continue;if(null==_0xba1b36[_0x430082][_0x1906('0xd8')])continue;let _0x18ae2d=_0x430082+0x1,_0x4b280c=0x0;for(;_0xba1b36[_0x18ae2d]['id']!=_0xba1b36[_0x430082][_0x1906('0xd8')];)_0x1906('0x4a')==_0xba1b36[_0x18ae2d][_0x1906('0x77')]?_0x4b280c++:_0x1906('0x6d')==_0xba1b36[_0x18ae2d][_0x1906('0x77')]&&_0x4b280c--,_0x18ae2d++;if(0x0!=_0x4b280c){if(_0xba1b36[_0x430082][_0x1906('0xcf')])_0xba1b36[_0x430082][_0x1906('0xde')]=!0x0;else for(;_0x18ae2d!=_0x430082;)_0xba1b36[_0x18ae2d][_0x1906('0xcf')]&&0x0!=_0xba1b36[_0x18ae2d][_0x1906('0x84')]&&(_0xba1b36[_0x18ae2d][_0x1906('0xde')]=!0x0,_0x2af783['add'](_0xba1b36[_0x18ae2d]['pairId'])),_0x18ae2d--;}}return _0xba1b36[_0x1906('0x80')](_0x5f1295=>!_0x5f1295[_0x1906('0xde')]);}[_0x1906('0xa9')](_0x4d915c){const _0x46fe71=this[_0x1906('0x78')][_0x1906('0x105')][_0x1906('0xcc')];for(let _0x169f29=0x0;_0x169f29<_0x4d915c[_0x1906('0x30')];_0x169f29++){if(!(_0x4d915c[_0x169f29][_0x1906('0x75')]||_0x4d915c[_0x169f29][_0x1906('0xae')]||_0x4d915c[_0x169f29][_0x1906('0xcf')]||_0x4d915c[_0x169f29]['isRemoveSuggestion']))continue;if(0x0==_0x4d915c[_0x169f29][_0x1906('0x84')])continue;const _0x29663f=_0x4d915c[_0x169f29][_0x1906('0xe7')];_0x46fe71[_0x1906('0x4b')](_0x29663f)||_0x46fe71[_0x1906('0xa5')](_0x29663f)||(_0x4d915c[_0x169f29][_0x1906('0x75')]&&delete _0x4d915c[_0x169f29][_0x1906('0x75')],_0x4d915c[_0x169f29][_0x1906('0xae')]&&delete _0x4d915c[_0x169f29][_0x1906('0xae')],_0x4d915c[_0x169f29][_0x1906('0x8c')]&&delete _0x4d915c[_0x169f29][_0x1906('0x8c')],_0x4d915c[_0x169f29]['isRemoved']&&(_0x4d915c[_0x169f29][_0x1906('0xde')]=!0x0));}return _0x4d915c[_0x1906('0x80')](_0x240928=>!_0x240928[_0x1906('0xde')]);}[_0x1906('0x74')](_0x4222eb,_0x5b0d46){const _0x447190=new _0x4c4eef(),_0x35c83b=[],_0x45f554=new Map(),_0x5b242a=this[_0x1906('0x78')][_0x1906('0x105')],_0x1fde4b=_0x5b242a[_0x1906('0xcc')],_0x587d17=[_0x447190],_0x35c79e={},_0xdbab96={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x447505=null;const _0x2e242e=[0x0];for(let _0x3b818d=0x0;_0x3b818d<_0x4222eb[_0x1906('0x30')];_0x3b818d++){let _0x2faab4,_0x36d9e7;if(_0x1906('0x4a')===_0x4222eb[_0x3b818d]['type']){_0x2faab4=_0x5b242a[_0x1906('0xb6')](_0x447190,_0x2e242e);const _0x540faf=new _0x451052(_0x4222eb[_0x3b818d][_0x1906('0xe7')]['name'],_0x4222eb[_0x3b818d][_0x1906('0xe7')][_0x1906('0xa3')]());_0x587d17[0x0]['_appendChild'](_0x540faf),_0x2e242e[_0x1906('0xd0')](0x0),_0x587d17['unshift'](_0x540faf),_0x36d9e7=_0x5b242a[_0x1906('0xb6')](_0x447190,_0x2e242e),_0x447505=null;}else{if(_0x1906('0x6d')===_0x4222eb[_0x3b818d][_0x1906('0x77')])_0x587d17[_0x1906('0xe8')](),_0x2faab4=_0x5b242a[_0x1906('0xb6')](_0x447190,_0x2e242e),_0x2e242e['pop'](),_0x2e242e[_0x2e242e[_0x1906('0x30')]-0x1]++,_0x36d9e7=_0x5b242a[_0x1906('0xb6')](_0x447190,_0x2e242e),_0x447505=null;else{if(_0x2faab4=_0x5b242a[_0x1906('0xb6')](_0x447190,_0x2e242e),_0x447505&&_0x1858ec(_0x447505,_0x4222eb[_0x3b818d][_0x1906('0xe7')]))_0x447505[_0x1906('0x90')]+=_0x4222eb[_0x3b818d][_0x1906('0xe7')][_0x1906('0x9a')];else{const _0x44d7f1=new _0x1e3124(_0x4222eb[_0x3b818d][_0x1906('0xe7')]['data'],_0x4222eb[_0x3b818d][_0x1906('0xe7')][_0x1906('0xa3')]());_0x587d17[0x0]['_appendChild'](_0x44d7f1),_0x447505=_0x44d7f1;}_0x2e242e[_0x2e242e['length']-0x1]+=_0x4222eb[_0x3b818d]['item'][_0x1906('0xfc')],_0x36d9e7=_0x5b242a[_0x1906('0xb6')](_0x447190,_0x2e242e);}}for(const _0x3fd3be of _0x4222eb[_0x3b818d]['markersStart'])_0x45f554['set'](_0x3fd3be,{'start':_0x2faab4,'end':null});_0x501c7d(_0x1906('0x8c'),_0x3b818d,_0x2faab4,_0x36d9e7),_0x501c7d(_0x1906('0xae'),_0x3b818d,_0x2faab4,_0x36d9e7),_0x501c7d(_0x1906('0xcf'),_0x3b818d,_0x2faab4,_0x36d9e7),_0x501c7d(_0x1906('0x75'),_0x3b818d,_0x2faab4,_0x36d9e7);for(const _0x55b349 of _0x4222eb[_0x3b818d][_0x1906('0xc4')]){_0x45f554[_0x1906('0x4f')](_0x55b349)[_0x1906('0x70')]=_0x36d9e7;}}for(const [_0x35c622,_0x477294]of _0x45f554){const _0x488c2c=this['editor'][_0x1906('0x105')][_0x1906('0x53')](_0x477294[_0x1906('0x98')],_0x477294['end']);_0x447190[_0x1906('0x0')][_0x1906('0x61')](_0x35c622,_0x488c2c);}return _0x35c83b[_0x1906('0x8e')]((_0x2e42df,_0x48c3a5)=>{const _0x26a638=_0x447190[_0x1906('0x0')]['get'](_0x1906('0x34')+_0x2e42df['id']),_0x5eac58=_0x447190[_0x1906('0x0')][_0x1906('0x4f')](_0x1906('0x34')+_0x48c3a5['id']);return _0x26a638[_0x1906('0x98')]['isBefore'](_0x5eac58[_0x1906('0x98')])?-0x1:_0x26a638[_0x1906('0x98')]['isAfter'](_0x5eac58['start'])?0x1:_0x26a638[_0x1906('0x70')][_0x1906('0x7f')](_0x5eac58['end'])?-0x1:_0x26a638[_0x1906('0x70')]['isAfter'](_0x5eac58[_0x1906('0x70')])?0x1:_0x1906('0x8a')===_0x2e42df[_0x1906('0x77')]?-0x1:0x1;}),{'root':_0x447190,'changes':_0x35c83b};function _0x501c7d(_0x562cb7,_0x583332,_0x1f6878,_0x2d97e7){const _0x156ea0=!!_0x4222eb[_0x583332][_0x562cb7],_0x4d5a97=_0x156ea0?_0x4222eb[_0x583332][_0x562cb7][_0x1906('0x85')]:null,_0x34bd1f=_0x583332===_0x4222eb[_0x1906('0x30')]-0x1,_0x19c9c9=_0xdbab96[_0x562cb7][0x0],_0x3132ed=_0x1fde4b['isObject'](_0x4222eb[_0x583332]['item']);!_0x35c79e[_0x562cb7]&&_0x156ea0?_0x35c79e[_0x562cb7]={'start':_0x1f6878,'tapeItem':_0x4222eb[_0x583332],'userId':_0x4d5a97,'type':_0x562cb7}:_0x35c79e[_0x562cb7]&&!_0x156ea0?(_0x35c79e[_0x562cb7]['end']=_0x1f6878,_0x2c0fe4(_0x35c79e[_0x562cb7]),_0x35c79e[_0x562cb7]=null):_0x35c79e[_0x562cb7]&&_0x156ea0&&_0x35c79e[_0x562cb7]['userId']!==_0x4d5a97&&(_0x35c79e[_0x562cb7][_0x1906('0x70')]=_0x1f6878,_0x19c9c9&&_0x19c9c9[_0x1906('0x85')]===_0x35c79e[_0x562cb7][_0x1906('0x85')]||_0x2c0fe4(_0x35c79e[_0x562cb7]),_0x35c79e[_0x562cb7]={'start':_0x1f6878,'tapeItem':_0x4222eb[_0x583332],'userId':_0x4d5a97,'type':_0x562cb7}),_0x35c79e[_0x562cb7]&&_0x3132ed&&(_0x1906('0x4a')!==_0x4222eb[_0x583332][_0x1906('0x77')]||_0x19c9c9&&_0x19c9c9[_0x1906('0x85')]===_0x4d5a97||_0xdbab96[_0x562cb7][_0x1906('0xdf')]({'userId':_0x4d5a97,'object':_0x4222eb[_0x583332]['item'],'change':_0x35c79e[_0x562cb7]}),_0x1906('0x6d')===_0x4222eb[_0x583332][_0x1906('0x77')]&&_0x19c9c9&&_0x19c9c9[_0x1906('0x43')]===_0x4222eb[_0x583332][_0x1906('0xe7')]&&(_0xdbab96[_0x562cb7][_0x1906('0xe8')](),_0x35c79e[_0x562cb7]=_0x19c9c9[_0x1906('0x81')])),_0x35c79e[_0x562cb7]&&_0x34bd1f&&(_0x35c79e[_0x562cb7][_0x1906('0x70')]=_0x2d97e7,_0x2c0fe4(_0x35c79e[_0x562cb7]),_0x35c79e[_0x562cb7]=null);}function _0x2c0fe4({start:_0x4092c5,end:_0x28f1f4,tapeItem:_0x153905,userId:_0x5b21c4,type:_0xb8fe53}){const _0x2188f5=_0x153905[_0x1906('0xe7')],_0x1edfab=_0x5b242a[_0x1906('0xcc')][_0x1906('0x4b')](_0x2188f5)&&!_0x5b242a[_0x1906('0xcc')][_0x1906('0xa5')](_0x2188f5),_0x3f0baf=_0x4092c5['nodeAfter']==_0x28f1f4[_0x1906('0x106')]&&_0x28f1f4[_0x1906('0xff')];if(_0x1edfab&&_0x3f0baf)return;const _0x3b88d5=_0x5b242a['createRange'](_0x4092c5,_0x28f1f4),_0x561f6e=_0x5b0d46['get'](_0x5b21c4),_0x7dd61d=new _0x542d67({'author':_0x561f6e,'type':_0x1906('0x75')==_0xb8fe53||_0x1906('0xae')==_0xb8fe53?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xb8fe53||_0x1906('0x8c')==_0xb8fe53},'createdAt':new Date()});_0x35c83b['push'](_0x7dd61d),_0x447190[_0x1906('0x0')][_0x1906('0x61')](_0x1906('0x34')+_0x7dd61d['id'],_0x3b88d5);}function _0x1858ec(_0x308aa7,_0x1989be){const _0x100b8d=_0x308aa7[_0x1906('0xa3')](),_0x39c109=_0x1989be[_0x1906('0xa3')]();for(const _0x50d7bf of _0x100b8d){if(_0x50d7bf[0x1]!==_0x1989be[_0x1906('0xc3')](_0x50d7bf[0x0]))return!0x1;_0x39c109[_0x1906('0x8')]();}return _0x39c109[_0x1906('0x8')]()[_0x1906('0x1e')];}}['_setConversion'](){this['editor'][_0x1906('0x2e')][_0x1906('0xdc')](_0x1906('0xbe'))['dataToMarker']({'view':_0x1906('0x99')}),this[_0x1906('0x78')][_0x1906('0x2e')][_0x1906('0xdc')](_0x1906('0x46'))['markerToHighlight']({'model':_0x1906('0x99'),'view':_0x5484e5=>{const _0xe96a51=_0x5484e5['markerName'][_0x1906('0x1f')](':')[0x1],_0x3c5fe0=this[_0x1906('0x22')](_0xe96a51);if(!_0x3c5fe0)return null;const _0x5ca82b=_0x1906('0x8a')==_0x3c5fe0[_0x1906('0x77')]?_0x1906('0x9c'):_0x1906('0xe'),_0x284016=[_0x1906('0xd9'),'ck-suggestion-marker-'+_0x5ca82b];return _0x3c5fe0['data'][_0x1906('0x69')]&&_0x284016[_0x1906('0xd0')](_0x1906('0xfa')+_0x5ca82b+_0x1906('0x5c')),this[_0x1906('0x3b')]==_0x3c5fe0&&_0x284016[_0x1906('0xd0')](_0x1906('0x5')),{'classes':_0x284016,'attributes':{'data-change-id':_0xe96a51}};}}),this[_0x1906('0x78')]['conversion'][_0x1906('0xdc')](_0x1906('0xbe'))[_0x1906('0x8a')](_0x5b001c=>{_0x5b001c['on']('element:pre',(_0x2aebd9,_0x3ca747,_0x1be2a3)=>{const _0x3c8637=_0x3ca747[_0x1906('0x52')][_0x1906('0xce')](0x0);if(!_0x3c8637||!_0x3c8637['is'](_0x1906('0x65'),_0x1906('0x102')))return;if(!_0x1be2a3[_0x1906('0x89')][_0x1906('0x58')](_0x3c8637,{'attributes':[_0x1906('0xb8'),_0x1906('0xda')]}))return;const _0x5c5c14=_0x3ca747['modelRange'][_0x1906('0x98')]['nodeAfter'];_0x1be2a3[_0x1906('0x48')][_0x1906('0xfb')](_0x1906('0xb8'),_0x3c8637['getAttribute']('vid_start'),_0x5c5c14),_0x1be2a3['writer'][_0x1906('0xfb')](_0x1906('0xda'),_0x3c8637[_0x1906('0xc3')](_0x1906('0xda')),_0x5c5c14);},{'priority':'low'});}),this['editor'][_0x1906('0x2e')][_0x1906('0xdc')]('upcast')[_0x1906('0x8a')](_0x1b2009=>{_0x1b2009['on'](_0x1906('0x65'),(_0x3334d6,_0x1dc1ab,_0x58c957)=>{if(!_0x58c957[_0x1906('0x89')][_0x1906('0x58')](_0x1dc1ab['viewItem'],{'attributes':['vid_start',_0x1906('0xda')]}))return;if(_0x1dc1ab['modelRange']['isCollapsed'])return;const _0x1aa151=_0x1dc1ab[_0x1906('0xf0')][_0x1906('0x98')][_0x1906('0x5d')];_0x1aa151[_0x1906('0xbd')](_0x1906('0xb8'))||_0x1aa151['hasAttribute']('vid')||(_0x58c957[_0x1906('0x48')][_0x1906('0xfb')]('vid_start',_0x1dc1ab[_0x1906('0x52')][_0x1906('0xc3')](_0x1906('0xb8')),_0x1aa151),_0x58c957[_0x1906('0x48')][_0x1906('0xfb')]('vid_end',_0x1dc1ab[_0x1906('0x52')][_0x1906('0xc3')](_0x1906('0xda')),_0x1aa151));},{'priority':_0x1906('0x39')});}),this[_0x1906('0x78')][_0x1906('0x2e')]['for'](_0x1906('0xbe'))['elementToAttribute']({'view':{'name':_0x1906('0xba'),'attributes':{'vid':!0x0}},'model':{'key':_0x1906('0xa2'),'value':_0x3dc30e=>_0x3dc30e['getAttribute'](_0x1906('0xa2'))}}),this[_0x1906('0x78')][_0x1906('0x105')][_0x1906('0xcc')]['on'](_0x1906('0xd3'),(_0x3e97cc,[,_0x10384b])=>{[_0x1906('0xb8'),_0x1906('0xda'),_0x1906('0xa2')][_0x1906('0xef')](_0x10384b)&&(_0x3e97cc[_0x1906('0x51')]=!0x0,_0x3e97cc[_0x1906('0x7c')]());},{'priority':_0x1906('0x97')}),this['editor'][_0x1906('0x2e')][_0x1906('0xdc')](_0x1906('0x3'))[_0x1906('0x8a')](_0x2e63fe=>{_0x2e63fe['on'](_0x1906('0xe1'),(_0x1af755,_0x419abb,_0x40e4d4)=>{if('\x20'!=_0x419abb[_0x1906('0xe7')][_0x1906('0x9a')]||_0x419abb[_0x1906('0xe7')][_0x1906('0x106')][_0x1906('0xad')]>0x1)return;if(!_0x40e4d4[_0x1906('0x89')]['consume'](_0x419abb[_0x1906('0xe7')],_0x1af755[_0x1906('0x50')]))return;const _0x80bc29=_0x40e4d4[_0x1906('0x48')],_0x483f40=_0x40e4d4[_0x1906('0x57')]['toViewRange'](_0x419abb[_0x1906('0x47')]);_0x80bc29[_0x1906('0x2f')](_0x483f40,_0x80bc29[_0x1906('0x10')](_0x1906('0xba')));});}),this['editor'][_0x1906('0x2e')][_0x1906('0xdc')]('dataDowncast')[_0x1906('0x4d')]({'model':'revision'}),this[_0x1906('0x78')][_0x1906('0xb1')][_0x1906('0xf1')]['on'](_0x1906('0xee'),function(_0x462b53){const _0x304158=_0x462b53[_0x1906('0x108')][_0x1906('0x4f')]('RevisionViewer');return(_0x2d3829,_0x6cda60,_0xfe12ff)=>{const _0x2ef5a7=_0x6cda60['markerName'][_0x1906('0x1f')](':')[0x1],_0xfd5482=_0x304158[_0x1906('0x22')](_0x2ef5a7);if(!_0xfd5482)return null;const _0x5d26d4=_0x1906('0x8a')==_0xfd5482[_0x1906('0x77')]?_0x1906('0x1f'):_0x1906('0xea');if(!_0xfe12ff['consumable'][_0x1906('0xc8')](_0x6cda60[_0x1906('0x10a')],_0x2d3829[_0x1906('0x50')]))return;const _0x3528c2=_0x6cda60[_0x1906('0x10a')][_0x1906('0x10b')](),_0x3b557c=_0x6cda60[_0x1906('0x10a')][_0x1906('0x98')],_0x18e710=_0x462b53['model'][_0x1906('0xcc')];let _0x370b13=null,_0x36eff9=null,_0x125258=!0x1,_0x3956fb=!0x1;for(const _0xfbf4f4 of _0x3528c2){const _0x597e65=_0xfbf4f4[_0x1906('0xe7')];_0x125258=_0x125258||_0x18e710[_0x1906('0xed')](_0x597e65);const _0x2ae2f2=_0xfe12ff[_0x1906('0x57')][_0x1906('0x66')](_0x597e65);if(_0x2ae2f2&&_0x2ae2f2[_0x1906('0x104')](_0x1906('0x68')))return;'elementEnd'==_0xfbf4f4[_0x1906('0x77')]&&(_0x18e710[_0x1906('0x4b')](_0x597e65)&&!_0x18e710[_0x1906('0xa5')](_0x597e65)&&(_0x597e65[_0x1906('0x107')]||_0x3b557c[_0x1906('0x2a')]?_0x370b13&&_0x370b13[_0x1906('0x106')]==_0x597e65||(_0x370b13=_0x597e65,_0x239163(_0xfbf4f4[_0x1906('0x13')]),_0x3956fb=!0x0):_0x36eff9=_0x36eff9||_0xfbf4f4[_0x1906('0x13')]));}function _0x239163(_0x3e869f){const _0x50c379=_0xfe12ff[_0x1906('0x48')][_0x1906('0x103')](_0x1906('0xba'),{'class':_0x1906('0xfa')+_0x5d26d4}),_0xa7911=_0xfe12ff[_0x1906('0x57')][_0x1906('0xe6')](_0x3e869f);_0xfd5482[_0x1906('0x9a')]['isSuggestion']&&_0xfe12ff[_0x1906('0x48')][_0x1906('0x94')]('ck-suggestion-marker-'+_0x5d26d4+_0x1906('0x5c'),_0x50c379),_0x304158[_0x1906('0x3b')]==_0xfd5482&&_0xfe12ff[_0x1906('0x48')][_0x1906('0x94')](_0x1906('0x5'),_0x50c379),_0xfe12ff[_0x1906('0x48')]['insert'](_0xa7911,_0x50c379),_0xfe12ff['mapper'][_0x1906('0xc5')](_0x50c379,_0x6cda60[_0x1906('0x4')]);}_0x125258||_0x3956fb||!_0x36eff9||_0x239163(_0x36eff9);};}(this['editor']),{'priority':_0x1906('0x1c')}),this[_0x1906('0x78')][_0x1906('0xb1')]['downcastDispatcher']['on'](_0x1906('0x28'),(_0xb555bb,_0x550bb7,_0x4a24a5)=>{const _0x7ad11e=_0x4a24a5['mapper'][_0x1906('0x2d')](_0x550bb7['markerName']);if(_0x7ad11e)for(const _0x40d663 of _0x7ad11e)(_0x40d663[_0x1906('0x93')](_0x1906('0xec'))||_0x40d663[_0x1906('0x93')](_0x1906('0x26')))&&(_0x4a24a5[_0x1906('0x57')][_0x1906('0x20')](_0x40d663,_0x550bb7[_0x1906('0x4')]),_0x4a24a5[_0x1906('0x48')][_0x1906('0x9d')](_0x40d663));},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on'](_0x1906('0xee'),(_0x3c3535,_0x3d5b20,_0x32d4dd)=>{const _0x133f7b=_0x3d5b20[_0x1906('0x4')][_0x1906('0x1f')](':')[0x1],_0x5ae0a5=this[_0x1906('0x22')](_0x133f7b);if(!_0x5ae0a5)return null;const _0x4bd03d=_0x1906('0x8a')==_0x5ae0a5[_0x1906('0x77')]?'split':_0x1906('0xea');if(_0x32d4dd[_0x1906('0x89')]['test'](_0x3d5b20['markerRange'],_0x3c3535[_0x1906('0x50')]))for(const _0x4c3c1f of _0x3d5b20[_0x1906('0x10a')][_0x1906('0x91')]()){if(!_0x4c3c1f['is']('element',_0x1906('0x41')))continue;const _0x335659=_0x32d4dd[_0x1906('0x48')]['createUIElement']('span',{'class':_0x1906('0xfa')+_0x4bd03d}),_0x3bf0b4=_0x32d4dd['mapper']['toViewPosition'](this[_0x1906('0x78')]['model'][_0x1906('0x37')](_0x4c3c1f));_0x5ae0a5[_0x1906('0x9a')][_0x1906('0x69')]&&_0x32d4dd['writer'][_0x1906('0x94')](_0x1906('0xfa')+_0x4bd03d+_0x1906('0x5c'),_0x335659),this[_0x1906('0x3b')]==_0x5ae0a5&&_0x32d4dd[_0x1906('0x48')][_0x1906('0x94')]('ck-suggestion-marker--active',_0x335659),_0x32d4dd[_0x1906('0x48')]['insert'](_0x3bf0b4,_0x335659),_0x32d4dd[_0x1906('0x57')][_0x1906('0xc5')](_0x335659,_0x3d5b20[_0x1906('0x4')]);}},{'priority':_0x1906('0x1c')}),this['editor'][_0x1906('0x2e')]['for']('upcast')[_0x1906('0x12')]({'view':'comment','model':_0x32d943=>_0x1906('0xc9')+_0x32d943,'converterPriority':'highest'}),this['editor'][_0x1906('0x2e')][_0x1906('0xdc')]('upcast')[_0x1906('0x12')]({'view':'suggestion','model':_0x5301e2=>_0x1906('0x11')+_0x5301e2,'converterPriority':_0x1906('0x97')}),this['editor']['conversion'][_0x1906('0xdc')](_0x1906('0x3'))['markerToData']({'model':_0x1906('0x6b'),'view':_0x23144f=>_0x1906('0xf2')+_0x23144f,'converterPriority':_0x1906('0x97')}),this[_0x1906('0x78')][_0x1906('0x2e')][_0x1906('0xdc')](_0x1906('0x46'))[_0x1906('0x1b')]({'model':_0x1906('0x6b'),'view':_0x5729db=>{const _0x239e6d=_0x5729db['markerName'][_0x1906('0x1f')](':')[0x1];return _0x1906('0x9c')!=_0x239e6d&&_0x1906('0xe')!=_0x239e6d?null:{'classes':[_0x1906('0xf9'),'ck-suggestion-preview-marker-'+_0x239e6d]};}}),this[_0x1906('0x78')][_0x1906('0xb1')][_0x1906('0xf1')]['on'](_0x1906('0x109'),Z(this[_0x1906('0x78')],_0x1906('0xea')),{'priority':_0x1906('0x1c')}),this['editor'][_0x1906('0xb1')]['downcastDispatcher']['on'](_0x1906('0x25'),Z(this[_0x1906('0x78')],_0x1906('0x1f')),{'priority':_0x1906('0x1c')}),this[_0x1906('0x78')][_0x1906('0xb1')][_0x1906('0xf1')]['on'](_0x1906('0x16'),(_0x3cc418,_0x167c80,_0x4fc950)=>{const _0x4cac59=_0x4fc950[_0x1906('0x57')][_0x1906('0x2d')](_0x167c80['markerName']);if(_0x4cac59)for(const _0x1636c5 of _0x4cac59)_0x1636c5['is'](_0x1906('0xcb'))&&(_0x4fc950['mapper'][_0x1906('0x20')](_0x1636c5,_0x167c80[_0x1906('0x4')]),_0x4fc950['writer'][_0x1906('0x9d')](_0x1636c5));},{'priority':_0x1906('0x1c')});}[_0x1906('0x22')](_0x32970e){return this[_0x1906('0x87')][_0x1906('0x4f')](_0x32970e);}[_0x1906('0x7b')](_0x57f2a1){this[_0x1906('0xb')]&&this[_0x1906('0xb')][_0x1906('0xb3')](),this[_0x1906('0xb')]=new _0x325d7a(this['editor']['locale'],_0x57f2a1);const _0x19791d=this[_0x1906('0x78')]['model'][_0x1906('0x0')][_0x1906('0x4f')](_0x1906('0x34')+_0x57f2a1['id']);return this['_changeView'][_0x1906('0x3f')]=()=>_0x48a7d5(this[_0x1906('0x78')]['editing'],_0x19791d),this[_0x1906('0xb')];}[_0x1906('0x24')](){this['editor'][_0x1906('0x105')][_0x1906('0x76')]['selection'][_0x1906('0x36')](_0x1906('0x99')),this['on'](_0x1906('0xb4'),(_0x307178,_0x43482c,_0x12cb76,_0x1e6198)=>{_0x1e6198&&this[_0x1906('0x19')]['remove'](_0x1e6198),_0x12cb76&&(this[_0x1906('0x19')][_0x1906('0x8a')]({'view':_0x12cb76,'stackId':'revisionHistoryLabel','position':{'target':_0x12cb76[_0x1906('0x3f')]}}),this[_0x1906('0x19')][_0x1906('0x100')](_0x1906('0xa0')));}),this['on'](_0x1906('0xfd'),(_0x53bebd,_0x47f5e5,_0x3cf06a,_0x167dc5)=>{this['activeView']=_0x3cf06a?this['_getViewForChange'](_0x3cf06a):null,this[_0x1906('0x78')][_0x1906('0x105')]['change'](()=>{const _0x52b8e7=this[_0x1906('0x78')][_0x1906('0xb1')];_0x167dc5&&_0x52b8e7[_0x1906('0x88')](_0x1906('0x34')+_0x167dc5['id']),_0x3cf06a&&_0x52b8e7[_0x1906('0x88')]('revision:'+_0x3cf06a['id']);});}),this[_0x1906('0x6c')](this['editor']['editing'][_0x1906('0xbf')][_0x1906('0x76')],'mouseover',(_0x5c4ea0,_0x36ab93)=>{if(this[_0x1906('0x3b')])return;const _0x4327b9=this[_0x1906('0xaa')](_0x36ab93[_0x1906('0x5a')]),_0xc1053f=this[_0x1906('0x87')][_0x1906('0x4f')](_0x4327b9);this['activeView']=_0xc1053f?this[_0x1906('0x7b')](_0xc1053f):null;}),this[_0x1906('0x6c')](this[_0x1906('0x78')]['editing'][_0x1906('0xbf')][_0x1906('0x76')],_0x1906('0xf3'),(_0x38148a,_0xed21f1)=>{const _0x5e5ee5=this['_findChangeIdFromDomTarget'](_0xed21f1[_0x1906('0x5a')]),_0x207ee6=this[_0x1906('0x87')][_0x1906('0x4f')](_0x5e5ee5);this['activeChange']=_0x207ee6||null;});}[_0x1906('0xaa')](_0xe10dba){do{const _0x584574=_0xe10dba['getAttribute']('data-change-id');if(_0x584574)return _0x584574;_0xe10dba=_0xe10dba[_0x1906('0x106')];}while(_0xe10dba);return null;}['_cleanMarkers'](){this[_0x1906('0x78')][_0x1906('0x105')][_0x1906('0x81')](_0x7808a6=>{for(const _0x144e7c of this[_0x1906('0x78')][_0x1906('0x105')][_0x1906('0x0')])_0x7808a6[_0x1906('0x1a')](_0x144e7c);});}}function Z(_0x21c24f,_0x2c1acd){return(_0x289bde,_0x1447d1,_0x1e2907)=>{if(!_0x1e2907[_0x1906('0x89')][_0x1906('0xc8')](_0x1447d1[_0x1906('0x10a')],_0x289bde[_0x1906('0x50')]))return;const _0x5ac78c=_0x1447d1[_0x1906('0x10a')][_0x1906('0x10b')](),_0x554c69=_0x1447d1[_0x1906('0x10a')][_0x1906('0x98')],_0x458cfd=_0x21c24f['model']['schema'];let _0x5bc4ae=null,_0x4e7d29=null,_0x21a0b4=!0x1,_0x333940=!0x1;for(const _0x20ac4c of _0x5ac78c){const _0x5eebce=_0x20ac4c['item'];_0x21a0b4=_0x21a0b4||_0x458cfd[_0x1906('0xed')](_0x5eebce);const _0x4755f6=_0x1e2907[_0x1906('0x57')]['toViewElement'](_0x5eebce);if(_0x4755f6&&_0x4755f6[_0x1906('0x104')](_0x1906('0x68')))return;_0x1906('0x6d')==_0x20ac4c[_0x1906('0x77')]&&(_0x458cfd[_0x1906('0x4b')](_0x5eebce)&&!_0x458cfd['isLimit'](_0x5eebce)&&(_0x5eebce[_0x1906('0x107')]||_0x554c69[_0x1906('0x2a')]?_0x5bc4ae&&_0x5bc4ae[_0x1906('0x106')]==_0x5eebce||(_0x5bc4ae=_0x5eebce,_0x430baf(_0x20ac4c[_0x1906('0x13')]),_0x333940=!0x0):_0x4e7d29=_0x4e7d29||_0x20ac4c[_0x1906('0x13')]));}function _0x430baf(_0x546440){const _0x338dac=_0x1e2907[_0x1906('0x57')]['toViewPosition'](_0x546440),_0x7e24e1=_0x1e2907[_0x1906('0x48')][_0x1906('0x103')]('span',{'class':'ck-suggestion-preview-marker-'+_0x2c1acd});_0x1e2907[_0x1906('0x48')][_0x1906('0x5b')](_0x338dac,_0x7e24e1),_0x1e2907['mapper']['bindElementToMarker'](_0x7e24e1,_0x1447d1[_0x1906('0x4')]);}_0x21a0b4||_0x333940||!_0x4e7d29||_0x430baf(_0x4e7d29);};}_0x23516d(d,_0x528450);class tt extends _0x3864b7{constructor(_0x343ed1){super(_0x343ed1);const _0x349063=_0x343ed1['plugins'][_0x1906('0x4f')](d);this[_0x1906('0x10c')](_0x343ed1,_0x1906('0xf7')),this[_0x1906('0xa4')](_0x1906('0x9')),this[_0x1906('0x6c')](_0x349063,_0x1906('0x40'),()=>this[_0x1906('0x82')]()),this[_0x1906('0x6c')](_0x349063,_0x1906('0x4e'),()=>this[_0x1906('0x82')]());}[_0x1906('0x7')](){const _0x8dc680=this[_0x1906('0x78')],_0xf1433=_0x8dc680[_0x1906('0x108')][_0x1906('0x4f')](d),_0x574c45=_0xf1433[_0x1906('0xd4')]?_0xf1433[_0x1906('0xfe')]['newRevisionId']:null;_0x8dc680[_0x1906('0x29')][_0x1906('0x4f')](_0x1906('0x6'))[_0x1906('0x17')](_0x574c45);}['refresh'](){const {isReady:_0x211a7c,isEnabled:_0x10223b}=this[_0x1906('0x78')][_0x1906('0x108')][_0x1906('0x4f')](d);this[_0x1906('0x6f')]=_0x211a7c&&_0x10223b;}}class et extends _0x3864b7{constructor(_0x37b7e0,{direction:_0x27d851}){super(_0x37b7e0);const _0x1b43f0=_0x37b7e0[_0x1906('0x108')]['get'](d);this[_0x1906('0x10c')](_0x37b7e0,_0x1906('0xf7')),this[_0x1906('0xa4')](_0x1906('0x9')),this['_step']=_0x1906('0x83')===_0x27d851?0x1:-0x1,this[_0x1906('0x6c')](_0x1b43f0,_0x1906('0x40'),()=>this[_0x1906('0x82')]()),this['listenTo'](_0x1b43f0,'change:isEnabled',()=>this[_0x1906('0x82')]());}['execute'](){const _0xda8040=this[_0x1906('0x78')],_0x10f502=_0xda8040[_0x1906('0x108')][_0x1906('0x4f')](d),{isNavigationMode:_0xf31fb9,currentChangeNumber:_0x4380b9}=_0x10f502;_0x10f502['activeChange']=_0xf31fb9?_0x10f502['diff'][_0x1906('0x3c')][_0x1906('0x4f')](_0x4380b9+this[_0x1906('0x95')]):_0x10f502[_0x1906('0xfe')][_0x1906('0x3c')]['first'];const _0x47cdf7=_0xda8040[_0x1906('0x105')]['markers'][_0x1906('0x4f')](_0x1906('0x34')+_0x10f502[_0x1906('0x3b')]['id']),_0x57cf55=_0x48a7d5(_0xda8040[_0x1906('0xb1')],_0x47cdf7);_0x23cfd9({'target':_0x57cf55,'viewportOffset':0x28});}[_0x1906('0x82')](){const {isNavigationMode:_0x35c908,currentChangeNumber:_0x318f45,numberOfChanges:_0x12dac8,isReady:_0x2c3057,isEnabled:_0xd5e5ca}=this[_0x1906('0x78')][_0x1906('0x108')][_0x1906('0x4f')](d);this[_0x1906('0x6f')]=!!(_0xd5e5ca&&_0x2c3057&&_0x12dac8)&&(!_0x35c908||(0x1===this[_0x1906('0x95')]?_0x318f45<_0x12dac8-0x1:_0x318f45>0x0));}}
23
+ const _0x5e48=['data','markerToData','compare','toModel','level','unshift','deletions','ck-suggestion-marker-split','isReady','isContent','pop','RevisionViewer','newRevisionId','slice','listenTo','_step','change:isEnabled','plugins','startsWith','createUIElement','config','loadRevisionData','nodeAfter','test','range','dataDowncast','isEqual','forward','elementToAttribute','revisionHistory','item','restoreRevisionCallback','bind','has','_appendChild','hasClass','destroy','_removeRevisionMarkers','upcast','catch','endIndex','ck-suggestion-marker--active','insertions','_markInsertions','_markMarkers','concat','type','_refreshStartEndIndex','uiElement','markerToHighlight','viewItem','removeMarker:revision-suggestion','addRevision','revisionHistoryLabel','dataToMarker','execute','attributes','removeMarker','_makeModelFromViewString','split','createPositionBefore','model','revision-viewer','insertion','toData','_initInteractions','target','useFillerType','unbindElementFromMarkerName','revision-comment:','backward','resolve','toViewPosition','revision-suggestion:','getRootNames','bindElementToMarker','pluginName','_setConversion','element','removeMarker:revision','_threeWayMerge','markerRange','_update','document','enableReadOnlyMode','suggestion:','low','_cleanMarkers','numberOfChanges','_markSuggestions','getRevision','_processTape','_cleanUp','parse','deletion','processor','get','name','change:activeView','markerName','editor','revision-suggestion','ck-suggestion-marker','markers','changes','schema','isBlock','length','activeChange','ck-suggestion-preview-marker-','getIndex','highest','_makeModelFromTape','removeClass','markersStart','span','_getDiff','_fixObsoleteTags','forEach','userId','children','ck-suggestion-marker-merge','set','getRoot','first','-new','_getViewForChange','vid_end','refresh','_setDistance','_findChangeIdFromDomTarget','enqueueChange','diff','oldRevisionId','values','text','isEnabled','startIndex','then','elementEnd','addClass','mapper','getChild','shift','conversion','createRange','_removeMissingPairs','getAttribute','_markMismatchedRemovedTags','getAttributes','writer','stop','ck-suggestion-marker-','index','currentChangeNumber','ck-editor__editable__overlay','delete','maxOffset','createRangeIn','abs','for','addHighlight','_setData','getWalker','revision','filter','insert','done','attribute:vid','repository','vid','roots','_getChangeFromId','editing','_revisions','modelRange','_makeTape','map','_getViewObj','createPositionFromPath','commands','previousPosition','addMarker:revision-suggestion:insertion','elementStart','setData','activeView','consumable','markerNameToElements','isAdded','setAttribute','clear','_getRevisionsRange','mousedown','readOnlyMode','showPreviousChange','downcastDispatcher','high','change:activeChange','sort','toViewElement','isIncorrect','merge','view','markersEnd','change:isReadOnly','selection','marked','distance','requires','_removeUnsupportedChanges','object','start','change:numberOfChanges','from','vid_start','data-change-id','revision:','default','diffData','keys','_changeView','isObject','clearForceDisabled','addMarker:revision','toViewRange','consume','_balloon','parent','all','collaboration.channelId','ck-suggestion-preview-marker','getCustomProperty','string','revision-start','next','isCollapsed','change','softBreak','isLimit','nextSibling','data-revision-','authors','wrap','change:isReady','isRemoved','add','comment','editingDowncast','remove','isRemoveSuggestion','_joinTapes','isAddSuggestion','_target','createRevision','end','addRevisionData','revision-end','pairId','isAfter','splice','isSuggestion','side','push','_changeIdToChange'];(function(_0x104931,_0x5e48c2){const _0x1447df=function(_0x1164dc){while(--_0x1164dc){_0x104931['push'](_0x104931['shift']());}};_0x1447df(++_0x5e48c2);}(_0x5e48,0xa8));const _0x1447=function(_0x104931,_0x5e48c2){_0x104931=_0x104931-0x0;let _0x1447df=_0x5e48[_0x104931];return _0x1447df;};import{Plugin as _0x119551,Command as _0xce060f}from'ckeditor5/src/core';import{ObservableMixin as _0x14a170,mix as _0x4d7bf0,scrollViewportToShowTarget as _0x1354e1}from'ckeditor5/src/utils';import{ContextualBalloon as _0x5faf91}from'ckeditor5/src/ui';import{DocumentFragment as _0x4f3d5d,Element as _0x41d9f3,Text as _0x4243fd,ViewDocumentFragment as _0xaca2cd,ViewText as _0x4ce46f,ViewElement as _0x213d3b,ViewContainerElement as _0x3844ce,ViewAttributeElement as _0x574b15,ViewEmptyElement as _0x3af1f5,ViewRawElement as _0x1fbfc4,ViewUIElement as _0x291c78}from'ckeditor5/src/engine';import{Users as _0x49b57b,getMarkerDomElement as _0x2f5dfb}from'ckeditor5-collaboration/src/collaboration-core';import _0x30668c from'./ui/revisionviewer/changedetailsview';import _0x97c9e4 from'./revisionsrepository';import _0x5b9455 from'./changeitem';import _0x72f360 from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x3844ce,'a':_0x574b15,'e':_0x3af1f5,'r':_0x1fbfc4,'u':_0x291c78};export default class d extends _0x119551{static get[_0x1447('0xac')](){return _0x1447('0x6b');}static get[_0x1447('0x28')](){return[_0x49b57b,_0x5faf91,_0x97c9e4];}constructor(..._0x302434){super(..._0x302434),this[_0x1447('0x1')]=this['editor']['plugins'][_0x1447('0xc0')]('RevisionsRepository'),this['set'](_0x1447('0xcc'),null),this['set'](_0x1447('0x11'),null),this[_0x1447('0xda')](_0x1447('0xe4'),null),this['set'](_0x1447('0x68'),!0x1),this['set'](_0x1447('0xe8'),!0x0),this['on'](_0x1447('0x70'),(_0x32fb77,_0x42883a,_0x2f26dd)=>{this[_0x1447('0xcc')]=null,this[_0x1447('0x11')]=null,this['editor']['editing'][_0x1447('0x22')][_0x1447('0x44')](_0x390f4b=>{for(const _0x3ccf86 of this[_0x1447('0xc4')][_0x1447('0x5')][_0x1447('0x22')][_0x1447('0xb3')][_0x1447('0x3')])_0x2f26dd?_0x390f4b[_0x1447('0xd1')](_0x1447('0xfb'),_0x3ccf86):_0x390f4b['addClass']('ck-editor__editable__overlay',_0x3ccf86);});}),this['bind']('isNavigationMode')['to'](this,_0x1447('0xcc'),_0x380f23=>null!==_0x380f23),this[_0x1447('0x80')](_0x1447('0xfa'))['to'](this,_0x1447('0x68'),this,_0x1447('0xe4'),this,_0x1447('0xcc'),(_0x1fb044,_0x50270e,_0x14e0dc)=>_0x1fb044&&_0x14e0dc?_0x50270e[_0x1447('0xc8')]['getIndex'](_0x14e0dc):0x0),this[_0x1447('0x80')](_0x1447('0xb8'))['to'](this,_0x1447('0x68'),this,_0x1447('0xe4'),(_0x49974c,_0x2de182)=>_0x49974c?_0x2de182[_0x1447('0xc8')]['length']:0x0),this['_changeView']=null,this[_0x1447('0x5f')]=new Map(),this['adapter']=null,this[_0x1447('0x3a')]=this[_0x1447('0xc4')][_0x1447('0x71')][_0x1447('0xc0')](_0x5faf91);}['init'](){const _0x2b75fa=this['editor'],_0xc4a5fc=new et(_0x2b75fa,{'direction':_0x1447('0xa6')}),_0x4cf841=new et(_0x2b75fa,{'direction':_0x1447('0x7b')});_0x2b75fa[_0x1447('0xc')][_0x1447('0x4d')](_0x1447('0x1a'),_0xc4a5fc),_0x2b75fa[_0x1447('0xc')][_0x1447('0x4d')]('showNextChange',_0x4cf841),_0x2b75fa[_0x1447('0xc')]['add']('restoreRevision',new tt(_0x2b75fa)),this['on'](_0x1447('0x2c'),()=>{_0xc4a5fc[_0x1447('0xe0')](),_0x4cf841['refresh']();}),this[_0x1447('0xad')](),this['_initInteractions'](),_0x2b75fa[_0x1447('0xb4')](_0x1447('0x9e'));}async['getRevisionData'](_0x55c022){await this[_0x1447('0x75')](_0x55c022);const _0x2faf6f={};for(const _0x8c3d3a in _0x55c022['diffData']){const _0x2ea1f9=this[_0x1447('0x85')](JSON[_0x1447('0xbd')](_0x55c022[_0x1447('0x32')][_0x8c3d3a][_0x1447('0x8a')])),_0xcd6701=this[_0x1447('0xc4')]['editing'][_0x1447('0x22')][_0x1447('0xb3')],_0x9c8c9f=new _0xaca2cd(_0xcd6701,_0x2ea1f9['map'](_0x11050f=>this[_0x1447('0xa')](_0x11050f)));this[_0x1447('0xc4')]['data'][_0x1447('0xbf')][_0x1447('0xa3')](_0x1447('0x26')),_0x2faf6f[_0x8c3d3a]=this[_0x1447('0xc4')][_0x1447('0x60')][_0x1447('0xbf')][_0x1447('0xa0')](_0x9c8c9f),this[_0x1447('0xc4')][_0x1447('0x60')][_0x1447('0xbf')][_0x1447('0xa3')](_0x1447('0x31'));}return _0x2faf6f;}[_0x1447('0x85')](_0x3d8f17){return(_0x3d8f17=_0x3d8f17['filter'](_0x287726=>!_0x287726[_0x1447('0xc1')]||_0x1447('0x41')!==_0x287726[_0x1447('0xc1')]&&_0x1447('0x58')!==_0x287726[_0x1447('0xc1')]))[_0x1447('0xd6')](_0x4827a9=>{_0x1447('0x40')!=typeof _0x4827a9&&(_0x4827a9[_0x1447('0xd8')]=this[_0x1447('0x85')](_0x4827a9[_0x1447('0xd8')]),_0x4827a9['attributes']=_0x4827a9[_0x1447('0x98')][_0x1447('0x105')](_0x671c1f=>!_0x671c1f[0x0][_0x1447('0x72')](_0x1447('0x48'))));}),_0x3d8f17;}[_0x1447('0x62')](_0x5d127c,_0x8700e6,_0x5601de=!0x1){if(!this[_0x1447('0xe8')])return;const _0x5d1472=this['diff'],_0x582984=this[_0x1447('0x1')],_0x4fd6e7=_0x1447('0x40')==typeof _0x5d127c?_0x582984[_0x1447('0xba')](_0x5d127c):_0x5d127c,_0xb400bf=_0x1447('0x40')==typeof _0x8700e6?_0x582984[_0x1447('0xba')](_0x8700e6):_0x8700e6,_0x568965=_0x4fd6e7['id'],_0x469d4f=_0xb400bf?_0xb400bf['id']:null;if(!_0x5601de&&this[_0x1447('0xe4')]&&this['diff'][_0x1447('0x6c')]===_0x568965&&this[_0x1447('0xe4')][_0x1447('0xe5')]===_0x469d4f)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this[_0x1447('0xcc')]=null,this['diff']=new _0x72f360(_0x568965,_0x469d4f);const _0x4a8eb4=this[_0x1447('0x17')](_0x4fd6e7,_0xb400bf,!0x0)[_0x1447('0x9')](_0x106988=>this['loadRevisionData'](_0x106988));return _0x4a8eb4[_0x1447('0x5e')](new Promise(_0x1424b9=>{setTimeout(_0x1424b9,0x14);})),Promise[_0x1447('0x3c')](_0x4a8eb4)[_0x1447('0xea')](()=>{if(!this[_0x1447('0xe8')])return;this['_cleanUp']();const _0xef5569=this[_0x1447('0xd4')](_0x568965,_0x469d4f);this[_0x1447('0xe4')][_0x1447('0x102')](_0xef5569);for(const _0x3238f8 of this[_0x1447('0xe4')][_0x1447('0xc8')])this[_0x1447('0x5f')][_0x1447('0xda')](_0x3238f8['id'],_0x3238f8);this['editor'][_0x1447('0x9d')][_0x1447('0xe3')]({'isUndoable':!0x1},_0x578ea5=>{for(const _0x57559d of Object[_0x1447('0x33')](_0xef5569[_0x1447('0x9d')])){const _0x307339=this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0xb3')][_0x1447('0xdb')](_0x57559d);_0x578ea5[_0x1447('0x50')](_0x578ea5['createRangeIn'](_0x307339)),_0x578ea5[_0x1447('0x106')](_0xef5569['model'][_0x57559d],_0x307339,0x0);}}),this['isReady']=!0x0;})[_0x1447('0x87')](_0xafc900=>{console['error'](_0xafc900),this[_0x1447('0xbc')](),_0x5d1472?this['diff']=_0x5d1472:this[_0x1447('0xc4')][_0x1447('0x10')]('<p></p>'),this[_0x1447('0x68')]=!0x0;});}[_0x1447('0x84')](){this[_0x1447('0x11')]=null,this[_0x1447('0x34')]&&this['_changeView'][_0x1447('0x84')]();}[_0x1447('0x57')](_0x1d5465,_0x4a6dbf){const _0x39ce9b=this['repository'][_0x1447('0x55')](_0x1d5465);return _0x39ce9b['on'](_0x1447('0xb2'),(_0x3d82a3,_0x31f7ff,_0x206e3c)=>_0x4a6dbf(_0x31f7ff,_0x206e3c,_0x39ce9b)),this[_0x1447('0x1')][_0x1447('0x94')](_0x39ce9b),_0x39ce9b;}['loadRevisionData'](_0x21b28b){if(!_0x21b28b||_0x21b28b['diffData'])return Promise[_0x1447('0xa7')]();{const _0x5c7301=this[_0x1447('0xc4')][_0x1447('0x74')][_0x1447('0xc0')](_0x1447('0x3d'));return this['adapter'][_0x1447('0xba')]({'channelId':_0x5c7301,'revisionId':_0x21b28b['id']})[_0x1447('0xea')](_0x581a11=>{_0x21b28b['_update']({'diffData':_0x581a11[_0x1447('0x32')]},!0x0);});}}['_cleanUp'](){this[_0x1447('0xcc')]=null,this[_0x1447('0xb7')](),this[_0x1447('0x34')]&&this[_0x1447('0x34')][_0x1447('0x84')](),this[_0x1447('0x34')]=null,this[_0x1447('0x5f')][_0x1447('0x16')]();}[_0x1447('0x8')](_0x1c2971){const _0x4d66e0=Array[_0x1447('0x2d')](_0x1c2971['markers'])['filter'](([_0x1dba72,_0x262476])=>_0x1dba72['startsWith'](_0x1447('0x30'))&&!_0x262476[_0x1447('0x43')]),_0x584f25=Array[_0x1447('0x2d')](this[_0x1447('0xc4')]['model'][_0x1447('0xfe')](_0x1c2971)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4d66e0[_0x1447('0xcb')])for(const _0x449d78 of _0x584f25){const [_0xfa4853,_0x550d81]=_0x4d66e0[0x0],[,_0x16f79e,_0x8ea8f4]=_0xfa4853[_0x1447('0x9b')](':');if(_0x550d81[_0x1447('0x56')]['isEqual'](_0x449d78['nextPosition'])&&_0x4d66e0[_0x1447('0xef')](),(_0x449d78[_0x1447('0xd')]['isEqual'](_0x550d81[_0x1447('0x2b')])||_0x449d78[_0x1447('0xd')][_0x1447('0x5a')](_0x550d81[_0x1447('0x2b')]))&&(_0x1447('0x9f')==_0x16f79e?_0x449d78['isAdded']={'userId':_0x8ea8f4}:'deletion'==_0x16f79e&&(_0x449d78[_0x1447('0x4c')]={'userId':_0x8ea8f4})),0x0==_0x4d66e0['length'])break;}return _0x584f25;}[_0x1447('0x8f')](_0x169dac){const _0x5ed342=new Map();for(let _0x24118d=0x0;_0x24118d<_0x169dac[_0x1447('0xcb')];_0x24118d++)'text'===_0x169dac[_0x24118d][_0x1447('0x8e')]?(_0x169dac[_0x24118d][_0x1447('0x7e')][_0x1447('0xe9')]=_0x24118d,_0x169dac[_0x24118d][_0x1447('0x7e')][_0x1447('0x88')]=_0x24118d):(_0x1447('0xf')===_0x169dac[_0x24118d][_0x1447('0x8e')]?_0x169dac[_0x24118d][_0x1447('0x7e')]['startIndex']=_0x24118d:_0x1447('0xeb')===_0x169dac[_0x24118d][_0x1447('0x8e')]&&(_0x169dac[_0x24118d][_0x1447('0x7e')][_0x1447('0x88')]=_0x24118d),_0x5ed342[_0x1447('0xda')](_0x169dac[_0x24118d]['id'],_0x24118d));for(const _0x37a620 of _0x5ed342[_0x1447('0xe6')]())_0x1447('0xf')===_0x169dac[_0x37a620][_0x1447('0x8e')]?_0x169dac[_0x37a620][_0x1447('0x7e')][_0x1447('0x88')]=_0x5ed342[_0x1447('0xc0')](_0x169dac[_0x37a620]['pairId']):'elementEnd'===_0x169dac[_0x37a620][_0x1447('0x8e')]&&(_0x169dac[_0x37a620][_0x1447('0x7e')][_0x1447('0xe9')]=_0x5ed342['get'](_0x169dac[_0x37a620][_0x1447('0x59')]));}['_processTape'](_0x23fcec){for(let _0x40de8a=0x0;_0x40de8a<_0x23fcec[_0x1447('0xcb')];_0x40de8a++){if(_0x1447('0xf')===_0x23fcec[_0x40de8a][_0x1447('0x8e')])_0x23fcec[_0x40de8a]['item'][_0x1447('0xe9')]=_0x40de8a;else{if(_0x1447('0xeb')===_0x23fcec[_0x40de8a][_0x1447('0x8e')]){_0x23fcec[_0x40de8a]['item'][_0x1447('0x88')]=_0x40de8a;const _0x4ff760=_0x23fcec[_0x40de8a][_0x1447('0x7e')][_0x1447('0xe9')];_0x23fcec[_0x4ff760][_0x1447('0x59')]=_0x23fcec[_0x40de8a]['id'],_0x23fcec[_0x40de8a][_0x1447('0x59')]=_0x23fcec[_0x4ff760]['id'];}else _0x23fcec[_0x40de8a]['item'][_0x1447('0xe9')]=_0x40de8a,_0x23fcec[_0x40de8a][_0x1447('0x7e')][_0x1447('0x88')]=_0x40de8a,_0x23fcec[_0x40de8a][_0x1447('0x59')]=null;}_0x23fcec[_0x40de8a][_0x1447('0xd2')]||(_0x23fcec[_0x40de8a]['markersStart']=[],_0x23fcec[_0x40de8a][_0x1447('0x23')]=[]);}}[_0x1447('0x8b')](_0x39a97e,_0x2308f2){const _0x2136e7=_0x39a97e[_0x1447('0x105')](_0xbc3d3c=>!_0xbc3d3c[_0x1447('0x14')]);for(let _0x4aa487=0x0;_0x4aa487<_0x2308f2[_0x1447('0xcb')];_0x4aa487++)_0x2308f2[_0x4aa487]['isAdded']&&(_0x2136e7[_0x4aa487][_0x1447('0x14')]=_0x2308f2[_0x4aa487][_0x1447('0x14')]);}[_0x1447('0x9a')](_0x1f27c1){const _0xc176b7=JSON['parse'](_0x1f27c1),_0x2a8a36=this['editor'][_0x1447('0x5')][_0x1447('0x22')]['document'],_0x26b959=new _0xaca2cd(_0x2a8a36,_0xc176b7[_0x1447('0x9')](_0x24551e=>this['_getViewObj'](_0x24551e)));return this['editor'][_0x1447('0x60')][_0x1447('0x63')](_0x26b959);}[_0x1447('0xa')](_0x79ee0c){const _0x1dda7b=this[_0x1447('0xc4')][_0x1447('0x5')][_0x1447('0x22')][_0x1447('0xb3')];if(_0x1447('0x40')==typeof _0x79ee0c)return new _0x4ce46f(_0x1dda7b,_0x79ee0c);{const _0x253ecd=_0x79ee0c[_0x1447('0xd8')]['map'](_0x48d627=>this[_0x1447('0xa')](_0x48d627));return new(Y[_0x79ee0c['type']]||_0x213d3b)(_0x1dda7b,_0x79ee0c['name'],_0x79ee0c[_0x1447('0x98')],_0x253ecd);}}[_0x1447('0xd4')](_0x30ec25,_0xd769f2=null){const _0x5b15eb=this[_0x1447('0x1')]['getRevision'](_0x30ec25),_0xb6b22c=_0xd769f2?this['repository']['getRevision'](_0xd769f2):null,_0x1947d5=this[_0x1447('0x17')](_0x5b15eb,_0xb6b22c),_0x2fe433=_0x1947d5[_0x1947d5['length']-0x1],_0x4c3124=new Map();for(const _0x24daa9 of _0x1947d5){_0x24daa9[_0x1447('0x9d')]={};for(const _0x32f90f of _0x24daa9[_0x1447('0x49')])_0x4c3124[_0x1447('0xda')](_0x32f90f['id'],_0x32f90f);for(const _0x2d4bb7 of this[_0x1447('0xc4')]['model'][_0x1447('0xb3')][_0x1447('0xaa')]())_0x24daa9[_0x1447('0x32')][_0x2d4bb7]||(_0x24daa9[_0x1447('0x32')][_0x2d4bb7]={'insertions':'[]','deletions':'[]'}),_0x24daa9[_0x1447('0x9d')][_0x2d4bb7]={'insertions':this[_0x1447('0x9a')](_0x24daa9[_0x1447('0x32')][_0x2d4bb7][_0x1447('0x8a')]),'deletions':this[_0x1447('0x9a')](_0x24daa9[_0x1447('0x32')][_0x2d4bb7][_0x1447('0x66')])};}const _0x2fd371={'model':{},'changes':[]};for(const _0x4948db of this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0xb3')]['getRootNames']()){let _0x2c80d7=null,_0x43b28a=0x0;const _0xee298f=new Map(Array[_0x1447('0x2d')](_0x5b15eb[_0x1447('0x9d')][_0x4948db]['insertions'][_0x1447('0xc7')])['filter'](([_0x5260b2])=>!_0x5260b2[_0x1447('0x72')](_0x1447('0x30'))));let _0x5ef2ba=0x0;for(const _0x4782e1 of _0x1947d5){const _0x35d019=this['_makeTape'](_0x4782e1[_0x1447('0x9d')][_0x4948db][_0x1447('0x8a')]);_0x4782e1==_0x5b15eb?(_0x2c80d7=_0x35d019,_0x43b28a=_0x2c80d7[_0x1447('0xcb')],_0x2c80d7[_0x1447('0xd6')](_0xaacd9c=>{_0xaacd9c['id']=_0x5ef2ba++;}),this[_0x1447('0xbb')](_0x2c80d7)):this[_0x1447('0x8b')](_0x2c80d7,_0x35d019);const _0x21954e=_0x2c80d7['filter'](_0x20d6f3=>!_0x20d6f3['isAdded'])[_0x1447('0x9')](_0x2a203e=>_0x2a203e['id']);let _0x2300b8=0x0;const _0x150ffc=this['_makeTape'](_0x4782e1[_0x1447('0x9d')][_0x4948db][_0x1447('0x66')]);_0x150ffc[_0x1447('0xd6')](_0x4ce06d=>{_0x4ce06d[_0x1447('0x4c')]?_0x4ce06d['id']=_0x43b28a++:_0x4ce06d['id']=_0x21954e[_0x2300b8++];}),this['_processTape'](_0x150ffc),this[_0x1447('0xe1')](_0x2c80d7,_0x1447('0x14')),this['_setDistance'](_0x150ffc,_0x1447('0x4c')),_0x4782e1==_0x5b15eb&&this[_0x1447('0x8c')](_0x2c80d7,_0xee298f),_0x2c80d7=this[_0x1447('0x52')](_0x2c80d7,_0x150ffc),this[_0x1447('0x8f')](_0x2c80d7),this['_setDistance'](_0x2c80d7,'isRemoved');}_0x2c80d7=_0x2c80d7[_0x1447('0x105')](_0x167bac=>!(_0x167bac[_0x1447('0x14')]&&_0x167bac['isRemoved']));const _0x8ed02e=new Map(_0x2fe433[_0x1447('0x9d')][_0x4948db][_0x1447('0x66')][_0x1447('0xc7')]),_0x16473c=new Set(_0xee298f[_0x1447('0x33')]());for(const _0x528903 of _0x8ed02e[_0x1447('0x33')]())_0x16473c[_0x1447('0xfc')](_0x528903);this[_0x1447('0xb9')](_0x2c80d7,_0x16473c),this[_0x1447('0xd5')](_0x2c80d7),_0x2c80d7=this[_0x1447('0xf2')](_0x2c80d7),_0x2c80d7=this[_0x1447('0xf4')](_0x2c80d7),_0x2c80d7=this[_0x1447('0x29')](_0x2c80d7);const {root:_0x1bdd25,changes:_0x114a2f}=this[_0x1447('0xd0')](_0x2c80d7,_0x4c3124);_0x2fd371[_0x1447('0x9d')][_0x4948db]=_0x1bdd25,_0x2fd371[_0x1447('0xc8')]=_0x2fd371['changes'][_0x1447('0x8d')](_0x114a2f);}return _0x2fd371;}[_0x1447('0x8c')](_0x4745ce,_0x1f66ba){for(let _0x22f6b4=0x0;_0x22f6b4<_0x4745ce[_0x1447('0xcb')];_0x22f6b4++)for(const [_0x4eb349,_0x3ca3c1]of _0x1f66ba)_0x3ca3c1[_0x1447('0x2b')][_0x1447('0x7a')](_0x4745ce[_0x22f6b4][_0x1447('0xd')])&&_0x4745ce[_0x22f6b4][_0x1447('0xd2')]['push'](_0x4eb349),_0x3ca3c1[_0x1447('0x56')][_0x1447('0x7a')](_0x4745ce[_0x22f6b4]['nextPosition'])&&_0x4745ce[_0x22f6b4][_0x1447('0x23')][_0x1447('0x5e')](_0x4eb349);}['_joinTapes'](_0x49c70f,_0x40d117){let _0x517c42=[],_0x27132a=0x0,_0x5af804=0x0;for(;_0x27132a<_0x49c70f[_0x1447('0xcb')]||_0x5af804<_0x40d117[_0x1447('0xcb')];){const _0x246c41=_0x49c70f[_0x27132a]||{},_0x5a4aff=_0x40d117[_0x5af804]||{};if(_0x246c41['id']==_0x5a4aff['id'])_0x27132a++,_0x5af804++,_0x517c42[_0x1447('0x5e')](_0x246c41);else{if(_0x5a4aff[_0x1447('0x4c')]&&_0x246c41['isAdded']){const {commonTape:_0x209916,iEnd:_0x220d8e,jEnd:_0x5f12ab}=this[_0x1447('0xb0')](_0x49c70f,_0x27132a,_0x40d117,_0x5af804);_0x517c42=_0x517c42[_0x1447('0x8d')](_0x209916),_0x27132a=_0x220d8e,_0x5af804=_0x5f12ab;}else _0x5a4aff['isRemoved']?(_0x5af804++,_0x517c42[_0x1447('0x5e')](_0x5a4aff)):(_0x27132a++,_0x517c42[_0x1447('0x5e')](_0x246c41));}}return _0x517c42;}['_markSuggestions'](_0x57d568,_0x36c076){const _0x59f4d3=[];for(let _0x4ece30=0x0;_0x4ece30<_0x57d568[_0x1447('0xcb')];_0x4ece30++){for(let _0x19db34=0x0;_0x19db34<_0x57d568[_0x4ece30][_0x1447('0xd2')][_0x1447('0xcb')];_0x19db34++){const _0x1d1331=_0x57d568[_0x4ece30][_0x1447('0xd2')][_0x19db34];if(!_0x36c076['has'](_0x1d1331))continue;const {group:_0x27e267,type:_0x151515,authorId:_0x367d6a}=_0x813f5f(_0x1d1331);'revision-suggestion'!=_0x27e267||_0x1447('0x9f')!=_0x151515&&_0x1447('0xbe')!=_0x151515||(_0x59f4d3['unshift']({'type':_0x151515,'name':_0x1d1331,'userId':_0x367d6a}),_0x57d568[_0x4ece30][_0x1447('0xd2')][_0x1447('0x5b')](_0x19db34,0x1),_0x19db34--);}_0xb1817b(_0x57d568[_0x4ece30]);for(let _0x392a6e=0x0;_0x392a6e<_0x57d568[_0x4ece30]['markersEnd']['length'];_0x392a6e++){const _0x1e469f=_0x57d568[_0x4ece30][_0x1447('0x23')][_0x392a6e];if(!_0x36c076['has'](_0x1e469f))continue;const {group:_0x2a1e17,type:_0x304f21}=_0x813f5f(_0x1e469f);if(_0x1447('0xc5')!=_0x2a1e17||_0x1447('0x9f')!=_0x304f21&&'deletion'!=_0x304f21)continue;_0x57d568[_0x4ece30][_0x1447('0x23')]['splice'](_0x392a6e,0x1),_0x392a6e--;const _0x1518d4=_0x59f4d3['findIndex'](_0x27617c=>_0x27617c['name']==_0x1e469f);_0x1518d4>-0x1&&_0x59f4d3[_0x1447('0x5b')](_0x1518d4,0x1);}}function _0x813f5f(_0x441171){const _0x1e8ac2=_0x441171[_0x1447('0x9b')](':');return{'group':_0x1e8ac2[0x0],'type':_0x1e8ac2[0x1],'subType':_0x1e8ac2[_0x1447('0xcb')]>=0x5?_0x1e8ac2[0x2]:null,'id':_0x1e8ac2[_0x1447('0xcb')]<0x5?_0x1e8ac2[0x2]:_0x1e8ac2[0x3],'authorId':_0x1e8ac2[_0x1447('0xcb')]<0x5?_0x1e8ac2[0x3]:_0x1e8ac2[0x4],'markerCount':0x6==_0x1e8ac2[_0x1447('0xcb')]?_0x1e8ac2[0x5]:null};}function _0xb1817b(_0x5f2666){for(let _0x5e787c=0x0;_0x5e787c<_0x59f4d3[_0x1447('0xcb')];_0x5e787c++){if(_0x5f2666['isAdded']&&_0x1447('0x9f')==_0x59f4d3[_0x5e787c][_0x1447('0x8e')])return _0x5f2666['isAddSuggestion']=_0x59f4d3[_0x5e787c],void delete _0x5f2666[_0x1447('0x14')];if(!_0x5f2666[_0x1447('0x14')]&&!_0x5f2666['isRemoved']&&_0x1447('0xbe')==_0x59f4d3[_0x5e787c][_0x1447('0x8e')])return void(_0x5f2666[_0x1447('0x51')]=_0x59f4d3[_0x5e787c]);}}}[_0x1447('0xe1')](_0x2c2fdd,_0x556589){let _0xee5955=0x0,_0x4fbda5=!0x1;const _0x1ae1ce=new Map();for(const _0x4db55a of _0x2c2fdd)_0x4db55a[_0x556589]?_0x4fbda5&&(_0xee5955++,_0x4fbda5=!0x1):(_0xee5955++,_0x4fbda5=!0x0),_0x1ae1ce[_0x1447('0xda')](_0x4db55a['id'],_0xee5955);for(let _0x219372=0x0;_0x219372<_0x2c2fdd[_0x1447('0xcb')];_0x219372++){if(_0x1447('0x4c')==_0x556589&&_0x2c2fdd[_0x219372]['isAdded']||'isAdded'==_0x556589&&_0x2c2fdd[_0x219372][_0x1447('0x4c')])continue;if(_0x1447('0xe7')==_0x2c2fdd[_0x219372][_0x1447('0x8e')]){_0x2c2fdd[_0x219372][_0x1447('0x27')]=0x0;continue;}const _0x28e92d=_0x1ae1ce[_0x1447('0xc0')](_0x2c2fdd[_0x219372][_0x1447('0x59')]),_0x1494f0=_0x1ae1ce[_0x1447('0xc0')](_0x2c2fdd[_0x219372]['id']);_0x2c2fdd[_0x219372][_0x1447('0x27')]=_0x28e92d-_0x1494f0;}}[_0x1447('0x17')](_0x499c1d,_0x1f05f9,_0x41ee3e=!0x1){const _0x333bbf=[];let _0x530558=this['repository'][_0x1447('0xce')](_0x499c1d),_0xdd03b8=this[_0x1447('0x1')]['getIndex'](_0x1f05f9);for(-0x1==_0xdd03b8&&(_0xdd03b8=this['repository'][_0x1447('0x6')]['length'],_0x41ee3e=!0x1);_0x530558<_0xdd03b8;)_0x333bbf[_0x1447('0x5e')](this['repository'][_0x1447('0xba')](_0x530558)),_0x530558++;return _0x41ee3e&&_0x333bbf[_0x1447('0x5e')](this['repository']['getRevision'](_0x530558)),_0x333bbf;}[_0x1447('0xb0')](_0x4bc32b,_0x481e75,_0x59bf94,_0x4483e8){const _0x1469d1=this[_0x1447('0xc4')][_0x1447('0x9d')]['schema'];let _0x4812ea=_0x481e75;for(;_0x4bc32b[_0x4812ea]&&_0x4bc32b[_0x4812ea][_0x1447('0x14')];)_0x4812ea++;let _0x149f6b=_0x4483e8;for(;_0x59bf94[_0x149f6b]&&_0x59bf94[_0x149f6b][_0x1447('0x4c')];)_0x149f6b++;_0x2a8da2(_0x4bc32b,_0x481e75,_0x4812ea),_0x2a8da2(_0x59bf94,_0x4483e8,_0x149f6b);const _0x46860c=_0x59bf94[_0x1447('0x6d')](_0x4483e8,_0x149f6b)['concat'](_0x4bc32b[_0x1447('0x6d')](_0x481e75,_0x4812ea));return _0x46860c[_0x1447('0x1e')]((_0x5c244d,_0x5f2a0a)=>_0x5c244d['side']!=_0x5f2a0a[_0x1447('0x5d')]?_0x5c244d[_0x1447('0x5d')]-_0x5f2a0a[_0x1447('0x5d')]:_0x5c244d[_0x1447('0x64')]!=_0x5f2a0a[_0x1447('0x64')]?_0x5c244d[_0x1447('0x64')]-_0x5f2a0a[_0x1447('0x64')]:_0x5c244d[_0x1447('0x27')]!=_0x5f2a0a['distance']?_0x5f2a0a[_0x1447('0x27')]-_0x5c244d['distance']:!!_0x5c244d[_0x1447('0x14')]!=!!_0x5f2a0a[_0x1447('0x14')]?-0x1==_0x5c244d[_0x1447('0x5d')]||0x0==_0x5c244d[_0x1447('0x5d')]?_0x5c244d[_0x1447('0x14')]?-0x1:0x1:_0x5c244d[_0x1447('0x14')]?0x1:-0x1:_0x5c244d[_0x1447('0xf9')]-_0x5f2a0a['index']),{'commonTape':_0x46860c,'iEnd':_0x4812ea,'jEnd':_0x149f6b};function _0x2a8da2(_0x4f637e,_0x5e9607,_0x318999){let _0x203d20=-0x1,_0x28bfea=Number['POSITIVE_INFINITY'],_0x4b63ce=!0x0;for(let _0x30e60b=_0x5e9607;_0x30e60b<_0x318999;_0x30e60b++)if(_0x1469d1['isInline'](_0x4f637e[_0x30e60b][_0x1447('0x7e')])||(_0x4b63ce=!0x1),_0x4f637e[_0x30e60b][_0x1447('0x7e')][_0x1447('0xe9')]<_0x5e9607&&(_0x203d20=_0x30e60b),_0x4f637e[_0x30e60b][_0x1447('0x7e')]['endIndex']>=_0x318999){_0x28bfea=_0x30e60b;break;}_0x4b63ce&&(_0x203d20=_0x318999-0x1);for(let _0x588774=_0x5e9607;_0x588774<_0x318999;_0x588774++)_0x4f637e[_0x588774]['side']=_0x588774<=_0x203d20?-0x1:_0x588774<_0x28bfea?0x0:0x1,_0x4f637e[_0x588774][_0x1447('0xf9')]=_0x588774;let _0xd08eb=0x0;for(let _0x1ef764=_0x5e9607;_0x1ef764<=_0x203d20;_0x1ef764++)0x0==_0x4f637e[_0x1ef764][_0x1447('0x27')]?_0x4f637e[_0x1ef764][_0x1447('0x64')]=_0xd08eb:(_0xd08eb++,_0x4f637e[_0x1ef764][_0x1447('0x64')]=_0xd08eb,_0xd08eb++);for(let _0x20a698=_0x5e9607;_0x20a698<_0x318999;_0x20a698++)0x0==_0x4f637e[_0x20a698]['side']&&(_0x4f637e[_0x20a698]['level']=_0xd08eb);_0xd08eb=0x0;for(let _0x32bc00=_0x318999-0x1;_0x32bc00>=_0x28bfea;_0x32bc00--)0x0==_0x4f637e[_0x32bc00]['distance']?_0x4f637e[_0x32bc00][_0x1447('0x64')]=_0xd08eb:(_0xd08eb--,_0x4f637e[_0x32bc00][_0x1447('0x64')]=_0xd08eb,_0xd08eb--);}}[_0x1447('0xd5')](_0x407be4){const _0xeb5a2f=new Map(),_0x3230c2=this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0xc9')];for(let _0x11570d=0x1;_0x11570d<_0x407be4['length'];_0x11570d++){let _0x484a20,_0x3c6b84,_0x2aa548;const _0x3dd50f=_0x407be4[_0x11570d],_0x5d4f8e=_0x407be4[_0x11570d-0x1];if('text'==_0x3dd50f['type'])continue;if(_0x3dd50f[_0x1447('0x8e')]!=_0x5d4f8e[_0x1447('0x8e')])continue;if(!_0x3230c2[_0x1447('0xca')](_0x5d4f8e[_0x1447('0x7e')])||_0x3230c2['isLimit'](_0x5d4f8e[_0x1447('0x7e')]))continue;if(!_0x3230c2[_0x1447('0xca')](_0x3dd50f['item'])||_0x3230c2[_0x1447('0x46')](_0x3dd50f['item']))continue;if((_0x407be4[_0x11570d]['isAdded']||_0x407be4[_0x11570d][_0x1447('0x53')])&&_0x407be4[_0x11570d-0x1][_0x1447('0x4c')])_0x484a20=_0x407be4[_0x11570d],_0x3c6b84=_0x407be4[_0x11570d-0x1],_0x2aa548=_0x11570d-0x1;else{if(!_0x407be4[_0x11570d]['isRemoved']||!_0x407be4[_0x11570d-0x1]['isAdded']&&!_0x407be4[_0x11570d-0x1][_0x1447('0x53')])continue;_0x484a20=_0x407be4[_0x11570d-0x1],_0x3c6b84=_0x407be4[_0x11570d],_0x2aa548=_0x11570d;}const _0x231a00=_0x484a20['level']==_0x3c6b84[_0x1447('0x64')],_0x545078=Math[_0x1447('0xff')](_0x484a20['level'])<Math['abs'](_0x3c6b84[_0x1447('0x64')])&&0x0==_0x3c6b84[_0x1447('0x27')];(_0x231a00||_0x545078)&&(_0xeb5a2f[_0x1447('0xda')](_0x3c6b84['id'],_0x484a20['id']),_0x407be4[_0x1447('0x5b')](_0x2aa548,0x1),_0x11570d--,_0x484a20[_0x1447('0x14')]=!0x1);}for(let _0x364659=0x0;_0x364659<_0x407be4[_0x1447('0xcb')];_0x364659++)_0xeb5a2f[_0x1447('0x81')](_0x407be4[_0x364659][_0x1447('0x59')])&&(_0x407be4[_0x364659][_0x1447('0x59')]=_0xeb5a2f['get'](_0x407be4[_0x364659][_0x1447('0x59')]));}[_0x1447('0xf2')](_0x562e2b){const _0x5bff2a=new Set(_0x562e2b[_0x1447('0x9')](_0x18ec97=>_0x18ec97['id']));for(let _0x590518=0x0;_0x590518<_0x562e2b['length'];_0x590518++)_0x5bff2a[_0x1447('0x81')](_0x562e2b[_0x590518][_0x1447('0x59')])||0x0==_0x562e2b[_0x590518][_0x1447('0x27')]||(_0x562e2b[_0x590518][_0x1447('0x20')]=!0x0);return _0x562e2b[_0x1447('0x105')](_0x5897f7=>!_0x5897f7['isIncorrect']);}[_0x1447('0xf4')](_0x268ea4){const _0x52c5d8=new Set();for(let _0x44f893=0x0;_0x44f893<_0x268ea4[_0x1447('0xcb')];_0x44f893++){if(_0x52c5d8['has'](_0x268ea4[_0x44f893]['id'])&&_0x268ea4[_0x44f893][_0x1447('0x4c')]&&(_0x268ea4[_0x44f893]['isIncorrect']=!0x0),_0x268ea4[_0x44f893][_0x1447('0x20')])continue;if(0x0==_0x268ea4[_0x44f893][_0x1447('0x27')])continue;if('elementStart'!=_0x268ea4[_0x44f893][_0x1447('0x8e')])continue;if(null==_0x268ea4[_0x44f893]['pairId'])continue;let _0x3c2f7b=_0x44f893+0x1,_0x509325=0x0;for(;_0x268ea4[_0x3c2f7b]['id']!=_0x268ea4[_0x44f893]['pairId'];)'elementStart'==_0x268ea4[_0x3c2f7b][_0x1447('0x8e')]?_0x509325++:_0x1447('0xeb')==_0x268ea4[_0x3c2f7b][_0x1447('0x8e')]&&_0x509325--,_0x3c2f7b++;if(0x0!=_0x509325){if(_0x268ea4[_0x44f893][_0x1447('0x4c')])_0x268ea4[_0x44f893][_0x1447('0x20')]=!0x0;else for(;_0x3c2f7b!=_0x44f893;)_0x268ea4[_0x3c2f7b]['isRemoved']&&0x0!=_0x268ea4[_0x3c2f7b]['distance']&&(_0x268ea4[_0x3c2f7b][_0x1447('0x20')]=!0x0,_0x52c5d8['add'](_0x268ea4[_0x3c2f7b]['pairId'])),_0x3c2f7b--;}}return _0x268ea4['filter'](_0x1c7f67=>!_0x1c7f67[_0x1447('0x20')]);}[_0x1447('0x29')](_0x14d277){const _0x232daa=this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0xc9')];for(let _0x97656e=0x0;_0x97656e<_0x14d277[_0x1447('0xcb')];_0x97656e++){if(!(_0x14d277[_0x97656e][_0x1447('0x14')]||_0x14d277[_0x97656e][_0x1447('0x53')]||_0x14d277[_0x97656e]['isRemoved']||_0x14d277[_0x97656e][_0x1447('0x51')]))continue;if(0x0==_0x14d277[_0x97656e][_0x1447('0x27')])continue;const _0x24df37=_0x14d277[_0x97656e][_0x1447('0x7e')];_0x232daa['isBlock'](_0x24df37)||_0x232daa['isLimit'](_0x24df37)||(_0x14d277[_0x97656e][_0x1447('0x14')]&&delete _0x14d277[_0x97656e][_0x1447('0x14')],_0x14d277[_0x97656e][_0x1447('0x53')]&&delete _0x14d277[_0x97656e][_0x1447('0x53')],_0x14d277[_0x97656e][_0x1447('0x51')]&&delete _0x14d277[_0x97656e]['isRemoveSuggestion'],_0x14d277[_0x97656e][_0x1447('0x4c')]&&(_0x14d277[_0x97656e][_0x1447('0x20')]=!0x0));}return _0x14d277[_0x1447('0x105')](_0x1ca631=>!_0x1ca631[_0x1447('0x20')]);}[_0x1447('0xd0')](_0x4e7293,_0x28eea8){const _0x954835=new _0x4f3d5d(),_0x24c262=[],_0x5f3cac=new Map(),_0x21aba5=this['editor'][_0x1447('0x9d')],_0x19d351=_0x21aba5[_0x1447('0xc9')],_0x4534b8=[_0x954835],_0x12fbab={},_0x4d37b7={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1ab496=null;const _0x42fd1e=[0x0];for(let _0xdc951=0x0;_0xdc951<_0x4e7293['length'];_0xdc951++){let _0x338fa6,_0x4d9520;if(_0x1447('0xf')===_0x4e7293[_0xdc951][_0x1447('0x8e')]){_0x338fa6=_0x21aba5[_0x1447('0xb')](_0x954835,_0x42fd1e);const _0x2d50e3=new _0x41d9f3(_0x4e7293[_0xdc951]['item']['name'],_0x4e7293[_0xdc951]['item']['getAttributes']());_0x4534b8[0x0]['_appendChild'](_0x2d50e3),_0x42fd1e[_0x1447('0x5e')](0x0),_0x4534b8[_0x1447('0x65')](_0x2d50e3),_0x4d9520=_0x21aba5[_0x1447('0xb')](_0x954835,_0x42fd1e),_0x1ab496=null;}else{if(_0x1447('0xeb')===_0x4e7293[_0xdc951][_0x1447('0x8e')])_0x4534b8[_0x1447('0xef')](),_0x338fa6=_0x21aba5[_0x1447('0xb')](_0x954835,_0x42fd1e),_0x42fd1e[_0x1447('0x6a')](),_0x42fd1e[_0x42fd1e[_0x1447('0xcb')]-0x1]++,_0x4d9520=_0x21aba5[_0x1447('0xb')](_0x954835,_0x42fd1e),_0x1ab496=null;else{if(_0x338fa6=_0x21aba5[_0x1447('0xb')](_0x954835,_0x42fd1e),_0x1ab496&&_0x5dfbd6(_0x1ab496,_0x4e7293[_0xdc951]['item']))_0x1ab496['_data']+=_0x4e7293[_0xdc951][_0x1447('0x7e')][_0x1447('0x60')];else{const _0x2f7b73=new _0x4243fd(_0x4e7293[_0xdc951]['item'][_0x1447('0x60')],_0x4e7293[_0xdc951]['item']['getAttributes']());_0x4534b8[0x0][_0x1447('0x82')](_0x2f7b73),_0x1ab496=_0x2f7b73;}_0x42fd1e[_0x42fd1e['length']-0x1]+=_0x4e7293[_0xdc951]['item']['offsetSize'],_0x4d9520=_0x21aba5[_0x1447('0xb')](_0x954835,_0x42fd1e);}}for(const _0x1e0330 of _0x4e7293[_0xdc951]['markersStart'])_0x5f3cac[_0x1447('0xda')](_0x1e0330,{'start':_0x338fa6,'end':null});_0x1f98ad('isRemoveSuggestion',_0xdc951,_0x338fa6,_0x4d9520),_0x1f98ad(_0x1447('0x53'),_0xdc951,_0x338fa6,_0x4d9520),_0x1f98ad(_0x1447('0x4c'),_0xdc951,_0x338fa6,_0x4d9520),_0x1f98ad(_0x1447('0x14'),_0xdc951,_0x338fa6,_0x4d9520);for(const _0x1c358f of _0x4e7293[_0xdc951][_0x1447('0x23')]){_0x5f3cac[_0x1447('0xc0')](_0x1c358f)[_0x1447('0x56')]=_0x4d9520;}}for(const [_0x3440ce,_0x5f1b36]of _0x5f3cac){const _0xc01644=this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0xf1')](_0x5f1b36[_0x1447('0x2b')],_0x5f1b36[_0x1447('0x56')]);_0x954835['markers'][_0x1447('0xda')](_0x3440ce,_0xc01644);}return _0x24c262['sort']((_0x4ad596,_0x3c46aa)=>{const _0x1b644f=_0x954835[_0x1447('0xc7')][_0x1447('0xc0')]('revision:'+_0x4ad596['id']),_0x497bb8=_0x954835[_0x1447('0xc7')][_0x1447('0xc0')](_0x1447('0x30')+_0x3c46aa['id']);return _0x1b644f['start']['isBefore'](_0x497bb8[_0x1447('0x2b')])?-0x1:_0x1b644f[_0x1447('0x2b')][_0x1447('0x5a')](_0x497bb8[_0x1447('0x2b')])?0x1:_0x1b644f['end']['isBefore'](_0x497bb8[_0x1447('0x56')])?-0x1:_0x1b644f[_0x1447('0x56')][_0x1447('0x5a')](_0x497bb8[_0x1447('0x56')])?0x1:'add'===_0x4ad596['type']?-0x1:0x1;}),{'root':_0x954835,'changes':_0x24c262};function _0x1f98ad(_0x258f6d,_0xaf7c73,_0x91fa,_0xf3cdd1){const _0x49d829=!!_0x4e7293[_0xaf7c73][_0x258f6d],_0x574e7a=_0x49d829?_0x4e7293[_0xaf7c73][_0x258f6d][_0x1447('0xd7')]:null,_0x33aae7=_0xaf7c73===_0x4e7293[_0x1447('0xcb')]-0x1,_0x4611a3=_0x4d37b7[_0x258f6d][0x0],_0x43961a=_0x19d351[_0x1447('0x35')](_0x4e7293[_0xaf7c73][_0x1447('0x7e')]);!_0x12fbab[_0x258f6d]&&_0x49d829?_0x12fbab[_0x258f6d]={'start':_0x91fa,'tapeItem':_0x4e7293[_0xaf7c73],'userId':_0x574e7a,'type':_0x258f6d}:_0x12fbab[_0x258f6d]&&!_0x49d829?(_0x12fbab[_0x258f6d][_0x1447('0x56')]=_0x91fa,_0x4d66a6(_0x12fbab[_0x258f6d]),_0x12fbab[_0x258f6d]=null):_0x12fbab[_0x258f6d]&&_0x49d829&&_0x12fbab[_0x258f6d][_0x1447('0xd7')]!==_0x574e7a&&(_0x12fbab[_0x258f6d][_0x1447('0x56')]=_0x91fa,_0x4611a3&&_0x4611a3['userId']===_0x12fbab[_0x258f6d]['userId']||_0x4d66a6(_0x12fbab[_0x258f6d]),_0x12fbab[_0x258f6d]={'start':_0x91fa,'tapeItem':_0x4e7293[_0xaf7c73],'userId':_0x574e7a,'type':_0x258f6d}),_0x12fbab[_0x258f6d]&&_0x43961a&&(_0x1447('0xf')!==_0x4e7293[_0xaf7c73][_0x1447('0x8e')]||_0x4611a3&&_0x4611a3[_0x1447('0xd7')]===_0x574e7a||_0x4d37b7[_0x258f6d][_0x1447('0x65')]({'userId':_0x574e7a,'object':_0x4e7293[_0xaf7c73][_0x1447('0x7e')],'change':_0x12fbab[_0x258f6d]}),_0x1447('0xeb')===_0x4e7293[_0xaf7c73][_0x1447('0x8e')]&&_0x4611a3&&_0x4611a3[_0x1447('0x2a')]===_0x4e7293[_0xaf7c73][_0x1447('0x7e')]&&(_0x4d37b7[_0x258f6d][_0x1447('0xef')](),_0x12fbab[_0x258f6d]=_0x4611a3[_0x1447('0x44')])),_0x12fbab[_0x258f6d]&&_0x33aae7&&(_0x12fbab[_0x258f6d][_0x1447('0x56')]=_0xf3cdd1,_0x4d66a6(_0x12fbab[_0x258f6d]),_0x12fbab[_0x258f6d]=null);}function _0x4d66a6({start:_0x36c394,end:_0x52b2d7,tapeItem:_0x26ee90,userId:_0x40bbb4,type:_0x5379aa}){const _0x4af468=_0x26ee90[_0x1447('0x7e')],_0xed67a1=_0x21aba5[_0x1447('0xc9')][_0x1447('0xca')](_0x4af468)&&!_0x21aba5[_0x1447('0xc9')]['isLimit'](_0x4af468),_0x3f41b5=_0x36c394[_0x1447('0x76')]==_0x52b2d7[_0x1447('0x3b')]&&_0x52b2d7['isAtStart'];if(_0xed67a1&&_0x3f41b5)return;const _0x4f931e=_0x21aba5[_0x1447('0xf1')](_0x36c394,_0x52b2d7),_0xb04e8a=_0x28eea8[_0x1447('0xc0')](_0x40bbb4),_0x1a0e5d=new _0x5b9455({'author':_0xb04e8a,'type':_0x1447('0x14')==_0x5379aa||_0x1447('0x53')==_0x5379aa?_0x1447('0x4d'):'remove','data':{'isSuggestion':_0x1447('0x53')==_0x5379aa||_0x1447('0x51')==_0x5379aa},'createdAt':new Date()});_0x24c262[_0x1447('0x5e')](_0x1a0e5d),_0x954835[_0x1447('0xc7')][_0x1447('0xda')]('revision:'+_0x1a0e5d['id'],_0x4f931e);}function _0x5dfbd6(_0x165af6,_0x4b134b){const _0x40a13c=_0x165af6[_0x1447('0xf5')](),_0x43452b=_0x4b134b[_0x1447('0xf5')]();for(const _0x4d4700 of _0x40a13c){if(_0x4d4700[0x1]!==_0x4b134b[_0x1447('0xf3')](_0x4d4700[0x0]))return!0x1;_0x43452b[_0x1447('0x42')]();}return _0x43452b[_0x1447('0x42')]()[_0x1447('0x107')];}}[_0x1447('0xad')](){this[_0x1447('0xc4')][_0x1447('0xf0')][_0x1447('0x100')](_0x1447('0x86'))[_0x1447('0x96')]({'view':_0x1447('0x104')}),this[_0x1447('0xc4')][_0x1447('0xf0')][_0x1447('0x100')](_0x1447('0x4f'))[_0x1447('0x91')]({'model':_0x1447('0x104'),'view':_0x109d89=>{const _0x10b913=_0x109d89[_0x1447('0xc3')][_0x1447('0x9b')](':')[0x1],_0x4cca6e=this[_0x1447('0x4')](_0x10b913);if(!_0x4cca6e)return null;const _0x1eb4f7=_0x1447('0x4d')==_0x4cca6e[_0x1447('0x8e')]?_0x1447('0x9f'):_0x1447('0xbe'),_0x4dde50=[_0x1447('0xc6'),_0x1447('0xf8')+_0x1eb4f7];return _0x4cca6e[_0x1447('0x60')][_0x1447('0x5c')]&&_0x4dde50['push'](_0x1447('0xf8')+_0x1eb4f7+_0x1447('0xdd')),this[_0x1447('0xcc')]==_0x4cca6e&&_0x4dde50[_0x1447('0x5e')](_0x1447('0x89')),{'classes':_0x4dde50,'attributes':{'data-change-id':_0x10b913}};}}),this[_0x1447('0xc4')][_0x1447('0xf0')][_0x1447('0x100')]('upcast')[_0x1447('0x4d')](_0x2ce7c7=>{_0x2ce7c7['on']('element:pre',(_0x568de3,_0x132a99,_0x517825)=>{const _0x379750=_0x132a99[_0x1447('0x92')][_0x1447('0xee')](0x0);if(!_0x379750||!_0x379750['is'](_0x1447('0xae'),'code'))return;if(!_0x517825[_0x1447('0x12')]['consume'](_0x379750,{'attributes':['vid_start',_0x1447('0xdf')]}))return;const _0x1f6892=_0x132a99['modelRange'][_0x1447('0x2b')][_0x1447('0x76')];_0x517825[_0x1447('0xf6')][_0x1447('0x15')]('vid_start',_0x379750[_0x1447('0xf3')]('vid_start'),_0x1f6892),_0x517825[_0x1447('0xf6')][_0x1447('0x15')](_0x1447('0xdf'),_0x379750[_0x1447('0xf3')](_0x1447('0xdf')),_0x1f6892);},{'priority':_0x1447('0xb6')});}),this[_0x1447('0xc4')][_0x1447('0xf0')]['for']('upcast')[_0x1447('0x4d')](_0x138cc0=>{_0x138cc0['on'](_0x1447('0xae'),(_0xac3f36,_0x410e02,_0x1679aa)=>{if(!_0x1679aa[_0x1447('0x12')]['consume'](_0x410e02[_0x1447('0x92')],{'attributes':[_0x1447('0x2e'),_0x1447('0xdf')]}))return;if(_0x410e02[_0x1447('0x7')]['isCollapsed'])return;const _0x210dd0=_0x410e02[_0x1447('0x7')][_0x1447('0x2b')][_0x1447('0x76')];_0x210dd0['hasAttribute'](_0x1447('0x2e'))||_0x210dd0['hasAttribute'](_0x1447('0x2'))||(_0x1679aa[_0x1447('0xf6')][_0x1447('0x15')](_0x1447('0x2e'),_0x410e02[_0x1447('0x92')][_0x1447('0xf3')](_0x1447('0x2e')),_0x210dd0),_0x1679aa[_0x1447('0xf6')][_0x1447('0x15')](_0x1447('0xdf'),_0x410e02[_0x1447('0x92')][_0x1447('0xf3')](_0x1447('0xdf')),_0x210dd0));},{'priority':'low'});}),this[_0x1447('0xc4')][_0x1447('0xf0')][_0x1447('0x100')](_0x1447('0x86'))[_0x1447('0x7c')]({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':_0x1447('0x2'),'value':_0x48b2e9=>_0x48b2e9[_0x1447('0xf3')](_0x1447('0x2'))}}),this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0xc9')]['on']('checkAttribute',(_0x12a621,[,_0xdfcf13])=>{[_0x1447('0x2e'),_0x1447('0xdf'),'vid']['includes'](_0xdfcf13)&&(_0x12a621['return']=!0x0,_0x12a621[_0x1447('0xf7')]());},{'priority':_0x1447('0xcf')}),this['editor'][_0x1447('0xf0')][_0x1447('0x100')]('dataDowncast')['add'](_0xaf3ac9=>{_0xaf3ac9['on'](_0x1447('0x0'),(_0x3376a8,_0x3a7773,_0x8acf5e)=>{if('\x20'!=_0x3a7773[_0x1447('0x7e')]['data']||_0x3a7773[_0x1447('0x7e')][_0x1447('0x3b')][_0x1447('0xfd')]>0x1)return;if(!_0x8acf5e[_0x1447('0x12')][_0x1447('0x39')](_0x3a7773['item'],_0x3376a8[_0x1447('0xc1')]))return;const _0x4ac171=_0x8acf5e['writer'],_0x5aa33e=_0x8acf5e['mapper'][_0x1447('0x38')](_0x3a7773[_0x1447('0x78')]);_0x4ac171[_0x1447('0x4a')](_0x5aa33e,_0x4ac171['createAttributeElement']('span'));});}),this['editor'][_0x1447('0xf0')]['for'](_0x1447('0x79'))[_0x1447('0x61')]({'model':'revision'}),this[_0x1447('0xc4')]['editing'][_0x1447('0x1b')]['on'](_0x1447('0x37'),function(_0x25888b){const _0x338825=_0x25888b['plugins'][_0x1447('0xc0')](_0x1447('0x6b'));return(_0x36cb57,_0x11adbc,_0x2091e7)=>{const _0x5303a9=_0x11adbc[_0x1447('0xc3')][_0x1447('0x9b')](':')[0x1],_0x1a2769=_0x338825[_0x1447('0x4')](_0x5303a9);if(!_0x1a2769)return null;const _0x35a86f=_0x1447('0x4d')==_0x1a2769['type']?_0x1447('0x9b'):_0x1447('0x21');if(!_0x2091e7[_0x1447('0x12')][_0x1447('0x77')](_0x11adbc[_0x1447('0xb1')],_0x36cb57['name']))return;const _0x42005b=_0x11adbc[_0x1447('0xb1')][_0x1447('0x103')](),_0xed0458=_0x11adbc['markerRange'][_0x1447('0x2b')],_0x37e935=_0x25888b[_0x1447('0x9d')][_0x1447('0xc9')];let _0x2e7059=null,_0x4f8c2a=null,_0x506769=!0x1,_0x3e4c46=!0x1;for(const _0x1c8f56 of _0x42005b){const _0x11e0e0=_0x1c8f56[_0x1447('0x7e')];_0x506769=_0x506769||_0x37e935['isContent'](_0x11e0e0);const _0x1218cc=_0x2091e7['mapper'][_0x1447('0x1f')](_0x11e0e0);if(_0x1218cc&&_0x1218cc[_0x1447('0x3f')](_0x1447('0x101')))return;_0x1447('0xeb')==_0x1c8f56['type']&&(_0x37e935[_0x1447('0xca')](_0x11e0e0)&&!_0x37e935[_0x1447('0x46')](_0x11e0e0)&&(_0x11e0e0[_0x1447('0x47')]||_0xed0458['isAtEnd']?_0x2e7059&&_0x2e7059[_0x1447('0x3b')]==_0x11e0e0||(_0x2e7059=_0x11e0e0,_0xa9fbb8(_0x1c8f56['previousPosition']),_0x3e4c46=!0x0):_0x4f8c2a=_0x4f8c2a||_0x1c8f56[_0x1447('0xd')]));}function _0xa9fbb8(_0x44873f){const _0x29ebb4=_0x2091e7[_0x1447('0xf6')][_0x1447('0x73')](_0x1447('0xd3'),{'class':_0x1447('0xf8')+_0x35a86f}),_0x461fb5=_0x2091e7[_0x1447('0xed')][_0x1447('0xa8')](_0x44873f);_0x1a2769['data'][_0x1447('0x5c')]&&_0x2091e7[_0x1447('0xf6')]['addClass'](_0x1447('0xf8')+_0x35a86f+_0x1447('0xdd'),_0x29ebb4),_0x338825[_0x1447('0xcc')]==_0x1a2769&&_0x2091e7['writer']['addClass'](_0x1447('0x89'),_0x29ebb4),_0x2091e7['writer'][_0x1447('0x106')](_0x461fb5,_0x29ebb4),_0x2091e7[_0x1447('0xed')][_0x1447('0xab')](_0x29ebb4,_0x11adbc[_0x1447('0xc3')]);}_0x506769||_0x3e4c46||!_0x4f8c2a||_0xa9fbb8(_0x4f8c2a);};}(this[_0x1447('0xc4')]),{'priority':_0x1447('0x1c')}),this[_0x1447('0xc4')][_0x1447('0x5')][_0x1447('0x1b')]['on'](_0x1447('0xaf'),(_0x48983c,_0x2e057c,_0x55af43)=>{const _0x223c61=_0x55af43[_0x1447('0xed')][_0x1447('0x13')](_0x2e057c[_0x1447('0xc3')]);if(_0x223c61)for(const _0x445320 of _0x223c61)(_0x445320[_0x1447('0x83')](_0x1447('0x67'))||_0x445320['hasClass'](_0x1447('0xd9')))&&(_0x55af43[_0x1447('0xed')]['unbindElementFromMarkerName'](_0x445320,_0x2e057c['markerName']),_0x55af43['writer'][_0x1447('0x50')](_0x445320));},{'priority':'high'}),this[_0x1447('0xc4')][_0x1447('0x5')][_0x1447('0x1b')]['on'](_0x1447('0x37'),(_0x5cc48e,_0x20e0db,_0x18e1ba)=>{const _0x2d7910=_0x20e0db[_0x1447('0xc3')][_0x1447('0x9b')](':')[0x1],_0x526b0d=this[_0x1447('0x4')](_0x2d7910);if(!_0x526b0d)return null;const _0x30985a='add'==_0x526b0d[_0x1447('0x8e')]?_0x1447('0x9b'):'merge';if(_0x18e1ba['consumable'][_0x1447('0x77')](_0x20e0db[_0x1447('0xb1')],_0x5cc48e[_0x1447('0xc1')]))for(const _0x446074 of _0x20e0db['markerRange']['getItems']()){if(!_0x446074['is'](_0x1447('0xae'),_0x1447('0x45')))continue;const _0x175d25=_0x18e1ba['writer'][_0x1447('0x73')](_0x1447('0xd3'),{'class':'ck-suggestion-marker-'+_0x30985a}),_0x377193=_0x18e1ba[_0x1447('0xed')][_0x1447('0xa8')](this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0x9c')](_0x446074));_0x526b0d['data'][_0x1447('0x5c')]&&_0x18e1ba[_0x1447('0xf6')][_0x1447('0xec')](_0x1447('0xf8')+_0x30985a+_0x1447('0xdd'),_0x175d25),this['activeChange']==_0x526b0d&&_0x18e1ba[_0x1447('0xf6')][_0x1447('0xec')]('ck-suggestion-marker--active',_0x175d25),_0x18e1ba[_0x1447('0xf6')]['insert'](_0x377193,_0x175d25),_0x18e1ba['mapper'][_0x1447('0xab')](_0x175d25,_0x20e0db[_0x1447('0xc3')]);}},{'priority':'high'}),this[_0x1447('0xc4')][_0x1447('0xf0')]['for']('upcast')['dataToMarker']({'view':_0x1447('0x4e'),'model':_0x384fa1=>_0x1447('0xa5')+_0x384fa1,'converterPriority':_0x1447('0xcf')}),this[_0x1447('0xc4')][_0x1447('0xf0')][_0x1447('0x100')](_0x1447('0x86'))[_0x1447('0x96')]({'view':'suggestion','model':_0x56e5cc=>_0x1447('0xa9')+_0x56e5cc,'converterPriority':_0x1447('0xcf')}),this[_0x1447('0xc4')]['conversion'][_0x1447('0x100')](_0x1447('0x79'))[_0x1447('0x61')]({'model':_0x1447('0xc5'),'view':_0x2a61a8=>_0x1447('0xb5')+_0x2a61a8,'converterPriority':_0x1447('0xcf')}),this[_0x1447('0xc4')][_0x1447('0xf0')][_0x1447('0x100')](_0x1447('0x4f'))[_0x1447('0x91')]({'model':_0x1447('0xc5'),'view':_0x3b0dca=>{const _0x236464=_0x3b0dca[_0x1447('0xc3')][_0x1447('0x9b')](':')[0x1];return _0x1447('0x9f')!=_0x236464&&'deletion'!=_0x236464?null:{'classes':[_0x1447('0x3e'),_0x1447('0xcd')+_0x236464]};}}),this['editor']['editing'][_0x1447('0x1b')]['on']('addMarker:revision-suggestion:deletion',Z(this[_0x1447('0xc4')],_0x1447('0x21')),{'priority':_0x1447('0x1c')}),this['editor'][_0x1447('0x5')][_0x1447('0x1b')]['on'](_0x1447('0xe'),Z(this[_0x1447('0xc4')],'split'),{'priority':_0x1447('0x1c')}),this[_0x1447('0xc4')][_0x1447('0x5')][_0x1447('0x1b')]['on'](_0x1447('0x93'),(_0x1d8fdc,_0x5c6721,_0xbec626)=>{const _0x31edac=_0xbec626[_0x1447('0xed')][_0x1447('0x13')](_0x5c6721[_0x1447('0xc3')]);if(_0x31edac)for(const _0x56c6f4 of _0x31edac)_0x56c6f4['is'](_0x1447('0x90'))&&(_0xbec626[_0x1447('0xed')][_0x1447('0xa4')](_0x56c6f4,_0x5c6721[_0x1447('0xc3')]),_0xbec626[_0x1447('0xf6')][_0x1447('0x50')](_0x56c6f4));},{'priority':'high'});}['_getChangeFromId'](_0xfb791){return this['_changeIdToChange'][_0x1447('0xc0')](_0xfb791);}['_getViewForChange'](_0x5406d2){this['_changeView']&&this['_changeView'][_0x1447('0x84')](),this[_0x1447('0x34')]=new _0x30668c(this['editor']['locale'],_0x5406d2);const _0x209ff6=this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0xc7')][_0x1447('0xc0')](_0x1447('0x30')+_0x5406d2['id']);return this[_0x1447('0x34')][_0x1447('0x54')]=()=>_0x2f5dfb(this[_0x1447('0xc4')][_0x1447('0x5')],_0x209ff6),this[_0x1447('0x34')];}[_0x1447('0xa1')](){this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0xb3')][_0x1447('0x25')]['observeMarkers']('revision'),this['on'](_0x1447('0xc2'),(_0x57af32,_0x5288ad,_0x304eb5,_0xdc6959)=>{_0xdc6959&&this[_0x1447('0x3a')][_0x1447('0x50')](_0xdc6959),_0x304eb5&&(this[_0x1447('0x3a')][_0x1447('0x4d')]({'view':_0x304eb5,'stackId':_0x1447('0x95'),'position':{'target':_0x304eb5[_0x1447('0x54')]}}),this[_0x1447('0x3a')]['showStack'](_0x1447('0x95')));}),this['on'](_0x1447('0x1d'),(_0x4379e7,_0x1c6c82,_0x440cdd,_0x1e0e48)=>{this['activeView']=_0x440cdd?this[_0x1447('0xde')](_0x440cdd):null,this[_0x1447('0xc4')][_0x1447('0x9d')][_0x1447('0x44')](()=>{const _0x52fbfb=this['editor']['editing'];_0x1e0e48&&_0x52fbfb['reconvertMarker'](_0x1447('0x30')+_0x1e0e48['id']),_0x440cdd&&_0x52fbfb['reconvertMarker'](_0x1447('0x30')+_0x440cdd['id']);});}),this['listenTo'](this[_0x1447('0xc4')][_0x1447('0x5')]['view'][_0x1447('0xb3')],'mouseover',(_0x58882c,_0x159ffa)=>{if(this[_0x1447('0xcc')])return;const _0x45e271=this[_0x1447('0xe2')](_0x159ffa['target']),_0x5b7c68=this['_changeIdToChange'][_0x1447('0xc0')](_0x45e271);this[_0x1447('0x11')]=_0x5b7c68?this['_getViewForChange'](_0x5b7c68):null;}),this[_0x1447('0x6e')](this[_0x1447('0xc4')][_0x1447('0x5')][_0x1447('0x22')][_0x1447('0xb3')],_0x1447('0x18'),(_0x158128,_0x5607e3)=>{const _0x591239=this[_0x1447('0xe2')](_0x5607e3[_0x1447('0xa2')]),_0x2f7beb=this[_0x1447('0x5f')]['get'](_0x591239);this[_0x1447('0xcc')]=_0x2f7beb||null;});}['_findChangeIdFromDomTarget'](_0x5a0877){do{const _0xacc791=_0x5a0877['getAttribute'](_0x1447('0x2f'));if(_0xacc791)return _0xacc791;_0x5a0877=_0x5a0877[_0x1447('0x3b')];}while(_0x5a0877);return null;}[_0x1447('0xb7')](){this[_0x1447('0xc4')]['model']['change'](_0x27608b=>{for(const _0x18c229 of this[_0x1447('0xc4')][_0x1447('0x9d')]['markers'])_0x27608b[_0x1447('0x99')](_0x18c229);});}}function Z(_0x598635,_0x16b78b){return(_0x3defe3,_0x4cdd7a,_0x2db760)=>{if(!_0x2db760['consumable'][_0x1447('0x77')](_0x4cdd7a[_0x1447('0xb1')],_0x3defe3['name']))return;const _0x23fd3e=_0x4cdd7a[_0x1447('0xb1')][_0x1447('0x103')](),_0x2fe4e7=_0x4cdd7a['markerRange'][_0x1447('0x2b')],_0x529006=_0x598635[_0x1447('0x9d')][_0x1447('0xc9')];let _0x29e00a=null,_0x4dcc8b=null,_0x5cad2b=!0x1,_0x5a0d60=!0x1;for(const _0x41969b of _0x23fd3e){const _0x2b9ac3=_0x41969b[_0x1447('0x7e')];_0x5cad2b=_0x5cad2b||_0x529006[_0x1447('0x69')](_0x2b9ac3);const _0x52df93=_0x2db760[_0x1447('0xed')]['toViewElement'](_0x2b9ac3);if(_0x52df93&&_0x52df93[_0x1447('0x3f')](_0x1447('0x101')))return;_0x1447('0xeb')==_0x41969b[_0x1447('0x8e')]&&(_0x529006[_0x1447('0xca')](_0x2b9ac3)&&!_0x529006['isLimit'](_0x2b9ac3)&&(_0x2b9ac3[_0x1447('0x47')]||_0x2fe4e7['isAtEnd']?_0x29e00a&&_0x29e00a[_0x1447('0x3b')]==_0x2b9ac3||(_0x29e00a=_0x2b9ac3,_0x37914d(_0x41969b['previousPosition']),_0x5a0d60=!0x0):_0x4dcc8b=_0x4dcc8b||_0x41969b[_0x1447('0xd')]));}function _0x37914d(_0xcaa1d0){const _0x34673f=_0x2db760[_0x1447('0xed')][_0x1447('0xa8')](_0xcaa1d0),_0x255085=_0x2db760[_0x1447('0xf6')][_0x1447('0x73')](_0x1447('0xd3'),{'class':_0x1447('0xcd')+_0x16b78b});_0x2db760[_0x1447('0xf6')]['insert'](_0x34673f,_0x255085),_0x2db760['mapper']['bindElementToMarker'](_0x255085,_0x4cdd7a[_0x1447('0xc3')]);}_0x5cad2b||_0x5a0d60||!_0x4dcc8b||_0x37914d(_0x4dcc8b);};}_0x4d7bf0(d,_0x14a170);class tt extends _0xce060f{constructor(_0x2f5d21){super(_0x2f5d21);const _0x304533=_0x2f5d21['plugins'][_0x1447('0xc0')](d);this['stopListening'](_0x2f5d21,'change:isReadOnly'),this['clearForceDisabled']('readOnlyMode'),this[_0x1447('0x6e')](_0x304533,'change:isReady',()=>this[_0x1447('0xe0')]()),this[_0x1447('0x6e')](_0x304533,'change:isEnabled',()=>this[_0x1447('0xe0')]());}[_0x1447('0x97')](){const _0x586368=this[_0x1447('0xc4')],_0x4008dc=_0x586368[_0x1447('0x71')]['get'](d),_0x31bd7f=_0x4008dc[_0x1447('0x68')]?_0x4008dc['diff'][_0x1447('0x6c')]:null;_0x586368[_0x1447('0x74')][_0x1447('0xc0')](_0x1447('0x7d'))[_0x1447('0x7f')](_0x31bd7f);}['refresh'](){const {isReady:_0x307277,isEnabled:_0x205c1c}=this[_0x1447('0xc4')][_0x1447('0x71')]['get'](d);this[_0x1447('0xe8')]=_0x307277&&_0x205c1c;}}class et extends _0xce060f{constructor(_0x23ac60,{direction:_0x39828a}){super(_0x23ac60);const _0x2663f9=_0x23ac60['plugins'][_0x1447('0xc0')](d);this['stopListening'](_0x23ac60,_0x1447('0x24')),this[_0x1447('0x36')](_0x1447('0x19')),this['_step']='forward'===_0x39828a?0x1:-0x1,this[_0x1447('0x6e')](_0x2663f9,_0x1447('0x4b'),()=>this[_0x1447('0xe0')]()),this[_0x1447('0x6e')](_0x2663f9,_0x1447('0x70'),()=>this[_0x1447('0xe0')]());}['execute'](){const _0x58c6d2=this['editor'],_0xb99a7c=_0x58c6d2[_0x1447('0x71')]['get'](d),{isNavigationMode:_0x16b73a,currentChangeNumber:_0x184470}=_0xb99a7c;_0xb99a7c['activeChange']=_0x16b73a?_0xb99a7c['diff'][_0x1447('0xc8')]['get'](_0x184470+this[_0x1447('0x6f')]):_0xb99a7c['diff']['changes'][_0x1447('0xdc')];const _0x238f64=_0x58c6d2['model'][_0x1447('0xc7')][_0x1447('0xc0')](_0x1447('0x30')+_0xb99a7c[_0x1447('0xcc')]['id']),_0x3e23a3=_0x2f5dfb(_0x58c6d2[_0x1447('0x5')],_0x238f64);_0x1354e1({'target':_0x3e23a3,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xfc4412,currentChangeNumber:_0x1ec63a,numberOfChanges:_0x38ef4a,isReady:_0x2d75f7,isEnabled:_0x2998d3}=this['editor'][_0x1447('0x71')][_0x1447('0xc0')](d);this[_0x1447('0xe8')]=!!(_0x2998d3&&_0x2d75f7&&_0x38ef4a)&&(!_0xfc4412||(0x1===this[_0x1447('0x6f')]?_0x1ec63a<_0x38ef4a-0x1:_0x1ec63a>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c64=['listenTo','Show\x20more\x20items','source','find','children','name','panelPosition','_action','Compare\x20against\x20selected','button','buttonView','bind','ck-on','Name\x20this\x20revision','set','model','isActionsDropdownOpen','first','function','Restore\x20this\x20revision','isEnabled','isVisible','isReady','change:isActionsDropdownOpen','items','action','isOpen','execute','bindTemplate'];(function(_0x4cfb95,_0x2c64a2){const _0x44b57d=function(_0x56a189){while(--_0x56a189){_0x4cfb95['push'](_0x4cfb95['shift']());}};_0x44b57d(++_0x2c64a2);}(_0x2c64,0x1a7));const _0x44b5=function(_0x4cfb95,_0x2c64a2){_0x4cfb95=_0x4cfb95-0x0;let _0x44b57d=_0x2c64[_0x4cfb95];return _0x44b57d;};import{Collection as _0x18af86}from'ckeditor5/src/utils';import{Model as _0x5d2979,addListToDropdown as _0x2b9af7,createDropdown as _0x3577a1}from'ckeditor5/src/ui';import{getTranslation as _0xf93db7}from'../../utils/common-translations';import _0x5e5eb4 from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x4fd295,_0x5569f6){const _0x5a4031=_0x4fd295[_0x44b5('0xb')],_0x5b3cab=_0x4fd295['locale'],_0x2925f2=_0x3577a1(_0x5b3cab);_0x2925f2[_0x44b5('0x12')]='sw';const _0x45c6fe=function(_0x1b8777,_0x5963d){const _0xd221d=function(_0x2c4f02,_0x3f7d4c){const _0xf90374=_0x2c4f02['locale'],_0x567999={'Compare\x20against\x20selected':_0xf93db7(_0xf90374,_0x44b5('0x14')),'Name\x20this\x20revision':_0xf93db7(_0xf90374,_0x44b5('0x19')),'Restore\x20this\x20revision':_0xf93db7(_0xf90374,_0x44b5('0x2'))};return _0x3f7d4c['map'](_0x2aa5a5=>{const _0x2f64ef=_0x567999[_0x2aa5a5[_0x44b5('0x11')]];return _0x2f64ef&&_0x2f64ef!==_0x2aa5a5[_0x44b5('0x11')]&&(_0x2aa5a5[_0x44b5('0x11')]=_0x2f64ef),_0x2aa5a5;});}(_0x1b8777,_0x5963d),_0x4282ef=new _0x18af86();for(const _0x5af2fd of _0xd221d){const _0x1d2dba={'type':_0x44b5('0x15'),'model':new _0x5d2979({'label':_0x5af2fd[_0x44b5('0x11')],'class':_0x5af2fd['class'],'withText':!0x0,'_action':_0x5af2fd[_0x44b5('0x8')]})};_0x1d2dba[_0x44b5('0x1b')]['bind'](_0x44b5('0x3'))['to'](_0x1b8777,'isActionsDropdownOpen',_0x3c71ca=>_0x44b5('0x1')!=typeof _0x5af2fd[_0x44b5('0x3')]||(!_0x3c71ca||_0x5af2fd[_0x44b5('0x3')](_0x1b8777))),_0x4282ef['add'](_0x1d2dba);}return _0x4282ef;}(_0x4fd295,_0x5569f6);return _0x4fd295[_0x44b5('0x17')](_0x44b5('0x1c'))['to'](_0x2925f2,_0x44b5('0x9')),_0x2925f2[_0x44b5('0x16')][_0x44b5('0x1a')]({'label':_0xf93db7(_0x5b3cab,_0x44b5('0xd')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5e5eb4}),_0x2925f2['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5a4031['if']('isActionsDropdownOpen',_0x44b5('0x18'))]},'on':{'click':_0x5a4031['to'](_0x1c956f=>_0x1c956f['stopPropagation']())}}),_0x2925f2['on'](_0x44b5('0xa'),_0x4eb654=>{_0x4fd295[_0x44b5('0x5')]&&_0x44b5('0x1')==typeof _0x4eb654[_0x44b5('0xe')][_0x44b5('0x13')]&&_0x4eb654[_0x44b5('0xe')][_0x44b5('0x13')](_0x4fd295);}),_0x2b9af7(_0x2925f2,_0x45c6fe),_0x2925f2[_0x44b5('0xc')](_0x4fd295,_0x44b5('0x6'),(_0xd7e6b8,_0x5e32ef,_0x1ddd87)=>{if(_0x1ddd87)for(const _0x546dcd of _0x2925f2['listView'][_0x44b5('0x7')]){const _0x2122f0=_0x546dcd[_0x44b5('0x10')][_0x44b5('0x0')],_0x41ba2e=_0x5569f6[_0x44b5('0xf')](_0x564050=>_0x564050[_0x44b5('0x8')]===_0x2122f0[_0x44b5('0x13')])[_0x44b5('0x4')];_0x546dcd[_0x44b5('0x4')]=void 0x0===_0x41ba2e||_0x41ba2e(_0x4fd295);}}),_0x2925f2;}
23
+ const _0x1e50=['ck-revision-history-sidebar__revision__actions','locale','isEnabled','isOpen','Name\x20this\x20revision','isVisible','source','_action','stopPropagation','name','model','bindTemplate','ck-on','class','add','panelPosition','action','isActionsDropdownOpen','map','extendTemplate','first','find','buttonView','isReady','children','set','Compare\x20against\x20selected','bind'];(function(_0x15f329,_0x1e50cb){const _0x5f3623=function(_0xfcc48e){while(--_0xfcc48e){_0x15f329['push'](_0x15f329['shift']());}};_0x5f3623(++_0x1e50cb);}(_0x1e50,0xc0));const _0x5f36=function(_0x15f329,_0x1e50cb){_0x15f329=_0x15f329-0x0;let _0x5f3623=_0x1e50[_0x15f329];return _0x5f3623;};import{Collection as _0x471dbf}from'ckeditor5/src/utils';import{Model as _0x24c2bd,addListToDropdown as _0x2bcd7b,createDropdown as _0x3323c1}from'ckeditor5/src/ui';import{getTranslation as _0x5a7a84}from'../../utils/common-translations';import _0x182f49 from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x52e2a0,_0x3cb496){const _0x5306e9=_0x52e2a0[_0x5f36('0xf')],_0x8ae5a=_0x52e2a0[_0x5f36('0x5')],_0x42673b=_0x3323c1(_0x8ae5a);_0x42673b[_0x5f36('0x13')]='sw';const _0x53eee8=function(_0x263f53,_0x40d0b2){const _0x5e6678=function(_0x36c486,_0x7f86b3){const _0x33cedd=_0x36c486[_0x5f36('0x5')],_0x1ada59={'Compare\x20against\x20selected':_0x5a7a84(_0x33cedd,_0x5f36('0x2')),'Name\x20this\x20revision':_0x5a7a84(_0x33cedd,_0x5f36('0x8')),'Restore\x20this\x20revision':_0x5a7a84(_0x33cedd,'Restore\x20this\x20revision')};return _0x7f86b3[_0x5f36('0x16')](_0x38cfbe=>{const _0xe3f047=_0x1ada59[_0x38cfbe[_0x5f36('0xd')]];return _0xe3f047&&_0xe3f047!==_0x38cfbe[_0x5f36('0xd')]&&(_0x38cfbe[_0x5f36('0xd')]=_0xe3f047),_0x38cfbe;});}(_0x263f53,_0x40d0b2),_0x310126=new _0x471dbf();for(const _0xbcb6e3 of _0x5e6678){const _0x462d22={'type':'button','model':new _0x24c2bd({'label':_0xbcb6e3[_0x5f36('0xd')],'class':_0xbcb6e3[_0x5f36('0x11')],'withText':!0x0,'_action':_0xbcb6e3[_0x5f36('0x14')]})};_0x462d22[_0x5f36('0xe')]['bind']('isEnabled')['to'](_0x263f53,_0x5f36('0x15'),_0x3232c4=>'function'!=typeof _0xbcb6e3[_0x5f36('0x6')]||(!_0x3232c4||_0xbcb6e3[_0x5f36('0x6')](_0x263f53))),_0x310126[_0x5f36('0x12')](_0x462d22);}return _0x310126;}(_0x52e2a0,_0x3cb496);return _0x52e2a0[_0x5f36('0x3')](_0x5f36('0x15'))['to'](_0x42673b,_0x5f36('0x7')),_0x42673b[_0x5f36('0x1a')][_0x5f36('0x1')]({'label':_0x5a7a84(_0x8ae5a,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x182f49}),_0x42673b[_0x5f36('0x17')]({'attributes':{'class':[_0x5f36('0x4'),_0x5306e9['if']('isActionsDropdownOpen',_0x5f36('0x10'))]},'on':{'click':_0x5306e9['to'](_0xfbd103=>_0xfbd103[_0x5f36('0xc')]())}}),_0x42673b['on']('execute',_0x57230a=>{_0x52e2a0[_0x5f36('0x1b')]&&'function'==typeof _0x57230a['source'][_0x5f36('0xb')]&&_0x57230a[_0x5f36('0xa')][_0x5f36('0xb')](_0x52e2a0);}),_0x2bcd7b(_0x42673b,_0x53eee8),_0x42673b['listenTo'](_0x52e2a0,'change:isActionsDropdownOpen',(_0xacbdc1,_0x15577d,_0x43f6c4)=>{if(_0x43f6c4)for(const _0x3d579a of _0x42673b['listView']['items']){const _0x21f0b8=_0x3d579a[_0x5f36('0x0')][_0x5f36('0x18')],_0x27e30e=_0x3cb496[_0x5f36('0x19')](_0x48758e=>_0x48758e[_0x5f36('0x14')]===_0x21f0b8[_0x5f36('0xb')])[_0x5f36('0x9')];_0x3d579a[_0x5f36('0x9')]=void 0x0===_0x27e30e||_0x27e30e(_0x52e2a0);}}),_0x42673b;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1903=['name','Revision\x20creator','Revision\x20author','ck-revision-history-sidebar__revision-author__name','set','span','0\x200\x2011\x2010','push','ck-revision-history-sidebar__revision-author_creator'];(function(_0x20c792,_0x19030c){const _0xd08415=function(_0x5aa16a){while(--_0x5aa16a){_0x20c792['push'](_0x20c792['shift']());}};_0xd08415(++_0x19030c);}(_0x1903,0xed));const _0xd084=function(_0x20c792,_0x19030c){_0x20c792=_0x20c792-0x0;let _0xd08415=_0x1903[_0x20c792];return _0xd08415;};import{View as _0x27dc2f,IconView as _0x3a279b}from'ckeditor5/src/ui';import{getTranslation as _0x222eb2}from'../../utils/common-translations';import _0x129695 from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class ti extends _0x27dc2f{constructor(_0x5de7c9,_0x3baab6,_0x32a74b){super(_0x5de7c9);const _0x1e8c56=new _0x3a279b(_0x5de7c9);_0x1e8c56[_0xd084('0x1')]({'content':_0x129695,'viewBox':_0xd084('0x3')});const _0x20ee9b=['ck','ck-revision-history-sidebar__revision-author'];_0x32a74b&&_0x20ee9b[_0xd084('0x4')](_0xd084('0x5'));const _0x153afb=[{'tag':_0xd084('0x2'),'attributes':{'class':['ck',_0xd084('0x0')],'title':_0x222eb2(_0x5de7c9,_0x32a74b?_0xd084('0x7'):_0xd084('0x8'))},'children':[_0x1e8c56,_0x3baab6[_0xd084('0x6')]]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x20ee9b},'children':_0x153afb});}}
23
+ const _0x2265=['Revision\x20author','ck-revision-history-sidebar__revision-author_creator','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author__name','span','ck-revision-history-sidebar__revision-author','Revision\x20creator','setTemplate','set','push'];(function(_0x17d1af,_0x22655d){const _0x2ae7d8=function(_0x5a7bd8){while(--_0x5a7bd8){_0x17d1af['push'](_0x17d1af['shift']());}};_0x2ae7d8(++_0x22655d);}(_0x2265,0xc8));const _0x2ae7=function(_0x17d1af,_0x22655d){_0x17d1af=_0x17d1af-0x0;let _0x2ae7d8=_0x2265[_0x17d1af];return _0x2ae7d8;};import{View as _0x2cb8d7,IconView as _0x39ebf8}from'ckeditor5/src/ui';import{getTranslation as _0x2139e6}from'../../utils/common-translations';import _0xa8b70e from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class oi extends _0x2cb8d7{constructor(_0x180fc9,_0x423b19,_0x22aa74){super(_0x180fc9);const _0x5b316c=new _0x39ebf8(_0x180fc9);_0x5b316c[_0x2ae7('0x8')]({'content':_0xa8b70e,'viewBox':_0x2ae7('0x2')});const _0x3bdfa7=['ck',_0x2ae7('0x5')];_0x22aa74&&_0x3bdfa7[_0x2ae7('0x9')](_0x2ae7('0x1'));const _0x5b3433=[{'tag':_0x2ae7('0x4'),'attributes':{'class':['ck',_0x2ae7('0x3')],'title':_0x2139e6(_0x180fc9,_0x22aa74?_0x2ae7('0x6'):_0x2ae7('0x0'))},'children':[_0x5b316c,_0x423b19['name']]}];this[_0x2ae7('0x7')]({'tag':'li','attributes':{'class':_0x3bdfa7},'children':_0x5b3433});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x30ae=['Revision\x20name','ck-revision-history-sidebar__revision-name','set','extendTemplate'];(function(_0x46d095,_0x30ae22){var _0x57a59a=function(_0x5c0051){while(--_0x5c0051){_0x46d095['push'](_0x46d095['shift']());}};_0x57a59a(++_0x30ae22);}(_0x30ae,0x18d));var _0x57a5=function(_0x46d095,_0x30ae22){_0x46d095=_0x46d095-0x0;var _0x57a59a=_0x30ae[_0x46d095];return _0x57a59a;};import{LabeledFieldView as _0x2f7f1a}from'ckeditor5/src/ui';import{getTranslation as _0x1d205c}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class os extends _0x2f7f1a{constructor(_0x3db64a,..._0x2c83dd){super(_0x3db64a,..._0x2c83dd),this[_0x57a5('0x1')]({'label':_0x1d205c(_0x3db64a,_0x57a5('0x3'))}),this[_0x57a5('0x2')]({'tag':'span','attributes':{'class':[_0x57a5('0x0')]}});}}
23
+ var _0x5706=['ck-revision-history-sidebar__revision-name','set','extendTemplate'];(function(_0x3e2b07,_0x570622){var _0x4249cf=function(_0x27dae4){while(--_0x27dae4){_0x3e2b07['push'](_0x3e2b07['shift']());}};_0x4249cf(++_0x570622);}(_0x5706,0x169));var _0x4249=function(_0x3e2b07,_0x570622){_0x3e2b07=_0x3e2b07-0x0;var _0x4249cf=_0x5706[_0x3e2b07];return _0x4249cf;};import{LabeledFieldView as _0x46cf34}from'ckeditor5/src/ui';import{getTranslation as _0x11b26a}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class rs extends _0x46cf34{constructor(_0x24c712,..._0x172f98){super(_0x24c712,..._0x172f98),this[_0x4249('0x0')]({'label':_0x11b26a(_0x24c712,'Revision\x20name')}),this[_0x4249('0x1')]({'tag':'span','attributes':{'class':[_0x4249('0x2')]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e16=['.ck-thread__remove-confirm','unhighlight','srcElement','fire','render','220','ck-revision-history-sidebar__revision-authors','div','change','name','fieldView','ck-revision-history-sidebar__revision_highlighted','unshift','createdAt','value','length','ck-disabled','isActionsDropdownOpen','ck-revision-history-sidebar__revision','ck-revision-history-sidebar__revision__date','revisionNameView','isSelected','from','_createdAtFormatted','deselect','creator','set','isReady','highlight','_revision','isEnabled','authors','setTemplate','ck-revision-history-sidebar__revision-wrapper','listenTo','select','bind','isHighlighted','bindTemplate','revisionActionsView','placeholder','ck-reset','map'];(function(_0x31d6b5,_0x2e16a6){const _0x18b017=function(_0x368e1){while(--_0x368e1){_0x31d6b5['push'](_0x31d6b5['shift']());}};_0x18b017(++_0x2e16a6);}(_0x2e16,0x135));const _0x18b0=function(_0x31d6b5,_0x2e16a6){_0x31d6b5=_0x31d6b5-0x0;let _0x18b017=_0x2e16[_0x31d6b5];return _0x18b017;};import{View as _0x51fec1,createLabeledInputText as _0x67feb6}from'ckeditor5/src/ui';import{mix as _0x21e0c8}from'ckeditor5/src/utils';import{ConfirmMixin as _0x2cd549}from'ckeditor5-collaboration/src/collaboration-core';import _0x26d6a1 from'./revisionnameview';import _0xff0c95 from'./revisionauthorview';import{dateToPrettyFormat as _0x54a30b}from'./utils';import{createActionsDropdownView as _0x51b770}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ci extends _0x51fec1{constructor(_0x410cc6,_0x3453df,_0x1b15cd){super(_0x410cc6);const _0x3aedb6=this[_0x18b0('0x1e')],_0x40851c=function(_0x33c651,_0x57d38e){const _0x1ea48e=Array[_0x18b0('0xe')](_0x57d38e[_0x18b0('0x17')])['filter'](_0x238a43=>_0x238a43!=_0x57d38e['creator']);return _0x57d38e[_0x18b0('0x11')]&&_0x1ea48e[_0x18b0('0x4')](_0x57d38e['creator']),_0x1ea48e[_0x18b0('0x22')](_0x2f172e=>new _0xff0c95(_0x33c651,_0x2f172e,_0x2f172e==_0x57d38e[_0x18b0('0x11')]));}(_0x410cc6,_0x3453df);this[_0x18b0('0x15')]=_0x3453df,this['id']=_0x3453df['id'],this[_0x18b0('0x1c')](_0x18b0('0x1'),'createdAt')['to'](_0x3453df),this[_0x18b0('0x12')]('isSelected',!0x1),this[_0x18b0('0x12')](_0x18b0('0x1d'),!0x1),this[_0x18b0('0x12')](_0x18b0('0x9'),!0x1),this[_0x18b0('0x12')](_0x18b0('0x13'),!0x1),this[_0x18b0('0x1c')](_0x18b0('0xf'))['to'](this,_0x18b0('0x5'),_0x2af884=>_0x2af884?_0x54a30b(_0x410cc6['uiLanguage'],_0x2af884):null),this[_0x18b0('0x12')](_0x18b0('0x16'),!0x1),this[_0x18b0('0xc')]=new _0x26d6a1(_0x410cc6,_0x67feb6),this[_0x18b0('0xc')][_0x18b0('0x2')]['extendTemplate']({'attributes':{'maxlength':_0x18b0('0x28')}}),this['revisionNameView'][_0x18b0('0x2')][_0x18b0('0x1c')]('value',_0x18b0('0x20'))['to'](this,_0x18b0('0x1'),_0x18b0('0xf')),this['revisionNameView']['bind'](_0x18b0('0x16'))['to'](this,_0x18b0('0xd'),this,_0x18b0('0x16'),(_0x19fe0f,_0x40f72e)=>_0x19fe0f&&_0x40f72e),this[_0x18b0('0x1f')]=_0x1b15cd&&_0x1b15cd[_0x18b0('0x7')]?_0x51b770(this,_0x1b15cd):'',this[_0x18b0('0x1f')]['bind'](_0x18b0('0x16'))['to'](this),this[_0x18b0('0x18')]({'tag':_0x18b0('0x2a'),'attributes':{'class':['ck',_0x18b0('0x21'),_0x18b0('0x19'),_0x3aedb6['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':_0x18b0('0x2a'),'attributes':{'class':['ck',_0x18b0('0x21'),_0x18b0('0xa'),_0x3aedb6['if']('isEnabled',_0x18b0('0x8'),_0x3b9a44=>!_0x3b9a44),_0x3aedb6['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3aedb6['if'](_0x18b0('0x1d'),_0x18b0('0x3')),_0x3aedb6['if'](_0x18b0('0x9'),'ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this[_0x18b0('0xc')],{'tag':'span','attributes':{'class':['ck',_0x18b0('0xb')]},'children':[{'text':_0x3aedb6['to'](_0x18b0('0xf'))}]},{'tag':_0x18b0('0x2a'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck',_0x18b0('0x29')]},'children':_0x40851c}]},this['revisionActionsView']],'on':{'click':_0x3aedb6['to'](_0x16506b=>{_0x16506b[_0x18b0('0x25')]['closest'](_0x18b0('0x23'))||this[_0x18b0('0x13')]&&this[_0x18b0('0x16')]&&this[_0x18b0('0x26')](_0x18b0('0x1b'),{'id':this['id']});})}}]});}[_0x18b0('0x27')](){super[_0x18b0('0x27')]();const _0x100182=this[_0x18b0('0xc')][_0x18b0('0x2')]['element'];this[_0x18b0('0x1a')](_0x100182,_0x18b0('0x0'),()=>{this[_0x18b0('0x26')]('setName',{'id':this['id'],'name':_0x100182[_0x18b0('0x6')]});});}[_0x18b0('0x1b')](){this[_0x18b0('0xd')]=!0x0;}[_0x18b0('0x10')](){this[_0x18b0('0xd')]=!0x1;}[_0x18b0('0x14')](){this['isHighlighted']=!0x0;}[_0x18b0('0x24')](){this[_0x18b0('0x1d')]=!0x1;}}_0x21e0c8(ci,_0x2cd549);
23
+ const _0x568b=['ck-reset','220','uiLanguage','render','fieldView','bind','unshift','ck-revision-history-sidebar__revision-authors','setTemplate','createdAt','element','length','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','isReady','_createdAtFormatted','isEnabled','map','from','ck-revision-history-sidebar__revision__date','select','fire','srcElement','ck-revision-history-sidebar__revision_highlighted','bindTemplate','revisionNameView','isActionsDropdownOpen','isConfirm','setName','extendTemplate','set','creator','change','name','span','ck-revision-history-sidebar__revision__controls-wrapper','deselect','listenTo','div','isHighlighted','authors','closest','placeholder','revisionActionsView','isSelected','.ck-thread__remove-confirm'];(function(_0x291ee0,_0x568bb){const _0xd98a55=function(_0x2396eb){while(--_0x2396eb){_0x291ee0['push'](_0x291ee0['shift']());}};_0xd98a55(++_0x568bb);}(_0x568b,0x110));const _0xd98a=function(_0x291ee0,_0x568bb){_0x291ee0=_0x291ee0-0x0;let _0xd98a55=_0x568b[_0x291ee0];return _0xd98a55;};import{View as _0x5d2107,createLabeledInputText as _0x3ee5d2}from'ckeditor5/src/ui';import{mix as _0x94e1de}from'ckeditor5/src/utils';import{ConfirmMixin as _0xdc013d}from'ckeditor5-collaboration/src/collaboration-core';import _0x4e22e7 from'./revisionnameview';import _0x480f35 from'./revisionauthorview';import{dateToPrettyFormat as _0x167add}from'./utils';import{createActionsDropdownView as _0x484cb5}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class di extends _0x5d2107{constructor(_0x211623,_0x18a2cf,_0x2a5128){super(_0x211623);const _0x2f4617=this[_0xd98a('0x15')],_0x1a1994=function(_0xaa181f,_0x431666){const _0x435d7d=Array[_0xd98a('0xf')](_0x431666[_0xd98a('0x25')])['filter'](_0x41f22c=>_0x41f22c!=_0x431666[_0xd98a('0x1c')]);return _0x431666[_0xd98a('0x1c')]&&_0x435d7d[_0xd98a('0x4')](_0x431666['creator']),_0x435d7d[_0xd98a('0xe')](_0x118b62=>new _0x480f35(_0xaa181f,_0x118b62,_0x118b62==_0x431666[_0xd98a('0x1c')]));}(_0x211623,_0x18a2cf);this['_revision']=_0x18a2cf,this['id']=_0x18a2cf['id'],this[_0xd98a('0x3')]('name',_0xd98a('0x7'))['to'](_0x18a2cf),this[_0xd98a('0x1b')]('isSelected',!0x1),this[_0xd98a('0x1b')](_0xd98a('0x24'),!0x1),this['set'](_0xd98a('0x17'),!0x1),this[_0xd98a('0x1b')](_0xd98a('0xb'),!0x1),this[_0xd98a('0x3')](_0xd98a('0xc'))['to'](this,_0xd98a('0x7'),_0x3f3ef6=>_0x3f3ef6?_0x167add(_0x211623[_0xd98a('0x0')],_0x3f3ef6):null),this[_0xd98a('0x1b')](_0xd98a('0xd'),!0x1),this[_0xd98a('0x16')]=new _0x4e22e7(_0x211623,_0x3ee5d2),this[_0xd98a('0x16')][_0xd98a('0x2')][_0xd98a('0x1a')]({'attributes':{'maxlength':_0xd98a('0x2c')}}),this[_0xd98a('0x16')]['fieldView']['bind']('value',_0xd98a('0x27'))['to'](this,_0xd98a('0x1e'),_0xd98a('0xc')),this[_0xd98a('0x16')][_0xd98a('0x3')](_0xd98a('0xd'))['to'](this,'isSelected',this,_0xd98a('0xd'),(_0x4baedd,_0x1dd4c6)=>_0x4baedd&&_0x1dd4c6),this[_0xd98a('0x28')]=_0x2a5128&&_0x2a5128[_0xd98a('0x9')]?_0x484cb5(this,_0x2a5128):'',this['revisionActionsView'][_0xd98a('0x3')](_0xd98a('0xd'))['to'](this),this[_0xd98a('0x6')]({'tag':_0xd98a('0x23'),'attributes':{'class':['ck',_0xd98a('0x2b'),'ck-revision-history-sidebar__revision-wrapper',_0x2f4617['if'](_0xd98a('0x18'),_0xd98a('0xa'))]},'children':[{'tag':_0xd98a('0x23'),'attributes':{'class':['ck',_0xd98a('0x2b'),'ck-revision-history-sidebar__revision',_0x2f4617['if'](_0xd98a('0xd'),'ck-disabled',_0x4a7584=>!_0x4a7584),_0x2f4617['if'](_0xd98a('0x29'),'ck-revision-history-sidebar__revision_selected'),_0x2f4617['if'](_0xd98a('0x24'),_0xd98a('0x14')),_0x2f4617['if'](_0xd98a('0x17'),'ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this[_0xd98a('0x16')],{'tag':_0xd98a('0x1f'),'attributes':{'class':['ck',_0xd98a('0x10')]},'children':[{'text':_0x2f4617['to'](_0xd98a('0xc'))}]},{'tag':'div','attributes':{'class':['ck',_0xd98a('0x20')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0xd98a('0x5')]},'children':_0x1a1994}]},this[_0xd98a('0x28')]],'on':{'click':_0x2f4617['to'](_0x21009a=>{_0x21009a[_0xd98a('0x13')][_0xd98a('0x26')](_0xd98a('0x2a'))||this[_0xd98a('0xb')]&&this[_0xd98a('0xd')]&&this['fire'](_0xd98a('0x11'),{'id':this['id']});})}}]});}[_0xd98a('0x1')](){super[_0xd98a('0x1')]();const _0x51f4b9=this[_0xd98a('0x16')]['fieldView'][_0xd98a('0x8')];this[_0xd98a('0x22')](_0x51f4b9,_0xd98a('0x1d'),()=>{this[_0xd98a('0x12')](_0xd98a('0x19'),{'id':this['id'],'name':_0x51f4b9['value']});});}[_0xd98a('0x11')](){this[_0xd98a('0x29')]=!0x0;}[_0xd98a('0x21')](){this[_0xd98a('0x29')]=!0x1;}['highlight'](){this[_0xd98a('0x24')]=!0x0;}['unhighlight'](){this[_0xd98a('0x24')]=!0x1;}}_0x94e1de(di,_0xdc013d);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4712=['toggle','_isCollapsed','isVisible','span','click','false','ck-revision-history-sidebar__subrevision-collapser__inner','ck-revision-history-sidebar__subrevision-collapser','button','ck-revision-history-sidebar__subrevision-collapser_collapsed','setTemplate'];(function(_0x2f41c4,_0x47126e){const _0x51bc0f=function(_0x1818ea){while(--_0x1818ea){_0x2f41c4['push'](_0x2f41c4['shift']());}};_0x51bc0f(++_0x47126e);}(_0x4712,0x12a));const _0x51bc=function(_0x2f41c4,_0x47126e){_0x2f41c4=_0x2f41c4-0x0;let _0x51bc0f=_0x4712[_0x2f41c4];return _0x51bc0f;};import{View as _0x4e2d53}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x4e2d53{constructor(_0x2c031a){super(_0x2c031a);const _0x5d8a8f=this['bindTemplate'];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x51bc('0x9')]({'tag':'span','attributes':{'class':['ck',_0x51bc('0x6'),_0x5d8a8f['if'](_0x51bc('0x1'),'ck-hidden',_0x19b9b5=>!_0x19b9b5),_0x5d8a8f['if'](_0x51bc('0x0'),_0x51bc('0x8'))],'role':_0x51bc('0x7'),'aria-pressed':_0x5d8a8f['to'](_0x51bc('0x0'),_0xa81b71=>_0xa81b71?_0x51bc('0x4'):'true')},'children':[{'tag':_0x51bc('0x2'),'attributes':{'class':['ck',_0x51bc('0x5')]}}],'on':{'click':_0x5d8a8f['to'](_0x51bc('0x3'))}});}[_0x51bc('0xa')](){this[_0x51bc('0x0')]=!this[_0x51bc('0x0')];}}
23
+ const _0x8351=['ck-revision-history-sidebar__subrevision-collapser_collapsed','_isCollapsed','true','toggle','ck-revision-history-sidebar__subrevision-collapser__inner','span','ck-revision-history-sidebar__subrevision-collapser','false','ck-hidden','setTemplate','click'];(function(_0x1053b9,_0x8351e){const _0x4f8cdd=function(_0x5758f5){while(--_0x5758f5){_0x1053b9['push'](_0x1053b9['shift']());}};_0x4f8cdd(++_0x8351e);}(_0x8351,0x68));const _0x4f8c=function(_0x1053b9,_0x8351e){_0x1053b9=_0x1053b9-0x0;let _0x4f8cdd=_0x8351[_0x1053b9];return _0x4f8cdd;};import{View as _0x5b9091}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class os extends _0x5b9091{constructor(_0x408cf6){super(_0x408cf6);const _0x3ca805=this['bindTemplate'];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x4f8c('0x4')]({'tag':'span','attributes':{'class':['ck',_0x4f8c('0x1'),_0x3ca805['if']('isVisible',_0x4f8c('0x3'),_0x265594=>!_0x265594),_0x3ca805['if'](_0x4f8c('0x7'),_0x4f8c('0x6'))],'role':'button','aria-pressed':_0x3ca805['to'](_0x4f8c('0x7'),_0x217371=>_0x217371?_0x4f8c('0x2'):_0x4f8c('0x8'))},'children':[{'tag':_0x4f8c('0x0'),'attributes':{'class':['ck',_0x4f8c('0xa')]}}],'on':{'click':_0x3ca805['to'](_0x4f8c('0x5'))}});}[_0x4f8c('0x9')](){this[_0x4f8c('0x7')]=!this[_0x4f8c('0x7')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41f2=['ck-revision-history-sidebar__revision-authors','bindTemplate','ck-revision-history-sidebar__revision','span','author','_parentRevisionId','isSelected','ck-revision-history-sidebar__subrevision','deselect','bind','ck-reset','uiLanguage','div','select','createdAt','_createdAtFormatted'];(function(_0x3cc29e,_0x41f210){const _0x5cfcaa=function(_0x3d5830){while(--_0x3d5830){_0x3cc29e['push'](_0x3cc29e['shift']());}};_0x5cfcaa(++_0x41f210);}(_0x41f2,0x163));const _0x5cfc=function(_0x3cc29e,_0x41f210){_0x3cc29e=_0x3cc29e-0x0;let _0x5cfcaa=_0x41f2[_0x3cc29e];return _0x5cfcaa;};import{View as _0x120540}from'ckeditor5/src/ui';import _0xba3042 from'./revisionauthorview';import{dateToPrettyFormat as _0x5a680f}from'./utils';import'../../../theme/revision/subrevision.css';export default class dt extends _0x120540{constructor(_0x4c7ee4,_0x49bb23,_0x4b1381){super(_0x4c7ee4);const _0x3fe72a=this[_0x5cfc('0xe')];this['id']=_0x49bb23['id'],this['bind'](_0x5cfc('0xb'))['to'](_0x49bb23),this['set'](_0x5cfc('0x3'),!0x1),this[_0x5cfc('0x6')](_0x5cfc('0xc'))['to'](this,_0x5cfc('0xb'),_0x351865=>_0x351865?_0x5a680f(_0x4c7ee4[_0x5cfc('0x8')],_0x351865):null),this[_0x5cfc('0x2')]=_0x4b1381,this['setTemplate']({'tag':_0x5cfc('0x9'),'attributes':{'class':['ck',_0x5cfc('0x7'),_0x5cfc('0xf'),_0x5cfc('0x4'),_0x3fe72a['if'](_0x5cfc('0x3'),'ck-revision-history-sidebar__revision_selected')]},'children':[{'tag':_0x5cfc('0x0'),'attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x3fe72a['to'](_0x5cfc('0xc'))}]},{'tag':'ul','attributes':{'class':['ck',_0x5cfc('0xd')]},'children':[new _0xba3042(_0x4c7ee4,_0x49bb23[_0x5cfc('0x1')],!0x0)]}],'on':{'click':_0x3fe72a['to'](this[_0x5cfc('0xa')][_0x5cfc('0x6')](this))}});}[_0x5cfc('0xa')](){this['isSelected']=!0x0,this['fire'](_0x5cfc('0xa'),{'parentId':this[_0x5cfc('0x2')]});}[_0x5cfc('0x5')](){this[_0x5cfc('0x3')]=!0x1;}}
23
+ const _0x24fb=['author','ck-reset','deselect','setTemplate','fire','createdAt','ck-revision-history-sidebar__revision_selected','span','ck-revision-history-sidebar__revision__date','uiLanguage','select','ck-revision-history-sidebar__revision','bindTemplate','ck-revision-history-sidebar__subrevision','isSelected','set','div','_createdAtFormatted'];(function(_0x5498ab,_0x24fbcf){const _0x28ba65=function(_0x2d99c3){while(--_0x2d99c3){_0x5498ab['push'](_0x5498ab['shift']());}};_0x28ba65(++_0x24fbcf);}(_0x24fb,0x1c7));const _0x28ba=function(_0x5498ab,_0x24fbcf){_0x5498ab=_0x5498ab-0x0;let _0x28ba65=_0x24fb[_0x5498ab];return _0x28ba65;};import{View as _0x5190e6}from'ckeditor5/src/ui';import _0x2107e8 from'./revisionauthorview';import{dateToPrettyFormat as _0x46dc6b}from'./utils';import'../../../theme/revision/subrevision.css';export default class _t extends _0x5190e6{constructor(_0x3eabb4,_0x5ee27d,_0x22541f){super(_0x3eabb4);const _0x1c5769=this[_0x28ba('0x7')];this['id']=_0x5ee27d['id'],this['bind'](_0x28ba('0x0'))['to'](_0x5ee27d),this[_0x28ba('0xa')](_0x28ba('0x9'),!0x1),this['bind'](_0x28ba('0xc'))['to'](this,_0x28ba('0x0'),_0x587437=>_0x587437?_0x46dc6b(_0x3eabb4[_0x28ba('0x4')],_0x587437):null),this['_parentRevisionId']=_0x22541f,this[_0x28ba('0x10')]({'tag':_0x28ba('0xb'),'attributes':{'class':['ck',_0x28ba('0xe'),_0x28ba('0x6'),_0x28ba('0x8'),_0x1c5769['if']('isSelected',_0x28ba('0x1'))]},'children':[{'tag':_0x28ba('0x2'),'attributes':{'class':['ck',_0x28ba('0x3')]},'children':[{'text':_0x1c5769['to']('_createdAtFormatted')}]},{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':[new _0x2107e8(_0x3eabb4,_0x5ee27d[_0x28ba('0xd')],!0x0)]}],'on':{'click':_0x1c5769['to'](this[_0x28ba('0x5')]['bind'](this))}});}[_0x28ba('0x5')](){this[_0x28ba('0x9')]=!0x0,this[_0x28ba('0x11')](_0x28ba('0x5'),{'parentId':this['_parentRevisionId']});}[_0x28ba('0xf')](){this[_0x28ba('0x9')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4809=['long','numeric','toLocaleDateString','toLocaleTimeString'];(function(_0x57bdc8,_0x4809b7){var _0x4716e2=function(_0x4fa228){while(--_0x4fa228){_0x57bdc8['push'](_0x57bdc8['shift']());}};_0x4716e2(++_0x4809b7);}(_0x4809,0x1d4));var _0x4716=function(_0x57bdc8,_0x4809b7){_0x57bdc8=_0x57bdc8-0x0;var _0x4716e2=_0x4809[_0x57bdc8];return _0x4716e2;};export function dateToPrettyFormat(_0x20beef,_0x3317fb){return _0x3317fb[_0x4716('0x2')](_0x20beef,{'month':_0x4716('0x0'),'day':_0x4716('0x1')})+',\x20'+_0x3317fb[_0x4716('0x3')](_0x20beef,{'hour':_0x4716('0x1'),'minute':_0x4716('0x1')});}
23
+ var _0x2354=['long','toLocaleDateString','toLocaleTimeString'];(function(_0x1a459e,_0x235465){var _0x1e4fbd=function(_0xd1739d){while(--_0xd1739d){_0x1a459e['push'](_0x1a459e['shift']());}};_0x1e4fbd(++_0x235465);}(_0x2354,0x6a));var _0x1e4f=function(_0x1a459e,_0x235465){_0x1a459e=_0x1a459e-0x0;var _0x1e4fbd=_0x2354[_0x1a459e];return _0x1e4fbd;};export function dateToPrettyFormat(_0x288dd2,_0x1dffc3){return _0x1dffc3[_0x1e4f('0x0')](_0x288dd2,{'month':_0x1e4f('0x2'),'day':'numeric'})+',\x20'+_0x1dffc3[_0x1e4f('0x1')](_0x288dd2,{'hour':'numeric','minute':'numeric'});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x482e=['form','_createRevisionNameInput','ck-button-save','render','revisionNameInputValue','revisionNameInputView','label','shift\x20+\x20tab','revisionName','_createButton','tab','trim','_focusCycler','high','execute','focus','ck-revision-history-save-revision-form','input','_focusables','stopPropagation','extendTemplate','value','fieldView','set','element','cancel','focusTracker','locale','ck-responsive-form','Cancel','arrowup','add','reset','cancelButtonView','listenTo','saveButtonView','focusFirst','keystrokes','forEach','submit','arrowright','delegate','Name\x20of\x20the\x20revision\x20(optional)','Save','220'];(function(_0x99a6e3,_0x482e44){const _0x1543f8=function(_0xee4978){while(--_0xee4978){_0x99a6e3['push'](_0x99a6e3['shift']());}};_0x1543f8(++_0x482e44);}(_0x482e,0x8c));const _0x1543=function(_0x99a6e3,_0x482e44){_0x99a6e3=_0x99a6e3-0x0;let _0x1543f8=_0x482e[_0x99a6e3];return _0x1543f8;};import{ButtonView as _0x49cdbd,FocusCycler as _0x41664a,LabeledFieldView as _0xee11fc,View as _0xa837d6,ViewCollection as _0x5a95de,createLabeledInputText as _0x15dc9f,injectCssTransitionDisabler as _0x77a67d,submitHandler as _0x22dd75}from'ckeditor5/src/ui';import{FocusTracker as _0x20e3e2,KeystrokeHandler as _0x548998}from'ckeditor5/src/utils';import{getTranslation as _0x16424c}from'../../utils/common-translations';import _0x4a7140 from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x5cfbb0 from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class gt extends _0xa837d6{constructor(_0x45b376){super(_0x45b376),this[_0x1543('0x15')]=new _0x20e3e2(),this[_0x1543('0x20')]=new _0x548998(),this[_0x1543('0x12')](_0x1543('0x2c'),''),this['revisionNameInputView']=this[_0x1543('0x29')](),this['saveButtonView']=this[_0x1543('0x4')](_0x16424c(_0x45b376,_0x1543('0x26')),_0x4a7140,_0x1543('0x2a')),this['saveButtonView']['type']=_0x1543('0x22'),this[_0x1543('0x1c')]=this[_0x1543('0x4')](_0x16424c(_0x45b376,_0x1543('0x18')),_0x5cfbb0,'ck-button-cancel',_0x1543('0x14')),this['_focusables']=new _0x5a95de(),this[_0x1543('0x7')]=new _0x41664a({'focusables':this['_focusables'],'focusTracker':this[_0x1543('0x15')],'keystrokeHandler':this[_0x1543('0x20')],'actions':{'focusPrevious':_0x1543('0x2'),'focusNext':_0x1543('0x5')}}),this['setTemplate']({'tag':_0x1543('0x28'),'attributes':{'class':['ck',_0x1543('0xb'),_0x1543('0x17')],'tabindex':'-1'},'children':[this[_0x1543('0x0')],this[_0x1543('0x1e')],this[_0x1543('0x1c')]]}),_0x77a67d(this);}['render'](){super[_0x1543('0x2b')](),_0x22dd75({'view':this}),([this['revisionNameInputView'],this[_0x1543('0x1e')],this['cancelButtonView']][_0x1543('0x21')](_0x3883bf=>{this[_0x1543('0xd')][_0x1543('0x1a')](_0x3883bf),this[_0x1543('0x15')][_0x1543('0x1a')](_0x3883bf[_0x1543('0x13')]);}),this['keystrokes'][_0x1543('0x1d')](this[_0x1543('0x13')]));const _0x1eeac9=_0x2c9d3f=>_0x2c9d3f['stopPropagation']();this[_0x1543('0x20')][_0x1543('0x12')](_0x1543('0x23'),_0x1eeac9),this[_0x1543('0x20')][_0x1543('0x12')]('arrowleft',_0x1eeac9),this[_0x1543('0x20')][_0x1543('0x12')](_0x1543('0x19'),_0x1eeac9),this['keystrokes'][_0x1543('0x12')]('arrowdown',_0x1eeac9),this['listenTo'](this['revisionNameInputView'][_0x1543('0x13')],'selectstart',(_0x48968a,_0x21fe00)=>{_0x21fe00[_0x1543('0xe')]();},{'priority':_0x1543('0x8')});}[_0x1543('0xa')](){this[_0x1543('0x7')][_0x1543('0x1f')]();}get[_0x1543('0x3')](){return this[_0x1543('0x0')][_0x1543('0x11')][_0x1543('0x13')][_0x1543('0x10')][_0x1543('0x6')]();}set[_0x1543('0x3')](_0x26bedf){this[_0x1543('0x0')][_0x1543('0x11')][_0x1543('0x13')]['value']=_0x26bedf[_0x1543('0x6')]();}[_0x1543('0x1b')](){this[_0x1543('0x0')]['fieldView']['element']['value']='';}[_0x1543('0x29')](){const _0xadf309=new _0xee11fc(this['locale'],_0x15dc9f),_0x390e1a=_0xadf309[_0x1543('0x11')];return _0x390e1a[_0x1543('0xf')]({'attributes':{'maxlength':_0x1543('0x27')}}),_0xadf309[_0x1543('0x1')]=_0x16424c(this[_0x1543('0x16')],_0x1543('0x25')),_0x390e1a['on'](_0x1543('0xc'),()=>{this[_0x1543('0x2c')]=_0x390e1a[_0x1543('0x13')][_0x1543('0x10')]['trim']();}),_0xadf309;}['_createButton'](_0x5782a4,_0x187c03,_0x4a7427,_0xd88380){const _0x362de6=new _0x49cdbd(this[_0x1543('0x16')]);return _0x362de6[_0x1543('0x12')]({'label':_0x5782a4,'icon':_0x187c03,'tooltip':!0x0}),_0x362de6[_0x1543('0xf')]({'attributes':{'class':_0x4a7427}}),_0xd88380&&_0x362de6[_0x1543('0x24')](_0x1543('0x9'))['to'](this,_0xd88380),_0x362de6;}}
23
+ const _0x3c8e=['setTemplate','type','ck-responsive-form','Save','focusTracker','tab','form','Cancel','arrowright','ck-button-save','fieldView','extendTemplate','set','selectstart','keystrokes','locale','cancelButtonView','ck-revision-history-save-revision-form','focusFirst','element','delegate','add','ck-button-cancel','cancel','stopPropagation','shift\x20+\x20tab','revisionNameInputValue','revisionNameInputView','_createButton','forEach','220','revisionName','submit','_focusCycler','render','saveButtonView','_createRevisionNameInput','value','listenTo','high','trim','execute'];(function(_0x344e17,_0x3c8e29){const _0x18c862=function(_0x572151){while(--_0x572151){_0x344e17['push'](_0x344e17['shift']());}};_0x18c862(++_0x3c8e29);}(_0x3c8e,0x13f));const _0x18c8=function(_0x344e17,_0x3c8e29){_0x344e17=_0x344e17-0x0;let _0x18c862=_0x3c8e[_0x344e17];return _0x18c862;};import{ButtonView as _0x582e98,FocusCycler as _0x31a061,LabeledFieldView as _0x2f4780,View as _0x71ab1b,ViewCollection as _0x19b7c5,createLabeledInputText as _0x26e3d9,injectCssTransitionDisabler as _0xe752dc,submitHandler as _0x52eb2d}from'ckeditor5/src/ui';import{FocusTracker as _0x256c98,KeystrokeHandler as _0x41d763}from'ckeditor5/src/utils';import{getTranslation as _0xc6002b}from'../../utils/common-translations';import _0x317dee from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x40dd2c from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x71ab1b{constructor(_0x2ba844){super(_0x2ba844),this[_0x18c8('0x15')]=new _0x256c98(),this[_0x18c8('0x1f')]=new _0x41d763(),this['set'](_0x18c8('0x1'),''),this[_0x18c8('0x2')]=this[_0x18c8('0xb')](),this[_0x18c8('0xa')]=this[_0x18c8('0x3')](_0xc6002b(_0x2ba844,_0x18c8('0x14')),_0x317dee,_0x18c8('0x1a')),this[_0x18c8('0xa')][_0x18c8('0x12')]=_0x18c8('0x7'),this[_0x18c8('0x21')]=this['_createButton'](_0xc6002b(_0x2ba844,_0x18c8('0x18')),_0x40dd2c,_0x18c8('0x27'),_0x18c8('0x28')),this['_focusables']=new _0x19b7c5(),this['_focusCycler']=new _0x31a061({'focusables':this['_focusables'],'focusTracker':this[_0x18c8('0x15')],'keystrokeHandler':this[_0x18c8('0x1f')],'actions':{'focusPrevious':_0x18c8('0x0'),'focusNext':_0x18c8('0x16')}}),this[_0x18c8('0x11')]({'tag':_0x18c8('0x17'),'attributes':{'class':['ck',_0x18c8('0x22'),_0x18c8('0x13')],'tabindex':'-1'},'children':[this[_0x18c8('0x2')],this[_0x18c8('0xa')],this['cancelButtonView']]}),_0xe752dc(this);}['render'](){super[_0x18c8('0x9')](),_0x52eb2d({'view':this}),([this[_0x18c8('0x2')],this[_0x18c8('0xa')],this['cancelButtonView']][_0x18c8('0x4')](_0x35094c=>{this['_focusables'][_0x18c8('0x26')](_0x35094c),this[_0x18c8('0x15')]['add'](_0x35094c[_0x18c8('0x24')]);}),this['keystrokes'][_0x18c8('0xd')](this[_0x18c8('0x24')]));const _0xc5e5e6=_0x4a8d13=>_0x4a8d13[_0x18c8('0x29')]();this['keystrokes']['set'](_0x18c8('0x19'),_0xc5e5e6),this[_0x18c8('0x1f')][_0x18c8('0x1d')]('arrowleft',_0xc5e5e6),this[_0x18c8('0x1f')][_0x18c8('0x1d')]('arrowup',_0xc5e5e6),this[_0x18c8('0x1f')][_0x18c8('0x1d')]('arrowdown',_0xc5e5e6),this[_0x18c8('0xd')](this[_0x18c8('0x2')][_0x18c8('0x24')],_0x18c8('0x1e'),(_0x27cbf4,_0x53ccb7)=>{_0x53ccb7[_0x18c8('0x29')]();},{'priority':_0x18c8('0xe')});}['focus'](){this[_0x18c8('0x8')][_0x18c8('0x23')]();}get[_0x18c8('0x6')](){return this[_0x18c8('0x2')]['fieldView'][_0x18c8('0x24')][_0x18c8('0xc')][_0x18c8('0xf')]();}set[_0x18c8('0x6')](_0xc58a00){this[_0x18c8('0x2')]['fieldView'][_0x18c8('0x24')]['value']=_0xc58a00[_0x18c8('0xf')]();}['reset'](){this[_0x18c8('0x2')]['fieldView'][_0x18c8('0x24')][_0x18c8('0xc')]='';}[_0x18c8('0xb')](){const _0x462dfb=new _0x2f4780(this[_0x18c8('0x20')],_0x26e3d9),_0x55fac0=_0x462dfb[_0x18c8('0x1b')];return _0x55fac0[_0x18c8('0x1c')]({'attributes':{'maxlength':_0x18c8('0x5')}}),_0x462dfb['label']=_0xc6002b(this['locale'],'Name\x20of\x20the\x20revision\x20(optional)'),_0x55fac0['on']('input',()=>{this[_0x18c8('0x1')]=_0x55fac0[_0x18c8('0x24')][_0x18c8('0xc')][_0x18c8('0xf')]();}),_0x462dfb;}[_0x18c8('0x3')](_0x142286,_0x131024,_0x3622f0,_0x1e3021){const _0x114983=new _0x582e98(this[_0x18c8('0x20')]);return _0x114983[_0x18c8('0x1d')]({'label':_0x142286,'icon':_0x131024,'tooltip':!0x0}),_0x114983[_0x18c8('0x1c')]({'attributes':{'class':_0x3622f0}}),_0x1e3021&&_0x114983[_0x18c8('0x25')](_0x18c8('0x10'))['to'](this,_0x1e3021),_0x114983;}}