@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.2 → 47.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x433bb0=_0x39f5;function _0x35f0(){const _0x267b21=['31316fITiSO','keystrokes','8TdHMnY','aria-expanded','bindTemplate','2761020cMYyej','removeAttribute','render','items','Connected\x20users\x20list','16561aQOcpZ','isExpanded','fire','contains','presencelist:show','545cTwlug','createCollection','754191pZwxLJ','querySelector','2198xyAqmL','presencelist:hide','setAttribute','list','relatedTarget','9552VvQbdC','.ck-presence-list__dropdown-list','11131769xcERWY','listenTo','30QDGeFq','5261490UjogDD','set','hasPopup','ck-presence-list__list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setTemplate','element','focus','change:hasPopup','div','.ck-balloon-panel_with-arrow'];_0x35f0=function(){return _0x267b21;};return _0x35f0();}(function(_0x1b7fda,_0x47da54){const _0x5a5522=_0x39f5,_0x44b72e=_0x1b7fda();while(!![]){try{const _0x3705a5=-parseInt(_0x5a5522(0x100))/0x1*(parseInt(_0x5a5522(0xf8))/0x2)+-parseInt(_0x5a5522(0xfb))/0x3+parseInt(_0x5a5522(0xf6))/0x4*(-parseInt(_0x5a5522(0x105))/0x5)+-parseInt(_0x5a5522(0x113))/0x6+-parseInt(_0x5a5522(0x109))/0x7*(-parseInt(_0x5a5522(0x10e))/0x8)+-parseInt(_0x5a5522(0x107))/0x9+-parseInt(_0x5a5522(0x112))/0xa*(-parseInt(_0x5a5522(0x110))/0xb);if(_0x3705a5===_0x47da54)break;else _0x44b72e['push'](_0x44b72e['shift']());}catch(_0x49cde6){_0x44b72e['push'](_0x44b72e['shift']());}}}(_0x35f0,0x94f92));import{View as _0x24058f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xbf84a7}from'ckeditor5/src/utils.js';function _0x39f5(_0x488173,_0x236ab9){const _0x35f069=_0x35f0();return _0x39f5=function(_0x39f5b2,_0x1b7c46){_0x39f5b2=_0x39f5b2-0xf5;let _0x3361dd=_0x35f069[_0x39f5b2];return _0x3361dd;},_0x39f5(_0x488173,_0x236ab9);}import{getTranslation as _0x147ca6}from'../../common-translations.js';export class PresenceInlineListView extends _0x24058f{[_0x433bb0(0xfe)];[_0x433bb0(0xf7)];constructor(_0x1824b1){const _0x58d88d=_0x433bb0;super(_0x1824b1);const _0x7fa1cf=this[_0x58d88d(0xfa)];this[_0x58d88d(0xfe)]=this[_0x58d88d(0x106)](),this[_0x58d88d(0xf7)]=new _0xbf84a7(),this[_0x58d88d(0x114)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x58d88d(0x118)]({'tag':_0x58d88d(0x11c),'attributes':{'aria-haspopup':_0x7fa1cf['if'](_0x58d88d(0x115)),'aria-expanded':_0x7fa1cf['to'](_0x58d88d(0x101),_0x5cb456=>this[_0x58d88d(0x115)]&&String(_0x5cb456)),'aria-label':_0x7fa1cf['to'](_0x58d88d(0x115),_0x47824a=>_0x147ca6(_0x1824b1,_0x47824a?_0x58d88d(0x117):_0x58d88d(0xff))),'role':_0x58d88d(0x10c),'tabindex':_0x7fa1cf['to'](_0x58d88d(0x115),_0x49b391=>!!_0x49b391&&0x0),'class':['ck',_0x58d88d(0x116)]},'children':this[_0x58d88d(0xfe)],'on':{'mouseenter':_0x7fa1cf['to'](()=>this[_0x58d88d(0x102)](_0x58d88d(0x104))),'mouseleave':_0x7fa1cf['to'](_0x565368=>{const _0x802e73=_0x58d88d,_0x5d4847=_0x565368,_0x1f8b71=document[_0x802e73(0x108)](_0x802e73(0x10f)),_0x3baddc=document[_0x802e73(0x108)](_0x802e73(0xf5));_0x1f8b71?.[_0x802e73(0x103)](_0x5d4847[_0x802e73(0x10d)])||_0x3baddc?.[_0x802e73(0x103)](_0x5d4847[_0x802e73(0x10d)])||this[_0x802e73(0x102)](_0x802e73(0x10a));})}}),this['on'](_0x58d88d(0x11b),(_0x2b9fd1,_0x2827c0,_0x2238cc)=>{const _0x5f5054=_0x58d88d;this[_0x5f5054(0x119)]&&(_0x2238cc?this[_0x5f5054(0x119)][_0x5f5054(0x10b)](_0x5f5054(0xf9),String(this[_0x5f5054(0x101)])):this[_0x5f5054(0x119)][_0x5f5054(0xfc)](_0x5f5054(0xf9)));});}[_0x433bb0(0x11a)](){const _0xefadca=_0x433bb0;this[_0xefadca(0x119)][_0xefadca(0x11a)]();}[_0x433bb0(0xfd)](){const _0x4caf70=_0x433bb0;super[_0x4caf70(0xfd)](),this[_0x4caf70(0xf7)][_0x4caf70(0x111)](this[_0x4caf70(0x119)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x201c(){const _0x464168=['ck-reset','set','1295172Aazulo','2982303gHhION','632PtAabC','locale','5232636uYffUO','inlineListView','change','bind','ck-rounded-corners','isCollapsed','124009SgCSeJ','div','40789CmWjaq','tooltipPosition','counterView','15uEEGlt','ck-presence-list--collapsed','setTemplate','items','bindTemplate','hasPopup','20tUhZwv','10LnnwyT','320028ybLlkW','4097027NcYowX','ck-presence-list','listenTo','first'];_0x201c=function(){return _0x464168;};return _0x201c();}function _0x3ce1(_0x538e0e,_0x55be21){const _0x201c16=_0x201c();return _0x3ce1=function(_0x3ce12f,_0x1322aa){_0x3ce12f=_0x3ce12f-0x192;let _0x8e24b0=_0x201c16[_0x3ce12f];return _0x8e24b0;},_0x3ce1(_0x538e0e,_0x55be21);}const _0x428b03=_0x3ce1;(function(_0x8c468,_0x29ded6){const _0x1881fa=_0x3ce1,_0x1800b7=_0x8c468();while(!![]){try{const _0x35c1dc=-parseInt(_0x1881fa(0x19b))/0x1*(parseInt(_0x1881fa(0x1a7))/0x2)+-parseInt(_0x1881fa(0x1af))/0x3+parseInt(_0x1881fa(0x195))/0x4+parseInt(_0x1881fa(0x1a0))/0x5*(-parseInt(_0x1881fa(0x1a8))/0x6)+parseInt(_0x1881fa(0x19d))/0x7*(parseInt(_0x1881fa(0x193))/0x8)+parseInt(_0x1881fa(0x192))/0x9*(parseInt(_0x1881fa(0x1a6))/0xa)+-parseInt(_0x1881fa(0x1a9))/0xb;if(_0x35c1dc===_0x29ded6)break;else _0x1800b7['push'](_0x1800b7['shift']());}catch(_0x1b3731){_0x1800b7['push'](_0x1800b7['shift']());}}}(_0x201c,0xcec8a));import{View as _0x3ef3d8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xbd610f}from'./presencecounterview.js';import{PresenceInlineListView as _0xb8bfb}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3ef3d8{[_0x428b03(0x19f)];[_0x428b03(0x196)];constructor(_0x1a3101,_0x3d9ffe=0x6){const _0x287207=_0x428b03;super(_0x1a3101);const _0x1db520=this[_0x287207(0x1a4)];this[_0x287207(0x1ae)](_0x287207(0x19a),!0x0),this[_0x287207(0x19f)]=new _0xbd610f(this[_0x287207(0x194)],_0x3d9ffe),this[_0x287207(0x196)]=new _0xb8bfb(_0x1a3101),this[_0x287207(0x196)][_0x287207(0x198)](_0x287207(0x1a5))['to'](this,_0x287207(0x19a)),this[_0x287207(0x1ab)](this[_0x287207(0x196)][_0x287207(0x1a3)],_0x287207(0x197),()=>{const _0x8c1c37=_0x287207;for(const _0x28e203 of this[_0x8c1c37(0x196)][_0x8c1c37(0x1a3)])_0x28e203[_0x8c1c37(0x19e)]='s';this[_0x8c1c37(0x196)][_0x8c1c37(0x1a3)][_0x8c1c37(0x1ac)]&&(this[_0x8c1c37(0x196)][_0x8c1c37(0x1a3)][_0x8c1c37(0x1ac)][_0x8c1c37(0x19e)]='se');}),this[_0x287207(0x1a2)]({'tag':_0x287207(0x19c),'attributes':{'class':['ck',_0x287207(0x1aa),_0x287207(0x1ad),_0x287207(0x199),_0x1db520['if'](_0x287207(0x19a),_0x287207(0x1a1))]},'children':[this[_0x287207(0x196)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x31d3(_0x324536,_0xf796f){var _0x53c8ef=_0x53c8();return _0x31d3=function(_0x31d3f0,_0x268d8f){_0x31d3f0=_0x31d3f0-0x83;var _0x25caf5=_0x53c8ef[_0x31d3f0];return _0x25caf5;},_0x31d3(_0x324536,_0xf796f);}var _0x313d9f=_0x31d3;(function(_0x18d88e,_0x665f58){var _0x49b600=_0x31d3,_0x160664=_0x18d88e();while(!![]){try{var _0x30f800=-parseInt(_0x49b600(0x87))/0x1+-parseInt(_0x49b600(0x8d))/0x2+parseInt(_0x49b600(0x83))/0x3*(parseInt(_0x49b600(0x86))/0x4)+-parseInt(_0x49b600(0x85))/0x5+parseInt(_0x49b600(0x8c))/0x6*(-parseInt(_0x49b600(0x88))/0x7)+parseInt(_0x49b600(0x84))/0x8+-parseInt(_0x49b600(0x8e))/0x9*(-parseInt(_0x49b600(0x90))/0xa);if(_0x30f800===_0x665f58)break;else _0x160664['push'](_0x160664['shift']());}catch(_0x2b2cdd){_0x160664['push'](_0x160664['shift']());}}}(_0x53c8,0xb99f1));function _0x53c8(){var _0x3a3dbe=['6163690tDlWnT','1870060BqtnNu','1073229RPHUzS','641361CYNUnr','isPremiumPlugin','isOfficialPlugin','pluginName','6EBAhJt','3035512qErBRK','9NbqjYF','requires','30393310tNqQLA','PresenceList','6aKYnzx','5610320PqYOAj'];_0x53c8=function(){return _0x3a3dbe;};return _0x53c8();}import{ContextPlugin as _0x586ca2}from'ckeditor5/src/core.js';import{Sessions as _0x334b09}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3d8827}from'./presencelist/presencelistui.js';export class PresenceList extends _0x586ca2{static get[_0x313d9f(0x8f)](){return[_0x334b09,_0x3d8827];}static get[_0x313d9f(0x8b)](){var _0x1018ec=_0x313d9f;return _0x1018ec(0x91);}static get[_0x313d9f(0x8a)](){return!0x0;}static get[_0x313d9f(0x89)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1e6b7c)());[_0xf9d0e5(0x170)];static get[_0xf9d0e5(0x1b1)](){const _0x4bb2f2=_0xf9d0e5;return[_0x1b0dd8,_0x4bb2f2(0x1b9),_0x2af42e,_0x570067];}static get[_0xf9d0e5(0x1a5)](){const _0x23a684=_0xf9d0e5;return _0x23a684(0x171);}static get[_0xf9d0e5(0x173)](){return!0x0;}static get[_0xf9d0e5(0x1ae)](){return!0x0;}constructor(_0x4ff9c5){const _0x423636=_0xf9d0e5;super(_0x4ff9c5),this[_0x423636(0x170)]=new Map();}async[_0xf9d0e5(0x176)](){const _0x2b23ac=_0xf9d0e5,_0x1deeec=this[_0x2b23ac(0x1c0)],_0x5d27a8=_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x2b23ac(0x1b9));if(_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x1b0dd8)[_0x2b23ac(0x193)](this),_0x5d27a8[_0x2b23ac(0x1bd)]={'addCommentThread':async({channelId:_0x46e4c3,threadId:_0x36c082,comments:_0x28cf95,resolvedAt:_0x841fbe,resolvedBy:_0x38019d,context:_0x57333c,attributes:_0x39aee1})=>{const _0x3c8869=_0x2b23ac,_0x4e2436=await this[_0x3c8869(0x1ad)](_0x46e4c3)[_0x3c8869(0x1bc)]({'commentThreadId':_0x36c082,'comments':_0x28cf95[_0x3c8869(0x1b2)](_0x4e27aa=>function(_0x1a06ff,_0x22b4b2,_0x223d0c){const _0x2055dd=_0x3c8869;return{'commentThreadId':_0x223d0c,'commentId':_0x1a06ff[_0x2055dd(0x16f)],'userId':_0x1a06ff[_0x2055dd(0x191)],'content':_0x1a06ff[_0x2055dd(0x183)],'documentId':_0x22b4b2,'createdAt':_0x1a06ff[_0x2055dd(0x180)],'attributes':_0x1a06ff[_0x2055dd(0x1a9)]||{}};}(_0x4e27aa,_0x46e4c3,_0x36c082)),'resolvedAt':_0x841fbe,'resolvedBy':_0x38019d,'context':_0x57333c,'attributes':_0x39aee1})[_0x3c8869(0x17f)](A);return{'threadId':_0x4e2436[_0x3c8869(0x1c1)],'comments':_0x4e2436[_0x3c8869(0x16e)]};},'getCommentThread':async({channelId:_0x345679,threadId:_0x587ea3})=>{const _0x2e1f48=_0x2b23ac,_0x8a0a4b=await this[_0x2e1f48(0x1ad)](_0x345679)[_0x2e1f48(0x197)](_0x587ea3)[_0x2e1f48(0x17f)](f)[_0x2e1f48(0x17f)](A);return _0x8a0a4b?_0x8a0a4b[_0x2e1f48(0x174)]?null:(await this[_0x2e1f48(0x179)]([_0x8a0a4b]),{'threadId':_0x8a0a4b[_0x2e1f48(0x1c1)],'comments':_0x8a0a4b[_0x2e1f48(0x16e)][_0x2e1f48(0x1b2)](p),'context':_0x8a0a4b[_0x2e1f48(0x1c0)],'resolvedAt':_0x8a0a4b[_0x2e1f48(0x18a)],'resolvedBy':_0x8a0a4b[_0x2e1f48(0x169)],'attributes':_0x8a0a4b[_0x2e1f48(0x1a9)]||{}}):null;},'updateCommentThread':async({channelId:_0x52d376,threadId:_0x36a882,context:_0x15e1a7,unlinkedAt:_0x577f47,attributes:_0x41b933})=>this[_0x2b23ac(0x1ad)](_0x52d376)[_0x2b23ac(0x18c)]({'commentThreadId':_0x36a882,'context':_0x15e1a7,'attributes':_0x41b933,'unlinkedAt':_0x577f47})[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'resolveCommentThread':async({channelId:_0x26c409,threadId:_0x7f7e1a})=>{const _0x24599f=_0x2b23ac,_0x8cfac4=await this[_0x24599f(0x1ad)](_0x26c409)[_0x24599f(0x19a)](_0x7f7e1a)[_0x24599f(0x17f)](f)[_0x24599f(0x17f)](A);return{'threadId':_0x8cfac4[_0x24599f(0x1c1)],'resolvedAt':_0x8cfac4[_0x24599f(0x18a)],'resolvedBy':_0x8cfac4[_0x24599f(0x169)]};},'reopenCommentThread':async({channelId:_0x3c56a2,threadId:_0x427ebc})=>this[_0x2b23ac(0x1ad)](_0x3c56a2)[_0x2b23ac(0x15e)](_0x427ebc)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'removeCommentThread':({channelId:_0x2f6289,threadId:_0x1d285f})=>this[_0x2b23ac(0x1ad)](_0x2f6289)[_0x2b23ac(0x1bb)](_0x1d285f)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'addComment':({channelId:_0x4bd6d1,threadId:_0xa46c70,commentId:_0x2f97b4,content:_0x446db2,attributes:_0x1d2a24})=>this[_0x2b23ac(0x1ad)](_0x4bd6d1)[_0x2b23ac(0x1a2)](_0xa46c70,_0x2f97b4,_0x446db2,_0x1d2a24)[_0x2b23ac(0x17f)](A),'updateComment':({channelId:_0x538877,threadId:_0xbac6b8,commentId:_0x32c9b5,content:_0x31ff70,attributes:_0x432757})=>this[_0x2b23ac(0x1ad)](_0x538877)[_0x2b23ac(0x163)](_0xbac6b8,_0x32c9b5,_0x31ff70,_0x432757)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A),'removeComment':({channelId:_0x5d309a,threadId:_0x260668,commentId:_0x42a6be})=>this[_0x2b23ac(0x1ad)](_0x5d309a)[_0x2b23ac(0x19d)](_0x260668,_0x42a6be)[_0x2b23ac(0x17f)](f)[_0x2b23ac(0x17f)](A)},_0x1deeec instanceof _0x56a5f6){const _0x50aede=_0x1deeec[_0x2b23ac(0x1b3)][_0x2b23ac(0x18d)](_0x2b23ac(0x1b5)),_0x5c465a=_0x1deeec[_0x2b23ac(0x1be)][_0x2b23ac(0x18d)](_0x2af42e);await this[_0x2b23ac(0x19c)](_0x50aede);const _0x4723df=await this[_0x2b23ac(0x170)][_0x2b23ac(0x18d)](_0x50aede)[_0x2b23ac(0x18e)]();this[_0x2b23ac(0x161)](_0x5c465a,_0x2b23ac(0x1b7)+_0x50aede,(_0x150418,{session:_0x5919f4})=>{const _0x3780af=_0x2b23ac;_0x5919f4['id']===_0x5c465a[_0x3780af(0x1a7)]&&(_0x150418[_0x3780af(0x195)](),this[_0x3780af(0x1c0)][_0x3780af(0x1be)][_0x3780af(0x18d)](_0x3780af(0x16b))[_0x3780af(0x17d)](_0x5919f4[_0x3780af(0x185)],_0x50aede));}),_0x5c465a[_0x2b23ac(0x184)](_0x50aede,_0x4723df);}}async[_0xf9d0e5(0x19c)](_0x3eb877){const _0xdb8a27=_0xf9d0e5;if(this[_0xdb8a27(0x170)][_0xdb8a27(0x1aa)](_0x3eb877))throw new _0x3dc946(_0xdb8a27(0x18f),null,{'channelId':_0x3eb877});const _0x464428=this[_0xdb8a27(0x1c0)][_0xdb8a27(0x1be)][_0xdb8a27(0x18d)](_0xdb8a27(0x1b9)),_0x5e9d9c=new CloudServicesCommentsAdapter[(_0xdb8a27(0x192))](_0x3eb877);this[_0xdb8a27(0x170)][_0xdb8a27(0x175)](_0x3eb877,_0x5e9d9c),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1b4),(_0x34dd82,_0x251550)=>{const _0x3f8be9=_0xdb8a27,{commentThreadId:_0x3d47ca,documentId:_0x376813,context:_0x33bddb,attributes:_0x5865cd,resolvedAt:_0x3ff5d1,resolvedBy:_0x2103e9,comments:_0x1f25ae}=_0x251550;_0x464428[_0x3f8be9(0x197)](_0x3d47ca)||_0x464428[_0x3f8be9(0x1bc)]({'threadId':_0x3d47ca,'channelId':_0x376813,'comments':_0x1f25ae?_0x1f25ae[_0x3f8be9(0x1b2)](p):[],'context':_0x33bddb,'attributes':_0x5865cd,'resolvedAt':_0x3ff5d1,'resolvedBy':_0x2103e9,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1a6),(_0x4e757b,{commentThreadId:_0x106064,documentId:_0x1a9c09,context:_0x34503d,unlinkedAt:_0x528f13,attributes:_0x39beac})=>{const _0x17e1b3=_0xdb8a27;_0x464428[_0x17e1b3(0x197)](_0x106064)&&_0x464428[_0x17e1b3(0x18c)]({'threadId':_0x106064,'channelId':_0x1a9c09,'context':_0x34503d,'unlinkedAt':_0x528f13,'attributes':_0x39beac,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1bf),(_0x3cc5de,{commentThreadId:_0x561072,resolvedBy:_0x1f064a,resolvedAt:_0x2190aa})=>{const _0x5996c4=_0xdb8a27,_0x3958e6=_0x464428[_0x5996c4(0x197)](_0x561072);_0x3958e6&&_0x3958e6[_0x5996c4(0x17c)]({'resolvedBy':_0x1f064a,'resolvedAt':_0x2190aa,'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x166),(_0x20733d,{commentThreadId:_0x4801f8})=>{const _0x26429e=_0xdb8a27,_0x37264a=_0x464428[_0x26429e(0x197)](_0x4801f8);_0x37264a&&_0x37264a[_0x26429e(0x1ab)]({'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x178),(_0x387dca,{commentThreadId:_0x1f92e4})=>{const _0x50d4c4=_0xdb8a27,_0xb30ef0=_0x464428[_0x50d4c4(0x197)](_0x1f92e4);_0xb30ef0&&_0xb30ef0[_0x50d4c4(0x1c4)]({'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x172),(_0x11144d,_0xc73182)=>{const _0x5649eb=_0xdb8a27,_0x157f67=_0xc73182[_0x5649eb(0x1c1)],_0x3668e6=_0x464428[_0x5649eb(0x197)](_0x157f67);_0x3668e6&&_0x3668e6[_0x5649eb(0x1a2)]({...p(_0xc73182),'isFromAdapter':!0x0});}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1c3),(_0x46d25c,{commentThreadId:_0x30c5d4,commentId:_0x39c5da,content:_0x1c12ab,attributes:_0x3ec447})=>{const _0x11861a=_0xdb8a27,_0x8cbcd2=_0x464428[_0x11861a(0x197)](_0x30c5d4);if(_0x8cbcd2){const _0x28e2b5=_0x8cbcd2[_0x11861a(0x182)](_0x39c5da);_0x28e2b5&&_0x28e2b5[_0x11861a(0x19e)]({'content':_0x1c12ab,'attributes':_0x3ec447,'isFromAdapter':!0x0});}}),this[_0xdb8a27(0x161)](_0x5e9d9c,_0xdb8a27(0x1a1),(_0x293fe5,{commentThreadId:_0x34f28f,commentId:_0x4f2175})=>{const _0x2299c5=_0xdb8a27,_0x8128c=_0x464428[_0x2299c5(0x197)](_0x34f28f);if(_0x8128c){const _0x34c967=_0x8128c[_0x2299c5(0x182)](_0x4f2175);_0x34c967&&_0x34c967[_0x2299c5(0x1c4)]({'isFromAdapter':!0x0});}}),await this[_0xdb8a27(0x196)](_0x3eb877);}[_0xf9d0e5(0x1ac)](){const _0x206696=_0xf9d0e5;if(this[_0x206696(0x1c0)]instanceof _0x56a5f6){const _0x45fbb8=this[_0x206696(0x1c0)][_0x206696(0x1b3)][_0x206696(0x18d)](_0x206696(0x1b5));this[_0x206696(0x17a)](_0x45fbb8);}}[_0xf9d0e5(0x17a)](_0x403e63){const _0x201c60=_0xf9d0e5;if(!this[_0x201c60(0x170)][_0x201c60(0x1aa)](_0x403e63))throw new _0x3dc946(_0x201c60(0x15f),null,{'channelId':_0x403e63});this[_0x201c60(0x1ad)](_0x403e63)[_0x201c60(0x167)](),this[_0x201c60(0x170)][_0x201c60(0x194)](_0x403e63);}async[_0xf9d0e5(0x19f)](){const _0x5a77c5=_0xf9d0e5;for(const _0x49e4b9 of this[_0x5a77c5(0x170)][_0x5a77c5(0x177)]())await this[_0x5a77c5(0x196)](_0x49e4b9);if(this[_0x5a77c5(0x1c0)]instanceof _0x56a5f6){const _0x1b718=this[_0x5a77c5(0x1c0)][_0x5a77c5(0x1b3)][_0x5a77c5(0x18d)](_0x5a77c5(0x1b5)),_0x2a1848=this[_0x5a77c5(0x1c0)][_0x5a77c5(0x1be)][_0x5a77c5(0x18d)](_0x2af42e);_0x2a1848[_0x5a77c5(0x17b)](_0x1b718);const _0x872f5d=await this[_0x5a77c5(0x170)][_0x5a77c5(0x18d)](_0x1b718)[_0x5a77c5(0x18e)]();_0x2a1848[_0x5a77c5(0x184)](_0x1b718,_0x872f5d);}}async[_0xf9d0e5(0x196)](_0x20d98a){const _0x21bdee=_0xf9d0e5,{connection:_0x23b7ac}=this[_0x21bdee(0x1c0)][_0x21bdee(0x1be)][_0x21bdee(0x18d)](_0x1b0dd8),_0x1f2ab=this[_0x21bdee(0x1c0)][_0x21bdee(0x1be)][_0x21bdee(0x18d)](_0x21bdee(0x1b9)),_0x5b1127=this[_0x21bdee(0x170)][_0x21bdee(0x18d)](_0x20d98a),_0x3bfdde=await _0x5b1127[_0x21bdee(0x1af)](_0x23b7ac);await this[_0x21bdee(0x179)](_0x3bfdde);const _0x528219=new Set(Array[_0x21bdee(0x199)](_0x1f2ab[_0x21bdee(0x1c2)]({'channelId':_0x20d98a}),_0x412e18=>_0x412e18['id']));for(const _0x28d4b5 of _0x3bfdde)_0x28d4b5[_0x21bdee(0x174)]||_0x528219[_0x21bdee(0x194)](_0x28d4b5[_0x21bdee(0x1c1)]);for(const _0x2bca08 of _0x528219)_0x1f2ab[_0x21bdee(0x197)](_0x2bca08)[_0x21bdee(0x1c4)]({'isFromAdapter':!0x0});for(const _0x2f06d7 of _0x3bfdde){let _0x38c515=_0x1f2ab[_0x21bdee(0x197)](_0x2f06d7[_0x21bdee(0x1c1)]);const {commentThreadId:_0x10e589,context:_0x417c2f,attributes:_0x1c2d4b,resolvedBy:_0x1fc1cd,resolvedAt:_0xc25efb,unlinkedAt:_0x6d8bec,deletedAt:_0x2e0d14}=_0x2f06d7;if(_0x2e0d14)continue;_0x38c515||(_0x38c515=_0x1f2ab[_0x21bdee(0x1bc)]({'channelId':_0x20d98a,'threadId':_0x10e589,'context':_0x417c2f,'attributes':_0x1c2d4b||{},'resolvedBy':_0x1fc1cd,'resolvedAt':_0xc25efb,'unlinkedAt':_0x6d8bec,'isFromAdapter':!0x0}));const _0x2f86bf=new Set(Array[_0x21bdee(0x199)](_0x38c515[_0x21bdee(0x16e)],_0x2dbfad=>_0x2dbfad['id']));for(const _0x6c392c of _0x2f06d7[_0x21bdee(0x16e)])_0x2f86bf[_0x21bdee(0x194)](_0x6c392c[_0x21bdee(0x16f)]);for(const _0x380451 of _0x2f86bf)_0x38c515[_0x21bdee(0x182)](_0x380451)[_0x21bdee(0x1c4)]({'isFromAdapter':!0x0});for(const _0x34b6fa of _0x2f06d7[_0x21bdee(0x16e)]){const _0x2fffc7=_0x38c515[_0x21bdee(0x182)](_0x34b6fa[_0x21bdee(0x16f)]);_0x2fffc7?_0x2fffc7[_0x21bdee(0x183)]!==_0x34b6fa[_0x21bdee(0x183)]&&_0x2fffc7[_0x21bdee(0x19e)]({'content':_0x34b6fa[_0x21bdee(0x183)],'isFromAdapter':!0x0}):_0x38c515[_0x21bdee(0x1a2)](Object[_0x21bdee(0x1b6)](p(_0x34b6fa),{'isFromAdapter':!0x0}));}}}[_0xf9d0e5(0x1ad)](_0x21418b){const _0x540c82=_0xf9d0e5;if(!this[_0x540c82(0x170)][_0x540c82(0x1aa)](_0x21418b))throw new _0x3dc946(_0x540c82(0x187),null,{'channelId':_0x21418b});return this[_0x540c82(0x170)][_0x540c82(0x18d)](_0x21418b);}async[_0xf9d0e5(0x179)](_0x2b631f){const _0x4e5f31=_0xf9d0e5,_0x347e82=this[_0x4e5f31(0x1c0)][_0x4e5f31(0x1be)][_0x4e5f31(0x18d)](_0x570067),{connection:_0xdfddce}=this[_0x4e5f31(0x1c0)][_0x4e5f31(0x1be)][_0x4e5f31(0x18d)](_0x1b0dd8),_0x52cf3e=new Set();for(const {resolvedBy:_0x2462d2,comments:_0x7f1fac}of _0x2b631f){_0x2462d2&&!_0x347e82[_0x4e5f31(0x162)](_0x2462d2)&&_0x52cf3e[_0x4e5f31(0x188)](_0x2462d2);for(const {userId:_0x3dd16d}of _0x7f1fac)_0x347e82[_0x4e5f31(0x162)](_0x3dd16d)||_0x52cf3e[_0x4e5f31(0x188)](_0x3dd16d);}if(0x0===_0x52cf3e[_0x4e5f31(0x16a)])return;const _0x57b1c9=await _0x1d157e[_0x4e5f31(0x198)](_0xdfddce,Array[_0x4e5f31(0x199)](_0x52cf3e));for(const _0x4530cb of _0x57b1c9)_0x347e82[_0x4e5f31(0x162)](_0x4530cb['id'])||_0x347e82[_0x4e5f31(0x186)](_0x4530cb);}}async function f(_0x26671e){const _0x24c3e9=_0xf9d0e5;if(_0x24c3e9(0x18b)!==_0x26671e[_0x24c3e9(0x1b8)])throw _0x26671e;}function A(_0x4484ce){const _0x3a6afd=_0xf9d0e5;if((_0x434932=_0x4484ce)[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x1ba))||_0x434932[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x16d))||_0x434932[_0x3a6afd(0x190)][_0x3a6afd(0x1a3)](_0x3a6afd(0x1a4)))return new Promise(()=>{});var _0x434932;throw _0x4484ce;}function p(_0x44fd66){const _0x1d46fd=_0xf9d0e5;return{'threadId':_0x44fd66[_0x1d46fd(0x1c1)],'commentId':_0x44fd66[_0x1d46fd(0x16f)],'content':_0x44fd66[_0x1d46fd(0x183)],'createdAt':_0x44fd66[_0x1d46fd(0x180)],'authorId':_0x44fd66[_0x1d46fd(0x1a8)],'attributes':_0x44fd66[_0x1d46fd(0x1a9)]||{}};}
|
|
23
|
+
function _0x9cb8(_0x162a0c,_0x180284){const _0x41f391=_0x41f3();return _0x9cb8=function(_0x9cb8e3,_0x3e3d87){_0x9cb8e3=_0x9cb8e3-0x13a;let _0x238de9=_0x41f391[_0x9cb8e3];return _0x238de9;},_0x9cb8(_0x162a0c,_0x180284);}const _0x8b009f=_0x9cb8;(function(_0x4ab698,_0x223080){const _0x1a8199=_0x9cb8,_0x251fe6=_0x4ab698();while(!![]){try{const _0x4b7eb6=-parseInt(_0x1a8199(0x13c))/0x1+-parseInt(_0x1a8199(0x194))/0x2+-parseInt(_0x1a8199(0x14e))/0x3+parseInt(_0x1a8199(0x17e))/0x4+parseInt(_0x1a8199(0x170))/0x5*(parseInt(_0x1a8199(0x19e))/0x6)+-parseInt(_0x1a8199(0x156))/0x7*(parseInt(_0x1a8199(0x182))/0x8)+-parseInt(_0x1a8199(0x151))/0x9*(-parseInt(_0x1a8199(0x18d))/0xa);if(_0x4b7eb6===_0x223080)break;else _0x251fe6['push'](_0x251fe6['shift']());}catch(_0x52d67e){_0x251fe6['push'](_0x251fe6['shift']());}}}(_0x41f3,0xef603));import{Context as _0x117b73,ContextPlugin as _0x452571}from'ckeditor5/src/core.js';import{CKEditorError as _0x499b01}from'ckeditor5/src/utils.js';function _0x41f3(){const _0x3e8400=['off','commentAdded','sessionAdd:','1797499LOthtF','catch','404','keys','adapter','addUser','getCommentThreads','from','updateCommentThread','pluginName','add','_setUpService','addComment','update','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_fetchMissingUsersForThreads','commentRemoved','3406671Mhgvde','getConnectedSessions','reopenCommentThread','3393gmITlP','commentThreadId','_getService','startsWith','commentThreadReopened','4174387dSvbCP','createdAt','commentThreadAdded','cloudservicescommentsadapter-service-not-exist','permissions','unregister','delete','getCommentThread','addCommentThread','CommentsRepository','code','isPremiumPlugin','connect','isOfficialPlugin','cloudservicescommentsadapter-disconnect-not-exist','deletedAt','resolvedAt','destroy','get','resolveCommentThread','commentUpdated','map','plugins','_terminateService','cloud-services-internal-error:\x20Request\x20timeout.','message','250UmukNi','assign','removeComment','cloud-services-internal-error:\x20Not\x20connected.','Permissions','getMany','has','CommentsService','content','_services','cloudservicescommentsadapter-connect-already-connected','requires','disconnect','getComment','1522660CRlaym','config','commentThreadResolved','reconnect','8ZwHPjC','attributes','commentId','resolvedBy','setPermissions','listenTo','removeCommentThread','collaboration.channelId','getUser','set','resolve','108050vRXfhK','commentThreadUpdated','addToReconnectionStack','register','authorId','comments','_connectService','2043640FrDAos','size','commentThreadRemoved','updateComment','CloudServicesCommentsAdapter','remove','context','reopen','init','mySessionId','129306mcTMZa'];_0x41f3=function(){return _0x3e8400;};return _0x41f3();}import{Users as _0x4d130b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xaa6fd3,User as _0x1fdb28}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2e22bf}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1d01ce}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x452571{static [_0x8b009f(0x177)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xaa6fd3)());[_0x8b009f(0x179)];static get[_0x8b009f(0x17b)](){const _0x2a4636=_0x8b009f;return[_0x2e22bf,_0x2a4636(0x15f),_0x1d01ce,_0x4d130b];}static get[_0x8b009f(0x145)](){const _0x280f1c=_0x8b009f;return _0x280f1c(0x198);}static get[_0x8b009f(0x163)](){return!0x0;}static get[_0x8b009f(0x161)](){return!0x0;}constructor(_0x283f8a){const _0x246b85=_0x8b009f;super(_0x283f8a),this[_0x246b85(0x179)]=new Map();}async[_0x8b009f(0x19c)](){const _0x339eb9=_0x8b009f,_0x33217b=this[_0x339eb9(0x19a)],_0x5a4aa7=_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x339eb9(0x15f));if(_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x2e22bf)[_0x339eb9(0x18f)](this),_0x5a4aa7[_0x339eb9(0x140)]={'addCommentThread':async({channelId:_0x18251a,threadId:_0xa7e39f,comments:_0x4ed555,resolvedAt:_0x509f08,resolvedBy:_0x319f17,context:_0x4050ca,attributes:_0xbd5e8d})=>{const _0x2c3e8b=_0x339eb9,_0x314a4f=await this[_0x2c3e8b(0x153)](_0x18251a)[_0x2c3e8b(0x15e)]({'commentThreadId':_0xa7e39f,'comments':_0x4ed555[_0x2c3e8b(0x16b)](_0x14ecfc=>function(_0x13bfca,_0x4e5eae,_0x39f068){const _0x521e5d=_0x2c3e8b;return{'commentThreadId':_0x39f068,'commentId':_0x13bfca[_0x521e5d(0x184)],'userId':_0x13bfca[_0x521e5d(0x191)],'content':_0x13bfca[_0x521e5d(0x178)],'documentId':_0x4e5eae,'createdAt':_0x13bfca[_0x521e5d(0x157)],'attributes':_0x13bfca[_0x521e5d(0x183)]||{}};}(_0x14ecfc,_0x18251a,_0xa7e39f)),'resolvedAt':_0x509f08,'resolvedBy':_0x319f17,'context':_0x4050ca,'attributes':_0xbd5e8d})[_0x2c3e8b(0x13d)](A);return{'threadId':_0x314a4f[_0x2c3e8b(0x152)],'comments':_0x314a4f[_0x2c3e8b(0x192)]};},'getCommentThread':async({channelId:_0x5269a7,threadId:_0xce38a1})=>{const _0x55511f=_0x339eb9,_0x7c8815=await this[_0x55511f(0x153)](_0x5269a7)[_0x55511f(0x15d)](_0xce38a1)[_0x55511f(0x13d)](f)[_0x55511f(0x13d)](A);return _0x7c8815?_0x7c8815[_0x55511f(0x165)]?null:(await this[_0x55511f(0x14c)]([_0x7c8815]),{'threadId':_0x7c8815[_0x55511f(0x152)],'comments':_0x7c8815[_0x55511f(0x192)][_0x55511f(0x16b)](p),'context':_0x7c8815[_0x55511f(0x19a)],'resolvedAt':_0x7c8815[_0x55511f(0x166)],'resolvedBy':_0x7c8815[_0x55511f(0x185)],'attributes':_0x7c8815[_0x55511f(0x183)]||{}}):null;},'updateCommentThread':async({channelId:_0x4e655c,threadId:_0x40d3ca,context:_0xd4f939,unlinkedAt:_0x71b25d,attributes:_0x4407f9})=>this[_0x339eb9(0x153)](_0x4e655c)[_0x339eb9(0x144)]({'commentThreadId':_0x40d3ca,'context':_0xd4f939,'attributes':_0x4407f9,'unlinkedAt':_0x71b25d})[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'resolveCommentThread':async({channelId:_0x2e4344,threadId:_0x2e88c0})=>{const _0x2d9b76=_0x339eb9,_0x4bacdf=await this[_0x2d9b76(0x153)](_0x2e4344)[_0x2d9b76(0x169)](_0x2e88c0)[_0x2d9b76(0x13d)](f)[_0x2d9b76(0x13d)](A);return{'threadId':_0x4bacdf[_0x2d9b76(0x152)],'resolvedAt':_0x4bacdf[_0x2d9b76(0x166)],'resolvedBy':_0x4bacdf[_0x2d9b76(0x185)]};},'reopenCommentThread':async({channelId:_0x155a7d,threadId:_0x43c43f})=>this[_0x339eb9(0x153)](_0x155a7d)[_0x339eb9(0x150)](_0x43c43f)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'removeCommentThread':({channelId:_0x207a4d,threadId:_0x30bc9e})=>this[_0x339eb9(0x153)](_0x207a4d)[_0x339eb9(0x188)](_0x30bc9e)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'addComment':({channelId:_0x4289c0,threadId:_0x5df978,commentId:_0x14c1af,content:_0x1149ca,attributes:_0x4e08fd})=>this[_0x339eb9(0x153)](_0x4289c0)[_0x339eb9(0x148)](_0x5df978,_0x14c1af,_0x1149ca,_0x4e08fd)[_0x339eb9(0x13d)](A),'updateComment':({channelId:_0x1b7710,threadId:_0x4c9b1f,commentId:_0x3ec659,content:_0x257828,attributes:_0x7b16ac})=>this[_0x339eb9(0x153)](_0x1b7710)[_0x339eb9(0x197)](_0x4c9b1f,_0x3ec659,_0x257828,_0x7b16ac)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'removeComment':({channelId:_0x4f864e,threadId:_0x402e0e,commentId:_0x4be5ce})=>this[_0x339eb9(0x153)](_0x4f864e)[_0x339eb9(0x172)](_0x402e0e,_0x4be5ce)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A)},_0x33217b instanceof _0x117b73){const _0x46646f=_0x33217b[_0x339eb9(0x17f)][_0x339eb9(0x168)](_0x339eb9(0x189)),_0x5b5272=_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x1d01ce);await this[_0x339eb9(0x147)](_0x46646f);const _0x476a6a=await this[_0x339eb9(0x179)][_0x339eb9(0x168)](_0x46646f)[_0x339eb9(0x14f)]();this[_0x339eb9(0x187)](_0x5b5272,_0x339eb9(0x13b)+_0x46646f,(_0x1cd8fe,{session:_0x4572f9})=>{const _0x576af0=_0x339eb9;_0x4572f9['id']===_0x5b5272[_0x576af0(0x19d)]&&(_0x1cd8fe[_0x576af0(0x19f)](),this[_0x576af0(0x19a)][_0x576af0(0x16c)][_0x576af0(0x168)](_0x576af0(0x174))[_0x576af0(0x186)](_0x4572f9[_0x576af0(0x15a)],_0x46646f));}),_0x5b5272[_0x339eb9(0x190)](_0x46646f,_0x476a6a);}}async[_0x8b009f(0x147)](_0x243436){const _0x3028de=_0x8b009f;if(this[_0x3028de(0x179)][_0x3028de(0x176)](_0x243436))throw new _0x499b01(_0x3028de(0x17a),null,{'channelId':_0x243436});const _0x5beb9f=this[_0x3028de(0x19a)][_0x3028de(0x16c)][_0x3028de(0x168)](_0x3028de(0x15f)),_0x30d948=new CloudServicesCommentsAdapter[(_0x3028de(0x177))](_0x243436);this[_0x3028de(0x179)][_0x3028de(0x18b)](_0x243436,_0x30d948),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x158),(_0x101ca0,_0x285b58)=>{const _0x4637d8=_0x3028de,{commentThreadId:_0x26f80c,documentId:_0x5736f3,context:_0x1552bb,attributes:_0xfcdd7b,resolvedAt:_0x540251,resolvedBy:_0x5e5bf1,comments:_0x791c23}=_0x285b58;_0x5beb9f[_0x4637d8(0x15d)](_0x26f80c)||_0x5beb9f[_0x4637d8(0x15e)]({'threadId':_0x26f80c,'channelId':_0x5736f3,'comments':_0x791c23?_0x791c23[_0x4637d8(0x16b)](p):[],'context':_0x1552bb,'attributes':_0xfcdd7b,'resolvedAt':_0x540251,'resolvedBy':_0x5e5bf1,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x18e),(_0xa19ece,{commentThreadId:_0x51ac6d,documentId:_0x31b754,context:_0x2e7a99,unlinkedAt:_0x259e20,attributes:_0x102355})=>{const _0x45414a=_0x3028de;_0x5beb9f[_0x45414a(0x15d)](_0x51ac6d)&&_0x5beb9f[_0x45414a(0x144)]({'threadId':_0x51ac6d,'channelId':_0x31b754,'context':_0x2e7a99,'unlinkedAt':_0x259e20,'attributes':_0x102355,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x180),(_0xe8d552,{commentThreadId:_0x548ea0,resolvedBy:_0x494891,resolvedAt:_0x4d6c98})=>{const _0x3b8986=_0x3028de,_0x342b1a=_0x5beb9f[_0x3b8986(0x15d)](_0x548ea0);_0x342b1a&&_0x342b1a[_0x3b8986(0x18c)]({'resolvedBy':_0x494891,'resolvedAt':_0x4d6c98,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x155),(_0x5ddae3,{commentThreadId:_0x13a7a6})=>{const _0x1c3b9d=_0x3028de,_0x45526a=_0x5beb9f[_0x1c3b9d(0x15d)](_0x13a7a6);_0x45526a&&_0x45526a[_0x1c3b9d(0x19b)]({'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x196),(_0x26f259,{commentThreadId:_0x1cd709})=>{const _0x4b0025=_0x3028de,_0x5efb60=_0x5beb9f[_0x4b0025(0x15d)](_0x1cd709);_0x5efb60&&_0x5efb60[_0x4b0025(0x199)]({'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x13a),(_0x42626b,_0x131afc)=>{const _0x36f140=_0x3028de,_0x9edc7a=_0x131afc[_0x36f140(0x152)],_0x318d80=_0x5beb9f[_0x36f140(0x15d)](_0x9edc7a);_0x318d80&&_0x318d80[_0x36f140(0x148)]({...p(_0x131afc),'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x16a),(_0x14747e,{commentThreadId:_0x5a3cfb,commentId:_0x57e873,content:_0x1127e7,attributes:_0x1a5a5f})=>{const _0x170557=_0x3028de,_0x3cf4a1=_0x5beb9f[_0x170557(0x15d)](_0x5a3cfb);if(_0x3cf4a1){const _0x582c58=_0x3cf4a1[_0x170557(0x17d)](_0x57e873);_0x582c58&&_0x582c58[_0x170557(0x149)]({'content':_0x1127e7,'attributes':_0x1a5a5f,'isFromAdapter':!0x0});}}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x14d),(_0x4410d1,{commentThreadId:_0x3c7b3b,commentId:_0x50f084})=>{const _0x6f95f9=_0x3028de,_0x42c762=_0x5beb9f[_0x6f95f9(0x15d)](_0x3c7b3b);if(_0x42c762){const _0x323a3a=_0x42c762[_0x6f95f9(0x17d)](_0x50f084);_0x323a3a&&_0x323a3a[_0x6f95f9(0x199)]({'isFromAdapter':!0x0});}}),await this[_0x3028de(0x193)](_0x243436);}[_0x8b009f(0x167)](){const _0x52492e=_0x8b009f;if(this[_0x52492e(0x19a)]instanceof _0x117b73){const _0x400552=this[_0x52492e(0x19a)][_0x52492e(0x17f)][_0x52492e(0x168)](_0x52492e(0x189));this[_0x52492e(0x16d)](_0x400552);}}[_0x8b009f(0x16d)](_0x2f2005){const _0x3831c0=_0x8b009f;if(!this[_0x3831c0(0x179)][_0x3831c0(0x176)](_0x2f2005))throw new _0x499b01(_0x3831c0(0x164),null,{'channelId':_0x2f2005});this[_0x3831c0(0x153)](_0x2f2005)[_0x3831c0(0x17c)](),this[_0x3831c0(0x179)][_0x3831c0(0x15c)](_0x2f2005);}async[_0x8b009f(0x181)](){const _0x15cc01=_0x8b009f;for(const _0xe0f6a1 of this[_0x15cc01(0x179)][_0x15cc01(0x13f)]())await this[_0x15cc01(0x193)](_0xe0f6a1);if(this[_0x15cc01(0x19a)]instanceof _0x117b73){const _0x4f501a=this[_0x15cc01(0x19a)][_0x15cc01(0x17f)][_0x15cc01(0x168)](_0x15cc01(0x189)),_0x5d205d=this[_0x15cc01(0x19a)][_0x15cc01(0x16c)][_0x15cc01(0x168)](_0x1d01ce);_0x5d205d[_0x15cc01(0x15b)](_0x4f501a);const _0x2683ff=await this[_0x15cc01(0x179)][_0x15cc01(0x168)](_0x4f501a)[_0x15cc01(0x14f)]();_0x5d205d[_0x15cc01(0x190)](_0x4f501a,_0x2683ff);}}async[_0x8b009f(0x193)](_0x2740a5){const _0x4340b5=_0x8b009f,{connection:_0x21bbef}=this[_0x4340b5(0x19a)][_0x4340b5(0x16c)][_0x4340b5(0x168)](_0x2e22bf),_0x3b40e4=this[_0x4340b5(0x19a)][_0x4340b5(0x16c)][_0x4340b5(0x168)](_0x4340b5(0x15f)),_0x5c08e2=this[_0x4340b5(0x179)][_0x4340b5(0x168)](_0x2740a5),_0x3815d6=await _0x5c08e2[_0x4340b5(0x162)](_0x21bbef);await this[_0x4340b5(0x14c)](_0x3815d6);const _0x5ebf24=new Set(Array[_0x4340b5(0x143)](_0x3b40e4[_0x4340b5(0x142)]({'channelId':_0x2740a5}),_0x3600ea=>_0x3600ea['id']));for(const _0x47f8f7 of _0x3815d6)_0x47f8f7[_0x4340b5(0x165)]||_0x5ebf24[_0x4340b5(0x15c)](_0x47f8f7[_0x4340b5(0x152)]);for(const _0x18d0b9 of _0x5ebf24)_0x3b40e4[_0x4340b5(0x15d)](_0x18d0b9)[_0x4340b5(0x199)]({'isFromAdapter':!0x0});for(const _0xaef681 of _0x3815d6){let _0x253814=_0x3b40e4[_0x4340b5(0x15d)](_0xaef681[_0x4340b5(0x152)]);const {commentThreadId:_0x2019c3,context:_0x565ac4,attributes:_0x28eb78,resolvedBy:_0x315d86,resolvedAt:_0x526b3a,unlinkedAt:_0x3412fa,deletedAt:_0xa7df86}=_0xaef681;if(_0xa7df86)continue;_0x253814||(_0x253814=_0x3b40e4[_0x4340b5(0x15e)]({'channelId':_0x2740a5,'threadId':_0x2019c3,'context':_0x565ac4,'attributes':_0x28eb78||{},'resolvedBy':_0x315d86,'resolvedAt':_0x526b3a,'unlinkedAt':_0x3412fa,'isFromAdapter':!0x0}));const _0x5b54fe=new Set(Array[_0x4340b5(0x143)](_0x253814[_0x4340b5(0x192)],_0x47564f=>_0x47564f['id']));for(const _0x4aedf9 of _0xaef681[_0x4340b5(0x192)])_0x5b54fe[_0x4340b5(0x15c)](_0x4aedf9[_0x4340b5(0x184)]);for(const _0x1991ee of _0x5b54fe)_0x253814[_0x4340b5(0x17d)](_0x1991ee)[_0x4340b5(0x199)]({'isFromAdapter':!0x0});for(const _0x36b309 of _0xaef681[_0x4340b5(0x192)]){const _0x185d98=_0x253814[_0x4340b5(0x17d)](_0x36b309[_0x4340b5(0x184)]);_0x185d98?_0x185d98[_0x4340b5(0x178)]!==_0x36b309[_0x4340b5(0x178)]&&_0x185d98[_0x4340b5(0x149)]({'content':_0x36b309[_0x4340b5(0x178)],'isFromAdapter':!0x0}):_0x253814[_0x4340b5(0x148)](Object[_0x4340b5(0x171)](p(_0x36b309),{'isFromAdapter':!0x0}));}}}[_0x8b009f(0x153)](_0x15b7b4){const _0x108bf4=_0x8b009f;if(!this[_0x108bf4(0x179)][_0x108bf4(0x176)](_0x15b7b4))throw new _0x499b01(_0x108bf4(0x159),null,{'channelId':_0x15b7b4});return this[_0x108bf4(0x179)][_0x108bf4(0x168)](_0x15b7b4);}async[_0x8b009f(0x14c)](_0x5e04a4){const _0x10772e=_0x8b009f,_0x18c130=this[_0x10772e(0x19a)][_0x10772e(0x16c)][_0x10772e(0x168)](_0x4d130b),{connection:_0x24e702}=this[_0x10772e(0x19a)][_0x10772e(0x16c)][_0x10772e(0x168)](_0x2e22bf),_0x5b636f=new Set();for(const {resolvedBy:_0x11279c,comments:_0x5b5245}of _0x5e04a4){_0x11279c&&!_0x18c130[_0x10772e(0x18a)](_0x11279c)&&_0x5b636f[_0x10772e(0x146)](_0x11279c);for(const {userId:_0x44f605}of _0x5b5245)_0x18c130[_0x10772e(0x18a)](_0x44f605)||_0x5b636f[_0x10772e(0x146)](_0x44f605);}if(0x0===_0x5b636f[_0x10772e(0x195)])return;const _0x49c0c2=await _0x1fdb28[_0x10772e(0x175)](_0x24e702,Array[_0x10772e(0x143)](_0x5b636f));for(const _0x24a3ca of _0x49c0c2)_0x18c130[_0x10772e(0x18a)](_0x24a3ca['id'])||_0x18c130[_0x10772e(0x141)](_0x24a3ca);}}async function f(_0x3c9033){const _0x2b7b6a=_0x8b009f;if(_0x2b7b6a(0x13e)!==_0x3c9033[_0x2b7b6a(0x160)])throw _0x3c9033;}function A(_0xb551f0){const _0x17d4ee=_0x8b009f;if((_0x45a5f7=_0xb551f0)[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x14b))||_0x45a5f7[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x173))||_0x45a5f7[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x16e)))return new Promise(()=>{});var _0x45a5f7;throw _0xb551f0;}function p(_0x445bdc){const _0x35726f=_0x8b009f;return{'threadId':_0x445bdc[_0x35726f(0x152)],'commentId':_0x445bdc[_0x35726f(0x184)],'content':_0x445bdc[_0x35726f(0x178)],'createdAt':_0x445bdc[_0x35726f(0x157)],'authorId':_0x445bdc[_0x35726f(0x14a)],'attributes':_0x445bdc[_0x35726f(0x183)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x418d(){const _0x170cfb=['destroy','CommentsRepository','_setUpService','ready','4wbmCgJ','_terminateService','listenTo','154482mlABBb','editor','isPremiumPlugin','plugins','11RnixKI','CommentsEditing','init','change:state','config','requires','153585UyvSiB','126RoQbis','Comments','16173khSisI','collaboration.channelId','6251973XthVbf','isThreadsLoadingPaused','switchReadOnly','246920NoxKWB','get','2456jCpCpS','22588260FtDblB','once','connected','641658SgKfyl','isOfficialPlugin','data','4axLOuw','RealTimeCollaborativeComments','pluginName'];_0x418d=function(){return _0x170cfb;};return _0x418d();}const _0x4fb884=_0x1198;(function(_0x201ba0,_0x339326){const _0x448713=_0x1198,_0x5805a7=_0x201ba0();while(!![]){try{const _0xac070e=-parseInt(_0x448713(0x19c))/0x1*(parseInt(_0x448713(0x199))/0x2)+parseInt(_0x448713(0x18f))/0x3*(-parseInt(_0x448713(0x192))/0x4)+parseInt(_0x448713(0x1a6))/0x5*(parseInt(_0x448713(0x1a7))/0x6)+-parseInt(_0x448713(0x186))/0x7+parseInt(_0x448713(0x18b))/0x8*(-parseInt(_0x448713(0x1a9))/0x9)+parseInt(_0x448713(0x189))/0xa*(-parseInt(_0x448713(0x1a0))/0xb)+parseInt(_0x448713(0x18c))/0xc;if(_0xac070e===_0x339326)break;else _0x5805a7['push'](_0x5805a7['shift']());}catch(_0xfb8e1f){_0x5805a7['push'](_0x5805a7['shift']());}}}(_0x418d,0x82a0c));import{Plugin as _0x1a57ff}from'ckeditor5/src/core.js';function _0x1198(_0x653b70,_0x502682){const _0x418d62=_0x418d();return _0x1198=function(_0x11988e,_0xd39203){_0x11988e=_0x11988e-0x186;let _0x2d2dcc=_0x418d62[_0x11988e];return _0x2d2dcc;},_0x1198(_0x653b70,_0x502682);}import{CloudServicesCommentsAdapter as _0x4cec98}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x54ca45}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1ae6b0}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x1a57ff{static get[_0x4fb884(0x1a5)](){const _0x2758ef=_0x4fb884;return[_0x2758ef(0x1a8),_0x4cec98,_0x54ca45,_0x1ae6b0];}static get[_0x4fb884(0x194)](){const _0xc0d3ae=_0x4fb884;return _0xc0d3ae(0x193);}static get[_0x4fb884(0x190)](){return!0x0;}static get[_0x4fb884(0x19e)](){return!0x0;}[_0x4fb884(0x1a2)](){const _0x4c4b27=_0x4fb884,_0x56f26d=this[_0x4c4b27(0x19d)][_0x4c4b27(0x19f)][_0x4c4b27(0x18a)](_0x1ae6b0),_0x180fb3=this[_0x4c4b27(0x19d)][_0x4c4b27(0x19f)][_0x4c4b27(0x18a)](_0x4c4b27(0x1a1)),_0x2f79fd=this[_0x4c4b27(0x19d)][_0x4c4b27(0x19f)][_0x4c4b27(0x18a)](_0x4cec98);return this[_0x4c4b27(0x19d)][_0x4c4b27(0x191)][_0x4c4b27(0x18d)](_0x4c4b27(0x198),()=>{const _0x4a71ae=_0x4c4b27;this[_0x4a71ae(0x19b)](_0x56f26d,_0x4a71ae(0x1a3),(_0x5a1800,_0x4f8658,_0x7552ed)=>{const _0x1cbe5c=_0x4a71ae;_0x180fb3[_0x1cbe5c(0x187)]=_0x1cbe5c(0x18e)!==_0x7552ed;});}),this[_0x4c4b27(0x19b)](_0x56f26d,_0x4c4b27(0x1a3),(_0x1f148a,_0x303f82,_0x32ff96)=>{const _0x2e6a75=_0x4c4b27;this[_0x2e6a75(0x19d)][_0x2e6a75(0x19f)][_0x2e6a75(0x18a)](_0x2e6a75(0x196))[_0x2e6a75(0x188)](_0x2e6a75(0x18e)!==_0x32ff96);}),_0x2f79fd[_0x4c4b27(0x197)](this[_0x4c4b27(0x19d)][_0x4c4b27(0x1a4)][_0x4c4b27(0x18a)](_0x4c4b27(0x1aa)));}[_0x4fb884(0x195)](){const _0x924265=_0x4fb884;this[_0x924265(0x19d)][_0x924265(0x19f)][_0x924265(0x18a)](_0x4cec98)[_0x924265(0x19a)](this[_0x924265(0x19d)][_0x924265(0x1a4)][_0x924265(0x18a)](_0x924265(0x1aa))),super[_0x924265(0x195)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x20f240)());[_0x2205df(0x1f6)];[_0x2205df(0x16d)];[_0x2205df(0x1e6)];[_0x2205df(0x1c8)];[_0x2205df(0x21a)];[_0x2205df(0x199)];[_0x2205df(0x118)];[_0x2205df(0x1a0)];[_0x2205df(0x132)];[_0x2205df(0x18c)];[_0x2205df(0x1ab)];[_0x2205df(0x1d7)];[_0x2205df(0x15e)];[_0x2205df(0x11d)];[_0x2205df(0x19b)];[_0x2205df(0x1f7)];[_0x2205df(0x178)];[_0x2205df(0x201)];static get[_0x2205df(0x1c9)](){return[_0x1d0dff,_0x5b10ab,_0x1aa8c2,_0x568e23,_0x57254b,_0x2c7217];}static get[_0x2205df(0x137)](){const _0x4429cb=_0x2205df;return _0x4429cb(0x1e2);}static get[_0x2205df(0x17f)](){return!0x0;}static get[_0x2205df(0x11e)](){return!0x0;}get[_0x2205df(0x1cb)](){const _0x889ea5=_0x2205df;return this[_0x889ea5(0x1dc)]+this[_0x889ea5(0x1f6)];}get[_0x2205df(0x1dc)](){const _0x2440a5=_0x2205df;return this[_0x2440a5(0x1e6)][_0x2440a5(0x139)]-this[_0x2440a5(0x1f6)];}get[_0x2205df(0x1b1)](){const _0x1433b1=_0x2205df,_0x22b5db=this[_0x1433b1(0x1e6)][_0x1433b1(0x1ac)]();for(let _0x531e8b=_0x22b5db[_0x1433b1(0x1c6)]-0x1;_0x531e8b>=0x0;_0x531e8b--){const _0x50e11f=_0x22b5db[_0x531e8b];if(!this[_0x1433b1(0x178)][_0x1433b1(0x191)](_0x50e11f))return _0x50e11f[_0x1433b1(0x186)]+0x1-this[_0x1433b1(0x1f6)];}return 0x0;}constructor(_0x26e948){const _0x6cd7a2=_0x2205df;if(super(_0x26e948),this[_0x6cd7a2(0x1f6)]=0x0,this[_0x6cd7a2(0x16d)]=null,this[_0x6cd7a2(0x1e6)]=new _0x1247ca(),this[_0x6cd7a2(0x161)][_0x6cd7a2(0x180)][_0x6cd7a2(0x15c)](_0x6cd7a2(0x212),{}),this[_0x6cd7a2(0x1c8)]=this[_0x6cd7a2(0x161)][_0x6cd7a2(0x180)][_0x6cd7a2(0x19f)](_0x6cd7a2(0x165)),!this[_0x6cd7a2(0x1c8)])throw new _0x12c2b1(_0x6cd7a2(0x128),this);const _0x3a7d88=_0x26e948[_0x6cd7a2(0x180)][_0x6cd7a2(0x19f)](_0x6cd7a2(0x1b8))||_0x5de4f2;this[_0x6cd7a2(0x21a)]=new RealTimeCollaborationClient[(_0x6cd7a2(0x17d))](_0x3a7d88,this[_0x6cd7a2(0x1c8)]),this[_0x6cd7a2(0x199)]=this[_0x6cd7a2(0x161)][_0x6cd7a2(0x1da)][_0x6cd7a2(0x152)],this[_0x6cd7a2(0x118)]=new _0x5d6c47(),this[_0x6cd7a2(0x1a0)]=[],this[_0x6cd7a2(0x132)]=new WeakSet(),this[_0x6cd7a2(0x18c)]=new Set(),this[_0x6cd7a2(0x206)](_0x6cd7a2(0x20e),!0x1),this[_0x6cd7a2(0x206)](_0x6cd7a2(0x1c7),!0x1),this[_0x6cd7a2(0x1ab)]=null,this[_0x6cd7a2(0x1d7)]=!0x1,this[_0x6cd7a2(0x15e)]=null,this[_0x6cd7a2(0x11d)]=0x12c,this[_0x6cd7a2(0x19b)]=this[_0x6cd7a2(0x11d)],this[_0x6cd7a2(0x1f7)]=null,this[_0x6cd7a2(0x178)]=new WeakSet(),this[_0x6cd7a2(0x201)]=new J(this[_0x6cd7a2(0x178)]);}[_0x2205df(0x1e1)](){const _0x4c3518=_0x2205df,_0x2aefba=this[_0x4c3518(0x161)],_0x261a72=_0x2aefba[_0x4c3518(0x198)][_0x4c3518(0x19f)](_0x57254b),_0x5de352=_0x2aefba[_0x4c3518(0x198)][_0x4c3518(0x19f)](_0x1d0dff);this[_0x4c3518(0x1b2)](_0x261a72,_0x4c3518(0x159),(_0x51db17,_0x23ff91)=>{const _0x473dde=_0x4c3518,_0x16b31d=_0x23ff91[0x0];_0x16b31d[_0x473dde(0x19e)]&&(_0x51db17[_0x473dde(0x1e8)]=_0x261a72[_0x473dde(0x1a2)](_0x16b31d[_0x473dde(0x19e)]),_0x51db17[_0x473dde(0x1a6)]()),null===_0x16b31d[_0x473dde(0x19e)]&&(_0x51db17[_0x473dde(0x1e8)]=null,_0x51db17[_0x473dde(0x1a6)]());},{'priority':_0x4c3518(0x145)}),this[_0x4c3518(0x1b2)](_0x2aefba[_0x4c3518(0x1da)][_0x4c3518(0x152)][_0x4c3518(0x149)],_0x4c3518(0x1b3),(_0x5baea3,_0x3f2030)=>{const _0x271fcf=_0x4c3518;_0x3f2030[_0x271fcf(0x17a)]&&this[_0x271fcf(0x158)]();}),this[_0x4c3518(0x1b2)](_0x2aefba[_0x4c3518(0x189)][_0x4c3518(0x1b4)],_0x4c3518(0x1c4),()=>{const _0x10652a=_0x4c3518;this[_0x10652a(0x158)]();}),this[_0x4c3518(0x121)](),_0x2aefba[_0x4c3518(0x1da)]['on'](_0x4c3518(0x170),(_0x5240e5,_0x3d3937)=>{const _0x3eb677=_0x4c3518,_0x13d359=_0x3d3937[0x0];_0x13d359[_0x3eb677(0x142)]&&(this[_0x3eb677(0x129)](_0x13d359),this[_0x3eb677(0x20b)]()&&this[_0x3eb677(0x14b)]());}),this[_0x4c3518(0x204)](),this[_0x4c3518(0x1c3)](_0x4c3518(0x1fc))['to'](_0x5de352,_0x4c3518(0x209),this,_0x4c3518(0x1c7),(_0x26544a,_0x4bbd3b)=>_0x4c3518(0x211)===_0x26544a&&!_0x4bbd3b),this['on'](_0x4c3518(0x195),()=>{const _0x46b475=_0x4c3518;this[_0x46b475(0x1fc)]?_0x2aefba[_0x46b475(0x213)](_0x46b475(0x166)):_0x2aefba[_0x46b475(0x11b)](_0x46b475(0x166));}),this[_0x4c3518(0x1fc)]?_0x2aefba[_0x4c3518(0x213)](_0x4c3518(0x166)):_0x2aefba[_0x4c3518(0x11b)](_0x4c3518(0x166)),this[_0x4c3518(0x206)](_0x4c3518(0x20a),!0x1);}async[_0x2205df(0x176)](){const _0x402917=_0x2205df,_0x46b8c6=this[_0x402917(0x161)][_0x402917(0x198)][_0x402917(0x19f)](_0x5b10ab),_0x2c7a37=this[_0x402917(0x161)][_0x402917(0x198)][_0x402917(0x19f)](_0x1d0dff);try{this[_0x402917(0x20e)]=!0x0,_0x46b8c6[_0x402917(0x1bc)](this[_0x402917(0x1c8)]);const _0xac524f=await this[_0x402917(0x21a)][_0x402917(0x176)](_0x2c7a37[_0x402917(0x1d8)],this[_0x402917(0x1b1)]);await this[_0x402917(0x194)](_0xac524f)&&(this[_0x402917(0x20e)]=!0x1,this[_0x402917(0x20d)]());const _0x4ea148=await this[_0x402917(0x21a)][_0x402917(0x1d9)]();_0x46b8c6[_0x402917(0x169)](this[_0x402917(0x1c8)],_0x4ea148),this[_0x402917(0x14c)](),this[_0x402917(0x20a)]=!0x0;}catch(_0x6075f3){if(function(_0x433f9f){const _0x4c27b8=_0x402917;return _0x4c27b8(0x208)===_0x433f9f[_0x4c27b8(0x19c)];}(_0x6075f3)&&this[_0x402917(0x16d)])await this[_0x402917(0x1bf)]();else{if(function(_0x2cd05a){const _0x1b5916=_0x402917;return _0x1b5916(0x177)===_0x2cd05a[_0x1b5916(0x19c)];}(_0x6075f3)){const _0x35bd1e=_0x50e247(this[_0x402917(0x161)][_0x402917(0x148)],_0x402917(0x181));this[_0x402917(0x1b6)](_0x35bd1e);}else{if(!(_0x6075f3 instanceof $))throw _0x6075f3;this[_0x402917(0x1b6)]();}}}}[_0x2205df(0x214)](){const _0x2783cf=_0x2205df,_0x3a3af1=this[_0x2783cf(0x161)][_0x2783cf(0x198)][_0x2783cf(0x19f)](_0x1d0dff),_0x486365=this[_0x2783cf(0x161)][_0x2783cf(0x198)][_0x2783cf(0x19f)](_0x5b10ab);this[_0x2783cf(0x161)][_0x2783cf(0x11b)](_0x2783cf(0x175)),_0x486365[_0x2783cf(0x1a4)][_0x2783cf(0x191)](this[_0x2783cf(0x1c8)])&&_0x486365[_0x2783cf(0x1bc)](this[_0x2783cf(0x1c8)]),_0x3a3af1[_0x2783cf(0x138)](this),this[_0x2783cf(0x1e4)](),super[_0x2783cf(0x214)]();}async[_0x2205df(0x194)](_0x1ef72f){const _0x4948e5=_0x2205df;if(this[_0x4948e5(0x16d)]!==_0x1ef72f[_0x4948e5(0x16d)]&&this[_0x4948e5(0x1f7)]!==_0x1ef72f[_0x4948e5(0x16f)])throw new $();return this[_0x4948e5(0x16d)]=_0x1ef72f[_0x4948e5(0x16d)],this[_0x4948e5(0x17b)]([],{..._0x1ef72f,'wereChangesApplied':!0x1,'data':_0x1ef72f[_0x4948e5(0x116)]},_0x4948e5(0x176));}async[_0x2205df(0x219)](_0x4dec85,_0xfff4a9=!0x1){const _0x51243c=_0x2205df,{connection:_0x129f6d}=this[_0x51243c(0x161)][_0x51243c(0x198)][_0x51243c(0x19f)](_0x1d0dff);RealTimeCollaborationClient[_0x51243c(0x17d)][_0x51243c(0x1d9)](_0x129f6d,this[_0x51243c(0x1c8)])[_0x51243c(0x151)](_0x5543fe=>this[_0x51243c(0x117)](_0x5543fe))[_0x51243c(0x146)](_0x47352b=>{const _0x30b4d3=_0x51243c;this[_0x30b4d3(0x184)](_0x30b4d3(0x1e9),_0x47352b);}),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x15b),this[_0x51243c(0x12e)][_0x51243c(0x1c3)](this)),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x12f),(_0x313b7f,_0x29dab5)=>{const _0x5a23b1=_0x51243c;this[_0x5a23b1(0x184)](_0x5a23b1(0x19d),_0x29dab5);}),this[_0x51243c(0x1b2)](this[_0x51243c(0x21a)],_0x51243c(0x1dd),()=>{const _0x310822=_0x51243c;this[_0x310822(0x20a)]=!0x1;});const _0x591ff0=this[_0x51243c(0x201)][_0x51243c(0x1cf)](_0x4dec85);this[_0x51243c(0x20e)]=!0x0;const _0x57036d=await this[_0x51243c(0x21a)][_0x51243c(0x13d)](_0x129f6d,this[_0x51243c(0x1ff)](_0x4dec85),_0x591ff0);if(this[_0x51243c(0x16d)]=_0x57036d[_0x51243c(0x16d)],_0xfff4a9){if(!_0x57036d[_0x51243c(0x13e)])return void this[_0x51243c(0x1b6)]();this[_0x51243c(0x20e)]=!0x1,this[_0x51243c(0x20d)](),this[_0x51243c(0x1e6)][_0x51243c(0x16b)](),this[_0x51243c(0x1f6)]=_0x57036d[_0x51243c(0x1e5)],this[_0x51243c(0x1e6)][_0x51243c(0x139)]=this[_0x51243c(0x1f6)],await this[_0x51243c(0x17b)](_0x4dec85,_0x57036d,_0x51243c(0x133));}else await this[_0x51243c(0x190)](_0x57036d,_0x4dec85);this[_0x51243c(0x14c)](),this[_0x51243c(0x20a)]=!0x0;}[_0x2205df(0x14c)](){const _0x663ec5=_0x2205df,_0x4ff5c7=this[_0x663ec5(0x161)][_0x663ec5(0x198)][_0x663ec5(0x19f)](_0x5b10ab),_0x4d3bbb=this[_0x663ec5(0x161)][_0x663ec5(0x198)][_0x663ec5(0x19f)](_0x1aa8c2),_0x23fa9b=_0x4ff5c7[_0x663ec5(0x1a4)][_0x663ec5(0x19f)](this[_0x663ec5(0x1c8)]);_0x23fa9b&&_0x23fa9b[_0x663ec5(0x1c6)]>0x1?_0x4d3bbb[_0x663ec5(0x217)]():this[_0x663ec5(0x1b2)](_0x4ff5c7,_0x663ec5(0x1f9)+this[_0x663ec5(0x1c8)],()=>{const _0x252b75=_0x663ec5;0x2===_0x4ff5c7[_0x252b75(0x1a4)][_0x252b75(0x19f)](this[_0x252b75(0x1c8)])[_0x252b75(0x1c6)]&&_0x4d3bbb[_0x252b75(0x217)]();});}async[_0x2205df(0x12e)](_0xb4f7c7,_0x6a8db4,_0x515a58,_0x1db6b3){const _0x5160be=_0x2205df;if(!this[_0x5160be(0x20e)]&&this[_0x5160be(0x199)][_0x5160be(0x139)]==_0x6a8db4){const _0x118d1a=this[_0x5160be(0x1f5)](_0x515a58,_0x1db6b3);await this[_0x5160be(0x173)](_0x118d1a),this[_0x5160be(0x218)](_0x118d1a,_0x6a8db4,_0x515a58[_0x5160be(0x16f)])||this[_0x5160be(0x184)](_0x5160be(0x18a));}}async[_0x2205df(0x1bf)](){const _0x3338c1=_0x2205df;this[_0x3338c1(0x1e4)]();const {locale:_0x522fe6}=this[_0x3338c1(0x161)];let _0x147abd;try{_0x147abd=await this[_0x3338c1(0x21a)][_0x3338c1(0x185)]();}catch{const _0x289c09=_0x50e247(_0x522fe6,_0x3338c1(0x160));return void this[_0x3338c1(0x1b6)](_0x289c09);}const _0x474a23=_0x147abd[_0x3338c1(0x20c)]||_0x147abd[_0x3338c1(0x156)];if(this[_0x3338c1(0x1f7)]!==_0x474a23[_0x3338c1(0x16f)]){const _0x525776=_0x50e247(_0x522fe6,_0x3338c1(0x187));return void this[_0x3338c1(0x1b6)](_0x525776);}await this[_0x3338c1(0x219)](this[_0x3338c1(0x161)][_0x3338c1(0x1da)][_0x3338c1(0x152)][_0x3338c1(0x172)][_0x3338c1(0x1ac)](),!0x0);}[_0x2205df(0x1e4)](){const _0x247a23=_0x2205df;this[_0x247a23(0x21a)][_0x247a23(0x1fd)](),this[_0x247a23(0x1a0)]=[],clearTimeout(this[_0x247a23(0x15e)]),this[_0x247a23(0x210)](this[_0x247a23(0x21a)]);}[_0x2205df(0x117)](_0x345564){const _0x255d33=_0x2205df,_0x261aa9=this[_0x255d33(0x161)][_0x255d33(0x198)][_0x255d33(0x19f)](_0x5b10ab);this[_0x255d33(0x1b2)](_0x261aa9,_0x255d33(0x1f9)+this[_0x255d33(0x1c8)],(_0x16d343,{session:_0xf37ca2})=>{const _0x707c64=_0x255d33;if(_0xf37ca2['id']===_0x261aa9[_0x707c64(0x147)]){_0x16d343[_0x707c64(0x1a8)]();const _0x2fa692=this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x191)](_0x707c64(0x135))&&this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x19f)](_0x707c64(0x135));let _0x14d330=_0xf37ca2[_0x707c64(0x153)];_0x2fa692&&_0x2fa692[_0x707c64(0x155)]&&(_0x14d330=_0x14d330[_0x707c64(0x154)](_0x35e916=>_0x707c64(0x13a)!==_0x35e916)),this[_0x707c64(0x161)][_0x707c64(0x198)][_0x707c64(0x19f)](_0x707c64(0x163))[_0x707c64(0x14f)](_0x14d330,this[_0x707c64(0x1c8)]);}}),_0x261aa9[_0x255d33(0x169)](this[_0x255d33(0x1c8)],_0x345564);}[_0x2205df(0x121)](){const _0x4a6d09=_0x2205df,_0x3f0bc9=this[_0x4a6d09(0x161)][_0x4a6d09(0x116)][_0x4a6d09(0x206)];this[_0x4a6d09(0x161)][_0x4a6d09(0x116)][_0x4a6d09(0x206)]=(..._0x15082a)=>{const _0x58ac12=_0x4a6d09;if(!_0x15082a[_0x15082a[_0x58ac12(0x1c6)]-0x1][_0x58ac12(0x13b)])throw new _0x12c2b1(_0x58ac12(0x1b0),this);_0x3f0bc9[_0x58ac12(0x120)](this[_0x58ac12(0x161)][_0x58ac12(0x116)],_0x15082a);};}[_0x2205df(0x204)](){const _0x57154d=_0x2205df;this[_0x57154d(0x161)][_0x57154d(0x116)]['on'](_0x57154d(0x1e1),(_0x36b24c,[_0x136ed2])=>{const _0x426f35=_0x57154d;if(this[_0x426f35(0x199)][_0x426f35(0x139)])throw new _0x12c2b1(_0x426f35(0x1de),this);_0x36b24c[_0x426f35(0x1a6)](),this[_0x426f35(0x123)]();const _0x345586=this[_0x426f35(0x161)][_0x426f35(0x180)][_0x426f35(0x19f)](_0x426f35(0x216)),_0x57c610=this[_0x426f35(0x122)](_0x136ed2,_0x345586);0x0==_0x57c610[_0x426f35(0x1c6)]&&_0x57c610[_0x426f35(0x1f4)](new _0x1e6e91(0x0)),_0x36b24c[_0x426f35(0x1e8)]=this[_0x426f35(0x219)](_0x57c610)[_0x426f35(0x151)](()=>{const _0xc706ba=_0x426f35;this[_0xc706ba(0x161)][_0xc706ba(0x198)][_0xc706ba(0x19f)](_0x1d0dff)[_0xc706ba(0x205)](this),this[_0xc706ba(0x161)][_0xc706ba(0x116)][_0xc706ba(0x119)](_0xc706ba(0x131));})[_0x426f35(0x146)](_0x3e103f=>this[_0x426f35(0x184)](_0x426f35(0x167),_0x3e103f))[_0x426f35(0x1ef)](()=>this[_0x426f35(0x20d)]());},{'priority':_0x57154d(0x145)}),this[_0x57154d(0x161)]['on'](_0x57154d(0x15f),async(_0x82a451,[_0x530c5f,_0x25196f])=>{const _0x35c6d6=_0x57154d;_0x82a451[_0x35c6d6(0x1a6)]();const _0x5a61a2=this[_0x35c6d6(0x161)][_0x35c6d6(0x1da)][_0x35c6d6(0x152)][_0x35c6d6(0x17c)](_0x530c5f);if(!this[_0x35c6d6(0x18c)][_0x35c6d6(0x191)](_0x530c5f)){const _0x41ff48=_0x25196f&&_0x25196f[_0x35c6d6(0x116)]?_0x25196f[_0x35c6d6(0x116)]:'',_0x14e796=_0x25196f&&_0x25196f[_0x35c6d6(0x1bb)]?_0x25196f[_0x35c6d6(0x1bb)]:{};await this[_0x35c6d6(0x157)](_0x530c5f,_0x41ff48,_0x14e796);}this[_0x35c6d6(0x161)][_0x35c6d6(0x1da)][_0x35c6d6(0x1eb)]({'isUndoable':!0x1},()=>{const _0x5a60b0=_0x35c6d6;_0x5a61a2[_0x5a60b0(0x1f0)]=!0x0,this[_0x5a60b0(0x161)][_0x5a60b0(0x1da)][_0x5a60b0(0x152)][_0x5a60b0(0x14e)][_0x5a60b0(0x13c)](_0x5a61a2);});},{'priority':_0x57154d(0x145)});}async[_0x2205df(0x173)](_0x15ff6b){const _0x12eb12=_0x2205df,_0x331008=this[_0x12eb12(0x161)][_0x12eb12(0x198)][_0x12eb12(0x19f)](_0x57254b),{connection:_0x253a99}=this[_0x12eb12(0x161)][_0x12eb12(0x198)][_0x12eb12(0x19f)](_0x1d0dff),_0xdc40d0=new Set();for(const _0x20fd21 of _0x15ff6b){const _0x43b48e=_0x20fd21[_0x12eb12(0x19e)];_0x43b48e&&!_0x331008[_0x12eb12(0x1a2)](_0x43b48e)&&_0xdc40d0[_0x12eb12(0x134)](_0x43b48e);}if(0x0===_0xdc40d0[_0x12eb12(0x21b)])return;const _0x17bbd1=await _0x142f1b[_0x12eb12(0x1e3)](_0x253a99,Array[_0x12eb12(0x1d6)](_0xdc40d0));for(const _0x46e413 of _0x17bbd1)_0x331008[_0x12eb12(0x1a2)](_0x46e413['id'])||_0x331008[_0x12eb12(0x1ea)](_0x46e413);}[_0x2205df(0x122)](_0x4828f3,_0x199fcc={}){const _0xd7fc05=_0x2205df,_0x160196=this[_0xd7fc05(0x161)][_0xd7fc05(0x1da)],_0x130e75=[];let _0x38f715=0x0;const _0xc7769d=_0xd7fc05(0x150)==typeof _0x4828f3?{'main':_0x4828f3}:_0x4828f3;for(const _0x1fbc9d of Object[_0xd7fc05(0x136)](_0xc7769d)){if(!this[_0xd7fc05(0x199)][_0xd7fc05(0x124)][_0xd7fc05(0x191)](_0x1fbc9d))throw new _0x12c2b1(_0xd7fc05(0x17e),this);const _0x4fe695=this[_0xd7fc05(0x161)][_0xd7fc05(0x116)][_0xd7fc05(0x1ca)](_0xc7769d[_0x1fbc9d]),_0x4142f1=this[_0xd7fc05(0x199)][_0xd7fc05(0x17c)](_0x1fbc9d),_0x5c7aaf=new _0x37b57c(_0x160196[_0xd7fc05(0x130)](_0x4142f1,0x0),_0x4fe695,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x5c7aaf);for(const [_0x4eb7bb,_0x210637]of _0x4fe695[_0xd7fc05(0x196)]){const _0x2626f3=_0x160196[_0xd7fc05(0x164)](_0x160196[_0xd7fc05(0x168)](_0x4142f1,_0x210637[_0xd7fc05(0x1fa)][_0xd7fc05(0x16a)][_0xd7fc05(0x203)]()),_0x160196[_0xd7fc05(0x168)](_0x4142f1,_0x210637[_0xd7fc05(0x215)][_0xd7fc05(0x16a)][_0xd7fc05(0x203)]())),_0x4d4711=new _0x5d23ba(_0x4eb7bb,null,_0x2626f3,_0x160196[_0xd7fc05(0x196)],!0x0,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x4d4711);}}if(_0x199fcc)for(const [_0x1d17b8,_0x258e2b]of Object[_0xd7fc05(0x1d5)](_0x199fcc)){const _0x3686d3=_0x160196[_0xd7fc05(0x152)][_0xd7fc05(0x17c)](_0x1d17b8);if(!_0x3686d3)throw new _0x12c2b1(_0xd7fc05(0x1ba),null);for(const [_0x19e6ca,_0x9256d5]of Object[_0xd7fc05(0x1d5)](_0x258e2b))if(null!==_0x9256d5){const _0x2aa6af=new _0x4090e4(_0x3686d3,_0x19e6ca,null,_0x9256d5,_0x38f715++);_0x130e75[_0xd7fc05(0x1f4)](_0x2aa6af);}}return _0x130e75;}async[_0x2205df(0x157)](_0x45ad26,_0x59a99,_0x595f65){const _0x4fc3c7=_0x2205df;this[_0x4fc3c7(0x122)]({[_0x45ad26]:_0x59a99},{[_0x45ad26]:_0x595f65})[_0x4fc3c7(0x200)]((_0x1239bd,_0x2c2390)=>{const _0x3c818d=_0x4fc3c7;_0x1239bd[_0x3c818d(0x186)]=this[_0x3c818d(0x199)][_0x3c818d(0x139)]+_0x2c2390,_0x1239bd[_0x3c818d(0x1a7)]=!0x0,this[_0x3c818d(0x129)](_0x1239bd);}),this[_0x4fc3c7(0x14b)](),await this[_0x4fc3c7(0x16e)]();}async[_0x2205df(0x190)](_0x3e7f4e,_0x539f64){const _0x3963f3=_0x2205df;let _0x483abb;this[_0x3963f3(0x1f6)]=_0x3e7f4e[_0x3963f3(0x1e5)];const _0x45b7d0=_0x3e7f4e[_0x3963f3(0x13e)]&&!_0x3e7f4e[_0x3963f3(0x193)],_0x55cbdb=_0x45b7d0?0x0:_0x3e7f4e[_0x3963f3(0x116)][_0x3963f3(0x186)];if(_0x539f64[_0x3963f3(0x200)](_0x13f4c8=>{const _0x15486b=_0x3963f3;_0x13f4c8[_0x15486b(0x1a7)]=!0x0,_0x13f4c8[_0x15486b(0x197)]=_0x3e7f4e[_0x15486b(0x11f)],_0x13f4c8[_0x15486b(0x19e)]=null;}),_0x45b7d0)_0x483abb=_0x539f64,this[_0x3963f3(0x182)](_0x483abb,_0x45b7d0);else{if(_0x3e7f4e[_0x3963f3(0x193)]){const _0x5ef406=this[_0x3963f3(0x122)](_0x3e7f4e[_0x3963f3(0x193)]);this[_0x3963f3(0x199)][_0x3963f3(0x172)][_0x3963f3(0x139)]=-_0x5ef406[_0x3963f3(0x1c6)],_0x5ef406[_0x3963f3(0x200)](_0x4f6847=>{const _0x50b021=_0x3963f3;_0x4f6847[_0x50b021(0x186)]-=_0x5ef406[_0x50b021(0x1c6)],_0x4f6847[_0x50b021(0x197)]=_0x3e7f4e[_0x50b021(0x11f)],_0x4f6847[_0x50b021(0x1a7)]=!0x0,_0x4f6847[_0x50b021(0x19e)]=null;}),this[_0x3963f3(0x182)](_0x5ef406,!0x0),this[_0x3963f3(0x1e6)][_0x3963f3(0x139)]=-_0x5ef406[_0x3963f3(0x1c6)]+this[_0x3963f3(0x1f6)],this[_0x3963f3(0x15a)](_0x5ef406);}this[_0x3963f3(0x199)][_0x3963f3(0x172)][_0x3963f3(0x139)]=_0x55cbdb,_0x483abb=this[_0x3963f3(0x1f5)](_0x3e7f4e[_0x3963f3(0x116)],_0x3e7f4e[_0x3963f3(0x1e7)]),await this[_0x3963f3(0x173)](_0x483abb),this[_0x3963f3(0x182)](_0x483abb,_0x45b7d0);}_0x3e7f4e[_0x3963f3(0x16f)]&&(this[_0x3963f3(0x201)][_0x3963f3(0x19a)](_0x483abb,_0x3e7f4e[_0x3963f3(0x16f)]),this[_0x3963f3(0x1f7)]=_0x3e7f4e[_0x3963f3(0x16f)]),this[_0x3963f3(0x1e6)][_0x3963f3(0x139)]=_0x55cbdb+this[_0x3963f3(0x1f6)],this[_0x3963f3(0x15a)](_0x483abb),_0x539f64[_0x3963f3(0x154)](_0x525fe2=>{const _0x26d9d3=_0x3963f3,_0x3411bf=this[_0x26d9d3(0x1d2)](_0x525fe2);return _0x3411bf&&!this[_0x26d9d3(0x18c)][_0x26d9d3(0x191)](_0x3411bf);})[_0x3963f3(0x200)]((_0x36eb3a,_0x3d2baa)=>{const _0x547c7d=_0x3963f3;_0x36eb3a[_0x547c7d(0x186)]=this[_0x547c7d(0x199)][_0x547c7d(0x139)]+_0x3d2baa,this[_0x547c7d(0x129)](_0x36eb3a);}),this[_0x3963f3(0x20b)]()?(this[_0x3963f3(0x19b)]=0x0,this[_0x3963f3(0x14b)](!0x0),await this[_0x3963f3(0x16e)]()):(this[_0x3963f3(0x20e)]=!0x1,this[_0x3963f3(0x20d)]());}[_0x2205df(0x184)](_0x136679,_0x488e40){const _0x2859ed=_0x2205df,_0x26c241=_0x488e40&&_0x488e40[_0x2859ed(0x1f1)];if(_0x26c241&&_0x26c241[_0x2859ed(0x1af)](_0x2859ed(0x162)))throw _0x488e40;const _0x30bf7e=this[_0x2859ed(0x161)][_0x2859ed(0x198)][_0x2859ed(0x19f)](_0x1d0dff);throw this[_0x2859ed(0x20e)]=!0x0,_0x30bf7e[_0x2859ed(0x1fd)](),this[_0x2859ed(0x161)][_0x2859ed(0x11b)](_0x2859ed(0x1bd)),new _0x12c2b1(_0x136679,this[_0x2859ed(0x161)],_0x26c241?{'originalError':_0x26c241}:void 0x0);}[_0x2205df(0x129)](_0x5845be){const _0xb1ab07=_0x2205df;this[_0xb1ab07(0x132)][_0xb1ab07(0x191)](_0x5845be)||(this[_0xb1ab07(0x132)][_0xb1ab07(0x134)](_0x5845be),this[_0xb1ab07(0x1a0)][_0xb1ab07(0x1f4)](_0x5845be),this[_0xb1ab07(0x1ab)]||_0xb1ab07(0x1df)==_0x5845be[_0xb1ab07(0x141)]&&!_0x5845be[_0xb1ab07(0x1d0)]||this[_0xb1ab07(0x123)]());}[_0x2205df(0x14b)](_0x3415b2=!0x1){const _0x259efc=_0x2205df;!_0x3415b2&&this[_0x259efc(0x20e)]||(this[_0x259efc(0x20e)]=!0x0,clearTimeout(this[_0x259efc(0x15e)]),this[_0x259efc(0x15e)]=setTimeout(()=>{const _0x4f81d3=_0x259efc;this[_0x4f81d3(0x1e0)]()[_0x4f81d3(0x151)](_0x3cd92a=>{const _0x47b752=_0x4f81d3;_0x3cd92a&&(this[_0x47b752(0x20d)](),this[_0x47b752(0x20e)]=!0x1);})[_0x4f81d3(0x146)](_0x10883a=>{const _0x56962b=_0x4f81d3;this[_0x56962b(0x20d)](),this[_0x56962b(0x20e)]=!0x1,function(_0x1a36c9){const _0x186cea=_0x56962b;return _0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x1db))||_0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x16c))||_0x1a36c9[_0x186cea(0x1f1)][_0x186cea(0x1af)](_0x186cea(0x1f8));}(_0x10883a)||this[_0x56962b(0x184)](_0x10883a[_0x56962b(0x1f1)],_0x10883a);});},this[_0x259efc(0x19b)]));}[_0x2205df(0x16e)](){return new Promise(_0x1a197d=>{const _0x1205f3=_0x279a;this['on'](_0x1205f3(0x207),()=>{_0x1a197d();});});}async[_0x2205df(0x1e0)](){const _0x1bd39d=_0x2205df,_0x4cb7b6=this[_0x1bd39d(0x161)][_0x1bd39d(0x198)][_0x1bd39d(0x19f)](_0x1aa8c2);if(this[_0x1bd39d(0x12b)]()&&(_0x4cb7b6[_0x1bd39d(0x217)](),this[_0x1bd39d(0x1d7)]=!0x1),!this[_0x1bd39d(0x20b)]())return!0x0;const _0x3424e4=[...this[_0x1bd39d(0x1a0)]];for(const _0x2587f3 of _0x3424e4)_0x2587f3[_0x1bd39d(0x1f2)]=this[_0x1bd39d(0x199)][_0x1bd39d(0x172)][_0x1bd39d(0x18f)](_0x2587f3);const _0x459749=this[_0x1bd39d(0x201)][_0x1bd39d(0x1cf)](_0x3424e4),_0x5ea383=G++,_0x3c66dd=this[_0x1bd39d(0x1ff)](_0x3424e4),_0x1534db=await this[_0x1bd39d(0x21a)][_0x1bd39d(0x1ed)](_0x3c66dd,_0x3c66dd[_0x1bd39d(0x186)],_0x459749);try{return await this[_0x1bd39d(0x17b)](_0x3424e4,_0x1534db,_0x5ea383);}catch(_0x87fc6c){return this[_0x1bd39d(0x184)](_0x1bd39d(0x1ad),_0x87fc6c);}}async[_0x2205df(0x17b)](_0x554e75,_0x3dcea0,_0x44ae50){const _0x73fe97=_0x2205df;if(_0x73fe97(0x12f)in _0x3dcea0)throw _0x3dcea0[_0x73fe97(0x12f)];let _0x49eabf=!0x1;if(_0x3dcea0[_0x73fe97(0x13e)]){_0x3dcea0[_0x73fe97(0x16f)]&&(this[_0x73fe97(0x1f7)]=_0x3dcea0[_0x73fe97(0x16f)]),this[_0x73fe97(0x1a0)]=this[_0x73fe97(0x1a0)][_0x73fe97(0x154)](_0x484b78=>!_0x554e75[_0x73fe97(0x14a)](_0x484b78));for(const _0x52f6ed of _0x554e75)_0x52f6ed[_0x73fe97(0x197)]=_0x73fe97(0x202)in _0x3dcea0&&_0x3dcea0[_0x73fe97(0x202)]||void 0x0;K(_0x554e75,_0x3dcea0[_0x73fe97(0x139)]-_0x554e75[_0x73fe97(0x1c6)]),this[_0x73fe97(0x15a)](_0x554e75);const _0x19da4c=_0x554e75[_0x73fe97(0x154)](_0x2ae814=>{const _0x1a5e76=_0x73fe97;if(!_0x2ae814[_0x1a5e76(0x1a7)])return!0x1;const _0x100051=this[_0x1a5e76(0x1d2)](_0x2ae814);return _0x100051&&!this[_0x1a5e76(0x18c)][_0x1a5e76(0x191)](_0x100051);});K(_0x19da4c,this[_0x73fe97(0x199)][_0x73fe97(0x139)]),this[_0x73fe97(0x182)](_0x19da4c),_0x49eabf=!0x0,this[_0x73fe97(0x19b)]=this[_0x73fe97(0x11d)];}else{const _0x4714af=this[_0x73fe97(0x1f5)](_0x3dcea0[_0x73fe97(0x116)],_0x3dcea0[_0x73fe97(0x1e7)])[_0x73fe97(0x154)](_0x279e7a=>_0x279e7a[_0x73fe97(0x186)]>=this[_0x73fe97(0x1dc)]);_0x4714af[_0x73fe97(0x200)](_0xce67e3=>this[_0x73fe97(0x18d)](_0xce67e3)),this[_0x73fe97(0x1a0)]=this[_0x73fe97(0x1a0)][_0x73fe97(0x154)](_0x52770d=>!_0x52770d[_0x73fe97(0x1a7)]||!this[_0x73fe97(0x18c)][_0x73fe97(0x191)](this[_0x73fe97(0x1d2)](_0x52770d))),this[_0x73fe97(0x1a0)][_0x73fe97(0x1c6)]&&K(this[_0x73fe97(0x1a0)],this[_0x73fe97(0x1a0)][0x0][_0x73fe97(0x186)]),await this[_0x73fe97(0x173)](_0x4714af),_0x49eabf=this[_0x73fe97(0x218)](_0x4714af,_0x3dcea0[_0x73fe97(0x139)],_0x3dcea0[_0x73fe97(0x16f)]),this[_0x73fe97(0x19b)]=Math[_0x73fe97(0x12d)](this[_0x73fe97(0x19b)]/0x2);}return _0x49eabf?!this[_0x73fe97(0x20b)]()||(this[_0x73fe97(0x14b)](!0x0),!0x1):this[_0x73fe97(0x184)](_0x73fe97(0x1c5));}[_0x2205df(0x218)](_0x19c1eb,_0x3f5d88,_0x3872c4){const _0x1369c7=_0x2205df;try{const _0x1d0dbc={'document':this[_0x1369c7(0x199)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3b0023,operationsB:_0x358ed6,originalOperations:_0x3bb626}=_0x331568(_0x19c1eb,this[_0x1369c7(0x1a0)],_0x1d0dbc);K(_0x3b0023,this[_0x1369c7(0x199)][_0x1369c7(0x139)]),K(_0x358ed6,_0x3f5d88);for(const _0x10aac1 of _0x3b0023){const _0x108dd2=_0x3bb626[_0x1369c7(0x19f)](_0x10aac1);_0x10aac1[_0x1369c7(0x19e)]=_0x108dd2?_0x108dd2[_0x1369c7(0x19e)]:null;}_0x3872c4&&(this[_0x1369c7(0x201)][_0x1369c7(0x19a)](_0x19c1eb,_0x3872c4),this[_0x1369c7(0x1f7)]=_0x3872c4),this[_0x1369c7(0x1a0)]=[..._0x358ed6],this[_0x1369c7(0x182)](_0x3b0023),this[_0x1369c7(0x15a)](_0x19c1eb);}catch(_0xaf7f07){return console[_0x1369c7(0x12f)](_0xaf7f07),!0x1;}return!0x0;}[_0x2205df(0x182)](_0x2b39fd,_0x5ad4ac=!0x1){const _0x4a8cac=_0x2205df;this[_0x4a8cac(0x161)][_0x4a8cac(0x1da)][_0x4a8cac(0x1eb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3dfc86=>{const _0x5d8b7c=_0x4a8cac;for(const _0x2af59b of _0x2b39fd)this[_0x5d8b7c(0x132)][_0x5d8b7c(0x134)](_0x2af59b),this[_0x5d8b7c(0x18d)](_0x2af59b),_0x3dfc86[_0x5d8b7c(0x18b)][_0x5d8b7c(0x1c2)](_0x2af59b),this[_0x5d8b7c(0x161)][_0x5d8b7c(0x1da)][_0x5d8b7c(0x170)](_0x2af59b);});}[_0x2205df(0x18d)](_0x2ab42e){const _0x1fc804=_0x2205df,_0x418871=this[_0x1fc804(0x1d2)](_0x2ab42e);_0x418871&&this[_0x1fc804(0x18c)][_0x1fc804(0x134)](_0x418871);}[_0x2205df(0x1d2)](_0x1a4913){const _0x49016c=_0x2205df;let _0x502adf,_0x2605c0;switch(_0x1a4913[_0x49016c(0x141)]){case _0x49016c(0x1d1):_0x502adf=_0x1a4913[_0x49016c(0x20f)][_0x49016c(0x14d)];break;case _0x49016c(0x1df):if(_0x2605c0=_0x1a4913[_0x49016c(0x183)],!_0x2605c0)return null;_0x502adf=_0x2605c0[_0x49016c(0x14d)];break;case _0x49016c(0x1c0):_0x502adf=_0x1a4913[_0x49016c(0x14d)];break;case _0x49016c(0x1b9):_0x502adf=_0x1a4913[_0x49016c(0x1ec)];break;case _0x49016c(0x192):_0x502adf=_0x1a4913[_0x49016c(0x1aa)][_0x49016c(0x14d)];break;default:return null;}return _0x502adf[_0x49016c(0x1d3)];}[_0x2205df(0x15a)](_0x501496){const _0x5ed382=_0x2205df;_0x501496[_0x5ed382(0x200)](_0x39cd1d=>{const _0x43429b=_0x5ed382,_0x22ebc9=_0x39cd1d[_0x43429b(0x18e)]();_0x22ebc9[_0x43429b(0x19e)]=_0x39cd1d[_0x43429b(0x19e)],_0x22ebc9[_0x43429b(0x1a7)]=!!_0x39cd1d[_0x43429b(0x1a7)],_0x22ebc9[_0x43429b(0x197)]=_0x39cd1d[_0x43429b(0x197)],_0x22ebc9[_0x43429b(0x186)]+=this[_0x43429b(0x1f6)],_0x39cd1d[_0x43429b(0x1fe)]&&this[_0x43429b(0x178)][_0x43429b(0x134)](_0x22ebc9),this[_0x43429b(0x1e6)][_0x43429b(0x1c2)](_0x22ebc9);});}[_0x2205df(0x1b6)](_0x3e9a80){const _0x541512=_0x2205df,_0x14878d=this[_0x541512(0x161)][_0x541512(0x198)][_0x541512(0x19f)](_0x541512(0x1be)),_0x3a2e22=this[_0x541512(0x161)][_0x541512(0x148)];_0x3e9a80||(_0x3e9a80=_0x50e247(_0x3a2e22,_0x541512(0x171))),_0x14878d[_0x541512(0x1ce)](_0x3e9a80,{'title':_0x50e247(_0x3a2e22,_0x541512(0x1a5)),'namespace':_0x541512(0x1ae)}),this[_0x541512(0x1c7)]=!0x0,clearTimeout(this[_0x541512(0x15e)]),this[_0x541512(0x1a0)]=[],this[_0x541512(0x161)][_0x541512(0x198)][_0x541512(0x19f)](_0x1d0dff)[_0x541512(0x1fd)]();}[_0x2205df(0x123)](){const _0x43b299=_0x2205df;this[_0x43b299(0x1ab)]||(this[_0x43b299(0x1ab)]=this[_0x43b299(0x161)][_0x43b299(0x198)][_0x43b299(0x19f)](_0x568e23)[_0x43b299(0x134)](_0x50e247(this[_0x43b299(0x161)][_0x43b299(0x148)],_0x43b299(0x1cc))));}[_0x2205df(0x20d)](){const _0x1d3ba2=_0x2205df;this[_0x1d3ba2(0x1ab)]&&(this[_0x1d3ba2(0x161)][_0x1d3ba2(0x198)][_0x1d3ba2(0x19f)](_0x568e23)[_0x1d3ba2(0x12a)](this[_0x1d3ba2(0x1ab)]),this[_0x1d3ba2(0x1ab)]=null);}[_0x2205df(0x1ff)](_0x2549e7){const _0x444e5b=_0x2205df,_0x7e0c71=_0x2549e7[_0x444e5b(0x13f)](_0xe978b5=>_0xe978b5[_0x444e5b(0x1a1)]());return this[_0x444e5b(0x118)][_0x444e5b(0x125)](_0x7e0c71);}[_0x2205df(0x1f5)](_0x31a392,_0x5b1f91){const _0x51f8a5=_0x2205df;return this[_0x51f8a5(0x118)][_0x51f8a5(0x1fb)](_0x31a392)[_0x51f8a5(0x13f)]((_0x4c087e,_0x688200)=>{const _0x5ae260=_0x51f8a5,_0x349709=_0x5ae260(0x1e1)==_0x5b1f91[_0x688200][_0x5ae260(0x141)];if(_0x5ae260(0x1cd)==_0x4c087e[_0x5ae260(0x143)]){const _0x43c7c6=_0x4c087e[_0x5ae260(0x20f)][_0x5ae260(0x14d)];!this[_0x5ae260(0x199)][_0x5ae260(0x17c)](_0x43c7c6)&&(this[_0x5ae260(0x199)][_0x5ae260(0x1c1)](_0x5ae260(0x1ee),_0x43c7c6)[_0x5ae260(0x1a9)]=!0x1);}const _0x1ac055=_0x19008c[_0x5ae260(0x140)](_0x4c087e,this[_0x5ae260(0x199)]);return _0x1ac055[_0x5ae260(0x1f2)]=_0x4c087e[_0x5ae260(0x1f2)],_0x1ac055[_0x5ae260(0x1a7)]=_0x349709,_0x1ac055[_0x5ae260(0x19e)]=_0x349709?null:_0x5b1f91[_0x688200][_0x5ae260(0x1b7)],_0x1ac055[_0x5ae260(0x1fe)]=_0x5ae260(0x11c)===_0x5b1f91[_0x688200][_0x5ae260(0x141)],_0x1ac055[_0x5ae260(0x197)]=_0x5b1f91[_0x688200][_0x5ae260(0x197)],_0x1ac055;});}[_0x2205df(0x158)](){const _0x3ecaee=_0x2205df;this[_0x3ecaee(0x1d7)]=!0x0,this[_0x3ecaee(0x12b)]()?this[_0x3ecaee(0x14b)]():this[_0x3ecaee(0x1d7)]=!0x1;}[_0x2205df(0x12b)](){const _0x2d463a=_0x2205df,_0x11c72a=this[_0x2d463a(0x161)][_0x2d463a(0x198)][_0x2d463a(0x19f)](_0x5b10ab)[_0x2d463a(0x1a4)][_0x2d463a(0x19f)](this[_0x2d463a(0x1c8)]);return!this[_0x2d463a(0x161)][_0x2d463a(0x11a)]&&!!_0x11c72a&&_0x11c72a[_0x2d463a(0x1c6)]>0x1&&this[_0x2d463a(0x1d7)];}[_0x2205df(0x20b)](){const _0x599581=_0x2205df;return this[_0x599581(0x1a0)][_0x599581(0x1c6)]>0x0||this[_0x599581(0x12b)]();}}function _0x279a(_0x872800,_0x15578c){const _0x4880e4=_0x4880();return _0x279a=function(_0x279a0e,_0x5c08f2){_0x279a0e=_0x279a0e-0x116;let _0x3fd60e=_0x4880e4[_0x279a0e];return _0x3fd60e;},_0x279a(_0x872800,_0x15578c);}class $ extends Error{}function K(_0x309908,_0x5be625){const _0x2d50d5=_0x2205df;for(const _0x409bb6 of _0x309908)_0x409bb6[_0x2d50d5(0x186)]=_0x5be625++;}class J{[_0x2205df(0x15d)];[_0x2205df(0x144)];constructor(_0x11e5fa){const _0x203441=_0x2205df;this[_0x203441(0x15d)]=_0x11e5fa,this[_0x203441(0x144)]=new WeakMap();}[_0x2205df(0x1cf)](_0x145000){const _0x7bfa35=_0x2205df;let _0x3dbd2b=_0x145000[_0x7bfa35(0x1c6)];for(;_0x3dbd2b--;){const _0x43d4b8=_0x145000[_0x3dbd2b];if(!this[_0x7bfa35(0x15d)][_0x7bfa35(0x191)](_0x43d4b8)){if(!this[_0x7bfa35(0x144)][_0x7bfa35(0x191)](_0x43d4b8)){const _0xcdd059=_0x2be118()[_0x7bfa35(0x203)](0x1,0x12);this[_0x7bfa35(0x144)][_0x7bfa35(0x206)](_0x43d4b8,_0xcdd059);}return this[_0x7bfa35(0x144)][_0x7bfa35(0x19f)](_0x43d4b8);}}}[_0x2205df(0x19a)](_0x3c3388,_0xb29a35){const _0x18a4c9=_0x2205df;if(!_0xb29a35)return;let _0x3272e3=_0x3c3388[_0x18a4c9(0x1c6)];for(;_0x3272e3--;){const _0x2b6d98=_0x3c3388[_0x3272e3];this[_0x18a4c9(0x15d)][_0x18a4c9(0x191)](_0x2b6d98)||this[_0x18a4c9(0x144)][_0x18a4c9(0x206)](_0x2b6d98,_0xb29a35);}}}
|
|
23
|
+
function _0x29f7(){const _0x22d220=['lastDocumentSession','real-time-collaboration','_hasSynchronizationProblem','_lastSyncedOperationId','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsers','removeFromReconnectionStack','register','apply','_initThrowingOnDataSet','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_setUpDataInit','editor','createRoot','batch','targetPosition','rootName','_pendingAction','isUndoneOperation','__className','differ','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.','toJSON','set','_compressor','_hasSelectionChanged','map','destroy','enableReadOnlyMode','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.','move','error','_operationIdentifier','4114926rxSYqe','lastOperationAcceptedAt','_applyOperationsSet','from','Notification','cloud-services-internal-error:\x20Request\x20timeout.','has','_initSessionsHandling','reconnection:\x20flushed\x20session','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getDocumentDetails','_service','affectsData','connect','addToReconnectionStack','250304MXTqeZ','listenTo','60995qrvjQg','495FZEvGo','_handleServerResponse','CommentsOnly','_disconnectService','addRootAttribute','_baseBufferDelay','rtc-destroyed','loadRoot','_waitUntilSynced','getOperationAuthor','locale','off','parse','roots','finally','4773432qQzHSI','addOperation','change:hasDomSelection','_isDisconnection','realtimecollaborationclient-init-connection-failed','document','data','cloudDocumentVersion','enqueueChange','fire','182805EaXJFn','baseVersion','_handleExternalOperations','rootsAttributes','_ignoredOperations','12SbAHQh','_handleSendingSelectionMarkers','markers','isOfficialPlugin','keys','409','_handleReceivedOperations','startsWith','stop','disconnect','createPositionAt','version','_bufferedOperations','isEnabled','getMany','addUser','change:range','connected','_offset','realtimecollaborationclient-error','define','setPermissions','decompress','root','then','_handleReconnectionError','realtimecollaborationclient-init-document-already-initialized','404','_crash','Synchronization\x20issue','9233632UjsHNG','_isAttached','position','newRange','_getOperationsFromInitData','_loadRoot','applyOperation','collaboration.channelId','entries','40086sBQyoZ','add','_isConnected','catch','compress','includes','code','push','_lastServerVersion','collaboration-missing-channelid','return','serverHistory','remove','_refreshUserSelectionMarkers','marker','realtimecollaborationclient-init-non-existent-root','_isLoaded','_sendBufferedOperations','realtimecollaborationclient-init-session-connection-error','size','insert','model','type','_saveOperationInBuffer','_updateServerHistory','_knownRootNames','addRoot','_isInit','_authorId','initData','showWarning','realtimecollaborationclient-sendbufferedoperations','view','userId','Permissions','7nuWnFk','length','reconnect','lastOperationId','mySessionId','createPositionFromPath','_connectService','message','suppressErrorInCollaboration','_clearPendingAction','reset','CollaborativeEditingService','_decompressOperations','collaboration','filter','_handleInitialConnectionData','wereChangesApplied','createUserMarkerOperations','_handleReconnectionResponse','round','currentDocumentSession','sendOperations','fromJSON','isPremiumPlugin','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-service-internal-error','InsertOperation','_shouldSendUpdate','offset','RealTimeCollaborationClient','_currentBufferDelay','_operationToId','isReadOnly','getConnectedSessions','rtc-offline','permissions','cs:removeUser','change:_isEditingAllowed','ready','stopListening','history','selection','_sendBufferedOperationsDelayId','attributes','config','unregister','editing','_connectAfterSessionHasBeenFlushed','createRange','disableReadOnlyMode','bind','sessionId','start','path','get','multi-root-editor-root-attributes-no-root','end','connection','sessionAdd:','high','PENDING_ACTION_SENDING_DATA','plugins','_bufferRootLoad','realtimecollaborationclient','_isPendingUpdate','6790vapjef','_document','getOperations','realtimecollaborationclient-init-service-incorrect-server-operation','pluginName','directChange','disconnected','affectedSelectable','_isEditingAllowed','string','forEach','clone','_addKnownRoot','change:_isPendingUpdate','getRoot','wasUndone','_channelId','operationsReceived','state','getIdOfTheLastOperation','init','_knownOperations','_disconnectionOperations','isDocumentOperation','getUser','_shouldSendSelectionUpdate','sessionCreatedAt','lastSyncVersion','slice','_sendBufferedOperationsDelayed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudServices.bundleVersion','requires','document:write','$root','_setPendingAction','createdAt','setIdForTheLastOperation','_getAffectedRoot','_compressOperations','metadata','realtimecollaborationclient-handleserverresponse','channelSessions'];_0x29f7=function(){return _0x22d220;};return _0x29f7();}const _0xae5d04=_0x53ec;(function(_0x14f2ef,_0x2df9a9){const _0x26ea44=_0x53ec,_0x46e1d1=_0x14f2ef();while(!![]){try{const _0x47321a=-parseInt(_0x26ea44(0x267))/0x1+-parseInt(_0x26ea44(0x288))/0x2*(parseInt(_0x26ea44(0x283))/0x3)+-parseInt(_0x26ea44(0x279))/0x4+-parseInt(_0x26ea44(0x26a))/0x5*(parseInt(_0x26ea44(0x2af))/0x6)+-parseInt(_0x26ea44(0x1cb))/0x7*(parseInt(_0x26ea44(0x2a6))/0x8)+parseInt(_0x26ea44(0x258))/0x9+parseInt(_0x26ea44(0x20c))/0xa*(parseInt(_0x26ea44(0x269))/0xb);if(_0x47321a===_0x2df9a9)break;else _0x46e1d1['push'](_0x46e1d1['shift']());}catch(_0x159f55){_0x46e1d1['push'](_0x46e1d1['shift']());}}}(_0x29f7,0x91d7e));import{Plugin as _0x108875,PendingActions as _0x17ac66}from'ckeditor5/src/core.js';function _0x53ec(_0x1a7bd7,_0x1c4c61){const _0x29f78d=_0x29f7();return _0x53ec=function(_0x53ecc7,_0x29f9ab){_0x53ecc7=_0x53ecc7-0x1b1;let _0x2b4e0c=_0x29f78d[_0x53ecc7];return _0x2b4e0c;},_0x53ec(_0x1a7bd7,_0x1c4c61);}import{CKEditorError as _0x1ccadc,version as _0x39eb69,uid as _0x56aaff}from'ckeditor5/src/utils.js';import{Notification as _0x49998b}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x12954f,NoOperation as _0x1d2a5b,InsertOperation as _0x18a46c,MarkerOperation as _0x4941be,RootAttributeOperation as _0x59ce1b,OperationFactory as _0x363f33,History as _0x490248}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x40c7a1}from'./websocketgateway.js';import{Sessions as _0x15de0c}from'./sessions.js';import{UserMarkers as _0x37687c}from'./usermarkers.js';import{getTranslation as _0x267250}from'../common-translations.js';import{Compressor as _0x2307aa}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xdb823b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3e4434,CollaborativeEditingService as _0x502c3a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x108875{static [_0xae5d04(0x1d6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x502c3a)());[_0xae5d04(0x29a)];[_0xae5d04(0x1fe)];[_0xae5d04(0x1b3)];[_0xae5d04(0x21c)];[_0xae5d04(0x263)];[_0xae5d04(0x20d)];[_0xae5d04(0x24f)];[_0xae5d04(0x294)];[_0xae5d04(0x221)];[_0xae5d04(0x1c1)];[_0xae5d04(0x248)];[_0xae5d04(0x250)];[_0xae5d04(0x1f5)];[_0xae5d04(0x26f)];[_0xae5d04(0x1e9)];[_0xae5d04(0x23a)];[_0xae5d04(0x222)];[_0xae5d04(0x257)];static get[_0xae5d04(0x22c)](){return[_0x40c7a1,_0x15de0c,_0x37687c,_0x17ac66,_0xdb823b,_0x49998b];}static get[_0xae5d04(0x210)](){const _0x26250c=_0xae5d04;return _0x26250c(0x1e8);}static get[_0xae5d04(0x28b)](){return!0x0;}static get[_0xae5d04(0x1e2)](){return!0x0;}get[_0xae5d04(0x280)](){const _0x198ed2=_0xae5d04;return this[_0x198ed2(0x2b7)]+this[_0x198ed2(0x29a)];}get[_0xae5d04(0x2b7)](){const _0x539bb5=_0xae5d04;return this[_0x539bb5(0x1b3)][_0x539bb5(0x293)]-this[_0x539bb5(0x29a)];}get[_0xae5d04(0x227)](){const _0x525d72=_0xae5d04,_0x372c70=this[_0x525d72(0x1b3)][_0x525d72(0x20e)]();for(let _0x3e4a5e=_0x372c70[_0x525d72(0x1cc)]-0x1;_0x3e4a5e>=0x0;_0x3e4a5e--){const _0x4c3fa1=_0x372c70[_0x3e4a5e];if(!this[_0x525d72(0x222)][_0x525d72(0x25e)](_0x4c3fa1))return _0x4c3fa1[_0x525d72(0x284)]+0x1-this[_0x525d72(0x29a)];}return 0x0;}constructor(_0x27fe3f){const _0x3a2d86=_0xae5d04;if(super(_0x27fe3f),this[_0x3a2d86(0x29a)]=0x0,this[_0x3a2d86(0x1fe)]=null,this[_0x3a2d86(0x1b3)]=new _0x490248(),this[_0x3a2d86(0x243)][_0x3a2d86(0x1f7)][_0x3a2d86(0x29c)](_0x3a2d86(0x1d8),{}),this[_0x3a2d86(0x21c)]=this[_0x3a2d86(0x243)][_0x3a2d86(0x1f7)][_0x3a2d86(0x201)](_0x3a2d86(0x2ad)),!this[_0x3a2d86(0x21c)])throw new _0x1ccadc(_0x3a2d86(0x1b1),this);const _0x1545aa=_0x27fe3f[_0x3a2d86(0x1f7)][_0x3a2d86(0x201)](_0x3a2d86(0x22b))||_0x39eb69;this[_0x3a2d86(0x263)]=new RealTimeCollaborationClient[(_0x3a2d86(0x1d6))](_0x1545aa,this[_0x3a2d86(0x21c)]),this[_0x3a2d86(0x20d)]=this[_0x3a2d86(0x243)][_0x3a2d86(0x1bd)][_0x3a2d86(0x27e)],this[_0x3a2d86(0x24f)]=new _0x2307aa(),this[_0x3a2d86(0x294)]=[],this[_0x3a2d86(0x221)]=new WeakSet(),this[_0x3a2d86(0x1c1)]=new Set(),this[_0x3a2d86(0x24e)](_0x3a2d86(0x20b),!0x1),this[_0x3a2d86(0x24e)](_0x3a2d86(0x239),!0x1),this[_0x3a2d86(0x248)]=null,this[_0x3a2d86(0x250)]=!0x1,this[_0x3a2d86(0x1f5)]=null,this[_0x3a2d86(0x26f)]=0x12c,this[_0x3a2d86(0x1e9)]=this[_0x3a2d86(0x26f)],this[_0x3a2d86(0x23a)]=null,this[_0x3a2d86(0x222)]=new WeakSet(),this[_0x3a2d86(0x257)]=new J(this[_0x3a2d86(0x222)]);}[_0xae5d04(0x220)](){const _0x4e3921=_0xae5d04,_0x437a90=this[_0x4e3921(0x243)],_0x289ede=_0x437a90[_0x4e3921(0x208)][_0x4e3921(0x201)](_0xdb823b),_0x1eb045=_0x437a90[_0x4e3921(0x208)][_0x4e3921(0x201)](_0x40c7a1);this[_0x4e3921(0x268)](_0x289ede,_0x4e3921(0x273),(_0x5b1d3b,_0x3e6a63)=>{const _0x38c740=_0x4e3921,_0x401e3b=_0x3e6a63[0x0];_0x401e3b[_0x38c740(0x1c4)]&&(_0x5b1d3b[_0x38c740(0x1b2)]=_0x289ede[_0x38c740(0x224)](_0x401e3b[_0x38c740(0x1c4)]),_0x5b1d3b[_0x38c740(0x290)]()),null===_0x401e3b[_0x38c740(0x1c4)]&&(_0x5b1d3b[_0x38c740(0x1b2)]=null,_0x5b1d3b[_0x38c740(0x290)]());},{'priority':_0x4e3921(0x206)}),this[_0x4e3921(0x268)](_0x437a90[_0x4e3921(0x1bd)][_0x4e3921(0x27e)][_0x4e3921(0x1f4)],_0x4e3921(0x298),(_0x28399b,_0x17a3c8)=>{const _0x5f27f0=_0x4e3921;_0x17a3c8[_0x5f27f0(0x211)]&&this[_0x5f27f0(0x1b5)]();}),this[_0x4e3921(0x268)](_0x437a90[_0x4e3921(0x1f9)][_0x4e3921(0x1c8)],_0x4e3921(0x27b),()=>{const _0x544c63=_0x4e3921;this[_0x544c63(0x1b5)]();}),this[_0x4e3921(0x240)](),_0x437a90[_0x4e3921(0x1bd)]['on'](_0x4e3921(0x2ac),(_0xc8f4e0,_0x36750c)=>{const _0x232927=_0x4e3921,_0x2204b4=_0x36750c[0x0];_0x2204b4[_0x232927(0x223)]&&(this[_0x232927(0x1bf)](_0x2204b4),this[_0x232927(0x1e6)]()&&this[_0x232927(0x229)]());}),this[_0x4e3921(0x242)](),this[_0x4e3921(0x1fd)](_0x4e3921(0x214))['to'](_0x1eb045,_0x4e3921(0x21e),this,_0x4e3921(0x239),(_0x5d177a,_0x581846)=>_0x4e3921(0x299)===_0x5d177a&&!_0x581846),this['on'](_0x4e3921(0x1f0),()=>{const _0x5a1ad2=_0x4e3921;this[_0x5a1ad2(0x214)]?_0x437a90[_0x5a1ad2(0x1fc)](_0x5a1ad2(0x1ed)):_0x437a90[_0x5a1ad2(0x253)](_0x5a1ad2(0x1ed));}),this[_0x4e3921(0x214)]?_0x437a90[_0x4e3921(0x1fc)](_0x4e3921(0x1ed)):_0x437a90[_0x4e3921(0x253)](_0x4e3921(0x1ed)),this[_0x4e3921(0x24e)](_0x4e3921(0x2b1),!0x1);}async[_0xae5d04(0x1cd)](){const _0xb1d85c=_0xae5d04,_0x421abe=this[_0xb1d85c(0x243)][_0xb1d85c(0x208)][_0xb1d85c(0x201)](_0x15de0c),_0x41b515=this[_0xb1d85c(0x243)][_0xb1d85c(0x208)][_0xb1d85c(0x201)](_0x40c7a1);try{this[_0xb1d85c(0x20b)]=!0x0,_0x421abe[_0xb1d85c(0x1f8)](this[_0xb1d85c(0x21c)]);const _0x29e654=await this[_0xb1d85c(0x263)][_0xb1d85c(0x1cd)](_0x41b515[_0xb1d85c(0x204)],this[_0xb1d85c(0x227)]);await this[_0xb1d85c(0x1dd)](_0x29e654)&&(this[_0xb1d85c(0x20b)]=!0x1,this[_0xb1d85c(0x1d4)]());const _0x220c53=await this[_0xb1d85c(0x263)][_0xb1d85c(0x1ec)]();_0x421abe[_0xb1d85c(0x23e)](this[_0xb1d85c(0x21c)],_0x220c53),this[_0xb1d85c(0x289)](),this[_0xb1d85c(0x2b1)]=!0x0;}catch(_0x554f03){if(function(_0x50d859){const _0x57431f=_0xb1d85c;return _0x57431f(0x2a3)===_0x50d859[_0x57431f(0x2b5)];}(_0x554f03)&&this[_0xb1d85c(0x1fe)])await this[_0xb1d85c(0x1fa)]();else{if(function(_0x3333ea){const _0x476461=_0xb1d85c;return _0x476461(0x28d)===_0x3333ea[_0x476461(0x2b5)];}(_0x554f03)){const _0xcb75d4=_0x267250(this[_0xb1d85c(0x243)][_0xb1d85c(0x274)],_0xb1d85c(0x22a));this[_0xb1d85c(0x2a1)](_0xcb75d4);}else{if(!(_0x554f03 instanceof $))throw _0x554f03;this[_0xb1d85c(0x2a1)]();}}}}[_0xae5d04(0x252)](){const _0x1c48e7=_0xae5d04,_0x2d6bd6=this[_0x1c48e7(0x243)][_0x1c48e7(0x208)][_0x1c48e7(0x201)](_0x40c7a1),_0x63fb7e=this[_0x1c48e7(0x243)][_0x1c48e7(0x208)][_0x1c48e7(0x201)](_0x15de0c);this[_0x1c48e7(0x243)][_0x1c48e7(0x253)](_0x1c48e7(0x270)),_0x63fb7e[_0x1c48e7(0x236)][_0x1c48e7(0x25e)](this[_0x1c48e7(0x21c)])&&_0x63fb7e[_0x1c48e7(0x1f8)](this[_0x1c48e7(0x21c)]),_0x2d6bd6[_0x1c48e7(0x23d)](this),this[_0x1c48e7(0x26d)](),super[_0x1c48e7(0x252)]();}async[_0xae5d04(0x1dd)](_0x5c6ec9){const _0x1da294=_0xae5d04;if(this[_0x1da294(0x1fe)]!==_0x5c6ec9[_0x1da294(0x1fe)]&&this[_0x1da294(0x23a)]!==_0x5c6ec9[_0x1da294(0x1ce)])throw new $();return this[_0x1da294(0x1fe)]=_0x5c6ec9[_0x1da294(0x1fe)],this[_0x1da294(0x26b)]([],{..._0x5c6ec9,'wereChangesApplied':!0x1,'data':_0x5c6ec9[_0x1da294(0x27f)]},_0x1da294(0x1cd));}async[_0xae5d04(0x1d1)](_0x53b7a,_0x58bc1a=!0x1){const _0x1fa513=_0xae5d04,{connection:_0x19f3d4}=this[_0x1fa513(0x243)][_0x1fa513(0x208)][_0x1fa513(0x201)](_0x40c7a1);RealTimeCollaborationClient[_0x1fa513(0x1d6)][_0x1fa513(0x1ec)](_0x19f3d4,this[_0x1fa513(0x21c)])[_0x1fa513(0x2a0)](_0x32a857=>this[_0x1fa513(0x25f)](_0x32a857))[_0x1fa513(0x2b2)](_0x754a2c=>{const _0x414f78=_0x1fa513;this[_0x414f78(0x2a4)](_0x414f78(0x1ba),_0x754a2c);}),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x21d),this[_0x1fa513(0x28e)][_0x1fa513(0x1fd)](this)),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x256),(_0xaa21ac,_0x96ab06)=>{const _0x17e89c=_0x1fa513;this[_0x17e89c(0x2a4)](_0x17e89c(0x1e4),_0x96ab06);}),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x212),()=>{const _0x20c49f=_0x1fa513;this[_0x20c49f(0x2b1)]=!0x1;});const _0x5ce470=this[_0x1fa513(0x257)][_0x1fa513(0x21f)](_0x53b7a);this[_0x1fa513(0x20b)]=!0x0;const _0x274017=await this[_0x1fa513(0x263)][_0x1fa513(0x265)](_0x19f3d4,this[_0x1fa513(0x233)](_0x53b7a),_0x5ce470);if(this[_0x1fa513(0x1fe)]=_0x274017[_0x1fa513(0x1fe)],_0x58bc1a){if(!_0x274017[_0x1fa513(0x1db)])return void this[_0x1fa513(0x2a1)]();this[_0x1fa513(0x20b)]=!0x1,this[_0x1fa513(0x1d4)](),this[_0x1fa513(0x1b3)][_0x1fa513(0x1d5)](),this[_0x1fa513(0x29a)]=_0x274017[_0x1fa513(0x1e7)],this[_0x1fa513(0x1b3)][_0x1fa513(0x293)]=this[_0x1fa513(0x29a)],await this[_0x1fa513(0x26b)](_0x53b7a,_0x274017,_0x1fa513(0x260));}else await this[_0x1fa513(0x1da)](_0x274017,_0x53b7a);this[_0x1fa513(0x289)](),this[_0x1fa513(0x2b1)]=!0x0;}[_0xae5d04(0x289)](){const _0x23d04d=_0xae5d04,_0x575fd6=this[_0x23d04d(0x243)][_0x23d04d(0x208)][_0x23d04d(0x201)](_0x15de0c),_0x26e930=this[_0x23d04d(0x243)][_0x23d04d(0x208)][_0x23d04d(0x201)](_0x37687c),_0x22e646=_0x575fd6[_0x23d04d(0x236)][_0x23d04d(0x201)](this[_0x23d04d(0x21c)]);_0x22e646&&_0x22e646[_0x23d04d(0x1cc)]>0x1?_0x26e930[_0x23d04d(0x1dc)]():this[_0x23d04d(0x268)](_0x575fd6,_0x23d04d(0x205)+this[_0x23d04d(0x21c)],()=>{const _0x7f3a0d=_0x23d04d;0x2===_0x575fd6[_0x7f3a0d(0x236)][_0x7f3a0d(0x201)](this[_0x7f3a0d(0x21c)])[_0x7f3a0d(0x1cc)]&&_0x26e930[_0x7f3a0d(0x1dc)]();});}async[_0xae5d04(0x28e)](_0x4e7c2a,_0x57961b,_0x1e6ddd,_0x157d0f){const _0x47d1ba=_0xae5d04;if(!this[_0x47d1ba(0x20b)]&&this[_0x47d1ba(0x20d)][_0x47d1ba(0x293)]==_0x57961b){const _0x3636f9=this[_0x47d1ba(0x1d7)](_0x1e6ddd,_0x157d0f);await this[_0x47d1ba(0x23c)](_0x3636f9),this[_0x47d1ba(0x285)](_0x3636f9,_0x57961b,_0x1e6ddd[_0x47d1ba(0x1ce)])||this[_0x47d1ba(0x2a4)](_0x47d1ba(0x20f));}}async[_0xae5d04(0x1fa)](){const _0x237d3e=_0xae5d04;this[_0x237d3e(0x26d)]();const {locale:_0x2ac06f}=this[_0x237d3e(0x243)];let _0x4acc49;try{_0x4acc49=await this[_0x237d3e(0x263)][_0x237d3e(0x262)]();}catch{const _0x3379f6=_0x267250(_0x2ac06f,_0x237d3e(0x241));return void this[_0x237d3e(0x2a1)](_0x3379f6);}const _0x2f8e67=_0x4acc49[_0x237d3e(0x1df)]||_0x4acc49[_0x237d3e(0x237)];if(this[_0x237d3e(0x23a)]!==_0x2f8e67[_0x237d3e(0x1ce)]){const _0x5c34cb=_0x267250(_0x2ac06f,_0x237d3e(0x254));return void this[_0x237d3e(0x2a1)](_0x5c34cb);}await this[_0x237d3e(0x1d1)](this[_0x237d3e(0x243)][_0x237d3e(0x1bd)][_0x237d3e(0x27e)][_0x237d3e(0x1f3)][_0x237d3e(0x20e)](),!0x0);}[_0xae5d04(0x26d)](){const _0x2df982=_0xae5d04;this[_0x2df982(0x263)][_0x2df982(0x291)](),this[_0x2df982(0x294)]=[],clearTimeout(this[_0x2df982(0x1f5)]),this[_0x2df982(0x1f2)](this[_0x2df982(0x263)]);}[_0xae5d04(0x25f)](_0x206383){const _0x2a7b97=_0xae5d04,_0x228e63=this[_0x2a7b97(0x243)][_0x2a7b97(0x208)][_0x2a7b97(0x201)](_0x15de0c);this[_0x2a7b97(0x268)](_0x228e63,_0x2a7b97(0x205)+this[_0x2a7b97(0x21c)],(_0x246e01,{session:_0x54b8f8})=>{const _0x253e1f=_0x2a7b97;if(_0x54b8f8['id']===_0x228e63[_0x253e1f(0x1cf)]){_0x246e01[_0x253e1f(0x275)]();const _0x42b50c=this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x25e)](_0x253e1f(0x26c))&&this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x201)](_0x253e1f(0x26c));let _0x3dde81=_0x54b8f8[_0x253e1f(0x1ee)];_0x42b50c&&_0x42b50c[_0x253e1f(0x295)]&&(_0x3dde81=_0x3dde81[_0x253e1f(0x1d9)](_0x4417e4=>_0x253e1f(0x22d)!==_0x4417e4)),this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x201)](_0x253e1f(0x1ca))[_0x253e1f(0x29d)](_0x3dde81,this[_0x253e1f(0x21c)]);}}),_0x228e63[_0x2a7b97(0x23e)](this[_0x2a7b97(0x21c)],_0x206383);}[_0xae5d04(0x240)](){const _0x58bdbb=_0xae5d04,_0x27dd0c=this[_0x58bdbb(0x243)][_0x58bdbb(0x27f)][_0x58bdbb(0x24e)];this[_0x58bdbb(0x243)][_0x58bdbb(0x27f)][_0x58bdbb(0x24e)]=(..._0x3b8e99)=>{const _0x3dfad6=_0x58bdbb;if(!_0x3b8e99[_0x3b8e99[_0x3dfad6(0x1cc)]-0x1][_0x3dfad6(0x1d3)])throw new _0x1ccadc(_0x3dfad6(0x1e3),this);_0x27dd0c[_0x3dfad6(0x23f)](this[_0x3dfad6(0x243)][_0x3dfad6(0x27f)],_0x3b8e99);};}[_0xae5d04(0x242)](){const _0x1fc008=_0xae5d04;this[_0x1fc008(0x243)][_0x1fc008(0x27f)]['on'](_0x1fc008(0x220),(_0x17c073,[_0x283d22])=>{const _0x529e0d=_0x1fc008;if(this[_0x529e0d(0x20d)][_0x529e0d(0x293)])throw new _0x1ccadc(_0x529e0d(0x2a2),this);_0x17c073[_0x529e0d(0x290)](),this[_0x529e0d(0x22f)]();const _0x413694=this[_0x529e0d(0x243)][_0x529e0d(0x1f7)][_0x529e0d(0x201)](_0x529e0d(0x286)),_0x17b52d=this[_0x529e0d(0x2aa)](_0x283d22,_0x413694);0x0==_0x17b52d[_0x529e0d(0x1cc)]&&_0x17b52d[_0x529e0d(0x2b6)](new _0x1d2a5b(0x0)),_0x17c073[_0x529e0d(0x1b2)]=this[_0x529e0d(0x1d1)](_0x17b52d)[_0x529e0d(0x2a0)](()=>{const _0x244a4c=_0x529e0d;this[_0x244a4c(0x243)][_0x244a4c(0x208)][_0x244a4c(0x201)](_0x40c7a1)[_0x244a4c(0x266)](this),this[_0x244a4c(0x243)][_0x244a4c(0x27f)][_0x244a4c(0x282)](_0x244a4c(0x1f1));})[_0x529e0d(0x2b2)](_0x2389cf=>this[_0x529e0d(0x2a4)](_0x529e0d(0x27d),_0x2389cf))[_0x529e0d(0x278)](()=>this[_0x529e0d(0x1d4)]());},{'priority':_0x1fc008(0x206)}),this[_0x1fc008(0x243)]['on'](_0x1fc008(0x271),async(_0x15a7f1,[_0x14548d,_0x4a40cc])=>{const _0x415ab9=_0x1fc008;_0x15a7f1[_0x415ab9(0x290)]();const _0x3c2207=this[_0x415ab9(0x243)][_0x415ab9(0x1bd)][_0x415ab9(0x27e)][_0x415ab9(0x21a)](_0x14548d);if(!this[_0x415ab9(0x1c1)][_0x415ab9(0x25e)](_0x14548d)){const _0x218d2d=_0x4a40cc&&_0x4a40cc[_0x415ab9(0x27f)]?_0x4a40cc[_0x415ab9(0x27f)]:'',_0xbe2f1f=_0x4a40cc&&_0x4a40cc[_0x415ab9(0x1f6)]?_0x4a40cc[_0x415ab9(0x1f6)]:{};await this[_0x415ab9(0x2ab)](_0x14548d,_0x218d2d,_0xbe2f1f);}this[_0x415ab9(0x243)][_0x415ab9(0x1bd)][_0x415ab9(0x281)]({'isUndoable':!0x1},()=>{const _0x5e6722=_0x415ab9;_0x3c2207[_0x5e6722(0x1b8)]=!0x0,this[_0x5e6722(0x243)][_0x5e6722(0x1bd)][_0x5e6722(0x27e)][_0x5e6722(0x24b)][_0x5e6722(0x209)](_0x3c2207);});},{'priority':_0x1fc008(0x206)});}async[_0xae5d04(0x23c)](_0xa945e8){const _0x4988fe=_0xae5d04,_0x17ba62=this[_0x4988fe(0x243)][_0x4988fe(0x208)][_0x4988fe(0x201)](_0xdb823b),{connection:_0x55e69a}=this[_0x4988fe(0x243)][_0x4988fe(0x208)][_0x4988fe(0x201)](_0x40c7a1),_0x2dd066=new Set();for(const _0x4a2301 of _0xa945e8){const _0x4cb678=_0x4a2301[_0x4988fe(0x1c4)];_0x4cb678&&!_0x17ba62[_0x4988fe(0x224)](_0x4cb678)&&_0x2dd066[_0x4988fe(0x2b0)](_0x4cb678);}if(0x0===_0x2dd066[_0x4988fe(0x1bb)])return;const _0x2af212=await _0x3e4434[_0x4988fe(0x296)](_0x55e69a,Array[_0x4988fe(0x25b)](_0x2dd066));for(const _0x1a3ad8 of _0x2af212)_0x17ba62[_0x4988fe(0x224)](_0x1a3ad8['id'])||_0x17ba62[_0x4988fe(0x297)](_0x1a3ad8);}[_0xae5d04(0x2aa)](_0x2d2af0,_0x1d2e54={}){const _0x2611c9=_0xae5d04,_0x1711a6=this[_0x2611c9(0x243)][_0x2611c9(0x1bd)],_0x2e5eff=[];let _0x582368=0x0;const _0x59c384=_0x2611c9(0x215)==typeof _0x2d2af0?{'main':_0x2d2af0}:_0x2d2af0;for(const _0x181c64 of Object[_0x2611c9(0x28c)](_0x59c384)){if(!this[_0x2611c9(0x20d)][_0x2611c9(0x277)][_0x2611c9(0x25e)](_0x181c64))throw new _0x1ccadc(_0x2611c9(0x1b7),this);const _0x449ec5=this[_0x2611c9(0x243)][_0x2611c9(0x27f)][_0x2611c9(0x276)](_0x59c384[_0x181c64]),_0x2aea24=this[_0x2611c9(0x20d)][_0x2611c9(0x21a)](_0x181c64),_0x3fdf58=new _0x18a46c(_0x1711a6[_0x2611c9(0x292)](_0x2aea24,0x0),_0x449ec5,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x3fdf58);for(const [_0x557097,_0x24edb0]of _0x449ec5[_0x2611c9(0x28a)]){const _0x339105=_0x1711a6[_0x2611c9(0x1fb)](_0x1711a6[_0x2611c9(0x1d0)](_0x2aea24,_0x24edb0[_0x2611c9(0x1ff)][_0x2611c9(0x200)][_0x2611c9(0x228)]()),_0x1711a6[_0x2611c9(0x1d0)](_0x2aea24,_0x24edb0[_0x2611c9(0x203)][_0x2611c9(0x200)][_0x2611c9(0x228)]())),_0x3f7dc3=new _0x4941be(_0x557097,null,_0x339105,_0x1711a6[_0x2611c9(0x28a)],!0x0,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x3f7dc3);}}if(_0x1d2e54)for(const [_0x5e1a1b,_0x5bcbe6]of Object[_0x2611c9(0x2ae)](_0x1d2e54)){const _0x55d531=_0x1711a6[_0x2611c9(0x27e)][_0x2611c9(0x21a)](_0x5e1a1b);if(!_0x55d531)throw new _0x1ccadc(_0x2611c9(0x202),null);for(const [_0xdf4dbd,_0x310fdf]of Object[_0x2611c9(0x2ae)](_0x5bcbe6))if(null!==_0x310fdf){const _0x581c6=new _0x59ce1b(_0x55d531,_0xdf4dbd,null,_0x310fdf,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x581c6);}}return _0x2e5eff;}async[_0xae5d04(0x2ab)](_0x42e5f0,_0x2142b1,_0x11cba5){const _0x1ae817=_0xae5d04;this[_0x1ae817(0x2aa)]({[_0x42e5f0]:_0x2142b1},{[_0x42e5f0]:_0x11cba5})[_0x1ae817(0x216)]((_0xc5f5c2,_0x55541f)=>{const _0x88d3e=_0x1ae817;_0xc5f5c2[_0x88d3e(0x284)]=this[_0x88d3e(0x20d)][_0x88d3e(0x293)]+_0x55541f,_0xc5f5c2[_0x88d3e(0x1c3)]=!0x0,this[_0x88d3e(0x1bf)](_0xc5f5c2);}),this[_0x1ae817(0x229)](),await this[_0x1ae817(0x272)]();}async[_0xae5d04(0x1da)](_0x15357e,_0x2faf6e){const _0x4b26ab=_0xae5d04;let _0x4006db;this[_0x4b26ab(0x29a)]=_0x15357e[_0x4b26ab(0x1e7)];const _0x33b8c3=_0x15357e[_0x4b26ab(0x1db)]&&!_0x15357e[_0x4b26ab(0x1c5)],_0x14eb3e=_0x33b8c3?0x0:_0x15357e[_0x4b26ab(0x27f)][_0x4b26ab(0x284)];if(_0x2faf6e[_0x4b26ab(0x216)](_0x3fe791=>{const _0x26dbf1=_0x4b26ab;_0x3fe791[_0x26dbf1(0x1c3)]=!0x0,_0x3fe791[_0x26dbf1(0x230)]=_0x15357e[_0x26dbf1(0x226)],_0x3fe791[_0x26dbf1(0x1c4)]=null;}),_0x33b8c3)_0x4006db=_0x2faf6e,this[_0x4b26ab(0x25a)](_0x4006db,_0x33b8c3);else{if(_0x15357e[_0x4b26ab(0x1c5)]){const _0x9638c3=this[_0x4b26ab(0x2aa)](_0x15357e[_0x4b26ab(0x1c5)]);this[_0x4b26ab(0x20d)][_0x4b26ab(0x1f3)][_0x4b26ab(0x293)]=-_0x9638c3[_0x4b26ab(0x1cc)],_0x9638c3[_0x4b26ab(0x216)](_0x5642c5=>{const _0x2fd8b2=_0x4b26ab;_0x5642c5[_0x2fd8b2(0x284)]-=_0x9638c3[_0x2fd8b2(0x1cc)],_0x5642c5[_0x2fd8b2(0x230)]=_0x15357e[_0x2fd8b2(0x226)],_0x5642c5[_0x2fd8b2(0x1c3)]=!0x0,_0x5642c5[_0x2fd8b2(0x1c4)]=null;}),this[_0x4b26ab(0x25a)](_0x9638c3,!0x0),this[_0x4b26ab(0x1b3)][_0x4b26ab(0x293)]=-_0x9638c3[_0x4b26ab(0x1cc)]+this[_0x4b26ab(0x29a)],this[_0x4b26ab(0x1c0)](_0x9638c3);}this[_0x4b26ab(0x20d)][_0x4b26ab(0x1f3)][_0x4b26ab(0x293)]=_0x14eb3e,_0x4006db=this[_0x4b26ab(0x1d7)](_0x15357e[_0x4b26ab(0x27f)],_0x15357e[_0x4b26ab(0x234)]),await this[_0x4b26ab(0x23c)](_0x4006db),this[_0x4b26ab(0x25a)](_0x4006db,_0x33b8c3);}_0x15357e[_0x4b26ab(0x1ce)]&&(this[_0x4b26ab(0x257)][_0x4b26ab(0x231)](_0x4006db,_0x15357e[_0x4b26ab(0x1ce)]),this[_0x4b26ab(0x23a)]=_0x15357e[_0x4b26ab(0x1ce)]),this[_0x4b26ab(0x1b3)][_0x4b26ab(0x293)]=_0x14eb3e+this[_0x4b26ab(0x29a)],this[_0x4b26ab(0x1c0)](_0x4006db),_0x2faf6e[_0x4b26ab(0x1d9)](_0xec158a=>{const _0x2cc321=_0x4b26ab,_0x5c6dfe=this[_0x2cc321(0x232)](_0xec158a);return _0x5c6dfe&&!this[_0x2cc321(0x1c1)][_0x2cc321(0x25e)](_0x5c6dfe);})[_0x4b26ab(0x216)]((_0x2e89a4,_0x581231)=>{const _0x57401e=_0x4b26ab;_0x2e89a4[_0x57401e(0x284)]=this[_0x57401e(0x20d)][_0x57401e(0x293)]+_0x581231,this[_0x57401e(0x1bf)](_0x2e89a4);}),this[_0x4b26ab(0x1e6)]()?(this[_0x4b26ab(0x1e9)]=0x0,this[_0x4b26ab(0x229)](!0x0),await this[_0x4b26ab(0x272)]()):(this[_0x4b26ab(0x20b)]=!0x1,this[_0x4b26ab(0x1d4)]());}[_0xae5d04(0x2a4)](_0x51e4e0,_0x5b2148){const _0x583787=_0xae5d04,_0x16a5ba=_0x5b2148&&_0x5b2148[_0x583787(0x1d2)];if(_0x16a5ba&&_0x16a5ba[_0x583787(0x28f)](_0x583787(0x20a)))throw _0x5b2148;const _0xe3eaf1=this[_0x583787(0x243)][_0x583787(0x208)][_0x583787(0x201)](_0x40c7a1);throw this[_0x583787(0x20b)]=!0x0,_0xe3eaf1[_0x583787(0x291)](),this[_0x583787(0x243)][_0x583787(0x253)](_0x583787(0x29b)),new _0x1ccadc(_0x51e4e0,this[_0x583787(0x243)],_0x16a5ba?{'originalError':_0x16a5ba}:void 0x0);}[_0xae5d04(0x1bf)](_0x54b54b){const _0x11df2b=_0xae5d04;this[_0x11df2b(0x221)][_0x11df2b(0x25e)](_0x54b54b)||(this[_0x11df2b(0x221)][_0x11df2b(0x2b0)](_0x54b54b),this[_0x11df2b(0x294)][_0x11df2b(0x2b6)](_0x54b54b),this[_0x11df2b(0x248)]||_0x11df2b(0x1b6)==_0x54b54b[_0x11df2b(0x1be)]&&!_0x54b54b[_0x11df2b(0x264)]||this[_0x11df2b(0x22f)]());}[_0xae5d04(0x229)](_0x4c7d26=!0x1){const _0x2c71b8=_0xae5d04;!_0x4c7d26&&this[_0x2c71b8(0x20b)]||(this[_0x2c71b8(0x20b)]=!0x0,clearTimeout(this[_0x2c71b8(0x1f5)]),this[_0x2c71b8(0x1f5)]=setTimeout(()=>{const _0xdd24c7=_0x2c71b8;this[_0xdd24c7(0x1b9)]()[_0xdd24c7(0x2a0)](_0x4000c2=>{const _0x1e2637=_0xdd24c7;_0x4000c2&&(this[_0x1e2637(0x1d4)](),this[_0x1e2637(0x20b)]=!0x1);})[_0xdd24c7(0x2b2)](_0x4e38c7=>{const _0x21198f=_0xdd24c7;this[_0x21198f(0x1d4)](),this[_0x21198f(0x20b)]=!0x1,function(_0x11652a){const _0x2d6609=_0x21198f;return _0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x23b))||_0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x261))||_0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x25d));}(_0x4e38c7)||this[_0x21198f(0x2a4)](_0x4e38c7[_0x21198f(0x1d2)],_0x4e38c7);});},this[_0x2c71b8(0x1e9)]));}[_0xae5d04(0x272)](){return new Promise(_0xb08141=>{const _0x45f6da=_0x53ec;this['on'](_0x45f6da(0x219),()=>{_0xb08141();});});}async[_0xae5d04(0x1b9)](){const _0x488dfb=_0xae5d04,_0x19fb11=this[_0x488dfb(0x243)][_0x488dfb(0x208)][_0x488dfb(0x201)](_0x37687c);if(this[_0x488dfb(0x225)]()&&(_0x19fb11[_0x488dfb(0x1dc)](),this[_0x488dfb(0x250)]=!0x1),!this[_0x488dfb(0x1e6)]())return!0x0;const _0x539500=[...this[_0x488dfb(0x294)]];for(const _0x5517b5 of _0x539500)_0x5517b5[_0x488dfb(0x21b)]=this[_0x488dfb(0x20d)][_0x488dfb(0x1f3)][_0x488dfb(0x249)](_0x5517b5);const _0x11b096=this[_0x488dfb(0x257)][_0x488dfb(0x21f)](_0x539500),_0x22b521=G++,_0x12a228=this[_0x488dfb(0x233)](_0x539500),_0x3c9ad8=await this[_0x488dfb(0x263)][_0x488dfb(0x1e0)](_0x12a228,_0x12a228[_0x488dfb(0x284)],_0x11b096);try{return await this[_0x488dfb(0x26b)](_0x539500,_0x3c9ad8,_0x22b521);}catch(_0x1cb206){return this[_0x488dfb(0x2a4)](_0x488dfb(0x1c7),_0x1cb206);}}async[_0xae5d04(0x26b)](_0x53edba,_0x23cff3,_0x55b693){const _0x175891=_0xae5d04;if(_0x175891(0x256)in _0x23cff3)throw _0x23cff3[_0x175891(0x256)];let _0x3eb3f9=!0x1;if(_0x23cff3[_0x175891(0x1db)]){_0x23cff3[_0x175891(0x1ce)]&&(this[_0x175891(0x23a)]=_0x23cff3[_0x175891(0x1ce)]),this[_0x175891(0x294)]=this[_0x175891(0x294)][_0x175891(0x1d9)](_0x4e9ccb=>!_0x53edba[_0x175891(0x2b4)](_0x4e9ccb));for(const _0x451cc4 of _0x53edba)_0x451cc4[_0x175891(0x230)]=_0x175891(0x259)in _0x23cff3&&_0x23cff3[_0x175891(0x259)]||void 0x0;K(_0x53edba,_0x23cff3[_0x175891(0x293)]-_0x53edba[_0x175891(0x1cc)]),this[_0x175891(0x1c0)](_0x53edba);const _0x2f21ee=_0x53edba[_0x175891(0x1d9)](_0x379bb1=>{const _0x4ce54b=_0x175891;if(!_0x379bb1[_0x4ce54b(0x1c3)])return!0x1;const _0x4a13c6=this[_0x4ce54b(0x232)](_0x379bb1);return _0x4a13c6&&!this[_0x4ce54b(0x1c1)][_0x4ce54b(0x25e)](_0x4a13c6);});K(_0x2f21ee,this[_0x175891(0x20d)][_0x175891(0x293)]),this[_0x175891(0x25a)](_0x2f21ee),_0x3eb3f9=!0x0,this[_0x175891(0x1e9)]=this[_0x175891(0x26f)];}else{const _0xc9382c=this[_0x175891(0x1d7)](_0x23cff3[_0x175891(0x27f)],_0x23cff3[_0x175891(0x234)])[_0x175891(0x1d9)](_0xe9bbc2=>_0xe9bbc2[_0x175891(0x284)]>=this[_0x175891(0x2b7)]);_0xc9382c[_0x175891(0x216)](_0x39a785=>this[_0x175891(0x218)](_0x39a785)),this[_0x175891(0x294)]=this[_0x175891(0x294)][_0x175891(0x1d9)](_0x5750f7=>!_0x5750f7[_0x175891(0x1c3)]||!this[_0x175891(0x1c1)][_0x175891(0x25e)](this[_0x175891(0x232)](_0x5750f7))),this[_0x175891(0x294)][_0x175891(0x1cc)]&&K(this[_0x175891(0x294)],this[_0x175891(0x294)][0x0][_0x175891(0x284)]),await this[_0x175891(0x23c)](_0xc9382c),_0x3eb3f9=this[_0x175891(0x285)](_0xc9382c,_0x23cff3[_0x175891(0x293)],_0x23cff3[_0x175891(0x1ce)]),this[_0x175891(0x1e9)]=Math[_0x175891(0x1de)](this[_0x175891(0x1e9)]/0x2);}return _0x3eb3f9?!this[_0x175891(0x1e6)]()||(this[_0x175891(0x229)](!0x0),!0x1):this[_0x175891(0x2a4)](_0x175891(0x235));}[_0xae5d04(0x285)](_0x460769,_0x3b6370,_0x546269){const _0x5f0424=_0xae5d04;try{const _0xd0a245={'document':this[_0x5f0424(0x20d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3e4fb4,operationsB:_0x267f9f,originalOperations:_0x1ec8d8}=_0x12954f(_0x460769,this[_0x5f0424(0x294)],_0xd0a245);K(_0x3e4fb4,this[_0x5f0424(0x20d)][_0x5f0424(0x293)]),K(_0x267f9f,_0x3b6370);for(const _0x14201b of _0x3e4fb4){const _0x5c9d40=_0x1ec8d8[_0x5f0424(0x201)](_0x14201b);_0x14201b[_0x5f0424(0x1c4)]=_0x5c9d40?_0x5c9d40[_0x5f0424(0x1c4)]:null;}_0x546269&&(this[_0x5f0424(0x257)][_0x5f0424(0x231)](_0x460769,_0x546269),this[_0x5f0424(0x23a)]=_0x546269),this[_0x5f0424(0x294)]=[..._0x267f9f],this[_0x5f0424(0x25a)](_0x3e4fb4),this[_0x5f0424(0x1c0)](_0x460769);}catch(_0x5c60df){return console[_0x5f0424(0x256)](_0x5c60df),!0x1;}return!0x0;}[_0xae5d04(0x25a)](_0x296b45,_0x3d9135=!0x1){const _0x24e913=_0xae5d04;this[_0x24e913(0x243)][_0x24e913(0x1bd)][_0x24e913(0x281)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f20f4=>{const _0x272496=_0x24e913;for(const _0x14e2fe of _0x296b45)this[_0x272496(0x221)][_0x272496(0x2b0)](_0x14e2fe),this[_0x272496(0x218)](_0x14e2fe),_0x4f20f4[_0x272496(0x245)][_0x272496(0x27a)](_0x14e2fe),this[_0x272496(0x243)][_0x272496(0x1bd)][_0x272496(0x2ac)](_0x14e2fe);});}[_0xae5d04(0x218)](_0x59482f){const _0x2c64d6=_0xae5d04,_0x17324c=this[_0x2c64d6(0x232)](_0x59482f);_0x17324c&&this[_0x2c64d6(0x1c1)][_0x2c64d6(0x2b0)](_0x17324c);}[_0xae5d04(0x232)](_0x5bd2e4){const _0x16c7a6=_0xae5d04;let _0x334bb7,_0x257252;switch(_0x5bd2e4[_0x16c7a6(0x1be)]){case _0x16c7a6(0x1bc):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x2a8)][_0x16c7a6(0x29f)];break;case _0x16c7a6(0x1b6):if(_0x257252=_0x5bd2e4[_0x16c7a6(0x2a9)],!_0x257252)return null;_0x334bb7=_0x257252[_0x16c7a6(0x29f)];break;case _0x16c7a6(0x26e):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x29f)];break;case _0x16c7a6(0x1c2):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x213)];break;case _0x16c7a6(0x255):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x246)][_0x16c7a6(0x29f)];break;default:return null;}return _0x334bb7[_0x16c7a6(0x247)];}[_0xae5d04(0x1c0)](_0x2c54c7){const _0x4969e6=_0xae5d04;_0x2c54c7[_0x4969e6(0x216)](_0x401ba0=>{const _0x5ed543=_0x4969e6,_0x33f09a=_0x401ba0[_0x5ed543(0x217)]();_0x33f09a[_0x5ed543(0x1c4)]=_0x401ba0[_0x5ed543(0x1c4)],_0x33f09a[_0x5ed543(0x1c3)]=!!_0x401ba0[_0x5ed543(0x1c3)],_0x33f09a[_0x5ed543(0x230)]=_0x401ba0[_0x5ed543(0x230)],_0x33f09a[_0x5ed543(0x284)]+=this[_0x5ed543(0x29a)],_0x401ba0[_0x5ed543(0x27c)]&&this[_0x5ed543(0x222)][_0x5ed543(0x2b0)](_0x33f09a),this[_0x5ed543(0x1b3)][_0x5ed543(0x27a)](_0x33f09a);});}[_0xae5d04(0x2a1)](_0x9d9531){const _0x223857=_0xae5d04,_0x4c6bf8=this[_0x223857(0x243)][_0x223857(0x208)][_0x223857(0x201)](_0x223857(0x25c)),_0x300d23=this[_0x223857(0x243)][_0x223857(0x274)];_0x9d9531||(_0x9d9531=_0x267250(_0x300d23,_0x223857(0x24c))),_0x4c6bf8[_0x223857(0x1c6)](_0x9d9531,{'title':_0x267250(_0x300d23,_0x223857(0x2a5)),'namespace':_0x223857(0x238)}),this[_0x223857(0x239)]=!0x0,clearTimeout(this[_0x223857(0x1f5)]),this[_0x223857(0x294)]=[],this[_0x223857(0x243)][_0x223857(0x208)][_0x223857(0x201)](_0x40c7a1)[_0x223857(0x291)]();}[_0xae5d04(0x22f)](){const _0x43e269=_0xae5d04;this[_0x43e269(0x248)]||(this[_0x43e269(0x248)]=this[_0x43e269(0x243)][_0x43e269(0x208)][_0x43e269(0x201)](_0x17ac66)[_0x43e269(0x2b0)](_0x267250(this[_0x43e269(0x243)][_0x43e269(0x274)],_0x43e269(0x207))));}[_0xae5d04(0x1d4)](){const _0xf0695=_0xae5d04;this[_0xf0695(0x248)]&&(this[_0xf0695(0x243)][_0xf0695(0x208)][_0xf0695(0x201)](_0x17ac66)[_0xf0695(0x1b4)](this[_0xf0695(0x248)]),this[_0xf0695(0x248)]=null);}[_0xae5d04(0x233)](_0x18e967){const _0x21f2f6=_0xae5d04,_0x201be0=_0x18e967[_0x21f2f6(0x251)](_0x523b69=>_0x523b69[_0x21f2f6(0x24d)]());return this[_0x21f2f6(0x24f)][_0x21f2f6(0x2b3)](_0x201be0);}[_0xae5d04(0x1d7)](_0x48269b,_0x2dac56){const _0x38e333=_0xae5d04;return this[_0x38e333(0x24f)][_0x38e333(0x29e)](_0x48269b)[_0x38e333(0x251)]((_0x56dfe6,_0x29a0c9)=>{const _0x94cea4=_0x38e333,_0x46207d=_0x94cea4(0x220)==_0x2dac56[_0x29a0c9][_0x94cea4(0x1be)];if(_0x94cea4(0x1e5)==_0x56dfe6[_0x94cea4(0x24a)]){const _0x2a7db1=_0x56dfe6[_0x94cea4(0x2a8)][_0x94cea4(0x29f)];!this[_0x94cea4(0x20d)][_0x94cea4(0x21a)](_0x2a7db1)&&(this[_0x94cea4(0x20d)][_0x94cea4(0x244)](_0x94cea4(0x22e),_0x2a7db1)[_0x94cea4(0x2a7)]=!0x1);}const _0x579bb5=_0x363f33[_0x94cea4(0x1e1)](_0x56dfe6,this[_0x94cea4(0x20d)]);return _0x579bb5[_0x94cea4(0x21b)]=_0x56dfe6[_0x94cea4(0x21b)],_0x579bb5[_0x94cea4(0x1c3)]=_0x46207d,_0x579bb5[_0x94cea4(0x1c4)]=_0x46207d?null:_0x2dac56[_0x29a0c9][_0x94cea4(0x1c9)],_0x579bb5[_0x94cea4(0x27c)]=_0x94cea4(0x1ef)===_0x2dac56[_0x29a0c9][_0x94cea4(0x1be)],_0x579bb5[_0x94cea4(0x230)]=_0x2dac56[_0x29a0c9][_0x94cea4(0x230)],_0x579bb5;});}[_0xae5d04(0x1b5)](){const _0xbac294=_0xae5d04;this[_0xbac294(0x250)]=!0x0,this[_0xbac294(0x225)]()?this[_0xbac294(0x229)]():this[_0xbac294(0x250)]=!0x1;}[_0xae5d04(0x225)](){const _0x4da7b8=_0xae5d04,_0x903dae=this[_0x4da7b8(0x243)][_0x4da7b8(0x208)][_0x4da7b8(0x201)](_0x15de0c)[_0x4da7b8(0x236)][_0x4da7b8(0x201)](this[_0x4da7b8(0x21c)]);return!this[_0x4da7b8(0x243)][_0x4da7b8(0x1eb)]&&!!_0x903dae&&_0x903dae[_0x4da7b8(0x1cc)]>0x1&&this[_0x4da7b8(0x250)];}[_0xae5d04(0x1e6)](){const _0x49def1=_0xae5d04;return this[_0x49def1(0x294)][_0x49def1(0x1cc)]>0x0||this[_0x49def1(0x225)]();}}class $ extends Error{}function K(_0x290962,_0x379039){const _0x10edb9=_0xae5d04;for(const _0x2a7f79 of _0x290962)_0x2a7f79[_0x10edb9(0x284)]=_0x379039++;}class J{[_0xae5d04(0x287)];[_0xae5d04(0x1ea)];constructor(_0x1b2e56){const _0x5704b3=_0xae5d04;this[_0x5704b3(0x287)]=_0x1b2e56,this[_0x5704b3(0x1ea)]=new WeakMap();}[_0xae5d04(0x21f)](_0x21fd54){const _0x5e5795=_0xae5d04;let _0x4e5644=_0x21fd54[_0x5e5795(0x1cc)];for(;_0x4e5644--;){const _0x196394=_0x21fd54[_0x4e5644];if(!this[_0x5e5795(0x287)][_0x5e5795(0x25e)](_0x196394)){if(!this[_0x5e5795(0x1ea)][_0x5e5795(0x25e)](_0x196394)){const _0x3ca47e=_0x56aaff()[_0x5e5795(0x228)](0x1,0x12);this[_0x5e5795(0x1ea)][_0x5e5795(0x24e)](_0x196394,_0x3ca47e);}return this[_0x5e5795(0x1ea)][_0x5e5795(0x201)](_0x196394);}}}[_0xae5d04(0x231)](_0xb57ba2,_0x582cd4){const _0x44edc1=_0xae5d04;if(!_0x582cd4)return;let _0x3160ba=_0xb57ba2[_0x44edc1(0x1cc)];for(;_0x3160ba--;){const _0x268ca0=_0xb57ba2[_0x3160ba];this[_0x44edc1(0x287)][_0x44edc1(0x25e)](_0x268ca0)||this[_0x44edc1(0x1ea)][_0x44edc1(0x24e)](_0x268ca0,_0x582cd4);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4545d6=_0x46cd;(function(_0x3fa945,_0x3b9e7c){const _0x1c8550=_0x46cd,_0x3c36f4=_0x3fa945();while(!![]){try{const _0x1cd1c4=parseInt(_0x1c8550(0xbd))/0x1+parseInt(_0x1c8550(0xd6))/0x2+-parseInt(_0x1c8550(0xab))/0x3*(parseInt(_0x1c8550(0xcc))/0x4)+-parseInt(_0x1c8550(0xa8))/0x5*(-parseInt(_0x1c8550(0xc6))/0x6)+parseInt(_0x1c8550(0xa0))/0x7*(parseInt(_0x1c8550(0xbe))/0x8)+parseInt(_0x1c8550(0xc0))/0x9+parseInt(_0x1c8550(0xbb))/0xa*(-parseInt(_0x1c8550(0xbf))/0xb);if(_0x1cd1c4===_0x3b9e7c)break;else _0x3c36f4['push'](_0x3c36f4['shift']());}catch(_0x1bb7c1){_0x3c36f4['push'](_0x3c36f4['shift']());}}}(_0x237e,0x5d910));function _0x46cd(_0x531a4f,_0x48441d){const _0x237edf=_0x237e();return _0x46cd=function(_0x46cda3,_0x1db8e8){_0x46cda3=_0x46cda3-0xa0;let _0x71f961=_0x237edf[_0x46cda3];return _0x71f961;},_0x46cd(_0x531a4f,_0x48441d);}import{ContextPlugin as _0x770bef}from'ckeditor5/src/core.js';import{Collection as _0x374682,CKEditorError as _0x38c570}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x13cee5}from'./websocketgateway.js';import{Users as _0x1fcf1e}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x770bef{[_0x4545d6(0xb1)];[_0x4545d6(0xcf)];[_0x4545d6(0xc7)];[_0x4545d6(0xb3)];[_0x4545d6(0xad)];[_0x4545d6(0xa2)];static get[_0x4545d6(0xda)](){const _0x380b1b=_0x4545d6;return _0x380b1b(0xd7);}static get[_0x4545d6(0xde)](){return!0x0;}static get[_0x4545d6(0xd3)](){return!0x0;}static get[_0x4545d6(0xa4)](){return[_0x13cee5,_0x1fcf1e];}constructor(_0x4188bd){const _0x2ab7d8=_0x4545d6;super(_0x4188bd),this[_0x2ab7d8(0xb1)]=new Map(),this[_0x2ab7d8(0xcf)]=new Map(),this[_0x2ab7d8(0xc7)]=new _0x374682(),this[_0x2ab7d8(0xb3)]=new Map(),this[_0x2ab7d8(0xad)]=0x0,this[_0x2ab7d8(0xa2)]=this[_0x2ab7d8(0xa1)][_0x2ab7d8(0xca)][_0x2ab7d8(0xb8)](_0x1fcf1e);}[_0x4545d6(0xba)](){const _0xc8aee9=_0x4545d6,_0x1921fd=this[_0xc8aee9(0xa1)][_0xc8aee9(0xca)][_0xc8aee9(0xb8)](_0x13cee5);this[_0xc8aee9(0xb9)](_0x1921fd,_0xc8aee9(0xc3),(_0x2e4a3c,_0x28787d,_0x2292e2)=>{const _0x3d4f29=_0xc8aee9;if(_0x3d4f29(0xa3)!==_0x2292e2)this[_0x3d4f29(0xb1)][_0x3d4f29(0xa7)](_0x23be41=>_0x23be41[_0x3d4f29(0xa9)]()),this[_0x3d4f29(0xcf)][_0x3d4f29(0xa7)](_0x409855=>_0x409855[_0x3d4f29(0xa9)]()),this[_0x3d4f29(0xc7)][_0x3d4f29(0xa9)]();else{for(const [_0xbe55ae,_0x378024]of this[_0x3d4f29(0xb3)])for(const _0x390190 of _0x378024)this[_0x3d4f29(0xdb)](_0xbe55ae,_0x390190);}}),this[_0xc8aee9(0xac)](_0x1921fd[_0xc8aee9(0xa5)]['me'],!0x0);}[_0x4545d6(0xb0)](_0x131110,_0x1bbbcc){const _0x35e2f7=_0x4545d6;if(this[_0x35e2f7(0xb3)][_0x35e2f7(0xaa)](_0x131110))throw new _0x38c570(_0x35e2f7(0xd8),null,{'channelId':_0x131110});this[_0x35e2f7(0xb3)][_0x35e2f7(0xdf)](_0x131110,_0x1bbbcc),this[_0x35e2f7(0xb1)][_0x35e2f7(0xdf)](_0x131110,new _0x374682()),this[_0x35e2f7(0xcf)][_0x35e2f7(0xdf)](_0x131110,new _0x374682()),this[_0x35e2f7(0xb9)](_0x1bbbcc,_0x35e2f7(0xbc),(_0x1a1c3d,_0x1355d6)=>this[_0x35e2f7(0xdb)](_0x131110,_0x1355d6)),this[_0x35e2f7(0xb9)](_0x1bbbcc,_0x35e2f7(0xd4),(_0x47522e,_0x50767d)=>this[_0x35e2f7(0xb2)](_0x131110,_0x50767d));for(const _0x49211d of _0x1bbbcc)this[_0x35e2f7(0xdb)](_0x131110,_0x49211d);}[_0x4545d6(0xb4)](_0x10db9e){const _0x3e9128=_0x4545d6;if(!this[_0x3e9128(0xb3)][_0x3e9128(0xaa)](_0x10db9e))throw new _0x38c570(_0x3e9128(0xcd),null,{'channelId':_0x10db9e});const _0x4d281d=this[_0x3e9128(0xb3)][_0x3e9128(0xb8)](_0x10db9e);this[_0x3e9128(0xd2)](_0x4d281d);for(const _0x1278d6 of _0x4d281d)_0x3e9128(0xa3)===this[_0x3e9128(0xa1)][_0x3e9128(0xca)][_0x3e9128(0xb8)](_0x13cee5)[_0x3e9128(0xc2)]&&this[_0x3e9128(0xb2)](_0x10db9e,_0x1278d6);this[_0x3e9128(0xb3)][_0x3e9128(0xd0)](_0x10db9e),this[_0x3e9128(0xb1)][_0x3e9128(0xd0)](_0x10db9e),this[_0x3e9128(0xcf)][_0x3e9128(0xd0)](_0x10db9e);}get[_0x4545d6(0xaf)](){const _0x2e5319=_0x4545d6;return this[_0x2e5319(0xa1)][_0x2e5319(0xca)][_0x2e5319(0xb8)](_0x13cee5)[_0x2e5319(0xa5)][_0x2e5319(0xc4)];}[_0x4545d6(0xd5)](_0x3c0bb1){const _0x13f71e=_0x4545d6;for(const _0x493192 of this[_0x13f71e(0xb1)][_0x13f71e(0xb6)]())for(const _0x396c7b of _0x493192)if(_0x396c7b['id']===_0x3c0bb1)return _0x396c7b[_0x13f71e(0xb5)];}[_0x4545d6(0xae)](_0x2a30eb,_0x4a89e3){const _0x554cde=_0x4545d6,_0x4994ab=_0x4a89e3?[this[_0x554cde(0xb1)][_0x554cde(0xb8)](_0x4a89e3)]:this[_0x554cde(0xb1)][_0x554cde(0xb6)](),_0x3bcaf5=new Set();for(const _0xd70c80 of _0x4994ab)for(const _0x3e5183 of _0xd70c80)_0x3e5183[_0x554cde(0xb5)]['id']===_0x2a30eb['id']&&_0x3bcaf5[_0x554cde(0xbc)](_0x3e5183['id']);return _0x3bcaf5;}[_0x4545d6(0xc5)](_0x18c7e7){const _0x1f894a=_0x4545d6;for(const _0x2459db of this[_0x1f894a(0xb1)][_0x1f894a(0xb6)]())for(const _0x4bf4f7 of _0x2459db)if(_0x4bf4f7[_0x1f894a(0xb5)]===_0x18c7e7)return _0x4bf4f7[_0x1f894a(0xcb)];}[_0x4545d6(0xdb)](_0x4c0611,_0x76e65e){const _0x456a8d=_0x4545d6;if(_0x456a8d(0xa3)!==this[_0x456a8d(0xa1)][_0x456a8d(0xca)][_0x456a8d(0xb8)](_0x13cee5)[_0x456a8d(0xc2)])return;const _0x4d35d2=_0x76e65e[_0x456a8d(0xb5)],_0x346d1f=this[_0x456a8d(0xa2)][_0x456a8d(0xdd)](_0x4d35d2['id'])||this[_0x456a8d(0xac)](_0x4d35d2),_0x16b86f=Object[_0x456a8d(0xd9)]({},_0x76e65e,{'user':_0x346d1f});if(this[_0x456a8d(0xb1)][_0x456a8d(0xb8)](_0x4c0611)[_0x456a8d(0xbc)](_0x16b86f),!_0x4d35d2[_0x456a8d(0xd1)]){const _0x4a0cf7=this[_0x456a8d(0xcf)][_0x456a8d(0xb8)](_0x4c0611);_0x4a0cf7[_0x456a8d(0xaa)](_0x346d1f['id'])||_0x4a0cf7[_0x456a8d(0xbc)](_0x346d1f),this[_0x456a8d(0xc7)][_0x456a8d(0xaa)](_0x346d1f['id'])||_0x4d35d2[_0x456a8d(0xd1)]||this[_0x456a8d(0xc7)][_0x456a8d(0xbc)](_0x346d1f,_0x346d1f[_0x456a8d(0xdc)]?0x0:void 0x0);}this[_0x456a8d(0xc9)](_0x456a8d(0xc1)+_0x4c0611,{'channelId':_0x4c0611,'session':_0x16b86f});}[_0x4545d6(0xb2)](_0x1595c2,_0x475b66){const _0x84b516=_0x4545d6;if(_0x84b516(0xa3)!==this[_0x84b516(0xa1)][_0x84b516(0xca)][_0x84b516(0xb8)](_0x13cee5)[_0x84b516(0xc2)])return;const _0xc3a9b9=this[_0x84b516(0xcf)][_0x84b516(0xb8)](_0x1595c2),_0x56e55d=_0x475b66[_0x84b516(0xb5)];_0x56e55d['id']&&(this[_0x84b516(0xb1)][_0x84b516(0xb8)](_0x1595c2)[_0x84b516(0xd4)](_0x475b66['id']),_0xc3a9b9[_0x84b516(0xaa)](_0x56e55d['id'])&&!this[_0x84b516(0xae)](_0x56e55d,_0x1595c2)[_0x84b516(0xce)]&&_0xc3a9b9[_0x84b516(0xd4)](_0x56e55d['id']),this[_0x84b516(0xc7)][_0x84b516(0xb8)](_0x56e55d['id'])&&!this[_0x84b516(0xae)](_0x56e55d)[_0x84b516(0xce)]&&this[_0x84b516(0xc7)][_0x84b516(0xd4)](_0x56e55d['id']));}[_0x4545d6(0xac)](_0x7f375c,_0x4ecd56){const _0x251d44=_0x4545d6,_0x4e87d0=this[_0x251d44(0xa2)][_0x251d44(0xa6)](_0x7f375c);return _0x4ecd56&&this[_0x251d44(0xa2)][_0x251d44(0xc8)](_0x7f375c['id']),_0x4e87d0[_0x251d44(0xb7)]=this[_0x251d44(0xad)]++,_0x4e87d0;}}function _0x237e(){const _0x1be50b=['isPremiumPlugin','remove','getUserBySessionId','1462062RQyGmH','Sessions','sessions-register-already-registered','assign','pluginName','_handleSessionAdd','isMe','getUser','isOfficialPlugin','set','203EqtlxH','context','_users','connected','requires','connection','addUser','forEach','15lbithO','clear','has','3039kXOUVb','_createUser','_uniqueUsersCount','getUserSessions','mySessionId','register','channelSessions','_handleSessionRemove','_registeredSessions','unregister','user','values','orderNumber','get','listenTo','init','32210dZdmLY','add','260896JNxfyw','93400WALxju','4873QjgPED','5279886rwsDhB','sessionAdd:','state','change:state','sessionId','getUserRole','27084Cjmvoc','allConnectedUsers','defineMe','fire','plugins','role','476neUjNq','sessions-unregister-not-exist','size','channelConnectedUsers','delete','hiddenInPresenceList','stopListening'];_0x237e=function(){return _0x1be50b;};return _0x237e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x23fd81=_0x4ef7;function _0x4ef7(_0x39bdfe,_0x472518){const _0xd112d4=_0xd112();return _0x4ef7=function(_0x4ef7c0,_0x495228){_0x4ef7c0=_0x4ef7c0-0x108;let _0x4abbc4=_0xd112d4[_0x4ef7c0];return _0x4abbc4;},_0x4ef7(_0x39bdfe,_0x472518);}(function(_0x434872,_0x565f67){const _0x201bbd=_0x4ef7,_0x4e28ce=_0x434872();while(!![]){try{const _0x1a628a=-parseInt(_0x201bbd(0x178))/0x1+-parseInt(_0x201bbd(0x16a))/0x2+-parseInt(_0x201bbd(0x16c))/0x3*(parseInt(_0x201bbd(0x18a))/0x4)+parseInt(_0x201bbd(0x127))/0x5*(parseInt(_0x201bbd(0x10f))/0x6)+-parseInt(_0x201bbd(0x130))/0x7*(-parseInt(_0x201bbd(0x15e))/0x8)+-parseInt(_0x201bbd(0x187))/0x9*(-parseInt(_0x201bbd(0x116))/0xa)+parseInt(_0x201bbd(0x143))/0xb;if(_0x1a628a===_0x565f67)break;else _0x4e28ce['push'](_0x4e28ce['shift']());}catch(_0xe4bca0){_0x4e28ce['push'](_0x4e28ce['shift']());}}}(_0xd112,0x5aa2b));function _0xd112(){const _0xfbbf19=['set','_domEmitter','ck-user__marker-tooltip','4254849BGIXVq','mapper','mouseleave','4SZkVRC','toDomElement','clear','afterInit','oldRange','rootName','textContent','addEventListener','document','getStart','render','getSelectionClass','change','isCollapsed','init','addMarker','ck-user__marker_hovered','2670AoNPZQ','setCustomProperty','batch','getFirstRange','checkChild','_createdBatches','hasDomSelection','10ygPlCL','createElement','nodeAfter','plugins','commands','setAttribute','user:position','startsWith','isDocumentOperation','parent','ck-user__marker\x20','spellcheck','updateMarker','isObject','markerToElement','undo','size','3340NZlpCA','newRange','pluginName','markerNameToElements','deletionPosition','selection','reconvertMarker','removeMarker','model','234283pOLAvV','add','schema','split','end','markers','getContainedElement','editor','classList','getMarkerClass','span','ck-user__selection','user:range','isPremiumPlugin','isOfficialPlugin','getNearestSelectionRange','isInline','for','removeClass','1430682ZwfrvB','listenTo','change:range','detach','keydown','$text','getPositions','orderNumber','getAttribute','type','markerRange','hasContent','tableCell','mySessionId','user:range:','highest','name','false','delete','marker','createUIElement','user:position:','user:','markerToHighlight','applyOperation','userPositionMarker','UserMarkers','152rvWFhh','requires','createRange','fromRange','data-session-id','stopListening','getCustomProperty','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','enqueueChange','getRange','contenteditable','view','1422988qzbaXp','root','922359jdOyZJ','conversion','getUserBySessionId','editingDowncast','$graveyard','has','createUserMarkerOperations','color','Escape','outerHTML','markerName','element','145804ksRzwL','editing','toRange','get','isLimit','innerHTML','start','destroy','mouseenter','isSimilar','remove','update:user:range'];_0xd112=function(){return _0xfbbf19;};return _0xd112();}import{Plugin as _0x87c7d5}from'ckeditor5/src/core.js';import{global as _0x427e66,DomEmitterMixin as _0x337d05}from'ckeditor5/src/utils.js';import{Sessions as _0x714acd}from'./sessions.js';import{ModelLiveRange as _0x2413e0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x87c7d5{[_0x23fd81(0x185)]=new(_0x337d05())();static get[_0x23fd81(0x15f)](){return[_0x714acd];}static get[_0x23fd81(0x129)](){const _0x427b62=_0x23fd81;return _0x427b62(0x15d);}static get[_0x23fd81(0x13e)](){return!0x0;}static get[_0x23fd81(0x13d)](){return!0x0;}[_0x23fd81(0x10c)](){const _0x5785eb=_0x23fd81,_0x46659d=this[_0x5785eb(0x137)],_0x2f928a=_0x46659d[_0x5785eb(0x119)][_0x5785eb(0x17b)](_0x714acd);_0x46659d[_0x5785eb(0x16d)][_0x5785eb(0x141)](_0x5785eb(0x16f))[_0x5785eb(0x124)]({'model':_0x5785eb(0x11c),'view':(_0x44680b,{writer:_0x38b4ce})=>function(_0x375064,_0xf3886f,_0x1dfc8f,_0x1f5f05){const _0x10b3f1=_0x5785eb,_0x24b2b4=_0x375064[_0x10b3f1(0x176)][_0x10b3f1(0x133)](':')[0x2],_0x2da5c2=_0x1dfc8f[_0x10b3f1(0x16e)](_0x24b2b4);if(!_0x2da5c2||_0x24b2b4===_0x1dfc8f[_0x10b3f1(0x150)])return;if(!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)][_0x10b3f1(0x113)](_0x375064[_0x10b3f1(0x14d)][_0x10b3f1(0x17e)],_0x10b3f1(0x148)))return;const _0x3877ef={'class':_0x10b3f1(0x120)+_0x2da5c2[_0x10b3f1(0x173)][_0x10b3f1(0x139)](),'data-name':_0x2da5c2[_0x10b3f1(0x153)],'data-session-id':_0x24b2b4},_0x3745e3=_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x135)][_0x10b3f1(0x17b)](_0x375064[_0x10b3f1(0x176)]),_0x421074=_0x3745e3[_0x10b3f1(0x193)](),_0x1bb16d=_0x421074[_0x10b3f1(0x118)],_0x3a7d8a=_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)];if(_0x1bb16d&&_0x3a7d8a[_0x10b3f1(0x123)](_0x1bb16d)&&_0x3a7d8a[_0x10b3f1(0x140)](_0x1bb16d)&&!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x135)][_0x10b3f1(0x17b)](_0x10b3f1(0x151)+_0x24b2b4)[_0x10b3f1(0x167)]()[_0x10b3f1(0x10b)])return;const _0x3234e3=_0x421074[_0x10b3f1(0x11f)];return _0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x132)][_0x10b3f1(0x17c)](_0x3234e3)&&!_0x1f5f05[_0x10b3f1(0x12f)][_0x10b3f1(0x14e)](_0x3234e3)&&(_0x3877ef[_0x10b3f1(0x168)]=!0x1),function(_0x241749,_0x34a235,_0x520573){const _0x4b0ad0=_0x10b3f1,_0x1ba268=_0x241749[_0x4b0ad0(0x157)](_0x4b0ad0(0x13a),_0x34a235);return _0x241749[_0x4b0ad0(0x110)](_0x4b0ad0(0x15c),!0x0,_0x1ba268),_0x1ba268[_0x4b0ad0(0x108)]=function(_0x1955f2){const _0x324c81=_0x4b0ad0,_0xa96c76=this[_0x324c81(0x18b)](_0x1955f2),_0x2faddd=document[_0x324c81(0x117)](_0x324c81(0x13a));return _0x2faddd[_0x324c81(0x138)][_0x324c81(0x131)](_0x324c81(0x186)),_0x2faddd[_0x324c81(0x11b)](_0x324c81(0x168),_0x324c81(0x154)),_0x2faddd[_0x324c81(0x11b)](_0x324c81(0x121),_0x324c81(0x154)),_0x2faddd[_0x324c81(0x190)]=_0x520573[_0x324c81(0x153)],_0xa96c76[_0x324c81(0x17d)]=_0x324c81(0x165)+_0x2faddd[_0x324c81(0x175)]+'',_0xa96c76[_0x324c81(0x191)](_0x324c81(0x180),()=>{const _0x3339b8=_0x324c81;_0xa96c76[_0x3339b8(0x138)][_0x3339b8(0x131)](_0x3339b8(0x10e));}),_0xa96c76[_0x324c81(0x191)](_0x324c81(0x189),()=>{const _0x4dce21=_0x324c81;_0xa96c76[_0x4dce21(0x138)][_0x4dce21(0x182)](_0x4dce21(0x10e));}),_0xa96c76;},_0x1ba268[_0x4b0ad0(0x181)]=function(_0x58a34a){const _0x17d5ac=_0x4b0ad0;return!(!this[_0x17d5ac(0x164)](_0x17d5ac(0x15c))||!_0x58a34a[_0x17d5ac(0x164)](_0x17d5ac(0x15c))||this[_0x17d5ac(0x14b)](_0x17d5ac(0x162))!=_0x58a34a[_0x17d5ac(0x14b)](_0x17d5ac(0x162)));},_0x1ba268;}(_0xf3886f,_0x3877ef,_0x2da5c2);}(_0x44680b,_0x38b4ce,_0x2f928a,_0x46659d)}),_0x46659d[_0x5785eb(0x16d)][_0x5785eb(0x141)](_0x5785eb(0x16f))[_0x5785eb(0x15a)]({'model':_0x5785eb(0x13c),'view':_0x1d4c7f=>function(_0x17daf6,_0x2bbe86){const _0xc019be=_0x5785eb,_0x3c74e6=_0x17daf6[_0xc019be(0x176)][_0xc019be(0x133)](':')[0x2];if(_0x3c74e6===_0x2bbe86[_0xc019be(0x150)])return null;const _0x3225cf=_0x2bbe86[_0xc019be(0x16e)](_0x3c74e6);if(!_0x3225cf)return{'id':_0x3c74e6,'classes':[]};return{'id':_0x3c74e6,'classes':[_0xc019be(0x13b),_0x3225cf[_0xc019be(0x173)][_0xc019be(0x109)]()],'attributes':{'data-session-id':_0x3c74e6},'priority':0x7d0+_0x3225cf[_0xc019be(0x14a)]};}(_0x1d4c7f,_0x2f928a)}),function(_0x5cf37b){const _0x524139=_0x5785eb,_0x4b2253=_0x5cf37b[_0x524139(0x12f)],_0x48f7e0=new Map(),_0x329e91=_0x5cf37b[_0x524139(0x119)][_0x524139(0x17b)](_0x714acd);_0x4b2253[_0x524139(0x135)]['on'](_0x524139(0x183),(_0x40238a,_0x5bb019,_0x48ca1e,_0x39e8c2)=>{const _0x4f7932=_0x524139;if(!_0x39e8c2&&_0x48f7e0[_0x4f7932(0x17b)](_0x5bb019[_0x4f7932(0x153)]))return _0x48f7e0[_0x4f7932(0x17b)](_0x5bb019[_0x4f7932(0x153)])[_0x4f7932(0x146)](),void _0x48f7e0[_0x4f7932(0x155)](_0x5bb019[_0x4f7932(0x153)]);const _0x4efb33=_0x5bb019[_0x4f7932(0x153)][_0x4f7932(0x133)](':')[0x2];if(_0x4efb33===_0x329e91[_0x4f7932(0x150)])return;const _0x4f0f2=_0x4f7932(0x158)+_0x4efb33;_0x4b2253[_0x4f7932(0x135)][_0x4f7932(0x171)](_0x4f0f2)&&_0x5cf37b[_0x4f7932(0x179)][_0x4f7932(0x12d)](_0x4f0f2),_0x5bb019['on'](_0x4f7932(0x145),(_0x26acb8,_0x4bc81e,_0x135c00)=>{const _0x2aca28=_0x4f7932;if(_0x2aca28(0x170)!=_0x4bc81e[_0x2aca28(0x16b)][_0x2aca28(0x18f)]&&_0x2aca28(0x170)==_0x5bb019[_0x2aca28(0x167)]()[_0x2aca28(0x16b)][_0x2aca28(0x18f)]&&!_0x48f7e0[_0x2aca28(0x171)](_0x5bb019[_0x2aca28(0x153)])){const _0x99ff41=_0x4b2253[_0x2aca28(0x132)][_0x2aca28(0x13f)](_0x135c00[_0x2aca28(0x12b)]);if(_0x99ff41){const _0x19ab0a=_0x2413e0[_0x2aca28(0x161)](_0x99ff41);_0x48f7e0[_0x2aca28(0x184)](_0x5bb019[_0x2aca28(0x153)],_0x19ab0a),_0x19ab0a['on'](_0x2aca28(0x145),(_0x474acb,_0x8de8a,_0x1a029d)=>{const _0x3edbfb=_0x2aca28;if(_0x3edbfb(0x170)==_0x19ab0a[_0x3edbfb(0x16b)][_0x3edbfb(0x18f)]){const _0x5602eb=_0x4b2253[_0x3edbfb(0x132)][_0x3edbfb(0x13f)](_0x1a029d[_0x3edbfb(0x12b)]);_0x5602eb?(_0x19ab0a[_0x3edbfb(0x17e)]=_0x5602eb[_0x3edbfb(0x17e)],_0x19ab0a[_0x3edbfb(0x134)]=_0x5602eb[_0x3edbfb(0x134)]):(_0x48f7e0[_0x3edbfb(0x155)](_0x5bb019[_0x3edbfb(0x153)]),_0x19ab0a[_0x3edbfb(0x146)]());}});}}});}),_0x4b2253[_0x524139(0x192)]['on'](_0x524139(0x10a),()=>{const _0x5ed5ec=_0x524139;_0x48f7e0[_0x5ed5ec(0x126)]>0x0&&_0x4b2253[_0x5ed5ec(0x166)]({'isUndoable':!0x1},_0x3e6a64=>{const _0x345f0=_0x5ed5ec;for(const [_0x31eb9e,_0x787d72]of _0x48f7e0)_0x345f0(0x170)==_0x4b2253[_0x345f0(0x135)][_0x345f0(0x17b)](_0x31eb9e)[_0x345f0(0x167)]()[_0x345f0(0x16b)][_0x345f0(0x18f)]&&(Z(_0x31eb9e[_0x345f0(0x133)](':')[0x2],_0x787d72[_0x345f0(0x17a)](),_0x4b2253,_0x3e6a64),_0x787d72[_0x345f0(0x146)]());_0x48f7e0[_0x345f0(0x18c)]();});});}(_0x46659d),this[_0x5785eb(0x185)][_0x5785eb(0x144)](_0x427e66[_0x5785eb(0x192)],_0x5785eb(0x147),(_0x598cb3,{key:_0x2b9a14})=>{const _0x391730=_0x5785eb;_0x391730(0x174)===_0x2b9a14&&function(_0x492107){const _0x319dc1=_0x391730;_0x492107[_0x319dc1(0x179)][_0x319dc1(0x169)][_0x319dc1(0x10a)](_0xcc6f99=>{const _0x5da696=_0x319dc1;for(const _0x4476bf of _0x492107[_0x5da696(0x12f)][_0x5da696(0x135)]){if(!_0x4476bf[_0x5da696(0x153)][_0x5da696(0x11d)](_0x5da696(0x11c)))continue;const _0x4d311d=_0x492107[_0x5da696(0x179)][_0x5da696(0x188)][_0x5da696(0x12a)](_0x4476bf[_0x5da696(0x153)]);if(_0x4d311d){for(const _0x5176a1 of _0x4d311d)_0xcc6f99[_0x5da696(0x142)](_0x5da696(0x10e),_0x5176a1);}}});}(_0x46659d);},{'useCapture':!0x0});}[_0x23fd81(0x18d)](){const _0x12b8b6=_0x23fd81,_0x1d1280=this[_0x12b8b6(0x137)],_0x575c1c=_0x1d1280[_0x12b8b6(0x11a)][_0x12b8b6(0x17b)](_0x12b8b6(0x125));_0x575c1c&&_0x1d1280[_0x12b8b6(0x12f)]['on'](_0x12b8b6(0x15b),(_0x47467d,_0x15bfbd)=>{const _0x24ac0f=_0x12b8b6,_0x365a82=_0x15bfbd[0x0];if(!_0x365a82[_0x24ac0f(0x11e)])return;if(_0x24ac0f(0x156)!=_0x365a82[_0x24ac0f(0x14c)]||!_0x365a82[_0x24ac0f(0x153)][_0x24ac0f(0x11d)](_0x24ac0f(0x159)))return;const _0x215b14=_0x365a82[_0x24ac0f(0x111)];_0x575c1c[_0x24ac0f(0x114)][_0x24ac0f(0x171)](_0x215b14)&&(_0x365a82[_0x24ac0f(0x128)]=_0x365a82[_0x24ac0f(0x18e)]?_0x1d1280[_0x24ac0f(0x12f)][_0x24ac0f(0x160)](_0x365a82[_0x24ac0f(0x18e)][_0x24ac0f(0x17e)],_0x365a82[_0x24ac0f(0x18e)][_0x24ac0f(0x134)]):null);},{'priority':_0x12b8b6(0x152)});}[_0x23fd81(0x17f)](){const _0x4ad7ce=_0x23fd81;return this[_0x4ad7ce(0x185)][_0x4ad7ce(0x163)](),super[_0x4ad7ce(0x17f)]();}[_0x23fd81(0x172)](){const _0x35e486=_0x23fd81,_0x5e7b38=this[_0x35e486(0x137)],_0x4af1e5=_0x5e7b38[_0x35e486(0x12f)][_0x35e486(0x192)],_0x56b6a3=_0x5e7b38[_0x35e486(0x119)][_0x35e486(0x17b)](_0x714acd);_0x5e7b38[_0x35e486(0x12f)][_0x35e486(0x166)]({'isUndoable':!0x1},_0x37dd7c=>{const _0x275107=_0x35e486,_0x2fc941=_0x275107(0x151)+_0x56b6a3[_0x275107(0x150)],_0x5e9f71=_0x275107(0x158)+_0x56b6a3[_0x275107(0x150)],_0x298bc7=_0x5e7b38[_0x275107(0x12f)][_0x275107(0x135)][_0x275107(0x171)](_0x2fc941);_0x5e7b38[_0x275107(0x179)][_0x275107(0x169)][_0x275107(0x115)]?Z(_0x56b6a3[_0x275107(0x150)],_0x4af1e5[_0x275107(0x12c)][_0x275107(0x112)](),_0x5e7b38[_0x275107(0x12f)],_0x37dd7c):_0x298bc7&&(_0x37dd7c[_0x275107(0x12e)](_0x2fc941),_0x37dd7c[_0x275107(0x12e)](_0x5e9f71));});}}function Z(_0x2d711f,_0x4209e8,_0x232004,_0x521bcd){const _0x441f96=_0x23fd81,_0x105d79=_0x441f96(0x151)+_0x2d711f,_0x2e39e1=_0x441f96(0x158)+_0x2d711f,_0x51f194=_0x4209e8[_0x441f96(0x136)]();let _0x48cf15=_0x4209e8[_0x441f96(0x17e)];if(_0x51f194&&_0x51f194['is'](_0x441f96(0x177),_0x441f96(0x14f))){const _0x1c8b6b=function(_0x17fd46,_0x292ecc){const _0x13fa55=_0x441f96;for(const _0x3b1950 of _0x17fd46[_0x13fa55(0x149)]())if(_0x292ecc[_0x13fa55(0x132)][_0x13fa55(0x113)](_0x3b1950,_0x13fa55(0x148)))return _0x3b1950;}(_0x4209e8,_0x232004);_0x1c8b6b&&(_0x48cf15=_0x1c8b6b,_0x4209e8=_0x521bcd[_0x441f96(0x160)](_0x48cf15));}const _0x5ebb67=_0x521bcd[_0x441f96(0x160)](_0x48cf15);_0x232004[_0x441f96(0x135)][_0x441f96(0x171)](_0x105d79)?(_0x521bcd[_0x441f96(0x122)](_0x105d79,{'range':_0x4209e8}),_0x521bcd[_0x441f96(0x122)](_0x2e39e1,{'range':_0x5ebb67})):(_0x521bcd[_0x441f96(0x10d)](_0x105d79,{'range':_0x4209e8,'usingOperation':!0x0}),_0x521bcd[_0x441f96(0x10d)](_0x2e39e1,{'range':_0x5ebb67,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x95c950=_0x5e75;(function(_0x502a07,_0x5c8025){const _0x314f39=_0x5e75,_0x3cc3c2=_0x502a07();while(!![]){try{const _0x427a1d=parseInt(_0x314f39(0x1d3))/0x1+-parseInt(_0x314f39(0x21c))/0x2+-parseInt(_0x314f39(0x1d9))/0x3+parseInt(_0x314f39(0x228))/0x4*(-parseInt(_0x314f39(0x1db))/0x5)+-parseInt(_0x314f39(0x1fd))/0x6*(parseInt(_0x314f39(0x216))/0x7)+parseInt(_0x314f39(0x1e5))/0x8+parseInt(_0x314f39(0x202))/0x9*(parseInt(_0x314f39(0x240))/0xa);if(_0x427a1d===_0x5c8025)break;else _0x3cc3c2['push'](_0x3cc3c2['shift']());}catch(_0x54d71c){_0x3cc3c2['push'](_0x3cc3c2['shift']());}}}(_0x338a,0x92ca3));import{Plugin as _0x51a560}from'ckeditor5/src/core.js';function _0x338a(){const _0x417708=['stopListening','conversion','getMarkerClass','name','user:position:','ck-user__marker-tooltip','listenTo','ck-user__selection','false','update:user:range','50pnPwhR','editor','element','Escape','user:','clear','contenteditable','_createdBatches','startsWith','document','start','applyOperation','isOfficialPlugin','getRange','isInline','schema','newRange','tableCell','getPositions','markerToElement','isDocumentOperation','type','set','addEventListener','createElement','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','afterInit','fromRange','updateMarker','getNearestSelectionRange','431789ZYQLEW','markerRange','pluginName','nodeAfter','hasDomSelection','innerHTML','1583559QLVuXP','markerName','1940byVqOv','markerNameToElements','rootName','plugins','ck-user__marker_hovered','getFirstRange','setAttribute','color','end','data-session-id','891584gYvAnw','createUserMarkerOperations','ck-user__marker\x20','model','createUIElement','get','marker','requires','UserMarkers','selection','editingDowncast','removeClass','isPremiumPlugin','batch','split','isLimit','orderNumber','$graveyard','textContent','mapper','destroy','render','highest','mouseenter','213204rAdNEE','user:position','mouseleave','add','getSelectionClass','5253021qWKKin','oldRange','for','detach','isCollapsed','markers','markerToHighlight','mySessionId','toRange','has','init','$text','change','span','user:range','getAttribute','parent','getStart','root','isSimilar','182MkiFvk','commands','isObject','createRange','outerHTML','view','1799076MGTMif','enqueueChange','_domEmitter','remove','userPositionMarker','setCustomProperty','addMarker','delete','toDomElement','undo','change:range','spellcheck','5248yUgaJC','removeMarker','getUserBySessionId','editing','reconvertMarker','keydown','getContainedElement','size','getCustomProperty','checkChild','deletionPosition','classList','hasContent','user:range:'];_0x338a=function(){return _0x417708;};return _0x338a();}import{global as _0x471483,DomEmitterMixin as _0x33462d}from'ckeditor5/src/utils.js';import{Sessions as _0x1e2986}from'./sessions.js';import{ModelLiveRange as _0x172544}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x51a560{[_0x95c950(0x21e)]=new(_0x33462d())();static get[_0x95c950(0x1ec)](){return[_0x1e2986];}static get[_0x95c950(0x1d5)](){const _0x1b558d=_0x95c950;return _0x1b558d(0x1ed);}static get[_0x95c950(0x24c)](){return!0x0;}static get[_0x95c950(0x1f1)](){return!0x0;}[_0x95c950(0x20c)](){const _0x13795c=_0x95c950,_0x1d2710=this[_0x13795c(0x241)],_0x249f30=_0x1d2710[_0x13795c(0x1de)][_0x13795c(0x1ea)](_0x1e2986);_0x1d2710[_0x13795c(0x237)][_0x13795c(0x204)](_0x13795c(0x1ef))[_0x13795c(0x253)]({'model':_0x13795c(0x1fe),'view':(_0xc458e8,{writer:_0x29b81f})=>function(_0xd9439a,_0xa50a49,_0x356641,_0x2f88ed){const _0x19d74b=_0x13795c,_0x1b9060=_0xd9439a[_0x19d74b(0x1da)][_0x19d74b(0x1f3)](':')[0x2],_0xc173f=_0x356641[_0x19d74b(0x22a)](_0x1b9060);if(!_0xc173f||_0x1b9060===_0x356641[_0x19d74b(0x209)])return;if(!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)][_0x19d74b(0x231)](_0xd9439a[_0x19d74b(0x1d4)][_0x19d74b(0x24a)],_0x19d74b(0x20d)))return;const _0x451666={'class':_0x19d74b(0x1e7)+_0xc173f[_0x19d74b(0x1e2)][_0x19d74b(0x238)](),'data-name':_0xc173f[_0x19d74b(0x239)],'data-session-id':_0x1b9060},_0x2443c5=_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x207)][_0x19d74b(0x1ea)](_0xd9439a[_0x19d74b(0x1da)]),_0x4806ea=_0x2443c5[_0x19d74b(0x213)](),_0x47e4ab=_0x4806ea[_0x19d74b(0x1d6)],_0x102403=_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)];if(_0x47e4ab&&_0x102403[_0x19d74b(0x218)](_0x47e4ab)&&_0x102403[_0x19d74b(0x24e)](_0x47e4ab)&&!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x207)][_0x19d74b(0x1ea)](_0x19d74b(0x235)+_0x1b9060)[_0x19d74b(0x24d)]()[_0x19d74b(0x206)])return;const _0x374f35=_0x4806ea[_0x19d74b(0x212)];return _0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)][_0x19d74b(0x1f4)](_0x374f35)&&!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x234)](_0x374f35)&&(_0x451666[_0x19d74b(0x246)]=!0x1),function(_0xebaf67,_0x3256c0,_0x140775){const _0x58dfa6=_0x19d74b,_0x1ef141=_0xebaf67[_0x58dfa6(0x1e9)](_0x58dfa6(0x20f),_0x3256c0);return _0xebaf67[_0x58dfa6(0x221)](_0x58dfa6(0x220),!0x0,_0x1ef141),_0x1ef141[_0x58dfa6(0x1fa)]=function(_0x302295){const _0x133b76=_0x58dfa6,_0x19e2a8=this[_0x133b76(0x224)](_0x302295),_0x362bfa=document[_0x133b76(0x1cd)](_0x133b76(0x20f));return _0x362bfa[_0x133b76(0x233)][_0x133b76(0x200)](_0x133b76(0x23b)),_0x362bfa[_0x133b76(0x1e1)](_0x133b76(0x246),_0x133b76(0x23e)),_0x362bfa[_0x133b76(0x1e1)](_0x133b76(0x227),_0x133b76(0x23e)),_0x362bfa[_0x133b76(0x1f7)]=_0x140775[_0x133b76(0x239)],_0x19e2a8[_0x133b76(0x1d8)]=_0x133b76(0x1ce)+_0x362bfa[_0x133b76(0x21a)]+'',_0x19e2a8[_0x133b76(0x1cc)](_0x133b76(0x1fc),()=>{const _0x444d56=_0x133b76;_0x19e2a8[_0x444d56(0x233)][_0x444d56(0x200)](_0x444d56(0x1df));}),_0x19e2a8[_0x133b76(0x1cc)](_0x133b76(0x1ff),()=>{const _0x3340e6=_0x133b76;_0x19e2a8[_0x3340e6(0x233)][_0x3340e6(0x21f)](_0x3340e6(0x1df));}),_0x19e2a8;},_0x1ef141[_0x58dfa6(0x215)]=function(_0xef0e07){const _0x203cfe=_0x58dfa6;return!(!this[_0x203cfe(0x230)](_0x203cfe(0x220))||!_0xef0e07[_0x203cfe(0x230)](_0x203cfe(0x220))||this[_0x203cfe(0x211)](_0x203cfe(0x1e4))!=_0xef0e07[_0x203cfe(0x211)](_0x203cfe(0x1e4)));},_0x1ef141;}(_0xa50a49,_0x451666,_0xc173f);}(_0xc458e8,_0x29b81f,_0x249f30,_0x1d2710)}),_0x1d2710[_0x13795c(0x237)][_0x13795c(0x204)](_0x13795c(0x1ef))[_0x13795c(0x208)]({'model':_0x13795c(0x210),'view':_0x2e1290=>function(_0x25c52b,_0x50d0b1){const _0x51b88e=_0x13795c,_0xd6810d=_0x25c52b[_0x51b88e(0x1da)][_0x51b88e(0x1f3)](':')[0x2];if(_0xd6810d===_0x50d0b1[_0x51b88e(0x209)])return null;const _0x1aefdb=_0x50d0b1[_0x51b88e(0x22a)](_0xd6810d);if(!_0x1aefdb)return{'id':_0xd6810d,'classes':[]};return{'id':_0xd6810d,'classes':[_0x51b88e(0x23d),_0x1aefdb[_0x51b88e(0x1e2)][_0x51b88e(0x201)]()],'attributes':{'data-session-id':_0xd6810d},'priority':0x7d0+_0x1aefdb[_0x51b88e(0x1f5)]};}(_0x2e1290,_0x249f30)}),function(_0x301664){const _0x168adc=_0x13795c,_0x449272=_0x301664[_0x168adc(0x1e8)],_0x44822c=new Map(),_0x2d5006=_0x301664[_0x168adc(0x1de)][_0x168adc(0x1ea)](_0x1e2986);_0x449272[_0x168adc(0x207)]['on'](_0x168adc(0x23f),(_0x2ae8be,_0x5dc6b3,_0x24c9b7,_0x58d89b)=>{const _0x276480=_0x168adc;if(!_0x58d89b&&_0x44822c[_0x276480(0x1ea)](_0x5dc6b3[_0x276480(0x239)]))return _0x44822c[_0x276480(0x1ea)](_0x5dc6b3[_0x276480(0x239)])[_0x276480(0x205)](),void _0x44822c[_0x276480(0x223)](_0x5dc6b3[_0x276480(0x239)]);const _0x4d5439=_0x5dc6b3[_0x276480(0x239)][_0x276480(0x1f3)](':')[0x2];if(_0x4d5439===_0x2d5006[_0x276480(0x209)])return;const _0x32eff2=_0x276480(0x23a)+_0x4d5439;_0x449272[_0x276480(0x207)][_0x276480(0x20b)](_0x32eff2)&&_0x301664[_0x276480(0x22b)][_0x276480(0x22c)](_0x32eff2),_0x5dc6b3['on'](_0x276480(0x226),(_0x25cf65,_0x45e77b,_0x108ae1)=>{const _0x19f142=_0x276480;if(_0x19f142(0x1f6)!=_0x45e77b[_0x19f142(0x214)][_0x19f142(0x1dd)]&&_0x19f142(0x1f6)==_0x5dc6b3[_0x19f142(0x24d)]()[_0x19f142(0x214)][_0x19f142(0x1dd)]&&!_0x44822c[_0x19f142(0x20b)](_0x5dc6b3[_0x19f142(0x239)])){const _0x48183f=_0x449272[_0x19f142(0x24f)][_0x19f142(0x1d2)](_0x108ae1[_0x19f142(0x232)]);if(_0x48183f){const _0x36b615=_0x172544[_0x19f142(0x1d0)](_0x48183f);_0x44822c[_0x19f142(0x1cb)](_0x5dc6b3[_0x19f142(0x239)],_0x36b615),_0x36b615['on'](_0x19f142(0x226),(_0x220cb0,_0x262380,_0x2d3ad7)=>{const _0x5ce1a8=_0x19f142;if(_0x5ce1a8(0x1f6)==_0x36b615[_0x5ce1a8(0x214)][_0x5ce1a8(0x1dd)]){const _0x2cf68d=_0x449272[_0x5ce1a8(0x24f)][_0x5ce1a8(0x1d2)](_0x2d3ad7[_0x5ce1a8(0x232)]);_0x2cf68d?(_0x36b615[_0x5ce1a8(0x24a)]=_0x2cf68d[_0x5ce1a8(0x24a)],_0x36b615[_0x5ce1a8(0x1e3)]=_0x2cf68d[_0x5ce1a8(0x1e3)]):(_0x44822c[_0x5ce1a8(0x223)](_0x5dc6b3[_0x5ce1a8(0x239)]),_0x36b615[_0x5ce1a8(0x205)]());}});}}});}),_0x449272[_0x168adc(0x249)]['on'](_0x168adc(0x20e),()=>{const _0xeb9a9a=_0x168adc;_0x44822c[_0xeb9a9a(0x22f)]>0x0&&_0x449272[_0xeb9a9a(0x21d)]({'isUndoable':!0x1},_0x117119=>{const _0x33a869=_0xeb9a9a;for(const [_0x101815,_0x559ccf]of _0x44822c)_0x33a869(0x1f6)==_0x449272[_0x33a869(0x207)][_0x33a869(0x1ea)](_0x101815)[_0x33a869(0x24d)]()[_0x33a869(0x214)][_0x33a869(0x1dd)]&&(Z(_0x101815[_0x33a869(0x1f3)](':')[0x2],_0x559ccf[_0x33a869(0x20a)](),_0x449272,_0x117119),_0x559ccf[_0x33a869(0x205)]());_0x44822c[_0x33a869(0x245)]();});});}(_0x1d2710),this[_0x13795c(0x21e)][_0x13795c(0x23c)](_0x471483[_0x13795c(0x249)],_0x13795c(0x22d),(_0x6076f6,{key:_0xe9bba})=>{const _0x1d9591=_0x13795c;_0x1d9591(0x243)===_0xe9bba&&function(_0x35f556){const _0x8f635a=_0x1d9591;_0x35f556[_0x8f635a(0x22b)][_0x8f635a(0x21b)][_0x8f635a(0x20e)](_0x538b25=>{const _0x47e5db=_0x8f635a;for(const _0x472755 of _0x35f556[_0x47e5db(0x1e8)][_0x47e5db(0x207)]){if(!_0x472755[_0x47e5db(0x239)][_0x47e5db(0x248)](_0x47e5db(0x1fe)))continue;const _0x43a93e=_0x35f556[_0x47e5db(0x22b)][_0x47e5db(0x1f8)][_0x47e5db(0x1dc)](_0x472755[_0x47e5db(0x239)]);if(_0x43a93e){for(const _0x3305ae of _0x43a93e)_0x538b25[_0x47e5db(0x1f0)](_0x47e5db(0x1df),_0x3305ae);}}});}(_0x1d2710);},{'useCapture':!0x0});}[_0x95c950(0x1cf)](){const _0x2bab3d=_0x95c950,_0x19785b=this[_0x2bab3d(0x241)],_0x2a626a=_0x19785b[_0x2bab3d(0x217)][_0x2bab3d(0x1ea)](_0x2bab3d(0x225));_0x2a626a&&_0x19785b[_0x2bab3d(0x1e8)]['on'](_0x2bab3d(0x24b),(_0x306535,_0x4404a9)=>{const _0x540c77=_0x2bab3d,_0x912fc0=_0x4404a9[0x0];if(!_0x912fc0[_0x540c77(0x254)])return;if(_0x540c77(0x1eb)!=_0x912fc0[_0x540c77(0x1ca)]||!_0x912fc0[_0x540c77(0x239)][_0x540c77(0x248)](_0x540c77(0x244)))return;const _0xe08725=_0x912fc0[_0x540c77(0x1f2)];_0x2a626a[_0x540c77(0x247)][_0x540c77(0x20b)](_0xe08725)&&(_0x912fc0[_0x540c77(0x250)]=_0x912fc0[_0x540c77(0x203)]?_0x19785b[_0x540c77(0x1e8)][_0x540c77(0x219)](_0x912fc0[_0x540c77(0x203)][_0x540c77(0x24a)],_0x912fc0[_0x540c77(0x203)][_0x540c77(0x1e3)]):null);},{'priority':_0x2bab3d(0x1fb)});}[_0x95c950(0x1f9)](){const _0x4acafd=_0x95c950;return this[_0x4acafd(0x21e)][_0x4acafd(0x236)](),super[_0x4acafd(0x1f9)]();}[_0x95c950(0x1e6)](){const _0x4826cb=_0x95c950,_0x19c050=this[_0x4826cb(0x241)],_0x3cb9b9=_0x19c050[_0x4826cb(0x1e8)][_0x4826cb(0x249)],_0x48429c=_0x19c050[_0x4826cb(0x1de)][_0x4826cb(0x1ea)](_0x1e2986);_0x19c050[_0x4826cb(0x1e8)][_0x4826cb(0x21d)]({'isUndoable':!0x1},_0x14d53b=>{const _0x20507c=_0x4826cb,_0x597316=_0x20507c(0x235)+_0x48429c[_0x20507c(0x209)],_0x241c79=_0x20507c(0x23a)+_0x48429c[_0x20507c(0x209)],_0x32c142=_0x19c050[_0x20507c(0x1e8)][_0x20507c(0x207)][_0x20507c(0x20b)](_0x597316);_0x19c050[_0x20507c(0x22b)][_0x20507c(0x21b)][_0x20507c(0x1d7)]?Z(_0x48429c[_0x20507c(0x209)],_0x3cb9b9[_0x20507c(0x1ee)][_0x20507c(0x1e0)](),_0x19c050[_0x20507c(0x1e8)],_0x14d53b):_0x32c142&&(_0x14d53b[_0x20507c(0x229)](_0x597316),_0x14d53b[_0x20507c(0x229)](_0x241c79));});}}function _0x5e75(_0x35475a,_0x48ebab){const _0x338a2c=_0x338a();return _0x5e75=function(_0x5e75c4,_0x46b768){_0x5e75c4=_0x5e75c4-0x1ca;let _0x15d129=_0x338a2c[_0x5e75c4];return _0x15d129;},_0x5e75(_0x35475a,_0x48ebab);}function Z(_0x17add8,_0x44d86b,_0x13cce0,_0x15a52e){const _0x347348=_0x95c950,_0x124557=_0x347348(0x235)+_0x17add8,_0x1b8916=_0x347348(0x23a)+_0x17add8,_0x57e5a3=_0x44d86b[_0x347348(0x22e)]();let _0x37db29=_0x44d86b[_0x347348(0x24a)];if(_0x57e5a3&&_0x57e5a3['is'](_0x347348(0x242),_0x347348(0x251))){const _0x570a3a=function(_0x37d688,_0x3e154b){const _0x1cd6b1=_0x347348;for(const _0xd97f5f of _0x37d688[_0x1cd6b1(0x252)]())if(_0x3e154b[_0x1cd6b1(0x24f)][_0x1cd6b1(0x231)](_0xd97f5f,_0x1cd6b1(0x20d)))return _0xd97f5f;}(_0x44d86b,_0x13cce0);_0x570a3a&&(_0x37db29=_0x570a3a,_0x44d86b=_0x15a52e[_0x347348(0x219)](_0x37db29));}const _0xf97e3d=_0x15a52e[_0x347348(0x219)](_0x37db29);_0x13cce0[_0x347348(0x207)][_0x347348(0x20b)](_0x124557)?(_0x15a52e[_0x347348(0x1d1)](_0x124557,{'range':_0x44d86b}),_0x15a52e[_0x347348(0x1d1)](_0x1b8916,{'range':_0xf97e3d})):(_0x15a52e[_0x347348(0x222)](_0x124557,{'range':_0x44d86b,'usingOperation':!0x0}),_0x15a52e[_0x347348(0x222)](_0x1b8916,{'range':_0xf97e3d,'usingOperation':!0x0}));}
|