@ckeditor/ckeditor5-revision-history 34.2.0 → 35.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +127 -0
- package/lang/translations/bg.po +123 -0
- package/lang/translations/bn.po +123 -0
- package/lang/translations/ca.po +123 -0
- package/lang/translations/da.po +25 -25
- package/lang/translations/de.po +3 -3
- package/lang/translations/et.po +25 -25
- package/lang/translations/fi.po +123 -0
- package/lang/translations/fr.po +24 -24
- package/lang/translations/he.po +28 -28
- package/lang/translations/hi.po +25 -25
- package/lang/translations/hu.po +19 -19
- package/lang/translations/id.po +13 -13
- package/lang/translations/ja.po +25 -25
- package/lang/translations/ko.po +24 -24
- package/lang/translations/lt.po +125 -0
- package/lang/translations/ms.po +122 -0
- package/lang/translations/nl.po +3 -3
- package/lang/translations/no.po +25 -25
- package/lang/translations/pl.po +5 -5
- package/lang/translations/pt.po +124 -0
- package/lang/translations/ro.po +6 -6
- package/lang/translations/ru.po +27 -27
- package/lang/translations/sr.po +3 -3
- package/lang/translations/sv.po +123 -0
- package/lang/translations/th.po +122 -0
- package/lang/translations/tr.po +6 -6
- package/lang/translations/uk.po +27 -27
- package/lang/translations/vi.po +25 -25
- package/lang/translations/zh.po +23 -23
- package/package.json +7 -7
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- 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 _0x4270=['ck-suggestion-preview-marker-','_markInsertions','elementToAttribute','_fixObsoleteTags','selection','markerNameToElements','markerToHighlight','_step','merge','newRevisionId','ck-suggestion-marker-split','editing','abs','_update','change:numberOfChanges','clearForceDisabled','downcastDispatcher','writer','getItems','forEach','end','sort','_getViewForChange','conversion','roots','useFillerType','data','bind','shift','from','_setData','_balloon','ck-editor__editable__overlay','low','htmlProcessor','ck-suggestion-marker-','nodeAfter','_cleanMarkers','checkAttribute','addMarker:suggestion:deletion','name','map','change:isEnabled','getRevision','setAttribute','filter','return','clear','isIncorrect','attribute:vid','split','isContent','removeMarker:revision','isCollapsed','error','endIndex','previousPosition','data-revision-','createRange','hasClass','values','markers','unshift','revision:','addRevision','object','isAtStart','vid','_processTape','collaboration.channelId','diffData','createAttributeElement','item','restoreRevision','getCustomProperty','_removeMissingPairs','length','toViewRange','upcast','highest','plugins','distance','backward','dataDowncast','vid_start','showNextChange','isAdded','_threeWayMerge','isLimit','loadRevisionData','push','revision-start','type','isRemoved','deletion','parse','editingDowncast','changes','schema','target','_removeUnsupportedChanges','range','mouseover','data-change-id','offsetSize','listenTo','_makeTape','attributes','unbindElementFromMarkerName','_removeRevisionMarkers','stop','_changeIdToChange','restoreRevisionCallback','elementStart','_makeModelFromViewString','isAfter','bindElementToMarker','pluginName','_markMarkers','isReady','document','isAtEnd','isAddSuggestion','revision-end','insertion','get','getRootNames','startIndex','_markMismatchedRemovedTags','addRevisionData','pairId','_joinTapes','consumable','_getViewObj','_changeView','resolve','children','getWalker','change:isReady','<p></p>','getRevisionData','forward','findIndex','_setConversion','add','currentChangeNumber','_refreshStartEndIndex','revisionHistory','delete','nextPosition','revision','_cleanUp','_findChangeIdFromDomTarget','_makeModelFromTape','element:pre','insertions','getIndex','config','done','getAttribute','string','addClass','toData','text','change:activeView','level','modelRange','requires','isBlock','change','removeMarker:suggestion','for','pop','_initInteractions','POSITIVE_INFINITY','diff','keys','consume','createRangeIn','hasAttribute','elementEnd','createUIElement','addHighlight','revisionHistoryLabel','high','startsWith','_markSuggestions','nextSibling','init','_getChangeFromId','index','revision-viewer','activeView','createPositionBefore','start','ck-suggestion-marker--active','addMarker:suggestion:insertion','stopListening','-new','repository','splice','_appendChild','then','side','marked','compare','destroy','removeMarker','activeChange','deletions','createPositionFromPath','_getRevisionsRange','adapter','remove','showStack','editor','span','mapper','_setDistance','isRemoveSuggestion','vid_end','viewItem','set','ck-suggestion-marker','enqueueChange','removeClass','markerName','_getDiff','isEqual','code','change:isReadOnly','authors','test','concat','view','_data','enableReadOnlyMode','markersStart','dataToMarker','isInline','element','markerRange','toViewElement','oldRevisionId','isNavigationMode','insert','isEnabled','mousedown','_target','observeMarkers','addMarker:revision','userId','suggestion','toModel','next','RevisionViewer','markersEnd','getChild','has','model','isSuggestion','ck-suggestion-marker-merge','refresh','parent','markerToData','slice','getAttributes','_revisions','commands','toViewPosition'];(function(_0x448128,_0x4270e1){const _0x143fff=function(_0x36cb2c){while(--_0x36cb2c){_0x448128['push'](_0x448128['shift']());}};_0x143fff(++_0x4270e1);}(_0x4270,0x184));const _0x143f=function(_0x448128,_0x4270e1){_0x448128=_0x448128-0x0;let _0x143fff=_0x4270[_0x448128];return _0x143fff;};import{Plugin as _0x24c73f,Command as _0x57e198}from'ckeditor5/src/core';import{ObservableMixin as _0x1aefaa,mix as _0x3dc86b,scrollViewportToShowTarget as _0xf073a9}from'ckeditor5/src/utils';import{ContextualBalloon as _0x362e05}from'ckeditor5/src/ui';import{DocumentFragment as _0x4ed0d2,Element as _0x321fa5,Text as _0x53c349,ViewDocumentFragment as _0x19ab2d,ViewText as _0x1a9f01,ViewElement as _0x1630a,ViewContainerElement as _0x323b08,ViewAttributeElement as _0xfb792b,ViewEmptyElement as _0x53d9ea,ViewRawElement as _0xbf0f4f,ViewUIElement as _0x212ac3}from'ckeditor5/src/engine';import{Users as _0x655d5a,getMarkerDomElement as _0x131b2e}from'ckeditor5-collaboration/src/collaboration-core';import _0x220785 from'./ui/revisionviewer/changedetailsview';import _0x130cbc from'./revisionsrepository';import _0x1d3e57 from'./changeitem';import _0x41b7eb from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x323b08,'a':_0xfb792b,'e':_0x53d9ea,'r':_0xbf0f4f,'u':_0x212ac3};export default class R extends _0x24c73f{static get[_0x143f('0x10d')](){return _0x143f('0x89');}static get[_0x143f('0x31')](){return[_0x655d5a,_0x362e05,_0x130cbc];}constructor(..._0x3f0c16){super(..._0x3f0c16),this['repository']=this['editor'][_0x143f('0xe8')][_0x143f('0x7')]('RevisionsRepository'),this['set'](_0x143f('0x5a'),null),this['set'](_0x143f('0x4a'),null),this[_0x143f('0x68')]('diff',null),this['set'](_0x143f('0x1'),!0x1),this[_0x143f('0x68')](_0x143f('0x80'),!0x0),this['on']('change:isEnabled',(_0x18ce37,_0x55fcdf,_0x1351e8)=>{this[_0x143f('0x5a')]=null,this[_0x143f('0x4a')]=null,this[_0x143f('0x61')]['editing'][_0x143f('0x74')][_0x143f('0x33')](_0x2ab081=>{for(const _0x4aea73 of this[_0x143f('0x61')][_0x143f('0xa3')]['view']['document'][_0x143f('0xb0')])_0x1351e8?_0x2ab081[_0x143f('0x6b')](_0x143f('0xb8'),_0x4aea73):_0x2ab081[_0x143f('0x2b')](_0x143f('0xb8'),_0x4aea73);});}),this[_0x143f('0xb3')](_0x143f('0x7e'))['to'](this,_0x143f('0x5a'),_0x53b9e6=>null!==_0x53b9e6),this[_0x143f('0xb3')](_0x143f('0x1b'))['to'](this,'isReady',this,_0x143f('0x39'),this,_0x143f('0x5a'),(_0x55fad0,_0x2dfe17,_0x992e4)=>_0x55fad0&&_0x992e4?_0x2dfe17[_0x143f('0xf9')][_0x143f('0x26')](_0x992e4):0x0),this['bind']('numberOfChanges')['to'](this,_0x143f('0x1'),this,'diff',(_0x466966,_0x456473)=>_0x466966?_0x456473[_0x143f('0xf9')][_0x143f('0xe4')]:0x0),this[_0x143f('0x10')]=null,this[_0x143f('0x107')]=new Map(),this[_0x143f('0x5e')]=null,this[_0x143f('0xb7')]=this['editor'][_0x143f('0xe8')][_0x143f('0x7')](_0x362e05);}[_0x143f('0x46')](){const _0x4830ee=this[_0x143f('0x61')];_0x4830ee[_0x143f('0xb2')][_0x143f('0xba')][_0x143f('0xb1')](_0x143f('0x56'));const _0x26e593=new et(_0x4830ee,{'direction':_0x143f('0xea')}),_0x41968c=new et(_0x4830ee,{'direction':_0x143f('0x17')});_0x4830ee['commands'][_0x143f('0x1a')]('showPreviousChange',_0x26e593),_0x4830ee['commands'][_0x143f('0x1a')](_0x143f('0xed'),_0x41968c),_0x4830ee[_0x143f('0x96')]['add'](_0x143f('0xe1'),new tt(_0x4830ee)),this['on'](_0x143f('0xa6'),()=>{_0x26e593[_0x143f('0x90')](),_0x41968c['refresh']();}),this[_0x143f('0x19')](),this[_0x143f('0x37')](),_0x4830ee[_0x143f('0x76')](_0x143f('0x49'));}async[_0x143f('0x16')](_0x368daa){await this['loadRevisionData'](_0x368daa);const _0x29dfee={};for(const _0xd03a0a in _0x368daa[_0x143f('0xde')]){const _0x5dc447=this['_removeRevisionMarkers'](JSON[_0x143f('0xf7')](_0x368daa[_0x143f('0xde')][_0xd03a0a][_0x143f('0x25')])),_0x1446a6=this[_0x143f('0x61')][_0x143f('0xa3')][_0x143f('0x74')][_0x143f('0x2')],_0x36ab18=new _0x19ab2d(_0x1446a6,_0x5dc447['map'](_0x5aa81f=>this[_0x143f('0xf')](_0x5aa81f)));_0x29dfee[_0xd03a0a]=this[_0x143f('0x61')][_0x143f('0xb2')]['processor'][_0x143f('0x2c')](_0x36ab18);}return _0x29dfee;}[_0x143f('0x105')](_0x3f9e13){return(_0x3f9e13=_0x3f9e13[_0x143f('0xc5')](_0x150974=>!_0x150974[_0x143f('0xc0')]||_0x143f('0xf3')!==_0x150974[_0x143f('0xc0')]&&_0x143f('0x5')!==_0x150974[_0x143f('0xc0')]))[_0x143f('0xab')](_0x42cdeb=>{_0x143f('0x2a')!=typeof _0x42cdeb&&(_0x42cdeb['children']=this['_removeRevisionMarkers'](_0x42cdeb[_0x143f('0x12')]),_0x42cdeb[_0x143f('0x103')]=_0x42cdeb['attributes'][_0x143f('0xc5')](_0x2bbdb1=>!_0x2bbdb1[0x0][_0x143f('0x43')](_0x143f('0xd1'))));}),_0x3f9e13;}[_0x143f('0x57')](_0x5549fe,_0x217ee6,_0x106e38=!0x1){if(!this[_0x143f('0x80')])return;const _0x1cb974=this['diff'],_0x23cec5=this['repository'],_0x25fad9=_0x143f('0x2a')==typeof _0x5549fe?_0x23cec5['getRevision'](_0x5549fe):_0x5549fe,_0x284f78='string'==typeof _0x217ee6?_0x23cec5[_0x143f('0xc3')](_0x217ee6):_0x217ee6,_0xefeb33=_0x25fad9['id'],_0x397ff2=_0x284f78?_0x284f78['id']:null;if(!_0x106e38&&this[_0x143f('0x39')]&&this[_0x143f('0x39')][_0x143f('0xa1')]===_0xefeb33&&this[_0x143f('0x39')][_0x143f('0x7d')]===_0x397ff2)return Promise[_0x143f('0x11')]();this[_0x143f('0x1')]=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x41b7eb(_0xefeb33,_0x397ff2);const _0x4a1bb8=this[_0x143f('0x5d')](_0x25fad9,_0x284f78,!0x0)[_0x143f('0xc1')](_0x1793a0=>this[_0x143f('0xf1')](_0x1793a0));return _0x4a1bb8[_0x143f('0xf2')](new Promise(_0x47e0c0=>{setTimeout(_0x47e0c0,0x14);})),Promise['all'](_0x4a1bb8)[_0x143f('0x54')](()=>{if(!this['isEnabled'])return;this[_0x143f('0x21')]();const _0x51b85d=this[_0x143f('0x6d')](_0xefeb33,_0x397ff2);this[_0x143f('0x39')][_0x143f('0xb6')](_0x51b85d);for(const _0x12051b of this[_0x143f('0x39')][_0x143f('0xf9')])this[_0x143f('0x107')]['set'](_0x12051b['id'],_0x12051b);this[_0x143f('0x61')]['model'][_0x143f('0x6a')]({'isUndoable':!0x1},_0xec6aba=>{for(const _0x2c5ea9 of Object['keys'](_0x51b85d[_0x143f('0x8d')])){const _0xaa2320=this[_0x143f('0x61')][_0x143f('0x8d')][_0x143f('0x2')]['getRoot'](_0x2c5ea9);_0xec6aba[_0x143f('0x5f')](_0xec6aba[_0x143f('0x3c')](_0xaa2320)),_0xec6aba[_0x143f('0x7f')](_0x51b85d[_0x143f('0x8d')][_0x2c5ea9],_0xaa2320,0x0);}}),this[_0x143f('0x1')]=!0x0;})['catch'](_0x3cd3bc=>{console[_0x143f('0xce')](_0x3cd3bc),this['_cleanUp'](),_0x1cb974?this['diff']=_0x1cb974:this['editor']['setData'](_0x143f('0x15')),this['isReady']=!0x0;});}[_0x143f('0x58')](){this[_0x143f('0x4a')]=null,this[_0x143f('0x10')]&&this[_0x143f('0x10')][_0x143f('0x58')]();}[_0x143f('0xb')](_0x58dcca,_0x58cab8){const _0x482ba4=this[_0x143f('0x51')]['createRevision'](_0x58dcca);return _0x482ba4['on']('_update',(_0x107ea0,_0x22d652,_0x4ef28a)=>_0x58cab8(_0x22d652,_0x4ef28a,_0x482ba4)),this['repository'][_0x143f('0xd8')](_0x482ba4),_0x482ba4;}[_0x143f('0xf1')](_0x5d9ed9){if(!_0x5d9ed9||_0x5d9ed9[_0x143f('0xde')])return Promise[_0x143f('0x11')]();{const _0x247f68=this[_0x143f('0x61')][_0x143f('0x27')][_0x143f('0x7')](_0x143f('0xdd'));return this['adapter'][_0x143f('0xc3')]({'channelId':_0x247f68,'revisionId':_0x5d9ed9['id']})[_0x143f('0x54')](_0x55d7b5=>{_0x5d9ed9[_0x143f('0xa5')]({'diffData':_0x55d7b5[_0x143f('0xde')]},!0x0);});}}['_cleanUp'](){this[_0x143f('0x5a')]=null,this[_0x143f('0xbd')](),this[_0x143f('0x10')]&&this[_0x143f('0x10')][_0x143f('0x58')](),this['_changeView']=null,this[_0x143f('0x107')][_0x143f('0xc7')]();}[_0x143f('0x102')](_0x363bc4){const _0x4c31e8=Array['from'](_0x363bc4['markers'])[_0x143f('0xc5')](([_0x8cc438,_0x6b313d])=>_0x8cc438[_0x143f('0x43')](_0x143f('0xd7'))&&!_0x6b313d['isCollapsed']),_0x1f6aaa=Array[_0x143f('0xb5')](this[_0x143f('0x61')][_0x143f('0x8d')]['createRangeIn'](_0x363bc4)[_0x143f('0x13')]({'singleCharacters':!0x0}));if(0x0!=_0x4c31e8[_0x143f('0xe4')])for(const _0x36b2fd of _0x1f6aaa){const [_0x11aa9e,_0x55c89e]=_0x4c31e8[0x0],[,_0x4a4535,_0x31d587]=_0x11aa9e[_0x143f('0xca')](':');if(_0x55c89e[_0x143f('0xac')]['isEqual'](_0x36b2fd['nextPosition'])&&_0x4c31e8[_0x143f('0xb4')](),(_0x36b2fd[_0x143f('0xd0')][_0x143f('0x6e')](_0x55c89e[_0x143f('0x4c')])||_0x36b2fd[_0x143f('0xd0')][_0x143f('0x10b')](_0x55c89e['start']))&&(_0x143f('0x6')==_0x4a4535?_0x36b2fd[_0x143f('0xee')]={'userId':_0x31d587}:_0x143f('0xf6')==_0x4a4535&&(_0x36b2fd[_0x143f('0xf5')]={'userId':_0x31d587})),0x0==_0x4c31e8[_0x143f('0xe4')])break;}return _0x1f6aaa;}[_0x143f('0x1c')](_0x4c0d75){const _0x2066a5=new Map();for(let _0x345bf3=0x0;_0x345bf3<_0x4c0d75[_0x143f('0xe4')];_0x345bf3++)_0x143f('0x2d')===_0x4c0d75[_0x345bf3]['type']?(_0x4c0d75[_0x345bf3][_0x143f('0xe0')][_0x143f('0x9')]=_0x345bf3,_0x4c0d75[_0x345bf3][_0x143f('0xe0')][_0x143f('0xcf')]=_0x345bf3):(_0x143f('0x109')===_0x4c0d75[_0x345bf3]['type']?_0x4c0d75[_0x345bf3][_0x143f('0xe0')][_0x143f('0x9')]=_0x345bf3:'elementEnd'===_0x4c0d75[_0x345bf3][_0x143f('0xf4')]&&(_0x4c0d75[_0x345bf3][_0x143f('0xe0')]['endIndex']=_0x345bf3),_0x2066a5[_0x143f('0x68')](_0x4c0d75[_0x345bf3]['id'],_0x345bf3));for(const _0x81a481 of _0x2066a5[_0x143f('0xd4')]())_0x143f('0x109')===_0x4c0d75[_0x81a481][_0x143f('0xf4')]?_0x4c0d75[_0x81a481][_0x143f('0xe0')][_0x143f('0xcf')]=_0x2066a5[_0x143f('0x7')](_0x4c0d75[_0x81a481][_0x143f('0xc')]):'elementEnd'===_0x4c0d75[_0x81a481][_0x143f('0xf4')]&&(_0x4c0d75[_0x81a481][_0x143f('0xe0')][_0x143f('0x9')]=_0x2066a5[_0x143f('0x7')](_0x4c0d75[_0x81a481][_0x143f('0xc')]));}[_0x143f('0xdc')](_0x34c32d){for(let _0x4ec7a1=0x0;_0x4ec7a1<_0x34c32d[_0x143f('0xe4')];_0x4ec7a1++){if(_0x143f('0x109')===_0x34c32d[_0x4ec7a1][_0x143f('0xf4')])_0x34c32d[_0x4ec7a1]['item'][_0x143f('0x9')]=_0x4ec7a1;else{if(_0x143f('0x3e')===_0x34c32d[_0x4ec7a1][_0x143f('0xf4')]){_0x34c32d[_0x4ec7a1][_0x143f('0xe0')]['endIndex']=_0x4ec7a1;const _0x17b288=_0x34c32d[_0x4ec7a1][_0x143f('0xe0')][_0x143f('0x9')];_0x34c32d[_0x17b288][_0x143f('0xc')]=_0x34c32d[_0x4ec7a1]['id'],_0x34c32d[_0x4ec7a1][_0x143f('0xc')]=_0x34c32d[_0x17b288]['id'];}else _0x34c32d[_0x4ec7a1][_0x143f('0xe0')]['startIndex']=_0x4ec7a1,_0x34c32d[_0x4ec7a1][_0x143f('0xe0')][_0x143f('0xcf')]=_0x4ec7a1,_0x34c32d[_0x4ec7a1][_0x143f('0xc')]=null;}_0x34c32d[_0x4ec7a1][_0x143f('0x77')]||(_0x34c32d[_0x4ec7a1][_0x143f('0x77')]=[],_0x34c32d[_0x4ec7a1][_0x143f('0x8a')]=[]);}}[_0x143f('0x99')](_0x1432f5,_0x2eb6e9){const _0x353486=_0x1432f5[_0x143f('0xc5')](_0x409aff=>!_0x409aff[_0x143f('0xee')]);for(let _0x2c10e0=0x0;_0x2c10e0<_0x2eb6e9[_0x143f('0xe4')];_0x2c10e0++)_0x2eb6e9[_0x2c10e0]['isAdded']&&(_0x353486[_0x2c10e0][_0x143f('0xee')]=_0x2eb6e9[_0x2c10e0]['isAdded']);}['_makeModelFromViewString'](_0x264b5d){const _0x160da3=JSON[_0x143f('0xf7')](_0x264b5d),_0x2f81f7=this[_0x143f('0x61')][_0x143f('0xa3')]['view'][_0x143f('0x2')],_0x3b1576=new _0x19ab2d(_0x2f81f7,_0x160da3[_0x143f('0xc1')](_0x413130=>this[_0x143f('0xf')](_0x413130)));return this[_0x143f('0x61')][_0x143f('0xb2')][_0x143f('0x87')](_0x3b1576);}[_0x143f('0xf')](_0x6d2f58){const _0x42ffcc=this['editor'][_0x143f('0xa3')][_0x143f('0x74')][_0x143f('0x2')];if(_0x143f('0x2a')==typeof _0x6d2f58)return new _0x1a9f01(_0x42ffcc,_0x6d2f58);{const _0x36e576=_0x6d2f58['children'][_0x143f('0xc1')](_0x424de7=>this[_0x143f('0xf')](_0x424de7));return new(Y[_0x6d2f58['type']]||_0x1630a)(_0x42ffcc,_0x6d2f58['name'],_0x6d2f58['attributes'],_0x36e576);}}[_0x143f('0x6d')](_0x2dbbd4,_0x3eaee4=null){const _0x59c88f=this['repository']['getRevision'](_0x2dbbd4),_0x330b7c=_0x3eaee4?this[_0x143f('0x51')]['getRevision'](_0x3eaee4):null,_0x2cd5db=this[_0x143f('0x5d')](_0x59c88f,_0x330b7c),_0x2b4e0f=_0x2cd5db[_0x2cd5db[_0x143f('0xe4')]-0x1],_0x4b4a85=new Map();for(const _0x541db4 of _0x2cd5db){_0x541db4[_0x143f('0x8d')]={};for(const _0x15defe of _0x541db4[_0x143f('0x71')])_0x4b4a85[_0x143f('0x68')](_0x15defe['id'],_0x15defe);for(const _0xdbc208 of this[_0x143f('0x61')][_0x143f('0x8d')][_0x143f('0x2')][_0x143f('0x8')]())_0x541db4[_0x143f('0xde')][_0xdbc208]||(_0x541db4[_0x143f('0xde')][_0xdbc208]={'insertions':'[]','deletions':'[]'}),_0x541db4[_0x143f('0x8d')][_0xdbc208]={'insertions':this[_0x143f('0x10a')](_0x541db4[_0x143f('0xde')][_0xdbc208][_0x143f('0x25')]),'deletions':this[_0x143f('0x10a')](_0x541db4['diffData'][_0xdbc208][_0x143f('0x5b')])};}const _0x37847c={'model':{},'changes':[]};for(const _0x38fc7a of this[_0x143f('0x61')]['model'][_0x143f('0x2')][_0x143f('0x8')]()){let _0x2a0c62=null,_0x47aa93=0x0;const _0x72a47d=new Map(Array[_0x143f('0xb5')](_0x59c88f[_0x143f('0x8d')][_0x38fc7a][_0x143f('0x25')][_0x143f('0xd5')])[_0x143f('0xc5')](([_0x3e500f])=>!_0x3e500f[_0x143f('0x43')](_0x143f('0xd7'))));let _0x42165f=0x0;for(const _0x4449a2 of _0x2cd5db){const _0x5b383e=this[_0x143f('0x102')](_0x4449a2[_0x143f('0x8d')][_0x38fc7a][_0x143f('0x25')]);_0x4449a2==_0x59c88f?(_0x2a0c62=_0x5b383e,_0x47aa93=_0x2a0c62[_0x143f('0xe4')],_0x2a0c62[_0x143f('0xab')](_0x571b67=>{_0x571b67['id']=_0x42165f++;}),this[_0x143f('0xdc')](_0x2a0c62)):this['_markInsertions'](_0x2a0c62,_0x5b383e);const _0x2f14e6=_0x2a0c62[_0x143f('0xc5')](_0x3d7fb5=>!_0x3d7fb5[_0x143f('0xee')])['map'](_0x572e77=>_0x572e77['id']);let _0x2c9297=0x0;const _0x2c7047=this[_0x143f('0x102')](_0x4449a2['model'][_0x38fc7a][_0x143f('0x5b')]);_0x2c7047[_0x143f('0xab')](_0x9277d7=>{_0x9277d7['isRemoved']?_0x9277d7['id']=_0x47aa93++:_0x9277d7['id']=_0x2f14e6[_0x2c9297++];}),this[_0x143f('0xdc')](_0x2c7047),this['_setDistance'](_0x2a0c62,_0x143f('0xee')),this['_setDistance'](_0x2c7047,'isRemoved'),_0x4449a2==_0x59c88f&&this[_0x143f('0x0')](_0x2a0c62,_0x72a47d),_0x2a0c62=this[_0x143f('0xd')](_0x2a0c62,_0x2c7047),this[_0x143f('0x1c')](_0x2a0c62),this[_0x143f('0x64')](_0x2a0c62,_0x143f('0xf5'));}_0x2a0c62=_0x2a0c62[_0x143f('0xc5')](_0x4d3a47=>!(_0x4d3a47[_0x143f('0xee')]&&_0x4d3a47[_0x143f('0xf5')]));const _0x3ded57=new Map(_0x2b4e0f[_0x143f('0x8d')][_0x38fc7a][_0x143f('0x5b')][_0x143f('0xd5')]),_0x252800=new Set(_0x72a47d[_0x143f('0x3a')]());for(const _0x10929a of _0x3ded57['keys']())_0x252800[_0x143f('0x1e')](_0x10929a);this[_0x143f('0x44')](_0x2a0c62,_0x252800),this[_0x143f('0x9b')](_0x2a0c62),_0x2a0c62=this[_0x143f('0xe3')](_0x2a0c62),_0x2a0c62=this[_0x143f('0xa')](_0x2a0c62),_0x2a0c62=this[_0x143f('0xfc')](_0x2a0c62);const {root:_0x4aac77,changes:_0x1fe66a}=this[_0x143f('0x23')](_0x2a0c62,_0x4b4a85);_0x37847c['model'][_0x38fc7a]=_0x4aac77,_0x37847c[_0x143f('0xf9')]=_0x37847c['changes']['concat'](_0x1fe66a);}return _0x37847c;}[_0x143f('0x0')](_0x5c5b5f,_0x559d36){for(let _0x112f51=0x0;_0x112f51<_0x5c5b5f[_0x143f('0xe4')];_0x112f51++)for(const [_0x513674,_0x280cf0]of _0x559d36)_0x280cf0[_0x143f('0x4c')][_0x143f('0x6e')](_0x5c5b5f[_0x112f51][_0x143f('0xd0')])&&_0x5c5b5f[_0x112f51][_0x143f('0x77')][_0x143f('0xf2')](_0x513674),_0x280cf0['end'][_0x143f('0x6e')](_0x5c5b5f[_0x112f51][_0x143f('0x1f')])&&_0x5c5b5f[_0x112f51][_0x143f('0x8a')][_0x143f('0xf2')](_0x513674);}['_joinTapes'](_0x129520,_0xd439cb){let _0x564ee7=[],_0x2d3aaa=0x0,_0x20ed3d=0x0;for(;_0x2d3aaa<_0x129520[_0x143f('0xe4')]||_0x20ed3d<_0xd439cb[_0x143f('0xe4')];){const _0x3b91cd=_0x129520[_0x2d3aaa]||{},_0x11e503=_0xd439cb[_0x20ed3d]||{};if(_0x3b91cd['id']==_0x11e503['id'])_0x2d3aaa++,_0x20ed3d++,_0x564ee7[_0x143f('0xf2')](_0x3b91cd);else{if(_0x11e503['isRemoved']&&_0x3b91cd[_0x143f('0xee')]){const {commonTape:_0x7cf85d,iEnd:_0x277461,jEnd:_0x284b54}=this[_0x143f('0xef')](_0x129520,_0x2d3aaa,_0xd439cb,_0x20ed3d);_0x564ee7=_0x564ee7[_0x143f('0x73')](_0x7cf85d),_0x2d3aaa=_0x277461,_0x20ed3d=_0x284b54;}else _0x11e503[_0x143f('0xf5')]?(_0x20ed3d++,_0x564ee7[_0x143f('0xf2')](_0x11e503)):(_0x2d3aaa++,_0x564ee7[_0x143f('0xf2')](_0x3b91cd));}}return _0x564ee7;}[_0x143f('0x44')](_0x31bffc,_0x3b7dbb){const _0x21efa2=[];for(let _0x793ba0=0x0;_0x793ba0<_0x31bffc[_0x143f('0xe4')];_0x793ba0++){for(let _0x27d30e=0x0;_0x27d30e<_0x31bffc[_0x793ba0][_0x143f('0x77')][_0x143f('0xe4')];_0x27d30e++){const _0x378e44=_0x31bffc[_0x793ba0][_0x143f('0x77')][_0x27d30e];if(!_0x3b7dbb['has'](_0x378e44))continue;const {group:_0x4f475c,type:_0x176533,authorId:_0x1d4731}=_0x33823b(_0x378e44);_0x143f('0x86')!=_0x4f475c||_0x143f('0x6')!=_0x176533&&_0x143f('0xf6')!=_0x176533||(_0x21efa2[_0x143f('0xd6')]({'type':_0x176533,'name':_0x378e44,'userId':_0x1d4731}),_0x31bffc[_0x793ba0][_0x143f('0x77')]['splice'](_0x27d30e,0x1),_0x27d30e--);}_0x4d3054(_0x31bffc[_0x793ba0]);for(let _0x185580=0x0;_0x185580<_0x31bffc[_0x793ba0][_0x143f('0x8a')][_0x143f('0xe4')];_0x185580++){const _0x307123=_0x31bffc[_0x793ba0]['markersEnd'][_0x185580];if(!_0x3b7dbb[_0x143f('0x8c')](_0x307123))continue;const {group:_0x240c72,type:_0x3b256d}=_0x33823b(_0x307123);if(_0x143f('0x86')!=_0x240c72||_0x143f('0x6')!=_0x3b256d&&'deletion'!=_0x3b256d)continue;_0x31bffc[_0x793ba0]['markersEnd'][_0x143f('0x52')](_0x185580,0x1),_0x185580--;const _0x21c2f8=_0x21efa2[_0x143f('0x18')](_0x5a6d6a=>_0x5a6d6a[_0x143f('0xc0')]==_0x307123);_0x21c2f8>-0x1&&_0x21efa2[_0x143f('0x52')](_0x21c2f8,0x1);}}function _0x33823b(_0x149d81){const _0x3e00bf=_0x149d81[_0x143f('0xca')](':');return{'group':_0x3e00bf[0x0],'type':_0x3e00bf[0x1],'subType':_0x3e00bf[_0x143f('0xe4')]>=0x5?_0x3e00bf[0x2]:null,'id':_0x3e00bf[_0x143f('0xe4')]<0x5?_0x3e00bf[0x2]:_0x3e00bf[0x3],'authorId':_0x3e00bf[_0x143f('0xe4')]<0x5?_0x3e00bf[0x3]:_0x3e00bf[0x4],'markerCount':0x6==_0x3e00bf[_0x143f('0xe4')]?_0x3e00bf[0x5]:null};}function _0x4d3054(_0x281522){for(let _0x2e5eae=0x0;_0x2e5eae<_0x21efa2[_0x143f('0xe4')];_0x2e5eae++){if(_0x281522[_0x143f('0xee')]&&'insertion'==_0x21efa2[_0x2e5eae]['type'])return _0x281522[_0x143f('0x4')]=_0x21efa2[_0x2e5eae],void delete _0x281522[_0x143f('0xee')];if(!_0x281522['isAdded']&&!_0x281522['isRemoved']&&'deletion'==_0x21efa2[_0x2e5eae][_0x143f('0xf4')])return void(_0x281522[_0x143f('0x65')]=_0x21efa2[_0x2e5eae]);}}}[_0x143f('0x64')](_0x2951b3,_0x3bb96b){let _0x4c46ea=0x0,_0x1ae34a=!0x1;const _0x1c192f=new Map();for(const _0x240696 of _0x2951b3)_0x240696[_0x3bb96b]?_0x1ae34a&&(_0x4c46ea++,_0x1ae34a=!0x1):(_0x4c46ea++,_0x1ae34a=!0x0),_0x1c192f[_0x143f('0x68')](_0x240696['id'],_0x4c46ea);for(let _0x840265=0x0;_0x840265<_0x2951b3['length'];_0x840265++){if(_0x143f('0xf5')==_0x3bb96b&&_0x2951b3[_0x840265]['isAdded']||_0x143f('0xee')==_0x3bb96b&&_0x2951b3[_0x840265][_0x143f('0xf5')])continue;if(_0x143f('0x2d')==_0x2951b3[_0x840265]['type']){_0x2951b3[_0x840265][_0x143f('0xe9')]=0x0;continue;}const _0x5699ec=_0x1c192f[_0x143f('0x7')](_0x2951b3[_0x840265][_0x143f('0xc')]),_0x5324e0=_0x1c192f[_0x143f('0x7')](_0x2951b3[_0x840265]['id']);_0x2951b3[_0x840265][_0x143f('0xe9')]=_0x5699ec-_0x5324e0;}}[_0x143f('0x5d')](_0xb9dda0,_0x4c6510,_0x4fcab9=!0x1){const _0x5ac9d6=[];let _0x3b8827=this[_0x143f('0x51')][_0x143f('0x26')](_0xb9dda0),_0x2cff60=this['repository'][_0x143f('0x26')](_0x4c6510);for(-0x1==_0x2cff60&&(_0x2cff60=this['repository'][_0x143f('0x95')][_0x143f('0xe4')],_0x4fcab9=!0x1);_0x3b8827<_0x2cff60;)_0x5ac9d6[_0x143f('0xf2')](this[_0x143f('0x51')][_0x143f('0xc3')](_0x3b8827)),_0x3b8827++;return _0x4fcab9&&_0x5ac9d6['push'](this[_0x143f('0x51')]['getRevision'](_0x3b8827)),_0x5ac9d6;}[_0x143f('0xef')](_0x296e39,_0x40d82c,_0x53c33f,_0x3c9a1c){const _0x596486=this[_0x143f('0x61')][_0x143f('0x8d')][_0x143f('0xfa')];let _0x1e54ee=_0x40d82c;for(;_0x296e39[_0x1e54ee]&&_0x296e39[_0x1e54ee][_0x143f('0xee')];)_0x1e54ee++;let _0x16599a=_0x3c9a1c;for(;_0x53c33f[_0x16599a]&&_0x53c33f[_0x16599a][_0x143f('0xf5')];)_0x16599a++;_0x2b3d69(_0x296e39,_0x40d82c,_0x1e54ee),_0x2b3d69(_0x53c33f,_0x3c9a1c,_0x16599a);const _0x1c911c=_0x53c33f['slice'](_0x3c9a1c,_0x16599a)[_0x143f('0x73')](_0x296e39[_0x143f('0x93')](_0x40d82c,_0x1e54ee));return _0x1c911c[_0x143f('0xad')]((_0x583d8f,_0x2a53b3)=>_0x583d8f[_0x143f('0x55')]!=_0x2a53b3[_0x143f('0x55')]?_0x583d8f['side']-_0x2a53b3[_0x143f('0x55')]:_0x583d8f[_0x143f('0x2f')]!=_0x2a53b3[_0x143f('0x2f')]?_0x583d8f[_0x143f('0x2f')]-_0x2a53b3[_0x143f('0x2f')]:_0x583d8f[_0x143f('0xe9')]!=_0x2a53b3['distance']?_0x2a53b3[_0x143f('0xe9')]-_0x583d8f['distance']:!!_0x583d8f[_0x143f('0xee')]!=!!_0x2a53b3[_0x143f('0xee')]?-0x1==_0x583d8f['side']||0x0==_0x583d8f['side']?_0x583d8f[_0x143f('0xee')]?-0x1:0x1:_0x583d8f[_0x143f('0xee')]?0x1:-0x1:_0x583d8f['index']-_0x2a53b3[_0x143f('0x48')]),{'commonTape':_0x1c911c,'iEnd':_0x1e54ee,'jEnd':_0x16599a};function _0x2b3d69(_0x2cb50e,_0x40f358,_0x4f79dd){let _0x58bdef=-0x1,_0x24226b=Number[_0x143f('0x38')],_0x5a1e58=!0x0;for(let _0x473ee4=_0x40f358;_0x473ee4<_0x4f79dd;_0x473ee4++)if(_0x596486[_0x143f('0x79')](_0x2cb50e[_0x473ee4][_0x143f('0xe0')])||(_0x5a1e58=!0x1),_0x2cb50e[_0x473ee4][_0x143f('0xe0')][_0x143f('0x9')]<_0x40f358&&(_0x58bdef=_0x473ee4),_0x2cb50e[_0x473ee4]['item'][_0x143f('0xcf')]>=_0x4f79dd){_0x24226b=_0x473ee4;break;}_0x5a1e58&&(_0x58bdef=_0x4f79dd-0x1);for(let _0x114dcf=_0x40f358;_0x114dcf<_0x4f79dd;_0x114dcf++)_0x2cb50e[_0x114dcf][_0x143f('0x55')]=_0x114dcf<=_0x58bdef?-0x1:_0x114dcf<_0x24226b?0x0:0x1,_0x2cb50e[_0x114dcf][_0x143f('0x48')]=_0x114dcf;let _0x45fd2c=0x0;for(let _0x575424=_0x40f358;_0x575424<=_0x58bdef;_0x575424++)0x0==_0x2cb50e[_0x575424][_0x143f('0xe9')]?_0x2cb50e[_0x575424][_0x143f('0x2f')]=_0x45fd2c:(_0x45fd2c++,_0x2cb50e[_0x575424]['level']=_0x45fd2c,_0x45fd2c++);for(let _0x1886ce=_0x40f358;_0x1886ce<_0x4f79dd;_0x1886ce++)0x0==_0x2cb50e[_0x1886ce]['side']&&(_0x2cb50e[_0x1886ce][_0x143f('0x2f')]=_0x45fd2c);_0x45fd2c=0x0;for(let _0x367ec2=_0x4f79dd-0x1;_0x367ec2>=_0x24226b;_0x367ec2--)0x0==_0x2cb50e[_0x367ec2]['distance']?_0x2cb50e[_0x367ec2][_0x143f('0x2f')]=_0x45fd2c:(_0x45fd2c--,_0x2cb50e[_0x367ec2][_0x143f('0x2f')]=_0x45fd2c,_0x45fd2c--);}}[_0x143f('0x9b')](_0x5ad8f3){const _0x3c4e4a=new Map(),_0x220179=this[_0x143f('0x61')]['model'][_0x143f('0xfa')];for(let _0x10451a=0x1;_0x10451a<_0x5ad8f3[_0x143f('0xe4')];_0x10451a++){let _0x4ebcbe,_0x4bf5df,_0x524abf;const _0x14e9ae=_0x5ad8f3[_0x10451a],_0x214a60=_0x5ad8f3[_0x10451a-0x1];if(_0x143f('0x2d')==_0x14e9ae['type'])continue;if(_0x14e9ae['type']!=_0x214a60[_0x143f('0xf4')])continue;if(!_0x220179[_0x143f('0x32')](_0x214a60[_0x143f('0xe0')])||_0x220179[_0x143f('0xf0')](_0x214a60[_0x143f('0xe0')]))continue;if(!_0x220179[_0x143f('0x32')](_0x14e9ae[_0x143f('0xe0')])||_0x220179['isLimit'](_0x14e9ae['item']))continue;if((_0x5ad8f3[_0x10451a][_0x143f('0xee')]||_0x5ad8f3[_0x10451a]['isAddSuggestion'])&&_0x5ad8f3[_0x10451a-0x1][_0x143f('0xf5')])_0x4ebcbe=_0x5ad8f3[_0x10451a],_0x4bf5df=_0x5ad8f3[_0x10451a-0x1],_0x524abf=_0x10451a-0x1;else{if(!_0x5ad8f3[_0x10451a]['isRemoved']||!_0x5ad8f3[_0x10451a-0x1]['isAdded']&&!_0x5ad8f3[_0x10451a-0x1]['isAddSuggestion'])continue;_0x4ebcbe=_0x5ad8f3[_0x10451a-0x1],_0x4bf5df=_0x5ad8f3[_0x10451a],_0x524abf=_0x10451a;}const _0x2cf04b=_0x4ebcbe['level']==_0x4bf5df[_0x143f('0x2f')],_0x2cc9c8=Math[_0x143f('0xa4')](_0x4ebcbe[_0x143f('0x2f')])<Math[_0x143f('0xa4')](_0x4bf5df[_0x143f('0x2f')])&&0x0==_0x4bf5df['distance'];(_0x2cf04b||_0x2cc9c8)&&(_0x3c4e4a[_0x143f('0x68')](_0x4bf5df['id'],_0x4ebcbe['id']),_0x5ad8f3[_0x143f('0x52')](_0x524abf,0x1),_0x10451a--,_0x4ebcbe[_0x143f('0xee')]=!0x1);}for(let _0x1020ba=0x0;_0x1020ba<_0x5ad8f3[_0x143f('0xe4')];_0x1020ba++)_0x3c4e4a['has'](_0x5ad8f3[_0x1020ba]['pairId'])&&(_0x5ad8f3[_0x1020ba][_0x143f('0xc')]=_0x3c4e4a[_0x143f('0x7')](_0x5ad8f3[_0x1020ba][_0x143f('0xc')]));}['_removeMissingPairs'](_0x2ccbd2){const _0x1b29e2=new Set(_0x2ccbd2[_0x143f('0xc1')](_0x236cdf=>_0x236cdf['id']));for(let _0x21fbd8=0x0;_0x21fbd8<_0x2ccbd2[_0x143f('0xe4')];_0x21fbd8++)_0x1b29e2[_0x143f('0x8c')](_0x2ccbd2[_0x21fbd8][_0x143f('0xc')])||0x0==_0x2ccbd2[_0x21fbd8][_0x143f('0xe9')]||(_0x2ccbd2[_0x21fbd8]['isIncorrect']=!0x0);return _0x2ccbd2[_0x143f('0xc5')](_0x4c26c5=>!_0x4c26c5[_0x143f('0xc8')]);}[_0x143f('0xa')](_0x117fbd){const _0x479b49=new Set();for(let _0x337afb=0x0;_0x337afb<_0x117fbd[_0x143f('0xe4')];_0x337afb++){if(_0x479b49[_0x143f('0x8c')](_0x117fbd[_0x337afb]['id'])&&_0x117fbd[_0x337afb]['isRemoved']&&(_0x117fbd[_0x337afb][_0x143f('0xc8')]=!0x0),_0x117fbd[_0x337afb][_0x143f('0xc8')])continue;if(0x0==_0x117fbd[_0x337afb]['distance'])continue;if('elementStart'!=_0x117fbd[_0x337afb][_0x143f('0xf4')])continue;if(null==_0x117fbd[_0x337afb][_0x143f('0xc')])continue;let _0x59b5e6=_0x337afb+0x1,_0x294a0a=0x0;for(;_0x117fbd[_0x59b5e6]['id']!=_0x117fbd[_0x337afb][_0x143f('0xc')];)_0x143f('0x109')==_0x117fbd[_0x59b5e6]['type']?_0x294a0a++:_0x143f('0x3e')==_0x117fbd[_0x59b5e6][_0x143f('0xf4')]&&_0x294a0a--,_0x59b5e6++;if(0x0!=_0x294a0a){if(_0x117fbd[_0x337afb][_0x143f('0xf5')])_0x117fbd[_0x337afb][_0x143f('0xc8')]=!0x0;else for(;_0x59b5e6!=_0x337afb;)_0x117fbd[_0x59b5e6][_0x143f('0xf5')]&&0x0!=_0x117fbd[_0x59b5e6][_0x143f('0xe9')]&&(_0x117fbd[_0x59b5e6][_0x143f('0xc8')]=!0x0,_0x479b49[_0x143f('0x1a')](_0x117fbd[_0x59b5e6][_0x143f('0xc')])),_0x59b5e6--;}}return _0x117fbd[_0x143f('0xc5')](_0xda37a0=>!_0xda37a0[_0x143f('0xc8')]);}[_0x143f('0xfc')](_0x505dd0){const _0x80ee76=this[_0x143f('0x61')][_0x143f('0x8d')][_0x143f('0xfa')];for(let _0x18fdaf=0x0;_0x18fdaf<_0x505dd0['length'];_0x18fdaf++){if(!(_0x505dd0[_0x18fdaf][_0x143f('0xee')]||_0x505dd0[_0x18fdaf][_0x143f('0x4')]||_0x505dd0[_0x18fdaf][_0x143f('0xf5')]||_0x505dd0[_0x18fdaf][_0x143f('0x65')]))continue;if(0x0==_0x505dd0[_0x18fdaf][_0x143f('0xe9')])continue;const _0x2a885a=_0x505dd0[_0x18fdaf][_0x143f('0xe0')];_0x80ee76['isBlock'](_0x2a885a)||_0x80ee76[_0x143f('0xf0')](_0x2a885a)||(_0x505dd0[_0x18fdaf][_0x143f('0xee')]&&delete _0x505dd0[_0x18fdaf][_0x143f('0xee')],_0x505dd0[_0x18fdaf][_0x143f('0x4')]&&delete _0x505dd0[_0x18fdaf][_0x143f('0x4')],_0x505dd0[_0x18fdaf]['isRemoveSuggestion']&&delete _0x505dd0[_0x18fdaf]['isRemoveSuggestion'],_0x505dd0[_0x18fdaf][_0x143f('0xf5')]&&(_0x505dd0[_0x18fdaf][_0x143f('0xc8')]=!0x0));}return _0x505dd0[_0x143f('0xc5')](_0x2c5fe4=>!_0x2c5fe4[_0x143f('0xc8')]);}[_0x143f('0x23')](_0x2169e5,_0x258978){const _0x490af7=new _0x4ed0d2(),_0xb9a78f=[],_0x59ce76=new Map(),_0x3d35e4=this[_0x143f('0x61')][_0x143f('0x8d')],_0x1ef2f6=_0x3d35e4[_0x143f('0xfa')],_0x45bcb8=[_0x490af7],_0x9f124d={},_0x1429ef={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x234fa1=null;const _0x490612=[0x0];for(let _0x2f08a8=0x0;_0x2f08a8<_0x2169e5['length'];_0x2f08a8++){let _0xcd23cd,_0x31ef20;if(_0x143f('0x109')===_0x2169e5[_0x2f08a8][_0x143f('0xf4')]){_0xcd23cd=_0x3d35e4[_0x143f('0x5c')](_0x490af7,_0x490612);const _0x1c5e6a=new _0x321fa5(_0x2169e5[_0x2f08a8][_0x143f('0xe0')][_0x143f('0xc0')],_0x2169e5[_0x2f08a8][_0x143f('0xe0')][_0x143f('0x94')]());_0x45bcb8[0x0][_0x143f('0x53')](_0x1c5e6a),_0x490612[_0x143f('0xf2')](0x0),_0x45bcb8[_0x143f('0xd6')](_0x1c5e6a),_0x31ef20=_0x3d35e4[_0x143f('0x5c')](_0x490af7,_0x490612),_0x234fa1=null;}else{if(_0x143f('0x3e')===_0x2169e5[_0x2f08a8][_0x143f('0xf4')])_0x45bcb8[_0x143f('0xb4')](),_0xcd23cd=_0x3d35e4['createPositionFromPath'](_0x490af7,_0x490612),_0x490612[_0x143f('0x36')](),_0x490612[_0x490612[_0x143f('0xe4')]-0x1]++,_0x31ef20=_0x3d35e4[_0x143f('0x5c')](_0x490af7,_0x490612),_0x234fa1=null;else{if(_0xcd23cd=_0x3d35e4[_0x143f('0x5c')](_0x490af7,_0x490612),_0x234fa1&&_0x50f8eb(_0x234fa1,_0x2169e5[_0x2f08a8][_0x143f('0xe0')]))_0x234fa1[_0x143f('0x75')]+=_0x2169e5[_0x2f08a8][_0x143f('0xe0')][_0x143f('0xb2')];else{const _0x1210d3=new _0x53c349(_0x2169e5[_0x2f08a8]['item'][_0x143f('0xb2')],_0x2169e5[_0x2f08a8][_0x143f('0xe0')][_0x143f('0x94')]());_0x45bcb8[0x0][_0x143f('0x53')](_0x1210d3),_0x234fa1=_0x1210d3;}_0x490612[_0x490612[_0x143f('0xe4')]-0x1]+=_0x2169e5[_0x2f08a8]['item'][_0x143f('0x100')],_0x31ef20=_0x3d35e4[_0x143f('0x5c')](_0x490af7,_0x490612);}}for(const _0x19f469 of _0x2169e5[_0x2f08a8][_0x143f('0x77')])_0x59ce76[_0x143f('0x68')](_0x19f469,{'start':_0xcd23cd,'end':null});_0x1b44b7('isRemoveSuggestion',_0x2f08a8,_0xcd23cd,_0x31ef20),_0x1b44b7(_0x143f('0x4'),_0x2f08a8,_0xcd23cd,_0x31ef20),_0x1b44b7(_0x143f('0xf5'),_0x2f08a8,_0xcd23cd,_0x31ef20),_0x1b44b7(_0x143f('0xee'),_0x2f08a8,_0xcd23cd,_0x31ef20);for(const _0x4a3faf of _0x2169e5[_0x2f08a8][_0x143f('0x8a')]){_0x59ce76['get'](_0x4a3faf)[_0x143f('0xac')]=_0x31ef20;}}for(const [_0xb6fec2,_0x16814c]of _0x59ce76){const _0x46716f=this[_0x143f('0x61')][_0x143f('0x8d')]['createRange'](_0x16814c[_0x143f('0x4c')],_0x16814c['end']);_0x490af7[_0x143f('0xd5')][_0x143f('0x68')](_0xb6fec2,_0x46716f);}return _0xb9a78f[_0x143f('0xad')]((_0x3c2273,_0x196a94)=>{const _0x563f7c=_0x490af7[_0x143f('0xd5')]['get'](_0x143f('0xd7')+_0x3c2273['id']),_0x4e7949=_0x490af7[_0x143f('0xd5')][_0x143f('0x7')](_0x143f('0xd7')+_0x196a94['id']);return _0x563f7c['start']['isBefore'](_0x4e7949[_0x143f('0x4c')])?-0x1:_0x563f7c['start']['isAfter'](_0x4e7949[_0x143f('0x4c')])?0x1:_0x563f7c[_0x143f('0xac')]['isBefore'](_0x4e7949[_0x143f('0xac')])?-0x1:_0x563f7c[_0x143f('0xac')]['isAfter'](_0x4e7949[_0x143f('0xac')])?0x1:_0x143f('0x1a')===_0x3c2273['type']?-0x1:0x1;}),{'root':_0x490af7,'changes':_0xb9a78f};function _0x1b44b7(_0x498a32,_0x9edbfa,_0x5a612f,_0x261dfe){const _0x3ec51c=!!_0x2169e5[_0x9edbfa][_0x498a32],_0x3c9692=_0x3ec51c?_0x2169e5[_0x9edbfa][_0x498a32][_0x143f('0x85')]:null,_0x557f52=_0x9edbfa===_0x2169e5['length']-0x1,_0x564eb3=_0x1429ef[_0x498a32][0x0],_0x3b9fcb=_0x1ef2f6['isObject'](_0x2169e5[_0x9edbfa][_0x143f('0xe0')]);!_0x9f124d[_0x498a32]&&_0x3ec51c?_0x9f124d[_0x498a32]={'start':_0x5a612f,'tapeItem':_0x2169e5[_0x9edbfa],'userId':_0x3c9692,'type':_0x498a32}:_0x9f124d[_0x498a32]&&!_0x3ec51c?(_0x9f124d[_0x498a32][_0x143f('0xac')]=_0x5a612f,_0x353052(_0x9f124d[_0x498a32]),_0x9f124d[_0x498a32]=null):_0x9f124d[_0x498a32]&&_0x3ec51c&&_0x9f124d[_0x498a32][_0x143f('0x85')]!==_0x3c9692&&(_0x9f124d[_0x498a32][_0x143f('0xac')]=_0x5a612f,_0x564eb3&&_0x564eb3[_0x143f('0x85')]===_0x9f124d[_0x498a32][_0x143f('0x85')]||_0x353052(_0x9f124d[_0x498a32]),_0x9f124d[_0x498a32]={'start':_0x5a612f,'tapeItem':_0x2169e5[_0x9edbfa],'userId':_0x3c9692,'type':_0x498a32}),_0x9f124d[_0x498a32]&&_0x3b9fcb&&('elementStart'!==_0x2169e5[_0x9edbfa][_0x143f('0xf4')]||_0x564eb3&&_0x564eb3[_0x143f('0x85')]===_0x3c9692||_0x1429ef[_0x498a32][_0x143f('0xd6')]({'userId':_0x3c9692,'object':_0x2169e5[_0x9edbfa][_0x143f('0xe0')],'change':_0x9f124d[_0x498a32]}),_0x143f('0x3e')===_0x2169e5[_0x9edbfa][_0x143f('0xf4')]&&_0x564eb3&&_0x564eb3[_0x143f('0xd9')]===_0x2169e5[_0x9edbfa][_0x143f('0xe0')]&&(_0x1429ef[_0x498a32][_0x143f('0xb4')](),_0x9f124d[_0x498a32]=_0x564eb3['change'])),_0x9f124d[_0x498a32]&&_0x557f52&&(_0x9f124d[_0x498a32]['end']=_0x261dfe,_0x353052(_0x9f124d[_0x498a32]),_0x9f124d[_0x498a32]=null);}function _0x353052({start:_0x4c48a4,end:_0x25ec04,tapeItem:_0x47d1d9,userId:_0x1272d4,type:_0x1773d4}){const _0x582f21=_0x47d1d9[_0x143f('0xe0')],_0x3e5220=_0x3d35e4['schema'][_0x143f('0x32')](_0x582f21)&&!_0x3d35e4[_0x143f('0xfa')][_0x143f('0xf0')](_0x582f21),_0x12ea0f=_0x4c48a4['nodeAfter']==_0x25ec04[_0x143f('0x91')]&&_0x25ec04[_0x143f('0xda')];if(_0x3e5220&&_0x12ea0f)return;const _0x328a5b=_0x3d35e4[_0x143f('0xd2')](_0x4c48a4,_0x25ec04),_0x1a8a7f=_0x258978['get'](_0x1272d4),_0x1800b9=new _0x1d3e57({'author':_0x1a8a7f,'type':_0x143f('0xee')==_0x1773d4||'isAddSuggestion'==_0x1773d4?_0x143f('0x1a'):_0x143f('0x5f'),'data':{'isSuggestion':_0x143f('0x4')==_0x1773d4||_0x143f('0x65')==_0x1773d4},'createdAt':new Date()});_0xb9a78f[_0x143f('0xf2')](_0x1800b9),_0x490af7[_0x143f('0xd5')][_0x143f('0x68')](_0x143f('0xd7')+_0x1800b9['id'],_0x328a5b);}function _0x50f8eb(_0x337783,_0x544444){const _0x2f7391=_0x337783[_0x143f('0x94')](),_0x3c2247=_0x544444['getAttributes']();for(const _0x443129 of _0x2f7391){if(_0x443129[0x1]!==_0x544444[_0x143f('0x29')](_0x443129[0x0]))return!0x1;_0x3c2247[_0x143f('0x88')]();}return _0x3c2247[_0x143f('0x88')]()[_0x143f('0x28')];}}['_setConversion'](){this[_0x143f('0x61')]['conversion'][_0x143f('0x35')](_0x143f('0xe6'))[_0x143f('0x78')]({'view':'revision'}),this[_0x143f('0x61')][_0x143f('0xaf')][_0x143f('0x35')](_0x143f('0xf8'))['markerToHighlight']({'model':_0x143f('0x20'),'view':_0x1397d0=>{const _0x2adb03=_0x1397d0[_0x143f('0x6c')][_0x143f('0xca')](':')[0x1],_0x3a436c=this[_0x143f('0x47')](_0x2adb03);if(!_0x3a436c)return null;const _0x31d328=_0x143f('0x1a')==_0x3a436c['type']?_0x143f('0x6'):'deletion',_0x375fd0=[_0x143f('0x69'),_0x143f('0xbb')+_0x31d328];return _0x3a436c[_0x143f('0xb2')]['isSuggestion']&&_0x375fd0[_0x143f('0xf2')]('ck-suggestion-marker-'+_0x31d328+_0x143f('0x50')),this['activeChange']==_0x3a436c&&_0x375fd0[_0x143f('0xf2')](_0x143f('0x4d')),{'classes':_0x375fd0,'attributes':{'data-change-id':_0x2adb03}};}}),this[_0x143f('0x61')][_0x143f('0xaf')][_0x143f('0x35')](_0x143f('0xe6'))[_0x143f('0x1a')](_0xe7c1ea=>{_0xe7c1ea['on'](_0x143f('0x24'),(_0x503912,_0x6bbbb7,_0x28e087)=>{const _0x277d1=_0x6bbbb7[_0x143f('0x67')][_0x143f('0x8b')](0x0);if(!_0x277d1||!_0x277d1['is'](_0x143f('0x7a'),_0x143f('0x6f')))return;if(!_0x28e087['consumable'][_0x143f('0x3b')](_0x277d1,{'attributes':[_0x143f('0xec'),'vid_end']}))return;const _0x41ec0d=_0x6bbbb7['modelRange'][_0x143f('0x4c')]['nodeAfter'];_0x28e087[_0x143f('0xa9')][_0x143f('0xc4')](_0x143f('0xec'),_0x277d1[_0x143f('0x29')](_0x143f('0xec')),_0x41ec0d),_0x28e087['writer'][_0x143f('0xc4')](_0x143f('0x66'),_0x277d1[_0x143f('0x29')](_0x143f('0x66')),_0x41ec0d);},{'priority':_0x143f('0xb9')});}),this[_0x143f('0x61')]['conversion']['for'](_0x143f('0xe6'))['add'](_0x55a98f=>{_0x55a98f['on'](_0x143f('0x7a'),(_0x4feb4c,_0x2376bb,_0x1a834b)=>{if(!_0x1a834b['consumable']['consume'](_0x2376bb[_0x143f('0x67')],{'attributes':[_0x143f('0xec'),_0x143f('0x66')]}))return;if(_0x2376bb[_0x143f('0x30')][_0x143f('0xcd')])return;const _0x315e91=_0x2376bb[_0x143f('0x30')][_0x143f('0x4c')][_0x143f('0xbc')];_0x315e91[_0x143f('0x3d')]('vid_start')||_0x315e91[_0x143f('0x3d')](_0x143f('0xdb'))||(_0x1a834b[_0x143f('0xa9')][_0x143f('0xc4')]('vid_start',_0x2376bb[_0x143f('0x67')]['getAttribute']('vid_start'),_0x315e91),_0x1a834b[_0x143f('0xa9')]['setAttribute'](_0x143f('0x66'),_0x2376bb['viewItem'][_0x143f('0x29')](_0x143f('0x66')),_0x315e91));},{'priority':_0x143f('0xb9')});}),this[_0x143f('0x61')][_0x143f('0xaf')][_0x143f('0x35')](_0x143f('0xe6'))[_0x143f('0x9a')]({'view':{'name':_0x143f('0x62'),'attributes':{'vid':!0x0}},'model':{'key':_0x143f('0xdb'),'value':_0x1d76a1=>_0x1d76a1[_0x143f('0x29')](_0x143f('0xdb'))}}),this[_0x143f('0x61')][_0x143f('0x8d')][_0x143f('0xfa')]['on'](_0x143f('0xbe'),(_0x1e9f86,[,_0x5002a5])=>{[_0x143f('0xec'),_0x143f('0x66'),_0x143f('0xdb')]['includes'](_0x5002a5)&&(_0x1e9f86[_0x143f('0xc6')]=!0x0,_0x1e9f86[_0x143f('0x106')]());},{'priority':_0x143f('0xe7')}),this[_0x143f('0x61')][_0x143f('0xaf')][_0x143f('0x35')](_0x143f('0xeb'))[_0x143f('0x1a')](_0x81f337=>{_0x81f337['on'](_0x143f('0xc9'),(_0x2681f6,_0x12cdb8,_0x2c1568)=>{if('\x20'!=_0x12cdb8['item'][_0x143f('0xb2')]||_0x12cdb8[_0x143f('0xe0')][_0x143f('0x91')]['maxOffset']>0x1)return;if(!_0x2c1568['consumable'][_0x143f('0x3b')](_0x12cdb8['item'],_0x2681f6['name']))return;const _0x1b1bad=_0x2c1568[_0x143f('0xa9')],_0x5f46b8=_0x2c1568[_0x143f('0x63')][_0x143f('0xe5')](_0x12cdb8[_0x143f('0xfd')]);_0x1b1bad['wrap'](_0x5f46b8,_0x1b1bad[_0x143f('0xdf')]('span'));});}),this['editor'][_0x143f('0xaf')][_0x143f('0x35')]('dataDowncast')[_0x143f('0x92')]({'model':_0x143f('0x20')}),this[_0x143f('0x61')]['editing'][_0x143f('0xa8')]['on'](_0x143f('0x84'),function(_0x554f03){const _0x13c317=_0x554f03[_0x143f('0xe8')][_0x143f('0x7')]('RevisionViewer');return(_0x514774,_0x587e35,_0x267e90)=>{const _0x56c9f2=_0x587e35['markerName'][_0x143f('0xca')](':')[0x1],_0x10790a=_0x13c317['_getChangeFromId'](_0x56c9f2);if(!_0x10790a)return null;const _0x579bf2='add'==_0x10790a[_0x143f('0xf4')]?'split':_0x143f('0xa0');if(!_0x267e90['consumable'][_0x143f('0x72')](_0x587e35[_0x143f('0x7b')],_0x514774['name']))return;const _0x55d53a=_0x587e35[_0x143f('0x7b')]['getWalker'](),_0x510343=_0x587e35[_0x143f('0x7b')]['start'],_0x239853=_0x554f03[_0x143f('0x8d')][_0x143f('0xfa')];let _0x77d929=null,_0x10e794=null,_0x23b41b=!0x1,_0x12ebf1=!0x1;for(const _0x22471a of _0x55d53a){const _0x45fdc8=_0x22471a[_0x143f('0xe0')];_0x23b41b=_0x23b41b||_0x239853[_0x143f('0xcb')](_0x45fdc8);const _0x1c679c=_0x267e90[_0x143f('0x63')][_0x143f('0x7c')](_0x45fdc8);if(_0x1c679c&&_0x1c679c[_0x143f('0xe2')]('addHighlight'))return;_0x143f('0x3e')==_0x22471a[_0x143f('0xf4')]&&(_0x239853[_0x143f('0x32')](_0x45fdc8)&&!_0x239853[_0x143f('0xf0')](_0x45fdc8)&&(_0x45fdc8[_0x143f('0x45')]||_0x510343[_0x143f('0x3')]?_0x77d929&&_0x77d929[_0x143f('0x91')]==_0x45fdc8||(_0x77d929=_0x45fdc8,_0x59b2b7(_0x22471a['previousPosition']),_0x12ebf1=!0x0):_0x10e794=_0x10e794||_0x22471a[_0x143f('0xd0')]));}function _0x59b2b7(_0x385ef3){const _0x4d2b01=_0x267e90[_0x143f('0xa9')][_0x143f('0x3f')](_0x143f('0x62'),{'class':_0x143f('0xbb')+_0x579bf2}),_0x4569f4=_0x267e90[_0x143f('0x63')][_0x143f('0x97')](_0x385ef3);_0x10790a[_0x143f('0xb2')][_0x143f('0x8e')]&&_0x267e90[_0x143f('0xa9')]['addClass'](_0x143f('0xbb')+_0x579bf2+_0x143f('0x50'),_0x4d2b01),_0x13c317[_0x143f('0x5a')]==_0x10790a&&_0x267e90[_0x143f('0xa9')][_0x143f('0x2b')]('ck-suggestion-marker--active',_0x4d2b01),_0x267e90['writer'][_0x143f('0x7f')](_0x4569f4,_0x4d2b01),_0x267e90[_0x143f('0x63')][_0x143f('0x10c')](_0x4d2b01,_0x587e35['markerName']);}_0x23b41b||_0x12ebf1||!_0x10e794||_0x59b2b7(_0x10e794);};}(this['editor']),{'priority':_0x143f('0x42')}),this[_0x143f('0x61')][_0x143f('0xa3')][_0x143f('0xa8')]['on'](_0x143f('0xcc'),(_0x3ddd37,_0xf8bc47,_0x18a2f7)=>{const _0x3003d9=_0x18a2f7['mapper'][_0x143f('0x9d')](_0xf8bc47[_0x143f('0x6c')]);if(_0x3003d9)for(const _0x3b1b92 of _0x3003d9)(_0x3b1b92[_0x143f('0xd3')](_0x143f('0xa2'))||_0x3b1b92[_0x143f('0xd3')](_0x143f('0x8f')))&&(_0x18a2f7[_0x143f('0x63')][_0x143f('0x104')](_0x3b1b92,_0xf8bc47[_0x143f('0x6c')]),_0x18a2f7[_0x143f('0xa9')][_0x143f('0x5f')](_0x3b1b92));},{'priority':_0x143f('0x42')}),this[_0x143f('0x61')][_0x143f('0xa3')][_0x143f('0xa8')]['on'](_0x143f('0x84'),(_0x2b0ff8,_0x2fdba6,_0x2190d6)=>{const _0x15be62=_0x2fdba6[_0x143f('0x6c')]['split'](':')[0x1],_0x4eb7e1=this[_0x143f('0x47')](_0x15be62);if(!_0x4eb7e1)return null;const _0x5bf929='add'==_0x4eb7e1[_0x143f('0xf4')]?_0x143f('0xca'):_0x143f('0xa0');if(_0x2190d6['consumable'][_0x143f('0x72')](_0x2fdba6['markerRange'],_0x2b0ff8[_0x143f('0xc0')]))for(const _0x11897b of _0x2fdba6[_0x143f('0x7b')][_0x143f('0xaa')]()){if(!_0x11897b['is'](_0x143f('0x7a'),'softBreak'))continue;const _0xa5a438=_0x2190d6[_0x143f('0xa9')][_0x143f('0x3f')](_0x143f('0x62'),{'class':_0x143f('0xbb')+_0x5bf929}),_0x41698f=_0x2190d6['mapper'][_0x143f('0x97')](this[_0x143f('0x61')][_0x143f('0x8d')][_0x143f('0x4b')](_0x11897b));_0x4eb7e1[_0x143f('0xb2')][_0x143f('0x8e')]&&_0x2190d6['writer'][_0x143f('0x2b')]('ck-suggestion-marker-'+_0x5bf929+'-new',_0xa5a438),this['activeChange']==_0x4eb7e1&&_0x2190d6['writer'][_0x143f('0x2b')](_0x143f('0x4d'),_0xa5a438),_0x2190d6[_0x143f('0xa9')][_0x143f('0x7f')](_0x41698f,_0xa5a438),_0x2190d6['mapper'][_0x143f('0x10c')](_0xa5a438,_0x2fdba6['markerName']);}},{'priority':_0x143f('0x42')}),this['editor'][_0x143f('0xaf')]['for'](_0x143f('0xe6'))[_0x143f('0x78')]({'view':_0x143f('0x86')}),this[_0x143f('0x61')]['conversion']['for']('dataDowncast')['markerToData']({'model':_0x143f('0x86')}),this[_0x143f('0x61')][_0x143f('0xaf')][_0x143f('0x35')](_0x143f('0xf8'))[_0x143f('0x9e')]({'model':_0x143f('0x86'),'view':_0x47efb3=>{const _0x273b1c=_0x47efb3[_0x143f('0x6c')]['split'](':')[0x1];return _0x143f('0x6')!=_0x273b1c&&_0x143f('0xf6')!=_0x273b1c?null:{'classes':['ck-suggestion-preview-marker',_0x143f('0x98')+_0x273b1c]};}}),this[_0x143f('0x61')][_0x143f('0xa3')][_0x143f('0xa8')]['on'](_0x143f('0xbf'),Z(this['editor'],_0x143f('0xa0')),{'priority':_0x143f('0x42')}),this[_0x143f('0x61')][_0x143f('0xa3')]['downcastDispatcher']['on'](_0x143f('0x4e'),Z(this[_0x143f('0x61')],_0x143f('0xca')),{'priority':_0x143f('0x42')}),this[_0x143f('0x61')][_0x143f('0xa3')][_0x143f('0xa8')]['on'](_0x143f('0x34'),(_0x221f94,_0x12c099,_0x24ef69)=>{const _0x2296c5=_0x24ef69[_0x143f('0x63')][_0x143f('0x9d')](_0x12c099[_0x143f('0x6c')]);if(_0x2296c5)for(const _0x39d2ee of _0x2296c5)_0x39d2ee['is']('uiElement')&&(_0x24ef69[_0x143f('0x63')][_0x143f('0x104')](_0x39d2ee,_0x12c099['markerName']),_0x24ef69['writer']['remove'](_0x39d2ee));},{'priority':_0x143f('0x42')});}[_0x143f('0x47')](_0x483c9e){return this[_0x143f('0x107')][_0x143f('0x7')](_0x483c9e);}['_getViewForChange'](_0x635459){this['_changeView']&&this[_0x143f('0x10')][_0x143f('0x58')](),this[_0x143f('0x10')]=new _0x220785(this[_0x143f('0x61')]['locale'],_0x635459);const _0x16d769=this[_0x143f('0x61')][_0x143f('0x8d')][_0x143f('0xd5')][_0x143f('0x7')](_0x143f('0xd7')+_0x635459['id']);return this[_0x143f('0x10')]['_target']=()=>_0x131b2e(this['editor']['editing'],_0x16d769),this[_0x143f('0x10')];}[_0x143f('0x37')](){this['editor'][_0x143f('0x8d')][_0x143f('0x2')][_0x143f('0x9c')][_0x143f('0x83')]('revision'),this['on'](_0x143f('0x2e'),(_0x261da6,_0x69c94e,_0x4d4c95,_0x1f0527)=>{_0x1f0527&&this['_balloon'][_0x143f('0x5f')](_0x1f0527),_0x4d4c95&&(this[_0x143f('0xb7')]['add']({'view':_0x4d4c95,'stackId':'revisionHistoryLabel','position':{'target':_0x4d4c95[_0x143f('0x82')]}}),this['_balloon'][_0x143f('0x60')](_0x143f('0x41')));}),this['on']('change:activeChange',(_0x3243f8,_0x4bdaa0,_0x2dd994,_0x57b8c1)=>{this[_0x143f('0x4a')]=_0x2dd994?this[_0x143f('0xae')](_0x2dd994):null,this['editor'][_0x143f('0x8d')][_0x143f('0x33')](()=>{const _0x4059ae=this[_0x143f('0x61')][_0x143f('0xa3')];_0x57b8c1&&_0x4059ae['reconvertMarker'](_0x143f('0xd7')+_0x57b8c1['id']),_0x2dd994&&_0x4059ae['reconvertMarker'](_0x143f('0xd7')+_0x2dd994['id']);});}),this[_0x143f('0x101')](this[_0x143f('0x61')][_0x143f('0xa3')][_0x143f('0x74')]['document'],_0x143f('0xfe'),(_0x3df958,_0x516783)=>{if(this['activeChange'])return;const _0x7c0987=this[_0x143f('0x22')](_0x516783[_0x143f('0xfb')]),_0x4edde9=this[_0x143f('0x107')][_0x143f('0x7')](_0x7c0987);this[_0x143f('0x4a')]=_0x4edde9?this['_getViewForChange'](_0x4edde9):null;}),this[_0x143f('0x101')](this['editor'][_0x143f('0xa3')]['view']['document'],_0x143f('0x81'),(_0x15e12b,_0x338bcb)=>{const _0x36fca6=this[_0x143f('0x22')](_0x338bcb[_0x143f('0xfb')]),_0x3c79e1=this[_0x143f('0x107')][_0x143f('0x7')](_0x36fca6);this['activeChange']=_0x3c79e1||null;});}[_0x143f('0x22')](_0x487bed){do{const _0x1245ca=_0x487bed['getAttribute'](_0x143f('0xff'));if(_0x1245ca)return _0x1245ca;_0x487bed=_0x487bed[_0x143f('0x91')];}while(_0x487bed);return null;}[_0x143f('0xbd')](){this[_0x143f('0x61')][_0x143f('0x8d')][_0x143f('0x33')](_0x329c22=>{for(const _0x24fbac of this['editor'][_0x143f('0x8d')][_0x143f('0xd5')])_0x329c22[_0x143f('0x59')](_0x24fbac);});}}function Z(_0x3f13e9,_0xe8382d){return(_0x1e9af0,_0x3a6dd9,_0x1a52b4)=>{if(!_0x1a52b4[_0x143f('0xe')]['test'](_0x3a6dd9[_0x143f('0x7b')],_0x1e9af0[_0x143f('0xc0')]))return;const _0x23195d=_0x3a6dd9['markerRange'][_0x143f('0x13')](),_0x34faa3=_0x3a6dd9[_0x143f('0x7b')]['start'],_0x3aa246=_0x3f13e9[_0x143f('0x8d')][_0x143f('0xfa')];let _0x256a6b=null,_0x367a4f=null,_0x89cc0f=!0x1,_0x167563=!0x1;for(const _0x1dd4da of _0x23195d){const _0x2966ca=_0x1dd4da[_0x143f('0xe0')];_0x89cc0f=_0x89cc0f||_0x3aa246[_0x143f('0xcb')](_0x2966ca);const _0xea9c3d=_0x1a52b4[_0x143f('0x63')][_0x143f('0x7c')](_0x2966ca);if(_0xea9c3d&&_0xea9c3d[_0x143f('0xe2')](_0x143f('0x40')))return;_0x143f('0x3e')==_0x1dd4da[_0x143f('0xf4')]&&(_0x3aa246['isBlock'](_0x2966ca)&&!_0x3aa246[_0x143f('0xf0')](_0x2966ca)&&(_0x2966ca[_0x143f('0x45')]||_0x34faa3[_0x143f('0x3')]?_0x256a6b&&_0x256a6b[_0x143f('0x91')]==_0x2966ca||(_0x256a6b=_0x2966ca,_0x4a23e4(_0x1dd4da[_0x143f('0xd0')]),_0x167563=!0x0):_0x367a4f=_0x367a4f||_0x1dd4da[_0x143f('0xd0')]));}function _0x4a23e4(_0x56a906){const _0x2046a3=_0x1a52b4['mapper']['toViewPosition'](_0x56a906),_0x4244fa=_0x1a52b4['writer'][_0x143f('0x3f')](_0x143f('0x62'),{'class':'ck-suggestion-preview-marker-'+_0xe8382d});_0x1a52b4[_0x143f('0xa9')]['insert'](_0x2046a3,_0x4244fa),_0x1a52b4[_0x143f('0x63')]['bindElementToMarker'](_0x4244fa,_0x3a6dd9[_0x143f('0x6c')]);}_0x89cc0f||_0x167563||!_0x367a4f||_0x4a23e4(_0x367a4f);};}_0x3dc86b(R,_0x1aefaa);class tt extends _0x57e198{constructor(_0x2c6a1a){super(_0x2c6a1a);const _0x1443b2=_0x2c6a1a['plugins'][_0x143f('0x7')](R);this['stopListening'](_0x2c6a1a,_0x143f('0x70')),this[_0x143f('0xa7')]('readOnlyMode'),this['listenTo'](_0x1443b2,_0x143f('0x14'),()=>this[_0x143f('0x90')]()),this['listenTo'](_0x1443b2,_0x143f('0xc2'),()=>this[_0x143f('0x90')]());}['execute'](){const _0xa3ec9=this['editor'],_0x102a30=_0xa3ec9['plugins'][_0x143f('0x7')](R),_0x464f2e=_0x102a30[_0x143f('0x1')]?_0x102a30[_0x143f('0x39')][_0x143f('0xa1')]:null;_0xa3ec9['config']['get'](_0x143f('0x1d'))[_0x143f('0x108')](_0x464f2e);}[_0x143f('0x90')](){const {isReady:_0x546171,isEnabled:_0x405eae}=this[_0x143f('0x61')][_0x143f('0xe8')]['get'](R);this['isEnabled']=_0x546171&&_0x405eae;}}class et extends _0x57e198{constructor(_0x26e30f,{direction:_0x254681}){super(_0x26e30f);const _0x4050c0=_0x26e30f[_0x143f('0xe8')][_0x143f('0x7')](R);this[_0x143f('0x4f')](_0x26e30f,'change:isReadOnly'),this[_0x143f('0xa7')]('readOnlyMode'),this[_0x143f('0x9f')]=_0x143f('0x17')===_0x254681?0x1:-0x1,this[_0x143f('0x101')](_0x4050c0,_0x143f('0x14'),()=>this['refresh']()),this[_0x143f('0x101')](_0x4050c0,_0x143f('0xc2'),()=>this['refresh']());}['execute'](){const _0x45f8c6=this['editor'],_0x34659f=_0x45f8c6[_0x143f('0xe8')][_0x143f('0x7')](R),{isNavigationMode:_0x1b0b2b,currentChangeNumber:_0x16be8a}=_0x34659f;_0x34659f[_0x143f('0x5a')]=_0x1b0b2b?_0x34659f['diff'][_0x143f('0xf9')]['get'](_0x16be8a+this[_0x143f('0x9f')]):_0x34659f['diff'][_0x143f('0xf9')]['first'];const _0x32352d=_0x45f8c6[_0x143f('0x8d')][_0x143f('0xd5')][_0x143f('0x7')](_0x143f('0xd7')+_0x34659f[_0x143f('0x5a')]['id']),_0x41718a=_0x131b2e(_0x45f8c6[_0x143f('0xa3')],_0x32352d);_0xf073a9({'target':_0x41718a,'viewportOffset':0x28});}[_0x143f('0x90')](){const {isNavigationMode:_0x236d74,currentChangeNumber:_0x552d53,numberOfChanges:_0x26ba4a,isReady:_0x4c1c80,isEnabled:_0x456c21}=this[_0x143f('0x61')][_0x143f('0xe8')]['get'](R);this[_0x143f('0x80')]=!!(_0x456c21&&_0x4c1c80&&_0x26ba4a)&&(!_0x236d74||(0x1===this['_step']?_0x552d53<_0x26ba4a-0x1:_0x552d53>0x0));}}
|
|
23
|
+
const _0x1501=['showStack','parent','loadRevisionData','map','element','clear','createUIElement','_makeModelFromViewString','-new','getRevision','authors','deletion','createRangeIn','get','parse','editingDowncast','downcastDispatcher','unshift','_markSuggestions','isAfter','getRootNames','_data','splice','listenTo','test','_target','comment','change:isReadOnly','data-change-id','nextPosition','end','getCustomProperty','nextSibling','RevisionsRepository','set','removeMarker:revision','compare','isBlock','slice','revision','_setDistance','type','nodeAfter','upcast','_joinTapes','_update','diff','isSuggestion','toViewElement','changes','isEqual','POSITIVE_INFINITY','toViewPosition','writer','isCollapsed','data','removeClass','revision-comment:','forEach','modelRange','target','processor','unbindElementFromMarkerName','stopListening','for','document','keys','_markMismatchedRemovedTags','editor','done','_removeRevisionMarkers','repository','_getChangeFromId','_threeWayMerge','_markMarkers','newRevisionId','observeMarkers','RevisionViewer','revision-end','_changeView','model','start','highest','toModel','_appendChild','refresh','elementEnd','markersStart','consumable','all','ck-editor__editable__overlay','isInline','schema','setAttribute','revisionHistoryLabel','children','has','roots','_changeIdToChange','_setData','_setConversion','pairId','uiElement','concat','createPositionBefore','revisionHistory','destroy','dataDowncast','split','isLimit','reconvertMarker','userId','previousPosition','getWalker','isBefore','_refreshStartEndIndex','getAttributes','pop','revision:','remove','isContent','createRevision','data-revision-','markerToData','_makeTape','span','length','ck-suggestion-marker-split','isRemoved','hasAttribute','bindElementToMarker','ck-suggestion-preview-marker-','error','_makeModelFromTape','_removeMissingPairs','ck-suggestion-preview-marker','ck-suggestion-marker','change:isEnabled','next','hasClass','_getViewObj','add','isIncorrect','text','stop','elementStart','showPreviousChange','_cleanUp','shift','push','markersEnd','_initInteractions','change:isReady','currentChangeNumber','activeView','diffData','addClass','isAddSuggestion','markerNameToElements','insert','dataToMarker','createPositionFromPath','ck-suggestion-marker-merge','_step','isAtEnd','checkAttribute','restoreRevision','vid_start','high','index','resolve','includes','mousedown','useFillerType','elementToAttribute','filter','getAttribute','delete','config','range','pluginName','sort','requires','markers','insertions','_processTape','createRange','commands','removeMarker','consume','object','markerName','ck-suggestion-marker--active','addRevision','merge','_getRevisionsRange','deletions','side','<p></p>','getItems','vid','wrap','enqueueChange','abs','insertion','isEnabled','init','markerRange','from','addRevisionData','clearForceDisabled','adapter','suggestion:','then','name','mouseover','conversion','readOnlyMode','addMarker:revision','level','change:activeView','isReady','revision-suggestion','selection','_cleanMarkers','getRoot','item','string','code','startsWith','view','isAdded','_removeUnsupportedChanges','_fixObsoleteTags','suggestion','offsetSize','vid_end','startIndex','findIndex','toData','addMarker:revision-suggestion:deletion','editing','endIndex','addHighlight','isAtStart','_findChangeIdFromDomTarget','activeChange','attribute:vid','_getDiff','htmlProcessor','change','_markInsertions','addMarker:revision-suggestion:insertion','catch','revision-viewer','bind','markerToHighlight','viewItem','mapper','distance','attributes','plugins','isRemoveSuggestion','_getViewForChange','ck-suggestion-marker-','return','values','low','change:numberOfChanges','getIndex','removeMarker:revision-suggestion'];(function(_0x3594e6,_0x1501d2){const _0x49d966=function(_0xa6868){while(--_0xa6868){_0x3594e6['push'](_0x3594e6['shift']());}};_0x49d966(++_0x1501d2);}(_0x1501,0x145));const _0x49d9=function(_0x3594e6,_0x1501d2){_0x3594e6=_0x3594e6-0x0;let _0x49d966=_0x1501[_0x3594e6];return _0x49d966;};import{Plugin as _0x59eebc,Command as _0x525b9d}from'ckeditor5/src/core';import{ObservableMixin as _0x380d3e,mix as _0x101743,scrollViewportToShowTarget as _0xbad102}from'ckeditor5/src/utils';import{ContextualBalloon as _0x3001e9}from'ckeditor5/src/ui';import{DocumentFragment as _0xfafee2,Element as _0x46cd6a,Text as _0x57b8d5,ViewDocumentFragment as _0x1c9d15,ViewText as _0x3563ba,ViewElement as _0x211491,ViewContainerElement as _0x40dc0b,ViewAttributeElement as _0x79243b,ViewEmptyElement as _0x15780f,ViewRawElement as _0x2b8ca0,ViewUIElement as _0x22f986}from'ckeditor5/src/engine';import{Users as _0x2b71a6,getMarkerDomElement as _0x42c54e}from'ckeditor5-collaboration/src/collaboration-core';import _0x28a01d from'./ui/revisionviewer/changedetailsview';import _0x4db92d from'./revisionsrepository';import _0x149fc2 from'./changeitem';import _0x246d4a from'./revisiondiff';import'../theme/revisionviewer.css';const Y={'c':_0x40dc0b,'a':_0x79243b,'e':_0x15780f,'r':_0x2b8ca0,'u':_0x22f986};export default class d extends _0x59eebc{static get[_0x49d9('0x7e')](){return'RevisionViewer';}static get[_0x49d9('0x80')](){return[_0x2b71a6,_0x3001e9,_0x4db92d];}constructor(..._0x1dc852){super(..._0x1dc852),this[_0x49d9('0x11')]=this[_0x49d9('0xe')][_0x49d9('0xcf')][_0x49d9('0xe6')](_0x49d9('0xfa')),this['set']('activeChange',null),this[_0x49d9('0xfb')](_0x49d9('0x64'),null),this[_0x49d9('0xfb')](_0x49d9('0x107'),null),this[_0x49d9('0xfb')](_0x49d9('0xa7'),!0x1),this[_0x49d9('0xfb')](_0x49d9('0x97'),!0x0),this['on'](_0x49d9('0x53'),(_0x35b13f,_0xaba66c,_0x19252c)=>{this[_0x49d9('0xc0')]=null,this[_0x49d9('0x64')]=null,this[_0x49d9('0xe')]['editing']['view']['change'](_0x4e299e=>{for(const _0x336ac3 of this[_0x49d9('0xe')]['editing'][_0x49d9('0xb0')][_0x49d9('0xb')][_0x49d9('0x2b')])_0x19252c?_0x4e299e[_0x49d9('0x2')](_0x49d9('0x24'),_0x336ac3):_0x4e299e[_0x49d9('0x66')](_0x49d9('0x24'),_0x336ac3);});}),this[_0x49d9('0xc9')]('isNavigationMode')['to'](this,_0x49d9('0xc0'),_0x54b397=>null!==_0x54b397),this['bind'](_0x49d9('0x63'))['to'](this,_0x49d9('0xa7'),this,_0x49d9('0x107'),this,_0x49d9('0xc0'),(_0x39549a,_0x5028a0,_0x1c7093)=>_0x39549a&&_0x1c7093?_0x5028a0[_0x49d9('0x10a')][_0x49d9('0xd7')](_0x1c7093):0x0),this[_0x49d9('0xc9')]('numberOfChanges')['to'](this,_0x49d9('0xa7'),this,_0x49d9('0x107'),(_0x4e592e,_0x2c3497)=>_0x4e592e?_0x2c3497[_0x49d9('0x10a')]['length']:0x0),this['_changeView']=null,this[_0x49d9('0x2c')]=new Map(),this[_0x49d9('0x9d')]=null,this['_balloon']=this[_0x49d9('0xe')][_0x49d9('0xcf')][_0x49d9('0xe6')](_0x3001e9);}[_0x49d9('0x98')](){const _0x6cdf16=this[_0x49d9('0xe')];_0x6cdf16[_0x49d9('0x1')][_0x49d9('0xc3')][_0x49d9('0x77')]('marked');const _0x5c637a=new et(_0x6cdf16,{'direction':'backward'}),_0x1d26cc=new et(_0x6cdf16,{'direction':'forward'});_0x6cdf16['commands'][_0x49d9('0x57')](_0x49d9('0x5c'),_0x5c637a),_0x6cdf16[_0x49d9('0x85')][_0x49d9('0x57')]('showNextChange',_0x1d26cc),_0x6cdf16['commands']['add'](_0x49d9('0x70'),new tt(_0x6cdf16)),this['on'](_0x49d9('0xd6'),()=>{_0x5c637a[_0x49d9('0x1f')](),_0x1d26cc[_0x49d9('0x1f')]();}),this[_0x49d9('0x2e')](),this[_0x49d9('0x61')](),_0x6cdf16['enableReadOnlyMode'](_0x49d9('0xc8'));}async['getRevisionData'](_0x70c812){await this['loadRevisionData'](_0x70c812);const _0x1b5a14={};for(const _0x2c218f in _0x70c812[_0x49d9('0x65')]){const _0x413e92=this[_0x49d9('0x10')](JSON[_0x49d9('0xe7')](_0x70c812['diffData'][_0x2c218f][_0x49d9('0x82')])),_0x931b73=this['editor'][_0x49d9('0xbb')]['view'][_0x49d9('0xb')],_0x1f1101=new _0x1c9d15(_0x931b73,_0x413e92[_0x49d9('0xdc')](_0x4b84e4=>this['_getViewObj'](_0x4b84e4)));_0x1b5a14[_0x2c218f]=this['editor']['data'][_0x49d9('0x7')][_0x49d9('0xb9')](_0x1f1101);}return _0x1b5a14;}[_0x49d9('0x10')](_0x3af6ee){return(_0x3af6ee=_0x3af6ee[_0x49d9('0x79')](_0x28f8d6=>!_0x28f8d6['name']||'revision-start'!==_0x28f8d6[_0x49d9('0xa0')]&&_0x49d9('0x18')!==_0x28f8d6[_0x49d9('0xa0')]))[_0x49d9('0x4')](_0x1b6d10=>{_0x49d9('0xad')!=typeof _0x1b6d10&&(_0x1b6d10['children']=this['_removeRevisionMarkers'](_0x1b6d10[_0x49d9('0x29')]),_0x1b6d10[_0x49d9('0xce')]=_0x1b6d10[_0x49d9('0xce')][_0x49d9('0x79')](_0x47772a=>!_0x47772a[0x0]['startsWith'](_0x49d9('0x44'))));}),_0x3af6ee;}[_0x49d9('0xfd')](_0x2d5751,_0x38e47c,_0x373bc1=!0x1){if(!this[_0x49d9('0x97')])return;const _0x5afd41=this[_0x49d9('0x107')],_0x44a72a=this[_0x49d9('0x11')],_0x5db806=_0x49d9('0xad')==typeof _0x2d5751?_0x44a72a[_0x49d9('0xe2')](_0x2d5751):_0x2d5751,_0x389153=_0x49d9('0xad')==typeof _0x38e47c?_0x44a72a[_0x49d9('0xe2')](_0x38e47c):_0x38e47c,_0x288dca=_0x5db806['id'],_0x1ad8cc=_0x389153?_0x389153['id']:null;if(!_0x373bc1&&this['diff']&&this['diff']['newRevisionId']===_0x288dca&&this[_0x49d9('0x107')]['oldRevisionId']===_0x1ad8cc)return Promise[_0x49d9('0x74')]();this[_0x49d9('0xa7')]=!0x1,this[_0x49d9('0x64')]=null,this['activeChange']=null,this[_0x49d9('0x107')]=new _0x246d4a(_0x288dca,_0x1ad8cc);const _0x5d7580=this[_0x49d9('0x8d')](_0x5db806,_0x389153,!0x0)[_0x49d9('0xdc')](_0x27eada=>this[_0x49d9('0xdb')](_0x27eada));return _0x5d7580[_0x49d9('0x5f')](new Promise(_0x3dd71b=>{setTimeout(_0x3dd71b,0x14);})),Promise[_0x49d9('0x23')](_0x5d7580)['then'](()=>{if(!this[_0x49d9('0x97')])return;this['_cleanUp']();const _0x24bd8c=this[_0x49d9('0xc2')](_0x288dca,_0x1ad8cc);this[_0x49d9('0x107')][_0x49d9('0x2d')](_0x24bd8c);for(const _0x38be94 of this[_0x49d9('0x107')][_0x49d9('0x10a')])this[_0x49d9('0x2c')][_0x49d9('0xfb')](_0x38be94['id'],_0x38be94);this['editor']['model'][_0x49d9('0x94')]({'isUndoable':!0x1},_0x1e9817=>{for(const _0x3ae46 of Object['keys'](_0x24bd8c[_0x49d9('0x1a')])){const _0x2e78d7=this['editor'][_0x49d9('0x1a')][_0x49d9('0xb')][_0x49d9('0xab')](_0x3ae46);_0x1e9817[_0x49d9('0x41')](_0x1e9817[_0x49d9('0xe5')](_0x2e78d7)),_0x1e9817[_0x49d9('0x69')](_0x24bd8c[_0x49d9('0x1a')][_0x3ae46],_0x2e78d7,0x0);}}),this[_0x49d9('0xa7')]=!0x0;})[_0x49d9('0xc7')](_0x28bb9f=>{console[_0x49d9('0x4e')](_0x28bb9f),this[_0x49d9('0x5d')](),_0x5afd41?this[_0x49d9('0x107')]=_0x5afd41:this[_0x49d9('0xe')]['setData'](_0x49d9('0x90')),this['isReady']=!0x0;});}[_0x49d9('0x34')](){this[_0x49d9('0x64')]=null,this['_changeView']&&this['_changeView'][_0x49d9('0x34')]();}[_0x49d9('0x9b')](_0x24f2e8,_0x3a8e66){const _0x28e9e4=this[_0x49d9('0x11')][_0x49d9('0x43')](_0x24f2e8);return _0x28e9e4['on']('_update',(_0x4908f6,_0x515a1d,_0x2df157)=>_0x3a8e66(_0x515a1d,_0x2df157,_0x28e9e4)),this[_0x49d9('0x11')][_0x49d9('0x8b')](_0x28e9e4),_0x28e9e4;}['loadRevisionData'](_0x18a8f9){if(!_0x18a8f9||_0x18a8f9['diffData'])return Promise[_0x49d9('0x74')]();{const _0x5e00ad=this[_0x49d9('0xe')][_0x49d9('0x7c')][_0x49d9('0xe6')]('collaboration.channelId');return this[_0x49d9('0x9d')][_0x49d9('0xe2')]({'channelId':_0x5e00ad,'revisionId':_0x18a8f9['id']})[_0x49d9('0x9f')](_0x46ccda=>{_0x18a8f9[_0x49d9('0x106')]({'diffData':_0x46ccda[_0x49d9('0x65')]},!0x0);});}}[_0x49d9('0x5d')](){this[_0x49d9('0xc0')]=null,this[_0x49d9('0xaa')](),this[_0x49d9('0x19')]&&this[_0x49d9('0x19')][_0x49d9('0x34')](),this[_0x49d9('0x19')]=null,this[_0x49d9('0x2c')][_0x49d9('0xde')]();}[_0x49d9('0x46')](_0x5a882d){const _0x372e93=Array['from'](_0x5a882d[_0x49d9('0x81')])['filter'](([_0x2fd9e9,_0x1e9b77])=>_0x2fd9e9[_0x49d9('0xaf')]('revision:')&&!_0x1e9b77[_0x49d9('0x0')]),_0x540623=Array[_0x49d9('0x9a')](this['editor'][_0x49d9('0x1a')][_0x49d9('0xe5')](_0x5a882d)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x372e93['length'])for(const _0x148363 of _0x540623){const [_0x1c6090,_0x37ff01]=_0x372e93[0x0],[,_0x31bcc6,_0x3b4aed]=_0x1c6090[_0x49d9('0x36')](':');if(_0x37ff01[_0x49d9('0xf7')][_0x49d9('0x10b')](_0x148363[_0x49d9('0xf6')])&&_0x372e93['shift'](),(_0x148363['previousPosition'][_0x49d9('0x10b')](_0x37ff01[_0x49d9('0x1b')])||_0x148363[_0x49d9('0x3a')][_0x49d9('0xec')](_0x37ff01['start']))&&(_0x49d9('0x96')==_0x31bcc6?_0x148363['isAdded']={'userId':_0x3b4aed}:_0x49d9('0xe4')==_0x31bcc6&&(_0x148363[_0x49d9('0x4a')]={'userId':_0x3b4aed})),0x0==_0x372e93['length'])break;}return _0x540623;}[_0x49d9('0x3d')](_0x3c5643){const _0x103021=new Map();for(let _0x812c89=0x0;_0x812c89<_0x3c5643[_0x49d9('0x48')];_0x812c89++)_0x49d9('0x59')===_0x3c5643[_0x812c89][_0x49d9('0x102')]?(_0x3c5643[_0x812c89][_0x49d9('0xac')][_0x49d9('0xb7')]=_0x812c89,_0x3c5643[_0x812c89][_0x49d9('0xac')][_0x49d9('0xbc')]=_0x812c89):(_0x49d9('0x5b')===_0x3c5643[_0x812c89][_0x49d9('0x102')]?_0x3c5643[_0x812c89][_0x49d9('0xac')][_0x49d9('0xb7')]=_0x812c89:'elementEnd'===_0x3c5643[_0x812c89][_0x49d9('0x102')]&&(_0x3c5643[_0x812c89][_0x49d9('0xac')][_0x49d9('0xbc')]=_0x812c89),_0x103021['set'](_0x3c5643[_0x812c89]['id'],_0x812c89));for(const _0x440bb2 of _0x103021[_0x49d9('0xd4')]())_0x49d9('0x5b')===_0x3c5643[_0x440bb2][_0x49d9('0x102')]?_0x3c5643[_0x440bb2][_0x49d9('0xac')][_0x49d9('0xbc')]=_0x103021[_0x49d9('0xe6')](_0x3c5643[_0x440bb2][_0x49d9('0x2f')]):_0x49d9('0x20')===_0x3c5643[_0x440bb2][_0x49d9('0x102')]&&(_0x3c5643[_0x440bb2][_0x49d9('0xac')]['startIndex']=_0x103021[_0x49d9('0xe6')](_0x3c5643[_0x440bb2]['pairId']));}['_processTape'](_0x44183a){for(let _0x26951e=0x0;_0x26951e<_0x44183a['length'];_0x26951e++){if(_0x49d9('0x5b')===_0x44183a[_0x26951e]['type'])_0x44183a[_0x26951e][_0x49d9('0xac')][_0x49d9('0xb7')]=_0x26951e;else{if(_0x49d9('0x20')===_0x44183a[_0x26951e][_0x49d9('0x102')]){_0x44183a[_0x26951e][_0x49d9('0xac')][_0x49d9('0xbc')]=_0x26951e;const _0x21dd3b=_0x44183a[_0x26951e][_0x49d9('0xac')][_0x49d9('0xb7')];_0x44183a[_0x21dd3b]['pairId']=_0x44183a[_0x26951e]['id'],_0x44183a[_0x26951e][_0x49d9('0x2f')]=_0x44183a[_0x21dd3b]['id'];}else _0x44183a[_0x26951e][_0x49d9('0xac')][_0x49d9('0xb7')]=_0x26951e,_0x44183a[_0x26951e][_0x49d9('0xac')][_0x49d9('0xbc')]=_0x26951e,_0x44183a[_0x26951e][_0x49d9('0x2f')]=null;}_0x44183a[_0x26951e][_0x49d9('0x21')]||(_0x44183a[_0x26951e]['markersStart']=[],_0x44183a[_0x26951e][_0x49d9('0x60')]=[]);}}[_0x49d9('0xc5')](_0x1101cf,_0x3d4fb4){const _0x2f0f58=_0x1101cf[_0x49d9('0x79')](_0x388911=>!_0x388911[_0x49d9('0xb1')]);for(let _0x25dcbb=0x0;_0x25dcbb<_0x3d4fb4[_0x49d9('0x48')];_0x25dcbb++)_0x3d4fb4[_0x25dcbb][_0x49d9('0xb1')]&&(_0x2f0f58[_0x25dcbb]['isAdded']=_0x3d4fb4[_0x25dcbb][_0x49d9('0xb1')]);}[_0x49d9('0xe0')](_0xcc6cdb){const _0x3fc731=JSON[_0x49d9('0xe7')](_0xcc6cdb),_0x220524=this[_0x49d9('0xe')][_0x49d9('0xbb')][_0x49d9('0xb0')]['document'],_0x391286=new _0x1c9d15(_0x220524,_0x3fc731[_0x49d9('0xdc')](_0x2302fa=>this[_0x49d9('0x56')](_0x2302fa)));return this[_0x49d9('0xe')]['data'][_0x49d9('0x1d')](_0x391286);}[_0x49d9('0x56')](_0x482e3e){const _0x302e23=this['editor'][_0x49d9('0xbb')][_0x49d9('0xb0')][_0x49d9('0xb')];if(_0x49d9('0xad')==typeof _0x482e3e)return new _0x3563ba(_0x302e23,_0x482e3e);{const _0x196e26=_0x482e3e[_0x49d9('0x29')]['map'](_0x65d9a=>this[_0x49d9('0x56')](_0x65d9a));return new(Y[_0x482e3e[(_0x49d9('0x102'))]]||_0x211491)(_0x302e23,_0x482e3e[_0x49d9('0xa0')],_0x482e3e[_0x49d9('0xce')],_0x196e26);}}['_getDiff'](_0x242bc2,_0x137726=null){const _0xd820dc=this['repository']['getRevision'](_0x242bc2),_0x119a41=_0x137726?this[_0x49d9('0x11')][_0x49d9('0xe2')](_0x137726):null,_0x7a36bf=this[_0x49d9('0x8d')](_0xd820dc,_0x119a41),_0x26cf6d=_0x7a36bf[_0x7a36bf['length']-0x1],_0x4bb82c=new Map();for(const _0x6d906 of _0x7a36bf){_0x6d906[_0x49d9('0x1a')]={};for(const _0x5c4268 of _0x6d906[_0x49d9('0xe3')])_0x4bb82c[_0x49d9('0xfb')](_0x5c4268['id'],_0x5c4268);for(const _0x19473 of this[_0x49d9('0xe')][_0x49d9('0x1a')]['document'][_0x49d9('0xed')]())_0x6d906['diffData'][_0x19473]||(_0x6d906[_0x49d9('0x65')][_0x19473]={'insertions':'[]','deletions':'[]'}),_0x6d906[_0x49d9('0x1a')][_0x19473]={'insertions':this['_makeModelFromViewString'](_0x6d906[_0x49d9('0x65')][_0x19473][_0x49d9('0x82')]),'deletions':this[_0x49d9('0xe0')](_0x6d906['diffData'][_0x19473][_0x49d9('0x8e')])};}const _0x7bdee0={'model':{},'changes':[]};for(const _0x499350 of this[_0x49d9('0xe')]['model']['document'][_0x49d9('0xed')]()){let _0x169d1b=null,_0x5a3c6a=0x0;const _0x56bac3=new Map(Array['from'](_0xd820dc[_0x49d9('0x1a')][_0x499350][_0x49d9('0x82')]['markers'])[_0x49d9('0x79')](([_0x493f95])=>!_0x493f95[_0x49d9('0xaf')](_0x49d9('0x40'))));let _0x3e3df2=0x0;for(const _0x1a30c9 of _0x7a36bf){const _0x2cd28d=this['_makeTape'](_0x1a30c9['model'][_0x499350][_0x49d9('0x82')]);_0x1a30c9==_0xd820dc?(_0x169d1b=_0x2cd28d,_0x5a3c6a=_0x169d1b[_0x49d9('0x48')],_0x169d1b[_0x49d9('0x4')](_0x1d56e2=>{_0x1d56e2['id']=_0x3e3df2++;}),this[_0x49d9('0x83')](_0x169d1b)):this[_0x49d9('0xc5')](_0x169d1b,_0x2cd28d);const _0x445a62=_0x169d1b[_0x49d9('0x79')](_0x44bd2c=>!_0x44bd2c['isAdded'])[_0x49d9('0xdc')](_0x1069c7=>_0x1069c7['id']);let _0x4dbe8b=0x0;const _0x367aa6=this[_0x49d9('0x46')](_0x1a30c9['model'][_0x499350][_0x49d9('0x8e')]);_0x367aa6[_0x49d9('0x4')](_0x110f4b=>{_0x110f4b[_0x49d9('0x4a')]?_0x110f4b['id']=_0x5a3c6a++:_0x110f4b['id']=_0x445a62[_0x4dbe8b++];}),this[_0x49d9('0x83')](_0x367aa6),this[_0x49d9('0x101')](_0x169d1b,_0x49d9('0xb1')),this[_0x49d9('0x101')](_0x367aa6,_0x49d9('0x4a')),_0x1a30c9==_0xd820dc&&this['_markMarkers'](_0x169d1b,_0x56bac3),_0x169d1b=this['_joinTapes'](_0x169d1b,_0x367aa6),this['_refreshStartEndIndex'](_0x169d1b),this[_0x49d9('0x101')](_0x169d1b,_0x49d9('0x4a'));}_0x169d1b=_0x169d1b[_0x49d9('0x79')](_0x58ead3=>!(_0x58ead3[_0x49d9('0xb1')]&&_0x58ead3[_0x49d9('0x4a')]));const _0x562da7=new Map(_0x26cf6d[_0x49d9('0x1a')][_0x499350][_0x49d9('0x8e')][_0x49d9('0x81')]),_0x48e20c=new Set(_0x56bac3['keys']());for(const _0xfb22ac of _0x562da7[_0x49d9('0xc')]())_0x48e20c[_0x49d9('0x7b')](_0xfb22ac);this['_markSuggestions'](_0x169d1b,_0x48e20c),this[_0x49d9('0xb3')](_0x169d1b),_0x169d1b=this[_0x49d9('0x50')](_0x169d1b),_0x169d1b=this['_markMismatchedRemovedTags'](_0x169d1b),_0x169d1b=this[_0x49d9('0xb2')](_0x169d1b);const {root:_0x3a7cc9,changes:_0x379020}=this[_0x49d9('0x4f')](_0x169d1b,_0x4bb82c);_0x7bdee0[_0x49d9('0x1a')][_0x499350]=_0x3a7cc9,_0x7bdee0[_0x49d9('0x10a')]=_0x7bdee0[_0x49d9('0x10a')][_0x49d9('0x31')](_0x379020);}return _0x7bdee0;}[_0x49d9('0x14')](_0x50931a,_0x3dfd6a){for(let _0x193c56=0x0;_0x193c56<_0x50931a['length'];_0x193c56++)for(const [_0x2cf5a6,_0x4ebe0c]of _0x3dfd6a)_0x4ebe0c['start'][_0x49d9('0x10b')](_0x50931a[_0x193c56]['previousPosition'])&&_0x50931a[_0x193c56]['markersStart'][_0x49d9('0x5f')](_0x2cf5a6),_0x4ebe0c[_0x49d9('0xf7')]['isEqual'](_0x50931a[_0x193c56][_0x49d9('0xf6')])&&_0x50931a[_0x193c56]['markersEnd'][_0x49d9('0x5f')](_0x2cf5a6);}[_0x49d9('0x105')](_0x5e6faf,_0x1fafb8){let _0xcf69ef=[],_0x49670d=0x0,_0x330273=0x0;for(;_0x49670d<_0x5e6faf[_0x49d9('0x48')]||_0x330273<_0x1fafb8[_0x49d9('0x48')];){const _0x417de4=_0x5e6faf[_0x49670d]||{},_0x2848e2=_0x1fafb8[_0x330273]||{};if(_0x417de4['id']==_0x2848e2['id'])_0x49670d++,_0x330273++,_0xcf69ef['push'](_0x417de4);else{if(_0x2848e2[_0x49d9('0x4a')]&&_0x417de4[_0x49d9('0xb1')]){const {commonTape:_0x4d058c,iEnd:_0x29247b,jEnd:_0x580d33}=this[_0x49d9('0x13')](_0x5e6faf,_0x49670d,_0x1fafb8,_0x330273);_0xcf69ef=_0xcf69ef['concat'](_0x4d058c),_0x49670d=_0x29247b,_0x330273=_0x580d33;}else _0x2848e2[_0x49d9('0x4a')]?(_0x330273++,_0xcf69ef[_0x49d9('0x5f')](_0x2848e2)):(_0x49670d++,_0xcf69ef[_0x49d9('0x5f')](_0x417de4));}}return _0xcf69ef;}[_0x49d9('0xeb')](_0x35a502,_0x5c0753){const _0x1bec62=[];for(let _0x52ac98=0x0;_0x52ac98<_0x35a502[_0x49d9('0x48')];_0x52ac98++){for(let _0x3f6651=0x0;_0x3f6651<_0x35a502[_0x52ac98][_0x49d9('0x21')][_0x49d9('0x48')];_0x3f6651++){const _0x5f0e2b=_0x35a502[_0x52ac98][_0x49d9('0x21')][_0x3f6651];if(!_0x5c0753['has'](_0x5f0e2b))continue;const {group:_0x1aa232,type:_0x21e09a,authorId:_0x518436}=_0x1ca902(_0x5f0e2b);_0x49d9('0xa8')!=_0x1aa232||_0x49d9('0x96')!=_0x21e09a&&_0x49d9('0xe4')!=_0x21e09a||(_0x1bec62[_0x49d9('0xea')]({'type':_0x21e09a,'name':_0x5f0e2b,'userId':_0x518436}),_0x35a502[_0x52ac98][_0x49d9('0x21')]['splice'](_0x3f6651,0x1),_0x3f6651--);}_0x33fe87(_0x35a502[_0x52ac98]);for(let _0x469e2a=0x0;_0x469e2a<_0x35a502[_0x52ac98][_0x49d9('0x60')][_0x49d9('0x48')];_0x469e2a++){const _0x5a962f=_0x35a502[_0x52ac98][_0x49d9('0x60')][_0x469e2a];if(!_0x5c0753[_0x49d9('0x2a')](_0x5a962f))continue;const {group:_0x408886,type:_0x7a1bc5}=_0x1ca902(_0x5a962f);if('revision-suggestion'!=_0x408886||_0x49d9('0x96')!=_0x7a1bc5&&_0x49d9('0xe4')!=_0x7a1bc5)continue;_0x35a502[_0x52ac98][_0x49d9('0x60')][_0x49d9('0xef')](_0x469e2a,0x1),_0x469e2a--;const _0x49561b=_0x1bec62[_0x49d9('0xb8')](_0xfd4b57=>_0xfd4b57[_0x49d9('0xa0')]==_0x5a962f);_0x49561b>-0x1&&_0x1bec62[_0x49d9('0xef')](_0x49561b,0x1);}}function _0x1ca902(_0x31c8f7){const _0x4c4eb1=_0x31c8f7[_0x49d9('0x36')](':');return{'group':_0x4c4eb1[0x0],'type':_0x4c4eb1[0x1],'subType':_0x4c4eb1[_0x49d9('0x48')]>=0x5?_0x4c4eb1[0x2]:null,'id':_0x4c4eb1[_0x49d9('0x48')]<0x5?_0x4c4eb1[0x2]:_0x4c4eb1[0x3],'authorId':_0x4c4eb1[_0x49d9('0x48')]<0x5?_0x4c4eb1[0x3]:_0x4c4eb1[0x4],'markerCount':0x6==_0x4c4eb1[_0x49d9('0x48')]?_0x4c4eb1[0x5]:null};}function _0x33fe87(_0x9cb77d){for(let _0x38a4b0=0x0;_0x38a4b0<_0x1bec62[_0x49d9('0x48')];_0x38a4b0++){if(_0x9cb77d[_0x49d9('0xb1')]&&_0x49d9('0x96')==_0x1bec62[_0x38a4b0][_0x49d9('0x102')])return _0x9cb77d[_0x49d9('0x67')]=_0x1bec62[_0x38a4b0],void delete _0x9cb77d[_0x49d9('0xb1')];if(!_0x9cb77d[_0x49d9('0xb1')]&&!_0x9cb77d[_0x49d9('0x4a')]&&_0x49d9('0xe4')==_0x1bec62[_0x38a4b0][_0x49d9('0x102')])return void(_0x9cb77d[_0x49d9('0xd0')]=_0x1bec62[_0x38a4b0]);}}}[_0x49d9('0x101')](_0x2906d6,_0x402b83){let _0xe54c25=0x0,_0x3669bb=!0x1;const _0x5ca58f=new Map();for(const _0x3c8f54 of _0x2906d6)_0x3c8f54[_0x402b83]?_0x3669bb&&(_0xe54c25++,_0x3669bb=!0x1):(_0xe54c25++,_0x3669bb=!0x0),_0x5ca58f[_0x49d9('0xfb')](_0x3c8f54['id'],_0xe54c25);for(let _0xc7f69b=0x0;_0xc7f69b<_0x2906d6['length'];_0xc7f69b++){if(_0x49d9('0x4a')==_0x402b83&&_0x2906d6[_0xc7f69b][_0x49d9('0xb1')]||_0x49d9('0xb1')==_0x402b83&&_0x2906d6[_0xc7f69b][_0x49d9('0x4a')])continue;if(_0x49d9('0x59')==_0x2906d6[_0xc7f69b][_0x49d9('0x102')]){_0x2906d6[_0xc7f69b][_0x49d9('0xcd')]=0x0;continue;}const _0x528ebd=_0x5ca58f[_0x49d9('0xe6')](_0x2906d6[_0xc7f69b]['pairId']),_0x1bccc7=_0x5ca58f[_0x49d9('0xe6')](_0x2906d6[_0xc7f69b]['id']);_0x2906d6[_0xc7f69b][_0x49d9('0xcd')]=_0x528ebd-_0x1bccc7;}}[_0x49d9('0x8d')](_0x846d64,_0x3a63c0,_0x1b889f=!0x1){const _0x3ff68e=[];let _0x310971=this[_0x49d9('0x11')][_0x49d9('0xd7')](_0x846d64),_0x27904f=this['repository'][_0x49d9('0xd7')](_0x3a63c0);for(-0x1==_0x27904f&&(_0x27904f=this[_0x49d9('0x11')]['_revisions'][_0x49d9('0x48')],_0x1b889f=!0x1);_0x310971<_0x27904f;)_0x3ff68e[_0x49d9('0x5f')](this['repository'][_0x49d9('0xe2')](_0x310971)),_0x310971++;return _0x1b889f&&_0x3ff68e['push'](this['repository'][_0x49d9('0xe2')](_0x310971)),_0x3ff68e;}[_0x49d9('0x13')](_0x5e9042,_0x4e9f6a,_0x202b71,_0x3bc67d){const _0x20e9e2=this[_0x49d9('0xe')]['model'][_0x49d9('0x26')];let _0x146967=_0x4e9f6a;for(;_0x5e9042[_0x146967]&&_0x5e9042[_0x146967][_0x49d9('0xb1')];)_0x146967++;let _0x4aaf66=_0x3bc67d;for(;_0x202b71[_0x4aaf66]&&_0x202b71[_0x4aaf66][_0x49d9('0x4a')];)_0x4aaf66++;_0x517813(_0x5e9042,_0x4e9f6a,_0x146967),_0x517813(_0x202b71,_0x3bc67d,_0x4aaf66);const _0x459393=_0x202b71[_0x49d9('0xff')](_0x3bc67d,_0x4aaf66)[_0x49d9('0x31')](_0x5e9042[_0x49d9('0xff')](_0x4e9f6a,_0x146967));return _0x459393[_0x49d9('0x7f')]((_0x4bcb24,_0x2021ae)=>_0x4bcb24['side']!=_0x2021ae['side']?_0x4bcb24[_0x49d9('0x8f')]-_0x2021ae[_0x49d9('0x8f')]:_0x4bcb24[_0x49d9('0xa5')]!=_0x2021ae['level']?_0x4bcb24[_0x49d9('0xa5')]-_0x2021ae['level']:_0x4bcb24[_0x49d9('0xcd')]!=_0x2021ae['distance']?_0x2021ae[_0x49d9('0xcd')]-_0x4bcb24[_0x49d9('0xcd')]:!!_0x4bcb24[_0x49d9('0xb1')]!=!!_0x2021ae[_0x49d9('0xb1')]?-0x1==_0x4bcb24['side']||0x0==_0x4bcb24[_0x49d9('0x8f')]?_0x4bcb24['isAdded']?-0x1:0x1:_0x4bcb24[_0x49d9('0xb1')]?0x1:-0x1:_0x4bcb24[_0x49d9('0x73')]-_0x2021ae[_0x49d9('0x73')]),{'commonTape':_0x459393,'iEnd':_0x146967,'jEnd':_0x4aaf66};function _0x517813(_0x562c38,_0x49441d,_0x2a97d4){let _0x12620b=-0x1,_0x50e2d6=Number[_0x49d9('0x10c')],_0x1dcc70=!0x0;for(let _0x342038=_0x49441d;_0x342038<_0x2a97d4;_0x342038++)if(_0x20e9e2[_0x49d9('0x25')](_0x562c38[_0x342038][_0x49d9('0xac')])||(_0x1dcc70=!0x1),_0x562c38[_0x342038][_0x49d9('0xac')][_0x49d9('0xb7')]<_0x49441d&&(_0x12620b=_0x342038),_0x562c38[_0x342038][_0x49d9('0xac')]['endIndex']>=_0x2a97d4){_0x50e2d6=_0x342038;break;}_0x1dcc70&&(_0x12620b=_0x2a97d4-0x1);for(let _0x13daf0=_0x49441d;_0x13daf0<_0x2a97d4;_0x13daf0++)_0x562c38[_0x13daf0]['side']=_0x13daf0<=_0x12620b?-0x1:_0x13daf0<_0x50e2d6?0x0:0x1,_0x562c38[_0x13daf0]['index']=_0x13daf0;let _0xcb3cdd=0x0;for(let _0x249a2e=_0x49441d;_0x249a2e<=_0x12620b;_0x249a2e++)0x0==_0x562c38[_0x249a2e][_0x49d9('0xcd')]?_0x562c38[_0x249a2e][_0x49d9('0xa5')]=_0xcb3cdd:(_0xcb3cdd++,_0x562c38[_0x249a2e]['level']=_0xcb3cdd,_0xcb3cdd++);for(let _0x116c24=_0x49441d;_0x116c24<_0x2a97d4;_0x116c24++)0x0==_0x562c38[_0x116c24][_0x49d9('0x8f')]&&(_0x562c38[_0x116c24]['level']=_0xcb3cdd);_0xcb3cdd=0x0;for(let _0x4b5201=_0x2a97d4-0x1;_0x4b5201>=_0x50e2d6;_0x4b5201--)0x0==_0x562c38[_0x4b5201]['distance']?_0x562c38[_0x4b5201][_0x49d9('0xa5')]=_0xcb3cdd:(_0xcb3cdd--,_0x562c38[_0x4b5201][_0x49d9('0xa5')]=_0xcb3cdd,_0xcb3cdd--);}}[_0x49d9('0xb3')](_0x214728){const _0x239fed=new Map(),_0x3ec657=this['editor']['model'][_0x49d9('0x26')];for(let _0x5f0c54=0x1;_0x5f0c54<_0x214728['length'];_0x5f0c54++){let _0x50cb8b,_0x1c2ec8,_0x440d34;const _0x5301f0=_0x214728[_0x5f0c54],_0x17cf05=_0x214728[_0x5f0c54-0x1];if(_0x49d9('0x59')==_0x5301f0[_0x49d9('0x102')])continue;if(_0x5301f0[_0x49d9('0x102')]!=_0x17cf05[_0x49d9('0x102')])continue;if(!_0x3ec657['isBlock'](_0x17cf05['item'])||_0x3ec657['isLimit'](_0x17cf05[_0x49d9('0xac')]))continue;if(!_0x3ec657['isBlock'](_0x5301f0['item'])||_0x3ec657['isLimit'](_0x5301f0[_0x49d9('0xac')]))continue;if((_0x214728[_0x5f0c54][_0x49d9('0xb1')]||_0x214728[_0x5f0c54][_0x49d9('0x67')])&&_0x214728[_0x5f0c54-0x1]['isRemoved'])_0x50cb8b=_0x214728[_0x5f0c54],_0x1c2ec8=_0x214728[_0x5f0c54-0x1],_0x440d34=_0x5f0c54-0x1;else{if(!_0x214728[_0x5f0c54]['isRemoved']||!_0x214728[_0x5f0c54-0x1][_0x49d9('0xb1')]&&!_0x214728[_0x5f0c54-0x1][_0x49d9('0x67')])continue;_0x50cb8b=_0x214728[_0x5f0c54-0x1],_0x1c2ec8=_0x214728[_0x5f0c54],_0x440d34=_0x5f0c54;}const _0x1d71c3=_0x50cb8b['level']==_0x1c2ec8[_0x49d9('0xa5')],_0x2e0627=Math[_0x49d9('0x95')](_0x50cb8b[_0x49d9('0xa5')])<Math['abs'](_0x1c2ec8[_0x49d9('0xa5')])&&0x0==_0x1c2ec8['distance'];(_0x1d71c3||_0x2e0627)&&(_0x239fed['set'](_0x1c2ec8['id'],_0x50cb8b['id']),_0x214728[_0x49d9('0xef')](_0x440d34,0x1),_0x5f0c54--,_0x50cb8b['isAdded']=!0x1);}for(let _0x4c98d6=0x0;_0x4c98d6<_0x214728[_0x49d9('0x48')];_0x4c98d6++)_0x239fed[_0x49d9('0x2a')](_0x214728[_0x4c98d6]['pairId'])&&(_0x214728[_0x4c98d6][_0x49d9('0x2f')]=_0x239fed[_0x49d9('0xe6')](_0x214728[_0x4c98d6][_0x49d9('0x2f')]));}[_0x49d9('0x50')](_0x366679){const _0x4a7bb0=new Set(_0x366679[_0x49d9('0xdc')](_0x1ad2de=>_0x1ad2de['id']));for(let _0x348d14=0x0;_0x348d14<_0x366679[_0x49d9('0x48')];_0x348d14++)_0x4a7bb0[_0x49d9('0x2a')](_0x366679[_0x348d14][_0x49d9('0x2f')])||0x0==_0x366679[_0x348d14]['distance']||(_0x366679[_0x348d14][_0x49d9('0x58')]=!0x0);return _0x366679['filter'](_0x58d524=>!_0x58d524[_0x49d9('0x58')]);}[_0x49d9('0xd')](_0x110132){const _0x1a34a9=new Set();for(let _0x2a0db2=0x0;_0x2a0db2<_0x110132[_0x49d9('0x48')];_0x2a0db2++){if(_0x1a34a9[_0x49d9('0x2a')](_0x110132[_0x2a0db2]['id'])&&_0x110132[_0x2a0db2]['isRemoved']&&(_0x110132[_0x2a0db2][_0x49d9('0x58')]=!0x0),_0x110132[_0x2a0db2][_0x49d9('0x58')])continue;if(0x0==_0x110132[_0x2a0db2][_0x49d9('0xcd')])continue;if(_0x49d9('0x5b')!=_0x110132[_0x2a0db2][_0x49d9('0x102')])continue;if(null==_0x110132[_0x2a0db2][_0x49d9('0x2f')])continue;let _0x3a28c7=_0x2a0db2+0x1,_0x2db127=0x0;for(;_0x110132[_0x3a28c7]['id']!=_0x110132[_0x2a0db2][_0x49d9('0x2f')];)'elementStart'==_0x110132[_0x3a28c7][_0x49d9('0x102')]?_0x2db127++:'elementEnd'==_0x110132[_0x3a28c7]['type']&&_0x2db127--,_0x3a28c7++;if(0x0!=_0x2db127){if(_0x110132[_0x2a0db2]['isRemoved'])_0x110132[_0x2a0db2][_0x49d9('0x58')]=!0x0;else for(;_0x3a28c7!=_0x2a0db2;)_0x110132[_0x3a28c7][_0x49d9('0x4a')]&&0x0!=_0x110132[_0x3a28c7][_0x49d9('0xcd')]&&(_0x110132[_0x3a28c7][_0x49d9('0x58')]=!0x0,_0x1a34a9[_0x49d9('0x57')](_0x110132[_0x3a28c7][_0x49d9('0x2f')])),_0x3a28c7--;}}return _0x110132[_0x49d9('0x79')](_0x6ab28=>!_0x6ab28['isIncorrect']);}[_0x49d9('0xb2')](_0x4ec61a){const _0x516375=this[_0x49d9('0xe')][_0x49d9('0x1a')][_0x49d9('0x26')];for(let _0x51e89c=0x0;_0x51e89c<_0x4ec61a['length'];_0x51e89c++){if(!(_0x4ec61a[_0x51e89c][_0x49d9('0xb1')]||_0x4ec61a[_0x51e89c][_0x49d9('0x67')]||_0x4ec61a[_0x51e89c]['isRemoved']||_0x4ec61a[_0x51e89c][_0x49d9('0xd0')]))continue;if(0x0==_0x4ec61a[_0x51e89c]['distance'])continue;const _0x2d2891=_0x4ec61a[_0x51e89c][_0x49d9('0xac')];_0x516375[_0x49d9('0xfe')](_0x2d2891)||_0x516375['isLimit'](_0x2d2891)||(_0x4ec61a[_0x51e89c]['isAdded']&&delete _0x4ec61a[_0x51e89c][_0x49d9('0xb1')],_0x4ec61a[_0x51e89c][_0x49d9('0x67')]&&delete _0x4ec61a[_0x51e89c][_0x49d9('0x67')],_0x4ec61a[_0x51e89c]['isRemoveSuggestion']&&delete _0x4ec61a[_0x51e89c][_0x49d9('0xd0')],_0x4ec61a[_0x51e89c]['isRemoved']&&(_0x4ec61a[_0x51e89c][_0x49d9('0x58')]=!0x0));}return _0x4ec61a[_0x49d9('0x79')](_0x2ea92a=>!_0x2ea92a[_0x49d9('0x58')]);}['_makeModelFromTape'](_0x2b37b1,_0x4108cf){const _0x5e6b22=new _0xfafee2(),_0x350f56=[],_0x1d430e=new Map(),_0x1e5b7a=this[_0x49d9('0xe')][_0x49d9('0x1a')],_0x55ab04=_0x1e5b7a[_0x49d9('0x26')],_0x50c690=[_0x5e6b22],_0x2a9d6a={},_0x5bb6b7={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4f8ea6=null;const _0x3ab6fd=[0x0];for(let _0x42caf8=0x0;_0x42caf8<_0x2b37b1[_0x49d9('0x48')];_0x42caf8++){let _0xa28cc2,_0x31db51;if(_0x49d9('0x5b')===_0x2b37b1[_0x42caf8][_0x49d9('0x102')]){_0xa28cc2=_0x1e5b7a[_0x49d9('0x6b')](_0x5e6b22,_0x3ab6fd);const _0x423e34=new _0x46cd6a(_0x2b37b1[_0x42caf8][_0x49d9('0xac')][_0x49d9('0xa0')],_0x2b37b1[_0x42caf8]['item'][_0x49d9('0x3e')]());_0x50c690[0x0][_0x49d9('0x1e')](_0x423e34),_0x3ab6fd[_0x49d9('0x5f')](0x0),_0x50c690['unshift'](_0x423e34),_0x31db51=_0x1e5b7a[_0x49d9('0x6b')](_0x5e6b22,_0x3ab6fd),_0x4f8ea6=null;}else{if(_0x49d9('0x20')===_0x2b37b1[_0x42caf8]['type'])_0x50c690['shift'](),_0xa28cc2=_0x1e5b7a[_0x49d9('0x6b')](_0x5e6b22,_0x3ab6fd),_0x3ab6fd[_0x49d9('0x3f')](),_0x3ab6fd[_0x3ab6fd[_0x49d9('0x48')]-0x1]++,_0x31db51=_0x1e5b7a[_0x49d9('0x6b')](_0x5e6b22,_0x3ab6fd),_0x4f8ea6=null;else{if(_0xa28cc2=_0x1e5b7a[_0x49d9('0x6b')](_0x5e6b22,_0x3ab6fd),_0x4f8ea6&&_0x4e9632(_0x4f8ea6,_0x2b37b1[_0x42caf8]['item']))_0x4f8ea6[_0x49d9('0xee')]+=_0x2b37b1[_0x42caf8][_0x49d9('0xac')][_0x49d9('0x1')];else{const _0x38ef9c=new _0x57b8d5(_0x2b37b1[_0x42caf8]['item']['data'],_0x2b37b1[_0x42caf8]['item'][_0x49d9('0x3e')]());_0x50c690[0x0][_0x49d9('0x1e')](_0x38ef9c),_0x4f8ea6=_0x38ef9c;}_0x3ab6fd[_0x3ab6fd[_0x49d9('0x48')]-0x1]+=_0x2b37b1[_0x42caf8][_0x49d9('0xac')][_0x49d9('0xb5')],_0x31db51=_0x1e5b7a[_0x49d9('0x6b')](_0x5e6b22,_0x3ab6fd);}}for(const _0x29c8a5 of _0x2b37b1[_0x42caf8][_0x49d9('0x21')])_0x1d430e[_0x49d9('0xfb')](_0x29c8a5,{'start':_0xa28cc2,'end':null});_0x91108(_0x49d9('0xd0'),_0x42caf8,_0xa28cc2,_0x31db51),_0x91108(_0x49d9('0x67'),_0x42caf8,_0xa28cc2,_0x31db51),_0x91108('isRemoved',_0x42caf8,_0xa28cc2,_0x31db51),_0x91108(_0x49d9('0xb1'),_0x42caf8,_0xa28cc2,_0x31db51);for(const _0x1bf9c0 of _0x2b37b1[_0x42caf8][_0x49d9('0x60')]){_0x1d430e[_0x49d9('0xe6')](_0x1bf9c0)[_0x49d9('0xf7')]=_0x31db51;}}for(const [_0x592110,_0xf02d2c]of _0x1d430e){const _0x28e249=this['editor'][_0x49d9('0x1a')]['createRange'](_0xf02d2c[_0x49d9('0x1b')],_0xf02d2c[_0x49d9('0xf7')]);_0x5e6b22[_0x49d9('0x81')]['set'](_0x592110,_0x28e249);}return _0x350f56[_0x49d9('0x7f')]((_0x415f3f,_0x5601a0)=>{const _0x51ecad=_0x5e6b22[_0x49d9('0x81')]['get'](_0x49d9('0x40')+_0x415f3f['id']),_0x2637e6=_0x5e6b22[_0x49d9('0x81')][_0x49d9('0xe6')]('revision:'+_0x5601a0['id']);return _0x51ecad[_0x49d9('0x1b')][_0x49d9('0x3c')](_0x2637e6[_0x49d9('0x1b')])?-0x1:_0x51ecad[_0x49d9('0x1b')][_0x49d9('0xec')](_0x2637e6[_0x49d9('0x1b')])?0x1:_0x51ecad['end'][_0x49d9('0x3c')](_0x2637e6['end'])?-0x1:_0x51ecad[_0x49d9('0xf7')]['isAfter'](_0x2637e6[_0x49d9('0xf7')])?0x1:_0x49d9('0x57')===_0x415f3f[_0x49d9('0x102')]?-0x1:0x1;}),{'root':_0x5e6b22,'changes':_0x350f56};function _0x91108(_0x491a2a,_0xc608fb,_0x2c1e6d,_0x4c7863){const _0x5510eb=!!_0x2b37b1[_0xc608fb][_0x491a2a],_0x515f7d=_0x5510eb?_0x2b37b1[_0xc608fb][_0x491a2a][_0x49d9('0x39')]:null,_0x21e661=_0xc608fb===_0x2b37b1[_0x49d9('0x48')]-0x1,_0x3bc886=_0x5bb6b7[_0x491a2a][0x0],_0x3eb505=_0x55ab04['isObject'](_0x2b37b1[_0xc608fb][_0x49d9('0xac')]);!_0x2a9d6a[_0x491a2a]&&_0x5510eb?_0x2a9d6a[_0x491a2a]={'start':_0x2c1e6d,'tapeItem':_0x2b37b1[_0xc608fb],'userId':_0x515f7d,'type':_0x491a2a}:_0x2a9d6a[_0x491a2a]&&!_0x5510eb?(_0x2a9d6a[_0x491a2a]['end']=_0x2c1e6d,_0x2548d7(_0x2a9d6a[_0x491a2a]),_0x2a9d6a[_0x491a2a]=null):_0x2a9d6a[_0x491a2a]&&_0x5510eb&&_0x2a9d6a[_0x491a2a][_0x49d9('0x39')]!==_0x515f7d&&(_0x2a9d6a[_0x491a2a]['end']=_0x2c1e6d,_0x3bc886&&_0x3bc886[_0x49d9('0x39')]===_0x2a9d6a[_0x491a2a]['userId']||_0x2548d7(_0x2a9d6a[_0x491a2a]),_0x2a9d6a[_0x491a2a]={'start':_0x2c1e6d,'tapeItem':_0x2b37b1[_0xc608fb],'userId':_0x515f7d,'type':_0x491a2a}),_0x2a9d6a[_0x491a2a]&&_0x3eb505&&('elementStart'!==_0x2b37b1[_0xc608fb][_0x49d9('0x102')]||_0x3bc886&&_0x3bc886[_0x49d9('0x39')]===_0x515f7d||_0x5bb6b7[_0x491a2a][_0x49d9('0xea')]({'userId':_0x515f7d,'object':_0x2b37b1[_0xc608fb][_0x49d9('0xac')],'change':_0x2a9d6a[_0x491a2a]}),_0x49d9('0x20')===_0x2b37b1[_0xc608fb][_0x49d9('0x102')]&&_0x3bc886&&_0x3bc886[_0x49d9('0x88')]===_0x2b37b1[_0xc608fb]['item']&&(_0x5bb6b7[_0x491a2a][_0x49d9('0x5e')](),_0x2a9d6a[_0x491a2a]=_0x3bc886['change'])),_0x2a9d6a[_0x491a2a]&&_0x21e661&&(_0x2a9d6a[_0x491a2a]['end']=_0x4c7863,_0x2548d7(_0x2a9d6a[_0x491a2a]),_0x2a9d6a[_0x491a2a]=null);}function _0x2548d7({start:_0x1645bf,end:_0x424ec0,tapeItem:_0x7a2fbd,userId:_0x3f632c,type:_0x4683a0}){const _0x439bb3=_0x7a2fbd[_0x49d9('0xac')],_0x1037ab=_0x1e5b7a[_0x49d9('0x26')][_0x49d9('0xfe')](_0x439bb3)&&!_0x1e5b7a[_0x49d9('0x26')][_0x49d9('0x37')](_0x439bb3),_0x2dda9a=_0x1645bf[_0x49d9('0x103')]==_0x424ec0['parent']&&_0x424ec0[_0x49d9('0xbe')];if(_0x1037ab&&_0x2dda9a)return;const _0x54d26f=_0x1e5b7a[_0x49d9('0x84')](_0x1645bf,_0x424ec0),_0x465976=_0x4108cf[_0x49d9('0xe6')](_0x3f632c),_0x48290e=new _0x149fc2({'author':_0x465976,'type':_0x49d9('0xb1')==_0x4683a0||_0x49d9('0x67')==_0x4683a0?_0x49d9('0x57'):_0x49d9('0x41'),'data':{'isSuggestion':'isAddSuggestion'==_0x4683a0||_0x49d9('0xd0')==_0x4683a0},'createdAt':new Date()});_0x350f56[_0x49d9('0x5f')](_0x48290e),_0x5e6b22['markers'][_0x49d9('0xfb')](_0x49d9('0x40')+_0x48290e['id'],_0x54d26f);}function _0x4e9632(_0x4a4d5f,_0x5ad119){const _0x35d94e=_0x4a4d5f[_0x49d9('0x3e')](),_0x33e921=_0x5ad119[_0x49d9('0x3e')]();for(const _0xdc1734 of _0x35d94e){if(_0xdc1734[0x1]!==_0x5ad119['getAttribute'](_0xdc1734[0x0]))return!0x1;_0x33e921['next']();}return _0x33e921[_0x49d9('0x54')]()[_0x49d9('0xf')];}}[_0x49d9('0x2e')](){this[_0x49d9('0xe')][_0x49d9('0xa2')]['for']('upcast')['dataToMarker']({'view':_0x49d9('0x100')}),this[_0x49d9('0xe')][_0x49d9('0xa2')][_0x49d9('0xa')]('editingDowncast')[_0x49d9('0xca')]({'model':_0x49d9('0x100'),'view':_0x22acae=>{const _0x370c6a=_0x22acae['markerName'][_0x49d9('0x36')](':')[0x1],_0x25a27a=this[_0x49d9('0x12')](_0x370c6a);if(!_0x25a27a)return null;const _0x40532d=_0x49d9('0x57')==_0x25a27a[_0x49d9('0x102')]?_0x49d9('0x96'):_0x49d9('0xe4'),_0x51632a=[_0x49d9('0x52'),'ck-suggestion-marker-'+_0x40532d];return _0x25a27a[_0x49d9('0x1')][_0x49d9('0x108')]&&_0x51632a[_0x49d9('0x5f')](_0x49d9('0xd2')+_0x40532d+_0x49d9('0xe1')),this['activeChange']==_0x25a27a&&_0x51632a[_0x49d9('0x5f')]('ck-suggestion-marker--active'),{'classes':_0x51632a,'attributes':{'data-change-id':_0x370c6a}};}}),this['editor']['conversion'][_0x49d9('0xa')](_0x49d9('0x104'))[_0x49d9('0x57')](_0x240bb8=>{_0x240bb8['on']('element:pre',(_0x4de27d,_0x23aeab,_0xf42e06)=>{const _0x21243f=_0x23aeab[_0x49d9('0xcb')]['getChild'](0x0);if(!_0x21243f||!_0x21243f['is'](_0x49d9('0xdd'),_0x49d9('0xae')))return;if(!_0xf42e06[_0x49d9('0x22')][_0x49d9('0x87')](_0x21243f,{'attributes':[_0x49d9('0x71'),_0x49d9('0xb6')]}))return;const _0x3cb44b=_0x23aeab[_0x49d9('0x5')]['start'][_0x49d9('0x103')];_0xf42e06[_0x49d9('0x10e')][_0x49d9('0x27')](_0x49d9('0x71'),_0x21243f[_0x49d9('0x7a')]('vid_start'),_0x3cb44b),_0xf42e06[_0x49d9('0x10e')][_0x49d9('0x27')](_0x49d9('0xb6'),_0x21243f['getAttribute'](_0x49d9('0xb6')),_0x3cb44b);},{'priority':_0x49d9('0xd5')});}),this[_0x49d9('0xe')]['conversion'][_0x49d9('0xa')](_0x49d9('0x104'))[_0x49d9('0x57')](_0x537864=>{_0x537864['on'](_0x49d9('0xdd'),(_0x3dfb2c,_0x1d9796,_0x4c3d24)=>{if(!_0x4c3d24[_0x49d9('0x22')]['consume'](_0x1d9796['viewItem'],{'attributes':[_0x49d9('0x71'),_0x49d9('0xb6')]}))return;if(_0x1d9796[_0x49d9('0x5')][_0x49d9('0x0')])return;const _0x4a0af7=_0x1d9796['modelRange'][_0x49d9('0x1b')][_0x49d9('0x103')];_0x4a0af7[_0x49d9('0x4b')](_0x49d9('0x71'))||_0x4a0af7[_0x49d9('0x4b')](_0x49d9('0x92'))||(_0x4c3d24[_0x49d9('0x10e')][_0x49d9('0x27')](_0x49d9('0x71'),_0x1d9796[_0x49d9('0xcb')]['getAttribute'](_0x49d9('0x71')),_0x4a0af7),_0x4c3d24[_0x49d9('0x10e')]['setAttribute'](_0x49d9('0xb6'),_0x1d9796[_0x49d9('0xcb')]['getAttribute'](_0x49d9('0xb6')),_0x4a0af7));},{'priority':_0x49d9('0xd5')});}),this[_0x49d9('0xe')][_0x49d9('0xa2')][_0x49d9('0xa')]('upcast')[_0x49d9('0x78')]({'view':{'name':_0x49d9('0x47'),'attributes':{'vid':!0x0}},'model':{'key':_0x49d9('0x92'),'value':_0x3e99b2=>_0x3e99b2[_0x49d9('0x7a')](_0x49d9('0x92'))}}),this['editor'][_0x49d9('0x1a')][_0x49d9('0x26')]['on'](_0x49d9('0x6f'),(_0x2c70c6,[,_0x1c7439])=>{['vid_start',_0x49d9('0xb6'),_0x49d9('0x92')][_0x49d9('0x75')](_0x1c7439)&&(_0x2c70c6[_0x49d9('0xd3')]=!0x0,_0x2c70c6[_0x49d9('0x5a')]());},{'priority':_0x49d9('0x1c')}),this[_0x49d9('0xe')][_0x49d9('0xa2')][_0x49d9('0xa')](_0x49d9('0x35'))[_0x49d9('0x57')](_0x40d1d7=>{_0x40d1d7['on'](_0x49d9('0xc1'),(_0x1b4216,_0x451b40,_0x4e665f)=>{if('\x20'!=_0x451b40['item'][_0x49d9('0x1')]||_0x451b40[_0x49d9('0xac')][_0x49d9('0xda')]['maxOffset']>0x1)return;if(!_0x4e665f[_0x49d9('0x22')][_0x49d9('0x87')](_0x451b40[_0x49d9('0xac')],_0x1b4216[_0x49d9('0xa0')]))return;const _0x229118=_0x4e665f['writer'],_0x41c6cc=_0x4e665f[_0x49d9('0xcc')]['toViewRange'](_0x451b40[_0x49d9('0x7d')]);_0x229118[_0x49d9('0x93')](_0x41c6cc,_0x229118['createAttributeElement'](_0x49d9('0x47')));});}),this[_0x49d9('0xe')][_0x49d9('0xa2')][_0x49d9('0xa')](_0x49d9('0x35'))[_0x49d9('0x45')]({'model':_0x49d9('0x100')}),this[_0x49d9('0xe')][_0x49d9('0xbb')][_0x49d9('0xe9')]['on'](_0x49d9('0xa4'),function(_0xd8d2fd){const _0x3030cb=_0xd8d2fd[_0x49d9('0xcf')]['get'](_0x49d9('0x17'));return(_0x56a486,_0x118bb9,_0x782243)=>{const _0x4fa1bd=_0x118bb9[_0x49d9('0x89')][_0x49d9('0x36')](':')[0x1],_0xf5216d=_0x3030cb[_0x49d9('0x12')](_0x4fa1bd);if(!_0xf5216d)return null;const _0x7fad6b=_0x49d9('0x57')==_0xf5216d[_0x49d9('0x102')]?_0x49d9('0x36'):_0x49d9('0x8c');if(!_0x782243[_0x49d9('0x22')][_0x49d9('0xf1')](_0x118bb9[_0x49d9('0x99')],_0x56a486['name']))return;const _0xbf2eb0=_0x118bb9['markerRange'][_0x49d9('0x3b')](),_0x42bfe7=_0x118bb9['markerRange'][_0x49d9('0x1b')],_0x12739a=_0xd8d2fd[_0x49d9('0x1a')]['schema'];let _0x27dc29=null,_0xad04c1=null,_0x4bb269=!0x1,_0x3d0120=!0x1;for(const _0x2f7d2f of _0xbf2eb0){const _0x280d3b=_0x2f7d2f[_0x49d9('0xac')];_0x4bb269=_0x4bb269||_0x12739a[_0x49d9('0x42')](_0x280d3b);const _0x32609a=_0x782243['mapper']['toViewElement'](_0x280d3b);if(_0x32609a&&_0x32609a[_0x49d9('0xf8')](_0x49d9('0xbd')))return;_0x49d9('0x20')==_0x2f7d2f[_0x49d9('0x102')]&&(_0x12739a[_0x49d9('0xfe')](_0x280d3b)&&!_0x12739a[_0x49d9('0x37')](_0x280d3b)&&(_0x280d3b[_0x49d9('0xf9')]||_0x42bfe7[_0x49d9('0x6e')]?_0x27dc29&&_0x27dc29[_0x49d9('0xda')]==_0x280d3b||(_0x27dc29=_0x280d3b,_0x143408(_0x2f7d2f[_0x49d9('0x3a')]),_0x3d0120=!0x0):_0xad04c1=_0xad04c1||_0x2f7d2f[_0x49d9('0x3a')]));}function _0x143408(_0x4b1d6c){const _0xaa612=_0x782243['writer']['createUIElement']('span',{'class':_0x49d9('0xd2')+_0x7fad6b}),_0x3883e5=_0x782243['mapper']['toViewPosition'](_0x4b1d6c);_0xf5216d[_0x49d9('0x1')][_0x49d9('0x108')]&&_0x782243[_0x49d9('0x10e')][_0x49d9('0x66')](_0x49d9('0xd2')+_0x7fad6b+_0x49d9('0xe1'),_0xaa612),_0x3030cb['activeChange']==_0xf5216d&&_0x782243[_0x49d9('0x10e')][_0x49d9('0x66')](_0x49d9('0x8a'),_0xaa612),_0x782243['writer'][_0x49d9('0x69')](_0x3883e5,_0xaa612),_0x782243[_0x49d9('0xcc')]['bindElementToMarker'](_0xaa612,_0x118bb9[_0x49d9('0x89')]);}_0x4bb269||_0x3d0120||!_0xad04c1||_0x143408(_0xad04c1);};}(this[_0x49d9('0xe')]),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on'](_0x49d9('0xfc'),(_0x25cbbb,_0x4c83d7,_0x52574d)=>{const _0x592d32=_0x52574d[_0x49d9('0xcc')][_0x49d9('0x68')](_0x4c83d7[_0x49d9('0x89')]);if(_0x592d32)for(const _0x1cb20e of _0x592d32)(_0x1cb20e[_0x49d9('0x55')](_0x49d9('0x49'))||_0x1cb20e[_0x49d9('0x55')](_0x49d9('0x6c')))&&(_0x52574d[_0x49d9('0xcc')][_0x49d9('0x8')](_0x1cb20e,_0x4c83d7[_0x49d9('0x89')]),_0x52574d[_0x49d9('0x10e')][_0x49d9('0x41')](_0x1cb20e));},{'priority':_0x49d9('0x72')}),this[_0x49d9('0xe')]['editing'][_0x49d9('0xe9')]['on'](_0x49d9('0xa4'),(_0x59dbd6,_0x1f3744,_0x404f7b)=>{const _0x108045=_0x1f3744['markerName']['split'](':')[0x1],_0x32c313=this[_0x49d9('0x12')](_0x108045);if(!_0x32c313)return null;const _0xee4396=_0x49d9('0x57')==_0x32c313[_0x49d9('0x102')]?_0x49d9('0x36'):_0x49d9('0x8c');if(_0x404f7b[_0x49d9('0x22')][_0x49d9('0xf1')](_0x1f3744[_0x49d9('0x99')],_0x59dbd6['name']))for(const _0x347f19 of _0x1f3744[_0x49d9('0x99')][_0x49d9('0x91')]()){if(!_0x347f19['is'](_0x49d9('0xdd'),'softBreak'))continue;const _0x5c7d81=_0x404f7b[_0x49d9('0x10e')][_0x49d9('0xdf')](_0x49d9('0x47'),{'class':_0x49d9('0xd2')+_0xee4396}),_0x41d193=_0x404f7b['mapper'][_0x49d9('0x10d')](this['editor'][_0x49d9('0x1a')][_0x49d9('0x32')](_0x347f19));_0x32c313[_0x49d9('0x1')]['isSuggestion']&&_0x404f7b[_0x49d9('0x10e')][_0x49d9('0x66')](_0x49d9('0xd2')+_0xee4396+'-new',_0x5c7d81),this[_0x49d9('0xc0')]==_0x32c313&&_0x404f7b['writer'][_0x49d9('0x66')]('ck-suggestion-marker--active',_0x5c7d81),_0x404f7b[_0x49d9('0x10e')][_0x49d9('0x69')](_0x41d193,_0x5c7d81),_0x404f7b['mapper'][_0x49d9('0x4c')](_0x5c7d81,_0x1f3744[_0x49d9('0x89')]);}},{'priority':_0x49d9('0x72')}),this[_0x49d9('0xe')]['conversion']['for'](_0x49d9('0x104'))[_0x49d9('0x6a')]({'view':_0x49d9('0xf3'),'model':_0xb2e4e2=>_0x49d9('0x3')+_0xb2e4e2,'converterPriority':'highest'}),this['editor'][_0x49d9('0xa2')]['for'](_0x49d9('0x104'))[_0x49d9('0x6a')]({'view':_0x49d9('0xb4'),'model':_0x3cf6e1=>'revision-suggestion:'+_0x3cf6e1,'converterPriority':'highest'}),this[_0x49d9('0xe')][_0x49d9('0xa2')][_0x49d9('0xa')](_0x49d9('0x35'))[_0x49d9('0x45')]({'model':_0x49d9('0xa8'),'view':_0xeee343=>_0x49d9('0x9e')+_0xeee343,'converterPriority':'highest'}),this['editor']['conversion'][_0x49d9('0xa')](_0x49d9('0xe8'))['markerToHighlight']({'model':_0x49d9('0xa8'),'view':_0x4eda4f=>{const _0x335967=_0x4eda4f[_0x49d9('0x89')][_0x49d9('0x36')](':')[0x1];return _0x49d9('0x96')!=_0x335967&&_0x49d9('0xe4')!=_0x335967?null:{'classes':[_0x49d9('0x51'),'ck-suggestion-preview-marker-'+_0x335967]};}}),this[_0x49d9('0xe')][_0x49d9('0xbb')][_0x49d9('0xe9')]['on'](_0x49d9('0xba'),Z(this[_0x49d9('0xe')],_0x49d9('0x8c')),{'priority':_0x49d9('0x72')}),this['editor']['editing'][_0x49d9('0xe9')]['on'](_0x49d9('0xc6'),Z(this[_0x49d9('0xe')],_0x49d9('0x36')),{'priority':_0x49d9('0x72')}),this[_0x49d9('0xe')][_0x49d9('0xbb')][_0x49d9('0xe9')]['on'](_0x49d9('0xd8'),(_0x55d142,_0x2b5a92,_0x2b04bf)=>{const _0x1f8580=_0x2b04bf[_0x49d9('0xcc')]['markerNameToElements'](_0x2b5a92['markerName']);if(_0x1f8580)for(const _0x5d7bdb of _0x1f8580)_0x5d7bdb['is'](_0x49d9('0x30'))&&(_0x2b04bf[_0x49d9('0xcc')][_0x49d9('0x8')](_0x5d7bdb,_0x2b5a92[_0x49d9('0x89')]),_0x2b04bf[_0x49d9('0x10e')][_0x49d9('0x41')](_0x5d7bdb));},{'priority':'high'});}['_getChangeFromId'](_0x23985c){return this[_0x49d9('0x2c')][_0x49d9('0xe6')](_0x23985c);}[_0x49d9('0xd1')](_0x227297){this[_0x49d9('0x19')]&&this[_0x49d9('0x19')][_0x49d9('0x34')](),this[_0x49d9('0x19')]=new _0x28a01d(this[_0x49d9('0xe')]['locale'],_0x227297);const _0x47e46b=this[_0x49d9('0xe')][_0x49d9('0x1a')][_0x49d9('0x81')][_0x49d9('0xe6')]('revision:'+_0x227297['id']);return this['_changeView'][_0x49d9('0xf2')]=()=>_0x42c54e(this[_0x49d9('0xe')][_0x49d9('0xbb')],_0x47e46b),this['_changeView'];}['_initInteractions'](){this[_0x49d9('0xe')][_0x49d9('0x1a')][_0x49d9('0xb')][_0x49d9('0xa9')][_0x49d9('0x16')](_0x49d9('0x100')),this['on'](_0x49d9('0xa6'),(_0x203042,_0x4ed11c,_0x1dbbe3,_0xfcf33c)=>{_0xfcf33c&&this['_balloon']['remove'](_0xfcf33c),_0x1dbbe3&&(this['_balloon'][_0x49d9('0x57')]({'view':_0x1dbbe3,'stackId':_0x49d9('0x28'),'position':{'target':_0x1dbbe3[_0x49d9('0xf2')]}}),this['_balloon'][_0x49d9('0xd9')](_0x49d9('0x28')));}),this['on']('change:activeChange',(_0x3b43f8,_0x311079,_0x5cb3c1,_0x2a4cf8)=>{this[_0x49d9('0x64')]=_0x5cb3c1?this['_getViewForChange'](_0x5cb3c1):null,this[_0x49d9('0xe')][_0x49d9('0x1a')]['change'](()=>{const _0x3e37cf=this['editor'][_0x49d9('0xbb')];_0x2a4cf8&&_0x3e37cf['reconvertMarker'](_0x49d9('0x40')+_0x2a4cf8['id']),_0x5cb3c1&&_0x3e37cf[_0x49d9('0x38')](_0x49d9('0x40')+_0x5cb3c1['id']);});}),this[_0x49d9('0xf0')](this[_0x49d9('0xe')]['editing']['view'][_0x49d9('0xb')],_0x49d9('0xa1'),(_0xf2e9a4,_0x5aa60e)=>{if(this[_0x49d9('0xc0')])return;const _0x25b14a=this['_findChangeIdFromDomTarget'](_0x5aa60e[_0x49d9('0x6')]),_0x5a92aa=this[_0x49d9('0x2c')][_0x49d9('0xe6')](_0x25b14a);this[_0x49d9('0x64')]=_0x5a92aa?this[_0x49d9('0xd1')](_0x5a92aa):null;}),this[_0x49d9('0xf0')](this[_0x49d9('0xe')]['editing'][_0x49d9('0xb0')][_0x49d9('0xb')],_0x49d9('0x76'),(_0x1ed74b,_0xacc95b)=>{const _0x26963f=this[_0x49d9('0xbf')](_0xacc95b[_0x49d9('0x6')]),_0x8ccab9=this[_0x49d9('0x2c')][_0x49d9('0xe6')](_0x26963f);this[_0x49d9('0xc0')]=_0x8ccab9||null;});}['_findChangeIdFromDomTarget'](_0x1cc659){do{const _0x5a73b2=_0x1cc659['getAttribute'](_0x49d9('0xf5'));if(_0x5a73b2)return _0x5a73b2;_0x1cc659=_0x1cc659[_0x49d9('0xda')];}while(_0x1cc659);return null;}['_cleanMarkers'](){this['editor'][_0x49d9('0x1a')][_0x49d9('0xc4')](_0xc112ba=>{for(const _0x394448 of this[_0x49d9('0xe')][_0x49d9('0x1a')][_0x49d9('0x81')])_0xc112ba[_0x49d9('0x86')](_0x394448);});}}function Z(_0x2aeb8e,_0x4b72a8){return(_0x57cedd,_0x4a5a66,_0x3cc64b)=>{if(!_0x3cc64b[_0x49d9('0x22')]['test'](_0x4a5a66[_0x49d9('0x99')],_0x57cedd[_0x49d9('0xa0')]))return;const _0x5c1f11=_0x4a5a66[_0x49d9('0x99')]['getWalker'](),_0x217566=_0x4a5a66['markerRange'][_0x49d9('0x1b')],_0x38224f=_0x2aeb8e[_0x49d9('0x1a')][_0x49d9('0x26')];let _0x16fde8=null,_0x49f1b8=null,_0x13d827=!0x1,_0x17122c=!0x1;for(const _0x2ae1da of _0x5c1f11){const _0x15b14f=_0x2ae1da[_0x49d9('0xac')];_0x13d827=_0x13d827||_0x38224f[_0x49d9('0x42')](_0x15b14f);const _0x465e1c=_0x3cc64b[_0x49d9('0xcc')][_0x49d9('0x109')](_0x15b14f);if(_0x465e1c&&_0x465e1c[_0x49d9('0xf8')](_0x49d9('0xbd')))return;_0x49d9('0x20')==_0x2ae1da[_0x49d9('0x102')]&&(_0x38224f[_0x49d9('0xfe')](_0x15b14f)&&!_0x38224f['isLimit'](_0x15b14f)&&(_0x15b14f[_0x49d9('0xf9')]||_0x217566[_0x49d9('0x6e')]?_0x16fde8&&_0x16fde8[_0x49d9('0xda')]==_0x15b14f||(_0x16fde8=_0x15b14f,_0x3a2c50(_0x2ae1da[_0x49d9('0x3a')]),_0x17122c=!0x0):_0x49f1b8=_0x49f1b8||_0x2ae1da[_0x49d9('0x3a')]));}function _0x3a2c50(_0x5af3cb){const _0x116c67=_0x3cc64b['mapper']['toViewPosition'](_0x5af3cb),_0x52ac10=_0x3cc64b['writer'][_0x49d9('0xdf')]('span',{'class':_0x49d9('0x4d')+_0x4b72a8});_0x3cc64b['writer']['insert'](_0x116c67,_0x52ac10),_0x3cc64b['mapper'][_0x49d9('0x4c')](_0x52ac10,_0x4a5a66[_0x49d9('0x89')]);}_0x13d827||_0x17122c||!_0x49f1b8||_0x3a2c50(_0x49f1b8);};}_0x101743(d,_0x380d3e);class tt extends _0x525b9d{constructor(_0x2acd8a){super(_0x2acd8a);const _0x1ec67d=_0x2acd8a['plugins'][_0x49d9('0xe6')](d);this[_0x49d9('0x9')](_0x2acd8a,_0x49d9('0xf4')),this[_0x49d9('0x9c')]('readOnlyMode'),this[_0x49d9('0xf0')](_0x1ec67d,_0x49d9('0x62'),()=>this[_0x49d9('0x1f')]()),this[_0x49d9('0xf0')](_0x1ec67d,_0x49d9('0x53'),()=>this[_0x49d9('0x1f')]());}['execute'](){const _0x24e625=this[_0x49d9('0xe')],_0x266092=_0x24e625['plugins'][_0x49d9('0xe6')](d),_0x26c12d=_0x266092['isReady']?_0x266092[_0x49d9('0x107')][_0x49d9('0x15')]:null;_0x24e625[_0x49d9('0x7c')][_0x49d9('0xe6')](_0x49d9('0x33'))['restoreRevisionCallback'](_0x26c12d);}[_0x49d9('0x1f')](){const {isReady:_0x4528b4,isEnabled:_0x45d28f}=this[_0x49d9('0xe')][_0x49d9('0xcf')][_0x49d9('0xe6')](d);this[_0x49d9('0x97')]=_0x4528b4&&_0x45d28f;}}class et extends _0x525b9d{constructor(_0x20cd5e,{direction:_0x10cf27}){super(_0x20cd5e);const _0x3b07db=_0x20cd5e[_0x49d9('0xcf')][_0x49d9('0xe6')](d);this[_0x49d9('0x9')](_0x20cd5e,'change:isReadOnly'),this[_0x49d9('0x9c')](_0x49d9('0xa3')),this[_0x49d9('0x6d')]='forward'===_0x10cf27?0x1:-0x1,this[_0x49d9('0xf0')](_0x3b07db,_0x49d9('0x62'),()=>this[_0x49d9('0x1f')]()),this[_0x49d9('0xf0')](_0x3b07db,_0x49d9('0x53'),()=>this[_0x49d9('0x1f')]());}['execute'](){const _0x4adb33=this[_0x49d9('0xe')],_0x2f44d4=_0x4adb33[_0x49d9('0xcf')][_0x49d9('0xe6')](d),{isNavigationMode:_0x312f41,currentChangeNumber:_0x133e66}=_0x2f44d4;_0x2f44d4[_0x49d9('0xc0')]=_0x312f41?_0x2f44d4['diff'][_0x49d9('0x10a')][_0x49d9('0xe6')](_0x133e66+this['_step']):_0x2f44d4[_0x49d9('0x107')][_0x49d9('0x10a')]['first'];const _0x48b1c4=_0x4adb33[_0x49d9('0x1a')][_0x49d9('0x81')][_0x49d9('0xe6')]('revision:'+_0x2f44d4[_0x49d9('0xc0')]['id']),_0x228cc4=_0x42c54e(_0x4adb33['editing'],_0x48b1c4);_0xbad102({'target':_0x228cc4,'viewportOffset':0x28});}[_0x49d9('0x1f')](){const {isNavigationMode:_0x3dd8de,currentChangeNumber:_0x3917df,numberOfChanges:_0x2c677b,isReady:_0x6456b5,isEnabled:_0x519369}=this[_0x49d9('0xe')][_0x49d9('0xcf')][_0x49d9('0xe6')](d);this['isEnabled']=!!(_0x519369&&_0x6456b5&&_0x2c677b)&&(!_0x3dd8de||(0x1===this[_0x49d9('0x6d')]?_0x3917df<_0x2c677b-0x1:_0x3917df>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17fa=['execute','ck-revision-history-sidebar__revision__actions','model','isEnabled','isVisible','Show\x20more\x20items','function','name','isActionsDropdownOpen','class','locale','isReady','source','extendTemplate','bind','buttonView','bindTemplate','Restore\x20this\x20revision','action','add','Name\x20this\x20revision','ck-on','_action','Compare\x20against\x20selected','set','stopPropagation','panelPosition','button'];(function(_0x4219a4,_0x17fa48){const _0xaa653d=function(_0x4866fb){while(--_0x4866fb){_0x4219a4['push'](_0x4219a4['shift']());}};_0xaa653d(++_0x17fa48);}(_0x17fa,0x179));const _0xaa65=function(_0x4219a4,_0x17fa48){_0x4219a4=_0x4219a4-0x0;let _0xaa653d=_0x17fa[_0x4219a4];return _0xaa653d;};import{Collection as _0x52ce06}from'ckeditor5/src/utils';import{Model as _0x5478b3,addListToDropdown as _0x46df74,createDropdown as _0x408cc5}from'ckeditor5/src/ui';import{getTranslation as _0x43624f}from'../../utils/common-translations';import _0x5f58ce from'@ckeditor/ckeditor5-core/theme/icons/three-vertical-dots.svg';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x2f276b,_0x11e28d){const _0x20641c=_0x2f276b[_0xaa65('0x3')],_0x52a904=_0x2f276b[_0xaa65('0x19')],_0x3dc723=_0x408cc5(_0x52a904);_0x3dc723[_0xaa65('0xd')]='sw';const _0x39afde=function(_0xfd9e31,_0x252b98){const _0x428f9c=function(_0x3bf455,_0x40c6e8){const _0xfe497a=_0x3bf455['locale'],_0x2e047e={'Compare\x20against\x20selected':_0x43624f(_0xfe497a,_0xaa65('0xa')),'Name\x20this\x20revision':_0x43624f(_0xfe497a,_0xaa65('0x7')),'Restore\x20this\x20revision':_0x43624f(_0xfe497a,_0xaa65('0x4'))};return _0x40c6e8['map'](_0x5e5fee=>{const _0x4969fd=_0x2e047e[_0x5e5fee[_0xaa65('0x16')]];return _0x4969fd&&_0x4969fd!==_0x5e5fee[_0xaa65('0x16')]&&(_0x5e5fee[_0xaa65('0x16')]=_0x4969fd),_0x5e5fee;});}(_0xfd9e31,_0x252b98),_0x32401d=new _0x52ce06();for(const _0x18d8c9 of _0x428f9c){const _0x5cde2d={'type':_0xaa65('0xe'),'model':new _0x5478b3({'label':_0x18d8c9[_0xaa65('0x16')],'class':_0x18d8c9[_0xaa65('0x18')],'withText':!0x0,'_action':_0x18d8c9[_0xaa65('0x5')]})};_0x5cde2d['model']['bind'](_0xaa65('0x13'))['to'](_0xfd9e31,_0xaa65('0x17'),_0x592fc0=>_0xaa65('0x15')!=typeof _0x18d8c9['isVisible']||(!_0x592fc0||_0x18d8c9['isVisible'](_0xfd9e31))),_0x5cde2d[_0xaa65('0x11')][_0xaa65('0x1')](_0xaa65('0x12'))['to'](_0xfd9e31,'isActionsDropdownOpen',_0x1c4cd8=>_0xaa65('0x15')!=typeof _0x18d8c9[_0xaa65('0x12')]||(!_0x1c4cd8||_0x18d8c9[_0xaa65('0x12')](_0xfd9e31))),_0x32401d[_0xaa65('0x6')](_0x5cde2d);}return _0x32401d;}(_0x2f276b,_0x11e28d);return _0x2f276b[_0xaa65('0x1')](_0xaa65('0x17'))['to'](_0x3dc723,'isOpen'),_0x3dc723[_0xaa65('0x2')][_0xaa65('0xb')]({'label':_0x43624f(_0x52a904,_0xaa65('0x14')),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5f58ce}),_0x3dc723[_0xaa65('0x0')]({'attributes':{'class':[_0xaa65('0x10'),_0x20641c['if'](_0xaa65('0x17'),_0xaa65('0x8'))]},'on':{'click':_0x20641c['to'](_0xcce467=>_0xcce467[_0xaa65('0xc')]())}}),_0x3dc723['on'](_0xaa65('0xf'),_0x17ca4a=>{_0x2f276b[_0xaa65('0x1a')]&&_0xaa65('0x15')==typeof _0x17ca4a[_0xaa65('0x1b')][_0xaa65('0x9')]&&_0x17ca4a['source'][_0xaa65('0x9')](_0x2f276b);}),_0x46df74(_0x3dc723,_0x39afde),_0x3dc723;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x597b=['name','set','Revision\x20author','Revision\x20creator','ck-revision-history-sidebar__revision-author','ck-revision-history-sidebar__revision-author__name','span','0\x200\x2011\x2010','setTemplate','ck-revision-history-sidebar__revision-author_creator'];(function(_0x4a2efc,_0x597b4d){const _0x248d54=function(_0x1b6a8b){while(--_0x1b6a8b){_0x4a2efc['push'](_0x4a2efc['shift']());}};_0x248d54(++_0x597b4d);}(_0x597b,0x19b));const _0x248d=function(_0x4a2efc,_0x597b4d){_0x4a2efc=_0x4a2efc-0x0;let _0x248d54=_0x597b[_0x4a2efc];return _0x248d54;};import{View as _0x1e8edb,IconView as _0x19b0b1}from'ckeditor5/src/ui';import{getTranslation as _0x1fec45}from'../../utils/common-translations';import _0x119179 from'../../../theme/icons/user.svg';import'../../../theme/revision/revisionauthor.css';export default class ti extends _0x1e8edb{constructor(_0x256f22,_0x5d0615,_0x2ded82){super(_0x256f22);const _0x1d3bb5=new _0x19b0b1(_0x256f22);_0x1d3bb5[_0x248d('0x0')]({'content':_0x119179,'viewBox':_0x248d('0x6')});const _0x28ebf6=['ck',_0x248d('0x3')];_0x2ded82&&_0x28ebf6['push'](_0x248d('0x8'));const _0x514972=[{'tag':_0x248d('0x5'),'attributes':{'class':['ck',_0x248d('0x4')],'title':_0x1fec45(_0x256f22,_0x2ded82?_0x248d('0x2'):_0x248d('0x1'))},'children':[_0x1d3bb5,_0x5d0615[_0x248d('0x9')]]}];this[_0x248d('0x7')]({'tag':'li','attributes':{'class':_0x28ebf6},'children':_0x514972});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1875=['ck-revision-history-sidebar__revision-name','set'];(function(_0x1dc262,_0x187515){var _0x1195d9=function(_0x48aee9){while(--_0x48aee9){_0x1dc262['push'](_0x1dc262['shift']());}};_0x1195d9(++_0x187515);}(_0x1875,0xe1));var _0x1195=function(_0x1dc262,_0x187515){_0x1dc262=_0x1dc262-0x0;var _0x1195d9=_0x1875[_0x1dc262];return _0x1195d9;};import{LabeledFieldView as _0x2bb2d6}from'ckeditor5/src/ui';import{getTranslation as _0xa70993}from'../../utils/common-translations';import'../../../theme/revision/revisionname.css';export default class os extends _0x2bb2d6{constructor(_0x1a7f87,..._0x39455a){super(_0x1a7f87,..._0x39455a),this[_0x1195('0x0')]({'label':_0xa70993(_0x1a7f87,'Revision\x20name')}),this['extendTemplate']({'tag':'span','attributes':{'class':[_0x1195('0x1')]}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54f2=['deselect','revisionActionsView','highlight','isSelected','select','unhighlight','fieldView','revisionNameView','from','.ck-thread__remove-confirm','length','isConfirm','bindTemplate','isReady','listenTo','ck-revision-history-sidebar__revision__date','ck-disabled','bind','ck-reset','extendTemplate','isEnabled','setTemplate','isHighlighted','value','set','element','render','ck-revision-history-sidebar__actions_dropdown_open','map','ck-revision-history-sidebar__revision-authors','placeholder','_createdAtFormatted','isActionsDropdownOpen','ck-revision-history-sidebar__revision','srcElement','setName','name','unshift','fire','createdAt','ck-revision-history-sidebar__revision__controls-wrapper','_revision','creator','authors','div','filter','span','220','ck-revision-history-sidebar__revision_selected','ck-revision-history-sidebar__revision-wrapper_confirmation_visible'];(function(_0x17400f,_0x54f240){const _0x4994c1=function(_0x2b5fca){while(--_0x2b5fca){_0x17400f['push'](_0x17400f['shift']());}};_0x4994c1(++_0x54f240);}(_0x54f2,0xc5));const _0x4994=function(_0x17400f,_0x54f240){_0x17400f=_0x17400f-0x0;let _0x4994c1=_0x54f2[_0x17400f];return _0x4994c1;};import{View as _0x162c1b,createLabeledInputText as _0x171f72}from'ckeditor5/src/ui';import{mix as _0x42e981}from'ckeditor5/src/utils';import{ConfirmMixin as _0x48fe7b}from'ckeditor5-collaboration/src/collaboration-core';import _0x580126 from'./revisionnameview';import _0x3e0ff0 from'./revisionauthorview';import{dateToPrettyFormat as _0x5ee81c}from'./utils';import{createActionsDropdownView as _0x159aba}from'./createrevisionactionsdropdown';import'../../../theme/revision/revision.css';export default class ci extends _0x162c1b{constructor(_0x2cb374,_0x3b41b9,_0x1c0224){super(_0x2cb374);const _0x485b11=this[_0x4994('0xf')],_0x59b201=function(_0x21691e,_0x5ecc88){const _0xe75925=Array[_0x4994('0xb')](_0x5ecc88[_0x4994('0x2e')])[_0x4994('0x30')](_0x34f012=>_0x34f012!=_0x5ecc88[_0x4994('0x2d')]);return _0x5ecc88['creator']&&_0xe75925[_0x4994('0x28')](_0x5ecc88['creator']),_0xe75925[_0x4994('0x1f')](_0x346ac9=>new _0x3e0ff0(_0x21691e,_0x346ac9,_0x346ac9==_0x5ecc88[_0x4994('0x2d')]));}(_0x2cb374,_0x3b41b9);this[_0x4994('0x2c')]=_0x3b41b9,this['id']=_0x3b41b9['id'],this[_0x4994('0x14')](_0x4994('0x27'),_0x4994('0x2a'))['to'](_0x3b41b9),this[_0x4994('0x1b')](_0x4994('0x6'),!0x1),this['set'](_0x4994('0x19'),!0x1),this[_0x4994('0x1b')](_0x4994('0x23'),!0x1),this[_0x4994('0x1b')](_0x4994('0x10'),!0x1),this['bind'](_0x4994('0x22'))['to'](this,_0x4994('0x2a'),_0x4ef4a6=>_0x4ef4a6?_0x5ee81c(_0x2cb374['uiLanguage'],_0x4ef4a6):null),this[_0x4994('0x1b')](_0x4994('0x17'),!0x1),this[_0x4994('0xa')]=new _0x580126(_0x2cb374,_0x171f72),this[_0x4994('0xa')]['fieldView'][_0x4994('0x16')]({'attributes':{'maxlength':_0x4994('0x0')}}),this['revisionNameView'][_0x4994('0x9')][_0x4994('0x14')](_0x4994('0x1a'),_0x4994('0x21'))['to'](this,_0x4994('0x27'),_0x4994('0x22')),this[_0x4994('0xa')][_0x4994('0x14')](_0x4994('0x17'))['to'](this,_0x4994('0x6'),this,'isEnabled',(_0x59c35b,_0x3196e2)=>_0x59c35b&&_0x3196e2),this[_0x4994('0x4')]=_0x1c0224&&_0x1c0224[_0x4994('0xd')]?_0x159aba(this,_0x1c0224):'',this[_0x4994('0x4')]['bind'](_0x4994('0x17'))['to'](this),this[_0x4994('0x18')]({'tag':_0x4994('0x2f'),'attributes':{'class':['ck',_0x4994('0x15'),'ck-revision-history-sidebar__revision-wrapper',_0x485b11['if'](_0x4994('0xe'),_0x4994('0x2'))]},'children':[{'tag':_0x4994('0x2f'),'attributes':{'class':['ck',_0x4994('0x15'),_0x4994('0x24'),_0x485b11['if'](_0x4994('0x17'),_0x4994('0x13'),_0x173451=>!_0x173451),_0x485b11['if'](_0x4994('0x6'),_0x4994('0x1')),_0x485b11['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x485b11['if'](_0x4994('0x23'),_0x4994('0x1e'))]},'children':[this[_0x4994('0xa')],{'tag':_0x4994('0x31'),'attributes':{'class':['ck',_0x4994('0x12')]},'children':[{'text':_0x485b11['to'](_0x4994('0x22'))}]},{'tag':_0x4994('0x2f'),'attributes':{'class':['ck',_0x4994('0x2b')]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x4994('0x20')]},'children':_0x59b201}]},this[_0x4994('0x4')]],'on':{'click':_0x485b11['to'](_0x5aee3e=>{_0x5aee3e[_0x4994('0x25')]['closest'](_0x4994('0xc'))||this[_0x4994('0x10')]&&this[_0x4994('0x17')]&&this['fire'](_0x4994('0x7'),{'id':this['id']});})}}]});}[_0x4994('0x1d')](){super[_0x4994('0x1d')]();const _0x35f5e6=this[_0x4994('0xa')][_0x4994('0x9')][_0x4994('0x1c')];this[_0x4994('0x11')](_0x35f5e6,'change',()=>{this[_0x4994('0x29')](_0x4994('0x26'),{'id':this['id'],'name':_0x35f5e6['value']});});}['select'](){this[_0x4994('0x6')]=!0x0;}[_0x4994('0x3')](){this[_0x4994('0x6')]=!0x1;}[_0x4994('0x5')](){this[_0x4994('0x19')]=!0x0;}[_0x4994('0x8')](){this[_0x4994('0x19')]=!0x1;}}_0x42e981(ci,_0x48fe7b);
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2876=['isVisible','span','ck-revision-history-sidebar__subrevision-collapser__inner','_isCollapsed','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-hidden','setTemplate','false'];(function(_0x26a4b9,_0x2876bb){const _0xfa88fa=function(_0x192cf5){while(--_0x192cf5){_0x26a4b9['push'](_0x26a4b9['shift']());}};_0xfa88fa(++_0x2876bb);}(_0x2876,0x106));const _0xfa88=function(_0x26a4b9,_0x2876bb){_0x26a4b9=_0x26a4b9-0x0;let _0xfa88fa=_0x2876[_0x26a4b9];return _0xfa88fa;};import{View as _0x229dd7}from'ckeditor5/src/ui';import'../../../theme/revision/subrevisioncollapser.css';export default class ls extends _0x229dd7{constructor(_0x356597){super(_0x356597);const _0x499962=this['bindTemplate'];this['set']({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0xfa88('0x0')]({'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__subrevision-collapser',_0x499962['if'](_0xfa88('0x2'),_0xfa88('0x7'),_0x2960ed=>!_0x2960ed),_0x499962['if']('_isCollapsed',_0xfa88('0x6'))],'role':'button','aria-pressed':_0x499962['to']('_isCollapsed',_0x33f8a0=>_0x33f8a0?_0xfa88('0x1'):'true')},'children':[{'tag':_0xfa88('0x3'),'attributes':{'class':['ck',_0xfa88('0x4')]}}],'on':{'click':_0x499962['to']('click')}});}['toggle'](){this[_0xfa88('0x5')]=!this['_isCollapsed'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b75=['ck-revision-history-sidebar__revision','author','set','bind','_parentRevisionId','createdAt','bindTemplate','ck-revision-history-sidebar__revision__date','ck-reset','select','isSelected','ck-revision-history-sidebar__subrevision','ck-revision-history-sidebar__revision-authors','_createdAtFormatted','setTemplate'];(function(_0x38a84b,_0x2b75d5){const _0x3f866c=function(_0x326885){while(--_0x326885){_0x38a84b['push'](_0x38a84b['shift']());}};_0x3f866c(++_0x2b75d5);}(_0x2b75,0x152));const _0x3f86=function(_0x38a84b,_0x2b75d5){_0x38a84b=_0x38a84b-0x0;let _0x3f866c=_0x2b75[_0x38a84b];return _0x3f866c;};import{View as _0x11dc3a}from'ckeditor5/src/ui';import _0x39278a from'./revisionauthorview';import{dateToPrettyFormat as _0xd8cdd9}from'./utils';import'../../../theme/revision/subrevision.css';export default class lt extends _0x11dc3a{constructor(_0x2019ab,_0x167ce7,_0x4a4da2){super(_0x2019ab);const _0x12fd2d=this[_0x3f86('0xd')];this['id']=_0x167ce7['id'],this[_0x3f86('0xa')](_0x3f86('0xc'))['to'](_0x167ce7),this[_0x3f86('0x9')](_0x3f86('0x2'),!0x1),this[_0x3f86('0xa')](_0x3f86('0x5'))['to'](this,_0x3f86('0xc'),_0x132aa0=>_0x132aa0?_0xd8cdd9(_0x2019ab['uiLanguage'],_0x132aa0):null),this[_0x3f86('0xb')]=_0x4a4da2,this[_0x3f86('0x6')]({'tag':'div','attributes':{'class':['ck',_0x3f86('0x0'),_0x3f86('0x7'),_0x3f86('0x3'),_0x12fd2d['if'](_0x3f86('0x2'),'ck-revision-history-sidebar__revision_selected')]},'children':[{'tag':'span','attributes':{'class':['ck',_0x3f86('0xe')]},'children':[{'text':_0x12fd2d['to'](_0x3f86('0x5'))}]},{'tag':'ul','attributes':{'class':['ck',_0x3f86('0x4')]},'children':[new _0x39278a(_0x2019ab,_0x167ce7[_0x3f86('0x8')],!0x0)]}],'on':{'click':_0x12fd2d['to'](this[_0x3f86('0x1')][_0x3f86('0xa')](this))}});}[_0x3f86('0x1')](){this['isSelected']=!0x0,this['fire'](_0x3f86('0x1'),{'parentId':this[_0x3f86('0xb')]});}['deselect'](){this[_0x3f86('0x2')]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x55ac=['numeric','toLocaleTimeString','long'];(function(_0x16cb26,_0x55ac1a){var _0x224251=function(_0x11bb8d){while(--_0x11bb8d){_0x16cb26['push'](_0x16cb26['shift']());}};_0x224251(++_0x55ac1a);}(_0x55ac,0xc3));var _0x2242=function(_0x16cb26,_0x55ac1a){_0x16cb26=_0x16cb26-0x0;var _0x224251=_0x55ac[_0x16cb26];return _0x224251;};export function dateToPrettyFormat(_0x1f8317,_0x137c17){return _0x137c17['toLocaleDateString'](_0x1f8317,{'month':_0x2242('0x2'),'day':'numeric'})+',\x20'+_0x137c17[_0x2242('0x1')](_0x1f8317,{'hour':_0x2242('0x0'),'minute':'numeric'});}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44af=['form','Name\x20of\x20the\x20revision\x20(optional)','revisionNameInputValue','setTemplate','selectstart','keystrokes','ck-revision-history-save-revision-form','_createButton','label','arrowright','arrowleft','ck-button-cancel','forEach','arrowup','type','input','execute','tab','element','focusTracker','trim','value','locale','cancelButtonView','ck-button-save','ck-responsive-form','_focusables','saveButtonView','220','arrowdown','focus','reset','revisionNameInputView','stopPropagation','extendTemplate','listenTo','revisionName','submit','fieldView','add','render','focusFirst','cancel','set','_focusCycler','_createRevisionNameInput'];(function(_0x2f63a4,_0x44afac){const _0x597e07=function(_0x266d95){while(--_0x266d95){_0x2f63a4['push'](_0x2f63a4['shift']());}};_0x597e07(++_0x44afac);}(_0x44af,0x12b));const _0x597e=function(_0x2f63a4,_0x44afac){_0x2f63a4=_0x2f63a4-0x0;let _0x597e07=_0x44af[_0x2f63a4];return _0x597e07;};import{ButtonView as _0x48f8ab,FocusCycler as _0x29fb82,LabeledFieldView as _0x7f0488,View as _0x39c136,ViewCollection as _0x53a2a3,createLabeledInputText as _0x36788f,injectCssTransitionDisabler as _0x5f4747,submitHandler as _0x117813}from'ckeditor5/src/ui';import{FocusTracker as _0x14f02a,KeystrokeHandler as _0x1278f2}from'ckeditor5/src/utils';import{getTranslation as _0x6dba96}from'../../utils/common-translations';import _0x3afb46 from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import _0x1a0cd9 from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class xt extends _0x39c136{constructor(_0x14a47d){super(_0x14a47d),this[_0x597e('0x2a')]=new _0x14f02a(),this[_0x597e('0x1c')]=new _0x1278f2(),this[_0x597e('0x14')](_0x597e('0x19'),''),this['revisionNameInputView']=this[_0x597e('0x16')](),this[_0x597e('0x4')]=this[_0x597e('0x1e')](_0x6dba96(_0x14a47d,'Save'),_0x3afb46,_0x597e('0x1')),this['saveButtonView'][_0x597e('0x25')]=_0x597e('0xe'),this['cancelButtonView']=this[_0x597e('0x1e')](_0x6dba96(_0x14a47d,'Cancel'),_0x1a0cd9,_0x597e('0x22'),_0x597e('0x13')),this[_0x597e('0x3')]=new _0x53a2a3(),this[_0x597e('0x15')]=new _0x29fb82({'focusables':this['_focusables'],'focusTracker':this[_0x597e('0x2a')],'keystrokeHandler':this[_0x597e('0x1c')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x597e('0x28')}}),this[_0x597e('0x1a')]({'tag':_0x597e('0x17'),'attributes':{'class':['ck',_0x597e('0x1d'),_0x597e('0x2')],'tabindex':'-1'},'children':[this[_0x597e('0x9')],this['saveButtonView'],this[_0x597e('0x0')]]}),_0x5f4747(this);}[_0x597e('0x11')](){super[_0x597e('0x11')](),_0x117813({'view':this}),([this[_0x597e('0x9')],this[_0x597e('0x4')],this['cancelButtonView']][_0x597e('0x23')](_0x1b7a92=>{this['_focusables']['add'](_0x1b7a92),this[_0x597e('0x2a')][_0x597e('0x10')](_0x1b7a92['element']);}),this[_0x597e('0x1c')][_0x597e('0xc')](this[_0x597e('0x29')]));const _0x4e9011=_0x3a6146=>_0x3a6146[_0x597e('0xa')]();this[_0x597e('0x1c')][_0x597e('0x14')](_0x597e('0x20'),_0x4e9011),this[_0x597e('0x1c')][_0x597e('0x14')](_0x597e('0x21'),_0x4e9011),this[_0x597e('0x1c')][_0x597e('0x14')](_0x597e('0x24'),_0x4e9011),this['keystrokes'][_0x597e('0x14')](_0x597e('0x6'),_0x4e9011),this['listenTo'](this[_0x597e('0x9')][_0x597e('0x29')],_0x597e('0x1b'),(_0x592168,_0x18b4db)=>{_0x18b4db['stopPropagation']();},{'priority':'high'});}[_0x597e('0x7')](){this[_0x597e('0x15')][_0x597e('0x12')]();}get[_0x597e('0xd')](){return this[_0x597e('0x9')][_0x597e('0xf')][_0x597e('0x29')][_0x597e('0x2c')][_0x597e('0x2b')]();}set[_0x597e('0xd')](_0x339e56){this[_0x597e('0x9')][_0x597e('0xf')][_0x597e('0x29')]['value']=_0x339e56[_0x597e('0x2b')]();}[_0x597e('0x8')](){this[_0x597e('0x9')][_0x597e('0xf')][_0x597e('0x29')][_0x597e('0x2c')]='';}[_0x597e('0x16')](){const _0x2b0253=new _0x7f0488(this[_0x597e('0x2d')],_0x36788f),_0x54694f=_0x2b0253[_0x597e('0xf')];return _0x54694f[_0x597e('0xb')]({'attributes':{'maxlength':_0x597e('0x5')}}),_0x2b0253[_0x597e('0x1f')]=_0x6dba96(this[_0x597e('0x2d')],_0x597e('0x18')),_0x54694f['on'](_0x597e('0x26'),()=>{this[_0x597e('0x19')]=_0x54694f[_0x597e('0x29')][_0x597e('0x2c')][_0x597e('0x2b')]();}),_0x2b0253;}[_0x597e('0x1e')](_0x59f14d,_0x205bbb,_0x2c1c34,_0x31a376){const _0x349118=new _0x48f8ab(this[_0x597e('0x2d')]);return _0x349118[_0x597e('0x14')]({'label':_0x59f14d,'icon':_0x205bbb,'tooltip':!0x0}),_0x349118[_0x597e('0xb')]({'attributes':{'class':_0x2c1c34}}),_0x31a376&&_0x349118['delegate'](_0x597e('0x27'))['to'](this,_0x31a376),_0x349118;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27c4=['addMany','showRevisionViewerCallback','length','saveRevision','panelView','buttonView','init','isReadOnly','isOpen','revisionName','remove','submit','view','execute','children','add','render','isReady','get','isEnabled','editor','plugins','config','componentFactory','Save\x20current\x20revision','RevisionHistoryUI','revisionHistory','change:isOpen','Open\x20revision\x20history','requires','reset','bind','set','focus','pluginName'];(function(_0x5595a1,_0x27c446){const _0x2aabac=function(_0x6d91de){while(--_0x6d91de){_0x5595a1['push'](_0x5595a1['shift']());}};_0x2aabac(++_0x27c446);}(_0x27c4,0x1cb));const _0x2aab=function(_0x5595a1,_0x27c446){_0x5595a1=_0x5595a1-0x0;let _0x2aabac=_0x27c4[_0x5595a1];return _0x2aabac;};import{Plugin as _0x2153e2}from'ckeditor5/src/core';import{ListView as _0x34a831,ListItemView as _0x1743ca,ButtonView as _0x5f09ef,createDropdown as _0x45d051}from'ckeditor5/src/ui';import _0x3a34c2 from'../../revisiontracker';import _0x409999 from'./revisionhistorysaverevisionformview';import _0x3a28bd from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x460316}from'../../utils/common-translations';export default class R extends _0x2153e2{static get[_0x2aab('0x1e')](){return _0x2aab('0x15');}static get[_0x2aab('0x19')](){return[_0x3a34c2];}[_0x2aab('0x2')](){const _0x49807c=this[_0x2aab('0x10')],_0x3d74c4=_0x49807c[_0x2aab('0x11')][_0x2aab('0xe')]('RevisionTracker');_0x49807c['ui'][_0x2aab('0x13')][_0x2aab('0xb')](_0x2aab('0x16'),_0x180746=>{const _0x453cab=_0x45d051(_0x180746),_0x10ca47=_0x453cab[_0x2aab('0x0')][_0x2aab('0xa')],_0x120c74=new _0x34a831(_0x180746),_0x5a36da=new _0x1743ca(_0x180746),_0x4756e3=new _0x5f09ef(_0x180746),_0x3c160e=new _0x1743ca(_0x180746),_0x589b8d=new _0x5f09ef(_0x180746),_0xb01cd8=new _0x409999(_0x180746);function _0xbc75a(){_0x10ca47[_0x2aab('0x21')]&&_0x10ca47['remove'](0x0),_0x10ca47[_0x2aab('0xb')](_0x120c74);}function _0x33dbba(){_0x453cab[_0x2aab('0x4')]=!0x1,_0x49807c['editing'][_0x2aab('0x8')][_0x2aab('0x1d')]();}return _0x453cab[_0x2aab('0x1b')]('isEnabled')['to'](_0x3d74c4,_0x2aab('0xd'),_0x3d74c4,_0x2aab('0xf'),_0x49807c,_0x2aab('0x3'),(_0x17872c,_0x1f2c64,_0x21a2c6)=>_0x17872c&&_0x1f2c64&&!_0x21a2c6),_0x453cab[_0x2aab('0x1')][_0x2aab('0x1c')]({'icon':_0x3a28bd,'label':_0x460316(_0x180746,'Revision\x20history'),'tooltip':!0x0}),_0x4756e3[_0x2aab('0x1c')]({'label':_0x460316(_0x180746,_0x2aab('0x14')),'withText':!0x0}),_0x4756e3[_0x2aab('0x1b')](_0x2aab('0xf'))['to'](_0x3d74c4,'isReady',_0x3d74c4,_0x2aab('0xf'),_0x49807c,_0x2aab('0x3'),(_0x16c1bf,_0x2ffd96,_0x4d2bd3)=>_0x16c1bf&&_0x2ffd96&&!_0x4d2bd3),_0x4756e3['on'](_0x2aab('0x9'),()=>function(){_0x10ca47[_0x2aab('0x21')]&&_0x10ca47[_0x2aab('0x6')](0x0),(_0xb01cd8[_0x2aab('0x1a')](),_0x10ca47[_0x2aab('0xb')](_0xb01cd8),_0xb01cd8['focus']());}()),_0x589b8d[_0x2aab('0x1c')]({'label':_0x460316(_0x180746,_0x2aab('0x18')),'withText':!0x0}),_0x589b8d[_0x2aab('0x1b')](_0x2aab('0xf'))['to'](_0x3d74c4,'isReady',_0x49807c,_0x2aab('0x3'),(_0x462063,_0x24080b)=>_0x462063&&!_0x24080b),_0x589b8d['on']('execute',()=>{_0x49807c[_0x2aab('0x12')]['get']('revisionHistory')[_0x2aab('0x20')](),_0x33dbba();}),_0x5a36da['children'][_0x2aab('0xb')](_0x4756e3),_0x3c160e[_0x2aab('0xa')][_0x2aab('0xb')](_0x589b8d),_0x120c74['items'][_0x2aab('0x1f')]([_0x5a36da,_0x3c160e]),_0x453cab['on'](_0x2aab('0x17'),()=>_0xbc75a()),_0xb01cd8['saveButtonView'][_0x2aab('0x1b')](_0x2aab('0xf'))['to'](_0x3d74c4,_0x2aab('0xd'),_0x3d74c4,_0x2aab('0xf'),_0x49807c,_0x2aab('0x3'),(_0x4025e2,_0x322edd,_0x47cab8)=>_0x4025e2&&_0x322edd&&!_0x47cab8),_0xb01cd8['on'](_0x2aab('0x7'),()=>(_0x49807c[_0x2aab('0x11')][_0x2aab('0xe')](_0x3a34c2)[_0x2aab('0x22')]({'name':_0xb01cd8[_0x2aab('0x5')]}),void _0x33dbba())),_0xb01cd8['on']('cancel',()=>_0xbc75a()),_0xb01cd8[_0x2aab('0xc')](),_0xbc75a(),_0x453cab;});}}
|