@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240605.0 → 0.0.0-nightly-20240605.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -1
- 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/changeitem.d.ts +1 -1
- package/dist/types/editor/revisionviewereditor.d.ts +1 -1
- package/dist/types/revision.d.ts +1 -1
- package/dist/types/ui/revision/revisionview.d.ts +1 -1
- package/package.json +5 -5
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +2 -1
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +2 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.d.ts +1 -1
- package/src/revision.js +2 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +1 -1
- package/src/ui/revision/revisionview.js +2 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x40fdb4=_0x45ee;(function(_0x18aba6,_0x14f69e){const _0x65124e=_0x45ee,_0x5b3d81=_0x18aba6();while(!![]){try{const _0x24960c=parseInt(_0x65124e(0x236))/0x1*(parseInt(_0x65124e(0x2b1))/0x2)+parseInt(_0x65124e(0x25b))/0x3+parseInt(_0x65124e(0x29e))/0x4*(parseInt(_0x65124e(0x2cd))/0x5)+-parseInt(_0x65124e(0x276))/0x6+-parseInt(_0x65124e(0x1fc))/0x7*(-parseInt(_0x65124e(0x26e))/0x8)+-parseInt(_0x65124e(0x216))/0x9+-parseInt(_0x65124e(0x21a))/0xa;if(_0x24960c===_0x14f69e)break;else _0x5b3d81['push'](_0x5b3d81['shift']());}catch(_0x4cf53b){_0x5b3d81['push'](_0x5b3d81['shift']());}}}(_0x4a26,0xe1f8b));import{Plugin as _0x2c9a7e,Command as _0x2c0540}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x3ea3fd}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x3897b5}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x30cd1f,Element as _0x50648b,Text as _0x39c94f,ViewDocumentFragment as _0xed62c9,ViewText as _0x9d4d6a,ViewElement as _0x216ed5,ViewContainerElement as _0x21f0cf,ViewAttributeElement as _0x3fd22c,ViewEmptyElement as _0x5eb3a3,ViewRawElement as _0x4c4467,ViewUIElement as _0x291e74}from'ckeditor5/src/engine.js';import{Users as _0x37bb17,getMarkerDomElement as _0x4fc286}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xaaffbc from'./ui/revisionviewer/changedetailsview.js';import _0x1cc50e from'./revisionsrepository.js';import _0x2cabae from'./changeitem.js';import{default as _0x593754}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x409065}from'lodash-es';function _0x45ee(_0x47627a,_0x3d5aa8){const _0x4a26e5=_0x4a26();return _0x45ee=function(_0x45eee6,_0x4ad6d1){_0x45eee6=_0x45eee6-0x19a;let _0x183dad=_0x4a26e5[_0x45eee6];return _0x183dad;},_0x45ee(_0x47627a,_0x3d5aa8);}function _0x4a26(){const _0x4c1873=['first','revisionHistoryLabel','isIncorrect','_makeModelFromTape','item','sort','end','changes','indexOf','deletion','createRange','_findChangeIdFromDomTarget','selection','_step','_processTape','_markMarkers','default','remove','addClass','endIndex','type','flat','revisionHistoryAttachChange','removeMarker','filter','ck-suggestion-marker-','nodeAfter','forceDisabled','parse','revision-suggestion:','_cleanMarkers','data','removeAttribute','useFillerType','catch','downcastDispatcher','getDomRoot','next','code','addRevisionData','_removeMissingPairs','init','highest','pluginName','forEach','_makeModelFromViewString','isLimit','addRoot','currentChangeNumber','showPreviousChange','isEnabled','_update','20671IKuyfp','restoreRevision','revision','commands','destroy','updatePosition','requires','level','isBefore','ck-suggestion-marker-split','getRootNames','length','markerRange','affectsData','createUIElement','then','getRevisionData','_getDiff','for','distance','startIndex','consume','nextPosition','_markInsertions','keys','addMarker:revision','2124171awAlsl','createPositionBefore','ck-suggestion-marker--active','vid_end','13599810fgcaKN','ck-revision-history-root--active','RevisionViewer','_cleanUp','_markSuggestions','pop','map','mouseover','addRevision','dataToMarker','locale','_revisions','revisionHistory','insertion','includes','createRevision','high','low','showNextChange','splice','isBlock','ck-suggestion-preview-marker','getChild','marked','repository','object','removeClass','isAttached','1631xAdGge','parent','viewItem','editing','activeView','numberOfChanges','rootName','hasClass','detachRoot','markerNameToElements','observeMarkers','findIndex','elementToAttribute','_refreshStartEndIndex','bind','string','restoreRevisionCallback','revision:','toViewRange','uiElement','addMarker:revision-suggestion:deletion','backward','all','dataDowncast','change:isEnabled','_setDistance','attributesAfter','split','plugins','view','getWalker','isAdded','document','adapter','addHighlight','isNavigationMode','ck-suggestion-marker-merge','3669060INhknf','_sortAndFilterDiffChanges','oldRevisionId','isRemoveSuggestion','RevisionsRepository','getClientRects','isAtStart','_getViewForChange','change:activeChange','change:numberOfChanges','children','maxOffset','_setChanges','isInline','isRemoved','domEvent','data-change-id','error','consumable','4232dVsqgY','_fixObsoleteTags','_getChangeFromId','comment','removeMarker:revision','side','collaboration.channelId','toModel','9797268VgzpCU','markerToHighlight','enableReadOnlyMode','getRevisionRootsAttributes','toViewElement','bindElementToMarker','index','delete','getItems','unshift','isEqual','editingDowncast','_balloon','change','nextSibling','vid_start','markerToData','get','forward','conversion','listenTo','markersStart','upcast','isAtEnd','attributes','pairId','_threeWayMerge','previousPosition','WidgetToolbarRepository','_markMismatchedRemovedTags','stop','config','merge','add','isContent','_appendChild','suggestion','_removeRevisionMarkers','values','wrap','244NUehfE','right','ck-revision-history-root-remove','_setConversion','schema','push','isSuggestion','concat','attributesBefore','_makeTape','getRoot','elementStart','changeId','refresh','markers','unbindElementFromMarkerName','ck-editor__editable__overlay','left','revision-suggestion','1254QQmNmz','writer','checkAttribute','isReady','_changeIdToChange','isAddSuggestion','find','authors','model','ck-revision-history-root-','_getViewObj','enqueueChange','ck-revision-history-root-add','getAttributes','mousedown','top','insert','-new','_changeView','_joinTapes','compare','data-revision-','change:isReady','revision-viewer','offsetSize','deletions','startsWith','suggestion:','28415EzyOfz','shift','insertions','attachChange','start','processor','ck-suggestion-marker','createAttributeElement','_removeUnsupportedChanges','_getRevisionsRange','target','getCustomProperty','abs','ck-suggestion-preview-marker-','getAttribute','isObject','element','softBreak','POSITIVE_INFINITY','newRevisionId','toViewPosition','modelRange','test','revision-end','isOnRoot','loadRevisionData','revision-start','hasAttribute','showStack','clear','activeChange','addMarker:revision-suggestion:insertion','attribute:vid','markerName','execute','getIndex','range','markersEnd','isCollapsed','elementEnd','mapViewToDom','resolve','_activeViewTarget','editor','diffData','createPositionFromPath','setAttribute','done','span','return','isAfter','text','removeMarker:revision-suggestion','_initInteractions','createRangeIn','domConverter','slice','mapper','getRevision','has','_data','change:activeView','revision-comment:','name','diff','toData','roots','vid','set','bottom','reconvertMarker','element:pre','userId','from'];_0x4a26=function(){return _0x4c1873;};return _0x4a26();}const tt={'c':_0x21f0cf,'a':_0x3fd22c,'e':_0x5eb3a3,'r':_0x4c4467,'u':_0x291e74};export default class d extends _0x2c9a7e{static get[_0x40fdb4(0x1f3)](){const _0x20334a=_0x40fdb4;return _0x20334a(0x21c);}static get[_0x40fdb4(0x202)](){return[_0x37bb17,_0x3897b5,_0x1cc50e];}constructor(_0x454616){const _0x5856e9=_0x40fdb4;super(_0x454616),this[_0x5856e9(0x232)]=this[_0x5856e9(0x1a9)][_0x5856e9(0x252)][_0x5856e9(0x287)](_0x5856e9(0x25f)),this[_0x5856e9(0x1c2)](_0x5856e9(0x19c),null),this[_0x5856e9(0x1c2)](_0x5856e9(0x23a),null),this[_0x5856e9(0x1a8)]=null,this[_0x5856e9(0x1c2)](_0x5856e9(0x1be),null),this[_0x5856e9(0x1c2)](_0x5856e9(0x2b4),!0x1),this[_0x5856e9(0x1c2)](_0x5856e9(0x1fa),!0x0),this['on'](_0x5856e9(0x24e),(_0x496114,_0x4879ed,_0x873748)=>{const _0xad4d65=_0x5856e9;this[_0xad4d65(0x19c)]=null,this[_0xad4d65(0x23a)]=null,this[_0xad4d65(0x1a9)][_0xad4d65(0x239)][_0xad4d65(0x253)][_0xad4d65(0x283)](_0xc9efb2=>{const _0x254726=_0xad4d65;for(const _0x140b6a of this[_0x254726(0x1a9)][_0x254726(0x239)][_0x254726(0x253)][_0x254726(0x256)][_0x254726(0x1c0)])_0x873748?_0xc9efb2[_0x254726(0x234)](_0x254726(0x2ae),_0x140b6a):_0xc9efb2[_0x254726(0x1da)](_0x254726(0x2ae),_0x140b6a);});}),this[_0x5856e9(0x244)](_0x5856e9(0x259))['to'](this,_0x5856e9(0x19c),_0x511bf9=>null!==_0x511bf9),this[_0x5856e9(0x244)](_0x5856e9(0x1f8))['to'](this,_0x5856e9(0x2b4),this,_0x5856e9(0x1be),this,_0x5856e9(0x19c),(_0x1a8569,_0x35fa69,_0x1642c1)=>_0x1a8569&&_0x1642c1?_0x35fa69[_0x5856e9(0x1cf)][_0x5856e9(0x1a1)](_0x1642c1):0x0),this[_0x5856e9(0x244)](_0x5856e9(0x23b))['to'](this,_0x5856e9(0x2b4),this,_0x5856e9(0x1be),(_0x4d796b,_0x13e12f)=>_0x4d796b?_0x13e12f[_0x5856e9(0x1cf)][_0x5856e9(0x207)]:0x0),this[_0x5856e9(0x2c3)]=null,this[_0x5856e9(0x2b5)]=new Map(),this[_0x5856e9(0x257)]=null,this[_0x5856e9(0x282)]=this[_0x5856e9(0x1a9)][_0x5856e9(0x252)][_0x5856e9(0x287)](_0x3897b5);}[_0x40fdb4(0x1f1)](){const _0x1c3964=_0x40fdb4,_0x451278=this[_0x1c3964(0x1a9)],_0x2b206f=new ShowChangeCommand(_0x451278,{'direction':_0x1c3964(0x24b)}),_0x5b7f75=new ShowChangeCommand(_0x451278,{'direction':_0x1c3964(0x288)});(_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x1f9),_0x2b206f),_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x22c),_0x5b7f75),_0x451278[_0x1c3964(0x1ff)][_0x1c3964(0x297)](_0x1c3964(0x1fd),new RestoreRevisionCommand(_0x451278)),this['on'](_0x1c3964(0x264),()=>{const _0x24dabd=_0x1c3964;_0x2b206f[_0x24dabd(0x2ab)](),_0x5b7f75[_0x24dabd(0x2ab)]();}),this[_0x1c3964(0x2a1)](),this[_0x1c3964(0x1b3)](),_0x451278[_0x1c3964(0x278)](_0x1c3964(0x2c8)),_0x451278[_0x1c3964(0x252)][_0x1c3964(0x1b9)](_0x1c3964(0x292)))&&_0x451278[_0x1c3964(0x252)][_0x1c3964(0x287)](_0x1c3964(0x292))[_0x1c3964(0x1e3)](_0x1c3964(0x2c8));}async[_0x40fdb4(0x20c)](_0x4802cb){const _0x500548=_0x40fdb4;await this[_0x500548(0x2e6)](_0x4802cb);const _0x17a4e5={};for(const _0x1bad78 in _0x4802cb[_0x500548(0x1aa)]){if(_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2d0)]&&!_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2d0)][_0x500548(0x235)])continue;const _0x1c4beb=this[_0x500548(0x29b)](JSON[_0x500548(0x1e4)](_0x4802cb[_0x500548(0x1aa)][_0x1bad78][_0x500548(0x2cf)])),_0x453395=this[_0x500548(0x1a9)][_0x500548(0x239)][_0x500548(0x253)][_0x500548(0x256)],_0x4f4a85=new _0xed62c9(_0x453395,_0x1c4beb[_0x500548(0x220)](_0x41bcbb=>this[_0x500548(0x2bb)](_0x41bcbb)));this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1e9)](_0x500548(0x231)),_0x17a4e5[_0x1bad78]=this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1bf)](_0x4f4a85),this[_0x500548(0x1a9)][_0x500548(0x1e7)][_0x500548(0x2d2)][_0x500548(0x1e9)](_0x500548(0x1d8));}return _0x17a4e5;}async[_0x40fdb4(0x279)](_0x4be227){const _0x55b277=_0x40fdb4;await this[_0x55b277(0x2e6)](_0x4be227);const _0x3fa764={};for(const _0x10f0f9 in _0x4be227[_0x55b277(0x1aa)])_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x2d0)]&&!_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x2d0)][_0x55b277(0x235)]||(_0x3fa764[_0x10f0f9]=_0x4be227[_0x55b277(0x1aa)][_0x10f0f9][_0x55b277(0x250)]||{});return _0x3fa764;}[_0x40fdb4(0x29b)](_0x1bf4e7){const _0x3825c1=_0x40fdb4;return(_0x1bf4e7=_0x1bf4e7[_0x3825c1(0x1e0)](_0x4cef2a=>!_0x4cef2a[_0x3825c1(0x1bd)]||_0x3825c1(0x2e7)!==_0x4cef2a[_0x3825c1(0x1bd)]&&_0x3825c1(0x2e4)!==_0x4cef2a[_0x3825c1(0x1bd)]))[_0x3825c1(0x1f4)](_0x2d0bb3=>{const _0x362bb3=_0x3825c1;_0x362bb3(0x245)!=typeof _0x2d0bb3&&(_0x2d0bb3[_0x362bb3(0x265)]=this[_0x362bb3(0x29b)](_0x2d0bb3[_0x362bb3(0x265)]),_0x2d0bb3[_0x362bb3(0x28e)]=_0x2d0bb3[_0x362bb3(0x28e)][_0x362bb3(0x1e0)](_0x5e1905=>!_0x5e1905[0x0][_0x362bb3(0x2cb)](_0x362bb3(0x2c6))));}),_0x1bf4e7;}async[_0x40fdb4(0x2c5)](_0x2efc19,_0x456656,_0x27fe6e=!0x1){const _0x3a2a47=_0x40fdb4;if(!this[_0x3a2a47(0x1fa)])return;const _0x52b440=this[_0x3a2a47(0x1be)],_0x4004ee=this[_0x3a2a47(0x232)],_0x55130c=_0x3a2a47(0x245)==typeof _0x2efc19?_0x4004ee[_0x3a2a47(0x1b8)](_0x2efc19):_0x2efc19,_0x271165=_0x3a2a47(0x245)==typeof _0x456656?_0x4004ee[_0x3a2a47(0x1b8)](_0x456656):_0x456656,_0xce5bd2=_0x55130c['id'],_0x46f499=_0x271165?_0x271165['id']:null;if(!_0x27fe6e&&this[_0x3a2a47(0x1be)]&&this[_0x3a2a47(0x1be)][_0x3a2a47(0x2e0)]===_0xce5bd2&&this[_0x3a2a47(0x1be)][_0x3a2a47(0x25d)]===_0x46f499)return Promise[_0x3a2a47(0x1a7)]();this[_0x3a2a47(0x2b4)]=!0x1,this[_0x3a2a47(0x23a)]=null,this[_0x3a2a47(0x19c)]=null,this[_0x3a2a47(0x1be)]=new _0x593754(_0xce5bd2,_0x46f499);const _0x1f6bf1=this[_0x3a2a47(0x2d6)](_0x55130c,_0x271165,!0x0)[_0x3a2a47(0x220)](_0x19fcc5=>this[_0x3a2a47(0x2e6)](_0x19fcc5));return _0x1f6bf1[_0x3a2a47(0x2a3)](new Promise(_0x26dcd4=>{setTimeout(_0x26dcd4,0x14);})),Promise[_0x3a2a47(0x24c)](_0x1f6bf1)[_0x3a2a47(0x20b)](()=>{const _0x57de59=_0x3a2a47;if(!this[_0x57de59(0x1fa)])return;this[_0x57de59(0x21d)]();const _0x3fa48e=this[_0x57de59(0x20d)](_0xce5bd2,_0x46f499);for(const _0x51e0c4 of _0x3fa48e[_0x57de59(0x1cf)])this[_0x57de59(0x2b5)][_0x57de59(0x1c2)](_0x51e0c4['id'],_0x51e0c4);this[_0x57de59(0x1a9)][_0x57de59(0x2b9)][_0x57de59(0x2bc)]({'isUndoable':!0x1},_0x315d1b=>{const _0x30ac18=_0x57de59;for(const _0x3d8df5 of this[_0x30ac18(0x1a9)][_0x30ac18(0x2b9)][_0x30ac18(0x256)][_0x30ac18(0x206)]())_0x315d1b[_0x30ac18(0x23e)](_0x3d8df5);for(const _0x6c6ffc of Object[_0x30ac18(0x214)](_0x3fa48e[_0x30ac18(0x2b9)])){const _0x2a2913=_0x315d1b[_0x30ac18(0x1f7)](_0x6c6ffc);for(const _0x3ba58d of Object[_0x30ac18(0x214)](_0x3fa48e[_0x30ac18(0x28e)][_0x6c6ffc]))_0x315d1b[_0x30ac18(0x1ac)](_0x3ba58d,_0x3fa48e[_0x30ac18(0x28e)][_0x6c6ffc][_0x3ba58d],_0x2a2913);_0x315d1b[_0x30ac18(0x2c1)](_0x3fa48e[_0x30ac18(0x2b9)][_0x6c6ffc],_0x2a2913,0x0);}}),this[_0x57de59(0x1be)][_0x57de59(0x267)](this[_0x57de59(0x25c)](_0x3fa48e[_0x57de59(0x1cf)])),this[_0x57de59(0x2b4)]=!0x0;})[_0x3a2a47(0x1ea)](_0x40ab68=>{const _0x218ccc=_0x3a2a47;console[_0x218ccc(0x26c)](_0x40ab68),this[_0x218ccc(0x21d)](),_0x52b440&&(this[_0x218ccc(0x1be)]=_0x52b440),this[_0x218ccc(0x2b4)]=!0x0;});}[_0x40fdb4(0x1ef)](_0x97fc4d,_0x19b562){const _0x2e8d57=_0x40fdb4,_0xe5048e=this[_0x2e8d57(0x232)][_0x2e8d57(0x229)](_0x97fc4d);return _0xe5048e['on'](_0x2e8d57(0x1fb),(_0x240bd5,_0x430bca,_0x161702)=>_0x19b562(_0x430bca,_0x161702,_0xe5048e)),this[_0x2e8d57(0x232)][_0x2e8d57(0x222)](_0xe5048e),_0xe5048e;}[_0x40fdb4(0x2e6)](_0x33f7bf){const _0x55d18b=_0x40fdb4;if(!_0x33f7bf||_0x33f7bf[_0x55d18b(0x1aa)])return Promise[_0x55d18b(0x1a7)]();{const _0x460621=this[_0x55d18b(0x1a9)][_0x55d18b(0x295)][_0x55d18b(0x287)](_0x55d18b(0x274));return this[_0x55d18b(0x257)][_0x55d18b(0x1b8)]({'channelId':_0x460621,'revisionId':_0x33f7bf['id']})[_0x55d18b(0x20b)](_0x5ca8b7=>{const _0x44dc28=_0x55d18b;_0x33f7bf[_0x44dc28(0x1fb)]({'diffData':_0x5ca8b7[_0x44dc28(0x1aa)]},!0x0);});}}[_0x40fdb4(0x21d)](){const _0x5a85e8=_0x40fdb4;this[_0x5a85e8(0x19c)]=null,this[_0x5a85e8(0x1e6)](),this[_0x5a85e8(0x2c3)]&&this[_0x5a85e8(0x2c3)][_0x5a85e8(0x200)](),this[_0x5a85e8(0x2c3)]=null,this[_0x5a85e8(0x2b5)][_0x5a85e8(0x19b)](),this[_0x5a85e8(0x1a9)][_0x5a85e8(0x2b9)][_0x5a85e8(0x2bc)]({'isUndoable':!0x1},_0x29c418=>{const _0x371e0b=_0x5a85e8;for(const _0x2f0144 of this[_0x371e0b(0x1a9)][_0x371e0b(0x2b9)][_0x371e0b(0x256)][_0x371e0b(0x206)]())_0x29c418[_0x371e0b(0x23e)](_0x2f0144);});}[_0x40fdb4(0x25c)](_0x54b9b5){const _0x43437a=_0x40fdb4,_0x14b263=[],_0x2cfc14=new Map();for(const _0x4e00a5 of this[_0x43437a(0x1a9)][_0x43437a(0x2b9)][_0x43437a(0x256)][_0x43437a(0x206)]()){const _0x4a77bc=this[_0x43437a(0x1a9)][_0x43437a(0x239)][_0x43437a(0x253)][_0x43437a(0x1ec)](_0x4e00a5);if(!_0x4a77bc)continue;const _0x346f2a=_0x4a77bc[_0x43437a(0x260)]()[_0x43437a(0x1cc)](0x0);_0x346f2a&&(_0x14b263[_0x43437a(0x2a3)](_0x4e00a5),_0x2cfc14[_0x43437a(0x1c2)](_0x4e00a5,_0x346f2a));}return _0x14b263[_0x43437a(0x1cd)]((_0x1fae82,_0x2799ba)=>{const _0x5d5a04=_0x43437a,_0x35b2bd=_0x2cfc14[_0x5d5a04(0x287)](_0x1fae82),_0x507ff1=_0x2cfc14[_0x5d5a04(0x287)](_0x2799ba);return _0x35b2bd['y']-_0x507ff1['y']||_0x35b2bd['x']-_0x507ff1['x'];}),(_0x54b9b5=_0x54b9b5[_0x43437a(0x1e0)](_0x322a28=>_0x14b263[_0x43437a(0x228)](_0x322a28[_0x43437a(0x23c)])))[_0x43437a(0x1cd)]((_0x37af61,_0x4e440b)=>_0x14b263[_0x43437a(0x1d0)](_0x37af61[_0x43437a(0x23c)])-_0x14b263[_0x43437a(0x1d0)](_0x4e440b[_0x43437a(0x23c)])),_0x54b9b5;}[_0x40fdb4(0x2a7)](_0x8f1c4a){const _0x11d9cd=_0x40fdb4,_0x449a68=Array[_0x11d9cd(0x1c7)](_0x8f1c4a[_0x11d9cd(0x2ac)])[_0x11d9cd(0x1e0)](([_0x473a07,_0x35bfb9])=>_0x473a07[_0x11d9cd(0x2cb)](_0x11d9cd(0x247))&&!_0x35bfb9[_0x11d9cd(0x1a4)]),_0x2ee0d4=Array[_0x11d9cd(0x1c7)](this[_0x11d9cd(0x1a9)][_0x11d9cd(0x2b9)][_0x11d9cd(0x1b4)](_0x8f1c4a)[_0x11d9cd(0x254)]({'singleCharacters':!0x0}));if(0x0!=_0x449a68[_0x11d9cd(0x207)])for(const _0x56ca89 of _0x2ee0d4){const [_0x316c95,_0x264d70]=_0x449a68[0x0],[,_0x4a442c,_0x729fd8]=_0x316c95[_0x11d9cd(0x251)](':');if(_0x264d70[_0x11d9cd(0x1ce)][_0x11d9cd(0x280)](_0x56ca89[_0x11d9cd(0x212)])&&_0x449a68[_0x11d9cd(0x2ce)](),(_0x56ca89[_0x11d9cd(0x291)][_0x11d9cd(0x280)](_0x264d70[_0x11d9cd(0x2d1)])||_0x56ca89[_0x11d9cd(0x291)][_0x11d9cd(0x1b0)](_0x264d70[_0x11d9cd(0x2d1)]))&&(_0x11d9cd(0x227)==_0x4a442c?_0x56ca89[_0x11d9cd(0x255)]={'userId':_0x729fd8}:_0x11d9cd(0x1d1)==_0x4a442c&&(_0x56ca89[_0x11d9cd(0x269)]={'userId':_0x729fd8})),0x0==_0x449a68[_0x11d9cd(0x207)])break;}return _0x2ee0d4;}[_0x40fdb4(0x243)](_0x5a114f){const _0x70b88a=_0x40fdb4,_0x357d85=new Map();for(let _0x4311df=0x0;_0x4311df<_0x5a114f[_0x70b88a(0x207)];_0x4311df++)_0x70b88a(0x1b1)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]?(_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x4311df,_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x4311df):(_0x70b88a(0x2a9)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]?_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x4311df:_0x70b88a(0x1a5)===_0x5a114f[_0x4311df][_0x70b88a(0x1dc)]&&(_0x5a114f[_0x4311df][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x4311df),_0x357d85[_0x70b88a(0x1c2)](_0x5a114f[_0x4311df]['id'],_0x4311df));for(const _0x2c1750 of _0x357d85[_0x70b88a(0x29c)]())_0x70b88a(0x2a9)===_0x5a114f[_0x2c1750][_0x70b88a(0x1dc)]?_0x5a114f[_0x2c1750][_0x70b88a(0x1cc)][_0x70b88a(0x1db)]=_0x357d85[_0x70b88a(0x287)](_0x5a114f[_0x2c1750][_0x70b88a(0x28f)]):_0x70b88a(0x1a5)===_0x5a114f[_0x2c1750][_0x70b88a(0x1dc)]&&(_0x5a114f[_0x2c1750][_0x70b88a(0x1cc)][_0x70b88a(0x210)]=_0x357d85[_0x70b88a(0x287)](_0x5a114f[_0x2c1750][_0x70b88a(0x28f)]));}[_0x40fdb4(0x1d6)](_0x19873f){const _0x4e30d0=_0x40fdb4;for(let _0xd4ce43=0x0;_0xd4ce43<_0x19873f[_0x4e30d0(0x207)];_0xd4ce43++){if(_0x4e30d0(0x2a9)===_0x19873f[_0xd4ce43][_0x4e30d0(0x1dc)])_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)]=_0xd4ce43;else{if(_0x4e30d0(0x1a5)===_0x19873f[_0xd4ce43][_0x4e30d0(0x1dc)]){_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x1db)]=_0xd4ce43;const _0x152220=_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)];_0x19873f[_0x152220][_0x4e30d0(0x28f)]=_0x19873f[_0xd4ce43]['id'],_0x19873f[_0xd4ce43][_0x4e30d0(0x28f)]=_0x19873f[_0x152220]['id'];}else _0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x210)]=_0xd4ce43,_0x19873f[_0xd4ce43][_0x4e30d0(0x1cc)][_0x4e30d0(0x1db)]=_0xd4ce43,_0x19873f[_0xd4ce43][_0x4e30d0(0x28f)]=null;}_0x19873f[_0xd4ce43][_0x4e30d0(0x28b)]||(_0x19873f[_0xd4ce43][_0x4e30d0(0x28b)]=[],_0x19873f[_0xd4ce43][_0x4e30d0(0x1a3)]=[]);}}[_0x40fdb4(0x213)](_0x520d74,_0x5ed242){const _0x34bc9d=_0x40fdb4,_0x59b95b=_0x520d74[_0x34bc9d(0x1e0)](_0x37c1d6=>!_0x37c1d6[_0x34bc9d(0x255)]);for(let _0x385976=0x0;_0x385976<_0x5ed242[_0x34bc9d(0x207)];_0x385976++)_0x5ed242[_0x385976][_0x34bc9d(0x255)]&&(_0x59b95b[_0x385976][_0x34bc9d(0x255)]=_0x5ed242[_0x385976][_0x34bc9d(0x255)]);}[_0x40fdb4(0x1f5)](_0x94cc28){const _0x3b55b9=_0x40fdb4,_0x9d269f=JSON[_0x3b55b9(0x1e4)](_0x94cc28),_0x2df041=this[_0x3b55b9(0x1a9)][_0x3b55b9(0x239)][_0x3b55b9(0x253)][_0x3b55b9(0x256)],_0x7d7b94=new _0xed62c9(_0x2df041,_0x9d269f[_0x3b55b9(0x220)](_0x30a371=>this[_0x3b55b9(0x2bb)](_0x30a371)));return this[_0x3b55b9(0x1a9)][_0x3b55b9(0x1e7)][_0x3b55b9(0x275)](_0x7d7b94);}[_0x40fdb4(0x2bb)](_0x381592){const _0x515851=_0x40fdb4,_0x5233a2=this[_0x515851(0x1a9)][_0x515851(0x239)][_0x515851(0x253)][_0x515851(0x256)];if(_0x515851(0x245)==typeof _0x381592)return new _0x9d4d6a(_0x5233a2,_0x381592);{const _0x3b5bfd=_0x381592[_0x515851(0x265)][_0x515851(0x220)](_0x379ea7=>this[_0x515851(0x2bb)](_0x379ea7));return new(tt[_0x381592[(_0x515851(0x1dc))]]||_0x216ed5)(_0x5233a2,_0x381592[_0x515851(0x1bd)],_0x381592[_0x515851(0x28e)],_0x3b5bfd);}}[_0x40fdb4(0x20d)](_0x564a6f,_0x4531c7=null){const _0x41745b=_0x40fdb4,_0x53f75c=this[_0x41745b(0x232)][_0x41745b(0x1b8)](_0x564a6f),_0x37d877=_0x4531c7?this[_0x41745b(0x232)][_0x41745b(0x1b8)](_0x4531c7):null,_0x10f0e9=this[_0x41745b(0x2d6)](_0x53f75c,_0x37d877),_0x43fe0c=_0x10f0e9[_0x10f0e9[_0x41745b(0x207)]-0x1],_0x27e598=new Map(),_0x53ad5b={'model':{},'attributes':{},'changes':[]},_0x488164=new Set(),_0x40bb8e=new Map();for(let _0x1c21be=_0x10f0e9[_0x41745b(0x207)]-0x1;_0x1c21be>=0x0;_0x1c21be--){const _0x2306e3=_0x10f0e9[_0x1c21be];for(const _0x512bfa of Object[_0x41745b(0x214)](_0x2306e3[_0x41745b(0x1aa)]))if(_0x2306e3[_0x41745b(0x1aa)][_0x512bfa][_0x41745b(0x2d0)]){const _0x3d3d13=_0x2306e3[_0x41745b(0x1aa)][_0x512bfa][_0x41745b(0x2d0)];_0x3d3d13[_0x41745b(0x235)]?(_0x488164[_0x41745b(0x297)](_0x512bfa),_0x40bb8e[_0x41745b(0x1b9)](_0x512bfa)&&_0x40bb8e[_0x41745b(0x287)](_0x512bfa)[_0x41745b(0x1c6)]==_0x3d3d13[_0x41745b(0x1c6)]?_0x40bb8e[_0x41745b(0x27d)](_0x512bfa):_0x40bb8e[_0x41745b(0x1c2)](_0x512bfa,_0x3d3d13)):_0x40bb8e[_0x41745b(0x1b9)](_0x512bfa)?(_0x488164[_0x41745b(0x27d)](_0x512bfa),_0x40bb8e[_0x41745b(0x27d)](_0x512bfa)):(_0x488164[_0x41745b(0x297)](_0x512bfa),_0x40bb8e[_0x41745b(0x1c2)](_0x512bfa,_0x3d3d13));}else _0x488164[_0x41745b(0x297)](_0x512bfa);}for(const _0x4ca265 of _0x488164){const _0x2b8db0=_0x40bb8e[_0x41745b(0x1b9)](_0x4ca265)&&!_0x40bb8e[_0x41745b(0x287)](_0x4ca265)[_0x41745b(0x235)];let _0x2a45ae=_0x2b8db0?_0x10f0e9[_0x41745b(0x207)]-0x1:0x0;const _0x135d82=_0x2b8db0?-0x1:0x1;for(;_0x10f0e9[_0x2a45ae];){const _0x23b9cd=_0x10f0e9[_0x2a45ae];if(_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265]){const _0x54d51f=_0x2b8db0?_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265][_0x41745b(0x2a6)]:_0x23b9cd[_0x41745b(0x1aa)][_0x4ca265][_0x41745b(0x250)];_0x53ad5b[_0x41745b(0x28e)][_0x4ca265]=_0x54d51f?_0x409065(_0x54d51f):{};break;}_0x2a45ae+=_0x135d82;}}for(const _0x3e50ba of _0x10f0e9){_0x3e50ba[_0x41745b(0x2b9)]={};for(const _0x1cb3e1 of _0x3e50ba[_0x41745b(0x2b8)])_0x27e598[_0x41745b(0x1c2)](_0x1cb3e1['id'],_0x1cb3e1);for(const _0x53897f of _0x488164){const _0x34f301=_0x3e50ba[_0x41745b(0x1aa)][_0x53897f]?_0x3e50ba[_0x41745b(0x1aa)][_0x53897f][_0x41745b(0x2cf)]:'[]',_0x2efbb3=_0x3e50ba[_0x41745b(0x1aa)][_0x53897f]?_0x3e50ba[_0x41745b(0x1aa)][_0x53897f][_0x41745b(0x2ca)]:'[]';_0x3e50ba[_0x41745b(0x2b9)][_0x53897f]={'insertions':this[_0x41745b(0x1f5)](_0x34f301),'deletions':this[_0x41745b(0x1f5)](_0x2efbb3)};}}for(const _0x18783f of _0x488164){let _0x11eb6f=null,_0x4e8a09=0x0;const _0x28932a=new Map(Array[_0x41745b(0x1c7)](_0x53f75c[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2cf)][_0x41745b(0x2ac)])[_0x41745b(0x1e0)](([_0x2c7bc0])=>!_0x2c7bc0[_0x41745b(0x2cb)](_0x41745b(0x247))));let _0x441e00=0x0;for(const _0x39e0b0 of _0x10f0e9){const _0x569990=this[_0x41745b(0x2a7)](_0x39e0b0[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2cf)]);_0x39e0b0==_0x53f75c?(_0x11eb6f=_0x569990,_0x4e8a09=_0x11eb6f[_0x41745b(0x207)],_0x11eb6f[_0x41745b(0x1f4)](_0x5d0ad5=>{_0x5d0ad5['id']=_0x441e00++;}),this[_0x41745b(0x1d6)](_0x11eb6f)):this[_0x41745b(0x213)](_0x11eb6f,_0x569990);const _0x3192cd=_0x11eb6f[_0x41745b(0x1e0)](_0x14856a=>!_0x14856a[_0x41745b(0x255)])[_0x41745b(0x220)](_0xfe2728=>_0xfe2728['id']);let _0x498a40=0x0;const _0x1a898c=this[_0x41745b(0x2a7)](_0x39e0b0[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2ca)]);_0x1a898c[_0x41745b(0x1f4)](_0x399239=>{const _0xd17e1c=_0x41745b;_0x399239[_0xd17e1c(0x269)]?_0x399239['id']=_0x4e8a09++:_0x399239['id']=_0x3192cd[_0x498a40++];}),this[_0x41745b(0x1d6)](_0x1a898c),this[_0x41745b(0x24f)](_0x11eb6f,_0x41745b(0x255)),this[_0x41745b(0x24f)](_0x1a898c,_0x41745b(0x269)),_0x39e0b0==_0x53f75c&&this[_0x41745b(0x1d7)](_0x11eb6f,_0x28932a),_0x11eb6f=this[_0x41745b(0x2c4)](_0x11eb6f,_0x1a898c),this[_0x41745b(0x243)](_0x11eb6f),this[_0x41745b(0x24f)](_0x11eb6f,_0x41745b(0x269));}_0x11eb6f=_0x11eb6f[_0x41745b(0x1e0)](_0x265e3c=>!(_0x265e3c[_0x41745b(0x255)]&&_0x265e3c[_0x41745b(0x269)]));const _0x113722=new Map(_0x43fe0c[_0x41745b(0x2b9)][_0x18783f][_0x41745b(0x2ca)][_0x41745b(0x2ac)]),_0x204f3f=new Set(_0x28932a[_0x41745b(0x214)]());for(const _0x3f4ba3 of _0x113722[_0x41745b(0x214)]())_0x204f3f[_0x41745b(0x27d)](_0x3f4ba3);this[_0x41745b(0x21e)](_0x11eb6f,_0x204f3f),this[_0x41745b(0x26f)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x1f0)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x293)](_0x11eb6f),_0x11eb6f=this[_0x41745b(0x2d5)](_0x11eb6f);const {root:_0x395462,changes:_0x496ba8}=this[_0x41745b(0x1cb)](_0x11eb6f,_0x27e598,_0x18783f);_0x53ad5b[_0x41745b(0x2b9)][_0x18783f]=_0x395462;const _0x4e9fd7=_0x40bb8e[_0x41745b(0x287)](_0x18783f);if(_0x4e9fd7){const _0x54277b=_0x27e598[_0x41745b(0x287)](_0x4e9fd7[_0x41745b(0x1c6)]),_0xf24b9e=new _0x2cabae({'author':_0x54277b,'type':_0x4e9fd7[_0x41745b(0x235)]?_0x41745b(0x297):_0x41745b(0x1d9),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x18783f});_0x496ba8[_0x41745b(0x27f)](_0xf24b9e),_0x53ad5b[_0x41745b(0x28e)][_0x18783f][_0x41745b(0x1de)]=_0xf24b9e['id'];}_0x53ad5b[_0x41745b(0x1cf)]=_0x53ad5b[_0x41745b(0x1cf)][_0x41745b(0x2a5)](_0x496ba8);}return _0x53ad5b;}[_0x40fdb4(0x1d7)](_0x4ede99,_0x40026e){const _0x2dbb14=_0x40fdb4;for(let _0x4cd326=0x0;_0x4cd326<_0x4ede99[_0x2dbb14(0x207)];_0x4cd326++)for(const [_0x494a02,_0xf539e5]of _0x40026e)_0xf539e5[_0x2dbb14(0x2d1)][_0x2dbb14(0x280)](_0x4ede99[_0x4cd326][_0x2dbb14(0x291)])&&_0x4ede99[_0x4cd326][_0x2dbb14(0x28b)][_0x2dbb14(0x2a3)](_0x494a02),_0xf539e5[_0x2dbb14(0x1ce)][_0x2dbb14(0x280)](_0x4ede99[_0x4cd326][_0x2dbb14(0x212)])&&_0x4ede99[_0x4cd326][_0x2dbb14(0x1a3)][_0x2dbb14(0x2a3)](_0x494a02);}[_0x40fdb4(0x2c4)](_0x466b57,_0x1771fd){const _0x3866a=_0x40fdb4;let _0x171f60=[],_0x363ed8=0x0,_0x238742=0x0;for(;_0x363ed8<_0x466b57[_0x3866a(0x207)]||_0x238742<_0x1771fd[_0x3866a(0x207)];){const _0x4c2458=_0x466b57[_0x363ed8]||{},_0x242e6b=_0x1771fd[_0x238742]||{};if(_0x4c2458['id']==_0x242e6b['id'])_0x363ed8++,_0x238742++,_0x171f60[_0x3866a(0x2a3)](_0x4c2458);else{if(_0x242e6b[_0x3866a(0x269)]&&_0x4c2458[_0x3866a(0x255)]){const {commonTape:_0x563230,iEnd:_0x1c6e2c,jEnd:_0x2c3fd9}=this[_0x3866a(0x290)](_0x466b57,_0x363ed8,_0x1771fd,_0x238742);_0x171f60=_0x171f60[_0x3866a(0x2a5)](_0x563230),_0x363ed8=_0x1c6e2c,_0x238742=_0x2c3fd9;}else _0x242e6b[_0x3866a(0x269)]?(_0x238742++,_0x171f60[_0x3866a(0x2a3)](_0x242e6b)):(_0x363ed8++,_0x171f60[_0x3866a(0x2a3)](_0x4c2458));}}return _0x171f60;}[_0x40fdb4(0x21e)](_0xc4913b,_0x42e720){const _0x4904e2=_0x40fdb4,_0x2cc53a=[];for(let _0x38aaf8=0x0;_0x38aaf8<_0xc4913b[_0x4904e2(0x207)];_0x38aaf8++){for(let _0x39cb66=0x0;_0x39cb66<_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x4904e2(0x207)];_0x39cb66++){const _0x78f644=_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x39cb66];if(!_0x42e720[_0x4904e2(0x1b9)](_0x78f644))continue;const {group:_0x2ca82b,type:_0x5e887b,authorId:_0x33c7ae}=_0xe0d453(_0x78f644);_0x4904e2(0x2b0)!=_0x2ca82b||_0x4904e2(0x227)!=_0x5e887b&&_0x4904e2(0x1d1)!=_0x5e887b||(_0x2cc53a[_0x4904e2(0x27f)]({'type':_0x5e887b,'name':_0x78f644,'userId':_0x33c7ae}),_0xc4913b[_0x38aaf8][_0x4904e2(0x28b)][_0x4904e2(0x22d)](_0x39cb66,0x1),_0x39cb66--);}_0x1b90ed(_0xc4913b[_0x38aaf8]);for(let _0x53331e=0x0;_0x53331e<_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x4904e2(0x207)];_0x53331e++){const _0x419485=_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x53331e];if(!_0x42e720[_0x4904e2(0x1b9)](_0x419485))continue;const {group:_0x57d053,type:_0x3cc1de}=_0xe0d453(_0x419485);if(_0x4904e2(0x2b0)!=_0x57d053||_0x4904e2(0x227)!=_0x3cc1de&&_0x4904e2(0x1d1)!=_0x3cc1de)continue;_0xc4913b[_0x38aaf8][_0x4904e2(0x1a3)][_0x4904e2(0x22d)](_0x53331e,0x1),_0x53331e--;const _0x2a595d=_0x2cc53a[_0x4904e2(0x241)](_0x5755db=>_0x5755db[_0x4904e2(0x1bd)]==_0x419485);_0x2a595d>-0x1&&_0x2cc53a[_0x4904e2(0x22d)](_0x2a595d,0x1);}}function _0xe0d453(_0x1a0066){const _0x17b16d=_0x4904e2,_0x29f5ce=_0x1a0066[_0x17b16d(0x251)](':');return{'group':_0x29f5ce[0x0],'type':_0x29f5ce[0x1],'subType':_0x29f5ce[_0x17b16d(0x207)]>=0x5?_0x29f5ce[0x2]:null,'id':_0x29f5ce[_0x17b16d(0x207)]<0x5?_0x29f5ce[0x2]:_0x29f5ce[0x3],'authorId':_0x29f5ce[_0x17b16d(0x207)]<0x5?_0x29f5ce[0x3]:_0x29f5ce[0x4],'markerCount':0x6==_0x29f5ce[_0x17b16d(0x207)]?_0x29f5ce[0x5]:null};}function _0x1b90ed(_0x543db0){const _0x2ab0e5=_0x4904e2;for(let _0x791ac9=0x0;_0x791ac9<_0x2cc53a[_0x2ab0e5(0x207)];_0x791ac9++){if(_0x543db0[_0x2ab0e5(0x255)]&&_0x2ab0e5(0x227)==_0x2cc53a[_0x791ac9][_0x2ab0e5(0x1dc)])return _0x543db0[_0x2ab0e5(0x2b6)]=_0x2cc53a[_0x791ac9],void delete _0x543db0[_0x2ab0e5(0x255)];if(!_0x543db0[_0x2ab0e5(0x255)]&&!_0x543db0[_0x2ab0e5(0x269)]&&_0x2ab0e5(0x1d1)==_0x2cc53a[_0x791ac9][_0x2ab0e5(0x1dc)])return void(_0x543db0[_0x2ab0e5(0x25e)]=_0x2cc53a[_0x791ac9]);}}}[_0x40fdb4(0x24f)](_0x88505a,_0x296fb0){const _0x1db121=_0x40fdb4;let _0x26164a=0x0,_0x45b95f=!0x1;const _0x32a3b5=new Map();for(const _0x493c97 of _0x88505a)_0x493c97[_0x296fb0]?_0x45b95f&&(_0x26164a++,_0x45b95f=!0x1):(_0x26164a++,_0x45b95f=!0x0),_0x32a3b5[_0x1db121(0x1c2)](_0x493c97['id'],_0x26164a);for(let _0x4d53b0=0x0;_0x4d53b0<_0x88505a[_0x1db121(0x207)];_0x4d53b0++){if(_0x1db121(0x269)==_0x296fb0&&_0x88505a[_0x4d53b0][_0x1db121(0x255)]||_0x1db121(0x255)==_0x296fb0&&_0x88505a[_0x4d53b0][_0x1db121(0x269)])continue;if(_0x1db121(0x1b1)==_0x88505a[_0x4d53b0][_0x1db121(0x1dc)]){_0x88505a[_0x4d53b0][_0x1db121(0x20f)]=0x0;continue;}const _0xb0f35e=_0x32a3b5[_0x1db121(0x287)](_0x88505a[_0x4d53b0][_0x1db121(0x28f)]),_0x165468=_0x32a3b5[_0x1db121(0x287)](_0x88505a[_0x4d53b0]['id']);_0x88505a[_0x4d53b0][_0x1db121(0x20f)]=_0xb0f35e-_0x165468;}}[_0x40fdb4(0x2d6)](_0x3c9f6b,_0x461460,_0x19112a=!0x1){const _0x4ee228=_0x40fdb4,_0x5f4d9e=[];let _0x2e4169=this[_0x4ee228(0x232)][_0x4ee228(0x1a1)](_0x3c9f6b),_0x5ca2a8=this[_0x4ee228(0x232)][_0x4ee228(0x1a1)](_0x461460);for(-0x1==_0x5ca2a8&&(_0x5ca2a8=this[_0x4ee228(0x232)][_0x4ee228(0x225)][_0x4ee228(0x207)],_0x19112a=!0x1);_0x2e4169<_0x5ca2a8;)_0x5f4d9e[_0x4ee228(0x2a3)](this[_0x4ee228(0x232)][_0x4ee228(0x1b8)](_0x2e4169)),_0x2e4169++;return _0x19112a&&_0x5f4d9e[_0x4ee228(0x2a3)](this[_0x4ee228(0x232)][_0x4ee228(0x1b8)](_0x2e4169)),_0x5f4d9e;}[_0x40fdb4(0x290)](_0x3d7a54,_0x5beb9b,_0x3aa1cb,_0x301448){const _0x7f203a=_0x40fdb4,_0x324e1b=this[_0x7f203a(0x1a9)][_0x7f203a(0x2b9)][_0x7f203a(0x2a2)];let _0x3130dc=_0x5beb9b;for(;_0x3d7a54[_0x3130dc]&&_0x3d7a54[_0x3130dc][_0x7f203a(0x255)];)_0x3130dc++;let _0x304708=_0x301448;for(;_0x3aa1cb[_0x304708]&&_0x3aa1cb[_0x304708][_0x7f203a(0x269)];)_0x304708++;_0x4ab2e3(_0x3d7a54,_0x5beb9b,_0x3130dc),_0x4ab2e3(_0x3aa1cb,_0x301448,_0x304708);const _0x3afbe4=_0x3aa1cb[_0x7f203a(0x1b6)](_0x301448,_0x304708)[_0x7f203a(0x2a5)](_0x3d7a54[_0x7f203a(0x1b6)](_0x5beb9b,_0x3130dc));return _0x3afbe4[_0x7f203a(0x1cd)]((_0x4e9bbe,_0x96b188)=>_0x4e9bbe[_0x7f203a(0x273)]!=_0x96b188[_0x7f203a(0x273)]?_0x4e9bbe[_0x7f203a(0x273)]-_0x96b188[_0x7f203a(0x273)]:_0x4e9bbe[_0x7f203a(0x203)]!=_0x96b188[_0x7f203a(0x203)]?_0x4e9bbe[_0x7f203a(0x203)]-_0x96b188[_0x7f203a(0x203)]:_0x4e9bbe[_0x7f203a(0x20f)]!=_0x96b188[_0x7f203a(0x20f)]?_0x96b188[_0x7f203a(0x20f)]-_0x4e9bbe[_0x7f203a(0x20f)]:!!_0x4e9bbe[_0x7f203a(0x255)]!=!!_0x96b188[_0x7f203a(0x255)]?-0x1==_0x4e9bbe[_0x7f203a(0x273)]||0x0==_0x4e9bbe[_0x7f203a(0x273)]?_0x4e9bbe[_0x7f203a(0x255)]?-0x1:0x1:_0x4e9bbe[_0x7f203a(0x255)]?0x1:-0x1:_0x4e9bbe[_0x7f203a(0x27c)]-_0x96b188[_0x7f203a(0x27c)]),{'commonTape':_0x3afbe4,'iEnd':_0x3130dc,'jEnd':_0x304708};function _0x4ab2e3(_0x31ef55,_0x1f746b,_0x2f1073){const _0x29975f=_0x7f203a;let _0x5f5771=-0x1,_0x56dce3=Number[_0x29975f(0x2df)],_0x2aeebf=!0x0;for(let _0x49374d=_0x1f746b;_0x49374d<_0x2f1073;_0x49374d++)if(_0x324e1b[_0x29975f(0x268)](_0x31ef55[_0x49374d][_0x29975f(0x1cc)])||(_0x2aeebf=!0x1),_0x31ef55[_0x49374d][_0x29975f(0x1cc)][_0x29975f(0x210)]<_0x1f746b&&(_0x5f5771=_0x49374d),_0x31ef55[_0x49374d][_0x29975f(0x1cc)][_0x29975f(0x1db)]>=_0x2f1073){_0x56dce3=_0x49374d;break;}_0x2aeebf&&(_0x5f5771=_0x2f1073-0x1);for(let _0x3815c5=_0x1f746b;_0x3815c5<_0x2f1073;_0x3815c5++)_0x31ef55[_0x3815c5][_0x29975f(0x273)]=_0x3815c5<=_0x5f5771?-0x1:_0x3815c5<_0x56dce3?0x0:0x1,_0x31ef55[_0x3815c5][_0x29975f(0x27c)]=_0x3815c5;let _0x225ada=0x0;for(let _0x24de53=_0x1f746b;_0x24de53<=_0x5f5771;_0x24de53++)0x0==_0x31ef55[_0x24de53][_0x29975f(0x20f)]?_0x31ef55[_0x24de53][_0x29975f(0x203)]=_0x225ada:(_0x225ada++,_0x31ef55[_0x24de53][_0x29975f(0x203)]=_0x225ada,_0x225ada++);for(let _0x32d7df=_0x1f746b;_0x32d7df<_0x2f1073;_0x32d7df++)0x0==_0x31ef55[_0x32d7df][_0x29975f(0x273)]&&(_0x31ef55[_0x32d7df][_0x29975f(0x203)]=_0x225ada);_0x225ada=0x0;for(let _0x3be0f9=_0x2f1073-0x1;_0x3be0f9>=_0x56dce3;_0x3be0f9--)0x0==_0x31ef55[_0x3be0f9][_0x29975f(0x20f)]?_0x31ef55[_0x3be0f9][_0x29975f(0x203)]=_0x225ada:(_0x225ada--,_0x31ef55[_0x3be0f9][_0x29975f(0x203)]=_0x225ada,_0x225ada--);}}[_0x40fdb4(0x26f)](_0x3ccc9e){const _0x32363b=_0x40fdb4,_0x5ee0e7=new Map(),_0x3b367a=this[_0x32363b(0x1a9)][_0x32363b(0x2b9)][_0x32363b(0x2a2)];for(let _0x10e9b8=0x1;_0x10e9b8<_0x3ccc9e[_0x32363b(0x207)];_0x10e9b8++){let _0xa6ada0,_0x15785d,_0x27e613;const _0x5ae2f3=_0x3ccc9e[_0x10e9b8],_0x33fe78=_0x3ccc9e[_0x10e9b8-0x1];if(_0x32363b(0x1b1)==_0x5ae2f3[_0x32363b(0x1dc)])continue;if(_0x5ae2f3[_0x32363b(0x1dc)]!=_0x33fe78[_0x32363b(0x1dc)])continue;if(!_0x3b367a[_0x32363b(0x22e)](_0x33fe78[_0x32363b(0x1cc)])||_0x3b367a[_0x32363b(0x1f6)](_0x33fe78[_0x32363b(0x1cc)]))continue;if(!_0x3b367a[_0x32363b(0x22e)](_0x5ae2f3[_0x32363b(0x1cc)])||_0x3b367a[_0x32363b(0x1f6)](_0x5ae2f3[_0x32363b(0x1cc)]))continue;if((_0x3ccc9e[_0x10e9b8][_0x32363b(0x255)]||_0x3ccc9e[_0x10e9b8][_0x32363b(0x2b6)])&&_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x269)])_0xa6ada0=_0x3ccc9e[_0x10e9b8],_0x15785d=_0x3ccc9e[_0x10e9b8-0x1],_0x27e613=_0x10e9b8-0x1;else{if(!_0x3ccc9e[_0x10e9b8][_0x32363b(0x269)]||!_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x255)]&&!_0x3ccc9e[_0x10e9b8-0x1][_0x32363b(0x2b6)])continue;_0xa6ada0=_0x3ccc9e[_0x10e9b8-0x1],_0x15785d=_0x3ccc9e[_0x10e9b8],_0x27e613=_0x10e9b8;}const _0x2761fb=_0xa6ada0[_0x32363b(0x203)]==_0x15785d[_0x32363b(0x203)],_0x32ed81=Math[_0x32363b(0x2d9)](_0xa6ada0[_0x32363b(0x203)])<Math[_0x32363b(0x2d9)](_0x15785d[_0x32363b(0x203)])&&0x0==_0x15785d[_0x32363b(0x20f)];(_0x2761fb||_0x32ed81)&&(_0x5ee0e7[_0x32363b(0x1c2)](_0x15785d['id'],_0xa6ada0['id']),_0x3ccc9e[_0x32363b(0x22d)](_0x27e613,0x1),_0x10e9b8--,_0xa6ada0[_0x32363b(0x255)]=!0x1);}for(let _0xa8e58f=0x0;_0xa8e58f<_0x3ccc9e[_0x32363b(0x207)];_0xa8e58f++)_0x5ee0e7[_0x32363b(0x1b9)](_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)])&&(_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)]=_0x5ee0e7[_0x32363b(0x287)](_0x3ccc9e[_0xa8e58f][_0x32363b(0x28f)]));}[_0x40fdb4(0x1f0)](_0x182e9c){const _0x3ef9fc=_0x40fdb4,_0x92e9b1=new Set(_0x182e9c[_0x3ef9fc(0x220)](_0xfc3acb=>_0xfc3acb['id']));for(let _0x3ac50c=0x0;_0x3ac50c<_0x182e9c[_0x3ef9fc(0x207)];_0x3ac50c++)_0x92e9b1[_0x3ef9fc(0x1b9)](_0x182e9c[_0x3ac50c][_0x3ef9fc(0x28f)])||0x0==_0x182e9c[_0x3ac50c][_0x3ef9fc(0x20f)]||(_0x182e9c[_0x3ac50c][_0x3ef9fc(0x1ca)]=!0x0);return _0x182e9c[_0x3ef9fc(0x1e0)](_0x32fba3=>!_0x32fba3[_0x3ef9fc(0x1ca)]);}[_0x40fdb4(0x293)](_0x5df8c5){const _0x1d80b3=_0x40fdb4,_0x44d90c=new Set();for(let _0x37c4d7=0x0;_0x37c4d7<_0x5df8c5[_0x1d80b3(0x207)];_0x37c4d7++){if(_0x44d90c[_0x1d80b3(0x1b9)](_0x5df8c5[_0x37c4d7]['id'])&&_0x5df8c5[_0x37c4d7][_0x1d80b3(0x269)]&&(_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)]=!0x0),_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)])continue;if(0x0==_0x5df8c5[_0x37c4d7][_0x1d80b3(0x20f)])continue;if(_0x1d80b3(0x2a9)!=_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1dc)])continue;if(null==_0x5df8c5[_0x37c4d7][_0x1d80b3(0x28f)])continue;let _0x59260a=_0x37c4d7+0x1,_0xbe60fa=0x0;for(;_0x5df8c5[_0x59260a]['id']!=_0x5df8c5[_0x37c4d7][_0x1d80b3(0x28f)];)_0x1d80b3(0x2a9)==_0x5df8c5[_0x59260a][_0x1d80b3(0x1dc)]?_0xbe60fa++:_0x1d80b3(0x1a5)==_0x5df8c5[_0x59260a][_0x1d80b3(0x1dc)]&&_0xbe60fa--,_0x59260a++;if(0x0!=_0xbe60fa){if(_0x5df8c5[_0x37c4d7][_0x1d80b3(0x269)])_0x5df8c5[_0x37c4d7][_0x1d80b3(0x1ca)]=!0x0;else{for(;_0x59260a!=_0x37c4d7;)_0x5df8c5[_0x59260a][_0x1d80b3(0x269)]&&0x0!=_0x5df8c5[_0x59260a][_0x1d80b3(0x20f)]&&(_0x5df8c5[_0x59260a][_0x1d80b3(0x1ca)]=!0x0,_0x44d90c[_0x1d80b3(0x297)](_0x5df8c5[_0x59260a][_0x1d80b3(0x28f)])),_0x59260a--;}}}return _0x5df8c5[_0x1d80b3(0x1e0)](_0x1200d8=>!_0x1200d8[_0x1d80b3(0x1ca)]);}[_0x40fdb4(0x2d5)](_0x7999dc){const _0x425e71=_0x40fdb4,_0x2d1f25=this[_0x425e71(0x1a9)][_0x425e71(0x2b9)][_0x425e71(0x2a2)];for(let _0x15039d=0x0;_0x15039d<_0x7999dc[_0x425e71(0x207)];_0x15039d++){if(!(_0x7999dc[_0x15039d][_0x425e71(0x255)]||_0x7999dc[_0x15039d][_0x425e71(0x2b6)]||_0x7999dc[_0x15039d][_0x425e71(0x269)]||_0x7999dc[_0x15039d][_0x425e71(0x25e)]))continue;if(0x0==_0x7999dc[_0x15039d][_0x425e71(0x20f)])continue;const _0x387c5d=_0x7999dc[_0x15039d][_0x425e71(0x1cc)];_0x2d1f25[_0x425e71(0x22e)](_0x387c5d)||_0x2d1f25[_0x425e71(0x1f6)](_0x387c5d)||(_0x7999dc[_0x15039d][_0x425e71(0x255)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x255)],_0x7999dc[_0x15039d][_0x425e71(0x2b6)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x2b6)],_0x7999dc[_0x15039d][_0x425e71(0x25e)]&&delete _0x7999dc[_0x15039d][_0x425e71(0x25e)],_0x7999dc[_0x15039d][_0x425e71(0x269)]&&(_0x7999dc[_0x15039d][_0x425e71(0x1ca)]=!0x0));}return _0x7999dc[_0x425e71(0x1e0)](_0x43a4ea=>!_0x43a4ea[_0x425e71(0x1ca)]);}[_0x40fdb4(0x1cb)](_0x3701d4,_0xec8856,_0x1554c2){const _0x3355e6=_0x40fdb4,_0x5f5cf9=new _0x30cd1f(),_0x401ba9=[],_0x16000d=new Map(),_0x286059=this[_0x3355e6(0x1a9)][_0x3355e6(0x2b9)],_0x44eed2=_0x286059[_0x3355e6(0x2a2)],_0x2b0117=[_0x5f5cf9],_0x2c3a4e={},_0x42c5ed={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3a92d9=null;const _0x221864=[0x0];for(let _0x916119=0x0;_0x916119<_0x3701d4[_0x3355e6(0x207)];_0x916119++){let _0x3fd2ea,_0x375a16;if(_0x3355e6(0x2a9)===_0x3701d4[_0x916119][_0x3355e6(0x1dc)]){_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864);const _0x47eb37=new _0x50648b(_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1bd)],_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2be)]());_0x2b0117[0x0][_0x3355e6(0x299)](_0x47eb37),_0x221864[_0x3355e6(0x2a3)](0x0),_0x2b0117[_0x3355e6(0x27f)](_0x47eb37),_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9=null;}else{if(_0x3355e6(0x1a5)===_0x3701d4[_0x916119][_0x3355e6(0x1dc)])_0x2b0117[_0x3355e6(0x2ce)](),_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x221864[_0x3355e6(0x21f)](),_0x221864[_0x221864[_0x3355e6(0x207)]-0x1]++,_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9=null;else{if(_0x3fd2ea=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864),_0x3a92d9&&_0x4bec55(_0x3a92d9,_0x3701d4[_0x916119][_0x3355e6(0x1cc)]))_0x3a92d9[_0x3355e6(0x1ba)]+=_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1e7)];else{const _0x391280=new _0x39c94f(_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x1e7)],_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2be)]());_0x2b0117[0x0][_0x3355e6(0x299)](_0x391280),_0x3a92d9=_0x391280;}_0x221864[_0x221864[_0x3355e6(0x207)]-0x1]+=_0x3701d4[_0x916119][_0x3355e6(0x1cc)][_0x3355e6(0x2c9)],_0x375a16=_0x286059[_0x3355e6(0x1ab)](_0x5f5cf9,_0x221864);}}for(const _0x4cb7d2 of _0x3701d4[_0x916119][_0x3355e6(0x28b)])_0x16000d[_0x3355e6(0x1c2)](_0x4cb7d2,{'start':_0x3fd2ea,'end':null});_0x45a8b6(_0x3355e6(0x25e),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x2b6),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x269),_0x916119,_0x3fd2ea,_0x375a16),_0x45a8b6(_0x3355e6(0x255),_0x916119,_0x3fd2ea,_0x375a16);for(const _0x16da5f of _0x3701d4[_0x916119][_0x3355e6(0x1a3)]){_0x16000d[_0x3355e6(0x287)](_0x16da5f)[_0x3355e6(0x1ce)]=_0x375a16;}}for(const [_0xb9f3cf,_0x4d1c2c]of _0x16000d){const _0x473413=this[_0x3355e6(0x1a9)][_0x3355e6(0x2b9)][_0x3355e6(0x1d2)](_0x4d1c2c[_0x3355e6(0x2d1)],_0x4d1c2c[_0x3355e6(0x1ce)]);_0x5f5cf9[_0x3355e6(0x2ac)][_0x3355e6(0x1c2)](_0xb9f3cf,_0x473413);}return _0x401ba9[_0x3355e6(0x1cd)]((_0x2c7365,_0x23d317)=>{const _0x52d020=_0x3355e6,_0x2ad1ce=_0x5f5cf9[_0x52d020(0x2ac)][_0x52d020(0x287)](_0x52d020(0x247)+_0x2c7365['id']),_0x164f99=_0x5f5cf9[_0x52d020(0x2ac)][_0x52d020(0x287)](_0x52d020(0x247)+_0x23d317['id']);return _0x2ad1ce[_0x52d020(0x2d1)][_0x52d020(0x204)](_0x164f99[_0x52d020(0x2d1)])?-0x1:_0x2ad1ce[_0x52d020(0x2d1)][_0x52d020(0x1b0)](_0x164f99[_0x52d020(0x2d1)])?0x1:_0x2ad1ce[_0x52d020(0x1ce)][_0x52d020(0x204)](_0x164f99[_0x52d020(0x1ce)])?-0x1:_0x2ad1ce[_0x52d020(0x1ce)][_0x52d020(0x1b0)](_0x164f99[_0x52d020(0x1ce)])?0x1:_0x52d020(0x297)===_0x2c7365[_0x52d020(0x1dc)]?-0x1:0x1;}),{'root':_0x5f5cf9,'changes':_0x401ba9};function _0x45a8b6(_0x3735ae,_0x16848c,_0x1301f9,_0x1dbc04){const _0x507845=_0x3355e6,_0x458a4c=!!_0x3701d4[_0x16848c][_0x3735ae],_0x33235e=_0x458a4c?_0x3701d4[_0x16848c][_0x3735ae][_0x507845(0x1c6)]:null,_0x66f192=_0x16848c===_0x3701d4[_0x507845(0x207)]-0x1,_0x4d2e97=_0x42c5ed[_0x3735ae][0x0],_0x2543ee=_0x44eed2[_0x507845(0x2dc)](_0x3701d4[_0x16848c][_0x507845(0x1cc)]);!_0x2c3a4e[_0x3735ae]&&_0x458a4c?_0x2c3a4e[_0x3735ae]={'start':_0x1301f9,'tapeItem':_0x3701d4[_0x16848c],'userId':_0x33235e,'type':_0x3735ae}:_0x2c3a4e[_0x3735ae]&&!_0x458a4c?(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1301f9,_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]=null):_0x2c3a4e[_0x3735ae]&&_0x458a4c&&_0x2c3a4e[_0x3735ae][_0x507845(0x1c6)]!==_0x33235e&&(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1301f9,_0x4d2e97&&_0x4d2e97[_0x507845(0x1c6)]===_0x2c3a4e[_0x3735ae][_0x507845(0x1c6)]||_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]={'start':_0x1301f9,'tapeItem':_0x3701d4[_0x16848c],'userId':_0x33235e,'type':_0x3735ae}),_0x2c3a4e[_0x3735ae]&&_0x2543ee&&(_0x507845(0x2a9)!==_0x3701d4[_0x16848c][_0x507845(0x1dc)]||_0x4d2e97&&_0x4d2e97[_0x507845(0x1c6)]===_0x33235e||_0x42c5ed[_0x3735ae][_0x507845(0x27f)]({'userId':_0x33235e,'object':_0x3701d4[_0x16848c][_0x507845(0x1cc)],'change':_0x2c3a4e[_0x3735ae]}),_0x507845(0x1a5)===_0x3701d4[_0x16848c][_0x507845(0x1dc)]&&_0x4d2e97&&_0x4d2e97[_0x507845(0x233)]===_0x3701d4[_0x16848c][_0x507845(0x1cc)]&&(_0x42c5ed[_0x3735ae][_0x507845(0x2ce)](),_0x2c3a4e[_0x3735ae]=_0x4d2e97[_0x507845(0x283)])),_0x2c3a4e[_0x3735ae]&&_0x66f192&&(_0x2c3a4e[_0x3735ae][_0x507845(0x1ce)]=_0x1dbc04,_0x479b26(_0x2c3a4e[_0x3735ae]),_0x2c3a4e[_0x3735ae]=null);}function _0x479b26({start:_0x743883,end:_0x48bf19,tapeItem:_0x443afb,userId:_0x2dcd9f,type:_0x5cdb7d}){const _0x3a1771=_0x3355e6,_0x250e10=_0x443afb[_0x3a1771(0x1cc)],_0x2ec6ab=_0x286059[_0x3a1771(0x2a2)][_0x3a1771(0x22e)](_0x250e10)&&!_0x286059[_0x3a1771(0x2a2)][_0x3a1771(0x1f6)](_0x250e10),_0xe9dcae=_0x743883[_0x3a1771(0x1e2)]==_0x48bf19[_0x3a1771(0x237)]&&_0x48bf19[_0x3a1771(0x261)];if(_0x2ec6ab&&_0xe9dcae)return;const _0xbd1346=_0x286059[_0x3a1771(0x1d2)](_0x743883,_0x48bf19),_0x38bde4=_0xec8856[_0x3a1771(0x287)](_0x2dcd9f),_0x55f841=new _0x2cabae({'author':_0x38bde4,'type':_0x3a1771(0x255)==_0x5cdb7d||_0x3a1771(0x2b6)==_0x5cdb7d?_0x3a1771(0x297):_0x3a1771(0x1d9),'data':{'isSuggestion':_0x3a1771(0x2b6)==_0x5cdb7d||_0x3a1771(0x25e)==_0x5cdb7d},'createdAt':new Date(),'rootName':_0x1554c2});_0x401ba9[_0x3a1771(0x2a3)](_0x55f841),_0x5f5cf9[_0x3a1771(0x2ac)][_0x3a1771(0x1c2)](_0x3a1771(0x247)+_0x55f841['id'],_0xbd1346);}function _0x4bec55(_0x564669,_0x47ef40){const _0x577600=_0x3355e6,_0x17689b=_0x564669[_0x577600(0x2be)](),_0x28aacc=_0x47ef40[_0x577600(0x2be)]();for(const _0x427621 of _0x17689b){if(_0x427621[0x1]!==_0x47ef40[_0x577600(0x2db)](_0x427621[0x0]))return!0x1;_0x28aacc[_0x577600(0x1ed)]();}return _0x28aacc[_0x577600(0x1ed)]()[_0x577600(0x1ad)];}}[_0x40fdb4(0x2a1)](){const _0x342440=_0x40fdb4;this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x1fe)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x281))[_0x342440(0x277)]({'model':_0x342440(0x1fe),'view':_0x41b62b=>{const _0x5c3a56=_0x342440,_0x132d8e=_0x41b62b[_0x5c3a56(0x19f)][_0x5c3a56(0x251)](':')[0x1],_0x552096=this[_0x5c3a56(0x270)](_0x132d8e);if(!_0x552096)return null;const _0x414a6d=_0x5c3a56(0x297)==_0x552096[_0x5c3a56(0x1dc)]?_0x5c3a56(0x227):_0x5c3a56(0x1d1),_0x203c5e=[_0x5c3a56(0x2d3),_0x5c3a56(0x1e1)+_0x414a6d];return _0x552096[_0x5c3a56(0x1e7)][_0x5c3a56(0x2a4)]&&_0x203c5e[_0x5c3a56(0x2a3)](_0x5c3a56(0x1e1)+_0x414a6d+_0x5c3a56(0x2c2)),this[_0x5c3a56(0x19c)]==_0x552096&&_0x203c5e[_0x5c3a56(0x2a3)](_0x5c3a56(0x218)),{'classes':_0x203c5e,'attributes':{'data-change-id':_0x132d8e}};}}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x297)](_0x569ef3=>{const _0x217850=_0x342440;_0x569ef3['on'](_0x217850(0x1c5),(_0x540296,_0x350fb1,_0x44c0a6)=>{const _0x5a7d46=_0x217850,_0x524ad8=_0x350fb1[_0x5a7d46(0x238)][_0x5a7d46(0x230)](0x0);if(!_0x524ad8||!_0x524ad8['is'](_0x5a7d46(0x2dd),_0x5a7d46(0x1ee)))return;if(!_0x44c0a6[_0x5a7d46(0x26d)][_0x5a7d46(0x211)](_0x524ad8,{'attributes':[_0x5a7d46(0x285),_0x5a7d46(0x219)]}))return;const _0x27d0b4=_0x350fb1[_0x5a7d46(0x2e2)][_0x5a7d46(0x2d1)][_0x5a7d46(0x1e2)];_0x44c0a6[_0x5a7d46(0x2b2)][_0x5a7d46(0x1ac)](_0x5a7d46(0x285),_0x524ad8[_0x5a7d46(0x2db)](_0x5a7d46(0x285)),_0x27d0b4),_0x44c0a6[_0x5a7d46(0x2b2)][_0x5a7d46(0x1ac)](_0x5a7d46(0x219),_0x524ad8[_0x5a7d46(0x2db)](_0x5a7d46(0x219)),_0x27d0b4);},{'priority':_0x217850(0x22b)});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x297)](_0x954262=>{const _0x2ba0a3=_0x342440;_0x954262['on'](_0x2ba0a3(0x2dd),(_0x4b1412,_0x1ba298,_0x77743d)=>{const _0xe8aec4=_0x2ba0a3;if(!_0x77743d[_0xe8aec4(0x26d)][_0xe8aec4(0x211)](_0x1ba298[_0xe8aec4(0x238)],{'attributes':[_0xe8aec4(0x285),_0xe8aec4(0x219)]}))return;if(_0x1ba298[_0xe8aec4(0x2e2)][_0xe8aec4(0x1a4)])return;const _0x15f9c6=_0x1ba298[_0xe8aec4(0x2e2)][_0xe8aec4(0x2d1)][_0xe8aec4(0x1e2)];_0x15f9c6[_0xe8aec4(0x2e8)](_0xe8aec4(0x285))||_0x15f9c6[_0xe8aec4(0x2e8)](_0xe8aec4(0x1c1))||(_0x77743d[_0xe8aec4(0x2b2)][_0xe8aec4(0x1ac)](_0xe8aec4(0x285),_0x1ba298[_0xe8aec4(0x238)][_0xe8aec4(0x2db)](_0xe8aec4(0x285)),_0x15f9c6),_0x77743d[_0xe8aec4(0x2b2)][_0xe8aec4(0x1ac)](_0xe8aec4(0x219),_0x1ba298[_0xe8aec4(0x238)][_0xe8aec4(0x2db)](_0xe8aec4(0x219)),_0x15f9c6));},{'priority':_0x2ba0a3(0x22b)});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x242)]({'view':{'name':_0x342440(0x1ae),'attributes':{'vid':!0x0}},'model':{'key':_0x342440(0x1c1),'value':_0x4d0bf2=>_0x4d0bf2[_0x342440(0x2db)](_0x342440(0x1c1))}}),this[_0x342440(0x1a9)][_0x342440(0x2b9)][_0x342440(0x2a2)]['on'](_0x342440(0x2b3),(_0x3534db,[,_0x1300cd])=>{const _0x6e8246=_0x342440;[_0x6e8246(0x285),_0x6e8246(0x219),_0x6e8246(0x1c1)][_0x6e8246(0x228)](_0x1300cd)&&(_0x3534db[_0x6e8246(0x1af)]=!0x0,_0x3534db[_0x6e8246(0x294)]());},{'priority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x297)](_0x9ae7a9=>{const _0x875259=_0x342440;_0x9ae7a9['on'](_0x875259(0x19e),(_0x2530d1,_0xf83b90,_0x498cde)=>{const _0x26b5ab=_0x875259;if('\x20'!=_0xf83b90[_0x26b5ab(0x1cc)][_0x26b5ab(0x1e7)]||_0xf83b90[_0x26b5ab(0x1cc)][_0x26b5ab(0x237)][_0x26b5ab(0x266)]>0x1)return;if(!_0x498cde[_0x26b5ab(0x26d)][_0x26b5ab(0x211)](_0xf83b90[_0x26b5ab(0x1cc)],_0x2530d1[_0x26b5ab(0x1bd)]))return;const _0x379f27=_0x498cde[_0x26b5ab(0x2b2)],_0x2f277a=_0x498cde[_0x26b5ab(0x1b7)][_0x26b5ab(0x248)](_0xf83b90[_0x26b5ab(0x1a2)]);_0x379f27[_0x26b5ab(0x29d)](_0x2f277a,_0x379f27[_0x26b5ab(0x2d4)](_0x26b5ab(0x1ae)));});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x286)]({'model':_0x342440(0x1fe)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x215),function(_0x3739ee){const _0x1e85f3=_0x342440,_0x4c86dc=_0x3739ee[_0x1e85f3(0x252)][_0x1e85f3(0x287)](_0x1e85f3(0x21c));return(_0x274860,_0x56e4ff,_0x5c80e9)=>{const _0x4ff245=_0x1e85f3,_0x1d7bc4=_0x56e4ff[_0x4ff245(0x19f)][_0x4ff245(0x251)](':')[0x1],_0x3fb8ad=_0x4c86dc[_0x4ff245(0x270)](_0x1d7bc4);if(!_0x3fb8ad)return null;const _0x4864b6=_0x4ff245(0x297)==_0x3fb8ad[_0x4ff245(0x1dc)]?_0x4ff245(0x251):_0x4ff245(0x296);if(!_0x5c80e9[_0x4ff245(0x26d)][_0x4ff245(0x2e3)](_0x56e4ff[_0x4ff245(0x208)],_0x274860[_0x4ff245(0x1bd)]))return;const _0x55b63c=_0x56e4ff[_0x4ff245(0x208)][_0x4ff245(0x254)](),_0xa0ff7=_0x56e4ff[_0x4ff245(0x208)][_0x4ff245(0x2d1)],_0x37564e=_0x3739ee[_0x4ff245(0x2b9)][_0x4ff245(0x2a2)];let _0x23a99a=null,_0x4ea678=null,_0x1beee5=!0x1,_0x4f8e0a=!0x1;for(const _0x22aeee of _0x55b63c){const _0x2fb2a6=_0x22aeee[_0x4ff245(0x1cc)];_0x1beee5=_0x1beee5||_0x37564e[_0x4ff245(0x298)](_0x2fb2a6);const _0x4dcd05=_0x5c80e9[_0x4ff245(0x1b7)][_0x4ff245(0x27a)](_0x2fb2a6);if(_0x4dcd05&&_0x4dcd05[_0x4ff245(0x2d8)](_0x4ff245(0x258)))return;_0x4ff245(0x1a5)==_0x22aeee[_0x4ff245(0x1dc)]&&(_0x37564e[_0x4ff245(0x22e)](_0x2fb2a6)&&!_0x37564e[_0x4ff245(0x1f6)](_0x2fb2a6)&&(_0x2fb2a6[_0x4ff245(0x284)]||_0xa0ff7[_0x4ff245(0x28d)]?_0x23a99a&&_0x23a99a[_0x4ff245(0x237)]==_0x2fb2a6||(_0x23a99a=_0x2fb2a6,_0x545f86(_0x22aeee[_0x4ff245(0x291)]),_0x4f8e0a=!0x0):_0x4ea678=_0x4ea678||_0x22aeee[_0x4ff245(0x291)]));}function _0x545f86(_0x5ab9ba){const _0x5cdee0=_0x4ff245,_0x5a308a=_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x20a)](_0x5cdee0(0x1ae),{'class':_0x5cdee0(0x1e1)+_0x4864b6}),_0xdb6e45=_0x5c80e9[_0x5cdee0(0x1b7)][_0x5cdee0(0x2e1)](_0x5ab9ba);_0x3fb8ad[_0x5cdee0(0x1e7)][_0x5cdee0(0x2a4)]&&_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x1da)](_0x5cdee0(0x1e1)+_0x4864b6+_0x5cdee0(0x2c2),_0x5a308a),_0x4c86dc[_0x5cdee0(0x19c)]==_0x3fb8ad&&_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x1da)](_0x5cdee0(0x218),_0x5a308a),_0x5c80e9[_0x5cdee0(0x2b2)][_0x5cdee0(0x2c1)](_0xdb6e45,_0x5a308a),_0x5c80e9[_0x5cdee0(0x1b7)][_0x5cdee0(0x27b)](_0x5a308a,_0x56e4ff[_0x5cdee0(0x19f)]);}_0x1beee5||_0x4f8e0a||!_0x4ea678||_0x545f86(_0x4ea678);};}(this[_0x342440(0x1a9)]),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x272),(_0x1255e2,_0x172853,_0x649181)=>{const _0x5b570a=_0x342440,_0x8d6f14=_0x649181[_0x5b570a(0x1b7)][_0x5b570a(0x23f)](_0x172853[_0x5b570a(0x19f)]);if(_0x8d6f14){for(const _0x371dd2 of _0x8d6f14)(_0x371dd2[_0x5b570a(0x23d)](_0x5b570a(0x205))||_0x371dd2[_0x5b570a(0x23d)](_0x5b570a(0x25a)))&&(_0x649181[_0x5b570a(0x1b7)][_0x5b570a(0x2ad)](_0x371dd2,_0x172853[_0x5b570a(0x19f)]),_0x649181[_0x5b570a(0x2b2)][_0x5b570a(0x1d9)](_0x371dd2));}},{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x215),(_0x2fd900,_0x2e7d09,_0x4add36)=>{const _0x2bfb33=_0x342440,_0x433372=_0x2e7d09[_0x2bfb33(0x19f)][_0x2bfb33(0x251)](':')[0x1],_0x10deef=this[_0x2bfb33(0x270)](_0x433372);if(!_0x10deef)return null;const _0x1bfcd0=_0x2bfb33(0x297)==_0x10deef[_0x2bfb33(0x1dc)]?_0x2bfb33(0x251):_0x2bfb33(0x296);if(_0x4add36[_0x2bfb33(0x26d)][_0x2bfb33(0x2e3)](_0x2e7d09[_0x2bfb33(0x208)],_0x2fd900[_0x2bfb33(0x1bd)]))for(const _0x4888e1 of _0x2e7d09[_0x2bfb33(0x208)][_0x2bfb33(0x27e)]()){if(!_0x4888e1['is'](_0x2bfb33(0x2dd),_0x2bfb33(0x2de)))continue;const _0x59d9aa=_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x20a)](_0x2bfb33(0x1ae),{'class':_0x2bfb33(0x1e1)+_0x1bfcd0}),_0x1a2ac5=_0x4add36[_0x2bfb33(0x1b7)][_0x2bfb33(0x2e1)](this[_0x2bfb33(0x1a9)][_0x2bfb33(0x2b9)][_0x2bfb33(0x217)](_0x4888e1));_0x10deef[_0x2bfb33(0x1e7)][_0x2bfb33(0x2a4)]&&_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x1da)](_0x2bfb33(0x1e1)+_0x1bfcd0+_0x2bfb33(0x2c2),_0x59d9aa),this[_0x2bfb33(0x19c)]==_0x10deef&&_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x1da)](_0x2bfb33(0x218),_0x59d9aa),_0x4add36[_0x2bfb33(0x2b2)][_0x2bfb33(0x2c1)](_0x1a2ac5,_0x59d9aa),_0x4add36[_0x2bfb33(0x1b7)][_0x2bfb33(0x27b)](_0x59d9aa,_0x2e7d09[_0x2bfb33(0x19f)]);}},{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x2b9)][_0x342440(0x256)]['on'](_0x342440(0x283),()=>{const _0x538b4a=_0x342440;this[_0x538b4a(0x1a9)][_0x538b4a(0x239)][_0x538b4a(0x253)][_0x538b4a(0x283)](_0x522549=>{const _0x40facb=_0x538b4a;for(const _0x4b4005 of this[_0x40facb(0x1a9)][_0x40facb(0x2b9)][_0x40facb(0x256)][_0x40facb(0x206)]()){const _0x1ae6fe=this[_0x40facb(0x1a9)][_0x40facb(0x2b9)][_0x40facb(0x256)][_0x40facb(0x2a8)](_0x4b4005),_0x50f3e0=this[_0x40facb(0x1a9)][_0x40facb(0x239)][_0x40facb(0x253)][_0x40facb(0x256)][_0x40facb(0x2a8)](_0x4b4005);if(_0x50f3e0){const _0x100363=_0x1ae6fe[_0x40facb(0x2db)](_0x40facb(0x1de));if(_0x522549[_0x40facb(0x1e8)](_0x40facb(0x26b),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x2bd),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x2a0),_0x50f3e0),_0x522549[_0x40facb(0x234)](_0x40facb(0x21b),_0x50f3e0),_0x100363){const _0x82572f=this[_0x40facb(0x270)](_0x100363);if(!_0x82572f)return null;_0x522549[_0x40facb(0x1ac)](_0x40facb(0x26b),_0x100363,_0x50f3e0),_0x522549[_0x40facb(0x1da)](_0x40facb(0x2ba)+_0x82572f[_0x40facb(0x1dc)],_0x50f3e0),this[_0x40facb(0x19c)]==_0x82572f&&_0x522549[_0x40facb(0x1da)](_0x40facb(0x21b),_0x50f3e0);}}}});}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x271),'model':_0x5c4961=>_0x342440(0x1bc)+_0x5c4961,'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x28c))[_0x342440(0x223)]({'view':_0x342440(0x29a),'model':_0x532af4=>_0x342440(0x1e5)+_0x532af4,'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x24d))[_0x342440(0x286)]({'model':_0x342440(0x2b0),'view':_0x5da8dd=>({'name':_0x342440(0x2cc)+_0x5da8dd,'group':_0x342440(0x2b0)}),'converterPriority':_0x342440(0x1f2)}),this[_0x342440(0x1a9)][_0x342440(0x289)][_0x342440(0x20e)](_0x342440(0x281))[_0x342440(0x277)]({'model':_0x342440(0x2b0),'view':_0x9fd29e=>{const _0x444f18=_0x342440,_0x386e2e=_0x9fd29e[_0x444f18(0x19f)][_0x444f18(0x251)](':')[0x1];return _0x444f18(0x227)!=_0x386e2e&&_0x444f18(0x1d1)!=_0x386e2e?null:{'classes':[_0x444f18(0x22f),_0x444f18(0x2da)+_0x386e2e]};}}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x24a),et(this[_0x342440(0x1a9)],_0x342440(0x296)),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x19d),et(this[_0x342440(0x1a9)],_0x342440(0x251)),{'priority':_0x342440(0x22a)}),this[_0x342440(0x1a9)][_0x342440(0x239)][_0x342440(0x1eb)]['on'](_0x342440(0x1b2),(_0x52455f,_0x42496c,_0x584da8)=>{const _0x513054=_0x342440,_0x360e51=_0x584da8[_0x513054(0x1b7)][_0x513054(0x23f)](_0x42496c[_0x513054(0x19f)]);if(_0x360e51){for(const _0x591faf of _0x360e51)_0x591faf['is'](_0x513054(0x249))&&(_0x584da8[_0x513054(0x1b7)][_0x513054(0x2ad)](_0x591faf,_0x42496c[_0x513054(0x19f)]),_0x584da8[_0x513054(0x2b2)][_0x513054(0x1d9)](_0x591faf));}},{'priority':_0x342440(0x22a)});}[_0x40fdb4(0x270)](_0x22d040){const _0x4ec324=_0x40fdb4;return this[_0x4ec324(0x2b5)][_0x4ec324(0x287)](_0x22d040);}[_0x40fdb4(0x262)](_0x3acd0e){const _0x4a794e=_0x40fdb4;return this[_0x4a794e(0x2c3)]&&this[_0x4a794e(0x2c3)][_0x4a794e(0x200)](),this[_0x4a794e(0x2c3)]=new _0xaaffbc(this[_0x4a794e(0x1a9)][_0x4a794e(0x224)],_0x3acd0e),this[_0x4a794e(0x2c3)];}[_0x40fdb4(0x1b3)](){const _0x250c9f=_0x40fdb4;this[_0x250c9f(0x1a9)][_0x250c9f(0x2b9)][_0x250c9f(0x256)][_0x250c9f(0x1d4)][_0x250c9f(0x240)](_0x250c9f(0x1fe)),this['on'](_0x250c9f(0x1bb),(_0x1972e7,_0x5d80c1,_0x4cc21d,_0x4f5b3d)=>{const _0x2fd894=_0x250c9f;_0x4f5b3d&&this[_0x2fd894(0x282)][_0x2fd894(0x1d9)](_0x4f5b3d),_0x4cc21d&&(this[_0x2fd894(0x282)][_0x2fd894(0x297)]({'view':_0x4cc21d,'stackId':_0x2fd894(0x1c9),'position':{'target':()=>{const _0x444561=_0x2fd894,_0x27c83b=this[_0x444561(0x1a9)][_0x444561(0x239)],_0x1b81f6=this[_0x444561(0x270)](_0x4cc21d[_0x444561(0x2aa)]);let _0x40b46f;if(_0x1b81f6[_0x444561(0x1e7)][_0x444561(0x2e5)]){const _0x2451cb=_0x27c83b[_0x444561(0x253)][_0x444561(0x1ec)](_0x1b81f6[_0x444561(0x23c)]);_0x40b46f=Array[_0x444561(0x1c7)](_0x2451cb[_0x444561(0x260)]());}else{const _0xd58740=this[_0x444561(0x1a9)][_0x444561(0x2b9)][_0x444561(0x2ac)][_0x444561(0x287)](_0x444561(0x247)+_0x4cc21d[_0x444561(0x2aa)]);_0x40b46f=Array[_0x444561(0x1c7)](_0x27c83b[_0x444561(0x1b7)][_0x444561(0x23f)](_0xd58740[_0x444561(0x1bd)]))[_0x444561(0x220)](_0xcf2ae0=>_0x27c83b[_0x444561(0x253)][_0x444561(0x1b5)][_0x444561(0x1a6)](_0xcf2ae0))[_0x444561(0x220)](_0x1142a1=>Array[_0x444561(0x1c7)](_0x1142a1[_0x444561(0x260)]()))[_0x444561(0x1dd)]();}if(!this[_0x444561(0x1a8)])return _0x40b46f[0x0];return _0x40b46f[_0x444561(0x2b7)](_0x4d0afe=>_0x4d0afe[_0x444561(0x2c0)]-0x3<=this[_0x444561(0x1a8)]['y']&&_0x4d0afe[_0x444561(0x1c3)]+0x3>=this[_0x444561(0x1a8)]['y']&&_0x4d0afe[_0x444561(0x2af)]-0x3<=this[_0x444561(0x1a8)]['x']&&_0x4d0afe[_0x444561(0x29f)]+0x3>=this[_0x444561(0x1a8)]['x'])||_0x40b46f[0x0];}}}),this[_0x2fd894(0x282)][_0x2fd894(0x19a)](_0x2fd894(0x1c9)));}),this['on'](_0x250c9f(0x263),(_0x48d941,_0x4ebeb1,_0x389f06,_0x52924c)=>{const _0x330fe0=_0x250c9f;this[_0x330fe0(0x23a)]=_0x389f06?this[_0x330fe0(0x262)](_0x389f06):null,this[_0x330fe0(0x1a9)][_0x330fe0(0x2b9)][_0x330fe0(0x283)](()=>{const _0x4da88c=_0x330fe0,_0x2bd6ce=this[_0x4da88c(0x1a9)][_0x4da88c(0x239)];_0x52924c&&(_0x52924c[_0x4da88c(0x1e7)][_0x4da88c(0x2e5)]?_0x2bd6ce[_0x4da88c(0x253)][_0x4da88c(0x283)](_0x345378=>{const _0x5c7d13=_0x4da88c;_0x345378[_0x5c7d13(0x234)](_0x5c7d13(0x21b),_0x2bd6ce[_0x5c7d13(0x253)][_0x5c7d13(0x256)][_0x5c7d13(0x2a8)](_0x52924c[_0x5c7d13(0x23c)]));}):_0x2bd6ce[_0x4da88c(0x1c4)](_0x4da88c(0x247)+_0x52924c['id'])),_0x389f06&&(_0x389f06[_0x4da88c(0x1e7)][_0x4da88c(0x2e5)]?_0x2bd6ce[_0x4da88c(0x253)][_0x4da88c(0x283)](_0x45a6f3=>{const _0x3392f3=_0x4da88c;_0x45a6f3[_0x3392f3(0x1da)](_0x3392f3(0x21b),_0x2bd6ce[_0x3392f3(0x253)][_0x3392f3(0x256)][_0x3392f3(0x2a8)](_0x389f06[_0x3392f3(0x23c)]));}):_0x2bd6ce[_0x4da88c(0x1c4)](_0x4da88c(0x247)+_0x389f06['id']));});}),this[_0x250c9f(0x28a)](this[_0x250c9f(0x1a9)][_0x250c9f(0x239)][_0x250c9f(0x253)][_0x250c9f(0x256)],_0x250c9f(0x221),(_0xf275c6,_0x3680c6)=>{const _0x410c8a=_0x250c9f;if(this[_0x410c8a(0x19c)])return;const _0x3a15a7=this[_0x410c8a(0x1d3)](_0x3680c6[_0x410c8a(0x2d7)]),_0x3864c0=this[_0x410c8a(0x2b5)][_0x410c8a(0x287)](_0x3a15a7);_0x3864c0?(this[_0x410c8a(0x1a8)]={'x':_0x3680c6[_0x410c8a(0x26a)]['x'],'y':_0x3680c6[_0x410c8a(0x26a)]['y']},this[_0x410c8a(0x23a)]=this[_0x410c8a(0x262)](_0x3864c0)):(this[_0x410c8a(0x1a8)]=null,this[_0x410c8a(0x23a)]=null);}),this[_0x250c9f(0x28a)](this[_0x250c9f(0x1a9)][_0x250c9f(0x239)][_0x250c9f(0x253)][_0x250c9f(0x256)],_0x250c9f(0x2bf),(_0x285ff3,_0x4e27d6)=>{const _0x4b8f51=_0x250c9f,_0x597cee=this[_0x4b8f51(0x1d3)](_0x4e27d6[_0x4b8f51(0x2d7)]),_0xd9789a=this[_0x4b8f51(0x2b5)][_0x4b8f51(0x287)](_0x597cee);_0xd9789a?(this[_0x4b8f51(0x1a8)]={'x':_0x4e27d6[_0x4b8f51(0x26a)]['x'],'y':_0x4e27d6[_0x4b8f51(0x26a)]['y']},_0xd9789a===this[_0x4b8f51(0x19c)]?this[_0x4b8f51(0x282)][_0x4b8f51(0x201)]():this[_0x4b8f51(0x19c)]=_0xd9789a):(this[_0x4b8f51(0x1a8)]=null,this[_0x4b8f51(0x19c)]=null);});}[_0x40fdb4(0x1d3)](_0x368efa){const _0x3be1fb=_0x40fdb4;do{const _0x295beb=_0x368efa[_0x3be1fb(0x2db)](_0x3be1fb(0x26b));if(_0x295beb)return _0x295beb;_0x368efa=_0x368efa[_0x3be1fb(0x237)];}while(_0x368efa);return null;}[_0x40fdb4(0x1e6)](){const _0x2d9179=_0x40fdb4;this[_0x2d9179(0x1a9)][_0x2d9179(0x2b9)][_0x2d9179(0x283)](_0x4a4d9d=>{const _0x349b35=_0x2d9179;for(const _0x5e51c5 of this[_0x349b35(0x1a9)][_0x349b35(0x2b9)][_0x349b35(0x2ac)])_0x4a4d9d[_0x349b35(0x1df)](_0x5e51c5);});}}function et(_0x35c5ca,_0xfc3653){return(_0x4f7a8f,_0x50cc39,_0x333ce7)=>{const _0x47a9dd=_0x45ee;if(!_0x333ce7[_0x47a9dd(0x26d)][_0x47a9dd(0x2e3)](_0x50cc39[_0x47a9dd(0x208)],_0x4f7a8f[_0x47a9dd(0x1bd)]))return;const _0x5d1425=_0x50cc39[_0x47a9dd(0x208)][_0x47a9dd(0x254)](),_0x565d35=_0x50cc39[_0x47a9dd(0x208)][_0x47a9dd(0x2d1)],_0x5ddc26=_0x35c5ca[_0x47a9dd(0x2b9)][_0x47a9dd(0x2a2)];let _0x2f020c=null,_0x3191f0=null,_0x40b2e9=!0x1,_0xc4e25c=!0x1;for(const _0x1293ac of _0x5d1425){const _0x53b626=_0x1293ac[_0x47a9dd(0x1cc)];_0x40b2e9=_0x40b2e9||_0x5ddc26[_0x47a9dd(0x298)](_0x53b626);const _0x41ab1f=_0x333ce7[_0x47a9dd(0x1b7)][_0x47a9dd(0x27a)](_0x53b626);if(_0x41ab1f&&_0x41ab1f[_0x47a9dd(0x2d8)](_0x47a9dd(0x258)))return;_0x47a9dd(0x1a5)==_0x1293ac[_0x47a9dd(0x1dc)]&&(_0x5ddc26[_0x47a9dd(0x22e)](_0x53b626)&&!_0x5ddc26[_0x47a9dd(0x1f6)](_0x53b626)&&(_0x53b626[_0x47a9dd(0x284)]||_0x565d35[_0x47a9dd(0x28d)]?_0x2f020c&&_0x2f020c[_0x47a9dd(0x237)]==_0x53b626||(_0x2f020c=_0x53b626,_0x4607cb(_0x1293ac[_0x47a9dd(0x291)]),_0xc4e25c=!0x0):_0x3191f0=_0x3191f0||_0x1293ac[_0x47a9dd(0x291)]));}function _0x4607cb(_0xcbfbef){const _0x4dc242=_0x47a9dd,_0x228d22=_0x333ce7[_0x4dc242(0x1b7)][_0x4dc242(0x2e1)](_0xcbfbef),_0x333e35=_0x333ce7[_0x4dc242(0x2b2)][_0x4dc242(0x20a)](_0x4dc242(0x1ae),{'class':_0x4dc242(0x2da)+_0xfc3653});_0x333ce7[_0x4dc242(0x2b2)][_0x4dc242(0x2c1)](_0x228d22,_0x333e35),_0x333ce7[_0x4dc242(0x1b7)][_0x4dc242(0x27b)](_0x333e35,_0x50cc39[_0x4dc242(0x19f)]);}_0x40b2e9||_0xc4e25c||!_0x3191f0||_0x4607cb(_0x3191f0);};}export class RestoreRevisionCommand extends _0x2c0540{constructor(_0x175a24){const _0x20d866=_0x40fdb4;super(_0x175a24);const _0x1b566f=_0x175a24[_0x20d866(0x252)][_0x20d866(0x287)](d);this[_0x20d866(0x209)]=!0x1,this[_0x20d866(0x28a)](_0x1b566f,_0x20d866(0x2c7),()=>this[_0x20d866(0x2ab)]()),this[_0x20d866(0x28a)](_0x1b566f,_0x20d866(0x24e),()=>this[_0x20d866(0x2ab)]());}[_0x40fdb4(0x1a0)](){const _0x25aab8=_0x40fdb4,_0x5eff52=this[_0x25aab8(0x1a9)],_0x357729=_0x5eff52[_0x25aab8(0x252)][_0x25aab8(0x287)](d),_0x414233=_0x357729[_0x25aab8(0x2b4)]?_0x357729[_0x25aab8(0x1be)][_0x25aab8(0x2e0)]:null;_0x5eff52[_0x25aab8(0x295)][_0x25aab8(0x287)](_0x25aab8(0x226))[_0x25aab8(0x246)](_0x414233);}[_0x40fdb4(0x2ab)](){const _0x37bd29=_0x40fdb4,{isReady:_0x3dd55e,isEnabled:_0x362f8f}=this[_0x37bd29(0x1a9)][_0x37bd29(0x252)][_0x37bd29(0x287)](d);this[_0x37bd29(0x1fa)]=_0x3dd55e&&_0x362f8f;}}export class ShowChangeCommand extends _0x2c0540{constructor(_0x571660,{direction:_0x298e4d}){const _0x1315aa=_0x40fdb4;super(_0x571660);const _0x5993ad=_0x571660[_0x1315aa(0x252)][_0x1315aa(0x287)](d);this[_0x1315aa(0x209)]=!0x1,this[_0x1315aa(0x1d5)]=_0x1315aa(0x288)===_0x298e4d?0x1:-0x1,this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x2c7),()=>this[_0x1315aa(0x2ab)]()),this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x24e),()=>this[_0x1315aa(0x2ab)]()),this[_0x1315aa(0x28a)](_0x5993ad,_0x1315aa(0x263),()=>this[_0x1315aa(0x2ab)]());}[_0x40fdb4(0x1a0)](){const _0x53baa9=_0x40fdb4,_0x977695=this[_0x53baa9(0x1a9)],_0x2762ac=_0x977695[_0x53baa9(0x252)][_0x53baa9(0x287)](d),{isNavigationMode:_0x3ccaa3,currentChangeNumber:_0x66a874}=_0x2762ac;let _0x1834f5;if(_0x2762ac[_0x53baa9(0x19c)]=_0x3ccaa3?_0x2762ac[_0x53baa9(0x1be)][_0x53baa9(0x1cf)][_0x53baa9(0x287)](_0x66a874+this[_0x53baa9(0x1d5)]):_0x2762ac[_0x53baa9(0x1be)][_0x53baa9(0x1cf)][_0x53baa9(0x1c8)],_0x2762ac[_0x53baa9(0x19c)][_0x53baa9(0x1e7)][_0x53baa9(0x2e5)])_0x1834f5=_0x977695[_0x53baa9(0x239)][_0x53baa9(0x253)][_0x53baa9(0x1ec)](_0x2762ac[_0x53baa9(0x19c)][_0x53baa9(0x23c)]);else{const _0x26dd30=_0x977695[_0x53baa9(0x2b9)][_0x53baa9(0x2ac)][_0x53baa9(0x287)](_0x53baa9(0x247)+_0x2762ac[_0x53baa9(0x19c)]['id']);_0x1834f5=_0x4fc286(_0x977695[_0x53baa9(0x239)],_0x26dd30);}_0x3ea3fd({'target':_0x1834f5,'viewportOffset':0x28});}[_0x40fdb4(0x2ab)](){const _0x374fda=_0x40fdb4,{isNavigationMode:_0x55400d,currentChangeNumber:_0x14af47,numberOfChanges:_0x29a851,isReady:_0x21924b,isEnabled:_0x17a860}=this[_0x374fda(0x1a9)][_0x374fda(0x252)][_0x374fda(0x287)](d);this[_0x374fda(0x1fa)]=!!(_0x17a860&&_0x21924b&&_0x29a851)&&(!_0x55400d||(0x1===this[_0x374fda(0x1d5)]?_0x14af47<_0x29a851-0x1:_0x14af47>0x0));}}
|
|
23
|
+
const _0x4eae33=_0x5d48;function _0x14fb(){const _0x5cf2e8=['checkAttribute','681KSSUTh','attributes','default','collaboration.channelId','filter','getAttributes','stop','5945RGSaGX','toViewElement','5268880eglhhb','low','286WsdElO','test','delete','for','addMarker:revision-suggestion:insertion','item','add','addHighlight','shift','map','_markInsertions','WidgetToolbarRepository','getRootNames','ck-suggestion-marker-','isBefore','detachRoot','10xHTuSK','_setDistance','_balloon','side','isEqual','domEvent','plugins','abs','_removeUnsupportedChanges','getRevision','editor','suggestion:','isAfter','pop','parse','backward','toModel','deletions','revision-start','3972717SHpgLN','merge','vid_start','editingDowncast','60ukzFXB','-new','data-change-id','_setConversion','_getChangeFromId','restoreRevisionCallback','revision-end','_processTape','softBreak','_makeModelFromTape','newRevisionId','enableReadOnlyMode','isAttached','_initInteractions','_markSuggestions','createRangeIn','text','30880223dYoJuG','markerToData','_activeViewTarget','push','removeMarker:revision','viewItem','RevisionViewer','_threeWayMerge','end','commands','upcast','_getViewObj','POSITIVE_INFINITY','parent','flat','maxOffset','_removeRevisionMarkers','activeView','revision-suggestion','repository','code','addMarker:revision','ck-suggestion-marker--active','done','removeClass','editing','insert','ck-suggestion-preview-marker','config','left','getChild','slice','enqueueChange','dataDowncast','then','isEnabled','document','getDomRoot','oldRevisionId','getClientRects','useFillerType','_refreshStartEndIndex','revision','removeMarker','forward','element:pre','bindElementToMarker','addRoot','findIndex','createUIElement','find','isOnRoot','isLimit','requires','_makeModelFromViewString','right','attribute:vid','diffData','distance','change:activeView','RevisionsRepository','catch','markerName','markers','diff','isObject','getRoot','revision-comment:','startIndex','isAddSuggestion','elementToAttribute','_changeView','isAtStart','name','wrap','includes','showNextChange','createAttributeElement','change:isEnabled','createPositionFromPath','roots','target','_revisions','consume','resolve','addMarker:revision-suggestion:deletion','getRevisionData','startsWith','dataToMarker','consumable','ck-revision-history-root-add','downcastDispatcher','uiElement','mousedown','isAtEnd','toViewRange','markerRange','addRevisionData','createPositionBefore','isContent','markersStart','ck-revision-history-root-remove','_cleanUp','_getDiff','setAttribute','endIndex','elementStart','currentChangeNumber','ck-revision-history-root-','modelRange','execute','changes','toData','length','mapper','revisionHistoryLabel','getAttribute','bind','attributesBefore','offsetSize','string','from','getRevisionRootsAttributes','markersEnd','isRemoveSuggestion','error','concat','_setChanges','revision-viewer','change:isReady','keys','listenTo','revision:','isIncorrect','addClass','attributesAfter','pluginName','level','userId','createRevision','locale','bottom','domConverter','_getViewForChange','_fixObsoleteTags','first','removeMarker:revision-suggestion','showStack','marked','remove','isCollapsed','_appendChild','has','markerToHighlight','index','children','ck-suggestion-marker-merge','_data','insertions','model','ck-suggestion-marker-split','6570088DpkyFX','init','ck-revision-history-root--active','schema','indexOf','element','toViewPosition','observeMarkers','isInline','forEach','comment','nextSibling','writer','hasClass','previousPosition','vid','split','_getRevisionsRange','vid_end','compare','removeAttribute','change:numberOfChanges','processor','data','revisionHistory','selection','_update','createRange','_removeMissingPairs','clear','data-revision-','next','highest','revisionHistoryAttachChange','_joinTapes','forceDisabled','isSuggestion','suggestion','high','view','rootName','_sortAndFilterDiffChanges','insertion','_cleanMarkers','584888xSHZon','splice','affectsData','mapViewToDom','authors','type','elementEnd','top','unbindElementFromMarkerName','isNavigationMode','get','adapter','_markMarkers','addRevision','object','nextPosition','getWalker','getItems','hasAttribute','pairId','span','attachChange','changeId','change:activeChange','loadRevisionData','change','restoreRevision','isRemoved','nodeAfter','conversion','unshift','sort','range','return','refresh','reconvertMarker','markerNameToElements','getIndex','ck-suggestion-marker','activeChange','mouseover','updatePosition','numberOfChanges','set','8mwNHdU','isReady','revision-suggestion:','showPreviousChange','_findChangeIdFromDomTarget','values','ck-editor__editable__overlay','start','destroy','_changeIdToChange','ck-suggestion-preview-marker-','isBlock','_makeTape','isAdded','_markMismatchedRemovedTags','deletion','all','_step','getCustomProperty'];_0x14fb=function(){return _0x5cf2e8;};return _0x14fb();}(function(_0x44cf8e,_0x3796bb){const _0x127f56=_0x5d48,_0x48186a=_0x44cf8e();while(!![]){try{const _0x2cbca3=parseInt(_0x127f56(0x101))/0x1+-parseInt(_0x127f56(0x14c))/0x2*(parseInt(_0x127f56(0x141))/0x3)+-parseInt(_0x127f56(0x14a))/0x4+-parseInt(_0x127f56(0x148))/0x5*(-parseInt(_0x127f56(0x173))/0x6)+-parseInt(_0x127f56(0xd5))/0x7+parseInt(_0x127f56(0x12d))/0x8*(-parseInt(_0x127f56(0x16f))/0x9)+-parseInt(_0x127f56(0x15c))/0xa*(-parseInt(_0x127f56(0x184))/0xb);if(_0x2cbca3===_0x3796bb)break;else _0x48186a['push'](_0x48186a['shift']());}catch(_0x50e291){_0x48186a['push'](_0x48186a['shift']());}}}(_0x14fb,0xa4a59));import{Plugin as _0x31cd05,Command as _0x2fa53e}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x38171d}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x1543cd}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x5203da,Element as _0x354db6,Text as _0x2d533b,ViewDocumentFragment as _0x69cd0c,ViewText as _0x52db34,ViewElement as _0x5332c1,ViewContainerElement as _0x492798,ViewAttributeElement as _0x57f515,ViewEmptyElement as _0x517879,ViewRawElement as _0x574bbf,ViewUIElement as _0x43ac90}from'ckeditor5/src/engine.js';import{Users as _0xc1f046,getMarkerDomElement as _0x400261}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2b69da from'./ui/revisionviewer/changedetailsview.js';import _0x2d635c from'./revisionsrepository.js';function _0x5d48(_0x462df4,_0x4eb67d){const _0x14fb40=_0x14fb();return _0x5d48=function(_0x5d48bd,_0x4e7481){_0x5d48bd=_0x5d48bd-0x88;let _0x549f22=_0x14fb40[_0x5d48bd];return _0x549f22;},_0x5d48(_0x462df4,_0x4eb67d);}import _0x6fe7c from'./changeitem.js';import{default as _0x354b37}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x553ba9}from'lodash-es';const tt={'c':_0x492798,'a':_0x57f515,'e':_0x517879,'r':_0x574bbf,'u':_0x43ac90};export default class d extends _0x31cd05{static get[_0x4eae33(0xbc)](){const _0x421236=_0x4eae33;return _0x421236(0x18a);}static get[_0x4eae33(0x1b9)](){return[_0xc1f046,_0x1543cd,_0x2d635c];}constructor(_0x2375bc){const _0x45222b=_0x4eae33;super(_0x2375bc),this[_0x45222b(0x197)]=this[_0x45222b(0x166)][_0x45222b(0x162)][_0x45222b(0x10b)](_0x45222b(0x1c0)),this[_0x45222b(0x12c)](_0x45222b(0x128),null),this[_0x45222b(0x12c)](_0x45222b(0x195),null),this[_0x45222b(0x186)]=null,this[_0x45222b(0x12c)](_0x45222b(0x1c4),null),this[_0x45222b(0x12c)](_0x45222b(0x12e),!0x1),this[_0x45222b(0x12c)](_0x45222b(0x1a7),!0x0),this['on'](_0x45222b(0x1d2),(_0x5db58f,_0x21bffe,_0x49ef5b)=>{const _0x13e9db=_0x45222b;this[_0x13e9db(0x128)]=null,this[_0x13e9db(0x195)]=null,this[_0x13e9db(0x166)][_0x13e9db(0x19d)][_0x13e9db(0xfc)][_0x13e9db(0x11a)](_0x2b2dab=>{const _0xd9498c=_0x13e9db;for(const _0x2e9691 of this[_0xd9498c(0x166)][_0xd9498c(0x19d)][_0xd9498c(0xfc)][_0xd9498c(0x1a8)][_0xd9498c(0x1d4)])_0x49ef5b?_0x2b2dab[_0xd9498c(0x19c)](_0xd9498c(0x133),_0x2e9691):_0x2b2dab[_0xd9498c(0xba)](_0xd9498c(0x133),_0x2e9691);});}),this[_0x45222b(0xa9)](_0x45222b(0x10a))['to'](this,_0x45222b(0x128),_0xc2c343=>null!==_0xc2c343),this[_0x45222b(0xa9)](_0x45222b(0x9f))['to'](this,_0x45222b(0x12e),this,_0x45222b(0x1c4),this,_0x45222b(0x128),(_0x4afdd5,_0x28256f,_0x4725c6)=>_0x4afdd5&&_0x4725c6?_0x28256f[_0x45222b(0xa3)][_0x45222b(0x126)](_0x4725c6):0x0),this[_0x45222b(0xa9)](_0x45222b(0x12b))['to'](this,_0x45222b(0x12e),this,_0x45222b(0x1c4),(_0x4cd014,_0x3a7668)=>_0x4cd014?_0x3a7668[_0x45222b(0xa3)][_0x45222b(0xa5)]:0x0),this[_0x45222b(0x1cb)]=null,this[_0x45222b(0x136)]=new Map(),this[_0x45222b(0x10c)]=null,this[_0x45222b(0x15e)]=this[_0x45222b(0x166)][_0x45222b(0x162)][_0x45222b(0x10b)](_0x1543cd);}[_0x4eae33(0xd6)](){const _0x47a1b8=_0x4eae33,_0x220d42=this[_0x47a1b8(0x166)],_0x127b94=new ShowChangeCommand(_0x220d42,{'direction':_0x47a1b8(0x16b)}),_0x28e5a2=new ShowChangeCommand(_0x220d42,{'direction':_0x47a1b8(0x1b0)});(_0x220d42[_0x47a1b8(0x18d)][_0x47a1b8(0x152)](_0x47a1b8(0x130),_0x127b94),_0x220d42[_0x47a1b8(0x18d)][_0x47a1b8(0x152)](_0x47a1b8(0x1d0),_0x28e5a2),_0x220d42[_0x47a1b8(0x18d)][_0x47a1b8(0x152)](_0x47a1b8(0x11b),new RestoreRevisionCommand(_0x220d42)),this['on'](_0x47a1b8(0xea),()=>{const _0xa75126=_0x47a1b8;_0x127b94[_0xa75126(0x123)](),_0x28e5a2[_0xa75126(0x123)]();}),this[_0x47a1b8(0x176)](),this[_0x47a1b8(0x180)](),_0x220d42[_0x47a1b8(0x17e)](_0x47a1b8(0xb4)),_0x220d42[_0x47a1b8(0x162)][_0x47a1b8(0xcc)](_0x47a1b8(0x157)))&&_0x220d42[_0x47a1b8(0x162)][_0x47a1b8(0x10b)](_0x47a1b8(0x157))[_0x47a1b8(0xf8)](_0x47a1b8(0xb4));}async[_0x4eae33(0x8a)](_0x178b10){const _0x1c9888=_0x4eae33;await this[_0x1c9888(0x119)](_0x178b10);const _0x942cdc={};for(const _0x4c0978 in _0x178b10[_0x1c9888(0x1bd)]){if(_0x178b10[_0x1c9888(0x1bd)][_0x4c0978][_0x1c9888(0x116)]&&!_0x178b10[_0x1c9888(0x1bd)][_0x4c0978][_0x1c9888(0x116)][_0x1c9888(0x17f)])continue;const _0x12a2cc=this[_0x1c9888(0x194)](JSON[_0x1c9888(0x16a)](_0x178b10[_0x1c9888(0x1bd)][_0x4c0978][_0x1c9888(0xd2)])),_0x464863=this[_0x1c9888(0x166)][_0x1c9888(0x19d)][_0x1c9888(0xfc)][_0x1c9888(0x1a8)],_0x593cc1=new _0x69cd0c(_0x464863,_0x12a2cc[_0x1c9888(0x155)](_0x801a99=>this[_0x1c9888(0x18f)](_0x801a99)));this[_0x1c9888(0x166)][_0x1c9888(0xec)][_0x1c9888(0xeb)][_0x1c9888(0x1ac)](_0x1c9888(0xc8)),_0x942cdc[_0x4c0978]=this[_0x1c9888(0x166)][_0x1c9888(0xec)][_0x1c9888(0xeb)][_0x1c9888(0xa4)](_0x593cc1),this[_0x1c9888(0x166)][_0x1c9888(0xec)][_0x1c9888(0xeb)][_0x1c9888(0x1ac)](_0x1c9888(0x143));}return _0x942cdc;}async[_0x4eae33(0xae)](_0x443f94){const _0x41cbcc=_0x4eae33;await this[_0x41cbcc(0x119)](_0x443f94);const _0x5037c0={};for(const _0x8b9d8 in _0x443f94[_0x41cbcc(0x1bd)])_0x443f94[_0x41cbcc(0x1bd)][_0x8b9d8][_0x41cbcc(0x116)]&&!_0x443f94[_0x41cbcc(0x1bd)][_0x8b9d8][_0x41cbcc(0x116)][_0x41cbcc(0x17f)]||(_0x5037c0[_0x8b9d8]=_0x443f94[_0x41cbcc(0x1bd)][_0x8b9d8][_0x41cbcc(0xbb)]||{});return _0x5037c0;}[_0x4eae33(0x194)](_0x498505){const _0x84f1b2=_0x4eae33;return(_0x498505=_0x498505[_0x84f1b2(0x145)](_0x2ebd26=>!_0x2ebd26[_0x84f1b2(0x1cd)]||_0x84f1b2(0x16e)!==_0x2ebd26[_0x84f1b2(0x1cd)]&&_0x84f1b2(0x179)!==_0x2ebd26[_0x84f1b2(0x1cd)]))[_0x84f1b2(0xde)](_0x418f85=>{const _0x3812cf=_0x84f1b2;_0x3812cf(0xac)!=typeof _0x418f85&&(_0x418f85[_0x3812cf(0xcf)]=this[_0x3812cf(0x194)](_0x418f85[_0x3812cf(0xcf)]),_0x418f85[_0x3812cf(0x142)]=_0x418f85[_0x3812cf(0x142)][_0x3812cf(0x145)](_0x2e2a91=>!_0x2e2a91[0x0][_0x3812cf(0x8b)](_0x3812cf(0xf3))));}),_0x498505;}async[_0x4eae33(0xe8)](_0x2ef4db,_0x3cca7c,_0x5a22d8=!0x1){const _0x54453f=_0x4eae33;if(!this[_0x54453f(0x1a7)])return;const _0x355313=this[_0x54453f(0x1c4)],_0x2a9019=this[_0x54453f(0x197)],_0x136239=_0x54453f(0xac)==typeof _0x2ef4db?_0x2a9019[_0x54453f(0x165)](_0x2ef4db):_0x2ef4db,_0x1b2683=_0x54453f(0xac)==typeof _0x3cca7c?_0x2a9019[_0x54453f(0x165)](_0x3cca7c):_0x3cca7c,_0x558112=_0x136239['id'],_0x8efbca=_0x1b2683?_0x1b2683['id']:null;if(!_0x5a22d8&&this[_0x54453f(0x1c4)]&&this[_0x54453f(0x1c4)][_0x54453f(0x17d)]===_0x558112&&this[_0x54453f(0x1c4)][_0x54453f(0x1aa)]===_0x8efbca)return Promise[_0x54453f(0x88)]();this[_0x54453f(0x12e)]=!0x1,this[_0x54453f(0x195)]=null,this[_0x54453f(0x128)]=null,this[_0x54453f(0x1c4)]=new _0x354b37(_0x558112,_0x8efbca);const _0x1d8bc1=this[_0x54453f(0xe6)](_0x136239,_0x1b2683,!0x0)[_0x54453f(0x155)](_0x43ec29=>this[_0x54453f(0x119)](_0x43ec29));return _0x1d8bc1[_0x54453f(0x187)](new Promise(_0x51affe=>{setTimeout(_0x51affe,0x14);})),Promise[_0x54453f(0x13d)](_0x1d8bc1)[_0x54453f(0x1a6)](()=>{const _0x325f74=_0x54453f;if(!this[_0x325f74(0x1a7)])return;this[_0x325f74(0x9a)]();const _0x4945da=this[_0x325f74(0x9b)](_0x558112,_0x8efbca);for(const _0x237e1b of _0x4945da[_0x325f74(0xa3)])this[_0x325f74(0x136)][_0x325f74(0x12c)](_0x237e1b['id'],_0x237e1b);this[_0x325f74(0x166)][_0x325f74(0xd3)][_0x325f74(0x1a4)]({'isUndoable':!0x1},_0x326086=>{const _0x526cf8=_0x325f74;for(const _0x501ce7 of this[_0x526cf8(0x166)][_0x526cf8(0xd3)][_0x526cf8(0x1a8)][_0x526cf8(0x158)]())_0x326086[_0x526cf8(0x15b)](_0x501ce7);for(const _0x1d569b of Object[_0x526cf8(0xb6)](_0x4945da[_0x526cf8(0xd3)])){const _0x56427f=_0x326086[_0x526cf8(0x1b3)](_0x1d569b);for(const _0x55431c of Object[_0x526cf8(0xb6)](_0x4945da[_0x526cf8(0x142)][_0x1d569b]))_0x326086[_0x526cf8(0x9c)](_0x55431c,_0x4945da[_0x526cf8(0x142)][_0x1d569b][_0x55431c],_0x56427f);_0x326086[_0x526cf8(0x19e)](_0x4945da[_0x526cf8(0xd3)][_0x1d569b],_0x56427f,0x0);}}),this[_0x325f74(0x1c4)][_0x325f74(0xb3)](this[_0x325f74(0xfe)](_0x4945da[_0x325f74(0xa3)])),this[_0x325f74(0x12e)]=!0x0;})[_0x54453f(0x1c1)](_0x212531=>{const _0x28c74e=_0x54453f;console[_0x28c74e(0xb1)](_0x212531),this[_0x28c74e(0x9a)](),_0x355313&&(this[_0x28c74e(0x1c4)]=_0x355313),this[_0x28c74e(0x12e)]=!0x0;});}[_0x4eae33(0x95)](_0x285bbc,_0x402bce){const _0x5f0e60=_0x4eae33,_0xb2124c=this[_0x5f0e60(0x197)][_0x5f0e60(0xbf)](_0x285bbc);return _0xb2124c['on'](_0x5f0e60(0xef),(_0x484867,_0x985a86,_0x43efb0)=>_0x402bce(_0x985a86,_0x43efb0,_0xb2124c)),this[_0x5f0e60(0x197)][_0x5f0e60(0x10e)](_0xb2124c),_0xb2124c;}[_0x4eae33(0x119)](_0x32e1c5){const _0x328e36=_0x4eae33;if(!_0x32e1c5||_0x32e1c5[_0x328e36(0x1bd)])return Promise[_0x328e36(0x88)]();{const _0x38b1af=this[_0x328e36(0x166)][_0x328e36(0x1a0)][_0x328e36(0x10b)](_0x328e36(0x144));return this[_0x328e36(0x10c)][_0x328e36(0x165)]({'channelId':_0x38b1af,'revisionId':_0x32e1c5['id']})[_0x328e36(0x1a6)](_0xb121a7=>{const _0x524091=_0x328e36;_0x32e1c5[_0x524091(0xef)]({'diffData':_0xb121a7[_0x524091(0x1bd)]},!0x0);});}}[_0x4eae33(0x9a)](){const _0x467197=_0x4eae33;this[_0x467197(0x128)]=null,this[_0x467197(0x100)](),this[_0x467197(0x1cb)]&&this[_0x467197(0x1cb)][_0x467197(0x135)](),this[_0x467197(0x1cb)]=null,this[_0x467197(0x136)][_0x467197(0xf2)](),this[_0x467197(0x166)][_0x467197(0xd3)][_0x467197(0x1a4)]({'isUndoable':!0x1},_0x22bde0=>{const _0x153111=_0x467197;for(const _0x5f3373 of this[_0x153111(0x166)][_0x153111(0xd3)][_0x153111(0x1a8)][_0x153111(0x158)]())_0x22bde0[_0x153111(0x15b)](_0x5f3373);});}[_0x4eae33(0xfe)](_0x57041f){const _0x43abb6=_0x4eae33,_0x36caee=[],_0x189de6=new Map();for(const _0x4af25b of this[_0x43abb6(0x166)][_0x43abb6(0xd3)][_0x43abb6(0x1a8)][_0x43abb6(0x158)]()){const _0x1dcdef=this[_0x43abb6(0x166)][_0x43abb6(0x19d)][_0x43abb6(0xfc)][_0x43abb6(0x1a9)](_0x4af25b);if(!_0x1dcdef)continue;const _0x4657a5=_0x1dcdef[_0x43abb6(0x1ab)]()[_0x43abb6(0x151)](0x0);_0x4657a5&&(_0x36caee[_0x43abb6(0x187)](_0x4af25b),_0x189de6[_0x43abb6(0x12c)](_0x4af25b,_0x4657a5));}return _0x36caee[_0x43abb6(0x120)]((_0x268e07,_0x13ba17)=>{const _0x80935c=_0x43abb6,_0x238c0a=_0x189de6[_0x80935c(0x10b)](_0x268e07),_0x2a9f18=_0x189de6[_0x80935c(0x10b)](_0x13ba17);return _0x238c0a['y']-_0x2a9f18['y']||_0x238c0a['x']-_0x2a9f18['x'];}),(_0x57041f=_0x57041f[_0x43abb6(0x145)](_0x11449a=>_0x36caee[_0x43abb6(0x1cf)](_0x11449a[_0x43abb6(0xfd)])))[_0x43abb6(0x120)]((_0x444b3a,_0x14eb38)=>_0x36caee[_0x43abb6(0xd9)](_0x444b3a[_0x43abb6(0xfd)])-_0x36caee[_0x43abb6(0xd9)](_0x14eb38[_0x43abb6(0xfd)])),_0x57041f;}[_0x4eae33(0x139)](_0x118be3){const _0x358eda=_0x4eae33,_0x48c991=Array[_0x358eda(0xad)](_0x118be3[_0x358eda(0x1c3)])[_0x358eda(0x145)](([_0x1f05d0,_0x4f6585])=>_0x1f05d0[_0x358eda(0x8b)](_0x358eda(0xb8))&&!_0x4f6585[_0x358eda(0xca)]),_0x1ef628=Array[_0x358eda(0xad)](this[_0x358eda(0x166)][_0x358eda(0xd3)][_0x358eda(0x182)](_0x118be3)[_0x358eda(0x111)]({'singleCharacters':!0x0}));if(0x0!=_0x48c991[_0x358eda(0xa5)])for(const _0x9712ef of _0x1ef628){const [_0x431321,_0x47f1b3]=_0x48c991[0x0],[,_0x3d0585,_0x58a640]=_0x431321[_0x358eda(0xe5)](':');if(_0x47f1b3[_0x358eda(0x18c)][_0x358eda(0x160)](_0x9712ef[_0x358eda(0x110)])&&_0x48c991[_0x358eda(0x154)](),(_0x9712ef[_0x358eda(0xe3)][_0x358eda(0x160)](_0x47f1b3[_0x358eda(0x134)])||_0x9712ef[_0x358eda(0xe3)][_0x358eda(0x168)](_0x47f1b3[_0x358eda(0x134)]))&&(_0x358eda(0xff)==_0x3d0585?_0x9712ef[_0x358eda(0x13a)]={'userId':_0x58a640}:_0x358eda(0x13c)==_0x3d0585&&(_0x9712ef[_0x358eda(0x11c)]={'userId':_0x58a640})),0x0==_0x48c991[_0x358eda(0xa5)])break;}return _0x1ef628;}[_0x4eae33(0x1ad)](_0x209297){const _0xc0290a=_0x4eae33,_0x53fc27=new Map();for(let _0x53ba66=0x0;_0x53ba66<_0x209297[_0xc0290a(0xa5)];_0x53ba66++)_0xc0290a(0x183)===_0x209297[_0x53ba66][_0xc0290a(0x106)]?(_0x209297[_0x53ba66][_0xc0290a(0x151)][_0xc0290a(0x1c8)]=_0x53ba66,_0x209297[_0x53ba66][_0xc0290a(0x151)][_0xc0290a(0x9d)]=_0x53ba66):(_0xc0290a(0x9e)===_0x209297[_0x53ba66][_0xc0290a(0x106)]?_0x209297[_0x53ba66][_0xc0290a(0x151)][_0xc0290a(0x1c8)]=_0x53ba66:_0xc0290a(0x107)===_0x209297[_0x53ba66][_0xc0290a(0x106)]&&(_0x209297[_0x53ba66][_0xc0290a(0x151)][_0xc0290a(0x9d)]=_0x53ba66),_0x53fc27[_0xc0290a(0x12c)](_0x209297[_0x53ba66]['id'],_0x53ba66));for(const _0x1b8035 of _0x53fc27[_0xc0290a(0x132)]())_0xc0290a(0x9e)===_0x209297[_0x1b8035][_0xc0290a(0x106)]?_0x209297[_0x1b8035][_0xc0290a(0x151)][_0xc0290a(0x9d)]=_0x53fc27[_0xc0290a(0x10b)](_0x209297[_0x1b8035][_0xc0290a(0x114)]):_0xc0290a(0x107)===_0x209297[_0x1b8035][_0xc0290a(0x106)]&&(_0x209297[_0x1b8035][_0xc0290a(0x151)][_0xc0290a(0x1c8)]=_0x53fc27[_0xc0290a(0x10b)](_0x209297[_0x1b8035][_0xc0290a(0x114)]));}[_0x4eae33(0x17a)](_0x38dcc4){const _0x3227ca=_0x4eae33;for(let _0x2a5867=0x0;_0x2a5867<_0x38dcc4[_0x3227ca(0xa5)];_0x2a5867++){if(_0x3227ca(0x9e)===_0x38dcc4[_0x2a5867][_0x3227ca(0x106)])_0x38dcc4[_0x2a5867][_0x3227ca(0x151)][_0x3227ca(0x1c8)]=_0x2a5867;else{if(_0x3227ca(0x107)===_0x38dcc4[_0x2a5867][_0x3227ca(0x106)]){_0x38dcc4[_0x2a5867][_0x3227ca(0x151)][_0x3227ca(0x9d)]=_0x2a5867;const _0x2feccf=_0x38dcc4[_0x2a5867][_0x3227ca(0x151)][_0x3227ca(0x1c8)];_0x38dcc4[_0x2feccf][_0x3227ca(0x114)]=_0x38dcc4[_0x2a5867]['id'],_0x38dcc4[_0x2a5867][_0x3227ca(0x114)]=_0x38dcc4[_0x2feccf]['id'];}else _0x38dcc4[_0x2a5867][_0x3227ca(0x151)][_0x3227ca(0x1c8)]=_0x2a5867,_0x38dcc4[_0x2a5867][_0x3227ca(0x151)][_0x3227ca(0x9d)]=_0x2a5867,_0x38dcc4[_0x2a5867][_0x3227ca(0x114)]=null;}_0x38dcc4[_0x2a5867][_0x3227ca(0x98)]||(_0x38dcc4[_0x2a5867][_0x3227ca(0x98)]=[],_0x38dcc4[_0x2a5867][_0x3227ca(0xaf)]=[]);}}[_0x4eae33(0x156)](_0x1b7c8c,_0x31dc1e){const _0xcaa592=_0x4eae33,_0x4229ff=_0x1b7c8c[_0xcaa592(0x145)](_0x8c3069=>!_0x8c3069[_0xcaa592(0x13a)]);for(let _0x182355=0x0;_0x182355<_0x31dc1e[_0xcaa592(0xa5)];_0x182355++)_0x31dc1e[_0x182355][_0xcaa592(0x13a)]&&(_0x4229ff[_0x182355][_0xcaa592(0x13a)]=_0x31dc1e[_0x182355][_0xcaa592(0x13a)]);}[_0x4eae33(0x1ba)](_0x4a218f){const _0x52b793=_0x4eae33,_0x3549bb=JSON[_0x52b793(0x16a)](_0x4a218f),_0x266d7e=this[_0x52b793(0x166)][_0x52b793(0x19d)][_0x52b793(0xfc)][_0x52b793(0x1a8)],_0x14adbb=new _0x69cd0c(_0x266d7e,_0x3549bb[_0x52b793(0x155)](_0x5905cb=>this[_0x52b793(0x18f)](_0x5905cb)));return this[_0x52b793(0x166)][_0x52b793(0xec)][_0x52b793(0x16c)](_0x14adbb);}[_0x4eae33(0x18f)](_0x4c9335){const _0x4c2eeb=_0x4eae33,_0x150d3a=this[_0x4c2eeb(0x166)][_0x4c2eeb(0x19d)][_0x4c2eeb(0xfc)][_0x4c2eeb(0x1a8)];if(_0x4c2eeb(0xac)==typeof _0x4c9335)return new _0x52db34(_0x150d3a,_0x4c9335);{const _0xfc5cbf=_0x4c9335[_0x4c2eeb(0xcf)][_0x4c2eeb(0x155)](_0x49ece8=>this[_0x4c2eeb(0x18f)](_0x49ece8));return new(tt[_0x4c9335[(_0x4c2eeb(0x106))]]||_0x5332c1)(_0x150d3a,_0x4c9335[_0x4c2eeb(0x1cd)],_0x4c9335[_0x4c2eeb(0x142)],_0xfc5cbf);}}[_0x4eae33(0x9b)](_0x3c1f21,_0x278829=null){const _0x2c2d3a=_0x4eae33,_0x56f567=this[_0x2c2d3a(0x197)][_0x2c2d3a(0x165)](_0x3c1f21),_0xde97f4=_0x278829?this[_0x2c2d3a(0x197)][_0x2c2d3a(0x165)](_0x278829):null,_0x287087=this[_0x2c2d3a(0xe6)](_0x56f567,_0xde97f4),_0x4f1a62=_0x287087[_0x287087[_0x2c2d3a(0xa5)]-0x1],_0x82617c=new Map(),_0x54cfe3={'model':{},'attributes':{},'changes':[]},_0x2c08bd=new Set(),_0x49d7ad=new Map();for(let _0x2a27e2=_0x287087[_0x2c2d3a(0xa5)]-0x1;_0x2a27e2>=0x0;_0x2a27e2--){const _0x5acdfc=_0x287087[_0x2a27e2];for(const _0x5414ae of Object[_0x2c2d3a(0xb6)](_0x5acdfc[_0x2c2d3a(0x1bd)]))if(_0x5acdfc[_0x2c2d3a(0x1bd)][_0x5414ae][_0x2c2d3a(0x116)]){const _0x5b9d68=_0x5acdfc[_0x2c2d3a(0x1bd)][_0x5414ae][_0x2c2d3a(0x116)];_0x5b9d68[_0x2c2d3a(0x17f)]?(_0x2c08bd[_0x2c2d3a(0x152)](_0x5414ae),_0x49d7ad[_0x2c2d3a(0xcc)](_0x5414ae)&&_0x49d7ad[_0x2c2d3a(0x10b)](_0x5414ae)[_0x2c2d3a(0xbe)]==_0x5b9d68[_0x2c2d3a(0xbe)]?_0x49d7ad[_0x2c2d3a(0x14e)](_0x5414ae):_0x49d7ad[_0x2c2d3a(0x12c)](_0x5414ae,_0x5b9d68)):_0x49d7ad[_0x2c2d3a(0xcc)](_0x5414ae)?(_0x2c08bd[_0x2c2d3a(0x14e)](_0x5414ae),_0x49d7ad[_0x2c2d3a(0x14e)](_0x5414ae)):(_0x2c08bd[_0x2c2d3a(0x152)](_0x5414ae),_0x49d7ad[_0x2c2d3a(0x12c)](_0x5414ae,_0x5b9d68));}else _0x2c08bd[_0x2c2d3a(0x152)](_0x5414ae);}for(const _0x29334f of _0x2c08bd){const _0x3527c8=_0x49d7ad[_0x2c2d3a(0xcc)](_0x29334f)&&!_0x49d7ad[_0x2c2d3a(0x10b)](_0x29334f)[_0x2c2d3a(0x17f)];let _0x4eac7a=_0x3527c8?_0x287087[_0x2c2d3a(0xa5)]-0x1:0x0;const _0x56e893=_0x3527c8?-0x1:0x1;for(;_0x287087[_0x4eac7a];){const _0x2c894e=_0x287087[_0x4eac7a];if(_0x2c894e[_0x2c2d3a(0x1bd)][_0x29334f]){const _0x59432a=_0x3527c8?_0x2c894e[_0x2c2d3a(0x1bd)][_0x29334f][_0x2c2d3a(0xaa)]:_0x2c894e[_0x2c2d3a(0x1bd)][_0x29334f][_0x2c2d3a(0xbb)];_0x54cfe3[_0x2c2d3a(0x142)][_0x29334f]=_0x59432a?_0x553ba9(_0x59432a):{};break;}_0x4eac7a+=_0x56e893;}}for(const _0x1da98b of _0x287087){_0x1da98b[_0x2c2d3a(0xd3)]={};for(const _0x578b71 of _0x1da98b[_0x2c2d3a(0x105)])_0x82617c[_0x2c2d3a(0x12c)](_0x578b71['id'],_0x578b71);for(const _0x1e0464 of _0x2c08bd){const _0x4abc24=_0x1da98b[_0x2c2d3a(0x1bd)][_0x1e0464]?_0x1da98b[_0x2c2d3a(0x1bd)][_0x1e0464][_0x2c2d3a(0xd2)]:'[]',_0x4d73ad=_0x1da98b[_0x2c2d3a(0x1bd)][_0x1e0464]?_0x1da98b[_0x2c2d3a(0x1bd)][_0x1e0464][_0x2c2d3a(0x16d)]:'[]';_0x1da98b[_0x2c2d3a(0xd3)][_0x1e0464]={'insertions':this[_0x2c2d3a(0x1ba)](_0x4abc24),'deletions':this[_0x2c2d3a(0x1ba)](_0x4d73ad)};}}for(const _0x446f1b of _0x2c08bd){let _0x63d4c1=null,_0x4373e9=0x0;const _0x50d4cf=new Map(Array[_0x2c2d3a(0xad)](_0x56f567[_0x2c2d3a(0xd3)][_0x446f1b][_0x2c2d3a(0xd2)][_0x2c2d3a(0x1c3)])[_0x2c2d3a(0x145)](([_0x3f86b4])=>!_0x3f86b4[_0x2c2d3a(0x8b)](_0x2c2d3a(0xb8))));let _0x405ae2=0x0;for(const _0x4c1778 of _0x287087){const _0x412e80=this[_0x2c2d3a(0x139)](_0x4c1778[_0x2c2d3a(0xd3)][_0x446f1b][_0x2c2d3a(0xd2)]);_0x4c1778==_0x56f567?(_0x63d4c1=_0x412e80,_0x4373e9=_0x63d4c1[_0x2c2d3a(0xa5)],_0x63d4c1[_0x2c2d3a(0xde)](_0x5c7db5=>{_0x5c7db5['id']=_0x405ae2++;}),this[_0x2c2d3a(0x17a)](_0x63d4c1)):this[_0x2c2d3a(0x156)](_0x63d4c1,_0x412e80);const _0x36e199=_0x63d4c1[_0x2c2d3a(0x145)](_0x3d8b5e=>!_0x3d8b5e[_0x2c2d3a(0x13a)])[_0x2c2d3a(0x155)](_0x129af1=>_0x129af1['id']);let _0x406ce3=0x0;const _0x3bb2b1=this[_0x2c2d3a(0x139)](_0x4c1778[_0x2c2d3a(0xd3)][_0x446f1b][_0x2c2d3a(0x16d)]);_0x3bb2b1[_0x2c2d3a(0xde)](_0x3660d6=>{const _0x2abffa=_0x2c2d3a;_0x3660d6[_0x2abffa(0x11c)]?_0x3660d6['id']=_0x4373e9++:_0x3660d6['id']=_0x36e199[_0x406ce3++];}),this[_0x2c2d3a(0x17a)](_0x3bb2b1),this[_0x2c2d3a(0x15d)](_0x63d4c1,_0x2c2d3a(0x13a)),this[_0x2c2d3a(0x15d)](_0x3bb2b1,_0x2c2d3a(0x11c)),_0x4c1778==_0x56f567&&this[_0x2c2d3a(0x10d)](_0x63d4c1,_0x50d4cf),_0x63d4c1=this[_0x2c2d3a(0xf7)](_0x63d4c1,_0x3bb2b1),this[_0x2c2d3a(0x1ad)](_0x63d4c1),this[_0x2c2d3a(0x15d)](_0x63d4c1,_0x2c2d3a(0x11c));}_0x63d4c1=_0x63d4c1[_0x2c2d3a(0x145)](_0x314a10=>!(_0x314a10[_0x2c2d3a(0x13a)]&&_0x314a10[_0x2c2d3a(0x11c)]));const _0x4f7ec5=new Map(_0x4f1a62[_0x2c2d3a(0xd3)][_0x446f1b][_0x2c2d3a(0x16d)][_0x2c2d3a(0x1c3)]),_0x18bc60=new Set(_0x50d4cf[_0x2c2d3a(0xb6)]());for(const _0x266033 of _0x4f7ec5[_0x2c2d3a(0xb6)]())_0x18bc60[_0x2c2d3a(0x14e)](_0x266033);this[_0x2c2d3a(0x181)](_0x63d4c1,_0x18bc60),this[_0x2c2d3a(0xc4)](_0x63d4c1),_0x63d4c1=this[_0x2c2d3a(0xf1)](_0x63d4c1),_0x63d4c1=this[_0x2c2d3a(0x13b)](_0x63d4c1),_0x63d4c1=this[_0x2c2d3a(0x164)](_0x63d4c1);const {root:_0x4f538f,changes:_0x2c52b5}=this[_0x2c2d3a(0x17c)](_0x63d4c1,_0x82617c,_0x446f1b);_0x54cfe3[_0x2c2d3a(0xd3)][_0x446f1b]=_0x4f538f;const _0x8f2b32=_0x49d7ad[_0x2c2d3a(0x10b)](_0x446f1b);if(_0x8f2b32){const _0x5a7d06=_0x82617c[_0x2c2d3a(0x10b)](_0x8f2b32[_0x2c2d3a(0xbe)]),_0x41c336=new _0x6fe7c({'author':_0x5a7d06,'type':_0x8f2b32[_0x2c2d3a(0x17f)]?_0x2c2d3a(0x152):_0x2c2d3a(0xc9),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x446f1b});_0x2c52b5[_0x2c2d3a(0x11f)](_0x41c336),_0x54cfe3[_0x2c2d3a(0x142)][_0x446f1b][_0x2c2d3a(0xf6)]=_0x41c336['id'];}_0x54cfe3[_0x2c2d3a(0xa3)]=_0x54cfe3[_0x2c2d3a(0xa3)][_0x2c2d3a(0xb2)](_0x2c52b5);}return _0x54cfe3;}[_0x4eae33(0x10d)](_0x37117a,_0x555f96){const _0x56ee91=_0x4eae33;for(let _0x17b30d=0x0;_0x17b30d<_0x37117a[_0x56ee91(0xa5)];_0x17b30d++)for(const [_0x655774,_0x3a7e01]of _0x555f96)_0x3a7e01[_0x56ee91(0x134)][_0x56ee91(0x160)](_0x37117a[_0x17b30d][_0x56ee91(0xe3)])&&_0x37117a[_0x17b30d][_0x56ee91(0x98)][_0x56ee91(0x187)](_0x655774),_0x3a7e01[_0x56ee91(0x18c)][_0x56ee91(0x160)](_0x37117a[_0x17b30d][_0x56ee91(0x110)])&&_0x37117a[_0x17b30d][_0x56ee91(0xaf)][_0x56ee91(0x187)](_0x655774);}[_0x4eae33(0xf7)](_0x6bdb22,_0x38a207){const _0x4d03c0=_0x4eae33;let _0x301a73=[],_0x1f2007=0x0,_0x5f9785=0x0;for(;_0x1f2007<_0x6bdb22[_0x4d03c0(0xa5)]||_0x5f9785<_0x38a207[_0x4d03c0(0xa5)];){const _0xc99475=_0x6bdb22[_0x1f2007]||{},_0x11fcfa=_0x38a207[_0x5f9785]||{};if(_0xc99475['id']==_0x11fcfa['id'])_0x1f2007++,_0x5f9785++,_0x301a73[_0x4d03c0(0x187)](_0xc99475);else{if(_0x11fcfa[_0x4d03c0(0x11c)]&&_0xc99475[_0x4d03c0(0x13a)]){const {commonTape:_0x2dd715,iEnd:_0x4ed968,jEnd:_0x4638d8}=this[_0x4d03c0(0x18b)](_0x6bdb22,_0x1f2007,_0x38a207,_0x5f9785);_0x301a73=_0x301a73[_0x4d03c0(0xb2)](_0x2dd715),_0x1f2007=_0x4ed968,_0x5f9785=_0x4638d8;}else _0x11fcfa[_0x4d03c0(0x11c)]?(_0x5f9785++,_0x301a73[_0x4d03c0(0x187)](_0x11fcfa)):(_0x1f2007++,_0x301a73[_0x4d03c0(0x187)](_0xc99475));}}return _0x301a73;}[_0x4eae33(0x181)](_0x1e0c7c,_0x18adb3){const _0x25d192=_0x4eae33,_0x4460f3=[];for(let _0x166327=0x0;_0x166327<_0x1e0c7c[_0x25d192(0xa5)];_0x166327++){for(let _0x174b26=0x0;_0x174b26<_0x1e0c7c[_0x166327][_0x25d192(0x98)][_0x25d192(0xa5)];_0x174b26++){const _0x45adfa=_0x1e0c7c[_0x166327][_0x25d192(0x98)][_0x174b26];if(!_0x18adb3[_0x25d192(0xcc)](_0x45adfa))continue;const {group:_0x165562,type:_0x143350,authorId:_0x516285}=_0x57caa(_0x45adfa);_0x25d192(0x196)!=_0x165562||_0x25d192(0xff)!=_0x143350&&_0x25d192(0x13c)!=_0x143350||(_0x4460f3[_0x25d192(0x11f)]({'type':_0x143350,'name':_0x45adfa,'userId':_0x516285}),_0x1e0c7c[_0x166327][_0x25d192(0x98)][_0x25d192(0x102)](_0x174b26,0x1),_0x174b26--);}_0x56bccc(_0x1e0c7c[_0x166327]);for(let _0x8d14da=0x0;_0x8d14da<_0x1e0c7c[_0x166327][_0x25d192(0xaf)][_0x25d192(0xa5)];_0x8d14da++){const _0x506537=_0x1e0c7c[_0x166327][_0x25d192(0xaf)][_0x8d14da];if(!_0x18adb3[_0x25d192(0xcc)](_0x506537))continue;const {group:_0x36f9c6,type:_0x4d5360}=_0x57caa(_0x506537);if(_0x25d192(0x196)!=_0x36f9c6||_0x25d192(0xff)!=_0x4d5360&&_0x25d192(0x13c)!=_0x4d5360)continue;_0x1e0c7c[_0x166327][_0x25d192(0xaf)][_0x25d192(0x102)](_0x8d14da,0x1),_0x8d14da--;const _0x4e300c=_0x4460f3[_0x25d192(0x1b4)](_0x2eb264=>_0x2eb264[_0x25d192(0x1cd)]==_0x506537);_0x4e300c>-0x1&&_0x4460f3[_0x25d192(0x102)](_0x4e300c,0x1);}}function _0x57caa(_0x5d2df2){const _0x4e5c66=_0x25d192,_0x4d9599=_0x5d2df2[_0x4e5c66(0xe5)](':');return{'group':_0x4d9599[0x0],'type':_0x4d9599[0x1],'subType':_0x4d9599[_0x4e5c66(0xa5)]>=0x5?_0x4d9599[0x2]:null,'id':_0x4d9599[_0x4e5c66(0xa5)]<0x5?_0x4d9599[0x2]:_0x4d9599[0x3],'authorId':_0x4d9599[_0x4e5c66(0xa5)]<0x5?_0x4d9599[0x3]:_0x4d9599[0x4],'markerCount':0x6==_0x4d9599[_0x4e5c66(0xa5)]?_0x4d9599[0x5]:null};}function _0x56bccc(_0x4f4f0a){const _0x5146ca=_0x25d192;for(let _0x5bfe8c=0x0;_0x5bfe8c<_0x4460f3[_0x5146ca(0xa5)];_0x5bfe8c++){if(_0x4f4f0a[_0x5146ca(0x13a)]&&_0x5146ca(0xff)==_0x4460f3[_0x5bfe8c][_0x5146ca(0x106)])return _0x4f4f0a[_0x5146ca(0x1c9)]=_0x4460f3[_0x5bfe8c],void delete _0x4f4f0a[_0x5146ca(0x13a)];if(!_0x4f4f0a[_0x5146ca(0x13a)]&&!_0x4f4f0a[_0x5146ca(0x11c)]&&_0x5146ca(0x13c)==_0x4460f3[_0x5bfe8c][_0x5146ca(0x106)])return void(_0x4f4f0a[_0x5146ca(0xb0)]=_0x4460f3[_0x5bfe8c]);}}}[_0x4eae33(0x15d)](_0x7a7dd5,_0x3b360f){const _0x14d8fc=_0x4eae33;let _0x2d4ebe=0x0,_0x2a2974=!0x1;const _0xcaa736=new Map();for(const _0x3c819b of _0x7a7dd5)_0x3c819b[_0x3b360f]?_0x2a2974&&(_0x2d4ebe++,_0x2a2974=!0x1):(_0x2d4ebe++,_0x2a2974=!0x0),_0xcaa736[_0x14d8fc(0x12c)](_0x3c819b['id'],_0x2d4ebe);for(let _0x10cef9=0x0;_0x10cef9<_0x7a7dd5[_0x14d8fc(0xa5)];_0x10cef9++){if(_0x14d8fc(0x11c)==_0x3b360f&&_0x7a7dd5[_0x10cef9][_0x14d8fc(0x13a)]||_0x14d8fc(0x13a)==_0x3b360f&&_0x7a7dd5[_0x10cef9][_0x14d8fc(0x11c)])continue;if(_0x14d8fc(0x183)==_0x7a7dd5[_0x10cef9][_0x14d8fc(0x106)]){_0x7a7dd5[_0x10cef9][_0x14d8fc(0x1be)]=0x0;continue;}const _0x1c0d05=_0xcaa736[_0x14d8fc(0x10b)](_0x7a7dd5[_0x10cef9][_0x14d8fc(0x114)]),_0x5b1789=_0xcaa736[_0x14d8fc(0x10b)](_0x7a7dd5[_0x10cef9]['id']);_0x7a7dd5[_0x10cef9][_0x14d8fc(0x1be)]=_0x1c0d05-_0x5b1789;}}[_0x4eae33(0xe6)](_0x36dc0e,_0x206354,_0x5955f1=!0x1){const _0x1aebf6=_0x4eae33,_0x2d388e=[];let _0x3aec88=this[_0x1aebf6(0x197)][_0x1aebf6(0x126)](_0x36dc0e),_0x71b1ae=this[_0x1aebf6(0x197)][_0x1aebf6(0x126)](_0x206354);for(-0x1==_0x71b1ae&&(_0x71b1ae=this[_0x1aebf6(0x197)][_0x1aebf6(0x1d6)][_0x1aebf6(0xa5)],_0x5955f1=!0x1);_0x3aec88<_0x71b1ae;)_0x2d388e[_0x1aebf6(0x187)](this[_0x1aebf6(0x197)][_0x1aebf6(0x165)](_0x3aec88)),_0x3aec88++;return _0x5955f1&&_0x2d388e[_0x1aebf6(0x187)](this[_0x1aebf6(0x197)][_0x1aebf6(0x165)](_0x3aec88)),_0x2d388e;}[_0x4eae33(0x18b)](_0x587a17,_0x588930,_0x18cf6d,_0x41fa6b){const _0x2cf5ae=_0x4eae33,_0x2d7686=this[_0x2cf5ae(0x166)][_0x2cf5ae(0xd3)][_0x2cf5ae(0xd8)];let _0x1e946c=_0x588930;for(;_0x587a17[_0x1e946c]&&_0x587a17[_0x1e946c][_0x2cf5ae(0x13a)];)_0x1e946c++;let _0xe465fd=_0x41fa6b;for(;_0x18cf6d[_0xe465fd]&&_0x18cf6d[_0xe465fd][_0x2cf5ae(0x11c)];)_0xe465fd++;_0x1ec379(_0x587a17,_0x588930,_0x1e946c),_0x1ec379(_0x18cf6d,_0x41fa6b,_0xe465fd);const _0x36b42a=_0x18cf6d[_0x2cf5ae(0x1a3)](_0x41fa6b,_0xe465fd)[_0x2cf5ae(0xb2)](_0x587a17[_0x2cf5ae(0x1a3)](_0x588930,_0x1e946c));return _0x36b42a[_0x2cf5ae(0x120)]((_0x2581fe,_0x2bd3a7)=>_0x2581fe[_0x2cf5ae(0x15f)]!=_0x2bd3a7[_0x2cf5ae(0x15f)]?_0x2581fe[_0x2cf5ae(0x15f)]-_0x2bd3a7[_0x2cf5ae(0x15f)]:_0x2581fe[_0x2cf5ae(0xbd)]!=_0x2bd3a7[_0x2cf5ae(0xbd)]?_0x2581fe[_0x2cf5ae(0xbd)]-_0x2bd3a7[_0x2cf5ae(0xbd)]:_0x2581fe[_0x2cf5ae(0x1be)]!=_0x2bd3a7[_0x2cf5ae(0x1be)]?_0x2bd3a7[_0x2cf5ae(0x1be)]-_0x2581fe[_0x2cf5ae(0x1be)]:!!_0x2581fe[_0x2cf5ae(0x13a)]!=!!_0x2bd3a7[_0x2cf5ae(0x13a)]?-0x1==_0x2581fe[_0x2cf5ae(0x15f)]||0x0==_0x2581fe[_0x2cf5ae(0x15f)]?_0x2581fe[_0x2cf5ae(0x13a)]?-0x1:0x1:_0x2581fe[_0x2cf5ae(0x13a)]?0x1:-0x1:_0x2581fe[_0x2cf5ae(0xce)]-_0x2bd3a7[_0x2cf5ae(0xce)]),{'commonTape':_0x36b42a,'iEnd':_0x1e946c,'jEnd':_0xe465fd};function _0x1ec379(_0x187a81,_0x30de20,_0x1e0520){const _0x40bd21=_0x2cf5ae;let _0x1a3462=-0x1,_0x4ee262=Number[_0x40bd21(0x190)],_0x1500d4=!0x0;for(let _0x2b91ad=_0x30de20;_0x2b91ad<_0x1e0520;_0x2b91ad++)if(_0x2d7686[_0x40bd21(0xdd)](_0x187a81[_0x2b91ad][_0x40bd21(0x151)])||(_0x1500d4=!0x1),_0x187a81[_0x2b91ad][_0x40bd21(0x151)][_0x40bd21(0x1c8)]<_0x30de20&&(_0x1a3462=_0x2b91ad),_0x187a81[_0x2b91ad][_0x40bd21(0x151)][_0x40bd21(0x9d)]>=_0x1e0520){_0x4ee262=_0x2b91ad;break;}_0x1500d4&&(_0x1a3462=_0x1e0520-0x1);for(let _0x2af2d8=_0x30de20;_0x2af2d8<_0x1e0520;_0x2af2d8++)_0x187a81[_0x2af2d8][_0x40bd21(0x15f)]=_0x2af2d8<=_0x1a3462?-0x1:_0x2af2d8<_0x4ee262?0x0:0x1,_0x187a81[_0x2af2d8][_0x40bd21(0xce)]=_0x2af2d8;let _0x38794c=0x0;for(let _0x5d1ded=_0x30de20;_0x5d1ded<=_0x1a3462;_0x5d1ded++)0x0==_0x187a81[_0x5d1ded][_0x40bd21(0x1be)]?_0x187a81[_0x5d1ded][_0x40bd21(0xbd)]=_0x38794c:(_0x38794c++,_0x187a81[_0x5d1ded][_0x40bd21(0xbd)]=_0x38794c,_0x38794c++);for(let _0x3199f0=_0x30de20;_0x3199f0<_0x1e0520;_0x3199f0++)0x0==_0x187a81[_0x3199f0][_0x40bd21(0x15f)]&&(_0x187a81[_0x3199f0][_0x40bd21(0xbd)]=_0x38794c);_0x38794c=0x0;for(let _0x3787c8=_0x1e0520-0x1;_0x3787c8>=_0x4ee262;_0x3787c8--)0x0==_0x187a81[_0x3787c8][_0x40bd21(0x1be)]?_0x187a81[_0x3787c8][_0x40bd21(0xbd)]=_0x38794c:(_0x38794c--,_0x187a81[_0x3787c8][_0x40bd21(0xbd)]=_0x38794c,_0x38794c--);}}[_0x4eae33(0xc4)](_0x8213d1){const _0x11d8a7=_0x4eae33,_0x37cc5a=new Map(),_0x3744c4=this[_0x11d8a7(0x166)][_0x11d8a7(0xd3)][_0x11d8a7(0xd8)];for(let _0x398a94=0x1;_0x398a94<_0x8213d1[_0x11d8a7(0xa5)];_0x398a94++){let _0x41b0aa,_0x382256,_0xc7197e;const _0x30810c=_0x8213d1[_0x398a94],_0x119930=_0x8213d1[_0x398a94-0x1];if(_0x11d8a7(0x183)==_0x30810c[_0x11d8a7(0x106)])continue;if(_0x30810c[_0x11d8a7(0x106)]!=_0x119930[_0x11d8a7(0x106)])continue;if(!_0x3744c4[_0x11d8a7(0x138)](_0x119930[_0x11d8a7(0x151)])||_0x3744c4[_0x11d8a7(0x1b8)](_0x119930[_0x11d8a7(0x151)]))continue;if(!_0x3744c4[_0x11d8a7(0x138)](_0x30810c[_0x11d8a7(0x151)])||_0x3744c4[_0x11d8a7(0x1b8)](_0x30810c[_0x11d8a7(0x151)]))continue;if((_0x8213d1[_0x398a94][_0x11d8a7(0x13a)]||_0x8213d1[_0x398a94][_0x11d8a7(0x1c9)])&&_0x8213d1[_0x398a94-0x1][_0x11d8a7(0x11c)])_0x41b0aa=_0x8213d1[_0x398a94],_0x382256=_0x8213d1[_0x398a94-0x1],_0xc7197e=_0x398a94-0x1;else{if(!_0x8213d1[_0x398a94][_0x11d8a7(0x11c)]||!_0x8213d1[_0x398a94-0x1][_0x11d8a7(0x13a)]&&!_0x8213d1[_0x398a94-0x1][_0x11d8a7(0x1c9)])continue;_0x41b0aa=_0x8213d1[_0x398a94-0x1],_0x382256=_0x8213d1[_0x398a94],_0xc7197e=_0x398a94;}const _0x2055d5=_0x41b0aa[_0x11d8a7(0xbd)]==_0x382256[_0x11d8a7(0xbd)],_0x584382=Math[_0x11d8a7(0x163)](_0x41b0aa[_0x11d8a7(0xbd)])<Math[_0x11d8a7(0x163)](_0x382256[_0x11d8a7(0xbd)])&&0x0==_0x382256[_0x11d8a7(0x1be)];(_0x2055d5||_0x584382)&&(_0x37cc5a[_0x11d8a7(0x12c)](_0x382256['id'],_0x41b0aa['id']),_0x8213d1[_0x11d8a7(0x102)](_0xc7197e,0x1),_0x398a94--,_0x41b0aa[_0x11d8a7(0x13a)]=!0x1);}for(let _0x5a3dec=0x0;_0x5a3dec<_0x8213d1[_0x11d8a7(0xa5)];_0x5a3dec++)_0x37cc5a[_0x11d8a7(0xcc)](_0x8213d1[_0x5a3dec][_0x11d8a7(0x114)])&&(_0x8213d1[_0x5a3dec][_0x11d8a7(0x114)]=_0x37cc5a[_0x11d8a7(0x10b)](_0x8213d1[_0x5a3dec][_0x11d8a7(0x114)]));}[_0x4eae33(0xf1)](_0x44ec9b){const _0x59d929=_0x4eae33,_0x30c42e=new Set(_0x44ec9b[_0x59d929(0x155)](_0x11a980=>_0x11a980['id']));for(let _0x32cd86=0x0;_0x32cd86<_0x44ec9b[_0x59d929(0xa5)];_0x32cd86++)_0x30c42e[_0x59d929(0xcc)](_0x44ec9b[_0x32cd86][_0x59d929(0x114)])||0x0==_0x44ec9b[_0x32cd86][_0x59d929(0x1be)]||(_0x44ec9b[_0x32cd86][_0x59d929(0xb9)]=!0x0);return _0x44ec9b[_0x59d929(0x145)](_0x276040=>!_0x276040[_0x59d929(0xb9)]);}[_0x4eae33(0x13b)](_0x35a611){const _0x43e8d2=_0x4eae33,_0x44e616=new Set();for(let _0x27bba7=0x0;_0x27bba7<_0x35a611[_0x43e8d2(0xa5)];_0x27bba7++){if(_0x44e616[_0x43e8d2(0xcc)](_0x35a611[_0x27bba7]['id'])&&_0x35a611[_0x27bba7][_0x43e8d2(0x11c)]&&(_0x35a611[_0x27bba7][_0x43e8d2(0xb9)]=!0x0),_0x35a611[_0x27bba7][_0x43e8d2(0xb9)])continue;if(0x0==_0x35a611[_0x27bba7][_0x43e8d2(0x1be)])continue;if(_0x43e8d2(0x9e)!=_0x35a611[_0x27bba7][_0x43e8d2(0x106)])continue;if(null==_0x35a611[_0x27bba7][_0x43e8d2(0x114)])continue;let _0x5818bc=_0x27bba7+0x1,_0x1dc330=0x0;for(;_0x35a611[_0x5818bc]['id']!=_0x35a611[_0x27bba7][_0x43e8d2(0x114)];)_0x43e8d2(0x9e)==_0x35a611[_0x5818bc][_0x43e8d2(0x106)]?_0x1dc330++:_0x43e8d2(0x107)==_0x35a611[_0x5818bc][_0x43e8d2(0x106)]&&_0x1dc330--,_0x5818bc++;if(0x0!=_0x1dc330){if(_0x35a611[_0x27bba7][_0x43e8d2(0x11c)])_0x35a611[_0x27bba7][_0x43e8d2(0xb9)]=!0x0;else{for(;_0x5818bc!=_0x27bba7;)_0x35a611[_0x5818bc][_0x43e8d2(0x11c)]&&0x0!=_0x35a611[_0x5818bc][_0x43e8d2(0x1be)]&&(_0x35a611[_0x5818bc][_0x43e8d2(0xb9)]=!0x0,_0x44e616[_0x43e8d2(0x152)](_0x35a611[_0x5818bc][_0x43e8d2(0x114)])),_0x5818bc--;}}}return _0x35a611[_0x43e8d2(0x145)](_0x2b6299=>!_0x2b6299[_0x43e8d2(0xb9)]);}[_0x4eae33(0x164)](_0x2e7dfe){const _0x3e61f2=_0x4eae33,_0x2c55f2=this[_0x3e61f2(0x166)][_0x3e61f2(0xd3)][_0x3e61f2(0xd8)];for(let _0x51e1f7=0x0;_0x51e1f7<_0x2e7dfe[_0x3e61f2(0xa5)];_0x51e1f7++){if(!(_0x2e7dfe[_0x51e1f7][_0x3e61f2(0x13a)]||_0x2e7dfe[_0x51e1f7][_0x3e61f2(0x1c9)]||_0x2e7dfe[_0x51e1f7][_0x3e61f2(0x11c)]||_0x2e7dfe[_0x51e1f7][_0x3e61f2(0xb0)]))continue;if(0x0==_0x2e7dfe[_0x51e1f7][_0x3e61f2(0x1be)])continue;const _0x4c8b66=_0x2e7dfe[_0x51e1f7][_0x3e61f2(0x151)];_0x2c55f2[_0x3e61f2(0x138)](_0x4c8b66)||_0x2c55f2[_0x3e61f2(0x1b8)](_0x4c8b66)||(_0x2e7dfe[_0x51e1f7][_0x3e61f2(0x13a)]&&delete _0x2e7dfe[_0x51e1f7][_0x3e61f2(0x13a)],_0x2e7dfe[_0x51e1f7][_0x3e61f2(0x1c9)]&&delete _0x2e7dfe[_0x51e1f7][_0x3e61f2(0x1c9)],_0x2e7dfe[_0x51e1f7][_0x3e61f2(0xb0)]&&delete _0x2e7dfe[_0x51e1f7][_0x3e61f2(0xb0)],_0x2e7dfe[_0x51e1f7][_0x3e61f2(0x11c)]&&(_0x2e7dfe[_0x51e1f7][_0x3e61f2(0xb9)]=!0x0));}return _0x2e7dfe[_0x3e61f2(0x145)](_0x510157=>!_0x510157[_0x3e61f2(0xb9)]);}[_0x4eae33(0x17c)](_0x3f30f8,_0x56bb56,_0x3af182){const _0x5ae68c=_0x4eae33,_0x17524a=new _0x5203da(),_0x1b119c=[],_0x510cae=new Map(),_0x2c5ea9=this[_0x5ae68c(0x166)][_0x5ae68c(0xd3)],_0x92e028=_0x2c5ea9[_0x5ae68c(0xd8)],_0x13456d=[_0x17524a],_0x56fe11={},_0x40fd91={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2d605e=null;const _0x3c53ae=[0x0];for(let _0x533343=0x0;_0x533343<_0x3f30f8[_0x5ae68c(0xa5)];_0x533343++){let _0x32084a,_0xc8af68;if(_0x5ae68c(0x9e)===_0x3f30f8[_0x533343][_0x5ae68c(0x106)]){_0x32084a=_0x2c5ea9[_0x5ae68c(0x1d3)](_0x17524a,_0x3c53ae);const _0x4f6dab=new _0x354db6(_0x3f30f8[_0x533343][_0x5ae68c(0x151)][_0x5ae68c(0x1cd)],_0x3f30f8[_0x533343][_0x5ae68c(0x151)][_0x5ae68c(0x146)]());_0x13456d[0x0][_0x5ae68c(0xcb)](_0x4f6dab),_0x3c53ae[_0x5ae68c(0x187)](0x0),_0x13456d[_0x5ae68c(0x11f)](_0x4f6dab),_0xc8af68=_0x2c5ea9[_0x5ae68c(0x1d3)](_0x17524a,_0x3c53ae),_0x2d605e=null;}else{if(_0x5ae68c(0x107)===_0x3f30f8[_0x533343][_0x5ae68c(0x106)])_0x13456d[_0x5ae68c(0x154)](),_0x32084a=_0x2c5ea9[_0x5ae68c(0x1d3)](_0x17524a,_0x3c53ae),_0x3c53ae[_0x5ae68c(0x169)](),_0x3c53ae[_0x3c53ae[_0x5ae68c(0xa5)]-0x1]++,_0xc8af68=_0x2c5ea9[_0x5ae68c(0x1d3)](_0x17524a,_0x3c53ae),_0x2d605e=null;else{if(_0x32084a=_0x2c5ea9[_0x5ae68c(0x1d3)](_0x17524a,_0x3c53ae),_0x2d605e&&_0x557c0f(_0x2d605e,_0x3f30f8[_0x533343][_0x5ae68c(0x151)]))_0x2d605e[_0x5ae68c(0xd1)]+=_0x3f30f8[_0x533343][_0x5ae68c(0x151)][_0x5ae68c(0xec)];else{const _0x4e42d7=new _0x2d533b(_0x3f30f8[_0x533343][_0x5ae68c(0x151)][_0x5ae68c(0xec)],_0x3f30f8[_0x533343][_0x5ae68c(0x151)][_0x5ae68c(0x146)]());_0x13456d[0x0][_0x5ae68c(0xcb)](_0x4e42d7),_0x2d605e=_0x4e42d7;}_0x3c53ae[_0x3c53ae[_0x5ae68c(0xa5)]-0x1]+=_0x3f30f8[_0x533343][_0x5ae68c(0x151)][_0x5ae68c(0xab)],_0xc8af68=_0x2c5ea9[_0x5ae68c(0x1d3)](_0x17524a,_0x3c53ae);}}for(const _0x3ad671 of _0x3f30f8[_0x533343][_0x5ae68c(0x98)])_0x510cae[_0x5ae68c(0x12c)](_0x3ad671,{'start':_0x32084a,'end':null});_0xa30310(_0x5ae68c(0xb0),_0x533343,_0x32084a,_0xc8af68),_0xa30310(_0x5ae68c(0x1c9),_0x533343,_0x32084a,_0xc8af68),_0xa30310(_0x5ae68c(0x11c),_0x533343,_0x32084a,_0xc8af68),_0xa30310(_0x5ae68c(0x13a),_0x533343,_0x32084a,_0xc8af68);for(const _0xb6b9d2 of _0x3f30f8[_0x533343][_0x5ae68c(0xaf)]){_0x510cae[_0x5ae68c(0x10b)](_0xb6b9d2)[_0x5ae68c(0x18c)]=_0xc8af68;}}for(const [_0x3e1a72,_0x18ecd7]of _0x510cae){const _0x4d1ffe=this[_0x5ae68c(0x166)][_0x5ae68c(0xd3)][_0x5ae68c(0xf0)](_0x18ecd7[_0x5ae68c(0x134)],_0x18ecd7[_0x5ae68c(0x18c)]);_0x17524a[_0x5ae68c(0x1c3)][_0x5ae68c(0x12c)](_0x3e1a72,_0x4d1ffe);}return _0x1b119c[_0x5ae68c(0x120)]((_0x1e9206,_0x24ea27)=>{const _0x333787=_0x5ae68c,_0xfd354a=_0x17524a[_0x333787(0x1c3)][_0x333787(0x10b)](_0x333787(0xb8)+_0x1e9206['id']),_0x3b516d=_0x17524a[_0x333787(0x1c3)][_0x333787(0x10b)](_0x333787(0xb8)+_0x24ea27['id']);return _0xfd354a[_0x333787(0x134)][_0x333787(0x15a)](_0x3b516d[_0x333787(0x134)])?-0x1:_0xfd354a[_0x333787(0x134)][_0x333787(0x168)](_0x3b516d[_0x333787(0x134)])?0x1:_0xfd354a[_0x333787(0x18c)][_0x333787(0x15a)](_0x3b516d[_0x333787(0x18c)])?-0x1:_0xfd354a[_0x333787(0x18c)][_0x333787(0x168)](_0x3b516d[_0x333787(0x18c)])?0x1:_0x333787(0x152)===_0x1e9206[_0x333787(0x106)]?-0x1:0x1;}),{'root':_0x17524a,'changes':_0x1b119c};function _0xa30310(_0x2842e7,_0x3a3792,_0xc320f5,_0x20ac99){const _0x285a56=_0x5ae68c,_0x1526d6=!!_0x3f30f8[_0x3a3792][_0x2842e7],_0x747d9=_0x1526d6?_0x3f30f8[_0x3a3792][_0x2842e7][_0x285a56(0xbe)]:null,_0x4e4d6f=_0x3a3792===_0x3f30f8[_0x285a56(0xa5)]-0x1,_0x3fb89a=_0x40fd91[_0x2842e7][0x0],_0x3dd37b=_0x92e028[_0x285a56(0x1c5)](_0x3f30f8[_0x3a3792][_0x285a56(0x151)]);!_0x56fe11[_0x2842e7]&&_0x1526d6?_0x56fe11[_0x2842e7]={'start':_0xc320f5,'tapeItem':_0x3f30f8[_0x3a3792],'userId':_0x747d9,'type':_0x2842e7}:_0x56fe11[_0x2842e7]&&!_0x1526d6?(_0x56fe11[_0x2842e7][_0x285a56(0x18c)]=_0xc320f5,_0x50e7d1(_0x56fe11[_0x2842e7]),_0x56fe11[_0x2842e7]=null):_0x56fe11[_0x2842e7]&&_0x1526d6&&_0x56fe11[_0x2842e7][_0x285a56(0xbe)]!==_0x747d9&&(_0x56fe11[_0x2842e7][_0x285a56(0x18c)]=_0xc320f5,_0x3fb89a&&_0x3fb89a[_0x285a56(0xbe)]===_0x56fe11[_0x2842e7][_0x285a56(0xbe)]||_0x50e7d1(_0x56fe11[_0x2842e7]),_0x56fe11[_0x2842e7]={'start':_0xc320f5,'tapeItem':_0x3f30f8[_0x3a3792],'userId':_0x747d9,'type':_0x2842e7}),_0x56fe11[_0x2842e7]&&_0x3dd37b&&(_0x285a56(0x9e)!==_0x3f30f8[_0x3a3792][_0x285a56(0x106)]||_0x3fb89a&&_0x3fb89a[_0x285a56(0xbe)]===_0x747d9||_0x40fd91[_0x2842e7][_0x285a56(0x11f)]({'userId':_0x747d9,'object':_0x3f30f8[_0x3a3792][_0x285a56(0x151)],'change':_0x56fe11[_0x2842e7]}),_0x285a56(0x107)===_0x3f30f8[_0x3a3792][_0x285a56(0x106)]&&_0x3fb89a&&_0x3fb89a[_0x285a56(0x10f)]===_0x3f30f8[_0x3a3792][_0x285a56(0x151)]&&(_0x40fd91[_0x2842e7][_0x285a56(0x154)](),_0x56fe11[_0x2842e7]=_0x3fb89a[_0x285a56(0x11a)])),_0x56fe11[_0x2842e7]&&_0x4e4d6f&&(_0x56fe11[_0x2842e7][_0x285a56(0x18c)]=_0x20ac99,_0x50e7d1(_0x56fe11[_0x2842e7]),_0x56fe11[_0x2842e7]=null);}function _0x50e7d1({start:_0x2cd428,end:_0x504b21,tapeItem:_0x54b151,userId:_0x529e71,type:_0x2af4f6}){const _0x1cdb29=_0x5ae68c,_0x5194f9=_0x54b151[_0x1cdb29(0x151)],_0x2b9328=_0x2c5ea9[_0x1cdb29(0xd8)][_0x1cdb29(0x138)](_0x5194f9)&&!_0x2c5ea9[_0x1cdb29(0xd8)][_0x1cdb29(0x1b8)](_0x5194f9),_0x43d25d=_0x2cd428[_0x1cdb29(0x11d)]==_0x504b21[_0x1cdb29(0x191)]&&_0x504b21[_0x1cdb29(0x1cc)];if(_0x2b9328&&_0x43d25d)return;const _0x2a61d2=_0x2c5ea9[_0x1cdb29(0xf0)](_0x2cd428,_0x504b21),_0x31a6ed=_0x56bb56[_0x1cdb29(0x10b)](_0x529e71),_0x4d8eb4=new _0x6fe7c({'author':_0x31a6ed,'type':_0x1cdb29(0x13a)==_0x2af4f6||_0x1cdb29(0x1c9)==_0x2af4f6?_0x1cdb29(0x152):_0x1cdb29(0xc9),'data':{'isSuggestion':_0x1cdb29(0x1c9)==_0x2af4f6||_0x1cdb29(0xb0)==_0x2af4f6},'createdAt':new Date(),'rootName':_0x3af182});_0x1b119c[_0x1cdb29(0x187)](_0x4d8eb4),_0x17524a[_0x1cdb29(0x1c3)][_0x1cdb29(0x12c)](_0x1cdb29(0xb8)+_0x4d8eb4['id'],_0x2a61d2);}function _0x557c0f(_0x326076,_0x3510c8){const _0x2e3313=_0x5ae68c,_0x1a3cf0=_0x326076[_0x2e3313(0x146)](),_0x39091f=_0x3510c8[_0x2e3313(0x146)]();for(const _0x4bdfef of _0x1a3cf0){if(_0x4bdfef[0x1]!==_0x3510c8[_0x2e3313(0xa8)](_0x4bdfef[0x0]))return!0x1;_0x39091f[_0x2e3313(0xf4)]();}return _0x39091f[_0x2e3313(0xf4)]()[_0x2e3313(0x19b)];}}[_0x4eae33(0x176)](){const _0x271636=_0x4eae33;this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x18e))[_0x271636(0x8c)]({'view':_0x271636(0x1ae)}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x172))[_0x271636(0xcd)]({'model':_0x271636(0x1ae),'view':_0x26072c=>{const _0x2621a1=_0x271636,_0x1b6dfe=_0x26072c[_0x2621a1(0x1c2)][_0x2621a1(0xe5)](':')[0x1],_0x89a029=this[_0x2621a1(0x177)](_0x1b6dfe);if(!_0x89a029)return null;const _0x850b2f=_0x2621a1(0x152)==_0x89a029[_0x2621a1(0x106)]?_0x2621a1(0xff):_0x2621a1(0x13c),_0x36c526=[_0x2621a1(0x127),_0x2621a1(0x159)+_0x850b2f];return _0x89a029[_0x2621a1(0xec)][_0x2621a1(0xf9)]&&_0x36c526[_0x2621a1(0x187)](_0x2621a1(0x159)+_0x850b2f+_0x2621a1(0x174)),this[_0x2621a1(0x128)]==_0x89a029&&_0x36c526[_0x2621a1(0x187)](_0x2621a1(0x19a)),{'classes':_0x36c526,'attributes':{'data-change-id':_0x1b6dfe}};}}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x18e))[_0x271636(0x152)](_0x12cbbb=>{const _0x4ea956=_0x271636;_0x12cbbb['on'](_0x4ea956(0x1b1),(_0x2f6c65,_0x84485a,_0x59ac27)=>{const _0x4c1af3=_0x4ea956,_0x162e94=_0x84485a[_0x4c1af3(0x189)][_0x4c1af3(0x1a2)](0x0);if(!_0x162e94||!_0x162e94['is'](_0x4c1af3(0xda),_0x4c1af3(0x198)))return;if(!_0x59ac27[_0x4c1af3(0x8d)][_0x4c1af3(0x1d7)](_0x162e94,{'attributes':[_0x4c1af3(0x171),_0x4c1af3(0xe7)]}))return;const _0x5feb93=_0x84485a[_0x4c1af3(0xa1)][_0x4c1af3(0x134)][_0x4c1af3(0x11d)];_0x59ac27[_0x4c1af3(0xe1)][_0x4c1af3(0x9c)](_0x4c1af3(0x171),_0x162e94[_0x4c1af3(0xa8)](_0x4c1af3(0x171)),_0x5feb93),_0x59ac27[_0x4c1af3(0xe1)][_0x4c1af3(0x9c)](_0x4c1af3(0xe7),_0x162e94[_0x4c1af3(0xa8)](_0x4c1af3(0xe7)),_0x5feb93);},{'priority':_0x4ea956(0x14b)});}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x18e))[_0x271636(0x152)](_0xa9cb03=>{const _0x10ffc5=_0x271636;_0xa9cb03['on'](_0x10ffc5(0xda),(_0x2c4237,_0x559389,_0x5dae6f)=>{const _0x4c0087=_0x10ffc5;if(!_0x5dae6f[_0x4c0087(0x8d)][_0x4c0087(0x1d7)](_0x559389[_0x4c0087(0x189)],{'attributes':[_0x4c0087(0x171),_0x4c0087(0xe7)]}))return;if(_0x559389[_0x4c0087(0xa1)][_0x4c0087(0xca)])return;const _0x53522a=_0x559389[_0x4c0087(0xa1)][_0x4c0087(0x134)][_0x4c0087(0x11d)];_0x53522a[_0x4c0087(0x113)](_0x4c0087(0x171))||_0x53522a[_0x4c0087(0x113)](_0x4c0087(0xe4))||(_0x5dae6f[_0x4c0087(0xe1)][_0x4c0087(0x9c)](_0x4c0087(0x171),_0x559389[_0x4c0087(0x189)][_0x4c0087(0xa8)](_0x4c0087(0x171)),_0x53522a),_0x5dae6f[_0x4c0087(0xe1)][_0x4c0087(0x9c)](_0x4c0087(0xe7),_0x559389[_0x4c0087(0x189)][_0x4c0087(0xa8)](_0x4c0087(0xe7)),_0x53522a));},{'priority':_0x10ffc5(0x14b)});}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x18e))[_0x271636(0x1ca)]({'view':{'name':_0x271636(0x115),'attributes':{'vid':!0x0}},'model':{'key':_0x271636(0xe4),'value':_0x20dd29=>_0x20dd29[_0x271636(0xa8)](_0x271636(0xe4))}}),this[_0x271636(0x166)][_0x271636(0xd3)][_0x271636(0xd8)]['on'](_0x271636(0x140),(_0x1e5ecc,[,_0x36871b])=>{const _0x5d1a81=_0x271636;[_0x5d1a81(0x171),_0x5d1a81(0xe7),_0x5d1a81(0xe4)][_0x5d1a81(0x1cf)](_0x36871b)&&(_0x1e5ecc[_0x5d1a81(0x122)]=!0x0,_0x1e5ecc[_0x5d1a81(0x147)]());},{'priority':_0x271636(0xf5)}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x1a5))[_0x271636(0x152)](_0x1eb3e6=>{const _0x2463c1=_0x271636;_0x1eb3e6['on'](_0x2463c1(0x1bc),(_0x3a9083,_0x470784,_0x514bb3)=>{const _0x597f28=_0x2463c1;if('\x20'!=_0x470784[_0x597f28(0x151)][_0x597f28(0xec)]||_0x470784[_0x597f28(0x151)][_0x597f28(0x191)][_0x597f28(0x193)]>0x1)return;if(!_0x514bb3[_0x597f28(0x8d)][_0x597f28(0x1d7)](_0x470784[_0x597f28(0x151)],_0x3a9083[_0x597f28(0x1cd)]))return;const _0x28056c=_0x514bb3[_0x597f28(0xe1)],_0x3c2a95=_0x514bb3[_0x597f28(0xa6)][_0x597f28(0x93)](_0x470784[_0x597f28(0x121)]);_0x28056c[_0x597f28(0x1ce)](_0x3c2a95,_0x28056c[_0x597f28(0x1d1)](_0x597f28(0x115)));});}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x1a5))[_0x271636(0x185)]({'model':_0x271636(0x1ae)}),this[_0x271636(0x166)][_0x271636(0x19d)][_0x271636(0x8f)]['on'](_0x271636(0x199),function(_0x221e8d){const _0x2969cc=_0x271636,_0x4546ff=_0x221e8d[_0x2969cc(0x162)][_0x2969cc(0x10b)](_0x2969cc(0x18a));return(_0x22a86f,_0xb1dd77,_0x41f5ba)=>{const _0x37552b=_0x2969cc,_0x2a215c=_0xb1dd77[_0x37552b(0x1c2)][_0x37552b(0xe5)](':')[0x1],_0x1039cd=_0x4546ff[_0x37552b(0x177)](_0x2a215c);if(!_0x1039cd)return null;const _0xa75860=_0x37552b(0x152)==_0x1039cd[_0x37552b(0x106)]?_0x37552b(0xe5):_0x37552b(0x170);if(!_0x41f5ba[_0x37552b(0x8d)][_0x37552b(0x14d)](_0xb1dd77[_0x37552b(0x94)],_0x22a86f[_0x37552b(0x1cd)]))return;const _0x147df7=_0xb1dd77[_0x37552b(0x94)][_0x37552b(0x111)](),_0x1ec016=_0xb1dd77[_0x37552b(0x94)][_0x37552b(0x134)],_0x30f70e=_0x221e8d[_0x37552b(0xd3)][_0x37552b(0xd8)];let _0x35a436=null,_0x4584bf=null,_0x3bb432=!0x1,_0x85f78a=!0x1;for(const _0x2a8c99 of _0x147df7){const _0x2ce28b=_0x2a8c99[_0x37552b(0x151)];_0x3bb432=_0x3bb432||_0x30f70e[_0x37552b(0x97)](_0x2ce28b);const _0x6ebd72=_0x41f5ba[_0x37552b(0xa6)][_0x37552b(0x149)](_0x2ce28b);if(_0x6ebd72&&_0x6ebd72[_0x37552b(0x13f)](_0x37552b(0x153)))return;_0x37552b(0x107)==_0x2a8c99[_0x37552b(0x106)]&&(_0x30f70e[_0x37552b(0x138)](_0x2ce28b)&&!_0x30f70e[_0x37552b(0x1b8)](_0x2ce28b)&&(_0x2ce28b[_0x37552b(0xe0)]||_0x1ec016[_0x37552b(0x92)]?_0x35a436&&_0x35a436[_0x37552b(0x191)]==_0x2ce28b||(_0x35a436=_0x2ce28b,_0x4a8424(_0x2a8c99[_0x37552b(0xe3)]),_0x85f78a=!0x0):_0x4584bf=_0x4584bf||_0x2a8c99[_0x37552b(0xe3)]));}function _0x4a8424(_0x3e7b0f){const _0x3d3b5a=_0x37552b,_0x5d673b=_0x41f5ba[_0x3d3b5a(0xe1)][_0x3d3b5a(0x1b5)](_0x3d3b5a(0x115),{'class':_0x3d3b5a(0x159)+_0xa75860}),_0x5b9927=_0x41f5ba[_0x3d3b5a(0xa6)][_0x3d3b5a(0xdb)](_0x3e7b0f);_0x1039cd[_0x3d3b5a(0xec)][_0x3d3b5a(0xf9)]&&_0x41f5ba[_0x3d3b5a(0xe1)][_0x3d3b5a(0xba)](_0x3d3b5a(0x159)+_0xa75860+_0x3d3b5a(0x174),_0x5d673b),_0x4546ff[_0x3d3b5a(0x128)]==_0x1039cd&&_0x41f5ba[_0x3d3b5a(0xe1)][_0x3d3b5a(0xba)](_0x3d3b5a(0x19a),_0x5d673b),_0x41f5ba[_0x3d3b5a(0xe1)][_0x3d3b5a(0x19e)](_0x5b9927,_0x5d673b),_0x41f5ba[_0x3d3b5a(0xa6)][_0x3d3b5a(0x1b2)](_0x5d673b,_0xb1dd77[_0x3d3b5a(0x1c2)]);}_0x3bb432||_0x85f78a||!_0x4584bf||_0x4a8424(_0x4584bf);};}(this[_0x271636(0x166)]),{'priority':_0x271636(0xfb)}),this[_0x271636(0x166)][_0x271636(0x19d)][_0x271636(0x8f)]['on'](_0x271636(0x188),(_0x118cb9,_0x358019,_0x30c7a0)=>{const _0x263458=_0x271636,_0x2aa84c=_0x30c7a0[_0x263458(0xa6)][_0x263458(0x125)](_0x358019[_0x263458(0x1c2)]);if(_0x2aa84c){for(const _0x205fbb of _0x2aa84c)(_0x205fbb[_0x263458(0xe2)](_0x263458(0xd4))||_0x205fbb[_0x263458(0xe2)](_0x263458(0xd0)))&&(_0x30c7a0[_0x263458(0xa6)][_0x263458(0x109)](_0x205fbb,_0x358019[_0x263458(0x1c2)]),_0x30c7a0[_0x263458(0xe1)][_0x263458(0xc9)](_0x205fbb));}},{'priority':_0x271636(0xfb)}),this[_0x271636(0x166)][_0x271636(0x19d)][_0x271636(0x8f)]['on'](_0x271636(0x199),(_0x591ff5,_0x9f5da,_0xe527e8)=>{const _0x52f7e9=_0x271636,_0x52fda4=_0x9f5da[_0x52f7e9(0x1c2)][_0x52f7e9(0xe5)](':')[0x1],_0xf15a8e=this[_0x52f7e9(0x177)](_0x52fda4);if(!_0xf15a8e)return null;const _0x176eb6=_0x52f7e9(0x152)==_0xf15a8e[_0x52f7e9(0x106)]?_0x52f7e9(0xe5):_0x52f7e9(0x170);if(_0xe527e8[_0x52f7e9(0x8d)][_0x52f7e9(0x14d)](_0x9f5da[_0x52f7e9(0x94)],_0x591ff5[_0x52f7e9(0x1cd)]))for(const _0x29cb9d of _0x9f5da[_0x52f7e9(0x94)][_0x52f7e9(0x112)]()){if(!_0x29cb9d['is'](_0x52f7e9(0xda),_0x52f7e9(0x17b)))continue;const _0x216af4=_0xe527e8[_0x52f7e9(0xe1)][_0x52f7e9(0x1b5)](_0x52f7e9(0x115),{'class':_0x52f7e9(0x159)+_0x176eb6}),_0x3b9d52=_0xe527e8[_0x52f7e9(0xa6)][_0x52f7e9(0xdb)](this[_0x52f7e9(0x166)][_0x52f7e9(0xd3)][_0x52f7e9(0x96)](_0x29cb9d));_0xf15a8e[_0x52f7e9(0xec)][_0x52f7e9(0xf9)]&&_0xe527e8[_0x52f7e9(0xe1)][_0x52f7e9(0xba)](_0x52f7e9(0x159)+_0x176eb6+_0x52f7e9(0x174),_0x216af4),this[_0x52f7e9(0x128)]==_0xf15a8e&&_0xe527e8[_0x52f7e9(0xe1)][_0x52f7e9(0xba)](_0x52f7e9(0x19a),_0x216af4),_0xe527e8[_0x52f7e9(0xe1)][_0x52f7e9(0x19e)](_0x3b9d52,_0x216af4),_0xe527e8[_0x52f7e9(0xa6)][_0x52f7e9(0x1b2)](_0x216af4,_0x9f5da[_0x52f7e9(0x1c2)]);}},{'priority':_0x271636(0xfb)}),this[_0x271636(0x166)][_0x271636(0xd3)][_0x271636(0x1a8)]['on'](_0x271636(0x11a),()=>{const _0x252ec1=_0x271636;this[_0x252ec1(0x166)][_0x252ec1(0x19d)][_0x252ec1(0xfc)][_0x252ec1(0x11a)](_0x1f028b=>{const _0xbb3258=_0x252ec1;for(const _0x5ef77e of this[_0xbb3258(0x166)][_0xbb3258(0xd3)][_0xbb3258(0x1a8)][_0xbb3258(0x158)]()){const _0x3865f5=this[_0xbb3258(0x166)][_0xbb3258(0xd3)][_0xbb3258(0x1a8)][_0xbb3258(0x1c6)](_0x5ef77e),_0x15a67f=this[_0xbb3258(0x166)][_0xbb3258(0x19d)][_0xbb3258(0xfc)][_0xbb3258(0x1a8)][_0xbb3258(0x1c6)](_0x5ef77e);if(_0x15a67f){const _0x33b7ec=_0x3865f5[_0xbb3258(0xa8)](_0xbb3258(0xf6));if(_0x1f028b[_0xbb3258(0xe9)](_0xbb3258(0x175),_0x15a67f),_0x1f028b[_0xbb3258(0x19c)](_0xbb3258(0x8e),_0x15a67f),_0x1f028b[_0xbb3258(0x19c)](_0xbb3258(0x99),_0x15a67f),_0x1f028b[_0xbb3258(0x19c)](_0xbb3258(0xd7),_0x15a67f),_0x33b7ec){const _0x192c2a=this[_0xbb3258(0x177)](_0x33b7ec);if(!_0x192c2a)return null;_0x1f028b[_0xbb3258(0x9c)](_0xbb3258(0x175),_0x33b7ec,_0x15a67f),_0x1f028b[_0xbb3258(0xba)](_0xbb3258(0xa0)+_0x192c2a[_0xbb3258(0x106)],_0x15a67f),this[_0xbb3258(0x128)]==_0x192c2a&&_0x1f028b[_0xbb3258(0xba)](_0xbb3258(0xd7),_0x15a67f);}}}});}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x18e))[_0x271636(0x8c)]({'view':_0x271636(0xdf),'model':_0x2c65e8=>_0x271636(0x1c7)+_0x2c65e8,'converterPriority':_0x271636(0xf5)}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x18e))[_0x271636(0x8c)]({'view':_0x271636(0xfa),'model':_0x171311=>_0x271636(0x12f)+_0x171311,'converterPriority':_0x271636(0xf5)}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x1a5))[_0x271636(0x185)]({'model':_0x271636(0x196),'view':_0xadecdd=>({'name':_0x271636(0x167)+_0xadecdd,'group':_0x271636(0x196)}),'converterPriority':_0x271636(0xf5)}),this[_0x271636(0x166)][_0x271636(0x11e)][_0x271636(0x14f)](_0x271636(0x172))[_0x271636(0xcd)]({'model':_0x271636(0x196),'view':_0x3647be=>{const _0x2d8d4b=_0x271636,_0x157e24=_0x3647be[_0x2d8d4b(0x1c2)][_0x2d8d4b(0xe5)](':')[0x1];return _0x2d8d4b(0xff)!=_0x157e24&&_0x2d8d4b(0x13c)!=_0x157e24?null:{'classes':[_0x2d8d4b(0x19f),_0x2d8d4b(0x137)+_0x157e24]};}}),this[_0x271636(0x166)][_0x271636(0x19d)][_0x271636(0x8f)]['on'](_0x271636(0x89),et(this[_0x271636(0x166)],_0x271636(0x170)),{'priority':_0x271636(0xfb)}),this[_0x271636(0x166)][_0x271636(0x19d)][_0x271636(0x8f)]['on'](_0x271636(0x150),et(this[_0x271636(0x166)],_0x271636(0xe5)),{'priority':_0x271636(0xfb)}),this[_0x271636(0x166)][_0x271636(0x19d)][_0x271636(0x8f)]['on'](_0x271636(0xc6),(_0x14fef6,_0x1a1ab6,_0xbedeb0)=>{const _0x153552=_0x271636,_0x4251e5=_0xbedeb0[_0x153552(0xa6)][_0x153552(0x125)](_0x1a1ab6[_0x153552(0x1c2)]);if(_0x4251e5){for(const _0x52ce5d of _0x4251e5)_0x52ce5d['is'](_0x153552(0x90))&&(_0xbedeb0[_0x153552(0xa6)][_0x153552(0x109)](_0x52ce5d,_0x1a1ab6[_0x153552(0x1c2)]),_0xbedeb0[_0x153552(0xe1)][_0x153552(0xc9)](_0x52ce5d));}},{'priority':_0x271636(0xfb)});}[_0x4eae33(0x177)](_0x5aa605){const _0x38d773=_0x4eae33;return this[_0x38d773(0x136)][_0x38d773(0x10b)](_0x5aa605);}[_0x4eae33(0xc3)](_0x5dbb67){const _0xd801d1=_0x4eae33;return this[_0xd801d1(0x1cb)]&&this[_0xd801d1(0x1cb)][_0xd801d1(0x135)](),this[_0xd801d1(0x1cb)]=new _0x2b69da(this[_0xd801d1(0x166)][_0xd801d1(0xc0)],_0x5dbb67),this[_0xd801d1(0x1cb)];}[_0x4eae33(0x180)](){const _0x15ce3e=_0x4eae33;this[_0x15ce3e(0x166)][_0x15ce3e(0xd3)][_0x15ce3e(0x1a8)][_0x15ce3e(0xee)][_0x15ce3e(0xdc)](_0x15ce3e(0x1ae)),this['on'](_0x15ce3e(0x1bf),(_0x14bd4f,_0x1b96a8,_0x4d6d63,_0x176981)=>{const _0x54d72a=_0x15ce3e;_0x176981&&this[_0x54d72a(0x15e)][_0x54d72a(0xc9)](_0x176981),_0x4d6d63&&(this[_0x54d72a(0x15e)][_0x54d72a(0x152)]({'view':_0x4d6d63,'stackId':_0x54d72a(0xa7),'position':{'target':()=>{const _0x4b353a=_0x54d72a,_0x1f6562=this[_0x4b353a(0x166)][_0x4b353a(0x19d)],_0x70e362=this[_0x4b353a(0x177)](_0x4d6d63[_0x4b353a(0x117)]);let _0xd9a3fa;if(_0x70e362[_0x4b353a(0xec)][_0x4b353a(0x1b7)]){const _0x3ac3c1=_0x1f6562[_0x4b353a(0xfc)][_0x4b353a(0x1a9)](_0x70e362[_0x4b353a(0xfd)]);_0xd9a3fa=Array[_0x4b353a(0xad)](_0x3ac3c1[_0x4b353a(0x1ab)]());}else{const _0x70d742=this[_0x4b353a(0x166)][_0x4b353a(0xd3)][_0x4b353a(0x1c3)][_0x4b353a(0x10b)](_0x4b353a(0xb8)+_0x4d6d63[_0x4b353a(0x117)]);_0xd9a3fa=Array[_0x4b353a(0xad)](_0x1f6562[_0x4b353a(0xa6)][_0x4b353a(0x125)](_0x70d742[_0x4b353a(0x1cd)]))[_0x4b353a(0x155)](_0x97b848=>_0x1f6562[_0x4b353a(0xfc)][_0x4b353a(0xc2)][_0x4b353a(0x104)](_0x97b848))[_0x4b353a(0x155)](_0x53fa61=>Array[_0x4b353a(0xad)](_0x53fa61[_0x4b353a(0x1ab)]()))[_0x4b353a(0x192)]();}if(!this[_0x4b353a(0x186)])return _0xd9a3fa[0x0];return _0xd9a3fa[_0x4b353a(0x1b6)](_0x18c5ac=>_0x18c5ac[_0x4b353a(0x108)]-0x3<=this[_0x4b353a(0x186)]['y']&&_0x18c5ac[_0x4b353a(0xc1)]+0x3>=this[_0x4b353a(0x186)]['y']&&_0x18c5ac[_0x4b353a(0x1a1)]-0x3<=this[_0x4b353a(0x186)]['x']&&_0x18c5ac[_0x4b353a(0x1bb)]+0x3>=this[_0x4b353a(0x186)]['x'])||_0xd9a3fa[0x0];}}}),this[_0x54d72a(0x15e)][_0x54d72a(0xc7)](_0x54d72a(0xa7)));}),this['on'](_0x15ce3e(0x118),(_0xaffbef,_0x19b227,_0x17df37,_0x3ab529)=>{const _0x57f560=_0x15ce3e;this[_0x57f560(0x195)]=_0x17df37?this[_0x57f560(0xc3)](_0x17df37):null,this[_0x57f560(0x166)][_0x57f560(0xd3)][_0x57f560(0x11a)](()=>{const _0x5edb5a=_0x57f560,_0x17b322=this[_0x5edb5a(0x166)][_0x5edb5a(0x19d)];_0x3ab529&&(_0x3ab529[_0x5edb5a(0xec)][_0x5edb5a(0x1b7)]?_0x17b322[_0x5edb5a(0xfc)][_0x5edb5a(0x11a)](_0xa46ff5=>{const _0x58f499=_0x5edb5a;_0xa46ff5[_0x58f499(0x19c)](_0x58f499(0xd7),_0x17b322[_0x58f499(0xfc)][_0x58f499(0x1a8)][_0x58f499(0x1c6)](_0x3ab529[_0x58f499(0xfd)]));}):_0x17b322[_0x5edb5a(0x124)](_0x5edb5a(0xb8)+_0x3ab529['id'])),_0x17df37&&(_0x17df37[_0x5edb5a(0xec)][_0x5edb5a(0x1b7)]?_0x17b322[_0x5edb5a(0xfc)][_0x5edb5a(0x11a)](_0x8f436f=>{const _0x13cccf=_0x5edb5a;_0x8f436f[_0x13cccf(0xba)](_0x13cccf(0xd7),_0x17b322[_0x13cccf(0xfc)][_0x13cccf(0x1a8)][_0x13cccf(0x1c6)](_0x17df37[_0x13cccf(0xfd)]));}):_0x17b322[_0x5edb5a(0x124)](_0x5edb5a(0xb8)+_0x17df37['id']));});}),this[_0x15ce3e(0xb7)](this[_0x15ce3e(0x166)][_0x15ce3e(0x19d)][_0x15ce3e(0xfc)][_0x15ce3e(0x1a8)],_0x15ce3e(0x129),(_0x28381f,_0x419021)=>{const _0x2d407a=_0x15ce3e;if(this[_0x2d407a(0x128)])return;const _0x28d812=this[_0x2d407a(0x131)](_0x419021[_0x2d407a(0x1d5)]),_0x4bd9df=this[_0x2d407a(0x136)][_0x2d407a(0x10b)](_0x28d812);_0x4bd9df?(this[_0x2d407a(0x186)]={'x':_0x419021[_0x2d407a(0x161)]['x'],'y':_0x419021[_0x2d407a(0x161)]['y']},this[_0x2d407a(0x195)]=this[_0x2d407a(0xc3)](_0x4bd9df)):(this[_0x2d407a(0x186)]=null,this[_0x2d407a(0x195)]=null);}),this[_0x15ce3e(0xb7)](this[_0x15ce3e(0x166)][_0x15ce3e(0x19d)][_0x15ce3e(0xfc)][_0x15ce3e(0x1a8)],_0x15ce3e(0x91),(_0x3a042e,_0x8fb1b7)=>{const _0x88c97=_0x15ce3e,_0x47b160=this[_0x88c97(0x131)](_0x8fb1b7[_0x88c97(0x1d5)]),_0x1b6420=this[_0x88c97(0x136)][_0x88c97(0x10b)](_0x47b160);_0x1b6420?(this[_0x88c97(0x186)]={'x':_0x8fb1b7[_0x88c97(0x161)]['x'],'y':_0x8fb1b7[_0x88c97(0x161)]['y']},_0x1b6420===this[_0x88c97(0x128)]?this[_0x88c97(0x15e)][_0x88c97(0x12a)]():this[_0x88c97(0x128)]=_0x1b6420):(this[_0x88c97(0x186)]=null,this[_0x88c97(0x128)]=null);});}[_0x4eae33(0x131)](_0x5ecb6f){const _0x5cd9b4=_0x4eae33;do{const _0x529648=_0x5ecb6f[_0x5cd9b4(0xa8)](_0x5cd9b4(0x175));if(_0x529648)return _0x529648;_0x5ecb6f=_0x5ecb6f[_0x5cd9b4(0x191)];}while(_0x5ecb6f);return null;}[_0x4eae33(0x100)](){const _0x206248=_0x4eae33;this[_0x206248(0x166)][_0x206248(0xd3)][_0x206248(0x11a)](_0x3c5ab8=>{const _0x5077ce=_0x206248;for(const _0x5aedb5 of this[_0x5077ce(0x166)][_0x5077ce(0xd3)][_0x5077ce(0x1c3)])_0x3c5ab8[_0x5077ce(0x1af)](_0x5aedb5);});}}function et(_0x12ea8c,_0x1a1a85){return(_0x35e8a5,_0x35dff3,_0x4e1822)=>{const _0x8929b1=_0x5d48;if(!_0x4e1822[_0x8929b1(0x8d)][_0x8929b1(0x14d)](_0x35dff3[_0x8929b1(0x94)],_0x35e8a5[_0x8929b1(0x1cd)]))return;const _0x48006b=_0x35dff3[_0x8929b1(0x94)][_0x8929b1(0x111)](),_0x1414e5=_0x35dff3[_0x8929b1(0x94)][_0x8929b1(0x134)],_0x82ff75=_0x12ea8c[_0x8929b1(0xd3)][_0x8929b1(0xd8)];let _0x2ad05a=null,_0x2dadd5=null,_0x15f77a=!0x1,_0x4c9a6d=!0x1;for(const _0x373207 of _0x48006b){const _0x27df3f=_0x373207[_0x8929b1(0x151)];_0x15f77a=_0x15f77a||_0x82ff75[_0x8929b1(0x97)](_0x27df3f);const _0x4d3547=_0x4e1822[_0x8929b1(0xa6)][_0x8929b1(0x149)](_0x27df3f);if(_0x4d3547&&_0x4d3547[_0x8929b1(0x13f)](_0x8929b1(0x153)))return;_0x8929b1(0x107)==_0x373207[_0x8929b1(0x106)]&&(_0x82ff75[_0x8929b1(0x138)](_0x27df3f)&&!_0x82ff75[_0x8929b1(0x1b8)](_0x27df3f)&&(_0x27df3f[_0x8929b1(0xe0)]||_0x1414e5[_0x8929b1(0x92)]?_0x2ad05a&&_0x2ad05a[_0x8929b1(0x191)]==_0x27df3f||(_0x2ad05a=_0x27df3f,_0x31ed08(_0x373207[_0x8929b1(0xe3)]),_0x4c9a6d=!0x0):_0x2dadd5=_0x2dadd5||_0x373207[_0x8929b1(0xe3)]));}function _0x31ed08(_0xe1a8ce){const _0x7e5778=_0x8929b1,_0x446a22=_0x4e1822[_0x7e5778(0xa6)][_0x7e5778(0xdb)](_0xe1a8ce),_0x51fa59=_0x4e1822[_0x7e5778(0xe1)][_0x7e5778(0x1b5)](_0x7e5778(0x115),{'class':_0x7e5778(0x137)+_0x1a1a85});_0x4e1822[_0x7e5778(0xe1)][_0x7e5778(0x19e)](_0x446a22,_0x51fa59),_0x4e1822[_0x7e5778(0xa6)][_0x7e5778(0x1b2)](_0x51fa59,_0x35dff3[_0x7e5778(0x1c2)]);}_0x15f77a||_0x4c9a6d||!_0x2dadd5||_0x31ed08(_0x2dadd5);};}export class RestoreRevisionCommand extends _0x2fa53e{constructor(_0x151bff){const _0x1225fb=_0x4eae33;super(_0x151bff);const _0x7c4aca=_0x151bff[_0x1225fb(0x162)][_0x1225fb(0x10b)](d);this[_0x1225fb(0x103)]=!0x1,this[_0x1225fb(0xb7)](_0x7c4aca,_0x1225fb(0xb5),()=>this[_0x1225fb(0x123)]()),this[_0x1225fb(0xb7)](_0x7c4aca,_0x1225fb(0x1d2),()=>this[_0x1225fb(0x123)]());}[_0x4eae33(0xa2)](){const _0x15a3c2=_0x4eae33,_0x37d169=this[_0x15a3c2(0x166)],_0x2b5bd9=_0x37d169[_0x15a3c2(0x162)][_0x15a3c2(0x10b)](d),_0x3a2446=_0x2b5bd9[_0x15a3c2(0x12e)]?_0x2b5bd9[_0x15a3c2(0x1c4)][_0x15a3c2(0x17d)]:null;_0x37d169[_0x15a3c2(0x1a0)][_0x15a3c2(0x10b)](_0x15a3c2(0xed))[_0x15a3c2(0x178)](_0x3a2446);}[_0x4eae33(0x123)](){const _0x1009a5=_0x4eae33,{isReady:_0x4d0808,isEnabled:_0x1f3473}=this[_0x1009a5(0x166)][_0x1009a5(0x162)][_0x1009a5(0x10b)](d);this[_0x1009a5(0x1a7)]=_0x4d0808&&_0x1f3473;}}export class ShowChangeCommand extends _0x2fa53e{constructor(_0x185a09,{direction:_0x1d4d58}){const _0x37a3a2=_0x4eae33;super(_0x185a09);const _0x4ccc75=_0x185a09[_0x37a3a2(0x162)][_0x37a3a2(0x10b)](d);this[_0x37a3a2(0x103)]=!0x1,this[_0x37a3a2(0x13e)]=_0x37a3a2(0x1b0)===_0x1d4d58?0x1:-0x1,this[_0x37a3a2(0xb7)](_0x4ccc75,_0x37a3a2(0xb5),()=>this[_0x37a3a2(0x123)]()),this[_0x37a3a2(0xb7)](_0x4ccc75,_0x37a3a2(0x1d2),()=>this[_0x37a3a2(0x123)]()),this[_0x37a3a2(0xb7)](_0x4ccc75,_0x37a3a2(0x118),()=>this[_0x37a3a2(0x123)]());}[_0x4eae33(0xa2)](){const _0x239522=_0x4eae33,_0x399636=this[_0x239522(0x166)],_0x90bcbb=_0x399636[_0x239522(0x162)][_0x239522(0x10b)](d),{isNavigationMode:_0x4a3285,currentChangeNumber:_0x3e6b5d}=_0x90bcbb;let _0x52b76b;if(_0x90bcbb[_0x239522(0x128)]=_0x4a3285?_0x90bcbb[_0x239522(0x1c4)][_0x239522(0xa3)][_0x239522(0x10b)](_0x3e6b5d+this[_0x239522(0x13e)]):_0x90bcbb[_0x239522(0x1c4)][_0x239522(0xa3)][_0x239522(0xc5)],_0x90bcbb[_0x239522(0x128)][_0x239522(0xec)][_0x239522(0x1b7)])_0x52b76b=_0x399636[_0x239522(0x19d)][_0x239522(0xfc)][_0x239522(0x1a9)](_0x90bcbb[_0x239522(0x128)][_0x239522(0xfd)]);else{const _0x4608e8=_0x399636[_0x239522(0xd3)][_0x239522(0x1c3)][_0x239522(0x10b)](_0x239522(0xb8)+_0x90bcbb[_0x239522(0x128)]['id']);_0x52b76b=_0x400261(_0x399636[_0x239522(0x19d)],_0x4608e8);}_0x38171d({'target':_0x52b76b,'viewportOffset':0x28});}[_0x4eae33(0x123)](){const _0x84dce2=_0x4eae33,{isNavigationMode:_0x1e5023,currentChangeNumber:_0x405e54,numberOfChanges:_0x3b6381,isReady:_0x3abd5e,isEnabled:_0x399e84}=this[_0x84dce2(0x166)][_0x84dce2(0x162)][_0x84dce2(0x10b)](d);this[_0x84dce2(0x1a7)]=!!(_0x399e84&&_0x3abd5e&&_0x3b6381)&&(!_0x1e5023||(0x1===this[_0x84dce2(0x13e)]?_0x405e54<_0x3b6381-0x1:_0x405e54>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x316115,_0x2fd795){const _0x759424=_0xf1a6,_0x5c4e2e=_0x316115();while(!![]){try{const _0x31f2ce=-parseInt(_0x759424(0x1c8))/0x1+-parseInt(_0x759424(0x1ba))/0x2+-parseInt(_0x759424(0x1aa))/0x3*(parseInt(_0x759424(0x1bc))/0x4)+parseInt(_0x759424(0x1bf))/0x5*(parseInt(_0x759424(0x19f))/0x6)+parseInt(_0x759424(0x1a8))/0x7*(parseInt(_0x759424(0x1b8))/0x8)+parseInt(_0x759424(0x1a7))/0x9+parseInt(_0x759424(0x1c2))/0xa;if(_0x31f2ce===_0x2fd795)break;else _0x5c4e2e['push'](_0x5c4e2e['shift']());}catch(_0x2ab2e3){_0x5c4e2e['push'](_0x5c4e2e['shift']());}}}(_0x5c92,0x5e4ec));import{Collection as _0x5865bb}from'ckeditor5/src/utils.js';import{icons as _0x2d58bb}from'ckeditor5/src/core.js';function _0xf1a6(_0x2af3d7,_0x17feb4){const _0x5c9292=_0x5c92();return _0xf1a6=function(_0xf1a6da,_0x2b2c6d){_0xf1a6da=_0xf1a6da-0x19a;let _0x2020bc=_0x5c9292[_0xf1a6da];return _0x2020bc;},_0xf1a6(_0x2af3d7,_0x17feb4);}function _0x5c92(){const _0x53b302=['isVisible','90MnSpVZ','menu','Compare\x20against\x20selected','3855540BkIqGn','button','source','buttonView','Restore\x20this\x20revision','stopPropagation','508510aQBemq','isReady','extendTemplate','panelPosition','items','set','ck-on','menuitem','children','225048SaLoUA','ck-revision-history-sidebar__revision__actions','name','isOpen','map','bind','first','find','6878223asyZzH','16331yCeFEM','locale','258iXMKla','_action','class','action','listView','isActionsDropdownOpen','execute','threeVerticalDots','Show\x20more\x20items','model','add','Name\x20this\x20revision','listenTo','bindTemplate','96MQLxmE','function','959458oyFFhQ','isEnabled','22252IHHxwo','change:isActionsDropdownOpen'];_0x5c92=function(){return _0x53b302;};return _0x5c92();}import{ViewModel as _0x104574,addListToDropdown as _0x19a7b0,createDropdown as _0x5c4842}from'ckeditor5/src/ui.js';import{getTranslation as _0x2cdf60}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x3492f5,_0x5e6839){const _0x21b64a=_0xf1a6,_0x12e15b=_0x3492f5[_0x21b64a(0x1b7)],_0x50de8c=_0x3492f5[_0x21b64a(0x1a9)],_0x228346=_0x5c4842(_0x50de8c);_0x228346[_0x21b64a(0x1cb)]='sw';const _0x2e8e05=function(_0x1bdf97,_0x1cc931){const _0x919d3e=_0x21b64a,_0x2bba30=function(_0x2eae01,_0x3ec39c){const _0x25dff6=_0xf1a6,_0x5575c5=_0x2eae01[_0x25dff6(0x1a9)],_0x22d64f={'Compare\x20against\x20selected':_0x2cdf60(_0x5575c5,_0x25dff6(0x1c1)),'Name\x20this\x20revision':_0x2cdf60(_0x5575c5,_0x25dff6(0x1b5)),'Restore\x20this\x20revision':_0x2cdf60(_0x5575c5,_0x25dff6(0x1c6))};return _0x3ec39c[_0x25dff6(0x1a3)](_0x233ccf=>{const _0x3728d1=_0x25dff6,_0x1bfa6d=_0x22d64f[_0x233ccf[_0x3728d1(0x1a1)]];return _0x1bfa6d&&_0x1bfa6d!==_0x233ccf[_0x3728d1(0x1a1)]&&(_0x233ccf[_0x3728d1(0x1a1)]=_0x1bfa6d),_0x233ccf;});}(_0x1bdf97,_0x1cc931),_0x574cca=new _0x5865bb();for(const _0x15315c of _0x2bba30){const _0x82115d={'type':_0x919d3e(0x1c3),'model':new _0x104574({'label':_0x15315c[_0x919d3e(0x1a1)],'class':_0x15315c[_0x919d3e(0x1ac)],'withText':!0x0,'role':_0x919d3e(0x19d),'_action':_0x15315c[_0x919d3e(0x1ad)]})};_0x82115d[_0x919d3e(0x1b3)][_0x919d3e(0x1a4)](_0x919d3e(0x1bb))['to'](_0x1bdf97,_0x919d3e(0x1af),_0x22608e=>_0x919d3e(0x1b9)!=typeof _0x15315c[_0x919d3e(0x1bb)]||(!_0x22608e||_0x15315c[_0x919d3e(0x1bb)](_0x1bdf97))),_0x574cca[_0x919d3e(0x1b4)](_0x82115d);}return _0x574cca;}(_0x3492f5,_0x5e6839);return _0x3492f5[_0x21b64a(0x1a4)](_0x21b64a(0x1af))['to'](_0x228346,_0x21b64a(0x1a2)),_0x228346[_0x21b64a(0x1c5)][_0x21b64a(0x19b)]({'label':_0x2cdf60(_0x50de8c,_0x21b64a(0x1b2)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2d58bb[_0x21b64a(0x1b1)]}),_0x228346[_0x21b64a(0x1ca)]({'attributes':{'class':[_0x21b64a(0x1a0),_0x12e15b['if'](_0x21b64a(0x1af),_0x21b64a(0x19c))]},'on':{'click':_0x12e15b['to'](_0x19694e=>_0x19694e[_0x21b64a(0x1c7)]())}}),_0x228346['on'](_0x21b64a(0x1b0),_0x470235=>{const _0x4734ae=_0x21b64a;_0x3492f5[_0x4734ae(0x1c9)]&&_0x4734ae(0x1b9)==typeof _0x470235[_0x4734ae(0x1c4)][_0x4734ae(0x1ab)]&&_0x470235[_0x4734ae(0x1c4)][_0x4734ae(0x1ab)](_0x3492f5);}),_0x19a7b0(_0x228346,_0x2e8e05,{'role':_0x21b64a(0x1c0)}),_0x228346[_0x21b64a(0x1b6)](_0x3492f5,_0x21b64a(0x1bd),(_0x36899e,_0x2797e6,_0x89218c)=>{const _0x53ce73=_0x21b64a;if(_0x89218c)for(const _0x2b26d0 of _0x228346[_0x53ce73(0x1ae)][_0x53ce73(0x19a)]){const _0x214f06=_0x2b26d0[_0x53ce73(0x19e)][_0x53ce73(0x1a5)],_0x2cf92f=_0x5e6839[_0x53ce73(0x1a6)](_0x32f8c7=>_0x32f8c7[_0x53ce73(0x1ad)]===_0x214f06[_0x53ce73(0x1ab)])[_0x53ce73(0x1be)];_0x2b26d0[_0x53ce73(0x1be)]=void 0x0===_0x2cf92f||_0x2cf92f(_0x3492f5);}}),_0x228346;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x11fc33,_0x29d978){const _0x379799=_0x29e7,_0x4ef9a2=_0x11fc33();while(!![]){try{const _0x3d6618=parseInt(_0x379799(0x1ef))/0x1*(-parseInt(_0x379799(0x1e6))/0x2)+-parseInt(_0x379799(0x1f5))/0x3*(parseInt(_0x379799(0x1f7))/0x4)+-parseInt(_0x379799(0x1eb))/0x5*(parseInt(_0x379799(0x1ee))/0x6)+-parseInt(_0x379799(0x1f0))/0x7*(-parseInt(_0x379799(0x1fa))/0x8)+-parseInt(_0x379799(0x1f2))/0x9*(parseInt(_0x379799(0x1e8))/0xa)+parseInt(_0x379799(0x1ed))/0xb+parseInt(_0x379799(0x1f6))/0xc*(parseInt(_0x379799(0x1f9))/0xd);if(_0x3d6618===_0x29d978)break;else _0x4ef9a2['push'](_0x4ef9a2['shift']());}catch(_0x2edb2d){_0x4ef9a2['push'](_0x4ef9a2['shift']());}}}(_0x22b4,0x7b766));import{View as _0x1ae29d,IconView as _0x55a2ed}from'ckeditor5/src/ui.js';function _0x29e7(_0x575011,_0x2a77db){const _0x22b4f7=_0x22b4();return _0x29e7=function(_0x29e7f6,_0x5c0ee9){_0x29e7f6=_0x29e7f6-0x1e3;let _0x483995=_0x22b4f7[_0x29e7f6];return _0x483995;},_0x29e7(_0x575011,_0x2a77db);}function _0x22b4(){const _0x32f242=['ck-revision-history-sidebar__revision-author','368401JjkiFF','930UsGizG','3247ISodQS','754474RyzTzI','push','675hwvAAP','0\x200\x2011\x2010','ck-revision-history-sidebar__revision-author__name','3wXYBcA','2004BwbJaF','332268qgJgSl','Revision\x20author','122317HQtCCj','8YmKXgQ','name','setTemplate','span','232NSnWOc','Revision\x20creator','10320GnzUwD','ck-revision-history-sidebar__revision-author_creator','set','21605PRqXfx'];_0x22b4=function(){return _0x32f242;};return _0x22b4();}import{getTranslation as _0x4ec9cc}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';import _0x33f913 from'../../../theme/icons/user.svg';export default class ti extends _0x1ae29d{constructor(_0x3335ce,_0x417a63,_0x4d3f27){const _0x12b89e=_0x29e7;super(_0x3335ce);const _0x18e1bd=new _0x55a2ed();_0x18e1bd[_0x12b89e(0x1ea)]({'content':_0x33f913,'viewBox':_0x12b89e(0x1f3)});const _0x221650=['ck',_0x12b89e(0x1ec)];_0x4d3f27&&_0x221650[_0x12b89e(0x1f1)](_0x12b89e(0x1e9));const _0x30dba6=[{'tag':_0x12b89e(0x1e5),'attributes':{'class':['ck',_0x12b89e(0x1f4)],'title':_0x4ec9cc(_0x3335ce,_0x4d3f27?_0x12b89e(0x1e7):_0x12b89e(0x1f8))},'children':[_0x18e1bd,_0x417a63[_0x12b89e(0x1e3)]]}];this[_0x12b89e(0x1e4)]({'tag':'li','attributes':{'class':_0x221650},'children':_0x30dba6});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2988(_0x4932b3,_0xcc7421){const _0x85325a=_0x8532();return _0x2988=function(_0x2988bc,_0x36918c){_0x2988bc=_0x2988bc-0x100;let _0x745549=_0x85325a[_0x2988bc];return _0x745549;},_0x2988(_0x4932b3,_0xcc7421);}const _0x18e718=_0x2988;(function(_0x277d16,_0x4318cc){const _0x41f74b=_0x2988,_0x436a9e=_0x277d16();while(!![]){try{const _0x2ad060=-parseInt(_0x41f74b(0x105))/0x1*(parseInt(_0x41f74b(0x10b))/0x2)+-parseInt(_0x41f74b(0x11a))/0x3+parseInt(_0x41f74b(0x10a))/0x4+-parseInt(_0x41f74b(0x112))/0x5+parseInt(_0x41f74b(0x110))/0x6*(-parseInt(_0x41f74b(0x11c))/0x7)+parseInt(_0x41f74b(0x10c))/0x8+parseInt(_0x41f74b(0x119))/0x9;if(_0x2ad060===_0x4318cc)break;else _0x436a9e['push'](_0x436a9e['shift']());}catch(_0xd8fa29){_0x436a9e['push'](_0x436a9e['shift']());}}}(_0x8532,0xcaf8a));function _0x8532(){const _0x968d33=['897320RppnCO','3610664PhHKtO','_tooltipString','input','bindTemplate','8994066RKUTTu','Revision\x20name','1068785TAFlMV','render','Enter\x20the\x20revision\x20name','ck-revision-history-sidebar__revision-name','value','fieldView','extendTemplate','26755731qYzBJz','3227763lNMcKd','set','7znQlhO','span','placeholder','listenTo','element','_updateTooltipText','_resizeObserver','2EvFzsE','destroy','ck-tooltip_multi-line','clientWidth','scrollWidth','4372748qenabd'];_0x8532=function(){return _0x968d33;};return _0x8532();}import{LabeledFieldView as _0x14c79e}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x93f6ad}from'ckeditor5/src/utils.js';import{getTranslation as _0x3853e3}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class kt extends _0x14c79e{constructor(_0x309916,_0x409222){const _0x5161e7=_0x2988;super(_0x309916,_0x409222),this[_0x5161e7(0x104)]=null;const _0x456a52=this[_0x5161e7(0x10f)];this[_0x5161e7(0x11b)]({'label':_0x3853e3(_0x309916,_0x5161e7(0x111)),'_tooltipString':''}),this[_0x5161e7(0x117)][_0x5161e7(0x100)]=_0x3853e3(_0x309916,_0x5161e7(0x114)),this[_0x5161e7(0x118)]({'tag':_0x5161e7(0x11d),'attributes':{'class':[_0x5161e7(0x115)],'data-cke-tooltip-text':_0x456a52['to'](_0x5161e7(0x10d)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x5161e7(0x107)}});}[_0x18e718(0x113)](){const _0x2edebe=_0x18e718;super[_0x2edebe(0x113)](),this[_0x2edebe(0x104)]=new _0x93f6ad(this[_0x2edebe(0x117)][_0x2edebe(0x102)],()=>this[_0x2edebe(0x103)]()),this[_0x2edebe(0x101)](this[_0x2edebe(0x117)],_0x2edebe(0x10e),()=>this[_0x2edebe(0x103)]());}[_0x18e718(0x106)](){const _0x4abbc4=_0x18e718;super[_0x4abbc4(0x106)](),this[_0x4abbc4(0x104)]&&this[_0x4abbc4(0x104)][_0x4abbc4(0x106)]();}[_0x18e718(0x103)](){const _0xcb10d2=_0x18e718,_0x3677bb=this[_0xcb10d2(0x117)][_0xcb10d2(0x102)];this[_0xcb10d2(0x10d)]=_0x3677bb[_0xcb10d2(0x109)]>_0x3677bb[_0xcb10d2(0x108)]&&_0x3677bb[_0xcb10d2(0x116)]||'';}}
|
|
@@ -15,7 +15,7 @@ declare const RevisionView_base: import("ckeditor5/src/utils.js").Mixed<typeof V
|
|
|
15
15
|
/**
|
|
16
16
|
* TODO
|
|
17
17
|
*/
|
|
18
|
-
export default class RevisionView extends RevisionView_base {
|
|
18
|
+
export default class RevisionView extends /* #__PURE__ -- @preserve */ RevisionView_base {
|
|
19
19
|
id: string;
|
|
20
20
|
revisionNameView: RevisionNameView;
|
|
21
21
|
/**
|
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b67a4=_0x78a1;(function(_0x5512b6,_0x427fc6){const _0x43146f=_0x78a1,_0x2eee9f=_0x5512b6();while(!![]){try{const _0x286385=-parseInt(_0x43146f(0x119))/0x1*(parseInt(_0x43146f(0x126))/0x2)+parseInt(_0x43146f(0x105))/0x3+parseInt(_0x43146f(0xee))/0x4*(-parseInt(_0x43146f(0xf2))/0x5)+-parseInt(_0x43146f(0xf6))/0x6+-parseInt(_0x43146f(0x112))/0x7*(-parseInt(_0x43146f(0x122))/0x8)+parseInt(_0x43146f(0x107))/0x9+parseInt(_0x43146f(0x125))/0xa;if(_0x286385===_0x427fc6)break;else _0x2eee9f['push'](_0x2eee9f['shift']());}catch(_0x5280d6){_0x2eee9f['push'](_0x2eee9f['shift']());}}}(_0x450f,0xa5df5));import{View as _0x4c5c81,createLabeledInputText as _0x228b14}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x19efb1}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2eb804 from'./revisionnameview.js';function _0x450f(){const _0x27e46a=['element','ck-revision-history-sidebar__revision-authors','isReady','isConfirm','isEnabled','fieldView','.ck-thread__remove-confirm','change','bindTemplate','select','isHighlighted','fire','1154373eUmfCG','ck-disabled','500706LQeRWe','srcElement','ck-revision-history-sidebar__revision_highlighted','highlight','_createdAtFormatted','filter','isActionsDropdownOpen','220','listenTo','length','ck-revision-history-sidebar__revision__controls-wrapper','13076XDYEZl','ck-revision-history-sidebar__revision','revisionActionsView','createdAt','ck-revision-history-sidebar__revision-wrapper','ck-reset','span','10ICRcac','bind','extendTemplate','_requireRevisionName','isSelected','from','ck-revision-history-sidebar__revision_selected','ck-revision-history-sidebar__revision__date','set','4520rEPoPB','authors','setTemplate','7520250IOvUNy','46210XRorvn','creator','map','uiLanguage','revisionNameView','name','deselect','render','setName','48644ilbUXH','div','ck-revision-history-sidebar__actions_dropdown_open','closest','215VwKlAQ','unshift','unhighlight','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','4886904HbIvLq','_revision','value'];_0x450f=function(){return _0x27e46a;};return _0x450f();}import _0x19d5f4 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x2c7cfa}from'./utils.js';import{createActionsDropdownView as _0x15d1ad}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';function _0x78a1(_0x506cae,_0x1be285){const _0x450fa2=_0x450f();return _0x78a1=function(_0x78a185,_0x2d821a){_0x78a185=_0x78a185-0xee;let _0x16a441=_0x450fa2[_0x78a185];return _0x16a441;},_0x78a1(_0x506cae,_0x1be285);}export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x19efb1(_0x4c5c81){constructor(_0xa999a2,_0x3fc550,_0xabdd6d,_0x1faf01){const _0x37a398=_0x78a1;super(_0xa999a2);const _0x357eff=this[_0x37a398(0x101)],_0x528f15=function(_0x22ed83,_0x2a3d9a){const _0x3218a4=_0x37a398,_0x4d3cde=Array[_0x3218a4(0x11e)](_0x2a3d9a[_0x3218a4(0x123)])[_0x3218a4(0x10c)](_0x4a2dff=>_0x4a2dff!=_0x2a3d9a[_0x3218a4(0x127)]);return _0x2a3d9a[_0x3218a4(0x127)]&&_0x4d3cde[_0x3218a4(0xf3)](_0x2a3d9a[_0x3218a4(0x127)]),_0x4d3cde[_0x3218a4(0x128)](_0x4e5dc9=>new _0x19d5f4(_0x22ed83,_0x4e5dc9,_0x4e5dc9==_0x2a3d9a[_0x3218a4(0x127)]));}(_0xa999a2,_0x3fc550);this['id']=_0x3fc550['id'],this[_0x37a398(0xf7)]=_0x3fc550,this[_0x37a398(0x11c)]=_0x1faf01,this[_0x37a398(0x11a)](_0x37a398(0x12b),_0x37a398(0x115))['to'](_0x3fc550),this[_0x37a398(0x11a)](_0x37a398(0x10b))['to'](this,_0x37a398(0x115),_0x3d566d=>_0x2c7cfa(_0xa999a2[_0x37a398(0x129)],_0x3d566d)),this[_0x37a398(0x121)](_0x37a398(0x11d),!0x1),this[_0x37a398(0x121)](_0x37a398(0x103),!0x1),this[_0x37a398(0x121)](_0x37a398(0x10d),!0x1),this[_0x37a398(0x121)](_0x37a398(0xfb),!0x1),this[_0x37a398(0x121)](_0x37a398(0xfd),!0x1),this[_0x37a398(0x12a)]=new _0x2eb804(_0xa999a2,_0x228b14),this[_0x37a398(0x12a)][_0x37a398(0xfe)][_0x37a398(0x11b)]({'attributes':{'maxlength':_0x37a398(0x10e)}}),this[_0x37a398(0x12a)][_0x37a398(0xfe)][_0x37a398(0x11a)](_0x37a398(0xf8))['to'](this,_0x37a398(0x12b),_0xb9e709=>_0xb9e709||this[_0x37a398(0x10b)]),this[_0x37a398(0x12a)][_0x37a398(0x11a)](_0x37a398(0xfd))['to'](this,_0x37a398(0x11d),this,_0x37a398(0xfd),(_0x1d6bb5,_0x26eade)=>_0x1d6bb5&&_0x26eade),this[_0x37a398(0x114)]=_0xabdd6d&&_0xabdd6d[_0x37a398(0x110)]?_0x15d1ad(this,_0xabdd6d):'',this[_0x37a398(0x114)]&&this[_0x37a398(0x114)][_0x37a398(0x11a)](_0x37a398(0xfd))['to'](this),this[_0x37a398(0x124)]({'tag':_0x37a398(0xef),'attributes':{'class':['ck',_0x37a398(0x117),_0x37a398(0x116),_0x357eff['if'](_0x37a398(0xfc),_0x37a398(0xf5))]},'children':[{'tag':_0x37a398(0xef),'attributes':{'class':['ck',_0x37a398(0x117),_0x37a398(0x113),_0x357eff['if'](_0x37a398(0xfd),_0x37a398(0x106),_0x592ebd=>!_0x592ebd),_0x357eff['if'](_0x37a398(0x11d),_0x37a398(0x11f)),_0x357eff['if'](_0x37a398(0x103),_0x37a398(0x109)),_0x357eff['if'](_0x37a398(0x10d),_0x37a398(0xf0))]},'children':[this[_0x37a398(0x12a)],{'tag':_0x37a398(0x118),'attributes':{'class':['ck',_0x37a398(0x120)]},'children':[{'text':_0x357eff['to'](_0x37a398(0x10b))}]},{'tag':_0x37a398(0xef),'attributes':{'class':['ck',_0x37a398(0x111)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x37a398(0xfa)]},'children':_0x528f15}]},this[_0x37a398(0x114)]],'on':{'click':_0x357eff['to'](_0x24b199=>{const _0x3a230a=_0x37a398;_0x24b199[_0x3a230a(0x108)][_0x3a230a(0xf1)](_0x3a230a(0xff))||this[_0x3a230a(0xfb)]&&this[_0x3a230a(0xfd)]&&this[_0x3a230a(0x104)](_0x3a230a(0x102),{'id':this['id']});})}}]});}[_0x4b67a4(0x12d)](){const _0x55a1a0=_0x4b67a4;super[_0x55a1a0(0x12d)]();const _0x2fe24c=this[_0x55a1a0(0x12a)][_0x55a1a0(0xfe)][_0x55a1a0(0xf9)];this[_0x55a1a0(0x10f)](_0x2fe24c,_0x55a1a0(0x100),()=>{const _0x4c66a0=_0x55a1a0;this[_0x4c66a0(0x11c)]&&!_0x2fe24c[_0x4c66a0(0xf8)]||this[_0x4c66a0(0x104)](_0x4c66a0(0x12e),{'id':this['id'],'name':_0x2fe24c[_0x4c66a0(0xf8)]}),_0x2fe24c[_0x4c66a0(0xf8)]||(_0x2fe24c[_0x4c66a0(0xf8)]=this[_0x4c66a0(0x12b)]?this[_0x4c66a0(0x12b)]:this[_0x4c66a0(0x10b)]);});}[_0x4b67a4(0x102)](){const _0x1b9dfb=_0x4b67a4;this[_0x1b9dfb(0x11d)]=!0x0;}[_0x4b67a4(0x12c)](){const _0x443d7a=_0x4b67a4;this[_0x443d7a(0x11d)]=!0x1;}[_0x4b67a4(0x10a)](){const _0x13d260=_0x4b67a4;this[_0x13d260(0x103)]=!0x0;}[_0x4b67a4(0xf4)](){const _0x190596=_0x4b67a4;this[_0x190596(0x103)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x264bd1=_0x1048;(function(_0x34c8e5,_0x163d70){const _0x4cc065=_0x1048,_0x5d4afe=_0x34c8e5();while(!![]){try{const _0x5d5ac1=-parseInt(_0x4cc065(0x203))/0x1+-parseInt(_0x4cc065(0x1fe))/0x2+parseInt(_0x4cc065(0x209))/0x3*(parseInt(_0x4cc065(0x1f9))/0x4)+parseInt(_0x4cc065(0x1f5))/0x5+-parseInt(_0x4cc065(0x1fc))/0x6*(parseInt(_0x4cc065(0x208))/0x7)+parseInt(_0x4cc065(0x1f8))/0x8*(-parseInt(_0x4cc065(0x206))/0x9)+-parseInt(_0x4cc065(0x1f1))/0xa*(-parseInt(_0x4cc065(0x1f2))/0xb);if(_0x5d5ac1===_0x163d70)break;else _0x5d4afe['push'](_0x5d4afe['shift']());}catch(_0x289723){_0x5d4afe['push'](_0x5d4afe['shift']());}}}(_0x3c3a,0x7472b));function _0x3c3a(){const _0x3cb3a9=['8471150KNIMeF','22qyjsbY','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-revision-history-sidebar__subrevision-collapser__inner','80745uVfVbg','setTemplate','toggle','3464360yzWyHS','248100pOfgPr','button','set','12PfQVrY','false','1572570KTrITm','true','ck-hidden','isVisible','span','337675kOCPYo','ck-revision-history-sidebar__subrevision-collapser','bindTemplate','9cllDik','click','387023qlbYCX','21RUFnGr','_isCollapsed'];_0x3c3a=function(){return _0x3cb3a9;};return _0x3c3a();}function _0x1048(_0x5da93d,_0x51394b){const _0x3c3ad9=_0x3c3a();return _0x1048=function(_0x10482e,_0x1987f3){_0x10482e=_0x10482e-0x1f0;let _0x13425b=_0x3c3ad9[_0x10482e];return _0x13425b;},_0x1048(_0x5da93d,_0x51394b);}import{View as _0x558021}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0x558021{constructor(_0x4530cf){const _0x5e0fb8=_0x1048;super(_0x4530cf);const _0x42d709=this[_0x5e0fb8(0x205)];this[_0x5e0fb8(0x1fb)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x5e0fb8(0x1f6)]({'tag':_0x5e0fb8(0x202),'attributes':{'class':['ck',_0x5e0fb8(0x204),_0x42d709['if'](_0x5e0fb8(0x201),_0x5e0fb8(0x200),_0x485324=>!_0x485324),_0x42d709['if'](_0x5e0fb8(0x1f0),_0x5e0fb8(0x1f3))],'role':_0x5e0fb8(0x1fa),'aria-pressed':_0x42d709['to'](_0x5e0fb8(0x1f0),_0xa90b8=>_0xa90b8?_0x5e0fb8(0x1fd):_0x5e0fb8(0x1ff))},'children':[{'tag':_0x5e0fb8(0x202),'attributes':{'class':['ck',_0x5e0fb8(0x1f4)]}}],'on':{'click':_0x42d709['to'](_0x5e0fb8(0x207))}});}[_0x264bd1(0x1f7)](){const _0x242216=_0x264bd1;this[_0x242216(0x1f0)]=!this[_0x242216(0x1f0)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51cdb6=_0x2b1c;function _0x31ec(){const _0x36e9cc=['396918gtwQSu','1140dZAtpa','isSelected','div','bind','ck-revision-history-sidebar__revision','85107SsWhMM','ck-revision-history-sidebar__subrevision','ck-revision-history-sidebar__revision-authors','span','317572rJCJpC','creator','5tJYXeS','152WyGlVv','ck-revision-history-sidebar__revision__date','createdAt','222582xTZfnw','1483898dVeVNV','_createdAtFormatted','set','deselect','ck-reset','6NkkrYP','bindTemplate','42477UVLLwE','setTemplate','3358607RgtYAN','fire','uiLanguage','_parentRevisionId','select','ck-revision-history-sidebar__revision_selected'];_0x31ec=function(){return _0x36e9cc;};return _0x31ec();}(function(_0x208248,_0x452901){const _0x39b646=_0x2b1c,_0x6d3c23=_0x208248();while(!![]){try{const _0x3f9cc6=parseInt(_0x39b646(0x14f))/0x1+-parseInt(_0x39b646(0x168))/0x2+parseInt(_0x39b646(0x167))/0x3+parseInt(_0x39b646(0x161))/0x4*(-parseInt(_0x39b646(0x163))/0x5)+parseInt(_0x39b646(0x14d))/0x6*(-parseInt(_0x39b646(0x151))/0x7)+-parseInt(_0x39b646(0x164))/0x8*(-parseInt(_0x39b646(0x157))/0x9)+-parseInt(_0x39b646(0x158))/0xa*(-parseInt(_0x39b646(0x15d))/0xb);if(_0x3f9cc6===_0x452901)break;else _0x6d3c23['push'](_0x6d3c23['shift']());}catch(_0x3727b8){_0x6d3c23['push'](_0x6d3c23['shift']());}}}(_0x31ec,0x82bbc));function _0x2b1c(_0x4dbce1,_0x2e94f5){const _0x31ec54=_0x31ec();return _0x2b1c=function(_0x2b1cfe,_0x37a87d){_0x2b1cfe=_0x2b1cfe-0x14c;let _0x252eb9=_0x31ec54[_0x2b1cfe];return _0x252eb9;},_0x2b1c(_0x4dbce1,_0x2e94f5);}import{View as _0x136a2f}from'ckeditor5/src/ui.js';import _0x580cfe from'./revisionauthorview.js';import{dateToPrettyFormat as _0x540f9b}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x136a2f{constructor(_0x5e286c,_0x33feed,_0x276f6c){const _0x17f9c1=_0x2b1c;super(_0x5e286c);const _0x588754=this[_0x17f9c1(0x14e)];this['id']=_0x33feed['id'],this[_0x17f9c1(0x15b)](_0x17f9c1(0x166))['to'](_0x33feed),this[_0x17f9c1(0x16a)](_0x17f9c1(0x159),!0x1),this[_0x17f9c1(0x15b)](_0x17f9c1(0x169))['to'](this,_0x17f9c1(0x166),_0x55986d=>_0x55986d?_0x540f9b(_0x5e286c[_0x17f9c1(0x153)],_0x55986d):void 0x0),this[_0x17f9c1(0x154)]=_0x276f6c,this[_0x17f9c1(0x150)]({'tag':_0x17f9c1(0x15a),'attributes':{'class':['ck',_0x17f9c1(0x14c),_0x17f9c1(0x15c),_0x17f9c1(0x15e),_0x588754['if'](_0x17f9c1(0x159),_0x17f9c1(0x156))]},'children':[{'tag':_0x17f9c1(0x160),'attributes':{'class':['ck',_0x17f9c1(0x165)]},'children':[{'text':_0x588754['to'](_0x17f9c1(0x169))}]},{'tag':'ul','attributes':{'class':['ck',_0x17f9c1(0x15f)]},'children':[new _0x580cfe(_0x5e286c,_0x33feed[_0x17f9c1(0x162)],!0x0)]}],'on':{'click':_0x588754['to'](this[_0x17f9c1(0x155)][_0x17f9c1(0x15b)](this))}});}[_0x51cdb6(0x155)](){const _0x50f506=_0x51cdb6;this[_0x50f506(0x159)]=!0x0,this[_0x50f506(0x152)](_0x50f506(0x155),{'parentId':this[_0x50f506(0x154)]});}[_0x51cdb6(0x16b)](){const _0x13f3d9=_0x51cdb6;this[_0x13f3d9(0x159)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4342(_0x57fb0b,_0x40e976){var _0xe699f1=_0xe699();return _0x4342=function(_0x4342e1,_0x4fdd71){_0x4342e1=_0x4342e1-0x168;var _0x8e0cd3=_0xe699f1[_0x4342e1];return _0x8e0cd3;},_0x4342(_0x57fb0b,_0x40e976);}function _0xe699(){var _0x375b13=['325758ixdNZB','toLocaleDateString','2401161pEgtBp','4638528zTQyqE','42QHyuIV','toLocaleTimeString','559503pZYsGo','long','99903IreORY','numeric','10ohXuXp','490972kZwrOC','554472SwxDgi'];_0xe699=function(){return _0x375b13;};return _0xe699();}(function(_0x3a6cf7,_0x53c393){var _0x54d9e4=_0x4342,_0xd39a0c=_0x3a6cf7();while(!![]){try{var _0xd476ff=parseInt(_0x54d9e4(0x16d))/0x1+parseInt(_0x54d9e4(0x172))/0x2+-parseInt(_0x54d9e4(0x174))/0x3+parseInt(_0x54d9e4(0x170))/0x4*(-parseInt(_0x54d9e4(0x16f))/0x5)+parseInt(_0x54d9e4(0x171))/0x6*(parseInt(_0x54d9e4(0x169))/0x7)+parseInt(_0x54d9e4(0x168))/0x8+parseInt(_0x54d9e4(0x16b))/0x9;if(_0xd476ff===_0x53c393)break;else _0xd39a0c['push'](_0xd39a0c['shift']());}catch(_0x4db984){_0xd39a0c['push'](_0xd39a0c['shift']());}}}(_0xe699,0x64eb4));export function dateToPrettyFormat(_0x4c8212,_0x329a2b){var _0x4a777e=_0x4342;return _0x329a2b[_0x4a777e(0x173)](_0x4c8212,{'month':_0x4a777e(0x16c),'day':_0x4a777e(0x16e)})+',\x20'+_0x329a2b[_0x4a777e(0x16a)](_0x4c8212,{'hour':_0x4a777e(0x16e),'minute':_0x4a777e(0x16e)});}
|