@ckeditor/ckeditor5-revision-history 42.0.0-alpha.4 → 42.0.0-alpha.6
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/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/revisiontracker.d.ts +6 -1
- package/dist/types/revisionviewer.d.ts +82 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +6 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +82 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +9 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +25 -0
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- 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.d.ts +11 -0
- 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 _0xb36c35=_0x3969;(function(_0x3e901b,_0x47f3a5){const _0x182cba=_0x3969,_0x539b03=_0x3e901b();while(!![]){try{const _0x4f3cb2=-parseInt(_0x182cba(0xb8))/0x1*(parseInt(_0x182cba(0xd5))/0x2)+parseInt(_0x182cba(0x17e))/0x3+-parseInt(_0x182cba(0xd4))/0x4+parseInt(_0x182cba(0x1b3))/0x5+-parseInt(_0x182cba(0x12b))/0x6*(-parseInt(_0x182cba(0x110))/0x7)+parseInt(_0x182cba(0x1a5))/0x8*(-parseInt(_0x182cba(0xf1))/0x9)+-parseInt(_0x182cba(0xc8))/0xa;if(_0x4f3cb2===_0x47f3a5)break;else _0x539b03['push'](_0x539b03['shift']());}catch(_0x172417){_0x539b03['push'](_0x539b03['shift']());}}}(_0x42c3,0xd7962));import{Plugin as _0x483b4d,Command as _0x15584b}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x4ef80a}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x1540f0}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x198aa4,Element as _0x117d50,Text as _0x38fb2a,ViewDocumentFragment as _0x1e6fec,ViewText as _0xc191d3,ViewElement as _0x526899,ViewContainerElement as _0x3b6606,ViewAttributeElement as _0x573fd3,ViewEmptyElement as _0x4da18d,ViewRawElement as _0x575515,ViewUIElement as _0x3b2e01}from'ckeditor5/src/engine.js';import{Users as _0x55dbc3,getMarkerDomElement as _0x592ebe}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x469b69 from'./ui/revisionviewer/changedetailsview.js';function _0x42c3(){const _0xc69e2b=['isEnabled','conversion','_fixObsoleteTags','getClientRects','revision-start','done','bind','high','_data','_sortAndFilterDiffChanges','target','range','low','filter','catch','level','33480bBHmWr','removeAttribute','selection','values','_update','revision-suggestion:','getRootNames','removeClass','_getViewObj','_setChanges','getRoot','getRevision','_makeModelFromTape','isObject','attributesAfter','_makeTape','_findChangeIdFromDomTarget','pop','_makeModelFromViewString','ck-revision-history-root-add','change:activeChange','isAtEnd','insertion','observeMarkers','_cleanMarkers','getAttributes','isNavigationMode','keys','end','domConverter','getWalker','42SMMUDH','set','maxOffset','next','default','pluginName','wrap','return','ck-revision-history-root-','addRevision','RevisionViewer','_changeIdToChange','parse','checkAttribute','change:activeView','_removeMissingPairs','_changeView','shift','getChild','index','editingDowncast','then','findIndex','attribute:vid','ck-suggestion-marker--active','isBlock','attributes','715710bawFhm','upcast','numberOfChanges','currentChangeNumber','attachChange','startsWith','changeId','modelRange','-new','RevisionsRepository','unshift','type','forEach','has','setAttribute','affectsData','ck-suggestion-preview-marker','markerNameToElements','isAttached','includes','error','element','createRangeIn','insert','map','elementEnd','distance','remove','_markInsertions','getRevisionRootsAttributes','toViewElement','hasClass','processor','delete','isAdded','children','compare','bottom','oldRevisionId','schema','editing','rootName','ck-editor__editable__overlay','push','getRevisionData','element:pre','find','unbindElementFromMarkerName','elementStart','_processTape','downcastDispatcher','view','forceDisabled','slice','detachRoot','showNextChange','createPositionBefore','isAtStart','init','span','enqueueChange','POSITIVE_INFINITY','isEqual','_revisions','restoreRevision','_removeUnsupportedChanges','getIndex','_markMarkers','_setConversion','change:numberOfChanges','split','domEvent','revision','revisionHistoryLabel','writer','markersStart','change:isReady','nextPosition','_cleanUp','vid_start','marked','indexOf','startIndex','3322356QFQLAQ','mapViewToDom','addMarker:revision','isIncorrect','flat','document','_markMismatchedRemovedTags','attributesBefore','_joinTapes','offsetSize','_getRevisionsRange','nextSibling','markersEnd','collaboration.channelId','isAddSuggestion','getDomRoot','vid','merge','mousedown','createPositionFromPath','ck-revision-history-root--active','markers','uiElement','getItems','change:isEnabled','forward','restoreRevisionCallback','from','top','code','for','isInline','dataDowncast','test','revision-viewer','_removeRevisionMarkers','side','insertions','_initInteractions','1752JwnIJz','revisionHistoryAttachChange','dataToMarker','stop','text','createRevision','mapper','isReady','_getViewForChange','isRemoveSuggestion','sort','enableReadOnlyMode','refresh','revisionHistory','5043835PyGene','listenTo','abs','loadRevisionData','all','createUIElement','add','createRange','plugins','removeMarker:revision','activeView','execute','addRoot','userId','ck-suggestion-marker-merge','createAttributeElement','start','showPreviousChange','_balloon','revision-suggestion','commands','data-change-id','getAttribute','_markSuggestions','revision:','ck-suggestion-marker-','hasAttribute','addRevisionData','revision-end','removeMarker:revision-suggestion','data','name','elementToAttribute','_refreshStartEndIndex','addMarker:revision-suggestion:insertion','deletion','_step','isAfter','isLimit','deletions','comment','length','item','isRemoved','backward','ck-revision-history-root-remove','config','mouseover','revision-comment:','repository','authors','_getDiff','bindElementToMarker','suggestion:','markerName','nodeAfter','ck-suggestion-marker','isSuggestion','requires','removeMarker','showStack','ck-suggestion-preview-marker-','_activeViewTarget','change','left','markerToHighlight','updatePosition','destroy','toData','toViewPosition','addClass','_threeWayMerge','diffData','getCustomProperty','_setDistance','resolve','diff','adapter','reconvertMarker','editor','useFillerType','viewItem','get','vid_end','10541YzXRiX','concat','newRevisionId','locale','toModel','WidgetToolbarRepository','_getChangeFromId','toViewRange','previousPosition','model','highest','changes','suggestion','data-revision-','addHighlight','endIndex','7046580VdxRNo','isCollapsed','object','isOnRoot','ck-suggestion-marker-split','addMarker:revision-suggestion:deletion','string','consume','consumable','roots','clear','softBreak','200292JweARs','72WljXWU','activeChange','right','first','pairId','splice','parent','markerToData','markerRange','isContent','_appendChild','isBefore'];_0x42c3=function(){return _0xc69e2b;};return _0x42c3();}import _0x5e2914 from'./revisionsrepository.js';import _0x423860 from'./changeitem.js';import{default as _0x5e1ac2}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x5d9da5}from'lodash-es';const tt={'c':_0x3b6606,'a':_0x573fd3,'e':_0x4da18d,'r':_0x575515,'u':_0x3b2e01};export default class d extends _0x483b4d{static get[_0xb36c35(0x115)](){const _0x41663d=_0xb36c35;return _0x41663d(0x11a);}static get[_0xb36c35(0x1ed)](){return[_0x55dbc3,_0x1540f0,_0x5e2914];}constructor(_0x4f3361){const _0x20a08c=_0xb36c35;super(_0x4f3361),this[_0x20a08c(0x1e4)]=this[_0x20a08c(0x202)][_0x20a08c(0x1bb)][_0x20a08c(0x205)](_0x20a08c(0x134)),this[_0x20a08c(0x111)](_0x20a08c(0xd6),null),this[_0x20a08c(0x111)](_0x20a08c(0x1bd),null),this[_0x20a08c(0x1f1)]=null,this[_0x20a08c(0x111)](_0x20a08c(0x1ff),null),this[_0x20a08c(0x111)](_0x20a08c(0x1ac),!0x1),this[_0x20a08c(0x111)](_0x20a08c(0xe1),!0x0),this['on'](_0x20a08c(0x196),(_0x2e5ea6,_0x25d74b,_0x3b4b3f)=>{const _0x3ffb45=_0x20a08c;this[_0x3ffb45(0xd6)]=null,this[_0x3ffb45(0x1bd)]=null,this[_0x3ffb45(0x202)][_0x3ffb45(0x153)][_0x3ffb45(0x15e)][_0x3ffb45(0x1f2)](_0x5afb59=>{const _0x2708ae=_0x3ffb45;for(const _0x54192f of this[_0x2708ae(0x202)][_0x2708ae(0x153)][_0x2708ae(0x15e)][_0x2708ae(0x183)][_0x2708ae(0xd1)])_0x3b4b3f?_0x5afb59[_0x2708ae(0xf8)](_0x2708ae(0x155),_0x54192f):_0x5afb59[_0x2708ae(0x1f9)](_0x2708ae(0x155),_0x54192f);});}),this[_0x20a08c(0xe7)](_0x20a08c(0x10b))['to'](this,_0x20a08c(0xd6),_0x3c1f73=>null!==_0x3c1f73),this[_0x20a08c(0xe7)](_0x20a08c(0x12e))['to'](this,_0x20a08c(0x1ac),this,_0x20a08c(0x1ff),this,_0x20a08c(0xd6),(_0x4f8a87,_0xbac361,_0x35d73f)=>_0x4f8a87&&_0x35d73f?_0xbac361[_0x20a08c(0xc3)][_0x20a08c(0x16d)](_0x35d73f):0x0),this[_0x20a08c(0xe7)](_0x20a08c(0x12d))['to'](this,_0x20a08c(0x1ac),this,_0x20a08c(0x1ff),(_0x4e85ba,_0xa91cc)=>_0x4e85ba?_0xa91cc[_0x20a08c(0xc3)][_0x20a08c(0x1dc)]:0x0),this[_0x20a08c(0x120)]=null,this[_0x20a08c(0x11b)]=new Map(),this[_0x20a08c(0x200)]=null,this[_0x20a08c(0x1c5)]=this[_0x20a08c(0x202)][_0x20a08c(0x1bb)][_0x20a08c(0x205)](_0x1540f0);}[_0xb36c35(0x165)](){const _0x1036c9=_0xb36c35,_0x520fbc=this[_0x1036c9(0x202)],_0x2c88db=new ShowChangeCommand(_0x520fbc,{'direction':_0x1036c9(0x1df)}),_0x2f1e05=new ShowChangeCommand(_0x520fbc,{'direction':_0x1036c9(0x197)});(_0x520fbc[_0x1036c9(0x1c7)][_0x1036c9(0x1b9)](_0x1036c9(0x1c4),_0x2c88db),_0x520fbc[_0x1036c9(0x1c7)][_0x1036c9(0x1b9)](_0x1036c9(0x162),_0x2f1e05),_0x520fbc[_0x1036c9(0x1c7)][_0x1036c9(0x1b9)](_0x1036c9(0x16b),new RestoreRevisionCommand(_0x520fbc)),this['on'](_0x1036c9(0x170),()=>{const _0x5d9e47=_0x1036c9;_0x2c88db[_0x5d9e47(0x1b1)](),_0x2f1e05[_0x5d9e47(0x1b1)]();}),this[_0x1036c9(0x16f)](),this[_0x1036c9(0x1a4)](),_0x520fbc[_0x1036c9(0x1b0)](_0x1036c9(0x1a0)),_0x520fbc[_0x1036c9(0x1bb)][_0x1036c9(0x138)](_0x1036c9(0xbd)))&&_0x520fbc[_0x1036c9(0x1bb)][_0x1036c9(0x205)](_0x1036c9(0xbd))[_0x1036c9(0x15f)](_0x1036c9(0x1a0));}async[_0xb36c35(0x157)](_0x152747){const _0x5ce167=_0xb36c35;await this[_0x5ce167(0x1b6)](_0x152747);const _0x3b8cb7={};for(const _0x4b3b3e in _0x152747[_0x5ce167(0x1fb)]){if(_0x152747[_0x5ce167(0x1fb)][_0x4b3b3e][_0x5ce167(0x12f)]&&!_0x152747[_0x5ce167(0x1fb)][_0x4b3b3e][_0x5ce167(0x12f)][_0x5ce167(0x13d)])continue;const _0x259ad0=this[_0x5ce167(0x1a1)](JSON[_0x5ce167(0x11c)](_0x152747[_0x5ce167(0x1fb)][_0x4b3b3e][_0x5ce167(0x1a3)])),_0x16995c=this[_0x5ce167(0x202)][_0x5ce167(0x153)][_0x5ce167(0x15e)][_0x5ce167(0x183)],_0x14a337=new _0x1e6fec(_0x16995c,_0x259ad0[_0x5ce167(0x143)](_0x3d586b=>this[_0x5ce167(0xf9)](_0x3d586b)));this[_0x5ce167(0x202)][_0x5ce167(0x1d1)][_0x5ce167(0x14b)][_0x5ce167(0x203)](_0x5ce167(0x17b)),_0x3b8cb7[_0x4b3b3e]=this[_0x5ce167(0x202)][_0x5ce167(0x1d1)][_0x5ce167(0x14b)][_0x5ce167(0x1f7)](_0x14a337),this[_0x5ce167(0x202)][_0x5ce167(0x1d1)][_0x5ce167(0x14b)][_0x5ce167(0x203)](_0x5ce167(0x114));}return _0x3b8cb7;}async[_0xb36c35(0x148)](_0x5724a3){const _0x4782e5=_0xb36c35;await this[_0x4782e5(0x1b6)](_0x5724a3);const _0x2d8c1e={};for(const _0x5d7233 in _0x5724a3[_0x4782e5(0x1fb)])_0x5724a3[_0x4782e5(0x1fb)][_0x5d7233][_0x4782e5(0x12f)]&&!_0x5724a3[_0x4782e5(0x1fb)][_0x5d7233][_0x4782e5(0x12f)][_0x4782e5(0x13d)]||(_0x2d8c1e[_0x5d7233]=_0x5724a3[_0x4782e5(0x1fb)][_0x5d7233][_0x4782e5(0xff)]||{});return _0x2d8c1e;}[_0xb36c35(0x1a1)](_0xf3d6dd){const _0x3343dc=_0xb36c35;return(_0xf3d6dd=_0xf3d6dd[_0x3343dc(0xee)](_0x534a93=>!_0x534a93[_0x3343dc(0x1d2)]||_0x3343dc(0xe5)!==_0x534a93[_0x3343dc(0x1d2)]&&_0x3343dc(0x1cf)!==_0x534a93[_0x3343dc(0x1d2)]))[_0x3343dc(0x137)](_0x42d0f0=>{const _0x107849=_0x3343dc;_0x107849(0xce)!=typeof _0x42d0f0&&(_0x42d0f0[_0x107849(0x14e)]=this[_0x107849(0x1a1)](_0x42d0f0[_0x107849(0x14e)]),_0x42d0f0[_0x107849(0x12a)]=_0x42d0f0[_0x107849(0x12a)][_0x107849(0xee)](_0x63f4e1=>!_0x63f4e1[0x0][_0x107849(0x130)](_0x107849(0xc5))));}),_0xf3d6dd;}async[_0xb36c35(0x14f)](_0x3f6db1,_0x2a42a3,_0x2c4f3d=!0x1){const _0x2b0137=_0xb36c35;if(!this[_0x2b0137(0xe1)])return;const _0x48f82d=this[_0x2b0137(0x1ff)],_0x3c26bb=this[_0x2b0137(0x1e4)],_0x1fda6a=_0x2b0137(0xce)==typeof _0x3f6db1?_0x3c26bb[_0x2b0137(0xfc)](_0x3f6db1):_0x3f6db1,_0x3b2506=_0x2b0137(0xce)==typeof _0x2a42a3?_0x3c26bb[_0x2b0137(0xfc)](_0x2a42a3):_0x2a42a3,_0x2f504a=_0x1fda6a['id'],_0x2e3a39=_0x3b2506?_0x3b2506['id']:null;if(!_0x2c4f3d&&this[_0x2b0137(0x1ff)]&&this[_0x2b0137(0x1ff)][_0x2b0137(0xba)]===_0x2f504a&&this[_0x2b0137(0x1ff)][_0x2b0137(0x151)]===_0x2e3a39)return Promise[_0x2b0137(0x1fe)]();this[_0x2b0137(0x1ac)]=!0x1,this[_0x2b0137(0x1bd)]=null,this[_0x2b0137(0xd6)]=null,this[_0x2b0137(0x1ff)]=new _0x5e1ac2(_0x2f504a,_0x2e3a39);const _0x5cdd20=this[_0x2b0137(0x188)](_0x1fda6a,_0x3b2506,!0x0)[_0x2b0137(0x143)](_0x16846a=>this[_0x2b0137(0x1b6)](_0x16846a));return _0x5cdd20[_0x2b0137(0x156)](new Promise(_0x36a429=>{setTimeout(_0x36a429,0x14);})),Promise[_0x2b0137(0x1b7)](_0x5cdd20)[_0x2b0137(0x125)](()=>{const _0x54cef9=_0x2b0137;if(!this[_0x54cef9(0xe1)])return;this[_0x54cef9(0x179)]();const _0x238d21=this[_0x54cef9(0x1e6)](_0x2f504a,_0x2e3a39);for(const _0x187db of _0x238d21[_0x54cef9(0xc3)])this[_0x54cef9(0x11b)][_0x54cef9(0x111)](_0x187db['id'],_0x187db);this[_0x54cef9(0x202)][_0x54cef9(0xc1)][_0x54cef9(0x167)]({'isUndoable':!0x1},_0x233983=>{const _0x205018=_0x54cef9;for(const _0x11956d of this[_0x205018(0x202)][_0x205018(0xc1)][_0x205018(0x183)][_0x205018(0xf7)]())_0x233983[_0x205018(0x161)](_0x11956d);for(const _0x3ee15f of Object[_0x205018(0x10c)](_0x238d21[_0x205018(0xc1)])){const _0x263f59=_0x233983[_0x205018(0x1bf)](_0x3ee15f);for(const _0x419530 of Object[_0x205018(0x10c)](_0x238d21[_0x205018(0x12a)][_0x3ee15f]))_0x233983[_0x205018(0x139)](_0x419530,_0x238d21[_0x205018(0x12a)][_0x3ee15f][_0x419530],_0x263f59);_0x233983[_0x205018(0x142)](_0x238d21[_0x205018(0xc1)][_0x3ee15f],_0x263f59,0x0);}}),this[_0x54cef9(0x1ff)][_0x54cef9(0xfa)](this[_0x54cef9(0xea)](_0x238d21[_0x54cef9(0xc3)])),this[_0x54cef9(0x1ac)]=!0x0;})[_0x2b0137(0xef)](_0xae60b6=>{const _0x555a6a=_0x2b0137;console[_0x555a6a(0x13f)](_0xae60b6),this[_0x555a6a(0x179)](),_0x48f82d&&(this[_0x555a6a(0x1ff)]=_0x48f82d),this[_0x555a6a(0x1ac)]=!0x0;});}[_0xb36c35(0x1ce)](_0xf5fb05,_0x8312cf){const _0x4dac81=_0xb36c35,_0x53910d=this[_0x4dac81(0x1e4)][_0x4dac81(0x1aa)](_0xf5fb05);return _0x53910d['on'](_0x4dac81(0xf5),(_0x137b20,_0x12ffcc,_0x20e574)=>_0x8312cf(_0x12ffcc,_0x20e574,_0x53910d)),this[_0x4dac81(0x1e4)][_0x4dac81(0x119)](_0x53910d),_0x53910d;}[_0xb36c35(0x1b6)](_0x10e315){const _0x2245e0=_0xb36c35;if(!_0x10e315||_0x10e315[_0x2245e0(0x1fb)])return Promise[_0x2245e0(0x1fe)]();{const _0x36db03=this[_0x2245e0(0x202)][_0x2245e0(0x1e1)][_0x2245e0(0x205)](_0x2245e0(0x18b));return this[_0x2245e0(0x200)][_0x2245e0(0xfc)]({'channelId':_0x36db03,'revisionId':_0x10e315['id']})[_0x2245e0(0x125)](_0x466229=>{const _0x1f92be=_0x2245e0;_0x10e315[_0x1f92be(0xf5)]({'diffData':_0x466229[_0x1f92be(0x1fb)]},!0x0);});}}[_0xb36c35(0x179)](){const _0x3e75f7=_0xb36c35;this[_0x3e75f7(0xd6)]=null,this[_0x3e75f7(0x109)](),this[_0x3e75f7(0x120)]&&this[_0x3e75f7(0x120)][_0x3e75f7(0x1f6)](),this[_0x3e75f7(0x120)]=null,this[_0x3e75f7(0x11b)][_0x3e75f7(0xd2)](),this[_0x3e75f7(0x202)][_0x3e75f7(0xc1)][_0x3e75f7(0x167)]({'isUndoable':!0x1},_0x3182ac=>{const _0x25e849=_0x3e75f7;for(const _0x2e5d7e of this[_0x25e849(0x202)][_0x25e849(0xc1)][_0x25e849(0x183)][_0x25e849(0xf7)]())_0x3182ac[_0x25e849(0x161)](_0x2e5d7e);});}[_0xb36c35(0xea)](_0x2e2d7f){const _0x47bc81=_0xb36c35,_0x357e5b=[],_0x5dd9d9=new Map();for(const _0x599fa1 of this[_0x47bc81(0x202)][_0x47bc81(0xc1)][_0x47bc81(0x183)][_0x47bc81(0xf7)]()){const _0x54e9cc=this[_0x47bc81(0x202)][_0x47bc81(0x153)][_0x47bc81(0x15e)][_0x47bc81(0x18d)](_0x599fa1);if(!_0x54e9cc)continue;const _0x1ae31f=_0x54e9cc[_0x47bc81(0xe4)]()[_0x47bc81(0x1dd)](0x0);_0x1ae31f&&(_0x357e5b[_0x47bc81(0x156)](_0x599fa1),_0x5dd9d9[_0x47bc81(0x111)](_0x599fa1,_0x1ae31f));}return _0x357e5b[_0x47bc81(0x1af)]((_0x2889c9,_0x3d0c1d)=>{const _0x11f72d=_0x47bc81,_0x2414ef=_0x5dd9d9[_0x11f72d(0x205)](_0x2889c9),_0x4b8ae4=_0x5dd9d9[_0x11f72d(0x205)](_0x3d0c1d);return _0x2414ef['y']-_0x4b8ae4['y']||_0x2414ef['x']-_0x4b8ae4['x'];}),(_0x2e2d7f=_0x2e2d7f[_0x47bc81(0xee)](_0x5823cc=>_0x357e5b[_0x47bc81(0x13e)](_0x5823cc[_0x47bc81(0x154)])))[_0x47bc81(0x1af)]((_0x527d01,_0x4d768b)=>_0x357e5b[_0x47bc81(0x17c)](_0x527d01[_0x47bc81(0x154)])-_0x357e5b[_0x47bc81(0x17c)](_0x4d768b[_0x47bc81(0x154)])),_0x2e2d7f;}[_0xb36c35(0x100)](_0x11089c){const _0x430f3a=_0xb36c35,_0x483e76=Array[_0x430f3a(0x199)](_0x11089c[_0x430f3a(0x193)])[_0x430f3a(0xee)](([_0x48bbfe,_0x54602b])=>_0x48bbfe[_0x430f3a(0x130)](_0x430f3a(0x1cb))&&!_0x54602b[_0x430f3a(0xc9)]),_0xc1d384=Array[_0x430f3a(0x199)](this[_0x430f3a(0x202)][_0x430f3a(0xc1)][_0x430f3a(0x141)](_0x11089c)[_0x430f3a(0x10f)]({'singleCharacters':!0x0}));if(0x0!=_0x483e76[_0x430f3a(0x1dc)])for(const _0xf0f1d0 of _0xc1d384){const [_0x5f4384,_0xcff51a]=_0x483e76[0x0],[,_0x2c0632,_0x434972]=_0x5f4384[_0x430f3a(0x171)](':');if(_0xcff51a[_0x430f3a(0x10d)][_0x430f3a(0x169)](_0xf0f1d0[_0x430f3a(0x178)])&&_0x483e76[_0x430f3a(0x121)](),(_0xf0f1d0[_0x430f3a(0xc0)][_0x430f3a(0x169)](_0xcff51a[_0x430f3a(0x1c3)])||_0xf0f1d0[_0x430f3a(0xc0)][_0x430f3a(0x1d8)](_0xcff51a[_0x430f3a(0x1c3)]))&&(_0x430f3a(0x107)==_0x2c0632?_0xf0f1d0[_0x430f3a(0x14d)]={'userId':_0x434972}:_0x430f3a(0x1d6)==_0x2c0632&&(_0xf0f1d0[_0x430f3a(0x1de)]={'userId':_0x434972})),0x0==_0x483e76[_0x430f3a(0x1dc)])break;}return _0xc1d384;}[_0xb36c35(0x1d4)](_0x2c95cc){const _0x4a00e3=_0xb36c35,_0x21b71d=new Map();for(let _0x55d2dd=0x0;_0x55d2dd<_0x2c95cc[_0x4a00e3(0x1dc)];_0x55d2dd++)_0x4a00e3(0x1a9)===_0x2c95cc[_0x55d2dd][_0x4a00e3(0x136)]?(_0x2c95cc[_0x55d2dd][_0x4a00e3(0x1dd)][_0x4a00e3(0x17d)]=_0x55d2dd,_0x2c95cc[_0x55d2dd][_0x4a00e3(0x1dd)][_0x4a00e3(0xc7)]=_0x55d2dd):(_0x4a00e3(0x15b)===_0x2c95cc[_0x55d2dd][_0x4a00e3(0x136)]?_0x2c95cc[_0x55d2dd][_0x4a00e3(0x1dd)][_0x4a00e3(0x17d)]=_0x55d2dd:_0x4a00e3(0x144)===_0x2c95cc[_0x55d2dd][_0x4a00e3(0x136)]&&(_0x2c95cc[_0x55d2dd][_0x4a00e3(0x1dd)][_0x4a00e3(0xc7)]=_0x55d2dd),_0x21b71d[_0x4a00e3(0x111)](_0x2c95cc[_0x55d2dd]['id'],_0x55d2dd));for(const _0x2390bf of _0x21b71d[_0x4a00e3(0xf4)]())_0x4a00e3(0x15b)===_0x2c95cc[_0x2390bf][_0x4a00e3(0x136)]?_0x2c95cc[_0x2390bf][_0x4a00e3(0x1dd)][_0x4a00e3(0xc7)]=_0x21b71d[_0x4a00e3(0x205)](_0x2c95cc[_0x2390bf][_0x4a00e3(0xd9)]):_0x4a00e3(0x144)===_0x2c95cc[_0x2390bf][_0x4a00e3(0x136)]&&(_0x2c95cc[_0x2390bf][_0x4a00e3(0x1dd)][_0x4a00e3(0x17d)]=_0x21b71d[_0x4a00e3(0x205)](_0x2c95cc[_0x2390bf][_0x4a00e3(0xd9)]));}[_0xb36c35(0x15c)](_0x4f27af){const _0x3f45a4=_0xb36c35;for(let _0x3a8d07=0x0;_0x3a8d07<_0x4f27af[_0x3f45a4(0x1dc)];_0x3a8d07++){if(_0x3f45a4(0x15b)===_0x4f27af[_0x3a8d07][_0x3f45a4(0x136)])_0x4f27af[_0x3a8d07][_0x3f45a4(0x1dd)][_0x3f45a4(0x17d)]=_0x3a8d07;else{if(_0x3f45a4(0x144)===_0x4f27af[_0x3a8d07][_0x3f45a4(0x136)]){_0x4f27af[_0x3a8d07][_0x3f45a4(0x1dd)][_0x3f45a4(0xc7)]=_0x3a8d07;const _0x545632=_0x4f27af[_0x3a8d07][_0x3f45a4(0x1dd)][_0x3f45a4(0x17d)];_0x4f27af[_0x545632][_0x3f45a4(0xd9)]=_0x4f27af[_0x3a8d07]['id'],_0x4f27af[_0x3a8d07][_0x3f45a4(0xd9)]=_0x4f27af[_0x545632]['id'];}else _0x4f27af[_0x3a8d07][_0x3f45a4(0x1dd)][_0x3f45a4(0x17d)]=_0x3a8d07,_0x4f27af[_0x3a8d07][_0x3f45a4(0x1dd)][_0x3f45a4(0xc7)]=_0x3a8d07,_0x4f27af[_0x3a8d07][_0x3f45a4(0xd9)]=null;}_0x4f27af[_0x3a8d07][_0x3f45a4(0x176)]||(_0x4f27af[_0x3a8d07][_0x3f45a4(0x176)]=[],_0x4f27af[_0x3a8d07][_0x3f45a4(0x18a)]=[]);}}[_0xb36c35(0x147)](_0x38ad0b,_0x355a8a){const _0x8d1062=_0xb36c35,_0x4b4e2=_0x38ad0b[_0x8d1062(0xee)](_0x119877=>!_0x119877[_0x8d1062(0x14d)]);for(let _0x2bccd4=0x0;_0x2bccd4<_0x355a8a[_0x8d1062(0x1dc)];_0x2bccd4++)_0x355a8a[_0x2bccd4][_0x8d1062(0x14d)]&&(_0x4b4e2[_0x2bccd4][_0x8d1062(0x14d)]=_0x355a8a[_0x2bccd4][_0x8d1062(0x14d)]);}[_0xb36c35(0x103)](_0x82cdbe){const _0x22d418=_0xb36c35,_0x337850=JSON[_0x22d418(0x11c)](_0x82cdbe),_0x434885=this[_0x22d418(0x202)][_0x22d418(0x153)][_0x22d418(0x15e)][_0x22d418(0x183)],_0x54c2eb=new _0x1e6fec(_0x434885,_0x337850[_0x22d418(0x143)](_0x6808c6=>this[_0x22d418(0xf9)](_0x6808c6)));return this[_0x22d418(0x202)][_0x22d418(0x1d1)][_0x22d418(0xbc)](_0x54c2eb);}[_0xb36c35(0xf9)](_0xa85f74){const _0x253aa8=_0xb36c35,_0x37241d=this[_0x253aa8(0x202)][_0x253aa8(0x153)][_0x253aa8(0x15e)][_0x253aa8(0x183)];if(_0x253aa8(0xce)==typeof _0xa85f74)return new _0xc191d3(_0x37241d,_0xa85f74);{const _0x1f1b55=_0xa85f74[_0x253aa8(0x14e)][_0x253aa8(0x143)](_0x49aec6=>this[_0x253aa8(0xf9)](_0x49aec6));return new(tt[_0xa85f74[(_0x253aa8(0x136))]]||_0x526899)(_0x37241d,_0xa85f74[_0x253aa8(0x1d2)],_0xa85f74[_0x253aa8(0x12a)],_0x1f1b55);}}[_0xb36c35(0x1e6)](_0x1795a6,_0x5e3863=null){const _0x79ce23=_0xb36c35,_0x26a70c=this[_0x79ce23(0x1e4)][_0x79ce23(0xfc)](_0x1795a6),_0x301cba=_0x5e3863?this[_0x79ce23(0x1e4)][_0x79ce23(0xfc)](_0x5e3863):null,_0x2d99fb=this[_0x79ce23(0x188)](_0x26a70c,_0x301cba),_0x2123bb=_0x2d99fb[_0x2d99fb[_0x79ce23(0x1dc)]-0x1],_0x42d0f5=new Map(),_0x547c34={'model':{},'attributes':{},'changes':[]},_0x37ba17=new Set(),_0x36ece6=new Map();for(let _0x21b945=_0x2d99fb[_0x79ce23(0x1dc)]-0x1;_0x21b945>=0x0;_0x21b945--){const _0x26268b=_0x2d99fb[_0x21b945];for(const _0xdcbf12 of Object[_0x79ce23(0x10c)](_0x26268b[_0x79ce23(0x1fb)]))if(_0x26268b[_0x79ce23(0x1fb)][_0xdcbf12][_0x79ce23(0x12f)]){const _0x274ccf=_0x26268b[_0x79ce23(0x1fb)][_0xdcbf12][_0x79ce23(0x12f)];_0x274ccf[_0x79ce23(0x13d)]?(_0x37ba17[_0x79ce23(0x1b9)](_0xdcbf12),_0x36ece6[_0x79ce23(0x138)](_0xdcbf12)&&_0x36ece6[_0x79ce23(0x205)](_0xdcbf12)[_0x79ce23(0x1c0)]==_0x274ccf[_0x79ce23(0x1c0)]?_0x36ece6[_0x79ce23(0x14c)](_0xdcbf12):_0x36ece6[_0x79ce23(0x111)](_0xdcbf12,_0x274ccf)):_0x36ece6[_0x79ce23(0x138)](_0xdcbf12)?(_0x37ba17[_0x79ce23(0x14c)](_0xdcbf12),_0x36ece6[_0x79ce23(0x14c)](_0xdcbf12)):(_0x37ba17[_0x79ce23(0x1b9)](_0xdcbf12),_0x36ece6[_0x79ce23(0x111)](_0xdcbf12,_0x274ccf));}else _0x37ba17[_0x79ce23(0x1b9)](_0xdcbf12);}for(const _0x3eb80c of _0x37ba17){const _0xb1b2b2=_0x36ece6[_0x79ce23(0x138)](_0x3eb80c)&&!_0x36ece6[_0x79ce23(0x205)](_0x3eb80c)[_0x79ce23(0x13d)];let _0x34180b=_0xb1b2b2?_0x2d99fb[_0x79ce23(0x1dc)]-0x1:0x0;const _0x38833f=_0xb1b2b2?-0x1:0x1;for(;_0x2d99fb[_0x34180b];){const _0x1721cb=_0x2d99fb[_0x34180b];if(_0x1721cb[_0x79ce23(0x1fb)][_0x3eb80c]){const _0x63d516=_0xb1b2b2?_0x1721cb[_0x79ce23(0x1fb)][_0x3eb80c][_0x79ce23(0x185)]:_0x1721cb[_0x79ce23(0x1fb)][_0x3eb80c][_0x79ce23(0xff)];_0x547c34[_0x79ce23(0x12a)][_0x3eb80c]=_0x63d516?_0x5d9da5(_0x63d516):{};break;}_0x34180b+=_0x38833f;}}for(const _0x105b5c of _0x2d99fb){_0x105b5c[_0x79ce23(0xc1)]={};for(const _0x5d363e of _0x105b5c[_0x79ce23(0x1e5)])_0x42d0f5[_0x79ce23(0x111)](_0x5d363e['id'],_0x5d363e);for(const _0x224309 of _0x37ba17){const _0x529c24=_0x105b5c[_0x79ce23(0x1fb)][_0x224309]?_0x105b5c[_0x79ce23(0x1fb)][_0x224309][_0x79ce23(0x1a3)]:'[]',_0x25fc62=_0x105b5c[_0x79ce23(0x1fb)][_0x224309]?_0x105b5c[_0x79ce23(0x1fb)][_0x224309][_0x79ce23(0x1da)]:'[]';_0x105b5c[_0x79ce23(0xc1)][_0x224309]={'insertions':this[_0x79ce23(0x103)](_0x529c24),'deletions':this[_0x79ce23(0x103)](_0x25fc62)};}}for(const _0x22749f of _0x37ba17){let _0x510827=null,_0x196f1b=0x0;const _0x62a5e8=new Map(Array[_0x79ce23(0x199)](_0x26a70c[_0x79ce23(0xc1)][_0x22749f][_0x79ce23(0x1a3)][_0x79ce23(0x193)])[_0x79ce23(0xee)](([_0x54c5cb])=>!_0x54c5cb[_0x79ce23(0x130)](_0x79ce23(0x1cb))));let _0x509763=0x0;for(const _0x3d425c of _0x2d99fb){const _0x368f0f=this[_0x79ce23(0x100)](_0x3d425c[_0x79ce23(0xc1)][_0x22749f][_0x79ce23(0x1a3)]);_0x3d425c==_0x26a70c?(_0x510827=_0x368f0f,_0x196f1b=_0x510827[_0x79ce23(0x1dc)],_0x510827[_0x79ce23(0x137)](_0x8d46da=>{_0x8d46da['id']=_0x509763++;}),this[_0x79ce23(0x15c)](_0x510827)):this[_0x79ce23(0x147)](_0x510827,_0x368f0f);const _0x2ed0ec=_0x510827[_0x79ce23(0xee)](_0x56bb31=>!_0x56bb31[_0x79ce23(0x14d)])[_0x79ce23(0x143)](_0xa7b5b6=>_0xa7b5b6['id']);let _0x157c40=0x0;const _0x29c7fb=this[_0x79ce23(0x100)](_0x3d425c[_0x79ce23(0xc1)][_0x22749f][_0x79ce23(0x1da)]);_0x29c7fb[_0x79ce23(0x137)](_0x175a38=>{const _0x27d292=_0x79ce23;_0x175a38[_0x27d292(0x1de)]?_0x175a38['id']=_0x196f1b++:_0x175a38['id']=_0x2ed0ec[_0x157c40++];}),this[_0x79ce23(0x15c)](_0x29c7fb),this[_0x79ce23(0x1fd)](_0x510827,_0x79ce23(0x14d)),this[_0x79ce23(0x1fd)](_0x29c7fb,_0x79ce23(0x1de)),_0x3d425c==_0x26a70c&&this[_0x79ce23(0x16e)](_0x510827,_0x62a5e8),_0x510827=this[_0x79ce23(0x186)](_0x510827,_0x29c7fb),this[_0x79ce23(0x1d4)](_0x510827),this[_0x79ce23(0x1fd)](_0x510827,_0x79ce23(0x1de));}_0x510827=_0x510827[_0x79ce23(0xee)](_0x37dfb6=>!(_0x37dfb6[_0x79ce23(0x14d)]&&_0x37dfb6[_0x79ce23(0x1de)]));const _0x1de454=new Map(_0x2123bb[_0x79ce23(0xc1)][_0x22749f][_0x79ce23(0x1da)][_0x79ce23(0x193)]),_0x4c6a01=new Set(_0x62a5e8[_0x79ce23(0x10c)]());for(const _0x4d260b of _0x1de454[_0x79ce23(0x10c)]())_0x4c6a01[_0x79ce23(0x14c)](_0x4d260b);this[_0x79ce23(0x1ca)](_0x510827,_0x4c6a01),this[_0x79ce23(0xe3)](_0x510827),_0x510827=this[_0x79ce23(0x11f)](_0x510827),_0x510827=this[_0x79ce23(0x184)](_0x510827),_0x510827=this[_0x79ce23(0x16c)](_0x510827);const {root:_0x450e21,changes:_0x3f9023}=this[_0x79ce23(0xfd)](_0x510827,_0x42d0f5,_0x22749f);_0x547c34[_0x79ce23(0xc1)][_0x22749f]=_0x450e21;const _0x9e8f9c=_0x36ece6[_0x79ce23(0x205)](_0x22749f);if(_0x9e8f9c){const _0x542649=_0x42d0f5[_0x79ce23(0x205)](_0x9e8f9c[_0x79ce23(0x1c0)]),_0x5df1b3=new _0x423860({'author':_0x542649,'type':_0x9e8f9c[_0x79ce23(0x13d)]?_0x79ce23(0x1b9):_0x79ce23(0x146),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x22749f});_0x3f9023[_0x79ce23(0x135)](_0x5df1b3),_0x547c34[_0x79ce23(0x12a)][_0x22749f][_0x79ce23(0x1a6)]=_0x5df1b3['id'];}_0x547c34[_0x79ce23(0xc3)]=_0x547c34[_0x79ce23(0xc3)][_0x79ce23(0xb9)](_0x3f9023);}return _0x547c34;}[_0xb36c35(0x16e)](_0x3fc28e,_0x19a182){const _0x14102a=_0xb36c35;for(let _0x4c4865=0x0;_0x4c4865<_0x3fc28e[_0x14102a(0x1dc)];_0x4c4865++)for(const [_0x5a099a,_0x1b3aa4]of _0x19a182)_0x1b3aa4[_0x14102a(0x1c3)][_0x14102a(0x169)](_0x3fc28e[_0x4c4865][_0x14102a(0xc0)])&&_0x3fc28e[_0x4c4865][_0x14102a(0x176)][_0x14102a(0x156)](_0x5a099a),_0x1b3aa4[_0x14102a(0x10d)][_0x14102a(0x169)](_0x3fc28e[_0x4c4865][_0x14102a(0x178)])&&_0x3fc28e[_0x4c4865][_0x14102a(0x18a)][_0x14102a(0x156)](_0x5a099a);}[_0xb36c35(0x186)](_0x7e2d42,_0x45e9c7){const _0x301d9c=_0xb36c35;let _0x18df94=[],_0x2aa124=0x0,_0x53f64a=0x0;for(;_0x2aa124<_0x7e2d42[_0x301d9c(0x1dc)]||_0x53f64a<_0x45e9c7[_0x301d9c(0x1dc)];){const _0x3ab4c9=_0x7e2d42[_0x2aa124]||{},_0x3b000b=_0x45e9c7[_0x53f64a]||{};if(_0x3ab4c9['id']==_0x3b000b['id'])_0x2aa124++,_0x53f64a++,_0x18df94[_0x301d9c(0x156)](_0x3ab4c9);else{if(_0x3b000b[_0x301d9c(0x1de)]&&_0x3ab4c9[_0x301d9c(0x14d)]){const {commonTape:_0x2f4033,iEnd:_0x9e172b,jEnd:_0x111ddb}=this[_0x301d9c(0x1fa)](_0x7e2d42,_0x2aa124,_0x45e9c7,_0x53f64a);_0x18df94=_0x18df94[_0x301d9c(0xb9)](_0x2f4033),_0x2aa124=_0x9e172b,_0x53f64a=_0x111ddb;}else _0x3b000b[_0x301d9c(0x1de)]?(_0x53f64a++,_0x18df94[_0x301d9c(0x156)](_0x3b000b)):(_0x2aa124++,_0x18df94[_0x301d9c(0x156)](_0x3ab4c9));}}return _0x18df94;}[_0xb36c35(0x1ca)](_0x5e54dc,_0xc22eac){const _0xc01625=_0xb36c35,_0x150910=[];for(let _0xf098a0=0x0;_0xf098a0<_0x5e54dc[_0xc01625(0x1dc)];_0xf098a0++){for(let _0x528650=0x0;_0x528650<_0x5e54dc[_0xf098a0][_0xc01625(0x176)][_0xc01625(0x1dc)];_0x528650++){const _0x1baf8d=_0x5e54dc[_0xf098a0][_0xc01625(0x176)][_0x528650];if(!_0xc22eac[_0xc01625(0x138)](_0x1baf8d))continue;const {group:_0x5d3b5b,type:_0x1116e7,authorId:_0xe8b097}=_0x1082f2(_0x1baf8d);_0xc01625(0x1c6)!=_0x5d3b5b||_0xc01625(0x107)!=_0x1116e7&&_0xc01625(0x1d6)!=_0x1116e7||(_0x150910[_0xc01625(0x135)]({'type':_0x1116e7,'name':_0x1baf8d,'userId':_0xe8b097}),_0x5e54dc[_0xf098a0][_0xc01625(0x176)][_0xc01625(0xda)](_0x528650,0x1),_0x528650--);}_0x176eb9(_0x5e54dc[_0xf098a0]);for(let _0x257f5b=0x0;_0x257f5b<_0x5e54dc[_0xf098a0][_0xc01625(0x18a)][_0xc01625(0x1dc)];_0x257f5b++){const _0x3f6f8e=_0x5e54dc[_0xf098a0][_0xc01625(0x18a)][_0x257f5b];if(!_0xc22eac[_0xc01625(0x138)](_0x3f6f8e))continue;const {group:_0x3dc150,type:_0x3a29c9}=_0x1082f2(_0x3f6f8e);if(_0xc01625(0x1c6)!=_0x3dc150||_0xc01625(0x107)!=_0x3a29c9&&_0xc01625(0x1d6)!=_0x3a29c9)continue;_0x5e54dc[_0xf098a0][_0xc01625(0x18a)][_0xc01625(0xda)](_0x257f5b,0x1),_0x257f5b--;const _0xa44f45=_0x150910[_0xc01625(0x126)](_0x2bb97f=>_0x2bb97f[_0xc01625(0x1d2)]==_0x3f6f8e);_0xa44f45>-0x1&&_0x150910[_0xc01625(0xda)](_0xa44f45,0x1);}}function _0x1082f2(_0x521797){const _0x225ff0=_0xc01625,_0x57d017=_0x521797[_0x225ff0(0x171)](':');return{'group':_0x57d017[0x0],'type':_0x57d017[0x1],'subType':_0x57d017[_0x225ff0(0x1dc)]>=0x5?_0x57d017[0x2]:null,'id':_0x57d017[_0x225ff0(0x1dc)]<0x5?_0x57d017[0x2]:_0x57d017[0x3],'authorId':_0x57d017[_0x225ff0(0x1dc)]<0x5?_0x57d017[0x3]:_0x57d017[0x4],'markerCount':0x6==_0x57d017[_0x225ff0(0x1dc)]?_0x57d017[0x5]:null};}function _0x176eb9(_0x2a997b){const _0x55b0ba=_0xc01625;for(let _0xb2c7a8=0x0;_0xb2c7a8<_0x150910[_0x55b0ba(0x1dc)];_0xb2c7a8++){if(_0x2a997b[_0x55b0ba(0x14d)]&&_0x55b0ba(0x107)==_0x150910[_0xb2c7a8][_0x55b0ba(0x136)])return _0x2a997b[_0x55b0ba(0x18c)]=_0x150910[_0xb2c7a8],void delete _0x2a997b[_0x55b0ba(0x14d)];if(!_0x2a997b[_0x55b0ba(0x14d)]&&!_0x2a997b[_0x55b0ba(0x1de)]&&_0x55b0ba(0x1d6)==_0x150910[_0xb2c7a8][_0x55b0ba(0x136)])return void(_0x2a997b[_0x55b0ba(0x1ae)]=_0x150910[_0xb2c7a8]);}}}[_0xb36c35(0x1fd)](_0x503369,_0x2a3dca){const _0x29c76f=_0xb36c35;let _0x179244=0x0,_0x1e97ee=!0x1;const _0x87271f=new Map();for(const _0x1cd0b7 of _0x503369)_0x1cd0b7[_0x2a3dca]?_0x1e97ee&&(_0x179244++,_0x1e97ee=!0x1):(_0x179244++,_0x1e97ee=!0x0),_0x87271f[_0x29c76f(0x111)](_0x1cd0b7['id'],_0x179244);for(let _0x2ea32e=0x0;_0x2ea32e<_0x503369[_0x29c76f(0x1dc)];_0x2ea32e++){if(_0x29c76f(0x1de)==_0x2a3dca&&_0x503369[_0x2ea32e][_0x29c76f(0x14d)]||_0x29c76f(0x14d)==_0x2a3dca&&_0x503369[_0x2ea32e][_0x29c76f(0x1de)])continue;if(_0x29c76f(0x1a9)==_0x503369[_0x2ea32e][_0x29c76f(0x136)]){_0x503369[_0x2ea32e][_0x29c76f(0x145)]=0x0;continue;}const _0x3601ea=_0x87271f[_0x29c76f(0x205)](_0x503369[_0x2ea32e][_0x29c76f(0xd9)]),_0x240fad=_0x87271f[_0x29c76f(0x205)](_0x503369[_0x2ea32e]['id']);_0x503369[_0x2ea32e][_0x29c76f(0x145)]=_0x3601ea-_0x240fad;}}[_0xb36c35(0x188)](_0x5994e0,_0x1b5607,_0xaca14c=!0x1){const _0xaf088a=_0xb36c35,_0x5c246c=[];let _0x329cea=this[_0xaf088a(0x1e4)][_0xaf088a(0x16d)](_0x5994e0),_0x2b37e4=this[_0xaf088a(0x1e4)][_0xaf088a(0x16d)](_0x1b5607);for(-0x1==_0x2b37e4&&(_0x2b37e4=this[_0xaf088a(0x1e4)][_0xaf088a(0x16a)][_0xaf088a(0x1dc)],_0xaca14c=!0x1);_0x329cea<_0x2b37e4;)_0x5c246c[_0xaf088a(0x156)](this[_0xaf088a(0x1e4)][_0xaf088a(0xfc)](_0x329cea)),_0x329cea++;return _0xaca14c&&_0x5c246c[_0xaf088a(0x156)](this[_0xaf088a(0x1e4)][_0xaf088a(0xfc)](_0x329cea)),_0x5c246c;}[_0xb36c35(0x1fa)](_0x5db373,_0xb942a8,_0x362dfd,_0x113365){const _0x1c933d=_0xb36c35,_0x1dc945=this[_0x1c933d(0x202)][_0x1c933d(0xc1)][_0x1c933d(0x152)];let _0x36dfb5=_0xb942a8;for(;_0x5db373[_0x36dfb5]&&_0x5db373[_0x36dfb5][_0x1c933d(0x14d)];)_0x36dfb5++;let _0x435c09=_0x113365;for(;_0x362dfd[_0x435c09]&&_0x362dfd[_0x435c09][_0x1c933d(0x1de)];)_0x435c09++;_0x2516aa(_0x5db373,_0xb942a8,_0x36dfb5),_0x2516aa(_0x362dfd,_0x113365,_0x435c09);const _0x2b3a75=_0x362dfd[_0x1c933d(0x160)](_0x113365,_0x435c09)[_0x1c933d(0xb9)](_0x5db373[_0x1c933d(0x160)](_0xb942a8,_0x36dfb5));return _0x2b3a75[_0x1c933d(0x1af)]((_0x188521,_0x18e877)=>_0x188521[_0x1c933d(0x1a2)]!=_0x18e877[_0x1c933d(0x1a2)]?_0x188521[_0x1c933d(0x1a2)]-_0x18e877[_0x1c933d(0x1a2)]:_0x188521[_0x1c933d(0xf0)]!=_0x18e877[_0x1c933d(0xf0)]?_0x188521[_0x1c933d(0xf0)]-_0x18e877[_0x1c933d(0xf0)]:_0x188521[_0x1c933d(0x145)]!=_0x18e877[_0x1c933d(0x145)]?_0x18e877[_0x1c933d(0x145)]-_0x188521[_0x1c933d(0x145)]:!!_0x188521[_0x1c933d(0x14d)]!=!!_0x18e877[_0x1c933d(0x14d)]?-0x1==_0x188521[_0x1c933d(0x1a2)]||0x0==_0x188521[_0x1c933d(0x1a2)]?_0x188521[_0x1c933d(0x14d)]?-0x1:0x1:_0x188521[_0x1c933d(0x14d)]?0x1:-0x1:_0x188521[_0x1c933d(0x123)]-_0x18e877[_0x1c933d(0x123)]),{'commonTape':_0x2b3a75,'iEnd':_0x36dfb5,'jEnd':_0x435c09};function _0x2516aa(_0x322ed7,_0x1a45f9,_0x3d38dd){const _0x2de39e=_0x1c933d;let _0x2f47dd=-0x1,_0x17ccae=Number[_0x2de39e(0x168)],_0x4b2c02=!0x0;for(let _0x3ad82d=_0x1a45f9;_0x3ad82d<_0x3d38dd;_0x3ad82d++)if(_0x1dc945[_0x2de39e(0x19d)](_0x322ed7[_0x3ad82d][_0x2de39e(0x1dd)])||(_0x4b2c02=!0x1),_0x322ed7[_0x3ad82d][_0x2de39e(0x1dd)][_0x2de39e(0x17d)]<_0x1a45f9&&(_0x2f47dd=_0x3ad82d),_0x322ed7[_0x3ad82d][_0x2de39e(0x1dd)][_0x2de39e(0xc7)]>=_0x3d38dd){_0x17ccae=_0x3ad82d;break;}_0x4b2c02&&(_0x2f47dd=_0x3d38dd-0x1);for(let _0x5ebf71=_0x1a45f9;_0x5ebf71<_0x3d38dd;_0x5ebf71++)_0x322ed7[_0x5ebf71][_0x2de39e(0x1a2)]=_0x5ebf71<=_0x2f47dd?-0x1:_0x5ebf71<_0x17ccae?0x0:0x1,_0x322ed7[_0x5ebf71][_0x2de39e(0x123)]=_0x5ebf71;let _0x4e5168=0x0;for(let _0x3d76fd=_0x1a45f9;_0x3d76fd<=_0x2f47dd;_0x3d76fd++)0x0==_0x322ed7[_0x3d76fd][_0x2de39e(0x145)]?_0x322ed7[_0x3d76fd][_0x2de39e(0xf0)]=_0x4e5168:(_0x4e5168++,_0x322ed7[_0x3d76fd][_0x2de39e(0xf0)]=_0x4e5168,_0x4e5168++);for(let _0x27d409=_0x1a45f9;_0x27d409<_0x3d38dd;_0x27d409++)0x0==_0x322ed7[_0x27d409][_0x2de39e(0x1a2)]&&(_0x322ed7[_0x27d409][_0x2de39e(0xf0)]=_0x4e5168);_0x4e5168=0x0;for(let _0x236c82=_0x3d38dd-0x1;_0x236c82>=_0x17ccae;_0x236c82--)0x0==_0x322ed7[_0x236c82][_0x2de39e(0x145)]?_0x322ed7[_0x236c82][_0x2de39e(0xf0)]=_0x4e5168:(_0x4e5168--,_0x322ed7[_0x236c82][_0x2de39e(0xf0)]=_0x4e5168,_0x4e5168--);}}[_0xb36c35(0xe3)](_0x1622cf){const _0x2dbce9=_0xb36c35,_0x4794f0=new Map(),_0x5e5057=this[_0x2dbce9(0x202)][_0x2dbce9(0xc1)][_0x2dbce9(0x152)];for(let _0xfeed4=0x1;_0xfeed4<_0x1622cf[_0x2dbce9(0x1dc)];_0xfeed4++){let _0x235f41,_0x24d6ca,_0x363bdf;const _0x2ac996=_0x1622cf[_0xfeed4],_0x5a31bd=_0x1622cf[_0xfeed4-0x1];if(_0x2dbce9(0x1a9)==_0x2ac996[_0x2dbce9(0x136)])continue;if(_0x2ac996[_0x2dbce9(0x136)]!=_0x5a31bd[_0x2dbce9(0x136)])continue;if(!_0x5e5057[_0x2dbce9(0x129)](_0x5a31bd[_0x2dbce9(0x1dd)])||_0x5e5057[_0x2dbce9(0x1d9)](_0x5a31bd[_0x2dbce9(0x1dd)]))continue;if(!_0x5e5057[_0x2dbce9(0x129)](_0x2ac996[_0x2dbce9(0x1dd)])||_0x5e5057[_0x2dbce9(0x1d9)](_0x2ac996[_0x2dbce9(0x1dd)]))continue;if((_0x1622cf[_0xfeed4][_0x2dbce9(0x14d)]||_0x1622cf[_0xfeed4][_0x2dbce9(0x18c)])&&_0x1622cf[_0xfeed4-0x1][_0x2dbce9(0x1de)])_0x235f41=_0x1622cf[_0xfeed4],_0x24d6ca=_0x1622cf[_0xfeed4-0x1],_0x363bdf=_0xfeed4-0x1;else{if(!_0x1622cf[_0xfeed4][_0x2dbce9(0x1de)]||!_0x1622cf[_0xfeed4-0x1][_0x2dbce9(0x14d)]&&!_0x1622cf[_0xfeed4-0x1][_0x2dbce9(0x18c)])continue;_0x235f41=_0x1622cf[_0xfeed4-0x1],_0x24d6ca=_0x1622cf[_0xfeed4],_0x363bdf=_0xfeed4;}const _0x524a91=_0x235f41[_0x2dbce9(0xf0)]==_0x24d6ca[_0x2dbce9(0xf0)],_0x19f7a6=Math[_0x2dbce9(0x1b5)](_0x235f41[_0x2dbce9(0xf0)])<Math[_0x2dbce9(0x1b5)](_0x24d6ca[_0x2dbce9(0xf0)])&&0x0==_0x24d6ca[_0x2dbce9(0x145)];(_0x524a91||_0x19f7a6)&&(_0x4794f0[_0x2dbce9(0x111)](_0x24d6ca['id'],_0x235f41['id']),_0x1622cf[_0x2dbce9(0xda)](_0x363bdf,0x1),_0xfeed4--,_0x235f41[_0x2dbce9(0x14d)]=!0x1);}for(let _0xd659=0x0;_0xd659<_0x1622cf[_0x2dbce9(0x1dc)];_0xd659++)_0x4794f0[_0x2dbce9(0x138)](_0x1622cf[_0xd659][_0x2dbce9(0xd9)])&&(_0x1622cf[_0xd659][_0x2dbce9(0xd9)]=_0x4794f0[_0x2dbce9(0x205)](_0x1622cf[_0xd659][_0x2dbce9(0xd9)]));}[_0xb36c35(0x11f)](_0xe8e3f0){const _0x52803d=_0xb36c35,_0x25a013=new Set(_0xe8e3f0[_0x52803d(0x143)](_0x452c6c=>_0x452c6c['id']));for(let _0x229353=0x0;_0x229353<_0xe8e3f0[_0x52803d(0x1dc)];_0x229353++)_0x25a013[_0x52803d(0x138)](_0xe8e3f0[_0x229353][_0x52803d(0xd9)])||0x0==_0xe8e3f0[_0x229353][_0x52803d(0x145)]||(_0xe8e3f0[_0x229353][_0x52803d(0x181)]=!0x0);return _0xe8e3f0[_0x52803d(0xee)](_0x5db90c=>!_0x5db90c[_0x52803d(0x181)]);}[_0xb36c35(0x184)](_0x19b81c){const _0x39c95c=_0xb36c35,_0x4564e3=new Set();for(let _0xcdd250=0x0;_0xcdd250<_0x19b81c[_0x39c95c(0x1dc)];_0xcdd250++){if(_0x4564e3[_0x39c95c(0x138)](_0x19b81c[_0xcdd250]['id'])&&_0x19b81c[_0xcdd250][_0x39c95c(0x1de)]&&(_0x19b81c[_0xcdd250][_0x39c95c(0x181)]=!0x0),_0x19b81c[_0xcdd250][_0x39c95c(0x181)])continue;if(0x0==_0x19b81c[_0xcdd250][_0x39c95c(0x145)])continue;if(_0x39c95c(0x15b)!=_0x19b81c[_0xcdd250][_0x39c95c(0x136)])continue;if(null==_0x19b81c[_0xcdd250][_0x39c95c(0xd9)])continue;let _0x5562c1=_0xcdd250+0x1,_0x6b58f1=0x0;for(;_0x19b81c[_0x5562c1]['id']!=_0x19b81c[_0xcdd250][_0x39c95c(0xd9)];)_0x39c95c(0x15b)==_0x19b81c[_0x5562c1][_0x39c95c(0x136)]?_0x6b58f1++:_0x39c95c(0x144)==_0x19b81c[_0x5562c1][_0x39c95c(0x136)]&&_0x6b58f1--,_0x5562c1++;if(0x0!=_0x6b58f1){if(_0x19b81c[_0xcdd250][_0x39c95c(0x1de)])_0x19b81c[_0xcdd250][_0x39c95c(0x181)]=!0x0;else{for(;_0x5562c1!=_0xcdd250;)_0x19b81c[_0x5562c1][_0x39c95c(0x1de)]&&0x0!=_0x19b81c[_0x5562c1][_0x39c95c(0x145)]&&(_0x19b81c[_0x5562c1][_0x39c95c(0x181)]=!0x0,_0x4564e3[_0x39c95c(0x1b9)](_0x19b81c[_0x5562c1][_0x39c95c(0xd9)])),_0x5562c1--;}}}return _0x19b81c[_0x39c95c(0xee)](_0x22e151=>!_0x22e151[_0x39c95c(0x181)]);}[_0xb36c35(0x16c)](_0x2cdee0){const _0x47a174=_0xb36c35,_0x43a9f7=this[_0x47a174(0x202)][_0x47a174(0xc1)][_0x47a174(0x152)];for(let _0x412218=0x0;_0x412218<_0x2cdee0[_0x47a174(0x1dc)];_0x412218++){if(!(_0x2cdee0[_0x412218][_0x47a174(0x14d)]||_0x2cdee0[_0x412218][_0x47a174(0x18c)]||_0x2cdee0[_0x412218][_0x47a174(0x1de)]||_0x2cdee0[_0x412218][_0x47a174(0x1ae)]))continue;if(0x0==_0x2cdee0[_0x412218][_0x47a174(0x145)])continue;const _0x5052b7=_0x2cdee0[_0x412218][_0x47a174(0x1dd)];_0x43a9f7[_0x47a174(0x129)](_0x5052b7)||_0x43a9f7[_0x47a174(0x1d9)](_0x5052b7)||(_0x2cdee0[_0x412218][_0x47a174(0x14d)]&&delete _0x2cdee0[_0x412218][_0x47a174(0x14d)],_0x2cdee0[_0x412218][_0x47a174(0x18c)]&&delete _0x2cdee0[_0x412218][_0x47a174(0x18c)],_0x2cdee0[_0x412218][_0x47a174(0x1ae)]&&delete _0x2cdee0[_0x412218][_0x47a174(0x1ae)],_0x2cdee0[_0x412218][_0x47a174(0x1de)]&&(_0x2cdee0[_0x412218][_0x47a174(0x181)]=!0x0));}return _0x2cdee0[_0x47a174(0xee)](_0x368811=>!_0x368811[_0x47a174(0x181)]);}[_0xb36c35(0xfd)](_0x4c7200,_0xada146,_0x14a9ec){const _0x25cead=_0xb36c35,_0x378a66=new _0x198aa4(),_0x495075=[],_0x3ba32a=new Map(),_0x31b11e=this[_0x25cead(0x202)][_0x25cead(0xc1)],_0x2c09fb=_0x31b11e[_0x25cead(0x152)],_0x56bca0=[_0x378a66],_0x33fba4={},_0x114f93={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5db0e5=null;const _0x1da99c=[0x0];for(let _0x489107=0x0;_0x489107<_0x4c7200[_0x25cead(0x1dc)];_0x489107++){let _0x3bbf64,_0x2c385c;if(_0x25cead(0x15b)===_0x4c7200[_0x489107][_0x25cead(0x136)]){_0x3bbf64=_0x31b11e[_0x25cead(0x191)](_0x378a66,_0x1da99c);const _0x41abbe=new _0x117d50(_0x4c7200[_0x489107][_0x25cead(0x1dd)][_0x25cead(0x1d2)],_0x4c7200[_0x489107][_0x25cead(0x1dd)][_0x25cead(0x10a)]());_0x56bca0[0x0][_0x25cead(0xdf)](_0x41abbe),_0x1da99c[_0x25cead(0x156)](0x0),_0x56bca0[_0x25cead(0x135)](_0x41abbe),_0x2c385c=_0x31b11e[_0x25cead(0x191)](_0x378a66,_0x1da99c),_0x5db0e5=null;}else{if(_0x25cead(0x144)===_0x4c7200[_0x489107][_0x25cead(0x136)])_0x56bca0[_0x25cead(0x121)](),_0x3bbf64=_0x31b11e[_0x25cead(0x191)](_0x378a66,_0x1da99c),_0x1da99c[_0x25cead(0x102)](),_0x1da99c[_0x1da99c[_0x25cead(0x1dc)]-0x1]++,_0x2c385c=_0x31b11e[_0x25cead(0x191)](_0x378a66,_0x1da99c),_0x5db0e5=null;else{if(_0x3bbf64=_0x31b11e[_0x25cead(0x191)](_0x378a66,_0x1da99c),_0x5db0e5&&_0xad330c(_0x5db0e5,_0x4c7200[_0x489107][_0x25cead(0x1dd)]))_0x5db0e5[_0x25cead(0xe9)]+=_0x4c7200[_0x489107][_0x25cead(0x1dd)][_0x25cead(0x1d1)];else{const _0x83ce54=new _0x38fb2a(_0x4c7200[_0x489107][_0x25cead(0x1dd)][_0x25cead(0x1d1)],_0x4c7200[_0x489107][_0x25cead(0x1dd)][_0x25cead(0x10a)]());_0x56bca0[0x0][_0x25cead(0xdf)](_0x83ce54),_0x5db0e5=_0x83ce54;}_0x1da99c[_0x1da99c[_0x25cead(0x1dc)]-0x1]+=_0x4c7200[_0x489107][_0x25cead(0x1dd)][_0x25cead(0x187)],_0x2c385c=_0x31b11e[_0x25cead(0x191)](_0x378a66,_0x1da99c);}}for(const _0x1eca4f of _0x4c7200[_0x489107][_0x25cead(0x176)])_0x3ba32a[_0x25cead(0x111)](_0x1eca4f,{'start':_0x3bbf64,'end':null});_0x75796f(_0x25cead(0x1ae),_0x489107,_0x3bbf64,_0x2c385c),_0x75796f(_0x25cead(0x18c),_0x489107,_0x3bbf64,_0x2c385c),_0x75796f(_0x25cead(0x1de),_0x489107,_0x3bbf64,_0x2c385c),_0x75796f(_0x25cead(0x14d),_0x489107,_0x3bbf64,_0x2c385c);for(const _0xf389a0 of _0x4c7200[_0x489107][_0x25cead(0x18a)]){_0x3ba32a[_0x25cead(0x205)](_0xf389a0)[_0x25cead(0x10d)]=_0x2c385c;}}for(const [_0x32e975,_0x2fe0e9]of _0x3ba32a){const _0x212766=this[_0x25cead(0x202)][_0x25cead(0xc1)][_0x25cead(0x1ba)](_0x2fe0e9[_0x25cead(0x1c3)],_0x2fe0e9[_0x25cead(0x10d)]);_0x378a66[_0x25cead(0x193)][_0x25cead(0x111)](_0x32e975,_0x212766);}return _0x495075[_0x25cead(0x1af)]((_0x383b99,_0x21b11f)=>{const _0x1da242=_0x25cead,_0x18dd83=_0x378a66[_0x1da242(0x193)][_0x1da242(0x205)](_0x1da242(0x1cb)+_0x383b99['id']),_0x59a78d=_0x378a66[_0x1da242(0x193)][_0x1da242(0x205)](_0x1da242(0x1cb)+_0x21b11f['id']);return _0x18dd83[_0x1da242(0x1c3)][_0x1da242(0xe0)](_0x59a78d[_0x1da242(0x1c3)])?-0x1:_0x18dd83[_0x1da242(0x1c3)][_0x1da242(0x1d8)](_0x59a78d[_0x1da242(0x1c3)])?0x1:_0x18dd83[_0x1da242(0x10d)][_0x1da242(0xe0)](_0x59a78d[_0x1da242(0x10d)])?-0x1:_0x18dd83[_0x1da242(0x10d)][_0x1da242(0x1d8)](_0x59a78d[_0x1da242(0x10d)])?0x1:_0x1da242(0x1b9)===_0x383b99[_0x1da242(0x136)]?-0x1:0x1;}),{'root':_0x378a66,'changes':_0x495075};function _0x75796f(_0x353bd0,_0x1ac568,_0x455341,_0x895e32){const _0x12133c=_0x25cead,_0x34d55e=!!_0x4c7200[_0x1ac568][_0x353bd0],_0x4e11cf=_0x34d55e?_0x4c7200[_0x1ac568][_0x353bd0][_0x12133c(0x1c0)]:null,_0x35d241=_0x1ac568===_0x4c7200[_0x12133c(0x1dc)]-0x1,_0x3e3245=_0x114f93[_0x353bd0][0x0],_0x5a43a5=_0x2c09fb[_0x12133c(0xfe)](_0x4c7200[_0x1ac568][_0x12133c(0x1dd)]);!_0x33fba4[_0x353bd0]&&_0x34d55e?_0x33fba4[_0x353bd0]={'start':_0x455341,'tapeItem':_0x4c7200[_0x1ac568],'userId':_0x4e11cf,'type':_0x353bd0}:_0x33fba4[_0x353bd0]&&!_0x34d55e?(_0x33fba4[_0x353bd0][_0x12133c(0x10d)]=_0x455341,_0x562465(_0x33fba4[_0x353bd0]),_0x33fba4[_0x353bd0]=null):_0x33fba4[_0x353bd0]&&_0x34d55e&&_0x33fba4[_0x353bd0][_0x12133c(0x1c0)]!==_0x4e11cf&&(_0x33fba4[_0x353bd0][_0x12133c(0x10d)]=_0x455341,_0x3e3245&&_0x3e3245[_0x12133c(0x1c0)]===_0x33fba4[_0x353bd0][_0x12133c(0x1c0)]||_0x562465(_0x33fba4[_0x353bd0]),_0x33fba4[_0x353bd0]={'start':_0x455341,'tapeItem':_0x4c7200[_0x1ac568],'userId':_0x4e11cf,'type':_0x353bd0}),_0x33fba4[_0x353bd0]&&_0x5a43a5&&(_0x12133c(0x15b)!==_0x4c7200[_0x1ac568][_0x12133c(0x136)]||_0x3e3245&&_0x3e3245[_0x12133c(0x1c0)]===_0x4e11cf||_0x114f93[_0x353bd0][_0x12133c(0x135)]({'userId':_0x4e11cf,'object':_0x4c7200[_0x1ac568][_0x12133c(0x1dd)],'change':_0x33fba4[_0x353bd0]}),_0x12133c(0x144)===_0x4c7200[_0x1ac568][_0x12133c(0x136)]&&_0x3e3245&&_0x3e3245[_0x12133c(0xca)]===_0x4c7200[_0x1ac568][_0x12133c(0x1dd)]&&(_0x114f93[_0x353bd0][_0x12133c(0x121)](),_0x33fba4[_0x353bd0]=_0x3e3245[_0x12133c(0x1f2)])),_0x33fba4[_0x353bd0]&&_0x35d241&&(_0x33fba4[_0x353bd0][_0x12133c(0x10d)]=_0x895e32,_0x562465(_0x33fba4[_0x353bd0]),_0x33fba4[_0x353bd0]=null);}function _0x562465({start:_0x33478b,end:_0x31ef12,tapeItem:_0x13c676,userId:_0x5555e2,type:_0x3f065c}){const _0x33109e=_0x25cead,_0x2b956c=_0x13c676[_0x33109e(0x1dd)],_0x12f441=_0x31b11e[_0x33109e(0x152)][_0x33109e(0x129)](_0x2b956c)&&!_0x31b11e[_0x33109e(0x152)][_0x33109e(0x1d9)](_0x2b956c),_0x4f1d7f=_0x33478b[_0x33109e(0x1ea)]==_0x31ef12[_0x33109e(0xdb)]&&_0x31ef12[_0x33109e(0x164)];if(_0x12f441&&_0x4f1d7f)return;const _0x1604fd=_0x31b11e[_0x33109e(0x1ba)](_0x33478b,_0x31ef12),_0x4b300b=_0xada146[_0x33109e(0x205)](_0x5555e2),_0x167e87=new _0x423860({'author':_0x4b300b,'type':_0x33109e(0x14d)==_0x3f065c||_0x33109e(0x18c)==_0x3f065c?_0x33109e(0x1b9):_0x33109e(0x146),'data':{'isSuggestion':_0x33109e(0x18c)==_0x3f065c||_0x33109e(0x1ae)==_0x3f065c},'createdAt':new Date(),'rootName':_0x14a9ec});_0x495075[_0x33109e(0x156)](_0x167e87),_0x378a66[_0x33109e(0x193)][_0x33109e(0x111)](_0x33109e(0x1cb)+_0x167e87['id'],_0x1604fd);}function _0xad330c(_0x270322,_0x1acaa1){const _0x3badaf=_0x25cead,_0xf8dbbf=_0x270322[_0x3badaf(0x10a)](),_0x1a5cf5=_0x1acaa1[_0x3badaf(0x10a)]();for(const _0x503e13 of _0xf8dbbf){if(_0x503e13[0x1]!==_0x1acaa1[_0x3badaf(0x1c9)](_0x503e13[0x0]))return!0x1;_0x1a5cf5[_0x3badaf(0x113)]();}return _0x1a5cf5[_0x3badaf(0x113)]()[_0x3badaf(0xe6)];}}[_0xb36c35(0x16f)](){const _0x3eb5a7=_0xb36c35;this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x12c))[_0x3eb5a7(0x1a7)]({'view':_0x3eb5a7(0x173)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x124))[_0x3eb5a7(0x1f4)]({'model':_0x3eb5a7(0x173),'view':_0x491b2e=>{const _0x785a17=_0x3eb5a7,_0x275e4c=_0x491b2e[_0x785a17(0x1e9)][_0x785a17(0x171)](':')[0x1],_0x2b23a6=this[_0x785a17(0xbe)](_0x275e4c);if(!_0x2b23a6)return null;const _0x1da208=_0x785a17(0x1b9)==_0x2b23a6[_0x785a17(0x136)]?_0x785a17(0x107):_0x785a17(0x1d6),_0x482d16=[_0x785a17(0x1eb),_0x785a17(0x1cc)+_0x1da208];return _0x2b23a6[_0x785a17(0x1d1)][_0x785a17(0x1ec)]&&_0x482d16[_0x785a17(0x156)](_0x785a17(0x1cc)+_0x1da208+_0x785a17(0x133)),this[_0x785a17(0xd6)]==_0x2b23a6&&_0x482d16[_0x785a17(0x156)](_0x785a17(0x128)),{'classes':_0x482d16,'attributes':{'data-change-id':_0x275e4c}};}}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x12c))[_0x3eb5a7(0x1b9)](_0x3d9199=>{const _0x30bf37=_0x3eb5a7;_0x3d9199['on'](_0x30bf37(0x158),(_0x3a2967,_0x4c8a53,_0x234b87)=>{const _0x38c75b=_0x30bf37,_0x30a614=_0x4c8a53[_0x38c75b(0x204)][_0x38c75b(0x122)](0x0);if(!_0x30a614||!_0x30a614['is'](_0x38c75b(0x140),_0x38c75b(0x19b)))return;if(!_0x234b87[_0x38c75b(0xd0)][_0x38c75b(0xcf)](_0x30a614,{'attributes':[_0x38c75b(0x17a),_0x38c75b(0xb7)]}))return;const _0xd140d5=_0x4c8a53[_0x38c75b(0x132)][_0x38c75b(0x1c3)][_0x38c75b(0x1ea)];_0x234b87[_0x38c75b(0x175)][_0x38c75b(0x139)](_0x38c75b(0x17a),_0x30a614[_0x38c75b(0x1c9)](_0x38c75b(0x17a)),_0xd140d5),_0x234b87[_0x38c75b(0x175)][_0x38c75b(0x139)](_0x38c75b(0xb7),_0x30a614[_0x38c75b(0x1c9)](_0x38c75b(0xb7)),_0xd140d5);},{'priority':_0x30bf37(0xed)});}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x12c))[_0x3eb5a7(0x1b9)](_0x3574a7=>{const _0x37f4e6=_0x3eb5a7;_0x3574a7['on'](_0x37f4e6(0x140),(_0x719381,_0x51cf15,_0x3ac743)=>{const _0x1e8bcf=_0x37f4e6;if(!_0x3ac743[_0x1e8bcf(0xd0)][_0x1e8bcf(0xcf)](_0x51cf15[_0x1e8bcf(0x204)],{'attributes':[_0x1e8bcf(0x17a),_0x1e8bcf(0xb7)]}))return;if(_0x51cf15[_0x1e8bcf(0x132)][_0x1e8bcf(0xc9)])return;const _0x1bef4a=_0x51cf15[_0x1e8bcf(0x132)][_0x1e8bcf(0x1c3)][_0x1e8bcf(0x1ea)];_0x1bef4a[_0x1e8bcf(0x1cd)](_0x1e8bcf(0x17a))||_0x1bef4a[_0x1e8bcf(0x1cd)](_0x1e8bcf(0x18e))||(_0x3ac743[_0x1e8bcf(0x175)][_0x1e8bcf(0x139)](_0x1e8bcf(0x17a),_0x51cf15[_0x1e8bcf(0x204)][_0x1e8bcf(0x1c9)](_0x1e8bcf(0x17a)),_0x1bef4a),_0x3ac743[_0x1e8bcf(0x175)][_0x1e8bcf(0x139)](_0x1e8bcf(0xb7),_0x51cf15[_0x1e8bcf(0x204)][_0x1e8bcf(0x1c9)](_0x1e8bcf(0xb7)),_0x1bef4a));},{'priority':_0x37f4e6(0xed)});}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x12c))[_0x3eb5a7(0x1d3)]({'view':{'name':_0x3eb5a7(0x166),'attributes':{'vid':!0x0}},'model':{'key':_0x3eb5a7(0x18e),'value':_0x44831c=>_0x44831c[_0x3eb5a7(0x1c9)](_0x3eb5a7(0x18e))}}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xc1)][_0x3eb5a7(0x152)]['on'](_0x3eb5a7(0x11d),(_0x2a5766,[,_0x238bbb])=>{const _0x445ff6=_0x3eb5a7;[_0x445ff6(0x17a),_0x445ff6(0xb7),_0x445ff6(0x18e)][_0x445ff6(0x13e)](_0x238bbb)&&(_0x2a5766[_0x445ff6(0x117)]=!0x0,_0x2a5766[_0x445ff6(0x1a8)]());},{'priority':_0x3eb5a7(0xc2)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x19e))[_0x3eb5a7(0x1b9)](_0x3db4a6=>{const _0x727078=_0x3eb5a7;_0x3db4a6['on'](_0x727078(0x127),(_0x2a6959,_0x189853,_0x647490)=>{const _0x189f4d=_0x727078;if('\x20'!=_0x189853[_0x189f4d(0x1dd)][_0x189f4d(0x1d1)]||_0x189853[_0x189f4d(0x1dd)][_0x189f4d(0xdb)][_0x189f4d(0x112)]>0x1)return;if(!_0x647490[_0x189f4d(0xd0)][_0x189f4d(0xcf)](_0x189853[_0x189f4d(0x1dd)],_0x2a6959[_0x189f4d(0x1d2)]))return;const _0x36717f=_0x647490[_0x189f4d(0x175)],_0x28426d=_0x647490[_0x189f4d(0x1ab)][_0x189f4d(0xbf)](_0x189853[_0x189f4d(0xec)]);_0x36717f[_0x189f4d(0x116)](_0x28426d,_0x36717f[_0x189f4d(0x1c2)](_0x189f4d(0x166)));});}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x19e))[_0x3eb5a7(0xdc)]({'model':_0x3eb5a7(0x173)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0x153)][_0x3eb5a7(0x15d)]['on'](_0x3eb5a7(0x180),function(_0x12f4a1){const _0x4ea63a=_0x3eb5a7,_0x219735=_0x12f4a1[_0x4ea63a(0x1bb)][_0x4ea63a(0x205)](_0x4ea63a(0x11a));return(_0x4ebfd1,_0xc652c8,_0x374fff)=>{const _0xcebcf5=_0x4ea63a,_0x114a36=_0xc652c8[_0xcebcf5(0x1e9)][_0xcebcf5(0x171)](':')[0x1],_0x419842=_0x219735[_0xcebcf5(0xbe)](_0x114a36);if(!_0x419842)return null;const _0x26b2ac=_0xcebcf5(0x1b9)==_0x419842[_0xcebcf5(0x136)]?_0xcebcf5(0x171):_0xcebcf5(0x18f);if(!_0x374fff[_0xcebcf5(0xd0)][_0xcebcf5(0x19f)](_0xc652c8[_0xcebcf5(0xdd)],_0x4ebfd1[_0xcebcf5(0x1d2)]))return;const _0x3c8959=_0xc652c8[_0xcebcf5(0xdd)][_0xcebcf5(0x10f)](),_0xfae0a6=_0xc652c8[_0xcebcf5(0xdd)][_0xcebcf5(0x1c3)],_0x27364d=_0x12f4a1[_0xcebcf5(0xc1)][_0xcebcf5(0x152)];let _0x5adb3b=null,_0x448d26=null,_0x35134f=!0x1,_0x244770=!0x1;for(const _0x11fc2d of _0x3c8959){const _0x44b3c0=_0x11fc2d[_0xcebcf5(0x1dd)];_0x35134f=_0x35134f||_0x27364d[_0xcebcf5(0xde)](_0x44b3c0);const _0x206f0e=_0x374fff[_0xcebcf5(0x1ab)][_0xcebcf5(0x149)](_0x44b3c0);if(_0x206f0e&&_0x206f0e[_0xcebcf5(0x1fc)](_0xcebcf5(0xc6)))return;_0xcebcf5(0x144)==_0x11fc2d[_0xcebcf5(0x136)]&&(_0x27364d[_0xcebcf5(0x129)](_0x44b3c0)&&!_0x27364d[_0xcebcf5(0x1d9)](_0x44b3c0)&&(_0x44b3c0[_0xcebcf5(0x189)]||_0xfae0a6[_0xcebcf5(0x106)]?_0x5adb3b&&_0x5adb3b[_0xcebcf5(0xdb)]==_0x44b3c0||(_0x5adb3b=_0x44b3c0,_0x5ef925(_0x11fc2d[_0xcebcf5(0xc0)]),_0x244770=!0x0):_0x448d26=_0x448d26||_0x11fc2d[_0xcebcf5(0xc0)]));}function _0x5ef925(_0x225596){const _0x709458=_0xcebcf5,_0x2f5728=_0x374fff[_0x709458(0x175)][_0x709458(0x1b8)](_0x709458(0x166),{'class':_0x709458(0x1cc)+_0x26b2ac}),_0x1174ac=_0x374fff[_0x709458(0x1ab)][_0x709458(0x1f8)](_0x225596);_0x419842[_0x709458(0x1d1)][_0x709458(0x1ec)]&&_0x374fff[_0x709458(0x175)][_0x709458(0x1f9)](_0x709458(0x1cc)+_0x26b2ac+_0x709458(0x133),_0x2f5728),_0x219735[_0x709458(0xd6)]==_0x419842&&_0x374fff[_0x709458(0x175)][_0x709458(0x1f9)](_0x709458(0x128),_0x2f5728),_0x374fff[_0x709458(0x175)][_0x709458(0x142)](_0x1174ac,_0x2f5728),_0x374fff[_0x709458(0x1ab)][_0x709458(0x1e7)](_0x2f5728,_0xc652c8[_0x709458(0x1e9)]);}_0x35134f||_0x244770||!_0x448d26||_0x5ef925(_0x448d26);};}(this[_0x3eb5a7(0x202)]),{'priority':_0x3eb5a7(0xe8)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0x153)][_0x3eb5a7(0x15d)]['on'](_0x3eb5a7(0x1bc),(_0x5c5ef1,_0x42e2fe,_0x57920c)=>{const _0x384fba=_0x3eb5a7,_0x24e5cd=_0x57920c[_0x384fba(0x1ab)][_0x384fba(0x13c)](_0x42e2fe[_0x384fba(0x1e9)]);if(_0x24e5cd){for(const _0xc626b6 of _0x24e5cd)(_0xc626b6[_0x384fba(0x14a)](_0x384fba(0xcc))||_0xc626b6[_0x384fba(0x14a)](_0x384fba(0x1c1)))&&(_0x57920c[_0x384fba(0x1ab)][_0x384fba(0x15a)](_0xc626b6,_0x42e2fe[_0x384fba(0x1e9)]),_0x57920c[_0x384fba(0x175)][_0x384fba(0x146)](_0xc626b6));}},{'priority':_0x3eb5a7(0xe8)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0x153)][_0x3eb5a7(0x15d)]['on'](_0x3eb5a7(0x180),(_0x2f969c,_0xa9c37f,_0x8dc44a)=>{const _0x49de77=_0x3eb5a7,_0x4db13e=_0xa9c37f[_0x49de77(0x1e9)][_0x49de77(0x171)](':')[0x1],_0x32c24c=this[_0x49de77(0xbe)](_0x4db13e);if(!_0x32c24c)return null;const _0x265b10=_0x49de77(0x1b9)==_0x32c24c[_0x49de77(0x136)]?_0x49de77(0x171):_0x49de77(0x18f);if(_0x8dc44a[_0x49de77(0xd0)][_0x49de77(0x19f)](_0xa9c37f[_0x49de77(0xdd)],_0x2f969c[_0x49de77(0x1d2)]))for(const _0x33b703 of _0xa9c37f[_0x49de77(0xdd)][_0x49de77(0x195)]()){if(!_0x33b703['is'](_0x49de77(0x140),_0x49de77(0xd3)))continue;const _0x210e1f=_0x8dc44a[_0x49de77(0x175)][_0x49de77(0x1b8)](_0x49de77(0x166),{'class':_0x49de77(0x1cc)+_0x265b10}),_0x25b383=_0x8dc44a[_0x49de77(0x1ab)][_0x49de77(0x1f8)](this[_0x49de77(0x202)][_0x49de77(0xc1)][_0x49de77(0x163)](_0x33b703));_0x32c24c[_0x49de77(0x1d1)][_0x49de77(0x1ec)]&&_0x8dc44a[_0x49de77(0x175)][_0x49de77(0x1f9)](_0x49de77(0x1cc)+_0x265b10+_0x49de77(0x133),_0x210e1f),this[_0x49de77(0xd6)]==_0x32c24c&&_0x8dc44a[_0x49de77(0x175)][_0x49de77(0x1f9)](_0x49de77(0x128),_0x210e1f),_0x8dc44a[_0x49de77(0x175)][_0x49de77(0x142)](_0x25b383,_0x210e1f),_0x8dc44a[_0x49de77(0x1ab)][_0x49de77(0x1e7)](_0x210e1f,_0xa9c37f[_0x49de77(0x1e9)]);}},{'priority':_0x3eb5a7(0xe8)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xc1)][_0x3eb5a7(0x183)]['on'](_0x3eb5a7(0x1f2),()=>{const _0x2cdfe3=_0x3eb5a7;this[_0x2cdfe3(0x202)][_0x2cdfe3(0x153)][_0x2cdfe3(0x15e)][_0x2cdfe3(0x1f2)](_0x1b96f6=>{const _0x309ef0=_0x2cdfe3;for(const _0x35d412 of this[_0x309ef0(0x202)][_0x309ef0(0xc1)][_0x309ef0(0x183)][_0x309ef0(0xf7)]()){const _0x322b4f=this[_0x309ef0(0x202)][_0x309ef0(0xc1)][_0x309ef0(0x183)][_0x309ef0(0xfb)](_0x35d412),_0x4e1565=this[_0x309ef0(0x202)][_0x309ef0(0x153)][_0x309ef0(0x15e)][_0x309ef0(0x183)][_0x309ef0(0xfb)](_0x35d412);if(_0x4e1565){const _0x155f72=_0x322b4f[_0x309ef0(0x1c9)](_0x309ef0(0x1a6));if(_0x1b96f6[_0x309ef0(0xf2)](_0x309ef0(0x1c8),_0x4e1565),_0x1b96f6[_0x309ef0(0xf8)](_0x309ef0(0x104),_0x4e1565),_0x1b96f6[_0x309ef0(0xf8)](_0x309ef0(0x1e0),_0x4e1565),_0x1b96f6[_0x309ef0(0xf8)](_0x309ef0(0x192),_0x4e1565),_0x155f72){const _0x230567=this[_0x309ef0(0xbe)](_0x155f72);if(!_0x230567)return null;_0x1b96f6[_0x309ef0(0x139)](_0x309ef0(0x1c8),_0x155f72,_0x4e1565),_0x1b96f6[_0x309ef0(0x1f9)](_0x309ef0(0x118)+_0x230567[_0x309ef0(0x136)],_0x4e1565),this[_0x309ef0(0xd6)]==_0x230567&&_0x1b96f6[_0x309ef0(0x1f9)](_0x309ef0(0x192),_0x4e1565);}}}});}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x12c))[_0x3eb5a7(0x1a7)]({'view':_0x3eb5a7(0x1db),'model':_0x56f4b1=>_0x3eb5a7(0x1e3)+_0x56f4b1,'converterPriority':_0x3eb5a7(0xc2)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x12c))[_0x3eb5a7(0x1a7)]({'view':_0x3eb5a7(0xc4),'model':_0x202034=>_0x3eb5a7(0xf6)+_0x202034,'converterPriority':_0x3eb5a7(0xc2)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x19e))[_0x3eb5a7(0xdc)]({'model':_0x3eb5a7(0x1c6),'view':_0x65c9a5=>({'name':_0x3eb5a7(0x1e8)+_0x65c9a5,'group':_0x3eb5a7(0x1c6)}),'converterPriority':_0x3eb5a7(0xc2)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0xe2)][_0x3eb5a7(0x19c)](_0x3eb5a7(0x124))[_0x3eb5a7(0x1f4)]({'model':_0x3eb5a7(0x1c6),'view':_0x5182e9=>{const _0x54f35a=_0x3eb5a7,_0x1e2baf=_0x5182e9[_0x54f35a(0x1e9)][_0x54f35a(0x171)](':')[0x1];return _0x54f35a(0x107)!=_0x1e2baf&&_0x54f35a(0x1d6)!=_0x1e2baf?null:{'classes':[_0x54f35a(0x13b),_0x54f35a(0x1f0)+_0x1e2baf]};}}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0x153)][_0x3eb5a7(0x15d)]['on'](_0x3eb5a7(0xcd),et(this[_0x3eb5a7(0x202)],_0x3eb5a7(0x18f)),{'priority':_0x3eb5a7(0xe8)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0x153)][_0x3eb5a7(0x15d)]['on'](_0x3eb5a7(0x1d5),et(this[_0x3eb5a7(0x202)],_0x3eb5a7(0x171)),{'priority':_0x3eb5a7(0xe8)}),this[_0x3eb5a7(0x202)][_0x3eb5a7(0x153)][_0x3eb5a7(0x15d)]['on'](_0x3eb5a7(0x1d0),(_0x134918,_0x3f0d6e,_0x3c9984)=>{const _0x37bb59=_0x3eb5a7,_0x41e53f=_0x3c9984[_0x37bb59(0x1ab)][_0x37bb59(0x13c)](_0x3f0d6e[_0x37bb59(0x1e9)]);if(_0x41e53f){for(const _0x4444c4 of _0x41e53f)_0x4444c4['is'](_0x37bb59(0x194))&&(_0x3c9984[_0x37bb59(0x1ab)][_0x37bb59(0x15a)](_0x4444c4,_0x3f0d6e[_0x37bb59(0x1e9)]),_0x3c9984[_0x37bb59(0x175)][_0x37bb59(0x146)](_0x4444c4));}},{'priority':_0x3eb5a7(0xe8)});}[_0xb36c35(0xbe)](_0xc8773c){const _0x5b6f88=_0xb36c35;return this[_0x5b6f88(0x11b)][_0x5b6f88(0x205)](_0xc8773c);}[_0xb36c35(0x1ad)](_0x5e11db){const _0x565d8=_0xb36c35;return this[_0x565d8(0x120)]&&this[_0x565d8(0x120)][_0x565d8(0x1f6)](),this[_0x565d8(0x120)]=new _0x469b69(this[_0x565d8(0x202)][_0x565d8(0xbb)],_0x5e11db),this[_0x565d8(0x120)];}[_0xb36c35(0x1a4)](){const _0x1ac033=_0xb36c35;this[_0x1ac033(0x202)][_0x1ac033(0xc1)][_0x1ac033(0x183)][_0x1ac033(0xf3)][_0x1ac033(0x108)](_0x1ac033(0x173)),this['on'](_0x1ac033(0x11e),(_0x19705f,_0x161ca7,_0x221a0,_0xe67531)=>{const _0x2a8c2e=_0x1ac033;_0xe67531&&this[_0x2a8c2e(0x1c5)][_0x2a8c2e(0x146)](_0xe67531),_0x221a0&&(this[_0x2a8c2e(0x1c5)][_0x2a8c2e(0x1b9)]({'view':_0x221a0,'stackId':_0x2a8c2e(0x174),'position':{'target':()=>{const _0x1420fd=_0x2a8c2e,_0x3bae25=this[_0x1420fd(0x202)][_0x1420fd(0x153)],_0x3182c3=this[_0x1420fd(0xbe)](_0x221a0[_0x1420fd(0x131)]);let _0x1aa29d;if(_0x3182c3[_0x1420fd(0x1d1)][_0x1420fd(0xcb)]){const _0x34c0e4=_0x3bae25[_0x1420fd(0x15e)][_0x1420fd(0x18d)](_0x3182c3[_0x1420fd(0x154)]);_0x1aa29d=Array[_0x1420fd(0x199)](_0x34c0e4[_0x1420fd(0xe4)]());}else{const _0x15988c=this[_0x1420fd(0x202)][_0x1420fd(0xc1)][_0x1420fd(0x193)][_0x1420fd(0x205)](_0x1420fd(0x1cb)+_0x221a0[_0x1420fd(0x131)]);_0x1aa29d=Array[_0x1420fd(0x199)](_0x3bae25[_0x1420fd(0x1ab)][_0x1420fd(0x13c)](_0x15988c[_0x1420fd(0x1d2)]))[_0x1420fd(0x143)](_0x5c6e9d=>_0x3bae25[_0x1420fd(0x15e)][_0x1420fd(0x10e)][_0x1420fd(0x17f)](_0x5c6e9d))[_0x1420fd(0x143)](_0x482fdd=>Array[_0x1420fd(0x199)](_0x482fdd[_0x1420fd(0xe4)]()))[_0x1420fd(0x182)]();}if(!this[_0x1420fd(0x1f1)])return _0x1aa29d[0x0];return _0x1aa29d[_0x1420fd(0x159)](_0x5b32a6=>_0x5b32a6[_0x1420fd(0x19a)]-0x3<=this[_0x1420fd(0x1f1)]['y']&&_0x5b32a6[_0x1420fd(0x150)]+0x3>=this[_0x1420fd(0x1f1)]['y']&&_0x5b32a6[_0x1420fd(0x1f3)]-0x3<=this[_0x1420fd(0x1f1)]['x']&&_0x5b32a6[_0x1420fd(0xd7)]+0x3>=this[_0x1420fd(0x1f1)]['x'])||_0x1aa29d[0x0];}}}),this[_0x2a8c2e(0x1c5)][_0x2a8c2e(0x1ef)](_0x2a8c2e(0x174)));}),this['on'](_0x1ac033(0x105),(_0x2d96d7,_0x36ce4e,_0x497028,_0xb50097)=>{const _0x236ef1=_0x1ac033;this[_0x236ef1(0x1bd)]=_0x497028?this[_0x236ef1(0x1ad)](_0x497028):null,this[_0x236ef1(0x202)][_0x236ef1(0xc1)][_0x236ef1(0x1f2)](()=>{const _0x265330=_0x236ef1,_0x4b095e=this[_0x265330(0x202)][_0x265330(0x153)];_0xb50097&&(_0xb50097[_0x265330(0x1d1)][_0x265330(0xcb)]?_0x4b095e[_0x265330(0x15e)][_0x265330(0x1f2)](_0xc05af8=>{const _0x314fe0=_0x265330;_0xc05af8[_0x314fe0(0xf8)](_0x314fe0(0x192),_0x4b095e[_0x314fe0(0x15e)][_0x314fe0(0x183)][_0x314fe0(0xfb)](_0xb50097[_0x314fe0(0x154)]));}):_0x4b095e[_0x265330(0x201)](_0x265330(0x1cb)+_0xb50097['id'])),_0x497028&&(_0x497028[_0x265330(0x1d1)][_0x265330(0xcb)]?_0x4b095e[_0x265330(0x15e)][_0x265330(0x1f2)](_0x30c42e=>{const _0x208ff9=_0x265330;_0x30c42e[_0x208ff9(0x1f9)](_0x208ff9(0x192),_0x4b095e[_0x208ff9(0x15e)][_0x208ff9(0x183)][_0x208ff9(0xfb)](_0x497028[_0x208ff9(0x154)]));}):_0x4b095e[_0x265330(0x201)](_0x265330(0x1cb)+_0x497028['id']));});}),this[_0x1ac033(0x1b4)](this[_0x1ac033(0x202)][_0x1ac033(0x153)][_0x1ac033(0x15e)][_0x1ac033(0x183)],_0x1ac033(0x1e2),(_0x52cc20,_0x5a8f84)=>{const _0x5c3c17=_0x1ac033;if(this[_0x5c3c17(0xd6)])return;const _0xff51b=this[_0x5c3c17(0x101)](_0x5a8f84[_0x5c3c17(0xeb)]),_0x4602d5=this[_0x5c3c17(0x11b)][_0x5c3c17(0x205)](_0xff51b);_0x4602d5?(this[_0x5c3c17(0x1f1)]={'x':_0x5a8f84[_0x5c3c17(0x172)]['x'],'y':_0x5a8f84[_0x5c3c17(0x172)]['y']},this[_0x5c3c17(0x1bd)]=this[_0x5c3c17(0x1ad)](_0x4602d5)):(this[_0x5c3c17(0x1f1)]=null,this[_0x5c3c17(0x1bd)]=null);}),this[_0x1ac033(0x1b4)](this[_0x1ac033(0x202)][_0x1ac033(0x153)][_0x1ac033(0x15e)][_0x1ac033(0x183)],_0x1ac033(0x190),(_0x3ec915,_0x2a2b68)=>{const _0x4b089a=_0x1ac033,_0x560cd8=this[_0x4b089a(0x101)](_0x2a2b68[_0x4b089a(0xeb)]),_0x466b91=this[_0x4b089a(0x11b)][_0x4b089a(0x205)](_0x560cd8);_0x466b91?(this[_0x4b089a(0x1f1)]={'x':_0x2a2b68[_0x4b089a(0x172)]['x'],'y':_0x2a2b68[_0x4b089a(0x172)]['y']},_0x466b91===this[_0x4b089a(0xd6)]?this[_0x4b089a(0x1c5)][_0x4b089a(0x1f5)]():this[_0x4b089a(0xd6)]=_0x466b91):(this[_0x4b089a(0x1f1)]=null,this[_0x4b089a(0xd6)]=null);});}[_0xb36c35(0x101)](_0x4ea788){const _0x5c40f8=_0xb36c35;do{const _0x18e381=_0x4ea788[_0x5c40f8(0x1c9)](_0x5c40f8(0x1c8));if(_0x18e381)return _0x18e381;_0x4ea788=_0x4ea788[_0x5c40f8(0xdb)];}while(_0x4ea788);return null;}[_0xb36c35(0x109)](){const _0x484104=_0xb36c35;this[_0x484104(0x202)][_0x484104(0xc1)][_0x484104(0x1f2)](_0x8071e2=>{const _0x1a67da=_0x484104;for(const _0x497603 of this[_0x1a67da(0x202)][_0x1a67da(0xc1)][_0x1a67da(0x193)])_0x8071e2[_0x1a67da(0x1ee)](_0x497603);});}}function _0x3969(_0x21da35,_0x150271){const _0x42c3d7=_0x42c3();return _0x3969=function(_0x3969c7,_0x184cff){_0x3969c7=_0x3969c7-0xb7;let _0x1e3ae4=_0x42c3d7[_0x3969c7];return _0x1e3ae4;},_0x3969(_0x21da35,_0x150271);}function et(_0x3a9075,_0x4396f4){return(_0x3d9e06,_0x56f2b9,_0x220d52)=>{const _0x122f20=_0x3969;if(!_0x220d52[_0x122f20(0xd0)][_0x122f20(0x19f)](_0x56f2b9[_0x122f20(0xdd)],_0x3d9e06[_0x122f20(0x1d2)]))return;const _0x368fda=_0x56f2b9[_0x122f20(0xdd)][_0x122f20(0x10f)](),_0x964993=_0x56f2b9[_0x122f20(0xdd)][_0x122f20(0x1c3)],_0x173a6c=_0x3a9075[_0x122f20(0xc1)][_0x122f20(0x152)];let _0x2b33b9=null,_0x93746f=null,_0x5e4dbb=!0x1,_0x3d752d=!0x1;for(const _0x3ee8eb of _0x368fda){const _0x2e7b91=_0x3ee8eb[_0x122f20(0x1dd)];_0x5e4dbb=_0x5e4dbb||_0x173a6c[_0x122f20(0xde)](_0x2e7b91);const _0x1bb796=_0x220d52[_0x122f20(0x1ab)][_0x122f20(0x149)](_0x2e7b91);if(_0x1bb796&&_0x1bb796[_0x122f20(0x1fc)](_0x122f20(0xc6)))return;_0x122f20(0x144)==_0x3ee8eb[_0x122f20(0x136)]&&(_0x173a6c[_0x122f20(0x129)](_0x2e7b91)&&!_0x173a6c[_0x122f20(0x1d9)](_0x2e7b91)&&(_0x2e7b91[_0x122f20(0x189)]||_0x964993[_0x122f20(0x106)]?_0x2b33b9&&_0x2b33b9[_0x122f20(0xdb)]==_0x2e7b91||(_0x2b33b9=_0x2e7b91,_0x2d1bab(_0x3ee8eb[_0x122f20(0xc0)]),_0x3d752d=!0x0):_0x93746f=_0x93746f||_0x3ee8eb[_0x122f20(0xc0)]));}function _0x2d1bab(_0xe47329){const _0x5c5142=_0x122f20,_0x4ef9e1=_0x220d52[_0x5c5142(0x1ab)][_0x5c5142(0x1f8)](_0xe47329),_0x56a19e=_0x220d52[_0x5c5142(0x175)][_0x5c5142(0x1b8)](_0x5c5142(0x166),{'class':_0x5c5142(0x1f0)+_0x4396f4});_0x220d52[_0x5c5142(0x175)][_0x5c5142(0x142)](_0x4ef9e1,_0x56a19e),_0x220d52[_0x5c5142(0x1ab)][_0x5c5142(0x1e7)](_0x56a19e,_0x56f2b9[_0x5c5142(0x1e9)]);}_0x5e4dbb||_0x3d752d||!_0x93746f||_0x2d1bab(_0x93746f);};}export class RestoreRevisionCommand extends _0x15584b{constructor(_0x4cfc94){const _0x14c973=_0xb36c35;super(_0x4cfc94);const _0x18bbc3=_0x4cfc94[_0x14c973(0x1bb)][_0x14c973(0x205)](d);this[_0x14c973(0x13a)]=!0x1,this[_0x14c973(0x1b4)](_0x18bbc3,_0x14c973(0x177),()=>this[_0x14c973(0x1b1)]()),this[_0x14c973(0x1b4)](_0x18bbc3,_0x14c973(0x196),()=>this[_0x14c973(0x1b1)]());}[_0xb36c35(0x1be)](){const _0x344439=_0xb36c35,_0x1f9c91=this[_0x344439(0x202)],_0x549421=_0x1f9c91[_0x344439(0x1bb)][_0x344439(0x205)](d),_0x549183=_0x549421[_0x344439(0x1ac)]?_0x549421[_0x344439(0x1ff)][_0x344439(0xba)]:null;_0x1f9c91[_0x344439(0x1e1)][_0x344439(0x205)](_0x344439(0x1b2))[_0x344439(0x198)](_0x549183);}[_0xb36c35(0x1b1)](){const _0x534a83=_0xb36c35,{isReady:_0x6cb278,isEnabled:_0x1018a4}=this[_0x534a83(0x202)][_0x534a83(0x1bb)][_0x534a83(0x205)](d);this[_0x534a83(0xe1)]=_0x6cb278&&_0x1018a4;}}export class ShowChangeCommand extends _0x15584b{constructor(_0x460f78,{direction:_0x10d99f}){const _0x14b4d6=_0xb36c35;super(_0x460f78);const _0x5791fd=_0x460f78[_0x14b4d6(0x1bb)][_0x14b4d6(0x205)](d);this[_0x14b4d6(0x13a)]=!0x1,this[_0x14b4d6(0x1d7)]=_0x14b4d6(0x197)===_0x10d99f?0x1:-0x1,this[_0x14b4d6(0x1b4)](_0x5791fd,_0x14b4d6(0x177),()=>this[_0x14b4d6(0x1b1)]()),this[_0x14b4d6(0x1b4)](_0x5791fd,_0x14b4d6(0x196),()=>this[_0x14b4d6(0x1b1)]()),this[_0x14b4d6(0x1b4)](_0x5791fd,_0x14b4d6(0x105),()=>this[_0x14b4d6(0x1b1)]());}[_0xb36c35(0x1be)](){const _0x391de8=_0xb36c35,_0x1d36d5=this[_0x391de8(0x202)],_0x35a1db=_0x1d36d5[_0x391de8(0x1bb)][_0x391de8(0x205)](d),{isNavigationMode:_0x3d4f79,currentChangeNumber:_0x22e23b}=_0x35a1db;let _0x3b524a;if(_0x35a1db[_0x391de8(0xd6)]=_0x3d4f79?_0x35a1db[_0x391de8(0x1ff)][_0x391de8(0xc3)][_0x391de8(0x205)](_0x22e23b+this[_0x391de8(0x1d7)]):_0x35a1db[_0x391de8(0x1ff)][_0x391de8(0xc3)][_0x391de8(0xd8)],_0x35a1db[_0x391de8(0xd6)][_0x391de8(0x1d1)][_0x391de8(0xcb)])_0x3b524a=_0x1d36d5[_0x391de8(0x153)][_0x391de8(0x15e)][_0x391de8(0x18d)](_0x35a1db[_0x391de8(0xd6)][_0x391de8(0x154)]);else{const _0x3d6590=_0x1d36d5[_0x391de8(0xc1)][_0x391de8(0x193)][_0x391de8(0x205)](_0x391de8(0x1cb)+_0x35a1db[_0x391de8(0xd6)]['id']);_0x3b524a=_0x592ebe(_0x1d36d5[_0x391de8(0x153)],_0x3d6590);}_0x4ef80a({'target':_0x3b524a,'viewportOffset':0x28});}[_0xb36c35(0x1b1)](){const _0x1808df=_0xb36c35,{isNavigationMode:_0x1e6135,currentChangeNumber:_0x3588ff,numberOfChanges:_0x1a4223,isReady:_0x58f172,isEnabled:_0x2aef12}=this[_0x1808df(0x202)][_0x1808df(0x1bb)][_0x1808df(0x205)](d);this[_0x1808df(0xe1)]=!!(_0x2aef12&&_0x58f172&&_0x1a4223)&&(!_0x1e6135||(0x1===this[_0x1808df(0x1d7)]?_0x3588ff<_0x1a4223-0x1:_0x3588ff>0x0));}}
|
|
23
|
+
const _0x43697=_0x1d81;(function(_0x201fb6,_0x39a76c){const _0x383550=_0x1d81,_0x2b8af8=_0x201fb6();while(!![]){try{const _0x15a7a1=-parseInt(_0x383550(0x323))/0x1+-parseInt(_0x383550(0x2e0))/0x2*(parseInt(_0x383550(0x2f9))/0x3)+-parseInt(_0x383550(0x296))/0x4*(parseInt(_0x383550(0x290))/0x5)+-parseInt(_0x383550(0x1f0))/0x6*(-parseInt(_0x383550(0x23c))/0x7)+parseInt(_0x383550(0x2ac))/0x8*(parseInt(_0x383550(0x1e4))/0x9)+parseInt(_0x383550(0x20c))/0xa*(parseInt(_0x383550(0x2bf))/0xb)+-parseInt(_0x383550(0x21c))/0xc*(-parseInt(_0x383550(0x1f7))/0xd);if(_0x15a7a1===_0x39a76c)break;else _0x2b8af8['push'](_0x2b8af8['shift']());}catch(_0x3c1c01){_0x2b8af8['push'](_0x2b8af8['shift']());}}}(_0x55ca,0xe30cb));import{Plugin as _0x2bf049,Command as _0x5fa737}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1ffd60}from'ckeditor5/src/utils.js';function _0x55ca(){const _0x16b084=['revision-suggestion:','vid_end','shift','toViewRange','object','softBreak','delete','view','_setChanges','done','dataToMarker','selection','init','adapter','slice','_data','toViewPosition','parse','-new','pluginName','merge','document','deletion','rootName','_setDistance','removeAttribute','push','pairId','_removeMissingPairs','text','top','editor','isAfter','revision-comment:','repository','map','isLimit','activeChange','schema','maxOffset','_removeRevisionMarkers','isObject','processor','ck-revision-history-root-remove','createPositionFromPath','dataDowncast','distance','ck-suggestion-preview-marker-','highest','editingDowncast','isRemoveSuggestion','ck-suggestion-marker--active','getIndex','RevisionViewer','markers','_processTape','toModel','mouseover','attachChange','type','273710tAiUeo','startIndex','attributesBefore','next','affectsData','reconvertMarker','60GLjBcA','return','addHighlight','loadRevisionData','changeId','insertion','isAtEnd','markersStart','_changeView','getRevisionRootsAttributes','getClientRects','markerNameToElements','addRevision','_getViewObj','_joinTapes','toViewElement','data-revision-','plugins','keys','findIndex','ck-suggestion-marker','deletions','42544ikKliw','elementToAttribute','change:isEnabled','conversion','children','_initInteractions','enableReadOnlyMode','mousedown','showNextChange','data-change-id','WidgetToolbarRepository','revisionHistory','markerRange','addMarker:revision-suggestion:insertion','restoreRevision','side','_appendChild','left','collaboration.channelId','48994VRYXeX','getRevision','revision','_balloon','downcastDispatcher','default','ck-suggestion-marker-merge','ck-revision-history-root--active','revision-start','changes','includes','authors','showPreviousChange','hasAttribute','length','_makeTape','insert','forceDisabled','test','checkAttribute','removeMarker:revision','ck-revision-history-root-','string','numberOfChanges','_makeModelFromTape','isContent','_threeWayMerge','isAtStart','change:numberOfChanges','all','_getDiff','_revisions','_markSuggestions','2272jFfRvo','uiElement','endIndex','low','diffData','vid','isEqual','refresh','oldRevisionId','splice','_markInsertions','enqueueChange','attribute:vid','high','ck-suggestion-preview-marker','ck-revision-history-root-add','level','commands','hasClass','editing','catch','element','isEnabled','get','change:activeChange','333WLIHOx','isAddSuggestion','index','requires','domEvent','revision-suggestion','isBefore','addRoot','change:activeView','_markMismatchedRemovedTags','markerToData','markerName','getRoot','then','detachRoot','code','change','element:pre','ck-suggestion-marker-split','from','resolve','modelRange','flat','listenTo','isReady','writer','isBlock','insertions','isAdded','revisionHistoryAttachChange','isIncorrect','sort','first','getItems','remove','POSITIVE_INFINITY','_markMarkers','_findChangeIdFromDomTarget','name','end','showStack','getAttribute','1453129TxnhTi','_getChangeFromId','_fixObsoleteTags','_removeUnsupportedChanges','attributes','markerToHighlight','model','getAttributes','mapViewToDom','isNavigationMode','_update','toData','destroy','start','backward','elementEnd','activeView','pop','createRevision','279jqpwTm','addClass','RevisionsRepository','target','previousPosition','consume','_step','_makeModelFromViewString','find','userId','elementStart','values','7813398JRmvDK','for','range','forward','wrap','nodeAfter','getWalker','13zgmBCT','domConverter','getCustomProperty','concat','useFillerType','markersEnd','upcast','config','isRemoved','setAttribute','getRevisionData','addMarker:revision-suggestion:deletion','restoreRevisionCallback','span','isSuggestion','isCollapsed','newRevisionId','attributesAfter','has','createPositionBefore','clear','4080IDbzXa','mapper','data','_setConversion','change:isReady','getRootNames','consumable','right','indexOf','offsetSize','isOnRoot','nextSibling','unshift','getChild','execute','vid_start','552324BILfYv','addRevisionData','_cleanMarkers','compare','revision-viewer','marked','startsWith','filter','unbindElementFromMarkerName','_activeViewTarget','currentChangeNumber','createUIElement','nextPosition','observeMarkers','comment','removeMarker:revision-suggestion','updatePosition','bindElementToMarker','removeMarker','stop','locale','suggestion','revision:','createRangeIn','bottom','revisionHistoryLabel','removeClass','suggestion:','createAttributeElement','diff','viewItem','_getRevisionsRange','7tcLEyD','bind','forEach','_refreshStartEndIndex','split','isInline','roots','createRange','getDomRoot','abs','_sortAndFilterDiffChanges','addMarker:revision','parent','error','set','ck-suggestion-marker-','_changeIdToChange','_cleanUp','revision-end','ck-editor__editable__overlay','isAttached','add','_getViewForChange','item'];_0x55ca=function(){return _0x16b084;};return _0x55ca();}import{ContextualBalloon as _0x55ce0f}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x1e9db2,Element as _0x1e95ac,Text as _0xa44b84,ViewDocumentFragment as _0x141a93,ViewText as _0x2b58b0,ViewElement as _0x2fbf5e,ViewContainerElement as _0x5e7f55,ViewAttributeElement as _0x210a30,ViewEmptyElement as _0x318859,ViewRawElement as _0xf89082,ViewUIElement as _0x5d65c0}from'ckeditor5/src/engine.js';import{Users as _0x2b761d,getMarkerDomElement as _0x414f13}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x129f70 from'./ui/revisionviewer/changedetailsview.js';import _0x5c19ad from'./revisionsrepository.js';import _0x5d2437 from'./changeitem.js';import{default as _0x4e8462}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x5d9881}from'lodash-es';function _0x1d81(_0x5129f8,_0x4471f7){const _0x55ca5d=_0x55ca();return _0x1d81=function(_0x1d81aa,_0x3ce1d3){_0x1d81aa=_0x1d81aa-0x1da;let _0x438fff=_0x55ca5d[_0x1d81aa];return _0x438fff;},_0x1d81(_0x5129f8,_0x4471f7);}const tt={'c':_0x5e7f55,'a':_0x210a30,'e':_0x318859,'r':_0xf89082,'u':_0x5d65c0};export default class d extends _0x2bf049{static get[_0x43697(0x267)](){const _0x4e1e0e=_0x43697;return _0x4e1e0e(0x289);}static get[_0x43697(0x2fc)](){return[_0x2b761d,_0x55ce0f,_0x5c19ad];}constructor(_0x3faf05){const _0x183dac=_0x43697;super(_0x3faf05),this[_0x183dac(0x276)]=this[_0x183dac(0x273)][_0x183dac(0x2a7)][_0x183dac(0x2f7)](_0x183dac(0x1e6)),this[_0x183dac(0x24a)](_0x183dac(0x279),null),this[_0x183dac(0x24a)](_0x183dac(0x1e1),null),this[_0x183dac(0x225)]=null,this[_0x183dac(0x24a)](_0x183dac(0x239),null),this[_0x183dac(0x24a)](_0x183dac(0x311),!0x1),this[_0x183dac(0x24a)](_0x183dac(0x2f6),!0x0),this['on'](_0x183dac(0x2ae),(_0x347f06,_0x1ccf7e,_0x13bf69)=>{const _0x5bb84d=_0x183dac;this[_0x5bb84d(0x279)]=null,this[_0x5bb84d(0x1e1)]=null,this[_0x5bb84d(0x273)][_0x5bb84d(0x2f3)][_0x5bb84d(0x25b)][_0x5bb84d(0x309)](_0x2a655c=>{const _0x88ff1a=_0x5bb84d;for(const _0x2c4e61 of this[_0x88ff1a(0x273)][_0x88ff1a(0x2f3)][_0x88ff1a(0x25b)][_0x88ff1a(0x269)][_0x88ff1a(0x242)])_0x13bf69?_0x2a655c[_0x88ff1a(0x236)](_0x88ff1a(0x24f),_0x2c4e61):_0x2a655c[_0x88ff1a(0x1e5)](_0x88ff1a(0x24f),_0x2c4e61);});}),this[_0x183dac(0x23d)](_0x183dac(0x1da))['to'](this,_0x183dac(0x279),_0x2c2992=>null!==_0x2c2992),this[_0x183dac(0x23d)](_0x183dac(0x226))['to'](this,_0x183dac(0x311),this,_0x183dac(0x239),this,_0x183dac(0x279),(_0x142b1e,_0x246ddb,_0x12b6b0)=>_0x142b1e&&_0x12b6b0?_0x246ddb[_0x183dac(0x2c8)][_0x183dac(0x288)](_0x12b6b0):0x0),this[_0x183dac(0x23d)](_0x183dac(0x2d6))['to'](this,_0x183dac(0x311),this,_0x183dac(0x239),(_0x53b8fa,_0x4b479e)=>_0x53b8fa?_0x4b479e[_0x183dac(0x2c8)][_0x183dac(0x2cd)]:0x0),this[_0x183dac(0x29e)]=null,this[_0x183dac(0x24c)]=new Map(),this[_0x183dac(0x261)]=null,this[_0x183dac(0x2c2)]=this[_0x183dac(0x273)][_0x183dac(0x2a7)][_0x183dac(0x2f7)](_0x55ce0f);}[_0x43697(0x260)](){const _0x19c62c=_0x43697,_0x6f49f9=this[_0x19c62c(0x273)],_0x139e2b=new ShowChangeCommand(_0x6f49f9,{'direction':_0x19c62c(0x1df)}),_0x2d2a3f=new ShowChangeCommand(_0x6f49f9,{'direction':_0x19c62c(0x1f3)});(_0x6f49f9[_0x19c62c(0x2f1)][_0x19c62c(0x251)](_0x19c62c(0x2cb),_0x139e2b),_0x6f49f9[_0x19c62c(0x2f1)][_0x19c62c(0x251)](_0x19c62c(0x2b4),_0x2d2a3f),_0x6f49f9[_0x19c62c(0x2f1)][_0x19c62c(0x251)](_0x19c62c(0x2ba),new RestoreRevisionCommand(_0x6f49f9)),this['on'](_0x19c62c(0x2db),()=>{const _0x150b4e=_0x19c62c;_0x139e2b[_0x150b4e(0x2e7)](),_0x2d2a3f[_0x150b4e(0x2e7)]();}),this[_0x19c62c(0x20f)](),this[_0x19c62c(0x2b1)](),_0x6f49f9[_0x19c62c(0x2b2)](_0x19c62c(0x220)),_0x6f49f9[_0x19c62c(0x2a7)][_0x19c62c(0x209)](_0x19c62c(0x2b6)))&&_0x6f49f9[_0x19c62c(0x2a7)][_0x19c62c(0x2f7)](_0x19c62c(0x2b6))[_0x19c62c(0x2d0)](_0x19c62c(0x220));}async[_0x43697(0x201)](_0x227bad){const _0x4c42cf=_0x43697;await this[_0x4c42cf(0x299)](_0x227bad);const _0x2962fd={};for(const _0x1ac9ff in _0x227bad[_0x4c42cf(0x2e4)]){if(_0x227bad[_0x4c42cf(0x2e4)][_0x1ac9ff][_0x4c42cf(0x28e)]&&!_0x227bad[_0x4c42cf(0x2e4)][_0x1ac9ff][_0x4c42cf(0x28e)][_0x4c42cf(0x250)])continue;const _0x11f98f=this[_0x4c42cf(0x27c)](JSON[_0x4c42cf(0x265)](_0x227bad[_0x4c42cf(0x2e4)][_0x1ac9ff][_0x4c42cf(0x314)])),_0x35ec1c=this[_0x4c42cf(0x273)][_0x4c42cf(0x2f3)][_0x4c42cf(0x25b)][_0x4c42cf(0x269)],_0x1cf67f=new _0x141a93(_0x35ec1c,_0x11f98f[_0x4c42cf(0x277)](_0x4d6066=>this[_0x4c42cf(0x2a3)](_0x4d6066)));this[_0x4c42cf(0x273)][_0x4c42cf(0x20e)][_0x4c42cf(0x27e)][_0x4c42cf(0x1fb)](_0x4c42cf(0x221)),_0x2962fd[_0x1ac9ff]=this[_0x4c42cf(0x273)][_0x4c42cf(0x20e)][_0x4c42cf(0x27e)][_0x4c42cf(0x1dc)](_0x1cf67f),this[_0x4c42cf(0x273)][_0x4c42cf(0x20e)][_0x4c42cf(0x27e)][_0x4c42cf(0x1fb)](_0x4c42cf(0x2c4));}return _0x2962fd;}async[_0x43697(0x29f)](_0x167fc8){const _0x583823=_0x43697;await this[_0x583823(0x299)](_0x167fc8);const _0x446548={};for(const _0x4fd6f9 in _0x167fc8[_0x583823(0x2e4)])_0x167fc8[_0x583823(0x2e4)][_0x4fd6f9][_0x583823(0x28e)]&&!_0x167fc8[_0x583823(0x2e4)][_0x4fd6f9][_0x583823(0x28e)][_0x583823(0x250)]||(_0x446548[_0x4fd6f9]=_0x167fc8[_0x583823(0x2e4)][_0x4fd6f9][_0x583823(0x208)]||{});return _0x446548;}[_0x43697(0x27c)](_0x93c9af){const _0x115887=_0x43697;return(_0x93c9af=_0x93c9af[_0x115887(0x223)](_0x3afa11=>!_0x3afa11[_0x115887(0x31f)]||_0x115887(0x2c7)!==_0x3afa11[_0x115887(0x31f)]&&_0x115887(0x24e)!==_0x3afa11[_0x115887(0x31f)]))[_0x115887(0x23e)](_0x222040=>{const _0x4079b6=_0x115887;_0x4079b6(0x2d5)!=typeof _0x222040&&(_0x222040[_0x4079b6(0x2b0)]=this[_0x4079b6(0x27c)](_0x222040[_0x4079b6(0x2b0)]),_0x222040[_0x4079b6(0x327)]=_0x222040[_0x4079b6(0x327)][_0x4079b6(0x223)](_0x41cb3e=>!_0x41cb3e[0x0][_0x4079b6(0x222)](_0x4079b6(0x2a6))));}),_0x93c9af;}async[_0x43697(0x21f)](_0x1c4eb5,_0xe7e650,_0x53aaf1=!0x1){const _0x32b880=_0x43697;if(!this[_0x32b880(0x2f6)])return;const _0xed366=this[_0x32b880(0x239)],_0x1ef0ff=this[_0x32b880(0x276)],_0x53d659=_0x32b880(0x2d5)==typeof _0x1c4eb5?_0x1ef0ff[_0x32b880(0x2c0)](_0x1c4eb5):_0x1c4eb5,_0x3e3afd=_0x32b880(0x2d5)==typeof _0xe7e650?_0x1ef0ff[_0x32b880(0x2c0)](_0xe7e650):_0xe7e650,_0x5b7018=_0x53d659['id'],_0x296a7b=_0x3e3afd?_0x3e3afd['id']:null;if(!_0x53aaf1&&this[_0x32b880(0x239)]&&this[_0x32b880(0x239)][_0x32b880(0x207)]===_0x5b7018&&this[_0x32b880(0x239)][_0x32b880(0x2e8)]===_0x296a7b)return Promise[_0x32b880(0x30d)]();this[_0x32b880(0x311)]=!0x1,this[_0x32b880(0x1e1)]=null,this[_0x32b880(0x279)]=null,this[_0x32b880(0x239)]=new _0x4e8462(_0x5b7018,_0x296a7b);const _0x4174dd=this[_0x32b880(0x23b)](_0x53d659,_0x3e3afd,!0x0)[_0x32b880(0x277)](_0x14ff67=>this[_0x32b880(0x299)](_0x14ff67));return _0x4174dd[_0x32b880(0x26e)](new Promise(_0x4e481a=>{setTimeout(_0x4e481a,0x14);})),Promise[_0x32b880(0x2dc)](_0x4174dd)[_0x32b880(0x306)](()=>{const _0x49fd95=_0x32b880;if(!this[_0x49fd95(0x2f6)])return;this[_0x49fd95(0x24d)]();const _0x523b31=this[_0x49fd95(0x2dd)](_0x5b7018,_0x296a7b);for(const _0xdf5651 of _0x523b31[_0x49fd95(0x2c8)])this[_0x49fd95(0x24c)][_0x49fd95(0x24a)](_0xdf5651['id'],_0xdf5651);this[_0x49fd95(0x273)][_0x49fd95(0x329)][_0x49fd95(0x2eb)]({'isUndoable':!0x1},_0x423d8c=>{const _0x44e440=_0x49fd95;for(const _0x354007 of this[_0x44e440(0x273)][_0x44e440(0x329)][_0x44e440(0x269)][_0x44e440(0x211)]())_0x423d8c[_0x44e440(0x307)](_0x354007);for(const _0x161eb7 of Object[_0x44e440(0x2a8)](_0x523b31[_0x44e440(0x329)])){const _0x142d8d=_0x423d8c[_0x44e440(0x300)](_0x161eb7);for(const _0x24f759 of Object[_0x44e440(0x2a8)](_0x523b31[_0x44e440(0x327)][_0x161eb7]))_0x423d8c[_0x44e440(0x200)](_0x24f759,_0x523b31[_0x44e440(0x327)][_0x161eb7][_0x24f759],_0x142d8d);_0x423d8c[_0x44e440(0x2cf)](_0x523b31[_0x44e440(0x329)][_0x161eb7],_0x142d8d,0x0);}}),this[_0x49fd95(0x239)][_0x49fd95(0x25c)](this[_0x49fd95(0x246)](_0x523b31[_0x49fd95(0x2c8)])),this[_0x49fd95(0x311)]=!0x0;})[_0x32b880(0x2f4)](_0x37096b=>{const _0x28c56d=_0x32b880;console[_0x28c56d(0x249)](_0x37096b),this[_0x28c56d(0x24d)](),_0xed366&&(this[_0x28c56d(0x239)]=_0xed366),this[_0x28c56d(0x311)]=!0x0;});}[_0x43697(0x21d)](_0x1a4d6c,_0x11627d){const _0x20bd50=_0x43697,_0x4f9c52=this[_0x20bd50(0x276)][_0x20bd50(0x1e3)](_0x1a4d6c);return _0x4f9c52['on'](_0x20bd50(0x1db),(_0x210d63,_0x5316d3,_0x3bc489)=>_0x11627d(_0x5316d3,_0x3bc489,_0x4f9c52)),this[_0x20bd50(0x276)][_0x20bd50(0x2a2)](_0x4f9c52),_0x4f9c52;}[_0x43697(0x299)](_0x412b38){const _0x1e2299=_0x43697;if(!_0x412b38||_0x412b38[_0x1e2299(0x2e4)])return Promise[_0x1e2299(0x30d)]();{const _0x441b2d=this[_0x1e2299(0x273)][_0x1e2299(0x1fe)][_0x1e2299(0x2f7)](_0x1e2299(0x2be));return this[_0x1e2299(0x261)][_0x1e2299(0x2c0)]({'channelId':_0x441b2d,'revisionId':_0x412b38['id']})[_0x1e2299(0x306)](_0x5b9f4c=>{const _0x4a89c3=_0x1e2299;_0x412b38[_0x4a89c3(0x1db)]({'diffData':_0x5b9f4c[_0x4a89c3(0x2e4)]},!0x0);});}}[_0x43697(0x24d)](){const _0x241ecd=_0x43697;this[_0x241ecd(0x279)]=null,this[_0x241ecd(0x21e)](),this[_0x241ecd(0x29e)]&&this[_0x241ecd(0x29e)][_0x241ecd(0x1dd)](),this[_0x241ecd(0x29e)]=null,this[_0x241ecd(0x24c)][_0x241ecd(0x20b)](),this[_0x241ecd(0x273)][_0x241ecd(0x329)][_0x241ecd(0x2eb)]({'isUndoable':!0x1},_0x30271a=>{const _0x5a39e1=_0x241ecd;for(const _0x21087a of this[_0x5a39e1(0x273)][_0x5a39e1(0x329)][_0x5a39e1(0x269)][_0x5a39e1(0x211)]())_0x30271a[_0x5a39e1(0x307)](_0x21087a);});}[_0x43697(0x246)](_0x59e116){const _0x1480a8=_0x43697,_0x2dd738=[],_0x277c96=new Map();for(const _0x5e9db3 of this[_0x1480a8(0x273)][_0x1480a8(0x329)][_0x1480a8(0x269)][_0x1480a8(0x211)]()){const _0x28dda3=this[_0x1480a8(0x273)][_0x1480a8(0x2f3)][_0x1480a8(0x25b)][_0x1480a8(0x244)](_0x5e9db3);if(!_0x28dda3)continue;const _0x3f594b=_0x28dda3[_0x1480a8(0x2a0)]()[_0x1480a8(0x253)](0x0);_0x3f594b&&(_0x2dd738[_0x1480a8(0x26e)](_0x5e9db3),_0x277c96[_0x1480a8(0x24a)](_0x5e9db3,_0x3f594b));}return _0x2dd738[_0x1480a8(0x318)]((_0x410a5f,_0x1dce03)=>{const _0x56fce2=_0x1480a8,_0xcdf729=_0x277c96[_0x56fce2(0x2f7)](_0x410a5f),_0x42d72a=_0x277c96[_0x56fce2(0x2f7)](_0x1dce03);return _0xcdf729['y']-_0x42d72a['y']||_0xcdf729['x']-_0x42d72a['x'];}),(_0x59e116=_0x59e116[_0x1480a8(0x223)](_0x286624=>_0x2dd738[_0x1480a8(0x2c9)](_0x286624[_0x1480a8(0x26b)])))[_0x1480a8(0x318)]((_0x46d5ed,_0x3506a1)=>_0x2dd738[_0x1480a8(0x214)](_0x46d5ed[_0x1480a8(0x26b)])-_0x2dd738[_0x1480a8(0x214)](_0x3506a1[_0x1480a8(0x26b)])),_0x59e116;}[_0x43697(0x2ce)](_0x2cb761){const _0x2dc37a=_0x43697,_0x351f72=Array[_0x2dc37a(0x30c)](_0x2cb761[_0x2dc37a(0x28a)])[_0x2dc37a(0x223)](([_0x2a1149,_0x21d3c5])=>_0x2a1149[_0x2dc37a(0x222)](_0x2dc37a(0x232))&&!_0x21d3c5[_0x2dc37a(0x206)]),_0x5597eb=Array[_0x2dc37a(0x30c)](this[_0x2dc37a(0x273)][_0x2dc37a(0x329)][_0x2dc37a(0x233)](_0x2cb761)[_0x2dc37a(0x1f6)]({'singleCharacters':!0x0}));if(0x0!=_0x351f72[_0x2dc37a(0x2cd)])for(const _0x3c5b19 of _0x5597eb){const [_0x5a75b4,_0x43a50c]=_0x351f72[0x0],[,_0x4895d6,_0x10b3a4]=_0x5a75b4[_0x2dc37a(0x240)](':');if(_0x43a50c[_0x2dc37a(0x320)][_0x2dc37a(0x2e6)](_0x3c5b19[_0x2dc37a(0x228)])&&_0x351f72[_0x2dc37a(0x256)](),(_0x3c5b19[_0x2dc37a(0x1e8)][_0x2dc37a(0x2e6)](_0x43a50c[_0x2dc37a(0x1de)])||_0x3c5b19[_0x2dc37a(0x1e8)][_0x2dc37a(0x274)](_0x43a50c[_0x2dc37a(0x1de)]))&&(_0x2dc37a(0x29b)==_0x4895d6?_0x3c5b19[_0x2dc37a(0x315)]={'userId':_0x10b3a4}:_0x2dc37a(0x26a)==_0x4895d6&&(_0x3c5b19[_0x2dc37a(0x1ff)]={'userId':_0x10b3a4})),0x0==_0x351f72[_0x2dc37a(0x2cd)])break;}return _0x5597eb;}[_0x43697(0x23f)](_0xb34742){const _0x3773d2=_0x43697,_0x41bf2c=new Map();for(let _0x3f8583=0x0;_0x3f8583<_0xb34742[_0x3773d2(0x2cd)];_0x3f8583++)_0x3773d2(0x271)===_0xb34742[_0x3f8583][_0x3773d2(0x28f)]?(_0xb34742[_0x3f8583][_0x3773d2(0x253)][_0x3773d2(0x291)]=_0x3f8583,_0xb34742[_0x3f8583][_0x3773d2(0x253)][_0x3773d2(0x2e2)]=_0x3f8583):(_0x3773d2(0x1ee)===_0xb34742[_0x3f8583][_0x3773d2(0x28f)]?_0xb34742[_0x3f8583][_0x3773d2(0x253)][_0x3773d2(0x291)]=_0x3f8583:_0x3773d2(0x1e0)===_0xb34742[_0x3f8583][_0x3773d2(0x28f)]&&(_0xb34742[_0x3f8583][_0x3773d2(0x253)][_0x3773d2(0x2e2)]=_0x3f8583),_0x41bf2c[_0x3773d2(0x24a)](_0xb34742[_0x3f8583]['id'],_0x3f8583));for(const _0x414756 of _0x41bf2c[_0x3773d2(0x1ef)]())_0x3773d2(0x1ee)===_0xb34742[_0x414756][_0x3773d2(0x28f)]?_0xb34742[_0x414756][_0x3773d2(0x253)][_0x3773d2(0x2e2)]=_0x41bf2c[_0x3773d2(0x2f7)](_0xb34742[_0x414756][_0x3773d2(0x26f)]):_0x3773d2(0x1e0)===_0xb34742[_0x414756][_0x3773d2(0x28f)]&&(_0xb34742[_0x414756][_0x3773d2(0x253)][_0x3773d2(0x291)]=_0x41bf2c[_0x3773d2(0x2f7)](_0xb34742[_0x414756][_0x3773d2(0x26f)]));}[_0x43697(0x28b)](_0x417379){const _0x44a212=_0x43697;for(let _0x45e095=0x0;_0x45e095<_0x417379[_0x44a212(0x2cd)];_0x45e095++){if(_0x44a212(0x1ee)===_0x417379[_0x45e095][_0x44a212(0x28f)])_0x417379[_0x45e095][_0x44a212(0x253)][_0x44a212(0x291)]=_0x45e095;else{if(_0x44a212(0x1e0)===_0x417379[_0x45e095][_0x44a212(0x28f)]){_0x417379[_0x45e095][_0x44a212(0x253)][_0x44a212(0x2e2)]=_0x45e095;const _0x1a0b18=_0x417379[_0x45e095][_0x44a212(0x253)][_0x44a212(0x291)];_0x417379[_0x1a0b18][_0x44a212(0x26f)]=_0x417379[_0x45e095]['id'],_0x417379[_0x45e095][_0x44a212(0x26f)]=_0x417379[_0x1a0b18]['id'];}else _0x417379[_0x45e095][_0x44a212(0x253)][_0x44a212(0x291)]=_0x45e095,_0x417379[_0x45e095][_0x44a212(0x253)][_0x44a212(0x2e2)]=_0x45e095,_0x417379[_0x45e095][_0x44a212(0x26f)]=null;}_0x417379[_0x45e095][_0x44a212(0x29d)]||(_0x417379[_0x45e095][_0x44a212(0x29d)]=[],_0x417379[_0x45e095][_0x44a212(0x1fc)]=[]);}}[_0x43697(0x2ea)](_0x3028fd,_0x4f1028){const _0xbc6283=_0x43697,_0x35431f=_0x3028fd[_0xbc6283(0x223)](_0x2a53df=>!_0x2a53df[_0xbc6283(0x315)]);for(let _0x4c8101=0x0;_0x4c8101<_0x4f1028[_0xbc6283(0x2cd)];_0x4c8101++)_0x4f1028[_0x4c8101][_0xbc6283(0x315)]&&(_0x35431f[_0x4c8101][_0xbc6283(0x315)]=_0x4f1028[_0x4c8101][_0xbc6283(0x315)]);}[_0x43697(0x1eb)](_0x113d9d){const _0x328cae=_0x43697,_0x51fab9=JSON[_0x328cae(0x265)](_0x113d9d),_0x14351b=this[_0x328cae(0x273)][_0x328cae(0x2f3)][_0x328cae(0x25b)][_0x328cae(0x269)],_0xd281f9=new _0x141a93(_0x14351b,_0x51fab9[_0x328cae(0x277)](_0x5064f7=>this[_0x328cae(0x2a3)](_0x5064f7)));return this[_0x328cae(0x273)][_0x328cae(0x20e)][_0x328cae(0x28c)](_0xd281f9);}[_0x43697(0x2a3)](_0x224d42){const _0x583d8b=_0x43697,_0x13f2bc=this[_0x583d8b(0x273)][_0x583d8b(0x2f3)][_0x583d8b(0x25b)][_0x583d8b(0x269)];if(_0x583d8b(0x2d5)==typeof _0x224d42)return new _0x2b58b0(_0x13f2bc,_0x224d42);{const _0x4708b7=_0x224d42[_0x583d8b(0x2b0)][_0x583d8b(0x277)](_0x59ca9d=>this[_0x583d8b(0x2a3)](_0x59ca9d));return new(tt[_0x224d42[(_0x583d8b(0x28f))]]||_0x2fbf5e)(_0x13f2bc,_0x224d42[_0x583d8b(0x31f)],_0x224d42[_0x583d8b(0x327)],_0x4708b7);}}[_0x43697(0x2dd)](_0x273288,_0x1ac0f5=null){const _0x5acef6=_0x43697,_0x111c50=this[_0x5acef6(0x276)][_0x5acef6(0x2c0)](_0x273288),_0x447433=_0x1ac0f5?this[_0x5acef6(0x276)][_0x5acef6(0x2c0)](_0x1ac0f5):null,_0x302996=this[_0x5acef6(0x23b)](_0x111c50,_0x447433),_0x151f62=_0x302996[_0x302996[_0x5acef6(0x2cd)]-0x1],_0x10be45=new Map(),_0x9f2d3b={'model':{},'attributes':{},'changes':[]},_0x432b20=new Set(),_0x38d01b=new Map();for(let _0x289971=_0x302996[_0x5acef6(0x2cd)]-0x1;_0x289971>=0x0;_0x289971--){const _0x843fb9=_0x302996[_0x289971];for(const _0x697d82 of Object[_0x5acef6(0x2a8)](_0x843fb9[_0x5acef6(0x2e4)]))if(_0x843fb9[_0x5acef6(0x2e4)][_0x697d82][_0x5acef6(0x28e)]){const _0x15b0ec=_0x843fb9[_0x5acef6(0x2e4)][_0x697d82][_0x5acef6(0x28e)];_0x15b0ec[_0x5acef6(0x250)]?(_0x432b20[_0x5acef6(0x251)](_0x697d82),_0x38d01b[_0x5acef6(0x209)](_0x697d82)&&_0x38d01b[_0x5acef6(0x2f7)](_0x697d82)[_0x5acef6(0x1ed)]==_0x15b0ec[_0x5acef6(0x1ed)]?_0x38d01b[_0x5acef6(0x25a)](_0x697d82):_0x38d01b[_0x5acef6(0x24a)](_0x697d82,_0x15b0ec)):_0x38d01b[_0x5acef6(0x209)](_0x697d82)?(_0x432b20[_0x5acef6(0x25a)](_0x697d82),_0x38d01b[_0x5acef6(0x25a)](_0x697d82)):(_0x432b20[_0x5acef6(0x251)](_0x697d82),_0x38d01b[_0x5acef6(0x24a)](_0x697d82,_0x15b0ec));}else _0x432b20[_0x5acef6(0x251)](_0x697d82);}for(const _0x5c5668 of _0x432b20){const _0x3db3ae=_0x38d01b[_0x5acef6(0x209)](_0x5c5668)&&!_0x38d01b[_0x5acef6(0x2f7)](_0x5c5668)[_0x5acef6(0x250)];let _0x6cb916=_0x3db3ae?_0x302996[_0x5acef6(0x2cd)]-0x1:0x0;const _0xc94f4e=_0x3db3ae?-0x1:0x1;for(;_0x302996[_0x6cb916];){const _0x13dfba=_0x302996[_0x6cb916];if(_0x13dfba[_0x5acef6(0x2e4)][_0x5c5668]){const _0x45d1ad=_0x3db3ae?_0x13dfba[_0x5acef6(0x2e4)][_0x5c5668][_0x5acef6(0x292)]:_0x13dfba[_0x5acef6(0x2e4)][_0x5c5668][_0x5acef6(0x208)];_0x9f2d3b[_0x5acef6(0x327)][_0x5c5668]=_0x45d1ad?_0x5d9881(_0x45d1ad):{};break;}_0x6cb916+=_0xc94f4e;}}for(const _0x295d4a of _0x302996){_0x295d4a[_0x5acef6(0x329)]={};for(const _0x429aa6 of _0x295d4a[_0x5acef6(0x2ca)])_0x10be45[_0x5acef6(0x24a)](_0x429aa6['id'],_0x429aa6);for(const _0x562ca6 of _0x432b20){const _0x1216a8=_0x295d4a[_0x5acef6(0x2e4)][_0x562ca6]?_0x295d4a[_0x5acef6(0x2e4)][_0x562ca6][_0x5acef6(0x314)]:'[]',_0xcfc466=_0x295d4a[_0x5acef6(0x2e4)][_0x562ca6]?_0x295d4a[_0x5acef6(0x2e4)][_0x562ca6][_0x5acef6(0x2ab)]:'[]';_0x295d4a[_0x5acef6(0x329)][_0x562ca6]={'insertions':this[_0x5acef6(0x1eb)](_0x1216a8),'deletions':this[_0x5acef6(0x1eb)](_0xcfc466)};}}for(const _0x32994a of _0x432b20){let _0x48a252=null,_0x247756=0x0;const _0x24cf97=new Map(Array[_0x5acef6(0x30c)](_0x111c50[_0x5acef6(0x329)][_0x32994a][_0x5acef6(0x314)][_0x5acef6(0x28a)])[_0x5acef6(0x223)](([_0x3bd860])=>!_0x3bd860[_0x5acef6(0x222)](_0x5acef6(0x232))));let _0x1c36ff=0x0;for(const _0x414900 of _0x302996){const _0x27712b=this[_0x5acef6(0x2ce)](_0x414900[_0x5acef6(0x329)][_0x32994a][_0x5acef6(0x314)]);_0x414900==_0x111c50?(_0x48a252=_0x27712b,_0x247756=_0x48a252[_0x5acef6(0x2cd)],_0x48a252[_0x5acef6(0x23e)](_0x4b061c=>{_0x4b061c['id']=_0x1c36ff++;}),this[_0x5acef6(0x28b)](_0x48a252)):this[_0x5acef6(0x2ea)](_0x48a252,_0x27712b);const _0x316e1b=_0x48a252[_0x5acef6(0x223)](_0x115c85=>!_0x115c85[_0x5acef6(0x315)])[_0x5acef6(0x277)](_0x190d5e=>_0x190d5e['id']);let _0x366a8d=0x0;const _0x5b116d=this[_0x5acef6(0x2ce)](_0x414900[_0x5acef6(0x329)][_0x32994a][_0x5acef6(0x2ab)]);_0x5b116d[_0x5acef6(0x23e)](_0x4b8d3a=>{const _0x42da28=_0x5acef6;_0x4b8d3a[_0x42da28(0x1ff)]?_0x4b8d3a['id']=_0x247756++:_0x4b8d3a['id']=_0x316e1b[_0x366a8d++];}),this[_0x5acef6(0x28b)](_0x5b116d),this[_0x5acef6(0x26c)](_0x48a252,_0x5acef6(0x315)),this[_0x5acef6(0x26c)](_0x5b116d,_0x5acef6(0x1ff)),_0x414900==_0x111c50&&this[_0x5acef6(0x31d)](_0x48a252,_0x24cf97),_0x48a252=this[_0x5acef6(0x2a4)](_0x48a252,_0x5b116d),this[_0x5acef6(0x23f)](_0x48a252),this[_0x5acef6(0x26c)](_0x48a252,_0x5acef6(0x1ff));}_0x48a252=_0x48a252[_0x5acef6(0x223)](_0x3cc958=>!(_0x3cc958[_0x5acef6(0x315)]&&_0x3cc958[_0x5acef6(0x1ff)]));const _0x366777=new Map(_0x151f62[_0x5acef6(0x329)][_0x32994a][_0x5acef6(0x2ab)][_0x5acef6(0x28a)]),_0x569d90=new Set(_0x24cf97[_0x5acef6(0x2a8)]());for(const _0x2ea149 of _0x366777[_0x5acef6(0x2a8)]())_0x569d90[_0x5acef6(0x25a)](_0x2ea149);this[_0x5acef6(0x2df)](_0x48a252,_0x569d90),this[_0x5acef6(0x325)](_0x48a252),_0x48a252=this[_0x5acef6(0x270)](_0x48a252),_0x48a252=this[_0x5acef6(0x302)](_0x48a252),_0x48a252=this[_0x5acef6(0x326)](_0x48a252);const {root:_0x3a245f,changes:_0x39989a}=this[_0x5acef6(0x2d7)](_0x48a252,_0x10be45,_0x32994a);_0x9f2d3b[_0x5acef6(0x329)][_0x32994a]=_0x3a245f;const _0x3227fb=_0x38d01b[_0x5acef6(0x2f7)](_0x32994a);if(_0x3227fb){const _0x3e1206=_0x10be45[_0x5acef6(0x2f7)](_0x3227fb[_0x5acef6(0x1ed)]),_0x392ddc=new _0x5d2437({'author':_0x3e1206,'type':_0x3227fb[_0x5acef6(0x250)]?_0x5acef6(0x251):_0x5acef6(0x31b),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x32994a});_0x39989a[_0x5acef6(0x218)](_0x392ddc),_0x9f2d3b[_0x5acef6(0x327)][_0x32994a][_0x5acef6(0x316)]=_0x392ddc['id'];}_0x9f2d3b[_0x5acef6(0x2c8)]=_0x9f2d3b[_0x5acef6(0x2c8)][_0x5acef6(0x1fa)](_0x39989a);}return _0x9f2d3b;}[_0x43697(0x31d)](_0x39aa4a,_0x107675){const _0x23a5fb=_0x43697;for(let _0xb9db33=0x0;_0xb9db33<_0x39aa4a[_0x23a5fb(0x2cd)];_0xb9db33++)for(const [_0x5134ec,_0xbcb21a]of _0x107675)_0xbcb21a[_0x23a5fb(0x1de)][_0x23a5fb(0x2e6)](_0x39aa4a[_0xb9db33][_0x23a5fb(0x1e8)])&&_0x39aa4a[_0xb9db33][_0x23a5fb(0x29d)][_0x23a5fb(0x26e)](_0x5134ec),_0xbcb21a[_0x23a5fb(0x320)][_0x23a5fb(0x2e6)](_0x39aa4a[_0xb9db33][_0x23a5fb(0x228)])&&_0x39aa4a[_0xb9db33][_0x23a5fb(0x1fc)][_0x23a5fb(0x26e)](_0x5134ec);}[_0x43697(0x2a4)](_0x2dc619,_0x14bd04){const _0x166920=_0x43697;let _0x23cb12=[],_0x12a32=0x0,_0x214e1b=0x0;for(;_0x12a32<_0x2dc619[_0x166920(0x2cd)]||_0x214e1b<_0x14bd04[_0x166920(0x2cd)];){const _0x1a2e93=_0x2dc619[_0x12a32]||{},_0x1c5b92=_0x14bd04[_0x214e1b]||{};if(_0x1a2e93['id']==_0x1c5b92['id'])_0x12a32++,_0x214e1b++,_0x23cb12[_0x166920(0x26e)](_0x1a2e93);else{if(_0x1c5b92[_0x166920(0x1ff)]&&_0x1a2e93[_0x166920(0x315)]){const {commonTape:_0x363ea0,iEnd:_0x41f66e,jEnd:_0x3cda46}=this[_0x166920(0x2d9)](_0x2dc619,_0x12a32,_0x14bd04,_0x214e1b);_0x23cb12=_0x23cb12[_0x166920(0x1fa)](_0x363ea0),_0x12a32=_0x41f66e,_0x214e1b=_0x3cda46;}else _0x1c5b92[_0x166920(0x1ff)]?(_0x214e1b++,_0x23cb12[_0x166920(0x26e)](_0x1c5b92)):(_0x12a32++,_0x23cb12[_0x166920(0x26e)](_0x1a2e93));}}return _0x23cb12;}[_0x43697(0x2df)](_0x30a33e,_0x1e433f){const _0x42a6e3=_0x43697,_0x250660=[];for(let _0x1e5f4c=0x0;_0x1e5f4c<_0x30a33e[_0x42a6e3(0x2cd)];_0x1e5f4c++){for(let _0x11db17=0x0;_0x11db17<_0x30a33e[_0x1e5f4c][_0x42a6e3(0x29d)][_0x42a6e3(0x2cd)];_0x11db17++){const _0x5f2b1a=_0x30a33e[_0x1e5f4c][_0x42a6e3(0x29d)][_0x11db17];if(!_0x1e433f[_0x42a6e3(0x209)](_0x5f2b1a))continue;const {group:_0x39b029,type:_0x4bda6e,authorId:_0x399b17}=_0x1ec85b(_0x5f2b1a);_0x42a6e3(0x2fe)!=_0x39b029||_0x42a6e3(0x29b)!=_0x4bda6e&&_0x42a6e3(0x26a)!=_0x4bda6e||(_0x250660[_0x42a6e3(0x218)]({'type':_0x4bda6e,'name':_0x5f2b1a,'userId':_0x399b17}),_0x30a33e[_0x1e5f4c][_0x42a6e3(0x29d)][_0x42a6e3(0x2e9)](_0x11db17,0x1),_0x11db17--);}_0x283e93(_0x30a33e[_0x1e5f4c]);for(let _0x2d7864=0x0;_0x2d7864<_0x30a33e[_0x1e5f4c][_0x42a6e3(0x1fc)][_0x42a6e3(0x2cd)];_0x2d7864++){const _0x59e8cd=_0x30a33e[_0x1e5f4c][_0x42a6e3(0x1fc)][_0x2d7864];if(!_0x1e433f[_0x42a6e3(0x209)](_0x59e8cd))continue;const {group:_0xb6f7c0,type:_0xa77057}=_0x1ec85b(_0x59e8cd);if(_0x42a6e3(0x2fe)!=_0xb6f7c0||_0x42a6e3(0x29b)!=_0xa77057&&_0x42a6e3(0x26a)!=_0xa77057)continue;_0x30a33e[_0x1e5f4c][_0x42a6e3(0x1fc)][_0x42a6e3(0x2e9)](_0x2d7864,0x1),_0x2d7864--;const _0x255226=_0x250660[_0x42a6e3(0x2a9)](_0x544ce2=>_0x544ce2[_0x42a6e3(0x31f)]==_0x59e8cd);_0x255226>-0x1&&_0x250660[_0x42a6e3(0x2e9)](_0x255226,0x1);}}function _0x1ec85b(_0x937b7e){const _0x9d12dc=_0x42a6e3,_0x23500a=_0x937b7e[_0x9d12dc(0x240)](':');return{'group':_0x23500a[0x0],'type':_0x23500a[0x1],'subType':_0x23500a[_0x9d12dc(0x2cd)]>=0x5?_0x23500a[0x2]:null,'id':_0x23500a[_0x9d12dc(0x2cd)]<0x5?_0x23500a[0x2]:_0x23500a[0x3],'authorId':_0x23500a[_0x9d12dc(0x2cd)]<0x5?_0x23500a[0x3]:_0x23500a[0x4],'markerCount':0x6==_0x23500a[_0x9d12dc(0x2cd)]?_0x23500a[0x5]:null};}function _0x283e93(_0x3ffbb9){const _0x5a8eec=_0x42a6e3;for(let _0x82a8ce=0x0;_0x82a8ce<_0x250660[_0x5a8eec(0x2cd)];_0x82a8ce++){if(_0x3ffbb9[_0x5a8eec(0x315)]&&_0x5a8eec(0x29b)==_0x250660[_0x82a8ce][_0x5a8eec(0x28f)])return _0x3ffbb9[_0x5a8eec(0x2fa)]=_0x250660[_0x82a8ce],void delete _0x3ffbb9[_0x5a8eec(0x315)];if(!_0x3ffbb9[_0x5a8eec(0x315)]&&!_0x3ffbb9[_0x5a8eec(0x1ff)]&&_0x5a8eec(0x26a)==_0x250660[_0x82a8ce][_0x5a8eec(0x28f)])return void(_0x3ffbb9[_0x5a8eec(0x286)]=_0x250660[_0x82a8ce]);}}}[_0x43697(0x26c)](_0x515cf9,_0x519daa){const _0x58ebf4=_0x43697;let _0x5d5613=0x0,_0x31cf7d=!0x1;const _0x3ccb80=new Map();for(const _0x429c32 of _0x515cf9)_0x429c32[_0x519daa]?_0x31cf7d&&(_0x5d5613++,_0x31cf7d=!0x1):(_0x5d5613++,_0x31cf7d=!0x0),_0x3ccb80[_0x58ebf4(0x24a)](_0x429c32['id'],_0x5d5613);for(let _0x5db76c=0x0;_0x5db76c<_0x515cf9[_0x58ebf4(0x2cd)];_0x5db76c++){if(_0x58ebf4(0x1ff)==_0x519daa&&_0x515cf9[_0x5db76c][_0x58ebf4(0x315)]||_0x58ebf4(0x315)==_0x519daa&&_0x515cf9[_0x5db76c][_0x58ebf4(0x1ff)])continue;if(_0x58ebf4(0x271)==_0x515cf9[_0x5db76c][_0x58ebf4(0x28f)]){_0x515cf9[_0x5db76c][_0x58ebf4(0x282)]=0x0;continue;}const _0x44a43c=_0x3ccb80[_0x58ebf4(0x2f7)](_0x515cf9[_0x5db76c][_0x58ebf4(0x26f)]),_0x346ce0=_0x3ccb80[_0x58ebf4(0x2f7)](_0x515cf9[_0x5db76c]['id']);_0x515cf9[_0x5db76c][_0x58ebf4(0x282)]=_0x44a43c-_0x346ce0;}}[_0x43697(0x23b)](_0x3317f0,_0x450121,_0x4e7db8=!0x1){const _0x26e1e9=_0x43697,_0x195050=[];let _0x1dcbcc=this[_0x26e1e9(0x276)][_0x26e1e9(0x288)](_0x3317f0),_0x4a9471=this[_0x26e1e9(0x276)][_0x26e1e9(0x288)](_0x450121);for(-0x1==_0x4a9471&&(_0x4a9471=this[_0x26e1e9(0x276)][_0x26e1e9(0x2de)][_0x26e1e9(0x2cd)],_0x4e7db8=!0x1);_0x1dcbcc<_0x4a9471;)_0x195050[_0x26e1e9(0x26e)](this[_0x26e1e9(0x276)][_0x26e1e9(0x2c0)](_0x1dcbcc)),_0x1dcbcc++;return _0x4e7db8&&_0x195050[_0x26e1e9(0x26e)](this[_0x26e1e9(0x276)][_0x26e1e9(0x2c0)](_0x1dcbcc)),_0x195050;}[_0x43697(0x2d9)](_0xef466c,_0x3dc191,_0x57a187,_0x3a25df){const _0x4bbb6a=_0x43697,_0x3bac33=this[_0x4bbb6a(0x273)][_0x4bbb6a(0x329)][_0x4bbb6a(0x27a)];let _0xa354c3=_0x3dc191;for(;_0xef466c[_0xa354c3]&&_0xef466c[_0xa354c3][_0x4bbb6a(0x315)];)_0xa354c3++;let _0xf6acf7=_0x3a25df;for(;_0x57a187[_0xf6acf7]&&_0x57a187[_0xf6acf7][_0x4bbb6a(0x1ff)];)_0xf6acf7++;_0x4ac4cb(_0xef466c,_0x3dc191,_0xa354c3),_0x4ac4cb(_0x57a187,_0x3a25df,_0xf6acf7);const _0x2d0557=_0x57a187[_0x4bbb6a(0x262)](_0x3a25df,_0xf6acf7)[_0x4bbb6a(0x1fa)](_0xef466c[_0x4bbb6a(0x262)](_0x3dc191,_0xa354c3));return _0x2d0557[_0x4bbb6a(0x318)]((_0x13d184,_0x269cab)=>_0x13d184[_0x4bbb6a(0x2bb)]!=_0x269cab[_0x4bbb6a(0x2bb)]?_0x13d184[_0x4bbb6a(0x2bb)]-_0x269cab[_0x4bbb6a(0x2bb)]:_0x13d184[_0x4bbb6a(0x2f0)]!=_0x269cab[_0x4bbb6a(0x2f0)]?_0x13d184[_0x4bbb6a(0x2f0)]-_0x269cab[_0x4bbb6a(0x2f0)]:_0x13d184[_0x4bbb6a(0x282)]!=_0x269cab[_0x4bbb6a(0x282)]?_0x269cab[_0x4bbb6a(0x282)]-_0x13d184[_0x4bbb6a(0x282)]:!!_0x13d184[_0x4bbb6a(0x315)]!=!!_0x269cab[_0x4bbb6a(0x315)]?-0x1==_0x13d184[_0x4bbb6a(0x2bb)]||0x0==_0x13d184[_0x4bbb6a(0x2bb)]?_0x13d184[_0x4bbb6a(0x315)]?-0x1:0x1:_0x13d184[_0x4bbb6a(0x315)]?0x1:-0x1:_0x13d184[_0x4bbb6a(0x2fb)]-_0x269cab[_0x4bbb6a(0x2fb)]),{'commonTape':_0x2d0557,'iEnd':_0xa354c3,'jEnd':_0xf6acf7};function _0x4ac4cb(_0x511a5c,_0x3ed70e,_0x26f01b){const _0x65239e=_0x4bbb6a;let _0x2581ef=-0x1,_0x42b7d0=Number[_0x65239e(0x31c)],_0x11dde1=!0x0;for(let _0x4bc224=_0x3ed70e;_0x4bc224<_0x26f01b;_0x4bc224++)if(_0x3bac33[_0x65239e(0x241)](_0x511a5c[_0x4bc224][_0x65239e(0x253)])||(_0x11dde1=!0x1),_0x511a5c[_0x4bc224][_0x65239e(0x253)][_0x65239e(0x291)]<_0x3ed70e&&(_0x2581ef=_0x4bc224),_0x511a5c[_0x4bc224][_0x65239e(0x253)][_0x65239e(0x2e2)]>=_0x26f01b){_0x42b7d0=_0x4bc224;break;}_0x11dde1&&(_0x2581ef=_0x26f01b-0x1);for(let _0x2e3e1c=_0x3ed70e;_0x2e3e1c<_0x26f01b;_0x2e3e1c++)_0x511a5c[_0x2e3e1c][_0x65239e(0x2bb)]=_0x2e3e1c<=_0x2581ef?-0x1:_0x2e3e1c<_0x42b7d0?0x0:0x1,_0x511a5c[_0x2e3e1c][_0x65239e(0x2fb)]=_0x2e3e1c;let _0x400f80=0x0;for(let _0x28a355=_0x3ed70e;_0x28a355<=_0x2581ef;_0x28a355++)0x0==_0x511a5c[_0x28a355][_0x65239e(0x282)]?_0x511a5c[_0x28a355][_0x65239e(0x2f0)]=_0x400f80:(_0x400f80++,_0x511a5c[_0x28a355][_0x65239e(0x2f0)]=_0x400f80,_0x400f80++);for(let _0x4591d2=_0x3ed70e;_0x4591d2<_0x26f01b;_0x4591d2++)0x0==_0x511a5c[_0x4591d2][_0x65239e(0x2bb)]&&(_0x511a5c[_0x4591d2][_0x65239e(0x2f0)]=_0x400f80);_0x400f80=0x0;for(let _0x561f06=_0x26f01b-0x1;_0x561f06>=_0x42b7d0;_0x561f06--)0x0==_0x511a5c[_0x561f06][_0x65239e(0x282)]?_0x511a5c[_0x561f06][_0x65239e(0x2f0)]=_0x400f80:(_0x400f80--,_0x511a5c[_0x561f06][_0x65239e(0x2f0)]=_0x400f80,_0x400f80--);}}[_0x43697(0x325)](_0x2247d7){const _0x17aa2b=_0x43697,_0x31a405=new Map(),_0x20a218=this[_0x17aa2b(0x273)][_0x17aa2b(0x329)][_0x17aa2b(0x27a)];for(let _0x2e7084=0x1;_0x2e7084<_0x2247d7[_0x17aa2b(0x2cd)];_0x2e7084++){let _0x5c9288,_0x3d4539,_0x41887b;const _0x221db5=_0x2247d7[_0x2e7084],_0xb992b2=_0x2247d7[_0x2e7084-0x1];if(_0x17aa2b(0x271)==_0x221db5[_0x17aa2b(0x28f)])continue;if(_0x221db5[_0x17aa2b(0x28f)]!=_0xb992b2[_0x17aa2b(0x28f)])continue;if(!_0x20a218[_0x17aa2b(0x313)](_0xb992b2[_0x17aa2b(0x253)])||_0x20a218[_0x17aa2b(0x278)](_0xb992b2[_0x17aa2b(0x253)]))continue;if(!_0x20a218[_0x17aa2b(0x313)](_0x221db5[_0x17aa2b(0x253)])||_0x20a218[_0x17aa2b(0x278)](_0x221db5[_0x17aa2b(0x253)]))continue;if((_0x2247d7[_0x2e7084][_0x17aa2b(0x315)]||_0x2247d7[_0x2e7084][_0x17aa2b(0x2fa)])&&_0x2247d7[_0x2e7084-0x1][_0x17aa2b(0x1ff)])_0x5c9288=_0x2247d7[_0x2e7084],_0x3d4539=_0x2247d7[_0x2e7084-0x1],_0x41887b=_0x2e7084-0x1;else{if(!_0x2247d7[_0x2e7084][_0x17aa2b(0x1ff)]||!_0x2247d7[_0x2e7084-0x1][_0x17aa2b(0x315)]&&!_0x2247d7[_0x2e7084-0x1][_0x17aa2b(0x2fa)])continue;_0x5c9288=_0x2247d7[_0x2e7084-0x1],_0x3d4539=_0x2247d7[_0x2e7084],_0x41887b=_0x2e7084;}const _0x468c73=_0x5c9288[_0x17aa2b(0x2f0)]==_0x3d4539[_0x17aa2b(0x2f0)],_0x4fb495=Math[_0x17aa2b(0x245)](_0x5c9288[_0x17aa2b(0x2f0)])<Math[_0x17aa2b(0x245)](_0x3d4539[_0x17aa2b(0x2f0)])&&0x0==_0x3d4539[_0x17aa2b(0x282)];(_0x468c73||_0x4fb495)&&(_0x31a405[_0x17aa2b(0x24a)](_0x3d4539['id'],_0x5c9288['id']),_0x2247d7[_0x17aa2b(0x2e9)](_0x41887b,0x1),_0x2e7084--,_0x5c9288[_0x17aa2b(0x315)]=!0x1);}for(let _0x59ecc7=0x0;_0x59ecc7<_0x2247d7[_0x17aa2b(0x2cd)];_0x59ecc7++)_0x31a405[_0x17aa2b(0x209)](_0x2247d7[_0x59ecc7][_0x17aa2b(0x26f)])&&(_0x2247d7[_0x59ecc7][_0x17aa2b(0x26f)]=_0x31a405[_0x17aa2b(0x2f7)](_0x2247d7[_0x59ecc7][_0x17aa2b(0x26f)]));}[_0x43697(0x270)](_0x2ba8c4){const _0x217eb1=_0x43697,_0x5a8783=new Set(_0x2ba8c4[_0x217eb1(0x277)](_0x608179=>_0x608179['id']));for(let _0x31a377=0x0;_0x31a377<_0x2ba8c4[_0x217eb1(0x2cd)];_0x31a377++)_0x5a8783[_0x217eb1(0x209)](_0x2ba8c4[_0x31a377][_0x217eb1(0x26f)])||0x0==_0x2ba8c4[_0x31a377][_0x217eb1(0x282)]||(_0x2ba8c4[_0x31a377][_0x217eb1(0x317)]=!0x0);return _0x2ba8c4[_0x217eb1(0x223)](_0x8f7ca1=>!_0x8f7ca1[_0x217eb1(0x317)]);}[_0x43697(0x302)](_0x72710b){const _0x3e011a=_0x43697,_0x1c018c=new Set();for(let _0x83bea0=0x0;_0x83bea0<_0x72710b[_0x3e011a(0x2cd)];_0x83bea0++){if(_0x1c018c[_0x3e011a(0x209)](_0x72710b[_0x83bea0]['id'])&&_0x72710b[_0x83bea0][_0x3e011a(0x1ff)]&&(_0x72710b[_0x83bea0][_0x3e011a(0x317)]=!0x0),_0x72710b[_0x83bea0][_0x3e011a(0x317)])continue;if(0x0==_0x72710b[_0x83bea0][_0x3e011a(0x282)])continue;if(_0x3e011a(0x1ee)!=_0x72710b[_0x83bea0][_0x3e011a(0x28f)])continue;if(null==_0x72710b[_0x83bea0][_0x3e011a(0x26f)])continue;let _0x19c6e3=_0x83bea0+0x1,_0x340230=0x0;for(;_0x72710b[_0x19c6e3]['id']!=_0x72710b[_0x83bea0][_0x3e011a(0x26f)];)_0x3e011a(0x1ee)==_0x72710b[_0x19c6e3][_0x3e011a(0x28f)]?_0x340230++:_0x3e011a(0x1e0)==_0x72710b[_0x19c6e3][_0x3e011a(0x28f)]&&_0x340230--,_0x19c6e3++;if(0x0!=_0x340230){if(_0x72710b[_0x83bea0][_0x3e011a(0x1ff)])_0x72710b[_0x83bea0][_0x3e011a(0x317)]=!0x0;else{for(;_0x19c6e3!=_0x83bea0;)_0x72710b[_0x19c6e3][_0x3e011a(0x1ff)]&&0x0!=_0x72710b[_0x19c6e3][_0x3e011a(0x282)]&&(_0x72710b[_0x19c6e3][_0x3e011a(0x317)]=!0x0,_0x1c018c[_0x3e011a(0x251)](_0x72710b[_0x19c6e3][_0x3e011a(0x26f)])),_0x19c6e3--;}}}return _0x72710b[_0x3e011a(0x223)](_0x473cf0=>!_0x473cf0[_0x3e011a(0x317)]);}[_0x43697(0x326)](_0xedcf77){const _0x1bfd3f=_0x43697,_0x42dab5=this[_0x1bfd3f(0x273)][_0x1bfd3f(0x329)][_0x1bfd3f(0x27a)];for(let _0x37ec7c=0x0;_0x37ec7c<_0xedcf77[_0x1bfd3f(0x2cd)];_0x37ec7c++){if(!(_0xedcf77[_0x37ec7c][_0x1bfd3f(0x315)]||_0xedcf77[_0x37ec7c][_0x1bfd3f(0x2fa)]||_0xedcf77[_0x37ec7c][_0x1bfd3f(0x1ff)]||_0xedcf77[_0x37ec7c][_0x1bfd3f(0x286)]))continue;if(0x0==_0xedcf77[_0x37ec7c][_0x1bfd3f(0x282)])continue;const _0xcfa349=_0xedcf77[_0x37ec7c][_0x1bfd3f(0x253)];_0x42dab5[_0x1bfd3f(0x313)](_0xcfa349)||_0x42dab5[_0x1bfd3f(0x278)](_0xcfa349)||(_0xedcf77[_0x37ec7c][_0x1bfd3f(0x315)]&&delete _0xedcf77[_0x37ec7c][_0x1bfd3f(0x315)],_0xedcf77[_0x37ec7c][_0x1bfd3f(0x2fa)]&&delete _0xedcf77[_0x37ec7c][_0x1bfd3f(0x2fa)],_0xedcf77[_0x37ec7c][_0x1bfd3f(0x286)]&&delete _0xedcf77[_0x37ec7c][_0x1bfd3f(0x286)],_0xedcf77[_0x37ec7c][_0x1bfd3f(0x1ff)]&&(_0xedcf77[_0x37ec7c][_0x1bfd3f(0x317)]=!0x0));}return _0xedcf77[_0x1bfd3f(0x223)](_0x664c6e=>!_0x664c6e[_0x1bfd3f(0x317)]);}[_0x43697(0x2d7)](_0x43fede,_0x27e9d5,_0x2aab04){const _0xad2c55=_0x43697,_0x4f3d8e=new _0x1e9db2(),_0x570acd=[],_0x3000d1=new Map(),_0x17f8f7=this[_0xad2c55(0x273)][_0xad2c55(0x329)],_0x29dda7=_0x17f8f7[_0xad2c55(0x27a)],_0x5cf8d8=[_0x4f3d8e],_0x4d1c85={},_0x1e3e8a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5d5467=null;const _0x208fb5=[0x0];for(let _0x1cebac=0x0;_0x1cebac<_0x43fede[_0xad2c55(0x2cd)];_0x1cebac++){let _0x34f2ec,_0xb1616d;if(_0xad2c55(0x1ee)===_0x43fede[_0x1cebac][_0xad2c55(0x28f)]){_0x34f2ec=_0x17f8f7[_0xad2c55(0x280)](_0x4f3d8e,_0x208fb5);const _0x413a09=new _0x1e95ac(_0x43fede[_0x1cebac][_0xad2c55(0x253)][_0xad2c55(0x31f)],_0x43fede[_0x1cebac][_0xad2c55(0x253)][_0xad2c55(0x32a)]());_0x5cf8d8[0x0][_0xad2c55(0x2bc)](_0x413a09),_0x208fb5[_0xad2c55(0x26e)](0x0),_0x5cf8d8[_0xad2c55(0x218)](_0x413a09),_0xb1616d=_0x17f8f7[_0xad2c55(0x280)](_0x4f3d8e,_0x208fb5),_0x5d5467=null;}else{if(_0xad2c55(0x1e0)===_0x43fede[_0x1cebac][_0xad2c55(0x28f)])_0x5cf8d8[_0xad2c55(0x256)](),_0x34f2ec=_0x17f8f7[_0xad2c55(0x280)](_0x4f3d8e,_0x208fb5),_0x208fb5[_0xad2c55(0x1e2)](),_0x208fb5[_0x208fb5[_0xad2c55(0x2cd)]-0x1]++,_0xb1616d=_0x17f8f7[_0xad2c55(0x280)](_0x4f3d8e,_0x208fb5),_0x5d5467=null;else{if(_0x34f2ec=_0x17f8f7[_0xad2c55(0x280)](_0x4f3d8e,_0x208fb5),_0x5d5467&&_0x43e27c(_0x5d5467,_0x43fede[_0x1cebac][_0xad2c55(0x253)]))_0x5d5467[_0xad2c55(0x263)]+=_0x43fede[_0x1cebac][_0xad2c55(0x253)][_0xad2c55(0x20e)];else{const _0x5ea804=new _0xa44b84(_0x43fede[_0x1cebac][_0xad2c55(0x253)][_0xad2c55(0x20e)],_0x43fede[_0x1cebac][_0xad2c55(0x253)][_0xad2c55(0x32a)]());_0x5cf8d8[0x0][_0xad2c55(0x2bc)](_0x5ea804),_0x5d5467=_0x5ea804;}_0x208fb5[_0x208fb5[_0xad2c55(0x2cd)]-0x1]+=_0x43fede[_0x1cebac][_0xad2c55(0x253)][_0xad2c55(0x215)],_0xb1616d=_0x17f8f7[_0xad2c55(0x280)](_0x4f3d8e,_0x208fb5);}}for(const _0x498af1 of _0x43fede[_0x1cebac][_0xad2c55(0x29d)])_0x3000d1[_0xad2c55(0x24a)](_0x498af1,{'start':_0x34f2ec,'end':null});_0x26f07b(_0xad2c55(0x286),_0x1cebac,_0x34f2ec,_0xb1616d),_0x26f07b(_0xad2c55(0x2fa),_0x1cebac,_0x34f2ec,_0xb1616d),_0x26f07b(_0xad2c55(0x1ff),_0x1cebac,_0x34f2ec,_0xb1616d),_0x26f07b(_0xad2c55(0x315),_0x1cebac,_0x34f2ec,_0xb1616d);for(const _0x1b8795 of _0x43fede[_0x1cebac][_0xad2c55(0x1fc)]){_0x3000d1[_0xad2c55(0x2f7)](_0x1b8795)[_0xad2c55(0x320)]=_0xb1616d;}}for(const [_0x3b558a,_0x123e05]of _0x3000d1){const _0x457081=this[_0xad2c55(0x273)][_0xad2c55(0x329)][_0xad2c55(0x243)](_0x123e05[_0xad2c55(0x1de)],_0x123e05[_0xad2c55(0x320)]);_0x4f3d8e[_0xad2c55(0x28a)][_0xad2c55(0x24a)](_0x3b558a,_0x457081);}return _0x570acd[_0xad2c55(0x318)]((_0x5b78c5,_0xc86d6e)=>{const _0x35407d=_0xad2c55,_0x38c0e3=_0x4f3d8e[_0x35407d(0x28a)][_0x35407d(0x2f7)](_0x35407d(0x232)+_0x5b78c5['id']),_0x578526=_0x4f3d8e[_0x35407d(0x28a)][_0x35407d(0x2f7)](_0x35407d(0x232)+_0xc86d6e['id']);return _0x38c0e3[_0x35407d(0x1de)][_0x35407d(0x2ff)](_0x578526[_0x35407d(0x1de)])?-0x1:_0x38c0e3[_0x35407d(0x1de)][_0x35407d(0x274)](_0x578526[_0x35407d(0x1de)])?0x1:_0x38c0e3[_0x35407d(0x320)][_0x35407d(0x2ff)](_0x578526[_0x35407d(0x320)])?-0x1:_0x38c0e3[_0x35407d(0x320)][_0x35407d(0x274)](_0x578526[_0x35407d(0x320)])?0x1:_0x35407d(0x251)===_0x5b78c5[_0x35407d(0x28f)]?-0x1:0x1;}),{'root':_0x4f3d8e,'changes':_0x570acd};function _0x26f07b(_0x2dbae1,_0x5efaf9,_0x5b3362,_0x3b0e48){const _0xeb0c26=_0xad2c55,_0x25151b=!!_0x43fede[_0x5efaf9][_0x2dbae1],_0x300148=_0x25151b?_0x43fede[_0x5efaf9][_0x2dbae1][_0xeb0c26(0x1ed)]:null,_0x2cf8e9=_0x5efaf9===_0x43fede[_0xeb0c26(0x2cd)]-0x1,_0x11c55=_0x1e3e8a[_0x2dbae1][0x0],_0x309139=_0x29dda7[_0xeb0c26(0x27d)](_0x43fede[_0x5efaf9][_0xeb0c26(0x253)]);!_0x4d1c85[_0x2dbae1]&&_0x25151b?_0x4d1c85[_0x2dbae1]={'start':_0x5b3362,'tapeItem':_0x43fede[_0x5efaf9],'userId':_0x300148,'type':_0x2dbae1}:_0x4d1c85[_0x2dbae1]&&!_0x25151b?(_0x4d1c85[_0x2dbae1][_0xeb0c26(0x320)]=_0x5b3362,_0x4d8598(_0x4d1c85[_0x2dbae1]),_0x4d1c85[_0x2dbae1]=null):_0x4d1c85[_0x2dbae1]&&_0x25151b&&_0x4d1c85[_0x2dbae1][_0xeb0c26(0x1ed)]!==_0x300148&&(_0x4d1c85[_0x2dbae1][_0xeb0c26(0x320)]=_0x5b3362,_0x11c55&&_0x11c55[_0xeb0c26(0x1ed)]===_0x4d1c85[_0x2dbae1][_0xeb0c26(0x1ed)]||_0x4d8598(_0x4d1c85[_0x2dbae1]),_0x4d1c85[_0x2dbae1]={'start':_0x5b3362,'tapeItem':_0x43fede[_0x5efaf9],'userId':_0x300148,'type':_0x2dbae1}),_0x4d1c85[_0x2dbae1]&&_0x309139&&(_0xeb0c26(0x1ee)!==_0x43fede[_0x5efaf9][_0xeb0c26(0x28f)]||_0x11c55&&_0x11c55[_0xeb0c26(0x1ed)]===_0x300148||_0x1e3e8a[_0x2dbae1][_0xeb0c26(0x218)]({'userId':_0x300148,'object':_0x43fede[_0x5efaf9][_0xeb0c26(0x253)],'change':_0x4d1c85[_0x2dbae1]}),_0xeb0c26(0x1e0)===_0x43fede[_0x5efaf9][_0xeb0c26(0x28f)]&&_0x11c55&&_0x11c55[_0xeb0c26(0x258)]===_0x43fede[_0x5efaf9][_0xeb0c26(0x253)]&&(_0x1e3e8a[_0x2dbae1][_0xeb0c26(0x256)](),_0x4d1c85[_0x2dbae1]=_0x11c55[_0xeb0c26(0x309)])),_0x4d1c85[_0x2dbae1]&&_0x2cf8e9&&(_0x4d1c85[_0x2dbae1][_0xeb0c26(0x320)]=_0x3b0e48,_0x4d8598(_0x4d1c85[_0x2dbae1]),_0x4d1c85[_0x2dbae1]=null);}function _0x4d8598({start:_0x1d5c64,end:_0x476aca,tapeItem:_0x26231f,userId:_0x1d89a2,type:_0x1cd8d2}){const _0x402d70=_0xad2c55,_0x5574c2=_0x26231f[_0x402d70(0x253)],_0x34f690=_0x17f8f7[_0x402d70(0x27a)][_0x402d70(0x313)](_0x5574c2)&&!_0x17f8f7[_0x402d70(0x27a)][_0x402d70(0x278)](_0x5574c2),_0x2a1bfb=_0x1d5c64[_0x402d70(0x1f5)]==_0x476aca[_0x402d70(0x248)]&&_0x476aca[_0x402d70(0x2da)];if(_0x34f690&&_0x2a1bfb)return;const _0x4b94de=_0x17f8f7[_0x402d70(0x243)](_0x1d5c64,_0x476aca),_0x30db2d=_0x27e9d5[_0x402d70(0x2f7)](_0x1d89a2),_0x40c298=new _0x5d2437({'author':_0x30db2d,'type':_0x402d70(0x315)==_0x1cd8d2||_0x402d70(0x2fa)==_0x1cd8d2?_0x402d70(0x251):_0x402d70(0x31b),'data':{'isSuggestion':_0x402d70(0x2fa)==_0x1cd8d2||_0x402d70(0x286)==_0x1cd8d2},'createdAt':new Date(),'rootName':_0x2aab04});_0x570acd[_0x402d70(0x26e)](_0x40c298),_0x4f3d8e[_0x402d70(0x28a)][_0x402d70(0x24a)](_0x402d70(0x232)+_0x40c298['id'],_0x4b94de);}function _0x43e27c(_0x2f1230,_0x403201){const _0x1c4c8f=_0xad2c55,_0x36cb21=_0x2f1230[_0x1c4c8f(0x32a)](),_0x40f339=_0x403201[_0x1c4c8f(0x32a)]();for(const _0x5ee0b of _0x36cb21){if(_0x5ee0b[0x1]!==_0x403201[_0x1c4c8f(0x322)](_0x5ee0b[0x0]))return!0x1;_0x40f339[_0x1c4c8f(0x293)]();}return _0x40f339[_0x1c4c8f(0x293)]()[_0x1c4c8f(0x25d)];}}[_0x43697(0x20f)](){const _0xbb89d8=_0x43697;this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x1fd))[_0xbb89d8(0x25e)]({'view':_0xbb89d8(0x2c1)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x285))[_0xbb89d8(0x328)]({'model':_0xbb89d8(0x2c1),'view':_0x397669=>{const _0x5489d5=_0xbb89d8,_0x3357ca=_0x397669[_0x5489d5(0x304)][_0x5489d5(0x240)](':')[0x1],_0x3435a4=this[_0x5489d5(0x324)](_0x3357ca);if(!_0x3435a4)return null;const _0xb51d7d=_0x5489d5(0x251)==_0x3435a4[_0x5489d5(0x28f)]?_0x5489d5(0x29b):_0x5489d5(0x26a),_0x5e8140=[_0x5489d5(0x2aa),_0x5489d5(0x24b)+_0xb51d7d];return _0x3435a4[_0x5489d5(0x20e)][_0x5489d5(0x205)]&&_0x5e8140[_0x5489d5(0x26e)](_0x5489d5(0x24b)+_0xb51d7d+_0x5489d5(0x266)),this[_0x5489d5(0x279)]==_0x3435a4&&_0x5e8140[_0x5489d5(0x26e)](_0x5489d5(0x287)),{'classes':_0x5e8140,'attributes':{'data-change-id':_0x3357ca}};}}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x1fd))[_0xbb89d8(0x251)](_0x3de0f0=>{const _0x2cd4a6=_0xbb89d8;_0x3de0f0['on'](_0x2cd4a6(0x30a),(_0x283953,_0x1112de,_0x40870e)=>{const _0x3ab0c1=_0x2cd4a6,_0xe48dd3=_0x1112de[_0x3ab0c1(0x23a)][_0x3ab0c1(0x219)](0x0);if(!_0xe48dd3||!_0xe48dd3['is'](_0x3ab0c1(0x2f5),_0x3ab0c1(0x308)))return;if(!_0x40870e[_0x3ab0c1(0x212)][_0x3ab0c1(0x1e9)](_0xe48dd3,{'attributes':[_0x3ab0c1(0x21b),_0x3ab0c1(0x255)]}))return;const _0x11e3ac=_0x1112de[_0x3ab0c1(0x30e)][_0x3ab0c1(0x1de)][_0x3ab0c1(0x1f5)];_0x40870e[_0x3ab0c1(0x312)][_0x3ab0c1(0x200)](_0x3ab0c1(0x21b),_0xe48dd3[_0x3ab0c1(0x322)](_0x3ab0c1(0x21b)),_0x11e3ac),_0x40870e[_0x3ab0c1(0x312)][_0x3ab0c1(0x200)](_0x3ab0c1(0x255),_0xe48dd3[_0x3ab0c1(0x322)](_0x3ab0c1(0x255)),_0x11e3ac);},{'priority':_0x2cd4a6(0x2e3)});}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x1fd))[_0xbb89d8(0x251)](_0x2e91c0=>{const _0x22eff3=_0xbb89d8;_0x2e91c0['on'](_0x22eff3(0x2f5),(_0xbcc81e,_0x1fb103,_0xa181d5)=>{const _0x1bdbd7=_0x22eff3;if(!_0xa181d5[_0x1bdbd7(0x212)][_0x1bdbd7(0x1e9)](_0x1fb103[_0x1bdbd7(0x23a)],{'attributes':[_0x1bdbd7(0x21b),_0x1bdbd7(0x255)]}))return;if(_0x1fb103[_0x1bdbd7(0x30e)][_0x1bdbd7(0x206)])return;const _0x507380=_0x1fb103[_0x1bdbd7(0x30e)][_0x1bdbd7(0x1de)][_0x1bdbd7(0x1f5)];_0x507380[_0x1bdbd7(0x2cc)](_0x1bdbd7(0x21b))||_0x507380[_0x1bdbd7(0x2cc)](_0x1bdbd7(0x2e5))||(_0xa181d5[_0x1bdbd7(0x312)][_0x1bdbd7(0x200)](_0x1bdbd7(0x21b),_0x1fb103[_0x1bdbd7(0x23a)][_0x1bdbd7(0x322)](_0x1bdbd7(0x21b)),_0x507380),_0xa181d5[_0x1bdbd7(0x312)][_0x1bdbd7(0x200)](_0x1bdbd7(0x255),_0x1fb103[_0x1bdbd7(0x23a)][_0x1bdbd7(0x322)](_0x1bdbd7(0x255)),_0x507380));},{'priority':_0x22eff3(0x2e3)});}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x1fd))[_0xbb89d8(0x2ad)]({'view':{'name':_0xbb89d8(0x204),'attributes':{'vid':!0x0}},'model':{'key':_0xbb89d8(0x2e5),'value':_0x4b8347=>_0x4b8347[_0xbb89d8(0x322)](_0xbb89d8(0x2e5))}}),this[_0xbb89d8(0x273)][_0xbb89d8(0x329)][_0xbb89d8(0x27a)]['on'](_0xbb89d8(0x2d2),(_0x37a0e9,[,_0xe1a765])=>{const _0x4e7b1f=_0xbb89d8;[_0x4e7b1f(0x21b),_0x4e7b1f(0x255),_0x4e7b1f(0x2e5)][_0x4e7b1f(0x2c9)](_0xe1a765)&&(_0x37a0e9[_0x4e7b1f(0x297)]=!0x0,_0x37a0e9[_0x4e7b1f(0x22f)]());},{'priority':_0xbb89d8(0x284)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x281))[_0xbb89d8(0x251)](_0x3b9ec8=>{const _0x1646da=_0xbb89d8;_0x3b9ec8['on'](_0x1646da(0x2ec),(_0x394306,_0x7e0a9e,_0x3b9191)=>{const _0x542ea0=_0x1646da;if('\x20'!=_0x7e0a9e[_0x542ea0(0x253)][_0x542ea0(0x20e)]||_0x7e0a9e[_0x542ea0(0x253)][_0x542ea0(0x248)][_0x542ea0(0x27b)]>0x1)return;if(!_0x3b9191[_0x542ea0(0x212)][_0x542ea0(0x1e9)](_0x7e0a9e[_0x542ea0(0x253)],_0x394306[_0x542ea0(0x31f)]))return;const _0x197e6f=_0x3b9191[_0x542ea0(0x312)],_0x4436c3=_0x3b9191[_0x542ea0(0x20d)][_0x542ea0(0x257)](_0x7e0a9e[_0x542ea0(0x1f2)]);_0x197e6f[_0x542ea0(0x1f4)](_0x4436c3,_0x197e6f[_0x542ea0(0x238)](_0x542ea0(0x204)));});}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x281))[_0xbb89d8(0x303)]({'model':_0xbb89d8(0x2c1)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2f3)][_0xbb89d8(0x2c3)]['on'](_0xbb89d8(0x247),function(_0x3fb160){const _0x1b4913=_0xbb89d8,_0x39f003=_0x3fb160[_0x1b4913(0x2a7)][_0x1b4913(0x2f7)](_0x1b4913(0x289));return(_0x1423ca,_0x1eb79f,_0xa1ae3f)=>{const _0x3ef112=_0x1b4913,_0x4f2edd=_0x1eb79f[_0x3ef112(0x304)][_0x3ef112(0x240)](':')[0x1],_0x546672=_0x39f003[_0x3ef112(0x324)](_0x4f2edd);if(!_0x546672)return null;const _0x4784ad=_0x3ef112(0x251)==_0x546672[_0x3ef112(0x28f)]?_0x3ef112(0x240):_0x3ef112(0x268);if(!_0xa1ae3f[_0x3ef112(0x212)][_0x3ef112(0x2d1)](_0x1eb79f[_0x3ef112(0x2b8)],_0x1423ca[_0x3ef112(0x31f)]))return;const _0x127c87=_0x1eb79f[_0x3ef112(0x2b8)][_0x3ef112(0x1f6)](),_0x3ad8c1=_0x1eb79f[_0x3ef112(0x2b8)][_0x3ef112(0x1de)],_0x106267=_0x3fb160[_0x3ef112(0x329)][_0x3ef112(0x27a)];let _0x423e55=null,_0x5b3bc5=null,_0x2a2cf3=!0x1,_0xcf8674=!0x1;for(const _0x94559a of _0x127c87){const _0x5bcf0a=_0x94559a[_0x3ef112(0x253)];_0x2a2cf3=_0x2a2cf3||_0x106267[_0x3ef112(0x2d8)](_0x5bcf0a);const _0x571e8f=_0xa1ae3f[_0x3ef112(0x20d)][_0x3ef112(0x2a5)](_0x5bcf0a);if(_0x571e8f&&_0x571e8f[_0x3ef112(0x1f9)](_0x3ef112(0x298)))return;_0x3ef112(0x1e0)==_0x94559a[_0x3ef112(0x28f)]&&(_0x106267[_0x3ef112(0x313)](_0x5bcf0a)&&!_0x106267[_0x3ef112(0x278)](_0x5bcf0a)&&(_0x5bcf0a[_0x3ef112(0x217)]||_0x3ad8c1[_0x3ef112(0x29c)]?_0x423e55&&_0x423e55[_0x3ef112(0x248)]==_0x5bcf0a||(_0x423e55=_0x5bcf0a,_0x1df88f(_0x94559a[_0x3ef112(0x1e8)]),_0xcf8674=!0x0):_0x5b3bc5=_0x5b3bc5||_0x94559a[_0x3ef112(0x1e8)]));}function _0x1df88f(_0x33c937){const _0x50c88d=_0x3ef112,_0x32ba2d=_0xa1ae3f[_0x50c88d(0x312)][_0x50c88d(0x227)](_0x50c88d(0x204),{'class':_0x50c88d(0x24b)+_0x4784ad}),_0x59bc00=_0xa1ae3f[_0x50c88d(0x20d)][_0x50c88d(0x264)](_0x33c937);_0x546672[_0x50c88d(0x20e)][_0x50c88d(0x205)]&&_0xa1ae3f[_0x50c88d(0x312)][_0x50c88d(0x1e5)](_0x50c88d(0x24b)+_0x4784ad+_0x50c88d(0x266),_0x32ba2d),_0x39f003[_0x50c88d(0x279)]==_0x546672&&_0xa1ae3f[_0x50c88d(0x312)][_0x50c88d(0x1e5)](_0x50c88d(0x287),_0x32ba2d),_0xa1ae3f[_0x50c88d(0x312)][_0x50c88d(0x2cf)](_0x59bc00,_0x32ba2d),_0xa1ae3f[_0x50c88d(0x20d)][_0x50c88d(0x22d)](_0x32ba2d,_0x1eb79f[_0x50c88d(0x304)]);}_0x2a2cf3||_0xcf8674||!_0x5b3bc5||_0x1df88f(_0x5b3bc5);};}(this[_0xbb89d8(0x273)]),{'priority':_0xbb89d8(0x2ed)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2f3)][_0xbb89d8(0x2c3)]['on'](_0xbb89d8(0x2d3),(_0x4453ad,_0x5a7ebf,_0x4e0393)=>{const _0xb30848=_0xbb89d8,_0x33f8a3=_0x4e0393[_0xb30848(0x20d)][_0xb30848(0x2a1)](_0x5a7ebf[_0xb30848(0x304)]);if(_0x33f8a3){for(const _0x668360 of _0x33f8a3)(_0x668360[_0xb30848(0x2f2)](_0xb30848(0x30b))||_0x668360[_0xb30848(0x2f2)](_0xb30848(0x2c5)))&&(_0x4e0393[_0xb30848(0x20d)][_0xb30848(0x224)](_0x668360,_0x5a7ebf[_0xb30848(0x304)]),_0x4e0393[_0xb30848(0x312)][_0xb30848(0x31b)](_0x668360));}},{'priority':_0xbb89d8(0x2ed)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2f3)][_0xbb89d8(0x2c3)]['on'](_0xbb89d8(0x247),(_0x14d201,_0x114438,_0xb2639)=>{const _0x41f646=_0xbb89d8,_0x1384e0=_0x114438[_0x41f646(0x304)][_0x41f646(0x240)](':')[0x1],_0x9fd50b=this[_0x41f646(0x324)](_0x1384e0);if(!_0x9fd50b)return null;const _0x4365ce=_0x41f646(0x251)==_0x9fd50b[_0x41f646(0x28f)]?_0x41f646(0x240):_0x41f646(0x268);if(_0xb2639[_0x41f646(0x212)][_0x41f646(0x2d1)](_0x114438[_0x41f646(0x2b8)],_0x14d201[_0x41f646(0x31f)]))for(const _0x28aecd of _0x114438[_0x41f646(0x2b8)][_0x41f646(0x31a)]()){if(!_0x28aecd['is'](_0x41f646(0x2f5),_0x41f646(0x259)))continue;const _0x34a4d6=_0xb2639[_0x41f646(0x312)][_0x41f646(0x227)](_0x41f646(0x204),{'class':_0x41f646(0x24b)+_0x4365ce}),_0x57cd1b=_0xb2639[_0x41f646(0x20d)][_0x41f646(0x264)](this[_0x41f646(0x273)][_0x41f646(0x329)][_0x41f646(0x20a)](_0x28aecd));_0x9fd50b[_0x41f646(0x20e)][_0x41f646(0x205)]&&_0xb2639[_0x41f646(0x312)][_0x41f646(0x1e5)](_0x41f646(0x24b)+_0x4365ce+_0x41f646(0x266),_0x34a4d6),this[_0x41f646(0x279)]==_0x9fd50b&&_0xb2639[_0x41f646(0x312)][_0x41f646(0x1e5)](_0x41f646(0x287),_0x34a4d6),_0xb2639[_0x41f646(0x312)][_0x41f646(0x2cf)](_0x57cd1b,_0x34a4d6),_0xb2639[_0x41f646(0x20d)][_0x41f646(0x22d)](_0x34a4d6,_0x114438[_0x41f646(0x304)]);}},{'priority':_0xbb89d8(0x2ed)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x329)][_0xbb89d8(0x269)]['on'](_0xbb89d8(0x309),()=>{const _0x190a9f=_0xbb89d8;this[_0x190a9f(0x273)][_0x190a9f(0x2f3)][_0x190a9f(0x25b)][_0x190a9f(0x309)](_0x2068a5=>{const _0x484b6c=_0x190a9f;for(const _0x1fbfe5 of this[_0x484b6c(0x273)][_0x484b6c(0x329)][_0x484b6c(0x269)][_0x484b6c(0x211)]()){const _0x5a9c6c=this[_0x484b6c(0x273)][_0x484b6c(0x329)][_0x484b6c(0x269)][_0x484b6c(0x305)](_0x1fbfe5),_0xa3bf21=this[_0x484b6c(0x273)][_0x484b6c(0x2f3)][_0x484b6c(0x25b)][_0x484b6c(0x269)][_0x484b6c(0x305)](_0x1fbfe5);if(_0xa3bf21){const _0x5d6d19=_0x5a9c6c[_0x484b6c(0x322)](_0x484b6c(0x316));if(_0x2068a5[_0x484b6c(0x26d)](_0x484b6c(0x2b5),_0xa3bf21),_0x2068a5[_0x484b6c(0x236)](_0x484b6c(0x2ef),_0xa3bf21),_0x2068a5[_0x484b6c(0x236)](_0x484b6c(0x27f),_0xa3bf21),_0x2068a5[_0x484b6c(0x236)](_0x484b6c(0x2c6),_0xa3bf21),_0x5d6d19){const _0x218337=this[_0x484b6c(0x324)](_0x5d6d19);if(!_0x218337)return null;_0x2068a5[_0x484b6c(0x200)](_0x484b6c(0x2b5),_0x5d6d19,_0xa3bf21),_0x2068a5[_0x484b6c(0x1e5)](_0x484b6c(0x2d4)+_0x218337[_0x484b6c(0x28f)],_0xa3bf21),this[_0x484b6c(0x279)]==_0x218337&&_0x2068a5[_0x484b6c(0x1e5)](_0x484b6c(0x2c6),_0xa3bf21);}}}});}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x1fd))[_0xbb89d8(0x25e)]({'view':_0xbb89d8(0x22a),'model':_0x4d3572=>_0xbb89d8(0x275)+_0x4d3572,'converterPriority':_0xbb89d8(0x284)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x1fd))[_0xbb89d8(0x25e)]({'view':_0xbb89d8(0x231),'model':_0x38b94e=>_0xbb89d8(0x254)+_0x38b94e,'converterPriority':_0xbb89d8(0x284)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x281))[_0xbb89d8(0x303)]({'model':_0xbb89d8(0x2fe),'view':_0x435b23=>({'name':_0xbb89d8(0x237)+_0x435b23,'group':_0xbb89d8(0x2fe)}),'converterPriority':_0xbb89d8(0x284)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2af)][_0xbb89d8(0x1f1)](_0xbb89d8(0x285))[_0xbb89d8(0x328)]({'model':_0xbb89d8(0x2fe),'view':_0x12cd41=>{const _0x33a4e0=_0xbb89d8,_0x1b11de=_0x12cd41[_0x33a4e0(0x304)][_0x33a4e0(0x240)](':')[0x1];return _0x33a4e0(0x29b)!=_0x1b11de&&_0x33a4e0(0x26a)!=_0x1b11de?null:{'classes':[_0x33a4e0(0x2ee),_0x33a4e0(0x283)+_0x1b11de]};}}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2f3)][_0xbb89d8(0x2c3)]['on'](_0xbb89d8(0x202),et(this[_0xbb89d8(0x273)],_0xbb89d8(0x268)),{'priority':_0xbb89d8(0x2ed)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2f3)][_0xbb89d8(0x2c3)]['on'](_0xbb89d8(0x2b9),et(this[_0xbb89d8(0x273)],_0xbb89d8(0x240)),{'priority':_0xbb89d8(0x2ed)}),this[_0xbb89d8(0x273)][_0xbb89d8(0x2f3)][_0xbb89d8(0x2c3)]['on'](_0xbb89d8(0x22b),(_0x137583,_0x5c28f4,_0x1253ab)=>{const _0x109fc4=_0xbb89d8,_0x50c85d=_0x1253ab[_0x109fc4(0x20d)][_0x109fc4(0x2a1)](_0x5c28f4[_0x109fc4(0x304)]);if(_0x50c85d){for(const _0xff5851 of _0x50c85d)_0xff5851['is'](_0x109fc4(0x2e1))&&(_0x1253ab[_0x109fc4(0x20d)][_0x109fc4(0x224)](_0xff5851,_0x5c28f4[_0x109fc4(0x304)]),_0x1253ab[_0x109fc4(0x312)][_0x109fc4(0x31b)](_0xff5851));}},{'priority':_0xbb89d8(0x2ed)});}[_0x43697(0x324)](_0x1d0b8b){const _0x268978=_0x43697;return this[_0x268978(0x24c)][_0x268978(0x2f7)](_0x1d0b8b);}[_0x43697(0x252)](_0x2222e1){const _0x4e3361=_0x43697;return this[_0x4e3361(0x29e)]&&this[_0x4e3361(0x29e)][_0x4e3361(0x1dd)](),this[_0x4e3361(0x29e)]=new _0x129f70(this[_0x4e3361(0x273)][_0x4e3361(0x230)],_0x2222e1),this[_0x4e3361(0x29e)];}[_0x43697(0x2b1)](){const _0x35e4b9=_0x43697;this[_0x35e4b9(0x273)][_0x35e4b9(0x329)][_0x35e4b9(0x269)][_0x35e4b9(0x25f)][_0x35e4b9(0x229)](_0x35e4b9(0x2c1)),this['on'](_0x35e4b9(0x301),(_0x25af1f,_0x129e12,_0x4a2a9e,_0x2d2eff)=>{const _0xcfdc10=_0x35e4b9;_0x2d2eff&&this[_0xcfdc10(0x2c2)][_0xcfdc10(0x31b)](_0x2d2eff),_0x4a2a9e&&(this[_0xcfdc10(0x2c2)][_0xcfdc10(0x251)]({'view':_0x4a2a9e,'stackId':_0xcfdc10(0x235),'position':{'target':()=>{const _0x1c63be=_0xcfdc10,_0x1faed4=this[_0x1c63be(0x273)][_0x1c63be(0x2f3)],_0x34e954=this[_0x1c63be(0x324)](_0x4a2a9e[_0x1c63be(0x29a)]);let _0x300a7e;if(_0x34e954[_0x1c63be(0x20e)][_0x1c63be(0x216)]){const _0x7acc58=_0x1faed4[_0x1c63be(0x25b)][_0x1c63be(0x244)](_0x34e954[_0x1c63be(0x26b)]);_0x300a7e=Array[_0x1c63be(0x30c)](_0x7acc58[_0x1c63be(0x2a0)]());}else{const _0x4f93ee=this[_0x1c63be(0x273)][_0x1c63be(0x329)][_0x1c63be(0x28a)][_0x1c63be(0x2f7)](_0x1c63be(0x232)+_0x4a2a9e[_0x1c63be(0x29a)]);_0x300a7e=Array[_0x1c63be(0x30c)](_0x1faed4[_0x1c63be(0x20d)][_0x1c63be(0x2a1)](_0x4f93ee[_0x1c63be(0x31f)]))[_0x1c63be(0x277)](_0x423c6c=>_0x1faed4[_0x1c63be(0x25b)][_0x1c63be(0x1f8)][_0x1c63be(0x32b)](_0x423c6c))[_0x1c63be(0x277)](_0x26e3b0=>Array[_0x1c63be(0x30c)](_0x26e3b0[_0x1c63be(0x2a0)]()))[_0x1c63be(0x30f)]();}if(!this[_0x1c63be(0x225)])return _0x300a7e[0x0];return _0x300a7e[_0x1c63be(0x1ec)](_0x42600d=>_0x42600d[_0x1c63be(0x272)]-0x3<=this[_0x1c63be(0x225)]['y']&&_0x42600d[_0x1c63be(0x234)]+0x3>=this[_0x1c63be(0x225)]['y']&&_0x42600d[_0x1c63be(0x2bd)]-0x3<=this[_0x1c63be(0x225)]['x']&&_0x42600d[_0x1c63be(0x213)]+0x3>=this[_0x1c63be(0x225)]['x'])||_0x300a7e[0x0];}}}),this[_0xcfdc10(0x2c2)][_0xcfdc10(0x321)](_0xcfdc10(0x235)));}),this['on'](_0x35e4b9(0x2f8),(_0x3d11db,_0x515967,_0x175704,_0x587530)=>{const _0x23978a=_0x35e4b9;this[_0x23978a(0x1e1)]=_0x175704?this[_0x23978a(0x252)](_0x175704):null,this[_0x23978a(0x273)][_0x23978a(0x329)][_0x23978a(0x309)](()=>{const _0x42428e=_0x23978a,_0x1b221d=this[_0x42428e(0x273)][_0x42428e(0x2f3)];_0x587530&&(_0x587530[_0x42428e(0x20e)][_0x42428e(0x216)]?_0x1b221d[_0x42428e(0x25b)][_0x42428e(0x309)](_0x14ac35=>{const _0x2f300f=_0x42428e;_0x14ac35[_0x2f300f(0x236)](_0x2f300f(0x2c6),_0x1b221d[_0x2f300f(0x25b)][_0x2f300f(0x269)][_0x2f300f(0x305)](_0x587530[_0x2f300f(0x26b)]));}):_0x1b221d[_0x42428e(0x295)](_0x42428e(0x232)+_0x587530['id'])),_0x175704&&(_0x175704[_0x42428e(0x20e)][_0x42428e(0x216)]?_0x1b221d[_0x42428e(0x25b)][_0x42428e(0x309)](_0x415bec=>{const _0x56dbe1=_0x42428e;_0x415bec[_0x56dbe1(0x1e5)](_0x56dbe1(0x2c6),_0x1b221d[_0x56dbe1(0x25b)][_0x56dbe1(0x269)][_0x56dbe1(0x305)](_0x175704[_0x56dbe1(0x26b)]));}):_0x1b221d[_0x42428e(0x295)](_0x42428e(0x232)+_0x175704['id']));});}),this[_0x35e4b9(0x310)](this[_0x35e4b9(0x273)][_0x35e4b9(0x2f3)][_0x35e4b9(0x25b)][_0x35e4b9(0x269)],_0x35e4b9(0x28d),(_0x15b10e,_0x2aa1e6)=>{const _0xfce871=_0x35e4b9;if(this[_0xfce871(0x279)])return;const _0xb23e7a=this[_0xfce871(0x31e)](_0x2aa1e6[_0xfce871(0x1e7)]),_0x184263=this[_0xfce871(0x24c)][_0xfce871(0x2f7)](_0xb23e7a);_0x184263?(this[_0xfce871(0x225)]={'x':_0x2aa1e6[_0xfce871(0x2fd)]['x'],'y':_0x2aa1e6[_0xfce871(0x2fd)]['y']},this[_0xfce871(0x1e1)]=this[_0xfce871(0x252)](_0x184263)):(this[_0xfce871(0x225)]=null,this[_0xfce871(0x1e1)]=null);}),this[_0x35e4b9(0x310)](this[_0x35e4b9(0x273)][_0x35e4b9(0x2f3)][_0x35e4b9(0x25b)][_0x35e4b9(0x269)],_0x35e4b9(0x2b3),(_0x548499,_0x1de2ab)=>{const _0x5409a6=_0x35e4b9,_0x2916cf=this[_0x5409a6(0x31e)](_0x1de2ab[_0x5409a6(0x1e7)]),_0x28b5fb=this[_0x5409a6(0x24c)][_0x5409a6(0x2f7)](_0x2916cf);_0x28b5fb?(this[_0x5409a6(0x225)]={'x':_0x1de2ab[_0x5409a6(0x2fd)]['x'],'y':_0x1de2ab[_0x5409a6(0x2fd)]['y']},_0x28b5fb===this[_0x5409a6(0x279)]?this[_0x5409a6(0x2c2)][_0x5409a6(0x22c)]():this[_0x5409a6(0x279)]=_0x28b5fb):(this[_0x5409a6(0x225)]=null,this[_0x5409a6(0x279)]=null);});}[_0x43697(0x31e)](_0x41b4f0){const _0x2b91e6=_0x43697;do{const _0x2a5d27=_0x41b4f0[_0x2b91e6(0x322)](_0x2b91e6(0x2b5));if(_0x2a5d27)return _0x2a5d27;_0x41b4f0=_0x41b4f0[_0x2b91e6(0x248)];}while(_0x41b4f0);return null;}[_0x43697(0x21e)](){const _0xe6212b=_0x43697;this[_0xe6212b(0x273)][_0xe6212b(0x329)][_0xe6212b(0x309)](_0x5c5f59=>{const _0x12495e=_0xe6212b;for(const _0x56d745 of this[_0x12495e(0x273)][_0x12495e(0x329)][_0x12495e(0x28a)])_0x5c5f59[_0x12495e(0x22e)](_0x56d745);});}}function et(_0x9c8d98,_0x108229){return(_0x4bdfc8,_0x4a70e2,_0x52ca53)=>{const _0x5ae86f=_0x1d81;if(!_0x52ca53[_0x5ae86f(0x212)][_0x5ae86f(0x2d1)](_0x4a70e2[_0x5ae86f(0x2b8)],_0x4bdfc8[_0x5ae86f(0x31f)]))return;const _0xa74a06=_0x4a70e2[_0x5ae86f(0x2b8)][_0x5ae86f(0x1f6)](),_0x13cf6b=_0x4a70e2[_0x5ae86f(0x2b8)][_0x5ae86f(0x1de)],_0x1f9586=_0x9c8d98[_0x5ae86f(0x329)][_0x5ae86f(0x27a)];let _0x32af05=null,_0x56a3dd=null,_0x54b0d9=!0x1,_0x41608d=!0x1;for(const _0x4f4065 of _0xa74a06){const _0x377e15=_0x4f4065[_0x5ae86f(0x253)];_0x54b0d9=_0x54b0d9||_0x1f9586[_0x5ae86f(0x2d8)](_0x377e15);const _0x3b6cce=_0x52ca53[_0x5ae86f(0x20d)][_0x5ae86f(0x2a5)](_0x377e15);if(_0x3b6cce&&_0x3b6cce[_0x5ae86f(0x1f9)](_0x5ae86f(0x298)))return;_0x5ae86f(0x1e0)==_0x4f4065[_0x5ae86f(0x28f)]&&(_0x1f9586[_0x5ae86f(0x313)](_0x377e15)&&!_0x1f9586[_0x5ae86f(0x278)](_0x377e15)&&(_0x377e15[_0x5ae86f(0x217)]||_0x13cf6b[_0x5ae86f(0x29c)]?_0x32af05&&_0x32af05[_0x5ae86f(0x248)]==_0x377e15||(_0x32af05=_0x377e15,_0x58193d(_0x4f4065[_0x5ae86f(0x1e8)]),_0x41608d=!0x0):_0x56a3dd=_0x56a3dd||_0x4f4065[_0x5ae86f(0x1e8)]));}function _0x58193d(_0x8d39e4){const _0x5d2b93=_0x5ae86f,_0x4cc485=_0x52ca53[_0x5d2b93(0x20d)][_0x5d2b93(0x264)](_0x8d39e4),_0x2bd80c=_0x52ca53[_0x5d2b93(0x312)][_0x5d2b93(0x227)](_0x5d2b93(0x204),{'class':_0x5d2b93(0x283)+_0x108229});_0x52ca53[_0x5d2b93(0x312)][_0x5d2b93(0x2cf)](_0x4cc485,_0x2bd80c),_0x52ca53[_0x5d2b93(0x20d)][_0x5d2b93(0x22d)](_0x2bd80c,_0x4a70e2[_0x5d2b93(0x304)]);}_0x54b0d9||_0x41608d||!_0x56a3dd||_0x58193d(_0x56a3dd);};}export class RestoreRevisionCommand extends _0x5fa737{constructor(_0x4d541b){const _0x30863b=_0x43697;super(_0x4d541b);const _0xe5447=_0x4d541b[_0x30863b(0x2a7)][_0x30863b(0x2f7)](d);this[_0x30863b(0x294)]=!0x1,this[_0x30863b(0x310)](_0xe5447,_0x30863b(0x210),()=>this[_0x30863b(0x2e7)]()),this[_0x30863b(0x310)](_0xe5447,_0x30863b(0x2ae),()=>this[_0x30863b(0x2e7)]());}[_0x43697(0x21a)](){const _0x258431=_0x43697,_0x1c2f14=this[_0x258431(0x273)],_0x315e4b=_0x1c2f14[_0x258431(0x2a7)][_0x258431(0x2f7)](d),_0x1dddd4=_0x315e4b[_0x258431(0x311)]?_0x315e4b[_0x258431(0x239)][_0x258431(0x207)]:null;_0x1c2f14[_0x258431(0x1fe)][_0x258431(0x2f7)](_0x258431(0x2b7))[_0x258431(0x203)](_0x1dddd4);}[_0x43697(0x2e7)](){const _0x3feccb=_0x43697,{isReady:_0x4a7381,isEnabled:_0x1d608f}=this[_0x3feccb(0x273)][_0x3feccb(0x2a7)][_0x3feccb(0x2f7)](d);this[_0x3feccb(0x2f6)]=_0x4a7381&&_0x1d608f;}}export class ShowChangeCommand extends _0x5fa737{constructor(_0x5d6c6f,{direction:_0x514605}){const _0x1a4876=_0x43697;super(_0x5d6c6f);const _0x1baf20=_0x5d6c6f[_0x1a4876(0x2a7)][_0x1a4876(0x2f7)](d);this[_0x1a4876(0x294)]=!0x1,this[_0x1a4876(0x1ea)]=_0x1a4876(0x1f3)===_0x514605?0x1:-0x1,this[_0x1a4876(0x310)](_0x1baf20,_0x1a4876(0x210),()=>this[_0x1a4876(0x2e7)]()),this[_0x1a4876(0x310)](_0x1baf20,_0x1a4876(0x2ae),()=>this[_0x1a4876(0x2e7)]()),this[_0x1a4876(0x310)](_0x1baf20,_0x1a4876(0x2f8),()=>this[_0x1a4876(0x2e7)]());}[_0x43697(0x21a)](){const _0x37bab9=_0x43697,_0x1564ca=this[_0x37bab9(0x273)],_0x3b7e90=_0x1564ca[_0x37bab9(0x2a7)][_0x37bab9(0x2f7)](d),{isNavigationMode:_0x1f8812,currentChangeNumber:_0x2ddc9d}=_0x3b7e90;let _0x21b3dc;if(_0x3b7e90[_0x37bab9(0x279)]=_0x1f8812?_0x3b7e90[_0x37bab9(0x239)][_0x37bab9(0x2c8)][_0x37bab9(0x2f7)](_0x2ddc9d+this[_0x37bab9(0x1ea)]):_0x3b7e90[_0x37bab9(0x239)][_0x37bab9(0x2c8)][_0x37bab9(0x319)],_0x3b7e90[_0x37bab9(0x279)][_0x37bab9(0x20e)][_0x37bab9(0x216)])_0x21b3dc=_0x1564ca[_0x37bab9(0x2f3)][_0x37bab9(0x25b)][_0x37bab9(0x244)](_0x3b7e90[_0x37bab9(0x279)][_0x37bab9(0x26b)]);else{const _0x12fbf0=_0x1564ca[_0x37bab9(0x329)][_0x37bab9(0x28a)][_0x37bab9(0x2f7)](_0x37bab9(0x232)+_0x3b7e90[_0x37bab9(0x279)]['id']);_0x21b3dc=_0x414f13(_0x1564ca[_0x37bab9(0x2f3)],_0x12fbf0);}_0x1ffd60({'target':_0x21b3dc,'viewportOffset':0x28});}[_0x43697(0x2e7)](){const _0x1b6770=_0x43697,{isNavigationMode:_0x4e456e,currentChangeNumber:_0x41e4c9,numberOfChanges:_0x39b0d2,isReady:_0x195cc7,isEnabled:_0x5a24cc}=this[_0x1b6770(0x273)][_0x1b6770(0x2a7)][_0x1b6770(0x2f7)](d);this[_0x1b6770(0x2f6)]=!!(_0x5a24cc&&_0x195cc7&&_0x39b0d2)&&(!_0x4e456e||(0x1===this[_0x1b6770(0x1ea)]?_0x41e4c9<_0x39b0d2-0x1:_0x41e4c9>0x0));}}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { ViewModel } from 'ckeditor5/src/ui.js';
|
|
5
|
+
import { ViewModel, type DropdownView } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import '../../../theme/revision/revisionactions.css';
|
|
7
|
+
import type RevisionView from './revisionview.js';
|
|
8
|
+
import type { RevisionAction } from '../revisionssidebar/revisionssidebar.js';
|
|
9
|
+
export declare function createActionsDropdownView(revisionView: RevisionView, revisionActions: Array<RevisionAction>): DropdownView;
|
|
7
10
|
export interface RevisionDropdownOptions {
|
|
8
11
|
type: 'button';
|
|
9
12
|
model: ViewModel;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5b50(){const _0x1c19c2=['Compare\x20against\x20selected','extendTemplate','model','menu','listenTo','add','listView','isActionsDropdownOpen','locale','16hLWQDp','isVisible','menuitem','4500190xljfKI','_action','stopPropagation','Name\x20this\x20revision','423912RhoATT','isEnabled','find','buttonView','3924473TwrhAN','ck-revision-history-sidebar__revision__actions','ck-on','isOpen','777766UEYiwM','648BeOJap','9wWdyfb','94tNFhBw','items','Show\x20more\x20items','change:isActionsDropdownOpen','function','3934554EBGyKk','map','bindTemplate','source','first','button','Restore\x20this\x20revision','50QHjGVz','1363436aMMhmE','bind','action','class','threeVerticalDots','panelPosition','set','name','isReady','11GfXYds','execute','children'];_0x5b50=function(){return _0x1c19c2;};return _0x5b50();}(function(_0x2674ee,_0x3e82dd){const _0xada74d=_0x4319,_0x4ee95f=_0x2674ee();while(!![]){try{const _0x4a6a97=-parseInt(_0xada74d(0x12b))/0x1*(parseInt(_0xada74d(0x149))/0x2)+-parseInt(_0xada74d(0x14e))/0x3+-parseInt(_0xada74d(0x122))/0x4+-parseInt(_0xada74d(0x121))/0x5*(parseInt(_0xada74d(0x13e))/0x6)+-parseInt(_0xada74d(0x142))/0x7*(parseInt(_0xada74d(0x137))/0x8)+-parseInt(_0xada74d(0x148))/0x9*(-parseInt(_0xada74d(0x13a))/0xa)+parseInt(_0xada74d(0x146))/0xb*(parseInt(_0xada74d(0x147))/0xc);if(_0x4a6a97===_0x3e82dd)break;else _0x4ee95f['push'](_0x4ee95f['shift']());}catch(_0x14698c){_0x4ee95f['push'](_0x4ee95f['shift']());}}}(_0x5b50,0xc03fb));import{Collection as _0x30757e}from'ckeditor5/src/utils.js';import{icons as _0x40f3cd}from'ckeditor5/src/core.js';import{ViewModel as _0x4d3f92,addListToDropdown as _0x2ea52e,createDropdown as _0x409dc4}from'ckeditor5/src/ui.js';import{getTranslation as _0x565288}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';function _0x4319(_0x573b25,_0x319e59){const _0x5b503c=_0x5b50();return _0x4319=function(_0x431929,_0x52e22d){_0x431929=_0x431929-0x11e;let _0x4aa5d7=_0x5b503c[_0x431929];return _0x4aa5d7;},_0x4319(_0x573b25,_0x319e59);}export function createActionsDropdownView(_0x482af0,_0x36d104){const _0x5a3c88=_0x4319,_0xdd5351=_0x482af0[_0x5a3c88(0x150)],_0x4174ba=_0x482af0[_0x5a3c88(0x136)],_0x2dc87e=_0x409dc4(_0x4174ba);_0x2dc87e[_0x5a3c88(0x127)]='sw';const _0x281b84=function(_0x2c3120,_0x1faf32){const _0x3a6b0b=_0x5a3c88,_0x353152=function(_0x24bbe5,_0x564048){const _0x15b66d=_0x4319,_0x186d69=_0x24bbe5[_0x15b66d(0x136)],_0x342f7b={'Compare\x20against\x20selected':_0x565288(_0x186d69,_0x15b66d(0x12e)),'Name\x20this\x20revision':_0x565288(_0x186d69,_0x15b66d(0x13d)),'Restore\x20this\x20revision':_0x565288(_0x186d69,_0x15b66d(0x120))};return _0x564048[_0x15b66d(0x14f)](_0x33bdd4=>{const _0x4ddd5e=_0x15b66d,_0x297b37=_0x342f7b[_0x33bdd4[_0x4ddd5e(0x129)]];return _0x297b37&&_0x297b37!==_0x33bdd4[_0x4ddd5e(0x129)]&&(_0x33bdd4[_0x4ddd5e(0x129)]=_0x297b37),_0x33bdd4;});}(_0x2c3120,_0x1faf32),_0x971ba9=new _0x30757e();for(const _0x3cebe9 of _0x353152){const _0xa0443a={'type':_0x3a6b0b(0x11f),'model':new _0x4d3f92({'label':_0x3cebe9[_0x3a6b0b(0x129)],'class':_0x3cebe9[_0x3a6b0b(0x125)],'withText':!0x0,'role':_0x3a6b0b(0x139),'_action':_0x3cebe9[_0x3a6b0b(0x124)]})};_0xa0443a[_0x3a6b0b(0x130)][_0x3a6b0b(0x123)](_0x3a6b0b(0x13f))['to'](_0x2c3120,_0x3a6b0b(0x135),_0x2c7ade=>_0x3a6b0b(0x14d)!=typeof _0x3cebe9[_0x3a6b0b(0x13f)]||(!_0x2c7ade||_0x3cebe9[_0x3a6b0b(0x13f)](_0x2c3120))),_0x971ba9[_0x3a6b0b(0x133)](_0xa0443a);}return _0x971ba9;}(_0x482af0,_0x36d104);return _0x482af0[_0x5a3c88(0x123)](_0x5a3c88(0x135))['to'](_0x2dc87e,_0x5a3c88(0x145)),_0x2dc87e[_0x5a3c88(0x141)][_0x5a3c88(0x128)]({'label':_0x565288(_0x4174ba,_0x5a3c88(0x14b)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x40f3cd[_0x5a3c88(0x126)]}),_0x2dc87e[_0x5a3c88(0x12f)]({'attributes':{'class':[_0x5a3c88(0x143),_0xdd5351['if'](_0x5a3c88(0x135),_0x5a3c88(0x144))]},'on':{'click':_0xdd5351['to'](_0x4256f1=>_0x4256f1[_0x5a3c88(0x13c)]())}}),_0x2dc87e['on'](_0x5a3c88(0x12c),_0x2f36d7=>{const _0x1d22e4=_0x5a3c88;_0x482af0[_0x1d22e4(0x12a)]&&_0x1d22e4(0x14d)==typeof _0x2f36d7[_0x1d22e4(0x151)][_0x1d22e4(0x13b)]&&_0x2f36d7[_0x1d22e4(0x151)][_0x1d22e4(0x13b)](_0x482af0);}),_0x2ea52e(_0x2dc87e,_0x281b84,{'role':_0x5a3c88(0x131)}),_0x2dc87e[_0x5a3c88(0x132)](_0x482af0,_0x5a3c88(0x14c),(_0x205b01,_0x367bb8,_0x44b170)=>{const _0x143b52=_0x5a3c88;if(_0x44b170)for(const _0x2b40d1 of _0x2dc87e[_0x143b52(0x134)][_0x143b52(0x14a)]){const _0x596e3c=_0x2b40d1[_0x143b52(0x12d)][_0x143b52(0x11e)],_0x5cf517=_0x36d104[_0x143b52(0x140)](_0xddfe17=>_0xddfe17[_0x143b52(0x124)]===_0x596e3c[_0x143b52(0x13b)])[_0x143b52(0x138)];_0x2b40d1[_0x143b52(0x138)]=void 0x0===_0x5cf517||_0x5cf517(_0x482af0);}}),_0x2dc87e;}
|
|
@@ -2,4 +2,13 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionauthorview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
5
11
|
import '../../../theme/revision/revisionauthor.css';
|
|
12
|
+
export default class RevisionAuthorView extends View {
|
|
13
|
+
constructor(locale: Locale, author: User, isCreator: boolean);
|
|
14
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x591128,_0x1738e0){const _0xe37fdc=_0x4324,_0x5cb5e4=_0x591128();while(!![]){try{const _0x111655=-parseInt(_0xe37fdc(0x1f3))/0x1*(parseInt(_0xe37fdc(0x1f0))/0x2)+-parseInt(_0xe37fdc(0x1f2))/0x3+parseInt(_0xe37fdc(0x1fd))/0x4+-parseInt(_0xe37fdc(0x1fa))/0x5+-parseInt(_0xe37fdc(0x1fe))/0x6*(parseInt(_0xe37fdc(0x1f5))/0x7)+-parseInt(_0xe37fdc(0x1f6))/0x8*(-parseInt(_0xe37fdc(0x1ef))/0x9)+parseInt(_0xe37fdc(0x201))/0xa;if(_0x111655===_0x1738e0)break;else _0x5cb5e4['push'](_0x5cb5e4['shift']());}catch(_0x5834d3){_0x5cb5e4['push'](_0x5cb5e4['shift']());}}}(_0x325b,0x4686a));import{View as _0x227b96,IconView as _0x3fa7b5}from'ckeditor5/src/ui.js';function _0x325b(){const _0x1cd53e=['Revision\x20creator','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author__name','2700725fAsjGl','setTemplate','ck-revision-history-sidebar__revision-author','430488tlsCUX','271380OhfEZl','set','span','16178310QHsMAq','ck-revision-history-sidebar__revision-author_creator','name','263421nSClts','138896ChLaJz','Revision\x20author','1066557pYqBKZ','3nMIOwE','push','56ELhkIK','8ldHYBS'];_0x325b=function(){return _0x1cd53e;};return _0x325b();}import{getTranslation as _0x2e52af}from'../../utils/common-translations.js';function _0x4324(_0x561618,_0x13aff1){const _0x325b3d=_0x325b();return _0x4324=function(_0x43245d,_0x40dc49){_0x43245d=_0x43245d-0x1ef;let _0x5380fd=_0x325b3d[_0x43245d];return _0x5380fd;},_0x4324(_0x561618,_0x13aff1);}import'../../../theme/revision/revisionauthor.css';import _0x2fcf89 from'../../../theme/icons/user.svg';export default class ti extends _0x227b96{constructor(_0x3a8159,_0x4ce980,_0x4060c6){const _0x15f0b5=_0x4324;super(_0x3a8159);const _0x86290f=new _0x3fa7b5();_0x86290f[_0x15f0b5(0x1ff)]({'content':_0x2fcf89,'viewBox':_0x15f0b5(0x1f8)});const _0x186cf6=['ck',_0x15f0b5(0x1fc)];_0x4060c6&&_0x186cf6[_0x15f0b5(0x1f4)](_0x15f0b5(0x202));const _0x24dfea=[{'tag':_0x15f0b5(0x200),'attributes':{'class':['ck',_0x15f0b5(0x1f9)],'title':_0x2e52af(_0x3a8159,_0x4060c6?_0x15f0b5(0x1f7):_0x15f0b5(0x1f1))},'children':[_0x86290f,_0x4ce980[_0x15f0b5(0x203)]]}];this[_0x15f0b5(0x1fb)]({'tag':'li','attributes':{'class':_0x186cf6},'children':_0x24dfea});}}
|
|
@@ -2,4 +2,29 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionnameview
|
|
7
|
+
*/
|
|
8
|
+
import { LabeledFieldView, type InputTextView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
5
10
|
import '../../../theme/revision/revisionname.css';
|
|
11
|
+
export default class RevisionNameView extends LabeledFieldView<InputTextView> {
|
|
12
|
+
/**
|
|
13
|
+
* @inheritDoc
|
|
14
|
+
*/
|
|
15
|
+
constructor(locale: Locale, viewCreator: (labeledFieldView: LabeledFieldView, viewUid: string, statusUid: string) => InputTextView);
|
|
16
|
+
/**
|
|
17
|
+
* Renders the view and creates binding for tooltip. It's only displayed if the revision name is longer
|
|
18
|
+
* than the container. There are two different scenarios this may happen:
|
|
19
|
+
*
|
|
20
|
+
* * while resizing the container,
|
|
21
|
+
* * while changing the revision name.
|
|
22
|
+
*
|
|
23
|
+
* Hence, two different bindings are created: one using the `ResizeObserver` and the other using the input `value` property.
|
|
24
|
+
*/
|
|
25
|
+
render(): void;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
destroy(): void;
|
|
30
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46ac18=_0x100d;function _0x108f(){const _0x2d61a8=['245JKNAvU','Revision\x20name','63vGicHI','6432130DDlbpo','1480652HMycpz','49722vRsNvt','_updateTooltipText','2691488ZbsduM','fieldView','destroy','value','369352JwQdaf','10662974GqLrNd','22HtFvxo','set','clientWidth','1246746FZiCMZ','listenTo','placeholder','ck-tooltip_multi-line','16ocGDlu','extendTemplate','Enter\x20the\x20revision\x20name','element','_tooltipString','scrollWidth','ck-revision-history-sidebar__revision-name','_resizeObserver','bindTemplate','render','span','input'];_0x108f=function(){return _0x2d61a8;};return _0x108f();}(function(_0x599e68,_0x542c99){const _0x2525d8=_0x100d,_0x4e8150=_0x599e68();while(!![]){try{const _0x58aabb=parseInt(_0x2525d8(0x9d))/0x1+parseInt(_0x2525d8(0xa0))/0x2+parseInt(_0x2525d8(0xa9))/0x3*(-parseInt(_0x2525d8(0xad))/0x4)+-parseInt(_0x2525d8(0x99))/0x5*(parseInt(_0x2525d8(0x9e))/0x6)+-parseInt(_0x2525d8(0xa5))/0x7+-parseInt(_0x2525d8(0xa4))/0x8*(-parseInt(_0x2525d8(0x9b))/0x9)+-parseInt(_0x2525d8(0x9c))/0xa*(-parseInt(_0x2525d8(0xa6))/0xb);if(_0x58aabb===_0x542c99)break;else _0x4e8150['push'](_0x4e8150['shift']());}catch(_0x269c68){_0x4e8150['push'](_0x4e8150['shift']());}}}(_0x108f,0xce22c));function _0x100d(_0x4294f9,_0x1ce2b5){const _0x108f3b=_0x108f();return _0x100d=function(_0x100d80,_0x3f9945){_0x100d80=_0x100d80-0x8e;let _0x132050=_0x108f3b[_0x100d80];return _0x132050;},_0x100d(_0x4294f9,_0x1ce2b5);}import{LabeledFieldView as _0x49ba2b}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x56d48f}from'ckeditor5/src/utils.js';import{getTranslation as _0x13a36d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class kt extends _0x49ba2b{constructor(_0x421ae3,_0xabc3c2){const _0x5c641a=_0x100d;super(_0x421ae3,_0xabc3c2),this[_0x5c641a(0x94)]=null;const _0x21c068=this[_0x5c641a(0x95)];this[_0x5c641a(0xa7)]({'label':_0x13a36d(_0x421ae3,_0x5c641a(0x9a)),'_tooltipString':''}),this[_0x5c641a(0xa1)][_0x5c641a(0xab)]=_0x13a36d(_0x421ae3,_0x5c641a(0x8f)),this[_0x5c641a(0x8e)]({'tag':_0x5c641a(0x97),'attributes':{'class':[_0x5c641a(0x93)],'data-cke-tooltip-text':_0x21c068['to'](_0x5c641a(0x91)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x5c641a(0xac)}});}[_0x46ac18(0x96)](){const _0x5ee717=_0x46ac18;super[_0x5ee717(0x96)](),this[_0x5ee717(0x94)]=new _0x56d48f(this[_0x5ee717(0xa1)][_0x5ee717(0x90)],()=>this[_0x5ee717(0x9f)]()),this[_0x5ee717(0xaa)](this[_0x5ee717(0xa1)],_0x5ee717(0x98),()=>this[_0x5ee717(0x9f)]());}[_0x46ac18(0xa2)](){const _0x3e77b2=_0x46ac18;super[_0x3e77b2(0xa2)](),this[_0x3e77b2(0x94)]&&this[_0x3e77b2(0x94)][_0x3e77b2(0xa2)]();}[_0x46ac18(0x9f)](){const _0x4bc953=_0x46ac18,_0x3240c7=this[_0x4bc953(0xa1)][_0x4bc953(0x90)];this[_0x4bc953(0x91)]=_0x3240c7[_0x4bc953(0x92)]>_0x3240c7[_0x4bc953(0xa8)]&&_0x3240c7[_0x4bc953(0xa3)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2b008d=_0xc3e4;(function(_0x11fcc6,_0x75185){const _0x3760bf=_0xc3e4,_0x3cc2fa=_0x11fcc6();while(!![]){try{const _0x3f7060=-parseInt(_0x3760bf(0xb1))/0x1+-parseInt(_0x3760bf(0x8f))/0x2+parseInt(_0x3760bf(0x87))/0x3+-parseInt(_0x3760bf(0xb3))/0x4+-parseInt(_0x3760bf(0xc1))/0x5+-parseInt(_0x3760bf(0xb5))/0x6*(parseInt(_0x3760bf(0x85))/0x7)+parseInt(_0x3760bf(0xa2))/0x8;if(_0x3f7060===_0x75185)break;else _0x3cc2fa['push'](_0x3cc2fa['shift']());}catch(_0x129693){_0x3cc2fa['push'](_0x3cc2fa['shift']());}}}(_0x195d,0x58e0a));import{View as _0x2761d3,createLabeledInputText as _0x4e856d}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x4b2601}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x42ab87 from'./revisionnameview.js';function _0xc3e4(_0x166a9a,_0x557f92){const _0x195de6=_0x195d();return _0xc3e4=function(_0xc3e440,_0x1c94cc){_0xc3e440=_0xc3e440-0x84;let _0x20020f=_0x195de6[_0xc3e440];return _0x20020f;},_0xc3e4(_0x166a9a,_0x557f92);}import _0x47c561 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x287031}from'./utils.js';import{createActionsDropdownView as _0x3a0668}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';function _0x195d(){const _0x14dcc9=['ck-revision-history-sidebar__revision-authors','_createdAtFormatted','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','set','createdAt','deselect','unhighlight','uiLanguage','unshift','isSelected','.ck-thread__remove-confirm','3346610vvXKFc','ck-revision-history-sidebar__revision','authors','7112pHwIRy','closest','1506702MSPDnw','isConfirm','filter','map','revisionNameView','ck-revision-history-sidebar__revision__controls-wrapper','revisionActionsView','_revision','839098SYdbOJ','ck-revision-history-sidebar__revision_highlighted','isReady','ck-reset','srcElement','ck-revision-history-sidebar__actions_dropdown_open','ck-revision-history-sidebar__revision-wrapper','ck-disabled','isActionsDropdownOpen','ck-revision-history-sidebar__revision__date','render','select','span','isEnabled','fire','isHighlighted','setName','bind','ck-revision-history-sidebar__revision_selected','12210552ssPhTj','from','listenTo','highlight','creator','220','setTemplate','value','_requireRevisionName','change','element','length','name','fieldView','bindTemplate','154215BOpOYC','div','1002948nneIfj','extendTemplate','1008DAwbfQ'];_0x195d=function(){return _0x14dcc9;};return _0x195d();}export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b2601(_0x2761d3){constructor(_0x74f46f,_0x5447e8,_0x1eaf7b,_0x41aaf4){const _0xb56762=_0xc3e4;super(_0x74f46f);const _0x5cf388=this[_0xb56762(0xb0)],_0x50fae3=function(_0x4a2631,_0x3d2e33){const _0x1be647=_0xb56762,_0x9afea2=Array[_0x1be647(0xa3)](_0x3d2e33[_0x1be647(0x84)])[_0x1be647(0x89)](_0x537a04=>_0x537a04!=_0x3d2e33[_0x1be647(0xa6)]);return _0x3d2e33[_0x1be647(0xa6)]&&_0x9afea2[_0x1be647(0xbe)](_0x3d2e33[_0x1be647(0xa6)]),_0x9afea2[_0x1be647(0x8a)](_0x5c27c2=>new _0x47c561(_0x4a2631,_0x5c27c2,_0x5c27c2==_0x3d2e33[_0x1be647(0xa6)]));}(_0x74f46f,_0x5447e8);this['id']=_0x5447e8['id'],this[_0xb56762(0x8e)]=_0x5447e8,this[_0xb56762(0xaa)]=_0x41aaf4,this[_0xb56762(0xa0)](_0xb56762(0xae),_0xb56762(0xba))['to'](_0x5447e8),this[_0xb56762(0xa0)](_0xb56762(0xb7))['to'](this,_0xb56762(0xba),_0x59f20d=>_0x287031(_0x74f46f[_0xb56762(0xbd)],_0x59f20d)),this[_0xb56762(0xb9)](_0xb56762(0xbf),!0x1),this[_0xb56762(0xb9)](_0xb56762(0x9e),!0x1),this[_0xb56762(0xb9)](_0xb56762(0x97),!0x1),this[_0xb56762(0xb9)](_0xb56762(0x91),!0x1),this[_0xb56762(0xb9)](_0xb56762(0x9c),!0x1),this[_0xb56762(0x8b)]=new _0x42ab87(_0x74f46f,_0x4e856d),this[_0xb56762(0x8b)][_0xb56762(0xaf)][_0xb56762(0xb4)]({'attributes':{'maxlength':_0xb56762(0xa7)}}),this[_0xb56762(0x8b)][_0xb56762(0xaf)][_0xb56762(0xa0)](_0xb56762(0xa9))['to'](this,_0xb56762(0xae),_0x1d4d7d=>_0x1d4d7d||this[_0xb56762(0xb7)]),this[_0xb56762(0x8b)][_0xb56762(0xa0)](_0xb56762(0x9c))['to'](this,_0xb56762(0xbf),this,_0xb56762(0x9c),(_0x6da4e6,_0x1f332f)=>_0x6da4e6&&_0x1f332f),this[_0xb56762(0x8d)]=_0x1eaf7b&&_0x1eaf7b[_0xb56762(0xad)]?_0x3a0668(this,_0x1eaf7b):'',this[_0xb56762(0x8d)]&&this[_0xb56762(0x8d)][_0xb56762(0xa0)](_0xb56762(0x9c))['to'](this),this[_0xb56762(0xa8)]({'tag':_0xb56762(0xb2),'attributes':{'class':['ck',_0xb56762(0x92),_0xb56762(0x95),_0x5cf388['if'](_0xb56762(0x88),_0xb56762(0xb8))]},'children':[{'tag':_0xb56762(0xb2),'attributes':{'class':['ck',_0xb56762(0x92),_0xb56762(0xc2),_0x5cf388['if'](_0xb56762(0x9c),_0xb56762(0x96),_0x5d7ac1=>!_0x5d7ac1),_0x5cf388['if'](_0xb56762(0xbf),_0xb56762(0xa1)),_0x5cf388['if'](_0xb56762(0x9e),_0xb56762(0x90)),_0x5cf388['if'](_0xb56762(0x97),_0xb56762(0x94))]},'children':[this[_0xb56762(0x8b)],{'tag':_0xb56762(0x9b),'attributes':{'class':['ck',_0xb56762(0x98)]},'children':[{'text':_0x5cf388['to'](_0xb56762(0xb7))}]},{'tag':_0xb56762(0xb2),'attributes':{'class':['ck',_0xb56762(0x8c)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0xb56762(0xb6)]},'children':_0x50fae3}]},this[_0xb56762(0x8d)]],'on':{'click':_0x5cf388['to'](_0x34f540=>{const _0x15f36f=_0xb56762;_0x34f540[_0x15f36f(0x93)][_0x15f36f(0x86)](_0x15f36f(0xc0))||this[_0x15f36f(0x91)]&&this[_0x15f36f(0x9c)]&&this[_0x15f36f(0x9d)](_0x15f36f(0x9a),{'id':this['id']});})}}]});}[_0x2b008d(0x99)](){const _0x1b2ec3=_0x2b008d;super[_0x1b2ec3(0x99)]();const _0x25c7ba=this[_0x1b2ec3(0x8b)][_0x1b2ec3(0xaf)][_0x1b2ec3(0xac)];this[_0x1b2ec3(0xa4)](_0x25c7ba,_0x1b2ec3(0xab),()=>{const _0x32510e=_0x1b2ec3;this[_0x32510e(0xaa)]&&!_0x25c7ba[_0x32510e(0xa9)]||this[_0x32510e(0x9d)](_0x32510e(0x9f),{'id':this['id'],'name':_0x25c7ba[_0x32510e(0xa9)]}),_0x25c7ba[_0x32510e(0xa9)]||(_0x25c7ba[_0x32510e(0xa9)]=this[_0x32510e(0xae)]?this[_0x32510e(0xae)]:this[_0x32510e(0xb7)]);});}[_0x2b008d(0x9a)](){const _0x27b1f7=_0x2b008d;this[_0x27b1f7(0xbf)]=!0x0;}[_0x2b008d(0xbb)](){const _0x3f96a4=_0x2b008d;this[_0x3f96a4(0xbf)]=!0x1;}[_0x2b008d(0xa5)](){const _0x17ddc3=_0x2b008d;this[_0x17ddc3(0x9e)]=!0x0;}[_0x2b008d(0xbc)](){const _0x2090fd=_0x2b008d;this[_0x2090fd(0x9e)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x197b(){const _0x529e70=['2047152AylTyQ','ck-hidden','set','295911KKVZSG','2621547CmPtgf','false','ck-revision-history-sidebar__subrevision-collapser','span','4015143SdjUJd','8TRPnGO','setTemplate','bindTemplate','_isCollapsed','8OrMYjI','isVisible','click','button','3171875PXOUel','4127934ogzTmR','ck-revision-history-sidebar__subrevision-collapser_collapsed','true','9650494FCtGHM','toggle','ck-revision-history-sidebar__subrevision-collapser__inner'];_0x197b=function(){return _0x529e70;};return _0x197b();}const _0x1e3777=_0x3cc9;(function(_0x2aac4e,_0x5f47c4){const _0x1cfdbb=_0x3cc9,_0x34abb7=_0x2aac4e();while(!![]){try{const _0x42d0bd=parseInt(_0x1cfdbb(0x145))/0x1*(parseInt(_0x1cfdbb(0x137))/0x2)+parseInt(_0x1cfdbb(0x146))/0x3+parseInt(_0x1cfdbb(0x142))/0x4+parseInt(_0x1cfdbb(0x13b))/0x5+-parseInt(_0x1cfdbb(0x13c))/0x6+-parseInt(_0x1cfdbb(0x13f))/0x7*(parseInt(_0x1cfdbb(0x133))/0x8)+-parseInt(_0x1cfdbb(0x132))/0x9;if(_0x42d0bd===_0x5f47c4)break;else _0x34abb7['push'](_0x34abb7['shift']());}catch(_0x5da1ba){_0x34abb7['push'](_0x34abb7['shift']());}}}(_0x197b,0xa8ad2));import{View as _0x1c3d1b}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x3cc9(_0x4abd5a,_0x581b73){const _0x197b88=_0x197b();return _0x3cc9=function(_0x3cc92f,_0x4fde8c){_0x3cc92f=_0x3cc92f-0x131;let _0x377f68=_0x197b88[_0x3cc92f];return _0x377f68;},_0x3cc9(_0x4abd5a,_0x581b73);}export default class ss extends _0x1c3d1b{constructor(_0x4dacaa){const _0x3ef0f8=_0x3cc9;super(_0x4dacaa);const _0x16b6a5=this[_0x3ef0f8(0x135)];this[_0x3ef0f8(0x144)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x3ef0f8(0x134)]({'tag':_0x3ef0f8(0x131),'attributes':{'class':['ck',_0x3ef0f8(0x148),_0x16b6a5['if'](_0x3ef0f8(0x138),_0x3ef0f8(0x143),_0x3f0aec=>!_0x3f0aec),_0x16b6a5['if'](_0x3ef0f8(0x136),_0x3ef0f8(0x13d))],'role':_0x3ef0f8(0x13a),'aria-pressed':_0x16b6a5['to'](_0x3ef0f8(0x136),_0x471176=>_0x471176?_0x3ef0f8(0x147):_0x3ef0f8(0x13e))},'children':[{'tag':_0x3ef0f8(0x131),'attributes':{'class':['ck',_0x3ef0f8(0x141)]}}],'on':{'click':_0x16b6a5['to'](_0x3ef0f8(0x139))}});}[_0x1e3777(0x140)](){const _0x22eeb9=_0x1e3777;this[_0x22eeb9(0x136)]=!this[_0x22eeb9(0x136)];}}
|