@ckeditor/ckeditor5-revision-history 40.0.0 → 40.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +3 -3
- package/build/revision-history.js +1 -1
- package/package.json +6 -6
- package/src/augmentation.d.ts +29 -29
- package/src/changeitem.d.ts +58 -58
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.d.ts +27 -27
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.d.ts +28 -28
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.d.ts +43 -43
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +15 -15
- package/src/revision.d.ts +153 -153
- package/src/revision.js +1 -1
- package/src/revisiondiff.d.ts +24 -24
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +99 -99
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryadapter.d.ts +64 -64
- package/src/revisionhistoryconfig.d.ts +60 -60
- package/src/revisionsrepository.d.ts +52 -52
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +81 -81
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +25 -25
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +10 -10
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +5 -5
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +5 -5
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +95 -95
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.d.ts +21 -21
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.d.ts +34 -34
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.d.ts +5 -5
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +81 -81
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.d.ts +26 -26
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.d.ts +44 -44
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +5 -5
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +29 -29
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.d.ts +44 -44
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.d.ts +9 -9
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.d.ts +22 -22
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.d.ts +40 -40
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +26 -26
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.d.ts +28 -28
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.d.ts +11 -11
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5f89=['schema','revision:','push','forceDisabled','sort','side','rootName','addClass','createUIElement','ck-suggestion-marker-','comment','_refreshStartEndIndex','view','locale','offsetSize','merge','maxOffset','diffData','_fixObsoleteTags','_markMismatchedRemovedTags','has','length','return','_threeWayMerge','getAttributes','next','isLimit','getWalker','getIndex','nextSibling','keys','element','change:isEnabled','ck-suggestion-marker','getRevisionRootsAttributes','low','indexOf','removeMarker:revision-suggestion','markerToHighlight','removeMarker:revision','backward','elementEnd','remove','_getRevisionsRange','revision-viewer','removeClass','markersStart','pluginName','previousPosition','editor','dataDowncast','concat','ck-suggestion-marker-merge','startIndex','addMarker:revision-suggestion:insertion','done','vid_start','getCustomProperty','_joinTapes','mapper','newRevisionId','wrap','plugins','forward','adapter','ck-revision-history-root-','forEach','isAfter','execute','ck-suggestion-preview-marker','parent','children','stop','target','filter','_setDistance','writer','isEqual','POSITIVE_INFINITY','unshift','first','revision-suggestion','element:pre','currentChangeNumber','isAtEnd','_removeRevisionMarkers','markerNameToElements','from','init','_makeTape','toData','right','conversion','set','markersEnd','createRangeIn','text','setAttribute','all','bottom','-new','insert','span','createRevision','level','attributes','attributesAfter','ck-revision-history-root-add','addRevisionData','isEnabled','upcast','change:numberOfChanges','uiElement','change:isReady','range','index','find','_initInteractions','repository','revisionHistoryAttachChange','updatePosition','code','activeView','resolve','_removeUnsupportedChanges','abs','roots','isRemoved','observeMarkers','get','string','change:activeChange','toViewPosition','type','item','insertion','_processTape','vid','default','collaboration.channelId','name','for','dataToMarker','restoreRevisionCallback','getAttribute','getDomRoot','endIndex','revision-comment:','revisionHistoryLabel','vid_end','_makeModelFromViewString','deletions','ck-revision-history-root--active','data-change-id','isAttached','_getViewObj','affectsData','enableReadOnlyMode','getRevisionData','data','modelRange','isNavigationMode','revision-suggestion:','delete','revisionHistory','mapViewToDom','viewItem','elementStart','map','hasAttribute','domEvent','_changeIdToChange','suggestion:','consume','isContent','_appendChild','isSuggestion','listenTo','isCollapsed','add','isRemoveSuggestion','splice','slice','_markInsertions','isObject','object','config','ck-editor__editable__overlay','high','_activeViewTarget','processor','startsWith','_cleanMarkers','checkAttribute','downcastDispatcher','getRevision','revision-end','attributesBefore','revision','showNextChange','change','toModel','clear','isIncorrect','isBlock','_sortAndFilterDiffChanges','change:activeView','pairId','destroy','isReady','commands','includes','_cleanUp','WidgetToolbarRepository','isAddSuggestion','_balloon','bind','model','nextPosition','isInline','marked','markerToData','attachChange','consumable','createAttributeElement','_makeModelFromTape','addHighlight','end','_markMarkers','reconvertMarker','createPositionFromPath','addRoot','attribute:vid','_step','loadRevisionData','refresh','editing','getRootNames','findIndex','getClientRects','enqueueChange','mouseover','isAtStart','test','bindElementToMarker','toViewElement','ck-suggestion-preview-marker-','diff','isAdded','useFillerType','_removeMissingPairs','suggestion','values','isOnRoot','deletion','left','userId','data-revision-','addMarker:revision-suggestion:deletion','_setConversion','_getViewForChange','ck-suggestion-marker--active','markerName','start','_changeView','_markSuggestions','changes','_getChangeFromId','compare','changeId','getItems','authors','ck-revision-history-root-remove','document','editingDowncast','nodeAfter','markerRange','activeChange','distance','highest','then','getRoot','parse','isBefore','hasClass','split','ck-suggestion-marker-split','createRange','markers','_getDiff','_findChangeIdFromDomTarget','shift','detachRoot','insertions','error','domConverter','requires','_update'];(function(_0x28bcd5,_0x5f8991){const _0xd32c1d=function(_0x4b14b1){while(--_0x4b14b1){_0x28bcd5['push'](_0x28bcd5['shift']());}};_0xd32c1d(++_0x5f8991);}(_0x5f89,0x10f));const _0xd32c=function(_0x28bcd5,_0x5f8991){_0x28bcd5=_0x28bcd5-0x0;let _0xd32c1d=_0x5f89[_0x28bcd5];return _0xd32c1d;};import{Plugin as _0x593aa9,Command as _0x4edcbb}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x1cba5b}from'ckeditor5/src/utils';import{ContextualBalloon as _0x562f53}from'ckeditor5/src/ui';import{DocumentFragment as _0x403f0c,Element as _0x434074,Text as _0xb713ed,ViewDocumentFragment as _0x26d8d6,ViewText as _0x42619e,ViewElement as _0x438a19,ViewContainerElement as _0x5cb826,ViewAttributeElement as _0x4fea0d,ViewEmptyElement as _0x51f333,ViewRawElement as _0x192185,ViewUIElement as _0x4f991c}from'ckeditor5/src/engine';import{Users as _0x2f4084,getMarkerDomElement as _0x44c8f1}from'ckeditor5-collaboration/src/collaboration-core';import _0x25df79 from'./ui/revisionviewer/changedetailsview';import _0x2c307c from'./revisionsrepository';import _0x580ee1 from'./changeitem';import{default as _0x5f9ce}from'./revisiondiff';import'../theme/revisionviewer.css';import{cloneDeep as _0x414b84}from'lodash-es';const tt={'c':_0x5cb826,'a':_0x4fea0d,'e':_0x51f333,'r':_0x192185,'u':_0x4f991c};export default class d extends _0x593aa9{static get[_0xd32c('0x4a')](){return'RevisionViewer';}static get[_0xd32c('0x19')](){return[_0x2f4084,_0x562f53,_0x2c307c];}constructor(_0x1c253f){super(_0x1c253f),this['repository']=this[_0xd32c('0x4c')][_0xd32c('0x59')][_0xd32c('0x9c')]('RevisionsRepository'),this[_0xd32c('0x78')](_0xd32c('0x6'),null),this['set'](_0xd32c('0x95'),null),this[_0xd32c('0xd8')]=null,this['set'](_0xd32c('0x112'),null),this[_0xd32c('0x78')](_0xd32c('0xec'),!0x1),this[_0xd32c('0x78')](_0xd32c('0x88'),!0x0),this['on']('change:isEnabled',(_0x2ac436,_0x1c7a45,_0x33373c)=>{this['activeChange']=null,this['activeView']=null,this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0x27')][_0xd32c('0xe3')](_0x5c5a76=>{for(const _0x34e7fb of this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0x27')][_0xd32c('0x2')][_0xd32c('0x99')])_0x33373c?_0x5c5a76[_0xd32c('0x48')](_0xd32c('0xd6'),_0x34e7fb):_0x5c5a76[_0xd32c('0x22')]('ck-editor__editable__overlay',_0x34e7fb);});}),this[_0xd32c('0xf3')](_0xd32c('0xbc'))['to'](this,'activeChange',_0x2db51b=>null!==_0x2db51b),this['bind'](_0xd32c('0x6e'))['to'](this,_0xd32c('0xec'),this,'diff',this,'activeChange',(_0x181999,_0xc6b236,_0x28463d)=>_0x181999&&_0x28463d?_0xc6b236['changes'][_0xd32c('0x37')](_0x28463d):0x0),this[_0xd32c('0xf3')]('numberOfChanges')['to'](this,_0xd32c('0xec'),this,'diff',(_0x741e3c,_0x5506a2)=>_0x741e3c?_0x5506a2[_0xd32c('0x125')][_0xd32c('0x30')]:0x0),this['_changeView']=null,this[_0xd32c('0xc6')]=new Map(),this[_0xd32c('0x5b')]=null,this[_0xd32c('0xf2')]=this[_0xd32c('0x4c')]['plugins'][_0xd32c('0x9c')](_0x562f53);}[_0xd32c('0x73')](){const _0xb994a3=this[_0xd32c('0x4c')],_0x55b156=new ShowChangeCommand(_0xb994a3,{'direction':_0xd32c('0x43')}),_0x169e5d=new ShowChangeCommand(_0xb994a3,{'direction':_0xd32c('0x5a')});(_0xb994a3['commands'][_0xd32c('0xce')]('showPreviousChange',_0x55b156),_0xb994a3['commands'][_0xd32c('0xce')](_0xd32c('0xe2'),_0x169e5d),_0xb994a3[_0xd32c('0xed')][_0xd32c('0xce')]('restoreRevision',new RestoreRevisionCommand(_0xb994a3)),this['on'](_0xd32c('0x8a'),()=>{_0x55b156[_0xd32c('0x106')](),_0x169e5d['refresh']();}),this[_0xd32c('0x11e')](),this['_initInteractions'](),_0xb994a3[_0xd32c('0xb8')](_0xd32c('0x47')),_0xb994a3[_0xd32c('0x59')][_0xd32c('0x2f')](_0xd32c('0xf0')))&&_0xb994a3[_0xd32c('0x59')][_0xd32c('0x9c')](_0xd32c('0xf0'))[_0xd32c('0x1e')](_0xd32c('0x47'));}async[_0xd32c('0xb9')](_0x54312d){await this[_0xd32c('0x105')](_0x54312d);const _0x503b50={};for(const _0x4d921a in _0x54312d['diffData']){if(_0x54312d[_0xd32c('0x2c')][_0x4d921a][_0xd32c('0xf9')]&&!_0x54312d[_0xd32c('0x2c')][_0x4d921a][_0xd32c('0xf9')]['isAttached'])continue;const _0x6dcc0d=this[_0xd32c('0x70')](JSON[_0xd32c('0xb')](_0x54312d['diffData'][_0x4d921a][_0xd32c('0x16')])),_0x1bf19f=this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0x27')][_0xd32c('0x2')],_0x3ac261=new _0x26d8d6(_0x1bf19f,_0x6dcc0d[_0xd32c('0xc3')](_0x280197=>this[_0xd32c('0xb6')](_0x280197)));this[_0xd32c('0x4c')][_0xd32c('0xba')][_0xd32c('0xd9')][_0xd32c('0x114')](_0xd32c('0xf7')),_0x503b50[_0x4d921a]=this[_0xd32c('0x4c')][_0xd32c('0xba')][_0xd32c('0xd9')][_0xd32c('0x75')](_0x3ac261),this[_0xd32c('0x4c')][_0xd32c('0xba')][_0xd32c('0xd9')][_0xd32c('0x114')](_0xd32c('0xa5'));}return _0x503b50;}async[_0xd32c('0x3d')](_0x486d34){await this[_0xd32c('0x105')](_0x486d34);const _0x58adb={};for(const _0x5813e1 in _0x486d34['diffData'])_0x486d34[_0xd32c('0x2c')][_0x5813e1]['attachChange']&&!_0x486d34[_0xd32c('0x2c')][_0x5813e1][_0xd32c('0xf9')][_0xd32c('0xb5')]||(_0x58adb[_0x5813e1]=_0x486d34[_0xd32c('0x2c')][_0x5813e1][_0xd32c('0x85')]||{});return _0x58adb;}[_0xd32c('0x70')](_0x416e4a){return(_0x416e4a=_0x416e4a[_0xd32c('0x65')](_0x572c33=>!_0x572c33[_0xd32c('0xa7')]||'revision-start'!==_0x572c33['name']&&_0xd32c('0xdf')!==_0x572c33[_0xd32c('0xa7')]))[_0xd32c('0x5d')](_0x5a091d=>{'string'!=typeof _0x5a091d&&(_0x5a091d[_0xd32c('0x62')]=this[_0xd32c('0x70')](_0x5a091d[_0xd32c('0x62')]),_0x5a091d[_0xd32c('0x84')]=_0x5a091d[_0xd32c('0x84')][_0xd32c('0x65')](_0x2a5ae2=>!_0x2a5ae2[0x0][_0xd32c('0xda')](_0xd32c('0x11c'))));}),_0x416e4a;}async[_0xd32c('0x127')](_0x142c64,_0x1cfdf8,_0x510c62=!0x1){if(!this[_0xd32c('0x88')])return;const _0x595765=this[_0xd32c('0x112')],_0x577884=this['repository'],_0x96e5a7=_0xd32c('0x9d')==typeof _0x142c64?_0x577884[_0xd32c('0xde')](_0x142c64):_0x142c64,_0x219aaf=_0xd32c('0x9d')==typeof _0x1cfdf8?_0x577884['getRevision'](_0x1cfdf8):_0x1cfdf8,_0x27f63c=_0x96e5a7['id'],_0x3ef8d9=_0x219aaf?_0x219aaf['id']:null;if(!_0x510c62&&this[_0xd32c('0x112')]&&this[_0xd32c('0x112')][_0xd32c('0x57')]===_0x27f63c&&this[_0xd32c('0x112')]['oldRevisionId']===_0x3ef8d9)return Promise[_0xd32c('0x96')]();this['isReady']=!0x1,this[_0xd32c('0x95')]=null,this[_0xd32c('0x6')]=null,this['diff']=new _0x5f9ce(_0x27f63c,_0x3ef8d9);const _0x3ad360=this['_getRevisionsRange'](_0x96e5a7,_0x219aaf,!0x0)['map'](_0x5bf3c3=>this[_0xd32c('0x105')](_0x5bf3c3));return _0x3ad360[_0xd32c('0x1d')](new Promise(_0x50e3bc=>{setTimeout(_0x50e3bc,0x14);})),Promise[_0xd32c('0x7d')](_0x3ad360)[_0xd32c('0x9')](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x29a91d=this[_0xd32c('0x12')](_0x27f63c,_0x3ef8d9);for(const _0x51d7ca of _0x29a91d['changes'])this[_0xd32c('0xc6')][_0xd32c('0x78')](_0x51d7ca['id'],_0x51d7ca);this['editor'][_0xd32c('0xf4')][_0xd32c('0x10b')]({'isUndoable':!0x1},_0x3f2a9b=>{for(const _0x2c95fc of this[_0xd32c('0x4c')][_0xd32c('0xf4')]['document'][_0xd32c('0x108')]())_0x3f2a9b[_0xd32c('0x15')](_0x2c95fc);for(const _0x2c7c28 of Object['keys'](_0x29a91d[_0xd32c('0xf4')])){const _0x2f2f88=_0x3f2a9b[_0xd32c('0x102')](_0x2c7c28);for(const _0xce972d of Object['keys'](_0x29a91d[_0xd32c('0x84')][_0x2c7c28]))_0x3f2a9b[_0xd32c('0x7c')](_0xce972d,_0x29a91d['attributes'][_0x2c7c28][_0xce972d],_0x2f2f88);_0x3f2a9b[_0xd32c('0x80')](_0x29a91d['model'][_0x2c7c28],_0x2f2f88,0x0);}}),this[_0xd32c('0x112')]['_setChanges'](this[_0xd32c('0xe8')](_0x29a91d['changes'])),this['isReady']=!0x0;})['catch'](_0x5c21bc=>{console[_0xd32c('0x17')](_0x5c21bc),this[_0xd32c('0xef')](),_0x595765&&(this['diff']=_0x595765),this[_0xd32c('0xec')]=!0x0;});}[_0xd32c('0x87')](_0x571eed,_0xeeabda){const _0x11afa5=this[_0xd32c('0x91')][_0xd32c('0x82')](_0x571eed);return _0x11afa5['on'](_0xd32c('0x1a'),(_0x1d754e,_0x3e9d32,_0x45aeb6)=>_0xeeabda(_0x3e9d32,_0x45aeb6,_0x11afa5)),this[_0xd32c('0x91')]['addRevision'](_0x11afa5),_0x11afa5;}[_0xd32c('0x105')](_0x4eab66){if(!_0x4eab66||_0x4eab66[_0xd32c('0x2c')])return Promise[_0xd32c('0x96')]();{const _0x16e14a=this[_0xd32c('0x4c')][_0xd32c('0xd5')][_0xd32c('0x9c')](_0xd32c('0xa6'));return this['adapter'][_0xd32c('0xde')]({'channelId':_0x16e14a,'revisionId':_0x4eab66['id']})['then'](_0x2a9932=>{_0x4eab66[_0xd32c('0x1a')]({'diffData':_0x2a9932['diffData']},!0x0);});}}['_cleanUp'](){this[_0xd32c('0x6')]=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView'][_0xd32c('0xeb')](),this[_0xd32c('0x123')]=null,this['_changeIdToChange'][_0xd32c('0xe5')](),this[_0xd32c('0x4c')][_0xd32c('0xf4')]['enqueueChange']({'isUndoable':!0x1},_0x3f2a34=>{for(const _0x477151 of this['editor'][_0xd32c('0xf4')]['document']['getRootNames']())_0x3f2a34[_0xd32c('0x15')](_0x477151);});}[_0xd32c('0xe8')](_0x35a4c5){const _0x4d97ba=[],_0x201496=new Map();for(const _0x1722a6 of this[_0xd32c('0x4c')][_0xd32c('0xf4')][_0xd32c('0x2')][_0xd32c('0x108')]()){const _0x5322dd=this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0x27')][_0xd32c('0xac')](_0x1722a6);if(!_0x5322dd)continue;const _0x26bb62=_0x5322dd[_0xd32c('0x10a')]()[_0xd32c('0xa1')](0x0);_0x26bb62&&(_0x4d97ba['push'](_0x1722a6),_0x201496[_0xd32c('0x78')](_0x1722a6,_0x26bb62));}return _0x4d97ba[_0xd32c('0x1f')]((_0x3ea6af,_0x238b16)=>{const _0x147cee=_0x201496[_0xd32c('0x9c')](_0x3ea6af),_0x5e02f4=_0x201496[_0xd32c('0x9c')](_0x238b16);return _0x147cee['y']-_0x5e02f4['y']||_0x147cee['x']-_0x5e02f4['x'];}),(_0x35a4c5=_0x35a4c5['filter'](_0xa6d61d=>_0x4d97ba[_0xd32c('0xee')](_0xa6d61d['rootName'])))[_0xd32c('0x1f')]((_0xe1ce1b,_0x17b7d1)=>_0x4d97ba[_0xd32c('0x3f')](_0xe1ce1b[_0xd32c('0x21')])-_0x4d97ba[_0xd32c('0x3f')](_0x17b7d1[_0xd32c('0x21')])),_0x35a4c5;}[_0xd32c('0x74')](_0x39653d){const _0x5c1133=Array[_0xd32c('0x72')](_0x39653d['markers'])['filter'](([_0x3c64bb,_0x1a3059])=>_0x3c64bb[_0xd32c('0xda')](_0xd32c('0x1c'))&&!_0x1a3059['isCollapsed']),_0x332e79=Array[_0xd32c('0x72')](this[_0xd32c('0x4c')]['model'][_0xd32c('0x7a')](_0x39653d)[_0xd32c('0x36')]({'singleCharacters':!0x0}));if(0x0!=_0x5c1133[_0xd32c('0x30')])for(const _0x116881 of _0x332e79){const [_0x49b688,_0x450db7]=_0x5c1133[0x0],[,_0x493137,_0x46c93d]=_0x49b688[_0xd32c('0xe')](':');if(_0x450db7['end'][_0xd32c('0x68')](_0x116881['nextPosition'])&&_0x5c1133['shift'](),(_0x116881['previousPosition'][_0xd32c('0x68')](_0x450db7['start'])||_0x116881[_0xd32c('0x4b')]['isAfter'](_0x450db7['start']))&&(_0xd32c('0xa2')==_0x493137?_0x116881['isAdded']={'userId':_0x46c93d}:'deletion'==_0x493137&&(_0x116881['isRemoved']={'userId':_0x46c93d})),0x0==_0x5c1133['length'])break;}return _0x332e79;}[_0xd32c('0x26')](_0x1f8ed6){const _0x8057ce=new Map();for(let _0x11fa15=0x0;_0x11fa15<_0x1f8ed6[_0xd32c('0x30')];_0x11fa15++)_0xd32c('0x7b')===_0x1f8ed6[_0x11fa15][_0xd32c('0xa0')]?(_0x1f8ed6[_0x11fa15][_0xd32c('0xa1')]['startIndex']=_0x11fa15,_0x1f8ed6[_0x11fa15][_0xd32c('0xa1')][_0xd32c('0xad')]=_0x11fa15):('elementStart'===_0x1f8ed6[_0x11fa15][_0xd32c('0xa0')]?_0x1f8ed6[_0x11fa15]['item']['startIndex']=_0x11fa15:_0xd32c('0x44')===_0x1f8ed6[_0x11fa15][_0xd32c('0xa0')]&&(_0x1f8ed6[_0x11fa15][_0xd32c('0xa1')][_0xd32c('0xad')]=_0x11fa15),_0x8057ce[_0xd32c('0x78')](_0x1f8ed6[_0x11fa15]['id'],_0x11fa15));for(const _0x57935a of _0x8057ce[_0xd32c('0x117')]())'elementStart'===_0x1f8ed6[_0x57935a][_0xd32c('0xa0')]?_0x1f8ed6[_0x57935a][_0xd32c('0xa1')][_0xd32c('0xad')]=_0x8057ce[_0xd32c('0x9c')](_0x1f8ed6[_0x57935a][_0xd32c('0xea')]):_0xd32c('0x44')===_0x1f8ed6[_0x57935a][_0xd32c('0xa0')]&&(_0x1f8ed6[_0x57935a]['item'][_0xd32c('0x50')]=_0x8057ce['get'](_0x1f8ed6[_0x57935a][_0xd32c('0xea')]));}[_0xd32c('0xa3')](_0x12c576){for(let _0x24cd76=0x0;_0x24cd76<_0x12c576[_0xd32c('0x30')];_0x24cd76++){if('elementStart'===_0x12c576[_0x24cd76][_0xd32c('0xa0')])_0x12c576[_0x24cd76][_0xd32c('0xa1')][_0xd32c('0x50')]=_0x24cd76;else{if(_0xd32c('0x44')===_0x12c576[_0x24cd76][_0xd32c('0xa0')]){_0x12c576[_0x24cd76][_0xd32c('0xa1')][_0xd32c('0xad')]=_0x24cd76;const _0xe9df7e=_0x12c576[_0x24cd76][_0xd32c('0xa1')]['startIndex'];_0x12c576[_0xe9df7e][_0xd32c('0xea')]=_0x12c576[_0x24cd76]['id'],_0x12c576[_0x24cd76][_0xd32c('0xea')]=_0x12c576[_0xe9df7e]['id'];}else _0x12c576[_0x24cd76][_0xd32c('0xa1')]['startIndex']=_0x24cd76,_0x12c576[_0x24cd76][_0xd32c('0xa1')][_0xd32c('0xad')]=_0x24cd76,_0x12c576[_0x24cd76][_0xd32c('0xea')]=null;}_0x12c576[_0x24cd76][_0xd32c('0x49')]||(_0x12c576[_0x24cd76][_0xd32c('0x49')]=[],_0x12c576[_0x24cd76][_0xd32c('0x79')]=[]);}}[_0xd32c('0xd2')](_0x2dcb6b,_0x51f903){const _0x3ef691=_0x2dcb6b['filter'](_0x4ebea4=>!_0x4ebea4[_0xd32c('0x113')]);for(let _0x1874ec=0x0;_0x1874ec<_0x51f903[_0xd32c('0x30')];_0x1874ec++)_0x51f903[_0x1874ec][_0xd32c('0x113')]&&(_0x3ef691[_0x1874ec]['isAdded']=_0x51f903[_0x1874ec][_0xd32c('0x113')]);}[_0xd32c('0xb1')](_0xa9b17a){const _0x19c47e=JSON[_0xd32c('0xb')](_0xa9b17a),_0x619f83=this[_0xd32c('0x4c')][_0xd32c('0x107')]['view'][_0xd32c('0x2')],_0x296f1b=new _0x26d8d6(_0x619f83,_0x19c47e[_0xd32c('0xc3')](_0xfd5946=>this[_0xd32c('0xb6')](_0xfd5946)));return this[_0xd32c('0x4c')][_0xd32c('0xba')][_0xd32c('0xe4')](_0x296f1b);}['_getViewObj'](_0x328843){const _0x343a29=this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0x27')][_0xd32c('0x2')];if('string'==typeof _0x328843)return new _0x42619e(_0x343a29,_0x328843);{const _0x21f90d=_0x328843['children'][_0xd32c('0xc3')](_0xf6c274=>this[_0xd32c('0xb6')](_0xf6c274));return new(tt[_0x328843['type']]||_0x438a19)(_0x343a29,_0x328843[_0xd32c('0xa7')],_0x328843[_0xd32c('0x84')],_0x21f90d);}}['_getDiff'](_0x2fea1f,_0x412698=null){const _0x4d0f14=this[_0xd32c('0x91')]['getRevision'](_0x2fea1f),_0xac216a=_0x412698?this['repository']['getRevision'](_0x412698):null,_0x2beafc=this[_0xd32c('0x46')](_0x4d0f14,_0xac216a),_0x5142e2=_0x2beafc[_0x2beafc[_0xd32c('0x30')]-0x1],_0x11f80a=new Map(),_0x3aebf4={'model':{},'attributes':{},'changes':[]},_0x3df103=new Set(),_0x36defc=new Map();for(let _0x1d1c3b=_0x2beafc[_0xd32c('0x30')]-0x1;_0x1d1c3b>=0x0;_0x1d1c3b--){const _0x576f47=_0x2beafc[_0x1d1c3b];for(const _0x2c4045 of Object[_0xd32c('0x39')](_0x576f47[_0xd32c('0x2c')]))if(_0x576f47[_0xd32c('0x2c')][_0x2c4045][_0xd32c('0xf9')]){const _0x22fd6a=_0x576f47['diffData'][_0x2c4045][_0xd32c('0xf9')];_0x22fd6a[_0xd32c('0xb5')]?(_0x3df103[_0xd32c('0xce')](_0x2c4045),_0x36defc[_0xd32c('0x2f')](_0x2c4045)&&_0x36defc['get'](_0x2c4045)['userId']==_0x22fd6a[_0xd32c('0x11b')]?_0x36defc[_0xd32c('0xbe')](_0x2c4045):_0x36defc[_0xd32c('0x78')](_0x2c4045,_0x22fd6a)):_0x36defc[_0xd32c('0x2f')](_0x2c4045)?(_0x3df103[_0xd32c('0xbe')](_0x2c4045),_0x36defc[_0xd32c('0xbe')](_0x2c4045)):(_0x3df103[_0xd32c('0xce')](_0x2c4045),_0x36defc[_0xd32c('0x78')](_0x2c4045,_0x22fd6a));}else _0x3df103[_0xd32c('0xce')](_0x2c4045);}for(const _0x109d12 of _0x3df103){const _0x3424fa=_0x36defc[_0xd32c('0x2f')](_0x109d12)&&!_0x36defc[_0xd32c('0x9c')](_0x109d12)[_0xd32c('0xb5')];let _0x5a7bb6=_0x3424fa?_0x2beafc['length']-0x1:0x0;const _0x58e35e=_0x3424fa?-0x1:0x1;for(;_0x2beafc[_0x5a7bb6];){const _0x4651ac=_0x2beafc[_0x5a7bb6];if(_0x4651ac[_0xd32c('0x2c')][_0x109d12]){const _0x29f503=_0x3424fa?_0x4651ac[_0xd32c('0x2c')][_0x109d12][_0xd32c('0xe0')]:_0x4651ac[_0xd32c('0x2c')][_0x109d12]['attributesAfter'];_0x3aebf4[_0xd32c('0x84')][_0x109d12]=_0x29f503?_0x414b84(_0x29f503):{};break;}_0x5a7bb6+=_0x58e35e;}}for(const _0x49e925 of _0x2beafc){_0x49e925['model']={};for(const _0x3b0b41 of _0x49e925[_0xd32c('0x0')])_0x11f80a[_0xd32c('0x78')](_0x3b0b41['id'],_0x3b0b41);for(const _0x2243d7 of _0x3df103){const _0x3b19ad=_0x49e925['diffData'][_0x2243d7]?_0x49e925[_0xd32c('0x2c')][_0x2243d7]['insertions']:'[]',_0x4d197f=_0x49e925[_0xd32c('0x2c')][_0x2243d7]?_0x49e925[_0xd32c('0x2c')][_0x2243d7][_0xd32c('0xb2')]:'[]';_0x49e925['model'][_0x2243d7]={'insertions':this[_0xd32c('0xb1')](_0x3b19ad),'deletions':this[_0xd32c('0xb1')](_0x4d197f)};}}for(const _0x53a7c1 of _0x3df103){let _0x4d5ab9=null,_0x30f281=0x0;const _0x51dd63=new Map(Array['from'](_0x4d0f14[_0xd32c('0xf4')][_0x53a7c1][_0xd32c('0x16')][_0xd32c('0x11')])['filter'](([_0x1dca2a])=>!_0x1dca2a[_0xd32c('0xda')](_0xd32c('0x1c'))));let _0x2331fc=0x0;for(const _0x3987d5 of _0x2beafc){const _0x23ee13=this['_makeTape'](_0x3987d5[_0xd32c('0xf4')][_0x53a7c1]['insertions']);_0x3987d5==_0x4d0f14?(_0x4d5ab9=_0x23ee13,_0x30f281=_0x4d5ab9[_0xd32c('0x30')],_0x4d5ab9[_0xd32c('0x5d')](_0x26592c=>{_0x26592c['id']=_0x2331fc++;}),this['_processTape'](_0x4d5ab9)):this['_markInsertions'](_0x4d5ab9,_0x23ee13);const _0x6228df=_0x4d5ab9['filter'](_0x287c1a=>!_0x287c1a[_0xd32c('0x113')])[_0xd32c('0xc3')](_0x58dd9c=>_0x58dd9c['id']);let _0x3f3a41=0x0;const _0x1509bc=this[_0xd32c('0x74')](_0x3987d5[_0xd32c('0xf4')][_0x53a7c1][_0xd32c('0xb2')]);_0x1509bc[_0xd32c('0x5d')](_0x47d234=>{_0x47d234[_0xd32c('0x9a')]?_0x47d234['id']=_0x30f281++:_0x47d234['id']=_0x6228df[_0x3f3a41++];}),this['_processTape'](_0x1509bc),this['_setDistance'](_0x4d5ab9,_0xd32c('0x113')),this[_0xd32c('0x66')](_0x1509bc,_0xd32c('0x9a')),_0x3987d5==_0x4d0f14&&this[_0xd32c('0xff')](_0x4d5ab9,_0x51dd63),_0x4d5ab9=this[_0xd32c('0x55')](_0x4d5ab9,_0x1509bc),this[_0xd32c('0x26')](_0x4d5ab9),this[_0xd32c('0x66')](_0x4d5ab9,_0xd32c('0x9a'));}_0x4d5ab9=_0x4d5ab9[_0xd32c('0x65')](_0x4e9c44=>!(_0x4e9c44[_0xd32c('0x113')]&&_0x4e9c44[_0xd32c('0x9a')]));const _0x403305=new Map(_0x5142e2[_0xd32c('0xf4')][_0x53a7c1][_0xd32c('0xb2')]['markers']),_0x1ccb8c=new Set(_0x51dd63[_0xd32c('0x39')]());for(const _0x1137c8 of _0x403305[_0xd32c('0x39')]())_0x1ccb8c[_0xd32c('0xbe')](_0x1137c8);this['_markSuggestions'](_0x4d5ab9,_0x1ccb8c),this[_0xd32c('0x2d')](_0x4d5ab9),_0x4d5ab9=this[_0xd32c('0x115')](_0x4d5ab9),_0x4d5ab9=this[_0xd32c('0x2e')](_0x4d5ab9),_0x4d5ab9=this[_0xd32c('0x97')](_0x4d5ab9);const {root:_0x2c71d0,changes:_0x3c542d}=this[_0xd32c('0xfc')](_0x4d5ab9,_0x11f80a,_0x53a7c1);_0x3aebf4[_0xd32c('0xf4')][_0x53a7c1]=_0x2c71d0;const _0x52b02b=_0x36defc[_0xd32c('0x9c')](_0x53a7c1);if(_0x52b02b){const _0x322601=_0x11f80a[_0xd32c('0x9c')](_0x52b02b[_0xd32c('0x11b')]),_0x4de1a3=new _0x580ee1({'author':_0x322601,'type':_0x52b02b['isAttached']?_0xd32c('0xce'):_0xd32c('0x45'),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x53a7c1});_0x3c542d[_0xd32c('0x6a')](_0x4de1a3),_0x3aebf4[_0xd32c('0x84')][_0x53a7c1][_0xd32c('0x92')]=_0x4de1a3['id'];}_0x3aebf4['changes']=_0x3aebf4['changes'][_0xd32c('0x4e')](_0x3c542d);}return _0x3aebf4;}[_0xd32c('0xff')](_0x4213a2,_0xd1e892){for(let _0x78e448=0x0;_0x78e448<_0x4213a2[_0xd32c('0x30')];_0x78e448++)for(const [_0x370008,_0x1c83b3]of _0xd1e892)_0x1c83b3[_0xd32c('0x122')][_0xd32c('0x68')](_0x4213a2[_0x78e448]['previousPosition'])&&_0x4213a2[_0x78e448][_0xd32c('0x49')][_0xd32c('0x1d')](_0x370008),_0x1c83b3[_0xd32c('0xfe')][_0xd32c('0x68')](_0x4213a2[_0x78e448][_0xd32c('0xf5')])&&_0x4213a2[_0x78e448][_0xd32c('0x79')][_0xd32c('0x1d')](_0x370008);}[_0xd32c('0x55')](_0x412472,_0x172fb0){let _0x2df28b=[],_0x1a3816=0x0,_0x307a5b=0x0;for(;_0x1a3816<_0x412472[_0xd32c('0x30')]||_0x307a5b<_0x172fb0['length'];){const _0x49feda=_0x412472[_0x1a3816]||{},_0x91e420=_0x172fb0[_0x307a5b]||{};if(_0x49feda['id']==_0x91e420['id'])_0x1a3816++,_0x307a5b++,_0x2df28b[_0xd32c('0x1d')](_0x49feda);else{if(_0x91e420[_0xd32c('0x9a')]&&_0x49feda[_0xd32c('0x113')]){const {commonTape:_0xb11fda,iEnd:_0x181ded,jEnd:_0x10124a}=this['_threeWayMerge'](_0x412472,_0x1a3816,_0x172fb0,_0x307a5b);_0x2df28b=_0x2df28b[_0xd32c('0x4e')](_0xb11fda),_0x1a3816=_0x181ded,_0x307a5b=_0x10124a;}else _0x91e420['isRemoved']?(_0x307a5b++,_0x2df28b[_0xd32c('0x1d')](_0x91e420)):(_0x1a3816++,_0x2df28b['push'](_0x49feda));}}return _0x2df28b;}[_0xd32c('0x124')](_0x1c90b4,_0x4ce5a6){const _0x147fa9=[];for(let _0x6cef4f=0x0;_0x6cef4f<_0x1c90b4['length'];_0x6cef4f++){for(let _0x5d47d2=0x0;_0x5d47d2<_0x1c90b4[_0x6cef4f][_0xd32c('0x49')]['length'];_0x5d47d2++){const _0x5879bd=_0x1c90b4[_0x6cef4f][_0xd32c('0x49')][_0x5d47d2];if(!_0x4ce5a6['has'](_0x5879bd))continue;const {group:_0x8d3949,type:_0x4b1f77,authorId:_0x5ce5b3}=_0x21b4d1(_0x5879bd);_0xd32c('0x6c')!=_0x8d3949||_0xd32c('0xa2')!=_0x4b1f77&&'deletion'!=_0x4b1f77||(_0x147fa9[_0xd32c('0x6a')]({'type':_0x4b1f77,'name':_0x5879bd,'userId':_0x5ce5b3}),_0x1c90b4[_0x6cef4f][_0xd32c('0x49')]['splice'](_0x5d47d2,0x1),_0x5d47d2--);}_0x3ed61e(_0x1c90b4[_0x6cef4f]);for(let _0x3cf0a2=0x0;_0x3cf0a2<_0x1c90b4[_0x6cef4f]['markersEnd'][_0xd32c('0x30')];_0x3cf0a2++){const _0x231c11=_0x1c90b4[_0x6cef4f][_0xd32c('0x79')][_0x3cf0a2];if(!_0x4ce5a6['has'](_0x231c11))continue;const {group:_0x1ce48f,type:_0x3775b1}=_0x21b4d1(_0x231c11);if(_0xd32c('0x6c')!=_0x1ce48f||_0xd32c('0xa2')!=_0x3775b1&&_0xd32c('0x119')!=_0x3775b1)continue;_0x1c90b4[_0x6cef4f][_0xd32c('0x79')]['splice'](_0x3cf0a2,0x1),_0x3cf0a2--;const _0x2e36c1=_0x147fa9[_0xd32c('0x109')](_0x11d45c=>_0x11d45c[_0xd32c('0xa7')]==_0x231c11);_0x2e36c1>-0x1&&_0x147fa9[_0xd32c('0xd0')](_0x2e36c1,0x1);}}function _0x21b4d1(_0x153c3f){const _0x366125=_0x153c3f[_0xd32c('0xe')](':');return{'group':_0x366125[0x0],'type':_0x366125[0x1],'subType':_0x366125[_0xd32c('0x30')]>=0x5?_0x366125[0x2]:null,'id':_0x366125['length']<0x5?_0x366125[0x2]:_0x366125[0x3],'authorId':_0x366125[_0xd32c('0x30')]<0x5?_0x366125[0x3]:_0x366125[0x4],'markerCount':0x6==_0x366125[_0xd32c('0x30')]?_0x366125[0x5]:null};}function _0x3ed61e(_0x5c1bcf){for(let _0x53820d=0x0;_0x53820d<_0x147fa9['length'];_0x53820d++){if(_0x5c1bcf['isAdded']&&_0xd32c('0xa2')==_0x147fa9[_0x53820d][_0xd32c('0xa0')])return _0x5c1bcf[_0xd32c('0xf1')]=_0x147fa9[_0x53820d],void delete _0x5c1bcf[_0xd32c('0x113')];if(!_0x5c1bcf['isAdded']&&!_0x5c1bcf[_0xd32c('0x9a')]&&_0xd32c('0x119')==_0x147fa9[_0x53820d][_0xd32c('0xa0')])return void(_0x5c1bcf[_0xd32c('0xcf')]=_0x147fa9[_0x53820d]);}}}[_0xd32c('0x66')](_0x358850,_0x14be90){let _0x2232ad=0x0,_0x10e8e0=!0x1;const _0x30d994=new Map();for(const _0x30ccaf of _0x358850)_0x30ccaf[_0x14be90]?_0x10e8e0&&(_0x2232ad++,_0x10e8e0=!0x1):(_0x2232ad++,_0x10e8e0=!0x0),_0x30d994['set'](_0x30ccaf['id'],_0x2232ad);for(let _0x13dbfe=0x0;_0x13dbfe<_0x358850[_0xd32c('0x30')];_0x13dbfe++){if('isRemoved'==_0x14be90&&_0x358850[_0x13dbfe][_0xd32c('0x113')]||'isAdded'==_0x14be90&&_0x358850[_0x13dbfe][_0xd32c('0x9a')])continue;if(_0xd32c('0x7b')==_0x358850[_0x13dbfe][_0xd32c('0xa0')]){_0x358850[_0x13dbfe]['distance']=0x0;continue;}const _0x595dd6=_0x30d994['get'](_0x358850[_0x13dbfe][_0xd32c('0xea')]),_0x3f47ba=_0x30d994[_0xd32c('0x9c')](_0x358850[_0x13dbfe]['id']);_0x358850[_0x13dbfe][_0xd32c('0x7')]=_0x595dd6-_0x3f47ba;}}['_getRevisionsRange'](_0x2e11e,_0x49b9e1,_0x5673c2=!0x1){const _0x3957b4=[];let _0x1be9e0=this['repository'][_0xd32c('0x37')](_0x2e11e),_0x4ae8d2=this[_0xd32c('0x91')][_0xd32c('0x37')](_0x49b9e1);for(-0x1==_0x4ae8d2&&(_0x4ae8d2=this[_0xd32c('0x91')]['_revisions'][_0xd32c('0x30')],_0x5673c2=!0x1);_0x1be9e0<_0x4ae8d2;)_0x3957b4['push'](this[_0xd32c('0x91')][_0xd32c('0xde')](_0x1be9e0)),_0x1be9e0++;return _0x5673c2&&_0x3957b4[_0xd32c('0x1d')](this['repository'][_0xd32c('0xde')](_0x1be9e0)),_0x3957b4;}[_0xd32c('0x32')](_0x53012b,_0x394a1b,_0x29e3ad,_0x2a0395){const _0xe05776=this[_0xd32c('0x4c')][_0xd32c('0xf4')][_0xd32c('0x1b')];let _0x276e16=_0x394a1b;for(;_0x53012b[_0x276e16]&&_0x53012b[_0x276e16][_0xd32c('0x113')];)_0x276e16++;let _0x23bb03=_0x2a0395;for(;_0x29e3ad[_0x23bb03]&&_0x29e3ad[_0x23bb03]['isRemoved'];)_0x23bb03++;_0x47a0e3(_0x53012b,_0x394a1b,_0x276e16),_0x47a0e3(_0x29e3ad,_0x2a0395,_0x23bb03);const _0x4afcb8=_0x29e3ad[_0xd32c('0xd1')](_0x2a0395,_0x23bb03)[_0xd32c('0x4e')](_0x53012b[_0xd32c('0xd1')](_0x394a1b,_0x276e16));return _0x4afcb8['sort']((_0x521857,_0x25a435)=>_0x521857[_0xd32c('0x20')]!=_0x25a435[_0xd32c('0x20')]?_0x521857[_0xd32c('0x20')]-_0x25a435['side']:_0x521857[_0xd32c('0x83')]!=_0x25a435[_0xd32c('0x83')]?_0x521857['level']-_0x25a435['level']:_0x521857[_0xd32c('0x7')]!=_0x25a435[_0xd32c('0x7')]?_0x25a435['distance']-_0x521857[_0xd32c('0x7')]:!!_0x521857[_0xd32c('0x113')]!=!!_0x25a435[_0xd32c('0x113')]?-0x1==_0x521857['side']||0x0==_0x521857['side']?_0x521857[_0xd32c('0x113')]?-0x1:0x1:_0x521857[_0xd32c('0x113')]?0x1:-0x1:_0x521857[_0xd32c('0x8e')]-_0x25a435[_0xd32c('0x8e')]),{'commonTape':_0x4afcb8,'iEnd':_0x276e16,'jEnd':_0x23bb03};function _0x47a0e3(_0x29b62b,_0x1bb86,_0x39f0e3){let _0x21f60e=-0x1,_0x4db76e=Number[_0xd32c('0x69')],_0x14a630=!0x0;for(let _0x1210de=_0x1bb86;_0x1210de<_0x39f0e3;_0x1210de++)if(_0xe05776[_0xd32c('0xf6')](_0x29b62b[_0x1210de][_0xd32c('0xa1')])||(_0x14a630=!0x1),_0x29b62b[_0x1210de][_0xd32c('0xa1')][_0xd32c('0x50')]<_0x1bb86&&(_0x21f60e=_0x1210de),_0x29b62b[_0x1210de][_0xd32c('0xa1')]['endIndex']>=_0x39f0e3){_0x4db76e=_0x1210de;break;}_0x14a630&&(_0x21f60e=_0x39f0e3-0x1);for(let _0x396976=_0x1bb86;_0x396976<_0x39f0e3;_0x396976++)_0x29b62b[_0x396976][_0xd32c('0x20')]=_0x396976<=_0x21f60e?-0x1:_0x396976<_0x4db76e?0x0:0x1,_0x29b62b[_0x396976][_0xd32c('0x8e')]=_0x396976;let _0x1c9420=0x0;for(let _0x358171=_0x1bb86;_0x358171<=_0x21f60e;_0x358171++)0x0==_0x29b62b[_0x358171]['distance']?_0x29b62b[_0x358171][_0xd32c('0x83')]=_0x1c9420:(_0x1c9420++,_0x29b62b[_0x358171][_0xd32c('0x83')]=_0x1c9420,_0x1c9420++);for(let _0x16afb8=_0x1bb86;_0x16afb8<_0x39f0e3;_0x16afb8++)0x0==_0x29b62b[_0x16afb8][_0xd32c('0x20')]&&(_0x29b62b[_0x16afb8][_0xd32c('0x83')]=_0x1c9420);_0x1c9420=0x0;for(let _0x38b6cc=_0x39f0e3-0x1;_0x38b6cc>=_0x4db76e;_0x38b6cc--)0x0==_0x29b62b[_0x38b6cc][_0xd32c('0x7')]?_0x29b62b[_0x38b6cc][_0xd32c('0x83')]=_0x1c9420:(_0x1c9420--,_0x29b62b[_0x38b6cc][_0xd32c('0x83')]=_0x1c9420,_0x1c9420--);}}[_0xd32c('0x2d')](_0x37e752){const _0x3ee95f=new Map(),_0x540968=this['editor'][_0xd32c('0xf4')][_0xd32c('0x1b')];for(let _0x3c05e4=0x1;_0x3c05e4<_0x37e752['length'];_0x3c05e4++){let _0x3781dc,_0x37d797,_0x27348f;const _0x3df093=_0x37e752[_0x3c05e4],_0x4a2c46=_0x37e752[_0x3c05e4-0x1];if('text'==_0x3df093[_0xd32c('0xa0')])continue;if(_0x3df093['type']!=_0x4a2c46[_0xd32c('0xa0')])continue;if(!_0x540968[_0xd32c('0xe7')](_0x4a2c46[_0xd32c('0xa1')])||_0x540968[_0xd32c('0x35')](_0x4a2c46[_0xd32c('0xa1')]))continue;if(!_0x540968['isBlock'](_0x3df093['item'])||_0x540968[_0xd32c('0x35')](_0x3df093[_0xd32c('0xa1')]))continue;if((_0x37e752[_0x3c05e4][_0xd32c('0x113')]||_0x37e752[_0x3c05e4][_0xd32c('0xf1')])&&_0x37e752[_0x3c05e4-0x1]['isRemoved'])_0x3781dc=_0x37e752[_0x3c05e4],_0x37d797=_0x37e752[_0x3c05e4-0x1],_0x27348f=_0x3c05e4-0x1;else{if(!_0x37e752[_0x3c05e4][_0xd32c('0x9a')]||!_0x37e752[_0x3c05e4-0x1][_0xd32c('0x113')]&&!_0x37e752[_0x3c05e4-0x1][_0xd32c('0xf1')])continue;_0x3781dc=_0x37e752[_0x3c05e4-0x1],_0x37d797=_0x37e752[_0x3c05e4],_0x27348f=_0x3c05e4;}const _0x512c8d=_0x3781dc['level']==_0x37d797[_0xd32c('0x83')],_0x1817e4=Math[_0xd32c('0x98')](_0x3781dc[_0xd32c('0x83')])<Math[_0xd32c('0x98')](_0x37d797[_0xd32c('0x83')])&&0x0==_0x37d797[_0xd32c('0x7')];(_0x512c8d||_0x1817e4)&&(_0x3ee95f[_0xd32c('0x78')](_0x37d797['id'],_0x3781dc['id']),_0x37e752[_0xd32c('0xd0')](_0x27348f,0x1),_0x3c05e4--,_0x3781dc[_0xd32c('0x113')]=!0x1);}for(let _0x46ca8f=0x0;_0x46ca8f<_0x37e752[_0xd32c('0x30')];_0x46ca8f++)_0x3ee95f[_0xd32c('0x2f')](_0x37e752[_0x46ca8f][_0xd32c('0xea')])&&(_0x37e752[_0x46ca8f][_0xd32c('0xea')]=_0x3ee95f[_0xd32c('0x9c')](_0x37e752[_0x46ca8f][_0xd32c('0xea')]));}['_removeMissingPairs'](_0xa87612){const _0x31ff89=new Set(_0xa87612['map'](_0x546562=>_0x546562['id']));for(let _0x51e2a2=0x0;_0x51e2a2<_0xa87612['length'];_0x51e2a2++)_0x31ff89[_0xd32c('0x2f')](_0xa87612[_0x51e2a2][_0xd32c('0xea')])||0x0==_0xa87612[_0x51e2a2][_0xd32c('0x7')]||(_0xa87612[_0x51e2a2][_0xd32c('0xe6')]=!0x0);return _0xa87612['filter'](_0x4355cf=>!_0x4355cf[_0xd32c('0xe6')]);}[_0xd32c('0x2e')](_0x385cd2){const _0xac574=new Set();for(let _0x16ccdb=0x0;_0x16ccdb<_0x385cd2['length'];_0x16ccdb++){if(_0xac574[_0xd32c('0x2f')](_0x385cd2[_0x16ccdb]['id'])&&_0x385cd2[_0x16ccdb][_0xd32c('0x9a')]&&(_0x385cd2[_0x16ccdb]['isIncorrect']=!0x0),_0x385cd2[_0x16ccdb][_0xd32c('0xe6')])continue;if(0x0==_0x385cd2[_0x16ccdb][_0xd32c('0x7')])continue;if('elementStart'!=_0x385cd2[_0x16ccdb][_0xd32c('0xa0')])continue;if(null==_0x385cd2[_0x16ccdb][_0xd32c('0xea')])continue;let _0xaa78d6=_0x16ccdb+0x1,_0xf436e1=0x0;for(;_0x385cd2[_0xaa78d6]['id']!=_0x385cd2[_0x16ccdb][_0xd32c('0xea')];)_0xd32c('0xc2')==_0x385cd2[_0xaa78d6]['type']?_0xf436e1++:_0xd32c('0x44')==_0x385cd2[_0xaa78d6][_0xd32c('0xa0')]&&_0xf436e1--,_0xaa78d6++;if(0x0!=_0xf436e1){if(_0x385cd2[_0x16ccdb][_0xd32c('0x9a')])_0x385cd2[_0x16ccdb][_0xd32c('0xe6')]=!0x0;else for(;_0xaa78d6!=_0x16ccdb;)_0x385cd2[_0xaa78d6][_0xd32c('0x9a')]&&0x0!=_0x385cd2[_0xaa78d6][_0xd32c('0x7')]&&(_0x385cd2[_0xaa78d6]['isIncorrect']=!0x0,_0xac574[_0xd32c('0xce')](_0x385cd2[_0xaa78d6][_0xd32c('0xea')])),_0xaa78d6--;}}return _0x385cd2[_0xd32c('0x65')](_0x2f3175=>!_0x2f3175[_0xd32c('0xe6')]);}[_0xd32c('0x97')](_0x20be84){const _0x98b7b3=this[_0xd32c('0x4c')][_0xd32c('0xf4')]['schema'];for(let _0x47b777=0x0;_0x47b777<_0x20be84['length'];_0x47b777++){if(!(_0x20be84[_0x47b777]['isAdded']||_0x20be84[_0x47b777][_0xd32c('0xf1')]||_0x20be84[_0x47b777]['isRemoved']||_0x20be84[_0x47b777][_0xd32c('0xcf')]))continue;if(0x0==_0x20be84[_0x47b777]['distance'])continue;const _0x4232f4=_0x20be84[_0x47b777][_0xd32c('0xa1')];_0x98b7b3[_0xd32c('0xe7')](_0x4232f4)||_0x98b7b3['isLimit'](_0x4232f4)||(_0x20be84[_0x47b777]['isAdded']&&delete _0x20be84[_0x47b777][_0xd32c('0x113')],_0x20be84[_0x47b777]['isAddSuggestion']&&delete _0x20be84[_0x47b777][_0xd32c('0xf1')],_0x20be84[_0x47b777]['isRemoveSuggestion']&&delete _0x20be84[_0x47b777][_0xd32c('0xcf')],_0x20be84[_0x47b777][_0xd32c('0x9a')]&&(_0x20be84[_0x47b777][_0xd32c('0xe6')]=!0x0));}return _0x20be84[_0xd32c('0x65')](_0x470a84=>!_0x470a84['isIncorrect']);}[_0xd32c('0xfc')](_0x3e0af0,_0x4de458,_0x2157d9){const _0x529c01=new _0x403f0c(),_0x274d8f=[],_0x83764c=new Map(),_0x3f59ee=this[_0xd32c('0x4c')]['model'],_0x1e94dd=_0x3f59ee['schema'],_0x4fa470=[_0x529c01],_0x59b6d0={},_0x452141={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4d277c=null;const _0x10bbc3=[0x0];for(let _0x595305=0x0;_0x595305<_0x3e0af0[_0xd32c('0x30')];_0x595305++){let _0x458588,_0x2d57d2;if('elementStart'===_0x3e0af0[_0x595305]['type']){_0x458588=_0x3f59ee[_0xd32c('0x101')](_0x529c01,_0x10bbc3);const _0xa492cd=new _0x434074(_0x3e0af0[_0x595305][_0xd32c('0xa1')][_0xd32c('0xa7')],_0x3e0af0[_0x595305][_0xd32c('0xa1')][_0xd32c('0x33')]());_0x4fa470[0x0]['_appendChild'](_0xa492cd),_0x10bbc3[_0xd32c('0x1d')](0x0),_0x4fa470[_0xd32c('0x6a')](_0xa492cd),_0x2d57d2=_0x3f59ee['createPositionFromPath'](_0x529c01,_0x10bbc3),_0x4d277c=null;}else{if(_0xd32c('0x44')===_0x3e0af0[_0x595305][_0xd32c('0xa0')])_0x4fa470[_0xd32c('0x14')](),_0x458588=_0x3f59ee[_0xd32c('0x101')](_0x529c01,_0x10bbc3),_0x10bbc3['pop'](),_0x10bbc3[_0x10bbc3[_0xd32c('0x30')]-0x1]++,_0x2d57d2=_0x3f59ee[_0xd32c('0x101')](_0x529c01,_0x10bbc3),_0x4d277c=null;else{if(_0x458588=_0x3f59ee[_0xd32c('0x101')](_0x529c01,_0x10bbc3),_0x4d277c&&_0x54932d(_0x4d277c,_0x3e0af0[_0x595305]['item']))_0x4d277c['_data']+=_0x3e0af0[_0x595305][_0xd32c('0xa1')]['data'];else{const _0x34e9e4=new _0xb713ed(_0x3e0af0[_0x595305][_0xd32c('0xa1')]['data'],_0x3e0af0[_0x595305][_0xd32c('0xa1')][_0xd32c('0x33')]());_0x4fa470[0x0][_0xd32c('0xca')](_0x34e9e4),_0x4d277c=_0x34e9e4;}_0x10bbc3[_0x10bbc3[_0xd32c('0x30')]-0x1]+=_0x3e0af0[_0x595305][_0xd32c('0xa1')][_0xd32c('0x29')],_0x2d57d2=_0x3f59ee[_0xd32c('0x101')](_0x529c01,_0x10bbc3);}}for(const _0x432a7e of _0x3e0af0[_0x595305][_0xd32c('0x49')])_0x83764c[_0xd32c('0x78')](_0x432a7e,{'start':_0x458588,'end':null});_0x5165d0(_0xd32c('0xcf'),_0x595305,_0x458588,_0x2d57d2),_0x5165d0(_0xd32c('0xf1'),_0x595305,_0x458588,_0x2d57d2),_0x5165d0(_0xd32c('0x9a'),_0x595305,_0x458588,_0x2d57d2),_0x5165d0('isAdded',_0x595305,_0x458588,_0x2d57d2);for(const _0x149d87 of _0x3e0af0[_0x595305][_0xd32c('0x79')]){_0x83764c['get'](_0x149d87)[_0xd32c('0xfe')]=_0x2d57d2;}}for(const [_0xcc099,_0x5e85bb]of _0x83764c){const _0x153256=this['editor'][_0xd32c('0xf4')][_0xd32c('0x10')](_0x5e85bb['start'],_0x5e85bb[_0xd32c('0xfe')]);_0x529c01[_0xd32c('0x11')][_0xd32c('0x78')](_0xcc099,_0x153256);}return _0x274d8f[_0xd32c('0x1f')]((_0x4cb49c,_0x4880d2)=>{const _0x1f310e=_0x529c01[_0xd32c('0x11')][_0xd32c('0x9c')]('revision:'+_0x4cb49c['id']),_0xdaf635=_0x529c01[_0xd32c('0x11')][_0xd32c('0x9c')]('revision:'+_0x4880d2['id']);return _0x1f310e[_0xd32c('0x122')][_0xd32c('0xc')](_0xdaf635[_0xd32c('0x122')])?-0x1:_0x1f310e[_0xd32c('0x122')][_0xd32c('0x5e')](_0xdaf635[_0xd32c('0x122')])?0x1:_0x1f310e[_0xd32c('0xfe')][_0xd32c('0xc')](_0xdaf635[_0xd32c('0xfe')])?-0x1:_0x1f310e[_0xd32c('0xfe')][_0xd32c('0x5e')](_0xdaf635[_0xd32c('0xfe')])?0x1:_0xd32c('0xce')===_0x4cb49c['type']?-0x1:0x1;}),{'root':_0x529c01,'changes':_0x274d8f};function _0x5165d0(_0x1d598a,_0x5a65fd,_0x12379,_0x5ac45a){const _0x3003ec=!!_0x3e0af0[_0x5a65fd][_0x1d598a],_0x2e1d32=_0x3003ec?_0x3e0af0[_0x5a65fd][_0x1d598a][_0xd32c('0x11b')]:null,_0x29f217=_0x5a65fd===_0x3e0af0[_0xd32c('0x30')]-0x1,_0x1cba6d=_0x452141[_0x1d598a][0x0],_0x142bbe=_0x1e94dd[_0xd32c('0xd3')](_0x3e0af0[_0x5a65fd][_0xd32c('0xa1')]);!_0x59b6d0[_0x1d598a]&&_0x3003ec?_0x59b6d0[_0x1d598a]={'start':_0x12379,'tapeItem':_0x3e0af0[_0x5a65fd],'userId':_0x2e1d32,'type':_0x1d598a}:_0x59b6d0[_0x1d598a]&&!_0x3003ec?(_0x59b6d0[_0x1d598a][_0xd32c('0xfe')]=_0x12379,_0x1a4dff(_0x59b6d0[_0x1d598a]),_0x59b6d0[_0x1d598a]=null):_0x59b6d0[_0x1d598a]&&_0x3003ec&&_0x59b6d0[_0x1d598a][_0xd32c('0x11b')]!==_0x2e1d32&&(_0x59b6d0[_0x1d598a][_0xd32c('0xfe')]=_0x12379,_0x1cba6d&&_0x1cba6d['userId']===_0x59b6d0[_0x1d598a][_0xd32c('0x11b')]||_0x1a4dff(_0x59b6d0[_0x1d598a]),_0x59b6d0[_0x1d598a]={'start':_0x12379,'tapeItem':_0x3e0af0[_0x5a65fd],'userId':_0x2e1d32,'type':_0x1d598a}),_0x59b6d0[_0x1d598a]&&_0x142bbe&&(_0xd32c('0xc2')!==_0x3e0af0[_0x5a65fd]['type']||_0x1cba6d&&_0x1cba6d['userId']===_0x2e1d32||_0x452141[_0x1d598a][_0xd32c('0x6a')]({'userId':_0x2e1d32,'object':_0x3e0af0[_0x5a65fd]['item'],'change':_0x59b6d0[_0x1d598a]}),_0xd32c('0x44')===_0x3e0af0[_0x5a65fd][_0xd32c('0xa0')]&&_0x1cba6d&&_0x1cba6d[_0xd32c('0xd4')]===_0x3e0af0[_0x5a65fd][_0xd32c('0xa1')]&&(_0x452141[_0x1d598a]['shift'](),_0x59b6d0[_0x1d598a]=_0x1cba6d[_0xd32c('0xe3')])),_0x59b6d0[_0x1d598a]&&_0x29f217&&(_0x59b6d0[_0x1d598a][_0xd32c('0xfe')]=_0x5ac45a,_0x1a4dff(_0x59b6d0[_0x1d598a]),_0x59b6d0[_0x1d598a]=null);}function _0x1a4dff({start:_0x1a755c,end:_0x5d5702,tapeItem:_0x586b53,userId:_0x3a7671,type:_0x12be43}){const _0x3ad166=_0x586b53[_0xd32c('0xa1')],_0x37645f=_0x3f59ee[_0xd32c('0x1b')][_0xd32c('0xe7')](_0x3ad166)&&!_0x3f59ee[_0xd32c('0x1b')][_0xd32c('0x35')](_0x3ad166),_0x4bbd9e=_0x1a755c[_0xd32c('0x4')]==_0x5d5702['parent']&&_0x5d5702[_0xd32c('0x10d')];if(_0x37645f&&_0x4bbd9e)return;const _0xb5503e=_0x3f59ee['createRange'](_0x1a755c,_0x5d5702),_0x56ae7a=_0x4de458[_0xd32c('0x9c')](_0x3a7671),_0x547758=new _0x580ee1({'author':_0x56ae7a,'type':_0xd32c('0x113')==_0x12be43||_0xd32c('0xf1')==_0x12be43?_0xd32c('0xce'):_0xd32c('0x45'),'data':{'isSuggestion':_0xd32c('0xf1')==_0x12be43||_0xd32c('0xcf')==_0x12be43},'createdAt':new Date(),'rootName':_0x2157d9});_0x274d8f[_0xd32c('0x1d')](_0x547758),_0x529c01[_0xd32c('0x11')]['set'](_0xd32c('0x1c')+_0x547758['id'],_0xb5503e);}function _0x54932d(_0x51e1ce,_0x2f6de6){const _0x22e983=_0x51e1ce[_0xd32c('0x33')](),_0x11b144=_0x2f6de6[_0xd32c('0x33')]();for(const _0x5f27d9 of _0x22e983){if(_0x5f27d9[0x1]!==_0x2f6de6['getAttribute'](_0x5f27d9[0x0]))return!0x1;_0x11b144[_0xd32c('0x34')]();}return _0x11b144[_0xd32c('0x34')]()[_0xd32c('0x52')];}}[_0xd32c('0x11e')](){this['editor'][_0xd32c('0x77')][_0xd32c('0xa8')](_0xd32c('0x89'))['dataToMarker']({'view':_0xd32c('0xe1')}),this['editor'][_0xd32c('0x77')][_0xd32c('0xa8')](_0xd32c('0x3'))[_0xd32c('0x41')]({'model':_0xd32c('0xe1'),'view':_0x4b037c=>{const _0x364134=_0x4b037c['markerName'][_0xd32c('0xe')](':')[0x1],_0x120266=this[_0xd32c('0x126')](_0x364134);if(!_0x120266)return null;const _0x520c99=_0xd32c('0xce')==_0x120266[_0xd32c('0xa0')]?'insertion':_0xd32c('0x119'),_0x4629f0=[_0xd32c('0x3c'),_0xd32c('0x24')+_0x520c99];return _0x120266[_0xd32c('0xba')][_0xd32c('0xcb')]&&_0x4629f0['push'](_0xd32c('0x24')+_0x520c99+_0xd32c('0x7f')),this[_0xd32c('0x6')]==_0x120266&&_0x4629f0[_0xd32c('0x1d')](_0xd32c('0x120')),{'classes':_0x4629f0,'attributes':{'data-change-id':_0x364134}};}}),this[_0xd32c('0x4c')][_0xd32c('0x77')][_0xd32c('0xa8')]('upcast')[_0xd32c('0xce')](_0x454e48=>{_0x454e48['on'](_0xd32c('0x6d'),(_0x3f4af8,_0xe37eb8,_0x28424d)=>{const _0x422dc3=_0xe37eb8[_0xd32c('0xc1')]['getChild'](0x0);if(!_0x422dc3||!_0x422dc3['is'](_0xd32c('0x3a'),_0xd32c('0x94')))return;if(!_0x28424d[_0xd32c('0xfa')][_0xd32c('0xc8')](_0x422dc3,{'attributes':['vid_start','vid_end']}))return;const _0x18cbd4=_0xe37eb8[_0xd32c('0xbb')][_0xd32c('0x122')][_0xd32c('0x4')];_0x28424d[_0xd32c('0x67')][_0xd32c('0x7c')](_0xd32c('0x53'),_0x422dc3[_0xd32c('0xab')]('vid_start'),_0x18cbd4),_0x28424d[_0xd32c('0x67')]['setAttribute'](_0xd32c('0xb0'),_0x422dc3[_0xd32c('0xab')]('vid_end'),_0x18cbd4);},{'priority':_0xd32c('0x3e')});}),this[_0xd32c('0x4c')][_0xd32c('0x77')]['for'](_0xd32c('0x89'))[_0xd32c('0xce')](_0x56bba9=>{_0x56bba9['on'](_0xd32c('0x3a'),(_0x4e57bf,_0x11af1c,_0x5024ae)=>{if(!_0x5024ae[_0xd32c('0xfa')]['consume'](_0x11af1c[_0xd32c('0xc1')],{'attributes':[_0xd32c('0x53'),_0xd32c('0xb0')]}))return;if(_0x11af1c['modelRange'][_0xd32c('0xcd')])return;const _0x355844=_0x11af1c['modelRange'][_0xd32c('0x122')][_0xd32c('0x4')];_0x355844['hasAttribute'](_0xd32c('0x53'))||_0x355844[_0xd32c('0xc4')](_0xd32c('0xa4'))||(_0x5024ae[_0xd32c('0x67')][_0xd32c('0x7c')](_0xd32c('0x53'),_0x11af1c[_0xd32c('0xc1')]['getAttribute'](_0xd32c('0x53')),_0x355844),_0x5024ae['writer'][_0xd32c('0x7c')](_0xd32c('0xb0'),_0x11af1c[_0xd32c('0xc1')][_0xd32c('0xab')](_0xd32c('0xb0')),_0x355844));},{'priority':'low'});}),this[_0xd32c('0x4c')]['conversion']['for'](_0xd32c('0x89'))['elementToAttribute']({'view':{'name':_0xd32c('0x81'),'attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x26d816=>_0x26d816['getAttribute'](_0xd32c('0xa4'))}}),this[_0xd32c('0x4c')][_0xd32c('0xf4')]['schema']['on'](_0xd32c('0xdc'),(_0x39f445,[,_0x4377c7])=>{[_0xd32c('0x53'),'vid_end',_0xd32c('0xa4')][_0xd32c('0xee')](_0x4377c7)&&(_0x39f445[_0xd32c('0x31')]=!0x0,_0x39f445[_0xd32c('0x63')]());},{'priority':'highest'}),this['editor'][_0xd32c('0x77')]['for'](_0xd32c('0x4d'))[_0xd32c('0xce')](_0x280170=>{_0x280170['on'](_0xd32c('0x103'),(_0x3f0356,_0x76c40a,_0x50c66e)=>{if('\x20'!=_0x76c40a[_0xd32c('0xa1')]['data']||_0x76c40a[_0xd32c('0xa1')][_0xd32c('0x61')][_0xd32c('0x2b')]>0x1)return;if(!_0x50c66e[_0xd32c('0xfa')][_0xd32c('0xc8')](_0x76c40a[_0xd32c('0xa1')],_0x3f0356['name']))return;const _0x20849a=_0x50c66e[_0xd32c('0x67')],_0x2de5ae=_0x50c66e['mapper']['toViewRange'](_0x76c40a[_0xd32c('0x8d')]);_0x20849a[_0xd32c('0x58')](_0x2de5ae,_0x20849a[_0xd32c('0xfb')]('span'));});}),this[_0xd32c('0x4c')][_0xd32c('0x77')][_0xd32c('0xa8')](_0xd32c('0x4d'))[_0xd32c('0xf8')]({'model':_0xd32c('0xe1')}),this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0xdd')]['on']('addMarker:revision',function(_0x17390e){const _0x56c900=_0x17390e['plugins'][_0xd32c('0x9c')]('RevisionViewer');return(_0x4491bc,_0x5b67d3,_0x298b55)=>{const _0x105fca=_0x5b67d3[_0xd32c('0x121')][_0xd32c('0xe')](':')[0x1],_0x234079=_0x56c900[_0xd32c('0x126')](_0x105fca);if(!_0x234079)return null;const _0x2a8100=_0xd32c('0xce')==_0x234079[_0xd32c('0xa0')]?_0xd32c('0xe'):_0xd32c('0x2a');if(!_0x298b55['consumable'][_0xd32c('0x10e')](_0x5b67d3[_0xd32c('0x5')],_0x4491bc[_0xd32c('0xa7')]))return;const _0x2a0a07=_0x5b67d3[_0xd32c('0x5')][_0xd32c('0x36')](),_0x4dcfbe=_0x5b67d3[_0xd32c('0x5')]['start'],_0x287625=_0x17390e['model']['schema'];let _0x4f4853=null,_0xcdbfac=null,_0x5b5f91=!0x1,_0x3ffc5e=!0x1;for(const _0x25cdb4 of _0x2a0a07){const _0x3fa492=_0x25cdb4[_0xd32c('0xa1')];_0x5b5f91=_0x5b5f91||_0x287625[_0xd32c('0xc9')](_0x3fa492);const _0x3af2ea=_0x298b55['mapper'][_0xd32c('0x110')](_0x3fa492);if(_0x3af2ea&&_0x3af2ea[_0xd32c('0x54')](_0xd32c('0xfd')))return;_0xd32c('0x44')==_0x25cdb4['type']&&(_0x287625[_0xd32c('0xe7')](_0x3fa492)&&!_0x287625[_0xd32c('0x35')](_0x3fa492)&&(_0x3fa492[_0xd32c('0x38')]||_0x4dcfbe['isAtEnd']?_0x4f4853&&_0x4f4853[_0xd32c('0x61')]==_0x3fa492||(_0x4f4853=_0x3fa492,_0xbd4ce6(_0x25cdb4[_0xd32c('0x4b')]),_0x3ffc5e=!0x0):_0xcdbfac=_0xcdbfac||_0x25cdb4[_0xd32c('0x4b')]));}function _0xbd4ce6(_0x23d0c6){const _0x99f550=_0x298b55[_0xd32c('0x67')][_0xd32c('0x23')](_0xd32c('0x81'),{'class':_0xd32c('0x24')+_0x2a8100}),_0x16c079=_0x298b55[_0xd32c('0x56')][_0xd32c('0x9f')](_0x23d0c6);_0x234079['data'][_0xd32c('0xcb')]&&_0x298b55[_0xd32c('0x67')]['addClass'](_0xd32c('0x24')+_0x2a8100+_0xd32c('0x7f'),_0x99f550),_0x56c900[_0xd32c('0x6')]==_0x234079&&_0x298b55[_0xd32c('0x67')][_0xd32c('0x22')](_0xd32c('0x120'),_0x99f550),_0x298b55[_0xd32c('0x67')]['insert'](_0x16c079,_0x99f550),_0x298b55[_0xd32c('0x56')][_0xd32c('0x10f')](_0x99f550,_0x5b67d3['markerName']);}_0x5b5f91||_0x3ffc5e||!_0xcdbfac||_0xbd4ce6(_0xcdbfac);};}(this[_0xd32c('0x4c')]),{'priority':_0xd32c('0xd7')}),this[_0xd32c('0x4c')]['editing'][_0xd32c('0xdd')]['on'](_0xd32c('0x42'),(_0x378a1e,_0x82cf64,_0x5b5da4)=>{const _0x34096a=_0x5b5da4[_0xd32c('0x56')]['markerNameToElements'](_0x82cf64['markerName']);if(_0x34096a)for(const _0x584225 of _0x34096a)(_0x584225[_0xd32c('0xd')](_0xd32c('0xf'))||_0x584225['hasClass'](_0xd32c('0x4f')))&&(_0x5b5da4[_0xd32c('0x56')]['unbindElementFromMarkerName'](_0x584225,_0x82cf64['markerName']),_0x5b5da4['writer']['remove'](_0x584225));},{'priority':_0xd32c('0xd7')}),this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0xdd')]['on']('addMarker:revision',(_0x3aa04e,_0x4afa99,_0x121f12)=>{const _0x3d4ecc=_0x4afa99[_0xd32c('0x121')]['split'](':')[0x1],_0x5994d7=this[_0xd32c('0x126')](_0x3d4ecc);if(!_0x5994d7)return null;const _0x434286=_0xd32c('0xce')==_0x5994d7['type']?_0xd32c('0xe'):_0xd32c('0x2a');if(_0x121f12[_0xd32c('0xfa')][_0xd32c('0x10e')](_0x4afa99['markerRange'],_0x3aa04e[_0xd32c('0xa7')]))for(const _0x5cb617 of _0x4afa99[_0xd32c('0x5')][_0xd32c('0x129')]()){if(!_0x5cb617['is']('element','softBreak'))continue;const _0x40a48f=_0x121f12[_0xd32c('0x67')][_0xd32c('0x23')]('span',{'class':_0xd32c('0x24')+_0x434286}),_0x5d418e=_0x121f12['mapper'][_0xd32c('0x9f')](this[_0xd32c('0x4c')][_0xd32c('0xf4')]['createPositionBefore'](_0x5cb617));_0x5994d7['data'][_0xd32c('0xcb')]&&_0x121f12[_0xd32c('0x67')][_0xd32c('0x22')](_0xd32c('0x24')+_0x434286+_0xd32c('0x7f'),_0x40a48f),this[_0xd32c('0x6')]==_0x5994d7&&_0x121f12[_0xd32c('0x67')][_0xd32c('0x22')]('ck-suggestion-marker--active',_0x40a48f),_0x121f12[_0xd32c('0x67')][_0xd32c('0x80')](_0x5d418e,_0x40a48f),_0x121f12[_0xd32c('0x56')][_0xd32c('0x10f')](_0x40a48f,_0x4afa99[_0xd32c('0x121')]);}},{'priority':_0xd32c('0xd7')}),this[_0xd32c('0x4c')]['model'][_0xd32c('0x2')]['on'](_0xd32c('0xe3'),()=>{this['editor'][_0xd32c('0x107')][_0xd32c('0x27')]['change'](_0x4edf01=>{for(const _0x15ec79 of this[_0xd32c('0x4c')][_0xd32c('0xf4')][_0xd32c('0x2')][_0xd32c('0x108')]()){const _0x568aa4=this[_0xd32c('0x4c')][_0xd32c('0xf4')][_0xd32c('0x2')][_0xd32c('0xa')](_0x15ec79),_0x2e94fb=this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0x27')][_0xd32c('0x2')]['getRoot'](_0x15ec79);if(_0x2e94fb){const _0x4744ac=_0x568aa4['getAttribute'](_0xd32c('0x92'));if(_0x4edf01['removeAttribute']('data-change-id',_0x2e94fb),_0x4edf01[_0xd32c('0x48')](_0xd32c('0x86'),_0x2e94fb),_0x4edf01[_0xd32c('0x48')](_0xd32c('0x1'),_0x2e94fb),_0x4edf01['removeClass'](_0xd32c('0xb3'),_0x2e94fb),_0x4744ac){const _0x1503c2=this[_0xd32c('0x126')](_0x4744ac);if(!_0x1503c2)return null;_0x4edf01['setAttribute'](_0xd32c('0xb4'),_0x4744ac,_0x2e94fb),_0x4edf01[_0xd32c('0x22')](_0xd32c('0x5c')+_0x1503c2[_0xd32c('0xa0')],_0x2e94fb),this[_0xd32c('0x6')]==_0x1503c2&&_0x4edf01[_0xd32c('0x22')](_0xd32c('0xb3'),_0x2e94fb);}}}});}),this[_0xd32c('0x4c')]['conversion']['for'](_0xd32c('0x89'))[_0xd32c('0xa9')]({'view':_0xd32c('0x25'),'model':_0x5a0f21=>_0xd32c('0xae')+_0x5a0f21,'converterPriority':_0xd32c('0x8')}),this[_0xd32c('0x4c')][_0xd32c('0x77')][_0xd32c('0xa8')](_0xd32c('0x89'))[_0xd32c('0xa9')]({'view':_0xd32c('0x116'),'model':_0x35c640=>_0xd32c('0xbd')+_0x35c640,'converterPriority':'highest'}),this[_0xd32c('0x4c')][_0xd32c('0x77')][_0xd32c('0xa8')](_0xd32c('0x4d'))['markerToData']({'model':'revision-suggestion','view':_0x257c28=>({'name':_0xd32c('0xc7')+_0x257c28,'group':_0xd32c('0x6c')}),'converterPriority':_0xd32c('0x8')}),this[_0xd32c('0x4c')][_0xd32c('0x77')][_0xd32c('0xa8')](_0xd32c('0x3'))['markerToHighlight']({'model':_0xd32c('0x6c'),'view':_0x365e2e=>{const _0x28bd86=_0x365e2e[_0xd32c('0x121')]['split'](':')[0x1];return _0xd32c('0xa2')!=_0x28bd86&&_0xd32c('0x119')!=_0x28bd86?null:{'classes':[_0xd32c('0x60'),_0xd32c('0x111')+_0x28bd86]};}}),this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0xdd')]['on'](_0xd32c('0x11d'),et(this[_0xd32c('0x4c')],'merge'),{'priority':'high'}),this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0xdd')]['on'](_0xd32c('0x51'),et(this[_0xd32c('0x4c')],_0xd32c('0xe')),{'priority':'high'}),this[_0xd32c('0x4c')]['editing']['downcastDispatcher']['on'](_0xd32c('0x40'),(_0x13ccd1,_0x4e40e3,_0x5ea5ff)=>{const _0x3ae5b0=_0x5ea5ff['mapper'][_0xd32c('0x71')](_0x4e40e3[_0xd32c('0x121')]);if(_0x3ae5b0)for(const _0x51f917 of _0x3ae5b0)_0x51f917['is'](_0xd32c('0x8b'))&&(_0x5ea5ff[_0xd32c('0x56')]['unbindElementFromMarkerName'](_0x51f917,_0x4e40e3['markerName']),_0x5ea5ff[_0xd32c('0x67')][_0xd32c('0x45')](_0x51f917));},{'priority':'high'});}[_0xd32c('0x126')](_0x56a390){return this[_0xd32c('0xc6')]['get'](_0x56a390);}[_0xd32c('0x11f')](_0x147aef){return this[_0xd32c('0x123')]&&this[_0xd32c('0x123')]['destroy'](),this[_0xd32c('0x123')]=new _0x25df79(this[_0xd32c('0x4c')][_0xd32c('0x28')],_0x147aef),this[_0xd32c('0x123')];}[_0xd32c('0x90')](){this[_0xd32c('0x4c')][_0xd32c('0xf4')][_0xd32c('0x2')]['selection'][_0xd32c('0x9b')]('revision'),this['on'](_0xd32c('0xe9'),(_0x1e28d2,_0x1623dc,_0x34e94a,_0x181772)=>{_0x181772&&this[_0xd32c('0xf2')][_0xd32c('0x45')](_0x181772),_0x34e94a&&(this['_balloon']['add']({'view':_0x34e94a,'stackId':_0xd32c('0xaf'),'position':{'target':()=>{const _0x2f6221=this[_0xd32c('0x4c')][_0xd32c('0x107')],_0x15fd77=this['_getChangeFromId'](_0x34e94a['changeId']);let _0x403ac7;if(_0x15fd77[_0xd32c('0xba')][_0xd32c('0x118')]){const _0x5837bb=_0x2f6221[_0xd32c('0x27')]['getDomRoot'](_0x15fd77[_0xd32c('0x21')]);_0x403ac7=Array[_0xd32c('0x72')](_0x5837bb[_0xd32c('0x10a')]());}else{const _0x461f58=this[_0xd32c('0x4c')]['model'][_0xd32c('0x11')][_0xd32c('0x9c')](_0xd32c('0x1c')+_0x34e94a[_0xd32c('0x128')]);_0x403ac7=Array['from'](_0x2f6221[_0xd32c('0x56')]['markerNameToElements'](_0x461f58[_0xd32c('0xa7')]))[_0xd32c('0xc3')](_0x2460fb=>_0x2f6221[_0xd32c('0x27')][_0xd32c('0x18')][_0xd32c('0xc0')](_0x2460fb))[_0xd32c('0xc3')](_0x1221a8=>Array[_0xd32c('0x72')](_0x1221a8[_0xd32c('0x10a')]()))['flat']();}if(!this[_0xd32c('0xd8')])return _0x403ac7[0x0];return _0x403ac7[_0xd32c('0x8f')](_0x9cc5d8=>_0x9cc5d8['top']-0x3<=this[_0xd32c('0xd8')]['y']&&_0x9cc5d8[_0xd32c('0x7e')]+0x3>=this[_0xd32c('0xd8')]['y']&&_0x9cc5d8[_0xd32c('0x11a')]-0x3<=this[_0xd32c('0xd8')]['x']&&_0x9cc5d8[_0xd32c('0x76')]+0x3>=this[_0xd32c('0xd8')]['x'])||_0x403ac7[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on'](_0xd32c('0x9e'),(_0x1f8f01,_0x13f8fa,_0x43abd5,_0x4ad417)=>{this[_0xd32c('0x95')]=_0x43abd5?this[_0xd32c('0x11f')](_0x43abd5):null,this[_0xd32c('0x4c')][_0xd32c('0xf4')][_0xd32c('0xe3')](()=>{const _0xfbd668=this[_0xd32c('0x4c')][_0xd32c('0x107')];_0x4ad417&&(_0x4ad417[_0xd32c('0xba')][_0xd32c('0x118')]?_0xfbd668[_0xd32c('0x27')][_0xd32c('0xe3')](_0x56c881=>{_0x56c881['removeClass'](_0xd32c('0xb3'),_0xfbd668[_0xd32c('0x27')]['document']['getRoot'](_0x4ad417[_0xd32c('0x21')]));}):_0xfbd668[_0xd32c('0x100')]('revision:'+_0x4ad417['id'])),_0x43abd5&&(_0x43abd5[_0xd32c('0xba')][_0xd32c('0x118')]?_0xfbd668[_0xd32c('0x27')]['change'](_0x35a5dc=>{_0x35a5dc['addClass'](_0xd32c('0xb3'),_0xfbd668[_0xd32c('0x27')][_0xd32c('0x2')][_0xd32c('0xa')](_0x43abd5[_0xd32c('0x21')]));}):_0xfbd668[_0xd32c('0x100')](_0xd32c('0x1c')+_0x43abd5['id']));});}),this[_0xd32c('0xcc')](this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0x27')][_0xd32c('0x2')],_0xd32c('0x10c'),(_0x4b5089,_0x2706b2)=>{if(this['activeChange'])return;const _0x333943=this['_findChangeIdFromDomTarget'](_0x2706b2[_0xd32c('0x64')]),_0x14d940=this['_changeIdToChange'][_0xd32c('0x9c')](_0x333943);_0x14d940?(this[_0xd32c('0xd8')]={'x':_0x2706b2[_0xd32c('0xc5')]['x'],'y':_0x2706b2[_0xd32c('0xc5')]['y']},this['activeView']=this['_getViewForChange'](_0x14d940)):(this[_0xd32c('0xd8')]=null,this[_0xd32c('0x95')]=null);}),this['listenTo'](this[_0xd32c('0x4c')][_0xd32c('0x107')][_0xd32c('0x27')][_0xd32c('0x2')],'mousedown',(_0x17af2d,_0x14a7b3)=>{const _0x6b8d1a=this[_0xd32c('0x13')](_0x14a7b3[_0xd32c('0x64')]),_0x5592dd=this[_0xd32c('0xc6')]['get'](_0x6b8d1a);_0x5592dd?(this['_activeViewTarget']={'x':_0x14a7b3['domEvent']['x'],'y':_0x14a7b3['domEvent']['y']},_0x5592dd===this[_0xd32c('0x6')]?this[_0xd32c('0xf2')][_0xd32c('0x93')]():this[_0xd32c('0x6')]=_0x5592dd):(this['_activeViewTarget']=null,this[_0xd32c('0x6')]=null);});}[_0xd32c('0x13')](_0x259f42){do{const _0x387ed7=_0x259f42[_0xd32c('0xab')](_0xd32c('0xb4'));if(_0x387ed7)return _0x387ed7;_0x259f42=_0x259f42[_0xd32c('0x61')];}while(_0x259f42);return null;}[_0xd32c('0xdb')](){this[_0xd32c('0x4c')][_0xd32c('0xf4')]['change'](_0x1220f7=>{for(const _0x336f3d of this[_0xd32c('0x4c')]['model']['markers'])_0x1220f7['removeMarker'](_0x336f3d);});}}function et(_0x3ede16,_0x221642){return(_0x8684e1,_0xff7d5f,_0x37e107)=>{if(!_0x37e107[_0xd32c('0xfa')][_0xd32c('0x10e')](_0xff7d5f[_0xd32c('0x5')],_0x8684e1[_0xd32c('0xa7')]))return;const _0x30d4d0=_0xff7d5f[_0xd32c('0x5')][_0xd32c('0x36')](),_0xcf596f=_0xff7d5f[_0xd32c('0x5')][_0xd32c('0x122')],_0x473f62=_0x3ede16[_0xd32c('0xf4')][_0xd32c('0x1b')];let _0x34d69b=null,_0x3ad1ae=null,_0x1ad2fc=!0x1,_0x156f7a=!0x1;for(const _0x257ea5 of _0x30d4d0){const _0x119e6d=_0x257ea5['item'];_0x1ad2fc=_0x1ad2fc||_0x473f62[_0xd32c('0xc9')](_0x119e6d);const _0x5340c0=_0x37e107[_0xd32c('0x56')][_0xd32c('0x110')](_0x119e6d);if(_0x5340c0&&_0x5340c0['getCustomProperty'](_0xd32c('0xfd')))return;_0xd32c('0x44')==_0x257ea5[_0xd32c('0xa0')]&&(_0x473f62[_0xd32c('0xe7')](_0x119e6d)&&!_0x473f62[_0xd32c('0x35')](_0x119e6d)&&(_0x119e6d[_0xd32c('0x38')]||_0xcf596f[_0xd32c('0x6f')]?_0x34d69b&&_0x34d69b[_0xd32c('0x61')]==_0x119e6d||(_0x34d69b=_0x119e6d,_0x446f60(_0x257ea5[_0xd32c('0x4b')]),_0x156f7a=!0x0):_0x3ad1ae=_0x3ad1ae||_0x257ea5[_0xd32c('0x4b')]));}function _0x446f60(_0x42bfe8){const _0x447568=_0x37e107[_0xd32c('0x56')][_0xd32c('0x9f')](_0x42bfe8),_0x3925c8=_0x37e107[_0xd32c('0x67')][_0xd32c('0x23')](_0xd32c('0x81'),{'class':_0xd32c('0x111')+_0x221642});_0x37e107[_0xd32c('0x67')][_0xd32c('0x80')](_0x447568,_0x3925c8),_0x37e107['mapper']['bindElementToMarker'](_0x3925c8,_0xff7d5f[_0xd32c('0x121')]);}_0x1ad2fc||_0x156f7a||!_0x3ad1ae||_0x446f60(_0x3ad1ae);};}export class RestoreRevisionCommand extends _0x4edcbb{constructor(_0x27b183){super(_0x27b183);const _0x14d202=_0x27b183[_0xd32c('0x59')][_0xd32c('0x9c')](d);this[_0xd32c('0xb7')]=!0x1,this[_0xd32c('0xcc')](_0x14d202,_0xd32c('0x8c'),()=>this[_0xd32c('0x106')]()),this[_0xd32c('0xcc')](_0x14d202,_0xd32c('0x3b'),()=>this[_0xd32c('0x106')]());}[_0xd32c('0x5f')](){const _0x141470=this['editor'],_0xfdf24b=_0x141470[_0xd32c('0x59')][_0xd32c('0x9c')](d),_0xdde654=_0xfdf24b[_0xd32c('0xec')]?_0xfdf24b[_0xd32c('0x112')][_0xd32c('0x57')]:null;_0x141470[_0xd32c('0xd5')][_0xd32c('0x9c')](_0xd32c('0xbf'))[_0xd32c('0xaa')](_0xdde654);}[_0xd32c('0x106')](){const {isReady:_0x451ede,isEnabled:_0x271327}=this[_0xd32c('0x4c')][_0xd32c('0x59')]['get'](d);this[_0xd32c('0x88')]=_0x451ede&&_0x271327;}}export class ShowChangeCommand extends _0x4edcbb{constructor(_0x3c1bed,{direction:_0x465ce1}){super(_0x3c1bed);const _0x109b64=_0x3c1bed[_0xd32c('0x59')]['get'](d);this['affectsData']=!0x1,this[_0xd32c('0x104')]=_0xd32c('0x5a')===_0x465ce1?0x1:-0x1,this[_0xd32c('0xcc')](_0x109b64,_0xd32c('0x8c'),()=>this[_0xd32c('0x106')]()),this[_0xd32c('0xcc')](_0x109b64,_0xd32c('0x3b'),()=>this['refresh']()),this[_0xd32c('0xcc')](_0x109b64,_0xd32c('0x9e'),()=>this[_0xd32c('0x106')]());}[_0xd32c('0x5f')](){const _0x22947b=this[_0xd32c('0x4c')],_0x29911c=_0x22947b[_0xd32c('0x59')]['get'](d),{isNavigationMode:_0x4f60ae,currentChangeNumber:_0x59d5b8}=_0x29911c;let _0x2a0ba7;if(_0x29911c[_0xd32c('0x6')]=_0x4f60ae?_0x29911c['diff'][_0xd32c('0x125')]['get'](_0x59d5b8+this['_step']):_0x29911c['diff'][_0xd32c('0x125')][_0xd32c('0x6b')],_0x29911c[_0xd32c('0x6')][_0xd32c('0xba')][_0xd32c('0x118')])_0x2a0ba7=_0x22947b[_0xd32c('0x107')]['view']['getDomRoot'](_0x29911c[_0xd32c('0x6')][_0xd32c('0x21')]);else{const _0x10b9f3=_0x22947b[_0xd32c('0xf4')]['markers']['get'](_0xd32c('0x1c')+_0x29911c['activeChange']['id']);_0x2a0ba7=_0x44c8f1(_0x22947b['editing'],_0x10b9f3);}_0x1cba5b({'target':_0x2a0ba7,'viewportOffset':0x28});}[_0xd32c('0x106')](){const {isNavigationMode:_0x4e1644,currentChangeNumber:_0x288d74,numberOfChanges:_0xe4971e,isReady:_0x510da2,isEnabled:_0x38103e}=this['editor'][_0xd32c('0x59')][_0xd32c('0x9c')](d);this[_0xd32c('0x88')]=!!(_0x38103e&&_0x510da2&&_0xe4971e)&&(!_0x4e1644||(0x1===this[_0xd32c('0x104')]?_0x288d74<_0xe4971e-0x1:_0x288d74>0x0));}}
|
|
23
|
+
const _0x3f06=['distance','changes','slice','remove','createAttributeElement','plugins','for','getDomRoot','_changeIdToChange','revision-suggestion','data','deletion','currentChangeNumber','isOnRoot','execute','low','markerNameToElements','ck-suggestion-preview-marker-','mapper','getIndex','getRootNames','numberOfChanges','getRevisionData','split','get','shift','activeChange','getWalker','end','attribute:vid','markerName','detachRoot','isIncorrect','suggestion','level','children','wrap','consume','isRemoveSuggestion','adapter','attachChange','markersStart','requires','change:numberOfChanges','resolve','viewItem','revision-end','markerRange','addClass','_update','attributesAfter','markerToHighlight','addHighlight','range','addRevision','top','createPositionBefore','ck-suggestion-preview-marker','selection','elementToAttribute','revision-start','_getRevisionsRange','getAttributes','pluginName','insertion','getClientRects','marked','config','from','isAfter','data-revision-','revisionHistory','isInline','data-change-id','concat','isLimit','modelRange','code','mapViewToDom','ck-suggestion-marker','_findChangeIdFromDomTarget','showNextChange','isAttached','view','parse','add','model','roots','push','parent','_threeWayMerge','length','side','element','refresh','splice','nodeAfter','newRevisionId','highest','insert','_cleanUp','_makeModelFromViewString','hasAttribute','createRevision','vid_start','left','stop','authors','indexOf','getCustomProperty','change','_getViewObj','name','unshift','_getViewForChange','markers','isCollapsed','removeMarker:revision-suggestion','values','bindElementToMarker','isObject','error','createUIElement','_makeModelFromTape','_removeUnsupportedChanges','setAttribute','commands','showPreviousChange','element:pre','isRemoved','then','map','activeView','_sortAndFilterDiffChanges','change:isEnabled','span','start','loadRevisionData','_changeView','getAttribute','ck-editor__editable__overlay','elementStart','delete','editing','toViewRange','_fixObsoleteTags','addMarker:revision-suggestion:insertion','_data','domEvent','ck-revision-history-root-','_revisions','forward','merge','attributes','bind','reconvertMarker','RevisionViewer','item','revision:','nextPosition','domConverter','has','isAtEnd','_step','consumable','revision','listenTo','WidgetToolbarRepository','_initInteractions','removeClass','_removeRevisionMarkers','vid','clear','test','_markInsertions','destroy','sort','isAddSuggestion','first','type','forEach','addMarker:revision-suggestion:deletion','change:activeView','includes','markerToData','_joinTapes','_makeTape','isSuggestion','set','_markMismatchedRemovedTags','toViewPosition','dataDowncast','pop','unbindElementFromMarkerName','pairId','mousedown','oldRevisionId','writer','conversion','-new','comment','suggestion:','isEnabled','ck-suggestion-marker--active','markersEnd','elementEnd','revisionHistoryLabel','editingDowncast','upcast','catch','diffData','_appendChild','downcastDispatcher','isEqual','_markSuggestions','ck-suggestion-marker-','showStack','uiElement','startIndex','removeMarker','startsWith','removeMarker:revision','changeId','previousPosition','ck-revision-history-root-remove','revisionHistoryAttachChange','_processTape','hasClass','revision-viewer','vid_end','ck-revision-history-root--active','target','rootName','_refreshStartEndIndex','endIndex','enableReadOnlyMode','_cleanMarkers','toData','_markMarkers','return','isReady','next','object','createRangeIn','_activeViewTarget','userId','editor','getRevision','default','text','schema','backward','change:activeChange','createPositionFromPath','isBlock','updatePosition','_setConversion','high','toViewElement','POSITIVE_INFINITY','_setDistance','isBefore','isContent','offsetSize','_getDiff','processor','insertions','bottom','enqueueChange','deletions','getRoot','all','index','attributesBefore','filter','_setChanges','addMarker:revision','collaboration.channelId','keys','abs','mouseover','_getChangeFromId','document','string','RevisionsRepository','repository','getRevisionRootsAttributes','isAdded','ck-revision-history-root-add','_removeMissingPairs','find','toModel','diff','_balloon'];(function(_0x4b0999,_0x3f0637){const _0x487ce7=function(_0x5ba9aa){while(--_0x5ba9aa){_0x4b0999['push'](_0x4b0999['shift']());}};_0x487ce7(++_0x3f0637);}(_0x3f06,0x19f));const _0x487c=function(_0x4b0999,_0x3f0637){_0x4b0999=_0x4b0999-0x0;let _0x487ce7=_0x3f06[_0x4b0999];return _0x487ce7;};import{Plugin as _0x4e2db7,Command as _0x2ba876}from'ckeditor5/src/core';import{scrollViewportToShowTarget as _0x557e04}from'ckeditor5/src/utils';import{ContextualBalloon as _0x5903d1}from'ckeditor5/src/ui';import{DocumentFragment as _0x1caf66,Element as _0x280eb3,Text as _0x73433e,ViewDocumentFragment as _0x5cc5f9,ViewText as _0x898bac,ViewElement as _0x1e8ef9,ViewContainerElement as _0x53cb5e,ViewAttributeElement as _0x257396,ViewEmptyElement as _0x202932,ViewRawElement as _0x32df19,ViewUIElement as _0x556dd8}from'ckeditor5/src/engine';import{Users as _0x5abab8,getMarkerDomElement as _0xd4e7f8}from'ckeditor5-collaboration/src/collaboration-core';import _0x3299af from'./ui/revisionviewer/changedetailsview';import _0x12bc0a from'./revisionsrepository';import _0x18b350 from'./changeitem';import{default as _0x14a8fc}from'./revisiondiff';import'../theme/revisionviewer.css';import{cloneDeep as _0x497159}from'lodash-es';const tt={'c':_0x53cb5e,'a':_0x257396,'e':_0x202932,'r':_0x32df19,'u':_0x556dd8};export default class d extends _0x4e2db7{static get[_0x487c('0xec')](){return'RevisionViewer';}static get[_0x487c('0xd7')](){return[_0x5abab8,_0x5903d1,_0x12bc0a];}constructor(_0x37e942){super(_0x37e942),this[_0x487c('0xa4')]=this['editor']['plugins'][_0x487c('0xc5')](_0x487c('0xa3')),this['set'](_0x487c('0xc7'),null),this[_0x487c('0x43')]('activeView',null),this[_0x487c('0x7b')]=null,this[_0x487c('0x43')](_0x487c('0xab'),null),this[_0x487c('0x43')]('isReady',!0x1),this[_0x487c('0x43')]('isEnabled',!0x0),this['on'](_0x487c('0xd'),(_0x20cc60,_0xb983fc,_0x1472d5)=>{this['activeChange']=null,this['activeView']=null,this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x100')]['change'](_0x3c3ff8=>{for(const _0x537cd9 of this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x100')]['document'][_0x487c('0x104')])_0x1472d5?_0x3c3ff8['removeClass'](_0x487c('0x13'),_0x537cd9):_0x3c3ff8['addClass']('ck-editor__editable__overlay',_0x537cd9);});}),this['bind']('isNavigationMode')['to'](this,_0x487c('0xc7'),_0x46a0b7=>null!==_0x46a0b7),this[_0x487c('0x21')](_0x487c('0xb9'))['to'](this,'isReady',this,'diff',this,_0x487c('0xc7'),(_0x27b1e1,_0xb8165f,_0x3b8600)=>_0x27b1e1&&_0x3b8600?_0xb8165f[_0x487c('0xae')][_0x487c('0xc0')](_0x3b8600):0x0),this[_0x487c('0x21')](_0x487c('0xc2'))['to'](this,_0x487c('0x77'),this,_0x487c('0xab'),(_0x18a38d,_0x482ff5)=>_0x18a38d?_0x482ff5[_0x487c('0xae')][_0x487c('0x108')]:0x0),this[_0x487c('0x11')]=null,this[_0x487c('0xb5')]=new Map(),this[_0x487c('0xd4')]=null,this['_balloon']=this[_0x487c('0x7d')]['plugins']['get'](_0x5903d1);}['init'](){const _0x42a889=this[_0x487c('0x7d')],_0x52a8f4=new ShowChangeCommand(_0x42a889,{'direction':_0x487c('0x82')}),_0x419e44=new ShowChangeCommand(_0x42a889,{'direction':_0x487c('0x1e')});(_0x42a889[_0x487c('0x5')]['add'](_0x487c('0x6'),_0x52a8f4),_0x42a889[_0x487c('0x5')]['add'](_0x487c('0xfe'),_0x419e44),_0x42a889['commands'][_0x487c('0x102')]('restoreRevision',new RestoreRevisionCommand(_0x42a889)),this['on'](_0x487c('0xd8'),()=>{_0x52a8f4[_0x487c('0x10b')](),_0x419e44[_0x487c('0x10b')]();}),this[_0x487c('0x87')](),this[_0x487c('0x2f')](),_0x42a889[_0x487c('0x72')](_0x487c('0x6b')),_0x42a889['plugins'][_0x487c('0x28')](_0x487c('0x2e')))&&_0x42a889['plugins'][_0x487c('0xc5')]('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async[_0x487c('0xc3')](_0x3e2a76){await this['loadRevisionData'](_0x3e2a76);const _0xa36432={};for(const _0x7758bf in _0x3e2a76[_0x487c('0x59')]){if(_0x3e2a76[_0x487c('0x59')][_0x7758bf][_0x487c('0xd5')]&&!_0x3e2a76[_0x487c('0x59')][_0x7758bf][_0x487c('0xd5')][_0x487c('0xff')])continue;const _0x162528=this['_removeRevisionMarkers'](JSON[_0x487c('0x101')](_0x3e2a76['diffData'][_0x7758bf]['insertions'])),_0x444a59=this['editor']['editing'][_0x487c('0x100')][_0x487c('0xa1')],_0x13fea4=new _0x5cc5f9(_0x444a59,_0x162528[_0x487c('0xa')](_0x66f4bf=>this['_getViewObj'](_0x66f4bf)));this[_0x487c('0x7d')][_0x487c('0xb7')][_0x487c('0x90')]['useFillerType'](_0x487c('0xef')),_0xa36432[_0x7758bf]=this[_0x487c('0x7d')]['data'][_0x487c('0x90')][_0x487c('0x74')](_0x13fea4),this['editor'][_0x487c('0xb7')][_0x487c('0x90')]['useFillerType'](_0x487c('0x7f'));}return _0xa36432;}async[_0x487c('0xa5')](_0x29bfdf){await this[_0x487c('0x10')](_0x29bfdf);const _0xdb48e0={};for(const _0x3a0a4c in _0x29bfdf['diffData'])_0x29bfdf[_0x487c('0x59')][_0x3a0a4c]['attachChange']&&!_0x29bfdf[_0x487c('0x59')][_0x3a0a4c][_0x487c('0xd5')][_0x487c('0xff')]||(_0xdb48e0[_0x3a0a4c]=_0x29bfdf[_0x487c('0x59')][_0x3a0a4c][_0x487c('0xdf')]||{});return _0xdb48e0;}[_0x487c('0x31')](_0x32939f){return(_0x32939f=_0x32939f[_0x487c('0x99')](_0x466a23=>!_0x466a23[_0x487c('0x11d')]||_0x487c('0xe9')!==_0x466a23[_0x487c('0x11d')]&&_0x487c('0xdb')!==_0x466a23['name']))[_0x487c('0x3b')](_0x3809bf=>{_0x487c('0xa2')!=typeof _0x3809bf&&(_0x3809bf['children']=this['_removeRevisionMarkers'](_0x3809bf[_0x487c('0xd0')]),_0x3809bf[_0x487c('0x20')]=_0x3809bf[_0x487c('0x20')][_0x487c('0x99')](_0x4af786=>!_0x4af786[0x0][_0x487c('0x63')](_0x487c('0xf3'))));}),_0x32939f;}async['compare'](_0xb78117,_0x190de8,_0x2c6193=!0x1){if(!this[_0x487c('0x51')])return;const _0x127cfd=this[_0x487c('0xab')],_0x356516=this[_0x487c('0xa4')],_0x3205f0=_0x487c('0xa2')==typeof _0xb78117?_0x356516[_0x487c('0x7e')](_0xb78117):_0xb78117,_0xb75745='string'==typeof _0x190de8?_0x356516[_0x487c('0x7e')](_0x190de8):_0x190de8,_0x10fddd=_0x3205f0['id'],_0x29dcee=_0xb75745?_0xb75745['id']:null;if(!_0x2c6193&&this[_0x487c('0xab')]&&this[_0x487c('0xab')][_0x487c('0x10e')]===_0x10fddd&&this[_0x487c('0xab')][_0x487c('0x4b')]===_0x29dcee)return Promise[_0x487c('0xd9')]();this[_0x487c('0x77')]=!0x1,this[_0x487c('0xb')]=null,this[_0x487c('0xc7')]=null,this['diff']=new _0x14a8fc(_0x10fddd,_0x29dcee);const _0x144306=this[_0x487c('0xea')](_0x3205f0,_0xb75745,!0x0)[_0x487c('0xa')](_0x366050=>this['loadRevisionData'](_0x366050));return _0x144306['push'](new Promise(_0x5e79bb=>{setTimeout(_0x5e79bb,0x14);})),Promise[_0x487c('0x96')](_0x144306)[_0x487c('0x9')](()=>{if(!this[_0x487c('0x51')])return;this[_0x487c('0x111')]();const _0x6d5e8c=this[_0x487c('0x8f')](_0x10fddd,_0x29dcee);for(const _0x2da709 of _0x6d5e8c[_0x487c('0xae')])this[_0x487c('0xb5')][_0x487c('0x43')](_0x2da709['id'],_0x2da709);this['editor'][_0x487c('0x103')][_0x487c('0x93')]({'isUndoable':!0x1},_0x15cc5c=>{for(const _0x3aaddb of this['editor'][_0x487c('0x103')][_0x487c('0xa1')][_0x487c('0xc1')]())_0x15cc5c[_0x487c('0xcc')](_0x3aaddb);for(const _0x373433 of Object['keys'](_0x6d5e8c[_0x487c('0x103')])){const _0x39a434=_0x15cc5c['addRoot'](_0x373433);for(const _0x2c41c1 of Object['keys'](_0x6d5e8c[_0x487c('0x20')][_0x373433]))_0x15cc5c[_0x487c('0x4')](_0x2c41c1,_0x6d5e8c['attributes'][_0x373433][_0x2c41c1],_0x39a434);_0x15cc5c[_0x487c('0x110')](_0x6d5e8c[_0x487c('0x103')][_0x373433],_0x39a434,0x0);}}),this[_0x487c('0xab')][_0x487c('0x9a')](this['_sortAndFilterDiffChanges'](_0x6d5e8c['changes'])),this[_0x487c('0x77')]=!0x0;})[_0x487c('0x58')](_0x4b7706=>{console[_0x487c('0x0')](_0x4b7706),this[_0x487c('0x111')](),_0x127cfd&&(this[_0x487c('0xab')]=_0x127cfd),this['isReady']=!0x0;});}['addRevisionData'](_0xb856a2,_0x90f464){const _0x10cfba=this[_0x487c('0xa4')][_0x487c('0x114')](_0xb856a2);return _0x10cfba['on'](_0x487c('0xde'),(_0x40f9ba,_0x23ad23,_0x240c5e)=>_0x90f464(_0x23ad23,_0x240c5e,_0x10cfba)),this[_0x487c('0xa4')][_0x487c('0xe3')](_0x10cfba),_0x10cfba;}[_0x487c('0x10')](_0xc4e781){if(!_0xc4e781||_0xc4e781[_0x487c('0x59')])return Promise['resolve']();{const _0x3e41f4=this[_0x487c('0x7d')][_0x487c('0xf0')]['get'](_0x487c('0x9c'));return this[_0x487c('0xd4')][_0x487c('0x7e')]({'channelId':_0x3e41f4,'revisionId':_0xc4e781['id']})[_0x487c('0x9')](_0x9eff39=>{_0xc4e781[_0x487c('0xde')]({'diffData':_0x9eff39[_0x487c('0x59')]},!0x0);});}}[_0x487c('0x111')](){this[_0x487c('0xc7')]=null,this[_0x487c('0x73')](),this[_0x487c('0x11')]&&this[_0x487c('0x11')][_0x487c('0x36')](),this[_0x487c('0x11')]=null,this[_0x487c('0xb5')][_0x487c('0x33')](),this['editor'][_0x487c('0x103')]['enqueueChange']({'isUndoable':!0x1},_0x12c61d=>{for(const _0x5b9546 of this['editor']['model']['document'][_0x487c('0xc1')]())_0x12c61d['detachRoot'](_0x5b9546);});}[_0x487c('0xc')](_0x3bed00){const _0x3c2a4e=[],_0x42b089=new Map();for(const _0x5d7f4f of this[_0x487c('0x7d')]['model'][_0x487c('0xa1')][_0x487c('0xc1')]()){const _0x39bb72=this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x100')][_0x487c('0xb4')](_0x5d7f4f);if(!_0x39bb72)continue;const _0x2ff21d=_0x39bb72[_0x487c('0xee')]()[_0x487c('0x24')](0x0);_0x2ff21d&&(_0x3c2a4e[_0x487c('0x105')](_0x5d7f4f),_0x42b089[_0x487c('0x43')](_0x5d7f4f,_0x2ff21d));}return _0x3c2a4e[_0x487c('0x37')]((_0x47f7c6,_0xd6afb4)=>{const _0x129722=_0x42b089[_0x487c('0xc5')](_0x47f7c6),_0x459117=_0x42b089[_0x487c('0xc5')](_0xd6afb4);return _0x129722['y']-_0x459117['y']||_0x129722['x']-_0x459117['x'];}),(_0x3bed00=_0x3bed00[_0x487c('0x99')](_0x19cd94=>_0x3c2a4e[_0x487c('0x3e')](_0x19cd94[_0x487c('0x6f')])))[_0x487c('0x37')]((_0xfecc3f,_0x57a2c1)=>_0x3c2a4e['indexOf'](_0xfecc3f['rootName'])-_0x3c2a4e[_0x487c('0x119')](_0x57a2c1[_0x487c('0x6f')])),_0x3bed00;}['_makeTape'](_0x15f20c){const _0x25681a=Array[_0x487c('0xf1')](_0x15f20c[_0x487c('0x120')])['filter'](([_0x589a51,_0x112772])=>_0x589a51[_0x487c('0x63')](_0x487c('0x25'))&&!_0x112772[_0x487c('0x121')]),_0x5de738=Array[_0x487c('0xf1')](this[_0x487c('0x7d')]['model'][_0x487c('0x7a')](_0x15f20c)[_0x487c('0xc8')]({'singleCharacters':!0x0}));if(0x0!=_0x25681a[_0x487c('0x108')])for(const _0x540028 of _0x5de738){const [_0x3588fc,_0x10f688]=_0x25681a[0x0],[,_0x11d3e7,_0x5349d4]=_0x3588fc[_0x487c('0xc4')](':');if(_0x10f688[_0x487c('0xc9')]['isEqual'](_0x540028[_0x487c('0x26')])&&_0x25681a[_0x487c('0xc6')](),(_0x540028[_0x487c('0x66')][_0x487c('0x5c')](_0x10f688[_0x487c('0xf')])||_0x540028[_0x487c('0x66')][_0x487c('0xf2')](_0x10f688[_0x487c('0xf')]))&&('insertion'==_0x11d3e7?_0x540028[_0x487c('0xa6')]={'userId':_0x5349d4}:'deletion'==_0x11d3e7&&(_0x540028[_0x487c('0x8')]={'userId':_0x5349d4})),0x0==_0x25681a[_0x487c('0x108')])break;}return _0x5de738;}[_0x487c('0x70')](_0x5048ba){const _0x585ab8=new Map();for(let _0x294451=0x0;_0x294451<_0x5048ba[_0x487c('0x108')];_0x294451++)_0x487c('0x80')===_0x5048ba[_0x294451][_0x487c('0x3a')]?(_0x5048ba[_0x294451][_0x487c('0x24')]['startIndex']=_0x294451,_0x5048ba[_0x294451]['item'][_0x487c('0x71')]=_0x294451):('elementStart'===_0x5048ba[_0x294451][_0x487c('0x3a')]?_0x5048ba[_0x294451][_0x487c('0x24')]['startIndex']=_0x294451:'elementEnd'===_0x5048ba[_0x294451][_0x487c('0x3a')]&&(_0x5048ba[_0x294451][_0x487c('0x24')][_0x487c('0x71')]=_0x294451),_0x585ab8['set'](_0x5048ba[_0x294451]['id'],_0x294451));for(const _0x1e9a6d of _0x585ab8[_0x487c('0x123')]())_0x487c('0x14')===_0x5048ba[_0x1e9a6d]['type']?_0x5048ba[_0x1e9a6d]['item'][_0x487c('0x71')]=_0x585ab8[_0x487c('0xc5')](_0x5048ba[_0x1e9a6d][_0x487c('0x49')]):'elementEnd'===_0x5048ba[_0x1e9a6d][_0x487c('0x3a')]&&(_0x5048ba[_0x1e9a6d][_0x487c('0x24')]['startIndex']=_0x585ab8['get'](_0x5048ba[_0x1e9a6d]['pairId']));}[_0x487c('0x69')](_0x5764b3){for(let _0x88344a=0x0;_0x88344a<_0x5764b3[_0x487c('0x108')];_0x88344a++){if(_0x487c('0x14')===_0x5764b3[_0x88344a][_0x487c('0x3a')])_0x5764b3[_0x88344a][_0x487c('0x24')]['startIndex']=_0x88344a;else{if('elementEnd'===_0x5764b3[_0x88344a][_0x487c('0x3a')]){_0x5764b3[_0x88344a][_0x487c('0x24')][_0x487c('0x71')]=_0x88344a;const _0x1575bc=_0x5764b3[_0x88344a]['item'][_0x487c('0x61')];_0x5764b3[_0x1575bc][_0x487c('0x49')]=_0x5764b3[_0x88344a]['id'],_0x5764b3[_0x88344a]['pairId']=_0x5764b3[_0x1575bc]['id'];}else _0x5764b3[_0x88344a][_0x487c('0x24')][_0x487c('0x61')]=_0x88344a,_0x5764b3[_0x88344a]['item'][_0x487c('0x71')]=_0x88344a,_0x5764b3[_0x88344a]['pairId']=null;}_0x5764b3[_0x88344a][_0x487c('0xd6')]||(_0x5764b3[_0x88344a][_0x487c('0xd6')]=[],_0x5764b3[_0x88344a][_0x487c('0x53')]=[]);}}[_0x487c('0x35')](_0x3b5617,_0x28f09b){const _0x61d81a=_0x3b5617[_0x487c('0x99')](_0x389662=>!_0x389662[_0x487c('0xa6')]);for(let _0x5f0d78=0x0;_0x5f0d78<_0x28f09b[_0x487c('0x108')];_0x5f0d78++)_0x28f09b[_0x5f0d78][_0x487c('0xa6')]&&(_0x61d81a[_0x5f0d78]['isAdded']=_0x28f09b[_0x5f0d78][_0x487c('0xa6')]);}['_makeModelFromViewString'](_0x9ad30c){const _0x25f196=JSON[_0x487c('0x101')](_0x9ad30c),_0x47fdbb=this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x100')][_0x487c('0xa1')],_0x3fbaa9=new _0x5cc5f9(_0x47fdbb,_0x25f196['map'](_0x2fa82c=>this[_0x487c('0x11c')](_0x2fa82c)));return this[_0x487c('0x7d')][_0x487c('0xb7')][_0x487c('0xaa')](_0x3fbaa9);}[_0x487c('0x11c')](_0x50f09e){const _0x493dc5=this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x100')]['document'];if(_0x487c('0xa2')==typeof _0x50f09e)return new _0x898bac(_0x493dc5,_0x50f09e);{const _0x131e8f=_0x50f09e['children']['map'](_0x9f12d6=>this[_0x487c('0x11c')](_0x9f12d6));return new(tt[_0x50f09e[(_0x487c('0x3a'))]]||_0x1e8ef9)(_0x493dc5,_0x50f09e[_0x487c('0x11d')],_0x50f09e[_0x487c('0x20')],_0x131e8f);}}[_0x487c('0x8f')](_0x1f9f38,_0x522077=null){const _0x14531a=this[_0x487c('0xa4')][_0x487c('0x7e')](_0x1f9f38),_0x563595=_0x522077?this['repository'][_0x487c('0x7e')](_0x522077):null,_0x3de133=this[_0x487c('0xea')](_0x14531a,_0x563595),_0x4edb3f=_0x3de133[_0x3de133[_0x487c('0x108')]-0x1],_0x7c8b5=new Map(),_0x49fe87={'model':{},'attributes':{},'changes':[]},_0x9c5991=new Set(),_0x1bfb5b=new Map();for(let _0x1b0eaa=_0x3de133[_0x487c('0x108')]-0x1;_0x1b0eaa>=0x0;_0x1b0eaa--){const _0x2256e2=_0x3de133[_0x1b0eaa];for(const _0x3cbe3a of Object[_0x487c('0x9d')](_0x2256e2[_0x487c('0x59')]))if(_0x2256e2[_0x487c('0x59')][_0x3cbe3a][_0x487c('0xd5')]){const _0x483308=_0x2256e2['diffData'][_0x3cbe3a]['attachChange'];_0x483308[_0x487c('0xff')]?(_0x9c5991[_0x487c('0x102')](_0x3cbe3a),_0x1bfb5b[_0x487c('0x28')](_0x3cbe3a)&&_0x1bfb5b[_0x487c('0xc5')](_0x3cbe3a)[_0x487c('0x7c')]==_0x483308[_0x487c('0x7c')]?_0x1bfb5b['delete'](_0x3cbe3a):_0x1bfb5b['set'](_0x3cbe3a,_0x483308)):_0x1bfb5b['has'](_0x3cbe3a)?(_0x9c5991[_0x487c('0x15')](_0x3cbe3a),_0x1bfb5b['delete'](_0x3cbe3a)):(_0x9c5991[_0x487c('0x102')](_0x3cbe3a),_0x1bfb5b[_0x487c('0x43')](_0x3cbe3a,_0x483308));}else _0x9c5991[_0x487c('0x102')](_0x3cbe3a);}for(const _0x225ad2 of _0x9c5991){const _0x332b8a=_0x1bfb5b[_0x487c('0x28')](_0x225ad2)&&!_0x1bfb5b[_0x487c('0xc5')](_0x225ad2)[_0x487c('0xff')];let _0xdfd4ad=_0x332b8a?_0x3de133[_0x487c('0x108')]-0x1:0x0;const _0x3e1ee7=_0x332b8a?-0x1:0x1;for(;_0x3de133[_0xdfd4ad];){const _0xcf87f3=_0x3de133[_0xdfd4ad];if(_0xcf87f3[_0x487c('0x59')][_0x225ad2]){const _0x1a7b93=_0x332b8a?_0xcf87f3['diffData'][_0x225ad2][_0x487c('0x98')]:_0xcf87f3[_0x487c('0x59')][_0x225ad2]['attributesAfter'];_0x49fe87['attributes'][_0x225ad2]=_0x1a7b93?_0x497159(_0x1a7b93):{};break;}_0xdfd4ad+=_0x3e1ee7;}}for(const _0x35926f of _0x3de133){_0x35926f[_0x487c('0x103')]={};for(const _0x3e5039 of _0x35926f[_0x487c('0x118')])_0x7c8b5[_0x487c('0x43')](_0x3e5039['id'],_0x3e5039);for(const _0xe766fd of _0x9c5991){const _0x21294b=_0x35926f[_0x487c('0x59')][_0xe766fd]?_0x35926f[_0x487c('0x59')][_0xe766fd]['insertions']:'[]',_0x27531f=_0x35926f[_0x487c('0x59')][_0xe766fd]?_0x35926f[_0x487c('0x59')][_0xe766fd]['deletions']:'[]';_0x35926f[_0x487c('0x103')][_0xe766fd]={'insertions':this[_0x487c('0x112')](_0x21294b),'deletions':this['_makeModelFromViewString'](_0x27531f)};}}for(const _0x4b5d5f of _0x9c5991){let _0x2f71a3=null,_0x1c9938=0x0;const _0x49e60a=new Map(Array[_0x487c('0xf1')](_0x14531a[_0x487c('0x103')][_0x4b5d5f][_0x487c('0x91')][_0x487c('0x120')])[_0x487c('0x99')](([_0x27db20])=>!_0x27db20[_0x487c('0x63')]('revision:')));let _0x416d2a=0x0;for(const _0x3dfd01 of _0x3de133){const _0x8b4a28=this[_0x487c('0x41')](_0x3dfd01[_0x487c('0x103')][_0x4b5d5f][_0x487c('0x91')]);_0x3dfd01==_0x14531a?(_0x2f71a3=_0x8b4a28,_0x1c9938=_0x2f71a3[_0x487c('0x108')],_0x2f71a3[_0x487c('0x3b')](_0x19902b=>{_0x19902b['id']=_0x416d2a++;}),this[_0x487c('0x69')](_0x2f71a3)):this['_markInsertions'](_0x2f71a3,_0x8b4a28);const _0x1a7018=_0x2f71a3['filter'](_0x4c8ff8=>!_0x4c8ff8[_0x487c('0xa6')])[_0x487c('0xa')](_0x401366=>_0x401366['id']);let _0x4a3abe=0x0;const _0xe1df37=this[_0x487c('0x41')](_0x3dfd01[_0x487c('0x103')][_0x4b5d5f][_0x487c('0x94')]);_0xe1df37[_0x487c('0x3b')](_0x2e3aa9=>{_0x2e3aa9['isRemoved']?_0x2e3aa9['id']=_0x1c9938++:_0x2e3aa9['id']=_0x1a7018[_0x4a3abe++];}),this[_0x487c('0x69')](_0xe1df37),this[_0x487c('0x8b')](_0x2f71a3,_0x487c('0xa6')),this['_setDistance'](_0xe1df37,_0x487c('0x8')),_0x3dfd01==_0x14531a&&this['_markMarkers'](_0x2f71a3,_0x49e60a),_0x2f71a3=this[_0x487c('0x40')](_0x2f71a3,_0xe1df37),this[_0x487c('0x70')](_0x2f71a3),this[_0x487c('0x8b')](_0x2f71a3,_0x487c('0x8'));}_0x2f71a3=_0x2f71a3[_0x487c('0x99')](_0x52d682=>!(_0x52d682[_0x487c('0xa6')]&&_0x52d682['isRemoved']));const _0x58c0cd=new Map(_0x4edb3f[_0x487c('0x103')][_0x4b5d5f][_0x487c('0x94')][_0x487c('0x120')]),_0x28f95c=new Set(_0x49e60a[_0x487c('0x9d')]());for(const _0x131303 of _0x58c0cd['keys']())_0x28f95c[_0x487c('0x15')](_0x131303);this[_0x487c('0x5d')](_0x2f71a3,_0x28f95c),this[_0x487c('0x18')](_0x2f71a3),_0x2f71a3=this[_0x487c('0xa8')](_0x2f71a3),_0x2f71a3=this[_0x487c('0x44')](_0x2f71a3),_0x2f71a3=this[_0x487c('0x3')](_0x2f71a3);const {root:_0xbb7362,changes:_0x334c27}=this[_0x487c('0x2')](_0x2f71a3,_0x7c8b5,_0x4b5d5f);_0x49fe87[_0x487c('0x103')][_0x4b5d5f]=_0xbb7362;const _0x5bb9d9=_0x1bfb5b[_0x487c('0xc5')](_0x4b5d5f);if(_0x5bb9d9){const _0x4b0c68=_0x7c8b5[_0x487c('0xc5')](_0x5bb9d9[_0x487c('0x7c')]),_0x3f4a0b=new _0x18b350({'author':_0x4b0c68,'type':_0x5bb9d9[_0x487c('0xff')]?_0x487c('0x102'):_0x487c('0xb0'),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4b5d5f});_0x334c27[_0x487c('0x11e')](_0x3f4a0b),_0x49fe87[_0x487c('0x20')][_0x4b5d5f]['revisionHistoryAttachChange']=_0x3f4a0b['id'];}_0x49fe87[_0x487c('0xae')]=_0x49fe87[_0x487c('0xae')]['concat'](_0x334c27);}return _0x49fe87;}[_0x487c('0x75')](_0x476c27,_0xac77b3){for(let _0x1ca7a8=0x0;_0x1ca7a8<_0x476c27['length'];_0x1ca7a8++)for(const [_0x43d9b2,_0xb76b30]of _0xac77b3)_0xb76b30['start'][_0x487c('0x5c')](_0x476c27[_0x1ca7a8][_0x487c('0x66')])&&_0x476c27[_0x1ca7a8]['markersStart'][_0x487c('0x105')](_0x43d9b2),_0xb76b30[_0x487c('0xc9')][_0x487c('0x5c')](_0x476c27[_0x1ca7a8]['nextPosition'])&&_0x476c27[_0x1ca7a8][_0x487c('0x53')][_0x487c('0x105')](_0x43d9b2);}[_0x487c('0x40')](_0x27add3,_0x14c526){let _0x24fd06=[],_0x466759=0x0,_0x11b727=0x0;for(;_0x466759<_0x27add3[_0x487c('0x108')]||_0x11b727<_0x14c526[_0x487c('0x108')];){const _0x2abba1=_0x27add3[_0x466759]||{},_0x5f3994=_0x14c526[_0x11b727]||{};if(_0x2abba1['id']==_0x5f3994['id'])_0x466759++,_0x11b727++,_0x24fd06[_0x487c('0x105')](_0x2abba1);else{if(_0x5f3994['isRemoved']&&_0x2abba1[_0x487c('0xa6')]){const {commonTape:_0x11b7b2,iEnd:_0x745685,jEnd:_0xeb89e1}=this[_0x487c('0x107')](_0x27add3,_0x466759,_0x14c526,_0x11b727);_0x24fd06=_0x24fd06[_0x487c('0xf7')](_0x11b7b2),_0x466759=_0x745685,_0x11b727=_0xeb89e1;}else _0x5f3994['isRemoved']?(_0x11b727++,_0x24fd06[_0x487c('0x105')](_0x5f3994)):(_0x466759++,_0x24fd06[_0x487c('0x105')](_0x2abba1));}}return _0x24fd06;}['_markSuggestions'](_0x419b2c,_0x56c906){const _0x1ff180=[];for(let _0x13fd67=0x0;_0x13fd67<_0x419b2c[_0x487c('0x108')];_0x13fd67++){for(let _0x24e234=0x0;_0x24e234<_0x419b2c[_0x13fd67][_0x487c('0xd6')][_0x487c('0x108')];_0x24e234++){const _0x52dff5=_0x419b2c[_0x13fd67]['markersStart'][_0x24e234];if(!_0x56c906[_0x487c('0x28')](_0x52dff5))continue;const {group:_0x3674f5,type:_0x40903f,authorId:_0x5e724e}=_0xa37df8(_0x52dff5);_0x487c('0xb6')!=_0x3674f5||_0x487c('0xed')!=_0x40903f&&'deletion'!=_0x40903f||(_0x1ff180[_0x487c('0x11e')]({'type':_0x40903f,'name':_0x52dff5,'userId':_0x5e724e}),_0x419b2c[_0x13fd67][_0x487c('0xd6')][_0x487c('0x10c')](_0x24e234,0x1),_0x24e234--);}_0x2f1956(_0x419b2c[_0x13fd67]);for(let _0x33aeff=0x0;_0x33aeff<_0x419b2c[_0x13fd67][_0x487c('0x53')][_0x487c('0x108')];_0x33aeff++){const _0x3ac497=_0x419b2c[_0x13fd67]['markersEnd'][_0x33aeff];if(!_0x56c906['has'](_0x3ac497))continue;const {group:_0x520353,type:_0x46977a}=_0xa37df8(_0x3ac497);if(_0x487c('0xb6')!=_0x520353||_0x487c('0xed')!=_0x46977a&&'deletion'!=_0x46977a)continue;_0x419b2c[_0x13fd67][_0x487c('0x53')][_0x487c('0x10c')](_0x33aeff,0x1),_0x33aeff--;const _0x56567b=_0x1ff180['findIndex'](_0x433ca2=>_0x433ca2['name']==_0x3ac497);_0x56567b>-0x1&&_0x1ff180[_0x487c('0x10c')](_0x56567b,0x1);}}function _0xa37df8(_0x1f8c6f){const _0x383fdb=_0x1f8c6f[_0x487c('0xc4')](':');return{'group':_0x383fdb[0x0],'type':_0x383fdb[0x1],'subType':_0x383fdb['length']>=0x5?_0x383fdb[0x2]:null,'id':_0x383fdb[_0x487c('0x108')]<0x5?_0x383fdb[0x2]:_0x383fdb[0x3],'authorId':_0x383fdb['length']<0x5?_0x383fdb[0x3]:_0x383fdb[0x4],'markerCount':0x6==_0x383fdb[_0x487c('0x108')]?_0x383fdb[0x5]:null};}function _0x2f1956(_0x247bd4){for(let _0x1d339d=0x0;_0x1d339d<_0x1ff180[_0x487c('0x108')];_0x1d339d++){if(_0x247bd4[_0x487c('0xa6')]&&_0x487c('0xed')==_0x1ff180[_0x1d339d][_0x487c('0x3a')])return _0x247bd4['isAddSuggestion']=_0x1ff180[_0x1d339d],void delete _0x247bd4[_0x487c('0xa6')];if(!_0x247bd4[_0x487c('0xa6')]&&!_0x247bd4[_0x487c('0x8')]&&'deletion'==_0x1ff180[_0x1d339d][_0x487c('0x3a')])return void(_0x247bd4[_0x487c('0xd3')]=_0x1ff180[_0x1d339d]);}}}[_0x487c('0x8b')](_0x36b245,_0x4dd926){let _0xd1c059=0x0,_0x170669=!0x1;const _0x179f7e=new Map();for(const _0x56b6e6 of _0x36b245)_0x56b6e6[_0x4dd926]?_0x170669&&(_0xd1c059++,_0x170669=!0x1):(_0xd1c059++,_0x170669=!0x0),_0x179f7e[_0x487c('0x43')](_0x56b6e6['id'],_0xd1c059);for(let _0x34158c=0x0;_0x34158c<_0x36b245[_0x487c('0x108')];_0x34158c++){if('isRemoved'==_0x4dd926&&_0x36b245[_0x34158c][_0x487c('0xa6')]||'isAdded'==_0x4dd926&&_0x36b245[_0x34158c][_0x487c('0x8')])continue;if(_0x487c('0x80')==_0x36b245[_0x34158c][_0x487c('0x3a')]){_0x36b245[_0x34158c][_0x487c('0xad')]=0x0;continue;}const _0x12f122=_0x179f7e[_0x487c('0xc5')](_0x36b245[_0x34158c][_0x487c('0x49')]),_0x33b8d8=_0x179f7e[_0x487c('0xc5')](_0x36b245[_0x34158c]['id']);_0x36b245[_0x34158c][_0x487c('0xad')]=_0x12f122-_0x33b8d8;}}[_0x487c('0xea')](_0x1afd87,_0x649183,_0x17d529=!0x1){const _0x57defd=[];let _0x569005=this[_0x487c('0xa4')]['getIndex'](_0x1afd87),_0x5d9122=this[_0x487c('0xa4')][_0x487c('0xc0')](_0x649183);for(-0x1==_0x5d9122&&(_0x5d9122=this[_0x487c('0xa4')][_0x487c('0x1d')][_0x487c('0x108')],_0x17d529=!0x1);_0x569005<_0x5d9122;)_0x57defd[_0x487c('0x105')](this[_0x487c('0xa4')][_0x487c('0x7e')](_0x569005)),_0x569005++;return _0x17d529&&_0x57defd['push'](this['repository'][_0x487c('0x7e')](_0x569005)),_0x57defd;}['_threeWayMerge'](_0x52e263,_0x90b44,_0x264496,_0x47e576){const _0x2d07ab=this[_0x487c('0x7d')][_0x487c('0x103')][_0x487c('0x81')];let _0x565d90=_0x90b44;for(;_0x52e263[_0x565d90]&&_0x52e263[_0x565d90][_0x487c('0xa6')];)_0x565d90++;let _0x331d82=_0x47e576;for(;_0x264496[_0x331d82]&&_0x264496[_0x331d82][_0x487c('0x8')];)_0x331d82++;_0x240e7c(_0x52e263,_0x90b44,_0x565d90),_0x240e7c(_0x264496,_0x47e576,_0x331d82);const _0x4edad8=_0x264496[_0x487c('0xaf')](_0x47e576,_0x331d82)['concat'](_0x52e263[_0x487c('0xaf')](_0x90b44,_0x565d90));return _0x4edad8[_0x487c('0x37')]((_0x2fce5e,_0x5a020f)=>_0x2fce5e[_0x487c('0x109')]!=_0x5a020f[_0x487c('0x109')]?_0x2fce5e['side']-_0x5a020f[_0x487c('0x109')]:_0x2fce5e[_0x487c('0xcf')]!=_0x5a020f['level']?_0x2fce5e[_0x487c('0xcf')]-_0x5a020f['level']:_0x2fce5e[_0x487c('0xad')]!=_0x5a020f[_0x487c('0xad')]?_0x5a020f[_0x487c('0xad')]-_0x2fce5e['distance']:!!_0x2fce5e[_0x487c('0xa6')]!=!!_0x5a020f[_0x487c('0xa6')]?-0x1==_0x2fce5e['side']||0x0==_0x2fce5e[_0x487c('0x109')]?_0x2fce5e[_0x487c('0xa6')]?-0x1:0x1:_0x2fce5e['isAdded']?0x1:-0x1:_0x2fce5e[_0x487c('0x97')]-_0x5a020f['index']),{'commonTape':_0x4edad8,'iEnd':_0x565d90,'jEnd':_0x331d82};function _0x240e7c(_0x398563,_0x30fe59,_0x1789f9){let _0x4832cc=-0x1,_0x3feda1=Number[_0x487c('0x8a')],_0x171e9c=!0x0;for(let _0x4318e5=_0x30fe59;_0x4318e5<_0x1789f9;_0x4318e5++)if(_0x2d07ab[_0x487c('0xf5')](_0x398563[_0x4318e5]['item'])||(_0x171e9c=!0x1),_0x398563[_0x4318e5]['item']['startIndex']<_0x30fe59&&(_0x4832cc=_0x4318e5),_0x398563[_0x4318e5][_0x487c('0x24')][_0x487c('0x71')]>=_0x1789f9){_0x3feda1=_0x4318e5;break;}_0x171e9c&&(_0x4832cc=_0x1789f9-0x1);for(let _0x59aac6=_0x30fe59;_0x59aac6<_0x1789f9;_0x59aac6++)_0x398563[_0x59aac6][_0x487c('0x109')]=_0x59aac6<=_0x4832cc?-0x1:_0x59aac6<_0x3feda1?0x0:0x1,_0x398563[_0x59aac6][_0x487c('0x97')]=_0x59aac6;let _0x78fc6b=0x0;for(let _0x4460d4=_0x30fe59;_0x4460d4<=_0x4832cc;_0x4460d4++)0x0==_0x398563[_0x4460d4][_0x487c('0xad')]?_0x398563[_0x4460d4][_0x487c('0xcf')]=_0x78fc6b:(_0x78fc6b++,_0x398563[_0x4460d4][_0x487c('0xcf')]=_0x78fc6b,_0x78fc6b++);for(let _0x334015=_0x30fe59;_0x334015<_0x1789f9;_0x334015++)0x0==_0x398563[_0x334015][_0x487c('0x109')]&&(_0x398563[_0x334015][_0x487c('0xcf')]=_0x78fc6b);_0x78fc6b=0x0;for(let _0x517576=_0x1789f9-0x1;_0x517576>=_0x3feda1;_0x517576--)0x0==_0x398563[_0x517576][_0x487c('0xad')]?_0x398563[_0x517576][_0x487c('0xcf')]=_0x78fc6b:(_0x78fc6b--,_0x398563[_0x517576][_0x487c('0xcf')]=_0x78fc6b,_0x78fc6b--);}}['_fixObsoleteTags'](_0x55a77a){const _0x43d5bd=new Map(),_0x3859f0=this[_0x487c('0x7d')][_0x487c('0x103')][_0x487c('0x81')];for(let _0xf4db3d=0x1;_0xf4db3d<_0x55a77a[_0x487c('0x108')];_0xf4db3d++){let _0x1aa79d,_0x1128bc,_0x20c9af;const _0x4e1c6d=_0x55a77a[_0xf4db3d],_0x28a373=_0x55a77a[_0xf4db3d-0x1];if(_0x487c('0x80')==_0x4e1c6d[_0x487c('0x3a')])continue;if(_0x4e1c6d[_0x487c('0x3a')]!=_0x28a373[_0x487c('0x3a')])continue;if(!_0x3859f0[_0x487c('0x85')](_0x28a373[_0x487c('0x24')])||_0x3859f0[_0x487c('0xf8')](_0x28a373[_0x487c('0x24')]))continue;if(!_0x3859f0[_0x487c('0x85')](_0x4e1c6d[_0x487c('0x24')])||_0x3859f0[_0x487c('0xf8')](_0x4e1c6d[_0x487c('0x24')]))continue;if((_0x55a77a[_0xf4db3d]['isAdded']||_0x55a77a[_0xf4db3d]['isAddSuggestion'])&&_0x55a77a[_0xf4db3d-0x1][_0x487c('0x8')])_0x1aa79d=_0x55a77a[_0xf4db3d],_0x1128bc=_0x55a77a[_0xf4db3d-0x1],_0x20c9af=_0xf4db3d-0x1;else{if(!_0x55a77a[_0xf4db3d]['isRemoved']||!_0x55a77a[_0xf4db3d-0x1][_0x487c('0xa6')]&&!_0x55a77a[_0xf4db3d-0x1][_0x487c('0x38')])continue;_0x1aa79d=_0x55a77a[_0xf4db3d-0x1],_0x1128bc=_0x55a77a[_0xf4db3d],_0x20c9af=_0xf4db3d;}const _0x9be71c=_0x1aa79d[_0x487c('0xcf')]==_0x1128bc['level'],_0x2a8e38=Math[_0x487c('0x9e')](_0x1aa79d[_0x487c('0xcf')])<Math[_0x487c('0x9e')](_0x1128bc[_0x487c('0xcf')])&&0x0==_0x1128bc[_0x487c('0xad')];(_0x9be71c||_0x2a8e38)&&(_0x43d5bd[_0x487c('0x43')](_0x1128bc['id'],_0x1aa79d['id']),_0x55a77a[_0x487c('0x10c')](_0x20c9af,0x1),_0xf4db3d--,_0x1aa79d[_0x487c('0xa6')]=!0x1);}for(let _0xb94585=0x0;_0xb94585<_0x55a77a[_0x487c('0x108')];_0xb94585++)_0x43d5bd[_0x487c('0x28')](_0x55a77a[_0xb94585][_0x487c('0x49')])&&(_0x55a77a[_0xb94585][_0x487c('0x49')]=_0x43d5bd[_0x487c('0xc5')](_0x55a77a[_0xb94585][_0x487c('0x49')]));}[_0x487c('0xa8')](_0x125a33){const _0x1919bd=new Set(_0x125a33[_0x487c('0xa')](_0x1daa95=>_0x1daa95['id']));for(let _0x206089=0x0;_0x206089<_0x125a33['length'];_0x206089++)_0x1919bd[_0x487c('0x28')](_0x125a33[_0x206089][_0x487c('0x49')])||0x0==_0x125a33[_0x206089][_0x487c('0xad')]||(_0x125a33[_0x206089]['isIncorrect']=!0x0);return _0x125a33[_0x487c('0x99')](_0x41721e=>!_0x41721e[_0x487c('0xcd')]);}[_0x487c('0x44')](_0x318c18){const _0xc10a77=new Set();for(let _0x477da4=0x0;_0x477da4<_0x318c18['length'];_0x477da4++){if(_0xc10a77[_0x487c('0x28')](_0x318c18[_0x477da4]['id'])&&_0x318c18[_0x477da4][_0x487c('0x8')]&&(_0x318c18[_0x477da4][_0x487c('0xcd')]=!0x0),_0x318c18[_0x477da4][_0x487c('0xcd')])continue;if(0x0==_0x318c18[_0x477da4][_0x487c('0xad')])continue;if(_0x487c('0x14')!=_0x318c18[_0x477da4][_0x487c('0x3a')])continue;if(null==_0x318c18[_0x477da4][_0x487c('0x49')])continue;let _0x4dd21e=_0x477da4+0x1,_0x30214c=0x0;for(;_0x318c18[_0x4dd21e]['id']!=_0x318c18[_0x477da4]['pairId'];)'elementStart'==_0x318c18[_0x4dd21e][_0x487c('0x3a')]?_0x30214c++:_0x487c('0x54')==_0x318c18[_0x4dd21e]['type']&&_0x30214c--,_0x4dd21e++;if(0x0!=_0x30214c){if(_0x318c18[_0x477da4][_0x487c('0x8')])_0x318c18[_0x477da4][_0x487c('0xcd')]=!0x0;else for(;_0x4dd21e!=_0x477da4;)_0x318c18[_0x4dd21e]['isRemoved']&&0x0!=_0x318c18[_0x4dd21e][_0x487c('0xad')]&&(_0x318c18[_0x4dd21e][_0x487c('0xcd')]=!0x0,_0xc10a77[_0x487c('0x102')](_0x318c18[_0x4dd21e][_0x487c('0x49')])),_0x4dd21e--;}}return _0x318c18[_0x487c('0x99')](_0x80a2a8=>!_0x80a2a8['isIncorrect']);}[_0x487c('0x3')](_0x1a4741){const _0x569ddd=this['editor'][_0x487c('0x103')][_0x487c('0x81')];for(let _0x17367a=0x0;_0x17367a<_0x1a4741[_0x487c('0x108')];_0x17367a++){if(!(_0x1a4741[_0x17367a]['isAdded']||_0x1a4741[_0x17367a][_0x487c('0x38')]||_0x1a4741[_0x17367a]['isRemoved']||_0x1a4741[_0x17367a]['isRemoveSuggestion']))continue;if(0x0==_0x1a4741[_0x17367a][_0x487c('0xad')])continue;const _0x115f3d=_0x1a4741[_0x17367a][_0x487c('0x24')];_0x569ddd['isBlock'](_0x115f3d)||_0x569ddd[_0x487c('0xf8')](_0x115f3d)||(_0x1a4741[_0x17367a][_0x487c('0xa6')]&&delete _0x1a4741[_0x17367a][_0x487c('0xa6')],_0x1a4741[_0x17367a][_0x487c('0x38')]&&delete _0x1a4741[_0x17367a][_0x487c('0x38')],_0x1a4741[_0x17367a]['isRemoveSuggestion']&&delete _0x1a4741[_0x17367a][_0x487c('0xd3')],_0x1a4741[_0x17367a][_0x487c('0x8')]&&(_0x1a4741[_0x17367a][_0x487c('0xcd')]=!0x0));}return _0x1a4741['filter'](_0x164f46=>!_0x164f46[_0x487c('0xcd')]);}[_0x487c('0x2')](_0x4ec645,_0x5e6b30,_0x3c252c){const _0x21954e=new _0x1caf66(),_0xb026d=[],_0xb6d4c8=new Map(),_0x5e7328=this['editor'][_0x487c('0x103')],_0x2fab65=_0x5e7328['schema'],_0x480a94=[_0x21954e],_0x1f9a98={},_0x185134={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5e6118=null;const _0x2aadce=[0x0];for(let _0x436d05=0x0;_0x436d05<_0x4ec645['length'];_0x436d05++){let _0x25a907,_0x1d56ad;if(_0x487c('0x14')===_0x4ec645[_0x436d05][_0x487c('0x3a')]){_0x25a907=_0x5e7328[_0x487c('0x84')](_0x21954e,_0x2aadce);const _0x5e0eba=new _0x280eb3(_0x4ec645[_0x436d05]['item']['name'],_0x4ec645[_0x436d05][_0x487c('0x24')][_0x487c('0xeb')]());_0x480a94[0x0][_0x487c('0x5a')](_0x5e0eba),_0x2aadce[_0x487c('0x105')](0x0),_0x480a94[_0x487c('0x11e')](_0x5e0eba),_0x1d56ad=_0x5e7328[_0x487c('0x84')](_0x21954e,_0x2aadce),_0x5e6118=null;}else{if('elementEnd'===_0x4ec645[_0x436d05][_0x487c('0x3a')])_0x480a94[_0x487c('0xc6')](),_0x25a907=_0x5e7328[_0x487c('0x84')](_0x21954e,_0x2aadce),_0x2aadce[_0x487c('0x47')](),_0x2aadce[_0x2aadce['length']-0x1]++,_0x1d56ad=_0x5e7328[_0x487c('0x84')](_0x21954e,_0x2aadce),_0x5e6118=null;else{if(_0x25a907=_0x5e7328['createPositionFromPath'](_0x21954e,_0x2aadce),_0x5e6118&&_0x53f093(_0x5e6118,_0x4ec645[_0x436d05][_0x487c('0x24')]))_0x5e6118[_0x487c('0x1a')]+=_0x4ec645[_0x436d05][_0x487c('0x24')][_0x487c('0xb7')];else{const _0x104168=new _0x73433e(_0x4ec645[_0x436d05][_0x487c('0x24')][_0x487c('0xb7')],_0x4ec645[_0x436d05][_0x487c('0x24')][_0x487c('0xeb')]());_0x480a94[0x0][_0x487c('0x5a')](_0x104168),_0x5e6118=_0x104168;}_0x2aadce[_0x2aadce[_0x487c('0x108')]-0x1]+=_0x4ec645[_0x436d05]['item'][_0x487c('0x8e')],_0x1d56ad=_0x5e7328[_0x487c('0x84')](_0x21954e,_0x2aadce);}}for(const _0x3ae986 of _0x4ec645[_0x436d05][_0x487c('0xd6')])_0xb6d4c8['set'](_0x3ae986,{'start':_0x25a907,'end':null});_0x3eb3d2(_0x487c('0xd3'),_0x436d05,_0x25a907,_0x1d56ad),_0x3eb3d2(_0x487c('0x38'),_0x436d05,_0x25a907,_0x1d56ad),_0x3eb3d2(_0x487c('0x8'),_0x436d05,_0x25a907,_0x1d56ad),_0x3eb3d2(_0x487c('0xa6'),_0x436d05,_0x25a907,_0x1d56ad);for(const _0x24c579 of _0x4ec645[_0x436d05][_0x487c('0x53')]){_0xb6d4c8[_0x487c('0xc5')](_0x24c579)[_0x487c('0xc9')]=_0x1d56ad;}}for(const [_0x4d918c,_0x4bf104]of _0xb6d4c8){const _0x17d2a9=this[_0x487c('0x7d')][_0x487c('0x103')]['createRange'](_0x4bf104[_0x487c('0xf')],_0x4bf104[_0x487c('0xc9')]);_0x21954e['markers'][_0x487c('0x43')](_0x4d918c,_0x17d2a9);}return _0xb026d[_0x487c('0x37')]((_0x408629,_0x253d30)=>{const _0x566d3b=_0x21954e[_0x487c('0x120')]['get'](_0x487c('0x25')+_0x408629['id']),_0x59eefa=_0x21954e[_0x487c('0x120')][_0x487c('0xc5')](_0x487c('0x25')+_0x253d30['id']);return _0x566d3b[_0x487c('0xf')][_0x487c('0x8c')](_0x59eefa[_0x487c('0xf')])?-0x1:_0x566d3b[_0x487c('0xf')]['isAfter'](_0x59eefa[_0x487c('0xf')])?0x1:_0x566d3b['end']['isBefore'](_0x59eefa[_0x487c('0xc9')])?-0x1:_0x566d3b['end']['isAfter'](_0x59eefa[_0x487c('0xc9')])?0x1:_0x487c('0x102')===_0x408629[_0x487c('0x3a')]?-0x1:0x1;}),{'root':_0x21954e,'changes':_0xb026d};function _0x3eb3d2(_0x828e6b,_0x1537cb,_0x53a255,_0x40ab55){const _0x1e8206=!!_0x4ec645[_0x1537cb][_0x828e6b],_0x2ed26e=_0x1e8206?_0x4ec645[_0x1537cb][_0x828e6b]['userId']:null,_0x1875b7=_0x1537cb===_0x4ec645['length']-0x1,_0x6548c2=_0x185134[_0x828e6b][0x0],_0x114dbb=_0x2fab65[_0x487c('0x125')](_0x4ec645[_0x1537cb][_0x487c('0x24')]);!_0x1f9a98[_0x828e6b]&&_0x1e8206?_0x1f9a98[_0x828e6b]={'start':_0x53a255,'tapeItem':_0x4ec645[_0x1537cb],'userId':_0x2ed26e,'type':_0x828e6b}:_0x1f9a98[_0x828e6b]&&!_0x1e8206?(_0x1f9a98[_0x828e6b]['end']=_0x53a255,_0x30cb8c(_0x1f9a98[_0x828e6b]),_0x1f9a98[_0x828e6b]=null):_0x1f9a98[_0x828e6b]&&_0x1e8206&&_0x1f9a98[_0x828e6b][_0x487c('0x7c')]!==_0x2ed26e&&(_0x1f9a98[_0x828e6b]['end']=_0x53a255,_0x6548c2&&_0x6548c2[_0x487c('0x7c')]===_0x1f9a98[_0x828e6b][_0x487c('0x7c')]||_0x30cb8c(_0x1f9a98[_0x828e6b]),_0x1f9a98[_0x828e6b]={'start':_0x53a255,'tapeItem':_0x4ec645[_0x1537cb],'userId':_0x2ed26e,'type':_0x828e6b}),_0x1f9a98[_0x828e6b]&&_0x114dbb&&(_0x487c('0x14')!==_0x4ec645[_0x1537cb][_0x487c('0x3a')]||_0x6548c2&&_0x6548c2[_0x487c('0x7c')]===_0x2ed26e||_0x185134[_0x828e6b]['unshift']({'userId':_0x2ed26e,'object':_0x4ec645[_0x1537cb][_0x487c('0x24')],'change':_0x1f9a98[_0x828e6b]}),_0x487c('0x54')===_0x4ec645[_0x1537cb][_0x487c('0x3a')]&&_0x6548c2&&_0x6548c2[_0x487c('0x79')]===_0x4ec645[_0x1537cb][_0x487c('0x24')]&&(_0x185134[_0x828e6b]['shift'](),_0x1f9a98[_0x828e6b]=_0x6548c2[_0x487c('0x11b')])),_0x1f9a98[_0x828e6b]&&_0x1875b7&&(_0x1f9a98[_0x828e6b]['end']=_0x40ab55,_0x30cb8c(_0x1f9a98[_0x828e6b]),_0x1f9a98[_0x828e6b]=null);}function _0x30cb8c({start:_0x47b4c3,end:_0x580b49,tapeItem:_0x187c1a,userId:_0x324960,type:_0x5197e8}){const _0x1a8875=_0x187c1a[_0x487c('0x24')],_0x1bda07=_0x5e7328[_0x487c('0x81')][_0x487c('0x85')](_0x1a8875)&&!_0x5e7328[_0x487c('0x81')][_0x487c('0xf8')](_0x1a8875),_0x8e8ab2=_0x47b4c3[_0x487c('0x10d')]==_0x580b49[_0x487c('0x106')]&&_0x580b49['isAtStart'];if(_0x1bda07&&_0x8e8ab2)return;const _0x1be987=_0x5e7328['createRange'](_0x47b4c3,_0x580b49),_0x1ffe6d=_0x5e6b30[_0x487c('0xc5')](_0x324960),_0x263b2e=new _0x18b350({'author':_0x1ffe6d,'type':_0x487c('0xa6')==_0x5197e8||_0x487c('0x38')==_0x5197e8?_0x487c('0x102'):_0x487c('0xb0'),'data':{'isSuggestion':_0x487c('0x38')==_0x5197e8||'isRemoveSuggestion'==_0x5197e8},'createdAt':new Date(),'rootName':_0x3c252c});_0xb026d[_0x487c('0x105')](_0x263b2e),_0x21954e[_0x487c('0x120')]['set'](_0x487c('0x25')+_0x263b2e['id'],_0x1be987);}function _0x53f093(_0x1b3c7c,_0x3ddf96){const _0x264740=_0x1b3c7c[_0x487c('0xeb')](),_0x4e18b2=_0x3ddf96[_0x487c('0xeb')]();for(const _0x19b737 of _0x264740){if(_0x19b737[0x1]!==_0x3ddf96[_0x487c('0x12')](_0x19b737[0x0]))return!0x1;_0x4e18b2[_0x487c('0x78')]();}return _0x4e18b2[_0x487c('0x78')]()['done'];}}[_0x487c('0x87')](){this[_0x487c('0x7d')][_0x487c('0x4d')][_0x487c('0xb3')](_0x487c('0x57'))['dataToMarker']({'view':_0x487c('0x2c')}),this[_0x487c('0x7d')][_0x487c('0x4d')]['for'](_0x487c('0x56'))[_0x487c('0xe0')]({'model':_0x487c('0x2c'),'view':_0x4b5cdc=>{const _0xa628da=_0x4b5cdc['markerName'][_0x487c('0xc4')](':')[0x1],_0x566e79=this[_0x487c('0xa0')](_0xa628da);if(!_0x566e79)return null;const _0x15e5fe=_0x487c('0x102')==_0x566e79[_0x487c('0x3a')]?_0x487c('0xed'):_0x487c('0xb8'),_0x20697f=[_0x487c('0xfc'),_0x487c('0x5e')+_0x15e5fe];return _0x566e79[_0x487c('0xb7')]['isSuggestion']&&_0x20697f['push']('ck-suggestion-marker-'+_0x15e5fe+_0x487c('0x4e')),this[_0x487c('0xc7')]==_0x566e79&&_0x20697f['push'](_0x487c('0x52')),{'classes':_0x20697f,'attributes':{'data-change-id':_0xa628da}};}}),this['editor'][_0x487c('0x4d')][_0x487c('0xb3')](_0x487c('0x57'))['add'](_0x106897=>{_0x106897['on'](_0x487c('0x7'),(_0x3c5d71,_0x24c44e,_0x276fbc)=>{const _0x20fdd9=_0x24c44e[_0x487c('0xda')]['getChild'](0x0);if(!_0x20fdd9||!_0x20fdd9['is'](_0x487c('0x10a'),_0x487c('0xfa')))return;if(!_0x276fbc[_0x487c('0x2b')][_0x487c('0xd2')](_0x20fdd9,{'attributes':[_0x487c('0x115'),_0x487c('0x6c')]}))return;const _0x2abdf9=_0x24c44e[_0x487c('0xf9')][_0x487c('0xf')]['nodeAfter'];_0x276fbc[_0x487c('0x4c')][_0x487c('0x4')](_0x487c('0x115'),_0x20fdd9['getAttribute'](_0x487c('0x115')),_0x2abdf9),_0x276fbc['writer'][_0x487c('0x4')](_0x487c('0x6c'),_0x20fdd9[_0x487c('0x12')](_0x487c('0x6c')),_0x2abdf9);},{'priority':_0x487c('0xbc')});}),this[_0x487c('0x7d')]['conversion']['for'](_0x487c('0x57'))[_0x487c('0x102')](_0xf38e12=>{_0xf38e12['on'](_0x487c('0x10a'),(_0x12c9e3,_0x17aa6c,_0x24fb50)=>{if(!_0x24fb50[_0x487c('0x2b')][_0x487c('0xd2')](_0x17aa6c[_0x487c('0xda')],{'attributes':[_0x487c('0x115'),'vid_end']}))return;if(_0x17aa6c['modelRange'][_0x487c('0x121')])return;const _0x39212b=_0x17aa6c[_0x487c('0xf9')]['start'][_0x487c('0x10d')];_0x39212b[_0x487c('0x113')](_0x487c('0x115'))||_0x39212b[_0x487c('0x113')](_0x487c('0x32'))||(_0x24fb50[_0x487c('0x4c')][_0x487c('0x4')](_0x487c('0x115'),_0x17aa6c[_0x487c('0xda')][_0x487c('0x12')]('vid_start'),_0x39212b),_0x24fb50[_0x487c('0x4c')][_0x487c('0x4')](_0x487c('0x6c'),_0x17aa6c[_0x487c('0xda')][_0x487c('0x12')]('vid_end'),_0x39212b));},{'priority':_0x487c('0xbc')});}),this['editor'][_0x487c('0x4d')][_0x487c('0xb3')]('upcast')[_0x487c('0xe8')]({'view':{'name':_0x487c('0xe'),'attributes':{'vid':!0x0}},'model':{'key':_0x487c('0x32'),'value':_0x1a93ce=>_0x1a93ce[_0x487c('0x12')]('vid')}}),this[_0x487c('0x7d')][_0x487c('0x103')][_0x487c('0x81')]['on']('checkAttribute',(_0x49529b,[,_0x47ac2a])=>{[_0x487c('0x115'),'vid_end',_0x487c('0x32')][_0x487c('0x3e')](_0x47ac2a)&&(_0x49529b[_0x487c('0x76')]=!0x0,_0x49529b[_0x487c('0x117')]());},{'priority':'highest'}),this[_0x487c('0x7d')][_0x487c('0x4d')]['for'](_0x487c('0x46'))[_0x487c('0x102')](_0x438d8b=>{_0x438d8b['on'](_0x487c('0xca'),(_0x1fdb44,_0x38dae9,_0x23d9d3)=>{if('\x20'!=_0x38dae9[_0x487c('0x24')]['data']||_0x38dae9[_0x487c('0x24')][_0x487c('0x106')]['maxOffset']>0x1)return;if(!_0x23d9d3[_0x487c('0x2b')]['consume'](_0x38dae9[_0x487c('0x24')],_0x1fdb44[_0x487c('0x11d')]))return;const _0x4bdec5=_0x23d9d3[_0x487c('0x4c')],_0x173a97=_0x23d9d3[_0x487c('0xbf')][_0x487c('0x17')](_0x38dae9[_0x487c('0xe2')]);_0x4bdec5[_0x487c('0xd1')](_0x173a97,_0x4bdec5[_0x487c('0xb1')](_0x487c('0xe')));});}),this['editor'][_0x487c('0x4d')][_0x487c('0xb3')]('dataDowncast')[_0x487c('0x3f')]({'model':_0x487c('0x2c')}),this[_0x487c('0x7d')][_0x487c('0x16')]['downcastDispatcher']['on'](_0x487c('0x9b'),function(_0x459a51){const _0x179de9=_0x459a51['plugins'][_0x487c('0xc5')](_0x487c('0x23'));return(_0x451c4e,_0x4faf73,_0xc52689)=>{const _0x467b3b=_0x4faf73[_0x487c('0xcb')]['split'](':')[0x1],_0xd73461=_0x179de9[_0x487c('0xa0')](_0x467b3b);if(!_0xd73461)return null;const _0x409f18=_0x487c('0x102')==_0xd73461[_0x487c('0x3a')]?'split':_0x487c('0x1f');if(!_0xc52689[_0x487c('0x2b')][_0x487c('0x34')](_0x4faf73['markerRange'],_0x451c4e['name']))return;const _0x51167a=_0x4faf73[_0x487c('0xdc')][_0x487c('0xc8')](),_0x46f517=_0x4faf73[_0x487c('0xdc')][_0x487c('0xf')],_0x37d28c=_0x459a51[_0x487c('0x103')][_0x487c('0x81')];let _0x50d7a4=null,_0x3ec475=null,_0x66b0f6=!0x1,_0x16cd47=!0x1;for(const _0xec4116 of _0x51167a){const _0x56c5a5=_0xec4116['item'];_0x66b0f6=_0x66b0f6||_0x37d28c[_0x487c('0x8d')](_0x56c5a5);const _0x42ca2e=_0xc52689[_0x487c('0xbf')][_0x487c('0x89')](_0x56c5a5);if(_0x42ca2e&&_0x42ca2e[_0x487c('0x11a')](_0x487c('0xe1')))return;_0x487c('0x54')==_0xec4116[_0x487c('0x3a')]&&(_0x37d28c[_0x487c('0x85')](_0x56c5a5)&&!_0x37d28c['isLimit'](_0x56c5a5)&&(_0x56c5a5['nextSibling']||_0x46f517[_0x487c('0x29')]?_0x50d7a4&&_0x50d7a4[_0x487c('0x106')]==_0x56c5a5||(_0x50d7a4=_0x56c5a5,_0x5a69d4(_0xec4116[_0x487c('0x66')]),_0x16cd47=!0x0):_0x3ec475=_0x3ec475||_0xec4116[_0x487c('0x66')]));}function _0x5a69d4(_0x6af1c5){const _0x4f2fa1=_0xc52689[_0x487c('0x4c')][_0x487c('0x1')](_0x487c('0xe'),{'class':'ck-suggestion-marker-'+_0x409f18}),_0x411b91=_0xc52689[_0x487c('0xbf')][_0x487c('0x45')](_0x6af1c5);_0xd73461[_0x487c('0xb7')][_0x487c('0x42')]&&_0xc52689[_0x487c('0x4c')][_0x487c('0xdd')](_0x487c('0x5e')+_0x409f18+'-new',_0x4f2fa1),_0x179de9[_0x487c('0xc7')]==_0xd73461&&_0xc52689['writer'][_0x487c('0xdd')](_0x487c('0x52'),_0x4f2fa1),_0xc52689['writer'][_0x487c('0x110')](_0x411b91,_0x4f2fa1),_0xc52689[_0x487c('0xbf')][_0x487c('0x124')](_0x4f2fa1,_0x4faf73[_0x487c('0xcb')]);}_0x66b0f6||_0x16cd47||!_0x3ec475||_0x5a69d4(_0x3ec475);};}(this[_0x487c('0x7d')]),{'priority':'high'}),this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x5b')]['on'](_0x487c('0x64'),(_0x52a1db,_0x5b9619,_0x17d13e)=>{const _0x52e1e5=_0x17d13e[_0x487c('0xbf')]['markerNameToElements'](_0x5b9619[_0x487c('0xcb')]);if(_0x52e1e5)for(const _0x535a82 of _0x52e1e5)(_0x535a82[_0x487c('0x6a')]('ck-suggestion-marker-split')||_0x535a82['hasClass']('ck-suggestion-marker-merge'))&&(_0x17d13e['mapper'][_0x487c('0x48')](_0x535a82,_0x5b9619[_0x487c('0xcb')]),_0x17d13e[_0x487c('0x4c')][_0x487c('0xb0')](_0x535a82));},{'priority':_0x487c('0x88')}),this[_0x487c('0x7d')][_0x487c('0x16')]['downcastDispatcher']['on'](_0x487c('0x9b'),(_0x2ae5c9,_0x51ee3a,_0x224e0d)=>{const _0x46139c=_0x51ee3a[_0x487c('0xcb')][_0x487c('0xc4')](':')[0x1],_0x23fa7b=this[_0x487c('0xa0')](_0x46139c);if(!_0x23fa7b)return null;const _0x351abc='add'==_0x23fa7b[_0x487c('0x3a')]?_0x487c('0xc4'):_0x487c('0x1f');if(_0x224e0d['consumable'][_0x487c('0x34')](_0x51ee3a['markerRange'],_0x2ae5c9[_0x487c('0x11d')]))for(const _0xa8ff98 of _0x51ee3a[_0x487c('0xdc')]['getItems']()){if(!_0xa8ff98['is'](_0x487c('0x10a'),'softBreak'))continue;const _0x36dc3d=_0x224e0d[_0x487c('0x4c')][_0x487c('0x1')](_0x487c('0xe'),{'class':'ck-suggestion-marker-'+_0x351abc}),_0x38bdae=_0x224e0d[_0x487c('0xbf')][_0x487c('0x45')](this[_0x487c('0x7d')][_0x487c('0x103')][_0x487c('0xe5')](_0xa8ff98));_0x23fa7b[_0x487c('0xb7')]['isSuggestion']&&_0x224e0d[_0x487c('0x4c')][_0x487c('0xdd')](_0x487c('0x5e')+_0x351abc+_0x487c('0x4e'),_0x36dc3d),this[_0x487c('0xc7')]==_0x23fa7b&&_0x224e0d[_0x487c('0x4c')]['addClass'](_0x487c('0x52'),_0x36dc3d),_0x224e0d[_0x487c('0x4c')][_0x487c('0x110')](_0x38bdae,_0x36dc3d),_0x224e0d[_0x487c('0xbf')][_0x487c('0x124')](_0x36dc3d,_0x51ee3a[_0x487c('0xcb')]);}},{'priority':_0x487c('0x88')}),this[_0x487c('0x7d')][_0x487c('0x103')][_0x487c('0xa1')]['on'](_0x487c('0x11b'),()=>{this[_0x487c('0x7d')]['editing']['view']['change'](_0x159b66=>{for(const _0x3179f7 of this['editor'][_0x487c('0x103')][_0x487c('0xa1')]['getRootNames']()){const _0x40a78e=this['editor'][_0x487c('0x103')]['document']['getRoot'](_0x3179f7),_0x1395d4=this['editor'][_0x487c('0x16')][_0x487c('0x100')][_0x487c('0xa1')][_0x487c('0x95')](_0x3179f7);if(_0x1395d4){const _0x568c67=_0x40a78e[_0x487c('0x12')](_0x487c('0x68'));if(_0x159b66['removeAttribute'](_0x487c('0xf6'),_0x1395d4),_0x159b66[_0x487c('0x30')](_0x487c('0xa7'),_0x1395d4),_0x159b66[_0x487c('0x30')](_0x487c('0x67'),_0x1395d4),_0x159b66[_0x487c('0x30')]('ck-revision-history-root--active',_0x1395d4),_0x568c67){const _0x32826b=this[_0x487c('0xa0')](_0x568c67);if(!_0x32826b)return null;_0x159b66['setAttribute'](_0x487c('0xf6'),_0x568c67,_0x1395d4),_0x159b66[_0x487c('0xdd')](_0x487c('0x1c')+_0x32826b['type'],_0x1395d4),this['activeChange']==_0x32826b&&_0x159b66['addClass'](_0x487c('0x6d'),_0x1395d4);}}}});}),this[_0x487c('0x7d')][_0x487c('0x4d')]['for'](_0x487c('0x57'))['dataToMarker']({'view':_0x487c('0x4f'),'model':_0x3306ac=>'revision-comment:'+_0x3306ac,'converterPriority':_0x487c('0x10f')}),this[_0x487c('0x7d')]['conversion'][_0x487c('0xb3')](_0x487c('0x57'))['dataToMarker']({'view':_0x487c('0xce'),'model':_0x29f0ab=>'revision-suggestion:'+_0x29f0ab,'converterPriority':_0x487c('0x10f')}),this[_0x487c('0x7d')][_0x487c('0x4d')][_0x487c('0xb3')](_0x487c('0x46'))[_0x487c('0x3f')]({'model':'revision-suggestion','view':_0x163232=>({'name':_0x487c('0x50')+_0x163232,'group':_0x487c('0xb6')}),'converterPriority':_0x487c('0x10f')}),this[_0x487c('0x7d')]['conversion'][_0x487c('0xb3')]('editingDowncast')['markerToHighlight']({'model':_0x487c('0xb6'),'view':_0xa1e45e=>{const _0x38ff46=_0xa1e45e['markerName']['split'](':')[0x1];return _0x487c('0xed')!=_0x38ff46&&_0x487c('0xb8')!=_0x38ff46?null:{'classes':[_0x487c('0xe6'),'ck-suggestion-preview-marker-'+_0x38ff46]};}}),this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x5b')]['on'](_0x487c('0x3c'),et(this[_0x487c('0x7d')],_0x487c('0x1f')),{'priority':'high'}),this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x5b')]['on'](_0x487c('0x19'),et(this[_0x487c('0x7d')],_0x487c('0xc4')),{'priority':'high'}),this[_0x487c('0x7d')][_0x487c('0x16')]['downcastDispatcher']['on'](_0x487c('0x122'),(_0x38ff83,_0x335ee3,_0x17cc3c)=>{const _0x21230f=_0x17cc3c['mapper'][_0x487c('0xbd')](_0x335ee3[_0x487c('0xcb')]);if(_0x21230f)for(const _0x18eec8 of _0x21230f)_0x18eec8['is'](_0x487c('0x60'))&&(_0x17cc3c[_0x487c('0xbf')]['unbindElementFromMarkerName'](_0x18eec8,_0x335ee3[_0x487c('0xcb')]),_0x17cc3c['writer'][_0x487c('0xb0')](_0x18eec8));},{'priority':'high'});}['_getChangeFromId'](_0x2bb475){return this[_0x487c('0xb5')][_0x487c('0xc5')](_0x2bb475);}[_0x487c('0x11f')](_0x35724f){return this[_0x487c('0x11')]&&this['_changeView'][_0x487c('0x36')](),this[_0x487c('0x11')]=new _0x3299af(this[_0x487c('0x7d')]['locale'],_0x35724f),this[_0x487c('0x11')];}[_0x487c('0x2f')](){this[_0x487c('0x7d')][_0x487c('0x103')][_0x487c('0xa1')][_0x487c('0xe7')]['observeMarkers'](_0x487c('0x2c')),this['on'](_0x487c('0x3d'),(_0x3ba042,_0x2bb98f,_0x50eb50,_0x2a7e8f)=>{_0x2a7e8f&&this[_0x487c('0xac')][_0x487c('0xb0')](_0x2a7e8f),_0x50eb50&&(this['_balloon']['add']({'view':_0x50eb50,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xaa352c=this[_0x487c('0x7d')][_0x487c('0x16')],_0x3af33b=this[_0x487c('0xa0')](_0x50eb50[_0x487c('0x65')]);let _0x2ec660;if(_0x3af33b[_0x487c('0xb7')][_0x487c('0xba')]){const _0x243e35=_0xaa352c[_0x487c('0x100')]['getDomRoot'](_0x3af33b[_0x487c('0x6f')]);_0x2ec660=Array[_0x487c('0xf1')](_0x243e35['getClientRects']());}else{const _0x51765a=this[_0x487c('0x7d')]['model'][_0x487c('0x120')][_0x487c('0xc5')]('revision:'+_0x50eb50[_0x487c('0x65')]);_0x2ec660=Array[_0x487c('0xf1')](_0xaa352c[_0x487c('0xbf')]['markerNameToElements'](_0x51765a[_0x487c('0x11d')]))[_0x487c('0xa')](_0x53951f=>_0xaa352c[_0x487c('0x100')][_0x487c('0x27')][_0x487c('0xfb')](_0x53951f))['map'](_0x493953=>Array[_0x487c('0xf1')](_0x493953[_0x487c('0xee')]()))['flat']();}if(!this['_activeViewTarget'])return _0x2ec660[0x0];return _0x2ec660[_0x487c('0xa9')](_0xfaa144=>_0xfaa144[_0x487c('0xe4')]-0x3<=this[_0x487c('0x7b')]['y']&&_0xfaa144[_0x487c('0x92')]+0x3>=this[_0x487c('0x7b')]['y']&&_0xfaa144[_0x487c('0x116')]-0x3<=this[_0x487c('0x7b')]['x']&&_0xfaa144['right']+0x3>=this[_0x487c('0x7b')]['x'])||_0x2ec660[0x0];}}}),this[_0x487c('0xac')][_0x487c('0x5f')](_0x487c('0x55')));}),this['on']('change:activeChange',(_0x26b8fa,_0x514267,_0x6fa6c3,_0x2f94bf)=>{this[_0x487c('0xb')]=_0x6fa6c3?this[_0x487c('0x11f')](_0x6fa6c3):null,this[_0x487c('0x7d')][_0x487c('0x103')][_0x487c('0x11b')](()=>{const _0x544d64=this[_0x487c('0x7d')]['editing'];_0x2f94bf&&(_0x2f94bf[_0x487c('0xb7')][_0x487c('0xba')]?_0x544d64[_0x487c('0x100')]['change'](_0x1e7601=>{_0x1e7601[_0x487c('0x30')]('ck-revision-history-root--active',_0x544d64['view'][_0x487c('0xa1')][_0x487c('0x95')](_0x2f94bf[_0x487c('0x6f')]));}):_0x544d64[_0x487c('0x22')]('revision:'+_0x2f94bf['id'])),_0x6fa6c3&&(_0x6fa6c3['data'][_0x487c('0xba')]?_0x544d64['view'][_0x487c('0x11b')](_0x26d197=>{_0x26d197[_0x487c('0xdd')](_0x487c('0x6d'),_0x544d64[_0x487c('0x100')][_0x487c('0xa1')][_0x487c('0x95')](_0x6fa6c3[_0x487c('0x6f')]));}):_0x544d64['reconvertMarker'](_0x487c('0x25')+_0x6fa6c3['id']));});}),this[_0x487c('0x2d')](this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x100')][_0x487c('0xa1')],_0x487c('0x9f'),(_0xe48a38,_0x3a2b46)=>{if(this[_0x487c('0xc7')])return;const _0x372e96=this[_0x487c('0xfd')](_0x3a2b46[_0x487c('0x6e')]),_0x2c1d12=this[_0x487c('0xb5')][_0x487c('0xc5')](_0x372e96);_0x2c1d12?(this[_0x487c('0x7b')]={'x':_0x3a2b46[_0x487c('0x1b')]['x'],'y':_0x3a2b46[_0x487c('0x1b')]['y']},this[_0x487c('0xb')]=this[_0x487c('0x11f')](_0x2c1d12)):(this[_0x487c('0x7b')]=null,this[_0x487c('0xb')]=null);}),this['listenTo'](this[_0x487c('0x7d')][_0x487c('0x16')][_0x487c('0x100')][_0x487c('0xa1')],_0x487c('0x4a'),(_0xf666dc,_0x30aeb2)=>{const _0x416d84=this[_0x487c('0xfd')](_0x30aeb2['target']),_0x37ff63=this['_changeIdToChange'][_0x487c('0xc5')](_0x416d84);_0x37ff63?(this[_0x487c('0x7b')]={'x':_0x30aeb2[_0x487c('0x1b')]['x'],'y':_0x30aeb2[_0x487c('0x1b')]['y']},_0x37ff63===this[_0x487c('0xc7')]?this[_0x487c('0xac')][_0x487c('0x86')]():this[_0x487c('0xc7')]=_0x37ff63):(this['_activeViewTarget']=null,this['activeChange']=null);});}[_0x487c('0xfd')](_0x41a9a4){do{const _0x56e8d5=_0x41a9a4['getAttribute'](_0x487c('0xf6'));if(_0x56e8d5)return _0x56e8d5;_0x41a9a4=_0x41a9a4[_0x487c('0x106')];}while(_0x41a9a4);return null;}[_0x487c('0x73')](){this[_0x487c('0x7d')][_0x487c('0x103')]['change'](_0x523fae=>{for(const _0x21ac1d of this[_0x487c('0x7d')]['model'][_0x487c('0x120')])_0x523fae[_0x487c('0x62')](_0x21ac1d);});}}function et(_0x104c6b,_0x196f51){return(_0x43c208,_0x240fc3,_0x3affd6)=>{if(!_0x3affd6[_0x487c('0x2b')]['test'](_0x240fc3[_0x487c('0xdc')],_0x43c208[_0x487c('0x11d')]))return;const _0x32e67c=_0x240fc3[_0x487c('0xdc')][_0x487c('0xc8')](),_0x4d819f=_0x240fc3[_0x487c('0xdc')][_0x487c('0xf')],_0x982d0e=_0x104c6b[_0x487c('0x103')][_0x487c('0x81')];let _0x1d67e9=null,_0x585cb1=null,_0x16be76=!0x1,_0x187268=!0x1;for(const _0x5b041e of _0x32e67c){const _0x36f326=_0x5b041e[_0x487c('0x24')];_0x16be76=_0x16be76||_0x982d0e['isContent'](_0x36f326);const _0x25b575=_0x3affd6['mapper'][_0x487c('0x89')](_0x36f326);if(_0x25b575&&_0x25b575[_0x487c('0x11a')]('addHighlight'))return;'elementEnd'==_0x5b041e['type']&&(_0x982d0e['isBlock'](_0x36f326)&&!_0x982d0e[_0x487c('0xf8')](_0x36f326)&&(_0x36f326['nextSibling']||_0x4d819f[_0x487c('0x29')]?_0x1d67e9&&_0x1d67e9[_0x487c('0x106')]==_0x36f326||(_0x1d67e9=_0x36f326,_0xa26253(_0x5b041e[_0x487c('0x66')]),_0x187268=!0x0):_0x585cb1=_0x585cb1||_0x5b041e[_0x487c('0x66')]));}function _0xa26253(_0xa7a1){const _0x395da8=_0x3affd6[_0x487c('0xbf')][_0x487c('0x45')](_0xa7a1),_0x22b82c=_0x3affd6[_0x487c('0x4c')][_0x487c('0x1')](_0x487c('0xe'),{'class':_0x487c('0xbe')+_0x196f51});_0x3affd6[_0x487c('0x4c')]['insert'](_0x395da8,_0x22b82c),_0x3affd6[_0x487c('0xbf')][_0x487c('0x124')](_0x22b82c,_0x240fc3[_0x487c('0xcb')]);}_0x16be76||_0x187268||!_0x585cb1||_0xa26253(_0x585cb1);};}export class RestoreRevisionCommand extends _0x2ba876{constructor(_0x35b90b){super(_0x35b90b);const _0x33abbb=_0x35b90b[_0x487c('0xb2')][_0x487c('0xc5')](d);this['affectsData']=!0x1,this['listenTo'](_0x33abbb,'change:isReady',()=>this[_0x487c('0x10b')]()),this['listenTo'](_0x33abbb,_0x487c('0xd'),()=>this['refresh']());}[_0x487c('0xbb')](){const _0x40b8cb=this[_0x487c('0x7d')],_0x49efe3=_0x40b8cb[_0x487c('0xb2')]['get'](d),_0x17b550=_0x49efe3[_0x487c('0x77')]?_0x49efe3[_0x487c('0xab')][_0x487c('0x10e')]:null;_0x40b8cb[_0x487c('0xf0')][_0x487c('0xc5')](_0x487c('0xf4'))['restoreRevisionCallback'](_0x17b550);}[_0x487c('0x10b')](){const {isReady:_0xf43489,isEnabled:_0x253d08}=this[_0x487c('0x7d')]['plugins'][_0x487c('0xc5')](d);this[_0x487c('0x51')]=_0xf43489&&_0x253d08;}}export class ShowChangeCommand extends _0x2ba876{constructor(_0x263b94,{direction:_0x2fd5b1}){super(_0x263b94);const _0x402719=_0x263b94[_0x487c('0xb2')][_0x487c('0xc5')](d);this['affectsData']=!0x1,this['_step']=_0x487c('0x1e')===_0x2fd5b1?0x1:-0x1,this[_0x487c('0x2d')](_0x402719,'change:isReady',()=>this['refresh']()),this[_0x487c('0x2d')](_0x402719,_0x487c('0xd'),()=>this[_0x487c('0x10b')]()),this[_0x487c('0x2d')](_0x402719,_0x487c('0x83'),()=>this[_0x487c('0x10b')]());}[_0x487c('0xbb')](){const _0x25743a=this[_0x487c('0x7d')],_0x465844=_0x25743a['plugins'][_0x487c('0xc5')](d),{isNavigationMode:_0x36fab4,currentChangeNumber:_0xa5d04b}=_0x465844;let _0x5fabdb;if(_0x465844[_0x487c('0xc7')]=_0x36fab4?_0x465844['diff'][_0x487c('0xae')][_0x487c('0xc5')](_0xa5d04b+this[_0x487c('0x2a')]):_0x465844[_0x487c('0xab')][_0x487c('0xae')][_0x487c('0x39')],_0x465844[_0x487c('0xc7')][_0x487c('0xb7')]['isOnRoot'])_0x5fabdb=_0x25743a[_0x487c('0x16')][_0x487c('0x100')][_0x487c('0xb4')](_0x465844[_0x487c('0xc7')][_0x487c('0x6f')]);else{const _0x4bd85a=_0x25743a[_0x487c('0x103')]['markers'][_0x487c('0xc5')](_0x487c('0x25')+_0x465844['activeChange']['id']);_0x5fabdb=_0xd4e7f8(_0x25743a[_0x487c('0x16')],_0x4bd85a);}_0x557e04({'target':_0x5fabdb,'viewportOffset':0x28});}[_0x487c('0x10b')](){const {isNavigationMode:_0x181be8,currentChangeNumber:_0x24a8d7,numberOfChanges:_0xd50e5d,isReady:_0x2fd05,isEnabled:_0x525ddb}=this['editor'][_0x487c('0xb2')][_0x487c('0xc5')](d);this[_0x487c('0x51')]=!!(_0x525ddb&&_0x2fd05&&_0xd50e5d)&&(!_0x181be8||(0x1===this['_step']?_0x24a8d7<_0xd50e5d-0x1:_0x24a8d7>0x0));}}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
import { Model } from 'ckeditor5/src/ui';
|
|
6
|
-
import '../../../theme/revision/revisionactions.css';
|
|
7
|
-
export interface RevisionDropdownOptions {
|
|
8
|
-
type: 'button';
|
|
9
|
-
model: Model;
|
|
10
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import { Model } from 'ckeditor5/src/ui';
|
|
6
|
+
import '../../../theme/revision/revisionactions.css';
|
|
7
|
+
export interface RevisionDropdownOptions {
|
|
8
|
+
type: 'button';
|
|
9
|
+
model: Model;
|
|
10
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b14=['listView','locale','execute','bind','listenTo','Restore\x20this\x20revision','isOpen','add','map','Show\x20more\x20items','source','children','button','name','isActionsDropdownOpen','set','isVisible','threeVerticalDots','bindTemplate','first','isEnabled','items','Name\x20this\x20revision','stopPropagation','isReady','panelPosition','ck-revision-history-sidebar__revision__actions','function','_action','ck-on','model','action','find','change:isActionsDropdownOpen'];(function(_0x19f1cb,_0x2b1482){const _0x5c5032=function(_0x569ddb){while(--_0x569ddb){_0x19f1cb['push'](_0x19f1cb['shift']());}};_0x5c5032(++_0x2b1482);}(_0x2b14,0xd1));const _0x5c50=function(_0x19f1cb,_0x2b1482){_0x19f1cb=_0x19f1cb-0x0;let _0x5c5032=_0x2b14[_0x19f1cb];return _0x5c5032;};import{Collection as _0x54cfaf}from'ckeditor5/src/utils';import{icons as _0x5cf2d4}from'ckeditor5/src/core';import{Model as _0x21e63a,addListToDropdown as _0x16574c,createDropdown as _0x4b8367}from'ckeditor5/src/ui';import{getTranslation as _0x540fe9}from'../../utils/common-translations';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x189f6d,_0x3c2332){const _0x127df5=_0x189f6d[_0x5c50('0xd')],_0x219b39=_0x189f6d[_0x5c50('0x1e')],_0x6cc2f3=_0x4b8367(_0x219b39);_0x6cc2f3[_0x5c50('0x14')]='sw';const _0xc1add6=function(_0x2d1f9d,_0x131ff4){const _0x58a0e9=function(_0x4372b4,_0x3b4b41){const _0x30db3f=_0x4372b4[_0x5c50('0x1e')],_0x59d61b={'Compare\x20against\x20selected':_0x540fe9(_0x30db3f,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x540fe9(_0x30db3f,_0x5c50('0x11')),'Restore\x20this\x20revision':_0x540fe9(_0x30db3f,_0x5c50('0x0'))};return _0x3b4b41[_0x5c50('0x3')](_0x55ad78=>{const _0x3f9713=_0x59d61b[_0x55ad78[_0x5c50('0x8')]];return _0x3f9713&&_0x3f9713!==_0x55ad78[_0x5c50('0x8')]&&(_0x55ad78['name']=_0x3f9713),_0x55ad78;});}(_0x2d1f9d,_0x131ff4),_0x18d179=new _0x54cfaf();for(const _0x16181e of _0x58a0e9){const _0x24a22a={'type':_0x5c50('0x7'),'model':new _0x21e63a({'label':_0x16181e[_0x5c50('0x8')],'class':_0x16181e['class'],'withText':!0x0,'_action':_0x16181e['action']})};_0x24a22a[_0x5c50('0x19')][_0x5c50('0x20')]('isEnabled')['to'](_0x2d1f9d,_0x5c50('0x9'),_0x2f6a88=>'function'!=typeof _0x16181e['isEnabled']||(!_0x2f6a88||_0x16181e[_0x5c50('0xf')](_0x2d1f9d))),_0x18d179[_0x5c50('0x2')](_0x24a22a);}return _0x18d179;}(_0x189f6d,_0x3c2332);return _0x189f6d[_0x5c50('0x20')](_0x5c50('0x9'))['to'](_0x6cc2f3,_0x5c50('0x1')),_0x6cc2f3['buttonView'][_0x5c50('0xa')]({'label':_0x540fe9(_0x219b39,_0x5c50('0x4')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5cf2d4[_0x5c50('0xc')]}),_0x6cc2f3['extendTemplate']({'attributes':{'class':[_0x5c50('0x15'),_0x127df5['if'](_0x5c50('0x9'),_0x5c50('0x18'))]},'on':{'click':_0x127df5['to'](_0xba18b5=>_0xba18b5[_0x5c50('0x12')]())}}),_0x6cc2f3['on'](_0x5c50('0x1f'),_0x248b3b=>{_0x189f6d[_0x5c50('0x13')]&&_0x5c50('0x16')==typeof _0x248b3b[_0x5c50('0x5')]['_action']&&_0x248b3b['source'][_0x5c50('0x17')](_0x189f6d);}),_0x16574c(_0x6cc2f3,_0xc1add6),_0x6cc2f3[_0x5c50('0x21')](_0x189f6d,_0x5c50('0x1c'),(_0x460cbf,_0xcffece,_0x56af62)=>{if(_0x56af62)for(const _0x1ad7e1 of _0x6cc2f3[_0x5c50('0x1d')][_0x5c50('0x10')]){const _0x1e7cf4=_0x1ad7e1[_0x5c50('0x6')][_0x5c50('0xe')],_0x25fdf6=_0x3c2332[_0x5c50('0x1b')](_0x3d45a3=>_0x3d45a3[_0x5c50('0x1a')]===_0x1e7cf4[_0x5c50('0x17')])[_0x5c50('0xb')];_0x1ad7e1['isVisible']=void 0x0===_0x25fdf6||_0x25fdf6(_0x189f6d);}}),_0x6cc2f3;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
import '../../../theme/revision/revisionauthor.css';
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import '../../../theme/revision/revisionauthor.css';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5262=['ck-revision-history-sidebar__revision-author_creator','Revision\x20creator','Revision\x20author','ck-revision-history-sidebar__revision-author__name','set','setTemplate','0\x200\x2011\x2010','name','ck-revision-history-sidebar__revision-author'];(function(_0x11017b,_0x526289){const _0x2c5218=function(_0x14d72b){while(--_0x14d72b){_0x11017b['push'](_0x11017b['shift']());}};_0x2c5218(++_0x526289);}(_0x5262,0xab));const _0x2c52=function(_0x11017b,_0x526289){_0x11017b=_0x11017b-0x0;let _0x2c5218=_0x5262[_0x11017b];return _0x2c5218;};import{View as _0x28426b,IconView as _0xcca2c3}from'ckeditor5/src/ui';import{getTranslation as _0x2620a7}from'../../utils/common-translations';import'../../../theme/revision/revisionauthor.css';import _0x2af904 from'../../../theme/icons/user.svg';export default class ti extends _0x28426b{constructor(_0x2055d0,_0x486673,_0x535485){super(_0x2055d0);const _0x19ba55=new _0xcca2c3();_0x19ba55[_0x2c52('0x4')]({'content':_0x2af904,'viewBox':_0x2c52('0x6')});const _0x25ea98=['ck',_0x2c52('0x8')];_0x535485&&_0x25ea98['push'](_0x2c52('0x0'));const _0x3ca0bf=[{'tag':'span','attributes':{'class':['ck',_0x2c52('0x3')],'title':_0x2620a7(_0x2055d0,_0x535485?_0x2c52('0x1'):_0x2c52('0x2'))},'children':[_0x19ba55,_0x486673[_0x2c52('0x7')]]}];this[_0x2c52('0x5')]({'tag':'li','attributes':{'class':_0x25ea98},'children':_0x3ca0bf});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
import '../../../theme/revision/revisionname.css';
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import '../../../theme/revision/revisionname.css';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4dfd=['set','Revision\x20name','ck-revision-history-sidebar__revision-name','span'];(function(_0x2a1ee5,_0x4dfd9f){var _0x36a360=function(_0x43675e){while(--_0x43675e){_0x2a1ee5['push'](_0x2a1ee5['shift']());}};_0x36a360(++_0x4dfd9f);}(_0x4dfd,0x115));var _0x36a3=function(_0x2a1ee5,_0x4dfd9f){_0x2a1ee5=_0x2a1ee5-0x0;var _0x36a360=_0x4dfd[_0x2a1ee5];return _0x36a360;};import{LabeledFieldView as _0x1d8505}from'ckeditor5/src/ui';import{getTranslation as _0x538d07}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class is extends _0x1d8505{constructor(_0x354d1e,_0x4eeef0){super(_0x354d1e,_0x4eeef0),this[_0x36a3('0x3')]({'label':_0x538d07(_0x354d1e,_0x36a3('0x0'))}),this['extendTemplate']({'tag':_0x36a3('0x2'),'attributes':{'class':[_0x36a3('0x1')]}});}}
|