@ckeditor/ckeditor5-revision-history 43.1.0-alpha.6 → 43.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.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 _0x25a613=_0x245d;(function(_0x26afc3,_0x1eadda){const _0x3af098=_0x245d,_0x493cf0=_0x26afc3();while(!![]){try{const _0x4167ad=parseInt(_0x3af098(0x30b))/0x1*(-parseInt(_0x3af098(0x230))/0x2)+-parseInt(_0x3af098(0x227))/0x3+-parseInt(_0x3af098(0x287))/0x4+parseInt(_0x3af098(0x221))/0x5*(-parseInt(_0x3af098(0x307))/0x6)+parseInt(_0x3af098(0x2f8))/0x7*(parseInt(_0x3af098(0x32d))/0x8)+parseInt(_0x3af098(0x293))/0x9+parseInt(_0x3af098(0x1ef))/0xa;if(_0x4167ad===_0x1eadda)break;else _0x493cf0['push'](_0x493cf0['shift']());}catch(_0x599f66){_0x493cf0['push'](_0x493cf0['shift']());}}}(_0xbd07,0xd939e));import{Plugin as _0x2a705c,Command as _0x80ac9}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x4a083e}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x30ae23}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x32f1c8,Element as _0x3c2ab3,Text as _0x50dbcd,ViewDocumentFragment as _0x305d62,ViewText as _0x1878fa,ViewElement as _0xb6ac85,ViewContainerElement as _0x5cbb8d,ViewAttributeElement as _0xa055b3,ViewEmptyElement as _0x5cbdc0,ViewRawElement as _0x3f9354,ViewUIElement as _0x4e63f9}from'ckeditor5/src/engine.js';import{Users as _0x3dc456,getMarkerDomElement as _0x307bff}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1f3481 from'./ui/revisionviewer/changedetailsview.js';import _0x35f657 from'./revisionsrepository.js';import _0x103699 from'./changeitem.js';import{default as _0x4b8dbe}from'./revisiondiff.js';import'../theme/revisionviewer.css';function _0x245d(_0x43f24f,_0x3837ae){const _0xbd076d=_0xbd07();return _0x245d=function(_0x245da8,_0x470568){_0x245da8=_0x245da8-0x1ee;let _0x461623=_0xbd076d[_0x245da8];return _0x461623;},_0x245d(_0x43f24f,_0x3837ae);}import{cloneDeep as _0x127a16}from'lodash-es';const tt={'c':_0x5cbb8d,'a':_0xa055b3,'e':_0x5cbdc0,'r':_0x3f9354,'u':_0x4e63f9};export default class d extends _0x2a705c{static get[_0x25a613(0x31d)](){const _0x18a01a=_0x25a613;return _0x18a01a(0x209);}static get[_0x25a613(0x2a4)](){return[_0x3dc456,_0x30ae23,_0x35f657];}constructor(_0x5eba71){const _0x5c63a4=_0x25a613;super(_0x5eba71),this[_0x5c63a4(0x28d)]=this[_0x5c63a4(0x31f)][_0x5c63a4(0x2fd)][_0x5c63a4(0x210)](_0x5c63a4(0x25d)),this[_0x5c63a4(0x2b0)](_0x5c63a4(0x2fe),null),this[_0x5c63a4(0x2b0)](_0x5c63a4(0x212),null),this[_0x5c63a4(0x2d9)]=null,this[_0x5c63a4(0x2b0)](_0x5c63a4(0x300),null),this[_0x5c63a4(0x2b0)](_0x5c63a4(0x241),!0x1),this[_0x5c63a4(0x2b0)](_0x5c63a4(0x31c),!0x0),this['on'](_0x5c63a4(0x24a),(_0x2d3004,_0x430439,_0x297007)=>{const _0x453b68=_0x5c63a4;this[_0x453b68(0x2fe)]=null,this[_0x453b68(0x212)]=null,this[_0x453b68(0x31f)][_0x453b68(0x2e8)][_0x453b68(0x283)][_0x453b68(0x331)](_0x38853f=>{const _0x17cea0=_0x453b68;for(const _0x91fd81 of this[_0x17cea0(0x31f)][_0x17cea0(0x2e8)][_0x17cea0(0x283)][_0x17cea0(0x247)][_0x17cea0(0x262)])_0x297007?_0x38853f[_0x17cea0(0x29d)](_0x17cea0(0x312),_0x91fd81):_0x38853f[_0x17cea0(0x203)](_0x17cea0(0x312),_0x91fd81);});}),this[_0x5c63a4(0x267)](_0x5c63a4(0x20a))['to'](this,_0x5c63a4(0x2fe),_0x17e5ea=>null!==_0x17e5ea),this[_0x5c63a4(0x267)](_0x5c63a4(0x23d))['to'](this,_0x5c63a4(0x241),this,_0x5c63a4(0x300),this,_0x5c63a4(0x2fe),(_0x4b901b,_0x9e00e4,_0x1d952b)=>_0x4b901b&&_0x1d952b?_0x9e00e4[_0x5c63a4(0x30e)][_0x5c63a4(0x285)](_0x1d952b):0x0),this[_0x5c63a4(0x267)](_0x5c63a4(0x21d))['to'](this,_0x5c63a4(0x241),this,_0x5c63a4(0x300),(_0x30c0ce,_0x412c19)=>_0x30c0ce?_0x412c19[_0x5c63a4(0x30e)][_0x5c63a4(0x27c)]:0x0),this[_0x5c63a4(0x2bc)]=null,this[_0x5c63a4(0x2de)]=new Map(),this[_0x5c63a4(0x2db)]=null,this[_0x5c63a4(0x2a7)]=this[_0x5c63a4(0x31f)][_0x5c63a4(0x2fd)][_0x5c63a4(0x210)](_0x30ae23);}[_0x25a613(0x2c5)](){const _0x2644d2=_0x25a613,_0x1cd98e=this[_0x2644d2(0x31f)],_0x43da31=new ShowChangeCommand(_0x1cd98e,{'direction':_0x2644d2(0x270)}),_0x1294e2=new ShowChangeCommand(_0x1cd98e,{'direction':_0x2644d2(0x26f)});(_0x1cd98e[_0x2644d2(0x2b8)][_0x2644d2(0x2b4)](_0x2644d2(0x337),_0x43da31),_0x1cd98e[_0x2644d2(0x2b8)][_0x2644d2(0x2b4)](_0x2644d2(0x245),_0x1294e2),_0x1cd98e[_0x2644d2(0x2b8)][_0x2644d2(0x2b4)](_0x2644d2(0x244),new RestoreRevisionCommand(_0x1cd98e)),this['on'](_0x2644d2(0x276),()=>{const _0x267761=_0x2644d2;_0x43da31[_0x267761(0x2e5)](),_0x1294e2[_0x267761(0x2e5)]();}),this[_0x2644d2(0x2f9)](),this[_0x2644d2(0x27b)](),_0x1cd98e[_0x2644d2(0x2ad)](_0x2644d2(0x266)),_0x1cd98e[_0x2644d2(0x2fd)][_0x2644d2(0x2e0)](_0x2644d2(0x1f2)))&&_0x1cd98e[_0x2644d2(0x2fd)][_0x2644d2(0x210)](_0x2644d2(0x1f2))[_0x2644d2(0x321)](_0x2644d2(0x266));}async[_0x25a613(0x296)](_0xaaba2a){const _0xf2b5c6=_0x25a613;await this[_0xf2b5c6(0x320)](_0xaaba2a);const _0x371960={};for(const _0x96982f in _0xaaba2a[_0xf2b5c6(0x291)]){if(_0xaaba2a[_0xf2b5c6(0x291)][_0x96982f][_0xf2b5c6(0x25a)]&&!_0xaaba2a[_0xf2b5c6(0x291)][_0x96982f][_0xf2b5c6(0x25a)][_0xf2b5c6(0x295)])continue;const _0x12d8ea=this[_0xf2b5c6(0x25b)](JSON[_0xf2b5c6(0x2fb)](_0xaaba2a[_0xf2b5c6(0x291)][_0x96982f][_0xf2b5c6(0x201)])),_0x283c55=this[_0xf2b5c6(0x31f)][_0xf2b5c6(0x2e8)][_0xf2b5c6(0x283)][_0xf2b5c6(0x247)],_0x53559c=new _0x305d62(_0x283c55,_0x12d8ea[_0xf2b5c6(0x2f6)](_0x14f024=>this[_0xf2b5c6(0x2e7)](_0x14f024)));this[_0xf2b5c6(0x31f)][_0xf2b5c6(0x2c8)][_0xf2b5c6(0x338)][_0xf2b5c6(0x20e)](_0xf2b5c6(0x2fc)),_0x371960[_0x96982f]=this[_0xf2b5c6(0x31f)][_0xf2b5c6(0x2c8)][_0xf2b5c6(0x338)][_0xf2b5c6(0x2f7)](_0x53559c),this[_0xf2b5c6(0x31f)][_0xf2b5c6(0x2c8)][_0xf2b5c6(0x338)][_0xf2b5c6(0x20e)](_0xf2b5c6(0x259));}return _0x371960;}async[_0x25a613(0x33c)](_0x1ab48c){const _0x387510=_0x25a613;await this[_0x387510(0x320)](_0x1ab48c);const _0x5d926a={};for(const _0x4e900c in _0x1ab48c[_0x387510(0x291)])_0x1ab48c[_0x387510(0x291)][_0x4e900c][_0x387510(0x25a)]&&!_0x1ab48c[_0x387510(0x291)][_0x4e900c][_0x387510(0x25a)][_0x387510(0x295)]||(_0x5d926a[_0x4e900c]=_0x1ab48c[_0x387510(0x291)][_0x4e900c][_0x387510(0x292)]||{});return _0x5d926a;}[_0x25a613(0x25b)](_0x305ece){const _0x2113f7=_0x25a613;return(_0x305ece=_0x305ece[_0x2113f7(0x218)](_0x48eb8f=>!_0x48eb8f[_0x2113f7(0x1f3)]||_0x2113f7(0x299)!==_0x48eb8f[_0x2113f7(0x1f3)]&&_0x2113f7(0x282)!==_0x48eb8f[_0x2113f7(0x1f3)]))[_0x2113f7(0x2bd)](_0x352233=>{const _0x1251ad=_0x2113f7;_0x1251ad(0x25e)!=typeof _0x352233&&(_0x352233[_0x1251ad(0x31e)]=this[_0x1251ad(0x25b)](_0x352233[_0x1251ad(0x31e)]),_0x352233[_0x1251ad(0x2d7)]=_0x352233[_0x1251ad(0x2d7)][_0x1251ad(0x218)](_0x49f277=>!_0x49f277[0x0][_0x1251ad(0x2ef)](_0x1251ad(0x23a))));}),_0x305ece;}async[_0x25a613(0x275)](_0x2730d7,_0x13a43c,_0xf92df7=!0x1){const _0x5c5bf7=_0x25a613;if(!this[_0x5c5bf7(0x31c)])return;const _0x5bbacc=this[_0x5c5bf7(0x300)],_0x48f2fd=this[_0x5c5bf7(0x28d)],_0x43b9f0=_0x5c5bf7(0x25e)==typeof _0x2730d7?_0x48f2fd[_0x5c5bf7(0x21b)](_0x2730d7):_0x2730d7,_0x51669a=_0x5c5bf7(0x25e)==typeof _0x13a43c?_0x48f2fd[_0x5c5bf7(0x21b)](_0x13a43c):_0x13a43c,_0x3e7a01=_0x43b9f0['id'],_0x40c134=_0x51669a?_0x51669a['id']:null;if(!_0xf92df7&&this[_0x5c5bf7(0x300)]&&this[_0x5c5bf7(0x300)][_0x5c5bf7(0x30c)]===_0x3e7a01&&this[_0x5c5bf7(0x300)][_0x5c5bf7(0x2b9)]===_0x40c134)return Promise[_0x5c5bf7(0x278)]();this[_0x5c5bf7(0x241)]=!0x1,this[_0x5c5bf7(0x212)]=null,this[_0x5c5bf7(0x2fe)]=null,this[_0x5c5bf7(0x300)]=new _0x4b8dbe(_0x3e7a01,_0x40c134);const _0x358739=this[_0x5c5bf7(0x1fc)](_0x43b9f0,_0x51669a,!0x0)[_0x5c5bf7(0x2f6)](_0x25f223=>this[_0x5c5bf7(0x320)](_0x25f223));return _0x358739[_0x5c5bf7(0x274)](new Promise(_0xd51f5b=>{setTimeout(_0xd51f5b,0x14);})),Promise[_0x5c5bf7(0x205)](_0x358739)[_0x5c5bf7(0x2e6)](()=>{const _0x13e683=_0x5c5bf7;if(!this[_0x13e683(0x31c)])return;this[_0x13e683(0x228)]();const _0x20cc56=this[_0x13e683(0x323)](_0x3e7a01,_0x40c134);for(const _0x247b8e of _0x20cc56[_0x13e683(0x30e)])this[_0x13e683(0x2de)][_0x13e683(0x2b0)](_0x247b8e['id'],_0x247b8e);this[_0x13e683(0x31f)][_0x13e683(0x1f4)][_0x13e683(0x2d5)]({'isUndoable':!0x1},_0x37a2fc=>{const _0x498ceb=_0x13e683;for(const _0x762670 of this[_0x498ceb(0x31f)][_0x498ceb(0x1f4)][_0x498ceb(0x247)][_0x498ceb(0x2a0)]())_0x37a2fc[_0x498ceb(0x2e3)](_0x762670);for(const _0x29979d of Object[_0x498ceb(0x2a8)](_0x20cc56[_0x498ceb(0x1f4)])){const _0x2be25a=_0x37a2fc[_0x498ceb(0x264)](_0x29979d);for(const _0x55262b of Object[_0x498ceb(0x2a8)](_0x20cc56[_0x498ceb(0x2d7)][_0x29979d]))_0x37a2fc[_0x498ceb(0x2b6)](_0x55262b,_0x20cc56[_0x498ceb(0x2d7)][_0x29979d][_0x55262b],_0x2be25a);_0x37a2fc[_0x498ceb(0x2a5)](_0x20cc56[_0x498ceb(0x1f4)][_0x29979d],_0x2be25a,0x0);}}),this[_0x13e683(0x300)][_0x13e683(0x317)](this[_0x13e683(0x2a9)](_0x20cc56[_0x13e683(0x30e)])),this[_0x13e683(0x241)]=!0x0;})[_0x5c5bf7(0x1fd)](_0x5e5031=>{const _0xb5dc7c=_0x5c5bf7;console[_0xb5dc7c(0x22d)](_0x5e5031),this[_0xb5dc7c(0x228)](),_0x5bbacc&&(this[_0xb5dc7c(0x300)]=_0x5bbacc),this[_0xb5dc7c(0x241)]=!0x0;});}[_0x25a613(0x1f9)](_0xc8739f,_0x20bae5){const _0x1f56a0=_0x25a613,_0x1de926=this[_0x1f56a0(0x28d)][_0x1f56a0(0x32b)](_0xc8739f);return _0x1de926['on'](_0x1f56a0(0x268),(_0x43f2c6,_0xf95ebb,_0x19d91d)=>_0x20bae5(_0xf95ebb,_0x19d91d,_0x1de926)),this[_0x1f56a0(0x28d)][_0x1f56a0(0x265)](_0x1de926),_0x1de926;}[_0x25a613(0x320)](_0x42efad){const _0x5a175c=_0x25a613;if(!_0x42efad||_0x42efad[_0x5a175c(0x291)])return Promise[_0x5a175c(0x278)]();{const _0x2cb0e5=this[_0x5a175c(0x31f)][_0x5a175c(0x324)][_0x5a175c(0x210)](_0x5a175c(0x237));return this[_0x5a175c(0x2db)][_0x5a175c(0x21b)]({'channelId':_0x2cb0e5,'revisionId':_0x42efad['id']})[_0x5a175c(0x2e6)](_0x3c326=>{const _0xeca395=_0x5a175c;_0x42efad[_0xeca395(0x268)]({'diffData':_0x3c326[_0xeca395(0x291)]},!0x0);});}}[_0x25a613(0x228)](){const _0x3190cf=_0x25a613;this[_0x3190cf(0x2fe)]=null,this[_0x3190cf(0x281)](),this[_0x3190cf(0x2bc)]&&this[_0x3190cf(0x2bc)][_0x3190cf(0x2c4)](),this[_0x3190cf(0x2bc)]=null,this[_0x3190cf(0x2de)][_0x3190cf(0x29b)](),this[_0x3190cf(0x31f)][_0x3190cf(0x1f4)][_0x3190cf(0x2d5)]({'isUndoable':!0x1},_0x44bd94=>{const _0x349cdc=_0x3190cf;for(const _0x2b0f07 of this[_0x349cdc(0x31f)][_0x349cdc(0x1f4)][_0x349cdc(0x247)][_0x349cdc(0x2a0)]())_0x44bd94[_0x349cdc(0x2e3)](_0x2b0f07);});}[_0x25a613(0x2a9)](_0xd1b386){const _0x34607d=_0x25a613,_0x3f85f4=[],_0x1715c4=new Map();for(const _0x50aa17 of this[_0x34607d(0x31f)][_0x34607d(0x1f4)][_0x34607d(0x247)][_0x34607d(0x2a0)]()){const _0x361971=this[_0x34607d(0x31f)][_0x34607d(0x2e8)][_0x34607d(0x283)][_0x34607d(0x24b)](_0x50aa17);if(!_0x361971)continue;const _0x16090b=_0x361971[_0x34607d(0x277)]()[_0x34607d(0x202)](0x0);_0x16090b&&(_0x3f85f4[_0x34607d(0x274)](_0x50aa17),_0x1715c4[_0x34607d(0x2b0)](_0x50aa17,_0x16090b));}return _0x3f85f4[_0x34607d(0x308)]((_0x565a65,_0x2915f7)=>{const _0x2d2a7c=_0x34607d,_0x33967a=_0x1715c4[_0x2d2a7c(0x210)](_0x565a65),_0x74b834=_0x1715c4[_0x2d2a7c(0x210)](_0x2915f7);return _0x33967a['y']-_0x74b834['y']||_0x33967a['x']-_0x74b834['x'];}),(_0xd1b386=_0xd1b386[_0x34607d(0x218)](_0x510524=>_0x3f85f4[_0x34607d(0x2dc)](_0x510524[_0x34607d(0x2c6)])))[_0x34607d(0x308)]((_0x76c221,_0x1138da)=>_0x3f85f4[_0x34607d(0x1f7)](_0x76c221[_0x34607d(0x2c6)])-_0x3f85f4[_0x34607d(0x1f7)](_0x1138da[_0x34607d(0x2c6)])),_0xd1b386;}[_0x25a613(0x33b)](_0x395ecc){const _0xd876fe=_0x25a613,_0x5590e0=Array[_0xd876fe(0x30a)](_0x395ecc[_0xd876fe(0x24f)])[_0xd876fe(0x218)](([_0x30ee13,_0x50c38e])=>_0x30ee13[_0xd876fe(0x2ef)](_0xd876fe(0x2c3))&&!_0x50c38e[_0xd876fe(0x238)]),_0x5c61dc=Array[_0xd876fe(0x30a)](this[_0xd876fe(0x31f)][_0xd876fe(0x1f4)][_0xd876fe(0x290)](_0x395ecc)[_0xd876fe(0x223)]({'singleCharacters':!0x0}));if(0x0!=_0x5590e0[_0xd876fe(0x27c)])for(const _0x2ec94a of _0x5c61dc){const [_0x40a368,_0x416bcb]=_0x5590e0[0x0],[,_0x3317f2,_0x34c992]=_0x40a368[_0xd876fe(0x288)](':');if(_0x416bcb[_0xd876fe(0x2a6)][_0xd876fe(0x258)](_0x2ec94a[_0xd876fe(0x240)])&&_0x5590e0[_0xd876fe(0x2c0)](),(_0x2ec94a[_0xd876fe(0x28e)][_0xd876fe(0x258)](_0x416bcb[_0xd876fe(0x311)])||_0x2ec94a[_0xd876fe(0x28e)][_0xd876fe(0x272)](_0x416bcb[_0xd876fe(0x311)]))&&(_0xd876fe(0x30d)==_0x3317f2?_0x2ec94a[_0xd876fe(0x214)]={'userId':_0x34c992}:_0xd876fe(0x2ec)==_0x3317f2&&(_0x2ec94a[_0xd876fe(0x2ca)]={'userId':_0x34c992})),0x0==_0x5590e0[_0xd876fe(0x27c)])break;}return _0x5c61dc;}[_0x25a613(0x329)](_0x171773){const _0x14189a=_0x25a613,_0xf13d60=new Map();for(let _0x389f24=0x0;_0x389f24<_0x171773[_0x14189a(0x27c)];_0x389f24++)_0x14189a(0x2c2)===_0x171773[_0x389f24][_0x14189a(0x29e)]?(_0x171773[_0x389f24][_0x14189a(0x202)][_0x14189a(0x2df)]=_0x389f24,_0x171773[_0x389f24][_0x14189a(0x202)][_0x14189a(0x313)]=_0x389f24):(_0x14189a(0x2b3)===_0x171773[_0x389f24][_0x14189a(0x29e)]?_0x171773[_0x389f24][_0x14189a(0x202)][_0x14189a(0x2df)]=_0x389f24:_0x14189a(0x2ae)===_0x171773[_0x389f24][_0x14189a(0x29e)]&&(_0x171773[_0x389f24][_0x14189a(0x202)][_0x14189a(0x313)]=_0x389f24),_0xf13d60[_0x14189a(0x2b0)](_0x171773[_0x389f24]['id'],_0x389f24));for(const _0x1b5426 of _0xf13d60[_0x14189a(0x28a)]())_0x14189a(0x2b3)===_0x171773[_0x1b5426][_0x14189a(0x29e)]?_0x171773[_0x1b5426][_0x14189a(0x202)][_0x14189a(0x313)]=_0xf13d60[_0x14189a(0x210)](_0x171773[_0x1b5426][_0x14189a(0x1fa)]):_0x14189a(0x2ae)===_0x171773[_0x1b5426][_0x14189a(0x29e)]&&(_0x171773[_0x1b5426][_0x14189a(0x202)][_0x14189a(0x2df)]=_0xf13d60[_0x14189a(0x210)](_0x171773[_0x1b5426][_0x14189a(0x1fa)]));}[_0x25a613(0x20c)](_0x2fa1b0){const _0x4a7fbe=_0x25a613;for(let _0x3ed856=0x0;_0x3ed856<_0x2fa1b0[_0x4a7fbe(0x27c)];_0x3ed856++){if(_0x4a7fbe(0x2b3)===_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x29e)])_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x202)][_0x4a7fbe(0x2df)]=_0x3ed856;else{if(_0x4a7fbe(0x2ae)===_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x29e)]){_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x202)][_0x4a7fbe(0x313)]=_0x3ed856;const _0x3764a5=_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x202)][_0x4a7fbe(0x2df)];_0x2fa1b0[_0x3764a5][_0x4a7fbe(0x1fa)]=_0x2fa1b0[_0x3ed856]['id'],_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x1fa)]=_0x2fa1b0[_0x3764a5]['id'];}else _0x2fa1b0[_0x3ed856][_0x4a7fbe(0x202)][_0x4a7fbe(0x2df)]=_0x3ed856,_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x202)][_0x4a7fbe(0x313)]=_0x3ed856,_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x1fa)]=null;}_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x336)]||(_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x336)]=[],_0x2fa1b0[_0x3ed856][_0x4a7fbe(0x24c)]=[]);}}[_0x25a613(0x249)](_0xc96711,_0x435dfe){const _0x522700=_0x25a613,_0x398ea7=_0xc96711[_0x522700(0x218)](_0x33bffc=>!_0x33bffc[_0x522700(0x214)]);for(let _0x3ccc9c=0x0;_0x3ccc9c<_0x435dfe[_0x522700(0x27c)];_0x3ccc9c++)_0x435dfe[_0x3ccc9c][_0x522700(0x214)]&&(_0x398ea7[_0x3ccc9c][_0x522700(0x214)]=_0x435dfe[_0x3ccc9c][_0x522700(0x214)]);}[_0x25a613(0x2f0)](_0x359b21){const _0x5a018e=_0x25a613,_0x14b468=JSON[_0x5a018e(0x2fb)](_0x359b21),_0x2d8ee5=this[_0x5a018e(0x31f)][_0x5a018e(0x2e8)][_0x5a018e(0x283)][_0x5a018e(0x247)],_0x310baf=new _0x305d62(_0x2d8ee5,_0x14b468[_0x5a018e(0x2f6)](_0x121f52=>this[_0x5a018e(0x2e7)](_0x121f52)));return this[_0x5a018e(0x31f)][_0x5a018e(0x2c8)][_0x5a018e(0x269)](_0x310baf);}[_0x25a613(0x2e7)](_0x1a187a){const _0x534fee=_0x25a613,_0x4d17c2=this[_0x534fee(0x31f)][_0x534fee(0x2e8)][_0x534fee(0x283)][_0x534fee(0x247)];if(_0x534fee(0x25e)==typeof _0x1a187a)return new _0x1878fa(_0x4d17c2,_0x1a187a);{const _0x3c23da=_0x1a187a[_0x534fee(0x31e)][_0x534fee(0x2f6)](_0x4a5faa=>this[_0x534fee(0x2e7)](_0x4a5faa));return new(tt[_0x1a187a[(_0x534fee(0x29e))]]||_0xb6ac85)(_0x4d17c2,_0x1a187a[_0x534fee(0x1f3)],_0x1a187a[_0x534fee(0x2d7)],_0x3c23da);}}[_0x25a613(0x323)](_0x429d8a,_0x3e5f30=null){const _0xa18958=_0x25a613,_0x427145=this[_0xa18958(0x28d)][_0xa18958(0x21b)](_0x429d8a),_0x5dec96=_0x3e5f30?this[_0xa18958(0x28d)][_0xa18958(0x21b)](_0x3e5f30):null,_0x40acae=this[_0xa18958(0x1fc)](_0x427145,_0x5dec96),_0x108d1f=_0x40acae[_0x40acae[_0xa18958(0x27c)]-0x1],_0x13195d=new Map(),_0x4a5f33={'model':{},'attributes':{},'changes':[]},_0x583998=new Set(),_0x3f6e63=new Map();for(let _0x4f3c70=_0x40acae[_0xa18958(0x27c)]-0x1;_0x4f3c70>=0x0;_0x4f3c70--){const _0x242156=_0x40acae[_0x4f3c70];for(const _0x198d7d of Object[_0xa18958(0x2a8)](_0x242156[_0xa18958(0x291)]))if(_0x242156[_0xa18958(0x291)][_0x198d7d][_0xa18958(0x25a)]){const _0x5363a0=_0x242156[_0xa18958(0x291)][_0x198d7d][_0xa18958(0x25a)];_0x5363a0[_0xa18958(0x295)]?(_0x583998[_0xa18958(0x2b4)](_0x198d7d),_0x3f6e63[_0xa18958(0x2e0)](_0x198d7d)&&_0x3f6e63[_0xa18958(0x210)](_0x198d7d)[_0xa18958(0x234)]==_0x5363a0[_0xa18958(0x234)]?_0x3f6e63[_0xa18958(0x23e)](_0x198d7d):_0x3f6e63[_0xa18958(0x2b0)](_0x198d7d,_0x5363a0)):_0x3f6e63[_0xa18958(0x2e0)](_0x198d7d)?(_0x583998[_0xa18958(0x23e)](_0x198d7d),_0x3f6e63[_0xa18958(0x23e)](_0x198d7d)):(_0x583998[_0xa18958(0x2b4)](_0x198d7d),_0x3f6e63[_0xa18958(0x2b0)](_0x198d7d,_0x5363a0));}else _0x583998[_0xa18958(0x2b4)](_0x198d7d);}for(const _0xdfb78a of _0x583998){const _0x5a92eb=_0x3f6e63[_0xa18958(0x2e0)](_0xdfb78a)&&!_0x3f6e63[_0xa18958(0x210)](_0xdfb78a)[_0xa18958(0x295)];let _0x14e7f2=_0x5a92eb?_0x40acae[_0xa18958(0x27c)]-0x1:0x0;const _0x3c180a=_0x5a92eb?-0x1:0x1;for(;_0x40acae[_0x14e7f2];){const _0x231318=_0x40acae[_0x14e7f2];if(_0x231318[_0xa18958(0x291)][_0xdfb78a]){const _0x349980=_0x5a92eb?_0x231318[_0xa18958(0x291)][_0xdfb78a][_0xa18958(0x33a)]:_0x231318[_0xa18958(0x291)][_0xdfb78a][_0xa18958(0x292)];_0x4a5f33[_0xa18958(0x2d7)][_0xdfb78a]=_0x349980?_0x127a16(_0x349980):{};break;}_0x14e7f2+=_0x3c180a;}}for(const _0x54e77d of _0x40acae){_0x54e77d[_0xa18958(0x1f4)]={};for(const _0x43be53 of _0x54e77d[_0xa18958(0x2bb)])_0x13195d[_0xa18958(0x2b0)](_0x43be53['id'],_0x43be53);for(const _0x13db5d of _0x583998){const _0xe05771=_0x54e77d[_0xa18958(0x291)][_0x13db5d]?_0x54e77d[_0xa18958(0x291)][_0x13db5d][_0xa18958(0x201)]:'[]',_0x5e0a31=_0x54e77d[_0xa18958(0x291)][_0x13db5d]?_0x54e77d[_0xa18958(0x291)][_0x13db5d][_0xa18958(0x305)]:'[]';_0x54e77d[_0xa18958(0x1f4)][_0x13db5d]={'insertions':this[_0xa18958(0x2f0)](_0xe05771),'deletions':this[_0xa18958(0x2f0)](_0x5e0a31)};}}for(const _0xc1b0ad of _0x583998){let _0x12982a=null,_0xf2c6f6=0x0;const _0x49afb0=new Map(Array[_0xa18958(0x30a)](_0x427145[_0xa18958(0x1f4)][_0xc1b0ad][_0xa18958(0x201)][_0xa18958(0x24f)])[_0xa18958(0x218)](([_0x520011])=>!_0x520011[_0xa18958(0x2ef)](_0xa18958(0x2c3))));let _0x35db91=0x0;for(const _0x52d581 of _0x40acae){const _0x5ab3b6=this[_0xa18958(0x33b)](_0x52d581[_0xa18958(0x1f4)][_0xc1b0ad][_0xa18958(0x201)]);_0x52d581==_0x427145?(_0x12982a=_0x5ab3b6,_0xf2c6f6=_0x12982a[_0xa18958(0x27c)],_0x12982a[_0xa18958(0x2bd)](_0x133df3=>{_0x133df3['id']=_0x35db91++;}),this[_0xa18958(0x20c)](_0x12982a)):this[_0xa18958(0x249)](_0x12982a,_0x5ab3b6);const _0x1b3a1f=_0x12982a[_0xa18958(0x218)](_0x1df80b=>!_0x1df80b[_0xa18958(0x214)])[_0xa18958(0x2f6)](_0x17fae4=>_0x17fae4['id']);let _0x523364=0x0;const _0xb17979=this[_0xa18958(0x33b)](_0x52d581[_0xa18958(0x1f4)][_0xc1b0ad][_0xa18958(0x305)]);_0xb17979[_0xa18958(0x2bd)](_0x2e80ea=>{const _0x2ce395=_0xa18958;_0x2e80ea[_0x2ce395(0x2ca)]?_0x2e80ea['id']=_0xf2c6f6++:_0x2e80ea['id']=_0x1b3a1f[_0x523364++];}),this[_0xa18958(0x20c)](_0xb17979),this[_0xa18958(0x23b)](_0x12982a,_0xa18958(0x214)),this[_0xa18958(0x23b)](_0xb17979,_0xa18958(0x2ca)),_0x52d581==_0x427145&&this[_0xa18958(0x261)](_0x12982a,_0x49afb0),_0x12982a=this[_0xa18958(0x2b2)](_0x12982a,_0xb17979),this[_0xa18958(0x329)](_0x12982a),this[_0xa18958(0x23b)](_0x12982a,_0xa18958(0x2ca));}_0x12982a=_0x12982a[_0xa18958(0x218)](_0xcbcb27=>!(_0xcbcb27[_0xa18958(0x214)]&&_0xcbcb27[_0xa18958(0x2ca)]));const _0xd64ba7=new Map(_0x108d1f[_0xa18958(0x1f4)][_0xc1b0ad][_0xa18958(0x305)][_0xa18958(0x24f)]),_0x32ee28=new Set(_0x49afb0[_0xa18958(0x2a8)]());for(const _0x333b79 of _0xd64ba7[_0xa18958(0x2a8)]())_0x32ee28[_0xa18958(0x23e)](_0x333b79);this[_0xa18958(0x2cf)](_0x12982a,_0x32ee28),this[_0xa18958(0x2ba)](_0x12982a),_0x12982a=this[_0xa18958(0x1fb)](_0x12982a),_0x12982a=this[_0xa18958(0x2aa)](_0x12982a),_0x12982a=this[_0xa18958(0x26c)](_0x12982a);const {root:_0x44c078,changes:_0x1729b3}=this[_0xa18958(0x23c)](_0x12982a,_0x13195d,_0xc1b0ad);_0x4a5f33[_0xa18958(0x1f4)][_0xc1b0ad]=_0x44c078;const _0x2cb48a=_0x3f6e63[_0xa18958(0x210)](_0xc1b0ad);if(_0x2cb48a){const _0x53a212=_0x13195d[_0xa18958(0x210)](_0x2cb48a[_0xa18958(0x234)]),_0xdcccb8=new _0x103699({'author':_0x53a212,'type':_0x2cb48a[_0xa18958(0x295)]?_0xa18958(0x2b4):_0xa18958(0x297),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xc1b0ad});_0x1729b3[_0xa18958(0x2b5)](_0xdcccb8),_0x4a5f33[_0xa18958(0x2d7)][_0xc1b0ad][_0xa18958(0x25f)]=_0xdcccb8['id'];}_0x4a5f33[_0xa18958(0x30e)]=_0x4a5f33[_0xa18958(0x30e)][_0xa18958(0x2f2)](_0x1729b3);}return _0x4a5f33;}[_0x25a613(0x261)](_0x10dcc3,_0xd13c8f){const _0x5d9054=_0x25a613;for(let _0x4a84e0=0x0;_0x4a84e0<_0x10dcc3[_0x5d9054(0x27c)];_0x4a84e0++)for(const [_0x4c6e19,_0x32593d]of _0xd13c8f)_0x32593d[_0x5d9054(0x311)][_0x5d9054(0x258)](_0x10dcc3[_0x4a84e0][_0x5d9054(0x28e)])&&_0x10dcc3[_0x4a84e0][_0x5d9054(0x336)][_0x5d9054(0x274)](_0x4c6e19),_0x32593d[_0x5d9054(0x2a6)][_0x5d9054(0x258)](_0x10dcc3[_0x4a84e0][_0x5d9054(0x240)])&&_0x10dcc3[_0x4a84e0][_0x5d9054(0x24c)][_0x5d9054(0x274)](_0x4c6e19);}[_0x25a613(0x2b2)](_0x2408dc,_0x541aca){const _0x231dd0=_0x25a613;let _0x2cd612=[],_0x51e405=0x0,_0x5b35ab=0x0;for(;_0x51e405<_0x2408dc[_0x231dd0(0x27c)]||_0x5b35ab<_0x541aca[_0x231dd0(0x27c)];){const _0x383168=_0x2408dc[_0x51e405]||{},_0x3a5e81=_0x541aca[_0x5b35ab]||{};if(_0x383168['id']==_0x3a5e81['id'])_0x51e405++,_0x5b35ab++,_0x2cd612[_0x231dd0(0x274)](_0x383168);else{if(_0x3a5e81[_0x231dd0(0x2ca)]&&_0x383168[_0x231dd0(0x214)]){const {commonTape:_0x1e133d,iEnd:_0x4f7e51,jEnd:_0x338e52}=this[_0x231dd0(0x243)](_0x2408dc,_0x51e405,_0x541aca,_0x5b35ab);_0x2cd612=_0x2cd612[_0x231dd0(0x2f2)](_0x1e133d),_0x51e405=_0x4f7e51,_0x5b35ab=_0x338e52;}else _0x3a5e81[_0x231dd0(0x2ca)]?(_0x5b35ab++,_0x2cd612[_0x231dd0(0x274)](_0x3a5e81)):(_0x51e405++,_0x2cd612[_0x231dd0(0x274)](_0x383168));}}return _0x2cd612;}[_0x25a613(0x2cf)](_0x4ce781,_0x55d64d){const _0x8b78fd=_0x25a613,_0x13fe8c=[];for(let _0x9aab00=0x0;_0x9aab00<_0x4ce781[_0x8b78fd(0x27c)];_0x9aab00++){for(let _0x6e91d2=0x0;_0x6e91d2<_0x4ce781[_0x9aab00][_0x8b78fd(0x336)][_0x8b78fd(0x27c)];_0x6e91d2++){const _0x5b50c3=_0x4ce781[_0x9aab00][_0x8b78fd(0x336)][_0x6e91d2];if(!_0x55d64d[_0x8b78fd(0x2e0)](_0x5b50c3))continue;const {group:_0x3d581c,type:_0xc30d7c,authorId:_0x374668}=_0x441a55(_0x5b50c3);_0x8b78fd(0x23f)!=_0x3d581c||_0x8b78fd(0x30d)!=_0xc30d7c&&_0x8b78fd(0x2ec)!=_0xc30d7c||(_0x13fe8c[_0x8b78fd(0x2b5)]({'type':_0xc30d7c,'name':_0x5b50c3,'userId':_0x374668}),_0x4ce781[_0x9aab00][_0x8b78fd(0x336)][_0x8b78fd(0x26a)](_0x6e91d2,0x1),_0x6e91d2--);}_0x37566b(_0x4ce781[_0x9aab00]);for(let _0x533446=0x0;_0x533446<_0x4ce781[_0x9aab00][_0x8b78fd(0x24c)][_0x8b78fd(0x27c)];_0x533446++){const _0x435226=_0x4ce781[_0x9aab00][_0x8b78fd(0x24c)][_0x533446];if(!_0x55d64d[_0x8b78fd(0x2e0)](_0x435226))continue;const {group:_0x468e4d,type:_0x423844}=_0x441a55(_0x435226);if(_0x8b78fd(0x23f)!=_0x468e4d||_0x8b78fd(0x30d)!=_0x423844&&_0x8b78fd(0x2ec)!=_0x423844)continue;_0x4ce781[_0x9aab00][_0x8b78fd(0x24c)][_0x8b78fd(0x26a)](_0x533446,0x1),_0x533446--;const _0x9fd59c=_0x13fe8c[_0x8b78fd(0x27f)](_0x15dcb9=>_0x15dcb9[_0x8b78fd(0x1f3)]==_0x435226);_0x9fd59c>-0x1&&_0x13fe8c[_0x8b78fd(0x26a)](_0x9fd59c,0x1);}}function _0x441a55(_0x1cc8fa){const _0x526da8=_0x8b78fd,_0x5946d3=_0x1cc8fa[_0x526da8(0x288)](':');return{'group':_0x5946d3[0x0],'type':_0x5946d3[0x1],'subType':_0x5946d3[_0x526da8(0x27c)]>=0x5?_0x5946d3[0x2]:null,'id':_0x5946d3[_0x526da8(0x27c)]<0x5?_0x5946d3[0x2]:_0x5946d3[0x3],'authorId':_0x5946d3[_0x526da8(0x27c)]<0x5?_0x5946d3[0x3]:_0x5946d3[0x4],'markerCount':0x6==_0x5946d3[_0x526da8(0x27c)]?_0x5946d3[0x5]:null};}function _0x37566b(_0x550874){const _0xf14949=_0x8b78fd;for(let _0x1cae90=0x0;_0x1cae90<_0x13fe8c[_0xf14949(0x27c)];_0x1cae90++){if(_0x550874[_0xf14949(0x214)]&&_0xf14949(0x30d)==_0x13fe8c[_0x1cae90][_0xf14949(0x29e)])return _0x550874[_0xf14949(0x225)]=_0x13fe8c[_0x1cae90],void delete _0x550874[_0xf14949(0x214)];if(!_0x550874[_0xf14949(0x214)]&&!_0x550874[_0xf14949(0x2ca)]&&_0xf14949(0x2ec)==_0x13fe8c[_0x1cae90][_0xf14949(0x29e)])return void(_0x550874[_0xf14949(0x2e1)]=_0x13fe8c[_0x1cae90]);}}}[_0x25a613(0x23b)](_0x41e2b2,_0x516380){const _0x2e9ed7=_0x25a613;let _0x463c3d=0x0,_0x2d3243=!0x1;const _0x3dc63e=new Map();for(const _0x201275 of _0x41e2b2)_0x201275[_0x516380]?_0x2d3243&&(_0x463c3d++,_0x2d3243=!0x1):(_0x463c3d++,_0x2d3243=!0x0),_0x3dc63e[_0x2e9ed7(0x2b0)](_0x201275['id'],_0x463c3d);for(let _0xf15264=0x0;_0xf15264<_0x41e2b2[_0x2e9ed7(0x27c)];_0xf15264++){if(_0x2e9ed7(0x2ca)==_0x516380&&_0x41e2b2[_0xf15264][_0x2e9ed7(0x214)]||_0x2e9ed7(0x214)==_0x516380&&_0x41e2b2[_0xf15264][_0x2e9ed7(0x2ca)])continue;if(_0x2e9ed7(0x2c2)==_0x41e2b2[_0xf15264][_0x2e9ed7(0x29e)]){_0x41e2b2[_0xf15264][_0x2e9ed7(0x2a2)]=0x0;continue;}const _0x3d60a1=_0x3dc63e[_0x2e9ed7(0x210)](_0x41e2b2[_0xf15264][_0x2e9ed7(0x1fa)]),_0x19e2aa=_0x3dc63e[_0x2e9ed7(0x210)](_0x41e2b2[_0xf15264]['id']);_0x41e2b2[_0xf15264][_0x2e9ed7(0x2a2)]=_0x3d60a1-_0x19e2aa;}}[_0x25a613(0x1fc)](_0xa83ab8,_0x3437f3,_0x4ac797=!0x1){const _0x369943=_0x25a613,_0x43ff8c=[];let _0x26db86=this[_0x369943(0x28d)][_0x369943(0x285)](_0xa83ab8),_0x1ea6f4=this[_0x369943(0x28d)][_0x369943(0x285)](_0x3437f3);for(-0x1==_0x1ea6f4&&(_0x1ea6f4=this[_0x369943(0x28d)][_0x369943(0x326)][_0x369943(0x27c)],_0x4ac797=!0x1);_0x26db86<_0x1ea6f4;)_0x43ff8c[_0x369943(0x274)](this[_0x369943(0x28d)][_0x369943(0x21b)](_0x26db86)),_0x26db86++;return _0x4ac797&&_0x43ff8c[_0x369943(0x274)](this[_0x369943(0x28d)][_0x369943(0x21b)](_0x26db86)),_0x43ff8c;}[_0x25a613(0x243)](_0x2196ec,_0xfd1b6e,_0x219a49,_0x469bc7){const _0x26c616=_0x25a613,_0x521caa=this[_0x26c616(0x31f)][_0x26c616(0x1f4)][_0x26c616(0x250)];let _0x286b01=_0xfd1b6e;for(;_0x2196ec[_0x286b01]&&_0x2196ec[_0x286b01][_0x26c616(0x214)];)_0x286b01++;let _0x4d8e38=_0x469bc7;for(;_0x219a49[_0x4d8e38]&&_0x219a49[_0x4d8e38][_0x26c616(0x2ca)];)_0x4d8e38++;_0x1faa4a(_0x2196ec,_0xfd1b6e,_0x286b01),_0x1faa4a(_0x219a49,_0x469bc7,_0x4d8e38);const _0x191734=_0x219a49[_0x26c616(0x207)](_0x469bc7,_0x4d8e38)[_0x26c616(0x2f2)](_0x2196ec[_0x26c616(0x207)](_0xfd1b6e,_0x286b01));return _0x191734[_0x26c616(0x308)]((_0x5a2c2c,_0x503b92)=>_0x5a2c2c[_0x26c616(0x2ce)]!=_0x503b92[_0x26c616(0x2ce)]?_0x5a2c2c[_0x26c616(0x2ce)]-_0x503b92[_0x26c616(0x2ce)]:_0x5a2c2c[_0x26c616(0x327)]!=_0x503b92[_0x26c616(0x327)]?_0x5a2c2c[_0x26c616(0x327)]-_0x503b92[_0x26c616(0x327)]:_0x5a2c2c[_0x26c616(0x2a2)]!=_0x503b92[_0x26c616(0x2a2)]?_0x503b92[_0x26c616(0x2a2)]-_0x5a2c2c[_0x26c616(0x2a2)]:!!_0x5a2c2c[_0x26c616(0x214)]!=!!_0x503b92[_0x26c616(0x214)]?-0x1==_0x5a2c2c[_0x26c616(0x2ce)]||0x0==_0x5a2c2c[_0x26c616(0x2ce)]?_0x5a2c2c[_0x26c616(0x214)]?-0x1:0x1:_0x5a2c2c[_0x26c616(0x214)]?0x1:-0x1:_0x5a2c2c[_0x26c616(0x2d4)]-_0x503b92[_0x26c616(0x2d4)]),{'commonTape':_0x191734,'iEnd':_0x286b01,'jEnd':_0x4d8e38};function _0x1faa4a(_0x2f8601,_0x4940ca,_0x4eb6d8){const _0x3b24b2=_0x26c616;let _0x2de544=-0x1,_0x85e24a=Number[_0x3b24b2(0x224)],_0x35a087=!0x0;for(let _0x168013=_0x4940ca;_0x168013<_0x4eb6d8;_0x168013++)if(_0x521caa[_0x3b24b2(0x322)](_0x2f8601[_0x168013][_0x3b24b2(0x202)])||(_0x35a087=!0x1),_0x2f8601[_0x168013][_0x3b24b2(0x202)][_0x3b24b2(0x2df)]<_0x4940ca&&(_0x2de544=_0x168013),_0x2f8601[_0x168013][_0x3b24b2(0x202)][_0x3b24b2(0x313)]>=_0x4eb6d8){_0x85e24a=_0x168013;break;}_0x35a087&&(_0x2de544=_0x4eb6d8-0x1);for(let _0x5787b6=_0x4940ca;_0x5787b6<_0x4eb6d8;_0x5787b6++)_0x2f8601[_0x5787b6][_0x3b24b2(0x2ce)]=_0x5787b6<=_0x2de544?-0x1:_0x5787b6<_0x85e24a?0x0:0x1,_0x2f8601[_0x5787b6][_0x3b24b2(0x2d4)]=_0x5787b6;let _0x4af403=0x0;for(let _0x1abc20=_0x4940ca;_0x1abc20<=_0x2de544;_0x1abc20++)0x0==_0x2f8601[_0x1abc20][_0x3b24b2(0x2a2)]?_0x2f8601[_0x1abc20][_0x3b24b2(0x327)]=_0x4af403:(_0x4af403++,_0x2f8601[_0x1abc20][_0x3b24b2(0x327)]=_0x4af403,_0x4af403++);for(let _0x421bfd=_0x4940ca;_0x421bfd<_0x4eb6d8;_0x421bfd++)0x0==_0x2f8601[_0x421bfd][_0x3b24b2(0x2ce)]&&(_0x2f8601[_0x421bfd][_0x3b24b2(0x327)]=_0x4af403);_0x4af403=0x0;for(let _0x1049e7=_0x4eb6d8-0x1;_0x1049e7>=_0x85e24a;_0x1049e7--)0x0==_0x2f8601[_0x1049e7][_0x3b24b2(0x2a2)]?_0x2f8601[_0x1049e7][_0x3b24b2(0x327)]=_0x4af403:(_0x4af403--,_0x2f8601[_0x1049e7][_0x3b24b2(0x327)]=_0x4af403,_0x4af403--);}}[_0x25a613(0x2ba)](_0x11b157){const _0x1e8838=_0x25a613,_0x1e710c=new Map(),_0x14f13a=this[_0x1e8838(0x31f)][_0x1e8838(0x1f4)][_0x1e8838(0x250)];for(let _0x48d8fc=0x1;_0x48d8fc<_0x11b157[_0x1e8838(0x27c)];_0x48d8fc++){let _0x284821,_0x1f0dca,_0x2bbd41;const _0x262b08=_0x11b157[_0x48d8fc],_0xe1e00e=_0x11b157[_0x48d8fc-0x1];if(_0x1e8838(0x2c2)==_0x262b08[_0x1e8838(0x29e)])continue;if(_0x262b08[_0x1e8838(0x29e)]!=_0xe1e00e[_0x1e8838(0x29e)])continue;if(!_0x14f13a[_0x1e8838(0x304)](_0xe1e00e[_0x1e8838(0x202)])||_0x14f13a[_0x1e8838(0x256)](_0xe1e00e[_0x1e8838(0x202)]))continue;if(!_0x14f13a[_0x1e8838(0x304)](_0x262b08[_0x1e8838(0x202)])||_0x14f13a[_0x1e8838(0x256)](_0x262b08[_0x1e8838(0x202)]))continue;if((_0x11b157[_0x48d8fc][_0x1e8838(0x214)]||_0x11b157[_0x48d8fc][_0x1e8838(0x225)])&&_0x11b157[_0x48d8fc-0x1][_0x1e8838(0x2ca)])_0x284821=_0x11b157[_0x48d8fc],_0x1f0dca=_0x11b157[_0x48d8fc-0x1],_0x2bbd41=_0x48d8fc-0x1;else{if(!_0x11b157[_0x48d8fc][_0x1e8838(0x2ca)]||!_0x11b157[_0x48d8fc-0x1][_0x1e8838(0x214)]&&!_0x11b157[_0x48d8fc-0x1][_0x1e8838(0x225)])continue;_0x284821=_0x11b157[_0x48d8fc-0x1],_0x1f0dca=_0x11b157[_0x48d8fc],_0x2bbd41=_0x48d8fc;}const _0x5d3f75=_0x284821[_0x1e8838(0x327)]==_0x1f0dca[_0x1e8838(0x327)],_0x34d56c=Math[_0x1e8838(0x2bf)](_0x284821[_0x1e8838(0x327)])<Math[_0x1e8838(0x2bf)](_0x1f0dca[_0x1e8838(0x327)])&&0x0==_0x1f0dca[_0x1e8838(0x2a2)];(_0x5d3f75||_0x34d56c)&&(_0x1e710c[_0x1e8838(0x2b0)](_0x1f0dca['id'],_0x284821['id']),_0x11b157[_0x1e8838(0x26a)](_0x2bbd41,0x1),_0x48d8fc--,_0x284821[_0x1e8838(0x214)]=!0x1);}for(let _0x4157d6=0x0;_0x4157d6<_0x11b157[_0x1e8838(0x27c)];_0x4157d6++)_0x1e710c[_0x1e8838(0x2e0)](_0x11b157[_0x4157d6][_0x1e8838(0x1fa)])&&(_0x11b157[_0x4157d6][_0x1e8838(0x1fa)]=_0x1e710c[_0x1e8838(0x210)](_0x11b157[_0x4157d6][_0x1e8838(0x1fa)]));}[_0x25a613(0x1fb)](_0x24c20d){const _0x282fb0=_0x25a613,_0x50f22a=new Set(_0x24c20d[_0x282fb0(0x2f6)](_0x45ecde=>_0x45ecde['id']));for(let _0x3dfd45=0x0;_0x3dfd45<_0x24c20d[_0x282fb0(0x27c)];_0x3dfd45++)_0x50f22a[_0x282fb0(0x2e0)](_0x24c20d[_0x3dfd45][_0x282fb0(0x1fa)])||0x0==_0x24c20d[_0x3dfd45][_0x282fb0(0x2a2)]||(_0x24c20d[_0x3dfd45][_0x282fb0(0x220)]=!0x0);return _0x24c20d[_0x282fb0(0x218)](_0x1c8efa=>!_0x1c8efa[_0x282fb0(0x220)]);}[_0x25a613(0x2aa)](_0x1f57b6){const _0x39649f=_0x25a613,_0x4a3947=new Set();for(let _0x30d797=0x0;_0x30d797<_0x1f57b6[_0x39649f(0x27c)];_0x30d797++){if(_0x4a3947[_0x39649f(0x2e0)](_0x1f57b6[_0x30d797]['id'])&&_0x1f57b6[_0x30d797][_0x39649f(0x2ca)]&&(_0x1f57b6[_0x30d797][_0x39649f(0x220)]=!0x0),_0x1f57b6[_0x30d797][_0x39649f(0x220)])continue;if(0x0==_0x1f57b6[_0x30d797][_0x39649f(0x2a2)])continue;if(_0x39649f(0x2b3)!=_0x1f57b6[_0x30d797][_0x39649f(0x29e)])continue;if(null==_0x1f57b6[_0x30d797][_0x39649f(0x1fa)])continue;let _0x18ee96=_0x30d797+0x1,_0x24b708=0x0;for(;_0x1f57b6[_0x18ee96]['id']!=_0x1f57b6[_0x30d797][_0x39649f(0x1fa)];)_0x39649f(0x2b3)==_0x1f57b6[_0x18ee96][_0x39649f(0x29e)]?_0x24b708++:_0x39649f(0x2ae)==_0x1f57b6[_0x18ee96][_0x39649f(0x29e)]&&_0x24b708--,_0x18ee96++;if(0x0!=_0x24b708){if(_0x1f57b6[_0x30d797][_0x39649f(0x2ca)])_0x1f57b6[_0x30d797][_0x39649f(0x220)]=!0x0;else{for(;_0x18ee96!=_0x30d797;)_0x1f57b6[_0x18ee96][_0x39649f(0x2ca)]&&0x0!=_0x1f57b6[_0x18ee96][_0x39649f(0x2a2)]&&(_0x1f57b6[_0x18ee96][_0x39649f(0x220)]=!0x0,_0x4a3947[_0x39649f(0x2b4)](_0x1f57b6[_0x18ee96][_0x39649f(0x1fa)])),_0x18ee96--;}}}return _0x1f57b6[_0x39649f(0x218)](_0x37b101=>!_0x37b101[_0x39649f(0x220)]);}[_0x25a613(0x26c)](_0x3a830d){const _0xa0de0a=_0x25a613,_0x16eb4d=this[_0xa0de0a(0x31f)][_0xa0de0a(0x1f4)][_0xa0de0a(0x250)];for(let _0x4c4e90=0x0;_0x4c4e90<_0x3a830d[_0xa0de0a(0x27c)];_0x4c4e90++){if(!(_0x3a830d[_0x4c4e90][_0xa0de0a(0x214)]||_0x3a830d[_0x4c4e90][_0xa0de0a(0x225)]||_0x3a830d[_0x4c4e90][_0xa0de0a(0x2ca)]||_0x3a830d[_0x4c4e90][_0xa0de0a(0x2e1)]))continue;if(0x0==_0x3a830d[_0x4c4e90][_0xa0de0a(0x2a2)])continue;const _0x56b394=_0x3a830d[_0x4c4e90][_0xa0de0a(0x202)];_0x16eb4d[_0xa0de0a(0x304)](_0x56b394)||_0x16eb4d[_0xa0de0a(0x256)](_0x56b394)||(_0x3a830d[_0x4c4e90][_0xa0de0a(0x214)]&&delete _0x3a830d[_0x4c4e90][_0xa0de0a(0x214)],_0x3a830d[_0x4c4e90][_0xa0de0a(0x225)]&&delete _0x3a830d[_0x4c4e90][_0xa0de0a(0x225)],_0x3a830d[_0x4c4e90][_0xa0de0a(0x2e1)]&&delete _0x3a830d[_0x4c4e90][_0xa0de0a(0x2e1)],_0x3a830d[_0x4c4e90][_0xa0de0a(0x2ca)]&&(_0x3a830d[_0x4c4e90][_0xa0de0a(0x220)]=!0x0));}return _0x3a830d[_0xa0de0a(0x218)](_0x11510c=>!_0x11510c[_0xa0de0a(0x220)]);}[_0x25a613(0x23c)](_0x1d23bb,_0x2a7d85,_0x39eac8){const _0x5d13b5=_0x25a613,_0x4919fa=new _0x32f1c8(),_0x4835fd=[],_0x497ddf=new Map(),_0x4bb31d=this[_0x5d13b5(0x31f)][_0x5d13b5(0x1f4)],_0x55a49c=_0x4bb31d[_0x5d13b5(0x250)],_0x17e550=[_0x4919fa],_0x4c4a3a={},_0x47a1e8={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x390154=null;const _0xf55b4a=[0x0];for(let _0x224d4a=0x0;_0x224d4a<_0x1d23bb[_0x5d13b5(0x27c)];_0x224d4a++){let _0x2dc4cb,_0x144a5a;if(_0x5d13b5(0x2b3)===_0x1d23bb[_0x224d4a][_0x5d13b5(0x29e)]){_0x2dc4cb=_0x4bb31d[_0x5d13b5(0x257)](_0x4919fa,_0xf55b4a);const _0x24770a=new _0x3c2ab3(_0x1d23bb[_0x224d4a][_0x5d13b5(0x202)][_0x5d13b5(0x1f3)],_0x1d23bb[_0x224d4a][_0x5d13b5(0x202)][_0x5d13b5(0x226)]());_0x17e550[0x0][_0x5d13b5(0x314)](_0x24770a),_0xf55b4a[_0x5d13b5(0x274)](0x0),_0x17e550[_0x5d13b5(0x2b5)](_0x24770a),_0x144a5a=_0x4bb31d[_0x5d13b5(0x257)](_0x4919fa,_0xf55b4a),_0x390154=null;}else{if(_0x5d13b5(0x2ae)===_0x1d23bb[_0x224d4a][_0x5d13b5(0x29e)])_0x17e550[_0x5d13b5(0x2c0)](),_0x2dc4cb=_0x4bb31d[_0x5d13b5(0x257)](_0x4919fa,_0xf55b4a),_0xf55b4a[_0x5d13b5(0x236)](),_0xf55b4a[_0xf55b4a[_0x5d13b5(0x27c)]-0x1]++,_0x144a5a=_0x4bb31d[_0x5d13b5(0x257)](_0x4919fa,_0xf55b4a),_0x390154=null;else{if(_0x2dc4cb=_0x4bb31d[_0x5d13b5(0x257)](_0x4919fa,_0xf55b4a),_0x390154&&_0x41239d(_0x390154,_0x1d23bb[_0x224d4a][_0x5d13b5(0x202)]))_0x390154[_0x5d13b5(0x27a)]+=_0x1d23bb[_0x224d4a][_0x5d13b5(0x202)][_0x5d13b5(0x2c8)];else{const _0x4342ab=new _0x50dbcd(_0x1d23bb[_0x224d4a][_0x5d13b5(0x202)][_0x5d13b5(0x2c8)],_0x1d23bb[_0x224d4a][_0x5d13b5(0x202)][_0x5d13b5(0x226)]());_0x17e550[0x0][_0x5d13b5(0x314)](_0x4342ab),_0x390154=_0x4342ab;}_0xf55b4a[_0xf55b4a[_0x5d13b5(0x27c)]-0x1]+=_0x1d23bb[_0x224d4a][_0x5d13b5(0x202)][_0x5d13b5(0x2ea)],_0x144a5a=_0x4bb31d[_0x5d13b5(0x257)](_0x4919fa,_0xf55b4a);}}for(const _0x42b57c of _0x1d23bb[_0x224d4a][_0x5d13b5(0x336)])_0x497ddf[_0x5d13b5(0x2b0)](_0x42b57c,{'start':_0x2dc4cb,'end':null});_0x387c63(_0x5d13b5(0x2e1),_0x224d4a,_0x2dc4cb,_0x144a5a),_0x387c63(_0x5d13b5(0x225),_0x224d4a,_0x2dc4cb,_0x144a5a),_0x387c63(_0x5d13b5(0x2ca),_0x224d4a,_0x2dc4cb,_0x144a5a),_0x387c63(_0x5d13b5(0x214),_0x224d4a,_0x2dc4cb,_0x144a5a);for(const _0x37dd30 of _0x1d23bb[_0x224d4a][_0x5d13b5(0x24c)]){_0x497ddf[_0x5d13b5(0x210)](_0x37dd30)[_0x5d13b5(0x2a6)]=_0x144a5a;}}for(const [_0x58de28,_0x41350e]of _0x497ddf){const _0x25b39b=this[_0x5d13b5(0x31f)][_0x5d13b5(0x1f4)][_0x5d13b5(0x211)](_0x41350e[_0x5d13b5(0x311)],_0x41350e[_0x5d13b5(0x2a6)]);_0x4919fa[_0x5d13b5(0x24f)][_0x5d13b5(0x2b0)](_0x58de28,_0x25b39b);}return _0x4835fd[_0x5d13b5(0x308)]((_0x263f85,_0x47756d)=>{const _0x310951=_0x5d13b5,_0x436b09=_0x4919fa[_0x310951(0x24f)][_0x310951(0x210)](_0x310951(0x2c3)+_0x263f85['id']),_0x3c27ae=_0x4919fa[_0x310951(0x24f)][_0x310951(0x210)](_0x310951(0x2c3)+_0x47756d['id']);return _0x436b09[_0x310951(0x311)][_0x310951(0x32a)](_0x3c27ae[_0x310951(0x311)])?-0x1:_0x436b09[_0x310951(0x311)][_0x310951(0x272)](_0x3c27ae[_0x310951(0x311)])?0x1:_0x436b09[_0x310951(0x2a6)][_0x310951(0x32a)](_0x3c27ae[_0x310951(0x2a6)])?-0x1:_0x436b09[_0x310951(0x2a6)][_0x310951(0x272)](_0x3c27ae[_0x310951(0x2a6)])?0x1:_0x310951(0x2b4)===_0x263f85[_0x310951(0x29e)]?-0x1:0x1;}),{'root':_0x4919fa,'changes':_0x4835fd};function _0x387c63(_0x29dff3,_0x4b1b9f,_0xdd903c,_0x146c1a){const _0x5ccd4d=_0x5d13b5,_0x393f43=!!_0x1d23bb[_0x4b1b9f][_0x29dff3],_0xfca776=_0x393f43?_0x1d23bb[_0x4b1b9f][_0x29dff3][_0x5ccd4d(0x234)]:null,_0x4e3119=_0x4b1b9f===_0x1d23bb[_0x5ccd4d(0x27c)]-0x1,_0x2e5e16=_0x47a1e8[_0x29dff3][0x0],_0x1f472a=_0x55a49c[_0x5ccd4d(0x254)](_0x1d23bb[_0x4b1b9f][_0x5ccd4d(0x202)]);!_0x4c4a3a[_0x29dff3]&&_0x393f43?_0x4c4a3a[_0x29dff3]={'start':_0xdd903c,'tapeItem':_0x1d23bb[_0x4b1b9f],'userId':_0xfca776,'type':_0x29dff3}:_0x4c4a3a[_0x29dff3]&&!_0x393f43?(_0x4c4a3a[_0x29dff3][_0x5ccd4d(0x2a6)]=_0xdd903c,_0x5e3133(_0x4c4a3a[_0x29dff3]),_0x4c4a3a[_0x29dff3]=null):_0x4c4a3a[_0x29dff3]&&_0x393f43&&_0x4c4a3a[_0x29dff3][_0x5ccd4d(0x234)]!==_0xfca776&&(_0x4c4a3a[_0x29dff3][_0x5ccd4d(0x2a6)]=_0xdd903c,_0x2e5e16&&_0x2e5e16[_0x5ccd4d(0x234)]===_0x4c4a3a[_0x29dff3][_0x5ccd4d(0x234)]||_0x5e3133(_0x4c4a3a[_0x29dff3]),_0x4c4a3a[_0x29dff3]={'start':_0xdd903c,'tapeItem':_0x1d23bb[_0x4b1b9f],'userId':_0xfca776,'type':_0x29dff3}),_0x4c4a3a[_0x29dff3]&&_0x1f472a&&(_0x5ccd4d(0x2b3)!==_0x1d23bb[_0x4b1b9f][_0x5ccd4d(0x29e)]||_0x2e5e16&&_0x2e5e16[_0x5ccd4d(0x234)]===_0xfca776||_0x47a1e8[_0x29dff3][_0x5ccd4d(0x2b5)]({'userId':_0xfca776,'object':_0x1d23bb[_0x4b1b9f][_0x5ccd4d(0x202)],'change':_0x4c4a3a[_0x29dff3]}),_0x5ccd4d(0x2ae)===_0x1d23bb[_0x4b1b9f][_0x5ccd4d(0x29e)]&&_0x2e5e16&&_0x2e5e16[_0x5ccd4d(0x31b)]===_0x1d23bb[_0x4b1b9f][_0x5ccd4d(0x202)]&&(_0x47a1e8[_0x29dff3][_0x5ccd4d(0x2c0)](),_0x4c4a3a[_0x29dff3]=_0x2e5e16[_0x5ccd4d(0x331)])),_0x4c4a3a[_0x29dff3]&&_0x4e3119&&(_0x4c4a3a[_0x29dff3][_0x5ccd4d(0x2a6)]=_0x146c1a,_0x5e3133(_0x4c4a3a[_0x29dff3]),_0x4c4a3a[_0x29dff3]=null);}function _0x5e3133({start:_0x2737fb,end:_0x51bd35,tapeItem:_0x288354,userId:_0x57b8b8,type:_0x5682ea}){const _0x529094=_0x5d13b5,_0xe397ff=_0x288354[_0x529094(0x202)],_0x3a14ef=_0x4bb31d[_0x529094(0x250)][_0x529094(0x304)](_0xe397ff)&&!_0x4bb31d[_0x529094(0x250)][_0x529094(0x256)](_0xe397ff),_0x5573ae=_0x2737fb[_0x529094(0x332)]==_0x51bd35[_0x529094(0x27e)]&&_0x51bd35[_0x529094(0x309)];if(_0x3a14ef&&_0x5573ae)return;const _0x515888=_0x4bb31d[_0x529094(0x211)](_0x2737fb,_0x51bd35),_0x110446=_0x2a7d85[_0x529094(0x210)](_0x57b8b8),_0x34ce24=new _0x103699({'author':_0x110446,'type':_0x529094(0x214)==_0x5682ea||_0x529094(0x225)==_0x5682ea?_0x529094(0x2b4):_0x529094(0x297),'data':{'isSuggestion':_0x529094(0x225)==_0x5682ea||_0x529094(0x2e1)==_0x5682ea},'createdAt':new Date(),'rootName':_0x39eac8});_0x4835fd[_0x529094(0x274)](_0x34ce24),_0x4919fa[_0x529094(0x24f)][_0x529094(0x2b0)](_0x529094(0x2c3)+_0x34ce24['id'],_0x515888);}function _0x41239d(_0x2cda11,_0x3340de){const _0x627885=_0x5d13b5,_0x5ebd07=_0x2cda11[_0x627885(0x226)](),_0x3f35f6=_0x3340de[_0x627885(0x226)]();for(const _0x209fc8 of _0x5ebd07){if(_0x209fc8[0x1]!==_0x3340de[_0x627885(0x251)](_0x209fc8[0x0]))return!0x1;_0x3f35f6[_0x627885(0x263)]();}return _0x3f35f6[_0x627885(0x263)]()[_0x627885(0x22b)];}}[_0x25a613(0x2f9)](){const _0x5743ce=_0x25a613;this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x1f5))[_0x5743ce(0x280)]({'view':_0x5743ce(0x2be)}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x1fe))[_0x5743ce(0x284)]({'model':_0x5743ce(0x2be),'view':_0x18e40b=>{const _0x7410e7=_0x5743ce,_0x590b58=_0x18e40b[_0x7410e7(0x2b7)][_0x7410e7(0x288)](':')[0x1],_0x505041=this[_0x7410e7(0x20b)](_0x590b58);if(!_0x505041)return null;const _0x481b55=_0x7410e7(0x2b4)==_0x505041[_0x7410e7(0x29e)]?_0x7410e7(0x30d):_0x7410e7(0x2ec),_0xb553e0=[_0x7410e7(0x222),_0x7410e7(0x2ee)+_0x481b55];return _0x505041[_0x7410e7(0x2c8)][_0x7410e7(0x2f5)]&&_0xb553e0[_0x7410e7(0x274)](_0x7410e7(0x2ee)+_0x481b55+_0x7410e7(0x2ed)),this[_0x7410e7(0x2fe)]==_0x505041&&_0xb553e0[_0x7410e7(0x274)](_0x7410e7(0x1f0)),{'classes':_0xb553e0,'attributes':{'data-change-id':_0x590b58}};}}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x1f5))[_0x5743ce(0x2b4)](_0x237ec9=>{const _0x56a37b=_0x5743ce;_0x237ec9['on'](_0x56a37b(0x319),(_0xbd7fdb,_0x249da9,_0xdf40fa)=>{const _0x1633e3=_0x56a37b,_0x3c6d2a=_0x249da9[_0x1633e3(0x215)][_0x1633e3(0x2d3)](0x0);if(!_0x3c6d2a||!_0x3c6d2a['is'](_0x1633e3(0x2f4),_0x1633e3(0x2d1)))return;if(!_0xdf40fa[_0x1633e3(0x310)][_0x1633e3(0x315)](_0x3c6d2a,{'attributes':[_0x1633e3(0x2c7),_0x1633e3(0x206)]}))return;const _0x43aa48=_0x249da9[_0x1633e3(0x20d)][_0x1633e3(0x311)][_0x1633e3(0x332)];_0xdf40fa[_0x1633e3(0x252)][_0x1633e3(0x2b6)](_0x1633e3(0x2c7),_0x3c6d2a[_0x1633e3(0x251)](_0x1633e3(0x2c7)),_0x43aa48),_0xdf40fa[_0x1633e3(0x252)][_0x1633e3(0x2b6)](_0x1633e3(0x206),_0x3c6d2a[_0x1633e3(0x251)](_0x1633e3(0x206)),_0x43aa48);},{'priority':_0x56a37b(0x29f)});}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x1f5))[_0x5743ce(0x2b4)](_0x39312d=>{const _0x3825bb=_0x5743ce;_0x39312d['on'](_0x3825bb(0x2f4),(_0xcef3c6,_0x4951f3,_0x1b8bcb)=>{const _0x2ae36e=_0x3825bb;if(!_0x1b8bcb[_0x2ae36e(0x310)][_0x2ae36e(0x315)](_0x4951f3[_0x2ae36e(0x215)],{'attributes':[_0x2ae36e(0x2c7),_0x2ae36e(0x206)]}))return;if(_0x4951f3[_0x2ae36e(0x20d)][_0x2ae36e(0x238)])return;const _0x4220fa=_0x4951f3[_0x2ae36e(0x20d)][_0x2ae36e(0x311)][_0x2ae36e(0x332)];_0x4220fa[_0x2ae36e(0x217)](_0x2ae36e(0x2c7))||_0x4220fa[_0x2ae36e(0x217)](_0x2ae36e(0x204))||(_0x1b8bcb[_0x2ae36e(0x252)][_0x2ae36e(0x2b6)](_0x2ae36e(0x2c7),_0x4951f3[_0x2ae36e(0x215)][_0x2ae36e(0x251)](_0x2ae36e(0x2c7)),_0x4220fa),_0x1b8bcb[_0x2ae36e(0x252)][_0x2ae36e(0x2b6)](_0x2ae36e(0x206),_0x4951f3[_0x2ae36e(0x215)][_0x2ae36e(0x251)](_0x2ae36e(0x206)),_0x4220fa));},{'priority':_0x3825bb(0x29f)});}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x1f5))[_0x5743ce(0x301)]({'view':{'name':_0x5743ce(0x253),'attributes':{'vid':!0x0}},'model':{'key':_0x5743ce(0x204),'value':_0x5d75b3=>_0x5d75b3[_0x5743ce(0x251)](_0x5743ce(0x204))}}),this[_0x5743ce(0x31f)][_0x5743ce(0x1f4)][_0x5743ce(0x250)]['on'](_0x5743ce(0x21e),(_0x41bdfb,[,_0x4ad199])=>{const _0x4ae9ff=_0x5743ce;[_0x4ae9ff(0x2c7),_0x4ae9ff(0x206),_0x4ae9ff(0x204)][_0x4ae9ff(0x2dc)](_0x4ad199)&&(_0x41bdfb[_0x4ae9ff(0x231)]=!0x0,_0x41bdfb[_0x4ae9ff(0x255)]());},{'priority':_0x5743ce(0x330)}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x242))[_0x5743ce(0x2b4)](_0x560dcd=>{const _0x59d9aa=_0x5743ce;_0x560dcd['on'](_0x59d9aa(0x2d8),(_0x206dd,_0x15e97b,_0x30c231)=>{const _0x295ebe=_0x59d9aa;if('\x20'!=_0x15e97b[_0x295ebe(0x202)][_0x295ebe(0x2c8)]||_0x15e97b[_0x295ebe(0x202)][_0x295ebe(0x27e)][_0x295ebe(0x289)]>0x1)return;if(!_0x30c231[_0x295ebe(0x310)][_0x295ebe(0x315)](_0x15e97b[_0x295ebe(0x202)],_0x206dd[_0x295ebe(0x1f3)]))return;const _0x354d51=_0x30c231[_0x295ebe(0x252)],_0x330a30=_0x30c231[_0x295ebe(0x29a)][_0x295ebe(0x22e)](_0x15e97b[_0x295ebe(0x32f)]);_0x354d51[_0x295ebe(0x200)](_0x330a30,_0x354d51[_0x295ebe(0x26d)](_0x295ebe(0x253)));});}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x242))[_0x5743ce(0x279)]({'model':_0x5743ce(0x2be)}),this[_0x5743ce(0x31f)][_0x5743ce(0x2e8)][_0x5743ce(0x2ff)]['on'](_0x5743ce(0x216),function(_0x28471d){const _0x43ba12=_0x5743ce,_0x3c36a2=_0x28471d[_0x43ba12(0x2fd)][_0x43ba12(0x210)](_0x43ba12(0x209));return(_0x1be8b0,_0x18e6ae,_0x186284)=>{const _0x4b8594=_0x43ba12,_0x10d01f=_0x18e6ae[_0x4b8594(0x2b7)][_0x4b8594(0x288)](':')[0x1],_0x2f7c8c=_0x3c36a2[_0x4b8594(0x20b)](_0x10d01f);if(!_0x2f7c8c)return null;const _0x73697f=_0x4b8594(0x2b4)==_0x2f7c8c[_0x4b8594(0x29e)]?_0x4b8594(0x288):_0x4b8594(0x2fa);if(!_0x186284[_0x4b8594(0x310)][_0x4b8594(0x219)](_0x18e6ae[_0x4b8594(0x294)],_0x1be8b0[_0x4b8594(0x1f3)]))return;const _0x1dece6=_0x18e6ae[_0x4b8594(0x294)][_0x4b8594(0x223)](),_0x5d2e39=_0x18e6ae[_0x4b8594(0x294)][_0x4b8594(0x311)],_0x5280ca=_0x28471d[_0x4b8594(0x1f4)][_0x4b8594(0x250)];let _0x3dbbd3=null,_0xb4889c=null,_0x257c87=!0x1,_0x1e6ab2=!0x1;for(const _0x5d4c8a of _0x1dece6){const _0x54381d=_0x5d4c8a[_0x4b8594(0x202)];_0x257c87=_0x257c87||_0x5280ca[_0x4b8594(0x24d)](_0x54381d);const _0x541f53=_0x186284[_0x4b8594(0x29a)][_0x4b8594(0x25c)](_0x54381d);if(_0x541f53&&_0x541f53[_0x4b8594(0x22c)](_0x4b8594(0x335)))return;_0x4b8594(0x2ae)==_0x5d4c8a[_0x4b8594(0x29e)]&&(_0x5280ca[_0x4b8594(0x304)](_0x54381d)&&!_0x5280ca[_0x4b8594(0x256)](_0x54381d)&&(_0x54381d[_0x4b8594(0x1f8)]||_0x5d2e39[_0x4b8594(0x2cd)]?_0x3dbbd3&&_0x3dbbd3[_0x4b8594(0x27e)]==_0x54381d||(_0x3dbbd3=_0x54381d,_0x3319fb(_0x5d4c8a[_0x4b8594(0x28e)]),_0x1e6ab2=!0x0):_0xb4889c=_0xb4889c||_0x5d4c8a[_0x4b8594(0x28e)]));}function _0x3319fb(_0x42f3ec){const _0x3b69a4=_0x4b8594,_0x286bae=_0x186284[_0x3b69a4(0x252)][_0x3b69a4(0x2c1)](_0x3b69a4(0x253),{'class':_0x3b69a4(0x2ee)+_0x73697f}),_0x43b60d=_0x186284[_0x3b69a4(0x29a)][_0x3b69a4(0x2eb)](_0x42f3ec);_0x2f7c8c[_0x3b69a4(0x2c8)][_0x3b69a4(0x2f5)]&&_0x186284[_0x3b69a4(0x252)][_0x3b69a4(0x203)](_0x3b69a4(0x2ee)+_0x73697f+_0x3b69a4(0x2ed),_0x286bae),_0x3c36a2[_0x3b69a4(0x2fe)]==_0x2f7c8c&&_0x186284[_0x3b69a4(0x252)][_0x3b69a4(0x203)](_0x3b69a4(0x1f0),_0x286bae),_0x186284[_0x3b69a4(0x252)][_0x3b69a4(0x2a5)](_0x43b60d,_0x286bae),_0x186284[_0x3b69a4(0x29a)][_0x3b69a4(0x32c)](_0x286bae,_0x18e6ae[_0x3b69a4(0x2b7)]);}_0x257c87||_0x1e6ab2||!_0xb4889c||_0x3319fb(_0xb4889c);};}(this[_0x5743ce(0x31f)]),{'priority':_0x5743ce(0x2f1)}),this[_0x5743ce(0x31f)][_0x5743ce(0x2e8)][_0x5743ce(0x2ff)]['on'](_0x5743ce(0x339),(_0x4cd9d8,_0x47238e,_0x5cc482)=>{const _0x3c6cee=_0x5743ce,_0x52d3f3=_0x5cc482[_0x3c6cee(0x29a)][_0x3c6cee(0x2af)](_0x47238e[_0x3c6cee(0x2b7)]);if(_0x52d3f3){for(const _0x3ba80a of _0x52d3f3)(_0x3ba80a[_0x3c6cee(0x248)](_0x3c6cee(0x2dd))||_0x3ba80a[_0x3c6cee(0x248)](_0x3c6cee(0x229)))&&(_0x5cc482[_0x3c6cee(0x29a)][_0x3c6cee(0x2e9)](_0x3ba80a,_0x47238e[_0x3c6cee(0x2b7)]),_0x5cc482[_0x3c6cee(0x252)][_0x3c6cee(0x297)](_0x3ba80a));}},{'priority':_0x5743ce(0x2f1)}),this[_0x5743ce(0x31f)][_0x5743ce(0x2e8)][_0x5743ce(0x2ff)]['on'](_0x5743ce(0x216),(_0x555fc5,_0x2d7112,_0x5c0fef)=>{const _0x268622=_0x5743ce,_0x36ff56=_0x2d7112[_0x268622(0x2b7)][_0x268622(0x288)](':')[0x1],_0xca1021=this[_0x268622(0x20b)](_0x36ff56);if(!_0xca1021)return null;const _0x11bc21=_0x268622(0x2b4)==_0xca1021[_0x268622(0x29e)]?_0x268622(0x288):_0x268622(0x2fa);if(_0x5c0fef[_0x268622(0x310)][_0x268622(0x219)](_0x2d7112[_0x268622(0x294)],_0x555fc5[_0x268622(0x1f3)]))for(const _0x36c71b of _0x2d7112[_0x268622(0x294)][_0x268622(0x2cb)]()){if(!_0x36c71b['is'](_0x268622(0x2f4),_0x268622(0x28c)))continue;const _0x74925=_0x5c0fef[_0x268622(0x252)][_0x268622(0x2c1)](_0x268622(0x253),{'class':_0x268622(0x2ee)+_0x11bc21}),_0x49088b=_0x5c0fef[_0x268622(0x29a)][_0x268622(0x2eb)](this[_0x268622(0x31f)][_0x268622(0x1f4)][_0x268622(0x2cc)](_0x36c71b));_0xca1021[_0x268622(0x2c8)][_0x268622(0x2f5)]&&_0x5c0fef[_0x268622(0x252)][_0x268622(0x203)](_0x268622(0x2ee)+_0x11bc21+_0x268622(0x2ed),_0x74925),this[_0x268622(0x2fe)]==_0xca1021&&_0x5c0fef[_0x268622(0x252)][_0x268622(0x203)](_0x268622(0x1f0),_0x74925),_0x5c0fef[_0x268622(0x252)][_0x268622(0x2a5)](_0x49088b,_0x74925),_0x5c0fef[_0x268622(0x29a)][_0x268622(0x32c)](_0x74925,_0x2d7112[_0x268622(0x2b7)]);}},{'priority':_0x5743ce(0x2f1)}),this[_0x5743ce(0x31f)][_0x5743ce(0x1f4)][_0x5743ce(0x247)]['on'](_0x5743ce(0x331),()=>{const _0x2c94ef=_0x5743ce;this[_0x2c94ef(0x31f)][_0x2c94ef(0x2e8)][_0x2c94ef(0x283)][_0x2c94ef(0x331)](_0x46751e=>{const _0x2bddb2=_0x2c94ef;for(const _0x44b161 of this[_0x2bddb2(0x31f)][_0x2bddb2(0x1f4)][_0x2bddb2(0x247)][_0x2bddb2(0x2a0)]()){const _0x49e27d=this[_0x2bddb2(0x31f)][_0x2bddb2(0x1f4)][_0x2bddb2(0x247)][_0x2bddb2(0x28b)](_0x44b161),_0x48bf99=this[_0x2bddb2(0x31f)][_0x2bddb2(0x2e8)][_0x2bddb2(0x283)][_0x2bddb2(0x247)][_0x2bddb2(0x28b)](_0x44b161);if(_0x48bf99){const _0x4797f9=_0x49e27d[_0x2bddb2(0x251)](_0x2bddb2(0x25f));if(_0x46751e[_0x2bddb2(0x32e)](_0x2bddb2(0x2d2),_0x48bf99),_0x46751e[_0x2bddb2(0x29d)](_0x2bddb2(0x2f3),_0x48bf99),_0x46751e[_0x2bddb2(0x29d)](_0x2bddb2(0x239),_0x48bf99),_0x46751e[_0x2bddb2(0x29d)](_0x2bddb2(0x28f),_0x48bf99),_0x4797f9){const _0x7ef4dc=this[_0x2bddb2(0x20b)](_0x4797f9);if(!_0x7ef4dc)return null;_0x46751e[_0x2bddb2(0x2b6)](_0x2bddb2(0x2d2),_0x4797f9,_0x48bf99),_0x46751e[_0x2bddb2(0x203)](_0x2bddb2(0x20f)+_0x7ef4dc[_0x2bddb2(0x29e)],_0x48bf99),this[_0x2bddb2(0x2fe)]==_0x7ef4dc&&_0x46751e[_0x2bddb2(0x203)](_0x2bddb2(0x28f),_0x48bf99);}}}});}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x1f5))[_0x5743ce(0x280)]({'view':_0x5743ce(0x29c),'model':_0x1a6e19=>_0x5743ce(0x334)+_0x1a6e19,'converterPriority':_0x5743ce(0x330)}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x1f5))[_0x5743ce(0x280)]({'view':_0x5743ce(0x22a),'model':_0x25e55=>_0x5743ce(0x298)+_0x25e55,'converterPriority':_0x5743ce(0x330)}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x242))[_0x5743ce(0x279)]({'model':_0x5743ce(0x23f),'view':_0x7f23d6=>({'name':_0x5743ce(0x2e4)+_0x7f23d6,'group':_0x5743ce(0x23f)}),'converterPriority':_0x5743ce(0x330)}),this[_0x5743ce(0x31f)][_0x5743ce(0x24e)][_0x5743ce(0x271)](_0x5743ce(0x1fe))[_0x5743ce(0x284)]({'model':_0x5743ce(0x23f),'view':_0x37b707=>{const _0x541797=_0x5743ce,_0x171480=_0x37b707[_0x541797(0x2b7)][_0x541797(0x288)](':')[0x1];return _0x541797(0x30d)!=_0x171480&&_0x541797(0x2ec)!=_0x171480?null:{'classes':[_0x541797(0x2d6),_0x541797(0x2ab)+_0x171480]};}}),this[_0x5743ce(0x31f)][_0x5743ce(0x2e8)][_0x5743ce(0x2ff)]['on'](_0x5743ce(0x233),et(this[_0x5743ce(0x31f)],_0x5743ce(0x2fa)),{'priority':_0x5743ce(0x2f1)}),this[_0x5743ce(0x31f)][_0x5743ce(0x2e8)][_0x5743ce(0x2ff)]['on'](_0x5743ce(0x26e),et(this[_0x5743ce(0x31f)],_0x5743ce(0x288)),{'priority':_0x5743ce(0x2f1)}),this[_0x5743ce(0x31f)][_0x5743ce(0x2e8)][_0x5743ce(0x2ff)]['on'](_0x5743ce(0x2a1),(_0x26e61b,_0x525bd3,_0x153afa)=>{const _0x2a0d7=_0x5743ce,_0x40d29f=_0x153afa[_0x2a0d7(0x29a)][_0x2a0d7(0x2af)](_0x525bd3[_0x2a0d7(0x2b7)]);if(_0x40d29f){for(const _0x2ebb71 of _0x40d29f)_0x2ebb71['is'](_0x2a0d7(0x1f6))&&(_0x153afa[_0x2a0d7(0x29a)][_0x2a0d7(0x2e9)](_0x2ebb71,_0x525bd3[_0x2a0d7(0x2b7)]),_0x153afa[_0x2a0d7(0x252)][_0x2a0d7(0x297)](_0x2ebb71));}},{'priority':_0x5743ce(0x2f1)});}[_0x25a613(0x20b)](_0x2a7a63){const _0x20d3b0=_0x25a613;return this[_0x20d3b0(0x2de)][_0x20d3b0(0x210)](_0x2a7a63);}[_0x25a613(0x208)](_0x415ac7){const _0x2a48e1=_0x25a613;return this[_0x2a48e1(0x2bc)]&&this[_0x2a48e1(0x2bc)][_0x2a48e1(0x2c4)](),this[_0x2a48e1(0x2bc)]=new _0x1f3481(this[_0x2a48e1(0x31f)][_0x2a48e1(0x22f)],_0x415ac7),this[_0x2a48e1(0x2bc)];}[_0x25a613(0x27b)](){const _0x46a77f=_0x25a613;this[_0x46a77f(0x31f)][_0x46a77f(0x1f4)][_0x46a77f(0x247)][_0x46a77f(0x306)][_0x46a77f(0x232)](_0x46a77f(0x2be)),this['on'](_0x46a77f(0x2da),(_0x11a24c,_0x4a4027,_0x436858,_0x1102cb)=>{const _0xc974e8=_0x46a77f;_0x1102cb&&this[_0xc974e8(0x2a7)][_0xc974e8(0x297)](_0x1102cb),_0x436858&&(this[_0xc974e8(0x2a7)][_0xc974e8(0x2b4)]({'view':_0x436858,'stackId':_0xc974e8(0x1f1),'position':{'target':()=>{const _0x55d784=_0xc974e8,_0x5ddc1a=this[_0x55d784(0x31f)][_0x55d784(0x2e8)],_0x58d130=this[_0x55d784(0x20b)](_0x436858[_0x55d784(0x2c9)]);let _0x5ecea0;if(_0x58d130[_0x55d784(0x2c8)][_0x55d784(0x2d0)]){const _0x1ce5ee=_0x5ddc1a[_0x55d784(0x283)][_0x55d784(0x24b)](_0x58d130[_0x55d784(0x2c6)]);_0x5ecea0=Array[_0x55d784(0x30a)](_0x1ce5ee[_0x55d784(0x277)]());}else{const _0x121641=this[_0x55d784(0x31f)][_0x55d784(0x1f4)][_0x55d784(0x24f)][_0x55d784(0x210)](_0x55d784(0x2c3)+_0x436858[_0x55d784(0x2c9)]);_0x5ecea0=Array[_0x55d784(0x30a)](_0x5ddc1a[_0x55d784(0x29a)][_0x55d784(0x2af)](_0x121641[_0x55d784(0x1f3)]))[_0x55d784(0x2f6)](_0x1306de=>_0x5ddc1a[_0x55d784(0x283)][_0x55d784(0x260)][_0x55d784(0x27d)](_0x1306de))[_0x55d784(0x2f6)](_0x4323de=>Array[_0x55d784(0x30a)](_0x4323de[_0x55d784(0x277)]()))[_0x55d784(0x2b1)]();}if(!this[_0x55d784(0x2d9)])return _0x5ecea0[0x0];return _0x5ecea0[_0x55d784(0x2a3)](_0x417c54=>_0x417c54[_0x55d784(0x31a)]-0x3<=this[_0x55d784(0x2d9)]['y']&&_0x417c54[_0x55d784(0x235)]+0x3>=this[_0x55d784(0x2d9)]['y']&&_0x417c54[_0x55d784(0x21c)]-0x3<=this[_0x55d784(0x2d9)]['x']&&_0x417c54[_0x55d784(0x213)]+0x3>=this[_0x55d784(0x2d9)]['x'])||_0x5ecea0[0x0];}}}),this[_0xc974e8(0x2a7)][_0xc974e8(0x21f)](_0xc974e8(0x1f1)));}),this['on'](_0x46a77f(0x1ee),(_0x505a24,_0x37fced,_0x4dbda5,_0x17718a)=>{const _0x1cb244=_0x46a77f;this[_0x1cb244(0x212)]=_0x4dbda5?this[_0x1cb244(0x208)](_0x4dbda5):null,this[_0x1cb244(0x31f)][_0x1cb244(0x1f4)][_0x1cb244(0x331)](()=>{const _0x53c948=_0x1cb244,_0x2b9c50=this[_0x53c948(0x31f)][_0x53c948(0x2e8)];_0x17718a&&(_0x17718a[_0x53c948(0x2c8)][_0x53c948(0x2d0)]?_0x2b9c50[_0x53c948(0x283)][_0x53c948(0x331)](_0x19fcee=>{const _0x16cdfa=_0x53c948;_0x19fcee[_0x16cdfa(0x29d)](_0x16cdfa(0x28f),_0x2b9c50[_0x16cdfa(0x283)][_0x16cdfa(0x247)][_0x16cdfa(0x28b)](_0x17718a[_0x16cdfa(0x2c6)]));}):_0x2b9c50[_0x53c948(0x316)](_0x53c948(0x2c3)+_0x17718a['id'])),_0x4dbda5&&(_0x4dbda5[_0x53c948(0x2c8)][_0x53c948(0x2d0)]?_0x2b9c50[_0x53c948(0x283)][_0x53c948(0x331)](_0x10be7b=>{const _0x2dcbbd=_0x53c948;_0x10be7b[_0x2dcbbd(0x203)](_0x2dcbbd(0x28f),_0x2b9c50[_0x2dcbbd(0x283)][_0x2dcbbd(0x247)][_0x2dcbbd(0x28b)](_0x4dbda5[_0x2dcbbd(0x2c6)]));}):_0x2b9c50[_0x53c948(0x316)](_0x53c948(0x2c3)+_0x4dbda5['id']));});}),this[_0x46a77f(0x286)](this[_0x46a77f(0x31f)][_0x46a77f(0x2e8)][_0x46a77f(0x283)][_0x46a77f(0x247)],_0x46a77f(0x30f),(_0x12dba6,_0x154ec1)=>{const _0x5d2d93=_0x46a77f;if(this[_0x5d2d93(0x2fe)])return;const _0x4ffb75=this[_0x5d2d93(0x2e2)](_0x154ec1[_0x5d2d93(0x328)]),_0x27ec9a=this[_0x5d2d93(0x2de)][_0x5d2d93(0x210)](_0x4ffb75);_0x27ec9a?(this[_0x5d2d93(0x2d9)]={'x':_0x154ec1[_0x5d2d93(0x302)]['x'],'y':_0x154ec1[_0x5d2d93(0x302)]['y']},this[_0x5d2d93(0x212)]=this[_0x5d2d93(0x208)](_0x27ec9a)):(this[_0x5d2d93(0x2d9)]=null,this[_0x5d2d93(0x212)]=null);}),this[_0x46a77f(0x286)](this[_0x46a77f(0x31f)][_0x46a77f(0x2e8)][_0x46a77f(0x283)][_0x46a77f(0x247)],_0x46a77f(0x303),(_0x2e572a,_0x552cc0)=>{const _0x5d49c3=_0x46a77f,_0x4a389a=this[_0x5d49c3(0x2e2)](_0x552cc0[_0x5d49c3(0x328)]),_0x35e8d9=this[_0x5d49c3(0x2de)][_0x5d49c3(0x210)](_0x4a389a);_0x35e8d9?(this[_0x5d49c3(0x2d9)]={'x':_0x552cc0[_0x5d49c3(0x302)]['x'],'y':_0x552cc0[_0x5d49c3(0x302)]['y']},_0x35e8d9===this[_0x5d49c3(0x2fe)]?this[_0x5d49c3(0x2a7)][_0x5d49c3(0x273)]():this[_0x5d49c3(0x2fe)]=_0x35e8d9):(this[_0x5d49c3(0x2d9)]=null,this[_0x5d49c3(0x2fe)]=null);});}[_0x25a613(0x2e2)](_0x576a83){const _0x48f580=_0x25a613;do{const _0x5881e0=_0x576a83[_0x48f580(0x251)](_0x48f580(0x2d2));if(_0x5881e0)return _0x5881e0;_0x576a83=_0x576a83[_0x48f580(0x27e)];}while(_0x576a83);return null;}[_0x25a613(0x281)](){const _0x58d994=_0x25a613;this[_0x58d994(0x31f)][_0x58d994(0x1f4)][_0x58d994(0x331)](_0x982b7d=>{const _0x52a58d=_0x58d994;for(const _0x7b06e8 of this[_0x52a58d(0x31f)][_0x52a58d(0x1f4)][_0x52a58d(0x24f)])_0x982b7d[_0x52a58d(0x2ac)](_0x7b06e8);});}}function et(_0xdaff06,_0x59b2a4){return(_0x7a01ab,_0x5b7eca,_0x5d4345)=>{const _0xc392bf=_0x245d;if(!_0x5d4345[_0xc392bf(0x310)][_0xc392bf(0x219)](_0x5b7eca[_0xc392bf(0x294)],_0x7a01ab[_0xc392bf(0x1f3)]))return;const _0x1593c7=_0x5b7eca[_0xc392bf(0x294)][_0xc392bf(0x223)](),_0x196680=_0x5b7eca[_0xc392bf(0x294)][_0xc392bf(0x311)],_0x2d2e6b=_0xdaff06[_0xc392bf(0x1f4)][_0xc392bf(0x250)];let _0x48f1db=null,_0x412e2a=null,_0x64d30e=!0x1,_0x538b67=!0x1;for(const _0x3186bb of _0x1593c7){const _0x50c52b=_0x3186bb[_0xc392bf(0x202)];_0x64d30e=_0x64d30e||_0x2d2e6b[_0xc392bf(0x24d)](_0x50c52b);const _0x2e3264=_0x5d4345[_0xc392bf(0x29a)][_0xc392bf(0x25c)](_0x50c52b);if(_0x2e3264&&_0x2e3264[_0xc392bf(0x22c)](_0xc392bf(0x335)))return;_0xc392bf(0x2ae)==_0x3186bb[_0xc392bf(0x29e)]&&(_0x2d2e6b[_0xc392bf(0x304)](_0x50c52b)&&!_0x2d2e6b[_0xc392bf(0x256)](_0x50c52b)&&(_0x50c52b[_0xc392bf(0x1f8)]||_0x196680[_0xc392bf(0x2cd)]?_0x48f1db&&_0x48f1db[_0xc392bf(0x27e)]==_0x50c52b||(_0x48f1db=_0x50c52b,_0x484a9b(_0x3186bb[_0xc392bf(0x28e)]),_0x538b67=!0x0):_0x412e2a=_0x412e2a||_0x3186bb[_0xc392bf(0x28e)]));}function _0x484a9b(_0x4ea7a1){const _0x5b10cc=_0xc392bf,_0x1584e1=_0x5d4345[_0x5b10cc(0x29a)][_0x5b10cc(0x2eb)](_0x4ea7a1),_0x5658b4=_0x5d4345[_0x5b10cc(0x252)][_0x5b10cc(0x2c1)](_0x5b10cc(0x253),{'class':_0x5b10cc(0x2ab)+_0x59b2a4});_0x5d4345[_0x5b10cc(0x252)][_0x5b10cc(0x2a5)](_0x1584e1,_0x5658b4),_0x5d4345[_0x5b10cc(0x29a)][_0x5b10cc(0x32c)](_0x5658b4,_0x5b7eca[_0x5b10cc(0x2b7)]);}_0x64d30e||_0x538b67||!_0x412e2a||_0x484a9b(_0x412e2a);};}export class RestoreRevisionCommand extends _0x80ac9{constructor(_0x2c010a){const _0x5a7f44=_0x25a613;super(_0x2c010a);const _0x2eb659=_0x2c010a[_0x5a7f44(0x2fd)][_0x5a7f44(0x210)](d);this[_0x5a7f44(0x333)]=!0x1,this[_0x5a7f44(0x286)](_0x2eb659,_0x5a7f44(0x26b),()=>this[_0x5a7f44(0x2e5)]()),this[_0x5a7f44(0x286)](_0x2eb659,_0x5a7f44(0x24a),()=>this[_0x5a7f44(0x2e5)]());}[_0x25a613(0x318)](){const _0x2c2392=_0x25a613,_0x332fad=this[_0x2c2392(0x31f)],_0x16f108=_0x332fad[_0x2c2392(0x2fd)][_0x2c2392(0x210)](d),_0x278abf=_0x16f108[_0x2c2392(0x241)]?_0x16f108[_0x2c2392(0x300)][_0x2c2392(0x30c)]:null;_0x332fad[_0x2c2392(0x324)][_0x2c2392(0x210)](_0x2c2392(0x1ff))[_0x2c2392(0x325)](_0x278abf);}[_0x25a613(0x2e5)](){const _0x5c455d=_0x25a613,{isReady:_0x1181e3,isEnabled:_0x56c722}=this[_0x5c455d(0x31f)][_0x5c455d(0x2fd)][_0x5c455d(0x210)](d);this[_0x5c455d(0x31c)]=_0x1181e3&&_0x56c722;}}export class ShowChangeCommand extends _0x80ac9{constructor(_0x4ad443,{direction:_0x405e27}){const _0xddb7ff=_0x25a613;super(_0x4ad443);const _0x38941c=_0x4ad443[_0xddb7ff(0x2fd)][_0xddb7ff(0x210)](d);this[_0xddb7ff(0x333)]=!0x1,this[_0xddb7ff(0x246)]=_0xddb7ff(0x26f)===_0x405e27?0x1:-0x1,this[_0xddb7ff(0x286)](_0x38941c,_0xddb7ff(0x26b),()=>this[_0xddb7ff(0x2e5)]()),this[_0xddb7ff(0x286)](_0x38941c,_0xddb7ff(0x24a),()=>this[_0xddb7ff(0x2e5)]()),this[_0xddb7ff(0x286)](_0x38941c,_0xddb7ff(0x1ee),()=>this[_0xddb7ff(0x2e5)]());}[_0x25a613(0x318)](){const _0x4ad515=_0x25a613,_0x5e6079=this[_0x4ad515(0x31f)],_0x5cbbaf=_0x5e6079[_0x4ad515(0x2fd)][_0x4ad515(0x210)](d),{isNavigationMode:_0x2df363,currentChangeNumber:_0x30bea2}=_0x5cbbaf;let _0x5a05ba;if(_0x5cbbaf[_0x4ad515(0x2fe)]=_0x2df363?_0x5cbbaf[_0x4ad515(0x300)][_0x4ad515(0x30e)][_0x4ad515(0x210)](_0x30bea2+this[_0x4ad515(0x246)]):_0x5cbbaf[_0x4ad515(0x300)][_0x4ad515(0x30e)][_0x4ad515(0x21a)],_0x5cbbaf[_0x4ad515(0x2fe)][_0x4ad515(0x2c8)][_0x4ad515(0x2d0)])_0x5a05ba=_0x5e6079[_0x4ad515(0x2e8)][_0x4ad515(0x283)][_0x4ad515(0x24b)](_0x5cbbaf[_0x4ad515(0x2fe)][_0x4ad515(0x2c6)]);else{const _0x3b94d8=_0x5e6079[_0x4ad515(0x1f4)][_0x4ad515(0x24f)][_0x4ad515(0x210)](_0x4ad515(0x2c3)+_0x5cbbaf[_0x4ad515(0x2fe)]['id']);_0x5a05ba=_0x307bff(_0x5e6079[_0x4ad515(0x2e8)],_0x3b94d8);}_0x4a083e({'target':_0x5a05ba,'viewportOffset':0x28});}[_0x25a613(0x2e5)](){const _0xacb6c1=_0x25a613,{isNavigationMode:_0x5c2164,currentChangeNumber:_0x4c21fa,numberOfChanges:_0x331964,isReady:_0x1ca1f8,isEnabled:_0x10f40c}=this[_0xacb6c1(0x31f)][_0xacb6c1(0x2fd)][_0xacb6c1(0x210)](d);this[_0xacb6c1(0x31c)]=!!(_0x10f40c&&_0x1ca1f8&&_0x331964)&&(!_0x5c2164||(0x1===this[_0xacb6c1(0x246)]?_0x4c21fa<_0x331964-0x1:_0x4c21fa>0x0));}}function _0xbd07(){const _0x50870b=['createRangeIn','diffData','attributesAfter','6473358hLYqdL','markerRange','isAttached','getRevisionData','remove','revision-suggestion:','revision-start','mapper','clear','comment','removeClass','type','low','getRootNames','removeMarker:revision-suggestion','distance','find','requires','insert','end','_balloon','keys','_sortAndFilterDiffChanges','_markMismatchedRemovedTags','ck-suggestion-preview-marker-','removeMarker','enableReadOnlyMode','elementEnd','markerNameToElements','set','flat','_joinTapes','elementStart','add','unshift','setAttribute','markerName','commands','oldRevisionId','_fixObsoleteTags','authors','_changeView','forEach','revision','abs','shift','createUIElement','text','revision:','destroy','init','rootName','vid_start','data','changeId','isRemoved','getItems','createPositionBefore','isAtEnd','side','_markSuggestions','isOnRoot','code','data-change-id','getChild','index','enqueueChange','ck-suggestion-preview-marker','attributes','attribute:vid','_activeViewTarget','change:activeView','adapter','includes','ck-suggestion-marker-split','_changeIdToChange','startIndex','has','isRemoveSuggestion','_findChangeIdFromDomTarget','detachRoot','suggestion:','refresh','then','_getViewObj','editing','unbindElementFromMarkerName','offsetSize','toViewPosition','deletion','-new','ck-suggestion-marker-','startsWith','_makeModelFromViewString','high','concat','ck-revision-history-root-add','element','isSuggestion','map','toData','671167vpDilW','_setConversion','merge','parse','marked','plugins','activeChange','downcastDispatcher','diff','elementToAttribute','domEvent','mousedown','isBlock','deletions','selection','23754kpmIUY','sort','isAtStart','from','1sHbGYG','newRevisionId','insertion','changes','mouseover','consumable','start','ck-editor__editable__overlay','endIndex','_appendChild','consume','reconvertMarker','_setChanges','execute','element:pre','top','object','isEnabled','pluginName','children','editor','loadRevisionData','forceDisabled','isInline','_getDiff','config','restoreRevisionCallback','_revisions','level','target','_refreshStartEndIndex','isBefore','createRevision','bindElementToMarker','136XEncDW','removeAttribute','range','highest','change','nodeAfter','affectsData','revision-comment:','addHighlight','markersStart','showPreviousChange','processor','removeMarker:revision','attributesBefore','_makeTape','getRevisionRootsAttributes','change:activeChange','24753770uMQMbk','ck-suggestion-marker--active','revisionHistoryLabel','WidgetToolbarRepository','name','model','upcast','uiElement','indexOf','nextSibling','addRevisionData','pairId','_removeMissingPairs','_getRevisionsRange','catch','editingDowncast','revisionHistory','wrap','insertions','item','addClass','vid','all','vid_end','slice','_getViewForChange','RevisionViewer','isNavigationMode','_getChangeFromId','_processTape','modelRange','useFillerType','ck-revision-history-root-','get','createRange','activeView','right','isAdded','viewItem','addMarker:revision','hasAttribute','filter','test','first','getRevision','left','numberOfChanges','checkAttribute','showStack','isIncorrect','275HSpsHQ','ck-suggestion-marker','getWalker','POSITIVE_INFINITY','isAddSuggestion','getAttributes','4912152XQutic','_cleanUp','ck-suggestion-marker-merge','suggestion','done','getCustomProperty','error','toViewRange','locale','1556758gDnglV','return','observeMarkers','addMarker:revision-suggestion:deletion','userId','bottom','pop','collaboration.channelId','isCollapsed','ck-revision-history-root-remove','data-revision-','_setDistance','_makeModelFromTape','currentChangeNumber','delete','revision-suggestion','nextPosition','isReady','dataDowncast','_threeWayMerge','restoreRevision','showNextChange','_step','document','hasClass','_markInsertions','change:isEnabled','getDomRoot','markersEnd','isContent','conversion','markers','schema','getAttribute','writer','span','isObject','stop','isLimit','createPositionFromPath','isEqual','default','attachChange','_removeRevisionMarkers','toViewElement','RevisionsRepository','string','revisionHistoryAttachChange','domConverter','_markMarkers','roots','next','addRoot','addRevision','revision-viewer','bind','_update','toModel','splice','change:isReady','_removeUnsupportedChanges','createAttributeElement','addMarker:revision-suggestion:insertion','forward','backward','for','isAfter','updatePosition','push','compare','change:numberOfChanges','getClientRects','resolve','markerToData','_data','_initInteractions','length','mapViewToDom','parent','findIndex','dataToMarker','_cleanMarkers','revision-end','view','markerToHighlight','getIndex','listenTo','5205400JGPyAo','split','maxOffset','values','getRoot','softBreak','repository','previousPosition','ck-revision-history-root--active'];_0xbd07=function(){return _0x50870b;};return _0xbd07();}
|
|
23
|
+
const _0x51d9fa=_0x1d88;(function(_0x3478d0,_0x53e6b4){const _0x3ad488=_0x1d88,_0x419caa=_0x3478d0();while(!![]){try{const _0x52a75a=parseInt(_0x3ad488(0xb7))/0x1+parseInt(_0x3ad488(0x1ba))/0x2+-parseInt(_0x3ad488(0x150))/0x3*(-parseInt(_0x3ad488(0x1a9))/0x4)+parseInt(_0x3ad488(0xc2))/0x5*(-parseInt(_0x3ad488(0x1b4))/0x6)+-parseInt(_0x3ad488(0xf7))/0x7*(parseInt(_0x3ad488(0x202))/0x8)+parseInt(_0x3ad488(0x196))/0x9+parseInt(_0x3ad488(0x123))/0xa*(-parseInt(_0x3ad488(0xb6))/0xb);if(_0x52a75a===_0x53e6b4)break;else _0x419caa['push'](_0x419caa['shift']());}catch(_0x2865b7){_0x419caa['push'](_0x419caa['shift']());}}}(_0x2106,0xb5621));import{Plugin as _0x9aa7f2,Command as _0x254405}from'ckeditor5/src/core.js';function _0x2106(){const _0x5a1ae2=['4GZRGhC','_step','domConverter','commands','diffData','isAfter','ck-revision-history-root-add','dataToMarker','markerToHighlight','revisionHistory','right','9852PVCqUj','revision','reconvertMarker','start','values','isBefore','1938724CIYgIv','ck-revision-history-root-remove','_makeTape','end','attributes','attributesBefore','children','revision:','diff','_getDiff','code','data','target','config','showPreviousChange','remove','dataDowncast','_removeUnsupportedChanges','restoreRevisionCallback','useFillerType','deletions','done','authors','first','changes','from','forceDisabled','index','side','addMarker:revision','addRevision','attachChange','deletion','has','getRoot','enableReadOnlyMode','level','toData','removeMarker:revision-suggestion','_initInteractions','isReady','activeView','change:activeView','addMarker:revision-suggestion:deletion','ck-suggestion-preview-marker','abs','markerToData','return','_setDistance','domEvent','change:isReady','slice','attribute:vid','_changeIdToChange','hasAttribute','change:isEnabled','ck-suggestion-marker--active','-new','vid_end','_update','wrap','isEqual','span','string','catch','getWalker','roots','isEnabled','left','_getViewForChange','getAttributes','rootName','8UuzxoW','next','softBreak','editing','33SMSCiz','1036440IePwdn','low','modelRange','view','delete','addRoot','WidgetToolbarRepository','_threeWayMerge','listenTo','suggestion:','merge','2615VzeLOB','changeId','ck-suggestion-marker','_findChangeIdFromDomTarget','removeMarker','isAdded','viewItem','ck-suggestion-marker-merge','_getViewObj','repository','isAttached','mapper','ck-suggestion-preview-marker-','revision-suggestion','test','ck-revision-history-root--active','text','markerName','refresh','isSuggestion','high','_cleanUp','stop','restoreRevision','observeMarkers','endIndex','isLimit','highest','downcastDispatcher','affectsData','insertion','elementToAttribute','toViewElement','model','data-change-id','insertions','RevisionsRepository','attributesAfter','editor','_appendChild','suggestion','getRootNames','nextSibling','mousedown','vid','mapViewToDom','element:pre','_sortAndFilterDiffChanges','collaboration.channelId','parent','markerRange','isCollapsed','push','9072434mYFNEs','flat','_cleanMarkers','currentChangeNumber','markersStart','elementEnd','unshift','adapter','object','activeChange','revision-start','hasClass','_markMarkers','isAtStart','getRevisionData','conversion','upcast','toViewRange','includes','nodeAfter','_setChanges','revisionHistoryLabel','POSITIVE_INFINITY','addHighlight','resolve','change','enqueueChange','getAttribute','change:activeChange','_processTape','getRevision','createRangeIn','bind','revision-comment:','error','findIndex','_refreshStartEndIndex','toModel','pop','_getChangeFromId','revision-end','numberOfChanges','then','elementStart','1376600jKvVbU','markersEnd','RevisionViewer','getCustomProperty','type','init','all','default','for','uiElement','previousPosition','createPositionFromPath','isOnRoot','_setConversion','isIncorrect','nextPosition','_removeRevisionMarkers','updatePosition','isInline','revisionHistoryAttachChange','isRemoved','isNavigationMode','createPositionBefore','revision-suggestion:','offsetSize','consume','startIndex','distance','insert','pairId','showNextChange','split','_data','requires','userId','markerNameToElements','removeAttribute','document','ck-revision-history-root-','set','_markSuggestions','oldRevisionId','destroy','shift','add','3513057HUcTvh','_makeModelFromViewString','newRevisionId','splice','writer','checkAttribute','isAtEnd','ck-editor__editable__overlay','forward','detachRoot','concat','toViewPosition','revision-viewer','getDomRoot','getItems','mouseover','_fixObsoleteTags','loadRevisionData','_getRevisionsRange','change:numberOfChanges','getIndex','removeClass','processor','getClientRects','bottom','selection','removeMarker:revision','keys','backward','sort','_removeMissingPairs','createAttributeElement','execute','_changeView','isBlock','showStack','ck-suggestion-marker-split','markers','vid_start','isContent','locale','addMarker:revision-suggestion:insertion','find','bindElementToMarker','createRevision','_makeModelFromTape','consumable','createUIElement','addClass','range','indexOf','item','top','map','isAddSuggestion','forEach','comment','pluginName','_joinTapes','clear','_activeViewTarget','getRevisionRootsAttributes','isObject','setAttribute','maxOffset','_revisions','startsWith','filter','_balloon','unbindElementFromMarkerName','1205388JaLPmQ','isRemoveSuggestion','name','get','createRange','compare','marked','parse','plugins','editingDowncast','element','addRevisionData','data-revision-','length','ck-suggestion-marker-','schema','getChild','_markMismatchedRemovedTags','_markInsertions'];_0x2106=function(){return _0x5a1ae2;};return _0x2106();}import{scrollViewportToShowTarget as _0x4e90b3}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0xcc5376}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x33b584,Element as _0x1b966b,Text as _0x397c46,ViewDocumentFragment as _0x10f6ad,ViewText as _0x6f246e,ViewElement as _0x3501b3,ViewContainerElement as _0x486ad5,ViewAttributeElement as _0x566afb,ViewEmptyElement as _0x21b6d9,ViewRawElement as _0x474e9a,ViewUIElement as _0x46b612}from'ckeditor5/src/engine.js';function _0x1d88(_0x34fa81,_0x4a3fae){const _0x210680=_0x2106();return _0x1d88=function(_0x1d8814,_0x49dccb){_0x1d8814=_0x1d8814-0xb3;let _0x4f1f84=_0x210680[_0x1d8814];return _0x4f1f84;},_0x1d88(_0x34fa81,_0x4a3fae);}import{Users as _0x3884c7,getMarkerDomElement as _0xff127}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2e1972 from'./ui/revisionviewer/changedetailsview.js';import _0x433102 from'./revisionsrepository.js';import _0x596fff from'./changeitem.js';import{default as _0x53c73f}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x31a084}from'lodash-es';const tt={'c':_0x486ad5,'a':_0x566afb,'e':_0x21b6d9,'r':_0x474e9a,'u':_0x46b612};export default class d extends _0x9aa7f2{static get[_0x51d9fa(0x189)](){const _0x15b369=_0x51d9fa;return _0x15b369(0x125);}static get[_0x51d9fa(0x144)](){return[_0x3884c7,_0xcc5376,_0x433102];}constructor(_0x5719f7){const _0x2d3ec9=_0x51d9fa;super(_0x5719f7),this[_0x2d3ec9(0xcb)]=this[_0x2d3ec9(0xe8)][_0x2d3ec9(0x19e)][_0x2d3ec9(0x199)](_0x2d3ec9(0xe6)),this[_0x2d3ec9(0x14a)](_0x2d3ec9(0x100),null),this[_0x2d3ec9(0x14a)](_0x2d3ec9(0x1e3),null),this[_0x2d3ec9(0x18c)]=null,this[_0x2d3ec9(0x14a)](_0x2d3ec9(0x1c2),null),this[_0x2d3ec9(0x14a)](_0x2d3ec9(0x1e2),!0x1),this[_0x2d3ec9(0x14a)](_0x2d3ec9(0x1fd),!0x0),this['on'](_0x2d3ec9(0x1f1),(_0xcb5c1,_0x48a78d,_0x214492)=>{const _0x4b4d5c=_0x2d3ec9;this[_0x4b4d5c(0x100)]=null,this[_0x4b4d5c(0x1e3)]=null,this[_0x4b4d5c(0xe8)][_0x4b4d5c(0xb5)][_0x4b4d5c(0xba)][_0x4b4d5c(0x110)](_0x20c042=>{const _0x57a563=_0x4b4d5c;for(const _0x50494b of this[_0x57a563(0xe8)][_0x57a563(0xb5)][_0x57a563(0xba)][_0x57a563(0x148)][_0x57a563(0x1fc)])_0x214492?_0x20c042[_0x57a563(0x165)](_0x57a563(0x157),_0x50494b):_0x20c042[_0x57a563(0x180)](_0x57a563(0x157),_0x50494b);});}),this[_0x2d3ec9(0x117)](_0x2d3ec9(0x138))['to'](this,_0x2d3ec9(0x100),_0x5a0c4d=>null!==_0x5a0c4d),this[_0x2d3ec9(0x117)](_0x2d3ec9(0xfa))['to'](this,_0x2d3ec9(0x1e2),this,_0x2d3ec9(0x1c2),this,_0x2d3ec9(0x100),(_0x29769a,_0x428d07,_0x1f9ec5)=>_0x29769a&&_0x1f9ec5?_0x428d07[_0x2d3ec9(0x1d2)][_0x2d3ec9(0x164)](_0x1f9ec5):0x0),this[_0x2d3ec9(0x117)](_0x2d3ec9(0x120))['to'](this,_0x2d3ec9(0x1e2),this,_0x2d3ec9(0x1c2),(_0x3d30dd,_0x3e63a3)=>_0x3d30dd?_0x3e63a3[_0x2d3ec9(0x1d2)][_0x2d3ec9(0x1a3)]:0x0),this[_0x2d3ec9(0x171)]=null,this[_0x2d3ec9(0x1ef)]=new Map(),this[_0x2d3ec9(0xfe)]=null,this[_0x2d3ec9(0x194)]=this[_0x2d3ec9(0xe8)][_0x2d3ec9(0x19e)][_0x2d3ec9(0x199)](_0xcc5376);}[_0x51d9fa(0x128)](){const _0x4e1f9f=_0x51d9fa,_0x58eef4=this[_0x4e1f9f(0xe8)],_0x20e161=new ShowChangeCommand(_0x58eef4,{'direction':_0x4e1f9f(0x16c)}),_0x4c76bc=new ShowChangeCommand(_0x58eef4,{'direction':_0x4e1f9f(0x158)});(_0x58eef4[_0x4e1f9f(0x1ac)][_0x4e1f9f(0x14f)](_0x4e1f9f(0x1c8),_0x20e161),_0x58eef4[_0x4e1f9f(0x1ac)][_0x4e1f9f(0x14f)](_0x4e1f9f(0x141),_0x4c76bc),_0x58eef4[_0x4e1f9f(0x1ac)][_0x4e1f9f(0x14f)](_0x4e1f9f(0xd9),new RestoreRevisionCommand(_0x58eef4)),this['on'](_0x4e1f9f(0x163),()=>{const _0x33c7b3=_0x4e1f9f;_0x20e161[_0x33c7b3(0xd4)](),_0x4c76bc[_0x33c7b3(0xd4)]();}),this[_0x4e1f9f(0x130)](),this[_0x4e1f9f(0x1e1)](),_0x58eef4[_0x4e1f9f(0x1dd)](_0x4e1f9f(0x15c)),_0x58eef4[_0x4e1f9f(0x19e)][_0x4e1f9f(0x1db)](_0x4e1f9f(0xbd)))&&_0x58eef4[_0x4e1f9f(0x19e)][_0x4e1f9f(0x199)](_0x4e1f9f(0xbd))[_0x4e1f9f(0x1d4)](_0x4e1f9f(0x15c));}async[_0x51d9fa(0x105)](_0x4ccac5){const _0xb24cfa=_0x51d9fa;await this[_0xb24cfa(0x161)](_0x4ccac5);const _0x32dc98={};for(const _0x16ccb9 in _0x4ccac5[_0xb24cfa(0x1ad)]){if(_0x4ccac5[_0xb24cfa(0x1ad)][_0x16ccb9][_0xb24cfa(0x1d9)]&&!_0x4ccac5[_0xb24cfa(0x1ad)][_0x16ccb9][_0xb24cfa(0x1d9)][_0xb24cfa(0xcc)])continue;const _0x3f54bb=this[_0xb24cfa(0x133)](JSON[_0xb24cfa(0x19d)](_0x4ccac5[_0xb24cfa(0x1ad)][_0x16ccb9][_0xb24cfa(0xe5)])),_0x21a442=this[_0xb24cfa(0xe8)][_0xb24cfa(0xb5)][_0xb24cfa(0xba)][_0xb24cfa(0x148)],_0x31b351=new _0x10f6ad(_0x21a442,_0x3f54bb[_0xb24cfa(0x185)](_0x2c24ec=>this[_0xb24cfa(0xca)](_0x2c24ec)));this[_0xb24cfa(0xe8)][_0xb24cfa(0x1c5)][_0xb24cfa(0x166)][_0xb24cfa(0x1cd)](_0xb24cfa(0x19c)),_0x32dc98[_0x16ccb9]=this[_0xb24cfa(0xe8)][_0xb24cfa(0x1c5)][_0xb24cfa(0x166)][_0xb24cfa(0x1df)](_0x31b351),this[_0xb24cfa(0xe8)][_0xb24cfa(0x1c5)][_0xb24cfa(0x166)][_0xb24cfa(0x1cd)](_0xb24cfa(0x12a));}return _0x32dc98;}async[_0x51d9fa(0x18d)](_0x1b8c7c){const _0x2e5275=_0x51d9fa;await this[_0x2e5275(0x161)](_0x1b8c7c);const _0x2513ba={};for(const _0x5243f3 in _0x1b8c7c[_0x2e5275(0x1ad)])_0x1b8c7c[_0x2e5275(0x1ad)][_0x5243f3][_0x2e5275(0x1d9)]&&!_0x1b8c7c[_0x2e5275(0x1ad)][_0x5243f3][_0x2e5275(0x1d9)][_0x2e5275(0xcc)]||(_0x2513ba[_0x5243f3]=_0x1b8c7c[_0x2e5275(0x1ad)][_0x5243f3][_0x2e5275(0xe7)]||{});return _0x2513ba;}[_0x51d9fa(0x133)](_0x15b2a7){const _0x4017b2=_0x51d9fa;return(_0x15b2a7=_0x15b2a7[_0x4017b2(0x193)](_0x40f28e=>!_0x40f28e[_0x4017b2(0x198)]||_0x4017b2(0x101)!==_0x40f28e[_0x4017b2(0x198)]&&_0x4017b2(0x11f)!==_0x40f28e[_0x4017b2(0x198)]))[_0x4017b2(0x187)](_0x17b7e7=>{const _0xb074aa=_0x4017b2;_0xb074aa(0x1f9)!=typeof _0x17b7e7&&(_0x17b7e7[_0xb074aa(0x1c0)]=this[_0xb074aa(0x133)](_0x17b7e7[_0xb074aa(0x1c0)]),_0x17b7e7[_0xb074aa(0x1be)]=_0x17b7e7[_0xb074aa(0x1be)][_0xb074aa(0x193)](_0x414440=>!_0x414440[0x0][_0xb074aa(0x192)](_0xb074aa(0x1a2))));}),_0x15b2a7;}async[_0x51d9fa(0x19b)](_0x5ce49f,_0x4b0fd9,_0x3f9bdb=!0x1){const _0x210d7e=_0x51d9fa;if(!this[_0x210d7e(0x1fd)])return;const _0x4dbd8e=this[_0x210d7e(0x1c2)],_0x299b70=this[_0x210d7e(0xcb)],_0x356169=_0x210d7e(0x1f9)==typeof _0x5ce49f?_0x299b70[_0x210d7e(0x115)](_0x5ce49f):_0x5ce49f,_0x1397c3=_0x210d7e(0x1f9)==typeof _0x4b0fd9?_0x299b70[_0x210d7e(0x115)](_0x4b0fd9):_0x4b0fd9,_0x43ab6b=_0x356169['id'],_0x19a958=_0x1397c3?_0x1397c3['id']:null;if(!_0x3f9bdb&&this[_0x210d7e(0x1c2)]&&this[_0x210d7e(0x1c2)][_0x210d7e(0x152)]===_0x43ab6b&&this[_0x210d7e(0x1c2)][_0x210d7e(0x14c)]===_0x19a958)return Promise[_0x210d7e(0x10f)]();this[_0x210d7e(0x1e2)]=!0x1,this[_0x210d7e(0x1e3)]=null,this[_0x210d7e(0x100)]=null,this[_0x210d7e(0x1c2)]=new _0x53c73f(_0x43ab6b,_0x19a958);const _0x51d803=this[_0x210d7e(0x162)](_0x356169,_0x1397c3,!0x0)[_0x210d7e(0x185)](_0x1d3ac3=>this[_0x210d7e(0x161)](_0x1d3ac3));return _0x51d803[_0x210d7e(0xf6)](new Promise(_0x27c7be=>{setTimeout(_0x27c7be,0x14);})),Promise[_0x210d7e(0x129)](_0x51d803)[_0x210d7e(0x121)](()=>{const _0x54a889=_0x210d7e;if(!this[_0x54a889(0x1fd)])return;this[_0x54a889(0xd7)]();const _0x488e80=this[_0x54a889(0x1c3)](_0x43ab6b,_0x19a958);for(const _0x563812 of _0x488e80[_0x54a889(0x1d2)])this[_0x54a889(0x1ef)][_0x54a889(0x14a)](_0x563812['id'],_0x563812);this[_0x54a889(0xe8)][_0x54a889(0xe3)][_0x54a889(0x111)]({'isUndoable':!0x1},_0x504f4b=>{const _0xe45a71=_0x54a889;for(const _0x29f89e of this[_0xe45a71(0xe8)][_0xe45a71(0xe3)][_0xe45a71(0x148)][_0xe45a71(0xeb)]())_0x504f4b[_0xe45a71(0x159)](_0x29f89e);for(const _0x30b3c1 of Object[_0xe45a71(0x16b)](_0x488e80[_0xe45a71(0xe3)])){const _0x46fc1f=_0x504f4b[_0xe45a71(0xbc)](_0x30b3c1);for(const _0x20bb71 of Object[_0xe45a71(0x16b)](_0x488e80[_0xe45a71(0x1be)][_0x30b3c1]))_0x504f4b[_0xe45a71(0x18f)](_0x20bb71,_0x488e80[_0xe45a71(0x1be)][_0x30b3c1][_0x20bb71],_0x46fc1f);_0x504f4b[_0xe45a71(0x13f)](_0x488e80[_0xe45a71(0xe3)][_0x30b3c1],_0x46fc1f,0x0);}}),this[_0x54a889(0x1c2)][_0x54a889(0x10b)](this[_0x54a889(0xf1)](_0x488e80[_0x54a889(0x1d2)])),this[_0x54a889(0x1e2)]=!0x0;})[_0x210d7e(0x1fa)](_0x241dc2=>{const _0x48ed12=_0x210d7e;console[_0x48ed12(0x119)](_0x241dc2),this[_0x48ed12(0xd7)](),_0x4dbd8e&&(this[_0x48ed12(0x1c2)]=_0x4dbd8e),this[_0x48ed12(0x1e2)]=!0x0;});}[_0x51d9fa(0x1a1)](_0x2dd3ff,_0x516e8f){const _0x2dd30d=_0x51d9fa,_0x31e0ea=this[_0x2dd30d(0xcb)][_0x2dd30d(0x17c)](_0x2dd3ff);return _0x31e0ea['on'](_0x2dd30d(0x1f5),(_0x4a34a6,_0x3374a8,_0x20d746)=>_0x516e8f(_0x3374a8,_0x20d746,_0x31e0ea)),this[_0x2dd30d(0xcb)][_0x2dd30d(0x1d8)](_0x31e0ea),_0x31e0ea;}[_0x51d9fa(0x161)](_0x903324){const _0x1395ca=_0x51d9fa;if(!_0x903324||_0x903324[_0x1395ca(0x1ad)])return Promise[_0x1395ca(0x10f)]();{const _0x1fcb5c=this[_0x1395ca(0xe8)][_0x1395ca(0x1c7)][_0x1395ca(0x199)](_0x1395ca(0xf2));return this[_0x1395ca(0xfe)][_0x1395ca(0x115)]({'channelId':_0x1fcb5c,'revisionId':_0x903324['id']})[_0x1395ca(0x121)](_0x528b97=>{const _0x2f49d8=_0x1395ca;_0x903324[_0x2f49d8(0x1f5)]({'diffData':_0x528b97[_0x2f49d8(0x1ad)]},!0x0);});}}[_0x51d9fa(0xd7)](){const _0x474426=_0x51d9fa;this[_0x474426(0x100)]=null,this[_0x474426(0xf9)](),this[_0x474426(0x171)]&&this[_0x474426(0x171)][_0x474426(0x14d)](),this[_0x474426(0x171)]=null,this[_0x474426(0x1ef)][_0x474426(0x18b)](),this[_0x474426(0xe8)][_0x474426(0xe3)][_0x474426(0x111)]({'isUndoable':!0x1},_0x56c3aa=>{const _0x177a25=_0x474426;for(const _0x5b1eb7 of this[_0x177a25(0xe8)][_0x177a25(0xe3)][_0x177a25(0x148)][_0x177a25(0xeb)]())_0x56c3aa[_0x177a25(0x159)](_0x5b1eb7);});}[_0x51d9fa(0xf1)](_0x38849f){const _0x4f5b9e=_0x51d9fa,_0x262205=[],_0x114c56=new Map();for(const _0x3bdf2d of this[_0x4f5b9e(0xe8)][_0x4f5b9e(0xe3)][_0x4f5b9e(0x148)][_0x4f5b9e(0xeb)]()){const _0x592e5a=this[_0x4f5b9e(0xe8)][_0x4f5b9e(0xb5)][_0x4f5b9e(0xba)][_0x4f5b9e(0x15d)](_0x3bdf2d);if(!_0x592e5a)continue;const _0x45aefc=_0x592e5a[_0x4f5b9e(0x167)]()[_0x4f5b9e(0x183)](0x0);_0x45aefc&&(_0x262205[_0x4f5b9e(0xf6)](_0x3bdf2d),_0x114c56[_0x4f5b9e(0x14a)](_0x3bdf2d,_0x45aefc));}return _0x262205[_0x4f5b9e(0x16d)]((_0x2d1f14,_0x1b0fd4)=>{const _0xec4092=_0x4f5b9e,_0x5c53cf=_0x114c56[_0xec4092(0x199)](_0x2d1f14),_0x19ae89=_0x114c56[_0xec4092(0x199)](_0x1b0fd4);return _0x5c53cf['y']-_0x19ae89['y']||_0x5c53cf['x']-_0x19ae89['x'];}),(_0x38849f=_0x38849f[_0x4f5b9e(0x193)](_0xc17ec=>_0x262205[_0x4f5b9e(0x109)](_0xc17ec[_0x4f5b9e(0x201)])))[_0x4f5b9e(0x16d)]((_0x15e69c,_0x1bdef2)=>_0x262205[_0x4f5b9e(0x182)](_0x15e69c[_0x4f5b9e(0x201)])-_0x262205[_0x4f5b9e(0x182)](_0x1bdef2[_0x4f5b9e(0x201)])),_0x38849f;}[_0x51d9fa(0x1bc)](_0x4b4069){const _0x438c6b=_0x51d9fa,_0x41a351=Array[_0x438c6b(0x1d3)](_0x4b4069[_0x438c6b(0x175)])[_0x438c6b(0x193)](([_0x3932e5,_0x78992e])=>_0x3932e5[_0x438c6b(0x192)](_0x438c6b(0x1c1))&&!_0x78992e[_0x438c6b(0xf5)]),_0x202d79=Array[_0x438c6b(0x1d3)](this[_0x438c6b(0xe8)][_0x438c6b(0xe3)][_0x438c6b(0x116)](_0x4b4069)[_0x438c6b(0x1fb)]({'singleCharacters':!0x0}));if(0x0!=_0x41a351[_0x438c6b(0x1a3)])for(const _0x4d2d0a of _0x202d79){const [_0x835286,_0xb8071d]=_0x41a351[0x0],[,_0x2cf985,_0x3954ba]=_0x835286[_0x438c6b(0x142)](':');if(_0xb8071d[_0x438c6b(0x1bd)][_0x438c6b(0x1f7)](_0x4d2d0a[_0x438c6b(0x132)])&&_0x41a351[_0x438c6b(0x14e)](),(_0x4d2d0a[_0x438c6b(0x12d)][_0x438c6b(0x1f7)](_0xb8071d[_0x438c6b(0x1b7)])||_0x4d2d0a[_0x438c6b(0x12d)][_0x438c6b(0x1ae)](_0xb8071d[_0x438c6b(0x1b7)]))&&(_0x438c6b(0xe0)==_0x2cf985?_0x4d2d0a[_0x438c6b(0xc7)]={'userId':_0x3954ba}:_0x438c6b(0x1da)==_0x2cf985&&(_0x4d2d0a[_0x438c6b(0x137)]={'userId':_0x3954ba})),0x0==_0x41a351[_0x438c6b(0x1a3)])break;}return _0x202d79;}[_0x51d9fa(0x11b)](_0x325dd1){const _0x174de6=_0x51d9fa,_0x52a323=new Map();for(let _0x14f95a=0x0;_0x14f95a<_0x325dd1[_0x174de6(0x1a3)];_0x14f95a++)_0x174de6(0xd2)===_0x325dd1[_0x14f95a][_0x174de6(0x127)]?(_0x325dd1[_0x14f95a][_0x174de6(0x183)][_0x174de6(0x13d)]=_0x14f95a,_0x325dd1[_0x14f95a][_0x174de6(0x183)][_0x174de6(0xdb)]=_0x14f95a):(_0x174de6(0x122)===_0x325dd1[_0x14f95a][_0x174de6(0x127)]?_0x325dd1[_0x14f95a][_0x174de6(0x183)][_0x174de6(0x13d)]=_0x14f95a:_0x174de6(0xfc)===_0x325dd1[_0x14f95a][_0x174de6(0x127)]&&(_0x325dd1[_0x14f95a][_0x174de6(0x183)][_0x174de6(0xdb)]=_0x14f95a),_0x52a323[_0x174de6(0x14a)](_0x325dd1[_0x14f95a]['id'],_0x14f95a));for(const _0x317ad5 of _0x52a323[_0x174de6(0x1b8)]())_0x174de6(0x122)===_0x325dd1[_0x317ad5][_0x174de6(0x127)]?_0x325dd1[_0x317ad5][_0x174de6(0x183)][_0x174de6(0xdb)]=_0x52a323[_0x174de6(0x199)](_0x325dd1[_0x317ad5][_0x174de6(0x140)]):_0x174de6(0xfc)===_0x325dd1[_0x317ad5][_0x174de6(0x127)]&&(_0x325dd1[_0x317ad5][_0x174de6(0x183)][_0x174de6(0x13d)]=_0x52a323[_0x174de6(0x199)](_0x325dd1[_0x317ad5][_0x174de6(0x140)]));}[_0x51d9fa(0x114)](_0x1aa469){const _0x4f631e=_0x51d9fa;for(let _0xff29b0=0x0;_0xff29b0<_0x1aa469[_0x4f631e(0x1a3)];_0xff29b0++){if(_0x4f631e(0x122)===_0x1aa469[_0xff29b0][_0x4f631e(0x127)])_0x1aa469[_0xff29b0][_0x4f631e(0x183)][_0x4f631e(0x13d)]=_0xff29b0;else{if(_0x4f631e(0xfc)===_0x1aa469[_0xff29b0][_0x4f631e(0x127)]){_0x1aa469[_0xff29b0][_0x4f631e(0x183)][_0x4f631e(0xdb)]=_0xff29b0;const _0xd247b5=_0x1aa469[_0xff29b0][_0x4f631e(0x183)][_0x4f631e(0x13d)];_0x1aa469[_0xd247b5][_0x4f631e(0x140)]=_0x1aa469[_0xff29b0]['id'],_0x1aa469[_0xff29b0][_0x4f631e(0x140)]=_0x1aa469[_0xd247b5]['id'];}else _0x1aa469[_0xff29b0][_0x4f631e(0x183)][_0x4f631e(0x13d)]=_0xff29b0,_0x1aa469[_0xff29b0][_0x4f631e(0x183)][_0x4f631e(0xdb)]=_0xff29b0,_0x1aa469[_0xff29b0][_0x4f631e(0x140)]=null;}_0x1aa469[_0xff29b0][_0x4f631e(0xfb)]||(_0x1aa469[_0xff29b0][_0x4f631e(0xfb)]=[],_0x1aa469[_0xff29b0][_0x4f631e(0x124)]=[]);}}[_0x51d9fa(0x1a8)](_0x32973e,_0x1a8e11){const _0x51f933=_0x51d9fa,_0x1f9f19=_0x32973e[_0x51f933(0x193)](_0x3eb829=>!_0x3eb829[_0x51f933(0xc7)]);for(let _0x57d2da=0x0;_0x57d2da<_0x1a8e11[_0x51f933(0x1a3)];_0x57d2da++)_0x1a8e11[_0x57d2da][_0x51f933(0xc7)]&&(_0x1f9f19[_0x57d2da][_0x51f933(0xc7)]=_0x1a8e11[_0x57d2da][_0x51f933(0xc7)]);}[_0x51d9fa(0x151)](_0xde955c){const _0x47bc20=_0x51d9fa,_0x57a33f=JSON[_0x47bc20(0x19d)](_0xde955c),_0x52c670=this[_0x47bc20(0xe8)][_0x47bc20(0xb5)][_0x47bc20(0xba)][_0x47bc20(0x148)],_0x1f5ee1=new _0x10f6ad(_0x52c670,_0x57a33f[_0x47bc20(0x185)](_0x944b7d=>this[_0x47bc20(0xca)](_0x944b7d)));return this[_0x47bc20(0xe8)][_0x47bc20(0x1c5)][_0x47bc20(0x11c)](_0x1f5ee1);}[_0x51d9fa(0xca)](_0x452b35){const _0x30d2a4=_0x51d9fa,_0x17f85f=this[_0x30d2a4(0xe8)][_0x30d2a4(0xb5)][_0x30d2a4(0xba)][_0x30d2a4(0x148)];if(_0x30d2a4(0x1f9)==typeof _0x452b35)return new _0x6f246e(_0x17f85f,_0x452b35);{const _0x3a6e69=_0x452b35[_0x30d2a4(0x1c0)][_0x30d2a4(0x185)](_0x468882=>this[_0x30d2a4(0xca)](_0x468882));return new(tt[_0x452b35[(_0x30d2a4(0x127))]]||_0x3501b3)(_0x17f85f,_0x452b35[_0x30d2a4(0x198)],_0x452b35[_0x30d2a4(0x1be)],_0x3a6e69);}}[_0x51d9fa(0x1c3)](_0x330f89,_0x4030ba=null){const _0x1b00f7=_0x51d9fa,_0x31ed03=this[_0x1b00f7(0xcb)][_0x1b00f7(0x115)](_0x330f89),_0x5371d6=_0x4030ba?this[_0x1b00f7(0xcb)][_0x1b00f7(0x115)](_0x4030ba):null,_0x542540=this[_0x1b00f7(0x162)](_0x31ed03,_0x5371d6),_0x3c54be=_0x542540[_0x542540[_0x1b00f7(0x1a3)]-0x1],_0x199ec8=new Map(),_0x191f30={'model':{},'attributes':{},'changes':[]},_0x2bfa58=new Set(),_0x2b2843=new Map();for(let _0x27ef46=_0x542540[_0x1b00f7(0x1a3)]-0x1;_0x27ef46>=0x0;_0x27ef46--){const _0x27706a=_0x542540[_0x27ef46];for(const _0x531c0d of Object[_0x1b00f7(0x16b)](_0x27706a[_0x1b00f7(0x1ad)]))if(_0x27706a[_0x1b00f7(0x1ad)][_0x531c0d][_0x1b00f7(0x1d9)]){const _0x241053=_0x27706a[_0x1b00f7(0x1ad)][_0x531c0d][_0x1b00f7(0x1d9)];_0x241053[_0x1b00f7(0xcc)]?(_0x2bfa58[_0x1b00f7(0x14f)](_0x531c0d),_0x2b2843[_0x1b00f7(0x1db)](_0x531c0d)&&_0x2b2843[_0x1b00f7(0x199)](_0x531c0d)[_0x1b00f7(0x145)]==_0x241053[_0x1b00f7(0x145)]?_0x2b2843[_0x1b00f7(0xbb)](_0x531c0d):_0x2b2843[_0x1b00f7(0x14a)](_0x531c0d,_0x241053)):_0x2b2843[_0x1b00f7(0x1db)](_0x531c0d)?(_0x2bfa58[_0x1b00f7(0xbb)](_0x531c0d),_0x2b2843[_0x1b00f7(0xbb)](_0x531c0d)):(_0x2bfa58[_0x1b00f7(0x14f)](_0x531c0d),_0x2b2843[_0x1b00f7(0x14a)](_0x531c0d,_0x241053));}else _0x2bfa58[_0x1b00f7(0x14f)](_0x531c0d);}for(const _0x343993 of _0x2bfa58){const _0xfa44cd=_0x2b2843[_0x1b00f7(0x1db)](_0x343993)&&!_0x2b2843[_0x1b00f7(0x199)](_0x343993)[_0x1b00f7(0xcc)];let _0x4d51ba=_0xfa44cd?_0x542540[_0x1b00f7(0x1a3)]-0x1:0x0;const _0x54ef76=_0xfa44cd?-0x1:0x1;for(;_0x542540[_0x4d51ba];){const _0x141d7f=_0x542540[_0x4d51ba];if(_0x141d7f[_0x1b00f7(0x1ad)][_0x343993]){const _0x53a45c=_0xfa44cd?_0x141d7f[_0x1b00f7(0x1ad)][_0x343993][_0x1b00f7(0x1bf)]:_0x141d7f[_0x1b00f7(0x1ad)][_0x343993][_0x1b00f7(0xe7)];_0x191f30[_0x1b00f7(0x1be)][_0x343993]=_0x53a45c?_0x31a084(_0x53a45c):{};break;}_0x4d51ba+=_0x54ef76;}}for(const _0x32f463 of _0x542540){_0x32f463[_0x1b00f7(0xe3)]={};for(const _0x16b956 of _0x32f463[_0x1b00f7(0x1d0)])_0x199ec8[_0x1b00f7(0x14a)](_0x16b956['id'],_0x16b956);for(const _0x2743e2 of _0x2bfa58){const _0x277f2a=_0x32f463[_0x1b00f7(0x1ad)][_0x2743e2]?_0x32f463[_0x1b00f7(0x1ad)][_0x2743e2][_0x1b00f7(0xe5)]:'[]',_0x1f4adf=_0x32f463[_0x1b00f7(0x1ad)][_0x2743e2]?_0x32f463[_0x1b00f7(0x1ad)][_0x2743e2][_0x1b00f7(0x1ce)]:'[]';_0x32f463[_0x1b00f7(0xe3)][_0x2743e2]={'insertions':this[_0x1b00f7(0x151)](_0x277f2a),'deletions':this[_0x1b00f7(0x151)](_0x1f4adf)};}}for(const _0x1dfc45 of _0x2bfa58){let _0x4f36ef=null,_0x116798=0x0;const _0x5a1e02=new Map(Array[_0x1b00f7(0x1d3)](_0x31ed03[_0x1b00f7(0xe3)][_0x1dfc45][_0x1b00f7(0xe5)][_0x1b00f7(0x175)])[_0x1b00f7(0x193)](([_0x42cefa])=>!_0x42cefa[_0x1b00f7(0x192)](_0x1b00f7(0x1c1))));let _0x136c57=0x0;for(const _0x783463 of _0x542540){const _0x4daacf=this[_0x1b00f7(0x1bc)](_0x783463[_0x1b00f7(0xe3)][_0x1dfc45][_0x1b00f7(0xe5)]);_0x783463==_0x31ed03?(_0x4f36ef=_0x4daacf,_0x116798=_0x4f36ef[_0x1b00f7(0x1a3)],_0x4f36ef[_0x1b00f7(0x187)](_0x2d4458=>{_0x2d4458['id']=_0x136c57++;}),this[_0x1b00f7(0x114)](_0x4f36ef)):this[_0x1b00f7(0x1a8)](_0x4f36ef,_0x4daacf);const _0x41a5f5=_0x4f36ef[_0x1b00f7(0x193)](_0x27240f=>!_0x27240f[_0x1b00f7(0xc7)])[_0x1b00f7(0x185)](_0x200eac=>_0x200eac['id']);let _0x1fa269=0x0;const _0x447bef=this[_0x1b00f7(0x1bc)](_0x783463[_0x1b00f7(0xe3)][_0x1dfc45][_0x1b00f7(0x1ce)]);_0x447bef[_0x1b00f7(0x187)](_0x286da4=>{const _0x5a827f=_0x1b00f7;_0x286da4[_0x5a827f(0x137)]?_0x286da4['id']=_0x116798++:_0x286da4['id']=_0x41a5f5[_0x1fa269++];}),this[_0x1b00f7(0x114)](_0x447bef),this[_0x1b00f7(0x1ea)](_0x4f36ef,_0x1b00f7(0xc7)),this[_0x1b00f7(0x1ea)](_0x447bef,_0x1b00f7(0x137)),_0x783463==_0x31ed03&&this[_0x1b00f7(0x103)](_0x4f36ef,_0x5a1e02),_0x4f36ef=this[_0x1b00f7(0x18a)](_0x4f36ef,_0x447bef),this[_0x1b00f7(0x11b)](_0x4f36ef),this[_0x1b00f7(0x1ea)](_0x4f36ef,_0x1b00f7(0x137));}_0x4f36ef=_0x4f36ef[_0x1b00f7(0x193)](_0x12d5ae=>!(_0x12d5ae[_0x1b00f7(0xc7)]&&_0x12d5ae[_0x1b00f7(0x137)]));const _0x38d789=new Map(_0x3c54be[_0x1b00f7(0xe3)][_0x1dfc45][_0x1b00f7(0x1ce)][_0x1b00f7(0x175)]),_0x55d9de=new Set(_0x5a1e02[_0x1b00f7(0x16b)]());for(const _0xdd84b3 of _0x38d789[_0x1b00f7(0x16b)]())_0x55d9de[_0x1b00f7(0xbb)](_0xdd84b3);this[_0x1b00f7(0x14b)](_0x4f36ef,_0x55d9de),this[_0x1b00f7(0x160)](_0x4f36ef),_0x4f36ef=this[_0x1b00f7(0x16e)](_0x4f36ef),_0x4f36ef=this[_0x1b00f7(0x1a7)](_0x4f36ef),_0x4f36ef=this[_0x1b00f7(0x1cb)](_0x4f36ef);const {root:_0x5637b0,changes:_0x5cf1c0}=this[_0x1b00f7(0x17d)](_0x4f36ef,_0x199ec8,_0x1dfc45);_0x191f30[_0x1b00f7(0xe3)][_0x1dfc45]=_0x5637b0;const _0x57f6d7=_0x2b2843[_0x1b00f7(0x199)](_0x1dfc45);if(_0x57f6d7){const _0x1103d1=_0x199ec8[_0x1b00f7(0x199)](_0x57f6d7[_0x1b00f7(0x145)]),_0x187429=new _0x596fff({'author':_0x1103d1,'type':_0x57f6d7[_0x1b00f7(0xcc)]?_0x1b00f7(0x14f):_0x1b00f7(0x1c9),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1dfc45});_0x5cf1c0[_0x1b00f7(0xfd)](_0x187429),_0x191f30[_0x1b00f7(0x1be)][_0x1dfc45][_0x1b00f7(0x136)]=_0x187429['id'];}_0x191f30[_0x1b00f7(0x1d2)]=_0x191f30[_0x1b00f7(0x1d2)][_0x1b00f7(0x15a)](_0x5cf1c0);}return _0x191f30;}[_0x51d9fa(0x103)](_0x45dca2,_0x18e27f){const _0xa08ac3=_0x51d9fa;for(let _0x426368=0x0;_0x426368<_0x45dca2[_0xa08ac3(0x1a3)];_0x426368++)for(const [_0x3c7440,_0x365b14]of _0x18e27f)_0x365b14[_0xa08ac3(0x1b7)][_0xa08ac3(0x1f7)](_0x45dca2[_0x426368][_0xa08ac3(0x12d)])&&_0x45dca2[_0x426368][_0xa08ac3(0xfb)][_0xa08ac3(0xf6)](_0x3c7440),_0x365b14[_0xa08ac3(0x1bd)][_0xa08ac3(0x1f7)](_0x45dca2[_0x426368][_0xa08ac3(0x132)])&&_0x45dca2[_0x426368][_0xa08ac3(0x124)][_0xa08ac3(0xf6)](_0x3c7440);}[_0x51d9fa(0x18a)](_0x572bb4,_0x22e147){const _0x4fe623=_0x51d9fa;let _0x26fe46=[],_0xcf7772=0x0,_0x42e110=0x0;for(;_0xcf7772<_0x572bb4[_0x4fe623(0x1a3)]||_0x42e110<_0x22e147[_0x4fe623(0x1a3)];){const _0x36ca78=_0x572bb4[_0xcf7772]||{},_0x14e7b7=_0x22e147[_0x42e110]||{};if(_0x36ca78['id']==_0x14e7b7['id'])_0xcf7772++,_0x42e110++,_0x26fe46[_0x4fe623(0xf6)](_0x36ca78);else{if(_0x14e7b7[_0x4fe623(0x137)]&&_0x36ca78[_0x4fe623(0xc7)]){const {commonTape:_0x1d7012,iEnd:_0xdf8282,jEnd:_0x5a08c7}=this[_0x4fe623(0xbe)](_0x572bb4,_0xcf7772,_0x22e147,_0x42e110);_0x26fe46=_0x26fe46[_0x4fe623(0x15a)](_0x1d7012),_0xcf7772=_0xdf8282,_0x42e110=_0x5a08c7;}else _0x14e7b7[_0x4fe623(0x137)]?(_0x42e110++,_0x26fe46[_0x4fe623(0xf6)](_0x14e7b7)):(_0xcf7772++,_0x26fe46[_0x4fe623(0xf6)](_0x36ca78));}}return _0x26fe46;}[_0x51d9fa(0x14b)](_0x589555,_0x13e085){const _0x1585e6=_0x51d9fa,_0x50a22c=[];for(let _0x14e06c=0x0;_0x14e06c<_0x589555[_0x1585e6(0x1a3)];_0x14e06c++){for(let _0x5cb4ed=0x0;_0x5cb4ed<_0x589555[_0x14e06c][_0x1585e6(0xfb)][_0x1585e6(0x1a3)];_0x5cb4ed++){const _0xf72fb=_0x589555[_0x14e06c][_0x1585e6(0xfb)][_0x5cb4ed];if(!_0x13e085[_0x1585e6(0x1db)](_0xf72fb))continue;const {group:_0x5526bf,type:_0x55cc4e,authorId:_0x39e748}=_0x3af91e(_0xf72fb);_0x1585e6(0xcf)!=_0x5526bf||_0x1585e6(0xe0)!=_0x55cc4e&&_0x1585e6(0x1da)!=_0x55cc4e||(_0x50a22c[_0x1585e6(0xfd)]({'type':_0x55cc4e,'name':_0xf72fb,'userId':_0x39e748}),_0x589555[_0x14e06c][_0x1585e6(0xfb)][_0x1585e6(0x153)](_0x5cb4ed,0x1),_0x5cb4ed--);}_0x426a33(_0x589555[_0x14e06c]);for(let _0x1a6203=0x0;_0x1a6203<_0x589555[_0x14e06c][_0x1585e6(0x124)][_0x1585e6(0x1a3)];_0x1a6203++){const _0x590df0=_0x589555[_0x14e06c][_0x1585e6(0x124)][_0x1a6203];if(!_0x13e085[_0x1585e6(0x1db)](_0x590df0))continue;const {group:_0xc7ecf7,type:_0xe356d8}=_0x3af91e(_0x590df0);if(_0x1585e6(0xcf)!=_0xc7ecf7||_0x1585e6(0xe0)!=_0xe356d8&&_0x1585e6(0x1da)!=_0xe356d8)continue;_0x589555[_0x14e06c][_0x1585e6(0x124)][_0x1585e6(0x153)](_0x1a6203,0x1),_0x1a6203--;const _0x19e6b0=_0x50a22c[_0x1585e6(0x11a)](_0x4af4cf=>_0x4af4cf[_0x1585e6(0x198)]==_0x590df0);_0x19e6b0>-0x1&&_0x50a22c[_0x1585e6(0x153)](_0x19e6b0,0x1);}}function _0x3af91e(_0x94df87){const _0x4c2f8d=_0x1585e6,_0x518af5=_0x94df87[_0x4c2f8d(0x142)](':');return{'group':_0x518af5[0x0],'type':_0x518af5[0x1],'subType':_0x518af5[_0x4c2f8d(0x1a3)]>=0x5?_0x518af5[0x2]:null,'id':_0x518af5[_0x4c2f8d(0x1a3)]<0x5?_0x518af5[0x2]:_0x518af5[0x3],'authorId':_0x518af5[_0x4c2f8d(0x1a3)]<0x5?_0x518af5[0x3]:_0x518af5[0x4],'markerCount':0x6==_0x518af5[_0x4c2f8d(0x1a3)]?_0x518af5[0x5]:null};}function _0x426a33(_0xfd4248){const _0x56fe45=_0x1585e6;for(let _0x3af085=0x0;_0x3af085<_0x50a22c[_0x56fe45(0x1a3)];_0x3af085++){if(_0xfd4248[_0x56fe45(0xc7)]&&_0x56fe45(0xe0)==_0x50a22c[_0x3af085][_0x56fe45(0x127)])return _0xfd4248[_0x56fe45(0x186)]=_0x50a22c[_0x3af085],void delete _0xfd4248[_0x56fe45(0xc7)];if(!_0xfd4248[_0x56fe45(0xc7)]&&!_0xfd4248[_0x56fe45(0x137)]&&_0x56fe45(0x1da)==_0x50a22c[_0x3af085][_0x56fe45(0x127)])return void(_0xfd4248[_0x56fe45(0x197)]=_0x50a22c[_0x3af085]);}}}[_0x51d9fa(0x1ea)](_0x49a641,_0xf3c41a){const _0x650af7=_0x51d9fa;let _0x4eaa09=0x0,_0x54f8bb=!0x1;const _0x2f7393=new Map();for(const _0x1000dd of _0x49a641)_0x1000dd[_0xf3c41a]?_0x54f8bb&&(_0x4eaa09++,_0x54f8bb=!0x1):(_0x4eaa09++,_0x54f8bb=!0x0),_0x2f7393[_0x650af7(0x14a)](_0x1000dd['id'],_0x4eaa09);for(let _0x52238a=0x0;_0x52238a<_0x49a641[_0x650af7(0x1a3)];_0x52238a++){if(_0x650af7(0x137)==_0xf3c41a&&_0x49a641[_0x52238a][_0x650af7(0xc7)]||_0x650af7(0xc7)==_0xf3c41a&&_0x49a641[_0x52238a][_0x650af7(0x137)])continue;if(_0x650af7(0xd2)==_0x49a641[_0x52238a][_0x650af7(0x127)]){_0x49a641[_0x52238a][_0x650af7(0x13e)]=0x0;continue;}const _0x3ec744=_0x2f7393[_0x650af7(0x199)](_0x49a641[_0x52238a][_0x650af7(0x140)]),_0x1e2a8e=_0x2f7393[_0x650af7(0x199)](_0x49a641[_0x52238a]['id']);_0x49a641[_0x52238a][_0x650af7(0x13e)]=_0x3ec744-_0x1e2a8e;}}[_0x51d9fa(0x162)](_0x45f0dd,_0x1ed844,_0x2039ec=!0x1){const _0x1f1338=_0x51d9fa,_0x8ae889=[];let _0x170a57=this[_0x1f1338(0xcb)][_0x1f1338(0x164)](_0x45f0dd),_0x414697=this[_0x1f1338(0xcb)][_0x1f1338(0x164)](_0x1ed844);for(-0x1==_0x414697&&(_0x414697=this[_0x1f1338(0xcb)][_0x1f1338(0x191)][_0x1f1338(0x1a3)],_0x2039ec=!0x1);_0x170a57<_0x414697;)_0x8ae889[_0x1f1338(0xf6)](this[_0x1f1338(0xcb)][_0x1f1338(0x115)](_0x170a57)),_0x170a57++;return _0x2039ec&&_0x8ae889[_0x1f1338(0xf6)](this[_0x1f1338(0xcb)][_0x1f1338(0x115)](_0x170a57)),_0x8ae889;}[_0x51d9fa(0xbe)](_0x239adb,_0x45a809,_0x127b13,_0xd37eda){const _0x23bc54=_0x51d9fa,_0x4006db=this[_0x23bc54(0xe8)][_0x23bc54(0xe3)][_0x23bc54(0x1a5)];let _0x5bf358=_0x45a809;for(;_0x239adb[_0x5bf358]&&_0x239adb[_0x5bf358][_0x23bc54(0xc7)];)_0x5bf358++;let _0x32627d=_0xd37eda;for(;_0x127b13[_0x32627d]&&_0x127b13[_0x32627d][_0x23bc54(0x137)];)_0x32627d++;_0x412c71(_0x239adb,_0x45a809,_0x5bf358),_0x412c71(_0x127b13,_0xd37eda,_0x32627d);const _0x1b5970=_0x127b13[_0x23bc54(0x1ed)](_0xd37eda,_0x32627d)[_0x23bc54(0x15a)](_0x239adb[_0x23bc54(0x1ed)](_0x45a809,_0x5bf358));return _0x1b5970[_0x23bc54(0x16d)]((_0xb3a619,_0x10a7e7)=>_0xb3a619[_0x23bc54(0x1d6)]!=_0x10a7e7[_0x23bc54(0x1d6)]?_0xb3a619[_0x23bc54(0x1d6)]-_0x10a7e7[_0x23bc54(0x1d6)]:_0xb3a619[_0x23bc54(0x1de)]!=_0x10a7e7[_0x23bc54(0x1de)]?_0xb3a619[_0x23bc54(0x1de)]-_0x10a7e7[_0x23bc54(0x1de)]:_0xb3a619[_0x23bc54(0x13e)]!=_0x10a7e7[_0x23bc54(0x13e)]?_0x10a7e7[_0x23bc54(0x13e)]-_0xb3a619[_0x23bc54(0x13e)]:!!_0xb3a619[_0x23bc54(0xc7)]!=!!_0x10a7e7[_0x23bc54(0xc7)]?-0x1==_0xb3a619[_0x23bc54(0x1d6)]||0x0==_0xb3a619[_0x23bc54(0x1d6)]?_0xb3a619[_0x23bc54(0xc7)]?-0x1:0x1:_0xb3a619[_0x23bc54(0xc7)]?0x1:-0x1:_0xb3a619[_0x23bc54(0x1d5)]-_0x10a7e7[_0x23bc54(0x1d5)]),{'commonTape':_0x1b5970,'iEnd':_0x5bf358,'jEnd':_0x32627d};function _0x412c71(_0x2c1e88,_0x586fb0,_0x86c2f3){const _0x295907=_0x23bc54;let _0xff7d39=-0x1,_0x4865af=Number[_0x295907(0x10d)],_0x36cdf6=!0x0;for(let _0x2b2764=_0x586fb0;_0x2b2764<_0x86c2f3;_0x2b2764++)if(_0x4006db[_0x295907(0x135)](_0x2c1e88[_0x2b2764][_0x295907(0x183)])||(_0x36cdf6=!0x1),_0x2c1e88[_0x2b2764][_0x295907(0x183)][_0x295907(0x13d)]<_0x586fb0&&(_0xff7d39=_0x2b2764),_0x2c1e88[_0x2b2764][_0x295907(0x183)][_0x295907(0xdb)]>=_0x86c2f3){_0x4865af=_0x2b2764;break;}_0x36cdf6&&(_0xff7d39=_0x86c2f3-0x1);for(let _0x328aeb=_0x586fb0;_0x328aeb<_0x86c2f3;_0x328aeb++)_0x2c1e88[_0x328aeb][_0x295907(0x1d6)]=_0x328aeb<=_0xff7d39?-0x1:_0x328aeb<_0x4865af?0x0:0x1,_0x2c1e88[_0x328aeb][_0x295907(0x1d5)]=_0x328aeb;let _0x5032e7=0x0;for(let _0x3de05b=_0x586fb0;_0x3de05b<=_0xff7d39;_0x3de05b++)0x0==_0x2c1e88[_0x3de05b][_0x295907(0x13e)]?_0x2c1e88[_0x3de05b][_0x295907(0x1de)]=_0x5032e7:(_0x5032e7++,_0x2c1e88[_0x3de05b][_0x295907(0x1de)]=_0x5032e7,_0x5032e7++);for(let _0x17c091=_0x586fb0;_0x17c091<_0x86c2f3;_0x17c091++)0x0==_0x2c1e88[_0x17c091][_0x295907(0x1d6)]&&(_0x2c1e88[_0x17c091][_0x295907(0x1de)]=_0x5032e7);_0x5032e7=0x0;for(let _0xd2926d=_0x86c2f3-0x1;_0xd2926d>=_0x4865af;_0xd2926d--)0x0==_0x2c1e88[_0xd2926d][_0x295907(0x13e)]?_0x2c1e88[_0xd2926d][_0x295907(0x1de)]=_0x5032e7:(_0x5032e7--,_0x2c1e88[_0xd2926d][_0x295907(0x1de)]=_0x5032e7,_0x5032e7--);}}[_0x51d9fa(0x160)](_0x4bfbc6){const _0x161eae=_0x51d9fa,_0x28c583=new Map(),_0x35d90c=this[_0x161eae(0xe8)][_0x161eae(0xe3)][_0x161eae(0x1a5)];for(let _0x50b0b1=0x1;_0x50b0b1<_0x4bfbc6[_0x161eae(0x1a3)];_0x50b0b1++){let _0x57ab20,_0x3fb1b0,_0x5e79a2;const _0x412d9b=_0x4bfbc6[_0x50b0b1],_0x5c6c9f=_0x4bfbc6[_0x50b0b1-0x1];if(_0x161eae(0xd2)==_0x412d9b[_0x161eae(0x127)])continue;if(_0x412d9b[_0x161eae(0x127)]!=_0x5c6c9f[_0x161eae(0x127)])continue;if(!_0x35d90c[_0x161eae(0x172)](_0x5c6c9f[_0x161eae(0x183)])||_0x35d90c[_0x161eae(0xdc)](_0x5c6c9f[_0x161eae(0x183)]))continue;if(!_0x35d90c[_0x161eae(0x172)](_0x412d9b[_0x161eae(0x183)])||_0x35d90c[_0x161eae(0xdc)](_0x412d9b[_0x161eae(0x183)]))continue;if((_0x4bfbc6[_0x50b0b1][_0x161eae(0xc7)]||_0x4bfbc6[_0x50b0b1][_0x161eae(0x186)])&&_0x4bfbc6[_0x50b0b1-0x1][_0x161eae(0x137)])_0x57ab20=_0x4bfbc6[_0x50b0b1],_0x3fb1b0=_0x4bfbc6[_0x50b0b1-0x1],_0x5e79a2=_0x50b0b1-0x1;else{if(!_0x4bfbc6[_0x50b0b1][_0x161eae(0x137)]||!_0x4bfbc6[_0x50b0b1-0x1][_0x161eae(0xc7)]&&!_0x4bfbc6[_0x50b0b1-0x1][_0x161eae(0x186)])continue;_0x57ab20=_0x4bfbc6[_0x50b0b1-0x1],_0x3fb1b0=_0x4bfbc6[_0x50b0b1],_0x5e79a2=_0x50b0b1;}const _0x429a0c=_0x57ab20[_0x161eae(0x1de)]==_0x3fb1b0[_0x161eae(0x1de)],_0x9c159e=Math[_0x161eae(0x1e7)](_0x57ab20[_0x161eae(0x1de)])<Math[_0x161eae(0x1e7)](_0x3fb1b0[_0x161eae(0x1de)])&&0x0==_0x3fb1b0[_0x161eae(0x13e)];(_0x429a0c||_0x9c159e)&&(_0x28c583[_0x161eae(0x14a)](_0x3fb1b0['id'],_0x57ab20['id']),_0x4bfbc6[_0x161eae(0x153)](_0x5e79a2,0x1),_0x50b0b1--,_0x57ab20[_0x161eae(0xc7)]=!0x1);}for(let _0x6e477d=0x0;_0x6e477d<_0x4bfbc6[_0x161eae(0x1a3)];_0x6e477d++)_0x28c583[_0x161eae(0x1db)](_0x4bfbc6[_0x6e477d][_0x161eae(0x140)])&&(_0x4bfbc6[_0x6e477d][_0x161eae(0x140)]=_0x28c583[_0x161eae(0x199)](_0x4bfbc6[_0x6e477d][_0x161eae(0x140)]));}[_0x51d9fa(0x16e)](_0x5dd1f9){const _0x58c714=_0x51d9fa,_0x561ca8=new Set(_0x5dd1f9[_0x58c714(0x185)](_0x24f51c=>_0x24f51c['id']));for(let _0x3f73dc=0x0;_0x3f73dc<_0x5dd1f9[_0x58c714(0x1a3)];_0x3f73dc++)_0x561ca8[_0x58c714(0x1db)](_0x5dd1f9[_0x3f73dc][_0x58c714(0x140)])||0x0==_0x5dd1f9[_0x3f73dc][_0x58c714(0x13e)]||(_0x5dd1f9[_0x3f73dc][_0x58c714(0x131)]=!0x0);return _0x5dd1f9[_0x58c714(0x193)](_0x1ddc17=>!_0x1ddc17[_0x58c714(0x131)]);}[_0x51d9fa(0x1a7)](_0x58da52){const _0x24ca6f=_0x51d9fa,_0x360ca9=new Set();for(let _0x305256=0x0;_0x305256<_0x58da52[_0x24ca6f(0x1a3)];_0x305256++){if(_0x360ca9[_0x24ca6f(0x1db)](_0x58da52[_0x305256]['id'])&&_0x58da52[_0x305256][_0x24ca6f(0x137)]&&(_0x58da52[_0x305256][_0x24ca6f(0x131)]=!0x0),_0x58da52[_0x305256][_0x24ca6f(0x131)])continue;if(0x0==_0x58da52[_0x305256][_0x24ca6f(0x13e)])continue;if(_0x24ca6f(0x122)!=_0x58da52[_0x305256][_0x24ca6f(0x127)])continue;if(null==_0x58da52[_0x305256][_0x24ca6f(0x140)])continue;let _0x3f8e5d=_0x305256+0x1,_0x13377b=0x0;for(;_0x58da52[_0x3f8e5d]['id']!=_0x58da52[_0x305256][_0x24ca6f(0x140)];)_0x24ca6f(0x122)==_0x58da52[_0x3f8e5d][_0x24ca6f(0x127)]?_0x13377b++:_0x24ca6f(0xfc)==_0x58da52[_0x3f8e5d][_0x24ca6f(0x127)]&&_0x13377b--,_0x3f8e5d++;if(0x0!=_0x13377b){if(_0x58da52[_0x305256][_0x24ca6f(0x137)])_0x58da52[_0x305256][_0x24ca6f(0x131)]=!0x0;else{for(;_0x3f8e5d!=_0x305256;)_0x58da52[_0x3f8e5d][_0x24ca6f(0x137)]&&0x0!=_0x58da52[_0x3f8e5d][_0x24ca6f(0x13e)]&&(_0x58da52[_0x3f8e5d][_0x24ca6f(0x131)]=!0x0,_0x360ca9[_0x24ca6f(0x14f)](_0x58da52[_0x3f8e5d][_0x24ca6f(0x140)])),_0x3f8e5d--;}}}return _0x58da52[_0x24ca6f(0x193)](_0x1f5502=>!_0x1f5502[_0x24ca6f(0x131)]);}[_0x51d9fa(0x1cb)](_0x56766e){const _0x37afad=_0x51d9fa,_0x4d5606=this[_0x37afad(0xe8)][_0x37afad(0xe3)][_0x37afad(0x1a5)];for(let _0x3b8b9e=0x0;_0x3b8b9e<_0x56766e[_0x37afad(0x1a3)];_0x3b8b9e++){if(!(_0x56766e[_0x3b8b9e][_0x37afad(0xc7)]||_0x56766e[_0x3b8b9e][_0x37afad(0x186)]||_0x56766e[_0x3b8b9e][_0x37afad(0x137)]||_0x56766e[_0x3b8b9e][_0x37afad(0x197)]))continue;if(0x0==_0x56766e[_0x3b8b9e][_0x37afad(0x13e)])continue;const _0x124b0d=_0x56766e[_0x3b8b9e][_0x37afad(0x183)];_0x4d5606[_0x37afad(0x172)](_0x124b0d)||_0x4d5606[_0x37afad(0xdc)](_0x124b0d)||(_0x56766e[_0x3b8b9e][_0x37afad(0xc7)]&&delete _0x56766e[_0x3b8b9e][_0x37afad(0xc7)],_0x56766e[_0x3b8b9e][_0x37afad(0x186)]&&delete _0x56766e[_0x3b8b9e][_0x37afad(0x186)],_0x56766e[_0x3b8b9e][_0x37afad(0x197)]&&delete _0x56766e[_0x3b8b9e][_0x37afad(0x197)],_0x56766e[_0x3b8b9e][_0x37afad(0x137)]&&(_0x56766e[_0x3b8b9e][_0x37afad(0x131)]=!0x0));}return _0x56766e[_0x37afad(0x193)](_0x4b35dd=>!_0x4b35dd[_0x37afad(0x131)]);}[_0x51d9fa(0x17d)](_0x933b6d,_0x52bdf5,_0x201ab3){const _0x1f24b0=_0x51d9fa,_0x4ab7b3=new _0x33b584(),_0x2c498c=[],_0x42e7da=new Map(),_0x37c26b=this[_0x1f24b0(0xe8)][_0x1f24b0(0xe3)],_0x43a472=_0x37c26b[_0x1f24b0(0x1a5)],_0x26728d=[_0x4ab7b3],_0x2ffaf1={},_0x19806a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5cfb57=null;const _0x4c3cba=[0x0];for(let _0x279bf0=0x0;_0x279bf0<_0x933b6d[_0x1f24b0(0x1a3)];_0x279bf0++){let _0x4b852e,_0x2a244d;if(_0x1f24b0(0x122)===_0x933b6d[_0x279bf0][_0x1f24b0(0x127)]){_0x4b852e=_0x37c26b[_0x1f24b0(0x12e)](_0x4ab7b3,_0x4c3cba);const _0x5ad4c3=new _0x1b966b(_0x933b6d[_0x279bf0][_0x1f24b0(0x183)][_0x1f24b0(0x198)],_0x933b6d[_0x279bf0][_0x1f24b0(0x183)][_0x1f24b0(0x200)]());_0x26728d[0x0][_0x1f24b0(0xe9)](_0x5ad4c3),_0x4c3cba[_0x1f24b0(0xf6)](0x0),_0x26728d[_0x1f24b0(0xfd)](_0x5ad4c3),_0x2a244d=_0x37c26b[_0x1f24b0(0x12e)](_0x4ab7b3,_0x4c3cba),_0x5cfb57=null;}else{if(_0x1f24b0(0xfc)===_0x933b6d[_0x279bf0][_0x1f24b0(0x127)])_0x26728d[_0x1f24b0(0x14e)](),_0x4b852e=_0x37c26b[_0x1f24b0(0x12e)](_0x4ab7b3,_0x4c3cba),_0x4c3cba[_0x1f24b0(0x11d)](),_0x4c3cba[_0x4c3cba[_0x1f24b0(0x1a3)]-0x1]++,_0x2a244d=_0x37c26b[_0x1f24b0(0x12e)](_0x4ab7b3,_0x4c3cba),_0x5cfb57=null;else{if(_0x4b852e=_0x37c26b[_0x1f24b0(0x12e)](_0x4ab7b3,_0x4c3cba),_0x5cfb57&&_0xc57a09(_0x5cfb57,_0x933b6d[_0x279bf0][_0x1f24b0(0x183)]))_0x5cfb57[_0x1f24b0(0x143)]+=_0x933b6d[_0x279bf0][_0x1f24b0(0x183)][_0x1f24b0(0x1c5)];else{const _0x15046a=new _0x397c46(_0x933b6d[_0x279bf0][_0x1f24b0(0x183)][_0x1f24b0(0x1c5)],_0x933b6d[_0x279bf0][_0x1f24b0(0x183)][_0x1f24b0(0x200)]());_0x26728d[0x0][_0x1f24b0(0xe9)](_0x15046a),_0x5cfb57=_0x15046a;}_0x4c3cba[_0x4c3cba[_0x1f24b0(0x1a3)]-0x1]+=_0x933b6d[_0x279bf0][_0x1f24b0(0x183)][_0x1f24b0(0x13b)],_0x2a244d=_0x37c26b[_0x1f24b0(0x12e)](_0x4ab7b3,_0x4c3cba);}}for(const _0x1d5dc1 of _0x933b6d[_0x279bf0][_0x1f24b0(0xfb)])_0x42e7da[_0x1f24b0(0x14a)](_0x1d5dc1,{'start':_0x4b852e,'end':null});_0x396081(_0x1f24b0(0x197),_0x279bf0,_0x4b852e,_0x2a244d),_0x396081(_0x1f24b0(0x186),_0x279bf0,_0x4b852e,_0x2a244d),_0x396081(_0x1f24b0(0x137),_0x279bf0,_0x4b852e,_0x2a244d),_0x396081(_0x1f24b0(0xc7),_0x279bf0,_0x4b852e,_0x2a244d);for(const _0x7edd61 of _0x933b6d[_0x279bf0][_0x1f24b0(0x124)]){_0x42e7da[_0x1f24b0(0x199)](_0x7edd61)[_0x1f24b0(0x1bd)]=_0x2a244d;}}for(const [_0x40f13a,_0x5728e4]of _0x42e7da){const _0x390375=this[_0x1f24b0(0xe8)][_0x1f24b0(0xe3)][_0x1f24b0(0x19a)](_0x5728e4[_0x1f24b0(0x1b7)],_0x5728e4[_0x1f24b0(0x1bd)]);_0x4ab7b3[_0x1f24b0(0x175)][_0x1f24b0(0x14a)](_0x40f13a,_0x390375);}return _0x2c498c[_0x1f24b0(0x16d)]((_0xfb0d77,_0x10dc95)=>{const _0x3d7427=_0x1f24b0,_0x90cc00=_0x4ab7b3[_0x3d7427(0x175)][_0x3d7427(0x199)](_0x3d7427(0x1c1)+_0xfb0d77['id']),_0x1b8a24=_0x4ab7b3[_0x3d7427(0x175)][_0x3d7427(0x199)](_0x3d7427(0x1c1)+_0x10dc95['id']);return _0x90cc00[_0x3d7427(0x1b7)][_0x3d7427(0x1b9)](_0x1b8a24[_0x3d7427(0x1b7)])?-0x1:_0x90cc00[_0x3d7427(0x1b7)][_0x3d7427(0x1ae)](_0x1b8a24[_0x3d7427(0x1b7)])?0x1:_0x90cc00[_0x3d7427(0x1bd)][_0x3d7427(0x1b9)](_0x1b8a24[_0x3d7427(0x1bd)])?-0x1:_0x90cc00[_0x3d7427(0x1bd)][_0x3d7427(0x1ae)](_0x1b8a24[_0x3d7427(0x1bd)])?0x1:_0x3d7427(0x14f)===_0xfb0d77[_0x3d7427(0x127)]?-0x1:0x1;}),{'root':_0x4ab7b3,'changes':_0x2c498c};function _0x396081(_0x522f07,_0x53c8c5,_0x35c6c4,_0x351c87){const _0x3e6b5f=_0x1f24b0,_0x38f592=!!_0x933b6d[_0x53c8c5][_0x522f07],_0x2a66cf=_0x38f592?_0x933b6d[_0x53c8c5][_0x522f07][_0x3e6b5f(0x145)]:null,_0x30759b=_0x53c8c5===_0x933b6d[_0x3e6b5f(0x1a3)]-0x1,_0xab7f6f=_0x19806a[_0x522f07][0x0],_0x3c3180=_0x43a472[_0x3e6b5f(0x18e)](_0x933b6d[_0x53c8c5][_0x3e6b5f(0x183)]);!_0x2ffaf1[_0x522f07]&&_0x38f592?_0x2ffaf1[_0x522f07]={'start':_0x35c6c4,'tapeItem':_0x933b6d[_0x53c8c5],'userId':_0x2a66cf,'type':_0x522f07}:_0x2ffaf1[_0x522f07]&&!_0x38f592?(_0x2ffaf1[_0x522f07][_0x3e6b5f(0x1bd)]=_0x35c6c4,_0x5b9ee2(_0x2ffaf1[_0x522f07]),_0x2ffaf1[_0x522f07]=null):_0x2ffaf1[_0x522f07]&&_0x38f592&&_0x2ffaf1[_0x522f07][_0x3e6b5f(0x145)]!==_0x2a66cf&&(_0x2ffaf1[_0x522f07][_0x3e6b5f(0x1bd)]=_0x35c6c4,_0xab7f6f&&_0xab7f6f[_0x3e6b5f(0x145)]===_0x2ffaf1[_0x522f07][_0x3e6b5f(0x145)]||_0x5b9ee2(_0x2ffaf1[_0x522f07]),_0x2ffaf1[_0x522f07]={'start':_0x35c6c4,'tapeItem':_0x933b6d[_0x53c8c5],'userId':_0x2a66cf,'type':_0x522f07}),_0x2ffaf1[_0x522f07]&&_0x3c3180&&(_0x3e6b5f(0x122)!==_0x933b6d[_0x53c8c5][_0x3e6b5f(0x127)]||_0xab7f6f&&_0xab7f6f[_0x3e6b5f(0x145)]===_0x2a66cf||_0x19806a[_0x522f07][_0x3e6b5f(0xfd)]({'userId':_0x2a66cf,'object':_0x933b6d[_0x53c8c5][_0x3e6b5f(0x183)],'change':_0x2ffaf1[_0x522f07]}),_0x3e6b5f(0xfc)===_0x933b6d[_0x53c8c5][_0x3e6b5f(0x127)]&&_0xab7f6f&&_0xab7f6f[_0x3e6b5f(0xff)]===_0x933b6d[_0x53c8c5][_0x3e6b5f(0x183)]&&(_0x19806a[_0x522f07][_0x3e6b5f(0x14e)](),_0x2ffaf1[_0x522f07]=_0xab7f6f[_0x3e6b5f(0x110)])),_0x2ffaf1[_0x522f07]&&_0x30759b&&(_0x2ffaf1[_0x522f07][_0x3e6b5f(0x1bd)]=_0x351c87,_0x5b9ee2(_0x2ffaf1[_0x522f07]),_0x2ffaf1[_0x522f07]=null);}function _0x5b9ee2({start:_0x25d548,end:_0x107208,tapeItem:_0x1e9b51,userId:_0x13eb76,type:_0x18a318}){const _0x471ed6=_0x1f24b0,_0x5455d5=_0x1e9b51[_0x471ed6(0x183)],_0xfb60fe=_0x37c26b[_0x471ed6(0x1a5)][_0x471ed6(0x172)](_0x5455d5)&&!_0x37c26b[_0x471ed6(0x1a5)][_0x471ed6(0xdc)](_0x5455d5),_0x1c5055=_0x25d548[_0x471ed6(0x10a)]==_0x107208[_0x471ed6(0xf3)]&&_0x107208[_0x471ed6(0x104)];if(_0xfb60fe&&_0x1c5055)return;const _0x3bf3d1=_0x37c26b[_0x471ed6(0x19a)](_0x25d548,_0x107208),_0x3c8f91=_0x52bdf5[_0x471ed6(0x199)](_0x13eb76),_0x3a11c7=new _0x596fff({'author':_0x3c8f91,'type':_0x471ed6(0xc7)==_0x18a318||_0x471ed6(0x186)==_0x18a318?_0x471ed6(0x14f):_0x471ed6(0x1c9),'data':{'isSuggestion':_0x471ed6(0x186)==_0x18a318||_0x471ed6(0x197)==_0x18a318},'createdAt':new Date(),'rootName':_0x201ab3});_0x2c498c[_0x471ed6(0xf6)](_0x3a11c7),_0x4ab7b3[_0x471ed6(0x175)][_0x471ed6(0x14a)](_0x471ed6(0x1c1)+_0x3a11c7['id'],_0x3bf3d1);}function _0xc57a09(_0x5be324,_0x5789d0){const _0xed32c0=_0x1f24b0,_0x1363d8=_0x5be324[_0xed32c0(0x200)](),_0x5e9651=_0x5789d0[_0xed32c0(0x200)]();for(const _0x29141d of _0x1363d8){if(_0x29141d[0x1]!==_0x5789d0[_0xed32c0(0x112)](_0x29141d[0x0]))return!0x1;_0x5e9651[_0xed32c0(0xb3)]();}return _0x5e9651[_0xed32c0(0xb3)]()[_0xed32c0(0x1cf)];}}[_0x51d9fa(0x130)](){const _0x36cb61=_0x51d9fa;this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x107))[_0x36cb61(0x1b0)]({'view':_0x36cb61(0x1b5)}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x19f))[_0x36cb61(0x1b1)]({'model':_0x36cb61(0x1b5),'view':_0x113b52=>{const _0x5e94a0=_0x36cb61,_0x657a8a=_0x113b52[_0x5e94a0(0xd3)][_0x5e94a0(0x142)](':')[0x1],_0x3d264=this[_0x5e94a0(0x11e)](_0x657a8a);if(!_0x3d264)return null;const _0x6cfecd=_0x5e94a0(0x14f)==_0x3d264[_0x5e94a0(0x127)]?_0x5e94a0(0xe0):_0x5e94a0(0x1da),_0x3d1a12=[_0x5e94a0(0xc4),_0x5e94a0(0x1a4)+_0x6cfecd];return _0x3d264[_0x5e94a0(0x1c5)][_0x5e94a0(0xd5)]&&_0x3d1a12[_0x5e94a0(0xf6)](_0x5e94a0(0x1a4)+_0x6cfecd+_0x5e94a0(0x1f3)),this[_0x5e94a0(0x100)]==_0x3d264&&_0x3d1a12[_0x5e94a0(0xf6)](_0x5e94a0(0x1f2)),{'classes':_0x3d1a12,'attributes':{'data-change-id':_0x657a8a}};}}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x107))[_0x36cb61(0x14f)](_0x22ee28=>{const _0x4028f7=_0x36cb61;_0x22ee28['on'](_0x4028f7(0xf0),(_0x528dd6,_0xefcf7b,_0x340ad8)=>{const _0x332b5f=_0x4028f7,_0x3f7ce4=_0xefcf7b[_0x332b5f(0xc8)][_0x332b5f(0x1a6)](0x0);if(!_0x3f7ce4||!_0x3f7ce4['is'](_0x332b5f(0x1a0),_0x332b5f(0x1c4)))return;if(!_0x340ad8[_0x332b5f(0x17e)][_0x332b5f(0x13c)](_0x3f7ce4,{'attributes':[_0x332b5f(0x176),_0x332b5f(0x1f4)]}))return;const _0x2714d7=_0xefcf7b[_0x332b5f(0xb9)][_0x332b5f(0x1b7)][_0x332b5f(0x10a)];_0x340ad8[_0x332b5f(0x154)][_0x332b5f(0x18f)](_0x332b5f(0x176),_0x3f7ce4[_0x332b5f(0x112)](_0x332b5f(0x176)),_0x2714d7),_0x340ad8[_0x332b5f(0x154)][_0x332b5f(0x18f)](_0x332b5f(0x1f4),_0x3f7ce4[_0x332b5f(0x112)](_0x332b5f(0x1f4)),_0x2714d7);},{'priority':_0x4028f7(0xb8)});}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x107))[_0x36cb61(0x14f)](_0x37c466=>{const _0x35c341=_0x36cb61;_0x37c466['on'](_0x35c341(0x1a0),(_0x2b6a25,_0x5532a9,_0xd2c681)=>{const _0x3f8c2c=_0x35c341;if(!_0xd2c681[_0x3f8c2c(0x17e)][_0x3f8c2c(0x13c)](_0x5532a9[_0x3f8c2c(0xc8)],{'attributes':[_0x3f8c2c(0x176),_0x3f8c2c(0x1f4)]}))return;if(_0x5532a9[_0x3f8c2c(0xb9)][_0x3f8c2c(0xf5)])return;const _0x50fac5=_0x5532a9[_0x3f8c2c(0xb9)][_0x3f8c2c(0x1b7)][_0x3f8c2c(0x10a)];_0x50fac5[_0x3f8c2c(0x1f0)](_0x3f8c2c(0x176))||_0x50fac5[_0x3f8c2c(0x1f0)](_0x3f8c2c(0xee))||(_0xd2c681[_0x3f8c2c(0x154)][_0x3f8c2c(0x18f)](_0x3f8c2c(0x176),_0x5532a9[_0x3f8c2c(0xc8)][_0x3f8c2c(0x112)](_0x3f8c2c(0x176)),_0x50fac5),_0xd2c681[_0x3f8c2c(0x154)][_0x3f8c2c(0x18f)](_0x3f8c2c(0x1f4),_0x5532a9[_0x3f8c2c(0xc8)][_0x3f8c2c(0x112)](_0x3f8c2c(0x1f4)),_0x50fac5));},{'priority':_0x35c341(0xb8)});}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x107))[_0x36cb61(0xe1)]({'view':{'name':_0x36cb61(0x1f8),'attributes':{'vid':!0x0}},'model':{'key':_0x36cb61(0xee),'value':_0x102c74=>_0x102c74[_0x36cb61(0x112)](_0x36cb61(0xee))}}),this[_0x36cb61(0xe8)][_0x36cb61(0xe3)][_0x36cb61(0x1a5)]['on'](_0x36cb61(0x155),(_0x1a4a64,[,_0x3b1187])=>{const _0x49da0c=_0x36cb61;[_0x49da0c(0x176),_0x49da0c(0x1f4),_0x49da0c(0xee)][_0x49da0c(0x109)](_0x3b1187)&&(_0x1a4a64[_0x49da0c(0x1e9)]=!0x0,_0x1a4a64[_0x49da0c(0xd8)]());},{'priority':_0x36cb61(0xdd)}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x1ca))[_0x36cb61(0x14f)](_0x4b9bdf=>{const _0x188b5b=_0x36cb61;_0x4b9bdf['on'](_0x188b5b(0x1ee),(_0x4522db,_0x4cc25a,_0x500dee)=>{const _0x270ca8=_0x188b5b;if('\x20'!=_0x4cc25a[_0x270ca8(0x183)][_0x270ca8(0x1c5)]||_0x4cc25a[_0x270ca8(0x183)][_0x270ca8(0xf3)][_0x270ca8(0x190)]>0x1)return;if(!_0x500dee[_0x270ca8(0x17e)][_0x270ca8(0x13c)](_0x4cc25a[_0x270ca8(0x183)],_0x4522db[_0x270ca8(0x198)]))return;const _0x11290e=_0x500dee[_0x270ca8(0x154)],_0xad3116=_0x500dee[_0x270ca8(0xcd)][_0x270ca8(0x108)](_0x4cc25a[_0x270ca8(0x181)]);_0x11290e[_0x270ca8(0x1f6)](_0xad3116,_0x11290e[_0x270ca8(0x16f)](_0x270ca8(0x1f8)));});}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x1ca))[_0x36cb61(0x1e8)]({'model':_0x36cb61(0x1b5)}),this[_0x36cb61(0xe8)][_0x36cb61(0xb5)][_0x36cb61(0xde)]['on'](_0x36cb61(0x1d7),function(_0x90698){const _0xe54aad=_0x36cb61,_0x571b3a=_0x90698[_0xe54aad(0x19e)][_0xe54aad(0x199)](_0xe54aad(0x125));return(_0x56876e,_0x5affd5,_0x469564)=>{const _0x55eb23=_0xe54aad,_0x4a0eb2=_0x5affd5[_0x55eb23(0xd3)][_0x55eb23(0x142)](':')[0x1],_0x4ec393=_0x571b3a[_0x55eb23(0x11e)](_0x4a0eb2);if(!_0x4ec393)return null;const _0x29aa73=_0x55eb23(0x14f)==_0x4ec393[_0x55eb23(0x127)]?_0x55eb23(0x142):_0x55eb23(0xc1);if(!_0x469564[_0x55eb23(0x17e)][_0x55eb23(0xd0)](_0x5affd5[_0x55eb23(0xf4)],_0x56876e[_0x55eb23(0x198)]))return;const _0x37b86b=_0x5affd5[_0x55eb23(0xf4)][_0x55eb23(0x1fb)](),_0x4f2dac=_0x5affd5[_0x55eb23(0xf4)][_0x55eb23(0x1b7)],_0x273c2d=_0x90698[_0x55eb23(0xe3)][_0x55eb23(0x1a5)];let _0x40d7d3=null,_0x48db92=null,_0x3c6b80=!0x1,_0x5dee8e=!0x1;for(const _0x485c72 of _0x37b86b){const _0x44dc93=_0x485c72[_0x55eb23(0x183)];_0x3c6b80=_0x3c6b80||_0x273c2d[_0x55eb23(0x177)](_0x44dc93);const _0x192503=_0x469564[_0x55eb23(0xcd)][_0x55eb23(0xe2)](_0x44dc93);if(_0x192503&&_0x192503[_0x55eb23(0x126)](_0x55eb23(0x10e)))return;_0x55eb23(0xfc)==_0x485c72[_0x55eb23(0x127)]&&(_0x273c2d[_0x55eb23(0x172)](_0x44dc93)&&!_0x273c2d[_0x55eb23(0xdc)](_0x44dc93)&&(_0x44dc93[_0x55eb23(0xec)]||_0x4f2dac[_0x55eb23(0x156)]?_0x40d7d3&&_0x40d7d3[_0x55eb23(0xf3)]==_0x44dc93||(_0x40d7d3=_0x44dc93,_0x2007c5(_0x485c72[_0x55eb23(0x12d)]),_0x5dee8e=!0x0):_0x48db92=_0x48db92||_0x485c72[_0x55eb23(0x12d)]));}function _0x2007c5(_0x4b381b){const _0x33fa1f=_0x55eb23,_0x504903=_0x469564[_0x33fa1f(0x154)][_0x33fa1f(0x17f)](_0x33fa1f(0x1f8),{'class':_0x33fa1f(0x1a4)+_0x29aa73}),_0xa1000a=_0x469564[_0x33fa1f(0xcd)][_0x33fa1f(0x15b)](_0x4b381b);_0x4ec393[_0x33fa1f(0x1c5)][_0x33fa1f(0xd5)]&&_0x469564[_0x33fa1f(0x154)][_0x33fa1f(0x180)](_0x33fa1f(0x1a4)+_0x29aa73+_0x33fa1f(0x1f3),_0x504903),_0x571b3a[_0x33fa1f(0x100)]==_0x4ec393&&_0x469564[_0x33fa1f(0x154)][_0x33fa1f(0x180)](_0x33fa1f(0x1f2),_0x504903),_0x469564[_0x33fa1f(0x154)][_0x33fa1f(0x13f)](_0xa1000a,_0x504903),_0x469564[_0x33fa1f(0xcd)][_0x33fa1f(0x17b)](_0x504903,_0x5affd5[_0x33fa1f(0xd3)]);}_0x3c6b80||_0x5dee8e||!_0x48db92||_0x2007c5(_0x48db92);};}(this[_0x36cb61(0xe8)]),{'priority':_0x36cb61(0xd6)}),this[_0x36cb61(0xe8)][_0x36cb61(0xb5)][_0x36cb61(0xde)]['on'](_0x36cb61(0x16a),(_0x26efa0,_0x4ec3e5,_0x2be49c)=>{const _0x57d9ef=_0x36cb61,_0x13f9dc=_0x2be49c[_0x57d9ef(0xcd)][_0x57d9ef(0x146)](_0x4ec3e5[_0x57d9ef(0xd3)]);if(_0x13f9dc){for(const _0x23e3bf of _0x13f9dc)(_0x23e3bf[_0x57d9ef(0x102)](_0x57d9ef(0x174))||_0x23e3bf[_0x57d9ef(0x102)](_0x57d9ef(0xc9)))&&(_0x2be49c[_0x57d9ef(0xcd)][_0x57d9ef(0x195)](_0x23e3bf,_0x4ec3e5[_0x57d9ef(0xd3)]),_0x2be49c[_0x57d9ef(0x154)][_0x57d9ef(0x1c9)](_0x23e3bf));}},{'priority':_0x36cb61(0xd6)}),this[_0x36cb61(0xe8)][_0x36cb61(0xb5)][_0x36cb61(0xde)]['on'](_0x36cb61(0x1d7),(_0x18d696,_0x1f5c64,_0x10255f)=>{const _0x1063cf=_0x36cb61,_0x38c0bb=_0x1f5c64[_0x1063cf(0xd3)][_0x1063cf(0x142)](':')[0x1],_0x21a03e=this[_0x1063cf(0x11e)](_0x38c0bb);if(!_0x21a03e)return null;const _0x1b4cf9=_0x1063cf(0x14f)==_0x21a03e[_0x1063cf(0x127)]?_0x1063cf(0x142):_0x1063cf(0xc1);if(_0x10255f[_0x1063cf(0x17e)][_0x1063cf(0xd0)](_0x1f5c64[_0x1063cf(0xf4)],_0x18d696[_0x1063cf(0x198)]))for(const _0x3814ba of _0x1f5c64[_0x1063cf(0xf4)][_0x1063cf(0x15e)]()){if(!_0x3814ba['is'](_0x1063cf(0x1a0),_0x1063cf(0xb4)))continue;const _0x16ea50=_0x10255f[_0x1063cf(0x154)][_0x1063cf(0x17f)](_0x1063cf(0x1f8),{'class':_0x1063cf(0x1a4)+_0x1b4cf9}),_0x18160b=_0x10255f[_0x1063cf(0xcd)][_0x1063cf(0x15b)](this[_0x1063cf(0xe8)][_0x1063cf(0xe3)][_0x1063cf(0x139)](_0x3814ba));_0x21a03e[_0x1063cf(0x1c5)][_0x1063cf(0xd5)]&&_0x10255f[_0x1063cf(0x154)][_0x1063cf(0x180)](_0x1063cf(0x1a4)+_0x1b4cf9+_0x1063cf(0x1f3),_0x16ea50),this[_0x1063cf(0x100)]==_0x21a03e&&_0x10255f[_0x1063cf(0x154)][_0x1063cf(0x180)](_0x1063cf(0x1f2),_0x16ea50),_0x10255f[_0x1063cf(0x154)][_0x1063cf(0x13f)](_0x18160b,_0x16ea50),_0x10255f[_0x1063cf(0xcd)][_0x1063cf(0x17b)](_0x16ea50,_0x1f5c64[_0x1063cf(0xd3)]);}},{'priority':_0x36cb61(0xd6)}),this[_0x36cb61(0xe8)][_0x36cb61(0xe3)][_0x36cb61(0x148)]['on'](_0x36cb61(0x110),()=>{const _0x3bba82=_0x36cb61;this[_0x3bba82(0xe8)][_0x3bba82(0xb5)][_0x3bba82(0xba)][_0x3bba82(0x110)](_0x16d19a=>{const _0x439efb=_0x3bba82;for(const _0xad8d7a of this[_0x439efb(0xe8)][_0x439efb(0xe3)][_0x439efb(0x148)][_0x439efb(0xeb)]()){const _0x339824=this[_0x439efb(0xe8)][_0x439efb(0xe3)][_0x439efb(0x148)][_0x439efb(0x1dc)](_0xad8d7a),_0x499a23=this[_0x439efb(0xe8)][_0x439efb(0xb5)][_0x439efb(0xba)][_0x439efb(0x148)][_0x439efb(0x1dc)](_0xad8d7a);if(_0x499a23){const _0x32985b=_0x339824[_0x439efb(0x112)](_0x439efb(0x136));if(_0x16d19a[_0x439efb(0x147)](_0x439efb(0xe4),_0x499a23),_0x16d19a[_0x439efb(0x165)](_0x439efb(0x1af),_0x499a23),_0x16d19a[_0x439efb(0x165)](_0x439efb(0x1bb),_0x499a23),_0x16d19a[_0x439efb(0x165)](_0x439efb(0xd1),_0x499a23),_0x32985b){const _0xc4e174=this[_0x439efb(0x11e)](_0x32985b);if(!_0xc4e174)return null;_0x16d19a[_0x439efb(0x18f)](_0x439efb(0xe4),_0x32985b,_0x499a23),_0x16d19a[_0x439efb(0x180)](_0x439efb(0x149)+_0xc4e174[_0x439efb(0x127)],_0x499a23),this[_0x439efb(0x100)]==_0xc4e174&&_0x16d19a[_0x439efb(0x180)](_0x439efb(0xd1),_0x499a23);}}}});}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x107))[_0x36cb61(0x1b0)]({'view':_0x36cb61(0x188),'model':_0x2d90ea=>_0x36cb61(0x118)+_0x2d90ea,'converterPriority':_0x36cb61(0xdd)}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x107))[_0x36cb61(0x1b0)]({'view':_0x36cb61(0xea),'model':_0x44ca9a=>_0x36cb61(0x13a)+_0x44ca9a,'converterPriority':_0x36cb61(0xdd)}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x1ca))[_0x36cb61(0x1e8)]({'model':_0x36cb61(0xcf),'view':_0x4a7555=>({'name':_0x36cb61(0xc0)+_0x4a7555,'group':_0x36cb61(0xcf)}),'converterPriority':_0x36cb61(0xdd)}),this[_0x36cb61(0xe8)][_0x36cb61(0x106)][_0x36cb61(0x12b)](_0x36cb61(0x19f))[_0x36cb61(0x1b1)]({'model':_0x36cb61(0xcf),'view':_0xbc774e=>{const _0x54fc3a=_0x36cb61,_0x40bbc8=_0xbc774e[_0x54fc3a(0xd3)][_0x54fc3a(0x142)](':')[0x1];return _0x54fc3a(0xe0)!=_0x40bbc8&&_0x54fc3a(0x1da)!=_0x40bbc8?null:{'classes':[_0x54fc3a(0x1e6),_0x54fc3a(0xce)+_0x40bbc8]};}}),this[_0x36cb61(0xe8)][_0x36cb61(0xb5)][_0x36cb61(0xde)]['on'](_0x36cb61(0x1e5),et(this[_0x36cb61(0xe8)],_0x36cb61(0xc1)),{'priority':_0x36cb61(0xd6)}),this[_0x36cb61(0xe8)][_0x36cb61(0xb5)][_0x36cb61(0xde)]['on'](_0x36cb61(0x179),et(this[_0x36cb61(0xe8)],_0x36cb61(0x142)),{'priority':_0x36cb61(0xd6)}),this[_0x36cb61(0xe8)][_0x36cb61(0xb5)][_0x36cb61(0xde)]['on'](_0x36cb61(0x1e0),(_0x56f4ba,_0x420852,_0x3ff95c)=>{const _0x24a24f=_0x36cb61,_0x8f1cb4=_0x3ff95c[_0x24a24f(0xcd)][_0x24a24f(0x146)](_0x420852[_0x24a24f(0xd3)]);if(_0x8f1cb4){for(const _0x3241e9 of _0x8f1cb4)_0x3241e9['is'](_0x24a24f(0x12c))&&(_0x3ff95c[_0x24a24f(0xcd)][_0x24a24f(0x195)](_0x3241e9,_0x420852[_0x24a24f(0xd3)]),_0x3ff95c[_0x24a24f(0x154)][_0x24a24f(0x1c9)](_0x3241e9));}},{'priority':_0x36cb61(0xd6)});}[_0x51d9fa(0x11e)](_0x38781d){const _0x2dfabb=_0x51d9fa;return this[_0x2dfabb(0x1ef)][_0x2dfabb(0x199)](_0x38781d);}[_0x51d9fa(0x1ff)](_0x481584){const _0x39de6c=_0x51d9fa;return this[_0x39de6c(0x171)]&&this[_0x39de6c(0x171)][_0x39de6c(0x14d)](),this[_0x39de6c(0x171)]=new _0x2e1972(this[_0x39de6c(0xe8)][_0x39de6c(0x178)],_0x481584),this[_0x39de6c(0x171)];}[_0x51d9fa(0x1e1)](){const _0x564e0f=_0x51d9fa;this[_0x564e0f(0xe8)][_0x564e0f(0xe3)][_0x564e0f(0x148)][_0x564e0f(0x169)][_0x564e0f(0xda)](_0x564e0f(0x1b5)),this['on'](_0x564e0f(0x1e4),(_0x532e38,_0x15fb69,_0x18e859,_0x234dba)=>{const _0xa4ddfa=_0x564e0f;_0x234dba&&this[_0xa4ddfa(0x194)][_0xa4ddfa(0x1c9)](_0x234dba),_0x18e859&&(this[_0xa4ddfa(0x194)][_0xa4ddfa(0x14f)]({'view':_0x18e859,'stackId':_0xa4ddfa(0x10c),'position':{'target':()=>{const _0x18fabd=_0xa4ddfa,_0x515050=this[_0x18fabd(0xe8)][_0x18fabd(0xb5)],_0x33d0d6=this[_0x18fabd(0x11e)](_0x18e859[_0x18fabd(0xc3)]);let _0x485111;if(_0x33d0d6[_0x18fabd(0x1c5)][_0x18fabd(0x12f)]){const _0xd41dff=_0x515050[_0x18fabd(0xba)][_0x18fabd(0x15d)](_0x33d0d6[_0x18fabd(0x201)]);_0x485111=Array[_0x18fabd(0x1d3)](_0xd41dff[_0x18fabd(0x167)]());}else{const _0x549429=this[_0x18fabd(0xe8)][_0x18fabd(0xe3)][_0x18fabd(0x175)][_0x18fabd(0x199)](_0x18fabd(0x1c1)+_0x18e859[_0x18fabd(0xc3)]);_0x485111=Array[_0x18fabd(0x1d3)](_0x515050[_0x18fabd(0xcd)][_0x18fabd(0x146)](_0x549429[_0x18fabd(0x198)]))[_0x18fabd(0x185)](_0x44181b=>_0x515050[_0x18fabd(0xba)][_0x18fabd(0x1ab)][_0x18fabd(0xef)](_0x44181b))[_0x18fabd(0x185)](_0x4158ab=>Array[_0x18fabd(0x1d3)](_0x4158ab[_0x18fabd(0x167)]()))[_0x18fabd(0xf8)]();}if(!this[_0x18fabd(0x18c)])return _0x485111[0x0];return _0x485111[_0x18fabd(0x17a)](_0x5e2510=>_0x5e2510[_0x18fabd(0x184)]-0x3<=this[_0x18fabd(0x18c)]['y']&&_0x5e2510[_0x18fabd(0x168)]+0x3>=this[_0x18fabd(0x18c)]['y']&&_0x5e2510[_0x18fabd(0x1fe)]-0x3<=this[_0x18fabd(0x18c)]['x']&&_0x5e2510[_0x18fabd(0x1b3)]+0x3>=this[_0x18fabd(0x18c)]['x'])||_0x485111[0x0];}}}),this[_0xa4ddfa(0x194)][_0xa4ddfa(0x173)](_0xa4ddfa(0x10c)));}),this['on'](_0x564e0f(0x113),(_0x42b52d,_0x59430e,_0xf1f013,_0x31ea55)=>{const _0x52e87f=_0x564e0f;this[_0x52e87f(0x1e3)]=_0xf1f013?this[_0x52e87f(0x1ff)](_0xf1f013):null,this[_0x52e87f(0xe8)][_0x52e87f(0xe3)][_0x52e87f(0x110)](()=>{const _0x38e517=_0x52e87f,_0x10c426=this[_0x38e517(0xe8)][_0x38e517(0xb5)];_0x31ea55&&(_0x31ea55[_0x38e517(0x1c5)][_0x38e517(0x12f)]?_0x10c426[_0x38e517(0xba)][_0x38e517(0x110)](_0x52c5f9=>{const _0x4c198a=_0x38e517;_0x52c5f9[_0x4c198a(0x165)](_0x4c198a(0xd1),_0x10c426[_0x4c198a(0xba)][_0x4c198a(0x148)][_0x4c198a(0x1dc)](_0x31ea55[_0x4c198a(0x201)]));}):_0x10c426[_0x38e517(0x1b6)](_0x38e517(0x1c1)+_0x31ea55['id'])),_0xf1f013&&(_0xf1f013[_0x38e517(0x1c5)][_0x38e517(0x12f)]?_0x10c426[_0x38e517(0xba)][_0x38e517(0x110)](_0x335ee7=>{const _0x26195a=_0x38e517;_0x335ee7[_0x26195a(0x180)](_0x26195a(0xd1),_0x10c426[_0x26195a(0xba)][_0x26195a(0x148)][_0x26195a(0x1dc)](_0xf1f013[_0x26195a(0x201)]));}):_0x10c426[_0x38e517(0x1b6)](_0x38e517(0x1c1)+_0xf1f013['id']));});}),this[_0x564e0f(0xbf)](this[_0x564e0f(0xe8)][_0x564e0f(0xb5)][_0x564e0f(0xba)][_0x564e0f(0x148)],_0x564e0f(0x15f),(_0x1a0e28,_0x19c884)=>{const _0x277d65=_0x564e0f;if(this[_0x277d65(0x100)])return;const _0x993e36=this[_0x277d65(0xc5)](_0x19c884[_0x277d65(0x1c6)]),_0x3b0f69=this[_0x277d65(0x1ef)][_0x277d65(0x199)](_0x993e36);_0x3b0f69?(this[_0x277d65(0x18c)]={'x':_0x19c884[_0x277d65(0x1eb)]['x'],'y':_0x19c884[_0x277d65(0x1eb)]['y']},this[_0x277d65(0x1e3)]=this[_0x277d65(0x1ff)](_0x3b0f69)):(this[_0x277d65(0x18c)]=null,this[_0x277d65(0x1e3)]=null);}),this[_0x564e0f(0xbf)](this[_0x564e0f(0xe8)][_0x564e0f(0xb5)][_0x564e0f(0xba)][_0x564e0f(0x148)],_0x564e0f(0xed),(_0x759a41,_0x41d7a7)=>{const _0xaaf22d=_0x564e0f,_0x1f330c=this[_0xaaf22d(0xc5)](_0x41d7a7[_0xaaf22d(0x1c6)]),_0x543b0f=this[_0xaaf22d(0x1ef)][_0xaaf22d(0x199)](_0x1f330c);_0x543b0f?(this[_0xaaf22d(0x18c)]={'x':_0x41d7a7[_0xaaf22d(0x1eb)]['x'],'y':_0x41d7a7[_0xaaf22d(0x1eb)]['y']},_0x543b0f===this[_0xaaf22d(0x100)]?this[_0xaaf22d(0x194)][_0xaaf22d(0x134)]():this[_0xaaf22d(0x100)]=_0x543b0f):(this[_0xaaf22d(0x18c)]=null,this[_0xaaf22d(0x100)]=null);});}[_0x51d9fa(0xc5)](_0x262ff8){const _0x310fa8=_0x51d9fa;do{const _0x135437=_0x262ff8[_0x310fa8(0x112)](_0x310fa8(0xe4));if(_0x135437)return _0x135437;_0x262ff8=_0x262ff8[_0x310fa8(0xf3)];}while(_0x262ff8);return null;}[_0x51d9fa(0xf9)](){const _0x2d086f=_0x51d9fa;this[_0x2d086f(0xe8)][_0x2d086f(0xe3)][_0x2d086f(0x110)](_0x17f33c=>{const _0x583ad9=_0x2d086f;for(const _0x5957b8 of this[_0x583ad9(0xe8)][_0x583ad9(0xe3)][_0x583ad9(0x175)])_0x17f33c[_0x583ad9(0xc6)](_0x5957b8);});}}function et(_0x4a62ce,_0x3bd22a){return(_0x18ff1f,_0x4415ed,_0x4d11f4)=>{const _0x27f7dc=_0x1d88;if(!_0x4d11f4[_0x27f7dc(0x17e)][_0x27f7dc(0xd0)](_0x4415ed[_0x27f7dc(0xf4)],_0x18ff1f[_0x27f7dc(0x198)]))return;const _0x5da8ed=_0x4415ed[_0x27f7dc(0xf4)][_0x27f7dc(0x1fb)](),_0x38efbb=_0x4415ed[_0x27f7dc(0xf4)][_0x27f7dc(0x1b7)],_0x30e2e8=_0x4a62ce[_0x27f7dc(0xe3)][_0x27f7dc(0x1a5)];let _0x5944bd=null,_0x249269=null,_0x4bf6a2=!0x1,_0x5c7aab=!0x1;for(const _0x24cef4 of _0x5da8ed){const _0x3374f9=_0x24cef4[_0x27f7dc(0x183)];_0x4bf6a2=_0x4bf6a2||_0x30e2e8[_0x27f7dc(0x177)](_0x3374f9);const _0x21779d=_0x4d11f4[_0x27f7dc(0xcd)][_0x27f7dc(0xe2)](_0x3374f9);if(_0x21779d&&_0x21779d[_0x27f7dc(0x126)](_0x27f7dc(0x10e)))return;_0x27f7dc(0xfc)==_0x24cef4[_0x27f7dc(0x127)]&&(_0x30e2e8[_0x27f7dc(0x172)](_0x3374f9)&&!_0x30e2e8[_0x27f7dc(0xdc)](_0x3374f9)&&(_0x3374f9[_0x27f7dc(0xec)]||_0x38efbb[_0x27f7dc(0x156)]?_0x5944bd&&_0x5944bd[_0x27f7dc(0xf3)]==_0x3374f9||(_0x5944bd=_0x3374f9,_0x5be0e2(_0x24cef4[_0x27f7dc(0x12d)]),_0x5c7aab=!0x0):_0x249269=_0x249269||_0x24cef4[_0x27f7dc(0x12d)]));}function _0x5be0e2(_0x3a38f1){const _0x5b711c=_0x27f7dc,_0x15bc08=_0x4d11f4[_0x5b711c(0xcd)][_0x5b711c(0x15b)](_0x3a38f1),_0x3c5637=_0x4d11f4[_0x5b711c(0x154)][_0x5b711c(0x17f)](_0x5b711c(0x1f8),{'class':_0x5b711c(0xce)+_0x3bd22a});_0x4d11f4[_0x5b711c(0x154)][_0x5b711c(0x13f)](_0x15bc08,_0x3c5637),_0x4d11f4[_0x5b711c(0xcd)][_0x5b711c(0x17b)](_0x3c5637,_0x4415ed[_0x5b711c(0xd3)]);}_0x4bf6a2||_0x5c7aab||!_0x249269||_0x5be0e2(_0x249269);};}export class RestoreRevisionCommand extends _0x254405{constructor(_0x5395fb){const _0x31bd2e=_0x51d9fa;super(_0x5395fb);const _0x11f050=_0x5395fb[_0x31bd2e(0x19e)][_0x31bd2e(0x199)](d);this[_0x31bd2e(0xdf)]=!0x1,this[_0x31bd2e(0xbf)](_0x11f050,_0x31bd2e(0x1ec),()=>this[_0x31bd2e(0xd4)]()),this[_0x31bd2e(0xbf)](_0x11f050,_0x31bd2e(0x1f1),()=>this[_0x31bd2e(0xd4)]());}[_0x51d9fa(0x170)](){const _0x2fd8ef=_0x51d9fa,_0x51088a=this[_0x2fd8ef(0xe8)],_0x1562a1=_0x51088a[_0x2fd8ef(0x19e)][_0x2fd8ef(0x199)](d),_0x473ee9=_0x1562a1[_0x2fd8ef(0x1e2)]?_0x1562a1[_0x2fd8ef(0x1c2)][_0x2fd8ef(0x152)]:null;_0x51088a[_0x2fd8ef(0x1c7)][_0x2fd8ef(0x199)](_0x2fd8ef(0x1b2))[_0x2fd8ef(0x1cc)](_0x473ee9);}[_0x51d9fa(0xd4)](){const _0x4ccb02=_0x51d9fa,{isReady:_0x497c3b,isEnabled:_0x4a2ed5}=this[_0x4ccb02(0xe8)][_0x4ccb02(0x19e)][_0x4ccb02(0x199)](d);this[_0x4ccb02(0x1fd)]=_0x497c3b&&_0x4a2ed5;}}export class ShowChangeCommand extends _0x254405{constructor(_0x5cab08,{direction:_0x19e198}){const _0x536307=_0x51d9fa;super(_0x5cab08);const _0x11f84c=_0x5cab08[_0x536307(0x19e)][_0x536307(0x199)](d);this[_0x536307(0xdf)]=!0x1,this[_0x536307(0x1aa)]=_0x536307(0x158)===_0x19e198?0x1:-0x1,this[_0x536307(0xbf)](_0x11f84c,_0x536307(0x1ec),()=>this[_0x536307(0xd4)]()),this[_0x536307(0xbf)](_0x11f84c,_0x536307(0x1f1),()=>this[_0x536307(0xd4)]()),this[_0x536307(0xbf)](_0x11f84c,_0x536307(0x113),()=>this[_0x536307(0xd4)]());}[_0x51d9fa(0x170)](){const _0x1a9c59=_0x51d9fa,_0x145d1d=this[_0x1a9c59(0xe8)],_0x297b9=_0x145d1d[_0x1a9c59(0x19e)][_0x1a9c59(0x199)](d),{isNavigationMode:_0x176712,currentChangeNumber:_0x40f00a}=_0x297b9;let _0x5f15d2;if(_0x297b9[_0x1a9c59(0x100)]=_0x176712?_0x297b9[_0x1a9c59(0x1c2)][_0x1a9c59(0x1d2)][_0x1a9c59(0x199)](_0x40f00a+this[_0x1a9c59(0x1aa)]):_0x297b9[_0x1a9c59(0x1c2)][_0x1a9c59(0x1d2)][_0x1a9c59(0x1d1)],_0x297b9[_0x1a9c59(0x100)][_0x1a9c59(0x1c5)][_0x1a9c59(0x12f)])_0x5f15d2=_0x145d1d[_0x1a9c59(0xb5)][_0x1a9c59(0xba)][_0x1a9c59(0x15d)](_0x297b9[_0x1a9c59(0x100)][_0x1a9c59(0x201)]);else{const _0x1fba99=_0x145d1d[_0x1a9c59(0xe3)][_0x1a9c59(0x175)][_0x1a9c59(0x199)](_0x1a9c59(0x1c1)+_0x297b9[_0x1a9c59(0x100)]['id']);_0x5f15d2=_0xff127(_0x145d1d[_0x1a9c59(0xb5)],_0x1fba99);}_0x4e90b3({'target':_0x5f15d2,'viewportOffset':0x28});}[_0x51d9fa(0xd4)](){const _0x1fd8f5=_0x51d9fa,{isNavigationMode:_0x57fe05,currentChangeNumber:_0x28e130,numberOfChanges:_0xb75a9,isReady:_0x35813d,isEnabled:_0x14a3c5}=this[_0x1fd8f5(0xe8)][_0x1fd8f5(0x19e)][_0x1fd8f5(0x199)](d);this[_0x1fd8f5(0x1fd)]=!!(_0x14a3c5&&_0x35813d&&_0xb75a9)&&(!_0x57fe05||(0x1===this[_0x1fd8f5(0x1aa)]?_0x28e130<_0xb75a9-0x1:_0x28e130>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4463af,_0x2b7b7b){const _0x12bc9e=_0x2a78,_0x22cf9a=_0x4463af();while(!![]){try{const _0x2924e2=-parseInt(_0x12bc9e(0x9e))/0x1+parseInt(_0x12bc9e(0x8d))/0x2+-parseInt(_0x12bc9e(0x94))/0x3*(-parseInt(_0x12bc9e(0x8c))/0x4)+-parseInt(_0x12bc9e(0xa2))/0x5*(parseInt(_0x12bc9e(0x8e))/0x6)+-parseInt(_0x12bc9e(0xa0))/0x7+-parseInt(_0x12bc9e(0xb5))/0x8+parseInt(_0x12bc9e(0xaa))/0x9;if(_0x2924e2===_0x2b7b7b)break;else _0x22cf9a['push'](_0x22cf9a['shift']());}catch(_0x41959f){_0x22cf9a['push'](_0x22cf9a['shift']());}}}(_0x38e6,0x63af9));import{Collection as _0x2d0981}from'ckeditor5/src/utils.js';import{icons as _0x148ca7}from'ckeditor5/src/core.js';import{ViewModel as _0x1d0994,addListToDropdown as _0x112409,createDropdown as _0x4b5313}from'ckeditor5/src/ui.js';function _0x38e6(){const _0x52a6b6=['listView','source','change:isActionsDropdownOpen','name','bind','function','first','ck-revision-history-sidebar__revision__actions','153562yXlkhy','action','722939KQOfLY','Compare\x20against\x20selected','115gXsWVB','add','buttonView','Show\x20more\x20items','extendTemplate','bindTemplate','children','locale','4121775HPQiHI','isActionsDropdownOpen','threeVerticalDots','items','button','Restore\x20this\x20revision','_action','isEnabled','ck-on','class','panelPosition','3460080qMNSmU','isReady','model','execute','stopPropagation','listenTo','set','Name\x20this\x20revision','952MQlqFv','714120tTWHCl','135318DiRlDv','isVisible','menu','find','map','menuitem','10101dwwlkJ','isOpen'];_0x38e6=function(){return _0x52a6b6;};return _0x38e6();}function _0x2a78(_0x3a3437,_0x277138){const _0x38e6e7=_0x38e6();return _0x2a78=function(_0x2a788f,_0x69047d){_0x2a788f=_0x2a788f-0x8a;let _0x10170b=_0x38e6e7[_0x2a788f];return _0x10170b;},_0x2a78(_0x3a3437,_0x277138);}import{getTranslation as _0x42e1bb}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x592932,_0x4a3622){const _0x198c7c=_0x2a78,_0x24600f=_0x592932[_0x198c7c(0xa7)],_0x4d445e=_0x592932[_0x198c7c(0xa9)],_0x232fd4=_0x4b5313(_0x4d445e);_0x232fd4[_0x198c7c(0xb4)]='sw';const _0x287ed5=function(_0x200dba,_0x4a124c){const _0x4c5021=_0x198c7c,_0x18fe01=function(_0x39fce8,_0x3dcfb0){const _0x594cd7=_0x2a78,_0x177f80=_0x39fce8[_0x594cd7(0xa9)],_0x4aac6d={'Compare\x20against\x20selected':_0x42e1bb(_0x177f80,_0x594cd7(0xa1)),'Name\x20this\x20revision':_0x42e1bb(_0x177f80,_0x594cd7(0x8b)),'Restore\x20this\x20revision':_0x42e1bb(_0x177f80,_0x594cd7(0xaf))};return _0x3dcfb0[_0x594cd7(0x92)](_0x1c7794=>{const _0x389353=_0x594cd7,_0x48b877=_0x4aac6d[_0x1c7794[_0x389353(0x99)]];return _0x48b877&&_0x48b877!==_0x1c7794[_0x389353(0x99)]&&(_0x1c7794[_0x389353(0x99)]=_0x48b877),_0x1c7794;});}(_0x200dba,_0x4a124c),_0xebc01c=new _0x2d0981();for(const _0x3dd227 of _0x18fe01){const _0xc2bfa6={'type':_0x4c5021(0xae),'model':new _0x1d0994({'label':_0x3dd227[_0x4c5021(0x99)],'class':_0x3dd227[_0x4c5021(0xb3)],'withText':!0x0,'role':_0x4c5021(0x93),'_action':_0x3dd227[_0x4c5021(0x9f)]})};_0xc2bfa6[_0x4c5021(0xb7)][_0x4c5021(0x9a)](_0x4c5021(0xb1))['to'](_0x200dba,_0x4c5021(0xab),_0x5acbb7=>_0x4c5021(0x9b)!=typeof _0x3dd227[_0x4c5021(0xb1)]||(!_0x5acbb7||_0x3dd227[_0x4c5021(0xb1)](_0x200dba))),_0xebc01c[_0x4c5021(0xa3)](_0xc2bfa6);}return _0xebc01c;}(_0x592932,_0x4a3622);return _0x592932[_0x198c7c(0x9a)](_0x198c7c(0xab))['to'](_0x232fd4,_0x198c7c(0x95)),_0x232fd4[_0x198c7c(0xa4)][_0x198c7c(0x8a)]({'label':_0x42e1bb(_0x4d445e,_0x198c7c(0xa5)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x148ca7[_0x198c7c(0xac)]}),_0x232fd4[_0x198c7c(0xa6)]({'attributes':{'class':[_0x198c7c(0x9d),_0x24600f['if'](_0x198c7c(0xab),_0x198c7c(0xb2))]},'on':{'click':_0x24600f['to'](_0x397055=>_0x397055[_0x198c7c(0xb9)]())}}),_0x232fd4['on'](_0x198c7c(0xb8),_0x5bc903=>{const _0x570f28=_0x198c7c;_0x592932[_0x570f28(0xb6)]&&_0x570f28(0x9b)==typeof _0x5bc903[_0x570f28(0x97)][_0x570f28(0xb0)]&&_0x5bc903[_0x570f28(0x97)][_0x570f28(0xb0)](_0x592932);}),_0x112409(_0x232fd4,_0x287ed5,{'role':_0x198c7c(0x90)}),_0x232fd4[_0x198c7c(0xba)](_0x592932,_0x198c7c(0x98),(_0x4f85d1,_0x1068f4,_0x24aee6)=>{const _0x3136eb=_0x198c7c;if(_0x24aee6)for(const _0x45ed75 of _0x232fd4[_0x3136eb(0x96)][_0x3136eb(0xad)]){const _0x3e78a6=_0x45ed75[_0x3136eb(0xa8)][_0x3136eb(0x9c)],_0x1567dd=_0x4a3622[_0x3136eb(0x91)](_0x382d77=>_0x382d77[_0x3136eb(0x9f)]===_0x3e78a6[_0x3136eb(0xb0)])[_0x3136eb(0x8f)];_0x45ed75[_0x3136eb(0x8f)]=void 0x0===_0x1567dd||_0x1567dd(_0x592932);}}),_0x232fd4;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x46e69f,_0x2f3244){const _0xed39f=_0x4f14,_0x3248bd=_0x46e69f();while(!![]){try{const _0x1da28d=-parseInt(_0xed39f(0x1a5))/0x1*(parseInt(_0xed39f(0x1ae))/0x2)+parseInt(_0xed39f(0x1b4))/0x3+-parseInt(_0xed39f(0x1a8))/0x4+parseInt(_0xed39f(0x1a2))/0x5*(parseInt(_0xed39f(0x1a4))/0x6)+parseInt(_0xed39f(0x1b7))/0x7+-parseInt(_0xed39f(0x1a6))/0x8*(parseInt(_0xed39f(0x1ad))/0x9)+parseInt(_0xed39f(0x1a3))/0xa*(parseInt(_0xed39f(0x1b5))/0xb);if(_0x1da28d===_0x2f3244)break;else _0x3248bd['push'](_0x3248bd['shift']());}catch(_0x5dec1a){_0x3248bd['push'](_0x3248bd['shift']());}}}(_0x3ddf,0xec2b5));function _0x4f14(_0x2623e3,_0x432485){const _0x3ddf01=_0x3ddf();return _0x4f14=function(_0x4f1445,_0x11b422){_0x4f1445=_0x4f1445-0x1a2;let _0x11fce0=_0x3ddf01[_0x4f1445];return _0x11fce0;},_0x4f14(_0x2623e3,_0x432485);}import{View as _0x18e7eb,IconView as _0x411df8}from'ckeditor5/src/ui.js';import{getTranslation as _0x21b62b}from'../../utils/common-translations.js';import'../../../theme/revision/revisionauthor.css';function _0x3ddf(){const _0x1faef7=['2053gAvKTR','376KqRidQ','setTemplate','1741980rJWpCe','ck-revision-history-sidebar__revision-author','ck-revision-history-sidebar__revision-author_creator','ck-revision-history-sidebar__revision-author__name','Revision\x20author','239049BUrlXP','1516bPJMsh','0\x200\x2011\x2010','span','Revision\x20creator','name','push','2670954kfaUOd','143gLPSMZ','set','7501431NISiIO','5WwsynL','1411970oUidAF','2459238lWJnzP'];_0x3ddf=function(){return _0x1faef7;};return _0x3ddf();}import _0x3dbb5a from'../../../theme/icons/user.svg';export default class ri extends _0x18e7eb{constructor(_0x189cbf,_0x4c6739,_0x5024a8){const _0x3548a5=_0x4f14;super(_0x189cbf);const _0x473c59=new _0x411df8();_0x473c59[_0x3548a5(0x1b6)]({'content':_0x3dbb5a,'viewBox':_0x3548a5(0x1af)});const _0x58a237=['ck',_0x3548a5(0x1a9)];_0x5024a8&&_0x58a237[_0x3548a5(0x1b3)](_0x3548a5(0x1aa));const _0x4f78fe=[{'tag':_0x3548a5(0x1b0),'attributes':{'class':['ck',_0x3548a5(0x1ab)],'title':_0x21b62b(_0x189cbf,_0x5024a8?_0x3548a5(0x1b1):_0x3548a5(0x1ac))},'children':[_0x473c59,_0x4c6739[_0x3548a5(0x1b2)]]}];this[_0x3548a5(0x1a7)]({'tag':'li','attributes':{'class':_0x58a237},'children':_0x4f78fe});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2075(_0x17f594,_0x3fa18a){const _0x2d4d58=_0x2d4d();return _0x2075=function(_0x20750e,_0x52a28d){_0x20750e=_0x20750e-0x7c;let _0x558e83=_0x2d4d58[_0x20750e];return _0x558e83;},_0x2075(_0x17f594,_0x3fa18a);}const _0x341d94=_0x2075;(function(_0x4affdb,_0x4ce6bc){const _0x58fd89=_0x2075,_0x2a60a5=_0x4affdb();while(!![]){try{const _0x36463e=parseInt(_0x58fd89(0x88))/0x1*(-parseInt(_0x58fd89(0x84))/0x2)+parseInt(_0x58fd89(0x8c))/0x3+parseInt(_0x58fd89(0x94))/0x4*(parseInt(_0x58fd89(0x7e))/0x5)+parseInt(_0x58fd89(0x95))/0x6+-parseInt(_0x58fd89(0x98))/0x7*(parseInt(_0x58fd89(0x85))/0x8)+-parseInt(_0x58fd89(0x87))/0x9+parseInt(_0x58fd89(0x82))/0xa*(parseInt(_0x58fd89(0x99))/0xb);if(_0x36463e===_0x4ce6bc)break;else _0x2a60a5['push'](_0x2a60a5['shift']());}catch(_0x2d8950){_0x2a60a5['push'](_0x2a60a5['shift']());}}}(_0x2d4d,0x4bdf4));import{LabeledFieldView as _0x21cca7}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x44e340}from'ckeditor5/src/utils.js';import{getTranslation as _0x55423d}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';function _0x2d4d(){const _0x3c33c6=['_tooltipString','293526dJqoqe','4904gAWliE','placeholder','1854243TnPAPm','2fPyWWW','span','Revision\x20name','ck-revision-history-sidebar__revision-name','102945quJbtD','bindTemplate','clientWidth','value','ck-tooltip_multi-line','element','set','extendTemplate','4oNLvEJ','1416492cZeUFs','scrollWidth','fieldView','3143XMvOoS','44wULQcI','_updateTooltipText','listenTo','_resizeObserver','input','434505HwJzaF','destroy','Enter\x20the\x20revision\x20name','render','1820660RTdfGO'];_0x2d4d=function(){return _0x3c33c6;};return _0x2d4d();}export default class mt extends _0x21cca7{constructor(_0x4db0c4,_0x1bb057){const _0x2c6ea5=_0x2075;super(_0x4db0c4,_0x1bb057),this[_0x2c6ea5(0x7c)]=null;const _0x430235=this[_0x2c6ea5(0x8d)];this[_0x2c6ea5(0x92)]({'label':_0x55423d(_0x4db0c4,_0x2c6ea5(0x8a)),'_tooltipString':''}),this[_0x2c6ea5(0x97)][_0x2c6ea5(0x86)]=_0x55423d(_0x4db0c4,_0x2c6ea5(0x80)),this[_0x2c6ea5(0x93)]({'tag':_0x2c6ea5(0x89),'attributes':{'class':[_0x2c6ea5(0x8b)],'data-cke-tooltip-text':_0x430235['to'](_0x2c6ea5(0x83)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x2c6ea5(0x90)}});}[_0x341d94(0x81)](){const _0x4e26c0=_0x341d94;super[_0x4e26c0(0x81)](),this[_0x4e26c0(0x7c)]=new _0x44e340(this[_0x4e26c0(0x97)][_0x4e26c0(0x91)],()=>this[_0x4e26c0(0x9a)]()),this[_0x4e26c0(0x9b)](this[_0x4e26c0(0x97)],_0x4e26c0(0x7d),()=>this[_0x4e26c0(0x9a)]());}[_0x341d94(0x7f)](){const _0x49e576=_0x341d94;super[_0x49e576(0x7f)](),this[_0x49e576(0x7c)]&&this[_0x49e576(0x7c)][_0x49e576(0x7f)]();}[_0x341d94(0x9a)](){const _0x223bc3=_0x341d94,_0x16c548=this[_0x223bc3(0x97)][_0x223bc3(0x91)];this[_0x223bc3(0x83)]=_0x16c548[_0x223bc3(0x96)]>_0x16c548[_0x223bc3(0x8e)]&&_0x16c548[_0x223bc3(0x8f)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x295f3b=_0x5b6e;function _0x5b6e(_0x57917b,_0x10501f){const _0x3ed14a=_0x3ed1();return _0x5b6e=function(_0x5b6e07,_0x485d98){_0x5b6e07=_0x5b6e07-0x15b;let _0x1785ad=_0x3ed14a[_0x5b6e07];return _0x1785ad;},_0x5b6e(_0x57917b,_0x10501f);}(function(_0x592b3b,_0x2ac0a0){const _0x329ea6=_0x5b6e,_0x2c003b=_0x592b3b();while(!![]){try{const _0x4c308c=-parseInt(_0x329ea6(0x194))/0x1*(-parseInt(_0x329ea6(0x15f))/0x2)+parseInt(_0x329ea6(0x197))/0x3*(-parseInt(_0x329ea6(0x18c))/0x4)+parseInt(_0x329ea6(0x188))/0x5+parseInt(_0x329ea6(0x163))/0x6+-parseInt(_0x329ea6(0x192))/0x7+-parseInt(_0x329ea6(0x167))/0x8*(parseInt(_0x329ea6(0x16c))/0x9)+parseInt(_0x329ea6(0x199))/0xa*(parseInt(_0x329ea6(0x186))/0xb);if(_0x4c308c===_0x2ac0a0)break;else _0x2c003b['push'](_0x2c003b['shift']());}catch(_0x2e74bc){_0x2c003b['push'](_0x2c003b['shift']());}}}(_0x3ed1,0x8f74b));import{View as _0x297cd2,createLabeledInputText as _0xa0d906}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x3ce836}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3ed1(){const _0xa0325c=['creator','ck-disabled','4655938zTaBfO','ck-revision-history-sidebar__revision','19fWliVG','ck-reset','setTemplate','152103pufjWr','name','70390UBbipd','_requireRevisionName','fieldView','ck-revision-history-sidebar__revision__date','select','uiLanguage','bindTemplate','isSelected','53954Qjbxpp','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','setName','isActionsDropdownOpen','6859596wdcpTX','element','bind','div','3402064KaaVln','authors','deselect','length','isReady','9eFIoTZ','revisionActionsView','ck-revision-history-sidebar__revision-wrapper','span','from','extendTemplate','revisionNameView','srcElement','render','unhighlight','ck-revision-history-sidebar__revision__controls-wrapper','unshift','map','ck-revision-history-sidebar__revision_selected','isEnabled','listenTo','ck-revision-history-sidebar__revision_highlighted','_revision','ck-revision-history-sidebar__revision-authors','.ck-thread__remove-confirm','220','value','highlight','createdAt','isHighlighted','closest','407zcPXNT','fire','1850635LxqUsS','isConfirm','ck-revision-history-sidebar__actions_dropdown_open','_createdAtFormatted','48UYqRGl','filter','set','change'];_0x3ed1=function(){return _0xa0325c;};return _0x3ed1();}import _0x3d1144 from'./revisionnameview.js';import _0x314633 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x4f9c0a}from'./utils.js';import{createActionsDropdownView as _0xba19c6}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class hi extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ce836(_0x297cd2){constructor(_0x499b6b,_0x15a55c,_0x20332e,_0x111f80){const _0x57f44d=_0x5b6e;super(_0x499b6b);const _0x38cefe=this[_0x57f44d(0x15d)],_0x228fb5=function(_0x1bd0de,_0x211573){const _0x4be2fe=_0x57f44d,_0x160246=Array[_0x4be2fe(0x170)](_0x211573[_0x4be2fe(0x168)])[_0x4be2fe(0x18d)](_0xcd5fc9=>_0xcd5fc9!=_0x211573[_0x4be2fe(0x190)]);return _0x211573[_0x4be2fe(0x190)]&&_0x160246[_0x4be2fe(0x177)](_0x211573[_0x4be2fe(0x190)]),_0x160246[_0x4be2fe(0x178)](_0x32a253=>new _0x314633(_0x1bd0de,_0x32a253,_0x32a253==_0x211573[_0x4be2fe(0x190)]));}(_0x499b6b,_0x15a55c);this['id']=_0x15a55c['id'],this[_0x57f44d(0x17d)]=_0x15a55c,this[_0x57f44d(0x19a)]=_0x111f80,this[_0x57f44d(0x165)](_0x57f44d(0x198),_0x57f44d(0x183))['to'](_0x15a55c),this[_0x57f44d(0x165)](_0x57f44d(0x18b))['to'](this,_0x57f44d(0x183),_0x290d56=>_0x4f9c0a(_0x499b6b[_0x57f44d(0x15c)],_0x290d56)),this[_0x57f44d(0x18e)](_0x57f44d(0x15e),!0x1),this[_0x57f44d(0x18e)](_0x57f44d(0x184),!0x1),this[_0x57f44d(0x18e)](_0x57f44d(0x162),!0x1),this[_0x57f44d(0x18e)](_0x57f44d(0x16b),!0x1),this[_0x57f44d(0x18e)](_0x57f44d(0x17a),!0x1),this[_0x57f44d(0x172)]=new _0x3d1144(_0x499b6b,_0xa0d906),this[_0x57f44d(0x172)][_0x57f44d(0x19b)][_0x57f44d(0x171)]({'attributes':{'maxlength':_0x57f44d(0x180)}}),this[_0x57f44d(0x172)][_0x57f44d(0x19b)][_0x57f44d(0x165)](_0x57f44d(0x181))['to'](this,_0x57f44d(0x198),_0x1431fa=>_0x1431fa||this[_0x57f44d(0x18b)]),this[_0x57f44d(0x172)][_0x57f44d(0x165)](_0x57f44d(0x17a))['to'](this,_0x57f44d(0x15e),this,_0x57f44d(0x17a),(_0x3aec62,_0x84156)=>_0x3aec62&&_0x84156),this[_0x57f44d(0x16d)]=_0x20332e&&_0x20332e[_0x57f44d(0x16a)]?_0xba19c6(this,_0x20332e):'',this[_0x57f44d(0x16d)]&&this[_0x57f44d(0x16d)][_0x57f44d(0x165)](_0x57f44d(0x17a))['to'](this),this[_0x57f44d(0x196)]({'tag':_0x57f44d(0x166),'attributes':{'class':['ck',_0x57f44d(0x195),_0x57f44d(0x16e),_0x38cefe['if'](_0x57f44d(0x189),_0x57f44d(0x160))]},'children':[{'tag':_0x57f44d(0x166),'attributes':{'class':['ck',_0x57f44d(0x195),_0x57f44d(0x193),_0x38cefe['if'](_0x57f44d(0x17a),_0x57f44d(0x191),_0x162e90=>!_0x162e90),_0x38cefe['if'](_0x57f44d(0x15e),_0x57f44d(0x179)),_0x38cefe['if'](_0x57f44d(0x184),_0x57f44d(0x17c)),_0x38cefe['if'](_0x57f44d(0x162),_0x57f44d(0x18a))]},'children':[this[_0x57f44d(0x172)],{'tag':_0x57f44d(0x16f),'attributes':{'class':['ck',_0x57f44d(0x19c)]},'children':[{'text':_0x38cefe['to'](_0x57f44d(0x18b))}]},{'tag':_0x57f44d(0x166),'attributes':{'class':['ck',_0x57f44d(0x176)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x57f44d(0x17e)]},'children':_0x228fb5}]},this[_0x57f44d(0x16d)]],'on':{'click':_0x38cefe['to'](_0xa1400f=>{const _0x13ee2a=_0x57f44d;_0xa1400f[_0x13ee2a(0x173)][_0x13ee2a(0x185)](_0x13ee2a(0x17f))||this[_0x13ee2a(0x16b)]&&this[_0x13ee2a(0x17a)]&&this[_0x13ee2a(0x187)](_0x13ee2a(0x15b),{'id':this['id']});})}}]});}[_0x295f3b(0x174)](){const _0x548cc8=_0x295f3b;super[_0x548cc8(0x174)]();const _0x59f284=this[_0x548cc8(0x172)][_0x548cc8(0x19b)][_0x548cc8(0x164)];this[_0x548cc8(0x17b)](_0x59f284,_0x548cc8(0x18f),()=>{const _0x2a5fd4=_0x548cc8;this[_0x2a5fd4(0x19a)]&&!_0x59f284[_0x2a5fd4(0x181)]||this[_0x2a5fd4(0x187)](_0x2a5fd4(0x161),{'id':this['id'],'name':_0x59f284[_0x2a5fd4(0x181)]}),_0x59f284[_0x2a5fd4(0x181)]||(_0x59f284[_0x2a5fd4(0x181)]=this[_0x2a5fd4(0x198)]?this[_0x2a5fd4(0x198)]:this[_0x2a5fd4(0x18b)]);});}[_0x295f3b(0x15b)](){const _0x368239=_0x295f3b;this[_0x368239(0x15e)]=!0x0;}[_0x295f3b(0x169)](){const _0x4eb3da=_0x295f3b;this[_0x4eb3da(0x15e)]=!0x1;}[_0x295f3b(0x182)](){const _0x5bfba1=_0x295f3b;this[_0x5bfba1(0x184)]=!0x0;}[_0x295f3b(0x175)](){const _0x22c9a9=_0x295f3b;this[_0x22c9a9(0x184)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x23a994=_0x5a06;(function(_0x115586,_0x12c7a4){const _0x49f3ab=_0x5a06,_0x150c6c=_0x115586();while(!![]){try{const _0x48d637=parseInt(_0x49f3ab(0x1c3))/0x1*(-parseInt(_0x49f3ab(0x1ba))/0x2)+-parseInt(_0x49f3ab(0x1b0))/0x3*(parseInt(_0x49f3ab(0x1b9))/0x4)+parseInt(_0x49f3ab(0x1bf))/0x5*(parseInt(_0x49f3ab(0x1c7))/0x6)+-parseInt(_0x49f3ab(0x1bb))/0x7*(-parseInt(_0x49f3ab(0x1c5))/0x8)+-parseInt(_0x49f3ab(0x1c6))/0x9+-parseInt(_0x49f3ab(0x1b2))/0xa*(parseInt(_0x49f3ab(0x1b3))/0xb)+-parseInt(_0x49f3ab(0x1bd))/0xc*(-parseInt(_0x49f3ab(0x1be))/0xd);if(_0x48d637===_0x12c7a4)break;else _0x150c6c['push'](_0x150c6c['shift']());}catch(_0x599c83){_0x150c6c['push'](_0x150c6c['shift']());}}}(_0x397c,0x867ba));function _0x397c(){const _0x5b0d1d=['364gLSOzs','164xpRxal','3526957NwyPwl','span','14726472mVzkEV','26KIISXr','20BVPLUm','setTemplate','_isCollapsed','isVisible','9015LEXtuK','bindTemplate','8jcmGYy','4801743kseSKi','1135050ZgofMr','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-revision-history-sidebar__subrevision-collapser','toggle','button','32385JiejXL','true','9090190DrmtRq','11NjxlOl','false','click','ck-hidden','ck-revision-history-sidebar__subrevision-collapser__inner','set'];_0x397c=function(){return _0x5b0d1d;};return _0x397c();}import{View as _0x57e04e}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x5a06(_0x562351,_0x2e28aa){const _0x397cf3=_0x397c();return _0x5a06=function(_0x5a06aa,_0x1ced53){_0x5a06aa=_0x5a06aa-0x1af;let _0x59e62d=_0x397cf3[_0x5a06aa];return _0x59e62d;},_0x5a06(_0x562351,_0x2e28aa);}export default class ls extends _0x57e04e{constructor(_0x5f377b){const _0x1edba6=_0x5a06;super(_0x5f377b);const _0x526055=this[_0x1edba6(0x1c4)];this[_0x1edba6(0x1b8)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x1edba6(0x1c0)]({'tag':_0x1edba6(0x1bc),'attributes':{'class':['ck',_0x1edba6(0x1c9),_0x526055['if'](_0x1edba6(0x1c2),_0x1edba6(0x1b6),_0x47e376=>!_0x47e376),_0x526055['if'](_0x1edba6(0x1c1),_0x1edba6(0x1c8))],'role':_0x1edba6(0x1af),'aria-pressed':_0x526055['to'](_0x1edba6(0x1c1),_0x54423f=>_0x54423f?_0x1edba6(0x1b4):_0x1edba6(0x1b1))},'children':[{'tag':_0x1edba6(0x1bc),'attributes':{'class':['ck',_0x1edba6(0x1b7)]}}],'on':{'click':_0x526055['to'](_0x1edba6(0x1b5))}});}[_0x23a994(0x1ca)](){const _0x3ee668=_0x23a994;this[_0x3ee668(0x1c1)]=!this[_0x3ee668(0x1c1)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41a183=_0x4112;(function(_0x1e3bfa,_0x2d02f6){const _0xee2222=_0x4112,_0x5c1e00=_0x1e3bfa();while(!![]){try{const _0x2ca32e=-parseInt(_0xee2222(0x168))/0x1*(parseInt(_0xee2222(0x16d))/0x2)+-parseInt(_0xee2222(0x156))/0x3*(parseInt(_0xee2222(0x164))/0x4)+-parseInt(_0xee2222(0x161))/0x5*(-parseInt(_0xee2222(0x165))/0x6)+-parseInt(_0xee2222(0x150))/0x7*(-parseInt(_0xee2222(0x16b))/0x8)+parseInt(_0xee2222(0x15f))/0x9*(parseInt(_0xee2222(0x15e))/0xa)+-parseInt(_0xee2222(0x15a))/0xb*(-parseInt(_0xee2222(0x155))/0xc)+-parseInt(_0xee2222(0x166))/0xd;if(_0x2ca32e===_0x2d02f6)break;else _0x5c1e00['push'](_0x5c1e00['shift']());}catch(_0x3e58fc){_0x5c1e00['push'](_0x5c1e00['shift']());}}}(_0x2603,0xb338a));import{View as _0x20e90d}from'ckeditor5/src/ui.js';function _0x4112(_0x1cee70,_0x1b5bfd){const _0x260387=_0x2603();return _0x4112=function(_0x4112b6,_0x105e97){_0x4112b6=_0x4112b6-0x14c;let _0x8d9387=_0x260387[_0x4112b6];return _0x8d9387;},_0x4112(_0x1cee70,_0x1b5bfd);}import _0x184cb0 from'./revisionauthorview.js';function _0x2603(){const _0xf8c455=['set','1190hXSPzo','bindTemplate','select','ck-revision-history-sidebar__revision','div','14165124bsHsVu','287382WqGjoD','creator','bind','ck-revision-history-sidebar__revision-authors','11rkQNNj','deselect','ck-reset','_parentRevisionId','92630wWzovY','9fEpxpm','ck-revision-history-sidebar__revision_selected','230nvRAwZ','span','_createdAtFormatted','8TnHrsY','65022LsfloW','10711766kXeAAH','createdAt','2TsoRWa','setTemplate','isSelected','10184kVDGdr','fire','154942ibOpmA','ck-revision-history-sidebar__subrevision','ck-revision-history-sidebar__revision__date','uiLanguage'];_0x2603=function(){return _0xf8c455;};return _0x2603();}import{dateToPrettyFormat as _0x16b17a}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class cs extends _0x20e90d{constructor(_0x285f2a,_0x59c349,_0xe86c73){const _0x9d40ef=_0x4112;super(_0x285f2a);const _0x458e08=this[_0x9d40ef(0x151)];this['id']=_0x59c349['id'],this[_0x9d40ef(0x158)](_0x9d40ef(0x167))['to'](_0x59c349),this[_0x9d40ef(0x14f)](_0x9d40ef(0x16a),!0x1),this[_0x9d40ef(0x158)](_0x9d40ef(0x163))['to'](this,_0x9d40ef(0x167),_0xbd606d=>_0xbd606d?_0x16b17a(_0x285f2a[_0x9d40ef(0x14e)],_0xbd606d):void 0x0),this[_0x9d40ef(0x15d)]=_0xe86c73,this[_0x9d40ef(0x169)]({'tag':_0x9d40ef(0x154),'attributes':{'class':['ck',_0x9d40ef(0x15c),_0x9d40ef(0x153),_0x9d40ef(0x14c),_0x458e08['if'](_0x9d40ef(0x16a),_0x9d40ef(0x160))]},'children':[{'tag':_0x9d40ef(0x162),'attributes':{'class':['ck',_0x9d40ef(0x14d)]},'children':[{'text':_0x458e08['to'](_0x9d40ef(0x163))}]},{'tag':'ul','attributes':{'class':['ck',_0x9d40ef(0x159)]},'children':[new _0x184cb0(_0x285f2a,_0x59c349[_0x9d40ef(0x157)],!0x0)]}],'on':{'click':_0x458e08['to'](this[_0x9d40ef(0x152)][_0x9d40ef(0x158)](this))}});}[_0x41a183(0x152)](){const _0x4900f1=_0x41a183;this[_0x4900f1(0x16a)]=!0x0,this[_0x4900f1(0x16c)](_0x4900f1(0x152),{'parentId':this[_0x4900f1(0x15d)]});}[_0x41a183(0x15b)](){const _0x3e4b5d=_0x41a183;this[_0x3e4b5d(0x16a)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x215c(){var _0x40301b=['10281024jqvCZb','149095NXDEzJ','3484208xjuuMv','long','150ZLgbWP','numeric','toLocaleTimeString','8uVxruE','977374Hhnkhp','toLocaleDateString','232936FThKEv','2886006ceeQYv','3328724BtjTII'];_0x215c=function(){return _0x40301b;};return _0x215c();}function _0x4e87(_0x9d7b1,_0x344ddc){var _0x215cbe=_0x215c();return _0x4e87=function(_0x4e8731,_0x8a081f){_0x4e8731=_0x4e8731-0x117;var _0x5f3fe0=_0x215cbe[_0x4e8731];return _0x5f3fe0;},_0x4e87(_0x9d7b1,_0x344ddc);}(function(_0x1caea1,_0x4c3780){var _0xe12d9c=_0x4e87,_0xbb1edb=_0x1caea1();while(!![]){try{var _0x57d8e7=parseInt(_0xe12d9c(0x11f))/0x1+-parseInt(_0xe12d9c(0x11d))/0x2+parseInt(_0xe12d9c(0x120))/0x3+parseInt(_0xe12d9c(0x117))/0x4+parseInt(_0xe12d9c(0x123))/0x5*(parseInt(_0xe12d9c(0x119))/0x6)+parseInt(_0xe12d9c(0x121))/0x7*(-parseInt(_0xe12d9c(0x11c))/0x8)+-parseInt(_0xe12d9c(0x122))/0x9;if(_0x57d8e7===_0x4c3780)break;else _0xbb1edb['push'](_0xbb1edb['shift']());}catch(_0x5c70b5){_0xbb1edb['push'](_0xbb1edb['shift']());}}}(_0x215c,0xac18e));export function dateToPrettyFormat(_0x2ed445,_0x2b002e){var _0x498259=_0x4e87;return _0x2b002e[_0x498259(0x11e)](_0x2ed445,{'month':_0x498259(0x118),'day':_0x498259(0x11a)})+',\x20'+_0x2b002e[_0x498259(0x11b)](_0x2ed445,{'hour':_0x498259(0x11a),'minute':_0x498259(0x11a)});}
|