@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.7 → 47.4.0-alpha.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/real-time-collaboration.js +2 -2
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +1 -1
- package/dist/index.css +8 -8
- package/dist/index.js +7 -7
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/be.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +16 -16
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/common-translations.d.ts +1 -1
- package/src/common-translations.js +2 -2
- package/src/config.d.ts +1 -1
- package/src/config.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/presencelist/presencelistui.d.ts +1 -1
- package/src/presencelist/presencelistui.js +2 -2
- package/src/presencelist/view/presencecounterview.d.ts +1 -1
- package/src/presencelist/view/presencecounterview.js +2 -2
- package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +2 -2
- package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +2 -2
- package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +2 -2
- package/src/presencelist/view/presenceinlinelistview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +2 -2
- package/src/presencelist/view/presencelistview.d.ts +1 -1
- package/src/presencelist/view/presencelistview.js +2 -2
- package/src/presencelist.d.ts +1 -1
- package/src/presencelist.js +2 -2
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +3 -3
- package/src/realtimecollaborativecomments.d.ts +1 -1
- package/src/realtimecollaborativecomments.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +3 -3
- package/src/realtimecollaborativeediting/sessions.d.ts +1 -1
- package/src/realtimecollaborativeediting/sessions.js +2 -2
- package/src/realtimecollaborativeediting/usermarkers.d.ts +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +2 -2
- package/src/realtimecollaborativeediting/websocketgateway.d.ts +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +3 -3
- package/src/realtimecollaborativeediting.d.ts +1 -1
- package/src/realtimecollaborativeediting.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +3 -3
- package/src/realtimecollaborativerevisionhistory.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +3 -3
- package/src/realtimecollaborativetrackchanges.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges.js +2 -2
- package/theme/presencelist.css +1 -1
- package/theme/usermarkers.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x1f74a1)());[_0x3f20ce(0xca)];[_0x3f20ce(0x11c)];[_0x3f20ce(0x108)];[_0x3f20ce(0x1a9)];[_0x3f20ce(0x1c2)];[_0x3f20ce(0xd4)];[_0x3f20ce(0x133)];[_0x3f20ce(0xbd)];[_0x3f20ce(0x155)];[_0x3f20ce(0x18c)];[_0x3f20ce(0xfb)];[_0x3f20ce(0x172)];[_0x3f20ce(0x13a)];[_0x3f20ce(0x162)];[_0x3f20ce(0xbf)];[_0x3f20ce(0x130)];[_0x3f20ce(0x104)];[_0x3f20ce(0xe6)];static get[_0x3f20ce(0x127)](){return[_0x4bb3c7,_0x581946,_0x41c88b,_0x26c835,_0x1281e4,_0x507419];}static get[_0x3f20ce(0x193)](){const _0x3457cf=_0x3f20ce;return _0x3457cf(0x173);}static get[_0x3f20ce(0xfe)](){return!0x0;}static get[_0x3f20ce(0x166)](){return!0x0;}get[_0x3f20ce(0x13e)](){const _0x2d48ab=_0x3f20ce;return this[_0x2d48ab(0x18a)]+this[_0x2d48ab(0xca)];}get[_0x3f20ce(0x18a)](){const _0x21cd89=_0x3f20ce;return this[_0x21cd89(0x108)][_0x21cd89(0x121)]-this[_0x21cd89(0xca)];}get[_0x3f20ce(0x13c)](){const _0x2c393a=_0x3f20ce,_0x43ce1d=this[_0x2c393a(0x108)][_0x2c393a(0xe3)]();for(let _0x17aa6e=_0x43ce1d[_0x2c393a(0x13b)]-0x1;_0x17aa6e>=0x0;_0x17aa6e--){const _0x11f534=_0x43ce1d[_0x17aa6e];if(!this[_0x2c393a(0x104)][_0x2c393a(0x142)](_0x11f534))return _0x11f534[_0x2c393a(0x158)]+0x1-this[_0x2c393a(0xca)];}return 0x0;}constructor(_0x1720a6){const _0x2cd710=_0x3f20ce;if(super(_0x1720a6),this[_0x2cd710(0xca)]=0x0,this[_0x2cd710(0x11c)]=null,this[_0x2cd710(0x108)]=new _0x194790(),this[_0x2cd710(0xef)][_0x2cd710(0x1ac)][_0x2cd710(0xc4)](_0x2cd710(0x182),{}),this[_0x2cd710(0x1a9)]=this[_0x2cd710(0xef)][_0x2cd710(0x1ac)][_0x2cd710(0xdd)](_0x2cd710(0x125)),!this[_0x2cd710(0x1a9)])throw new _0x4e9e26(_0x2cd710(0x194),this);const _0x2da8fe=_0x1720a6[_0x2cd710(0x1ac)][_0x2cd710(0xdd)](_0x2cd710(0x1be))||_0x3fd523;this[_0x2cd710(0x1c2)]=new RealTimeCollaborationClient[(_0x2cd710(0x139))](_0x2da8fe,this[_0x2cd710(0x1a9)]),this[_0x2cd710(0xd4)]=this[_0x2cd710(0xef)][_0x2cd710(0x188)][_0x2cd710(0x160)],this[_0x2cd710(0x133)]=new _0x42d36a(),this[_0x2cd710(0xbd)]=[],this[_0x2cd710(0x155)]=new WeakSet(),this[_0x2cd710(0x18c)]=new Set(),this[_0x2cd710(0x16f)](_0x2cd710(0x11e),!0x1),this[_0x2cd710(0x16f)](_0x2cd710(0x1a1),!0x1),this[_0x2cd710(0xfb)]=null,this[_0x2cd710(0x172)]=!0x1,this[_0x2cd710(0x13a)]=null,this[_0x2cd710(0x162)]=0x12c,this[_0x2cd710(0xbf)]=this[_0x2cd710(0x162)],this[_0x2cd710(0x130)]=null,this[_0x2cd710(0x104)]=new WeakSet(),this[_0x2cd710(0xe6)]=new J(this[_0x2cd710(0x104)]);}[_0x3f20ce(0xe2)](){const _0x44ff04=_0x3f20ce,_0x5a7c84=this[_0x44ff04(0xef)],_0x185f1b=_0x5a7c84[_0x44ff04(0x1b8)][_0x44ff04(0xdd)](_0x1281e4),_0x5081f9=_0x5a7c84[_0x44ff04(0x1b8)][_0x44ff04(0xdd)](_0x4bb3c7);this[_0x44ff04(0x1b6)](_0x185f1b,_0x44ff04(0x120),(_0x31c597,_0xec394b)=>{const _0x454fc1=_0x44ff04,_0x8b43ce=_0xec394b[0x0];_0x8b43ce[_0x454fc1(0x102)]&&(_0x31c597[_0x454fc1(0x11f)]=_0x185f1b[_0x454fc1(0xde)](_0x8b43ce[_0x454fc1(0x102)]),_0x31c597[_0x454fc1(0x168)]()),null===_0x8b43ce[_0x454fc1(0x102)]&&(_0x31c597[_0x454fc1(0x11f)]=null,_0x31c597[_0x454fc1(0x168)]());},{'priority':_0x44ff04(0x161)}),this[_0x44ff04(0x1b6)](_0x5a7c84[_0x44ff04(0x188)][_0x44ff04(0x160)][_0x44ff04(0xbe)],_0x44ff04(0x17b),(_0x55c607,_0x345ee2)=>{const _0x4d9a20=_0x44ff04;_0x345ee2[_0x4d9a20(0x14b)]&&this[_0x4d9a20(0x16d)]();}),this[_0x44ff04(0x1b6)](_0x5a7c84[_0x44ff04(0x105)][_0x44ff04(0x15c)],_0x44ff04(0x106),()=>{const _0xff6462=_0x44ff04;this[_0xff6462(0x16d)]();}),this[_0x44ff04(0xce)](),_0x5a7c84[_0x44ff04(0x188)]['on'](_0x44ff04(0xf7),(_0x115e48,_0x838e54)=>{const _0x60187b=_0x44ff04,_0x8c5844=_0x838e54[0x0];_0x8c5844[_0x60187b(0x101)]&&(this[_0x60187b(0x10e)](_0x8c5844),this[_0x60187b(0x114)]()&&this[_0x60187b(0xcd)]());}),this[_0x44ff04(0x16c)](),this[_0x44ff04(0x1a5)](_0x44ff04(0x192))['to'](_0x5081f9,_0x44ff04(0x10f),this,_0x44ff04(0x1a1),(_0xe9c6f4,_0x33518e)=>_0x44ff04(0xc7)===_0xe9c6f4&&!_0x33518e),this['on'](_0x44ff04(0x116),()=>{const _0x44dc88=_0x44ff04;this[_0x44dc88(0x192)]?_0x5a7c84[_0x44dc88(0x113)](_0x44dc88(0x12d)):_0x5a7c84[_0x44dc88(0x17a)](_0x44dc88(0x12d));}),this[_0x44ff04(0x192)]?_0x5a7c84[_0x44ff04(0x113)](_0x44ff04(0x12d)):_0x5a7c84[_0x44ff04(0x17a)](_0x44ff04(0x12d)),this[_0x44ff04(0x16f)](_0x44ff04(0x146),!0x1);}async[_0x3f20ce(0x135)](){const _0x44eee6=_0x3f20ce,_0x4cea5a=this[_0x44eee6(0xef)][_0x44eee6(0x1b8)][_0x44eee6(0xdd)](_0x581946),_0x58189f=this[_0x44eee6(0xef)][_0x44eee6(0x1b8)][_0x44eee6(0xdd)](_0x4bb3c7);try{this[_0x44eee6(0x11e)]=!0x0,_0x4cea5a[_0x44eee6(0x151)](this[_0x44eee6(0x1a9)]);const _0x3b4f81=await this[_0x44eee6(0x1c2)][_0x44eee6(0x135)](_0x58189f[_0x44eee6(0xcb)],this[_0x44eee6(0x13c)]);await this[_0x44eee6(0xdf)](_0x3b4f81)&&(this[_0x44eee6(0x11e)]=!0x1,this[_0x44eee6(0x119)]());const _0x23eda7=await this[_0x44eee6(0x1c2)][_0x44eee6(0x14f)]();_0x4cea5a[_0x44eee6(0xd1)](this[_0x44eee6(0x1a9)],_0x23eda7),this[_0x44eee6(0x187)](),this[_0x44eee6(0x146)]=!0x0;}catch(_0x35a188){if(function(_0x37f7fb){const _0x735d8d=_0x44eee6;return _0x735d8d(0x156)===_0x37f7fb[_0x735d8d(0xfc)];}(_0x35a188)&&this[_0x44eee6(0x11c)])await this[_0x44eee6(0x152)]();else{if(function(_0x123842){const _0x130329=_0x44eee6;return _0x130329(0x131)===_0x123842[_0x130329(0xfc)];}(_0x35a188)){const _0x191758=_0x1338b4(this[_0x44eee6(0xef)][_0x44eee6(0xc2)],_0x44eee6(0x17f));this[_0x44eee6(0x118)](_0x191758);}else{if(!(_0x35a188 instanceof $))throw _0x35a188;this[_0x44eee6(0x118)]();}}}}[_0x3f20ce(0xf0)](){const _0x2fbe55=_0x3f20ce,_0x2f1a5e=this[_0x2fbe55(0xef)][_0x2fbe55(0x1b8)][_0x2fbe55(0xdd)](_0x4bb3c7),_0x346594=this[_0x2fbe55(0xef)][_0x2fbe55(0x1b8)][_0x2fbe55(0xdd)](_0x581946);this[_0x2fbe55(0xef)][_0x2fbe55(0x17a)](_0x2fbe55(0x189)),_0x346594[_0x2fbe55(0x1b7)][_0x2fbe55(0x142)](this[_0x2fbe55(0x1a9)])&&_0x346594[_0x2fbe55(0x151)](this[_0x2fbe55(0x1a9)]),_0x2f1a5e[_0x2fbe55(0x117)](this),this[_0x2fbe55(0x13d)](),super[_0x2fbe55(0xf0)]();}async[_0x3f20ce(0xdf)](_0x28e384){const _0x1cf6c9=_0x3f20ce;if(this[_0x1cf6c9(0x11c)]!==_0x28e384[_0x1cf6c9(0x11c)]&&this[_0x1cf6c9(0x130)]!==_0x28e384[_0x1cf6c9(0x19d)])throw new $();return this[_0x1cf6c9(0x11c)]=_0x28e384[_0x1cf6c9(0x11c)],this[_0x1cf6c9(0x138)]([],{..._0x28e384,'wereChangesApplied':!0x1,'data':_0x28e384[_0x1cf6c9(0x15e)]},_0x1cf6c9(0x135));}async[_0x3f20ce(0x196)](_0x34c09e,_0x26eb61=!0x1){const _0x17f599=_0x3f20ce,{connection:_0x3f8991}=this[_0x17f599(0xef)][_0x17f599(0x1b8)][_0x17f599(0xdd)](_0x4bb3c7);RealTimeCollaborationClient[_0x17f599(0x139)][_0x17f599(0x14f)](_0x3f8991,this[_0x17f599(0x1a9)])[_0x17f599(0xf6)](_0x513e68=>this[_0x17f599(0xd5)](_0x513e68))[_0x17f599(0x1a0)](_0x529e59=>{const _0x2586da=_0x17f599;this[_0x2586da(0xed)](_0x2586da(0x10b),_0x529e59);}),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0x1ae),this[_0x17f599(0x191)][_0x17f599(0x1a5)](this)),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0x16a),(_0x449917,_0x4865c0)=>{const _0xb3bb85=_0x17f599;this[_0xb3bb85(0xed)](_0xb3bb85(0x1b0),_0x4865c0);}),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0xeb),()=>{const _0x4c04c0=_0x17f599;this[_0x4c04c0(0x146)]=!0x1;});const _0x5b4611=this[_0x17f599(0xe6)][_0x17f599(0xc3)](_0x34c09e);this[_0x17f599(0x11e)]=!0x0;const _0x37452b=await this[_0x17f599(0x1c2)][_0x17f599(0x143)](_0x3f8991,this[_0x17f599(0x179)](_0x34c09e),_0x5b4611);if(this[_0x17f599(0x11c)]=_0x37452b[_0x17f599(0x11c)],_0x26eb61){if(!_0x37452b[_0x17f599(0xfa)])return void this[_0x17f599(0x118)]();this[_0x17f599(0x11e)]=!0x1,this[_0x17f599(0x119)](),this[_0x17f599(0x108)][_0x17f599(0x169)](),this[_0x17f599(0xca)]=_0x37452b[_0x17f599(0xfd)],this[_0x17f599(0x108)][_0x17f599(0x121)]=this[_0x17f599(0xca)],await this[_0x17f599(0x138)](_0x34c09e,_0x37452b,_0x17f599(0x163));}else await this[_0x17f599(0x15d)](_0x37452b,_0x34c09e);this[_0x17f599(0x187)](),this[_0x17f599(0x146)]=!0x0;}[_0x3f20ce(0x187)](){const _0x25b082=_0x3f20ce,_0x55ff1a=this[_0x25b082(0xef)][_0x25b082(0x1b8)][_0x25b082(0xdd)](_0x581946),_0x350fc3=this[_0x25b082(0xef)][_0x25b082(0x1b8)][_0x25b082(0xdd)](_0x41c88b),_0x110de8=_0x55ff1a[_0x25b082(0x1b7)][_0x25b082(0xdd)](this[_0x25b082(0x1a9)]);_0x110de8&&_0x110de8[_0x25b082(0x13b)]>0x1?_0x350fc3[_0x25b082(0x17e)]():this[_0x25b082(0x1b6)](_0x55ff1a,_0x25b082(0x167)+this[_0x25b082(0x1a9)],()=>{const _0x23d6e0=_0x25b082;0x2===_0x55ff1a[_0x23d6e0(0x1b7)][_0x23d6e0(0xdd)](this[_0x23d6e0(0x1a9)])[_0x23d6e0(0x13b)]&&_0x350fc3[_0x23d6e0(0x17e)]();});}async[_0x3f20ce(0x191)](_0x4d4825,_0x5dd9d0,_0x6ef9c0,_0x939243){const _0x1612ce=_0x3f20ce;if(!this[_0x1612ce(0x11e)]&&this[_0x1612ce(0xd4)][_0x1612ce(0x121)]==_0x5dd9d0){const _0x5b41b0=this[_0x1612ce(0x12b)](_0x6ef9c0,_0x939243);await this[_0x1612ce(0xec)](_0x5b41b0),this[_0x1612ce(0x164)](_0x5b41b0,_0x5dd9d0,_0x6ef9c0[_0x1612ce(0x19d)])||this[_0x1612ce(0xed)](_0x1612ce(0x10d));}}async[_0x3f20ce(0x152)](){const _0x37bfb4=_0x3f20ce;this[_0x37bfb4(0x13d)]();const {locale:_0x7d3261}=this[_0x37bfb4(0xef)];let _0x21c167;try{_0x21c167=await this[_0x37bfb4(0x1c2)][_0x37bfb4(0x1a6)]();}catch{const _0x3ea97f=_0x1338b4(_0x7d3261,_0x37bfb4(0xe7));return void this[_0x37bfb4(0x118)](_0x3ea97f);}const _0xc484cc=_0x21c167[_0x37bfb4(0x1b1)]||_0x21c167[_0x37bfb4(0xd9)];if(this[_0x37bfb4(0x130)]!==_0xc484cc[_0x37bfb4(0x19d)]){const _0x4f3238=_0x1338b4(_0x7d3261,_0x37bfb4(0x178));return void this[_0x37bfb4(0x118)](_0x4f3238);}await this[_0x37bfb4(0x196)](this[_0x37bfb4(0xef)][_0x37bfb4(0x188)][_0x37bfb4(0x160)][_0x37bfb4(0x1b5)][_0x37bfb4(0xe3)](),!0x0);}[_0x3f20ce(0x13d)](){const _0x3fdc63=_0x3f20ce;this[_0x3fdc63(0x1c2)][_0x3fdc63(0x150)](),this[_0x3fdc63(0xbd)]=[],clearTimeout(this[_0x3fdc63(0x13a)]),this[_0x3fdc63(0x159)](this[_0x3fdc63(0x1c2)]);}[_0x3f20ce(0xd5)](_0x5e7eb1){const _0x32833b=_0x3f20ce,_0x58be87=this[_0x32833b(0xef)][_0x32833b(0x1b8)][_0x32833b(0xdd)](_0x581946);this[_0x32833b(0x1b6)](_0x58be87,_0x32833b(0x167)+this[_0x32833b(0x1a9)],(_0x176dd6,{session:_0x4a4a55})=>{const _0x51a340=_0x32833b;if(_0x4a4a55['id']===_0x58be87[_0x51a340(0x11a)]){_0x176dd6[_0x51a340(0x17d)]();const _0x4cda8c=this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0x142)](_0x51a340(0x1bd))&&this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0xdd)](_0x51a340(0x1bd));let _0x4b3377=_0x4a4a55[_0x51a340(0x149)];_0x4cda8c&&_0x4cda8c[_0x51a340(0xea)]&&(_0x4b3377=_0x4b3377[_0x51a340(0x12c)](_0x975785=>_0x51a340(0xc9)!==_0x975785)),this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0xdd)](_0x51a340(0xd8))[_0x51a340(0xee)](_0x4b3377,this[_0x51a340(0x1a9)]);}}),_0x58be87[_0x32833b(0xd1)](this[_0x32833b(0x1a9)],_0x5e7eb1);}[_0x3f20ce(0xce)](){const _0x55f2cd=_0x3f20ce,_0x17551b=this[_0x55f2cd(0xef)][_0x55f2cd(0x15e)][_0x55f2cd(0x16f)];this[_0x55f2cd(0xef)][_0x55f2cd(0x15e)][_0x55f2cd(0x16f)]=(..._0x3db0bd)=>{const _0x81432a=_0x55f2cd;if(!_0x3db0bd[_0x3db0bd[_0x81432a(0x13b)]-0x1][_0x81432a(0x1b2)])throw new _0x4e9e26(_0x81432a(0xd0),this);_0x17551b[_0x81432a(0x109)](this[_0x81432a(0xef)][_0x81432a(0x15e)],_0x3db0bd);};}[_0x3f20ce(0x16c)](){const _0x8e4ef1=_0x3f20ce;this[_0x8e4ef1(0xef)][_0x8e4ef1(0x15e)]['on'](_0x8e4ef1(0xe2),(_0x5ebbeb,[_0x46a943])=>{const _0x2877bc=_0x8e4ef1;if(this[_0x2877bc(0xd4)][_0x2877bc(0x121)])throw new _0x4e9e26(_0x2877bc(0x126),this);_0x5ebbeb[_0x2877bc(0x168)](),this[_0x2877bc(0x1ab)]();const _0x4bc84d=this[_0x2877bc(0xef)][_0x2877bc(0x1ac)][_0x2877bc(0xdd)](_0x2877bc(0xf2)),_0x54fa05=this[_0x2877bc(0x140)](_0x46a943,_0x4bc84d);0x0==_0x54fa05[_0x2877bc(0x13b)]&&_0x54fa05[_0x2877bc(0xbc)](new _0x13d4a6(0x0)),_0x5ebbeb[_0x2877bc(0x11f)]=this[_0x2877bc(0x196)](_0x54fa05)[_0x2877bc(0xf6)](()=>{const _0x2aa82c=_0x2877bc;this[_0x2aa82c(0xef)][_0x2aa82c(0x1b8)][_0x2aa82c(0xdd)](_0x4bb3c7)[_0x2aa82c(0xe8)](this),this[_0x2aa82c(0xef)][_0x2aa82c(0x15e)][_0x2aa82c(0xd7)](_0x2aa82c(0x16b));})[_0x2877bc(0x1a0)](_0x3f06a4=>this[_0x2877bc(0xed)](_0x2877bc(0x103),_0x3f06a4))[_0x2877bc(0x153)](()=>this[_0x2877bc(0x119)]());},{'priority':_0x8e4ef1(0x161)}),this[_0x8e4ef1(0xef)]['on'](_0x8e4ef1(0x1aa),async(_0x437a38,[_0x55c09b,_0x2877ae])=>{const _0x270878=_0x8e4ef1;_0x437a38[_0x270878(0x168)]();const _0x2f9919=this[_0x270878(0xef)][_0x270878(0x188)][_0x270878(0x160)][_0x270878(0x147)](_0x55c09b);if(!this[_0x270878(0x18c)][_0x270878(0x142)](_0x55c09b)){const _0xd5b9a9=_0x2877ae&&_0x2877ae[_0x270878(0x15e)]?_0x2877ae[_0x270878(0x15e)]:'',_0x3a6d05=_0x2877ae&&_0x2877ae[_0x270878(0x18f)]?_0x2877ae[_0x270878(0x18f)]:{};await this[_0x270878(0x10c)](_0x55c09b,_0xd5b9a9,_0x3a6d05);}this[_0x270878(0xef)][_0x270878(0x188)][_0x270878(0x123)]({'isUndoable':!0x1},()=>{const _0x2a6fdd=_0x270878;_0x2f9919[_0x2a6fdd(0x18e)]=!0x0,this[_0x2a6fdd(0xef)][_0x2a6fdd(0x188)][_0x2a6fdd(0x160)][_0x2a6fdd(0x177)][_0x2a6fdd(0x141)](_0x2f9919);});},{'priority':_0x8e4ef1(0x161)});}async[_0x3f20ce(0xec)](_0xfcc13d){const _0x116b0b=_0x3f20ce,_0x394257=this[_0x116b0b(0xef)][_0x116b0b(0x1b8)][_0x116b0b(0xdd)](_0x1281e4),{connection:_0x525128}=this[_0x116b0b(0xef)][_0x116b0b(0x1b8)][_0x116b0b(0xdd)](_0x4bb3c7),_0x8ae2b3=new Set();for(const _0x37adac of _0xfcc13d){const _0x1f1669=_0x37adac[_0x116b0b(0x102)];_0x1f1669&&!_0x394257[_0x116b0b(0xde)](_0x1f1669)&&_0x8ae2b3[_0x116b0b(0xd3)](_0x1f1669);}if(0x0===_0x8ae2b3[_0x116b0b(0x110)])return;const _0x1785b0=await _0x57115b[_0x116b0b(0x100)](_0x525128,Array[_0x116b0b(0x137)](_0x8ae2b3));for(const _0x3771d3 of _0x1785b0)_0x394257[_0x116b0b(0xde)](_0x3771d3['id'])||_0x394257[_0x116b0b(0x180)](_0x3771d3);}[_0x3f20ce(0x140)](_0x1abff7,_0x3448cc={}){const _0xd55fcc=_0x3f20ce,_0x1c093f=this[_0xd55fcc(0xef)][_0xd55fcc(0x188)],_0x266820=[];let _0x1aa40a=0x0;const _0x1a40ae=_0xd55fcc(0xf4)==typeof _0x1abff7?{'main':_0x1abff7}:_0x1abff7;for(const _0x54d865 of Object[_0xd55fcc(0x15f)](_0x1a40ae)){if(!this[_0xd55fcc(0xd4)][_0xd55fcc(0xe1)][_0xd55fcc(0x142)](_0x54d865))throw new _0x4e9e26(_0xd55fcc(0x1a4),this);const _0x200818=this[_0xd55fcc(0xef)][_0xd55fcc(0x15e)][_0xd55fcc(0xf1)](_0x1a40ae[_0x54d865]),_0x117b24=this[_0xd55fcc(0xd4)][_0xd55fcc(0x147)](_0x54d865),_0x19e900=new _0xa9eeb7(_0x1c093f[_0xd55fcc(0x1b3)](_0x117b24,0x0),_0x200818,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x19e900);for(const [_0x283dec,_0x3f07af]of _0x200818[_0xd55fcc(0x170)]){const _0xabd7af=_0x1c093f[_0xd55fcc(0x145)](_0x1c093f[_0xd55fcc(0x198)](_0x117b24,_0x3f07af[_0xd55fcc(0xf9)][_0xd55fcc(0x16e)][_0xd55fcc(0x18d)]()),_0x1c093f[_0xd55fcc(0x198)](_0x117b24,_0x3f07af[_0xd55fcc(0x175)][_0xd55fcc(0x16e)][_0xd55fcc(0x18d)]())),_0x5760bf=new _0x23ac2e(_0x283dec,null,_0xabd7af,_0x1c093f[_0xd55fcc(0x170)],!0x0,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x5760bf);}}if(_0x3448cc)for(const [_0x15c61e,_0x35a5ea]of Object[_0xd55fcc(0x112)](_0x3448cc)){const _0x459ef5=_0x1c093f[_0xd55fcc(0x160)][_0xd55fcc(0x147)](_0x15c61e);if(!_0x459ef5)throw new _0x4e9e26(_0xd55fcc(0x165),null);for(const [_0x548614,_0x14584f]of Object[_0xd55fcc(0x112)](_0x35a5ea))if(null!==_0x14584f){const _0x450c39=new _0x104001(_0x459ef5,_0x548614,null,_0x14584f,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x450c39);}}return _0x266820;}async[_0x3f20ce(0x10c)](_0x36c888,_0xaa195,_0x16142d){const _0x14612c=_0x3f20ce;this[_0x14612c(0x140)]({[_0x36c888]:_0xaa195},{[_0x36c888]:_0x16142d})[_0x14612c(0xc6)]((_0x2fde74,_0x531754)=>{const _0x24e168=_0x14612c;_0x2fde74[_0x24e168(0x158)]=this[_0x24e168(0xd4)][_0x24e168(0x121)]+_0x531754,_0x2fde74[_0x24e168(0xf8)]=!0x0,this[_0x24e168(0x10e)](_0x2fde74);}),this[_0x14612c(0xcd)](),await this[_0x14612c(0x122)]();}async[_0x3f20ce(0x15d)](_0x279fd9,_0x5ac96d){const _0x53753c=_0x3f20ce;let _0x4341f4;this[_0x53753c(0xca)]=_0x279fd9[_0x53753c(0xfd)];const _0x13c428=_0x279fd9[_0x53753c(0xfa)]&&!_0x279fd9[_0x53753c(0x15b)],_0x2c21a6=_0x13c428?0x0:_0x279fd9[_0x53753c(0x15e)][_0x53753c(0x158)];if(_0x5ac96d[_0x53753c(0xc6)](_0x4917c4=>{const _0x24f03f=_0x53753c;_0x4917c4[_0x24f03f(0xf8)]=!0x0,_0x4917c4[_0x24f03f(0x1b9)]=_0x279fd9[_0x24f03f(0xcf)],_0x4917c4[_0x24f03f(0x102)]=null;}),_0x13c428)_0x4341f4=_0x5ac96d,this[_0x53753c(0x1bc)](_0x4341f4,_0x13c428);else{if(_0x279fd9[_0x53753c(0x15b)]){const _0x1e6ccc=this[_0x53753c(0x140)](_0x279fd9[_0x53753c(0x15b)]);this[_0x53753c(0xd4)][_0x53753c(0x1b5)][_0x53753c(0x121)]=-_0x1e6ccc[_0x53753c(0x13b)],_0x1e6ccc[_0x53753c(0xc6)](_0x477a49=>{const _0x3a09d4=_0x53753c;_0x477a49[_0x3a09d4(0x158)]-=_0x1e6ccc[_0x3a09d4(0x13b)],_0x477a49[_0x3a09d4(0x1b9)]=_0x279fd9[_0x3a09d4(0xcf)],_0x477a49[_0x3a09d4(0xf8)]=!0x0,_0x477a49[_0x3a09d4(0x102)]=null;}),this[_0x53753c(0x1bc)](_0x1e6ccc,!0x0),this[_0x53753c(0x108)][_0x53753c(0x121)]=-_0x1e6ccc[_0x53753c(0x13b)]+this[_0x53753c(0xca)],this[_0x53753c(0x12a)](_0x1e6ccc);}this[_0x53753c(0xd4)][_0x53753c(0x1b5)][_0x53753c(0x121)]=_0x2c21a6,_0x4341f4=this[_0x53753c(0x12b)](_0x279fd9[_0x53753c(0x15e)],_0x279fd9[_0x53753c(0x14d)]),await this[_0x53753c(0xec)](_0x4341f4),this[_0x53753c(0x1bc)](_0x4341f4,_0x13c428);}_0x279fd9[_0x53753c(0x19d)]&&(this[_0x53753c(0xe6)][_0x53753c(0x14c)](_0x4341f4,_0x279fd9[_0x53753c(0x19d)]),this[_0x53753c(0x130)]=_0x279fd9[_0x53753c(0x19d)]),this[_0x53753c(0x108)][_0x53753c(0x121)]=_0x2c21a6+this[_0x53753c(0xca)],this[_0x53753c(0x12a)](_0x4341f4),_0x5ac96d[_0x53753c(0x12c)](_0x5470f6=>{const _0x1d4854=_0x53753c,_0x368e75=this[_0x1d4854(0x18b)](_0x5470f6);return _0x368e75&&!this[_0x1d4854(0x18c)][_0x1d4854(0x142)](_0x368e75);})[_0x53753c(0xc6)]((_0x104165,_0x3aeaa8)=>{const _0x4b7398=_0x53753c;_0x104165[_0x4b7398(0x158)]=this[_0x4b7398(0xd4)][_0x4b7398(0x121)]+_0x3aeaa8,this[_0x4b7398(0x10e)](_0x104165);}),this[_0x53753c(0x114)]()?(this[_0x53753c(0xbf)]=0x0,this[_0x53753c(0xcd)](!0x0),await this[_0x53753c(0x122)]()):(this[_0x53753c(0x11e)]=!0x1,this[_0x53753c(0x119)]());}[_0x3f20ce(0xed)](_0x891748,_0x5707ee){const _0x227662=_0x3f20ce,_0x14a1e4=_0x5707ee&&_0x5707ee[_0x227662(0xdc)];if(_0x14a1e4&&_0x14a1e4[_0x227662(0x19c)](_0x227662(0x190)))throw _0x5707ee;const _0x474e3d=this[_0x227662(0xef)][_0x227662(0x1b8)][_0x227662(0xdd)](_0x4bb3c7);throw this[_0x227662(0x11e)]=!0x0,_0x474e3d[_0x227662(0x150)](),this[_0x227662(0xef)][_0x227662(0x17a)](_0x227662(0xda)),new _0x4e9e26(_0x891748,this[_0x227662(0xef)],_0x14a1e4?{'originalError':_0x14a1e4}:void 0x0);}[_0x3f20ce(0x10e)](_0x3e26e0){const _0x18935d=_0x3f20ce;this[_0x18935d(0x155)][_0x18935d(0x142)](_0x3e26e0)||(this[_0x18935d(0x155)][_0x18935d(0xd3)](_0x3e26e0),this[_0x18935d(0xbd)][_0x18935d(0xbc)](_0x3e26e0),this[_0x18935d(0xfb)]||_0x18935d(0xe0)==_0x3e26e0[_0x18935d(0x132)]&&!_0x3e26e0[_0x18935d(0x171)]||this[_0x18935d(0x1ab)]());}[_0x3f20ce(0xcd)](_0x1b03dc=!0x1){const _0x3fd25a=_0x3f20ce;!_0x1b03dc&&this[_0x3fd25a(0x11e)]||(this[_0x3fd25a(0x11e)]=!0x0,clearTimeout(this[_0x3fd25a(0x13a)]),this[_0x3fd25a(0x13a)]=setTimeout(()=>{const _0x49cedf=_0x3fd25a;this[_0x49cedf(0x1bf)]()[_0x49cedf(0xf6)](_0x46afd7=>{const _0x1f3cc3=_0x49cedf;_0x46afd7&&(this[_0x1f3cc3(0x119)](),this[_0x1f3cc3(0x11e)]=!0x1);})[_0x49cedf(0x1a0)](_0x9fea3e=>{const _0x3726b1=_0x49cedf;this[_0x3726b1(0x119)](),this[_0x3726b1(0x11e)]=!0x1,function(_0x3cfc5e){const _0x18257b=_0x3726b1;return _0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0xf5))||_0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0x199))||_0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0x1b4));}(_0x9fea3e)||this[_0x3726b1(0xed)](_0x9fea3e[_0x3726b1(0xdc)],_0x9fea3e);});},this[_0x3fd25a(0xbf)]));}[_0x3f20ce(0x122)](){return new Promise(_0x31b932=>{const _0x5e5c35=_0x2fd8;this['on'](_0x5e5c35(0x184),()=>{_0x31b932();});});}async[_0x3f20ce(0x1bf)](){const _0x24d141=_0x3f20ce,_0x29a2cb=this[_0x24d141(0xef)][_0x24d141(0x1b8)][_0x24d141(0xdd)](_0x41c88b);if(this[_0x24d141(0x176)]()&&(_0x29a2cb[_0x24d141(0x17e)](),this[_0x24d141(0x172)]=!0x1),!this[_0x24d141(0x114)]())return!0x0;const _0x32e165=[...this[_0x24d141(0xbd)]];for(const _0x26ab49 of _0x32e165)_0x26ab49[_0x24d141(0x181)]=this[_0x24d141(0xd4)][_0x24d141(0x1b5)][_0x24d141(0x136)](_0x26ab49);const _0x1ae56d=this[_0x24d141(0xe6)][_0x24d141(0xc3)](_0x32e165),_0x485a09=G++,_0x479dc0=this[_0x24d141(0x179)](_0x32e165),_0x129710=await this[_0x24d141(0x1c2)][_0x24d141(0x174)](_0x479dc0,_0x479dc0[_0x24d141(0x158)],_0x1ae56d);try{return await this[_0x24d141(0x138)](_0x32e165,_0x129710,_0x485a09);}catch(_0x1518d7){return this[_0x24d141(0xed)](_0x24d141(0x1c1),_0x1518d7);}}async[_0x3f20ce(0x138)](_0xb022cc,_0x1e7bc9,_0x1a613c){const _0x3c4835=_0x3f20ce;if(_0x3c4835(0x16a)in _0x1e7bc9)throw _0x1e7bc9[_0x3c4835(0x16a)];let _0x3a1c34=!0x1;if(_0x1e7bc9[_0x3c4835(0xfa)]){_0x1e7bc9[_0x3c4835(0x19d)]&&(this[_0x3c4835(0x130)]=_0x1e7bc9[_0x3c4835(0x19d)]),this[_0x3c4835(0xbd)]=this[_0x3c4835(0xbd)][_0x3c4835(0x12c)](_0x4965ac=>!_0xb022cc[_0x3c4835(0x1ba)](_0x4965ac));for(const _0x93b349 of _0xb022cc)_0x93b349[_0x3c4835(0x1b9)]=_0x3c4835(0x148)in _0x1e7bc9&&_0x1e7bc9[_0x3c4835(0x148)]||void 0x0;K(_0xb022cc,_0x1e7bc9[_0x3c4835(0x121)]-_0xb022cc[_0x3c4835(0x13b)]),this[_0x3c4835(0x12a)](_0xb022cc);const _0xbb6864=_0xb022cc[_0x3c4835(0x12c)](_0x1af319=>{const _0x4e5b06=_0x3c4835;if(!_0x1af319[_0x4e5b06(0xf8)])return!0x1;const _0x33df07=this[_0x4e5b06(0x18b)](_0x1af319);return _0x33df07&&!this[_0x4e5b06(0x18c)][_0x4e5b06(0x142)](_0x33df07);});K(_0xbb6864,this[_0x3c4835(0xd4)][_0x3c4835(0x121)]),this[_0x3c4835(0x1bc)](_0xbb6864),_0x3a1c34=!0x0,this[_0x3c4835(0xbf)]=this[_0x3c4835(0x162)];}else{const _0x4e55fb=this[_0x3c4835(0x12b)](_0x1e7bc9[_0x3c4835(0x15e)],_0x1e7bc9[_0x3c4835(0x14d)])[_0x3c4835(0x12c)](_0x224142=>_0x224142[_0x3c4835(0x158)]>=this[_0x3c4835(0x18a)]);_0x4e55fb[_0x3c4835(0xc6)](_0x32001e=>this[_0x3c4835(0xcc)](_0x32001e)),this[_0x3c4835(0xbd)]=this[_0x3c4835(0xbd)][_0x3c4835(0x12c)](_0x5879a3=>!_0x5879a3[_0x3c4835(0xf8)]||!this[_0x3c4835(0x18c)][_0x3c4835(0x142)](this[_0x3c4835(0x18b)](_0x5879a3))),this[_0x3c4835(0xbd)][_0x3c4835(0x13b)]&&K(this[_0x3c4835(0xbd)],this[_0x3c4835(0xbd)][0x0][_0x3c4835(0x158)]),await this[_0x3c4835(0xec)](_0x4e55fb),_0x3a1c34=this[_0x3c4835(0x164)](_0x4e55fb,_0x1e7bc9[_0x3c4835(0x121)],_0x1e7bc9[_0x3c4835(0x19d)]),this[_0x3c4835(0xbf)]=Math[_0x3c4835(0x19e)](this[_0x3c4835(0xbf)]/0x2);}return _0x3a1c34?!this[_0x3c4835(0x114)]()||(this[_0x3c4835(0xcd)](!0x0),!0x1):this[_0x3c4835(0xed)](_0x3c4835(0xe9));}[_0x3f20ce(0x164)](_0x2e0066,_0x328a04,_0x3f78de){const _0x342f40=_0x3f20ce;try{const _0x85a931={'document':this[_0x342f40(0xd4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c695d,operationsB:_0x5a1b3b,originalOperations:_0x29671e}=_0x5b3a29(_0x2e0066,this[_0x342f40(0xbd)],_0x85a931);K(_0x1c695d,this[_0x342f40(0xd4)][_0x342f40(0x121)]),K(_0x5a1b3b,_0x328a04);for(const _0x433463 of _0x1c695d){const _0x4b5280=_0x29671e[_0x342f40(0xdd)](_0x433463);_0x433463[_0x342f40(0x102)]=_0x4b5280?_0x4b5280[_0x342f40(0x102)]:null;}_0x3f78de&&(this[_0x342f40(0xe6)][_0x342f40(0x14c)](_0x2e0066,_0x3f78de),this[_0x342f40(0x130)]=_0x3f78de),this[_0x342f40(0xbd)]=[..._0x5a1b3b],this[_0x342f40(0x1bc)](_0x1c695d),this[_0x342f40(0x12a)](_0x2e0066);}catch(_0x48e21c){return console[_0x342f40(0x16a)](_0x48e21c),!0x1;}return!0x0;}[_0x3f20ce(0x1bc)](_0xba34b1,_0x8a723d=!0x1){const _0x227fe1=_0x3f20ce;this[_0x227fe1(0xef)][_0x227fe1(0x188)][_0x227fe1(0x123)]({'isUndoable':!0x1,'isLocal':!0x1},_0x39f658=>{const _0x42d654=_0x227fe1;for(const _0x5143dc of _0xba34b1)this[_0x42d654(0x155)][_0x42d654(0xd3)](_0x5143dc),this[_0x42d654(0xcc)](_0x5143dc),_0x39f658[_0x42d654(0x195)][_0x42d654(0x1a2)](_0x5143dc),this[_0x42d654(0xef)][_0x42d654(0x188)][_0x42d654(0xf7)](_0x5143dc);});}[_0x3f20ce(0xcc)](_0x16668b){const _0x575540=_0x3f20ce,_0x168463=this[_0x575540(0x18b)](_0x16668b);_0x168463&&this[_0x575540(0x18c)][_0x575540(0xd3)](_0x168463);}[_0x3f20ce(0x18b)](_0x513997){const _0x5725e6=_0x3f20ce;let _0x120628,_0x4db2cf;switch(_0x513997[_0x5725e6(0x132)]){case _0x5725e6(0x19b):_0x120628=_0x513997[_0x5725e6(0x12f)][_0x5725e6(0x19a)];break;case _0x5725e6(0xe0):if(_0x4db2cf=_0x513997[_0x5725e6(0xff)],!_0x4db2cf)return null;_0x120628=_0x4db2cf[_0x5725e6(0x19a)];break;case _0x5725e6(0x17c):_0x120628=_0x513997[_0x5725e6(0x19a)];break;case _0x5725e6(0x10a):_0x120628=_0x513997[_0x5725e6(0x12e)];break;case _0x5725e6(0xe4):_0x120628=_0x513997[_0x5725e6(0x1ad)][_0x5725e6(0x19a)];break;default:return null;}return _0x120628[_0x5725e6(0x1c0)];}[_0x3f20ce(0x12a)](_0xdf05f5){const _0x2fab9d=_0x3f20ce;_0xdf05f5[_0x2fab9d(0xc6)](_0x17e66d=>{const _0x3ce55a=_0x2fab9d,_0x50435b=_0x17e66d[_0x3ce55a(0x19f)]();_0x50435b[_0x3ce55a(0x102)]=_0x17e66d[_0x3ce55a(0x102)],_0x50435b[_0x3ce55a(0xf8)]=!!_0x17e66d[_0x3ce55a(0xf8)],_0x50435b[_0x3ce55a(0x1b9)]=_0x17e66d[_0x3ce55a(0x1b9)],_0x50435b[_0x3ce55a(0x158)]+=this[_0x3ce55a(0xca)],_0x17e66d[_0x3ce55a(0x157)]&&this[_0x3ce55a(0x104)][_0x3ce55a(0xd3)](_0x50435b),this[_0x3ce55a(0x108)][_0x3ce55a(0x1a2)](_0x50435b);});}[_0x3f20ce(0x118)](_0x26093a){const _0x31874f=_0x3f20ce,_0x399956=this[_0x31874f(0xef)][_0x31874f(0x1b8)][_0x31874f(0xdd)](_0x31874f(0x1af)),_0x1e6caf=this[_0x31874f(0xef)][_0x31874f(0xc2)];_0x26093a||(_0x26093a=_0x1338b4(_0x1e6caf,_0x31874f(0x107))),_0x399956[_0x31874f(0x13f)](_0x26093a,{'title':_0x1338b4(_0x1e6caf,_0x31874f(0xc0)),'namespace':_0x31874f(0x1bb)}),this[_0x31874f(0x1a1)]=!0x0,clearTimeout(this[_0x31874f(0x13a)]),this[_0x31874f(0xbd)]=[],this[_0x31874f(0xef)][_0x31874f(0x1b8)][_0x31874f(0xdd)](_0x4bb3c7)[_0x31874f(0x150)]();}[_0x3f20ce(0x1ab)](){const _0x15cd64=_0x3f20ce;this[_0x15cd64(0xfb)]||(this[_0x15cd64(0xfb)]=this[_0x15cd64(0xef)][_0x15cd64(0x1b8)][_0x15cd64(0xdd)](_0x26c835)[_0x15cd64(0xd3)](_0x1338b4(this[_0x15cd64(0xef)][_0x15cd64(0xc2)],_0x15cd64(0x14a))));}[_0x3f20ce(0x119)](){const _0x14567d=_0x3f20ce;this[_0x14567d(0xfb)]&&(this[_0x14567d(0xef)][_0x14567d(0x1b8)][_0x14567d(0xdd)](_0x26c835)[_0x14567d(0xc8)](this[_0x14567d(0xfb)]),this[_0x14567d(0xfb)]=null);}[_0x3f20ce(0x179)](_0x5ddbb4){const _0x36cdc6=_0x3f20ce,_0x509f04=_0x5ddbb4[_0x36cdc6(0x134)](_0x2a1a8b=>_0x2a1a8b[_0x36cdc6(0x124)]());return this[_0x36cdc6(0x133)][_0x36cdc6(0xc1)](_0x509f04);}[_0x3f20ce(0x12b)](_0x244dff,_0x3e16b1){const _0x186363=_0x3f20ce;return this[_0x186363(0x133)][_0x186363(0xd6)](_0x244dff)[_0x186363(0x134)]((_0x1fee35,_0x5b893b)=>{const _0x46333c=_0x186363,_0x3a08e1=_0x46333c(0xe2)==_0x3e16b1[_0x5b893b][_0x46333c(0x132)];if(_0x46333c(0x11d)==_0x1fee35[_0x46333c(0xdb)]){const _0x4ccf20=_0x1fee35[_0x46333c(0x12f)][_0x46333c(0x19a)];!this[_0x46333c(0xd4)][_0x46333c(0x147)](_0x4ccf20)&&(this[_0x46333c(0xd4)][_0x46333c(0x1a7)](_0x46333c(0x128),_0x4ccf20)[_0x46333c(0x1a3)]=!0x1);}const _0x12428a=_0x25d0ed[_0x46333c(0x1a8)](_0x1fee35,this[_0x46333c(0xd4)]);return _0x12428a[_0x46333c(0x181)]=_0x1fee35[_0x46333c(0x181)],_0x12428a[_0x46333c(0xf8)]=_0x3a08e1,_0x12428a[_0x46333c(0x102)]=_0x3a08e1?null:_0x3e16b1[_0x5b893b][_0x46333c(0x183)],_0x12428a[_0x46333c(0x157)]=_0x46333c(0x144)===_0x3e16b1[_0x5b893b][_0x46333c(0x132)],_0x12428a[_0x46333c(0x1b9)]=_0x3e16b1[_0x5b893b][_0x46333c(0x1b9)],_0x12428a;});}[_0x3f20ce(0x16d)](){const _0x309e37=_0x3f20ce;this[_0x309e37(0x172)]=!0x0,this[_0x309e37(0x176)]()?this[_0x309e37(0xcd)]():this[_0x309e37(0x172)]=!0x1;}[_0x3f20ce(0x176)](){const _0x24a41f=_0x3f20ce,_0x14fca6=this[_0x24a41f(0xef)][_0x24a41f(0x1b8)][_0x24a41f(0xdd)](_0x581946)[_0x24a41f(0x1b7)][_0x24a41f(0xdd)](this[_0x24a41f(0x1a9)]);return!this[_0x24a41f(0xef)][_0x24a41f(0xd2)]&&!!_0x14fca6&&_0x14fca6[_0x24a41f(0x13b)]>0x1&&this[_0x24a41f(0x172)];}[_0x3f20ce(0x114)](){const _0x24b39f=_0x3f20ce;return this[_0x24b39f(0xbd)][_0x24b39f(0x13b)]>0x0||this[_0x24b39f(0x176)]();}}class $ extends Error{}function K(_0x1e96a7,_0x35c6cd){const _0x372288=_0x3f20ce;for(const _0x117339 of _0x1e96a7)_0x117339[_0x372288(0x158)]=_0x35c6cd++;}class J{[_0x3f20ce(0x129)];[_0x3f20ce(0x15a)];constructor(_0x121b75){const _0x59bd59=_0x3f20ce;this[_0x59bd59(0x129)]=_0x121b75,this[_0x59bd59(0x15a)]=new WeakMap();}[_0x3f20ce(0xc3)](_0x4a7f74){const _0x49abfa=_0x3f20ce;let _0x23cd6d=_0x4a7f74[_0x49abfa(0x13b)];for(;_0x23cd6d--;){const _0x496d2b=_0x4a7f74[_0x23cd6d];if(!this[_0x49abfa(0x129)][_0x49abfa(0x142)](_0x496d2b)){if(!this[_0x49abfa(0x15a)][_0x49abfa(0x142)](_0x496d2b)){const _0x1e166=_0xa2d85d()[_0x49abfa(0x18d)](0x1,0x12);this[_0x49abfa(0x15a)][_0x49abfa(0x16f)](_0x496d2b,_0x1e166);}return this[_0x49abfa(0x15a)][_0x49abfa(0xdd)](_0x496d2b);}}}[_0x3f20ce(0x14c)](_0x1f48ed,_0x58b0d8){const _0x2b01c0=_0x3f20ce;if(!_0x58b0d8)return;let _0x10186f=_0x1f48ed[_0x2b01c0(0x13b)];for(;_0x10186f--;){const _0x4fc176=_0x1f48ed[_0x10186f];this[_0x2b01c0(0x129)][_0x2b01c0(0x142)](_0x4fc176)||this[_0x2b01c0(0x15a)][_0x2b01c0(0x16f)](_0x4fc176,_0x58b0d8);}}}
|
|
23
|
+
function _0xc8cb(_0x1ec0dc,_0x171656){const _0x3e9053=_0x3e90();return _0xc8cb=function(_0xc8cb74,_0x10e33d){_0xc8cb74=_0xc8cb74-0x188;let _0x454d54=_0x3e9053[_0xc8cb74];return _0x454d54;},_0xc8cb(_0x1ec0dc,_0x171656);}const _0x4f492b=_0xc8cb;(function(_0x129539,_0x3a665c){const _0x3893c1=_0xc8cb,_0x4536f5=_0x129539();while(!![]){try{const _0x17779f=-parseInt(_0x3893c1(0x284))/0x1+parseInt(_0x3893c1(0x218))/0x2*(-parseInt(_0x3893c1(0x21d))/0x3)+parseInt(_0x3893c1(0x1cd))/0x4+-parseInt(_0x3893c1(0x219))/0x5*(-parseInt(_0x3893c1(0x1f6))/0x6)+parseInt(_0x3893c1(0x28c))/0x7+-parseInt(_0x3893c1(0x1a7))/0x8+parseInt(_0x3893c1(0x1e4))/0x9;if(_0x17779f===_0x3a665c)break;else _0x4536f5['push'](_0x4536f5['shift']());}catch(_0x716e28){_0x4536f5['push'](_0x4536f5['shift']());}}}(_0x3e90,0x7f002));import{Plugin as _0x562497,PendingActions as _0x1337dd}from'ckeditor5/src/core.js';import{CKEditorError as _0x1091d2,version as _0xccf417,uid as _0x244c95}from'ckeditor5/src/utils.js';import{Notification as _0x271aff}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xdcce9a,NoOperation as _0x1ded9f,InsertOperation as _0x3b2724,MarkerOperation as _0x1aae9c,RootAttributeOperation as _0x5dfeeb,OperationFactory as _0x491e8f,History as _0x1f2242}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1022d2}from'./websocketgateway.js';import{Sessions as _0x409c07}from'./sessions.js';import{UserMarkers as _0x4cd1fe}from'./usermarkers.js';import{getTranslation as _0x8372f5}from'../common-translations.js';import{Compressor as _0x52aee0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x28de5a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x302cfb,CollaborativeEditingService as _0x439385}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x562497{static [_0x4f492b(0x1db)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x439385)());[_0x4f492b(0x242)];[_0x4f492b(0x1a6)];[_0x4f492b(0x202)];[_0x4f492b(0x259)];[_0x4f492b(0x193)];[_0x4f492b(0x1dd)];[_0x4f492b(0x20b)];[_0x4f492b(0x24c)];[_0x4f492b(0x25f)];[_0x4f492b(0x263)];[_0x4f492b(0x24d)];[_0x4f492b(0x227)];[_0x4f492b(0x252)];[_0x4f492b(0x249)];[_0x4f492b(0x1a8)];[_0x4f492b(0x1af)];[_0x4f492b(0x222)];[_0x4f492b(0x1bf)];static get[_0x4f492b(0x22b)](){return[_0x1022d2,_0x409c07,_0x4cd1fe,_0x1337dd,_0x28de5a,_0x271aff];}static get[_0x4f492b(0x18b)](){const _0x4ffffb=_0x4f492b;return _0x4ffffb(0x24a);}static get[_0x4f492b(0x1d2)](){return!0x0;}static get[_0x4f492b(0x1b2)](){return!0x0;}get[_0x4f492b(0x243)](){const _0x408473=_0x4f492b;return this[_0x408473(0x194)]+this[_0x408473(0x242)];}get[_0x4f492b(0x194)](){const _0x49b54c=_0x4f492b;return this[_0x49b54c(0x202)][_0x49b54c(0x203)]-this[_0x49b54c(0x242)];}get[_0x4f492b(0x1bc)](){const _0x285124=_0x4f492b,_0x4a348c=this[_0x285124(0x202)][_0x285124(0x23a)]();for(let _0x429d2d=_0x4a348c[_0x285124(0x234)]-0x1;_0x429d2d>=0x0;_0x429d2d--){const _0x53ab79=_0x4a348c[_0x429d2d];if(!this[_0x285124(0x222)][_0x285124(0x245)](_0x53ab79))return _0x53ab79[_0x285124(0x1c6)]+0x1-this[_0x285124(0x242)];}return 0x0;}constructor(_0x4253b4){const _0x4da259=_0x4f492b;if(super(_0x4253b4),this[_0x4da259(0x242)]=0x0,this[_0x4da259(0x1a6)]=null,this[_0x4da259(0x202)]=new _0x1f2242(),this[_0x4da259(0x26b)][_0x4da259(0x1f0)][_0x4da259(0x1fe)](_0x4da259(0x189),{}),this[_0x4da259(0x259)]=this[_0x4da259(0x26b)][_0x4da259(0x1f0)][_0x4da259(0x1ce)](_0x4da259(0x253)),!this[_0x4da259(0x259)])throw new _0x1091d2(_0x4da259(0x1bb),this);const _0x229db4=_0x4253b4[_0x4da259(0x1f0)][_0x4da259(0x1ce)](_0x4da259(0x198))||_0xccf417;this[_0x4da259(0x193)]=new RealTimeCollaborationClient[(_0x4da259(0x1db))](_0x229db4,this[_0x4da259(0x259)]),this[_0x4da259(0x1dd)]=this[_0x4da259(0x26b)][_0x4da259(0x1c4)][_0x4da259(0x207)],this[_0x4da259(0x20b)]=new _0x52aee0(),this[_0x4da259(0x24c)]=[],this[_0x4da259(0x25f)]=new WeakSet(),this[_0x4da259(0x263)]=new Set(),this[_0x4da259(0x1d4)](_0x4da259(0x26c),!0x1),this[_0x4da259(0x1d4)](_0x4da259(0x26e),!0x1),this[_0x4da259(0x24d)]=null,this[_0x4da259(0x227)]=!0x1,this[_0x4da259(0x252)]=null,this[_0x4da259(0x249)]=0x12c,this[_0x4da259(0x1a8)]=this[_0x4da259(0x249)],this[_0x4da259(0x1af)]=null,this[_0x4da259(0x222)]=new WeakSet(),this[_0x4da259(0x1bf)]=new J(this[_0x4da259(0x222)]);}[_0x4f492b(0x204)](){const _0x262f4a=_0x4f492b,_0x2c9c93=this[_0x262f4a(0x26b)],_0x10b4dd=_0x2c9c93[_0x262f4a(0x1b8)][_0x262f4a(0x1ce)](_0x28de5a),_0x184a46=_0x2c9c93[_0x262f4a(0x1b8)][_0x262f4a(0x1ce)](_0x1022d2);this[_0x262f4a(0x26d)](_0x10b4dd,_0x262f4a(0x1ca),(_0x51afa,_0x219ea4)=>{const _0x235cb5=_0x262f4a,_0x58d75c=_0x219ea4[0x0];_0x58d75c[_0x235cb5(0x1f3)]&&(_0x51afa[_0x235cb5(0x282)]=_0x10b4dd[_0x235cb5(0x1ed)](_0x58d75c[_0x235cb5(0x1f3)]),_0x51afa[_0x235cb5(0x265)]()),null===_0x58d75c[_0x235cb5(0x1f3)]&&(_0x51afa[_0x235cb5(0x282)]=null,_0x51afa[_0x235cb5(0x265)]());},{'priority':_0x262f4a(0x250)}),this[_0x262f4a(0x26d)](_0x2c9c93[_0x262f4a(0x1c4)][_0x262f4a(0x207)][_0x262f4a(0x271)],_0x262f4a(0x1e5),(_0x1b3c6d,_0x4a4b15)=>{const _0x166c2d=_0x262f4a;_0x4a4b15[_0x166c2d(0x1e9)]&&this[_0x166c2d(0x22c)]();}),this[_0x262f4a(0x26d)](_0x2c9c93[_0x262f4a(0x1b6)][_0x262f4a(0x1e3)],_0x262f4a(0x201),()=>{const _0x480cef=_0x262f4a;this[_0x480cef(0x22c)]();}),this[_0x262f4a(0x261)](),_0x2c9c93[_0x262f4a(0x1c4)]['on'](_0x262f4a(0x20d),(_0x11e405,_0x1f5114)=>{const _0x57f58f=_0x262f4a,_0x45ab90=_0x1f5114[0x0];_0x45ab90[_0x57f58f(0x1d7)]&&(this[_0x57f58f(0x257)](_0x45ab90),this[_0x57f58f(0x26a)]()&&this[_0x57f58f(0x248)]());}),this[_0x262f4a(0x18c)](),this[_0x262f4a(0x1d8)](_0x262f4a(0x1f2))['to'](_0x184a46,_0x262f4a(0x24b),this,_0x262f4a(0x26e),(_0x216355,_0x4fac7f)=>_0x262f4a(0x20c)===_0x216355&&!_0x4fac7f),this['on'](_0x262f4a(0x256),()=>{const _0x112f61=_0x262f4a;this[_0x112f61(0x1f2)]?_0x2c9c93[_0x112f61(0x244)](_0x112f61(0x1a1)):_0x2c9c93[_0x112f61(0x21a)](_0x112f61(0x1a1));}),this[_0x262f4a(0x1f2)]?_0x2c9c93[_0x262f4a(0x244)](_0x262f4a(0x1a1)):_0x2c9c93[_0x262f4a(0x21a)](_0x262f4a(0x1a1)),this[_0x262f4a(0x1d4)](_0x262f4a(0x237),!0x1);}async[_0x4f492b(0x1ec)](){const _0x428b16=_0x4f492b,_0x184cc8=this[_0x428b16(0x26b)][_0x428b16(0x1b8)][_0x428b16(0x1ce)](_0x409c07),_0x1df386=this[_0x428b16(0x26b)][_0x428b16(0x1b8)][_0x428b16(0x1ce)](_0x1022d2);try{this[_0x428b16(0x26c)]=!0x0,_0x184cc8[_0x428b16(0x278)](this[_0x428b16(0x259)]);const _0x75c9b3=await this[_0x428b16(0x193)][_0x428b16(0x1ec)](_0x1df386[_0x428b16(0x1b7)],this[_0x428b16(0x1bc)]);await this[_0x428b16(0x19e)](_0x75c9b3)&&(this[_0x428b16(0x26c)]=!0x1,this[_0x428b16(0x190)]());const _0x537690=await this[_0x428b16(0x193)][_0x428b16(0x1e7)]();_0x184cc8[_0x428b16(0x1b9)](this[_0x428b16(0x259)],_0x537690),this[_0x428b16(0x1ff)](),this[_0x428b16(0x237)]=!0x0;}catch(_0x1fd1e0){if(function(_0x238196){const _0x355685=_0x428b16;return _0x355685(0x22f)===_0x238196[_0x355685(0x1f8)];}(_0x1fd1e0)&&this[_0x428b16(0x1a6)])await this[_0x428b16(0x1e8)]();else{if(function(_0x325a03){const _0x27f7f8=_0x428b16;return _0x27f7f8(0x26f)===_0x325a03[_0x27f7f8(0x1f8)];}(_0x1fd1e0)){const _0x64b8b9=_0x8372f5(this[_0x428b16(0x26b)][_0x428b16(0x200)],_0x428b16(0x233));this[_0x428b16(0x1a5)](_0x64b8b9);}else{if(!(_0x1fd1e0 instanceof $))throw _0x1fd1e0;this[_0x428b16(0x1a5)]();}}}}[_0x4f492b(0x1a9)](){const _0x3ac602=_0x4f492b,_0x460094=this[_0x3ac602(0x26b)][_0x3ac602(0x1b8)][_0x3ac602(0x1ce)](_0x1022d2),_0x52bae3=this[_0x3ac602(0x26b)][_0x3ac602(0x1b8)][_0x3ac602(0x1ce)](_0x409c07);this[_0x3ac602(0x26b)][_0x3ac602(0x21a)](_0x3ac602(0x212)),_0x52bae3[_0x3ac602(0x21c)][_0x3ac602(0x245)](this[_0x3ac602(0x259)])&&_0x52bae3[_0x3ac602(0x278)](this[_0x3ac602(0x259)]),_0x460094[_0x3ac602(0x18e)](this),this[_0x3ac602(0x1f5)](),super[_0x3ac602(0x1a9)]();}async[_0x4f492b(0x19e)](_0x3d584c){const _0x3ee981=_0x4f492b;if(this[_0x3ee981(0x1a6)]!==_0x3d584c[_0x3ee981(0x1a6)]&&this[_0x3ee981(0x1af)]!==_0x3d584c[_0x3ee981(0x1d5)])throw new $();return this[_0x3ee981(0x1a6)]=_0x3d584c[_0x3ee981(0x1a6)],this[_0x3ee981(0x283)]([],{..._0x3d584c,'wereChangesApplied':!0x1,'data':_0x3d584c[_0x3ee981(0x1fd)]},_0x3ee981(0x1ec));}async[_0x4f492b(0x195)](_0xda8841,_0x3e342e=!0x1){const _0x524f70=_0x4f492b,{connection:_0xa978c8}=this[_0x524f70(0x26b)][_0x524f70(0x1b8)][_0x524f70(0x1ce)](_0x1022d2);RealTimeCollaborationClient[_0x524f70(0x1db)][_0x524f70(0x1e7)](_0xa978c8,this[_0x524f70(0x259)])[_0x524f70(0x25c)](_0x4f0a19=>this[_0x524f70(0x241)](_0x4f0a19))[_0x524f70(0x262)](_0x1c1947=>{const _0x329e41=_0x524f70;this[_0x329e41(0x208)](_0x329e41(0x287),_0x1c1947);}),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x1ee),this[_0x524f70(0x1d1)][_0x524f70(0x1d8)](this)),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x213),(_0x331c49,_0x180623)=>{const _0x2a54d0=_0x524f70;this[_0x2a54d0(0x208)](_0x2a54d0(0x1ef),_0x180623);}),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x1b5),()=>{const _0x479c47=_0x524f70;this[_0x479c47(0x237)]=!0x1;});const _0x5774e5=this[_0x524f70(0x1bf)][_0x524f70(0x264)](_0xda8841);this[_0x524f70(0x26c)]=!0x0;const _0x57e36c=await this[_0x524f70(0x193)][_0x524f70(0x192)](_0xa978c8,this[_0x524f70(0x228)](_0xda8841),_0x5774e5);if(this[_0x524f70(0x1a6)]=_0x57e36c[_0x524f70(0x1a6)],_0x3e342e){if(!_0x57e36c[_0x524f70(0x1e6)])return void this[_0x524f70(0x1a5)]();this[_0x524f70(0x26c)]=!0x1,this[_0x524f70(0x190)](),this[_0x524f70(0x202)][_0x524f70(0x22a)](),this[_0x524f70(0x242)]=_0x57e36c[_0x524f70(0x266)],this[_0x524f70(0x202)][_0x524f70(0x203)]=this[_0x524f70(0x242)],await this[_0x524f70(0x283)](_0xda8841,_0x57e36c,_0x524f70(0x214));}else await this[_0x524f70(0x1aa)](_0x57e36c,_0xda8841);this[_0x524f70(0x1ff)](),this[_0x524f70(0x237)]=!0x0;}[_0x4f492b(0x1ff)](){const _0x17ca0d=_0x4f492b,_0x5e0740=this[_0x17ca0d(0x26b)][_0x17ca0d(0x1b8)][_0x17ca0d(0x1ce)](_0x409c07),_0x15bdd1=this[_0x17ca0d(0x26b)][_0x17ca0d(0x1b8)][_0x17ca0d(0x1ce)](_0x4cd1fe),_0x52d6ce=_0x5e0740[_0x17ca0d(0x21c)][_0x17ca0d(0x1ce)](this[_0x17ca0d(0x259)]);_0x52d6ce&&_0x52d6ce[_0x17ca0d(0x234)]>0x1?_0x15bdd1[_0x17ca0d(0x1e2)]():this[_0x17ca0d(0x26d)](_0x5e0740,_0x17ca0d(0x254)+this[_0x17ca0d(0x259)],()=>{const _0x48ba22=_0x17ca0d;0x2===_0x5e0740[_0x48ba22(0x21c)][_0x48ba22(0x1ce)](this[_0x48ba22(0x259)])[_0x48ba22(0x234)]&&_0x15bdd1[_0x48ba22(0x1e2)]();});}async[_0x4f492b(0x1d1)](_0x373188,_0x5e0f39,_0x51e06e,_0x9aac74){const _0x23e765=_0x4f492b;if(!this[_0x23e765(0x26c)]&&this[_0x23e765(0x1dd)][_0x23e765(0x203)]==_0x5e0f39){const _0x59a081=this[_0x23e765(0x268)](_0x51e06e,_0x9aac74);await this[_0x23e765(0x211)](_0x59a081),this[_0x23e765(0x1c2)](_0x59a081,_0x5e0f39,_0x51e06e[_0x23e765(0x1d5)])||this[_0x23e765(0x208)](_0x23e765(0x1f7));}}async[_0x4f492b(0x1e8)](){const _0x2b1029=_0x4f492b;this[_0x2b1029(0x1f5)]();const {locale:_0x232114}=this[_0x2b1029(0x26b)];let _0x4a8c52;try{_0x4a8c52=await this[_0x2b1029(0x193)][_0x2b1029(0x276)]();}catch{const _0x4dd375=_0x8372f5(_0x232114,_0x2b1029(0x267));return void this[_0x2b1029(0x1a5)](_0x4dd375);}const _0x283e4c=_0x4a8c52[_0x2b1029(0x215)]||_0x4a8c52[_0x2b1029(0x225)];if(this[_0x2b1029(0x1af)]!==_0x283e4c[_0x2b1029(0x1d5)]){const _0x12298b=_0x8372f5(_0x232114,_0x2b1029(0x20f));return void this[_0x2b1029(0x1a5)](_0x12298b);}await this[_0x2b1029(0x195)](this[_0x2b1029(0x26b)][_0x2b1029(0x1c4)][_0x2b1029(0x207)][_0x2b1029(0x20a)][_0x2b1029(0x23a)](),!0x0);}[_0x4f492b(0x1f5)](){const _0x435abd=_0x4f492b;this[_0x435abd(0x193)][_0x435abd(0x1da)](),this[_0x435abd(0x24c)]=[],clearTimeout(this[_0x435abd(0x252)]),this[_0x435abd(0x28a)](this[_0x435abd(0x193)]);}[_0x4f492b(0x241)](_0x4e64e9){const _0x752cfc=_0x4f492b,_0x45c46e=this[_0x752cfc(0x26b)][_0x752cfc(0x1b8)][_0x752cfc(0x1ce)](_0x409c07);this[_0x752cfc(0x26d)](_0x45c46e,_0x752cfc(0x254)+this[_0x752cfc(0x259)],(_0x4fb453,{session:_0x35be5d})=>{const _0x7b77e=_0x752cfc;if(_0x35be5d['id']===_0x45c46e[_0x7b77e(0x1f9)]){_0x4fb453[_0x7b77e(0x23d)]();const _0xe3aaa3=this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x245)](_0x7b77e(0x1f4))&&this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x1ce)](_0x7b77e(0x1f4));let _0x4cb034=_0x35be5d[_0x7b77e(0x22d)];_0xe3aaa3&&_0xe3aaa3[_0x7b77e(0x1de)]&&(_0x4cb034=_0x4cb034[_0x7b77e(0x1a4)](_0x395d18=>_0x7b77e(0x1a0)!==_0x395d18)),this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x1ce)](_0x7b77e(0x275))[_0x7b77e(0x226)](_0x4cb034,this[_0x7b77e(0x259)]);}}),_0x45c46e[_0x752cfc(0x1b9)](this[_0x752cfc(0x259)],_0x4e64e9);}[_0x4f492b(0x261)](){const _0x5a1c8b=_0x4f492b,_0x22ef7a=this[_0x5a1c8b(0x26b)][_0x5a1c8b(0x1fd)][_0x5a1c8b(0x1d4)];this[_0x5a1c8b(0x26b)][_0x5a1c8b(0x1fd)][_0x5a1c8b(0x1d4)]=(..._0x2d39f7)=>{const _0x4fa6ce=_0x5a1c8b;if(!_0x2d39f7[_0x2d39f7[_0x4fa6ce(0x234)]-0x1][_0x4fa6ce(0x246)])throw new _0x1091d2(_0x4fa6ce(0x277),this);_0x22ef7a[_0x4fa6ce(0x19d)](this[_0x4fa6ce(0x26b)][_0x4fa6ce(0x1fd)],_0x2d39f7);};}[_0x4f492b(0x18c)](){const _0x4386f4=_0x4f492b;this[_0x4386f4(0x26b)][_0x4386f4(0x1fd)]['on'](_0x4386f4(0x204),(_0x358131,[_0x79ff24])=>{const _0x576c42=_0x4386f4;if(this[_0x576c42(0x1dd)][_0x576c42(0x203)])throw new _0x1091d2(_0x576c42(0x240),this);_0x358131[_0x576c42(0x265)](),this[_0x576c42(0x229)]();const _0x32be4e=this[_0x576c42(0x26b)][_0x576c42(0x1f0)][_0x576c42(0x1ce)](_0x576c42(0x1e0)),_0x4b96a1=this[_0x576c42(0x1fa)](_0x79ff24,_0x32be4e);0x0==_0x4b96a1[_0x576c42(0x234)]&&_0x4b96a1[_0x576c42(0x223)](new _0x1ded9f(0x0)),_0x358131[_0x576c42(0x282)]=this[_0x576c42(0x195)](_0x4b96a1)[_0x576c42(0x25c)](()=>{const _0x4486c9=_0x576c42;this[_0x4486c9(0x26b)][_0x4486c9(0x1b8)][_0x4486c9(0x1ce)](_0x1022d2)[_0x4486c9(0x191)](this),this[_0x4486c9(0x26b)][_0x4486c9(0x1fd)][_0x4486c9(0x209)](_0x4486c9(0x1d3));})[_0x576c42(0x262)](_0x4b4386=>this[_0x576c42(0x208)](_0x576c42(0x1ab),_0x4b4386))[_0x576c42(0x285)](()=>this[_0x576c42(0x190)]());},{'priority':_0x4386f4(0x250)}),this[_0x4386f4(0x26b)]['on'](_0x4386f4(0x1f1),async(_0x14a39c,[_0x550715,_0x59b725])=>{const _0x5e73b2=_0x4386f4;_0x14a39c[_0x5e73b2(0x265)]();const _0x53c1cb=this[_0x5e73b2(0x26b)][_0x5e73b2(0x1c4)][_0x5e73b2(0x207)][_0x5e73b2(0x205)](_0x550715);if(!this[_0x5e73b2(0x263)][_0x5e73b2(0x245)](_0x550715)){const _0x28444d=_0x59b725&&_0x59b725[_0x5e73b2(0x1fd)]?_0x59b725[_0x5e73b2(0x1fd)]:'',_0x22b903=_0x59b725&&_0x59b725[_0x5e73b2(0x270)]?_0x59b725[_0x5e73b2(0x270)]:{};await this[_0x5e73b2(0x23f)](_0x550715,_0x28444d,_0x22b903);}this[_0x5e73b2(0x26b)][_0x5e73b2(0x1c4)][_0x5e73b2(0x217)]({'isUndoable':!0x1},()=>{const _0x17275d=_0x5e73b2;_0x53c1cb[_0x17275d(0x22e)]=!0x0,this[_0x17275d(0x26b)][_0x17275d(0x1c4)][_0x17275d(0x207)][_0x17275d(0x251)][_0x17275d(0x1a2)](_0x53c1cb);});},{'priority':_0x4386f4(0x250)});}async[_0x4f492b(0x211)](_0x27d065){const _0x3c9f72=_0x4f492b,_0x21b869=this[_0x3c9f72(0x26b)][_0x3c9f72(0x1b8)][_0x3c9f72(0x1ce)](_0x28de5a),{connection:_0x4dda0d}=this[_0x3c9f72(0x26b)][_0x3c9f72(0x1b8)][_0x3c9f72(0x1ce)](_0x1022d2),_0x42c1a0=new Set();for(const _0x5dad41 of _0x27d065){const _0x6edb08=_0x5dad41[_0x3c9f72(0x1f3)];_0x6edb08&&!_0x21b869[_0x3c9f72(0x1ed)](_0x6edb08)&&_0x42c1a0[_0x3c9f72(0x199)](_0x6edb08);}if(0x0===_0x42c1a0[_0x3c9f72(0x21f)])return;const _0x4ec810=await _0x302cfb[_0x3c9f72(0x27c)](_0x4dda0d,Array[_0x3c9f72(0x27f)](_0x42c1a0));for(const _0x1156c4 of _0x4ec810)_0x21b869[_0x3c9f72(0x1ed)](_0x1156c4['id'])||_0x21b869[_0x3c9f72(0x274)](_0x1156c4);}[_0x4f492b(0x1fa)](_0x5e5517,_0x2eb836={}){const _0x661fff=_0x4f492b,_0x5b75b1=this[_0x661fff(0x26b)][_0x661fff(0x1c4)],_0x506844=[];let _0x275566=0x0;const _0x2eb950=_0x661fff(0x1c0)==typeof _0x5e5517?{'main':_0x5e5517}:_0x5e5517;for(const _0x443099 of Object[_0x661fff(0x23e)](_0x2eb950)){if(!this[_0x661fff(0x1dd)][_0x661fff(0x19b)][_0x661fff(0x245)](_0x443099))throw new _0x1091d2(_0x661fff(0x25d),this);const _0x583324=this[_0x661fff(0x26b)][_0x661fff(0x1fd)][_0x661fff(0x1c1)](_0x2eb950[_0x443099]),_0x255926=this[_0x661fff(0x1dd)][_0x661fff(0x205)](_0x443099),_0xe6f2f4=new _0x3b2724(_0x5b75b1[_0x661fff(0x197)](_0x255926,0x0),_0x583324,_0x275566++);_0x506844[_0x661fff(0x223)](_0xe6f2f4);for(const [_0x464bd8,_0x555959]of _0x583324[_0x661fff(0x1b1)]){const _0x618801=_0x5b75b1[_0x661fff(0x231)](_0x5b75b1[_0x661fff(0x18d)](_0x255926,_0x555959[_0x661fff(0x27e)][_0x661fff(0x279)][_0x661fff(0x1cb)]()),_0x5b75b1[_0x661fff(0x18d)](_0x255926,_0x555959[_0x661fff(0x224)][_0x661fff(0x279)][_0x661fff(0x1cb)]())),_0x5ea1b7=new _0x1aae9c(_0x464bd8,null,_0x618801,_0x5b75b1[_0x661fff(0x1b1)],!0x0,_0x275566++);_0x506844[_0x661fff(0x223)](_0x5ea1b7);}}if(_0x2eb836)for(const [_0x4e5a32,_0x97b9a3]of Object[_0x661fff(0x1ac)](_0x2eb836)){const _0x226cd5=_0x5b75b1[_0x661fff(0x207)][_0x661fff(0x205)](_0x4e5a32);if(!_0x226cd5)throw new _0x1091d2(_0x661fff(0x220),null);for(const [_0x38b161,_0x16a455]of Object[_0x661fff(0x1ac)](_0x97b9a3))if(null!==_0x16a455){const _0x5609f2=new _0x5dfeeb(_0x226cd5,_0x38b161,null,_0x16a455,_0x275566++);_0x506844[_0x661fff(0x223)](_0x5609f2);}}return _0x506844;}async[_0x4f492b(0x23f)](_0x3d52d6,_0x262089,_0x41c044){const _0x4f16a3=_0x4f492b;this[_0x4f16a3(0x1fa)]({[_0x3d52d6]:_0x262089},{[_0x3d52d6]:_0x41c044})[_0x4f16a3(0x25b)]((_0x2b84e3,_0x53c1be)=>{const _0x5f1584=_0x4f16a3;_0x2b84e3[_0x5f1584(0x1c6)]=this[_0x5f1584(0x1dd)][_0x5f1584(0x203)]+_0x53c1be,_0x2b84e3[_0x5f1584(0x27d)]=!0x0,this[_0x5f1584(0x257)](_0x2b84e3);}),this[_0x4f16a3(0x248)](),await this[_0x4f16a3(0x18a)]();}async[_0x4f492b(0x1aa)](_0x4130d0,_0x2393fb){const _0x531c7a=_0x4f492b;let _0x41a46c;this[_0x531c7a(0x242)]=_0x4130d0[_0x531c7a(0x266)];const _0x1d1028=_0x4130d0[_0x531c7a(0x1e6)]&&!_0x4130d0[_0x531c7a(0x23c)],_0x43b089=_0x1d1028?0x0:_0x4130d0[_0x531c7a(0x1fd)][_0x531c7a(0x1c6)];if(_0x2393fb[_0x531c7a(0x25b)](_0x147976=>{const _0x2a35e5=_0x531c7a;_0x147976[_0x2a35e5(0x27d)]=!0x0,_0x147976[_0x2a35e5(0x255)]=_0x4130d0[_0x2a35e5(0x1df)],_0x147976[_0x2a35e5(0x1f3)]=null;}),_0x1d1028)_0x41a46c=_0x2393fb,this[_0x531c7a(0x221)](_0x41a46c,_0x1d1028);else{if(_0x4130d0[_0x531c7a(0x23c)]){const _0x39cad1=this[_0x531c7a(0x1fa)](_0x4130d0[_0x531c7a(0x23c)]);this[_0x531c7a(0x1dd)][_0x531c7a(0x20a)][_0x531c7a(0x203)]=-_0x39cad1[_0x531c7a(0x234)],_0x39cad1[_0x531c7a(0x25b)](_0x2d4cd5=>{const _0x2cf5a0=_0x531c7a;_0x2d4cd5[_0x2cf5a0(0x1c6)]-=_0x39cad1[_0x2cf5a0(0x234)],_0x2d4cd5[_0x2cf5a0(0x255)]=_0x4130d0[_0x2cf5a0(0x1df)],_0x2d4cd5[_0x2cf5a0(0x27d)]=!0x0,_0x2d4cd5[_0x2cf5a0(0x1f3)]=null;}),this[_0x531c7a(0x221)](_0x39cad1,!0x0),this[_0x531c7a(0x202)][_0x531c7a(0x203)]=-_0x39cad1[_0x531c7a(0x234)]+this[_0x531c7a(0x242)],this[_0x531c7a(0x27a)](_0x39cad1);}this[_0x531c7a(0x1dd)][_0x531c7a(0x20a)][_0x531c7a(0x203)]=_0x43b089,_0x41a46c=this[_0x531c7a(0x268)](_0x4130d0[_0x531c7a(0x1fd)],_0x4130d0[_0x531c7a(0x1b4)]),await this[_0x531c7a(0x211)](_0x41a46c),this[_0x531c7a(0x221)](_0x41a46c,_0x1d1028);}_0x4130d0[_0x531c7a(0x1d5)]&&(this[_0x531c7a(0x1bf)][_0x531c7a(0x1e1)](_0x41a46c,_0x4130d0[_0x531c7a(0x1d5)]),this[_0x531c7a(0x1af)]=_0x4130d0[_0x531c7a(0x1d5)]),this[_0x531c7a(0x202)][_0x531c7a(0x203)]=_0x43b089+this[_0x531c7a(0x242)],this[_0x531c7a(0x27a)](_0x41a46c),_0x2393fb[_0x531c7a(0x1a4)](_0x51132c=>{const _0x28adcc=_0x531c7a,_0x2e9e50=this[_0x28adcc(0x288)](_0x51132c);return _0x2e9e50&&!this[_0x28adcc(0x263)][_0x28adcc(0x245)](_0x2e9e50);})[_0x531c7a(0x25b)]((_0x4133bb,_0x34737c)=>{const _0x31feb4=_0x531c7a;_0x4133bb[_0x31feb4(0x1c6)]=this[_0x31feb4(0x1dd)][_0x31feb4(0x203)]+_0x34737c,this[_0x31feb4(0x257)](_0x4133bb);}),this[_0x531c7a(0x26a)]()?(this[_0x531c7a(0x1a8)]=0x0,this[_0x531c7a(0x248)](!0x0),await this[_0x531c7a(0x18a)]()):(this[_0x531c7a(0x26c)]=!0x1,this[_0x531c7a(0x190)]());}[_0x4f492b(0x208)](_0x2d4089,_0x1daddd){const _0x136511=_0x4f492b,_0x1f8bdc=_0x1daddd&&_0x1daddd[_0x136511(0x236)];if(_0x1f8bdc&&_0x1f8bdc[_0x136511(0x19c)](_0x136511(0x18f)))throw _0x1daddd;const _0x342630=this[_0x136511(0x26b)][_0x136511(0x1b8)][_0x136511(0x1ce)](_0x1022d2);throw this[_0x136511(0x26c)]=!0x0,_0x342630[_0x136511(0x1da)](),this[_0x136511(0x26b)][_0x136511(0x21a)](_0x136511(0x1c9)),new _0x1091d2(_0x2d4089,this[_0x136511(0x26b)],_0x1f8bdc?{'originalError':_0x1f8bdc}:void 0x0);}[_0x4f492b(0x257)](_0x23df4e){const _0x27c9b6=_0x4f492b;this[_0x27c9b6(0x25f)][_0x27c9b6(0x245)](_0x23df4e)||(this[_0x27c9b6(0x25f)][_0x27c9b6(0x199)](_0x23df4e),this[_0x27c9b6(0x24c)][_0x27c9b6(0x223)](_0x23df4e),this[_0x27c9b6(0x24d)]||_0x27c9b6(0x1be)==_0x23df4e[_0x27c9b6(0x206)]&&!_0x23df4e[_0x27c9b6(0x1c7)]||this[_0x27c9b6(0x229)]());}[_0x4f492b(0x248)](_0x228938=!0x1){const _0x3eaf4d=_0x4f492b;!_0x228938&&this[_0x3eaf4d(0x26c)]||(this[_0x3eaf4d(0x26c)]=!0x0,clearTimeout(this[_0x3eaf4d(0x252)]),this[_0x3eaf4d(0x252)]=setTimeout(()=>{const _0x1d6eb7=_0x3eaf4d;this[_0x1d6eb7(0x1d9)]()[_0x1d6eb7(0x25c)](_0xa89597=>{const _0x4661d0=_0x1d6eb7;_0xa89597&&(this[_0x4661d0(0x190)](),this[_0x4661d0(0x26c)]=!0x1);})[_0x1d6eb7(0x262)](_0x22abd2=>{const _0xe9ba07=_0x1d6eb7;this[_0xe9ba07(0x190)](),this[_0xe9ba07(0x26c)]=!0x1,function(_0x1d434b){const _0x42a0aa=_0xe9ba07;return _0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x286))||_0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x1ea))||_0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x1fc));}(_0x22abd2)||this[_0xe9ba07(0x208)](_0x22abd2[_0xe9ba07(0x236)],_0x22abd2);});},this[_0x3eaf4d(0x1a8)]));}[_0x4f492b(0x18a)](){return new Promise(_0x120109=>{const _0x1f92ed=_0xc8cb;this['on'](_0x1f92ed(0x21b),()=>{_0x120109();});});}async[_0x4f492b(0x1d9)](){const _0x12e70b=_0x4f492b,_0x51fd44=this[_0x12e70b(0x26b)][_0x12e70b(0x1b8)][_0x12e70b(0x1ce)](_0x4cd1fe);if(this[_0x12e70b(0x269)]()&&(_0x51fd44[_0x12e70b(0x1e2)](),this[_0x12e70b(0x227)]=!0x1),!this[_0x12e70b(0x26a)]())return!0x0;const _0x526d7e=[...this[_0x12e70b(0x24c)]];for(const _0x38f9ef of _0x526d7e)_0x38f9ef[_0x12e70b(0x289)]=this[_0x12e70b(0x1dd)][_0x12e70b(0x20a)][_0x12e70b(0x235)](_0x38f9ef);const _0x1ef3e9=this[_0x12e70b(0x1bf)][_0x12e70b(0x264)](_0x526d7e),_0x3b9745=G++,_0xe1a165=this[_0x12e70b(0x228)](_0x526d7e),_0x59109e=await this[_0x12e70b(0x193)][_0x12e70b(0x1d6)](_0xe1a165,_0xe1a165[_0x12e70b(0x1c6)],_0x1ef3e9);try{return await this[_0x12e70b(0x283)](_0x526d7e,_0x59109e,_0x3b9745);}catch(_0x29afaa){return this[_0x12e70b(0x208)](_0x12e70b(0x1c8),_0x29afaa);}}async[_0x4f492b(0x283)](_0x5810c3,_0x24d0b7,_0x20cf69){const _0x40d878=_0x4f492b;if(_0x40d878(0x213)in _0x24d0b7)throw _0x24d0b7[_0x40d878(0x213)];let _0x2d1ace=!0x1;if(_0x24d0b7[_0x40d878(0x1e6)]){_0x24d0b7[_0x40d878(0x1d5)]&&(this[_0x40d878(0x1af)]=_0x24d0b7[_0x40d878(0x1d5)]),this[_0x40d878(0x24c)]=this[_0x40d878(0x24c)][_0x40d878(0x1a4)](_0x330056=>!_0x5810c3[_0x40d878(0x210)](_0x330056));for(const _0x35c258 of _0x5810c3)_0x35c258[_0x40d878(0x255)]=_0x40d878(0x1c5)in _0x24d0b7&&_0x24d0b7[_0x40d878(0x1c5)]||void 0x0;K(_0x5810c3,_0x24d0b7[_0x40d878(0x203)]-_0x5810c3[_0x40d878(0x234)]),this[_0x40d878(0x27a)](_0x5810c3);const _0x1edfb9=_0x5810c3[_0x40d878(0x1a4)](_0x5e3b89=>{const _0x14651a=_0x40d878;if(!_0x5e3b89[_0x14651a(0x27d)])return!0x1;const _0x4cf00e=this[_0x14651a(0x288)](_0x5e3b89);return _0x4cf00e&&!this[_0x14651a(0x263)][_0x14651a(0x245)](_0x4cf00e);});K(_0x1edfb9,this[_0x40d878(0x1dd)][_0x40d878(0x203)]),this[_0x40d878(0x221)](_0x1edfb9),_0x2d1ace=!0x0,this[_0x40d878(0x1a8)]=this[_0x40d878(0x249)];}else{const _0x719abd=this[_0x40d878(0x268)](_0x24d0b7[_0x40d878(0x1fd)],_0x24d0b7[_0x40d878(0x1b4)])[_0x40d878(0x1a4)](_0x444552=>_0x444552[_0x40d878(0x1c6)]>=this[_0x40d878(0x194)]);_0x719abd[_0x40d878(0x25b)](_0x6bde95=>this[_0x40d878(0x19a)](_0x6bde95)),this[_0x40d878(0x24c)]=this[_0x40d878(0x24c)][_0x40d878(0x1a4)](_0x51943c=>!_0x51943c[_0x40d878(0x27d)]||!this[_0x40d878(0x263)][_0x40d878(0x245)](this[_0x40d878(0x288)](_0x51943c))),this[_0x40d878(0x24c)][_0x40d878(0x234)]&&K(this[_0x40d878(0x24c)],this[_0x40d878(0x24c)][0x0][_0x40d878(0x1c6)]),await this[_0x40d878(0x211)](_0x719abd),_0x2d1ace=this[_0x40d878(0x1c2)](_0x719abd,_0x24d0b7[_0x40d878(0x203)],_0x24d0b7[_0x40d878(0x1d5)]),this[_0x40d878(0x1a8)]=Math[_0x40d878(0x216)](this[_0x40d878(0x1a8)]/0x2);}return _0x2d1ace?!this[_0x40d878(0x26a)]()||(this[_0x40d878(0x248)](!0x0),!0x1):this[_0x40d878(0x208)](_0x40d878(0x1ae));}[_0x4f492b(0x1c2)](_0x4d9cb9,_0x16993f,_0x212df3){const _0x506316=_0x4f492b;try{const _0x5eb8fb={'document':this[_0x506316(0x1dd)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x446059,operationsB:_0x377938,originalOperations:_0x335202}=_0xdcce9a(_0x4d9cb9,this[_0x506316(0x24c)],_0x5eb8fb);K(_0x446059,this[_0x506316(0x1dd)][_0x506316(0x203)]),K(_0x377938,_0x16993f);for(const _0x3819a7 of _0x446059){const _0x3d8624=_0x335202[_0x506316(0x1ce)](_0x3819a7);_0x3819a7[_0x506316(0x1f3)]=_0x3d8624?_0x3d8624[_0x506316(0x1f3)]:null;}_0x212df3&&(this[_0x506316(0x1bf)][_0x506316(0x1e1)](_0x4d9cb9,_0x212df3),this[_0x506316(0x1af)]=_0x212df3),this[_0x506316(0x24c)]=[..._0x377938],this[_0x506316(0x221)](_0x446059),this[_0x506316(0x27a)](_0x4d9cb9);}catch(_0x51d2d5){return console[_0x506316(0x213)](_0x51d2d5),!0x1;}return!0x0;}[_0x4f492b(0x221)](_0x32bf1a,_0x51e7ed=!0x1){const _0x458b03=_0x4f492b;this[_0x458b03(0x26b)][_0x458b03(0x1c4)][_0x458b03(0x217)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5aa922=>{const _0xede49c=_0x458b03;for(const _0x19a30a of _0x32bf1a)this[_0xede49c(0x25f)][_0xede49c(0x199)](_0x19a30a),this[_0xede49c(0x19a)](_0x19a30a),_0x5aa922[_0xede49c(0x1ad)][_0xede49c(0x188)](_0x19a30a),this[_0xede49c(0x26b)][_0xede49c(0x1c4)][_0xede49c(0x20d)](_0x19a30a);});}[_0x4f492b(0x19a)](_0x43942e){const _0xecc448=_0x4f492b,_0x5d0090=this[_0xecc448(0x288)](_0x43942e);_0x5d0090&&this[_0xecc448(0x263)][_0xecc448(0x199)](_0x5d0090);}[_0x4f492b(0x288)](_0x447837){const _0x34d100=_0x4f492b;let _0x5cbf49,_0x12a3e6;switch(_0x447837[_0x34d100(0x206)]){case _0x34d100(0x1fb):_0x5cbf49=_0x447837[_0x34d100(0x1b0)][_0x34d100(0x1a3)];break;case _0x34d100(0x1be):if(_0x12a3e6=_0x447837[_0x34d100(0x196)],!_0x12a3e6)return null;_0x5cbf49=_0x12a3e6[_0x34d100(0x1a3)];break;case _0x34d100(0x1b3):_0x5cbf49=_0x447837[_0x34d100(0x1a3)];break;case _0x34d100(0x1bd):_0x5cbf49=_0x447837[_0x34d100(0x258)];break;case _0x34d100(0x1cf):_0x5cbf49=_0x447837[_0x34d100(0x20e)][_0x34d100(0x1a3)];break;default:return null;}return _0x5cbf49[_0x34d100(0x280)];}[_0x4f492b(0x27a)](_0x635f51){const _0x1b3f1e=_0x4f492b;_0x635f51[_0x1b3f1e(0x25b)](_0x830e57=>{const _0x13e82f=_0x1b3f1e,_0x312af6=_0x830e57[_0x13e82f(0x1cc)]();_0x312af6[_0x13e82f(0x1f3)]=_0x830e57[_0x13e82f(0x1f3)],_0x312af6[_0x13e82f(0x27d)]=!!_0x830e57[_0x13e82f(0x27d)],_0x312af6[_0x13e82f(0x255)]=_0x830e57[_0x13e82f(0x255)],_0x312af6[_0x13e82f(0x1c6)]+=this[_0x13e82f(0x242)],_0x830e57[_0x13e82f(0x247)]&&this[_0x13e82f(0x222)][_0x13e82f(0x199)](_0x312af6),this[_0x13e82f(0x202)][_0x13e82f(0x188)](_0x312af6);});}[_0x4f492b(0x1a5)](_0x2d66f2){const _0x232c33=_0x4f492b,_0x38368d=this[_0x232c33(0x26b)][_0x232c33(0x1b8)][_0x232c33(0x1ce)](_0x232c33(0x19f)),_0x21ec1c=this[_0x232c33(0x26b)][_0x232c33(0x200)];_0x2d66f2||(_0x2d66f2=_0x8372f5(_0x21ec1c,_0x232c33(0x21e))),_0x38368d[_0x232c33(0x273)](_0x2d66f2,{'title':_0x8372f5(_0x21ec1c,_0x232c33(0x24e)),'namespace':_0x232c33(0x260)}),this[_0x232c33(0x26e)]=!0x0,clearTimeout(this[_0x232c33(0x252)]),this[_0x232c33(0x24c)]=[],this[_0x232c33(0x26b)][_0x232c33(0x1b8)][_0x232c33(0x1ce)](_0x1022d2)[_0x232c33(0x1da)]();}[_0x4f492b(0x229)](){const _0x572ce3=_0x4f492b;this[_0x572ce3(0x24d)]||(this[_0x572ce3(0x24d)]=this[_0x572ce3(0x26b)][_0x572ce3(0x1b8)][_0x572ce3(0x1ce)](_0x1337dd)[_0x572ce3(0x199)](_0x8372f5(this[_0x572ce3(0x26b)][_0x572ce3(0x200)],_0x572ce3(0x25a))));}[_0x4f492b(0x190)](){const _0x3691af=_0x4f492b;this[_0x3691af(0x24d)]&&(this[_0x3691af(0x26b)][_0x3691af(0x1b8)][_0x3691af(0x1ce)](_0x1337dd)[_0x3691af(0x238)](this[_0x3691af(0x24d)]),this[_0x3691af(0x24d)]=null);}[_0x4f492b(0x228)](_0x294562){const _0x3f6066=_0x4f492b,_0x3eb37c=_0x294562[_0x3f6066(0x232)](_0x40b1df=>_0x40b1df[_0x3f6066(0x27b)]());return this[_0x3f6066(0x20b)][_0x3f6066(0x1c3)](_0x3eb37c);}[_0x4f492b(0x268)](_0x3c1ed9,_0x5c0c04){const _0x4bd679=_0x4f492b;return this[_0x4bd679(0x20b)][_0x4bd679(0x1eb)](_0x3c1ed9)[_0x4bd679(0x232)]((_0x5863aa,_0x5c0fe3)=>{const _0x4c4f67=_0x4bd679,_0x2651a4=_0x4c4f67(0x204)==_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x206)];if(_0x4c4f67(0x1ba)==_0x5863aa[_0x4c4f67(0x272)]){const _0x2fb6f6=_0x5863aa[_0x4c4f67(0x1b0)][_0x4c4f67(0x1a3)];!this[_0x4c4f67(0x1dd)][_0x4c4f67(0x205)](_0x2fb6f6)&&(this[_0x4c4f67(0x1dd)][_0x4c4f67(0x1dc)](_0x4c4f67(0x23b),_0x2fb6f6)[_0x4c4f67(0x28b)]=!0x1);}const _0x2f4c51=_0x491e8f[_0x4c4f67(0x281)](_0x5863aa,this[_0x4c4f67(0x1dd)]);return _0x2f4c51[_0x4c4f67(0x289)]=_0x5863aa[_0x4c4f67(0x289)],_0x2f4c51[_0x4c4f67(0x27d)]=_0x2651a4,_0x2f4c51[_0x4c4f67(0x1f3)]=_0x2651a4?null:_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x230)],_0x2f4c51[_0x4c4f67(0x247)]=_0x4c4f67(0x239)===_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x206)],_0x2f4c51[_0x4c4f67(0x255)]=_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x255)],_0x2f4c51;});}[_0x4f492b(0x22c)](){const _0xa043c7=_0x4f492b;this[_0xa043c7(0x227)]=!0x0,this[_0xa043c7(0x269)]()?this[_0xa043c7(0x248)]():this[_0xa043c7(0x227)]=!0x1;}[_0x4f492b(0x269)](){const _0x5d8899=_0x4f492b,_0x34fec5=this[_0x5d8899(0x26b)][_0x5d8899(0x1b8)][_0x5d8899(0x1ce)](_0x409c07)[_0x5d8899(0x21c)][_0x5d8899(0x1ce)](this[_0x5d8899(0x259)]);return!this[_0x5d8899(0x26b)][_0x5d8899(0x24f)]&&!!_0x34fec5&&_0x34fec5[_0x5d8899(0x234)]>0x1&&this[_0x5d8899(0x227)];}[_0x4f492b(0x26a)](){const _0xb139c2=_0x4f492b;return this[_0xb139c2(0x24c)][_0xb139c2(0x234)]>0x0||this[_0xb139c2(0x269)]();}}class $ extends Error{}function K(_0x46176c,_0x512867){const _0x4e40e7=_0x4f492b;for(const _0x2094da of _0x46176c)_0x2094da[_0x4e40e7(0x1c6)]=_0x512867++;}class J{[_0x4f492b(0x25e)];[_0x4f492b(0x1d0)];constructor(_0x4131e8){const _0x127a81=_0x4f492b;this[_0x127a81(0x25e)]=_0x4131e8,this[_0x127a81(0x1d0)]=new WeakMap();}[_0x4f492b(0x264)](_0x5cf8eb){const _0x348f19=_0x4f492b;let _0x13b48f=_0x5cf8eb[_0x348f19(0x234)];for(;_0x13b48f--;){const _0x1dccc3=_0x5cf8eb[_0x13b48f];if(!this[_0x348f19(0x25e)][_0x348f19(0x245)](_0x1dccc3)){if(!this[_0x348f19(0x1d0)][_0x348f19(0x245)](_0x1dccc3)){const _0x1db567=_0x244c95()[_0x348f19(0x1cb)](0x1,0x12);this[_0x348f19(0x1d0)][_0x348f19(0x1d4)](_0x1dccc3,_0x1db567);}return this[_0x348f19(0x1d0)][_0x348f19(0x1ce)](_0x1dccc3);}}}[_0x4f492b(0x1e1)](_0x348097,_0x4ec7ae){const _0x2e8a70=_0x4f492b;if(!_0x4ec7ae)return;let _0x4f4588=_0x348097[_0x2e8a70(0x234)];for(;_0x4f4588--;){const _0xe23ac7=_0x348097[_0x4f4588];this[_0x2e8a70(0x25e)][_0x2e8a70(0x245)](_0xe23ac7)||this[_0x2e8a70(0x1d0)][_0x2e8a70(0x1d4)](_0xe23ac7,_0x4ec7ae);}}}function _0x3e90(){const _0x4bedad=['__className','showWarning','addUser','Permissions','getDocumentDetails','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','unregister','path','_updateServerHistory','toJSON','getMany','_isInit','start','from','rootName','fromJSON','return','_handleServerResponse','177003oiJENZ','finally','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-session-connection-error','_getAffectedRoot','wasUndone','stopListening','_isAttached','3401237xhGmnQ','addOperation','collaboration','_waitUntilSynced','pluginName','_setUpDataInit','createPositionFromPath','removeFromReconnectionStack','realtimecollaborationclient','_clearPendingAction','addToReconnectionStack','connect','_service','_lastServerVersion','_connectService','newRange','createPositionAt','cloudServices.bundleVersion','add','_addKnownRoot','roots','startsWith','apply','_handleReconnectionResponse','Notification','document:write','rtc-offline','_bufferRootLoad','root','filter','_handleReconnectionError','sessionId','6434672rjkDam','_currentBufferDelay','destroy','_handleInitialConnectionData','realtimecollaborationclient-init-connection-failed','entries','batch','realtimecollaborationclient-handleserverresponse','_lastSyncedOperationId','position','markers','isPremiumPlugin','addRootAttribute','metadata','disconnected','editing','connection','plugins','register','InsertOperation','collaboration-missing-channelid','lastSyncVersion','addRoot','marker','_operationIdentifier','string','parse','_handleExternalOperations','compress','model','lastOperationAcceptedAt','baseVersion','affectsData','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-error','getOperationAuthor','slice','clone','2036860JiOEpT','get','move','_operationToId','_handleReceivedOperations','isOfficialPlugin','ready','set','lastOperationId','sendOperations','isDocumentOperation','bind','_sendBufferedOperations','disconnect','CollaborativeEditingService','createRoot','_document','isEnabled','sessionCreatedAt','rootsAttributes','setIdForTheLastOperation','createUserMarkerOperations','view','5847354ezebYh','change:range','wereChangesApplied','getConnectedSessions','_connectAfterSessionHasBeenFlushed','directChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','decompress','reconnect','getUser','operationsReceived','realtimecollaborationclient-init-service-internal-error','config','loadRoot','_isEditingAllowed','_authorId','CommentsOnly','_disconnectService','6bsXbTG','realtimecollaborationclient-init-service-incorrect-server-operation','code','mySessionId','_getOperationsFromInitData','insert','cloud-services-internal-error:\x20Request\x20timeout.','data','define','_handleSendingSelectionMarkers','locale','change:hasDomSelection','serverHistory','version','init','getRoot','type','document','_crash','fire','history','_compressor','connected','applyOperation','targetPosition','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','includes','_fetchMissingUsers','rtc-destroyed','error','reconnection:\x20flushed\x20session','currentDocumentSession','round','enqueueChange','47064CGXzeU','342535dhtcaN','enableReadOnlyMode','change:_isPendingUpdate','channelSessions','27hnSyUB','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','multi-root-editor-root-attributes-no-root','_applyOperationsSet','_disconnectionOperations','push','end','lastDocumentSession','setPermissions','_hasSelectionChanged','_compressOperations','_setPendingAction','reset','requires','_refreshUserSelectionMarkers','permissions','_isLoaded','404','userId','createRange','map','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','length','isUndoneOperation','message','_isConnected','remove','cs:removeUser','getOperations','$root','initData','off','keys','_loadRoot','realtimecollaborationclient-init-document-already-initialized','_initSessionsHandling','_offset','cloudDocumentVersion','disableReadOnlyMode','has','suppressErrorInCollaboration','_isDisconnection','_sendBufferedOperationsDelayed','_baseBufferDelay','RealTimeCollaborationClient','state','_bufferedOperations','_pendingAction','Synchronization\x20issue','isReadOnly','high','differ','_sendBufferedOperationsDelayId','collaboration.channelId','sessionAdd:','createdAt','change:_isEditingAllowed','_saveOperationInBuffer','affectedSelectable','_channelId','PENDING_ACTION_SENDING_DATA','forEach','then','realtimecollaborationclient-init-non-existent-root','_ignoredOperations','_knownOperations','real-time-collaboration','_initThrowingOnDataSet','catch','_knownRootNames','getIdOfTheLastOperation','stop','offset','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_decompressOperations','_shouldSendSelectionUpdate','_shouldSendUpdate','editor','_isPendingUpdate','listenTo','_hasSynchronizationProblem','409','attributes','selection'];_0x3e90=function(){return _0x4bedad;};return _0x3e90();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1bf3a0=_0x5a7a;function _0x5a7a(_0x5b8cf1,_0x51753b){const _0x26e9e7=_0x26e9();return _0x5a7a=function(_0x5a7aa7,_0x168811){_0x5a7aa7=_0x5a7aa7-0x1a5;let _0x3eb70c=_0x26e9e7[_0x5a7aa7];return _0x3eb70c;},_0x5a7a(_0x5b8cf1,_0x51753b);}(function(_0x51333c,_0x35b22e){const _0x845d4b=_0x5a7a,_0x17a0a9=_0x51333c();while(!![]){try{const _0x2a5b52=-parseInt(_0x845d4b(0x1d9))/0x1+parseInt(_0x845d4b(0x1ad))/0x2*(parseInt(_0x845d4b(0x1cf))/0x3)+-parseInt(_0x845d4b(0x1b8))/0x4+-parseInt(_0x845d4b(0x1c4))/0x5+parseInt(_0x845d4b(0x1ce))/0x6+-parseInt(_0x845d4b(0x1b7))/0x7*(parseInt(_0x845d4b(0x1b1))/0x8)+-parseInt(_0x845d4b(0x1e0))/0x9*(-parseInt(_0x845d4b(0x1e3))/0xa);if(_0x2a5b52===_0x35b22e)break;else _0x17a0a9['push'](_0x17a0a9['shift']());}catch(_0x3c4c95){_0x17a0a9['push'](_0x17a0a9['shift']());}}}(_0x26e9,0x39dc7));import{ContextPlugin as _0x2bd884}from'ckeditor5/src/core.js';import{Collection as _0x38fb5f,CKEditorError as _0xc770ec}from'ckeditor5/src/utils.js';function _0x26e9(){const _0x5516ae=['connected','getUserRole','12319146frNJYA','remove','connection','10PSxaaa','mySessionId','orderNumber','clear','size','isMe','fire','get','context','254yLPdUO','Sessions','_registeredSessions','sessions-unregister-not-exist','7056XAGIbB','set','add','requires','plugins','pluginName','3346tMlpzr','1779296oSqKzv','unregister','sessionAdd:','_handleSessionRemove','init','change:state','isPremiumPlugin','user','listenTo','defineMe','hiddenInPresenceList','register','2122725odqpiG','state','getUserSessions','sessions-register-already-registered','_uniqueUsersCount','isOfficialPlugin','channelSessions','channelConnectedUsers','stopListening','forEach','1452420LpzqJA','921GtUnAF','_createUser','assign','_handleSessionAdd','delete','sessionId','has','_users','getUserBySessionId','getUser','121889TzVWcq','values','allConnectedUsers','addUser','role'];_0x26e9=function(){return _0x5516ae;};return _0x26e9();}import{WebSocketGateway as _0x25fe9d}from'./websocketgateway.js';import{Users as _0x1d0b9d}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2bd884{[_0x1bf3a0(0x1ca)];[_0x1bf3a0(0x1cb)];[_0x1bf3a0(0x1db)];[_0x1bf3a0(0x1af)];[_0x1bf3a0(0x1c8)];[_0x1bf3a0(0x1d6)];static get[_0x1bf3a0(0x1b6)](){const _0x54eaec=_0x1bf3a0;return _0x54eaec(0x1ae);}static get[_0x1bf3a0(0x1c9)](){return!0x0;}static get[_0x1bf3a0(0x1be)](){return!0x0;}static get[_0x1bf3a0(0x1b4)](){return[_0x25fe9d,_0x1d0b9d];}constructor(_0x51f321){const _0x10c411=_0x1bf3a0;super(_0x51f321),this[_0x10c411(0x1ca)]=new Map(),this[_0x10c411(0x1cb)]=new Map(),this[_0x10c411(0x1db)]=new _0x38fb5f(),this[_0x10c411(0x1af)]=new Map(),this[_0x10c411(0x1c8)]=0x0,this[_0x10c411(0x1d6)]=this[_0x10c411(0x1ac)][_0x10c411(0x1b5)][_0x10c411(0x1ab)](_0x1d0b9d);}[_0x1bf3a0(0x1bc)](){const _0x3c1e25=_0x1bf3a0,_0x4ad4a4=this[_0x3c1e25(0x1ac)][_0x3c1e25(0x1b5)][_0x3c1e25(0x1ab)](_0x25fe9d);this[_0x3c1e25(0x1c0)](_0x4ad4a4,_0x3c1e25(0x1bd),(_0x3cf907,_0x49042d,_0x5048eb)=>{const _0x51da32=_0x3c1e25;if(_0x51da32(0x1de)!==_0x5048eb)this[_0x51da32(0x1ca)][_0x51da32(0x1cd)](_0x1b552f=>_0x1b552f[_0x51da32(0x1a7)]()),this[_0x51da32(0x1cb)][_0x51da32(0x1cd)](_0x52679a=>_0x52679a[_0x51da32(0x1a7)]()),this[_0x51da32(0x1db)][_0x51da32(0x1a7)]();else{for(const [_0x2db384,_0x1b1634]of this[_0x51da32(0x1af)])for(const _0x45a4e7 of _0x1b1634)this[_0x51da32(0x1d2)](_0x2db384,_0x45a4e7);}}),this[_0x3c1e25(0x1d0)](_0x4ad4a4[_0x3c1e25(0x1e2)]['me'],!0x0);}[_0x1bf3a0(0x1c3)](_0x51142f,_0x35a7d6){const _0x23c227=_0x1bf3a0;if(this[_0x23c227(0x1af)][_0x23c227(0x1d5)](_0x51142f))throw new _0xc770ec(_0x23c227(0x1c7),null,{'channelId':_0x51142f});this[_0x23c227(0x1af)][_0x23c227(0x1b2)](_0x51142f,_0x35a7d6),this[_0x23c227(0x1ca)][_0x23c227(0x1b2)](_0x51142f,new _0x38fb5f()),this[_0x23c227(0x1cb)][_0x23c227(0x1b2)](_0x51142f,new _0x38fb5f()),this[_0x23c227(0x1c0)](_0x35a7d6,_0x23c227(0x1b3),(_0xd1d847,_0x59e78a)=>this[_0x23c227(0x1d2)](_0x51142f,_0x59e78a)),this[_0x23c227(0x1c0)](_0x35a7d6,_0x23c227(0x1e1),(_0x19cf75,_0x7f1e28)=>this[_0x23c227(0x1bb)](_0x51142f,_0x7f1e28));for(const _0x270c66 of _0x35a7d6)this[_0x23c227(0x1d2)](_0x51142f,_0x270c66);}[_0x1bf3a0(0x1b9)](_0x48f2c0){const _0x5a6ba9=_0x1bf3a0;if(!this[_0x5a6ba9(0x1af)][_0x5a6ba9(0x1d5)](_0x48f2c0))throw new _0xc770ec(_0x5a6ba9(0x1b0),null,{'channelId':_0x48f2c0});const _0x45cc75=this[_0x5a6ba9(0x1af)][_0x5a6ba9(0x1ab)](_0x48f2c0);this[_0x5a6ba9(0x1cc)](_0x45cc75);for(const _0x131a08 of _0x45cc75)_0x5a6ba9(0x1de)===this[_0x5a6ba9(0x1ac)][_0x5a6ba9(0x1b5)][_0x5a6ba9(0x1ab)](_0x25fe9d)[_0x5a6ba9(0x1c5)]&&this[_0x5a6ba9(0x1bb)](_0x48f2c0,_0x131a08);this[_0x5a6ba9(0x1af)][_0x5a6ba9(0x1d3)](_0x48f2c0),this[_0x5a6ba9(0x1ca)][_0x5a6ba9(0x1d3)](_0x48f2c0),this[_0x5a6ba9(0x1cb)][_0x5a6ba9(0x1d3)](_0x48f2c0);}get[_0x1bf3a0(0x1a5)](){const _0x3b0b36=_0x1bf3a0;return this[_0x3b0b36(0x1ac)][_0x3b0b36(0x1b5)][_0x3b0b36(0x1ab)](_0x25fe9d)[_0x3b0b36(0x1e2)][_0x3b0b36(0x1d4)];}[_0x1bf3a0(0x1d7)](_0x517b69){const _0x1e906b=_0x1bf3a0;for(const _0x55c9f3 of this[_0x1e906b(0x1ca)][_0x1e906b(0x1da)]())for(const _0x3da7a2 of _0x55c9f3)if(_0x3da7a2['id']===_0x517b69)return _0x3da7a2[_0x1e906b(0x1bf)];}[_0x1bf3a0(0x1c6)](_0x50f79b,_0x5f5a33){const _0x1a3d8c=_0x1bf3a0,_0x5424d=_0x5f5a33?[this[_0x1a3d8c(0x1ca)][_0x1a3d8c(0x1ab)](_0x5f5a33)]:this[_0x1a3d8c(0x1ca)][_0x1a3d8c(0x1da)](),_0xda1c21=new Set();for(const _0x3e9f7b of _0x5424d)for(const _0x17e860 of _0x3e9f7b)_0x17e860[_0x1a3d8c(0x1bf)]['id']===_0x50f79b['id']&&_0xda1c21[_0x1a3d8c(0x1b3)](_0x17e860['id']);return _0xda1c21;}[_0x1bf3a0(0x1df)](_0x235c35){const _0x1c5a96=_0x1bf3a0;for(const _0x555eda of this[_0x1c5a96(0x1ca)][_0x1c5a96(0x1da)]())for(const _0x534833 of _0x555eda)if(_0x534833[_0x1c5a96(0x1bf)]===_0x235c35)return _0x534833[_0x1c5a96(0x1dd)];}[_0x1bf3a0(0x1d2)](_0x37ed26,_0x1c2496){const _0x4bceb6=_0x1bf3a0;if(_0x4bceb6(0x1de)!==this[_0x4bceb6(0x1ac)][_0x4bceb6(0x1b5)][_0x4bceb6(0x1ab)](_0x25fe9d)[_0x4bceb6(0x1c5)])return;const _0x2aadc2=_0x1c2496[_0x4bceb6(0x1bf)],_0x2d6deb=this[_0x4bceb6(0x1d6)][_0x4bceb6(0x1d8)](_0x2aadc2['id'])||this[_0x4bceb6(0x1d0)](_0x2aadc2),_0x475167=Object[_0x4bceb6(0x1d1)]({},_0x1c2496,{'user':_0x2d6deb});if(this[_0x4bceb6(0x1ca)][_0x4bceb6(0x1ab)](_0x37ed26)[_0x4bceb6(0x1b3)](_0x475167),!_0x2aadc2[_0x4bceb6(0x1c2)]){const _0x4cbf75=this[_0x4bceb6(0x1cb)][_0x4bceb6(0x1ab)](_0x37ed26);_0x4cbf75[_0x4bceb6(0x1d5)](_0x2d6deb['id'])||_0x4cbf75[_0x4bceb6(0x1b3)](_0x2d6deb),this[_0x4bceb6(0x1db)][_0x4bceb6(0x1d5)](_0x2d6deb['id'])||_0x2aadc2[_0x4bceb6(0x1c2)]||this[_0x4bceb6(0x1db)][_0x4bceb6(0x1b3)](_0x2d6deb,_0x2d6deb[_0x4bceb6(0x1a9)]?0x0:void 0x0);}this[_0x4bceb6(0x1aa)](_0x4bceb6(0x1ba)+_0x37ed26,{'channelId':_0x37ed26,'session':_0x475167});}[_0x1bf3a0(0x1bb)](_0x1f999c,_0x48fad1){const _0x5ca53c=_0x1bf3a0;if(_0x5ca53c(0x1de)!==this[_0x5ca53c(0x1ac)][_0x5ca53c(0x1b5)][_0x5ca53c(0x1ab)](_0x25fe9d)[_0x5ca53c(0x1c5)])return;const _0x4cefef=this[_0x5ca53c(0x1cb)][_0x5ca53c(0x1ab)](_0x1f999c),_0x62381f=_0x48fad1[_0x5ca53c(0x1bf)];_0x62381f['id']&&(this[_0x5ca53c(0x1ca)][_0x5ca53c(0x1ab)](_0x1f999c)[_0x5ca53c(0x1e1)](_0x48fad1['id']),_0x4cefef[_0x5ca53c(0x1d5)](_0x62381f['id'])&&!this[_0x5ca53c(0x1c6)](_0x62381f,_0x1f999c)[_0x5ca53c(0x1a8)]&&_0x4cefef[_0x5ca53c(0x1e1)](_0x62381f['id']),this[_0x5ca53c(0x1db)][_0x5ca53c(0x1ab)](_0x62381f['id'])&&!this[_0x5ca53c(0x1c6)](_0x62381f)[_0x5ca53c(0x1a8)]&&this[_0x5ca53c(0x1db)][_0x5ca53c(0x1e1)](_0x62381f['id']));}[_0x1bf3a0(0x1d0)](_0xbdab7b,_0xdcd15b){const _0x229131=_0x1bf3a0,_0x224d6f=this[_0x229131(0x1d6)][_0x229131(0x1dc)](_0xbdab7b);return _0xdcd15b&&this[_0x229131(0x1d6)][_0x229131(0x1c1)](_0xbdab7b['id']),_0x224d6f[_0x229131(0x1a6)]=this[_0x229131(0x1c8)]++,_0x224d6f;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3c33(){const _0x3024e3=['change','isInline','isObject','Escape','_domEmitter','name','destroy','stopListening','3267126QfMXBh','end','rootName','classList','span','setCustomProperty','markerName','getNearestSelectionRange','createElement','ck-user__selection','document','getRange','isDocumentOperation','marker','hasContent','split','updateMarker','enqueueChange','batch','tableCell','markerRange','892967YKrTpN','681357YBoNIn','set','isPremiumPlugin','type','2010272Rrciix','innerHTML','color','getContainedElement','oldRange','spellcheck','editing','user:position','size','commands','hasDomSelection','setAttribute','mySessionId','reconvertMarker','isLimit','markers','data-session-id','getPositions','highest','clear','editor','createUserMarkerOperations','parent','afterInit','conversion','render','deletionPosition','$graveyard','fromRange','mouseenter','12614616cLyZsP','addMarker','toRange','change:range','isSimilar','user:range:','toDomElement','ck-user__marker_hovered','removeMarker','getFirstRange','selection','view','user:range','newRange','applyOperation','nodeAfter','isCollapsed','createUIElement','for','remove','startsWith','markerToElement','getAttribute','element','schema','UserMarkers','contenteditable','checkChild','getCustomProperty','editingDowncast','17350056sKhxKY','createRange','update:user:range','has','detach','undo','getSelectionClass','mapper','userPositionMarker','mouseleave','addEventListener','getStart','requires','removeClass','getMarkerClass','root','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','_createdBatches','orderNumber','model','delete','listenTo','markerToHighlight','start','10RPbGBs','textContent','ck-user__marker-tooltip','get','isOfficialPlugin','false','plugins','outerHTML','init','getUserBySessionId','markerNameToElements','1500774qeixCW','keydown','user:position:','$text','user:','add','32WZCdOX','pluginName','ck-user__marker\x20'];_0x3c33=function(){return _0x3024e3;};return _0x3c33();}function _0x3527(_0x467a12,_0xcf9f3c){const _0x3c33e1=_0x3c33();return _0x3527=function(_0x3527e1,_0x3445c3){_0x3527e1=_0x3527e1-0x16e;let _0x2815fa=_0x3c33e1[_0x3527e1];return _0x2815fa;},_0x3527(_0x467a12,_0xcf9f3c);}const _0x581e5e=_0x3527;(function(_0xb3146d,_0x240403){const _0x340d80=_0x3527,_0x226d02=_0xb3146d();while(!![]){try{const _0x137e9c=parseInt(_0x340d80(0x193))/0x1+-parseInt(_0x340d80(0x17e))/0x2+-parseInt(_0x340d80(0x194))/0x3*(parseInt(_0x340d80(0x173))/0x4)+-parseInt(_0x340d80(0x1ec))/0x5*(parseInt(_0x340d80(0x1f7))/0x6)+parseInt(_0x340d80(0x1b6))/0x7+parseInt(_0x340d80(0x198))/0x8+parseInt(_0x340d80(0x1d4))/0x9;if(_0x137e9c===_0x240403)break;else _0x226d02['push'](_0x226d02['shift']());}catch(_0x5870b0){_0x226d02['push'](_0x226d02['shift']());}}}(_0x3c33,0xe16d6));import{Plugin as _0x2a19e5}from'ckeditor5/src/core.js';import{global as _0x369916,DomEmitterMixin as _0x105b5f}from'ckeditor5/src/utils.js';import{Sessions as _0x4c7916}from'./sessions.js';import{ModelLiveRange as _0x19c483}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2a19e5{[_0x581e5e(0x17a)]=new(_0x105b5f())();static get[_0x581e5e(0x1e0)](){return[_0x4c7916];}static get[_0x581e5e(0x174)](){const _0x786022=_0x581e5e;return _0x786022(0x1cf);}static get[_0x581e5e(0x1f0)](){return!0x0;}static get[_0x581e5e(0x196)](){return!0x0;}[_0x581e5e(0x1f4)](){const _0x505ba8=_0x581e5e,_0x4d1aa5=this[_0x505ba8(0x1ac)],_0x398f64=_0x4d1aa5[_0x505ba8(0x1f2)][_0x505ba8(0x1ef)](_0x4c7916);_0x4d1aa5[_0x505ba8(0x1b0)][_0x505ba8(0x1c8)](_0x505ba8(0x1d3))[_0x505ba8(0x1cb)]({'model':_0x505ba8(0x19f),'view':(_0x18bb07,{writer:_0x17f9fe})=>function(_0x476ab6,_0x2e37ba,_0x2980d9,_0x3e5ede){const _0x4269af=_0x505ba8,_0x4e6a36=_0x476ab6[_0x4269af(0x184)][_0x4269af(0x18d)](':')[0x2],_0x2a125f=_0x2980d9[_0x4269af(0x1f5)](_0x4e6a36);if(!_0x2a125f||_0x4e6a36===_0x2980d9[_0x4269af(0x1a4)])return;if(!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)][_0x4269af(0x1d1)](_0x476ab6[_0x4269af(0x192)][_0x4269af(0x1eb)],_0x4269af(0x170)))return;const _0x1c2b61={'class':_0x4269af(0x175)+_0x2a125f[_0x4269af(0x19a)][_0x4269af(0x1e2)](),'data-name':_0x2a125f[_0x4269af(0x17b)],'data-session-id':_0x4e6a36},_0x50e671=_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1a7)][_0x4269af(0x1ef)](_0x476ab6[_0x4269af(0x184)]),_0x2f4d0c=_0x50e671[_0x4269af(0x1df)](),_0x3c0426=_0x2f4d0c[_0x4269af(0x1c5)],_0x2f3b0d=_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)];if(_0x3c0426&&_0x2f3b0d[_0x4269af(0x178)](_0x3c0426)&&_0x2f3b0d[_0x4269af(0x177)](_0x3c0426)&&!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1a7)][_0x4269af(0x1ef)](_0x4269af(0x1bb)+_0x4e6a36)[_0x4269af(0x189)]()[_0x4269af(0x1c6)])return;const _0x7979ba=_0x2f4d0c[_0x4269af(0x1ae)];return _0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)][_0x4269af(0x1a6)](_0x7979ba)&&!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x18c)](_0x7979ba)&&(_0x1c2b61[_0x4269af(0x1d0)]=!0x1),function(_0x506c9d,_0x57251a,_0xbe5b49){const _0x3a9b7d=_0x4269af,_0x1ea753=_0x506c9d[_0x3a9b7d(0x1c7)](_0x3a9b7d(0x182),_0x57251a);return _0x506c9d[_0x3a9b7d(0x183)](_0x3a9b7d(0x1dc),!0x0,_0x1ea753),_0x1ea753[_0x3a9b7d(0x1b1)]=function(_0x1940d8){const _0x3d667f=_0x3a9b7d,_0x2d5f74=this[_0x3d667f(0x1bc)](_0x1940d8),_0x4a8439=document[_0x3d667f(0x186)](_0x3d667f(0x182));return _0x4a8439[_0x3d667f(0x181)][_0x3d667f(0x172)](_0x3d667f(0x1ee)),_0x4a8439[_0x3d667f(0x1a3)](_0x3d667f(0x1d0),_0x3d667f(0x1f1)),_0x4a8439[_0x3d667f(0x1a3)](_0x3d667f(0x19d),_0x3d667f(0x1f1)),_0x4a8439[_0x3d667f(0x1ed)]=_0xbe5b49[_0x3d667f(0x17b)],_0x2d5f74[_0x3d667f(0x199)]=_0x3d667f(0x1e4)+_0x4a8439[_0x3d667f(0x1f3)]+'',_0x2d5f74[_0x3d667f(0x1de)](_0x3d667f(0x1b5),()=>{const _0x4b55a6=_0x3d667f;_0x2d5f74[_0x4b55a6(0x181)][_0x4b55a6(0x172)](_0x4b55a6(0x1bd));}),_0x2d5f74[_0x3d667f(0x1de)](_0x3d667f(0x1dd),()=>{const _0x5573f6=_0x3d667f;_0x2d5f74[_0x5573f6(0x181)][_0x5573f6(0x1c9)](_0x5573f6(0x1bd));}),_0x2d5f74;},_0x1ea753[_0x3a9b7d(0x1ba)]=function(_0x3188a2){const _0x2f0bdb=_0x3a9b7d;return!(!this[_0x2f0bdb(0x1d2)](_0x2f0bdb(0x1dc))||!_0x3188a2[_0x2f0bdb(0x1d2)](_0x2f0bdb(0x1dc))||this[_0x2f0bdb(0x1cc)](_0x2f0bdb(0x1a8))!=_0x3188a2[_0x2f0bdb(0x1cc)](_0x2f0bdb(0x1a8)));},_0x1ea753;}(_0x2e37ba,_0x1c2b61,_0x2a125f);}(_0x18bb07,_0x17f9fe,_0x398f64,_0x4d1aa5)}),_0x4d1aa5[_0x505ba8(0x1b0)][_0x505ba8(0x1c8)](_0x505ba8(0x1d3))[_0x505ba8(0x1ea)]({'model':_0x505ba8(0x1c2),'view':_0x3eab43=>function(_0x3a9248,_0x325319){const _0x54aa04=_0x505ba8,_0xda1a1d=_0x3a9248[_0x54aa04(0x184)][_0x54aa04(0x18d)](':')[0x2];if(_0xda1a1d===_0x325319[_0x54aa04(0x1a4)])return null;const _0x1467bf=_0x325319[_0x54aa04(0x1f5)](_0xda1a1d);if(!_0x1467bf)return{'id':_0xda1a1d,'classes':[]};return{'id':_0xda1a1d,'classes':[_0x54aa04(0x187),_0x1467bf[_0x54aa04(0x19a)][_0x54aa04(0x1da)]()],'attributes':{'data-session-id':_0xda1a1d},'priority':0x7d0+_0x1467bf[_0x54aa04(0x1e6)]};}(_0x3eab43,_0x398f64)}),function(_0x28aa25){const _0x5a608e=_0x505ba8,_0x5a9587=_0x28aa25[_0x5a608e(0x1e7)],_0x18e62d=new Map(),_0x378110=_0x28aa25[_0x5a608e(0x1f2)][_0x5a608e(0x1ef)](_0x4c7916);_0x5a9587[_0x5a608e(0x1a7)]['on'](_0x5a608e(0x1d6),(_0xfa9eeb,_0x4b01ec,_0x2919bb,_0x380479)=>{const _0x4fafec=_0x5a608e;if(!_0x380479&&_0x18e62d[_0x4fafec(0x1ef)](_0x4b01ec[_0x4fafec(0x17b)]))return _0x18e62d[_0x4fafec(0x1ef)](_0x4b01ec[_0x4fafec(0x17b)])[_0x4fafec(0x1d8)](),void _0x18e62d[_0x4fafec(0x1e8)](_0x4b01ec[_0x4fafec(0x17b)]);const _0x405b31=_0x4b01ec[_0x4fafec(0x17b)][_0x4fafec(0x18d)](':')[0x2];if(_0x405b31===_0x378110[_0x4fafec(0x1a4)])return;const _0x30c23a=_0x4fafec(0x16f)+_0x405b31;_0x5a9587[_0x4fafec(0x1a7)][_0x4fafec(0x1d7)](_0x30c23a)&&_0x28aa25[_0x4fafec(0x19e)][_0x4fafec(0x1a5)](_0x30c23a),_0x4b01ec['on'](_0x4fafec(0x1b9),(_0x3fb7c4,_0x2f0e64,_0x445230)=>{const _0x5e0487=_0x4fafec;if(_0x5e0487(0x1b3)!=_0x2f0e64[_0x5e0487(0x1e3)][_0x5e0487(0x180)]&&_0x5e0487(0x1b3)==_0x4b01ec[_0x5e0487(0x189)]()[_0x5e0487(0x1e3)][_0x5e0487(0x180)]&&!_0x18e62d[_0x5e0487(0x1d7)](_0x4b01ec[_0x5e0487(0x17b)])){const _0x3a9492=_0x5a9587[_0x5e0487(0x1ce)][_0x5e0487(0x185)](_0x445230[_0x5e0487(0x1b2)]);if(_0x3a9492){const _0x3e6889=_0x19c483[_0x5e0487(0x1b4)](_0x3a9492);_0x18e62d[_0x5e0487(0x195)](_0x4b01ec[_0x5e0487(0x17b)],_0x3e6889),_0x3e6889['on'](_0x5e0487(0x1b9),(_0x44c87f,_0x799d1f,_0x794ddc)=>{const _0x463c44=_0x5e0487;if(_0x463c44(0x1b3)==_0x3e6889[_0x463c44(0x1e3)][_0x463c44(0x180)]){const _0x26c643=_0x5a9587[_0x463c44(0x1ce)][_0x463c44(0x185)](_0x794ddc[_0x463c44(0x1b2)]);_0x26c643?(_0x3e6889[_0x463c44(0x1eb)]=_0x26c643[_0x463c44(0x1eb)],_0x3e6889[_0x463c44(0x17f)]=_0x26c643[_0x463c44(0x17f)]):(_0x18e62d[_0x463c44(0x1e8)](_0x4b01ec[_0x463c44(0x17b)]),_0x3e6889[_0x463c44(0x1d8)]());}});}}});}),_0x5a9587[_0x5a608e(0x188)]['on'](_0x5a608e(0x176),()=>{const _0x42c05d=_0x5a608e;_0x18e62d[_0x42c05d(0x1a0)]>0x0&&_0x5a9587[_0x42c05d(0x18f)]({'isUndoable':!0x1},_0x575822=>{const _0x3760ab=_0x42c05d;for(const [_0x2b8a91,_0x4d865e]of _0x18e62d)_0x3760ab(0x1b3)==_0x5a9587[_0x3760ab(0x1a7)][_0x3760ab(0x1ef)](_0x2b8a91)[_0x3760ab(0x189)]()[_0x3760ab(0x1e3)][_0x3760ab(0x180)]&&(Z(_0x2b8a91[_0x3760ab(0x18d)](':')[0x2],_0x4d865e[_0x3760ab(0x1b8)](),_0x5a9587,_0x575822),_0x4d865e[_0x3760ab(0x1d8)]());_0x18e62d[_0x3760ab(0x1ab)]();});});}(_0x4d1aa5),this[_0x505ba8(0x17a)][_0x505ba8(0x1e9)](_0x369916[_0x505ba8(0x188)],_0x505ba8(0x16e),(_0x503fc3,{key:_0x3bfd56})=>{const _0x4daeaf=_0x505ba8;_0x4daeaf(0x179)===_0x3bfd56&&function(_0x3ed013){const _0x2937d6=_0x4daeaf;_0x3ed013[_0x2937d6(0x19e)][_0x2937d6(0x1c1)][_0x2937d6(0x176)](_0x250997=>{const _0x441cb6=_0x2937d6;for(const _0x41453c of _0x3ed013[_0x441cb6(0x1e7)][_0x441cb6(0x1a7)]){if(!_0x41453c[_0x441cb6(0x17b)][_0x441cb6(0x1ca)](_0x441cb6(0x19f)))continue;const _0x45384c=_0x3ed013[_0x441cb6(0x19e)][_0x441cb6(0x1db)][_0x441cb6(0x1f6)](_0x41453c[_0x441cb6(0x17b)]);if(_0x45384c){for(const _0x3628d8 of _0x45384c)_0x250997[_0x441cb6(0x1e1)](_0x441cb6(0x1bd),_0x3628d8);}}});}(_0x4d1aa5);},{'useCapture':!0x0});}[_0x581e5e(0x1af)](){const _0x1f4376=_0x581e5e,_0x5b1a21=this[_0x1f4376(0x1ac)],_0x4fd8f2=_0x5b1a21[_0x1f4376(0x1a1)][_0x1f4376(0x1ef)](_0x1f4376(0x1d9));_0x4fd8f2&&_0x5b1a21[_0x1f4376(0x1e7)]['on'](_0x1f4376(0x1c4),(_0x56e71e,_0x3266ac)=>{const _0x3fe465=_0x1f4376,_0x659d3e=_0x3266ac[0x0];if(!_0x659d3e[_0x3fe465(0x18a)])return;if(_0x3fe465(0x18b)!=_0x659d3e[_0x3fe465(0x197)]||!_0x659d3e[_0x3fe465(0x17b)][_0x3fe465(0x1ca)](_0x3fe465(0x171)))return;const _0x3b3ca0=_0x659d3e[_0x3fe465(0x190)];_0x4fd8f2[_0x3fe465(0x1e5)][_0x3fe465(0x1d7)](_0x3b3ca0)&&(_0x659d3e[_0x3fe465(0x1c3)]=_0x659d3e[_0x3fe465(0x19c)]?_0x5b1a21[_0x3fe465(0x1e7)][_0x3fe465(0x1d5)](_0x659d3e[_0x3fe465(0x19c)][_0x3fe465(0x1eb)],_0x659d3e[_0x3fe465(0x19c)][_0x3fe465(0x17f)]):null);},{'priority':_0x1f4376(0x1aa)});}[_0x581e5e(0x17c)](){const _0x1176eb=_0x581e5e;return this[_0x1176eb(0x17a)][_0x1176eb(0x17d)](),super[_0x1176eb(0x17c)]();}[_0x581e5e(0x1ad)](){const _0x2aa289=_0x581e5e,_0x3b241a=this[_0x2aa289(0x1ac)],_0x546e5f=_0x3b241a[_0x2aa289(0x1e7)][_0x2aa289(0x188)],_0x2480be=_0x3b241a[_0x2aa289(0x1f2)][_0x2aa289(0x1ef)](_0x4c7916);_0x3b241a[_0x2aa289(0x1e7)][_0x2aa289(0x18f)]({'isUndoable':!0x1},_0x3e60e2=>{const _0x107efd=_0x2aa289,_0xad21f1=_0x107efd(0x1bb)+_0x2480be[_0x107efd(0x1a4)],_0x10a419=_0x107efd(0x16f)+_0x2480be[_0x107efd(0x1a4)],_0x139847=_0x3b241a[_0x107efd(0x1e7)][_0x107efd(0x1a7)][_0x107efd(0x1d7)](_0xad21f1);_0x3b241a[_0x107efd(0x19e)][_0x107efd(0x1c1)][_0x107efd(0x1a2)]?Z(_0x2480be[_0x107efd(0x1a4)],_0x546e5f[_0x107efd(0x1c0)][_0x107efd(0x1bf)](),_0x3b241a[_0x107efd(0x1e7)],_0x3e60e2):_0x139847&&(_0x3e60e2[_0x107efd(0x1be)](_0xad21f1),_0x3e60e2[_0x107efd(0x1be)](_0x10a419));});}}function Z(_0x271a9b,_0x2d16d6,_0x60d5fd,_0x3a35d5){const _0x415d49=_0x581e5e,_0x50fc2a=_0x415d49(0x1bb)+_0x271a9b,_0x3a8c79=_0x415d49(0x16f)+_0x271a9b,_0x634e19=_0x2d16d6[_0x415d49(0x19b)]();let _0x45aea9=_0x2d16d6[_0x415d49(0x1eb)];if(_0x634e19&&_0x634e19['is'](_0x415d49(0x1cd),_0x415d49(0x191))){const _0x332c63=function(_0x5b9b27,_0x47af7a){const _0x4946fc=_0x415d49;for(const _0x19c0aa of _0x5b9b27[_0x4946fc(0x1a9)]())if(_0x47af7a[_0x4946fc(0x1ce)][_0x4946fc(0x1d1)](_0x19c0aa,_0x4946fc(0x170)))return _0x19c0aa;}(_0x2d16d6,_0x60d5fd);_0x332c63&&(_0x45aea9=_0x332c63,_0x2d16d6=_0x3a35d5[_0x415d49(0x1d5)](_0x45aea9));}const _0x3c803a=_0x3a35d5[_0x415d49(0x1d5)](_0x45aea9);_0x60d5fd[_0x415d49(0x1a7)][_0x415d49(0x1d7)](_0x50fc2a)?(_0x3a35d5[_0x415d49(0x18e)](_0x50fc2a,{'range':_0x2d16d6}),_0x3a35d5[_0x415d49(0x18e)](_0x3a8c79,{'range':_0x3c803a})):(_0x3a35d5[_0x415d49(0x1b7)](_0x50fc2a,{'range':_0x2d16d6,'usingOperation':!0x0}),_0x3a35d5[_0x415d49(0x1b7)](_0x3a8c79,{'range':_0x3c803a,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x1e7cf5=_0x6f7f;(function(_0x32c436,_0xf5de86){const _0x364885=_0x6f7f,_0x1fd280=_0x32c436();while(!![]){try{const _0x1bf9e3=parseInt(_0x364885(0x148))/0x1*(-parseInt(_0x364885(0x178))/0x2)+parseInt(_0x364885(0x1ac))/0x3*(parseInt(_0x364885(0x165))/0x4)+-parseInt(_0x364885(0x1bc))/0x5*(parseInt(_0x364885(0x1b4))/0x6)+-parseInt(_0x364885(0x1a8))/0x7+-parseInt(_0x364885(0x1a7))/0x8+parseInt(_0x364885(0x145))/0x9*(parseInt(_0x364885(0x191))/0xa)+parseInt(_0x364885(0x1aa))/0xb;if(_0x1bf9e3===_0xf5de86)break;else _0x1fd280['push'](_0x1fd280['shift']());}catch(_0x1cab77){_0x1fd280['push'](_0x1fd280['shift']());}}}(_0xef81,0xc6932));function _0xef81(){const _0x42ce2a=['removeClass','user:position','name','57010vxZaWP','fromRange','getUserBySessionId','add','nodeAfter','data-session-id','user:','getSelectionClass','editing','mouseleave','outerHTML','getAttribute','addEventListener','updateMarker','reconvertMarker','hasDomSelection','isCollapsed','user:range','type','getFirstRange','clear','setAttribute','12043704cFFhIM','9220582tqAMvo','user:position:','49273169wByxli','afterInit','39eKMYwg','root','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','UserMarkers','isLimit','view','$graveyard','change:range','1308egpXyX','set','keydown','ck-user__marker\x20','markerNameToElements','_domEmitter','marker','getStart','2745PZtwea','init','getContainedElement','createElement','removeMarker','markerName','remove','isInline','Escape','toRange','toDomElement','checkChild','createRange','delete','change','$text','plugins','document','getNearestSelectionRange','stopListening','textContent','522aSlYTx','hasContent','color','11WnRVqF','rootName','classList','mapper','render','detach','undo','innerHTML','setCustomProperty','userPositionMarker','oldRange','getPositions','isDocumentOperation','size','conversion','markerRange','pluginName','startsWith','_createdBatches','getCustomProperty','addMarker','parent','ck-user__marker-tooltip','isSimilar','getRange','start','createUIElement','user:range:','highest','85452UuzKyL','ck-user__selection','get','orderNumber','split','editor','for','markerToElement','spellcheck','element','isPremiumPlugin','schema','commands','applyOperation','deletionPosition','end','tableCell','createUserMarkerOperations','newRange','242186nbCjbo','model','ck-user__marker_hovered','listenTo','mySessionId','mouseenter','requires','has','selection','span','getMarkerClass','markerToHighlight','enqueueChange','isOfficialPlugin','isObject','contenteditable','batch','markers','update:user:range','editingDowncast','false','destroy'];_0xef81=function(){return _0x42ce2a;};return _0xef81();}import{Plugin as _0x436e1c}from'ckeditor5/src/core.js';function _0x6f7f(_0x1b15a4,_0x3b81cc){const _0xef81f7=_0xef81();return _0x6f7f=function(_0x6f7f5b,_0x41f4b0){_0x6f7f5b=_0x6f7f5b-0x145;let _0x5358f0=_0xef81f7[_0x6f7f5b];return _0x5358f0;},_0x6f7f(_0x1b15a4,_0x3b81cc);}import{global as _0x1708e6,DomEmitterMixin as _0x45e844}from'ckeditor5/src/utils.js';import{Sessions as _0x12392b}from'./sessions.js';import{ModelLiveRange as _0x57f31e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x436e1c{[_0x1e7cf5(0x1b9)]=new(_0x45e844())();static get[_0x1e7cf5(0x17e)](){return[_0x12392b];}static get[_0x1e7cf5(0x158)](){const _0x92382b=_0x1e7cf5;return _0x92382b(0x1af);}static get[_0x1e7cf5(0x185)](){return!0x0;}static get[_0x1e7cf5(0x16f)](){return!0x0;}[_0x1e7cf5(0x1bd)](){const _0x31650e=_0x1e7cf5,_0x54f4bb=this[_0x31650e(0x16a)],_0x5221f1=_0x54f4bb[_0x31650e(0x1cc)][_0x31650e(0x167)](_0x12392b);_0x54f4bb[_0x31650e(0x156)][_0x31650e(0x16b)](_0x31650e(0x18b))[_0x31650e(0x16c)]({'model':_0x31650e(0x18f),'view':(_0x3b5263,{writer:_0x1f27ba})=>function(_0x3c46b6,_0x178c31,_0x2c73e0,_0x3435ad){const _0x4f9cbd=_0x31650e,_0x3e5643=_0x3c46b6[_0x4f9cbd(0x1c1)][_0x4f9cbd(0x169)](':')[0x2],_0x15e17a=_0x2c73e0[_0x4f9cbd(0x193)](_0x3e5643);if(!_0x15e17a||_0x3e5643===_0x2c73e0[_0x4f9cbd(0x17c)])return;if(!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)][_0x4f9cbd(0x1c7)](_0x3c46b6[_0x4f9cbd(0x157)][_0x4f9cbd(0x161)],_0x4f9cbd(0x1cb)))return;const _0x17ac88={'class':_0x4f9cbd(0x1b7)+_0x15e17a[_0x4f9cbd(0x147)][_0x4f9cbd(0x182)](),'data-name':_0x15e17a[_0x4f9cbd(0x190)],'data-session-id':_0x3e5643},_0x39b811=_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x189)][_0x4f9cbd(0x167)](_0x3c46b6[_0x4f9cbd(0x1c1)]),_0x4df153=_0x39b811[_0x4f9cbd(0x1bb)](),_0x37a818=_0x4df153[_0x4f9cbd(0x195)],_0x5b214c=_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)];if(_0x37a818&&_0x5b214c[_0x4f9cbd(0x186)](_0x37a818)&&_0x5b214c[_0x4f9cbd(0x1c3)](_0x37a818)&&!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x189)][_0x4f9cbd(0x167)](_0x4f9cbd(0x163)+_0x3e5643)[_0x4f9cbd(0x160)]()[_0x4f9cbd(0x1a1)])return;const _0x55b061=_0x4df153[_0x4f9cbd(0x15d)];return _0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)][_0x4f9cbd(0x1b0)](_0x55b061)&&!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x146)](_0x55b061)&&(_0x17ac88[_0x4f9cbd(0x187)]=!0x1),function(_0xcd6794,_0x11f921,_0x497e96){const _0x2ea5cf=_0x4f9cbd,_0x385727=_0xcd6794[_0x2ea5cf(0x162)](_0x2ea5cf(0x181),_0x11f921);return _0xcd6794[_0x2ea5cf(0x150)](_0x2ea5cf(0x151),!0x0,_0x385727),_0x385727[_0x2ea5cf(0x14c)]=function(_0x3afe4a){const _0x1b17ae=_0x2ea5cf,_0x45d4b2=this[_0x1b17ae(0x1c6)](_0x3afe4a),_0x4362cb=document[_0x1b17ae(0x1bf)](_0x1b17ae(0x181));return _0x4362cb[_0x1b17ae(0x14a)][_0x1b17ae(0x194)](_0x1b17ae(0x15e)),_0x4362cb[_0x1b17ae(0x1a6)](_0x1b17ae(0x187),_0x1b17ae(0x18c)),_0x4362cb[_0x1b17ae(0x1a6)](_0x1b17ae(0x16d),_0x1b17ae(0x18c)),_0x4362cb[_0x1b17ae(0x1d0)]=_0x497e96[_0x1b17ae(0x190)],_0x45d4b2[_0x1b17ae(0x14f)]=_0x1b17ae(0x1ae)+_0x4362cb[_0x1b17ae(0x19b)]+'',_0x45d4b2[_0x1b17ae(0x19d)](_0x1b17ae(0x17d),()=>{const _0x6f042=_0x1b17ae;_0x45d4b2[_0x6f042(0x14a)][_0x6f042(0x194)](_0x6f042(0x17a));}),_0x45d4b2[_0x1b17ae(0x19d)](_0x1b17ae(0x19a),()=>{const _0x5d2e87=_0x1b17ae;_0x45d4b2[_0x5d2e87(0x14a)][_0x5d2e87(0x1c2)](_0x5d2e87(0x17a));}),_0x45d4b2;},_0x385727[_0x2ea5cf(0x15f)]=function(_0x43d33f){const _0x1935e3=_0x2ea5cf;return!(!this[_0x1935e3(0x15b)](_0x1935e3(0x151))||!_0x43d33f[_0x1935e3(0x15b)](_0x1935e3(0x151))||this[_0x1935e3(0x19c)](_0x1935e3(0x196))!=_0x43d33f[_0x1935e3(0x19c)](_0x1935e3(0x196)));},_0x385727;}(_0x178c31,_0x17ac88,_0x15e17a);}(_0x3b5263,_0x1f27ba,_0x5221f1,_0x54f4bb)}),_0x54f4bb[_0x31650e(0x156)][_0x31650e(0x16b)](_0x31650e(0x18b))[_0x31650e(0x183)]({'model':_0x31650e(0x1a2),'view':_0x4d37ee=>function(_0x4d8502,_0x596198){const _0x5d2160=_0x31650e,_0x241130=_0x4d8502[_0x5d2160(0x1c1)][_0x5d2160(0x169)](':')[0x2];if(_0x241130===_0x596198[_0x5d2160(0x17c)])return null;const _0xd6b8bc=_0x596198[_0x5d2160(0x193)](_0x241130);if(!_0xd6b8bc)return{'id':_0x241130,'classes':[]};return{'id':_0x241130,'classes':[_0x5d2160(0x166),_0xd6b8bc[_0x5d2160(0x147)][_0x5d2160(0x198)]()],'attributes':{'data-session-id':_0x241130},'priority':0x7d0+_0xd6b8bc[_0x5d2160(0x168)]};}(_0x4d37ee,_0x5221f1)}),function(_0x50c4d1){const _0x582caf=_0x31650e,_0x176abc=_0x50c4d1[_0x582caf(0x179)],_0x526b34=new Map(),_0x5123e8=_0x50c4d1[_0x582caf(0x1cc)][_0x582caf(0x167)](_0x12392b);_0x176abc[_0x582caf(0x189)]['on'](_0x582caf(0x18a),(_0x1230d3,_0x657e27,_0x1cfd74,_0x59ee45)=>{const _0x546653=_0x582caf;if(!_0x59ee45&&_0x526b34[_0x546653(0x167)](_0x657e27[_0x546653(0x190)]))return _0x526b34[_0x546653(0x167)](_0x657e27[_0x546653(0x190)])[_0x546653(0x14d)](),void _0x526b34[_0x546653(0x1c9)](_0x657e27[_0x546653(0x190)]);const _0x525503=_0x657e27[_0x546653(0x190)][_0x546653(0x169)](':')[0x2];if(_0x525503===_0x5123e8[_0x546653(0x17c)])return;const _0x10b1d9=_0x546653(0x1a9)+_0x525503;_0x176abc[_0x546653(0x189)][_0x546653(0x17f)](_0x10b1d9)&&_0x50c4d1[_0x546653(0x199)][_0x546653(0x19f)](_0x10b1d9),_0x657e27['on'](_0x546653(0x1b3),(_0x54a0ca,_0x43ae93,_0x157c37)=>{const _0x18afd2=_0x546653;if(_0x18afd2(0x1b2)!=_0x43ae93[_0x18afd2(0x1ad)][_0x18afd2(0x149)]&&_0x18afd2(0x1b2)==_0x657e27[_0x18afd2(0x160)]()[_0x18afd2(0x1ad)][_0x18afd2(0x149)]&&!_0x526b34[_0x18afd2(0x17f)](_0x657e27[_0x18afd2(0x190)])){const _0x5e8689=_0x176abc[_0x18afd2(0x170)][_0x18afd2(0x1ce)](_0x157c37[_0x18afd2(0x173)]);if(_0x5e8689){const _0x2056f4=_0x57f31e[_0x18afd2(0x192)](_0x5e8689);_0x526b34[_0x18afd2(0x1b5)](_0x657e27[_0x18afd2(0x190)],_0x2056f4),_0x2056f4['on'](_0x18afd2(0x1b3),(_0x346519,_0x53c102,_0x49b99c)=>{const _0x4b07bc=_0x18afd2;if(_0x4b07bc(0x1b2)==_0x2056f4[_0x4b07bc(0x1ad)][_0x4b07bc(0x149)]){const _0x3c70ca=_0x176abc[_0x4b07bc(0x170)][_0x4b07bc(0x1ce)](_0x49b99c[_0x4b07bc(0x173)]);_0x3c70ca?(_0x2056f4[_0x4b07bc(0x161)]=_0x3c70ca[_0x4b07bc(0x161)],_0x2056f4[_0x4b07bc(0x174)]=_0x3c70ca[_0x4b07bc(0x174)]):(_0x526b34[_0x4b07bc(0x1c9)](_0x657e27[_0x4b07bc(0x190)]),_0x2056f4[_0x4b07bc(0x14d)]());}});}}});}),_0x176abc[_0x582caf(0x1cd)]['on'](_0x582caf(0x1ca),()=>{const _0x5b4ba8=_0x582caf;_0x526b34[_0x5b4ba8(0x155)]>0x0&&_0x176abc[_0x5b4ba8(0x184)]({'isUndoable':!0x1},_0x141c29=>{const _0xa84190=_0x5b4ba8;for(const [_0x59c22f,_0x32ba7b]of _0x526b34)_0xa84190(0x1b2)==_0x176abc[_0xa84190(0x189)][_0xa84190(0x167)](_0x59c22f)[_0xa84190(0x160)]()[_0xa84190(0x1ad)][_0xa84190(0x149)]&&(Z(_0x59c22f[_0xa84190(0x169)](':')[0x2],_0x32ba7b[_0xa84190(0x1c5)](),_0x176abc,_0x141c29),_0x32ba7b[_0xa84190(0x14d)]());_0x526b34[_0xa84190(0x1a5)]();});});}(_0x54f4bb),this[_0x31650e(0x1b9)][_0x31650e(0x17b)](_0x1708e6[_0x31650e(0x1cd)],_0x31650e(0x1b6),(_0x259134,{key:_0x59dd48})=>{const _0x5c3915=_0x31650e;_0x5c3915(0x1c4)===_0x59dd48&&function(_0x43d1cf){const _0x46ac2c=_0x5c3915;_0x43d1cf[_0x46ac2c(0x199)][_0x46ac2c(0x1b1)][_0x46ac2c(0x1ca)](_0x55baa1=>{const _0x87e7eb=_0x46ac2c;for(const _0x3eab69 of _0x43d1cf[_0x87e7eb(0x179)][_0x87e7eb(0x189)]){if(!_0x3eab69[_0x87e7eb(0x190)][_0x87e7eb(0x159)](_0x87e7eb(0x18f)))continue;const _0x2ccafe=_0x43d1cf[_0x87e7eb(0x199)][_0x87e7eb(0x14b)][_0x87e7eb(0x1b8)](_0x3eab69[_0x87e7eb(0x190)]);if(_0x2ccafe){for(const _0x5383a3 of _0x2ccafe)_0x55baa1[_0x87e7eb(0x18e)](_0x87e7eb(0x17a),_0x5383a3);}}});}(_0x54f4bb);},{'useCapture':!0x0});}[_0x1e7cf5(0x1ab)](){const _0x1326a7=_0x1e7cf5,_0x4c5df8=this[_0x1326a7(0x16a)],_0x5eb3a=_0x4c5df8[_0x1326a7(0x171)][_0x1326a7(0x167)](_0x1326a7(0x14e));_0x5eb3a&&_0x4c5df8[_0x1326a7(0x179)]['on'](_0x1326a7(0x172),(_0x53b4c1,_0x346736)=>{const _0x5b5af6=_0x1326a7,_0x3c0fbe=_0x346736[0x0];if(!_0x3c0fbe[_0x5b5af6(0x154)])return;if(_0x5b5af6(0x1ba)!=_0x3c0fbe[_0x5b5af6(0x1a3)]||!_0x3c0fbe[_0x5b5af6(0x190)][_0x5b5af6(0x159)](_0x5b5af6(0x197)))return;const _0x2f2621=_0x3c0fbe[_0x5b5af6(0x188)];_0x5eb3a[_0x5b5af6(0x15a)][_0x5b5af6(0x17f)](_0x2f2621)&&(_0x3c0fbe[_0x5b5af6(0x177)]=_0x3c0fbe[_0x5b5af6(0x152)]?_0x4c5df8[_0x5b5af6(0x179)][_0x5b5af6(0x1c8)](_0x3c0fbe[_0x5b5af6(0x152)][_0x5b5af6(0x161)],_0x3c0fbe[_0x5b5af6(0x152)][_0x5b5af6(0x174)]):null);},{'priority':_0x1326a7(0x164)});}[_0x1e7cf5(0x18d)](){const _0x48bbea=_0x1e7cf5;return this[_0x48bbea(0x1b9)][_0x48bbea(0x1cf)](),super[_0x48bbea(0x18d)]();}[_0x1e7cf5(0x176)](){const _0x9e513b=_0x1e7cf5,_0x331c19=this[_0x9e513b(0x16a)],_0x4d8d4d=_0x331c19[_0x9e513b(0x179)][_0x9e513b(0x1cd)],_0x505445=_0x331c19[_0x9e513b(0x1cc)][_0x9e513b(0x167)](_0x12392b);_0x331c19[_0x9e513b(0x179)][_0x9e513b(0x184)]({'isUndoable':!0x1},_0xae996b=>{const _0x599216=_0x9e513b,_0x57591a=_0x599216(0x163)+_0x505445[_0x599216(0x17c)],_0x4b4093=_0x599216(0x1a9)+_0x505445[_0x599216(0x17c)],_0x2a651c=_0x331c19[_0x599216(0x179)][_0x599216(0x189)][_0x599216(0x17f)](_0x57591a);_0x331c19[_0x599216(0x199)][_0x599216(0x1b1)][_0x599216(0x1a0)]?Z(_0x505445[_0x599216(0x17c)],_0x4d8d4d[_0x599216(0x180)][_0x599216(0x1a4)](),_0x331c19[_0x599216(0x179)],_0xae996b):_0x2a651c&&(_0xae996b[_0x599216(0x1c0)](_0x57591a),_0xae996b[_0x599216(0x1c0)](_0x4b4093));});}}function Z(_0x3ac909,_0xb40bbd,_0xf6d8e0,_0xe77a0a){const _0x2c9d8c=_0x1e7cf5,_0x561cf9=_0x2c9d8c(0x163)+_0x3ac909,_0x5e9134=_0x2c9d8c(0x1a9)+_0x3ac909,_0xab984b=_0xb40bbd[_0x2c9d8c(0x1be)]();let _0x4edc30=_0xb40bbd[_0x2c9d8c(0x161)];if(_0xab984b&&_0xab984b['is'](_0x2c9d8c(0x16e),_0x2c9d8c(0x175))){const _0x18d0c9=function(_0x303802,_0x18a035){const _0x145144=_0x2c9d8c;for(const _0xc935cb of _0x303802[_0x145144(0x153)]())if(_0x18a035[_0x145144(0x170)][_0x145144(0x1c7)](_0xc935cb,_0x145144(0x1cb)))return _0xc935cb;}(_0xb40bbd,_0xf6d8e0);_0x18d0c9&&(_0x4edc30=_0x18d0c9,_0xb40bbd=_0xe77a0a[_0x2c9d8c(0x1c8)](_0x4edc30));}const _0x334795=_0xe77a0a[_0x2c9d8c(0x1c8)](_0x4edc30);_0xf6d8e0[_0x2c9d8c(0x189)][_0x2c9d8c(0x17f)](_0x561cf9)?(_0xe77a0a[_0x2c9d8c(0x19e)](_0x561cf9,{'range':_0xb40bbd}),_0xe77a0a[_0x2c9d8c(0x19e)](_0x5e9134,{'range':_0x334795})):(_0xe77a0a[_0x2c9d8c(0x15c)](_0x561cf9,{'range':_0xb40bbd,'usingOperation':!0x0}),_0xe77a0a[_0x2c9d8c(0x15c)](_0x5e9134,{'range':_0x334795,'usingOperation':!0x0}));}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x29b9(){const _0x1a041b=['webSocketUrl','116tGBZTP','websocketgateway-plugin-already-registered','isOfficialPlugin','listenTo','all','state','1660106FKoMeG','token','websocketgateway-invalid-plugin-interface','then','connected','_domEmitter','isInReconnectionStack','pluginName','function','catch','isPremiumPlugin','disconnect','7527160ltpTAU','context','bind','9vNjuSN','cloudservices-init','showWarning','connection','CONNECTING','reconnect','initialReconnectionInterval','plugins','CONNECTED','_shouldPluginsReconnect','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','WebSocketGateway','define','from','connect','websocketgateway-missing-token','delete','addToReconnectionStack','requires','24cDjyhG','offline','cloudservices-reconnection-error','17177479NacNaC','CloudServices','init','cloudServices.connectionTimeout','websocketgateway-missing-websocket-url','142959tHmgsk','constructor','get','7110072KonULu','config','_reconnectionStack','Connected\x20users\x20limit\x20exceeded','has','add','online','destroy','removeFromReconnectionStack','code','200905rRTSbG','real-time-collaboration','DISCONNECTED','set','limitExceeded','_isBrowserOffline','95773iHBWvh','cloudServices.requestTimeout','error','stopListening','6tKUvYa','_reconnect','change:me'];_0x29b9=function(){return _0x1a041b;};return _0x29b9();}const _0xd0c225=_0x3b51;(function(_0x223662,_0x178648){const _0x2912e2=_0x3b51,_0x1fea48=_0x223662();while(!![]){try{const _0x15ecae=parseInt(_0x2912e2(0x20e))/0x1*(-parseInt(_0x2912e2(0x212))/0x2)+parseInt(_0x2912e2(0x1fb))/0x3+parseInt(_0x2912e2(0x216))/0x4*(-parseInt(_0x2912e2(0x208))/0x5)+-parseInt(_0x2912e2(0x1f3))/0x6*(parseInt(_0x2912e2(0x21c))/0x7)+-parseInt(_0x2912e2(0x1fe))/0x8*(-parseInt(_0x2912e2(0x22b))/0x9)+parseInt(_0x2912e2(0x228))/0xa+parseInt(_0x2912e2(0x1f6))/0xb;if(_0x15ecae===_0x178648)break;else _0x1fea48['push'](_0x1fea48['shift']());}catch(_0x20f991){_0x1fea48['push'](_0x1fea48['shift']());}}}(_0x29b9,0xcf66d));import{ContextPlugin as _0x44493a}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x386a86,CKEditorError as _0x17673e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x413e8d,WEB_SOCKET_GATEWAY_STATES as _0xf8f00a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3b51(_0x8c1533,_0x6d643d){const _0x29b980=_0x29b9();return _0x3b51=function(_0x3b5128,_0x233763){_0x3b5128=_0x3b5128-0x1ed;let _0x59be91=_0x29b980[_0x3b5128];return _0x59be91;},_0x3b51(_0x8c1533,_0x6d643d);}import{Notification as _0xc77e01}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x44493a{static [_0xd0c225(0x236)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x413e8d)());static [_0xd0c225(0x231)]=0x3e8;[_0xd0c225(0x22e)];[_0xd0c225(0x200)];[_0xd0c225(0x234)];[_0xd0c225(0x221)];static get[_0xd0c225(0x1f2)](){const _0x3883af=_0xd0c225;return[_0x3883af(0x1f7),_0xc77e01];}static get[_0xd0c225(0x223)](){const _0x6bebec=_0xd0c225;return _0x6bebec(0x236);}static get[_0xd0c225(0x218)](){return!0x0;}static get[_0xd0c225(0x226)](){return!0x0;}constructor(_0x1b8925){const _0x34304d=_0xd0c225;super(_0x1b8925),this[_0x34304d(0x20b)](_0x34304d(0x21b),_0xf8f00a[_0x34304d(0x233)]),this[_0x34304d(0x20b)](_0x34304d(0x20d),!0x1),this[_0x34304d(0x200)]=new Set(),this[_0x34304d(0x234)]=!0x1,this[_0x34304d(0x221)]=new(_0x386a86())();}[_0xd0c225(0x1f8)](){const _0x3bf8a4=_0xd0c225,_0x4ed802=this[_0x3bf8a4(0x229)],_0x47d18a=_0x4ed802[_0x3bf8a4(0x232)][_0x3bf8a4(0x1fd)](_0x3bf8a4(0x1f7)),_0x1f9614=_0x4ed802[_0x3bf8a4(0x232)][_0x3bf8a4(0x1fd)](_0xc77e01);if(!_0x47d18a[_0x3bf8a4(0x21d)])throw new _0x17673e(_0x3bf8a4(0x1ef),this);if(!_0x47d18a[_0x3bf8a4(0x215)])throw new _0x17673e(_0x3bf8a4(0x1fa),this);return this[_0x3bf8a4(0x221)][_0x3bf8a4(0x219)](window,_0x3bf8a4(0x1f4),()=>this[_0x3bf8a4(0x20d)]=!0x0),this[_0x3bf8a4(0x221)][_0x3bf8a4(0x219)](window,_0x3bf8a4(0x204),()=>this[_0x3bf8a4(0x20d)]=!0x1),this[_0x3bf8a4(0x229)][_0x3bf8a4(0x1ff)][_0x3bf8a4(0x237)](_0x3bf8a4(0x1f9),0xa),this[_0x3bf8a4(0x229)][_0x3bf8a4(0x1ff)][_0x3bf8a4(0x237)](_0x3bf8a4(0x20f),0x14),WebSocketGateway[_0x3bf8a4(0x236)][_0x3bf8a4(0x1ee)](_0x47d18a[_0x3bf8a4(0x21d)],_0x47d18a[_0x3bf8a4(0x215)],{'timeout':0x3e8*this[_0x3bf8a4(0x229)][_0x3bf8a4(0x1ff)][_0x3bf8a4(0x1fd)](_0x3bf8a4(0x1f9)),'requestTimeout':0x3e8*this[_0x3bf8a4(0x229)][_0x3bf8a4(0x1ff)][_0x3bf8a4(0x1fd)](_0x3bf8a4(0x20f))})[_0x3bf8a4(0x21f)](_0x2d2de6=>{const _0x4e6d18=_0x3bf8a4;if(this[_0x4e6d18(0x22e)]=_0x2d2de6,this[_0x4e6d18(0x22a)](_0x4e6d18(0x21b))['to'](_0x2d2de6,_0x4e6d18(0x21b),this,_0x4e6d18(0x20d),(_0x245f18,_0x5c52b6)=>(_0x4e6d18(0x220)!==_0x245f18&&(this[_0x4e6d18(0x234)]=!0x0),_0x5c52b6||_0x245f18!==_0xf8f00a[_0x4e6d18(0x233)]?_0xf8f00a[_0x4e6d18(0x20a)]:this[_0x4e6d18(0x21b)]==_0xf8f00a[_0x4e6d18(0x20a)]&&this[_0x4e6d18(0x234)]?(this[_0x4e6d18(0x234)]=!0x1,this[_0x4e6d18(0x213)](),_0xf8f00a[_0x4e6d18(0x22f)]):_0xf8f00a[_0x4e6d18(0x233)])),this[_0x4e6d18(0x22e)]['on'](_0x4e6d18(0x210),(_0x5181e5,_0x44f837)=>{const _0x2e2271=_0x4e6d18;if(_0x2e2271(0x20c)!==_0x44f837[_0x2e2271(0x207)])throw console[_0x2e2271(0x210)](_0x44f837),new _0x17673e(_0x2e2271(0x22c),null,{'originalError':_0x44f837});_0x1f9614[_0x2e2271(0x22d)](_0x2e2271(0x235),{'title':_0x2e2271(0x201),'namespace':_0x2e2271(0x209)});}),!_0x2d2de6['me'])return new Promise(_0x554d53=>_0x2d2de6['on'](_0x4e6d18(0x214),_0x554d53));})[_0x3bf8a4(0x225)](_0x20d2af=>{const _0x359c0b=_0x3bf8a4;throw console[_0x359c0b(0x210)](_0x20d2af),new _0x17673e(_0x359c0b(0x22c),null,{'originalError':_0x20d2af});});}[_0xd0c225(0x1f1)](_0x4e9f01){const _0x19499e=_0xd0c225;if(_0x19499e(0x224)!=typeof _0x4e9f01[_0x19499e(0x230)])throw new _0x17673e(_0x19499e(0x21e),this);if(this[_0x19499e(0x222)](_0x4e9f01))throw new _0x17673e(_0x19499e(0x217),this,{'name':_0x4e9f01[_0x19499e(0x1fc)][_0x19499e(0x223)]});this[_0x19499e(0x200)][_0x19499e(0x203)](_0x4e9f01);}[_0xd0c225(0x206)](_0x76fa47){const _0xda5b9a=_0xd0c225;this[_0xda5b9a(0x200)][_0xda5b9a(0x1f0)](_0x76fa47);}[_0xd0c225(0x222)](_0x4a24b6){const _0x11d006=_0xd0c225;return this[_0x11d006(0x200)][_0x11d006(0x202)](_0x4a24b6);}[_0xd0c225(0x213)](){const _0x23814a=_0xd0c225;return this[_0x23814a(0x22e)][_0x23814a(0x230)]()[_0x23814a(0x21f)](()=>Promise[_0x23814a(0x21a)](Array[_0x23814a(0x1ed)](this[_0x23814a(0x200)],_0x2c107c=>_0x2c107c[_0x23814a(0x230)]())))[_0x23814a(0x21f)](()=>this[_0x23814a(0x21b)]=_0xf8f00a[_0x23814a(0x233)])[_0x23814a(0x225)](_0x3b292a=>{const _0x25b2c2=_0x23814a;throw console[_0x25b2c2(0x210)](_0x3b292a),new _0x17673e(_0x25b2c2(0x1f5),this[_0x25b2c2(0x229)]);});}[_0xd0c225(0x227)](){const _0x421717=_0xd0c225;this[_0x421717(0x22e)]&&this[_0x421717(0x22e)][_0x421717(0x227)](),this[_0x421717(0x21b)]=_0xf8f00a[_0x421717(0x20a)],this[_0x421717(0x221)][_0x421717(0x211)]();}[_0xd0c225(0x205)](){const _0x5e25f2=_0xd0c225;this[_0x5e25f2(0x227)](),super[_0x5e25f2(0x205)]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2f9fe4=_0x473f;(function(_0x56e4aa,_0x56b9f0){var _0x192c17=_0x473f,_0x1cd2ea=_0x56e4aa();while(!![]){try{var _0x2c0fe8=-parseInt(_0x192c17(0x169))/0x1*(-parseInt(_0x192c17(0x16b))/0x2)+parseInt(_0x192c17(0x160))/0x3*(parseInt(_0x192c17(0x163))/0x4)+parseInt(_0x192c17(0x162))/0x5*(-parseInt(_0x192c17(0x15e))/0x6)+-parseInt(_0x192c17(0x167))/0x7+parseInt(_0x192c17(0x161))/0x8+parseInt(_0x192c17(0x15c))/0x9*(-parseInt(_0x192c17(0x166))/0xa)+parseInt(_0x192c17(0x15d))/0xb;if(_0x2c0fe8===_0x56b9f0)break;else _0x1cd2ea['push'](_0x1cd2ea['shift']());}catch(_0x192ffe){_0x1cd2ea['push'](_0x1cd2ea['shift']());}}}(_0x5a3b,0xd21ed));import{Plugin as _0x520623}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x409e90}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x5a3b(){var _0x24fd54=['isPremiumPlugin','requires','280USrOWQ','7541366NVgUqE','isOfficialPlugin','1563085pIcVgF','RealTimeCollaborativeEditing','2UmJqxT','281538vsYFom','7850381iFXflM','18ZjHlzk','pluginName','96453nVKNgs','3958744nYXaFN','2608770SEwyCG','200rogXiY'];_0x5a3b=function(){return _0x24fd54;};return _0x5a3b();}function _0x473f(_0x59c1a8,_0x19307c){var _0x5a3b5d=_0x5a3b();return _0x473f=function(_0x473f32,_0x1d709e){_0x473f32=_0x473f32-0x15c;var _0x475a52=_0x5a3b5d[_0x473f32];return _0x475a52;},_0x473f(_0x59c1a8,_0x19307c);}export class RealTimeCollaborativeEditing extends _0x520623{static get[_0x2f9fe4(0x165)](){return[_0x409e90];}static get[_0x2f9fe4(0x15f)](){var _0x8cb54d=_0x2f9fe4;return _0x8cb54d(0x16a);}static get[_0x2f9fe4(0x168)](){return!0x0;}static get[_0x2f9fe4(0x164)](){return!0x0;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0xd69165)());[_0x669d2d(0x18f)];[_0x669d2d(0x186)];[_0x669d2d(0x19d)];[_0x669d2d(0x18a)];static get[_0x669d2d(0x1aa)](){const _0x4c8886=_0x669d2d;return[_0xf21e9c,_0x2d600c,_0x4c8886(0x15c),_0x37faca,_0x2c6d6a];}static get[_0x669d2d(0x153)](){const _0x553b96=_0x669d2d;return _0x553b96(0x183);}static get[_0x669d2d(0x1af)](){return!0x0;}static get[_0x669d2d(0x1b6)](){return!0x0;}constructor(_0x1aa26f){const _0xb61d91=_0x669d2d;super(_0x1aa26f);const _0x491cdc=this[_0xb61d91(0x188)][_0xb61d91(0x187)][_0xb61d91(0x19c)](_0xb61d91(0x195));this[_0xb61d91(0x18f)]=null,this[_0xb61d91(0x186)]=this[_0xb61d91(0x188)][_0xb61d91(0x17b)][_0xb61d91(0x19c)](_0xb61d91(0x180)),this[_0xb61d91(0x19d)]=new CloudServicesRevisionHistoryAdapter[(_0xb61d91(0x182))](_0x491cdc);}async[_0x669d2d(0x176)](){const _0x571303=_0x669d2d,_0x4a372f=this[_0x571303(0x188)][_0x571303(0x17b)][_0x571303(0x19c)](_0x2d600c),_0x787247=_0x4a372f[_0x571303(0x174)],_0x584c5c=this[_0x571303(0x188)][_0x571303(0x17b)][_0x571303(0x19c)](_0xf21e9c);this[_0x571303(0x186)][_0x571303(0x17f)]({'history':_0x787247,'getLatestVersion':()=>this[_0x571303(0x1bd)](),'getCurrentRevisionId':()=>_0x4a372f[_0x571303(0x1bb)]});const _0xb21c74=this[_0x571303(0x188)][_0x571303(0x187)][_0x571303(0x19c)](_0x571303(0x1b0))||_0x60b3f1,_0x135a93=await _0x382d55[_0x571303(0x14f)](_0x584c5c[_0x571303(0x15b)],_0xb21c74);this[_0x571303(0x188)][_0x571303(0x17b)][_0x571303(0x19c)](_0x571303(0x15c))[_0x571303(0x14b)]={'getRevision':async({revisionId:_0x279003})=>(await this[_0x571303(0x16a)](),await this[_0x571303(0x19d)][_0x571303(0x1a4)](_0x279003)),'updateRevisions':async _0x4df327=>{const _0x552163=_0x571303;await this[_0x552163(0x16a)]();const _0xd2ed59=this[_0x552163(0x186)][_0x552163(0x152)];if(_0x135a93&&0x1===_0x4df327[_0x552163(0x196)]&&_0x4df327[0x0]['id']===_0xd2ed59['id'])return _0x4df327;for(const _0x1e21b1 of _0x4df327)_0x1e21b1['id']===_0xd2ed59['id']&&(_0x1e21b1[_0x552163(0x19a)]=_0x1e21b1[_0x552163(0x193)]===_0x1e21b1[_0x552163(0x16b)]);return this[_0x552163(0x19d)][_0x552163(0x1ba)](_0x4df327,this[_0x552163(0x18f)])[_0x552163(0x168)](_0x56218b=>(this[_0x552163(0x18f)]=_0x56218b,_0x4df327))[_0x552163(0x158)](_0xfe2fba=>{const _0x1b5516=_0x552163;if(st(_0xfe2fba)||_0x1b5516(0x14d)===_0xfe2fba[_0x1b5516(0x181)]&&void 0x0!==_0xfe2fba[_0x1b5516(0x163)][_0x1b5516(0x169)]){for(const _0x4b79d2 of _0x4df327){!this[_0x1b5516(0x186)][_0x1b5516(0x197)][_0x1b5516(0x1a4)](_0x4b79d2['id'])||this[_0x1b5516(0x186)][_0x1b5516(0x189)](_0x4b79d2['id'],_0x4b79d2,!0x1);}if(st(_0xfe2fba))throw _0xfe2fba;return _0x4df327;}throw _0xfe2fba;});}},this[_0x571303(0x14c)](this[_0x571303(0x19d)],_0x571303(0x159),(_0x17b5ba,{revisionsData:_0x1362b6,requestId:_0x2aff49})=>{const _0x51a92d=_0x571303;Math[_0x51a92d(0x17a)](..._0x1362b6[_0x51a92d(0x162)](_0x1ccf9d=>_0x1ccf9d[_0x51a92d(0x16b)]))>this[_0x51a92d(0x164)]()-0x1?this[_0x51a92d(0x1bd)]()[_0x51a92d(0x168)](()=>{const _0x5a2cc1=_0x51a92d;this[_0x5a2cc1(0x1a6)](_0x1362b6,_0x2aff49);}):this[_0x51a92d(0x1a6)](_0x1362b6,_0x2aff49);});const {revisions:_0xd944f8,requestId:_0xc235fb}=await this[_0x571303(0x19d)][_0x571303(0x154)](_0x584c5c[_0x571303(0x15b)]);_0x584c5c[_0x571303(0x149)](this),this[_0x571303(0x18f)]=_0xc235fb,await this[_0x571303(0x1ac)](_0xd944f8);for(const _0x96b840 of _0xd944f8)this[_0x571303(0x186)][_0x571303(0x1a9)](_0x96b840);this[_0x571303(0x14c)](_0x4a372f,_0x571303(0x156),(_0x45e4ef,_0x49dcf5,_0x3d207f)=>{const _0x315fac=_0x571303;_0x3d207f&&(this[_0x315fac(0x18a)]=_0x4a372f[_0x315fac(0x151)],_0x45e4ef[_0x315fac(0x194)]());}),this[_0x571303(0x186)][_0x571303(0x185)](_0x571303(0x1b8))['to'](_0x584c5c,_0x571303(0x157),_0x4c0fbd=>_0x4c0fbd===_0x3aa09e[_0x571303(0x1a3)]);}async[_0x669d2d(0x179)](){const _0x4f099c=_0x669d2d,_0x38f597=this[_0x4f099c(0x188)][_0x4f099c(0x17b)][_0x4f099c(0x19c)](_0xf21e9c),_0x501fca=this[_0x4f099c(0x188)][_0x4f099c(0x17b)][_0x4f099c(0x19c)](_0x2d600c),_0x51424b=async()=>{const _0x21c32e=_0x4f099c,_0x11b177=this[_0x21c32e(0x186)][_0x21c32e(0x152)],_0x38903c=_0x11b177['id'],_0x4a2f11=_0x38903c!==_0x501fca[_0x21c32e(0x1bb)];if(_0x4a2f11){const _0x5580b2=_0x501fca[_0x21c32e(0x151)]-this[_0x21c32e(0x18a)],_0x286752=this[_0x21c32e(0x164)]();this[_0x21c32e(0x186)][_0x21c32e(0x17d)][_0x21c32e(0x150)]();if(_0x11b177[_0x21c32e(0x16b)]+_0x5580b2!==_0x286752){const _0x42bac3=_0x11b177[_0x21c32e(0x193)]+_0x5580b2,_0x38fb53=this[_0x21c32e(0x188)][_0x21c32e(0x17b)][_0x21c32e(0x19c)](_0x2c6d6a),_0xc972a1=this[_0x21c32e(0x186)][_0x21c32e(0x19b)]({'revision':_0x11b177,'from':_0x42bac3,'to':_0x286752});_0xc972a1['id']=_0x11b177['id'];const _0xd61143=_0xc972a1[_0x21c32e(0x184)][_0x21c32e(0x162)](_0x842c19=>_0x38fb53[_0x21c32e(0x199)](_0x842c19));_0x11b177[_0x21c32e(0x160)]({..._0xc972a1,'authors':_0xd61143},!0x0),this[_0x21c32e(0x186)][_0x21c32e(0x189)](_0x11b177['id'],_0xc972a1,!0x0);}this[_0x21c32e(0x186)][_0x21c32e(0x165)]=_0x286752,(_0x11b177[_0x21c32e(0x16b)]===_0x11b177[_0x21c32e(0x193)]&&!this[_0x21c32e(0x186)][_0x21c32e(0x155)][_0x21c32e(0x16e)](_0x38903c)&&this[_0x21c32e(0x186)][_0x21c32e(0x197)][_0x21c32e(0x1bc)][_0x21c32e(0x178)](_0x38903c),this[_0x21c32e(0x186)][_0x21c32e(0x1a2)](_0x286752));}const {revisions:_0x33439c,requestId:_0x40fda5}=await this[_0x21c32e(0x19d)][_0x21c32e(0x179)](_0x38f597[_0x21c32e(0x15b)],this[_0x21c32e(0x18f)]);_0x4a2f11&&_0x33439c[_0x21c32e(0x196)]>0x0?_0x501fca[_0x21c32e(0x1a0)]():(await this[_0x21c32e(0x1ac)](_0x33439c),this[_0x21c32e(0x1a6)](_0x33439c,_0x40fda5),this[_0x21c32e(0x186)][_0x21c32e(0x1ae)]());};return _0x501fca[_0x4f099c(0x18b)]?_0x51424b():new Promise((_0x148158,_0x1eee76)=>{const _0x2999f3=_0x4f099c;_0x501fca[_0x2999f3(0x1b9)](_0x2999f3(0x156),()=>{const _0x2428c2=_0x2999f3;_0x51424b()[_0x2428c2(0x168)](_0x148158)[_0x2428c2(0x158)](_0x1eee76);});});}[_0x669d2d(0x16c)](){const _0x59163c=_0x669d2d;super[_0x59163c(0x16c)]();}async[_0x669d2d(0x16a)](){const _0x167569=_0x669d2d;this[_0x167569(0x19d)][_0x167569(0x1b2)]||await new Promise(_0x2bb860=>{const _0x1ee107=_0x167569;this[_0x1ee107(0x14c)](this[_0x1ee107(0x19d)],_0x1ee107(0x14a),_0x239772=>{const _0x2bcabe=_0x1ee107;_0x239772[_0x2bcabe(0x194)](),_0x2bb860();});});}[_0x669d2d(0x164)](){const _0x4f294c=_0x669d2d,_0x39e24c=this[_0x4f294c(0x188)][_0x4f294c(0x17b)][_0x4f294c(0x19c)](_0x2d600c)[_0x4f294c(0x174)][_0x4f294c(0x170)]()[_0x4f294c(0x18c)]();for(const _0x4d6f55 of _0x39e24c)if(_0x4f294c(0x17e)!==_0x4d6f55[_0x4f294c(0x1a1)]||_0x4d6f55[_0x4f294c(0x1ab)])return _0x4d6f55[_0x4f294c(0x18e)]+0x1;}[_0x669d2d(0x1bd)](){const _0x51d00d=_0x669d2d,_0x479ff3=this[_0x51d00d(0x188)][_0x51d00d(0x17b)][_0x51d00d(0x19c)](_0x2d600c);return new Promise(_0x1ce600=>{const _0x55a012=_0x51d00d;_0x479ff3[_0x55a012(0x191)]?_0x479ff3[_0x55a012(0x1b9)](_0x55a012(0x172),()=>{const _0x2c7d0f=_0x55a012;_0x1ce600(this[_0x2c7d0f(0x164)]());}):_0x1ce600(this[_0x55a012(0x164)]());});}[_0x669d2d(0x1a6)](_0x1d69b2,_0xce2ff6){const _0x223dae=_0x669d2d,_0x17c434=this[_0x223dae(0x186)][_0x223dae(0x197)];this[_0x223dae(0x18f)]=_0xce2ff6;for(const _0xda7903 of _0x1d69b2){const _0xf9cab7=_0x17c434[_0x223dae(0x1a4)](_0xda7903['id']);if(_0xf9cab7){if((_0xda7903[_0x223dae(0x193)]||_0xda7903[_0x223dae(0x16b)])&&(_0xda7903[_0x223dae(0x192)]=null),_0xf9cab7===this[_0x223dae(0x186)][_0x223dae(0x152)]){const _0x3afc7f=Math[_0x223dae(0x17a)](_0xf9cab7[_0x223dae(0x16b)],_0xda7903[_0x223dae(0x16b)]),_0x42cc7a=Math[_0x223dae(0x17a)](_0xf9cab7[_0x223dae(0x193)],_0xda7903[_0x223dae(0x193)]);let _0x444eaf;_0xf9cab7[_0x223dae(0x16b)]===_0xda7903[_0x223dae(0x16b)]&&_0xf9cab7[_0x223dae(0x193)]===_0xda7903[_0x223dae(0x193)]?(_0x444eaf=!0x0,this[_0x223dae(0x1a8)](_0xda7903)):_0xda7903[_0x223dae(0x16b)]===_0x3afc7f&&_0xda7903[_0x223dae(0x193)]===_0x42cc7a?_0x444eaf=!0x1:(_0xf9cab7[_0x223dae(0x16b)]===_0x3afc7f&&_0xf9cab7[_0x223dae(0x193)]===_0x42cc7a||this[_0x223dae(0x198)]({'revision':_0xf9cab7,'from':_0x42cc7a,'to':_0x3afc7f}),_0x444eaf=!0x0),_0x444eaf&&(delete _0xda7903[_0x223dae(0x193)],delete _0xda7903[_0x223dae(0x16b)],delete _0xda7903[_0x223dae(0x192)],delete _0xda7903[_0x223dae(0x16d)],delete _0xda7903[_0x223dae(0x184)]);}this[_0x223dae(0x186)][_0x223dae(0x1b3)](_0xda7903),this[_0x223dae(0x1a8)](_0xda7903);}else this[_0x223dae(0x186)][_0x223dae(0x1a9)](_0xda7903);}const _0x4454d2=_0x17c434[_0x223dae(0x1a7)]();_0x4454d2[_0x223dae(0x18c)]();for(let _0x4d5dfa=0x0;_0x4d5dfa<_0x4454d2[_0x223dae(0x196)]-0x1;_0x4d5dfa++){const _0x5b0f62=_0x4454d2[_0x4d5dfa],_0x170dff=_0x4454d2[_0x4d5dfa+0x1];if(_0x5b0f62[_0x223dae(0x193)]<_0x170dff[_0x223dae(0x16b)]){const _0x277cd5=_0x170dff[_0x223dae(0x16b)],_0x589fd2=Math[_0x223dae(0x17a)](_0x277cd5,_0x5b0f62[_0x223dae(0x16b)]);this[_0x223dae(0x198)]({'revision':_0x5b0f62,'from':_0x277cd5,'to':_0x589fd2});}}}[_0x669d2d(0x198)]({revision:_0x5b6df8,from:_0x49e95a,to:_0x1bd24f}={}){const _0xee90a8=_0x669d2d,_0x753f8d=this[_0xee90a8(0x188)][_0xee90a8(0x17b)][_0xee90a8(0x19c)](_0x2c6d6a),_0x4d2966=this[_0xee90a8(0x186)][_0xee90a8(0x19b)]({'revision':_0x5b6df8,'from':_0x49e95a,'to':_0x1bd24f});_0x4d2966[_0xee90a8(0x15e)]=_0x4d2966[_0xee90a8(0x184)][_0xee90a8(0x162)](_0xc3a518=>_0x753f8d[_0xee90a8(0x199)](_0xc3a518)),_0x5b6df8[_0xee90a8(0x160)](_0x4d2966);}[_0x669d2d(0x1a8)](_0x2fe5d3){const _0x16c900=_0x669d2d,_0x2c4b9c={};_0x2c4b9c['id']=_0x2fe5d3['id'];for(const _0x1dd60c of Object[_0x16c900(0x14e)](_0x2fe5d3))'id'!==_0x1dd60c&&(_0x2c4b9c[_0x1dd60c]=void 0x0);this[_0x16c900(0x186)][_0x16c900(0x189)](_0x2c4b9c['id'],_0x2c4b9c,!0x0);}async[_0x669d2d(0x1ac)](_0x54dbc9){const _0x5879a8=_0x669d2d,_0x1cfd7c=this[_0x5879a8(0x188)][_0x5879a8(0x17b)][_0x5879a8(0x19c)](_0x2c6d6a),{connection:_0x9b29d3}=this[_0x5879a8(0x188)][_0x5879a8(0x17b)][_0x5879a8(0x19c)](_0xf21e9c),_0x19f110=new Set();for(const _0x3323e of _0x54dbc9){for(const _0xa3bfe3 of _0x3323e[_0x5879a8(0x184)])_0x1955ba(_0xa3bfe3);_0x3323e[_0x5879a8(0x15d)]&&_0x1955ba(_0x3323e[_0x5879a8(0x15d)]);}if(0x0===_0x19f110[_0x5879a8(0x1b7)])return;const _0x2b8d01=await _0x59023e[_0x5879a8(0x161)](_0x9b29d3,Array[_0x5879a8(0x177)](_0x19f110));for(const _0x330ddc of _0x2b8d01)_0x1cfd7c[_0x5879a8(0x199)](_0x330ddc['id'])||_0x1cfd7c[_0x5879a8(0x19f)](_0x330ddc);function _0x1955ba(_0x48f862){const _0x2aa0e1=_0x5879a8;_0x1cfd7c[_0x2aa0e1(0x199)](_0x48f862)||_0x19f110[_0x2aa0e1(0x167)](_0x48f862);}}}function st(_0x2acfc2){const _0x35b280=_0x669d2d;return _0x2acfc2[_0x35b280(0x19e)][_0x35b280(0x1a5)](_0x35b280(0x166))||_0x2acfc2[_0x35b280(0x19e)][_0x35b280(0x1a5)](_0x35b280(0x18d))||_0x2acfc2[_0x35b280(0x19e)][_0x35b280(0x1a5)](_0x35b280(0x171));}
|
|
23
|
+
const _0x2e1dcc=_0x3cb5;(function(_0x3e7663,_0x326189){const _0x3eb618=_0x3cb5,_0x4fbdb5=_0x3e7663();while(!![]){try{const _0x1da55a=-parseInt(_0x3eb618(0x239))/0x1+parseInt(_0x3eb618(0x22f))/0x2+-parseInt(_0x3eb618(0x1d8))/0x3+parseInt(_0x3eb618(0x1d5))/0x4*(parseInt(_0x3eb618(0x1e2))/0x5)+-parseInt(_0x3eb618(0x21c))/0x6+parseInt(_0x3eb618(0x227))/0x7*(parseInt(_0x3eb618(0x1d0))/0x8)+parseInt(_0x3eb618(0x1df))/0x9*(parseInt(_0x3eb618(0x21e))/0xa);if(_0x1da55a===_0x326189)break;else _0x4fbdb5['push'](_0x4fbdb5['shift']());}catch(_0x1df81b){_0x4fbdb5['push'](_0x4fbdb5['shift']());}}}(_0x4f46,0xa175a));import{Plugin as _0x397360}from'ckeditor5/src/core.js';import{version as _0x1217d1}from'ckeditor5/src/utils.js';import{Users as _0x2b0138}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x3abd56}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3b2e8b}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x342d57}from'../realtimecollaborativeediting/sessions.js';function _0x3cb5(_0x3de288,_0x5ba44e){const _0x4f46f0=_0x4f46();return _0x3cb5=function(_0x3cb5a6,_0x247699){_0x3cb5a6=_0x3cb5a6-0x1ca;let _0x3288c1=_0x4f46f0[_0x3cb5a6];return _0x3288c1;},_0x3cb5(_0x3de288,_0x5ba44e);}import{EditorService as _0x41debd,RevisionHistoryService as _0x7ab5a6,User as _0x96283,WEB_SOCKET_GATEWAY_STATES as _0x20282d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x397360{static [_0x2e1dcc(0x233)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x7ab5a6)());[_0x2e1dcc(0x1d9)];[_0x2e1dcc(0x226)];[_0x2e1dcc(0x1fa)];[_0x2e1dcc(0x1e9)];static get[_0x2e1dcc(0x1ee)](){const _0x35eeed=_0x2e1dcc;return[_0x3b2e8b,_0x3abd56,_0x35eeed(0x1e7),_0x342d57,_0x2b0138];}static get[_0x2e1dcc(0x1e5)](){const _0x504915=_0x2e1dcc;return _0x504915(0x206);}static get[_0x2e1dcc(0x213)](){return!0x0;}static get[_0x2e1dcc(0x1f6)](){return!0x0;}constructor(_0x17b5c9){const _0x228a85=_0x2e1dcc;super(_0x17b5c9);const _0x3b5cd2=this[_0x228a85(0x21d)][_0x228a85(0x20b)][_0x228a85(0x208)](_0x228a85(0x1cd));this[_0x228a85(0x1d9)]=null,this[_0x228a85(0x226)]=this[_0x228a85(0x21d)][_0x228a85(0x237)][_0x228a85(0x208)](_0x228a85(0x1e4)),this[_0x228a85(0x1fa)]=new CloudServicesRevisionHistoryAdapter[(_0x228a85(0x233))](_0x3b5cd2);}async[_0x2e1dcc(0x238)](){const _0x39cfed=_0x2e1dcc,_0x446886=this[_0x39cfed(0x21d)][_0x39cfed(0x237)][_0x39cfed(0x208)](_0x3abd56),_0x59701b=_0x446886[_0x39cfed(0x1f7)],_0x24e2b0=this[_0x39cfed(0x21d)][_0x39cfed(0x237)][_0x39cfed(0x208)](_0x3b2e8b);this[_0x39cfed(0x226)][_0x39cfed(0x235)]({'history':_0x59701b,'getLatestVersion':()=>this[_0x39cfed(0x1da)](),'getCurrentRevisionId':()=>_0x446886[_0x39cfed(0x23b)]});const _0x59ecc4=this[_0x39cfed(0x21d)][_0x39cfed(0x20b)][_0x39cfed(0x208)](_0x39cfed(0x23a))||_0x1217d1,_0x2f3964=await _0x41debd[_0x39cfed(0x1f3)](_0x24e2b0[_0x39cfed(0x1f0)],_0x59ecc4);this[_0x39cfed(0x21d)][_0x39cfed(0x237)][_0x39cfed(0x208)](_0x39cfed(0x1e7))[_0x39cfed(0x236)]={'getRevision':async({revisionId:_0x2ad7af})=>(await this[_0x39cfed(0x216)](),await this[_0x39cfed(0x1fa)][_0x39cfed(0x1cc)](_0x2ad7af)),'updateRevisions':async _0x483be0=>{const _0x2ead92=_0x39cfed;await this[_0x2ead92(0x216)]();const _0x11cd92=this[_0x2ead92(0x226)][_0x2ead92(0x218)];if(_0x2f3964&&0x1===_0x483be0[_0x2ead92(0x200)]&&_0x483be0[0x0]['id']===_0x11cd92['id'])return _0x483be0;for(const _0xa873dd of _0x483be0)_0xa873dd['id']===_0x11cd92['id']&&(_0xa873dd[_0x2ead92(0x22b)]=_0xa873dd[_0x2ead92(0x1e1)]===_0xa873dd[_0x2ead92(0x23d)]);return this[_0x2ead92(0x1fa)][_0x2ead92(0x230)](_0x483be0,this[_0x2ead92(0x1d9)])[_0x2ead92(0x21f)](_0x40a279=>(this[_0x2ead92(0x1d9)]=_0x40a279,_0x483be0))[_0x2ead92(0x1dd)](_0x43108e=>{const _0x5c59f8=_0x2ead92;if(et(_0x43108e)||_0x5c59f8(0x1fc)===_0x43108e[_0x5c59f8(0x223)]&&void 0x0!==_0x43108e[_0x5c59f8(0x214)][_0x5c59f8(0x1fb)]){for(const _0x74ef0b of _0x483be0){!this[_0x5c59f8(0x226)][_0x5c59f8(0x1f1)][_0x5c59f8(0x1cc)](_0x74ef0b['id'])||this[_0x5c59f8(0x226)][_0x5c59f8(0x1d4)](_0x74ef0b['id'],_0x74ef0b,!0x1);}if(et(_0x43108e))throw _0x43108e;return _0x483be0;}throw _0x43108e;});}},this[_0x39cfed(0x228)](this[_0x39cfed(0x1fa)],_0x39cfed(0x222),(_0x12b38f,{revisionsData:_0xd32575,requestId:_0x500390})=>{const _0x4f68cf=_0x39cfed;Math[_0x4f68cf(0x1cf)](..._0xd32575[_0x4f68cf(0x1d6)](_0x5108bc=>_0x5108bc[_0x4f68cf(0x23d)]))>this[_0x4f68cf(0x210)]()-0x1?this[_0x4f68cf(0x1da)]()[_0x4f68cf(0x21f)](()=>{const _0x2fdd23=_0x4f68cf;this[_0x2fdd23(0x1f2)](_0xd32575,_0x500390);}):this[_0x4f68cf(0x1f2)](_0xd32575,_0x500390);});const {revisions:_0x3903ca,requestId:_0x5f2f21}=await this[_0x39cfed(0x1fa)][_0x39cfed(0x1f8)](_0x24e2b0[_0x39cfed(0x1f0)]);_0x24e2b0[_0x39cfed(0x211)](this),this[_0x39cfed(0x1d9)]=_0x5f2f21,await this[_0x39cfed(0x201)](_0x3903ca);for(const _0x48b9d7 of _0x3903ca)this[_0x39cfed(0x226)][_0x39cfed(0x209)](_0x48b9d7);this[_0x39cfed(0x228)](_0x446886,_0x39cfed(0x1e6),(_0x2db2d6,_0x23143b,_0x1a9b75)=>{const _0x3fd317=_0x39cfed;_0x1a9b75&&(this[_0x3fd317(0x1e9)]=_0x446886[_0x3fd317(0x1ef)],_0x2db2d6[_0x3fd317(0x220)]());}),this[_0x39cfed(0x226)][_0x39cfed(0x205)](_0x39cfed(0x1e8))['to'](_0x24e2b0,_0x39cfed(0x20c),_0x5211a3=>_0x5211a3===_0x20282d[_0x39cfed(0x229)]);}async[_0x2e1dcc(0x21a)](){const _0x38874d=_0x2e1dcc,_0x5dcc4a=this[_0x38874d(0x21d)][_0x38874d(0x237)][_0x38874d(0x208)](_0x3b2e8b),_0x1a554e=this[_0x38874d(0x21d)][_0x38874d(0x237)][_0x38874d(0x208)](_0x3abd56),_0x5a8b08=async()=>{const _0x5cb2ce=_0x38874d,_0x3f0274=this[_0x5cb2ce(0x226)][_0x5cb2ce(0x218)],_0x55c6c8=_0x3f0274['id'],_0x487e96=_0x55c6c8!==_0x1a554e[_0x5cb2ce(0x23b)];if(_0x487e96){const _0x24e1f6=_0x1a554e[_0x5cb2ce(0x1ef)]-this[_0x5cb2ce(0x1e9)],_0x34bada=this[_0x5cb2ce(0x210)]();this[_0x5cb2ce(0x226)][_0x5cb2ce(0x21b)][_0x5cb2ce(0x203)]();if(_0x3f0274[_0x5cb2ce(0x23d)]+_0x24e1f6!==_0x34bada){const _0x5afa84=_0x3f0274[_0x5cb2ce(0x1e1)]+_0x24e1f6,_0x36a89a=this[_0x5cb2ce(0x21d)][_0x5cb2ce(0x237)][_0x5cb2ce(0x208)](_0x2b0138),_0x486d50=this[_0x5cb2ce(0x226)][_0x5cb2ce(0x1ce)]({'revision':_0x3f0274,'from':_0x5afa84,'to':_0x34bada});_0x486d50['id']=_0x3f0274['id'];const _0x1a9925=_0x486d50[_0x5cb2ce(0x232)][_0x5cb2ce(0x1d6)](_0xedf715=>_0x36a89a[_0x5cb2ce(0x1e3)](_0xedf715));_0x3f0274[_0x5cb2ce(0x1dc)]({..._0x486d50,'authors':_0x1a9925},!0x0),this[_0x5cb2ce(0x226)][_0x5cb2ce(0x1d4)](_0x3f0274['id'],_0x486d50,!0x0);}this[_0x5cb2ce(0x226)][_0x5cb2ce(0x1f5)]=_0x34bada,(_0x3f0274[_0x5cb2ce(0x23d)]===_0x3f0274[_0x5cb2ce(0x1e1)]&&!this[_0x5cb2ce(0x226)][_0x5cb2ce(0x219)][_0x5cb2ce(0x1e0)](_0x55c6c8)&&this[_0x5cb2ce(0x226)][_0x5cb2ce(0x1f1)][_0x5cb2ce(0x1d1)][_0x5cb2ce(0x212)](_0x55c6c8),this[_0x5cb2ce(0x226)][_0x5cb2ce(0x225)](_0x34bada));}const {revisions:_0x566623,requestId:_0x14ac56}=await this[_0x5cb2ce(0x1fa)][_0x5cb2ce(0x21a)](_0x5dcc4a[_0x5cb2ce(0x1f0)],this[_0x5cb2ce(0x1d9)]);_0x487e96&&_0x566623[_0x5cb2ce(0x200)]>0x0?_0x1a554e[_0x5cb2ce(0x1eb)]():(await this[_0x5cb2ce(0x201)](_0x566623),this[_0x5cb2ce(0x1f2)](_0x566623,_0x14ac56),this[_0x5cb2ce(0x226)][_0x5cb2ce(0x20e)]());};return _0x1a554e[_0x38874d(0x1ca)]?_0x5a8b08():new Promise((_0x5d463a,_0x375f56)=>{const _0xf94daf=_0x38874d;_0x1a554e[_0xf94daf(0x207)](_0xf94daf(0x1e6),()=>{const _0x58b323=_0xf94daf;_0x5a8b08()[_0x58b323(0x21f)](_0x5d463a)[_0x58b323(0x1dd)](_0x375f56);});});}[_0x2e1dcc(0x20d)](){const _0x51cb82=_0x2e1dcc;super[_0x51cb82(0x20d)]();}async[_0x2e1dcc(0x216)](){const _0x34a58c=_0x2e1dcc;this[_0x34a58c(0x1fa)][_0x34a58c(0x1d3)]||await new Promise(_0xf61730=>{const _0x53f014=_0x34a58c;this[_0x53f014(0x228)](this[_0x53f014(0x1fa)],_0x53f014(0x217),_0x143d3c=>{const _0x22ef8b=_0x53f014;_0x143d3c[_0x22ef8b(0x220)](),_0xf61730();});});}[_0x2e1dcc(0x210)](){const _0x5410d7=_0x2e1dcc,_0xf6b991=this[_0x5410d7(0x21d)][_0x5410d7(0x237)][_0x5410d7(0x208)](_0x3abd56)[_0x5410d7(0x1f7)][_0x5410d7(0x1f9)]()[_0x5410d7(0x1de)]();for(const _0x13273c of _0xf6b991)if(_0x5410d7(0x234)!==_0x13273c[_0x5410d7(0x221)]||_0x13273c[_0x5410d7(0x1fd)])return _0x13273c[_0x5410d7(0x1ff)]+0x1;}[_0x2e1dcc(0x1da)](){const _0x164dd4=_0x2e1dcc,_0x38ee49=this[_0x164dd4(0x21d)][_0x164dd4(0x237)][_0x164dd4(0x208)](_0x3abd56);return new Promise(_0x43f416=>{const _0x3767f4=_0x164dd4;_0x38ee49[_0x3767f4(0x1d7)]?_0x38ee49[_0x3767f4(0x207)](_0x3767f4(0x1d2),()=>{const _0xb9314=_0x3767f4;_0x43f416(this[_0xb9314(0x210)]());}):_0x43f416(this[_0x3767f4(0x210)]());});}[_0x2e1dcc(0x1f2)](_0x2a718f,_0x2839a7){const _0x8cdd30=_0x2e1dcc,_0x31d27b=this[_0x8cdd30(0x226)][_0x8cdd30(0x1f1)];this[_0x8cdd30(0x1d9)]=_0x2839a7;for(const _0x2b2e94 of _0x2a718f){const _0x21cffc=_0x31d27b[_0x8cdd30(0x1cc)](_0x2b2e94['id']);if(_0x21cffc){if((_0x2b2e94[_0x8cdd30(0x1e1)]||_0x2b2e94[_0x8cdd30(0x23d)])&&(_0x2b2e94[_0x8cdd30(0x1ec)]=null),_0x21cffc===this[_0x8cdd30(0x226)][_0x8cdd30(0x218)]){const _0x48b9e3=Math[_0x8cdd30(0x1cf)](_0x21cffc[_0x8cdd30(0x23d)],_0x2b2e94[_0x8cdd30(0x23d)]),_0x554554=Math[_0x8cdd30(0x1cf)](_0x21cffc[_0x8cdd30(0x1e1)],_0x2b2e94[_0x8cdd30(0x1e1)]);let _0x31923c;_0x21cffc[_0x8cdd30(0x23d)]===_0x2b2e94[_0x8cdd30(0x23d)]&&_0x21cffc[_0x8cdd30(0x1e1)]===_0x2b2e94[_0x8cdd30(0x1e1)]?(_0x31923c=!0x0,this[_0x8cdd30(0x224)](_0x2b2e94)):_0x2b2e94[_0x8cdd30(0x23d)]===_0x48b9e3&&_0x2b2e94[_0x8cdd30(0x1e1)]===_0x554554?_0x31923c=!0x1:(_0x21cffc[_0x8cdd30(0x23d)]===_0x48b9e3&&_0x21cffc[_0x8cdd30(0x1e1)]===_0x554554||this[_0x8cdd30(0x1ea)]({'revision':_0x21cffc,'from':_0x554554,'to':_0x48b9e3}),_0x31923c=!0x0),_0x31923c&&(delete _0x2b2e94[_0x8cdd30(0x1e1)],delete _0x2b2e94[_0x8cdd30(0x23d)],delete _0x2b2e94[_0x8cdd30(0x1ec)],delete _0x2b2e94[_0x8cdd30(0x204)],delete _0x2b2e94[_0x8cdd30(0x232)]);}this[_0x8cdd30(0x226)][_0x8cdd30(0x20f)](_0x2b2e94),this[_0x8cdd30(0x224)](_0x2b2e94);}else this[_0x8cdd30(0x226)][_0x8cdd30(0x209)](_0x2b2e94);}const _0x367663=_0x31d27b[_0x8cdd30(0x1fe)]();_0x367663[_0x8cdd30(0x1de)]();for(let _0xaa28b6=0x0;_0xaa28b6<_0x367663[_0x8cdd30(0x200)]-0x1;_0xaa28b6++){const _0x1f1752=_0x367663[_0xaa28b6],_0x1c2183=_0x367663[_0xaa28b6+0x1];if(_0x1f1752[_0x8cdd30(0x1e1)]<_0x1c2183[_0x8cdd30(0x23d)]){const _0x3b1a31=_0x1c2183[_0x8cdd30(0x23d)],_0x5531cf=Math[_0x8cdd30(0x1cf)](_0x3b1a31,_0x1f1752[_0x8cdd30(0x23d)]);this[_0x8cdd30(0x1ea)]({'revision':_0x1f1752,'from':_0x3b1a31,'to':_0x5531cf});}}}[_0x2e1dcc(0x1ea)]({revision:_0x3d0967,from:_0x180669,to:_0xa0d87}={}){const _0x5102cb=_0x2e1dcc,_0x154d65=this[_0x5102cb(0x21d)][_0x5102cb(0x237)][_0x5102cb(0x208)](_0x2b0138),_0x50c4bb=this[_0x5102cb(0x226)][_0x5102cb(0x1ce)]({'revision':_0x3d0967,'from':_0x180669,'to':_0xa0d87});_0x50c4bb[_0x5102cb(0x22d)]=_0x50c4bb[_0x5102cb(0x232)][_0x5102cb(0x1d6)](_0x100728=>_0x154d65[_0x5102cb(0x1e3)](_0x100728)),_0x3d0967[_0x5102cb(0x1dc)](_0x50c4bb);}[_0x2e1dcc(0x224)](_0x3d3a72){const _0x32bed6=_0x2e1dcc,_0x262c90={};_0x262c90['id']=_0x3d3a72['id'];for(const _0x12cca4 of Object[_0x32bed6(0x1db)](_0x3d3a72))'id'!==_0x12cca4&&(_0x262c90[_0x12cca4]=void 0x0);this[_0x32bed6(0x226)][_0x32bed6(0x1d4)](_0x262c90['id'],_0x262c90,!0x0);}async[_0x2e1dcc(0x201)](_0x4bdc35){const _0x1f1290=_0x2e1dcc,_0x24e6bc=this[_0x1f1290(0x21d)][_0x1f1290(0x237)][_0x1f1290(0x208)](_0x2b0138),{connection:_0x755868}=this[_0x1f1290(0x21d)][_0x1f1290(0x237)][_0x1f1290(0x208)](_0x3b2e8b),_0x5a3004=new Set();for(const _0x493ceb of _0x4bdc35){for(const _0x1aa4c2 of _0x493ceb[_0x1f1290(0x232)])_0x3386f8(_0x1aa4c2);_0x493ceb[_0x1f1290(0x22c)]&&_0x3386f8(_0x493ceb[_0x1f1290(0x22c)]);}if(0x0===_0x5a3004[_0x1f1290(0x1ed)])return;const _0xafed0b=await _0x96283[_0x1f1290(0x23c)](_0x755868,Array[_0x1f1290(0x231)](_0x5a3004));for(const _0x1b5c4b of _0xafed0b)_0x24e6bc[_0x1f1290(0x1e3)](_0x1b5c4b['id'])||_0x24e6bc[_0x1f1290(0x215)](_0x1b5c4b);function _0x3386f8(_0x30e81f){const _0x2b782a=_0x1f1290;_0x24e6bc[_0x2b782a(0x1e3)](_0x30e81f)||_0x5a3004[_0x2b782a(0x22a)](_0x30e81f);}}}function et(_0x223454){const _0x52c338=_0x2e1dcc;return _0x223454[_0x52c338(0x202)][_0x52c338(0x1f4)](_0x52c338(0x22e))||_0x223454[_0x52c338(0x202)][_0x52c338(0x1f4)](_0x52c338(0x1cb))||_0x223454[_0x52c338(0x202)][_0x52c338(0x1f4)](_0x52c338(0x20a));}function _0x4f46(){const _0x4fb51c=['isEmptyCurrent','creatorId','authors','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','327062kittvD','updateRevisions','from','authorsIds','RevisionHistoryService','marker','setSource','adapter','plugins','init','875404vaduVw','cloudServices.bundleVersion','sessionId','getMany','toVersion','_isConnected','cloud-services-internal-error:\x20Not\x20connected.','getRevision','collaboration.channelId','buildRevisionData','max','16owcGNm','_revisions','change:_isPendingUpdate','isConnected','_bufferUpdate','16024ThEcaX','map','_isPendingUpdate','3166740aWIess','_lastRequestId','_getLatestVersion','keys','_update','catch','reverse','9wBIVdI','has','fromVersion','1415mOgVvN','getUser','RevisionTracker','pluginName','change:_isConnected','RevisionHistory','isEnabled','_oldOffset','_fixRevision','_handleReconnectionError','diffData','size','requires','_offset','connection','repository','_handleRevisionsUpdate','isBundleUploaded','startsWith','_startingVersion','isPremiumPlugin','serverHistory','connect','getOperations','_revisionHistoryService','wrongRequestId','400','affectsData','getRevisions','baseVersion','length','_fetchMissingUsers','message','reInit','createdAt','bind','CloudServicesRevisionHistoryAdapter','once','get','addRevisionData','cloud-services-internal-error:\x20Request\x20timeout.','config','state','destroy','sendBufferedUpdates','setRevisionData','_getLatestVersionFromServerOperations','addToReconnectionStack','remove','isOfficialPlugin','data','addUser','_waitForServiceReady','connected','currentRevision','_bufferedUpdates','reconnect','_revisionDataBuilder','5158158YTwUAD','editor','11807660zJFXfK','then','off','type','revisionsUpdated','code','_preventResendingRevisionData','_createCurrentRevision','_revisionTracker','3409070YnzbTI','listenTo','CONNECTED','add'];_0x4f46=function(){return _0x4fb51c;};return _0x4f46();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|