@ckeditor/ckeditor5-revision-history 44.2.0-alpha.14 → 44.2.0-alpha.16
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/ast.js +1 -1
- package/dist/translations/ast.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.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.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/nb.js +1 -1
- package/dist/translations/nb.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisionviewer.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x43145c=_0x59ee;(function(_0x5ef709,_0x26ec2b){const _0x43cff8=_0x59ee,_0x43e1fc=_0x5ef709();while(!![]){try{const _0x57bf3f=parseInt(_0x43cff8(0x280))/0x1*(parseInt(_0x43cff8(0x208))/0x2)+parseInt(_0x43cff8(0x21c))/0x3+-parseInt(_0x43cff8(0x21f))/0x4*(parseInt(_0x43cff8(0x194))/0x5)+parseInt(_0x43cff8(0x211))/0x6*(parseInt(_0x43cff8(0x214))/0x7)+parseInt(_0x43cff8(0x1f8))/0x8*(parseInt(_0x43cff8(0x179))/0x9)+parseInt(_0x43cff8(0x2b6))/0xa*(parseInt(_0x43cff8(0x200))/0xb)+-parseInt(_0x43cff8(0x289))/0xc*(parseInt(_0x43cff8(0x2b9))/0xd);if(_0x57bf3f===_0x26ec2b)break;else _0x43e1fc['push'](_0x43e1fc['shift']());}catch(_0x976bd4){_0x43e1fc['push'](_0x43e1fc['shift']());}}}(_0x5632,0x6d0e2));import{Plugin as _0x473ebf,Command as _0x2de69f}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1d6db8}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x4d93c3}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x12bcfd,Element as _0xb30628,Text as _0x5400b6,ViewDocumentFragment as _0x4515be,ViewText as _0x5e7fe1,ViewElement as _0x3ea8b9,ViewContainerElement as _0xceaa96,ViewAttributeElement as _0x444aa5,ViewEmptyElement as _0x25cdda,ViewRawElement as _0x3c7fe8,ViewUIElement as _0x1233af}from'ckeditor5/src/engine.js';import{Users as _0x8a5ea7,getMarkerDomElement as _0x330173}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4a125b from'./ui/revisionviewer/changedetailsview.js';import _0x28de57 from'./revisionsrepository.js';import _0x4db671 from'./changeitem.js';import{default as _0x234f10}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0xb99df5}from'lodash-es';function _0x59ee(_0x87c3eb,_0x59e159){const _0x563246=_0x5632();return _0x59ee=function(_0x59eeb6,_0x2dfc3e){_0x59eeb6=_0x59eeb6-0x16c;let _0x330bf6=_0x563246[_0x59eeb6];return _0x330bf6;},_0x59ee(_0x87c3eb,_0x59e159);}const Y={'c':_0xceaa96,'a':_0x444aa5,'e':_0x25cdda,'r':_0x3c7fe8,'u':_0x1233af};export default class d extends _0x473ebf{static get[_0x43145c(0x19a)](){const _0x385f34=_0x43145c;return _0x385f34(0x219);}static get[_0x43145c(0x26f)](){return!0x0;}static get[_0x43145c(0x1f7)](){return!0x0;}static get[_0x43145c(0x1c8)](){return[_0x8a5ea7,_0x4d93c3,_0x28de57];}constructor(_0x485ae0){const _0x97f545=_0x43145c;super(_0x485ae0),this[_0x97f545(0x189)]=this[_0x97f545(0x1f5)][_0x97f545(0x22f)][_0x97f545(0x253)](_0x97f545(0x26e)),this[_0x97f545(0x171)](_0x97f545(0x246),null),this[_0x97f545(0x171)](_0x97f545(0x1da),null),this[_0x97f545(0x1ce)]=null,this[_0x97f545(0x171)](_0x97f545(0x1c1),null),this[_0x97f545(0x171)](_0x97f545(0x238),!0x1),this[_0x97f545(0x171)](_0x97f545(0x18a),!0x0),this['on'](_0x97f545(0x18e),(_0x39270f,_0xfe0738,_0xfa990a)=>{const _0x4e176f=_0x97f545;this[_0x4e176f(0x246)]=null,this[_0x4e176f(0x1da)]=null,this[_0x4e176f(0x1f5)][_0x4e176f(0x205)][_0x4e176f(0x29e)][_0x4e176f(0x25a)](_0x39b22a=>{const _0x2f6627=_0x4e176f;for(const _0x43e31d of this[_0x2f6627(0x1f5)][_0x2f6627(0x205)][_0x2f6627(0x29e)][_0x2f6627(0x1ed)][_0x2f6627(0x1f4)])_0xfa990a?_0x39b22a[_0x2f6627(0x24c)](_0x2f6627(0x1eb),_0x43e31d):_0x39b22a[_0x2f6627(0x282)](_0x2f6627(0x1eb),_0x43e31d);});}),this[_0x97f545(0x2bf)](_0x97f545(0x26b))['to'](this,_0x97f545(0x246),_0x1ba9f8=>null!==_0x1ba9f8),this[_0x97f545(0x2bf)](_0x97f545(0x2b4))['to'](this,_0x97f545(0x238),this,_0x97f545(0x1c1),this,_0x97f545(0x246),(_0x220083,_0xb22e26,_0x130e2c)=>_0x220083&&_0x130e2c?_0xb22e26[_0x97f545(0x181)][_0x97f545(0x212)](_0x130e2c):0x0),this[_0x97f545(0x2bf)](_0x97f545(0x1d5))['to'](this,_0x97f545(0x238),this,_0x97f545(0x1c1),(_0x5965d9,_0xa830f8)=>_0x5965d9?_0xa830f8[_0x97f545(0x181)][_0x97f545(0x209)]:0x0),this[_0x97f545(0x1f3)]=null,this[_0x97f545(0x215)]=new Map(),this[_0x97f545(0x220)]=null,this[_0x97f545(0x274)]=this[_0x97f545(0x1f5)][_0x97f545(0x22f)][_0x97f545(0x253)](_0x4d93c3);}[_0x43145c(0x28e)](){const _0x487044=_0x43145c,_0x120d9a=this[_0x487044(0x1f5)],_0x17ba55=new ShowChangeCommand(_0x120d9a,{'direction':_0x487044(0x227)}),_0x59e30f=new ShowChangeCommand(_0x120d9a,{'direction':_0x487044(0x188)});(_0x120d9a[_0x487044(0x196)][_0x487044(0x187)](_0x487044(0x1e1),_0x17ba55),_0x120d9a[_0x487044(0x196)][_0x487044(0x187)](_0x487044(0x295),_0x59e30f),_0x120d9a[_0x487044(0x196)][_0x487044(0x187)](_0x487044(0x1b5),new RestoreRevisionCommand(_0x120d9a)),this['on'](_0x487044(0x21b),()=>{const _0x4bb52c=_0x487044;_0x17ba55[_0x4bb52c(0x235)](),_0x59e30f[_0x4bb52c(0x235)]();}),this[_0x487044(0x1dc)](),this[_0x487044(0x1c0)](),_0x120d9a[_0x487044(0x249)](_0x487044(0x225)),_0x120d9a[_0x487044(0x22f)][_0x487044(0x28a)](_0x487044(0x185)))&&_0x120d9a[_0x487044(0x22f)][_0x487044(0x253)](_0x487044(0x185))[_0x487044(0x190)](_0x487044(0x225));}async[_0x43145c(0x1e8)](_0x221317){const _0x102210=_0x43145c;await this[_0x102210(0x1d9)](_0x221317);const _0x3fb747={};for(const _0x2b7ab3 in _0x221317[_0x102210(0x1b7)]){if(_0x221317[_0x102210(0x1b7)][_0x2b7ab3][_0x102210(0x178)]&&!_0x221317[_0x102210(0x1b7)][_0x2b7ab3][_0x102210(0x178)][_0x102210(0x248)])continue;const _0x69b813=this[_0x102210(0x186)](JSON[_0x102210(0x23f)](_0x221317[_0x102210(0x1b7)][_0x2b7ab3][_0x102210(0x1ad)])),_0x5250fd=this[_0x102210(0x1f5)][_0x102210(0x205)][_0x102210(0x29e)][_0x102210(0x1ed)],_0x375d74=new _0x4515be(_0x5250fd,_0x69b813[_0x102210(0x184)](_0x4303b0=>this[_0x102210(0x257)](_0x4303b0)));this[_0x102210(0x1f5)][_0x102210(0x1c6)][_0x102210(0x1ee)][_0x102210(0x29a)](_0x102210(0x28b)),_0x3fb747[_0x2b7ab3]=this[_0x102210(0x1f5)][_0x102210(0x1c6)][_0x102210(0x1ee)][_0x102210(0x268)](_0x375d74),this[_0x102210(0x1f5)][_0x102210(0x1c6)][_0x102210(0x1ee)][_0x102210(0x29a)](_0x102210(0x283));}return _0x3fb747;}async[_0x43145c(0x20e)](_0x13ad77){const _0x182075=_0x43145c;await this[_0x182075(0x1d9)](_0x13ad77);const _0x370d41={};for(const _0x29cb6d in _0x13ad77[_0x182075(0x1b7)])_0x13ad77[_0x182075(0x1b7)][_0x29cb6d][_0x182075(0x178)]&&!_0x13ad77[_0x182075(0x1b7)][_0x29cb6d][_0x182075(0x178)][_0x182075(0x248)]||(_0x370d41[_0x29cb6d]=_0x13ad77[_0x182075(0x1b7)][_0x29cb6d][_0x182075(0x1c5)]||{});return _0x370d41;}[_0x43145c(0x186)](_0x50099b){const _0x5bcbb9=_0x43145c;return(_0x50099b=_0x50099b[_0x5bcbb9(0x1a8)](_0x36ca8c=>!_0x36ca8c[_0x5bcbb9(0x1a9)]||_0x5bcbb9(0x2a9)!==_0x36ca8c[_0x5bcbb9(0x1a9)]&&_0x5bcbb9(0x1d2)!==_0x36ca8c[_0x5bcbb9(0x1a9)]))[_0x5bcbb9(0x259)](_0x2825bd=>{const _0x15f97=_0x5bcbb9;_0x15f97(0x260)!=typeof _0x2825bd&&(_0x2825bd[_0x15f97(0x16f)]=this[_0x15f97(0x186)](_0x2825bd[_0x15f97(0x16f)]),_0x2825bd[_0x15f97(0x182)]=_0x2825bd[_0x15f97(0x182)][_0x15f97(0x1a8)](_0x131a39=>!_0x131a39[0x0][_0x15f97(0x17d)](_0x15f97(0x2a8))));}),_0x50099b;}async[_0x43145c(0x1fd)](_0x531ba4,_0x547b3f,_0x2fc8b6=!0x1){const _0x472081=_0x43145c;if(!this[_0x472081(0x18a)])return;const _0x1d1da5=this[_0x472081(0x1c1)],_0x1b5027=this[_0x472081(0x189)],_0x34df64=_0x472081(0x260)==typeof _0x531ba4?_0x1b5027[_0x472081(0x1fe)](_0x531ba4):_0x531ba4,_0x2353a3=_0x472081(0x260)==typeof _0x547b3f?_0x1b5027[_0x472081(0x1fe)](_0x547b3f):_0x547b3f,_0x511ec4=_0x34df64['id'],_0x3791fa=_0x2353a3?_0x2353a3['id']:null;if(!_0x2fc8b6&&this[_0x472081(0x1c1)]&&this[_0x472081(0x1c1)][_0x472081(0x284)]===_0x511ec4&&this[_0x472081(0x1c1)][_0x472081(0x176)]===_0x3791fa)return Promise[_0x472081(0x237)]();this[_0x472081(0x238)]=!0x1,this[_0x472081(0x1da)]=null,this[_0x472081(0x246)]=null,this[_0x472081(0x1c1)]=new _0x234f10(_0x511ec4,_0x3791fa);const _0x28a8=this[_0x472081(0x2a2)](_0x34df64,_0x2353a3,!0x0)[_0x472081(0x184)](_0x10dd1f=>this[_0x472081(0x1d9)](_0x10dd1f));return _0x28a8[_0x472081(0x276)](new Promise(_0x10cd13=>{setTimeout(_0x10cd13,0x14);})),Promise[_0x472081(0x17b)](_0x28a8)[_0x472081(0x1a0)](()=>{const _0x5ba2e9=_0x472081;if(!this[_0x5ba2e9(0x18a)])return;this[_0x5ba2e9(0x198)]();const _0x6a2d10=this[_0x5ba2e9(0x1f2)](_0x511ec4,_0x3791fa);for(const _0x332139 of _0x6a2d10[_0x5ba2e9(0x181)])this[_0x5ba2e9(0x215)][_0x5ba2e9(0x171)](_0x332139['id'],_0x332139);this[_0x5ba2e9(0x1f5)][_0x5ba2e9(0x1a2)][_0x5ba2e9(0x222)]({'isUndoable':!0x1},_0xed849b=>{const _0x2f17b3=_0x5ba2e9;for(const _0x437f6f of this[_0x2f17b3(0x1f5)][_0x2f17b3(0x1a2)][_0x2f17b3(0x1ed)][_0x2f17b3(0x20d)]())_0xed849b[_0x2f17b3(0x1e2)](_0x437f6f);for(const _0x35cb3d of Object[_0x2f17b3(0x298)](_0x6a2d10[_0x2f17b3(0x1a2)])){const _0x254a1a=_0xed849b[_0x2f17b3(0x232)](_0x35cb3d);for(const _0x535a8f of Object[_0x2f17b3(0x298)](_0x6a2d10[_0x2f17b3(0x182)][_0x35cb3d]))_0xed849b[_0x2f17b3(0x174)](_0x535a8f,_0x6a2d10[_0x2f17b3(0x182)][_0x35cb3d][_0x535a8f],_0x254a1a);_0xed849b[_0x2f17b3(0x203)](_0x6a2d10[_0x2f17b3(0x1a2)][_0x35cb3d],_0x254a1a,0x0);}}),this[_0x5ba2e9(0x1c1)][_0x5ba2e9(0x1d1)](this[_0x5ba2e9(0x24a)](_0x6a2d10[_0x5ba2e9(0x181)])),this[_0x5ba2e9(0x238)]=!0x0;})[_0x472081(0x1bb)](_0x1378da=>{const _0x2e27b2=_0x472081;console[_0x2e27b2(0x23b)](_0x1378da),this[_0x2e27b2(0x198)](),_0x1d1da5&&(this[_0x2e27b2(0x1c1)]=_0x1d1da5),this[_0x2e27b2(0x238)]=!0x0;});}[_0x43145c(0x19c)](_0x1b4a6a,_0x28313b){const _0x447755=_0x43145c,_0x2ef9d7=this[_0x447755(0x189)][_0x447755(0x1c4)](_0x1b4a6a);return _0x2ef9d7['on'](_0x447755(0x1b9),(_0x461899,_0x3816b0,_0x3976ad)=>_0x28313b(_0x3816b0,_0x3976ad,_0x2ef9d7)),this[_0x447755(0x189)][_0x447755(0x19d)](_0x2ef9d7),_0x2ef9d7;}[_0x43145c(0x1d9)](_0x49767d){const _0x52234d=_0x43145c;if(!_0x49767d||_0x49767d[_0x52234d(0x1b7)])return Promise[_0x52234d(0x237)]();{const _0x3b32b8=this[_0x52234d(0x1f5)][_0x52234d(0x2a1)][_0x52234d(0x253)](_0x52234d(0x177));return this[_0x52234d(0x220)][_0x52234d(0x1fe)]({'channelId':_0x3b32b8,'revisionId':_0x49767d['id']})[_0x52234d(0x1a0)](_0x1e3e53=>{const _0x3bd82b=_0x52234d;_0x49767d[_0x3bd82b(0x1b9)]({'diffData':_0x1e3e53[_0x3bd82b(0x1b7)]},!0x0);});}}[_0x43145c(0x198)](){const _0x21f297=_0x43145c;this[_0x21f297(0x246)]=null,this[_0x21f297(0x2a3)](),this[_0x21f297(0x1f3)]&&this[_0x21f297(0x1f3)][_0x21f297(0x267)](),this[_0x21f297(0x1f3)]=null,this[_0x21f297(0x215)][_0x21f297(0x25f)](),this[_0x21f297(0x1f5)][_0x21f297(0x1a2)][_0x21f297(0x222)]({'isUndoable':!0x1},_0x4cddd5=>{const _0x3be479=_0x21f297;for(const _0x23fcc6 of this[_0x3be479(0x1f5)][_0x3be479(0x1a2)][_0x3be479(0x1ed)][_0x3be479(0x20d)]())_0x4cddd5[_0x3be479(0x1e2)](_0x23fcc6);});}[_0x43145c(0x24a)](_0x481f0f){const _0x3a5b13=_0x43145c,_0x2a04a3=[],_0x5db65d=new Map();for(const _0x430298 of this[_0x3a5b13(0x1f5)][_0x3a5b13(0x1a2)][_0x3a5b13(0x1ed)][_0x3a5b13(0x20d)]()){const _0x23c17a=this[_0x3a5b13(0x1f5)][_0x3a5b13(0x205)][_0x3a5b13(0x29e)][_0x3a5b13(0x287)](_0x430298);if(!_0x23c17a)continue;const _0x38600e=_0x23c17a[_0x3a5b13(0x226)]()[_0x3a5b13(0x197)](0x0);_0x38600e&&(_0x2a04a3[_0x3a5b13(0x276)](_0x430298),_0x5db65d[_0x3a5b13(0x171)](_0x430298,_0x38600e));}return _0x2a04a3[_0x3a5b13(0x1ae)]((_0x1c5bab,_0x242f75)=>{const _0x17431b=_0x3a5b13,_0x15cf52=_0x5db65d[_0x17431b(0x253)](_0x1c5bab),_0x1f56e1=_0x5db65d[_0x17431b(0x253)](_0x242f75);return _0x15cf52['y']-_0x1f56e1['y']||_0x15cf52['x']-_0x1f56e1['x'];}),(_0x481f0f=_0x481f0f[_0x3a5b13(0x1a8)](_0x372946=>_0x2a04a3[_0x3a5b13(0x175)](_0x372946[_0x3a5b13(0x229)])))[_0x3a5b13(0x1ae)]((_0x42db56,_0x437d68)=>_0x2a04a3[_0x3a5b13(0x199)](_0x42db56[_0x3a5b13(0x229)])-_0x2a04a3[_0x3a5b13(0x199)](_0x437d68[_0x3a5b13(0x229)])),_0x481f0f;}[_0x43145c(0x2a5)](_0x361f64){const _0x4bd846=_0x43145c,_0x12d5c1=Array[_0x4bd846(0x1c7)](_0x361f64[_0x4bd846(0x17f)])[_0x4bd846(0x1a8)](([_0x1d4ef1,_0xde3725])=>_0x1d4ef1[_0x4bd846(0x17d)](_0x4bd846(0x221))&&!_0xde3725[_0x4bd846(0x23e)]),_0x2caa95=Array[_0x4bd846(0x1c7)](this[_0x4bd846(0x1f5)][_0x4bd846(0x1a2)][_0x4bd846(0x2ad)](_0x361f64)[_0x4bd846(0x28f)]({'singleCharacters':!0x0}));if(0x0!=_0x12d5c1[_0x4bd846(0x209)])for(const _0x4706ff of _0x2caa95){const [_0x549eda,_0x5b33ea]=_0x12d5c1[0x0],[,_0x46d268,_0x2d7b3d]=_0x549eda[_0x4bd846(0x16e)](':');if(_0x5b33ea[_0x4bd846(0x1c2)][_0x4bd846(0x1b8)](_0x4706ff[_0x4bd846(0x1d0)])&&_0x12d5c1[_0x4bd846(0x29b)](),(_0x4706ff[_0x4bd846(0x2b0)][_0x4bd846(0x1b8)](_0x5b33ea[_0x4bd846(0x294)])||_0x4706ff[_0x4bd846(0x2b0)][_0x4bd846(0x17a)](_0x5b33ea[_0x4bd846(0x294)]))&&(_0x4bd846(0x275)==_0x46d268?_0x4706ff[_0x4bd846(0x16d)]={'userId':_0x2d7b3d}:_0x4bd846(0x269)==_0x46d268&&(_0x4706ff[_0x4bd846(0x217)]={'userId':_0x2d7b3d})),0x0==_0x12d5c1[_0x4bd846(0x209)])break;}return _0x2caa95;}[_0x43145c(0x272)](_0x52e84d){const _0x3fde25=_0x43145c,_0x5c8726=new Map();for(let _0x40f786=0x0;_0x40f786<_0x52e84d[_0x3fde25(0x209)];_0x40f786++)_0x3fde25(0x25b)===_0x52e84d[_0x40f786][_0x3fde25(0x19e)]?(_0x52e84d[_0x40f786][_0x3fde25(0x197)][_0x3fde25(0x24b)]=_0x40f786,_0x52e84d[_0x40f786][_0x3fde25(0x197)][_0x3fde25(0x1cc)]=_0x40f786):(_0x3fde25(0x1cd)===_0x52e84d[_0x40f786][_0x3fde25(0x19e)]?_0x52e84d[_0x40f786][_0x3fde25(0x197)][_0x3fde25(0x24b)]=_0x40f786:_0x3fde25(0x2bd)===_0x52e84d[_0x40f786][_0x3fde25(0x19e)]&&(_0x52e84d[_0x40f786][_0x3fde25(0x197)][_0x3fde25(0x1cc)]=_0x40f786),_0x5c8726[_0x3fde25(0x171)](_0x52e84d[_0x40f786]['id'],_0x40f786));for(const _0x26fe98 of _0x5c8726[_0x3fde25(0x258)]())_0x3fde25(0x1cd)===_0x52e84d[_0x26fe98][_0x3fde25(0x19e)]?_0x52e84d[_0x26fe98][_0x3fde25(0x197)][_0x3fde25(0x1cc)]=_0x5c8726[_0x3fde25(0x253)](_0x52e84d[_0x26fe98][_0x3fde25(0x1a3)]):_0x3fde25(0x2bd)===_0x52e84d[_0x26fe98][_0x3fde25(0x19e)]&&(_0x52e84d[_0x26fe98][_0x3fde25(0x197)][_0x3fde25(0x24b)]=_0x5c8726[_0x3fde25(0x253)](_0x52e84d[_0x26fe98][_0x3fde25(0x1a3)]));}[_0x43145c(0x170)](_0x676859){const _0x6cc7a8=_0x43145c;for(let _0x366b43=0x0;_0x366b43<_0x676859[_0x6cc7a8(0x209)];_0x366b43++){if(_0x6cc7a8(0x1cd)===_0x676859[_0x366b43][_0x6cc7a8(0x19e)])_0x676859[_0x366b43][_0x6cc7a8(0x197)][_0x6cc7a8(0x24b)]=_0x366b43;else{if(_0x6cc7a8(0x2bd)===_0x676859[_0x366b43][_0x6cc7a8(0x19e)]){_0x676859[_0x366b43][_0x6cc7a8(0x197)][_0x6cc7a8(0x1cc)]=_0x366b43;const _0x4f648b=_0x676859[_0x366b43][_0x6cc7a8(0x197)][_0x6cc7a8(0x24b)];_0x676859[_0x4f648b][_0x6cc7a8(0x1a3)]=_0x676859[_0x366b43]['id'],_0x676859[_0x366b43][_0x6cc7a8(0x1a3)]=_0x676859[_0x4f648b]['id'];}else _0x676859[_0x366b43][_0x6cc7a8(0x197)][_0x6cc7a8(0x24b)]=_0x366b43,_0x676859[_0x366b43][_0x6cc7a8(0x197)][_0x6cc7a8(0x1cc)]=_0x366b43,_0x676859[_0x366b43][_0x6cc7a8(0x1a3)]=null;}_0x676859[_0x366b43][_0x6cc7a8(0x1ca)]||(_0x676859[_0x366b43][_0x6cc7a8(0x1ca)]=[],_0x676859[_0x366b43][_0x6cc7a8(0x1ea)]=[]);}}[_0x43145c(0x21a)](_0x1e949a,_0x263a28){const _0x13d2e0=_0x43145c,_0x3981cc=_0x1e949a[_0x13d2e0(0x1a8)](_0x13bb4e=>!_0x13bb4e[_0x13d2e0(0x16d)]);for(let _0x2c4757=0x0;_0x2c4757<_0x263a28[_0x13d2e0(0x209)];_0x2c4757++)_0x263a28[_0x2c4757][_0x13d2e0(0x16d)]&&(_0x3981cc[_0x2c4757][_0x13d2e0(0x16d)]=_0x263a28[_0x2c4757][_0x13d2e0(0x16d)]);}[_0x43145c(0x191)](_0x367a58){const _0x449284=_0x43145c,_0x39f9a9=JSON[_0x449284(0x23f)](_0x367a58),_0x3cfd5c=this[_0x449284(0x1f5)][_0x449284(0x205)][_0x449284(0x29e)][_0x449284(0x1ed)],_0xe9e552=new _0x4515be(_0x3cfd5c,_0x39f9a9[_0x449284(0x184)](_0x36c452=>this[_0x449284(0x257)](_0x36c452)));return this[_0x449284(0x1f5)][_0x449284(0x1c6)][_0x449284(0x1de)](_0xe9e552);}[_0x43145c(0x257)](_0x53dda8){const _0x4700fb=_0x43145c,_0x41f48b=this[_0x4700fb(0x1f5)][_0x4700fb(0x205)][_0x4700fb(0x29e)][_0x4700fb(0x1ed)];if(_0x4700fb(0x260)==typeof _0x53dda8)return new _0x5e7fe1(_0x41f48b,_0x53dda8);{const _0x294df4=_0x53dda8[_0x4700fb(0x16f)][_0x4700fb(0x184)](_0x429f1f=>this[_0x4700fb(0x257)](_0x429f1f));return new(Y[_0x53dda8[(_0x4700fb(0x19e))]]||_0x3ea8b9)(_0x41f48b,_0x53dda8[_0x4700fb(0x1a9)],_0x53dda8[_0x4700fb(0x182)],_0x294df4);}}[_0x43145c(0x1f2)](_0x1586ba,_0xbe508a=null){const _0x168437=_0x43145c,_0x58b772=this[_0x168437(0x189)][_0x168437(0x1fe)](_0x1586ba),_0x74fc28=_0xbe508a?this[_0x168437(0x189)][_0x168437(0x1fe)](_0xbe508a):null,_0x3e51fe=this[_0x168437(0x2a2)](_0x58b772,_0x74fc28),_0x1a67c8=_0x3e51fe[_0x3e51fe[_0x168437(0x209)]-0x1],_0x35d12a=new Map(),_0x53d8ea={'model':{},'attributes':{},'changes':[]},_0x46de0f=new Set(),_0x322271=new Map();for(let _0xfd3516=_0x3e51fe[_0x168437(0x209)]-0x1;_0xfd3516>=0x0;_0xfd3516--){const _0x5cb245=_0x3e51fe[_0xfd3516];for(const _0x563d40 of Object[_0x168437(0x298)](_0x5cb245[_0x168437(0x1b7)]))if(_0x5cb245[_0x168437(0x1b7)][_0x563d40][_0x168437(0x178)]){const _0x5adc77=_0x5cb245[_0x168437(0x1b7)][_0x563d40][_0x168437(0x178)];_0x5adc77[_0x168437(0x248)]?(_0x46de0f[_0x168437(0x187)](_0x563d40),_0x322271[_0x168437(0x28a)](_0x563d40)&&_0x322271[_0x168437(0x253)](_0x563d40)[_0x168437(0x278)]==_0x5adc77[_0x168437(0x278)]?_0x322271[_0x168437(0x1ff)](_0x563d40):_0x322271[_0x168437(0x171)](_0x563d40,_0x5adc77)):_0x322271[_0x168437(0x28a)](_0x563d40)?(_0x46de0f[_0x168437(0x1ff)](_0x563d40),_0x322271[_0x168437(0x1ff)](_0x563d40)):(_0x46de0f[_0x168437(0x187)](_0x563d40),_0x322271[_0x168437(0x171)](_0x563d40,_0x5adc77));}else _0x46de0f[_0x168437(0x187)](_0x563d40);}for(const _0x19bd7d of _0x46de0f){const _0x204cc3=_0x322271[_0x168437(0x28a)](_0x19bd7d)&&!_0x322271[_0x168437(0x253)](_0x19bd7d)[_0x168437(0x248)];let _0x22eff1=_0x204cc3?_0x3e51fe[_0x168437(0x209)]-0x1:0x0;const _0x190db7=_0x204cc3?-0x1:0x1;for(;_0x3e51fe[_0x22eff1];){const _0x31938b=_0x3e51fe[_0x22eff1];if(_0x31938b[_0x168437(0x1b7)][_0x19bd7d]){const _0x19fe74=_0x204cc3?_0x31938b[_0x168437(0x1b7)][_0x19bd7d][_0x168437(0x279)]:_0x31938b[_0x168437(0x1b7)][_0x19bd7d][_0x168437(0x1c5)];_0x53d8ea[_0x168437(0x182)][_0x19bd7d]=_0x19fe74?_0xb99df5(_0x19fe74):{};break;}_0x22eff1+=_0x190db7;}}for(const _0x12ab9e of _0x3e51fe){_0x12ab9e[_0x168437(0x1a2)]={};for(const _0xc4fa00 of _0x12ab9e[_0x168437(0x25d)])_0x35d12a[_0x168437(0x171)](_0xc4fa00['id'],_0xc4fa00);for(const _0x471a3c of _0x46de0f){const _0x26dd57=_0x12ab9e[_0x168437(0x1b7)][_0x471a3c]?_0x12ab9e[_0x168437(0x1b7)][_0x471a3c][_0x168437(0x1ad)]:'[]',_0x3cd2dc=_0x12ab9e[_0x168437(0x1b7)][_0x471a3c]?_0x12ab9e[_0x168437(0x1b7)][_0x471a3c][_0x168437(0x1a7)]:'[]';_0x12ab9e[_0x168437(0x1a2)][_0x471a3c]={'insertions':this[_0x168437(0x191)](_0x26dd57),'deletions':this[_0x168437(0x191)](_0x3cd2dc)};}}for(const _0xf2fd09 of _0x46de0f){let _0x2693d2=null,_0x2230da=0x0;const _0x1ccf07=new Map(Array[_0x168437(0x1c7)](_0x58b772[_0x168437(0x1a2)][_0xf2fd09][_0x168437(0x1ad)][_0x168437(0x17f)])[_0x168437(0x1a8)](([_0x19da58])=>!_0x19da58[_0x168437(0x17d)](_0x168437(0x221))));let _0x269f53=0x0;for(const _0x2d4b89 of _0x3e51fe){const _0x17c8b5=this[_0x168437(0x2a5)](_0x2d4b89[_0x168437(0x1a2)][_0xf2fd09][_0x168437(0x1ad)]);_0x2d4b89==_0x58b772?(_0x2693d2=_0x17c8b5,_0x2230da=_0x2693d2[_0x168437(0x209)],_0x2693d2[_0x168437(0x259)](_0x4cc24a=>{_0x4cc24a['id']=_0x269f53++;}),this[_0x168437(0x170)](_0x2693d2)):this[_0x168437(0x21a)](_0x2693d2,_0x17c8b5);const _0x17938c=_0x2693d2[_0x168437(0x1a8)](_0x1949ed=>!_0x1949ed[_0x168437(0x16d)])[_0x168437(0x184)](_0xaf974e=>_0xaf974e['id']);let _0x4f423e=0x0;const _0x1543f3=this[_0x168437(0x2a5)](_0x2d4b89[_0x168437(0x1a2)][_0xf2fd09][_0x168437(0x1a7)]);_0x1543f3[_0x168437(0x259)](_0x20a893=>{const _0x3abbcb=_0x168437;_0x20a893[_0x3abbcb(0x217)]?_0x20a893['id']=_0x2230da++:_0x20a893['id']=_0x17938c[_0x4f423e++];}),this[_0x168437(0x170)](_0x1543f3),this[_0x168437(0x236)](_0x2693d2,_0x168437(0x16d)),this[_0x168437(0x236)](_0x1543f3,_0x168437(0x217)),_0x2d4b89==_0x58b772&&this[_0x168437(0x22d)](_0x2693d2,_0x1ccf07),_0x2693d2=this[_0x168437(0x254)](_0x2693d2,_0x1543f3),this[_0x168437(0x272)](_0x2693d2),this[_0x168437(0x236)](_0x2693d2,_0x168437(0x217));}_0x2693d2=_0x2693d2[_0x168437(0x1a8)](_0x64a782=>!(_0x64a782[_0x168437(0x16d)]&&_0x64a782[_0x168437(0x217)]));const _0x20cacc=new Map(_0x1a67c8[_0x168437(0x1a2)][_0xf2fd09][_0x168437(0x1a7)][_0x168437(0x17f)]),_0x447f12=new Set(_0x1ccf07[_0x168437(0x298)]());for(const _0x545ade of _0x20cacc[_0x168437(0x298)]())_0x447f12[_0x168437(0x1ff)](_0x545ade);this[_0x168437(0x1bd)](_0x2693d2,_0x447f12),this[_0x168437(0x233)](_0x2693d2),_0x2693d2=this[_0x168437(0x2b2)](_0x2693d2),_0x2693d2=this[_0x168437(0x228)](_0x2693d2),_0x2693d2=this[_0x168437(0x1b0)](_0x2693d2);const {root:_0x2cc843,changes:_0x54f151}=this[_0x168437(0x1a6)](_0x2693d2,_0x35d12a,_0xf2fd09);_0x53d8ea[_0x168437(0x1a2)][_0xf2fd09]=_0x2cc843;const _0x210525=_0x322271[_0x168437(0x253)](_0xf2fd09);if(_0x210525){const _0x53a297=_0x35d12a[_0x168437(0x253)](_0x210525[_0x168437(0x278)]),_0x52e57a=new _0x4db671({'author':_0x53a297,'type':_0x210525[_0x168437(0x248)]?_0x168437(0x187):_0x168437(0x231),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xf2fd09});_0x54f151[_0x168437(0x244)](_0x52e57a),_0x53d8ea[_0x168437(0x182)][_0xf2fd09][_0x168437(0x23a)]=_0x52e57a['id'];}_0x53d8ea[_0x168437(0x181)]=_0x53d8ea[_0x168437(0x181)][_0x168437(0x218)](_0x54f151);}return _0x53d8ea;}[_0x43145c(0x22d)](_0x54af23,_0x51f9b8){const _0x28ecc0=_0x43145c;for(let _0x2b47b0=0x0;_0x2b47b0<_0x54af23[_0x28ecc0(0x209)];_0x2b47b0++)for(const [_0x58f27e,_0x35c467]of _0x51f9b8)_0x35c467[_0x28ecc0(0x294)][_0x28ecc0(0x1b8)](_0x54af23[_0x2b47b0][_0x28ecc0(0x2b0)])&&_0x54af23[_0x2b47b0][_0x28ecc0(0x1ca)][_0x28ecc0(0x276)](_0x58f27e),_0x35c467[_0x28ecc0(0x1c2)][_0x28ecc0(0x1b8)](_0x54af23[_0x2b47b0][_0x28ecc0(0x1d0)])&&_0x54af23[_0x2b47b0][_0x28ecc0(0x1ea)][_0x28ecc0(0x276)](_0x58f27e);}[_0x43145c(0x254)](_0x7ef7bf,_0x1ea287){const _0x4146bc=_0x43145c;let _0x32ebca=[],_0x1800cc=0x0,_0x5f444e=0x0;for(;_0x1800cc<_0x7ef7bf[_0x4146bc(0x209)]||_0x5f444e<_0x1ea287[_0x4146bc(0x209)];){const _0x53d72f=_0x7ef7bf[_0x1800cc]||{},_0x35b0e1=_0x1ea287[_0x5f444e]||{};if(_0x53d72f['id']==_0x35b0e1['id'])_0x1800cc++,_0x5f444e++,_0x32ebca[_0x4146bc(0x276)](_0x53d72f);else{if(_0x35b0e1[_0x4146bc(0x217)]&&_0x53d72f[_0x4146bc(0x16d)]){const {commonTape:_0x4b9d88,iEnd:_0x5b00e8,jEnd:_0x372c44}=this[_0x4146bc(0x1ab)](_0x7ef7bf,_0x1800cc,_0x1ea287,_0x5f444e);_0x32ebca=_0x32ebca[_0x4146bc(0x218)](_0x4b9d88),_0x1800cc=_0x5b00e8,_0x5f444e=_0x372c44;}else _0x35b0e1[_0x4146bc(0x217)]?(_0x5f444e++,_0x32ebca[_0x4146bc(0x276)](_0x35b0e1)):(_0x1800cc++,_0x32ebca[_0x4146bc(0x276)](_0x53d72f));}}return _0x32ebca;}[_0x43145c(0x1bd)](_0x21d0ec,_0x386785){const _0x570e98=_0x43145c,_0x1b72a8=[];for(let _0x55fd17=0x0;_0x55fd17<_0x21d0ec[_0x570e98(0x209)];_0x55fd17++){for(let _0x3de823=0x0;_0x3de823<_0x21d0ec[_0x55fd17][_0x570e98(0x1ca)][_0x570e98(0x209)];_0x3de823++){const _0x3d7cde=_0x21d0ec[_0x55fd17][_0x570e98(0x1ca)][_0x3de823];if(!_0x386785[_0x570e98(0x28a)](_0x3d7cde))continue;const {group:_0x52a551,type:_0x36fc7a,authorId:_0x59142d}=_0x119833(_0x3d7cde);_0x570e98(0x1fc)!=_0x52a551||_0x570e98(0x275)!=_0x36fc7a&&_0x570e98(0x269)!=_0x36fc7a||(_0x1b72a8[_0x570e98(0x244)]({'type':_0x36fc7a,'name':_0x3d7cde,'userId':_0x59142d}),_0x21d0ec[_0x55fd17][_0x570e98(0x1ca)][_0x570e98(0x2b1)](_0x3de823,0x1),_0x3de823--);}_0x281811(_0x21d0ec[_0x55fd17]);for(let _0x3fb223=0x0;_0x3fb223<_0x21d0ec[_0x55fd17][_0x570e98(0x1ea)][_0x570e98(0x209)];_0x3fb223++){const _0x5efed5=_0x21d0ec[_0x55fd17][_0x570e98(0x1ea)][_0x3fb223];if(!_0x386785[_0x570e98(0x28a)](_0x5efed5))continue;const {group:_0x2c619c,type:_0x3adddd}=_0x119833(_0x5efed5);if(_0x570e98(0x1fc)!=_0x2c619c||_0x570e98(0x275)!=_0x3adddd&&_0x570e98(0x269)!=_0x3adddd)continue;_0x21d0ec[_0x55fd17][_0x570e98(0x1ea)][_0x570e98(0x2b1)](_0x3fb223,0x1),_0x3fb223--;const _0x43fe32=_0x1b72a8[_0x570e98(0x270)](_0xf05ca6=>_0xf05ca6[_0x570e98(0x1a9)]==_0x5efed5);_0x43fe32>-0x1&&_0x1b72a8[_0x570e98(0x2b1)](_0x43fe32,0x1);}}function _0x119833(_0x21019d){const _0x57c980=_0x570e98,_0x7b5122=_0x21019d[_0x57c980(0x16e)](':');return{'group':_0x7b5122[0x0],'type':_0x7b5122[0x1],'subType':_0x7b5122[_0x57c980(0x209)]>=0x5?_0x7b5122[0x2]:null,'id':_0x7b5122[_0x57c980(0x209)]<0x5?_0x7b5122[0x2]:_0x7b5122[0x3],'authorId':_0x7b5122[_0x57c980(0x209)]<0x5?_0x7b5122[0x3]:_0x7b5122[0x4],'markerCount':0x6==_0x7b5122[_0x57c980(0x209)]?_0x7b5122[0x5]:null};}function _0x281811(_0xd84c23){const _0x444576=_0x570e98;for(let _0x1c7dc2=0x0;_0x1c7dc2<_0x1b72a8[_0x444576(0x209)];_0x1c7dc2++){if(_0xd84c23[_0x444576(0x16d)]&&_0x444576(0x275)==_0x1b72a8[_0x1c7dc2][_0x444576(0x19e)])return _0xd84c23[_0x444576(0x291)]=_0x1b72a8[_0x1c7dc2],void delete _0xd84c23[_0x444576(0x16d)];if(!_0xd84c23[_0x444576(0x16d)]&&!_0xd84c23[_0x444576(0x217)]&&_0x444576(0x269)==_0x1b72a8[_0x1c7dc2][_0x444576(0x19e)])return void(_0xd84c23[_0x444576(0x29f)]=_0x1b72a8[_0x1c7dc2]);}}}[_0x43145c(0x236)](_0x3d13c0,_0x57ce19){const _0x72737c=_0x43145c;let _0x5ec8d9=0x0,_0x48909c=!0x1;const _0x2d08fc=new Map();for(const _0x4c7e45 of _0x3d13c0)_0x4c7e45[_0x57ce19]?_0x48909c&&(_0x5ec8d9++,_0x48909c=!0x1):(_0x5ec8d9++,_0x48909c=!0x0),_0x2d08fc[_0x72737c(0x171)](_0x4c7e45['id'],_0x5ec8d9);for(let _0x2a327d=0x0;_0x2a327d<_0x3d13c0[_0x72737c(0x209)];_0x2a327d++){if(_0x72737c(0x217)==_0x57ce19&&_0x3d13c0[_0x2a327d][_0x72737c(0x16d)]||_0x72737c(0x16d)==_0x57ce19&&_0x3d13c0[_0x2a327d][_0x72737c(0x217)])continue;if(_0x72737c(0x25b)==_0x3d13c0[_0x2a327d][_0x72737c(0x19e)]){_0x3d13c0[_0x2a327d][_0x72737c(0x2a6)]=0x0;continue;}const _0x4fb5eb=_0x2d08fc[_0x72737c(0x253)](_0x3d13c0[_0x2a327d][_0x72737c(0x1a3)]),_0x51a403=_0x2d08fc[_0x72737c(0x253)](_0x3d13c0[_0x2a327d]['id']);_0x3d13c0[_0x2a327d][_0x72737c(0x2a6)]=_0x4fb5eb-_0x51a403;}}[_0x43145c(0x2a2)](_0x5e6e10,_0x112037,_0x2f6e67=!0x1){const _0x448da5=_0x43145c,_0x2c7539=[];let _0x10c487=this[_0x448da5(0x189)][_0x448da5(0x212)](_0x5e6e10),_0x4dffd5=this[_0x448da5(0x189)][_0x448da5(0x212)](_0x112037);for(-0x1==_0x4dffd5&&(_0x4dffd5=this[_0x448da5(0x189)][_0x448da5(0x19f)][_0x448da5(0x209)],_0x2f6e67=!0x1);_0x10c487<_0x4dffd5;)_0x2c7539[_0x448da5(0x276)](this[_0x448da5(0x189)][_0x448da5(0x1fe)](_0x10c487)),_0x10c487++;return _0x2f6e67&&_0x2c7539[_0x448da5(0x276)](this[_0x448da5(0x189)][_0x448da5(0x1fe)](_0x10c487)),_0x2c7539;}[_0x43145c(0x1ab)](_0x38aff9,_0x30c935,_0x2ec415,_0x470bc3){const _0x54867d=_0x43145c,_0x257174=this[_0x54867d(0x1f5)][_0x54867d(0x1a2)][_0x54867d(0x180)];let _0x1ba491=_0x30c935;for(;_0x38aff9[_0x1ba491]&&_0x38aff9[_0x1ba491][_0x54867d(0x16d)];)_0x1ba491++;let _0x15d4b0=_0x470bc3;for(;_0x2ec415[_0x15d4b0]&&_0x2ec415[_0x15d4b0][_0x54867d(0x217)];)_0x15d4b0++;_0x2205bd(_0x38aff9,_0x30c935,_0x1ba491),_0x2205bd(_0x2ec415,_0x470bc3,_0x15d4b0);const _0x4f7606=_0x2ec415[_0x54867d(0x1ba)](_0x470bc3,_0x15d4b0)[_0x54867d(0x218)](_0x38aff9[_0x54867d(0x1ba)](_0x30c935,_0x1ba491));return _0x4f7606[_0x54867d(0x1ae)]((_0x44283d,_0x4c568e)=>_0x44283d[_0x54867d(0x1e5)]!=_0x4c568e[_0x54867d(0x1e5)]?_0x44283d[_0x54867d(0x1e5)]-_0x4c568e[_0x54867d(0x1e5)]:_0x44283d[_0x54867d(0x206)]!=_0x4c568e[_0x54867d(0x206)]?_0x44283d[_0x54867d(0x206)]-_0x4c568e[_0x54867d(0x206)]:_0x44283d[_0x54867d(0x2a6)]!=_0x4c568e[_0x54867d(0x2a6)]?_0x4c568e[_0x54867d(0x2a6)]-_0x44283d[_0x54867d(0x2a6)]:!!_0x44283d[_0x54867d(0x16d)]!=!!_0x4c568e[_0x54867d(0x16d)]?-0x1==_0x44283d[_0x54867d(0x1e5)]||0x0==_0x44283d[_0x54867d(0x1e5)]?_0x44283d[_0x54867d(0x16d)]?-0x1:0x1:_0x44283d[_0x54867d(0x16d)]?0x1:-0x1:_0x44283d[_0x54867d(0x24f)]-_0x4c568e[_0x54867d(0x24f)]),{'commonTape':_0x4f7606,'iEnd':_0x1ba491,'jEnd':_0x15d4b0};function _0x2205bd(_0x1c7c09,_0x148919,_0x3450e8){const _0x132c3e=_0x54867d;let _0x250e35=-0x1,_0x290faa=Number[_0x132c3e(0x1d8)],_0x140f5c=!0x0;for(let _0x11c8d6=_0x148919;_0x11c8d6<_0x3450e8;_0x11c8d6++)if(_0x257174[_0x132c3e(0x18b)](_0x1c7c09[_0x11c8d6][_0x132c3e(0x197)])||(_0x140f5c=!0x1),_0x1c7c09[_0x11c8d6][_0x132c3e(0x197)][_0x132c3e(0x24b)]<_0x148919&&(_0x250e35=_0x11c8d6),_0x1c7c09[_0x11c8d6][_0x132c3e(0x197)][_0x132c3e(0x1cc)]>=_0x3450e8){_0x290faa=_0x11c8d6;break;}_0x140f5c&&(_0x250e35=_0x3450e8-0x1);for(let _0x1af62b=_0x148919;_0x1af62b<_0x3450e8;_0x1af62b++)_0x1c7c09[_0x1af62b][_0x132c3e(0x1e5)]=_0x1af62b<=_0x250e35?-0x1:_0x1af62b<_0x290faa?0x0:0x1,_0x1c7c09[_0x1af62b][_0x132c3e(0x24f)]=_0x1af62b;let _0x2c8f16=0x0;for(let _0x5d9393=_0x148919;_0x5d9393<=_0x250e35;_0x5d9393++)0x0==_0x1c7c09[_0x5d9393][_0x132c3e(0x2a6)]?_0x1c7c09[_0x5d9393][_0x132c3e(0x206)]=_0x2c8f16:(_0x2c8f16++,_0x1c7c09[_0x5d9393][_0x132c3e(0x206)]=_0x2c8f16,_0x2c8f16++);for(let _0x4e1913=_0x148919;_0x4e1913<_0x3450e8;_0x4e1913++)0x0==_0x1c7c09[_0x4e1913][_0x132c3e(0x1e5)]&&(_0x1c7c09[_0x4e1913][_0x132c3e(0x206)]=_0x2c8f16);_0x2c8f16=0x0;for(let _0x3a1015=_0x3450e8-0x1;_0x3a1015>=_0x290faa;_0x3a1015--)0x0==_0x1c7c09[_0x3a1015][_0x132c3e(0x2a6)]?_0x1c7c09[_0x3a1015][_0x132c3e(0x206)]=_0x2c8f16:(_0x2c8f16--,_0x1c7c09[_0x3a1015][_0x132c3e(0x206)]=_0x2c8f16,_0x2c8f16--);}}[_0x43145c(0x233)](_0xeb9423){const _0x365704=_0x43145c,_0x1cd859=new Map(),_0x49e779=this[_0x365704(0x1f5)][_0x365704(0x1a2)][_0x365704(0x180)];for(let _0xc3d908=0x1;_0xc3d908<_0xeb9423[_0x365704(0x209)];_0xc3d908++){let _0x22108d,_0xb8cd3f,_0x130601;const _0x3df2da=_0xeb9423[_0xc3d908],_0x4c4adf=_0xeb9423[_0xc3d908-0x1];if(_0x365704(0x25b)==_0x3df2da[_0x365704(0x19e)])continue;if(_0x3df2da[_0x365704(0x19e)]!=_0x4c4adf[_0x365704(0x19e)])continue;if(!_0x49e779[_0x365704(0x22b)](_0x4c4adf[_0x365704(0x197)])||_0x49e779[_0x365704(0x27f)](_0x4c4adf[_0x365704(0x197)]))continue;if(!_0x49e779[_0x365704(0x22b)](_0x3df2da[_0x365704(0x197)])||_0x49e779[_0x365704(0x27f)](_0x3df2da[_0x365704(0x197)]))continue;if((_0xeb9423[_0xc3d908][_0x365704(0x16d)]||_0xeb9423[_0xc3d908][_0x365704(0x291)])&&_0xeb9423[_0xc3d908-0x1][_0x365704(0x217)])_0x22108d=_0xeb9423[_0xc3d908],_0xb8cd3f=_0xeb9423[_0xc3d908-0x1],_0x130601=_0xc3d908-0x1;else{if(!_0xeb9423[_0xc3d908][_0x365704(0x217)]||!_0xeb9423[_0xc3d908-0x1][_0x365704(0x16d)]&&!_0xeb9423[_0xc3d908-0x1][_0x365704(0x291)])continue;_0x22108d=_0xeb9423[_0xc3d908-0x1],_0xb8cd3f=_0xeb9423[_0xc3d908],_0x130601=_0xc3d908;}const _0x40248e=_0x22108d[_0x365704(0x206)]==_0xb8cd3f[_0x365704(0x206)],_0xf8fa5c=Math[_0x365704(0x1e3)](_0x22108d[_0x365704(0x206)])<Math[_0x365704(0x1e3)](_0xb8cd3f[_0x365704(0x206)])&&0x0==_0xb8cd3f[_0x365704(0x2a6)];(_0x40248e||_0xf8fa5c)&&(_0x1cd859[_0x365704(0x171)](_0xb8cd3f['id'],_0x22108d['id']),_0xeb9423[_0x365704(0x2b1)](_0x130601,0x1),_0xc3d908--,_0x22108d[_0x365704(0x16d)]=!0x1);}for(let _0x24c6ab=0x0;_0x24c6ab<_0xeb9423[_0x365704(0x209)];_0x24c6ab++)_0x1cd859[_0x365704(0x28a)](_0xeb9423[_0x24c6ab][_0x365704(0x1a3)])&&(_0xeb9423[_0x24c6ab][_0x365704(0x1a3)]=_0x1cd859[_0x365704(0x253)](_0xeb9423[_0x24c6ab][_0x365704(0x1a3)]));}[_0x43145c(0x2b2)](_0x14ca7c){const _0x345c27=_0x43145c,_0x5b863e=new Set(_0x14ca7c[_0x345c27(0x184)](_0x540472=>_0x540472['id']));for(let _0x3747e1=0x0;_0x3747e1<_0x14ca7c[_0x345c27(0x209)];_0x3747e1++)_0x5b863e[_0x345c27(0x28a)](_0x14ca7c[_0x3747e1][_0x345c27(0x1a3)])||0x0==_0x14ca7c[_0x3747e1][_0x345c27(0x2a6)]||(_0x14ca7c[_0x3747e1][_0x345c27(0x172)]=!0x0);return _0x14ca7c[_0x345c27(0x1a8)](_0x2222ac=>!_0x2222ac[_0x345c27(0x172)]);}[_0x43145c(0x228)](_0x299c09){const _0x2d3040=_0x43145c,_0x41957c=new Set();for(let _0xcdec24=0x0;_0xcdec24<_0x299c09[_0x2d3040(0x209)];_0xcdec24++){if(_0x41957c[_0x2d3040(0x28a)](_0x299c09[_0xcdec24]['id'])&&_0x299c09[_0xcdec24][_0x2d3040(0x217)]&&(_0x299c09[_0xcdec24][_0x2d3040(0x172)]=!0x0),_0x299c09[_0xcdec24][_0x2d3040(0x172)])continue;if(0x0==_0x299c09[_0xcdec24][_0x2d3040(0x2a6)])continue;if(_0x2d3040(0x1cd)!=_0x299c09[_0xcdec24][_0x2d3040(0x19e)])continue;if(null==_0x299c09[_0xcdec24][_0x2d3040(0x1a3)])continue;let _0x3524b3=_0xcdec24+0x1,_0x3e2333=0x0;for(;_0x299c09[_0x3524b3]['id']!=_0x299c09[_0xcdec24][_0x2d3040(0x1a3)];)_0x2d3040(0x1cd)==_0x299c09[_0x3524b3][_0x2d3040(0x19e)]?_0x3e2333++:_0x2d3040(0x2bd)==_0x299c09[_0x3524b3][_0x2d3040(0x19e)]&&_0x3e2333--,_0x3524b3++;if(0x0!=_0x3e2333){if(_0x299c09[_0xcdec24][_0x2d3040(0x217)])_0x299c09[_0xcdec24][_0x2d3040(0x172)]=!0x0;else{for(;_0x3524b3!=_0xcdec24;)_0x299c09[_0x3524b3][_0x2d3040(0x217)]&&0x0!=_0x299c09[_0x3524b3][_0x2d3040(0x2a6)]&&(_0x299c09[_0x3524b3][_0x2d3040(0x172)]=!0x0,_0x41957c[_0x2d3040(0x187)](_0x299c09[_0x3524b3][_0x2d3040(0x1a3)])),_0x3524b3--;}}}return _0x299c09[_0x2d3040(0x1a8)](_0x403cc9=>!_0x403cc9[_0x2d3040(0x172)]);}[_0x43145c(0x1b0)](_0x5d4f90){const _0x5c515c=_0x43145c,_0x29bff0=this[_0x5c515c(0x1f5)][_0x5c515c(0x1a2)][_0x5c515c(0x180)];for(let _0xdf65e5=0x0;_0xdf65e5<_0x5d4f90[_0x5c515c(0x209)];_0xdf65e5++){if(!(_0x5d4f90[_0xdf65e5][_0x5c515c(0x16d)]||_0x5d4f90[_0xdf65e5][_0x5c515c(0x291)]||_0x5d4f90[_0xdf65e5][_0x5c515c(0x217)]||_0x5d4f90[_0xdf65e5][_0x5c515c(0x29f)]))continue;if(0x0==_0x5d4f90[_0xdf65e5][_0x5c515c(0x2a6)])continue;const _0x48b90d=_0x5d4f90[_0xdf65e5][_0x5c515c(0x197)];_0x29bff0[_0x5c515c(0x22b)](_0x48b90d)||_0x29bff0[_0x5c515c(0x27f)](_0x48b90d)||(_0x5d4f90[_0xdf65e5][_0x5c515c(0x16d)]&&delete _0x5d4f90[_0xdf65e5][_0x5c515c(0x16d)],_0x5d4f90[_0xdf65e5][_0x5c515c(0x291)]&&delete _0x5d4f90[_0xdf65e5][_0x5c515c(0x291)],_0x5d4f90[_0xdf65e5][_0x5c515c(0x29f)]&&delete _0x5d4f90[_0xdf65e5][_0x5c515c(0x29f)],_0x5d4f90[_0xdf65e5][_0x5c515c(0x217)]&&(_0x5d4f90[_0xdf65e5][_0x5c515c(0x172)]=!0x0));}return _0x5d4f90[_0x5c515c(0x1a8)](_0x559844=>!_0x559844[_0x5c515c(0x172)]);}[_0x43145c(0x1a6)](_0x258f47,_0x2714c5,_0x16f61d){const _0x435741=_0x43145c,_0x74f36b=new _0x12bcfd(),_0xcadc9e=[],_0x26904c=new Map(),_0x4d11d0=this[_0x435741(0x1f5)][_0x435741(0x1a2)],_0x515678=_0x4d11d0[_0x435741(0x180)],_0xcfc515=[_0x74f36b],_0x30f808={},_0x3197f7={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x328bb0=null;const _0x1f4291=[0x0];for(let _0x204354=0x0;_0x204354<_0x258f47[_0x435741(0x209)];_0x204354++)if(_0x435741(0x1cd)===_0x258f47[_0x204354][_0x435741(0x19e)]){_0x258f47[_0x204354][_0x435741(0x2b0)]=_0x4d11d0[_0x435741(0x20b)](_0x74f36b,_0x1f4291);const _0x2d4284=new _0xb30628(_0x258f47[_0x204354][_0x435741(0x197)][_0x435741(0x1a9)],_0x258f47[_0x204354][_0x435741(0x197)][_0x435741(0x23c)]());_0xcfc515[0x0][_0x435741(0x1b6)](_0x2d4284),_0x1f4291[_0x435741(0x276)](0x0),_0xcfc515[_0x435741(0x244)](_0x2d4284),_0x258f47[_0x204354][_0x435741(0x1d0)]=_0x4d11d0[_0x435741(0x20b)](_0x74f36b,_0x1f4291);}else _0x435741(0x2bd)===_0x258f47[_0x204354][_0x435741(0x19e)]?(_0xcfc515[_0x435741(0x29b)](),_0x258f47[_0x204354][_0x435741(0x2b0)]=_0x4d11d0[_0x435741(0x20b)](_0x74f36b,_0x1f4291),_0x1f4291[_0x435741(0x277)](),_0x1f4291[_0x1f4291[_0x435741(0x209)]-0x1]++,_0x258f47[_0x204354][_0x435741(0x1d0)]=_0x4d11d0[_0x435741(0x20b)](_0x74f36b,_0x1f4291)):(_0x258f47[_0x204354][_0x435741(0x2b0)]=_0x4d11d0[_0x435741(0x20b)](_0x74f36b,_0x1f4291),_0x328bb0?_0x328bb0[_0x435741(0x1b4)]+=_0x258f47[_0x204354][_0x435741(0x197)][_0x435741(0x1c6)]:_0x328bb0=new _0x5400b6(_0x258f47[_0x204354][_0x435741(0x197)][_0x435741(0x1c6)],_0x258f47[_0x204354][_0x435741(0x197)][_0x435741(0x23c)]()),_0x258f47[_0x204354+0x1]&&_0x435741(0x25b)===_0x258f47[_0x204354+0x1][_0x435741(0x19e)]&&_0x14be92(_0x328bb0,_0x258f47[_0x204354+0x1][_0x435741(0x197)])||(_0xcfc515[0x0][_0x435741(0x1b6)](_0x328bb0),_0x328bb0=null),_0x1f4291[_0x1f4291[_0x435741(0x209)]-0x1]+=_0x258f47[_0x204354][_0x435741(0x197)][_0x435741(0x264)],_0x258f47[_0x204354][_0x435741(0x1d0)]=_0x4d11d0[_0x435741(0x20b)](_0x74f36b,_0x1f4291));for(let _0x17b572=0x0;_0x17b572<_0x258f47[_0x435741(0x209)];_0x17b572++){const _0x3713e6=_0x258f47[_0x17b572][_0x435741(0x2b0)],_0x4c55ff=_0x258f47[_0x17b572][_0x435741(0x1d0)];for(const _0x363ae6 of _0x258f47[_0x17b572][_0x435741(0x1ca)])_0x26904c[_0x435741(0x171)](_0x363ae6,{'start':_0x3713e6,'end':null});_0x46a7b7(_0x435741(0x29f),_0x17b572,_0x3713e6,_0x4c55ff),_0x46a7b7(_0x435741(0x291),_0x17b572,_0x3713e6,_0x4c55ff),_0x46a7b7(_0x435741(0x217),_0x17b572,_0x3713e6,_0x4c55ff),_0x46a7b7(_0x435741(0x16d),_0x17b572,_0x3713e6,_0x4c55ff);for(const _0x1d1381 of _0x258f47[_0x17b572][_0x435741(0x1ea)]){_0x26904c[_0x435741(0x253)](_0x1d1381)[_0x435741(0x1c2)]=_0x4c55ff;}}for(const [_0x19e079,_0x58d240]of _0x26904c){const _0x4d7fb4=this[_0x435741(0x1f5)][_0x435741(0x1a2)][_0x435741(0x255)](_0x58d240[_0x435741(0x294)],_0x58d240[_0x435741(0x1c2)]);_0x74f36b[_0x435741(0x17f)][_0x435741(0x171)](_0x19e079,_0x4d7fb4);}return _0xcadc9e[_0x435741(0x1ae)]((_0x102bca,_0x5ee1e2)=>{const _0x5caf88=_0x435741,_0x541988=_0x74f36b[_0x5caf88(0x17f)][_0x5caf88(0x253)](_0x5caf88(0x221)+_0x102bca['id']),_0x204898=_0x74f36b[_0x5caf88(0x17f)][_0x5caf88(0x253)](_0x5caf88(0x221)+_0x5ee1e2['id']);return _0x541988[_0x5caf88(0x294)][_0x5caf88(0x210)](_0x204898[_0x5caf88(0x294)])?-0x1:_0x541988[_0x5caf88(0x294)][_0x5caf88(0x17a)](_0x204898[_0x5caf88(0x294)])?0x1:_0x541988[_0x5caf88(0x1c2)][_0x5caf88(0x210)](_0x204898[_0x5caf88(0x1c2)])?-0x1:_0x541988[_0x5caf88(0x1c2)][_0x5caf88(0x17a)](_0x204898[_0x5caf88(0x1c2)])?0x1:_0x5caf88(0x187)===_0x102bca[_0x5caf88(0x19e)]?-0x1:0x1;}),{'root':_0x74f36b,'changes':_0xcadc9e};function _0x46a7b7(_0x539c72,_0x7abb55,_0x2ee9c0,_0x48f7af){const _0x38b240=_0x435741,_0x57357b=!!_0x258f47[_0x7abb55][_0x539c72],_0x4228e8=_0x57357b?_0x258f47[_0x7abb55][_0x539c72][_0x38b240(0x278)]:null,_0x495486=_0x7abb55===_0x258f47[_0x38b240(0x209)]-0x1,_0x1170aa=_0x3197f7[_0x539c72][0x0],_0x3ce462=_0x515678[_0x38b240(0x1c3)](_0x258f47[_0x7abb55][_0x38b240(0x197)]);!_0x30f808[_0x539c72]&&_0x57357b?_0x30f808[_0x539c72]={'start':_0x2ee9c0,'tapeItem':_0x258f47[_0x7abb55],'userId':_0x4228e8,'type':_0x539c72}:_0x30f808[_0x539c72]&&!_0x57357b?(_0x30f808[_0x539c72][_0x38b240(0x1c2)]=_0x2ee9c0,_0x4c74bb(_0x30f808[_0x539c72]),_0x30f808[_0x539c72]=null):_0x30f808[_0x539c72]&&_0x57357b&&_0x30f808[_0x539c72][_0x38b240(0x278)]!==_0x4228e8&&(_0x30f808[_0x539c72][_0x38b240(0x1c2)]=_0x2ee9c0,_0x1170aa&&_0x1170aa[_0x38b240(0x278)]===_0x30f808[_0x539c72][_0x38b240(0x278)]||_0x4c74bb(_0x30f808[_0x539c72]),_0x30f808[_0x539c72]={'start':_0x2ee9c0,'tapeItem':_0x258f47[_0x7abb55],'userId':_0x4228e8,'type':_0x539c72}),_0x30f808[_0x539c72]&&_0x3ce462&&(_0x38b240(0x1cd)!==_0x258f47[_0x7abb55][_0x38b240(0x19e)]||_0x1170aa&&_0x1170aa[_0x38b240(0x278)]===_0x4228e8||_0x3197f7[_0x539c72][_0x38b240(0x244)]({'userId':_0x4228e8,'object':_0x258f47[_0x7abb55][_0x38b240(0x197)],'change':_0x30f808[_0x539c72]}),_0x38b240(0x2bd)===_0x258f47[_0x7abb55][_0x38b240(0x19e)]&&_0x1170aa&&_0x1170aa[_0x38b240(0x2ae)]===_0x258f47[_0x7abb55][_0x38b240(0x197)]&&(_0x3197f7[_0x539c72][_0x38b240(0x29b)](),_0x30f808[_0x539c72]=_0x1170aa[_0x38b240(0x25a)])),_0x30f808[_0x539c72]&&_0x495486&&(_0x30f808[_0x539c72][_0x38b240(0x1c2)]=_0x48f7af,_0x4c74bb(_0x30f808[_0x539c72]),_0x30f808[_0x539c72]=null);}function _0x4c74bb({start:_0x4762ba,end:_0x493ff1,tapeItem:_0x584187,userId:_0x4bc41d,type:_0x4a468}){const _0x3c99a4=_0x435741,_0x5dcdb5=_0x584187[_0x3c99a4(0x197)],_0x309731=_0x4d11d0[_0x3c99a4(0x180)][_0x3c99a4(0x22b)](_0x5dcdb5)&&!_0x4d11d0[_0x3c99a4(0x180)][_0x3c99a4(0x27f)](_0x5dcdb5),_0x2cdf39=_0x4762ba[_0x3c99a4(0x1f1)]==_0x493ff1[_0x3c99a4(0x223)]&&_0x493ff1[_0x3c99a4(0x29c)];if(_0x309731&&_0x2cdf39)return;const _0x328580=_0x4d11d0[_0x3c99a4(0x255)](_0x4762ba,_0x493ff1),_0x29fcbf=_0x2714c5[_0x3c99a4(0x253)](_0x4bc41d),_0x56c515=new _0x4db671({'author':_0x29fcbf,'type':_0x3c99a4(0x16d)==_0x4a468||_0x3c99a4(0x291)==_0x4a468?_0x3c99a4(0x187):_0x3c99a4(0x231),'data':{'isSuggestion':_0x3c99a4(0x291)==_0x4a468||_0x3c99a4(0x29f)==_0x4a468},'createdAt':new Date(),'rootName':_0x16f61d});_0xcadc9e[_0x3c99a4(0x276)](_0x56c515),_0x74f36b[_0x3c99a4(0x17f)][_0x3c99a4(0x171)](_0x3c99a4(0x221)+_0x56c515['id'],_0x328580);}function _0x14be92(_0x21ef3e,_0x22d5c3){const _0x4dc1e3=_0x435741,_0xc62fcf=_0x21ef3e[_0x4dc1e3(0x23c)](),_0x3e0e53=_0x22d5c3[_0x4dc1e3(0x23c)]();for(const _0x465220 of _0xc62fcf){if(_0x465220[0x1]!==_0x22d5c3[_0x4dc1e3(0x2aa)](_0x465220[0x0]))return!0x1;_0x3e0e53[_0x4dc1e3(0x285)]();}return _0x3e0e53[_0x4dc1e3(0x285)]()[_0x4dc1e3(0x2be)];}}[_0x43145c(0x1dc)](){const _0x3e9b31=_0x43145c;this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x1c9))[_0x3e9b31(0x265)]({'view':_0x3e9b31(0x27d)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x2af))[_0x3e9b31(0x1a1)]({'model':_0x3e9b31(0x27d),'view':_0xa00dc8=>{const _0x2c8892=_0x3e9b31,_0x198500=_0xa00dc8[_0x2c8892(0x1a4)][_0x2c8892(0x16e)](':')[0x1],_0x2fea0e=this[_0x2c8892(0x2ab)](_0x198500);if(!_0x2fea0e)return null;const _0x3046da=_0x2c8892(0x187)==_0x2fea0e[_0x2c8892(0x19e)]?_0x2c8892(0x275):_0x2c8892(0x269),_0x27eac0=[_0x2c8892(0x1be),_0x2c8892(0x1dd)+_0x3046da];return _0x2fea0e[_0x2c8892(0x1c6)][_0x2c8892(0x1b1)]&&_0x27eac0[_0x2c8892(0x276)](_0x2c8892(0x1dd)+_0x3046da+_0x2c8892(0x256)),this[_0x2c8892(0x246)]==_0x2fea0e&&_0x27eac0[_0x2c8892(0x276)](_0x2c8892(0x1d4)),{'classes':_0x27eac0,'attributes':{'data-change-id':_0x198500}};}}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x1c9))[_0x3e9b31(0x187)](_0x2b747a=>{const _0x5eb5b2=_0x3e9b31;_0x2b747a['on'](_0x5eb5b2(0x18f),(_0x54d1a4,_0x1106e1,_0x34604e)=>{const _0x29a20c=_0x5eb5b2,_0x5ae691=_0x1106e1[_0x29a20c(0x1bf)][_0x29a20c(0x1d3)](0x0);if(!_0x5ae691||!_0x5ae691['is'](_0x29a20c(0x26c),_0x29a20c(0x193)))return;if(!_0x34604e[_0x29a20c(0x24d)][_0x29a20c(0x202)](_0x5ae691,{'attributes':[_0x29a20c(0x242),_0x29a20c(0x230)]}))return;const _0x5a76e8=_0x1106e1[_0x29a20c(0x19b)][_0x29a20c(0x294)][_0x29a20c(0x1f1)];_0x34604e[_0x29a20c(0x183)][_0x29a20c(0x174)](_0x29a20c(0x242),_0x5ae691[_0x29a20c(0x2aa)](_0x29a20c(0x242)),_0x5a76e8),_0x34604e[_0x29a20c(0x183)][_0x29a20c(0x174)](_0x29a20c(0x230),_0x5ae691[_0x29a20c(0x2aa)](_0x29a20c(0x230)),_0x5a76e8);},{'priority':_0x5eb5b2(0x2ac)});}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x1c9))[_0x3e9b31(0x187)](_0x2e2b4b=>{const _0x2c77b6=_0x3e9b31;_0x2e2b4b['on'](_0x2c77b6(0x26c),(_0x57658e,_0x1ea317,_0x462dea)=>{const _0x3dccb8=_0x2c77b6;if(!_0x462dea[_0x3dccb8(0x24d)][_0x3dccb8(0x202)](_0x1ea317[_0x3dccb8(0x1bf)],{'attributes':[_0x3dccb8(0x242),_0x3dccb8(0x230)]}))return;if(_0x1ea317[_0x3dccb8(0x19b)][_0x3dccb8(0x23e)])return;const _0x242bc3=_0x1ea317[_0x3dccb8(0x19b)][_0x3dccb8(0x294)][_0x3dccb8(0x1f1)];_0x242bc3[_0x3dccb8(0x195)](_0x3dccb8(0x242))||_0x242bc3[_0x3dccb8(0x195)](_0x3dccb8(0x1f9))||(_0x462dea[_0x3dccb8(0x183)][_0x3dccb8(0x174)](_0x3dccb8(0x242),_0x1ea317[_0x3dccb8(0x1bf)][_0x3dccb8(0x2aa)](_0x3dccb8(0x242)),_0x242bc3),_0x462dea[_0x3dccb8(0x183)][_0x3dccb8(0x174)](_0x3dccb8(0x230),_0x1ea317[_0x3dccb8(0x1bf)][_0x3dccb8(0x2aa)](_0x3dccb8(0x230)),_0x242bc3));},{'priority':_0x2c77b6(0x2ac)});}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x1c9))[_0x3e9b31(0x1d6)]({'view':{'name':_0x3e9b31(0x2ba),'attributes':{'vid':!0x0}},'model':{'key':_0x3e9b31(0x1f9),'value':_0x14cedf=>_0x14cedf[_0x3e9b31(0x2aa)](_0x3e9b31(0x1f9))}}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1a2)][_0x3e9b31(0x180)]['on'](_0x3e9b31(0x16c),(_0x43e517,[,_0x5c53f5])=>{const _0x597c4f=_0x3e9b31;[_0x597c4f(0x242),_0x597c4f(0x230),_0x597c4f(0x1f9)][_0x597c4f(0x175)](_0x5c53f5)&&(_0x43e517[_0x597c4f(0x263)]=!0x0,_0x43e517[_0x597c4f(0x243)]());},{'priority':_0x3e9b31(0x28d)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x21d))[_0x3e9b31(0x187)](_0x21598a=>{const _0xe61da8=_0x3e9b31;_0x21598a['on'](_0xe61da8(0x281),(_0x382034,_0x1d715e,_0x52c586)=>{const _0x49b598=_0xe61da8;if('\x20'!=_0x1d715e[_0x49b598(0x197)][_0x49b598(0x1c6)]||_0x1d715e[_0x49b598(0x197)][_0x49b598(0x223)][_0x49b598(0x1ef)]>0x1)return;if(!_0x52c586[_0x49b598(0x24d)][_0x49b598(0x202)](_0x1d715e[_0x49b598(0x197)],_0x382034[_0x49b598(0x1a9)]))return;const _0x500b15=_0x52c586[_0x49b598(0x183)],_0x461230=_0x52c586[_0x49b598(0x213)][_0x49b598(0x22a)](_0x1d715e[_0x49b598(0x204)]);_0x500b15[_0x49b598(0x2a7)](_0x461230,_0x500b15[_0x49b598(0x20c)](_0x49b598(0x2ba)));});}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x21d))[_0x3e9b31(0x29d)]({'model':_0x3e9b31(0x27d)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x205)][_0x3e9b31(0x207)]['on'](_0x3e9b31(0x288),function(_0x83fd7){const _0x4d8440=_0x3e9b31,_0x23b448=_0x83fd7[_0x4d8440(0x22f)][_0x4d8440(0x253)](_0x4d8440(0x219));return(_0x3c02d6,_0x1a5f41,_0x3d788d)=>{const _0x3ddaaf=_0x4d8440,_0x281e2a=_0x1a5f41[_0x3ddaaf(0x1a4)][_0x3ddaaf(0x16e)](':')[0x1],_0x45ec8a=_0x23b448[_0x3ddaaf(0x2ab)](_0x281e2a);if(!_0x45ec8a)return null;const _0x172964=_0x3ddaaf(0x187)==_0x45ec8a[_0x3ddaaf(0x19e)]?_0x3ddaaf(0x16e):_0x3ddaaf(0x252);if(!_0x3d788d[_0x3ddaaf(0x24d)][_0x3ddaaf(0x296)](_0x1a5f41[_0x3ddaaf(0x2a0)],_0x3c02d6[_0x3ddaaf(0x1a9)]))return;const _0x57f89c=_0x1a5f41[_0x3ddaaf(0x2a0)][_0x3ddaaf(0x28f)](),_0x1e4ca6=_0x1a5f41[_0x3ddaaf(0x2a0)][_0x3ddaaf(0x294)],_0x513981=_0x83fd7[_0x3ddaaf(0x1a2)][_0x3ddaaf(0x180)];let _0x25c0ce=null,_0x5c1976=null,_0x3bee66=!0x1,_0x3557bf=!0x1;for(const _0x4ccd65 of _0x57f89c){const _0x239070=_0x4ccd65[_0x3ddaaf(0x197)];_0x3bee66=_0x3bee66||_0x513981[_0x3ddaaf(0x239)](_0x239070);const _0x56b66b=_0x3d788d[_0x3ddaaf(0x213)][_0x3ddaaf(0x24e)](_0x239070);if(_0x56b66b&&_0x56b66b[_0x3ddaaf(0x1df)](_0x3ddaaf(0x262)))return;_0x3ddaaf(0x2bd)==_0x4ccd65[_0x3ddaaf(0x19e)]&&(_0x513981[_0x3ddaaf(0x22b)](_0x239070)&&!_0x513981[_0x3ddaaf(0x27f)](_0x239070)&&(_0x239070[_0x3ddaaf(0x27e)]||_0x1e4ca6[_0x3ddaaf(0x2b7)]?_0x25c0ce&&_0x25c0ce[_0x3ddaaf(0x223)]==_0x239070||(_0x25c0ce=_0x239070,_0x454e0f(_0x4ccd65[_0x3ddaaf(0x2b0)]),_0x3557bf=!0x0):_0x5c1976=_0x5c1976||_0x4ccd65[_0x3ddaaf(0x2b0)]));}function _0x454e0f(_0x2118b6){const _0x37b619=_0x3ddaaf,_0x20dcf1=_0x3d788d[_0x37b619(0x183)][_0x37b619(0x1fa)](_0x37b619(0x2ba),{'class':_0x37b619(0x1dd)+_0x172964}),_0x552a60=_0x3d788d[_0x37b619(0x213)][_0x37b619(0x201)](_0x2118b6);_0x45ec8a[_0x37b619(0x1c6)][_0x37b619(0x1b1)]&&_0x3d788d[_0x37b619(0x183)][_0x37b619(0x282)](_0x37b619(0x1dd)+_0x172964+_0x37b619(0x256),_0x20dcf1),_0x23b448[_0x37b619(0x246)]==_0x45ec8a&&_0x3d788d[_0x37b619(0x183)][_0x37b619(0x282)](_0x37b619(0x1d4),_0x20dcf1),_0x3d788d[_0x37b619(0x183)][_0x37b619(0x203)](_0x552a60,_0x20dcf1),_0x3d788d[_0x37b619(0x213)][_0x37b619(0x2b8)](_0x20dcf1,_0x1a5f41[_0x37b619(0x1a4)]);}_0x3bee66||_0x3557bf||!_0x5c1976||_0x454e0f(_0x5c1976);};}(this[_0x3e9b31(0x1f5)]),{'priority':_0x3e9b31(0x299)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x205)][_0x3e9b31(0x207)]['on'](_0x3e9b31(0x1e7),(_0xde330c,_0x53db54,_0x2aa618)=>{const _0x19b623=_0x3e9b31,_0x45b9e7=_0x2aa618[_0x19b623(0x213)][_0x19b623(0x20a)](_0x53db54[_0x19b623(0x1a4)]);if(_0x45b9e7){for(const _0x27cb82 of _0x45b9e7)(_0x27cb82[_0x19b623(0x1aa)](_0x19b623(0x292))||_0x27cb82[_0x19b623(0x1aa)](_0x19b623(0x271)))&&(_0x2aa618[_0x19b623(0x213)][_0x19b623(0x250)](_0x27cb82,_0x53db54[_0x19b623(0x1a4)]),_0x2aa618[_0x19b623(0x183)][_0x19b623(0x231)](_0x27cb82));}},{'priority':_0x3e9b31(0x299)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x205)][_0x3e9b31(0x207)]['on'](_0x3e9b31(0x288),(_0x56ea28,_0x596c1c,_0x1082dc)=>{const _0x1a5c78=_0x3e9b31,_0x5bf4f9=_0x596c1c[_0x1a5c78(0x1a4)][_0x1a5c78(0x16e)](':')[0x1],_0x4ea21e=this[_0x1a5c78(0x2ab)](_0x5bf4f9);if(!_0x4ea21e)return null;const _0xe66af5=_0x1a5c78(0x187)==_0x4ea21e[_0x1a5c78(0x19e)]?_0x1a5c78(0x16e):_0x1a5c78(0x252);if(_0x1082dc[_0x1a5c78(0x24d)][_0x1a5c78(0x296)](_0x596c1c[_0x1a5c78(0x2a0)],_0x56ea28[_0x1a5c78(0x1a9)]))for(const _0xcd32be of _0x596c1c[_0x1a5c78(0x2a0)][_0x1a5c78(0x286)]()){if(!_0xcd32be['is'](_0x1a5c78(0x26c),_0x1a5c78(0x2bb)))continue;const _0x53459b=_0x1082dc[_0x1a5c78(0x183)][_0x1a5c78(0x1fa)](_0x1a5c78(0x2ba),{'class':_0x1a5c78(0x1dd)+_0xe66af5}),_0x279dfc=_0x1082dc[_0x1a5c78(0x213)][_0x1a5c78(0x201)](this[_0x1a5c78(0x1f5)][_0x1a5c78(0x1a2)][_0x1a5c78(0x2a4)](_0xcd32be));_0x4ea21e[_0x1a5c78(0x1c6)][_0x1a5c78(0x1b1)]&&_0x1082dc[_0x1a5c78(0x183)][_0x1a5c78(0x282)](_0x1a5c78(0x1dd)+_0xe66af5+_0x1a5c78(0x256),_0x53459b),this[_0x1a5c78(0x246)]==_0x4ea21e&&_0x1082dc[_0x1a5c78(0x183)][_0x1a5c78(0x282)](_0x1a5c78(0x1d4),_0x53459b),_0x1082dc[_0x1a5c78(0x183)][_0x1a5c78(0x203)](_0x279dfc,_0x53459b),_0x1082dc[_0x1a5c78(0x213)][_0x1a5c78(0x2b8)](_0x53459b,_0x596c1c[_0x1a5c78(0x1a4)]);}},{'priority':_0x3e9b31(0x299)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1a2)][_0x3e9b31(0x1ed)]['on'](_0x3e9b31(0x25a),()=>{const _0x446cc3=_0x3e9b31;this[_0x446cc3(0x1f5)][_0x446cc3(0x205)][_0x446cc3(0x29e)][_0x446cc3(0x25a)](_0x1e6572=>{const _0x4294bb=_0x446cc3;for(const _0x344535 of this[_0x4294bb(0x1f5)][_0x4294bb(0x1a2)][_0x4294bb(0x1ed)][_0x4294bb(0x20d)]()){const _0x43a64e=this[_0x4294bb(0x1f5)][_0x4294bb(0x1a2)][_0x4294bb(0x1ed)][_0x4294bb(0x1f0)](_0x344535),_0x1ec9c7=this[_0x4294bb(0x1f5)][_0x4294bb(0x205)][_0x4294bb(0x29e)][_0x4294bb(0x1ed)][_0x4294bb(0x1f0)](_0x344535);if(_0x1ec9c7){const _0x3070b5=_0x43a64e[_0x4294bb(0x2aa)](_0x4294bb(0x23a));if(_0x1e6572[_0x4294bb(0x18c)](_0x4294bb(0x20f),_0x1ec9c7),_0x1e6572[_0x4294bb(0x24c)](_0x4294bb(0x22e),_0x1ec9c7),_0x1e6572[_0x4294bb(0x24c)](_0x4294bb(0x1bc),_0x1ec9c7),_0x1e6572[_0x4294bb(0x24c)](_0x4294bb(0x1fb),_0x1ec9c7),_0x3070b5){const _0x232f65=this[_0x4294bb(0x2ab)](_0x3070b5);if(!_0x232f65)return null;_0x1e6572[_0x4294bb(0x174)](_0x4294bb(0x20f),_0x3070b5,_0x1ec9c7),_0x1e6572[_0x4294bb(0x282)](_0x4294bb(0x1a5)+_0x232f65[_0x4294bb(0x19e)],_0x1ec9c7),this[_0x4294bb(0x246)]==_0x232f65&&_0x1e6572[_0x4294bb(0x282)](_0x4294bb(0x1fb),_0x1ec9c7);}}}});}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x1c9))[_0x3e9b31(0x265)]({'view':_0x3e9b31(0x1db),'model':_0x25e6a9=>_0x3e9b31(0x2c0)+_0x25e6a9,'converterPriority':_0x3e9b31(0x28d)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x1c9))[_0x3e9b31(0x265)]({'view':_0x3e9b31(0x2bc),'model':_0x2e9735=>_0x3e9b31(0x21e)+_0x2e9735,'converterPriority':_0x3e9b31(0x28d)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x21d))[_0x3e9b31(0x29d)]({'model':_0x3e9b31(0x1fc),'view':_0x53170f=>({'name':_0x3e9b31(0x23d)+_0x53170f,'group':_0x3e9b31(0x1fc)}),'converterPriority':_0x3e9b31(0x28d)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x1ac)][_0x3e9b31(0x25c)](_0x3e9b31(0x2af))[_0x3e9b31(0x1a1)]({'model':_0x3e9b31(0x1fc),'view':_0x552b87=>{const _0x19ea63=_0x3e9b31,_0x38457c=_0x552b87[_0x19ea63(0x1a4)][_0x19ea63(0x16e)](':')[0x1];return _0x19ea63(0x275)!=_0x38457c&&_0x19ea63(0x269)!=_0x38457c?null:{'classes':[_0x19ea63(0x27b),_0x19ea63(0x241)+_0x38457c]};}}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x205)][_0x3e9b31(0x207)]['on'](_0x3e9b31(0x26a),Z(this[_0x3e9b31(0x1f5)],_0x3e9b31(0x252)),{'priority':_0x3e9b31(0x299)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x205)][_0x3e9b31(0x207)]['on'](_0x3e9b31(0x273),Z(this[_0x3e9b31(0x1f5)],_0x3e9b31(0x16e)),{'priority':_0x3e9b31(0x299)}),this[_0x3e9b31(0x1f5)][_0x3e9b31(0x205)][_0x3e9b31(0x207)]['on'](_0x3e9b31(0x2b5),(_0x166390,_0x22d4fa,_0x14d85d)=>{const _0x2f1655=_0x3e9b31,_0x532bc9=_0x14d85d[_0x2f1655(0x213)][_0x2f1655(0x20a)](_0x22d4fa[_0x2f1655(0x1a4)]);if(_0x532bc9){for(const _0x3d9578 of _0x532bc9)_0x3d9578['is'](_0x2f1655(0x28c))&&(_0x14d85d[_0x2f1655(0x213)][_0x2f1655(0x250)](_0x3d9578,_0x22d4fa[_0x2f1655(0x1a4)]),_0x14d85d[_0x2f1655(0x183)][_0x2f1655(0x231)](_0x3d9578));}},{'priority':_0x3e9b31(0x299)});}[_0x43145c(0x2ab)](_0x117890){const _0x5f317a=_0x43145c;return this[_0x5f317a(0x215)][_0x5f317a(0x253)](_0x117890);}[_0x43145c(0x192)](_0x3658a3){const _0x291f9f=_0x43145c;return this[_0x291f9f(0x1f3)]&&this[_0x291f9f(0x1f3)][_0x291f9f(0x267)](),this[_0x291f9f(0x1f3)]=new _0x4a125b(this[_0x291f9f(0x1f5)][_0x291f9f(0x245)],_0x3658a3),this[_0x291f9f(0x1f3)];}[_0x43145c(0x1c0)](){const _0x4ba6eb=_0x43145c;this[_0x4ba6eb(0x1f5)][_0x4ba6eb(0x1a2)][_0x4ba6eb(0x1ed)][_0x4ba6eb(0x1af)][_0x4ba6eb(0x17e)](_0x4ba6eb(0x27d)),this['on'](_0x4ba6eb(0x1e4),(_0x1bff53,_0x2175d9,_0x41b79,_0x44ad63)=>{const _0x48b879=_0x4ba6eb;_0x44ad63&&this[_0x48b879(0x274)][_0x48b879(0x231)](_0x44ad63),_0x41b79&&(this[_0x48b879(0x274)][_0x48b879(0x187)]({'view':_0x41b79,'stackId':_0x48b879(0x1cf),'position':{'target':()=>{const _0x4d2271=_0x48b879,_0x350163=this[_0x4d2271(0x1f5)][_0x4d2271(0x205)],_0x1276d9=this[_0x4d2271(0x2ab)](_0x41b79[_0x4d2271(0x1b2)]);let _0x192f53;if(_0x1276d9[_0x4d2271(0x1c6)][_0x4d2271(0x27a)]){const _0x4415e1=_0x350163[_0x4d2271(0x29e)][_0x4d2271(0x287)](_0x1276d9[_0x4d2271(0x229)]);_0x192f53=Array[_0x4d2271(0x1c7)](_0x4415e1[_0x4d2271(0x226)]());}else{const _0x108798=this[_0x4d2271(0x1f5)][_0x4d2271(0x1a2)][_0x4d2271(0x17f)][_0x4d2271(0x253)](_0x4d2271(0x221)+_0x41b79[_0x4d2271(0x1b2)]);_0x192f53=Array[_0x4d2271(0x1c7)](_0x350163[_0x4d2271(0x213)][_0x4d2271(0x20a)](_0x108798[_0x4d2271(0x1a9)]))[_0x4d2271(0x184)](_0x33ee5c=>_0x350163[_0x4d2271(0x29e)][_0x4d2271(0x1d7)][_0x4d2271(0x26d)](_0x33ee5c))[_0x4d2271(0x184)](_0x572460=>Array[_0x4d2271(0x1c7)](_0x572460[_0x4d2271(0x226)]()))[_0x4d2271(0x234)]();}if(!this[_0x4d2271(0x1ce)])return _0x192f53[0x0];return _0x192f53[_0x4d2271(0x1e0)](_0x5965d4=>_0x5965d4[_0x4d2271(0x1ec)]-0x3<=this[_0x4d2271(0x1ce)]['y']&&_0x5965d4[_0x4d2271(0x1e9)]+0x3>=this[_0x4d2271(0x1ce)]['y']&&_0x5965d4[_0x4d2271(0x25e)]-0x3<=this[_0x4d2271(0x1ce)]['x']&&_0x5965d4[_0x4d2271(0x1e6)]+0x3>=this[_0x4d2271(0x1ce)]['x'])||_0x192f53[0x0];}}}),this[_0x48b879(0x274)][_0x48b879(0x1f6)](_0x48b879(0x1cf)));}),this['on'](_0x4ba6eb(0x224),(_0x10c545,_0x5db062,_0x43db2d,_0x16f2f8)=>{const _0x452853=_0x4ba6eb;this[_0x452853(0x1da)]=_0x43db2d?this[_0x452853(0x192)](_0x43db2d):null,this[_0x452853(0x1f5)][_0x452853(0x1a2)][_0x452853(0x25a)](()=>{const _0x162d95=_0x452853,_0x211f5b=this[_0x162d95(0x1f5)][_0x162d95(0x205)];_0x16f2f8&&(_0x16f2f8[_0x162d95(0x1c6)][_0x162d95(0x27a)]?_0x211f5b[_0x162d95(0x29e)][_0x162d95(0x25a)](_0x5c8102=>{const _0x46cd30=_0x162d95;_0x5c8102[_0x46cd30(0x24c)](_0x46cd30(0x1fb),_0x211f5b[_0x46cd30(0x29e)][_0x46cd30(0x1ed)][_0x46cd30(0x1f0)](_0x16f2f8[_0x46cd30(0x229)]));}):_0x211f5b[_0x162d95(0x27c)](_0x162d95(0x221)+_0x16f2f8['id'])),_0x43db2d&&(_0x43db2d[_0x162d95(0x1c6)][_0x162d95(0x27a)]?_0x211f5b[_0x162d95(0x29e)][_0x162d95(0x25a)](_0x2fde59=>{const _0x15b24a=_0x162d95;_0x2fde59[_0x15b24a(0x282)](_0x15b24a(0x1fb),_0x211f5b[_0x15b24a(0x29e)][_0x15b24a(0x1ed)][_0x15b24a(0x1f0)](_0x43db2d[_0x15b24a(0x229)]));}):_0x211f5b[_0x162d95(0x27c)](_0x162d95(0x221)+_0x43db2d['id']));});}),this[_0x4ba6eb(0x173)](this[_0x4ba6eb(0x1f5)][_0x4ba6eb(0x205)][_0x4ba6eb(0x29e)][_0x4ba6eb(0x1ed)],_0x4ba6eb(0x247),(_0x50afec,_0x38cc07)=>{const _0xc95c2f=_0x4ba6eb;if(this[_0xc95c2f(0x246)])return;const _0x1f2506=this[_0xc95c2f(0x290)](_0x38cc07[_0xc95c2f(0x266)]),_0xed888e=this[_0xc95c2f(0x215)][_0xc95c2f(0x253)](_0x1f2506);_0xed888e?(this[_0xc95c2f(0x1ce)]={'x':_0x38cc07[_0xc95c2f(0x1b3)]['x'],'y':_0x38cc07[_0xc95c2f(0x1b3)]['y']},this[_0xc95c2f(0x1da)]=this[_0xc95c2f(0x192)](_0xed888e)):(this[_0xc95c2f(0x1ce)]=null,this[_0xc95c2f(0x1da)]=null);}),this[_0x4ba6eb(0x173)](this[_0x4ba6eb(0x1f5)][_0x4ba6eb(0x205)][_0x4ba6eb(0x29e)][_0x4ba6eb(0x1ed)],_0x4ba6eb(0x240),(_0x3be31e,_0x2bc720)=>{const _0x13324e=_0x4ba6eb,_0x19ccd4=this[_0x13324e(0x290)](_0x2bc720[_0x13324e(0x266)]),_0x34dec=this[_0x13324e(0x215)][_0x13324e(0x253)](_0x19ccd4);_0x34dec?(this[_0x13324e(0x1ce)]={'x':_0x2bc720[_0x13324e(0x1b3)]['x'],'y':_0x2bc720[_0x13324e(0x1b3)]['y']},_0x34dec===this[_0x13324e(0x246)]?this[_0x13324e(0x274)][_0x13324e(0x293)]():this[_0x13324e(0x246)]=_0x34dec):(this[_0x13324e(0x1ce)]=null,this[_0x13324e(0x246)]=null);});}[_0x43145c(0x290)](_0x504357){const _0x4a0ccf=_0x43145c;do{const _0xbb751c=_0x504357[_0x4a0ccf(0x2aa)](_0x4a0ccf(0x20f));if(_0xbb751c)return _0xbb751c;_0x504357=_0x504357[_0x4a0ccf(0x223)];}while(_0x504357);return null;}[_0x43145c(0x2a3)](){const _0x1ef2bc=_0x43145c;this[_0x1ef2bc(0x1f5)][_0x1ef2bc(0x1a2)][_0x1ef2bc(0x25a)](_0x2f9314=>{const _0x1dbfe2=_0x1ef2bc;for(const _0x51d353 of this[_0x1dbfe2(0x1f5)][_0x1dbfe2(0x1a2)][_0x1dbfe2(0x17f)])_0x2f9314[_0x1dbfe2(0x17c)](_0x51d353);});}}function Z(_0x1a0ae4,_0x4cafc4){return(_0x193ffd,_0x12523e,_0x4c3d77)=>{const _0x4b6296=_0x59ee;if(!_0x4c3d77[_0x4b6296(0x24d)][_0x4b6296(0x296)](_0x12523e[_0x4b6296(0x2a0)],_0x193ffd[_0x4b6296(0x1a9)]))return;const _0x380e43=_0x12523e[_0x4b6296(0x2a0)][_0x4b6296(0x28f)](),_0xd89aec=_0x12523e[_0x4b6296(0x2a0)][_0x4b6296(0x294)],_0x373898=_0x1a0ae4[_0x4b6296(0x1a2)][_0x4b6296(0x180)];let _0xb8194e=null,_0x110b0e=null,_0x5e4128=!0x1,_0x594bc0=!0x1;for(const _0x3f581c of _0x380e43){const _0x4db181=_0x3f581c[_0x4b6296(0x197)];_0x5e4128=_0x5e4128||_0x373898[_0x4b6296(0x239)](_0x4db181);const _0x47f20f=_0x4c3d77[_0x4b6296(0x213)][_0x4b6296(0x24e)](_0x4db181);if(_0x47f20f&&_0x47f20f[_0x4b6296(0x1df)](_0x4b6296(0x262)))return;_0x4b6296(0x2bd)==_0x3f581c[_0x4b6296(0x19e)]&&(_0x373898[_0x4b6296(0x22b)](_0x4db181)&&!_0x373898[_0x4b6296(0x27f)](_0x4db181)&&(_0x4db181[_0x4b6296(0x27e)]||_0xd89aec[_0x4b6296(0x2b7)]?_0xb8194e&&_0xb8194e[_0x4b6296(0x223)]==_0x4db181||(_0xb8194e=_0x4db181,_0x101041(_0x3f581c[_0x4b6296(0x2b0)]),_0x594bc0=!0x0):_0x110b0e=_0x110b0e||_0x3f581c[_0x4b6296(0x2b0)]));}function _0x101041(_0x15fd9a){const _0x3e54e7=_0x4b6296,_0x250f87=_0x4c3d77[_0x3e54e7(0x213)][_0x3e54e7(0x201)](_0x15fd9a),_0x1a4e1b=_0x4c3d77[_0x3e54e7(0x183)][_0x3e54e7(0x1fa)](_0x3e54e7(0x2ba),{'class':_0x3e54e7(0x241)+_0x4cafc4});_0x4c3d77[_0x3e54e7(0x183)][_0x3e54e7(0x203)](_0x250f87,_0x1a4e1b),_0x4c3d77[_0x3e54e7(0x213)][_0x3e54e7(0x2b8)](_0x1a4e1b,_0x12523e[_0x3e54e7(0x1a4)]);}_0x5e4128||_0x594bc0||!_0x110b0e||_0x101041(_0x110b0e);};}export class RestoreRevisionCommand extends _0x2de69f{constructor(_0x444aad){const _0x23b280=_0x43145c;super(_0x444aad);const _0x44364a=_0x444aad[_0x23b280(0x22f)][_0x23b280(0x253)](d);this[_0x23b280(0x216)]=!0x1,this[_0x23b280(0x173)](_0x44364a,_0x23b280(0x2b3),()=>this[_0x23b280(0x235)]()),this[_0x23b280(0x173)](_0x44364a,_0x23b280(0x18e),()=>this[_0x23b280(0x235)]());}[_0x43145c(0x22c)](){const _0x301ea9=_0x43145c,_0x40ddfa=this[_0x301ea9(0x1f5)],_0x5bc5ee=_0x40ddfa[_0x301ea9(0x22f)][_0x301ea9(0x253)](d),_0x40587f=_0x5bc5ee[_0x301ea9(0x238)]?_0x5bc5ee[_0x301ea9(0x1c1)][_0x301ea9(0x284)]:null;_0x40ddfa[_0x301ea9(0x2a1)][_0x301ea9(0x253)](_0x301ea9(0x261))[_0x301ea9(0x18d)](_0x40587f);}[_0x43145c(0x235)](){const _0x10b0eb=_0x43145c,{isReady:_0x46ae05,isEnabled:_0x5a68bb,repository:_0x570ea8,diff:_0x3bd6e6}=this[_0x10b0eb(0x1f5)][_0x10b0eb(0x22f)][_0x10b0eb(0x253)](d),_0x53987a=_0x3bd6e6&&_0x570ea8[_0x10b0eb(0x1cb)](_0x3bd6e6[_0x10b0eb(0x284)]);this[_0x10b0eb(0x18a)]=_0x46ae05&&_0x5a68bb&&Boolean(_0x53987a);}}function _0x5632(){const _0x4de24a=['hasClass','_threeWayMerge','conversion','insertions','sort','selection','_removeUnsupportedChanges','isSuggestion','changeId','domEvent','_data','restoreRevision','_appendChild','diffData','isEqual','_update','slice','catch','ck-revision-history-root-remove','_markSuggestions','ck-suggestion-marker','viewItem','_initInteractions','diff','end','isObject','createRevision','attributesAfter','data','from','requires','upcast','markersStart','getLaterVisibleRevision','endIndex','elementStart','_activeViewTarget','revisionHistoryLabel','nextPosition','_setChanges','revision-end','getChild','ck-suggestion-marker--active','numberOfChanges','elementToAttribute','domConverter','POSITIVE_INFINITY','loadRevisionData','activeView','comment','_setConversion','ck-suggestion-marker-','toModel','getCustomProperty','find','showPreviousChange','detachRoot','abs','change:activeView','side','right','removeMarker:revision','getRevisionData','bottom','markersEnd','ck-editor__editable__overlay','top','document','processor','maxOffset','getRoot','nodeAfter','_getDiff','_changeView','roots','editor','showStack','isPremiumPlugin','9152sUPAMd','vid','createUIElement','ck-revision-history-root--active','revision-suggestion','compare','getRevision','delete','1317789QYBSfQ','toViewPosition','consume','insert','range','editing','level','downcastDispatcher','831346ssxKmj','length','markerNameToElements','createPositionFromPath','createAttributeElement','getRootNames','getRevisionRootsAttributes','data-change-id','isBefore','6iHHXbJ','getIndex','mapper','1539244DKJwNL','_changeIdToChange','affectsData','isRemoved','concat','RevisionViewer','_markInsertions','change:numberOfChanges','2655432FjNLqu','dataDowncast','revision-suggestion:','12qGvcLW','adapter','revision:','enqueueChange','parent','change:activeChange','revision-viewer','getClientRects','backward','_markMismatchedRemovedTags','rootName','toViewRange','isBlock','execute','_markMarkers','ck-revision-history-root-add','plugins','vid_end','remove','addRoot','_fixObsoleteTags','flat','refresh','_setDistance','resolve','isReady','isContent','revisionHistoryAttachChange','error','getAttributes','suggestion:','isCollapsed','parse','mousedown','ck-suggestion-preview-marker-','vid_start','stop','unshift','locale','activeChange','mouseover','isAttached','enableReadOnlyMode','_sortAndFilterDiffChanges','startIndex','removeClass','consumable','toViewElement','index','unbindElementFromMarkerName','_step','merge','get','_joinTapes','createRange','-new','_getViewObj','values','forEach','change','text','for','authors','left','clear','string','revisionHistory','addHighlight','return','offsetSize','dataToMarker','target','destroy','toData','deletion','addMarker:revision-suggestion:deletion','isNavigationMode','element','mapViewToDom','RevisionsRepository','isOfficialPlugin','findIndex','ck-suggestion-marker-merge','_refreshStartEndIndex','addMarker:revision-suggestion:insertion','_balloon','insertion','push','pop','userId','attributesBefore','isOnRoot','ck-suggestion-preview-marker','reconvertMarker','revision','nextSibling','isLimit','2qbeCNE','attribute:vid','addClass','default','newRevisionId','next','getItems','getDomRoot','addMarker:revision','6338184dJlAfV','has','marked','uiElement','highest','init','getWalker','_findChangeIdFromDomTarget','isAddSuggestion','ck-suggestion-marker-split','updatePosition','start','showNextChange','test','first','keys','high','useFillerType','shift','isAtStart','markerToData','view','isRemoveSuggestion','markerRange','config','_getRevisionsRange','_cleanMarkers','createPositionBefore','_makeTape','distance','wrap','data-revision-','revision-start','getAttribute','_getChangeFromId','low','createRangeIn','object','editingDowncast','previousPosition','splice','_removeMissingPairs','change:isReady','currentChangeNumber','removeMarker:revision-suggestion','30yDMLRJ','isAtEnd','bindElementToMarker','39NjHJie','span','softBreak','suggestion','elementEnd','done','bind','revision-comment:','checkAttribute','isAdded','split','children','_processTape','set','isIncorrect','listenTo','setAttribute','includes','oldRevisionId','collaboration.channelId','attachChange','4482ljtpxS','isAfter','all','removeMarker','startsWith','observeMarkers','markers','schema','changes','attributes','writer','map','WidgetToolbarRepository','_removeRevisionMarkers','add','forward','repository','isEnabled','isInline','removeAttribute','restoreRevisionCallback','change:isEnabled','element:pre','forceDisabled','_makeModelFromViewString','_getViewForChange','code','1390425mhHGwS','hasAttribute','commands','item','_cleanUp','indexOf','pluginName','modelRange','addRevisionData','addRevision','type','_revisions','then','markerToHighlight','model','pairId','markerName','ck-revision-history-root-','_makeModelFromTape','deletions','filter','name'];_0x5632=function(){return _0x4de24a;};return _0x5632();}export class ShowChangeCommand extends _0x2de69f{constructor(_0x25a389,{direction:_0x5b7674}){const _0x4df664=_0x43145c;super(_0x25a389);const _0x5e6358=_0x25a389[_0x4df664(0x22f)][_0x4df664(0x253)](d);this[_0x4df664(0x216)]=!0x1,this[_0x4df664(0x251)]=_0x4df664(0x188)===_0x5b7674?0x1:-0x1,this[_0x4df664(0x173)](_0x5e6358,_0x4df664(0x2b3),()=>this[_0x4df664(0x235)]()),this[_0x4df664(0x173)](_0x5e6358,_0x4df664(0x18e),()=>this[_0x4df664(0x235)]()),this[_0x4df664(0x173)](_0x5e6358,_0x4df664(0x224),()=>this[_0x4df664(0x235)]());}[_0x43145c(0x22c)](){const _0x5dee4f=_0x43145c,_0x36036e=this[_0x5dee4f(0x1f5)],_0x203ba2=_0x36036e[_0x5dee4f(0x22f)][_0x5dee4f(0x253)](d),{isNavigationMode:_0x584971,currentChangeNumber:_0x528899}=_0x203ba2;let _0x45a623;if(_0x203ba2[_0x5dee4f(0x246)]=_0x584971?_0x203ba2[_0x5dee4f(0x1c1)][_0x5dee4f(0x181)][_0x5dee4f(0x253)](_0x528899+this[_0x5dee4f(0x251)]):_0x203ba2[_0x5dee4f(0x1c1)][_0x5dee4f(0x181)][_0x5dee4f(0x297)],_0x203ba2[_0x5dee4f(0x246)][_0x5dee4f(0x1c6)][_0x5dee4f(0x27a)])_0x45a623=_0x36036e[_0x5dee4f(0x205)][_0x5dee4f(0x29e)][_0x5dee4f(0x287)](_0x203ba2[_0x5dee4f(0x246)][_0x5dee4f(0x229)]);else{const _0xb0ab8f=_0x36036e[_0x5dee4f(0x1a2)][_0x5dee4f(0x17f)][_0x5dee4f(0x253)](_0x5dee4f(0x221)+_0x203ba2[_0x5dee4f(0x246)]['id']);_0x45a623=_0x330173(_0x36036e[_0x5dee4f(0x205)],_0xb0ab8f);}_0x1d6db8({'target':_0x45a623,'viewportOffset':0x28});}[_0x43145c(0x235)](){const _0x335693=_0x43145c,{isNavigationMode:_0x24e3d3,currentChangeNumber:_0x11756a,numberOfChanges:_0x5808cc,isReady:_0x4b4a2e,isEnabled:_0x285252}=this[_0x335693(0x1f5)][_0x335693(0x22f)][_0x335693(0x253)](d);this[_0x335693(0x18a)]=!!(_0x285252&&_0x4b4a2e&&_0x5808cc)&&(!_0x24e3d3||(0x1===this[_0x335693(0x251)]?_0x11756a<_0x5808cc-0x1:_0x11756a>0x0));}}
|
|
23
|
+
const _0x1bd6f8=_0xf7e6;(function(_0x35eb30,_0x7df9ed){const _0x5b5371=_0xf7e6,_0x2c8307=_0x35eb30();while(!![]){try{const _0x692371=parseInt(_0x5b5371(0x204))/0x1+parseInt(_0x5b5371(0x1eb))/0x2+-parseInt(_0x5b5371(0x1f2))/0x3+-parseInt(_0x5b5371(0x28b))/0x4+parseInt(_0x5b5371(0x2e3))/0x5+parseInt(_0x5b5371(0x281))/0x6+parseInt(_0x5b5371(0x255))/0x7;if(_0x692371===_0x7df9ed)break;else _0x2c8307['push'](_0x2c8307['shift']());}catch(_0x5668c9){_0x2c8307['push'](_0x2c8307['shift']());}}}(_0x2e9e,0x6d2bf));import{Plugin as _0x541746,Command as _0x2fb06f}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2dcaf9}from'ckeditor5/src/utils.js';import{ContextualBalloon as _0x114626}from'ckeditor5/src/ui.js';import{DocumentFragment as _0x2a8df3,Element as _0x2261e5,Text as _0x58a204,ViewDocumentFragment as _0x3502dc,ViewText as _0x511307,ViewElement as _0x519931,ViewContainerElement as _0x48d496,ViewAttributeElement as _0x40c73b,ViewEmptyElement as _0x32bf49,ViewRawElement as _0x13842f,ViewUIElement as _0xe813ca}from'ckeditor5/src/engine.js';import{Users as _0x2358f7,getMarkerDomElement as _0x302631}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x153d5f from'./ui/revisionviewer/changedetailsview.js';import _0x168908 from'./revisionsrepository.js';import _0x2baff5 from'./changeitem.js';import{default as _0xe6ca1}from'./revisiondiff.js';import'../theme/revisionviewer.css';import{cloneDeep as _0x48af61}from'lodash-es';const Y={'c':_0x48d496,'a':_0x40c73b,'e':_0x32bf49,'r':_0x13842f,'u':_0xe813ca};export default class d extends _0x541746{static get[_0x1bd6f8(0x1d1)](){const _0x382042=_0x1bd6f8;return _0x382042(0x278);}static get[_0x1bd6f8(0x2f5)](){return!0x0;}static get[_0x1bd6f8(0x22e)](){return!0x0;}static get[_0x1bd6f8(0x292)](){return[_0x2358f7,_0x114626,_0x168908];}constructor(_0x7bf30){const _0x1cefde=_0x1bd6f8;super(_0x7bf30),this[_0x1cefde(0x2b3)]=this[_0x1cefde(0x289)][_0x1cefde(0x23e)][_0x1cefde(0x1ef)](_0x1cefde(0x2f6)),this[_0x1cefde(0x1be)](_0x1cefde(0x1d7),null),this[_0x1cefde(0x1be)](_0x1cefde(0x1d5),null),this[_0x1cefde(0x2a8)]=null,this[_0x1cefde(0x1be)](_0x1cefde(0x1f4),null),this[_0x1cefde(0x1be)](_0x1cefde(0x2f9),!0x1),this[_0x1cefde(0x1be)](_0x1cefde(0x1e6),!0x0),this['on'](_0x1cefde(0x237),(_0x33a573,_0x1cbbe6,_0x2452ce)=>{const _0x5f2a43=_0x1cefde;this[_0x5f2a43(0x1d7)]=null,this[_0x5f2a43(0x1d5)]=null,this[_0x5f2a43(0x289)][_0x5f2a43(0x229)][_0x5f2a43(0x235)][_0x5f2a43(0x2bb)](_0x34d4ac=>{const _0x45fefb=_0x5f2a43;for(const _0xae9e3 of this[_0x45fefb(0x289)][_0x45fefb(0x229)][_0x45fefb(0x235)][_0x45fefb(0x2ca)][_0x45fefb(0x1da)])_0x2452ce?_0x34d4ac[_0x45fefb(0x1d2)](_0x45fefb(0x1fc),_0xae9e3):_0x34d4ac[_0x45fefb(0x1d0)](_0x45fefb(0x1fc),_0xae9e3);});}),this[_0x1cefde(0x1e1)](_0x1cefde(0x27e))['to'](this,_0x1cefde(0x1d7),_0x513bfe=>null!==_0x513bfe),this[_0x1cefde(0x1e1)](_0x1cefde(0x26e))['to'](this,_0x1cefde(0x2f9),this,_0x1cefde(0x1f4),this,_0x1cefde(0x1d7),(_0x5ee3db,_0x5764f2,_0x195514)=>_0x5ee3db&&_0x195514?_0x5764f2[_0x1cefde(0x2e7)][_0x1cefde(0x1b2)](_0x195514):0x0),this[_0x1cefde(0x1e1)](_0x1cefde(0x274))['to'](this,_0x1cefde(0x2f9),this,_0x1cefde(0x1f4),(_0x4b5052,_0x4c7b80)=>_0x4b5052?_0x4c7b80[_0x1cefde(0x2e7)][_0x1cefde(0x1db)]:0x0),this[_0x1cefde(0x25b)]=null,this[_0x1cefde(0x295)]=new Map(),this[_0x1cefde(0x2c3)]=null,this[_0x1cefde(0x28d)]=this[_0x1cefde(0x289)][_0x1cefde(0x23e)][_0x1cefde(0x1ef)](_0x114626);}[_0x1bd6f8(0x270)](){const _0x458757=_0x1bd6f8,_0x4d5081=this[_0x458757(0x289)],_0x3e7d5e=new ShowChangeCommand(_0x4d5081,{'direction':_0x458757(0x239)}),_0x59f836=new ShowChangeCommand(_0x4d5081,{'direction':_0x458757(0x2e1)});(_0x4d5081[_0x458757(0x252)][_0x458757(0x1bf)](_0x458757(0x2c2),_0x3e7d5e),_0x4d5081[_0x458757(0x252)][_0x458757(0x1bf)](_0x458757(0x23a),_0x59f836),_0x4d5081[_0x458757(0x252)][_0x458757(0x1bf)](_0x458757(0x1f6),new RestoreRevisionCommand(_0x4d5081)),this['on'](_0x458757(0x296),()=>{const _0x2e4089=_0x458757;_0x3e7d5e[_0x2e4089(0x2ab)](),_0x59f836[_0x2e4089(0x2ab)]();}),this[_0x458757(0x2c8)](),this[_0x458757(0x241)](),_0x4d5081[_0x458757(0x245)](_0x458757(0x1ba)),_0x4d5081[_0x458757(0x23e)][_0x458757(0x294)](_0x458757(0x1b3)))&&_0x4d5081[_0x458757(0x23e)][_0x458757(0x1ef)](_0x458757(0x1b3))[_0x458757(0x24b)](_0x458757(0x1ba));}async[_0x1bd6f8(0x23b)](_0xabdd54){const _0x143a6d=_0x1bd6f8;await this[_0x143a6d(0x2c7)](_0xabdd54);const _0xf49d85={};for(const _0x45b199 in _0xabdd54[_0x143a6d(0x2de)]){if(_0xabdd54[_0x143a6d(0x2de)][_0x45b199][_0x143a6d(0x1fe)]&&!_0xabdd54[_0x143a6d(0x2de)][_0x45b199][_0x143a6d(0x1fe)][_0x143a6d(0x1bc)])continue;const _0x2e3cb3=this[_0x143a6d(0x1f5)](JSON[_0x143a6d(0x219)](_0xabdd54[_0x143a6d(0x2de)][_0x45b199][_0x143a6d(0x27d)])),_0x4e6bcc=this[_0x143a6d(0x289)][_0x143a6d(0x229)][_0x143a6d(0x235)][_0x143a6d(0x2ca)],_0x5f3940=new _0x3502dc(_0x4e6bcc,_0x2e3cb3[_0x143a6d(0x2b2)](_0x1af671=>this[_0x143a6d(0x2ad)](_0x1af671)));this[_0x143a6d(0x289)][_0x143a6d(0x25d)][_0x143a6d(0x1b9)][_0x143a6d(0x216)](_0x143a6d(0x2af)),_0xf49d85[_0x45b199]=this[_0x143a6d(0x289)][_0x143a6d(0x25d)][_0x143a6d(0x1b9)][_0x143a6d(0x2e6)](_0x5f3940),this[_0x143a6d(0x289)][_0x143a6d(0x25d)][_0x143a6d(0x1b9)][_0x143a6d(0x216)](_0x143a6d(0x21f));}return _0xf49d85;}async[_0x1bd6f8(0x273)](_0x252877){const _0x256022=_0x1bd6f8;await this[_0x256022(0x2c7)](_0x252877);const _0x3c3520={};for(const _0x247226 in _0x252877[_0x256022(0x2de)])_0x252877[_0x256022(0x2de)][_0x247226][_0x256022(0x1fe)]&&!_0x252877[_0x256022(0x2de)][_0x247226][_0x256022(0x1fe)][_0x256022(0x1bc)]||(_0x3c3520[_0x247226]=_0x252877[_0x256022(0x2de)][_0x247226][_0x256022(0x2cc)]||{});return _0x3c3520;}[_0x1bd6f8(0x1f5)](_0x33c3b4){const _0x56434d=_0x1bd6f8;return(_0x33c3b4=_0x33c3b4[_0x56434d(0x1dd)](_0x153a43=>!_0x153a43[_0x56434d(0x206)]||_0x56434d(0x20e)!==_0x153a43[_0x56434d(0x206)]&&_0x56434d(0x1ee)!==_0x153a43[_0x56434d(0x206)]))[_0x56434d(0x2bc)](_0xeafe11=>{const _0x25c07a=_0x56434d;_0x25c07a(0x1b5)!=typeof _0xeafe11&&(_0xeafe11[_0x25c07a(0x277)]=this[_0x25c07a(0x1f5)](_0xeafe11[_0x25c07a(0x277)]),_0xeafe11[_0x25c07a(0x208)]=_0xeafe11[_0x25c07a(0x208)][_0x25c07a(0x1dd)](_0x3ece95=>!_0x3ece95[0x0][_0x25c07a(0x244)](_0x25c07a(0x21e))));}),_0x33c3b4;}async[_0x1bd6f8(0x225)](_0x2c01f0,_0x1b6c25,_0x3ef9ce=!0x1){const _0x4d8e2c=_0x1bd6f8;if(!this[_0x4d8e2c(0x1e6)])return;const _0x53714b=this[_0x4d8e2c(0x1f4)],_0x2a3d2f=this[_0x4d8e2c(0x2b3)],_0x1bd218=_0x4d8e2c(0x1b5)==typeof _0x2c01f0?_0x2a3d2f[_0x4d8e2c(0x2e9)](_0x2c01f0):_0x2c01f0,_0x336ae0=_0x4d8e2c(0x1b5)==typeof _0x1b6c25?_0x2a3d2f[_0x4d8e2c(0x2e9)](_0x1b6c25):_0x1b6c25,_0x8d3175=_0x1bd218['id'],_0x56d9aa=_0x336ae0?_0x336ae0['id']:null;if(!_0x3ef9ce&&this[_0x4d8e2c(0x1f4)]&&this[_0x4d8e2c(0x1f4)][_0x4d8e2c(0x27f)]===_0x8d3175&&this[_0x4d8e2c(0x1f4)][_0x4d8e2c(0x1c6)]===_0x56d9aa)return Promise[_0x4d8e2c(0x1d9)]();this[_0x4d8e2c(0x2f9)]=!0x1,this[_0x4d8e2c(0x1d5)]=null,this[_0x4d8e2c(0x1d7)]=null,this[_0x4d8e2c(0x1f4)]=new _0xe6ca1(_0x8d3175,_0x56d9aa);const _0x5eb838=this[_0x4d8e2c(0x24a)](_0x1bd218,_0x336ae0,!0x0)[_0x4d8e2c(0x2b2)](_0x2c8921=>this[_0x4d8e2c(0x2c7)](_0x2c8921));return _0x5eb838[_0x4d8e2c(0x1c4)](new Promise(_0x1c9d57=>{setTimeout(_0x1c9d57,0x14);})),Promise[_0x4d8e2c(0x233)](_0x5eb838)[_0x4d8e2c(0x1f7)](()=>{const _0x49b42e=_0x4d8e2c;if(!this[_0x49b42e(0x1e6)])return;this[_0x49b42e(0x254)]();const _0x4b60d4=this[_0x49b42e(0x2d1)](_0x8d3175,_0x56d9aa);for(const _0x5e3783 of _0x4b60d4[_0x49b42e(0x2e7)])this[_0x49b42e(0x295)][_0x49b42e(0x1be)](_0x5e3783['id'],_0x5e3783);this[_0x49b42e(0x289)][_0x49b42e(0x1ce)][_0x49b42e(0x26f)]({'isUndoable':!0x1},_0x56aa98=>{const _0xd6428d=_0x49b42e;for(const _0x130a26 of this[_0xd6428d(0x289)][_0xd6428d(0x1ce)][_0xd6428d(0x2ca)][_0xd6428d(0x1f3)]())_0x56aa98[_0xd6428d(0x2cb)](_0x130a26);for(const _0x447f56 of Object[_0xd6428d(0x201)](_0x4b60d4[_0xd6428d(0x1ce)])){const _0x2315af=_0x56aa98[_0xd6428d(0x224)](_0x447f56);for(const _0x47e6f0 of Object[_0xd6428d(0x201)](_0x4b60d4[_0xd6428d(0x208)][_0x447f56]))_0x56aa98[_0xd6428d(0x231)](_0x47e6f0,_0x4b60d4[_0xd6428d(0x208)][_0x447f56][_0x47e6f0],_0x2315af);_0x56aa98[_0xd6428d(0x2d8)](_0x4b60d4[_0xd6428d(0x1ce)][_0x447f56],_0x2315af,0x0);}}),this[_0x49b42e(0x1f4)][_0x49b42e(0x228)](this[_0x49b42e(0x2d4)](_0x4b60d4[_0x49b42e(0x2e7)])),this[_0x49b42e(0x2f9)]=!0x0;})[_0x4d8e2c(0x2ee)](_0x10c77b=>{const _0x295868=_0x4d8e2c;console[_0x295868(0x1d6)](_0x10c77b),this[_0x295868(0x254)](),_0x53714b&&(this[_0x295868(0x1f4)]=_0x53714b),this[_0x295868(0x2f9)]=!0x0;});}[_0x1bd6f8(0x287)](_0x24cc91,_0x33b3af){const _0x4d325c=_0x1bd6f8,_0x40a323=this[_0x4d325c(0x2b3)][_0x4d325c(0x22b)](_0x24cc91);return _0x40a323['on'](_0x4d325c(0x2d2),(_0x2d0fb6,_0x284729,_0x1802ea)=>_0x33b3af(_0x284729,_0x1802ea,_0x40a323)),this[_0x4d325c(0x2b3)][_0x4d325c(0x1bb)](_0x40a323),_0x40a323;}[_0x1bd6f8(0x2c7)](_0x1a6d96){const _0x50af4f=_0x1bd6f8;if(!_0x1a6d96||_0x1a6d96[_0x50af4f(0x2de)])return Promise[_0x50af4f(0x1d9)]();{const _0x420270=this[_0x50af4f(0x289)][_0x50af4f(0x1e8)][_0x50af4f(0x1ef)](_0x50af4f(0x1ca));return this[_0x50af4f(0x2c3)][_0x50af4f(0x2e9)]({'channelId':_0x420270,'revisionId':_0x1a6d96['id']})[_0x50af4f(0x1f7)](_0x27c03d=>{const _0x170302=_0x50af4f;_0x1a6d96[_0x170302(0x2d2)]({'diffData':_0x27c03d[_0x170302(0x2de)]},!0x0);});}}[_0x1bd6f8(0x254)](){const _0x29a5de=_0x1bd6f8;this[_0x29a5de(0x1d7)]=null,this[_0x29a5de(0x25a)](),this[_0x29a5de(0x25b)]&&this[_0x29a5de(0x25b)][_0x29a5de(0x2b5)](),this[_0x29a5de(0x25b)]=null,this[_0x29a5de(0x295)][_0x29a5de(0x268)](),this[_0x29a5de(0x289)][_0x29a5de(0x1ce)][_0x29a5de(0x26f)]({'isUndoable':!0x1},_0x21c106=>{const _0x216140=_0x29a5de;for(const _0x924396 of this[_0x216140(0x289)][_0x216140(0x1ce)][_0x216140(0x2ca)][_0x216140(0x1f3)]())_0x21c106[_0x216140(0x2cb)](_0x924396);});}[_0x1bd6f8(0x2d4)](_0x1a461a){const _0xfe0807=_0x1bd6f8,_0x46443a=[],_0x27b18b=new Map();for(const _0x500208 of this[_0xfe0807(0x289)][_0xfe0807(0x1ce)][_0xfe0807(0x2ca)][_0xfe0807(0x1f3)]()){const _0x45793a=this[_0xfe0807(0x289)][_0xfe0807(0x229)][_0xfe0807(0x235)][_0xfe0807(0x24d)](_0x500208);if(!_0x45793a)continue;const _0x1ad6cc=_0x45793a[_0xfe0807(0x215)]()[_0xfe0807(0x250)](0x0);_0x1ad6cc&&(_0x46443a[_0xfe0807(0x1c4)](_0x500208),_0x27b18b[_0xfe0807(0x1be)](_0x500208,_0x1ad6cc));}return _0x46443a[_0xfe0807(0x2a3)]((_0x2764e4,_0xd8dc94)=>{const _0x538036=_0xfe0807,_0x462880=_0x27b18b[_0x538036(0x1ef)](_0x2764e4),_0x37d0a0=_0x27b18b[_0x538036(0x1ef)](_0xd8dc94);return _0x462880['y']-_0x37d0a0['y']||_0x462880['x']-_0x37d0a0['x'];}),(_0x1a461a=_0x1a461a[_0xfe0807(0x1dd)](_0x48580b=>_0x46443a[_0xfe0807(0x20b)](_0x48580b[_0xfe0807(0x288)])))[_0xfe0807(0x2a3)]((_0x267008,_0x59df5c)=>_0x46443a[_0xfe0807(0x22c)](_0x267008[_0xfe0807(0x288)])-_0x46443a[_0xfe0807(0x22c)](_0x59df5c[_0xfe0807(0x288)])),_0x1a461a;}[_0x1bd6f8(0x243)](_0x53ba9f){const _0x3735f0=_0x1bd6f8,_0xd32b0b=Array[_0x3735f0(0x29e)](_0x53ba9f[_0x3735f0(0x276)])[_0x3735f0(0x1dd)](([_0x442db2,_0x295e7f])=>_0x442db2[_0x3735f0(0x244)](_0x3735f0(0x209))&&!_0x295e7f[_0x3735f0(0x29d)]),_0x13e091=Array[_0x3735f0(0x29e)](this[_0x3735f0(0x289)][_0x3735f0(0x1ce)][_0x3735f0(0x265)](_0x53ba9f)[_0x3735f0(0x2f1)]({'singleCharacters':!0x0}));if(0x0!=_0xd32b0b[_0x3735f0(0x1db)])for(const _0x2e1fa9 of _0x13e091){const [_0x29a78e,_0x49aca9]=_0xd32b0b[0x0],[,_0xc7b7b4,_0x461875]=_0x29a78e[_0x3735f0(0x22f)](':');if(_0x49aca9[_0x3735f0(0x2dc)][_0x3735f0(0x1c7)](_0x2e1fa9[_0x3735f0(0x2c4)])&&_0xd32b0b[_0x3735f0(0x2b0)](),(_0x2e1fa9[_0x3735f0(0x2d3)][_0x3735f0(0x1c7)](_0x49aca9[_0x3735f0(0x1ae)])||_0x2e1fa9[_0x3735f0(0x2d3)][_0x3735f0(0x21c)](_0x49aca9[_0x3735f0(0x1ae)]))&&(_0x3735f0(0x2ed)==_0xc7b7b4?_0x2e1fa9[_0x3735f0(0x25c)]={'userId':_0x461875}:_0x3735f0(0x27c)==_0xc7b7b4&&(_0x2e1fa9[_0x3735f0(0x29f)]={'userId':_0x461875})),0x0==_0xd32b0b[_0x3735f0(0x1db)])break;}return _0x13e091;}[_0x1bd6f8(0x262)](_0x413337){const _0x13e4dc=_0x1bd6f8,_0x3c610a=new Map();for(let _0x58643a=0x0;_0x58643a<_0x413337[_0x13e4dc(0x1db)];_0x58643a++)_0x13e4dc(0x1e5)===_0x413337[_0x58643a][_0x13e4dc(0x240)]?(_0x413337[_0x58643a][_0x13e4dc(0x250)][_0x13e4dc(0x1dc)]=_0x58643a,_0x413337[_0x58643a][_0x13e4dc(0x250)][_0x13e4dc(0x1c8)]=_0x58643a):(_0x13e4dc(0x280)===_0x413337[_0x58643a][_0x13e4dc(0x240)]?_0x413337[_0x58643a][_0x13e4dc(0x250)][_0x13e4dc(0x1dc)]=_0x58643a:_0x13e4dc(0x1e2)===_0x413337[_0x58643a][_0x13e4dc(0x240)]&&(_0x413337[_0x58643a][_0x13e4dc(0x250)][_0x13e4dc(0x1c8)]=_0x58643a),_0x3c610a[_0x13e4dc(0x1be)](_0x413337[_0x58643a]['id'],_0x58643a));for(const _0x402511 of _0x3c610a[_0x13e4dc(0x279)]())_0x13e4dc(0x280)===_0x413337[_0x402511][_0x13e4dc(0x240)]?_0x413337[_0x402511][_0x13e4dc(0x250)][_0x13e4dc(0x1c8)]=_0x3c610a[_0x13e4dc(0x1ef)](_0x413337[_0x402511][_0x13e4dc(0x257)]):_0x13e4dc(0x1e2)===_0x413337[_0x402511][_0x13e4dc(0x240)]&&(_0x413337[_0x402511][_0x13e4dc(0x250)][_0x13e4dc(0x1dc)]=_0x3c610a[_0x13e4dc(0x1ef)](_0x413337[_0x402511][_0x13e4dc(0x257)]));}[_0x1bd6f8(0x217)](_0x3b97ce){const _0x38045b=_0x1bd6f8;for(let _0x1aa56=0x0;_0x1aa56<_0x3b97ce[_0x38045b(0x1db)];_0x1aa56++){if(_0x38045b(0x280)===_0x3b97ce[_0x1aa56][_0x38045b(0x240)])_0x3b97ce[_0x1aa56][_0x38045b(0x250)][_0x38045b(0x1dc)]=_0x1aa56;else{if(_0x38045b(0x1e2)===_0x3b97ce[_0x1aa56][_0x38045b(0x240)]){_0x3b97ce[_0x1aa56][_0x38045b(0x250)][_0x38045b(0x1c8)]=_0x1aa56;const _0x16c84c=_0x3b97ce[_0x1aa56][_0x38045b(0x250)][_0x38045b(0x1dc)];_0x3b97ce[_0x16c84c][_0x38045b(0x257)]=_0x3b97ce[_0x1aa56]['id'],_0x3b97ce[_0x1aa56][_0x38045b(0x257)]=_0x3b97ce[_0x16c84c]['id'];}else _0x3b97ce[_0x1aa56][_0x38045b(0x250)][_0x38045b(0x1dc)]=_0x1aa56,_0x3b97ce[_0x1aa56][_0x38045b(0x250)][_0x38045b(0x1c8)]=_0x1aa56,_0x3b97ce[_0x1aa56][_0x38045b(0x257)]=null;}_0x3b97ce[_0x1aa56][_0x38045b(0x28a)]||(_0x3b97ce[_0x1aa56][_0x38045b(0x28a)]=[],_0x3b97ce[_0x1aa56][_0x38045b(0x2b1)]=[]);}}[_0x1bd6f8(0x23c)](_0x3b62bc,_0x43c918){const _0x3de3f7=_0x1bd6f8,_0x5a0fc4=_0x3b62bc[_0x3de3f7(0x1dd)](_0x44c88d=>!_0x44c88d[_0x3de3f7(0x25c)]);for(let _0x2ec2b5=0x0;_0x2ec2b5<_0x43c918[_0x3de3f7(0x1db)];_0x2ec2b5++)_0x43c918[_0x2ec2b5][_0x3de3f7(0x25c)]&&(_0x5a0fc4[_0x2ec2b5][_0x3de3f7(0x25c)]=_0x43c918[_0x2ec2b5][_0x3de3f7(0x25c)]);}[_0x1bd6f8(0x2ae)](_0x2eae23){const _0x206813=_0x1bd6f8,_0x1eb310=JSON[_0x206813(0x219)](_0x2eae23),_0x291476=this[_0x206813(0x289)][_0x206813(0x229)][_0x206813(0x235)][_0x206813(0x2ca)],_0x34e279=new _0x3502dc(_0x291476,_0x1eb310[_0x206813(0x2b2)](_0x5bce31=>this[_0x206813(0x2ad)](_0x5bce31)));return this[_0x206813(0x289)][_0x206813(0x25d)][_0x206813(0x230)](_0x34e279);}[_0x1bd6f8(0x2ad)](_0x506b26){const _0x1df52f=_0x1bd6f8,_0x52b4ae=this[_0x1df52f(0x289)][_0x1df52f(0x229)][_0x1df52f(0x235)][_0x1df52f(0x2ca)];if(_0x1df52f(0x1b5)==typeof _0x506b26)return new _0x511307(_0x52b4ae,_0x506b26);{const _0x16aa6e=_0x506b26[_0x1df52f(0x277)][_0x1df52f(0x2b2)](_0x5987ab=>this[_0x1df52f(0x2ad)](_0x5987ab));return new(Y[_0x506b26[(_0x1df52f(0x240))]]||_0x519931)(_0x52b4ae,_0x506b26[_0x1df52f(0x206)],_0x506b26[_0x1df52f(0x208)],_0x16aa6e);}}[_0x1bd6f8(0x2d1)](_0x1c0753,_0x41774a=null){const _0x15a2e9=_0x1bd6f8,_0x2b2a78=this[_0x15a2e9(0x2b3)][_0x15a2e9(0x2e9)](_0x1c0753),_0x21d788=_0x41774a?this[_0x15a2e9(0x2b3)][_0x15a2e9(0x2e9)](_0x41774a):null,_0x5fd75=this[_0x15a2e9(0x24a)](_0x2b2a78,_0x21d788),_0x1d9219=_0x5fd75[_0x5fd75[_0x15a2e9(0x1db)]-0x1],_0x440473=new Map(),_0x263938={'model':{},'attributes':{},'changes':[]},_0x498126=new Set(),_0x14be72=new Map();for(let _0x39bc76=_0x5fd75[_0x15a2e9(0x1db)]-0x1;_0x39bc76>=0x0;_0x39bc76--){const _0x2df060=_0x5fd75[_0x39bc76];for(const _0x4dc06e of Object[_0x15a2e9(0x201)](_0x2df060[_0x15a2e9(0x2de)]))if(_0x2df060[_0x15a2e9(0x2de)][_0x4dc06e][_0x15a2e9(0x1fe)]){const _0x30abea=_0x2df060[_0x15a2e9(0x2de)][_0x4dc06e][_0x15a2e9(0x1fe)];_0x30abea[_0x15a2e9(0x1bc)]?(_0x498126[_0x15a2e9(0x1bf)](_0x4dc06e),_0x14be72[_0x15a2e9(0x294)](_0x4dc06e)&&_0x14be72[_0x15a2e9(0x1ef)](_0x4dc06e)[_0x15a2e9(0x1f0)]==_0x30abea[_0x15a2e9(0x1f0)]?_0x14be72[_0x15a2e9(0x2f3)](_0x4dc06e):_0x14be72[_0x15a2e9(0x1be)](_0x4dc06e,_0x30abea)):_0x14be72[_0x15a2e9(0x294)](_0x4dc06e)?(_0x498126[_0x15a2e9(0x2f3)](_0x4dc06e),_0x14be72[_0x15a2e9(0x2f3)](_0x4dc06e)):(_0x498126[_0x15a2e9(0x1bf)](_0x4dc06e),_0x14be72[_0x15a2e9(0x1be)](_0x4dc06e,_0x30abea));}else _0x498126[_0x15a2e9(0x1bf)](_0x4dc06e);}for(const _0x5a474e of _0x498126){const _0x72b2b6=_0x14be72[_0x15a2e9(0x294)](_0x5a474e)&&!_0x14be72[_0x15a2e9(0x1ef)](_0x5a474e)[_0x15a2e9(0x1bc)];let _0x5ac8fe=_0x72b2b6?_0x5fd75[_0x15a2e9(0x1db)]-0x1:0x0;const _0x31a148=_0x72b2b6?-0x1:0x1;for(;_0x5fd75[_0x5ac8fe];){const _0x3bc21a=_0x5fd75[_0x5ac8fe];if(_0x3bc21a[_0x15a2e9(0x2de)][_0x5a474e]){const _0x48b7c5=_0x72b2b6?_0x3bc21a[_0x15a2e9(0x2de)][_0x5a474e][_0x15a2e9(0x232)]:_0x3bc21a[_0x15a2e9(0x2de)][_0x5a474e][_0x15a2e9(0x2cc)];_0x263938[_0x15a2e9(0x208)][_0x5a474e]=_0x48b7c5?_0x48af61(_0x48b7c5):{};break;}_0x5ac8fe+=_0x31a148;}}for(const _0x306935 of _0x5fd75){_0x306935[_0x15a2e9(0x1ce)]={};for(const _0x1489cf of _0x306935[_0x15a2e9(0x242)])_0x440473[_0x15a2e9(0x1be)](_0x1489cf['id'],_0x1489cf);for(const _0x2d25fa of _0x498126){const _0x5b37a7=_0x306935[_0x15a2e9(0x2de)][_0x2d25fa]?_0x306935[_0x15a2e9(0x2de)][_0x2d25fa][_0x15a2e9(0x27d)]:'[]',_0x1e932=_0x306935[_0x15a2e9(0x2de)][_0x2d25fa]?_0x306935[_0x15a2e9(0x2de)][_0x2d25fa][_0x15a2e9(0x1c2)]:'[]';_0x306935[_0x15a2e9(0x1ce)][_0x2d25fa]={'insertions':this[_0x15a2e9(0x2ae)](_0x5b37a7),'deletions':this[_0x15a2e9(0x2ae)](_0x1e932)};}}for(const _0x489b57 of _0x498126){let _0x105e64=null,_0x321e18=0x0;const _0x37096e=new Map(Array[_0x15a2e9(0x29e)](_0x2b2a78[_0x15a2e9(0x1ce)][_0x489b57][_0x15a2e9(0x27d)][_0x15a2e9(0x276)])[_0x15a2e9(0x1dd)](([_0x56a69e])=>!_0x56a69e[_0x15a2e9(0x244)](_0x15a2e9(0x209))));let _0x3ae6ea=0x0;for(const _0x253abc of _0x5fd75){const _0x5539f6=this[_0x15a2e9(0x243)](_0x253abc[_0x15a2e9(0x1ce)][_0x489b57][_0x15a2e9(0x27d)]);_0x253abc==_0x2b2a78?(_0x105e64=_0x5539f6,_0x321e18=_0x105e64[_0x15a2e9(0x1db)],_0x105e64[_0x15a2e9(0x2bc)](_0xdb12aa=>{_0xdb12aa['id']=_0x3ae6ea++;}),this[_0x15a2e9(0x217)](_0x105e64)):this[_0x15a2e9(0x23c)](_0x105e64,_0x5539f6);const _0xcded6b=_0x105e64[_0x15a2e9(0x1dd)](_0xb65822=>!_0xb65822[_0x15a2e9(0x25c)])[_0x15a2e9(0x2b2)](_0x51857f=>_0x51857f['id']);let _0x53eef8=0x0;const _0x225ddf=this[_0x15a2e9(0x243)](_0x253abc[_0x15a2e9(0x1ce)][_0x489b57][_0x15a2e9(0x1c2)]);_0x225ddf[_0x15a2e9(0x2bc)](_0x210c29=>{const _0x17f31b=_0x15a2e9;_0x210c29[_0x17f31b(0x29f)]?_0x210c29['id']=_0x321e18++:_0x210c29['id']=_0xcded6b[_0x53eef8++];}),this[_0x15a2e9(0x217)](_0x225ddf),this[_0x15a2e9(0x223)](_0x105e64,_0x15a2e9(0x25c)),this[_0x15a2e9(0x223)](_0x225ddf,_0x15a2e9(0x29f)),_0x253abc==_0x2b2a78&&this[_0x15a2e9(0x261)](_0x105e64,_0x37096e),_0x105e64=this[_0x15a2e9(0x2b9)](_0x105e64,_0x225ddf),this[_0x15a2e9(0x262)](_0x105e64),this[_0x15a2e9(0x223)](_0x105e64,_0x15a2e9(0x29f));}_0x105e64=_0x105e64[_0x15a2e9(0x1dd)](_0x2d92d7=>!(_0x2d92d7[_0x15a2e9(0x25c)]&&_0x2d92d7[_0x15a2e9(0x29f)]));const _0x3efcf0=new Map(_0x1d9219[_0x15a2e9(0x1ce)][_0x489b57][_0x15a2e9(0x1c2)][_0x15a2e9(0x276)]),_0xeb86b3=new Set(_0x37096e[_0x15a2e9(0x201)]());for(const _0x186a7c of _0x3efcf0[_0x15a2e9(0x201)]())_0xeb86b3[_0x15a2e9(0x2f3)](_0x186a7c);this[_0x15a2e9(0x2c0)](_0x105e64,_0xeb86b3),this[_0x15a2e9(0x22d)](_0x105e64),_0x105e64=this[_0x15a2e9(0x2db)](_0x105e64),_0x105e64=this[_0x15a2e9(0x247)](_0x105e64),_0x105e64=this[_0x15a2e9(0x20a)](_0x105e64);const {root:_0x57c58b,changes:_0x37cad9}=this[_0x15a2e9(0x1e9)](_0x105e64,_0x440473,_0x489b57);_0x263938[_0x15a2e9(0x1ce)][_0x489b57]=_0x57c58b;const _0x58ed5e=_0x14be72[_0x15a2e9(0x1ef)](_0x489b57);if(_0x58ed5e){const _0x339216=_0x440473[_0x15a2e9(0x1ef)](_0x58ed5e[_0x15a2e9(0x1f0)]),_0x1f9b5e=new _0x2baff5({'author':_0x339216,'type':_0x58ed5e[_0x15a2e9(0x1bc)]?_0x15a2e9(0x1bf):_0x15a2e9(0x1b7),'data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x489b57});_0x37cad9[_0x15a2e9(0x1d3)](_0x1f9b5e),_0x263938[_0x15a2e9(0x208)][_0x489b57][_0x15a2e9(0x1cd)]=_0x1f9b5e['id'];}_0x263938[_0x15a2e9(0x2e7)]=_0x263938[_0x15a2e9(0x2e7)][_0x15a2e9(0x1df)](_0x37cad9);}return _0x263938;}[_0x1bd6f8(0x261)](_0x108bcb,_0x440c3c){const _0x778819=_0x1bd6f8;for(let _0x4146b9=0x0;_0x4146b9<_0x108bcb[_0x778819(0x1db)];_0x4146b9++)for(const [_0x452e9a,_0x3b025e]of _0x440c3c)_0x3b025e[_0x778819(0x1ae)][_0x778819(0x1c7)](_0x108bcb[_0x4146b9][_0x778819(0x2d3)])&&_0x108bcb[_0x4146b9][_0x778819(0x28a)][_0x778819(0x1c4)](_0x452e9a),_0x3b025e[_0x778819(0x2dc)][_0x778819(0x1c7)](_0x108bcb[_0x4146b9][_0x778819(0x2c4)])&&_0x108bcb[_0x4146b9][_0x778819(0x2b1)][_0x778819(0x1c4)](_0x452e9a);}[_0x1bd6f8(0x2b9)](_0x1c1331,_0x4c4295){const _0x4565e3=_0x1bd6f8;let _0x2f20b7=[],_0xe83342=0x0,_0x24f019=0x0;for(;_0xe83342<_0x1c1331[_0x4565e3(0x1db)]||_0x24f019<_0x4c4295[_0x4565e3(0x1db)];){const _0x19a4a1=_0x1c1331[_0xe83342]||{},_0x11b8fb=_0x4c4295[_0x24f019]||{};if(_0x19a4a1['id']==_0x11b8fb['id'])_0xe83342++,_0x24f019++,_0x2f20b7[_0x4565e3(0x1c4)](_0x19a4a1);else{if(_0x11b8fb[_0x4565e3(0x29f)]&&_0x19a4a1[_0x4565e3(0x25c)]){const {commonTape:_0x17d130,iEnd:_0x42dcee,jEnd:_0x104073}=this[_0x4565e3(0x1e7)](_0x1c1331,_0xe83342,_0x4c4295,_0x24f019);_0x2f20b7=_0x2f20b7[_0x4565e3(0x1df)](_0x17d130),_0xe83342=_0x42dcee,_0x24f019=_0x104073;}else _0x11b8fb[_0x4565e3(0x29f)]?(_0x24f019++,_0x2f20b7[_0x4565e3(0x1c4)](_0x11b8fb)):(_0xe83342++,_0x2f20b7[_0x4565e3(0x1c4)](_0x19a4a1));}}return _0x2f20b7;}[_0x1bd6f8(0x2c0)](_0x86fc1a,_0x35ce83){const _0x1c19df=_0x1bd6f8,_0x1d6bec=[];for(let _0x24f689=0x0;_0x24f689<_0x86fc1a[_0x1c19df(0x1db)];_0x24f689++){for(let _0x5e8c75=0x0;_0x5e8c75<_0x86fc1a[_0x24f689][_0x1c19df(0x28a)][_0x1c19df(0x1db)];_0x5e8c75++){const _0x8c3c40=_0x86fc1a[_0x24f689][_0x1c19df(0x28a)][_0x5e8c75];if(!_0x35ce83[_0x1c19df(0x294)](_0x8c3c40))continue;const {group:_0x169a7b,type:_0x28bee4,authorId:_0x252fc6}=_0x5dc08c(_0x8c3c40);_0x1c19df(0x1f1)!=_0x169a7b||_0x1c19df(0x2ed)!=_0x28bee4&&_0x1c19df(0x27c)!=_0x28bee4||(_0x1d6bec[_0x1c19df(0x1d3)]({'type':_0x28bee4,'name':_0x8c3c40,'userId':_0x252fc6}),_0x86fc1a[_0x24f689][_0x1c19df(0x28a)][_0x1c19df(0x1c5)](_0x5e8c75,0x1),_0x5e8c75--);}_0x163392(_0x86fc1a[_0x24f689]);for(let _0x5673ca=0x0;_0x5673ca<_0x86fc1a[_0x24f689][_0x1c19df(0x2b1)][_0x1c19df(0x1db)];_0x5673ca++){const _0x45b296=_0x86fc1a[_0x24f689][_0x1c19df(0x2b1)][_0x5673ca];if(!_0x35ce83[_0x1c19df(0x294)](_0x45b296))continue;const {group:_0x54e6ce,type:_0x34cb9b}=_0x5dc08c(_0x45b296);if(_0x1c19df(0x1f1)!=_0x54e6ce||_0x1c19df(0x2ed)!=_0x34cb9b&&_0x1c19df(0x27c)!=_0x34cb9b)continue;_0x86fc1a[_0x24f689][_0x1c19df(0x2b1)][_0x1c19df(0x1c5)](_0x5673ca,0x1),_0x5673ca--;const _0x29fd7e=_0x1d6bec[_0x1c19df(0x1de)](_0x447483=>_0x447483[_0x1c19df(0x206)]==_0x45b296);_0x29fd7e>-0x1&&_0x1d6bec[_0x1c19df(0x1c5)](_0x29fd7e,0x1);}}function _0x5dc08c(_0xfe314d){const _0x41115f=_0x1c19df,_0x2bb8e7=_0xfe314d[_0x41115f(0x22f)](':');return{'group':_0x2bb8e7[0x0],'type':_0x2bb8e7[0x1],'subType':_0x2bb8e7[_0x41115f(0x1db)]>=0x5?_0x2bb8e7[0x2]:null,'id':_0x2bb8e7[_0x41115f(0x1db)]<0x5?_0x2bb8e7[0x2]:_0x2bb8e7[0x3],'authorId':_0x2bb8e7[_0x41115f(0x1db)]<0x5?_0x2bb8e7[0x3]:_0x2bb8e7[0x4],'markerCount':0x6==_0x2bb8e7[_0x41115f(0x1db)]?_0x2bb8e7[0x5]:null};}function _0x163392(_0x23975b){const _0x57e6cc=_0x1c19df;for(let _0x158bd2=0x0;_0x158bd2<_0x1d6bec[_0x57e6cc(0x1db)];_0x158bd2++){if(_0x23975b[_0x57e6cc(0x25c)]&&_0x57e6cc(0x2ed)==_0x1d6bec[_0x158bd2][_0x57e6cc(0x240)])return _0x23975b[_0x57e6cc(0x1c3)]=_0x1d6bec[_0x158bd2],void delete _0x23975b[_0x57e6cc(0x25c)];if(!_0x23975b[_0x57e6cc(0x25c)]&&!_0x23975b[_0x57e6cc(0x29f)]&&_0x57e6cc(0x27c)==_0x1d6bec[_0x158bd2][_0x57e6cc(0x240)])return void(_0x23975b[_0x57e6cc(0x2da)]=_0x1d6bec[_0x158bd2]);}}}[_0x1bd6f8(0x223)](_0x3d2065,_0x48c093){const _0x491442=_0x1bd6f8;let _0x45a6eb=0x0,_0x3416c3=!0x1;const _0xeaaf8a=new Map();for(const _0x3897f1 of _0x3d2065)_0x3897f1[_0x48c093]?_0x3416c3&&(_0x45a6eb++,_0x3416c3=!0x1):(_0x45a6eb++,_0x3416c3=!0x0),_0xeaaf8a[_0x491442(0x1be)](_0x3897f1['id'],_0x45a6eb);for(let _0xaf789d=0x0;_0xaf789d<_0x3d2065[_0x491442(0x1db)];_0xaf789d++){if(_0x491442(0x29f)==_0x48c093&&_0x3d2065[_0xaf789d][_0x491442(0x25c)]||_0x491442(0x25c)==_0x48c093&&_0x3d2065[_0xaf789d][_0x491442(0x29f)])continue;if(_0x491442(0x1e5)==_0x3d2065[_0xaf789d][_0x491442(0x240)]){_0x3d2065[_0xaf789d][_0x491442(0x1d4)]=0x0;continue;}const _0x243a53=_0xeaaf8a[_0x491442(0x1ef)](_0x3d2065[_0xaf789d][_0x491442(0x257)]),_0x58bbb1=_0xeaaf8a[_0x491442(0x1ef)](_0x3d2065[_0xaf789d]['id']);_0x3d2065[_0xaf789d][_0x491442(0x1d4)]=_0x243a53-_0x58bbb1;}}[_0x1bd6f8(0x24a)](_0x259059,_0x2a63a1,_0x4fe3d7=!0x1){const _0x27ab93=_0x1bd6f8,_0x8900ff=[];let _0x463946=this[_0x27ab93(0x2b3)][_0x27ab93(0x1b2)](_0x259059),_0x27271c=this[_0x27ab93(0x2b3)][_0x27ab93(0x1b2)](_0x2a63a1);for(-0x1==_0x27271c&&(_0x27271c=this[_0x27ab93(0x2b3)][_0x27ab93(0x2ce)][_0x27ab93(0x1db)],_0x4fe3d7=!0x1);_0x463946<_0x27271c;)_0x8900ff[_0x27ab93(0x1c4)](this[_0x27ab93(0x2b3)][_0x27ab93(0x2e9)](_0x463946)),_0x463946++;return _0x4fe3d7&&_0x8900ff[_0x27ab93(0x1c4)](this[_0x27ab93(0x2b3)][_0x27ab93(0x2e9)](_0x463946)),_0x8900ff;}[_0x1bd6f8(0x1e7)](_0x148ca2,_0x36304b,_0x128d74,_0x545e0b){const _0x1ccb7a=_0x1bd6f8,_0x126c40=this[_0x1ccb7a(0x289)][_0x1ccb7a(0x1ce)][_0x1ccb7a(0x249)];let _0x44b7f0=_0x36304b;for(;_0x148ca2[_0x44b7f0]&&_0x148ca2[_0x44b7f0][_0x1ccb7a(0x25c)];)_0x44b7f0++;let _0x2462fe=_0x545e0b;for(;_0x128d74[_0x2462fe]&&_0x128d74[_0x2462fe][_0x1ccb7a(0x29f)];)_0x2462fe++;_0x53d9e2(_0x148ca2,_0x36304b,_0x44b7f0),_0x53d9e2(_0x128d74,_0x545e0b,_0x2462fe);const _0x52c99c=_0x128d74[_0x1ccb7a(0x1b1)](_0x545e0b,_0x2462fe)[_0x1ccb7a(0x1df)](_0x148ca2[_0x1ccb7a(0x1b1)](_0x36304b,_0x44b7f0));return _0x52c99c[_0x1ccb7a(0x2a3)]((_0x5a0a4c,_0x3c4a44)=>_0x5a0a4c[_0x1ccb7a(0x1ea)]!=_0x3c4a44[_0x1ccb7a(0x1ea)]?_0x5a0a4c[_0x1ccb7a(0x1ea)]-_0x3c4a44[_0x1ccb7a(0x1ea)]:_0x5a0a4c[_0x1ccb7a(0x1b0)]!=_0x3c4a44[_0x1ccb7a(0x1b0)]?_0x5a0a4c[_0x1ccb7a(0x1b0)]-_0x3c4a44[_0x1ccb7a(0x1b0)]:_0x5a0a4c[_0x1ccb7a(0x1d4)]!=_0x3c4a44[_0x1ccb7a(0x1d4)]?_0x3c4a44[_0x1ccb7a(0x1d4)]-_0x5a0a4c[_0x1ccb7a(0x1d4)]:!!_0x5a0a4c[_0x1ccb7a(0x25c)]!=!!_0x3c4a44[_0x1ccb7a(0x25c)]?-0x1==_0x5a0a4c[_0x1ccb7a(0x1ea)]||0x0==_0x5a0a4c[_0x1ccb7a(0x1ea)]?_0x5a0a4c[_0x1ccb7a(0x25c)]?-0x1:0x1:_0x5a0a4c[_0x1ccb7a(0x25c)]?0x1:-0x1:_0x5a0a4c[_0x1ccb7a(0x1fd)]-_0x3c4a44[_0x1ccb7a(0x1fd)]),{'commonTape':_0x52c99c,'iEnd':_0x44b7f0,'jEnd':_0x2462fe};function _0x53d9e2(_0x447f4f,_0x587d14,_0x3cbfe4){const _0x273703=_0x1ccb7a;let _0x2c06e4=-0x1,_0x5db7ce=Number[_0x273703(0x2f2)],_0x26afa8=!0x0;for(let _0x215132=_0x587d14;_0x215132<_0x3cbfe4;_0x215132++)if(_0x126c40[_0x273703(0x2ac)](_0x447f4f[_0x215132][_0x273703(0x250)])||(_0x26afa8=!0x1),_0x447f4f[_0x215132][_0x273703(0x250)][_0x273703(0x1dc)]<_0x587d14&&(_0x2c06e4=_0x215132),_0x447f4f[_0x215132][_0x273703(0x250)][_0x273703(0x1c8)]>=_0x3cbfe4){_0x5db7ce=_0x215132;break;}_0x26afa8&&(_0x2c06e4=_0x3cbfe4-0x1);for(let _0x23dcea=_0x587d14;_0x23dcea<_0x3cbfe4;_0x23dcea++)_0x447f4f[_0x23dcea][_0x273703(0x1ea)]=_0x23dcea<=_0x2c06e4?-0x1:_0x23dcea<_0x5db7ce?0x0:0x1,_0x447f4f[_0x23dcea][_0x273703(0x1fd)]=_0x23dcea;let _0xaf57a2=0x0;for(let _0x4fd5da=_0x587d14;_0x4fd5da<=_0x2c06e4;_0x4fd5da++)0x0==_0x447f4f[_0x4fd5da][_0x273703(0x1d4)]?_0x447f4f[_0x4fd5da][_0x273703(0x1b0)]=_0xaf57a2:(_0xaf57a2++,_0x447f4f[_0x4fd5da][_0x273703(0x1b0)]=_0xaf57a2,_0xaf57a2++);for(let _0x4a3bfa=_0x587d14;_0x4a3bfa<_0x3cbfe4;_0x4a3bfa++)0x0==_0x447f4f[_0x4a3bfa][_0x273703(0x1ea)]&&(_0x447f4f[_0x4a3bfa][_0x273703(0x1b0)]=_0xaf57a2);_0xaf57a2=0x0;for(let _0x191256=_0x3cbfe4-0x1;_0x191256>=_0x5db7ce;_0x191256--)0x0==_0x447f4f[_0x191256][_0x273703(0x1d4)]?_0x447f4f[_0x191256][_0x273703(0x1b0)]=_0xaf57a2:(_0xaf57a2--,_0x447f4f[_0x191256][_0x273703(0x1b0)]=_0xaf57a2,_0xaf57a2--);}}[_0x1bd6f8(0x22d)](_0x39245d){const _0x2957b7=_0x1bd6f8,_0x776d21=new Map(),_0x41fd5c=this[_0x2957b7(0x289)][_0x2957b7(0x1ce)][_0x2957b7(0x249)];for(let _0x3f9042=0x1;_0x3f9042<_0x39245d[_0x2957b7(0x1db)];_0x3f9042++){let _0x53269c,_0x45d6b1,_0x476f94;const _0x36672f=_0x39245d[_0x3f9042],_0x1ce6f8=_0x39245d[_0x3f9042-0x1];if(_0x2957b7(0x1e5)==_0x36672f[_0x2957b7(0x240)])continue;if(_0x36672f[_0x2957b7(0x240)]!=_0x1ce6f8[_0x2957b7(0x240)])continue;if(!_0x41fd5c[_0x2957b7(0x1ff)](_0x1ce6f8[_0x2957b7(0x250)])||_0x41fd5c[_0x2957b7(0x29a)](_0x1ce6f8[_0x2957b7(0x250)]))continue;if(!_0x41fd5c[_0x2957b7(0x1ff)](_0x36672f[_0x2957b7(0x250)])||_0x41fd5c[_0x2957b7(0x29a)](_0x36672f[_0x2957b7(0x250)]))continue;if((_0x39245d[_0x3f9042][_0x2957b7(0x25c)]||_0x39245d[_0x3f9042][_0x2957b7(0x1c3)])&&_0x39245d[_0x3f9042-0x1][_0x2957b7(0x29f)])_0x53269c=_0x39245d[_0x3f9042],_0x45d6b1=_0x39245d[_0x3f9042-0x1],_0x476f94=_0x3f9042-0x1;else{if(!_0x39245d[_0x3f9042][_0x2957b7(0x29f)]||!_0x39245d[_0x3f9042-0x1][_0x2957b7(0x25c)]&&!_0x39245d[_0x3f9042-0x1][_0x2957b7(0x1c3)])continue;_0x53269c=_0x39245d[_0x3f9042-0x1],_0x45d6b1=_0x39245d[_0x3f9042],_0x476f94=_0x3f9042;}const _0x1142af=_0x53269c[_0x2957b7(0x1b0)]==_0x45d6b1[_0x2957b7(0x1b0)],_0x1a6684=Math[_0x2957b7(0x2cf)](_0x53269c[_0x2957b7(0x1b0)])<Math[_0x2957b7(0x2cf)](_0x45d6b1[_0x2957b7(0x1b0)])&&0x0==_0x45d6b1[_0x2957b7(0x1d4)];(_0x1142af||_0x1a6684)&&(_0x776d21[_0x2957b7(0x1be)](_0x45d6b1['id'],_0x53269c['id']),_0x39245d[_0x2957b7(0x1c5)](_0x476f94,0x1),_0x3f9042--,_0x53269c[_0x2957b7(0x25c)]=!0x1);}for(let _0x3fd2d5=0x0;_0x3fd2d5<_0x39245d[_0x2957b7(0x1db)];_0x3fd2d5++)_0x776d21[_0x2957b7(0x294)](_0x39245d[_0x3fd2d5][_0x2957b7(0x257)])&&(_0x39245d[_0x3fd2d5][_0x2957b7(0x257)]=_0x776d21[_0x2957b7(0x1ef)](_0x39245d[_0x3fd2d5][_0x2957b7(0x257)]));}[_0x1bd6f8(0x2db)](_0x2d1069){const _0x38af34=_0x1bd6f8,_0x5b6d76=new Set(_0x2d1069[_0x38af34(0x2b2)](_0x4d9914=>_0x4d9914['id']));for(let _0x4691ec=0x0;_0x4691ec<_0x2d1069[_0x38af34(0x1db)];_0x4691ec++)_0x5b6d76[_0x38af34(0x294)](_0x2d1069[_0x4691ec][_0x38af34(0x257)])||0x0==_0x2d1069[_0x4691ec][_0x38af34(0x1d4)]||(_0x2d1069[_0x4691ec][_0x38af34(0x256)]=!0x0);return _0x2d1069[_0x38af34(0x1dd)](_0x448c84=>!_0x448c84[_0x38af34(0x256)]);}[_0x1bd6f8(0x247)](_0x31aa27){const _0xa6df0b=_0x1bd6f8,_0x3ba9b0=new Set();for(let _0x553b6c=0x0;_0x553b6c<_0x31aa27[_0xa6df0b(0x1db)];_0x553b6c++){if(_0x3ba9b0[_0xa6df0b(0x294)](_0x31aa27[_0x553b6c]['id'])&&_0x31aa27[_0x553b6c][_0xa6df0b(0x29f)]&&(_0x31aa27[_0x553b6c][_0xa6df0b(0x256)]=!0x0),_0x31aa27[_0x553b6c][_0xa6df0b(0x256)])continue;if(0x0==_0x31aa27[_0x553b6c][_0xa6df0b(0x1d4)])continue;if(_0xa6df0b(0x280)!=_0x31aa27[_0x553b6c][_0xa6df0b(0x240)])continue;if(null==_0x31aa27[_0x553b6c][_0xa6df0b(0x257)])continue;let _0x1562ff=_0x553b6c+0x1,_0x26fe98=0x0;for(;_0x31aa27[_0x1562ff]['id']!=_0x31aa27[_0x553b6c][_0xa6df0b(0x257)];)_0xa6df0b(0x280)==_0x31aa27[_0x1562ff][_0xa6df0b(0x240)]?_0x26fe98++:_0xa6df0b(0x1e2)==_0x31aa27[_0x1562ff][_0xa6df0b(0x240)]&&_0x26fe98--,_0x1562ff++;if(0x0!=_0x26fe98){if(_0x31aa27[_0x553b6c][_0xa6df0b(0x29f)])_0x31aa27[_0x553b6c][_0xa6df0b(0x256)]=!0x0;else{for(;_0x1562ff!=_0x553b6c;)_0x31aa27[_0x1562ff][_0xa6df0b(0x29f)]&&0x0!=_0x31aa27[_0x1562ff][_0xa6df0b(0x1d4)]&&(_0x31aa27[_0x1562ff][_0xa6df0b(0x256)]=!0x0,_0x3ba9b0[_0xa6df0b(0x1bf)](_0x31aa27[_0x1562ff][_0xa6df0b(0x257)])),_0x1562ff--;}}}return _0x31aa27[_0xa6df0b(0x1dd)](_0x4e4f03=>!_0x4e4f03[_0xa6df0b(0x256)]);}[_0x1bd6f8(0x20a)](_0x39f16a){const _0x588868=_0x1bd6f8,_0x55120d=this[_0x588868(0x289)][_0x588868(0x1ce)][_0x588868(0x249)];for(let _0x13b1a6=0x0;_0x13b1a6<_0x39f16a[_0x588868(0x1db)];_0x13b1a6++){if(!(_0x39f16a[_0x13b1a6][_0x588868(0x25c)]||_0x39f16a[_0x13b1a6][_0x588868(0x1c3)]||_0x39f16a[_0x13b1a6][_0x588868(0x29f)]||_0x39f16a[_0x13b1a6][_0x588868(0x2da)]))continue;if(0x0==_0x39f16a[_0x13b1a6][_0x588868(0x1d4)])continue;const _0x4ed63d=_0x39f16a[_0x13b1a6][_0x588868(0x250)];_0x55120d[_0x588868(0x1ff)](_0x4ed63d)||_0x55120d[_0x588868(0x29a)](_0x4ed63d)||(_0x39f16a[_0x13b1a6][_0x588868(0x25c)]&&delete _0x39f16a[_0x13b1a6][_0x588868(0x25c)],_0x39f16a[_0x13b1a6][_0x588868(0x1c3)]&&delete _0x39f16a[_0x13b1a6][_0x588868(0x1c3)],_0x39f16a[_0x13b1a6][_0x588868(0x2da)]&&delete _0x39f16a[_0x13b1a6][_0x588868(0x2da)],_0x39f16a[_0x13b1a6][_0x588868(0x29f)]&&(_0x39f16a[_0x13b1a6][_0x588868(0x256)]=!0x0));}return _0x39f16a[_0x588868(0x1dd)](_0x41fcf1=>!_0x41fcf1[_0x588868(0x256)]);}[_0x1bd6f8(0x1e9)](_0x2f1fd3,_0x232167,_0x4988ce){const _0x219340=_0x1bd6f8,_0x574466=new _0x2a8df3(),_0x5eb3a0=[],_0x2ea952=new Map(),_0x38d458=this[_0x219340(0x289)][_0x219340(0x1ce)],_0xb766d5=_0x38d458[_0x219340(0x249)],_0x2105c4=[_0x574466],_0x1832f8={},_0x704f3e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x21baa4=null;const _0x19f215=[0x0];for(let _0x565166=0x0;_0x565166<_0x2f1fd3[_0x219340(0x1db)];_0x565166++)if(_0x219340(0x280)===_0x2f1fd3[_0x565166][_0x219340(0x240)]){_0x2f1fd3[_0x565166][_0x219340(0x2d3)]=_0x38d458[_0x219340(0x286)](_0x574466,_0x19f215);const _0x2e95f3=new _0x2261e5(_0x2f1fd3[_0x565166][_0x219340(0x250)][_0x219340(0x206)],_0x2f1fd3[_0x565166][_0x219340(0x250)][_0x219340(0x26a)]());_0x2105c4[0x0][_0x219340(0x212)](_0x2e95f3),_0x19f215[_0x219340(0x1c4)](0x0),_0x2105c4[_0x219340(0x1d3)](_0x2e95f3),_0x2f1fd3[_0x565166][_0x219340(0x2c4)]=_0x38d458[_0x219340(0x286)](_0x574466,_0x19f215);}else _0x219340(0x1e2)===_0x2f1fd3[_0x565166][_0x219340(0x240)]?(_0x2105c4[_0x219340(0x2b0)](),_0x2f1fd3[_0x565166][_0x219340(0x2d3)]=_0x38d458[_0x219340(0x286)](_0x574466,_0x19f215),_0x19f215[_0x219340(0x2ea)](),_0x19f215[_0x19f215[_0x219340(0x1db)]-0x1]++,_0x2f1fd3[_0x565166][_0x219340(0x2c4)]=_0x38d458[_0x219340(0x286)](_0x574466,_0x19f215)):(_0x2f1fd3[_0x565166][_0x219340(0x2d3)]=_0x38d458[_0x219340(0x286)](_0x574466,_0x19f215),_0x21baa4?_0x21baa4[_0x219340(0x2c9)]+=_0x2f1fd3[_0x565166][_0x219340(0x250)][_0x219340(0x25d)]:_0x21baa4=new _0x58a204(_0x2f1fd3[_0x565166][_0x219340(0x250)][_0x219340(0x25d)],_0x2f1fd3[_0x565166][_0x219340(0x250)][_0x219340(0x26a)]()),_0x2f1fd3[_0x565166+0x1]&&_0x219340(0x1e5)===_0x2f1fd3[_0x565166+0x1][_0x219340(0x240)]&&_0x1fd659(_0x21baa4,_0x2f1fd3[_0x565166+0x1][_0x219340(0x250)])||(_0x2105c4[0x0][_0x219340(0x212)](_0x21baa4),_0x21baa4=null),_0x19f215[_0x19f215[_0x219340(0x1db)]-0x1]+=_0x2f1fd3[_0x565166][_0x219340(0x250)][_0x219340(0x298)],_0x2f1fd3[_0x565166][_0x219340(0x2c4)]=_0x38d458[_0x219340(0x286)](_0x574466,_0x19f215));for(let _0x23d07d=0x0;_0x23d07d<_0x2f1fd3[_0x219340(0x1db)];_0x23d07d++){const _0x12a542=_0x2f1fd3[_0x23d07d][_0x219340(0x2d3)],_0x3b88c4=_0x2f1fd3[_0x23d07d][_0x219340(0x2c4)];for(const _0x28f5eb of _0x2f1fd3[_0x23d07d][_0x219340(0x28a)])_0x2ea952[_0x219340(0x1be)](_0x28f5eb,{'start':_0x12a542,'end':null});_0x37d084(_0x219340(0x2da),_0x23d07d,_0x12a542,_0x3b88c4),_0x37d084(_0x219340(0x1c3),_0x23d07d,_0x12a542,_0x3b88c4),_0x37d084(_0x219340(0x29f),_0x23d07d,_0x12a542,_0x3b88c4),_0x37d084(_0x219340(0x25c),_0x23d07d,_0x12a542,_0x3b88c4);for(const _0x50a122 of _0x2f1fd3[_0x23d07d][_0x219340(0x2b1)]){_0x2ea952[_0x219340(0x1ef)](_0x50a122)[_0x219340(0x2dc)]=_0x3b88c4;}}for(const [_0xd1d187,_0x2d12a5]of _0x2ea952){const _0x5583ec=this[_0x219340(0x289)][_0x219340(0x1ce)][_0x219340(0x2d7)](_0x2d12a5[_0x219340(0x1ae)],_0x2d12a5[_0x219340(0x2dc)]);_0x574466[_0x219340(0x276)][_0x219340(0x1be)](_0xd1d187,_0x5583ec);}return _0x5eb3a0[_0x219340(0x2a3)]((_0x4fb612,_0x1da7fc)=>{const _0xb1cce=_0x219340,_0x4d07e5=_0x574466[_0xb1cce(0x276)][_0xb1cce(0x1ef)](_0xb1cce(0x209)+_0x4fb612['id']),_0x49a614=_0x574466[_0xb1cce(0x276)][_0xb1cce(0x1ef)](_0xb1cce(0x209)+_0x1da7fc['id']);return _0x4d07e5[_0xb1cce(0x1ae)][_0xb1cce(0x2a9)](_0x49a614[_0xb1cce(0x1ae)])?-0x1:_0x4d07e5[_0xb1cce(0x1ae)][_0xb1cce(0x21c)](_0x49a614[_0xb1cce(0x1ae)])?0x1:_0x4d07e5[_0xb1cce(0x2dc)][_0xb1cce(0x2a9)](_0x49a614[_0xb1cce(0x2dc)])?-0x1:_0x4d07e5[_0xb1cce(0x2dc)][_0xb1cce(0x21c)](_0x49a614[_0xb1cce(0x2dc)])?0x1:_0xb1cce(0x1bf)===_0x4fb612[_0xb1cce(0x240)]?-0x1:0x1;}),{'root':_0x574466,'changes':_0x5eb3a0};function _0x37d084(_0x3eb6af,_0x5414a7,_0x9f8f7c,_0x106555){const _0x2c9cf8=_0x219340,_0x571f1a=!!_0x2f1fd3[_0x5414a7][_0x3eb6af],_0x4fd006=_0x571f1a?_0x2f1fd3[_0x5414a7][_0x3eb6af][_0x2c9cf8(0x1f0)]:null,_0x577b09=_0x5414a7===_0x2f1fd3[_0x2c9cf8(0x1db)]-0x1,_0x4de808=_0x704f3e[_0x3eb6af][0x0],_0xe586=_0xb766d5[_0x2c9cf8(0x1f9)](_0x2f1fd3[_0x5414a7][_0x2c9cf8(0x250)]);!_0x1832f8[_0x3eb6af]&&_0x571f1a?_0x1832f8[_0x3eb6af]={'start':_0x9f8f7c,'tapeItem':_0x2f1fd3[_0x5414a7],'userId':_0x4fd006,'type':_0x3eb6af}:_0x1832f8[_0x3eb6af]&&!_0x571f1a?(_0x1832f8[_0x3eb6af][_0x2c9cf8(0x2dc)]=_0x9f8f7c,_0x34ad47(_0x1832f8[_0x3eb6af]),_0x1832f8[_0x3eb6af]=null):_0x1832f8[_0x3eb6af]&&_0x571f1a&&_0x1832f8[_0x3eb6af][_0x2c9cf8(0x1f0)]!==_0x4fd006&&(_0x1832f8[_0x3eb6af][_0x2c9cf8(0x2dc)]=_0x9f8f7c,_0x4de808&&_0x4de808[_0x2c9cf8(0x1f0)]===_0x1832f8[_0x3eb6af][_0x2c9cf8(0x1f0)]||_0x34ad47(_0x1832f8[_0x3eb6af]),_0x1832f8[_0x3eb6af]={'start':_0x9f8f7c,'tapeItem':_0x2f1fd3[_0x5414a7],'userId':_0x4fd006,'type':_0x3eb6af}),_0x1832f8[_0x3eb6af]&&_0xe586&&(_0x2c9cf8(0x280)!==_0x2f1fd3[_0x5414a7][_0x2c9cf8(0x240)]||_0x4de808&&_0x4de808[_0x2c9cf8(0x1f0)]===_0x4fd006||_0x704f3e[_0x3eb6af][_0x2c9cf8(0x1d3)]({'userId':_0x4fd006,'object':_0x2f1fd3[_0x5414a7][_0x2c9cf8(0x250)],'change':_0x1832f8[_0x3eb6af]}),_0x2c9cf8(0x1e2)===_0x2f1fd3[_0x5414a7][_0x2c9cf8(0x240)]&&_0x4de808&&_0x4de808[_0x2c9cf8(0x2a7)]===_0x2f1fd3[_0x5414a7][_0x2c9cf8(0x250)]&&(_0x704f3e[_0x3eb6af][_0x2c9cf8(0x2b0)](),_0x1832f8[_0x3eb6af]=_0x4de808[_0x2c9cf8(0x2bb)])),_0x1832f8[_0x3eb6af]&&_0x577b09&&(_0x1832f8[_0x3eb6af][_0x2c9cf8(0x2dc)]=_0x106555,_0x34ad47(_0x1832f8[_0x3eb6af]),_0x1832f8[_0x3eb6af]=null);}function _0x34ad47({start:_0x1f8019,end:_0x523206,tapeItem:_0x4fc133,userId:_0x47dbe6,type:_0x2564c9}){const _0x3d1900=_0x219340,_0x7cbbfe=_0x4fc133[_0x3d1900(0x250)],_0x5b50d3=_0x38d458[_0x3d1900(0x249)][_0x3d1900(0x1ff)](_0x7cbbfe)&&!_0x38d458[_0x3d1900(0x249)][_0x3d1900(0x29a)](_0x7cbbfe),_0x2fece5=_0x1f8019[_0x3d1900(0x21b)]==_0x523206[_0x3d1900(0x1e3)]&&_0x523206[_0x3d1900(0x285)];if(_0x5b50d3&&_0x2fece5)return;const _0x5047c0=_0x38d458[_0x3d1900(0x2d7)](_0x1f8019,_0x523206),_0x282849=_0x232167[_0x3d1900(0x1ef)](_0x47dbe6),_0x3f6660=new _0x2baff5({'author':_0x282849,'type':_0x3d1900(0x25c)==_0x2564c9||_0x3d1900(0x1c3)==_0x2564c9?_0x3d1900(0x1bf):_0x3d1900(0x1b7),'data':{'isSuggestion':_0x3d1900(0x1c3)==_0x2564c9||_0x3d1900(0x2da)==_0x2564c9},'createdAt':new Date(),'rootName':_0x4988ce});_0x5eb3a0[_0x3d1900(0x1c4)](_0x3f6660),_0x574466[_0x3d1900(0x276)][_0x3d1900(0x1be)](_0x3d1900(0x209)+_0x3f6660['id'],_0x5047c0);}function _0x1fd659(_0x2a6145,_0x45ab27){const _0x3847f8=_0x219340,_0x182311=_0x2a6145[_0x3847f8(0x26a)](),_0x360c23=_0x45ab27[_0x3847f8(0x26a)]();for(const _0x15993d of _0x182311){if(_0x15993d[0x1]!==_0x45ab27[_0x3847f8(0x234)](_0x15993d[0x0]))return!0x1;_0x360c23[_0x3847f8(0x1fb)]();}return _0x360c23[_0x3847f8(0x1fb)]()[_0x3847f8(0x1cb)];}}[_0x1bd6f8(0x2c8)](){const _0x4e3a4a=_0x1bd6f8;this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x210))[_0x4e3a4a(0x29c)]({'view':_0x4e3a4a(0x275)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x283))[_0x4e3a4a(0x28e)]({'model':_0x4e3a4a(0x275),'view':_0x230d36=>{const _0x293675=_0x4e3a4a,_0x41daac=_0x230d36[_0x293675(0x2aa)][_0x293675(0x22f)](':')[0x1],_0x23e9bc=this[_0x293675(0x272)](_0x41daac);if(!_0x23e9bc)return null;const _0x23fdf5=_0x293675(0x1bf)==_0x23e9bc[_0x293675(0x240)]?_0x293675(0x2ed):_0x293675(0x27c),_0x3d4168=[_0x293675(0x200),_0x293675(0x29b)+_0x23fdf5];return _0x23e9bc[_0x293675(0x25d)][_0x293675(0x267)]&&_0x3d4168[_0x293675(0x1c4)](_0x293675(0x29b)+_0x23fdf5+_0x293675(0x26c)),this[_0x293675(0x1d7)]==_0x23e9bc&&_0x3d4168[_0x293675(0x1c4)](_0x293675(0x220)),{'classes':_0x3d4168,'attributes':{'data-change-id':_0x41daac}};}}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x210))[_0x4e3a4a(0x1bf)](_0x49b6a6=>{const _0x17eaba=_0x4e3a4a;_0x49b6a6['on'](_0x17eaba(0x264),(_0x54de49,_0x3a2cfb,_0x54b64e)=>{const _0x3faae3=_0x17eaba,_0x41b0fd=_0x3a2cfb[_0x3faae3(0x1f8)][_0x3faae3(0x246)](0x0);if(!_0x41b0fd||!_0x41b0fd['is'](_0x3faae3(0x2d5),_0x3faae3(0x207)))return;if(!_0x54b64e[_0x3faae3(0x221)][_0x3faae3(0x1ec)](_0x41b0fd,{'attributes':[_0x3faae3(0x2a5),_0x3faae3(0x20d)]}))return;const _0x510307=_0x3a2cfb[_0x3faae3(0x282)][_0x3faae3(0x1ae)][_0x3faae3(0x21b)];_0x54b64e[_0x3faae3(0x271)][_0x3faae3(0x231)](_0x3faae3(0x2a5),_0x41b0fd[_0x3faae3(0x234)](_0x3faae3(0x2a5)),_0x510307),_0x54b64e[_0x3faae3(0x271)][_0x3faae3(0x231)](_0x3faae3(0x20d),_0x41b0fd[_0x3faae3(0x234)](_0x3faae3(0x20d)),_0x510307);},{'priority':_0x17eaba(0x2f8)});}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x210))[_0x4e3a4a(0x1bf)](_0x544f2d=>{const _0xaa74f7=_0x4e3a4a;_0x544f2d['on'](_0xaa74f7(0x2d5),(_0x4530eb,_0x53585b,_0x27e5d0)=>{const _0x5c3aee=_0xaa74f7;if(!_0x27e5d0[_0x5c3aee(0x221)][_0x5c3aee(0x1ec)](_0x53585b[_0x5c3aee(0x1f8)],{'attributes':[_0x5c3aee(0x2a5),_0x5c3aee(0x20d)]}))return;if(_0x53585b[_0x5c3aee(0x282)][_0x5c3aee(0x29d)])return;const _0x2ba4fd=_0x53585b[_0x5c3aee(0x282)][_0x5c3aee(0x1ae)][_0x5c3aee(0x21b)];_0x2ba4fd[_0x5c3aee(0x24f)](_0x5c3aee(0x2a5))||_0x2ba4fd[_0x5c3aee(0x24f)](_0x5c3aee(0x2e4))||(_0x27e5d0[_0x5c3aee(0x271)][_0x5c3aee(0x231)](_0x5c3aee(0x2a5),_0x53585b[_0x5c3aee(0x1f8)][_0x5c3aee(0x234)](_0x5c3aee(0x2a5)),_0x2ba4fd),_0x27e5d0[_0x5c3aee(0x271)][_0x5c3aee(0x231)](_0x5c3aee(0x20d),_0x53585b[_0x5c3aee(0x1f8)][_0x5c3aee(0x234)](_0x5c3aee(0x20d)),_0x2ba4fd));},{'priority':_0xaa74f7(0x2f8)});}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x210))[_0x4e3a4a(0x227)]({'view':{'name':_0x4e3a4a(0x236),'attributes':{'vid':!0x0}},'model':{'key':_0x4e3a4a(0x2e4),'value':_0x5328dd=>_0x5328dd[_0x4e3a4a(0x234)](_0x4e3a4a(0x2e4))}}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x1ce)][_0x4e3a4a(0x249)]['on'](_0x4e3a4a(0x2e0),(_0x46c0a7,[,_0x4db5d7])=>{const _0x2200b2=_0x4e3a4a;[_0x2200b2(0x2a5),_0x2200b2(0x20d),_0x2200b2(0x2e4)][_0x2200b2(0x20b)](_0x4db5d7)&&(_0x46c0a7[_0x2200b2(0x2a2)]=!0x0,_0x46c0a7[_0x2200b2(0x20f)]());},{'priority':_0x4e3a4a(0x2a0)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x2a1))[_0x4e3a4a(0x1bf)](_0x20f7d2=>{const _0x26cf6f=_0x4e3a4a;_0x20f7d2['on'](_0x26cf6f(0x269),(_0x1631fa,_0x5ce05e,_0x4f855e)=>{const _0x55e3c1=_0x26cf6f;if('\x20'!=_0x5ce05e[_0x55e3c1(0x250)][_0x55e3c1(0x25d)]||_0x5ce05e[_0x55e3c1(0x250)][_0x55e3c1(0x1e3)][_0x55e3c1(0x2a4)]>0x1)return;if(!_0x4f855e[_0x55e3c1(0x221)][_0x55e3c1(0x1ec)](_0x5ce05e[_0x55e3c1(0x250)],_0x1631fa[_0x55e3c1(0x206)]))return;const _0x4bf21e=_0x4f855e[_0x55e3c1(0x271)],_0x4f423=_0x4f855e[_0x55e3c1(0x25e)][_0x55e3c1(0x2d6)](_0x5ce05e[_0x55e3c1(0x2b7)]);_0x4bf21e[_0x55e3c1(0x2c5)](_0x4f423,_0x4bf21e[_0x55e3c1(0x26d)](_0x55e3c1(0x236)));});}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x2a1))[_0x4e3a4a(0x1fa)]({'model':_0x4e3a4a(0x275)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x229)][_0x4e3a4a(0x2fa)]['on'](_0x4e3a4a(0x1c0),function(_0x258999){const _0x2237db=_0x4e3a4a,_0x753bcd=_0x258999[_0x2237db(0x23e)][_0x2237db(0x1ef)](_0x2237db(0x278));return(_0x328629,_0x4b9bff,_0x2651bf)=>{const _0x54f7b7=_0x2237db,_0x78a2d1=_0x4b9bff[_0x54f7b7(0x2aa)][_0x54f7b7(0x22f)](':')[0x1],_0xb26e47=_0x753bcd[_0x54f7b7(0x272)](_0x78a2d1);if(!_0xb26e47)return null;const _0x1bda8d=_0x54f7b7(0x1bf)==_0xb26e47[_0x54f7b7(0x240)]?_0x54f7b7(0x22f):_0x54f7b7(0x23f);if(!_0x2651bf[_0x54f7b7(0x221)][_0x54f7b7(0x2c1)](_0x4b9bff[_0x54f7b7(0x27b)],_0x328629[_0x54f7b7(0x206)]))return;const _0x4a9958=_0x4b9bff[_0x54f7b7(0x27b)][_0x54f7b7(0x2f1)](),_0x3b34e6=_0x4b9bff[_0x54f7b7(0x27b)][_0x54f7b7(0x1ae)],_0x3ea19a=_0x258999[_0x54f7b7(0x1ce)][_0x54f7b7(0x249)];let _0x2fdcf8=null,_0x384022=null,_0x1e47c1=!0x1,_0x21431c=!0x1;for(const _0x3d5c91 of _0x4a9958){const _0x527a3e=_0x3d5c91[_0x54f7b7(0x250)];_0x1e47c1=_0x1e47c1||_0x3ea19a[_0x54f7b7(0x2e5)](_0x527a3e);const _0x3a6ca6=_0x2651bf[_0x54f7b7(0x25e)][_0x54f7b7(0x214)](_0x527a3e);if(_0x3a6ca6&&_0x3a6ca6[_0x54f7b7(0x22a)](_0x54f7b7(0x299)))return;_0x54f7b7(0x1e2)==_0x3d5c91[_0x54f7b7(0x240)]&&(_0x3ea19a[_0x54f7b7(0x1ff)](_0x527a3e)&&!_0x3ea19a[_0x54f7b7(0x29a)](_0x527a3e)&&(_0x527a3e[_0x54f7b7(0x2e8)]||_0x3b34e6[_0x54f7b7(0x1cc)]?_0x2fdcf8&&_0x2fdcf8[_0x54f7b7(0x1e3)]==_0x527a3e||(_0x2fdcf8=_0x527a3e,_0x4f0ff2(_0x3d5c91[_0x54f7b7(0x2d3)]),_0x21431c=!0x0):_0x384022=_0x384022||_0x3d5c91[_0x54f7b7(0x2d3)]));}function _0x4f0ff2(_0x511791){const _0x37c34d=_0x54f7b7,_0x5116e9=_0x2651bf[_0x37c34d(0x271)][_0x37c34d(0x291)](_0x37c34d(0x236),{'class':_0x37c34d(0x29b)+_0x1bda8d}),_0x3a7ef5=_0x2651bf[_0x37c34d(0x25e)][_0x37c34d(0x2d0)](_0x511791);_0xb26e47[_0x37c34d(0x25d)][_0x37c34d(0x267)]&&_0x2651bf[_0x37c34d(0x271)][_0x37c34d(0x1d0)](_0x37c34d(0x29b)+_0x1bda8d+_0x37c34d(0x26c),_0x5116e9),_0x753bcd[_0x37c34d(0x1d7)]==_0xb26e47&&_0x2651bf[_0x37c34d(0x271)][_0x37c34d(0x1d0)](_0x37c34d(0x220),_0x5116e9),_0x2651bf[_0x37c34d(0x271)][_0x37c34d(0x2d8)](_0x3a7ef5,_0x5116e9),_0x2651bf[_0x37c34d(0x25e)][_0x37c34d(0x2b8)](_0x5116e9,_0x4b9bff[_0x37c34d(0x2aa)]);}_0x1e47c1||_0x21431c||!_0x384022||_0x4f0ff2(_0x384022);};}(this[_0x4e3a4a(0x289)]),{'priority':_0x4e3a4a(0x2b6)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x229)][_0x4e3a4a(0x2fa)]['on'](_0x4e3a4a(0x2df),(_0x3fa6c6,_0x4dcbf7,_0x241b76)=>{const _0x454781=_0x4e3a4a,_0x1b1212=_0x241b76[_0x454781(0x25e)][_0x454781(0x2dd)](_0x4dcbf7[_0x454781(0x2aa)]);if(_0x1b1212){for(const _0x1683f2 of _0x1b1212)(_0x1683f2[_0x454781(0x2bf)](_0x454781(0x21d))||_0x1683f2[_0x454781(0x2bf)](_0x454781(0x1ac)))&&(_0x241b76[_0x454781(0x25e)][_0x454781(0x27a)](_0x1683f2,_0x4dcbf7[_0x454781(0x2aa)]),_0x241b76[_0x454781(0x271)][_0x454781(0x1b7)](_0x1683f2));}},{'priority':_0x4e3a4a(0x2b6)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x229)][_0x4e3a4a(0x2fa)]['on'](_0x4e3a4a(0x1c0),(_0x5fc9c8,_0x8884dd,_0xfd5d95)=>{const _0x303eb4=_0x4e3a4a,_0x42ad6c=_0x8884dd[_0x303eb4(0x2aa)][_0x303eb4(0x22f)](':')[0x1],_0x2c7271=this[_0x303eb4(0x272)](_0x42ad6c);if(!_0x2c7271)return null;const _0x5df1d3=_0x303eb4(0x1bf)==_0x2c7271[_0x303eb4(0x240)]?_0x303eb4(0x22f):_0x303eb4(0x23f);if(_0xfd5d95[_0x303eb4(0x221)][_0x303eb4(0x2c1)](_0x8884dd[_0x303eb4(0x27b)],_0x5fc9c8[_0x303eb4(0x206)]))for(const _0x4fac17 of _0x8884dd[_0x303eb4(0x27b)][_0x303eb4(0x1d8)]()){if(!_0x4fac17['is'](_0x303eb4(0x2d5),_0x303eb4(0x24c)))continue;const _0x2fe23d=_0xfd5d95[_0x303eb4(0x271)][_0x303eb4(0x291)](_0x303eb4(0x236),{'class':_0x303eb4(0x29b)+_0x5df1d3}),_0x3c7f99=_0xfd5d95[_0x303eb4(0x25e)][_0x303eb4(0x2d0)](this[_0x303eb4(0x289)][_0x303eb4(0x1ce)][_0x303eb4(0x259)](_0x4fac17));_0x2c7271[_0x303eb4(0x25d)][_0x303eb4(0x267)]&&_0xfd5d95[_0x303eb4(0x271)][_0x303eb4(0x1d0)](_0x303eb4(0x29b)+_0x5df1d3+_0x303eb4(0x26c),_0x2fe23d),this[_0x303eb4(0x1d7)]==_0x2c7271&&_0xfd5d95[_0x303eb4(0x271)][_0x303eb4(0x1d0)](_0x303eb4(0x220),_0x2fe23d),_0xfd5d95[_0x303eb4(0x271)][_0x303eb4(0x2d8)](_0x3c7f99,_0x2fe23d),_0xfd5d95[_0x303eb4(0x25e)][_0x303eb4(0x2b8)](_0x2fe23d,_0x8884dd[_0x303eb4(0x2aa)]);}},{'priority':_0x4e3a4a(0x2b6)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x1ce)][_0x4e3a4a(0x2ca)]['on'](_0x4e3a4a(0x2bb),()=>{const _0x31d619=_0x4e3a4a;this[_0x31d619(0x289)][_0x31d619(0x229)][_0x31d619(0x235)][_0x31d619(0x2bb)](_0x15a47a=>{const _0x13a14f=_0x31d619;for(const _0xa295e7 of this[_0x13a14f(0x289)][_0x13a14f(0x1ce)][_0x13a14f(0x2ca)][_0x13a14f(0x1f3)]()){const _0x164a3e=this[_0x13a14f(0x289)][_0x13a14f(0x1ce)][_0x13a14f(0x2ca)][_0x13a14f(0x258)](_0xa295e7),_0x39be2c=this[_0x13a14f(0x289)][_0x13a14f(0x229)][_0x13a14f(0x235)][_0x13a14f(0x2ca)][_0x13a14f(0x258)](_0xa295e7);if(_0x39be2c){const _0x1fde63=_0x164a3e[_0x13a14f(0x234)](_0x13a14f(0x1cd));if(_0x15a47a[_0x13a14f(0x1bd)](_0x13a14f(0x24e),_0x39be2c),_0x15a47a[_0x13a14f(0x1d2)](_0x13a14f(0x2cd),_0x39be2c),_0x15a47a[_0x13a14f(0x1d2)](_0x13a14f(0x2e2),_0x39be2c),_0x15a47a[_0x13a14f(0x1d2)](_0x13a14f(0x260),_0x39be2c),_0x1fde63){const _0x4c6e72=this[_0x13a14f(0x272)](_0x1fde63);if(!_0x4c6e72)return null;_0x15a47a[_0x13a14f(0x231)](_0x13a14f(0x24e),_0x1fde63,_0x39be2c),_0x15a47a[_0x13a14f(0x1d0)](_0x13a14f(0x2f7)+_0x4c6e72[_0x13a14f(0x240)],_0x39be2c),this[_0x13a14f(0x1d7)]==_0x4c6e72&&_0x15a47a[_0x13a14f(0x1d0)](_0x13a14f(0x260),_0x39be2c);}}}});}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x210))[_0x4e3a4a(0x29c)]({'view':_0x4e3a4a(0x1cf),'model':_0xfe2736=>_0x4e3a4a(0x1af)+_0xfe2736,'converterPriority':_0x4e3a4a(0x2a0)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x210))[_0x4e3a4a(0x29c)]({'view':_0x4e3a4a(0x213),'model':_0x5dc322=>_0x4e3a4a(0x25f)+_0x5dc322,'converterPriority':_0x4e3a4a(0x2a0)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x2a1))[_0x4e3a4a(0x1fa)]({'model':_0x4e3a4a(0x1f1),'view':_0x1c0341=>({'name':_0x4e3a4a(0x251)+_0x1c0341,'group':_0x4e3a4a(0x1f1)}),'converterPriority':_0x4e3a4a(0x2a0)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x263)][_0x4e3a4a(0x28c)](_0x4e3a4a(0x283))[_0x4e3a4a(0x28e)]({'model':_0x4e3a4a(0x1f1),'view':_0x3642e4=>{const _0x762aa1=_0x4e3a4a,_0x42a37d=_0x3642e4[_0x762aa1(0x2aa)][_0x762aa1(0x22f)](':')[0x1];return _0x762aa1(0x2ed)!=_0x42a37d&&_0x762aa1(0x27c)!=_0x42a37d?null:{'classes':[_0x762aa1(0x2a6),_0x762aa1(0x211)+_0x42a37d]};}}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x229)][_0x4e3a4a(0x2fa)]['on'](_0x4e3a4a(0x248),Z(this[_0x4e3a4a(0x289)],_0x4e3a4a(0x23f)),{'priority':_0x4e3a4a(0x2b6)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x229)][_0x4e3a4a(0x2fa)]['on'](_0x4e3a4a(0x284),Z(this[_0x4e3a4a(0x289)],_0x4e3a4a(0x22f)),{'priority':_0x4e3a4a(0x2b6)}),this[_0x4e3a4a(0x289)][_0x4e3a4a(0x229)][_0x4e3a4a(0x2fa)]['on'](_0x4e3a4a(0x2eb),(_0x11aaf0,_0x4deac7,_0x30db00)=>{const _0x2d7f5f=_0x4e3a4a,_0x875273=_0x30db00[_0x2d7f5f(0x25e)][_0x2d7f5f(0x2dd)](_0x4deac7[_0x2d7f5f(0x2aa)]);if(_0x875273){for(const _0x552587 of _0x875273)_0x552587['is'](_0x2d7f5f(0x1ad))&&(_0x30db00[_0x2d7f5f(0x25e)][_0x2d7f5f(0x27a)](_0x552587,_0x4deac7[_0x2d7f5f(0x2aa)]),_0x30db00[_0x2d7f5f(0x271)][_0x2d7f5f(0x1b7)](_0x552587));}},{'priority':_0x4e3a4a(0x2b6)});}[_0x1bd6f8(0x272)](_0x4e3bf4){const _0x5f2e1b=_0x1bd6f8;return this[_0x5f2e1b(0x295)][_0x5f2e1b(0x1ef)](_0x4e3bf4);}[_0x1bd6f8(0x21a)](_0x1b170d){const _0x459f10=_0x1bd6f8;return this[_0x459f10(0x25b)]&&this[_0x459f10(0x25b)][_0x459f10(0x2b5)](),this[_0x459f10(0x25b)]=new _0x153d5f(this[_0x459f10(0x289)][_0x459f10(0x218)],_0x1b170d),this[_0x459f10(0x25b)];}[_0x1bd6f8(0x241)](){const _0x55976c=_0x1bd6f8;this[_0x55976c(0x289)][_0x55976c(0x1ce)][_0x55976c(0x2ca)][_0x55976c(0x2bd)][_0x55976c(0x293)](_0x55976c(0x275)),this['on'](_0x55976c(0x26b),(_0x1d989f,_0x4c2feb,_0x48b16b,_0x3f4b28)=>{const _0x254650=_0x55976c;_0x3f4b28&&this[_0x254650(0x28d)][_0x254650(0x1b7)](_0x3f4b28),_0x48b16b&&(this[_0x254650(0x28d)][_0x254650(0x1bf)]({'view':_0x48b16b,'stackId':_0x254650(0x1b4),'position':{'target':()=>{const _0x34712a=_0x254650,_0x3fe538=this[_0x34712a(0x289)][_0x34712a(0x229)],_0x408d31=this[_0x34712a(0x272)](_0x48b16b[_0x34712a(0x297)]);let _0x22db40;if(_0x408d31[_0x34712a(0x25d)][_0x34712a(0x1b6)]){const _0x2ed78e=_0x3fe538[_0x34712a(0x235)][_0x34712a(0x24d)](_0x408d31[_0x34712a(0x288)]);_0x22db40=Array[_0x34712a(0x29e)](_0x2ed78e[_0x34712a(0x215)]());}else{const _0x44783b=this[_0x34712a(0x289)][_0x34712a(0x1ce)][_0x34712a(0x276)][_0x34712a(0x1ef)](_0x34712a(0x209)+_0x48b16b[_0x34712a(0x297)]);_0x22db40=Array[_0x34712a(0x29e)](_0x3fe538[_0x34712a(0x25e)][_0x34712a(0x2dd)](_0x44783b[_0x34712a(0x206)]))[_0x34712a(0x2b2)](_0x17c0c4=>_0x3fe538[_0x34712a(0x235)][_0x34712a(0x2b4)][_0x34712a(0x1c1)](_0x17c0c4))[_0x34712a(0x2b2)](_0x30dbfb=>Array[_0x34712a(0x29e)](_0x30dbfb[_0x34712a(0x215)]()))[_0x34712a(0x2ba)]();}if(!this[_0x34712a(0x2a8)])return _0x22db40[0x0];return _0x22db40[_0x34712a(0x28f)](_0x4f234c=>_0x4f234c[_0x34712a(0x226)]-0x3<=this[_0x34712a(0x2a8)]['y']&&_0x4f234c[_0x34712a(0x1c9)]+0x3>=this[_0x34712a(0x2a8)]['y']&&_0x4f234c[_0x34712a(0x2ec)]-0x3<=this[_0x34712a(0x2a8)]['x']&&_0x4f234c[_0x34712a(0x1ed)]+0x3>=this[_0x34712a(0x2a8)]['x'])||_0x22db40[0x0];}}}),this[_0x254650(0x28d)][_0x254650(0x23d)](_0x254650(0x1b4)));}),this['on'](_0x55976c(0x2d9),(_0xe8c7e1,_0x3e765a,_0x59ca0a,_0x161d26)=>{const _0x3f62a8=_0x55976c;this[_0x3f62a8(0x1d5)]=_0x59ca0a?this[_0x3f62a8(0x21a)](_0x59ca0a):null,this[_0x3f62a8(0x289)][_0x3f62a8(0x1ce)][_0x3f62a8(0x2bb)](()=>{const _0x1123a1=_0x3f62a8,_0x40d9c9=this[_0x1123a1(0x289)][_0x1123a1(0x229)];_0x161d26&&(_0x161d26[_0x1123a1(0x25d)][_0x1123a1(0x1b6)]?_0x40d9c9[_0x1123a1(0x235)][_0x1123a1(0x2bb)](_0x281df8=>{const _0x18631f=_0x1123a1;_0x281df8[_0x18631f(0x1d2)](_0x18631f(0x260),_0x40d9c9[_0x18631f(0x235)][_0x18631f(0x2ca)][_0x18631f(0x258)](_0x161d26[_0x18631f(0x288)]));}):_0x40d9c9[_0x1123a1(0x253)](_0x1123a1(0x209)+_0x161d26['id'])),_0x59ca0a&&(_0x59ca0a[_0x1123a1(0x25d)][_0x1123a1(0x1b6)]?_0x40d9c9[_0x1123a1(0x235)][_0x1123a1(0x2bb)](_0x448aa3=>{const _0x2f8617=_0x1123a1;_0x448aa3[_0x2f8617(0x1d0)](_0x2f8617(0x260),_0x40d9c9[_0x2f8617(0x235)][_0x2f8617(0x2ca)][_0x2f8617(0x258)](_0x59ca0a[_0x2f8617(0x288)]));}):_0x40d9c9[_0x1123a1(0x253)](_0x1123a1(0x209)+_0x59ca0a['id']));});}),this[_0x55976c(0x2f4)](this[_0x55976c(0x289)][_0x55976c(0x229)][_0x55976c(0x235)][_0x55976c(0x2ca)],_0x55976c(0x2ef),(_0x572b3d,_0x16155e)=>{const _0x1d5759=_0x55976c;if(this[_0x1d5759(0x1d7)])return;const _0x4d60ff=this[_0x1d5759(0x20c)](_0x16155e[_0x1d5759(0x1e0)]),_0xee81ad=this[_0x1d5759(0x295)][_0x1d5759(0x1ef)](_0x4d60ff);_0xee81ad?(this[_0x1d5759(0x2a8)]={'x':_0x16155e[_0x1d5759(0x290)]['x'],'y':_0x16155e[_0x1d5759(0x290)]['y']},this[_0x1d5759(0x1d5)]=this[_0x1d5759(0x21a)](_0xee81ad)):(this[_0x1d5759(0x2a8)]=null,this[_0x1d5759(0x1d5)]=null);}),this[_0x55976c(0x2f4)](this[_0x55976c(0x289)][_0x55976c(0x229)][_0x55976c(0x235)][_0x55976c(0x2ca)],_0x55976c(0x1b8),(_0x376e09,_0x1c4a36)=>{const _0x2ac440=_0x55976c,_0x5e18db=this[_0x2ac440(0x20c)](_0x1c4a36[_0x2ac440(0x1e0)]),_0x3f79d0=this[_0x2ac440(0x295)][_0x2ac440(0x1ef)](_0x5e18db);_0x3f79d0?(this[_0x2ac440(0x2a8)]={'x':_0x1c4a36[_0x2ac440(0x290)]['x'],'y':_0x1c4a36[_0x2ac440(0x290)]['y']},_0x3f79d0===this[_0x2ac440(0x1d7)]?this[_0x2ac440(0x28d)][_0x2ac440(0x2be)]():this[_0x2ac440(0x1d7)]=_0x3f79d0):(this[_0x2ac440(0x2a8)]=null,this[_0x2ac440(0x1d7)]=null);});}[_0x1bd6f8(0x20c)](_0x2d4a1b){const _0x36e5cf=_0x1bd6f8;do{const _0x23aec3=_0x2d4a1b[_0x36e5cf(0x234)](_0x36e5cf(0x24e));if(_0x23aec3)return _0x23aec3;_0x2d4a1b=_0x2d4a1b[_0x36e5cf(0x1e3)];}while(_0x2d4a1b);return null;}[_0x1bd6f8(0x25a)](){const _0x92190f=_0x1bd6f8;this[_0x92190f(0x289)][_0x92190f(0x1ce)][_0x92190f(0x2bb)](_0x51d00a=>{const _0x13c431=_0x92190f;for(const _0x46573d of this[_0x13c431(0x289)][_0x13c431(0x1ce)][_0x13c431(0x276)])_0x51d00a[_0x13c431(0x238)](_0x46573d);});}}function Z(_0x59b603,_0x11fb92){return(_0x51f4e5,_0x472002,_0x24b064)=>{const _0x41064a=_0xf7e6;if(!_0x24b064[_0x41064a(0x221)][_0x41064a(0x2c1)](_0x472002[_0x41064a(0x27b)],_0x51f4e5[_0x41064a(0x206)]))return;const _0x255d8d=_0x472002[_0x41064a(0x27b)][_0x41064a(0x2f1)](),_0x4c2e31=_0x472002[_0x41064a(0x27b)][_0x41064a(0x1ae)],_0x2a6388=_0x59b603[_0x41064a(0x1ce)][_0x41064a(0x249)];let _0x52c04e=null,_0x456168=null,_0x42d625=!0x1,_0x289b63=!0x1;for(const _0x24e123 of _0x255d8d){const _0x5c4132=_0x24e123[_0x41064a(0x250)];_0x42d625=_0x42d625||_0x2a6388[_0x41064a(0x2e5)](_0x5c4132);const _0x3018a6=_0x24b064[_0x41064a(0x25e)][_0x41064a(0x214)](_0x5c4132);if(_0x3018a6&&_0x3018a6[_0x41064a(0x22a)](_0x41064a(0x299)))return;_0x41064a(0x1e2)==_0x24e123[_0x41064a(0x240)]&&(_0x2a6388[_0x41064a(0x1ff)](_0x5c4132)&&!_0x2a6388[_0x41064a(0x29a)](_0x5c4132)&&(_0x5c4132[_0x41064a(0x2e8)]||_0x4c2e31[_0x41064a(0x1cc)]?_0x52c04e&&_0x52c04e[_0x41064a(0x1e3)]==_0x5c4132||(_0x52c04e=_0x5c4132,_0x540c43(_0x24e123[_0x41064a(0x2d3)]),_0x289b63=!0x0):_0x456168=_0x456168||_0x24e123[_0x41064a(0x2d3)]));}function _0x540c43(_0x24a1d7){const _0x13ef56=_0x41064a,_0x495967=_0x24b064[_0x13ef56(0x25e)][_0x13ef56(0x2d0)](_0x24a1d7),_0xb8913d=_0x24b064[_0x13ef56(0x271)][_0x13ef56(0x291)](_0x13ef56(0x236),{'class':_0x13ef56(0x211)+_0x11fb92});_0x24b064[_0x13ef56(0x271)][_0x13ef56(0x2d8)](_0x495967,_0xb8913d),_0x24b064[_0x13ef56(0x25e)][_0x13ef56(0x2b8)](_0xb8913d,_0x472002[_0x13ef56(0x2aa)]);}_0x42d625||_0x289b63||!_0x456168||_0x540c43(_0x456168);};}export class RestoreRevisionCommand extends _0x2fb06f{constructor(_0x3ded54){const _0x227921=_0x1bd6f8;super(_0x3ded54);const _0x400d2e=_0x3ded54[_0x227921(0x23e)][_0x227921(0x1ef)](d);this[_0x227921(0x266)]=!0x1,this[_0x227921(0x2f4)](_0x400d2e,_0x227921(0x222),()=>this[_0x227921(0x2ab)]()),this[_0x227921(0x2f4)](_0x400d2e,_0x227921(0x237),()=>this[_0x227921(0x2ab)]());}[_0x1bd6f8(0x205)](){const _0x1d04af=_0x1bd6f8,_0x46550a=this[_0x1d04af(0x289)],_0x4aacd2=_0x46550a[_0x1d04af(0x23e)][_0x1d04af(0x1ef)](d),_0x359cd0=_0x4aacd2[_0x1d04af(0x2f9)]?_0x4aacd2[_0x1d04af(0x1f4)][_0x1d04af(0x27f)]:null;_0x46550a[_0x1d04af(0x1e8)][_0x1d04af(0x1ef)](_0x1d04af(0x202))[_0x1d04af(0x2f0)](_0x359cd0);}[_0x1bd6f8(0x2ab)](){const _0x12614e=_0x1bd6f8,{isReady:_0x52dd41,isEnabled:_0x1de566,repository:_0x1df776,diff:_0x3b704d}=this[_0x12614e(0x289)][_0x12614e(0x23e)][_0x12614e(0x1ef)](d),_0x473df1=_0x3b704d&&_0x1df776[_0x12614e(0x1e4)](_0x3b704d[_0x12614e(0x27f)]);this[_0x12614e(0x1e6)]=_0x52dd41&&_0x1de566&&Boolean(_0x473df1);}}function _0xf7e6(_0x52f077,_0x2e80b3){const _0x2e9ed1=_0x2e9e();return _0xf7e6=function(_0xf7e6e1,_0x2c58f2){_0xf7e6e1=_0xf7e6e1-0x1ac;let _0x3843a2=_0x2e9ed1[_0xf7e6e1];return _0x3843a2;},_0xf7e6(_0x52f077,_0x2e80b3);}function _0x2e9e(){const _0x330c2f=['unshift','distance','activeView','error','activeChange','getItems','resolve','roots','length','startIndex','filter','findIndex','concat','target','bind','elementEnd','parent','getLaterVisibleRevision','text','isEnabled','_threeWayMerge','config','_makeModelFromTape','side','515618WZmiuc','consume','right','revision-end','get','userId','revision-suggestion','2589891nyDhmM','getRootNames','diff','_removeRevisionMarkers','restoreRevision','then','viewItem','isObject','markerToData','next','ck-editor__editable__overlay','index','attachChange','isBlock','ck-suggestion-marker','keys','revisionHistory','first','463691OgJPdO','execute','name','code','attributes','revision:','_removeUnsupportedChanges','includes','_findChangeIdFromDomTarget','vid_end','revision-start','stop','upcast','ck-suggestion-preview-marker-','_appendChild','suggestion','toViewElement','getClientRects','useFillerType','_processTape','locale','parse','_getViewForChange','nodeAfter','isAfter','ck-suggestion-marker-split','data-revision-','default','ck-suggestion-marker--active','consumable','change:isReady','_setDistance','addRoot','compare','top','elementToAttribute','_setChanges','editing','getCustomProperty','createRevision','indexOf','_fixObsoleteTags','isPremiumPlugin','split','toModel','setAttribute','attributesBefore','all','getAttribute','view','span','change:isEnabled','removeMarker','backward','showNextChange','getRevisionData','_markInsertions','showStack','plugins','merge','type','_initInteractions','authors','_makeTape','startsWith','enableReadOnlyMode','getChild','_markMismatchedRemovedTags','addMarker:revision-suggestion:deletion','schema','_getRevisionsRange','forceDisabled','softBreak','getDomRoot','data-change-id','hasAttribute','item','suggestion:','commands','reconvertMarker','_cleanUp','2896957iuiIzm','isIncorrect','pairId','getRoot','createPositionBefore','_cleanMarkers','_changeView','isAdded','data','mapper','revision-suggestion:','ck-revision-history-root--active','_markMarkers','_refreshStartEndIndex','conversion','element:pre','createRangeIn','affectsData','isSuggestion','clear','attribute:vid','getAttributes','change:activeView','-new','createAttributeElement','currentChangeNumber','enqueueChange','init','writer','_getChangeFromId','getRevisionRootsAttributes','numberOfChanges','revision','markers','children','RevisionViewer','values','unbindElementFromMarkerName','markerRange','deletion','insertions','isNavigationMode','newRevisionId','elementStart','1950360AyhYta','modelRange','editingDowncast','addMarker:revision-suggestion:insertion','isAtStart','createPositionFromPath','addRevisionData','rootName','editor','markersStart','1284284uzxJYX','for','_balloon','markerToHighlight','find','domEvent','createUIElement','requires','observeMarkers','has','_changeIdToChange','change:numberOfChanges','changeId','offsetSize','addHighlight','isLimit','ck-suggestion-marker-','dataToMarker','isCollapsed','from','isRemoved','highest','dataDowncast','return','sort','maxOffset','vid_start','ck-suggestion-preview-marker','object','_activeViewTarget','isBefore','markerName','refresh','isInline','_getViewObj','_makeModelFromViewString','marked','shift','markersEnd','map','repository','domConverter','destroy','high','range','bindElementToMarker','_joinTapes','flat','change','forEach','selection','updatePosition','hasClass','_markSuggestions','test','showPreviousChange','adapter','nextPosition','wrap','_step','loadRevisionData','_setConversion','_data','document','detachRoot','attributesAfter','ck-revision-history-root-add','_revisions','abs','toViewPosition','_getDiff','_update','previousPosition','_sortAndFilterDiffChanges','element','toViewRange','createRange','insert','change:activeChange','isRemoveSuggestion','_removeMissingPairs','end','markerNameToElements','diffData','removeMarker:revision','checkAttribute','forward','ck-revision-history-root-remove','855620ttwjEg','vid','isContent','toData','changes','nextSibling','getRevision','pop','removeMarker:revision-suggestion','left','insertion','catch','mouseover','restoreRevisionCallback','getWalker','POSITIVE_INFINITY','delete','listenTo','isOfficialPlugin','RevisionsRepository','ck-revision-history-root-','low','isReady','downcastDispatcher','ck-suggestion-marker-merge','uiElement','start','revision-comment:','level','slice','getIndex','WidgetToolbarRepository','revisionHistoryLabel','string','isOnRoot','remove','mousedown','processor','revision-viewer','addRevision','isAttached','removeAttribute','set','add','addMarker:revision','mapViewToDom','deletions','isAddSuggestion','push','splice','oldRevisionId','isEqual','endIndex','bottom','collaboration.channelId','done','isAtEnd','revisionHistoryAttachChange','model','comment','addClass','pluginName','removeClass'];_0x2e9e=function(){return _0x330c2f;};return _0x2e9e();}export class ShowChangeCommand extends _0x2fb06f{constructor(_0xc0bb,{direction:_0x1fe74e}){const _0x4e3806=_0x1bd6f8;super(_0xc0bb);const _0xcc3b5f=_0xc0bb[_0x4e3806(0x23e)][_0x4e3806(0x1ef)](d);this[_0x4e3806(0x266)]=!0x1,this[_0x4e3806(0x2c6)]=_0x4e3806(0x2e1)===_0x1fe74e?0x1:-0x1,this[_0x4e3806(0x2f4)](_0xcc3b5f,_0x4e3806(0x222),()=>this[_0x4e3806(0x2ab)]()),this[_0x4e3806(0x2f4)](_0xcc3b5f,_0x4e3806(0x237),()=>this[_0x4e3806(0x2ab)]()),this[_0x4e3806(0x2f4)](_0xcc3b5f,_0x4e3806(0x2d9),()=>this[_0x4e3806(0x2ab)]());}[_0x1bd6f8(0x205)](){const _0xb89fb8=_0x1bd6f8,_0x221903=this[_0xb89fb8(0x289)],_0x359dd1=_0x221903[_0xb89fb8(0x23e)][_0xb89fb8(0x1ef)](d),{isNavigationMode:_0x42af00,currentChangeNumber:_0x3bdcdc}=_0x359dd1;let _0x4a57c2;if(_0x359dd1[_0xb89fb8(0x1d7)]=_0x42af00?_0x359dd1[_0xb89fb8(0x1f4)][_0xb89fb8(0x2e7)][_0xb89fb8(0x1ef)](_0x3bdcdc+this[_0xb89fb8(0x2c6)]):_0x359dd1[_0xb89fb8(0x1f4)][_0xb89fb8(0x2e7)][_0xb89fb8(0x203)],_0x359dd1[_0xb89fb8(0x1d7)][_0xb89fb8(0x25d)][_0xb89fb8(0x1b6)])_0x4a57c2=_0x221903[_0xb89fb8(0x229)][_0xb89fb8(0x235)][_0xb89fb8(0x24d)](_0x359dd1[_0xb89fb8(0x1d7)][_0xb89fb8(0x288)]);else{const _0x140e1e=_0x221903[_0xb89fb8(0x1ce)][_0xb89fb8(0x276)][_0xb89fb8(0x1ef)](_0xb89fb8(0x209)+_0x359dd1[_0xb89fb8(0x1d7)]['id']);_0x4a57c2=_0x302631(_0x221903[_0xb89fb8(0x229)],_0x140e1e);}_0x2dcaf9({'target':_0x4a57c2,'viewportOffset':0x28});}[_0x1bd6f8(0x2ab)](){const _0x15020b=_0x1bd6f8,{isNavigationMode:_0x1db65d,currentChangeNumber:_0x33c943,numberOfChanges:_0x3b81d7,isReady:_0x319d53,isEnabled:_0x1bc118}=this[_0x15020b(0x289)][_0x15020b(0x23e)][_0x15020b(0x1ef)](d);this[_0x15020b(0x1e6)]=!!(_0x1bc118&&_0x319d53&&_0x3b81d7)&&(!_0x1db65d||(0x1===this[_0x15020b(0x2c6)]?_0x33c943<_0x3b81d7-0x1:_0x33c943>0x0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x329504,_0x38cace){const _0x4dc152=_0x53a3,_0x1a75b=_0x329504();while(!![]){try{const _0xcdf08c=-parseInt(_0x4dc152(0xaa))/0x1+parseInt(_0x4dc152(0x9d))/0x2*(parseInt(_0x4dc152(0x8c))/0x3)+-parseInt(_0x4dc152(0x94))/0x4*(parseInt(_0x4dc152(0x90))/0x5)+parseInt(_0x4dc152(0x83))/0x6+-parseInt(_0x4dc152(0xa8))/0x7+parseInt(_0x4dc152(0xa6))/0x8*(parseInt(_0x4dc152(0xac))/0x9)+parseInt(_0x4dc152(0x87))/0xa;if(_0xcdf08c===_0x38cace)break;else _0x1a75b['push'](_0x1a75b['shift']());}catch(_0x4b4d06){_0x1a75b['push'](_0x1a75b['shift']());}}}(_0x56f6,0xc492e));import{Collection as _0x5b128b}from'ckeditor5/src/utils.js';function _0x56f6(){const _0x5e3340=['1002DRljHP','bind','Compare\x20against\x20selected','class','433835KYinYz','extendTemplate','isOpen','ck-revision-history-sidebar__revision__actions','64ZMeIoE','find','map','model','Restore\x20this\x20revision','name','stopPropagation','ck-on','function','6746MspkAO','Show\x20more\x20items','isActionsDropdownOpen','children','set','bindTemplate','listenTo','_action','action','8BFyVgJ','items','10251766oUnDPq','threeVerticalDots','8812fxNCKc','execute','1300221YMWHjb','Name\x20this\x20revision','change:isActionsDropdownOpen','isReady','panelPosition','source','button','locale','buttonView','6306024wdtnPt','menu','isVisible','add','13447330aGThIR','first','isEnabled','listView','menuitem'];_0x56f6=function(){return _0x5e3340;};return _0x56f6();}function _0x53a3(_0x34cdf0,_0xe926c){const _0x56f674=_0x56f6();return _0x53a3=function(_0x53a3f4,_0x7e8432){_0x53a3f4=_0x53a3f4-0x80;let _0x335bd2=_0x56f674[_0x53a3f4];return _0x335bd2;},_0x53a3(_0x34cdf0,_0xe926c);}import{icons as _0x288064}from'ckeditor5/src/core.js';import{ViewModel as _0x4d70c4,addListToDropdown as _0x3194ef,createDropdown as _0x47f707}from'ckeditor5/src/ui.js';import{getTranslation as _0x2a7b65}from'../../utils/common-translations.js';import'../../../theme/revision/revisionactions.css';export function createActionsDropdownView(_0x549668,_0x58c2db){const _0x582b2b=_0x53a3,_0x1a5130=_0x549668[_0x582b2b(0xa2)],_0x35a898=_0x549668[_0x582b2b(0x81)],_0x15c9f4=_0x47f707(_0x35a898);_0x15c9f4[_0x582b2b(0xb0)]='sw';const _0x3b0588=function(_0x5d375d,_0x3f7a12){const _0x121c99=_0x582b2b,_0x10bd9c=function(_0x39abb2,_0x30b43a){const _0x5b5479=_0x53a3,_0x221a10=_0x39abb2[_0x5b5479(0x81)],_0x282610={'Compare\x20against\x20selected':_0x2a7b65(_0x221a10,_0x5b5479(0x8e)),'Name\x20this\x20revision':_0x2a7b65(_0x221a10,_0x5b5479(0xad)),'Restore\x20this\x20revision':_0x2a7b65(_0x221a10,_0x5b5479(0x98))};return _0x30b43a[_0x5b5479(0x96)](_0x527e54=>{const _0x583376=_0x5b5479,_0x38f7fc=_0x282610[_0x527e54[_0x583376(0x99)]];return _0x38f7fc&&_0x38f7fc!==_0x527e54[_0x583376(0x99)]&&(_0x527e54[_0x583376(0x99)]=_0x38f7fc),_0x527e54;});}(_0x5d375d,_0x3f7a12),_0x17a1e3=new _0x5b128b();for(const _0xf5d8b1 of _0x10bd9c){const _0x3aafd1={'type':_0x121c99(0x80),'model':new _0x4d70c4({'label':_0xf5d8b1[_0x121c99(0x99)],'class':_0xf5d8b1[_0x121c99(0x8f)],'withText':!0x0,'role':_0x121c99(0x8b),'_action':_0xf5d8b1[_0x121c99(0xa5)]})};_0x3aafd1[_0x121c99(0x97)][_0x121c99(0x8d)](_0x121c99(0x89))['to'](_0x5d375d,_0x121c99(0x9f),_0x4a001c=>_0x121c99(0x9c)!=typeof _0xf5d8b1[_0x121c99(0x89)]||(!_0x4a001c||_0xf5d8b1[_0x121c99(0x89)](_0x5d375d))),_0x17a1e3[_0x121c99(0x86)](_0x3aafd1);}return _0x17a1e3;}(_0x549668,_0x58c2db);return _0x549668[_0x582b2b(0x8d)](_0x582b2b(0x9f))['to'](_0x15c9f4,_0x582b2b(0x92)),_0x15c9f4[_0x582b2b(0x82)][_0x582b2b(0xa1)]({'label':_0x2a7b65(_0x35a898,_0x582b2b(0x9e)),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x288064[_0x582b2b(0xa9)]}),_0x15c9f4[_0x582b2b(0x91)]({'attributes':{'class':[_0x582b2b(0x93),_0x1a5130['if'](_0x582b2b(0x9f),_0x582b2b(0x9b))]},'on':{'click':_0x1a5130['to'](_0x53825c=>_0x53825c[_0x582b2b(0x9a)]())}}),_0x15c9f4['on'](_0x582b2b(0xab),_0x1baa42=>{const _0x3924ab=_0x582b2b;_0x549668[_0x3924ab(0xaf)]&&_0x3924ab(0x9c)==typeof _0x1baa42[_0x3924ab(0xb1)][_0x3924ab(0xa4)]&&_0x1baa42[_0x3924ab(0xb1)][_0x3924ab(0xa4)](_0x549668);}),_0x3194ef(_0x15c9f4,_0x3b0588,{'role':_0x582b2b(0x84)}),_0x15c9f4[_0x582b2b(0xa3)](_0x549668,_0x582b2b(0xae),(_0x2ef090,_0x42e798,_0x2cf6b1)=>{const _0x353996=_0x582b2b;if(_0x2cf6b1)for(const _0x42003b of _0x15c9f4[_0x353996(0x8a)][_0x353996(0xa7)]){const _0x589658=_0x42003b[_0x353996(0xa0)][_0x353996(0x88)],_0x397a48=_0x58c2db[_0x353996(0x95)](_0x3a9a46=>_0x3a9a46[_0x353996(0xa5)]===_0x589658[_0x353996(0xa4)])[_0x353996(0x85)];_0x42003b[_0x353996(0x85)]=void 0x0===_0x397a48||_0x397a48(_0x549668);}}),_0x15c9f4;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x202f(){const _0xb8558d=['Revision\x20creator','168690RSxQTy','12437316jVAPLW','ck-revision-history-sidebar__revision-author_creator','36JHYRfN','551856OlHQMM','setTemplate','set','Revision\x20author','2373282clcDLQ','ck-revision-history-sidebar__revision-author','ck-revision-history-sidebar__revision-author__name','16MLfndp','2654444fHZxmE','span','677496tbEZKq','name','6119491AQWPkP','push','0\x200\x2011\x2010'];_0x202f=function(){return _0xb8558d;};return _0x202f();}(function(_0x2b15aa,_0x359c47){const _0x592650=_0x337f,_0x8368ea=_0x2b15aa();while(!![]){try{const _0x162156=-parseInt(_0x592650(0x99))/0x1+parseInt(_0x592650(0x97))/0x2+-parseInt(_0x592650(0x8f))/0x3+-parseInt(_0x592650(0xa2))/0x4*(parseInt(_0x592650(0x9f))/0x5)+parseInt(_0x592650(0x93))/0x6+-parseInt(_0x592650(0x9b))/0x7*(-parseInt(_0x592650(0x96))/0x8)+-parseInt(_0x592650(0xa0))/0x9;if(_0x162156===_0x359c47)break;else _0x8368ea['push'](_0x8368ea['shift']());}catch(_0x26fa82){_0x8368ea['push'](_0x8368ea['shift']());}}}(_0x202f,0xe1a15));import{View as _0x40de67,IconView as _0x490c86}from'ckeditor5/src/ui.js';import{getTranslation as _0x3af6db}from'../../utils/common-translations.js';function _0x337f(_0x56a8c3,_0x94d212){const _0x202fde=_0x202f();return _0x337f=function(_0x337f35,_0x12c02f){_0x337f35=_0x337f35-0x8f;let _0x48982c=_0x202fde[_0x337f35];return _0x48982c;},_0x337f(_0x56a8c3,_0x94d212);}import'../../../theme/revision/revisionauthor.css';import _0x422fbe from'../../../theme/icons/user.svg';export default class ti extends _0x40de67{constructor(_0x4c81d5,_0x8f9414,_0xb662a8){const _0x158636=_0x337f;super(_0x4c81d5);const _0x8cb3f4=new _0x490c86();_0x8cb3f4[_0x158636(0x91)]({'content':_0x422fbe,'viewBox':_0x158636(0x9d)});const _0x566d43=['ck',_0x158636(0x94)];_0xb662a8&&_0x566d43[_0x158636(0x9c)](_0x158636(0xa1));const _0x37a6a2=[{'tag':_0x158636(0x98),'attributes':{'class':['ck',_0x158636(0x95)],'title':_0x3af6db(_0x4c81d5,_0xb662a8?_0x158636(0x9e):_0x158636(0x92))},'children':[_0x8cb3f4,_0x8f9414[_0x158636(0x9a)]]}];this[_0x158636(0x90)]({'tag':'li','attributes':{'class':_0x566d43},'children':_0x37a6a2});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1719(){const _0x262326=['placeholder','758oqZWpL','482615tSAndY','1213170sMucNI','27yzsCbz','Enter\x20the\x20revision\x20name','render','2657430lecptF','set','value','513045glWfcc','bindTemplate','Revision\x20name','320862VKdZra','24vTxaHd','clientWidth','_tooltipString','_resizeObserver','span','ck-tooltip_multi-line','listenTo','element','fieldView','ck-revision-history-sidebar__revision-name','scrollWidth','_updateTooltipText','3967220gwSfHm','4eCMVEF','extendTemplate','input','destroy'];_0x1719=function(){return _0x262326;};return _0x1719();}function _0x3467(_0x2d47d3,_0x45bbe4){const _0x171992=_0x1719();return _0x3467=function(_0x34677a,_0x4e47ed){_0x34677a=_0x34677a-0x152;let _0x22a60f=_0x171992[_0x34677a];return _0x22a60f;},_0x3467(_0x2d47d3,_0x45bbe4);}const _0x1a6f3e=_0x3467;(function(_0x1694bb,_0x3e6c66){const _0x4aad0d=_0x3467,_0x2e7c63=_0x1694bb();while(!![]){try{const _0x214933=parseInt(_0x4aad0d(0x168))/0x1+parseInt(_0x4aad0d(0x16a))/0x2+parseInt(_0x4aad0d(0x152))/0x3+parseInt(_0x4aad0d(0x163))/0x4*(parseInt(_0x4aad0d(0x16e))/0x5)+parseInt(_0x4aad0d(0x155))/0x6+-parseInt(_0x4aad0d(0x169))/0x7*(-parseInt(_0x4aad0d(0x156))/0x8)+parseInt(_0x4aad0d(0x16b))/0x9*(-parseInt(_0x4aad0d(0x162))/0xa);if(_0x214933===_0x3e6c66)break;else _0x2e7c63['push'](_0x2e7c63['shift']());}catch(_0xe0e52c){_0x2e7c63['push'](_0x2e7c63['shift']());}}}(_0x1719,0x5cc56));import{LabeledFieldView as _0x224f19}from'ckeditor5/src/ui.js';import{ResizeObserver as _0x21e1fe}from'ckeditor5/src/utils.js';import{getTranslation as _0x5ec7f9}from'../../utils/common-translations.js';import'../../../theme/revision/revisionname.css';export default class pt extends _0x224f19{constructor(_0x2d31bd,_0x1f81a9){const _0x3d4d1e=_0x3467;super(_0x2d31bd,_0x1f81a9),this[_0x3d4d1e(0x159)]=null;const _0x278c44=this[_0x3d4d1e(0x153)];this[_0x3d4d1e(0x16f)]({'label':_0x5ec7f9(_0x2d31bd,_0x3d4d1e(0x154)),'_tooltipString':''}),this[_0x3d4d1e(0x15e)][_0x3d4d1e(0x167)]=_0x5ec7f9(_0x2d31bd,_0x3d4d1e(0x16c)),this[_0x3d4d1e(0x164)]({'tag':_0x3d4d1e(0x15a),'attributes':{'class':[_0x3d4d1e(0x15f)],'data-cke-tooltip-text':_0x278c44['to'](_0x3d4d1e(0x158)),'data-cke-tooltip-position':'s','data-cke-tooltip-class':_0x3d4d1e(0x15b)}});}[_0x1a6f3e(0x16d)](){const _0x41046b=_0x1a6f3e;super[_0x41046b(0x16d)](),this[_0x41046b(0x159)]=new _0x21e1fe(this[_0x41046b(0x15e)][_0x41046b(0x15d)],()=>this[_0x41046b(0x161)]()),this[_0x41046b(0x15c)](this[_0x41046b(0x15e)],_0x41046b(0x165),()=>this[_0x41046b(0x161)]());}[_0x1a6f3e(0x166)](){const _0xe2cd07=_0x1a6f3e;super[_0xe2cd07(0x166)](),this[_0xe2cd07(0x159)]&&this[_0xe2cd07(0x159)][_0xe2cd07(0x166)]();}[_0x1a6f3e(0x161)](){const _0x1d4696=_0x1a6f3e,_0x43930c=this[_0x1d4696(0x15e)][_0x1d4696(0x15d)];this[_0x1d4696(0x158)]=_0x43930c[_0x1d4696(0x160)]>_0x43930c[_0x1d4696(0x157)]&&_0x43930c[_0x1d4696(0x170)]||'';}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1a0b(_0x7c169d,_0x11df95){const _0x34817d=_0x3481();return _0x1a0b=function(_0x1a0b95,_0x15e67a){_0x1a0b95=_0x1a0b95-0x184;let _0x5bfd58=_0x34817d[_0x1a0b95];return _0x5bfd58;},_0x1a0b(_0x7c169d,_0x11df95);}const _0x365936=_0x1a0b;(function(_0x282aa4,_0x4f48f6){const _0x5363e0=_0x1a0b,_0x26944a=_0x282aa4();while(!![]){try{const _0x3d04f2=parseInt(_0x5363e0(0x188))/0x1+parseInt(_0x5363e0(0x1bc))/0x2*(parseInt(_0x5363e0(0x1c0))/0x3)+parseInt(_0x5363e0(0x196))/0x4*(-parseInt(_0x5363e0(0x198))/0x5)+parseInt(_0x5363e0(0x18e))/0x6*(parseInt(_0x5363e0(0x1ae))/0x7)+-parseInt(_0x5363e0(0x1b9))/0x8+-parseInt(_0x5363e0(0x194))/0x9+-parseInt(_0x5363e0(0x1b8))/0xa*(-parseInt(_0x5363e0(0x1b2))/0xb);if(_0x3d04f2===_0x4f48f6)break;else _0x26944a['push'](_0x26944a['shift']());}catch(_0x47072d){_0x26944a['push'](_0x26944a['shift']());}}}(_0x3481,0x974b4));import{View as _0x1ebd41,createLabeledInputText as _0x583f4c}from'ckeditor5/src/ui.js';import{ConfirmMixin as _0xdd4721}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x9a2118 from'./revisionnameview.js';function _0x3481(){const _0x19dbc4=['6790959nRSFyf','length','24YJdGKL','ck-revision-history-sidebar__revision-wrapper_confirmation_visible','682365IeEYZR','ck-revision-history-sidebar__revision__date','render','select','deselect','creator','bind','unshift','ck-revision-history-sidebar__revision-wrapper','srcElement','setName','ck-revision-history-sidebar__revision_highlighted','_requireRevisionName','fieldView','uiLanguage','bindTemplate','revisionNameView','.ck-thread__remove-confirm','createdAt','ck-revision-history-sidebar__actions_dropdown_open','closest','ck-reset','7UdCOJo','element','filter','span','11VyJrjQ','name','_revision','fire','setTemplate','set','12687710OfHLzx','7985888VdYGhq','unhighlight','from','16DBHcDH','220','value','highlight','59253MJoUwg','map','isEnabled','isHighlighted','ck-revision-history-sidebar__revision__controls-wrapper','change','authors','listenTo','ck-revision-history-sidebar__revision','isReady','925867wFkRkM','ck-revision-history-sidebar__revision-authors','revisionActionsView','isConfirm','isActionsDropdownOpen','extendTemplate','5032074fIprXZ','isSelected','_createdAtFormatted','ck-revision-history-sidebar__revision_selected','ck-disabled','div'];_0x3481=function(){return _0x19dbc4;};return _0x3481();}import _0xffff2 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x576c3a}from'./utils.js';import{createActionsDropdownView as _0x4c8dc5}from'./createrevisionactionsdropdown.js';import'../../../theme/revision/revision.css';export default class ai extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xdd4721(_0x1ebd41){constructor(_0x5d74c8,_0x3d4a9f,_0x34af37,_0x1597ab){const _0x215ff2=_0x1a0b;super(_0x5d74c8);const _0x346c1b=this[_0x215ff2(0x1a7)],_0x48f40f=function(_0x46945f,_0x48674b){const _0x4cff74=_0x215ff2,_0x468234=Array[_0x4cff74(0x1bb)](_0x48674b[_0x4cff74(0x184)])[_0x4cff74(0x1b0)](_0x424f5e=>_0x424f5e!=_0x48674b[_0x4cff74(0x19d)]);return _0x48674b[_0x4cff74(0x19d)]&&_0x468234[_0x4cff74(0x19f)](_0x48674b[_0x4cff74(0x19d)]),_0x468234[_0x4cff74(0x1c1)](_0x10f468=>new _0xffff2(_0x46945f,_0x10f468,_0x10f468==_0x48674b[_0x4cff74(0x19d)]));}(_0x5d74c8,_0x3d4a9f);this['id']=_0x3d4a9f['id'],this[_0x215ff2(0x1b4)]=_0x3d4a9f,this[_0x215ff2(0x1a4)]=_0x1597ab,this[_0x215ff2(0x19e)](_0x215ff2(0x1b3),_0x215ff2(0x1aa))['to'](_0x3d4a9f),this[_0x215ff2(0x19e)](_0x215ff2(0x190))['to'](this,_0x215ff2(0x1aa),_0x523c54=>_0x576c3a(_0x5d74c8[_0x215ff2(0x1a6)],_0x523c54)),this[_0x215ff2(0x1b7)](_0x215ff2(0x18f),!0x1),this[_0x215ff2(0x1b7)](_0x215ff2(0x1c3),!0x1),this[_0x215ff2(0x1b7)](_0x215ff2(0x18c),!0x1),this[_0x215ff2(0x1b7)](_0x215ff2(0x187),!0x1),this[_0x215ff2(0x1b7)](_0x215ff2(0x1c2),!0x1),this[_0x215ff2(0x1a8)]=new _0x9a2118(_0x5d74c8,_0x583f4c),this[_0x215ff2(0x1a8)][_0x215ff2(0x1a5)][_0x215ff2(0x18d)]({'attributes':{'maxlength':_0x215ff2(0x1bd)}}),this[_0x215ff2(0x1a8)][_0x215ff2(0x1a5)][_0x215ff2(0x19e)](_0x215ff2(0x1be))['to'](this,_0x215ff2(0x1b3),_0x2cb576=>_0x2cb576||this[_0x215ff2(0x190)]),this[_0x215ff2(0x1a8)][_0x215ff2(0x19e)](_0x215ff2(0x1c2))['to'](this,_0x215ff2(0x18f),this,_0x215ff2(0x1c2),(_0x1f5b66,_0x37b0de)=>_0x1f5b66&&_0x37b0de),this[_0x215ff2(0x18a)]=_0x34af37&&_0x34af37[_0x215ff2(0x195)]?_0x4c8dc5(this,_0x34af37):'',this[_0x215ff2(0x18a)]&&this[_0x215ff2(0x18a)][_0x215ff2(0x19e)](_0x215ff2(0x1c2))['to'](this),this[_0x215ff2(0x1b6)]({'tag':_0x215ff2(0x193),'attributes':{'class':['ck',_0x215ff2(0x1ad),_0x215ff2(0x1a0),_0x346c1b['if'](_0x215ff2(0x18b),_0x215ff2(0x197))]},'children':[{'tag':_0x215ff2(0x193),'attributes':{'class':['ck',_0x215ff2(0x1ad),_0x215ff2(0x186),_0x346c1b['if'](_0x215ff2(0x1c2),_0x215ff2(0x192),_0x3320da=>!_0x3320da),_0x346c1b['if'](_0x215ff2(0x18f),_0x215ff2(0x191)),_0x346c1b['if'](_0x215ff2(0x1c3),_0x215ff2(0x1a3)),_0x346c1b['if'](_0x215ff2(0x18c),_0x215ff2(0x1ab))]},'children':[this[_0x215ff2(0x1a8)],{'tag':_0x215ff2(0x1b1),'attributes':{'class':['ck',_0x215ff2(0x199)]},'children':[{'text':_0x346c1b['to'](_0x215ff2(0x190))}]},{'tag':_0x215ff2(0x193),'attributes':{'class':['ck',_0x215ff2(0x1c4)]},'children':[{'tag':'ul','attributes':{'class':['ck',_0x215ff2(0x189)]},'children':_0x48f40f}]},this[_0x215ff2(0x18a)]],'on':{'click':_0x346c1b['to'](_0x447309=>{const _0x186f8a=_0x215ff2;_0x447309[_0x186f8a(0x1a1)][_0x186f8a(0x1ac)](_0x186f8a(0x1a9))||this[_0x186f8a(0x187)]&&this[_0x186f8a(0x1c2)]&&this[_0x186f8a(0x1b5)](_0x186f8a(0x19b),{'id':this['id']});})}}]});}[_0x365936(0x19a)](){const _0x18fdac=_0x365936;super[_0x18fdac(0x19a)]();const _0x1ea3a=this[_0x18fdac(0x1a8)][_0x18fdac(0x1a5)][_0x18fdac(0x1af)];this[_0x18fdac(0x185)](_0x1ea3a,_0x18fdac(0x1c5),()=>{const _0xe01b7c=_0x18fdac;this[_0xe01b7c(0x1a4)]&&!_0x1ea3a[_0xe01b7c(0x1be)]||this[_0xe01b7c(0x1b5)](_0xe01b7c(0x1a2),{'id':this['id'],'name':_0x1ea3a[_0xe01b7c(0x1be)]}),_0x1ea3a[_0xe01b7c(0x1be)]||(_0x1ea3a[_0xe01b7c(0x1be)]=this[_0xe01b7c(0x1b3)]?this[_0xe01b7c(0x1b3)]:this[_0xe01b7c(0x190)]);});}[_0x365936(0x19b)](){const _0xfb415a=_0x365936;this[_0xfb415a(0x18f)]=!0x0;}[_0x365936(0x19c)](){const _0x4df219=_0x365936;this[_0x4df219(0x18f)]=!0x1;}[_0x365936(0x1bf)](){const _0x8af3a2=_0x365936;this[_0x8af3a2(0x1c3)]=!0x0;}[_0x365936(0x1ba)](){const _0x232981=_0x365936;this[_0x232981(0x1c3)]=!0x1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x99e7(){const _0x4dee08=['ck-revision-history-sidebar__subrevision-collapser','setTemplate','set','11WeiFDv','span','4087256KwOSoI','5505624AFBKFe','ck-revision-history-sidebar__subrevision-collapser_collapsed','10075530Ekxpbz','ck-hidden','4404hrkebF','_isCollapsed','true','3XHAMwD','2471bThiUU','isVisible','click','false','toggle','bindTemplate','2075850qPDokP','4YomVKu','440826UJkeVU','button','190029ijFHZN','ck-revision-history-sidebar__subrevision-collapser__inner'];_0x99e7=function(){return _0x4dee08;};return _0x99e7();}const _0x3ef813=_0x5dae;(function(_0x2d9629,_0x37aa62){const _0x4adbc7=_0x5dae,_0x37a22b=_0x2d9629();while(!![]){try{const _0x4825f0=parseInt(_0x4adbc7(0x1eb))/0x1*(-parseInt(_0x4adbc7(0x1f4))/0x2)+parseInt(_0x4adbc7(0x1dc))/0x3*(parseInt(_0x4adbc7(0x1f3))/0x4)+-parseInt(_0x4adbc7(0x1f2))/0x5+-parseInt(_0x4adbc7(0x1e8))/0x6*(-parseInt(_0x4adbc7(0x1ec))/0x7)+-parseInt(_0x4adbc7(0x1e3))/0x8+parseInt(_0x4adbc7(0x1e4))/0x9+parseInt(_0x4adbc7(0x1e6))/0xa*(parseInt(_0x4adbc7(0x1e1))/0xb);if(_0x4825f0===_0x37aa62)break;else _0x37a22b['push'](_0x37a22b['shift']());}catch(_0x163f65){_0x37a22b['push'](_0x37a22b['shift']());}}}(_0x99e7,0x56872));import{View as _0x4f66c5}from'ckeditor5/src/ui.js';import'../../../theme/revision/subrevisioncollapser.css';function _0x5dae(_0x1e43e4,_0x3014f0){const _0x99e79b=_0x99e7();return _0x5dae=function(_0x5dae69,_0x1a032d){_0x5dae69=_0x5dae69-0x1dc;let _0x163988=_0x99e79b[_0x5dae69];return _0x163988;},_0x5dae(_0x1e43e4,_0x3014f0);}export default class ss extends _0x4f66c5{constructor(_0x546a75){const _0x46d1fe=_0x5dae;super(_0x546a75);const _0x2876c1=this[_0x46d1fe(0x1f1)];this[_0x46d1fe(0x1e0)]({'isVisible':!0x0,'_isCollapsed':!0x0}),this[_0x46d1fe(0x1df)]({'tag':_0x46d1fe(0x1e2),'attributes':{'class':['ck',_0x46d1fe(0x1de),_0x2876c1['if'](_0x46d1fe(0x1ed),_0x46d1fe(0x1e7),_0x3da3d0=>!_0x3da3d0),_0x2876c1['if'](_0x46d1fe(0x1e9),_0x46d1fe(0x1e5))],'role':_0x46d1fe(0x1f5),'aria-pressed':_0x2876c1['to'](_0x46d1fe(0x1e9),_0x1d4990=>_0x1d4990?_0x46d1fe(0x1ef):_0x46d1fe(0x1ea))},'children':[{'tag':_0x46d1fe(0x1e2),'attributes':{'class':['ck',_0x46d1fe(0x1dd)]}}],'on':{'click':_0x2876c1['to'](_0x46d1fe(0x1ee))}});}[_0x3ef813(0x1f0)](){const _0x297493=_0x3ef813;this[_0x297493(0x1e9)]=!this[_0x297493(0x1e9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50cde8=_0x54b7;function _0x54b7(_0x14c69a,_0x32db13){const _0x5c637f=_0x5c63();return _0x54b7=function(_0x54b7a1,_0x5c05ba){_0x54b7a1=_0x54b7a1-0x10a;let _0x219caf=_0x5c637f[_0x54b7a1];return _0x219caf;},_0x54b7(_0x14c69a,_0x32db13);}function _0x5c63(){const _0xd6be87=['41126wqfBDs','bind','ck-revision-history-sidebar__revision__date','ck-revision-history-sidebar__revision-authors','createdAt','_parentRevisionId','6591MytVmc','ck-revision-history-sidebar__subrevision','bindTemplate','23GwcKUs','span','2328792nHMVLg','fire','setTemplate','9roVwbY','deselect','_createdAtFormatted','set','creator','isSelected','2219570lsKbOI','ck-reset','ck-revision-history-sidebar__revision_selected','1684695zysBia','956TWCxfI','uiLanguage','div','select','18dUYNqr','15666145cAuirb','ck-revision-history-sidebar__revision','559916ysayfT'];_0x5c63=function(){return _0xd6be87;};return _0x5c63();}(function(_0x46614a,_0x2954f8){const _0x5a8fa9=_0x54b7,_0x146b4f=_0x46614a();while(!![]){try{const _0x14839a=parseInt(_0x5a8fa9(0x125))/0x1*(-parseInt(_0x5a8fa9(0x11c))/0x2)+parseInt(_0x5a8fa9(0x122))/0x3*(-parseInt(_0x5a8fa9(0x114))/0x4)+-parseInt(_0x5a8fa9(0x113))/0x5+parseInt(_0x5a8fa9(0x118))/0x6*(parseInt(_0x5a8fa9(0x11b))/0x7)+parseInt(_0x5a8fa9(0x127))/0x8+parseInt(_0x5a8fa9(0x10a))/0x9*(-parseInt(_0x5a8fa9(0x110))/0xa)+parseInt(_0x5a8fa9(0x119))/0xb;if(_0x14839a===_0x2954f8)break;else _0x146b4f['push'](_0x146b4f['shift']());}catch(_0x30dc5b){_0x146b4f['push'](_0x146b4f['shift']());}}}(_0x5c63,0x613fa));import{View as _0x3eddbb}from'ckeditor5/src/ui.js';import _0x309032 from'./revisionauthorview.js';import{dateToPrettyFormat as _0x2932ff}from'./utils.js';import'../../../theme/revision/subrevision.css';export default class is extends _0x3eddbb{constructor(_0x4c1452,_0x1bc37c,_0x1f406a){const _0x22034a=_0x54b7;super(_0x4c1452);const _0x118891=this[_0x22034a(0x124)];this['id']=_0x1bc37c['id'],this[_0x22034a(0x11d)](_0x22034a(0x120))['to'](_0x1bc37c),this[_0x22034a(0x10d)](_0x22034a(0x10f),!0x1),this[_0x22034a(0x11d)](_0x22034a(0x10c))['to'](this,_0x22034a(0x120),_0x3eb4bc=>_0x3eb4bc?_0x2932ff(_0x4c1452[_0x22034a(0x115)],_0x3eb4bc):void 0x0),this[_0x22034a(0x121)]=_0x1f406a,this[_0x22034a(0x129)]({'tag':_0x22034a(0x116),'attributes':{'class':['ck',_0x22034a(0x111),_0x22034a(0x11a),_0x22034a(0x123),_0x118891['if'](_0x22034a(0x10f),_0x22034a(0x112))]},'children':[{'tag':_0x22034a(0x126),'attributes':{'class':['ck',_0x22034a(0x11e)]},'children':[{'text':_0x118891['to'](_0x22034a(0x10c))}]},{'tag':'ul','attributes':{'class':['ck',_0x22034a(0x11f)]},'children':[new _0x309032(_0x4c1452,_0x1bc37c[_0x22034a(0x10e)],!0x0)]}],'on':{'click':_0x118891['to'](this[_0x22034a(0x117)][_0x22034a(0x11d)](this))}});}[_0x50cde8(0x117)](){const _0x51d42c=_0x50cde8;this[_0x51d42c(0x10f)]=!0x0,this[_0x51d42c(0x128)](_0x51d42c(0x117),{'parentId':this[_0x51d42c(0x121)]});}[_0x50cde8(0x10b)](){const _0x56703b=_0x50cde8;this[_0x56703b(0x10f)]=!0x1;}}
|
package/src/ui/revision/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2480(){var _0x2e3ec4=['toLocaleDateString','8412860vrjulL','1270nUPzxd','641861jLgphr','26MhrUcg','9PISHCv','4785120AgXegQ','long','toLocaleTimeString','16871NUPQWs','numeric','196819HFPDpj','54LKgpug','6480788BSWBNV','8733272TgEurf'];_0x2480=function(){return _0x2e3ec4;};return _0x2480();}function _0x2e1d(_0x5bf487,_0x61d4d9){var _0x248067=_0x2480();return _0x2e1d=function(_0x2e1d30,_0x254629){_0x2e1d30=_0x2e1d30-0x6a;var _0x323780=_0x248067[_0x2e1d30];return _0x323780;},_0x2e1d(_0x5bf487,_0x61d4d9);}(function(_0x181fa8,_0x31db45){var _0x5c2119=_0x2e1d,_0x3e2497=_0x181fa8();while(!![]){try{var _0x252cf4=parseInt(_0x5c2119(0x74))/0x1*(-parseInt(_0x5c2119(0x6f))/0x2)+-parseInt(_0x5c2119(0x71))/0x3+-parseInt(_0x5c2119(0x78))/0x4+-parseInt(_0x5c2119(0x6c))/0x5+-parseInt(_0x5c2119(0x77))/0x6*(parseInt(_0x5c2119(0x76))/0x7)+parseInt(_0x5c2119(0x6a))/0x8*(-parseInt(_0x5c2119(0x70))/0x9)+-parseInt(_0x5c2119(0x6d))/0xa*(-parseInt(_0x5c2119(0x6e))/0xb);if(_0x252cf4===_0x31db45)break;else _0x3e2497['push'](_0x3e2497['shift']());}catch(_0x10e5de){_0x3e2497['push'](_0x3e2497['shift']());}}}(_0x2480,0xe79fd));export function dateToPrettyFormat(_0x1a7251,_0x3ece65){var _0x4bc5be=_0x2e1d;return _0x3ece65[_0x4bc5be(0x6b)](_0x1a7251,{'month':_0x4bc5be(0x72),'day':_0x4bc5be(0x75)})+',\x20'+_0x3ece65[_0x4bc5be(0x73)](_0x1a7251,{'hour':_0x4bc5be(0x75),'minute':_0x4bc5be(0x75)});}
|