@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240625.0 → 0.0.0-nightly-20240627.0
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/build/translations/fa.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/revisiontracker.d.ts +6 -1
- package/dist/types/revisionviewer.d.ts +82 -0
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
- package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/lang/translations/fa.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/package.json +5 -5
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +6 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +82 -0
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +9 -0
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +25 -0
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/src/revisiontracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdfacfb=_0x21f6;(function(_0x960c5f,_0x2bf13b){const _0x16961c=_0x21f6,_0x5a761a=_0x960c5f();while(!![]){try{const _0x1ec6e9=parseInt(_0x16961c(0x1ff))/0x1+parseInt(_0x16961c(0x299))/0x2*(-parseInt(_0x16961c(0x238))/0x3)+parseInt(_0x16961c(0x28c))/0x4*(parseInt(_0x16961c(0x25b))/0x5)+-parseInt(_0x16961c(0x1ec))/0x6+-parseInt(_0x16961c(0x237))/0x7+-parseInt(_0x16961c(0x27e))/0x8+parseInt(_0x16961c(0x214))/0x9;if(_0x1ec6e9===_0x2bf13b)break;else _0x5a761a['push'](_0x5a761a['shift']());}catch(_0x3bd5e3){_0x5a761a['push'](_0x5a761a['shift']());}}}(_0x5c93,0x35a87));import{Users as _0x5c67db}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0xabbfbf,PendingActions as _0x252957}from'ckeditor5/src/core.js';import{logWarning as _0x30103d,uid as _0x4874eb}from'ckeditor5/src/utils.js';import{Position as _0x1d9877,Range as _0x2471d1,Element as _0x463d01,DocumentFragment as _0x3e2c28,ViewText as _0x59cef9,ViewElement as _0x5edf9f,ViewContainerElement as _0x160469,ViewAttributeElement as _0x196af0,ViewEmptyElement as _0x551eff,ViewRawElement as _0x4653c5,ViewUIElement as _0x2db241,ViewDocumentFragment as _0x596dee}from'ckeditor5/src/engine.js';import _0x2bca86 from'./revisionsrepository.js';import{getTranslation as _0x22181d}from'./utils/common-translations.js';function _0x21f6(_0x19f133,_0x13d8aa){const _0x5c936f=_0x5c93();return _0x21f6=function(_0x21f61b,_0x3fcd69){_0x21f61b=_0x21f61b-0x1b3;let _0x283b3e=_0x5c936f[_0x21f61b];return _0x283b3e;},_0x21f6(_0x19f133,_0x13d8aa);}import{cloneDeep as _0x14dec1,isEqual as _0x5a7ddb}from'lodash-es';const T={'c':_0x160469,'a':_0x196af0,'e':_0x551eff,'r':_0x4653c5,'u':_0x2db241};export default class l extends _0xabbfbf{static get[_0xdfacfb(0x29a)](){const _0x5d7143=_0xdfacfb;return _0x5d7143(0x1c1);}static get[_0xdfacfb(0x20d)](){return[_0x5c67db,_0x2bca86,_0x252957];}constructor(_0x4304dc){const _0x1ed284=_0xdfacfb;super(_0x4304dc),this[_0x1ed284(0x1d9)]=null,this[_0x1ed284(0x1ea)]=null,this[_0x1ed284(0x1d5)]=new J(this[_0x1ed284(0x2ae)]),this[_0x1ed284(0x1f0)]=this[_0x1ed284(0x2ae)][_0x1ed284(0x1b6)][_0x1ed284(0x2ba)](_0x1ed284(0x1f4))||_0x1ed284(0x2c1),this[_0x1ed284(0x279)]=new Map(),this[_0x1ed284(0x201)]=null;const _0x4551b1=_0x4874eb();this[_0x1ed284(0x1db)]={'history':this[_0x1ed284(0x2ae)][_0x1ed284(0x1ef)][_0x1ed284(0x225)][_0x1ed284(0x20e)],'getLatestVersion':()=>Promise[_0x1ed284(0x2a3)](this[_0x1ed284(0x2ae)][_0x1ed284(0x1ef)][_0x1ed284(0x225)][_0x1ed284(0x1e0)]),'getCurrentRevisionId':()=>_0x4551b1},this[_0x1ed284(0x1be)](_0x1ed284(0x22a),!0x1),this[_0x1ed284(0x1be)](_0x1ed284(0x273),!0x0),this[_0x1ed284(0x1be)](_0x1ed284(0x1ca),!0x1),this[_0x1ed284(0x2ae)][_0x1ed284(0x1b6)][_0x1ed284(0x28e)](_0x1ed284(0x215),!0x0),this[_0x1ed284(0x2ae)][_0x1ed284(0x2b0)][_0x1ed284(0x262)](_0x1ed284(0x24c))[_0x1ed284(0x24f)]({'view':_0x1ed284(0x2b3)});}[_0xdfacfb(0x2b7)](){const _0x595fcd=_0xdfacfb;this[_0x595fcd(0x20a)]=this[_0x595fcd(0x2ae)][_0x595fcd(0x236)][_0x595fcd(0x2ba)](_0x595fcd(0x20c)),this[_0x595fcd(0x222)](),this[_0x595fcd(0x2ae)][_0x595fcd(0x1d8)]['on'](_0x595fcd(0x226),()=>{const _0x4885c7=_0x595fcd,_0x5d8d7a=this[_0x4885c7(0x20a)][_0x4885c7(0x2a0)](0x0),_0x2819ef=_0x5d8d7a&&null===_0x5d8d7a[_0x4885c7(0x26c)]?_0x5d8d7a:null;if(this[_0x4885c7(0x2c9)]=!!_0x2819ef&&this[_0x4885c7(0x2ae)][_0x4885c7(0x1b6)][_0x4885c7(0x2ba)](_0x4885c7(0x215)),this[_0x4885c7(0x2ae)][_0x4885c7(0x236)][_0x4885c7(0x252)](_0x4885c7(0x1d1))){const _0x329d48=this[_0x4885c7(0x1db)][_0x4885c7(0x1fb)](),_0x632ba2=this[_0x4885c7(0x20a)][_0x4885c7(0x2a0)](_0x329d48);if(_0x632ba2)this[_0x4885c7(0x266)]=_0x632ba2[_0x4885c7(0x1e8)],this[_0x4885c7(0x2c9)]=!0x1;else{const _0x114d64=this[_0x4885c7(0x1db)][_0x4885c7(0x20e)][_0x4885c7(0x2c2)][_0x4885c7(0x253)](_0x17120b=>!_0x17120b[_0x4885c7(0x1df)]),_0x126126=_0x114d64?_0x114d64[_0x4885c7(0x27f)]:this[_0x4885c7(0x1db)][_0x4885c7(0x20e)][_0x4885c7(0x1e0)];_0x5d8d7a?(_0x5d8d7a[_0x4885c7(0x1dd)]<_0x126126&&_0x5d8d7a[_0x4885c7(0x286)]({'toVersion':_0x126126}),this[_0x4885c7(0x2c9)]?(this[_0x4885c7(0x1db)][_0x4885c7(0x1fb)]=()=>_0x2819ef['id'],this[_0x4885c7(0x266)]=_0x2819ef[_0x4885c7(0x1e8)]):(this[_0x4885c7(0x266)]=_0x5d8d7a[_0x4885c7(0x1dd)],this[_0x4885c7(0x2c9)]=!0x1)):(this[_0x4885c7(0x266)]=_0x126126,this[_0x4885c7(0x2c9)]=!0x1);}}else _0x2819ef&&(this[_0x4885c7(0x2ae)][_0x4885c7(0x1ef)][_0x4885c7(0x225)][_0x4885c7(0x20e)][_0x4885c7(0x1e0)]=Math[_0x4885c7(0x1e1)](_0x2819ef[_0x4885c7(0x1dd)],this[_0x4885c7(0x2ae)][_0x4885c7(0x1ef)][_0x4885c7(0x225)][_0x4885c7(0x20e)][_0x4885c7(0x1e0)]),_0x2819ef[_0x4885c7(0x1e8)]===_0x2819ef[_0x4885c7(0x1dd)]?(0x0!==_0x2819ef[_0x4885c7(0x1e8)]&&(this[_0x4885c7(0x1db)][_0x4885c7(0x1fb)]=()=>_0x2819ef['id']),this[_0x4885c7(0x2c9)]=!0x1):this[_0x4885c7(0x2c9)]&&(this[_0x4885c7(0x1db)][_0x4885c7(0x1fb)]=()=>_0x2819ef['id'],this[_0x4885c7(0x266)]=_0x2819ef[_0x4885c7(0x1e8)])),this[_0x4885c7(0x2c9)]||(this[_0x4885c7(0x266)]=this[_0x4885c7(0x2ae)][_0x4885c7(0x1ef)][_0x4885c7(0x225)][_0x4885c7(0x1e0)]);this[_0x4885c7(0x1d5)][_0x4885c7(0x2b7)](this[_0x4885c7(0x1db)][_0x4885c7(0x20e)]),this[_0x4885c7(0x1cf)](this[_0x4885c7(0x266)]),this[_0x4885c7(0x232)](this[_0x4885c7(0x266)]),this[_0x4885c7(0x1d9)]&&this[_0x4885c7(0x2ad)]();}),this[_0x595fcd(0x26b)](_0x595fcd(0x22a))['to'](this,_0x595fcd(0x1ca),_0x57d446=>!_0x57d446);}async[_0xdfacfb(0x2b2)](){const _0x2d9010=_0xdfacfb;if(this[_0x2d9010(0x20a)][_0x2d9010(0x25e)]>0x0){const _0x5a7d4c=this[_0x2d9010(0x20a)][_0x2d9010(0x2a0)](0x0),_0x4519ff=await this[_0x2d9010(0x219)](_0x5a7d4c),_0x5364d7=await this[_0x2d9010(0x203)](_0x5a7d4c);this[_0x2d9010(0x2a4)](_0x4519ff,_0x5364d7);}}[_0xdfacfb(0x1dc)](_0x84f105){const _0x164063=_0xdfacfb;this[_0x164063(0x1db)]=_0x84f105;}async[_0xdfacfb(0x1b8)](){const _0x1b5d58=_0xdfacfb,_0x5c266f=await this[_0x1b5d58(0x1db)][_0x1b5d58(0x1f8)]();if(_0x5c266f>this[_0x1b5d58(0x1ea)][_0x1b5d58(0x1dd)]){await this[_0x1b5d58(0x2a5)]();const _0x3891be=this[_0x1b5d58(0x1f7)]({'revision':this[_0x1b5d58(0x1ea)],'to':_0x5c266f});_0x3891be[_0x1b5d58(0x21e)]=_0x3891be[_0x1b5d58(0x205)][_0x1b5d58(0x25d)](_0x2a6ce8=>this[_0x1b5d58(0x2ae)][_0x1b5d58(0x236)][_0x1b5d58(0x2ba)](_0x1b5d58(0x200))[_0x1b5d58(0x1f5)](_0x2a6ce8)),this[_0x1b5d58(0x1ea)][_0x1b5d58(0x286)](_0x3891be);}}async[_0xdfacfb(0x2a5)](){const _0x455936=_0xdfacfb;this[_0x455936(0x2c9)]&&!this[_0x455936(0x201)]&&(await this[_0x455936(0x278)](this[_0x455936(0x1ea)]),this[_0x455936(0x1d5)][_0x455936(0x2bd)](this[_0x455936(0x1ea)]),this[_0x455936(0x201)]={'fromVersion':this[_0x455936(0x1ea)][_0x455936(0x1e8)],'authors':this[_0x455936(0x1ea)][_0x455936(0x21e)][_0x455936(0x285)]()});}async[_0xdfacfb(0x24b)](_0x409e36={},_0x155231=null){const _0xfc9ec3=_0xdfacfb,_0x15502b=[];await this[_0xfc9ec3(0x2a5)](),this[_0xfc9ec3(0x2c9)]=!0x1,_0x155231>this[_0xfc9ec3(0x1ea)][_0xfc9ec3(0x1dd)]&&(_0x155231=null),null===_0x155231&&(_0x155231=await this[_0xfc9ec3(0x1db)][_0xfc9ec3(0x1f8)]());const _0x499148=this[_0xfc9ec3(0x23c)](_0x155231),_0x59d275=this[_0xfc9ec3(0x1f7)]({'from':_0x499148,'to':_0x155231});if(this[_0xfc9ec3(0x1ea)][_0xfc9ec3(0x1dd)]<_0x155231){const _0x46cf17=this[_0xfc9ec3(0x1f7)]({'revision':this[_0xfc9ec3(0x1ea)],'from':_0x155231,'to':_0x155231});_0x46cf17[_0xfc9ec3(0x21e)]=[],_0x46cf17[_0xfc9ec3(0x205)]=[],_0x46cf17['id']=this[_0xfc9ec3(0x1ea)]['id'],this[_0xfc9ec3(0x1ea)][_0xfc9ec3(0x286)](_0x46cf17,!0x0),delete _0x46cf17[_0xfc9ec3(0x21e)],_0x15502b[_0xfc9ec3(0x28a)](_0x46cf17);}_0x409e36[_0xfc9ec3(0x210)]=this[_0xfc9ec3(0x2ae)][_0xfc9ec3(0x236)][_0xfc9ec3(0x2ba)](_0xfc9ec3(0x200))['me']['id'],_0x409e36[_0xfc9ec3(0x297)]=_0x409e36[_0xfc9ec3(0x297)]||null,_0x409e36['id']=_0x409e36['id']||_0x4874eb(),_0x409e36={..._0x409e36,..._0x59d275};const _0x1c59ac=this[_0xfc9ec3(0x2d2)](_0x409e36);_0x15502b[_0xfc9ec3(0x28a)](_0x409e36);const _0x2cd1ef=this[_0xfc9ec3(0x20a)][_0xfc9ec3(0x208)](_0x1c59ac);if(0x0!==_0x2cd1ef){const _0x4a4129=this[_0xfc9ec3(0x20a)][_0xfc9ec3(0x2a0)](_0x2cd1ef-0x1);if(_0x4a4129[_0xfc9ec3(0x1e8)]!==_0x155231){const _0x9e6379=this[_0xfc9ec3(0x1d5)][_0xfc9ec3(0x267)](_0x155231,_0x4a4129[_0xfc9ec3(0x1dd)]),_0xe9860a={'id':_0x4a4129['id'],'diffData':_0x9e6379[_0xfc9ec3(0x1b4)],'authorsIds':_0x9e6379[_0xfc9ec3(0x205)],'authors':_0x9e6379[_0xfc9ec3(0x205)][_0xfc9ec3(0x25d)](_0x4a6fbb=>this[_0xfc9ec3(0x2ae)][_0xfc9ec3(0x236)][_0xfc9ec3(0x2ba)](_0xfc9ec3(0x200))[_0xfc9ec3(0x1f5)](_0x4a6fbb)),'fromVersion':_0x155231};_0x4a4129===this[_0xfc9ec3(0x1ea)]&&(_0xe9860a[_0xfc9ec3(0x247)]=new Date(_0x409e36[_0xfc9ec3(0x247)][_0xfc9ec3(0x1ee)]()+0xa)),_0x4a4129[_0xfc9ec3(0x286)](_0xe9860a,!0x0),delete _0xe9860a[_0xfc9ec3(0x21e)],_0x15502b[_0xfc9ec3(0x28a)](_0xe9860a);}}if(this[_0xfc9ec3(0x1d9)]){for(const _0x224eef of _0x15502b)this[_0xfc9ec3(0x258)](_0x224eef['id'],_0x224eef,!0x0);this[_0xfc9ec3(0x2ad)]();}return _0x1c59ac;}[_0xdfacfb(0x2d2)](_0x5dee34){const _0xaee232=_0xdfacfb,_0x1759c1=this[_0xaee232(0x20a)][_0xaee232(0x213)](_0x5dee34);return this[_0xaee232(0x1d9)]&&_0x1759c1['on'](_0xaee232(0x286),(_0x1c4f8a,_0x4c5201,_0x831e11)=>{const _0x1eceef=_0xaee232;_0x831e11||(this[_0x1eceef(0x258)](_0x4c5201['id'],_0x4c5201,!0x0),this[_0x1eceef(0x2ad)]());}),this[_0xaee232(0x20a)][_0xaee232(0x2db)](_0x1759c1,this[_0xaee232(0x1fa)](_0x1759c1)),_0x1759c1;}async[_0xdfacfb(0x219)](_0x53c3f8){const _0x5ae588=_0xdfacfb;await this[_0x5ae588(0x278)](_0x53c3f8);const _0x51c784={};for(const _0x3617d5 in _0x53c3f8[_0x5ae588(0x1b4)]){if(_0x53c3f8[_0x5ae588(0x1b4)][_0x3617d5][_0x5ae588(0x2d3)]&&!_0x53c3f8[_0x5ae588(0x1b4)][_0x3617d5][_0x5ae588(0x2d3)][_0x5ae588(0x2dc)])continue;const _0x5a889d=this[_0x5ae588(0x27a)](JSON[_0x5ae588(0x291)](_0x53c3f8[_0x5ae588(0x1b4)][_0x3617d5][_0x5ae588(0x1c8)])),_0x3f76c2=this[_0x5ae588(0x2ae)][_0x5ae588(0x23b)][_0x5ae588(0x293)][_0x5ae588(0x225)],_0x2805d9=new _0x596dee(_0x3f76c2,_0x5a889d[_0x5ae588(0x25d)](_0x5016df=>B(_0x5016df,this[_0x5ae588(0x2ae)])));this[_0x5ae588(0x2ae)][_0x5ae588(0x1d8)][_0x5ae588(0x289)][_0x5ae588(0x1fd)](_0x5ae588(0x27b)),_0x51c784[_0x3617d5]=this[_0x5ae588(0x2ae)][_0x5ae588(0x1d8)][_0x5ae588(0x289)][_0x5ae588(0x22b)](_0x2805d9),this[_0x5ae588(0x2ae)][_0x5ae588(0x1d8)][_0x5ae588(0x289)][_0x5ae588(0x1fd)](_0x5ae588(0x24e));}return _0x51c784;}async[_0xdfacfb(0x203)](_0x4a06ad){const _0x4f9fbf=_0xdfacfb;await this[_0x4f9fbf(0x278)](_0x4a06ad);const _0x1bdc2e={};for(const _0x1c7593 in _0x4a06ad[_0x4f9fbf(0x1b4)])_0x4a06ad[_0x4f9fbf(0x1b4)][_0x1c7593][_0x4f9fbf(0x2d3)]&&!_0x4a06ad[_0x4f9fbf(0x1b4)][_0x1c7593][_0x4f9fbf(0x2d3)][_0x4f9fbf(0x2dc)]||(_0x1bdc2e[_0x1c7593]=_0x4a06ad[_0x4f9fbf(0x1b4)][_0x1c7593][_0x4f9fbf(0x2ce)]||{});return _0x1bdc2e;}[_0xdfacfb(0x2ad)](){const _0x36e3c5=_0xdfacfb;if(0x0===this[_0x36e3c5(0x279)][_0x36e3c5(0x284)])return;if(this[_0x36e3c5(0x1ca)])return;let _0x4117f2=Array[_0x36e3c5(0x26f)](this[_0x36e3c5(0x279)][_0x36e3c5(0x1e2)]());this[_0x36e3c5(0x279)][_0x36e3c5(0x20f)]();for(let _0x220400=0x0;_0x220400<_0x4117f2[_0x36e3c5(0x25e)];_0x220400++){const _0x4c1e9f=_0x4117f2[_0x220400];let _0x470c39=!0x1;for(const _0xc3e0e6 of Object[_0x36e3c5(0x242)](_0x4c1e9f))void 0x0===_0x4c1e9f[_0xc3e0e6]?delete _0x4c1e9f[_0xc3e0e6]:'id'!==_0xc3e0e6&&(_0x470c39=!0x0);_0x470c39||(_0x4117f2[_0x220400]=null);}if(_0x4117f2=_0x4117f2[_0x36e3c5(0x2ca)](_0x497ceb=>null!==_0x497ceb),!_0x4117f2[_0x36e3c5(0x25e)])return;for(let _0xcce5dd=0x0;_0xcce5dd<_0x4117f2[_0x36e3c5(0x25e)];_0xcce5dd++){const _0xe4dc57=_0x4117f2[_0xcce5dd];void 0x0!==_0xe4dc57[_0x36e3c5(0x1e8)]&&void 0x0===_0xe4dc57[_0x36e3c5(0x1dd)]&&(_0xe4dc57[_0x36e3c5(0x1dd)]=this[_0x36e3c5(0x20a)][_0x36e3c5(0x2a0)](_0xe4dc57['id'])[_0x36e3c5(0x1dd)]),void 0x0!==_0xe4dc57[_0x36e3c5(0x1dd)]&&void 0x0===_0xe4dc57[_0x36e3c5(0x1e8)]&&(_0xe4dc57[_0x36e3c5(0x1e8)]=this[_0x36e3c5(0x20a)][_0x36e3c5(0x2a0)](_0xe4dc57['id'])[_0x36e3c5(0x1e8)]);}const _0x3726ed=this[_0x36e3c5(0x2ae)][_0x36e3c5(0x1b6)][_0x36e3c5(0x2ba)](_0x36e3c5(0x1f4));this[_0x36e3c5(0x1ca)]=!0x0,this[_0x36e3c5(0x264)](),this[_0x36e3c5(0x1d9)][_0x36e3c5(0x2d4)](_0x4117f2,_0x3726ed)[_0x36e3c5(0x1c7)](()=>{const _0x54fc88=_0x36e3c5;this[_0x54fc88(0x1ca)]=!0x1;})[_0x36e3c5(0x2c6)](_0x47a4d0=>{const _0x51df77=_0x36e3c5;if(_0x47a4d0){for(const _0x33641f of _0x47a4d0)this[_0x51df77(0x2b4)]({'id':_0x33641f['id'],'createdAt':_0x33641f[_0x51df77(0x247)]});}this[_0x51df77(0x268)](),this[_0x51df77(0x2ad)]();});}[_0xdfacfb(0x2a4)](_0x4d4cb9,_0x48a12a){const _0x1c3192=_0xdfacfb;let _0x392ba2=this[_0x1c3192(0x2ae)][_0x1c3192(0x1b6)][_0x1c3192(0x2ba)](_0x1c3192(0x29d)),_0x524194=this[_0x1c3192(0x2ae)][_0x1c3192(0x1b6)][_0x1c3192(0x2ba)](_0x1c3192(0x1da));if(void 0x0===_0x392ba2){_0x392ba2={};for(const _0x18dbb8 of this[_0x1c3192(0x2ae)][_0x1c3192(0x1ef)][_0x1c3192(0x225)][_0x1c3192(0x28b)]())_0x392ba2[_0x18dbb8]='';}if(_0x1c3192(0x2b1)==typeof _0x392ba2&&(_0x392ba2={'main':_0x392ba2}),void 0x0===_0x524194){_0x524194={};for(const _0xcd8d36 of this[_0x1c3192(0x2ae)][_0x1c3192(0x1ef)][_0x1c3192(0x225)][_0x1c3192(0x28b)]())_0x524194[_0xcd8d36]={};}let _0x4db461=!0x1;const _0x1f809c=Object[_0x1c3192(0x242)](_0x392ba2),_0x586efc=Object[_0x1c3192(0x242)](_0x4d4cb9);for(const _0x230867 of _0x1f809c){if(_0x392ba2[_0x230867]!==_0x4d4cb9[_0x230867]&&''!==_0x392ba2[_0x230867][_0x1c3192(0x283)]()){_0x4db461=!0x0;break;}if(!_0x5a7ddb(_0x524194[_0x230867],_0x48a12a[_0x230867])&&Object[_0x1c3192(0x242)](_0x524194[_0x230867])[_0x1c3192(0x25e)]>0x0){_0x4db461=!0x0;break;}}_0x4db461||(_0x4db461=_0x586efc[_0x1c3192(0x1ed)](_0x64dfae=>!this[_0x1c3192(0x2ae)][_0x1c3192(0x1ef)][_0x1c3192(0x225)][_0x1c3192(0x23f)](_0x64dfae))),_0x4db461&&_0x30103d(_0x1c3192(0x231),{'editorData':_0x392ba2,'editorRootsAttributes':_0x524194,'revisionData':_0x4d4cb9,'revisionRootsAttributes':_0x48a12a}),this[_0x1c3192(0x2ae)][_0x1c3192(0x1b6)][_0x1c3192(0x1be)](_0x1c3192(0x29d),_0x4d4cb9),this[_0x1c3192(0x2ae)][_0x1c3192(0x1b6)][_0x1c3192(0x1be)](_0x1c3192(0x1da),_0x48a12a);}[_0xdfacfb(0x264)](){const _0x4dbf18=_0xdfacfb;if(!this[_0x4dbf18(0x23a)]){const _0x53cdb5=this[_0x4dbf18(0x2ae)][_0x4dbf18(0x236)][_0x4dbf18(0x2ba)](_0x4dbf18(0x27d));this[_0x4dbf18(0x23a)]=_0x53cdb5[_0x4dbf18(0x287)](_0x22181d(this[_0x4dbf18(0x2ae)][_0x4dbf18(0x1f3)],_0x4dbf18(0x1eb)));}}[_0xdfacfb(0x268)](){const _0xfec7f3=_0xdfacfb;this[_0xfec7f3(0x23a)]&&(this[_0xfec7f3(0x2ae)][_0xfec7f3(0x236)][_0xfec7f3(0x2ba)](_0xfec7f3(0x27d))[_0xfec7f3(0x23d)](this[_0xfec7f3(0x23a)]),this[_0xfec7f3(0x23a)]=null);}[_0xdfacfb(0x1fa)](_0x1c6ab4){const _0x51fed8=_0xdfacfb,_0x443ad0=this[_0x51fed8(0x20a)][_0x51fed8(0x255)]();_0x443ad0[_0x51fed8(0x21c)]();let _0x3560b0=0x0;for(;_0x3560b0<_0x443ad0[_0x51fed8(0x25e)];){const _0x49798f=_0x443ad0[_0x3560b0];if(_0x49798f===this[_0x51fed8(0x1ea)]){_0x3560b0++;continue;}if(_0x49798f['id']===this[_0x51fed8(0x1f0)])break;const _0x51724c=_0x1c6ab4[_0x51fed8(0x1dd)]-_0x49798f[_0x51fed8(0x1dd)]||_0x1c6ab4[_0x51fed8(0x1e8)]-_0x49798f[_0x51fed8(0x1e8)];if(_0x51724c>0x0)break;if(_0x51724c<0x0)_0x3560b0++;else{if(!_0x1c6ab4[_0x51fed8(0x26c)]&&_0x49798f[_0x51fed8(0x26c)])break;if(_0x49798f[_0x51fed8(0x26c)]||!_0x1c6ab4[_0x51fed8(0x26c)]){if(_0x1c6ab4[_0x51fed8(0x247)]>_0x49798f[_0x51fed8(0x247)])break;_0x3560b0++;}else _0x3560b0++;}}return _0x3560b0;}[_0xdfacfb(0x2b4)](_0x5df7fd){const _0x27ab18=_0xdfacfb,_0xe8fa4c=this[_0x27ab18(0x20a)][_0x27ab18(0x2a0)](_0x5df7fd['id']);if(_0x5df7fd[_0x27ab18(0x247)]&&(_0x5df7fd[_0x27ab18(0x247)]=new Date(_0x5df7fd[_0x27ab18(0x247)])),_0x5df7fd[_0x27ab18(0x205)]){const _0x2eee18=this[_0x27ab18(0x2ae)][_0x27ab18(0x236)][_0x27ab18(0x2ba)](_0x27ab18(0x200));_0x5df7fd[_0x27ab18(0x21e)]=_0x5df7fd[_0x27ab18(0x205)][_0x27ab18(0x25d)](_0xcb7368=>_0x2eee18[_0x27ab18(0x1f5)](_0xcb7368));}_0xe8fa4c[_0x27ab18(0x286)](_0x5df7fd,!0x0);}[_0xdfacfb(0x1f7)]({revision:_0x9dc7b7=null,from:_0x2afe83=null,to:_0x33c2ae=null}){const _0x13a216=_0xdfacfb;_0x2afe83=null!==_0x2afe83?_0x2afe83:_0x9dc7b7[_0x13a216(0x1e8)],_0x33c2ae=null!==_0x33c2ae?_0x33c2ae:_0x9dc7b7[_0x13a216(0x1dd)];const _0x5c338a=this[_0x13a216(0x1d5)][_0x13a216(0x267)](_0x2afe83,_0x33c2ae),_0x52ffa2={'diffData':_0x5c338a[_0x13a216(0x1b4)],'authorsIds':_0x5c338a[_0x13a216(0x205)],'fromVersion':_0x2afe83,'toVersion':_0x33c2ae};if(!_0x9dc7b7||_0x33c2ae!==_0x9dc7b7[_0x13a216(0x1dd)]){const _0x2dcbcb=_0x33c2ae-0x1,_0x275891=this[_0x13a216(0x1db)][_0x13a216(0x20e)][_0x13a216(0x22f)](_0x2dcbcb);_0x52ffa2[_0x13a216(0x247)]=_0x275891&&_0x275891[_0x13a216(0x247)]||new Date();}if(this[_0x13a216(0x201)]&&_0x2afe83===this[_0x13a216(0x201)][_0x13a216(0x1e8)]){for(const _0x8289a of this[_0x13a216(0x201)][_0x13a216(0x21e)])_0x52ffa2[_0x13a216(0x205)][_0x13a216(0x248)](_0x8289a['id'])||_0x52ffa2[_0x13a216(0x205)][_0x13a216(0x28a)](_0x8289a['id']);}return _0x52ffa2;}[_0xdfacfb(0x278)](_0x2d54f8){const _0x48013d=_0xdfacfb;if(!_0x2d54f8||_0x2d54f8[_0x48013d(0x1b4)])return Promise[_0x48013d(0x2a3)]();{const _0x3efaa6=this[_0x48013d(0x2ae)][_0x48013d(0x1b6)][_0x48013d(0x2ba)](_0x48013d(0x1f4));return this[_0x48013d(0x1d9)][_0x48013d(0x2a0)]({'channelId':_0x3efaa6,'revisionId':_0x2d54f8['id']})[_0x48013d(0x2c6)](_0x84c535=>{const _0x4e73d1=_0x48013d;_0x2d54f8[_0x4e73d1(0x1b4)]=_0x84c535[_0x4e73d1(0x1b4)];});}}[_0xdfacfb(0x258)](_0x463117,_0x3b3c8a,_0xd3c2b4){const _0x39555c=_0xdfacfb;if(this[_0x39555c(0x279)][_0x39555c(0x252)](_0x463117)){const _0x303503=this[_0x39555c(0x279)][_0x39555c(0x2ba)](_0x463117);_0x3b3c8a=_0xd3c2b4?{..._0x303503,..._0x3b3c8a}:{..._0x3b3c8a,..._0x303503};}this[_0x39555c(0x279)][_0x39555c(0x1be)](_0x463117,_0x3b3c8a);}[_0xdfacfb(0x23c)](_0x1e27bf){const _0x408258=_0xdfacfb,_0x55e863=this[_0x408258(0x20a)][_0x408258(0x255)]();_0x55e863[_0x408258(0x21c)](),_0x55e863[_0x408258(0x257)]();const _0x1b5874=_0x55e863[_0x408258(0x253)](_0x19fdd5=>_0x19fdd5[_0x408258(0x1dd)]<=_0x1e27bf)[_0x408258(0x1dd)];return _0x1b5874<this[_0x408258(0x266)]?this[_0x408258(0x266)]:_0x1b5874;}[_0xdfacfb(0x1cf)](_0x366deb){const _0x1cf6dd=_0xdfacfb,_0x29c691=this[_0x1cf6dd(0x20a)][_0x1cf6dd(0x2a0)](this[_0x1cf6dd(0x20a)][_0x1cf6dd(0x25e)]-0x1);if(_0x29c691)this[_0x1cf6dd(0x1f0)]=_0x29c691['id'];else{const _0xdfc019=!this[_0x1cf6dd(0x2ae)][_0x1cf6dd(0x1ef)][_0x1cf6dd(0x225)][_0x1cf6dd(0x1c9)][_0x1cf6dd(0x253)](_0x3ab6dd=>this[_0x1cf6dd(0x2ae)][_0x1cf6dd(0x1ef)][_0x1cf6dd(0x202)](_0x3ab6dd)),_0x4b8d49=this[_0x1cf6dd(0x2ae)][_0x1cf6dd(0x236)][_0x1cf6dd(0x2ba)](_0x1cf6dd(0x200))['me']['id'],_0x13c507=_0x22181d(this[_0x1cf6dd(0x2ae)][_0x1cf6dd(0x1f3)],_0xdfc019?_0x1cf6dd(0x292):_0x1cf6dd(0x206));this[_0x1cf6dd(0x2c3)]({'from':_0x366deb,'to':_0x366deb,'id':this[_0x1cf6dd(0x1f0)],'name':_0x13c507,'creatorId':_0x4b8d49});}}[_0xdfacfb(0x232)](_0x4781e1){const _0x527b93=_0xdfacfb,_0xee028a=this[_0x527b93(0x1db)][_0x527b93(0x1fb)]();this[_0x527b93(0x1ea)]=this[_0x527b93(0x20a)][_0x527b93(0x2a0)](_0xee028a),this[_0x527b93(0x1ea)]||(this[_0x527b93(0x1ea)]=this[_0x527b93(0x2c3)]({'from':_0x4781e1,'to':_0x4781e1,'id':_0xee028a,'name':'','creatorId':null}));}[_0xdfacfb(0x2c3)]({name:_0x54e925,from:_0x2d88e0,to:_0x22f251,creatorId:_0x53c778,id:_0x3321d5}){const _0x4827df=_0xdfacfb,_0x1dec37=this[_0x4827df(0x1f7)]({'from':_0x2d88e0,'to':_0x22f251});_0x1dec37[_0x4827df(0x297)]=_0x54e925,_0x1dec37[_0x4827df(0x210)]=_0x53c778,_0x1dec37['id']=_0x3321d5;const _0x30d39f=this[_0x4827df(0x2d2)](_0x1dec37);return this[_0x4827df(0x1d9)]&&this[_0x4827df(0x258)](_0x1dec37['id'],_0x1dec37,!0x0),_0x30d39f;}[_0xdfacfb(0x222)](){const _0x468dc6=_0xdfacfb;this[_0x468dc6(0x2ae)][_0x468dc6(0x2b0)][_0x468dc6(0x262)](_0x468dc6(0x249))[_0x468dc6(0x21f)]({'model':_0x468dc6(0x2b3)});}[_0xdfacfb(0x27a)](_0x3c8a64){const _0x51f466=_0xdfacfb;return(_0x3c8a64=_0x3c8a64[_0x51f466(0x2ca)](_0x4df85e=>!_0x4df85e[_0x51f466(0x297)]||_0x51f466(0x2bc)!==_0x4df85e[_0x51f466(0x297)]&&_0x51f466(0x217)!==_0x4df85e[_0x51f466(0x297)]))[_0x51f466(0x295)](_0x583cd7=>{const _0x5a1711=_0x51f466;_0x5a1711(0x2b1)!=typeof _0x583cd7&&(_0x583cd7[_0x5a1711(0x1cb)]=this[_0x5a1711(0x27a)](_0x583cd7[_0x5a1711(0x1cb)]),_0x583cd7[_0x5a1711(0x1d2)]=_0x583cd7[_0x5a1711(0x1d2)][_0x5a1711(0x2ca)](_0x554b45=>!_0x554b45[0x0][_0x5a1711(0x2da)](_0x5a1711(0x233))));}),_0x3c8a64;}}function B(_0x1877bc,_0x4177e9){const _0x1a0208=_0xdfacfb,_0x513bc1=_0x4177e9[_0x1a0208(0x23b)][_0x1a0208(0x293)][_0x1a0208(0x225)];if(_0x1a0208(0x2b1)==typeof _0x1877bc)return new _0x59cef9(_0x513bc1,_0x1877bc);{const _0x458dd9=_0x1877bc[_0x1a0208(0x1cb)][_0x1a0208(0x25d)](_0xef53f6=>B(_0xef53f6,_0x4177e9));return new(T[_0x1877bc[(_0x1a0208(0x24a))]]||_0x5edf9f)(_0x513bc1,_0x1877bc[_0x1a0208(0x297)],_0x1877bc[_0x1a0208(0x1d2)],_0x458dd9);}}function _0x5c93(){const _0x421c6c=['isReady','toData','_transformMarkers','_getVidAttributeName','elementStart','getOperation','childCount','editor-initial-data-replaced-with-revision-data','_createCurrentRevision','data-revision-','_handleSplitOperation','changeRootAttribute','plugins','1561049rXjnIz','12gcExaF','_fixRange','_pendingAction','editing','_getFromVersion','remove','targetPosition','getRoot','previousPosition','documentFragment','keys','tableCell','reinsert','markers','_clone','createdAt','includes','dataDowncast','type','saveRevision','upcast','splitPosition','default','dataToMarker','_generateTape','_lastFrom','has','find','createRangeIn','getRevisions','marker','shift','_bufferUpdate','rootName','_saveMetaData','15IAyLxM','text','map','length','_touched','_calculateMetaData','_makeModelFromViewString','for','_handleRootOperation','_addPendingAction','_revisionId','_startingVersion','getData','_removePendingAction','position','_handleMarkerOperation','bind','creator','_authorId','isAdd','from','_fixOperation','_handleRootAttributeOperation','item','isEnabled','deletion','isEqual','toView','_baseRootsAttributes','_loadRevisionData','_bufferedUpdates','_removeRevisionMarkers','marked','stickiness','PendingActions','637888gHrYnO','baseVersion','root','getChildren','_diffRoots','trim','size','slice','_update','add','split','processor','push','getRootNames','89892JoVFMW','element','define','offsetSize','merge','parse','Empty\x20document','view','_getPreviousFrom','forEach','getChild','name','end','68764JcSZWd','pluginName','_copyMarkers','_lastTo','initialData','_execute','insertion','getRevision','_handleMergeOperation','_insertChild','resolve','_replaceEditorDataWithRevisionData','_loadState','_isAttached','newRange','createRange','newValue','move','createPositionFromPath','_prepareViewToSave','sendBufferedUpdates','editor','_appendChild','conversion','string','afterInit','revision','setRevisionData','_startingRevisionId','revision:','init','elementEnd','toModel','get','getTransformedByOperation','revision-start','loadState','_fixPosition','insert','howMany','initial','_operations','_makeRevision','getAttributes','getOperations','then','clone','vid','_continueCurrentRevision','filter','_removeMetaData','_savedMetaData','_handleMoveOperation','attributesAfter','nodes','_idsRoots','addRootAttribute','addRevisionData','attachChange','updateRevisions','_handleInsertOperation','createPositionAfter','_diffRootsAttributes','_touchedMarkers','attributesBefore','startsWith','addRevision','isAttached','_getState','diffData','_createFromRanges','config','deletions','update','_getViewJson','createPositionAt','reInit','getAttribute','oldRange','set','vid_start','offset','RevisionTracker','insertionPosition','start','_handleOperation','_cloneOperation','keepParagraph','finally','insertions','roots','_isPendingUpdate','children','createPositionBefore','_getBaseVids','affectsData','_createInitialRevision','sourcePosition','RealTimeCollaborationClient','attributes','path','getWalker','_revisionDataBuilder','getRange','userId','data','adapter','rootsAttributes','_source','setSource','toVersion','$text','_isInit','version','max','values','_markers','getAncestors','NEGATIVE_INFINITY','parent','_processRootBeforeSave','fromVersion','_reset','currentRevision','PENDING_ACTION_REVISION_HISTORY','1493652YFIsjK','some','getTime','model','_initialRevisionId','delete','$graveyard','locale','collaboration.channelId','getUser','_applyOperations','buildRevisionData','getLatestVersion','source','_findInsertionIndex','getCurrentRevisionId','_baseIdsRoots','useFillerType','fromEntries','433501cebrUC','Users','_loadedStateData','hasContent','getRevisionRootsAttributes','graveyardPosition','authorsIds','Initial\x20revision','removeRootAttribute','getIndex','range','repository','_baseRoots','RevisionsRepository','requires','history','clear','creatorId','stringify','_touchedRoots','createRevision','3672684CJqOjW','revisionHistory.resumeUnsavedRevision','sort','revision-end','_setAttribute','getRevisionDocumentData','getNodeByPath','paragraph','reverse','nodeAfter','authors','markerToData','vid_end','detachRoot','_setConversion','key','_makeIdsRoot','document','ready','getMovedRangeStart','_markChanges','addRoot'];_0x5c93=function(){return _0x421c6c;};return _0x5c93();}class J{constructor(_0x3d62d1){const _0x32854c=_0xdfacfb;this[_0x32854c(0x2ae)]=_0x3d62d1,this[_0x32854c(0x2cc)]=new Map(),this[_0x32854c(0x251)]=-0x1,this[_0x32854c(0x29c)]=-0x1,this[_0x32854c(0x1e3)]=new Map(),this[_0x32854c(0x282)]=new Map(),this[_0x32854c(0x2d7)]=new Map(),this[_0x32854c(0x20b)]=new Map(),this[_0x32854c(0x277)]=new Map(),this[_0x32854c(0x2d0)]=new Map(),this[_0x32854c(0x1fc)]=new Map(),this[_0x32854c(0x25f)]=new Map(),this[_0x32854c(0x2d8)]=new Map(),this[_0x32854c(0x212)]=new Map(),this[_0x32854c(0x265)]=0x1;}[_0xdfacfb(0x2b7)](_0x2f3527){const _0x2fbb2e=_0xdfacfb;this[_0x2fbb2e(0x1f9)]=_0x2f3527;const _0x1c4828=new Map(),_0x250ae5=new Map(),_0x3dfb39=this[_0x2fbb2e(0x2ae)][_0x2fbb2e(0x1ef)][_0x2fbb2e(0x225)][_0x2fbb2e(0x1c9)][_0x2fbb2e(0x25d)](_0x2c0ccb=>_0x2c0ccb[_0x2fbb2e(0x259)]);for(const _0x50a08c of _0x3dfb39){const _0x5daf0d=this[_0x2fbb2e(0x2ae)][_0x2fbb2e(0x1ef)][_0x2fbb2e(0x225)][_0x2fbb2e(0x23f)](_0x50a08c),_0x3f2dbd=q(_0x5daf0d);_0x1c4828[_0x2fbb2e(0x1be)](_0x50a08c,_0x3f2dbd),_0x250ae5[_0x2fbb2e(0x1be)](_0x50a08c,Object[_0x2fbb2e(0x1fe)](_0x5daf0d[_0x2fbb2e(0x2c4)]()));}const _0xc9f17f=Array[_0x2fbb2e(0x26f)](this[_0x2fbb2e(0x2ae)][_0x2fbb2e(0x1ef)][_0x2fbb2e(0x245)])[_0x2fbb2e(0x25d)](_0xc1f53=>[_0xc1f53[_0x2fbb2e(0x297)],_0xc1f53[_0x2fbb2e(0x1d6)]()]),_0x191b61=this[_0x2fbb2e(0x1f9)][_0x2fbb2e(0x1e0)];this[_0x2fbb2e(0x25a)](_0x191b61,_0x1c4828,_0xc9f17f,_0x250ae5),this[_0x2fbb2e(0x2b5)]=this[_0x2fbb2e(0x265)];const _0x6e2bbc=new Map(),_0x7e039a=new Map();for(const _0x3e643e of _0x3dfb39){const _0x2ecd38=G(_0x3e643e);_0x6e2bbc[_0x2fbb2e(0x1be)](_0x3e643e,_0x2ecd38),_0x7e039a[_0x2fbb2e(0x1be)](_0x3e643e,{});}this[_0x2fbb2e(0x25a)](Number[_0x2fbb2e(0x1e5)],_0x6e2bbc,[],_0x7e039a);}[_0xdfacfb(0x267)](_0x565840,_0x47a21b){const _0x1b6c79=_0xdfacfb;if(this[_0x1b6c79(0x251)]===_0x565840&&this[_0x1b6c79(0x29c)]<=_0x47a21b)this[_0x1b6c79(0x2cc)][_0x1b6c79(0x284)]>0x1&&this[_0x1b6c79(0x2cb)](this[_0x1b6c79(0x29c)]),this[_0x1b6c79(0x1f6)](this[_0x1b6c79(0x29c)],_0x47a21b,!0x0);else{if(!this[_0x1b6c79(0x2cc)][_0x1b6c79(0x252)](_0x565840)){const _0x197497=this[_0x1b6c79(0x294)](_0x565840);this[_0x1b6c79(0x260)](_0x197497,_0x565840,!0x1);}this[_0x1b6c79(0x260)](_0x565840,_0x47a21b,!0x0);}return this[_0x1b6c79(0x251)]=_0x565840,this[_0x1b6c79(0x29c)]=_0x47a21b,this[_0x1b6c79(0x1b3)]();}[_0xdfacfb(0x2bd)](_0x14fc98){const _0x36ac4d=_0xdfacfb;this[_0x36ac4d(0x1e9)](),this[_0x36ac4d(0x251)]=_0x14fc98[_0x36ac4d(0x1e8)],this[_0x36ac4d(0x29c)]=_0x14fc98[_0x36ac4d(0x1dd)];for(const _0x5d6dcc in _0x14fc98[_0x36ac4d(0x1b4)]){const _0x184624=_0x14fc98[_0x36ac4d(0x1b4)][_0x5d6dcc][_0x36ac4d(0x2d3)],_0xb52d22=_0x14dec1(_0x14fc98[_0x36ac4d(0x1b4)][_0x5d6dcc][_0x36ac4d(0x2d9)])||{},_0x452a0a=this[_0x36ac4d(0x261)](_0x14fc98[_0x36ac4d(0x1b4)][_0x5d6dcc][_0x36ac4d(0x1b7)]);_0x452a0a[_0x36ac4d(0x259)]=_0x5d6dcc,_0x452a0a[_0x36ac4d(0x2a6)]=!_0x184624||!_0x184624[_0x36ac4d(0x2dc)],_0x452a0a[_0x36ac4d(0x2dc)]=()=>_0x452a0a[_0x36ac4d(0x2a6)],this[_0x36ac4d(0x20b)][_0x36ac4d(0x1be)](_0x5d6dcc,_0x452a0a),this[_0x36ac4d(0x277)][_0x36ac4d(0x1be)](_0x5d6dcc,_0xb52d22),_0x184624&&this[_0x36ac4d(0x212)][_0x36ac4d(0x1be)](_0x5d6dcc,_0x184624);const _0xb62005=this[_0x36ac4d(0x224)](_0x452a0a);this[_0x36ac4d(0x1fc)][_0x36ac4d(0x1be)](_0x5d6dcc,_0xb62005);for(const [_0x329188,_0x5b6cdc]of _0x452a0a[_0x36ac4d(0x245)]){if(!_0x329188[_0x36ac4d(0x2da)](_0x36ac4d(0x2b6)))continue;const _0x450d2b=_0x329188[_0x36ac4d(0x288)](':')[0x2];for(const _0x2654d3 of _0x5b6cdc[_0x36ac4d(0x1d4)]({'singleCharacters':!0x0})){const _0xdf095b=this[_0x36ac4d(0x22d)](_0x2654d3),_0x575757=_0x36ac4d(0x2b8)==_0x2654d3[_0x36ac4d(0x24a)]?_0x2654d3[_0x36ac4d(0x240)][_0x36ac4d(0x1d3)][_0x36ac4d(0x285)](0x0,-0x1):_0x2654d3[_0x36ac4d(0x240)][_0x36ac4d(0x1d3)],_0x4e0122=_0xb62005[_0x36ac4d(0x21a)](_0x575757)[_0x36ac4d(0x1bc)](_0xdf095b);this[_0x36ac4d(0x25f)][_0x36ac4d(0x1be)](_0x4e0122,{'userId':_0x450d2b});}}}this[_0x36ac4d(0x2b5)]=this[_0x36ac4d(0x265)];const _0x22d717=[...Array(this[_0x36ac4d(0x265)])[_0x36ac4d(0x242)]()][_0x36ac4d(0x285)](0x1)[_0x36ac4d(0x2ca)](_0x245220=>!this[_0x36ac4d(0x25f)][_0x36ac4d(0x252)](_0x245220));let _0x5a9914=0x0;const _0x3f6ebb=new Map();for(const _0x507fb2 in _0x14fc98[_0x36ac4d(0x1b4)]){const _0x5a0fa6=_0x14fc98[_0x36ac4d(0x1b4)][_0x507fb2][_0x36ac4d(0x2d3)],_0x4efa32=_0x14dec1(_0x14fc98[_0x36ac4d(0x1b4)][_0x507fb2][_0x36ac4d(0x2ce)])||{},_0x456d9e=this[_0x36ac4d(0x261)](_0x14fc98[_0x36ac4d(0x1b4)][_0x507fb2][_0x36ac4d(0x1c8)]);_0x456d9e[_0x36ac4d(0x259)]=_0x507fb2,_0x456d9e[_0x36ac4d(0x2a6)]=!_0x5a0fa6||_0x5a0fa6[_0x36ac4d(0x2dc)],_0x456d9e[_0x36ac4d(0x2dc)]=()=>_0x456d9e[_0x36ac4d(0x2a6)],this[_0x36ac4d(0x282)][_0x36ac4d(0x1be)](_0x507fb2,_0x456d9e),this[_0x36ac4d(0x2d7)][_0x36ac4d(0x1be)](_0x507fb2,_0x4efa32);const _0x4bbaa0=this[_0x36ac4d(0x224)](_0x456d9e,Number[_0x36ac4d(0x1e5)]);this[_0x36ac4d(0x2d0)][_0x36ac4d(0x1be)](_0x507fb2,_0x4bbaa0),_0x3f6ebb[_0x36ac4d(0x1be)](_0x507fb2,_0x456d9e[_0x36ac4d(0x2dc)]()?_0x4efa32:{});for(const [_0x51d16e,_0x43619e]of _0x456d9e[_0x36ac4d(0x245)]){if(!_0x51d16e[_0x36ac4d(0x2da)](_0x36ac4d(0x2b6)))continue;const _0x1633f3=_0x51d16e[_0x36ac4d(0x288)](':')[0x2];for(const _0x25e11a of _0x43619e[_0x36ac4d(0x1d4)]({'singleCharacters':!0x0})){const _0x2231bc=this[_0x36ac4d(0x22d)](_0x25e11a),_0x952a04=this[_0x36ac4d(0x265)]++,_0x3c8556=_0x36ac4d(0x2b8)==_0x25e11a[_0x36ac4d(0x24a)]?_0x25e11a[_0x36ac4d(0x240)][_0x36ac4d(0x1d3)][_0x36ac4d(0x285)](0x0,-0x1):_0x25e11a[_0x36ac4d(0x240)][_0x36ac4d(0x1d3)];_0x4bbaa0[_0x36ac4d(0x21a)](_0x3c8556)[_0x36ac4d(0x218)](_0x2231bc,_0x952a04),this[_0x36ac4d(0x25f)][_0x36ac4d(0x1be)](_0x952a04,{'userId':_0x1633f3});}}for(const _0xecc395 of this[_0x36ac4d(0x2ae)][_0x36ac4d(0x1ef)][_0x36ac4d(0x254)](_0x456d9e)[_0x36ac4d(0x1d4)]({'singleCharacters':!0x0})){const _0x4e3992=this[_0x36ac4d(0x22d)](_0xecc395),_0x36ed44=_0x36ac4d(0x2b8)==_0xecc395[_0x36ac4d(0x24a)]?_0xecc395[_0x36ac4d(0x240)][_0x36ac4d(0x1d3)][_0x36ac4d(0x285)](0x0,-0x1):_0xecc395[_0x36ac4d(0x240)][_0x36ac4d(0x1d3)],_0x42778c=_0x4bbaa0[_0x36ac4d(0x21a)](_0x36ed44);_0x42778c[_0x36ac4d(0x1bc)](_0x4e3992)>0x0||_0x42778c[_0x36ac4d(0x218)](_0x4e3992,_0x22d717[_0x5a9914++]);}for(const [_0x3697a8,_0x3818f0]of _0x456d9e[_0x36ac4d(0x245)])_0x3697a8[_0x36ac4d(0x2da)](_0x36ac4d(0x2b6))||this[_0x36ac4d(0x1e3)][_0x36ac4d(0x1be)](_0x3697a8,_0x3818f0);}const _0x526cea=G(_0x36ac4d(0x1f2));this[_0x36ac4d(0x20b)][_0x36ac4d(0x1be)](_0x36ac4d(0x1f2),_0x526cea),this[_0x36ac4d(0x1fc)][_0x36ac4d(0x1be)](_0x36ac4d(0x1f2),this[_0x36ac4d(0x224)](_0x526cea,0x1));const _0x18e6f6=G(_0x36ac4d(0x1f2));this[_0x36ac4d(0x282)][_0x36ac4d(0x1be)](_0x36ac4d(0x1f2),_0x18e6f6),this[_0x36ac4d(0x2d0)][_0x36ac4d(0x1be)](_0x36ac4d(0x1f2),this[_0x36ac4d(0x224)](_0x18e6f6,0x1));const _0x3a404b=Array[_0x36ac4d(0x26f)](this[_0x36ac4d(0x282)])[_0x36ac4d(0x25d)](([_0x34759f,_0x256d35])=>[_0x34759f,q(_0x256d35)]);this[_0x36ac4d(0x25a)](this[_0x36ac4d(0x29c)],_0x3a404b,this[_0x36ac4d(0x1e3)],_0x3f6ebb);}[_0xdfacfb(0x261)](_0x217a1a){const _0x491519=_0xdfacfb,_0x2a6ac5=JSON[_0x491519(0x291)](_0x217a1a),_0x49f886=this[_0x491519(0x2ae)][_0x491519(0x23b)][_0x491519(0x293)][_0x491519(0x225)],_0x2c7fe5=new _0x596dee(_0x49f886,_0x2a6ac5[_0x491519(0x25d)](_0x10aa11=>B(_0x10aa11,this[_0x491519(0x2ae)])));return this[_0x491519(0x2ae)][_0x491519(0x1d8)][_0x491519(0x2b9)](_0x2c7fe5);}[_0xdfacfb(0x25a)](_0x2f4119,_0x3fd569,_0x24caed,_0x5d48c4){const _0xe1d4a1=_0xdfacfb,_0x13ee27=new Map(_0x3fd569),_0x517d1e=new Map(_0x14dec1(_0x5d48c4)),_0x400b25=new Map();for(const [_0x30ab58,_0x332d90]of _0x24caed)_0x400b25[_0xe1d4a1(0x1be)](_0x30ab58,{'start':_0x332d90[_0xe1d4a1(0x1c3)][_0xe1d4a1(0x2c7)](),'end':_0x332d90[_0xe1d4a1(0x298)][_0xe1d4a1(0x2c7)](),'rootName':_0x332d90[_0xe1d4a1(0x280)][_0xe1d4a1(0x259)]});this[_0xe1d4a1(0x2cc)][_0xe1d4a1(0x1be)](_0x2f4119,{'roots':_0x13ee27,'markers':_0x400b25,'rootsAttributes':_0x517d1e});}[_0xdfacfb(0x2cb)](_0x43ed1f){const _0x4e23a2=_0xdfacfb;this[_0x4e23a2(0x2cc)][_0x4e23a2(0x1f1)](_0x43ed1f);}[_0xdfacfb(0x1bb)](){const _0x260ab0=_0xdfacfb;this[_0x260ab0(0x1e9)](),this[_0x260ab0(0x251)]=-0x1,this[_0x260ab0(0x29c)]=-0x1,this[_0x260ab0(0x2cc)][_0x260ab0(0x20f)](),this[_0x260ab0(0x2b7)](this[_0x260ab0(0x1f9)]);}[_0xdfacfb(0x1e9)](){const _0x4f1a0b=_0xdfacfb;this[_0x4f1a0b(0x25f)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x2d8)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x212)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x282)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x2d7)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x20b)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x277)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x2d0)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x1fc)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x1e3)][_0x4f1a0b(0x20f)](),this[_0x4f1a0b(0x265)]=0x1,this[_0x4f1a0b(0x2b5)]=this[_0x4f1a0b(0x265)];}[_0xdfacfb(0x224)](_0xc77bf4,_0x2e9a61=null){const _0x2fdf04=_0xdfacfb;let _0x3ad7b5=null;_0xc77bf4['is'](_0x2fdf04(0x241))||(_0x3ad7b5=new _0x463d01(_0xc77bf4[_0x2fdf04(0x297)],{'vid_start':null===_0x2e9a61?this[_0x2fdf04(0x265)]++:_0x2e9a61++}));const _0x52b35b=[];for(const _0xc517e7 of _0xc77bf4[_0x2fdf04(0x281)]())if(_0xc517e7['is'](_0x2fdf04(0x28d))){_0x52b35b[_0x2fdf04(0x28a)](this[_0x2fdf04(0x224)](_0xc517e7,_0x2e9a61));const _0x5934c7=_0x52b35b[_0x52b35b[_0x2fdf04(0x25e)]-0x1];null!==_0x2e9a61&&(_0x2e9a61=_0x5934c7['is'](_0x2fdf04(0x28d),_0x2fdf04(0x1de))?_0x5934c7[_0x2fdf04(0x1bc)](_0x2fdf04(0x2c8))+0x1:_0x5934c7[_0x2fdf04(0x1bc)](_0x2fdf04(0x220))+0x1);}else{for(let _0x53a991=0x0;_0x53a991<_0xc517e7[_0x2fdf04(0x28f)];_0x53a991++)_0x52b35b[_0x2fdf04(0x28a)](new _0x463d01(_0x2fdf04(0x1de),{'vid':null===_0x2e9a61?this[_0x2fdf04(0x265)]++:_0x2e9a61++}));}if(_0xc77bf4['is'](_0x2fdf04(0x241))){const _0x504755=G(_0xc77bf4[_0x2fdf04(0x259)]);return _0x504755[_0x2fdf04(0x2a2)](0x0,_0x52b35b),_0x504755;}return _0x3ad7b5[_0x2fdf04(0x218)](_0x2fdf04(0x220),null===_0x2e9a61?this[_0x2fdf04(0x265)]++:_0x2e9a61++),_0x3ad7b5[_0x2fdf04(0x2a2)](0x0,_0x52b35b),_0x3ad7b5;}[_0xdfacfb(0x260)](_0x19a629,_0x143f05,_0x344d3a){const _0x3bb3b3=_0xdfacfb;this[_0x3bb3b3(0x1e9)]();const {roots:_0x13ea04,markers:_0x1c1ffb,rootsAttributes:_0x1e7e11}=this[_0x3bb3b3(0x2cc)][_0x3bb3b3(0x2ba)](_0x19a629);this[_0x3bb3b3(0x20b)]=new Map(_0x13ea04),this[_0x3bb3b3(0x277)]=new Map(_0x14dec1(_0x1e7e11));for(const [_0x597c84,_0x13ea1a]of this[_0x3bb3b3(0x20b)])if(_0x3bb3b3(0x1f2)!==_0x597c84&&(this[_0x3bb3b3(0x282)][_0x3bb3b3(0x1be)](_0x597c84,q(_0x13ea1a)),this[_0x3bb3b3(0x2d7)]=new Map(_0x14dec1(_0x1e7e11)),_0x344d3a)){const _0x1bb568=this[_0x3bb3b3(0x265)];this[_0x3bb3b3(0x2d0)][_0x3bb3b3(0x1be)](_0x597c84,this[_0x3bb3b3(0x224)](_0x13ea1a)),this[_0x3bb3b3(0x1fc)][_0x3bb3b3(0x1be)](_0x597c84,this[_0x3bb3b3(0x224)](_0x13ea1a,_0x1bb568));}this[_0x3bb3b3(0x2b5)]=this[_0x3bb3b3(0x265)],this[_0x3bb3b3(0x282)][_0x3bb3b3(0x1be)](_0x3bb3b3(0x1f2),q(this[_0x3bb3b3(0x20b)][_0x3bb3b3(0x2ba)](_0x3bb3b3(0x1f2)))),_0x344d3a&&this[_0x3bb3b3(0x2d0)][_0x3bb3b3(0x1be)](_0x3bb3b3(0x1f2),this[_0x3bb3b3(0x224)](this[_0x3bb3b3(0x20b)][_0x3bb3b3(0x2ba)](_0x3bb3b3(0x1f2))));for(const [_0x1d96ec,_0x4ec326]of _0x1c1ffb){const _0x2bfcf9=this[_0x3bb3b3(0x20b)][_0x3bb3b3(0x2ba)](_0x4ec326[_0x3bb3b3(0x259)]),_0x47f5b4=this[_0x3bb3b3(0x282)][_0x3bb3b3(0x2ba)](_0x4ec326[_0x3bb3b3(0x259)]),_0x4f9b8c=new _0x2471d1(this[_0x3bb3b3(0x2be)](_0x4ec326[_0x3bb3b3(0x1c3)],_0x2bfcf9),this[_0x3bb3b3(0x2be)](_0x4ec326[_0x3bb3b3(0x298)],_0x2bfcf9)),_0x54b873=this[_0x3bb3b3(0x239)](_0x4f9b8c,_0x47f5b4);_0x2bfcf9[_0x3bb3b3(0x245)][_0x3bb3b3(0x1be)](_0x1d96ec,_0x4f9b8c),this[_0x3bb3b3(0x1e3)][_0x3bb3b3(0x1be)](_0x1d96ec,_0x54b873);}this[_0x3bb3b3(0x1f6)](_0x19a629,_0x143f05,_0x344d3a);}[_0xdfacfb(0x1f6)](_0x3a8c8d,_0xf5be28,_0x463d49){const _0x170700=_0xdfacfb;for(const _0x260018 of this[_0x170700(0x1f9)][_0x170700(0x2c5)](_0x3a8c8d,_0xf5be28))this[_0x170700(0x1c4)](_0x260018,_0x463d49);for(const _0x1520cc of this[_0x170700(0x282)][_0x170700(0x1e2)]())_0x1520cc[_0x170700(0x245)][_0x170700(0x20f)]();for(const [_0x5070b3,_0x77140]of this[_0x170700(0x1e3)]){this[_0x170700(0x282)][_0x170700(0x2ba)](_0x77140[_0x170700(0x280)][_0x170700(0x259)])[_0x170700(0x245)][_0x170700(0x1be)](_0x5070b3,_0x77140[_0x170700(0x2c7)]());}const _0x39c561=new Map(),_0xce8f5c=new Map();for(const [_0x5dd31f,_0x230926]of this[_0x170700(0x282)])_0x39c561[_0x170700(0x1be)](_0x5dd31f,q(_0x230926)),_0xce8f5c[_0x170700(0x1be)](_0x5dd31f,this[_0x170700(0x2d7)][_0x170700(0x2ba)](_0x5dd31f));this[_0x170700(0x25a)](_0xf5be28,_0x39c561,this[_0x170700(0x1e3)],_0xce8f5c);}[_0xdfacfb(0x294)](_0xe6b0a2){const _0x202c7b=_0xdfacfb,_0x1b5ecd=Array[_0x202c7b(0x26f)](this[_0x202c7b(0x2cc)][_0x202c7b(0x242)]());_0x1b5ecd[_0x202c7b(0x216)]((_0x14d23e,_0x579257)=>_0x14d23e-_0x579257),_0x1b5ecd[_0x202c7b(0x21c)]();for(const _0x6fe854 of _0x1b5ecd)if(_0x6fe854<_0xe6b0a2)return _0x6fe854;return Number[_0x202c7b(0x1e5)];}[_0xdfacfb(0x29b)](_0x5a8666,_0x84b567){const _0x46ade6=_0xdfacfb,_0x21911c=Array[_0x46ade6(0x26f)](_0x84b567[_0x46ade6(0x245)])[_0x46ade6(0x25d)](([_0x3f51f4,_0x22df6])=>[_0x3f51f4,this[_0x46ade6(0x239)](_0x22df6,_0x5a8666)]);_0x5a8666[_0x46ade6(0x245)]=new Map(_0x21911c);}[_0xdfacfb(0x22c)](_0x535508){const _0x505a52=_0xdfacfb;for(const _0xe0e421 of this[_0x505a52(0x1e3)][_0x505a52(0x1e2)]()){const _0x47756d=_0xe0e421[_0x505a52(0x2bb)](_0x535508),_0x5b5b9a=_0x2471d1[_0x505a52(0x1b5)](_0x47756d);_0xe0e421[_0x505a52(0x1c3)]=_0x5b5b9a[_0x505a52(0x1c3)],_0xe0e421[_0x505a52(0x298)]=_0x5b5b9a[_0x505a52(0x298)];}}[_0xdfacfb(0x1c4)](_0x1e8fdb,_0x20ef2e){const _0x4a77a3=_0xdfacfb;if(_0x4a77a3(0x229)==_0x1e8fdb[_0x4a77a3(0x24a)]||_0x4a77a3(0x221)==_0x1e8fdb[_0x4a77a3(0x24a)])return void this[_0x4a77a3(0x263)](_0x1e8fdb,_0x20ef2e);if(_0x4a77a3(0x2bf)==_0x1e8fdb[_0x4a77a3(0x24a)]){const _0xa4fcb1=_0x1e8fdb[_0x4a77a3(0x269)][_0x4a77a3(0x280)][_0x4a77a3(0x259)];this[_0x4a77a3(0x282)][_0x4a77a3(0x252)](_0xa4fcb1)||(this[_0x4a77a3(0x282)][_0x4a77a3(0x1be)](_0xa4fcb1,G(_0xa4fcb1,!0x0)),this[_0x4a77a3(0x2d7)][_0x4a77a3(0x1be)](_0xa4fcb1,{}),_0x20ef2e&&this[_0x4a77a3(0x2d0)][_0x4a77a3(0x1be)](_0xa4fcb1,G(_0xa4fcb1,!0x0)));}else{if(_0x4a77a3(0x2d1)==_0x1e8fdb[_0x4a77a3(0x24a)]||_0x4a77a3(0x207)==_0x1e8fdb[_0x4a77a3(0x24a)]||_0x4a77a3(0x235)==_0x1e8fdb[_0x4a77a3(0x24a)])return void this[_0x4a77a3(0x271)](_0x1e8fdb);}const _0x27834e=this[_0x4a77a3(0x1c5)](_0x1e8fdb,this[_0x4a77a3(0x282)]);if(_0x4a77a3(0x256)!==_0x1e8fdb[_0x4a77a3(0x24a)]&&(_0x27834e[_0x4a77a3(0x29e)](),this[_0x4a77a3(0x22c)](_0x27834e)),_0x20ef2e)switch(_0x27834e[_0x4a77a3(0x24a)]){case _0x4a77a3(0x2bf):this[_0x4a77a3(0x2d5)](_0x1e8fdb);break;case _0x4a77a3(0x2aa):case _0x4a77a3(0x23d):case _0x4a77a3(0x244):this[_0x4a77a3(0x2cd)](_0x1e8fdb);break;case _0x4a77a3(0x290):this[_0x4a77a3(0x2a1)](_0x1e8fdb);break;case _0x4a77a3(0x288):this[_0x4a77a3(0x234)](_0x1e8fdb);break;case _0x4a77a3(0x256):this[_0x4a77a3(0x26a)](_0x1e8fdb);}}[_0xdfacfb(0x1c5)](_0x46027a,_0x23c30f){const _0x39ca60=_0xdfacfb,_0x5d6a36=_0x46027a[_0x39ca60(0x2c7)]();return _0x5d6a36[_0x39ca60(0x26d)]=_0x46027a[_0x39ca60(0x26d)],this[_0x39ca60(0x270)](_0x5d6a36,_0x23c30f),_0x5d6a36;}[_0xdfacfb(0x1cd)](_0x5651d9){const _0x23b1b0=_0xdfacfb;return _0x5651d9[_0x23b1b0(0x25d)](_0xec2da5=>{const _0x1d5033=_0x23b1b0,_0x41c06d=this[_0x1d5033(0x22d)](_0xec2da5);return Number(_0xec2da5[_0x1d5033(0x272)][_0x1d5033(0x1bc)](_0x41c06d));});}[_0xdfacfb(0x250)](_0x2057dc,_0x55f545){const _0x25cd83=_0xdfacfb;if(_0x2057dc['is'](_0x25cd83(0x28d),_0x25cd83(0x1de)))_0x55f545[_0x25cd83(0x28a)]({'item':_0x2057dc,'type':_0x25cd83(0x25c)});else{_0x2057dc['is'](_0x25cd83(0x28d))&&_0x55f545[_0x25cd83(0x28a)]({'item':_0x2057dc,'type':_0x25cd83(0x22e)});for(const _0x4099e1 of _0x2057dc[_0x25cd83(0x281)]())this[_0x25cd83(0x250)](_0x4099e1,_0x55f545);_0x2057dc['is'](_0x25cd83(0x28d))&&_0x55f545[_0x25cd83(0x28a)]({'item':_0x2057dc,'type':_0x25cd83(0x2b8)});}return _0x55f545;}[_0xdfacfb(0x1b3)](){const _0x2f5231=_0xdfacfb,_0x15ba09=new Map(this[_0x2f5231(0x25f)]),_0x56c29b=new Map(_0x15ba09),_0xfc3f85=new Map(),_0x3c5f3f={'insertions':{},'deletions':{}},_0x330549={'insertions':{},'deletions':{}},_0x470c09=new Map(),_0xfeff85=new Set([...this[_0x2f5231(0x20b)][_0x2f5231(0x242)](),...this[_0x2f5231(0x282)][_0x2f5231(0x242)]()]);_0xfeff85[_0x2f5231(0x1f1)](_0x2f5231(0x1f2));for(const _0x266b71 of _0xfeff85){const _0x1007ee=this[_0x2f5231(0x282)][_0x2f5231(0x2ba)](_0x266b71)||G(_0x266b71,!0x1),_0x35602e=this[_0x2f5231(0x20b)][_0x2f5231(0x2ba)](_0x266b71)||G(_0x266b71,!0x1);_0x1007ee[_0x2f5231(0x2dc)]()||_0x35602e[_0x2f5231(0x2dc)]()?(_0x3c5f3f[_0x2f5231(0x1c8)][_0x266b71]=q(_0x1007ee),_0x3c5f3f[_0x2f5231(0x1b7)][_0x266b71]=q(_0x35602e),this[_0x2f5231(0x29b)](_0x3c5f3f[_0x2f5231(0x1b7)][_0x266b71],_0x35602e),this[_0x2f5231(0x29b)](_0x3c5f3f[_0x2f5231(0x1c8)][_0x266b71],_0x1007ee),_0x330549[_0x2f5231(0x1c8)][_0x266b71]=this[_0x2f5231(0x250)](this[_0x2f5231(0x2d0)][_0x2f5231(0x2ba)](_0x266b71),[]),_0x330549[_0x2f5231(0x1b7)][_0x266b71]=this[_0x2f5231(0x250)](this[_0x2f5231(0x1fc)][_0x2f5231(0x2ba)](_0x266b71)||G(_0x266b71,!0x1),[])):_0xfeff85[_0x2f5231(0x1f1)](_0x266b71);}for(const _0x2a395a of _0xfeff85){const _0x308044=_0x330549[_0x2f5231(0x1c8)][_0x2a395a];for(const _0x4a6c66 of _0x308044){const _0x43d5ee=this[_0x2f5231(0x22d)](_0x4a6c66),_0x34b3bf=_0x4a6c66[_0x2f5231(0x272)][_0x2f5231(0x1bc)](_0x43d5ee);_0x56c29b[_0x2f5231(0x1f1)](_0x34b3bf),_0x34b3bf>=this[_0x2f5231(0x2b5)]&&_0xfc3f85[_0x2f5231(0x1be)](_0x34b3bf,_0x15ba09[_0x2f5231(0x2ba)](_0x34b3bf));}}for(const _0x24bbe4 of _0xfeff85){const _0x29b8fa=_0x330549[_0x2f5231(0x1c8)][_0x24bbe4],_0x364d81=this[_0x2f5231(0x1cd)](_0x330549[_0x2f5231(0x1b7)][_0x24bbe4]);let _0x5a0ea8=0x0;for(const _0x438aff of _0x29b8fa){const _0x46e1fe=this[_0x2f5231(0x22d)](_0x438aff),_0x500bbd=_0x438aff[_0x2f5231(0x272)][_0x2f5231(0x1bc)](_0x46e1fe);if(!_0xfc3f85[_0x2f5231(0x252)](_0x500bbd)&&!_0x470c09[_0x2f5231(0x252)](_0x500bbd)){if(_0x56c29b[_0x2f5231(0x252)](_0x500bbd))_0x5a0ea8++;else{if(_0x500bbd!=_0x364d81[_0x5a0ea8]){const _0x198c84=_0x15ba09[_0x2f5231(0x2ba)](_0x500bbd)||_0x15ba09[_0x2f5231(0x2ba)](_0x364d81[_0x5a0ea8]);for(;_0x500bbd!=_0x364d81[_0x5a0ea8];)_0x56c29b[_0x2f5231(0x252)](_0x364d81[_0x5a0ea8])||(_0x470c09[_0x2f5231(0x1be)](_0x364d81[_0x5a0ea8],_0x198c84),_0x15ba09[_0x2f5231(0x1be)](_0x364d81[_0x5a0ea8],_0x198c84)),_0x5a0ea8++;}_0x5a0ea8++;}}}}for(const _0x1c2135 of _0xfeff85){const _0x153bdf=_0x330549[_0x2f5231(0x1c8)][_0x1c2135];for(const _0x13a24c of _0x153bdf){const _0x33ffd8=this[_0x2f5231(0x22d)](_0x13a24c),_0xa5b102=_0x13a24c[_0x2f5231(0x272)][_0x2f5231(0x1bc)](_0x33ffd8);if(_0x470c09[_0x2f5231(0x252)](_0xa5b102)){const _0x4a1805=_0x470c09[_0x2f5231(0x2ba)](_0xa5b102);_0x56c29b[_0x2f5231(0x252)](_0xa5b102)||_0x56c29b[_0x2f5231(0x1be)](_0xa5b102,{..._0x4a1805}),_0xfc3f85[_0x2f5231(0x1be)](_0xa5b102,{..._0x4a1805});}}}for(const _0x5489c8 of _0x56c29b[_0x2f5231(0x242)]())_0x5489c8>=this[_0x2f5231(0x2b5)]&&_0x56c29b[_0x2f5231(0x1f1)](_0x5489c8);const _0x5632a8=new Map();for(const _0x52c630 of _0xfeff85){let _0x1b8211=_0x330549[_0x2f5231(0x1c8)][_0x52c630];for(const _0x5f38db of _0x1b8211)if(_0x5f38db[_0x2f5231(0x272)]['is'](_0x2f5231(0x28d),_0x2f5231(0x243))){const _0x1c1e30=this[_0x2f5231(0x22d)](_0x5f38db),_0x546cfd=_0x5f38db[_0x2f5231(0x272)][_0x2f5231(0x1bc)](_0x1c1e30);if(_0xfc3f85[_0x2f5231(0x252)](_0x546cfd)){const _0x1eb3dd=_0x5f38db[_0x2f5231(0x272)][_0x2f5231(0x1e6)][_0x2f5231(0x1e6)][_0x2f5231(0x1bc)](_0x2f5231(0x1bf)),_0x5d08c3=_0x5632a8[_0x2f5231(0x2ba)](_0x1eb3dd)||new Set();_0x5d08c3[_0x2f5231(0x287)](_0xfc3f85[_0x2f5231(0x2ba)](_0x546cfd)[_0x2f5231(0x1d7)]),_0x5632a8[_0x2f5231(0x1be)](_0x1eb3dd,_0x5d08c3);}}_0x1b8211=_0x330549[_0x2f5231(0x1b7)][_0x52c630];for(const _0x4d28d7 of _0x1b8211)if(_0x4d28d7[_0x2f5231(0x272)]['is'](_0x2f5231(0x28d),_0x2f5231(0x243))){const _0x20d199=this[_0x2f5231(0x22d)](_0x4d28d7),_0x3c255a=_0x4d28d7[_0x2f5231(0x272)][_0x2f5231(0x1bc)](_0x20d199);if(_0x56c29b[_0x2f5231(0x252)](_0x3c255a)){const _0x2f81af=_0x4d28d7[_0x2f5231(0x272)][_0x2f5231(0x1e6)][_0x2f5231(0x1e6)][_0x2f5231(0x1bc)](_0x2f5231(0x1bf)),_0xa4cf70=_0x5632a8[_0x2f5231(0x2ba)](_0x2f81af)||new Set();_0xa4cf70[_0x2f5231(0x287)](_0x56c29b[_0x2f5231(0x2ba)](_0x3c255a)[_0x2f5231(0x1d7)]),_0x5632a8[_0x2f5231(0x1be)](_0x2f81af,_0xa4cf70);}}for(const _0x1804d0 of _0x5632a8[_0x2f5231(0x242)]())(_0xfc3f85[_0x2f5231(0x252)](_0x1804d0)||_0x56c29b[_0x2f5231(0x252)](_0x1804d0))&&_0x5632a8[_0x2f5231(0x1f1)](_0x1804d0);}for(const _0xfe3176 of _0xfeff85){const _0x154811=_0x330549[_0x2f5231(0x1c8)][_0xfe3176];let _0x2353b2=null,_0x2e8dfa=null;for(const _0x5ae5a9 of _0x154811){const _0x3da284=this[_0x2f5231(0x22d)](_0x5ae5a9),_0x39e74c=_0x5ae5a9[_0x2f5231(0x272)][_0x2f5231(0x1bc)](_0x3da284),_0x6df27=_0x5632a8[_0x2f5231(0x2ba)](_0x39e74c);_0x6df27&&_0x2f5231(0x22e)==_0x5ae5a9[_0x2f5231(0x24a)]&&(_0x2353b2=Array[_0x2f5231(0x26f)](_0x6df27)[0x0],_0x2e8dfa=_0x5ae5a9[_0x2f5231(0x272)][_0x2f5231(0x1bc)](_0x2f5231(0x220))),_0x2353b2&&(_0x56c29b[_0x2f5231(0x1be)](_0x39e74c,{'userId':_0x2353b2}),_0xfc3f85[_0x2f5231(0x1be)](_0x39e74c,{'userId':_0x2353b2})),_0x39e74c==_0x2e8dfa&&(_0x2353b2=null,_0x2e8dfa=null);}}const _0xe346ab={},_0x16829e=new Set();for(const _0xfc319a of _0xfeff85){const _0x29f832=_0x3c5f3f[_0x2f5231(0x1b7)][_0xfc319a],_0x474c15=_0x3c5f3f[_0x2f5231(0x1c8)][_0xfc319a];for(const {userId:_0x31f4c2}of this[_0x2f5231(0x2d8)][_0x2f5231(0x1e2)]())null!==_0x31f4c2&&_0x16829e[_0x2f5231(0x287)](_0x31f4c2);for(const {userId:_0x466972}of this[_0x2f5231(0x212)][_0x2f5231(0x1e2)]())null!==_0x466972&&_0x16829e[_0x2f5231(0x287)](_0x466972);this[_0x2f5231(0x228)](_0x474c15,_0x330549[_0x2f5231(0x1c8)][_0xfc319a],_0xfc3f85,_0x2f5231(0x29f),_0x16829e),this[_0x2f5231(0x228)](_0x29f832,_0x330549[_0x2f5231(0x1b7)][_0xfc319a],_0x56c29b,_0x2f5231(0x274),_0x16829e),_0xe346ab[_0xfc319a]={'insertions':this[_0x2f5231(0x2ac)](_0x474c15),'deletions':this[_0x2f5231(0x2ac)](_0x29f832),'attachChange':this[_0x2f5231(0x212)][_0x2f5231(0x2ba)](_0xfc319a)||null,'attributesBefore':_0x14dec1(this[_0x2f5231(0x277)][_0x2f5231(0x2ba)](_0xfc319a))||{},'attributesAfter':_0x14dec1(this[_0x2f5231(0x2d7)][_0x2f5231(0x2ba)](_0xfc319a))};}return{'diffData':_0xe346ab,'authorsIds':Array[_0x2f5231(0x26f)](_0x16829e)};}[_0xdfacfb(0x1e7)](_0x17664b){const _0x4b3235=_0xdfacfb;for(const [,_0x204ea2]of _0x17664b[_0x4b3235(0x245)]){const _0x36c908=_0x204ea2[_0x4b3235(0x1c3)][_0x4b3235(0x1e4)]()[_0x4b3235(0x2ca)](_0x163c54=>_0x4b3235(0x243)==_0x163c54[_0x4b3235(0x297)]);for(const _0xea1d44 of _0x36c908)0x1==_0xea1d44[_0x4b3235(0x230)]&&_0xea1d44[_0x4b3235(0x296)](0x0)['is'](_0x4b3235(0x28d),_0x4b3235(0x21b))&&_0xea1d44[_0x4b3235(0x296)](0x0)[_0x4b3235(0x218)](_0x4b3235(0x1c6),!0x0);}}[_0xdfacfb(0x2ac)](_0x3080ed){const _0x36a206=_0xdfacfb;this[_0x36a206(0x1e7)](_0x3080ed);const _0x4e2106=this[_0x36a206(0x2ae)][_0x36a206(0x1d8)][_0x36a206(0x276)](_0x3080ed,{}),_0x4e0d24=Array[_0x36a206(0x26f)](_0x4e2106[_0x36a206(0x281)]())[_0x36a206(0x25d)](_0x41f939=>this[_0x36a206(0x1b9)](_0x41f939));return JSON[_0x36a206(0x211)](_0x4e0d24);}[_0xdfacfb(0x1b9)](_0x4cfe34){const _0x4e5580=_0xdfacfb;if(_0x4cfe34['is'](_0x4e5580(0x1de)))return _0x4cfe34[_0x4e5580(0x1d8)];{const _0x4e2829=_0x4cfe34;return{'type':Object[_0x4e5580(0x242)](T)[_0x4e5580(0x253)](_0x337f89=>_0x4cfe34 instanceof T[_0x337f89]),'name':_0x4e2829[_0x4e5580(0x297)],'attributes':Array[_0x4e5580(0x26f)](_0x4e2829[_0x4e5580(0x2c4)]()),'children':Array[_0x4e5580(0x26f)](_0x4e2829[_0x4e5580(0x281)]())[_0x4e5580(0x25d)](_0x5b0a1c=>this[_0x4e5580(0x1b9)](_0x5b0a1c))};}}[_0xdfacfb(0x228)](_0x52b0cb,_0x1b4a8a,_0x3de4d5,_0x3c51bb,_0x714a1d){const _0x221a4a=_0xdfacfb;let _0x2d83f0=null,_0x52a390=null,_0x2d8b45=0x0;const _0x1e7b2b=this[_0x221a4a(0x2ae)][_0x221a4a(0x1ef)];for(let _0x34ff1=0x0;_0x34ff1<_0x1b4a8a[_0x221a4a(0x25e)];_0x34ff1++){const _0x4f4aeb=this[_0x221a4a(0x22d)](_0x1b4a8a[_0x34ff1]),_0x28dc30=_0x1b4a8a[_0x34ff1][_0x221a4a(0x272)][_0x221a4a(0x1bc)](_0x4f4aeb),_0xb9577a=_0x3de4d5[_0x221a4a(0x2ba)](_0x28dc30),_0xcb59c6=_0x34ff1==_0x1b4a8a[_0x221a4a(0x25e)]-0x1;(!_0x2d83f0&&_0xb9577a&&(_0x2d83f0=_0xb9577a,_0x52a390=_0x1b4a8a[_0x34ff1]),_0x2d83f0&&(!_0xb9577a||_0xb9577a[_0x221a4a(0x1d7)]!=_0x2d83f0[_0x221a4a(0x1d7)]))&&(_0x3d1d35(_0xb9577a,L(_0x52a390,_0x52b0cb,_0x1e7b2b),L(_0x1b4a8a[_0x34ff1],_0x52b0cb,_0x1e7b2b)),_0x2d83f0=_0xb9577a||null,_0x52a390=_0xb9577a?_0x1b4a8a[_0x34ff1]:null),_0x2d83f0&&_0xcb59c6&&_0x3d1d35(_0xb9577a,L(_0x52a390,_0x52b0cb,_0x1e7b2b),W(_0x1b4a8a[_0x34ff1],_0x52b0cb,_0x1e7b2b));}function _0x3d1d35(_0x5b9cdf,_0x98dd21,_0x1cfb2f){const _0x1266cf=_0x221a4a,_0x440af2=_0x2d83f0[_0x1266cf(0x1d7)],_0x5c4342=_0x1266cf(0x2b6)+_0x3c51bb+':'+_0x440af2+':'+_0x2d8b45++,_0x567ee3=_0x1e7b2b[_0x1266cf(0x2a8)](_0x98dd21,_0x1cfb2f);_0x52b0cb[_0x1266cf(0x245)][_0x1266cf(0x1be)](_0x5c4342,_0x567ee3),null!==_0x440af2&&_0x714a1d[_0x1266cf(0x287)](_0x440af2);}}[_0xdfacfb(0x22d)](_0x26d1d0){const _0xd80634=_0xdfacfb;switch(_0x26d1d0[_0xd80634(0x24a)]){case _0xd80634(0x22e):return _0xd80634(0x1bf);case _0xd80634(0x2b8):return _0xd80634(0x220);default:return _0xd80634(0x2c8);}}[_0xdfacfb(0x270)](_0x5252cb,_0xc2f1dd){const _0x12f0c7=_0xdfacfb;_0x5252cb[_0x12f0c7(0x27f)]=null;for(const _0x279621 in _0x5252cb){const _0x15dca1=_0x5252cb[_0x279621];if(_0x15dca1 instanceof _0x1d9877){const _0x50dd09=_0xc2f1dd[_0x12f0c7(0x2ba)](_0x15dca1[_0x12f0c7(0x280)][_0x12f0c7(0x259)]);_0x5252cb[_0x279621]=this[_0x12f0c7(0x2be)](_0x15dca1,_0x50dd09);}if(_0x15dca1 instanceof _0x2471d1){const _0x4f52b6=_0xc2f1dd[_0x12f0c7(0x2ba)](_0x15dca1[_0x12f0c7(0x280)][_0x12f0c7(0x259)]);_0x5252cb[_0x279621]=this[_0x12f0c7(0x239)](_0x15dca1,_0x4f52b6);}_0x12f0c7(0x280)===_0x279621&&(_0x5252cb[_0x12f0c7(0x280)]=_0xc2f1dd[_0x12f0c7(0x2ba)](_0x5252cb[_0x12f0c7(0x280)][_0x12f0c7(0x259)]));}}[_0xdfacfb(0x239)](_0x46a969,_0x2dfb60){const _0x58729a=_0xdfacfb;return this[_0x58729a(0x2ae)][_0x58729a(0x1ef)][_0x58729a(0x2a8)](this[_0x58729a(0x2be)](_0x46a969[_0x58729a(0x1c3)],_0x2dfb60),this[_0x58729a(0x2be)](_0x46a969[_0x58729a(0x298)],_0x2dfb60));}[_0xdfacfb(0x2be)](_0x3d052b,_0x4de742){const _0x506805=_0xdfacfb;return this[_0x506805(0x2ae)][_0x506805(0x1ef)][_0x506805(0x2ab)](_0x4de742,_0x3d052b[_0x506805(0x1d3)],_0x3d052b[_0x506805(0x27c)]);}[_0xdfacfb(0x2d5)](_0x8379ec){const _0x1a48c7=_0xdfacfb,_0x5b23dc=this[_0x1a48c7(0x2d0)][_0x1a48c7(0x2ba)](_0x8379ec[_0x1a48c7(0x269)][_0x1a48c7(0x280)][_0x1a48c7(0x259)]),_0x3941ac=this[_0x1a48c7(0x2be)](_0x8379ec[_0x1a48c7(0x269)],_0x5b23dc),_0x4e8d15=null===_0x8379ec[_0x1a48c7(0x26d)]?null:_0x8379ec[_0x1a48c7(0x26d)]||this[_0x1a48c7(0x2ae)][_0x1a48c7(0x236)][_0x1a48c7(0x2ba)](_0x1a48c7(0x200))['me']['id'],_0x206f97=_0x3941ac[_0x1a48c7(0x1e6)],_0x1daf9f=this[_0x1a48c7(0x265)],_0x571756=[];for(const _0x23fe1e of _0x8379ec[_0x1a48c7(0x2cf)])if(_0x23fe1e['is'](_0x1a48c7(0x28d)))_0x571756[_0x1a48c7(0x28a)](this[_0x1a48c7(0x224)](_0x23fe1e));else{for(let _0x489e4c=0x0;_0x489e4c<_0x23fe1e[_0x1a48c7(0x28f)];_0x489e4c++)_0x571756[_0x1a48c7(0x28a)](new _0x463d01(_0x1a48c7(0x1de),{'vid':this[_0x1a48c7(0x265)]++}));}const _0x134062=this[_0x1a48c7(0x265)];for(let _0xbfe756=_0x1daf9f;_0xbfe756<_0x134062;_0xbfe756++)this[_0x1a48c7(0x25f)][_0x1a48c7(0x1be)](_0xbfe756,{'userId':_0x4e8d15});_0x206f97[_0x1a48c7(0x2a2)](_0x3941ac[_0x1a48c7(0x1c0)],_0x571756);}[_0xdfacfb(0x2cd)](_0x389958){const _0x181d77=_0xdfacfb;(_0x389958=this[_0x181d77(0x1c5)](_0x389958,this[_0x181d77(0x2d0)]))[_0x181d77(0x29e)]();const _0x3e991a=null===_0x389958[_0x181d77(0x26d)]?null:_0x389958[_0x181d77(0x26d)]||this[_0x181d77(0x2ae)][_0x181d77(0x236)][_0x181d77(0x2ba)](_0x181d77(0x200))['me']['id'],_0x38ea1d=_0x389958[_0x181d77(0x227)](),_0xc8b087=_0x38ea1d[_0x181d77(0x1e6)],_0x5785ad=_0x38ea1d[_0x181d77(0x1c0)];!function _0x1f6ccc(_0x6b1de,_0x29e0d2,_0x1e226d,_0x3233e4){const _0x164b21=_0x181d77;for(let _0x800a32=_0x1e226d;_0x800a32<_0x3233e4;_0x800a32++){const _0x3a0bca=_0x29e0d2[_0x164b21(0x296)](_0x800a32);_0x3a0bca['is'](_0x164b21(0x28d),_0x164b21(0x1de))?_0x6b1de[_0x164b21(0x1be)](_0x3a0bca[_0x164b21(0x1bc)](_0x164b21(0x2c8)),{'userId':_0x3e991a}):(_0x6b1de[_0x164b21(0x1be)](_0x3a0bca[_0x164b21(0x1bc)](_0x164b21(0x1bf)),{'userId':_0x3e991a}),_0x1f6ccc(_0x6b1de,_0x3a0bca,0x0,_0x3a0bca[_0x164b21(0x230)]),_0x6b1de[_0x164b21(0x1be)](_0x3a0bca[_0x164b21(0x1bc)](_0x164b21(0x220)),{'userId':_0x3e991a}));}}(this[_0x181d77(0x25f)],_0xc8b087,_0x5785ad,_0x5785ad+_0x389958[_0x181d77(0x2c0)]);}[_0xdfacfb(0x2a1)](_0xd364ae){const _0x23eb1b=_0xdfacfb,_0x20dc20=null===(_0xd364ae=this[_0x23eb1b(0x1c5)](_0xd364ae,this[_0x23eb1b(0x2d0)]))[_0x23eb1b(0x26d)]?null:_0xd364ae[_0x23eb1b(0x26d)]||this[_0x23eb1b(0x2ae)][_0x23eb1b(0x236)][_0x23eb1b(0x2ba)](_0x23eb1b(0x200))['me']['id'],_0x200348=_0xd364ae[_0x23eb1b(0x23e)][_0x23eb1b(0x1e6)],_0x36868c=_0xd364ae[_0x23eb1b(0x1d0)][_0x23eb1b(0x1e6)],_0x508c6c=_0x200348[_0x23eb1b(0x1bc)](_0x23eb1b(0x220)),_0x2566da=_0x36868c[_0x23eb1b(0x1bc)](_0x23eb1b(0x1bf));_0x200348[_0x23eb1b(0x218)](_0x23eb1b(0x220),_0x36868c[_0x23eb1b(0x1bc)](_0x23eb1b(0x220))),_0x36868c[_0x23eb1b(0x218)](_0x23eb1b(0x220),_0x508c6c),this[_0x23eb1b(0x25f)][_0x23eb1b(0x1be)](_0x2566da,{'userId':_0x20dc20}),this[_0x23eb1b(0x25f)][_0x23eb1b(0x1be)](_0x508c6c,{'userId':_0x20dc20}),_0xd364ae[_0x23eb1b(0x29e)]();}[_0xdfacfb(0x234)](_0x5099f){const _0x1487f3=_0xdfacfb,_0x5ce1aa=null===(_0x5099f=this[_0x1487f3(0x1c5)](_0x5099f,this[_0x1487f3(0x2d0)]))[_0x1487f3(0x26d)]?null:_0x5099f[_0x1487f3(0x26d)]||this[_0x1487f3(0x2ae)][_0x1487f3(0x236)][_0x1487f3(0x2ba)](_0x1487f3(0x200))['me']['id'],_0x4ea979=_0x5099f[_0x1487f3(0x204)],_0x30e16a=_0x5099f[_0x1487f3(0x24d)][_0x1487f3(0x1e6)];_0x5099f[_0x1487f3(0x29e)]();const _0x427e01=_0x30e16a[_0x1487f3(0x1bc)](_0x1487f3(0x220)),_0x5392ca=_0x5099f[_0x1487f3(0x1c2)][_0x1487f3(0x21d)];if(_0x4ea979){const _0x38535e=_0x5392ca[_0x1487f3(0x1bc)](_0x1487f3(0x220)),_0x5ddedc=_0x30e16a[_0x1487f3(0x1bc)](_0x1487f3(0x220));_0x30e16a[_0x1487f3(0x218)](_0x1487f3(0x220),_0x38535e),_0x5392ca[_0x1487f3(0x218)](_0x1487f3(0x220),_0x5ddedc),this[_0x1487f3(0x25f)][_0x1487f3(0x1be)](_0x30e16a[_0x1487f3(0x1bc)](_0x1487f3(0x220)),{'userId':_0x5ce1aa}),this[_0x1487f3(0x25f)][_0x1487f3(0x1be)](_0x5392ca[_0x1487f3(0x1bc)](_0x1487f3(0x1bf)),{'userId':_0x5ce1aa});}else{const _0x5e145a=this[_0x1487f3(0x265)]++,_0x3cfb45=this[_0x1487f3(0x265)]++;_0x30e16a[_0x1487f3(0x218)](_0x1487f3(0x220),_0x5e145a),_0x5392ca[_0x1487f3(0x218)](_0x1487f3(0x1bf),_0x3cfb45),_0x5392ca[_0x1487f3(0x218)](_0x1487f3(0x220),_0x427e01),this[_0x1487f3(0x25f)][_0x1487f3(0x1be)](_0x5e145a,{'userId':_0x5ce1aa}),this[_0x1487f3(0x25f)][_0x1487f3(0x1be)](_0x3cfb45,{'userId':_0x5ce1aa});}}[_0xdfacfb(0x26a)](_0x5bd699){const _0x25f3f4=_0xdfacfb;if(!_0x5bd699[_0x25f3f4(0x1ce)])return;const _0x1a63d7=(_0x5bd699=this[_0x25f3f4(0x1c5)](_0x5bd699,this[_0x25f3f4(0x282)]))[_0x25f3f4(0x1bd)]?_0x5bd699[_0x25f3f4(0x1bd)][_0x25f3f4(0x280)]:null,_0x55febe=_0x5bd699[_0x25f3f4(0x2a7)]?_0x5bd699[_0x25f3f4(0x2a7)][_0x25f3f4(0x280)]:null;_0x1a63d7&&this[_0x25f3f4(0x1e3)][_0x25f3f4(0x1f1)](_0x5bd699[_0x25f3f4(0x297)]),_0x55febe&&this[_0x25f3f4(0x1e3)][_0x25f3f4(0x1be)](_0x5bd699[_0x25f3f4(0x297)],_0x5bd699[_0x25f3f4(0x2a7)][_0x25f3f4(0x2c7)]());const _0x3a4612=null===_0x5bd699[_0x25f3f4(0x26d)]?null:_0x5bd699[_0x25f3f4(0x26d)]||this[_0x25f3f4(0x2ae)][_0x25f3f4(0x236)][_0x25f3f4(0x2ba)](_0x25f3f4(0x200))['me']['id'],_0x468146=_0x5bd699[_0x25f3f4(0x297)];if(!this[_0x25f3f4(0x2d8)][_0x25f3f4(0x252)](_0x468146))return void this[_0x25f3f4(0x2d8)][_0x25f3f4(0x1be)](_0x468146,{'range':_0x5bd699[_0x25f3f4(0x1bd)],'userId':_0x3a4612});const _0x445768=this[_0x25f3f4(0x2d8)][_0x25f3f4(0x2ba)](_0x468146),_0x7bae03=_0x445768[_0x25f3f4(0x209)],_0x8922b6=_0x5bd699[_0x25f3f4(0x2a7)];null==_0x7bae03&&null==_0x8922b6||_0x7bae03&&_0x8922b6&&_0x7bae03[_0x25f3f4(0x275)](_0x8922b6)?this[_0x25f3f4(0x2d8)][_0x25f3f4(0x1f1)](_0x5bd699[_0x25f3f4(0x297)]):_0x445768[_0x25f3f4(0x1d7)]=_0x3a4612;}[_0xdfacfb(0x263)](_0x175731,_0x3943eb){const _0x385ea4=_0xdfacfb;this[_0x385ea4(0x282)][_0x385ea4(0x252)](_0x175731[_0x385ea4(0x259)])?this[_0x385ea4(0x282)][_0x385ea4(0x2ba)](_0x175731[_0x385ea4(0x259)])[_0x385ea4(0x2a6)]=_0x175731[_0x385ea4(0x26e)]:(this[_0x385ea4(0x282)][_0x385ea4(0x1be)](_0x175731[_0x385ea4(0x259)],G(_0x175731[_0x385ea4(0x259)],!0x0)),this[_0x385ea4(0x2d7)][_0x385ea4(0x1be)](_0x175731[_0x385ea4(0x259)],{}),_0x3943eb&&this[_0x385ea4(0x2d0)][_0x385ea4(0x1be)](_0x175731[_0x385ea4(0x259)],G(_0x175731[_0x385ea4(0x259)],!0x0)));const _0x34762a=null===_0x175731[_0x385ea4(0x26d)]?null:_0x175731[_0x385ea4(0x26d)]||this[_0x385ea4(0x2ae)][_0x385ea4(0x236)][_0x385ea4(0x2ba)](_0x385ea4(0x200))['me']['id'],_0x4ce902=this[_0x385ea4(0x212)][_0x385ea4(0x2ba)](_0x175731[_0x385ea4(0x259)]);_0x4ce902&&_0x4ce902[_0x385ea4(0x1d7)]===_0x34762a?this[_0x385ea4(0x212)][_0x385ea4(0x1f1)](_0x175731[_0x385ea4(0x259)]):this[_0x385ea4(0x212)][_0x385ea4(0x1be)](_0x175731[_0x385ea4(0x259)],{'userId':_0x34762a,'isAttached':_0x175731[_0x385ea4(0x26e)]});}[_0xdfacfb(0x271)](_0x2dda71){const _0x3e5945=_0xdfacfb,_0x1f6730=this[_0x3e5945(0x2d7)][_0x3e5945(0x2ba)](_0x2dda71[_0x3e5945(0x280)][_0x3e5945(0x259)]);null===_0x2dda71[_0x3e5945(0x2a9)]?delete _0x1f6730[_0x2dda71[_0x3e5945(0x223)]]:_0x1f6730[_0x2dda71[_0x3e5945(0x223)]]=_0x2dda71[_0x3e5945(0x2a9)];}}function q(_0x2f4bac){const _0x3f076d=_0xdfacfb,_0x2768f7=G(_0x2f4bac[_0x3f076d(0x259)],_0x2f4bac[_0x3f076d(0x2dc)]());for(const _0x591d7e of _0x2f4bac[_0x3f076d(0x281)]()){const _0x5de133=_0x591d7e[_0x3f076d(0x246)](!0x0);_0x2768f7[_0x3f076d(0x2af)](_0x5de133);}return _0x2768f7;}function G(_0x168f35,_0x2ec72d=!0x0){const _0x445099=_0xdfacfb,_0x5ca4ae=new _0x3e2c28();return _0x5ca4ae[_0x445099(0x259)]=_0x168f35,_0x5ca4ae[_0x445099(0x2a6)]=_0x2ec72d,_0x5ca4ae[_0x445099(0x2dc)]=()=>_0x5ca4ae[_0x445099(0x2a6)],_0x5ca4ae;}function L(_0x21c4bf,_0x2d730c,_0x5e9b4e){const _0x343ecd=_0xdfacfb,_0x3e52ea=_0x343ecd(0x2b8)==_0x21c4bf[_0x343ecd(0x24a)]?_0x5e9b4e[_0x343ecd(0x1ba)](_0x21c4bf[_0x343ecd(0x272)],_0x343ecd(0x298)):_0x5e9b4e[_0x343ecd(0x1cc)](_0x21c4bf[_0x343ecd(0x272)]);return _0x5e9b4e[_0x343ecd(0x2ab)](_0x2d730c,_0x3e52ea[_0x343ecd(0x1d3)],_0x3e52ea[_0x343ecd(0x27c)]);}function W(_0x3e9a6d,_0x305183,_0x23a4b7){const _0x5edabb=_0xdfacfb,_0xa0c230=_0x5edabb(0x22e)==_0x3e9a6d[_0x5edabb(0x24a)]?_0x23a4b7[_0x5edabb(0x1ba)](_0x3e9a6d[_0x5edabb(0x272)],0x0):_0x23a4b7[_0x5edabb(0x2d6)](_0x3e9a6d[_0x5edabb(0x272)]);return _0x23a4b7[_0x5edabb(0x2ab)](_0x305183,_0xa0c230[_0x5edabb(0x1d3)],_0xa0c230[_0x5edabb(0x27c)]);}
|
|
23
|
+
const _0x47aec1=_0xe2b3;(function(_0x374b57,_0x4321d4){const _0x53a952=_0xe2b3,_0x48a13d=_0x374b57();while(!![]){try{const _0x13a873=-parseInt(_0x53a952(0x1e0))/0x1*(parseInt(_0x53a952(0x232))/0x2)+-parseInt(_0x53a952(0x2dc))/0x3*(parseInt(_0x53a952(0x25e))/0x4)+-parseInt(_0x53a952(0x20f))/0x5*(parseInt(_0x53a952(0x1e1))/0x6)+-parseInt(_0x53a952(0x29c))/0x7+parseInt(_0x53a952(0x2a4))/0x8*(parseInt(_0x53a952(0x224))/0x9)+-parseInt(_0x53a952(0x1cd))/0xa*(parseInt(_0x53a952(0x2b4))/0xb)+parseInt(_0x53a952(0x208))/0xc;if(_0x13a873===_0x4321d4)break;else _0x48a13d['push'](_0x48a13d['shift']());}catch(_0x130c3e){_0x48a13d['push'](_0x48a13d['shift']());}}}(_0x3d24,0x7e829));import{Users as _0x126567}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3d24(){const _0x5f76e8=['deletion','_insertChild','_fixRange','_removeMetaData','_saveMetaData','dataDowncast','_prepareViewToSave','tableCell','663160QKXiGE','forEach','offsetSize','reinsert','view','getTransformedByOperation','getRevisionDocumentData','source','resolve','attributes','_fixPosition','_bufferUpdate','_setAttribute','_getState','define','_applyOperations','attributesBefore','_markChanges','getAttribute','_appendChild','addRoot','_lastTo','targetPosition','_createCurrentRevision','rootName','config','previousPosition','dataToMarker','attachChange','_startingRevisionId','parent','setSource','creatorId','splitPosition','set','from','toModel','markers','history','_handleInsertOperation','size','getTime','plugins','_generateTape','_isPendingUpdate','getRevision','document','getOperation','loadState','isAdd','attributesAfter','_createInitialRevision','_diffRootsAttributes','includes','Users','getMovedRangeStart','keys','some','stickiness','roots','_transformMarkers','editor','2539320AesEgi','RevisionsRepository','detachRoot','getOperations','_processRootBeforeSave','_makeIdsRoot','createPositionFromPath','_getFromVersion','16OyLNlO','getWalker','default','init','split','addRevision','revision','updateRevisions','_handleMarkerOperation','_isAttached','marker','text','model','PendingActions','requires','affectsData','8256061gZZNOm','_touchedMarkers','_savedMetaData','_getPreviousFrom','nodeAfter','_loadRevisionData','_baseRoots','values','getRange','_operations','PENDING_ACTION_REVISION_HISTORY','buildRevisionData','_fixOperation','slice','delete','conversion','element','then','addRevisionData','find','getUser','revision:','start','oldRange','getAncestors','afterInit','_handleSplitOperation','revision-start','$text','_getViewJson','getRevisions','reInit','position','isAttached','vid_start','nodes','_authorId','hasContent','pluginName','merge','9hBzzkh','filter','getLatestVersion','_clone','isEnabled','saveRevision','_handleMoveOperation','_findInsertionIndex','parse','documentFragment','deletions','_markers','collaboration.channelId','children','key','fromEntries','finally','_handleRootAttributeOperation','_reset','getRoot','move','isEqual','repository','createRevision','initial','_lastFrom','_baseRootsAttributes','type','version','getIndex','10hjoFov','getChildren','getNodeByPath','initialData','childCount','_bufferedUpdates','_source','addRootAttribute','shift','_diffRoots','RealTimeCollaborationClient','data-revision-','_cloneOperation','startsWith','userId','_update','root','useFillerType','getData','616579XlnIBm','6438FFgelw','authorsIds','_getVidAttributeName','adapter','createPositionAt','get','_continueCurrentRevision','clear','toData','getRevisionRootsAttributes','insertionPosition','_getBaseVids','for','update','stringify','editing','_copyMarkers','elementStart','has','upcast','getAttributes','revision-end','item','range','rootsAttributes','newValue','processor','_removePendingAction','_removeRevisionMarkers','_baseIdsRoots','length','_idsRoots','reverse','_revisionDataBuilder','_pendingAction','sourcePosition','NEGATIVE_INFINITY','remove','_makeModelFromViewString','22777260UUxJJN','_touched','_calculateMetaData','RevisionTracker','paragraph','isReady','createPositionBefore','440NEbweT','end','toView','$graveyard','data','string','setRevisionData','sendBufferedUpdates','fromVersion','creator','_initialRevisionId','_startingVersion','insertion','_loadState','ready','newRange','trim','_addPendingAction','_handleRootOperation','_makeRevision','revisionHistory.resumeUnsavedRevision','4237938liVkBT','diffData','_createFromRanges','howMany','elementEnd','_setConversion','path','createRange','_handleOperation','_isInit','max','bind','getChild','vid','2OjyPnx','changeRootAttribute','Empty\x20document','_loadedStateData','insertions','clone','locale','keepParagraph','_handleMergeOperation','removeRootAttribute','currentRevision','baseVersion','vid_end','sort','marked','createRangeIn','createPositionAfter','_execute','Initial\x20revision','add','map','graveyardPosition','getCurrentRevisionId','_replaceEditorDataWithRevisionData','authors','_touchedRoots','_revisionId','createdAt','insert','name','offset','toVersion','editor-initial-data-replaced-with-revision-data','markerToData','getRootNames','push'];_0x3d24=function(){return _0x5f76e8;};return _0x3d24();}import{Plugin as _0x40765f,PendingActions as _0x692368}from'ckeditor5/src/core.js';import{logWarning as _0x40722f,uid as _0x5a811d}from'ckeditor5/src/utils.js';import{Position as _0x361f2f,Range as _0x5ab204,Element as _0x512062,DocumentFragment as _0x425490,ViewText as _0x382e47,ViewElement as _0x39a8e5,ViewContainerElement as _0x1d95e9,ViewAttributeElement as _0x55c4d6,ViewEmptyElement as _0x36280a,ViewRawElement as _0x20b779,ViewUIElement as _0x466176,ViewDocumentFragment as _0x4f0aea}from'ckeditor5/src/engine.js';import _0x37fe1e from'./revisionsrepository.js';import{getTranslation as _0x3c11c7}from'./utils/common-translations.js';import{cloneDeep as _0x200b98,isEqual as _0x4c2679}from'lodash-es';const T={'c':_0x1d95e9,'a':_0x55c4d6,'e':_0x36280a,'r':_0x20b779,'u':_0x466176};export default class l extends _0x40765f{static get[_0x47aec1(0x2da)](){const _0x2210d7=_0x47aec1;return _0x2210d7(0x20b);}static get[_0x47aec1(0x2b2)](){return[_0x126567,_0x37fe1e,_0x692368];}constructor(_0x3114ba){const _0xabe49e=_0x47aec1;super(_0x3114ba),this[_0xabe49e(0x1e4)]=null,this[_0xabe49e(0x23c)]=null,this[_0xabe49e(0x202)]=new J(this[_0xabe49e(0x29b)]),this[_0xabe49e(0x219)]=this[_0xabe49e(0x29b)][_0xabe49e(0x277)][_0xabe49e(0x1e6)](_0xabe49e(0x2e8))||_0xabe49e(0x1c7),this[_0xabe49e(0x1d2)]=new Map(),this[_0xabe49e(0x235)]=null;const _0x3d5ee9=_0x5a811d();this[_0xabe49e(0x1d3)]={'history':this[_0xabe49e(0x29b)][_0xabe49e(0x2b0)][_0xabe49e(0x28c)][_0xabe49e(0x284)],'getLatestVersion':()=>Promise[_0xabe49e(0x266)](this[_0xabe49e(0x29b)][_0xabe49e(0x2b0)][_0xabe49e(0x28c)][_0xabe49e(0x1cb)]),'getCurrentRevisionId':()=>_0x3d5ee9},this[_0xabe49e(0x280)](_0xabe49e(0x20d),!0x1),this[_0xabe49e(0x280)](_0xabe49e(0x2e0),!0x0),this[_0xabe49e(0x280)](_0xabe49e(0x28a),!0x1),this[_0xabe49e(0x29b)][_0xabe49e(0x277)][_0xabe49e(0x26c)](_0xabe49e(0x223),!0x0),this[_0xabe49e(0x29b)][_0xabe49e(0x2c3)][_0xabe49e(0x1ed)](_0xabe49e(0x1f4))[_0xabe49e(0x279)]({'view':_0xabe49e(0x2aa)});}[_0x47aec1(0x2a7)](){const _0xf7258f=_0x47aec1;this[_0xf7258f(0x1c5)]=this[_0xf7258f(0x29b)][_0xf7258f(0x288)][_0xf7258f(0x1e6)](_0xf7258f(0x29d)),this[_0xf7258f(0x229)](),this[_0xf7258f(0x29b)][_0xf7258f(0x213)]['on'](_0xf7258f(0x21d),()=>{const _0x46024c=_0xf7258f,_0x43288d=this[_0x46024c(0x1c5)][_0x46024c(0x28b)](0x0),_0x52dcef=_0x43288d&&null===_0x43288d[_0x46024c(0x218)]?_0x43288d:null;if(this[_0x46024c(0x1e7)]=!!_0x52dcef&&this[_0x46024c(0x29b)][_0x46024c(0x277)][_0x46024c(0x1e6)](_0x46024c(0x223)),this[_0x46024c(0x29b)][_0x46024c(0x288)][_0x46024c(0x1f3)](_0x46024c(0x1d7))){const _0x27a46b=this[_0x46024c(0x1d3)][_0x46024c(0x248)](),_0x26954f=this[_0x46024c(0x1c5)][_0x46024c(0x28b)](_0x27a46b);if(_0x26954f)this[_0x46024c(0x21a)]=_0x26954f[_0x46024c(0x217)],this[_0x46024c(0x1e7)]=!0x1;else{const _0x3e6616=this[_0x46024c(0x1d3)][_0x46024c(0x284)][_0x46024c(0x2bd)][_0x46024c(0x2c7)](_0x1e8d5e=>!_0x1e8d5e[_0x46024c(0x22d)]),_0xa97dca=_0x3e6616?_0x3e6616[_0x46024c(0x23d)]:this[_0x46024c(0x1d3)][_0x46024c(0x284)][_0x46024c(0x1cb)];_0x43288d?(_0x43288d[_0x46024c(0x251)]<_0xa97dca&&_0x43288d[_0x46024c(0x1dc)]({'toVersion':_0xa97dca}),this[_0x46024c(0x1e7)]?(this[_0x46024c(0x1d3)][_0x46024c(0x248)]=()=>_0x52dcef['id'],this[_0x46024c(0x21a)]=_0x52dcef[_0x46024c(0x217)]):(this[_0x46024c(0x21a)]=_0x43288d[_0x46024c(0x251)],this[_0x46024c(0x1e7)]=!0x1)):(this[_0x46024c(0x21a)]=_0xa97dca,this[_0x46024c(0x1e7)]=!0x1);}}else _0x52dcef&&(this[_0x46024c(0x29b)][_0x46024c(0x2b0)][_0x46024c(0x28c)][_0x46024c(0x284)][_0x46024c(0x1cb)]=Math[_0x46024c(0x22e)](_0x52dcef[_0x46024c(0x251)],this[_0x46024c(0x29b)][_0x46024c(0x2b0)][_0x46024c(0x28c)][_0x46024c(0x284)][_0x46024c(0x1cb)]),_0x52dcef[_0x46024c(0x217)]===_0x52dcef[_0x46024c(0x251)]?(0x0!==_0x52dcef[_0x46024c(0x217)]&&(this[_0x46024c(0x1d3)][_0x46024c(0x248)]=()=>_0x52dcef['id']),this[_0x46024c(0x1e7)]=!0x1):this[_0x46024c(0x1e7)]&&(this[_0x46024c(0x1d3)][_0x46024c(0x248)]=()=>_0x52dcef['id'],this[_0x46024c(0x21a)]=_0x52dcef[_0x46024c(0x217)])),this[_0x46024c(0x1e7)]||(this[_0x46024c(0x21a)]=this[_0x46024c(0x29b)][_0x46024c(0x2b0)][_0x46024c(0x28c)][_0x46024c(0x1cb)]);this[_0x46024c(0x202)][_0x46024c(0x2a7)](this[_0x46024c(0x1d3)][_0x46024c(0x284)]),this[_0x46024c(0x291)](this[_0x46024c(0x21a)]),this[_0x46024c(0x275)](this[_0x46024c(0x21a)]),this[_0x46024c(0x1e4)]&&this[_0x46024c(0x216)]();}),this[_0xf7258f(0x22f)](_0xf7258f(0x20d))['to'](this,_0xf7258f(0x28a),_0xcf7b8b=>!_0xcf7b8b);}async[_0x47aec1(0x2cd)](){const _0x175008=_0x47aec1;if(this[_0x175008(0x1c5)][_0x175008(0x1ff)]>0x0){const _0x27d069=this[_0x175008(0x1c5)][_0x175008(0x28b)](0x0),_0x377cec=await this[_0x175008(0x264)](_0x27d069),_0x101203=await this[_0x175008(0x1ea)](_0x27d069);this[_0x175008(0x249)](_0x377cec,_0x101203);}}[_0x47aec1(0x27d)](_0x180363){const _0x33becc=_0x47aec1;this[_0x33becc(0x1d3)]=_0x180363;}async[_0x47aec1(0x1ee)](){const _0x367bc2=_0x47aec1,_0x524541=await this[_0x367bc2(0x1d3)][_0x367bc2(0x2de)]();if(_0x524541>this[_0x367bc2(0x23c)][_0x367bc2(0x251)]){await this[_0x367bc2(0x21c)]();const _0x31203d=this[_0x367bc2(0x2bf)]({'revision':this[_0x367bc2(0x23c)],'to':_0x524541});_0x31203d[_0x367bc2(0x24a)]=_0x31203d[_0x367bc2(0x1e2)][_0x367bc2(0x246)](_0x262f8d=>this[_0x367bc2(0x29b)][_0x367bc2(0x288)][_0x367bc2(0x1e6)](_0x367bc2(0x294))[_0x367bc2(0x2c8)](_0x262f8d)),this[_0x367bc2(0x23c)][_0x367bc2(0x1dc)](_0x31203d);}}async[_0x47aec1(0x21c)](){const _0x419a64=_0x47aec1;this[_0x419a64(0x1e7)]&&!this[_0x419a64(0x235)]&&(await this[_0x419a64(0x2b9)](this[_0x419a64(0x23c)]),this[_0x419a64(0x202)][_0x419a64(0x28e)](this[_0x419a64(0x23c)]),this[_0x419a64(0x235)]={'fromVersion':this[_0x419a64(0x23c)][_0x419a64(0x217)],'authors':this[_0x419a64(0x23c)][_0x419a64(0x24a)][_0x419a64(0x2c1)]()});}async[_0x47aec1(0x2e1)](_0x179ee9={},_0x12907f=null){const _0x374437=_0x47aec1,_0x1f736f=[];await this[_0x374437(0x21c)](),this[_0x374437(0x1e7)]=!0x1,_0x12907f>this[_0x374437(0x23c)][_0x374437(0x251)]&&(_0x12907f=null),null===_0x12907f&&(_0x12907f=await this[_0x374437(0x1d3)][_0x374437(0x2de)]());const _0x22bc74=this[_0x374437(0x2a3)](_0x12907f),_0x9b70c8=this[_0x374437(0x2bf)]({'from':_0x22bc74,'to':_0x12907f});if(this[_0x374437(0x23c)][_0x374437(0x251)]<_0x12907f){const _0x54db49=this[_0x374437(0x2bf)]({'revision':this[_0x374437(0x23c)],'from':_0x12907f,'to':_0x12907f});_0x54db49[_0x374437(0x24a)]=[],_0x54db49[_0x374437(0x1e2)]=[],_0x54db49['id']=this[_0x374437(0x23c)]['id'],this[_0x374437(0x23c)][_0x374437(0x1dc)](_0x54db49,!0x0),delete _0x54db49[_0x374437(0x24a)],_0x1f736f[_0x374437(0x255)](_0x54db49);}_0x179ee9[_0x374437(0x27e)]=this[_0x374437(0x29b)][_0x374437(0x288)][_0x374437(0x1e6)](_0x374437(0x294))['me']['id'],_0x179ee9[_0x374437(0x24f)]=_0x179ee9[_0x374437(0x24f)]||null,_0x179ee9['id']=_0x179ee9['id']||_0x5a811d(),_0x179ee9={..._0x179ee9,..._0x9b70c8};const _0x3c3ac7=this[_0x374437(0x2c6)](_0x179ee9);_0x1f736f[_0x374437(0x255)](_0x179ee9);const _0x4b6cca=this[_0x374437(0x1c5)][_0x374437(0x1cc)](_0x3c3ac7);if(0x0!==_0x4b6cca){const _0x25ce36=this[_0x374437(0x1c5)][_0x374437(0x28b)](_0x4b6cca-0x1);if(_0x25ce36[_0x374437(0x217)]!==_0x12907f){const _0x107073=this[_0x374437(0x202)][_0x374437(0x1df)](_0x12907f,_0x25ce36[_0x374437(0x251)]),_0x269897={'id':_0x25ce36['id'],'diffData':_0x107073[_0x374437(0x225)],'authorsIds':_0x107073[_0x374437(0x1e2)],'authors':_0x107073[_0x374437(0x1e2)][_0x374437(0x246)](_0x57abdb=>this[_0x374437(0x29b)][_0x374437(0x288)][_0x374437(0x1e6)](_0x374437(0x294))[_0x374437(0x2c8)](_0x57abdb)),'fromVersion':_0x12907f};_0x25ce36===this[_0x374437(0x23c)]&&(_0x269897[_0x374437(0x24d)]=new Date(_0x179ee9[_0x374437(0x24d)][_0x374437(0x287)]()+0xa)),_0x25ce36[_0x374437(0x1dc)](_0x269897,!0x0),delete _0x269897[_0x374437(0x24a)],_0x1f736f[_0x374437(0x255)](_0x269897);}}if(this[_0x374437(0x1e4)]){for(const _0x38952d of _0x1f736f)this[_0x374437(0x269)](_0x38952d['id'],_0x38952d,!0x0);this[_0x374437(0x216)]();}return _0x3c3ac7;}[_0x47aec1(0x2c6)](_0x593f4a){const _0x393262=_0x47aec1,_0xa46dbd=this[_0x393262(0x1c5)][_0x393262(0x1c6)](_0x593f4a);return this[_0x393262(0x1e4)]&&_0xa46dbd['on'](_0x393262(0x1dc),(_0x2674fe,_0x2e163f,_0x189dc9)=>{const _0x43fba6=_0x393262;_0x189dc9||(this[_0x43fba6(0x269)](_0x2e163f['id'],_0x2e163f,!0x0),this[_0x43fba6(0x216)]());}),this[_0x393262(0x1c5)][_0x393262(0x2a9)](_0xa46dbd,this[_0x393262(0x2e3)](_0xa46dbd)),_0xa46dbd;}async[_0x47aec1(0x264)](_0x12b751){const _0xa6ba3f=_0x47aec1;await this[_0xa6ba3f(0x2b9)](_0x12b751);const _0x1b9417={};for(const _0x3d0dcc in _0x12b751[_0xa6ba3f(0x225)]){if(_0x12b751[_0xa6ba3f(0x225)][_0x3d0dcc][_0xa6ba3f(0x27a)]&&!_0x12b751[_0xa6ba3f(0x225)][_0x3d0dcc][_0xa6ba3f(0x27a)][_0xa6ba3f(0x2d5)])continue;const _0x4c4e1d=this[_0xa6ba3f(0x1fd)](JSON[_0xa6ba3f(0x2e4)](_0x12b751[_0xa6ba3f(0x225)][_0x3d0dcc][_0xa6ba3f(0x236)])),_0xf43eb4=this[_0xa6ba3f(0x29b)][_0xa6ba3f(0x1f0)][_0xa6ba3f(0x262)][_0xa6ba3f(0x28c)],_0x109437=new _0x4f0aea(_0xf43eb4,_0x4c4e1d[_0xa6ba3f(0x246)](_0x47505b=>B(_0x47505b,this[_0xa6ba3f(0x29b)])));this[_0xa6ba3f(0x29b)][_0xa6ba3f(0x213)][_0xa6ba3f(0x1fb)][_0xa6ba3f(0x1de)](_0xa6ba3f(0x240)),_0x1b9417[_0x3d0dcc]=this[_0xa6ba3f(0x29b)][_0xa6ba3f(0x213)][_0xa6ba3f(0x1fb)][_0xa6ba3f(0x1e9)](_0x109437),this[_0xa6ba3f(0x29b)][_0xa6ba3f(0x213)][_0xa6ba3f(0x1fb)][_0xa6ba3f(0x1de)](_0xa6ba3f(0x2a6));}return _0x1b9417;}async[_0x47aec1(0x1ea)](_0x2a21dc){const _0x5209ed=_0x47aec1;await this[_0x5209ed(0x2b9)](_0x2a21dc);const _0x49e7c2={};for(const _0x42005a in _0x2a21dc[_0x5209ed(0x225)])_0x2a21dc[_0x5209ed(0x225)][_0x42005a][_0x5209ed(0x27a)]&&!_0x2a21dc[_0x5209ed(0x225)][_0x42005a][_0x5209ed(0x27a)][_0x5209ed(0x2d5)]||(_0x49e7c2[_0x42005a]=_0x2a21dc[_0x5209ed(0x225)][_0x42005a][_0x5209ed(0x290)]||{});return _0x49e7c2;}[_0x47aec1(0x216)](){const _0x67714e=_0x47aec1;if(0x0===this[_0x67714e(0x1d2)][_0x67714e(0x286)])return;if(this[_0x67714e(0x28a)])return;let _0x448f9b=Array[_0x67714e(0x281)](this[_0x67714e(0x1d2)][_0x67714e(0x2bb)]());this[_0x67714e(0x1d2)][_0x67714e(0x1e8)]();for(let _0x1c0ade=0x0;_0x1c0ade<_0x448f9b[_0x67714e(0x1ff)];_0x1c0ade++){const _0xa6fa3c=_0x448f9b[_0x1c0ade];let _0x2e021f=!0x1;for(const _0x3ef4a8 of Object[_0x67714e(0x296)](_0xa6fa3c))void 0x0===_0xa6fa3c[_0x3ef4a8]?delete _0xa6fa3c[_0x3ef4a8]:'id'!==_0x3ef4a8&&(_0x2e021f=!0x0);_0x2e021f||(_0x448f9b[_0x1c0ade]=null);}if(_0x448f9b=_0x448f9b[_0x67714e(0x2dd)](_0x5f0ea3=>null!==_0x5f0ea3),!_0x448f9b[_0x67714e(0x1ff)])return;for(let _0x16f45a=0x0;_0x16f45a<_0x448f9b[_0x67714e(0x1ff)];_0x16f45a++){const _0x53e96d=_0x448f9b[_0x16f45a];void 0x0!==_0x53e96d[_0x67714e(0x217)]&&void 0x0===_0x53e96d[_0x67714e(0x251)]&&(_0x53e96d[_0x67714e(0x251)]=this[_0x67714e(0x1c5)][_0x67714e(0x28b)](_0x53e96d['id'])[_0x67714e(0x251)]),void 0x0!==_0x53e96d[_0x67714e(0x251)]&&void 0x0===_0x53e96d[_0x67714e(0x217)]&&(_0x53e96d[_0x67714e(0x217)]=this[_0x67714e(0x1c5)][_0x67714e(0x28b)](_0x53e96d['id'])[_0x67714e(0x217)]);}const _0x5d135d=this[_0x67714e(0x29b)][_0x67714e(0x277)][_0x67714e(0x1e6)](_0x67714e(0x2e8));this[_0x67714e(0x28a)]=!0x0,this[_0x67714e(0x220)](),this[_0x67714e(0x1e4)][_0x67714e(0x2ab)](_0x448f9b,_0x5d135d)[_0x67714e(0x2ec)](()=>{const _0x39b541=_0x67714e;this[_0x39b541(0x28a)]=!0x1;})[_0x67714e(0x2c5)](_0x847176=>{const _0x3ae4a2=_0x67714e;if(_0x847176){for(const _0x6bbcb8 of _0x847176)this[_0x3ae4a2(0x215)]({'id':_0x6bbcb8['id'],'createdAt':_0x6bbcb8[_0x3ae4a2(0x24d)]});}this[_0x3ae4a2(0x1fc)](),this[_0x3ae4a2(0x216)]();});}[_0x47aec1(0x249)](_0x22ce05,_0x1676dd){const _0x2f67aa=_0x47aec1;let _0x66c8bc=this[_0x2f67aa(0x29b)][_0x2f67aa(0x277)][_0x2f67aa(0x1e6)](_0x2f67aa(0x1d0)),_0xbeb028=this[_0x2f67aa(0x29b)][_0x2f67aa(0x277)][_0x2f67aa(0x1e6)](_0x2f67aa(0x1f9));if(void 0x0===_0x66c8bc){_0x66c8bc={};for(const _0x4428b9 of this[_0x2f67aa(0x29b)][_0x2f67aa(0x2b0)][_0x2f67aa(0x28c)][_0x2f67aa(0x254)]())_0x66c8bc[_0x4428b9]='';}if(_0x2f67aa(0x214)==typeof _0x66c8bc&&(_0x66c8bc={'main':_0x66c8bc}),void 0x0===_0xbeb028){_0xbeb028={};for(const _0x25b11a of this[_0x2f67aa(0x29b)][_0x2f67aa(0x2b0)][_0x2f67aa(0x28c)][_0x2f67aa(0x254)]())_0xbeb028[_0x25b11a]={};}let _0x158ca0=!0x1;const _0x57adb2=Object[_0x2f67aa(0x296)](_0x66c8bc),_0x3acb71=Object[_0x2f67aa(0x296)](_0x22ce05);for(const _0x4f5f8b of _0x57adb2){if(_0x66c8bc[_0x4f5f8b]!==_0x22ce05[_0x4f5f8b]&&''!==_0x66c8bc[_0x4f5f8b][_0x2f67aa(0x21f)]()){_0x158ca0=!0x0;break;}if(!_0x4c2679(_0xbeb028[_0x4f5f8b],_0x1676dd[_0x4f5f8b])&&Object[_0x2f67aa(0x296)](_0xbeb028[_0x4f5f8b])[_0x2f67aa(0x1ff)]>0x0){_0x158ca0=!0x0;break;}}_0x158ca0||(_0x158ca0=_0x3acb71[_0x2f67aa(0x297)](_0x4d3386=>!this[_0x2f67aa(0x29b)][_0x2f67aa(0x2b0)][_0x2f67aa(0x28c)][_0x2f67aa(0x2ef)](_0x4d3386))),_0x158ca0&&_0x40722f(_0x2f67aa(0x252),{'editorData':_0x66c8bc,'editorRootsAttributes':_0xbeb028,'revisionData':_0x22ce05,'revisionRootsAttributes':_0x1676dd}),this[_0x2f67aa(0x29b)][_0x2f67aa(0x277)][_0x2f67aa(0x280)](_0x2f67aa(0x1d0),_0x22ce05),this[_0x2f67aa(0x29b)][_0x2f67aa(0x277)][_0x2f67aa(0x280)](_0x2f67aa(0x1f9),_0x1676dd);}[_0x47aec1(0x220)](){const _0x32aafc=_0x47aec1;if(!this[_0x32aafc(0x203)]){const _0x42ba86=this[_0x32aafc(0x29b)][_0x32aafc(0x288)][_0x32aafc(0x1e6)](_0x32aafc(0x2b1));this[_0x32aafc(0x203)]=_0x42ba86[_0x32aafc(0x245)](_0x3c11c7(this[_0x32aafc(0x29b)][_0x32aafc(0x238)],_0x32aafc(0x2be)));}}[_0x47aec1(0x1fc)](){const _0x4e791e=_0x47aec1;this[_0x4e791e(0x203)]&&(this[_0x4e791e(0x29b)][_0x4e791e(0x288)][_0x4e791e(0x1e6)](_0x4e791e(0x2b1))[_0x4e791e(0x206)](this[_0x4e791e(0x203)]),this[_0x4e791e(0x203)]=null);}[_0x47aec1(0x2e3)](_0x461dfa){const _0x1ab7c3=_0x47aec1,_0x20ec49=this[_0x1ab7c3(0x1c5)][_0x1ab7c3(0x2d2)]();_0x20ec49[_0x1ab7c3(0x201)]();let _0x251445=0x0;for(;_0x251445<_0x20ec49[_0x1ab7c3(0x1ff)];){const _0x5cda48=_0x20ec49[_0x251445];if(_0x5cda48===this[_0x1ab7c3(0x23c)]){_0x251445++;continue;}if(_0x5cda48['id']===this[_0x1ab7c3(0x219)])break;const _0x2ea438=_0x461dfa[_0x1ab7c3(0x251)]-_0x5cda48[_0x1ab7c3(0x251)]||_0x461dfa[_0x1ab7c3(0x217)]-_0x5cda48[_0x1ab7c3(0x217)];if(_0x2ea438>0x0)break;if(_0x2ea438<0x0)_0x251445++;else{if(!_0x461dfa[_0x1ab7c3(0x218)]&&_0x5cda48[_0x1ab7c3(0x218)])break;if(_0x5cda48[_0x1ab7c3(0x218)]||!_0x461dfa[_0x1ab7c3(0x218)]){if(_0x461dfa[_0x1ab7c3(0x24d)]>_0x5cda48[_0x1ab7c3(0x24d)])break;_0x251445++;}else _0x251445++;}}return _0x251445;}[_0x47aec1(0x215)](_0x5bb284){const _0x26fca4=_0x47aec1,_0x21f361=this[_0x26fca4(0x1c5)][_0x26fca4(0x28b)](_0x5bb284['id']);if(_0x5bb284[_0x26fca4(0x24d)]&&(_0x5bb284[_0x26fca4(0x24d)]=new Date(_0x5bb284[_0x26fca4(0x24d)])),_0x5bb284[_0x26fca4(0x1e2)]){const _0x430cbf=this[_0x26fca4(0x29b)][_0x26fca4(0x288)][_0x26fca4(0x1e6)](_0x26fca4(0x294));_0x5bb284[_0x26fca4(0x24a)]=_0x5bb284[_0x26fca4(0x1e2)][_0x26fca4(0x246)](_0x396fee=>_0x430cbf[_0x26fca4(0x2c8)](_0x396fee));}_0x21f361[_0x26fca4(0x1dc)](_0x5bb284,!0x0);}[_0x47aec1(0x2bf)]({revision:_0x39d72a=null,from:_0x4325bb=null,to:_0x1e629f=null}){const _0x59e9a6=_0x47aec1;_0x4325bb=null!==_0x4325bb?_0x4325bb:_0x39d72a[_0x59e9a6(0x217)],_0x1e629f=null!==_0x1e629f?_0x1e629f:_0x39d72a[_0x59e9a6(0x251)];const _0x4665ed=this[_0x59e9a6(0x202)][_0x59e9a6(0x1df)](_0x4325bb,_0x1e629f),_0x3e65ce={'diffData':_0x4665ed[_0x59e9a6(0x225)],'authorsIds':_0x4665ed[_0x59e9a6(0x1e2)],'fromVersion':_0x4325bb,'toVersion':_0x1e629f};if(!_0x39d72a||_0x1e629f!==_0x39d72a[_0x59e9a6(0x251)]){const _0x3f309f=_0x1e629f-0x1,_0x3dd3cc=this[_0x59e9a6(0x1d3)][_0x59e9a6(0x284)][_0x59e9a6(0x28d)](_0x3f309f);_0x3e65ce[_0x59e9a6(0x24d)]=_0x3dd3cc&&_0x3dd3cc[_0x59e9a6(0x24d)]||new Date();}if(this[_0x59e9a6(0x235)]&&_0x4325bb===this[_0x59e9a6(0x235)][_0x59e9a6(0x217)]){for(const _0x3e1f42 of this[_0x59e9a6(0x235)][_0x59e9a6(0x24a)])_0x3e65ce[_0x59e9a6(0x1e2)][_0x59e9a6(0x293)](_0x3e1f42['id'])||_0x3e65ce[_0x59e9a6(0x1e2)][_0x59e9a6(0x255)](_0x3e1f42['id']);}return _0x3e65ce;}[_0x47aec1(0x2b9)](_0x21d5d1){const _0x1ec95e=_0x47aec1;if(!_0x21d5d1||_0x21d5d1[_0x1ec95e(0x225)])return Promise[_0x1ec95e(0x266)]();{const _0x32c531=this[_0x1ec95e(0x29b)][_0x1ec95e(0x277)][_0x1ec95e(0x1e6)](_0x1ec95e(0x2e8));return this[_0x1ec95e(0x1e4)][_0x1ec95e(0x28b)]({'channelId':_0x32c531,'revisionId':_0x21d5d1['id']})[_0x1ec95e(0x2c5)](_0x251219=>{const _0x51091f=_0x1ec95e;_0x21d5d1[_0x51091f(0x225)]=_0x251219[_0x51091f(0x225)];});}}[_0x47aec1(0x269)](_0x55b495,_0x2b33bd,_0x2f866f){const _0x48ae2a=_0x47aec1;if(this[_0x48ae2a(0x1d2)][_0x48ae2a(0x1f3)](_0x55b495)){const _0x43db8c=this[_0x48ae2a(0x1d2)][_0x48ae2a(0x1e6)](_0x55b495);_0x2b33bd=_0x2f866f?{..._0x43db8c,..._0x2b33bd}:{..._0x2b33bd,..._0x43db8c};}this[_0x48ae2a(0x1d2)][_0x48ae2a(0x280)](_0x55b495,_0x2b33bd);}[_0x47aec1(0x2a3)](_0x332999){const _0x19f698=_0x47aec1,_0x30c213=this[_0x19f698(0x1c5)][_0x19f698(0x2d2)]();_0x30c213[_0x19f698(0x201)](),_0x30c213[_0x19f698(0x1d5)]();const _0x2ae1dd=_0x30c213[_0x19f698(0x2c7)](_0x206382=>_0x206382[_0x19f698(0x251)]<=_0x332999)[_0x19f698(0x251)];return _0x2ae1dd<this[_0x19f698(0x21a)]?this[_0x19f698(0x21a)]:_0x2ae1dd;}[_0x47aec1(0x291)](_0x91701){const _0x3b15c8=_0x47aec1,_0x56a63d=this[_0x3b15c8(0x1c5)][_0x3b15c8(0x28b)](this[_0x3b15c8(0x1c5)][_0x3b15c8(0x1ff)]-0x1);if(_0x56a63d)this[_0x3b15c8(0x219)]=_0x56a63d['id'];else{const _0x3a8eef=!this[_0x3b15c8(0x29b)][_0x3b15c8(0x2b0)][_0x3b15c8(0x28c)][_0x3b15c8(0x299)][_0x3b15c8(0x2c7)](_0x4a66c7=>this[_0x3b15c8(0x29b)][_0x3b15c8(0x2b0)][_0x3b15c8(0x2d9)](_0x4a66c7)),_0x24700a=this[_0x3b15c8(0x29b)][_0x3b15c8(0x288)][_0x3b15c8(0x1e6)](_0x3b15c8(0x294))['me']['id'],_0x2976e4=_0x3c11c7(this[_0x3b15c8(0x29b)][_0x3b15c8(0x238)],_0x3a8eef?_0x3b15c8(0x234):_0x3b15c8(0x244));this[_0x3b15c8(0x222)]({'from':_0x91701,'to':_0x91701,'id':this[_0x3b15c8(0x219)],'name':_0x2976e4,'creatorId':_0x24700a});}}[_0x47aec1(0x275)](_0x21c5b4){const _0xaba070=_0x47aec1,_0x3fa95b=this[_0xaba070(0x1d3)][_0xaba070(0x248)]();this[_0xaba070(0x23c)]=this[_0xaba070(0x1c5)][_0xaba070(0x28b)](_0x3fa95b),this[_0xaba070(0x23c)]||(this[_0xaba070(0x23c)]=this[_0xaba070(0x222)]({'from':_0x21c5b4,'to':_0x21c5b4,'id':_0x3fa95b,'name':'','creatorId':null}));}[_0x47aec1(0x222)]({name:_0x48615b,from:_0x196db2,to:_0x50c51f,creatorId:_0x370ad8,id:_0x3285a1}){const _0xb0765c=_0x47aec1,_0xe663ee=this[_0xb0765c(0x2bf)]({'from':_0x196db2,'to':_0x50c51f});_0xe663ee[_0xb0765c(0x24f)]=_0x48615b,_0xe663ee[_0xb0765c(0x27e)]=_0x370ad8,_0xe663ee['id']=_0x3285a1;const _0x5d8ef9=this[_0xb0765c(0x2c6)](_0xe663ee);return this[_0xb0765c(0x1e4)]&&this[_0xb0765c(0x269)](_0xe663ee['id'],_0xe663ee,!0x0),_0x5d8ef9;}[_0x47aec1(0x229)](){const _0x263a55=_0x47aec1;this[_0x263a55(0x29b)][_0x263a55(0x2c3)][_0x263a55(0x1ed)](_0x263a55(0x25b))[_0x263a55(0x253)]({'model':_0x263a55(0x2aa)});}[_0x47aec1(0x1fd)](_0xf987ab){const _0x4ac528=_0x47aec1;return(_0xf987ab=_0xf987ab[_0x4ac528(0x2dd)](_0x5b3858=>!_0x5b3858[_0x4ac528(0x24f)]||_0x4ac528(0x2cf)!==_0x5b3858[_0x4ac528(0x24f)]&&_0x4ac528(0x1f6)!==_0x5b3858[_0x4ac528(0x24f)]))[_0x4ac528(0x25f)](_0x282eda=>{const _0x2b6a67=_0x4ac528;_0x2b6a67(0x214)!=typeof _0x282eda&&(_0x282eda[_0x2b6a67(0x2e9)]=this[_0x2b6a67(0x1fd)](_0x282eda[_0x2b6a67(0x2e9)]),_0x282eda[_0x2b6a67(0x267)]=_0x282eda[_0x2b6a67(0x267)][_0x2b6a67(0x2dd)](_0x3e7e30=>!_0x3e7e30[0x0][_0x2b6a67(0x1da)](_0x2b6a67(0x1d8))));}),_0xf987ab;}}function B(_0x1773f9,_0x57a5fb){const _0x4f1ae4=_0x47aec1,_0x4efcca=_0x57a5fb[_0x4f1ae4(0x1f0)][_0x4f1ae4(0x262)][_0x4f1ae4(0x28c)];if(_0x4f1ae4(0x214)==typeof _0x1773f9)return new _0x382e47(_0x4efcca,_0x1773f9);{const _0x593a05=_0x1773f9[_0x4f1ae4(0x2e9)][_0x4f1ae4(0x246)](_0x448c36=>B(_0x448c36,_0x57a5fb));return new(T[_0x1773f9[(_0x4f1ae4(0x1ca))]]||_0x39a8e5)(_0x4efcca,_0x1773f9[_0x4f1ae4(0x24f)],_0x1773f9[_0x4f1ae4(0x267)],_0x593a05);}}class J{constructor(_0x552e55){const _0x329864=_0x47aec1;this[_0x329864(0x29b)]=_0x552e55,this[_0x329864(0x2b6)]=new Map(),this[_0x329864(0x1c8)]=-0x1,this[_0x329864(0x273)]=-0x1,this[_0x329864(0x2e7)]=new Map(),this[_0x329864(0x1d6)]=new Map(),this[_0x329864(0x292)]=new Map(),this[_0x329864(0x2ba)]=new Map(),this[_0x329864(0x1c9)]=new Map(),this[_0x329864(0x200)]=new Map(),this[_0x329864(0x1fe)]=new Map(),this[_0x329864(0x209)]=new Map(),this[_0x329864(0x2b5)]=new Map(),this[_0x329864(0x24b)]=new Map(),this[_0x329864(0x24c)]=0x1;}[_0x47aec1(0x2a7)](_0x2aa117){const _0x113e96=_0x47aec1;this[_0x113e96(0x265)]=_0x2aa117;const _0x1a9a8a=new Map(),_0x2abf6b=new Map(),_0x1ad0aa=this[_0x113e96(0x29b)][_0x113e96(0x2b0)][_0x113e96(0x28c)][_0x113e96(0x299)][_0x113e96(0x246)](_0x48e663=>_0x48e663[_0x113e96(0x276)]);for(const _0x781b74 of _0x1ad0aa){const _0x209203=this[_0x113e96(0x29b)][_0x113e96(0x2b0)][_0x113e96(0x28c)][_0x113e96(0x2ef)](_0x781b74),_0xb25575=q(_0x209203);_0x1a9a8a[_0x113e96(0x280)](_0x781b74,_0xb25575),_0x2abf6b[_0x113e96(0x280)](_0x781b74,Object[_0x113e96(0x2eb)](_0x209203[_0x113e96(0x1f5)]()));}const _0x55d6a9=Array[_0x113e96(0x281)](this[_0x113e96(0x29b)][_0x113e96(0x2b0)][_0x113e96(0x283)])[_0x113e96(0x246)](_0x5e6600=>[_0x5e6600[_0x113e96(0x24f)],_0x5e6600[_0x113e96(0x2bc)]()]),_0x3e494d=this[_0x113e96(0x265)][_0x113e96(0x1cb)];this[_0x113e96(0x25a)](_0x3e494d,_0x1a9a8a,_0x55d6a9,_0x2abf6b),this[_0x113e96(0x27b)]=this[_0x113e96(0x24c)];const _0x418ca2=new Map(),_0x416bee=new Map();for(const _0x371b0b of _0x1ad0aa){const _0x4908bf=G(_0x371b0b);_0x418ca2[_0x113e96(0x280)](_0x371b0b,_0x4908bf),_0x416bee[_0x113e96(0x280)](_0x371b0b,{});}this[_0x113e96(0x25a)](Number[_0x113e96(0x205)],_0x418ca2,[],_0x416bee);}[_0x47aec1(0x1df)](_0x4f090b,_0x434b44){const _0x394d27=_0x47aec1;if(this[_0x394d27(0x1c8)]===_0x4f090b&&this[_0x394d27(0x273)]<=_0x434b44)this[_0x394d27(0x2b6)][_0x394d27(0x286)]>0x1&&this[_0x394d27(0x259)](this[_0x394d27(0x273)]),this[_0x394d27(0x26d)](this[_0x394d27(0x273)],_0x434b44,!0x0);else{if(!this[_0x394d27(0x2b6)][_0x394d27(0x1f3)](_0x4f090b)){const _0x4993f9=this[_0x394d27(0x2b7)](_0x4f090b);this[_0x394d27(0x20a)](_0x4993f9,_0x4f090b,!0x1);}this[_0x394d27(0x20a)](_0x4f090b,_0x434b44,!0x0);}return this[_0x394d27(0x1c8)]=_0x4f090b,this[_0x394d27(0x273)]=_0x434b44,this[_0x394d27(0x26b)]();}[_0x47aec1(0x28e)](_0x4279bc){const _0x6e9940=_0x47aec1;this[_0x6e9940(0x2ee)](),this[_0x6e9940(0x1c8)]=_0x4279bc[_0x6e9940(0x217)],this[_0x6e9940(0x273)]=_0x4279bc[_0x6e9940(0x251)];for(const _0x4c9ee3 in _0x4279bc[_0x6e9940(0x225)]){const _0x77961d=_0x4279bc[_0x6e9940(0x225)][_0x4c9ee3][_0x6e9940(0x27a)],_0x391147=_0x200b98(_0x4279bc[_0x6e9940(0x225)][_0x4c9ee3][_0x6e9940(0x26e)])||{},_0x3d8c62=this[_0x6e9940(0x207)](_0x4279bc[_0x6e9940(0x225)][_0x4c9ee3][_0x6e9940(0x2e6)]);_0x3d8c62[_0x6e9940(0x276)]=_0x4c9ee3,_0x3d8c62[_0x6e9940(0x2ad)]=!_0x77961d||!_0x77961d[_0x6e9940(0x2d5)],_0x3d8c62[_0x6e9940(0x2d5)]=()=>_0x3d8c62[_0x6e9940(0x2ad)],this[_0x6e9940(0x2ba)][_0x6e9940(0x280)](_0x4c9ee3,_0x3d8c62),this[_0x6e9940(0x1c9)][_0x6e9940(0x280)](_0x4c9ee3,_0x391147),_0x77961d&&this[_0x6e9940(0x24b)][_0x6e9940(0x280)](_0x4c9ee3,_0x77961d);const _0x496147=this[_0x6e9940(0x2a1)](_0x3d8c62);this[_0x6e9940(0x1fe)][_0x6e9940(0x280)](_0x4c9ee3,_0x496147);for(const [_0x279cf6,_0x2c5b96]of _0x3d8c62[_0x6e9940(0x283)]){if(!_0x279cf6[_0x6e9940(0x1da)](_0x6e9940(0x2c9)))continue;const _0xf44cef=_0x279cf6[_0x6e9940(0x2a8)](':')[0x2];for(const _0x3bbabd of _0x2c5b96[_0x6e9940(0x2a5)]({'singleCharacters':!0x0})){const _0x196bf3=this[_0x6e9940(0x1e3)](_0x3bbabd),_0x59ab15=_0x6e9940(0x228)==_0x3bbabd[_0x6e9940(0x1ca)]?_0x3bbabd[_0x6e9940(0x278)][_0x6e9940(0x22a)][_0x6e9940(0x2c1)](0x0,-0x1):_0x3bbabd[_0x6e9940(0x278)][_0x6e9940(0x22a)],_0x1dffb6=_0x496147[_0x6e9940(0x1cf)](_0x59ab15)[_0x6e9940(0x270)](_0x196bf3);this[_0x6e9940(0x209)][_0x6e9940(0x280)](_0x1dffb6,{'userId':_0xf44cef});}}}this[_0x6e9940(0x27b)]=this[_0x6e9940(0x24c)];const _0x20e8a7=[...Array(this[_0x6e9940(0x24c)])[_0x6e9940(0x296)]()][_0x6e9940(0x2c1)](0x1)[_0x6e9940(0x2dd)](_0xbe0f2a=>!this[_0x6e9940(0x209)][_0x6e9940(0x1f3)](_0xbe0f2a));let _0x166e3c=0x0;const _0x456365=new Map();for(const _0x3720c7 in _0x4279bc[_0x6e9940(0x225)]){const _0x24412c=_0x4279bc[_0x6e9940(0x225)][_0x3720c7][_0x6e9940(0x27a)],_0x6e2655=_0x200b98(_0x4279bc[_0x6e9940(0x225)][_0x3720c7][_0x6e9940(0x290)])||{},_0x301c64=this[_0x6e9940(0x207)](_0x4279bc[_0x6e9940(0x225)][_0x3720c7][_0x6e9940(0x236)]);_0x301c64[_0x6e9940(0x276)]=_0x3720c7,_0x301c64[_0x6e9940(0x2ad)]=!_0x24412c||_0x24412c[_0x6e9940(0x2d5)],_0x301c64[_0x6e9940(0x2d5)]=()=>_0x301c64[_0x6e9940(0x2ad)],this[_0x6e9940(0x1d6)][_0x6e9940(0x280)](_0x3720c7,_0x301c64),this[_0x6e9940(0x292)][_0x6e9940(0x280)](_0x3720c7,_0x6e2655);const _0x345803=this[_0x6e9940(0x2a1)](_0x301c64,Number[_0x6e9940(0x205)]);this[_0x6e9940(0x200)][_0x6e9940(0x280)](_0x3720c7,_0x345803),_0x456365[_0x6e9940(0x280)](_0x3720c7,_0x301c64[_0x6e9940(0x2d5)]()?_0x6e2655:{});for(const [_0x4cede9,_0x321a66]of _0x301c64[_0x6e9940(0x283)]){if(!_0x4cede9[_0x6e9940(0x1da)](_0x6e9940(0x2c9)))continue;const _0x549490=_0x4cede9[_0x6e9940(0x2a8)](':')[0x2];for(const _0xb0bd7e of _0x321a66[_0x6e9940(0x2a5)]({'singleCharacters':!0x0})){const _0x413718=this[_0x6e9940(0x1e3)](_0xb0bd7e),_0x46d2e8=this[_0x6e9940(0x24c)]++,_0x492b65=_0x6e9940(0x228)==_0xb0bd7e[_0x6e9940(0x1ca)]?_0xb0bd7e[_0x6e9940(0x278)][_0x6e9940(0x22a)][_0x6e9940(0x2c1)](0x0,-0x1):_0xb0bd7e[_0x6e9940(0x278)][_0x6e9940(0x22a)];_0x345803[_0x6e9940(0x1cf)](_0x492b65)[_0x6e9940(0x26a)](_0x413718,_0x46d2e8),this[_0x6e9940(0x209)][_0x6e9940(0x280)](_0x46d2e8,{'userId':_0x549490});}}for(const _0x324c27 of this[_0x6e9940(0x29b)][_0x6e9940(0x2b0)][_0x6e9940(0x241)](_0x301c64)[_0x6e9940(0x2a5)]({'singleCharacters':!0x0})){const _0x2c08df=this[_0x6e9940(0x1e3)](_0x324c27),_0x4503c3=_0x6e9940(0x228)==_0x324c27[_0x6e9940(0x1ca)]?_0x324c27[_0x6e9940(0x278)][_0x6e9940(0x22a)][_0x6e9940(0x2c1)](0x0,-0x1):_0x324c27[_0x6e9940(0x278)][_0x6e9940(0x22a)],_0x85618f=_0x345803[_0x6e9940(0x1cf)](_0x4503c3);_0x85618f[_0x6e9940(0x270)](_0x2c08df)>0x0||_0x85618f[_0x6e9940(0x26a)](_0x2c08df,_0x20e8a7[_0x166e3c++]);}for(const [_0x44615b,_0x46606e]of _0x301c64[_0x6e9940(0x283)])_0x44615b[_0x6e9940(0x1da)](_0x6e9940(0x2c9))||this[_0x6e9940(0x2e7)][_0x6e9940(0x280)](_0x44615b,_0x46606e);}const _0x157b27=G(_0x6e9940(0x212));this[_0x6e9940(0x2ba)][_0x6e9940(0x280)](_0x6e9940(0x212),_0x157b27),this[_0x6e9940(0x1fe)][_0x6e9940(0x280)](_0x6e9940(0x212),this[_0x6e9940(0x2a1)](_0x157b27,0x1));const _0x3f20be=G(_0x6e9940(0x212));this[_0x6e9940(0x1d6)][_0x6e9940(0x280)](_0x6e9940(0x212),_0x3f20be),this[_0x6e9940(0x200)][_0x6e9940(0x280)](_0x6e9940(0x212),this[_0x6e9940(0x2a1)](_0x3f20be,0x1));const _0x5736e2=Array[_0x6e9940(0x281)](this[_0x6e9940(0x1d6)])[_0x6e9940(0x246)](([_0x2fe17d,_0x39f577])=>[_0x2fe17d,q(_0x39f577)]);this[_0x6e9940(0x25a)](this[_0x6e9940(0x273)],_0x5736e2,this[_0x6e9940(0x2e7)],_0x456365);}[_0x47aec1(0x207)](_0x2c8b46){const _0x3223be=_0x47aec1,_0x1ba8fa=JSON[_0x3223be(0x2e4)](_0x2c8b46),_0x34c0be=this[_0x3223be(0x29b)][_0x3223be(0x1f0)][_0x3223be(0x262)][_0x3223be(0x28c)],_0x5ec271=new _0x4f0aea(_0x34c0be,_0x1ba8fa[_0x3223be(0x246)](_0x559ad0=>B(_0x559ad0,this[_0x3223be(0x29b)])));return this[_0x3223be(0x29b)][_0x3223be(0x213)][_0x3223be(0x282)](_0x5ec271);}[_0x47aec1(0x25a)](_0x1084d8,_0x5a38e3,_0x3ecb31,_0xbc2d36){const _0x354428=_0x47aec1,_0x5e43c4=new Map(_0x5a38e3),_0x1a02a4=new Map(_0x200b98(_0xbc2d36)),_0x2a9f72=new Map();for(const [_0x14b2fe,_0x49b85f]of _0x3ecb31)_0x2a9f72[_0x354428(0x280)](_0x14b2fe,{'start':_0x49b85f[_0x354428(0x2ca)][_0x354428(0x237)](),'end':_0x49b85f[_0x354428(0x210)][_0x354428(0x237)](),'rootName':_0x49b85f[_0x354428(0x1dd)][_0x354428(0x276)]});this[_0x354428(0x2b6)][_0x354428(0x280)](_0x1084d8,{'roots':_0x5e43c4,'markers':_0x2a9f72,'rootsAttributes':_0x1a02a4});}[_0x47aec1(0x259)](_0x178041){const _0x340ef6=_0x47aec1;this[_0x340ef6(0x2b6)][_0x340ef6(0x2c2)](_0x178041);}[_0x47aec1(0x2d3)](){const _0x21ea39=_0x47aec1;this[_0x21ea39(0x2ee)](),this[_0x21ea39(0x1c8)]=-0x1,this[_0x21ea39(0x273)]=-0x1,this[_0x21ea39(0x2b6)][_0x21ea39(0x1e8)](),this[_0x21ea39(0x2a7)](this[_0x21ea39(0x265)]);}[_0x47aec1(0x2ee)](){const _0xdfb5e6=_0x47aec1;this[_0xdfb5e6(0x209)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x2b5)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x24b)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x1d6)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x292)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x2ba)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x1c9)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x200)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x1fe)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x2e7)][_0xdfb5e6(0x1e8)](),this[_0xdfb5e6(0x24c)]=0x1,this[_0xdfb5e6(0x27b)]=this[_0xdfb5e6(0x24c)];}[_0x47aec1(0x2a1)](_0x5b59ce,_0x243282=null){const _0x5853c7=_0x47aec1;let _0x41f98f=null;_0x5b59ce['is'](_0x5853c7(0x2e5))||(_0x41f98f=new _0x512062(_0x5b59ce[_0x5853c7(0x24f)],{'vid_start':null===_0x243282?this[_0x5853c7(0x24c)]++:_0x243282++}));const _0x3395d0=[];for(const _0x37c487 of _0x5b59ce[_0x5853c7(0x1ce)]())if(_0x37c487['is'](_0x5853c7(0x2c4))){_0x3395d0[_0x5853c7(0x255)](this[_0x5853c7(0x2a1)](_0x37c487,_0x243282));const _0x27a928=_0x3395d0[_0x3395d0[_0x5853c7(0x1ff)]-0x1];null!==_0x243282&&(_0x243282=_0x27a928['is'](_0x5853c7(0x2c4),_0x5853c7(0x2d0))?_0x27a928[_0x5853c7(0x270)](_0x5853c7(0x231))+0x1:_0x27a928[_0x5853c7(0x270)](_0x5853c7(0x23e))+0x1);}else{for(let _0x2362ca=0x0;_0x2362ca<_0x37c487[_0x5853c7(0x260)];_0x2362ca++)_0x3395d0[_0x5853c7(0x255)](new _0x512062(_0x5853c7(0x2d0),{'vid':null===_0x243282?this[_0x5853c7(0x24c)]++:_0x243282++}));}if(_0x5b59ce['is'](_0x5853c7(0x2e5))){const _0x825c3e=G(_0x5b59ce[_0x5853c7(0x276)]);return _0x825c3e[_0x5853c7(0x257)](0x0,_0x3395d0),_0x825c3e;}return _0x41f98f[_0x5853c7(0x26a)](_0x5853c7(0x23e),null===_0x243282?this[_0x5853c7(0x24c)]++:_0x243282++),_0x41f98f[_0x5853c7(0x257)](0x0,_0x3395d0),_0x41f98f;}[_0x47aec1(0x20a)](_0x52a310,_0x51ef6c,_0x5b3f52){const _0x4f08a5=_0x47aec1;this[_0x4f08a5(0x2ee)]();const {roots:_0x3e8228,markers:_0x200fd0,rootsAttributes:_0x26a272}=this[_0x4f08a5(0x2b6)][_0x4f08a5(0x1e6)](_0x52a310);this[_0x4f08a5(0x2ba)]=new Map(_0x3e8228),this[_0x4f08a5(0x1c9)]=new Map(_0x200b98(_0x26a272));for(const [_0x426f7e,_0x4a71c3]of this[_0x4f08a5(0x2ba)])if(_0x4f08a5(0x212)!==_0x426f7e&&(this[_0x4f08a5(0x1d6)][_0x4f08a5(0x280)](_0x426f7e,q(_0x4a71c3)),this[_0x4f08a5(0x292)]=new Map(_0x200b98(_0x26a272)),_0x5b3f52)){const _0x403dd1=this[_0x4f08a5(0x24c)];this[_0x4f08a5(0x200)][_0x4f08a5(0x280)](_0x426f7e,this[_0x4f08a5(0x2a1)](_0x4a71c3)),this[_0x4f08a5(0x1fe)][_0x4f08a5(0x280)](_0x426f7e,this[_0x4f08a5(0x2a1)](_0x4a71c3,_0x403dd1));}this[_0x4f08a5(0x27b)]=this[_0x4f08a5(0x24c)],this[_0x4f08a5(0x1d6)][_0x4f08a5(0x280)](_0x4f08a5(0x212),q(this[_0x4f08a5(0x2ba)][_0x4f08a5(0x1e6)](_0x4f08a5(0x212)))),_0x5b3f52&&this[_0x4f08a5(0x200)][_0x4f08a5(0x280)](_0x4f08a5(0x212),this[_0x4f08a5(0x2a1)](this[_0x4f08a5(0x2ba)][_0x4f08a5(0x1e6)](_0x4f08a5(0x212))));for(const [_0x8f37d,_0x54041a]of _0x200fd0){const _0x1f96c2=this[_0x4f08a5(0x2ba)][_0x4f08a5(0x1e6)](_0x54041a[_0x4f08a5(0x276)]),_0x67ac69=this[_0x4f08a5(0x1d6)][_0x4f08a5(0x1e6)](_0x54041a[_0x4f08a5(0x276)]),_0xf3726b=new _0x5ab204(this[_0x4f08a5(0x268)](_0x54041a[_0x4f08a5(0x2ca)],_0x1f96c2),this[_0x4f08a5(0x268)](_0x54041a[_0x4f08a5(0x210)],_0x1f96c2)),_0x467d5e=this[_0x4f08a5(0x258)](_0xf3726b,_0x67ac69);_0x1f96c2[_0x4f08a5(0x283)][_0x4f08a5(0x280)](_0x8f37d,_0xf3726b),this[_0x4f08a5(0x2e7)][_0x4f08a5(0x280)](_0x8f37d,_0x467d5e);}this[_0x4f08a5(0x26d)](_0x52a310,_0x51ef6c,_0x5b3f52);}[_0x47aec1(0x26d)](_0x32f4f9,_0x2ac806,_0x50d870){const _0x4b518a=_0x47aec1;for(const _0x1e7e37 of this[_0x4b518a(0x265)][_0x4b518a(0x29f)](_0x32f4f9,_0x2ac806))this[_0x4b518a(0x22c)](_0x1e7e37,_0x50d870);for(const _0x5953b5 of this[_0x4b518a(0x1d6)][_0x4b518a(0x2bb)]())_0x5953b5[_0x4b518a(0x283)][_0x4b518a(0x1e8)]();for(const [_0x596a9f,_0x3eb262]of this[_0x4b518a(0x2e7)]){this[_0x4b518a(0x1d6)][_0x4b518a(0x1e6)](_0x3eb262[_0x4b518a(0x1dd)][_0x4b518a(0x276)])[_0x4b518a(0x283)][_0x4b518a(0x280)](_0x596a9f,_0x3eb262[_0x4b518a(0x237)]());}const _0x527b71=new Map(),_0x30f41a=new Map();for(const [_0x3d2721,_0x241fe8]of this[_0x4b518a(0x1d6)])_0x527b71[_0x4b518a(0x280)](_0x3d2721,q(_0x241fe8)),_0x30f41a[_0x4b518a(0x280)](_0x3d2721,this[_0x4b518a(0x292)][_0x4b518a(0x1e6)](_0x3d2721));this[_0x4b518a(0x25a)](_0x2ac806,_0x527b71,this[_0x4b518a(0x2e7)],_0x30f41a);}[_0x47aec1(0x2b7)](_0x4b9c74){const _0x170dfc=_0x47aec1,_0x286375=Array[_0x170dfc(0x281)](this[_0x170dfc(0x2b6)][_0x170dfc(0x296)]());_0x286375[_0x170dfc(0x23f)]((_0x2f478c,_0x3a5362)=>_0x2f478c-_0x3a5362),_0x286375[_0x170dfc(0x201)]();for(const _0x11ce0d of _0x286375)if(_0x11ce0d<_0x4b9c74)return _0x11ce0d;return Number[_0x170dfc(0x205)];}[_0x47aec1(0x1f1)](_0x494bf1,_0x36c074){const _0x213672=_0x47aec1,_0x53fcd1=Array[_0x213672(0x281)](_0x36c074[_0x213672(0x283)])[_0x213672(0x246)](([_0xccd889,_0x197a02])=>[_0xccd889,this[_0x213672(0x258)](_0x197a02,_0x494bf1)]);_0x494bf1[_0x213672(0x283)]=new Map(_0x53fcd1);}[_0x47aec1(0x29a)](_0x10dd5e){const _0x1cad5c=_0x47aec1;for(const _0x3059a1 of this[_0x1cad5c(0x2e7)][_0x1cad5c(0x2bb)]()){const _0x4bc1da=_0x3059a1[_0x1cad5c(0x263)](_0x10dd5e),_0xb3d26b=_0x5ab204[_0x1cad5c(0x226)](_0x4bc1da);_0x3059a1[_0x1cad5c(0x2ca)]=_0xb3d26b[_0x1cad5c(0x2ca)],_0x3059a1[_0x1cad5c(0x210)]=_0xb3d26b[_0x1cad5c(0x210)];}}[_0x47aec1(0x22c)](_0x18d7b4,_0x417125){const _0x2f33dc=_0x47aec1;if(_0x2f33dc(0x272)==_0x18d7b4[_0x2f33dc(0x1ca)]||_0x2f33dc(0x29e)==_0x18d7b4[_0x2f33dc(0x1ca)])return void this[_0x2f33dc(0x221)](_0x18d7b4,_0x417125);if(_0x2f33dc(0x24e)==_0x18d7b4[_0x2f33dc(0x1ca)]){const _0x5c90cf=_0x18d7b4[_0x2f33dc(0x2d4)][_0x2f33dc(0x1dd)][_0x2f33dc(0x276)];this[_0x2f33dc(0x1d6)][_0x2f33dc(0x1f3)](_0x5c90cf)||(this[_0x2f33dc(0x1d6)][_0x2f33dc(0x280)](_0x5c90cf,G(_0x5c90cf,!0x0)),this[_0x2f33dc(0x292)][_0x2f33dc(0x280)](_0x5c90cf,{}),_0x417125&&this[_0x2f33dc(0x200)][_0x2f33dc(0x280)](_0x5c90cf,G(_0x5c90cf,!0x0)));}else{if(_0x2f33dc(0x1d4)==_0x18d7b4[_0x2f33dc(0x1ca)]||_0x2f33dc(0x23b)==_0x18d7b4[_0x2f33dc(0x1ca)]||_0x2f33dc(0x233)==_0x18d7b4[_0x2f33dc(0x1ca)])return void this[_0x2f33dc(0x2ed)](_0x18d7b4);}const _0x130918=this[_0x2f33dc(0x1d9)](_0x18d7b4,this[_0x2f33dc(0x1d6)]);if(_0x2f33dc(0x2ae)!==_0x18d7b4[_0x2f33dc(0x1ca)]&&(_0x130918[_0x2f33dc(0x243)](),this[_0x2f33dc(0x29a)](_0x130918)),_0x417125)switch(_0x130918[_0x2f33dc(0x1ca)]){case _0x2f33dc(0x24e):this[_0x2f33dc(0x285)](_0x18d7b4);break;case _0x2f33dc(0x1c3):case _0x2f33dc(0x206):case _0x2f33dc(0x261):this[_0x2f33dc(0x2e2)](_0x18d7b4);break;case _0x2f33dc(0x2db):this[_0x2f33dc(0x23a)](_0x18d7b4);break;case _0x2f33dc(0x2a8):this[_0x2f33dc(0x2ce)](_0x18d7b4);break;case _0x2f33dc(0x2ae):this[_0x2f33dc(0x2ac)](_0x18d7b4);}}[_0x47aec1(0x1d9)](_0x5936fc,_0x591c00){const _0x1af38c=_0x47aec1,_0x24fc70=_0x5936fc[_0x1af38c(0x237)]();return _0x24fc70[_0x1af38c(0x2d8)]=_0x5936fc[_0x1af38c(0x2d8)],this[_0x1af38c(0x2c0)](_0x24fc70,_0x591c00),_0x24fc70;}[_0x47aec1(0x1ec)](_0x285c14){const _0x1ddf4f=_0x47aec1;return _0x285c14[_0x1ddf4f(0x246)](_0x27e218=>{const _0x45eaaf=_0x1ddf4f,_0x4d6206=this[_0x45eaaf(0x1e3)](_0x27e218);return Number(_0x27e218[_0x45eaaf(0x1f7)][_0x45eaaf(0x270)](_0x4d6206));});}[_0x47aec1(0x289)](_0x4ad9ec,_0x10316f){const _0x1cf2e2=_0x47aec1;if(_0x4ad9ec['is'](_0x1cf2e2(0x2c4),_0x1cf2e2(0x2d0)))_0x10316f[_0x1cf2e2(0x255)]({'item':_0x4ad9ec,'type':_0x1cf2e2(0x2af)});else{_0x4ad9ec['is'](_0x1cf2e2(0x2c4))&&_0x10316f[_0x1cf2e2(0x255)]({'item':_0x4ad9ec,'type':_0x1cf2e2(0x1f2)});for(const _0x2124f4 of _0x4ad9ec[_0x1cf2e2(0x1ce)]())this[_0x1cf2e2(0x289)](_0x2124f4,_0x10316f);_0x4ad9ec['is'](_0x1cf2e2(0x2c4))&&_0x10316f[_0x1cf2e2(0x255)]({'item':_0x4ad9ec,'type':_0x1cf2e2(0x228)});}return _0x10316f;}[_0x47aec1(0x26b)](){const _0x43995f=_0x47aec1,_0x26add5=new Map(this[_0x43995f(0x209)]),_0x42c3fe=new Map(_0x26add5),_0x15cabf=new Map(),_0x72aa47={'insertions':{},'deletions':{}},_0x2e6415={'insertions':{},'deletions':{}},_0x3d559d=new Map(),_0x4d9650=new Set([...this[_0x43995f(0x2ba)][_0x43995f(0x296)](),...this[_0x43995f(0x1d6)][_0x43995f(0x296)]()]);_0x4d9650[_0x43995f(0x2c2)](_0x43995f(0x212));for(const _0x531c9a of _0x4d9650){const _0xae0d5a=this[_0x43995f(0x1d6)][_0x43995f(0x1e6)](_0x531c9a)||G(_0x531c9a,!0x1),_0x56c03c=this[_0x43995f(0x2ba)][_0x43995f(0x1e6)](_0x531c9a)||G(_0x531c9a,!0x1);_0xae0d5a[_0x43995f(0x2d5)]()||_0x56c03c[_0x43995f(0x2d5)]()?(_0x72aa47[_0x43995f(0x236)][_0x531c9a]=q(_0xae0d5a),_0x72aa47[_0x43995f(0x2e6)][_0x531c9a]=q(_0x56c03c),this[_0x43995f(0x1f1)](_0x72aa47[_0x43995f(0x2e6)][_0x531c9a],_0x56c03c),this[_0x43995f(0x1f1)](_0x72aa47[_0x43995f(0x236)][_0x531c9a],_0xae0d5a),_0x2e6415[_0x43995f(0x236)][_0x531c9a]=this[_0x43995f(0x289)](this[_0x43995f(0x200)][_0x43995f(0x1e6)](_0x531c9a),[]),_0x2e6415[_0x43995f(0x2e6)][_0x531c9a]=this[_0x43995f(0x289)](this[_0x43995f(0x1fe)][_0x43995f(0x1e6)](_0x531c9a)||G(_0x531c9a,!0x1),[])):_0x4d9650[_0x43995f(0x2c2)](_0x531c9a);}for(const _0x504e00 of _0x4d9650){const _0x324804=_0x2e6415[_0x43995f(0x236)][_0x504e00];for(const _0x362159 of _0x324804){const _0x4f7375=this[_0x43995f(0x1e3)](_0x362159),_0x412c3e=_0x362159[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x4f7375);_0x42c3fe[_0x43995f(0x2c2)](_0x412c3e),_0x412c3e>=this[_0x43995f(0x27b)]&&_0x15cabf[_0x43995f(0x280)](_0x412c3e,_0x26add5[_0x43995f(0x1e6)](_0x412c3e));}}for(const _0x20f41a of _0x4d9650){const _0x37adc1=_0x2e6415[_0x43995f(0x236)][_0x20f41a],_0x6000a4=this[_0x43995f(0x1ec)](_0x2e6415[_0x43995f(0x2e6)][_0x20f41a]);let _0x5a3a92=0x0;for(const _0x1f0a2a of _0x37adc1){const _0x4f830d=this[_0x43995f(0x1e3)](_0x1f0a2a),_0x18feea=_0x1f0a2a[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x4f830d);if(!_0x15cabf[_0x43995f(0x1f3)](_0x18feea)&&!_0x3d559d[_0x43995f(0x1f3)](_0x18feea)){if(_0x42c3fe[_0x43995f(0x1f3)](_0x18feea))_0x5a3a92++;else{if(_0x18feea!=_0x6000a4[_0x5a3a92]){const _0x36fd2c=_0x26add5[_0x43995f(0x1e6)](_0x18feea)||_0x26add5[_0x43995f(0x1e6)](_0x6000a4[_0x5a3a92]);for(;_0x18feea!=_0x6000a4[_0x5a3a92];)_0x42c3fe[_0x43995f(0x1f3)](_0x6000a4[_0x5a3a92])||(_0x3d559d[_0x43995f(0x280)](_0x6000a4[_0x5a3a92],_0x36fd2c),_0x26add5[_0x43995f(0x280)](_0x6000a4[_0x5a3a92],_0x36fd2c)),_0x5a3a92++;}_0x5a3a92++;}}}}for(const _0x570885 of _0x4d9650){const _0x444b9b=_0x2e6415[_0x43995f(0x236)][_0x570885];for(const _0x329e76 of _0x444b9b){const _0xf69e9=this[_0x43995f(0x1e3)](_0x329e76),_0x582d6b=_0x329e76[_0x43995f(0x1f7)][_0x43995f(0x270)](_0xf69e9);if(_0x3d559d[_0x43995f(0x1f3)](_0x582d6b)){const _0x3151c5=_0x3d559d[_0x43995f(0x1e6)](_0x582d6b);_0x42c3fe[_0x43995f(0x1f3)](_0x582d6b)||_0x42c3fe[_0x43995f(0x280)](_0x582d6b,{..._0x3151c5}),_0x15cabf[_0x43995f(0x280)](_0x582d6b,{..._0x3151c5});}}}for(const _0x2b78eb of _0x42c3fe[_0x43995f(0x296)]())_0x2b78eb>=this[_0x43995f(0x27b)]&&_0x42c3fe[_0x43995f(0x2c2)](_0x2b78eb);const _0x3d0fbf=new Map();for(const _0x3f7dac of _0x4d9650){let _0x3b1500=_0x2e6415[_0x43995f(0x236)][_0x3f7dac];for(const _0x22f079 of _0x3b1500)if(_0x22f079[_0x43995f(0x1f7)]['is'](_0x43995f(0x2c4),_0x43995f(0x25d))){const _0x3a037c=this[_0x43995f(0x1e3)](_0x22f079),_0xab7249=_0x22f079[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x3a037c);if(_0x15cabf[_0x43995f(0x1f3)](_0xab7249)){const _0x4e69a3=_0x22f079[_0x43995f(0x1f7)][_0x43995f(0x27c)][_0x43995f(0x27c)][_0x43995f(0x270)](_0x43995f(0x2d6)),_0x278ae8=_0x3d0fbf[_0x43995f(0x1e6)](_0x4e69a3)||new Set();_0x278ae8[_0x43995f(0x245)](_0x15cabf[_0x43995f(0x1e6)](_0xab7249)[_0x43995f(0x1db)]),_0x3d0fbf[_0x43995f(0x280)](_0x4e69a3,_0x278ae8);}}_0x3b1500=_0x2e6415[_0x43995f(0x2e6)][_0x3f7dac];for(const _0x3b580a of _0x3b1500)if(_0x3b580a[_0x43995f(0x1f7)]['is'](_0x43995f(0x2c4),_0x43995f(0x25d))){const _0x37d2ed=this[_0x43995f(0x1e3)](_0x3b580a),_0x5d90a5=_0x3b580a[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x37d2ed);if(_0x42c3fe[_0x43995f(0x1f3)](_0x5d90a5)){const _0x20adaa=_0x3b580a[_0x43995f(0x1f7)][_0x43995f(0x27c)][_0x43995f(0x27c)][_0x43995f(0x270)](_0x43995f(0x2d6)),_0x4aa7d8=_0x3d0fbf[_0x43995f(0x1e6)](_0x20adaa)||new Set();_0x4aa7d8[_0x43995f(0x245)](_0x42c3fe[_0x43995f(0x1e6)](_0x5d90a5)[_0x43995f(0x1db)]),_0x3d0fbf[_0x43995f(0x280)](_0x20adaa,_0x4aa7d8);}}for(const _0x53d499 of _0x3d0fbf[_0x43995f(0x296)]())(_0x15cabf[_0x43995f(0x1f3)](_0x53d499)||_0x42c3fe[_0x43995f(0x1f3)](_0x53d499))&&_0x3d0fbf[_0x43995f(0x2c2)](_0x53d499);}for(const _0xd8ef40 of _0x4d9650){const _0x5a6c14=_0x2e6415[_0x43995f(0x236)][_0xd8ef40];let _0xceec6e=null,_0x874c7f=null;for(const _0x171927 of _0x5a6c14){const _0x4a5426=this[_0x43995f(0x1e3)](_0x171927),_0x382212=_0x171927[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x4a5426),_0x5c27c0=_0x3d0fbf[_0x43995f(0x1e6)](_0x382212);_0x5c27c0&&_0x43995f(0x1f2)==_0x171927[_0x43995f(0x1ca)]&&(_0xceec6e=Array[_0x43995f(0x281)](_0x5c27c0)[0x0],_0x874c7f=_0x171927[_0x43995f(0x1f7)][_0x43995f(0x270)](_0x43995f(0x23e))),_0xceec6e&&(_0x42c3fe[_0x43995f(0x280)](_0x382212,{'userId':_0xceec6e}),_0x15cabf[_0x43995f(0x280)](_0x382212,{'userId':_0xceec6e})),_0x382212==_0x874c7f&&(_0xceec6e=null,_0x874c7f=null);}}const _0x1f1bae={},_0x599a5b=new Set();for(const _0x5d9ed3 of _0x4d9650){const _0x4c4c1d=_0x72aa47[_0x43995f(0x2e6)][_0x5d9ed3],_0x3cc840=_0x72aa47[_0x43995f(0x236)][_0x5d9ed3];for(const {userId:_0x1e84af}of this[_0x43995f(0x2b5)][_0x43995f(0x2bb)]())null!==_0x1e84af&&_0x599a5b[_0x43995f(0x245)](_0x1e84af);for(const {userId:_0x29a8be}of this[_0x43995f(0x24b)][_0x43995f(0x2bb)]())null!==_0x29a8be&&_0x599a5b[_0x43995f(0x245)](_0x29a8be);this[_0x43995f(0x26f)](_0x3cc840,_0x2e6415[_0x43995f(0x236)][_0x5d9ed3],_0x15cabf,_0x43995f(0x21b),_0x599a5b),this[_0x43995f(0x26f)](_0x4c4c1d,_0x2e6415[_0x43995f(0x2e6)][_0x5d9ed3],_0x42c3fe,_0x43995f(0x256),_0x599a5b),_0x1f1bae[_0x5d9ed3]={'insertions':this[_0x43995f(0x25c)](_0x3cc840),'deletions':this[_0x43995f(0x25c)](_0x4c4c1d),'attachChange':this[_0x43995f(0x24b)][_0x43995f(0x1e6)](_0x5d9ed3)||null,'attributesBefore':_0x200b98(this[_0x43995f(0x1c9)][_0x43995f(0x1e6)](_0x5d9ed3))||{},'attributesAfter':_0x200b98(this[_0x43995f(0x292)][_0x43995f(0x1e6)](_0x5d9ed3))};}return{'diffData':_0x1f1bae,'authorsIds':Array[_0x43995f(0x281)](_0x599a5b)};}[_0x47aec1(0x2a0)](_0x3c1661){const _0x463aec=_0x47aec1;for(const [,_0x467c38]of _0x3c1661[_0x463aec(0x283)]){const _0x1f5843=_0x467c38[_0x463aec(0x2ca)][_0x463aec(0x2cc)]()[_0x463aec(0x2dd)](_0x16418c=>_0x463aec(0x25d)==_0x16418c[_0x463aec(0x24f)]);for(const _0x3f08b2 of _0x1f5843)0x1==_0x3f08b2[_0x463aec(0x1d1)]&&_0x3f08b2[_0x463aec(0x230)](0x0)['is'](_0x463aec(0x2c4),_0x463aec(0x20c))&&_0x3f08b2[_0x463aec(0x230)](0x0)[_0x463aec(0x26a)](_0x463aec(0x239),!0x0);}}[_0x47aec1(0x25c)](_0x3e4572){const _0xa5977a=_0x47aec1;this[_0xa5977a(0x2a0)](_0x3e4572);const _0x2ca79a=this[_0xa5977a(0x29b)][_0xa5977a(0x213)][_0xa5977a(0x211)](_0x3e4572,{}),_0x44ac5a=Array[_0xa5977a(0x281)](_0x2ca79a[_0xa5977a(0x1ce)]())[_0xa5977a(0x246)](_0x38968f=>this[_0xa5977a(0x2d1)](_0x38968f));return JSON[_0xa5977a(0x1ef)](_0x44ac5a);}[_0x47aec1(0x2d1)](_0x45f17e){const _0x3a9a32=_0x47aec1;if(_0x45f17e['is'](_0x3a9a32(0x2d0)))return _0x45f17e[_0x3a9a32(0x213)];{const _0x4ac56b=_0x45f17e;return{'type':Object[_0x3a9a32(0x296)](T)[_0x3a9a32(0x2c7)](_0x1f30cb=>_0x45f17e instanceof T[_0x1f30cb]),'name':_0x4ac56b[_0x3a9a32(0x24f)],'attributes':Array[_0x3a9a32(0x281)](_0x4ac56b[_0x3a9a32(0x1f5)]()),'children':Array[_0x3a9a32(0x281)](_0x4ac56b[_0x3a9a32(0x1ce)]())[_0x3a9a32(0x246)](_0x894a92=>this[_0x3a9a32(0x2d1)](_0x894a92))};}}[_0x47aec1(0x26f)](_0x14909a,_0x54cc9f,_0x5d31e4,_0x33ddf4,_0x4259ce){const _0x53dc89=_0x47aec1;let _0x3cdf1b=null,_0x1656f7=null,_0x18700d=0x0;const _0x21ea6c=this[_0x53dc89(0x29b)][_0x53dc89(0x2b0)];for(let _0x5b9029=0x0;_0x5b9029<_0x54cc9f[_0x53dc89(0x1ff)];_0x5b9029++){const _0x3778f8=this[_0x53dc89(0x1e3)](_0x54cc9f[_0x5b9029]),_0x541102=_0x54cc9f[_0x5b9029][_0x53dc89(0x1f7)][_0x53dc89(0x270)](_0x3778f8),_0x5e48a5=_0x5d31e4[_0x53dc89(0x1e6)](_0x541102),_0xb0d7ff=_0x5b9029==_0x54cc9f[_0x53dc89(0x1ff)]-0x1;(!_0x3cdf1b&&_0x5e48a5&&(_0x3cdf1b=_0x5e48a5,_0x1656f7=_0x54cc9f[_0x5b9029]),_0x3cdf1b&&(!_0x5e48a5||_0x5e48a5[_0x53dc89(0x1db)]!=_0x3cdf1b[_0x53dc89(0x1db)]))&&(_0x1286a5(_0x5e48a5,L(_0x1656f7,_0x14909a,_0x21ea6c),L(_0x54cc9f[_0x5b9029],_0x14909a,_0x21ea6c)),_0x3cdf1b=_0x5e48a5||null,_0x1656f7=_0x5e48a5?_0x54cc9f[_0x5b9029]:null),_0x3cdf1b&&_0xb0d7ff&&_0x1286a5(_0x5e48a5,L(_0x1656f7,_0x14909a,_0x21ea6c),W(_0x54cc9f[_0x5b9029],_0x14909a,_0x21ea6c));}function _0x1286a5(_0x5877f6,_0x2f9cae,_0x1c02c8){const _0x560beb=_0x53dc89,_0x3dc7a9=_0x3cdf1b[_0x560beb(0x1db)],_0x9d8851=_0x560beb(0x2c9)+_0x33ddf4+':'+_0x3dc7a9+':'+_0x18700d++,_0x48988f=_0x21ea6c[_0x560beb(0x22b)](_0x2f9cae,_0x1c02c8);_0x14909a[_0x560beb(0x283)][_0x560beb(0x280)](_0x9d8851,_0x48988f),null!==_0x3dc7a9&&_0x4259ce[_0x560beb(0x245)](_0x3dc7a9);}}[_0x47aec1(0x1e3)](_0x364d0c){const _0x16d567=_0x47aec1;switch(_0x364d0c[_0x16d567(0x1ca)]){case _0x16d567(0x1f2):return _0x16d567(0x2d6);case _0x16d567(0x228):return _0x16d567(0x23e);default:return _0x16d567(0x231);}}[_0x47aec1(0x2c0)](_0x51ec23,_0x1ad1b7){const _0x387d01=_0x47aec1;_0x51ec23[_0x387d01(0x23d)]=null;for(const _0x535a5d in _0x51ec23){const _0x8909b=_0x51ec23[_0x535a5d];if(_0x8909b instanceof _0x361f2f){const _0x207168=_0x1ad1b7[_0x387d01(0x1e6)](_0x8909b[_0x387d01(0x1dd)][_0x387d01(0x276)]);_0x51ec23[_0x535a5d]=this[_0x387d01(0x268)](_0x8909b,_0x207168);}if(_0x8909b instanceof _0x5ab204){const _0xdb6492=_0x1ad1b7[_0x387d01(0x1e6)](_0x8909b[_0x387d01(0x1dd)][_0x387d01(0x276)]);_0x51ec23[_0x535a5d]=this[_0x387d01(0x258)](_0x8909b,_0xdb6492);}_0x387d01(0x1dd)===_0x535a5d&&(_0x51ec23[_0x387d01(0x1dd)]=_0x1ad1b7[_0x387d01(0x1e6)](_0x51ec23[_0x387d01(0x1dd)][_0x387d01(0x276)]));}}[_0x47aec1(0x258)](_0x10191d,_0x100a75){const _0x408f00=_0x47aec1;return this[_0x408f00(0x29b)][_0x408f00(0x2b0)][_0x408f00(0x22b)](this[_0x408f00(0x268)](_0x10191d[_0x408f00(0x2ca)],_0x100a75),this[_0x408f00(0x268)](_0x10191d[_0x408f00(0x210)],_0x100a75));}[_0x47aec1(0x268)](_0x4ff392,_0x27604e){const _0x2e8e26=_0x47aec1;return this[_0x2e8e26(0x29b)][_0x2e8e26(0x2b0)][_0x2e8e26(0x2a2)](_0x27604e,_0x4ff392[_0x2e8e26(0x22a)],_0x4ff392[_0x2e8e26(0x298)]);}[_0x47aec1(0x285)](_0x29fc74){const _0x57eccf=_0x47aec1,_0x3cf596=this[_0x57eccf(0x200)][_0x57eccf(0x1e6)](_0x29fc74[_0x57eccf(0x2d4)][_0x57eccf(0x1dd)][_0x57eccf(0x276)]),_0xa95e6c=this[_0x57eccf(0x268)](_0x29fc74[_0x57eccf(0x2d4)],_0x3cf596),_0x19260=null===_0x29fc74[_0x57eccf(0x2d8)]?null:_0x29fc74[_0x57eccf(0x2d8)]||this[_0x57eccf(0x29b)][_0x57eccf(0x288)][_0x57eccf(0x1e6)](_0x57eccf(0x294))['me']['id'],_0x86aaac=_0xa95e6c[_0x57eccf(0x27c)],_0x7875bd=this[_0x57eccf(0x24c)],_0x5dfbff=[];for(const _0x1bb841 of _0x29fc74[_0x57eccf(0x2d7)])if(_0x1bb841['is'](_0x57eccf(0x2c4)))_0x5dfbff[_0x57eccf(0x255)](this[_0x57eccf(0x2a1)](_0x1bb841));else{for(let _0x337944=0x0;_0x337944<_0x1bb841[_0x57eccf(0x260)];_0x337944++)_0x5dfbff[_0x57eccf(0x255)](new _0x512062(_0x57eccf(0x2d0),{'vid':this[_0x57eccf(0x24c)]++}));}const _0x20777f=this[_0x57eccf(0x24c)];for(let _0x1dd9bf=_0x7875bd;_0x1dd9bf<_0x20777f;_0x1dd9bf++)this[_0x57eccf(0x209)][_0x57eccf(0x280)](_0x1dd9bf,{'userId':_0x19260});_0x86aaac[_0x57eccf(0x257)](_0xa95e6c[_0x57eccf(0x250)],_0x5dfbff);}[_0x47aec1(0x2e2)](_0x17d48c){const _0x5286c5=_0x47aec1;(_0x17d48c=this[_0x5286c5(0x1d9)](_0x17d48c,this[_0x5286c5(0x200)]))[_0x5286c5(0x243)]();const _0x10e797=null===_0x17d48c[_0x5286c5(0x2d8)]?null:_0x17d48c[_0x5286c5(0x2d8)]||this[_0x5286c5(0x29b)][_0x5286c5(0x288)][_0x5286c5(0x1e6)](_0x5286c5(0x294))['me']['id'],_0x1bbd43=_0x17d48c[_0x5286c5(0x295)](),_0x4daaf4=_0x1bbd43[_0x5286c5(0x27c)],_0x178ba1=_0x1bbd43[_0x5286c5(0x250)];!function _0x285465(_0x32d970,_0x41fbd3,_0x2701d1,_0x35f525){const _0x4f2e9b=_0x5286c5;for(let _0x2a0efd=_0x2701d1;_0x2a0efd<_0x35f525;_0x2a0efd++){const _0xeb8562=_0x41fbd3[_0x4f2e9b(0x230)](_0x2a0efd);_0xeb8562['is'](_0x4f2e9b(0x2c4),_0x4f2e9b(0x2d0))?_0x32d970[_0x4f2e9b(0x280)](_0xeb8562[_0x4f2e9b(0x270)](_0x4f2e9b(0x231)),{'userId':_0x10e797}):(_0x32d970[_0x4f2e9b(0x280)](_0xeb8562[_0x4f2e9b(0x270)](_0x4f2e9b(0x2d6)),{'userId':_0x10e797}),_0x285465(_0x32d970,_0xeb8562,0x0,_0xeb8562[_0x4f2e9b(0x1d1)]),_0x32d970[_0x4f2e9b(0x280)](_0xeb8562[_0x4f2e9b(0x270)](_0x4f2e9b(0x23e)),{'userId':_0x10e797}));}}(this[_0x5286c5(0x209)],_0x4daaf4,_0x178ba1,_0x178ba1+_0x17d48c[_0x5286c5(0x227)]);}[_0x47aec1(0x23a)](_0x98e5f6){const _0x514f7b=_0x47aec1,_0xa32a69=null===(_0x98e5f6=this[_0x514f7b(0x1d9)](_0x98e5f6,this[_0x514f7b(0x200)]))[_0x514f7b(0x2d8)]?null:_0x98e5f6[_0x514f7b(0x2d8)]||this[_0x514f7b(0x29b)][_0x514f7b(0x288)][_0x514f7b(0x1e6)](_0x514f7b(0x294))['me']['id'],_0x29ab75=_0x98e5f6[_0x514f7b(0x274)][_0x514f7b(0x27c)],_0x885e30=_0x98e5f6[_0x514f7b(0x204)][_0x514f7b(0x27c)],_0x1b187d=_0x29ab75[_0x514f7b(0x270)](_0x514f7b(0x23e)),_0x493a12=_0x885e30[_0x514f7b(0x270)](_0x514f7b(0x2d6));_0x29ab75[_0x514f7b(0x26a)](_0x514f7b(0x23e),_0x885e30[_0x514f7b(0x270)](_0x514f7b(0x23e))),_0x885e30[_0x514f7b(0x26a)](_0x514f7b(0x23e),_0x1b187d),this[_0x514f7b(0x209)][_0x514f7b(0x280)](_0x493a12,{'userId':_0xa32a69}),this[_0x514f7b(0x209)][_0x514f7b(0x280)](_0x1b187d,{'userId':_0xa32a69}),_0x98e5f6[_0x514f7b(0x243)]();}[_0x47aec1(0x2ce)](_0x4f121a){const _0x1f3872=_0x47aec1,_0x9edd99=null===(_0x4f121a=this[_0x1f3872(0x1d9)](_0x4f121a,this[_0x1f3872(0x200)]))[_0x1f3872(0x2d8)]?null:_0x4f121a[_0x1f3872(0x2d8)]||this[_0x1f3872(0x29b)][_0x1f3872(0x288)][_0x1f3872(0x1e6)](_0x1f3872(0x294))['me']['id'],_0x24dfab=_0x4f121a[_0x1f3872(0x247)],_0x121eb4=_0x4f121a[_0x1f3872(0x27f)][_0x1f3872(0x27c)];_0x4f121a[_0x1f3872(0x243)]();const _0x465772=_0x121eb4[_0x1f3872(0x270)](_0x1f3872(0x23e)),_0x5b0446=_0x4f121a[_0x1f3872(0x1eb)][_0x1f3872(0x2b8)];if(_0x24dfab){const _0xfdfdee=_0x5b0446[_0x1f3872(0x270)](_0x1f3872(0x23e)),_0x1e2696=_0x121eb4[_0x1f3872(0x270)](_0x1f3872(0x23e));_0x121eb4[_0x1f3872(0x26a)](_0x1f3872(0x23e),_0xfdfdee),_0x5b0446[_0x1f3872(0x26a)](_0x1f3872(0x23e),_0x1e2696),this[_0x1f3872(0x209)][_0x1f3872(0x280)](_0x121eb4[_0x1f3872(0x270)](_0x1f3872(0x23e)),{'userId':_0x9edd99}),this[_0x1f3872(0x209)][_0x1f3872(0x280)](_0x5b0446[_0x1f3872(0x270)](_0x1f3872(0x2d6)),{'userId':_0x9edd99});}else{const _0x20b243=this[_0x1f3872(0x24c)]++,_0x55b8b8=this[_0x1f3872(0x24c)]++;_0x121eb4[_0x1f3872(0x26a)](_0x1f3872(0x23e),_0x20b243),_0x5b0446[_0x1f3872(0x26a)](_0x1f3872(0x2d6),_0x55b8b8),_0x5b0446[_0x1f3872(0x26a)](_0x1f3872(0x23e),_0x465772),this[_0x1f3872(0x209)][_0x1f3872(0x280)](_0x20b243,{'userId':_0x9edd99}),this[_0x1f3872(0x209)][_0x1f3872(0x280)](_0x55b8b8,{'userId':_0x9edd99});}}[_0x47aec1(0x2ac)](_0x44c01d){const _0x21c767=_0x47aec1;if(!_0x44c01d[_0x21c767(0x2b3)])return;const _0x22256b=(_0x44c01d=this[_0x21c767(0x1d9)](_0x44c01d,this[_0x21c767(0x1d6)]))[_0x21c767(0x2cb)]?_0x44c01d[_0x21c767(0x2cb)][_0x21c767(0x1dd)]:null,_0x351839=_0x44c01d[_0x21c767(0x21e)]?_0x44c01d[_0x21c767(0x21e)][_0x21c767(0x1dd)]:null;_0x22256b&&this[_0x21c767(0x2e7)][_0x21c767(0x2c2)](_0x44c01d[_0x21c767(0x24f)]),_0x351839&&this[_0x21c767(0x2e7)][_0x21c767(0x280)](_0x44c01d[_0x21c767(0x24f)],_0x44c01d[_0x21c767(0x21e)][_0x21c767(0x237)]());const _0x2da873=null===_0x44c01d[_0x21c767(0x2d8)]?null:_0x44c01d[_0x21c767(0x2d8)]||this[_0x21c767(0x29b)][_0x21c767(0x288)][_0x21c767(0x1e6)](_0x21c767(0x294))['me']['id'],_0x167e69=_0x44c01d[_0x21c767(0x24f)];if(!this[_0x21c767(0x2b5)][_0x21c767(0x1f3)](_0x167e69))return void this[_0x21c767(0x2b5)][_0x21c767(0x280)](_0x167e69,{'range':_0x44c01d[_0x21c767(0x2cb)],'userId':_0x2da873});const _0x3108df=this[_0x21c767(0x2b5)][_0x21c767(0x1e6)](_0x167e69),_0x3717ed=_0x3108df[_0x21c767(0x1f8)],_0x5cdcc1=_0x44c01d[_0x21c767(0x21e)];null==_0x3717ed&&null==_0x5cdcc1||_0x3717ed&&_0x5cdcc1&&_0x3717ed[_0x21c767(0x1c4)](_0x5cdcc1)?this[_0x21c767(0x2b5)][_0x21c767(0x2c2)](_0x44c01d[_0x21c767(0x24f)]):_0x3108df[_0x21c767(0x1db)]=_0x2da873;}[_0x47aec1(0x221)](_0x47f80d,_0x43f4bf){const _0x8bd87b=_0x47aec1;this[_0x8bd87b(0x1d6)][_0x8bd87b(0x1f3)](_0x47f80d[_0x8bd87b(0x276)])?this[_0x8bd87b(0x1d6)][_0x8bd87b(0x1e6)](_0x47f80d[_0x8bd87b(0x276)])[_0x8bd87b(0x2ad)]=_0x47f80d[_0x8bd87b(0x28f)]:(this[_0x8bd87b(0x1d6)][_0x8bd87b(0x280)](_0x47f80d[_0x8bd87b(0x276)],G(_0x47f80d[_0x8bd87b(0x276)],!0x0)),this[_0x8bd87b(0x292)][_0x8bd87b(0x280)](_0x47f80d[_0x8bd87b(0x276)],{}),_0x43f4bf&&this[_0x8bd87b(0x200)][_0x8bd87b(0x280)](_0x47f80d[_0x8bd87b(0x276)],G(_0x47f80d[_0x8bd87b(0x276)],!0x0)));const _0x3b7ad9=null===_0x47f80d[_0x8bd87b(0x2d8)]?null:_0x47f80d[_0x8bd87b(0x2d8)]||this[_0x8bd87b(0x29b)][_0x8bd87b(0x288)][_0x8bd87b(0x1e6)](_0x8bd87b(0x294))['me']['id'],_0x2556bf=this[_0x8bd87b(0x24b)][_0x8bd87b(0x1e6)](_0x47f80d[_0x8bd87b(0x276)]);_0x2556bf&&_0x2556bf[_0x8bd87b(0x1db)]===_0x3b7ad9?this[_0x8bd87b(0x24b)][_0x8bd87b(0x2c2)](_0x47f80d[_0x8bd87b(0x276)]):this[_0x8bd87b(0x24b)][_0x8bd87b(0x280)](_0x47f80d[_0x8bd87b(0x276)],{'userId':_0x3b7ad9,'isAttached':_0x47f80d[_0x8bd87b(0x28f)]});}[_0x47aec1(0x2ed)](_0x13e7d1){const _0x48360e=_0x47aec1,_0x503242=this[_0x48360e(0x292)][_0x48360e(0x1e6)](_0x13e7d1[_0x48360e(0x1dd)][_0x48360e(0x276)]);null===_0x13e7d1[_0x48360e(0x1fa)]?delete _0x503242[_0x13e7d1[_0x48360e(0x2ea)]]:_0x503242[_0x13e7d1[_0x48360e(0x2ea)]]=_0x13e7d1[_0x48360e(0x1fa)];}}function q(_0x1c8bf3){const _0x18daf7=_0x47aec1,_0x20046e=G(_0x1c8bf3[_0x18daf7(0x276)],_0x1c8bf3[_0x18daf7(0x2d5)]());for(const _0x3e4d4a of _0x1c8bf3[_0x18daf7(0x1ce)]()){const _0x14d567=_0x3e4d4a[_0x18daf7(0x2df)](!0x0);_0x20046e[_0x18daf7(0x271)](_0x14d567);}return _0x20046e;}function G(_0x540372,_0x572c26=!0x0){const _0x1fbfb2=_0x47aec1,_0x1c109d=new _0x425490();return _0x1c109d[_0x1fbfb2(0x276)]=_0x540372,_0x1c109d[_0x1fbfb2(0x2ad)]=_0x572c26,_0x1c109d[_0x1fbfb2(0x2d5)]=()=>_0x1c109d[_0x1fbfb2(0x2ad)],_0x1c109d;}function _0xe2b3(_0x237e1f,_0x16949d){const _0x3d243b=_0x3d24();return _0xe2b3=function(_0xe2b3d7,_0x457a29){_0xe2b3d7=_0xe2b3d7-0x1c3;let _0x4d161b=_0x3d243b[_0xe2b3d7];return _0x4d161b;},_0xe2b3(_0x237e1f,_0x16949d);}function L(_0x309373,_0x2ded1c,_0x210d73){const _0x91aa69=_0x47aec1,_0x5c231a=_0x91aa69(0x228)==_0x309373[_0x91aa69(0x1ca)]?_0x210d73[_0x91aa69(0x1e5)](_0x309373[_0x91aa69(0x1f7)],_0x91aa69(0x210)):_0x210d73[_0x91aa69(0x20e)](_0x309373[_0x91aa69(0x1f7)]);return _0x210d73[_0x91aa69(0x2a2)](_0x2ded1c,_0x5c231a[_0x91aa69(0x22a)],_0x5c231a[_0x91aa69(0x298)]);}function W(_0xb8ac2,_0xaade67,_0x5075e8){const _0x339271=_0x47aec1,_0x2595b0=_0x339271(0x1f2)==_0xb8ac2[_0x339271(0x1ca)]?_0x5075e8[_0x339271(0x1e5)](_0xb8ac2[_0x339271(0x1f7)],0x0):_0x5075e8[_0x339271(0x242)](_0xb8ac2[_0x339271(0x1f7)]);return _0x5075e8[_0x339271(0x2a2)](_0xaade67,_0x2595b0[_0x339271(0x22a)],_0x2595b0[_0x339271(0x298)]);}
|
package/src/revisionviewer.d.ts
CHANGED
|
@@ -2,7 +2,89 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/revisionviewer
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, Command, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ContextualBalloon } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
11
|
+
import ChangeDetailsView from './ui/revisionviewer/changedetailsview.js';
|
|
12
|
+
import RevisionsRepository from './revisionsrepository.js';
|
|
13
|
+
import ChangeItem from './changeitem.js';
|
|
14
|
+
import { default as RevisionDiff } from './revisiondiff.js';
|
|
5
15
|
import '../theme/revisionviewer.css';
|
|
16
|
+
import type { RevisionHistoryAdapter } from './revisionhistoryadapter.js';
|
|
17
|
+
import type { default as Revision, RevisionJSON } from './revision.js';
|
|
18
|
+
export default class RevisionViewer extends Plugin {
|
|
19
|
+
repository: RevisionsRepository;
|
|
20
|
+
adapter: RevisionHistoryAdapter | null;
|
|
21
|
+
/**
|
|
22
|
+
* @observable
|
|
23
|
+
*/
|
|
24
|
+
activeChange: ChangeItem | null;
|
|
25
|
+
/**
|
|
26
|
+
* @observable
|
|
27
|
+
*/
|
|
28
|
+
activeView: ChangeDetailsView | null;
|
|
29
|
+
/**
|
|
30
|
+
* @observable
|
|
31
|
+
*/
|
|
32
|
+
diff: RevisionDiff | null;
|
|
33
|
+
/**
|
|
34
|
+
* @observable
|
|
35
|
+
*/
|
|
36
|
+
isReady: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @observable
|
|
39
|
+
*/
|
|
40
|
+
isEnabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @observable
|
|
43
|
+
*/
|
|
44
|
+
isNavigationMode: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @observable
|
|
47
|
+
*/
|
|
48
|
+
currentChangeNumber: number;
|
|
49
|
+
/**
|
|
50
|
+
* @observable
|
|
51
|
+
*/
|
|
52
|
+
numberOfChanges: number;
|
|
53
|
+
static get pluginName(): "RevisionViewer";
|
|
54
|
+
static get requires(): readonly [typeof Users, typeof ContextualBalloon, typeof RevisionsRepository];
|
|
55
|
+
constructor(editor: Editor);
|
|
56
|
+
init(): void;
|
|
57
|
+
getRevisionData(revision: Revision): Promise<Record<string, string>>;
|
|
58
|
+
getRevisionRootsAttributes(revision: Revision): Promise<Record<string, Record<string, unknown>>>;
|
|
59
|
+
compare(newRevisionOrId: Revision | string, oldRevisionOrId: Revision | string, forceCompare?: boolean): Promise<unknown>;
|
|
60
|
+
addRevisionData(revisionData: RevisionJSON, updateCallback: (updateObj: RevisionJSON, isFromAdapter: boolean, revision: Revision) => void): Revision;
|
|
61
|
+
loadRevisionData(revision: Revision): Promise<any>;
|
|
62
|
+
private _removeMissingPairs;
|
|
63
|
+
}
|
|
64
|
+
export declare class RestoreRevisionCommand extends Command {
|
|
65
|
+
constructor(editor: Editor);
|
|
66
|
+
execute(): void;
|
|
67
|
+
refresh(): void;
|
|
68
|
+
}
|
|
69
|
+
export declare class ShowChangeCommand<T extends 'backward' | 'forward'> extends Command {
|
|
70
|
+
constructor(editor: Editor, { direction }: {
|
|
71
|
+
direction: T;
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* TODO
|
|
75
|
+
*/
|
|
76
|
+
execute(): void;
|
|
77
|
+
/**
|
|
78
|
+
* TODO
|
|
79
|
+
*
|
|
80
|
+
* The `showNextChange` command is enabled if the revision viewer is ready and either the navigation
|
|
81
|
+
* mode is off, or there is any "next" change to select within current revision.
|
|
82
|
+
*
|
|
83
|
+
* The `showPreviousChange` command is enabled if the revision viewer is ready and either the navigation
|
|
84
|
+
* mode is off, or there is any "previous" change to select within current revision.
|
|
85
|
+
*/
|
|
86
|
+
refresh(): void;
|
|
87
|
+
}
|
|
6
88
|
/**
|
|
7
89
|
function printTape( tape ) {
|
|
8
90
|
const elements = tape.map(
|