@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250324.0 → 0.0.0-nightly-20250326.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index-editor.css +8 -8
- package/dist/index.css +17 -17
- 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 +11 -11
- package/src/augmentation.d.ts +2 -1
- 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.d.ts +2 -0
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +6 -0
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryconfig.d.ts +2 -2
- package/src/revisionhistoryutils.d.ts +64 -0
- package/src/revisionhistoryutils.js +23 -0
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +13 -9
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +39 -5
- 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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f675b=_0x1c15;(function(_0x454dc1,_0x5d5800){const _0x4a289a=_0x1c15,_0x29896d=_0x454dc1();while(!![]){try{const _0xa9d0e=-parseInt(_0x4a289a(0x14a))/0x1*(parseInt(_0x4a289a(0x155))/0x2)+parseInt(_0x4a289a(0x13e))/0x3+-parseInt(_0x4a289a(0x13f))/0x4*(parseInt(_0x4a289a(0x143))/0x5)+-parseInt(_0x4a289a(0x16d))/0x6*(parseInt(_0x4a289a(0x13a))/0x7)+-parseInt(_0x4a289a(0x162))/0x8+-parseInt(_0x4a289a(0x146))/0x9*(parseInt(_0x4a289a(0x149))/0xa)+-parseInt(_0x4a289a(0x167))/0xb*(-parseInt(_0x4a289a(0x140))/0xc);if(_0xa9d0e===_0x5d5800)break;else _0x29896d['push'](_0x29896d['shift']());}catch(_0x16a29f){_0x29896d['push'](_0x29896d['shift']());}}}(_0x9b4e,0x77fef));import{Users as _0x4aa2a0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x9b4e(){const _0x54d7ad=['push','360678AVKnsF','from','get','oldRevisionId','name','_revisions','77yFyNDu','addRevision','Users','isPremiumPlugin','1081422WfiEyx','8lJaVFq','18396cwTaRJ','createdAt','newRevisionId','1607735eKMlcL','isOfficialPlugin','attributes','170316dgraOq','reverse','later','230jDqsAU','4183BdYLwt','getLaterVisibleRevision','getRevisionsInDiff','isNaN','RevisionsRepository','diffData','fromVersion','creatorId','toVersion','earlier','authorsIds','282RyDeKs','map','getRevision','pluginName','getUser','createRevision','length','afterInit','requires','fromCharCode','data','editor','getRevisionsIterator','1030528QSmbBv','href','add','toJSON','join','18579QYjmia','getEarlierVisibleRevision','plugins','getRevisions','getIndex'];_0x9b4e=function(){return _0x54d7ad;};return _0x9b4e();}import{Plugin as _0x13d71a}from'ckeditor5/src/core.js';function _0x1c15(_0x2aff98,_0x3bfdcc){const _0x9b4e5e=_0x9b4e();return _0x1c15=function(_0x1c15ce,_0x597bd3){_0x1c15ce=_0x1c15ce-0x137;let _0x1d0869=_0x9b4e5e[_0x1c15ce];return _0x1d0869;},_0x1c15(_0x2aff98,_0x3bfdcc);}import{Collection as _0x31ec4b,uid as _0x20afa1}from'ckeditor5/src/utils.js';import{default as _0x645dc1}from'./revision.js';export default class j extends _0x13d71a{[_0x2f675b(0x139)];static get[_0x2f675b(0x15d)](){return[_0x4aa2a0];}static get[_0x2f675b(0x158)](){const _0x3311d9=_0x2f675b;return _0x3311d9(0x14e);}static get[_0x2f675b(0x144)](){return!0x0;}static get[_0x2f675b(0x13d)](){return!0x0;}get[_0x2f675b(0x15b)](){const _0x1d320b=_0x2f675b;return this[_0x1d320b(0x139)][_0x1d320b(0x15b)];}constructor(_0x66ef26){const _0x4b2f02=_0x2f675b;super(_0x66ef26),this[_0x4b2f02(0x139)]=new _0x31ec4b();}[_0x2f675b(0x15c)](){!async function(_0x426feb){const _0x47e42b=_0x314776([0x42,0x32,0x30,0x4a,0x45,0x64,0x76,0x69,0x43,0x74,0x4f,0x66,0x4d,0x37,0x6f,0x62,0x57,0x46,0x56,0x5a,0x58,0x6e,0x41,0x68,0x4e,0x35,0x61,0x65,0x55,0x4c,0x49,0x77,0x48,0x70,0x54,0x44,0x4b,0x47,0x50,0x39,0x52,0x34,0x33,0x6d,0x6b,0x71,0x75,0x73,0x79,0x38,0x6c,0x7a,0x63,0x53,0x51,0x67,0x59,0x78,0x72,0x31,0x6a,0x36]),_0x47b5a9=0xeb829,_0x9ee8b9=0x1fb1eaf4,_0x2327ed=0x1fb689fc^_0x9ee8b9,_0x37454a=window[_0x314776([0x44,0x61,0x74,0x65])][_0x314776([0x6e,0x6f,0x77])](),_0x5b0864=_0x426feb[_0x314776([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x458e00=new window[(_0x314776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd8e299=>{_0x5b0864[_0x314776([0x6f,0x6e,0x63,0x65])](_0x314776([0x72,0x65,0x61,0x64,0x79]),_0xd8e299);}),_0x25f1da={[_0x314776([0x6b,0x74,0x79])]:_0x314776([0x45,0x43]),[_0x314776([0x75,0x73,0x65])]:_0x314776([0x73,0x69,0x67]),[_0x314776([0x63,0x72,0x76])]:_0x314776([0x50,0x2d,0x32,0x35,0x36]),[_0x314776([0x78])]:_0x314776([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x314776([0x79])]:_0x314776([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x314776([0x61,0x6c,0x67])]:_0x314776([0x45,0x53,0x32,0x35,0x36])},_0x47a27a=_0x5b0864[_0x314776([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x314776([0x67,0x65,0x74])](_0x314776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16b2da(){let _0x248641,_0x13ed5d=null,_0x24593d=null;try{if(_0x47a27a==_0x314776([0x47,0x50,0x4c]))return _0x314776([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x248641=_0x14bbbb(),!_0x248641)return _0x314776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x248641[_0x314776([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24593d=_0x54c615(_0x248641[_0x314776([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x248641[_0x314776([0x6a,0x74,0x69])])),await _0x5ce60d()?_0x240782()?_0x1ad99f()?_0x314776([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x322515()?(_0x248641[_0x314776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x314776([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13ed5d=_0x2a8c31(_0x314776([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x248641[_0x314776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x314776([0x74,0x72,0x69,0x61,0x6c])&&(_0x13ed5d=_0x2a8c31(_0x314776([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43a705()):_0x314776([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x314776([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x314776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37988d){return _0x314776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ad99f(){const _0x2d200e=[_0x314776([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x314776([0x74,0x72,0x69,0x61,0x6c])][_0x314776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248641[_0x314776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37454a/0x3e8:0xe10*_0x2327ed;return _0x248641[_0x314776([0x65,0x78,0x70])]<_0x2d200e;}function _0x240782(){const _0x15e378=_0x248641[_0x314776([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x15e378)return!0x1;if(_0x15e378[_0x314776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x314776([0x2a])))return!0x0;if(_0x15e378[_0x314776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x314776([0x52,0x48])))return!0x0;if(_0x15e378[_0x314776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x314776([0x52,0x52,0x48]))){if(_0x463812())return!0x0;if(_0x4a794b()||_0x1a0a49())return!0x0;}return!0x1;}function _0x322515(){const _0x2b5b46=_0x1c15,_0x414732=_0x248641[_0x314776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x414732||0x0==_0x414732[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c1bcd}=new URL(window[_0x314776([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b5b46(0x163)]);if(_0x414732[_0x314776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c1bcd))return!0x0;const _0x24791b=_0x1c1bcd[_0x314776([0x73,0x70,0x6c,0x69,0x74])](_0x314776([0x2e]));return _0x414732[_0x314776([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f3f8b=>_0x1f3f8b[_0x314776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x314776([0x2a])))[_0x314776([0x6d,0x61,0x70])](_0x59c08b=>_0x59c08b[_0x314776([0x73,0x70,0x6c,0x69,0x74])](_0x314776([0x2e])))[_0x314776([0x73,0x6f,0x6d,0x65])](_0x4dcf33=>_0x24791b[_0x314776([0x65,0x76,0x65,0x72,0x79])]((_0x368c28,_0x141b05)=>_0x4dcf33[_0x141b05]===_0x368c28||_0x4dcf33[_0x141b05]===_0x314776([0x2a])));}function _0x43a705(){return _0x13ed5d&&_0x24593d?new window[(_0x314776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x450513,_0x5444a1)=>{_0x13ed5d[_0x314776([0x74,0x68,0x65,0x6e])](_0x450513,_0x5444a1),_0x24593d[_0x314776([0x74,0x68,0x65,0x6e])](_0x240b23=>{_0x240b23!=_0x314776([0x56,0x61,0x6c,0x69,0x64])&&_0x450513(_0x240b23);},_0x5444a1);}):_0x13ed5d||_0x24593d||_0x314776([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54c615(_0x3d917d,_0x2c00fd){return new window[(_0x314776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b0661=>{if(_0x5c31a0())return _0x1b0661(_0x314776([0x56,0x61,0x6c,0x69,0x64]));_0xf9eaf1(),_0x5b0864[_0x314776([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x314776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x311bb5=!0x1;const _0x3327d2=_0x20afa1();function _0x3d12bf(_0x2c1c45){return!!_0x2c1c45&&(typeof _0x2c1c45===_0x314776([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c1c45===_0x314776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c1c45[_0x314776([0x74,0x68,0x65,0x6e])]===_0x314776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c1c45[_0x314776([0x63,0x61,0x74,0x63,0x68])]===_0x314776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16c4e6(_0x53c6cc){_0x413bc4(_0x53c6cc)[_0x314776([0x74,0x68,0x65,0x6e])](_0x25b1fe=>{if(!_0x25b1fe||_0x25b1fe[_0x314776([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x314776([0x6f,0x6b]))return _0x314776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46a12b(_0x297926(_0x3327d2+_0x2c00fd))!=_0x25b1fe[_0x314776([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x314776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x314776([0x56,0x61,0x6c,0x69,0x64]);})[_0x314776([0x74,0x68,0x65,0x6e])](_0x27a7bb=>(_0x583e45(),_0x27a7bb),()=>{const _0x377fcd=_0x2cdf01();return null==_0x377fcd?(_0x583e45(),_0x314776([0x56,0x61,0x6c,0x69,0x64])):_0x314776(_0x37454a-_0x377fcd>(0x3bbd6ef4^_0x9ee8b9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x314776([0x74,0x68,0x65,0x6e])](_0x1b0661)[_0x314776([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b0661(_0x314776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b39f7=0x1f870474^_0x9ee8b9;function _0x583e45(){const _0x24ea79=_0x314776([0x6c,0x6c,0x63,0x74,0x2d])+_0x46a12b(_0x297926(_0x3d917d)),_0x5aca68=_0x57ab68(_0x46a12b(window[_0x314776([0x4d,0x61,0x74,0x68])][_0x314776([0x63,0x65,0x69,0x6c])](_0x37454a/_0x5b39f7)));window[_0x314776([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x314776([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24ea79,_0x5aca68);}function _0x2cdf01(){const _0x388c8b=_0x314776([0x6c,0x6c,0x63,0x74,0x2d])+_0x46a12b(_0x297926(_0x3d917d)),_0x126119=window[_0x314776([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x314776([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x388c8b);return _0x126119?window[_0x314776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57ab68(_0x126119),0x10)*_0x5b39f7:null;}function _0x413bc4(_0xbcbfe){return new window[(_0x314776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x368b6f,_0x2b1ae6)=>{_0xbcbfe[_0x314776([0x74,0x68,0x65,0x6e])](_0x368b6f,_0x2b1ae6),window[_0x314776([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b1ae6,0x1fb03e34^_0x9ee8b9);});}}_0x5b0864[_0x314776([0x6f,0x6e])](_0x314776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x288250,_0x2511be)=>{if(_0x2511be[0x0]!=_0x3d917d)return _0x1b0661(_0x314776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2511be[0x1]={..._0x2511be[0x1],[_0x314776([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3327d2};},{[_0x314776([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x314776([0x68,0x69,0x67,0x68])}),_0x5b0864[_0x314776([0x6f,0x6e])](_0x314776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x163869=>{_0x3d12bf(_0x163869[_0x314776([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x311bb5=!0x0,_0x16c4e6(_0x163869[_0x314776([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x314776([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x314776([0x6c,0x6f,0x77])}),_0x458e00[_0x314776([0x74,0x68,0x65,0x6e])](()=>{_0x311bb5||_0x1b0661(_0x314776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c31a0(){return _0x5b0864[_0x314776([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x314776([0x76,0x69,0x65,0x77])][_0x314776([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x314776([0x61,0x75,0x74,0x6f]);}function _0xf9eaf1(){_0x5b0864[_0x314776([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x314776([0x76,0x69,0x65,0x77])][_0x314776([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x314776([0x61,0x75,0x74,0x6f]);}}function _0x2a8c31(_0x273d75){const _0x542fbc=[new window[(_0x314776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ebbbd=>setTimeout(_0x5ebbbd,0x1fb8d438^_0x9ee8b9)),_0x458e00[_0x314776([0x74,0x68,0x65,0x6e])](()=>new window[(_0x314776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ae479=>{const _0x1f6e4f=0x1fb1eaf3^_0x9ee8b9,_0x2a0876=_0x426feb[_0x314776([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x249299(){_0x2a0876[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1f6e4f&&_0x1ae479();}_0x249299(),_0x2a0876[_0x314776([0x6f,0x6e])](_0x314776([0x61,0x64,0x64]),_0x249299);})),new window[(_0x314776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3607b0=>{function _0x1bbe94(){const _0x1a3d30=_0x1c15;for(const _0x2ee6c2 in window)if(window[_0x314776([0x4e,0x75,0x6d,0x62,0x65,0x72])][_0x1a3d30(0x14d)](window[_0x314776([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x2ee6c2))&&window[_0x2ee6c2]==_0x47b5a9)return _0x3607b0();_0x5b0864[_0x314776([0x73,0x74,0x61,0x74,0x65])]!=_0x314776([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x314776([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bbe94,0x1fb1f97c^_0x9ee8b9);}_0x408457(_0x314776([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x1bbe94();})];return window[_0x314776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x314776([0x72,0x61,0x63,0x65])](_0x542fbc)[_0x314776([0x74,0x68,0x65,0x6e])](()=>_0x273d75);}async function _0x693a12(){if(await _0x458e00,_0x408457(_0x314776([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x125833=_0x426feb[_0x314776([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x20c1a1=_0x426feb[_0x314776([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x125833[_0x314776([0x69,0x64])]),_0xe0e187=_0x1881a0(_0x314776([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0xe0e187[_0x314776([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x125833['id'],_0x20c1a1?_0x20c1a1['id']:null,!0x0),_0xe0e187[_0x314776([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x314776([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xe0e187[_0x314776([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xe0e187[_0x314776([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x26d992,void(_0xe0e187[_0x314776([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x26d992);}if(_0x408457(_0x314776([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x64274a=_0x1881a0(_0x314776([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x64274a[_0x314776([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x314776([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x64274a[_0x314776([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x64274a[_0x314776([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x26d992,_0x64274a[_0x314776([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x26d992;}_0x5b0864[_0x314776([0x6d,0x6f,0x64,0x65,0x6c])][_0x314776([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26d992,_0x5b0864[_0x314776([0x6d,0x6f,0x64,0x65,0x6c])][_0x314776([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26d992,_0x5b0864[_0x314776([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x314776([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x463812(){return _0x408457(_0x314776([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1881a0(_0x314776([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x314776([0x73,0x74,0x61,0x74,0x65])]==_0x314776([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4a794b(){return _0x408457(_0x314776([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x1a0a49(){return _0x408457(_0x314776([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x277900(_0x250062){const _0x33dfcf=_0xa08dc();_0x5b0864[_0x33dfcf]=_0x314776([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x250062,_0x250062[_0x314776([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x314776([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0xa08dc()]=_0x47b5a9),_0x250062!=_0x314776([0x56,0x61,0x6c,0x69,0x64])&&_0x693a12();}function _0xa08dc(){const _0xdb8c51=window[_0x314776([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x314776([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x314776([0x6e,0x6f,0x77])]())[_0x314776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x314776([0x2e]),'');let _0x16ccfc=_0x314776([0x42]);for(let _0x5a8eec=0x0;_0x5a8eec<_0xdb8c51[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a8eec+=0x2){let _0x135139=window[_0x314776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdb8c51[_0x314776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a8eec,_0x5a8eec+0x2));_0x135139>=_0x47e42b[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x135139-=_0x47e42b[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16ccfc+=_0x47e42b[_0x135139];}return _0x16ccfc;}function _0x14bbbb(){const _0x5ad5a3=_0x47a27a[_0x314776([0x73,0x70,0x6c,0x69,0x74])](_0x314776([0x2e]));if(0x3!=_0x5ad5a3[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48f5e0(_0x5ad5a3[0x1]);function _0x48f5e0(_0xb02058){const _0x211612=_0x4772e1(_0xb02058);return _0x211612&&_0x42ddfb()?_0x211612:null;function _0x42ddfb(){const _0x410bbf=_0x211612[_0x314776([0x6a,0x74,0x69])],_0x484698=window[_0x314776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x410bbf[_0x314776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x410bbf[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f5338={..._0x211612,[_0x314776([0x6a,0x74,0x69])]:_0x410bbf[_0x314776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x410bbf[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f5338[_0x314776([0x76,0x63])],_0x297926(_0x5f5338)==_0x484698;}}}async function _0x5ce60d(){let _0x2878bd=!0x0;try{const _0x5f0388=_0x47a27a[_0x314776([0x73,0x70,0x6c,0x69,0x74])](_0x314776([0x2e])),[_0x375b5f,_0x5c0b69,_0x391fbb]=_0x5f0388;return _0x41157d(_0x375b5f),await _0x3c4605(_0x375b5f,_0x5c0b69,_0x391fbb),_0x2878bd;}catch(_0x313c09){return!0x1;}function _0x41157d(_0x34298a){const _0x35226a=_0x4772e1(_0x34298a);_0x35226a&&_0x35226a[_0x314776([0x61,0x6c,0x67])]==_0x314776([0x45,0x53,0x32,0x35,0x36])||(_0x2878bd=!0x1);}async function _0x3c4605(_0x5efc2b,_0x347e01,_0x332d98){const _0x2a81b5=window[_0x314776([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x314776([0x66,0x72,0x6f,0x6d])](_0x346939(_0x332d98),_0x451430=>_0x451430[_0x314776([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59f633=new window[(_0x314776([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x314776([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5efc2b+_0x314776([0x2e])+_0x347e01),_0x2afd9b=window[_0x314776([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x314776([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2afd9b)return;const _0x76ffce=await _0x2afd9b[_0x314776([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x314776([0x6a,0x77,0x6b]),_0x25f1da,{[_0x314776([0x6e,0x61,0x6d,0x65])]:_0x314776([0x45,0x43,0x44,0x53,0x41]),[_0x314776([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x314776([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x314776([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2afd9b[_0x314776([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x314776([0x6e,0x61,0x6d,0x65])]:_0x314776([0x45,0x43,0x44,0x53,0x41]),[_0x314776([0x68,0x61,0x73,0x68])]:{[_0x314776([0x6e,0x61,0x6d,0x65])]:_0x314776([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x76ffce,_0x2a81b5,_0x59f633)||(_0x2878bd=!0x1);}}function _0x4772e1(_0x3d59be){return _0x3d59be[_0x314776([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x314776([0x65,0x79]))?JSON[_0x314776([0x70,0x61,0x72,0x73,0x65])](_0x346939(_0x3d59be)):null;}function _0x346939(_0x418296){return window[_0x314776([0x61,0x74,0x6f,0x62])](_0x418296[_0x314776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x314776([0x2b]))[_0x314776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x314776([0x2f])));}function _0x297926(_0x36af64){let _0x42d07c=0x1505;function _0x12fabb(_0x13aeb6){for(let _0x5ec473=0x0;_0x5ec473<_0x13aeb6[_0x314776([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ec473++){const _0x49f793=_0x13aeb6[_0x314776([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ec473);_0x42d07c=(_0x42d07c<<0x5)+_0x42d07c+_0x49f793,_0x42d07c&=_0x42d07c;}}function _0x342b41(_0x3076a3){Array[_0x314776([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3076a3)?_0x3076a3[_0x314776([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x342b41):_0x3076a3&&typeof _0x3076a3==_0x314776([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x314776([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3076a3)[_0x314776([0x73,0x6f,0x72,0x74])]()[_0x314776([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4675eb,_0x320518])=>{_0x12fabb(_0x4675eb),_0x342b41(_0x320518);}):_0x12fabb(window[_0x314776([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3076a3));}return _0x342b41(_0x36af64),_0x42d07c>>>0x0;}function _0x46a12b(_0x4db41b){return _0x4db41b[_0x314776([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x314776([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x314776([0x30]));}function _0x57ab68(_0xeb9caa){return _0xeb9caa[_0x314776([0x73,0x70,0x6c,0x69,0x74])]('')[_0x314776([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x314776([0x6a,0x6f,0x69,0x6e])]('');}function _0x408457(_0x3e526e){return _0x5b0864[_0x314776([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x314776([0x68,0x61,0x73])](_0x3e526e);}function _0x1881a0(_0x3b172e){return _0x5b0864[_0x314776([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x314776([0x67,0x65,0x74])](_0x3b172e);}function _0x26d992(){}function _0x314776(_0x257c46){const _0x6a02bb=_0x1c15;return _0x257c46[_0x6a02bb(0x156)](_0x15c88e=>String[_0x6a02bb(0x15e)](_0x15c88e))[_0x6a02bb(0x166)]('');}_0x277900(await _0x16b2da());}(this);}[_0x2f675b(0x15a)](_0x1258fc){const _0xd2d618=_0x2f675b,_0x1ed11d=this[_0xd2d618(0x160)][_0xd2d618(0x169)][_0xd2d618(0x16f)](_0xd2d618(0x13c));return new _0x645dc1({'id':_0x1258fc['id'],'name':_0x1258fc[_0xd2d618(0x138)],'creator':_0x1258fc[_0xd2d618(0x151)]?_0x1ed11d[_0xd2d618(0x159)](_0x1258fc[_0xd2d618(0x151)]):null,'diffData':_0x1258fc[_0xd2d618(0x14f)]||_0x1258fc[_0xd2d618(0x15f)],'authors':_0x1258fc[_0xd2d618(0x154)][_0xd2d618(0x156)](_0xdc58b6=>_0x1ed11d[_0xd2d618(0x159)](_0xdc58b6)),'createdAt':new Date(_0x1258fc[_0xd2d618(0x141)]),'attributes':_0x1258fc[_0xd2d618(0x145)],'fromVersion':_0x1258fc[_0xd2d618(0x150)],'toVersion':_0x1258fc[_0xd2d618(0x152)]});}[_0x2f675b(0x13b)](_0x35ca1b,_0x2690c4=0x0){const _0x63db88=_0x2f675b;this[_0x63db88(0x139)][_0x63db88(0x164)](_0x35ca1b,_0x2690c4);}[_0x2f675b(0x157)](_0x5ab770){const _0xd5ffda=_0x2f675b;return this[_0xd5ffda(0x139)][_0xd5ffda(0x16f)](_0x5ab770);}[_0x2f675b(0x16a)](_0x15ed00={'toJSON':!0x1}){const _0x3d80c6=_0x2f675b,_0x402539=Array[_0x3d80c6(0x16e)](this[_0x3d80c6(0x139)]);return _0x402539[_0x3d80c6(0x147)](),_0x15ed00[_0x3d80c6(0x165)]?_0x402539[_0x3d80c6(0x156)](_0x2d6ea4=>_0x2d6ea4[_0x3d80c6(0x165)]()):_0x402539;}[_0x2f675b(0x16b)](_0x428380){const _0x14003e=_0x2f675b;return this[_0x14003e(0x139)][_0x14003e(0x16b)](_0x428380);}[_0x2f675b(0x168)](_0xb5b555){const _0x96be68=_0x2f675b,[,_0x2cb494]=this[_0x96be68(0x161)](_0xb5b555,{'direction':_0x96be68(0x153)});return _0x2cb494;}[_0x2f675b(0x14b)](_0x316694){const _0x191c61=_0x2f675b,[,_0x34c15a]=this[_0x191c61(0x161)](_0x316694,{'direction':_0x191c61(0x148)});return _0x34c15a;}[_0x2f675b(0x14c)](_0x18fd2b){const _0x47787b=_0x2f675b,_0x593856=[];for(const _0x4f65c7 of this[_0x47787b(0x161)](_0x18fd2b[_0x47787b(0x142)]))if(_0x593856[_0x47787b(0x16c)](_0x4f65c7),_0x4f65c7['id']===_0x18fd2b[_0x47787b(0x137)])break;return _0x593856;}*[_0x2f675b(0x161)](_0x3866e4,{direction:_0x900597=_0x2f675b(0x153),filter:_0x35f5dd=()=>!0x0}={}){const _0x3610fa=_0x2f675b,_0x1b7619=_0x3610fa(0x153)===_0x900597?0x1:-0x1;let _0x2b879c=this[_0x3610fa(0x139)][_0x3610fa(0x16f)](_0x3866e4),_0x45ca48=this[_0x3610fa(0x16b)](_0x2b879c);for(yield _0x2b879c;_0x2b879c;){if(_0x45ca48+=_0x1b7619,_0x2b879c=this[_0x3610fa(0x157)](_0x45ca48),!_0x2b879c)return;_0x35f5dd(_0x2b879c)&&(yield _0x2b879c);}}}
|
|
23
|
+
function _0x4933(){const _0x115909=['_revisions','7532802iLVgnG','toJSON','href','name','876939aYlmVu','add','getRevision','map','attributes','26029aWHpux','isPremiumPlugin','getEarlierVisibleRevision','toVersion','creatorId','later','getLaterVisibleRevision','reverse','diffData','authorsIds','getRevisionsIterator','getRevisions','getUser','806499TcigHj','from','Users','afterInit','addRevision','createRevision','isNaN','editor','477099yopQZI','RevisionsRepository','11sHQwDW','getIndex','get','26124GhSVHd','earlier','pluginName','getRevisionsInDiff','14176270NLkpLb','isOfficialPlugin','oldRevisionId','length','newRevisionId','push','requires','fromVersion','plugins','fromCharCode','50tKNXhE','join','24KTJbqA','520cjwBHu','createdAt','data'];_0x4933=function(){return _0x115909;};return _0x4933();}const _0x2c6d37=_0x30fb;(function(_0x4147f4,_0x49a5e5){const _0x22ebf2=_0x30fb,_0x30a16d=_0x4147f4();while(!![]){try{const _0x264943=-parseInt(_0x22ebf2(0x196))/0x1*(parseInt(_0x22ebf2(0x1be))/0x2)+-parseInt(_0x22ebf2(0x191))/0x3+-parseInt(_0x22ebf2(0x1b0))/0x4*(parseInt(_0x22ebf2(0x1c1))/0x5)+parseInt(_0x22ebf2(0x18d))/0x6+-parseInt(_0x22ebf2(0x1ab))/0x7+parseInt(_0x22ebf2(0x1c0))/0x8*(-parseInt(_0x22ebf2(0x1a3))/0x9)+-parseInt(_0x22ebf2(0x1b4))/0xa*(-parseInt(_0x22ebf2(0x1ad))/0xb);if(_0x264943===_0x49a5e5)break;else _0x30a16d['push'](_0x30a16d['shift']());}catch(_0x3d44f9){_0x30a16d['push'](_0x30a16d['shift']());}}}(_0x4933,0xae472));import{Users as _0x44aa16}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x3db99f}from'ckeditor5/src/core.js';function _0x30fb(_0x4da7ee,_0x29be32){const _0x49336a=_0x4933();return _0x30fb=function(_0x30fbc8,_0x48994b){_0x30fbc8=_0x30fbc8-0x18a;let _0x3d4682=_0x49336a[_0x30fbc8];return _0x3d4682;},_0x30fb(_0x4da7ee,_0x29be32);}import{Collection as _0x846682,uid as _0x23dc84}from'ckeditor5/src/utils.js';import{default as _0x3f28d0}from'./revision.js';export default class I extends _0x3db99f{[_0x2c6d37(0x18c)];static get[_0x2c6d37(0x1ba)](){return[_0x44aa16];}static get[_0x2c6d37(0x1b2)](){const _0x1514a9=_0x2c6d37;return _0x1514a9(0x1ac);}static get[_0x2c6d37(0x1b5)](){return!0x0;}static get[_0x2c6d37(0x197)](){return!0x0;}get[_0x2c6d37(0x1b7)](){const _0x3ac64d=_0x2c6d37;return this[_0x3ac64d(0x18c)][_0x3ac64d(0x1b7)];}constructor(_0xd5e1ae){const _0x4a905b=_0x2c6d37;super(_0xd5e1ae),this[_0x4a905b(0x18c)]=new _0x846682();}[_0x2c6d37(0x1a6)](){!async function(_0x44adbe){const _0x3ee75e=_0x1687cd([0x79,0x61,0x49,0x69,0x35,0x4c,0x64,0x58,0x37,0x4d,0x72,0x42,0x65,0x76,0x30,0x59,0x63,0x4f,0x33,0x32,0x70,0x71,0x41,0x77,0x47,0x75,0x31,0x6d,0x43,0x6a,0x66,0x39,0x73,0x50,0x4a,0x5a,0x6f,0x45,0x6c,0x74,0x54,0x4e,0x52,0x38,0x62,0x46,0x6e,0x67,0x7a,0x4b,0x34,0x57,0x48,0x55,0x36,0x44,0x78,0x68,0x56,0x6b,0x53,0x51]),_0x275f0f=0xeb829,_0x46e57f=0x7e147cd,_0x99b6d6=0x7e624f5^_0x46e57f,_0x17fa86=window[_0x1687cd([0x44,0x61,0x74,0x65])][_0x1687cd([0x6e,0x6f,0x77])](),_0x15e2a2=_0x44adbe[_0x1687cd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48bf7c=new window[(_0x1687cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55062b=>{_0x15e2a2[_0x1687cd([0x6f,0x6e,0x63,0x65])](_0x1687cd([0x72,0x65,0x61,0x64,0x79]),_0x55062b);}),_0xf20c1b={[_0x1687cd([0x6b,0x74,0x79])]:_0x1687cd([0x45,0x43]),[_0x1687cd([0x75,0x73,0x65])]:_0x1687cd([0x73,0x69,0x67]),[_0x1687cd([0x63,0x72,0x76])]:_0x1687cd([0x50,0x2d,0x32,0x35,0x36]),[_0x1687cd([0x78])]:_0x1687cd([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1687cd([0x79])]:_0x1687cd([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1687cd([0x61,0x6c,0x67])]:_0x1687cd([0x45,0x53,0x32,0x35,0x36])},_0x1fe859=_0x15e2a2[_0x1687cd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1687cd([0x67,0x65,0x74])](_0x1687cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31f191(){let _0x1791af,_0x203454=null,_0x4dc10b=null;try{if(_0x1fe859==_0x1687cd([0x47,0x50,0x4c]))return _0x1687cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1791af=_0x2f3c98(),!_0x1791af)return _0x1687cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1791af[_0x1687cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dc10b=_0x47ec80(_0x1791af[_0x1687cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1791af[_0x1687cd([0x6a,0x74,0x69])])),await _0x31b85a()?_0x4c635d()?_0x404dfc()?_0x1687cd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e986b()?(_0x1791af[_0x1687cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1687cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x203454=_0x24894c(_0x1687cd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1791af[_0x1687cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1687cd([0x74,0x72,0x69,0x61,0x6c])&&(_0x203454=_0x24894c(_0x1687cd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1bea45()):_0x1687cd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1687cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1687cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4ea447){return _0x1687cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x404dfc(){const _0x283e1c=[_0x1687cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1687cd([0x74,0x72,0x69,0x61,0x6c])][_0x1687cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1791af[_0x1687cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17fa86/0x3e8:0xe10*_0x99b6d6;return _0x1791af[_0x1687cd([0x65,0x78,0x70])]<_0x283e1c;}function _0x4c635d(){const _0x3700d2=_0x1791af[_0x1687cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3700d2)return!0x1;if(_0x3700d2[_0x1687cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1687cd([0x2a])))return!0x0;if(_0x3700d2[_0x1687cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1687cd([0x52,0x48])))return!0x0;if(_0x3700d2[_0x1687cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1687cd([0x52,0x52,0x48]))){if(_0x5042e9())return!0x0;if(_0x216c81()||_0x469916())return!0x0;}return!0x1;}function _0x3e986b(){const _0x336ef0=_0x30fb,_0x379e84=_0x1791af[_0x1687cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x379e84||0x0==_0x379e84[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ad239}=new URL(window[_0x1687cd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x336ef0(0x18f)]);if(_0x379e84[_0x1687cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad239))return!0x0;const _0xc8c9c1=_0x5ad239[_0x1687cd([0x73,0x70,0x6c,0x69,0x74])](_0x1687cd([0x2e]));return _0x379e84[_0x1687cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b115f=>_0x3b115f[_0x1687cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1687cd([0x2a])))[_0x1687cd([0x6d,0x61,0x70])](_0xf41e60=>_0xf41e60[_0x1687cd([0x73,0x70,0x6c,0x69,0x74])](_0x1687cd([0x2e])))[_0x1687cd([0x73,0x6f,0x6d,0x65])](_0x29e5e2=>_0xc8c9c1[_0x1687cd([0x65,0x76,0x65,0x72,0x79])]((_0x2dc93,_0x4e2d38)=>_0x29e5e2[_0x4e2d38]===_0x2dc93||_0x29e5e2[_0x4e2d38]===_0x1687cd([0x2a])));}function _0x1bea45(){return _0x203454&&_0x4dc10b?new window[(_0x1687cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1509d2,_0x1573c6)=>{_0x203454[_0x1687cd([0x74,0x68,0x65,0x6e])](_0x1509d2,_0x1573c6),_0x4dc10b[_0x1687cd([0x74,0x68,0x65,0x6e])](_0x399ae5=>{_0x399ae5!=_0x1687cd([0x56,0x61,0x6c,0x69,0x64])&&_0x1509d2(_0x399ae5);},_0x1573c6);}):_0x203454||_0x4dc10b||_0x1687cd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47ec80(_0x53a890,_0x3e8db2){return new window[(_0x1687cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf25414=>{if(_0x2b4ae5())return _0xf25414(_0x1687cd([0x56,0x61,0x6c,0x69,0x64]));_0x3c4c92(),_0x15e2a2[_0x1687cd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1687cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x59777e=!0x1;const _0x2f7ea0=_0x23dc84();function _0x132235(_0x2f7d18){return!!_0x2f7d18&&(typeof _0x2f7d18===_0x1687cd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f7d18===_0x1687cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f7d18[_0x1687cd([0x74,0x68,0x65,0x6e])]===_0x1687cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f7d18[_0x1687cd([0x63,0x61,0x74,0x63,0x68])]===_0x1687cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5e1711(_0x511c04){_0x138a60(_0x511c04)[_0x1687cd([0x74,0x68,0x65,0x6e])](_0x109b8d=>{if(!_0x109b8d||_0x109b8d[_0x1687cd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1687cd([0x6f,0x6b]))return _0x1687cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe3de78(_0x1be204(_0x2f7ea0+_0x3e8db2))!=_0x109b8d[_0x1687cd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1687cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1687cd([0x56,0x61,0x6c,0x69,0x64]);})[_0x1687cd([0x74,0x68,0x65,0x6e])](_0x50e6fa=>(_0x2a3563(),_0x50e6fa),()=>{const _0x40778d=_0x3148bb();return null==_0x40778d?(_0x2a3563(),_0x1687cd([0x56,0x61,0x6c,0x69,0x64])):_0x1687cd(_0x17fa86-_0x40778d>(0x23edc3cd^_0x46e57f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1687cd([0x74,0x68,0x65,0x6e])](_0xf25414)[_0x1687cd([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf25414(_0x1687cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc5ddc4=0x7d7a94d^_0x46e57f;function _0x2a3563(){const _0x3bd78b=_0x1687cd([0x6c,0x6c,0x63,0x74,0x2d])+_0xe3de78(_0x1be204(_0x53a890)),_0x424af6=_0x197525(_0xe3de78(window[_0x1687cd([0x4d,0x61,0x74,0x68])][_0x1687cd([0x63,0x65,0x69,0x6c])](_0x17fa86/_0xc5ddc4)));window[_0x1687cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1687cd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bd78b,_0x424af6);}function _0x3148bb(){const _0x4863ba=_0x1687cd([0x6c,0x6c,0x63,0x74,0x2d])+_0xe3de78(_0x1be204(_0x53a890)),_0x54c01e=window[_0x1687cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1687cd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4863ba);return _0x54c01e?window[_0x1687cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x197525(_0x54c01e),0x10)*_0xc5ddc4:null;}function _0x138a60(_0x5a8276){return new window[(_0x1687cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12e316,_0x5b2086)=>{_0x5a8276[_0x1687cd([0x74,0x68,0x65,0x6e])](_0x12e316,_0x5b2086),window[_0x1687cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b2086,0x7e0930d^_0x46e57f);});}}_0x15e2a2[_0x1687cd([0x6f,0x6e])](_0x1687cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5543f2,_0x1d3f3f)=>{if(_0x1d3f3f[0x0]!=_0x53a890)return _0xf25414(_0x1687cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d3f3f[0x1]={..._0x1d3f3f[0x1],[_0x1687cd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f7ea0};},{[_0x1687cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1687cd([0x68,0x69,0x67,0x68])}),_0x15e2a2[_0x1687cd([0x6f,0x6e])](_0x1687cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x146c90=>{_0x132235(_0x146c90[_0x1687cd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x59777e=!0x0,_0x5e1711(_0x146c90[_0x1687cd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1687cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1687cd([0x6c,0x6f,0x77])}),_0x48bf7c[_0x1687cd([0x74,0x68,0x65,0x6e])](()=>{_0x59777e||_0xf25414(_0x1687cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b4ae5(){return _0x15e2a2[_0x1687cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1687cd([0x76,0x69,0x65,0x77])][_0x1687cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1687cd([0x61,0x75,0x74,0x6f]);}function _0x3c4c92(){_0x15e2a2[_0x1687cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1687cd([0x76,0x69,0x65,0x77])][_0x1687cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1687cd([0x61,0x75,0x74,0x6f]);}}function _0x24894c(_0x240cd7){const _0x3ec631=[new window[(_0x1687cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e571d=>setTimeout(_0x1e571d,0x7e87901^_0x46e57f)),_0x48bf7c[_0x1687cd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1687cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d6757=>{const _0x240fba=0x7e147ca^_0x46e57f,_0x7f7dac=_0x44adbe[_0x1687cd([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x10ff1c(){_0x7f7dac[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x240fba&&_0x3d6757();}_0x10ff1c(),_0x7f7dac[_0x1687cd([0x6f,0x6e])](_0x1687cd([0x61,0x64,0x64]),_0x10ff1c);})),new window[(_0x1687cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x312337=>{function _0x474c34(){const _0x5975cf=_0x30fb;for(const _0x50fb21 in window)if(window[_0x1687cd([0x4e,0x75,0x6d,0x62,0x65,0x72])][_0x5975cf(0x1a9)](window[_0x1687cd([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x50fb21))&&window[_0x50fb21]==_0x275f0f)return _0x312337();_0x15e2a2[_0x1687cd([0x73,0x74,0x61,0x74,0x65])]!=_0x1687cd([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x1687cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x474c34,0x7e15445^_0x46e57f);}_0xe0e16b(_0x1687cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x474c34();})];return window[_0x1687cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1687cd([0x72,0x61,0x63,0x65])](_0x3ec631)[_0x1687cd([0x74,0x68,0x65,0x6e])](()=>_0x240cd7);}async function _0x3cbaff(){if(await _0x48bf7c,_0xe0e16b(_0x1687cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x10e9e6=_0x44adbe[_0x1687cd([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x5ebfca=_0x44adbe[_0x1687cd([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x10e9e6[_0x1687cd([0x69,0x64])]),_0x13d1bb=_0x20d80f(_0x1687cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x13d1bb[_0x1687cd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x10e9e6['id'],_0x5ebfca?_0x5ebfca['id']:null,!0x0),_0x13d1bb[_0x1687cd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1687cd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x13d1bb[_0x1687cd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x13d1bb[_0x1687cd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xae29de,void(_0x13d1bb[_0x1687cd([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xae29de);}if(_0xe0e16b(_0x1687cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0xa8eebe=_0x20d80f(_0x1687cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0xa8eebe[_0x1687cd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1687cd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xa8eebe[_0x1687cd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xa8eebe[_0x1687cd([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xae29de,_0xa8eebe[_0x1687cd([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xae29de;}_0x15e2a2[_0x1687cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1687cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xae29de,_0x15e2a2[_0x1687cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1687cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xae29de,_0x15e2a2[_0x1687cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1687cd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5042e9(){return _0xe0e16b(_0x1687cd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x20d80f(_0x1687cd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1687cd([0x73,0x74,0x61,0x74,0x65])]==_0x1687cd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x216c81(){return _0xe0e16b(_0x1687cd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x469916(){return _0xe0e16b(_0x1687cd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x2111e6(_0x3a385f){const _0x3bd235=_0x417fc7();_0x15e2a2[_0x3bd235]=_0x1687cd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a385f,_0x3a385f[_0x1687cd([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x1687cd([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x417fc7()]=_0x275f0f),_0x3a385f!=_0x1687cd([0x56,0x61,0x6c,0x69,0x64])&&_0x3cbaff();}function _0x417fc7(){const _0x8190b3=window[_0x1687cd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1687cd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1687cd([0x6e,0x6f,0x77])]())[_0x1687cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1687cd([0x2e]),'');let _0x3de795=_0x1687cd([0x79]);for(let _0x223e18=0x0;_0x223e18<_0x8190b3[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x223e18+=0x2){let _0x336420=window[_0x1687cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8190b3[_0x1687cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x223e18,_0x223e18+0x2));_0x336420>=_0x3ee75e[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x336420-=_0x3ee75e[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3de795+=_0x3ee75e[_0x336420];}return _0x3de795;}function _0x2f3c98(){const _0x105adf=_0x1fe859[_0x1687cd([0x73,0x70,0x6c,0x69,0x74])](_0x1687cd([0x2e]));if(0x3!=_0x105adf[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb0685a(_0x105adf[0x1]);function _0xb0685a(_0x7322d9){const _0x5cd44b=_0x2544bb(_0x7322d9);return _0x5cd44b&&_0x2e65e4()?_0x5cd44b:null;function _0x2e65e4(){const _0x71afae=_0x5cd44b[_0x1687cd([0x6a,0x74,0x69])],_0x269ea6=window[_0x1687cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71afae[_0x1687cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71afae[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26fa3f={..._0x5cd44b,[_0x1687cd([0x6a,0x74,0x69])]:_0x71afae[_0x1687cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x71afae[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26fa3f[_0x1687cd([0x76,0x63])],_0x1be204(_0x26fa3f)==_0x269ea6;}}}async function _0x31b85a(){let _0x3c963f=!0x0;try{const _0x3e92ca=_0x1fe859[_0x1687cd([0x73,0x70,0x6c,0x69,0x74])](_0x1687cd([0x2e])),[_0x5984f0,_0x3edc7f,_0x4c935d]=_0x3e92ca;return _0x7a85ae(_0x5984f0),await _0x492da6(_0x5984f0,_0x3edc7f,_0x4c935d),_0x3c963f;}catch(_0x4228a7){return!0x1;}function _0x7a85ae(_0x141365){const _0x2445a6=_0x2544bb(_0x141365);_0x2445a6&&_0x2445a6[_0x1687cd([0x61,0x6c,0x67])]==_0x1687cd([0x45,0x53,0x32,0x35,0x36])||(_0x3c963f=!0x1);}async function _0x492da6(_0x4bd455,_0x4f4b7c,_0x35d9d2){const _0x12fde9=window[_0x1687cd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1687cd([0x66,0x72,0x6f,0x6d])](_0x544eb7(_0x35d9d2),_0x2df708=>_0x2df708[_0x1687cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18cedb=new window[(_0x1687cd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1687cd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bd455+_0x1687cd([0x2e])+_0x4f4b7c),_0x3c9f36=window[_0x1687cd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1687cd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c9f36)return;const _0x3c51f9=await _0x3c9f36[_0x1687cd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1687cd([0x6a,0x77,0x6b]),_0xf20c1b,{[_0x1687cd([0x6e,0x61,0x6d,0x65])]:_0x1687cd([0x45,0x43,0x44,0x53,0x41]),[_0x1687cd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1687cd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1687cd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c9f36[_0x1687cd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1687cd([0x6e,0x61,0x6d,0x65])]:_0x1687cd([0x45,0x43,0x44,0x53,0x41]),[_0x1687cd([0x68,0x61,0x73,0x68])]:{[_0x1687cd([0x6e,0x61,0x6d,0x65])]:_0x1687cd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c51f9,_0x12fde9,_0x18cedb)||(_0x3c963f=!0x1);}}function _0x2544bb(_0x113a51){return _0x113a51[_0x1687cd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1687cd([0x65,0x79]))?JSON[_0x1687cd([0x70,0x61,0x72,0x73,0x65])](_0x544eb7(_0x113a51)):null;}function _0x544eb7(_0x2ceaf5){return window[_0x1687cd([0x61,0x74,0x6f,0x62])](_0x2ceaf5[_0x1687cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1687cd([0x2b]))[_0x1687cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1687cd([0x2f])));}function _0x1be204(_0x5467df){let _0xa20e94=0x1505;function _0x1e4ca0(_0x4ce9be){for(let _0x4a8e2a=0x0;_0x4a8e2a<_0x4ce9be[_0x1687cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a8e2a++){const _0x303b59=_0x4ce9be[_0x1687cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a8e2a);_0xa20e94=(_0xa20e94<<0x5)+_0xa20e94+_0x303b59,_0xa20e94&=_0xa20e94;}}function _0x9aa832(_0x5a3155){Array[_0x1687cd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a3155)?_0x5a3155[_0x1687cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9aa832):_0x5a3155&&typeof _0x5a3155==_0x1687cd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1687cd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a3155)[_0x1687cd([0x73,0x6f,0x72,0x74])]()[_0x1687cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x542a43,_0x39e57e])=>{_0x1e4ca0(_0x542a43),_0x9aa832(_0x39e57e);}):_0x1e4ca0(window[_0x1687cd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a3155));}return _0x9aa832(_0x5467df),_0xa20e94>>>0x0;}function _0xe3de78(_0x40919e){return _0x40919e[_0x1687cd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1687cd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1687cd([0x30]));}function _0x197525(_0xa2f142){return _0xa2f142[_0x1687cd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1687cd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1687cd([0x6a,0x6f,0x69,0x6e])]('');}function _0xe0e16b(_0x6920c7){return _0x15e2a2[_0x1687cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1687cd([0x68,0x61,0x73])](_0x6920c7);}function _0x20d80f(_0x5c93d8){return _0x15e2a2[_0x1687cd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1687cd([0x67,0x65,0x74])](_0x5c93d8);}function _0xae29de(){}function _0x1687cd(_0x432f52){const _0x6e492b=_0x30fb;return _0x432f52[_0x6e492b(0x194)](_0x41cb8b=>String[_0x6e492b(0x1bd)](_0x41cb8b))[_0x6e492b(0x1bf)]('');}_0x2111e6(await _0x31f191());}(this);}[_0x2c6d37(0x1a8)](_0x1c9200){const _0x2a5ca6=_0x2c6d37,_0x2e8601=this[_0x2a5ca6(0x1aa)][_0x2a5ca6(0x1bc)][_0x2a5ca6(0x1af)](_0x2a5ca6(0x1a5));return new _0x3f28d0({'id':_0x1c9200['id'],'name':_0x1c9200[_0x2a5ca6(0x190)],'creator':_0x1c9200[_0x2a5ca6(0x19a)]?_0x2e8601[_0x2a5ca6(0x1a2)](_0x1c9200[_0x2a5ca6(0x19a)]):null,'diffData':_0x1c9200[_0x2a5ca6(0x19e)]||_0x1c9200[_0x2a5ca6(0x18b)],'authors':_0x1c9200[_0x2a5ca6(0x19f)][_0x2a5ca6(0x194)](_0x2e1975=>_0x2e8601[_0x2a5ca6(0x1a2)](_0x2e1975)),'createdAt':new Date(_0x1c9200[_0x2a5ca6(0x18a)]),'attributes':_0x1c9200[_0x2a5ca6(0x195)],'fromVersion':_0x1c9200[_0x2a5ca6(0x1bb)],'toVersion':_0x1c9200[_0x2a5ca6(0x199)]});}[_0x2c6d37(0x1a7)](_0x210e5,_0x35910b=0x0){const _0x15c58b=_0x2c6d37;this[_0x15c58b(0x18c)][_0x15c58b(0x192)](_0x210e5,_0x35910b);}[_0x2c6d37(0x193)](_0x5f27da){const _0x2720c5=_0x2c6d37;return this[_0x2720c5(0x18c)][_0x2720c5(0x1af)](_0x5f27da);}[_0x2c6d37(0x1a1)](_0x39b8be={'toJSON':!0x1}){const _0x13e0f6=_0x2c6d37,_0x10530d=Array[_0x13e0f6(0x1a4)](this[_0x13e0f6(0x18c)]);return _0x10530d[_0x13e0f6(0x19d)](),_0x39b8be[_0x13e0f6(0x18e)]?_0x10530d[_0x13e0f6(0x194)](_0x2dad2b=>_0x2dad2b[_0x13e0f6(0x18e)]()):_0x10530d;}[_0x2c6d37(0x1ae)](_0x31afd9){const _0xeeaff8=_0x2c6d37;return this[_0xeeaff8(0x18c)][_0xeeaff8(0x1ae)](_0x31afd9);}[_0x2c6d37(0x198)](_0x5b24f5){const _0x4559a=_0x2c6d37,[,_0x4230df]=this[_0x4559a(0x1a0)](_0x5b24f5,{'direction':_0x4559a(0x1b1)});return _0x4230df;}[_0x2c6d37(0x19c)](_0x1b4dae){const _0x3cfb73=_0x2c6d37,[,_0x4f9535]=this[_0x3cfb73(0x1a0)](_0x1b4dae,{'direction':_0x3cfb73(0x19b)});return _0x4f9535;}[_0x2c6d37(0x1b3)](_0x2803de){const _0x11aadc=_0x2c6d37,_0xfa6e06=[];for(const _0xd20814 of this[_0x11aadc(0x1a0)](_0x2803de[_0x11aadc(0x1b8)]))if(_0xfa6e06[_0x11aadc(0x1b9)](_0xd20814),_0xd20814['id']===_0x2803de[_0x11aadc(0x1b6)])break;return _0xfa6e06;}*[_0x2c6d37(0x1a0)](_0x57c978,{direction:_0x31ddf2=_0x2c6d37(0x1b1),filter:_0x17dfa5=()=>!0x0}={}){const _0x29538b=_0x2c6d37,_0x1b7158=_0x29538b(0x1b1)===_0x31ddf2?0x1:-0x1;let _0x5a1c10=this[_0x29538b(0x18c)][_0x29538b(0x1af)](_0x57c978),_0x187290=this[_0x29538b(0x1ae)](_0x5a1c10);for(yield _0x5a1c10;_0x5a1c10;){if(_0x187290+=_0x1b7158,_0x5a1c10=this[_0x29538b(0x193)](_0x187290),!_0x5a1c10)return;_0x17dfa5(_0x5a1c10)&&(yield _0x5a1c10);}}}
|
package/src/revisiontracker.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { Users, type CollaborationHistory } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
10
10
|
import { Plugin, PendingActions, type Editor } from 'ckeditor5/src/core.js';
|
|
11
11
|
import RevisionsRepository from './revisionsrepository.js';
|
|
12
|
-
import
|
|
12
|
+
import RevisionHistoryUtils from './revisionhistoryutils.js';
|
|
13
13
|
import type { default as Revision, RevisionData } from './revision.js';
|
|
14
14
|
/**
|
|
15
15
|
* Creates and updates revisions based on changes of the editor content.
|
|
@@ -24,12 +24,14 @@ import type { default as Revision, RevisionData } from './revision.js';
|
|
|
24
24
|
*/
|
|
25
25
|
export default class RevisionTracker extends Plugin {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
|
|
27
|
+
* The revision instance that is used as a special "current revision", that is a revision that gathers all changes that have happened
|
|
28
|
+
* since the latest revision was saved.
|
|
29
|
+
*/
|
|
30
|
+
currentRevision: Revision | null;
|
|
31
|
+
/**
|
|
32
|
+
* `RevisionsRepository` plugin instance, holds revisions managed by `RevisionTracker`.
|
|
30
33
|
*/
|
|
31
|
-
|
|
32
|
-
repository?: RevisionsRepository;
|
|
34
|
+
repository: RevisionsRepository;
|
|
33
35
|
static get pluginName(): "RevisionTracker";
|
|
34
36
|
/**
|
|
35
37
|
* @inheritDoc
|
|
@@ -39,7 +41,7 @@ export default class RevisionTracker extends Plugin {
|
|
|
39
41
|
* @inheritDoc
|
|
40
42
|
*/
|
|
41
43
|
static get isPremiumPlugin(): true;
|
|
42
|
-
static get requires(): readonly [typeof Users, typeof RevisionsRepository, typeof PendingActions];
|
|
44
|
+
static get requires(): readonly [typeof Users, typeof RevisionsRepository, typeof RevisionHistoryUtils, typeof PendingActions];
|
|
43
45
|
constructor(editor: Editor);
|
|
44
46
|
/**
|
|
45
47
|
* @inheritDoc
|
|
@@ -58,7 +60,6 @@ export default class RevisionTracker extends Plugin {
|
|
|
58
60
|
* @returns Promise that is resolved after the revision is updated locally (the promise does not wait for the adapter update).
|
|
59
61
|
*/
|
|
60
62
|
update(): Promise<void>;
|
|
61
|
-
private _loadState;
|
|
62
63
|
/**
|
|
63
64
|
* Creates and saves a new revision.
|
|
64
65
|
*
|
|
@@ -97,7 +98,7 @@ export default class RevisionTracker extends Plugin {
|
|
|
97
98
|
/**
|
|
98
99
|
* Returns document data for given revision.
|
|
99
100
|
*
|
|
100
|
-
* The document data is HTML or
|
|
101
|
+
* The document data is HTML or a different format, depending on the editor configuration.
|
|
101
102
|
*
|
|
102
103
|
* This method returns a promise which resolves with an object, where keys are root names and values are these roots' data. Most
|
|
103
104
|
* editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
|
|
@@ -107,6 +108,9 @@ export default class RevisionTracker extends Plugin {
|
|
|
107
108
|
* { main: "<p>Sample document data.</p>" }
|
|
108
109
|
* ```
|
|
109
110
|
*
|
|
111
|
+
* If the adapter integration is used, this method will automatically load necessary
|
|
112
|
+
* {@link module:revision-history/revision~Revision#diffData `Revision#diffData`} if it is missing.
|
|
113
|
+
*
|
|
110
114
|
* Please note, that the data returned by this method uses
|
|
111
115
|
* {@link module:engine/dataprocessor/dataprocessor~DataProcessor#useFillerType marked fillers mode}. This means that some ` `
|
|
112
116
|
* characters in the returned data may be wrapped with `<span data-cke-filler="true"> </span>`. Take this difference into
|
package/src/revisiontracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a39ca=_0x4df6;(function(_0x11e7c0,_0x239b57){const _0x5ebaac=_0x4df6,_0x13e2ba=_0x11e7c0();while(!![]){try{const _0x51db17=parseInt(_0x5ebaac(0x190))/0x1+parseInt(_0x5ebaac(0x1de))/0x2+-parseInt(_0x5ebaac(0x172))/0x3*(parseInt(_0x5ebaac(0x195))/0x4)+-parseInt(_0x5ebaac(0x16d))/0x5+-parseInt(_0x5ebaac(0x29a))/0x6*(parseInt(_0x5ebaac(0x281))/0x7)+-parseInt(_0x5ebaac(0x1e0))/0x8*(-parseInt(_0x5ebaac(0x18c))/0x9)+-parseInt(_0x5ebaac(0x290))/0xa*(-parseInt(_0x5ebaac(0x197))/0xb);if(_0x51db17===_0x239b57)break;else _0x13e2ba['push'](_0x13e2ba['shift']());}catch(_0x4e9da3){_0x13e2ba['push'](_0x13e2ba['shift']());}}}(_0x258b,0xd6890));import{Users as _0x1eba73}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4df6(_0x3795f6,_0x1289f8){const _0x258b1c=_0x258b();return _0x4df6=function(_0x4df6b5,_0x4acd83){_0x4df6b5=_0x4df6b5-0x15c;let _0x1952d7=_0x258b1c[_0x4df6b5];return _0x1952d7;},_0x4df6(_0x3795f6,_0x1289f8);}import{Plugin as _0x107973,PendingActions as _0x358602}from'ckeditor5/src/core.js';import{logWarning as _0x291a11,uid as _0x52410c}from'ckeditor5/src/utils.js';function _0x258b(){const _0xbba88b=['element','markerToData','getAttributes','marker','getIndex','_makeModelFromViewString','conversion','forEach','_handleMarkerOperation','adapter','vid_end','_clone','_removeRevisionMarkers','elementEnd','Empty\x20document','_licenseKeyCheckInterval','evaluationLimit','createRange','_addPendingAction','createdAt','_source','getTime','insertions','_findInsertionIndex','howMany','history','loadState','currentRevision','_update','createPositionBefore','_fixRange','_startingVersion','_makeIdsRoot','editor-initial-data-replaced-with-revision-data','model','keys','baseVersion','createPositionAfter','reinsert','createPositionAt','_getFromVersion','getWalker','some','getRevisionDocumentData','_initialRevisionId','clear','_copyMarkers','_revisionId','creator','delete','revisionHistoryLicenseKeyEvaluationLimit','marked','changeRootAttribute','_replaceEditorDataWithRevisionData','creatorId','attributesAfter','add','_loadState','collaboration.channelId','initial','usageLimit','_calculateMetaData','_insertChild','finally','useFillerType','_baseRootsAttributes','_fixOperation','data-revision-','_getViewJson','revisionHistoryLicenseKeyTrialLimit','_lastTo','getChild','clone','filter','_bufferedUpdates','has','revision','nodeAfter','invalid','insert','map','get','affectsData','nodes','trialLimit','revisionHistoryLicenseKeyNotAllowed','_markers','_removePendingAction','authorsIds','_removeMetaData','root','getTransformedByOperation','_idsRoots','_fixPosition','_startingRevisionId','_loadRevisionData','ready','_isInit','buildRevisionData','getMovedRangeStart','key','isPremiumPlugin','_appendChild','set','_isPendingUpdate','getAncestors','_markChanges','868364rBebiS','rootName','_generateTape','_authorId','_setAttribute','plugins','size','locale','targetPosition','editor','fromEntries','_touchedRoots','NEGATIVE_INFINITY','isAdd','RevisionHistory','100mWItse','_baseIdsRoots','deletion','name','bind','_createCurrentRevision','then','createRangeIn','dataDowncast','diffData','66kkivkt','stringify','Initial\x20revision','addRootAttribute','domainLimit','start','authors','oldRange','splitPosition','destroy','trim','_handleRootOperation','insertionPosition','isAttached','getRevisions','version','init','getOperations','newValue','updateRevisions','_diffRootsAttributes','4989545YvYwFt','afterInit','roots','isEnabled','_loadedStateData','2391MDiyiL','revisionHistory.resumeUnsavedRevision','revisionHistoryLicenseKeyUsageLimit','_handleOperation','revisionHistoryLicenseKeyExpired','position','PendingActions','_handleRootAttributeOperation','paragraph','view','createPositionFromPath','RevisionsRepository','fromVersion','attributes','offsetSize','_revisionDataBuilder','expired','_savedMetaData','getData','parse','parent','end','stickiness','_transformMarkers','getRange','detachRoot','27aIkhWi','_processRootBeforeSave','_diffRoots','featureNotAllowed','18461yVEUUF','_isAttached','$graveyard','sort','addRoot','7860GfJlTj','PENDING_ACTION_REVISION_HISTORY','3307898siUcAu','toView','_handleSplitOperation','reInit','_setConversion','update','default','_baseRoots','values','range','_handleInsertOperation','for','_touched','previousPosition','repository','_execute','_continueCurrentRevision','_makeRevision','max','getRoot','getAttribute','createRevision','text','userId','isReady','addRevisionData','isOfficialPlugin','_handleMoveOperation','item','Users','childCount','getLatestVersion','_createInitialRevision','elementStart','upcast','saveRevision','getRevisionRootsAttributes','revisionHistoryLicenseKeyDomainLimit','_showLicenseError','string','_reset','getChildren','includes','revisionHistoryLicenseKeyValid','getNodeByPath','toData','rootsAttributes','graveyardPosition','vid','split','reverse','push','RealTimeCollaborationClient','insertion','hasContent','deletions','dataToMarker','getUser','removeRootAttribute','_operations','getCurrentRevisionId','newRange','setRevisionData','RevisionTracker','_createFromRanges','source','config','toModel','find','_saveMetaData','document','1769008JRoyPq','documentFragment','2392472sMXdiB','define','_pendingAction','_getVidAttributeName','_getState','move','attributesBefore','sourcePosition','addRevision','from','getRootNames','revision-end','children','vid_start','data','markers','keepParagraph','revision-start','merge','toVersion','getRevision','_touchedMarkers','revision:','tableCell','isEqual','_getBaseVids','licenseKey','_prepareViewToSave','pluginName','processor','requires','_lastFrom','sendBufferedUpdates','getOperation','$text','_handleMergeOperation','slice','editing','_getPreviousFrom','attachChange','path','setSource','revisionHistoryLicenseKeyInvalid','initialData','_cloneOperation','type','remove','_applyOperations','offset','shift','_bufferUpdate','startsWith','resolve','length'];_0x258b=function(){return _0xbba88b;};return _0x258b();}import{Position as _0x327265,Range as _0x1b227b,Element as _0x525d41,DocumentFragment as _0x172268,ViewText as _0x4fac99,ViewElement as _0x51a079,ViewContainerElement as _0x1d14e6,ViewAttributeElement as _0x3b395a,ViewEmptyElement as _0x10a3d6,ViewRawElement as _0x35f952,ViewUIElement as _0x4c5f0b,ViewDocumentFragment as _0x9d55c}from'ckeditor5/src/engine.js';import _0x1602e7 from'./revisionsrepository.js';import{getTranslation as _0x4ff06e}from'./utils/common-translations.js';import{cloneDeep as _0x11ac54,isEqual as _0x5c128e}from'es-toolkit/compat';const E={'c':_0x1d14e6,'a':_0x3b395a,'e':_0x10a3d6,'r':_0x35f952,'u':_0x4c5f0b};export default class u extends _0x107973{[_0x2a39ca(0x1fa)];[_0x2a39ca(0x225)];[_0x2a39ca(0x21f)];[_0x2a39ca(0x231)];[_0x2a39ca(0x1a5)];[_0x2a39ca(0x181)];[_0x2a39ca(0x22a)];[_0x2a39ca(0x242)];[_0x2a39ca(0x260)];[_0x2a39ca(0x1e2)];[_0x2a39ca(0x1a7)];[_0x2a39ca(0x235)];[_0x2a39ca(0x171)];static get[_0x2a39ca(0x1fc)](){const _0x2b04d6=_0x2a39ca;return _0x2b04d6(0x1d6);}static get[_0x2a39ca(0x1b1)](){return!0x0;}static get[_0x2a39ca(0x27b)](){return!0x0;}static get[_0x2a39ca(0x1fe)](){return[_0x1eba73,_0x1602e7,_0x358602];}constructor(_0x50702e){const _0x333256=_0x2a39ca;super(_0x50702e),this[_0x333256(0x21f)]=null,this[_0x333256(0x231)]=null,this[_0x333256(0x181)]=new V(this[_0x333256(0x28a)]),this[_0x333256(0x242)]=this[_0x333256(0x28a)][_0x333256(0x1d9)][_0x333256(0x267)](_0x333256(0x250))||_0x333256(0x251),this[_0x333256(0x260)]=new Map(),this[_0x333256(0x171)]=null;const _0x41e17d=_0x52410c();this[_0x333256(0x22a)]={'history':this[_0x333256(0x28a)][_0x333256(0x238)][_0x333256(0x1dd)][_0x333256(0x22f)],'getLatestVersion':()=>Promise[_0x333256(0x214)](this[_0x333256(0x28a)][_0x333256(0x238)][_0x333256(0x1dd)][_0x333256(0x167)]),'getCurrentRevisionId':()=>_0x41e17d},this[_0x333256(0x27d)](_0x333256(0x1af),!0x1),this[_0x333256(0x27d)](_0x333256(0x170),!0x0),this[_0x333256(0x27d)](_0x333256(0x27e),!0x1),this[_0x333256(0x28a)][_0x333256(0x1d9)][_0x333256(0x1e1)](_0x333256(0x173),!0x0),this[_0x333256(0x28a)][_0x333256(0x21c)][_0x333256(0x1a2)](_0x333256(0x1b9))[_0x333256(0x1cf)]({'view':_0x333256(0x262)});}[_0x2a39ca(0x168)](){const _0x33bfca=_0x2a39ca;this[_0x33bfca(0x1a5)]=this[_0x33bfca(0x28a)][_0x33bfca(0x286)][_0x33bfca(0x267)](_0x33bfca(0x17d)),this[_0x33bfca(0x19b)](),this[_0x33bfca(0x28a)][_0x33bfca(0x1ee)]['on'](_0x33bfca(0x276),()=>{const _0x257d82=_0x33bfca,_0x318aa9=this[_0x257d82(0x1a5)][_0x257d82(0x1f4)](0x0),_0x285d02=_0x318aa9&&null===_0x318aa9[_0x257d82(0x246)]?_0x318aa9:null;if(this[_0x257d82(0x1a7)]=!!_0x285d02&&this[_0x257d82(0x28a)][_0x257d82(0x1d9)][_0x257d82(0x267)](_0x257d82(0x173)),this[_0x257d82(0x28a)][_0x257d82(0x286)][_0x257d82(0x261)](_0x257d82(0x1cb))){const _0x4e0705=this[_0x257d82(0x22a)][_0x257d82(0x1d3)](),_0x3e32bf=this[_0x257d82(0x1a5)][_0x257d82(0x1f4)](_0x4e0705);if(_0x3e32bf)this[_0x257d82(0x235)]=_0x3e32bf[_0x257d82(0x17e)],this[_0x257d82(0x1a7)]=!0x1;else{const _0x2b8c70=this[_0x257d82(0x22a)][_0x257d82(0x22f)][_0x257d82(0x1d2)][_0x257d82(0x1db)](_0x310f0a=>!_0x310f0a[_0x257d82(0x277)]),_0x54b39c=_0x2b8c70?_0x2b8c70[_0x257d82(0x23a)]:this[_0x257d82(0x22a)][_0x257d82(0x22f)][_0x257d82(0x167)];_0x318aa9?(_0x318aa9[_0x257d82(0x1f3)]<_0x54b39c&&_0x318aa9[_0x257d82(0x232)]({'toVersion':_0x54b39c}),this[_0x257d82(0x1a7)]?(this[_0x257d82(0x22a)][_0x257d82(0x1d3)]=()=>_0x285d02['id'],this[_0x257d82(0x235)]=_0x285d02[_0x257d82(0x17e)]):(this[_0x257d82(0x235)]=_0x318aa9[_0x257d82(0x1f3)],this[_0x257d82(0x1a7)]=!0x1)):(this[_0x257d82(0x235)]=_0x54b39c,this[_0x257d82(0x1a7)]=!0x1);}}else _0x285d02&&(this[_0x257d82(0x28a)][_0x257d82(0x238)][_0x257d82(0x1dd)][_0x257d82(0x22f)][_0x257d82(0x167)]=Math[_0x257d82(0x1a9)](_0x285d02[_0x257d82(0x1f3)],this[_0x257d82(0x28a)][_0x257d82(0x238)][_0x257d82(0x1dd)][_0x257d82(0x22f)][_0x257d82(0x167)]),_0x285d02[_0x257d82(0x17e)]===_0x285d02[_0x257d82(0x1f3)]?(0x0!==_0x285d02[_0x257d82(0x17e)]&&(this[_0x257d82(0x22a)][_0x257d82(0x1d3)]=()=>_0x285d02['id']),this[_0x257d82(0x1a7)]=!0x1):this[_0x257d82(0x1a7)]&&(this[_0x257d82(0x22a)][_0x257d82(0x1d3)]=()=>_0x285d02['id'],this[_0x257d82(0x235)]=_0x285d02[_0x257d82(0x17e)])),this[_0x257d82(0x1a7)]||(this[_0x257d82(0x235)]=this[_0x257d82(0x28a)][_0x257d82(0x238)][_0x257d82(0x1dd)][_0x257d82(0x167)]);this[_0x257d82(0x181)][_0x257d82(0x168)](this[_0x257d82(0x22a)][_0x257d82(0x22f)]),this[_0x257d82(0x1b7)](this[_0x257d82(0x235)]),this[_0x257d82(0x295)](this[_0x257d82(0x235)]),this[_0x257d82(0x21f)]&&this[_0x257d82(0x200)]();}),this[_0x33bfca(0x294)](_0x33bfca(0x1af))['to'](this,_0x33bfca(0x27e),_0xed4b4=>!_0xed4b4),this[_0x33bfca(0x1fa)]=this[_0x33bfca(0x28a)][_0x33bfca(0x1d9)][_0x33bfca(0x267)](_0x33bfca(0x1fa));const _0x1981c4=this[_0x33bfca(0x28a)];this[_0x33bfca(0x225)]=setInterval(()=>{const _0x526dc0=_0x33bfca;let _0x589104;for(const _0x4ba2de in _0x1981c4){const _0x44c7fd=_0x4ba2de,_0x1a6706=_0x1981c4[_0x44c7fd];if(_0x526dc0(0x1c2)==_0x1a6706||_0x526dc0(0x20a)==_0x1a6706||_0x526dc0(0x176)==_0x1a6706||_0x526dc0(0x1bc)==_0x1a6706||_0x526dc0(0x26b)==_0x1a6706||_0x526dc0(0x248)==_0x1a6706||_0x526dc0(0x25b)==_0x1a6706||_0x526dc0(0x174)==_0x1a6706){delete _0x1981c4[_0x44c7fd],_0x589104=_0x1a6706,clearInterval(this[_0x526dc0(0x225)]),this[_0x526dc0(0x225)]=void 0x0;break;}}_0x526dc0(0x20a)==_0x589104&&_0x1981c4[_0x526dc0(0x1bd)](_0x526dc0(0x264)),_0x526dc0(0x176)==_0x589104&&_0x1981c4[_0x526dc0(0x1bd)](_0x526dc0(0x182)),_0x526dc0(0x1bc)==_0x589104&&_0x1981c4[_0x526dc0(0x1bd)](_0x526dc0(0x15c)),_0x526dc0(0x26b)==_0x589104&&_0x1981c4[_0x526dc0(0x1bd)](_0x526dc0(0x18f),_0x526dc0(0x28f)),_0x526dc0(0x248)==_0x589104&&_0x1981c4[_0x526dc0(0x1bd)](_0x526dc0(0x226)),_0x526dc0(0x25b)==_0x589104&&_0x1981c4[_0x526dc0(0x1bd)](_0x526dc0(0x26a)),_0x526dc0(0x174)==_0x589104&&_0x1981c4[_0x526dc0(0x1bd)](_0x526dc0(0x252));},0x3e8);}async[_0x2a39ca(0x16e)](){const _0x1a8297=_0x2a39ca;if(this[_0x1a8297(0x1a5)][_0x1a8297(0x215)]>0x0){const _0x182a20=this[_0x1a8297(0x1a5)][_0x1a8297(0x1f4)](0x0),_0x2aca92=await this[_0x1a8297(0x241)](_0x182a20),_0x4eac55=await this[_0x1a8297(0x1bb)](_0x182a20);this[_0x1a8297(0x24b)](_0x2aca92,_0x4eac55);}}[_0x2a39ca(0x161)](){const _0x4ea3b0=_0x2a39ca;super[_0x4ea3b0(0x161)](),this[_0x4ea3b0(0x225)]&&clearInterval(this[_0x4ea3b0(0x225)]);}[_0x2a39ca(0x209)](_0x1e5fbe){const _0x2c37f0=_0x2a39ca;this[_0x2c37f0(0x22a)]=_0x1e5fbe;}async[_0x2a39ca(0x19c)](){const _0x40a20e=_0x2a39ca,_0x186b82=await this[_0x40a20e(0x22a)][_0x40a20e(0x1b6)]();if(_0x186b82>this[_0x40a20e(0x231)][_0x40a20e(0x1f3)]){await this[_0x40a20e(0x24f)]();const _0x405d81=this[_0x40a20e(0x278)]({'revision':this[_0x40a20e(0x231)],'to':_0x186b82});_0x405d81[_0x40a20e(0x15e)]=_0x405d81[_0x40a20e(0x26e)][_0x40a20e(0x266)](_0x43d1c9=>this[_0x40a20e(0x28a)][_0x40a20e(0x286)][_0x40a20e(0x267)](_0x40a20e(0x1b4))[_0x40a20e(0x1d0)](_0x43d1c9)),this[_0x40a20e(0x231)][_0x40a20e(0x232)](_0x405d81);}}async[_0x2a39ca(0x24f)](){const _0x19d388=_0x2a39ca;this[_0x19d388(0x1a7)]&&!this[_0x19d388(0x171)]&&(await this[_0x19d388(0x275)](this[_0x19d388(0x231)]),this[_0x19d388(0x181)][_0x19d388(0x230)](this[_0x19d388(0x231)]),this[_0x19d388(0x171)]={'fromVersion':this[_0x19d388(0x231)][_0x19d388(0x17e)],'authors':this[_0x19d388(0x231)][_0x19d388(0x15e)][_0x19d388(0x204)]()});}async[_0x2a39ca(0x1ba)](_0x13af45={},_0x4a9c9c=null){const _0x390914=_0x2a39ca,_0x51f52d=[];await this[_0x390914(0x24f)](),this[_0x390914(0x1a7)]=!0x1,_0x4a9c9c>this[_0x390914(0x231)][_0x390914(0x1f3)]&&(_0x4a9c9c=null),null===_0x4a9c9c&&(_0x4a9c9c=await this[_0x390914(0x22a)][_0x390914(0x1b6)]());const _0x5a6a09=this[_0x390914(0x23e)](_0x4a9c9c),_0xf59246=this[_0x390914(0x278)]({'from':_0x5a6a09,'to':_0x4a9c9c});if(this[_0x390914(0x231)][_0x390914(0x1f3)]<_0x4a9c9c){const _0x440e79=this[_0x390914(0x278)]({'revision':this[_0x390914(0x231)],'from':_0x4a9c9c,'to':_0x4a9c9c});_0x440e79[_0x390914(0x15e)]=[],_0x440e79[_0x390914(0x26e)]=[],_0x440e79['id']=this[_0x390914(0x231)]['id'],this[_0x390914(0x231)][_0x390914(0x232)](_0x440e79,!0x0),delete _0x440e79[_0x390914(0x15e)],_0x51f52d[_0x390914(0x1ca)](_0x440e79);}_0x13af45[_0x390914(0x24c)]=this[_0x390914(0x28a)][_0x390914(0x286)][_0x390914(0x267)](_0x390914(0x1b4))['me']['id'],_0x13af45[_0x390914(0x293)]=_0x13af45[_0x390914(0x293)]||null,_0x13af45['id']=_0x13af45['id']||_0x52410c(),_0x13af45={..._0x13af45,..._0xf59246};const _0x28833b=this[_0x390914(0x1b0)](_0x13af45);_0x51f52d[_0x390914(0x1ca)](_0x13af45);const _0x4549d2=this[_0x390914(0x1a5)][_0x390914(0x21a)](_0x28833b);if(0x0!==_0x4549d2){const _0x23a7ab=this[_0x390914(0x1a5)][_0x390914(0x1f4)](_0x4549d2-0x1);if(_0x23a7ab[_0x390914(0x17e)]!==_0x4a9c9c){const _0x1a2d6e=this[_0x390914(0x181)][_0x390914(0x184)](_0x4a9c9c,_0x23a7ab[_0x390914(0x1f3)]),_0x3c16b4={'id':_0x23a7ab['id'],'diffData':_0x1a2d6e[_0x390914(0x299)],'authorsIds':_0x1a2d6e[_0x390914(0x26e)],'authors':_0x1a2d6e[_0x390914(0x26e)][_0x390914(0x266)](_0x53a7cf=>this[_0x390914(0x28a)][_0x390914(0x286)][_0x390914(0x267)](_0x390914(0x1b4))[_0x390914(0x1d0)](_0x53a7cf)),'fromVersion':_0x4a9c9c};_0x23a7ab===this[_0x390914(0x231)]&&(_0x3c16b4[_0x390914(0x229)]=new Date(_0x13af45[_0x390914(0x229)][_0x390914(0x22b)]()+0xa)),_0x23a7ab[_0x390914(0x232)](_0x3c16b4,!0x0),delete _0x3c16b4[_0x390914(0x15e)],_0x51f52d[_0x390914(0x1ca)](_0x3c16b4);}}if(this[_0x390914(0x21f)]){for(const _0x478c87 of _0x51f52d)this[_0x390914(0x212)](_0x478c87['id'],_0x478c87,!0x0);this[_0x390914(0x200)]();}return _0x28833b;}[_0x2a39ca(0x1b0)](_0x4c415d){const _0x16789c=_0x2a39ca,_0xc69027=this[_0x16789c(0x1a5)][_0x16789c(0x1ac)](_0x4c415d);return this[_0x16789c(0x21f)]&&_0xc69027['on'](_0x16789c(0x232),(_0x23370a,_0x29d1ef,_0x2bc816)=>{const _0x57cece=_0x16789c;_0x2bc816||(this[_0x57cece(0x212)](_0x29d1ef['id'],_0x29d1ef,!0x0),this[_0x57cece(0x200)]());}),this[_0x16789c(0x1a5)][_0x16789c(0x1e8)](_0xc69027,this[_0x16789c(0x22d)](_0xc69027)),_0xc69027;}async[_0x2a39ca(0x241)](_0x44047d){const _0xd2e942=_0x2a39ca;await this[_0xd2e942(0x275)](_0x44047d);const _0x2d1745={};for(const _0x2a912c in _0x44047d[_0xd2e942(0x299)]){if(_0x44047d[_0xd2e942(0x299)][_0x2a912c][_0xd2e942(0x207)]&&!_0x44047d[_0xd2e942(0x299)][_0x2a912c][_0xd2e942(0x207)][_0xd2e942(0x165)])continue;const _0x3db854=this[_0xd2e942(0x222)](JSON[_0xd2e942(0x185)](_0x44047d[_0xd2e942(0x299)][_0x2a912c][_0xd2e942(0x22c)])),_0xec7813=this[_0xd2e942(0x28a)][_0xd2e942(0x205)][_0xd2e942(0x17b)][_0xd2e942(0x1dd)],_0x305ab1=new _0x9d55c(_0xec7813,_0x3db854[_0xd2e942(0x266)](_0x2e6afd=>P(_0x2e6afd,this[_0xd2e942(0x28a)])));this[_0xd2e942(0x28a)][_0xd2e942(0x1ee)][_0xd2e942(0x1fd)][_0xd2e942(0x256)](_0xd2e942(0x249)),_0x2d1745[_0x2a912c]=this[_0xd2e942(0x28a)][_0xd2e942(0x1ee)][_0xd2e942(0x1fd)][_0xd2e942(0x1c4)](_0x305ab1),this[_0xd2e942(0x28a)][_0xd2e942(0x1ee)][_0xd2e942(0x1fd)][_0xd2e942(0x256)](_0xd2e942(0x19d));}return _0x2d1745;}async[_0x2a39ca(0x1bb)](_0x2f48a6){const _0x2fa64d=_0x2a39ca;await this[_0x2fa64d(0x275)](_0x2f48a6);const _0x275e8b={};for(const _0x26b748 in _0x2f48a6[_0x2fa64d(0x299)])_0x2f48a6[_0x2fa64d(0x299)][_0x26b748][_0x2fa64d(0x207)]&&!_0x2f48a6[_0x2fa64d(0x299)][_0x26b748][_0x2fa64d(0x207)][_0x2fa64d(0x165)]||(_0x275e8b[_0x26b748]=_0x2f48a6[_0x2fa64d(0x299)][_0x26b748][_0x2fa64d(0x24d)]||{});return _0x275e8b;}[_0x2a39ca(0x200)](){const _0x3be59f=_0x2a39ca;if(0x0===this[_0x3be59f(0x260)][_0x3be59f(0x287)])return;if(this[_0x3be59f(0x27e)])return;let _0x4fe5c7=Array[_0x3be59f(0x1e9)](this[_0x3be59f(0x260)][_0x3be59f(0x19f)]());this[_0x3be59f(0x260)][_0x3be59f(0x243)]();for(let _0x5dd2b9=0x0;_0x5dd2b9<_0x4fe5c7[_0x3be59f(0x215)];_0x5dd2b9++){const _0x78ac5c=_0x4fe5c7[_0x5dd2b9];let _0x38fe2d=!0x1;for(const _0x5dc906 of Object[_0x3be59f(0x239)](_0x78ac5c))void 0x0===_0x78ac5c[_0x5dc906]?delete _0x78ac5c[_0x5dc906]:'id'!==_0x5dc906&&(_0x38fe2d=!0x0);_0x38fe2d||(_0x4fe5c7[_0x5dd2b9]=null);}if(_0x4fe5c7=_0x4fe5c7[_0x3be59f(0x25f)](_0x32b2fc=>null!==_0x32b2fc),!_0x4fe5c7[_0x3be59f(0x215)])return;for(let _0xff4e1e=0x0;_0xff4e1e<_0x4fe5c7[_0x3be59f(0x215)];_0xff4e1e++){const _0x5ce60b=_0x4fe5c7[_0xff4e1e];void 0x0!==_0x5ce60b[_0x3be59f(0x17e)]&&void 0x0===_0x5ce60b[_0x3be59f(0x1f3)]&&(_0x5ce60b[_0x3be59f(0x1f3)]=this[_0x3be59f(0x1a5)][_0x3be59f(0x1f4)](_0x5ce60b['id'])[_0x3be59f(0x1f3)]),void 0x0!==_0x5ce60b[_0x3be59f(0x1f3)]&&void 0x0===_0x5ce60b[_0x3be59f(0x17e)]&&(_0x5ce60b[_0x3be59f(0x17e)]=this[_0x3be59f(0x1a5)][_0x3be59f(0x1f4)](_0x5ce60b['id'])[_0x3be59f(0x17e)]);}const _0x4a807a=this[_0x3be59f(0x28a)][_0x3be59f(0x1d9)][_0x3be59f(0x267)](_0x3be59f(0x250));this[_0x3be59f(0x27e)]=!0x0,this[_0x3be59f(0x228)](),this[_0x3be59f(0x21f)][_0x3be59f(0x16b)](_0x4fe5c7,_0x4a807a)[_0x3be59f(0x255)](()=>{const _0x29e213=_0x3be59f;this[_0x29e213(0x27e)]=!0x1;})[_0x3be59f(0x296)](_0x3ad8f6=>{const _0x3da1b0=_0x3be59f;if(_0x3ad8f6){for(const _0x4e6cd9 of _0x3ad8f6)this[_0x3da1b0(0x1d5)]({'id':_0x4e6cd9['id'],'createdAt':_0x4e6cd9[_0x3da1b0(0x229)]});}this[_0x3da1b0(0x26d)](),this[_0x3da1b0(0x200)]();});}[_0x2a39ca(0x24b)](_0x34a9d7,_0x1aa743){const _0x11482e=_0x2a39ca;let _0x925857=this[_0x11482e(0x28a)][_0x11482e(0x1d9)][_0x11482e(0x267)](_0x11482e(0x20b)),_0x54fc6d=this[_0x11482e(0x28a)][_0x11482e(0x1d9)][_0x11482e(0x267)](_0x11482e(0x1c5));if(void 0x0===_0x925857){_0x925857={};for(const _0x27a3f1 of this[_0x11482e(0x28a)][_0x11482e(0x238)][_0x11482e(0x1dd)][_0x11482e(0x1ea)]())_0x925857[_0x27a3f1]='';}if(_0x11482e(0x1be)==typeof _0x925857&&(_0x925857={'main':_0x925857}),void 0x0===_0x54fc6d){_0x54fc6d={};for(const _0x570ddf of this[_0x11482e(0x28a)][_0x11482e(0x238)][_0x11482e(0x1dd)][_0x11482e(0x1ea)]())_0x54fc6d[_0x570ddf]={};}let _0x4edaf7=!0x1;const _0x5c89c7=Object[_0x11482e(0x239)](_0x925857),_0x51f241=Object[_0x11482e(0x239)](_0x34a9d7);for(const _0x1a0c65 of _0x5c89c7){if(_0x925857[_0x1a0c65]!==_0x34a9d7[_0x1a0c65]&&''!==_0x925857[_0x1a0c65][_0x11482e(0x162)]()){_0x4edaf7=!0x0;break;}if(!_0x5c128e(_0x54fc6d[_0x1a0c65],_0x1aa743[_0x1a0c65])&&Object[_0x11482e(0x239)](_0x54fc6d[_0x1a0c65])[_0x11482e(0x215)]>0x0){_0x4edaf7=!0x0;break;}}_0x4edaf7||(_0x4edaf7=_0x51f241[_0x11482e(0x240)](_0x3edb0a=>!this[_0x11482e(0x28a)][_0x11482e(0x238)][_0x11482e(0x1dd)][_0x11482e(0x1aa)](_0x3edb0a))),_0x4edaf7&&_0x291a11(_0x11482e(0x237),{'editorData':_0x925857,'editorRootsAttributes':_0x54fc6d,'revisionData':_0x34a9d7,'revisionRootsAttributes':_0x1aa743}),this[_0x11482e(0x28a)][_0x11482e(0x1d9)][_0x11482e(0x27d)](_0x11482e(0x20b),_0x34a9d7),this[_0x11482e(0x28a)][_0x11482e(0x1d9)][_0x11482e(0x27d)](_0x11482e(0x1c5),_0x1aa743);}[_0x2a39ca(0x228)](){const _0x288654=_0x2a39ca;if(!this[_0x288654(0x1e2)]){const _0x4cc398=this[_0x288654(0x28a)][_0x288654(0x286)][_0x288654(0x267)](_0x288654(0x178));this[_0x288654(0x1e2)]=_0x4cc398[_0x288654(0x24e)](_0x4ff06e(this[_0x288654(0x28a)][_0x288654(0x288)],_0x288654(0x196)));}}[_0x2a39ca(0x26d)](){const _0x255382=_0x2a39ca;this[_0x255382(0x1e2)]&&(this[_0x255382(0x28a)][_0x255382(0x286)][_0x255382(0x267)](_0x255382(0x178))[_0x255382(0x20e)](this[_0x255382(0x1e2)]),this[_0x255382(0x1e2)]=null);}[_0x2a39ca(0x22d)](_0x5eebfa){const _0x3073fa=_0x2a39ca,_0x1c4173=this[_0x3073fa(0x1a5)][_0x3073fa(0x166)]();_0x1c4173[_0x3073fa(0x1c9)]();let _0x3d2c44=0x0;for(;_0x3d2c44<_0x1c4173[_0x3073fa(0x215)];){const _0x1f547e=_0x1c4173[_0x3d2c44];if(_0x1f547e===this[_0x3073fa(0x231)]){_0x3d2c44++;continue;}if(_0x1f547e['id']===this[_0x3073fa(0x242)])break;const _0x2fd227=_0x5eebfa[_0x3073fa(0x1f3)]-_0x1f547e[_0x3073fa(0x1f3)]||_0x5eebfa[_0x3073fa(0x17e)]-_0x1f547e[_0x3073fa(0x17e)];if(_0x2fd227>0x0)break;if(_0x2fd227<0x0)_0x3d2c44++;else{if(!_0x5eebfa[_0x3073fa(0x246)]&&_0x1f547e[_0x3073fa(0x246)])break;if(_0x1f547e[_0x3073fa(0x246)]||!_0x5eebfa[_0x3073fa(0x246)]){if(_0x5eebfa[_0x3073fa(0x229)]>_0x1f547e[_0x3073fa(0x229)])break;_0x3d2c44++;}else _0x3d2c44++;}}return _0x3d2c44;}[_0x2a39ca(0x1d5)](_0x24e9dd){const _0x2d5d43=_0x2a39ca,_0xf91335=this[_0x2d5d43(0x1a5)][_0x2d5d43(0x1f4)](_0x24e9dd['id']);if(_0x24e9dd[_0x2d5d43(0x229)]&&(_0x24e9dd[_0x2d5d43(0x229)]=new Date(_0x24e9dd[_0x2d5d43(0x229)])),_0x24e9dd[_0x2d5d43(0x26e)]){const _0x91ff5f=this[_0x2d5d43(0x28a)][_0x2d5d43(0x286)][_0x2d5d43(0x267)](_0x2d5d43(0x1b4));_0x24e9dd[_0x2d5d43(0x15e)]=_0x24e9dd[_0x2d5d43(0x26e)][_0x2d5d43(0x266)](_0x59c547=>_0x91ff5f[_0x2d5d43(0x1d0)](_0x59c547));}_0xf91335[_0x2d5d43(0x232)](_0x24e9dd,!0x0);}[_0x2a39ca(0x278)]({revision:_0x545cf6=null,from:_0x504ede=null,to:_0xf9ed81=null}){const _0x1cc3f3=_0x2a39ca;_0x504ede=null!==_0x504ede?_0x504ede:_0x545cf6[_0x1cc3f3(0x17e)],_0xf9ed81=null!==_0xf9ed81?_0xf9ed81:_0x545cf6[_0x1cc3f3(0x1f3)];const _0x3c3488=this[_0x1cc3f3(0x181)][_0x1cc3f3(0x184)](_0x504ede,_0xf9ed81),_0x49c28f={'diffData':_0x3c3488[_0x1cc3f3(0x299)],'authorsIds':_0x3c3488[_0x1cc3f3(0x26e)],'fromVersion':_0x504ede,'toVersion':_0xf9ed81};if(!_0x545cf6||_0xf9ed81!==_0x545cf6[_0x1cc3f3(0x1f3)]){const _0x400940=_0xf9ed81-0x1,_0x4cd5f9=this[_0x1cc3f3(0x22a)][_0x1cc3f3(0x22f)][_0x1cc3f3(0x201)](_0x400940);_0x49c28f[_0x1cc3f3(0x229)]=_0x4cd5f9&&_0x4cd5f9[_0x1cc3f3(0x229)]||new Date();}if(this[_0x1cc3f3(0x171)]&&_0x504ede===this[_0x1cc3f3(0x171)][_0x1cc3f3(0x17e)]){for(const _0x400c06 of this[_0x1cc3f3(0x171)][_0x1cc3f3(0x15e)])_0x49c28f[_0x1cc3f3(0x26e)][_0x1cc3f3(0x1c1)](_0x400c06['id'])||_0x49c28f[_0x1cc3f3(0x26e)][_0x1cc3f3(0x1ca)](_0x400c06['id']);}return _0x49c28f;}[_0x2a39ca(0x275)](_0x3bccff){const _0x3e5070=_0x2a39ca;if(!_0x3bccff||_0x3bccff[_0x3e5070(0x299)])return Promise[_0x3e5070(0x214)]();{const _0x268b26=this[_0x3e5070(0x28a)][_0x3e5070(0x1d9)][_0x3e5070(0x267)](_0x3e5070(0x250));return this[_0x3e5070(0x21f)][_0x3e5070(0x1f4)]({'channelId':_0x268b26,'revisionId':_0x3bccff['id']})[_0x3e5070(0x296)](_0x340665=>{const _0x5625c8=_0x3e5070;_0x3bccff[_0x5625c8(0x299)]=_0x340665[_0x5625c8(0x299)];});}}[_0x2a39ca(0x212)](_0x3320eb,_0x224605,_0xb3951e){const _0x53028f=_0x2a39ca;if(this[_0x53028f(0x260)][_0x53028f(0x261)](_0x3320eb)){const _0x59172d=this[_0x53028f(0x260)][_0x53028f(0x267)](_0x3320eb);_0x224605=_0xb3951e?{..._0x59172d,..._0x224605}:{..._0x224605,..._0x59172d};}this[_0x53028f(0x260)][_0x53028f(0x27d)](_0x3320eb,_0x224605);}[_0x2a39ca(0x23e)](_0x5dd8f7){const _0x64a2f5=_0x2a39ca,_0x19d068=this[_0x64a2f5(0x1a5)][_0x64a2f5(0x166)]();_0x19d068[_0x64a2f5(0x1c9)](),_0x19d068[_0x64a2f5(0x211)]();const _0x520f68=_0x19d068[_0x64a2f5(0x1db)](_0x4a18fa=>_0x4a18fa[_0x64a2f5(0x1f3)]<=_0x5dd8f7)[_0x64a2f5(0x1f3)];return _0x520f68<this[_0x64a2f5(0x235)]?this[_0x64a2f5(0x235)]:_0x520f68;}[_0x2a39ca(0x1b7)](_0x4cda74){const _0x48d59c=_0x2a39ca,_0x17b95a=this[_0x48d59c(0x1a5)][_0x48d59c(0x1f4)](this[_0x48d59c(0x1a5)][_0x48d59c(0x215)]-0x1);if(_0x17b95a)this[_0x48d59c(0x242)]=_0x17b95a['id'];else{const _0x5bac0e=!this[_0x48d59c(0x28a)][_0x48d59c(0x238)][_0x48d59c(0x1dd)][_0x48d59c(0x16f)][_0x48d59c(0x1db)](_0x22c358=>this[_0x48d59c(0x28a)][_0x48d59c(0x238)][_0x48d59c(0x1cd)](_0x22c358)),_0x347e5c=this[_0x48d59c(0x28a)][_0x48d59c(0x286)][_0x48d59c(0x267)](_0x48d59c(0x1b4))['me']['id'],_0x4aeaa5=_0x4ff06e(this[_0x48d59c(0x28a)][_0x48d59c(0x288)],_0x5bac0e?_0x48d59c(0x224):_0x48d59c(0x29c));this[_0x48d59c(0x1a8)]({'from':_0x4cda74,'to':_0x4cda74,'id':this[_0x48d59c(0x242)],'name':_0x4aeaa5,'creatorId':_0x347e5c});}}[_0x2a39ca(0x295)](_0x3e05c0){const _0x419ee4=_0x2a39ca,_0x2e0525=this[_0x419ee4(0x22a)][_0x419ee4(0x1d3)]();this[_0x419ee4(0x231)]=this[_0x419ee4(0x1a5)][_0x419ee4(0x1f4)](_0x2e0525),this[_0x419ee4(0x231)]||(this[_0x419ee4(0x231)]=this[_0x419ee4(0x1a8)]({'from':_0x3e05c0,'to':_0x3e05c0,'id':_0x2e0525,'name':'','creatorId':null}));}[_0x2a39ca(0x1a8)]({name:_0x6ccc9a,from:_0x3f5933,to:_0x154704,creatorId:_0x4917d4,id:_0x11fef1}){const _0x30c929=_0x2a39ca,_0x3a6ed2=this[_0x30c929(0x278)]({'from':_0x3f5933,'to':_0x154704});_0x3a6ed2[_0x30c929(0x293)]=_0x6ccc9a,_0x3a6ed2[_0x30c929(0x24c)]=_0x4917d4,_0x3a6ed2['id']=_0x11fef1;const _0x3937f6=this[_0x30c929(0x1b0)](_0x3a6ed2);return this[_0x30c929(0x21f)]&&this[_0x30c929(0x212)](_0x3a6ed2['id'],_0x3a6ed2,!0x0),_0x3937f6;}[_0x2a39ca(0x19b)](){const _0x4fbd41=_0x2a39ca;this[_0x4fbd41(0x28a)][_0x4fbd41(0x21c)][_0x4fbd41(0x1a2)](_0x4fbd41(0x298))[_0x4fbd41(0x217)]({'model':_0x4fbd41(0x262)});}[_0x2a39ca(0x222)](_0x447592){const _0xddf72b=_0x2a39ca;return(_0x447592=_0x447592[_0xddf72b(0x25f)](_0x3e594d=>!_0x3e594d[_0xddf72b(0x293)]||_0xddf72b(0x1f1)!==_0x3e594d[_0xddf72b(0x293)]&&_0xddf72b(0x1eb)!==_0x3e594d[_0xddf72b(0x293)]))[_0xddf72b(0x21d)](_0xe23361=>{const _0x22ec46=_0xddf72b;_0x22ec46(0x1be)!=typeof _0xe23361&&(_0xe23361[_0x22ec46(0x1ec)]=this[_0x22ec46(0x222)](_0xe23361[_0x22ec46(0x1ec)]),_0xe23361[_0x22ec46(0x17f)]=_0xe23361[_0x22ec46(0x17f)][_0x22ec46(0x25f)](_0x406fec=>!_0x406fec[0x0][_0x22ec46(0x213)](_0x22ec46(0x259))));}),_0x447592;}}function P(_0x53a269,_0x5a5552){const _0x5697e4=_0x2a39ca,_0x55a7cd=_0x5a5552[_0x5697e4(0x205)][_0x5697e4(0x17b)][_0x5697e4(0x1dd)];if(_0x5697e4(0x1be)==typeof _0x53a269)return new _0x4fac99(_0x55a7cd,_0x53a269);{const _0x31cae1=_0x53a269[_0x5697e4(0x1ec)][_0x5697e4(0x266)](_0x3bc77a=>P(_0x3bc77a,_0x5a5552));return new(E[_0x53a269[(_0x5697e4(0x20d))]]||_0x51a079)(_0x55a7cd,_0x53a269[_0x5697e4(0x293)],_0x53a269[_0x5697e4(0x17f)],_0x31cae1);}}class V{[_0x2a39ca(0x28a)];[_0x2a39ca(0x1d8)];[_0x2a39ca(0x183)];[_0x2a39ca(0x1ff)];[_0x2a39ca(0x25c)];[_0x2a39ca(0x26c)];[_0x2a39ca(0x18e)];[_0x2a39ca(0x16c)];[_0x2a39ca(0x19e)];[_0x2a39ca(0x257)];[_0x2a39ca(0x272)];[_0x2a39ca(0x291)];[_0x2a39ca(0x1a3)];[_0x2a39ca(0x1f5)];[_0x2a39ca(0x28c)];[_0x2a39ca(0x245)];[_0x2a39ca(0x274)];constructor(_0x46e4b4){const _0x4e6802=_0x2a39ca;this[_0x4e6802(0x28a)]=_0x46e4b4,this[_0x4e6802(0x183)]=new Map(),this[_0x4e6802(0x1ff)]=-0x1,this[_0x4e6802(0x25c)]=-0x1,this[_0x4e6802(0x26c)]=new Map(),this[_0x4e6802(0x18e)]=new Map(),this[_0x4e6802(0x16c)]=new Map(),this[_0x4e6802(0x19e)]=new Map(),this[_0x4e6802(0x257)]=new Map(),this[_0x4e6802(0x272)]=new Map(),this[_0x4e6802(0x291)]=new Map(),this[_0x4e6802(0x1a3)]=new Map(),this[_0x4e6802(0x1f5)]=new Map(),this[_0x4e6802(0x28c)]=new Map(),this[_0x4e6802(0x245)]=0x1;}[_0x2a39ca(0x168)](_0x3d0e23){const _0x503249=_0x2a39ca;this[_0x503249(0x1d8)]=_0x3d0e23;const _0x4e9f9e=new Map(),_0x34d246=new Map(),_0x45131d=this[_0x503249(0x28a)][_0x503249(0x238)][_0x503249(0x1dd)][_0x503249(0x16f)][_0x503249(0x266)](_0x14e318=>_0x14e318[_0x503249(0x282)]);for(const _0x78d97 of _0x45131d){const _0x3bf763=this[_0x503249(0x28a)][_0x503249(0x238)][_0x503249(0x1dd)][_0x503249(0x1aa)](_0x78d97),_0x5c974d=T(_0x3bf763);_0x4e9f9e[_0x503249(0x27d)](_0x78d97,_0x5c974d),_0x34d246[_0x503249(0x27d)](_0x78d97,Object[_0x503249(0x28b)](_0x3bf763[_0x503249(0x218)]()));}const _0x38705b=Array[_0x503249(0x1e9)](this[_0x503249(0x28a)][_0x503249(0x238)][_0x503249(0x1ef)])[_0x503249(0x266)](_0x226dbe=>[_0x226dbe[_0x503249(0x293)],_0x226dbe[_0x503249(0x18a)]()]),_0xc734f=this[_0x503249(0x1d8)][_0x503249(0x167)];this[_0x503249(0x1dc)](_0xc734f,_0x4e9f9e,_0x38705b,_0x34d246),this[_0x503249(0x274)]=this[_0x503249(0x245)];const _0x4c2e6b=new Map(),_0x280028=new Map();for(const _0x372fe7 of _0x45131d){const _0x25b21e=F(_0x372fe7);_0x4c2e6b[_0x503249(0x27d)](_0x372fe7,_0x25b21e),_0x280028[_0x503249(0x27d)](_0x372fe7,{});}this[_0x503249(0x1dc)](Number[_0x503249(0x28d)],_0x4c2e6b,[],_0x280028);}[_0x2a39ca(0x184)](_0x5340a1,_0x1fe4d4){const _0x47cd95=_0x2a39ca;if(this[_0x47cd95(0x1ff)]===_0x5340a1&&this[_0x47cd95(0x25c)]<=_0x1fe4d4)this[_0x47cd95(0x183)][_0x47cd95(0x287)]>0x1&&this[_0x47cd95(0x26f)](this[_0x47cd95(0x25c)]),this[_0x47cd95(0x20f)](this[_0x47cd95(0x25c)],_0x1fe4d4,!0x0);else{if(!this[_0x47cd95(0x183)][_0x47cd95(0x261)](_0x5340a1)){const _0x55389e=this[_0x47cd95(0x206)](_0x5340a1);this[_0x47cd95(0x253)](_0x55389e,_0x5340a1,!0x1);}this[_0x47cd95(0x253)](_0x5340a1,_0x1fe4d4,!0x0);}return this[_0x47cd95(0x1ff)]=_0x5340a1,this[_0x47cd95(0x25c)]=_0x1fe4d4,this[_0x47cd95(0x1e4)]();}[_0x2a39ca(0x230)](_0x32f82f){const _0x3b2629=_0x2a39ca;this[_0x3b2629(0x1bf)](),this[_0x3b2629(0x1ff)]=_0x32f82f[_0x3b2629(0x17e)],this[_0x3b2629(0x25c)]=_0x32f82f[_0x3b2629(0x1f3)];for(const _0x3b4d0c in _0x32f82f[_0x3b2629(0x299)]){const _0x4c1426=_0x32f82f[_0x3b2629(0x299)][_0x3b4d0c][_0x3b2629(0x207)],_0xb8df84=_0x11ac54(_0x32f82f[_0x3b2629(0x299)][_0x3b4d0c][_0x3b2629(0x1e6)])||{},_0x783ce6=this[_0x3b2629(0x21b)](_0x32f82f[_0x3b2629(0x299)][_0x3b4d0c][_0x3b2629(0x1ce)]);_0x783ce6[_0x3b2629(0x282)]=_0x3b4d0c,_0x783ce6[_0x3b2629(0x191)]=!_0x4c1426||!_0x4c1426[_0x3b2629(0x165)],_0x783ce6[_0x3b2629(0x165)]=()=>_0x783ce6[_0x3b2629(0x191)],this[_0x3b2629(0x19e)][_0x3b2629(0x27d)](_0x3b4d0c,_0x783ce6),this[_0x3b2629(0x257)][_0x3b2629(0x27d)](_0x3b4d0c,_0xb8df84),_0x4c1426&&this[_0x3b2629(0x28c)][_0x3b2629(0x27d)](_0x3b4d0c,_0x4c1426);const _0x8630a2=this[_0x3b2629(0x236)](_0x783ce6);this[_0x3b2629(0x291)][_0x3b2629(0x27d)](_0x3b4d0c,_0x8630a2);for(const [_0x5d8fc3,_0x49efdf]of _0x783ce6[_0x3b2629(0x1ef)]){if(!_0x5d8fc3[_0x3b2629(0x213)](_0x3b2629(0x1f6)))continue;const _0x4130a7=_0x5d8fc3[_0x3b2629(0x1c8)](':')[0x2];for(const _0x366b0f of _0x49efdf[_0x3b2629(0x23f)]({'singleCharacters':!0x0})){const _0x1454d8=this[_0x3b2629(0x1e3)](_0x366b0f),_0x27b935=_0x3b2629(0x223)==_0x366b0f[_0x3b2629(0x20d)]?_0x366b0f[_0x3b2629(0x1a4)][_0x3b2629(0x208)][_0x3b2629(0x204)](0x0,-0x1):_0x366b0f[_0x3b2629(0x1a4)][_0x3b2629(0x208)],_0x30f96f=_0x8630a2[_0x3b2629(0x1c3)](_0x27b935)[_0x3b2629(0x1ab)](_0x1454d8);this[_0x3b2629(0x1a3)][_0x3b2629(0x27d)](_0x30f96f,{'userId':_0x4130a7});}}}this[_0x3b2629(0x274)]=this[_0x3b2629(0x245)];const _0x4176a6=[...Array(this[_0x3b2629(0x245)])[_0x3b2629(0x239)]()][_0x3b2629(0x204)](0x1)[_0x3b2629(0x25f)](_0x228209=>!this[_0x3b2629(0x1a3)][_0x3b2629(0x261)](_0x228209));let _0x2757d6=0x0;const _0x260ccc=new Map();for(const _0x36df1f in _0x32f82f[_0x3b2629(0x299)]){const _0x2507dd=_0x32f82f[_0x3b2629(0x299)][_0x36df1f][_0x3b2629(0x207)],_0x3c82ba=_0x11ac54(_0x32f82f[_0x3b2629(0x299)][_0x36df1f][_0x3b2629(0x24d)])||{},_0x3df17d=this[_0x3b2629(0x21b)](_0x32f82f[_0x3b2629(0x299)][_0x36df1f][_0x3b2629(0x22c)]);_0x3df17d[_0x3b2629(0x282)]=_0x36df1f,_0x3df17d[_0x3b2629(0x191)]=!_0x2507dd||_0x2507dd[_0x3b2629(0x165)],_0x3df17d[_0x3b2629(0x165)]=()=>_0x3df17d[_0x3b2629(0x191)],this[_0x3b2629(0x18e)][_0x3b2629(0x27d)](_0x36df1f,_0x3df17d),this[_0x3b2629(0x16c)][_0x3b2629(0x27d)](_0x36df1f,_0x3c82ba);const _0x27c57a=this[_0x3b2629(0x236)](_0x3df17d,Number[_0x3b2629(0x28d)]);this[_0x3b2629(0x272)][_0x3b2629(0x27d)](_0x36df1f,_0x27c57a),_0x260ccc[_0x3b2629(0x27d)](_0x36df1f,_0x3df17d[_0x3b2629(0x165)]()?_0x3c82ba:{});for(const [_0x39020f,_0x2bacb4]of _0x3df17d[_0x3b2629(0x1ef)]){if(!_0x39020f[_0x3b2629(0x213)](_0x3b2629(0x1f6)))continue;const _0x5443f8=_0x39020f[_0x3b2629(0x1c8)](':')[0x2];for(const _0x47a1f2 of _0x2bacb4[_0x3b2629(0x23f)]({'singleCharacters':!0x0})){const _0x40fc07=this[_0x3b2629(0x1e3)](_0x47a1f2),_0x5492b7=this[_0x3b2629(0x245)]++,_0x4b812e=_0x3b2629(0x223)==_0x47a1f2[_0x3b2629(0x20d)]?_0x47a1f2[_0x3b2629(0x1a4)][_0x3b2629(0x208)][_0x3b2629(0x204)](0x0,-0x1):_0x47a1f2[_0x3b2629(0x1a4)][_0x3b2629(0x208)];_0x27c57a[_0x3b2629(0x1c3)](_0x4b812e)[_0x3b2629(0x285)](_0x40fc07,_0x5492b7),this[_0x3b2629(0x1a3)][_0x3b2629(0x27d)](_0x5492b7,{'userId':_0x5443f8});}}for(const _0x4e7c67 of this[_0x3b2629(0x28a)][_0x3b2629(0x238)][_0x3b2629(0x297)](_0x3df17d)[_0x3b2629(0x23f)]({'singleCharacters':!0x0})){const _0x9610a9=this[_0x3b2629(0x1e3)](_0x4e7c67),_0x5f4f82=_0x3b2629(0x223)==_0x4e7c67[_0x3b2629(0x20d)]?_0x4e7c67[_0x3b2629(0x1a4)][_0x3b2629(0x208)][_0x3b2629(0x204)](0x0,-0x1):_0x4e7c67[_0x3b2629(0x1a4)][_0x3b2629(0x208)],_0x88c786=_0x27c57a[_0x3b2629(0x1c3)](_0x5f4f82);_0x88c786[_0x3b2629(0x1ab)](_0x9610a9)>0x0||_0x88c786[_0x3b2629(0x285)](_0x9610a9,_0x4176a6[_0x2757d6++]);}for(const [_0x520728,_0xcd6c3d]of _0x3df17d[_0x3b2629(0x1ef)])_0x520728[_0x3b2629(0x213)](_0x3b2629(0x1f6))||this[_0x3b2629(0x26c)][_0x3b2629(0x27d)](_0x520728,_0xcd6c3d);}const _0x558319=F(_0x3b2629(0x192));this[_0x3b2629(0x19e)][_0x3b2629(0x27d)](_0x3b2629(0x192),_0x558319),this[_0x3b2629(0x291)][_0x3b2629(0x27d)](_0x3b2629(0x192),this[_0x3b2629(0x236)](_0x558319,0x1));const _0x5a1fbc=F(_0x3b2629(0x192));this[_0x3b2629(0x18e)][_0x3b2629(0x27d)](_0x3b2629(0x192),_0x5a1fbc),this[_0x3b2629(0x272)][_0x3b2629(0x27d)](_0x3b2629(0x192),this[_0x3b2629(0x236)](_0x5a1fbc,0x1));const _0x3060c4=Array[_0x3b2629(0x1e9)](this[_0x3b2629(0x18e)])[_0x3b2629(0x266)](([_0x2ebd3c,_0x284eb2])=>[_0x2ebd3c,T(_0x284eb2)]);this[_0x3b2629(0x1dc)](this[_0x3b2629(0x25c)],_0x3060c4,this[_0x3b2629(0x26c)],_0x260ccc);}[_0x2a39ca(0x21b)](_0x64e82f){const _0x195d90=_0x2a39ca,_0x5e1ae1=JSON[_0x195d90(0x185)](_0x64e82f),_0x23545e=this[_0x195d90(0x28a)][_0x195d90(0x205)][_0x195d90(0x17b)][_0x195d90(0x1dd)],_0x189d0d=new _0x9d55c(_0x23545e,_0x5e1ae1[_0x195d90(0x266)](_0xfc6cb9=>P(_0xfc6cb9,this[_0x195d90(0x28a)])));return this[_0x195d90(0x28a)][_0x195d90(0x1ee)][_0x195d90(0x1da)](_0x189d0d);}[_0x2a39ca(0x1dc)](_0x595917,_0x36c8fc,_0x5da48f,_0x2cbac6){const _0x7f906a=_0x2a39ca,_0x43dee8=new Map(_0x36c8fc),_0x323f84=new Map(_0x11ac54(_0x2cbac6)),_0x13f783=new Map();for(const [_0x38f66b,_0x32baa6]of _0x5da48f)_0x13f783[_0x7f906a(0x27d)](_0x38f66b,{'start':_0x32baa6[_0x7f906a(0x15d)][_0x7f906a(0x25e)](),'end':_0x32baa6[_0x7f906a(0x187)][_0x7f906a(0x25e)](),'rootName':_0x32baa6[_0x7f906a(0x270)][_0x7f906a(0x282)]});this[_0x7f906a(0x183)][_0x7f906a(0x27d)](_0x595917,{'roots':_0x43dee8,'markers':_0x13f783,'rootsAttributes':_0x323f84});}[_0x2a39ca(0x26f)](_0x13004e){const _0x1ed385=_0x2a39ca;this[_0x1ed385(0x183)][_0x1ed385(0x247)](_0x13004e);}[_0x2a39ca(0x19a)](){const _0x29a6c2=_0x2a39ca;this[_0x29a6c2(0x1bf)](),this[_0x29a6c2(0x1ff)]=-0x1,this[_0x29a6c2(0x25c)]=-0x1,this[_0x29a6c2(0x183)][_0x29a6c2(0x243)](),this[_0x29a6c2(0x168)](this[_0x29a6c2(0x1d8)]);}[_0x2a39ca(0x1bf)](){const _0x10dd5e=_0x2a39ca;this[_0x10dd5e(0x1a3)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x1f5)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x28c)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x18e)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x16c)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x19e)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x257)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x272)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x291)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x26c)][_0x10dd5e(0x243)](),this[_0x10dd5e(0x245)]=0x1,this[_0x10dd5e(0x274)]=this[_0x10dd5e(0x245)];}[_0x2a39ca(0x236)](_0x15b3ad,_0x3a964c=null){const _0x223a3f=_0x2a39ca;let _0x218748=null;_0x15b3ad['is'](_0x223a3f(0x1df))||(_0x218748=new _0x525d41(_0x15b3ad[_0x223a3f(0x293)],{'vid_start':null===_0x3a964c?this[_0x223a3f(0x245)]++:_0x3a964c++}));const _0x16e482=[];for(const _0x3f837b of _0x15b3ad[_0x223a3f(0x1c0)]())if(_0x3f837b['is'](_0x223a3f(0x216))){_0x16e482[_0x223a3f(0x1ca)](this[_0x223a3f(0x236)](_0x3f837b,_0x3a964c));const _0x161d05=_0x16e482[_0x16e482[_0x223a3f(0x215)]-0x1];null!==_0x3a964c&&(_0x3a964c=_0x161d05['is'](_0x223a3f(0x216),_0x223a3f(0x202))?_0x161d05[_0x223a3f(0x1ab)](_0x223a3f(0x1c7))+0x1:_0x161d05[_0x223a3f(0x1ab)](_0x223a3f(0x220))+0x1);}else{for(let _0x2e4e08=0x0;_0x2e4e08<_0x3f837b[_0x223a3f(0x180)];_0x2e4e08++)_0x16e482[_0x223a3f(0x1ca)](new _0x525d41(_0x223a3f(0x202),{'vid':null===_0x3a964c?this[_0x223a3f(0x245)]++:_0x3a964c++}));}if(_0x15b3ad['is'](_0x223a3f(0x1df))){const _0x4e28e4=F(_0x15b3ad[_0x223a3f(0x282)]);return _0x4e28e4[_0x223a3f(0x254)](0x0,_0x16e482),_0x4e28e4;}return _0x218748[_0x223a3f(0x285)](_0x223a3f(0x220),null===_0x3a964c?this[_0x223a3f(0x245)]++:_0x3a964c++),_0x218748[_0x223a3f(0x254)](0x0,_0x16e482),_0x218748;}[_0x2a39ca(0x253)](_0x3f2f2e,_0x3af728,_0x1c8a2d){const _0xa621b1=_0x2a39ca;this[_0xa621b1(0x1bf)]();const {roots:_0x47c348,markers:_0x30c78a,rootsAttributes:_0x19f682}=this[_0xa621b1(0x183)][_0xa621b1(0x267)](_0x3f2f2e);this[_0xa621b1(0x19e)]=new Map(_0x47c348),this[_0xa621b1(0x257)]=new Map(_0x11ac54(_0x19f682));for(const [_0x5e4818,_0x386a80]of this[_0xa621b1(0x19e)])if(_0xa621b1(0x192)!==_0x5e4818&&(this[_0xa621b1(0x18e)][_0xa621b1(0x27d)](_0x5e4818,T(_0x386a80)),this[_0xa621b1(0x16c)]=new Map(_0x11ac54(_0x19f682)),_0x1c8a2d)){const _0x18a1b=this[_0xa621b1(0x245)];this[_0xa621b1(0x272)][_0xa621b1(0x27d)](_0x5e4818,this[_0xa621b1(0x236)](_0x386a80)),this[_0xa621b1(0x291)][_0xa621b1(0x27d)](_0x5e4818,this[_0xa621b1(0x236)](_0x386a80,_0x18a1b));}this[_0xa621b1(0x274)]=this[_0xa621b1(0x245)],this[_0xa621b1(0x18e)][_0xa621b1(0x27d)](_0xa621b1(0x192),T(this[_0xa621b1(0x19e)][_0xa621b1(0x267)](_0xa621b1(0x192)))),_0x1c8a2d&&this[_0xa621b1(0x272)][_0xa621b1(0x27d)](_0xa621b1(0x192),this[_0xa621b1(0x236)](this[_0xa621b1(0x19e)][_0xa621b1(0x267)](_0xa621b1(0x192))));for(const [_0x19c9b1,_0x118577]of _0x30c78a){const _0x354dd3=this[_0xa621b1(0x19e)][_0xa621b1(0x267)](_0x118577[_0xa621b1(0x282)]),_0x56e75f=this[_0xa621b1(0x18e)][_0xa621b1(0x267)](_0x118577[_0xa621b1(0x282)]),_0x3cd7ac=new _0x1b227b(this[_0xa621b1(0x273)](_0x118577[_0xa621b1(0x15d)],_0x354dd3),this[_0xa621b1(0x273)](_0x118577[_0xa621b1(0x187)],_0x354dd3)),_0x206285=this[_0xa621b1(0x234)](_0x3cd7ac,_0x56e75f);_0x354dd3[_0xa621b1(0x1ef)][_0xa621b1(0x27d)](_0x19c9b1,_0x3cd7ac),this[_0xa621b1(0x26c)][_0xa621b1(0x27d)](_0x19c9b1,_0x206285);}this[_0xa621b1(0x20f)](_0x3f2f2e,_0x3af728,_0x1c8a2d);}[_0x2a39ca(0x20f)](_0x3021f7,_0x55a5fc,_0x16478f){const _0x220057=_0x2a39ca;for(const _0x5067ce of this[_0x220057(0x1d8)][_0x220057(0x169)](_0x3021f7,_0x55a5fc))this[_0x220057(0x175)](_0x5067ce,_0x16478f);for(const _0xd58f4b of this[_0x220057(0x18e)][_0x220057(0x19f)]())_0xd58f4b[_0x220057(0x1ef)][_0x220057(0x243)]();for(const [_0x1b1987,_0x46f56b]of this[_0x220057(0x26c)]){this[_0x220057(0x18e)][_0x220057(0x267)](_0x46f56b[_0x220057(0x270)][_0x220057(0x282)])[_0x220057(0x1ef)][_0x220057(0x27d)](_0x1b1987,_0x46f56b[_0x220057(0x25e)]());}const _0xfb9b54=new Map(),_0x377fdc=new Map();for(const [_0x527597,_0x50a5ab]of this[_0x220057(0x18e)])_0xfb9b54[_0x220057(0x27d)](_0x527597,T(_0x50a5ab)),_0x377fdc[_0x220057(0x27d)](_0x527597,this[_0x220057(0x16c)][_0x220057(0x267)](_0x527597));this[_0x220057(0x1dc)](_0x55a5fc,_0xfb9b54,this[_0x220057(0x26c)],_0x377fdc);}[_0x2a39ca(0x206)](_0x2f8929){const _0x3d15d4=_0x2a39ca,_0x4cdacb=Array[_0x3d15d4(0x1e9)](this[_0x3d15d4(0x183)][_0x3d15d4(0x239)]());_0x4cdacb[_0x3d15d4(0x193)]((_0xdd0105,_0x32cb84)=>_0xdd0105-_0x32cb84),_0x4cdacb[_0x3d15d4(0x1c9)]();for(const _0x25a3d8 of _0x4cdacb)if(_0x25a3d8<_0x2f8929)return _0x25a3d8;return Number[_0x3d15d4(0x28d)];}[_0x2a39ca(0x244)](_0x334cc4,_0x4f6a6a){const _0x56b0b1=_0x2a39ca,_0x12be9b=Array[_0x56b0b1(0x1e9)](_0x4f6a6a[_0x56b0b1(0x1ef)])[_0x56b0b1(0x266)](([_0x30e831,_0x546813])=>[_0x30e831,this[_0x56b0b1(0x234)](_0x546813,_0x334cc4)]);_0x334cc4[_0x56b0b1(0x1ef)]=new Map(_0x12be9b);}[_0x2a39ca(0x189)](_0x409408){const _0x47a668=_0x2a39ca;for(const _0x5bfa01 of this[_0x47a668(0x26c)][_0x47a668(0x19f)]()){const _0x292914=_0x5bfa01[_0x47a668(0x271)](_0x409408),_0x400e13=_0x1b227b[_0x47a668(0x1d7)](_0x292914);_0x5bfa01[_0x47a668(0x15d)]=_0x400e13[_0x47a668(0x15d)],_0x5bfa01[_0x47a668(0x187)]=_0x400e13[_0x47a668(0x187)];}}[_0x2a39ca(0x175)](_0x1aa90d,_0x3bcb76){const _0x301894=_0x2a39ca;if(_0x301894(0x194)!=_0x1aa90d[_0x301894(0x20d)]&&_0x301894(0x18b)!=_0x1aa90d[_0x301894(0x20d)]){if(_0x301894(0x265)==_0x1aa90d[_0x301894(0x20d)]){const _0xaa8e88=_0x1aa90d[_0x301894(0x177)][_0x301894(0x270)][_0x301894(0x282)];this[_0x301894(0x18e)][_0x301894(0x261)](_0xaa8e88)||(this[_0x301894(0x18e)][_0x301894(0x27d)](_0xaa8e88,F(_0xaa8e88,!0x0)),this[_0x301894(0x16c)][_0x301894(0x27d)](_0xaa8e88,{}),_0x3bcb76&&this[_0x301894(0x272)][_0x301894(0x27d)](_0xaa8e88,F(_0xaa8e88,!0x0)));}else{if(_0x301894(0x29d)==_0x1aa90d[_0x301894(0x20d)]||_0x301894(0x1d1)==_0x1aa90d[_0x301894(0x20d)]||_0x301894(0x24a)==_0x1aa90d[_0x301894(0x20d)])return void this[_0x301894(0x179)](_0x1aa90d);_0x301894(0x219)==_0x1aa90d[_0x301894(0x20d)]&&this[_0x301894(0x21e)](_0x1aa90d);}if(_0x301894(0x219)!==_0x1aa90d[_0x301894(0x20d)]){const _0x26515b=this[_0x301894(0x20c)](_0x1aa90d,this[_0x301894(0x18e)]);_0x26515b[_0x301894(0x1a6)](),this[_0x301894(0x189)](_0x26515b);}if(_0x3bcb76)switch(_0x1aa90d[_0x301894(0x20d)]){case _0x301894(0x265):this[_0x301894(0x1a1)](_0x1aa90d);break;case _0x301894(0x1e5):case _0x301894(0x20e):case _0x301894(0x23c):this[_0x301894(0x1b2)](_0x1aa90d);break;case _0x301894(0x1f2):this[_0x301894(0x203)](_0x1aa90d);break;case _0x301894(0x1c8):this[_0x301894(0x199)](_0x1aa90d);}}else this[_0x301894(0x163)](_0x1aa90d,_0x3bcb76);}[_0x2a39ca(0x20c)](_0x40b77e,_0x32ae15){const _0x4ce563=_0x2a39ca,_0x581289=_0x40b77e[_0x4ce563(0x25e)]();return _0x581289[_0x4ce563(0x284)]=_0x40b77e[_0x4ce563(0x284)],this[_0x4ce563(0x258)](_0x581289,_0x32ae15),_0x581289;}[_0x2a39ca(0x1f9)](_0x2f3c5d){const _0x3d2a8a=_0x2a39ca;return _0x2f3c5d[_0x3d2a8a(0x266)](_0x596dd5=>{const _0x5893f8=_0x3d2a8a,_0x131da4=this[_0x5893f8(0x1e3)](_0x596dd5);return Number(_0x596dd5[_0x5893f8(0x1b3)][_0x5893f8(0x1ab)](_0x131da4));});}[_0x2a39ca(0x283)](_0x51b52c,_0xd820b0){const _0x36fe54=_0x2a39ca;if(_0x51b52c['is'](_0x36fe54(0x216),_0x36fe54(0x202)))_0xd820b0[_0x36fe54(0x1ca)]({'item':_0x51b52c,'type':_0x36fe54(0x1ad)});else{_0x51b52c['is'](_0x36fe54(0x216))&&_0xd820b0[_0x36fe54(0x1ca)]({'item':_0x51b52c,'type':_0x36fe54(0x1b8)});for(const _0xa42a39 of _0x51b52c[_0x36fe54(0x1c0)]())this[_0x36fe54(0x283)](_0xa42a39,_0xd820b0);_0x51b52c['is'](_0x36fe54(0x216))&&_0xd820b0[_0x36fe54(0x1ca)]({'item':_0x51b52c,'type':_0x36fe54(0x223)});}return _0xd820b0;}[_0x2a39ca(0x1e4)](){const _0x1cbac6=_0x2a39ca,_0x51dd27=new Map(this[_0x1cbac6(0x1a3)]),_0x18a046=new Map(_0x51dd27),_0x2d6622=new Map(),_0x56a08f={'insertions':{},'deletions':{}},_0x58e0c4={'insertions':{},'deletions':{}},_0x17c87a=new Map(),_0x4282ec=new Set([...this[_0x1cbac6(0x19e)][_0x1cbac6(0x239)](),...this[_0x1cbac6(0x18e)][_0x1cbac6(0x239)]()]);_0x4282ec[_0x1cbac6(0x247)](_0x1cbac6(0x192));for(const _0x10e5fa of _0x4282ec){const _0x5acbc2=this[_0x1cbac6(0x18e)][_0x1cbac6(0x267)](_0x10e5fa)||F(_0x10e5fa,!0x1),_0xfeabfc=this[_0x1cbac6(0x19e)][_0x1cbac6(0x267)](_0x10e5fa)||F(_0x10e5fa,!0x1);_0x5acbc2[_0x1cbac6(0x165)]()||_0xfeabfc[_0x1cbac6(0x165)]()?(_0x56a08f[_0x1cbac6(0x22c)][_0x10e5fa]=T(_0x5acbc2),_0x56a08f[_0x1cbac6(0x1ce)][_0x10e5fa]=T(_0xfeabfc),this[_0x1cbac6(0x244)](_0x56a08f[_0x1cbac6(0x1ce)][_0x10e5fa],_0xfeabfc),this[_0x1cbac6(0x244)](_0x56a08f[_0x1cbac6(0x22c)][_0x10e5fa],_0x5acbc2),_0x58e0c4[_0x1cbac6(0x22c)][_0x10e5fa]=this[_0x1cbac6(0x283)](this[_0x1cbac6(0x272)][_0x1cbac6(0x267)](_0x10e5fa),[]),_0x58e0c4[_0x1cbac6(0x1ce)][_0x10e5fa]=this[_0x1cbac6(0x283)](this[_0x1cbac6(0x291)][_0x1cbac6(0x267)](_0x10e5fa)||F(_0x10e5fa,!0x1),[])):_0x4282ec[_0x1cbac6(0x247)](_0x10e5fa);}for(const _0x1987ac of _0x4282ec){const _0x2c81f3=_0x58e0c4[_0x1cbac6(0x22c)][_0x1987ac];for(const _0x4ce9e0 of _0x2c81f3){const _0xf28d4e=this[_0x1cbac6(0x1e3)](_0x4ce9e0),_0x53c20f=_0x4ce9e0[_0x1cbac6(0x1b3)][_0x1cbac6(0x1ab)](_0xf28d4e);_0x18a046[_0x1cbac6(0x247)](_0x53c20f),_0x53c20f>=this[_0x1cbac6(0x274)]&&_0x2d6622[_0x1cbac6(0x27d)](_0x53c20f,_0x51dd27[_0x1cbac6(0x267)](_0x53c20f));}}for(const _0xe9d90c of _0x4282ec){const _0x195321=_0x58e0c4[_0x1cbac6(0x22c)][_0xe9d90c],_0x23aa59=this[_0x1cbac6(0x1f9)](_0x58e0c4[_0x1cbac6(0x1ce)][_0xe9d90c]);let _0x436062=0x0;for(const _0xe4cc54 of _0x195321){const _0x52b269=this[_0x1cbac6(0x1e3)](_0xe4cc54),_0x81aa96=_0xe4cc54[_0x1cbac6(0x1b3)][_0x1cbac6(0x1ab)](_0x52b269);if(!_0x2d6622[_0x1cbac6(0x261)](_0x81aa96)&&!_0x17c87a[_0x1cbac6(0x261)](_0x81aa96)){if(_0x18a046[_0x1cbac6(0x261)](_0x81aa96))_0x436062++;else{if(_0x81aa96!=_0x23aa59[_0x436062]){const _0x1ecf41=_0x51dd27[_0x1cbac6(0x267)](_0x81aa96)||_0x51dd27[_0x1cbac6(0x267)](_0x23aa59[_0x436062]);for(;_0x81aa96!=_0x23aa59[_0x436062];)_0x18a046[_0x1cbac6(0x261)](_0x23aa59[_0x436062])||(_0x17c87a[_0x1cbac6(0x27d)](_0x23aa59[_0x436062],_0x1ecf41),_0x51dd27[_0x1cbac6(0x27d)](_0x23aa59[_0x436062],_0x1ecf41)),_0x436062++;}_0x436062++;}}}}for(const _0x3d8eb0 of _0x4282ec){const _0x4699fd=_0x58e0c4[_0x1cbac6(0x22c)][_0x3d8eb0];for(const _0x392915 of _0x4699fd){const _0x24a60b=this[_0x1cbac6(0x1e3)](_0x392915),_0x415610=_0x392915[_0x1cbac6(0x1b3)][_0x1cbac6(0x1ab)](_0x24a60b);if(_0x17c87a[_0x1cbac6(0x261)](_0x415610)){const _0x4a9d80=_0x17c87a[_0x1cbac6(0x267)](_0x415610);_0x18a046[_0x1cbac6(0x261)](_0x415610)||_0x18a046[_0x1cbac6(0x27d)](_0x415610,{..._0x4a9d80}),_0x2d6622[_0x1cbac6(0x27d)](_0x415610,{..._0x4a9d80});}}}for(const _0x5ba114 of _0x18a046[_0x1cbac6(0x239)]())_0x5ba114>=this[_0x1cbac6(0x274)]&&_0x18a046[_0x1cbac6(0x247)](_0x5ba114);const _0x574d88=new Map();for(const _0x5f5826 of _0x4282ec){let _0x1fef00=_0x58e0c4[_0x1cbac6(0x22c)][_0x5f5826];for(const _0x2ddf89 of _0x1fef00)if(_0x2ddf89[_0x1cbac6(0x1b3)]['is'](_0x1cbac6(0x216),_0x1cbac6(0x1f7))){const _0x17e4de=this[_0x1cbac6(0x1e3)](_0x2ddf89),_0x33ea80=_0x2ddf89[_0x1cbac6(0x1b3)][_0x1cbac6(0x1ab)](_0x17e4de);if(_0x2d6622[_0x1cbac6(0x261)](_0x33ea80)){const _0x52fcaf=_0x2ddf89[_0x1cbac6(0x1b3)][_0x1cbac6(0x186)][_0x1cbac6(0x186)][_0x1cbac6(0x1ab)](_0x1cbac6(0x1ed)),_0x1e70c3=_0x574d88[_0x1cbac6(0x267)](_0x52fcaf)||new Set();_0x1e70c3[_0x1cbac6(0x24e)](_0x2d6622[_0x1cbac6(0x267)](_0x33ea80)[_0x1cbac6(0x1ae)]),_0x574d88[_0x1cbac6(0x27d)](_0x52fcaf,_0x1e70c3);}}_0x1fef00=_0x58e0c4[_0x1cbac6(0x1ce)][_0x5f5826];for(const _0x4f2e75 of _0x1fef00)if(_0x4f2e75[_0x1cbac6(0x1b3)]['is'](_0x1cbac6(0x216),_0x1cbac6(0x1f7))){const _0x150b3d=this[_0x1cbac6(0x1e3)](_0x4f2e75),_0x50d1ff=_0x4f2e75[_0x1cbac6(0x1b3)][_0x1cbac6(0x1ab)](_0x150b3d);if(_0x18a046[_0x1cbac6(0x261)](_0x50d1ff)){const _0x358b6d=_0x4f2e75[_0x1cbac6(0x1b3)][_0x1cbac6(0x186)][_0x1cbac6(0x186)][_0x1cbac6(0x1ab)](_0x1cbac6(0x1ed)),_0x1d86a5=_0x574d88[_0x1cbac6(0x267)](_0x358b6d)||new Set();_0x1d86a5[_0x1cbac6(0x24e)](_0x18a046[_0x1cbac6(0x267)](_0x50d1ff)[_0x1cbac6(0x1ae)]),_0x574d88[_0x1cbac6(0x27d)](_0x358b6d,_0x1d86a5);}}for(const _0x4d5f6c of _0x574d88[_0x1cbac6(0x239)]())(_0x2d6622[_0x1cbac6(0x261)](_0x4d5f6c)||_0x18a046[_0x1cbac6(0x261)](_0x4d5f6c))&&_0x574d88[_0x1cbac6(0x247)](_0x4d5f6c);}for(const _0x314201 of _0x4282ec){const _0x28ea9a=_0x58e0c4[_0x1cbac6(0x22c)][_0x314201];let _0x2fdfb2=null,_0x41e940=null;for(const _0x1d68dd of _0x28ea9a){const _0x4c1107=this[_0x1cbac6(0x1e3)](_0x1d68dd),_0xfa3acd=_0x1d68dd[_0x1cbac6(0x1b3)][_0x1cbac6(0x1ab)](_0x4c1107),_0x51ff4c=_0x574d88[_0x1cbac6(0x267)](_0xfa3acd);_0x51ff4c&&_0x1cbac6(0x1b8)==_0x1d68dd[_0x1cbac6(0x20d)]&&(_0x2fdfb2=Array[_0x1cbac6(0x1e9)](_0x51ff4c)[0x0],_0x41e940=_0x1d68dd[_0x1cbac6(0x1b3)][_0x1cbac6(0x1ab)](_0x1cbac6(0x220))),_0x2fdfb2&&(_0x18a046[_0x1cbac6(0x27d)](_0xfa3acd,{'userId':_0x2fdfb2}),_0x2d6622[_0x1cbac6(0x27d)](_0xfa3acd,{'userId':_0x2fdfb2})),_0xfa3acd==_0x41e940&&(_0x2fdfb2=null,_0x41e940=null);}}const _0x5af3b9={},_0x4619c9=new Set();for(const _0x3fbba8 of _0x4282ec){const _0x29ecff=_0x56a08f[_0x1cbac6(0x1ce)][_0x3fbba8],_0x5a1550=_0x56a08f[_0x1cbac6(0x22c)][_0x3fbba8];for(const {userId:_0x40da5a}of this[_0x1cbac6(0x1f5)][_0x1cbac6(0x19f)]())null!==_0x40da5a&&_0x4619c9[_0x1cbac6(0x24e)](_0x40da5a);for(const {userId:_0x5a2bae}of this[_0x1cbac6(0x28c)][_0x1cbac6(0x19f)]())null!==_0x5a2bae&&_0x4619c9[_0x1cbac6(0x24e)](_0x5a2bae);this[_0x1cbac6(0x280)](_0x5a1550,_0x58e0c4[_0x1cbac6(0x22c)][_0x3fbba8],_0x2d6622,_0x1cbac6(0x1cc),_0x4619c9),this[_0x1cbac6(0x280)](_0x29ecff,_0x58e0c4[_0x1cbac6(0x1ce)][_0x3fbba8],_0x18a046,_0x1cbac6(0x292),_0x4619c9),_0x5af3b9[_0x3fbba8]={'insertions':this[_0x1cbac6(0x1fb)](_0x5a1550),'deletions':this[_0x1cbac6(0x1fb)](_0x29ecff),'attachChange':this[_0x1cbac6(0x28c)][_0x1cbac6(0x267)](_0x3fbba8)||null,'attributesBefore':_0x11ac54(this[_0x1cbac6(0x257)][_0x1cbac6(0x267)](_0x3fbba8))||{},'attributesAfter':_0x11ac54(this[_0x1cbac6(0x16c)][_0x1cbac6(0x267)](_0x3fbba8))};}return{'diffData':_0x5af3b9,'authorsIds':Array[_0x1cbac6(0x1e9)](_0x4619c9)};}[_0x2a39ca(0x18d)](_0xd5e694){const _0x5afca8=_0x2a39ca;for(const [,_0x33042d]of _0xd5e694[_0x5afca8(0x1ef)]){const _0x3c33f3=_0x33042d[_0x5afca8(0x15d)][_0x5afca8(0x27f)]()[_0x5afca8(0x25f)](_0x4fc5c0=>_0x5afca8(0x1f7)==_0x4fc5c0[_0x5afca8(0x293)]);for(const _0x370c1d of _0x3c33f3)0x1==_0x370c1d[_0x5afca8(0x1b5)]&&_0x370c1d[_0x5afca8(0x25d)](0x0)['is'](_0x5afca8(0x216),_0x5afca8(0x17a))&&_0x370c1d[_0x5afca8(0x25d)](0x0)[_0x5afca8(0x285)](_0x5afca8(0x1f0),!0x0);}}[_0x2a39ca(0x1fb)](_0x887557){const _0x2bab46=_0x2a39ca;this[_0x2bab46(0x18d)](_0x887557);const _0x254d6a=this[_0x2bab46(0x28a)][_0x2bab46(0x1ee)][_0x2bab46(0x198)](_0x887557,{}),_0x4b8488=Array[_0x2bab46(0x1e9)](_0x254d6a[_0x2bab46(0x1c0)]())[_0x2bab46(0x266)](_0x5408db=>this[_0x2bab46(0x25a)](_0x5408db));return JSON[_0x2bab46(0x29b)](_0x4b8488);}[_0x2a39ca(0x25a)](_0x1bb274){const _0xa87b7a=_0x2a39ca;if(_0x1bb274['is'](_0xa87b7a(0x202)))return _0x1bb274[_0xa87b7a(0x1ee)];{const _0x59a89e=_0x1bb274;return{'type':Object[_0xa87b7a(0x239)](E)[_0xa87b7a(0x1db)](_0x43da90=>_0x1bb274 instanceof E[_0x43da90]),'name':_0x59a89e[_0xa87b7a(0x293)],'attributes':Array[_0xa87b7a(0x1e9)](_0x59a89e[_0xa87b7a(0x218)]()),'children':Array[_0xa87b7a(0x1e9)](_0x59a89e[_0xa87b7a(0x1c0)]())[_0xa87b7a(0x266)](_0x48a1ff=>this[_0xa87b7a(0x25a)](_0x48a1ff))};}}[_0x2a39ca(0x280)](_0x3a20f6,_0x1183b7,_0x24fe54,_0x2d8fa0,_0x12c98e){const _0x4d0568=_0x2a39ca;let _0x5a945c=null,_0x38c815=null,_0xeedeba=0x0;const _0x4134e7=this[_0x4d0568(0x28a)][_0x4d0568(0x238)];for(let _0x4d222f=0x0;_0x4d222f<_0x1183b7[_0x4d0568(0x215)];_0x4d222f++){const _0xaffde4=this[_0x4d0568(0x1e3)](_0x1183b7[_0x4d222f]),_0x5e4f1f=_0x1183b7[_0x4d222f][_0x4d0568(0x1b3)][_0x4d0568(0x1ab)](_0xaffde4),_0x464196=_0x24fe54[_0x4d0568(0x267)](_0x5e4f1f),_0x1cb6a0=_0x4d222f==_0x1183b7[_0x4d0568(0x215)]-0x1;(!_0x5a945c&&_0x464196&&(_0x5a945c=_0x464196,_0x38c815=_0x1183b7[_0x4d222f]),_0x5a945c&&(!_0x464196||_0x464196[_0x4d0568(0x1ae)]!=_0x5a945c[_0x4d0568(0x1ae)]))&&(_0x1fa8ac(_0x464196,B(_0x38c815,_0x3a20f6,_0x4134e7),B(_0x1183b7[_0x4d222f],_0x3a20f6,_0x4134e7)),_0x5a945c=_0x464196||null,_0x38c815=_0x464196?_0x1183b7[_0x4d222f]:null),_0x5a945c&&_0x1cb6a0&&_0x1fa8ac(_0x464196,B(_0x38c815,_0x3a20f6,_0x4134e7),J(_0x1183b7[_0x4d222f],_0x3a20f6,_0x4134e7));}function _0x1fa8ac(_0x4ab864,_0x1271d3,_0xf7885){const _0x19c42f=_0x4d0568,_0xecde13=_0x5a945c[_0x19c42f(0x1ae)],_0x278908=_0x19c42f(0x1f6)+_0x2d8fa0+':'+_0xecde13+':'+_0xeedeba++,_0xd81ba2=_0x4134e7[_0x19c42f(0x227)](_0x1271d3,_0xf7885);_0x3a20f6[_0x19c42f(0x1ef)][_0x19c42f(0x27d)](_0x278908,_0xd81ba2),null!==_0xecde13&&_0x12c98e[_0x19c42f(0x24e)](_0xecde13);}}[_0x2a39ca(0x1e3)](_0xe7091){const _0x4d9446=_0x2a39ca;switch(_0xe7091[_0x4d9446(0x20d)]){case _0x4d9446(0x1b8):return _0x4d9446(0x1ed);case _0x4d9446(0x223):return _0x4d9446(0x220);default:return _0x4d9446(0x1c7);}}[_0x2a39ca(0x258)](_0x118fa8,_0x53e808){const _0x6be8fa=_0x2a39ca;_0x118fa8[_0x6be8fa(0x23a)]=null;for(const _0x5335ff in _0x118fa8){const _0x156905=_0x118fa8[_0x5335ff];if(_0x156905 instanceof _0x327265){const _0x2f89a4=_0x53e808[_0x6be8fa(0x267)](_0x156905[_0x6be8fa(0x270)][_0x6be8fa(0x282)]);_0x118fa8[_0x5335ff]=this[_0x6be8fa(0x273)](_0x156905,_0x2f89a4);}if(_0x156905 instanceof _0x1b227b){const _0x278abd=_0x53e808[_0x6be8fa(0x267)](_0x156905[_0x6be8fa(0x270)][_0x6be8fa(0x282)]);_0x118fa8[_0x5335ff]=this[_0x6be8fa(0x234)](_0x156905,_0x278abd);}_0x6be8fa(0x270)===_0x5335ff&&(_0x118fa8[_0x6be8fa(0x270)]=_0x53e808[_0x6be8fa(0x267)](_0x118fa8[_0x6be8fa(0x270)][_0x6be8fa(0x282)]));}}[_0x2a39ca(0x234)](_0x36f51e,_0x5b3031){const _0x21d889=_0x2a39ca;return this[_0x21d889(0x28a)][_0x21d889(0x238)][_0x21d889(0x227)](this[_0x21d889(0x273)](_0x36f51e[_0x21d889(0x15d)],_0x5b3031),this[_0x21d889(0x273)](_0x36f51e[_0x21d889(0x187)],_0x5b3031));}[_0x2a39ca(0x273)](_0x2ce0dc,_0x18b00e){const _0x3969b4=_0x2a39ca;return this[_0x3969b4(0x28a)][_0x3969b4(0x238)][_0x3969b4(0x17c)](_0x18b00e,_0x2ce0dc[_0x3969b4(0x208)],_0x2ce0dc[_0x3969b4(0x188)]);}[_0x2a39ca(0x1a1)](_0x218baa){const _0x2b72c2=_0x2a39ca,_0x2b458d=this[_0x2b72c2(0x272)][_0x2b72c2(0x267)](_0x218baa[_0x2b72c2(0x177)][_0x2b72c2(0x270)][_0x2b72c2(0x282)]),_0x5b715e=this[_0x2b72c2(0x273)](_0x218baa[_0x2b72c2(0x177)],_0x2b458d),_0x5dfde4=null===_0x218baa[_0x2b72c2(0x284)]?null:_0x218baa[_0x2b72c2(0x284)]||this[_0x2b72c2(0x28a)][_0x2b72c2(0x286)][_0x2b72c2(0x267)](_0x2b72c2(0x1b4))['me']['id'],_0x1d4dce=_0x5b715e[_0x2b72c2(0x186)],_0x1a2d43=this[_0x2b72c2(0x245)],_0x103b36=[];for(const _0x280f02 of _0x218baa[_0x2b72c2(0x269)])if(_0x280f02['is'](_0x2b72c2(0x216)))_0x103b36[_0x2b72c2(0x1ca)](this[_0x2b72c2(0x236)](_0x280f02));else{for(let _0x3a3184=0x0;_0x3a3184<_0x280f02[_0x2b72c2(0x180)];_0x3a3184++)_0x103b36[_0x2b72c2(0x1ca)](new _0x525d41(_0x2b72c2(0x202),{'vid':this[_0x2b72c2(0x245)]++}));}const _0x511858=this[_0x2b72c2(0x245)];for(let _0x5537c4=_0x1a2d43;_0x5537c4<_0x511858;_0x5537c4++)this[_0x2b72c2(0x1a3)][_0x2b72c2(0x27d)](_0x5537c4,{'userId':_0x5dfde4});_0x1d4dce[_0x2b72c2(0x254)](_0x5b715e[_0x2b72c2(0x210)],_0x103b36);}[_0x2a39ca(0x1b2)](_0x3179af){const _0x5510d2=_0x2a39ca;(_0x3179af=this[_0x5510d2(0x20c)](_0x3179af,this[_0x5510d2(0x272)]))[_0x5510d2(0x1a6)]();const _0xab7127=null===_0x3179af[_0x5510d2(0x284)]?null:_0x3179af[_0x5510d2(0x284)]||this[_0x5510d2(0x28a)][_0x5510d2(0x286)][_0x5510d2(0x267)](_0x5510d2(0x1b4))['me']['id'],_0x34c79e=_0x3179af[_0x5510d2(0x279)](),_0x4d16bf=_0x34c79e[_0x5510d2(0x186)],_0x26a086=_0x34c79e[_0x5510d2(0x210)];!function _0x509bec(_0x1b687c,_0x453e70,_0x364cb9,_0x5ab591){const _0x550bfb=_0x5510d2;for(let _0x471144=_0x364cb9;_0x471144<_0x5ab591;_0x471144++){const _0x271fe3=_0x453e70[_0x550bfb(0x25d)](_0x471144);_0x271fe3['is'](_0x550bfb(0x216),_0x550bfb(0x202))?_0x1b687c[_0x550bfb(0x27d)](_0x271fe3[_0x550bfb(0x1ab)](_0x550bfb(0x1c7)),{'userId':_0xab7127}):(_0x1b687c[_0x550bfb(0x27d)](_0x271fe3[_0x550bfb(0x1ab)](_0x550bfb(0x1ed)),{'userId':_0xab7127}),_0x509bec(_0x1b687c,_0x271fe3,0x0,_0x271fe3[_0x550bfb(0x1b5)]),_0x1b687c[_0x550bfb(0x27d)](_0x271fe3[_0x550bfb(0x1ab)](_0x550bfb(0x220)),{'userId':_0xab7127}));}}(this[_0x5510d2(0x1a3)],_0x4d16bf,_0x26a086,_0x26a086+_0x3179af[_0x5510d2(0x22e)]);}[_0x2a39ca(0x203)](_0x3c175f){const _0x205daa=_0x2a39ca,_0x277e19=null===(_0x3c175f=this[_0x205daa(0x20c)](_0x3c175f,this[_0x205daa(0x272)]))[_0x205daa(0x284)]?null:_0x3c175f[_0x205daa(0x284)]||this[_0x205daa(0x28a)][_0x205daa(0x286)][_0x205daa(0x267)](_0x205daa(0x1b4))['me']['id'],_0x362034=_0x3c175f[_0x205daa(0x289)][_0x205daa(0x186)],_0x3afed2=_0x3c175f[_0x205daa(0x1e7)][_0x205daa(0x186)],_0x2ebd95=_0x362034[_0x205daa(0x1ab)](_0x205daa(0x220)),_0x334990=_0x3afed2[_0x205daa(0x1ab)](_0x205daa(0x1ed));_0x362034[_0x205daa(0x285)](_0x205daa(0x220),_0x3afed2[_0x205daa(0x1ab)](_0x205daa(0x220))),_0x3afed2[_0x205daa(0x285)](_0x205daa(0x220),_0x2ebd95),this[_0x205daa(0x1a3)][_0x205daa(0x27d)](_0x334990,{'userId':_0x277e19}),this[_0x205daa(0x1a3)][_0x205daa(0x27d)](_0x2ebd95,{'userId':_0x277e19}),_0x3c175f[_0x205daa(0x1a6)]();}[_0x2a39ca(0x199)](_0x1f531f){const _0x3c9b64=_0x2a39ca,_0x2d25e2=null===(_0x1f531f=this[_0x3c9b64(0x20c)](_0x1f531f,this[_0x3c9b64(0x272)]))[_0x3c9b64(0x284)]?null:_0x1f531f[_0x3c9b64(0x284)]||this[_0x3c9b64(0x28a)][_0x3c9b64(0x286)][_0x3c9b64(0x267)](_0x3c9b64(0x1b4))['me']['id'],_0x2cd6fa=_0x1f531f[_0x3c9b64(0x1c6)],_0xa8f358=_0x1f531f[_0x3c9b64(0x160)][_0x3c9b64(0x186)];_0x1f531f[_0x3c9b64(0x1a6)]();const _0x203cbf=_0xa8f358[_0x3c9b64(0x1ab)](_0x3c9b64(0x220)),_0x1fb67a=_0x1f531f[_0x3c9b64(0x164)][_0x3c9b64(0x263)];if(_0x2cd6fa){const _0x5df7cd=_0x1fb67a[_0x3c9b64(0x1ab)](_0x3c9b64(0x220)),_0x3ada06=_0xa8f358[_0x3c9b64(0x1ab)](_0x3c9b64(0x220));_0xa8f358[_0x3c9b64(0x285)](_0x3c9b64(0x220),_0x5df7cd),_0x1fb67a[_0x3c9b64(0x285)](_0x3c9b64(0x220),_0x3ada06),this[_0x3c9b64(0x1a3)][_0x3c9b64(0x27d)](_0xa8f358[_0x3c9b64(0x1ab)](_0x3c9b64(0x220)),{'userId':_0x2d25e2}),this[_0x3c9b64(0x1a3)][_0x3c9b64(0x27d)](_0x1fb67a[_0x3c9b64(0x1ab)](_0x3c9b64(0x1ed)),{'userId':_0x2d25e2});}else{const _0x3f5b88=this[_0x3c9b64(0x245)]++,_0x589bb8=this[_0x3c9b64(0x245)]++;_0xa8f358[_0x3c9b64(0x285)](_0x3c9b64(0x220),_0x3f5b88),_0x1fb67a[_0x3c9b64(0x285)](_0x3c9b64(0x1ed),_0x589bb8),_0x1fb67a[_0x3c9b64(0x285)](_0x3c9b64(0x220),_0x203cbf),this[_0x3c9b64(0x1a3)][_0x3c9b64(0x27d)](_0x3f5b88,{'userId':_0x2d25e2}),this[_0x3c9b64(0x1a3)][_0x3c9b64(0x27d)](_0x589bb8,{'userId':_0x2d25e2});}}[_0x2a39ca(0x21e)](_0x14fc35){const _0x3cc564=_0x2a39ca;if(!_0x14fc35[_0x3cc564(0x268)])return;const _0x5404c4=(_0x14fc35=this[_0x3cc564(0x20c)](_0x14fc35,this[_0x3cc564(0x18e)]))[_0x3cc564(0x15f)]?_0x14fc35[_0x3cc564(0x15f)][_0x3cc564(0x270)]:null,_0x4dc93b=_0x14fc35[_0x3cc564(0x1d4)]?_0x14fc35[_0x3cc564(0x1d4)][_0x3cc564(0x270)]:null;_0x5404c4&&this[_0x3cc564(0x26c)][_0x3cc564(0x247)](_0x14fc35[_0x3cc564(0x293)]),_0x4dc93b&&this[_0x3cc564(0x26c)][_0x3cc564(0x27d)](_0x14fc35[_0x3cc564(0x293)],_0x14fc35[_0x3cc564(0x1d4)][_0x3cc564(0x25e)]());const _0xa2e8f4=null===_0x14fc35[_0x3cc564(0x284)]?null:_0x14fc35[_0x3cc564(0x284)]||this[_0x3cc564(0x28a)][_0x3cc564(0x286)][_0x3cc564(0x267)](_0x3cc564(0x1b4))['me']['id'],_0x40399b=_0x14fc35[_0x3cc564(0x293)];if(!this[_0x3cc564(0x1f5)][_0x3cc564(0x261)](_0x40399b))return void this[_0x3cc564(0x1f5)][_0x3cc564(0x27d)](_0x40399b,{'range':_0x14fc35[_0x3cc564(0x15f)],'userId':_0xa2e8f4});const _0x165b2e=this[_0x3cc564(0x1f5)][_0x3cc564(0x267)](_0x40399b),_0x3b07e6=_0x165b2e[_0x3cc564(0x1a0)],_0x4ca92f=_0x14fc35[_0x3cc564(0x1d4)];null==_0x3b07e6&&null==_0x4ca92f||_0x3b07e6&&_0x4ca92f&&_0x3b07e6[_0x3cc564(0x1f8)](_0x4ca92f)?this[_0x3cc564(0x1f5)][_0x3cc564(0x247)](_0x14fc35[_0x3cc564(0x293)]):_0x165b2e[_0x3cc564(0x1ae)]=_0xa2e8f4;}[_0x2a39ca(0x163)](_0x48c303,_0x8ea71f){const _0x3e29dc=_0x2a39ca;this[_0x3e29dc(0x18e)][_0x3e29dc(0x261)](_0x48c303[_0x3e29dc(0x282)])?this[_0x3e29dc(0x18e)][_0x3e29dc(0x267)](_0x48c303[_0x3e29dc(0x282)])[_0x3e29dc(0x191)]=_0x48c303[_0x3e29dc(0x28e)]:(this[_0x3e29dc(0x18e)][_0x3e29dc(0x27d)](_0x48c303[_0x3e29dc(0x282)],F(_0x48c303[_0x3e29dc(0x282)],!0x0)),this[_0x3e29dc(0x16c)][_0x3e29dc(0x27d)](_0x48c303[_0x3e29dc(0x282)],{}),_0x8ea71f&&this[_0x3e29dc(0x272)][_0x3e29dc(0x27d)](_0x48c303[_0x3e29dc(0x282)],F(_0x48c303[_0x3e29dc(0x282)],!0x0)));const _0x9eb578=null===_0x48c303[_0x3e29dc(0x284)]?null:_0x48c303[_0x3e29dc(0x284)]||this[_0x3e29dc(0x28a)][_0x3e29dc(0x286)][_0x3e29dc(0x267)](_0x3e29dc(0x1b4))['me']['id'],_0x4a5f79=this[_0x3e29dc(0x28c)][_0x3e29dc(0x267)](_0x48c303[_0x3e29dc(0x282)]);_0x4a5f79&&_0x4a5f79[_0x3e29dc(0x1ae)]===_0x9eb578?this[_0x3e29dc(0x28c)][_0x3e29dc(0x247)](_0x48c303[_0x3e29dc(0x282)]):this[_0x3e29dc(0x28c)][_0x3e29dc(0x27d)](_0x48c303[_0x3e29dc(0x282)],{'userId':_0x9eb578,'isAttached':_0x48c303[_0x3e29dc(0x28e)]});}[_0x2a39ca(0x179)](_0x2abfb3){const _0x4767a8=_0x2a39ca,_0x410c14=this[_0x4767a8(0x16c)][_0x4767a8(0x267)](_0x2abfb3[_0x4767a8(0x270)][_0x4767a8(0x282)]);null===_0x2abfb3[_0x4767a8(0x16a)]?delete _0x410c14[_0x2abfb3[_0x4767a8(0x27a)]]:_0x410c14[_0x2abfb3[_0x4767a8(0x27a)]]=_0x2abfb3[_0x4767a8(0x16a)];}}function T(_0x248ae6){const _0x453fe2=_0x2a39ca,_0x53009b=F(_0x248ae6[_0x453fe2(0x282)],_0x248ae6[_0x453fe2(0x165)]());for(const _0x2cabf5 of _0x248ae6[_0x453fe2(0x1c0)]()){const _0x36dede=_0x2cabf5[_0x453fe2(0x221)](!0x0);_0x53009b[_0x453fe2(0x27c)](_0x36dede);}return _0x53009b;}function F(_0x4a89b7,_0x25c13b=!0x0){const _0x485801=_0x2a39ca,_0x5f30cf=new _0x172268();return _0x5f30cf[_0x485801(0x282)]=_0x4a89b7,_0x5f30cf[_0x485801(0x191)]=_0x25c13b,_0x5f30cf[_0x485801(0x165)]=()=>_0x5f30cf[_0x485801(0x191)],_0x5f30cf;}function B(_0x21e9fe,_0x5407ef,_0x3c814a){const _0x54c811=_0x2a39ca,_0x168990=_0x54c811(0x223)==_0x21e9fe[_0x54c811(0x20d)]?_0x3c814a[_0x54c811(0x23d)](_0x21e9fe[_0x54c811(0x1b3)],_0x54c811(0x187)):_0x3c814a[_0x54c811(0x233)](_0x21e9fe[_0x54c811(0x1b3)]);return _0x3c814a[_0x54c811(0x17c)](_0x5407ef,_0x168990[_0x54c811(0x208)],_0x168990[_0x54c811(0x188)]);}function J(_0x5d5e14,_0xeabf96,_0x217aaf){const _0x50f3de=_0x2a39ca,_0x11c5c6=_0x50f3de(0x1b8)==_0x5d5e14[_0x50f3de(0x20d)]?_0x217aaf[_0x50f3de(0x23d)](_0x5d5e14[_0x50f3de(0x1b3)],0x0):_0x217aaf[_0x50f3de(0x23b)](_0x5d5e14[_0x50f3de(0x1b3)]);return _0x217aaf[_0x50f3de(0x17c)](_0xeabf96,_0x11c5c6[_0x50f3de(0x208)],_0x11c5c6[_0x50f3de(0x188)]);}
|
|
23
|
+
function _0x7737(_0x19b830,_0x2f5aa2){const _0x248667=_0x2486();return _0x7737=function(_0x7737ca,_0x120273){_0x7737ca=_0x7737ca-0x147;let _0x4e2134=_0x248667[_0x7737ca];return _0x4e2134;},_0x7737(_0x19b830,_0x2f5aa2);}const _0x43de5a=_0x7737;(function(_0x5e5af6,_0x3d5e39){const _0x1e485d=_0x7737,_0x318925=_0x5e5af6();while(!![]){try{const _0x599115=parseInt(_0x1e485d(0x17d))/0x1+parseInt(_0x1e485d(0x207))/0x2+parseInt(_0x1e485d(0x21a))/0x3+parseInt(_0x1e485d(0x176))/0x4*(-parseInt(_0x1e485d(0x1a6))/0x5)+-parseInt(_0x1e485d(0x213))/0x6+parseInt(_0x1e485d(0x1cf))/0x7*(parseInt(_0x1e485d(0x26b))/0x8)+parseInt(_0x1e485d(0x1c2))/0x9;if(_0x599115===_0x3d5e39)break;else _0x318925['push'](_0x318925['shift']());}catch(_0x1b1875){_0x318925['push'](_0x318925['shift']());}}}(_0x2486,0xa1ffc));import{Users as _0x4e91ab}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x2bd3a,PendingActions as _0x5df00b}from'ckeditor5/src/core.js';import{logWarning as _0x158927,uid as _0x305246}from'ckeditor5/src/utils.js';import{Position as _0xf8d58f,Range as _0x51610e,Element as _0x4cc128,DocumentFragment as _0x5b4701}from'ckeditor5/src/engine.js';import _0x371562 from'./revisionsrepository.js';import _0x1c3543 from'./revisionhistoryutils.js';import{getTranslation as _0xb35702}from'./utils/common-translations.js';import{cloneDeep as _0x236486,isEqual as _0x3758ae}from'es-toolkit/compat';export default class u extends _0x2bd3a{[_0x43de5a(0x15e)];[_0x43de5a(0x158)];[_0x43de5a(0x239)]=null;[_0x43de5a(0x166)];[_0x43de5a(0x1ca)]=null;[_0x43de5a(0x20e)];[_0x43de5a(0x222)];[_0x43de5a(0x1a5)];[_0x43de5a(0x235)];[_0x43de5a(0x229)];[_0x43de5a(0x20d)];[_0x43de5a(0x165)];[_0x43de5a(0x1ec)];[_0x43de5a(0x232)];static get[_0x43de5a(0x221)](){const _0x2703a2=_0x43de5a;return _0x2703a2(0x20c);}static get[_0x43de5a(0x26c)](){return!0x0;}static get[_0x43de5a(0x172)](){return!0x0;}static get[_0x43de5a(0x233)](){return[_0x4e91ab,_0x371562,_0x1c3543,_0x5df00b];}constructor(_0x2d1680){const _0x1233bb=_0x43de5a;super(_0x2d1680),this[_0x1233bb(0x166)]=this[_0x1233bb(0x26d)][_0x1233bb(0x1d5)][_0x1233bb(0x1c0)](_0x1233bb(0x201)),this[_0x1233bb(0x229)]=this[_0x1233bb(0x26d)][_0x1233bb(0x1d5)][_0x1233bb(0x1c0)](_0x1233bb(0x1d9)),this[_0x1233bb(0x20e)]=new x(this[_0x1233bb(0x26d)]),this[_0x1233bb(0x1a5)]=this[_0x1233bb(0x26d)][_0x1233bb(0x268)][_0x1233bb(0x1c0)](_0x1233bb(0x1c6))||_0x1233bb(0x147),this[_0x1233bb(0x235)]=new Map(),this[_0x1233bb(0x232)]=null;const _0x4894e8=_0x305246();this[_0x1233bb(0x222)]={'history':this[_0x1233bb(0x26d)][_0x1233bb(0x1b6)][_0x1233bb(0x1c5)][_0x1233bb(0x14f)],'getLatestVersion':()=>Promise[_0x1233bb(0x164)](this[_0x1233bb(0x26d)][_0x1233bb(0x1b6)][_0x1233bb(0x1c5)][_0x1233bb(0x25a)]),'getCurrentRevisionId':()=>_0x4894e8},this[_0x1233bb(0x263)](_0x1233bb(0x154),!0x1),this[_0x1233bb(0x263)](_0x1233bb(0x1f4),!0x0),this[_0x1233bb(0x263)](_0x1233bb(0x26e),!0x1),this[_0x1233bb(0x26d)][_0x1233bb(0x268)][_0x1233bb(0x24c)](_0x1233bb(0x1bb),!0x0),this[_0x1233bb(0x26d)][_0x1233bb(0x259)][_0x1233bb(0x157)](_0x1233bb(0x22b))[_0x1233bb(0x283)]({'view':_0x1233bb(0x19f)});}[_0x43de5a(0x25b)](){const _0x56515e=_0x43de5a;this[_0x56515e(0x1ae)](),this[_0x56515e(0x26d)][_0x56515e(0x215)]['on'](_0x56515e(0x237),()=>{const _0x5e0964=_0x56515e,_0xad3c9f=this[_0x5e0964(0x166)][_0x5e0964(0x1cb)](0x0),_0x29ea9c=_0xad3c9f&&null===_0xad3c9f[_0x5e0964(0x282)]?_0xad3c9f:null;if(this[_0x5e0964(0x165)]=!!_0x29ea9c&&this[_0x5e0964(0x26d)][_0x5e0964(0x268)][_0x5e0964(0x1c0)](_0x5e0964(0x1bb)),this[_0x5e0964(0x26d)][_0x5e0964(0x1d5)][_0x5e0964(0x1e3)](_0x5e0964(0x193))){const _0x58828e=this[_0x5e0964(0x222)][_0x5e0964(0x1f0)](),_0xf90bce=this[_0x5e0964(0x166)][_0x5e0964(0x1cb)](_0x58828e);if(_0xf90bce)this[_0x5e0964(0x1ec)]=_0xf90bce[_0x5e0964(0x1d0)],this[_0x5e0964(0x165)]=!0x1;else{const _0x169b07=this[_0x5e0964(0x222)][_0x5e0964(0x14f)][_0x5e0964(0x1d2)][_0x5e0964(0x14c)](_0x1f90d2=>!_0x1f90d2[_0x5e0964(0x240)]),_0x23135e=_0x169b07?_0x169b07[_0x5e0964(0x1bf)]:this[_0x5e0964(0x222)][_0x5e0964(0x14f)][_0x5e0964(0x25a)];_0xad3c9f?(_0xad3c9f[_0x5e0964(0x1ef)]<_0x23135e&&_0xad3c9f[_0x5e0964(0x287)]({'toVersion':_0x23135e}),this[_0x5e0964(0x165)]?(this[_0x5e0964(0x222)][_0x5e0964(0x1f0)]=()=>_0x29ea9c['id'],this[_0x5e0964(0x1ec)]=_0x29ea9c[_0x5e0964(0x1d0)]):(this[_0x5e0964(0x1ec)]=_0xad3c9f[_0x5e0964(0x1ef)],this[_0x5e0964(0x165)]=!0x1)):(this[_0x5e0964(0x1ec)]=_0x23135e,this[_0x5e0964(0x165)]=!0x1);}}else _0x29ea9c&&(this[_0x5e0964(0x26d)][_0x5e0964(0x1b6)][_0x5e0964(0x1c5)][_0x5e0964(0x14f)][_0x5e0964(0x25a)]=Math[_0x5e0964(0x1c1)](_0x29ea9c[_0x5e0964(0x1ef)],this[_0x5e0964(0x26d)][_0x5e0964(0x1b6)][_0x5e0964(0x1c5)][_0x5e0964(0x14f)][_0x5e0964(0x25a)]),_0x29ea9c[_0x5e0964(0x1d0)]===_0x29ea9c[_0x5e0964(0x1ef)]?(0x0!==_0x29ea9c[_0x5e0964(0x1d0)]&&(this[_0x5e0964(0x222)][_0x5e0964(0x1f0)]=()=>_0x29ea9c['id']),this[_0x5e0964(0x165)]=!0x1):this[_0x5e0964(0x165)]&&(this[_0x5e0964(0x222)][_0x5e0964(0x1f0)]=()=>_0x29ea9c['id'],this[_0x5e0964(0x1ec)]=_0x29ea9c[_0x5e0964(0x1d0)])),this[_0x5e0964(0x165)]||(this[_0x5e0964(0x1ec)]=this[_0x5e0964(0x26d)][_0x5e0964(0x1b6)][_0x5e0964(0x1c5)][_0x5e0964(0x25a)]);this[_0x5e0964(0x20e)][_0x5e0964(0x25b)](this[_0x5e0964(0x222)][_0x5e0964(0x14f)]),this[_0x5e0964(0x1d6)](this[_0x5e0964(0x1ec)]),this[_0x5e0964(0x26a)](this[_0x5e0964(0x1ec)]),this[_0x5e0964(0x1ca)]&&this[_0x5e0964(0x25e)]();}),this[_0x56515e(0x1f8)](_0x56515e(0x154))['to'](this,_0x56515e(0x26e),_0x3d24bf=>!_0x3d24bf),this[_0x56515e(0x15e)]=this[_0x56515e(0x26d)][_0x56515e(0x268)][_0x56515e(0x1c0)](_0x56515e(0x15e));const _0x4c7611=this[_0x56515e(0x26d)];this[_0x56515e(0x158)]=setInterval(()=>{const _0x18756c=_0x56515e;let _0x5a1793;for(const _0x3342da in _0x4c7611){const _0x5dd808=_0x3342da,_0x56096b=_0x4c7611[_0x5dd808];if(_0x18756c(0x16d)==_0x56096b||_0x18756c(0x236)==_0x56096b||_0x18756c(0x22f)==_0x56096b||_0x18756c(0x1fa)==_0x56096b||_0x18756c(0x23b)==_0x56096b||_0x18756c(0x15c)==_0x56096b||_0x18756c(0x21f)==_0x56096b||_0x18756c(0x276)==_0x56096b){delete _0x4c7611[_0x5dd808],_0x5a1793=_0x56096b,clearInterval(this[_0x18756c(0x158)]),this[_0x18756c(0x158)]=void 0x0;break;}}_0x18756c(0x236)==_0x5a1793&&_0x4c7611[_0x18756c(0x1ee)](_0x18756c(0x1e6)),_0x18756c(0x22f)==_0x5a1793&&_0x4c7611[_0x18756c(0x1ee)](_0x18756c(0x1b9)),_0x18756c(0x1fa)==_0x5a1793&&_0x4c7611[_0x18756c(0x1ee)](_0x18756c(0x198)),_0x18756c(0x23b)==_0x5a1793&&_0x4c7611[_0x18756c(0x1ee)](_0x18756c(0x1e2),_0x18756c(0x265)),_0x18756c(0x15c)==_0x5a1793&&_0x4c7611[_0x18756c(0x1ee)](_0x18756c(0x17e)),_0x18756c(0x21f)==_0x5a1793&&_0x4c7611[_0x18756c(0x1ee)](_0x18756c(0x162)),_0x18756c(0x276)==_0x5a1793&&_0x4c7611[_0x18756c(0x1ee)](_0x18756c(0x208));},0x3e8);}async[_0x43de5a(0x24d)](){const _0x2053ac=_0x43de5a;if(this[_0x2053ac(0x166)][_0x2053ac(0x217)]>0x0){const _0x1f9a76=this[_0x2053ac(0x166)][_0x2053ac(0x1cb)](0x0),_0xd2d1a5=await this[_0x2053ac(0x202)](_0x1f9a76),_0x50c704=await this[_0x2053ac(0x16e)](_0x1f9a76);this[_0x2053ac(0x17a)](_0xd2d1a5,_0x50c704);}}[_0x43de5a(0x1d4)](){const _0x12d3b8=_0x43de5a;super[_0x12d3b8(0x1d4)](),this[_0x12d3b8(0x158)]&&clearInterval(this[_0x12d3b8(0x158)]);}[_0x43de5a(0x14e)](_0x439886){const _0x93f81d=_0x43de5a;this[_0x93f81d(0x222)]=_0x439886;}async[_0x43de5a(0x226)](){const _0x22848d=_0x43de5a,_0x431101=await this[_0x22848d(0x222)][_0x22848d(0x1af)]();if(_0x431101>this[_0x22848d(0x239)][_0x22848d(0x1ef)]){await this[_0x22848d(0x205)]();const _0x4facc7=this[_0x22848d(0x18a)]({'revision':this[_0x22848d(0x239)],'to':_0x431101});_0x4facc7[_0x22848d(0x248)]=_0x4facc7[_0x22848d(0x211)][_0x22848d(0x1fd)](_0x11a17a=>this[_0x22848d(0x26d)][_0x22848d(0x1d5)][_0x22848d(0x1c0)](_0x22848d(0x24e))[_0x22848d(0x1f5)](_0x11a17a)),this[_0x22848d(0x239)][_0x22848d(0x287)](_0x4facc7);}}async[_0x43de5a(0x27d)](_0x5e10a9={},_0x5f49d0=null){const _0x5a07ea=_0x43de5a,_0x96642d=[];await this[_0x5a07ea(0x205)](),this[_0x5a07ea(0x165)]=!0x1,_0x5f49d0>this[_0x5a07ea(0x239)][_0x5a07ea(0x1ef)]&&(_0x5f49d0=null),null===_0x5f49d0&&(_0x5f49d0=await this[_0x5a07ea(0x222)][_0x5a07ea(0x1af)]());const _0xf6e205=this[_0x5a07ea(0x25d)](_0x5f49d0),_0x242874=this[_0x5a07ea(0x18a)]({'from':_0xf6e205,'to':_0x5f49d0});if(this[_0x5a07ea(0x239)][_0x5a07ea(0x1ef)]<_0x5f49d0){const _0x9d219f=this[_0x5a07ea(0x18a)]({'revision':this[_0x5a07ea(0x239)],'from':_0x5f49d0,'to':_0x5f49d0});_0x9d219f[_0x5a07ea(0x248)]=[],_0x9d219f[_0x5a07ea(0x211)]=[],_0x9d219f['id']=this[_0x5a07ea(0x239)]['id'],this[_0x5a07ea(0x239)][_0x5a07ea(0x287)](_0x9d219f,!0x0),delete _0x9d219f[_0x5a07ea(0x248)],_0x96642d[_0x5a07ea(0x267)](_0x9d219f);}_0x5e10a9[_0x5a07ea(0x223)]=this[_0x5a07ea(0x26d)][_0x5a07ea(0x1d5)][_0x5a07ea(0x1c0)](_0x5a07ea(0x24e))['me']['id'],_0x5e10a9[_0x5a07ea(0x230)]=_0x5e10a9[_0x5a07ea(0x230)]||null,_0x5e10a9['id']=_0x5e10a9['id']||_0x305246(),_0x5e10a9={..._0x5e10a9,..._0x242874};const _0x559a02=this[_0x5a07ea(0x258)](_0x5e10a9);_0x96642d[_0x5a07ea(0x267)](_0x5e10a9);const _0x2680a8=this[_0x5a07ea(0x166)][_0x5a07ea(0x1ba)](_0x559a02);if(0x0!==_0x2680a8){const _0x4175c2=this[_0x5a07ea(0x166)][_0x5a07ea(0x1cb)](_0x2680a8-0x1);if(_0x4175c2[_0x5a07ea(0x1d0)]!==_0x5f49d0){const _0x21a666=this[_0x5a07ea(0x20e)][_0x5a07ea(0x271)](_0x5f49d0,_0x4175c2[_0x5a07ea(0x1ef)]),_0x45cb73={'id':_0x4175c2['id'],'diffData':_0x21a666[_0x5a07ea(0x152)],'authorsIds':_0x21a666[_0x5a07ea(0x211)],'authors':_0x21a666[_0x5a07ea(0x211)][_0x5a07ea(0x1fd)](_0x44653c=>this[_0x5a07ea(0x26d)][_0x5a07ea(0x1d5)][_0x5a07ea(0x1c0)](_0x5a07ea(0x24e))[_0x5a07ea(0x1f5)](_0x44653c)),'fromVersion':_0x5f49d0};_0x4175c2===this[_0x5a07ea(0x239)]&&(_0x45cb73[_0x5a07ea(0x177)]=new Date(_0x5e10a9[_0x5a07ea(0x177)][_0x5a07ea(0x1dc)]()+0xa)),_0x4175c2[_0x5a07ea(0x287)](_0x45cb73,!0x0),delete _0x45cb73[_0x5a07ea(0x248)],_0x96642d[_0x5a07ea(0x267)](_0x45cb73);}}if(this[_0x5a07ea(0x1ca)]){for(const _0x2e189f of _0x96642d)this[_0x5a07ea(0x19c)](_0x2e189f['id'],_0x2e189f,!0x0);this[_0x5a07ea(0x25e)]();}return _0x559a02;}[_0x43de5a(0x258)](_0xe477d6){const _0x316f58=_0x43de5a,_0x36a121=this[_0x316f58(0x166)][_0x316f58(0x160)](_0xe477d6);return this[_0x316f58(0x1ca)]&&_0x36a121['on'](_0x316f58(0x287),(_0x7e93bb,_0x5d2292,_0x2323f7)=>{const _0x42dd21=_0x316f58;_0x2323f7||(this[_0x42dd21(0x19c)](_0x5d2292['id'],_0x5d2292,!0x0),this[_0x42dd21(0x25e)]());}),this[_0x316f58(0x166)][_0x316f58(0x179)](_0x36a121,this[_0x316f58(0x27e)](_0x36a121)),_0x36a121;}async[_0x43de5a(0x202)](_0x50921a){const _0x3dd374=_0x43de5a;return await this[_0x3dd374(0x229)][_0x3dd374(0x153)](_0x50921a,this[_0x3dd374(0x1ca)]),this[_0x3dd374(0x229)][_0x3dd374(0x202)](_0x50921a);}async[_0x43de5a(0x16e)](_0x47b154){const _0x3f2889=_0x43de5a;return await this[_0x3f2889(0x229)][_0x3f2889(0x153)](_0x47b154,this[_0x3f2889(0x1ca)]),this[_0x3f2889(0x229)][_0x3f2889(0x16e)](_0x47b154);}[_0x43de5a(0x25e)](){const _0x478c04=_0x43de5a;if(0x0===this[_0x478c04(0x235)][_0x478c04(0x1b7)])return;if(this[_0x478c04(0x26e)])return;let _0x1d2353=Array[_0x478c04(0x216)](this[_0x478c04(0x235)][_0x478c04(0x25c)]());this[_0x478c04(0x235)][_0x478c04(0x192)]();for(let _0x35d99f=0x0;_0x35d99f<_0x1d2353[_0x478c04(0x217)];_0x35d99f++){const _0x2f8e39=_0x1d2353[_0x35d99f];let _0x50a144=!0x1;for(const _0xbf3e91 of Object[_0x478c04(0x196)](_0x2f8e39))void 0x0===_0x2f8e39[_0xbf3e91]?delete _0x2f8e39[_0xbf3e91]:'id'!==_0xbf3e91&&(_0x50a144=!0x0);_0x50a144||(_0x1d2353[_0x35d99f]=null);}if(_0x1d2353=_0x1d2353[_0x478c04(0x15b)](_0xc0d486=>null!==_0xc0d486),!_0x1d2353[_0x478c04(0x217)])return;for(let _0x1e044b=0x0;_0x1e044b<_0x1d2353[_0x478c04(0x217)];_0x1e044b++){const _0x24b9e8=_0x1d2353[_0x1e044b];void 0x0!==_0x24b9e8[_0x478c04(0x1d0)]&&void 0x0===_0x24b9e8[_0x478c04(0x1ef)]&&(_0x24b9e8[_0x478c04(0x1ef)]=this[_0x478c04(0x166)][_0x478c04(0x1cb)](_0x24b9e8['id'])[_0x478c04(0x1ef)]),void 0x0!==_0x24b9e8[_0x478c04(0x1ef)]&&void 0x0===_0x24b9e8[_0x478c04(0x1d0)]&&(_0x24b9e8[_0x478c04(0x1d0)]=this[_0x478c04(0x166)][_0x478c04(0x1cb)](_0x24b9e8['id'])[_0x478c04(0x1d0)]);}const _0xc551a3=this[_0x478c04(0x26d)][_0x478c04(0x268)][_0x478c04(0x1c0)](_0x478c04(0x1c6));this[_0x478c04(0x26e)]=!0x0,this[_0x478c04(0x24a)](),this[_0x478c04(0x1ca)][_0x478c04(0x270)](_0x1d2353,_0xc551a3)[_0x478c04(0x18d)](()=>{const _0x32ea25=_0x478c04;this[_0x32ea25(0x26e)]=!0x1;})[_0x478c04(0x1dd)](_0x43198c=>{const _0x145613=_0x478c04;if(_0x43198c){for(const _0x4d7694 of _0x43198c)this[_0x145613(0x15a)]({'id':_0x4d7694['id'],'createdAt':_0x4d7694[_0x145613(0x177)]});}this[_0x145613(0x1b5)](),this[_0x145613(0x25e)]();});}[_0x43de5a(0x18a)]({revision:_0x56d15f=null,from:_0x3fb5c1=null,to:_0x2dd45a=null}){const _0x531d5d=_0x43de5a;_0x3fb5c1=null!==_0x3fb5c1?_0x3fb5c1:_0x56d15f[_0x531d5d(0x1d0)],_0x2dd45a=null!==_0x2dd45a?_0x2dd45a:_0x56d15f[_0x531d5d(0x1ef)];const _0x591f0d=this[_0x531d5d(0x20e)][_0x531d5d(0x271)](_0x3fb5c1,_0x2dd45a),_0x4b4c2a={'diffData':_0x591f0d[_0x531d5d(0x152)],'authorsIds':_0x591f0d[_0x531d5d(0x211)],'fromVersion':_0x3fb5c1,'toVersion':_0x2dd45a};if(!_0x56d15f||_0x2dd45a!==_0x56d15f[_0x531d5d(0x1ef)]){const _0x569709=_0x2dd45a-0x1,_0x2c67a7=this[_0x531d5d(0x222)][_0x531d5d(0x14f)][_0x531d5d(0x1c8)](_0x569709);_0x4b4c2a[_0x531d5d(0x177)]=_0x2c67a7&&_0x2c67a7[_0x531d5d(0x177)]||new Date();}if(this[_0x531d5d(0x232)]&&_0x3fb5c1===this[_0x531d5d(0x232)][_0x531d5d(0x1d0)]){for(const _0x2de5af of this[_0x531d5d(0x232)][_0x531d5d(0x248)])_0x4b4c2a[_0x531d5d(0x211)][_0x531d5d(0x161)](_0x2de5af['id'])||_0x4b4c2a[_0x531d5d(0x211)][_0x531d5d(0x267)](_0x2de5af['id']);}return _0x4b4c2a;}[_0x43de5a(0x19c)](_0x12e604,_0x52d309,_0x3f6ca6){const _0x31c7f6=_0x43de5a;if(this[_0x31c7f6(0x235)][_0x31c7f6(0x1e3)](_0x12e604)){const _0x256761=this[_0x31c7f6(0x235)][_0x31c7f6(0x1c0)](_0x12e604);_0x52d309=_0x3f6ca6?{..._0x256761,..._0x52d309}:{..._0x52d309,..._0x256761};}this[_0x31c7f6(0x235)][_0x31c7f6(0x263)](_0x12e604,_0x52d309);}[_0x43de5a(0x15a)](_0x36cca5){const _0x1ec90f=_0x43de5a,_0xc53fac=this[_0x1ec90f(0x166)][_0x1ec90f(0x1cb)](_0x36cca5['id']);if(_0x36cca5[_0x1ec90f(0x177)]&&(_0x36cca5[_0x1ec90f(0x177)]=new Date(_0x36cca5[_0x1ec90f(0x177)])),_0x36cca5[_0x1ec90f(0x211)]){const _0x21773d=this[_0x1ec90f(0x26d)][_0x1ec90f(0x1d5)][_0x1ec90f(0x1c0)](_0x1ec90f(0x24e));_0x36cca5[_0x1ec90f(0x248)]=_0x36cca5[_0x1ec90f(0x211)][_0x1ec90f(0x1fd)](_0x334c2e=>_0x21773d[_0x1ec90f(0x1f5)](_0x334c2e));}_0xc53fac[_0x1ec90f(0x287)](_0x36cca5,!0x0);}[_0x43de5a(0x1d6)](_0x2094a8){const _0x1fba57=_0x43de5a,_0x424fd3=this[_0x1fba57(0x166)][_0x1fba57(0x1cb)](this[_0x1fba57(0x166)][_0x1fba57(0x217)]-0x1);if(_0x424fd3)this[_0x1fba57(0x1a5)]=_0x424fd3['id'];else{const _0x1042b7=!this[_0x1fba57(0x26d)][_0x1fba57(0x1b6)][_0x1fba57(0x1c5)][_0x1fba57(0x17c)][_0x1fba57(0x14c)](_0x20d883=>this[_0x1fba57(0x26d)][_0x1fba57(0x1b6)][_0x1fba57(0x220)](_0x20d883)),_0x503320=this[_0x1fba57(0x26d)][_0x1fba57(0x1d5)][_0x1fba57(0x1c0)](_0x1fba57(0x24e))['me']['id'],_0x1d5bb0=_0xb35702(this[_0x1fba57(0x26d)][_0x1fba57(0x24f)],_0x1042b7?_0x1fba57(0x1b3):_0x1fba57(0x1e9));this[_0x1fba57(0x238)]({'from':_0x2094a8,'to':_0x2094a8,'id':this[_0x1fba57(0x1a5)],'name':_0x1d5bb0,'creatorId':_0x503320});}}[_0x43de5a(0x26a)](_0x386e69){const _0x518f11=_0x43de5a,_0x3246=this[_0x518f11(0x222)][_0x518f11(0x1f0)]();this[_0x518f11(0x239)]=this[_0x518f11(0x166)][_0x518f11(0x1cb)](_0x3246),this[_0x518f11(0x239)]||(this[_0x518f11(0x239)]=this[_0x518f11(0x238)]({'from':_0x386e69,'to':_0x386e69,'id':_0x3246,'name':'','creatorId':null}));}async[_0x43de5a(0x205)](){const _0x323feb=_0x43de5a;this[_0x323feb(0x165)]&&!this[_0x323feb(0x232)]&&(await this[_0x323feb(0x229)][_0x323feb(0x153)](this[_0x323feb(0x239)],this[_0x323feb(0x1ca)]),this[_0x323feb(0x20e)][_0x323feb(0x180)](this[_0x323feb(0x239)]),this[_0x323feb(0x232)]={'fromVersion':this[_0x323feb(0x239)][_0x323feb(0x1d0)],'authors':this[_0x323feb(0x239)][_0x323feb(0x248)][_0x323feb(0x272)]()});}[_0x43de5a(0x17a)](_0x5583a0,_0xbf1b25){const _0x2d76c2=_0x43de5a;let _0x517354=this[_0x2d76c2(0x26d)][_0x2d76c2(0x268)][_0x2d76c2(0x1c0)](_0x2d76c2(0x1df)),_0x2dc38e=this[_0x2d76c2(0x26d)][_0x2d76c2(0x268)][_0x2d76c2(0x1c0)](_0x2d76c2(0x262));if(void 0x0===_0x517354){_0x517354={};for(const _0x49a6a8 of this[_0x2d76c2(0x26d)][_0x2d76c2(0x1b6)][_0x2d76c2(0x1c5)][_0x2d76c2(0x1a9)]())_0x517354[_0x49a6a8]='';}if(_0x2d76c2(0x1b1)==typeof _0x517354&&(_0x517354={'main':_0x517354}),void 0x0===_0x2dc38e){_0x2dc38e={};for(const _0x3be42f of this[_0x2d76c2(0x26d)][_0x2d76c2(0x1b6)][_0x2d76c2(0x1c5)][_0x2d76c2(0x1a9)]())_0x2dc38e[_0x3be42f]={};}let _0x6edfde=!0x1;const _0x2b0f39=Object[_0x2d76c2(0x196)](_0x517354),_0x3fa637=Object[_0x2d76c2(0x196)](_0x5583a0);for(const _0x9a942d of _0x2b0f39){if(_0x517354[_0x9a942d]!==_0x5583a0[_0x9a942d]&&''!==_0x517354[_0x9a942d][_0x2d76c2(0x286)]()){_0x6edfde=!0x0;break;}if(!_0x3758ae(_0x2dc38e[_0x9a942d],_0xbf1b25[_0x9a942d])&&Object[_0x2d76c2(0x196)](_0x2dc38e[_0x9a942d])[_0x2d76c2(0x217)]>0x0){_0x6edfde=!0x0;break;}}_0x6edfde||(_0x6edfde=_0x3fa637[_0x2d76c2(0x257)](_0x38e5dc=>!this[_0x2d76c2(0x26d)][_0x2d76c2(0x1b6)][_0x2d76c2(0x1c5)][_0x2d76c2(0x212)](_0x38e5dc))),_0x6edfde&&_0x158927(_0x2d76c2(0x20b),{'editorData':_0x517354,'editorRootsAttributes':_0x2dc38e,'revisionData':_0x5583a0,'revisionRootsAttributes':_0xbf1b25}),this[_0x2d76c2(0x26d)][_0x2d76c2(0x268)][_0x2d76c2(0x263)](_0x2d76c2(0x1df),_0x5583a0),this[_0x2d76c2(0x26d)][_0x2d76c2(0x268)][_0x2d76c2(0x263)](_0x2d76c2(0x262),_0xbf1b25);}[_0x43de5a(0x24a)](){const _0x42aa0a=_0x43de5a;if(!this[_0x42aa0a(0x20d)]){const _0x2877cd=this[_0x42aa0a(0x26d)][_0x42aa0a(0x1d5)][_0x42aa0a(0x1c0)](_0x42aa0a(0x279));this[_0x42aa0a(0x20d)]=_0x2877cd[_0x42aa0a(0x1a8)](_0xb35702(this[_0x42aa0a(0x26d)][_0x42aa0a(0x24f)],_0x42aa0a(0x1ab)));}}[_0x43de5a(0x1b5)](){const _0x383a13=_0x43de5a;this[_0x383a13(0x20d)]&&(this[_0x383a13(0x26d)][_0x383a13(0x1d5)][_0x383a13(0x1c0)](_0x383a13(0x279))[_0x383a13(0x22a)](this[_0x383a13(0x20d)]),this[_0x383a13(0x20d)]=null);}[_0x43de5a(0x27e)](_0x2bfd07){const _0x27aa67=_0x43de5a,_0x1ee557=this[_0x27aa67(0x166)][_0x27aa67(0x23e)]();_0x1ee557[_0x27aa67(0x151)]();let _0x2f6c4f=0x0;for(;_0x2f6c4f<_0x1ee557[_0x27aa67(0x217)];){const _0x50418f=_0x1ee557[_0x2f6c4f];if(_0x50418f===this[_0x27aa67(0x239)]){_0x2f6c4f++;continue;}if(_0x50418f['id']===this[_0x27aa67(0x1a5)])break;const _0x4b3931=_0x2bfd07[_0x27aa67(0x1ef)]-_0x50418f[_0x27aa67(0x1ef)]||_0x2bfd07[_0x27aa67(0x1d0)]-_0x50418f[_0x27aa67(0x1d0)];if(_0x4b3931>0x0)break;if(_0x4b3931<0x0)_0x2f6c4f++;else{if(!_0x2bfd07[_0x27aa67(0x282)]&&_0x50418f[_0x27aa67(0x282)])break;if(_0x50418f[_0x27aa67(0x282)]||!_0x2bfd07[_0x27aa67(0x282)]){if(_0x2bfd07[_0x27aa67(0x177)]>_0x50418f[_0x27aa67(0x177)])break;_0x2f6c4f++;}else _0x2f6c4f++;}}return _0x2f6c4f;}[_0x43de5a(0x25d)](_0x223802){const _0x2f7c60=_0x43de5a,_0x4ecfc4=this[_0x2f7c60(0x166)][_0x2f7c60(0x23e)]();_0x4ecfc4[_0x2f7c60(0x151)](),_0x4ecfc4[_0x2f7c60(0x1e7)]();const _0x1de0f2=_0x4ecfc4[_0x2f7c60(0x14c)](_0x5684f8=>_0x5684f8[_0x2f7c60(0x1ef)]<=_0x223802)[_0x2f7c60(0x1ef)];return _0x1de0f2<this[_0x2f7c60(0x1ec)]?this[_0x2f7c60(0x1ec)]:_0x1de0f2;}[_0x43de5a(0x238)]({name:_0x5e9348,from:_0x632514,to:_0x1dcc4a,creatorId:_0x3c73b0,id:_0x374b5a}){const _0x370725=_0x43de5a,_0x2df31e=this[_0x370725(0x18a)]({'from':_0x632514,'to':_0x1dcc4a});_0x2df31e[_0x370725(0x230)]=_0x5e9348,_0x2df31e[_0x370725(0x223)]=_0x3c73b0,_0x2df31e['id']=_0x374b5a;const _0x1d01ff=this[_0x370725(0x258)](_0x2df31e);return this[_0x370725(0x1ca)]&&this[_0x370725(0x19c)](_0x2df31e['id'],_0x2df31e,!0x0),_0x1d01ff;}[_0x43de5a(0x1ae)](){const _0x1c0486=_0x43de5a;this[_0x1c0486(0x26d)][_0x1c0486(0x259)][_0x1c0486(0x157)](_0x1c0486(0x18b))[_0x1c0486(0x1e4)]({'model':_0x1c0486(0x19f)});}}class x{[_0x43de5a(0x26d)];[_0x43de5a(0x1c4)];[_0x43de5a(0x168)];[_0x43de5a(0x18e)];[_0x43de5a(0x242)];[_0x43de5a(0x206)];[_0x43de5a(0x23f)];[_0x43de5a(0x1e8)];[_0x43de5a(0x182)];[_0x43de5a(0x1a3)];[_0x43de5a(0x266)];[_0x43de5a(0x1d7)];[_0x43de5a(0x22c)];[_0x43de5a(0x1f2)];[_0x43de5a(0x1b8)];[_0x43de5a(0x1cc)];[_0x43de5a(0x16b)];constructor(_0x21c3ca){const _0x4e066e=_0x43de5a;this[_0x4e066e(0x26d)]=_0x21c3ca,this[_0x4e066e(0x168)]=new Map(),this[_0x4e066e(0x18e)]=-0x1,this[_0x4e066e(0x242)]=-0x1,this[_0x4e066e(0x206)]=new Map(),this[_0x4e066e(0x23f)]=new Map(),this[_0x4e066e(0x1e8)]=new Map(),this[_0x4e066e(0x182)]=new Map(),this[_0x4e066e(0x1a3)]=new Map(),this[_0x4e066e(0x266)]=new Map(),this[_0x4e066e(0x1d7)]=new Map(),this[_0x4e066e(0x22c)]=new Map(),this[_0x4e066e(0x1f2)]=new Map(),this[_0x4e066e(0x1b8)]=new Map(),this[_0x4e066e(0x1cc)]=0x1;}[_0x43de5a(0x25b)](_0x392d7f){const _0x1d4664=_0x43de5a;this[_0x1d4664(0x1c4)]=_0x392d7f;const _0x5b9e73=new Map(),_0x687932=new Map(),_0x182409=this[_0x1d4664(0x26d)][_0x1d4664(0x1b6)][_0x1d4664(0x1c5)][_0x1d4664(0x17c)][_0x1d4664(0x1fd)](_0x22a4bd=>_0x22a4bd[_0x1d4664(0x1f6)]);for(const _0x25887d of _0x182409){const _0x209c2d=this[_0x1d4664(0x26d)][_0x1d4664(0x1b6)][_0x1d4664(0x1c5)][_0x1d4664(0x212)](_0x25887d),_0xbe109c=N(_0x209c2d);_0x5b9e73[_0x1d4664(0x263)](_0x25887d,_0xbe109c),_0x687932[_0x1d4664(0x263)](_0x25887d,Object[_0x1d4664(0x169)](_0x209c2d[_0x1d4664(0x1ff)]()));}const _0x52cae7=Array[_0x1d4664(0x216)](this[_0x1d4664(0x26d)][_0x1d4664(0x1b6)][_0x1d4664(0x214)])[_0x1d4664(0x1fd)](_0x5186d2=>[_0x5186d2[_0x1d4664(0x230)],_0x5186d2[_0x1d4664(0x190)]()]),_0xb352a9=this[_0x1d4664(0x1c4)][_0x1d4664(0x25a)];this[_0x1d4664(0x1aa)](_0xb352a9,_0x5b9e73,_0x52cae7,_0x687932),this[_0x1d4664(0x16b)]=this[_0x1d4664(0x1cc)];const _0x2c1c85=new Map(),_0x1f0e96=new Map();for(const _0x20f923 of _0x182409){const _0x56d440=P(_0x20f923);_0x2c1c85[_0x1d4664(0x263)](_0x20f923,_0x56d440),_0x1f0e96[_0x1d4664(0x263)](_0x20f923,{});}this[_0x1d4664(0x1aa)](Number[_0x1d4664(0x14a)],_0x2c1c85,[],_0x1f0e96);}[_0x43de5a(0x271)](_0x30cf63,_0x52bb8c){const _0x5bd54f=_0x43de5a;if(this[_0x5bd54f(0x18e)]===_0x30cf63&&this[_0x5bd54f(0x242)]<=_0x52bb8c)this[_0x5bd54f(0x168)][_0x5bd54f(0x1b7)]>0x1&&this[_0x5bd54f(0x150)](this[_0x5bd54f(0x242)]),this[_0x5bd54f(0x1a7)](this[_0x5bd54f(0x242)],_0x52bb8c,!0x0);else{if(!this[_0x5bd54f(0x168)][_0x5bd54f(0x1e3)](_0x30cf63)){const _0xe141da=this[_0x5bd54f(0x278)](_0x30cf63);this[_0x5bd54f(0x185)](_0xe141da,_0x30cf63,!0x1);}this[_0x5bd54f(0x185)](_0x30cf63,_0x52bb8c,!0x0);}return this[_0x5bd54f(0x18e)]=_0x30cf63,this[_0x5bd54f(0x242)]=_0x52bb8c,this[_0x5bd54f(0x191)]();}[_0x43de5a(0x180)](_0x135ceb){const _0x564ea0=_0x43de5a,_0x20e7f5=this[_0x564ea0(0x26d)][_0x564ea0(0x1d5)][_0x564ea0(0x1c0)](_0x564ea0(0x1d9));this[_0x564ea0(0x244)](),this[_0x564ea0(0x18e)]=_0x135ceb[_0x564ea0(0x1d0)],this[_0x564ea0(0x242)]=_0x135ceb[_0x564ea0(0x1ef)];for(const _0x57d966 in _0x135ceb[_0x564ea0(0x152)]){const _0x25969e=_0x135ceb[_0x564ea0(0x152)][_0x57d966][_0x564ea0(0x275)],_0x4a2c4b=_0x236486(_0x135ceb[_0x564ea0(0x152)][_0x57d966][_0x564ea0(0x16c)])||{},_0x211191=_0x20e7f5[_0x564ea0(0x21d)](_0x135ceb[_0x564ea0(0x152)][_0x57d966][_0x564ea0(0x1b0)]);_0x211191[_0x564ea0(0x1f6)]=_0x57d966,_0x211191[_0x564ea0(0x209)]=!_0x25969e||!_0x25969e[_0x564ea0(0x1ed)],_0x211191[_0x564ea0(0x1ed)]=()=>_0x211191[_0x564ea0(0x209)],this[_0x564ea0(0x182)][_0x564ea0(0x263)](_0x57d966,_0x211191),this[_0x564ea0(0x1a3)][_0x564ea0(0x263)](_0x57d966,_0x4a2c4b),_0x25969e&&this[_0x564ea0(0x1b8)][_0x564ea0(0x263)](_0x57d966,_0x25969e);const _0x442601=this[_0x564ea0(0x210)](_0x211191);this[_0x564ea0(0x1d7)][_0x564ea0(0x263)](_0x57d966,_0x442601);for(const [_0x14669d,_0xd0297f]of _0x211191[_0x564ea0(0x214)]){if(!_0x14669d[_0x564ea0(0x219)](_0x564ea0(0x285)))continue;const _0xc6dd6b=_0x14669d[_0x564ea0(0x1fb)](':')[0x2];for(const _0x2cb6bc of _0xd0297f[_0x564ea0(0x23a)]({'singleCharacters':!0x0})){const _0x29738d=this[_0x564ea0(0x204)](_0x2cb6bc),_0x2b9838=_0x564ea0(0x21b)==_0x2cb6bc[_0x564ea0(0x231)]?_0x2cb6bc[_0x564ea0(0x178)][_0x564ea0(0x148)][_0x564ea0(0x272)](0x0,-0x1):_0x2cb6bc[_0x564ea0(0x178)][_0x564ea0(0x148)],_0x579741=_0x442601[_0x564ea0(0x1f3)](_0x2b9838)[_0x564ea0(0x149)](_0x29738d);this[_0x564ea0(0x22c)][_0x564ea0(0x263)](_0x579741,{'userId':_0xc6dd6b});}}}this[_0x564ea0(0x16b)]=this[_0x564ea0(0x1cc)];const _0x31aba4=[...Array(this[_0x564ea0(0x1cc)])[_0x564ea0(0x196)]()][_0x564ea0(0x272)](0x1)[_0x564ea0(0x15b)](_0x455f80=>!this[_0x564ea0(0x22c)][_0x564ea0(0x1e3)](_0x455f80));let _0x3fdb0f=0x0;const _0x1c27c1=new Map();for(const _0x7183a9 in _0x135ceb[_0x564ea0(0x152)]){const _0x34416c=_0x135ceb[_0x564ea0(0x152)][_0x7183a9][_0x564ea0(0x275)],_0x5e67ee=_0x236486(_0x135ceb[_0x564ea0(0x152)][_0x7183a9][_0x564ea0(0x159)])||{},_0x25e7de=_0x20e7f5[_0x564ea0(0x21d)](_0x135ceb[_0x564ea0(0x152)][_0x7183a9][_0x564ea0(0x174)]);_0x25e7de[_0x564ea0(0x1f6)]=_0x7183a9,_0x25e7de[_0x564ea0(0x209)]=!_0x34416c||_0x34416c[_0x564ea0(0x1ed)],_0x25e7de[_0x564ea0(0x1ed)]=()=>_0x25e7de[_0x564ea0(0x209)],this[_0x564ea0(0x23f)][_0x564ea0(0x263)](_0x7183a9,_0x25e7de),this[_0x564ea0(0x1e8)][_0x564ea0(0x263)](_0x7183a9,_0x5e67ee);const _0x887934=this[_0x564ea0(0x210)](_0x25e7de,Number[_0x564ea0(0x14a)]);this[_0x564ea0(0x266)][_0x564ea0(0x263)](_0x7183a9,_0x887934),_0x1c27c1[_0x564ea0(0x263)](_0x7183a9,_0x25e7de[_0x564ea0(0x1ed)]()?_0x5e67ee:{});for(const [_0x1c4feb,_0x733bf]of _0x25e7de[_0x564ea0(0x214)]){if(!_0x1c4feb[_0x564ea0(0x219)](_0x564ea0(0x285)))continue;const _0x37295c=_0x1c4feb[_0x564ea0(0x1fb)](':')[0x2];for(const _0x37316a of _0x733bf[_0x564ea0(0x23a)]({'singleCharacters':!0x0})){const _0x323c28=this[_0x564ea0(0x204)](_0x37316a),_0x4c7ecf=this[_0x564ea0(0x1cc)]++,_0x13db5e=_0x564ea0(0x21b)==_0x37316a[_0x564ea0(0x231)]?_0x37316a[_0x564ea0(0x178)][_0x564ea0(0x148)][_0x564ea0(0x272)](0x0,-0x1):_0x37316a[_0x564ea0(0x178)][_0x564ea0(0x148)];_0x887934[_0x564ea0(0x1f3)](_0x13db5e)[_0x564ea0(0x171)](_0x323c28,_0x4c7ecf),this[_0x564ea0(0x22c)][_0x564ea0(0x263)](_0x4c7ecf,{'userId':_0x37295c});}}for(const _0x3d7c14 of this[_0x564ea0(0x26d)][_0x564ea0(0x1b6)][_0x564ea0(0x1eb)](_0x25e7de)[_0x564ea0(0x23a)]({'singleCharacters':!0x0})){const _0x221977=this[_0x564ea0(0x204)](_0x3d7c14),_0x5e3af5=_0x564ea0(0x21b)==_0x3d7c14[_0x564ea0(0x231)]?_0x3d7c14[_0x564ea0(0x178)][_0x564ea0(0x148)][_0x564ea0(0x272)](0x0,-0x1):_0x3d7c14[_0x564ea0(0x178)][_0x564ea0(0x148)],_0x5be798=_0x887934[_0x564ea0(0x1f3)](_0x5e3af5);_0x5be798[_0x564ea0(0x149)](_0x221977)>0x0||_0x5be798[_0x564ea0(0x171)](_0x221977,_0x31aba4[_0x3fdb0f++]);}for(const [_0x5913bc,_0x31a7fa]of _0x25e7de[_0x564ea0(0x214)])_0x5913bc[_0x564ea0(0x219)](_0x564ea0(0x285))||this[_0x564ea0(0x206)][_0x564ea0(0x263)](_0x5913bc,_0x31a7fa);}const _0x4efa71=P(_0x564ea0(0x1db));this[_0x564ea0(0x182)][_0x564ea0(0x263)](_0x564ea0(0x1db),_0x4efa71),this[_0x564ea0(0x1d7)][_0x564ea0(0x263)](_0x564ea0(0x1db),this[_0x564ea0(0x210)](_0x4efa71,0x1));const _0x56c26a=P(_0x564ea0(0x1db));this[_0x564ea0(0x23f)][_0x564ea0(0x263)](_0x564ea0(0x1db),_0x56c26a),this[_0x564ea0(0x266)][_0x564ea0(0x263)](_0x564ea0(0x1db),this[_0x564ea0(0x210)](_0x56c26a,0x1));const _0x4dc49f=Array[_0x564ea0(0x216)](this[_0x564ea0(0x23f)])[_0x564ea0(0x1fd)](([_0x3f0913,_0x5bb3cb])=>[_0x3f0913,N(_0x5bb3cb)]);this[_0x564ea0(0x1aa)](this[_0x564ea0(0x242)],_0x4dc49f,this[_0x564ea0(0x206)],_0x1c27c1);}[_0x43de5a(0x184)](){const _0x9577b3=_0x43de5a;this[_0x9577b3(0x244)](),this[_0x9577b3(0x18e)]=-0x1,this[_0x9577b3(0x242)]=-0x1,this[_0x9577b3(0x168)][_0x9577b3(0x192)](),this[_0x9577b3(0x25b)](this[_0x9577b3(0x1c4)]);}[_0x43de5a(0x1aa)](_0x1d3f21,_0x4c38f2,_0x4ec5bc,_0x3cd491){const _0x351fa1=_0x43de5a,_0x40cf0f=new Map(_0x4c38f2),_0x2b07cc=new Map(_0x236486(_0x3cd491)),_0x561374=new Map();for(const [_0x156176,_0x38d0fc]of _0x4ec5bc)_0x561374[_0x351fa1(0x263)](_0x156176,{'start':_0x38d0fc[_0x351fa1(0x1c9)][_0x351fa1(0x203)](),'end':_0x38d0fc[_0x351fa1(0x218)][_0x351fa1(0x203)](),'rootName':_0x38d0fc[_0x351fa1(0x1a0)][_0x351fa1(0x1f6)]});this[_0x351fa1(0x168)][_0x351fa1(0x263)](_0x1d3f21,{'roots':_0x40cf0f,'markers':_0x561374,'rootsAttributes':_0x2b07cc});}[_0x43de5a(0x150)](_0x333564){const _0xd41398=_0x43de5a;this[_0xd41398(0x168)][_0xd41398(0x1d3)](_0x333564);}[_0x43de5a(0x244)](){const _0x367a51=_0x43de5a;this[_0x367a51(0x22c)][_0x367a51(0x192)](),this[_0x367a51(0x1f2)][_0x367a51(0x192)](),this[_0x367a51(0x1b8)][_0x367a51(0x192)](),this[_0x367a51(0x23f)][_0x367a51(0x192)](),this[_0x367a51(0x1e8)][_0x367a51(0x192)](),this[_0x367a51(0x182)][_0x367a51(0x192)](),this[_0x367a51(0x1a3)][_0x367a51(0x192)](),this[_0x367a51(0x266)][_0x367a51(0x192)](),this[_0x367a51(0x1d7)][_0x367a51(0x192)](),this[_0x367a51(0x206)][_0x367a51(0x192)](),this[_0x367a51(0x1cc)]=0x1,this[_0x367a51(0x16b)]=this[_0x367a51(0x1cc)];}[_0x43de5a(0x210)](_0x5454bc,_0x1e3143=null){const _0x328f95=_0x43de5a;let _0x42e453=null;_0x5454bc['is'](_0x328f95(0x1d8))||(_0x42e453=new _0x4cc128(_0x5454bc[_0x328f95(0x230)],{'vid_start':null===_0x1e3143?this[_0x328f95(0x1cc)]++:_0x1e3143++}));const _0x460fdc=[];for(const _0x499b38 of _0x5454bc[_0x328f95(0x254)]())if(_0x499b38['is'](_0x328f95(0x194))){_0x460fdc[_0x328f95(0x267)](this[_0x328f95(0x210)](_0x499b38,_0x1e3143));const _0x57502d=_0x460fdc[_0x460fdc[_0x328f95(0x217)]-0x1];null!==_0x1e3143&&(_0x1e3143=_0x57502d['is'](_0x328f95(0x194),_0x328f95(0x23d))?_0x57502d[_0x328f95(0x149)](_0x328f95(0x23c))+0x1:_0x57502d[_0x328f95(0x149)](_0x328f95(0x1e0))+0x1);}else{for(let _0x36aea4=0x0;_0x36aea4<_0x499b38[_0x328f95(0x1de)];_0x36aea4++)_0x460fdc[_0x328f95(0x267)](new _0x4cc128(_0x328f95(0x23d),{'vid':null===_0x1e3143?this[_0x328f95(0x1cc)]++:_0x1e3143++}));}if(_0x5454bc['is'](_0x328f95(0x1d8))){const _0x3dd5cb=P(_0x5454bc[_0x328f95(0x1f6)]);return _0x3dd5cb[_0x328f95(0x24b)](0x0,_0x460fdc),_0x3dd5cb;}return _0x42e453[_0x328f95(0x171)](_0x328f95(0x1e0),null===_0x1e3143?this[_0x328f95(0x1cc)]++:_0x1e3143++),_0x42e453[_0x328f95(0x24b)](0x0,_0x460fdc),_0x42e453;}[_0x43de5a(0x185)](_0x10f723,_0x25d6a6,_0x5f343f){const _0xbaefd9=_0x43de5a;this[_0xbaefd9(0x244)]();const {roots:_0x800a1b,markers:_0x197841,rootsAttributes:_0x2f934b}=this[_0xbaefd9(0x168)][_0xbaefd9(0x1c0)](_0x10f723);this[_0xbaefd9(0x182)]=new Map(_0x800a1b),this[_0xbaefd9(0x1a3)]=new Map(_0x236486(_0x2f934b));for(const [_0x457d77,_0x368fdb]of this[_0xbaefd9(0x182)])if(_0xbaefd9(0x1db)!==_0x457d77&&(this[_0xbaefd9(0x23f)][_0xbaefd9(0x263)](_0x457d77,N(_0x368fdb)),this[_0xbaefd9(0x1e8)]=new Map(_0x236486(_0x2f934b)),_0x5f343f)){const _0x48adee=this[_0xbaefd9(0x1cc)];this[_0xbaefd9(0x266)][_0xbaefd9(0x263)](_0x457d77,this[_0xbaefd9(0x210)](_0x368fdb)),this[_0xbaefd9(0x1d7)][_0xbaefd9(0x263)](_0x457d77,this[_0xbaefd9(0x210)](_0x368fdb,_0x48adee));}this[_0xbaefd9(0x16b)]=this[_0xbaefd9(0x1cc)],this[_0xbaefd9(0x23f)][_0xbaefd9(0x263)](_0xbaefd9(0x1db),N(this[_0xbaefd9(0x182)][_0xbaefd9(0x1c0)](_0xbaefd9(0x1db)))),_0x5f343f&&this[_0xbaefd9(0x266)][_0xbaefd9(0x263)](_0xbaefd9(0x1db),this[_0xbaefd9(0x210)](this[_0xbaefd9(0x182)][_0xbaefd9(0x1c0)](_0xbaefd9(0x1db))));for(const [_0xcc756f,_0x5e6165]of _0x197841){const _0x3794df=this[_0xbaefd9(0x182)][_0xbaefd9(0x1c0)](_0x5e6165[_0xbaefd9(0x1f6)]),_0xb34058=this[_0xbaefd9(0x23f)][_0xbaefd9(0x1c0)](_0x5e6165[_0xbaefd9(0x1f6)]),_0x1f3fad=new _0x51610e(this[_0xbaefd9(0x20f)](_0x5e6165[_0xbaefd9(0x1c9)],_0x3794df),this[_0xbaefd9(0x20f)](_0x5e6165[_0xbaefd9(0x218)],_0x3794df)),_0x3996ce=this[_0xbaefd9(0x1f7)](_0x1f3fad,_0xb34058);_0x3794df[_0xbaefd9(0x214)][_0xbaefd9(0x263)](_0xcc756f,_0x1f3fad),this[_0xbaefd9(0x206)][_0xbaefd9(0x263)](_0xcc756f,_0x3996ce);}this[_0xbaefd9(0x1a7)](_0x10f723,_0x25d6a6,_0x5f343f);}[_0x43de5a(0x1a7)](_0x4e3a9f,_0x1f4dbe,_0x202f69){const _0x240c3d=_0x43de5a;for(const _0x4a1b2d of this[_0x240c3d(0x1c4)][_0x240c3d(0x16a)](_0x4e3a9f,_0x1f4dbe))this[_0x240c3d(0x1bc)](_0x4a1b2d,_0x202f69);for(const _0x5be259 of this[_0x240c3d(0x23f)][_0x240c3d(0x25c)]())_0x5be259[_0x240c3d(0x214)][_0x240c3d(0x192)]();for(const [_0x1755e4,_0x217aa5]of this[_0x240c3d(0x206)]){this[_0x240c3d(0x23f)][_0x240c3d(0x1c0)](_0x217aa5[_0x240c3d(0x1a0)][_0x240c3d(0x1f6)])[_0x240c3d(0x214)][_0x240c3d(0x263)](_0x1755e4,_0x217aa5[_0x240c3d(0x203)]());}const _0x10e1e9=new Map(),_0x427d96=new Map();for(const [_0x3bb04f,_0x1120d6]of this[_0x240c3d(0x23f)])_0x10e1e9[_0x240c3d(0x263)](_0x3bb04f,N(_0x1120d6)),_0x427d96[_0x240c3d(0x263)](_0x3bb04f,this[_0x240c3d(0x1e8)][_0x240c3d(0x1c0)](_0x3bb04f));this[_0x240c3d(0x1aa)](_0x1f4dbe,_0x10e1e9,this[_0x240c3d(0x206)],_0x427d96);}[_0x43de5a(0x278)](_0x5e628f){const _0x359b6e=_0x43de5a,_0x1e095f=Array[_0x359b6e(0x216)](this[_0x359b6e(0x168)][_0x359b6e(0x196)]());_0x1e095f[_0x359b6e(0x175)]((_0x3075d4,_0x474d56)=>_0x3075d4-_0x474d56),_0x1e095f[_0x359b6e(0x151)]();for(const _0x27bc0a of _0x1e095f)if(_0x27bc0a<_0x5e628f)return _0x27bc0a;return Number[_0x359b6e(0x14a)];}[_0x43de5a(0x173)](_0x275af2,_0x278968){const _0x1924b3=_0x43de5a,_0x3751f8=Array[_0x1924b3(0x216)](_0x278968[_0x1924b3(0x214)])[_0x1924b3(0x1fd)](([_0x30560d,_0x1b3c7b])=>[_0x30560d,this[_0x1924b3(0x1f7)](_0x1b3c7b,_0x275af2)]);_0x275af2[_0x1924b3(0x214)]=new Map(_0x3751f8);}[_0x43de5a(0x234)](_0x3aca4c){const _0x506ca5=_0x43de5a;for(const _0x374234 of this[_0x506ca5(0x206)][_0x506ca5(0x25c)]()){const _0x1ab68b=_0x374234[_0x506ca5(0x273)](_0x3aca4c),_0x459824=_0x51610e[_0x506ca5(0x156)](_0x1ab68b);_0x374234[_0x506ca5(0x1c9)]=_0x459824[_0x506ca5(0x1c9)],_0x374234[_0x506ca5(0x218)]=_0x459824[_0x506ca5(0x218)];}}[_0x43de5a(0x1bc)](_0xd92843,_0x12bf43){const _0x2b23b8=_0x43de5a;if(_0x2b23b8(0x269)!=_0xd92843[_0x2b23b8(0x231)]&&_0x2b23b8(0x14b)!=_0xd92843[_0x2b23b8(0x231)]){if(_0x2b23b8(0x20a)==_0xd92843[_0x2b23b8(0x231)]){const _0x2045ee=_0xd92843[_0x2b23b8(0x181)][_0x2b23b8(0x1a0)][_0x2b23b8(0x1f6)];this[_0x2b23b8(0x23f)][_0x2b23b8(0x1e3)](_0x2045ee)||(this[_0x2b23b8(0x23f)][_0x2b23b8(0x263)](_0x2045ee,P(_0x2045ee,!0x0)),this[_0x2b23b8(0x1e8)][_0x2b23b8(0x263)](_0x2045ee,{}),_0x12bf43&&this[_0x2b23b8(0x266)][_0x2b23b8(0x263)](_0x2045ee,P(_0x2045ee,!0x0)));}else{if(_0x2b23b8(0x170)==_0xd92843[_0x2b23b8(0x231)]||_0x2b23b8(0x22d)==_0xd92843[_0x2b23b8(0x231)]||_0x2b23b8(0x1f1)==_0xd92843[_0x2b23b8(0x231)])return void this[_0x2b23b8(0x21c)](_0xd92843);_0x2b23b8(0x253)==_0xd92843[_0x2b23b8(0x231)]&&this[_0x2b23b8(0x281)](_0xd92843);}if(_0x2b23b8(0x253)!==_0xd92843[_0x2b23b8(0x231)]){const _0x218f8a=this[_0x2b23b8(0x1e1)](_0xd92843,this[_0x2b23b8(0x23f)]);_0x218f8a[_0x2b23b8(0x1b4)](),this[_0x2b23b8(0x234)](_0x218f8a);}if(_0x12bf43)switch(_0xd92843[_0x2b23b8(0x231)]){case _0x2b23b8(0x20a):this[_0x2b23b8(0x246)](_0xd92843);break;case _0x2b23b8(0x1cd):case _0x2b23b8(0x22a):case _0x2b23b8(0x1b2):this[_0x2b23b8(0x167)](_0xd92843);break;case _0x2b23b8(0x27f):this[_0x2b23b8(0x22e)](_0xd92843);break;case _0x2b23b8(0x1fb):this[_0x2b23b8(0x16f)](_0xd92843);}}else this[_0x2b23b8(0x243)](_0xd92843,_0x12bf43);}[_0x43de5a(0x1e1)](_0x1f14b0,_0x171fab){const _0x25150a=_0x43de5a,_0x4730eb=_0x1f14b0[_0x25150a(0x203)]();return _0x4730eb[_0x25150a(0x227)]=_0x1f14b0[_0x25150a(0x227)],this[_0x25150a(0x195)](_0x4730eb,_0x171fab),_0x4730eb;}[_0x43de5a(0x241)](_0x5af27e){const _0xc5cdbd=_0x43de5a;return _0x5af27e[_0xc5cdbd(0x1fd)](_0x58fc98=>{const _0x593695=_0xc5cdbd,_0x4acb36=this[_0x593695(0x204)](_0x58fc98);return Number(_0x58fc98[_0x593695(0x256)][_0x593695(0x149)](_0x4acb36));});}[_0x43de5a(0x188)](_0x47ec5e,_0x654add){const _0x1164ef=_0x43de5a;if(_0x47ec5e['is'](_0x1164ef(0x194),_0x1164ef(0x23d)))_0x654add[_0x1164ef(0x267)]({'item':_0x47ec5e,'type':_0x1164ef(0x1da)});else{_0x47ec5e['is'](_0x1164ef(0x194))&&_0x654add[_0x1164ef(0x267)]({'item':_0x47ec5e,'type':_0x1164ef(0x261)});for(const _0x42ccda of _0x47ec5e[_0x1164ef(0x254)]())this[_0x1164ef(0x188)](_0x42ccda,_0x654add);_0x47ec5e['is'](_0x1164ef(0x194))&&_0x654add[_0x1164ef(0x267)]({'item':_0x47ec5e,'type':_0x1164ef(0x21b)});}return _0x654add;}[_0x43de5a(0x191)](){const _0x26fd5d=_0x43de5a,_0x1db9c6=new Map(this[_0x26fd5d(0x22c)]),_0x583734=new Map(_0x1db9c6),_0x2c61ef=new Map(),_0x25792a={'insertions':{},'deletions':{}},_0x3acbf4={'insertions':{},'deletions':{}},_0x1be8a6=new Map(),_0x3bc779=new Set([...this[_0x26fd5d(0x182)][_0x26fd5d(0x196)](),...this[_0x26fd5d(0x23f)][_0x26fd5d(0x196)]()]);_0x3bc779[_0x26fd5d(0x1d3)](_0x26fd5d(0x1db));for(const _0x75af2a of _0x3bc779){const _0x348574=this[_0x26fd5d(0x23f)][_0x26fd5d(0x1c0)](_0x75af2a)||P(_0x75af2a,!0x1),_0x58f1c2=this[_0x26fd5d(0x182)][_0x26fd5d(0x1c0)](_0x75af2a)||P(_0x75af2a,!0x1);_0x348574[_0x26fd5d(0x1ed)]()||_0x58f1c2[_0x26fd5d(0x1ed)]()?(_0x25792a[_0x26fd5d(0x174)][_0x75af2a]=N(_0x348574),_0x25792a[_0x26fd5d(0x1b0)][_0x75af2a]=N(_0x58f1c2),this[_0x26fd5d(0x173)](_0x25792a[_0x26fd5d(0x1b0)][_0x75af2a],_0x58f1c2),this[_0x26fd5d(0x173)](_0x25792a[_0x26fd5d(0x174)][_0x75af2a],_0x348574),_0x3acbf4[_0x26fd5d(0x174)][_0x75af2a]=this[_0x26fd5d(0x188)](this[_0x26fd5d(0x266)][_0x26fd5d(0x1c0)](_0x75af2a),[]),_0x3acbf4[_0x26fd5d(0x1b0)][_0x75af2a]=this[_0x26fd5d(0x188)](this[_0x26fd5d(0x1d7)][_0x26fd5d(0x1c0)](_0x75af2a)||P(_0x75af2a,!0x1),[])):_0x3bc779[_0x26fd5d(0x1d3)](_0x75af2a);}for(const _0x1508fa of _0x3bc779){const _0x59d53a=_0x3acbf4[_0x26fd5d(0x174)][_0x1508fa];for(const _0x7a6fc3 of _0x59d53a){const _0x5ac846=this[_0x26fd5d(0x204)](_0x7a6fc3),_0x285e68=_0x7a6fc3[_0x26fd5d(0x256)][_0x26fd5d(0x149)](_0x5ac846);_0x583734[_0x26fd5d(0x1d3)](_0x285e68),_0x285e68>=this[_0x26fd5d(0x16b)]&&_0x2c61ef[_0x26fd5d(0x263)](_0x285e68,_0x1db9c6[_0x26fd5d(0x1c0)](_0x285e68));}}for(const _0x30ca87 of _0x3bc779){const _0x6e2129=_0x3acbf4[_0x26fd5d(0x174)][_0x30ca87],_0x5870f9=this[_0x26fd5d(0x241)](_0x3acbf4[_0x26fd5d(0x1b0)][_0x30ca87]);let _0x358e14=0x0;for(const _0x197473 of _0x6e2129){const _0x1fb6fe=this[_0x26fd5d(0x204)](_0x197473),_0x239a38=_0x197473[_0x26fd5d(0x256)][_0x26fd5d(0x149)](_0x1fb6fe);if(!_0x2c61ef[_0x26fd5d(0x1e3)](_0x239a38)&&!_0x1be8a6[_0x26fd5d(0x1e3)](_0x239a38)){if(_0x583734[_0x26fd5d(0x1e3)](_0x239a38))_0x358e14++;else{if(_0x239a38!=_0x5870f9[_0x358e14]){const _0x1d7733=_0x1db9c6[_0x26fd5d(0x1c0)](_0x239a38)||_0x1db9c6[_0x26fd5d(0x1c0)](_0x5870f9[_0x358e14]);for(;_0x239a38!=_0x5870f9[_0x358e14];)_0x583734[_0x26fd5d(0x1e3)](_0x5870f9[_0x358e14])||(_0x1be8a6[_0x26fd5d(0x263)](_0x5870f9[_0x358e14],_0x1d7733),_0x1db9c6[_0x26fd5d(0x263)](_0x5870f9[_0x358e14],_0x1d7733)),_0x358e14++;}_0x358e14++;}}}}for(const _0x4c9e76 of _0x3bc779){const _0x59a609=_0x3acbf4[_0x26fd5d(0x174)][_0x4c9e76];for(const _0x24fc98 of _0x59a609){const _0x1a5722=this[_0x26fd5d(0x204)](_0x24fc98),_0x1fa6d1=_0x24fc98[_0x26fd5d(0x256)][_0x26fd5d(0x149)](_0x1a5722);if(_0x1be8a6[_0x26fd5d(0x1e3)](_0x1fa6d1)){const _0x103885=_0x1be8a6[_0x26fd5d(0x1c0)](_0x1fa6d1);_0x583734[_0x26fd5d(0x1e3)](_0x1fa6d1)||_0x583734[_0x26fd5d(0x263)](_0x1fa6d1,{..._0x103885}),_0x2c61ef[_0x26fd5d(0x263)](_0x1fa6d1,{..._0x103885});}}}for(const _0x1d8db5 of _0x583734[_0x26fd5d(0x196)]())_0x1d8db5>=this[_0x26fd5d(0x16b)]&&_0x583734[_0x26fd5d(0x1d3)](_0x1d8db5);const _0x5e62b6=new Map();for(const _0x4db011 of _0x3bc779){let _0x572c1f=_0x3acbf4[_0x26fd5d(0x174)][_0x4db011];for(const _0x55b57e of _0x572c1f)if(_0x55b57e[_0x26fd5d(0x256)]['is'](_0x26fd5d(0x194),_0x26fd5d(0x288))){const _0x46076d=this[_0x26fd5d(0x204)](_0x55b57e),_0x45e974=_0x55b57e[_0x26fd5d(0x256)][_0x26fd5d(0x149)](_0x46076d);if(_0x2c61ef[_0x26fd5d(0x1e3)](_0x45e974)){const _0x1d9aea=_0x55b57e[_0x26fd5d(0x256)][_0x26fd5d(0x245)][_0x26fd5d(0x245)][_0x26fd5d(0x149)](_0x26fd5d(0x186)),_0x80a443=_0x5e62b6[_0x26fd5d(0x1c0)](_0x1d9aea)||new Set();_0x80a443[_0x26fd5d(0x1a8)](_0x2c61ef[_0x26fd5d(0x1c0)](_0x45e974)[_0x26fd5d(0x199)]),_0x5e62b6[_0x26fd5d(0x263)](_0x1d9aea,_0x80a443);}}_0x572c1f=_0x3acbf4[_0x26fd5d(0x1b0)][_0x4db011];for(const _0x3d58b7 of _0x572c1f)if(_0x3d58b7[_0x26fd5d(0x256)]['is'](_0x26fd5d(0x194),_0x26fd5d(0x288))){const _0x58b8a3=this[_0x26fd5d(0x204)](_0x3d58b7),_0x1ccd0b=_0x3d58b7[_0x26fd5d(0x256)][_0x26fd5d(0x149)](_0x58b8a3);if(_0x583734[_0x26fd5d(0x1e3)](_0x1ccd0b)){const _0x593487=_0x3d58b7[_0x26fd5d(0x256)][_0x26fd5d(0x245)][_0x26fd5d(0x245)][_0x26fd5d(0x149)](_0x26fd5d(0x186)),_0xdcbebf=_0x5e62b6[_0x26fd5d(0x1c0)](_0x593487)||new Set();_0xdcbebf[_0x26fd5d(0x1a8)](_0x583734[_0x26fd5d(0x1c0)](_0x1ccd0b)[_0x26fd5d(0x199)]),_0x5e62b6[_0x26fd5d(0x263)](_0x593487,_0xdcbebf);}}for(const _0x5d91b9 of _0x5e62b6[_0x26fd5d(0x196)]())(_0x2c61ef[_0x26fd5d(0x1e3)](_0x5d91b9)||_0x583734[_0x26fd5d(0x1e3)](_0x5d91b9))&&_0x5e62b6[_0x26fd5d(0x1d3)](_0x5d91b9);}for(const _0x3339c9 of _0x3bc779){const _0x16f54c=_0x3acbf4[_0x26fd5d(0x174)][_0x3339c9];let _0x246109=null,_0x495bfb=null;for(const _0x127c87 of _0x16f54c){const _0xe6772c=this[_0x26fd5d(0x204)](_0x127c87),_0x4eed3a=_0x127c87[_0x26fd5d(0x256)][_0x26fd5d(0x149)](_0xe6772c),_0x5378e4=_0x5e62b6[_0x26fd5d(0x1c0)](_0x4eed3a);_0x5378e4&&_0x26fd5d(0x261)==_0x127c87[_0x26fd5d(0x231)]&&(_0x246109=Array[_0x26fd5d(0x216)](_0x5378e4)[0x0],_0x495bfb=_0x127c87[_0x26fd5d(0x256)][_0x26fd5d(0x149)](_0x26fd5d(0x1e0))),_0x246109&&(_0x583734[_0x26fd5d(0x263)](_0x4eed3a,{'userId':_0x246109}),_0x2c61ef[_0x26fd5d(0x263)](_0x4eed3a,{'userId':_0x246109})),_0x4eed3a==_0x495bfb&&(_0x246109=null,_0x495bfb=null);}}const _0x43d168={},_0x5ce032=new Set();for(const _0x2c4bfe of _0x3bc779){const _0x415116=_0x25792a[_0x26fd5d(0x1b0)][_0x2c4bfe],_0x320cab=_0x25792a[_0x26fd5d(0x174)][_0x2c4bfe];for(const {userId:_0xe19b02}of this[_0x26fd5d(0x1f2)][_0x26fd5d(0x25c)]())null!==_0xe19b02&&_0x5ce032[_0x26fd5d(0x1a8)](_0xe19b02);for(const {userId:_0x48886c}of this[_0x26fd5d(0x1b8)][_0x26fd5d(0x25c)]())null!==_0x48886c&&_0x5ce032[_0x26fd5d(0x1a8)](_0x48886c);this[_0x26fd5d(0x255)](_0x320cab,_0x3acbf4[_0x26fd5d(0x174)][_0x2c4bfe],_0x2c61ef,_0x26fd5d(0x27b),_0x5ce032),this[_0x26fd5d(0x255)](_0x415116,_0x3acbf4[_0x26fd5d(0x1b0)][_0x2c4bfe],_0x583734,_0x26fd5d(0x1fe),_0x5ce032),_0x43d168[_0x2c4bfe]={'insertions':this[_0x26fd5d(0x1ea)](_0x320cab),'deletions':this[_0x26fd5d(0x1ea)](_0x415116),'attachChange':this[_0x26fd5d(0x1b8)][_0x26fd5d(0x1c0)](_0x2c4bfe)||null,'attributesBefore':_0x236486(this[_0x26fd5d(0x1a3)][_0x26fd5d(0x1c0)](_0x2c4bfe))||{},'attributesAfter':_0x236486(this[_0x26fd5d(0x1e8)][_0x26fd5d(0x1c0)](_0x2c4bfe))};}return{'diffData':_0x43d168,'authorsIds':Array[_0x26fd5d(0x216)](_0x5ce032)};}[_0x43de5a(0x14d)](_0x3515db){const _0x2b09fa=_0x43de5a;for(const [,_0x5d7caf]of _0x3515db[_0x2b09fa(0x214)]){const _0x209b2a=_0x5d7caf[_0x2b09fa(0x1c9)][_0x2b09fa(0x197)]()[_0x2b09fa(0x15b)](_0x2ee701=>_0x2b09fa(0x288)==_0x2ee701[_0x2b09fa(0x230)]);for(const _0x54a648 of _0x209b2a)0x1==_0x54a648[_0x2b09fa(0x224)]&&_0x54a648[_0x2b09fa(0x1a1)](0x0)['is'](_0x2b09fa(0x194),_0x2b09fa(0x247))&&_0x54a648[_0x2b09fa(0x1a1)](0x0)[_0x2b09fa(0x171)](_0x2b09fa(0x277),!0x0);}}[_0x43de5a(0x1ea)](_0x24734e){const _0x53baaa=_0x43de5a;this[_0x53baaa(0x14d)](_0x24734e);const _0x2533e4=this[_0x53baaa(0x26d)][_0x53baaa(0x215)][_0x53baaa(0x27c)](_0x24734e,{}),_0x126f9d=Array[_0x53baaa(0x216)](_0x2533e4[_0x53baaa(0x254)]())[_0x53baaa(0x1fd)](_0x4a496f=>this[_0x53baaa(0x25f)](_0x4a496f));return JSON[_0x53baaa(0x27a)](_0x126f9d);}[_0x43de5a(0x25f)](_0x4c08d1){const _0x5e59fd=_0x43de5a;if(_0x4c08d1['is'](_0x5e59fd(0x23d)))return _0x4c08d1[_0x5e59fd(0x215)];{const _0x4a4e3c=this[_0x5e59fd(0x26d)][_0x5e59fd(0x1d5)][_0x5e59fd(0x1c0)](_0x5e59fd(0x1d9)),_0x468348=_0x4c08d1,_0x518ae2=this[_0x5e59fd(0x26d)][_0x5e59fd(0x215)][_0x5e59fd(0x1a4)][_0x5e59fd(0x250)],_0x3b68d8={'type':_0x4a4e3c[_0x5e59fd(0x1c3)](_0x468348),'name':_0x468348[_0x5e59fd(0x230)],'attributes':Array[_0x5e59fd(0x216)](_0x468348[_0x5e59fd(0x1ff)]()),'children':Array[_0x5e59fd(0x216)](_0x468348[_0x5e59fd(0x254)]())[_0x5e59fd(0x1fd)](_0x1ed256=>this[_0x5e59fd(0x25f)](_0x1ed256))};if(_0x4c08d1['is'](_0x5e59fd(0x17f))&&_0x5e59fd(0x163)!=_0x4c08d1[_0x5e59fd(0x230)]){const _0x46b35f=_0x4c08d1[_0x5e59fd(0x19e)](_0x518ae2[_0x5e59fd(0x187)],_0x518ae2);_0x3b68d8[_0x5e59fd(0x1a2)][_0x5e59fd(0x267)](_0x46b35f[_0x5e59fd(0x183)]);}else{if(_0x4c08d1['is'](_0x5e59fd(0x251))){const _0x54d943=_0x518ae2[_0x5e59fd(0x187)][_0x5e59fd(0x284)](_0x468348[_0x5e59fd(0x230)]);_0x4c08d1[_0x5e59fd(0x19e)](_0x54d943,_0x518ae2),_0x3b68d8[_0x5e59fd(0x1a2)][_0x5e59fd(0x267)](_0x54d943[_0x5e59fd(0x1ce)]);}}const _0x498815=Array[_0x5e59fd(0x216)](_0x468348[_0x5e59fd(0x1d1)]());_0x498815[_0x5e59fd(0x217)]>0x0&&(_0x3b68d8[_0x5e59fd(0x19b)]=_0x498815);const _0x20932e=_0x468348[_0x5e59fd(0x228)]();return null!==_0x20932e&&(_0x3b68d8[_0x5e59fd(0x15f)]=_0x20932e),_0x3b68d8;}}[_0x43de5a(0x255)](_0x54f2aa,_0x3fa7e6,_0xf4f689,_0x135c63,_0x246d9c){const _0x331283=_0x43de5a;let _0x166137=null,_0x5c604c=null,_0x356d7a=0x0;const _0x15671e=this[_0x331283(0x26d)][_0x331283(0x1b6)];for(let _0x10613e=0x0;_0x10613e<_0x3fa7e6[_0x331283(0x217)];_0x10613e++){const _0x3096f1=this[_0x331283(0x204)](_0x3fa7e6[_0x10613e]),_0x211a86=_0x3fa7e6[_0x10613e][_0x331283(0x256)][_0x331283(0x149)](_0x3096f1),_0x310bdb=_0xf4f689[_0x331283(0x1c0)](_0x211a86),_0x4ff897=_0x10613e==_0x3fa7e6[_0x331283(0x217)]-0x1;(!_0x166137&&_0x310bdb&&(_0x166137=_0x310bdb,_0x5c604c=_0x3fa7e6[_0x10613e]),_0x166137&&(!_0x310bdb||_0x310bdb[_0x331283(0x199)]!=_0x166137[_0x331283(0x199)]))&&(_0x5c5374(_0x310bdb,F(_0x5c604c,_0x54f2aa,_0x15671e),F(_0x3fa7e6[_0x10613e],_0x54f2aa,_0x15671e)),_0x166137=_0x310bdb||null,_0x5c604c=_0x310bdb?_0x3fa7e6[_0x10613e]:null),_0x166137&&_0x4ff897&&_0x5c5374(_0x310bdb,F(_0x5c604c,_0x54f2aa,_0x15671e),B(_0x3fa7e6[_0x10613e],_0x54f2aa,_0x15671e));}function _0x5c5374(_0x3ed696,_0x1bab6f,_0x289b7d){const _0xd3a5e7=_0x331283,_0x5de539=_0x166137[_0xd3a5e7(0x199)],_0xa2d846=_0xd3a5e7(0x285)+_0x135c63+':'+_0x5de539+':'+_0x356d7a++,_0x11d650=_0x15671e[_0xd3a5e7(0x18c)](_0x1bab6f,_0x289b7d);_0x54f2aa[_0xd3a5e7(0x214)][_0xd3a5e7(0x263)](_0xa2d846,_0x11d650),null!==_0x5de539&&_0x246d9c[_0xd3a5e7(0x1a8)](_0x5de539);}}[_0x43de5a(0x204)](_0x141a7c){const _0x233561=_0x43de5a;switch(_0x141a7c[_0x233561(0x231)]){case _0x233561(0x261):return _0x233561(0x186);case _0x233561(0x21b):return _0x233561(0x1e0);default:return _0x233561(0x23c);}}[_0x43de5a(0x195)](_0x502171,_0x3ff026){const _0x23bc4f=_0x43de5a;_0x502171[_0x23bc4f(0x1bf)]=null;for(const _0x5dee29 in _0x502171){const _0x48e034=_0x502171[_0x5dee29];if(_0x48e034 instanceof _0xf8d58f){const _0x3f3e21=_0x3ff026[_0x23bc4f(0x1c0)](_0x48e034[_0x23bc4f(0x1a0)][_0x23bc4f(0x1f6)]);_0x502171[_0x5dee29]=this[_0x23bc4f(0x20f)](_0x48e034,_0x3f3e21);}if(_0x48e034 instanceof _0x51610e){const _0x302638=_0x3ff026[_0x23bc4f(0x1c0)](_0x48e034[_0x23bc4f(0x1a0)][_0x23bc4f(0x1f6)]);_0x502171[_0x5dee29]=this[_0x23bc4f(0x1f7)](_0x48e034,_0x302638);}_0x23bc4f(0x1a0)===_0x5dee29&&(_0x502171[_0x23bc4f(0x1a0)]=_0x3ff026[_0x23bc4f(0x1c0)](_0x502171[_0x23bc4f(0x1a0)][_0x23bc4f(0x1f6)]));}}[_0x43de5a(0x1f7)](_0x38894d,_0xe7bc5f){const _0x290669=_0x43de5a;return this[_0x290669(0x26d)][_0x290669(0x1b6)][_0x290669(0x18c)](this[_0x290669(0x20f)](_0x38894d[_0x290669(0x1c9)],_0xe7bc5f),this[_0x290669(0x20f)](_0x38894d[_0x290669(0x218)],_0xe7bc5f));}[_0x43de5a(0x20f)](_0x5f19c4,_0x34c988){const _0x5c3a06=_0x43de5a;return this[_0x5c3a06(0x26d)][_0x5c3a06(0x1b6)][_0x5c3a06(0x1fc)](_0x34c988,_0x5f19c4[_0x5c3a06(0x148)],_0x5f19c4[_0x5c3a06(0x21e)]);}[_0x43de5a(0x246)](_0x5b3582){const _0x1f2637=_0x43de5a,_0x413863=this[_0x1f2637(0x266)][_0x1f2637(0x1c0)](_0x5b3582[_0x1f2637(0x181)][_0x1f2637(0x1a0)][_0x1f2637(0x1f6)]),_0x39f560=this[_0x1f2637(0x20f)](_0x5b3582[_0x1f2637(0x181)],_0x413863),_0x10f8a1=null===_0x5b3582[_0x1f2637(0x227)]?null:_0x5b3582[_0x1f2637(0x227)]||this[_0x1f2637(0x26d)][_0x1f2637(0x1d5)][_0x1f2637(0x1c0)](_0x1f2637(0x24e))['me']['id'],_0x21748b=_0x39f560[_0x1f2637(0x245)],_0x33abb1=this[_0x1f2637(0x1cc)],_0x59d11b=[];for(const _0x3af80e of _0x5b3582[_0x1f2637(0x18f)])if(_0x3af80e['is'](_0x1f2637(0x194)))_0x59d11b[_0x1f2637(0x267)](this[_0x1f2637(0x210)](_0x3af80e));else{for(let _0x1e521b=0x0;_0x1e521b<_0x3af80e[_0x1f2637(0x1de)];_0x1e521b++)_0x59d11b[_0x1f2637(0x267)](new _0x4cc128(_0x1f2637(0x23d),{'vid':this[_0x1f2637(0x1cc)]++}));}const _0xf529d7=this[_0x1f2637(0x1cc)];for(let _0x4dcb8c=_0x33abb1;_0x4dcb8c<_0xf529d7;_0x4dcb8c++)this[_0x1f2637(0x22c)][_0x1f2637(0x263)](_0x4dcb8c,{'userId':_0x10f8a1});_0x21748b[_0x1f2637(0x24b)](_0x39f560[_0x1f2637(0x17b)],_0x59d11b);}[_0x43de5a(0x167)](_0x2a4fc9){const _0x508d00=_0x43de5a;(_0x2a4fc9=this[_0x508d00(0x1e1)](_0x2a4fc9,this[_0x508d00(0x266)]))[_0x508d00(0x1b4)]();const _0x5b85ff=null===_0x2a4fc9[_0x508d00(0x227)]?null:_0x2a4fc9[_0x508d00(0x227)]||this[_0x508d00(0x26d)][_0x508d00(0x1d5)][_0x508d00(0x1c0)](_0x508d00(0x24e))['me']['id'],_0x41b87d=_0x2a4fc9[_0x508d00(0x249)](),_0x460741=_0x41b87d[_0x508d00(0x245)],_0x288007=_0x41b87d[_0x508d00(0x17b)];!function _0x5288d9(_0x303cd7,_0x19b76d,_0x5471d6,_0xfdc9b6){const _0x3962c1=_0x508d00;for(let _0x524a02=_0x5471d6;_0x524a02<_0xfdc9b6;_0x524a02++){const _0x16ccac=_0x19b76d[_0x3962c1(0x1a1)](_0x524a02);_0x16ccac['is'](_0x3962c1(0x194),_0x3962c1(0x23d))?_0x303cd7[_0x3962c1(0x263)](_0x16ccac[_0x3962c1(0x149)](_0x3962c1(0x23c)),{'userId':_0x5b85ff}):(_0x303cd7[_0x3962c1(0x263)](_0x16ccac[_0x3962c1(0x149)](_0x3962c1(0x186)),{'userId':_0x5b85ff}),_0x5288d9(_0x303cd7,_0x16ccac,0x0,_0x16ccac[_0x3962c1(0x224)]),_0x303cd7[_0x3962c1(0x263)](_0x16ccac[_0x3962c1(0x149)](_0x3962c1(0x1e0)),{'userId':_0x5b85ff}));}}(this[_0x508d00(0x22c)],_0x460741,_0x288007,_0x288007+_0x2a4fc9[_0x508d00(0x252)]);}[_0x43de5a(0x22e)](_0x3a515e){const _0x18c7ff=_0x43de5a,_0x2fa971=null===(_0x3a515e=this[_0x18c7ff(0x1e1)](_0x3a515e,this[_0x18c7ff(0x266)]))[_0x18c7ff(0x227)]?null:_0x3a515e[_0x18c7ff(0x227)]||this[_0x18c7ff(0x26d)][_0x18c7ff(0x1d5)][_0x18c7ff(0x1c0)](_0x18c7ff(0x24e))['me']['id'],_0xab33e2=_0x3a515e[_0x18c7ff(0x189)][_0x18c7ff(0x245)],_0x8c98b1=_0x3a515e[_0x18c7ff(0x280)][_0x18c7ff(0x245)],_0x5606d7=_0xab33e2[_0x18c7ff(0x149)](_0x18c7ff(0x1e0)),_0x23151a=_0x8c98b1[_0x18c7ff(0x149)](_0x18c7ff(0x186));_0xab33e2[_0x18c7ff(0x171)](_0x18c7ff(0x1e0),_0x8c98b1[_0x18c7ff(0x149)](_0x18c7ff(0x1e0))),_0x8c98b1[_0x18c7ff(0x171)](_0x18c7ff(0x1e0),_0x5606d7),this[_0x18c7ff(0x22c)][_0x18c7ff(0x263)](_0x23151a,{'userId':_0x2fa971}),this[_0x18c7ff(0x22c)][_0x18c7ff(0x263)](_0x5606d7,{'userId':_0x2fa971}),_0x3a515e[_0x18c7ff(0x1b4)]();}[_0x43de5a(0x16f)](_0x16d303){const _0x183512=_0x43de5a,_0x3ea3ba=null===(_0x16d303=this[_0x183512(0x1e1)](_0x16d303,this[_0x183512(0x266)]))[_0x183512(0x227)]?null:_0x16d303[_0x183512(0x227)]||this[_0x183512(0x26d)][_0x183512(0x1d5)][_0x183512(0x1c0)](_0x183512(0x24e))['me']['id'],_0x1499a4=_0x16d303[_0x183512(0x200)],_0x32a228=_0x16d303[_0x183512(0x1ac)][_0x183512(0x245)];_0x16d303[_0x183512(0x1b4)]();const _0xed3f25=_0x32a228[_0x183512(0x149)](_0x183512(0x1e0)),_0x3bae90=_0x16d303[_0x183512(0x264)][_0x183512(0x260)];if(_0x1499a4){const _0x42596c=_0x3bae90[_0x183512(0x149)](_0x183512(0x1e0)),_0xe6a0a4=_0x32a228[_0x183512(0x149)](_0x183512(0x1e0));_0x32a228[_0x183512(0x171)](_0x183512(0x1e0),_0x42596c),_0x3bae90[_0x183512(0x171)](_0x183512(0x1e0),_0xe6a0a4),this[_0x183512(0x22c)][_0x183512(0x263)](_0x32a228[_0x183512(0x149)](_0x183512(0x1e0)),{'userId':_0x3ea3ba}),this[_0x183512(0x22c)][_0x183512(0x263)](_0x3bae90[_0x183512(0x149)](_0x183512(0x186)),{'userId':_0x3ea3ba});}else{const _0x172dae=this[_0x183512(0x1cc)]++,_0x5e8e80=this[_0x183512(0x1cc)]++;_0x32a228[_0x183512(0x171)](_0x183512(0x1e0),_0x172dae),_0x3bae90[_0x183512(0x171)](_0x183512(0x186),_0x5e8e80),_0x3bae90[_0x183512(0x171)](_0x183512(0x1e0),_0xed3f25),this[_0x183512(0x22c)][_0x183512(0x263)](_0x172dae,{'userId':_0x3ea3ba}),this[_0x183512(0x22c)][_0x183512(0x263)](_0x5e8e80,{'userId':_0x3ea3ba});}}[_0x43de5a(0x281)](_0x23dae0){const _0x30674c=_0x43de5a;if(!_0x23dae0[_0x30674c(0x1f9)])return;const _0x57968e=(_0x23dae0=this[_0x30674c(0x1e1)](_0x23dae0,this[_0x30674c(0x23f)]))[_0x30674c(0x1be)]?_0x23dae0[_0x30674c(0x1be)][_0x30674c(0x1a0)]:null,_0x40286c=_0x23dae0[_0x30674c(0x1e5)]?_0x23dae0[_0x30674c(0x1e5)][_0x30674c(0x1a0)]:null;_0x57968e&&this[_0x30674c(0x206)][_0x30674c(0x1d3)](_0x23dae0[_0x30674c(0x230)]),_0x40286c&&this[_0x30674c(0x206)][_0x30674c(0x263)](_0x23dae0[_0x30674c(0x230)],_0x23dae0[_0x30674c(0x1e5)][_0x30674c(0x203)]());const _0x192672=null===_0x23dae0[_0x30674c(0x227)]?null:_0x23dae0[_0x30674c(0x227)]||this[_0x30674c(0x26d)][_0x30674c(0x1d5)][_0x30674c(0x1c0)](_0x30674c(0x24e))['me']['id'],_0x3d6bca=_0x23dae0[_0x30674c(0x230)];if(!this[_0x30674c(0x1f2)][_0x30674c(0x1e3)](_0x3d6bca))return void this[_0x30674c(0x1f2)][_0x30674c(0x263)](_0x3d6bca,{'range':_0x23dae0[_0x30674c(0x1be)],'userId':_0x192672});const _0x36dbff=this[_0x30674c(0x1f2)][_0x30674c(0x1c0)](_0x3d6bca),_0x5a4058=_0x36dbff[_0x30674c(0x1c7)],_0x306283=_0x23dae0[_0x30674c(0x1e5)];null==_0x5a4058&&null==_0x306283||_0x5a4058&&_0x306283&&_0x5a4058[_0x30674c(0x225)](_0x306283)?this[_0x30674c(0x1f2)][_0x30674c(0x1d3)](_0x23dae0[_0x30674c(0x230)]):_0x36dbff[_0x30674c(0x199)]=_0x192672;}[_0x43de5a(0x243)](_0x188772,_0x53dbb2){const _0x301c1a=_0x43de5a;this[_0x301c1a(0x23f)][_0x301c1a(0x1e3)](_0x188772[_0x301c1a(0x1f6)])?this[_0x301c1a(0x23f)][_0x301c1a(0x1c0)](_0x188772[_0x301c1a(0x1f6)])[_0x301c1a(0x209)]=_0x188772[_0x301c1a(0x19a)]:(this[_0x301c1a(0x23f)][_0x301c1a(0x263)](_0x188772[_0x301c1a(0x1f6)],P(_0x188772[_0x301c1a(0x1f6)],!0x0)),this[_0x301c1a(0x1e8)][_0x301c1a(0x263)](_0x188772[_0x301c1a(0x1f6)],{}),_0x53dbb2&&this[_0x301c1a(0x266)][_0x301c1a(0x263)](_0x188772[_0x301c1a(0x1f6)],P(_0x188772[_0x301c1a(0x1f6)],!0x0)));const _0xdb288a=null===_0x188772[_0x301c1a(0x227)]?null:_0x188772[_0x301c1a(0x227)]||this[_0x301c1a(0x26d)][_0x301c1a(0x1d5)][_0x301c1a(0x1c0)](_0x301c1a(0x24e))['me']['id'],_0x4cde77=this[_0x301c1a(0x1b8)][_0x301c1a(0x1c0)](_0x188772[_0x301c1a(0x1f6)]);_0x4cde77&&_0x4cde77[_0x301c1a(0x199)]===_0xdb288a?this[_0x301c1a(0x1b8)][_0x301c1a(0x1d3)](_0x188772[_0x301c1a(0x1f6)]):this[_0x301c1a(0x1b8)][_0x301c1a(0x263)](_0x188772[_0x301c1a(0x1f6)],{'userId':_0xdb288a,'isAttached':_0x188772[_0x301c1a(0x19a)]});}[_0x43de5a(0x21c)](_0x1ec024){const _0x3204cd=_0x43de5a,_0x2ffc97=this[_0x3204cd(0x1e8)][_0x3204cd(0x1c0)](_0x1ec024[_0x3204cd(0x1a0)][_0x3204cd(0x1f6)]);null===_0x1ec024[_0x3204cd(0x26f)]?delete _0x2ffc97[_0x1ec024[_0x3204cd(0x155)]]:_0x2ffc97[_0x1ec024[_0x3204cd(0x155)]]=_0x1ec024[_0x3204cd(0x26f)];}}function N(_0x9b063b){const _0x3346f7=_0x43de5a,_0x2088e1=P(_0x9b063b[_0x3346f7(0x1f6)],_0x9b063b[_0x3346f7(0x1ed)]());for(const _0x46212f of _0x9b063b[_0x3346f7(0x254)]()){const _0xbb70ca=_0x46212f[_0x3346f7(0x274)](!0x0);_0x2088e1[_0x3346f7(0x15d)](_0xbb70ca);}return _0x2088e1;}function P(_0x39dd12,_0x10e2f8=!0x0){const _0x567815=_0x43de5a,_0x5f1ff6=new _0x5b4701();return _0x5f1ff6[_0x567815(0x1f6)]=_0x39dd12,_0x5f1ff6[_0x567815(0x209)]=_0x10e2f8,_0x5f1ff6[_0x567815(0x1ed)]=()=>_0x5f1ff6[_0x567815(0x209)],_0x5f1ff6;}function F(_0x497e8b,_0x231b3e,_0x42603a){const _0x16d156=_0x43de5a,_0x6d938=_0x16d156(0x21b)==_0x497e8b[_0x16d156(0x231)]?_0x42603a[_0x16d156(0x1ad)](_0x497e8b[_0x16d156(0x256)],_0x16d156(0x218)):_0x42603a[_0x16d156(0x1bd)](_0x497e8b[_0x16d156(0x256)]);return _0x42603a[_0x16d156(0x1fc)](_0x231b3e,_0x6d938[_0x16d156(0x148)],_0x6d938[_0x16d156(0x21e)]);}function B(_0x2b10e6,_0x56358d,_0x48ad80){const _0x509ef5=_0x43de5a,_0xdf1fae=_0x509ef5(0x261)==_0x2b10e6[_0x509ef5(0x231)]?_0x48ad80[_0x509ef5(0x1ad)](_0x2b10e6[_0x509ef5(0x256)],0x0):_0x48ad80[_0x509ef5(0x19d)](_0x2b10e6[_0x509ef5(0x256)]);return _0x48ad80[_0x509ef5(0x1fc)](_0x56358d,_0xdf1fae[_0x509ef5(0x148)],_0xdf1fae[_0x509ef5(0x21e)]);}function _0x2486(){const _0xca01a7=['featureNotAllowed','has','markerToData','newRange','invalid','shift','_diffRootsAttributes','Initial\x20revision','_prepareViewToSave','createRangeIn','_startingVersion','isAttached','_showLicenseError','toVersion','getCurrentRevisionId','changeRootAttribute','_touchedMarkers','getNodeByPath','isEnabled','getUser','rootName','_fixRange','bind','affectsData','revisionHistoryLicenseKeyDomainLimit','split','createPositionFromPath','map','deletion','getAttributes','graveyardPosition','RevisionsRepository','getRevisionDocumentData','clone','_getVidAttributeName','_loadState','_markers','778350BiFAFe','usageLimit','_isAttached','insert','editor-initial-data-replaced-with-revision-data','RevisionTracker','_pendingAction','_revisionDataBuilder','_fixPosition','_makeIdsRoot','authorsIds','getRoot','4484232NgiLsv','markers','data','from','length','end','startsWith','1774140cgZuPJ','elementEnd','_handleRootAttributeOperation','_makeModelFromViewString','stickiness','revisionHistoryLicenseKeyTrialLimit','hasContent','pluginName','_source','creatorId','childCount','isEqual','update','_authorId','getFillerOffset','_utils','remove','upcast','_touched','removeRootAttribute','_handleMergeOperation','revisionHistoryLicenseKeyExpired','name','type','_loadedStateData','requires','_transformMarkers','_bufferedUpdates','revisionHistoryLicenseKeyInvalid','ready','_makeRevision','currentRevision','getWalker','revisionHistoryLicenseKeyNotAllowed','vid','$text','getRevisions','_diffRoots','_isInit','_getBaseVids','_lastTo','_handleRootOperation','_reset','parent','_handleInsertOperation','paragraph','authors','getMovedRangeStart','_addPendingAction','_insertChild','define','afterInit','Users','locale','domConverter','rawElement','howMany','marker','getChildren','_markChanges','item','some','addRevisionData','conversion','version','init','values','_getFromVersion','sendBufferedUpdates','_getViewJson','nodeAfter','elementStart','rootsAttributes','set','insertionPosition','RevisionHistory','_idsRoots','push','config','addRoot','_createCurrentRevision','288eZdNwD','isOfficialPlugin','editor','_isPendingUpdate','newValue','updateRevisions','getData','slice','getTransformedByOperation','_clone','attachChange','revisionHistoryLicenseKeyUsageLimit','keepParagraph','_getPreviousFrom','PendingActions','stringify','insertion','toView','saveRevision','_findInsertionIndex','merge','sourcePosition','_handleMarkerOperation','creator','dataToMarker','createElement','revision:','trim','_update','tableCell','initial','path','getAttribute','NEGATIVE_INFINITY','detachRoot','find','_processRootBeforeSave','setSource','history','_removeMetaData','reverse','diffData','loadRevisionData','isReady','key','_createFromRanges','for','_licenseKeyCheckInterval','attributesAfter','setRevisionData','filter','revisionHistoryLicenseKeyEvaluationLimit','_appendChild','licenseKey','fillerOffset','createRevision','includes','trialLimit','$comment','resolve','_continueCurrentRevision','repository','_handleMoveOperation','_savedMetaData','fromEntries','getOperations','_startingRevisionId','attributesBefore','revisionHistoryLicenseKeyValid','getRevisionRootsAttributes','_handleSplitOperation','addRootAttribute','_setAttribute','isPremiumPlugin','_copyMarkers','insertions','sort','106932lCAfjb','createdAt','previousPosition','addRevision','_replaceEditorDataWithRevisionData','offset','roots','37087wTvVGc','evaluationLimit','uiElement','loadState','position','_baseRoots','outerHTML','reInit','_calculateMetaData','vid_start','domDocument','_generateTape','targetPosition','buildRevisionData','dataDowncast','createRange','finally','_lastFrom','nodes','getRange','_getState','clear','RealTimeCollaborationClient','element','_fixOperation','keys','getAncestors','domainLimit','userId','isAdd','customProperties','_bufferUpdate','createPositionAfter','render','revision','root','getChild','children','_baseRootsAttributes','htmlProcessor','_initialRevisionId','245GNFSqx','_applyOperations','add','getRootNames','_saveMetaData','PENDING_ACTION_REVISION_HISTORY','splitPosition','createPositionAt','_setConversion','getLatestVersion','deletions','string','reinsert','Empty\x20document','_execute','_removePendingAction','model','size','_touchedRoots','expired','getIndex','revisionHistory.resumeUnsavedRevision','_handleOperation','createPositionBefore','oldRange','baseVersion','get','max','12436731CnArji','_getTypeCharForViewElement','source','document','collaboration.channelId','range','getOperation','start','adapter','getRevision','_revisionId','move','innerHTML','62482FzHbIm','fromVersion','getCustomProperties','_operations','delete','destroy','plugins','_createInitialRevision','_baseIdsRoots','documentFragment','RevisionHistoryUtils','text','$graveyard','getTime','then','offsetSize','initialData','vid_end','_cloneOperation'];_0x2486=function(){return _0xca01a7;};return _0x2486();}
|
package/src/revisionviewer.d.ts
CHANGED
|
@@ -10,14 +10,13 @@ import { ContextualBalloon } from 'ckeditor5/src/ui.js';
|
|
|
10
10
|
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
11
11
|
import ChangeDetailsView from './ui/revisionviewer/changedetailsview.js';
|
|
12
12
|
import RevisionsRepository from './revisionsrepository.js';
|
|
13
|
+
import RevisionHistoryUtils from './revisionhistoryutils.js';
|
|
13
14
|
import ChangeItem from './changeitem.js';
|
|
14
15
|
import { default as RevisionDiff } from './revisiondiff.js';
|
|
15
16
|
import '../theme/revisionviewer.css';
|
|
16
|
-
import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
|
|
17
17
|
import type { default as Revision, RevisionJSON } from './revision.js';
|
|
18
18
|
export default class RevisionViewer extends Plugin {
|
|
19
19
|
repository: RevisionsRepository;
|
|
20
|
-
adapter: RevisionHistoryAdapter | null;
|
|
21
20
|
/**
|
|
22
21
|
* @observable
|
|
23
22
|
*/
|
|
@@ -59,14 +58,49 @@ export default class RevisionViewer extends Plugin {
|
|
|
59
58
|
* @inheritDoc
|
|
60
59
|
*/
|
|
61
60
|
static get isPremiumPlugin(): true;
|
|
62
|
-
static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository];
|
|
61
|
+
static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository, typeof RevisionHistoryUtils];
|
|
63
62
|
constructor(editor: Editor);
|
|
64
63
|
init(): void;
|
|
65
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Returns document data for given revision.
|
|
66
|
+
*
|
|
67
|
+
* The document data is HTML or a different format, depending on the editor configuration.
|
|
68
|
+
*
|
|
69
|
+
* This method returns a promise which resolves with an object, where keys are root names and values are these roots' data. Most
|
|
70
|
+
* editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
|
|
71
|
+
* similar to this:
|
|
72
|
+
*
|
|
73
|
+
* ```ts
|
|
74
|
+
* { main: "<p>Sample document data.</p>" }
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* If the adapter integration is used, this method will automatically load necessary
|
|
78
|
+
* {@link module:revision-history/revision~Revision#diffData `Revision#diffData`} if it is missing.
|
|
79
|
+
*
|
|
80
|
+
* Please note, that the data returned by this method uses
|
|
81
|
+
* {@link module:engine/dataprocessor/dataprocessor~DataProcessor#useFillerType marked fillers mode}. This means that some ` `
|
|
82
|
+
* characters in the returned data may be wrapped with `<span data-cke-filler="true"> </span>`. Take this difference into
|
|
83
|
+
* consideration if you plan to compare revision data with the data returned by `editor.getData()`.
|
|
84
|
+
*
|
|
85
|
+
* See also {@link module:revision-history/revisionviewer~RevisionViewer#getRevisionRootsAttributes}.
|
|
86
|
+
*/
|
|
87
|
+
getRevisionDocumentData(revision: Revision): Promise<Record<string, string>>;
|
|
88
|
+
/**
|
|
89
|
+
* Returns roots attributes for given revision.
|
|
90
|
+
*
|
|
91
|
+
* This method returns a promise which resolves with an object, where keys are root names and values are these roots' attributes.
|
|
92
|
+
* Most editor setups use just one root, which has the default name `main`. In this case, the promise will resolve with an object
|
|
93
|
+
* similar to this:
|
|
94
|
+
*
|
|
95
|
+
* ```ts
|
|
96
|
+
* { main: {} }
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* See also {@link module:revision-history/revisionviewer~RevisionViewer#getRevisionDocumentData}.
|
|
100
|
+
*/
|
|
66
101
|
getRevisionRootsAttributes(revision: Revision): Promise<Record<string, Record<string, unknown>>>;
|
|
67
102
|
compare(newRevisionOrId: Revision | string, oldRevisionOrId: Revision | string, forceCompare?: boolean): Promise<unknown>;
|
|
68
103
|
addRevisionData(revisionData: RevisionJSON, updateCallback: (updateObj: RevisionJSON, isFromAdapter: boolean, revision: Revision) => void): Revision;
|
|
69
|
-
loadRevisionData(revision: Revision): Promise<any>;
|
|
70
104
|
private _removeMissingPairs;
|
|
71
105
|
}
|
|
72
106
|
export declare class RestoreRevisionCommand extends Command {
|