@ckeditor/ckeditor5-revision-history 42.0.0-alpha.0 → 42.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/revisiontracker.d.ts +6 -1
- package/dist/types/revisionviewer.d.ts +82 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +6 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +82 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +9 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +25 -0
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x40ad0f=_0x549e;(function(_0x296079,_0x3fd1b2){const _0x146535=_0x549e,_0x5d14f6=_0x296079();while(!![]){try{const _0x18e4e6=-parseInt(_0x146535(0x2cc))/0x1+-parseInt(_0x146535(0x22a))/0x2*(parseInt(_0x146535(0x25e))/0x3)+-parseInt(_0x146535(0x246))/0x4+parseInt(_0x146535(0x1ce))/0x5*(-parseInt(_0x146535(0x27f))/0x6)+parseInt(_0x146535(0x26e))/0x7+-parseInt(_0x146535(0x2ae))/0x8+parseInt(_0x146535(0x1a7))/0x9;if(_0x18e4e6===_0x3fd1b2)break;else _0x5d14f6['push'](_0x5d14f6['shift']());}catch(_0x423868){_0x5d14f6['push'](_0x5d14f6['shift']());}}}(_0x2da2,0x4ef16));import{Plugin as _0xa10d8e,Command as _0x582cef}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1212da}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0xf179a3}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x3c09cd,Element as _0xd26582,Text as _0x30c199,ViewDocumentFragment as _0x3d8b1c,ViewText as _0x5aa840,ViewElement as _0x1be6ad,ViewContainerElement as _0x50f6e1,ViewAttributeElement as _0x14b19b,ViewEmptyElement as _0x1fd4f4,ViewRawElement as _0x52c4bd,ViewUIElement as _0x34cc42}from'ckeditor5/src/engine.js';import{Users as _0x3dd1f3,getMarkerDomElement as _0x46f6d9}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x562ca9 from'./ui/revisionviewer/changedetailsview.js';import _0x189da5 from'./revisionsrepository.js';import _0x2a440b from'./changeitem.js';import{default as _0x8f077c}from'./revisiondiff.js';import'../theme/revisionviewer.css';function _0x549e(_0xea799a,_0x5eaa22){const _0x2da27f=_0x2da2();return _0x549e=function(_0x549ed6,_0x2b2f24){_0x549ed6=_0x549ed6-0x187;let _0x3b63a2=_0x2da27f[_0x549ed6];return _0x3b63a2;},_0x549e(_0xea799a,_0x5eaa22);}import{cloneDeep as _0x1a1294}from'lodash-es';const tt={'c':_0x50f6e1,'a':_0x14b19b,'e':_0x1fd4f4,'r':_0x52c4bd,'u':_0x34cc42};export default class d extends _0xa10d8e{static get[_0x40ad0f(0x1f6)](){const _0x585831=_0x40ad0f;return _0x585831(0x1e5);}static get[_0x40ad0f(0x1ea)](){return[_0x3dd1f3,_0xf179a3,_0x189da5];}constructor(_0x353c7a){const _0xbfac48=_0x40ad0f;super(_0x353c7a),this[_0xbfac48(0x1c4)]=this[_0xbfac48(0x2c8)][_0xbfac48(0x1bc)][_0xbfac48(0x2c6)](_0xbfac48(0x2a0)),this[_0xbfac48(0x195)](_0xbfac48(0x2b7),null),this[_0xbfac48(0x195)](_0xbfac48(0x200),null),this[_0xbfac48(0x1fc)]=null,this[_0xbfac48(0x195)](_0xbfac48(0x1e8),null),this[_0xbfac48(0x195)](_0xbfac48(0x25f),!0x1),this[_0xbfac48(0x195)](_0xbfac48(0x1ad),!0x0),this['on'](_0xbfac48(0x1d2),(_0x1a3061,_0x3fa5f8,_0x263ac9)=>{const _0x40d547=_0xbfac48;this[_0x40d547(0x2b7)]=null,this[_0x40d547(0x200)]=null,this[_0x40d547(0x2c8)][_0x40d547(0x2af)][_0x40d547(0x1e4)][_0x40d547(0x1b9)](_0x14ac1b=>{const _0x1f4b63=_0x40d547;for(const _0x4d7b33 of this[_0x1f4b63(0x2c8)][_0x1f4b63(0x2af)][_0x1f4b63(0x1e4)][_0x1f4b63(0x1ae)][_0x1f4b63(0x203)])_0x263ac9?_0x14ac1b[_0x1f4b63(0x1b8)](_0x1f4b63(0x19b),_0x4d7b33):_0x14ac1b[_0x1f4b63(0x1c5)](_0x1f4b63(0x19b),_0x4d7b33);});}),this[_0xbfac48(0x19f)](_0xbfac48(0x211))['to'](this,_0xbfac48(0x2b7),_0x3e5677=>null!==_0x3e5677),this[_0xbfac48(0x19f)](_0xbfac48(0x223))['to'](this,_0xbfac48(0x25f),this,_0xbfac48(0x1e8),this,_0xbfac48(0x2b7),(_0x7e4b65,_0x193c6a,_0x51c0e5)=>_0x7e4b65&&_0x51c0e5?_0x193c6a[_0xbfac48(0x1be)][_0xbfac48(0x2d1)](_0x51c0e5):0x0),this[_0xbfac48(0x19f)](_0xbfac48(0x268))['to'](this,_0xbfac48(0x25f),this,_0xbfac48(0x1e8),(_0x5233c4,_0x3fadbf)=>_0x5233c4?_0x3fadbf[_0xbfac48(0x1be)][_0xbfac48(0x23b)]:0x0),this[_0xbfac48(0x2b4)]=null,this[_0xbfac48(0x281)]=new Map(),this[_0xbfac48(0x255)]=null,this[_0xbfac48(0x248)]=this[_0xbfac48(0x2c8)][_0xbfac48(0x1bc)][_0xbfac48(0x2c6)](_0xf179a3);}[_0x40ad0f(0x1f7)](){const _0x33bbfc=_0x40ad0f,_0x49525f=this[_0x33bbfc(0x2c8)],_0x34aabd=new ShowChangeCommand(_0x49525f,{'direction':_0x33bbfc(0x24c)}),_0x43af01=new ShowChangeCommand(_0x49525f,{'direction':_0x33bbfc(0x23e)});(_0x49525f[_0x33bbfc(0x230)][_0x33bbfc(0x2a5)](_0x33bbfc(0x289),_0x34aabd),_0x49525f[_0x33bbfc(0x230)][_0x33bbfc(0x2a5)](_0x33bbfc(0x232),_0x43af01),_0x49525f[_0x33bbfc(0x230)][_0x33bbfc(0x2a5)](_0x33bbfc(0x1d3),new RestoreRevisionCommand(_0x49525f)),this['on'](_0x33bbfc(0x1ba),()=>{const _0x4c7d1f=_0x33bbfc;_0x34aabd[_0x4c7d1f(0x2cb)](),_0x43af01[_0x4c7d1f(0x2cb)]();}),this[_0x33bbfc(0x242)](),this[_0x33bbfc(0x2bb)](),_0x49525f[_0x33bbfc(0x18d)](_0x33bbfc(0x20e)),_0x49525f[_0x33bbfc(0x1bc)][_0x33bbfc(0x1cf)](_0x33bbfc(0x288)))&&_0x49525f[_0x33bbfc(0x1bc)][_0x33bbfc(0x2c6)](_0x33bbfc(0x288))[_0x33bbfc(0x20c)](_0x33bbfc(0x20e));}async[_0x40ad0f(0x241)](_0x5cce95){const _0x4c643d=_0x40ad0f;await this[_0x4c643d(0x1ca)](_0x5cce95);const _0x52972b={};for(const _0x4016a6 in _0x5cce95[_0x4c643d(0x23f)]){if(_0x5cce95[_0x4c643d(0x23f)][_0x4016a6][_0x4c643d(0x254)]&&!_0x5cce95[_0x4c643d(0x23f)][_0x4016a6][_0x4c643d(0x254)][_0x4c643d(0x192)])continue;const _0x3b4a3a=this[_0x4c643d(0x1d4)](JSON[_0x4c643d(0x1b1)](_0x5cce95[_0x4c643d(0x23f)][_0x4016a6][_0x4c643d(0x22b)])),_0x16670c=this[_0x4c643d(0x2c8)][_0x4c643d(0x2af)][_0x4c643d(0x1e4)][_0x4c643d(0x1ae)],_0x321dfc=new _0x3d8b1c(_0x16670c,_0x3b4a3a[_0x4c643d(0x2b9)](_0x2321ec=>this[_0x4c643d(0x26d)](_0x2321ec)));this[_0x4c643d(0x2c8)][_0x4c643d(0x19a)][_0x4c643d(0x245)][_0x4c643d(0x1bd)](_0x4c643d(0x20a)),_0x52972b[_0x4016a6]=this[_0x4c643d(0x2c8)][_0x4c643d(0x19a)][_0x4c643d(0x245)][_0x4c643d(0x29a)](_0x321dfc),this[_0x4c643d(0x2c8)][_0x4c643d(0x19a)][_0x4c643d(0x245)][_0x4c643d(0x1bd)](_0x4c643d(0x266));}return _0x52972b;}async[_0x40ad0f(0x1da)](_0x38ee80){const _0x4f9f5a=_0x40ad0f;await this[_0x4f9f5a(0x1ca)](_0x38ee80);const _0x392f40={};for(const _0x1930be in _0x38ee80[_0x4f9f5a(0x23f)])_0x38ee80[_0x4f9f5a(0x23f)][_0x1930be][_0x4f9f5a(0x254)]&&!_0x38ee80[_0x4f9f5a(0x23f)][_0x1930be][_0x4f9f5a(0x254)][_0x4f9f5a(0x192)]||(_0x392f40[_0x1930be]=_0x38ee80[_0x4f9f5a(0x23f)][_0x1930be][_0x4f9f5a(0x257)]||{});return _0x392f40;}[_0x40ad0f(0x1d4)](_0x20d8de){const _0x34f69c=_0x40ad0f;return(_0x20d8de=_0x20d8de[_0x34f69c(0x1c3)](_0x115a1d=>!_0x115a1d[_0x34f69c(0x2b0)]||_0x34f69c(0x2c7)!==_0x115a1d[_0x34f69c(0x2b0)]&&_0x34f69c(0x279)!==_0x115a1d[_0x34f69c(0x2b0)]))[_0x34f69c(0x249)](_0xa676c4=>{const _0x3bec32=_0x34f69c;_0x3bec32(0x28d)!=typeof _0xa676c4&&(_0xa676c4[_0x3bec32(0x25d)]=this[_0x3bec32(0x1d4)](_0xa676c4[_0x3bec32(0x25d)]),_0xa676c4[_0x3bec32(0x222)]=_0xa676c4[_0x3bec32(0x222)][_0x3bec32(0x1c3)](_0x4bf0e3=>!_0x4bf0e3[0x0][_0x3bec32(0x1eb)](_0x3bec32(0x216))));}),_0x20d8de;}async[_0x40ad0f(0x1ff)](_0x2781d3,_0x49f39b,_0x4b2060=!0x1){const _0x70101d=_0x40ad0f;if(!this[_0x70101d(0x1ad)])return;const _0x48194b=this[_0x70101d(0x1e8)],_0x95fbd9=this[_0x70101d(0x1c4)],_0x3f16d4=_0x70101d(0x28d)==typeof _0x2781d3?_0x95fbd9[_0x70101d(0x256)](_0x2781d3):_0x2781d3,_0x2892b1=_0x70101d(0x28d)==typeof _0x49f39b?_0x95fbd9[_0x70101d(0x256)](_0x49f39b):_0x49f39b,_0x338240=_0x3f16d4['id'],_0xbd77ff=_0x2892b1?_0x2892b1['id']:null;if(!_0x4b2060&&this[_0x70101d(0x1e8)]&&this[_0x70101d(0x1e8)][_0x70101d(0x228)]===_0x338240&&this[_0x70101d(0x1e8)][_0x70101d(0x1ab)]===_0xbd77ff)return Promise[_0x70101d(0x1f1)]();this[_0x70101d(0x25f)]=!0x1,this[_0x70101d(0x200)]=null,this[_0x70101d(0x2b7)]=null,this[_0x70101d(0x1e8)]=new _0x8f077c(_0x338240,_0xbd77ff);const _0x4d826e=this[_0x70101d(0x243)](_0x3f16d4,_0x2892b1,!0x0)[_0x70101d(0x2b9)](_0x5a6b99=>this[_0x70101d(0x1ca)](_0x5a6b99));return _0x4d826e[_0x70101d(0x2a6)](new Promise(_0x304a0e=>{setTimeout(_0x304a0e,0x14);})),Promise[_0x70101d(0x2b3)](_0x4d826e)[_0x70101d(0x29c)](()=>{const _0x621aa2=_0x70101d;if(!this[_0x621aa2(0x1ad)])return;this[_0x621aa2(0x1f3)]();const _0x3c99e6=this[_0x621aa2(0x1dd)](_0x338240,_0xbd77ff);for(const _0x1a9ff2 of _0x3c99e6[_0x621aa2(0x1be)])this[_0x621aa2(0x281)][_0x621aa2(0x195)](_0x1a9ff2['id'],_0x1a9ff2);this[_0x621aa2(0x2c8)][_0x621aa2(0x24e)][_0x621aa2(0x23a)]({'isUndoable':!0x1},_0x61650b=>{const _0x74eb62=_0x621aa2;for(const _0x19559e of this[_0x74eb62(0x2c8)][_0x74eb62(0x24e)][_0x74eb62(0x1ae)][_0x74eb62(0x1c8)]())_0x61650b[_0x74eb62(0x29e)](_0x19559e);for(const _0x56b97d of Object[_0x74eb62(0x1f2)](_0x3c99e6[_0x74eb62(0x24e)])){const _0x54c729=_0x61650b[_0x74eb62(0x1ac)](_0x56b97d);for(const _0x3a9580 of Object[_0x74eb62(0x1f2)](_0x3c99e6[_0x74eb62(0x222)][_0x56b97d]))_0x61650b[_0x74eb62(0x21c)](_0x3a9580,_0x3c99e6[_0x74eb62(0x222)][_0x56b97d][_0x3a9580],_0x54c729);_0x61650b[_0x74eb62(0x276)](_0x3c99e6[_0x74eb62(0x24e)][_0x56b97d],_0x54c729,0x0);}}),this[_0x621aa2(0x1e8)][_0x621aa2(0x1f5)](this[_0x621aa2(0x18a)](_0x3c99e6[_0x621aa2(0x1be)])),this[_0x621aa2(0x25f)]=!0x0;})[_0x70101d(0x292)](_0x524649=>{const _0x14338d=_0x70101d;console[_0x14338d(0x294)](_0x524649),this[_0x14338d(0x1f3)](),_0x48194b&&(this[_0x14338d(0x1e8)]=_0x48194b),this[_0x14338d(0x25f)]=!0x0;});}[_0x40ad0f(0x2bd)](_0x509abd,_0x219995){const _0x413416=_0x40ad0f,_0x34cd2c=this[_0x413416(0x1c4)][_0x413416(0x2d2)](_0x509abd);return _0x34cd2c['on'](_0x413416(0x259),(_0x509e4d,_0x7699de,_0xcb13ae)=>_0x219995(_0x7699de,_0xcb13ae,_0x34cd2c)),this[_0x413416(0x1c4)][_0x413416(0x1a3)](_0x34cd2c),_0x34cd2c;}[_0x40ad0f(0x1ca)](_0x10633b){const _0x511f8=_0x40ad0f;if(!_0x10633b||_0x10633b[_0x511f8(0x23f)])return Promise[_0x511f8(0x1f1)]();{const _0x2c7340=this[_0x511f8(0x2c8)][_0x511f8(0x261)][_0x511f8(0x2c6)](_0x511f8(0x25b));return this[_0x511f8(0x255)][_0x511f8(0x256)]({'channelId':_0x2c7340,'revisionId':_0x10633b['id']})[_0x511f8(0x29c)](_0x55ef67=>{const _0x12f05b=_0x511f8;_0x10633b[_0x12f05b(0x259)]({'diffData':_0x55ef67[_0x12f05b(0x23f)]},!0x0);});}}[_0x40ad0f(0x1f3)](){const _0x8d127f=_0x40ad0f;this[_0x8d127f(0x2b7)]=null,this[_0x8d127f(0x265)](),this[_0x8d127f(0x2b4)]&&this[_0x8d127f(0x2b4)][_0x8d127f(0x191)](),this[_0x8d127f(0x2b4)]=null,this[_0x8d127f(0x281)][_0x8d127f(0x20b)](),this[_0x8d127f(0x2c8)][_0x8d127f(0x24e)][_0x8d127f(0x23a)]({'isUndoable':!0x1},_0xab51b6=>{const _0xb41a5c=_0x8d127f;for(const _0x534ad8 of this[_0xb41a5c(0x2c8)][_0xb41a5c(0x24e)][_0xb41a5c(0x1ae)][_0xb41a5c(0x1c8)]())_0xab51b6[_0xb41a5c(0x29e)](_0x534ad8);});}[_0x40ad0f(0x18a)](_0x97a857){const _0x297eaf=_0x40ad0f,_0x5c3b4a=[],_0x3f88f1=new Map();for(const _0x48c542 of this[_0x297eaf(0x2c8)][_0x297eaf(0x24e)][_0x297eaf(0x1ae)][_0x297eaf(0x1c8)]()){const _0x4a50e5=this[_0x297eaf(0x2c8)][_0x297eaf(0x2af)][_0x297eaf(0x1e4)][_0x297eaf(0x1bb)](_0x48c542);if(!_0x4a50e5)continue;const _0x1f65b7=_0x4a50e5[_0x297eaf(0x272)]()[_0x297eaf(0x21e)](0x0);_0x1f65b7&&(_0x5c3b4a[_0x297eaf(0x2a6)](_0x48c542),_0x3f88f1[_0x297eaf(0x195)](_0x48c542,_0x1f65b7));}return _0x5c3b4a[_0x297eaf(0x2be)]((_0x1f2183,_0x4c588e)=>{const _0x3c27a0=_0x297eaf,_0x32ef20=_0x3f88f1[_0x3c27a0(0x2c6)](_0x1f2183),_0x1de779=_0x3f88f1[_0x3c27a0(0x2c6)](_0x4c588e);return _0x32ef20['y']-_0x1de779['y']||_0x32ef20['x']-_0x1de779['x'];}),(_0x97a857=_0x97a857[_0x297eaf(0x1c3)](_0x458194=>_0x5c3b4a[_0x297eaf(0x25c)](_0x458194[_0x297eaf(0x1af)])))[_0x297eaf(0x2be)]((_0x356003,_0x464a5d)=>_0x5c3b4a[_0x297eaf(0x1fb)](_0x356003[_0x297eaf(0x1af)])-_0x5c3b4a[_0x297eaf(0x1fb)](_0x464a5d[_0x297eaf(0x1af)])),_0x97a857;}[_0x40ad0f(0x207)](_0x270dc1){const _0x4302e2=_0x40ad0f,_0x43649a=Array[_0x4302e2(0x275)](_0x270dc1[_0x4302e2(0x286)])[_0x4302e2(0x1c3)](([_0x2b3bbd,_0x54d001])=>_0x2b3bbd[_0x4302e2(0x1eb)](_0x4302e2(0x27d))&&!_0x54d001[_0x4302e2(0x262)]),_0x766325=Array[_0x4302e2(0x275)](this[_0x4302e2(0x2c8)][_0x4302e2(0x24e)][_0x4302e2(0x193)](_0x270dc1)[_0x4302e2(0x1a8)]({'singleCharacters':!0x0}));if(0x0!=_0x43649a[_0x4302e2(0x23b)])for(const _0x352220 of _0x766325){const [_0x19be66,_0x4f88e5]=_0x43649a[0x0],[,_0x4acd1e,_0x50a671]=_0x19be66[_0x4302e2(0x215)](':');if(_0x4f88e5[_0x4302e2(0x1c6)][_0x4302e2(0x28e)](_0x352220[_0x4302e2(0x209)])&&_0x43649a[_0x4302e2(0x1e6)](),(_0x352220[_0x4302e2(0x24f)][_0x4302e2(0x28e)](_0x4f88e5[_0x4302e2(0x1cb)])||_0x352220[_0x4302e2(0x24f)][_0x4302e2(0x2d0)](_0x4f88e5[_0x4302e2(0x1cb)]))&&(_0x4302e2(0x2a3)==_0x4acd1e?_0x352220[_0x4302e2(0x208)]={'userId':_0x50a671}:_0x4302e2(0x2ca)==_0x4acd1e&&(_0x352220[_0x4302e2(0x214)]={'userId':_0x50a671})),0x0==_0x43649a[_0x4302e2(0x23b)])break;}return _0x766325;}[_0x40ad0f(0x2aa)](_0x4bba64){const _0x596776=_0x40ad0f,_0x266500=new Map();for(let _0x4bda52=0x0;_0x4bda52<_0x4bba64[_0x596776(0x23b)];_0x4bda52++)_0x596776(0x2c4)===_0x4bba64[_0x4bda52][_0x596776(0x2bf)]?(_0x4bba64[_0x4bda52][_0x596776(0x21e)][_0x596776(0x237)]=_0x4bda52,_0x4bba64[_0x4bda52][_0x596776(0x21e)][_0x596776(0x28c)]=_0x4bda52):(_0x596776(0x18c)===_0x4bba64[_0x4bda52][_0x596776(0x2bf)]?_0x4bba64[_0x4bda52][_0x596776(0x21e)][_0x596776(0x237)]=_0x4bda52:_0x596776(0x2a7)===_0x4bba64[_0x4bda52][_0x596776(0x2bf)]&&(_0x4bba64[_0x4bda52][_0x596776(0x21e)][_0x596776(0x28c)]=_0x4bda52),_0x266500[_0x596776(0x195)](_0x4bba64[_0x4bda52]['id'],_0x4bda52));for(const _0x2c2cef of _0x266500[_0x596776(0x194)]())_0x596776(0x18c)===_0x4bba64[_0x2c2cef][_0x596776(0x2bf)]?_0x4bba64[_0x2c2cef][_0x596776(0x21e)][_0x596776(0x28c)]=_0x266500[_0x596776(0x2c6)](_0x4bba64[_0x2c2cef][_0x596776(0x204)]):_0x596776(0x2a7)===_0x4bba64[_0x2c2cef][_0x596776(0x2bf)]&&(_0x4bba64[_0x2c2cef][_0x596776(0x21e)][_0x596776(0x237)]=_0x266500[_0x596776(0x2c6)](_0x4bba64[_0x2c2cef][_0x596776(0x204)]));}[_0x40ad0f(0x252)](_0x3101f0){const _0x52218b=_0x40ad0f;for(let _0x33bc19=0x0;_0x33bc19<_0x3101f0[_0x52218b(0x23b)];_0x33bc19++){if(_0x52218b(0x18c)===_0x3101f0[_0x33bc19][_0x52218b(0x2bf)])_0x3101f0[_0x33bc19][_0x52218b(0x21e)][_0x52218b(0x237)]=_0x33bc19;else{if(_0x52218b(0x2a7)===_0x3101f0[_0x33bc19][_0x52218b(0x2bf)]){_0x3101f0[_0x33bc19][_0x52218b(0x21e)][_0x52218b(0x28c)]=_0x33bc19;const _0x467e90=_0x3101f0[_0x33bc19][_0x52218b(0x21e)][_0x52218b(0x237)];_0x3101f0[_0x467e90][_0x52218b(0x204)]=_0x3101f0[_0x33bc19]['id'],_0x3101f0[_0x33bc19][_0x52218b(0x204)]=_0x3101f0[_0x467e90]['id'];}else _0x3101f0[_0x33bc19][_0x52218b(0x21e)][_0x52218b(0x237)]=_0x33bc19,_0x3101f0[_0x33bc19][_0x52218b(0x21e)][_0x52218b(0x28c)]=_0x33bc19,_0x3101f0[_0x33bc19][_0x52218b(0x204)]=null;}_0x3101f0[_0x33bc19][_0x52218b(0x18f)]||(_0x3101f0[_0x33bc19][_0x52218b(0x18f)]=[],_0x3101f0[_0x33bc19][_0x52218b(0x225)]=[]);}}[_0x40ad0f(0x2b1)](_0x4e4b72,_0x1ed2f7){const _0x536ba9=_0x40ad0f,_0x37bffd=_0x4e4b72[_0x536ba9(0x1c3)](_0x365b9e=>!_0x365b9e[_0x536ba9(0x208)]);for(let _0x52d5d3=0x0;_0x52d5d3<_0x1ed2f7[_0x536ba9(0x23b)];_0x52d5d3++)_0x1ed2f7[_0x52d5d3][_0x536ba9(0x208)]&&(_0x37bffd[_0x52d5d3][_0x536ba9(0x208)]=_0x1ed2f7[_0x52d5d3][_0x536ba9(0x208)]);}[_0x40ad0f(0x267)](_0x58c66a){const _0x509da6=_0x40ad0f,_0xbb9c18=JSON[_0x509da6(0x1b1)](_0x58c66a),_0x1b0b15=this[_0x509da6(0x2c8)][_0x509da6(0x2af)][_0x509da6(0x1e4)][_0x509da6(0x1ae)],_0x18861a=new _0x3d8b1c(_0x1b0b15,_0xbb9c18[_0x509da6(0x2b9)](_0xd7dffa=>this[_0x509da6(0x26d)](_0xd7dffa)));return this[_0x509da6(0x2c8)][_0x509da6(0x19a)][_0x509da6(0x284)](_0x18861a);}[_0x40ad0f(0x26d)](_0x1ba58f){const _0x110eb4=_0x40ad0f,_0x3799b6=this[_0x110eb4(0x2c8)][_0x110eb4(0x2af)][_0x110eb4(0x1e4)][_0x110eb4(0x1ae)];if(_0x110eb4(0x28d)==typeof _0x1ba58f)return new _0x5aa840(_0x3799b6,_0x1ba58f);{const _0x237e4b=_0x1ba58f[_0x110eb4(0x25d)][_0x110eb4(0x2b9)](_0x144d98=>this[_0x110eb4(0x26d)](_0x144d98));return new(tt[_0x1ba58f[(_0x110eb4(0x2bf))]]||_0x1be6ad)(_0x3799b6,_0x1ba58f[_0x110eb4(0x2b0)],_0x1ba58f[_0x110eb4(0x222)],_0x237e4b);}}[_0x40ad0f(0x1dd)](_0x2fd217,_0xe31ba5=null){const _0x41b216=_0x40ad0f,_0x25820e=this[_0x41b216(0x1c4)][_0x41b216(0x256)](_0x2fd217),_0x291652=_0xe31ba5?this[_0x41b216(0x1c4)][_0x41b216(0x256)](_0xe31ba5):null,_0x50730f=this[_0x41b216(0x243)](_0x25820e,_0x291652),_0x107b3d=_0x50730f[_0x50730f[_0x41b216(0x23b)]-0x1],_0x2a3b37=new Map(),_0x174714={'model':{},'attributes':{},'changes':[]},_0x2fafde=new Set(),_0xf19a23=new Map();for(let _0x157895=_0x50730f[_0x41b216(0x23b)]-0x1;_0x157895>=0x0;_0x157895--){const _0x1d12e3=_0x50730f[_0x157895];for(const _0x4b4d49 of Object[_0x41b216(0x1f2)](_0x1d12e3[_0x41b216(0x23f)]))if(_0x1d12e3[_0x41b216(0x23f)][_0x4b4d49][_0x41b216(0x254)]){const _0x145e10=_0x1d12e3[_0x41b216(0x23f)][_0x4b4d49][_0x41b216(0x254)];_0x145e10[_0x41b216(0x192)]?(_0x2fafde[_0x41b216(0x2a5)](_0x4b4d49),_0xf19a23[_0x41b216(0x1cf)](_0x4b4d49)&&_0xf19a23[_0x41b216(0x2c6)](_0x4b4d49)[_0x41b216(0x1b5)]==_0x145e10[_0x41b216(0x1b5)]?_0xf19a23[_0x41b216(0x1a1)](_0x4b4d49):_0xf19a23[_0x41b216(0x195)](_0x4b4d49,_0x145e10)):_0xf19a23[_0x41b216(0x1cf)](_0x4b4d49)?(_0x2fafde[_0x41b216(0x1a1)](_0x4b4d49),_0xf19a23[_0x41b216(0x1a1)](_0x4b4d49)):(_0x2fafde[_0x41b216(0x2a5)](_0x4b4d49),_0xf19a23[_0x41b216(0x195)](_0x4b4d49,_0x145e10));}else _0x2fafde[_0x41b216(0x2a5)](_0x4b4d49);}for(const _0x4cd62e of _0x2fafde){const _0x161887=_0xf19a23[_0x41b216(0x1cf)](_0x4cd62e)&&!_0xf19a23[_0x41b216(0x2c6)](_0x4cd62e)[_0x41b216(0x192)];let _0x2144de=_0x161887?_0x50730f[_0x41b216(0x23b)]-0x1:0x0;const _0x25e7e1=_0x161887?-0x1:0x1;for(;_0x50730f[_0x2144de];){const _0x3e5f7b=_0x50730f[_0x2144de];if(_0x3e5f7b[_0x41b216(0x23f)][_0x4cd62e]){const _0x186723=_0x161887?_0x3e5f7b[_0x41b216(0x23f)][_0x4cd62e][_0x41b216(0x1b7)]:_0x3e5f7b[_0x41b216(0x23f)][_0x4cd62e][_0x41b216(0x257)];_0x174714[_0x41b216(0x222)][_0x4cd62e]=_0x186723?_0x1a1294(_0x186723):{};break;}_0x2144de+=_0x25e7e1;}}for(const _0x5c550d of _0x50730f){_0x5c550d[_0x41b216(0x24e)]={};for(const _0x46c322 of _0x5c550d[_0x41b216(0x202)])_0x2a3b37[_0x41b216(0x195)](_0x46c322['id'],_0x46c322);for(const _0x2b9624 of _0x2fafde){const _0x1205f7=_0x5c550d[_0x41b216(0x23f)][_0x2b9624]?_0x5c550d[_0x41b216(0x23f)][_0x2b9624][_0x41b216(0x22b)]:'[]',_0x5c9d33=_0x5c550d[_0x41b216(0x23f)][_0x2b9624]?_0x5c550d[_0x41b216(0x23f)][_0x2b9624][_0x41b216(0x28b)]:'[]';_0x5c550d[_0x41b216(0x24e)][_0x2b9624]={'insertions':this[_0x41b216(0x267)](_0x1205f7),'deletions':this[_0x41b216(0x267)](_0x5c9d33)};}}for(const _0x2646b3 of _0x2fafde){let _0x4e5b35=null,_0x35b70b=0x0;const _0x12f728=new Map(Array[_0x41b216(0x275)](_0x25820e[_0x41b216(0x24e)][_0x2646b3][_0x41b216(0x22b)][_0x41b216(0x286)])[_0x41b216(0x1c3)](([_0x5b9499])=>!_0x5b9499[_0x41b216(0x1eb)](_0x41b216(0x27d))));let _0x2f93d9=0x0;for(const _0x30bd0d of _0x50730f){const _0x1e3b55=this[_0x41b216(0x207)](_0x30bd0d[_0x41b216(0x24e)][_0x2646b3][_0x41b216(0x22b)]);_0x30bd0d==_0x25820e?(_0x4e5b35=_0x1e3b55,_0x35b70b=_0x4e5b35[_0x41b216(0x23b)],_0x4e5b35[_0x41b216(0x249)](_0x44d099=>{_0x44d099['id']=_0x2f93d9++;}),this[_0x41b216(0x252)](_0x4e5b35)):this[_0x41b216(0x2b1)](_0x4e5b35,_0x1e3b55);const _0xeb678b=_0x4e5b35[_0x41b216(0x1c3)](_0x3c05eb=>!_0x3c05eb[_0x41b216(0x208)])[_0x41b216(0x2b9)](_0x12c0da=>_0x12c0da['id']);let _0x141746=0x0;const _0x427934=this[_0x41b216(0x207)](_0x30bd0d[_0x41b216(0x24e)][_0x2646b3][_0x41b216(0x28b)]);_0x427934[_0x41b216(0x249)](_0x105268=>{const _0x4f48d8=_0x41b216;_0x105268[_0x4f48d8(0x214)]?_0x105268['id']=_0x35b70b++:_0x105268['id']=_0xeb678b[_0x141746++];}),this[_0x41b216(0x252)](_0x427934),this[_0x41b216(0x26b)](_0x4e5b35,_0x41b216(0x208)),this[_0x41b216(0x26b)](_0x427934,_0x41b216(0x214)),_0x30bd0d==_0x25820e&&this[_0x41b216(0x1c7)](_0x4e5b35,_0x12f728),_0x4e5b35=this[_0x41b216(0x218)](_0x4e5b35,_0x427934),this[_0x41b216(0x2aa)](_0x4e5b35),this[_0x41b216(0x26b)](_0x4e5b35,_0x41b216(0x214));}_0x4e5b35=_0x4e5b35[_0x41b216(0x1c3)](_0x2715b5=>!(_0x2715b5[_0x41b216(0x208)]&&_0x2715b5[_0x41b216(0x214)]));const _0xeac0bd=new Map(_0x107b3d[_0x41b216(0x24e)][_0x2646b3][_0x41b216(0x28b)][_0x41b216(0x286)]),_0x21e944=new Set(_0x12f728[_0x41b216(0x1f2)]());for(const _0x324779 of _0xeac0bd[_0x41b216(0x1f2)]())_0x21e944[_0x41b216(0x1a1)](_0x324779);this[_0x41b216(0x298)](_0x4e5b35,_0x21e944),this[_0x41b216(0x2c0)](_0x4e5b35),_0x4e5b35=this[_0x41b216(0x263)](_0x4e5b35),_0x4e5b35=this[_0x41b216(0x1b6)](_0x4e5b35),_0x4e5b35=this[_0x41b216(0x19e)](_0x4e5b35);const {root:_0x18a8bb,changes:_0x283861}=this[_0x41b216(0x258)](_0x4e5b35,_0x2a3b37,_0x2646b3);_0x174714[_0x41b216(0x24e)][_0x2646b3]=_0x18a8bb;const _0x5ce209=_0xf19a23[_0x41b216(0x2c6)](_0x2646b3);if(_0x5ce209){const _0x43b76e=_0x2a3b37[_0x41b216(0x2c6)](_0x5ce209[_0x41b216(0x1b5)]),_0x3f4564=new _0x2a440b({'author':_0x43b76e,'type':_0x5ce209[_0x41b216(0x192)]?_0x41b216(0x2a5):_0x41b216(0x21b),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2646b3});_0x283861[_0x41b216(0x234)](_0x3f4564),_0x174714[_0x41b216(0x222)][_0x2646b3][_0x41b216(0x26a)]=_0x3f4564['id'];}_0x174714[_0x41b216(0x1be)]=_0x174714[_0x41b216(0x1be)][_0x41b216(0x1f0)](_0x283861);}return _0x174714;}[_0x40ad0f(0x1c7)](_0x51ea37,_0xb783a8){const _0x4953ba=_0x40ad0f;for(let _0x38be72=0x0;_0x38be72<_0x51ea37[_0x4953ba(0x23b)];_0x38be72++)for(const [_0x801947,_0x4fade3]of _0xb783a8)_0x4fade3[_0x4953ba(0x1cb)][_0x4953ba(0x28e)](_0x51ea37[_0x38be72][_0x4953ba(0x24f)])&&_0x51ea37[_0x38be72][_0x4953ba(0x18f)][_0x4953ba(0x2a6)](_0x801947),_0x4fade3[_0x4953ba(0x1c6)][_0x4953ba(0x28e)](_0x51ea37[_0x38be72][_0x4953ba(0x209)])&&_0x51ea37[_0x38be72][_0x4953ba(0x225)][_0x4953ba(0x2a6)](_0x801947);}[_0x40ad0f(0x218)](_0x11a98c,_0x1e350c){const _0x2f43ba=_0x40ad0f;let _0x28b85c=[],_0x4cd39f=0x0,_0x1632a3=0x0;for(;_0x4cd39f<_0x11a98c[_0x2f43ba(0x23b)]||_0x1632a3<_0x1e350c[_0x2f43ba(0x23b)];){const _0x43e9f7=_0x11a98c[_0x4cd39f]||{},_0x23de2a=_0x1e350c[_0x1632a3]||{};if(_0x43e9f7['id']==_0x23de2a['id'])_0x4cd39f++,_0x1632a3++,_0x28b85c[_0x2f43ba(0x2a6)](_0x43e9f7);else{if(_0x23de2a[_0x2f43ba(0x214)]&&_0x43e9f7[_0x2f43ba(0x208)]){const {commonTape:_0x3c4bbe,iEnd:_0x4158c7,jEnd:_0x3ab111}=this[_0x2f43ba(0x205)](_0x11a98c,_0x4cd39f,_0x1e350c,_0x1632a3);_0x28b85c=_0x28b85c[_0x2f43ba(0x1f0)](_0x3c4bbe),_0x4cd39f=_0x4158c7,_0x1632a3=_0x3ab111;}else _0x23de2a[_0x2f43ba(0x214)]?(_0x1632a3++,_0x28b85c[_0x2f43ba(0x2a6)](_0x23de2a)):(_0x4cd39f++,_0x28b85c[_0x2f43ba(0x2a6)](_0x43e9f7));}}return _0x28b85c;}[_0x40ad0f(0x298)](_0x4530b7,_0x43bda4){const _0x39b1e9=_0x40ad0f,_0x2d47da=[];for(let _0x387611=0x0;_0x387611<_0x4530b7[_0x39b1e9(0x23b)];_0x387611++){for(let _0x9a0819=0x0;_0x9a0819<_0x4530b7[_0x387611][_0x39b1e9(0x18f)][_0x39b1e9(0x23b)];_0x9a0819++){const _0x3c1e1b=_0x4530b7[_0x387611][_0x39b1e9(0x18f)][_0x9a0819];if(!_0x43bda4[_0x39b1e9(0x1cf)](_0x3c1e1b))continue;const {group:_0x4aa162,type:_0x547312,authorId:_0x143a5c}=_0x227ed2(_0x3c1e1b);_0x39b1e9(0x24d)!=_0x4aa162||_0x39b1e9(0x2a3)!=_0x547312&&_0x39b1e9(0x2ca)!=_0x547312||(_0x2d47da[_0x39b1e9(0x234)]({'type':_0x547312,'name':_0x3c1e1b,'userId':_0x143a5c}),_0x4530b7[_0x387611][_0x39b1e9(0x18f)][_0x39b1e9(0x1a4)](_0x9a0819,0x1),_0x9a0819--);}_0x5db1bb(_0x4530b7[_0x387611]);for(let _0x4e3fbc=0x0;_0x4e3fbc<_0x4530b7[_0x387611][_0x39b1e9(0x225)][_0x39b1e9(0x23b)];_0x4e3fbc++){const _0xf509dd=_0x4530b7[_0x387611][_0x39b1e9(0x225)][_0x4e3fbc];if(!_0x43bda4[_0x39b1e9(0x1cf)](_0xf509dd))continue;const {group:_0x522cdb,type:_0xd862c7}=_0x227ed2(_0xf509dd);if(_0x39b1e9(0x24d)!=_0x522cdb||_0x39b1e9(0x2a3)!=_0xd862c7&&_0x39b1e9(0x2ca)!=_0xd862c7)continue;_0x4530b7[_0x387611][_0x39b1e9(0x225)][_0x39b1e9(0x1a4)](_0x4e3fbc,0x1),_0x4e3fbc--;const _0x5d0415=_0x2d47da[_0x39b1e9(0x1cc)](_0x1a049e=>_0x1a049e[_0x39b1e9(0x2b0)]==_0xf509dd);_0x5d0415>-0x1&&_0x2d47da[_0x39b1e9(0x1a4)](_0x5d0415,0x1);}}function _0x227ed2(_0x16c054){const _0x186d38=_0x39b1e9,_0x49bcc5=_0x16c054[_0x186d38(0x215)](':');return{'group':_0x49bcc5[0x0],'type':_0x49bcc5[0x1],'subType':_0x49bcc5[_0x186d38(0x23b)]>=0x5?_0x49bcc5[0x2]:null,'id':_0x49bcc5[_0x186d38(0x23b)]<0x5?_0x49bcc5[0x2]:_0x49bcc5[0x3],'authorId':_0x49bcc5[_0x186d38(0x23b)]<0x5?_0x49bcc5[0x3]:_0x49bcc5[0x4],'markerCount':0x6==_0x49bcc5[_0x186d38(0x23b)]?_0x49bcc5[0x5]:null};}function _0x5db1bb(_0x4d9f1f){const _0x3aa6e0=_0x39b1e9;for(let _0x127a95=0x0;_0x127a95<_0x2d47da[_0x3aa6e0(0x23b)];_0x127a95++){if(_0x4d9f1f[_0x3aa6e0(0x208)]&&_0x3aa6e0(0x2a3)==_0x2d47da[_0x127a95][_0x3aa6e0(0x2bf)])return _0x4d9f1f[_0x3aa6e0(0x2a4)]=_0x2d47da[_0x127a95],void delete _0x4d9f1f[_0x3aa6e0(0x208)];if(!_0x4d9f1f[_0x3aa6e0(0x208)]&&!_0x4d9f1f[_0x3aa6e0(0x214)]&&_0x3aa6e0(0x2ca)==_0x2d47da[_0x127a95][_0x3aa6e0(0x2bf)])return void(_0x4d9f1f[_0x3aa6e0(0x27a)]=_0x2d47da[_0x127a95]);}}}[_0x40ad0f(0x26b)](_0x1c551e,_0x2921d4){const _0x589fc8=_0x40ad0f;let _0x1807d9=0x0,_0x2662d3=!0x1;const _0x21095d=new Map();for(const _0x2898e4 of _0x1c551e)_0x2898e4[_0x2921d4]?_0x2662d3&&(_0x1807d9++,_0x2662d3=!0x1):(_0x1807d9++,_0x2662d3=!0x0),_0x21095d[_0x589fc8(0x195)](_0x2898e4['id'],_0x1807d9);for(let _0x2dd606=0x0;_0x2dd606<_0x1c551e[_0x589fc8(0x23b)];_0x2dd606++){if(_0x589fc8(0x214)==_0x2921d4&&_0x1c551e[_0x2dd606][_0x589fc8(0x208)]||_0x589fc8(0x208)==_0x2921d4&&_0x1c551e[_0x2dd606][_0x589fc8(0x214)])continue;if(_0x589fc8(0x2c4)==_0x1c551e[_0x2dd606][_0x589fc8(0x2bf)]){_0x1c551e[_0x2dd606][_0x589fc8(0x238)]=0x0;continue;}const _0x4da36f=_0x21095d[_0x589fc8(0x2c6)](_0x1c551e[_0x2dd606][_0x589fc8(0x204)]),_0x1fd319=_0x21095d[_0x589fc8(0x2c6)](_0x1c551e[_0x2dd606]['id']);_0x1c551e[_0x2dd606][_0x589fc8(0x238)]=_0x4da36f-_0x1fd319;}}[_0x40ad0f(0x243)](_0x3b6b17,_0x8d9528,_0x40fadb=!0x1){const _0x1b1885=_0x40ad0f,_0x59c33e=[];let _0x103d73=this[_0x1b1885(0x1c4)][_0x1b1885(0x2d1)](_0x3b6b17),_0xc90858=this[_0x1b1885(0x1c4)][_0x1b1885(0x2d1)](_0x8d9528);for(-0x1==_0xc90858&&(_0xc90858=this[_0x1b1885(0x1c4)][_0x1b1885(0x213)][_0x1b1885(0x23b)],_0x40fadb=!0x1);_0x103d73<_0xc90858;)_0x59c33e[_0x1b1885(0x2a6)](this[_0x1b1885(0x1c4)][_0x1b1885(0x256)](_0x103d73)),_0x103d73++;return _0x40fadb&&_0x59c33e[_0x1b1885(0x2a6)](this[_0x1b1885(0x1c4)][_0x1b1885(0x256)](_0x103d73)),_0x59c33e;}[_0x40ad0f(0x205)](_0x114910,_0xf10ba4,_0x39fe5e,_0x19fd47){const _0x1c0d80=_0x40ad0f,_0x52ea70=this[_0x1c0d80(0x2c8)][_0x1c0d80(0x24e)][_0x1c0d80(0x227)];let _0x461569=_0xf10ba4;for(;_0x114910[_0x461569]&&_0x114910[_0x461569][_0x1c0d80(0x208)];)_0x461569++;let _0x1bf679=_0x19fd47;for(;_0x39fe5e[_0x1bf679]&&_0x39fe5e[_0x1bf679][_0x1c0d80(0x214)];)_0x1bf679++;_0x526732(_0x114910,_0xf10ba4,_0x461569),_0x526732(_0x39fe5e,_0x19fd47,_0x1bf679);const _0x375b20=_0x39fe5e[_0x1c0d80(0x220)](_0x19fd47,_0x1bf679)[_0x1c0d80(0x1f0)](_0x114910[_0x1c0d80(0x220)](_0xf10ba4,_0x461569));return _0x375b20[_0x1c0d80(0x2be)]((_0x47ddc0,_0x43d564)=>_0x47ddc0[_0x1c0d80(0x20d)]!=_0x43d564[_0x1c0d80(0x20d)]?_0x47ddc0[_0x1c0d80(0x20d)]-_0x43d564[_0x1c0d80(0x20d)]:_0x47ddc0[_0x1c0d80(0x1d8)]!=_0x43d564[_0x1c0d80(0x1d8)]?_0x47ddc0[_0x1c0d80(0x1d8)]-_0x43d564[_0x1c0d80(0x1d8)]:_0x47ddc0[_0x1c0d80(0x238)]!=_0x43d564[_0x1c0d80(0x238)]?_0x43d564[_0x1c0d80(0x238)]-_0x47ddc0[_0x1c0d80(0x238)]:!!_0x47ddc0[_0x1c0d80(0x208)]!=!!_0x43d564[_0x1c0d80(0x208)]?-0x1==_0x47ddc0[_0x1c0d80(0x20d)]||0x0==_0x47ddc0[_0x1c0d80(0x20d)]?_0x47ddc0[_0x1c0d80(0x208)]?-0x1:0x1:_0x47ddc0[_0x1c0d80(0x208)]?0x1:-0x1:_0x47ddc0[_0x1c0d80(0x274)]-_0x43d564[_0x1c0d80(0x274)]),{'commonTape':_0x375b20,'iEnd':_0x461569,'jEnd':_0x1bf679};function _0x526732(_0x3dbd89,_0x5eba66,_0x197a16){const _0x3d0e6d=_0x1c0d80;let _0x297b95=-0x1,_0x28040b=Number[_0x3d0e6d(0x1fd)],_0x3761c8=!0x0;for(let _0x4c819c=_0x5eba66;_0x4c819c<_0x197a16;_0x4c819c++)if(_0x52ea70[_0x3d0e6d(0x2c5)](_0x3dbd89[_0x4c819c][_0x3d0e6d(0x21e)])||(_0x3761c8=!0x1),_0x3dbd89[_0x4c819c][_0x3d0e6d(0x21e)][_0x3d0e6d(0x237)]<_0x5eba66&&(_0x297b95=_0x4c819c),_0x3dbd89[_0x4c819c][_0x3d0e6d(0x21e)][_0x3d0e6d(0x28c)]>=_0x197a16){_0x28040b=_0x4c819c;break;}_0x3761c8&&(_0x297b95=_0x197a16-0x1);for(let _0x5e8c31=_0x5eba66;_0x5e8c31<_0x197a16;_0x5e8c31++)_0x3dbd89[_0x5e8c31][_0x3d0e6d(0x20d)]=_0x5e8c31<=_0x297b95?-0x1:_0x5e8c31<_0x28040b?0x0:0x1,_0x3dbd89[_0x5e8c31][_0x3d0e6d(0x274)]=_0x5e8c31;let _0x406e71=0x0;for(let _0x38de8a=_0x5eba66;_0x38de8a<=_0x297b95;_0x38de8a++)0x0==_0x3dbd89[_0x38de8a][_0x3d0e6d(0x238)]?_0x3dbd89[_0x38de8a][_0x3d0e6d(0x1d8)]=_0x406e71:(_0x406e71++,_0x3dbd89[_0x38de8a][_0x3d0e6d(0x1d8)]=_0x406e71,_0x406e71++);for(let _0x13a6b7=_0x5eba66;_0x13a6b7<_0x197a16;_0x13a6b7++)0x0==_0x3dbd89[_0x13a6b7][_0x3d0e6d(0x20d)]&&(_0x3dbd89[_0x13a6b7][_0x3d0e6d(0x1d8)]=_0x406e71);_0x406e71=0x0;for(let _0xa7ebe8=_0x197a16-0x1;_0xa7ebe8>=_0x28040b;_0xa7ebe8--)0x0==_0x3dbd89[_0xa7ebe8][_0x3d0e6d(0x238)]?_0x3dbd89[_0xa7ebe8][_0x3d0e6d(0x1d8)]=_0x406e71:(_0x406e71--,_0x3dbd89[_0xa7ebe8][_0x3d0e6d(0x1d8)]=_0x406e71,_0x406e71--);}}[_0x40ad0f(0x2c0)](_0x132e00){const _0x5f0ea4=_0x40ad0f,_0x1c035a=new Map(),_0x54d141=this[_0x5f0ea4(0x2c8)][_0x5f0ea4(0x24e)][_0x5f0ea4(0x227)];for(let _0x4749ad=0x1;_0x4749ad<_0x132e00[_0x5f0ea4(0x23b)];_0x4749ad++){let _0xf8d39c,_0x1f9689,_0x43edf2;const _0x59cb52=_0x132e00[_0x4749ad],_0x15f6ca=_0x132e00[_0x4749ad-0x1];if(_0x5f0ea4(0x2c4)==_0x59cb52[_0x5f0ea4(0x2bf)])continue;if(_0x59cb52[_0x5f0ea4(0x2bf)]!=_0x15f6ca[_0x5f0ea4(0x2bf)])continue;if(!_0x54d141[_0x5f0ea4(0x251)](_0x15f6ca[_0x5f0ea4(0x21e)])||_0x54d141[_0x5f0ea4(0x247)](_0x15f6ca[_0x5f0ea4(0x21e)]))continue;if(!_0x54d141[_0x5f0ea4(0x251)](_0x59cb52[_0x5f0ea4(0x21e)])||_0x54d141[_0x5f0ea4(0x247)](_0x59cb52[_0x5f0ea4(0x21e)]))continue;if((_0x132e00[_0x4749ad][_0x5f0ea4(0x208)]||_0x132e00[_0x4749ad][_0x5f0ea4(0x2a4)])&&_0x132e00[_0x4749ad-0x1][_0x5f0ea4(0x214)])_0xf8d39c=_0x132e00[_0x4749ad],_0x1f9689=_0x132e00[_0x4749ad-0x1],_0x43edf2=_0x4749ad-0x1;else{if(!_0x132e00[_0x4749ad][_0x5f0ea4(0x214)]||!_0x132e00[_0x4749ad-0x1][_0x5f0ea4(0x208)]&&!_0x132e00[_0x4749ad-0x1][_0x5f0ea4(0x2a4)])continue;_0xf8d39c=_0x132e00[_0x4749ad-0x1],_0x1f9689=_0x132e00[_0x4749ad],_0x43edf2=_0x4749ad;}const _0x50da67=_0xf8d39c[_0x5f0ea4(0x1d8)]==_0x1f9689[_0x5f0ea4(0x1d8)],_0xbb295a=Math[_0x5f0ea4(0x29d)](_0xf8d39c[_0x5f0ea4(0x1d8)])<Math[_0x5f0ea4(0x29d)](_0x1f9689[_0x5f0ea4(0x1d8)])&&0x0==_0x1f9689[_0x5f0ea4(0x238)];(_0x50da67||_0xbb295a)&&(_0x1c035a[_0x5f0ea4(0x195)](_0x1f9689['id'],_0xf8d39c['id']),_0x132e00[_0x5f0ea4(0x1a4)](_0x43edf2,0x1),_0x4749ad--,_0xf8d39c[_0x5f0ea4(0x208)]=!0x1);}for(let _0x102a83=0x0;_0x102a83<_0x132e00[_0x5f0ea4(0x23b)];_0x102a83++)_0x1c035a[_0x5f0ea4(0x1cf)](_0x132e00[_0x102a83][_0x5f0ea4(0x204)])&&(_0x132e00[_0x102a83][_0x5f0ea4(0x204)]=_0x1c035a[_0x5f0ea4(0x2c6)](_0x132e00[_0x102a83][_0x5f0ea4(0x204)]));}[_0x40ad0f(0x263)](_0xdef117){const _0x4fe538=_0x40ad0f,_0x4366e6=new Set(_0xdef117[_0x4fe538(0x2b9)](_0x2172dd=>_0x2172dd['id']));for(let _0x19a16b=0x0;_0x19a16b<_0xdef117[_0x4fe538(0x23b)];_0x19a16b++)_0x4366e6[_0x4fe538(0x1cf)](_0xdef117[_0x19a16b][_0x4fe538(0x204)])||0x0==_0xdef117[_0x19a16b][_0x4fe538(0x238)]||(_0xdef117[_0x19a16b][_0x4fe538(0x287)]=!0x0);return _0xdef117[_0x4fe538(0x1c3)](_0x55c750=>!_0x55c750[_0x4fe538(0x287)]);}[_0x40ad0f(0x1b6)](_0x4d5f17){const _0x284cf6=_0x40ad0f,_0x4a0309=new Set();for(let _0x49ba22=0x0;_0x49ba22<_0x4d5f17[_0x284cf6(0x23b)];_0x49ba22++){if(_0x4a0309[_0x284cf6(0x1cf)](_0x4d5f17[_0x49ba22]['id'])&&_0x4d5f17[_0x49ba22][_0x284cf6(0x214)]&&(_0x4d5f17[_0x49ba22][_0x284cf6(0x287)]=!0x0),_0x4d5f17[_0x49ba22][_0x284cf6(0x287)])continue;if(0x0==_0x4d5f17[_0x49ba22][_0x284cf6(0x238)])continue;if(_0x284cf6(0x18c)!=_0x4d5f17[_0x49ba22][_0x284cf6(0x2bf)])continue;if(null==_0x4d5f17[_0x49ba22][_0x284cf6(0x204)])continue;let _0x1782be=_0x49ba22+0x1,_0x463074=0x0;for(;_0x4d5f17[_0x1782be]['id']!=_0x4d5f17[_0x49ba22][_0x284cf6(0x204)];)_0x284cf6(0x18c)==_0x4d5f17[_0x1782be][_0x284cf6(0x2bf)]?_0x463074++:_0x284cf6(0x2a7)==_0x4d5f17[_0x1782be][_0x284cf6(0x2bf)]&&_0x463074--,_0x1782be++;if(0x0!=_0x463074){if(_0x4d5f17[_0x49ba22][_0x284cf6(0x214)])_0x4d5f17[_0x49ba22][_0x284cf6(0x287)]=!0x0;else{for(;_0x1782be!=_0x49ba22;)_0x4d5f17[_0x1782be][_0x284cf6(0x214)]&&0x0!=_0x4d5f17[_0x1782be][_0x284cf6(0x238)]&&(_0x4d5f17[_0x1782be][_0x284cf6(0x287)]=!0x0,_0x4a0309[_0x284cf6(0x2a5)](_0x4d5f17[_0x1782be][_0x284cf6(0x204)])),_0x1782be--;}}}return _0x4d5f17[_0x284cf6(0x1c3)](_0x4f8537=>!_0x4f8537[_0x284cf6(0x287)]);}[_0x40ad0f(0x19e)](_0x1be944){const _0x4dc986=_0x40ad0f,_0x3f3936=this[_0x4dc986(0x2c8)][_0x4dc986(0x24e)][_0x4dc986(0x227)];for(let _0x1ab9fe=0x0;_0x1ab9fe<_0x1be944[_0x4dc986(0x23b)];_0x1ab9fe++){if(!(_0x1be944[_0x1ab9fe][_0x4dc986(0x208)]||_0x1be944[_0x1ab9fe][_0x4dc986(0x2a4)]||_0x1be944[_0x1ab9fe][_0x4dc986(0x214)]||_0x1be944[_0x1ab9fe][_0x4dc986(0x27a)]))continue;if(0x0==_0x1be944[_0x1ab9fe][_0x4dc986(0x238)])continue;const _0x34075d=_0x1be944[_0x1ab9fe][_0x4dc986(0x21e)];_0x3f3936[_0x4dc986(0x251)](_0x34075d)||_0x3f3936[_0x4dc986(0x247)](_0x34075d)||(_0x1be944[_0x1ab9fe][_0x4dc986(0x208)]&&delete _0x1be944[_0x1ab9fe][_0x4dc986(0x208)],_0x1be944[_0x1ab9fe][_0x4dc986(0x2a4)]&&delete _0x1be944[_0x1ab9fe][_0x4dc986(0x2a4)],_0x1be944[_0x1ab9fe][_0x4dc986(0x27a)]&&delete _0x1be944[_0x1ab9fe][_0x4dc986(0x27a)],_0x1be944[_0x1ab9fe][_0x4dc986(0x214)]&&(_0x1be944[_0x1ab9fe][_0x4dc986(0x287)]=!0x0));}return _0x1be944[_0x4dc986(0x1c3)](_0x1cee0f=>!_0x1cee0f[_0x4dc986(0x287)]);}[_0x40ad0f(0x258)](_0x3b53eb,_0x4d533c,_0x55bb48){const _0x3ec3f5=_0x40ad0f,_0x861832=new _0x3c09cd(),_0x1f6b95=[],_0x1c8645=new Map(),_0x457787=this[_0x3ec3f5(0x2c8)][_0x3ec3f5(0x24e)],_0x2291cb=_0x457787[_0x3ec3f5(0x227)],_0x2f2068=[_0x861832],_0x33db60={},_0x248aa5={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3ad46a=null;const _0x37cc28=[0x0];for(let _0x1a8f2f=0x0;_0x1a8f2f<_0x3b53eb[_0x3ec3f5(0x23b)];_0x1a8f2f++){let _0xf9c800,_0x58f1a3;if(_0x3ec3f5(0x18c)===_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x2bf)]){_0xf9c800=_0x457787[_0x3ec3f5(0x28f)](_0x861832,_0x37cc28);const _0x13d8f8=new _0xd26582(_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x21e)][_0x3ec3f5(0x2b0)],_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x21e)][_0x3ec3f5(0x277)]());_0x2f2068[0x0][_0x3ec3f5(0x26f)](_0x13d8f8),_0x37cc28[_0x3ec3f5(0x2a6)](0x0),_0x2f2068[_0x3ec3f5(0x234)](_0x13d8f8),_0x58f1a3=_0x457787[_0x3ec3f5(0x28f)](_0x861832,_0x37cc28),_0x3ad46a=null;}else{if(_0x3ec3f5(0x2a7)===_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x2bf)])_0x2f2068[_0x3ec3f5(0x1e6)](),_0xf9c800=_0x457787[_0x3ec3f5(0x28f)](_0x861832,_0x37cc28),_0x37cc28[_0x3ec3f5(0x1a5)](),_0x37cc28[_0x37cc28[_0x3ec3f5(0x23b)]-0x1]++,_0x58f1a3=_0x457787[_0x3ec3f5(0x28f)](_0x861832,_0x37cc28),_0x3ad46a=null;else{if(_0xf9c800=_0x457787[_0x3ec3f5(0x28f)](_0x861832,_0x37cc28),_0x3ad46a&&_0x4738a2(_0x3ad46a,_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x21e)]))_0x3ad46a[_0x3ec3f5(0x2a9)]+=_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x21e)][_0x3ec3f5(0x19a)];else{const _0x5edc8a=new _0x30c199(_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x21e)][_0x3ec3f5(0x19a)],_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x21e)][_0x3ec3f5(0x277)]());_0x2f2068[0x0][_0x3ec3f5(0x26f)](_0x5edc8a),_0x3ad46a=_0x5edc8a;}_0x37cc28[_0x37cc28[_0x3ec3f5(0x23b)]-0x1]+=_0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x21e)][_0x3ec3f5(0x296)],_0x58f1a3=_0x457787[_0x3ec3f5(0x28f)](_0x861832,_0x37cc28);}}for(const _0x40593f of _0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x18f)])_0x1c8645[_0x3ec3f5(0x195)](_0x40593f,{'start':_0xf9c800,'end':null});_0xa7cf6b(_0x3ec3f5(0x27a),_0x1a8f2f,_0xf9c800,_0x58f1a3),_0xa7cf6b(_0x3ec3f5(0x2a4),_0x1a8f2f,_0xf9c800,_0x58f1a3),_0xa7cf6b(_0x3ec3f5(0x214),_0x1a8f2f,_0xf9c800,_0x58f1a3),_0xa7cf6b(_0x3ec3f5(0x208),_0x1a8f2f,_0xf9c800,_0x58f1a3);for(const _0x1720ed of _0x3b53eb[_0x1a8f2f][_0x3ec3f5(0x225)]){_0x1c8645[_0x3ec3f5(0x2c6)](_0x1720ed)[_0x3ec3f5(0x1c6)]=_0x58f1a3;}}for(const [_0xdf8659,_0x1f5b7f]of _0x1c8645){const _0x1452e9=this[_0x3ec3f5(0x2c8)][_0x3ec3f5(0x24e)][_0x3ec3f5(0x20f)](_0x1f5b7f[_0x3ec3f5(0x1cb)],_0x1f5b7f[_0x3ec3f5(0x1c6)]);_0x861832[_0x3ec3f5(0x286)][_0x3ec3f5(0x195)](_0xdf8659,_0x1452e9);}return _0x1f6b95[_0x3ec3f5(0x2be)]((_0x206326,_0x46c974)=>{const _0x5f3c4a=_0x3ec3f5,_0x142323=_0x861832[_0x5f3c4a(0x286)][_0x5f3c4a(0x2c6)](_0x5f3c4a(0x27d)+_0x206326['id']),_0x4036e5=_0x861832[_0x5f3c4a(0x286)][_0x5f3c4a(0x2c6)](_0x5f3c4a(0x27d)+_0x46c974['id']);return _0x142323[_0x5f3c4a(0x1cb)][_0x5f3c4a(0x2b5)](_0x4036e5[_0x5f3c4a(0x1cb)])?-0x1:_0x142323[_0x5f3c4a(0x1cb)][_0x5f3c4a(0x2d0)](_0x4036e5[_0x5f3c4a(0x1cb)])?0x1:_0x142323[_0x5f3c4a(0x1c6)][_0x5f3c4a(0x2b5)](_0x4036e5[_0x5f3c4a(0x1c6)])?-0x1:_0x142323[_0x5f3c4a(0x1c6)][_0x5f3c4a(0x2d0)](_0x4036e5[_0x5f3c4a(0x1c6)])?0x1:_0x5f3c4a(0x2a5)===_0x206326[_0x5f3c4a(0x2bf)]?-0x1:0x1;}),{'root':_0x861832,'changes':_0x1f6b95};function _0xa7cf6b(_0x6adb7c,_0x2d65fe,_0x334b73,_0x3002bf){const _0x67eed0=_0x3ec3f5,_0x5f3543=!!_0x3b53eb[_0x2d65fe][_0x6adb7c],_0x3e7e4c=_0x5f3543?_0x3b53eb[_0x2d65fe][_0x6adb7c][_0x67eed0(0x1b5)]:null,_0x502ed=_0x2d65fe===_0x3b53eb[_0x67eed0(0x23b)]-0x1,_0x18890e=_0x248aa5[_0x6adb7c][0x0],_0xd3809e=_0x2291cb[_0x67eed0(0x1e7)](_0x3b53eb[_0x2d65fe][_0x67eed0(0x21e)]);!_0x33db60[_0x6adb7c]&&_0x5f3543?_0x33db60[_0x6adb7c]={'start':_0x334b73,'tapeItem':_0x3b53eb[_0x2d65fe],'userId':_0x3e7e4c,'type':_0x6adb7c}:_0x33db60[_0x6adb7c]&&!_0x5f3543?(_0x33db60[_0x6adb7c][_0x67eed0(0x1c6)]=_0x334b73,_0x1a02c0(_0x33db60[_0x6adb7c]),_0x33db60[_0x6adb7c]=null):_0x33db60[_0x6adb7c]&&_0x5f3543&&_0x33db60[_0x6adb7c][_0x67eed0(0x1b5)]!==_0x3e7e4c&&(_0x33db60[_0x6adb7c][_0x67eed0(0x1c6)]=_0x334b73,_0x18890e&&_0x18890e[_0x67eed0(0x1b5)]===_0x33db60[_0x6adb7c][_0x67eed0(0x1b5)]||_0x1a02c0(_0x33db60[_0x6adb7c]),_0x33db60[_0x6adb7c]={'start':_0x334b73,'tapeItem':_0x3b53eb[_0x2d65fe],'userId':_0x3e7e4c,'type':_0x6adb7c}),_0x33db60[_0x6adb7c]&&_0xd3809e&&(_0x67eed0(0x18c)!==_0x3b53eb[_0x2d65fe][_0x67eed0(0x2bf)]||_0x18890e&&_0x18890e[_0x67eed0(0x1b5)]===_0x3e7e4c||_0x248aa5[_0x6adb7c][_0x67eed0(0x234)]({'userId':_0x3e7e4c,'object':_0x3b53eb[_0x2d65fe][_0x67eed0(0x21e)],'change':_0x33db60[_0x6adb7c]}),_0x67eed0(0x2a7)===_0x3b53eb[_0x2d65fe][_0x67eed0(0x2bf)]&&_0x18890e&&_0x18890e[_0x67eed0(0x26c)]===_0x3b53eb[_0x2d65fe][_0x67eed0(0x21e)]&&(_0x248aa5[_0x6adb7c][_0x67eed0(0x1e6)](),_0x33db60[_0x6adb7c]=_0x18890e[_0x67eed0(0x1b9)])),_0x33db60[_0x6adb7c]&&_0x502ed&&(_0x33db60[_0x6adb7c][_0x67eed0(0x1c6)]=_0x3002bf,_0x1a02c0(_0x33db60[_0x6adb7c]),_0x33db60[_0x6adb7c]=null);}function _0x1a02c0({start:_0x45b1ac,end:_0x1c5c24,tapeItem:_0xb6c54e,userId:_0x404b6b,type:_0x47b188}){const _0x59fa1b=_0x3ec3f5,_0x5aa502=_0xb6c54e[_0x59fa1b(0x21e)],_0x1b43c8=_0x457787[_0x59fa1b(0x227)][_0x59fa1b(0x251)](_0x5aa502)&&!_0x457787[_0x59fa1b(0x227)][_0x59fa1b(0x247)](_0x5aa502),_0x14e446=_0x45b1ac[_0x59fa1b(0x24b)]==_0x1c5c24[_0x59fa1b(0x231)]&&_0x1c5c24[_0x59fa1b(0x240)];if(_0x1b43c8&&_0x14e446)return;const _0x305d37=_0x457787[_0x59fa1b(0x20f)](_0x45b1ac,_0x1c5c24),_0x2e1a75=_0x4d533c[_0x59fa1b(0x2c6)](_0x404b6b),_0x1d5ef2=new _0x2a440b({'author':_0x2e1a75,'type':_0x59fa1b(0x208)==_0x47b188||_0x59fa1b(0x2a4)==_0x47b188?_0x59fa1b(0x2a5):_0x59fa1b(0x21b),'data':{'isSuggestion':_0x59fa1b(0x2a4)==_0x47b188||_0x59fa1b(0x27a)==_0x47b188},'createdAt':new Date(),'rootName':_0x55bb48});_0x1f6b95[_0x59fa1b(0x2a6)](_0x1d5ef2),_0x861832[_0x59fa1b(0x286)][_0x59fa1b(0x195)](_0x59fa1b(0x27d)+_0x1d5ef2['id'],_0x305d37);}function _0x4738a2(_0x5614c8,_0x4e2114){const _0x52a2aa=_0x3ec3f5,_0x5aca04=_0x5614c8[_0x52a2aa(0x277)](),_0x26a065=_0x4e2114[_0x52a2aa(0x277)]();for(const _0x2c815a of _0x5aca04){if(_0x2c815a[0x1]!==_0x4e2114[_0x52a2aa(0x1e1)](_0x2c815a[0x0]))return!0x1;_0x26a065[_0x52a2aa(0x29b)]();}return _0x26a065[_0x52a2aa(0x29b)]()[_0x52a2aa(0x2c1)];}}[_0x40ad0f(0x242)](){const _0x56b40f=_0x40ad0f;this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x212))[_0x56b40f(0x22d)]({'view':_0x56b40f(0x19c)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x295))[_0x56b40f(0x293)]({'model':_0x56b40f(0x19c),'view':_0x44fdf9=>{const _0x2d82c6=_0x56b40f,_0x1dc55a=_0x44fdf9[_0x2d82c6(0x299)][_0x2d82c6(0x215)](':')[0x1],_0x10aa73=this[_0x2d82c6(0x25a)](_0x1dc55a);if(!_0x10aa73)return null;const _0x4b563a=_0x2d82c6(0x2a5)==_0x10aa73[_0x2d82c6(0x2bf)]?_0x2d82c6(0x2a3):_0x2d82c6(0x2ca),_0x4fef7d=[_0x2d82c6(0x1f8),_0x2d82c6(0x22c)+_0x4b563a];return _0x10aa73[_0x2d82c6(0x19a)][_0x2d82c6(0x1d1)]&&_0x4fef7d[_0x2d82c6(0x2a6)](_0x2d82c6(0x22c)+_0x4b563a+_0x2d82c6(0x2ac)),this[_0x2d82c6(0x2b7)]==_0x10aa73&&_0x4fef7d[_0x2d82c6(0x2a6)](_0x2d82c6(0x297)),{'classes':_0x4fef7d,'attributes':{'data-change-id':_0x1dc55a}};}}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x212))[_0x56b40f(0x2a5)](_0x19b6c4=>{const _0x35e387=_0x56b40f;_0x19b6c4['on'](_0x35e387(0x206),(_0x5628f0,_0x3aae8f,_0x3c77c2)=>{const _0x2274a8=_0x35e387,_0x5538a4=_0x3aae8f[_0x2274a8(0x1c0)][_0x2274a8(0x264)](0x0);if(!_0x5538a4||!_0x5538a4['is'](_0x2274a8(0x1a2),_0x2274a8(0x244)))return;if(!_0x3c77c2[_0x2274a8(0x1c2)][_0x2274a8(0x271)](_0x5538a4,{'attributes':[_0x2274a8(0x1d0),_0x2274a8(0x21a)]}))return;const _0x299ecc=_0x3aae8f[_0x2274a8(0x1ec)][_0x2274a8(0x1cb)][_0x2274a8(0x24b)];_0x3c77c2[_0x2274a8(0x19d)][_0x2274a8(0x21c)](_0x2274a8(0x1d0),_0x5538a4[_0x2274a8(0x1e1)](_0x2274a8(0x1d0)),_0x299ecc),_0x3c77c2[_0x2274a8(0x19d)][_0x2274a8(0x21c)](_0x2274a8(0x21a),_0x5538a4[_0x2274a8(0x1e1)](_0x2274a8(0x21a)),_0x299ecc);},{'priority':_0x35e387(0x1ef)});}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x212))[_0x56b40f(0x2a5)](_0x219daa=>{const _0x5cfab2=_0x56b40f;_0x219daa['on'](_0x5cfab2(0x1a2),(_0x52e2b7,_0x57885f,_0x17c717)=>{const _0x2e08fe=_0x5cfab2;if(!_0x17c717[_0x2e08fe(0x1c2)][_0x2e08fe(0x271)](_0x57885f[_0x2e08fe(0x1c0)],{'attributes':[_0x2e08fe(0x1d0),_0x2e08fe(0x21a)]}))return;if(_0x57885f[_0x2e08fe(0x1ec)][_0x2e08fe(0x262)])return;const _0x68ad2b=_0x57885f[_0x2e08fe(0x1ec)][_0x2e08fe(0x1cb)][_0x2e08fe(0x24b)];_0x68ad2b[_0x2e08fe(0x236)](_0x2e08fe(0x1d0))||_0x68ad2b[_0x2e08fe(0x236)](_0x2e08fe(0x229))||(_0x17c717[_0x2e08fe(0x19d)][_0x2e08fe(0x21c)](_0x2e08fe(0x1d0),_0x57885f[_0x2e08fe(0x1c0)][_0x2e08fe(0x1e1)](_0x2e08fe(0x1d0)),_0x68ad2b),_0x17c717[_0x2e08fe(0x19d)][_0x2e08fe(0x21c)](_0x2e08fe(0x21a),_0x57885f[_0x2e08fe(0x1c0)][_0x2e08fe(0x1e1)](_0x2e08fe(0x21a)),_0x68ad2b));},{'priority':_0x5cfab2(0x1ef)});}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x212))[_0x56b40f(0x1f4)]({'view':{'name':_0x56b40f(0x1b2),'attributes':{'vid':!0x0}},'model':{'key':_0x56b40f(0x229),'value':_0x871c7=>_0x871c7[_0x56b40f(0x1e1)](_0x56b40f(0x229))}}),this[_0x56b40f(0x2c8)][_0x56b40f(0x24e)][_0x56b40f(0x227)]['on'](_0x56b40f(0x24a),(_0x346ae7,[,_0x4160ab])=>{const _0x35f209=_0x56b40f;[_0x35f209(0x1d0),_0x35f209(0x21a),_0x35f209(0x229)][_0x35f209(0x25c)](_0x4160ab)&&(_0x346ae7[_0x35f209(0x2d3)]=!0x0,_0x346ae7[_0x35f209(0x1a9)]());},{'priority':_0x56b40f(0x226)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x224))[_0x56b40f(0x2a5)](_0x5b65c0=>{const _0x28cf8c=_0x56b40f;_0x5b65c0['on'](_0x28cf8c(0x198),(_0x341fb4,_0x26b13d,_0x4b7883)=>{const _0x54ee4f=_0x28cf8c;if('\x20'!=_0x26b13d[_0x54ee4f(0x21e)][_0x54ee4f(0x19a)]||_0x26b13d[_0x54ee4f(0x21e)][_0x54ee4f(0x231)][_0x54ee4f(0x2d4)]>0x1)return;if(!_0x4b7883[_0x54ee4f(0x1c2)][_0x54ee4f(0x271)](_0x26b13d[_0x54ee4f(0x21e)],_0x341fb4[_0x54ee4f(0x2b0)]))return;const _0x3622a0=_0x4b7883[_0x54ee4f(0x19d)],_0x2bc709=_0x4b7883[_0x54ee4f(0x1e3)][_0x54ee4f(0x1a6)](_0x26b13d[_0x54ee4f(0x2b8)]);_0x3622a0[_0x54ee4f(0x1cd)](_0x2bc709,_0x3622a0[_0x54ee4f(0x1ed)](_0x54ee4f(0x1b2)));});}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x224))[_0x56b40f(0x1dc)]({'model':_0x56b40f(0x19c)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2af)][_0x56b40f(0x18b)]['on'](_0x56b40f(0x2c3),function(_0x461d18){const _0x2481eb=_0x56b40f,_0x8a0d98=_0x461d18[_0x2481eb(0x1bc)][_0x2481eb(0x2c6)](_0x2481eb(0x1e5));return(_0xb4bdd4,_0xa4a39e,_0x342b67)=>{const _0x4693b0=_0x2481eb,_0x20f657=_0xa4a39e[_0x4693b0(0x299)][_0x4693b0(0x215)](':')[0x1],_0x54c5fe=_0x8a0d98[_0x4693b0(0x25a)](_0x20f657);if(!_0x54c5fe)return null;const _0x5cf1ea=_0x4693b0(0x2a5)==_0x54c5fe[_0x4693b0(0x2bf)]?_0x4693b0(0x215):_0x4693b0(0x29f);if(!_0x342b67[_0x4693b0(0x1c2)][_0x4693b0(0x196)](_0xa4a39e[_0x4693b0(0x219)],_0xb4bdd4[_0x4693b0(0x2b0)]))return;const _0x31a810=_0xa4a39e[_0x4693b0(0x219)][_0x4693b0(0x1a8)](),_0xb01bac=_0xa4a39e[_0x4693b0(0x219)][_0x4693b0(0x1cb)],_0x4c338e=_0x461d18[_0x4693b0(0x24e)][_0x4693b0(0x227)];let _0x191605=null,_0xc6c559=null,_0x33e39e=!0x1,_0x1494bf=!0x1;for(const _0x31ea3e of _0x31a810){const _0x1d4bdd=_0x31ea3e[_0x4693b0(0x21e)];_0x33e39e=_0x33e39e||_0x4c338e[_0x4693b0(0x1d5)](_0x1d4bdd);const _0x32ff13=_0x342b67[_0x4693b0(0x1e3)][_0x4693b0(0x235)](_0x1d4bdd);if(_0x32ff13&&_0x32ff13[_0x4693b0(0x199)](_0x4693b0(0x290)))return;_0x4693b0(0x2a7)==_0x31ea3e[_0x4693b0(0x2bf)]&&(_0x4c338e[_0x4693b0(0x251)](_0x1d4bdd)&&!_0x4c338e[_0x4693b0(0x247)](_0x1d4bdd)&&(_0x1d4bdd[_0x4693b0(0x28a)]||_0xb01bac[_0x4693b0(0x1c9)]?_0x191605&&_0x191605[_0x4693b0(0x231)]==_0x1d4bdd||(_0x191605=_0x1d4bdd,_0x6209e2(_0x31ea3e[_0x4693b0(0x24f)]),_0x1494bf=!0x0):_0xc6c559=_0xc6c559||_0x31ea3e[_0x4693b0(0x24f)]));}function _0x6209e2(_0x523971){const _0x592bd1=_0x4693b0,_0x14b1a0=_0x342b67[_0x592bd1(0x19d)][_0x592bd1(0x2c9)](_0x592bd1(0x1b2),{'class':_0x592bd1(0x22c)+_0x5cf1ea}),_0x49d20d=_0x342b67[_0x592bd1(0x1e3)][_0x592bd1(0x2b6)](_0x523971);_0x54c5fe[_0x592bd1(0x19a)][_0x592bd1(0x1d1)]&&_0x342b67[_0x592bd1(0x19d)][_0x592bd1(0x1c5)](_0x592bd1(0x22c)+_0x5cf1ea+_0x592bd1(0x2ac),_0x14b1a0),_0x8a0d98[_0x592bd1(0x2b7)]==_0x54c5fe&&_0x342b67[_0x592bd1(0x19d)][_0x592bd1(0x1c5)](_0x592bd1(0x297),_0x14b1a0),_0x342b67[_0x592bd1(0x19d)][_0x592bd1(0x276)](_0x49d20d,_0x14b1a0),_0x342b67[_0x592bd1(0x1e3)][_0x592bd1(0x1d9)](_0x14b1a0,_0xa4a39e[_0x592bd1(0x299)]);}_0x33e39e||_0x1494bf||!_0xc6c559||_0x6209e2(_0xc6c559);};}(this[_0x56b40f(0x2c8)]),{'priority':_0x56b40f(0x2a2)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2af)][_0x56b40f(0x18b)]['on'](_0x56b40f(0x1df),(_0x55a8fa,_0x5b2297,_0x2972c0)=>{const _0x3432fd=_0x56b40f,_0x89b92d=_0x2972c0[_0x3432fd(0x1e3)][_0x3432fd(0x2a1)](_0x5b2297[_0x3432fd(0x299)]);if(_0x89b92d){for(const _0x4aac4e of _0x89b92d)(_0x4aac4e[_0x3432fd(0x1c1)](_0x3432fd(0x1fa))||_0x4aac4e[_0x3432fd(0x1c1)](_0x3432fd(0x282)))&&(_0x2972c0[_0x3432fd(0x1e3)][_0x3432fd(0x197)](_0x4aac4e,_0x5b2297[_0x3432fd(0x299)]),_0x2972c0[_0x3432fd(0x19d)][_0x3432fd(0x21b)](_0x4aac4e));}},{'priority':_0x56b40f(0x2a2)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2af)][_0x56b40f(0x18b)]['on'](_0x56b40f(0x2c3),(_0x436bef,_0x125cfa,_0x3659e6)=>{const _0x1d6904=_0x56b40f,_0x4a0a2a=_0x125cfa[_0x1d6904(0x299)][_0x1d6904(0x215)](':')[0x1],_0x5be7cf=this[_0x1d6904(0x25a)](_0x4a0a2a);if(!_0x5be7cf)return null;const _0x5025cf=_0x1d6904(0x2a5)==_0x5be7cf[_0x1d6904(0x2bf)]?_0x1d6904(0x215):_0x1d6904(0x29f);if(_0x3659e6[_0x1d6904(0x1c2)][_0x1d6904(0x196)](_0x125cfa[_0x1d6904(0x219)],_0x436bef[_0x1d6904(0x2b0)]))for(const _0x64e500 of _0x125cfa[_0x1d6904(0x219)][_0x1d6904(0x1b0)]()){if(!_0x64e500['is'](_0x1d6904(0x1a2),_0x1d6904(0x239)))continue;const _0x2a03b9=_0x3659e6[_0x1d6904(0x19d)][_0x1d6904(0x2c9)](_0x1d6904(0x1b2),{'class':_0x1d6904(0x22c)+_0x5025cf}),_0x343396=_0x3659e6[_0x1d6904(0x1e3)][_0x1d6904(0x2b6)](this[_0x1d6904(0x2c8)][_0x1d6904(0x24e)][_0x1d6904(0x23d)](_0x64e500));_0x5be7cf[_0x1d6904(0x19a)][_0x1d6904(0x1d1)]&&_0x3659e6[_0x1d6904(0x19d)][_0x1d6904(0x1c5)](_0x1d6904(0x22c)+_0x5025cf+_0x1d6904(0x2ac),_0x2a03b9),this[_0x1d6904(0x2b7)]==_0x5be7cf&&_0x3659e6[_0x1d6904(0x19d)][_0x1d6904(0x1c5)](_0x1d6904(0x297),_0x2a03b9),_0x3659e6[_0x1d6904(0x19d)][_0x1d6904(0x276)](_0x343396,_0x2a03b9),_0x3659e6[_0x1d6904(0x1e3)][_0x1d6904(0x1d9)](_0x2a03b9,_0x125cfa[_0x1d6904(0x299)]);}},{'priority':_0x56b40f(0x2a2)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x24e)][_0x56b40f(0x1ae)]['on'](_0x56b40f(0x1b9),()=>{const _0xfe3847=_0x56b40f;this[_0xfe3847(0x2c8)][_0xfe3847(0x2af)][_0xfe3847(0x1e4)][_0xfe3847(0x1b9)](_0x800e11=>{const _0xe05ceb=_0xfe3847;for(const _0x70a00c of this[_0xe05ceb(0x2c8)][_0xe05ceb(0x24e)][_0xe05ceb(0x1ae)][_0xe05ceb(0x1c8)]()){const _0x2b2981=this[_0xe05ceb(0x2c8)][_0xe05ceb(0x24e)][_0xe05ceb(0x1ae)][_0xe05ceb(0x291)](_0x70a00c),_0x3427ee=this[_0xe05ceb(0x2c8)][_0xe05ceb(0x2af)][_0xe05ceb(0x1e4)][_0xe05ceb(0x1ae)][_0xe05ceb(0x291)](_0x70a00c);if(_0x3427ee){const _0x1199f3=_0x2b2981[_0xe05ceb(0x1e1)](_0xe05ceb(0x26a));if(_0x800e11[_0xe05ceb(0x188)](_0xe05ceb(0x18e),_0x3427ee),_0x800e11[_0xe05ceb(0x1b8)](_0xe05ceb(0x190),_0x3427ee),_0x800e11[_0xe05ceb(0x1b8)](_0xe05ceb(0x233),_0x3427ee),_0x800e11[_0xe05ceb(0x1b8)](_0xe05ceb(0x1e0),_0x3427ee),_0x1199f3){const _0x979851=this[_0xe05ceb(0x25a)](_0x1199f3);if(!_0x979851)return null;_0x800e11[_0xe05ceb(0x21c)](_0xe05ceb(0x18e),_0x1199f3,_0x3427ee),_0x800e11[_0xe05ceb(0x1c5)](_0xe05ceb(0x1b4)+_0x979851[_0xe05ceb(0x2bf)],_0x3427ee),this[_0xe05ceb(0x2b7)]==_0x979851&&_0x800e11[_0xe05ceb(0x1c5)](_0xe05ceb(0x1e0),_0x3427ee);}}}});}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x212))[_0x56b40f(0x22d)]({'view':_0x56b40f(0x187),'model':_0x2491c8=>_0x56b40f(0x201)+_0x2491c8,'converterPriority':_0x56b40f(0x226)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x212))[_0x56b40f(0x22d)]({'view':_0x56b40f(0x1e2),'model':_0x4cd9bd=>_0x56b40f(0x21f)+_0x4cd9bd,'converterPriority':_0x56b40f(0x226)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x224))[_0x56b40f(0x1dc)]({'model':_0x56b40f(0x24d),'view':_0x10e8af=>({'name':_0x56b40f(0x260)+_0x10e8af,'group':_0x56b40f(0x24d)}),'converterPriority':_0x56b40f(0x226)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2cd)][_0x56b40f(0x1ee)](_0x56b40f(0x295))[_0x56b40f(0x293)]({'model':_0x56b40f(0x24d),'view':_0x5b205b=>{const _0x5069f4=_0x56b40f,_0x427a80=_0x5b205b[_0x5069f4(0x299)][_0x5069f4(0x215)](':')[0x1];return _0x5069f4(0x2a3)!=_0x427a80&&_0x5069f4(0x2ca)!=_0x427a80?null:{'classes':[_0x5069f4(0x27e),_0x5069f4(0x1aa)+_0x427a80]};}}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2af)][_0x56b40f(0x18b)]['on'](_0x56b40f(0x23c),et(this[_0x56b40f(0x2c8)],_0x56b40f(0x29f)),{'priority':_0x56b40f(0x2a2)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2af)][_0x56b40f(0x18b)]['on'](_0x56b40f(0x273),et(this[_0x56b40f(0x2c8)],_0x56b40f(0x215)),{'priority':_0x56b40f(0x2a2)}),this[_0x56b40f(0x2c8)][_0x56b40f(0x2af)][_0x56b40f(0x18b)]['on'](_0x56b40f(0x2c2),(_0x3f9763,_0x13e274,_0xfc401a)=>{const _0x1fb808=_0x56b40f,_0x396284=_0xfc401a[_0x1fb808(0x1e3)][_0x1fb808(0x2a1)](_0x13e274[_0x1fb808(0x299)]);if(_0x396284){for(const _0x35bcb5 of _0x396284)_0x35bcb5['is'](_0x1fb808(0x1bf))&&(_0xfc401a[_0x1fb808(0x1e3)][_0x1fb808(0x197)](_0x35bcb5,_0x13e274[_0x1fb808(0x299)]),_0xfc401a[_0x1fb808(0x19d)][_0x1fb808(0x21b)](_0x35bcb5));}},{'priority':_0x56b40f(0x2a2)});}[_0x40ad0f(0x25a)](_0x34894e){const _0xb3f76e=_0x40ad0f;return this[_0xb3f76e(0x281)][_0xb3f76e(0x2c6)](_0x34894e);}[_0x40ad0f(0x27c)](_0x5ea5fd){const _0x46a2fe=_0x40ad0f;return this[_0x46a2fe(0x2b4)]&&this[_0x46a2fe(0x2b4)][_0x46a2fe(0x191)](),this[_0x46a2fe(0x2b4)]=new _0x562ca9(this[_0x46a2fe(0x2c8)][_0x46a2fe(0x270)],_0x5ea5fd),this[_0x46a2fe(0x2b4)];}[_0x40ad0f(0x2bb)](){const _0x533f1e=_0x40ad0f;this[_0x533f1e(0x2c8)][_0x533f1e(0x24e)][_0x533f1e(0x1ae)][_0x533f1e(0x280)][_0x533f1e(0x269)](_0x533f1e(0x19c)),this['on'](_0x533f1e(0x22f),(_0x328d1b,_0x412c28,_0x2d6678,_0x6c5fe3)=>{const _0x5c6eb6=_0x533f1e;_0x6c5fe3&&this[_0x5c6eb6(0x248)][_0x5c6eb6(0x21b)](_0x6c5fe3),_0x2d6678&&(this[_0x5c6eb6(0x248)][_0x5c6eb6(0x2a5)]({'view':_0x2d6678,'stackId':_0x5c6eb6(0x1fe),'position':{'target':()=>{const _0x5aa500=_0x5c6eb6,_0x4d60c6=this[_0x5aa500(0x2c8)][_0x5aa500(0x2af)],_0x3e5833=this[_0x5aa500(0x25a)](_0x2d6678[_0x5aa500(0x22e)]);let _0x1201a9;if(_0x3e5833[_0x5aa500(0x19a)][_0x5aa500(0x2ce)]){const _0x2af15e=_0x4d60c6[_0x5aa500(0x1e4)][_0x5aa500(0x1bb)](_0x3e5833[_0x5aa500(0x1af)]);_0x1201a9=Array[_0x5aa500(0x275)](_0x2af15e[_0x5aa500(0x272)]());}else{const _0x1c6e01=this[_0x5aa500(0x2c8)][_0x5aa500(0x24e)][_0x5aa500(0x286)][_0x5aa500(0x2c6)](_0x5aa500(0x27d)+_0x2d6678[_0x5aa500(0x22e)]);_0x1201a9=Array[_0x5aa500(0x275)](_0x4d60c6[_0x5aa500(0x1e3)][_0x5aa500(0x2a1)](_0x1c6e01[_0x5aa500(0x2b0)]))[_0x5aa500(0x2b9)](_0x42cbb=>_0x4d60c6[_0x5aa500(0x1e4)][_0x5aa500(0x1a0)][_0x5aa500(0x1f9)](_0x42cbb))[_0x5aa500(0x2b9)](_0x36dea5=>Array[_0x5aa500(0x275)](_0x36dea5[_0x5aa500(0x272)]()))[_0x5aa500(0x2ba)]();}if(!this[_0x5aa500(0x1fc)])return _0x1201a9[0x0];return _0x1201a9[_0x5aa500(0x210)](_0x51e540=>_0x51e540[_0x5aa500(0x2ad)]-0x3<=this[_0x5aa500(0x1fc)]['y']&&_0x51e540[_0x5aa500(0x1e9)]+0x3>=this[_0x5aa500(0x1fc)]['y']&&_0x51e540[_0x5aa500(0x1b3)]-0x3<=this[_0x5aa500(0x1fc)]['x']&&_0x51e540[_0x5aa500(0x189)]+0x3>=this[_0x5aa500(0x1fc)]['x'])||_0x1201a9[0x0];}}}),this[_0x5c6eb6(0x248)][_0x5c6eb6(0x1d7)](_0x5c6eb6(0x1fe)));}),this['on'](_0x533f1e(0x21d),(_0x2b09ee,_0x47867e,_0x5320a9,_0x5826da)=>{const _0x3aa285=_0x533f1e;this[_0x3aa285(0x200)]=_0x5320a9?this[_0x3aa285(0x27c)](_0x5320a9):null,this[_0x3aa285(0x2c8)][_0x3aa285(0x24e)][_0x3aa285(0x1b9)](()=>{const _0x3c8f99=_0x3aa285,_0xdab503=this[_0x3c8f99(0x2c8)][_0x3c8f99(0x2af)];_0x5826da&&(_0x5826da[_0x3c8f99(0x19a)][_0x3c8f99(0x2ce)]?_0xdab503[_0x3c8f99(0x1e4)][_0x3c8f99(0x1b9)](_0x278e0a=>{const _0x1b06a2=_0x3c8f99;_0x278e0a[_0x1b06a2(0x1b8)](_0x1b06a2(0x1e0),_0xdab503[_0x1b06a2(0x1e4)][_0x1b06a2(0x1ae)][_0x1b06a2(0x291)](_0x5826da[_0x1b06a2(0x1af)]));}):_0xdab503[_0x3c8f99(0x2bc)](_0x3c8f99(0x27d)+_0x5826da['id'])),_0x5320a9&&(_0x5320a9[_0x3c8f99(0x19a)][_0x3c8f99(0x2ce)]?_0xdab503[_0x3c8f99(0x1e4)][_0x3c8f99(0x1b9)](_0x5ad29a=>{const _0x405fbd=_0x3c8f99;_0x5ad29a[_0x405fbd(0x1c5)](_0x405fbd(0x1e0),_0xdab503[_0x405fbd(0x1e4)][_0x405fbd(0x1ae)][_0x405fbd(0x291)](_0x5320a9[_0x405fbd(0x1af)]));}):_0xdab503[_0x3c8f99(0x2bc)](_0x3c8f99(0x27d)+_0x5320a9['id']));});}),this[_0x533f1e(0x2cf)](this[_0x533f1e(0x2c8)][_0x533f1e(0x2af)][_0x533f1e(0x1e4)][_0x533f1e(0x1ae)],_0x533f1e(0x2b2),(_0x333243,_0x962ede)=>{const _0x14f99a=_0x533f1e;if(this[_0x14f99a(0x2b7)])return;const _0x24cc4f=this[_0x14f99a(0x27b)](_0x962ede[_0x14f99a(0x1d6)]),_0x2c35f6=this[_0x14f99a(0x281)][_0x14f99a(0x2c6)](_0x24cc4f);_0x2c35f6?(this[_0x14f99a(0x1fc)]={'x':_0x962ede[_0x14f99a(0x2a8)]['x'],'y':_0x962ede[_0x14f99a(0x2a8)]['y']},this[_0x14f99a(0x200)]=this[_0x14f99a(0x27c)](_0x2c35f6)):(this[_0x14f99a(0x1fc)]=null,this[_0x14f99a(0x200)]=null);}),this[_0x533f1e(0x2cf)](this[_0x533f1e(0x2c8)][_0x533f1e(0x2af)][_0x533f1e(0x1e4)][_0x533f1e(0x1ae)],_0x533f1e(0x283),(_0x3e5896,_0x443f5c)=>{const _0x88701f=_0x533f1e,_0xca8bb3=this[_0x88701f(0x27b)](_0x443f5c[_0x88701f(0x1d6)]),_0x219d7f=this[_0x88701f(0x281)][_0x88701f(0x2c6)](_0xca8bb3);_0x219d7f?(this[_0x88701f(0x1fc)]={'x':_0x443f5c[_0x88701f(0x2a8)]['x'],'y':_0x443f5c[_0x88701f(0x2a8)]['y']},_0x219d7f===this[_0x88701f(0x2b7)]?this[_0x88701f(0x248)][_0x88701f(0x217)]():this[_0x88701f(0x2b7)]=_0x219d7f):(this[_0x88701f(0x1fc)]=null,this[_0x88701f(0x2b7)]=null);});}[_0x40ad0f(0x27b)](_0x931747){const _0x1faffc=_0x40ad0f;do{const _0x58b50f=_0x931747[_0x1faffc(0x1e1)](_0x1faffc(0x18e));if(_0x58b50f)return _0x58b50f;_0x931747=_0x931747[_0x1faffc(0x231)];}while(_0x931747);return null;}[_0x40ad0f(0x265)](){const _0x595cb6=_0x40ad0f;this[_0x595cb6(0x2c8)][_0x595cb6(0x24e)][_0x595cb6(0x1b9)](_0x53de75=>{const _0x50c1b7=_0x595cb6;for(const _0x21d656 of this[_0x50c1b7(0x2c8)][_0x50c1b7(0x24e)][_0x50c1b7(0x286)])_0x53de75[_0x50c1b7(0x2ab)](_0x21d656);});}}function _0x2da2(){const _0x3aa410=['ck-suggestion-preview-marker-','oldRevisionId','addRoot','isEnabled','document','rootName','getItems','parse','span','left','ck-revision-history-root-','userId','_markMismatchedRemovedTags','attributesBefore','removeClass','change','change:numberOfChanges','getDomRoot','plugins','useFillerType','changes','uiElement','viewItem','hasClass','consumable','filter','repository','addClass','end','_markMarkers','getRootNames','isAtEnd','loadRevisionData','start','findIndex','wrap','4105SsmROX','has','vid_start','isSuggestion','change:isEnabled','restoreRevision','_removeRevisionMarkers','isContent','target','showStack','level','bindElementToMarker','getRevisionRootsAttributes','revisionHistory','markerToData','_getDiff','_step','removeMarker:revision','ck-revision-history-root--active','getAttribute','suggestion','mapper','view','RevisionViewer','shift','isObject','diff','bottom','requires','startsWith','modelRange','createAttributeElement','for','low','concat','resolve','keys','_cleanUp','elementToAttribute','_setChanges','pluginName','init','ck-suggestion-marker','mapViewToDom','ck-suggestion-marker-split','indexOf','_activeViewTarget','POSITIVE_INFINITY','revisionHistoryLabel','compare','activeView','revision-comment:','authors','roots','pairId','_threeWayMerge','element:pre','_makeTape','isAdded','nextPosition','marked','clear','forceDisabled','side','revision-viewer','createRange','find','isNavigationMode','upcast','_revisions','isRemoved','split','data-revision-','updatePosition','_joinTapes','markerRange','vid_end','remove','setAttribute','change:activeChange','item','revision-suggestion:','slice','affectsData','attributes','currentChangeNumber','dataDowncast','markersEnd','highest','schema','newRevisionId','vid','38810gzETaQ','insertions','ck-suggestion-marker-','dataToMarker','changeId','change:activeView','commands','parent','showNextChange','ck-revision-history-root-remove','unshift','toViewElement','hasAttribute','startIndex','distance','softBreak','enqueueChange','length','addMarker:revision-suggestion:deletion','createPositionBefore','forward','diffData','isAtStart','getRevisionData','_setConversion','_getRevisionsRange','code','processor','1622784PmpYAF','isLimit','_balloon','forEach','checkAttribute','nodeAfter','backward','revision-suggestion','model','previousPosition','restoreRevisionCallback','isBlock','_processTape','first','attachChange','adapter','getRevision','attributesAfter','_makeModelFromTape','_update','_getChangeFromId','collaboration.channelId','includes','children','87GVAPoB','isReady','suggestion:','config','isCollapsed','_removeMissingPairs','getChild','_cleanMarkers','default','_makeModelFromViewString','numberOfChanges','observeMarkers','revisionHistoryAttachChange','_setDistance','object','_getViewObj','1511265ZqrUcY','_appendChild','locale','consume','getClientRects','addMarker:revision-suggestion:insertion','index','from','insert','getAttributes','execute','revision-end','isRemoveSuggestion','_findChangeIdFromDomTarget','_getViewForChange','revision:','ck-suggestion-preview-marker','1458xBrybL','selection','_changeIdToChange','ck-suggestion-marker-merge','mousedown','toModel','change:isReady','markers','isIncorrect','WidgetToolbarRepository','showPreviousChange','nextSibling','deletions','endIndex','string','isEqual','createPositionFromPath','addHighlight','getRoot','catch','markerToHighlight','error','editingDowncast','offsetSize','ck-suggestion-marker--active','_markSuggestions','markerName','toData','next','then','abs','detachRoot','merge','RevisionsRepository','markerNameToElements','high','insertion','isAddSuggestion','add','push','elementEnd','domEvent','_data','_refreshStartEndIndex','removeMarker','-new','top','3704264aAJQwN','editing','name','_markInsertions','mouseover','all','_changeView','isBefore','toViewPosition','activeChange','range','map','flat','_initInteractions','reconvertMarker','addRevisionData','sort','type','_fixObsoleteTags','done','removeMarker:revision-suggestion','addMarker:revision','text','isInline','get','revision-start','editor','createUIElement','deletion','refresh','482317Fqgznw','conversion','isOnRoot','listenTo','isAfter','getIndex','createRevision','return','maxOffset','comment','removeAttribute','right','_sortAndFilterDiffChanges','downcastDispatcher','elementStart','enableReadOnlyMode','data-change-id','markersStart','ck-revision-history-root-add','destroy','isAttached','createRangeIn','values','set','test','unbindElementFromMarkerName','attribute:vid','getCustomProperty','data','ck-editor__editable__overlay','revision','writer','_removeUnsupportedChanges','bind','domConverter','delete','element','addRevision','splice','pop','toViewRange','19986741EHAnAg','getWalker','stop'];_0x2da2=function(){return _0x3aa410;};return _0x2da2();}function et(_0x5c8db2,_0x14fb2a){return(_0xf14c4,_0x2e5cd4,_0x510f80)=>{const _0x433581=_0x549e;if(!_0x510f80[_0x433581(0x1c2)][_0x433581(0x196)](_0x2e5cd4[_0x433581(0x219)],_0xf14c4[_0x433581(0x2b0)]))return;const _0x572be7=_0x2e5cd4[_0x433581(0x219)][_0x433581(0x1a8)](),_0xefa784=_0x2e5cd4[_0x433581(0x219)][_0x433581(0x1cb)],_0x2a9a1a=_0x5c8db2[_0x433581(0x24e)][_0x433581(0x227)];let _0x13d871=null,_0x5c7445=null,_0x5662ed=!0x1,_0x118813=!0x1;for(const _0x32bf09 of _0x572be7){const _0x195909=_0x32bf09[_0x433581(0x21e)];_0x5662ed=_0x5662ed||_0x2a9a1a[_0x433581(0x1d5)](_0x195909);const _0x55d6d6=_0x510f80[_0x433581(0x1e3)][_0x433581(0x235)](_0x195909);if(_0x55d6d6&&_0x55d6d6[_0x433581(0x199)](_0x433581(0x290)))return;_0x433581(0x2a7)==_0x32bf09[_0x433581(0x2bf)]&&(_0x2a9a1a[_0x433581(0x251)](_0x195909)&&!_0x2a9a1a[_0x433581(0x247)](_0x195909)&&(_0x195909[_0x433581(0x28a)]||_0xefa784[_0x433581(0x1c9)]?_0x13d871&&_0x13d871[_0x433581(0x231)]==_0x195909||(_0x13d871=_0x195909,_0xabd662(_0x32bf09[_0x433581(0x24f)]),_0x118813=!0x0):_0x5c7445=_0x5c7445||_0x32bf09[_0x433581(0x24f)]));}function _0xabd662(_0x1c2ac6){const _0x11e3d4=_0x433581,_0x1acdbe=_0x510f80[_0x11e3d4(0x1e3)][_0x11e3d4(0x2b6)](_0x1c2ac6),_0x41e5da=_0x510f80[_0x11e3d4(0x19d)][_0x11e3d4(0x2c9)](_0x11e3d4(0x1b2),{'class':_0x11e3d4(0x1aa)+_0x14fb2a});_0x510f80[_0x11e3d4(0x19d)][_0x11e3d4(0x276)](_0x1acdbe,_0x41e5da),_0x510f80[_0x11e3d4(0x1e3)][_0x11e3d4(0x1d9)](_0x41e5da,_0x2e5cd4[_0x11e3d4(0x299)]);}_0x5662ed||_0x118813||!_0x5c7445||_0xabd662(_0x5c7445);};}export class RestoreRevisionCommand extends _0x582cef{constructor(_0x47c96c){const _0x3d60fe=_0x40ad0f;super(_0x47c96c);const _0x3a294d=_0x47c96c[_0x3d60fe(0x1bc)][_0x3d60fe(0x2c6)](d);this[_0x3d60fe(0x221)]=!0x1,this[_0x3d60fe(0x2cf)](_0x3a294d,_0x3d60fe(0x285),()=>this[_0x3d60fe(0x2cb)]()),this[_0x3d60fe(0x2cf)](_0x3a294d,_0x3d60fe(0x1d2),()=>this[_0x3d60fe(0x2cb)]());}[_0x40ad0f(0x278)](){const _0x34a5ec=_0x40ad0f,_0x18b50d=this[_0x34a5ec(0x2c8)],_0x9d7230=_0x18b50d[_0x34a5ec(0x1bc)][_0x34a5ec(0x2c6)](d),_0x433d60=_0x9d7230[_0x34a5ec(0x25f)]?_0x9d7230[_0x34a5ec(0x1e8)][_0x34a5ec(0x228)]:null;_0x18b50d[_0x34a5ec(0x261)][_0x34a5ec(0x2c6)](_0x34a5ec(0x1db))[_0x34a5ec(0x250)](_0x433d60);}[_0x40ad0f(0x2cb)](){const _0x6f5264=_0x40ad0f,{isReady:_0x3657c7,isEnabled:_0x1bacd8}=this[_0x6f5264(0x2c8)][_0x6f5264(0x1bc)][_0x6f5264(0x2c6)](d);this[_0x6f5264(0x1ad)]=_0x3657c7&&_0x1bacd8;}}export class ShowChangeCommand extends _0x582cef{constructor(_0xe2a7d6,{direction:_0xe8d027}){const _0x29adfe=_0x40ad0f;super(_0xe2a7d6);const _0x13e125=_0xe2a7d6[_0x29adfe(0x1bc)][_0x29adfe(0x2c6)](d);this[_0x29adfe(0x221)]=!0x1,this[_0x29adfe(0x1de)]=_0x29adfe(0x23e)===_0xe8d027?0x1:-0x1,this[_0x29adfe(0x2cf)](_0x13e125,_0x29adfe(0x285),()=>this[_0x29adfe(0x2cb)]()),this[_0x29adfe(0x2cf)](_0x13e125,_0x29adfe(0x1d2),()=>this[_0x29adfe(0x2cb)]()),this[_0x29adfe(0x2cf)](_0x13e125,_0x29adfe(0x21d),()=>this[_0x29adfe(0x2cb)]());}[_0x40ad0f(0x278)](){const _0x1fe2e9=_0x40ad0f,_0x1a8899=this[_0x1fe2e9(0x2c8)],_0x4abac2=_0x1a8899[_0x1fe2e9(0x1bc)][_0x1fe2e9(0x2c6)](d),{isNavigationMode:_0x901039,currentChangeNumber:_0x3a3750}=_0x4abac2;let _0x538943;if(_0x4abac2[_0x1fe2e9(0x2b7)]=_0x901039?_0x4abac2[_0x1fe2e9(0x1e8)][_0x1fe2e9(0x1be)][_0x1fe2e9(0x2c6)](_0x3a3750+this[_0x1fe2e9(0x1de)]):_0x4abac2[_0x1fe2e9(0x1e8)][_0x1fe2e9(0x1be)][_0x1fe2e9(0x253)],_0x4abac2[_0x1fe2e9(0x2b7)][_0x1fe2e9(0x19a)][_0x1fe2e9(0x2ce)])_0x538943=_0x1a8899[_0x1fe2e9(0x2af)][_0x1fe2e9(0x1e4)][_0x1fe2e9(0x1bb)](_0x4abac2[_0x1fe2e9(0x2b7)][_0x1fe2e9(0x1af)]);else{const _0x3a47f3=_0x1a8899[_0x1fe2e9(0x24e)][_0x1fe2e9(0x286)][_0x1fe2e9(0x2c6)](_0x1fe2e9(0x27d)+_0x4abac2[_0x1fe2e9(0x2b7)]['id']);_0x538943=_0x46f6d9(_0x1a8899[_0x1fe2e9(0x2af)],_0x3a47f3);}_0x1212da({'target':_0x538943,'viewportOffset':0x28});}[_0x40ad0f(0x2cb)](){const _0x1c0d2c=_0x40ad0f,{isNavigationMode:_0x19c13b,currentChangeNumber:_0x51c672,numberOfChanges:_0xa907b0,isReady:_0x264e49,isEnabled:_0x1f489b}=this[_0x1c0d2c(0x2c8)][_0x1c0d2c(0x1bc)][_0x1c0d2c(0x2c6)](d);this[_0x1c0d2c(0x1ad)]=!!(_0x1f489b&&_0x264e49&&_0xa907b0)&&(!_0x19c13b||(0x1===this[_0x1c0d2c(0x1de)]?_0x51c672<_0xa907b0-0x1:_0x51c672>0x0));}}
|
|
23
|
+
const _0x255922=_0x507a;(function(_0x7745f0,_0xd71c6b){const _0x2eb5c4=_0x507a,_0x4b3c2e=_0x7745f0();while(!![]){try{const _0x2b8267=-parseInt(_0x2eb5c4(0x90))/0x1+-parseInt(_0x2eb5c4(0x11b))/0x2*(-parseInt(_0x2eb5c4(0x14c))/0x3)+-parseInt(_0x2eb5c4(0xa6))/0x4*(-parseInt(_0x2eb5c4(0x196))/0x5)+-parseInt(_0x2eb5c4(0x81))/0x6+-parseInt(_0x2eb5c4(0x11c))/0x7*(-parseInt(_0x2eb5c4(0x176))/0x8)+parseInt(_0x2eb5c4(0x1a0))/0x9*(-parseInt(_0x2eb5c4(0x13b))/0xa)+parseInt(_0x2eb5c4(0xbd))/0xb;if(_0x2b8267===_0xd71c6b)break;else _0x4b3c2e['push'](_0x4b3c2e['shift']());}catch(_0x2aede7){_0x4b3c2e['push'](_0x4b3c2e['shift']());}}}(_0xe907,0xe3824));import{Plugin as _0x44a9b4,Command as _0xfa2175}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1dd015}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x185256}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x897611,Element as _0x15555f,Text as _0x3ff6ca,ViewDocumentFragment as _0x5d15d3,ViewText as _0x3a256b,ViewElement as _0x38474f,ViewContainerElement as _0x24ca88,ViewAttributeElement as _0x3e2243,ViewEmptyElement as _0xa541d2,ViewRawElement as _0x302d3,ViewUIElement as _0x59b5dd}from'ckeditor5/src/engine.js';import{Users as _0x1655a1,getMarkerDomElement as _0x237f44}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1fb949 from'./ui/revisionviewer/changedetailsview.js';import _0x521b4b from'./revisionsrepository.js';import _0x577cd8 from'./changeitem.js';import{default as _0x1c0d14}from'./revisiondiff.js';import'../theme/revisionviewer.css';function _0x507a(_0x4f6c51,_0x389e02){const _0xe907c4=_0xe907();return _0x507a=function(_0x507a03,_0x270f4d){_0x507a03=_0x507a03-0x80;let _0x1e62b2=_0xe907c4[_0x507a03];return _0x1e62b2;},_0x507a(_0x4f6c51,_0x389e02);}import{cloneDeep as _0x1fdad5}from'lodash-es';const tt={'c':_0x24ca88,'a':_0x3e2243,'e':_0xa541d2,'r':_0x302d3,'u':_0x59b5dd};export default class d extends _0x44a9b4{static get[_0x255922(0x1be)](){const _0xb39ddf=_0x255922;return _0xb39ddf(0xec);}static get[_0x255922(0xb3)](){return[_0x1655a1,_0x185256,_0x521b4b];}constructor(_0x58d020){const _0x126873=_0x255922;super(_0x58d020),this[_0x126873(0x13d)]=this[_0x126873(0xd1)][_0x126873(0x1af)][_0x126873(0x1b6)](_0x126873(0xf4)),this[_0x126873(0x189)](_0x126873(0x110),null),this[_0x126873(0x189)](_0x126873(0xfd),null),this[_0x126873(0x141)]=null,this[_0x126873(0x189)](_0x126873(0x14d),null),this[_0x126873(0x189)](_0x126873(0x112),!0x1),this[_0x126873(0x189)](_0x126873(0x18f),!0x0),this['on'](_0x126873(0x8e),(_0x57c882,_0x5d92ac,_0x1ae933)=>{const _0x3a656f=_0x126873;this[_0x3a656f(0x110)]=null,this[_0x3a656f(0xfd)]=null,this[_0x3a656f(0xd1)][_0x3a656f(0x118)][_0x3a656f(0xc4)][_0x3a656f(0xcd)](_0x4aac62=>{const _0x5d645e=_0x3a656f;for(const _0x45148a of this[_0x5d645e(0xd1)][_0x5d645e(0x118)][_0x5d645e(0xc4)][_0x5d645e(0x11e)][_0x5d645e(0x15e)])_0x1ae933?_0x4aac62[_0x5d645e(0x123)](_0x5d645e(0x19d),_0x45148a):_0x4aac62[_0x5d645e(0x80)](_0x5d645e(0x19d),_0x45148a);});}),this[_0x126873(0x1a1)](_0x126873(0x17a))['to'](this,_0x126873(0x110),_0x313898=>null!==_0x313898),this[_0x126873(0x1a1)](_0x126873(0x161))['to'](this,_0x126873(0x112),this,_0x126873(0x14d),this,_0x126873(0x110),(_0x4676df,_0x477371,_0x29a548)=>_0x4676df&&_0x29a548?_0x477371[_0x126873(0x117)][_0x126873(0x138)](_0x29a548):0x0),this[_0x126873(0x1a1)](_0x126873(0xc1))['to'](this,_0x126873(0x112),this,_0x126873(0x14d),(_0xcfe40b,_0x2b7ed5)=>_0xcfe40b?_0x2b7ed5[_0x126873(0x117)][_0x126873(0x12a)]:0x0),this[_0x126873(0xa9)]=null,this[_0x126873(0xab)]=new Map(),this[_0x126873(0x158)]=null,this[_0x126873(0x1b2)]=this[_0x126873(0xd1)][_0x126873(0x1af)][_0x126873(0x1b6)](_0x185256);}[_0x255922(0x179)](){const _0x53a827=_0x255922,_0x3beaf3=this[_0x53a827(0xd1)],_0x255611=new ShowChangeCommand(_0x3beaf3,{'direction':_0x53a827(0xb7)}),_0x15b0d2=new ShowChangeCommand(_0x3beaf3,{'direction':_0x53a827(0x13a)});(_0x3beaf3[_0x53a827(0xaa)][_0x53a827(0xd5)](_0x53a827(0xfb),_0x255611),_0x3beaf3[_0x53a827(0xaa)][_0x53a827(0xd5)](_0x53a827(0x1a8),_0x15b0d2),_0x3beaf3[_0x53a827(0xaa)][_0x53a827(0xd5)](_0x53a827(0x18d),new RestoreRevisionCommand(_0x3beaf3)),this['on'](_0x53a827(0x16a),()=>{const _0x11676e=_0x53a827;_0x255611[_0x11676e(0x163)](),_0x15b0d2[_0x11676e(0x163)]();}),this[_0x53a827(0xe7)](),this[_0x53a827(0x139)](),_0x3beaf3[_0x53a827(0x9c)](_0x53a827(0xcc)),_0x3beaf3[_0x53a827(0x1af)][_0x53a827(0xad)](_0x53a827(0xf3)))&&_0x3beaf3[_0x53a827(0x1af)][_0x53a827(0x1b6)](_0x53a827(0xf3))[_0x53a827(0x109)](_0x53a827(0xcc));}async[_0x255922(0x131)](_0x151753){const _0x167d5a=_0x255922;await this[_0x167d5a(0x14e)](_0x151753);const _0x444bf9={};for(const _0x3c3398 in _0x151753[_0x167d5a(0x156)]){if(_0x151753[_0x167d5a(0x156)][_0x3c3398][_0x167d5a(0x174)]&&!_0x151753[_0x167d5a(0x156)][_0x3c3398][_0x167d5a(0x174)][_0x167d5a(0xf6)])continue;const _0x2236a4=this[_0x167d5a(0xb5)](JSON[_0x167d5a(0x166)](_0x151753[_0x167d5a(0x156)][_0x3c3398][_0x167d5a(0x1ab)])),_0x3a605f=this[_0x167d5a(0xd1)][_0x167d5a(0x118)][_0x167d5a(0xc4)][_0x167d5a(0x11e)],_0xd39dc7=new _0x5d15d3(_0x3a605f,_0x2236a4[_0x167d5a(0x172)](_0x1aaeeb=>this[_0x167d5a(0xd3)](_0x1aaeeb)));this[_0x167d5a(0xd1)][_0x167d5a(0xdf)][_0x167d5a(0x1cf)][_0x167d5a(0xa2)](_0x167d5a(0xc7)),_0x444bf9[_0x3c3398]=this[_0x167d5a(0xd1)][_0x167d5a(0xdf)][_0x167d5a(0x1cf)][_0x167d5a(0x16c)](_0xd39dc7),this[_0x167d5a(0xd1)][_0x167d5a(0xdf)][_0x167d5a(0x1cf)][_0x167d5a(0xa2)](_0x167d5a(0x132));}return _0x444bf9;}async[_0x255922(0x89)](_0x4f35a3){const _0x4cf92b=_0x255922;await this[_0x4cf92b(0x14e)](_0x4f35a3);const _0x1fa83e={};for(const _0x16fe3f in _0x4f35a3[_0x4cf92b(0x156)])_0x4f35a3[_0x4cf92b(0x156)][_0x16fe3f][_0x4cf92b(0x174)]&&!_0x4f35a3[_0x4cf92b(0x156)][_0x16fe3f][_0x4cf92b(0x174)][_0x4cf92b(0xf6)]||(_0x1fa83e[_0x16fe3f]=_0x4f35a3[_0x4cf92b(0x156)][_0x16fe3f][_0x4cf92b(0x1c5)]||{});return _0x1fa83e;}[_0x255922(0xb5)](_0x12bd2c){const _0x37519d=_0x255922;return(_0x12bd2c=_0x12bd2c[_0x37519d(0x1bb)](_0x5b1193=>!_0x5b1193[_0x37519d(0x128)]||_0x37519d(0xb6)!==_0x5b1193[_0x37519d(0x128)]&&_0x37519d(0xde)!==_0x5b1193[_0x37519d(0x128)]))[_0x37519d(0x1cd)](_0x4973d5=>{const _0x72103=_0x37519d;_0x72103(0x104)!=typeof _0x4973d5&&(_0x4973d5[_0x72103(0x169)]=this[_0x72103(0xb5)](_0x4973d5[_0x72103(0x169)]),_0x4973d5[_0x72103(0xf8)]=_0x4973d5[_0x72103(0xf8)][_0x72103(0x1bb)](_0x4b9f8e=>!_0x4b9f8e[0x0][_0x72103(0xc5)](_0x72103(0x165))));}),_0x12bd2c;}async[_0x255922(0x178)](_0x5c0b8a,_0x3ea360,_0x30b3a3=!0x1){const _0x41f688=_0x255922;if(!this[_0x41f688(0x18f)])return;const _0x3595db=this[_0x41f688(0x14d)],_0x2d41f8=this[_0x41f688(0x13d)],_0x50b283=_0x41f688(0x104)==typeof _0x5c0b8a?_0x2d41f8[_0x41f688(0x187)](_0x5c0b8a):_0x5c0b8a,_0x3ab7f4=_0x41f688(0x104)==typeof _0x3ea360?_0x2d41f8[_0x41f688(0x187)](_0x3ea360):_0x3ea360,_0x18bd45=_0x50b283['id'],_0xa460f9=_0x3ab7f4?_0x3ab7f4['id']:null;if(!_0x30b3a3&&this[_0x41f688(0x14d)]&&this[_0x41f688(0x14d)][_0x41f688(0x11d)]===_0x18bd45&&this[_0x41f688(0x14d)][_0x41f688(0x194)]===_0xa460f9)return Promise[_0x41f688(0xce)]();this[_0x41f688(0x112)]=!0x1,this[_0x41f688(0xfd)]=null,this[_0x41f688(0x110)]=null,this[_0x41f688(0x14d)]=new _0x1c0d14(_0x18bd45,_0xa460f9);const _0x1ab10e=this[_0x41f688(0xc6)](_0x50b283,_0x3ab7f4,!0x0)[_0x41f688(0x172)](_0x55b579=>this[_0x41f688(0x14e)](_0x55b579));return _0x1ab10e[_0x41f688(0x126)](new Promise(_0x212244=>{setTimeout(_0x212244,0x14);})),Promise[_0x41f688(0xe9)](_0x1ab10e)[_0x41f688(0x9e)](()=>{const _0x47a458=_0x41f688;if(!this[_0x47a458(0x18f)])return;this[_0x47a458(0x1cc)]();const _0x399b1e=this[_0x47a458(0xc3)](_0x18bd45,_0xa460f9);for(const _0x140913 of _0x399b1e[_0x47a458(0x117)])this[_0x47a458(0xab)][_0x47a458(0x189)](_0x140913['id'],_0x140913);this[_0x47a458(0xd1)][_0x47a458(0x1a3)][_0x47a458(0x15a)]({'isUndoable':!0x1},_0x98b72b=>{const _0x2615b3=_0x47a458;for(const _0x29e845 of this[_0x2615b3(0xd1)][_0x2615b3(0x1a3)][_0x2615b3(0x11e)][_0x2615b3(0x164)]())_0x98b72b[_0x2615b3(0x186)](_0x29e845);for(const _0x31ee06 of Object[_0x2615b3(0x167)](_0x399b1e[_0x2615b3(0x1a3)])){const _0x63963a=_0x98b72b[_0x2615b3(0x1a7)](_0x31ee06);for(const _0x15bd77 of Object[_0x2615b3(0x167)](_0x399b1e[_0x2615b3(0xf8)][_0x31ee06]))_0x98b72b[_0x2615b3(0xb8)](_0x15bd77,_0x399b1e[_0x2615b3(0xf8)][_0x31ee06][_0x15bd77],_0x63963a);_0x98b72b[_0x2615b3(0xf0)](_0x399b1e[_0x2615b3(0x1a3)][_0x31ee06],_0x63963a,0x0);}}),this[_0x47a458(0x14d)][_0x47a458(0x15f)](this[_0x47a458(0x1b1)](_0x399b1e[_0x47a458(0x117)])),this[_0x47a458(0x112)]=!0x0;})[_0x41f688(0xa8)](_0x1445c1=>{const _0x3c69ee=_0x41f688;console[_0x3c69ee(0x17c)](_0x1445c1),this[_0x3c69ee(0x1cc)](),_0x3595db&&(this[_0x3c69ee(0x14d)]=_0x3595db),this[_0x3c69ee(0x112)]=!0x0;});}[_0x255922(0x17e)](_0x302e18,_0x3533b8){const _0x16bebd=_0x255922,_0x999860=this[_0x16bebd(0x13d)][_0x16bebd(0x143)](_0x302e18);return _0x999860['on'](_0x16bebd(0x85),(_0xad11ff,_0x414499,_0x245fff)=>_0x3533b8(_0x414499,_0x245fff,_0x999860)),this[_0x16bebd(0x13d)][_0x16bebd(0x105)](_0x999860),_0x999860;}[_0x255922(0x14e)](_0x36bec2){const _0x1e3913=_0x255922;if(!_0x36bec2||_0x36bec2[_0x1e3913(0x156)])return Promise[_0x1e3913(0xce)]();{const _0xbfdf3=this[_0x1e3913(0xd1)][_0x1e3913(0x1c0)][_0x1e3913(0x1b6)](_0x1e3913(0x12d));return this[_0x1e3913(0x158)][_0x1e3913(0x187)]({'channelId':_0xbfdf3,'revisionId':_0x36bec2['id']})[_0x1e3913(0x9e)](_0xa97799=>{const _0x5c114d=_0x1e3913;_0x36bec2[_0x5c114d(0x85)]({'diffData':_0xa97799[_0x5c114d(0x156)]},!0x0);});}}[_0x255922(0x1cc)](){const _0x5ce1ee=_0x255922;this[_0x5ce1ee(0x110)]=null,this[_0x5ce1ee(0xf7)](),this[_0x5ce1ee(0xa9)]&&this[_0x5ce1ee(0xa9)][_0x5ce1ee(0x170)](),this[_0x5ce1ee(0xa9)]=null,this[_0x5ce1ee(0xab)][_0x5ce1ee(0x182)](),this[_0x5ce1ee(0xd1)][_0x5ce1ee(0x1a3)][_0x5ce1ee(0x15a)]({'isUndoable':!0x1},_0x16777d=>{const _0x2d49e3=_0x5ce1ee;for(const _0x3080ac of this[_0x2d49e3(0xd1)][_0x2d49e3(0x1a3)][_0x2d49e3(0x11e)][_0x2d49e3(0x164)]())_0x16777d[_0x2d49e3(0x186)](_0x3080ac);});}[_0x255922(0x1b1)](_0x29aeed){const _0x574284=_0x255922,_0xebf0ff=[],_0x82420=new Map();for(const _0x4c89b1 of this[_0x574284(0xd1)][_0x574284(0x1a3)][_0x574284(0x11e)][_0x574284(0x164)]()){const _0x1a1256=this[_0x574284(0xd1)][_0x574284(0x118)][_0x574284(0xc4)][_0x574284(0xf9)](_0x4c89b1);if(!_0x1a1256)continue;const _0x4a8ab9=_0x1a1256[_0x574284(0xa3)]()[_0x574284(0xdd)](0x0);_0x4a8ab9&&(_0xebf0ff[_0x574284(0x126)](_0x4c89b1),_0x82420[_0x574284(0x189)](_0x4c89b1,_0x4a8ab9));}return _0xebf0ff[_0x574284(0x154)]((_0x41f423,_0x28898a)=>{const _0x5bcd96=_0x574284,_0x190c2d=_0x82420[_0x5bcd96(0x1b6)](_0x41f423),_0x472f40=_0x82420[_0x5bcd96(0x1b6)](_0x28898a);return _0x190c2d['y']-_0x472f40['y']||_0x190c2d['x']-_0x472f40['x'];}),(_0x29aeed=_0x29aeed[_0x574284(0x1bb)](_0x26381e=>_0xebf0ff[_0x574284(0x15d)](_0x26381e[_0x574284(0xa4)])))[_0x574284(0x154)]((_0x41c78f,_0x4a631f)=>_0xebf0ff[_0x574284(0x1b8)](_0x41c78f[_0x574284(0xa4)])-_0xebf0ff[_0x574284(0x1b8)](_0x4a631f[_0x574284(0xa4)])),_0x29aeed;}[_0x255922(0x1c6)](_0x33277e){const _0x39d162=_0x255922,_0x47977a=Array[_0x39d162(0x175)](_0x33277e[_0x39d162(0x106)])[_0x39d162(0x1bb)](([_0xa347b,_0x337fc2])=>_0xa347b[_0x39d162(0xc5)](_0x39d162(0x1b0))&&!_0x337fc2[_0x39d162(0x98)]),_0xb3592c=Array[_0x39d162(0x175)](this[_0x39d162(0xd1)][_0x39d162(0x1a3)][_0x39d162(0x136)](_0x33277e)[_0x39d162(0x1aa)]({'singleCharacters':!0x0}));if(0x0!=_0x47977a[_0x39d162(0x12a)])for(const _0x22c9a0 of _0xb3592c){const [_0x28e911,_0x368984]=_0x47977a[0x0],[,_0x168de1,_0x2ba0ee]=_0x28e911[_0x39d162(0x190)](':');if(_0x368984[_0x39d162(0xc2)][_0x39d162(0xf1)](_0x22c9a0[_0x39d162(0x14b)])&&_0x47977a[_0x39d162(0x107)](),(_0x22c9a0[_0x39d162(0x1ac)][_0x39d162(0xf1)](_0x368984[_0x39d162(0xb1)])||_0x22c9a0[_0x39d162(0x1ac)][_0x39d162(0x10b)](_0x368984[_0x39d162(0xb1)]))&&(_0x39d162(0x82)==_0x168de1?_0x22c9a0[_0x39d162(0x1a6)]={'userId':_0x2ba0ee}:_0x39d162(0xd7)==_0x168de1&&(_0x22c9a0[_0x39d162(0x121)]={'userId':_0x2ba0ee})),0x0==_0x47977a[_0x39d162(0x12a)])break;}return _0xb3592c;}[_0x255922(0xe0)](_0x1c0cf2){const _0x3e687b=_0x255922,_0x39517a=new Map();for(let _0x5244d0=0x0;_0x5244d0<_0x1c0cf2[_0x3e687b(0x12a)];_0x5244d0++)_0x3e687b(0xef)===_0x1c0cf2[_0x5244d0][_0x3e687b(0xd4)]?(_0x1c0cf2[_0x5244d0][_0x3e687b(0xdd)][_0x3e687b(0x125)]=_0x5244d0,_0x1c0cf2[_0x5244d0][_0x3e687b(0xdd)][_0x3e687b(0x1bc)]=_0x5244d0):(_0x3e687b(0x1ad)===_0x1c0cf2[_0x5244d0][_0x3e687b(0xd4)]?_0x1c0cf2[_0x5244d0][_0x3e687b(0xdd)][_0x3e687b(0x125)]=_0x5244d0:_0x3e687b(0x91)===_0x1c0cf2[_0x5244d0][_0x3e687b(0xd4)]&&(_0x1c0cf2[_0x5244d0][_0x3e687b(0xdd)][_0x3e687b(0x1bc)]=_0x5244d0),_0x39517a[_0x3e687b(0x189)](_0x1c0cf2[_0x5244d0]['id'],_0x5244d0));for(const _0x193e10 of _0x39517a[_0x3e687b(0x177)]())_0x3e687b(0x1ad)===_0x1c0cf2[_0x193e10][_0x3e687b(0xd4)]?_0x1c0cf2[_0x193e10][_0x3e687b(0xdd)][_0x3e687b(0x1bc)]=_0x39517a[_0x3e687b(0x1b6)](_0x1c0cf2[_0x193e10][_0x3e687b(0xcb)]):_0x3e687b(0x91)===_0x1c0cf2[_0x193e10][_0x3e687b(0xd4)]&&(_0x1c0cf2[_0x193e10][_0x3e687b(0xdd)][_0x3e687b(0x125)]=_0x39517a[_0x3e687b(0x1b6)](_0x1c0cf2[_0x193e10][_0x3e687b(0xcb)]));}[_0x255922(0x145)](_0x534869){const _0x1801fa=_0x255922;for(let _0x152aca=0x0;_0x152aca<_0x534869[_0x1801fa(0x12a)];_0x152aca++){if(_0x1801fa(0x1ad)===_0x534869[_0x152aca][_0x1801fa(0xd4)])_0x534869[_0x152aca][_0x1801fa(0xdd)][_0x1801fa(0x125)]=_0x152aca;else{if(_0x1801fa(0x91)===_0x534869[_0x152aca][_0x1801fa(0xd4)]){_0x534869[_0x152aca][_0x1801fa(0xdd)][_0x1801fa(0x1bc)]=_0x152aca;const _0x42d360=_0x534869[_0x152aca][_0x1801fa(0xdd)][_0x1801fa(0x125)];_0x534869[_0x42d360][_0x1801fa(0xcb)]=_0x534869[_0x152aca]['id'],_0x534869[_0x152aca][_0x1801fa(0xcb)]=_0x534869[_0x42d360]['id'];}else _0x534869[_0x152aca][_0x1801fa(0xdd)][_0x1801fa(0x125)]=_0x152aca,_0x534869[_0x152aca][_0x1801fa(0xdd)][_0x1801fa(0x1bc)]=_0x152aca,_0x534869[_0x152aca][_0x1801fa(0xcb)]=null;}_0x534869[_0x152aca][_0x1801fa(0x149)]||(_0x534869[_0x152aca][_0x1801fa(0x149)]=[],_0x534869[_0x152aca][_0x1801fa(0x115)]=[]);}}[_0x255922(0x13c)](_0x15126d,_0x180ab5){const _0x2525a2=_0x255922,_0x4a23a6=_0x15126d[_0x2525a2(0x1bb)](_0x319b08=>!_0x319b08[_0x2525a2(0x1a6)]);for(let _0x24564f=0x0;_0x24564f<_0x180ab5[_0x2525a2(0x12a)];_0x24564f++)_0x180ab5[_0x24564f][_0x2525a2(0x1a6)]&&(_0x4a23a6[_0x24564f][_0x2525a2(0x1a6)]=_0x180ab5[_0x24564f][_0x2525a2(0x1a6)]);}[_0x255922(0xca)](_0xa0e8ba){const _0x25f4fd=_0x255922,_0x583fbc=JSON[_0x25f4fd(0x166)](_0xa0e8ba),_0x3beabb=this[_0x25f4fd(0xd1)][_0x25f4fd(0x118)][_0x25f4fd(0xc4)][_0x25f4fd(0x11e)],_0x2f585c=new _0x5d15d3(_0x3beabb,_0x583fbc[_0x25f4fd(0x172)](_0x22c985=>this[_0x25f4fd(0xd3)](_0x22c985)));return this[_0x25f4fd(0xd1)][_0x25f4fd(0xdf)][_0x25f4fd(0x17b)](_0x2f585c);}[_0x255922(0xd3)](_0x41ab46){const _0x3ea834=_0x255922,_0x510641=this[_0x3ea834(0xd1)][_0x3ea834(0x118)][_0x3ea834(0xc4)][_0x3ea834(0x11e)];if(_0x3ea834(0x104)==typeof _0x41ab46)return new _0x3a256b(_0x510641,_0x41ab46);{const _0x2ffdd0=_0x41ab46[_0x3ea834(0x169)][_0x3ea834(0x172)](_0x251320=>this[_0x3ea834(0xd3)](_0x251320));return new(tt[_0x41ab46[(_0x3ea834(0xd4))]]||_0x38474f)(_0x510641,_0x41ab46[_0x3ea834(0x128)],_0x41ab46[_0x3ea834(0xf8)],_0x2ffdd0);}}[_0x255922(0xc3)](_0x32583b,_0x20a16b=null){const _0x246259=_0x255922,_0x2004ab=this[_0x246259(0x13d)][_0x246259(0x187)](_0x32583b),_0x38059b=_0x20a16b?this[_0x246259(0x13d)][_0x246259(0x187)](_0x20a16b):null,_0x575034=this[_0x246259(0xc6)](_0x2004ab,_0x38059b),_0x471fde=_0x575034[_0x575034[_0x246259(0x12a)]-0x1],_0x560c23=new Map(),_0x5dfc9a={'model':{},'attributes':{},'changes':[]},_0x534353=new Set(),_0x544216=new Map();for(let _0x221446=_0x575034[_0x246259(0x12a)]-0x1;_0x221446>=0x0;_0x221446--){const _0x2096d5=_0x575034[_0x221446];for(const _0x1b1e61 of Object[_0x246259(0x167)](_0x2096d5[_0x246259(0x156)]))if(_0x2096d5[_0x246259(0x156)][_0x1b1e61][_0x246259(0x174)]){const _0x28f910=_0x2096d5[_0x246259(0x156)][_0x1b1e61][_0x246259(0x174)];_0x28f910[_0x246259(0xf6)]?(_0x534353[_0x246259(0xd5)](_0x1b1e61),_0x544216[_0x246259(0xad)](_0x1b1e61)&&_0x544216[_0x246259(0x1b6)](_0x1b1e61)[_0x246259(0x162)]==_0x28f910[_0x246259(0x162)]?_0x544216[_0x246259(0xe5)](_0x1b1e61):_0x544216[_0x246259(0x189)](_0x1b1e61,_0x28f910)):_0x544216[_0x246259(0xad)](_0x1b1e61)?(_0x534353[_0x246259(0xe5)](_0x1b1e61),_0x544216[_0x246259(0xe5)](_0x1b1e61)):(_0x534353[_0x246259(0xd5)](_0x1b1e61),_0x544216[_0x246259(0x189)](_0x1b1e61,_0x28f910));}else _0x534353[_0x246259(0xd5)](_0x1b1e61);}for(const _0x5da3a5 of _0x534353){const _0x322551=_0x544216[_0x246259(0xad)](_0x5da3a5)&&!_0x544216[_0x246259(0x1b6)](_0x5da3a5)[_0x246259(0xf6)];let _0x18fb9f=_0x322551?_0x575034[_0x246259(0x12a)]-0x1:0x0;const _0x5138ed=_0x322551?-0x1:0x1;for(;_0x575034[_0x18fb9f];){const _0x385833=_0x575034[_0x18fb9f];if(_0x385833[_0x246259(0x156)][_0x5da3a5]){const _0x12d9dc=_0x322551?_0x385833[_0x246259(0x156)][_0x5da3a5][_0x246259(0x12f)]:_0x385833[_0x246259(0x156)][_0x5da3a5][_0x246259(0x1c5)];_0x5dfc9a[_0x246259(0xf8)][_0x5da3a5]=_0x12d9dc?_0x1fdad5(_0x12d9dc):{};break;}_0x18fb9f+=_0x5138ed;}}for(const _0x37542f of _0x575034){_0x37542f[_0x246259(0x1a3)]={};for(const _0x268233 of _0x37542f[_0x246259(0x1c9)])_0x560c23[_0x246259(0x189)](_0x268233['id'],_0x268233);for(const _0x2e63bb of _0x534353){const _0x562c96=_0x37542f[_0x246259(0x156)][_0x2e63bb]?_0x37542f[_0x246259(0x156)][_0x2e63bb][_0x246259(0x1ab)]:'[]',_0x52010d=_0x37542f[_0x246259(0x156)][_0x2e63bb]?_0x37542f[_0x246259(0x156)][_0x2e63bb][_0x246259(0x1ce)]:'[]';_0x37542f[_0x246259(0x1a3)][_0x2e63bb]={'insertions':this[_0x246259(0xca)](_0x562c96),'deletions':this[_0x246259(0xca)](_0x52010d)};}}for(const _0x5484b1 of _0x534353){let _0x1e28db=null,_0x43c136=0x0;const _0x42ceb5=new Map(Array[_0x246259(0x175)](_0x2004ab[_0x246259(0x1a3)][_0x5484b1][_0x246259(0x1ab)][_0x246259(0x106)])[_0x246259(0x1bb)](([_0x179d0d])=>!_0x179d0d[_0x246259(0xc5)](_0x246259(0x1b0))));let _0x518d93=0x0;for(const _0x4f8ab6 of _0x575034){const _0x5ed752=this[_0x246259(0x1c6)](_0x4f8ab6[_0x246259(0x1a3)][_0x5484b1][_0x246259(0x1ab)]);_0x4f8ab6==_0x2004ab?(_0x1e28db=_0x5ed752,_0x43c136=_0x1e28db[_0x246259(0x12a)],_0x1e28db[_0x246259(0x1cd)](_0x48f1c2=>{_0x48f1c2['id']=_0x518d93++;}),this[_0x246259(0x145)](_0x1e28db)):this[_0x246259(0x13c)](_0x1e28db,_0x5ed752);const _0x1b9d24=_0x1e28db[_0x246259(0x1bb)](_0x17faea=>!_0x17faea[_0x246259(0x1a6)])[_0x246259(0x172)](_0x56e375=>_0x56e375['id']);let _0xc7b0e0=0x0;const _0x29e013=this[_0x246259(0x1c6)](_0x4f8ab6[_0x246259(0x1a3)][_0x5484b1][_0x246259(0x1ce)]);_0x29e013[_0x246259(0x1cd)](_0x1aed4c=>{const _0x323c29=_0x246259;_0x1aed4c[_0x323c29(0x121)]?_0x1aed4c['id']=_0x43c136++:_0x1aed4c['id']=_0x1b9d24[_0xc7b0e0++];}),this[_0x246259(0x145)](_0x29e013),this[_0x246259(0x100)](_0x1e28db,_0x246259(0x1a6)),this[_0x246259(0x100)](_0x29e013,_0x246259(0x121)),_0x4f8ab6==_0x2004ab&&this[_0x246259(0x8d)](_0x1e28db,_0x42ceb5),_0x1e28db=this[_0x246259(0xe3)](_0x1e28db,_0x29e013),this[_0x246259(0xe0)](_0x1e28db),this[_0x246259(0x100)](_0x1e28db,_0x246259(0x121));}_0x1e28db=_0x1e28db[_0x246259(0x1bb)](_0x311f7a=>!(_0x311f7a[_0x246259(0x1a6)]&&_0x311f7a[_0x246259(0x121)]));const _0x364678=new Map(_0x471fde[_0x246259(0x1a3)][_0x5484b1][_0x246259(0x1ce)][_0x246259(0x106)]),_0x2743cc=new Set(_0x42ceb5[_0x246259(0x167)]());for(const _0x3a0e02 of _0x364678[_0x246259(0x167)]())_0x2743cc[_0x246259(0xe5)](_0x3a0e02);this[_0x246259(0x1a9)](_0x1e28db,_0x2743cc),this[_0x246259(0xeb)](_0x1e28db),_0x1e28db=this[_0x246259(0x147)](_0x1e28db),_0x1e28db=this[_0x246259(0x129)](_0x1e28db),_0x1e28db=this[_0x246259(0x13e)](_0x1e28db);const {root:_0x1cbc42,changes:_0x3e3d26}=this[_0x246259(0x171)](_0x1e28db,_0x560c23,_0x5484b1);_0x5dfc9a[_0x246259(0x1a3)][_0x5484b1]=_0x1cbc42;const _0x25c80a=_0x544216[_0x246259(0x1b6)](_0x5484b1);if(_0x25c80a){const _0x3dd397=_0x560c23[_0x246259(0x1b6)](_0x25c80a[_0x246259(0x162)]),_0x45bc65=new _0x577cd8({'author':_0x3dd397,'type':_0x25c80a[_0x246259(0xf6)]?_0x246259(0xd5):_0x246259(0x142),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5484b1});_0x3e3d26[_0x246259(0x1a5)](_0x45bc65),_0x5dfc9a[_0x246259(0xf8)][_0x5484b1][_0x246259(0x1c7)]=_0x45bc65['id'];}_0x5dfc9a[_0x246259(0x117)]=_0x5dfc9a[_0x246259(0x117)][_0x246259(0xe2)](_0x3e3d26);}return _0x5dfc9a;}[_0x255922(0x8d)](_0x1b6c15,_0x47f433){const _0x1916db=_0x255922;for(let _0x33a828=0x0;_0x33a828<_0x1b6c15[_0x1916db(0x12a)];_0x33a828++)for(const [_0x371c24,_0x2096d1]of _0x47f433)_0x2096d1[_0x1916db(0xb1)][_0x1916db(0xf1)](_0x1b6c15[_0x33a828][_0x1916db(0x1ac)])&&_0x1b6c15[_0x33a828][_0x1916db(0x149)][_0x1916db(0x126)](_0x371c24),_0x2096d1[_0x1916db(0xc2)][_0x1916db(0xf1)](_0x1b6c15[_0x33a828][_0x1916db(0x14b)])&&_0x1b6c15[_0x33a828][_0x1916db(0x115)][_0x1916db(0x126)](_0x371c24);}[_0x255922(0xe3)](_0x24dd3a,_0x570463){const _0x5add18=_0x255922;let _0x4aace9=[],_0x210450=0x0,_0x5b25d2=0x0;for(;_0x210450<_0x24dd3a[_0x5add18(0x12a)]||_0x5b25d2<_0x570463[_0x5add18(0x12a)];){const _0xb34453=_0x24dd3a[_0x210450]||{},_0x409d88=_0x570463[_0x5b25d2]||{};if(_0xb34453['id']==_0x409d88['id'])_0x210450++,_0x5b25d2++,_0x4aace9[_0x5add18(0x126)](_0xb34453);else{if(_0x409d88[_0x5add18(0x121)]&&_0xb34453[_0x5add18(0x1a6)]){const {commonTape:_0xfcf1b1,iEnd:_0x4ae23c,jEnd:_0x1677f9}=this[_0x5add18(0x199)](_0x24dd3a,_0x210450,_0x570463,_0x5b25d2);_0x4aace9=_0x4aace9[_0x5add18(0xe2)](_0xfcf1b1),_0x210450=_0x4ae23c,_0x5b25d2=_0x1677f9;}else _0x409d88[_0x5add18(0x121)]?(_0x5b25d2++,_0x4aace9[_0x5add18(0x126)](_0x409d88)):(_0x210450++,_0x4aace9[_0x5add18(0x126)](_0xb34453));}}return _0x4aace9;}[_0x255922(0x1a9)](_0x4dbb63,_0x4d28ee){const _0x415338=_0x255922,_0x126eb2=[];for(let _0x4cb90e=0x0;_0x4cb90e<_0x4dbb63[_0x415338(0x12a)];_0x4cb90e++){for(let _0x9d9ffd=0x0;_0x9d9ffd<_0x4dbb63[_0x4cb90e][_0x415338(0x149)][_0x415338(0x12a)];_0x9d9ffd++){const _0x244a54=_0x4dbb63[_0x4cb90e][_0x415338(0x149)][_0x9d9ffd];if(!_0x4d28ee[_0x415338(0xad)](_0x244a54))continue;const {group:_0x2cdaa6,type:_0x4e8a48,authorId:_0x172f43}=_0x4b5dec(_0x244a54);_0x415338(0x1c1)!=_0x2cdaa6||_0x415338(0x82)!=_0x4e8a48&&_0x415338(0xd7)!=_0x4e8a48||(_0x126eb2[_0x415338(0x1a5)]({'type':_0x4e8a48,'name':_0x244a54,'userId':_0x172f43}),_0x4dbb63[_0x4cb90e][_0x415338(0x149)][_0x415338(0x12e)](_0x9d9ffd,0x1),_0x9d9ffd--);}_0x3dc06a(_0x4dbb63[_0x4cb90e]);for(let _0xa13d03=0x0;_0xa13d03<_0x4dbb63[_0x4cb90e][_0x415338(0x115)][_0x415338(0x12a)];_0xa13d03++){const _0x57f66c=_0x4dbb63[_0x4cb90e][_0x415338(0x115)][_0xa13d03];if(!_0x4d28ee[_0x415338(0xad)](_0x57f66c))continue;const {group:_0x25bca3,type:_0x36de3f}=_0x4b5dec(_0x57f66c);if(_0x415338(0x1c1)!=_0x25bca3||_0x415338(0x82)!=_0x36de3f&&_0x415338(0xd7)!=_0x36de3f)continue;_0x4dbb63[_0x4cb90e][_0x415338(0x115)][_0x415338(0x12e)](_0xa13d03,0x1),_0xa13d03--;const _0x8011ff=_0x126eb2[_0x415338(0x188)](_0x5a0fda=>_0x5a0fda[_0x415338(0x128)]==_0x57f66c);_0x8011ff>-0x1&&_0x126eb2[_0x415338(0x12e)](_0x8011ff,0x1);}}function _0x4b5dec(_0x47934a){const _0x5de3db=_0x415338,_0x14e132=_0x47934a[_0x5de3db(0x190)](':');return{'group':_0x14e132[0x0],'type':_0x14e132[0x1],'subType':_0x14e132[_0x5de3db(0x12a)]>=0x5?_0x14e132[0x2]:null,'id':_0x14e132[_0x5de3db(0x12a)]<0x5?_0x14e132[0x2]:_0x14e132[0x3],'authorId':_0x14e132[_0x5de3db(0x12a)]<0x5?_0x14e132[0x3]:_0x14e132[0x4],'markerCount':0x6==_0x14e132[_0x5de3db(0x12a)]?_0x14e132[0x5]:null};}function _0x3dc06a(_0x43fa14){const _0x14f952=_0x415338;for(let _0x561384=0x0;_0x561384<_0x126eb2[_0x14f952(0x12a)];_0x561384++){if(_0x43fa14[_0x14f952(0x1a6)]&&_0x14f952(0x82)==_0x126eb2[_0x561384][_0x14f952(0xd4)])return _0x43fa14[_0x14f952(0x15c)]=_0x126eb2[_0x561384],void delete _0x43fa14[_0x14f952(0x1a6)];if(!_0x43fa14[_0x14f952(0x1a6)]&&!_0x43fa14[_0x14f952(0x121)]&&_0x14f952(0xd7)==_0x126eb2[_0x561384][_0x14f952(0xd4)])return void(_0x43fa14[_0x14f952(0x157)]=_0x126eb2[_0x561384]);}}}[_0x255922(0x100)](_0x47ff90,_0x3d58cc){const _0x2ad7dc=_0x255922;let _0x5352b1=0x0,_0x3b2b98=!0x1;const _0x5b51f7=new Map();for(const _0x2c75ea of _0x47ff90)_0x2c75ea[_0x3d58cc]?_0x3b2b98&&(_0x5352b1++,_0x3b2b98=!0x1):(_0x5352b1++,_0x3b2b98=!0x0),_0x5b51f7[_0x2ad7dc(0x189)](_0x2c75ea['id'],_0x5352b1);for(let _0x48f845=0x0;_0x48f845<_0x47ff90[_0x2ad7dc(0x12a)];_0x48f845++){if(_0x2ad7dc(0x121)==_0x3d58cc&&_0x47ff90[_0x48f845][_0x2ad7dc(0x1a6)]||_0x2ad7dc(0x1a6)==_0x3d58cc&&_0x47ff90[_0x48f845][_0x2ad7dc(0x121)])continue;if(_0x2ad7dc(0xef)==_0x47ff90[_0x48f845][_0x2ad7dc(0xd4)]){_0x47ff90[_0x48f845][_0x2ad7dc(0x19f)]=0x0;continue;}const _0x2fb4e3=_0x5b51f7[_0x2ad7dc(0x1b6)](_0x47ff90[_0x48f845][_0x2ad7dc(0xcb)]),_0x3a20c8=_0x5b51f7[_0x2ad7dc(0x1b6)](_0x47ff90[_0x48f845]['id']);_0x47ff90[_0x48f845][_0x2ad7dc(0x19f)]=_0x2fb4e3-_0x3a20c8;}}[_0x255922(0xc6)](_0x294ccf,_0x360316,_0x4ab4d2=!0x1){const _0x3b1462=_0x255922,_0x4b1a74=[];let _0x1795a3=this[_0x3b1462(0x13d)][_0x3b1462(0x138)](_0x294ccf),_0x2336b6=this[_0x3b1462(0x13d)][_0x3b1462(0x138)](_0x360316);for(-0x1==_0x2336b6&&(_0x2336b6=this[_0x3b1462(0x13d)][_0x3b1462(0x168)][_0x3b1462(0x12a)],_0x4ab4d2=!0x1);_0x1795a3<_0x2336b6;)_0x4b1a74[_0x3b1462(0x126)](this[_0x3b1462(0x13d)][_0x3b1462(0x187)](_0x1795a3)),_0x1795a3++;return _0x4ab4d2&&_0x4b1a74[_0x3b1462(0x126)](this[_0x3b1462(0x13d)][_0x3b1462(0x187)](_0x1795a3)),_0x4b1a74;}[_0x255922(0x199)](_0x194006,_0x389b45,_0x2d2803,_0x111b9a){const _0x5de5ee=_0x255922,_0x29a153=this[_0x5de5ee(0xd1)][_0x5de5ee(0x1a3)][_0x5de5ee(0xb0)];let _0x413a0a=_0x389b45;for(;_0x194006[_0x413a0a]&&_0x194006[_0x413a0a][_0x5de5ee(0x1a6)];)_0x413a0a++;let _0x16e522=_0x111b9a;for(;_0x2d2803[_0x16e522]&&_0x2d2803[_0x16e522][_0x5de5ee(0x121)];)_0x16e522++;_0x2322f9(_0x194006,_0x389b45,_0x413a0a),_0x2322f9(_0x2d2803,_0x111b9a,_0x16e522);const _0x4aa3e9=_0x2d2803[_0x5de5ee(0x152)](_0x111b9a,_0x16e522)[_0x5de5ee(0xe2)](_0x194006[_0x5de5ee(0x152)](_0x389b45,_0x413a0a));return _0x4aa3e9[_0x5de5ee(0x154)]((_0x1cf13a,_0x38cb24)=>_0x1cf13a[_0x5de5ee(0x10a)]!=_0x38cb24[_0x5de5ee(0x10a)]?_0x1cf13a[_0x5de5ee(0x10a)]-_0x38cb24[_0x5de5ee(0x10a)]:_0x1cf13a[_0x5de5ee(0x13f)]!=_0x38cb24[_0x5de5ee(0x13f)]?_0x1cf13a[_0x5de5ee(0x13f)]-_0x38cb24[_0x5de5ee(0x13f)]:_0x1cf13a[_0x5de5ee(0x19f)]!=_0x38cb24[_0x5de5ee(0x19f)]?_0x38cb24[_0x5de5ee(0x19f)]-_0x1cf13a[_0x5de5ee(0x19f)]:!!_0x1cf13a[_0x5de5ee(0x1a6)]!=!!_0x38cb24[_0x5de5ee(0x1a6)]?-0x1==_0x1cf13a[_0x5de5ee(0x10a)]||0x0==_0x1cf13a[_0x5de5ee(0x10a)]?_0x1cf13a[_0x5de5ee(0x1a6)]?-0x1:0x1:_0x1cf13a[_0x5de5ee(0x1a6)]?0x1:-0x1:_0x1cf13a[_0x5de5ee(0xae)]-_0x38cb24[_0x5de5ee(0xae)]),{'commonTape':_0x4aa3e9,'iEnd':_0x413a0a,'jEnd':_0x16e522};function _0x2322f9(_0x45d03d,_0x44e71a,_0x3c2767){const _0x152dd7=_0x5de5ee;let _0x29eef=-0x1,_0x5c040f=Number[_0x152dd7(0xff)],_0x483169=!0x0;for(let _0x4af220=_0x44e71a;_0x4af220<_0x3c2767;_0x4af220++)if(_0x29a153[_0x152dd7(0x97)](_0x45d03d[_0x4af220][_0x152dd7(0xdd)])||(_0x483169=!0x1),_0x45d03d[_0x4af220][_0x152dd7(0xdd)][_0x152dd7(0x125)]<_0x44e71a&&(_0x29eef=_0x4af220),_0x45d03d[_0x4af220][_0x152dd7(0xdd)][_0x152dd7(0x1bc)]>=_0x3c2767){_0x5c040f=_0x4af220;break;}_0x483169&&(_0x29eef=_0x3c2767-0x1);for(let _0x2b94ff=_0x44e71a;_0x2b94ff<_0x3c2767;_0x2b94ff++)_0x45d03d[_0x2b94ff][_0x152dd7(0x10a)]=_0x2b94ff<=_0x29eef?-0x1:_0x2b94ff<_0x5c040f?0x0:0x1,_0x45d03d[_0x2b94ff][_0x152dd7(0xae)]=_0x2b94ff;let _0x520e8f=0x0;for(let _0x315ec2=_0x44e71a;_0x315ec2<=_0x29eef;_0x315ec2++)0x0==_0x45d03d[_0x315ec2][_0x152dd7(0x19f)]?_0x45d03d[_0x315ec2][_0x152dd7(0x13f)]=_0x520e8f:(_0x520e8f++,_0x45d03d[_0x315ec2][_0x152dd7(0x13f)]=_0x520e8f,_0x520e8f++);for(let _0x15f199=_0x44e71a;_0x15f199<_0x3c2767;_0x15f199++)0x0==_0x45d03d[_0x15f199][_0x152dd7(0x10a)]&&(_0x45d03d[_0x15f199][_0x152dd7(0x13f)]=_0x520e8f);_0x520e8f=0x0;for(let _0x4ec163=_0x3c2767-0x1;_0x4ec163>=_0x5c040f;_0x4ec163--)0x0==_0x45d03d[_0x4ec163][_0x152dd7(0x19f)]?_0x45d03d[_0x4ec163][_0x152dd7(0x13f)]=_0x520e8f:(_0x520e8f--,_0x45d03d[_0x4ec163][_0x152dd7(0x13f)]=_0x520e8f,_0x520e8f--);}}[_0x255922(0xeb)](_0x106eb2){const _0x16601a=_0x255922,_0x1eef02=new Map(),_0x31667c=this[_0x16601a(0xd1)][_0x16601a(0x1a3)][_0x16601a(0xb0)];for(let _0xc39ea7=0x1;_0xc39ea7<_0x106eb2[_0x16601a(0x12a)];_0xc39ea7++){let _0x85debc,_0x3f57c6,_0x6d2516;const _0x949202=_0x106eb2[_0xc39ea7],_0x308c8d=_0x106eb2[_0xc39ea7-0x1];if(_0x16601a(0xef)==_0x949202[_0x16601a(0xd4)])continue;if(_0x949202[_0x16601a(0xd4)]!=_0x308c8d[_0x16601a(0xd4)])continue;if(!_0x31667c[_0x16601a(0xed)](_0x308c8d[_0x16601a(0xdd)])||_0x31667c[_0x16601a(0x88)](_0x308c8d[_0x16601a(0xdd)]))continue;if(!_0x31667c[_0x16601a(0xed)](_0x949202[_0x16601a(0xdd)])||_0x31667c[_0x16601a(0x88)](_0x949202[_0x16601a(0xdd)]))continue;if((_0x106eb2[_0xc39ea7][_0x16601a(0x1a6)]||_0x106eb2[_0xc39ea7][_0x16601a(0x15c)])&&_0x106eb2[_0xc39ea7-0x1][_0x16601a(0x121)])_0x85debc=_0x106eb2[_0xc39ea7],_0x3f57c6=_0x106eb2[_0xc39ea7-0x1],_0x6d2516=_0xc39ea7-0x1;else{if(!_0x106eb2[_0xc39ea7][_0x16601a(0x121)]||!_0x106eb2[_0xc39ea7-0x1][_0x16601a(0x1a6)]&&!_0x106eb2[_0xc39ea7-0x1][_0x16601a(0x15c)])continue;_0x85debc=_0x106eb2[_0xc39ea7-0x1],_0x3f57c6=_0x106eb2[_0xc39ea7],_0x6d2516=_0xc39ea7;}const _0x52e8dd=_0x85debc[_0x16601a(0x13f)]==_0x3f57c6[_0x16601a(0x13f)],_0x3af07c=Math[_0x16601a(0x160)](_0x85debc[_0x16601a(0x13f)])<Math[_0x16601a(0x160)](_0x3f57c6[_0x16601a(0x13f)])&&0x0==_0x3f57c6[_0x16601a(0x19f)];(_0x52e8dd||_0x3af07c)&&(_0x1eef02[_0x16601a(0x189)](_0x3f57c6['id'],_0x85debc['id']),_0x106eb2[_0x16601a(0x12e)](_0x6d2516,0x1),_0xc39ea7--,_0x85debc[_0x16601a(0x1a6)]=!0x1);}for(let _0x2744b9=0x0;_0x2744b9<_0x106eb2[_0x16601a(0x12a)];_0x2744b9++)_0x1eef02[_0x16601a(0xad)](_0x106eb2[_0x2744b9][_0x16601a(0xcb)])&&(_0x106eb2[_0x2744b9][_0x16601a(0xcb)]=_0x1eef02[_0x16601a(0x1b6)](_0x106eb2[_0x2744b9][_0x16601a(0xcb)]));}[_0x255922(0x147)](_0x4dd90e){const _0x40696f=_0x255922,_0x3e4a5c=new Set(_0x4dd90e[_0x40696f(0x172)](_0x4b3b29=>_0x4b3b29['id']));for(let _0x2dc6f3=0x0;_0x2dc6f3<_0x4dd90e[_0x40696f(0x12a)];_0x2dc6f3++)_0x3e4a5c[_0x40696f(0xad)](_0x4dd90e[_0x2dc6f3][_0x40696f(0xcb)])||0x0==_0x4dd90e[_0x2dc6f3][_0x40696f(0x19f)]||(_0x4dd90e[_0x2dc6f3][_0x40696f(0x14f)]=!0x0);return _0x4dd90e[_0x40696f(0x1bb)](_0x1f07aa=>!_0x1f07aa[_0x40696f(0x14f)]);}[_0x255922(0x129)](_0x20d160){const _0x58a907=_0x255922,_0x47b870=new Set();for(let _0x53af12=0x0;_0x53af12<_0x20d160[_0x58a907(0x12a)];_0x53af12++){if(_0x47b870[_0x58a907(0xad)](_0x20d160[_0x53af12]['id'])&&_0x20d160[_0x53af12][_0x58a907(0x121)]&&(_0x20d160[_0x53af12][_0x58a907(0x14f)]=!0x0),_0x20d160[_0x53af12][_0x58a907(0x14f)])continue;if(0x0==_0x20d160[_0x53af12][_0x58a907(0x19f)])continue;if(_0x58a907(0x1ad)!=_0x20d160[_0x53af12][_0x58a907(0xd4)])continue;if(null==_0x20d160[_0x53af12][_0x58a907(0xcb)])continue;let _0x3bc23e=_0x53af12+0x1,_0x4a9aeb=0x0;for(;_0x20d160[_0x3bc23e]['id']!=_0x20d160[_0x53af12][_0x58a907(0xcb)];)_0x58a907(0x1ad)==_0x20d160[_0x3bc23e][_0x58a907(0xd4)]?_0x4a9aeb++:_0x58a907(0x91)==_0x20d160[_0x3bc23e][_0x58a907(0xd4)]&&_0x4a9aeb--,_0x3bc23e++;if(0x0!=_0x4a9aeb){if(_0x20d160[_0x53af12][_0x58a907(0x121)])_0x20d160[_0x53af12][_0x58a907(0x14f)]=!0x0;else{for(;_0x3bc23e!=_0x53af12;)_0x20d160[_0x3bc23e][_0x58a907(0x121)]&&0x0!=_0x20d160[_0x3bc23e][_0x58a907(0x19f)]&&(_0x20d160[_0x3bc23e][_0x58a907(0x14f)]=!0x0,_0x47b870[_0x58a907(0xd5)](_0x20d160[_0x3bc23e][_0x58a907(0xcb)])),_0x3bc23e--;}}}return _0x20d160[_0x58a907(0x1bb)](_0x324621=>!_0x324621[_0x58a907(0x14f)]);}[_0x255922(0x13e)](_0x3e5028){const _0x39120d=_0x255922,_0x2ae9e5=this[_0x39120d(0xd1)][_0x39120d(0x1a3)][_0x39120d(0xb0)];for(let _0x484529=0x0;_0x484529<_0x3e5028[_0x39120d(0x12a)];_0x484529++){if(!(_0x3e5028[_0x484529][_0x39120d(0x1a6)]||_0x3e5028[_0x484529][_0x39120d(0x15c)]||_0x3e5028[_0x484529][_0x39120d(0x121)]||_0x3e5028[_0x484529][_0x39120d(0x157)]))continue;if(0x0==_0x3e5028[_0x484529][_0x39120d(0x19f)])continue;const _0x2fd146=_0x3e5028[_0x484529][_0x39120d(0xdd)];_0x2ae9e5[_0x39120d(0xed)](_0x2fd146)||_0x2ae9e5[_0x39120d(0x88)](_0x2fd146)||(_0x3e5028[_0x484529][_0x39120d(0x1a6)]&&delete _0x3e5028[_0x484529][_0x39120d(0x1a6)],_0x3e5028[_0x484529][_0x39120d(0x15c)]&&delete _0x3e5028[_0x484529][_0x39120d(0x15c)],_0x3e5028[_0x484529][_0x39120d(0x157)]&&delete _0x3e5028[_0x484529][_0x39120d(0x157)],_0x3e5028[_0x484529][_0x39120d(0x121)]&&(_0x3e5028[_0x484529][_0x39120d(0x14f)]=!0x0));}return _0x3e5028[_0x39120d(0x1bb)](_0x15c43d=>!_0x15c43d[_0x39120d(0x14f)]);}[_0x255922(0x171)](_0x5ebf2f,_0x1a2801,_0x1c40ca){const _0x47bd42=_0x255922,_0x43eb82=new _0x897611(),_0x4598c6=[],_0x32125a=new Map(),_0x126b1d=this[_0x47bd42(0xd1)][_0x47bd42(0x1a3)],_0x2d4fef=_0x126b1d[_0x47bd42(0xb0)],_0xdc0263=[_0x43eb82],_0x4dab78={},_0x3e336a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3476b0=null;const _0x1c5f5d=[0x0];for(let _0x3bdb80=0x0;_0x3bdb80<_0x5ebf2f[_0x47bd42(0x12a)];_0x3bdb80++){let _0xe2788d,_0x30260f;if(_0x47bd42(0x1ad)===_0x5ebf2f[_0x3bdb80][_0x47bd42(0xd4)]){_0xe2788d=_0x126b1d[_0x47bd42(0x18e)](_0x43eb82,_0x1c5f5d);const _0x4d298d=new _0x15555f(_0x5ebf2f[_0x3bdb80][_0x47bd42(0xdd)][_0x47bd42(0x128)],_0x5ebf2f[_0x3bdb80][_0x47bd42(0xdd)][_0x47bd42(0x11a)]());_0xdc0263[0x0][_0x47bd42(0x102)](_0x4d298d),_0x1c5f5d[_0x47bd42(0x126)](0x0),_0xdc0263[_0x47bd42(0x1a5)](_0x4d298d),_0x30260f=_0x126b1d[_0x47bd42(0x18e)](_0x43eb82,_0x1c5f5d),_0x3476b0=null;}else{if(_0x47bd42(0x91)===_0x5ebf2f[_0x3bdb80][_0x47bd42(0xd4)])_0xdc0263[_0x47bd42(0x107)](),_0xe2788d=_0x126b1d[_0x47bd42(0x18e)](_0x43eb82,_0x1c5f5d),_0x1c5f5d[_0x47bd42(0x19a)](),_0x1c5f5d[_0x1c5f5d[_0x47bd42(0x12a)]-0x1]++,_0x30260f=_0x126b1d[_0x47bd42(0x18e)](_0x43eb82,_0x1c5f5d),_0x3476b0=null;else{if(_0xe2788d=_0x126b1d[_0x47bd42(0x18e)](_0x43eb82,_0x1c5f5d),_0x3476b0&&_0x5a013f(_0x3476b0,_0x5ebf2f[_0x3bdb80][_0x47bd42(0xdd)]))_0x3476b0[_0x47bd42(0xfc)]+=_0x5ebf2f[_0x3bdb80][_0x47bd42(0xdd)][_0x47bd42(0xdf)];else{const _0x232662=new _0x3ff6ca(_0x5ebf2f[_0x3bdb80][_0x47bd42(0xdd)][_0x47bd42(0xdf)],_0x5ebf2f[_0x3bdb80][_0x47bd42(0xdd)][_0x47bd42(0x11a)]());_0xdc0263[0x0][_0x47bd42(0x102)](_0x232662),_0x3476b0=_0x232662;}_0x1c5f5d[_0x1c5f5d[_0x47bd42(0x12a)]-0x1]+=_0x5ebf2f[_0x3bdb80][_0x47bd42(0xdd)][_0x47bd42(0x184)],_0x30260f=_0x126b1d[_0x47bd42(0x18e)](_0x43eb82,_0x1c5f5d);}}for(const _0x4b20d1 of _0x5ebf2f[_0x3bdb80][_0x47bd42(0x149)])_0x32125a[_0x47bd42(0x189)](_0x4b20d1,{'start':_0xe2788d,'end':null});_0x173e8f(_0x47bd42(0x157),_0x3bdb80,_0xe2788d,_0x30260f),_0x173e8f(_0x47bd42(0x15c),_0x3bdb80,_0xe2788d,_0x30260f),_0x173e8f(_0x47bd42(0x121),_0x3bdb80,_0xe2788d,_0x30260f),_0x173e8f(_0x47bd42(0x1a6),_0x3bdb80,_0xe2788d,_0x30260f);for(const _0xcb4e1d of _0x5ebf2f[_0x3bdb80][_0x47bd42(0x115)]){_0x32125a[_0x47bd42(0x1b6)](_0xcb4e1d)[_0x47bd42(0xc2)]=_0x30260f;}}for(const [_0x19b6c1,_0x1afcae]of _0x32125a){const _0x35b978=this[_0x47bd42(0xd1)][_0x47bd42(0x1a3)][_0x47bd42(0x173)](_0x1afcae[_0x47bd42(0xb1)],_0x1afcae[_0x47bd42(0xc2)]);_0x43eb82[_0x47bd42(0x106)][_0x47bd42(0x189)](_0x19b6c1,_0x35b978);}return _0x4598c6[_0x47bd42(0x154)]((_0x1ca3aa,_0x3adba3)=>{const _0x5432b0=_0x47bd42,_0x114dab=_0x43eb82[_0x5432b0(0x106)][_0x5432b0(0x1b6)](_0x5432b0(0x1b0)+_0x1ca3aa['id']),_0x19dea9=_0x43eb82[_0x5432b0(0x106)][_0x5432b0(0x1b6)](_0x5432b0(0x1b0)+_0x3adba3['id']);return _0x114dab[_0x5432b0(0xb1)][_0x5432b0(0x111)](_0x19dea9[_0x5432b0(0xb1)])?-0x1:_0x114dab[_0x5432b0(0xb1)][_0x5432b0(0x10b)](_0x19dea9[_0x5432b0(0xb1)])?0x1:_0x114dab[_0x5432b0(0xc2)][_0x5432b0(0x111)](_0x19dea9[_0x5432b0(0xc2)])?-0x1:_0x114dab[_0x5432b0(0xc2)][_0x5432b0(0x10b)](_0x19dea9[_0x5432b0(0xc2)])?0x1:_0x5432b0(0xd5)===_0x1ca3aa[_0x5432b0(0xd4)]?-0x1:0x1;}),{'root':_0x43eb82,'changes':_0x4598c6};function _0x173e8f(_0x77d2cb,_0x598015,_0x1d2efc,_0x84aa2c){const _0x301457=_0x47bd42,_0x3a7a42=!!_0x5ebf2f[_0x598015][_0x77d2cb],_0xab51d9=_0x3a7a42?_0x5ebf2f[_0x598015][_0x77d2cb][_0x301457(0x162)]:null,_0x546930=_0x598015===_0x5ebf2f[_0x301457(0x12a)]-0x1,_0x3e81e8=_0x3e336a[_0x77d2cb][0x0],_0x3830c5=_0x2d4fef[_0x301457(0x18c)](_0x5ebf2f[_0x598015][_0x301457(0xdd)]);!_0x4dab78[_0x77d2cb]&&_0x3a7a42?_0x4dab78[_0x77d2cb]={'start':_0x1d2efc,'tapeItem':_0x5ebf2f[_0x598015],'userId':_0xab51d9,'type':_0x77d2cb}:_0x4dab78[_0x77d2cb]&&!_0x3a7a42?(_0x4dab78[_0x77d2cb][_0x301457(0xc2)]=_0x1d2efc,_0x284da4(_0x4dab78[_0x77d2cb]),_0x4dab78[_0x77d2cb]=null):_0x4dab78[_0x77d2cb]&&_0x3a7a42&&_0x4dab78[_0x77d2cb][_0x301457(0x162)]!==_0xab51d9&&(_0x4dab78[_0x77d2cb][_0x301457(0xc2)]=_0x1d2efc,_0x3e81e8&&_0x3e81e8[_0x301457(0x162)]===_0x4dab78[_0x77d2cb][_0x301457(0x162)]||_0x284da4(_0x4dab78[_0x77d2cb]),_0x4dab78[_0x77d2cb]={'start':_0x1d2efc,'tapeItem':_0x5ebf2f[_0x598015],'userId':_0xab51d9,'type':_0x77d2cb}),_0x4dab78[_0x77d2cb]&&_0x3830c5&&(_0x301457(0x1ad)!==_0x5ebf2f[_0x598015][_0x301457(0xd4)]||_0x3e81e8&&_0x3e81e8[_0x301457(0x162)]===_0xab51d9||_0x3e336a[_0x77d2cb][_0x301457(0x1a5)]({'userId':_0xab51d9,'object':_0x5ebf2f[_0x598015][_0x301457(0xdd)],'change':_0x4dab78[_0x77d2cb]}),_0x301457(0x91)===_0x5ebf2f[_0x598015][_0x301457(0xd4)]&&_0x3e81e8&&_0x3e81e8[_0x301457(0x146)]===_0x5ebf2f[_0x598015][_0x301457(0xdd)]&&(_0x3e336a[_0x77d2cb][_0x301457(0x107)](),_0x4dab78[_0x77d2cb]=_0x3e81e8[_0x301457(0xcd)])),_0x4dab78[_0x77d2cb]&&_0x546930&&(_0x4dab78[_0x77d2cb][_0x301457(0xc2)]=_0x84aa2c,_0x284da4(_0x4dab78[_0x77d2cb]),_0x4dab78[_0x77d2cb]=null);}function _0x284da4({start:_0x2c97c2,end:_0x14a88d,tapeItem:_0x507dce,userId:_0x42fd24,type:_0x2ce24f}){const _0x33ed63=_0x47bd42,_0x55ee3d=_0x507dce[_0x33ed63(0xdd)],_0xf93d24=_0x126b1d[_0x33ed63(0xb0)][_0x33ed63(0xed)](_0x55ee3d)&&!_0x126b1d[_0x33ed63(0xb0)][_0x33ed63(0x88)](_0x55ee3d),_0x2fe7b5=_0x2c97c2[_0x33ed63(0xb9)]==_0x14a88d[_0x33ed63(0x159)]&&_0x14a88d[_0x33ed63(0x99)];if(_0xf93d24&&_0x2fe7b5)return;const _0x1d4d78=_0x126b1d[_0x33ed63(0x173)](_0x2c97c2,_0x14a88d),_0x2b899b=_0x1a2801[_0x33ed63(0x1b6)](_0x42fd24),_0x3920e2=new _0x577cd8({'author':_0x2b899b,'type':_0x33ed63(0x1a6)==_0x2ce24f||_0x33ed63(0x15c)==_0x2ce24f?_0x33ed63(0xd5):_0x33ed63(0x142),'data':{'isSuggestion':_0x33ed63(0x15c)==_0x2ce24f||_0x33ed63(0x157)==_0x2ce24f},'createdAt':new Date(),'rootName':_0x1c40ca});_0x4598c6[_0x33ed63(0x126)](_0x3920e2),_0x43eb82[_0x33ed63(0x106)][_0x33ed63(0x189)](_0x33ed63(0x1b0)+_0x3920e2['id'],_0x1d4d78);}function _0x5a013f(_0x3e504e,_0x2c74bd){const _0x28a856=_0x47bd42,_0x125e9f=_0x3e504e[_0x28a856(0x11a)](),_0x475139=_0x2c74bd[_0x28a856(0x11a)]();for(const _0x157765 of _0x125e9f){if(_0x157765[0x1]!==_0x2c74bd[_0x28a856(0xd6)](_0x157765[0x0]))return!0x1;_0x475139[_0x28a856(0x1a2)]();}return _0x475139[_0x28a856(0x1a2)]()[_0x28a856(0x12b)];}}[_0x255922(0xe7)](){const _0xe090b9=_0x255922;this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x10c))[_0xe090b9(0xbb)]({'view':_0xe090b9(0x185)}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0xe6))[_0xe090b9(0x101)]({'model':_0xe090b9(0x185),'view':_0x61dda=>{const _0x374325=_0xe090b9,_0xf1590f=_0x61dda[_0x374325(0x19b)][_0x374325(0x190)](':')[0x1],_0x231e3d=this[_0x374325(0xd9)](_0xf1590f);if(!_0x231e3d)return null;const _0x4cd2b8=_0x374325(0xd5)==_0x231e3d[_0x374325(0xd4)]?_0x374325(0x82):_0x374325(0xd7),_0x449e02=[_0x374325(0x192),_0x374325(0xbe)+_0x4cd2b8];return _0x231e3d[_0x374325(0xdf)][_0x374325(0xfa)]&&_0x449e02[_0x374325(0x126)](_0x374325(0xbe)+_0x4cd2b8+_0x374325(0xa5)),this[_0x374325(0x110)]==_0x231e3d&&_0x449e02[_0x374325(0x126)](_0x374325(0x155)),{'classes':_0x449e02,'attributes':{'data-change-id':_0xf1590f}};}}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x10c))[_0xe090b9(0xd5)](_0x1e4f17=>{const _0x2ce5b3=_0xe090b9;_0x1e4f17['on'](_0x2ce5b3(0x133),(_0x4ebb55,_0x21c466,_0x1b253a)=>{const _0x17d7dd=_0x2ce5b3,_0x5736aa=_0x21c466[_0x17d7dd(0xd2)][_0x17d7dd(0x8b)](0x0);if(!_0x5736aa||!_0x5736aa['is'](_0x17d7dd(0x16d),_0x17d7dd(0x103)))return;if(!_0x1b253a[_0x17d7dd(0x1b3)][_0x17d7dd(0xd8)](_0x5736aa,{'attributes':[_0x17d7dd(0x191),_0x17d7dd(0x8c)]}))return;const _0x5f5e0c=_0x21c466[_0x17d7dd(0xa7)][_0x17d7dd(0xb1)][_0x17d7dd(0xb9)];_0x1b253a[_0x17d7dd(0x8a)][_0x17d7dd(0xb8)](_0x17d7dd(0x191),_0x5736aa[_0x17d7dd(0xd6)](_0x17d7dd(0x191)),_0x5f5e0c),_0x1b253a[_0x17d7dd(0x8a)][_0x17d7dd(0xb8)](_0x17d7dd(0x8c),_0x5736aa[_0x17d7dd(0xd6)](_0x17d7dd(0x8c)),_0x5f5e0c);},{'priority':_0x2ce5b3(0x9b)});}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x10c))[_0xe090b9(0xd5)](_0x341653=>{const _0x3208a1=_0xe090b9;_0x341653['on'](_0x3208a1(0x16d),(_0x34ff20,_0x52d311,_0x252e96)=>{const _0x5ad682=_0x3208a1;if(!_0x252e96[_0x5ad682(0x1b3)][_0x5ad682(0xd8)](_0x52d311[_0x5ad682(0xd2)],{'attributes':[_0x5ad682(0x191),_0x5ad682(0x8c)]}))return;if(_0x52d311[_0x5ad682(0xa7)][_0x5ad682(0x98)])return;const _0x1d2fa9=_0x52d311[_0x5ad682(0xa7)][_0x5ad682(0xb1)][_0x5ad682(0xb9)];_0x1d2fa9[_0x5ad682(0x10e)](_0x5ad682(0x191))||_0x1d2fa9[_0x5ad682(0x10e)](_0x5ad682(0xf5))||(_0x252e96[_0x5ad682(0x8a)][_0x5ad682(0xb8)](_0x5ad682(0x191),_0x52d311[_0x5ad682(0xd2)][_0x5ad682(0xd6)](_0x5ad682(0x191)),_0x1d2fa9),_0x252e96[_0x5ad682(0x8a)][_0x5ad682(0xb8)](_0x5ad682(0x8c),_0x52d311[_0x5ad682(0xd2)][_0x5ad682(0xd6)](_0x5ad682(0x8c)),_0x1d2fa9));},{'priority':_0x3208a1(0x9b)});}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x10c))[_0xe090b9(0xbf)]({'view':{'name':_0xe090b9(0x124),'attributes':{'vid':!0x0}},'model':{'key':_0xe090b9(0xf5),'value':_0x3b846b=>_0x3b846b[_0xe090b9(0xd6)](_0xe090b9(0xf5))}}),this[_0xe090b9(0xd1)][_0xe090b9(0x1a3)][_0xe090b9(0xb0)]['on'](_0xe090b9(0x1c4),(_0x9e94c9,[,_0x325dac])=>{const _0x4e7c7d=_0xe090b9;[_0x4e7c7d(0x191),_0x4e7c7d(0x8c),_0x4e7c7d(0xf5)][_0x4e7c7d(0x15d)](_0x325dac)&&(_0x9e94c9[_0x4e7c7d(0x9a)]=!0x0,_0x9e94c9[_0x4e7c7d(0xb4)]());},{'priority':_0xe090b9(0x93)}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x12c))[_0xe090b9(0xd5)](_0x513a37=>{const _0x14b7eb=_0xe090b9;_0x513a37['on'](_0x14b7eb(0xee),(_0x2f1c91,_0x531984,_0x4b1ed4)=>{const _0x8c3abf=_0x14b7eb;if('\x20'!=_0x531984[_0x8c3abf(0xdd)][_0x8c3abf(0xdf)]||_0x531984[_0x8c3abf(0xdd)][_0x8c3abf(0x159)][_0x8c3abf(0xdb)]>0x1)return;if(!_0x4b1ed4[_0x8c3abf(0x1b3)][_0x8c3abf(0xd8)](_0x531984[_0x8c3abf(0xdd)],_0x2f1c91[_0x8c3abf(0x128)]))return;const _0x421e4f=_0x4b1ed4[_0x8c3abf(0x8a)],_0x4561b3=_0x4b1ed4[_0x8c3abf(0x8f)][_0x8c3abf(0x108)](_0x531984[_0x8c3abf(0x195)]);_0x421e4f[_0x8c3abf(0xfe)](_0x4561b3,_0x421e4f[_0x8c3abf(0x148)](_0x8c3abf(0x124)));});}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x12c))[_0xe090b9(0x135)]({'model':_0xe090b9(0x185)}),this[_0xe090b9(0xd1)][_0xe090b9(0x118)][_0xe090b9(0xc9)]['on'](_0xe090b9(0x16b),function(_0x49049f){const _0x184868=_0xe090b9,_0x4a83b6=_0x49049f[_0x184868(0x1af)][_0x184868(0x1b6)](_0x184868(0xec));return(_0x450169,_0x253aea,_0x5f5d65)=>{const _0x5eac09=_0x184868,_0x31e091=_0x253aea[_0x5eac09(0x19b)][_0x5eac09(0x190)](':')[0x1],_0x5c9503=_0x4a83b6[_0x5eac09(0xd9)](_0x31e091);if(!_0x5c9503)return null;const _0x174430=_0x5eac09(0xd5)==_0x5c9503[_0x5eac09(0xd4)]?_0x5eac09(0x190):_0x5eac09(0x1ae);if(!_0x5f5d65[_0x5eac09(0x1b3)][_0x5eac09(0x1b5)](_0x253aea[_0x5eac09(0xbc)],_0x450169[_0x5eac09(0x128)]))return;const _0x300194=_0x253aea[_0x5eac09(0xbc)][_0x5eac09(0x1aa)](),_0x2cac33=_0x253aea[_0x5eac09(0xbc)][_0x5eac09(0xb1)],_0x5f04a6=_0x49049f[_0x5eac09(0x1a3)][_0x5eac09(0xb0)];let _0x298c44=null,_0x27acfe=null,_0xb45535=!0x1,_0x420dbe=!0x1;for(const _0x17d592 of _0x300194){const _0x4a66f5=_0x17d592[_0x5eac09(0xdd)];_0xb45535=_0xb45535||_0x5f04a6[_0x5eac09(0x198)](_0x4a66f5);const _0x123547=_0x5f5d65[_0x5eac09(0x8f)][_0x5eac09(0x1b7)](_0x4a66f5);if(_0x123547&&_0x123547[_0x5eac09(0x193)](_0x5eac09(0x180)))return;_0x5eac09(0x91)==_0x17d592[_0x5eac09(0xd4)]&&(_0x5f04a6[_0x5eac09(0xed)](_0x4a66f5)&&!_0x5f04a6[_0x5eac09(0x88)](_0x4a66f5)&&(_0x4a66f5[_0x5eac09(0xaf)]||_0x2cac33[_0x5eac09(0x150)]?_0x298c44&&_0x298c44[_0x5eac09(0x159)]==_0x4a66f5||(_0x298c44=_0x4a66f5,_0x113e30(_0x17d592[_0x5eac09(0x1ac)]),_0x420dbe=!0x0):_0x27acfe=_0x27acfe||_0x17d592[_0x5eac09(0x1ac)]));}function _0x113e30(_0x40eb55){const _0x5ca3f6=_0x5eac09,_0x1d4d15=_0x5f5d65[_0x5ca3f6(0x8a)][_0x5ca3f6(0x151)](_0x5ca3f6(0x124),{'class':_0x5ca3f6(0xbe)+_0x174430}),_0x3eb95a=_0x5f5d65[_0x5ca3f6(0x8f)][_0x5ca3f6(0xcf)](_0x40eb55);_0x5c9503[_0x5ca3f6(0xdf)][_0x5ca3f6(0xfa)]&&_0x5f5d65[_0x5ca3f6(0x8a)][_0x5ca3f6(0x80)](_0x5ca3f6(0xbe)+_0x174430+_0x5ca3f6(0xa5),_0x1d4d15),_0x4a83b6[_0x5ca3f6(0x110)]==_0x5c9503&&_0x5f5d65[_0x5ca3f6(0x8a)][_0x5ca3f6(0x80)](_0x5ca3f6(0x155),_0x1d4d15),_0x5f5d65[_0x5ca3f6(0x8a)][_0x5ca3f6(0xf0)](_0x3eb95a,_0x1d4d15),_0x5f5d65[_0x5ca3f6(0x8f)][_0x5ca3f6(0x94)](_0x1d4d15,_0x253aea[_0x5ca3f6(0x19b)]);}_0xb45535||_0x420dbe||!_0x27acfe||_0x113e30(_0x27acfe);};}(this[_0xe090b9(0xd1)]),{'priority':_0xe090b9(0x1c3)}),this[_0xe090b9(0xd1)][_0xe090b9(0x118)][_0xe090b9(0xc9)]['on'](_0xe090b9(0x137),(_0x4f77b9,_0x89312d,_0x210666)=>{const _0x1729be=_0xe090b9,_0xdc5d17=_0x210666[_0x1729be(0x8f)][_0x1729be(0x17f)](_0x89312d[_0x1729be(0x19b)]);if(_0xdc5d17){for(const _0x15b63c of _0xdc5d17)(_0x15b63c[_0x1729be(0x17d)](_0x1729be(0x140))||_0x15b63c[_0x1729be(0x17d)](_0x1729be(0x1a4)))&&(_0x210666[_0x1729be(0x8f)][_0x1729be(0x119)](_0x15b63c,_0x89312d[_0x1729be(0x19b)]),_0x210666[_0x1729be(0x8a)][_0x1729be(0x142)](_0x15b63c));}},{'priority':_0xe090b9(0x1c3)}),this[_0xe090b9(0xd1)][_0xe090b9(0x118)][_0xe090b9(0xc9)]['on'](_0xe090b9(0x16b),(_0x4b5277,_0xe570be,_0x17dfda)=>{const _0x293f30=_0xe090b9,_0x35ff68=_0xe570be[_0x293f30(0x19b)][_0x293f30(0x190)](':')[0x1],_0x2619fc=this[_0x293f30(0xd9)](_0x35ff68);if(!_0x2619fc)return null;const _0x32015b=_0x293f30(0xd5)==_0x2619fc[_0x293f30(0xd4)]?_0x293f30(0x190):_0x293f30(0x1ae);if(_0x17dfda[_0x293f30(0x1b3)][_0x293f30(0x1b5)](_0xe570be[_0x293f30(0xbc)],_0x4b5277[_0x293f30(0x128)]))for(const _0x5dc2b9 of _0xe570be[_0x293f30(0xbc)][_0x293f30(0xa0)]()){if(!_0x5dc2b9['is'](_0x293f30(0x16d),_0x293f30(0xe8)))continue;const _0x514707=_0x17dfda[_0x293f30(0x8a)][_0x293f30(0x151)](_0x293f30(0x124),{'class':_0x293f30(0xbe)+_0x32015b}),_0x5b9fa9=_0x17dfda[_0x293f30(0x8f)][_0x293f30(0xcf)](this[_0x293f30(0xd1)][_0x293f30(0x1a3)][_0x293f30(0x1bd)](_0x5dc2b9));_0x2619fc[_0x293f30(0xdf)][_0x293f30(0xfa)]&&_0x17dfda[_0x293f30(0x8a)][_0x293f30(0x80)](_0x293f30(0xbe)+_0x32015b+_0x293f30(0xa5),_0x514707),this[_0x293f30(0x110)]==_0x2619fc&&_0x17dfda[_0x293f30(0x8a)][_0x293f30(0x80)](_0x293f30(0x155),_0x514707),_0x17dfda[_0x293f30(0x8a)][_0x293f30(0xf0)](_0x5b9fa9,_0x514707),_0x17dfda[_0x293f30(0x8f)][_0x293f30(0x94)](_0x514707,_0xe570be[_0x293f30(0x19b)]);}},{'priority':_0xe090b9(0x1c3)}),this[_0xe090b9(0xd1)][_0xe090b9(0x1a3)][_0xe090b9(0x11e)]['on'](_0xe090b9(0xcd),()=>{const _0xaa922a=_0xe090b9;this[_0xaa922a(0xd1)][_0xaa922a(0x118)][_0xaa922a(0xc4)][_0xaa922a(0xcd)](_0x26f7e6=>{const _0x5a1795=_0xaa922a;for(const _0x301f8d of this[_0x5a1795(0xd1)][_0x5a1795(0x1a3)][_0x5a1795(0x11e)][_0x5a1795(0x164)]()){const _0x4b3a3f=this[_0x5a1795(0xd1)][_0x5a1795(0x1a3)][_0x5a1795(0x11e)][_0x5a1795(0x10d)](_0x301f8d),_0x36eed6=this[_0x5a1795(0xd1)][_0x5a1795(0x118)][_0x5a1795(0xc4)][_0x5a1795(0x11e)][_0x5a1795(0x10d)](_0x301f8d);if(_0x36eed6){const _0x28d23a=_0x4b3a3f[_0x5a1795(0xd6)](_0x5a1795(0x1c7));if(_0x26f7e6[_0x5a1795(0x1b4)](_0x5a1795(0x114),_0x36eed6),_0x26f7e6[_0x5a1795(0x123)](_0x5a1795(0x18a),_0x36eed6),_0x26f7e6[_0x5a1795(0x123)](_0x5a1795(0xa1),_0x36eed6),_0x26f7e6[_0x5a1795(0x123)](_0x5a1795(0x1c8),_0x36eed6),_0x28d23a){const _0x353066=this[_0x5a1795(0xd9)](_0x28d23a);if(!_0x353066)return null;_0x26f7e6[_0x5a1795(0xb8)](_0x5a1795(0x114),_0x28d23a,_0x36eed6),_0x26f7e6[_0x5a1795(0x80)](_0x5a1795(0x86)+_0x353066[_0x5a1795(0xd4)],_0x36eed6),this[_0x5a1795(0x110)]==_0x353066&&_0x26f7e6[_0x5a1795(0x80)](_0x5a1795(0x1c8),_0x36eed6);}}}});}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x10c))[_0xe090b9(0xbb)]({'view':_0xe090b9(0xe1),'model':_0x585e77=>_0xe090b9(0x14a)+_0x585e77,'converterPriority':_0xe090b9(0x93)}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x10c))[_0xe090b9(0xbb)]({'view':_0xe090b9(0x127),'model':_0x214a97=>_0xe090b9(0x116)+_0x214a97,'converterPriority':_0xe090b9(0x93)}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0x12c))[_0xe090b9(0x135)]({'model':_0xe090b9(0x1c1),'view':_0xafc1df=>({'name':_0xe090b9(0xb2)+_0xafc1df,'group':_0xe090b9(0x1c1)}),'converterPriority':_0xe090b9(0x93)}),this[_0xe090b9(0xd1)][_0xe090b9(0x11f)][_0xe090b9(0x144)](_0xe090b9(0xe6))[_0xe090b9(0x101)]({'model':_0xe090b9(0x1c1),'view':_0x7a4673=>{const _0x214cfa=_0xe090b9,_0x38c5f5=_0x7a4673[_0x214cfa(0x19b)][_0x214cfa(0x190)](':')[0x1];return _0x214cfa(0x82)!=_0x38c5f5&&_0x214cfa(0xd7)!=_0x38c5f5?null:{'classes':[_0x214cfa(0x183),_0x214cfa(0x1bf)+_0x38c5f5]};}}),this[_0xe090b9(0xd1)][_0xe090b9(0x118)][_0xe090b9(0xc9)]['on'](_0xe090b9(0xf2),et(this[_0xe090b9(0xd1)],_0xe090b9(0x1ae)),{'priority':_0xe090b9(0x1c3)}),this[_0xe090b9(0xd1)][_0xe090b9(0x118)][_0xe090b9(0xc9)]['on'](_0xe090b9(0xdc),et(this[_0xe090b9(0xd1)],_0xe090b9(0x190)),{'priority':_0xe090b9(0x1c3)}),this[_0xe090b9(0xd1)][_0xe090b9(0x118)][_0xe090b9(0xc9)]['on'](_0xe090b9(0x113),(_0x86337e,_0x5ac2f6,_0x2f4f8d)=>{const _0x35020a=_0xe090b9,_0x9671cd=_0x2f4f8d[_0x35020a(0x8f)][_0x35020a(0x17f)](_0x5ac2f6[_0x35020a(0x19b)]);if(_0x9671cd){for(const _0x5874ca of _0x9671cd)_0x5874ca['is'](_0x35020a(0xea))&&(_0x2f4f8d[_0x35020a(0x8f)][_0x35020a(0x119)](_0x5874ca,_0x5ac2f6[_0x35020a(0x19b)]),_0x2f4f8d[_0x35020a(0x8a)][_0x35020a(0x142)](_0x5874ca));}},{'priority':_0xe090b9(0x1c3)});}[_0x255922(0xd9)](_0x4ea4a1){const _0x597852=_0x255922;return this[_0x597852(0xab)][_0x597852(0x1b6)](_0x4ea4a1);}[_0x255922(0x1cb)](_0x58db47){const _0x24ec43=_0x255922;return this[_0x24ec43(0xa9)]&&this[_0x24ec43(0xa9)][_0x24ec43(0x170)](),this[_0x24ec43(0xa9)]=new _0x1fb949(this[_0x24ec43(0xd1)][_0x24ec43(0x15b)],_0x58db47),this[_0x24ec43(0xa9)];}[_0x255922(0x139)](){const _0x273fb4=_0x255922;this[_0x273fb4(0xd1)][_0x273fb4(0x1a3)][_0x273fb4(0x11e)][_0x273fb4(0x1c2)][_0x273fb4(0x9f)](_0x273fb4(0x185)),this['on'](_0x273fb4(0x120),(_0x3e0224,_0x21e019,_0x1c2a04,_0xdf67f8)=>{const _0xbefce9=_0x273fb4;_0xdf67f8&&this[_0xbefce9(0x1b2)][_0xbefce9(0x142)](_0xdf67f8),_0x1c2a04&&(this[_0xbefce9(0x1b2)][_0xbefce9(0xd5)]({'view':_0x1c2a04,'stackId':_0xbefce9(0x10f),'position':{'target':()=>{const _0x68fd1d=_0xbefce9,_0x57d727=this[_0x68fd1d(0xd1)][_0x68fd1d(0x118)],_0x1fc48f=this[_0x68fd1d(0xd9)](_0x1c2a04[_0x68fd1d(0x197)]);let _0x57dc57;if(_0x1fc48f[_0x68fd1d(0xdf)][_0x68fd1d(0xba)]){const _0x10f557=_0x57d727[_0x68fd1d(0xc4)][_0x68fd1d(0xf9)](_0x1fc48f[_0x68fd1d(0xa4)]);_0x57dc57=Array[_0x68fd1d(0x175)](_0x10f557[_0x68fd1d(0xa3)]());}else{const _0x509688=this[_0x68fd1d(0xd1)][_0x68fd1d(0x1a3)][_0x68fd1d(0x106)][_0x68fd1d(0x1b6)](_0x68fd1d(0x1b0)+_0x1c2a04[_0x68fd1d(0x197)]);_0x57dc57=Array[_0x68fd1d(0x175)](_0x57d727[_0x68fd1d(0x8f)][_0x68fd1d(0x17f)](_0x509688[_0x68fd1d(0x128)]))[_0x68fd1d(0x172)](_0x599ade=>_0x57d727[_0x68fd1d(0xc4)][_0x68fd1d(0xac)][_0x68fd1d(0x18b)](_0x599ade))[_0x68fd1d(0x172)](_0x4cc383=>Array[_0x68fd1d(0x175)](_0x4cc383[_0x68fd1d(0xa3)]()))[_0x68fd1d(0x130)]();}if(!this[_0x68fd1d(0x141)])return _0x57dc57[0x0];return _0x57dc57[_0x68fd1d(0x92)](_0x3cbc82=>_0x3cbc82[_0x68fd1d(0xda)]-0x3<=this[_0x68fd1d(0x141)]['y']&&_0x3cbc82[_0x68fd1d(0x95)]+0x3>=this[_0x68fd1d(0x141)]['y']&&_0x3cbc82[_0x68fd1d(0x84)]-0x3<=this[_0x68fd1d(0x141)]['x']&&_0x3cbc82[_0x68fd1d(0x19c)]+0x3>=this[_0x68fd1d(0x141)]['x'])||_0x57dc57[0x0];}}}),this[_0xbefce9(0x1b2)][_0xbefce9(0x153)](_0xbefce9(0x10f)));}),this['on'](_0x273fb4(0x1ca),(_0x21c232,_0xa665e5,_0x50c1d4,_0x1db0d2)=>{const _0x34eafc=_0x273fb4;this[_0x34eafc(0xfd)]=_0x50c1d4?this[_0x34eafc(0x1cb)](_0x50c1d4):null,this[_0x34eafc(0xd1)][_0x34eafc(0x1a3)][_0x34eafc(0xcd)](()=>{const _0x25fa61=_0x34eafc,_0xa8846f=this[_0x25fa61(0xd1)][_0x25fa61(0x118)];_0x1db0d2&&(_0x1db0d2[_0x25fa61(0xdf)][_0x25fa61(0xba)]?_0xa8846f[_0x25fa61(0xc4)][_0x25fa61(0xcd)](_0x84ecf2=>{const _0x415351=_0x25fa61;_0x84ecf2[_0x415351(0x123)](_0x415351(0x1c8),_0xa8846f[_0x415351(0xc4)][_0x415351(0x11e)][_0x415351(0x10d)](_0x1db0d2[_0x415351(0xa4)]));}):_0xa8846f[_0x25fa61(0x122)](_0x25fa61(0x1b0)+_0x1db0d2['id'])),_0x50c1d4&&(_0x50c1d4[_0x25fa61(0xdf)][_0x25fa61(0xba)]?_0xa8846f[_0x25fa61(0xc4)][_0x25fa61(0xcd)](_0x5195b3=>{const _0x36a0c2=_0x25fa61;_0x5195b3[_0x36a0c2(0x80)](_0x36a0c2(0x1c8),_0xa8846f[_0x36a0c2(0xc4)][_0x36a0c2(0x11e)][_0x36a0c2(0x10d)](_0x50c1d4[_0x36a0c2(0xa4)]));}):_0xa8846f[_0x25fa61(0x122)](_0x25fa61(0x1b0)+_0x50c1d4['id']));});}),this[_0x273fb4(0x16e)](this[_0x273fb4(0xd1)][_0x273fb4(0x118)][_0x273fb4(0xc4)][_0x273fb4(0x11e)],_0x273fb4(0x16f),(_0xb67cc,_0x4a240e)=>{const _0x14c9ff=_0x273fb4;if(this[_0x14c9ff(0x110)])return;const _0x354147=this[_0x14c9ff(0x96)](_0x4a240e[_0x14c9ff(0x83)]),_0x4ac6d1=this[_0x14c9ff(0xab)][_0x14c9ff(0x1b6)](_0x354147);_0x4ac6d1?(this[_0x14c9ff(0x141)]={'x':_0x4a240e[_0x14c9ff(0x9d)]['x'],'y':_0x4a240e[_0x14c9ff(0x9d)]['y']},this[_0x14c9ff(0xfd)]=this[_0x14c9ff(0x1cb)](_0x4ac6d1)):(this[_0x14c9ff(0x141)]=null,this[_0x14c9ff(0xfd)]=null);}),this[_0x273fb4(0x16e)](this[_0x273fb4(0xd1)][_0x273fb4(0x118)][_0x273fb4(0xc4)][_0x273fb4(0x11e)],_0x273fb4(0x134),(_0x3e5c69,_0x24784f)=>{const _0x2ee3c6=_0x273fb4,_0x1bf9f7=this[_0x2ee3c6(0x96)](_0x24784f[_0x2ee3c6(0x83)]),_0x4bb0d4=this[_0x2ee3c6(0xab)][_0x2ee3c6(0x1b6)](_0x1bf9f7);_0x4bb0d4?(this[_0x2ee3c6(0x141)]={'x':_0x24784f[_0x2ee3c6(0x9d)]['x'],'y':_0x24784f[_0x2ee3c6(0x9d)]['y']},_0x4bb0d4===this[_0x2ee3c6(0x110)]?this[_0x2ee3c6(0x1b2)][_0x2ee3c6(0xc8)]():this[_0x2ee3c6(0x110)]=_0x4bb0d4):(this[_0x2ee3c6(0x141)]=null,this[_0x2ee3c6(0x110)]=null);});}[_0x255922(0x96)](_0x374588){const _0x524f0a=_0x255922;do{const _0x3946e3=_0x374588[_0x524f0a(0xd6)](_0x524f0a(0x114));if(_0x3946e3)return _0x3946e3;_0x374588=_0x374588[_0x524f0a(0x159)];}while(_0x374588);return null;}[_0x255922(0xf7)](){const _0x3276c9=_0x255922;this[_0x3276c9(0xd1)][_0x3276c9(0x1a3)][_0x3276c9(0xcd)](_0x3376fb=>{const _0x378060=_0x3276c9;for(const _0x537333 of this[_0x378060(0xd1)][_0x378060(0x1a3)][_0x378060(0x106)])_0x3376fb[_0x378060(0xe4)](_0x537333);});}}function et(_0xf2ab1b,_0x24cfb2){return(_0x4ddef4,_0x598023,_0x22ef55)=>{const _0x296a93=_0x507a;if(!_0x22ef55[_0x296a93(0x1b3)][_0x296a93(0x1b5)](_0x598023[_0x296a93(0xbc)],_0x4ddef4[_0x296a93(0x128)]))return;const _0x52f94d=_0x598023[_0x296a93(0xbc)][_0x296a93(0x1aa)](),_0x19b593=_0x598023[_0x296a93(0xbc)][_0x296a93(0xb1)],_0xb239e=_0xf2ab1b[_0x296a93(0x1a3)][_0x296a93(0xb0)];let _0x4a2426=null,_0x4604d4=null,_0x3ff1ad=!0x1,_0x41feda=!0x1;for(const _0x41f91a of _0x52f94d){const _0x28a29e=_0x41f91a[_0x296a93(0xdd)];_0x3ff1ad=_0x3ff1ad||_0xb239e[_0x296a93(0x198)](_0x28a29e);const _0x3ec583=_0x22ef55[_0x296a93(0x8f)][_0x296a93(0x1b7)](_0x28a29e);if(_0x3ec583&&_0x3ec583[_0x296a93(0x193)](_0x296a93(0x180)))return;_0x296a93(0x91)==_0x41f91a[_0x296a93(0xd4)]&&(_0xb239e[_0x296a93(0xed)](_0x28a29e)&&!_0xb239e[_0x296a93(0x88)](_0x28a29e)&&(_0x28a29e[_0x296a93(0xaf)]||_0x19b593[_0x296a93(0x150)]?_0x4a2426&&_0x4a2426[_0x296a93(0x159)]==_0x28a29e||(_0x4a2426=_0x28a29e,_0x47dffa(_0x41f91a[_0x296a93(0x1ac)]),_0x41feda=!0x0):_0x4604d4=_0x4604d4||_0x41f91a[_0x296a93(0x1ac)]));}function _0x47dffa(_0x38a262){const _0x2191b8=_0x296a93,_0x191c6a=_0x22ef55[_0x2191b8(0x8f)][_0x2191b8(0xcf)](_0x38a262),_0x8b11d1=_0x22ef55[_0x2191b8(0x8a)][_0x2191b8(0x151)](_0x2191b8(0x124),{'class':_0x2191b8(0x1bf)+_0x24cfb2});_0x22ef55[_0x2191b8(0x8a)][_0x2191b8(0xf0)](_0x191c6a,_0x8b11d1),_0x22ef55[_0x2191b8(0x8f)][_0x2191b8(0x94)](_0x8b11d1,_0x598023[_0x2191b8(0x19b)]);}_0x3ff1ad||_0x41feda||!_0x4604d4||_0x47dffa(_0x4604d4);};}function _0xe907(){const _0x152b04=['updatePosition','downcastDispatcher','_makeModelFromViewString','pairId','revision-viewer','change','resolve','toViewPosition','affectsData','editor','viewItem','_getViewObj','type','add','getAttribute','deletion','consume','_getChangeFromId','top','maxOffset','addMarker:revision-suggestion:insertion','item','revision-end','data','_refreshStartEndIndex','comment','concat','_joinTapes','removeMarker','delete','editingDowncast','_setConversion','softBreak','all','uiElement','_fixObsoleteTags','RevisionViewer','isBlock','attribute:vid','text','insert','isEqual','addMarker:revision-suggestion:deletion','WidgetToolbarRepository','RevisionsRepository','vid','isAttached','_cleanMarkers','attributes','getDomRoot','isSuggestion','showPreviousChange','_data','activeView','wrap','POSITIVE_INFINITY','_setDistance','markerToHighlight','_appendChild','code','string','addRevision','markers','shift','toViewRange','forceDisabled','side','isAfter','upcast','getRoot','hasAttribute','revisionHistoryLabel','activeChange','isBefore','isReady','removeMarker:revision-suggestion','data-change-id','markersEnd','revision-suggestion:','changes','editing','unbindElementFromMarkerName','getAttributes','6014DQvzsh','28PNvRqd','newRevisionId','document','conversion','change:activeView','isRemoved','reconvertMarker','removeClass','span','startIndex','push','suggestion','name','_markMismatchedRemovedTags','length','done','dataDowncast','collaboration.channelId','splice','attributesBefore','flat','getRevisionData','default','element:pre','mousedown','markerToData','createRangeIn','removeMarker:revision','getIndex','_initInteractions','forward','20jXsatN','_markInsertions','repository','_removeUnsupportedChanges','level','ck-suggestion-marker-split','_activeViewTarget','remove','createRevision','for','_processTape','object','_removeMissingPairs','createAttributeElement','markersStart','revision-comment:','nextPosition','1569yPgVmG','diff','loadRevisionData','isIncorrect','isAtEnd','createUIElement','slice','showStack','sort','ck-suggestion-marker--active','diffData','isRemoveSuggestion','adapter','parent','enqueueChange','locale','isAddSuggestion','includes','roots','_setChanges','abs','currentChangeNumber','userId','refresh','getRootNames','data-revision-','parse','keys','_revisions','children','change:numberOfChanges','addMarker:revision','toData','element','listenTo','mouseover','destroy','_makeModelFromTape','map','createRange','attachChange','from','479256BgFIsQ','values','compare','init','isNavigationMode','toModel','error','hasClass','addRevisionData','markerNameToElements','addHighlight','first','clear','ck-suggestion-preview-marker','offsetSize','revision','detachRoot','getRevision','findIndex','set','ck-revision-history-root-add','mapViewToDom','isObject','restoreRevision','createPositionFromPath','isEnabled','split','vid_start','ck-suggestion-marker','getCustomProperty','oldRevisionId','range','1695615KRAYKU','changeId','isContent','_threeWayMerge','pop','markerName','right','ck-editor__editable__overlay','revisionHistory','distance','1921761nIbqnu','bind','next','model','ck-suggestion-marker-merge','unshift','isAdded','addRoot','showNextChange','_markSuggestions','getWalker','insertions','previousPosition','elementStart','merge','plugins','revision:','_sortAndFilterDiffChanges','_balloon','consumable','removeAttribute','test','get','toViewElement','indexOf','execute','change:isReady','filter','endIndex','createPositionBefore','pluginName','ck-suggestion-preview-marker-','config','revision-suggestion','selection','high','checkAttribute','attributesAfter','_makeTape','revisionHistoryAttachChange','ck-revision-history-root--active','authors','change:activeChange','_getViewForChange','_cleanUp','forEach','deletions','processor','addClass','10320954UmkCDP','insertion','target','left','_update','ck-revision-history-root-','_step','isLimit','getRevisionRootsAttributes','writer','getChild','vid_end','_markMarkers','change:isEnabled','mapper','670190tCImTd','elementEnd','find','highest','bindElementToMarker','bottom','_findChangeIdFromDomTarget','isInline','isCollapsed','isAtStart','return','low','enableReadOnlyMode','domEvent','then','observeMarkers','getItems','ck-revision-history-root-remove','useFillerType','getClientRects','rootName','-new','4sCuvuj','modelRange','catch','_changeView','commands','_changeIdToChange','domConverter','has','index','nextSibling','schema','start','suggestion:','requires','stop','_removeRevisionMarkers','revision-start','backward','setAttribute','nodeAfter','isOnRoot','dataToMarker','markerRange','17576581iFAyHx','ck-suggestion-marker-','elementToAttribute','restoreRevisionCallback','numberOfChanges','end','_getDiff','view','startsWith','_getRevisionsRange','marked'];_0xe907=function(){return _0x152b04;};return _0xe907();}export class RestoreRevisionCommand extends _0xfa2175{constructor(_0x2b52b6){const _0x4d3fa8=_0x255922;super(_0x2b52b6);const _0x3cb90d=_0x2b52b6[_0x4d3fa8(0x1af)][_0x4d3fa8(0x1b6)](d);this[_0x4d3fa8(0xd0)]=!0x1,this[_0x4d3fa8(0x16e)](_0x3cb90d,_0x4d3fa8(0x1ba),()=>this[_0x4d3fa8(0x163)]()),this[_0x4d3fa8(0x16e)](_0x3cb90d,_0x4d3fa8(0x8e),()=>this[_0x4d3fa8(0x163)]());}[_0x255922(0x1b9)](){const _0x539990=_0x255922,_0x22d3e2=this[_0x539990(0xd1)],_0x55bb9b=_0x22d3e2[_0x539990(0x1af)][_0x539990(0x1b6)](d),_0x3ced2f=_0x55bb9b[_0x539990(0x112)]?_0x55bb9b[_0x539990(0x14d)][_0x539990(0x11d)]:null;_0x22d3e2[_0x539990(0x1c0)][_0x539990(0x1b6)](_0x539990(0x19e))[_0x539990(0xc0)](_0x3ced2f);}[_0x255922(0x163)](){const _0x4785f2=_0x255922,{isReady:_0x3da6f3,isEnabled:_0xdc8a68}=this[_0x4785f2(0xd1)][_0x4785f2(0x1af)][_0x4785f2(0x1b6)](d);this[_0x4785f2(0x18f)]=_0x3da6f3&&_0xdc8a68;}}export class ShowChangeCommand extends _0xfa2175{constructor(_0x93f61,{direction:_0x2dcb74}){const _0x614626=_0x255922;super(_0x93f61);const _0x3846f9=_0x93f61[_0x614626(0x1af)][_0x614626(0x1b6)](d);this[_0x614626(0xd0)]=!0x1,this[_0x614626(0x87)]=_0x614626(0x13a)===_0x2dcb74?0x1:-0x1,this[_0x614626(0x16e)](_0x3846f9,_0x614626(0x1ba),()=>this[_0x614626(0x163)]()),this[_0x614626(0x16e)](_0x3846f9,_0x614626(0x8e),()=>this[_0x614626(0x163)]()),this[_0x614626(0x16e)](_0x3846f9,_0x614626(0x1ca),()=>this[_0x614626(0x163)]());}[_0x255922(0x1b9)](){const _0x25829b=_0x255922,_0x4e77c4=this[_0x25829b(0xd1)],_0x28ba16=_0x4e77c4[_0x25829b(0x1af)][_0x25829b(0x1b6)](d),{isNavigationMode:_0x10c4fe,currentChangeNumber:_0x397336}=_0x28ba16;let _0x48f6df;if(_0x28ba16[_0x25829b(0x110)]=_0x10c4fe?_0x28ba16[_0x25829b(0x14d)][_0x25829b(0x117)][_0x25829b(0x1b6)](_0x397336+this[_0x25829b(0x87)]):_0x28ba16[_0x25829b(0x14d)][_0x25829b(0x117)][_0x25829b(0x181)],_0x28ba16[_0x25829b(0x110)][_0x25829b(0xdf)][_0x25829b(0xba)])_0x48f6df=_0x4e77c4[_0x25829b(0x118)][_0x25829b(0xc4)][_0x25829b(0xf9)](_0x28ba16[_0x25829b(0x110)][_0x25829b(0xa4)]);else{const _0x9e32b6=_0x4e77c4[_0x25829b(0x1a3)][_0x25829b(0x106)][_0x25829b(0x1b6)](_0x25829b(0x1b0)+_0x28ba16[_0x25829b(0x110)]['id']);_0x48f6df=_0x237f44(_0x4e77c4[_0x25829b(0x118)],_0x9e32b6);}_0x1dd015({'target':_0x48f6df,'viewportOffset':0x28});}[_0x255922(0x163)](){const _0x4655fe=_0x255922,{isNavigationMode:_0x27942c,currentChangeNumber:_0x41b31a,numberOfChanges:_0x2cca3e,isReady:_0x7a4a43,isEnabled:_0x435199}=this[_0x4655fe(0xd1)][_0x4655fe(0x1af)][_0x4655fe(0x1b6)](d);this[_0x4655fe(0x18f)]=!!(_0x435199&&_0x7a4a43&&_0x2cca3e)&&(!_0x27942c||(0x1===this[_0x4655fe(0x87)]?_0x41b31a<_0x2cca3e-0x1:_0x41b31a>0x0));}}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { ViewModel } from 'ckeditor5/src/ui.js';
|
|
5
|
+
import { ViewModel, type DropdownView } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import '../../../theme/revision/revisionactions.css';
|
|
7
|
+
import type RevisionView from './revisionview.js';
|
|
8
|
+
import type { RevisionAction } from '../revisionssidebar/revisionssidebar.js';
|
|
9
|
+
export declare function createActionsDropdownView(revisionView: RevisionView, revisionActions: Array<RevisionAction>): DropdownView;
|
|
7
10
|
export interface RevisionDropdownOptions {
|
|
8
11
|
type: 'button';
|
|
9
12
|
model: ViewModel;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4f8295,_0x20b9b2){const _0x48207f=_0x24bb,_0x2d4363=_0x4f8295();while(!![]){try{const _0x273931=parseInt(_0x48207f(0x97))/0x1+parseInt(_0x48207f(0xa7))/0x2+-parseInt(_0x48207f(0x89))/0x3+-parseInt(_0x48207f(0x8c))/0x4*(-parseInt(_0x48207f(0x8a))/0x5)+-parseInt(_0x48207f(0xa8))/0x6+parseInt(_0x48207f(0x82))/0x7*(-parseInt(_0x48207f(0xa6))/0x8)+parseInt(_0x48207f(0x87))/0x9*(parseInt(_0x48207f(0xa5))/0xa);if(_0x273931===_0x20b9b2)break;else _0x2d4363['push'](_0x2d4363['shift']());}catch(_0x480d8b){_0x2d4363['push'](_0x2d4363['shift']());}}}(_0x371c,0x3f1e8));import{Collection as _0x1e200b}from'ckeditor5/src/utils.js';function _0x371c(){const _0x3ea4eb=['isVisible','ck-on','source','stopPropagation','isEnabled','extendTemplate','bind','name','1840uPdUuD','287416fDPNIA','1021414qoOugt','2653122GGtXue','isOpen','children','find','add','button','execute','listView','set','Restore\x20this\x20revision','items','locale','14OhciwX','panelPosition','model','ck-revision-history-sidebar__revision__actions','map','10701CzkdrR','isReady','1014627dPOzyh','20uGpAbF','_action','168332kOSphW','listenTo','function','action','Compare\x20against\x20selected','Show\x20more\x20items','isActionsDropdownOpen','bindTemplate','Name\x20this\x20revision','menu','threeVerticalDots','212971BeYmXK','change:isActionsDropdownOpen','buttonView','class','menuitem','first'];_0x371c=function(){return _0x3ea4eb;};return _0x371c();}import{icons as _0x52784d}from'ckeditor5/src/core.js';import{ViewModel as _0xe60802,addListToDropdown as _0x231179,createDropdown as _0x445216}from'ckeditor5/src/ui.js';import{getTranslation as _0x288d15}from'../../utils/common-translations.js';function _0x24bb(_0x9a8af,_0x27ac55){const _0x371ca8=_0x371c();return _0x24bb=function(_0x24bb2e,_0x45c84d){_0x24bb2e=_0x24bb2e-0x80;let _0x5e5c26=_0x371ca8[_0x24bb2e];return _0x5e5c26;},_0x24bb(_0x9a8af,_0x27ac55);}import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x404d00,_0x4dbf3e){const _0xc0f106=_0x24bb,_0x1c4161=_0x404d00[_0xc0f106(0x93)],_0x608d73=_0x404d00[_0xc0f106(0x81)],_0x59bc32=_0x445216(_0x608d73);_0x59bc32[_0xc0f106(0x83)]='sw';const _0x32dc99=function(_0x33528d,_0x203f9b){const _0x5bcac1=_0xc0f106,_0x4b5a33=function(_0x167f01,_0x28450a){const _0x389efe=_0x24bb,_0x391f15=_0x167f01[_0x389efe(0x81)],_0x34c2ba={'Compare\x20against\x20selected':_0x288d15(_0x391f15,_0x389efe(0x90)),'Name\x20this\x20revision':_0x288d15(_0x391f15,_0x389efe(0x94)),'Restore\x20this\x20revision':_0x288d15(_0x391f15,_0x389efe(0xb1))};return _0x28450a[_0x389efe(0x86)](_0x101d81=>{const _0x16e110=_0x389efe,_0x24f5a8=_0x34c2ba[_0x101d81[_0x16e110(0xa4)]];return _0x24f5a8&&_0x24f5a8!==_0x101d81[_0x16e110(0xa4)]&&(_0x101d81[_0x16e110(0xa4)]=_0x24f5a8),_0x101d81;});}(_0x33528d,_0x203f9b),_0x50e7ee=new _0x1e200b();for(const _0x4fd9cf of _0x4b5a33){const _0x5295f0={'type':_0x5bcac1(0xad),'model':new _0xe60802({'label':_0x4fd9cf[_0x5bcac1(0xa4)],'class':_0x4fd9cf[_0x5bcac1(0x9a)],'withText':!0x0,'role':_0x5bcac1(0x9b),'_action':_0x4fd9cf[_0x5bcac1(0x8f)]})};_0x5295f0[_0x5bcac1(0x84)][_0x5bcac1(0xa3)](_0x5bcac1(0xa1))['to'](_0x33528d,_0x5bcac1(0x92),_0x44956b=>_0x5bcac1(0x8e)!=typeof _0x4fd9cf[_0x5bcac1(0xa1)]||(!_0x44956b||_0x4fd9cf[_0x5bcac1(0xa1)](_0x33528d))),_0x50e7ee[_0x5bcac1(0xac)](_0x5295f0);}return _0x50e7ee;}(_0x404d00,_0x4dbf3e);return _0x404d00[_0xc0f106(0xa3)](_0xc0f106(0x92))['to'](_0x59bc32,_0xc0f106(0xa9)),_0x59bc32[_0xc0f106(0x99)][_0xc0f106(0xb0)]({'label':_0x288d15(_0x608d73,_0xc0f106(0x91)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x52784d[_0xc0f106(0x96)]}),_0x59bc32[_0xc0f106(0xa2)]({'attributes':{'class':[_0xc0f106(0x85),_0x1c4161['if'](_0xc0f106(0x92),_0xc0f106(0x9e))]},'on':{'click':_0x1c4161['to'](_0x2ec195=>_0x2ec195[_0xc0f106(0xa0)]())}}),_0x59bc32['on'](_0xc0f106(0xae),_0x3ea313=>{const _0x1f7d06=_0xc0f106;_0x404d00[_0x1f7d06(0x88)]&&_0x1f7d06(0x8e)==typeof _0x3ea313[_0x1f7d06(0x9f)][_0x1f7d06(0x8b)]&&_0x3ea313[_0x1f7d06(0x9f)][_0x1f7d06(0x8b)](_0x404d00);}),_0x231179(_0x59bc32,_0x32dc99,{'role':_0xc0f106(0x95)}),_0x59bc32[_0xc0f106(0x8d)](_0x404d00,_0xc0f106(0x98),(_0x70e4c8,_0x1f35e8,_0x215928)=>{const _0x413442=_0xc0f106;if(_0x215928)for(const _0x29f56e of _0x59bc32[_0x413442(0xaf)][_0x413442(0x80)]){const _0x30c4b6=_0x29f56e[_0x413442(0xaa)][_0x413442(0x9c)],_0x50fb07=_0x4dbf3e[_0x413442(0xab)](_0x167893=>_0x167893[_0x413442(0x8f)]===_0x30c4b6[_0x413442(0x8b)])[_0x413442(0x9d)];_0x29f56e[_0x413442(0x9d)]=void 0x0===_0x50fb07||_0x50fb07(_0x404d00);}}),_0x59bc32;}
|
|
@@ -2,4 +2,13 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionauthorview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
5
11
|
import '../../../theme/revision/revisionauthor.css';
|
|
12
|
+
export default class RevisionAuthorView extends View {
|
|
13
|
+
constructor(locale: Locale, author: User, isCreator: boolean);
|
|
14
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c2e6a,_0x2cb62e){const _0x57b2c9=_0x1b37,_0x137f32=_0x3c2e6a();while(!![]){try{const _0x3c3d27=-parseInt(_0x57b2c9(0x113))/0x1+-parseInt(_0x57b2c9(0x10b))/0x2*(parseInt(_0x57b2c9(0x10e))/0x3)+parseInt(_0x57b2c9(0x107))/0x4*(parseInt(_0x57b2c9(0x10a))/0x5)+-parseInt(_0x57b2c9(0x10f))/0x6*(-parseInt(_0x57b2c9(0x101))/0x7)+parseInt(_0x57b2c9(0x100))/0x8+parseInt(_0x57b2c9(0x10c))/0x9*(parseInt(_0x57b2c9(0xfe))/0xa)+-parseInt(_0x57b2c9(0x110))/0xb*(-parseInt(_0x57b2c9(0xff))/0xc);if(_0x3c3d27===_0x2cb62e)break;else _0x137f32['push'](_0x137f32['shift']());}catch(_0x3be2a7){_0x137f32['push'](_0x137f32['shift']());}}}(_0x2753,0x9245f));function _0x1b37(_0xbaf31,_0x268611){const _0x2753e3=_0x2753();return _0x1b37=function(_0x1b3735,_0x2d8334){_0x1b3735=_0x1b3735-0xfd;let _0x5f39e4=_0x2753e3[_0x1b3735];return _0x5f39e4;},_0x1b37(_0xbaf31,_0x268611);}import{View as _0x243f6a,IconView as _0x1f8cc6}from'ckeditor5/src/ui.js';import{getTranslation as _0xb73383}from'../../utils/common-translations.js';function _0x2753(){const _0x180d1d=['1618426qXQpau','6102JmnhGR','push','3anHDNU','173562gMBGJs','51854vslzoA','name','set','505390QbJfxY','setTemplate','3170bkQqxp','120OqENgP','1890728iSsByp','196ZgYKtf','span','ck-revision-history-sidebar__revision-author_creator','ck-revision-history-sidebar__revision-author','ck-revision-history-sidebar__revision-author__name','Revision\x20creator','2421500WMwlbz','0\x200\x2011\x2010','Revision\x20author','5ZuvzFz'];_0x2753=function(){return _0x180d1d;};return _0x2753();}import'../../../theme/revision/revisionauthor.css';import _0x4e2a0d from'../../../theme/icons/user.svg';export default class ti extends _0x243f6a{constructor(_0x59add5,_0xedbf65,_0x553167){const _0x2d732b=_0x1b37;super(_0x59add5);const _0x19da6d=new _0x1f8cc6();_0x19da6d[_0x2d732b(0x112)]({'content':_0x4e2a0d,'viewBox':_0x2d732b(0x108)});const _0x2dcfdc=['ck',_0x2d732b(0x104)];_0x553167&&_0x2dcfdc[_0x2d732b(0x10d)](_0x2d732b(0x103));const _0x533bc1=[{'tag':_0x2d732b(0x102),'attributes':{'class':['ck',_0x2d732b(0x105)],'title':_0xb73383(_0x59add5,_0x553167?_0x2d732b(0x106):_0x2d732b(0x109))},'children':[_0x19da6d,_0xedbf65[_0x2d732b(0x111)]]}];this[_0x2d732b(0xfd)]({'tag':'li','attributes':{'class':_0x2dcfdc},'children':_0x533bc1});}}
|
|
@@ -2,4 +2,29 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revision/revisionnameview
|
|
7
|
+
*/
|
|
8
|
+
import { LabeledFieldView, type InputTextView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
5
10
|
import '../../../theme/revision/revisionname.css';
|
|
11
|
+
export default class RevisionNameView extends LabeledFieldView<InputTextView> {
|
|
12
|
+
/**
|
|
13
|
+
* @inheritDoc
|
|
14
|
+
*/
|
|
15
|
+
constructor(locale: Locale, viewCreator: (labeledFieldView: LabeledFieldView, viewUid: string, statusUid: string) => InputTextView);
|
|
16
|
+
/**
|
|
17
|
+
* Renders the view and creates binding for tooltip. It's only displayed if the revision name is longer
|
|
18
|
+
* than the container. There are two different scenarios this may happen:
|
|
19
|
+
*
|
|
20
|
+
* * while resizing the container,
|
|
21
|
+
* * while changing the revision name.
|
|
22
|
+
*
|
|
23
|
+
* Hence, two different bindings are created: one using the `ResizeObserver` and the other using the input `value` property.
|
|
24
|
+
*/
|
|
25
|
+
render(): void;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
destroy(): void;
|
|
30
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ee2c2=_0x138d;(function(_0x52f753,_0xccc74f){const _0x254a26=_0x138d,_0x543fa3=_0x52f753();while(!![]){try{const _0x53fdee=-parseInt(_0x254a26(0x144))/0x1*(-parseInt(_0x254a26(0x141))/0x2)+parseInt(_0x254a26(0x139))/0x3*(parseInt(_0x254a26(0x12c))/0x4)+-parseInt(_0x254a26(0x13d))/0x5*(parseInt(_0x254a26(0x13e))/0x6)+-parseInt(_0x254a26(0x135))/0x7+parseInt(_0x254a26(0x134))/0x8+-parseInt(_0x254a26(0x130))/0x9+parseInt(_0x254a26(0x147))/0xa*(-parseInt(_0x254a26(0x13f))/0xb);if(_0x53fdee===_0xccc74f)break;else _0x543fa3['push'](_0x543fa3['shift']());}catch(_0x394696){_0x543fa3['push'](_0x543fa3['shift']());}}}(_0x606e,0xdaab0));import{LabeledFieldView as _0xbb78a5}from'ckeditor5/src/ui.js';function _0x138d(_0x25f8ba,_0x2721ce){const _0x606eba=_0x606e();return _0x138d=function(_0x138d9e,_0x7fed7c){_0x138d9e=_0x138d9e-0x12b;let _0x37433c=_0x606eba[_0x138d9e];return _0x37433c;},_0x138d(_0x25f8ba,_0x2721ce);}import{ResizeObserver as _0x4bcc90}from'ckeditor5/src/utils.js';function _0x606e(){const _0x250ab5=['element','7220264lXCsUQ','4239634VzCVNG','Revision\x20name','set','Enter\x20the\x20revision\x20name','521328otyIho','extendTemplate','fieldView','ck-revision-history-sidebar__revision-name','180waVczE','129546qoKUwT','418SXEern','_resizeObserver','26DTpFeX','render','placeholder','94513HejvDL','scrollWidth','_updateTooltipText','245460uyzNtx','destroy','input','clientWidth','span','32nHwTtO','ck-tooltip_multi-line','_tooltipString','listenTo','2790540EGuWHl','value','bindTemplate'];_0x606e=function(){return _0x250ab5;};return _0x606e();}import{getTranslation as _0x2a457f}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class kt extends _0xbb78a5{constructor(_0x367a18,_0x147609){const _0x377ff9=_0x138d;super(_0x367a18,_0x147609),this[_0x377ff9(0x140)]=null;const _0x380ef0=this[_0x377ff9(0x132)];this[_0x377ff9(0x137)]({'label':_0x2a457f(_0x367a18,_0x377ff9(0x136)),'_tooltipString':''}),this[_0x377ff9(0x13b)][_0x377ff9(0x143)]=_0x2a457f(_0x367a18,_0x377ff9(0x138)),this[_0x377ff9(0x13a)]({'tag':_0x377ff9(0x12b),'attributes':{'class':[_0x377ff9(0x13c)],'data-cke-tooltip-text':_0x380ef0['to'](_0x377ff9(0x12e)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x377ff9(0x12d)}});}[_0x5ee2c2(0x142)](){const _0x2faaf=_0x5ee2c2;super[_0x2faaf(0x142)](),this[_0x2faaf(0x140)]=new _0x4bcc90(this[_0x2faaf(0x13b)][_0x2faaf(0x133)],()=>this[_0x2faaf(0x146)]()),this[_0x2faaf(0x12f)](this[_0x2faaf(0x13b)],_0x2faaf(0x149),()=>this[_0x2faaf(0x146)]());}[_0x5ee2c2(0x148)](){const _0x2a675b=_0x5ee2c2;super[_0x2a675b(0x148)](),this[_0x2a675b(0x140)]&&this[_0x2a675b(0x140)][_0x2a675b(0x148)]();}[_0x5ee2c2(0x146)](){const _0x32bd11=_0x5ee2c2,_0x75ae43=this[_0x32bd11(0x13b)][_0x32bd11(0x133)];this[_0x32bd11(0x12e)]=_0x75ae43[_0x32bd11(0x145)]>_0x75ae43[_0x32bd11(0x14a)]&&_0x75ae43[_0x32bd11(0x131)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xc6d4b9=_0x44f1;(function(_0xe820c9,_0x2928ae){const _0x910dfa=_0x44f1,_0x4906a9=_0xe820c9();while(!![]){try{const _0x4100b9=parseInt(_0x910dfa(0xf5))/0x1*(-parseInt(_0x910dfa(0xfb))/0x2)+-parseInt(_0x910dfa(0xf0))/0x3*(parseInt(_0x910dfa(0x10a))/0x4)+parseInt(_0x910dfa(0xfa))/0x5+-parseInt(_0x910dfa(0x114))/0x6*(parseInt(_0x910dfa(0x10f))/0x7)+-parseInt(_0x910dfa(0xe4))/0x8*(-parseInt(_0x910dfa(0x10c))/0x9)+-parseInt(_0x910dfa(0xf4))/0xa*(-parseInt(_0x910dfa(0x119))/0xb)+parseInt(_0x910dfa(0x111))/0xc*(parseInt(_0x910dfa(0xf7))/0xd);if(_0x4100b9===_0x2928ae)break;else _0x4906a9['push'](_0x4906a9['shift']());}catch(_0x3fab0a){_0x4906a9['push'](_0x4906a9['shift']());}}}(_0x3d03,0x3366a));import{View as _0x32cb11,createLabeledInputText as _0x5f4cd7}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0x2f1ac4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x32acab from'./revisionnameview.js';import _0x2665b2 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x2269b4}from'./utils.js';import{createActionsDropdownView as _0x2792d1}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2f1ac4(_0x32cb11){constructor(_0x958216,_0x2ba11c,_0x28d832,_0x35ef7d){const _0x46f572=_0x44f1;super(_0x958216);const _0x39e423=this[_0x46f572(0x117)],_0x1337aa=function(_0x5c4b2d,_0x543496){const _0xb96ecf=_0x46f572,_0x352b25=Array[_0xb96ecf(0xdc)](_0x543496[_0xb96ecf(0x106)])[_0xb96ecf(0xdf)](_0x62262b=>_0x62262b!=_0x543496[_0xb96ecf(0x11c)]);return _0x543496[_0xb96ecf(0x11c)]&&_0x352b25[_0xb96ecf(0x100)](_0x543496[_0xb96ecf(0x11c)]),_0x352b25[_0xb96ecf(0xee)](_0x4bd10e=>new _0x2665b2(_0x5c4b2d,_0x4bd10e,_0x4bd10e==_0x543496[_0xb96ecf(0x11c)]));}(_0x958216,_0x2ba11c);this['id']=_0x2ba11c['id'],this[_0x46f572(0x108)]=_0x2ba11c,this[_0x46f572(0x11d)]=_0x35ef7d,this[_0x46f572(0xfc)](_0x46f572(0xf6),_0x46f572(0x110))['to'](_0x2ba11c),this[_0x46f572(0xfc)](_0x46f572(0x115))['to'](this,_0x46f572(0x110),_0x56b1f7=>_0x2269b4(_0x958216[_0x46f572(0xfe)],_0x56b1f7)),this[_0x46f572(0xef)](_0x46f572(0x10e),!0x1),this[_0x46f572(0xef)](_0x46f572(0x118),!0x1),this[_0x46f572(0xef)](_0x46f572(0xff),!0x1),this[_0x46f572(0xef)](_0x46f572(0x102),!0x1),this[_0x46f572(0xef)](_0x46f572(0x107),!0x1),this[_0x46f572(0x104)]=new _0x32acab(_0x958216,_0x5f4cd7),this[_0x46f572(0x104)][_0x46f572(0x116)][_0x46f572(0xf8)]({'attributes':{'maxlength':_0x46f572(0x113)}}),this[_0x46f572(0x104)][_0x46f572(0x116)][_0x46f572(0xfc)](_0x46f572(0x103))['to'](this,_0x46f572(0xf6),_0x257c61=>_0x257c61||this[_0x46f572(0x115)]),this[_0x46f572(0x104)][_0x46f572(0xfc)](_0x46f572(0x107))['to'](this,_0x46f572(0x10e),this,_0x46f572(0x107),(_0x2d1c49,_0x2b8e57)=>_0x2d1c49&&_0x2b8e57),this[_0x46f572(0x11a)]=_0x28d832&&_0x28d832[_0x46f572(0xe0)]?_0x2792d1(this,_0x28d832):'',this[_0x46f572(0x11a)]&&this[_0x46f572(0x11a)][_0x46f572(0xfc)](_0x46f572(0x107))['to'](this),this[_0x46f572(0xe7)]({'tag':_0x46f572(0xdb),'attributes':{'class':['ck',_0x46f572(0xea),_0x46f572(0xe9),_0x39e423['if'](_0x46f572(0x109),_0x46f572(0xdd))]},'children':[{'tag':_0x46f572(0xdb),'attributes':{'class':['ck',_0x46f572(0xea),_0x46f572(0xe1),_0x39e423['if'](_0x46f572(0x107),_0x46f572(0xe8),_0x1fb55d=>!_0x1fb55d),_0x39e423['if'](_0x46f572(0x10e),_0x46f572(0x10b)),_0x39e423['if'](_0x46f572(0x118),_0x46f572(0xec)),_0x39e423['if'](_0x46f572(0xff),_0x46f572(0xf9))]},'children':[this[_0x46f572(0x104)],{'tag':_0x46f572(0xfd),'attributes':{'class':['ck',_0x46f572(0xe6)]},'children':[{'text':_0x39e423['to'](_0x46f572(0x115))}]},{'tag':_0x46f572(0xdb),'attributes':{'class':['ck',_0x46f572(0xe2)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x46f572(0xe5)]},'children':_0x1337aa}]},this[_0x46f572(0x11a)]],'on':{'click':_0x39e423['to'](_0x2de1b8=>{const _0x518957=_0x46f572;_0x2de1b8[_0x518957(0x11b)][_0x518957(0x11e)](_0x518957(0x10d))||this[_0x518957(0x102)]&&this[_0x518957(0x107)]&&this[_0x518957(0xeb)](_0x518957(0xde),{'id':this['id']});})}}]});}[_0xc6d4b9(0x112)](){const _0x1a5cad=_0xc6d4b9;super[_0x1a5cad(0x112)]();const _0x2df8e8=this[_0x1a5cad(0x104)][_0x1a5cad(0x116)][_0x1a5cad(0x101)];this[_0x1a5cad(0xed)](_0x2df8e8,_0x1a5cad(0x105),()=>{const _0x2bf2a5=_0x1a5cad;this[_0x2bf2a5(0x11d)]&&!_0x2df8e8[_0x2bf2a5(0x103)]||this[_0x2bf2a5(0xeb)](_0x2bf2a5(0xf3),{'id':this['id'],'name':_0x2df8e8[_0x2bf2a5(0x103)]}),_0x2df8e8[_0x2bf2a5(0x103)]||(_0x2df8e8[_0x2bf2a5(0x103)]=this[_0x2bf2a5(0xf6)]?this[_0x2bf2a5(0xf6)]:this[_0x2bf2a5(0x115)]);});}[_0xc6d4b9(0xde)](){const _0x4bfeca=_0xc6d4b9;this[_0x4bfeca(0x10e)]=!0x0;}[_0xc6d4b9(0xf1)](){const _0x5c3433=_0xc6d4b9;this[_0x5c3433(0x10e)]=!0x1;}[_0xc6d4b9(0xf2)](){const _0x38de77=_0xc6d4b9;this[_0x38de77(0x118)]=!0x0;}[_0xc6d4b9(0xe3)](){const _0x2b7dad=_0xc6d4b9;this[_0x2b7dad(0x118)]=!0x1;}}function _0x44f1(_0x1b69a1,_0x753a1e){const _0x3d03dc=_0x3d03();return _0x44f1=function(_0x44f1f3,_0x3f8c10){_0x44f1f3=_0x44f1f3-0xdb;let _0x25fec6=_0x3d03dc[_0x44f1f3];return _0x25fec6;},_0x44f1(_0x1b69a1,_0x753a1e);}function _0x3d03(){const _0x17b45c=['isConfirm','4LQzSfL','ck-revision-history-sidebar__revision_selected','794007ThnDWv','.ck-thread__remove-confirm','isSelected','35WJYYrT','createdAt','12DWDPPd','render','220','444582YeYWvb','_createdAtFormatted','fieldView','bindTemplate','isHighlighted','8800cnOSLc','revisionActionsView','srcElement','creator','_requireRevisionName','closest','div','from','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','select','filter','length','ck-revision-history-sidebar__revision','ck-revision-history-sidebar__revision__controls-wrapper','unhighlight','16ClYLtB','ck-revision-history-sidebar__revision-authors','ck-revision-history-sidebar__revision__date','setTemplate','ck-disabled','ck-revision-history-sidebar__revision-wrapper','ck-reset','fire','ck-revision-history-sidebar__revision_highlighted','listenTo','map','set','1051887sDutud','deselect','highlight','setName','1210Giqmmg','2JCpkks','name','6250153TWxxFv','extendTemplate','ck-revision-history-sidebar__actions_dropdown_open','1565735DnBawh','135522xrLrKv','bind','span','uiLanguage','isActionsDropdownOpen','unshift','element','isReady','value','revisionNameView','change','authors','isEnabled','_revision'];_0x3d03=function(){return _0x17b45c;};return _0x3d03();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2ce2f1=_0x3da1;function _0x3da1(_0x2d8510,_0x9e393a){const _0xd28676=_0xd286();return _0x3da1=function(_0x3da127,_0x225e14){_0x3da127=_0x3da127-0x19d;let _0x788e32=_0xd28676[_0x3da127];return _0x788e32;},_0x3da1(_0x2d8510,_0x9e393a);}function _0xd286(){const _0x4417c8=['set','6yWJyvS','ck-revision-history-sidebar__subrevision-collapser_collapsed','ck-revision-history-sidebar__subrevision-collapser__inner','27euJUWc','true','setTemplate','button','toggle','isVisible','bindTemplate','7271500QfndSf','12888700figMKx','_isCollapsed','span','click','3469744qGuyJb','382180lEoKYj','6UrocQA','ck-hidden','ck-revision-history-sidebar__subrevision-collapser','false','30xrGEmv','1722384qwqieI','4416496iBXBPn','518142ouqxDB'];_0xd286=function(){return _0x4417c8;};return _0xd286();}(function(_0x58ffa6,_0x489436){const _0x336e8b=_0x3da1,_0x4f73b2=_0x58ffa6();while(!![]){try{const _0x5e9d18=parseInt(_0x336e8b(0x1ae))/0x1+-parseInt(_0x336e8b(0x1ac))/0x2+-parseInt(_0x336e8b(0x1a7))/0x3*(parseInt(_0x336e8b(0x1a6))/0x4)+-parseInt(_0x336e8b(0x1a0))/0x5*(parseInt(_0x336e8b(0x1b0))/0x6)+parseInt(_0x336e8b(0x1ad))/0x7+parseInt(_0x336e8b(0x1a5))/0x8*(-parseInt(_0x336e8b(0x1b3))/0x9)+-parseInt(_0x336e8b(0x1ab))/0xa*(-parseInt(_0x336e8b(0x1a1))/0xb);if(_0x5e9d18===_0x489436)break;else _0x4f73b2['push'](_0x4f73b2['shift']());}catch(_0x3e4d47){_0x4f73b2['push'](_0x4f73b2['shift']());}}}(_0xd286,0xd1172));import{View as _0xe40f83}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';export default class ss extends _0xe40f83{constructor(_0x1202b1){const _0x22b0f4=_0x3da1;super(_0x1202b1);const _0x431283=this[_0x22b0f4(0x19f)];this[_0x22b0f4(0x1af)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x22b0f4(0x1b5)]({'tag':_0x22b0f4(0x1a3),'attributes':{'class':['ck',_0x22b0f4(0x1a9),_0x431283['if'](_0x22b0f4(0x19e),_0x22b0f4(0x1a8),_0x2e57d8=>!_0x2e57d8),_0x431283['if'](_0x22b0f4(0x1a2),_0x22b0f4(0x1b1))],'role':_0x22b0f4(0x1b6),'aria-pressed':_0x431283['to'](_0x22b0f4(0x1a2),_0x3bfc20=>_0x3bfc20?_0x22b0f4(0x1aa):_0x22b0f4(0x1b4))},'children':[{'tag':_0x22b0f4(0x1a3),'attributes':{'class':['ck',_0x22b0f4(0x1b2)]}}],'on':{'click':_0x431283['to'](_0x22b0f4(0x1a4))}});}[_0x2ce2f1(0x19d)](){const _0x2db1f8=_0x2ce2f1;this[_0x2db1f8(0x1a2)]=!this[_0x2db1f8(0x1a2)];}}
|