@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.0 → 45.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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
|
+
function _0x2ad4(){const _0x4801d4=['keystrokes','ck-presence-list__list','contains','isExpanded','.ck-presence-list__dropdown-list','3671172aTZyvX','relatedTarget','setAttribute','presencelist:show','aria-expanded','presencelist:hide','focus','2590825eHhkmG','630417HpqLFp','listenTo','createCollection','removeAttribute','bindTemplate','items','element','querySelector','2124870xxMUZE','3975694tJSUlt','26061231PEnCXa','hasPopup','change:hasPopup','list','.ck-balloon-panel_with-arrow','fire','5973558UDWXtu','div','setTemplate','render','set','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)'];_0x2ad4=function(){return _0x4801d4;};return _0x2ad4();}const _0x158376=_0x4a86;(function(_0x461a0a,_0x4a7a97){const _0x3c39c0=_0x4a86,_0x5907a0=_0x461a0a();while(!![]){try{const _0x31eecf=parseInt(_0x3c39c0(0x8e))/0x1+parseInt(_0x3c39c0(0x73))/0x2+parseInt(_0x3c39c0(0x72))/0x3+parseInt(_0x3c39c0(0x86))/0x4+-parseInt(_0x3c39c0(0x8d))/0x5+parseInt(_0x3c39c0(0x7a))/0x6+-parseInt(_0x3c39c0(0x74))/0x7;if(_0x31eecf===_0x4a7a97)break;else _0x5907a0['push'](_0x5907a0['shift']());}catch(_0x191fcf){_0x5907a0['push'](_0x5907a0['shift']());}}}(_0x2ad4,0xf3d56));import{View as _0x3d2c03}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3fabf5}from'ckeditor5/src/utils.js';function _0x4a86(_0x14c761,_0x3115bb){const _0x2ad43c=_0x2ad4();return _0x4a86=function(_0x4a86b3,_0x5b822e){_0x4a86b3=_0x4a86b3-0x6d;let _0x19f021=_0x2ad43c[_0x4a86b3];return _0x19f021;},_0x4a86(_0x14c761,_0x3115bb);}import{getTranslation as _0x1a2450}from'../../common-translations.js';export default class ts extends _0x3d2c03{[_0x158376(0x6f)];[_0x158376(0x81)];constructor(_0x2d125e){const _0x2b0dcd=_0x158376;super(_0x2d125e);const _0x4419d8=this[_0x2b0dcd(0x6e)];this[_0x2b0dcd(0x6f)]=this[_0x2b0dcd(0x90)](),this[_0x2b0dcd(0x81)]=new _0x3fabf5(),this[_0x2b0dcd(0x7e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2b0dcd(0x7c)]({'tag':_0x2b0dcd(0x7b),'attributes':{'aria-haspopup':_0x4419d8['if'](_0x2b0dcd(0x75)),'aria-expanded':_0x4419d8['to'](_0x2b0dcd(0x84),_0xe70293=>this[_0x2b0dcd(0x75)]&&String(_0xe70293)),'aria-label':_0x4419d8['to'](_0x2b0dcd(0x75),_0x5dcabb=>_0x1a2450(_0x2d125e,_0x5dcabb?_0x2b0dcd(0x80):_0x2b0dcd(0x7f))),'role':_0x2b0dcd(0x77),'tabindex':_0x4419d8['to'](_0x2b0dcd(0x75),_0x122820=>!!_0x122820&&0x0),'class':['ck',_0x2b0dcd(0x82)]},'children':this[_0x2b0dcd(0x6f)],'on':{'mouseenter':_0x4419d8['to'](()=>this[_0x2b0dcd(0x79)](_0x2b0dcd(0x89))),'mouseleave':_0x4419d8['to'](_0x566452=>{const _0x4c433f=_0x2b0dcd,_0x31a6c0=_0x566452,_0x9fd22f=document[_0x4c433f(0x71)](_0x4c433f(0x85)),_0x1c1094=document[_0x4c433f(0x71)](_0x4c433f(0x78));_0x9fd22f?.[_0x4c433f(0x83)](_0x31a6c0[_0x4c433f(0x87)])||_0x1c1094?.[_0x4c433f(0x83)](_0x31a6c0[_0x4c433f(0x87)])||this[_0x4c433f(0x79)](_0x4c433f(0x8b));})}}),this['on'](_0x2b0dcd(0x76),(_0x4b25f9,_0x4cf319,_0x55cae9)=>{const _0x3e262d=_0x2b0dcd;this[_0x3e262d(0x70)]&&(_0x55cae9?this[_0x3e262d(0x70)][_0x3e262d(0x88)](_0x3e262d(0x8a),String(this[_0x3e262d(0x84)])):this[_0x3e262d(0x70)][_0x3e262d(0x6d)](_0x3e262d(0x8a)));});}[_0x158376(0x8c)](){const _0x4216a2=_0x158376;this[_0x4216a2(0x70)][_0x4216a2(0x8c)]();}[_0x158376(0x7d)](){const _0x4ecb8a=_0x158376;super[_0x4ecb8a(0x7d)](),this[_0x4ecb8a(0x81)][_0x4ecb8a(0x8f)](this[_0x4ecb8a(0x70)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x468072=_0x49fb;(function(_0x53eb47,_0x2b9b50){const _0x3c3952=_0x49fb,_0x1fca1c=_0x53eb47();while(!![]){try{const _0x482d3c=-parseInt(_0x3c3952(0x1b3))/0x1+parseInt(_0x3c3952(0x19f))/0x2*(parseInt(_0x3c3952(0x1a0))/0x3)+-parseInt(_0x3c3952(0x1a4))/0x4*(-parseInt(_0x3c3952(0x1a5))/0x5)+parseInt(_0x3c3952(0x1ab))/0x6+parseInt(_0x3c3952(0x1a8))/0x7+-parseInt(_0x3c3952(0x1aa))/0x8*(-parseInt(_0x3c3952(0x1b2))/0x9)+-parseInt(_0x3c3952(0x19e))/0xa;if(_0x482d3c===_0x2b9b50)break;else _0x1fca1c['push'](_0x1fca1c['shift']());}catch(_0x52ebbb){_0x1fca1c['push'](_0x1fca1c['shift']());}}}(_0x5477,0x59444));import{View as _0x5496f7}from'ckeditor5/src/ui.js';import _0x14c886 from'./presencecounterview.js';function _0x5477(){const _0x46aafb=['bind','change','counterView','locale','ck-reset','isCollapsed','ck-presence-list--collapsed','12520510GDILuJ','167394QAeiOg','3QVCQPa','ck-presence-list','listenTo','ck-rounded-corners','4hDdDwL','3228815wtuIfc','set','div','4033211FKIXjX','bindTemplate','2418896oYSoCl','859236nMuvzH','inlineListView','tooltipPosition','first','hasPopup','setTemplate','items','9KXUcoU','133514tJuZKB'];_0x5477=function(){return _0x46aafb;};return _0x5477();}import _0xf03602 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x49fb(_0x4223ff,_0xd36da0){const _0x547712=_0x5477();return _0x49fb=function(_0x49fb5b,_0x282d56){_0x49fb5b=_0x49fb5b-0x19b;let _0x19b004=_0x547712[_0x49fb5b];return _0x19b004;},_0x49fb(_0x4223ff,_0xd36da0);}export default class _ extends _0x5496f7{[_0x468072(0x1b6)];[_0x468072(0x1ac)];constructor(_0x59f5e2,_0x2545ff=0x6){const _0x4dafa1=_0x468072;super(_0x59f5e2);const _0x140882=this[_0x4dafa1(0x1a9)];this[_0x4dafa1(0x1a6)](_0x4dafa1(0x19c),!0x0),this[_0x4dafa1(0x1b6)]=new _0x14c886(this[_0x4dafa1(0x1b7)],_0x2545ff),this[_0x4dafa1(0x1ac)]=new _0xf03602(_0x59f5e2),this[_0x4dafa1(0x1ac)][_0x4dafa1(0x1b4)](_0x4dafa1(0x1af))['to'](this,_0x4dafa1(0x19c)),this[_0x4dafa1(0x1a2)](this[_0x4dafa1(0x1ac)][_0x4dafa1(0x1b1)],_0x4dafa1(0x1b5),()=>{const _0x28eef1=_0x4dafa1;for(const _0x136acc of this[_0x28eef1(0x1ac)][_0x28eef1(0x1b1)])_0x136acc[_0x28eef1(0x1ad)]='s';this[_0x28eef1(0x1ac)][_0x28eef1(0x1b1)][_0x28eef1(0x1ae)]&&(this[_0x28eef1(0x1ac)][_0x28eef1(0x1b1)][_0x28eef1(0x1ae)][_0x28eef1(0x1ad)]='se');}),this[_0x4dafa1(0x1b0)]({'tag':_0x4dafa1(0x1a7),'attributes':{'class':['ck',_0x4dafa1(0x1a1),_0x4dafa1(0x19b),_0x4dafa1(0x1a3),_0x140882['if'](_0x4dafa1(0x19c),_0x4dafa1(0x19d))]},'children':[this[_0x4dafa1(0x1ac)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x413a(){var _0x39a302=['488Nyvysr','25668wRqqZL','6MMCGHc','pluginName','1981133LegQOv','500nOqMLS','8220770lzFBOg','PresenceList','isPremiumPlugin','202780YhaoVX','requires','1179BuhAJV','840896GGaxds','8859cOlfDG','isOfficialPlugin'];_0x413a=function(){return _0x39a302;};return _0x413a();}var _0x4f4d7c=_0x3b75;function _0x3b75(_0xd9f9f6,_0x180744){var _0x413af0=_0x413a();return _0x3b75=function(_0x3b7543,_0x5dab74){_0x3b7543=_0x3b7543-0x1a4;var _0xb17d3=_0x413af0[_0x3b7543];return _0xb17d3;},_0x3b75(_0xd9f9f6,_0x180744);}(function(_0x588611,_0x17aecc){var _0x40e6f5=_0x3b75,_0x26e268=_0x588611();while(!![]){try{var _0x23ea60=-parseInt(_0x40e6f5(0x1a6))/0x1+-parseInt(_0x40e6f5(0x1b1))/0x2+-parseInt(_0x40e6f5(0x1b2))/0x3*(parseInt(_0x40e6f5(0x1aa))/0x4)+-parseInt(_0x40e6f5(0x1ae))/0x5+parseInt(_0x40e6f5(0x1a7))/0x6*(parseInt(_0x40e6f5(0x1a9))/0x7)+parseInt(_0x40e6f5(0x1a5))/0x8*(-parseInt(_0x40e6f5(0x1b0))/0x9)+parseInt(_0x40e6f5(0x1ab))/0xa;if(_0x23ea60===_0x17aecc)break;else _0x26e268['push'](_0x26e268['shift']());}catch(_0x1b3240){_0x26e268['push'](_0x26e268['shift']());}}}(_0x413a,0x3ae9c));import{ContextPlugin as _0x5e7191}from'ckeditor5/src/core.js';import _0x18f3d4 from'./realtimecollaborativeediting/sessions.js';import _0x1ba912 from'./presencelist/presencelistui.js';export default class s extends _0x5e7191{static get[_0x4f4d7c(0x1af)](){return[_0x18f3d4,_0x1ba912];}static get[_0x4f4d7c(0x1a8)](){var _0xf7bdfa=_0x4f4d7c;return _0xf7bdfa(0x1ac);}static get[_0x4f4d7c(0x1a4)](){return!0x0;}static get[_0x4f4d7c(0x1ad)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x27d75a)());[_0x40e4ca(0x1ec)];static get[_0x40e4ca(0x227)](){const _0x23fba8=_0x40e4ca;return[_0x61a640,_0x23fba8(0x21f),_0xfce28f,_0x2d786c];}static get[_0x40e4ca(0x20f)](){const _0x1fa3d4=_0x40e4ca;return _0x1fa3d4(0x23a);}static get[_0x40e4ca(0x22d)](){return!0x0;}static get[_0x40e4ca(0x1fe)](){return!0x0;}constructor(_0xd9374a){const _0x3d55f9=_0x40e4ca;super(_0xd9374a),this[_0x3d55f9(0x1ec)]=new Map();}async[_0x40e4ca(0x1fb)](){const _0x4afb7c=_0x40e4ca,_0xee47b3=this[_0x4afb7c(0x232)],_0x4b79ef=_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0x4afb7c(0x21f));if(_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0x61a640)[_0x4afb7c(0x1e5)](this),_0x4b79ef[_0x4afb7c(0x1e9)]={'addCommentThread':async({channelId:_0x139817,threadId:_0x14d8be,comments:_0x514db7,resolvedAt:_0x229305,resolvedBy:_0x526e48,context:_0xf477ba,attributes:_0x2ec3af})=>{const _0x1cf216=_0x4afb7c,_0x224309=await this[_0x1cf216(0x235)](_0x139817)[_0x1cf216(0x231)]({'commentThreadId':_0x14d8be,'comments':_0x514db7[_0x1cf216(0x1ed)](_0x51bc3e=>function(_0x2d4d6e,_0x5779f9,_0x275a0a){const _0x193c1f=_0x1cf216;return{'commentThreadId':_0x275a0a,'commentId':_0x2d4d6e[_0x193c1f(0x214)],'userId':_0x2d4d6e[_0x193c1f(0x240)],'content':_0x2d4d6e[_0x193c1f(0x219)],'documentId':_0x5779f9,'createdAt':_0x2d4d6e[_0x193c1f(0x20b)],'attributes':_0x2d4d6e[_0x193c1f(0x1e7)]||{}};}(_0x51bc3e,_0x139817,_0x14d8be)),'resolvedAt':_0x229305,'resolvedBy':_0x526e48,'context':_0xf477ba,'attributes':_0x2ec3af})[_0x1cf216(0x22e)](R);return{'threadId':_0x224309[_0x1cf216(0x1e3)],'comments':_0x224309[_0x1cf216(0x212)]};},'getCommentThread':async({channelId:_0x44180b,threadId:_0x3db45a})=>{const _0x546562=_0x4afb7c,_0x2e9e7a=await this[_0x546562(0x235)](_0x44180b)[_0x546562(0x229)](_0x3db45a)[_0x546562(0x22e)](R);return _0x2e9e7a[_0x546562(0x1f4)]?null:(await this[_0x546562(0x230)]([_0x2e9e7a]),{'threadId':_0x2e9e7a[_0x546562(0x1e3)],'comments':_0x2e9e7a[_0x546562(0x212)][_0x546562(0x1ed)](_),'context':_0x2e9e7a[_0x546562(0x232)],'resolvedAt':_0x2e9e7a[_0x546562(0x218)],'resolvedBy':_0x2e9e7a[_0x546562(0x238)],'attributes':_0x2e9e7a[_0x546562(0x1e7)]||{}});},'updateCommentThread':async({channelId:_0x101aad,threadId:_0x163d3c,context:_0x2642d5,unlinkedAt:_0x2f56d9,attributes:_0x179846})=>this[_0x4afb7c(0x235)](_0x101aad)[_0x4afb7c(0x23e)]({'commentThreadId':_0x163d3c,'context':_0x2642d5,'attributes':_0x179846,'unlinkedAt':_0x2f56d9})[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'resolveCommentThread':async({channelId:_0x426b21,threadId:_0x283663})=>{const _0xe138c8=_0x4afb7c,_0x52dc71=await this[_0xe138c8(0x235)](_0x426b21)[_0xe138c8(0x1f7)](_0x283663)[_0xe138c8(0x22e)](S)[_0xe138c8(0x22e)](R);return{'threadId':_0x52dc71[_0xe138c8(0x1e3)],'resolvedAt':_0x52dc71[_0xe138c8(0x218)],'resolvedBy':_0x52dc71[_0xe138c8(0x238)]};},'reopenCommentThread':async({channelId:_0x139d14,threadId:_0x9a3e04})=>this[_0x4afb7c(0x235)](_0x139d14)[_0x4afb7c(0x246)](_0x9a3e04)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'removeCommentThread':({channelId:_0x28a663,threadId:_0x4583a8})=>this[_0x4afb7c(0x235)](_0x28a663)[_0x4afb7c(0x1fc)](_0x4583a8)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'addComment':({channelId:_0x5399a0,threadId:_0xbbce78,commentId:_0x1de155,content:_0x474562,attributes:_0x552a8b})=>this[_0x4afb7c(0x235)](_0x5399a0)[_0x4afb7c(0x22f)](_0xbbce78,_0x1de155,_0x474562,_0x552a8b)[_0x4afb7c(0x22e)](R),'updateComment':({channelId:_0x54ca01,threadId:_0x46830a,commentId:_0x2e7ab1,content:_0x56ef59,attributes:_0x23203e})=>this[_0x4afb7c(0x235)](_0x54ca01)[_0x4afb7c(0x1f8)](_0x46830a,_0x2e7ab1,_0x56ef59,_0x23203e)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'removeComment':({channelId:_0x2c7ab6,threadId:_0x5553b6,commentId:_0x21a91a})=>this[_0x4afb7c(0x235)](_0x2c7ab6)[_0x4afb7c(0x1e2)](_0x5553b6,_0x21a91a)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R)},_0xee47b3 instanceof _0x11f16f){const _0xb35500=_0xee47b3[_0x4afb7c(0x1e1)][_0x4afb7c(0x247)](_0x4afb7c(0x201)),_0x3c77df=_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0xfce28f);await this[_0x4afb7c(0x23c)](_0xb35500);const _0x93a062=await this[_0x4afb7c(0x1ec)][_0x4afb7c(0x247)](_0xb35500)[_0x4afb7c(0x21d)]();this[_0x4afb7c(0x242)](_0x3c77df,_0x4afb7c(0x243)+_0xb35500,(_0x4b4b03,{session:_0x3db69f})=>{const _0x50e51d=_0x4afb7c;_0x3db69f['id']===_0x3c77df[_0x50e51d(0x20d)]&&(_0x4b4b03[_0x50e51d(0x20a)](),this[_0x50e51d(0x232)][_0x50e51d(0x21b)][_0x50e51d(0x247)](_0x50e51d(0x208))[_0x50e51d(0x1e8)](_0x3db69f[_0x50e51d(0x1fa)],_0xb35500));}),_0x3c77df[_0x4afb7c(0x207)](_0xb35500,_0x93a062);}}async[_0x40e4ca(0x23c)](_0x1dae76){const _0x163241=_0x40e4ca;if(this[_0x163241(0x1ec)][_0x163241(0x21e)](_0x1dae76))throw new _0x32e311(_0x163241(0x23b),null,{'channelId':_0x1dae76});const _0x217f02=this[_0x163241(0x232)][_0x163241(0x21b)][_0x163241(0x247)](_0x163241(0x21f)),_0x4c9ae8=new a[(_0x163241(0x22a))](_0x1dae76);this[_0x163241(0x1ec)][_0x163241(0x200)](_0x1dae76,_0x4c9ae8),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x205),(_0x3b7ab8,_0xc1315d)=>{const _0x2e6ee4=_0x163241,{commentThreadId:_0x3dfa93,documentId:_0x31f4b0,context:_0x48edae,attributes:_0x4bce28,resolvedAt:_0x2ad3aa,resolvedBy:_0x5297dd,comments:_0x543922}=_0xc1315d;_0x217f02[_0x2e6ee4(0x229)](_0x3dfa93)||_0x217f02[_0x2e6ee4(0x231)]({'threadId':_0x3dfa93,'channelId':_0x31f4b0,'comments':_0x543922?_0x543922[_0x2e6ee4(0x1ed)](_):[],'context':_0x48edae,'attributes':_0x4bce28,'resolvedAt':_0x2ad3aa,'resolvedBy':_0x5297dd,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1f3),(_0x13a312,{commentThreadId:_0x594ac4,documentId:_0x398196,context:_0x4ec27a,unlinkedAt:_0x226176,attributes:_0xc69793})=>{const _0x296391=_0x163241;_0x217f02[_0x296391(0x229)](_0x594ac4)&&_0x217f02[_0x296391(0x23e)]({'threadId':_0x594ac4,'channelId':_0x398196,'context':_0x4ec27a,'unlinkedAt':_0x226176,'attributes':_0xc69793,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x226),(_0x2b7225,{commentThreadId:_0x2a3602,resolvedBy:_0x204414,resolvedAt:_0x2104b0})=>{const _0x14c621=_0x163241,_0x4efee0=_0x217f02[_0x14c621(0x229)](_0x2a3602);_0x4efee0&&_0x4efee0[_0x14c621(0x213)]({'resolvedBy':_0x204414,'resolvedAt':_0x2104b0,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x225),(_0xbc8768,{commentThreadId:_0x54f5d7})=>{const _0x5bb98c=_0x163241,_0x14d0a9=_0x217f02[_0x5bb98c(0x229)](_0x54f5d7);_0x14d0a9&&_0x14d0a9[_0x5bb98c(0x211)]({'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1f6),(_0x7d3a19,{commentThreadId:_0x415922})=>{const _0x4de81b=_0x163241,_0x45b8bd=_0x217f02[_0x4de81b(0x229)](_0x415922);_0x45b8bd&&_0x45b8bd[_0x4de81b(0x21a)]({'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x22c),(_0x238980,_0x26b929)=>{const _0x6cbc8a=_0x163241,_0x21d218=_0x26b929[_0x6cbc8a(0x1e3)],_0x30dacf=_0x217f02[_0x6cbc8a(0x229)](_0x21d218);_0x30dacf&&_0x30dacf[_0x6cbc8a(0x22f)]({..._(_0x26b929),'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1e6),(_0x1c9fe3,{commentThreadId:_0x4f060a,commentId:_0x5c6115,content:_0x447619,attributes:_0x2b21da})=>{const _0x2d7d1a=_0x163241,_0x500b38=_0x217f02[_0x2d7d1a(0x229)](_0x4f060a);if(_0x500b38){const _0x5300c1=_0x500b38[_0x2d7d1a(0x206)](_0x5c6115);_0x5300c1&&_0x5300c1[_0x2d7d1a(0x233)]({'content':_0x447619,'attributes':_0x2b21da,'isFromAdapter':!0x0});}}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x228),(_0x1bcd26,{commentThreadId:_0xb20c95,commentId:_0xd0ed3})=>{const _0x88039=_0x163241,_0x253872=_0x217f02[_0x88039(0x229)](_0xb20c95);if(_0x253872){const _0x59d72d=_0x253872[_0x88039(0x206)](_0xd0ed3);_0x59d72d&&_0x59d72d[_0x88039(0x21a)]({'isFromAdapter':!0x0});}}),await this[_0x163241(0x22b)](_0x1dae76);}[_0x40e4ca(0x203)](){const _0x458b12=_0x40e4ca;if(this[_0x458b12(0x232)]instanceof _0x11f16f){const _0x15d51a=this[_0x458b12(0x232)][_0x458b12(0x1e1)][_0x458b12(0x247)](_0x458b12(0x201));this[_0x458b12(0x215)](_0x15d51a);}}[_0x40e4ca(0x215)](_0x1717c2){const _0x1d0bfc=_0x40e4ca;if(!this[_0x1d0bfc(0x1ec)][_0x1d0bfc(0x21e)](_0x1717c2))throw new _0x32e311(_0x1d0bfc(0x1f2),null,{'channelId':_0x1717c2});this[_0x1d0bfc(0x235)](_0x1717c2)[_0x1d0bfc(0x239)](),this[_0x1d0bfc(0x1ec)][_0x1d0bfc(0x1ff)](_0x1717c2);}async[_0x40e4ca(0x21c)](){const _0x3a3858=_0x40e4ca;for(const _0xcd4718 of this[_0x3a3858(0x1ec)][_0x3a3858(0x1fd)]())await this[_0x3a3858(0x22b)](_0xcd4718);if(this[_0x3a3858(0x232)]instanceof _0x11f16f){const _0x13c618=this[_0x3a3858(0x232)][_0x3a3858(0x1e1)][_0x3a3858(0x247)](_0x3a3858(0x201)),_0x5a1707=this[_0x3a3858(0x232)][_0x3a3858(0x21b)][_0x3a3858(0x247)](_0xfce28f);_0x5a1707[_0x3a3858(0x241)](_0x13c618);const _0x1c12d5=await this[_0x3a3858(0x1ec)][_0x3a3858(0x247)](_0x13c618)[_0x3a3858(0x21d)]();_0x5a1707[_0x3a3858(0x207)](_0x13c618,_0x1c12d5);}}async[_0x40e4ca(0x22b)](_0x46d359){const _0x14a0a5=_0x40e4ca,{connection:_0x4d6ea1}=this[_0x14a0a5(0x232)][_0x14a0a5(0x21b)][_0x14a0a5(0x247)](_0x61a640),_0x20fa45=this[_0x14a0a5(0x232)][_0x14a0a5(0x21b)][_0x14a0a5(0x247)](_0x14a0a5(0x21f)),_0x28a99a=this[_0x14a0a5(0x1ec)][_0x14a0a5(0x247)](_0x46d359),_0x442288=await _0x28a99a[_0x14a0a5(0x236)](_0x4d6ea1);await this[_0x14a0a5(0x230)](_0x442288);const _0x481724=new Set(Array[_0x14a0a5(0x202)](_0x20fa45[_0x14a0a5(0x222)]({'channelId':_0x46d359}),_0xbbbca=>_0xbbbca['id']));for(const _0x191cb7 of _0x442288)_0x191cb7[_0x14a0a5(0x1f4)]||_0x481724[_0x14a0a5(0x1ff)](_0x191cb7[_0x14a0a5(0x1e3)]);for(const _0x54e310 of _0x481724)_0x20fa45[_0x14a0a5(0x229)](_0x54e310)[_0x14a0a5(0x21a)]({'isFromAdapter':!0x0});for(const _0x454619 of _0x442288){let _0x20e2ea=_0x20fa45[_0x14a0a5(0x229)](_0x454619[_0x14a0a5(0x1e3)]);const {commentThreadId:_0x14890c,context:_0x2c3ee6,attributes:_0x53dc80,resolvedBy:_0x6be7b6,resolvedAt:_0x22bfb0,unlinkedAt:_0x17e10a,deletedAt:_0x4f0666}=_0x454619;if(_0x4f0666)continue;_0x20e2ea||(_0x20e2ea=_0x20fa45[_0x14a0a5(0x231)]({'channelId':_0x46d359,'threadId':_0x14890c,'context':_0x2c3ee6,'attributes':_0x53dc80||{},'resolvedBy':_0x6be7b6,'resolvedAt':_0x22bfb0,'unlinkedAt':_0x17e10a,'isFromAdapter':!0x0}));const _0x1bf509=new Set(Array[_0x14a0a5(0x202)](_0x20e2ea[_0x14a0a5(0x212)],_0x3e70d8=>_0x3e70d8['id']));for(const _0xa13248 of _0x454619[_0x14a0a5(0x212)])_0x1bf509[_0x14a0a5(0x1ff)](_0xa13248[_0x14a0a5(0x214)]);for(const _0x25edbc of _0x1bf509)_0x20e2ea[_0x14a0a5(0x206)](_0x25edbc)[_0x14a0a5(0x21a)]({'isFromAdapter':!0x0});for(const _0x56e63f of _0x454619[_0x14a0a5(0x212)]){const _0x21a944=_0x20e2ea[_0x14a0a5(0x206)](_0x56e63f[_0x14a0a5(0x214)]);_0x21a944?_0x21a944[_0x14a0a5(0x219)]!==_0x56e63f[_0x14a0a5(0x219)]&&_0x21a944[_0x14a0a5(0x233)]({'content':_0x56e63f[_0x14a0a5(0x219)],'isFromAdapter':!0x0}):_0x20e2ea[_0x14a0a5(0x22f)](Object[_0x14a0a5(0x204)](_(_0x56e63f),{'isFromAdapter':!0x0}));}}}[_0x40e4ca(0x235)](_0x652d5d){const _0xe83c95=_0x40e4ca;if(!this[_0xe83c95(0x1ec)][_0xe83c95(0x21e)](_0x652d5d))throw new _0x32e311(_0xe83c95(0x210),null,{'channelId':_0x652d5d});return this[_0xe83c95(0x1ec)][_0xe83c95(0x247)](_0x652d5d);}async[_0x40e4ca(0x230)](_0x14952f){const _0xf07c7=_0x40e4ca,_0x58e40f=this[_0xf07c7(0x232)][_0xf07c7(0x21b)][_0xf07c7(0x247)](_0x2d786c),{connection:_0xca5bd2}=this[_0xf07c7(0x232)][_0xf07c7(0x21b)][_0xf07c7(0x247)](_0x61a640),_0x5ccc9f=new Set();for(const {resolvedBy:_0x2755f1,comments:_0xbec4fa}of _0x14952f){_0x2755f1&&!_0x58e40f[_0xf07c7(0x248)](_0x2755f1)&&_0x5ccc9f[_0xf07c7(0x20e)](_0x2755f1);for(const {userId:_0x194468}of _0xbec4fa)_0x58e40f[_0xf07c7(0x248)](_0x194468)||_0x5ccc9f[_0xf07c7(0x20e)](_0x194468);}if(0x0===_0x5ccc9f[_0xf07c7(0x1f5)])return;const _0x5c360d=await _0x4487ec[_0xf07c7(0x1eb)](_0xca5bd2,Array[_0xf07c7(0x202)](_0x5ccc9f));for(const _0x38da54 of _0x5c360d)_0x58e40f[_0xf07c7(0x248)](_0x38da54['id'])||_0x58e40f[_0xf07c7(0x23d)](_0x38da54);}}export default a;async function S(_0x2e2dd7){const _0x115814=_0x40e4ca;if(_0x115814(0x234)!==_0x2e2dd7[_0x115814(0x217)])throw _0x2e2dd7;}function R(_0x58ab01){const _0x5e7fce=_0x40e4ca;if((_0x2fb55c=_0x58ab01)[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x20c))||_0x2fb55c[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x1ee))||_0x2fb55c[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x209)))return new Promise(()=>{});var _0x2fb55c;throw _0x58ab01;}function _(_0x309ea9){const _0x45cdde=_0x40e4ca;return{'threadId':_0x309ea9[_0x45cdde(0x1e3)],'commentId':_0x309ea9[_0x45cdde(0x214)],'content':_0x309ea9[_0x45cdde(0x219)],'createdAt':_0x309ea9[_0x45cdde(0x20b)],'authorId':_0x309ea9[_0x45cdde(0x223)],'attributes':_0x309ea9[_0x45cdde(0x1e7)]||{}};}
|
|
23
|
+
const _0x2eee78=_0xb192;(function(_0x4e8917,_0x30e92e){const _0x47a490=_0xb192,_0x5885e6=_0x4e8917();while(!![]){try{const _0x4dfcea=-parseInt(_0x47a490(0x140))/0x1*(-parseInt(_0x47a490(0x127))/0x2)+-parseInt(_0x47a490(0x173))/0x3*(parseInt(_0x47a490(0x12f))/0x4)+-parseInt(_0x47a490(0x180))/0x5+-parseInt(_0x47a490(0x15d))/0x6+-parseInt(_0x47a490(0x136))/0x7*(-parseInt(_0x47a490(0x177))/0x8)+-parseInt(_0x47a490(0x170))/0x9*(-parseInt(_0x47a490(0x15b))/0xa)+-parseInt(_0x47a490(0x12e))/0xb*(-parseInt(_0x47a490(0x166))/0xc);if(_0x4dfcea===_0x30e92e)break;else _0x5885e6['push'](_0x5885e6['shift']());}catch(_0x5cc166){_0x5885e6['push'](_0x5885e6['shift']());}}}(_0x13da,0xa8294));function _0xb192(_0x4cf5f4,_0xf700a){const _0x13da62=_0x13da();return _0xb192=function(_0xb1929d,_0x37b8bc){_0xb1929d=_0xb1929d-0x126;let _0x4407fa=_0x13da62[_0xb1929d];return _0x4407fa;},_0xb192(_0x4cf5f4,_0xf700a);}function _0x13da(){const _0x165222=['4KQoXtL','getCommentThreads','register','reopen','size','reconnect','assign','4919432BKfKVe','removeCommentThread','reopenCommentThread','code','authorId','userId','removeComment','resolvedBy','404','_connectService','1285819YEQirP','getMany','get','resolve','updateCommentThread','update','content','commentThreadUpdated','off','plugins','message','commentThreadRemoved','cloudservicescommentsadapter-connect-already-connected','init','_getService','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','connect','CommentsService','_setUpService','_services','commentId','permissions','resolvedAt','getConnectedSessions','resolveCommentThread','deletedAt','6207880bwJhSj','_fetchMissingUsersForThreads','1308168NYgXcP','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','isPremiumPlugin','commentThreadReopened','commentUpdated','_terminateService','delete','isOfficialPlugin','10176GviluU','CloudServicesCommentsAdapter','set','Permissions','addCommentThread','commentAdded','has','cloudservicescommentsadapter-service-not-exist','createdAt','startsWith','9ZSRuUC','unregister','updateComment','3907041KDxQpY','commentThreadId','addUser','attributes','8vGkqAj','config','addComment','sessionAdd:','commentThreadAdded','keys','add','comments','getCommentThread','4846140GYbjib','cloudservicescommentsadapter-disconnect-not-exist','getUser','pluginName','commentThreadResolved','map','getComment','disconnect','cloud-services-internal-error:\x20Not\x20connected.','remove','collaboration.channelId','addToReconnectionStack','CommentsRepository','commentRemoved','requires','2yxmSLs','from','context','catch','destroy','adapter','setPermissions','7381seXGiX'];_0x13da=function(){return _0x165222;};return _0x13da();}import{Context as _0x34f315,ContextPlugin as _0x35650a}from'ckeditor5/src/core.js';import{CKEditorError as _0x53b144}from'ckeditor5/src/utils.js';import{Users as _0x38c681}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xdf339d,User as _0x5f11f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x14cfd4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x472c60 from'../realtimecollaborativeediting/sessions.js';class a extends _0x35650a{static [_0x2eee78(0x152)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xdf339d)());[_0x2eee78(0x154)];static get[_0x2eee78(0x126)](){const _0x249ccb=_0x2eee78;return[_0x14cfd4,_0x249ccb(0x18c),_0x472c60,_0x38c681];}static get[_0x2eee78(0x183)](){const _0x110ae8=_0x2eee78;return _0x110ae8(0x167);}static get[_0x2eee78(0x165)](){return!0x0;}static get[_0x2eee78(0x160)](){return!0x0;}constructor(_0x1eaebc){const _0x1eccb4=_0x2eee78;super(_0x1eaebc),this[_0x1eccb4(0x154)]=new Map();}async[_0x2eee78(0x14d)](){const _0x31e2d2=_0x2eee78,_0x3592f7=this[_0x31e2d2(0x129)],_0x3cb68d=_0x3592f7[_0x31e2d2(0x149)][_0x31e2d2(0x142)](_0x31e2d2(0x18c));if(_0x3592f7[_0x31e2d2(0x149)][_0x31e2d2(0x142)](_0x14cfd4)[_0x31e2d2(0x18b)](this),_0x3cb68d[_0x31e2d2(0x12c)]={'addCommentThread':async({channelId:_0x212312,threadId:_0xb6cc4d,comments:_0x4a145c,resolvedAt:_0x31bd98,resolvedBy:_0x19ee87,context:_0x35ddf2,attributes:_0x369262})=>{const _0x411b39=_0x31e2d2,_0x3d2ad5=await this[_0x411b39(0x14e)](_0x212312)[_0x411b39(0x16a)]({'commentThreadId':_0xb6cc4d,'comments':_0x4a145c[_0x411b39(0x185)](_0x48e2fb=>function(_0x579012,_0x27cf68,_0x31c8e9){const _0x19f25d=_0x411b39;return{'commentThreadId':_0x31c8e9,'commentId':_0x579012[_0x19f25d(0x155)],'userId':_0x579012[_0x19f25d(0x13a)],'content':_0x579012[_0x19f25d(0x146)],'documentId':_0x27cf68,'createdAt':_0x579012[_0x19f25d(0x16e)],'attributes':_0x579012[_0x19f25d(0x176)]||{}};}(_0x48e2fb,_0x212312,_0xb6cc4d)),'resolvedAt':_0x31bd98,'resolvedBy':_0x19ee87,'context':_0x35ddf2,'attributes':_0x369262})[_0x411b39(0x12a)](w);return{'threadId':_0x3d2ad5[_0x411b39(0x174)],'comments':_0x3d2ad5[_0x411b39(0x17e)]};},'getCommentThread':async({channelId:_0x355f21,threadId:_0x2edad3})=>{const _0x3a18a4=_0x31e2d2,_0x51304d=await this[_0x3a18a4(0x14e)](_0x355f21)[_0x3a18a4(0x17f)](_0x2edad3)[_0x3a18a4(0x12a)](w);return _0x51304d[_0x3a18a4(0x15a)]?null:(await this[_0x3a18a4(0x15c)]([_0x51304d]),{'threadId':_0x51304d[_0x3a18a4(0x174)],'comments':_0x51304d[_0x3a18a4(0x17e)][_0x3a18a4(0x185)](b),'context':_0x51304d[_0x3a18a4(0x129)],'resolvedAt':_0x51304d[_0x3a18a4(0x157)],'resolvedBy':_0x51304d[_0x3a18a4(0x13d)],'attributes':_0x51304d[_0x3a18a4(0x176)]||{}});},'updateCommentThread':async({channelId:_0x4c93ef,threadId:_0x2de2d3,context:_0x4a01ee,unlinkedAt:_0x54b692,attributes:_0x5ace89})=>this[_0x31e2d2(0x14e)](_0x4c93ef)[_0x31e2d2(0x144)]({'commentThreadId':_0x2de2d3,'context':_0x4a01ee,'attributes':_0x5ace89,'unlinkedAt':_0x54b692})[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w),'resolveCommentThread':async({channelId:_0x4d239f,threadId:_0x94effd})=>{const _0x5cf0e9=_0x31e2d2,_0x84f382=await this[_0x5cf0e9(0x14e)](_0x4d239f)[_0x5cf0e9(0x159)](_0x94effd)[_0x5cf0e9(0x12a)](y)[_0x5cf0e9(0x12a)](w);return{'threadId':_0x84f382[_0x5cf0e9(0x174)],'resolvedAt':_0x84f382[_0x5cf0e9(0x157)],'resolvedBy':_0x84f382[_0x5cf0e9(0x13d)]};},'reopenCommentThread':async({channelId:_0x12b283,threadId:_0x59bb95})=>this[_0x31e2d2(0x14e)](_0x12b283)[_0x31e2d2(0x138)](_0x59bb95)[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w),'removeCommentThread':({channelId:_0xf06b63,threadId:_0x5b15ca})=>this[_0x31e2d2(0x14e)](_0xf06b63)[_0x31e2d2(0x137)](_0x5b15ca)[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w),'addComment':({channelId:_0x1dc927,threadId:_0x1709f0,commentId:_0x26220d,content:_0x1f3247,attributes:_0x9fa093})=>this[_0x31e2d2(0x14e)](_0x1dc927)[_0x31e2d2(0x179)](_0x1709f0,_0x26220d,_0x1f3247,_0x9fa093)[_0x31e2d2(0x12a)](w),'updateComment':({channelId:_0x16d07e,threadId:_0x55ffec,commentId:_0x41c9bc,content:_0x4407c7,attributes:_0x20ced2})=>this[_0x31e2d2(0x14e)](_0x16d07e)[_0x31e2d2(0x172)](_0x55ffec,_0x41c9bc,_0x4407c7,_0x20ced2)[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w),'removeComment':({channelId:_0x231a90,threadId:_0x45fc21,commentId:_0x492c5b})=>this[_0x31e2d2(0x14e)](_0x231a90)[_0x31e2d2(0x13c)](_0x45fc21,_0x492c5b)[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w)},_0x3592f7 instanceof _0x34f315){const _0x1c72c2=_0x3592f7[_0x31e2d2(0x178)][_0x31e2d2(0x142)](_0x31e2d2(0x18a)),_0x486921=_0x3592f7[_0x31e2d2(0x149)][_0x31e2d2(0x142)](_0x472c60);await this[_0x31e2d2(0x153)](_0x1c72c2);const _0x2375af=await this[_0x31e2d2(0x154)][_0x31e2d2(0x142)](_0x1c72c2)[_0x31e2d2(0x158)]();this[_0x31e2d2(0x15f)](_0x486921,_0x31e2d2(0x17a)+_0x1c72c2,(_0x119cff,{session:_0x48c986})=>{const _0x252db7=_0x31e2d2;_0x48c986['id']===_0x486921[_0x252db7(0x14f)]&&(_0x119cff[_0x252db7(0x148)](),this[_0x252db7(0x129)][_0x252db7(0x149)][_0x252db7(0x142)](_0x252db7(0x169))[_0x252db7(0x12d)](_0x48c986[_0x252db7(0x156)],_0x1c72c2));}),_0x486921[_0x31e2d2(0x131)](_0x1c72c2,_0x2375af);}}async[_0x2eee78(0x153)](_0x4afb07){const _0x3ebd74=_0x2eee78;if(this[_0x3ebd74(0x154)][_0x3ebd74(0x16c)](_0x4afb07))throw new _0x53b144(_0x3ebd74(0x14c),null,{'channelId':_0x4afb07});const _0x58ab69=this[_0x3ebd74(0x129)][_0x3ebd74(0x149)][_0x3ebd74(0x142)](_0x3ebd74(0x18c)),_0x173470=new a[(_0x3ebd74(0x152))](_0x4afb07);this[_0x3ebd74(0x154)][_0x3ebd74(0x168)](_0x4afb07,_0x173470),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x17b),(_0x4fed67,_0x2ad61f)=>{const _0xc078d4=_0x3ebd74,{commentThreadId:_0x44f31d,documentId:_0x3e0e40,context:_0x4cbada,attributes:_0x9a4bf7,resolvedAt:_0x2b20d2,resolvedBy:_0xdb8252,comments:_0x20d454}=_0x2ad61f;_0x58ab69[_0xc078d4(0x17f)](_0x44f31d)||_0x58ab69[_0xc078d4(0x16a)]({'threadId':_0x44f31d,'channelId':_0x3e0e40,'comments':_0x20d454?_0x20d454[_0xc078d4(0x185)](b):[],'context':_0x4cbada,'attributes':_0x9a4bf7,'resolvedAt':_0x2b20d2,'resolvedBy':_0xdb8252,'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x147),(_0x20c3fc,{commentThreadId:_0x2d18d4,documentId:_0x3f9ff0,context:_0x1659e8,unlinkedAt:_0x5cf4af,attributes:_0x420a70})=>{const _0x4dd3ef=_0x3ebd74;_0x58ab69[_0x4dd3ef(0x17f)](_0x2d18d4)&&_0x58ab69[_0x4dd3ef(0x144)]({'threadId':_0x2d18d4,'channelId':_0x3f9ff0,'context':_0x1659e8,'unlinkedAt':_0x5cf4af,'attributes':_0x420a70,'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x184),(_0x8b5e42,{commentThreadId:_0x378c45,resolvedBy:_0x44ba2f,resolvedAt:_0x303b26})=>{const _0x3581a0=_0x3ebd74,_0x4f9c12=_0x58ab69[_0x3581a0(0x17f)](_0x378c45);_0x4f9c12&&_0x4f9c12[_0x3581a0(0x143)]({'resolvedBy':_0x44ba2f,'resolvedAt':_0x303b26,'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x161),(_0x3104a8,{commentThreadId:_0x1f2674})=>{const _0x53f6b0=_0x3ebd74,_0x163b0b=_0x58ab69[_0x53f6b0(0x17f)](_0x1f2674);_0x163b0b&&_0x163b0b[_0x53f6b0(0x132)]({'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x14b),(_0x3a2ca8,{commentThreadId:_0x2c41bf})=>{const _0x1bca9e=_0x3ebd74,_0xbe4b41=_0x58ab69[_0x1bca9e(0x17f)](_0x2c41bf);_0xbe4b41&&_0xbe4b41[_0x1bca9e(0x189)]({'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x16b),(_0x592a70,_0x2896eb)=>{const _0xda4bca=_0x3ebd74,_0x2f5ca8=_0x2896eb[_0xda4bca(0x174)],_0x4aafdc=_0x58ab69[_0xda4bca(0x17f)](_0x2f5ca8);_0x4aafdc&&_0x4aafdc[_0xda4bca(0x179)]({...b(_0x2896eb),'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x162),(_0x529d2d,{commentThreadId:_0x168237,commentId:_0x286f6c,content:_0x3d3f20,attributes:_0x436489})=>{const _0x5ad388=_0x3ebd74,_0x1217c8=_0x58ab69[_0x5ad388(0x17f)](_0x168237);if(_0x1217c8){const _0x936397=_0x1217c8[_0x5ad388(0x186)](_0x286f6c);_0x936397&&_0x936397[_0x5ad388(0x145)]({'content':_0x3d3f20,'attributes':_0x436489,'isFromAdapter':!0x0});}}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x18d),(_0x3432d5,{commentThreadId:_0x2a9577,commentId:_0x188059})=>{const _0x42fa9a=_0x3ebd74,_0x10a5a3=_0x58ab69[_0x42fa9a(0x17f)](_0x2a9577);if(_0x10a5a3){const _0x41ebd9=_0x10a5a3[_0x42fa9a(0x186)](_0x188059);_0x41ebd9&&_0x41ebd9[_0x42fa9a(0x189)]({'isFromAdapter':!0x0});}}),await this[_0x3ebd74(0x13f)](_0x4afb07);}[_0x2eee78(0x12b)](){const _0x57f485=_0x2eee78;if(this[_0x57f485(0x129)]instanceof _0x34f315){const _0x156531=this[_0x57f485(0x129)][_0x57f485(0x178)][_0x57f485(0x142)](_0x57f485(0x18a));this[_0x57f485(0x163)](_0x156531);}}[_0x2eee78(0x163)](_0x5e2837){const _0x37cd50=_0x2eee78;if(!this[_0x37cd50(0x154)][_0x37cd50(0x16c)](_0x5e2837))throw new _0x53b144(_0x37cd50(0x181),null,{'channelId':_0x5e2837});this[_0x37cd50(0x14e)](_0x5e2837)[_0x37cd50(0x187)](),this[_0x37cd50(0x154)][_0x37cd50(0x164)](_0x5e2837);}async[_0x2eee78(0x134)](){const _0x98157e=_0x2eee78;for(const _0x5f2d0e of this[_0x98157e(0x154)][_0x98157e(0x17c)]())await this[_0x98157e(0x13f)](_0x5f2d0e);if(this[_0x98157e(0x129)]instanceof _0x34f315){const _0x5446f6=this[_0x98157e(0x129)][_0x98157e(0x178)][_0x98157e(0x142)](_0x98157e(0x18a)),_0x1ad950=this[_0x98157e(0x129)][_0x98157e(0x149)][_0x98157e(0x142)](_0x472c60);_0x1ad950[_0x98157e(0x171)](_0x5446f6);const _0x271e98=await this[_0x98157e(0x154)][_0x98157e(0x142)](_0x5446f6)[_0x98157e(0x158)]();_0x1ad950[_0x98157e(0x131)](_0x5446f6,_0x271e98);}}async[_0x2eee78(0x13f)](_0x489ead){const _0x12a9b4=_0x2eee78,{connection:_0x4e3509}=this[_0x12a9b4(0x129)][_0x12a9b4(0x149)][_0x12a9b4(0x142)](_0x14cfd4),_0x2d9330=this[_0x12a9b4(0x129)][_0x12a9b4(0x149)][_0x12a9b4(0x142)](_0x12a9b4(0x18c)),_0x585c2f=this[_0x12a9b4(0x154)][_0x12a9b4(0x142)](_0x489ead),_0x3f5813=await _0x585c2f[_0x12a9b4(0x151)](_0x4e3509);await this[_0x12a9b4(0x15c)](_0x3f5813);const _0x13c1df=new Set(Array[_0x12a9b4(0x128)](_0x2d9330[_0x12a9b4(0x130)]({'channelId':_0x489ead}),_0x2031c2=>_0x2031c2['id']));for(const _0x5bbd1e of _0x3f5813)_0x5bbd1e[_0x12a9b4(0x15a)]||_0x13c1df[_0x12a9b4(0x164)](_0x5bbd1e[_0x12a9b4(0x174)]);for(const _0x3276cc of _0x13c1df)_0x2d9330[_0x12a9b4(0x17f)](_0x3276cc)[_0x12a9b4(0x189)]({'isFromAdapter':!0x0});for(const _0x43db1a of _0x3f5813){let _0xcc6caf=_0x2d9330[_0x12a9b4(0x17f)](_0x43db1a[_0x12a9b4(0x174)]);const {commentThreadId:_0x156a07,context:_0xe9db4b,attributes:_0x55f18f,resolvedBy:_0x65a4ac,resolvedAt:_0x51bf60,unlinkedAt:_0x2ab4ce,deletedAt:_0x45ecd8}=_0x43db1a;if(_0x45ecd8)continue;_0xcc6caf||(_0xcc6caf=_0x2d9330[_0x12a9b4(0x16a)]({'channelId':_0x489ead,'threadId':_0x156a07,'context':_0xe9db4b,'attributes':_0x55f18f||{},'resolvedBy':_0x65a4ac,'resolvedAt':_0x51bf60,'unlinkedAt':_0x2ab4ce,'isFromAdapter':!0x0}));const _0x3b620d=new Set(Array[_0x12a9b4(0x128)](_0xcc6caf[_0x12a9b4(0x17e)],_0x3d7727=>_0x3d7727['id']));for(const _0x31447f of _0x43db1a[_0x12a9b4(0x17e)])_0x3b620d[_0x12a9b4(0x164)](_0x31447f[_0x12a9b4(0x155)]);for(const _0x3362c9 of _0x3b620d)_0xcc6caf[_0x12a9b4(0x186)](_0x3362c9)[_0x12a9b4(0x189)]({'isFromAdapter':!0x0});for(const _0x482dc0 of _0x43db1a[_0x12a9b4(0x17e)]){const _0x3857e3=_0xcc6caf[_0x12a9b4(0x186)](_0x482dc0[_0x12a9b4(0x155)]);_0x3857e3?_0x3857e3[_0x12a9b4(0x146)]!==_0x482dc0[_0x12a9b4(0x146)]&&_0x3857e3[_0x12a9b4(0x145)]({'content':_0x482dc0[_0x12a9b4(0x146)],'isFromAdapter':!0x0}):_0xcc6caf[_0x12a9b4(0x179)](Object[_0x12a9b4(0x135)](b(_0x482dc0),{'isFromAdapter':!0x0}));}}}[_0x2eee78(0x14e)](_0x2d2f26){const _0x45b36f=_0x2eee78;if(!this[_0x45b36f(0x154)][_0x45b36f(0x16c)](_0x2d2f26))throw new _0x53b144(_0x45b36f(0x16d),null,{'channelId':_0x2d2f26});return this[_0x45b36f(0x154)][_0x45b36f(0x142)](_0x2d2f26);}async[_0x2eee78(0x15c)](_0x21ed9e){const _0xa52482=_0x2eee78,_0x3f05bc=this[_0xa52482(0x129)][_0xa52482(0x149)][_0xa52482(0x142)](_0x38c681),{connection:_0x37b3dd}=this[_0xa52482(0x129)][_0xa52482(0x149)][_0xa52482(0x142)](_0x14cfd4),_0x74adb=new Set();for(const {resolvedBy:_0x49d19e,comments:_0x562fc8}of _0x21ed9e){_0x49d19e&&!_0x3f05bc[_0xa52482(0x182)](_0x49d19e)&&_0x74adb[_0xa52482(0x17d)](_0x49d19e);for(const {userId:_0x2cfdc1}of _0x562fc8)_0x3f05bc[_0xa52482(0x182)](_0x2cfdc1)||_0x74adb[_0xa52482(0x17d)](_0x2cfdc1);}if(0x0===_0x74adb[_0xa52482(0x133)])return;const _0x422717=await _0x5f11f1[_0xa52482(0x141)](_0x37b3dd,Array[_0xa52482(0x128)](_0x74adb));for(const _0x5ce8e0 of _0x422717)_0x3f05bc[_0xa52482(0x182)](_0x5ce8e0['id'])||_0x3f05bc[_0xa52482(0x175)](_0x5ce8e0);}}export default a;async function y(_0x5ca15a){const _0x4102f1=_0x2eee78;if(_0x4102f1(0x13e)!==_0x5ca15a[_0x4102f1(0x139)])throw _0x5ca15a;}function w(_0x54ef34){const _0x2567d3=_0x2eee78;if((_0x19ad78=_0x54ef34)[_0x2567d3(0x14a)][_0x2567d3(0x16f)](_0x2567d3(0x150))||_0x19ad78[_0x2567d3(0x14a)][_0x2567d3(0x16f)](_0x2567d3(0x188))||_0x19ad78[_0x2567d3(0x14a)][_0x2567d3(0x16f)](_0x2567d3(0x15e)))return new Promise(()=>{});var _0x19ad78;throw _0x54ef34;}function b(_0x42fa69){const _0x55a24e=_0x2eee78;return{'threadId':_0x42fa69[_0x55a24e(0x174)],'commentId':_0x42fa69[_0x55a24e(0x155)],'content':_0x42fa69[_0x55a24e(0x146)],'createdAt':_0x42fa69[_0x55a24e(0x16e)],'authorId':_0x42fa69[_0x55a24e(0x13b)],'attributes':_0x42fa69[_0x55a24e(0x176)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4466c1=_0x7312;(function(_0x1dd5ff,_0x4419d3){const _0x37dc98=_0x7312,_0x19a883=_0x1dd5ff();while(!![]){try{const _0x14cfbb=-parseInt(_0x37dc98(0x1d8))/0x1*(parseInt(_0x37dc98(0x1d2))/0x2)+-parseInt(_0x37dc98(0x1e6))/0x3+parseInt(_0x37dc98(0x1e9))/0x4*(-parseInt(_0x37dc98(0x1d9))/0x5)+-parseInt(_0x37dc98(0x1e0))/0x6+-parseInt(_0x37dc98(0x1e4))/0x7+parseInt(_0x37dc98(0x1e5))/0x8+-parseInt(_0x37dc98(0x1d0))/0x9*(-parseInt(_0x37dc98(0x1eb))/0xa);if(_0x14cfbb===_0x4419d3)break;else _0x19a883['push'](_0x19a883['shift']());}catch(_0x552107){_0x19a883['push'](_0x19a883['shift']());}}}(_0x8dc5,0xe3cf1));function _0x8dc5(){const _0xfef48e=['collaboration.channelId','ready','_terminateService','connected','requires','isOfficialPlugin','4636188gykiko','CommentsRepository','Comments','RealTimeCollaborativeComments','838866adXMfi','8307208DTVsEG','1870449NJzcGo','destroy','config','44wCrrdh','_setUpService','13870Dyqjqk','isPremiumPlugin','init','plugins','switchReadOnly','CommentsEditing','change:state','listenTo','20745CkYxyK','get','66NYOfmx','data','editor','once','pluginName','isThreadsLoadingPaused','52031eiNnGG','31495dhQmFX'];_0x8dc5=function(){return _0xfef48e;};return _0x8dc5();}import{Plugin as _0x4a0264}from'ckeditor5/src/core.js';import _0x35bc8c from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x5fe8e4 from'./realtimecollaborativeediting.js';function _0x7312(_0x78ff51,_0x1e01e3){const _0x8dc503=_0x8dc5();return _0x7312=function(_0x73124a,_0x390d01){_0x73124a=_0x73124a-0x1cb;let _0x4ad5db=_0x8dc503[_0x73124a];return _0x4ad5db;},_0x7312(_0x78ff51,_0x1e01e3);}import _0x33246e from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x4a0264{static get[_0x4466c1(0x1de)](){const _0x545820=_0x4466c1;return[_0x545820(0x1e2),_0x35bc8c,_0x5fe8e4,_0x33246e];}static get[_0x4466c1(0x1d6)](){const _0x486001=_0x4466c1;return _0x486001(0x1e3);}static get[_0x4466c1(0x1df)](){return!0x0;}static get[_0x4466c1(0x1ec)](){return!0x0;}[_0x4466c1(0x1ed)](){const _0xa74aaf=_0x4466c1,_0x396b62=this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1cb)][_0xa74aaf(0x1d1)](_0x33246e),_0x49a2f6=this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1cb)][_0xa74aaf(0x1d1)](_0xa74aaf(0x1cd)),_0x3f4aed=this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1cb)][_0xa74aaf(0x1d1)](_0x35bc8c);return this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1d3)][_0xa74aaf(0x1d5)](_0xa74aaf(0x1db),()=>{const _0x494534=_0xa74aaf;this[_0x494534(0x1cf)](_0x396b62,_0x494534(0x1ce),(_0x41baed,_0x353789,_0x33a2ad)=>{const _0x1a9233=_0x494534;_0x49a2f6[_0x1a9233(0x1d7)]=_0x1a9233(0x1dd)!==_0x33a2ad;});}),this[_0xa74aaf(0x1cf)](_0x396b62,_0xa74aaf(0x1ce),(_0x1d12aa,_0x52d6ad,_0x5960a8)=>{const _0x26d21d=_0xa74aaf;this[_0x26d21d(0x1d4)][_0x26d21d(0x1cb)][_0x26d21d(0x1d1)](_0x26d21d(0x1e1))[_0x26d21d(0x1cc)](_0x26d21d(0x1dd)!==_0x5960a8);}),_0x3f4aed[_0xa74aaf(0x1ea)](this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1e8)][_0xa74aaf(0x1d1)](_0xa74aaf(0x1da)));}[_0x4466c1(0x1e7)](){const _0x2a07e1=_0x4466c1;this[_0x2a07e1(0x1d4)][_0x2a07e1(0x1cb)][_0x2a07e1(0x1d1)](_0x35bc8c)[_0x2a07e1(0x1dc)](this[_0x2a07e1(0x1d4)][_0x2a07e1(0x1e8)][_0x2a07e1(0x1d1)](_0x2a07e1(0x1da))),super[_0x2a07e1(0x1e7)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4f29f1)());[_0x1476db(0x275)];[_0x1476db(0x28d)];[_0x1476db(0x272)];[_0x1476db(0x253)];[_0x1476db(0x1e9)];[_0x1476db(0x20b)];[_0x1476db(0x215)];[_0x1476db(0x241)];[_0x1476db(0x2b2)];[_0x1476db(0x297)];[_0x1476db(0x228)];[_0x1476db(0x2ba)];[_0x1476db(0x242)];[_0x1476db(0x1f4)];[_0x1476db(0x240)];[_0x1476db(0x25a)];[_0x1476db(0x2ac)];[_0x1476db(0x243)];static get[_0x1476db(0x2bf)](){return[_0x4dc931,_0xbbb5a9,_0x3a0ced,_0x1bd6ad,_0x554773,_0x272b52];}static get[_0x1476db(0x294)](){const _0x58dfed=_0x1476db;return _0x58dfed(0x2e9);}static get[_0x1476db(0x23e)](){return!0x0;}static get[_0x1476db(0x2ae)](){return!0x0;}get[_0x1476db(0x287)](){const _0x3a1cca=_0x1476db;return this[_0x3a1cca(0x2ab)]+this[_0x3a1cca(0x275)];}get[_0x1476db(0x2ab)](){const _0x49058b=_0x1476db;return this[_0x49058b(0x272)][_0x49058b(0x2e6)]-this[_0x49058b(0x275)];}get[_0x1476db(0x2dc)](){const _0x3bc054=_0x1476db,_0x2bfaf2=this[_0x3bc054(0x272)][_0x3bc054(0x225)]();for(let _0x1dc097=_0x2bfaf2[_0x3bc054(0x252)]-0x1;_0x1dc097>=0x0;_0x1dc097--){const _0x19c102=_0x2bfaf2[_0x1dc097];if(!this[_0x3bc054(0x2ac)][_0x3bc054(0x214)](_0x19c102))return _0x19c102[_0x3bc054(0x1f7)]+0x1-this[_0x3bc054(0x275)];}return 0x0;}constructor(_0x576569){const _0x268180=_0x1476db;if(super(_0x576569),this[_0x268180(0x275)]=0x0,this[_0x268180(0x28d)]=null,this[_0x268180(0x272)]=new _0x41ffaa(),this[_0x268180(0x1fc)][_0x268180(0x2a3)][_0x268180(0x2cd)](_0x268180(0x269),{}),this[_0x268180(0x253)]=this[_0x268180(0x1fc)][_0x268180(0x2a3)][_0x268180(0x268)](_0x268180(0x1f5)),!this[_0x268180(0x253)])throw new _0x590191(_0x268180(0x213),this);const _0x14e250=_0x576569[_0x268180(0x2a3)][_0x268180(0x268)](_0x268180(0x1e7))||_0x2568ec;this[_0x268180(0x1e9)]=new l[(_0x268180(0x231))](_0x14e250,this[_0x268180(0x253)]),this[_0x268180(0x20b)]=this[_0x268180(0x1fc)][_0x268180(0x20c)][_0x268180(0x2e7)],this[_0x268180(0x215)]=new _0x5e3aa3(),this[_0x268180(0x241)]=[],this[_0x268180(0x2b2)]=new WeakSet(),this[_0x268180(0x297)]=new Set(),this[_0x268180(0x271)](_0x268180(0x218),!0x1),this[_0x268180(0x271)](_0x268180(0x21a),!0x1),this[_0x268180(0x228)]=null,this[_0x268180(0x2ba)]=!0x1,this[_0x268180(0x242)]=null,this[_0x268180(0x1f4)]=0x12c,this[_0x268180(0x240)]=this[_0x268180(0x1f4)],this[_0x268180(0x25a)]=null,this[_0x268180(0x2ac)]=new WeakSet(),this[_0x268180(0x243)]=new Y(this[_0x268180(0x2ac)]);}[_0x1476db(0x20a)](){const _0x5c9fc9=_0x1476db,_0x253f8f=this[_0x5c9fc9(0x1fc)],_0x6ba067=_0x253f8f[_0x5c9fc9(0x2d4)][_0x5c9fc9(0x268)](_0x554773),_0x30dc1f=_0x253f8f[_0x5c9fc9(0x2d4)][_0x5c9fc9(0x268)](_0x4dc931);this[_0x5c9fc9(0x2a2)](_0x6ba067,_0x5c9fc9(0x251),(_0x22e530,_0x56952f)=>{const _0x23473e=_0x5c9fc9,_0x45c63a=_0x56952f[0x0];_0x45c63a[_0x23473e(0x24c)]&&(_0x22e530[_0x23473e(0x238)]=_0x6ba067[_0x23473e(0x2b8)](_0x45c63a[_0x23473e(0x24c)]),_0x22e530[_0x23473e(0x281)]()),null===_0x45c63a[_0x23473e(0x24c)]&&(_0x22e530[_0x23473e(0x238)]=null,_0x22e530[_0x23473e(0x281)]());},{'priority':_0x5c9fc9(0x201)}),this[_0x5c9fc9(0x2a2)](_0x253f8f[_0x5c9fc9(0x20c)][_0x5c9fc9(0x2e7)][_0x5c9fc9(0x2d8)],_0x5c9fc9(0x2d1),(_0x5acc76,_0x2d1aee)=>{const _0x3b1cf4=_0x5c9fc9;_0x2d1aee[_0x3b1cf4(0x212)]&&this[_0x3b1cf4(0x2e5)]();}),this[_0x5c9fc9(0x2a2)](_0x253f8f[_0x5c9fc9(0x1f9)][_0x5c9fc9(0x254)],_0x5c9fc9(0x1fd),()=>{const _0x527fdc=_0x5c9fc9;this[_0x527fdc(0x2e5)]();}),this[_0x5c9fc9(0x22f)](),_0x253f8f[_0x5c9fc9(0x20c)]['on'](_0x5c9fc9(0x2ca),(_0x370942,_0x2352a5)=>{const _0xca7dd5=_0x5c9fc9,_0x1b3304=_0x2352a5[0x0];_0x1b3304[_0xca7dd5(0x239)]&&(this[_0xca7dd5(0x248)](_0x1b3304),this[_0xca7dd5(0x20f)]()&&this[_0xca7dd5(0x1f0)]());}),this[_0x5c9fc9(0x264)](),this[_0x5c9fc9(0x2b4)](_0x5c9fc9(0x1ef))['to'](_0x30dc1f,_0x5c9fc9(0x249),this,_0x5c9fc9(0x21a),(_0x5a49a7,_0x2847a9)=>_0x5c9fc9(0x2b3)===_0x5a49a7&&!_0x2847a9),this['on'](_0x5c9fc9(0x262),()=>{const _0x234330=_0x5c9fc9;this[_0x234330(0x1ef)]?_0x253f8f[_0x234330(0x2e3)](_0x234330(0x26c)):_0x253f8f[_0x234330(0x23a)](_0x234330(0x26c));}),this[_0x5c9fc9(0x1ef)]?_0x253f8f[_0x5c9fc9(0x2e3)](_0x5c9fc9(0x26c)):_0x253f8f[_0x5c9fc9(0x23a)](_0x5c9fc9(0x26c)),this[_0x5c9fc9(0x271)](_0x5c9fc9(0x21d),!0x1);}async[_0x1476db(0x2e2)](){const _0x24d6e7=_0x1476db,_0x108586=this[_0x24d6e7(0x1fc)][_0x24d6e7(0x2d4)][_0x24d6e7(0x268)](_0xbbb5a9),_0x4e6c23=this[_0x24d6e7(0x1fc)][_0x24d6e7(0x2d4)][_0x24d6e7(0x268)](_0x4dc931);try{this[_0x24d6e7(0x218)]=!0x0,_0x108586[_0x24d6e7(0x20d)](this[_0x24d6e7(0x253)]);const _0x507428=await this[_0x24d6e7(0x1e9)][_0x24d6e7(0x2e2)](_0x4e6c23[_0x24d6e7(0x2c5)],this[_0x24d6e7(0x2dc)]);await this[_0x24d6e7(0x28b)](_0x507428)&&(this[_0x24d6e7(0x218)]=!0x1,this[_0x24d6e7(0x2b6)]());const _0x1022c7=await this[_0x24d6e7(0x1e9)][_0x24d6e7(0x295)]();_0x108586[_0x24d6e7(0x25e)](this[_0x24d6e7(0x253)],_0x1022c7),this[_0x24d6e7(0x273)](),this[_0x24d6e7(0x21d)]=!0x0;}catch(_0x341c6a){if(function(_0x5453a5){const _0x391bd6=_0x24d6e7;return _0x391bd6(0x27a)===_0x5453a5[_0x391bd6(0x27e)];}(_0x341c6a)&&this[_0x24d6e7(0x28d)])await this[_0x24d6e7(0x230)]();else{if(function(_0x3a0dfa){const _0x19cae6=_0x24d6e7;return _0x19cae6(0x29b)===_0x3a0dfa[_0x19cae6(0x27e)];}(_0x341c6a)){const _0x3f10a1=_0x4f485d(this[_0x24d6e7(0x1fc)][_0x24d6e7(0x26d)],_0x24d6e7(0x23c));this[_0x24d6e7(0x2de)](_0x3f10a1);}else{if(!(_0x341c6a instanceof Q))throw _0x341c6a;this[_0x24d6e7(0x2de)]();}}}}[_0x1476db(0x236)](){const _0x17dd8f=_0x1476db,_0x539a66=this[_0x17dd8f(0x1fc)][_0x17dd8f(0x2d4)][_0x17dd8f(0x268)](_0x4dc931),_0x3ef75a=this[_0x17dd8f(0x1fc)][_0x17dd8f(0x2d4)][_0x17dd8f(0x268)](_0xbbb5a9);this[_0x17dd8f(0x1fc)][_0x17dd8f(0x23a)](_0x17dd8f(0x2dd)),_0x3ef75a[_0x17dd8f(0x227)][_0x17dd8f(0x214)](this[_0x17dd8f(0x253)])&&_0x3ef75a[_0x17dd8f(0x20d)](this[_0x17dd8f(0x253)]),_0x539a66[_0x17dd8f(0x219)](this),this[_0x17dd8f(0x2a9)](),super[_0x17dd8f(0x236)]();}async[_0x1476db(0x28b)](_0x8bbcee){const _0x209953=_0x1476db;if(this[_0x209953(0x28d)]!==_0x8bbcee[_0x209953(0x28d)]&&this[_0x209953(0x25a)]!==_0x8bbcee[_0x209953(0x28c)])throw new Q();return this[_0x209953(0x28d)]=_0x8bbcee[_0x209953(0x28d)],this[_0x209953(0x1ec)]([],{..._0x8bbcee,'wereChangesApplied':!0x1,'data':_0x8bbcee[_0x209953(0x2a7)]},_0x209953(0x2e2));}async[_0x1476db(0x222)](_0x5cd919,_0x4e4259=!0x1){const _0x27700b=_0x1476db,{connection:_0x21e175}=this[_0x27700b(0x1fc)][_0x27700b(0x2d4)][_0x27700b(0x268)](_0x4dc931);l[_0x27700b(0x231)][_0x27700b(0x295)](_0x21e175,this[_0x27700b(0x253)])[_0x27700b(0x286)](_0x474892=>this[_0x27700b(0x2e4)](_0x474892))[_0x27700b(0x291)](_0x4c4e88=>{const _0x112dda=_0x27700b;this[_0x112dda(0x1ea)](_0x112dda(0x267),_0x4c4e88);}),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x2b7),this[_0x27700b(0x260)][_0x27700b(0x2b4)](this)),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x279),(_0x1339cb,_0x221da8)=>{const _0x437168=_0x27700b;this[_0x437168(0x1ea)](_0x437168(0x22e),_0x221da8);}),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x2bc),()=>{const _0x1dc302=_0x27700b;this[_0x1dc302(0x21d)]=!0x1;});const _0x4a08cd=this[_0x27700b(0x243)][_0x27700b(0x237)](_0x5cd919);this[_0x27700b(0x218)]=!0x0;const _0x4ce023=await this[_0x27700b(0x1e9)][_0x27700b(0x2c2)](_0x21e175,this[_0x27700b(0x217)](_0x5cd919),_0x4a08cd);if(this[_0x27700b(0x28d)]=_0x4ce023[_0x27700b(0x28d)],_0x4e4259){if(!_0x4ce023[_0x27700b(0x1ff)])return void this[_0x27700b(0x2de)]();this[_0x27700b(0x218)]=!0x1,this[_0x27700b(0x2b6)](),this[_0x27700b(0x272)][_0x27700b(0x1fa)](),this[_0x27700b(0x275)]=_0x4ce023[_0x27700b(0x229)],this[_0x27700b(0x272)][_0x27700b(0x2e6)]=this[_0x27700b(0x275)],await this[_0x27700b(0x1ec)](_0x5cd919,_0x4ce023,_0x27700b(0x277));}else await this[_0x27700b(0x250)](_0x4ce023,_0x5cd919);this[_0x27700b(0x273)](),this[_0x27700b(0x21d)]=!0x0;}[_0x1476db(0x273)](){const _0x256104=_0x1476db,_0x4ea684=this[_0x256104(0x1fc)][_0x256104(0x2d4)][_0x256104(0x268)](_0xbbb5a9),_0xb16d1=this[_0x256104(0x1fc)][_0x256104(0x2d4)][_0x256104(0x268)](_0x3a0ced),_0x4e3a56=_0x4ea684[_0x256104(0x227)][_0x256104(0x268)](this[_0x256104(0x253)]);_0x4e3a56&&_0x4e3a56[_0x256104(0x252)]>0x1?_0xb16d1[_0x256104(0x21f)]():this[_0x256104(0x2a2)](_0x4ea684,_0x256104(0x24b)+this[_0x256104(0x253)],()=>{const _0xfed881=_0x256104;0x2===_0x4ea684[_0xfed881(0x227)][_0xfed881(0x268)](this[_0xfed881(0x253)])[_0xfed881(0x252)]&&_0xb16d1[_0xfed881(0x21f)]();});}async[_0x1476db(0x260)](_0x3bdf6f,_0x2798f8,_0x214ee3,_0x55c4d3){const _0x35b00d=_0x1476db;if(!this[_0x35b00d(0x218)]&&this[_0x35b00d(0x20b)][_0x35b00d(0x2e6)]==_0x2798f8){const _0x1ebfc4=this[_0x35b00d(0x2e8)](_0x214ee3,_0x55c4d3);await this[_0x35b00d(0x266)](_0x1ebfc4),this[_0x35b00d(0x23f)](_0x1ebfc4,_0x2798f8,_0x214ee3[_0x35b00d(0x28c)])||this[_0x35b00d(0x1ea)](_0x35b00d(0x2aa));}}async[_0x1476db(0x230)](){const _0x4a43f9=_0x1476db;this[_0x4a43f9(0x2a9)]();const {locale:_0x58b441}=this[_0x4a43f9(0x1fc)];let _0x37f6d6;try{_0x37f6d6=await this[_0x4a43f9(0x1e9)][_0x4a43f9(0x233)]();}catch(_0x1d9e40){const _0x44694f=_0x4f485d(_0x58b441,_0x4a43f9(0x2bb));return void this[_0x4a43f9(0x2de)](_0x44694f);}const _0x58ceab=_0x37f6d6[_0x4a43f9(0x256)]||_0x37f6d6[_0x4a43f9(0x259)];if(this[_0x4a43f9(0x25a)]===_0x58ceab[_0x4a43f9(0x28c)])await this[_0x4a43f9(0x222)](this[_0x4a43f9(0x1fc)][_0x4a43f9(0x20c)][_0x4a43f9(0x2e7)][_0x4a43f9(0x1f8)][_0x4a43f9(0x225)](),!0x0);else{const _0x5b769c=_0x4f485d(_0x58b441,_0x4a43f9(0x2a4));this[_0x4a43f9(0x2de)](_0x5b769c);}}[_0x1476db(0x2a9)](){const _0x3ad218=_0x1476db;this[_0x3ad218(0x1e9)][_0x3ad218(0x221)](),this[_0x3ad218(0x241)]=[],clearTimeout(this[_0x3ad218(0x242)]),this[_0x3ad218(0x1f6)](this[_0x3ad218(0x1e9)]);}[_0x1476db(0x2e4)](_0x343f6d){const _0x591c89=_0x1476db,_0x5ea969=this[_0x591c89(0x1fc)][_0x591c89(0x2d4)][_0x591c89(0x268)](_0xbbb5a9);this[_0x591c89(0x2a2)](_0x5ea969,_0x591c89(0x24b)+this[_0x591c89(0x253)],(_0x53028d,{session:_0x460c7f})=>{const _0x315b16=_0x591c89;if(_0x460c7f['id']===_0x5ea969[_0x315b16(0x2c8)]){_0x53028d[_0x315b16(0x20e)]();const _0x2a3f7b=this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x214)](_0x315b16(0x282))&&this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x268)](_0x315b16(0x282));let _0x24f12d=_0x460c7f[_0x315b16(0x2e0)];_0x2a3f7b&&_0x2a3f7b[_0x315b16(0x25f)]&&(_0x24f12d=_0x24f12d[_0x315b16(0x2cb)](_0x39d238=>_0x315b16(0x208)!==_0x39d238)),this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x268)](_0x315b16(0x2b1))[_0x315b16(0x2d3)](_0x24f12d,this[_0x315b16(0x253)]);}}),_0x5ea969[_0x591c89(0x25e)](this[_0x591c89(0x253)],_0x343f6d);}[_0x1476db(0x22f)](){const _0x15dc16=_0x1476db,_0x4492cc=this[_0x15dc16(0x1fc)][_0x15dc16(0x2a7)][_0x15dc16(0x271)];this[_0x15dc16(0x1fc)][_0x15dc16(0x2a7)][_0x15dc16(0x271)]=(..._0x115c8a)=>{const _0x26f2c3=_0x15dc16;if(!_0x115c8a[_0x115c8a[_0x26f2c3(0x252)]-0x1][_0x26f2c3(0x2b9)])throw new _0x590191(_0x26f2c3(0x2c4),this);_0x4492cc[_0x26f2c3(0x26b)](this[_0x26f2c3(0x1fc)][_0x26f2c3(0x2a7)],_0x115c8a);};}[_0x1476db(0x264)](){const _0x4ed35f=_0x1476db;this[_0x4ed35f(0x1fc)][_0x4ed35f(0x2a7)]['on'](_0x4ed35f(0x20a),(_0x32701b,[_0x43dac2])=>{const _0x5a49b7=_0x4ed35f;if(this[_0x5a49b7(0x20b)][_0x5a49b7(0x2e6)])throw new _0x590191(_0x5a49b7(0x2da),this);_0x32701b[_0x5a49b7(0x281)](),this[_0x5a49b7(0x245)]();const _0x355dcb=this[_0x5a49b7(0x1fc)][_0x5a49b7(0x2a3)][_0x5a49b7(0x268)](_0x5a49b7(0x23b)),_0x231b01=this[_0x5a49b7(0x25b)](_0x43dac2,_0x355dcb);0x0==_0x231b01[_0x5a49b7(0x252)]&&_0x231b01[_0x5a49b7(0x2df)](new _0x5d7728(0x0)),_0x32701b[_0x5a49b7(0x238)]=this[_0x5a49b7(0x222)](_0x231b01)[_0x5a49b7(0x286)](()=>{const _0x53f5c6=_0x5a49b7;this[_0x53f5c6(0x1fc)][_0x53f5c6(0x2d4)][_0x53f5c6(0x268)](_0x4dc931)[_0x53f5c6(0x26a)](this),this[_0x53f5c6(0x1fc)][_0x53f5c6(0x2a7)][_0x53f5c6(0x299)](_0x53f5c6(0x2ce));})[_0x5a49b7(0x291)](_0x43ac78=>this[_0x5a49b7(0x1ea)](_0x5a49b7(0x22d),_0x43ac78))[_0x5a49b7(0x296)](()=>this[_0x5a49b7(0x2b6)]());},{'priority':_0x4ed35f(0x201)}),this[_0x4ed35f(0x1fc)]['on'](_0x4ed35f(0x2b5),async(_0x1db954,[_0x47a11f,_0x50bad0])=>{const _0x432f35=_0x4ed35f;_0x1db954[_0x432f35(0x281)]();const _0x2a0083=this[_0x432f35(0x1fc)][_0x432f35(0x20c)][_0x432f35(0x2e7)][_0x432f35(0x2c9)](_0x47a11f);if(!this[_0x432f35(0x297)][_0x432f35(0x214)](_0x47a11f)){const _0x1aecf8=_0x50bad0&&_0x50bad0[_0x432f35(0x2a7)]?_0x50bad0[_0x432f35(0x2a7)]:'',_0x5094d2=_0x50bad0&&_0x50bad0[_0x432f35(0x22a)]?_0x50bad0[_0x432f35(0x22a)]:{};await this[_0x432f35(0x200)](_0x47a11f,_0x1aecf8,_0x5094d2);}this[_0x432f35(0x1fc)][_0x432f35(0x20c)][_0x432f35(0x205)]({'isUndoable':!0x1},()=>{const _0x249399=_0x432f35;_0x2a0083[_0x249399(0x26f)]=!0x0,this[_0x249399(0x1fc)][_0x249399(0x20c)][_0x249399(0x2e7)][_0x249399(0x244)][_0x249399(0x209)](_0x2a0083);});},{'priority':_0x4ed35f(0x201)});}async[_0x1476db(0x266)](_0x1ce82a){const _0x41af0c=_0x1476db,_0x2e04ee=this[_0x41af0c(0x1fc)][_0x41af0c(0x2d4)][_0x41af0c(0x268)](_0x554773),{connection:_0x31e116}=this[_0x41af0c(0x1fc)][_0x41af0c(0x2d4)][_0x41af0c(0x268)](_0x4dc931),_0x4c27f7=new Set();for(const _0x2dd9e4 of _0x1ce82a){const _0x2a83ba=_0x2dd9e4[_0x41af0c(0x24c)];_0x2a83ba&&!_0x2e04ee[_0x41af0c(0x2b8)](_0x2a83ba)&&_0x4c27f7[_0x41af0c(0x293)](_0x2a83ba);}if(0x0===_0x4c27f7[_0x41af0c(0x203)])return;const _0x169908=await _0x19450e[_0x41af0c(0x22c)](_0x31e116,Array[_0x41af0c(0x26e)](_0x4c27f7));for(const _0x3613d4 of _0x169908)_0x2e04ee[_0x41af0c(0x2b8)](_0x3613d4['id'])||_0x2e04ee[_0x41af0c(0x255)](_0x3613d4);}[_0x1476db(0x25b)](_0x16c0c8,_0x24293e={}){const _0x546c44=_0x1476db,_0x2b7005=this[_0x546c44(0x1fc)][_0x546c44(0x20c)],_0x265505=[];let _0x122c9d=0x0;const _0x14bde2=_0x546c44(0x24f)==typeof _0x16c0c8?{'main':_0x16c0c8}:_0x16c0c8;for(const _0x5489d5 of Object[_0x546c44(0x216)](_0x14bde2)){if(!this[_0x546c44(0x20b)][_0x546c44(0x278)][_0x546c44(0x214)](_0x5489d5))throw new _0x590191(_0x546c44(0x2a1),this);const _0x31b46c=this[_0x546c44(0x1fc)][_0x546c44(0x2a7)][_0x546c44(0x28a)](_0x14bde2[_0x5489d5]),_0x3f5a9b=this[_0x546c44(0x20b)][_0x546c44(0x2c9)](_0x5489d5),_0x4f9a78=new _0xd8a022(_0x2b7005[_0x546c44(0x2bd)](_0x3f5a9b,0x0),_0x31b46c,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x4f9a78);for(const [_0x1c96d0,_0x2ac0c6]of _0x31b46c[_0x546c44(0x27f)]){const _0x14bca3=_0x2b7005[_0x546c44(0x235)](_0x2b7005[_0x546c44(0x2d2)](_0x3f5a9b,_0x2ac0c6[_0x546c44(0x220)][_0x546c44(0x298)][_0x546c44(0x2c7)]()),_0x2b7005[_0x546c44(0x2d2)](_0x3f5a9b,_0x2ac0c6[_0x546c44(0x223)][_0x546c44(0x298)][_0x546c44(0x2c7)]())),_0x5e5622=new _0x1fdfb4(_0x1c96d0,null,_0x14bca3,_0x2b7005[_0x546c44(0x27f)],!0x0,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x5e5622);}}if(_0x24293e)for(const [_0x26998f,_0x4b0692]of Object[_0x546c44(0x257)](_0x24293e)){const _0xe3fb52=_0x2b7005[_0x546c44(0x2e7)][_0x546c44(0x2c9)](_0x26998f);if(!_0xe3fb52)throw new _0x590191(_0x546c44(0x1eb),null);for(const [_0x377f70,_0x30ed77]of Object[_0x546c44(0x257)](_0x4b0692))if(null!==_0x30ed77){const _0x56d9e6=new _0x568806(_0xe3fb52,_0x377f70,null,_0x30ed77,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x56d9e6);}}return _0x265505;}async[_0x1476db(0x200)](_0x2283b0,_0x184d3a,_0x32961d){const _0x3cde24=_0x1476db;this[_0x3cde24(0x25b)]({[_0x2283b0]:_0x184d3a},{[_0x2283b0]:_0x32961d})[_0x3cde24(0x2a6)]((_0x27f343,_0x40213b)=>{const _0x382825=_0x3cde24;_0x27f343[_0x382825(0x1f7)]=this[_0x382825(0x20b)][_0x382825(0x2e6)]+_0x40213b,_0x27f343[_0x382825(0x224)]=!0x0,this[_0x382825(0x248)](_0x27f343);}),this[_0x3cde24(0x1f0)](),await this[_0x3cde24(0x27d)]();}async[_0x1476db(0x250)](_0xa0897e,_0xff501a){const _0x2ccea4=_0x1476db;let _0x54a6f9;this[_0x2ccea4(0x275)]=_0xa0897e[_0x2ccea4(0x229)];const _0x2dd08e=_0xa0897e[_0x2ccea4(0x1ff)]&&!_0xa0897e[_0x2ccea4(0x288)],_0x50e8cf=_0x2dd08e?0x0:_0xa0897e[_0x2ccea4(0x2a7)][_0x2ccea4(0x1f7)];if(_0xff501a[_0x2ccea4(0x2a6)](_0x5291ce=>{const _0x164ba6=_0x2ccea4;_0x5291ce[_0x164ba6(0x224)]=!0x0,_0x5291ce[_0x164ba6(0x2d9)]=_0xa0897e[_0x164ba6(0x2db)],_0x5291ce[_0x164ba6(0x24c)]=null;}),_0x2dd08e)_0x54a6f9=_0xff501a,this[_0x2ccea4(0x270)](_0x54a6f9,_0x2dd08e);else{if(_0xa0897e[_0x2ccea4(0x288)]){const _0xa81228=this[_0x2ccea4(0x25b)](_0xa0897e[_0x2ccea4(0x288)]);this[_0x2ccea4(0x20b)][_0x2ccea4(0x1f8)][_0x2ccea4(0x2e6)]=-_0xa81228[_0x2ccea4(0x252)],_0xa81228[_0x2ccea4(0x2a6)](_0x3ac07b=>{const _0x27f1ba=_0x2ccea4;_0x3ac07b[_0x27f1ba(0x1f7)]-=_0xa81228[_0x27f1ba(0x252)],_0x3ac07b[_0x27f1ba(0x2d9)]=_0xa0897e[_0x27f1ba(0x2db)],_0x3ac07b[_0x27f1ba(0x224)]=!0x0,_0x3ac07b[_0x27f1ba(0x24c)]=null;}),this[_0x2ccea4(0x270)](_0xa81228,!0x0),this[_0x2ccea4(0x272)][_0x2ccea4(0x2e6)]=-_0xa81228[_0x2ccea4(0x252)]+this[_0x2ccea4(0x275)],this[_0x2ccea4(0x24d)](_0xa81228);}this[_0x2ccea4(0x20b)][_0x2ccea4(0x1f8)][_0x2ccea4(0x2e6)]=_0x50e8cf,_0x54a6f9=this[_0x2ccea4(0x2e8)](_0xa0897e[_0x2ccea4(0x2a7)],_0xa0897e[_0x2ccea4(0x289)]),await this[_0x2ccea4(0x266)](_0x54a6f9),this[_0x2ccea4(0x270)](_0x54a6f9,_0x2dd08e);}_0xa0897e[_0x2ccea4(0x28c)]&&(this[_0x2ccea4(0x243)][_0x2ccea4(0x1e8)](_0x54a6f9,_0xa0897e[_0x2ccea4(0x28c)]),this[_0x2ccea4(0x25a)]=_0xa0897e[_0x2ccea4(0x28c)]),this[_0x2ccea4(0x272)][_0x2ccea4(0x2e6)]=_0x50e8cf+this[_0x2ccea4(0x275)],this[_0x2ccea4(0x24d)](_0x54a6f9),_0xff501a[_0x2ccea4(0x2cb)](_0x386a71=>{const _0x35b1a3=_0x2ccea4,_0x585d29=this[_0x35b1a3(0x1f1)](_0x386a71);return _0x585d29&&!this[_0x35b1a3(0x297)][_0x35b1a3(0x214)](_0x585d29);})[_0x2ccea4(0x2a6)]((_0x4b1bd6,_0x416049)=>{const _0xefe33=_0x2ccea4;_0x4b1bd6[_0xefe33(0x1f7)]=this[_0xefe33(0x20b)][_0xefe33(0x2e6)]+_0x416049,this[_0xefe33(0x248)](_0x4b1bd6);}),this[_0x2ccea4(0x20f)]()?(this[_0x2ccea4(0x240)]=0x0,this[_0x2ccea4(0x1f0)](!0x0),await this[_0x2ccea4(0x27d)]()):(this[_0x2ccea4(0x218)]=!0x1,this[_0x2ccea4(0x2b6)]());}[_0x1476db(0x1ea)](_0x1fedbe,_0x55229a){const _0x4fae9f=_0x1476db,_0xa6644f=_0x55229a&&_0x55229a[_0x4fae9f(0x24e)];if(_0xa6644f&&_0xa6644f[_0x4fae9f(0x2d0)](_0x4fae9f(0x210)))throw _0x55229a;const _0x426bf0=this[_0x4fae9f(0x1fc)][_0x4fae9f(0x2d4)][_0x4fae9f(0x268)](_0x4dc931);throw this[_0x4fae9f(0x218)]=!0x0,_0x426bf0[_0x4fae9f(0x221)](),this[_0x4fae9f(0x1fc)][_0x4fae9f(0x23a)](_0x4fae9f(0x274)),new _0x590191(_0x1fedbe,this[_0x4fae9f(0x1fc)],_0xa6644f?{'originalError':_0xa6644f}:void 0x0);}[_0x1476db(0x248)](_0x52263c){const _0x363afe=_0x1476db;this[_0x363afe(0x2b2)][_0x363afe(0x214)](_0x52263c)||(this[_0x363afe(0x2b2)][_0x363afe(0x293)](_0x52263c),this[_0x363afe(0x241)][_0x363afe(0x2df)](_0x52263c),this[_0x363afe(0x228)]||_0x363afe(0x1ed)==_0x52263c[_0x363afe(0x2a8)]&&!_0x52263c[_0x363afe(0x276)]||this[_0x363afe(0x245)]());}[_0x1476db(0x1f0)](_0x595407=!0x1){const _0x19cfc4=_0x1476db;!_0x595407&&this[_0x19cfc4(0x218)]||(this[_0x19cfc4(0x218)]=!0x0,clearTimeout(this[_0x19cfc4(0x242)]),this[_0x19cfc4(0x242)]=setTimeout(()=>{const _0x366856=_0x19cfc4;this[_0x366856(0x2cf)]()[_0x366856(0x286)](_0x2ae7a5=>{const _0x186e15=_0x366856;_0x2ae7a5&&(this[_0x186e15(0x2b6)](),this[_0x186e15(0x218)]=!0x1);})[_0x366856(0x291)](_0x314fb5=>{const _0x498619=_0x366856;this[_0x498619(0x2b6)](),this[_0x498619(0x218)]=!0x1,function(_0x2fb9bd){const _0xba9e5a=_0x498619;return _0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x204))||_0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x29e))||_0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x29c));}(_0x314fb5)||this[_0x498619(0x1ea)](_0x314fb5[_0x498619(0x24e)],_0x314fb5);});},this[_0x19cfc4(0x240)]));}[_0x1476db(0x27d)](){return new Promise(_0xa057c5=>{const _0x292edd=_0x92ac;this['on'](_0x292edd(0x234),()=>{_0xa057c5();});});}async[_0x1476db(0x2cf)](){const _0x2965fe=_0x1476db,_0x24eabe=this[_0x2965fe(0x1fc)][_0x2965fe(0x2d4)][_0x2965fe(0x268)](_0x3a0ced);if(this[_0x2965fe(0x2c1)]()&&(_0x24eabe[_0x2965fe(0x21f)](),this[_0x2965fe(0x2ba)]=!0x1),!this[_0x2965fe(0x20f)]())return!0x0;const _0x217223=[...this[_0x2965fe(0x241)]];for(const _0x4aa5c9 of _0x217223)_0x4aa5c9[_0x2965fe(0x211)]=this[_0x2965fe(0x20b)][_0x2965fe(0x1f8)][_0x2965fe(0x1fe)](_0x4aa5c9);const _0x7a01db=this[_0x2965fe(0x243)][_0x2965fe(0x237)](_0x217223),_0x215d70=J++,_0x447b3f=this[_0x2965fe(0x217)](_0x217223),_0x530f9f=await this[_0x2965fe(0x1e9)][_0x2965fe(0x2d7)](_0x447b3f,_0x447b3f[_0x2965fe(0x1f7)],_0x7a01db);try{return await this[_0x2965fe(0x1ec)](_0x217223,_0x530f9f,_0x215d70);}catch(_0x508b17){return this[_0x2965fe(0x1ea)](_0x2965fe(0x2c6),_0x508b17);}}async[_0x1476db(0x1ec)](_0x3f217a,_0x1f025b,_0x264701){const _0x29bd87=_0x1476db;if(_0x29bd87(0x279)in _0x1f025b)throw _0x1f025b[_0x29bd87(0x279)];let _0x2196eb=!0x1;if(_0x1f025b[_0x29bd87(0x1ff)]){_0x1f025b[_0x29bd87(0x28c)]&&(this[_0x29bd87(0x25a)]=_0x1f025b[_0x29bd87(0x28c)]),this[_0x29bd87(0x241)]=this[_0x29bd87(0x241)][_0x29bd87(0x2cb)](_0x4e682=>!_0x3f217a[_0x29bd87(0x284)](_0x4e682));for(const _0x3c70f7 of _0x3f217a)_0x3c70f7[_0x29bd87(0x2d9)]=_0x29bd87(0x28f)in _0x1f025b&&_0x1f025b[_0x29bd87(0x28f)]||void 0x0;X(_0x3f217a,_0x1f025b[_0x29bd87(0x2e6)]-_0x3f217a[_0x29bd87(0x252)]),this[_0x29bd87(0x24d)](_0x3f217a);const _0x10dced=_0x3f217a[_0x29bd87(0x2cb)](_0x588bdf=>{const _0x2f530a=_0x29bd87;if(!_0x588bdf[_0x2f530a(0x224)])return!0x1;const _0x2d8098=this[_0x2f530a(0x1f1)](_0x588bdf);return _0x2d8098&&!this[_0x2f530a(0x297)][_0x2f530a(0x214)](_0x2d8098);});X(_0x10dced,this[_0x29bd87(0x20b)][_0x29bd87(0x2e6)]),this[_0x29bd87(0x270)](_0x10dced),_0x2196eb=!0x0,this[_0x29bd87(0x240)]=this[_0x29bd87(0x1f4)];}else{const _0x1c98b2=this[_0x29bd87(0x2e8)](_0x1f025b[_0x29bd87(0x2a7)],_0x1f025b[_0x29bd87(0x289)])[_0x29bd87(0x2cb)](_0x415cd3=>_0x415cd3[_0x29bd87(0x1f7)]>=this[_0x29bd87(0x2ab)]);_0x1c98b2[_0x29bd87(0x2a6)](_0x1c36d0=>this[_0x29bd87(0x263)](_0x1c36d0)),this[_0x29bd87(0x241)]=this[_0x29bd87(0x241)][_0x29bd87(0x2cb)](_0x50664b=>!_0x50664b[_0x29bd87(0x224)]||!this[_0x29bd87(0x297)][_0x29bd87(0x214)](this[_0x29bd87(0x1f1)](_0x50664b))),this[_0x29bd87(0x241)][_0x29bd87(0x252)]&&X(this[_0x29bd87(0x241)],this[_0x29bd87(0x241)][0x0][_0x29bd87(0x1f7)]),await this[_0x29bd87(0x266)](_0x1c98b2),_0x2196eb=this[_0x29bd87(0x23f)](_0x1c98b2,_0x1f025b[_0x29bd87(0x2e6)],_0x1f025b[_0x29bd87(0x28c)]),this[_0x29bd87(0x240)]=Math[_0x29bd87(0x207)](this[_0x29bd87(0x240)]/0x2);}return _0x2196eb?!this[_0x29bd87(0x20f)]()||(this[_0x29bd87(0x1f0)](!0x0),!0x1):this[_0x29bd87(0x1ea)](_0x29bd87(0x283));}[_0x1476db(0x23f)](_0x4b88f0,_0x8413d4,_0xd9d491){const _0x2eb849=_0x1476db;try{const _0x7e0186={'document':this[_0x2eb849(0x20b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2de1fa,operationsB:_0x1635b8,originalOperations:_0xca8b05}=_0x153093(_0x4b88f0,this[_0x2eb849(0x241)],_0x7e0186);X(_0x2de1fa,this[_0x2eb849(0x20b)][_0x2eb849(0x2e6)]),X(_0x1635b8,_0x8413d4);for(const _0x21ac92 of _0x2de1fa){const _0x16e5f3=_0xca8b05[_0x2eb849(0x268)](_0x21ac92);_0x21ac92[_0x2eb849(0x24c)]=_0x16e5f3?_0x16e5f3[_0x2eb849(0x24c)]:null;}_0xd9d491&&(this[_0x2eb849(0x243)][_0x2eb849(0x1e8)](_0x4b88f0,_0xd9d491),this[_0x2eb849(0x25a)]=_0xd9d491),this[_0x2eb849(0x241)]=[..._0x1635b8],this[_0x2eb849(0x270)](_0x2de1fa),this[_0x2eb849(0x24d)](_0x4b88f0);}catch(_0x147e61){return console[_0x2eb849(0x279)](_0x147e61),!0x1;}return!0x0;}[_0x1476db(0x270)](_0x2a11ff,_0x1ee656=!0x1){const _0x1c9041=_0x1476db;this[_0x1c9041(0x1fc)][_0x1c9041(0x20c)][_0x1c9041(0x205)]({'isUndoable':!0x1,'isLocal':!0x1},_0x31bead=>{const _0x2a62b6=_0x1c9041;for(const _0xac590d of _0x2a11ff)this[_0x2a62b6(0x2b2)][_0x2a62b6(0x293)](_0xac590d),this[_0x2a62b6(0x263)](_0xac590d),_0x31bead[_0x2a62b6(0x27c)][_0x2a62b6(0x2c3)](_0xac590d),this[_0x2a62b6(0x1fc)][_0x2a62b6(0x20c)][_0x2a62b6(0x2ca)](_0xac590d);});}[_0x1476db(0x263)](_0x2636bb){const _0x31b176=_0x1476db,_0x19c4de=this[_0x31b176(0x1f1)](_0x2636bb);_0x19c4de&&this[_0x31b176(0x297)][_0x31b176(0x293)](_0x19c4de);}[_0x1476db(0x1f1)](_0xde424f){const _0x40bbbb=_0x1476db;let _0x438829,_0x4a095d;switch(_0xde424f[_0x40bbbb(0x2a8)]){case _0x40bbbb(0x25c):_0x438829=_0xde424f[_0x40bbbb(0x261)][_0x40bbbb(0x21b)];break;case _0x40bbbb(0x1ed):if(_0x4a095d=_0xde424f[_0x40bbbb(0x25d)],!_0x4a095d)return null;_0x438829=_0x4a095d[_0x40bbbb(0x21b)];break;case _0x40bbbb(0x27b):_0x438829=_0xde424f[_0x40bbbb(0x21b)];break;case _0x40bbbb(0x23d):_0x438829=_0xde424f[_0x40bbbb(0x290)];break;case _0x40bbbb(0x265):_0x438829=_0xde424f[_0x40bbbb(0x21c)][_0x40bbbb(0x21b)];break;default:return null;}return _0x438829[_0x40bbbb(0x1f3)];}[_0x1476db(0x24d)](_0x45c9b0){const _0x39430e=_0x1476db;_0x45c9b0[_0x39430e(0x2a6)](_0x176012=>{const _0x20a926=_0x39430e,_0x273d0f=_0x176012[_0x20a926(0x24a)]();_0x273d0f[_0x20a926(0x24c)]=_0x176012[_0x20a926(0x24c)],_0x273d0f[_0x20a926(0x224)]=!!_0x176012[_0x20a926(0x224)],_0x273d0f[_0x20a926(0x2d9)]=_0x176012[_0x20a926(0x2d9)],_0x273d0f[_0x20a926(0x1f7)]+=this[_0x20a926(0x275)],_0x176012[_0x20a926(0x285)]&&this[_0x20a926(0x2ac)][_0x20a926(0x293)](_0x273d0f),this[_0x20a926(0x272)][_0x20a926(0x2c3)](_0x273d0f);});}[_0x1476db(0x2de)](_0x5f41c4){const _0x358b60=_0x1476db,_0x55fa25=this[_0x358b60(0x1fc)][_0x358b60(0x2d4)][_0x358b60(0x268)](_0x358b60(0x2ad)),_0x55f901=this[_0x358b60(0x1fc)][_0x358b60(0x26d)];_0x5f41c4||(_0x5f41c4=_0x4f485d(_0x55f901,_0x358b60(0x258))),_0x55fa25[_0x358b60(0x29f)](_0x5f41c4,{'title':_0x4f485d(_0x55f901,_0x358b60(0x1f2)),'namespace':_0x358b60(0x232)}),this[_0x358b60(0x21a)]=!0x0,clearTimeout(this[_0x358b60(0x242)]),this[_0x358b60(0x241)]=[],this[_0x358b60(0x1fc)][_0x358b60(0x2d4)][_0x358b60(0x268)](_0x4dc931)[_0x358b60(0x221)]();}[_0x1476db(0x245)](){const _0x513de9=_0x1476db;this[_0x513de9(0x228)]||(this[_0x513de9(0x228)]=this[_0x513de9(0x1fc)][_0x513de9(0x2d4)][_0x513de9(0x268)](_0x1bd6ad)[_0x513de9(0x293)](_0x4f485d(this[_0x513de9(0x1fc)][_0x513de9(0x26d)],_0x513de9(0x2d6))));}[_0x1476db(0x2b6)](){const _0x46aef4=_0x1476db;this[_0x46aef4(0x228)]&&(this[_0x46aef4(0x1fc)][_0x46aef4(0x2d4)][_0x46aef4(0x268)](_0x1bd6ad)[_0x46aef4(0x28e)](this[_0x46aef4(0x228)]),this[_0x46aef4(0x228)]=null);}[_0x1476db(0x217)](_0x1a7508){const _0x2e0ff0=_0x1476db,_0x445a56=_0x1a7508[_0x2e0ff0(0x206)](_0x3f93eb=>_0x3f93eb[_0x2e0ff0(0x2a0)]());return this[_0x2e0ff0(0x215)][_0x2e0ff0(0x2a5)](_0x445a56);}[_0x1476db(0x2e8)](_0x45ceb8,_0xc1f4de){const _0xd19a45=_0x1476db;return this[_0xd19a45(0x215)][_0xd19a45(0x2cc)](_0x45ceb8)[_0xd19a45(0x206)]((_0x2b8c8a,_0x67c0da)=>{const _0x5a7071=_0xd19a45,_0x5b9863=_0x5a7071(0x20a)==_0xc1f4de[_0x67c0da][_0x5a7071(0x2a8)];if(_0x5a7071(0x22b)==_0x2b8c8a[_0x5a7071(0x2c0)]){const _0x2eb966=_0x2b8c8a[_0x5a7071(0x261)][_0x5a7071(0x21b)];!this[_0x5a7071(0x20b)][_0x5a7071(0x2c9)](_0x2eb966)&&(this[_0x5a7071(0x20b)][_0x5a7071(0x280)](_0x5a7071(0x29d),_0x2eb966)[_0x5a7071(0x1fb)]=!0x1);}const _0x34fc02=_0x26a5eb[_0x5a7071(0x29a)](_0x2b8c8a,this[_0x5a7071(0x20b)]);return _0x34fc02[_0x5a7071(0x211)]=_0x2b8c8a[_0x5a7071(0x211)],_0x34fc02[_0x5a7071(0x224)]=_0x5b9863,_0x34fc02[_0x5a7071(0x24c)]=_0x5b9863?null:_0xc1f4de[_0x67c0da][_0x5a7071(0x2d5)],_0x34fc02[_0x5a7071(0x285)]=_0x5a7071(0x246)===_0xc1f4de[_0x67c0da][_0x5a7071(0x2a8)],_0x34fc02[_0x5a7071(0x2d9)]=_0xc1f4de[_0x67c0da][_0x5a7071(0x2d9)],_0x34fc02;});}[_0x1476db(0x2e5)](){const _0x446004=_0x1476db;this[_0x446004(0x2ba)]=!0x0,this[_0x446004(0x2c1)]()?this[_0x446004(0x1f0)]():this[_0x446004(0x2ba)]=!0x1;}[_0x1476db(0x2c1)](){const _0x29de67=_0x1476db,_0x29646c=this[_0x29de67(0x1fc)][_0x29de67(0x2d4)][_0x29de67(0x268)](_0xbbb5a9)[_0x29de67(0x227)][_0x29de67(0x268)](this[_0x29de67(0x253)]);return!this[_0x29de67(0x1fc)][_0x29de67(0x292)]&&!!_0x29646c&&_0x29646c[_0x29de67(0x252)]>0x1&&this[_0x29de67(0x2ba)];}[_0x1476db(0x20f)](){const _0x36ccc3=_0x1476db;return this[_0x36ccc3(0x241)][_0x36ccc3(0x252)]>0x0||this[_0x36ccc3(0x2c1)]();}}export default l;class Q extends Error{}function X(_0x2484b2,_0x34f76e){const _0x10c9cf=_0x1476db;for(const _0x19980d of _0x2484b2)_0x19980d[_0x10c9cf(0x1f7)]=_0x34f76e++;}class Y{[_0x1476db(0x202)];[_0x1476db(0x21e)];constructor(_0xac231f){const _0x180446=_0x1476db;this[_0x180446(0x202)]=_0xac231f,this[_0x180446(0x21e)]=new WeakMap();}[_0x1476db(0x237)](_0x2d5b5c){const _0x57af43=_0x1476db;let _0x5b653a=_0x2d5b5c[_0x57af43(0x252)];for(;_0x5b653a--;){const _0x326494=_0x2d5b5c[_0x5b653a];if(!this[_0x57af43(0x202)][_0x57af43(0x214)](_0x326494)){if(!this[_0x57af43(0x21e)][_0x57af43(0x214)](_0x326494)){const _0x3a9f31=_0x1bff2c()[_0x57af43(0x2c7)](0x1,0x12);this[_0x57af43(0x21e)][_0x57af43(0x271)](_0x326494,_0x3a9f31);}return this[_0x57af43(0x21e)][_0x57af43(0x268)](_0x326494);}}}[_0x1476db(0x1e8)](_0x254aa1,_0x1248d8){const _0x118a17=_0x1476db;if(!_0x1248d8)return;let _0x56e33c=_0x254aa1[_0x118a17(0x252)];for(;_0x56e33c--;){const _0xa70660=_0x254aa1[_0x56e33c];this[_0x118a17(0x202)][_0x118a17(0x214)](_0xa70660)||this[_0x118a17(0x21e)][_0x118a17(0x271)](_0xa70660,_0x1248d8);}}}function _0x47a6(){const _0x481bcf=['_shouldSendSelectionUpdate','connect','addOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','connection','realtimecollaborationclient-sendbufferedoperations','slice','mySessionId','getRoot','applyOperation','filter','decompress','define','ready','_sendBufferedOperations','startsWith','change:range','createPositionFromPath','setPermissions','plugins','userId','PENDING_ACTION_SENDING_DATA','sendOperations','selection','createdAt','realtimecollaborationclient-init-document-already-initialized','sessionCreatedAt','lastSyncVersion','rtc-destroyed','_handleReconnectionError','push','permissions','190947yxvjWN','reconnect','disableReadOnlyMode','_initSessionsHandling','_refreshUserSelectionMarkers','version','document','_decompressOperations','RealTimeCollaborationClient','cloudServices.bundleVersion','setIdForTheLastOperation','_service','_crash','multi-root-editor-root-attributes-no-root','_handleServerResponse','marker','3746722nzYdkl','_isEditingAllowed','_sendBufferedOperationsDelayed','_getAffectedRoot','Synchronization\x20issue','rootName','_baseBufferDelay','collaboration.channelId','stopListening','baseVersion','history','editing','reset','_isAttached','editor','change:hasDomSelection','isUndoneOperation','wereChangesApplied','_loadRoot','high','_ignoredOperations','size','cloud-services-internal-error:\x20Not\x20connected.','enqueueChange','map','round','document:write','_bufferRootLoad','init','_document','model','unregister','off','_shouldSendUpdate','realtimecollaborationclient','wasUndone','directChange','collaboration-missing-channelid','has','_compressor','keys','_compressOperations','_isPendingUpdate','removeFromReconnectionStack','_hasSynchronizationProblem','root','targetPosition','_isConnected','_operationToId','createUserMarkerOperations','start','disconnect','_connectService','end','_isInit','getOperations','2917338YfuAuN','channelSessions','_pendingAction','offset','attributes','InsertOperation','getMany','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-service-internal-error','_initThrowingOnDataSet','_connectAfterSessionHasBeenFlushed','CollaborativeEditingService','real-time-collaboration','getDocumentDetails','change:_isPendingUpdate','createRange','destroy','getIdOfTheLastOperation','return','isDocumentOperation','enableReadOnlyMode','rootsAttributes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addRoot','isOfficialPlugin','_handleExternalOperations','_currentBufferDelay','_bufferedOperations','_sendBufferedOperationsDelayId','_operationIdentifier','differ','_setPendingAction','cs:removeUser','929192ULOVFI','_saveOperationInBuffer','state','clone','sessionAdd:','_authorId','_updateServerHistory','message','string','_handleInitialConnectionData','getOperationAuthor','length','_channelId','view','addUser','currentDocumentSession','entries','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.','lastDocumentSession','_lastSyncedOperationId','_getOperationsFromInitData','insert','newRange','register','isEnabled','_handleReceivedOperations','position','change:_isEditingAllowed','_addKnownRoot','_setUpDataInit','move','_fetchMissingUsers','realtimecollaborationclient-init-session-connection-error','get','collaboration','addToReconnectionStack','apply','rtc-offline','locale','from','_isLoaded','_applyOperationsSet','set','serverHistory','_handleSendingSelectionMarkers','realtimecollaborationclient-error','_offset','affectsData','reconnection:\x20flushed\x20session','roots','error','404','addRootAttribute','batch','_waitUntilSynced','code','markers','createRoot','stop','CommentsOnly','realtimecollaborationclient-handleserverresponse','includes','_isDisconnection','then','cloudDocumentVersion','initData','metadata','parse','_handleReconnectionResponse','lastOperationId','sessionId','remove','lastOperationAcceptedAt','affectedSelectable','catch','isReadOnly','add','pluginName','getConnectedSessions','finally','_knownRootNames','path','fire','fromJSON','409','cloud-services-internal-error:\x20Request\x20timeout.','$root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','showWarning','toJSON','realtimecollaborationclient-init-non-existent-root','listenTo','config','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.','compress','forEach','data','type','_disconnectService','realtimecollaborationclient-init-service-incorrect-server-operation','_lastServerVersion','_disconnectionOperations','Notification','isPremiumPlugin','2751480TXBQFc','95479gflPFd','Permissions','_knownOperations','connected','bind','loadRoot','_clearPendingAction','operationsReceived','getUser','suppressErrorInCollaboration','_hasSelectionChanged','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnected','createPositionAt','1579460eAdmtJ','requires','__className'];_0x47a6=function(){return _0x481bcf;};return _0x47a6();}
|
|
23
|
+
const _0x1f8ff5=_0x232b;(function(_0x38549c,_0x12aaa5){const _0x124ca6=_0x232b,_0x4d44ab=_0x38549c();while(!![]){try{const _0x1066b7=parseInt(_0x124ca6(0x2e1))/0x1+parseInt(_0x124ca6(0x1fb))/0x2+parseInt(_0x124ca6(0x2af))/0x3+parseInt(_0x124ca6(0x2ac))/0x4*(-parseInt(_0x124ca6(0x2ee))/0x5)+-parseInt(_0x124ca6(0x23a))/0x6*(parseInt(_0x124ca6(0x203))/0x7)+-parseInt(_0x124ca6(0x27c))/0x8*(-parseInt(_0x124ca6(0x216))/0x9)+parseInt(_0x124ca6(0x214))/0xa*(-parseInt(_0x124ca6(0x1eb))/0xb);if(_0x1066b7===_0x12aaa5)break;else _0x4d44ab['push'](_0x4d44ab['shift']());}catch(_0x56a527){_0x4d44ab['push'](_0x4d44ab['shift']());}}}(_0x1bd8,0xef2ee));import{Plugin as _0x7392c1,PendingActions as _0x2f5e0c}from'ckeditor5/src/core.js';function _0x1bd8(){const _0x30f5dc=['_pendingAction','_initThrowingOnDataSet','_handleReconnectionError','enqueueChange','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.','from','_waitUntilSynced','off','message','collaboration','marker','getIdOfTheLastOperation','_isInit','selection','realtimecollaborationclient-init-service-internal-error','createdAt','_handleSendingSelectionMarkers','247782GrJFuK','finally','directChange','startsWith','plugins','_fetchMissingUsers','_offset','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.','realtimecollaborationclient-init-connection-failed','collaboration.channelId','rtc-offline','_currentBufferDelay','newRange','error','_authorId','connection','_isDisconnection','unregister','catch','clone','string','_isPendingUpdate','_getOperationsFromInitData','409','register','getDocumentDetails','view','Permissions','Synchronization\x20issue','_isAttached','change:hasDomSelection','_bufferRootLoad','_handleReconnectionResponse','_refreshUserSelectionMarkers','sendOperations','change:_isPendingUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','position','disableReadOnlyMode','getMany','_compressor','parse','__className','has','404','realtimecollaborationclient-init-document-already-initialized','move','_service','addUser','targetPosition','locale','add','sessionCreatedAt','roots','entries','_setUpDataInit','_knownRootNames','_hasSelectionChanged','_saveOperationInBuffer','createUserMarkerOperations','rootName','_sendBufferedOperationsDelayed','setPermissions','getConnectedSessions','document:write','stopListening','72CVdaUN','destroy','isUndoneOperation','reconnection:\x20flushed\x20session','isDocumentOperation','realtimecollaborationclient-init-non-existent-root','_updateServerHistory','length','differ','metadata','requires','high','isOfficialPlugin','realtimecollaborationclient','isReadOnly','attributes','size','getUser','return','rootsAttributes','offset','_operationIdentifier','RealTimeCollaborationClient','_connectService','_hasSynchronizationProblem','collaboration-missing-channelid','currentDocumentSession','apply','getOperationAuthor','reset','map','remove','_applyOperationsSet','_setPendingAction','_bufferedOperations','_sendBufferedOperationsDelayId','createRoot','define','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudDocumentVersion','$root','affectedSelectable','fromJSON','CollaborativeEditingService','type','getOperations','connect','multi-root-editor-root-attributes-no-root','2560276tJYPWl','_clearPendingAction','_handleInitialConnectionData','3396906oFCtPC','loadRoot','PENDING_ACTION_SENDING_DATA','batch','_decompressOperations','InsertOperation','cloudServices.bundleVersion','initData','insert','start','lastDocumentSession','real-time-collaboration','_document','toJSON','showWarning','channelSessions','_isConnected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_isLoaded','version','fire','suppressErrorInCollaboration','lastOperationAcceptedAt','_connectAfterSessionHasBeenFlushed','forEach','getRoot','_handleExternalOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_shouldSendUpdate','decompress','document','round','_loadRoot','_lastSyncedOperationId','connected','change:range','createPositionFromPath','bind','serverHistory','compress','state','sessionAdd:','end','removeFromReconnectionStack','realtimecollaborationclient-init-session-connection-error','addRootAttribute','_baseBufferDelay','keys','reconnect','realtimecollaborationclient-handleserverresponse','1389351zJuNqr','createRange','cloud-services-internal-error:\x20Not\x20connected.','_channelId','sessionId','disconnect','set','path','_getAffectedRoot','mySessionId','CommentsOnly','_crash','get','10xAZELY','_disconnectionOperations','applyOperation','_handleReceivedOperations','530783FzVrLi','wereChangesApplied','wasUndone','push','permissions','data','Notification','disconnected','markers','realtimecollaborationclient-error','affectsData','rtc-destroyed','isEnabled','_shouldSendSelectionUpdate','_isEditingAllowed','_addKnownRoot','2563480IIjDqz','includes','_operationToId','code','_ignoredOperations','addRoot','createPositionAt','config','315XWsfhS','listenTo','addOperation','enableReadOnlyMode','realtimecollaborationclient-sendbufferedoperations','_knownOperations','history','lastOperationId','pluginName','isPremiumPlugin','operationsReceived','baseVersion','root','stop','slice','_compressOperations','_lastServerVersion','130aPHBAn','editing','942093iFyruE','editor','then','addToReconnectionStack','ready','setIdForTheLastOperation','lastSyncVersion','model','cs:removeUser','_sendBufferedOperations','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-service-incorrect-server-operation','change:_isEditingAllowed','_disconnectService','init','_handleServerResponse','filter','_initSessionsHandling','userId'];_0x1bd8=function(){return _0x30f5dc;};return _0x1bd8();}import{CKEditorError as _0x4ba348,version as _0x3102de,uid as _0x5abb40}from'ckeditor5/src/utils.js';import{Notification as _0x1e0ec9}from'ckeditor5/src/ui.js';import{transformSets as _0x1d56cd,NoOperation as _0x4d5546,InsertOperation as _0x5ba9ba,MarkerOperation as _0x4a2a75,RootAttributeOperation as _0x117f0,OperationFactory as _0x4b89d4,History as _0x424744}from'ckeditor5/src/engine.js';function _0x232b(_0x538603,_0x10c582){const _0x1bd8dc=_0x1bd8();return _0x232b=function(_0x232b42,_0x4959a9){_0x232b42=_0x232b42-0x1e9;let _0x46b232=_0x1bd8dc[_0x232b42];return _0x46b232;},_0x232b(_0x538603,_0x10c582);}import _0x4afc7b from'./websocketgateway.js';import _0x5d24ff from'./sessions.js';import _0x5e1f48 from'./usermarkers.js';import{getTranslation as _0x15d316}from'../common-translations.js';import{Compressor as _0x3674dc}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1833c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3827be,CollaborativeEditingService as _0x304ab8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let tt=0x1;class l extends _0x7392c1{static [_0x1f8ff5(0x2a7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x304ab8)());[_0x1f8ff5(0x240)];[_0x1f8ff5(0x2e5)];[_0x1f8ff5(0x2d5)];[_0x1f8ff5(0x2e4)];[_0x1f8ff5(0x269)];[_0x1f8ff5(0x2bb)];[_0x1f8ff5(0x262)];[_0x1f8ff5(0x29e)];[_0x1f8ff5(0x208)];[_0x1f8ff5(0x272)];[_0x1f8ff5(0x229)];[_0x1f8ff5(0x273)];[_0x1f8ff5(0x29f)];[_0x1f8ff5(0x2dd)];[_0x1f8ff5(0x245)];[_0x1f8ff5(0x2d0)];[_0x1f8ff5(0x2ef)];[_0x1f8ff5(0x291)];static get[_0x1f8ff5(0x286)](){return[_0x4afc7b,_0x5d24ff,_0x5e1f48,_0x2f5e0c,_0x1833c6,_0x1e0ec9];}static get[_0x1f8ff5(0x20b)](){const _0x151eda=_0x1f8ff5;return _0x151eda(0x292);}static get[_0x1f8ff5(0x288)](){return!0x0;}static get[_0x1f8ff5(0x20c)](){return!0x0;}get[_0x1f8ff5(0x2a3)](){const _0x2ad9cb=_0x1f8ff5;return this[_0x2ad9cb(0x213)]+this[_0x2ad9cb(0x240)];}get[_0x1f8ff5(0x213)](){const _0x25465e=_0x1f8ff5;return this[_0x25465e(0x2d5)][_0x25465e(0x2c2)]-this[_0x25465e(0x240)];}get[_0x1f8ff5(0x21c)](){const _0x3513d6=_0x1f8ff5,_0x4e2cc5=this[_0x3513d6(0x2d5)][_0x3513d6(0x2a9)]();for(let _0xe8e9dc=_0x4e2cc5[_0x3513d6(0x283)]-0x1;_0xe8e9dc>=0x0;_0xe8e9dc--){const _0x460b3c=_0x4e2cc5[_0xe8e9dc];if(!this[_0x3513d6(0x2ef)][_0x3513d6(0x265)](_0x460b3c))return _0x460b3c[_0x3513d6(0x20e)]+0x1-this[_0x3513d6(0x240)];}return 0x0;}constructor(_0x40c41a){const _0x32b4c6=_0x1f8ff5;if(super(_0x40c41a),this[_0x32b4c6(0x240)]=0x0,this[_0x32b4c6(0x2e5)]=null,this[_0x32b4c6(0x2d5)]=new _0x424744(),this[_0x32b4c6(0x217)][_0x32b4c6(0x202)][_0x32b4c6(0x2a1)](_0x32b4c6(0x232),{}),this[_0x32b4c6(0x2e4)]=this[_0x32b4c6(0x217)][_0x32b4c6(0x202)][_0x32b4c6(0x2ed)](_0x32b4c6(0x243)),!this[_0x32b4c6(0x2e4)])throw new _0x4ba348(_0x32b4c6(0x295),this);const _0x4c7193=_0x40c41a[_0x32b4c6(0x202)][_0x32b4c6(0x2ed)](_0x32b4c6(0x2b5))||_0x3102de;this[_0x32b4c6(0x269)]=new l[(_0x32b4c6(0x2a7))](_0x4c7193,this[_0x32b4c6(0x2e4)]),this[_0x32b4c6(0x2bb)]=this[_0x32b4c6(0x217)][_0x32b4c6(0x21d)][_0x32b4c6(0x2cd)],this[_0x32b4c6(0x262)]=new _0x3674dc(),this[_0x32b4c6(0x29e)]=[],this[_0x32b4c6(0x208)]=new WeakSet(),this[_0x32b4c6(0x272)]=new Set(),this[_0x32b4c6(0x2e7)](_0x32b4c6(0x24f),!0x1),this[_0x32b4c6(0x2e7)](_0x32b4c6(0x294),!0x1),this[_0x32b4c6(0x229)]=null,this[_0x32b4c6(0x273)]=!0x1,this[_0x32b4c6(0x29f)]=null,this[_0x32b4c6(0x2dd)]=0x12c,this[_0x32b4c6(0x245)]=this[_0x32b4c6(0x2dd)],this[_0x32b4c6(0x2d0)]=null,this[_0x32b4c6(0x2ef)]=new WeakSet(),this[_0x32b4c6(0x291)]=new et(this[_0x32b4c6(0x2ef)]);}[_0x1f8ff5(0x224)](){const _0x47f2d2=_0x1f8ff5,_0x2ee6c7=this[_0x47f2d2(0x217)],_0x4f71b3=_0x2ee6c7[_0x47f2d2(0x23e)][_0x47f2d2(0x2ed)](_0x1833c6),_0x1d4568=_0x2ee6c7[_0x47f2d2(0x23e)][_0x47f2d2(0x2ed)](_0x4afc7b);this[_0x47f2d2(0x204)](_0x4f71b3,_0x47f2d2(0x298),(_0x251455,_0xb4eec6)=>{const _0x5830d0=_0x47f2d2,_0x15421d=_0xb4eec6[0x0];_0x15421d[_0x5830d0(0x248)]&&(_0x251455[_0x5830d0(0x28e)]=_0x4f71b3[_0x5830d0(0x28d)](_0x15421d[_0x5830d0(0x248)]),_0x251455[_0x5830d0(0x210)]()),null===_0x15421d[_0x5830d0(0x248)]&&(_0x251455[_0x5830d0(0x28e)]=null,_0x251455[_0x5830d0(0x210)]());},{'priority':_0x47f2d2(0x287)}),this[_0x47f2d2(0x204)](_0x2ee6c7[_0x47f2d2(0x21d)][_0x47f2d2(0x2cd)][_0x47f2d2(0x236)],_0x47f2d2(0x2d2),(_0xbeb517,_0x1502f1)=>{const _0x5bd53b=_0x47f2d2;_0x1502f1[_0x5bd53b(0x23c)]&&this[_0x5bd53b(0x25b)]();}),this[_0x47f2d2(0x204)](_0x2ee6c7[_0x47f2d2(0x215)][_0x47f2d2(0x254)],_0x47f2d2(0x258),()=>{const _0x17b928=_0x47f2d2;this[_0x17b928(0x25b)]();}),this[_0x47f2d2(0x22a)](),_0x2ee6c7[_0x47f2d2(0x21d)]['on'](_0x47f2d2(0x1e9),(_0xd3d019,_0x574842)=>{const _0x3b53ba=_0x47f2d2,_0x4904ec=_0x574842[0x0];_0x4904ec[_0x3b53ba(0x280)]&&(this[_0x3b53ba(0x274)](_0x4904ec),this[_0x3b53ba(0x2cb)]()&&this[_0x3b53ba(0x277)]());}),this[_0x47f2d2(0x271)](),this[_0x47f2d2(0x2d4)](_0x47f2d2(0x1f9))['to'](_0x1d4568,_0x47f2d2(0x2d7),this,_0x47f2d2(0x294),(_0x43e9e9,_0x4141c8)=>_0x47f2d2(0x2d1)===_0x43e9e9&&!_0x4141c8),this['on'](_0x47f2d2(0x222),()=>{const _0x1c98a7=_0x47f2d2;this[_0x1c98a7(0x1f9)]?_0x2ee6c7[_0x1c98a7(0x260)](_0x1c98a7(0x244)):_0x2ee6c7[_0x1c98a7(0x206)](_0x1c98a7(0x244));}),this[_0x47f2d2(0x1f9)]?_0x2ee6c7[_0x47f2d2(0x260)](_0x47f2d2(0x244)):_0x2ee6c7[_0x47f2d2(0x206)](_0x47f2d2(0x244)),this[_0x47f2d2(0x2e7)](_0x47f2d2(0x2bf),!0x1);}async[_0x1f8ff5(0x2df)](){const _0x420217=_0x1f8ff5,_0x201515=this[_0x420217(0x217)][_0x420217(0x23e)][_0x420217(0x2ed)](_0x5d24ff),_0x4d7ce9=this[_0x420217(0x217)][_0x420217(0x23e)][_0x420217(0x2ed)](_0x4afc7b);try{this[_0x420217(0x24f)]=!0x0,_0x201515[_0x420217(0x24b)](this[_0x420217(0x2e4)]);const _0x36233c=await this[_0x420217(0x269)][_0x420217(0x2df)](_0x4d7ce9[_0x420217(0x249)],this[_0x420217(0x21c)]);await this[_0x420217(0x25a)](_0x36233c)&&(this[_0x420217(0x24f)]=!0x1,this[_0x420217(0x2ad)]());const _0x35129d=await this[_0x420217(0x269)][_0x420217(0x279)]();_0x201515[_0x420217(0x252)](this[_0x420217(0x2e4)],_0x35129d),this[_0x420217(0x239)](),this[_0x420217(0x2bf)]=!0x0;}catch(_0x4cb634){if(function(_0x116ac4){const _0x17f49c=_0x420217;return _0x17f49c(0x266)===_0x116ac4[_0x17f49c(0x1fe)];}(_0x4cb634)&&this[_0x420217(0x2e5)])await this[_0x420217(0x2c6)]();else{if(function(_0x2636b0){const _0x3b9c0a=_0x420217;return _0x3b9c0a(0x251)===_0x2636b0[_0x3b9c0a(0x1fe)];}(_0x4cb634)){const _0x210fc4=_0x15d316(this[_0x420217(0x217)][_0x420217(0x26c)],_0x420217(0x2ca));this[_0x420217(0x22b)](_0x210fc4);}else{if(!(_0x4cb634 instanceof it))throw _0x4cb634;this[_0x420217(0x22b)]();}}}}[_0x1f8ff5(0x27d)](){const _0x4c671b=_0x1f8ff5,_0x2df726=this[_0x4c671b(0x217)][_0x4c671b(0x23e)][_0x4c671b(0x2ed)](_0x4afc7b),_0x3ea6d8=this[_0x4c671b(0x217)][_0x4c671b(0x23e)][_0x4c671b(0x2ed)](_0x5d24ff);this[_0x4c671b(0x217)][_0x4c671b(0x206)](_0x4c671b(0x1f6)),_0x3ea6d8[_0x4c671b(0x2be)][_0x4c671b(0x265)](this[_0x4c671b(0x2e4)])&&_0x3ea6d8[_0x4c671b(0x24b)](this[_0x4c671b(0x2e4)]),_0x2df726[_0x4c671b(0x2da)](this),this[_0x4c671b(0x223)](),super[_0x4c671b(0x27d)]();}async[_0x1f8ff5(0x25a)](_0x4a3866){const _0x3068fc=_0x1f8ff5;if(this[_0x3068fc(0x2e5)]!==_0x4a3866[_0x3068fc(0x2e5)]&&this[_0x3068fc(0x2d0)]!==_0x4a3866[_0x3068fc(0x20a)])throw new it();return this[_0x3068fc(0x2e5)]=_0x4a3866[_0x3068fc(0x2e5)],this[_0x3068fc(0x225)]([],{..._0x4a3866,'wereChangesApplied':!0x1,'data':_0x4a3866[_0x3068fc(0x1f0)]},_0x3068fc(0x2df));}async[_0x1f8ff5(0x293)](_0xa88223,_0xe307ba=!0x1){const _0x1fa68c=_0x1f8ff5,{connection:_0x2edd99}=this[_0x1fa68c(0x217)][_0x1fa68c(0x23e)][_0x1fa68c(0x2ed)](_0x4afc7b);l[_0x1fa68c(0x2a7)][_0x1fa68c(0x279)](_0x2edd99,this[_0x1fa68c(0x2e4)])[_0x1fa68c(0x218)](_0xab0a2f=>this[_0x1fa68c(0x227)](_0xab0a2f))[_0x1fa68c(0x24c)](_0xd658a4=>{const _0x337f08=_0x1fa68c;this[_0x337f08(0x2ec)](_0x337f08(0x2db),_0xd658a4);}),this[_0x1fa68c(0x204)](this[_0x1fa68c(0x269)],_0x1fa68c(0x20d),this[_0x1fa68c(0x1ea)][_0x1fa68c(0x2d4)](this)),this[_0x1fa68c(0x204)](this[_0x1fa68c(0x269)],_0x1fa68c(0x247),(_0x2526c6,_0x51bbe4)=>{const _0x3fc410=_0x1fa68c;this[_0x3fc410(0x2ec)](_0x3fc410(0x237),_0x51bbe4);}),this[_0x1fa68c(0x204)](this[_0x1fa68c(0x269)],_0x1fa68c(0x1f2),()=>{const _0x3bc9be=_0x1fa68c;this[_0x3bc9be(0x2bf)]=!0x1;});const _0x2428e2=this[_0x1fa68c(0x291)][_0x1fa68c(0x234)](_0xa88223);this[_0x1fa68c(0x24f)]=!0x0;const _0x1f4ffd=await this[_0x1fa68c(0x269)][_0x1fa68c(0x2aa)](_0x2edd99,this[_0x1fa68c(0x212)](_0xa88223),_0x2428e2);if(this[_0x1fa68c(0x2e5)]=_0x1f4ffd[_0x1fa68c(0x2e5)],_0xe307ba){if(!_0x1f4ffd[_0x1fa68c(0x1ec)])return void this[_0x1fa68c(0x22b)]();this[_0x1fa68c(0x24f)]=!0x1,this[_0x1fa68c(0x2ad)](),this[_0x1fa68c(0x2d5)][_0x1fa68c(0x299)](),this[_0x1fa68c(0x240)]=_0x1f4ffd[_0x1fa68c(0x290)],this[_0x1fa68c(0x2d5)][_0x1fa68c(0x2c2)]=this[_0x1fa68c(0x240)],await this[_0x1fa68c(0x225)](_0xa88223,_0x1f4ffd,_0x1fa68c(0x27f));}else await this[_0x1fa68c(0x2ae)](_0x1f4ffd,_0xa88223);this[_0x1fa68c(0x239)](),this[_0x1fa68c(0x2bf)]=!0x0;}[_0x1f8ff5(0x239)](){const _0x53e736=_0x1f8ff5,_0x33dc3d=this[_0x53e736(0x217)][_0x53e736(0x23e)][_0x53e736(0x2ed)](_0x5d24ff),_0x3c98f5=this[_0x53e736(0x217)][_0x53e736(0x23e)][_0x53e736(0x2ed)](_0x5e1f48),_0x110cd8=_0x33dc3d[_0x53e736(0x2be)][_0x53e736(0x2ed)](this[_0x53e736(0x2e4)]);_0x110cd8&&_0x110cd8[_0x53e736(0x283)]>0x1?_0x3c98f5[_0x53e736(0x275)]():this[_0x53e736(0x204)](_0x33dc3d,_0x53e736(0x2d8)+this[_0x53e736(0x2e4)],()=>{const _0x2c9a82=_0x53e736;0x2===_0x33dc3d[_0x2c9a82(0x2be)][_0x2c9a82(0x2ed)](this[_0x2c9a82(0x2e4)])[_0x2c9a82(0x283)]&&_0x3c98f5[_0x2c9a82(0x275)]();});}async[_0x1f8ff5(0x1ea)](_0x3a2d8d,_0x4a289a,_0x3311c9,_0x53e96f){const _0x56f3a5=_0x1f8ff5;if(!this[_0x56f3a5(0x24f)]&&this[_0x56f3a5(0x2bb)][_0x56f3a5(0x2c2)]==_0x4a289a){const _0x28c60a=this[_0x56f3a5(0x2b3)](_0x3311c9,_0x53e96f);await this[_0x56f3a5(0x23f)](_0x28c60a),this[_0x56f3a5(0x2c9)](_0x28c60a,_0x4a289a,_0x3311c9[_0x56f3a5(0x20a)])||this[_0x56f3a5(0x2ec)](_0x56f3a5(0x221));}}async[_0x1f8ff5(0x2c6)](){const _0x487561=_0x1f8ff5;this[_0x487561(0x223)]();const {locale:_0x582e48}=this[_0x487561(0x217)];let _0x29d506;try{_0x29d506=await this[_0x487561(0x269)][_0x487561(0x253)]();}catch(_0x16f3db){const _0x5179e9=_0x15d316(_0x582e48,_0x487561(0x2a2));return void this[_0x487561(0x22b)](_0x5179e9);}const _0x254792=_0x29d506[_0x487561(0x296)]||_0x29d506[_0x487561(0x2b9)];if(this[_0x487561(0x2d0)]===_0x254792[_0x487561(0x20a)])await this[_0x487561(0x293)](this[_0x487561(0x217)][_0x487561(0x21d)][_0x487561(0x2cd)][_0x487561(0x209)][_0x487561(0x2a9)](),!0x0);else{const _0x3c463d=_0x15d316(_0x582e48,_0x487561(0x22d));this[_0x487561(0x22b)](_0x3c463d);}}[_0x1f8ff5(0x223)](){const _0x2dbd08=_0x1f8ff5;this[_0x2dbd08(0x269)][_0x2dbd08(0x2e6)](),this[_0x2dbd08(0x29e)]=[],clearTimeout(this[_0x2dbd08(0x29f)]),this[_0x2dbd08(0x27b)](this[_0x2dbd08(0x269)]);}[_0x1f8ff5(0x227)](_0x1b1fc8){const _0x240a3b=_0x1f8ff5,_0x1f89fd=this[_0x240a3b(0x217)][_0x240a3b(0x23e)][_0x240a3b(0x2ed)](_0x5d24ff);this[_0x240a3b(0x204)](_0x1f89fd,_0x240a3b(0x2d8)+this[_0x240a3b(0x2e4)],(_0x5d7588,{session:_0x2d65c6})=>{const _0x5ddcf3=_0x240a3b;if(_0x2d65c6['id']===_0x1f89fd[_0x5ddcf3(0x2ea)]){_0x5d7588[_0x5ddcf3(0x230)]();const _0x521f6a=this[_0x5ddcf3(0x217)][_0x5ddcf3(0x23e)][_0x5ddcf3(0x265)](_0x5ddcf3(0x2eb))&&this[_0x5ddcf3(0x217)][_0x5ddcf3(0x23e)][_0x5ddcf3(0x2ed)](_0x5ddcf3(0x2eb));let _0x2f1cca=_0x2d65c6[_0x5ddcf3(0x1ef)];_0x521f6a&&_0x521f6a[_0x5ddcf3(0x1f7)]&&(_0x2f1cca=_0x2f1cca[_0x5ddcf3(0x226)](_0x55269a=>_0x5ddcf3(0x27a)!==_0x55269a)),this[_0x5ddcf3(0x217)][_0x5ddcf3(0x23e)][_0x5ddcf3(0x2ed)](_0x5ddcf3(0x255))[_0x5ddcf3(0x278)](_0x2f1cca,this[_0x5ddcf3(0x2e4)]);}}),_0x1f89fd[_0x240a3b(0x252)](this[_0x240a3b(0x2e4)],_0x1b1fc8);}[_0x1f8ff5(0x22a)](){const _0x9d0e4a=_0x1f8ff5,_0x207ba6=this[_0x9d0e4a(0x217)][_0x9d0e4a(0x1f0)][_0x9d0e4a(0x2e7)];this[_0x9d0e4a(0x217)][_0x9d0e4a(0x1f0)][_0x9d0e4a(0x2e7)]=(..._0x22439a)=>{const _0x5c8de5=_0x9d0e4a;if(!_0x22439a[_0x22439a[_0x5c8de5(0x283)]-0x1][_0x5c8de5(0x2c4)])throw new _0x4ba348(_0x5c8de5(0x25e),this);_0x207ba6[_0x5c8de5(0x297)](this[_0x5c8de5(0x217)][_0x5c8de5(0x1f0)],_0x22439a);};}[_0x1f8ff5(0x271)](){const _0x496616=_0x1f8ff5;this[_0x496616(0x217)][_0x496616(0x1f0)]['on'](_0x496616(0x224),(_0x1aa906,[_0x2238df])=>{const _0x2c0918=_0x496616;if(this[_0x2c0918(0x2bb)][_0x2c0918(0x2c2)])throw new _0x4ba348(_0x2c0918(0x267),this);_0x1aa906[_0x2c0918(0x210)](),this[_0x2c0918(0x29d)]();const _0x1329df=this[_0x2c0918(0x217)][_0x2c0918(0x202)][_0x2c0918(0x2ed)](_0x2c0918(0x28f)),_0x14df86=this[_0x2c0918(0x250)](_0x2238df,_0x1329df);0x0==_0x14df86[_0x2c0918(0x283)]&&_0x14df86[_0x2c0918(0x1ee)](new _0x4d5546(0x0)),_0x1aa906[_0x2c0918(0x28e)]=this[_0x2c0918(0x293)](_0x14df86)[_0x2c0918(0x218)](()=>{const _0x21e97d=_0x2c0918;this[_0x21e97d(0x217)][_0x21e97d(0x23e)][_0x21e97d(0x2ed)](_0x4afc7b)[_0x21e97d(0x219)](this),this[_0x21e97d(0x217)][_0x21e97d(0x1f0)][_0x21e97d(0x2c3)](_0x21e97d(0x21a));})[_0x2c0918(0x24c)](_0x3f7979=>this[_0x2c0918(0x2ec)](_0x2c0918(0x242),_0x3f7979))[_0x2c0918(0x23b)](()=>this[_0x2c0918(0x2ad)]());},{'priority':_0x496616(0x287)}),this[_0x496616(0x217)]['on'](_0x496616(0x2b0),async(_0x5341ca,[_0x2414b0,_0x4dc983])=>{const _0x5c8385=_0x496616;_0x5341ca[_0x5c8385(0x210)]();const _0x189bce=this[_0x5c8385(0x217)][_0x5c8385(0x21d)][_0x5c8385(0x2cd)][_0x5c8385(0x2c8)](_0x2414b0);if(!this[_0x5c8385(0x272)][_0x5c8385(0x265)](_0x2414b0)){const _0x483b36=_0x4dc983&&_0x4dc983[_0x5c8385(0x1f0)]?_0x4dc983[_0x5c8385(0x1f0)]:'',_0x47c5dd=_0x4dc983&&_0x4dc983[_0x5c8385(0x28b)]?_0x4dc983[_0x5c8385(0x28b)]:{};await this[_0x5c8385(0x2cf)](_0x2414b0,_0x483b36,_0x47c5dd);}this[_0x5c8385(0x217)][_0x5c8385(0x21d)][_0x5c8385(0x22c)]({'isUndoable':!0x1},()=>{const _0x161651=_0x5c8385;_0x189bce[_0x161651(0x2c1)]=!0x0,this[_0x161651(0x217)][_0x161651(0x21d)][_0x161651(0x2cd)][_0x161651(0x284)][_0x161651(0x259)](_0x189bce);});},{'priority':_0x496616(0x287)});}async[_0x1f8ff5(0x23f)](_0x24fc5f){const _0x4f3b25=_0x1f8ff5,_0x2a0348=this[_0x4f3b25(0x217)][_0x4f3b25(0x23e)][_0x4f3b25(0x2ed)](_0x1833c6),{connection:_0x319686}=this[_0x4f3b25(0x217)][_0x4f3b25(0x23e)][_0x4f3b25(0x2ed)](_0x4afc7b),_0x1dabcd=new Set();for(const _0x23f073 of _0x24fc5f){const _0x346381=_0x23f073[_0x4f3b25(0x248)];_0x346381&&!_0x2a0348[_0x4f3b25(0x28d)](_0x346381)&&_0x1dabcd[_0x4f3b25(0x26d)](_0x346381);}if(0x0===_0x1dabcd[_0x4f3b25(0x28c)])return;const _0x3e3307=await _0x3827be[_0x4f3b25(0x261)](_0x319686,Array[_0x4f3b25(0x22e)](_0x1dabcd));for(const _0x19effb of _0x3e3307)_0x2a0348[_0x4f3b25(0x28d)](_0x19effb['id'])||_0x2a0348[_0x4f3b25(0x26a)](_0x19effb);}[_0x1f8ff5(0x250)](_0x5096e2,_0x1e99a2={}){const _0x2ec5b4=_0x1f8ff5,_0x388cc7=this[_0x2ec5b4(0x217)][_0x2ec5b4(0x21d)],_0x27bb3e=[];let _0x4a0799=0x0;const _0x3ef64d=_0x2ec5b4(0x24e)==typeof _0x5096e2?{'main':_0x5096e2}:_0x5096e2;for(const _0x5b475a of Object[_0x2ec5b4(0x2de)](_0x3ef64d)){if(!this[_0x2ec5b4(0x2bb)][_0x2ec5b4(0x26f)][_0x2ec5b4(0x265)](_0x5b475a))throw new _0x4ba348(_0x2ec5b4(0x281),this);const _0x5a4311=this[_0x2ec5b4(0x217)][_0x2ec5b4(0x1f0)][_0x2ec5b4(0x263)](_0x3ef64d[_0x5b475a]),_0x44c9c2=this[_0x2ec5b4(0x2bb)][_0x2ec5b4(0x2c8)](_0x5b475a),_0x1b9965=new _0x5ba9ba(_0x388cc7[_0x2ec5b4(0x201)](_0x44c9c2,0x0),_0x5a4311,_0x4a0799++);_0x27bb3e[_0x2ec5b4(0x1ee)](_0x1b9965);for(const [_0x5d1c94,_0x544796]of _0x5a4311[_0x2ec5b4(0x1f3)]){const _0x26a087=_0x388cc7[_0x2ec5b4(0x2e2)](_0x388cc7[_0x2ec5b4(0x2d3)](_0x44c9c2,_0x544796[_0x2ec5b4(0x2b8)][_0x2ec5b4(0x2e8)][_0x2ec5b4(0x211)]()),_0x388cc7[_0x2ec5b4(0x2d3)](_0x44c9c2,_0x544796[_0x2ec5b4(0x2d9)][_0x2ec5b4(0x2e8)][_0x2ec5b4(0x211)]())),_0x1b6106=new _0x4a2a75(_0x5d1c94,null,_0x26a087,_0x388cc7[_0x2ec5b4(0x1f3)],!0x0,_0x4a0799++);_0x27bb3e[_0x2ec5b4(0x1ee)](_0x1b6106);}}if(_0x1e99a2)for(const [_0x3bc352,_0x5d540d]of Object[_0x2ec5b4(0x270)](_0x1e99a2)){const _0x36adc6=_0x388cc7[_0x2ec5b4(0x2cd)][_0x2ec5b4(0x2c8)](_0x3bc352);if(!_0x36adc6)throw new _0x4ba348(_0x2ec5b4(0x2ab),null);for(const [_0x5e8d36,_0x5d5333]of Object[_0x2ec5b4(0x270)](_0x5d540d))if(null!==_0x5d5333){const _0x1a3bb0=new _0x117f0(_0x36adc6,_0x5e8d36,null,_0x5d5333,_0x4a0799++);_0x27bb3e[_0x2ec5b4(0x1ee)](_0x1a3bb0);}}return _0x27bb3e;}async[_0x1f8ff5(0x2cf)](_0x3eb919,_0x1df9c7,_0x13294b){const _0x2f57fc=_0x1f8ff5;this[_0x2f57fc(0x250)]({[_0x3eb919]:_0x1df9c7},{[_0x3eb919]:_0x13294b})[_0x2f57fc(0x2c7)]((_0x469a07,_0x1f41db)=>{const _0x22f0d9=_0x2f57fc;_0x469a07[_0x22f0d9(0x20e)]=this[_0x22f0d9(0x2bb)][_0x22f0d9(0x2c2)]+_0x1f41db,_0x469a07[_0x22f0d9(0x235)]=!0x0,this[_0x22f0d9(0x274)](_0x469a07);}),this[_0x2f57fc(0x277)](),await this[_0x2f57fc(0x22f)]();}async[_0x1f8ff5(0x2ae)](_0x24455c,_0x377ce7){const _0x548149=_0x1f8ff5;let _0x1c1138;this[_0x548149(0x240)]=_0x24455c[_0x548149(0x290)];const _0xaf5c25=_0x24455c[_0x548149(0x1ec)]&&!_0x24455c[_0x548149(0x2b6)],_0x2afb46=_0xaf5c25?0x0:_0x24455c[_0x548149(0x1f0)][_0x548149(0x20e)];if(_0x377ce7[_0x548149(0x2c7)](_0x36074f=>{const _0x4ec0ad=_0x548149;_0x36074f[_0x4ec0ad(0x235)]=!0x0,_0x36074f[_0x4ec0ad(0x238)]=_0x24455c[_0x4ec0ad(0x26e)],_0x36074f[_0x4ec0ad(0x248)]=null;}),_0xaf5c25)_0x1c1138=_0x377ce7,this[_0x548149(0x29c)](_0x1c1138,_0xaf5c25);else{if(_0x24455c[_0x548149(0x2b6)]){const _0x275d50=this[_0x548149(0x250)](_0x24455c[_0x548149(0x2b6)]);this[_0x548149(0x2bb)][_0x548149(0x209)][_0x548149(0x2c2)]=-_0x275d50[_0x548149(0x283)],_0x275d50[_0x548149(0x2c7)](_0x2f17c3=>{const _0x37ed50=_0x548149;_0x2f17c3[_0x37ed50(0x20e)]-=_0x275d50[_0x37ed50(0x283)],_0x2f17c3[_0x37ed50(0x238)]=_0x24455c[_0x37ed50(0x26e)],_0x2f17c3[_0x37ed50(0x235)]=!0x0,_0x2f17c3[_0x37ed50(0x248)]=null;}),this[_0x548149(0x29c)](_0x275d50,!0x0),this[_0x548149(0x2d5)][_0x548149(0x2c2)]=-_0x275d50[_0x548149(0x283)]+this[_0x548149(0x240)],this[_0x548149(0x282)](_0x275d50);}this[_0x548149(0x2bb)][_0x548149(0x209)][_0x548149(0x2c2)]=_0x2afb46,_0x1c1138=this[_0x548149(0x2b3)](_0x24455c[_0x548149(0x1f0)],_0x24455c[_0x548149(0x285)]),await this[_0x548149(0x23f)](_0x1c1138),this[_0x548149(0x29c)](_0x1c1138,_0xaf5c25);}_0x24455c[_0x548149(0x20a)]&&(this[_0x548149(0x291)][_0x548149(0x21b)](_0x1c1138,_0x24455c[_0x548149(0x20a)]),this[_0x548149(0x2d0)]=_0x24455c[_0x548149(0x20a)]),this[_0x548149(0x2d5)][_0x548149(0x2c2)]=_0x2afb46+this[_0x548149(0x240)],this[_0x548149(0x282)](_0x1c1138),_0x377ce7[_0x548149(0x226)](_0xe347d2=>{const _0x45dea7=_0x548149,_0x4cb2fb=this[_0x45dea7(0x2e9)](_0xe347d2);return _0x4cb2fb&&!this[_0x45dea7(0x272)][_0x45dea7(0x265)](_0x4cb2fb);})[_0x548149(0x2c7)]((_0x58d1e1,_0x428ad1)=>{const _0x53b340=_0x548149;_0x58d1e1[_0x53b340(0x20e)]=this[_0x53b340(0x2bb)][_0x53b340(0x2c2)]+_0x428ad1,this[_0x53b340(0x274)](_0x58d1e1);}),this[_0x548149(0x2cb)]()?(this[_0x548149(0x245)]=0x0,this[_0x548149(0x277)](!0x0),await this[_0x548149(0x22f)]()):(this[_0x548149(0x24f)]=!0x1,this[_0x548149(0x2ad)]());}[_0x1f8ff5(0x2ec)](_0x17fee2,_0x299a2d){const _0x2cc980=_0x1f8ff5,_0xb4bd8b=_0x299a2d&&_0x299a2d[_0x2cc980(0x231)];if(_0xb4bd8b&&_0xb4bd8b[_0x2cc980(0x23d)](_0x2cc980(0x289)))throw _0x299a2d;const _0x54fe89=this[_0x2cc980(0x217)][_0x2cc980(0x23e)][_0x2cc980(0x2ed)](_0x4afc7b);throw this[_0x2cc980(0x24f)]=!0x0,_0x54fe89[_0x2cc980(0x2e6)](),this[_0x2cc980(0x217)][_0x2cc980(0x206)](_0x2cc980(0x1f4)),new _0x4ba348(_0x17fee2,this[_0x2cc980(0x217)],_0xb4bd8b?{'originalError':_0xb4bd8b}:void 0x0);}[_0x1f8ff5(0x274)](_0x2e4ad8){const _0x4546e3=_0x1f8ff5;this[_0x4546e3(0x208)][_0x4546e3(0x265)](_0x2e4ad8)||(this[_0x4546e3(0x208)][_0x4546e3(0x26d)](_0x2e4ad8),this[_0x4546e3(0x29e)][_0x4546e3(0x1ee)](_0x2e4ad8),this[_0x4546e3(0x229)]||_0x4546e3(0x233)==_0x2e4ad8[_0x4546e3(0x2a8)]&&!_0x2e4ad8[_0x4546e3(0x1f5)]||this[_0x4546e3(0x29d)]());}[_0x1f8ff5(0x277)](_0x4e31b0=!0x1){const _0x5e7239=_0x1f8ff5;!_0x4e31b0&&this[_0x5e7239(0x24f)]||(this[_0x5e7239(0x24f)]=!0x0,clearTimeout(this[_0x5e7239(0x29f)]),this[_0x5e7239(0x29f)]=setTimeout(()=>{const _0x17d207=_0x5e7239;this[_0x17d207(0x21f)]()[_0x17d207(0x218)](_0x9e196f=>{const _0x222b85=_0x17d207;_0x9e196f&&(this[_0x222b85(0x2ad)](),this[_0x222b85(0x24f)]=!0x1);})[_0x17d207(0x24c)](_0x5cb2bb=>{const _0x4dbe66=_0x17d207;this[_0x4dbe66(0x2ad)](),this[_0x4dbe66(0x24f)]=!0x1,function(_0x390697){const _0x33911b=_0x4dbe66;return _0x390697[_0x33911b(0x231)][_0x33911b(0x23d)](_0x33911b(0x2e3))||_0x390697[_0x33911b(0x231)][_0x33911b(0x23d)](_0x33911b(0x2c0))||_0x390697[_0x33911b(0x231)][_0x33911b(0x23d)](_0x33911b(0x220));}(_0x5cb2bb)||this[_0x4dbe66(0x2ec)](_0x5cb2bb[_0x4dbe66(0x231)],_0x5cb2bb);});},this[_0x5e7239(0x245)]));}[_0x1f8ff5(0x22f)](){return new Promise(_0x447573=>{const _0x1ebe76=_0x232b;this['on'](_0x1ebe76(0x25d),()=>{_0x447573();});});}async[_0x1f8ff5(0x21f)](){const _0x2f6b01=_0x1f8ff5,_0x1b98b9=this[_0x2f6b01(0x217)][_0x2f6b01(0x23e)][_0x2f6b01(0x2ed)](_0x5e1f48);if(this[_0x2f6b01(0x1f8)]()&&(_0x1b98b9[_0x2f6b01(0x275)](),this[_0x2f6b01(0x273)]=!0x1),!this[_0x2f6b01(0x2cb)]())return!0x0;const _0x129d91=[...this[_0x2f6b01(0x29e)]];for(const _0x260c69 of _0x129d91)_0x260c69[_0x2f6b01(0x1ed)]=this[_0x2f6b01(0x2bb)][_0x2f6b01(0x209)][_0x2f6b01(0x27e)](_0x260c69);const _0x3a9986=this[_0x2f6b01(0x291)][_0x2f6b01(0x234)](_0x129d91),_0x4a7de2=tt++,_0x58c163=this[_0x2f6b01(0x212)](_0x129d91),_0xf801b4=await this[_0x2f6b01(0x269)][_0x2f6b01(0x25c)](_0x58c163,_0x58c163[_0x2f6b01(0x20e)],_0x3a9986);try{return await this[_0x2f6b01(0x225)](_0x129d91,_0xf801b4,_0x4a7de2);}catch(_0x4debb5){return this[_0x2f6b01(0x2ec)](_0x2f6b01(0x207),_0x4debb5);}}async[_0x1f8ff5(0x225)](_0x46ff7c,_0x18edcc,_0x251af7){const _0x368cd4=_0x1f8ff5;if(_0x368cd4(0x247)in _0x18edcc)throw _0x18edcc[_0x368cd4(0x247)];let _0x248c81=!0x1;if(_0x18edcc[_0x368cd4(0x1ec)]){_0x18edcc[_0x368cd4(0x20a)]&&(this[_0x368cd4(0x2d0)]=_0x18edcc[_0x368cd4(0x20a)]),this[_0x368cd4(0x29e)]=this[_0x368cd4(0x29e)][_0x368cd4(0x226)](_0x56aee8=>!_0x46ff7c[_0x368cd4(0x1fc)](_0x56aee8));for(const _0x19b041 of _0x46ff7c)_0x19b041[_0x368cd4(0x238)]=_0x368cd4(0x2c5)in _0x18edcc&&_0x18edcc[_0x368cd4(0x2c5)]||void 0x0;st(_0x46ff7c,_0x18edcc[_0x368cd4(0x2c2)]-_0x46ff7c[_0x368cd4(0x283)]),this[_0x368cd4(0x282)](_0x46ff7c);const _0x1412a6=_0x46ff7c[_0x368cd4(0x226)](_0x3c56bf=>{const _0x4d3cdc=_0x368cd4;if(!_0x3c56bf[_0x4d3cdc(0x235)])return!0x1;const _0x2454f4=this[_0x4d3cdc(0x2e9)](_0x3c56bf);return _0x2454f4&&!this[_0x4d3cdc(0x272)][_0x4d3cdc(0x265)](_0x2454f4);});st(_0x1412a6,this[_0x368cd4(0x2bb)][_0x368cd4(0x2c2)]),this[_0x368cd4(0x29c)](_0x1412a6),_0x248c81=!0x0,this[_0x368cd4(0x245)]=this[_0x368cd4(0x2dd)];}else{const _0x6d79e=this[_0x368cd4(0x2b3)](_0x18edcc[_0x368cd4(0x1f0)],_0x18edcc[_0x368cd4(0x285)])[_0x368cd4(0x226)](_0x4a942a=>_0x4a942a[_0x368cd4(0x20e)]>=this[_0x368cd4(0x213)]);_0x6d79e[_0x368cd4(0x2c7)](_0xef9122=>this[_0x368cd4(0x1fa)](_0xef9122)),this[_0x368cd4(0x29e)]=this[_0x368cd4(0x29e)][_0x368cd4(0x226)](_0x2738d3=>!_0x2738d3[_0x368cd4(0x235)]||!this[_0x368cd4(0x272)][_0x368cd4(0x265)](this[_0x368cd4(0x2e9)](_0x2738d3))),this[_0x368cd4(0x29e)][_0x368cd4(0x283)]&&st(this[_0x368cd4(0x29e)],this[_0x368cd4(0x29e)][0x0][_0x368cd4(0x20e)]),await this[_0x368cd4(0x23f)](_0x6d79e),_0x248c81=this[_0x368cd4(0x2c9)](_0x6d79e,_0x18edcc[_0x368cd4(0x2c2)],_0x18edcc[_0x368cd4(0x20a)]),this[_0x368cd4(0x245)]=Math[_0x368cd4(0x2ce)](this[_0x368cd4(0x245)]/0x2);}return _0x248c81?!this[_0x368cd4(0x2cb)]()||(this[_0x368cd4(0x277)](!0x0),!0x1):this[_0x368cd4(0x2ec)](_0x368cd4(0x2e0));}[_0x1f8ff5(0x2c9)](_0x31c990,_0x12f2f6,_0x1ee532){const _0x46004b=_0x1f8ff5;try{const _0x286863={'document':this[_0x46004b(0x2bb)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd3afae,operationsB:_0x3ee61c,originalOperations:_0x1b4534}=_0x1d56cd(_0x31c990,this[_0x46004b(0x29e)],_0x286863);st(_0xd3afae,this[_0x46004b(0x2bb)][_0x46004b(0x2c2)]),st(_0x3ee61c,_0x12f2f6);for(const _0x2c08a5 of _0xd3afae){const _0x505ef5=_0x1b4534[_0x46004b(0x2ed)](_0x2c08a5);_0x2c08a5[_0x46004b(0x248)]=_0x505ef5?_0x505ef5[_0x46004b(0x248)]:null;}_0x1ee532&&(this[_0x46004b(0x291)][_0x46004b(0x21b)](_0x31c990,_0x1ee532),this[_0x46004b(0x2d0)]=_0x1ee532),this[_0x46004b(0x29e)]=[..._0x3ee61c],this[_0x46004b(0x29c)](_0xd3afae),this[_0x46004b(0x282)](_0x31c990);}catch(_0x391a23){return console[_0x46004b(0x247)](_0x391a23),!0x1;}return!0x0;}[_0x1f8ff5(0x29c)](_0x52da18,_0x563a5e=!0x1){const _0x6cf44a=_0x1f8ff5;this[_0x6cf44a(0x217)][_0x6cf44a(0x21d)][_0x6cf44a(0x22c)]({'isUndoable':!0x1,'isLocal':!0x1},_0xfee161=>{const _0x5e3d3d=_0x6cf44a;for(const _0x2002cc of _0x52da18)this[_0x5e3d3d(0x208)][_0x5e3d3d(0x26d)](_0x2002cc),this[_0x5e3d3d(0x1fa)](_0x2002cc),_0xfee161[_0x5e3d3d(0x2b2)][_0x5e3d3d(0x205)](_0x2002cc),this[_0x5e3d3d(0x217)][_0x5e3d3d(0x21d)][_0x5e3d3d(0x1e9)](_0x2002cc);});}[_0x1f8ff5(0x1fa)](_0x10c1cf){const _0x31a6d5=_0x1f8ff5,_0x1fefe1=this[_0x31a6d5(0x2e9)](_0x10c1cf);_0x1fefe1&&this[_0x31a6d5(0x272)][_0x31a6d5(0x26d)](_0x1fefe1);}[_0x1f8ff5(0x2e9)](_0x200da3){const _0x3e4289=_0x1f8ff5;let _0x4268e9,_0x10c43d;switch(_0x200da3[_0x3e4289(0x2a8)]){case _0x3e4289(0x2b7):_0x4268e9=_0x200da3[_0x3e4289(0x25f)][_0x3e4289(0x20f)];break;case _0x3e4289(0x233):if(_0x10c43d=_0x200da3[_0x3e4289(0x246)],!_0x10c43d)return null;_0x4268e9=_0x10c43d[_0x3e4289(0x20f)];break;case _0x3e4289(0x2dc):_0x4268e9=_0x200da3[_0x3e4289(0x20f)];break;case _0x3e4289(0x200):_0x4268e9=_0x200da3[_0x3e4289(0x2a5)];break;case _0x3e4289(0x268):_0x4268e9=_0x200da3[_0x3e4289(0x26b)][_0x3e4289(0x20f)];break;default:return null;}return _0x4268e9[_0x3e4289(0x276)];}[_0x1f8ff5(0x282)](_0x2d1953){const _0x56a82f=_0x1f8ff5;_0x2d1953[_0x56a82f(0x2c7)](_0x483c93=>{const _0x17aef6=_0x56a82f,_0x5a1ddc=_0x483c93[_0x17aef6(0x24d)]();_0x5a1ddc[_0x17aef6(0x248)]=_0x483c93[_0x17aef6(0x248)],_0x5a1ddc[_0x17aef6(0x235)]=!!_0x483c93[_0x17aef6(0x235)],_0x5a1ddc[_0x17aef6(0x238)]=_0x483c93[_0x17aef6(0x238)],_0x5a1ddc[_0x17aef6(0x20e)]+=this[_0x17aef6(0x240)],_0x483c93[_0x17aef6(0x24a)]&&this[_0x17aef6(0x2ef)][_0x17aef6(0x26d)](_0x5a1ddc),this[_0x17aef6(0x2d5)][_0x17aef6(0x205)](_0x5a1ddc);});}[_0x1f8ff5(0x22b)](_0x40a28c){const _0x175384=_0x1f8ff5,_0x39f984=this[_0x175384(0x217)][_0x175384(0x23e)][_0x175384(0x2ed)](_0x175384(0x1f1)),_0xb11ad1=this[_0x175384(0x217)][_0x175384(0x26c)];_0x40a28c||(_0x40a28c=_0x15d316(_0xb11ad1,_0x175384(0x241))),_0x39f984[_0x175384(0x2bd)](_0x40a28c,{'title':_0x15d316(_0xb11ad1,_0x175384(0x256)),'namespace':_0x175384(0x2ba)}),this[_0x175384(0x294)]=!0x0,clearTimeout(this[_0x175384(0x29f)]),this[_0x175384(0x29e)]=[],this[_0x175384(0x217)][_0x175384(0x23e)][_0x175384(0x2ed)](_0x4afc7b)[_0x175384(0x2e6)]();}[_0x1f8ff5(0x29d)](){const _0x30e073=_0x1f8ff5;this[_0x30e073(0x229)]||(this[_0x30e073(0x229)]=this[_0x30e073(0x217)][_0x30e073(0x23e)][_0x30e073(0x2ed)](_0x2f5e0c)[_0x30e073(0x26d)](_0x15d316(this[_0x30e073(0x217)][_0x30e073(0x26c)],_0x30e073(0x2b1))));}[_0x1f8ff5(0x2ad)](){const _0xc1c287=_0x1f8ff5;this[_0xc1c287(0x229)]&&(this[_0xc1c287(0x217)][_0xc1c287(0x23e)][_0xc1c287(0x2ed)](_0x2f5e0c)[_0xc1c287(0x29b)](this[_0xc1c287(0x229)]),this[_0xc1c287(0x229)]=null);}[_0x1f8ff5(0x212)](_0x412455){const _0x215da1=_0x1f8ff5,_0x494b81=_0x412455[_0x215da1(0x29a)](_0x3d5224=>_0x3d5224[_0x215da1(0x2bc)]());return this[_0x215da1(0x262)][_0x215da1(0x2d6)](_0x494b81);}[_0x1f8ff5(0x2b3)](_0x359363,_0x4d2368){const _0x2643e6=_0x1f8ff5;return this[_0x2643e6(0x262)][_0x2643e6(0x2cc)](_0x359363)[_0x2643e6(0x29a)]((_0x5dc870,_0x809ad9)=>{const _0x44f57d=_0x2643e6,_0x428e9a=_0x44f57d(0x224)==_0x4d2368[_0x809ad9][_0x44f57d(0x2a8)];if(_0x44f57d(0x2b4)==_0x5dc870[_0x44f57d(0x264)]){const _0x354a22=_0x5dc870[_0x44f57d(0x25f)][_0x44f57d(0x20f)];!this[_0x44f57d(0x2bb)][_0x44f57d(0x2c8)](_0x354a22)&&(this[_0x44f57d(0x2bb)][_0x44f57d(0x2a0)](_0x44f57d(0x2a4),_0x354a22)[_0x44f57d(0x257)]=!0x1);}const _0x4ec5ca=_0x4b89d4[_0x44f57d(0x2a6)](_0x5dc870,this[_0x44f57d(0x2bb)]);return _0x4ec5ca[_0x44f57d(0x1ed)]=_0x5dc870[_0x44f57d(0x1ed)],_0x4ec5ca[_0x44f57d(0x235)]=_0x428e9a,_0x4ec5ca[_0x44f57d(0x248)]=_0x428e9a?null:_0x4d2368[_0x809ad9][_0x44f57d(0x228)],_0x4ec5ca[_0x44f57d(0x24a)]=_0x44f57d(0x21e)===_0x4d2368[_0x809ad9][_0x44f57d(0x2a8)],_0x4ec5ca[_0x44f57d(0x238)]=_0x4d2368[_0x809ad9][_0x44f57d(0x238)],_0x4ec5ca;});}[_0x1f8ff5(0x25b)](){const _0x281955=_0x1f8ff5;this[_0x281955(0x273)]=!0x0,this[_0x281955(0x1f8)]()?this[_0x281955(0x277)]():this[_0x281955(0x273)]=!0x1;}[_0x1f8ff5(0x1f8)](){const _0x18ac60=_0x1f8ff5,_0x3d919f=this[_0x18ac60(0x217)][_0x18ac60(0x23e)][_0x18ac60(0x2ed)](_0x5d24ff)[_0x18ac60(0x2be)][_0x18ac60(0x2ed)](this[_0x18ac60(0x2e4)]);return!this[_0x18ac60(0x217)][_0x18ac60(0x28a)]&&!!_0x3d919f&&_0x3d919f[_0x18ac60(0x283)]>0x1&&this[_0x18ac60(0x273)];}[_0x1f8ff5(0x2cb)](){const _0x2a2f67=_0x1f8ff5;return this[_0x2a2f67(0x29e)][_0x2a2f67(0x283)]>0x0||this[_0x2a2f67(0x1f8)]();}}export default l;class it extends Error{}function st(_0x2b2b70,_0xccae15){const _0x239b28=_0x1f8ff5;for(const _0x1f4241 of _0x2b2b70)_0x1f4241[_0x239b28(0x20e)]=_0xccae15++;}class et{[_0x1f8ff5(0x1ff)];[_0x1f8ff5(0x1fd)];constructor(_0x228fa9){const _0x38a193=_0x1f8ff5;this[_0x38a193(0x1ff)]=_0x228fa9,this[_0x38a193(0x1fd)]=new WeakMap();}[_0x1f8ff5(0x234)](_0x1ceb58){const _0x34f854=_0x1f8ff5;let _0x25e804=_0x1ceb58[_0x34f854(0x283)];for(;_0x25e804--;){const _0x171546=_0x1ceb58[_0x25e804];if(!this[_0x34f854(0x1ff)][_0x34f854(0x265)](_0x171546)){if(!this[_0x34f854(0x1fd)][_0x34f854(0x265)](_0x171546)){const _0x3a4cf9=_0x5abb40()[_0x34f854(0x211)](0x1,0x12);this[_0x34f854(0x1fd)][_0x34f854(0x2e7)](_0x171546,_0x3a4cf9);}return this[_0x34f854(0x1fd)][_0x34f854(0x2ed)](_0x171546);}}}[_0x1f8ff5(0x21b)](_0x4616dc,_0x5f35cd){const _0x551348=_0x1f8ff5;if(!_0x5f35cd)return;let _0x40463f=_0x4616dc[_0x551348(0x283)];for(;_0x40463f--;){const _0x2fd5ec=_0x4616dc[_0x40463f];this[_0x551348(0x1ff)][_0x551348(0x265)](_0x2fd5ec)||this[_0x551348(0x1fd)][_0x551348(0x2e7)](_0x2fd5ec,_0x5f35cd);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2a8ad9=_0x4a8d;function _0x1bf2(){const _0x4a52fb=['delete','_uniqueUsersCount','_createUser','requires','309336jbRaDE','plugins','change:state','getUserSessions','forEach','_users','sessionAdd:','sessions-register-already-registered','channelConnectedUsers','register','pluginName','channelSessions','getUserRole','set','unregister','249498Uwgiua','isPremiumPlugin','_handleSessionAdd','state','38SNedLj','5GaiCAm','sessions-unregister-not-exist','mySessionId','fire','_handleSessionRemove','clear','10331mGrYVo','user','getUserBySessionId','Sessions','role','203312xlhmlz','1047672QEIkBL','isMe','13338rxaQPf','connected','context','orderNumber','add','sessionId','getUser','get','addUser','allConnectedUsers','has','connection','105HVYLNN','_registeredSessions','init','values','defineMe','stopListening','listenTo','size','assign','550640zbqAvg','remove','isOfficialPlugin'];_0x1bf2=function(){return _0x4a52fb;};return _0x1bf2();}(function(_0x5b97ab,_0x2fa8a7){const _0x327f40=_0x4a8d,_0x1ca2ff=_0x5b97ab();while(!![]){try{const _0x4a3aa7=-parseInt(_0x327f40(0xcb))/0x1*(-parseInt(_0x327f40(0xc4))/0x2)+-parseInt(_0x327f40(0xc0))/0x3+-parseInt(_0x327f40(0xb1))/0x4*(parseInt(_0x327f40(0xc5))/0x5)+parseInt(_0x327f40(0x95))/0x6*(parseInt(_0x327f40(0xa1))/0x7)+-parseInt(_0x327f40(0x92))/0x8+parseInt(_0x327f40(0x93))/0x9+-parseInt(_0x327f40(0xaa))/0xa;if(_0x4a3aa7===_0x2fa8a7)break;else _0x1ca2ff['push'](_0x1ca2ff['shift']());}catch(_0x3c7ee2){_0x1ca2ff['push'](_0x1ca2ff['shift']());}}}(_0x1bf2,0x19a68));function _0x4a8d(_0x89109f,_0xdfde62){const _0x1bf2cf=_0x1bf2();return _0x4a8d=function(_0x4a8d39,_0x1f0472){_0x4a8d39=_0x4a8d39-0x8f;let _0x33026b=_0x1bf2cf[_0x4a8d39];return _0x33026b;},_0x4a8d(_0x89109f,_0xdfde62);}import{ContextPlugin as _0x368218}from'ckeditor5/src/core.js';import{Collection as _0x36bc30,CKEditorError as _0x549c0c}from'ckeditor5/src/utils.js';import _0x4eb87d from'./websocketgateway.js';import{Users as _0x53e64a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x368218{[_0x2a8ad9(0xbc)];[_0x2a8ad9(0xb9)];[_0x2a8ad9(0x9e)];[_0x2a8ad9(0xa2)];[_0x2a8ad9(0xae)];[_0x2a8ad9(0xb6)];static get[_0x2a8ad9(0xbb)](){const _0x529b09=_0x2a8ad9;return _0x529b09(0x90);}static get[_0x2a8ad9(0xac)](){return!0x0;}static get[_0x2a8ad9(0xc1)](){return!0x0;}static get[_0x2a8ad9(0xb0)](){return[_0x4eb87d,_0x53e64a];}constructor(_0x3f1e5f){const _0x20b6f5=_0x2a8ad9;super(_0x3f1e5f),this[_0x20b6f5(0xbc)]=new Map(),this[_0x20b6f5(0xb9)]=new Map(),this[_0x20b6f5(0x9e)]=new _0x36bc30(),this[_0x20b6f5(0xa2)]=new Map(),this[_0x20b6f5(0xae)]=0x0,this[_0x20b6f5(0xb6)]=this[_0x20b6f5(0x97)][_0x20b6f5(0xb2)][_0x20b6f5(0x9c)](_0x53e64a);}[_0x2a8ad9(0xa3)](){const _0xeccab8=_0x2a8ad9,_0x259b81=this[_0xeccab8(0x97)][_0xeccab8(0xb2)][_0xeccab8(0x9c)](_0x4eb87d);this[_0xeccab8(0xa7)](_0x259b81,_0xeccab8(0xb3),(_0x9f949a,_0x5129a1,_0x5c354b)=>{const _0x754411=_0xeccab8;if(_0x754411(0x96)!==_0x5c354b)this[_0x754411(0xbc)][_0x754411(0xb5)](_0x4d3e50=>_0x4d3e50[_0x754411(0xca)]()),this[_0x754411(0xb9)][_0x754411(0xb5)](_0x32cdbf=>_0x32cdbf[_0x754411(0xca)]()),this[_0x754411(0x9e)][_0x754411(0xca)]();else{for(const [_0x96285c,_0x22eddb]of this[_0x754411(0xa2)])for(const _0x138c41 of _0x22eddb)this[_0x754411(0xc2)](_0x96285c,_0x138c41);}}),this[_0xeccab8(0xaf)](_0x259b81[_0xeccab8(0xa0)]['me'],!0x0);}[_0x2a8ad9(0xba)](_0x239e46,_0x4b682f){const _0x5e0ed3=_0x2a8ad9;if(this[_0x5e0ed3(0xa2)][_0x5e0ed3(0x9f)](_0x239e46))throw new _0x549c0c(_0x5e0ed3(0xb8),null,{'channelId':_0x239e46});this[_0x5e0ed3(0xa2)][_0x5e0ed3(0xbe)](_0x239e46,_0x4b682f),this[_0x5e0ed3(0xbc)][_0x5e0ed3(0xbe)](_0x239e46,new _0x36bc30()),this[_0x5e0ed3(0xb9)][_0x5e0ed3(0xbe)](_0x239e46,new _0x36bc30()),this[_0x5e0ed3(0xa7)](_0x4b682f,_0x5e0ed3(0x99),(_0x194fba,_0x394c3c)=>this[_0x5e0ed3(0xc2)](_0x239e46,_0x394c3c)),this[_0x5e0ed3(0xa7)](_0x4b682f,_0x5e0ed3(0xab),(_0x2b7c19,_0x49dd56)=>this[_0x5e0ed3(0xc9)](_0x239e46,_0x49dd56));for(const _0x26bca2 of _0x4b682f)this[_0x5e0ed3(0xc2)](_0x239e46,_0x26bca2);}[_0x2a8ad9(0xbf)](_0x216466){const _0x429023=_0x2a8ad9;if(!this[_0x429023(0xa2)][_0x429023(0x9f)](_0x216466))throw new _0x549c0c(_0x429023(0xc6),null,{'channelId':_0x216466});const _0x22b89c=this[_0x429023(0xa2)][_0x429023(0x9c)](_0x216466);this[_0x429023(0xa6)](_0x22b89c);for(const _0x1783d7 of _0x22b89c)_0x429023(0x96)===this[_0x429023(0x97)][_0x429023(0xb2)][_0x429023(0x9c)](_0x4eb87d)[_0x429023(0xc3)]&&this[_0x429023(0xc9)](_0x216466,_0x1783d7);this[_0x429023(0xa2)][_0x429023(0xad)](_0x216466),this[_0x429023(0xbc)][_0x429023(0xad)](_0x216466),this[_0x429023(0xb9)][_0x429023(0xad)](_0x216466);}get[_0x2a8ad9(0xc7)](){const _0x2b081e=_0x2a8ad9;return this[_0x2b081e(0x97)][_0x2b081e(0xb2)][_0x2b081e(0x9c)](_0x4eb87d)[_0x2b081e(0xa0)][_0x2b081e(0x9a)];}[_0x2a8ad9(0x8f)](_0x197b81){const _0x2c36dc=_0x2a8ad9;for(const _0x5d9f97 of this[_0x2c36dc(0xbc)][_0x2c36dc(0xa4)]())for(const _0x3e47a2 of _0x5d9f97)if(_0x3e47a2['id']===_0x197b81)return _0x3e47a2[_0x2c36dc(0xcc)];}[_0x2a8ad9(0xb4)](_0x59b3ec,_0x3a62e7){const _0x992d66=_0x2a8ad9,_0x558265=_0x3a62e7?[this[_0x992d66(0xbc)][_0x992d66(0x9c)](_0x3a62e7)]:this[_0x992d66(0xbc)][_0x992d66(0xa4)](),_0x45ea67=new Set();for(const _0x391f49 of _0x558265)for(const _0x26b777 of _0x391f49)_0x26b777[_0x992d66(0xcc)]['id']===_0x59b3ec['id']&&_0x45ea67[_0x992d66(0x99)](_0x26b777['id']);return _0x45ea67;}[_0x2a8ad9(0xbd)](_0x1807f0){const _0x5f32ad=_0x2a8ad9;for(const _0x57ce95 of this[_0x5f32ad(0xbc)][_0x5f32ad(0xa4)]())for(const _0x3d2381 of _0x57ce95)if(_0x3d2381[_0x5f32ad(0xcc)]===_0x1807f0)return _0x3d2381[_0x5f32ad(0x91)];}[_0x2a8ad9(0xc2)](_0x1fd47e,_0x32f911){const _0x4d366e=_0x2a8ad9;if(_0x4d366e(0x96)!==this[_0x4d366e(0x97)][_0x4d366e(0xb2)][_0x4d366e(0x9c)](_0x4eb87d)[_0x4d366e(0xc3)])return;const _0x5c0310=_0x32f911[_0x4d366e(0xcc)],_0x7033a1=this[_0x4d366e(0xb6)][_0x4d366e(0x9b)](_0x5c0310['id'])||this[_0x4d366e(0xaf)](_0x5c0310),_0x2126ee=Object[_0x4d366e(0xa9)]({},_0x32f911,{'user':_0x7033a1});this[_0x4d366e(0xbc)][_0x4d366e(0x9c)](_0x1fd47e)[_0x4d366e(0x99)](_0x2126ee);const _0x529393=this[_0x4d366e(0xb9)][_0x4d366e(0x9c)](_0x1fd47e);_0x529393[_0x4d366e(0x9f)](_0x7033a1['id'])||_0x529393[_0x4d366e(0x99)](_0x7033a1),this[_0x4d366e(0x9e)][_0x4d366e(0x9f)](_0x7033a1['id'])||this[_0x4d366e(0x9e)][_0x4d366e(0x99)](_0x7033a1,_0x7033a1[_0x4d366e(0x94)]?0x0:void 0x0),this[_0x4d366e(0xc8)](_0x4d366e(0xb7)+_0x1fd47e,{'channelId':_0x1fd47e,'session':_0x2126ee});}[_0x2a8ad9(0xc9)](_0x1802bc,_0x5e8cdf){const _0x32c4b3=_0x2a8ad9;if(_0x32c4b3(0x96)!==this[_0x32c4b3(0x97)][_0x32c4b3(0xb2)][_0x32c4b3(0x9c)](_0x4eb87d)[_0x32c4b3(0xc3)])return;const _0x1839c8=this[_0x32c4b3(0xb9)][_0x32c4b3(0x9c)](_0x1802bc),_0x21637e=_0x5e8cdf[_0x32c4b3(0xcc)];_0x21637e['id']&&(this[_0x32c4b3(0xbc)][_0x32c4b3(0x9c)](_0x1802bc)[_0x32c4b3(0xab)](_0x5e8cdf['id']),_0x1839c8[_0x32c4b3(0x9f)](_0x21637e['id'])&&!this[_0x32c4b3(0xb4)](_0x21637e,_0x1802bc)[_0x32c4b3(0xa8)]&&_0x1839c8[_0x32c4b3(0xab)](_0x21637e['id']),this[_0x32c4b3(0x9e)][_0x32c4b3(0x9c)](_0x21637e['id'])&&!this[_0x32c4b3(0xb4)](_0x21637e)[_0x32c4b3(0xa8)]&&this[_0x32c4b3(0x9e)][_0x32c4b3(0xab)](_0x21637e['id']));}[_0x2a8ad9(0xaf)](_0x2591b2,_0x45a850){const _0xe17557=_0x2a8ad9,_0x49ce03=this[_0xe17557(0xb6)][_0xe17557(0x9d)](_0x2591b2);return _0x45a850&&this[_0xe17557(0xb6)][_0xe17557(0xa5)](_0x2591b2['id']),_0x49ce03[_0xe17557(0x98)]=this[_0xe17557(0xae)]++,_0x49ce03;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x193838=_0x3193;(function(_0x5ccc69,_0x3aeadf){const _0x41e55e=_0x3193,_0x43d0f1=_0x5ccc69();while(!![]){try{const _0xb7b7fa=parseInt(_0x41e55e(0x1cf))/0x1+-parseInt(_0x41e55e(0x190))/0x2*(-parseInt(_0x41e55e(0x184))/0x3)+-parseInt(_0x41e55e(0x160))/0x4*(-parseInt(_0x41e55e(0x194))/0x5)+parseInt(_0x41e55e(0x185))/0x6+-parseInt(_0x41e55e(0x1c2))/0x7+-parseInt(_0x41e55e(0x1c7))/0x8+parseInt(_0x41e55e(0x1a1))/0x9;if(_0xb7b7fa===_0x3aeadf)break;else _0x43d0f1['push'](_0x43d0f1['shift']());}catch(_0x2fb5b2){_0x43d0f1['push'](_0x43d0f1['shift']());}}}(_0x339e,0xad312));function _0x339e(){const _0xab5ec4=['markerToElement','_createdBatches','isPremiumPlugin','mouseleave','markerName','conversion','getFirstRange','update:user:range','size','data-session-id','getMarkerClass','addEventListener','parent','getNearestSelectionRange','render','deletionPosition','getSelectionClass','element','_domEmitter','get','UserMarkers','for','schema','document','checkChild','user:position','user:range','Escape','editingDowncast','fromRange','orderNumber','model','markerToHighlight','batch','mouseenter','51669UqnQzA','3667560SMoWAd','mySessionId','editing','stopListening','newRange','highest','getAttribute','$graveyard','isDocumentOperation','change','split','52aYMQPM','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','keydown','user:range:','1716690ykVxQi','detach','mapper','outerHTML','change:range','updateMarker','ck-user__marker_hovered','isOfficialPlugin','createRange','ck-user__marker-tooltip','userPositionMarker','span','startsWith','6234678yoTGfU','toDomElement','oldRange','setCustomProperty','hasDomSelection','user:','isLimit','editor','pluginName','type','getUserBySessionId','false','tableCell','listenTo','getPositions','add','clear','addMarker','removeClass','nodeAfter','contenteditable','has','classList','color','ck-user__marker\x20','init','delete','root','reconvertMarker','start','markers','user:position:','selection','7131670kyBDyP','hasContent','end','remove','plugins','5925112vXALbe','name','createUserMarkerOperations','rootName','isCollapsed','destroy','markerNameToElements','setAttribute','373705plDpUG','set','isObject','createElement','textContent','getContainedElement','removeMarker','marker','$text','innerHTML','toRange','getCustomProperty','undo','getStart','requires','commands','ck-user__selection','afterInit','applyOperation','markerRange','getRange','createUIElement','spellcheck','isInline','isSimilar','enqueueChange','view','4CNrUFO'];_0x339e=function(){return _0xab5ec4;};return _0x339e();}import{Plugin as _0x5b5b19}from'ckeditor5/src/core.js';import{global as _0x33e8cb,DomEmitterMixin as _0x240cf7}from'ckeditor5/src/utils.js';function _0x3193(_0x29d63f,_0x20d52f){const _0x339ee1=_0x339e();return _0x3193=function(_0x3193f3,_0x62456){_0x3193f3=_0x3193f3-0x157;let _0x3ad732=_0x339ee1[_0x3193f3];return _0x3ad732;},_0x3193(_0x29d63f,_0x20d52f);}import _0x5d4f9e from'./sessions.js';import{LiveRange as _0x5652af}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x5b5b19{[_0x193838(0x173)]=new(_0x240cf7())();static get[_0x193838(0x1dd)](){return[_0x5d4f9e];}static get[_0x193838(0x1a9)](){const _0x166ec1=_0x193838;return _0x166ec1(0x175);}static get[_0x193838(0x19b)](){return!0x0;}static get[_0x193838(0x163)](){return!0x0;}[_0x193838(0x1ba)](){const _0x52df5a=_0x193838,_0x42298c=this[_0x52df5a(0x1a8)],_0x17e438=_0x42298c[_0x52df5a(0x1c6)][_0x52df5a(0x174)](_0x5d4f9e);_0x42298c[_0x52df5a(0x166)][_0x52df5a(0x176)](_0x52df5a(0x17d))[_0x52df5a(0x161)]({'model':_0x52df5a(0x17a),'view':(_0x100d34,{writer:_0x193a0e})=>function(_0x1f18ed,_0x2db305,_0x218669,_0x21857b){const _0x126aff=_0x52df5a,_0x5209f9=_0x1f18ed[_0x126aff(0x165)][_0x126aff(0x18f)](':')[0x2],_0x368ccf=_0x218669[_0x126aff(0x1ab)](_0x5209f9);if(!_0x368ccf||_0x5209f9===_0x218669[_0x126aff(0x186)])return;if(!_0x21857b[_0x126aff(0x180)][_0x126aff(0x177)][_0x126aff(0x179)](_0x1f18ed[_0x126aff(0x158)][_0x126aff(0x1be)],_0x126aff(0x1d7)))return;const _0x5389ec={'class':_0x126aff(0x1b9)+_0x368ccf[_0x126aff(0x1b8)][_0x126aff(0x16b)](),'data-name':_0x368ccf[_0x126aff(0x1c8)],'data-session-id':_0x5209f9},_0x137b75=_0x21857b[_0x126aff(0x180)][_0x126aff(0x1bf)][_0x126aff(0x174)](_0x1f18ed[_0x126aff(0x165)]),_0x4cf348=_0x137b75[_0x126aff(0x1dc)](),_0x2ffa6c=_0x4cf348[_0x126aff(0x1b4)],_0x5f4570=_0x21857b[_0x126aff(0x180)][_0x126aff(0x177)];if(_0x2ffa6c&&_0x5f4570[_0x126aff(0x1d1)](_0x2ffa6c)&&_0x5f4570[_0x126aff(0x15c)](_0x2ffa6c)&&!_0x21857b[_0x126aff(0x180)][_0x126aff(0x1bf)][_0x126aff(0x174)](_0x126aff(0x193)+_0x5209f9)[_0x126aff(0x159)]()[_0x126aff(0x1cb)])return;const _0x537d9a=_0x4cf348[_0x126aff(0x16d)];return _0x21857b[_0x126aff(0x180)][_0x126aff(0x177)][_0x126aff(0x1a7)](_0x537d9a)&&!_0x21857b[_0x126aff(0x180)][_0x126aff(0x1c3)](_0x537d9a)&&(_0x5389ec[_0x126aff(0x1b5)]=!0x1),function(_0x26d9fd,_0xa25bc7,_0x31c931){const _0x31b86b=_0x126aff,_0x36ff97=_0x26d9fd[_0x31b86b(0x15a)](_0x31b86b(0x19f),_0xa25bc7);return _0x26d9fd[_0x31b86b(0x1a4)](_0x31b86b(0x19e),!0x0,_0x36ff97),_0x36ff97[_0x31b86b(0x16f)]=function(_0x34de30){const _0x3f8fd2=_0x31b86b,_0x197dde=this[_0x3f8fd2(0x1a2)](_0x34de30),_0x3ea1e9=document[_0x3f8fd2(0x1d2)](_0x3f8fd2(0x19f));return _0x3ea1e9[_0x3f8fd2(0x1b7)][_0x3f8fd2(0x1b0)](_0x3f8fd2(0x19d)),_0x3ea1e9[_0x3f8fd2(0x1ce)](_0x3f8fd2(0x1b5),_0x3f8fd2(0x1ac)),_0x3ea1e9[_0x3f8fd2(0x1ce)](_0x3f8fd2(0x15b),_0x3f8fd2(0x1ac)),_0x3ea1e9[_0x3f8fd2(0x1d3)]=_0x31c931[_0x3f8fd2(0x1c8)],_0x197dde[_0x3f8fd2(0x1d8)]=_0x3f8fd2(0x191)+_0x3ea1e9[_0x3f8fd2(0x197)]+'',_0x197dde[_0x3f8fd2(0x16c)](_0x3f8fd2(0x183),()=>{const _0x2aa182=_0x3f8fd2;_0x197dde[_0x2aa182(0x1b7)][_0x2aa182(0x1b0)](_0x2aa182(0x19a));}),_0x197dde[_0x3f8fd2(0x16c)](_0x3f8fd2(0x164),()=>{const _0x516d81=_0x3f8fd2;_0x197dde[_0x516d81(0x1b7)][_0x516d81(0x1c5)](_0x516d81(0x19a));}),_0x197dde;},_0x36ff97[_0x31b86b(0x15d)]=function(_0x965047){const _0x4d0075=_0x31b86b;return!(!this[_0x4d0075(0x1da)](_0x4d0075(0x19e))||!_0x965047[_0x4d0075(0x1da)](_0x4d0075(0x19e))||this[_0x4d0075(0x18b)](_0x4d0075(0x16a))!=_0x965047[_0x4d0075(0x18b)](_0x4d0075(0x16a)));},_0x36ff97;}(_0x2db305,_0x5389ec,_0x368ccf);}(_0x100d34,_0x193a0e,_0x17e438,_0x42298c)}),_0x42298c[_0x52df5a(0x166)][_0x52df5a(0x176)](_0x52df5a(0x17d))[_0x52df5a(0x181)]({'model':_0x52df5a(0x17b),'view':_0x490afe=>function(_0x26888d,_0x53860d){const _0x38b999=_0x52df5a,_0x46f095=_0x26888d[_0x38b999(0x165)][_0x38b999(0x18f)](':')[0x2];if(_0x46f095===_0x53860d[_0x38b999(0x186)])return null;const _0x4596ae=_0x53860d[_0x38b999(0x1ab)](_0x46f095);if(!_0x4596ae)return{'id':_0x46f095,'classes':[]};return{'id':_0x46f095,'classes':[_0x38b999(0x1df),_0x4596ae[_0x38b999(0x1b8)][_0x38b999(0x171)]()],'attributes':{'data-session-id':_0x46f095},'priority':0x7d0+_0x4596ae[_0x38b999(0x17f)]};}(_0x490afe,_0x17e438)}),function(_0x546eb7){const _0x516667=_0x52df5a,_0x6bc728=_0x546eb7[_0x516667(0x180)],_0x237b1f=new Map(),_0x1676ff=_0x546eb7[_0x516667(0x1c6)][_0x516667(0x174)](_0x5d4f9e);_0x6bc728[_0x516667(0x1bf)]['on'](_0x516667(0x168),(_0x34363c,_0x1f02de,_0x161ef4,_0x10be99)=>{const _0x349632=_0x516667;if(!_0x10be99&&_0x237b1f[_0x349632(0x174)](_0x1f02de[_0x349632(0x1c8)]))return _0x237b1f[_0x349632(0x174)](_0x1f02de[_0x349632(0x1c8)])[_0x349632(0x195)](),void _0x237b1f[_0x349632(0x1bb)](_0x1f02de[_0x349632(0x1c8)]);const _0x2d7a77=_0x1f02de[_0x349632(0x1c8)][_0x349632(0x18f)](':')[0x2];if(_0x2d7a77===_0x1676ff[_0x349632(0x186)])return;const _0x42191b=_0x349632(0x1c0)+_0x2d7a77;_0x6bc728[_0x349632(0x1bf)][_0x349632(0x1b6)](_0x42191b)&&_0x546eb7[_0x349632(0x187)][_0x349632(0x1bd)](_0x42191b),_0x1f02de['on'](_0x349632(0x198),(_0x2e913b,_0x47e6a0,_0x425779)=>{const _0x2d2264=_0x349632;if(_0x2d2264(0x18c)!=_0x47e6a0[_0x2d2264(0x1bc)][_0x2d2264(0x1ca)]&&_0x2d2264(0x18c)==_0x1f02de[_0x2d2264(0x159)]()[_0x2d2264(0x1bc)][_0x2d2264(0x1ca)]&&!_0x237b1f[_0x2d2264(0x1b6)](_0x1f02de[_0x2d2264(0x1c8)])){const _0x28e69c=_0x6bc728[_0x2d2264(0x177)][_0x2d2264(0x16e)](_0x425779[_0x2d2264(0x170)]);if(_0x28e69c){const _0x1ca729=_0x5652af[_0x2d2264(0x17e)](_0x28e69c);_0x237b1f[_0x2d2264(0x1d0)](_0x1f02de[_0x2d2264(0x1c8)],_0x1ca729),_0x1ca729['on'](_0x2d2264(0x198),(_0x24f26c,_0x2d7705,_0x59d718)=>{const _0x129ab1=_0x2d2264;if(_0x129ab1(0x18c)==_0x1ca729[_0x129ab1(0x1bc)][_0x129ab1(0x1ca)]){const _0x1f6606=_0x6bc728[_0x129ab1(0x177)][_0x129ab1(0x16e)](_0x59d718[_0x129ab1(0x170)]);_0x1f6606?(_0x1ca729[_0x129ab1(0x1be)]=_0x1f6606[_0x129ab1(0x1be)],_0x1ca729[_0x129ab1(0x1c4)]=_0x1f6606[_0x129ab1(0x1c4)]):(_0x237b1f[_0x129ab1(0x1bb)](_0x1f02de[_0x129ab1(0x1c8)]),_0x1ca729[_0x129ab1(0x195)]());}});}}});}),_0x6bc728[_0x516667(0x178)]['on'](_0x516667(0x18e),()=>{const _0x14eb6a=_0x516667;_0x237b1f[_0x14eb6a(0x169)]>0x0&&_0x6bc728[_0x14eb6a(0x15e)]({'isUndoable':!0x1},_0x411f7e=>{const _0x1fe51d=_0x14eb6a;for(const [_0x152947,_0x5ca378]of _0x237b1f)_0x1fe51d(0x18c)==_0x6bc728[_0x1fe51d(0x1bf)][_0x1fe51d(0x174)](_0x152947)[_0x1fe51d(0x159)]()[_0x1fe51d(0x1bc)][_0x1fe51d(0x1ca)]&&(te(_0x152947[_0x1fe51d(0x18f)](':')[0x2],_0x5ca378[_0x1fe51d(0x1d9)](),_0x6bc728,_0x411f7e),_0x5ca378[_0x1fe51d(0x195)]());_0x237b1f[_0x1fe51d(0x1b1)]();});});}(_0x42298c),this[_0x52df5a(0x173)][_0x52df5a(0x1ae)](_0x33e8cb[_0x52df5a(0x178)],_0x52df5a(0x192),(_0x3719c2,{key:_0xf63ee2})=>{const _0x5a6c4c=_0x52df5a;_0x5a6c4c(0x17c)===_0xf63ee2&&function(_0x276a0f){const _0x34f869=_0x5a6c4c;_0x276a0f[_0x34f869(0x187)][_0x34f869(0x15f)][_0x34f869(0x18e)](_0x347afd=>{const _0x1178dc=_0x34f869;for(const _0x289fc2 of _0x276a0f[_0x1178dc(0x180)][_0x1178dc(0x1bf)]){if(!_0x289fc2[_0x1178dc(0x1c8)][_0x1178dc(0x1a0)](_0x1178dc(0x17a)))continue;const _0x3aec14=_0x276a0f[_0x1178dc(0x187)][_0x1178dc(0x196)][_0x1178dc(0x1cd)](_0x289fc2[_0x1178dc(0x1c8)]);if(_0x3aec14){for(const _0x19e766 of _0x3aec14)_0x347afd[_0x1178dc(0x1b3)](_0x1178dc(0x19a),_0x19e766);}}});}(_0x42298c);},{'useCapture':!0x0});}[_0x193838(0x1e0)](){const _0x376c89=_0x193838,_0x65d96a=this[_0x376c89(0x1a8)],_0x504413=_0x65d96a[_0x376c89(0x1de)][_0x376c89(0x174)](_0x376c89(0x1db));_0x504413&&_0x65d96a[_0x376c89(0x180)]['on'](_0x376c89(0x157),(_0x3f7398,_0x12cfa7)=>{const _0x489e49=_0x376c89,_0x28f34f=_0x12cfa7[0x0];if(!_0x28f34f[_0x489e49(0x18d)])return;if(_0x489e49(0x1d6)!=_0x28f34f[_0x489e49(0x1aa)]||!_0x28f34f[_0x489e49(0x1c8)][_0x489e49(0x1a0)](_0x489e49(0x1a6)))return;const _0x24915d=_0x28f34f[_0x489e49(0x182)];_0x504413[_0x489e49(0x162)][_0x489e49(0x1b6)](_0x24915d)&&(_0x28f34f[_0x489e49(0x189)]=_0x28f34f[_0x489e49(0x1a3)]?_0x65d96a[_0x489e49(0x180)][_0x489e49(0x19c)](_0x28f34f[_0x489e49(0x1a3)][_0x489e49(0x1be)],_0x28f34f[_0x489e49(0x1a3)][_0x489e49(0x1c4)]):null);},{'priority':_0x376c89(0x18a)});}[_0x193838(0x1cc)](){const _0x4218ba=_0x193838;return this[_0x4218ba(0x173)][_0x4218ba(0x188)](),super[_0x4218ba(0x1cc)]();}[_0x193838(0x1c9)](){const _0x192bd4=_0x193838,_0x1ea77c=this[_0x192bd4(0x1a8)],_0x8540f1=_0x1ea77c[_0x192bd4(0x180)][_0x192bd4(0x178)],_0x288378=_0x1ea77c[_0x192bd4(0x1c6)][_0x192bd4(0x174)](_0x5d4f9e);_0x1ea77c[_0x192bd4(0x180)][_0x192bd4(0x15e)]({'isUndoable':!0x1},_0x3d25e0=>{const _0xe137c3=_0x192bd4,_0x46af6a=_0xe137c3(0x193)+_0x288378[_0xe137c3(0x186)],_0x9443a9=_0xe137c3(0x1c0)+_0x288378[_0xe137c3(0x186)],_0x32d4f7=_0x1ea77c[_0xe137c3(0x180)][_0xe137c3(0x1bf)][_0xe137c3(0x1b6)](_0x46af6a);_0x1ea77c[_0xe137c3(0x187)][_0xe137c3(0x15f)][_0xe137c3(0x1a5)]?te(_0x288378[_0xe137c3(0x186)],_0x8540f1[_0xe137c3(0x1c1)][_0xe137c3(0x167)](),_0x1ea77c[_0xe137c3(0x180)],_0x3d25e0):_0x32d4f7&&(_0x3d25e0[_0xe137c3(0x1d5)](_0x46af6a),_0x3d25e0[_0xe137c3(0x1d5)](_0x9443a9));});}}function te(_0x41d6c5,_0x306a34,_0x40d553,_0x1455a1){const _0x1c5108=_0x193838,_0x12eae5=_0x1c5108(0x193)+_0x41d6c5,_0x27b5cf=_0x1c5108(0x1c0)+_0x41d6c5,_0x980a19=_0x306a34[_0x1c5108(0x1d4)]();let _0x3e6c14=_0x306a34[_0x1c5108(0x1be)];_0x980a19&&_0x980a19['is'](_0x1c5108(0x172),_0x1c5108(0x1ad))&&(_0x3e6c14=function(_0x4634f2,_0xadf9f4){const _0x19b7af=_0x1c5108;for(const _0x46b912 of _0x4634f2[_0x19b7af(0x1af)]())if(_0xadf9f4[_0x19b7af(0x177)][_0x19b7af(0x179)](_0x46b912,_0x19b7af(0x1d7)))return _0x46b912;}(_0x306a34,_0x40d553),_0x306a34=_0x1455a1[_0x1c5108(0x19c)](_0x3e6c14));const _0x5cc8f9=_0x1455a1[_0x1c5108(0x19c)](_0x3e6c14);_0x40d553[_0x1c5108(0x1bf)][_0x1c5108(0x1b6)](_0x12eae5)?(_0x1455a1[_0x1c5108(0x199)](_0x12eae5,{'range':_0x306a34}),_0x1455a1[_0x1c5108(0x199)](_0x27b5cf,{'range':_0x5cc8f9})):(_0x1455a1[_0x1c5108(0x1b2)](_0x12eae5,{'range':_0x306a34,'usingOperation':!0x0}),_0x1455a1[_0x1c5108(0x1b2)](_0x27b5cf,{'range':_0x5cc8f9,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x533524=_0x4bb9;(function(_0x36af35,_0x215e10){const _0x432b6e=_0x4bb9,_0x23e7bc=_0x36af35();while(!![]){try{const _0x5c9892=-parseInt(_0x432b6e(0x111))/0x1*(parseInt(_0x432b6e(0x11f))/0x2)+-parseInt(_0x432b6e(0x16b))/0x3+parseInt(_0x432b6e(0x166))/0x4+parseInt(_0x432b6e(0x127))/0x5*(parseInt(_0x432b6e(0x140))/0x6)+-parseInt(_0x432b6e(0x169))/0x7*(-parseInt(_0x432b6e(0x186))/0x8)+-parseInt(_0x432b6e(0x13b))/0x9+parseInt(_0x432b6e(0x137))/0xa;if(_0x5c9892===_0x215e10)break;else _0x23e7bc['push'](_0x23e7bc['shift']());}catch(_0x5ceccf){_0x23e7bc['push'](_0x23e7bc['shift']());}}}(_0x3960,0x3395d));import{Plugin as _0x2ecea4}from'ckeditor5/src/core.js';import{global as _0x4ebd8d,DomEmitterMixin as _0x48cfd8}from'ckeditor5/src/utils.js';import _0x120719 from'./sessions.js';import{LiveRange as _0x32fd4f}from'ckeditor5/src/engine.js';function _0x4bb9(_0x515590,_0x18224e){const _0x396001=_0x3960();return _0x4bb9=function(_0x4bb9e0,_0x58bdc0){_0x4bb9e0=_0x4bb9e0-0xfc;let _0x318742=_0x396001[_0x4bb9e0];return _0x318742;},_0x4bb9(_0x515590,_0x18224e);}import'../../theme/usermarkers.css';export default class Q extends _0x2ecea4{[_0x533524(0x17f)]=new(_0x48cfd8())();static get[_0x533524(0x12f)](){return[_0x120719];}static get[_0x533524(0x174)](){const _0x5226b2=_0x533524;return _0x5226b2(0x14d);}static get[_0x533524(0x15e)](){return!0x0;}static get[_0x533524(0x184)](){return!0x0;}[_0x533524(0x135)](){const _0x55b8a5=_0x533524,_0x5bfdb6=this[_0x55b8a5(0x133)],_0x495de8=_0x5bfdb6[_0x55b8a5(0x15b)][_0x55b8a5(0x144)](_0x120719);_0x5bfdb6[_0x55b8a5(0x113)][_0x55b8a5(0x180)](_0x55b8a5(0x151))[_0x55b8a5(0x109)]({'model':_0x55b8a5(0x132),'view':(_0x3dd388,{writer:_0x15e4a5})=>function(_0x40f15a,_0x5861d1,_0x516d01,_0x4166af){const _0x51bfcc=_0x55b8a5,_0x4db4d9=_0x40f15a[_0x51bfcc(0x17c)][_0x51bfcc(0x131)](':')[0x2],_0x2db4e3=_0x516d01[_0x51bfcc(0x172)](_0x4db4d9);if(!_0x2db4e3||_0x4db4d9===_0x516d01[_0x51bfcc(0x117)])return;if(!_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x175)][_0x51bfcc(0x10c)](_0x40f15a[_0x51bfcc(0x124)][_0x51bfcc(0x11b)],_0x51bfcc(0x171)))return;const _0x196993={'class':_0x51bfcc(0x152)+_0x2db4e3[_0x51bfcc(0x123)][_0x51bfcc(0x154)](),'data-name':_0x2db4e3[_0x51bfcc(0x141)],'data-session-id':_0x4db4d9},_0x3d9ba3=_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x103)][_0x51bfcc(0x144)](_0x40f15a[_0x51bfcc(0x17c)]),_0x22e700=_0x3d9ba3[_0x51bfcc(0x17a)](),_0x403a13=_0x22e700[_0x51bfcc(0x10f)],_0x296d76=_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x175)];if(_0x403a13&&_0x296d76[_0x51bfcc(0xff)](_0x403a13)&&_0x296d76[_0x51bfcc(0x102)](_0x403a13)&&!_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x103)][_0x51bfcc(0x144)](_0x51bfcc(0x11d)+_0x4db4d9)[_0x51bfcc(0x12d)]()[_0x51bfcc(0x118)])return;const _0x2734a4=_0x22e700[_0x51bfcc(0x162)];return _0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x175)][_0x51bfcc(0x121)](_0x2734a4)&&!_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x155)](_0x2734a4)&&(_0x196993[_0x51bfcc(0x16a)]=!0x1),function(_0xd83f07,_0x42c302,_0x217f0f){const _0x5d4a99=_0x51bfcc,_0x5110c7=_0xd83f07[_0x5d4a99(0x116)](_0x5d4a99(0x10a),_0x42c302);return _0xd83f07[_0x5d4a99(0x167)](_0x5d4a99(0x16f),!0x0,_0x5110c7),_0x5110c7[_0x5d4a99(0x16d)]=function(_0x33a694){const _0xd87e8a=_0x5d4a99,_0x36e1e1=this[_0xd87e8a(0x110)](_0x33a694),_0x3ee546=document[_0xd87e8a(0x143)](_0xd87e8a(0x10a));return _0x3ee546[_0xd87e8a(0x126)][_0xd87e8a(0x178)](_0xd87e8a(0x142)),_0x3ee546[_0xd87e8a(0x11e)](_0xd87e8a(0x16a),_0xd87e8a(0x14f)),_0x3ee546[_0xd87e8a(0x11e)](_0xd87e8a(0x149),_0xd87e8a(0x14f)),_0x3ee546[_0xd87e8a(0x14a)]=_0x217f0f[_0xd87e8a(0x141)],_0x36e1e1[_0xd87e8a(0x15c)]=_0xd87e8a(0x125)+_0x3ee546[_0xd87e8a(0x177)]+'',_0x36e1e1[_0xd87e8a(0x134)](_0xd87e8a(0x14c),()=>{const _0x35f4c4=_0xd87e8a;_0x36e1e1[_0x35f4c4(0x126)][_0x35f4c4(0x178)](_0x35f4c4(0xfe));}),_0x36e1e1[_0xd87e8a(0x134)](_0xd87e8a(0x179),()=>{const _0x1d76e6=_0xd87e8a;_0x36e1e1[_0x1d76e6(0x126)][_0x1d76e6(0x139)](_0x1d76e6(0xfe));}),_0x36e1e1;},_0x5110c7[_0x5d4a99(0x11c)]=function(_0x3a5a18){const _0xfa2c2e=_0x5d4a99;return!(!this[_0xfa2c2e(0x173)](_0xfa2c2e(0x16f))||!_0x3a5a18[_0xfa2c2e(0x173)](_0xfa2c2e(0x16f))||this[_0xfa2c2e(0x185)](_0xfa2c2e(0x163))!=_0x3a5a18[_0xfa2c2e(0x185)](_0xfa2c2e(0x163)));},_0x5110c7;}(_0x5861d1,_0x196993,_0x2db4e3);}(_0x3dd388,_0x15e4a5,_0x495de8,_0x5bfdb6)}),_0x5bfdb6[_0x55b8a5(0x113)][_0x55b8a5(0x180)](_0x55b8a5(0x151))[_0x55b8a5(0x136)]({'model':_0x55b8a5(0x147),'view':_0x49e607=>function(_0x241b16,_0x42d290){const _0x152b5d=_0x55b8a5,_0x2a46d2=_0x241b16[_0x152b5d(0x17c)][_0x152b5d(0x131)](':')[0x2];if(_0x2a46d2===_0x42d290[_0x152b5d(0x117)])return null;const _0x2a2008=_0x42d290[_0x152b5d(0x172)](_0x2a46d2);if(!_0x2a2008)return{'id':_0x2a46d2,'classes':[]};return{'id':_0x2a46d2,'classes':[_0x152b5d(0x17d),_0x2a2008[_0x152b5d(0x123)][_0x152b5d(0x181)]()],'attributes':{'data-session-id':_0x2a46d2},'priority':0x7d0+_0x2a2008[_0x152b5d(0x160)]};}(_0x49e607,_0x495de8)}),function(_0x257649){const _0x32e253=_0x55b8a5,_0x3de384=_0x257649[_0x32e253(0x182)],_0x4e9924=new Map(),_0x527c51=_0x257649[_0x32e253(0x15b)][_0x32e253(0x144)](_0x120719);_0x3de384[_0x32e253(0x103)]['on'](_0x32e253(0x10d),(_0x10ca29,_0xe77ee5,_0x3a7619,_0x2b5e64)=>{const _0xade991=_0x32e253;if(!_0x2b5e64&&_0x4e9924[_0xade991(0x144)](_0xe77ee5[_0xade991(0x141)]))return _0x4e9924[_0xade991(0x144)](_0xe77ee5[_0xade991(0x141)])[_0xade991(0x13c)](),void _0x4e9924[_0xade991(0x122)](_0xe77ee5[_0xade991(0x141)]);const _0x396c20=_0xe77ee5[_0xade991(0x141)][_0xade991(0x131)](':')[0x2];if(_0x396c20===_0x527c51[_0xade991(0x117)])return;const _0x15ab9c=_0xade991(0x17e)+_0x396c20;_0x3de384[_0xade991(0x103)][_0xade991(0x157)](_0x15ab9c)&&_0x257649[_0xade991(0x158)][_0xade991(0x183)](_0x15ab9c),_0xe77ee5['on'](_0xade991(0x105),(_0x178f84,_0x236151,_0x3387c6)=>{const _0xa60996=_0xade991;if(_0xa60996(0x15d)!=_0x236151[_0xa60996(0x156)][_0xa60996(0x13a)]&&_0xa60996(0x15d)==_0xe77ee5[_0xa60996(0x12d)]()[_0xa60996(0x156)][_0xa60996(0x13a)]&&!_0x4e9924[_0xa60996(0x157)](_0xe77ee5[_0xa60996(0x141)])){const _0x1f282d=_0x3de384[_0xa60996(0x175)][_0xa60996(0x104)](_0x3387c6[_0xa60996(0x13e)]);if(_0x1f282d){const _0x120d5a=_0x32fd4f[_0xa60996(0x138)](_0x1f282d);_0x4e9924[_0xa60996(0x120)](_0xe77ee5[_0xa60996(0x141)],_0x120d5a),_0x120d5a['on'](_0xa60996(0x105),(_0x27a31a,_0x50c726,_0x4a99d9)=>{const _0x3c758b=_0xa60996;if(_0x3c758b(0x15d)==_0x120d5a[_0x3c758b(0x156)][_0x3c758b(0x13a)]){const _0x5987bc=_0x3de384[_0x3c758b(0x175)][_0x3c758b(0x104)](_0x4a99d9[_0x3c758b(0x13e)]);_0x5987bc?(_0x120d5a[_0x3c758b(0x11b)]=_0x5987bc[_0x3c758b(0x11b)],_0x120d5a[_0x3c758b(0xfc)]=_0x5987bc[_0x3c758b(0xfc)]):(_0x4e9924[_0x3c758b(0x122)](_0xe77ee5[_0x3c758b(0x141)]),_0x120d5a[_0x3c758b(0x13c)]());}});}}});}),_0x3de384[_0x32e253(0x12c)]['on'](_0x32e253(0x119),()=>{const _0x18ef45=_0x32e253;_0x4e9924[_0x18ef45(0x15a)]>0x0&&_0x3de384[_0x18ef45(0x12b)]({'isUndoable':!0x1},_0x48f97f=>{const _0x4910d1=_0x18ef45;for(const [_0x3ea6a4,_0x425979]of _0x4e9924)_0x4910d1(0x15d)==_0x3de384[_0x4910d1(0x103)][_0x4910d1(0x144)](_0x3ea6a4)[_0x4910d1(0x12d)]()[_0x4910d1(0x156)][_0x4910d1(0x13a)]&&(se(_0x3ea6a4[_0x4910d1(0x131)](':')[0x2],_0x425979[_0x4910d1(0x168)](),_0x3de384,_0x48f97f),_0x425979[_0x4910d1(0x13c)]());_0x4e9924[_0x4910d1(0x107)]();});});}(_0x5bfdb6),this[_0x55b8a5(0x17f)][_0x55b8a5(0x176)](_0x4ebd8d[_0x55b8a5(0x12c)],_0x55b8a5(0x129),(_0x1bc012,{key:_0xfa2d55})=>{const _0x4c0ec8=_0x55b8a5;_0x4c0ec8(0x15f)===_0xfa2d55&&function(_0x561ce1){const _0x517922=_0x4c0ec8;_0x561ce1[_0x517922(0x158)][_0x517922(0x130)][_0x517922(0x119)](_0x9c2f7d=>{const _0x4abc8c=_0x517922;for(const _0x1475d8 of _0x561ce1[_0x4abc8c(0x182)][_0x4abc8c(0x103)]){if(!_0x1475d8[_0x4abc8c(0x141)][_0x4abc8c(0x153)](_0x4abc8c(0x132)))continue;const _0x1afa66=_0x561ce1[_0x4abc8c(0x158)][_0x4abc8c(0x12a)][_0x4abc8c(0x106)](_0x1475d8[_0x4abc8c(0x141)]);if(_0x1afa66){for(const _0x54a8e7 of _0x1afa66)_0x9c2f7d[_0x4abc8c(0x115)](_0x4abc8c(0xfe),_0x54a8e7);}}});}(_0x5bfdb6);},{'useCapture':!0x0});}[_0x533524(0x101)](){const _0x9e59e7=_0x533524,_0x3e63ea=this[_0x9e59e7(0x133)],_0x52c899=_0x3e63ea[_0x9e59e7(0x11a)][_0x9e59e7(0x144)](_0x9e59e7(0x148));_0x52c899&&_0x3e63ea[_0x9e59e7(0x182)]['on'](_0x9e59e7(0x14b),(_0xea1dd,_0x48b696)=>{const _0xf3a17a=_0x9e59e7,_0x40b4aa=_0x48b696[0x0];if(!_0x40b4aa[_0xf3a17a(0x10e)])return;if(_0xf3a17a(0x100)!=_0x40b4aa[_0xf3a17a(0x161)]||!_0x40b4aa[_0xf3a17a(0x141)][_0xf3a17a(0x153)](_0xf3a17a(0x12e)))return;const _0x2c578f=_0x40b4aa[_0xf3a17a(0x159)];_0x52c899[_0xf3a17a(0x14e)][_0xf3a17a(0x157)](_0x2c578f)&&(_0x40b4aa[_0xf3a17a(0x150)]=_0x40b4aa[_0xf3a17a(0x146)]?_0x3e63ea[_0xf3a17a(0x182)][_0xf3a17a(0x16c)](_0x40b4aa[_0xf3a17a(0x146)][_0xf3a17a(0x11b)],_0x40b4aa[_0xf3a17a(0x146)][_0xf3a17a(0xfc)]):null);},{'priority':_0x9e59e7(0x108)});}[_0x533524(0x114)](){const _0x27a50e=_0x533524;return this[_0x27a50e(0x17f)][_0x27a50e(0xfd)](),super[_0x27a50e(0x114)]();}[_0x533524(0x128)](){const _0x3fa697=_0x533524,_0xbeca9a=this[_0x3fa697(0x133)],_0x268704=_0xbeca9a[_0x3fa697(0x182)][_0x3fa697(0x12c)],_0x1edfd8=_0xbeca9a[_0x3fa697(0x15b)][_0x3fa697(0x144)](_0x120719);_0xbeca9a[_0x3fa697(0x182)][_0x3fa697(0x12b)]({'isUndoable':!0x1},_0x1bb75b=>{const _0x2a8909=_0x3fa697,_0x1c952b=_0x2a8909(0x11d)+_0x1edfd8[_0x2a8909(0x117)],_0x42f4e0=_0x2a8909(0x17e)+_0x1edfd8[_0x2a8909(0x117)],_0x2af4c4=_0xbeca9a[_0x2a8909(0x182)][_0x2a8909(0x103)][_0x2a8909(0x157)](_0x1c952b);_0xbeca9a[_0x2a8909(0x158)][_0x2a8909(0x130)][_0x2a8909(0x112)]?se(_0x1edfd8[_0x2a8909(0x117)],_0x268704[_0x2a8909(0x170)][_0x2a8909(0x165)](),_0xbeca9a[_0x2a8909(0x182)],_0x1bb75b):_0x2af4c4&&(_0x1bb75b[_0x2a8909(0x164)](_0x1c952b),_0x1bb75b[_0x2a8909(0x164)](_0x42f4e0));});}}function se(_0x4138e3,_0x1b64bd,_0x1f822a,_0x21f49c){const _0x27c875=_0x533524,_0x4075f2=_0x27c875(0x11d)+_0x4138e3,_0x1a2cd7=_0x27c875(0x17e)+_0x4138e3,_0x4fb2ca=_0x1b64bd[_0x27c875(0x17b)]();let _0x8a71dc=_0x1b64bd[_0x27c875(0x11b)];_0x4fb2ca&&_0x4fb2ca['is'](_0x27c875(0x145),_0x27c875(0x13d))&&(_0x8a71dc=function(_0x10fbe2,_0x3f07f5){const _0x34788a=_0x27c875;for(const _0x52d15f of _0x10fbe2[_0x34788a(0x16e)]())if(_0x3f07f5[_0x34788a(0x175)][_0x34788a(0x10c)](_0x52d15f,_0x34788a(0x171)))return _0x52d15f;}(_0x1b64bd,_0x1f822a),_0x1b64bd=_0x21f49c[_0x27c875(0x16c)](_0x8a71dc));const _0x29e498=_0x21f49c[_0x27c875(0x16c)](_0x8a71dc);_0x1f822a[_0x27c875(0x103)][_0x27c875(0x157)](_0x4075f2)?(_0x21f49c[_0x27c875(0x10b)](_0x4075f2,{'range':_0x1b64bd}),_0x21f49c[_0x27c875(0x10b)](_0x1a2cd7,{'range':_0x29e498})):(_0x21f49c[_0x27c875(0x13f)](_0x4075f2,{'range':_0x1b64bd,'usingOperation':!0x0}),_0x21f49c[_0x27c875(0x13f)](_0x1a2cd7,{'range':_0x29e498,'usingOperation':!0x0}));}function _0x3960(){const _0x10da21=['pluginName','schema','listenTo','outerHTML','add','mouseleave','getStart','getContainedElement','markerName','ck-user__selection','user:position:','_domEmitter','for','getSelectionClass','model','reconvertMarker','isPremiumPlugin','getAttribute','25552gUyTmz','end','stopListening','ck-user__marker_hovered','isObject','marker','afterInit','isInline','markers','getNearestSelectionRange','change:range','markerNameToElements','clear','highest','markerToElement','span','updateMarker','checkChild','update:user:range','isDocumentOperation','nodeAfter','toDomElement','39076hpPnox','hasDomSelection','conversion','destroy','removeClass','createUIElement','mySessionId','isCollapsed','change','commands','start','isSimilar','user:range:','setAttribute','16CPSQiv','set','isLimit','delete','color','markerRange','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','classList','173510lWmYca','createUserMarkerOperations','keydown','mapper','enqueueChange','document','getRange','user:','requires','view','split','user:position','editor','addEventListener','init','markerToHighlight','5540830ssSuML','fromRange','remove','rootName','3678912xcWEAT','detach','tableCell','deletionPosition','addMarker','6ZfoxuL','name','ck-user__marker-tooltip','createElement','get','element','oldRange','user:range','undo','spellcheck','textContent','applyOperation','mouseenter','UserMarkers','_createdBatches','false','newRange','editingDowncast','ck-user__marker\x20','startsWith','getMarkerClass','hasContent','root','has','editing','batch','size','plugins','innerHTML','$graveyard','isOfficialPlugin','Escape','orderNumber','type','parent','data-session-id','removeMarker','getFirstRange','128384HGeCem','setCustomProperty','toRange','861gBmyoU','contenteditable','243222Ltwzvs','createRange','render','getPositions','userPositionMarker','selection','$text','getUserBySessionId','getCustomProperty'];_0x3960=function(){return _0x10da21;};return _0x3960();}
|