@ckeditor/ckeditor5-revision-history 37.0.0 → 37.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/build/revision-history.js +1 -1
  2. package/package.json +6 -6
  3. package/src/changeitem.js +1 -1
  4. package/src/editor/revisionviewereditor.js +1 -1
  5. package/src/editor/revisionviewereditorui.js +1 -1
  6. package/src/editor/revisionviewereditoruiview.js +1 -1
  7. package/src/revision.js +1 -1
  8. package/src/revisiondiff.js +1 -1
  9. package/src/revisionhistory.js +1 -1
  10. package/src/revisionsrepository.js +1 -1
  11. package/src/revisiontracker.js +1 -1
  12. package/src/revisionviewer.js +1 -1
  13. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  14. package/src/ui/revision/revisionauthorview.js +1 -1
  15. package/src/ui/revision/revisionnameview.js +1 -1
  16. package/src/ui/revision/revisionview.js +1 -1
  17. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  18. package/src/ui/revision/subrevisionview.js +1 -1
  19. package/src/ui/revision/utils.js +1 -1
  20. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  21. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  22. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  23. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  24. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  25. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  26. package/src/ui/revisionssidebar/utils.js +1 -1
  27. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  28. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  29. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  30. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  31. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f6b=['dataDowncast','_findChangeIdFromDomTarget','RevisionsRepository','isCollapsed','processor','createRangeIn','removeMarker:revision','_makeTape','filter','side','change:activeView','revisionHistoryLabel','_makeModelFromViewString','pop','commands','isReady','document','isIncorrect','change:activeChange','revision:','_getRevisionsRange','item','clearForceDisabled','_joinTapes','getClientRects','sort','numberOfChanges','highest','find','forceDisabled','_setData','nextSibling','downcastDispatcher','text','createPositionBefore','right','changes','bindElementToMarker','isAddSuggestion','vid_end','element:pre','conversion','getChild','mouseover','addClass','isLimit','unbindElementFromMarkerName','_getChangeFromId','activeView','isRemoved','getItems','_cleanUp','collaboration.channelId','elementToAttribute','parent','splice','addHighlight','change:isReady','span','requires','insertions','add','isBefore','view','getRevisionData','endIndex','init','getCustomProperty','data-change-id','keys','revision','level','setAttribute','<p></p>','change:isEnabled','target','listenTo','newRevisionId','forward','addMarker:revision-suggestion:insertion','then','_makeModelFromTape','RevisionViewer','revision-suggestion','ck-editor__editable__overlay','code','_markMismatchedRemovedTags','_setDistance','shift','restoreRevision','ck-suggestion-preview-marker','left','createPositionFromPath','vid','stop','addRevisionData','consumable','editor','isNavigationMode','_markMarkers','revision-viewer','getRootNames','backward','_getViewObj','domConverter','hasAttribute','nextPosition','softBreak','revision-comment:','getIndex','_removeRevisionMarkers','suggestion:','change:numberOfChanges','isAtEnd','_getViewForChange','insertion','deletions','userId','plugins','markerToData','upcast','ck-suggestion-marker--active','isAtStart','schema','done','resolve','get','_activeViewTarget','repository','attributes','mousedown','_getDiff','diff','set','addRevision','error','_appendChild','isRemoveSuggestion','isEnabled','config','high','markerNameToElements','createRange','ck-suggestion-marker','slice','concat','default','data','useFillerType','POSITIVE_INFINITY','readOnlyMode','isInline','revisionHistory','updatePosition','selection','stopListening','wrap','markerRange','isAfter','toModel','compare','isEqual','children','push','string','clear','markers','roots','startIndex','start','showStack','vid_start','change:isReadOnly','ck-suggestion-marker-split','element','suggestion','comment','execute','isObject','_setConversion','refresh','catch','viewItem','model','merge','index','map','_revisions','_update','_refreshStartEndIndex','elementEnd','markerToHighlight','getAttributes','_markSuggestions','adapter','markersStart','toViewElement','_changeIdToChange','oldRevisionId','startsWith','bottom','toViewRange','nodeAfter','getAttribute','editingDowncast','dataToMarker','_removeUnsupportedChanges','_balloon','getRoot','writer','flat','previousPosition','includes','deletion','revision-suggestion:','_step','isContent','from','mapper','pluginName','_initInteractions','pairId','activeChange','diffData','distance','abs','isSuggestion','top','end','removeClass','reconvertMarker','name','changeId','addMarker:revision-suggestion:deletion','_data','offsetSize','split','remove','length','has','currentChangeNumber','markerName','ck-suggestion-marker-','forEach','low','_cleanMarkers','addMarker:revision','findIndex','next','getWalker','_fixObsoleteTags','revision-end','type','getRevision','parse','-new','domEvent','toViewPosition','createRevision','loadRevisionData','_threeWayMerge','isBlock','_markInsertions','enableReadOnlyMode','unshift','createUIElement','editing','modelRange','checkAttribute','destroy','markersEnd','showPreviousChange','return','change','object','_processTape','marked','values','test','WidgetToolbarRepository','for','consume','insert','_changeView','isAdded','elementStart','hasClass','revision-start'];(function(_0x22952a,_0x3f6bbd){const _0x4c817c=function(_0x139b69){while(--_0x139b69){_0x22952a['push'](_0x22952a['shift']());}};_0x4c817c(++_0x3f6bbd);}(_0x3f6b,0xf5));const _0x4c81=function(_0x22952a,_0x3f6bbd){_0x22952a=_0x22952a-0x0;let _0x4c817c=_0x3f6b[_0x22952a];return _0x4c817c;};import{Plugin as _0x5e3787,Command as _0xf77865}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x19d354}from'ckeditor5/src/utils';import{ContextualBalloon as _0x360046}from'ckeditor5/src/ui';import{DocumentFragment as _0x21cf73,Element as _0x298d33,Text as _0x399eed,ViewDocumentFragment as _0x4fdcff,ViewText as _0x36b9f4,ViewElement as _0x14b28,ViewContainerElement as _0x25f205,ViewAttributeElement as _0x4c63f3,ViewEmptyElement as _0x185097,ViewRawElement as _0x55cd9b,ViewUIElement as _0x512e4c}from'ckeditor5/src/engine';import{Users as _0x4aa3f6,getMarkerDomElement as _0x2ec871}from'ckeditor5-collaboration/src/collaboration-core';import _0x50847a from'./ui/revisionviewer/changedetailsview';import _0x146b8d from'./revisionsrepository';import _0x259e28 from'./changeitem';import{default as _0x42dd6e}from'./revisiondiff';import'../theme/revisionviewer.css';const K={'c':_0x25f205,'a':_0x4c63f3,'e':_0x185097,'r':_0x55cd9b,'u':_0x512e4c};export default class y extends _0x5e3787{static get[_0x4c81('0x106')](){return _0x4c81('0x7d');}static get[_0x4c81('0x66')](){return[_0x4aa3f6,_0x360046,_0x146b8d];}constructor(_0x55ca21){super(_0x55ca21),this[_0x4c81('0xab')]=this['editor'][_0x4c81('0xa1')][_0x4c81('0xa9')](_0x4c81('0x2d')),this[_0x4c81('0xb0')](_0x4c81('0x109'),null),this[_0x4c81('0xb0')](_0x4c81('0x5b'),null),this[_0x4c81('0xaa')]=null,this['set'](_0x4c81('0xaf'),null),this[_0x4c81('0xb0')](_0x4c81('0x3a'),!0x1),this['set']('isEnabled',!0x0),this['on'](_0x4c81('0x75'),(_0x37112b,_0x5a3325,_0x3b67cd)=>{this[_0x4c81('0x109')]=null,this[_0x4c81('0x5b')]=null,this[_0x4c81('0x8c')][_0x4c81('0x15')][_0x4c81('0x6a')]['change'](_0x5673fc=>{for(const _0x545c45 of this['editor']['editing'][_0x4c81('0x6a')]['document'][_0x4c81('0xd2')])_0x3b67cd?_0x5673fc[_0x4c81('0x110')](_0x4c81('0x7f'),_0x545c45):_0x5673fc[_0x4c81('0x57')](_0x4c81('0x7f'),_0x545c45);});}),this['bind'](_0x4c81('0x8d'))['to'](this,_0x4c81('0x109'),_0x16f77c=>null!==_0x16f77c),this['bind'](_0x4c81('0x11b'))['to'](this,_0x4c81('0x3a'),this,_0x4c81('0xaf'),this,'activeChange',(_0x246809,_0x45f82a,_0x41e8d9)=>_0x246809&&_0x41e8d9?_0x45f82a[_0x4c81('0x4f')][_0x4c81('0x98')](_0x41e8d9):0x0),this['bind'](_0x4c81('0x45'))['to'](this,_0x4c81('0x3a'),this,'diff',(_0xb8f9bc,_0x54e7d4)=>_0xb8f9bc?_0x54e7d4[_0x4c81('0x4f')][_0x4c81('0x119')]:0x0),this[_0x4c81('0x26')]=null,this[_0x4c81('0xf0')]=new Map(),this['adapter']=null,this[_0x4c81('0xfa')]=this[_0x4c81('0x8c')][_0x4c81('0xa1')][_0x4c81('0xa9')](_0x360046);}[_0x4c81('0x6d')](){const _0x3b1be8=this[_0x4c81('0x8c')],_0x4bb9d9=new ShowChangeCommand(_0x3b1be8,{'direction':_0x4c81('0x91')}),_0x2b5b51=new ShowChangeCommand(_0x3b1be8,{'direction':'forward'});(_0x3b1be8[_0x4c81('0x39')][_0x4c81('0x68')](_0x4c81('0x1a'),_0x4bb9d9),_0x3b1be8[_0x4c81('0x39')][_0x4c81('0x68')]('showNextChange',_0x2b5b51),_0x3b1be8[_0x4c81('0x39')][_0x4c81('0x68')](_0x4c81('0x84'),new RestoreRevisionCommand(_0x3b1be8)),this['on'](_0x4c81('0x9b'),()=>{_0x4bb9d9[_0x4c81('0xdf')](),_0x2b5b51[_0x4c81('0xdf')]();}),this['_setConversion'](),this[_0x4c81('0x107')](),_0x3b1be8[_0x4c81('0x12')](_0x4c81('0x8f')),_0x3b1be8[_0x4c81('0xa1')][_0x4c81('0x11a')](_0x4c81('0x22')))&&_0x3b1be8[_0x4c81('0xa1')][_0x4c81('0xa9')](_0x4c81('0x22'))[_0x4c81('0x48')](_0x4c81('0x8f'));}async[_0x4c81('0x6b')](_0x324a53){await this[_0x4c81('0xe')](_0x324a53);const _0x5449bb={};for(const _0x4374c9 in _0x324a53[_0x4c81('0x10a')]){const _0x1a2b03=this[_0x4c81('0x99')](JSON[_0x4c81('0x9')](_0x324a53['diffData'][_0x4374c9][_0x4c81('0x67')])),_0xfa38bb=this[_0x4c81('0x8c')][_0x4c81('0x15')][_0x4c81('0x6a')][_0x4c81('0x3b')],_0x8522d9=new _0x4fdcff(_0xfa38bb,_0x1a2b03[_0x4c81('0xe5')](_0x571dba=>this[_0x4c81('0x92')](_0x571dba)));this[_0x4c81('0x8c')][_0x4c81('0xbe')][_0x4c81('0x2f')][_0x4c81('0xbf')](_0x4c81('0x1f')),_0x5449bb[_0x4374c9]=this[_0x4c81('0x8c')][_0x4c81('0xbe')]['processor']['toData'](_0x8522d9),this['editor'][_0x4c81('0xbe')][_0x4c81('0x2f')][_0x4c81('0xbf')](_0x4c81('0xbd'));}return _0x5449bb;}[_0x4c81('0x99')](_0x498775){return(_0x498775=_0x498775[_0x4c81('0x33')](_0x24e8e9=>!_0x24e8e9[_0x4c81('0x112')]||_0x4c81('0x2a')!==_0x24e8e9[_0x4c81('0x112')]&&_0x4c81('0x6')!==_0x24e8e9[_0x4c81('0x112')]))['forEach'](_0x580bb0=>{_0x4c81('0xcf')!=typeof _0x580bb0&&(_0x580bb0[_0x4c81('0xcd')]=this[_0x4c81('0x99')](_0x580bb0[_0x4c81('0xcd')]),_0x580bb0[_0x4c81('0xac')]=_0x580bb0[_0x4c81('0xac')][_0x4c81('0x33')](_0x3f0613=>!_0x3f0613[0x0][_0x4c81('0xf2')]('data-revision-')));}),_0x498775;}async[_0x4c81('0xcb')](_0x510cf4,_0x2a26b1,_0x29955f=!0x1){if(!this[_0x4c81('0xb5')])return;const _0x17a7ab=this[_0x4c81('0xaf')],_0x171faf=this[_0x4c81('0xab')],_0xa9c18f=_0x4c81('0xcf')==typeof _0x510cf4?_0x171faf[_0x4c81('0x8')](_0x510cf4):_0x510cf4,_0x4bc9fc=_0x4c81('0xcf')==typeof _0x2a26b1?_0x171faf['getRevision'](_0x2a26b1):_0x2a26b1,_0x13abd0=_0xa9c18f['id'],_0x30cde0=_0x4bc9fc?_0x4bc9fc['id']:null;if(!_0x29955f&&this[_0x4c81('0xaf')]&&this[_0x4c81('0xaf')][_0x4c81('0x78')]===_0x13abd0&&this['diff'][_0x4c81('0xf1')]===_0x30cde0)return Promise[_0x4c81('0xa8')]();this[_0x4c81('0x3a')]=!0x1,this[_0x4c81('0x5b')]=null,this[_0x4c81('0x109')]=null,this[_0x4c81('0xaf')]=new _0x42dd6e(_0x13abd0,_0x30cde0);const _0x529b27=this[_0x4c81('0x3f')](_0xa9c18f,_0x4bc9fc,!0x0)[_0x4c81('0xe5')](_0x4cc17c=>this['loadRevisionData'](_0x4cc17c));return _0x529b27[_0x4c81('0xce')](new Promise(_0x45cfe7=>{setTimeout(_0x45cfe7,0x14);})),Promise['all'](_0x529b27)[_0x4c81('0x7b')](()=>{if(!this[_0x4c81('0xb5')])return;this['_cleanUp']();const _0x12f0d0=this[_0x4c81('0xae')](_0x13abd0,_0x30cde0);this[_0x4c81('0xaf')][_0x4c81('0x49')](_0x12f0d0);for(const _0xfbba5e of this[_0x4c81('0xaf')]['changes'])this[_0x4c81('0xf0')][_0x4c81('0xb0')](_0xfbba5e['id'],_0xfbba5e);this[_0x4c81('0x8c')][_0x4c81('0xe2')]['enqueueChange']({'isUndoable':!0x1},_0xdf0343=>{for(const _0xb9ee9 of Object[_0x4c81('0x70')](_0x12f0d0[_0x4c81('0xe2')])){const _0x1fc638=this[_0x4c81('0x8c')]['model'][_0x4c81('0x3b')][_0x4c81('0xfb')](_0xb9ee9);_0xdf0343['remove'](_0xdf0343[_0x4c81('0x30')](_0x1fc638)),_0xdf0343[_0x4c81('0x25')](_0x12f0d0['model'][_0xb9ee9],_0x1fc638,0x0);}}),this[_0x4c81('0x3a')]=!0x0;})[_0x4c81('0xe0')](_0x569b20=>{console[_0x4c81('0xb2')](_0x569b20),this['_cleanUp'](),_0x17a7ab?this[_0x4c81('0xaf')]=_0x17a7ab:this['editor'][_0x4c81('0xbe')]['set'](_0x4c81('0x74')),this[_0x4c81('0x3a')]=!0x0;});}[_0x4c81('0x18')](){this[_0x4c81('0x5b')]=null,this[_0x4c81('0x26')]&&this['_changeView'][_0x4c81('0x18')]();}[_0x4c81('0x8a')](_0x513644,_0xbc3610){const _0x10b219=this[_0x4c81('0xab')][_0x4c81('0xd')](_0x513644);return _0x10b219['on'](_0x4c81('0xe7'),(_0x289188,_0x4a75a0,_0x155030)=>_0xbc3610(_0x4a75a0,_0x155030,_0x10b219)),this[_0x4c81('0xab')][_0x4c81('0xb1')](_0x10b219),_0x10b219;}[_0x4c81('0xe')](_0x342d54){if(!_0x342d54||_0x342d54['diffData'])return Promise['resolve']();{const _0xb70e8f=this[_0x4c81('0x8c')][_0x4c81('0xb6')]['get'](_0x4c81('0x5f'));return this[_0x4c81('0xed')]['getRevision']({'channelId':_0xb70e8f,'revisionId':_0x342d54['id']})[_0x4c81('0x7b')](_0x327ab4=>{_0x342d54[_0x4c81('0xe7')]({'diffData':_0x327ab4[_0x4c81('0x10a')]},!0x0);});}}[_0x4c81('0x5e')](){this[_0x4c81('0x109')]=null,this['_cleanMarkers'](),this[_0x4c81('0x26')]&&this['_changeView']['destroy'](),this[_0x4c81('0x26')]=null,this[_0x4c81('0xf0')][_0x4c81('0xd0')]();}['_makeTape'](_0x2b190d){const _0x743453=Array['from'](_0x2b190d[_0x4c81('0xd1')])[_0x4c81('0x33')](([_0x4c4810,_0x3ca474])=>_0x4c4810[_0x4c81('0xf2')](_0x4c81('0x3e'))&&!_0x3ca474[_0x4c81('0x2e')]),_0x3420dd=Array[_0x4c81('0x104')](this[_0x4c81('0x8c')][_0x4c81('0xe2')][_0x4c81('0x30')](_0x2b190d)[_0x4c81('0x4')]({'singleCharacters':!0x0}));if(0x0!=_0x743453['length'])for(const _0x598197 of _0x3420dd){const [_0x4c68a9,_0x4c2f9a]=_0x743453[0x0],[,_0x427868,_0x6df612]=_0x4c68a9['split'](':');if(_0x4c2f9a['end'][_0x4c81('0xcc')](_0x598197[_0x4c81('0x95')])&&_0x743453[_0x4c81('0x83')](),(_0x598197[_0x4c81('0xfe')][_0x4c81('0xcc')](_0x4c2f9a[_0x4c81('0xd4')])||_0x598197[_0x4c81('0xfe')]['isAfter'](_0x4c2f9a[_0x4c81('0xd4')]))&&(_0x4c81('0x9e')==_0x427868?_0x598197[_0x4c81('0x27')]={'userId':_0x6df612}:_0x4c81('0x100')==_0x427868&&(_0x598197[_0x4c81('0x5c')]={'userId':_0x6df612})),0x0==_0x743453[_0x4c81('0x119')])break;}return _0x3420dd;}[_0x4c81('0xe8')](_0x4dd413){const _0x159812=new Map();for(let _0x1195ff=0x0;_0x1195ff<_0x4dd413[_0x4c81('0x119')];_0x1195ff++)_0x4c81('0x4c')===_0x4dd413[_0x1195ff][_0x4c81('0x7')]?(_0x4dd413[_0x1195ff][_0x4c81('0x40')][_0x4c81('0xd3')]=_0x1195ff,_0x4dd413[_0x1195ff][_0x4c81('0x40')][_0x4c81('0x6c')]=_0x1195ff):(_0x4c81('0x28')===_0x4dd413[_0x1195ff][_0x4c81('0x7')]?_0x4dd413[_0x1195ff]['item'][_0x4c81('0xd3')]=_0x1195ff:_0x4c81('0xe9')===_0x4dd413[_0x1195ff][_0x4c81('0x7')]&&(_0x4dd413[_0x1195ff][_0x4c81('0x40')][_0x4c81('0x6c')]=_0x1195ff),_0x159812[_0x4c81('0xb0')](_0x4dd413[_0x1195ff]['id'],_0x1195ff));for(const _0x568a30 of _0x159812[_0x4c81('0x20')]())_0x4c81('0x28')===_0x4dd413[_0x568a30][_0x4c81('0x7')]?_0x4dd413[_0x568a30][_0x4c81('0x40')][_0x4c81('0x6c')]=_0x159812[_0x4c81('0xa9')](_0x4dd413[_0x568a30]['pairId']):_0x4c81('0xe9')===_0x4dd413[_0x568a30][_0x4c81('0x7')]&&(_0x4dd413[_0x568a30]['item']['startIndex']=_0x159812['get'](_0x4dd413[_0x568a30]['pairId']));}['_processTape'](_0x16395d){for(let _0x1f12bc=0x0;_0x1f12bc<_0x16395d[_0x4c81('0x119')];_0x1f12bc++){if('elementStart'===_0x16395d[_0x1f12bc]['type'])_0x16395d[_0x1f12bc]['item'][_0x4c81('0xd3')]=_0x1f12bc;else{if(_0x4c81('0xe9')===_0x16395d[_0x1f12bc][_0x4c81('0x7')]){_0x16395d[_0x1f12bc]['item'][_0x4c81('0x6c')]=_0x1f12bc;const _0x2cc6b4=_0x16395d[_0x1f12bc][_0x4c81('0x40')][_0x4c81('0xd3')];_0x16395d[_0x2cc6b4]['pairId']=_0x16395d[_0x1f12bc]['id'],_0x16395d[_0x1f12bc]['pairId']=_0x16395d[_0x2cc6b4]['id'];}else _0x16395d[_0x1f12bc][_0x4c81('0x40')][_0x4c81('0xd3')]=_0x1f12bc,_0x16395d[_0x1f12bc]['item'][_0x4c81('0x6c')]=_0x1f12bc,_0x16395d[_0x1f12bc]['pairId']=null;}_0x16395d[_0x1f12bc]['markersStart']||(_0x16395d[_0x1f12bc]['markersStart']=[],_0x16395d[_0x1f12bc][_0x4c81('0x19')]=[]);}}[_0x4c81('0x11')](_0x4993a4,_0x3e5c4c){const _0x5237a6=_0x4993a4[_0x4c81('0x33')](_0x160b4d=>!_0x160b4d[_0x4c81('0x27')]);for(let _0x12755b=0x0;_0x12755b<_0x3e5c4c['length'];_0x12755b++)_0x3e5c4c[_0x12755b]['isAdded']&&(_0x5237a6[_0x12755b][_0x4c81('0x27')]=_0x3e5c4c[_0x12755b][_0x4c81('0x27')]);}['_makeModelFromViewString'](_0x77caea){const _0x313c4e=JSON[_0x4c81('0x9')](_0x77caea),_0x5ec6aa=this[_0x4c81('0x8c')][_0x4c81('0x15')][_0x4c81('0x6a')][_0x4c81('0x3b')],_0x2b460f=new _0x4fdcff(_0x5ec6aa,_0x313c4e['map'](_0x47f00f=>this[_0x4c81('0x92')](_0x47f00f)));return this[_0x4c81('0x8c')]['data'][_0x4c81('0xca')](_0x2b460f);}[_0x4c81('0x92')](_0x1e64c9){const _0x1fa643=this[_0x4c81('0x8c')]['editing']['view'][_0x4c81('0x3b')];if(_0x4c81('0xcf')==typeof _0x1e64c9)return new _0x36b9f4(_0x1fa643,_0x1e64c9);{const _0x302762=_0x1e64c9['children'][_0x4c81('0xe5')](_0x441db9=>this[_0x4c81('0x92')](_0x441db9));return new(K[_0x1e64c9[(_0x4c81('0x7'))]]||_0x14b28)(_0x1fa643,_0x1e64c9[_0x4c81('0x112')],_0x1e64c9[_0x4c81('0xac')],_0x302762);}}['_getDiff'](_0x2cd289,_0x57a36a=null){const _0x2bdcac=this[_0x4c81('0xab')][_0x4c81('0x8')](_0x2cd289),_0x1ca120=_0x57a36a?this[_0x4c81('0xab')][_0x4c81('0x8')](_0x57a36a):null,_0x8d3a9=this[_0x4c81('0x3f')](_0x2bdcac,_0x1ca120),_0x3b0a20=_0x8d3a9[_0x8d3a9['length']-0x1],_0x20c75a=new Map();for(const _0x50dba1 of _0x8d3a9){_0x50dba1['model']={};for(const _0x142c2b of _0x50dba1['authors'])_0x20c75a['set'](_0x142c2b['id'],_0x142c2b);for(const _0x6f49b9 of this['editor']['model'][_0x4c81('0x3b')][_0x4c81('0x90')]())_0x50dba1['diffData'][_0x6f49b9]||(_0x50dba1['diffData'][_0x6f49b9]={'insertions':'[]','deletions':'[]'}),_0x50dba1[_0x4c81('0xe2')][_0x6f49b9]={'insertions':this[_0x4c81('0x37')](_0x50dba1['diffData'][_0x6f49b9]['insertions']),'deletions':this[_0x4c81('0x37')](_0x50dba1[_0x4c81('0x10a')][_0x6f49b9][_0x4c81('0x9f')])};}const _0x54ee4c={'model':{},'changes':[]};for(const _0x38b55e of this[_0x4c81('0x8c')][_0x4c81('0xe2')][_0x4c81('0x3b')][_0x4c81('0x90')]()){let _0x2cb630=null,_0x1db790=0x0;const _0x57f2ff=new Map(Array[_0x4c81('0x104')](_0x2bdcac[_0x4c81('0xe2')][_0x38b55e][_0x4c81('0x67')][_0x4c81('0xd1')])[_0x4c81('0x33')](([_0x4f6a40])=>!_0x4f6a40[_0x4c81('0xf2')](_0x4c81('0x3e'))));let _0x4b8804=0x0;for(const _0x4ba4b6 of _0x8d3a9){const _0x451b0e=this[_0x4c81('0x32')](_0x4ba4b6[_0x4c81('0xe2')][_0x38b55e][_0x4c81('0x67')]);_0x4ba4b6==_0x2bdcac?(_0x2cb630=_0x451b0e,_0x1db790=_0x2cb630[_0x4c81('0x119')],_0x2cb630[_0x4c81('0x11e')](_0xc911ae=>{_0xc911ae['id']=_0x4b8804++;}),this['_processTape'](_0x2cb630)):this[_0x4c81('0x11')](_0x2cb630,_0x451b0e);const _0x4e8d6c=_0x2cb630[_0x4c81('0x33')](_0x5461c2=>!_0x5461c2[_0x4c81('0x27')])[_0x4c81('0xe5')](_0x49a90e=>_0x49a90e['id']);let _0x2b961e=0x0;const _0x3dd2bd=this[_0x4c81('0x32')](_0x4ba4b6[_0x4c81('0xe2')][_0x38b55e][_0x4c81('0x9f')]);_0x3dd2bd[_0x4c81('0x11e')](_0x21438e=>{_0x21438e[_0x4c81('0x5c')]?_0x21438e['id']=_0x1db790++:_0x21438e['id']=_0x4e8d6c[_0x2b961e++];}),this[_0x4c81('0x1e')](_0x3dd2bd),this[_0x4c81('0x82')](_0x2cb630,_0x4c81('0x27')),this[_0x4c81('0x82')](_0x3dd2bd,_0x4c81('0x5c')),_0x4ba4b6==_0x2bdcac&&this[_0x4c81('0x8e')](_0x2cb630,_0x57f2ff),_0x2cb630=this['_joinTapes'](_0x2cb630,_0x3dd2bd),this[_0x4c81('0xe8')](_0x2cb630),this[_0x4c81('0x82')](_0x2cb630,_0x4c81('0x5c'));}_0x2cb630=_0x2cb630[_0x4c81('0x33')](_0x3bda48=>!(_0x3bda48[_0x4c81('0x27')]&&_0x3bda48[_0x4c81('0x5c')]));const _0x2516e8=new Map(_0x3b0a20['model'][_0x38b55e][_0x4c81('0x9f')][_0x4c81('0xd1')]),_0x393638=new Set(_0x57f2ff['keys']());for(const _0x846b82 of _0x2516e8[_0x4c81('0x70')]())_0x393638['delete'](_0x846b82);this[_0x4c81('0xec')](_0x2cb630,_0x393638),this[_0x4c81('0x5')](_0x2cb630),_0x2cb630=this['_removeMissingPairs'](_0x2cb630),_0x2cb630=this[_0x4c81('0x81')](_0x2cb630),_0x2cb630=this[_0x4c81('0xf9')](_0x2cb630);const {root:_0x8bf98d,changes:_0x4a6ad1}=this[_0x4c81('0x7c')](_0x2cb630,_0x20c75a);_0x54ee4c['model'][_0x38b55e]=_0x8bf98d,_0x54ee4c[_0x4c81('0x4f')]=_0x54ee4c[_0x4c81('0x4f')]['concat'](_0x4a6ad1);}return _0x54ee4c;}[_0x4c81('0x8e')](_0x44775b,_0x51f73a){for(let _0x467433=0x0;_0x467433<_0x44775b[_0x4c81('0x119')];_0x467433++)for(const [_0x176eca,_0x15083f]of _0x51f73a)_0x15083f[_0x4c81('0xd4')][_0x4c81('0xcc')](_0x44775b[_0x467433][_0x4c81('0xfe')])&&_0x44775b[_0x467433][_0x4c81('0xee')][_0x4c81('0xce')](_0x176eca),_0x15083f[_0x4c81('0x10f')][_0x4c81('0xcc')](_0x44775b[_0x467433]['nextPosition'])&&_0x44775b[_0x467433][_0x4c81('0x19')][_0x4c81('0xce')](_0x176eca);}[_0x4c81('0x42')](_0x6d33d8,_0x5800e0){let _0x43d2fd=[],_0x49141c=0x0,_0x34086=0x0;for(;_0x49141c<_0x6d33d8[_0x4c81('0x119')]||_0x34086<_0x5800e0[_0x4c81('0x119')];){const _0x4cbd18=_0x6d33d8[_0x49141c]||{},_0xfa277c=_0x5800e0[_0x34086]||{};if(_0x4cbd18['id']==_0xfa277c['id'])_0x49141c++,_0x34086++,_0x43d2fd[_0x4c81('0xce')](_0x4cbd18);else{if(_0xfa277c[_0x4c81('0x5c')]&&_0x4cbd18[_0x4c81('0x27')]){const {commonTape:_0x1f5cc5,iEnd:_0x495f9e,jEnd:_0x1b1f01}=this[_0x4c81('0xf')](_0x6d33d8,_0x49141c,_0x5800e0,_0x34086);_0x43d2fd=_0x43d2fd['concat'](_0x1f5cc5),_0x49141c=_0x495f9e,_0x34086=_0x1b1f01;}else _0xfa277c[_0x4c81('0x5c')]?(_0x34086++,_0x43d2fd[_0x4c81('0xce')](_0xfa277c)):(_0x49141c++,_0x43d2fd[_0x4c81('0xce')](_0x4cbd18));}}return _0x43d2fd;}[_0x4c81('0xec')](_0x256b09,_0x4f6884){const _0x493d33=[];for(let _0x69c3d5=0x0;_0x69c3d5<_0x256b09[_0x4c81('0x119')];_0x69c3d5++){for(let _0x586e4e=0x0;_0x586e4e<_0x256b09[_0x69c3d5]['markersStart'][_0x4c81('0x119')];_0x586e4e++){const _0x3943ee=_0x256b09[_0x69c3d5][_0x4c81('0xee')][_0x586e4e];if(!_0x4f6884['has'](_0x3943ee))continue;const {group:_0x338343,type:_0x3f4b06,authorId:_0x27fa85}=_0x3bea12(_0x3943ee);'revision-suggestion'!=_0x338343||_0x4c81('0x9e')!=_0x3f4b06&&_0x4c81('0x100')!=_0x3f4b06||(_0x493d33[_0x4c81('0x13')]({'type':_0x3f4b06,'name':_0x3943ee,'userId':_0x27fa85}),_0x256b09[_0x69c3d5][_0x4c81('0xee')][_0x4c81('0x62')](_0x586e4e,0x1),_0x586e4e--);}_0x19ca7f(_0x256b09[_0x69c3d5]);for(let _0x27d97a=0x0;_0x27d97a<_0x256b09[_0x69c3d5][_0x4c81('0x19')]['length'];_0x27d97a++){const _0xf66e55=_0x256b09[_0x69c3d5][_0x4c81('0x19')][_0x27d97a];if(!_0x4f6884[_0x4c81('0x11a')](_0xf66e55))continue;const {group:_0x1e9462,type:_0x1b5cfe}=_0x3bea12(_0xf66e55);if(_0x4c81('0x7e')!=_0x1e9462||_0x4c81('0x9e')!=_0x1b5cfe&&_0x4c81('0x100')!=_0x1b5cfe)continue;_0x256b09[_0x69c3d5][_0x4c81('0x19')]['splice'](_0x27d97a,0x1),_0x27d97a--;const _0x39a330=_0x493d33[_0x4c81('0x2')](_0x54db5c=>_0x54db5c['name']==_0xf66e55);_0x39a330>-0x1&&_0x493d33[_0x4c81('0x62')](_0x39a330,0x1);}}function _0x3bea12(_0x234ed0){const _0x377776=_0x234ed0[_0x4c81('0x117')](':');return{'group':_0x377776[0x0],'type':_0x377776[0x1],'subType':_0x377776[_0x4c81('0x119')]>=0x5?_0x377776[0x2]:null,'id':_0x377776[_0x4c81('0x119')]<0x5?_0x377776[0x2]:_0x377776[0x3],'authorId':_0x377776['length']<0x5?_0x377776[0x3]:_0x377776[0x4],'markerCount':0x6==_0x377776[_0x4c81('0x119')]?_0x377776[0x5]:null};}function _0x19ca7f(_0x1a4d15){for(let _0x236bf8=0x0;_0x236bf8<_0x493d33[_0x4c81('0x119')];_0x236bf8++){if(_0x1a4d15[_0x4c81('0x27')]&&'insertion'==_0x493d33[_0x236bf8]['type'])return _0x1a4d15[_0x4c81('0x51')]=_0x493d33[_0x236bf8],void delete _0x1a4d15[_0x4c81('0x27')];if(!_0x1a4d15[_0x4c81('0x27')]&&!_0x1a4d15[_0x4c81('0x5c')]&&'deletion'==_0x493d33[_0x236bf8][_0x4c81('0x7')])return void(_0x1a4d15[_0x4c81('0xb4')]=_0x493d33[_0x236bf8]);}}}['_setDistance'](_0x379c00,_0x1e05eb){let _0x3ab3aa=0x0,_0x562be0=!0x1;const _0x5b042b=new Map();for(const _0x23421e of _0x379c00)_0x23421e[_0x1e05eb]?_0x562be0&&(_0x3ab3aa++,_0x562be0=!0x1):(_0x3ab3aa++,_0x562be0=!0x0),_0x5b042b[_0x4c81('0xb0')](_0x23421e['id'],_0x3ab3aa);for(let _0x163467=0x0;_0x163467<_0x379c00['length'];_0x163467++){if('isRemoved'==_0x1e05eb&&_0x379c00[_0x163467][_0x4c81('0x27')]||'isAdded'==_0x1e05eb&&_0x379c00[_0x163467]['isRemoved'])continue;if('text'==_0x379c00[_0x163467]['type']){_0x379c00[_0x163467]['distance']=0x0;continue;}const _0x15d2c7=_0x5b042b[_0x4c81('0xa9')](_0x379c00[_0x163467][_0x4c81('0x108')]),_0x4cd76d=_0x5b042b['get'](_0x379c00[_0x163467]['id']);_0x379c00[_0x163467][_0x4c81('0x10b')]=_0x15d2c7-_0x4cd76d;}}[_0x4c81('0x3f')](_0x3919b4,_0x97db4f,_0x5ee737=!0x1){const _0x35fbca=[];let _0x2abe49=this[_0x4c81('0xab')]['getIndex'](_0x3919b4),_0x398ba3=this['repository'][_0x4c81('0x98')](_0x97db4f);for(-0x1==_0x398ba3&&(_0x398ba3=this[_0x4c81('0xab')][_0x4c81('0xe6')]['length'],_0x5ee737=!0x1);_0x2abe49<_0x398ba3;)_0x35fbca[_0x4c81('0xce')](this[_0x4c81('0xab')]['getRevision'](_0x2abe49)),_0x2abe49++;return _0x5ee737&&_0x35fbca[_0x4c81('0xce')](this[_0x4c81('0xab')][_0x4c81('0x8')](_0x2abe49)),_0x35fbca;}['_threeWayMerge'](_0x527cde,_0x469eb4,_0x2cc356,_0x136380){const _0x13599b=this[_0x4c81('0x8c')][_0x4c81('0xe2')][_0x4c81('0xa6')];let _0x1522ee=_0x469eb4;for(;_0x527cde[_0x1522ee]&&_0x527cde[_0x1522ee][_0x4c81('0x27')];)_0x1522ee++;let _0x5986a0=_0x136380;for(;_0x2cc356[_0x5986a0]&&_0x2cc356[_0x5986a0][_0x4c81('0x5c')];)_0x5986a0++;_0x3069f2(_0x527cde,_0x469eb4,_0x1522ee),_0x3069f2(_0x2cc356,_0x136380,_0x5986a0);const _0xf0d117=_0x2cc356[_0x4c81('0xbb')](_0x136380,_0x5986a0)[_0x4c81('0xbc')](_0x527cde[_0x4c81('0xbb')](_0x469eb4,_0x1522ee));return _0xf0d117[_0x4c81('0x44')]((_0x508958,_0x2b941b)=>_0x508958[_0x4c81('0x34')]!=_0x2b941b['side']?_0x508958['side']-_0x2b941b[_0x4c81('0x34')]:_0x508958[_0x4c81('0x72')]!=_0x2b941b[_0x4c81('0x72')]?_0x508958[_0x4c81('0x72')]-_0x2b941b[_0x4c81('0x72')]:_0x508958[_0x4c81('0x10b')]!=_0x2b941b[_0x4c81('0x10b')]?_0x2b941b[_0x4c81('0x10b')]-_0x508958[_0x4c81('0x10b')]:!!_0x508958['isAdded']!=!!_0x2b941b[_0x4c81('0x27')]?-0x1==_0x508958[_0x4c81('0x34')]||0x0==_0x508958[_0x4c81('0x34')]?_0x508958[_0x4c81('0x27')]?-0x1:0x1:_0x508958[_0x4c81('0x27')]?0x1:-0x1:_0x508958[_0x4c81('0xe4')]-_0x2b941b['index']),{'commonTape':_0xf0d117,'iEnd':_0x1522ee,'jEnd':_0x5986a0};function _0x3069f2(_0x2604aa,_0x25f514,_0x555f6f){let _0x619b31=-0x1,_0x21821b=Number[_0x4c81('0xc0')],_0x215c09=!0x0;for(let _0x481170=_0x25f514;_0x481170<_0x555f6f;_0x481170++)if(_0x13599b[_0x4c81('0xc2')](_0x2604aa[_0x481170][_0x4c81('0x40')])||(_0x215c09=!0x1),_0x2604aa[_0x481170][_0x4c81('0x40')][_0x4c81('0xd3')]<_0x25f514&&(_0x619b31=_0x481170),_0x2604aa[_0x481170][_0x4c81('0x40')]['endIndex']>=_0x555f6f){_0x21821b=_0x481170;break;}_0x215c09&&(_0x619b31=_0x555f6f-0x1);for(let _0x38780f=_0x25f514;_0x38780f<_0x555f6f;_0x38780f++)_0x2604aa[_0x38780f]['side']=_0x38780f<=_0x619b31?-0x1:_0x38780f<_0x21821b?0x0:0x1,_0x2604aa[_0x38780f]['index']=_0x38780f;let _0x49d902=0x0;for(let _0xf691ad=_0x25f514;_0xf691ad<=_0x619b31;_0xf691ad++)0x0==_0x2604aa[_0xf691ad][_0x4c81('0x10b')]?_0x2604aa[_0xf691ad][_0x4c81('0x72')]=_0x49d902:(_0x49d902++,_0x2604aa[_0xf691ad][_0x4c81('0x72')]=_0x49d902,_0x49d902++);for(let _0x5e0e6c=_0x25f514;_0x5e0e6c<_0x555f6f;_0x5e0e6c++)0x0==_0x2604aa[_0x5e0e6c][_0x4c81('0x34')]&&(_0x2604aa[_0x5e0e6c]['level']=_0x49d902);_0x49d902=0x0;for(let _0x37035c=_0x555f6f-0x1;_0x37035c>=_0x21821b;_0x37035c--)0x0==_0x2604aa[_0x37035c]['distance']?_0x2604aa[_0x37035c][_0x4c81('0x72')]=_0x49d902:(_0x49d902--,_0x2604aa[_0x37035c][_0x4c81('0x72')]=_0x49d902,_0x49d902--);}}[_0x4c81('0x5')](_0x4de36a){const _0x6dca3f=new Map(),_0x38031e=this['editor'][_0x4c81('0xe2')][_0x4c81('0xa6')];for(let _0x589ab0=0x1;_0x589ab0<_0x4de36a['length'];_0x589ab0++){let _0x1db6f0,_0x271b57,_0xcd2ce9;const _0x3b9289=_0x4de36a[_0x589ab0],_0x5d09e7=_0x4de36a[_0x589ab0-0x1];if(_0x4c81('0x4c')==_0x3b9289[_0x4c81('0x7')])continue;if(_0x3b9289[_0x4c81('0x7')]!=_0x5d09e7['type'])continue;if(!_0x38031e[_0x4c81('0x10')](_0x5d09e7[_0x4c81('0x40')])||_0x38031e[_0x4c81('0x58')](_0x5d09e7[_0x4c81('0x40')]))continue;if(!_0x38031e['isBlock'](_0x3b9289['item'])||_0x38031e[_0x4c81('0x58')](_0x3b9289[_0x4c81('0x40')]))continue;if((_0x4de36a[_0x589ab0][_0x4c81('0x27')]||_0x4de36a[_0x589ab0][_0x4c81('0x51')])&&_0x4de36a[_0x589ab0-0x1][_0x4c81('0x5c')])_0x1db6f0=_0x4de36a[_0x589ab0],_0x271b57=_0x4de36a[_0x589ab0-0x1],_0xcd2ce9=_0x589ab0-0x1;else{if(!_0x4de36a[_0x589ab0][_0x4c81('0x5c')]||!_0x4de36a[_0x589ab0-0x1][_0x4c81('0x27')]&&!_0x4de36a[_0x589ab0-0x1]['isAddSuggestion'])continue;_0x1db6f0=_0x4de36a[_0x589ab0-0x1],_0x271b57=_0x4de36a[_0x589ab0],_0xcd2ce9=_0x589ab0;}const _0x2eb99e=_0x1db6f0[_0x4c81('0x72')]==_0x271b57['level'],_0x6de302=Math['abs'](_0x1db6f0[_0x4c81('0x72')])<Math[_0x4c81('0x10c')](_0x271b57[_0x4c81('0x72')])&&0x0==_0x271b57[_0x4c81('0x10b')];(_0x2eb99e||_0x6de302)&&(_0x6dca3f['set'](_0x271b57['id'],_0x1db6f0['id']),_0x4de36a['splice'](_0xcd2ce9,0x1),_0x589ab0--,_0x1db6f0[_0x4c81('0x27')]=!0x1);}for(let _0x1601d7=0x0;_0x1601d7<_0x4de36a[_0x4c81('0x119')];_0x1601d7++)_0x6dca3f['has'](_0x4de36a[_0x1601d7]['pairId'])&&(_0x4de36a[_0x1601d7][_0x4c81('0x108')]=_0x6dca3f['get'](_0x4de36a[_0x1601d7][_0x4c81('0x108')]));}['_removeMissingPairs'](_0x4d3db2){const _0x11746a=new Set(_0x4d3db2['map'](_0x180cb9=>_0x180cb9['id']));for(let _0x1c8d1f=0x0;_0x1c8d1f<_0x4d3db2[_0x4c81('0x119')];_0x1c8d1f++)_0x11746a[_0x4c81('0x11a')](_0x4d3db2[_0x1c8d1f][_0x4c81('0x108')])||0x0==_0x4d3db2[_0x1c8d1f][_0x4c81('0x10b')]||(_0x4d3db2[_0x1c8d1f][_0x4c81('0x3c')]=!0x0);return _0x4d3db2[_0x4c81('0x33')](_0x245677=>!_0x245677[_0x4c81('0x3c')]);}['_markMismatchedRemovedTags'](_0x20aff2){const _0x43f039=new Set();for(let _0x52a6d1=0x0;_0x52a6d1<_0x20aff2[_0x4c81('0x119')];_0x52a6d1++){if(_0x43f039['has'](_0x20aff2[_0x52a6d1]['id'])&&_0x20aff2[_0x52a6d1][_0x4c81('0x5c')]&&(_0x20aff2[_0x52a6d1]['isIncorrect']=!0x0),_0x20aff2[_0x52a6d1][_0x4c81('0x3c')])continue;if(0x0==_0x20aff2[_0x52a6d1][_0x4c81('0x10b')])continue;if(_0x4c81('0x28')!=_0x20aff2[_0x52a6d1][_0x4c81('0x7')])continue;if(null==_0x20aff2[_0x52a6d1][_0x4c81('0x108')])continue;let _0x41c0ce=_0x52a6d1+0x1,_0x44d6dc=0x0;for(;_0x20aff2[_0x41c0ce]['id']!=_0x20aff2[_0x52a6d1]['pairId'];)'elementStart'==_0x20aff2[_0x41c0ce][_0x4c81('0x7')]?_0x44d6dc++:'elementEnd'==_0x20aff2[_0x41c0ce][_0x4c81('0x7')]&&_0x44d6dc--,_0x41c0ce++;if(0x0!=_0x44d6dc){if(_0x20aff2[_0x52a6d1][_0x4c81('0x5c')])_0x20aff2[_0x52a6d1][_0x4c81('0x3c')]=!0x0;else for(;_0x41c0ce!=_0x52a6d1;)_0x20aff2[_0x41c0ce][_0x4c81('0x5c')]&&0x0!=_0x20aff2[_0x41c0ce][_0x4c81('0x10b')]&&(_0x20aff2[_0x41c0ce]['isIncorrect']=!0x0,_0x43f039[_0x4c81('0x68')](_0x20aff2[_0x41c0ce]['pairId'])),_0x41c0ce--;}}return _0x20aff2[_0x4c81('0x33')](_0x3581f9=>!_0x3581f9[_0x4c81('0x3c')]);}[_0x4c81('0xf9')](_0x529bcb){const _0xd8303b=this[_0x4c81('0x8c')][_0x4c81('0xe2')]['schema'];for(let _0x218211=0x0;_0x218211<_0x529bcb[_0x4c81('0x119')];_0x218211++){if(!(_0x529bcb[_0x218211][_0x4c81('0x27')]||_0x529bcb[_0x218211][_0x4c81('0x51')]||_0x529bcb[_0x218211][_0x4c81('0x5c')]||_0x529bcb[_0x218211][_0x4c81('0xb4')]))continue;if(0x0==_0x529bcb[_0x218211]['distance'])continue;const _0x500867=_0x529bcb[_0x218211][_0x4c81('0x40')];_0xd8303b[_0x4c81('0x10')](_0x500867)||_0xd8303b['isLimit'](_0x500867)||(_0x529bcb[_0x218211][_0x4c81('0x27')]&&delete _0x529bcb[_0x218211][_0x4c81('0x27')],_0x529bcb[_0x218211]['isAddSuggestion']&&delete _0x529bcb[_0x218211][_0x4c81('0x51')],_0x529bcb[_0x218211]['isRemoveSuggestion']&&delete _0x529bcb[_0x218211]['isRemoveSuggestion'],_0x529bcb[_0x218211][_0x4c81('0x5c')]&&(_0x529bcb[_0x218211]['isIncorrect']=!0x0));}return _0x529bcb[_0x4c81('0x33')](_0x229e07=>!_0x229e07['isIncorrect']);}[_0x4c81('0x7c')](_0x1148a1,_0x466c5d){const _0x13c9e3=new _0x21cf73(),_0x1adbac=[],_0x2b7795=new Map(),_0xc381cf=this[_0x4c81('0x8c')][_0x4c81('0xe2')],_0xc1442=_0xc381cf[_0x4c81('0xa6')],_0x59ffa8=[_0x13c9e3],_0x315888={},_0x326ede={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5c3271=null;const _0x472316=[0x0];for(let _0x34790a=0x0;_0x34790a<_0x1148a1['length'];_0x34790a++){let _0x113f41,_0x53471e;if(_0x4c81('0x28')===_0x1148a1[_0x34790a][_0x4c81('0x7')]){_0x113f41=_0xc381cf[_0x4c81('0x87')](_0x13c9e3,_0x472316);const _0x3916c7=new _0x298d33(_0x1148a1[_0x34790a]['item'][_0x4c81('0x112')],_0x1148a1[_0x34790a][_0x4c81('0x40')][_0x4c81('0xeb')]());_0x59ffa8[0x0][_0x4c81('0xb3')](_0x3916c7),_0x472316[_0x4c81('0xce')](0x0),_0x59ffa8[_0x4c81('0x13')](_0x3916c7),_0x53471e=_0xc381cf[_0x4c81('0x87')](_0x13c9e3,_0x472316),_0x5c3271=null;}else{if(_0x4c81('0xe9')===_0x1148a1[_0x34790a][_0x4c81('0x7')])_0x59ffa8[_0x4c81('0x83')](),_0x113f41=_0xc381cf[_0x4c81('0x87')](_0x13c9e3,_0x472316),_0x472316[_0x4c81('0x38')](),_0x472316[_0x472316[_0x4c81('0x119')]-0x1]++,_0x53471e=_0xc381cf[_0x4c81('0x87')](_0x13c9e3,_0x472316),_0x5c3271=null;else{if(_0x113f41=_0xc381cf['createPositionFromPath'](_0x13c9e3,_0x472316),_0x5c3271&&_0x41a60c(_0x5c3271,_0x1148a1[_0x34790a][_0x4c81('0x40')]))_0x5c3271[_0x4c81('0x115')]+=_0x1148a1[_0x34790a][_0x4c81('0x40')][_0x4c81('0xbe')];else{const _0x465f6b=new _0x399eed(_0x1148a1[_0x34790a][_0x4c81('0x40')][_0x4c81('0xbe')],_0x1148a1[_0x34790a][_0x4c81('0x40')][_0x4c81('0xeb')]());_0x59ffa8[0x0][_0x4c81('0xb3')](_0x465f6b),_0x5c3271=_0x465f6b;}_0x472316[_0x472316[_0x4c81('0x119')]-0x1]+=_0x1148a1[_0x34790a][_0x4c81('0x40')][_0x4c81('0x116')],_0x53471e=_0xc381cf[_0x4c81('0x87')](_0x13c9e3,_0x472316);}}for(const _0x159d10 of _0x1148a1[_0x34790a][_0x4c81('0xee')])_0x2b7795['set'](_0x159d10,{'start':_0x113f41,'end':null});_0x305ff6(_0x4c81('0xb4'),_0x34790a,_0x113f41,_0x53471e),_0x305ff6('isAddSuggestion',_0x34790a,_0x113f41,_0x53471e),_0x305ff6(_0x4c81('0x5c'),_0x34790a,_0x113f41,_0x53471e),_0x305ff6(_0x4c81('0x27'),_0x34790a,_0x113f41,_0x53471e);for(const _0x42eda8 of _0x1148a1[_0x34790a][_0x4c81('0x19')]){_0x2b7795[_0x4c81('0xa9')](_0x42eda8)[_0x4c81('0x10f')]=_0x53471e;}}for(const [_0x5e4e79,_0x11cd59]of _0x2b7795){const _0x57ab3a=this[_0x4c81('0x8c')][_0x4c81('0xe2')][_0x4c81('0xb9')](_0x11cd59[_0x4c81('0xd4')],_0x11cd59[_0x4c81('0x10f')]);_0x13c9e3[_0x4c81('0xd1')][_0x4c81('0xb0')](_0x5e4e79,_0x57ab3a);}return _0x1adbac['sort']((_0x4a600a,_0x44995e)=>{const _0x4d155f=_0x13c9e3[_0x4c81('0xd1')][_0x4c81('0xa9')](_0x4c81('0x3e')+_0x4a600a['id']),_0xcb379b=_0x13c9e3[_0x4c81('0xd1')]['get'](_0x4c81('0x3e')+_0x44995e['id']);return _0x4d155f['start']['isBefore'](_0xcb379b['start'])?-0x1:_0x4d155f[_0x4c81('0xd4')][_0x4c81('0xc9')](_0xcb379b[_0x4c81('0xd4')])?0x1:_0x4d155f['end'][_0x4c81('0x69')](_0xcb379b[_0x4c81('0x10f')])?-0x1:_0x4d155f[_0x4c81('0x10f')][_0x4c81('0xc9')](_0xcb379b[_0x4c81('0x10f')])?0x1:_0x4c81('0x68')===_0x4a600a['type']?-0x1:0x1;}),{'root':_0x13c9e3,'changes':_0x1adbac};function _0x305ff6(_0xecf6a,_0x57c7da,_0x128b36,_0x3dc0b8){const _0x444c74=!!_0x1148a1[_0x57c7da][_0xecf6a],_0x342a3f=_0x444c74?_0x1148a1[_0x57c7da][_0xecf6a]['userId']:null,_0x541e74=_0x57c7da===_0x1148a1[_0x4c81('0x119')]-0x1,_0x35f6be=_0x326ede[_0xecf6a][0x0],_0xe40381=_0xc1442[_0x4c81('0xdd')](_0x1148a1[_0x57c7da][_0x4c81('0x40')]);!_0x315888[_0xecf6a]&&_0x444c74?_0x315888[_0xecf6a]={'start':_0x128b36,'tapeItem':_0x1148a1[_0x57c7da],'userId':_0x342a3f,'type':_0xecf6a}:_0x315888[_0xecf6a]&&!_0x444c74?(_0x315888[_0xecf6a][_0x4c81('0x10f')]=_0x128b36,_0x22b1b0(_0x315888[_0xecf6a]),_0x315888[_0xecf6a]=null):_0x315888[_0xecf6a]&&_0x444c74&&_0x315888[_0xecf6a][_0x4c81('0xa0')]!==_0x342a3f&&(_0x315888[_0xecf6a][_0x4c81('0x10f')]=_0x128b36,_0x35f6be&&_0x35f6be[_0x4c81('0xa0')]===_0x315888[_0xecf6a][_0x4c81('0xa0')]||_0x22b1b0(_0x315888[_0xecf6a]),_0x315888[_0xecf6a]={'start':_0x128b36,'tapeItem':_0x1148a1[_0x57c7da],'userId':_0x342a3f,'type':_0xecf6a}),_0x315888[_0xecf6a]&&_0xe40381&&(_0x4c81('0x28')!==_0x1148a1[_0x57c7da][_0x4c81('0x7')]||_0x35f6be&&_0x35f6be[_0x4c81('0xa0')]===_0x342a3f||_0x326ede[_0xecf6a][_0x4c81('0x13')]({'userId':_0x342a3f,'object':_0x1148a1[_0x57c7da]['item'],'change':_0x315888[_0xecf6a]}),'elementEnd'===_0x1148a1[_0x57c7da][_0x4c81('0x7')]&&_0x35f6be&&_0x35f6be[_0x4c81('0x1d')]===_0x1148a1[_0x57c7da][_0x4c81('0x40')]&&(_0x326ede[_0xecf6a][_0x4c81('0x83')](),_0x315888[_0xecf6a]=_0x35f6be[_0x4c81('0x1c')])),_0x315888[_0xecf6a]&&_0x541e74&&(_0x315888[_0xecf6a][_0x4c81('0x10f')]=_0x3dc0b8,_0x22b1b0(_0x315888[_0xecf6a]),_0x315888[_0xecf6a]=null);}function _0x22b1b0({start:_0x5a7a91,end:_0x2d372f,tapeItem:_0x158fbe,userId:_0x55bd23,type:_0xe34c88}){const _0x372d20=_0x158fbe[_0x4c81('0x40')],_0x4af318=_0xc381cf['schema'][_0x4c81('0x10')](_0x372d20)&&!_0xc381cf[_0x4c81('0xa6')][_0x4c81('0x58')](_0x372d20),_0x58e323=_0x5a7a91[_0x4c81('0xf5')]==_0x2d372f[_0x4c81('0x61')]&&_0x2d372f[_0x4c81('0xa5')];if(_0x4af318&&_0x58e323)return;const _0x1369b1=_0xc381cf[_0x4c81('0xb9')](_0x5a7a91,_0x2d372f),_0x352399=_0x466c5d[_0x4c81('0xa9')](_0x55bd23),_0x45a1a3=new _0x259e28({'author':_0x352399,'type':_0x4c81('0x27')==_0xe34c88||_0x4c81('0x51')==_0xe34c88?'add':_0x4c81('0x118'),'data':{'isSuggestion':_0x4c81('0x51')==_0xe34c88||_0x4c81('0xb4')==_0xe34c88},'createdAt':new Date()});_0x1adbac[_0x4c81('0xce')](_0x45a1a3),_0x13c9e3[_0x4c81('0xd1')][_0x4c81('0xb0')]('revision:'+_0x45a1a3['id'],_0x1369b1);}function _0x41a60c(_0x16bebe,_0x37ab8a){const _0x4e627e=_0x16bebe['getAttributes'](),_0x20e545=_0x37ab8a[_0x4c81('0xeb')]();for(const _0x59fda7 of _0x4e627e){if(_0x59fda7[0x1]!==_0x37ab8a[_0x4c81('0xf6')](_0x59fda7[0x0]))return!0x1;_0x20e545['next']();}return _0x20e545[_0x4c81('0x3')]()[_0x4c81('0xa7')];}}[_0x4c81('0xde')](){this[_0x4c81('0x8c')][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0xa3'))['dataToMarker']({'view':'revision'}),this[_0x4c81('0x8c')]['conversion']['for']('editingDowncast')[_0x4c81('0xea')]({'model':_0x4c81('0x71'),'view':_0xe6a352=>{const _0x173481=_0xe6a352[_0x4c81('0x11c')][_0x4c81('0x117')](':')[0x1],_0x24a41c=this['_getChangeFromId'](_0x173481);if(!_0x24a41c)return null;const _0x2307cb=_0x4c81('0x68')==_0x24a41c['type']?'insertion':_0x4c81('0x100'),_0x2fd456=[_0x4c81('0xba'),_0x4c81('0x11d')+_0x2307cb];return _0x24a41c[_0x4c81('0xbe')][_0x4c81('0x10d')]&&_0x2fd456[_0x4c81('0xce')](_0x4c81('0x11d')+_0x2307cb+_0x4c81('0xa')),this[_0x4c81('0x109')]==_0x24a41c&&_0x2fd456[_0x4c81('0xce')](_0x4c81('0xa4')),{'classes':_0x2fd456,'attributes':{'data-change-id':_0x173481}};}}),this[_0x4c81('0x8c')][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0xa3'))[_0x4c81('0x68')](_0x1ede89=>{_0x1ede89['on'](_0x4c81('0x53'),(_0x15e466,_0x4e4e96,_0x294126)=>{const _0x5f38c3=_0x4e4e96['viewItem'][_0x4c81('0x55')](0x0);if(!_0x5f38c3||!_0x5f38c3['is'](_0x4c81('0xd9'),_0x4c81('0x80')))return;if(!_0x294126[_0x4c81('0x8b')][_0x4c81('0x24')](_0x5f38c3,{'attributes':['vid_start',_0x4c81('0x52')]}))return;const _0x3b2a6f=_0x4e4e96['modelRange'][_0x4c81('0xd4')][_0x4c81('0xf5')];_0x294126[_0x4c81('0xfc')]['setAttribute'](_0x4c81('0xd6'),_0x5f38c3[_0x4c81('0xf6')](_0x4c81('0xd6')),_0x3b2a6f),_0x294126[_0x4c81('0xfc')][_0x4c81('0x73')](_0x4c81('0x52'),_0x5f38c3[_0x4c81('0xf6')]('vid_end'),_0x3b2a6f);},{'priority':_0x4c81('0x11f')});}),this['editor'][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0xa3'))[_0x4c81('0x68')](_0x39004a=>{_0x39004a['on'](_0x4c81('0xd9'),(_0x395e7d,_0x22b234,_0x35c7c3)=>{if(!_0x35c7c3[_0x4c81('0x8b')][_0x4c81('0x24')](_0x22b234[_0x4c81('0xe1')],{'attributes':[_0x4c81('0xd6'),_0x4c81('0x52')]}))return;if(_0x22b234[_0x4c81('0x16')][_0x4c81('0x2e')])return;const _0x34a8b8=_0x22b234[_0x4c81('0x16')][_0x4c81('0xd4')][_0x4c81('0xf5')];_0x34a8b8['hasAttribute'](_0x4c81('0xd6'))||_0x34a8b8[_0x4c81('0x94')](_0x4c81('0x88'))||(_0x35c7c3[_0x4c81('0xfc')]['setAttribute'](_0x4c81('0xd6'),_0x22b234[_0x4c81('0xe1')][_0x4c81('0xf6')]('vid_start'),_0x34a8b8),_0x35c7c3[_0x4c81('0xfc')]['setAttribute'](_0x4c81('0x52'),_0x22b234['viewItem'][_0x4c81('0xf6')]('vid_end'),_0x34a8b8));},{'priority':_0x4c81('0x11f')});}),this[_0x4c81('0x8c')][_0x4c81('0x54')]['for'](_0x4c81('0xa3'))[_0x4c81('0x60')]({'view':{'name':_0x4c81('0x65'),'attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3a4d72=>_0x3a4d72[_0x4c81('0xf6')](_0x4c81('0x88'))}}),this[_0x4c81('0x8c')][_0x4c81('0xe2')][_0x4c81('0xa6')]['on'](_0x4c81('0x17'),(_0x32981f,[,_0xd69d78])=>{[_0x4c81('0xd6'),_0x4c81('0x52'),'vid'][_0x4c81('0xff')](_0xd69d78)&&(_0x32981f[_0x4c81('0x1b')]=!0x0,_0x32981f[_0x4c81('0x89')]());},{'priority':_0x4c81('0x46')}),this['editor'][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0x2b'))['add'](_0x3a964a=>{_0x3a964a['on']('attribute:vid',(_0x47007a,_0x37d8cc,_0x30e00f)=>{if('\x20'!=_0x37d8cc['item'][_0x4c81('0xbe')]||_0x37d8cc[_0x4c81('0x40')]['parent']['maxOffset']>0x1)return;if(!_0x30e00f[_0x4c81('0x8b')]['consume'](_0x37d8cc[_0x4c81('0x40')],_0x47007a[_0x4c81('0x112')]))return;const _0x34090c=_0x30e00f[_0x4c81('0xfc')],_0x5be38e=_0x30e00f[_0x4c81('0x105')][_0x4c81('0xf4')](_0x37d8cc['range']);_0x34090c[_0x4c81('0xc7')](_0x5be38e,_0x34090c['createAttributeElement']('span'));});}),this[_0x4c81('0x8c')][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0x2b'))[_0x4c81('0xa2')]({'model':_0x4c81('0x71')}),this['editor'][_0x4c81('0x15')][_0x4c81('0x4b')]['on'](_0x4c81('0x1'),function(_0x3c9f72){const _0x389e93=_0x3c9f72[_0x4c81('0xa1')][_0x4c81('0xa9')](_0x4c81('0x7d'));return(_0x2a00c9,_0x518b0e,_0x400963)=>{const _0x594f0a=_0x518b0e[_0x4c81('0x11c')][_0x4c81('0x117')](':')[0x1],_0x19317a=_0x389e93[_0x4c81('0x5a')](_0x594f0a);if(!_0x19317a)return null;const _0x4d9bfb=_0x4c81('0x68')==_0x19317a[_0x4c81('0x7')]?'split':'merge';if(!_0x400963[_0x4c81('0x8b')][_0x4c81('0x21')](_0x518b0e[_0x4c81('0xc8')],_0x2a00c9[_0x4c81('0x112')]))return;const _0x348861=_0x518b0e['markerRange'][_0x4c81('0x4')](),_0x1533b9=_0x518b0e['markerRange'][_0x4c81('0xd4')],_0x1d2c64=_0x3c9f72[_0x4c81('0xe2')][_0x4c81('0xa6')];let _0x33f55c=null,_0x20f5bd=null,_0x35299b=!0x1,_0x3a01a2=!0x1;for(const _0x396d87 of _0x348861){const _0xc03f8d=_0x396d87[_0x4c81('0x40')];_0x35299b=_0x35299b||_0x1d2c64[_0x4c81('0x103')](_0xc03f8d);const _0x1070ee=_0x400963[_0x4c81('0x105')][_0x4c81('0xef')](_0xc03f8d);if(_0x1070ee&&_0x1070ee[_0x4c81('0x6e')](_0x4c81('0x63')))return;'elementEnd'==_0x396d87[_0x4c81('0x7')]&&(_0x1d2c64[_0x4c81('0x10')](_0xc03f8d)&&!_0x1d2c64[_0x4c81('0x58')](_0xc03f8d)&&(_0xc03f8d[_0x4c81('0x4a')]||_0x1533b9['isAtEnd']?_0x33f55c&&_0x33f55c[_0x4c81('0x61')]==_0xc03f8d||(_0x33f55c=_0xc03f8d,_0x40fea2(_0x396d87[_0x4c81('0xfe')]),_0x3a01a2=!0x0):_0x20f5bd=_0x20f5bd||_0x396d87[_0x4c81('0xfe')]));}function _0x40fea2(_0x4fdf16){const _0x2c9d7e=_0x400963['writer'][_0x4c81('0x14')](_0x4c81('0x65'),{'class':_0x4c81('0x11d')+_0x4d9bfb}),_0x1bdcf9=_0x400963[_0x4c81('0x105')]['toViewPosition'](_0x4fdf16);_0x19317a['data'][_0x4c81('0x10d')]&&_0x400963[_0x4c81('0xfc')][_0x4c81('0x57')](_0x4c81('0x11d')+_0x4d9bfb+'-new',_0x2c9d7e),_0x389e93['activeChange']==_0x19317a&&_0x400963[_0x4c81('0xfc')][_0x4c81('0x57')](_0x4c81('0xa4'),_0x2c9d7e),_0x400963[_0x4c81('0xfc')]['insert'](_0x1bdcf9,_0x2c9d7e),_0x400963[_0x4c81('0x105')][_0x4c81('0x50')](_0x2c9d7e,_0x518b0e[_0x4c81('0x11c')]);}_0x35299b||_0x3a01a2||!_0x20f5bd||_0x40fea2(_0x20f5bd);};}(this[_0x4c81('0x8c')]),{'priority':_0x4c81('0xb7')}),this[_0x4c81('0x8c')][_0x4c81('0x15')][_0x4c81('0x4b')]['on'](_0x4c81('0x31'),(_0x27990f,_0x15d469,_0x2a4ff9)=>{const _0x33974c=_0x2a4ff9[_0x4c81('0x105')][_0x4c81('0xb8')](_0x15d469[_0x4c81('0x11c')]);if(_0x33974c)for(const _0xca7e58 of _0x33974c)(_0xca7e58[_0x4c81('0x29')](_0x4c81('0xd8'))||_0xca7e58['hasClass']('ck-suggestion-marker-merge'))&&(_0x2a4ff9[_0x4c81('0x105')][_0x4c81('0x59')](_0xca7e58,_0x15d469[_0x4c81('0x11c')]),_0x2a4ff9[_0x4c81('0xfc')]['remove'](_0xca7e58));},{'priority':_0x4c81('0xb7')}),this['editor'][_0x4c81('0x15')][_0x4c81('0x4b')]['on'](_0x4c81('0x1'),(_0x2794d0,_0x12b224,_0x2a0f17)=>{const _0x29cc57=_0x12b224[_0x4c81('0x11c')][_0x4c81('0x117')](':')[0x1],_0x5a7ad0=this['_getChangeFromId'](_0x29cc57);if(!_0x5a7ad0)return null;const _0x5ad24e=_0x4c81('0x68')==_0x5a7ad0['type']?_0x4c81('0x117'):_0x4c81('0xe3');if(_0x2a0f17[_0x4c81('0x8b')][_0x4c81('0x21')](_0x12b224[_0x4c81('0xc8')],_0x2794d0[_0x4c81('0x112')]))for(const _0x586a51 of _0x12b224['markerRange'][_0x4c81('0x5d')]()){if(!_0x586a51['is'](_0x4c81('0xd9'),_0x4c81('0x96')))continue;const _0x22d7bc=_0x2a0f17[_0x4c81('0xfc')]['createUIElement'](_0x4c81('0x65'),{'class':_0x4c81('0x11d')+_0x5ad24e}),_0xa3a489=_0x2a0f17[_0x4c81('0x105')][_0x4c81('0xc')](this[_0x4c81('0x8c')][_0x4c81('0xe2')][_0x4c81('0x4d')](_0x586a51));_0x5a7ad0['data'][_0x4c81('0x10d')]&&_0x2a0f17[_0x4c81('0xfc')][_0x4c81('0x57')](_0x4c81('0x11d')+_0x5ad24e+_0x4c81('0xa'),_0x22d7bc),this[_0x4c81('0x109')]==_0x5a7ad0&&_0x2a0f17[_0x4c81('0xfc')][_0x4c81('0x57')]('ck-suggestion-marker--active',_0x22d7bc),_0x2a0f17[_0x4c81('0xfc')][_0x4c81('0x25')](_0xa3a489,_0x22d7bc),_0x2a0f17[_0x4c81('0x105')][_0x4c81('0x50')](_0x22d7bc,_0x12b224[_0x4c81('0x11c')]);}},{'priority':_0x4c81('0xb7')}),this['editor'][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0xa3'))['dataToMarker']({'view':_0x4c81('0xdb'),'model':_0x112349=>_0x4c81('0x97')+_0x112349,'converterPriority':_0x4c81('0x46')}),this[_0x4c81('0x8c')][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0xa3'))[_0x4c81('0xf8')]({'view':_0x4c81('0xda'),'model':_0x421708=>_0x4c81('0x101')+_0x421708,'converterPriority':'highest'}),this[_0x4c81('0x8c')][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0x2b'))[_0x4c81('0xa2')]({'model':_0x4c81('0x7e'),'view':_0x266c07=>({'name':_0x4c81('0x9a')+_0x266c07,'group':_0x4c81('0x7e')}),'converterPriority':_0x4c81('0x46')}),this[_0x4c81('0x8c')][_0x4c81('0x54')][_0x4c81('0x23')](_0x4c81('0xf7'))[_0x4c81('0xea')]({'model':_0x4c81('0x7e'),'view':_0x387d39=>{const _0x2b6546=_0x387d39['markerName']['split'](':')[0x1];return _0x4c81('0x9e')!=_0x2b6546&&_0x4c81('0x100')!=_0x2b6546?null:{'classes':[_0x4c81('0x85'),'ck-suggestion-preview-marker-'+_0x2b6546]};}}),this[_0x4c81('0x8c')][_0x4c81('0x15')][_0x4c81('0x4b')]['on'](_0x4c81('0x114'),Q(this[_0x4c81('0x8c')],_0x4c81('0xe3')),{'priority':_0x4c81('0xb7')}),this[_0x4c81('0x8c')][_0x4c81('0x15')][_0x4c81('0x4b')]['on'](_0x4c81('0x7a'),Q(this[_0x4c81('0x8c')],_0x4c81('0x117')),{'priority':'high'}),this['editor'][_0x4c81('0x15')]['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x10e83b,_0x344291,_0x479f4f)=>{const _0x82c925=_0x479f4f[_0x4c81('0x105')][_0x4c81('0xb8')](_0x344291[_0x4c81('0x11c')]);if(_0x82c925)for(const _0x4c4141 of _0x82c925)_0x4c4141['is']('uiElement')&&(_0x479f4f['mapper']['unbindElementFromMarkerName'](_0x4c4141,_0x344291[_0x4c81('0x11c')]),_0x479f4f[_0x4c81('0xfc')]['remove'](_0x4c4141));},{'priority':'high'});}[_0x4c81('0x5a')](_0xc46e6a){return this['_changeIdToChange'][_0x4c81('0xa9')](_0xc46e6a);}[_0x4c81('0x9d')](_0x3e2eb6){return this['_changeView']&&this[_0x4c81('0x26')][_0x4c81('0x18')](),this['_changeView']=new _0x50847a(this['editor']['locale'],_0x3e2eb6),this['_changeView'];}[_0x4c81('0x107')](){this[_0x4c81('0x8c')][_0x4c81('0xe2')][_0x4c81('0x3b')][_0x4c81('0xc5')]['observeMarkers']('revision'),this['on'](_0x4c81('0x35'),(_0x8b907,_0x1524da,_0x3f81cd,_0x36063d)=>{_0x36063d&&this[_0x4c81('0xfa')][_0x4c81('0x118')](_0x36063d),_0x3f81cd&&(this[_0x4c81('0xfa')][_0x4c81('0x68')]({'view':_0x3f81cd,'stackId':_0x4c81('0x36'),'position':{'target':()=>{const _0x37be2b=this[_0x4c81('0x8c')][_0x4c81('0x15')],_0x46e6ed=this[_0x4c81('0x8c')][_0x4c81('0xe2')][_0x4c81('0xd1')][_0x4c81('0xa9')](_0x4c81('0x3e')+_0x3f81cd[_0x4c81('0x113')]),_0x2164cd=Array[_0x4c81('0x104')](_0x37be2b[_0x4c81('0x105')][_0x4c81('0xb8')](_0x46e6ed['name']))[_0x4c81('0xe5')](_0x9646f7=>_0x37be2b[_0x4c81('0x6a')][_0x4c81('0x93')]['mapViewToDom'](_0x9646f7))['map'](_0x2d3ddb=>Array[_0x4c81('0x104')](_0x2d3ddb[_0x4c81('0x43')]()))[_0x4c81('0xfd')]();if(!this[_0x4c81('0xaa')])return _0x2164cd[0x0];return _0x2164cd[_0x4c81('0x47')](_0x5548c7=>_0x5548c7[_0x4c81('0x10e')]-0x3<=this[_0x4c81('0xaa')]['y']&&_0x5548c7[_0x4c81('0xf3')]+0x3>=this[_0x4c81('0xaa')]['y']&&_0x5548c7[_0x4c81('0x86')]-0x3<=this[_0x4c81('0xaa')]['x']&&_0x5548c7[_0x4c81('0x4e')]+0x3>=this[_0x4c81('0xaa')]['x'])||_0x2164cd[0x0];}}}),this[_0x4c81('0xfa')][_0x4c81('0xd5')](_0x4c81('0x36')));}),this['on'](_0x4c81('0x3d'),(_0x15fe87,_0x3daa18,_0xb3b139,_0x476339)=>{this[_0x4c81('0x5b')]=_0xb3b139?this['_getViewForChange'](_0xb3b139):null,this['editor']['model'][_0x4c81('0x1c')](()=>{const _0x373552=this[_0x4c81('0x8c')][_0x4c81('0x15')];_0x476339&&_0x373552[_0x4c81('0x111')](_0x4c81('0x3e')+_0x476339['id']),_0xb3b139&&_0x373552[_0x4c81('0x111')](_0x4c81('0x3e')+_0xb3b139['id']);});}),this[_0x4c81('0x77')](this['editor'][_0x4c81('0x15')][_0x4c81('0x6a')]['document'],_0x4c81('0x56'),(_0x26b2d1,_0x16117f)=>{if(this[_0x4c81('0x109')])return;const _0x2ccb1c=this[_0x4c81('0x2c')](_0x16117f[_0x4c81('0x76')]),_0x23f83e=this[_0x4c81('0xf0')][_0x4c81('0xa9')](_0x2ccb1c);_0x23f83e?(this[_0x4c81('0xaa')]={'x':_0x16117f['domEvent']['x'],'y':_0x16117f[_0x4c81('0xb')]['y']},this[_0x4c81('0x5b')]=this[_0x4c81('0x9d')](_0x23f83e)):(this['_activeViewTarget']=null,this[_0x4c81('0x5b')]=null);}),this[_0x4c81('0x77')](this[_0x4c81('0x8c')]['editing']['view'][_0x4c81('0x3b')],_0x4c81('0xad'),(_0x5c1848,_0x220071)=>{const _0x10638d=this[_0x4c81('0x2c')](_0x220071[_0x4c81('0x76')]),_0x1e9111=this[_0x4c81('0xf0')][_0x4c81('0xa9')](_0x10638d);_0x1e9111?(this[_0x4c81('0xaa')]={'x':_0x220071['domEvent']['x'],'y':_0x220071[_0x4c81('0xb')]['y']},_0x1e9111===this['activeChange']?this[_0x4c81('0xfa')][_0x4c81('0xc4')]():this[_0x4c81('0x109')]=_0x1e9111):(this[_0x4c81('0xaa')]=null,this[_0x4c81('0x109')]=null);});}[_0x4c81('0x2c')](_0x2aae99){do{const _0x44bde2=_0x2aae99[_0x4c81('0xf6')](_0x4c81('0x6f'));if(_0x44bde2)return _0x44bde2;_0x2aae99=_0x2aae99[_0x4c81('0x61')];}while(_0x2aae99);return null;}[_0x4c81('0x0')](){this['editor'][_0x4c81('0xe2')]['change'](_0x358f76=>{for(const _0x373be3 of this['editor'][_0x4c81('0xe2')][_0x4c81('0xd1')])_0x358f76['removeMarker'](_0x373be3);});}}function Q(_0x32caec,_0x33e708){return(_0x20380d,_0x3ffff9,_0xc00c6f)=>{if(!_0xc00c6f[_0x4c81('0x8b')][_0x4c81('0x21')](_0x3ffff9[_0x4c81('0xc8')],_0x20380d[_0x4c81('0x112')]))return;const _0x3a4676=_0x3ffff9[_0x4c81('0xc8')][_0x4c81('0x4')](),_0x41602b=_0x3ffff9[_0x4c81('0xc8')][_0x4c81('0xd4')],_0x42fdc2=_0x32caec[_0x4c81('0xe2')][_0x4c81('0xa6')];let _0x15d82f=null,_0xb21faa=null,_0x26a4ca=!0x1,_0x829504=!0x1;for(const _0x176afe of _0x3a4676){const _0x59f886=_0x176afe['item'];_0x26a4ca=_0x26a4ca||_0x42fdc2[_0x4c81('0x103')](_0x59f886);const _0x2d8d99=_0xc00c6f[_0x4c81('0x105')][_0x4c81('0xef')](_0x59f886);if(_0x2d8d99&&_0x2d8d99[_0x4c81('0x6e')](_0x4c81('0x63')))return;'elementEnd'==_0x176afe[_0x4c81('0x7')]&&(_0x42fdc2['isBlock'](_0x59f886)&&!_0x42fdc2['isLimit'](_0x59f886)&&(_0x59f886['nextSibling']||_0x41602b[_0x4c81('0x9c')]?_0x15d82f&&_0x15d82f['parent']==_0x59f886||(_0x15d82f=_0x59f886,_0x4fcd54(_0x176afe[_0x4c81('0xfe')]),_0x829504=!0x0):_0xb21faa=_0xb21faa||_0x176afe[_0x4c81('0xfe')]));}function _0x4fcd54(_0x8b172f){const _0x5cfc57=_0xc00c6f['mapper']['toViewPosition'](_0x8b172f),_0x3dfed7=_0xc00c6f['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x33e708});_0xc00c6f['writer'][_0x4c81('0x25')](_0x5cfc57,_0x3dfed7),_0xc00c6f[_0x4c81('0x105')][_0x4c81('0x50')](_0x3dfed7,_0x3ffff9[_0x4c81('0x11c')]);}_0x26a4ca||_0x829504||!_0xb21faa||_0x4fcd54(_0xb21faa);};}export class RestoreRevisionCommand extends _0xf77865{constructor(_0x4ee02e){super(_0x4ee02e);const _0x5b4c39=_0x4ee02e[_0x4c81('0xa1')][_0x4c81('0xa9')](y);this['stopListening'](_0x4ee02e,_0x4c81('0xd7')),this[_0x4c81('0x41')](_0x4c81('0xc1')),this[_0x4c81('0x77')](_0x5b4c39,'change:isReady',()=>this[_0x4c81('0xdf')]()),this[_0x4c81('0x77')](_0x5b4c39,_0x4c81('0x75'),()=>this[_0x4c81('0xdf')]());}[_0x4c81('0xdc')](){const _0x5921a9=this[_0x4c81('0x8c')],_0x5d5951=_0x5921a9['plugins'][_0x4c81('0xa9')](y),_0xff1e2d=_0x5d5951[_0x4c81('0x3a')]?_0x5d5951[_0x4c81('0xaf')][_0x4c81('0x78')]:null;_0x5921a9['config']['get'](_0x4c81('0xc3'))['restoreRevisionCallback'](_0xff1e2d);}[_0x4c81('0xdf')](){const {isReady:_0x167765,isEnabled:_0xe57347}=this[_0x4c81('0x8c')][_0x4c81('0xa1')][_0x4c81('0xa9')](y);this['isEnabled']=_0x167765&&_0xe57347;}}export class ShowChangeCommand extends _0xf77865{constructor(_0x205997,{direction:_0x45dcdf}){super(_0x205997);const _0x1fa000=_0x205997[_0x4c81('0xa1')]['get'](y);this[_0x4c81('0xc6')](_0x205997,_0x4c81('0xd7')),this[_0x4c81('0x41')]('readOnlyMode'),this[_0x4c81('0x102')]=_0x4c81('0x79')===_0x45dcdf?0x1:-0x1,this[_0x4c81('0x77')](_0x1fa000,_0x4c81('0x64'),()=>this['refresh']()),this['listenTo'](_0x1fa000,'change:isEnabled',()=>this['refresh']());}[_0x4c81('0xdc')](){const _0x3805bf=this[_0x4c81('0x8c')],_0x4e4b0b=_0x3805bf['plugins']['get'](y),{isNavigationMode:_0xfb0eb5,currentChangeNumber:_0x405afa}=_0x4e4b0b;_0x4e4b0b[_0x4c81('0x109')]=_0xfb0eb5?_0x4e4b0b['diff'][_0x4c81('0x4f')][_0x4c81('0xa9')](_0x405afa+this['_step']):_0x4e4b0b[_0x4c81('0xaf')]['changes']['first'];const _0x2fa7a3=_0x3805bf[_0x4c81('0xe2')]['markers'][_0x4c81('0xa9')](_0x4c81('0x3e')+_0x4e4b0b['activeChange']['id']),_0x347cab=_0x2ec871(_0x3805bf[_0x4c81('0x15')],_0x2fa7a3);_0x19d354({'target':_0x347cab,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x35200e,currentChangeNumber:_0x4db4e3,numberOfChanges:_0x596c35,isReady:_0x5980f2,isEnabled:_0x7a52e1}=this[_0x4c81('0x8c')][_0x4c81('0xa1')][_0x4c81('0xa9')](y);this['isEnabled']=!!(_0x7a52e1&&_0x5980f2&&_0x596c35)&&(!_0x35200e||(0x1===this['_step']?_0x4db4e3<_0x596c35-0x1:_0x4db4e3>0x0));}}
23
+ const _0x246a=['view','enqueueChange','toViewPosition','upcast','refresh','startIndex','markers','vid','change:isReadOnly','vid_start','ck-suggestion-preview-marker-','isIncorrect','getRoot','revisionHistoryLabel','removeMarker','wrap','WidgetToolbarRepository','activeView','compare','mapper','elementToAttribute','includes','bindElementToMarker','data-change-id','isSuggestion','locale','_setConversion','checkAttribute','shift','_markSuggestions','then','children','consume','name','addHighlight','conversion','findIndex','highest','forEach','_makeModelFromTape','markersStart','setAttribute','insertion','parse','remove','downcastDispatcher','mapViewToDom','_findChangeIdFromDomTarget','_joinTapes','isInline','_removeUnsupportedChanges','config','newRevisionId','index','isContent','split','stopListening','_refreshStartEndIndex','_processTape','stop','bottom','writer','createAttributeElement','previousPosition','createRangeIn','_changeView','_setDistance','repository','target','createPositionBefore','activeChange','POSITIVE_INFINITY','first','_revisions','_getDiff','_initInteractions','isCollapsed','text','insert','getIndex','_data','isAtEnd','parent','sort','toData','roots','dataDowncast','high','element:pre','addMarker:revision-suggestion:deletion','model','loadRevisionData','pop','isReady','distance','editing','isRemoved','hasClass','_getViewForChange','bind','listenTo','nodeAfter','slice','removeMarker:revision-suggestion','editingDowncast','change:numberOfChanges','change:isReady','nextSibling','change:isEnabled','getRevision','abs','userId','_markInsertions','domConverter','set','_markMarkers','consumable','left','toViewElement','startsWith','createRange','authors','createUIElement','readOnlyMode','commands','catch','changeId','enableReadOnlyMode','_balloon','end','removeMarker:revision','editor','deletion','getRootNames','_setData','string','filter','elementEnd','modelRange','keys','for','getWalker','addMarker:revision-suggestion:insertion','_getChangeFromId','item','getAttributes','RevisionsRepository','collaboration.channelId','markerRange','getCustomProperty','processor','_activeViewTarget','restoreRevision','document','getRevisionData','pairId','isBefore','_changeIdToChange','element','viewItem','unshift','change','nextPosition','ck-editor__editable__overlay','level','addClass','createPositionFromPath','length','isAfter','change:activeView','revisionHistory','resolve','isEnabled','ck-suggestion-preview-marker','<p></p>','revision','requires','mouseover','isBlock','side','showNextChange','hasAttribute','revision:','revision-start','adapter','schema','ck-suggestion-marker-merge','start','createRevision','merge','_markMismatchedRemovedTags','markerToHighlight','return','ck-suggestion-marker--active','next','toViewRange','diff','reconvertMarker','clearForceDisabled','values','endIndex','get','_removeMissingPairs','selection','_appendChild','attributes','_threeWayMerge','useFillerType','markerName','_makeTape','splice','right','_removeRevisionMarkers','markersEnd','all','concat','_update','RevisionViewer','unbindElementFromMarkerName','dataToMarker','isNavigationMode','addMarker:revision','ck-suggestion-marker-','clear','_cleanUp','_getRevisionsRange','add','elementStart','done','removeClass','from','isEqual','plugins','attribute:vid','-new','getItems','push','map','_cleanMarkers','domEvent','forward','data','type','getClientRects','toModel','vid_end','forceDisabled','revision-viewer','execute','markerNameToElements','_makeModelFromViewString','revision-suggestion:','addRevision','change:activeChange','diffData','revision-suggestion','error','isAdded','isRemoveSuggestion','changes','getAttribute','low','isLimit','span','_getViewObj','_step','has','insertions','isAddSuggestion','destroy','find','test'];(function(_0x12f3e5,_0x246a04){const _0xc5f2fe=function(_0x2daa4c){while(--_0x2daa4c){_0x12f3e5['push'](_0x12f3e5['shift']());}};_0xc5f2fe(++_0x246a04);}(_0x246a,0xb3));const _0xc5f2=function(_0x12f3e5,_0x246a04){_0x12f3e5=_0x12f3e5-0x0;let _0xc5f2fe=_0x246a[_0x12f3e5];return _0xc5f2fe;};import{Plugin as _0x444b94,Command as _0x4f7e50}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x1c7f51}from'ckeditor5/src/utils';import{ContextualBalloon as _0x34b568}from'ckeditor5/src/ui';import{DocumentFragment as _0x5c2dd3,Element as _0x5bd6bc,Text as _0x4ca4e1,ViewDocumentFragment as _0x5ef541,ViewText as _0x56676a,ViewElement as _0x5f3663,ViewContainerElement as _0x5553d5,ViewAttributeElement as _0xce7e5d,ViewEmptyElement as _0x191466,ViewRawElement as _0x182754,ViewUIElement as _0x332932}from'ckeditor5/src/engine';import{Users as _0x12b71b,getMarkerDomElement as _0x11e2f9}from'ckeditor5-collaboration/src/collaboration-core';import _0x4de06a from'./ui/revisionviewer/changedetailsview';import _0x1ba97a from'./revisionsrepository';import _0x129f34 from'./changeitem';import{default as _0x2bb4f5}from'./revisiondiff';import'../theme/revisionviewer.css';const K={'c':_0x5553d5,'a':_0xce7e5d,'e':_0x191466,'r':_0x182754,'u':_0x332932};export default class y extends _0x444b94{static get['pluginName'](){return _0xc5f2('0x26');}static get[_0xc5f2('0x10d')](){return[_0x12b71b,_0x34b568,_0x1ba97a];}constructor(_0x1e6b5b){super(_0x1e6b5b),this['repository']=this[_0xc5f2('0xe0')][_0xc5f2('0x35')][_0xc5f2('0x16')](_0xc5f2('0xef')),this[_0xc5f2('0xcf')](_0xc5f2('0xa3'),null),this[_0xc5f2('0xcf')]('activeView',null),this[_0xc5f2('0xf4')]=null,this['set'](_0xc5f2('0x11'),null),this[_0xc5f2('0xcf')]('isReady',!0x1),this[_0xc5f2('0xcf')](_0xc5f2('0x109'),!0x0),this['on'](_0xc5f2('0xc9'),(_0x32e9e2,_0xf8f64a,_0x2642dd)=>{this['activeChange']=null,this[_0xc5f2('0x6e')]=null,this[_0xc5f2('0xe0')]['editing'][_0xc5f2('0x5d')][_0xc5f2('0xfe')](_0x3f33b9=>{for(const _0xad4544 of this[_0xc5f2('0xe0')]['editing']['view'][_0xc5f2('0xf6')][_0xc5f2('0xb2')])_0x2642dd?_0x3f33b9[_0xc5f2('0x32')]('ck-editor__editable__overlay',_0xad4544):_0x3f33b9[_0xc5f2('0x102')](_0xc5f2('0x100'),_0xad4544);});}),this['bind'](_0xc5f2('0x29'))['to'](this,_0xc5f2('0xa3'),_0x522ab7=>null!==_0x522ab7),this[_0xc5f2('0xc0')]('currentChangeNumber')['to'](this,'isReady',this,_0xc5f2('0x11'),this,_0xc5f2('0xa3'),(_0x51c55f,_0x2d266d,_0x2d1f68)=>_0x51c55f&&_0x2d1f68?_0x2d266d[_0xc5f2('0x50')][_0xc5f2('0xac')](_0x2d1f68):0x0),this[_0xc5f2('0xc0')]('numberOfChanges')['to'](this,_0xc5f2('0xba'),this,_0xc5f2('0x11'),(_0x493d36,_0x2c3e62)=>_0x493d36?_0x2c3e62[_0xc5f2('0x50')][_0xc5f2('0x104')]:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this[_0xc5f2('0x5')]=null,this['_balloon']=this['editor'][_0xc5f2('0x35')][_0xc5f2('0x16')](_0x34b568);}['init'](){const _0x3e2319=this[_0xc5f2('0xe0')],_0x7c36d7=new ShowChangeCommand(_0x3e2319,{'direction':'backward'}),_0x2fe495=new ShowChangeCommand(_0x3e2319,{'direction':_0xc5f2('0x3d')});(_0x3e2319[_0xc5f2('0xd9')][_0xc5f2('0x2f')]('showPreviousChange',_0x7c36d7),_0x3e2319[_0xc5f2('0xd9')]['add'](_0xc5f2('0x1'),_0x2fe495),_0x3e2319[_0xc5f2('0xd9')][_0xc5f2('0x2f')](_0xc5f2('0xf5'),new RestoreRevisionCommand(_0x3e2319)),this['on'](_0xc5f2('0xc6'),()=>{_0x7c36d7[_0xc5f2('0x61')](),_0x2fe495[_0xc5f2('0x61')]();}),this[_0xc5f2('0x77')](),this[_0xc5f2('0xa8')](),_0x3e2319[_0xc5f2('0xdc')](_0xc5f2('0x44')),_0x3e2319[_0xc5f2('0x35')][_0xc5f2('0x57')](_0xc5f2('0x6d')))&&_0x3e2319[_0xc5f2('0x35')][_0xc5f2('0x16')](_0xc5f2('0x6d'))[_0xc5f2('0x43')]('revision-viewer');}async[_0xc5f2('0xf7')](_0x237218){await this[_0xc5f2('0xb8')](_0x237218);const _0x39f20f={};for(const _0x5437c2 in _0x237218[_0xc5f2('0x4b')]){const _0x267b64=this[_0xc5f2('0x21')](JSON[_0xc5f2('0x88')](_0x237218['diffData'][_0x5437c2][_0xc5f2('0x58')])),_0x5c6398=this[_0xc5f2('0xe0')][_0xc5f2('0xbc')][_0xc5f2('0x5d')]['document'],_0x34cfff=new _0x5ef541(_0x5c6398,_0x267b64[_0xc5f2('0x3a')](_0x5c4fd8=>this[_0xc5f2('0x55')](_0x5c4fd8)));this[_0xc5f2('0xe0')][_0xc5f2('0x3e')]['processor'][_0xc5f2('0x1c')]('marked'),_0x39f20f[_0x5437c2]=this['editor'][_0xc5f2('0x3e')]['processor'][_0xc5f2('0xb1')](_0x34cfff),this[_0xc5f2('0xe0')][_0xc5f2('0x3e')][_0xc5f2('0xf3')][_0xc5f2('0x1c')]('default');}return _0x39f20f;}['_removeRevisionMarkers'](_0x3b4f0c){return(_0x3b4f0c=_0x3b4f0c[_0xc5f2('0xe5')](_0x2b8754=>!_0x2b8754[_0xc5f2('0x7e')]||_0xc5f2('0x4')!==_0x2b8754[_0xc5f2('0x7e')]&&'revision-end'!==_0x2b8754[_0xc5f2('0x7e')]))[_0xc5f2('0x83')](_0x558d88=>{'string'!=typeof _0x558d88&&(_0x558d88['children']=this['_removeRevisionMarkers'](_0x558d88[_0xc5f2('0x7c')]),_0x558d88[_0xc5f2('0x1a')]=_0x558d88['attributes']['filter'](_0x10f618=>!_0x10f618[0x0][_0xc5f2('0xd4')]('data-revision-')));}),_0x3b4f0c;}async[_0xc5f2('0x6f')](_0x1a2608,_0x556613,_0x390230=!0x1){if(!this[_0xc5f2('0x109')])return;const _0x5bac14=this[_0xc5f2('0x11')],_0x149620=this['repository'],_0x1c4ebb=_0xc5f2('0xe4')==typeof _0x1a2608?_0x149620[_0xc5f2('0xca')](_0x1a2608):_0x1a2608,_0x57a86e=_0xc5f2('0xe4')==typeof _0x556613?_0x149620['getRevision'](_0x556613):_0x556613,_0x57aa1c=_0x1c4ebb['id'],_0x3a07e4=_0x57a86e?_0x57a86e['id']:null;if(!_0x390230&&this[_0xc5f2('0x11')]&&this[_0xc5f2('0x11')][_0xc5f2('0x91')]===_0x57aa1c&&this[_0xc5f2('0x11')]['oldRevisionId']===_0x3a07e4)return Promise[_0xc5f2('0x108')]();this[_0xc5f2('0xba')]=!0x1,this[_0xc5f2('0x6e')]=null,this[_0xc5f2('0xa3')]=null,this[_0xc5f2('0x11')]=new _0x2bb4f5(_0x57aa1c,_0x3a07e4);const _0x3fbd57=this[_0xc5f2('0x2e')](_0x1c4ebb,_0x57a86e,!0x0)[_0xc5f2('0x3a')](_0x3aedeb=>this['loadRevisionData'](_0x3aedeb));return _0x3fbd57[_0xc5f2('0x39')](new Promise(_0x3b5b30=>{setTimeout(_0x3b5b30,0x14);})),Promise[_0xc5f2('0x23')](_0x3fbd57)['then'](()=>{if(!this[_0xc5f2('0x109')])return;this[_0xc5f2('0x2d')]();const _0x4566d5=this[_0xc5f2('0xa7')](_0x57aa1c,_0x3a07e4);this[_0xc5f2('0x11')][_0xc5f2('0xe3')](_0x4566d5);for(const _0x3a0660 of this[_0xc5f2('0x11')]['changes'])this[_0xc5f2('0xfa')][_0xc5f2('0xcf')](_0x3a0660['id'],_0x3a0660);this['editor'][_0xc5f2('0xb7')][_0xc5f2('0x5e')]({'isUndoable':!0x1},_0x1dd018=>{for(const _0xd106ab of Object[_0xc5f2('0xe8')](_0x4566d5[_0xc5f2('0xb7')])){const _0x5d8875=this[_0xc5f2('0xe0')]['model'][_0xc5f2('0xf6')][_0xc5f2('0x69')](_0xd106ab);_0x1dd018[_0xc5f2('0x89')](_0x1dd018[_0xc5f2('0x9d')](_0x5d8875)),_0x1dd018[_0xc5f2('0xab')](_0x4566d5[_0xc5f2('0xb7')][_0xd106ab],_0x5d8875,0x0);}}),this[_0xc5f2('0xba')]=!0x0;})[_0xc5f2('0xda')](_0x477a19=>{console[_0xc5f2('0x4d')](_0x477a19),this[_0xc5f2('0x2d')](),_0x5bac14?this[_0xc5f2('0x11')]=_0x5bac14:this[_0xc5f2('0xe0')][_0xc5f2('0x3e')][_0xc5f2('0xcf')](_0xc5f2('0x10b')),this[_0xc5f2('0xba')]=!0x0;});}[_0xc5f2('0x5a')](){this[_0xc5f2('0x6e')]=null,this['_changeView']&&this[_0xc5f2('0x9e')][_0xc5f2('0x5a')]();}['addRevisionData'](_0x335422,_0x1c77a6){const _0x30c99c=this[_0xc5f2('0xa0')][_0xc5f2('0x9')](_0x335422);return _0x30c99c['on']('_update',(_0x46d991,_0x2c2cd5,_0x4a2f30)=>_0x1c77a6(_0x2c2cd5,_0x4a2f30,_0x30c99c)),this['repository'][_0xc5f2('0x49')](_0x30c99c),_0x30c99c;}['loadRevisionData'](_0x48d6a1){if(!_0x48d6a1||_0x48d6a1[_0xc5f2('0x4b')])return Promise[_0xc5f2('0x108')]();{const _0x316324=this['editor'][_0xc5f2('0x90')]['get'](_0xc5f2('0xf0'));return this[_0xc5f2('0x5')]['getRevision']({'channelId':_0x316324,'revisionId':_0x48d6a1['id']})[_0xc5f2('0x7b')](_0x3b3731=>{_0x48d6a1[_0xc5f2('0x25')]({'diffData':_0x3b3731['diffData']},!0x0);});}}['_cleanUp'](){this[_0xc5f2('0xa3')]=null,this[_0xc5f2('0x3b')](),this[_0xc5f2('0x9e')]&&this['_changeView'][_0xc5f2('0x5a')](),this[_0xc5f2('0x9e')]=null,this[_0xc5f2('0xfa')][_0xc5f2('0x2c')]();}[_0xc5f2('0x1e')](_0x1970a0){const _0x27ca8a=Array[_0xc5f2('0x33')](_0x1970a0[_0xc5f2('0x63')])['filter'](([_0x1662e2,_0x4dbb74])=>_0x1662e2[_0xc5f2('0xd4')](_0xc5f2('0x3'))&&!_0x4dbb74[_0xc5f2('0xa9')]),_0x105f20=Array[_0xc5f2('0x33')](this[_0xc5f2('0xe0')][_0xc5f2('0xb7')][_0xc5f2('0x9d')](_0x1970a0)[_0xc5f2('0xea')]({'singleCharacters':!0x0}));if(0x0!=_0x27ca8a['length'])for(const _0x49e093 of _0x105f20){const [_0x454d2e,_0x46371a]=_0x27ca8a[0x0],[,_0x404bc0,_0x226ace]=_0x454d2e['split'](':');if(_0x46371a[_0xc5f2('0xde')][_0xc5f2('0x34')](_0x49e093[_0xc5f2('0xff')])&&_0x27ca8a[_0xc5f2('0x79')](),(_0x49e093[_0xc5f2('0x9c')]['isEqual'](_0x46371a[_0xc5f2('0x8')])||_0x49e093[_0xc5f2('0x9c')][_0xc5f2('0x105')](_0x46371a['start']))&&(_0xc5f2('0x87')==_0x404bc0?_0x49e093['isAdded']={'userId':_0x226ace}:'deletion'==_0x404bc0&&(_0x49e093[_0xc5f2('0xbd')]={'userId':_0x226ace})),0x0==_0x27ca8a['length'])break;}return _0x105f20;}[_0xc5f2('0x96')](_0x236e1f){const _0x45e401=new Map();for(let _0x21742d=0x0;_0x21742d<_0x236e1f[_0xc5f2('0x104')];_0x21742d++)'text'===_0x236e1f[_0x21742d][_0xc5f2('0x3f')]?(_0x236e1f[_0x21742d][_0xc5f2('0xed')]['startIndex']=_0x21742d,_0x236e1f[_0x21742d][_0xc5f2('0xed')][_0xc5f2('0x15')]=_0x21742d):(_0xc5f2('0x30')===_0x236e1f[_0x21742d]['type']?_0x236e1f[_0x21742d][_0xc5f2('0xed')][_0xc5f2('0x62')]=_0x21742d:_0xc5f2('0xe6')===_0x236e1f[_0x21742d][_0xc5f2('0x3f')]&&(_0x236e1f[_0x21742d][_0xc5f2('0xed')][_0xc5f2('0x15')]=_0x21742d),_0x45e401[_0xc5f2('0xcf')](_0x236e1f[_0x21742d]['id'],_0x21742d));for(const _0x514c9b of _0x45e401[_0xc5f2('0x14')]())_0xc5f2('0x30')===_0x236e1f[_0x514c9b][_0xc5f2('0x3f')]?_0x236e1f[_0x514c9b]['item']['endIndex']=_0x45e401[_0xc5f2('0x16')](_0x236e1f[_0x514c9b][_0xc5f2('0xf8')]):_0xc5f2('0xe6')===_0x236e1f[_0x514c9b][_0xc5f2('0x3f')]&&(_0x236e1f[_0x514c9b][_0xc5f2('0xed')]['startIndex']=_0x45e401['get'](_0x236e1f[_0x514c9b][_0xc5f2('0xf8')]));}[_0xc5f2('0x97')](_0x55bfb4){for(let _0x39b8a9=0x0;_0x39b8a9<_0x55bfb4[_0xc5f2('0x104')];_0x39b8a9++){if(_0xc5f2('0x30')===_0x55bfb4[_0x39b8a9]['type'])_0x55bfb4[_0x39b8a9][_0xc5f2('0xed')][_0xc5f2('0x62')]=_0x39b8a9;else{if('elementEnd'===_0x55bfb4[_0x39b8a9][_0xc5f2('0x3f')]){_0x55bfb4[_0x39b8a9]['item'][_0xc5f2('0x15')]=_0x39b8a9;const _0x68469b=_0x55bfb4[_0x39b8a9][_0xc5f2('0xed')]['startIndex'];_0x55bfb4[_0x68469b][_0xc5f2('0xf8')]=_0x55bfb4[_0x39b8a9]['id'],_0x55bfb4[_0x39b8a9][_0xc5f2('0xf8')]=_0x55bfb4[_0x68469b]['id'];}else _0x55bfb4[_0x39b8a9][_0xc5f2('0xed')]['startIndex']=_0x39b8a9,_0x55bfb4[_0x39b8a9][_0xc5f2('0xed')][_0xc5f2('0x15')]=_0x39b8a9,_0x55bfb4[_0x39b8a9]['pairId']=null;}_0x55bfb4[_0x39b8a9][_0xc5f2('0x85')]||(_0x55bfb4[_0x39b8a9][_0xc5f2('0x85')]=[],_0x55bfb4[_0x39b8a9]['markersEnd']=[]);}}[_0xc5f2('0xcd')](_0x730ee4,_0x3f9a1a){const _0x3a3222=_0x730ee4[_0xc5f2('0xe5')](_0x494309=>!_0x494309[_0xc5f2('0x4e')]);for(let _0x2376a7=0x0;_0x2376a7<_0x3f9a1a['length'];_0x2376a7++)_0x3f9a1a[_0x2376a7][_0xc5f2('0x4e')]&&(_0x3a3222[_0x2376a7][_0xc5f2('0x4e')]=_0x3f9a1a[_0x2376a7][_0xc5f2('0x4e')]);}[_0xc5f2('0x47')](_0x3f6576){const _0x2a522f=JSON[_0xc5f2('0x88')](_0x3f6576),_0x4c0395=this[_0xc5f2('0xe0')]['editing'][_0xc5f2('0x5d')]['document'],_0x25e61c=new _0x5ef541(_0x4c0395,_0x2a522f['map'](_0x586958=>this['_getViewObj'](_0x586958)));return this[_0xc5f2('0xe0')][_0xc5f2('0x3e')][_0xc5f2('0x41')](_0x25e61c);}[_0xc5f2('0x55')](_0xb74e3c){const _0x3a4bab=this[_0xc5f2('0xe0')][_0xc5f2('0xbc')][_0xc5f2('0x5d')]['document'];if(_0xc5f2('0xe4')==typeof _0xb74e3c)return new _0x56676a(_0x3a4bab,_0xb74e3c);{const _0x3ea9f1=_0xb74e3c[_0xc5f2('0x7c')]['map'](_0x12333b=>this['_getViewObj'](_0x12333b));return new(K[_0xb74e3c[(_0xc5f2('0x3f'))]]||_0x5f3663)(_0x3a4bab,_0xb74e3c['name'],_0xb74e3c[_0xc5f2('0x1a')],_0x3ea9f1);}}[_0xc5f2('0xa7')](_0x2d323a,_0x26c8fc=null){const _0x36ef77=this[_0xc5f2('0xa0')][_0xc5f2('0xca')](_0x2d323a),_0x31b419=_0x26c8fc?this['repository'][_0xc5f2('0xca')](_0x26c8fc):null,_0x1404e8=this['_getRevisionsRange'](_0x36ef77,_0x31b419),_0x5b21a4=_0x1404e8[_0x1404e8[_0xc5f2('0x104')]-0x1],_0x13939f=new Map();for(const _0x58af7f of _0x1404e8){_0x58af7f[_0xc5f2('0xb7')]={};for(const _0x412ad7 of _0x58af7f[_0xc5f2('0xd6')])_0x13939f['set'](_0x412ad7['id'],_0x412ad7);for(const _0x52ff27 of this['editor'][_0xc5f2('0xb7')][_0xc5f2('0xf6')][_0xc5f2('0xe2')]())_0x58af7f['diffData'][_0x52ff27]||(_0x58af7f[_0xc5f2('0x4b')][_0x52ff27]={'insertions':'[]','deletions':'[]'}),_0x58af7f[_0xc5f2('0xb7')][_0x52ff27]={'insertions':this[_0xc5f2('0x47')](_0x58af7f[_0xc5f2('0x4b')][_0x52ff27][_0xc5f2('0x58')]),'deletions':this[_0xc5f2('0x47')](_0x58af7f[_0xc5f2('0x4b')][_0x52ff27]['deletions'])};}const _0x32e906={'model':{},'changes':[]};for(const _0x368ac8 of this[_0xc5f2('0xe0')][_0xc5f2('0xb7')]['document'][_0xc5f2('0xe2')]()){let _0x488470=null,_0x128739=0x0;const _0x1961c0=new Map(Array['from'](_0x36ef77[_0xc5f2('0xb7')][_0x368ac8]['insertions']['markers'])['filter'](([_0x17cbc3])=>!_0x17cbc3[_0xc5f2('0xd4')](_0xc5f2('0x3'))));let _0x2c42f7=0x0;for(const _0x26be36 of _0x1404e8){const _0x576dd1=this[_0xc5f2('0x1e')](_0x26be36[_0xc5f2('0xb7')][_0x368ac8][_0xc5f2('0x58')]);_0x26be36==_0x36ef77?(_0x488470=_0x576dd1,_0x128739=_0x488470['length'],_0x488470[_0xc5f2('0x83')](_0x24005d=>{_0x24005d['id']=_0x2c42f7++;}),this['_processTape'](_0x488470)):this[_0xc5f2('0xcd')](_0x488470,_0x576dd1);const _0x49a83f=_0x488470[_0xc5f2('0xe5')](_0x411aa6=>!_0x411aa6[_0xc5f2('0x4e')])[_0xc5f2('0x3a')](_0x241db2=>_0x241db2['id']);let _0x44752b=0x0;const _0x187dd8=this[_0xc5f2('0x1e')](_0x26be36[_0xc5f2('0xb7')][_0x368ac8]['deletions']);_0x187dd8['forEach'](_0x225d89=>{_0x225d89['isRemoved']?_0x225d89['id']=_0x128739++:_0x225d89['id']=_0x49a83f[_0x44752b++];}),this[_0xc5f2('0x97')](_0x187dd8),this[_0xc5f2('0x9f')](_0x488470,'isAdded'),this[_0xc5f2('0x9f')](_0x187dd8,_0xc5f2('0xbd')),_0x26be36==_0x36ef77&&this[_0xc5f2('0xd0')](_0x488470,_0x1961c0),_0x488470=this['_joinTapes'](_0x488470,_0x187dd8),this[_0xc5f2('0x96')](_0x488470),this[_0xc5f2('0x9f')](_0x488470,_0xc5f2('0xbd'));}_0x488470=_0x488470['filter'](_0x35a51c=>!(_0x35a51c[_0xc5f2('0x4e')]&&_0x35a51c[_0xc5f2('0xbd')]));const _0x3eb31c=new Map(_0x5b21a4['model'][_0x368ac8]['deletions']['markers']),_0x206725=new Set(_0x1961c0[_0xc5f2('0xe8')]());for(const _0x19fb1d of _0x3eb31c[_0xc5f2('0xe8')]())_0x206725['delete'](_0x19fb1d);this[_0xc5f2('0x7a')](_0x488470,_0x206725),this['_fixObsoleteTags'](_0x488470),_0x488470=this['_removeMissingPairs'](_0x488470),_0x488470=this[_0xc5f2('0xb')](_0x488470),_0x488470=this[_0xc5f2('0x8f')](_0x488470);const {root:_0x5026fd,changes:_0x147802}=this[_0xc5f2('0x84')](_0x488470,_0x13939f);_0x32e906[_0xc5f2('0xb7')][_0x368ac8]=_0x5026fd,_0x32e906['changes']=_0x32e906[_0xc5f2('0x50')][_0xc5f2('0x24')](_0x147802);}return _0x32e906;}[_0xc5f2('0xd0')](_0x26e273,_0x3a7698){for(let _0x4fef58=0x0;_0x4fef58<_0x26e273['length'];_0x4fef58++)for(const [_0x33a49a,_0x2fff58]of _0x3a7698)_0x2fff58['start'][_0xc5f2('0x34')](_0x26e273[_0x4fef58][_0xc5f2('0x9c')])&&_0x26e273[_0x4fef58][_0xc5f2('0x85')]['push'](_0x33a49a),_0x2fff58[_0xc5f2('0xde')][_0xc5f2('0x34')](_0x26e273[_0x4fef58][_0xc5f2('0xff')])&&_0x26e273[_0x4fef58]['markersEnd']['push'](_0x33a49a);}[_0xc5f2('0x8d')](_0x54f541,_0x2f161c){let _0x4d397d=[],_0x1f92e6=0x0,_0x15fc8a=0x0;for(;_0x1f92e6<_0x54f541[_0xc5f2('0x104')]||_0x15fc8a<_0x2f161c[_0xc5f2('0x104')];){const _0x49cc62=_0x54f541[_0x1f92e6]||{},_0x378c81=_0x2f161c[_0x15fc8a]||{};if(_0x49cc62['id']==_0x378c81['id'])_0x1f92e6++,_0x15fc8a++,_0x4d397d['push'](_0x49cc62);else{if(_0x378c81[_0xc5f2('0xbd')]&&_0x49cc62['isAdded']){const {commonTape:_0x5821de,iEnd:_0x4d163e,jEnd:_0x15a069}=this[_0xc5f2('0x1b')](_0x54f541,_0x1f92e6,_0x2f161c,_0x15fc8a);_0x4d397d=_0x4d397d['concat'](_0x5821de),_0x1f92e6=_0x4d163e,_0x15fc8a=_0x15a069;}else _0x378c81[_0xc5f2('0xbd')]?(_0x15fc8a++,_0x4d397d[_0xc5f2('0x39')](_0x378c81)):(_0x1f92e6++,_0x4d397d['push'](_0x49cc62));}}return _0x4d397d;}['_markSuggestions'](_0x59b190,_0x2b90fe){const _0x4e83cf=[];for(let _0x24bd32=0x0;_0x24bd32<_0x59b190[_0xc5f2('0x104')];_0x24bd32++){for(let _0x43becd=0x0;_0x43becd<_0x59b190[_0x24bd32][_0xc5f2('0x85')][_0xc5f2('0x104')];_0x43becd++){const _0x15015b=_0x59b190[_0x24bd32][_0xc5f2('0x85')][_0x43becd];if(!_0x2b90fe['has'](_0x15015b))continue;const {group:_0x13236a,type:_0x5804e8,authorId:_0x27a519}=_0xd8679d(_0x15015b);_0xc5f2('0x4c')!=_0x13236a||'insertion'!=_0x5804e8&&_0xc5f2('0xe1')!=_0x5804e8||(_0x4e83cf[_0xc5f2('0xfd')]({'type':_0x5804e8,'name':_0x15015b,'userId':_0x27a519}),_0x59b190[_0x24bd32]['markersStart'][_0xc5f2('0x1f')](_0x43becd,0x1),_0x43becd--);}_0x288be5(_0x59b190[_0x24bd32]);for(let _0x291d4e=0x0;_0x291d4e<_0x59b190[_0x24bd32][_0xc5f2('0x22')][_0xc5f2('0x104')];_0x291d4e++){const _0x2249b4=_0x59b190[_0x24bd32][_0xc5f2('0x22')][_0x291d4e];if(!_0x2b90fe[_0xc5f2('0x57')](_0x2249b4))continue;const {group:_0x3ea681,type:_0x3f6898}=_0xd8679d(_0x2249b4);if(_0xc5f2('0x4c')!=_0x3ea681||_0xc5f2('0x87')!=_0x3f6898&&_0xc5f2('0xe1')!=_0x3f6898)continue;_0x59b190[_0x24bd32][_0xc5f2('0x22')][_0xc5f2('0x1f')](_0x291d4e,0x1),_0x291d4e--;const _0x50b1b0=_0x4e83cf[_0xc5f2('0x81')](_0x3cadc=>_0x3cadc[_0xc5f2('0x7e')]==_0x2249b4);_0x50b1b0>-0x1&&_0x4e83cf['splice'](_0x50b1b0,0x1);}}function _0xd8679d(_0x30f3f1){const _0x3c20f7=_0x30f3f1[_0xc5f2('0x94')](':');return{'group':_0x3c20f7[0x0],'type':_0x3c20f7[0x1],'subType':_0x3c20f7[_0xc5f2('0x104')]>=0x5?_0x3c20f7[0x2]:null,'id':_0x3c20f7[_0xc5f2('0x104')]<0x5?_0x3c20f7[0x2]:_0x3c20f7[0x3],'authorId':_0x3c20f7[_0xc5f2('0x104')]<0x5?_0x3c20f7[0x3]:_0x3c20f7[0x4],'markerCount':0x6==_0x3c20f7[_0xc5f2('0x104')]?_0x3c20f7[0x5]:null};}function _0x288be5(_0x3cea21){for(let _0x35c251=0x0;_0x35c251<_0x4e83cf[_0xc5f2('0x104')];_0x35c251++){if(_0x3cea21[_0xc5f2('0x4e')]&&'insertion'==_0x4e83cf[_0x35c251][_0xc5f2('0x3f')])return _0x3cea21[_0xc5f2('0x59')]=_0x4e83cf[_0x35c251],void delete _0x3cea21[_0xc5f2('0x4e')];if(!_0x3cea21[_0xc5f2('0x4e')]&&!_0x3cea21[_0xc5f2('0xbd')]&&_0xc5f2('0xe1')==_0x4e83cf[_0x35c251][_0xc5f2('0x3f')])return void(_0x3cea21[_0xc5f2('0x4f')]=_0x4e83cf[_0x35c251]);}}}[_0xc5f2('0x9f')](_0x1c2f61,_0x21ab4d){let _0x4a2fff=0x0,_0xdffdf=!0x1;const _0x2611f0=new Map();for(const _0x1d628a of _0x1c2f61)_0x1d628a[_0x21ab4d]?_0xdffdf&&(_0x4a2fff++,_0xdffdf=!0x1):(_0x4a2fff++,_0xdffdf=!0x0),_0x2611f0[_0xc5f2('0xcf')](_0x1d628a['id'],_0x4a2fff);for(let _0x48d1db=0x0;_0x48d1db<_0x1c2f61['length'];_0x48d1db++){if('isRemoved'==_0x21ab4d&&_0x1c2f61[_0x48d1db][_0xc5f2('0x4e')]||_0xc5f2('0x4e')==_0x21ab4d&&_0x1c2f61[_0x48d1db][_0xc5f2('0xbd')])continue;if(_0xc5f2('0xaa')==_0x1c2f61[_0x48d1db][_0xc5f2('0x3f')]){_0x1c2f61[_0x48d1db][_0xc5f2('0xbb')]=0x0;continue;}const _0x571c85=_0x2611f0[_0xc5f2('0x16')](_0x1c2f61[_0x48d1db]['pairId']),_0x2ce339=_0x2611f0[_0xc5f2('0x16')](_0x1c2f61[_0x48d1db]['id']);_0x1c2f61[_0x48d1db][_0xc5f2('0xbb')]=_0x571c85-_0x2ce339;}}[_0xc5f2('0x2e')](_0x2db012,_0x5d1d2c,_0x389865=!0x1){const _0x272cba=[];let _0x5c755e=this[_0xc5f2('0xa0')]['getIndex'](_0x2db012),_0x338901=this[_0xc5f2('0xa0')]['getIndex'](_0x5d1d2c);for(-0x1==_0x338901&&(_0x338901=this[_0xc5f2('0xa0')][_0xc5f2('0xa6')][_0xc5f2('0x104')],_0x389865=!0x1);_0x5c755e<_0x338901;)_0x272cba[_0xc5f2('0x39')](this[_0xc5f2('0xa0')][_0xc5f2('0xca')](_0x5c755e)),_0x5c755e++;return _0x389865&&_0x272cba[_0xc5f2('0x39')](this[_0xc5f2('0xa0')]['getRevision'](_0x5c755e)),_0x272cba;}[_0xc5f2('0x1b')](_0x25226d,_0x2363e1,_0x246506,_0x4f2f6e){const _0x4e4817=this[_0xc5f2('0xe0')]['model']['schema'];let _0x8ee623=_0x2363e1;for(;_0x25226d[_0x8ee623]&&_0x25226d[_0x8ee623][_0xc5f2('0x4e')];)_0x8ee623++;let _0x55bab0=_0x4f2f6e;for(;_0x246506[_0x55bab0]&&_0x246506[_0x55bab0][_0xc5f2('0xbd')];)_0x55bab0++;_0x51ef96(_0x25226d,_0x2363e1,_0x8ee623),_0x51ef96(_0x246506,_0x4f2f6e,_0x55bab0);const _0x34e7e2=_0x246506[_0xc5f2('0xc3')](_0x4f2f6e,_0x55bab0)[_0xc5f2('0x24')](_0x25226d[_0xc5f2('0xc3')](_0x2363e1,_0x8ee623));return _0x34e7e2['sort']((_0x9c3ed6,_0x549d49)=>_0x9c3ed6[_0xc5f2('0x0')]!=_0x549d49[_0xc5f2('0x0')]?_0x9c3ed6['side']-_0x549d49[_0xc5f2('0x0')]:_0x9c3ed6[_0xc5f2('0x101')]!=_0x549d49[_0xc5f2('0x101')]?_0x9c3ed6[_0xc5f2('0x101')]-_0x549d49['level']:_0x9c3ed6[_0xc5f2('0xbb')]!=_0x549d49[_0xc5f2('0xbb')]?_0x549d49['distance']-_0x9c3ed6['distance']:!!_0x9c3ed6[_0xc5f2('0x4e')]!=!!_0x549d49[_0xc5f2('0x4e')]?-0x1==_0x9c3ed6[_0xc5f2('0x0')]||0x0==_0x9c3ed6['side']?_0x9c3ed6[_0xc5f2('0x4e')]?-0x1:0x1:_0x9c3ed6[_0xc5f2('0x4e')]?0x1:-0x1:_0x9c3ed6[_0xc5f2('0x92')]-_0x549d49[_0xc5f2('0x92')]),{'commonTape':_0x34e7e2,'iEnd':_0x8ee623,'jEnd':_0x55bab0};function _0x51ef96(_0x3a0cf1,_0x51328e,_0x1f4440){let _0x580da1=-0x1,_0x5415e6=Number[_0xc5f2('0xa4')],_0x32e1d2=!0x0;for(let _0x2a2c81=_0x51328e;_0x2a2c81<_0x1f4440;_0x2a2c81++)if(_0x4e4817[_0xc5f2('0x8e')](_0x3a0cf1[_0x2a2c81][_0xc5f2('0xed')])||(_0x32e1d2=!0x1),_0x3a0cf1[_0x2a2c81][_0xc5f2('0xed')]['startIndex']<_0x51328e&&(_0x580da1=_0x2a2c81),_0x3a0cf1[_0x2a2c81][_0xc5f2('0xed')][_0xc5f2('0x15')]>=_0x1f4440){_0x5415e6=_0x2a2c81;break;}_0x32e1d2&&(_0x580da1=_0x1f4440-0x1);for(let _0x5ea8b8=_0x51328e;_0x5ea8b8<_0x1f4440;_0x5ea8b8++)_0x3a0cf1[_0x5ea8b8][_0xc5f2('0x0')]=_0x5ea8b8<=_0x580da1?-0x1:_0x5ea8b8<_0x5415e6?0x0:0x1,_0x3a0cf1[_0x5ea8b8]['index']=_0x5ea8b8;let _0x144f5d=0x0;for(let _0x36750b=_0x51328e;_0x36750b<=_0x580da1;_0x36750b++)0x0==_0x3a0cf1[_0x36750b][_0xc5f2('0xbb')]?_0x3a0cf1[_0x36750b][_0xc5f2('0x101')]=_0x144f5d:(_0x144f5d++,_0x3a0cf1[_0x36750b]['level']=_0x144f5d,_0x144f5d++);for(let _0x12dd39=_0x51328e;_0x12dd39<_0x1f4440;_0x12dd39++)0x0==_0x3a0cf1[_0x12dd39][_0xc5f2('0x0')]&&(_0x3a0cf1[_0x12dd39][_0xc5f2('0x101')]=_0x144f5d);_0x144f5d=0x0;for(let _0x17ba00=_0x1f4440-0x1;_0x17ba00>=_0x5415e6;_0x17ba00--)0x0==_0x3a0cf1[_0x17ba00][_0xc5f2('0xbb')]?_0x3a0cf1[_0x17ba00][_0xc5f2('0x101')]=_0x144f5d:(_0x144f5d--,_0x3a0cf1[_0x17ba00][_0xc5f2('0x101')]=_0x144f5d,_0x144f5d--);}}['_fixObsoleteTags'](_0x2a5db1){const _0x1c1dc1=new Map(),_0xc85647=this[_0xc5f2('0xe0')][_0xc5f2('0xb7')]['schema'];for(let _0x5043c1=0x1;_0x5043c1<_0x2a5db1[_0xc5f2('0x104')];_0x5043c1++){let _0x20b57a,_0x1193eb,_0x5aef0a;const _0x5c6749=_0x2a5db1[_0x5043c1],_0x2c99df=_0x2a5db1[_0x5043c1-0x1];if(_0xc5f2('0xaa')==_0x5c6749[_0xc5f2('0x3f')])continue;if(_0x5c6749['type']!=_0x2c99df['type'])continue;if(!_0xc85647[_0xc5f2('0x10f')](_0x2c99df[_0xc5f2('0xed')])||_0xc85647[_0xc5f2('0x53')](_0x2c99df[_0xc5f2('0xed')]))continue;if(!_0xc85647[_0xc5f2('0x10f')](_0x5c6749[_0xc5f2('0xed')])||_0xc85647['isLimit'](_0x5c6749[_0xc5f2('0xed')]))continue;if((_0x2a5db1[_0x5043c1][_0xc5f2('0x4e')]||_0x2a5db1[_0x5043c1]['isAddSuggestion'])&&_0x2a5db1[_0x5043c1-0x1]['isRemoved'])_0x20b57a=_0x2a5db1[_0x5043c1],_0x1193eb=_0x2a5db1[_0x5043c1-0x1],_0x5aef0a=_0x5043c1-0x1;else{if(!_0x2a5db1[_0x5043c1][_0xc5f2('0xbd')]||!_0x2a5db1[_0x5043c1-0x1]['isAdded']&&!_0x2a5db1[_0x5043c1-0x1][_0xc5f2('0x59')])continue;_0x20b57a=_0x2a5db1[_0x5043c1-0x1],_0x1193eb=_0x2a5db1[_0x5043c1],_0x5aef0a=_0x5043c1;}const _0x4a07b9=_0x20b57a[_0xc5f2('0x101')]==_0x1193eb[_0xc5f2('0x101')],_0x128f9e=Math['abs'](_0x20b57a[_0xc5f2('0x101')])<Math[_0xc5f2('0xcb')](_0x1193eb['level'])&&0x0==_0x1193eb[_0xc5f2('0xbb')];(_0x4a07b9||_0x128f9e)&&(_0x1c1dc1[_0xc5f2('0xcf')](_0x1193eb['id'],_0x20b57a['id']),_0x2a5db1[_0xc5f2('0x1f')](_0x5aef0a,0x1),_0x5043c1--,_0x20b57a[_0xc5f2('0x4e')]=!0x1);}for(let _0x2411ce=0x0;_0x2411ce<_0x2a5db1[_0xc5f2('0x104')];_0x2411ce++)_0x1c1dc1['has'](_0x2a5db1[_0x2411ce][_0xc5f2('0xf8')])&&(_0x2a5db1[_0x2411ce][_0xc5f2('0xf8')]=_0x1c1dc1['get'](_0x2a5db1[_0x2411ce]['pairId']));}[_0xc5f2('0x17')](_0x4c843d){const _0x993b1=new Set(_0x4c843d[_0xc5f2('0x3a')](_0x52e867=>_0x52e867['id']));for(let _0x391960=0x0;_0x391960<_0x4c843d[_0xc5f2('0x104')];_0x391960++)_0x993b1[_0xc5f2('0x57')](_0x4c843d[_0x391960][_0xc5f2('0xf8')])||0x0==_0x4c843d[_0x391960]['distance']||(_0x4c843d[_0x391960][_0xc5f2('0x68')]=!0x0);return _0x4c843d[_0xc5f2('0xe5')](_0x6df767=>!_0x6df767[_0xc5f2('0x68')]);}[_0xc5f2('0xb')](_0x26bc44){const _0x55feb8=new Set();for(let _0x593d10=0x0;_0x593d10<_0x26bc44[_0xc5f2('0x104')];_0x593d10++){if(_0x55feb8[_0xc5f2('0x57')](_0x26bc44[_0x593d10]['id'])&&_0x26bc44[_0x593d10][_0xc5f2('0xbd')]&&(_0x26bc44[_0x593d10][_0xc5f2('0x68')]=!0x0),_0x26bc44[_0x593d10][_0xc5f2('0x68')])continue;if(0x0==_0x26bc44[_0x593d10][_0xc5f2('0xbb')])continue;if(_0xc5f2('0x30')!=_0x26bc44[_0x593d10][_0xc5f2('0x3f')])continue;if(null==_0x26bc44[_0x593d10]['pairId'])continue;let _0x306fc8=_0x593d10+0x1,_0x2c5e59=0x0;for(;_0x26bc44[_0x306fc8]['id']!=_0x26bc44[_0x593d10][_0xc5f2('0xf8')];)_0xc5f2('0x30')==_0x26bc44[_0x306fc8][_0xc5f2('0x3f')]?_0x2c5e59++:'elementEnd'==_0x26bc44[_0x306fc8]['type']&&_0x2c5e59--,_0x306fc8++;if(0x0!=_0x2c5e59){if(_0x26bc44[_0x593d10][_0xc5f2('0xbd')])_0x26bc44[_0x593d10][_0xc5f2('0x68')]=!0x0;else for(;_0x306fc8!=_0x593d10;)_0x26bc44[_0x306fc8][_0xc5f2('0xbd')]&&0x0!=_0x26bc44[_0x306fc8][_0xc5f2('0xbb')]&&(_0x26bc44[_0x306fc8][_0xc5f2('0x68')]=!0x0,_0x55feb8[_0xc5f2('0x2f')](_0x26bc44[_0x306fc8][_0xc5f2('0xf8')])),_0x306fc8--;}}return _0x26bc44['filter'](_0x20edd1=>!_0x20edd1['isIncorrect']);}['_removeUnsupportedChanges'](_0x12f13c){const _0x29b675=this['editor'][_0xc5f2('0xb7')]['schema'];for(let _0x5acbf4=0x0;_0x5acbf4<_0x12f13c[_0xc5f2('0x104')];_0x5acbf4++){if(!(_0x12f13c[_0x5acbf4][_0xc5f2('0x4e')]||_0x12f13c[_0x5acbf4][_0xc5f2('0x59')]||_0x12f13c[_0x5acbf4][_0xc5f2('0xbd')]||_0x12f13c[_0x5acbf4]['isRemoveSuggestion']))continue;if(0x0==_0x12f13c[_0x5acbf4][_0xc5f2('0xbb')])continue;const _0x31a1a2=_0x12f13c[_0x5acbf4][_0xc5f2('0xed')];_0x29b675['isBlock'](_0x31a1a2)||_0x29b675[_0xc5f2('0x53')](_0x31a1a2)||(_0x12f13c[_0x5acbf4][_0xc5f2('0x4e')]&&delete _0x12f13c[_0x5acbf4][_0xc5f2('0x4e')],_0x12f13c[_0x5acbf4]['isAddSuggestion']&&delete _0x12f13c[_0x5acbf4][_0xc5f2('0x59')],_0x12f13c[_0x5acbf4][_0xc5f2('0x4f')]&&delete _0x12f13c[_0x5acbf4][_0xc5f2('0x4f')],_0x12f13c[_0x5acbf4][_0xc5f2('0xbd')]&&(_0x12f13c[_0x5acbf4]['isIncorrect']=!0x0));}return _0x12f13c['filter'](_0x4a401b=>!_0x4a401b[_0xc5f2('0x68')]);}[_0xc5f2('0x84')](_0x12fb2c,_0x5df1dd){const _0x2bc7a9=new _0x5c2dd3(),_0x3b6290=[],_0x4c54db=new Map(),_0x5a6655=this[_0xc5f2('0xe0')]['model'],_0x237a0f=_0x5a6655['schema'],_0x5910b7=[_0x2bc7a9],_0x4ddef4={},_0x69b05f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3f3ca5=null;const _0x25a1dc=[0x0];for(let _0x1079d0=0x0;_0x1079d0<_0x12fb2c[_0xc5f2('0x104')];_0x1079d0++){let _0x4610c7,_0x387e9e;if('elementStart'===_0x12fb2c[_0x1079d0]['type']){_0x4610c7=_0x5a6655[_0xc5f2('0x103')](_0x2bc7a9,_0x25a1dc);const _0x16bd7e=new _0x5bd6bc(_0x12fb2c[_0x1079d0][_0xc5f2('0xed')][_0xc5f2('0x7e')],_0x12fb2c[_0x1079d0][_0xc5f2('0xed')]['getAttributes']());_0x5910b7[0x0][_0xc5f2('0x19')](_0x16bd7e),_0x25a1dc[_0xc5f2('0x39')](0x0),_0x5910b7[_0xc5f2('0xfd')](_0x16bd7e),_0x387e9e=_0x5a6655[_0xc5f2('0x103')](_0x2bc7a9,_0x25a1dc),_0x3f3ca5=null;}else{if(_0xc5f2('0xe6')===_0x12fb2c[_0x1079d0]['type'])_0x5910b7[_0xc5f2('0x79')](),_0x4610c7=_0x5a6655[_0xc5f2('0x103')](_0x2bc7a9,_0x25a1dc),_0x25a1dc[_0xc5f2('0xb9')](),_0x25a1dc[_0x25a1dc[_0xc5f2('0x104')]-0x1]++,_0x387e9e=_0x5a6655[_0xc5f2('0x103')](_0x2bc7a9,_0x25a1dc),_0x3f3ca5=null;else{if(_0x4610c7=_0x5a6655[_0xc5f2('0x103')](_0x2bc7a9,_0x25a1dc),_0x3f3ca5&&_0x332187(_0x3f3ca5,_0x12fb2c[_0x1079d0]['item']))_0x3f3ca5[_0xc5f2('0xad')]+=_0x12fb2c[_0x1079d0][_0xc5f2('0xed')][_0xc5f2('0x3e')];else{const _0x522720=new _0x4ca4e1(_0x12fb2c[_0x1079d0][_0xc5f2('0xed')][_0xc5f2('0x3e')],_0x12fb2c[_0x1079d0]['item'][_0xc5f2('0xee')]());_0x5910b7[0x0][_0xc5f2('0x19')](_0x522720),_0x3f3ca5=_0x522720;}_0x25a1dc[_0x25a1dc[_0xc5f2('0x104')]-0x1]+=_0x12fb2c[_0x1079d0]['item']['offsetSize'],_0x387e9e=_0x5a6655[_0xc5f2('0x103')](_0x2bc7a9,_0x25a1dc);}}for(const _0x2a38ff of _0x12fb2c[_0x1079d0][_0xc5f2('0x85')])_0x4c54db[_0xc5f2('0xcf')](_0x2a38ff,{'start':_0x4610c7,'end':null});_0x1e2d03('isRemoveSuggestion',_0x1079d0,_0x4610c7,_0x387e9e),_0x1e2d03(_0xc5f2('0x59'),_0x1079d0,_0x4610c7,_0x387e9e),_0x1e2d03(_0xc5f2('0xbd'),_0x1079d0,_0x4610c7,_0x387e9e),_0x1e2d03(_0xc5f2('0x4e'),_0x1079d0,_0x4610c7,_0x387e9e);for(const _0x3c8860 of _0x12fb2c[_0x1079d0][_0xc5f2('0x22')]){_0x4c54db['get'](_0x3c8860)[_0xc5f2('0xde')]=_0x387e9e;}}for(const [_0x4c4bce,_0x3a81c2]of _0x4c54db){const _0x5880ea=this[_0xc5f2('0xe0')]['model']['createRange'](_0x3a81c2['start'],_0x3a81c2[_0xc5f2('0xde')]);_0x2bc7a9[_0xc5f2('0x63')][_0xc5f2('0xcf')](_0x4c4bce,_0x5880ea);}return _0x3b6290[_0xc5f2('0xb0')]((_0x2360f7,_0x35e63c)=>{const _0x49db51=_0x2bc7a9[_0xc5f2('0x63')]['get']('revision:'+_0x2360f7['id']),_0x26cf20=_0x2bc7a9[_0xc5f2('0x63')][_0xc5f2('0x16')]('revision:'+_0x35e63c['id']);return _0x49db51[_0xc5f2('0x8')][_0xc5f2('0xf9')](_0x26cf20[_0xc5f2('0x8')])?-0x1:_0x49db51[_0xc5f2('0x8')][_0xc5f2('0x105')](_0x26cf20[_0xc5f2('0x8')])?0x1:_0x49db51[_0xc5f2('0xde')]['isBefore'](_0x26cf20[_0xc5f2('0xde')])?-0x1:_0x49db51[_0xc5f2('0xde')][_0xc5f2('0x105')](_0x26cf20[_0xc5f2('0xde')])?0x1:'add'===_0x2360f7[_0xc5f2('0x3f')]?-0x1:0x1;}),{'root':_0x2bc7a9,'changes':_0x3b6290};function _0x1e2d03(_0x54eecc,_0x25df37,_0x23a921,_0x559221){const _0x16d9fb=!!_0x12fb2c[_0x25df37][_0x54eecc],_0x176d07=_0x16d9fb?_0x12fb2c[_0x25df37][_0x54eecc][_0xc5f2('0xcc')]:null,_0x54d678=_0x25df37===_0x12fb2c[_0xc5f2('0x104')]-0x1,_0x3cc3d9=_0x69b05f[_0x54eecc][0x0],_0x13554c=_0x237a0f['isObject'](_0x12fb2c[_0x25df37][_0xc5f2('0xed')]);!_0x4ddef4[_0x54eecc]&&_0x16d9fb?_0x4ddef4[_0x54eecc]={'start':_0x23a921,'tapeItem':_0x12fb2c[_0x25df37],'userId':_0x176d07,'type':_0x54eecc}:_0x4ddef4[_0x54eecc]&&!_0x16d9fb?(_0x4ddef4[_0x54eecc][_0xc5f2('0xde')]=_0x23a921,_0x4e799e(_0x4ddef4[_0x54eecc]),_0x4ddef4[_0x54eecc]=null):_0x4ddef4[_0x54eecc]&&_0x16d9fb&&_0x4ddef4[_0x54eecc][_0xc5f2('0xcc')]!==_0x176d07&&(_0x4ddef4[_0x54eecc][_0xc5f2('0xde')]=_0x23a921,_0x3cc3d9&&_0x3cc3d9['userId']===_0x4ddef4[_0x54eecc]['userId']||_0x4e799e(_0x4ddef4[_0x54eecc]),_0x4ddef4[_0x54eecc]={'start':_0x23a921,'tapeItem':_0x12fb2c[_0x25df37],'userId':_0x176d07,'type':_0x54eecc}),_0x4ddef4[_0x54eecc]&&_0x13554c&&(_0xc5f2('0x30')!==_0x12fb2c[_0x25df37][_0xc5f2('0x3f')]||_0x3cc3d9&&_0x3cc3d9[_0xc5f2('0xcc')]===_0x176d07||_0x69b05f[_0x54eecc][_0xc5f2('0xfd')]({'userId':_0x176d07,'object':_0x12fb2c[_0x25df37][_0xc5f2('0xed')],'change':_0x4ddef4[_0x54eecc]}),_0xc5f2('0xe6')===_0x12fb2c[_0x25df37][_0xc5f2('0x3f')]&&_0x3cc3d9&&_0x3cc3d9['object']===_0x12fb2c[_0x25df37][_0xc5f2('0xed')]&&(_0x69b05f[_0x54eecc][_0xc5f2('0x79')](),_0x4ddef4[_0x54eecc]=_0x3cc3d9[_0xc5f2('0xfe')])),_0x4ddef4[_0x54eecc]&&_0x54d678&&(_0x4ddef4[_0x54eecc]['end']=_0x559221,_0x4e799e(_0x4ddef4[_0x54eecc]),_0x4ddef4[_0x54eecc]=null);}function _0x4e799e({start:_0x1f92cb,end:_0x50b770,tapeItem:_0x2325c0,userId:_0x1d5391,type:_0x5b3cfb}){const _0x3ad1f1=_0x2325c0['item'],_0x26bd22=_0x5a6655[_0xc5f2('0x6')][_0xc5f2('0x10f')](_0x3ad1f1)&&!_0x5a6655[_0xc5f2('0x6')]['isLimit'](_0x3ad1f1),_0x251d6b=_0x1f92cb[_0xc5f2('0xc2')]==_0x50b770[_0xc5f2('0xaf')]&&_0x50b770['isAtStart'];if(_0x26bd22&&_0x251d6b)return;const _0x5adf99=_0x5a6655[_0xc5f2('0xd5')](_0x1f92cb,_0x50b770),_0x54d935=_0x5df1dd[_0xc5f2('0x16')](_0x1d5391),_0x3a50a7=new _0x129f34({'author':_0x54d935,'type':_0xc5f2('0x4e')==_0x5b3cfb||_0xc5f2('0x59')==_0x5b3cfb?_0xc5f2('0x2f'):'remove','data':{'isSuggestion':_0xc5f2('0x59')==_0x5b3cfb||_0xc5f2('0x4f')==_0x5b3cfb},'createdAt':new Date()});_0x3b6290[_0xc5f2('0x39')](_0x3a50a7),_0x2bc7a9[_0xc5f2('0x63')][_0xc5f2('0xcf')]('revision:'+_0x3a50a7['id'],_0x5adf99);}function _0x332187(_0x410b1c,_0x5b51fd){const _0x17bc33=_0x410b1c[_0xc5f2('0xee')](),_0x261356=_0x5b51fd['getAttributes']();for(const _0x9593d9 of _0x17bc33){if(_0x9593d9[0x1]!==_0x5b51fd['getAttribute'](_0x9593d9[0x0]))return!0x1;_0x261356[_0xc5f2('0xf')]();}return _0x261356['next']()[_0xc5f2('0x31')];}}[_0xc5f2('0x77')](){this[_0xc5f2('0xe0')]['conversion'][_0xc5f2('0xe9')](_0xc5f2('0x60'))[_0xc5f2('0x28')]({'view':_0xc5f2('0x10c')}),this[_0xc5f2('0xe0')]['conversion'][_0xc5f2('0xe9')](_0xc5f2('0xc5'))[_0xc5f2('0xc')]({'model':_0xc5f2('0x10c'),'view':_0x58a7a0=>{const _0x3f81ef=_0x58a7a0[_0xc5f2('0x1d')]['split'](':')[0x1],_0x3ff293=this[_0xc5f2('0xec')](_0x3f81ef);if(!_0x3ff293)return null;const _0x2e9883=_0xc5f2('0x2f')==_0x3ff293['type']?'insertion':_0xc5f2('0xe1'),_0x360c12=['ck-suggestion-marker',_0xc5f2('0x2b')+_0x2e9883];return _0x3ff293[_0xc5f2('0x3e')][_0xc5f2('0x75')]&&_0x360c12[_0xc5f2('0x39')]('ck-suggestion-marker-'+_0x2e9883+_0xc5f2('0x37')),this[_0xc5f2('0xa3')]==_0x3ff293&&_0x360c12[_0xc5f2('0x39')](_0xc5f2('0xe')),{'classes':_0x360c12,'attributes':{'data-change-id':_0x3f81ef}};}}),this['editor'][_0xc5f2('0x80')][_0xc5f2('0xe9')](_0xc5f2('0x60'))[_0xc5f2('0x2f')](_0x179870=>{_0x179870['on'](_0xc5f2('0xb5'),(_0x577a09,_0x3921e0,_0x21a5f3)=>{const _0x4612f2=_0x3921e0[_0xc5f2('0xfc')]['getChild'](0x0);if(!_0x4612f2||!_0x4612f2['is'](_0xc5f2('0xfb'),'code'))return;if(!_0x21a5f3['consumable'][_0xc5f2('0x7d')](_0x4612f2,{'attributes':[_0xc5f2('0x66'),_0xc5f2('0x42')]}))return;const _0x368d30=_0x3921e0[_0xc5f2('0xe7')]['start'][_0xc5f2('0xc2')];_0x21a5f3[_0xc5f2('0x9a')]['setAttribute'](_0xc5f2('0x66'),_0x4612f2[_0xc5f2('0x51')](_0xc5f2('0x66')),_0x368d30),_0x21a5f3[_0xc5f2('0x9a')][_0xc5f2('0x86')](_0xc5f2('0x42'),_0x4612f2[_0xc5f2('0x51')](_0xc5f2('0x42')),_0x368d30);},{'priority':_0xc5f2('0x52')});}),this[_0xc5f2('0xe0')]['conversion'][_0xc5f2('0xe9')](_0xc5f2('0x60'))['add'](_0x452daf=>{_0x452daf['on'](_0xc5f2('0xfb'),(_0x3a6f33,_0x56cacb,_0x55a388)=>{if(!_0x55a388[_0xc5f2('0xd1')][_0xc5f2('0x7d')](_0x56cacb[_0xc5f2('0xfc')],{'attributes':[_0xc5f2('0x66'),'vid_end']}))return;if(_0x56cacb['modelRange'][_0xc5f2('0xa9')])return;const _0x388c2d=_0x56cacb[_0xc5f2('0xe7')][_0xc5f2('0x8')]['nodeAfter'];_0x388c2d[_0xc5f2('0x2')]('vid_start')||_0x388c2d[_0xc5f2('0x2')](_0xc5f2('0x64'))||(_0x55a388[_0xc5f2('0x9a')]['setAttribute'](_0xc5f2('0x66'),_0x56cacb[_0xc5f2('0xfc')]['getAttribute'](_0xc5f2('0x66')),_0x388c2d),_0x55a388[_0xc5f2('0x9a')]['setAttribute'](_0xc5f2('0x42'),_0x56cacb[_0xc5f2('0xfc')][_0xc5f2('0x51')](_0xc5f2('0x42')),_0x388c2d));},{'priority':_0xc5f2('0x52')});}),this[_0xc5f2('0xe0')][_0xc5f2('0x80')][_0xc5f2('0xe9')]('upcast')[_0xc5f2('0x71')]({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':_0xc5f2('0x64'),'value':_0x373c5a=>_0x373c5a[_0xc5f2('0x51')](_0xc5f2('0x64'))}}),this[_0xc5f2('0xe0')][_0xc5f2('0xb7')][_0xc5f2('0x6')]['on'](_0xc5f2('0x78'),(_0x40438a,[,_0x1d353b])=>{[_0xc5f2('0x66'),'vid_end',_0xc5f2('0x64')][_0xc5f2('0x72')](_0x1d353b)&&(_0x40438a[_0xc5f2('0xd')]=!0x0,_0x40438a[_0xc5f2('0x98')]());},{'priority':_0xc5f2('0x82')}),this['editor'][_0xc5f2('0x80')][_0xc5f2('0xe9')](_0xc5f2('0xb3'))['add'](_0x32e793=>{_0x32e793['on'](_0xc5f2('0x36'),(_0x1a6a31,_0x3b8508,_0x39deab)=>{if('\x20'!=_0x3b8508[_0xc5f2('0xed')][_0xc5f2('0x3e')]||_0x3b8508[_0xc5f2('0xed')][_0xc5f2('0xaf')]['maxOffset']>0x1)return;if(!_0x39deab['consumable'][_0xc5f2('0x7d')](_0x3b8508['item'],_0x1a6a31[_0xc5f2('0x7e')]))return;const _0x25bd20=_0x39deab[_0xc5f2('0x9a')],_0x1eaf3c=_0x39deab[_0xc5f2('0x70')][_0xc5f2('0x10')](_0x3b8508['range']);_0x25bd20[_0xc5f2('0x6c')](_0x1eaf3c,_0x25bd20[_0xc5f2('0x9b')](_0xc5f2('0x54')));});}),this[_0xc5f2('0xe0')][_0xc5f2('0x80')]['for'](_0xc5f2('0xb3'))['markerToData']({'model':'revision'}),this['editor'][_0xc5f2('0xbc')][_0xc5f2('0x8a')]['on'](_0xc5f2('0x2a'),function(_0xac426a){const _0x5e7c2f=_0xac426a[_0xc5f2('0x35')][_0xc5f2('0x16')](_0xc5f2('0x26'));return(_0x5e626f,_0x525e85,_0x136acd)=>{const _0xa0b8af=_0x525e85['markerName'][_0xc5f2('0x94')](':')[0x1],_0x5c0c12=_0x5e7c2f['_getChangeFromId'](_0xa0b8af);if(!_0x5c0c12)return null;const _0x1b86e3=_0xc5f2('0x2f')==_0x5c0c12['type']?_0xc5f2('0x94'):_0xc5f2('0xa');if(!_0x136acd[_0xc5f2('0xd1')][_0xc5f2('0x5c')](_0x525e85['markerRange'],_0x5e626f[_0xc5f2('0x7e')]))return;const _0xec0e29=_0x525e85[_0xc5f2('0xf1')][_0xc5f2('0xea')](),_0x2f5535=_0x525e85[_0xc5f2('0xf1')][_0xc5f2('0x8')],_0xa10c33=_0xac426a[_0xc5f2('0xb7')][_0xc5f2('0x6')];let _0x27b387=null,_0x5ba2ad=null,_0x311c39=!0x1,_0x1827bc=!0x1;for(const _0xaf8d86 of _0xec0e29){const _0x51e562=_0xaf8d86[_0xc5f2('0xed')];_0x311c39=_0x311c39||_0xa10c33['isContent'](_0x51e562);const _0x476dbd=_0x136acd[_0xc5f2('0x70')][_0xc5f2('0xd3')](_0x51e562);if(_0x476dbd&&_0x476dbd[_0xc5f2('0xf2')](_0xc5f2('0x7f')))return;_0xc5f2('0xe6')==_0xaf8d86['type']&&(_0xa10c33[_0xc5f2('0x10f')](_0x51e562)&&!_0xa10c33[_0xc5f2('0x53')](_0x51e562)&&(_0x51e562[_0xc5f2('0xc8')]||_0x2f5535['isAtEnd']?_0x27b387&&_0x27b387[_0xc5f2('0xaf')]==_0x51e562||(_0x27b387=_0x51e562,_0x2d9154(_0xaf8d86[_0xc5f2('0x9c')]),_0x1827bc=!0x0):_0x5ba2ad=_0x5ba2ad||_0xaf8d86[_0xc5f2('0x9c')]));}function _0x2d9154(_0x4c59e4){const _0x14392d=_0x136acd[_0xc5f2('0x9a')][_0xc5f2('0xd7')]('span',{'class':_0xc5f2('0x2b')+_0x1b86e3}),_0x796cc3=_0x136acd['mapper'][_0xc5f2('0x5f')](_0x4c59e4);_0x5c0c12[_0xc5f2('0x3e')][_0xc5f2('0x75')]&&_0x136acd[_0xc5f2('0x9a')]['addClass'](_0xc5f2('0x2b')+_0x1b86e3+_0xc5f2('0x37'),_0x14392d),_0x5e7c2f[_0xc5f2('0xa3')]==_0x5c0c12&&_0x136acd[_0xc5f2('0x9a')][_0xc5f2('0x102')](_0xc5f2('0xe'),_0x14392d),_0x136acd[_0xc5f2('0x9a')][_0xc5f2('0xab')](_0x796cc3,_0x14392d),_0x136acd['mapper'][_0xc5f2('0x73')](_0x14392d,_0x525e85[_0xc5f2('0x1d')]);}_0x311c39||_0x1827bc||!_0x5ba2ad||_0x2d9154(_0x5ba2ad);};}(this[_0xc5f2('0xe0')]),{'priority':_0xc5f2('0xb4')}),this[_0xc5f2('0xe0')]['editing']['downcastDispatcher']['on'](_0xc5f2('0xdf'),(_0x1ba45a,_0x50e8a3,_0x507226)=>{const _0x27511b=_0x507226[_0xc5f2('0x70')][_0xc5f2('0x46')](_0x50e8a3['markerName']);if(_0x27511b)for(const _0x4a55b0 of _0x27511b)(_0x4a55b0[_0xc5f2('0xbe')]('ck-suggestion-marker-split')||_0x4a55b0[_0xc5f2('0xbe')](_0xc5f2('0x7')))&&(_0x507226[_0xc5f2('0x70')][_0xc5f2('0x27')](_0x4a55b0,_0x50e8a3[_0xc5f2('0x1d')]),_0x507226['writer'][_0xc5f2('0x89')](_0x4a55b0));},{'priority':_0xc5f2('0xb4')}),this[_0xc5f2('0xe0')]['editing'][_0xc5f2('0x8a')]['on']('addMarker:revision',(_0x268a61,_0x2ecacd,_0x126990)=>{const _0x2e8947=_0x2ecacd[_0xc5f2('0x1d')]['split'](':')[0x1],_0x5588d8=this[_0xc5f2('0xec')](_0x2e8947);if(!_0x5588d8)return null;const _0x412a40='add'==_0x5588d8[_0xc5f2('0x3f')]?_0xc5f2('0x94'):_0xc5f2('0xa');if(_0x126990['consumable'][_0xc5f2('0x5c')](_0x2ecacd[_0xc5f2('0xf1')],_0x268a61['name']))for(const _0x3e3c6c of _0x2ecacd[_0xc5f2('0xf1')][_0xc5f2('0x38')]()){if(!_0x3e3c6c['is'](_0xc5f2('0xfb'),'softBreak'))continue;const _0x916a40=_0x126990[_0xc5f2('0x9a')][_0xc5f2('0xd7')]('span',{'class':_0xc5f2('0x2b')+_0x412a40}),_0x53bc09=_0x126990[_0xc5f2('0x70')][_0xc5f2('0x5f')](this[_0xc5f2('0xe0')]['model'][_0xc5f2('0xa2')](_0x3e3c6c));_0x5588d8[_0xc5f2('0x3e')][_0xc5f2('0x75')]&&_0x126990[_0xc5f2('0x9a')]['addClass']('ck-suggestion-marker-'+_0x412a40+'-new',_0x916a40),this[_0xc5f2('0xa3')]==_0x5588d8&&_0x126990[_0xc5f2('0x9a')][_0xc5f2('0x102')](_0xc5f2('0xe'),_0x916a40),_0x126990['writer'][_0xc5f2('0xab')](_0x53bc09,_0x916a40),_0x126990['mapper'][_0xc5f2('0x73')](_0x916a40,_0x2ecacd[_0xc5f2('0x1d')]);}},{'priority':_0xc5f2('0xb4')}),this['editor'][_0xc5f2('0x80')][_0xc5f2('0xe9')]('upcast')['dataToMarker']({'view':'comment','model':_0x2962e2=>'revision-comment:'+_0x2962e2,'converterPriority':'highest'}),this['editor'][_0xc5f2('0x80')]['for'](_0xc5f2('0x60'))['dataToMarker']({'view':'suggestion','model':_0x12b9ba=>_0xc5f2('0x48')+_0x12b9ba,'converterPriority':_0xc5f2('0x82')}),this[_0xc5f2('0xe0')][_0xc5f2('0x80')]['for'](_0xc5f2('0xb3'))['markerToData']({'model':_0xc5f2('0x4c'),'view':_0x475d2d=>({'name':'suggestion:'+_0x475d2d,'group':'revision-suggestion'}),'converterPriority':_0xc5f2('0x82')}),this[_0xc5f2('0xe0')][_0xc5f2('0x80')][_0xc5f2('0xe9')](_0xc5f2('0xc5'))['markerToHighlight']({'model':'revision-suggestion','view':_0x1a7343=>{const _0x30cf2f=_0x1a7343[_0xc5f2('0x1d')][_0xc5f2('0x94')](':')[0x1];return'insertion'!=_0x30cf2f&&_0xc5f2('0xe1')!=_0x30cf2f?null:{'classes':[_0xc5f2('0x10a'),_0xc5f2('0x67')+_0x30cf2f]};}}),this['editor'][_0xc5f2('0xbc')][_0xc5f2('0x8a')]['on'](_0xc5f2('0xb6'),Q(this[_0xc5f2('0xe0')],'merge'),{'priority':'high'}),this[_0xc5f2('0xe0')][_0xc5f2('0xbc')][_0xc5f2('0x8a')]['on'](_0xc5f2('0xeb'),Q(this[_0xc5f2('0xe0')],_0xc5f2('0x94')),{'priority':_0xc5f2('0xb4')}),this[_0xc5f2('0xe0')]['editing'][_0xc5f2('0x8a')]['on'](_0xc5f2('0xc4'),(_0x1b8d14,_0x477798,_0x516c1a)=>{const _0x4284bc=_0x516c1a[_0xc5f2('0x70')]['markerNameToElements'](_0x477798[_0xc5f2('0x1d')]);if(_0x4284bc)for(const _0x372d22 of _0x4284bc)_0x372d22['is']('uiElement')&&(_0x516c1a[_0xc5f2('0x70')]['unbindElementFromMarkerName'](_0x372d22,_0x477798[_0xc5f2('0x1d')]),_0x516c1a[_0xc5f2('0x9a')][_0xc5f2('0x89')](_0x372d22));},{'priority':_0xc5f2('0xb4')});}[_0xc5f2('0xec')](_0x1d9b02){return this['_changeIdToChange'][_0xc5f2('0x16')](_0x1d9b02);}[_0xc5f2('0xbf')](_0x544854){return this['_changeView']&&this[_0xc5f2('0x9e')][_0xc5f2('0x5a')](),this[_0xc5f2('0x9e')]=new _0x4de06a(this[_0xc5f2('0xe0')][_0xc5f2('0x76')],_0x544854),this[_0xc5f2('0x9e')];}[_0xc5f2('0xa8')](){this[_0xc5f2('0xe0')][_0xc5f2('0xb7')]['document'][_0xc5f2('0x18')]['observeMarkers'](_0xc5f2('0x10c')),this['on'](_0xc5f2('0x106'),(_0x5bb06a,_0x122cb7,_0x20825c,_0x5c657c)=>{_0x5c657c&&this[_0xc5f2('0xdd')][_0xc5f2('0x89')](_0x5c657c),_0x20825c&&(this['_balloon'][_0xc5f2('0x2f')]({'view':_0x20825c,'stackId':_0xc5f2('0x6a'),'position':{'target':()=>{const _0x31271e=this[_0xc5f2('0xe0')][_0xc5f2('0xbc')],_0x21e2d9=this[_0xc5f2('0xe0')][_0xc5f2('0xb7')]['markers'][_0xc5f2('0x16')](_0xc5f2('0x3')+_0x20825c[_0xc5f2('0xdb')]),_0xece500=Array[_0xc5f2('0x33')](_0x31271e[_0xc5f2('0x70')][_0xc5f2('0x46')](_0x21e2d9[_0xc5f2('0x7e')]))[_0xc5f2('0x3a')](_0x4c5184=>_0x31271e[_0xc5f2('0x5d')][_0xc5f2('0xce')][_0xc5f2('0x8b')](_0x4c5184))['map'](_0x4be0ac=>Array[_0xc5f2('0x33')](_0x4be0ac[_0xc5f2('0x40')]()))['flat']();if(!this[_0xc5f2('0xf4')])return _0xece500[0x0];return _0xece500[_0xc5f2('0x5b')](_0x5f4d20=>_0x5f4d20['top']-0x3<=this[_0xc5f2('0xf4')]['y']&&_0x5f4d20[_0xc5f2('0x99')]+0x3>=this[_0xc5f2('0xf4')]['y']&&_0x5f4d20[_0xc5f2('0xd2')]-0x3<=this[_0xc5f2('0xf4')]['x']&&_0x5f4d20[_0xc5f2('0x20')]+0x3>=this[_0xc5f2('0xf4')]['x'])||_0xece500[0x0];}}}),this[_0xc5f2('0xdd')]['showStack']('revisionHistoryLabel'));}),this['on'](_0xc5f2('0x4a'),(_0x45eaea,_0x55e427,_0x3cdcbf,_0x2ebd6e)=>{this[_0xc5f2('0x6e')]=_0x3cdcbf?this['_getViewForChange'](_0x3cdcbf):null,this[_0xc5f2('0xe0')]['model'][_0xc5f2('0xfe')](()=>{const _0x14f8ac=this[_0xc5f2('0xe0')][_0xc5f2('0xbc')];_0x2ebd6e&&_0x14f8ac[_0xc5f2('0x12')](_0xc5f2('0x3')+_0x2ebd6e['id']),_0x3cdcbf&&_0x14f8ac['reconvertMarker']('revision:'+_0x3cdcbf['id']);});}),this[_0xc5f2('0xc1')](this[_0xc5f2('0xe0')][_0xc5f2('0xbc')]['view'][_0xc5f2('0xf6')],_0xc5f2('0x10e'),(_0x33255d,_0x90af64)=>{if(this[_0xc5f2('0xa3')])return;const _0x40a379=this[_0xc5f2('0x8c')](_0x90af64[_0xc5f2('0xa1')]),_0x42be5c=this[_0xc5f2('0xfa')][_0xc5f2('0x16')](_0x40a379);_0x42be5c?(this[_0xc5f2('0xf4')]={'x':_0x90af64['domEvent']['x'],'y':_0x90af64[_0xc5f2('0x3c')]['y']},this[_0xc5f2('0x6e')]=this['_getViewForChange'](_0x42be5c)):(this[_0xc5f2('0xf4')]=null,this['activeView']=null);}),this[_0xc5f2('0xc1')](this[_0xc5f2('0xe0')][_0xc5f2('0xbc')]['view'][_0xc5f2('0xf6')],'mousedown',(_0x44edd6,_0x6d2af2)=>{const _0x4a0e2c=this[_0xc5f2('0x8c')](_0x6d2af2['target']),_0x1b789c=this[_0xc5f2('0xfa')][_0xc5f2('0x16')](_0x4a0e2c);_0x1b789c?(this[_0xc5f2('0xf4')]={'x':_0x6d2af2[_0xc5f2('0x3c')]['x'],'y':_0x6d2af2[_0xc5f2('0x3c')]['y']},_0x1b789c===this['activeChange']?this[_0xc5f2('0xdd')]['updatePosition']():this[_0xc5f2('0xa3')]=_0x1b789c):(this['_activeViewTarget']=null,this[_0xc5f2('0xa3')]=null);});}[_0xc5f2('0x8c')](_0x563b7e){do{const _0x20e065=_0x563b7e[_0xc5f2('0x51')](_0xc5f2('0x74'));if(_0x20e065)return _0x20e065;_0x563b7e=_0x563b7e[_0xc5f2('0xaf')];}while(_0x563b7e);return null;}['_cleanMarkers'](){this[_0xc5f2('0xe0')][_0xc5f2('0xb7')][_0xc5f2('0xfe')](_0x4c916d=>{for(const _0x5016ce of this[_0xc5f2('0xe0')][_0xc5f2('0xb7')][_0xc5f2('0x63')])_0x4c916d[_0xc5f2('0x6b')](_0x5016ce);});}}function Q(_0x2f5726,_0x5e8fc7){return(_0x57c976,_0x3afff7,_0x539bcb)=>{if(!_0x539bcb['consumable'][_0xc5f2('0x5c')](_0x3afff7[_0xc5f2('0xf1')],_0x57c976['name']))return;const _0xa161e9=_0x3afff7['markerRange'][_0xc5f2('0xea')](),_0x3e5e1c=_0x3afff7['markerRange'][_0xc5f2('0x8')],_0x7ee0c=_0x2f5726[_0xc5f2('0xb7')][_0xc5f2('0x6')];let _0x62ab29=null,_0x34af77=null,_0x385962=!0x1,_0x1c419d=!0x1;for(const _0x55b820 of _0xa161e9){const _0xf5244c=_0x55b820[_0xc5f2('0xed')];_0x385962=_0x385962||_0x7ee0c[_0xc5f2('0x93')](_0xf5244c);const _0x2347e7=_0x539bcb[_0xc5f2('0x70')]['toViewElement'](_0xf5244c);if(_0x2347e7&&_0x2347e7[_0xc5f2('0xf2')]('addHighlight'))return;'elementEnd'==_0x55b820[_0xc5f2('0x3f')]&&(_0x7ee0c[_0xc5f2('0x10f')](_0xf5244c)&&!_0x7ee0c[_0xc5f2('0x53')](_0xf5244c)&&(_0xf5244c['nextSibling']||_0x3e5e1c[_0xc5f2('0xae')]?_0x62ab29&&_0x62ab29[_0xc5f2('0xaf')]==_0xf5244c||(_0x62ab29=_0xf5244c,_0x460a64(_0x55b820[_0xc5f2('0x9c')]),_0x1c419d=!0x0):_0x34af77=_0x34af77||_0x55b820['previousPosition']));}function _0x460a64(_0x3fd968){const _0x18dde5=_0x539bcb[_0xc5f2('0x70')][_0xc5f2('0x5f')](_0x3fd968),_0x48cef4=_0x539bcb[_0xc5f2('0x9a')][_0xc5f2('0xd7')](_0xc5f2('0x54'),{'class':_0xc5f2('0x67')+_0x5e8fc7});_0x539bcb[_0xc5f2('0x9a')][_0xc5f2('0xab')](_0x18dde5,_0x48cef4),_0x539bcb[_0xc5f2('0x70')]['bindElementToMarker'](_0x48cef4,_0x3afff7[_0xc5f2('0x1d')]);}_0x385962||_0x1c419d||!_0x34af77||_0x460a64(_0x34af77);};}export class RestoreRevisionCommand extends _0x4f7e50{constructor(_0x4f8d26){super(_0x4f8d26);const _0x3a5a9f=_0x4f8d26[_0xc5f2('0x35')][_0xc5f2('0x16')](y);this[_0xc5f2('0x95')](_0x4f8d26,_0xc5f2('0x65')),this[_0xc5f2('0x13')](_0xc5f2('0xd8')),this[_0xc5f2('0xc1')](_0x3a5a9f,'change:isReady',()=>this[_0xc5f2('0x61')]()),this[_0xc5f2('0xc1')](_0x3a5a9f,_0xc5f2('0xc9'),()=>this[_0xc5f2('0x61')]());}['execute'](){const _0x21f7f2=this[_0xc5f2('0xe0')],_0x2c7c9a=_0x21f7f2[_0xc5f2('0x35')][_0xc5f2('0x16')](y),_0x4c1957=_0x2c7c9a['isReady']?_0x2c7c9a[_0xc5f2('0x11')][_0xc5f2('0x91')]:null;_0x21f7f2[_0xc5f2('0x90')][_0xc5f2('0x16')](_0xc5f2('0x107'))['restoreRevisionCallback'](_0x4c1957);}[_0xc5f2('0x61')](){const {isReady:_0x18d788,isEnabled:_0x400054}=this[_0xc5f2('0xe0')]['plugins'][_0xc5f2('0x16')](y);this[_0xc5f2('0x109')]=_0x18d788&&_0x400054;}}export class ShowChangeCommand extends _0x4f7e50{constructor(_0x214b1c,{direction:_0x18ede4}){super(_0x214b1c);const _0x39e16f=_0x214b1c[_0xc5f2('0x35')][_0xc5f2('0x16')](y);this['stopListening'](_0x214b1c,'change:isReadOnly'),this[_0xc5f2('0x13')](_0xc5f2('0xd8')),this['_step']=_0xc5f2('0x3d')===_0x18ede4?0x1:-0x1,this[_0xc5f2('0xc1')](_0x39e16f,_0xc5f2('0xc7'),()=>this[_0xc5f2('0x61')]()),this[_0xc5f2('0xc1')](_0x39e16f,_0xc5f2('0xc9'),()=>this[_0xc5f2('0x61')]());}[_0xc5f2('0x45')](){const _0x1d884a=this[_0xc5f2('0xe0')],_0x3835a=_0x1d884a['plugins'][_0xc5f2('0x16')](y),{isNavigationMode:_0x3f2b88,currentChangeNumber:_0x4f34d4}=_0x3835a;_0x3835a[_0xc5f2('0xa3')]=_0x3f2b88?_0x3835a[_0xc5f2('0x11')]['changes']['get'](_0x4f34d4+this[_0xc5f2('0x56')]):_0x3835a[_0xc5f2('0x11')]['changes'][_0xc5f2('0xa5')];const _0x41ee14=_0x1d884a[_0xc5f2('0xb7')][_0xc5f2('0x63')]['get'](_0xc5f2('0x3')+_0x3835a['activeChange']['id']),_0x2d3b45=_0x11e2f9(_0x1d884a[_0xc5f2('0xbc')],_0x41ee14);_0x1c7f51({'target':_0x2d3b45,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x13a37d,currentChangeNumber:_0x52a9fc,numberOfChanges:_0x1e9acf,isReady:_0x577ca2,isEnabled:_0x4046fc}=this[_0xc5f2('0xe0')][_0xc5f2('0x35')]['get'](y);this[_0xc5f2('0x109')]=!!(_0x4046fc&&_0x577ca2&&_0x1e9acf)&&(!_0x13a37d||(0x1===this[_0xc5f2('0x56')]?_0x52a9fc<_0x1e9acf-0x1:_0x52a9fc>0x0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3251=['buttonView','threeVerticalDots','button','locale','listenTo','isReady','panelPosition','bindTemplate','Show\x20more\x20items','items','children','execute','model','isActionsDropdownOpen','action','ck-revision-history-sidebar__revision__actions','class','name','isEnabled','bind','add','source','function','ck-on','isVisible','_action','Compare\x20against\x20selected','Restore\x20this\x20revision','find'];(function(_0x47c294,_0x325143){const _0x3dc456=function(_0x36a4f4){while(--_0x36a4f4){_0x47c294['push'](_0x47c294['shift']());}};_0x3dc456(++_0x325143);}(_0x3251,0x191));const _0x3dc4=function(_0x47c294,_0x325143){_0x47c294=_0x47c294-0x0;let _0x3dc456=_0x3251[_0x47c294];return _0x3dc456;};import{Collection as _0x370076}from'ckeditor5/src/utils';import{icons as _0x57d162}from'ckeditor5/src/core';import{Model as _0xb8bf13,addListToDropdown as _0x3e8ef0,createDropdown as _0x11ed24}from'ckeditor5/src/ui';import{getTranslation as _0x2bb063}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x4be82d,_0x388f0f){const _0x48b4bc=_0x4be82d[_0x3dc4('0xc')],_0xff8c8d=_0x4be82d['locale'],_0x18923e=_0x11ed24(_0xff8c8d);_0x18923e[_0x3dc4('0xb')]='sw';const _0x1c86f9=function(_0x67623e,_0x188e01){const _0x557bce=function(_0x117056,_0x1d7175){const _0x514939=_0x117056[_0x3dc4('0x8')],_0x14d53a={'Compare\x20against\x20selected':_0x2bb063(_0x514939,_0x3dc4('0x2')),'Name\x20this\x20revision':_0x2bb063(_0x514939,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x2bb063(_0x514939,_0x3dc4('0x3'))};return _0x1d7175['map'](_0x547a3d=>{const _0x2053d4=_0x14d53a[_0x547a3d[_0x3dc4('0x16')]];return _0x2053d4&&_0x2053d4!==_0x547a3d[_0x3dc4('0x16')]&&(_0x547a3d['name']=_0x2053d4),_0x547a3d;});}(_0x67623e,_0x188e01),_0xd61e08=new _0x370076();for(const _0x54d7de of _0x557bce){const _0xa8c201={'type':_0x3dc4('0x7'),'model':new _0xb8bf13({'label':_0x54d7de[_0x3dc4('0x16')],'class':_0x54d7de[_0x3dc4('0x15')],'withText':!0x0,'_action':_0x54d7de[_0x3dc4('0x13')]})};_0xa8c201[_0x3dc4('0x11')][_0x3dc4('0x18')](_0x3dc4('0x17'))['to'](_0x67623e,'isActionsDropdownOpen',_0x502754=>_0x3dc4('0x1b')!=typeof _0x54d7de[_0x3dc4('0x17')]||(!_0x502754||_0x54d7de[_0x3dc4('0x17')](_0x67623e))),_0xd61e08[_0x3dc4('0x19')](_0xa8c201);}return _0xd61e08;}(_0x4be82d,_0x388f0f);return _0x4be82d[_0x3dc4('0x18')](_0x3dc4('0x12'))['to'](_0x18923e,'isOpen'),_0x18923e[_0x3dc4('0x5')]['set']({'label':_0x2bb063(_0xff8c8d,_0x3dc4('0xd')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x57d162[_0x3dc4('0x6')]}),_0x18923e['extendTemplate']({'attributes':{'class':[_0x3dc4('0x14'),_0x48b4bc['if'](_0x3dc4('0x12'),_0x3dc4('0x1c'))]},'on':{'click':_0x48b4bc['to'](_0x1b0846=>_0x1b0846['stopPropagation']())}}),_0x18923e['on'](_0x3dc4('0x10'),_0x1cb5df=>{_0x4be82d[_0x3dc4('0xa')]&&_0x3dc4('0x1b')==typeof _0x1cb5df[_0x3dc4('0x1a')][_0x3dc4('0x1')]&&_0x1cb5df[_0x3dc4('0x1a')][_0x3dc4('0x1')](_0x4be82d);}),_0x3e8ef0(_0x18923e,_0x1c86f9),_0x18923e[_0x3dc4('0x9')](_0x4be82d,'change:isActionsDropdownOpen',(_0x2c5db6,_0x1ab20b,_0x8287e4)=>{if(_0x8287e4)for(const _0xeba407 of _0x18923e['listView'][_0x3dc4('0xe')]){const _0x4294dc=_0xeba407[_0x3dc4('0xf')]['first'],_0x14a3d3=_0x388f0f[_0x3dc4('0x4')](_0xe18b47=>_0xe18b47['action']===_0x4294dc[_0x3dc4('0x1')])[_0x3dc4('0x0')];_0xeba407[_0x3dc4('0x0')]=void 0x0===_0x14a3d3||_0x14a3d3(_0x4be82d);}}),_0x18923e;}
23
+ const _0x4eeb=['threeVerticalDots','locale','Show\x20more\x20items','function','buttonView','ck-revision-history-sidebar__revision__actions','bind','isEnabled','action','listenTo','children','map','_action','name','extendTemplate','add','Compare\x20against\x20selected','isVisible','source','button','class','model','panelPosition','isActionsDropdownOpen','bindTemplate','find','items','set'];(function(_0x25dcb8,_0x4eeb15){const _0x1cd71e=function(_0x32567c){while(--_0x32567c){_0x25dcb8['push'](_0x25dcb8['shift']());}};_0x1cd71e(++_0x4eeb15);}(_0x4eeb,0x103));const _0x1cd7=function(_0x25dcb8,_0x4eeb15){_0x25dcb8=_0x25dcb8-0x0;let _0x1cd71e=_0x4eeb[_0x25dcb8];return _0x1cd71e;};import{Collection as _0x1ec035}from'ckeditor5/src/utils';import{icons as _0x5113c9}from'ckeditor5/src/core';import{Model as _0x3b3e59,addListToDropdown as _0x3f4e6b,createDropdown as _0x151e08}from'ckeditor5/src/ui';import{getTranslation as _0x236acb}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x49b24b,_0x5e1757){const _0x4605f9=_0x49b24b[_0x1cd7('0x11')],_0x3ef025=_0x49b24b[_0x1cd7('0x16')],_0x5c1247=_0x151e08(_0x3ef025);_0x5c1247[_0x1cd7('0xf')]='sw';const _0x2b219b=function(_0x1c6cd7,_0x203f85){const _0x77d170=function(_0x5bd061,_0x2098d4){const _0xcaafc=_0x5bd061['locale'],_0xf041b7={'Compare\x20against\x20selected':_0x236acb(_0xcaafc,_0x1cd7('0x9')),'Name\x20this\x20revision':_0x236acb(_0xcaafc,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x236acb(_0xcaafc,'Restore\x20this\x20revision')};return _0x2098d4[_0x1cd7('0x4')](_0x269e7d=>{const _0x5384d6=_0xf041b7[_0x269e7d[_0x1cd7('0x6')]];return _0x5384d6&&_0x5384d6!==_0x269e7d[_0x1cd7('0x6')]&&(_0x269e7d[_0x1cd7('0x6')]=_0x5384d6),_0x269e7d;});}(_0x1c6cd7,_0x203f85),_0x726f45=new _0x1ec035();for(const _0x329968 of _0x77d170){const _0x71274c={'type':_0x1cd7('0xc'),'model':new _0x3b3e59({'label':_0x329968[_0x1cd7('0x6')],'class':_0x329968[_0x1cd7('0xd')],'withText':!0x0,'_action':_0x329968[_0x1cd7('0x1')]})};_0x71274c[_0x1cd7('0xe')][_0x1cd7('0x1b')](_0x1cd7('0x0'))['to'](_0x1c6cd7,_0x1cd7('0x10'),_0x27370d=>_0x1cd7('0x18')!=typeof _0x329968[_0x1cd7('0x0')]||(!_0x27370d||_0x329968[_0x1cd7('0x0')](_0x1c6cd7))),_0x726f45[_0x1cd7('0x8')](_0x71274c);}return _0x726f45;}(_0x49b24b,_0x5e1757);return _0x49b24b['bind'](_0x1cd7('0x10'))['to'](_0x5c1247,'isOpen'),_0x5c1247[_0x1cd7('0x19')][_0x1cd7('0x14')]({'label':_0x236acb(_0x3ef025,_0x1cd7('0x17')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5113c9[_0x1cd7('0x15')]}),_0x5c1247[_0x1cd7('0x7')]({'attributes':{'class':[_0x1cd7('0x1a'),_0x4605f9['if'](_0x1cd7('0x10'),'ck-on')]},'on':{'click':_0x4605f9['to'](_0x29741a=>_0x29741a['stopPropagation']())}}),_0x5c1247['on']('execute',_0x428b56=>{_0x49b24b['isReady']&&_0x1cd7('0x18')==typeof _0x428b56[_0x1cd7('0xb')]['_action']&&_0x428b56[_0x1cd7('0xb')][_0x1cd7('0x5')](_0x49b24b);}),_0x3f4e6b(_0x5c1247,_0x2b219b),_0x5c1247[_0x1cd7('0x2')](_0x49b24b,'change:isActionsDropdownOpen',(_0x2406ba,_0x3fd325,_0x41d64e)=>{if(_0x41d64e)for(const _0x394f33 of _0x5c1247['listView'][_0x1cd7('0x13')]){const _0xe22146=_0x394f33[_0x1cd7('0x3')]['first'],_0x43df7c=_0x5e1757[_0x1cd7('0x12')](_0x293920=>_0x293920[_0x1cd7('0x1')]===_0xe22146[_0x1cd7('0x5')])[_0x1cd7('0xa')];_0x394f33['isVisible']=void 0x0===_0x43df7c||_0x43df7c(_0x49b24b);}}),_0x5c1247;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4db6=['setTemplate','ck-revision-history-sidebar__revision-author__name','Revision\x20creator','ck-revision-history-sidebar__revision-author','span','Revision\x20author','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author_creator'];(function(_0x4a78d0,_0x4db6f0){const _0x36bcfb=function(_0x2172ed){while(--_0x2172ed){_0x4a78d0['push'](_0x4a78d0['shift']());}};_0x36bcfb(++_0x4db6f0);}(_0x4db6,0x19d));const _0x36bc=function(_0x4a78d0,_0x4db6f0){_0x4a78d0=_0x4a78d0-0x0;let _0x36bcfb=_0x4db6[_0x4a78d0];return _0x36bcfb;};import{View as _0x26e888,IconView as _0x28b226}from'ckeditor5/src/ui';import{getTranslation as _0x413cd9}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0x4765c4 from'../../../theme/icons/user.svg';export default class ti extends _0x26e888{constructor(_0x54ebf7,_0x4f1477,_0x4a144b){super(_0x54ebf7);const _0x5f37ab=new _0x28b226();_0x5f37ab['set']({'content':_0x4765c4,'viewBox':_0x36bc('0x1')});const _0x182e9b=['ck',_0x36bc('0x6')];_0x4a144b&&_0x182e9b['push'](_0x36bc('0x2'));const _0x4ef8e0=[{'tag':_0x36bc('0x7'),'attributes':{'class':['ck',_0x36bc('0x4')],'title':_0x413cd9(_0x54ebf7,_0x4a144b?_0x36bc('0x5'):_0x36bc('0x0'))},'children':[_0x5f37ab,_0x4f1477['name']]}];this[_0x36bc('0x3')]({'tag':'li','attributes':{'class':_0x182e9b},'children':_0x4ef8e0});}}
23
+ const _0x6deb=['0\x200\x2011\x2010','span','Revision\x20author','ck-revision-history-sidebar__revision-author__name','name','Revision\x20creator','setTemplate','push','set','ck-revision-history-sidebar__revision-author'];(function(_0x12c379,_0x6deb29){const _0x48a12c=function(_0x560fae){while(--_0x560fae){_0x12c379['push'](_0x12c379['shift']());}};_0x48a12c(++_0x6deb29);}(_0x6deb,0xb2));const _0x48a1=function(_0x12c379,_0x6deb29){_0x12c379=_0x12c379-0x0;let _0x48a12c=_0x6deb[_0x12c379];return _0x48a12c;};import{View as _0x417c8c,IconView as _0x223175}from'ckeditor5/src/ui';import{getTranslation as _0x1cf13f}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0x170ff3 from'../../../theme/icons/user.svg';export default class ti extends _0x417c8c{constructor(_0x1b703c,_0x2702e8,_0x2bfc0f){super(_0x1b703c);const _0x2c607b=new _0x223175();_0x2c607b[_0x48a1('0x0')]({'content':_0x170ff3,'viewBox':_0x48a1('0x2')});const _0x22e571=['ck',_0x48a1('0x1')];_0x2bfc0f&&_0x22e571[_0x48a1('0x9')]('ck-revision-history-sidebar__revision-author_creator');const _0x5356ce=[{'tag':_0x48a1('0x3'),'attributes':{'class':['ck',_0x48a1('0x5')],'title':_0x1cf13f(_0x1b703c,_0x2bfc0f?_0x48a1('0x7'):_0x48a1('0x4'))},'children':[_0x2c607b,_0x2702e8[_0x48a1('0x6')]]}];this[_0x48a1('0x8')]({'tag':'li','attributes':{'class':_0x22e571},'children':_0x5356ce});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1dce=['set','span','extendTemplate','Revision\x20name'];(function(_0x5e2347,_0x1dceb0){var _0x1df8bb=function(_0x56755b){while(--_0x56755b){_0x5e2347['push'](_0x5e2347['shift']());}};_0x1df8bb(++_0x1dceb0);}(_0x1dce,0x1ef));var _0x1df8=function(_0x5e2347,_0x1dceb0){_0x5e2347=_0x5e2347-0x0;var _0x1df8bb=_0x1dce[_0x5e2347];return _0x1df8bb;};import{LabeledFieldView as _0x49e64a}from'ckeditor5/src/ui';import{getTranslation as _0x337790}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0x49e64a{constructor(_0x5028af,_0x2564ec){super(_0x5028af,_0x2564ec),this[_0x1df8('0x1')]({'label':_0x337790(_0x5028af,_0x1df8('0x0'))}),this[_0x1df8('0x3')]({'tag':_0x1df8('0x2'),'attributes':{'class':['ck-revision-history-sidebar__revision-name']}});}}
23
+ var _0x5c7d=['set','extendTemplate'];(function(_0x35fead,_0x5c7d36){var _0x588f56=function(_0x518975){while(--_0x518975){_0x35fead['push'](_0x35fead['shift']());}};_0x588f56(++_0x5c7d36);}(_0x5c7d,0x147));var _0x588f=function(_0x35fead,_0x5c7d36){_0x35fead=_0x35fead-0x0;var _0x588f56=_0x5c7d[_0x35fead];return _0x588f56;};import{LabeledFieldView as _0x583be0}from'ckeditor5/src/ui';import{getTranslation as _0x30df59}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0x583be0{constructor(_0x39124a,_0x157b74){super(_0x39124a,_0x157b74),this[_0x588f('0x1')]({'label':_0x30df59(_0x39124a,'Revision\x20name')}),this[_0x588f('0x0')]({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name']}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ae9=['bind','srcElement','value','placeholder','220','revisionNameView','ck-revision-history-sidebar__revision','_createdAtFormatted','isHighlighted','closest','name','fieldView','revisionActionsView','createdAt','creator','ck-revision-history-sidebar__revision__controls-wrapper','element','deselect','ck-revision-history-sidebar__revision-wrapper','_revision','listenTo','span','ck-reset','ck-disabled','isEnabled','highlight','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','unhighlight','ck-revision-history-sidebar__revision__date','isActionsDropdownOpen','map','isSelected','fire','select','set','setTemplate','bindTemplate','from','ck-revision-history-sidebar__revision_selected','unshift','change','extendTemplate','ck-revision-history-sidebar__revision-authors','authors','render','div'];(function(_0x319f04,_0x2ae9a2){const _0x4a1c9b=function(_0x3ea10f){while(--_0x3ea10f){_0x319f04['push'](_0x319f04['shift']());}};_0x4a1c9b(++_0x2ae9a2);}(_0x2ae9,0x134));const _0x4a1c=function(_0x319f04,_0x2ae9a2){_0x319f04=_0x319f04-0x0;let _0x4a1c9b=_0x2ae9[_0x319f04];return _0x4a1c9b;};import{View as _0x4b63b5,createLabeledInputText as _0xb4ba0a}from'ckeditor5/src/ui';import{ConfirmMixin as _0x4059e}from'ckeditor5-collaboration/src/collaboration-core';import _0x2d6a54 from'./revisionnameview';import _0x39acf8 from'./revisionauthorview';import{dateToPrettyFormat as _0x40ec08}from'./utils';import{createActionsDropdownView as _0x1a60e2}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ai extends _0x4059e(_0x4b63b5){constructor(_0xcfe066,_0x4a2947,_0x165ac1){super(_0xcfe066);const _0x2e5255=this[_0x4a1c('0x4')],_0x4aae13=function(_0x116105,_0xcfdb86){const _0x3a35e8=Array[_0x4a1c('0x5')](_0xcfdb86[_0x4a1c('0xb')])['filter'](_0x5d2c37=>_0x5d2c37!=_0xcfdb86[_0x4a1c('0x1c')]);return _0xcfdb86['creator']&&_0x3a35e8[_0x4a1c('0x7')](_0xcfdb86[_0x4a1c('0x1c')]),_0x3a35e8[_0x4a1c('0x2c')](_0x5cda0b=>new _0x39acf8(_0x116105,_0x5cda0b,_0x5cda0b==_0xcfdb86[_0x4a1c('0x1c')]));}(_0xcfe066,_0x4a2947);this['id']=_0x4a2947['id'],this[_0x4a1c('0x21')]=_0x4a2947,this[_0x4a1c('0xe')](_0x4a1c('0x18'),_0x4a1c('0x1b'))['to'](_0x4a2947),this[_0x4a1c('0xe')](_0x4a1c('0x15'))['to'](this,_0x4a1c('0x1b'),_0x220afe=>_0x220afe?_0x40ec08(_0xcfe066['uiLanguage'],_0x220afe):void 0x0),this['set'](_0x4a1c('0x2d'),!0x1),this[_0x4a1c('0x2')](_0x4a1c('0x16'),!0x1),this[_0x4a1c('0x2')]('isActionsDropdownOpen',!0x1),this[_0x4a1c('0x2')]('isReady',!0x1),this[_0x4a1c('0x2')](_0x4a1c('0x26'),!0x1),this['revisionNameView']=new _0x2d6a54(_0xcfe066,_0xb4ba0a),this['revisionNameView'][_0x4a1c('0x19')][_0x4a1c('0x9')]({'attributes':{'maxlength':_0x4a1c('0x12')}}),this['revisionNameView'][_0x4a1c('0x19')][_0x4a1c('0xe')](_0x4a1c('0x10'),_0x4a1c('0x11'))['to'](this,_0x4a1c('0x18'),_0x4a1c('0x15')),this['revisionNameView'][_0x4a1c('0xe')](_0x4a1c('0x26'))['to'](this,_0x4a1c('0x2d'),this,_0x4a1c('0x26'),(_0x3b57a5,_0x5e4567)=>_0x3b57a5&&_0x5e4567),this['revisionActionsView']=_0x165ac1&&_0x165ac1['length']?_0x1a60e2(this,_0x165ac1):'',this['revisionActionsView']&&this[_0x4a1c('0x1a')][_0x4a1c('0xe')]('isEnabled')['to'](this),this[_0x4a1c('0x3')]({'tag':_0x4a1c('0xd'),'attributes':{'class':['ck',_0x4a1c('0x24'),_0x4a1c('0x20'),_0x2e5255['if']('isConfirm',_0x4a1c('0x28'))]},'children':[{'tag':'div','attributes':{'class':['ck',_0x4a1c('0x24'),_0x4a1c('0x14'),_0x2e5255['if'](_0x4a1c('0x26'),_0x4a1c('0x25'),_0x48ac83=>!_0x48ac83),_0x2e5255['if'](_0x4a1c('0x2d'),_0x4a1c('0x6')),_0x2e5255['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2e5255['if'](_0x4a1c('0x2b'),'ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this[_0x4a1c('0x13')],{'tag':_0x4a1c('0x23'),'attributes':{'class':['ck',_0x4a1c('0x2a')]},'children':[{'text':_0x2e5255['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck',_0x4a1c('0x1d')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x4a1c('0xa')]},'children':_0x4aae13}]},this['revisionActionsView']],'on':{'click':_0x2e5255['to'](_0x1f4752=>{_0x1f4752[_0x4a1c('0xf')][_0x4a1c('0x17')]('.ck-thread__remove-confirm')||this['isReady']&&this[_0x4a1c('0x26')]&&this['fire'](_0x4a1c('0x1'),{'id':this['id']});})}}]});}['render'](){super[_0x4a1c('0xc')]();const _0x65f8e8=this['revisionNameView'][_0x4a1c('0x19')][_0x4a1c('0x1e')];this[_0x4a1c('0x22')](_0x65f8e8,_0x4a1c('0x8'),()=>{this[_0x4a1c('0x0')]('setName',{'id':this['id'],'name':_0x65f8e8['value']});});}[_0x4a1c('0x1')](){this['isSelected']=!0x0;}[_0x4a1c('0x1f')](){this[_0x4a1c('0x2d')]=!0x1;}[_0x4a1c('0x27')](){this[_0x4a1c('0x16')]=!0x0;}[_0x4a1c('0x29')](){this['isHighlighted']=!0x1;}}
23
+ const _0x451f=['highlight','_revision','isConfirm','srcElement','placeholder','setTemplate','ck-revision-history-sidebar__revision-authors','unshift','isReady','bind','createdAt','ck-disabled','listenTo','ck-revision-history-sidebar__actions_dropdown_open','fire','name','220','select','_createdAtFormatted','creator','set','isHighlighted','filter','render','isSelected','value','extendTemplate','ck-revision-history-sidebar__revision','fieldView','change','div','revisionActionsView','ck-revision-history-sidebar__revision__controls-wrapper','map','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision_selected','uiLanguage','from','isEnabled','span','deselect','isActionsDropdownOpen','bindTemplate','authors','revisionNameView','ck-reset','unhighlight','setName'];(function(_0x16be28,_0x451f1c){const _0x437ecf=function(_0x103f33){while(--_0x103f33){_0x16be28['push'](_0x16be28['shift']());}};_0x437ecf(++_0x451f1c);}(_0x451f,0xc3));const _0x437e=function(_0x16be28,_0x451f1c){_0x16be28=_0x16be28-0x0;let _0x437ecf=_0x451f[_0x16be28];return _0x437ecf;};import{View as _0x5ee753,createLabeledInputText as _0x576ece}from'ckeditor5/src/ui';import{ConfirmMixin as _0x161bc2}from'ckeditor5-collaboration/src/collaboration-core';import _0x5a3a75 from'./revisionnameview';import _0x217595 from'./revisionauthorview';import{dateToPrettyFormat as _0x29d330}from'./utils';import{createActionsDropdownView as _0x5410a4}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ai extends _0x161bc2(_0x5ee753){constructor(_0x2c9854,_0xe84602,_0x2b52c0){super(_0x2c9854);const _0x54fb37=this[_0x437e('0x27')],_0x1a2328=function(_0x7f2114,_0x5ea9b3){const _0x8cb600=Array[_0x437e('0x22')](_0x5ea9b3[_0x437e('0x28')])[_0x437e('0x13')](_0x3bf5d2=>_0x3bf5d2!=_0x5ea9b3[_0x437e('0x10')]);return _0x5ea9b3[_0x437e('0x10')]&&_0x8cb600[_0x437e('0x4')](_0x5ea9b3['creator']),_0x8cb600[_0x437e('0x1e')](_0x553bea=>new _0x217595(_0x7f2114,_0x553bea,_0x553bea==_0x5ea9b3[_0x437e('0x10')]));}(_0x2c9854,_0xe84602);this['id']=_0xe84602['id'],this[_0x437e('0x2e')]=_0xe84602,this[_0x437e('0x6')](_0x437e('0xc'),_0x437e('0x7'))['to'](_0xe84602),this[_0x437e('0x6')](_0x437e('0xf'))['to'](this,'createdAt',_0x1148d2=>_0x1148d2?_0x29d330(_0x2c9854[_0x437e('0x21')],_0x1148d2):void 0x0),this[_0x437e('0x11')](_0x437e('0x15'),!0x1),this['set']('isHighlighted',!0x1),this[_0x437e('0x11')]('isActionsDropdownOpen',!0x1),this[_0x437e('0x11')]('isReady',!0x1),this[_0x437e('0x11')](_0x437e('0x23'),!0x1),this[_0x437e('0x29')]=new _0x5a3a75(_0x2c9854,_0x576ece),this[_0x437e('0x29')][_0x437e('0x19')][_0x437e('0x17')]({'attributes':{'maxlength':_0x437e('0xd')}}),this['revisionNameView'][_0x437e('0x19')][_0x437e('0x6')](_0x437e('0x16'),_0x437e('0x1'))['to'](this,'name',_0x437e('0xf')),this['revisionNameView'][_0x437e('0x6')]('isEnabled')['to'](this,_0x437e('0x15'),this,_0x437e('0x23'),(_0x257990,_0xe6c912)=>_0x257990&&_0xe6c912),this[_0x437e('0x1c')]=_0x2b52c0&&_0x2b52c0['length']?_0x5410a4(this,_0x2b52c0):'',this[_0x437e('0x1c')]&&this[_0x437e('0x1c')][_0x437e('0x6')]('isEnabled')['to'](this),this[_0x437e('0x2')]({'tag':_0x437e('0x1b'),'attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x54fb37['if'](_0x437e('0x2f'),'ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':_0x437e('0x1b'),'attributes':{'class':['ck',_0x437e('0x2a'),_0x437e('0x18'),_0x54fb37['if'](_0x437e('0x23'),_0x437e('0x8'),_0x43ce04=>!_0x43ce04),_0x54fb37['if']('isSelected',_0x437e('0x20')),_0x54fb37['if'](_0x437e('0x12'),'ck-revision-history-sidebar__revision_highlighted'),_0x54fb37['if'](_0x437e('0x26'),_0x437e('0xa'))]},'children':[this[_0x437e('0x29')],{'tag':_0x437e('0x24'),'attributes':{'class':['ck',_0x437e('0x1f')]},'children':[{'text':_0x54fb37['to'](_0x437e('0xf'))}]},{'tag':'div','attributes':{'class':['ck',_0x437e('0x1d')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x437e('0x3')]},'children':_0x1a2328}]},this['revisionActionsView']],'on':{'click':_0x54fb37['to'](_0x1110a3=>{_0x1110a3[_0x437e('0x0')]['closest']('.ck-thread__remove-confirm')||this[_0x437e('0x5')]&&this[_0x437e('0x23')]&&this['fire'](_0x437e('0xe'),{'id':this['id']});})}}]});}[_0x437e('0x14')](){super[_0x437e('0x14')]();const _0x13f5b3=this[_0x437e('0x29')][_0x437e('0x19')]['element'];this[_0x437e('0x9')](_0x13f5b3,_0x437e('0x1a'),()=>{this[_0x437e('0xb')](_0x437e('0x2c'),{'id':this['id'],'name':_0x13f5b3[_0x437e('0x16')]});});}[_0x437e('0xe')](){this['isSelected']=!0x0;}[_0x437e('0x25')](){this['isSelected']=!0x1;}[_0x437e('0x2d')](){this[_0x437e('0x12')]=!0x0;}[_0x437e('0x2b')](){this['isHighlighted']=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2250=['button','_isCollapsed','isVisible','ck-revision-history-sidebar__subrevision-collapser','span','bindTemplate','setTemplate','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-revision-history-sidebar__subrevision-collapser__inner','false','ck-hidden','toggle'];(function(_0x4745ab,_0x2250d7){const _0x4a204e=function(_0x1320a3){while(--_0x1320a3){_0x4745ab['push'](_0x4745ab['shift']());}};_0x4a204e(++_0x2250d7);}(_0x2250,0x18f));const _0x4a20=function(_0x4745ab,_0x2250d7){_0x4745ab=_0x4745ab-0x0;let _0x4a204e=_0x2250[_0x4745ab];return _0x4a204e;};import{View as _0x147043}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x147043{constructor(_0x414a50){super(_0x414a50);const _0x3548d6=this[_0x4a20('0x2')];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x4a20('0x3')]({'tag':_0x4a20('0x1'),'attributes':{'class':['ck',_0x4a20('0x0'),_0x3548d6['if'](_0x4a20('0xb'),_0x4a20('0x7'),_0xbac9cf=>!_0xbac9cf),_0x3548d6['if']('_isCollapsed',_0x4a20('0x4'))],'role':_0x4a20('0x9'),'aria-pressed':_0x3548d6['to'](_0x4a20('0xa'),_0x29cd38=>_0x29cd38?_0x4a20('0x6'):'true')},'children':[{'tag':_0x4a20('0x1'),'attributes':{'class':['ck',_0x4a20('0x5')]}}],'on':{'click':_0x3548d6['to']('click')}});}[_0x4a20('0x8')](){this[_0x4a20('0xa')]=!this[_0x4a20('0xa')];}}
23
+ const _0x48f5=['set','ck-revision-history-sidebar__subrevision-collapser','true','isVisible','ck-revision-history-sidebar__subrevision-collapser__inner','click','setTemplate','_isCollapsed','button'];(function(_0x234eb5,_0x48f5cc){const _0x534cb9=function(_0x289a6d){while(--_0x289a6d){_0x234eb5['push'](_0x234eb5['shift']());}};_0x534cb9(++_0x48f5cc);}(_0x48f5,0xf8));const _0x534c=function(_0x234eb5,_0x48f5cc){_0x234eb5=_0x234eb5-0x0;let _0x534cb9=_0x48f5[_0x234eb5];return _0x534cb9;};import{View as _0x417e7b}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class es extends _0x417e7b{constructor(_0x31a465){super(_0x31a465);const _0x18c817=this['bindTemplate'];this[_0x534c('0x4')]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x534c('0x1')]({'tag':'span','attributes':{'class':['ck',_0x534c('0x5'),_0x18c817['if'](_0x534c('0x7'),'ck-hidden',_0x1e6273=>!_0x1e6273),_0x18c817['if'](_0x534c('0x2'),'ck-revision-history-sidebar__subrevision-collapser_collapsed')],'role':_0x534c('0x3'),'aria-pressed':_0x18c817['to'](_0x534c('0x2'),_0x17e2d8=>_0x17e2d8?'false':_0x534c('0x6'))},'children':[{'tag':'span','attributes':{'class':['ck',_0x534c('0x8')]}}],'on':{'click':_0x18c817['to'](_0x534c('0x0'))}});}['toggle'](){this[_0x534c('0x2')]=!this[_0x534c('0x2')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39b2=['createdAt','bind','ck-revision-history-sidebar__revision_selected','ck-revision-history-sidebar__subrevision','_createdAtFormatted','select','isSelected','set','ck-revision-history-sidebar__revision','setTemplate','deselect','ck-reset','creator','fire','div','uiLanguage','_parentRevisionId'];(function(_0x2ef30c,_0x39b25e){const _0x24a389=function(_0x1e2053){while(--_0x1e2053){_0x2ef30c['push'](_0x2ef30c['shift']());}};_0x24a389(++_0x39b25e);}(_0x39b2,0x129));const _0x24a3=function(_0x2ef30c,_0x39b25e){_0x2ef30c=_0x2ef30c-0x0;let _0x24a389=_0x39b2[_0x2ef30c];return _0x24a389;};import{View as _0x4c5fdd}from'ckeditor5/src/ui';import _0xea9589 from'./revisionauthorview';import{dateToPrettyFormat as _0x28f663}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x4c5fdd{constructor(_0x488051,_0x49408a,_0x43c08d){super(_0x488051);const _0x20f92a=this['bindTemplate'];this['id']=_0x49408a['id'],this['bind']('createdAt')['to'](_0x49408a),this[_0x24a3('0x10')](_0x24a3('0xf'),!0x1),this['bind'](_0x24a3('0xd'))['to'](this,_0x24a3('0x9'),_0x4a08d1=>_0x4a08d1?_0x28f663(_0x488051[_0x24a3('0x7')],_0x4a08d1):void 0x0),this[_0x24a3('0x8')]=_0x43c08d,this[_0x24a3('0x1')]({'tag':_0x24a3('0x6'),'attributes':{'class':['ck',_0x24a3('0x3'),_0x24a3('0x0'),_0x24a3('0xc'),_0x20f92a['if']('isSelected',_0x24a3('0xb'))]},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x20f92a['to']('_createdAtFormatted')}]},{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':[new _0xea9589(_0x488051,_0x49408a[_0x24a3('0x4')],!0x0)]}],'on':{'click':_0x20f92a['to'](this[_0x24a3('0xe')][_0x24a3('0xa')](this))}});}[_0x24a3('0xe')](){this['isSelected']=!0x0,this[_0x24a3('0x5')](_0x24a3('0xe'),{'parentId':this['_parentRevisionId']});}[_0x24a3('0x2')](){this[_0x24a3('0xf')]=!0x1;}}
23
+ const _0x19d7=['div','createdAt','ck-revision-history-sidebar__revision-authors','span','bind','ck-revision-history-sidebar__subrevision','ck-revision-history-sidebar__revision_selected','fire','deselect','_createdAtFormatted','isSelected','select','ck-reset','uiLanguage','_parentRevisionId','bindTemplate','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision'];(function(_0x5ce9cb,_0x19d72b){const _0x2ba1de=function(_0x5d5b8c){while(--_0x5d5b8c){_0x5ce9cb['push'](_0x5ce9cb['shift']());}};_0x2ba1de(++_0x19d72b);}(_0x19d7,0x1ea));const _0x2ba1=function(_0x5ce9cb,_0x19d72b){_0x5ce9cb=_0x5ce9cb-0x0;let _0x2ba1de=_0x19d7[_0x5ce9cb];return _0x2ba1de;};import{View as _0x299e9c}from'ckeditor5/src/ui';import _0x5bfd63 from'./revisionauthorview';import{dateToPrettyFormat as _0x1efcd9}from'./utils';import'../../../theme/revision/subrevision.css';export default class ci extends _0x299e9c{constructor(_0x5132d2,_0x4053e1,_0x2e1705){super(_0x5132d2);const _0x1ccf18=this[_0x2ba1('0xb')];this['id']=_0x4053e1['id'],this['bind']('createdAt')['to'](_0x4053e1),this['set'](_0x2ba1('0x6'),!0x1),this[_0x2ba1('0x0')](_0x2ba1('0x5'))['to'](this,_0x2ba1('0xf'),_0xd4241e=>_0xd4241e?_0x1efcd9(_0x5132d2[_0x2ba1('0x9')],_0xd4241e):void 0x0),this[_0x2ba1('0xa')]=_0x2e1705,this['setTemplate']({'tag':_0x2ba1('0xe'),'attributes':{'class':['ck',_0x2ba1('0x8'),_0x2ba1('0xd'),_0x2ba1('0x1'),_0x1ccf18['if']('isSelected',_0x2ba1('0x2'))]},'children':[{'tag':_0x2ba1('0x11'),'attributes':{'class':['ck',_0x2ba1('0xc')]},'children':[{'text':_0x1ccf18['to'](_0x2ba1('0x5'))}]},{'tag':'ul','attributes':{'class':['ck',_0x2ba1('0x10')]},'children':[new _0x5bfd63(_0x5132d2,_0x4053e1['creator'],!0x0)]}],'on':{'click':_0x1ccf18['to'](this['select'][_0x2ba1('0x0')](this))}});}[_0x2ba1('0x7')](){this['isSelected']=!0x0,this[_0x2ba1('0x3')](_0x2ba1('0x7'),{'parentId':this['_parentRevisionId']});}[_0x2ba1('0x4')](){this[_0x2ba1('0x6')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1ea7=['numeric','long'];(function(_0x595d26,_0x1ea739){var _0x563559=function(_0x133938){while(--_0x133938){_0x595d26['push'](_0x595d26['shift']());}};_0x563559(++_0x1ea739);}(_0x1ea7,0x1db));var _0x5635=function(_0x595d26,_0x1ea739){_0x595d26=_0x595d26-0x0;var _0x563559=_0x1ea7[_0x595d26];return _0x563559;};export function dateToPrettyFormat(_0x132819,_0x4ce21a){return _0x4ce21a['toLocaleDateString'](_0x132819,{'month':_0x5635('0x0'),'day':'numeric'})+',\x20'+_0x4ce21a['toLocaleTimeString'](_0x132819,{'hour':_0x5635('0x1'),'minute':_0x5635('0x1')});}
23
+ var _0x53d9=['long','numeric','toLocaleDateString'];(function(_0x141086,_0x53d9ff){var _0x4db763=function(_0x4bdf3f){while(--_0x4bdf3f){_0x141086['push'](_0x141086['shift']());}};_0x4db763(++_0x53d9ff);}(_0x53d9,0xb8));var _0x4db7=function(_0x141086,_0x53d9ff){_0x141086=_0x141086-0x0;var _0x4db763=_0x53d9[_0x141086];return _0x4db763;};export function dateToPrettyFormat(_0x41de3d,_0x2d459a){return _0x2d459a[_0x4db7('0x1')](_0x41de3d,{'month':_0x4db7('0x2'),'day':_0x4db7('0x0')})+',\x20'+_0x2d459a['toLocaleTimeString'](_0x41de3d,{'hour':_0x4db7('0x0'),'minute':'numeric'});}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20b1=['revisionNameInputView','type','_createButton','input','_focusCycler','reset','arrowdown','focusTracker','fieldView','saveButtonView','execute','focus','stopPropagation','keystrokes','revisionName','trim','ck-revision-history-save-revision-form','arrowleft','ck-button-cancel','value','focusFirst','listenTo','_createRevisionNameInput','extendTemplate','high','label','arrowright','Save','Name\x20of\x20the\x20revision\x20(optional)','locale','delegate','arrowup','shift\x20+\x20tab','_focusables','set','form','cancel','add','render','forEach','setTemplate','element','revisionNameInputValue','ck-responsive-form','Cancel','cancelButtonView'];(function(_0x12ff0b,_0x20b100){const _0x396d61=function(_0x211a1a){while(--_0x211a1a){_0x12ff0b['push'](_0x12ff0b['shift']());}};_0x396d61(++_0x20b100);}(_0x20b1,0xb3));const _0x396d=function(_0x12ff0b,_0x20b100){_0x12ff0b=_0x12ff0b-0x0;let _0x396d61=_0x20b1[_0x12ff0b];return _0x396d61;};import{icons as _0x532b7c}from'ckeditor5/src/core';import{ButtonView as _0x48d708,FocusCycler as _0x5deec3,LabeledFieldView as _0x5a275d,View as _0x16344,ViewCollection as _0x47134c,createLabeledInputText as _0x15d367,injectCssTransitionDisabler as _0x5690af,submitHandler as _0x204c00}from'ckeditor5/src/ui';import{FocusTracker as _0x155369,KeystrokeHandler as _0x1ff507}from'ckeditor5/src/utils';import{getTranslation as _0x14bf5e}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class vt extends _0x16344{constructor(_0x2e626d){super(_0x2e626d),this[_0x396d('0xc')]=new _0x155369(),this[_0x396d('0x12')]=new _0x1ff507(),this[_0x396d('0x27')](_0x396d('0x1'),''),this[_0x396d('0x5')]=this[_0x396d('0x1b')](),this[_0x396d('0xe')]=this[_0x396d('0x7')](_0x14bf5e(_0x2e626d,_0x396d('0x20')),_0x532b7c['check'],'ck-button-save'),this[_0x396d('0xe')][_0x396d('0x6')]='submit',this[_0x396d('0x4')]=this[_0x396d('0x7')](_0x14bf5e(_0x2e626d,_0x396d('0x3')),_0x532b7c[_0x396d('0x29')],_0x396d('0x17'),'cancel'),this[_0x396d('0x26')]=new _0x47134c(),this[_0x396d('0x9')]=new _0x5deec3({'focusables':this[_0x396d('0x26')],'focusTracker':this[_0x396d('0xc')],'keystrokeHandler':this[_0x396d('0x12')],'actions':{'focusPrevious':_0x396d('0x25'),'focusNext':'tab'}}),this[_0x396d('0x2d')]({'tag':_0x396d('0x28'),'attributes':{'class':['ck',_0x396d('0x15'),_0x396d('0x2')],'tabindex':'-1'},'children':[this[_0x396d('0x5')],this[_0x396d('0xe')],this[_0x396d('0x4')]]}),_0x5690af(this);}[_0x396d('0x2b')](){super['render'](),_0x204c00({'view':this}),([this[_0x396d('0x5')],this[_0x396d('0xe')],this['cancelButtonView']][_0x396d('0x2c')](_0x2666e8=>{this[_0x396d('0x26')]['add'](_0x2666e8),this[_0x396d('0xc')][_0x396d('0x2a')](_0x2666e8[_0x396d('0x0')]);}),this[_0x396d('0x12')][_0x396d('0x1a')](this['element']));const _0x35f08b=_0x4d2895=>_0x4d2895['stopPropagation']();this['keystrokes'][_0x396d('0x27')](_0x396d('0x1f'),_0x35f08b),this[_0x396d('0x12')][_0x396d('0x27')](_0x396d('0x16'),_0x35f08b),this[_0x396d('0x12')]['set'](_0x396d('0x24'),_0x35f08b),this[_0x396d('0x12')][_0x396d('0x27')](_0x396d('0xb'),_0x35f08b),this[_0x396d('0x1a')](this[_0x396d('0x5')][_0x396d('0x0')],'selectstart',(_0x358969,_0x4f567c)=>{_0x4f567c[_0x396d('0x11')]();},{'priority':_0x396d('0x1d')});}[_0x396d('0x10')](){this['_focusCycler'][_0x396d('0x19')]();}get[_0x396d('0x13')](){return this[_0x396d('0x5')]['fieldView']['element']['value']['trim']();}set[_0x396d('0x13')](_0x598795){this[_0x396d('0x5')]['fieldView'][_0x396d('0x0')][_0x396d('0x18')]=_0x598795[_0x396d('0x14')]();}[_0x396d('0xa')](){this[_0x396d('0x5')][_0x396d('0xd')][_0x396d('0x0')][_0x396d('0x18')]='';}['_createRevisionNameInput'](){const _0x22d27c=new _0x5a275d(this[_0x396d('0x22')],_0x15d367),_0x1d7b3f=_0x22d27c[_0x396d('0xd')];return _0x1d7b3f[_0x396d('0x1c')]({'attributes':{'maxlength':'220'}}),_0x22d27c[_0x396d('0x1e')]=_0x14bf5e(this[_0x396d('0x22')],_0x396d('0x21')),_0x1d7b3f['on'](_0x396d('0x8'),()=>{this[_0x396d('0x1')]=_0x1d7b3f[_0x396d('0x0')][_0x396d('0x18')]['trim']();}),_0x22d27c;}[_0x396d('0x7')](_0x1a9764,_0x2cf95e,_0x181a96,_0x22af24){const _0x477582=new _0x48d708(this['locale']);return _0x477582[_0x396d('0x27')]({'label':_0x1a9764,'icon':_0x2cf95e,'tooltip':!0x0}),_0x477582[_0x396d('0x1c')]({'attributes':{'class':_0x181a96}}),_0x22af24&&_0x477582[_0x396d('0x23')](_0x396d('0xf'))['to'](this,_0x22af24),_0x477582;}}
23
+ const _0x2805=['focus','_focusCycler','keystrokes','_focusables','tab','high','ck-button-save','revisionNameInputValue','cancelButtonView','_createRevisionNameInput','stopPropagation','220','setTemplate','extendTemplate','arrowright','Cancel','Name\x20of\x20the\x20revision\x20(optional)','listenTo','check','cancel','label','ck-revision-history-save-revision-form','ck-responsive-form','type','element','_createButton','value','saveButtonView','submit','focusTracker','revisionName','add','fieldView','set','execute','revisionNameInputView','arrowdown','locale','form','input','arrowup','render','trim'];(function(_0x3180a3,_0x2805a2){const _0xed1b02=function(_0x5f51c0){while(--_0x5f51c0){_0x3180a3['push'](_0x3180a3['shift']());}};_0xed1b02(++_0x2805a2);}(_0x2805,0x134));const _0xed1b=function(_0x3180a3,_0x2805a2){_0x3180a3=_0x3180a3-0x0;let _0xed1b02=_0x2805[_0x3180a3];return _0xed1b02;};import{icons as _0x56ea48}from'ckeditor5/src/core';import{ButtonView as _0x14f883,FocusCycler as _0x47adf0,LabeledFieldView as _0x20b52f,View as _0x3dab49,ViewCollection as _0x10559a,createLabeledInputText as _0xd01678,injectCssTransitionDisabler as _0x1ee7bc,submitHandler as _0x71033b}from'ckeditor5/src/ui';import{FocusTracker as _0x50f643,KeystrokeHandler as _0x79772a}from'ckeditor5/src/utils';import{getTranslation as _0x369b6f}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class vt extends _0x3dab49{constructor(_0x50e6e8){super(_0x50e6e8),this[_0xed1b('0x16')]=new _0x50f643(),this[_0xed1b('0x26')]=new _0x79772a(),this[_0xed1b('0x1a')](_0xed1b('0x0'),''),this['revisionNameInputView']=this[_0xed1b('0x2')](),this[_0xed1b('0x14')]=this[_0xed1b('0x12')](_0x369b6f(_0x50e6e8,'Save'),_0x56ea48[_0xed1b('0xb')],_0xed1b('0x2a')),this['saveButtonView'][_0xed1b('0x10')]=_0xed1b('0x15'),this['cancelButtonView']=this['_createButton'](_0x369b6f(_0x50e6e8,_0xed1b('0x8')),_0x56ea48[_0xed1b('0xc')],'ck-button-cancel',_0xed1b('0xc')),this['_focusables']=new _0x10559a(),this[_0xed1b('0x25')]=new _0x47adf0({'focusables':this[_0xed1b('0x27')],'focusTracker':this[_0xed1b('0x16')],'keystrokeHandler':this[_0xed1b('0x26')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0xed1b('0x28')}}),this[_0xed1b('0x5')]({'tag':_0xed1b('0x1f'),'attributes':{'class':['ck',_0xed1b('0xe'),_0xed1b('0xf')],'tabindex':'-1'},'children':[this[_0xed1b('0x1c')],this['saveButtonView'],this[_0xed1b('0x1')]]}),_0x1ee7bc(this);}[_0xed1b('0x22')](){super['render'](),_0x71033b({'view':this}),([this['revisionNameInputView'],this[_0xed1b('0x14')],this[_0xed1b('0x1')]]['forEach'](_0x3a8457=>{this['_focusables'][_0xed1b('0x18')](_0x3a8457),this['focusTracker'][_0xed1b('0x18')](_0x3a8457[_0xed1b('0x11')]);}),this[_0xed1b('0x26')][_0xed1b('0xa')](this[_0xed1b('0x11')]));const _0xc3b5e9=_0x5edff9=>_0x5edff9['stopPropagation']();this['keystrokes'][_0xed1b('0x1a')](_0xed1b('0x7'),_0xc3b5e9),this['keystrokes']['set']('arrowleft',_0xc3b5e9),this[_0xed1b('0x26')][_0xed1b('0x1a')](_0xed1b('0x21'),_0xc3b5e9),this[_0xed1b('0x26')][_0xed1b('0x1a')](_0xed1b('0x1d'),_0xc3b5e9),this[_0xed1b('0xa')](this[_0xed1b('0x1c')]['element'],'selectstart',(_0x2fc72d,_0x5494ff)=>{_0x5494ff[_0xed1b('0x3')]();},{'priority':_0xed1b('0x29')});}[_0xed1b('0x24')](){this[_0xed1b('0x25')]['focusFirst']();}get[_0xed1b('0x17')](){return this[_0xed1b('0x1c')][_0xed1b('0x19')][_0xed1b('0x11')]['value'][_0xed1b('0x23')]();}set['revisionName'](_0x3b7db6){this[_0xed1b('0x1c')][_0xed1b('0x19')][_0xed1b('0x11')]['value']=_0x3b7db6[_0xed1b('0x23')]();}['reset'](){this[_0xed1b('0x1c')][_0xed1b('0x19')][_0xed1b('0x11')][_0xed1b('0x13')]='';}[_0xed1b('0x2')](){const _0x540403=new _0x20b52f(this[_0xed1b('0x1e')],_0xd01678),_0x5c25f6=_0x540403['fieldView'];return _0x5c25f6[_0xed1b('0x6')]({'attributes':{'maxlength':_0xed1b('0x4')}}),_0x540403[_0xed1b('0xd')]=_0x369b6f(this[_0xed1b('0x1e')],_0xed1b('0x9')),_0x5c25f6['on'](_0xed1b('0x20'),()=>{this[_0xed1b('0x0')]=_0x5c25f6[_0xed1b('0x11')][_0xed1b('0x13')]['trim']();}),_0x540403;}['_createButton'](_0x3f3d43,_0x20f5c6,_0x4814b8,_0x235575){const _0x330d36=new _0x14f883(this[_0xed1b('0x1e')]);return _0x330d36[_0xed1b('0x1a')]({'label':_0x3f3d43,'icon':_0x20f5c6,'tooltip':!0x0}),_0x330d36[_0xed1b('0x6')]({'attributes':{'class':_0x4814b8}}),_0x235575&&_0x330d36['delegate'](_0xed1b('0x1b'))['to'](this,_0x235575),_0x330d36;}}