@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.6 → 47.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b6c59=_0x42b8;(function(_0x49b0e1,_0x31c9fd){const _0x1b9ba5=_0x42b8,_0x4b6b29=_0x49b0e1();while(!![]){try{const _0x1588ae=-parseInt(_0x1b9ba5(0x15b))/0x1+parseInt(_0x1b9ba5(0x15f))/0x2*(-parseInt(_0x1b9ba5(0x163))/0x3)+parseInt(_0x1b9ba5(0x160))/0x4*(-parseInt(_0x1b9ba5(0x17a))/0x5)+parseInt(_0x1b9ba5(0x175))/0x6*(-parseInt(_0x1b9ba5(0x16d))/0x7)+-parseInt(_0x1b9ba5(0x159))/0x8+parseInt(_0x1b9ba5(0x16f))/0x9*(-parseInt(_0x1b9ba5(0x170))/0xa)+parseInt(_0x1b9ba5(0x158))/0xb*(parseInt(_0x1b9ba5(0x176))/0xc);if(_0x1588ae===_0x31c9fd)break;else _0x4b6b29['push'](_0x4b6b29['shift']());}catch(_0x40a7e4){_0x4b6b29['push'](_0x4b6b29['shift']());}}}(_0x2869,0x3ce64));import{View as _0x569ce6}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3d2edd}from'ckeditor5/src/utils.js';function _0x42b8(_0x21444b,_0x27d15e){const _0x2869fc=_0x2869();return _0x42b8=function(_0x42b81a,_0x232c1f){_0x42b81a=_0x42b81a-0x156;let _0x215848=_0x2869fc[_0x42b81a];return _0x215848;},_0x42b8(_0x21444b,_0x27d15e);}import{getTranslation as _0x262591}from'../../common-translations.js';function _0x2869(){const _0x5571fb=['set','Connected\x20users\x20list','aria-expanded','listenTo','21589183zQnAdO','3532136DYIGYG','createCollection','423819EacDuV','querySelector','hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','26FxzzBa','144UeIuCz','removeAttribute','setAttribute','111696OwMEYH','.ck-presence-list__dropdown-list','change:hasPopup','element','presencelist:show','setTemplate','keystrokes','isExpanded','focus','fire','49sWxiCX','render','9UEfEdG','1716290AXLDXY','list','.ck-balloon-panel_with-arrow','contains','items','128232vcxNSb','12ApIZdQ','div','relatedTarget','bindTemplate','5920wVdbTo','ck-presence-list__list','presencelist:hide'];_0x2869=function(){return _0x5571fb;};return _0x2869();}export class PresenceInlineListView extends _0x569ce6{[_0x4b6c59(0x174)];[_0x4b6c59(0x169)];constructor(_0x151fec){const _0x1f96a6=_0x4b6c59;super(_0x151fec);const _0x5e3981=this[_0x1f96a6(0x179)];this[_0x1f96a6(0x174)]=this[_0x1f96a6(0x15a)](),this[_0x1f96a6(0x169)]=new _0x3d2edd(),this[_0x1f96a6(0x17d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1f96a6(0x168)]({'tag':_0x1f96a6(0x177),'attributes':{'aria-haspopup':_0x5e3981['if'](_0x1f96a6(0x15d)),'aria-expanded':_0x5e3981['to'](_0x1f96a6(0x16a),_0x3b08db=>this[_0x1f96a6(0x15d)]&&String(_0x3b08db)),'aria-label':_0x5e3981['to'](_0x1f96a6(0x15d),_0x3ee40a=>_0x262591(_0x151fec,_0x3ee40a?_0x1f96a6(0x15e):_0x1f96a6(0x17e))),'role':_0x1f96a6(0x171),'tabindex':_0x5e3981['to'](_0x1f96a6(0x15d),_0x4fd615=>!!_0x4fd615&&0x0),'class':['ck',_0x1f96a6(0x17b)]},'children':this[_0x1f96a6(0x174)],'on':{'mouseenter':_0x5e3981['to'](()=>this[_0x1f96a6(0x16c)](_0x1f96a6(0x167))),'mouseleave':_0x5e3981['to'](_0x2672aa=>{const _0x20be86=_0x1f96a6,_0x1348e5=_0x2672aa,_0x9559e5=document[_0x20be86(0x15c)](_0x20be86(0x164)),_0x1f7fa5=document[_0x20be86(0x15c)](_0x20be86(0x172));_0x9559e5?.[_0x20be86(0x173)](_0x1348e5[_0x20be86(0x178)])||_0x1f7fa5?.[_0x20be86(0x173)](_0x1348e5[_0x20be86(0x178)])||this[_0x20be86(0x16c)](_0x20be86(0x17c));})}}),this['on'](_0x1f96a6(0x165),(_0x1bd0bc,_0x32efed,_0x1d2625)=>{const _0x550059=_0x1f96a6;this[_0x550059(0x166)]&&(_0x1d2625?this[_0x550059(0x166)][_0x550059(0x162)](_0x550059(0x156),String(this[_0x550059(0x16a)])):this[_0x550059(0x166)][_0x550059(0x161)](_0x550059(0x156)));});}[_0x4b6c59(0x16b)](){const _0x1b1c54=_0x4b6c59;this[_0x1b1c54(0x166)][_0x1b1c54(0x16b)]();}[_0x4b6c59(0x16e)](){const _0x39ff1e=_0x4b6c59;super[_0x39ff1e(0x16e)](),this[_0x39ff1e(0x169)][_0x39ff1e(0x157)](this[_0x39ff1e(0x166)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2705(){const _0x134484=['inlineListView','listenTo','16070211pEGonX','ck-reset','set','ck-rounded-corners','first','div','4305684vadKcQ','isCollapsed','16818AbWULW','setTemplate','bindTemplate','bind','tooltipPosition','change','1210056RfDUry','ck-presence-list','2890944VswLGt','7aiKHCW','hasPopup','2418580QuJWFd','locale','items','1647905dtrqRq','ck-presence-list--collapsed','54RunaTY','counterView'];_0x2705=function(){return _0x134484;};return _0x2705();}const _0x3d381e=_0x1b9f;(function(_0x9794,_0x5eec21){const _0x4bdfe8=_0x1b9f,_0x255635=_0x9794();while(!![]){try{const _0x25e532=-parseInt(_0x4bdfe8(0x13b))/0x1*(-parseInt(_0x4bdfe8(0x12f))/0x2)+parseInt(_0x4bdfe8(0x125))/0x3+parseInt(_0x4bdfe8(0x12a))/0x4+parseInt(_0x4bdfe8(0x12d))/0x5+parseInt(_0x4bdfe8(0x139))/0x6*(parseInt(_0x4bdfe8(0x128))/0x7)+-parseInt(_0x4bdfe8(0x127))/0x8+-parseInt(_0x4bdfe8(0x133))/0x9;if(_0x25e532===_0x5eec21)break;else _0x255635['push'](_0x255635['shift']());}catch(_0x235a4d){_0x255635['push'](_0x255635['shift']());}}}(_0x2705,0x5875b));function _0x1b9f(_0xcffe93,_0x599185){const _0x27057f=_0x2705();return _0x1b9f=function(_0x1b9f3a,_0x1f65f0){_0x1b9f3a=_0x1b9f3a-0x123;let _0x484fc8=_0x27057f[_0x1b9f3a];return _0x484fc8;},_0x1b9f(_0xcffe93,_0x599185);}import{View as _0x509ac1}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x430e05}from'./presencecounterview.js';import{PresenceInlineListView as _0x3faf26}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x509ac1{[_0x3d381e(0x130)];[_0x3d381e(0x131)];constructor(_0x1fada4,_0x5c4207=0x6){const _0x3720d7=_0x3d381e;super(_0x1fada4);const _0x21d2a4=this[_0x3720d7(0x13d)];this[_0x3720d7(0x135)](_0x3720d7(0x13a),!0x0),this[_0x3720d7(0x130)]=new _0x430e05(this[_0x3720d7(0x12b)],_0x5c4207),this[_0x3720d7(0x131)]=new _0x3faf26(_0x1fada4),this[_0x3720d7(0x131)][_0x3720d7(0x13e)](_0x3720d7(0x129))['to'](this,_0x3720d7(0x13a)),this[_0x3720d7(0x132)](this[_0x3720d7(0x131)][_0x3720d7(0x12c)],_0x3720d7(0x124),()=>{const _0x2c848c=_0x3720d7;for(const _0x48a5c8 of this[_0x2c848c(0x131)][_0x2c848c(0x12c)])_0x48a5c8[_0x2c848c(0x123)]='s';this[_0x2c848c(0x131)][_0x2c848c(0x12c)][_0x2c848c(0x137)]&&(this[_0x2c848c(0x131)][_0x2c848c(0x12c)][_0x2c848c(0x137)][_0x2c848c(0x123)]='se');}),this[_0x3720d7(0x13c)]({'tag':_0x3720d7(0x138),'attributes':{'class':['ck',_0x3720d7(0x126),_0x3720d7(0x134),_0x3720d7(0x136),_0x21d2a4['if'](_0x3720d7(0x13a),_0x3720d7(0x12e))]},'children':[this[_0x3720d7(0x131)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x40192d=_0x24dd;function _0x50ca(){var _0x4980b6=['pluginName','318453fObguN','requires','1295OsIOms','2567870qhXEQs','PresenceList','2dTuWDe','isPremiumPlugin','10652koiTGr','isOfficialPlugin','615ukopVk','1392840LtdmHH','188972UVYFQB','1110753suXDSe','8472dSSvoJ','11XGHYDo'];_0x50ca=function(){return _0x4980b6;};return _0x50ca();}function _0x24dd(_0x20c9a7,_0x401c3b){var _0x50caad=_0x50ca();return _0x24dd=function(_0x24ddae,_0x3b8c56){_0x24ddae=_0x24ddae-0x13b;var _0x2e0d31=_0x50caad[_0x24ddae];return _0x2e0d31;},_0x24dd(_0x20c9a7,_0x401c3b);}(function(_0x170e53,_0x33211c){var _0x208a5f=_0x24dd,_0xc0228c=_0x170e53();while(!![]){try{var _0x3eeb49=-parseInt(_0x208a5f(0x13d))/0x1*(-parseInt(_0x208a5f(0x143))/0x2)+-parseInt(_0x208a5f(0x148))/0x3+-parseInt(_0x208a5f(0x13f))/0x4*(-parseInt(_0x208a5f(0x141))/0x5)+parseInt(_0x208a5f(0x145))/0x6*(-parseInt(_0x208a5f(0x14a))/0x7)+parseInt(_0x208a5f(0x142))/0x8+parseInt(_0x208a5f(0x144))/0x9+-parseInt(_0x208a5f(0x13b))/0xa*(parseInt(_0x208a5f(0x146))/0xb);if(_0x3eeb49===_0x33211c)break;else _0xc0228c['push'](_0xc0228c['shift']());}catch(_0xda309){_0xc0228c['push'](_0xc0228c['shift']());}}}(_0x50ca,0x2e5bd));import{ContextPlugin as _0x3a20c1}from'ckeditor5/src/core.js';import{Sessions as _0x4a2697}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x156f43}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3a20c1{static get[_0x40192d(0x149)](){return[_0x4a2697,_0x156f43];}static get[_0x40192d(0x147)](){var _0x5d9b63=_0x40192d;return _0x5d9b63(0x13c);}static get[_0x40192d(0x140)](){return!0x0;}static get[_0x40192d(0x13e)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5ef15d)());[_0x1bb9d2(0x13c)];static get[_0x1bb9d2(0xf8)](){const _0x3e0c5b=_0x1bb9d2;return[_0x11ca42,_0x3e0c5b(0x14b),_0x1b364c,_0x1793fe];}static get[_0x1bb9d2(0x104)](){const _0x2721fb=_0x1bb9d2;return _0x2721fb(0xf9);}static get[_0x1bb9d2(0xfb)](){return!0x0;}static get[_0x1bb9d2(0x111)](){return!0x0;}constructor(_0x5e5c9e){const _0x53fde0=_0x1bb9d2;super(_0x5e5c9e),this[_0x53fde0(0x13c)]=new Map();}async[_0x1bb9d2(0x14f)](){const _0x574e2f=_0x1bb9d2,_0x2b668b=this[_0x574e2f(0x14e)],_0x184c8b=_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x574e2f(0x14b));if(_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x11ca42)[_0x574e2f(0x10f)](this),_0x184c8b[_0x574e2f(0x129)]={'addCommentThread':async({channelId:_0x1e9289,threadId:_0x35f7a5,comments:_0x2879b8,resolvedAt:_0x59acd8,resolvedBy:_0x8cca6,context:_0x3428f2,attributes:_0x11864e})=>{const _0x4fc1a3=_0x574e2f,_0x3dcc45=await this[_0x4fc1a3(0x147)](_0x1e9289)[_0x4fc1a3(0x144)]({'commentThreadId':_0x35f7a5,'comments':_0x2879b8[_0x4fc1a3(0x10c)](_0x5d8aff=>function(_0xa881f0,_0x1c0f01,_0x3756ce){const _0x524e87=_0x4fc1a3;return{'commentThreadId':_0x3756ce,'commentId':_0xa881f0[_0x524e87(0x15c)],'userId':_0xa881f0[_0x524e87(0x11d)],'content':_0xa881f0[_0x524e87(0x100)],'documentId':_0x1c0f01,'createdAt':_0xa881f0[_0x524e87(0x13e)],'attributes':_0xa881f0[_0x524e87(0x13d)]||{}};}(_0x5d8aff,_0x1e9289,_0x35f7a5)),'resolvedAt':_0x59acd8,'resolvedBy':_0x8cca6,'context':_0x3428f2,'attributes':_0x11864e})[_0x4fc1a3(0x125)](k);return{'threadId':_0x3dcc45[_0x4fc1a3(0x143)],'comments':_0x3dcc45[_0x4fc1a3(0x122)]};},'getCommentThread':async({channelId:_0x37b4bb,threadId:_0x20fd61})=>{const _0x14be89=_0x574e2f,_0x3c2328=await this[_0x14be89(0x147)](_0x37b4bb)[_0x14be89(0x11a)](_0x20fd61)[_0x14be89(0x125)](F)[_0x14be89(0x125)](k);return _0x3c2328?_0x3c2328[_0x14be89(0x119)]?null:(await this[_0x14be89(0x154)]([_0x3c2328]),{'threadId':_0x3c2328[_0x14be89(0x143)],'comments':_0x3c2328[_0x14be89(0x122)][_0x14be89(0x10c)](S),'context':_0x3c2328[_0x14be89(0x14e)],'resolvedAt':_0x3c2328[_0x14be89(0x134)],'resolvedBy':_0x3c2328[_0x14be89(0x137)],'attributes':_0x3c2328[_0x14be89(0x13d)]||{}}):null;},'updateCommentThread':async({channelId:_0x12ec35,threadId:_0x40419b,context:_0x17f55e,unlinkedAt:_0x5ebb6a,attributes:_0x59be89})=>this[_0x574e2f(0x147)](_0x12ec35)[_0x574e2f(0x142)]({'commentThreadId':_0x40419b,'context':_0x17f55e,'attributes':_0x59be89,'unlinkedAt':_0x5ebb6a})[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'resolveCommentThread':async({channelId:_0x27eb30,threadId:_0x553346})=>{const _0x9adb42=_0x574e2f,_0x316ccf=await this[_0x9adb42(0x147)](_0x27eb30)[_0x9adb42(0x110)](_0x553346)[_0x9adb42(0x125)](F)[_0x9adb42(0x125)](k);return{'threadId':_0x316ccf[_0x9adb42(0x143)],'resolvedAt':_0x316ccf[_0x9adb42(0x134)],'resolvedBy':_0x316ccf[_0x9adb42(0x137)]};},'reopenCommentThread':async({channelId:_0x4002e1,threadId:_0x1189fb})=>this[_0x574e2f(0x147)](_0x4002e1)[_0x574e2f(0x10d)](_0x1189fb)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'removeCommentThread':({channelId:_0x676ddf,threadId:_0x76b762})=>this[_0x574e2f(0x147)](_0x676ddf)[_0x574e2f(0x12f)](_0x76b762)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'addComment':({channelId:_0x22283c,threadId:_0x591c49,commentId:_0x5dca8d,content:_0x3a1ab2,attributes:_0x207b76})=>this[_0x574e2f(0x147)](_0x22283c)[_0x574e2f(0x130)](_0x591c49,_0x5dca8d,_0x3a1ab2,_0x207b76)[_0x574e2f(0x125)](k),'updateComment':({channelId:_0x31330e,threadId:_0x309f75,commentId:_0x3cbf2d,content:_0x3f2005,attributes:_0x202d67})=>this[_0x574e2f(0x147)](_0x31330e)[_0x574e2f(0x107)](_0x309f75,_0x3cbf2d,_0x3f2005,_0x202d67)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k),'removeComment':({channelId:_0xfd93ea,threadId:_0x8d7a84,commentId:_0x4f540c})=>this[_0x574e2f(0x147)](_0xfd93ea)[_0x574e2f(0x120)](_0x8d7a84,_0x4f540c)[_0x574e2f(0x125)](F)[_0x574e2f(0x125)](k)},_0x2b668b instanceof _0x426730){const _0x350c6b=_0x2b668b[_0x574e2f(0x126)][_0x574e2f(0x106)](_0x574e2f(0x150)),_0x16f261=_0x2b668b[_0x574e2f(0x13f)][_0x574e2f(0x106)](_0x1b364c);await this[_0x574e2f(0x12c)](_0x350c6b);const _0x5daf90=await this[_0x574e2f(0x13c)][_0x574e2f(0x106)](_0x350c6b)[_0x574e2f(0x10e)]();this[_0x574e2f(0x123)](_0x16f261,_0x574e2f(0x103)+_0x350c6b,(_0x6c3fcb,{session:_0x55934c})=>{const _0xe48d4e=_0x574e2f;_0x55934c['id']===_0x16f261[_0xe48d4e(0x157)]&&(_0x6c3fcb[_0xe48d4e(0x117)](),this[_0xe48d4e(0x14e)][_0xe48d4e(0x13f)][_0xe48d4e(0x106)](_0xe48d4e(0x131))[_0xe48d4e(0xf7)](_0x55934c[_0xe48d4e(0x148)],_0x350c6b));}),_0x16f261[_0x574e2f(0x15d)](_0x350c6b,_0x5daf90);}}async[_0x1bb9d2(0x12c)](_0x176c42){const _0x592574=_0x1bb9d2;if(this[_0x592574(0x13c)][_0x592574(0x14c)](_0x176c42))throw new _0x18e3f6(_0x592574(0x101),null,{'channelId':_0x176c42});const _0x35dfcc=this[_0x592574(0x14e)][_0x592574(0x13f)][_0x592574(0x106)](_0x592574(0x14b)),_0x33c0e6=new CloudServicesCommentsAdapter[(_0x592574(0xfe))](_0x176c42);this[_0x592574(0x13c)][_0x592574(0x139)](_0x176c42,_0x33c0e6),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x145),(_0x4c699a,_0x1318ae)=>{const _0x115222=_0x592574,{commentThreadId:_0xf7af6a,documentId:_0x2c1bef,context:_0x3e8b49,attributes:_0x52a028,resolvedAt:_0x43c334,resolvedBy:_0x5ec8d7,comments:_0x43b66c}=_0x1318ae;_0x35dfcc[_0x115222(0x11a)](_0xf7af6a)||_0x35dfcc[_0x115222(0x144)]({'threadId':_0xf7af6a,'channelId':_0x2c1bef,'comments':_0x43b66c?_0x43b66c[_0x115222(0x10c)](S):[],'context':_0x3e8b49,'attributes':_0x52a028,'resolvedAt':_0x43c334,'resolvedBy':_0x5ec8d7,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x140),(_0x244c2e,{commentThreadId:_0x1e1c1f,documentId:_0xc45a5e,context:_0x40ed04,unlinkedAt:_0x5bcf1c,attributes:_0x43ad73})=>{const _0x5bbf4f=_0x592574;_0x35dfcc[_0x5bbf4f(0x11a)](_0x1e1c1f)&&_0x35dfcc[_0x5bbf4f(0x142)]({'threadId':_0x1e1c1f,'channelId':_0xc45a5e,'context':_0x40ed04,'unlinkedAt':_0x5bcf1c,'attributes':_0x43ad73,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x136),(_0x2953a0,{commentThreadId:_0x32dc8c,resolvedBy:_0x4dea44,resolvedAt:_0x3b2457})=>{const _0x5c9491=_0x592574,_0x333f28=_0x35dfcc[_0x5c9491(0x11a)](_0x32dc8c);_0x333f28&&_0x333f28[_0x5c9491(0x13a)]({'resolvedBy':_0x4dea44,'resolvedAt':_0x3b2457,'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x146),(_0x177e30,{commentThreadId:_0x1a645b})=>{const _0x28fb93=_0x592574,_0x56b9d1=_0x35dfcc[_0x28fb93(0x11a)](_0x1a645b);_0x56b9d1&&_0x56b9d1[_0x28fb93(0x12d)]({'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x124),(_0x8494c4,{commentThreadId:_0x2fd7e9})=>{const _0x3016a4=_0x592574,_0x1e4cb8=_0x35dfcc[_0x3016a4(0x11a)](_0x2fd7e9);_0x1e4cb8&&_0x1e4cb8[_0x3016a4(0x15b)]({'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x115),(_0x46cade,_0x49e159)=>{const _0x5660ea=_0x592574,_0x3d29d8=_0x49e159[_0x5660ea(0x143)],_0x34b0a8=_0x35dfcc[_0x5660ea(0x11a)](_0x3d29d8);_0x34b0a8&&_0x34b0a8[_0x5660ea(0x130)]({...S(_0x49e159),'isFromAdapter':!0x0});}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x138),(_0x2bf487,{commentThreadId:_0x18f4a9,commentId:_0x3074df,content:_0x14a782,attributes:_0x3a2a81})=>{const _0x42e059=_0x592574,_0x313aab=_0x35dfcc[_0x42e059(0x11a)](_0x18f4a9);if(_0x313aab){const _0x5c0653=_0x313aab[_0x42e059(0x152)](_0x3074df);_0x5c0653&&_0x5c0653[_0x42e059(0x151)]({'content':_0x14a782,'attributes':_0x3a2a81,'isFromAdapter':!0x0});}}),this[_0x592574(0x123)](_0x33c0e6,_0x592574(0x121),(_0x212be1,{commentThreadId:_0x1cd88b,commentId:_0xb885b2})=>{const _0x5bbf8d=_0x592574,_0x5d941d=_0x35dfcc[_0x5bbf8d(0x11a)](_0x1cd88b);if(_0x5d941d){const _0x5cd879=_0x5d941d[_0x5bbf8d(0x152)](_0xb885b2);_0x5cd879&&_0x5cd879[_0x5bbf8d(0x15b)]({'isFromAdapter':!0x0});}}),await this[_0x592574(0x11f)](_0x176c42);}[_0x1bb9d2(0x118)](){const _0x3b67d7=_0x1bb9d2;if(this[_0x3b67d7(0x14e)]instanceof _0x426730){const _0x1bfdb8=this[_0x3b67d7(0x14e)][_0x3b67d7(0x126)][_0x3b67d7(0x106)](_0x3b67d7(0x150));this[_0x3b67d7(0x13b)](_0x1bfdb8);}}[_0x1bb9d2(0x13b)](_0x254412){const _0x435692=_0x1bb9d2;if(!this[_0x435692(0x13c)][_0x435692(0x14c)](_0x254412))throw new _0x18e3f6(_0x435692(0x141),null,{'channelId':_0x254412});this[_0x435692(0x147)](_0x254412)[_0x435692(0xfa)](),this[_0x435692(0x13c)][_0x435692(0x159)](_0x254412);}async[_0x1bb9d2(0x116)](){const _0x119b4a=_0x1bb9d2;for(const _0x5cb9f6 of this[_0x119b4a(0x13c)][_0x119b4a(0x149)]())await this[_0x119b4a(0x11f)](_0x5cb9f6);if(this[_0x119b4a(0x14e)]instanceof _0x426730){const _0x4b2c40=this[_0x119b4a(0x14e)][_0x119b4a(0x126)][_0x119b4a(0x106)](_0x119b4a(0x150)),_0x3f60c7=this[_0x119b4a(0x14e)][_0x119b4a(0x13f)][_0x119b4a(0x106)](_0x1b364c);_0x3f60c7[_0x119b4a(0x133)](_0x4b2c40);const _0x1e110a=await this[_0x119b4a(0x13c)][_0x119b4a(0x106)](_0x4b2c40)[_0x119b4a(0x10e)]();_0x3f60c7[_0x119b4a(0x15d)](_0x4b2c40,_0x1e110a);}}async[_0x1bb9d2(0x11f)](_0x187891){const _0x2a7007=_0x1bb9d2,{connection:_0xd45f44}=this[_0x2a7007(0x14e)][_0x2a7007(0x13f)][_0x2a7007(0x106)](_0x11ca42),_0x49ac9b=this[_0x2a7007(0x14e)][_0x2a7007(0x13f)][_0x2a7007(0x106)](_0x2a7007(0x14b)),_0x25428b=this[_0x2a7007(0x13c)][_0x2a7007(0x106)](_0x187891),_0x411a9e=await _0x25428b[_0x2a7007(0x156)](_0xd45f44);await this[_0x2a7007(0x154)](_0x411a9e);const _0x5ab06b=new Set(Array[_0x2a7007(0xfc)](_0x49ac9b[_0x2a7007(0x155)]({'channelId':_0x187891}),_0x560089=>_0x560089['id']));for(const _0x5ae37e of _0x411a9e)_0x5ae37e[_0x2a7007(0x119)]||_0x5ab06b[_0x2a7007(0x159)](_0x5ae37e[_0x2a7007(0x143)]);for(const _0xabb0f4 of _0x5ab06b)_0x49ac9b[_0x2a7007(0x11a)](_0xabb0f4)[_0x2a7007(0x15b)]({'isFromAdapter':!0x0});for(const _0xd91cce of _0x411a9e){let _0x1a9e78=_0x49ac9b[_0x2a7007(0x11a)](_0xd91cce[_0x2a7007(0x143)]);const {commentThreadId:_0x213a68,context:_0x1f1023,attributes:_0x37970d,resolvedBy:_0xecc6b2,resolvedAt:_0x141447,unlinkedAt:_0xac1754,deletedAt:_0x35bb8c}=_0xd91cce;if(_0x35bb8c)continue;_0x1a9e78||(_0x1a9e78=_0x49ac9b[_0x2a7007(0x144)]({'channelId':_0x187891,'threadId':_0x213a68,'context':_0x1f1023,'attributes':_0x37970d||{},'resolvedBy':_0xecc6b2,'resolvedAt':_0x141447,'unlinkedAt':_0xac1754,'isFromAdapter':!0x0}));const _0x26009c=new Set(Array[_0x2a7007(0xfc)](_0x1a9e78[_0x2a7007(0x122)],_0xed6eaf=>_0xed6eaf['id']));for(const _0x1f4b58 of _0xd91cce[_0x2a7007(0x122)])_0x26009c[_0x2a7007(0x159)](_0x1f4b58[_0x2a7007(0x15c)]);for(const _0x54ade8 of _0x26009c)_0x1a9e78[_0x2a7007(0x152)](_0x54ade8)[_0x2a7007(0x15b)]({'isFromAdapter':!0x0});for(const _0x810363 of _0xd91cce[_0x2a7007(0x122)]){const _0x2643d7=_0x1a9e78[_0x2a7007(0x152)](_0x810363[_0x2a7007(0x15c)]);_0x2643d7?_0x2643d7[_0x2a7007(0x100)]!==_0x810363[_0x2a7007(0x100)]&&_0x2643d7[_0x2a7007(0x151)]({'content':_0x810363[_0x2a7007(0x100)],'isFromAdapter':!0x0}):_0x1a9e78[_0x2a7007(0x130)](Object[_0x2a7007(0x14d)](S(_0x810363),{'isFromAdapter':!0x0}));}}}[_0x1bb9d2(0x147)](_0x4e5d12){const _0x813802=_0x1bb9d2;if(!this[_0x813802(0x13c)][_0x813802(0x14c)](_0x4e5d12))throw new _0x18e3f6(_0x813802(0x112),null,{'channelId':_0x4e5d12});return this[_0x813802(0x13c)][_0x813802(0x106)](_0x4e5d12);}async[_0x1bb9d2(0x154)](_0x406eae){const _0x37dbe6=_0x1bb9d2,_0x232543=this[_0x37dbe6(0x14e)][_0x37dbe6(0x13f)][_0x37dbe6(0x106)](_0x1793fe),{connection:_0x5cd0ca}=this[_0x37dbe6(0x14e)][_0x37dbe6(0x13f)][_0x37dbe6(0x106)](_0x11ca42),_0x3c9f36=new Set();for(const {resolvedBy:_0x35c02c,comments:_0x5e0cc0}of _0x406eae){_0x35c02c&&!_0x232543[_0x37dbe6(0xfd)](_0x35c02c)&&_0x3c9f36[_0x37dbe6(0x135)](_0x35c02c);for(const {userId:_0x4196c4}of _0x5e0cc0)_0x232543[_0x37dbe6(0xfd)](_0x4196c4)||_0x3c9f36[_0x37dbe6(0x135)](_0x4196c4);}if(0x0===_0x3c9f36[_0x37dbe6(0x109)])return;const _0x3af742=await _0xd5242b[_0x37dbe6(0x128)](_0x5cd0ca,Array[_0x37dbe6(0xfc)](_0x3c9f36));for(const _0x2b9ac4 of _0x3af742)_0x232543[_0x37dbe6(0xfd)](_0x2b9ac4['id'])||_0x232543[_0x37dbe6(0x11b)](_0x2b9ac4);}}async function F(_0x2c9c15){const _0x1ce56d=_0x1bb9d2;if(_0x1ce56d(0x14a)!==_0x2c9c15[_0x1ce56d(0x153)])throw _0x2c9c15;}function k(_0x3a486d){const _0x5920ac=_0x1bb9d2;if((_0x418a81=_0x3a486d)[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x113))||_0x418a81[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x158))||_0x418a81[_0x5920ac(0x132)][_0x5920ac(0x102)](_0x5920ac(0x12a)))return new Promise(()=>{});var _0x418a81;throw _0x3a486d;}function _0xbe3f(_0x23f88c,_0x561421){const _0x5a8441=_0x5a84();return _0xbe3f=function(_0xbe3f09,_0x53c4f8){_0xbe3f09=_0xbe3f09-0xf7;let _0x230c87=_0x5a8441[_0xbe3f09];return _0x230c87;},_0xbe3f(_0x23f88c,_0x561421);}function S(_0x2aabc0){const _0x47b5fc=_0x1bb9d2;return{'threadId':_0x2aabc0[_0x47b5fc(0x143)],'commentId':_0x2aabc0[_0x47b5fc(0x15c)],'content':_0x2aabc0[_0x47b5fc(0x100)],'createdAt':_0x2aabc0[_0x47b5fc(0x13e)],'authorId':_0x2aabc0[_0x47b5fc(0x11c)],'attributes':_0x2aabc0[_0x47b5fc(0x13d)]||{}};}
|
|
23
|
+
function _0x51e7(_0x19a218,_0x458674){const _0x51b10b=_0x51b1();return _0x51e7=function(_0x51e7e9,_0x26b179){_0x51e7e9=_0x51e7e9-0xe7;let _0x3ab57c=_0x51b10b[_0x51e7e9];return _0x3ab57c;},_0x51e7(_0x19a218,_0x458674);}const _0x3bd69d=_0x51e7;(function(_0x1a62fc,_0x38ad52){const _0x452a05=_0x51e7,_0x1bd7f9=_0x1a62fc();while(!![]){try{const _0x4b34f5=parseInt(_0x452a05(0x103))/0x1*(parseInt(_0x452a05(0x14a))/0x2)+parseInt(_0x452a05(0x147))/0x3+-parseInt(_0x452a05(0x145))/0x4+parseInt(_0x452a05(0x139))/0x5+parseInt(_0x452a05(0xf6))/0x6+-parseInt(_0x452a05(0x11c))/0x7*(parseInt(_0x452a05(0x10b))/0x8)+parseInt(_0x452a05(0x125))/0x9*(-parseInt(_0x452a05(0x130))/0xa);if(_0x4b34f5===_0x38ad52)break;else _0x1bd7f9['push'](_0x1bd7f9['shift']());}catch(_0x3de114){_0x1bd7f9['push'](_0x1bd7f9['shift']());}}}(_0x51b1,0x954c8));import{Context as _0x344782,ContextPlugin as _0x38d9bb}from'ckeditor5/src/core.js';function _0x51b1(){const _0x1fe40f=['unregister','5928066pUQrOI','cloudservicescommentsadapter-disconnect-not-exist','requires','has','content','sessionAdd:','commentThreadRemoved','context','resolvedAt','getUser','userId','Permissions','addUser','237Dfeayz','map','getComment','removeCommentThread','commentThreadId','404','startsWith','destroy','3576hwxOFY','delete','addToReconnectionStack','cloudservicescommentsadapter-connect-already-connected','connect','code','plugins','resolve','commentUpdated','CommentsService','message','_connectService','_setUpService','resolvedBy','listenTo','getCommentThreads','disconnect','3444VfsMyf','register','reconnect','commentThreadResolved','_getService','size','isPremiumPlugin','updateCommentThread','add','190089ZgxlCh','createdAt','mySessionId','init','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','removeComment','setPermissions','set','remove','_fetchMissingUsersForThreads','380GMDpte','resolveCommentThread','getCommentThread','CommentsRepository','addComment','from','pluginName','collaboration.channelId','commentRemoved','521180ijWTYs','isOfficialPlugin','commentThreadReopened','CloudServicesCommentsAdapter','get','catch','commentId','commentAdded','config','_services','reopenCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1666764sFDfHy','keys','146664HXectQ','updateComment','addCommentThread','7676DpaaYA','cloudservicescommentsadapter-service-not-exist','commentThreadUpdated','commentThreadAdded','authorId','off','attributes','cloud-services-internal-error:\x20Request\x20timeout.','permissions','reopen','getConnectedSessions','getMany','assign','update','adapter','comments','_terminateService'];_0x51b1=function(){return _0x1fe40f;};return _0x51b1();}import{CKEditorError as _0x4e2a7d}from'ckeditor5/src/utils.js';import{Users as _0x31686f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1c75a1,User as _0x414445}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x24a6b6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5d43e3}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x38d9bb{static [_0x3bd69d(0x114)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1c75a1)());[_0x3bd69d(0x142)];static get[_0x3bd69d(0xf8)](){const _0x51e9de=_0x3bd69d;return[_0x24a6b6,_0x51e9de(0x133),_0x5d43e3,_0x31686f];}static get[_0x3bd69d(0x136)](){const _0x39be5b=_0x3bd69d;return _0x39be5b(0x13c);}static get[_0x3bd69d(0x13a)](){return!0x0;}static get[_0x3bd69d(0x122)](){return!0x0;}constructor(_0x5a88dd){const _0x54a8aa=_0x3bd69d;super(_0x5a88dd),this[_0x54a8aa(0x142)]=new Map();}async[_0x3bd69d(0x128)](){const _0x5296a8=_0x3bd69d,_0x477998=this[_0x5296a8(0xfd)],_0x17125d=_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x5296a8(0x133));if(_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x24a6b6)[_0x5296a8(0x10d)](this),_0x17125d[_0x5296a8(0xf2)]={'addCommentThread':async({channelId:_0x1ef9c7,threadId:_0x4b3c41,comments:_0x39b67b,resolvedAt:_0x1db26d,resolvedBy:_0x37d432,context:_0x170ac6,attributes:_0x1807e6})=>{const _0x14816c=_0x5296a8,_0x2c6f3d=await this[_0x14816c(0x120)](_0x1ef9c7)[_0x14816c(0x149)]({'commentThreadId':_0x4b3c41,'comments':_0x39b67b[_0x14816c(0x104)](_0x42825d=>function(_0x2261bd,_0x2381c9,_0x18fc51){const _0x407eb5=_0x14816c;return{'commentThreadId':_0x18fc51,'commentId':_0x2261bd[_0x407eb5(0x13f)],'userId':_0x2261bd[_0x407eb5(0xe8)],'content':_0x2261bd[_0x407eb5(0xfa)],'documentId':_0x2381c9,'createdAt':_0x2261bd[_0x407eb5(0x126)],'attributes':_0x2261bd[_0x407eb5(0xea)]||{}};}(_0x42825d,_0x1ef9c7,_0x4b3c41)),'resolvedAt':_0x1db26d,'resolvedBy':_0x37d432,'context':_0x170ac6,'attributes':_0x1807e6})[_0x14816c(0x13e)](A);return{'threadId':_0x2c6f3d[_0x14816c(0x107)],'comments':_0x2c6f3d[_0x14816c(0xf3)]};},'getCommentThread':async({channelId:_0x2cedc0,threadId:_0x151db8})=>{const _0x73cceb=_0x5296a8,_0x560626=await this[_0x73cceb(0x120)](_0x2cedc0)[_0x73cceb(0x132)](_0x151db8)[_0x73cceb(0x13e)](f)[_0x73cceb(0x13e)](A);return _0x560626?_0x560626[_0x73cceb(0x12a)]?null:(await this[_0x73cceb(0x12f)]([_0x560626]),{'threadId':_0x560626[_0x73cceb(0x107)],'comments':_0x560626[_0x73cceb(0xf3)][_0x73cceb(0x104)](p),'context':_0x560626[_0x73cceb(0xfd)],'resolvedAt':_0x560626[_0x73cceb(0xfe)],'resolvedBy':_0x560626[_0x73cceb(0x118)],'attributes':_0x560626[_0x73cceb(0xea)]||{}}):null;},'updateCommentThread':async({channelId:_0x56a187,threadId:_0x5d9d5c,context:_0x62124e,unlinkedAt:_0x3bfe04,attributes:_0x9f8b49})=>this[_0x5296a8(0x120)](_0x56a187)[_0x5296a8(0x123)]({'commentThreadId':_0x5d9d5c,'context':_0x62124e,'attributes':_0x9f8b49,'unlinkedAt':_0x3bfe04})[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'resolveCommentThread':async({channelId:_0x348364,threadId:_0x53a14f})=>{const _0x4fac27=_0x5296a8,_0x5716bc=await this[_0x4fac27(0x120)](_0x348364)[_0x4fac27(0x131)](_0x53a14f)[_0x4fac27(0x13e)](f)[_0x4fac27(0x13e)](A);return{'threadId':_0x5716bc[_0x4fac27(0x107)],'resolvedAt':_0x5716bc[_0x4fac27(0xfe)],'resolvedBy':_0x5716bc[_0x4fac27(0x118)]};},'reopenCommentThread':async({channelId:_0x123267,threadId:_0x2e9bb6})=>this[_0x5296a8(0x120)](_0x123267)[_0x5296a8(0x143)](_0x2e9bb6)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'removeCommentThread':({channelId:_0x46c34b,threadId:_0x1749b1})=>this[_0x5296a8(0x120)](_0x46c34b)[_0x5296a8(0x106)](_0x1749b1)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'addComment':({channelId:_0x5269a8,threadId:_0x5b699c,commentId:_0x546f18,content:_0x2aadd9,attributes:_0x2aca57})=>this[_0x5296a8(0x120)](_0x5269a8)[_0x5296a8(0x134)](_0x5b699c,_0x546f18,_0x2aadd9,_0x2aca57)[_0x5296a8(0x13e)](A),'updateComment':({channelId:_0xc0fa58,threadId:_0x3239f5,commentId:_0x47bbea,content:_0xa5386b,attributes:_0x9fb5d8})=>this[_0x5296a8(0x120)](_0xc0fa58)[_0x5296a8(0x148)](_0x3239f5,_0x47bbea,_0xa5386b,_0x9fb5d8)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'removeComment':({channelId:_0x279471,threadId:_0x2f0751,commentId:_0x2d07cf})=>this[_0x5296a8(0x120)](_0x279471)[_0x5296a8(0x12b)](_0x2f0751,_0x2d07cf)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A)},_0x477998 instanceof _0x344782){const _0x29f6f2=_0x477998[_0x5296a8(0x141)][_0x5296a8(0x13d)](_0x5296a8(0x137)),_0x25f429=_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x5d43e3);await this[_0x5296a8(0x117)](_0x29f6f2);const _0x20bcf2=await this[_0x5296a8(0x142)][_0x5296a8(0x13d)](_0x29f6f2)[_0x5296a8(0xee)]();this[_0x5296a8(0x119)](_0x25f429,_0x5296a8(0xfb)+_0x29f6f2,(_0x42dfe0,{session:_0x1d052a})=>{const _0x2c696c=_0x5296a8;_0x1d052a['id']===_0x25f429[_0x2c696c(0x127)]&&(_0x42dfe0[_0x2c696c(0xe9)](),this[_0x2c696c(0xfd)][_0x2c696c(0x111)][_0x2c696c(0x13d)](_0x2c696c(0x101))[_0x2c696c(0x12c)](_0x1d052a[_0x2c696c(0xec)],_0x29f6f2));}),_0x25f429[_0x5296a8(0x11d)](_0x29f6f2,_0x20bcf2);}}async[_0x3bd69d(0x117)](_0x1c7b12){const _0x1c8130=_0x3bd69d;if(this[_0x1c8130(0x142)][_0x1c8130(0xf9)](_0x1c7b12))throw new _0x4e2a7d(_0x1c8130(0x10e),null,{'channelId':_0x1c7b12});const _0x363716=this[_0x1c8130(0xfd)][_0x1c8130(0x111)][_0x1c8130(0x13d)](_0x1c8130(0x133)),_0x41c76e=new CloudServicesCommentsAdapter[(_0x1c8130(0x114))](_0x1c7b12);this[_0x1c8130(0x142)][_0x1c8130(0x12d)](_0x1c7b12,_0x41c76e),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0xe7),(_0x387f1e,_0x1660c2)=>{const _0x16f583=_0x1c8130,{commentThreadId:_0x1bcdae,documentId:_0x2841b8,context:_0x14f500,attributes:_0x2f5e90,resolvedAt:_0x28cc9d,resolvedBy:_0x5650d8,comments:_0x26ea41}=_0x1660c2;_0x363716[_0x16f583(0x132)](_0x1bcdae)||_0x363716[_0x16f583(0x149)]({'threadId':_0x1bcdae,'channelId':_0x2841b8,'comments':_0x26ea41?_0x26ea41[_0x16f583(0x104)](p):[],'context':_0x14f500,'attributes':_0x2f5e90,'resolvedAt':_0x28cc9d,'resolvedBy':_0x5650d8,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x14c),(_0x1e9196,{commentThreadId:_0x550efa,documentId:_0x2fbcc0,context:_0x440e7d,unlinkedAt:_0x371aae,attributes:_0x1e02bb})=>{const _0x362222=_0x1c8130;_0x363716[_0x362222(0x132)](_0x550efa)&&_0x363716[_0x362222(0x123)]({'threadId':_0x550efa,'channelId':_0x2fbcc0,'context':_0x440e7d,'unlinkedAt':_0x371aae,'attributes':_0x1e02bb,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x11f),(_0x11002c,{commentThreadId:_0x490bf8,resolvedBy:_0x396d04,resolvedAt:_0x5645c9})=>{const _0x1af9ce=_0x1c8130,_0x1cc616=_0x363716[_0x1af9ce(0x132)](_0x490bf8);_0x1cc616&&_0x1cc616[_0x1af9ce(0x112)]({'resolvedBy':_0x396d04,'resolvedAt':_0x5645c9,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x13b),(_0x3040c4,{commentThreadId:_0x3cf082})=>{const _0x59642e=_0x1c8130,_0x2410d0=_0x363716[_0x59642e(0x132)](_0x3cf082);_0x2410d0&&_0x2410d0[_0x59642e(0xed)]({'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0xfc),(_0x319a30,{commentThreadId:_0x4ecd48})=>{const _0x200793=_0x1c8130,_0x399fb6=_0x363716[_0x200793(0x132)](_0x4ecd48);_0x399fb6&&_0x399fb6[_0x200793(0x12e)]({'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x140),(_0x362e5a,_0x1afeb0)=>{const _0x28f314=_0x1c8130,_0x570af1=_0x1afeb0[_0x28f314(0x107)],_0x2b9639=_0x363716[_0x28f314(0x132)](_0x570af1);_0x2b9639&&_0x2b9639[_0x28f314(0x134)]({...p(_0x1afeb0),'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x113),(_0x4ed053,{commentThreadId:_0x42fd93,commentId:_0x56a55f,content:_0xf4dfff,attributes:_0x39863d})=>{const _0x4b52e3=_0x1c8130,_0x3134b2=_0x363716[_0x4b52e3(0x132)](_0x42fd93);if(_0x3134b2){const _0x113ed5=_0x3134b2[_0x4b52e3(0x105)](_0x56a55f);_0x113ed5&&_0x113ed5[_0x4b52e3(0xf1)]({'content':_0xf4dfff,'attributes':_0x39863d,'isFromAdapter':!0x0});}}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x138),(_0x17c224,{commentThreadId:_0x245828,commentId:_0x5b4404})=>{const _0xe9534f=_0x1c8130,_0x451e42=_0x363716[_0xe9534f(0x132)](_0x245828);if(_0x451e42){const _0x4abb65=_0x451e42[_0xe9534f(0x105)](_0x5b4404);_0x4abb65&&_0x4abb65[_0xe9534f(0x12e)]({'isFromAdapter':!0x0});}}),await this[_0x1c8130(0x116)](_0x1c7b12);}[_0x3bd69d(0x10a)](){const _0x5bd9af=_0x3bd69d;if(this[_0x5bd9af(0xfd)]instanceof _0x344782){const _0x24dc06=this[_0x5bd9af(0xfd)][_0x5bd9af(0x141)][_0x5bd9af(0x13d)](_0x5bd9af(0x137));this[_0x5bd9af(0xf4)](_0x24dc06);}}[_0x3bd69d(0xf4)](_0x3dbb18){const _0x16a4c3=_0x3bd69d;if(!this[_0x16a4c3(0x142)][_0x16a4c3(0xf9)](_0x3dbb18))throw new _0x4e2a7d(_0x16a4c3(0xf7),null,{'channelId':_0x3dbb18});this[_0x16a4c3(0x120)](_0x3dbb18)[_0x16a4c3(0x11b)](),this[_0x16a4c3(0x142)][_0x16a4c3(0x10c)](_0x3dbb18);}async[_0x3bd69d(0x11e)](){const _0x1a4f70=_0x3bd69d;for(const _0x3f6888 of this[_0x1a4f70(0x142)][_0x1a4f70(0x146)]())await this[_0x1a4f70(0x116)](_0x3f6888);if(this[_0x1a4f70(0xfd)]instanceof _0x344782){const _0x527982=this[_0x1a4f70(0xfd)][_0x1a4f70(0x141)][_0x1a4f70(0x13d)](_0x1a4f70(0x137)),_0x414e2a=this[_0x1a4f70(0xfd)][_0x1a4f70(0x111)][_0x1a4f70(0x13d)](_0x5d43e3);_0x414e2a[_0x1a4f70(0xf5)](_0x527982);const _0x2b69af=await this[_0x1a4f70(0x142)][_0x1a4f70(0x13d)](_0x527982)[_0x1a4f70(0xee)]();_0x414e2a[_0x1a4f70(0x11d)](_0x527982,_0x2b69af);}}async[_0x3bd69d(0x116)](_0x48584e){const _0x2762e8=_0x3bd69d,{connection:_0x42d080}=this[_0x2762e8(0xfd)][_0x2762e8(0x111)][_0x2762e8(0x13d)](_0x24a6b6),_0x4d456e=this[_0x2762e8(0xfd)][_0x2762e8(0x111)][_0x2762e8(0x13d)](_0x2762e8(0x133)),_0x1fc18d=this[_0x2762e8(0x142)][_0x2762e8(0x13d)](_0x48584e),_0x312d4f=await _0x1fc18d[_0x2762e8(0x10f)](_0x42d080);await this[_0x2762e8(0x12f)](_0x312d4f);const _0x322251=new Set(Array[_0x2762e8(0x135)](_0x4d456e[_0x2762e8(0x11a)]({'channelId':_0x48584e}),_0x18cf25=>_0x18cf25['id']));for(const _0x57a672 of _0x312d4f)_0x57a672[_0x2762e8(0x12a)]||_0x322251[_0x2762e8(0x10c)](_0x57a672[_0x2762e8(0x107)]);for(const _0x1be492 of _0x322251)_0x4d456e[_0x2762e8(0x132)](_0x1be492)[_0x2762e8(0x12e)]({'isFromAdapter':!0x0});for(const _0x1bd37c of _0x312d4f){let _0x17f6d9=_0x4d456e[_0x2762e8(0x132)](_0x1bd37c[_0x2762e8(0x107)]);const {commentThreadId:_0x576215,context:_0x5858b2,attributes:_0x278936,resolvedBy:_0x4a18f2,resolvedAt:_0x4c00b0,unlinkedAt:_0x4f43e7,deletedAt:_0x439f9c}=_0x1bd37c;if(_0x439f9c)continue;_0x17f6d9||(_0x17f6d9=_0x4d456e[_0x2762e8(0x149)]({'channelId':_0x48584e,'threadId':_0x576215,'context':_0x5858b2,'attributes':_0x278936||{},'resolvedBy':_0x4a18f2,'resolvedAt':_0x4c00b0,'unlinkedAt':_0x4f43e7,'isFromAdapter':!0x0}));const _0x681a31=new Set(Array[_0x2762e8(0x135)](_0x17f6d9[_0x2762e8(0xf3)],_0x5a23e6=>_0x5a23e6['id']));for(const _0x3c4a80 of _0x1bd37c[_0x2762e8(0xf3)])_0x681a31[_0x2762e8(0x10c)](_0x3c4a80[_0x2762e8(0x13f)]);for(const _0x34d05c of _0x681a31)_0x17f6d9[_0x2762e8(0x105)](_0x34d05c)[_0x2762e8(0x12e)]({'isFromAdapter':!0x0});for(const _0x20dd93 of _0x1bd37c[_0x2762e8(0xf3)]){const _0x56cd0b=_0x17f6d9[_0x2762e8(0x105)](_0x20dd93[_0x2762e8(0x13f)]);_0x56cd0b?_0x56cd0b[_0x2762e8(0xfa)]!==_0x20dd93[_0x2762e8(0xfa)]&&_0x56cd0b[_0x2762e8(0xf1)]({'content':_0x20dd93[_0x2762e8(0xfa)],'isFromAdapter':!0x0}):_0x17f6d9[_0x2762e8(0x134)](Object[_0x2762e8(0xf0)](p(_0x20dd93),{'isFromAdapter':!0x0}));}}}[_0x3bd69d(0x120)](_0x37b235){const _0xfca8b5=_0x3bd69d;if(!this[_0xfca8b5(0x142)][_0xfca8b5(0xf9)](_0x37b235))throw new _0x4e2a7d(_0xfca8b5(0x14b),null,{'channelId':_0x37b235});return this[_0xfca8b5(0x142)][_0xfca8b5(0x13d)](_0x37b235);}async[_0x3bd69d(0x12f)](_0x8656c5){const _0x221f73=_0x3bd69d,_0x1cadf=this[_0x221f73(0xfd)][_0x221f73(0x111)][_0x221f73(0x13d)](_0x31686f),{connection:_0x448069}=this[_0x221f73(0xfd)][_0x221f73(0x111)][_0x221f73(0x13d)](_0x24a6b6),_0x57b37d=new Set();for(const {resolvedBy:_0x231a29,comments:_0xa07d36}of _0x8656c5){_0x231a29&&!_0x1cadf[_0x221f73(0xff)](_0x231a29)&&_0x57b37d[_0x221f73(0x124)](_0x231a29);for(const {userId:_0x6c5f6b}of _0xa07d36)_0x1cadf[_0x221f73(0xff)](_0x6c5f6b)||_0x57b37d[_0x221f73(0x124)](_0x6c5f6b);}if(0x0===_0x57b37d[_0x221f73(0x121)])return;const _0x354978=await _0x414445[_0x221f73(0xef)](_0x448069,Array[_0x221f73(0x135)](_0x57b37d));for(const _0x29aec3 of _0x354978)_0x1cadf[_0x221f73(0xff)](_0x29aec3['id'])||_0x1cadf[_0x221f73(0x102)](_0x29aec3);}}async function f(_0x18baa9){const _0x34d914=_0x3bd69d;if(_0x34d914(0x108)!==_0x18baa9[_0x34d914(0x110)])throw _0x18baa9;}function A(_0x57cdc9){const _0x22e5cc=_0x3bd69d;if((_0x2f8b47=_0x57cdc9)[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0x144))||_0x2f8b47[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0x129))||_0x2f8b47[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0xeb)))return new Promise(()=>{});var _0x2f8b47;throw _0x57cdc9;}function p(_0x31bb50){const _0x475c7a=_0x3bd69d;return{'threadId':_0x31bb50[_0x475c7a(0x107)],'commentId':_0x31bb50[_0x475c7a(0x13f)],'content':_0x31bb50[_0x475c7a(0xfa)],'createdAt':_0x31bb50[_0x475c7a(0x126)],'authorId':_0x31bb50[_0x475c7a(0x100)],'attributes':_0x31bb50[_0x475c7a(0xea)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2eeb8f=_0x4d00;function _0x4d00(_0xfb61f8,_0x1cdb6a){const _0x186e28=_0x186e();return _0x4d00=function(_0x4d0014,_0x51f46e){_0x4d0014=_0x4d0014-0x1da;let _0x186346=_0x186e28[_0x4d0014];return _0x186346;},_0x4d00(_0xfb61f8,_0x1cdb6a);}(function(_0x167f3e,_0x3de924){const _0x3f4059=_0x4d00,_0x13b221=_0x167f3e();while(!![]){try{const _0x4c5881=parseInt(_0x3f4059(0x1e2))/0x1*(-parseInt(_0x3f4059(0x1fa))/0x2)+parseInt(_0x3f4059(0x1f3))/0x3+parseInt(_0x3f4059(0x1e7))/0x4+parseInt(_0x3f4059(0x1df))/0x5+-parseInt(_0x3f4059(0x1f5))/0x6+parseInt(_0x3f4059(0x1e0))/0x7*(-parseInt(_0x3f4059(0x1dd))/0x8)+-parseInt(_0x3f4059(0x1e3))/0x9*(-parseInt(_0x3f4059(0x1ea))/0xa);if(_0x4c5881===_0x3de924)break;else _0x13b221['push'](_0x13b221['shift']());}catch(_0x4538c3){_0x13b221['push'](_0x13b221['shift']());}}}(_0x186e,0x989f2));import{Plugin as _0x594e32}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x239481}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x186e(){const _0x1e4237=['7rzAGKK','once','109367ZaykDE','340749awdtpG','ready','data','isPremiumPlugin','3806360SZBSJK','CommentsEditing','change:state','100kjadao','Comments','collaboration.channelId','get','switchReadOnly','plugins','init','connected','CommentsRepository','1591815RXXdAs','destroy','6230754EYjhsI','config','RealTimeCollaborativeComments','listenTo','isOfficialPlugin','4BcOeQw','_terminateService','isThreadsLoadingPaused','editor','_setUpService','requires','4883384YJIzDn','pluginName','3159745DgwLOI'];_0x186e=function(){return _0x1e4237;};return _0x186e();}import{RealTimeCollaborativeEditing as _0x188f65}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x576657}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x594e32{static get[_0x2eeb8f(0x1dc)](){const _0x3984b4=_0x2eeb8f;return[_0x3984b4(0x1eb),_0x239481,_0x188f65,_0x576657];}static get[_0x2eeb8f(0x1de)](){const _0x2fca0c=_0x2eeb8f;return _0x2fca0c(0x1f7);}static get[_0x2eeb8f(0x1f9)](){return!0x0;}static get[_0x2eeb8f(0x1e6)](){return!0x0;}[_0x2eeb8f(0x1f0)](){const _0x52abda=_0x2eeb8f,_0x4bd4a2=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x576657),_0x2a92bb=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x52abda(0x1e8)),_0x24fc7d=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x239481);return this[_0x52abda(0x1da)][_0x52abda(0x1e5)][_0x52abda(0x1e1)](_0x52abda(0x1e4),()=>{const _0x548658=_0x52abda;this[_0x548658(0x1f8)](_0x4bd4a2,_0x548658(0x1e9),(_0x23f2fd,_0x33833a,_0x357a6f)=>{const _0x25104c=_0x548658;_0x2a92bb[_0x25104c(0x1fc)]=_0x25104c(0x1f1)!==_0x357a6f;});}),this[_0x52abda(0x1f8)](_0x4bd4a2,_0x52abda(0x1e9),(_0x19715d,_0x5e9f99,_0x322dec)=>{const _0x36a809=_0x52abda;this[_0x36a809(0x1da)][_0x36a809(0x1ef)][_0x36a809(0x1ed)](_0x36a809(0x1f2))[_0x36a809(0x1ee)](_0x36a809(0x1f1)!==_0x322dec);}),_0x24fc7d[_0x52abda(0x1db)](this[_0x52abda(0x1da)][_0x52abda(0x1f6)][_0x52abda(0x1ed)](_0x52abda(0x1ec)));}[_0x2eeb8f(0x1f4)](){const _0xab1f7b=_0x2eeb8f;this[_0xab1f7b(0x1da)][_0xab1f7b(0x1ef)][_0xab1f7b(0x1ed)](_0x239481)[_0xab1f7b(0x1fb)](this[_0xab1f7b(0x1da)][_0xab1f7b(0x1f6)][_0xab1f7b(0x1ed)](_0xab1f7b(0x1ec))),super[_0xab1f7b(0x1f4)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2644e9)());[_0x312940(0x1b6)];[_0x312940(0x26e)];[_0x312940(0x22a)];[_0x312940(0x28b)];[_0x312940(0x23e)];[_0x312940(0x1ed)];[_0x312940(0x1df)];[_0x312940(0x19e)];[_0x312940(0x214)];[_0x312940(0x265)];[_0x312940(0x1ff)];[_0x312940(0x19c)];[_0x312940(0x1a9)];[_0x312940(0x1e9)];[_0x312940(0x1d0)];[_0x312940(0x271)];[_0x312940(0x1f0)];[_0x312940(0x1ec)];static get[_0x312940(0x223)](){return[_0x51b8b6,_0x90fb9c,_0x7044a2,_0x3bf39e,_0x458783,_0x189942];}static get[_0x312940(0x275)](){const _0x28af4d=_0x312940;return _0x28af4d(0x263);}static get[_0x312940(0x208)](){return!0x0;}static get[_0x312940(0x1c9)](){return!0x0;}get[_0x312940(0x24d)](){const _0x45ff5a=_0x312940;return this[_0x45ff5a(0x294)]+this[_0x45ff5a(0x1b6)];}get[_0x312940(0x294)](){const _0x5735fb=_0x312940;return this[_0x5735fb(0x22a)][_0x5735fb(0x1e6)]-this[_0x5735fb(0x1b6)];}get[_0x312940(0x2a2)](){const _0x4156e9=_0x312940,_0xd29a54=this[_0x4156e9(0x22a)][_0x4156e9(0x29f)]();for(let _0x34627c=_0xd29a54[_0x4156e9(0x288)]-0x1;_0x34627c>=0x0;_0x34627c--){const _0x38fc98=_0xd29a54[_0x34627c];if(!this[_0x4156e9(0x1f0)][_0x4156e9(0x286)](_0x38fc98))return _0x38fc98[_0x4156e9(0x229)]+0x1-this[_0x4156e9(0x1b6)];}return 0x0;}constructor(_0x3f6ec4){const _0x3bb7c7=_0x312940;if(super(_0x3f6ec4),this[_0x3bb7c7(0x1b6)]=0x0,this[_0x3bb7c7(0x26e)]=null,this[_0x3bb7c7(0x22a)]=new _0x5f471f(),this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1a3)][_0x3bb7c7(0x1c1)](_0x3bb7c7(0x253),{}),this[_0x3bb7c7(0x28b)]=this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1a3)][_0x3bb7c7(0x29b)](_0x3bb7c7(0x298)),!this[_0x3bb7c7(0x28b)])throw new _0x5be647(_0x3bb7c7(0x20a),this);const _0x2618c3=_0x3f6ec4[_0x3bb7c7(0x1a3)][_0x3bb7c7(0x29b)](_0x3bb7c7(0x1f2))||_0x57d333;this[_0x3bb7c7(0x23e)]=new RealTimeCollaborationClient[(_0x3bb7c7(0x261))](_0x2618c3,this[_0x3bb7c7(0x28b)]),this[_0x3bb7c7(0x1ed)]=this[_0x3bb7c7(0x216)][_0x3bb7c7(0x1c4)][_0x3bb7c7(0x276)],this[_0x3bb7c7(0x1df)]=new _0x2bbdf6(),this[_0x3bb7c7(0x19e)]=[],this[_0x3bb7c7(0x214)]=new WeakSet(),this[_0x3bb7c7(0x265)]=new Set(),this[_0x3bb7c7(0x27c)](_0x3bb7c7(0x26b),!0x1),this[_0x3bb7c7(0x27c)](_0x3bb7c7(0x228),!0x1),this[_0x3bb7c7(0x1ff)]=null,this[_0x3bb7c7(0x19c)]=!0x1,this[_0x3bb7c7(0x1a9)]=null,this[_0x3bb7c7(0x1e9)]=0x12c,this[_0x3bb7c7(0x1d0)]=this[_0x3bb7c7(0x1e9)],this[_0x3bb7c7(0x271)]=null,this[_0x3bb7c7(0x1f0)]=new WeakSet(),this[_0x3bb7c7(0x1ec)]=new Z(this[_0x3bb7c7(0x1f0)]);}[_0x312940(0x284)](){const _0x455470=_0x312940,_0x413860=this[_0x455470(0x216)],_0x4f41a5=_0x413860[_0x455470(0x2a4)][_0x455470(0x29b)](_0x458783),_0x1f79a5=_0x413860[_0x455470(0x2a4)][_0x455470(0x29b)](_0x51b8b6);this[_0x455470(0x1e8)](_0x4f41a5,_0x455470(0x1e4),(_0x20933e,_0x549649)=>{const _0x4383fc=_0x455470,_0x29de01=_0x549649[0x0];_0x29de01[_0x4383fc(0x220)]&&(_0x20933e[_0x4383fc(0x1e1)]=_0x4f41a5[_0x4383fc(0x295)](_0x29de01[_0x4383fc(0x220)]),_0x20933e[_0x4383fc(0x204)]()),null===_0x29de01[_0x4383fc(0x220)]&&(_0x20933e[_0x4383fc(0x1e1)]=null,_0x20933e[_0x4383fc(0x204)]());},{'priority':_0x455470(0x1d2)}),this[_0x455470(0x1e8)](_0x413860[_0x455470(0x1c4)][_0x455470(0x276)][_0x455470(0x287)],_0x455470(0x1eb),(_0x4598ae,_0x294f9a)=>{const _0x4e08cd=_0x455470;_0x294f9a[_0x4e08cd(0x1c6)]&&this[_0x4e08cd(0x212)]();}),this[_0x455470(0x1e8)](_0x413860[_0x455470(0x1d8)][_0x455470(0x1ab)],_0x455470(0x241),()=>{const _0x2d222f=_0x455470;this[_0x2d222f(0x212)]();}),this[_0x455470(0x1d5)](),_0x413860[_0x455470(0x1c4)]['on'](_0x455470(0x262),(_0x2291e3,_0x78e37c)=>{const _0x34a83b=_0x455470,_0x32e3cb=_0x78e37c[0x0];_0x32e3cb[_0x34a83b(0x234)]&&(this[_0x34a83b(0x290)](_0x32e3cb),this[_0x34a83b(0x247)]()&&this[_0x34a83b(0x28a)]());}),this[_0x455470(0x1dd)](),this[_0x455470(0x1da)](_0x455470(0x23f))['to'](_0x1f79a5,_0x455470(0x1c5),this,_0x455470(0x228),(_0x426c32,_0x53ae3b)=>_0x455470(0x251)===_0x426c32&&!_0x53ae3b),this['on'](_0x455470(0x28d),()=>{const _0x2ff8cb=_0x455470;this[_0x2ff8cb(0x23f)]?_0x413860[_0x2ff8cb(0x1c2)](_0x2ff8cb(0x1ad)):_0x413860[_0x2ff8cb(0x227)](_0x2ff8cb(0x1ad));}),this[_0x455470(0x23f)]?_0x413860[_0x455470(0x1c2)](_0x455470(0x1ad)):_0x413860[_0x455470(0x227)](_0x455470(0x1ad)),this[_0x455470(0x27c)](_0x455470(0x1e0),!0x1);}async[_0x312940(0x1f7)](){const _0x5e9592=_0x312940,_0x526ce9=this[_0x5e9592(0x216)][_0x5e9592(0x2a4)][_0x5e9592(0x29b)](_0x90fb9c),_0x34f325=this[_0x5e9592(0x216)][_0x5e9592(0x2a4)][_0x5e9592(0x29b)](_0x51b8b6);try{this[_0x5e9592(0x26b)]=!0x0,_0x526ce9[_0x5e9592(0x226)](this[_0x5e9592(0x28b)]);const _0x376e26=await this[_0x5e9592(0x23e)][_0x5e9592(0x1f7)](_0x34f325[_0x5e9592(0x2a0)],this[_0x5e9592(0x2a2)]);await this[_0x5e9592(0x285)](_0x376e26)&&(this[_0x5e9592(0x26b)]=!0x1,this[_0x5e9592(0x280)]());const _0x1564a2=await this[_0x5e9592(0x23e)][_0x5e9592(0x1b0)]();_0x526ce9[_0x5e9592(0x217)](this[_0x5e9592(0x28b)],_0x1564a2),this[_0x5e9592(0x21a)](),this[_0x5e9592(0x1e0)]=!0x0;}catch(_0x291062){if(function(_0xd25982){const _0x418330=_0x5e9592;return _0x418330(0x1a8)===_0xd25982[_0x418330(0x25b)];}(_0x291062)&&this[_0x5e9592(0x26e)])await this[_0x5e9592(0x1a0)]();else{if(function(_0x327453){const _0x3e1001=_0x5e9592;return _0x3e1001(0x250)===_0x327453[_0x3e1001(0x25b)];}(_0x291062)){const _0x2290b4=_0x4dec24(this[_0x5e9592(0x216)][_0x5e9592(0x207)],_0x5e9592(0x26f));this[_0x5e9592(0x279)](_0x2290b4);}else{if(!(_0x291062 instanceof X))throw _0x291062;this[_0x5e9592(0x279)]();}}}}[_0x312940(0x293)](){const _0xff835e=_0x312940,_0x517452=this[_0xff835e(0x216)][_0xff835e(0x2a4)][_0xff835e(0x29b)](_0x51b8b6),_0x325341=this[_0xff835e(0x216)][_0xff835e(0x2a4)][_0xff835e(0x29b)](_0x90fb9c);this[_0xff835e(0x216)][_0xff835e(0x227)](_0xff835e(0x1cb)),_0x325341[_0xff835e(0x268)][_0xff835e(0x286)](this[_0xff835e(0x28b)])&&_0x325341[_0xff835e(0x226)](this[_0xff835e(0x28b)]),_0x517452[_0xff835e(0x1de)](this),this[_0xff835e(0x245)](),super[_0xff835e(0x293)]();}async[_0x312940(0x285)](_0x10658d){const _0x261c2c=_0x312940;if(this[_0x261c2c(0x26e)]!==_0x10658d[_0x261c2c(0x26e)]&&this[_0x261c2c(0x271)]!==_0x10658d[_0x261c2c(0x1e2)])throw new X();return this[_0x261c2c(0x26e)]=_0x10658d[_0x261c2c(0x26e)],this[_0x261c2c(0x21e)]([],{..._0x10658d,'wereChangesApplied':!0x1,'data':_0x10658d[_0x261c2c(0x23d)]},_0x261c2c(0x1f7));}async[_0x312940(0x1b2)](_0x3998cd,_0x3e2d7b=!0x1){const _0x2650d0=_0x312940,{connection:_0x346931}=this[_0x2650d0(0x216)][_0x2650d0(0x2a4)][_0x2650d0(0x29b)](_0x51b8b6);RealTimeCollaborationClient[_0x2650d0(0x261)][_0x2650d0(0x1b0)](_0x346931,this[_0x2650d0(0x28b)])[_0x2650d0(0x20c)](_0x2b203f=>this[_0x2650d0(0x273)](_0x2b203f))[_0x2650d0(0x244)](_0x407ded=>{const _0x1523ed=_0x2650d0;this[_0x1523ed(0x257)](_0x1523ed(0x1ce),_0x407ded);}),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x19d),this[_0x2650d0(0x1c7)][_0x2650d0(0x1da)](this)),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x1bf),(_0x29a89e,_0x403bc3)=>{const _0xa1bcd5=_0x2650d0;this[_0xa1bcd5(0x257)](_0xa1bcd5(0x28c),_0x403bc3);}),this[_0x2650d0(0x1e8)](this[_0x2650d0(0x23e)],_0x2650d0(0x1a2),()=>{const _0x3df8d1=_0x2650d0;this[_0x3df8d1(0x1e0)]=!0x1;});const _0x11a58e=this[_0x2650d0(0x1ec)][_0x2650d0(0x1dc)](_0x3998cd);this[_0x2650d0(0x26b)]=!0x0;const _0x3ecccf=await this[_0x2650d0(0x23e)][_0x2650d0(0x29d)](_0x346931,this[_0x2650d0(0x1d7)](_0x3998cd),_0x11a58e);if(this[_0x2650d0(0x26e)]=_0x3ecccf[_0x2650d0(0x26e)],_0x3e2d7b){if(!_0x3ecccf[_0x2650d0(0x267)])return void this[_0x2650d0(0x279)]();this[_0x2650d0(0x26b)]=!0x1,this[_0x2650d0(0x280)](),this[_0x2650d0(0x22a)][_0x2650d0(0x289)](),this[_0x2650d0(0x1b6)]=_0x3ecccf[_0x2650d0(0x243)],this[_0x2650d0(0x22a)][_0x2650d0(0x1e6)]=this[_0x2650d0(0x1b6)],await this[_0x2650d0(0x21e)](_0x3998cd,_0x3ecccf,_0x2650d0(0x259));}else await this[_0x2650d0(0x231)](_0x3ecccf,_0x3998cd);this[_0x2650d0(0x21a)](),this[_0x2650d0(0x1e0)]=!0x0;}[_0x312940(0x21a)](){const _0x1f7f19=_0x312940,_0x2fe881=this[_0x1f7f19(0x216)][_0x1f7f19(0x2a4)][_0x1f7f19(0x29b)](_0x90fb9c),_0x406565=this[_0x1f7f19(0x216)][_0x1f7f19(0x2a4)][_0x1f7f19(0x29b)](_0x7044a2),_0x5a39fb=_0x2fe881[_0x1f7f19(0x268)][_0x1f7f19(0x29b)](this[_0x1f7f19(0x28b)]);_0x5a39fb&&_0x5a39fb[_0x1f7f19(0x288)]>0x1?_0x406565[_0x1f7f19(0x25d)]():this[_0x1f7f19(0x1e8)](_0x2fe881,_0x1f7f19(0x29e)+this[_0x1f7f19(0x28b)],()=>{const _0x288ae5=_0x1f7f19;0x2===_0x2fe881[_0x288ae5(0x268)][_0x288ae5(0x29b)](this[_0x288ae5(0x28b)])[_0x288ae5(0x288)]&&_0x406565[_0x288ae5(0x25d)]();});}async[_0x312940(0x1c7)](_0x274c75,_0xc63b5b,_0x17c237,_0x313724){const _0x5f192c=_0x312940;if(!this[_0x5f192c(0x26b)]&&this[_0x5f192c(0x1ed)][_0x5f192c(0x1e6)]==_0xc63b5b){const _0x3e7d3c=this[_0x5f192c(0x209)](_0x17c237,_0x313724);await this[_0x5f192c(0x242)](_0x3e7d3c),this[_0x5f192c(0x20b)](_0x3e7d3c,_0xc63b5b,_0x17c237[_0x5f192c(0x1e2)])||this[_0x5f192c(0x257)](_0x5f192c(0x1f5));}}async[_0x312940(0x1a0)](){const _0x437f52=_0x312940;this[_0x437f52(0x245)]();const {locale:_0x181732}=this[_0x437f52(0x216)];let _0x8d3adc;try{_0x8d3adc=await this[_0x437f52(0x23e)][_0x437f52(0x26c)]();}catch{const _0x3925a3=_0x4dec24(_0x181732,_0x437f52(0x25a));return void this[_0x437f52(0x279)](_0x3925a3);}const _0x3feccb=_0x8d3adc[_0x437f52(0x1fd)]||_0x8d3adc[_0x437f52(0x1e7)];if(this[_0x437f52(0x271)]!==_0x3feccb[_0x437f52(0x1e2)]){const _0x2d4c0e=_0x4dec24(_0x181732,_0x437f52(0x1d9));return void this[_0x437f52(0x279)](_0x2d4c0e);}await this[_0x437f52(0x1b2)](this[_0x437f52(0x216)][_0x437f52(0x1c4)][_0x437f52(0x276)][_0x437f52(0x278)][_0x437f52(0x29f)](),!0x0);}[_0x312940(0x245)](){const _0x1829b1=_0x312940;this[_0x1829b1(0x23e)][_0x1829b1(0x1c3)](),this[_0x1829b1(0x19e)]=[],clearTimeout(this[_0x1829b1(0x1a9)]),this[_0x1829b1(0x270)](this[_0x1829b1(0x23e)]);}[_0x312940(0x273)](_0x10fe1c){const _0x1879a3=_0x312940,_0x49ca1c=this[_0x1879a3(0x216)][_0x1879a3(0x2a4)][_0x1879a3(0x29b)](_0x90fb9c);this[_0x1879a3(0x1e8)](_0x49ca1c,_0x1879a3(0x29e)+this[_0x1879a3(0x28b)],(_0x541648,{session:_0x140c12})=>{const _0x282527=_0x1879a3;if(_0x140c12['id']===_0x49ca1c[_0x282527(0x277)]){_0x541648[_0x282527(0x27d)]();const _0x2af9dd=this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x286)](_0x282527(0x1cf))&&this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x29b)](_0x282527(0x1cf));let _0x39a4f1=_0x140c12[_0x282527(0x2a1)];_0x2af9dd&&_0x2af9dd[_0x282527(0x215)]&&(_0x39a4f1=_0x39a4f1[_0x282527(0x258)](_0x2d98aa=>_0x282527(0x239)!==_0x2d98aa)),this[_0x282527(0x216)][_0x282527(0x2a4)][_0x282527(0x29b)](_0x282527(0x1bb))[_0x282527(0x22f)](_0x39a4f1,this[_0x282527(0x28b)]);}}),_0x49ca1c[_0x1879a3(0x217)](this[_0x1879a3(0x28b)],_0x10fe1c);}[_0x312940(0x1d5)](){const _0x418735=_0x312940,_0x338a29=this[_0x418735(0x216)][_0x418735(0x23d)][_0x418735(0x27c)];this[_0x418735(0x216)][_0x418735(0x23d)][_0x418735(0x27c)]=(..._0x3fba0c)=>{const _0x315507=_0x418735;if(!_0x3fba0c[_0x3fba0c[_0x315507(0x288)]-0x1][_0x315507(0x1aa)])throw new _0x5be647(_0x315507(0x1c8),this);_0x338a29[_0x315507(0x221)](this[_0x315507(0x216)][_0x315507(0x23d)],_0x3fba0c);};}[_0x312940(0x1dd)](){const _0x2e2084=_0x312940;this[_0x2e2084(0x216)][_0x2e2084(0x23d)]['on'](_0x2e2084(0x284),(_0x492fe5,[_0x5ecbc5])=>{const _0x2382cb=_0x2e2084;if(this[_0x2382cb(0x1ed)][_0x2382cb(0x1e6)])throw new _0x5be647(_0x2382cb(0x256),this);_0x492fe5[_0x2382cb(0x204)](),this[_0x2382cb(0x1af)]();const _0x194f12=this[_0x2382cb(0x216)][_0x2382cb(0x1a3)][_0x2382cb(0x29b)](_0x2382cb(0x1f9)),_0x282cae=this[_0x2382cb(0x1ee)](_0x5ecbc5,_0x194f12);0x0==_0x282cae[_0x2382cb(0x288)]&&_0x282cae[_0x2382cb(0x246)](new _0x4b3968(0x0)),_0x492fe5[_0x2382cb(0x1e1)]=this[_0x2382cb(0x1b2)](_0x282cae)[_0x2382cb(0x20c)](()=>{const _0x3689e8=_0x2382cb;this[_0x3689e8(0x216)][_0x3689e8(0x2a4)][_0x3689e8(0x29b)](_0x51b8b6)[_0x3689e8(0x20d)](this),this[_0x3689e8(0x216)][_0x3689e8(0x23d)][_0x3689e8(0x26d)](_0x3689e8(0x1a1));})[_0x2382cb(0x244)](_0x27590c=>this[_0x2382cb(0x257)](_0x2382cb(0x230),_0x27590c))[_0x2382cb(0x26a)](()=>this[_0x2382cb(0x280)]());},{'priority':_0x2e2084(0x1d2)}),this[_0x2e2084(0x216)]['on'](_0x2e2084(0x1d3),async(_0x4a01a3,[_0x5ad812,_0x1fdfd8])=>{const _0x15ed7b=_0x2e2084;_0x4a01a3[_0x15ed7b(0x204)]();const _0x199c07=this[_0x15ed7b(0x216)][_0x15ed7b(0x1c4)][_0x15ed7b(0x276)][_0x15ed7b(0x29c)](_0x5ad812);if(!this[_0x15ed7b(0x265)][_0x15ed7b(0x286)](_0x5ad812)){const _0x25bb92=_0x1fdfd8&&_0x1fdfd8[_0x15ed7b(0x23d)]?_0x1fdfd8[_0x15ed7b(0x23d)]:'',_0x38881e=_0x1fdfd8&&_0x1fdfd8[_0x15ed7b(0x236)]?_0x1fdfd8[_0x15ed7b(0x236)]:{};await this[_0x15ed7b(0x282)](_0x5ad812,_0x25bb92,_0x38881e);}this[_0x15ed7b(0x216)][_0x15ed7b(0x1c4)][_0x15ed7b(0x27e)]({'isUndoable':!0x1},()=>{const _0x76f407=_0x15ed7b;_0x199c07[_0x76f407(0x28f)]=!0x0,this[_0x76f407(0x216)][_0x76f407(0x1c4)][_0x76f407(0x276)][_0x76f407(0x1a5)][_0x76f407(0x269)](_0x199c07);});},{'priority':_0x2e2084(0x1d2)});}async[_0x312940(0x242)](_0x507692){const _0x41a625=_0x312940,_0x4e58ee=this[_0x41a625(0x216)][_0x41a625(0x2a4)][_0x41a625(0x29b)](_0x458783),{connection:_0x48b8cf}=this[_0x41a625(0x216)][_0x41a625(0x2a4)][_0x41a625(0x29b)](_0x51b8b6),_0x2fb80c=new Set();for(const _0x138816 of _0x507692){const _0x4779cf=_0x138816[_0x41a625(0x220)];_0x4779cf&&!_0x4e58ee[_0x41a625(0x295)](_0x4779cf)&&_0x2fb80c[_0x41a625(0x225)](_0x4779cf);}if(0x0===_0x2fb80c[_0x41a625(0x20f)])return;const _0x204909=await _0x38ec5a[_0x41a625(0x1db)](_0x48b8cf,Array[_0x41a625(0x1f4)](_0x2fb80c));for(const _0xa45945 of _0x204909)_0x4e58ee[_0x41a625(0x295)](_0xa45945['id'])||_0x4e58ee[_0x41a625(0x23a)](_0xa45945);}[_0x312940(0x1ee)](_0x1be317,_0x324207={}){const _0x478be6=_0x312940,_0x2b7ef2=this[_0x478be6(0x216)][_0x478be6(0x1c4)],_0x26eec5=[];let _0x5cde17=0x0;const _0x49a3d7=_0x478be6(0x1ae)==typeof _0x1be317?{'main':_0x1be317}:_0x1be317;for(const _0x16c966 of Object[_0x478be6(0x1bc)](_0x49a3d7)){if(!this[_0x478be6(0x1ed)][_0x478be6(0x1f3)][_0x478be6(0x286)](_0x16c966))throw new _0x5be647(_0x478be6(0x1a6),this);const _0x21dcac=this[_0x478be6(0x216)][_0x478be6(0x23d)][_0x478be6(0x237)](_0x49a3d7[_0x16c966]),_0x3081ee=this[_0x478be6(0x1ed)][_0x478be6(0x29c)](_0x16c966),_0xcfe21=new _0x213b12(_0x2b7ef2[_0x478be6(0x206)](_0x3081ee,0x0),_0x21dcac,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0xcfe21);for(const [_0x41b0b4,_0xb4a879]of _0x21dcac[_0x478be6(0x22d)]){const _0x408dc7=_0x2b7ef2[_0x478be6(0x1ef)](_0x2b7ef2[_0x478be6(0x264)](_0x3081ee,_0xb4a879[_0x478be6(0x21d)][_0x478be6(0x1b1)][_0x478be6(0x1bd)]()),_0x2b7ef2[_0x478be6(0x264)](_0x3081ee,_0xb4a879[_0x478be6(0x27f)][_0x478be6(0x1b1)][_0x478be6(0x1bd)]())),_0x52cbbe=new _0x6d4df5(_0x41b0b4,null,_0x408dc7,_0x2b7ef2[_0x478be6(0x22d)],!0x0,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0x52cbbe);}}if(_0x324207)for(const [_0x5036b9,_0x3ef0c2]of Object[_0x478be6(0x19f)](_0x324207)){const _0x31b10f=_0x2b7ef2[_0x478be6(0x276)][_0x478be6(0x29c)](_0x5036b9);if(!_0x31b10f)throw new _0x5be647(_0x478be6(0x291),null);for(const [_0x1145e9,_0x5095fb]of Object[_0x478be6(0x19f)](_0x3ef0c2))if(null!==_0x5095fb){const _0x5724fc=new _0x23a348(_0x31b10f,_0x1145e9,null,_0x5095fb,_0x5cde17++);_0x26eec5[_0x478be6(0x246)](_0x5724fc);}}return _0x26eec5;}async[_0x312940(0x282)](_0x15c3a2,_0x1bb7cb,_0x1e331b){const _0x2a55ef=_0x312940;this[_0x2a55ef(0x1ee)]({[_0x15c3a2]:_0x1bb7cb},{[_0x15c3a2]:_0x1e331b})[_0x2a55ef(0x1e3)]((_0x318d33,_0x27be67)=>{const _0x6dbb0c=_0x2a55ef;_0x318d33[_0x6dbb0c(0x229)]=this[_0x6dbb0c(0x1ed)][_0x6dbb0c(0x1e6)]+_0x27be67,_0x318d33[_0x6dbb0c(0x297)]=!0x0,this[_0x6dbb0c(0x290)](_0x318d33);}),this[_0x2a55ef(0x28a)](),await this[_0x2a55ef(0x1ca)]();}async[_0x312940(0x231)](_0x512868,_0x3ed044){const _0x2b665f=_0x312940;let _0x1902b6;this[_0x2b665f(0x1b6)]=_0x512868[_0x2b665f(0x243)];const _0x31cda3=_0x512868[_0x2b665f(0x267)]&&!_0x512868[_0x2b665f(0x281)],_0x358e58=_0x31cda3?0x0:_0x512868[_0x2b665f(0x23d)][_0x2b665f(0x229)];if(_0x3ed044[_0x2b665f(0x1e3)](_0x33c60d=>{const _0x16840a=_0x2b665f;_0x33c60d[_0x16840a(0x297)]=!0x0,_0x33c60d[_0x16840a(0x21c)]=_0x512868[_0x16840a(0x1c0)],_0x33c60d[_0x16840a(0x220)]=null;}),_0x31cda3)_0x1902b6=_0x3ed044,this[_0x2b665f(0x254)](_0x1902b6,_0x31cda3);else{if(_0x512868[_0x2b665f(0x281)]){const _0x7a5da7=this[_0x2b665f(0x1ee)](_0x512868[_0x2b665f(0x281)]);this[_0x2b665f(0x1ed)][_0x2b665f(0x278)][_0x2b665f(0x1e6)]=-_0x7a5da7[_0x2b665f(0x288)],_0x7a5da7[_0x2b665f(0x1e3)](_0x325f28=>{const _0x1b915f=_0x2b665f;_0x325f28[_0x1b915f(0x229)]-=_0x7a5da7[_0x1b915f(0x288)],_0x325f28[_0x1b915f(0x21c)]=_0x512868[_0x1b915f(0x1c0)],_0x325f28[_0x1b915f(0x297)]=!0x0,_0x325f28[_0x1b915f(0x220)]=null;}),this[_0x2b665f(0x254)](_0x7a5da7,!0x0),this[_0x2b665f(0x22a)][_0x2b665f(0x1e6)]=-_0x7a5da7[_0x2b665f(0x288)]+this[_0x2b665f(0x1b6)],this[_0x2b665f(0x1b5)](_0x7a5da7);}this[_0x2b665f(0x1ed)][_0x2b665f(0x278)][_0x2b665f(0x1e6)]=_0x358e58,_0x1902b6=this[_0x2b665f(0x209)](_0x512868[_0x2b665f(0x23d)],_0x512868[_0x2b665f(0x296)]),await this[_0x2b665f(0x242)](_0x1902b6),this[_0x2b665f(0x254)](_0x1902b6,_0x31cda3);}_0x512868[_0x2b665f(0x1e2)]&&(this[_0x2b665f(0x1ec)][_0x2b665f(0x224)](_0x1902b6,_0x512868[_0x2b665f(0x1e2)]),this[_0x2b665f(0x271)]=_0x512868[_0x2b665f(0x1e2)]),this[_0x2b665f(0x22a)][_0x2b665f(0x1e6)]=_0x358e58+this[_0x2b665f(0x1b6)],this[_0x2b665f(0x1b5)](_0x1902b6),_0x3ed044[_0x2b665f(0x258)](_0x5f54bf=>{const _0x13a8c1=_0x2b665f,_0x2cc2bc=this[_0x13a8c1(0x238)](_0x5f54bf);return _0x2cc2bc&&!this[_0x13a8c1(0x265)][_0x13a8c1(0x286)](_0x2cc2bc);})[_0x2b665f(0x1e3)]((_0x4550e3,_0x59a647)=>{const _0x5392a3=_0x2b665f;_0x4550e3[_0x5392a3(0x229)]=this[_0x5392a3(0x1ed)][_0x5392a3(0x1e6)]+_0x59a647,this[_0x5392a3(0x290)](_0x4550e3);}),this[_0x2b665f(0x247)]()?(this[_0x2b665f(0x1d0)]=0x0,this[_0x2b665f(0x28a)](!0x0),await this[_0x2b665f(0x1ca)]()):(this[_0x2b665f(0x26b)]=!0x1,this[_0x2b665f(0x280)]());}[_0x312940(0x257)](_0x28e37c,_0x320ee0){const _0x2ae849=_0x312940,_0x2cab45=_0x320ee0&&_0x320ee0[_0x2ae849(0x1cc)];if(_0x2cab45&&_0x2cab45[_0x2ae849(0x24c)](_0x2ae849(0x1a7)))throw _0x320ee0;const _0x1b82c2=this[_0x2ae849(0x216)][_0x2ae849(0x2a4)][_0x2ae849(0x29b)](_0x51b8b6);throw this[_0x2ae849(0x26b)]=!0x0,_0x1b82c2[_0x2ae849(0x1c3)](),this[_0x2ae849(0x216)][_0x2ae849(0x227)](_0x2ae849(0x1d1)),new _0x5be647(_0x28e37c,this[_0x2ae849(0x216)],_0x2cab45?{'originalError':_0x2cab45}:void 0x0);}[_0x312940(0x290)](_0x285a8f){const _0x12ed46=_0x312940;this[_0x12ed46(0x214)][_0x12ed46(0x286)](_0x285a8f)||(this[_0x12ed46(0x214)][_0x12ed46(0x225)](_0x285a8f),this[_0x12ed46(0x19e)][_0x12ed46(0x246)](_0x285a8f),this[_0x12ed46(0x1ff)]||_0x12ed46(0x1ba)==_0x285a8f[_0x12ed46(0x21f)]&&!_0x285a8f[_0x12ed46(0x25c)]||this[_0x12ed46(0x1af)]());}[_0x312940(0x28a)](_0x4dd579=!0x1){const _0x5bbb02=_0x312940;!_0x4dd579&&this[_0x5bbb02(0x26b)]||(this[_0x5bbb02(0x26b)]=!0x0,clearTimeout(this[_0x5bbb02(0x1a9)]),this[_0x5bbb02(0x1a9)]=setTimeout(()=>{const _0xe7119c=_0x5bbb02;this[_0xe7119c(0x201)]()[_0xe7119c(0x20c)](_0x5b37a8=>{const _0x51fb3b=_0xe7119c;_0x5b37a8&&(this[_0x51fb3b(0x280)](),this[_0x51fb3b(0x26b)]=!0x1);})[_0xe7119c(0x244)](_0x5ab708=>{const _0x44d255=_0xe7119c;this[_0x44d255(0x280)](),this[_0x44d255(0x26b)]=!0x1,function(_0x36b28b){const _0x21088a=_0x44d255;return _0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x1ac))||_0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x252))||_0x36b28b[_0x21088a(0x1cc)][_0x21088a(0x24c)](_0x21088a(0x21b));}(_0x5ab708)||this[_0x44d255(0x257)](_0x5ab708[_0x44d255(0x1cc)],_0x5ab708);});},this[_0x5bbb02(0x1d0)]));}[_0x312940(0x1ca)](){return new Promise(_0x38d8b5=>{const _0x32f1ca=_0x1580;this['on'](_0x32f1ca(0x235),()=>{_0x38d8b5();});});}async[_0x312940(0x201)](){const _0x33be53=_0x312940,_0x3940a5=this[_0x33be53(0x216)][_0x33be53(0x2a4)][_0x33be53(0x29b)](_0x7044a2);if(this[_0x33be53(0x1fe)]()&&(_0x3940a5[_0x33be53(0x25d)](),this[_0x33be53(0x19c)]=!0x1),!this[_0x33be53(0x247)]())return!0x0;const _0x6f7184=[...this[_0x33be53(0x19e)]];for(const _0x57418d of _0x6f7184)_0x57418d[_0x33be53(0x23c)]=this[_0x33be53(0x1ed)][_0x33be53(0x278)][_0x33be53(0x260)](_0x57418d);const _0x23c9c1=this[_0x33be53(0x1ec)][_0x33be53(0x1dc)](_0x6f7184),_0x4e03b0=Q++,_0x3748d1=this[_0x33be53(0x1d7)](_0x6f7184),_0x3df3d1=await this[_0x33be53(0x23e)][_0x33be53(0x272)](_0x3748d1,_0x3748d1[_0x33be53(0x229)],_0x23c9c1);try{return await this[_0x33be53(0x21e)](_0x6f7184,_0x3df3d1,_0x4e03b0);}catch(_0xb56805){return this[_0x33be53(0x257)](_0x33be53(0x1a4),_0xb56805);}}async[_0x312940(0x21e)](_0x1175d0,_0x10bd5b,_0x2e390c){const _0x10536a=_0x312940;if(_0x10536a(0x1bf)in _0x10bd5b)throw _0x10bd5b[_0x10536a(0x1bf)];let _0x27c62e=!0x1;if(_0x10bd5b[_0x10536a(0x267)]){_0x10bd5b[_0x10536a(0x1e2)]&&(this[_0x10536a(0x271)]=_0x10bd5b[_0x10536a(0x1e2)]),this[_0x10536a(0x19e)]=this[_0x10536a(0x19e)][_0x10536a(0x258)](_0x23cb0c=>!_0x1175d0[_0x10536a(0x24a)](_0x23cb0c));for(const _0xd936da of _0x1175d0)_0xd936da[_0x10536a(0x21c)]=_0x10536a(0x23b)in _0x10bd5b&&_0x10bd5b[_0x10536a(0x23b)]||void 0x0;Y(_0x1175d0,_0x10bd5b[_0x10536a(0x1e6)]-_0x1175d0[_0x10536a(0x288)]),this[_0x10536a(0x1b5)](_0x1175d0);const _0x5e2c6c=_0x1175d0[_0x10536a(0x258)](_0xb50334=>{const _0x2ae11b=_0x10536a;if(!_0xb50334[_0x2ae11b(0x297)])return!0x1;const _0x14dae3=this[_0x2ae11b(0x238)](_0xb50334);return _0x14dae3&&!this[_0x2ae11b(0x265)][_0x2ae11b(0x286)](_0x14dae3);});Y(_0x5e2c6c,this[_0x10536a(0x1ed)][_0x10536a(0x1e6)]),this[_0x10536a(0x254)](_0x5e2c6c),_0x27c62e=!0x0,this[_0x10536a(0x1d0)]=this[_0x10536a(0x1e9)];}else{const _0x107515=this[_0x10536a(0x209)](_0x10bd5b[_0x10536a(0x23d)],_0x10bd5b[_0x10536a(0x296)])[_0x10536a(0x258)](_0x328741=>_0x328741[_0x10536a(0x229)]>=this[_0x10536a(0x294)]);_0x107515[_0x10536a(0x1e3)](_0x229cd7=>this[_0x10536a(0x266)](_0x229cd7)),this[_0x10536a(0x19e)]=this[_0x10536a(0x19e)][_0x10536a(0x258)](_0x2f2cbe=>!_0x2f2cbe[_0x10536a(0x297)]||!this[_0x10536a(0x265)][_0x10536a(0x286)](this[_0x10536a(0x238)](_0x2f2cbe))),this[_0x10536a(0x19e)][_0x10536a(0x288)]&&Y(this[_0x10536a(0x19e)],this[_0x10536a(0x19e)][0x0][_0x10536a(0x229)]),await this[_0x10536a(0x242)](_0x107515),_0x27c62e=this[_0x10536a(0x20b)](_0x107515,_0x10bd5b[_0x10536a(0x1e6)],_0x10bd5b[_0x10536a(0x1e2)]),this[_0x10536a(0x1d0)]=Math[_0x10536a(0x24e)](this[_0x10536a(0x1d0)]/0x2);}return _0x27c62e?!this[_0x10536a(0x247)]()||(this[_0x10536a(0x28a)](!0x0),!0x1):this[_0x10536a(0x257)](_0x10536a(0x219));}[_0x312940(0x20b)](_0x449d6f,_0x477ff5,_0x5abe07){const _0x3601d3=_0x312940;try{const _0x320e37={'document':this[_0x3601d3(0x1ed)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x520665,operationsB:_0x15450e,originalOperations:_0x100d0e}=_0x5cdf17(_0x449d6f,this[_0x3601d3(0x19e)],_0x320e37);Y(_0x520665,this[_0x3601d3(0x1ed)][_0x3601d3(0x1e6)]),Y(_0x15450e,_0x477ff5);for(const _0x5036e2 of _0x520665){const _0x567634=_0x100d0e[_0x3601d3(0x29b)](_0x5036e2);_0x5036e2[_0x3601d3(0x220)]=_0x567634?_0x567634[_0x3601d3(0x220)]:null;}_0x5abe07&&(this[_0x3601d3(0x1ec)][_0x3601d3(0x224)](_0x449d6f,_0x5abe07),this[_0x3601d3(0x271)]=_0x5abe07),this[_0x3601d3(0x19e)]=[..._0x15450e],this[_0x3601d3(0x254)](_0x520665),this[_0x3601d3(0x1b5)](_0x449d6f);}catch(_0x1d227a){return console[_0x3601d3(0x1bf)](_0x1d227a),!0x1;}return!0x0;}[_0x312940(0x254)](_0x386e83,_0x57e42e=!0x1){const _0x56b1ce=_0x312940;this[_0x56b1ce(0x216)][_0x56b1ce(0x1c4)][_0x56b1ce(0x27e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5b7b84=>{const _0x1f864a=_0x56b1ce;for(const _0x29e695 of _0x386e83)this[_0x1f864a(0x214)][_0x1f864a(0x225)](_0x29e695),this[_0x1f864a(0x266)](_0x29e695),_0x5b7b84[_0x1f864a(0x25e)][_0x1f864a(0x29a)](_0x29e695),this[_0x1f864a(0x216)][_0x1f864a(0x1c4)][_0x1f864a(0x262)](_0x29e695);});}[_0x312940(0x266)](_0x236831){const _0x2c4b71=_0x312940,_0x434eb6=this[_0x2c4b71(0x238)](_0x236831);_0x434eb6&&this[_0x2c4b71(0x265)][_0x2c4b71(0x225)](_0x434eb6);}[_0x312940(0x238)](_0x140a9b){const _0x28ebdf=_0x312940;let _0x149c83,_0x2f0490;switch(_0x140a9b[_0x28ebdf(0x21f)]){case _0x28ebdf(0x24b):_0x149c83=_0x140a9b[_0x28ebdf(0x222)][_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x1ba):if(_0x2f0490=_0x140a9b[_0x28ebdf(0x20e)],!_0x2f0490)return null;_0x149c83=_0x2f0490[_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x248):_0x149c83=_0x140a9b[_0x28ebdf(0x1b8)];break;case _0x28ebdf(0x1ea):_0x149c83=_0x140a9b[_0x28ebdf(0x24f)];break;case _0x28ebdf(0x1e5):_0x149c83=_0x140a9b[_0x28ebdf(0x1b4)][_0x28ebdf(0x1b8)];break;default:return null;}return _0x149c83[_0x28ebdf(0x1d4)];}[_0x312940(0x1b5)](_0xb8274e){const _0x549730=_0x312940;_0xb8274e[_0x549730(0x1e3)](_0x4415f9=>{const _0x169a5a=_0x549730,_0x3e3cde=_0x4415f9[_0x169a5a(0x22b)]();_0x3e3cde[_0x169a5a(0x220)]=_0x4415f9[_0x169a5a(0x220)],_0x3e3cde[_0x169a5a(0x297)]=!!_0x4415f9[_0x169a5a(0x297)],_0x3e3cde[_0x169a5a(0x21c)]=_0x4415f9[_0x169a5a(0x21c)],_0x3e3cde[_0x169a5a(0x229)]+=this[_0x169a5a(0x1b6)],_0x4415f9[_0x169a5a(0x22e)]&&this[_0x169a5a(0x1f0)][_0x169a5a(0x225)](_0x3e3cde),this[_0x169a5a(0x22a)][_0x169a5a(0x29a)](_0x3e3cde);});}[_0x312940(0x279)](_0x1ef3b5){const _0x3d64ed=_0x312940,_0x4c52b9=this[_0x3d64ed(0x216)][_0x3d64ed(0x2a4)][_0x3d64ed(0x29b)](_0x3d64ed(0x25f)),_0x4983fd=this[_0x3d64ed(0x216)][_0x3d64ed(0x207)];_0x1ef3b5||(_0x1ef3b5=_0x4dec24(_0x4983fd,_0x3d64ed(0x211))),_0x4c52b9[_0x3d64ed(0x249)](_0x1ef3b5,{'title':_0x4dec24(_0x4983fd,_0x3d64ed(0x299)),'namespace':_0x3d64ed(0x232)}),this[_0x3d64ed(0x228)]=!0x0,clearTimeout(this[_0x3d64ed(0x1a9)]),this[_0x3d64ed(0x19e)]=[],this[_0x3d64ed(0x216)][_0x3d64ed(0x2a4)][_0x3d64ed(0x29b)](_0x51b8b6)[_0x3d64ed(0x1c3)]();}[_0x312940(0x1af)](){const _0x2ab9ea=_0x312940;this[_0x2ab9ea(0x1ff)]||(this[_0x2ab9ea(0x1ff)]=this[_0x2ab9ea(0x216)][_0x2ab9ea(0x2a4)][_0x2ab9ea(0x29b)](_0x3bf39e)[_0x2ab9ea(0x225)](_0x4dec24(this[_0x2ab9ea(0x216)][_0x2ab9ea(0x207)],_0x2ab9ea(0x202))));}[_0x312940(0x280)](){const _0x4e08b5=_0x312940;this[_0x4e08b5(0x1ff)]&&(this[_0x4e08b5(0x216)][_0x4e08b5(0x2a4)][_0x4e08b5(0x29b)](_0x3bf39e)[_0x4e08b5(0x28e)](this[_0x4e08b5(0x1ff)]),this[_0x4e08b5(0x1ff)]=null);}[_0x312940(0x1d7)](_0x13270e){const _0xe812d9=_0x312940,_0x46b8b4=_0x13270e[_0xe812d9(0x1b7)](_0x368232=>_0x368232[_0xe812d9(0x1f8)]());return this[_0xe812d9(0x1df)][_0xe812d9(0x1b9)](_0x46b8b4);}[_0x312940(0x209)](_0x22afca,_0x5b356d){const _0x16f4e6=_0x312940;return this[_0x16f4e6(0x1df)][_0x16f4e6(0x213)](_0x22afca)[_0x16f4e6(0x1b7)]((_0x13e8a4,_0x322d37)=>{const _0x235e5b=_0x16f4e6,_0x3f5c8b=_0x235e5b(0x284)==_0x5b356d[_0x322d37][_0x235e5b(0x21f)];if(_0x235e5b(0x200)==_0x13e8a4[_0x235e5b(0x2a3)]){const _0x2411c4=_0x13e8a4[_0x235e5b(0x222)][_0x235e5b(0x1b8)];!this[_0x235e5b(0x1ed)][_0x235e5b(0x29c)](_0x2411c4)&&(this[_0x235e5b(0x1ed)][_0x235e5b(0x255)](_0x235e5b(0x274),_0x2411c4)[_0x235e5b(0x1fa)]=!0x1);}const _0x2026d0=_0x7d4ded[_0x235e5b(0x1f6)](_0x13e8a4,this[_0x235e5b(0x1ed)]);return _0x2026d0[_0x235e5b(0x23c)]=_0x13e8a4[_0x235e5b(0x23c)],_0x2026d0[_0x235e5b(0x297)]=_0x3f5c8b,_0x2026d0[_0x235e5b(0x220)]=_0x3f5c8b?null:_0x5b356d[_0x322d37][_0x235e5b(0x1d6)],_0x2026d0[_0x235e5b(0x22e)]=_0x235e5b(0x1b3)===_0x5b356d[_0x322d37][_0x235e5b(0x21f)],_0x2026d0[_0x235e5b(0x21c)]=_0x5b356d[_0x322d37][_0x235e5b(0x21c)],_0x2026d0;});}[_0x312940(0x212)](){const _0xa08d4d=_0x312940;this[_0xa08d4d(0x19c)]=!0x0,this[_0xa08d4d(0x1fe)]()?this[_0xa08d4d(0x28a)]():this[_0xa08d4d(0x19c)]=!0x1;}[_0x312940(0x1fe)](){const _0x393a1e=_0x312940,_0x37b739=this[_0x393a1e(0x216)][_0x393a1e(0x2a4)][_0x393a1e(0x29b)](_0x90fb9c)[_0x393a1e(0x268)][_0x393a1e(0x29b)](this[_0x393a1e(0x28b)]);return!this[_0x393a1e(0x216)][_0x393a1e(0x22c)]&&!!_0x37b739&&_0x37b739[_0x393a1e(0x288)]>0x1&&this[_0x393a1e(0x19c)];}[_0x312940(0x247)](){const _0x2f125d=_0x312940;return this[_0x2f125d(0x19e)][_0x2f125d(0x288)]>0x0||this[_0x2f125d(0x1fe)]();}}class X extends Error{}function Y(_0x1b75b0,_0x18b0ff){const _0x50d450=_0x312940;for(const _0x5a1e6e of _0x1b75b0)_0x5a1e6e[_0x50d450(0x229)]=_0x18b0ff++;}class Z{[_0x312940(0x27a)];[_0x312940(0x1fb)];constructor(_0x481484){const _0x2d54f8=_0x312940;this[_0x2d54f8(0x27a)]=_0x481484,this[_0x2d54f8(0x1fb)]=new WeakMap();}[_0x312940(0x1dc)](_0x378048){const _0x8953f=_0x312940;let _0x4e41fa=_0x378048[_0x8953f(0x288)];for(;_0x4e41fa--;){const _0xb1c204=_0x378048[_0x4e41fa];if(!this[_0x8953f(0x27a)][_0x8953f(0x286)](_0xb1c204)){if(!this[_0x8953f(0x1fb)][_0x8953f(0x286)](_0xb1c204)){const _0x4c2ab6=_0x4ea32b()[_0x8953f(0x1bd)](0x1,0x12);this[_0x8953f(0x1fb)][_0x8953f(0x27c)](_0xb1c204,_0x4c2ab6);}return this[_0x8953f(0x1fb)][_0x8953f(0x29b)](_0xb1c204);}}}[_0x312940(0x224)](_0x1ca915,_0x5076cd){const _0x33b0bd=_0x312940;if(!_0x5076cd)return;let _0x205220=_0x1ca915[_0x33b0bd(0x288)];for(;_0x205220--;){const _0x51b91f=_0x1ca915[_0x205220];this[_0x33b0bd(0x27a)][_0x33b0bd(0x286)](_0x51b91f)||this[_0x33b0bd(0x1fb)][_0x33b0bd(0x27c)](_0x51b91f,_0x5076cd);}}}
|
|
23
|
+
const _0x108ca0=_0x207e;(function(_0x193372,_0x16721d){const _0x111fdc=_0x207e,_0x2f9d7e=_0x193372();while(!![]){try{const _0x458a24=-parseInt(_0x111fdc(0x23c))/0x1+-parseInt(_0x111fdc(0x214))/0x2*(parseInt(_0x111fdc(0x191))/0x3)+-parseInt(_0x111fdc(0x1d4))/0x4*(-parseInt(_0x111fdc(0x228))/0x5)+parseInt(_0x111fdc(0x1ab))/0x6*(parseInt(_0x111fdc(0x1ca))/0x7)+-parseInt(_0x111fdc(0x192))/0x8+parseInt(_0x111fdc(0x1c4))/0x9+-parseInt(_0x111fdc(0x201))/0xa*(-parseInt(_0x111fdc(0x1f7))/0xb);if(_0x458a24===_0x16721d)break;else _0x2f9d7e['push'](_0x2f9d7e['shift']());}catch(_0xc6b52d){_0x2f9d7e['push'](_0x2f9d7e['shift']());}}}(_0x5093,0x4be38));import{Plugin as _0x2276b9,PendingActions as _0x2f8d61}from'ckeditor5/src/core.js';import{CKEditorError as _0x45d589,version as _0x314ad3,uid as _0xd2597f}from'ckeditor5/src/utils.js';import{Notification as _0x5d33da}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x195ca6,NoOperation as _0x553543,InsertOperation as _0x452d13,MarkerOperation as _0x4fb063,RootAttributeOperation as _0x2b7478,OperationFactory as _0xd850f9,History as _0x4e2a25}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x219d60}from'./websocketgateway.js';import{Sessions as _0x3b1d4f}from'./sessions.js';import{UserMarkers as _0x11d344}from'./usermarkers.js';import{getTranslation as _0x4a912a}from'../common-translations.js';import{Compressor as _0x320b72}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x914714}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb62880,CollaborativeEditingService as _0x339b93}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x207e(_0x1532cb,_0x11fd61){const _0x509325=_0x5093();return _0x207e=function(_0x207e48,_0x553ce2){_0x207e48=_0x207e48-0x191;let _0x511b02=_0x509325[_0x207e48];return _0x511b02;},_0x207e(_0x1532cb,_0x11fd61);}let X=0x1;export class RealTimeCollaborationClient extends _0x2276b9{static [_0x108ca0(0x1f1)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x339b93)());[_0x108ca0(0x22f)];[_0x108ca0(0x19a)];[_0x108ca0(0x21a)];[_0x108ca0(0x22c)];[_0x108ca0(0x240)];[_0x108ca0(0x1b9)];[_0x108ca0(0x238)];[_0x108ca0(0x20f)];[_0x108ca0(0x219)];[_0x108ca0(0x21f)];[_0x108ca0(0x1e6)];[_0x108ca0(0x1a5)];[_0x108ca0(0x1af)];[_0x108ca0(0x1c5)];[_0x108ca0(0x1b7)];[_0x108ca0(0x277)];[_0x108ca0(0x256)];[_0x108ca0(0x1b6)];static get[_0x108ca0(0x1e2)](){return[_0x219d60,_0x3b1d4f,_0x11d344,_0x2f8d61,_0x914714,_0x5d33da];}static get[_0x108ca0(0x19f)](){const _0xd00951=_0x108ca0;return _0xd00951(0x21c);}static get[_0x108ca0(0x283)](){return!0x0;}static get[_0x108ca0(0x1d7)](){return!0x0;}get[_0x108ca0(0x24e)](){const _0x517493=_0x108ca0;return this[_0x517493(0x1b4)]+this[_0x517493(0x22f)];}get[_0x108ca0(0x1b4)](){const _0x51bfd2=_0x108ca0;return this[_0x51bfd2(0x21a)][_0x51bfd2(0x1e9)]-this[_0x51bfd2(0x22f)];}get[_0x108ca0(0x1b0)](){const _0x51a3fe=_0x108ca0,_0x47cc28=this[_0x51a3fe(0x21a)][_0x51a3fe(0x1d1)]();for(let _0x254f88=_0x47cc28[_0x51a3fe(0x282)]-0x1;_0x254f88>=0x0;_0x254f88--){const _0x47492e=_0x47cc28[_0x254f88];if(!this[_0x51a3fe(0x256)][_0x51a3fe(0x1bd)](_0x47492e))return _0x47492e[_0x51a3fe(0x1c6)]+0x1-this[_0x51a3fe(0x22f)];}return 0x0;}constructor(_0x356d3f){const _0x318b12=_0x108ca0;if(super(_0x356d3f),this[_0x318b12(0x22f)]=0x0,this[_0x318b12(0x19a)]=null,this[_0x318b12(0x21a)]=new _0x4e2a25(),this[_0x318b12(0x212)][_0x318b12(0x25b)][_0x318b12(0x1bb)](_0x318b12(0x24a),{}),this[_0x318b12(0x22c)]=this[_0x318b12(0x212)][_0x318b12(0x25b)][_0x318b12(0x1be)](_0x318b12(0x195)),!this[_0x318b12(0x22c)])throw new _0x45d589(_0x318b12(0x279),this);const _0x2631b5=_0x356d3f[_0x318b12(0x25b)][_0x318b12(0x1be)](_0x318b12(0x259))||_0x314ad3;this[_0x318b12(0x240)]=new RealTimeCollaborationClient[(_0x318b12(0x1f1))](_0x2631b5,this[_0x318b12(0x22c)]),this[_0x318b12(0x1b9)]=this[_0x318b12(0x212)][_0x318b12(0x278)][_0x318b12(0x28a)],this[_0x318b12(0x238)]=new _0x320b72(),this[_0x318b12(0x20f)]=[],this[_0x318b12(0x219)]=new WeakSet(),this[_0x318b12(0x21f)]=new Set(),this[_0x318b12(0x286)](_0x318b12(0x234),!0x1),this[_0x318b12(0x286)](_0x318b12(0x1ed),!0x1),this[_0x318b12(0x1e6)]=null,this[_0x318b12(0x1a5)]=!0x1,this[_0x318b12(0x1af)]=null,this[_0x318b12(0x1c5)]=0x12c,this[_0x318b12(0x1b7)]=this[_0x318b12(0x1c5)],this[_0x318b12(0x277)]=null,this[_0x318b12(0x256)]=new WeakSet(),this[_0x318b12(0x1b6)]=new tt(this[_0x318b12(0x256)]);}[_0x108ca0(0x215)](){const _0x4c11e7=_0x108ca0,_0x3cd487=this[_0x4c11e7(0x212)],_0x2e8ffc=_0x3cd487[_0x4c11e7(0x224)][_0x4c11e7(0x1be)](_0x914714),_0x495805=_0x3cd487[_0x4c11e7(0x224)][_0x4c11e7(0x1be)](_0x219d60);this[_0x4c11e7(0x276)](_0x2e8ffc,_0x4c11e7(0x1df),(_0x23cbf4,_0x3b0f9a)=>{const _0x2056bd=_0x4c11e7,_0x43de34=_0x3b0f9a[0x0];_0x43de34[_0x2056bd(0x21e)]&&(_0x23cbf4[_0x2056bd(0x216)]=_0x2e8ffc[_0x2056bd(0x24b)](_0x43de34[_0x2056bd(0x21e)]),_0x23cbf4[_0x2056bd(0x1a9)]()),null===_0x43de34[_0x2056bd(0x21e)]&&(_0x23cbf4[_0x2056bd(0x216)]=null,_0x23cbf4[_0x2056bd(0x1a9)]());},{'priority':_0x4c11e7(0x1d2)}),this[_0x4c11e7(0x276)](_0x3cd487[_0x4c11e7(0x278)][_0x4c11e7(0x28a)][_0x4c11e7(0x207)],_0x4c11e7(0x265),(_0x2278ff,_0x1dd389)=>{const _0x2ca455=_0x4c11e7;_0x1dd389[_0x2ca455(0x1cd)]&&this[_0x2ca455(0x22e)]();}),this[_0x4c11e7(0x276)](_0x3cd487[_0x4c11e7(0x20b)][_0x4c11e7(0x297)],_0x4c11e7(0x1ea),()=>{const _0x20420e=_0x4c11e7;this[_0x20420e(0x22e)]();}),this[_0x4c11e7(0x239)](),_0x3cd487[_0x4c11e7(0x278)]['on'](_0x4c11e7(0x1e4),(_0xc1e91e,_0x5ed802)=>{const _0x303330=_0x4c11e7,_0x1c10f4=_0x5ed802[0x0];_0x1c10f4[_0x303330(0x1cb)]&&(this[_0x303330(0x1f3)](_0x1c10f4),this[_0x303330(0x1c3)]()&&this[_0x303330(0x1f0)]());}),this[_0x4c11e7(0x246)](),this[_0x4c11e7(0x266)](_0x4c11e7(0x1e8))['to'](_0x495805,_0x4c11e7(0x1c9),this,_0x4c11e7(0x1ed),(_0x105fdf,_0x3d1b55)=>_0x4c11e7(0x292)===_0x105fdf&&!_0x3d1b55),this['on'](_0x4c11e7(0x27d),()=>{const _0x442744=_0x4c11e7;this[_0x442744(0x1e8)]?_0x3cd487[_0x442744(0x22a)](_0x442744(0x20e)):_0x3cd487[_0x442744(0x26c)](_0x442744(0x20e));}),this[_0x4c11e7(0x1e8)]?_0x3cd487[_0x4c11e7(0x22a)](_0x4c11e7(0x20e)):_0x3cd487[_0x4c11e7(0x26c)](_0x4c11e7(0x20e)),this[_0x4c11e7(0x286)](_0x4c11e7(0x1ac),!0x1);}async[_0x108ca0(0x1f8)](){const _0x1755f5=_0x108ca0,_0xf08220=this[_0x1755f5(0x212)][_0x1755f5(0x224)][_0x1755f5(0x1be)](_0x3b1d4f),_0xe6549b=this[_0x1755f5(0x212)][_0x1755f5(0x224)][_0x1755f5(0x1be)](_0x219d60);try{this[_0x1755f5(0x234)]=!0x0,_0xf08220[_0x1755f5(0x25c)](this[_0x1755f5(0x22c)]);const _0x21eb42=await this[_0x1755f5(0x240)][_0x1755f5(0x1f8)](_0xe6549b[_0x1755f5(0x281)],this[_0x1755f5(0x1b0)]);await this[_0x1755f5(0x21b)](_0x21eb42)&&(this[_0x1755f5(0x234)]=!0x1,this[_0x1755f5(0x204)]());const _0x25267d=await this[_0x1755f5(0x240)][_0x1755f5(0x1e7)]();_0xf08220[_0x1755f5(0x1ce)](this[_0x1755f5(0x22c)],_0x25267d),this[_0x1755f5(0x25e)](),this[_0x1755f5(0x1ac)]=!0x0;}catch(_0x145024){if(function(_0x3819d9){const _0x11f7cf=_0x1755f5;return _0x11f7cf(0x202)===_0x3819d9[_0x11f7cf(0x296)];}(_0x145024)&&this[_0x1755f5(0x19a)])await this[_0x1755f5(0x1b1)]();else{if(function(_0x347ec0){const _0xb2cb98=_0x1755f5;return _0xb2cb98(0x245)===_0x347ec0[_0xb2cb98(0x296)];}(_0x145024)){const _0x785761=_0x4a912a(this[_0x1755f5(0x212)][_0x1755f5(0x288)],_0x1755f5(0x227));this[_0x1755f5(0x28f)](_0x785761);}else{if(!(_0x145024 instanceof Y))throw _0x145024;this[_0x1755f5(0x28f)]();}}}}[_0x108ca0(0x1a3)](){const _0xd67df6=_0x108ca0,_0x153f92=this[_0xd67df6(0x212)][_0xd67df6(0x224)][_0xd67df6(0x1be)](_0x219d60),_0x492be2=this[_0xd67df6(0x212)][_0xd67df6(0x224)][_0xd67df6(0x1be)](_0x3b1d4f);this[_0xd67df6(0x212)][_0xd67df6(0x26c)](_0xd67df6(0x26f)),_0x492be2[_0xd67df6(0x1db)][_0xd67df6(0x1bd)](this[_0xd67df6(0x22c)])&&_0x492be2[_0xd67df6(0x25c)](this[_0xd67df6(0x22c)]),_0x153f92[_0xd67df6(0x275)](this),this[_0xd67df6(0x24f)](),super[_0xd67df6(0x1a3)]();}async[_0x108ca0(0x21b)](_0x22ef8d){const _0x518d20=_0x108ca0;if(this[_0x518d20(0x19a)]!==_0x22ef8d[_0x518d20(0x19a)]&&this[_0x518d20(0x277)]!==_0x22ef8d[_0x518d20(0x230)])throw new Y();return this[_0x518d20(0x19a)]=_0x22ef8d[_0x518d20(0x19a)],this[_0x518d20(0x1a2)]([],{..._0x22ef8d,'wereChangesApplied':!0x1,'data':_0x22ef8d[_0x518d20(0x1c2)]},_0x518d20(0x1f8));}async[_0x108ca0(0x1f2)](_0x590e03,_0x4b6976=!0x1){const _0xcf5279=_0x108ca0,{connection:_0x38c6a9}=this[_0xcf5279(0x212)][_0xcf5279(0x224)][_0xcf5279(0x1be)](_0x219d60);RealTimeCollaborationClient[_0xcf5279(0x1f1)][_0xcf5279(0x1e7)](_0x38c6a9,this[_0xcf5279(0x22c)])[_0xcf5279(0x257)](_0x1c1925=>this[_0xcf5279(0x24d)](_0x1c1925))[_0xcf5279(0x23b)](_0x5d0591=>{const _0x2c37b2=_0xcf5279;this[_0x2c37b2(0x1e0)](_0x2c37b2(0x23e),_0x5d0591);}),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x19e),this[_0xcf5279(0x272)][_0xcf5279(0x266)](this)),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x295),(_0x1670bf,_0x24e950)=>{const _0x18570f=_0xcf5279;this[_0x18570f(0x1e0)](_0x18570f(0x27b),_0x24e950);}),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x217),()=>{const _0x56f8be=_0xcf5279;this[_0x56f8be(0x1ac)]=!0x1;});const _0x4f2ea5=this[_0xcf5279(0x1b6)][_0xcf5279(0x1a0)](_0x590e03);this[_0xcf5279(0x234)]=!0x0;const _0x4de543=await this[_0xcf5279(0x240)][_0xcf5279(0x25a)](_0x38c6a9,this[_0xcf5279(0x1fe)](_0x590e03),_0x4f2ea5);if(this[_0xcf5279(0x19a)]=_0x4de543[_0xcf5279(0x19a)],_0x4b6976){if(!_0x4de543[_0xcf5279(0x194)])return void this[_0xcf5279(0x28f)]();this[_0xcf5279(0x234)]=!0x1,this[_0xcf5279(0x204)](),this[_0xcf5279(0x21a)][_0xcf5279(0x248)](),this[_0xcf5279(0x22f)]=_0x4de543[_0xcf5279(0x221)],this[_0xcf5279(0x21a)][_0xcf5279(0x1e9)]=this[_0xcf5279(0x22f)],await this[_0xcf5279(0x1a2)](_0x590e03,_0x4de543,_0xcf5279(0x1e3));}else await this[_0xcf5279(0x269)](_0x4de543,_0x590e03);this[_0xcf5279(0x25e)](),this[_0xcf5279(0x1ac)]=!0x0;}[_0x108ca0(0x25e)](){const _0x6d61d4=_0x108ca0,_0x1a629c=this[_0x6d61d4(0x212)][_0x6d61d4(0x224)][_0x6d61d4(0x1be)](_0x3b1d4f),_0xe7bc73=this[_0x6d61d4(0x212)][_0x6d61d4(0x224)][_0x6d61d4(0x1be)](_0x11d344),_0x3521a6=_0x1a629c[_0x6d61d4(0x1db)][_0x6d61d4(0x1be)](this[_0x6d61d4(0x22c)]);_0x3521a6&&_0x3521a6[_0x6d61d4(0x282)]>0x1?_0xe7bc73[_0x6d61d4(0x1a1)]():this[_0x6d61d4(0x276)](_0x1a629c,_0x6d61d4(0x236)+this[_0x6d61d4(0x22c)],()=>{const _0x724773=_0x6d61d4;0x2===_0x1a629c[_0x724773(0x1db)][_0x724773(0x1be)](this[_0x724773(0x22c)])[_0x724773(0x282)]&&_0xe7bc73[_0x724773(0x1a1)]();});}async[_0x108ca0(0x272)](_0x4b3fe0,_0x2b6f97,_0x32d8c8,_0x443944){const _0x1bdf46=_0x108ca0;if(!this[_0x1bdf46(0x234)]&&this[_0x1bdf46(0x1b9)][_0x1bdf46(0x1e9)]==_0x2b6f97){const _0x2ae1cb=this[_0x1bdf46(0x1d8)](_0x32d8c8,_0x443944);await this[_0x1bdf46(0x222)](_0x2ae1cb),this[_0x1bdf46(0x1fb)](_0x2ae1cb,_0x2b6f97,_0x32d8c8[_0x1bdf46(0x230)])||this[_0x1bdf46(0x1e0)](_0x1bdf46(0x1a7));}}async[_0x108ca0(0x1b1)](){const _0x59d440=_0x108ca0;this[_0x59d440(0x24f)]();const {locale:_0x14b81e}=this[_0x59d440(0x212)];let _0x58a0d7;try{_0x58a0d7=await this[_0x59d440(0x240)][_0x59d440(0x27f)]();}catch{const _0x523174=_0x4a912a(_0x14b81e,_0x59d440(0x253));return void this[_0x59d440(0x28f)](_0x523174);}const _0x3a842b=_0x58a0d7[_0x59d440(0x232)]||_0x58a0d7[_0x59d440(0x21d)];if(this[_0x59d440(0x277)]!==_0x3a842b[_0x59d440(0x230)]){const _0x119d4f=_0x4a912a(_0x14b81e,_0x59d440(0x258));return void this[_0x59d440(0x28f)](_0x119d4f);}await this[_0x59d440(0x1f2)](this[_0x59d440(0x212)][_0x59d440(0x278)][_0x59d440(0x28a)][_0x59d440(0x26b)][_0x59d440(0x1d1)](),!0x0);}[_0x108ca0(0x24f)](){const _0x5bd513=_0x108ca0;this[_0x5bd513(0x240)][_0x5bd513(0x1d6)](),this[_0x5bd513(0x20f)]=[],clearTimeout(this[_0x5bd513(0x1af)]),this[_0x5bd513(0x1ff)](this[_0x5bd513(0x240)]);}[_0x108ca0(0x24d)](_0x1b3f11){const _0x1dbf33=_0x108ca0,_0x2d0ed2=this[_0x1dbf33(0x212)][_0x1dbf33(0x224)][_0x1dbf33(0x1be)](_0x3b1d4f);this[_0x1dbf33(0x276)](_0x2d0ed2,_0x1dbf33(0x236)+this[_0x1dbf33(0x22c)],(_0x59ee36,{session:_0x4d8c7c})=>{const _0x2d6178=_0x1dbf33;if(_0x4d8c7c['id']===_0x2d0ed2[_0x2d6178(0x250)]){_0x59ee36[_0x2d6178(0x223)]();const _0x416cc0=this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1bd)](_0x2d6178(0x20d))&&this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1be)](_0x2d6178(0x20d));let _0x256c1e=_0x4d8c7c[_0x2d6178(0x209)];_0x416cc0&&_0x416cc0[_0x2d6178(0x1c1)]&&(_0x256c1e=_0x256c1e[_0x2d6178(0x1dc)](_0x2ab153=>_0x2d6178(0x23a)!==_0x2ab153)),this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1be)](_0x2d6178(0x23f))[_0x2d6178(0x1d5)](_0x256c1e,this[_0x2d6178(0x22c)]);}}),_0x2d0ed2[_0x1dbf33(0x1ce)](this[_0x1dbf33(0x22c)],_0x1b3f11);}[_0x108ca0(0x239)](){const _0x4ded23=_0x108ca0,_0x5ce893=this[_0x4ded23(0x212)][_0x4ded23(0x1c2)][_0x4ded23(0x286)];this[_0x4ded23(0x212)][_0x4ded23(0x1c2)][_0x4ded23(0x286)]=(..._0x291d02)=>{const _0x3f6648=_0x4ded23;if(!_0x291d02[_0x291d02[_0x3f6648(0x282)]-0x1][_0x3f6648(0x1bf)])throw new _0x45d589(_0x3f6648(0x284),this);_0x5ce893[_0x3f6648(0x254)](this[_0x3f6648(0x212)][_0x3f6648(0x1c2)],_0x291d02);};}[_0x108ca0(0x246)](){const _0x36fc67=_0x108ca0;this[_0x36fc67(0x212)][_0x36fc67(0x1c2)]['on'](_0x36fc67(0x215),(_0x3c145b,[_0x99b451])=>{const _0x34e324=_0x36fc67;if(this[_0x34e324(0x1b9)][_0x34e324(0x1e9)])throw new _0x45d589(_0x34e324(0x271),this);_0x3c145b[_0x34e324(0x1a9)](),this[_0x34e324(0x1e1)]();const _0x19745d=this[_0x34e324(0x212)][_0x34e324(0x25b)][_0x34e324(0x1be)](_0x34e324(0x1b8)),_0x30f651=this[_0x34e324(0x285)](_0x99b451,_0x19745d);0x0==_0x30f651[_0x34e324(0x282)]&&_0x30f651[_0x34e324(0x263)](new _0x553543(0x0)),_0x3c145b[_0x34e324(0x216)]=this[_0x34e324(0x1f2)](_0x30f651)[_0x34e324(0x257)](()=>{const _0x1961f9=_0x34e324;this[_0x1961f9(0x212)][_0x1961f9(0x224)][_0x1961f9(0x1be)](_0x219d60)[_0x1961f9(0x200)](this),this[_0x1961f9(0x212)][_0x1961f9(0x1c2)][_0x1961f9(0x28c)](_0x1961f9(0x210));})[_0x34e324(0x23b)](_0x5cc00b=>this[_0x34e324(0x1e0)](_0x34e324(0x231),_0x5cc00b))[_0x34e324(0x1da)](()=>this[_0x34e324(0x204)]());},{'priority':_0x36fc67(0x1d2)}),this[_0x36fc67(0x212)]['on'](_0x36fc67(0x1ad),async(_0x74f709,[_0x35f71f,_0xe44095])=>{const _0xa29ad2=_0x36fc67;_0x74f709[_0xa29ad2(0x1a9)]();const _0x5ae485=this[_0xa29ad2(0x212)][_0xa29ad2(0x278)][_0xa29ad2(0x28a)][_0xa29ad2(0x274)](_0x35f71f);if(!this[_0xa29ad2(0x21f)][_0xa29ad2(0x1bd)](_0x35f71f)){const _0x104519=_0xe44095&&_0xe44095[_0xa29ad2(0x1c2)]?_0xe44095[_0xa29ad2(0x1c2)]:'',_0x839911=_0xe44095&&_0xe44095[_0xa29ad2(0x1a4)]?_0xe44095[_0xa29ad2(0x1a4)]:{};await this[_0xa29ad2(0x241)](_0x35f71f,_0x104519,_0x839911);}this[_0xa29ad2(0x212)][_0xa29ad2(0x278)][_0xa29ad2(0x23d)]({'isUndoable':!0x1},()=>{const _0x52b112=_0xa29ad2;_0x5ae485[_0x52b112(0x1f5)]=!0x0,this[_0x52b112(0x212)][_0x52b112(0x278)][_0x52b112(0x28a)][_0x52b112(0x1b3)][_0x52b112(0x1ba)](_0x5ae485);});},{'priority':_0x36fc67(0x1d2)});}async[_0x108ca0(0x222)](_0x1c687a){const _0xc063cc=_0x108ca0,_0x24cc6d=this[_0xc063cc(0x212)][_0xc063cc(0x224)][_0xc063cc(0x1be)](_0x914714),{connection:_0x41f347}=this[_0xc063cc(0x212)][_0xc063cc(0x224)][_0xc063cc(0x1be)](_0x219d60),_0x168d6c=new Set();for(const _0x31f217 of _0x1c687a){const _0x5cb640=_0x31f217[_0xc063cc(0x21e)];_0x5cb640&&!_0x24cc6d[_0xc063cc(0x24b)](_0x5cb640)&&_0x168d6c[_0xc063cc(0x1aa)](_0x5cb640);}if(0x0===_0x168d6c[_0xc063cc(0x247)])return;const _0x343b6a=await _0xb62880[_0xc063cc(0x27e)](_0x41f347,Array[_0xc063cc(0x211)](_0x168d6c));for(const _0x4732d8 of _0x343b6a)_0x24cc6d[_0xc063cc(0x24b)](_0x4732d8['id'])||_0x24cc6d[_0xc063cc(0x196)](_0x4732d8);}[_0x108ca0(0x285)](_0x330914,_0xce6ae4={}){const _0x462758=_0x108ca0,_0x3765d4=this[_0x462758(0x212)][_0x462758(0x278)],_0xb33c29=[];let _0xbd3332=0x0;const _0x4ca6ac=_0x462758(0x198)==typeof _0x330914?{'main':_0x330914}:_0x330914;for(const _0x48321a of Object[_0x462758(0x25d)](_0x4ca6ac)){if(!this[_0x462758(0x1b9)][_0x462758(0x226)][_0x462758(0x1bd)](_0x48321a))throw new _0x45d589(_0x462758(0x267),this);const _0x59b17c=this[_0x462758(0x212)][_0x462758(0x1c2)][_0x462758(0x1e5)](_0x4ca6ac[_0x48321a]),_0xa642ca=this[_0x462758(0x1b9)][_0x462758(0x274)](_0x48321a),_0x97c4a6=new _0x452d13(_0x3765d4[_0x462758(0x287)](_0xa642ca,0x0),_0x59b17c,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x97c4a6);for(const [_0x404fb7,_0x5005c2]of _0x59b17c[_0x462758(0x19b)]){const _0x55cb7c=_0x3765d4[_0x462758(0x193)](_0x3765d4[_0x462758(0x20a)](_0xa642ca,_0x5005c2[_0x462758(0x1ef)][_0x462758(0x233)][_0x462758(0x220)]()),_0x3765d4[_0x462758(0x20a)](_0xa642ca,_0x5005c2[_0x462758(0x268)][_0x462758(0x233)][_0x462758(0x220)]())),_0x3945ec=new _0x4fb063(_0x404fb7,null,_0x55cb7c,_0x3765d4[_0x462758(0x19b)],!0x0,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x3945ec);}}if(_0xce6ae4)for(const [_0x57abaf,_0x501bc8]of Object[_0x462758(0x24c)](_0xce6ae4)){const _0x1bac7b=_0x3765d4[_0x462758(0x28a)][_0x462758(0x274)](_0x57abaf);if(!_0x1bac7b)throw new _0x45d589(_0x462758(0x1f6),null);for(const [_0x576cde,_0x5507c1]of Object[_0x462758(0x24c)](_0x501bc8))if(null!==_0x5507c1){const _0x32db8e=new _0x2b7478(_0x1bac7b,_0x576cde,null,_0x5507c1,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x32db8e);}}return _0xb33c29;}async[_0x108ca0(0x241)](_0x2d61fb,_0x30e780,_0x10d3fc){const _0x5f3447=_0x108ca0;this[_0x5f3447(0x285)]({[_0x2d61fb]:_0x30e780},{[_0x2d61fb]:_0x10d3fc})[_0x5f3447(0x26e)]((_0x1f7a34,_0x2ed0c1)=>{const _0x43e259=_0x5f3447;_0x1f7a34[_0x43e259(0x1c6)]=this[_0x43e259(0x1b9)][_0x43e259(0x1e9)]+_0x2ed0c1,_0x1f7a34[_0x43e259(0x19d)]=!0x0,this[_0x43e259(0x1f3)](_0x1f7a34);}),this[_0x5f3447(0x1f0)](),await this[_0x5f3447(0x206)]();}async[_0x108ca0(0x269)](_0x459c13,_0x347503){const _0x2d7018=_0x108ca0;let _0x5a6335;this[_0x2d7018(0x22f)]=_0x459c13[_0x2d7018(0x221)];const _0x152d91=_0x459c13[_0x2d7018(0x194)]&&!_0x459c13[_0x2d7018(0x1d0)],_0x1a55e9=_0x152d91?0x0:_0x459c13[_0x2d7018(0x1c2)][_0x2d7018(0x1c6)];if(_0x347503[_0x2d7018(0x26e)](_0x3ecbb7=>{const _0x309fcf=_0x2d7018;_0x3ecbb7[_0x309fcf(0x19d)]=!0x0,_0x3ecbb7[_0x309fcf(0x26d)]=_0x459c13[_0x309fcf(0x260)],_0x3ecbb7[_0x309fcf(0x21e)]=null;}),_0x152d91)_0x5a6335=_0x347503,this[_0x2d7018(0x1d9)](_0x5a6335,_0x152d91);else{if(_0x459c13[_0x2d7018(0x1d0)]){const _0x58b9b7=this[_0x2d7018(0x285)](_0x459c13[_0x2d7018(0x1d0)]);this[_0x2d7018(0x1b9)][_0x2d7018(0x26b)][_0x2d7018(0x1e9)]=-_0x58b9b7[_0x2d7018(0x282)],_0x58b9b7[_0x2d7018(0x26e)](_0x3c7958=>{const _0x5b1919=_0x2d7018;_0x3c7958[_0x5b1919(0x1c6)]-=_0x58b9b7[_0x5b1919(0x282)],_0x3c7958[_0x5b1919(0x26d)]=_0x459c13[_0x5b1919(0x260)],_0x3c7958[_0x5b1919(0x19d)]=!0x0,_0x3c7958[_0x5b1919(0x21e)]=null;}),this[_0x2d7018(0x1d9)](_0x58b9b7,!0x0),this[_0x2d7018(0x21a)][_0x2d7018(0x1e9)]=-_0x58b9b7[_0x2d7018(0x282)]+this[_0x2d7018(0x22f)],this[_0x2d7018(0x1c8)](_0x58b9b7);}this[_0x2d7018(0x1b9)][_0x2d7018(0x26b)][_0x2d7018(0x1e9)]=_0x1a55e9,_0x5a6335=this[_0x2d7018(0x1d8)](_0x459c13[_0x2d7018(0x1c2)],_0x459c13[_0x2d7018(0x1bc)]),await this[_0x2d7018(0x222)](_0x5a6335),this[_0x2d7018(0x1d9)](_0x5a6335,_0x152d91);}_0x459c13[_0x2d7018(0x230)]&&(this[_0x2d7018(0x1b6)][_0x2d7018(0x225)](_0x5a6335,_0x459c13[_0x2d7018(0x230)]),this[_0x2d7018(0x277)]=_0x459c13[_0x2d7018(0x230)]),this[_0x2d7018(0x21a)][_0x2d7018(0x1e9)]=_0x1a55e9+this[_0x2d7018(0x22f)],this[_0x2d7018(0x1c8)](_0x5a6335),_0x347503[_0x2d7018(0x1dc)](_0x33f0b4=>{const _0x4619c8=_0x2d7018,_0x315f22=this[_0x4619c8(0x1cc)](_0x33f0b4);return _0x315f22&&!this[_0x4619c8(0x21f)][_0x4619c8(0x1bd)](_0x315f22);})[_0x2d7018(0x26e)]((_0x32b4cc,_0x593129)=>{const _0x334450=_0x2d7018;_0x32b4cc[_0x334450(0x1c6)]=this[_0x334450(0x1b9)][_0x334450(0x1e9)]+_0x593129,this[_0x334450(0x1f3)](_0x32b4cc);}),this[_0x2d7018(0x1c3)]()?(this[_0x2d7018(0x1b7)]=0x0,this[_0x2d7018(0x1f0)](!0x0),await this[_0x2d7018(0x206)]()):(this[_0x2d7018(0x234)]=!0x1,this[_0x2d7018(0x204)]());}[_0x108ca0(0x1e0)](_0x606aa5,_0x2cbc63){const _0x23113e=_0x108ca0,_0x2979d2=_0x2cbc63&&_0x2cbc63[_0x23113e(0x1de)];if(_0x2979d2&&_0x2979d2[_0x23113e(0x28e)](_0x23113e(0x242)))throw _0x2cbc63;const _0x280102=this[_0x23113e(0x212)][_0x23113e(0x224)][_0x23113e(0x1be)](_0x219d60);throw this[_0x23113e(0x234)]=!0x0,_0x280102[_0x23113e(0x1d6)](),this[_0x23113e(0x212)][_0x23113e(0x26c)](_0x23113e(0x28b)),new _0x45d589(_0x606aa5,this[_0x23113e(0x212)],_0x2979d2?{'originalError':_0x2979d2}:void 0x0);}[_0x108ca0(0x1f3)](_0x1360d6){const _0x254bdb=_0x108ca0;this[_0x254bdb(0x219)][_0x254bdb(0x1bd)](_0x1360d6)||(this[_0x254bdb(0x219)][_0x254bdb(0x1aa)](_0x1360d6),this[_0x254bdb(0x20f)][_0x254bdb(0x263)](_0x1360d6),this[_0x254bdb(0x1e6)]||_0x254bdb(0x1ec)==_0x1360d6[_0x254bdb(0x26a)]&&!_0x1360d6[_0x254bdb(0x294)]||this[_0x254bdb(0x1e1)]());}[_0x108ca0(0x1f0)](_0x5cc766=!0x1){const _0x7dba9b=_0x108ca0;!_0x5cc766&&this[_0x7dba9b(0x234)]||(this[_0x7dba9b(0x234)]=!0x0,clearTimeout(this[_0x7dba9b(0x1af)]),this[_0x7dba9b(0x1af)]=setTimeout(()=>{const _0xf15320=_0x7dba9b;this[_0xf15320(0x22d)]()[_0xf15320(0x257)](_0x315750=>{const _0x2c3218=_0xf15320;_0x315750&&(this[_0x2c3218(0x204)](),this[_0x2c3218(0x234)]=!0x1);})[_0xf15320(0x23b)](_0x51db2f=>{const _0xa9084d=_0xf15320;this[_0xa9084d(0x204)](),this[_0xa9084d(0x234)]=!0x1,function(_0x2113c8){const _0x3a8b02=_0xa9084d;return _0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x19c))||_0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x252))||_0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x22b));}(_0x51db2f)||this[_0xa9084d(0x1e0)](_0x51db2f[_0xa9084d(0x1de)],_0x51db2f);});},this[_0x7dba9b(0x1b7)]));}[_0x108ca0(0x206)](){return new Promise(_0x1fa57d=>{const _0x4821c8=_0x207e;this['on'](_0x4821c8(0x199),()=>{_0x1fa57d();});});}async[_0x108ca0(0x22d)](){const _0x38767b=_0x108ca0,_0x30ef6a=this[_0x38767b(0x212)][_0x38767b(0x224)][_0x38767b(0x1be)](_0x11d344);if(this[_0x38767b(0x249)]()&&(_0x30ef6a[_0x38767b(0x1a1)](),this[_0x38767b(0x1a5)]=!0x1),!this[_0x38767b(0x1c3)]())return!0x0;const _0x2a2483=[...this[_0x38767b(0x20f)]];for(const _0x50e4f2 of _0x2a2483)_0x50e4f2[_0x38767b(0x213)]=this[_0x38767b(0x1b9)][_0x38767b(0x26b)][_0x38767b(0x197)](_0x50e4f2);const _0x44bcc6=this[_0x38767b(0x1b6)][_0x38767b(0x1a0)](_0x2a2483),_0x5acc8d=X++,_0x5a5429=this[_0x38767b(0x1fe)](_0x2a2483),_0x11fc3d=await this[_0x38767b(0x240)][_0x38767b(0x1fa)](_0x5a5429,_0x5a5429[_0x38767b(0x1c6)],_0x44bcc6);try{return await this[_0x38767b(0x1a2)](_0x2a2483,_0x11fc3d,_0x5acc8d);}catch(_0xa56adb){return this[_0x38767b(0x1e0)](_0x38767b(0x1f9),_0xa56adb);}}async[_0x108ca0(0x1a2)](_0x5067af,_0x4ad972,_0x184e15){const _0x349123=_0x108ca0;if(_0x349123(0x295)in _0x4ad972)throw _0x4ad972[_0x349123(0x295)];let _0x397e18=!0x1;if(_0x4ad972[_0x349123(0x194)]){_0x4ad972[_0x349123(0x230)]&&(this[_0x349123(0x277)]=_0x4ad972[_0x349123(0x230)]),this[_0x349123(0x20f)]=this[_0x349123(0x20f)][_0x349123(0x1dc)](_0x1f4530=>!_0x5067af[_0x349123(0x243)](_0x1f4530));for(const _0x1e0009 of _0x5067af)_0x1e0009[_0x349123(0x26d)]=_0x349123(0x1b2)in _0x4ad972&&_0x4ad972[_0x349123(0x1b2)]||void 0x0;Z(_0x5067af,_0x4ad972[_0x349123(0x1e9)]-_0x5067af[_0x349123(0x282)]),this[_0x349123(0x1c8)](_0x5067af);const _0x260a02=_0x5067af[_0x349123(0x1dc)](_0x4810c3=>{const _0x35b1e0=_0x349123;if(!_0x4810c3[_0x35b1e0(0x19d)])return!0x1;const _0x1b2395=this[_0x35b1e0(0x1cc)](_0x4810c3);return _0x1b2395&&!this[_0x35b1e0(0x21f)][_0x35b1e0(0x1bd)](_0x1b2395);});Z(_0x260a02,this[_0x349123(0x1b9)][_0x349123(0x1e9)]),this[_0x349123(0x1d9)](_0x260a02),_0x397e18=!0x0,this[_0x349123(0x1b7)]=this[_0x349123(0x1c5)];}else{const _0x1897b7=this[_0x349123(0x1d8)](_0x4ad972[_0x349123(0x1c2)],_0x4ad972[_0x349123(0x1bc)])[_0x349123(0x1dc)](_0x3fe833=>_0x3fe833[_0x349123(0x1c6)]>=this[_0x349123(0x1b4)]);_0x1897b7[_0x349123(0x26e)](_0x1e1f2c=>this[_0x349123(0x1c0)](_0x1e1f2c)),this[_0x349123(0x20f)]=this[_0x349123(0x20f)][_0x349123(0x1dc)](_0xab8f70=>!_0xab8f70[_0x349123(0x19d)]||!this[_0x349123(0x21f)][_0x349123(0x1bd)](this[_0x349123(0x1cc)](_0xab8f70))),this[_0x349123(0x20f)][_0x349123(0x282)]&&Z(this[_0x349123(0x20f)],this[_0x349123(0x20f)][0x0][_0x349123(0x1c6)]),await this[_0x349123(0x222)](_0x1897b7),_0x397e18=this[_0x349123(0x1fb)](_0x1897b7,_0x4ad972[_0x349123(0x1e9)],_0x4ad972[_0x349123(0x230)]),this[_0x349123(0x1b7)]=Math[_0x349123(0x264)](this[_0x349123(0x1b7)]/0x2);}return _0x397e18?!this[_0x349123(0x1c3)]()||(this[_0x349123(0x1f0)](!0x0),!0x1):this[_0x349123(0x1e0)](_0x349123(0x28d));}[_0x108ca0(0x1fb)](_0x3c5085,_0x1c63a3,_0x355882){const _0x803417=_0x108ca0;try{const _0x28d177={'document':this[_0x803417(0x1b9)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd7a663,operationsB:_0x102646,originalOperations:_0x3799d3}=_0x195ca6(_0x3c5085,this[_0x803417(0x20f)],_0x28d177);Z(_0xd7a663,this[_0x803417(0x1b9)][_0x803417(0x1e9)]),Z(_0x102646,_0x1c63a3);for(const _0x2aa3d2 of _0xd7a663){const _0x1dc5a1=_0x3799d3[_0x803417(0x1be)](_0x2aa3d2);_0x2aa3d2[_0x803417(0x21e)]=_0x1dc5a1?_0x1dc5a1[_0x803417(0x21e)]:null;}_0x355882&&(this[_0x803417(0x1b6)][_0x803417(0x225)](_0x3c5085,_0x355882),this[_0x803417(0x277)]=_0x355882),this[_0x803417(0x20f)]=[..._0x102646],this[_0x803417(0x1d9)](_0xd7a663),this[_0x803417(0x1c8)](_0x3c5085);}catch(_0x4948c8){return console[_0x803417(0x295)](_0x4948c8),!0x1;}return!0x0;}[_0x108ca0(0x1d9)](_0x559918,_0x52c260=!0x1){const _0x40e6f1=_0x108ca0;this[_0x40e6f1(0x212)][_0x40e6f1(0x278)][_0x40e6f1(0x23d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55b2b0=>{const _0x24f5f0=_0x40e6f1;for(const _0x3cf344 of _0x559918)this[_0x24f5f0(0x219)][_0x24f5f0(0x1aa)](_0x3cf344),this[_0x24f5f0(0x1c0)](_0x3cf344),_0x55b2b0[_0x24f5f0(0x1cf)][_0x24f5f0(0x1dd)](_0x3cf344),this[_0x24f5f0(0x212)][_0x24f5f0(0x278)][_0x24f5f0(0x1e4)](_0x3cf344);});}[_0x108ca0(0x1c0)](_0xb956c5){const _0x3b212b=_0x108ca0,_0x498465=this[_0x3b212b(0x1cc)](_0xb956c5);_0x498465&&this[_0x3b212b(0x21f)][_0x3b212b(0x1aa)](_0x498465);}[_0x108ca0(0x1cc)](_0x399ae2){const _0x870418=_0x108ca0;let _0x6cafc9,_0x267bc3;switch(_0x399ae2[_0x870418(0x26a)]){case _0x870418(0x280):_0x6cafc9=_0x399ae2[_0x870418(0x251)][_0x870418(0x1fc)];break;case _0x870418(0x1ec):if(_0x267bc3=_0x399ae2[_0x870418(0x255)],!_0x267bc3)return null;_0x6cafc9=_0x267bc3[_0x870418(0x1fc)];break;case _0x870418(0x290):_0x6cafc9=_0x399ae2[_0x870418(0x1fc)];break;case _0x870418(0x1a8):_0x6cafc9=_0x399ae2[_0x870418(0x289)];break;case _0x870418(0x20c):_0x6cafc9=_0x399ae2[_0x870418(0x27a)][_0x870418(0x1fc)];break;default:return null;}return _0x6cafc9[_0x870418(0x218)];}[_0x108ca0(0x1c8)](_0x326dc9){const _0x3897b6=_0x108ca0;_0x326dc9[_0x3897b6(0x26e)](_0x504f1d=>{const _0xbafa6f=_0x3897b6,_0x23bbfa=_0x504f1d[_0xbafa6f(0x270)]();_0x23bbfa[_0xbafa6f(0x21e)]=_0x504f1d[_0xbafa6f(0x21e)],_0x23bbfa[_0xbafa6f(0x19d)]=!!_0x504f1d[_0xbafa6f(0x19d)],_0x23bbfa[_0xbafa6f(0x26d)]=_0x504f1d[_0xbafa6f(0x26d)],_0x23bbfa[_0xbafa6f(0x1c6)]+=this[_0xbafa6f(0x22f)],_0x504f1d[_0xbafa6f(0x208)]&&this[_0xbafa6f(0x256)][_0xbafa6f(0x1aa)](_0x23bbfa),this[_0xbafa6f(0x21a)][_0xbafa6f(0x1dd)](_0x23bbfa);});}[_0x108ca0(0x28f)](_0x3f0ce9){const _0x445c42=_0x108ca0,_0x47ec4e=this[_0x445c42(0x212)][_0x445c42(0x224)][_0x445c42(0x1be)](_0x445c42(0x27c)),_0x559106=this[_0x445c42(0x212)][_0x445c42(0x288)];_0x3f0ce9||(_0x3f0ce9=_0x4a912a(_0x559106,_0x445c42(0x1d3))),_0x47ec4e[_0x445c42(0x244)](_0x3f0ce9,{'title':_0x4a912a(_0x559106,_0x445c42(0x1c7)),'namespace':_0x445c42(0x25f)}),this[_0x445c42(0x1ed)]=!0x0,clearTimeout(this[_0x445c42(0x1af)]),this[_0x445c42(0x20f)]=[],this[_0x445c42(0x212)][_0x445c42(0x224)][_0x445c42(0x1be)](_0x219d60)[_0x445c42(0x1d6)]();}[_0x108ca0(0x1e1)](){const _0x47e7d4=_0x108ca0;this[_0x47e7d4(0x1e6)]||(this[_0x47e7d4(0x1e6)]=this[_0x47e7d4(0x212)][_0x47e7d4(0x224)][_0x47e7d4(0x1be)](_0x2f8d61)[_0x47e7d4(0x1aa)](_0x4a912a(this[_0x47e7d4(0x212)][_0x47e7d4(0x288)],_0x47e7d4(0x1b5))));}[_0x108ca0(0x204)](){const _0x3a6297=_0x108ca0;this[_0x3a6297(0x1e6)]&&(this[_0x3a6297(0x212)][_0x3a6297(0x224)][_0x3a6297(0x1be)](_0x2f8d61)[_0x3a6297(0x291)](this[_0x3a6297(0x1e6)]),this[_0x3a6297(0x1e6)]=null);}[_0x108ca0(0x1fe)](_0x50b92d){const _0x32014e=_0x108ca0,_0x576e90=_0x50b92d[_0x32014e(0x261)](_0x4880fb=>_0x4880fb[_0x32014e(0x1a6)]());return this[_0x32014e(0x238)][_0x32014e(0x237)](_0x576e90);}[_0x108ca0(0x1d8)](_0x3fd621,_0x2e323c){const _0xae4fa6=_0x108ca0;return this[_0xae4fa6(0x238)][_0xae4fa6(0x1fd)](_0x3fd621)[_0xae4fa6(0x261)]((_0x4707b8,_0x4cb5bc)=>{const _0x7acbfb=_0xae4fa6,_0x551846=_0x7acbfb(0x215)==_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26a)];if(_0x7acbfb(0x203)==_0x4707b8[_0x7acbfb(0x205)]){const _0x1a78e9=_0x4707b8[_0x7acbfb(0x251)][_0x7acbfb(0x1fc)];!this[_0x7acbfb(0x1b9)][_0x7acbfb(0x274)](_0x1a78e9)&&(this[_0x7acbfb(0x1b9)][_0x7acbfb(0x1eb)](_0x7acbfb(0x273),_0x1a78e9)[_0x7acbfb(0x1f4)]=!0x1);}const _0x431677=_0xd850f9[_0x7acbfb(0x229)](_0x4707b8,this[_0x7acbfb(0x1b9)]);return _0x431677[_0x7acbfb(0x213)]=_0x4707b8[_0x7acbfb(0x213)],_0x431677[_0x7acbfb(0x19d)]=_0x551846,_0x431677[_0x7acbfb(0x21e)]=_0x551846?null:_0x2e323c[_0x4cb5bc][_0x7acbfb(0x235)],_0x431677[_0x7acbfb(0x208)]=_0x7acbfb(0x1ae)===_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26a)],_0x431677[_0x7acbfb(0x26d)]=_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26d)],_0x431677;});}[_0x108ca0(0x22e)](){const _0x455009=_0x108ca0;this[_0x455009(0x1a5)]=!0x0,this[_0x455009(0x249)]()?this[_0x455009(0x1f0)]():this[_0x455009(0x1a5)]=!0x1;}[_0x108ca0(0x249)](){const _0x48c636=_0x108ca0,_0x11784b=this[_0x48c636(0x212)][_0x48c636(0x224)][_0x48c636(0x1be)](_0x3b1d4f)[_0x48c636(0x1db)][_0x48c636(0x1be)](this[_0x48c636(0x22c)]);return!this[_0x48c636(0x212)][_0x48c636(0x1ee)]&&!!_0x11784b&&_0x11784b[_0x48c636(0x282)]>0x1&&this[_0x48c636(0x1a5)];}[_0x108ca0(0x1c3)](){const _0x418184=_0x108ca0;return this[_0x418184(0x20f)][_0x418184(0x282)]>0x0||this[_0x418184(0x249)]();}}class Y extends Error{}function _0x5093(){const _0x13525f=['_sendBufferedOperations','_refreshUserSelectionMarkers','_offset','lastOperationId','realtimecollaborationclient-init-connection-failed','currentDocumentSession','path','_isPendingUpdate','userId','sessionAdd:','compress','_compressor','_initThrowingOnDataSet','document:write','catch','333899LZYFcC','enqueueChange','realtimecollaborationclient-init-session-connection-error','Permissions','_service','_loadRoot','realtimecollaborationclient','includes','showWarning','409','_setUpDataInit','size','reset','_shouldSendSelectionUpdate','collaboration','getUser','entries','_initSessionsHandling','cloudDocumentVersion','_disconnectService','mySessionId','position','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','apply','newRange','_disconnectionOperations','then','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.','cloudServices.bundleVersion','connect','config','unregister','keys','_handleSendingSelectionMarkers','real-time-collaboration','sessionCreatedAt','map','_operationToId','push','round','change:range','bind','realtimecollaborationclient-init-non-existent-root','end','_handleInitialConnectionData','type','history','enableReadOnlyMode','createdAt','forEach','rtc-destroyed','clone','realtimecollaborationclient-init-document-already-initialized','_handleReceivedOperations','$root','getRoot','removeFromReconnectionStack','listenTo','_lastSyncedOperationId','model','collaboration-missing-channelid','targetPosition','realtimecollaborationclient-init-service-internal-error','Notification','change:_isEditingAllowed','getMany','getDocumentDetails','insert','connection','length','isOfficialPlugin','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_getOperationsFromInitData','set','createPositionAt','locale','affectedSelectable','document','realtimecollaborationclient-error','fire','realtimecollaborationclient-handleserverresponse','startsWith','_handleReconnectionError','addRootAttribute','remove','connected','_ignoredOperations','affectsData','error','code','view','1629tcljbv','2031640qEXrLA','createRange','wereChangesApplied','collaboration.channelId','addUser','isUndoneOperation','string','change:_isPendingUpdate','sessionId','markers','cloud-services-internal-error:\x20Not\x20connected.','_isInit','operationsReceived','pluginName','getIdOfTheLastOperation','createUserMarkerOperations','_handleServerResponse','destroy','attributes','_hasSelectionChanged','toJSON','realtimecollaborationclient-init-service-incorrect-server-operation','addRoot','stop','add','467358FUbbkE','_isConnected','loadRoot','cs:removeUser','_sendBufferedOperationsDelayId','lastSyncVersion','_connectAfterSessionHasBeenFlushed','lastOperationAcceptedAt','differ','_lastServerVersion','PENDING_ACTION_SENDING_DATA','_operationIdentifier','_currentBufferDelay','rootsAttributes','_document','_bufferRootLoad','define','metadata','has','get','suppressErrorInCollaboration','_addKnownRoot','isEnabled','data','_shouldSendUpdate','2424600JleGKH','_baseBufferDelay','baseVersion','Synchronization\x20issue','_updateServerHistory','state','28mKzClT','isDocumentOperation','_getAffectedRoot','directChange','register','batch','initData','getOperations','high','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.','236baMYGy','setPermissions','disconnect','isPremiumPlugin','_decompressOperations','_applyOperationsSet','finally','channelSessions','filter','addOperation','message','getOperationAuthor','_crash','_setPendingAction','requires','reconnection:\x20flushed\x20session','applyOperation','parse','_pendingAction','getConnectedSessions','_isEditingAllowed','version','change:hasDomSelection','createRoot','marker','_hasSynchronizationProblem','isReadOnly','start','_sendBufferedOperationsDelayed','CollaborativeEditingService','_connectService','_saveOperationInBuffer','_isAttached','_isLoaded','multi-root-editor-root-attributes-no-root','9300621CKjpWa','reconnect','realtimecollaborationclient-sendbufferedoperations','sendOperations','_handleExternalOperations','root','decompress','_compressOperations','stopListening','addToReconnectionStack','10yQptnU','404','InsertOperation','_clearPendingAction','__className','_waitUntilSynced','selection','_isDisconnection','permissions','createPositionFromPath','editing','move','CommentsOnly','rtc-offline','_bufferedOperations','ready','from','editor','wasUndone','1992uFSSmp','init','return','disconnected','rootName','_knownOperations','serverHistory','_handleReconnectionResponse','RealTimeCollaborationClient','lastDocumentSession','_authorId','_knownRootNames','slice','offset','_fetchMissingUsers','off','plugins','setIdForTheLastOperation','roots','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','1105QgRYwG','fromJSON','disableReadOnlyMode','cloud-services-internal-error:\x20Request\x20timeout.','_channelId'];_0x5093=function(){return _0x13525f;};return _0x5093();}function Z(_0x5d71a4,_0x38ab64){const _0x13577a=_0x108ca0;for(const _0x516c7e of _0x5d71a4)_0x516c7e[_0x13577a(0x1c6)]=_0x38ab64++;}class tt{[_0x108ca0(0x293)];[_0x108ca0(0x262)];constructor(_0x86d975){const _0x2d028f=_0x108ca0;this[_0x2d028f(0x293)]=_0x86d975,this[_0x2d028f(0x262)]=new WeakMap();}[_0x108ca0(0x1a0)](_0x7641ac){const _0x173a06=_0x108ca0;let _0x3aea28=_0x7641ac[_0x173a06(0x282)];for(;_0x3aea28--;){const _0x2c6c8b=_0x7641ac[_0x3aea28];if(!this[_0x173a06(0x293)][_0x173a06(0x1bd)](_0x2c6c8b)){if(!this[_0x173a06(0x262)][_0x173a06(0x1bd)](_0x2c6c8b)){const _0x14891f=_0xd2597f()[_0x173a06(0x220)](0x1,0x12);this[_0x173a06(0x262)][_0x173a06(0x286)](_0x2c6c8b,_0x14891f);}return this[_0x173a06(0x262)][_0x173a06(0x1be)](_0x2c6c8b);}}}[_0x108ca0(0x225)](_0x583845,_0x1be79b){const _0x128bca=_0x108ca0;if(!_0x1be79b)return;let _0x2d60a8=_0x583845[_0x128bca(0x282)];for(;_0x2d60a8--;){const _0x4647e8=_0x583845[_0x2d60a8];this[_0x128bca(0x293)][_0x128bca(0x1bd)](_0x4647e8)||this[_0x128bca(0x262)][_0x128bca(0x286)](_0x4647e8,_0x1be79b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a9e37=_0x3c2a;(function(_0x207170,_0x2c132f){const _0x397ad7=_0x3c2a,_0x1e253c=_0x207170();while(!![]){try{const _0x433609=parseInt(_0x397ad7(0x1ce))/0x1+-parseInt(_0x397ad7(0x1d7))/0x2*(parseInt(_0x397ad7(0x1c6))/0x3)+-parseInt(_0x397ad7(0x1c1))/0x4*(parseInt(_0x397ad7(0x1d8))/0x5)+-parseInt(_0x397ad7(0x1b5))/0x6*(-parseInt(_0x397ad7(0x1e9))/0x7)+parseInt(_0x397ad7(0x1f2))/0x8*(-parseInt(_0x397ad7(0x1e4))/0x9)+parseInt(_0x397ad7(0x1dd))/0xa+-parseInt(_0x397ad7(0x1b7))/0xb*(-parseInt(_0x397ad7(0x1d9))/0xc);if(_0x433609===_0x2c132f)break;else _0x1e253c['push'](_0x1e253c['shift']());}catch(_0x91ccc0){_0x1e253c['push'](_0x1e253c['shift']());}}}(_0x24ab,0x67e65));function _0x3c2a(_0x5204c3,_0x14a058){const _0x24abb0=_0x24ab();return _0x3c2a=function(_0x3c2a16,_0x3788cb){_0x3c2a16=_0x3c2a16-0x1b5;let _0xb55000=_0x24abb0[_0x3c2a16];return _0xb55000;},_0x3c2a(_0x5204c3,_0x14a058);}function _0x24ab(){const _0xa21d35=['assign','_users','channelConnectedUsers','set','allConnectedUsers','getUserSessions','16048edhQVH','_registeredSessions','_uniqueUsersCount','init','listenTo','18IDyhcH','requires','fire','register','role','delete','addUser','forEach','272066gPQqLi','user','orderNumber','values','sessions-register-already-registered','sessions-unregister-not-exist','pluginName','stopListening','getUserRole','16818MnmAaE','450NkTFtO','36seRnvs','isMe','defineMe','_createUser','723800tbwYeo','isOfficialPlugin','getUser','size','mySessionId','context','sessionId','13491KWRkRd','connection','channelSessions','_handleSessionAdd','change:state','7UNBvvM','unregister','get','remove','add','hiddenInPresenceList','Sessions','plugins','state','4000wAxiYV','_handleSessionRemove','clear','has','57972HMjIYe','connected','4519163XUnrEA','isPremiumPlugin','sessionAdd:','getUserBySessionId'];_0x24ab=function(){return _0xa21d35;};return _0x24ab();}import{ContextPlugin as _0x3cb601}from'ckeditor5/src/core.js';import{Collection as _0x4a6d8e,CKEditorError as _0x366bc9}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x223c7d}from'./websocketgateway.js';import{Users as _0x3d6e89}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3cb601{[_0x3a9e37(0x1e6)];[_0x3a9e37(0x1bd)];[_0x3a9e37(0x1bf)];[_0x3a9e37(0x1c2)];[_0x3a9e37(0x1c3)];[_0x3a9e37(0x1bc)];static get[_0x3a9e37(0x1d4)](){const _0x288fd7=_0x3a9e37;return _0x288fd7(0x1ef);}static get[_0x3a9e37(0x1de)](){return!0x0;}static get[_0x3a9e37(0x1b8)](){return!0x0;}static get[_0x3a9e37(0x1c7)](){return[_0x223c7d,_0x3d6e89];}constructor(_0x328ea4){const _0x524eaf=_0x3a9e37;super(_0x328ea4),this[_0x524eaf(0x1e6)]=new Map(),this[_0x524eaf(0x1bd)]=new Map(),this[_0x524eaf(0x1bf)]=new _0x4a6d8e(),this[_0x524eaf(0x1c2)]=new Map(),this[_0x524eaf(0x1c3)]=0x0,this[_0x524eaf(0x1bc)]=this[_0x524eaf(0x1e2)][_0x524eaf(0x1f0)][_0x524eaf(0x1eb)](_0x3d6e89);}[_0x3a9e37(0x1c4)](){const _0x54e70a=_0x3a9e37,_0x4fa54d=this[_0x54e70a(0x1e2)][_0x54e70a(0x1f0)][_0x54e70a(0x1eb)](_0x223c7d);this[_0x54e70a(0x1c5)](_0x4fa54d,_0x54e70a(0x1e8),(_0x263487,_0x4cc848,_0x55dea2)=>{const _0x5bc7fd=_0x54e70a;if(_0x5bc7fd(0x1b6)!==_0x55dea2)this[_0x5bc7fd(0x1e6)][_0x5bc7fd(0x1cd)](_0x46d519=>_0x46d519[_0x5bc7fd(0x1f4)]()),this[_0x5bc7fd(0x1bd)][_0x5bc7fd(0x1cd)](_0x23c8a3=>_0x23c8a3[_0x5bc7fd(0x1f4)]()),this[_0x5bc7fd(0x1bf)][_0x5bc7fd(0x1f4)]();else{for(const [_0x140d40,_0x44a6c4]of this[_0x5bc7fd(0x1c2)])for(const _0x172323 of _0x44a6c4)this[_0x5bc7fd(0x1e7)](_0x140d40,_0x172323);}}),this[_0x54e70a(0x1dc)](_0x4fa54d[_0x54e70a(0x1e5)]['me'],!0x0);}[_0x3a9e37(0x1c9)](_0x4a4473,_0x142ee9){const _0x47d568=_0x3a9e37;if(this[_0x47d568(0x1c2)][_0x47d568(0x1f5)](_0x4a4473))throw new _0x366bc9(_0x47d568(0x1d2),null,{'channelId':_0x4a4473});this[_0x47d568(0x1c2)][_0x47d568(0x1be)](_0x4a4473,_0x142ee9),this[_0x47d568(0x1e6)][_0x47d568(0x1be)](_0x4a4473,new _0x4a6d8e()),this[_0x47d568(0x1bd)][_0x47d568(0x1be)](_0x4a4473,new _0x4a6d8e()),this[_0x47d568(0x1c5)](_0x142ee9,_0x47d568(0x1ed),(_0x554f64,_0x268f1a)=>this[_0x47d568(0x1e7)](_0x4a4473,_0x268f1a)),this[_0x47d568(0x1c5)](_0x142ee9,_0x47d568(0x1ec),(_0x1c9835,_0x4ec6be)=>this[_0x47d568(0x1f3)](_0x4a4473,_0x4ec6be));for(const _0x3aa194 of _0x142ee9)this[_0x47d568(0x1e7)](_0x4a4473,_0x3aa194);}[_0x3a9e37(0x1ea)](_0x23c6b4){const _0x454909=_0x3a9e37;if(!this[_0x454909(0x1c2)][_0x454909(0x1f5)](_0x23c6b4))throw new _0x366bc9(_0x454909(0x1d3),null,{'channelId':_0x23c6b4});const _0x235433=this[_0x454909(0x1c2)][_0x454909(0x1eb)](_0x23c6b4);this[_0x454909(0x1d5)](_0x235433);for(const _0xf46461 of _0x235433)_0x454909(0x1b6)===this[_0x454909(0x1e2)][_0x454909(0x1f0)][_0x454909(0x1eb)](_0x223c7d)[_0x454909(0x1f1)]&&this[_0x454909(0x1f3)](_0x23c6b4,_0xf46461);this[_0x454909(0x1c2)][_0x454909(0x1cb)](_0x23c6b4),this[_0x454909(0x1e6)][_0x454909(0x1cb)](_0x23c6b4),this[_0x454909(0x1bd)][_0x454909(0x1cb)](_0x23c6b4);}get[_0x3a9e37(0x1e1)](){const _0x2fe05f=_0x3a9e37;return this[_0x2fe05f(0x1e2)][_0x2fe05f(0x1f0)][_0x2fe05f(0x1eb)](_0x223c7d)[_0x2fe05f(0x1e5)][_0x2fe05f(0x1e3)];}[_0x3a9e37(0x1ba)](_0x1f1efa){const _0x57d9fc=_0x3a9e37;for(const _0x365d22 of this[_0x57d9fc(0x1e6)][_0x57d9fc(0x1d1)]())for(const _0x259712 of _0x365d22)if(_0x259712['id']===_0x1f1efa)return _0x259712[_0x57d9fc(0x1cf)];}[_0x3a9e37(0x1c0)](_0x40f401,_0xebe008){const _0x2600e8=_0x3a9e37,_0x1af88a=_0xebe008?[this[_0x2600e8(0x1e6)][_0x2600e8(0x1eb)](_0xebe008)]:this[_0x2600e8(0x1e6)][_0x2600e8(0x1d1)](),_0x1e6d65=new Set();for(const _0x679661 of _0x1af88a)for(const _0x5d0f58 of _0x679661)_0x5d0f58[_0x2600e8(0x1cf)]['id']===_0x40f401['id']&&_0x1e6d65[_0x2600e8(0x1ed)](_0x5d0f58['id']);return _0x1e6d65;}[_0x3a9e37(0x1d6)](_0x17c837){const _0x40da74=_0x3a9e37;for(const _0xb80f13 of this[_0x40da74(0x1e6)][_0x40da74(0x1d1)]())for(const _0x5c72f6 of _0xb80f13)if(_0x5c72f6[_0x40da74(0x1cf)]===_0x17c837)return _0x5c72f6[_0x40da74(0x1ca)];}[_0x3a9e37(0x1e7)](_0x5224e9,_0x4395bc){const _0x14dea5=_0x3a9e37;if(_0x14dea5(0x1b6)!==this[_0x14dea5(0x1e2)][_0x14dea5(0x1f0)][_0x14dea5(0x1eb)](_0x223c7d)[_0x14dea5(0x1f1)])return;const _0x1b5309=_0x4395bc[_0x14dea5(0x1cf)],_0x27d092=this[_0x14dea5(0x1bc)][_0x14dea5(0x1df)](_0x1b5309['id'])||this[_0x14dea5(0x1dc)](_0x1b5309),_0x54dfdd=Object[_0x14dea5(0x1bb)]({},_0x4395bc,{'user':_0x27d092});if(this[_0x14dea5(0x1e6)][_0x14dea5(0x1eb)](_0x5224e9)[_0x14dea5(0x1ed)](_0x54dfdd),!_0x1b5309[_0x14dea5(0x1ee)]){const _0x248797=this[_0x14dea5(0x1bd)][_0x14dea5(0x1eb)](_0x5224e9);_0x248797[_0x14dea5(0x1f5)](_0x27d092['id'])||_0x248797[_0x14dea5(0x1ed)](_0x27d092),this[_0x14dea5(0x1bf)][_0x14dea5(0x1f5)](_0x27d092['id'])||_0x1b5309[_0x14dea5(0x1ee)]||this[_0x14dea5(0x1bf)][_0x14dea5(0x1ed)](_0x27d092,_0x27d092[_0x14dea5(0x1da)]?0x0:void 0x0);}this[_0x14dea5(0x1c8)](_0x14dea5(0x1b9)+_0x5224e9,{'channelId':_0x5224e9,'session':_0x54dfdd});}[_0x3a9e37(0x1f3)](_0x47f69a,_0x3a4a3c){const _0x4c307d=_0x3a9e37;if(_0x4c307d(0x1b6)!==this[_0x4c307d(0x1e2)][_0x4c307d(0x1f0)][_0x4c307d(0x1eb)](_0x223c7d)[_0x4c307d(0x1f1)])return;const _0x35004e=this[_0x4c307d(0x1bd)][_0x4c307d(0x1eb)](_0x47f69a),_0x52452d=_0x3a4a3c[_0x4c307d(0x1cf)];_0x52452d['id']&&(this[_0x4c307d(0x1e6)][_0x4c307d(0x1eb)](_0x47f69a)[_0x4c307d(0x1ec)](_0x3a4a3c['id']),_0x35004e[_0x4c307d(0x1f5)](_0x52452d['id'])&&!this[_0x4c307d(0x1c0)](_0x52452d,_0x47f69a)[_0x4c307d(0x1e0)]&&_0x35004e[_0x4c307d(0x1ec)](_0x52452d['id']),this[_0x4c307d(0x1bf)][_0x4c307d(0x1eb)](_0x52452d['id'])&&!this[_0x4c307d(0x1c0)](_0x52452d)[_0x4c307d(0x1e0)]&&this[_0x4c307d(0x1bf)][_0x4c307d(0x1ec)](_0x52452d['id']));}[_0x3a9e37(0x1dc)](_0x56a675,_0x99915a){const _0x6e505=_0x3a9e37,_0x33178f=this[_0x6e505(0x1bc)][_0x6e505(0x1cc)](_0x56a675);return _0x99915a&&this[_0x6e505(0x1bc)][_0x6e505(0x1db)](_0x56a675['id']),_0x33178f[_0x6e505(0x1d0)]=this[_0x6e505(0x1c3)]++,_0x33178f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39b659=_0x382a;function _0x382a(_0x49183f,_0x25c223){const _0x512e6e=_0x512e();return _0x382a=function(_0x382ae4,_0x35426d){_0x382ae4=_0x382ae4-0x1eb;let _0x13ccdf=_0x512e6e[_0x382ae4];return _0x13ccdf;},_0x382a(_0x49183f,_0x25c223);}function _0x512e(){const _0xc71306=['model','getContainedElement','markerRange','user:','getFirstRange','user:position:','parent','updateMarker','hasDomSelection','setCustomProperty','schema','removeClass','startsWith','update:user:range','createRange','highest','tableCell','ck-user__marker_hovered','addEventListener','newRange','color','ck-user__marker-tooltip','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','$graveyard','markers','enqueueChange','orderNumber','isCollapsed','checkChild','start','add','markerNameToElements','type','markerToElement','getNearestSelectionRange','528026bxZFuP','_createdBatches','false','editing','conversion','toRange','4412536ucFyOo','keydown','994645ONMmeA','rootName','createElement','getCustomProperty','for','root','document','getAttribute','markerToHighlight','data-session-id','mouseleave','user:position','commands','removeMarker','user:range:','getMarkerClass','outerHTML','getSelectionClass','setAttribute','selection','user:range','getUserBySessionId','clear','7230546AsvONn','marker','toDomElement','name','mySessionId','UserMarkers','element','Escape','92560qGeNUI','has','pluginName','editingDowncast','applyOperation','span','ck-user__selection','init','reconvertMarker','plugins','isLimit','listenTo','editor','_domEmitter','createUIElement','change','size','1wteAig','change:range','delete','detach','end','innerHTML','view','$text','userPositionMarker','split','markerName','requires','addMarker','render','26538tEnhma','set','stopListening','ck-user__marker\x20','destroy','isObject','mouseenter','createUserMarkerOperations','136053hCxMLY','getStart','remove','classList','mapper','batch','deletionPosition','nodeAfter','isDocumentOperation','154uYLCLc','isOfficialPlugin','textContent','isPremiumPlugin','isInline','hasContent','fromRange','get','spellcheck','undo','oldRange','getPositions','isSimilar','contenteditable','afterInit','getRange'];_0x512e=function(){return _0xc71306;};return _0x512e();}(function(_0x1af1a3,_0x428246){const _0xe5431e=_0x382a,_0x50bf63=_0x1af1a3();while(!![]){try{const _0x2b85d7=-parseInt(_0xe5431e(0x25c))/0x1*(parseInt(_0xe5431e(0x224))/0x2)+parseInt(_0xe5431e(0x272))/0x3+-parseInt(_0xe5431e(0x24b))/0x4+parseInt(_0xe5431e(0x22c))/0x5+-parseInt(_0xe5431e(0x26a))/0x6*(-parseInt(_0xe5431e(0x1f1))/0x7)+-parseInt(_0xe5431e(0x22a))/0x8+parseInt(_0xe5431e(0x243))/0x9;if(_0x2b85d7===_0x428246)break;else _0x50bf63['push'](_0x50bf63['shift']());}catch(_0x240b78){_0x50bf63['push'](_0x50bf63['shift']());}}}(_0x512e,0x4ac54));import{Plugin as _0x3b8fe8}from'ckeditor5/src/core.js';import{global as _0xad345e,DomEmitterMixin as _0x147d74}from'ckeditor5/src/utils.js';import{Sessions as _0x3c5e46}from'./sessions.js';import{ModelLiveRange as _0x3c250e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3b8fe8{[_0x39b659(0x258)]=new(_0x147d74())();static get[_0x39b659(0x267)](){return[_0x3c5e46];}static get[_0x39b659(0x24d)](){const _0x44f9f9=_0x39b659;return _0x44f9f9(0x248);}static get[_0x39b659(0x1f2)](){return!0x0;}static get[_0x39b659(0x1f4)](){return!0x0;}[_0x39b659(0x252)](){const _0x28664c=_0x39b659,_0x5de722=this[_0x28664c(0x257)],_0x469b90=_0x5de722[_0x28664c(0x254)][_0x28664c(0x1f8)](_0x3c5e46);_0x5de722[_0x28664c(0x228)][_0x28664c(0x230)](_0x28664c(0x24e))[_0x28664c(0x222)]({'model':_0x28664c(0x237),'view':(_0x3bfe9d,{writer:_0x5c35da})=>function(_0x31426e,_0x4dd286,_0x16b423,_0x37ac30){const _0x778ae2=_0x28664c,_0x31d9df=_0x31426e[_0x778ae2(0x266)][_0x778ae2(0x265)](':')[0x2],_0x35d025=_0x16b423[_0x778ae2(0x241)](_0x31d9df);if(!_0x35d025||_0x31d9df===_0x16b423[_0x778ae2(0x247)])return;if(!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)][_0x778ae2(0x21d)](_0x31426e[_0x778ae2(0x203)][_0x778ae2(0x21e)],_0x778ae2(0x263)))return;const _0x5ec0a1={'class':_0x778ae2(0x26d)+_0x35d025[_0x778ae2(0x215)][_0x778ae2(0x23b)](),'data-name':_0x35d025[_0x778ae2(0x246)],'data-session-id':_0x31d9df},_0x257356=_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x219)][_0x778ae2(0x1f8)](_0x31426e[_0x778ae2(0x266)]),_0x5566c0=_0x257356[_0x778ae2(0x273)](),_0x331061=_0x5566c0[_0x778ae2(0x1ef)],_0x155143=_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)];if(_0x331061&&_0x155143[_0x778ae2(0x26f)](_0x331061)&&_0x155143[_0x778ae2(0x1f5)](_0x331061)&&!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x219)][_0x778ae2(0x1f8)](_0x778ae2(0x23a)+_0x31d9df)[_0x778ae2(0x200)]()[_0x778ae2(0x21c)])return;const _0x56cc85=_0x5566c0[_0x778ae2(0x207)];return _0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x20b)][_0x778ae2(0x255)](_0x56cc85)&&!_0x37ac30[_0x778ae2(0x201)][_0x778ae2(0x1f6)](_0x56cc85)&&(_0x5ec0a1[_0x778ae2(0x1fe)]=!0x1),function(_0x156748,_0x200b49,_0xd09d33){const _0x39b6ad=_0x778ae2,_0x1a61b1=_0x156748[_0x39b6ad(0x259)](_0x39b6ad(0x250),_0x200b49);return _0x156748[_0x39b6ad(0x20a)](_0x39b6ad(0x264),!0x0,_0x1a61b1),_0x1a61b1[_0x39b6ad(0x269)]=function(_0x149d29){const _0x329484=_0x39b6ad,_0x1e665c=this[_0x329484(0x245)](_0x149d29),_0x48ddf9=document[_0x329484(0x22e)](_0x329484(0x250));return _0x48ddf9[_0x329484(0x1eb)][_0x329484(0x21f)](_0x329484(0x216)),_0x48ddf9[_0x329484(0x23e)](_0x329484(0x1fe),_0x329484(0x226)),_0x48ddf9[_0x329484(0x23e)](_0x329484(0x1f9),_0x329484(0x226)),_0x48ddf9[_0x329484(0x1f3)]=_0xd09d33[_0x329484(0x246)],_0x1e665c[_0x329484(0x261)]=_0x329484(0x217)+_0x48ddf9[_0x329484(0x23c)]+'',_0x1e665c[_0x329484(0x213)](_0x329484(0x270),()=>{const _0x2392e1=_0x329484;_0x1e665c[_0x2392e1(0x1eb)][_0x2392e1(0x21f)](_0x2392e1(0x212));}),_0x1e665c[_0x329484(0x213)](_0x329484(0x236),()=>{const _0x2de848=_0x329484;_0x1e665c[_0x2de848(0x1eb)][_0x2de848(0x274)](_0x2de848(0x212));}),_0x1e665c;},_0x1a61b1[_0x39b6ad(0x1fd)]=function(_0x419071){const _0x440fb5=_0x39b6ad;return!(!this[_0x440fb5(0x22f)](_0x440fb5(0x264))||!_0x419071[_0x440fb5(0x22f)](_0x440fb5(0x264))||this[_0x440fb5(0x233)](_0x440fb5(0x235))!=_0x419071[_0x440fb5(0x233)](_0x440fb5(0x235)));},_0x1a61b1;}(_0x4dd286,_0x5ec0a1,_0x35d025);}(_0x3bfe9d,_0x5c35da,_0x469b90,_0x5de722)}),_0x5de722[_0x28664c(0x228)][_0x28664c(0x230)](_0x28664c(0x24e))[_0x28664c(0x234)]({'model':_0x28664c(0x240),'view':_0x157639=>function(_0x1e6f43,_0x45e134){const _0x4902d8=_0x28664c,_0x2efc59=_0x1e6f43[_0x4902d8(0x266)][_0x4902d8(0x265)](':')[0x2];if(_0x2efc59===_0x45e134[_0x4902d8(0x247)])return null;const _0x2169dc=_0x45e134[_0x4902d8(0x241)](_0x2efc59);if(!_0x2169dc)return{'id':_0x2efc59,'classes':[]};return{'id':_0x2efc59,'classes':[_0x4902d8(0x251),_0x2169dc[_0x4902d8(0x215)][_0x4902d8(0x23d)]()],'attributes':{'data-session-id':_0x2efc59},'priority':0x7d0+_0x2169dc[_0x4902d8(0x21b)]};}(_0x157639,_0x469b90)}),function(_0x47a99b){const _0x56ab63=_0x28664c,_0x3c4e4a=_0x47a99b[_0x56ab63(0x201)],_0x585323=new Map(),_0x4a45cc=_0x47a99b[_0x56ab63(0x254)][_0x56ab63(0x1f8)](_0x3c5e46);_0x3c4e4a[_0x56ab63(0x219)]['on'](_0x56ab63(0x20e),(_0x3845a4,_0x50fa20,_0x17355a,_0x32e4de)=>{const _0x343ee6=_0x56ab63;if(!_0x32e4de&&_0x585323[_0x343ee6(0x1f8)](_0x50fa20[_0x343ee6(0x246)]))return _0x585323[_0x343ee6(0x1f8)](_0x50fa20[_0x343ee6(0x246)])[_0x343ee6(0x25f)](),void _0x585323[_0x343ee6(0x25e)](_0x50fa20[_0x343ee6(0x246)]);const _0x343b86=_0x50fa20[_0x343ee6(0x246)][_0x343ee6(0x265)](':')[0x2];if(_0x343b86===_0x4a45cc[_0x343ee6(0x247)])return;const _0x435417=_0x343ee6(0x206)+_0x343b86;_0x3c4e4a[_0x343ee6(0x219)][_0x343ee6(0x24c)](_0x435417)&&_0x47a99b[_0x343ee6(0x227)][_0x343ee6(0x253)](_0x435417),_0x50fa20['on'](_0x343ee6(0x25d),(_0x2bfe4d,_0x44e829,_0xd0f6a8)=>{const _0x589378=_0x343ee6;if(_0x589378(0x218)!=_0x44e829[_0x589378(0x231)][_0x589378(0x22d)]&&_0x589378(0x218)==_0x50fa20[_0x589378(0x200)]()[_0x589378(0x231)][_0x589378(0x22d)]&&!_0x585323[_0x589378(0x24c)](_0x50fa20[_0x589378(0x246)])){const _0x50ba0c=_0x3c4e4a[_0x589378(0x20b)][_0x589378(0x223)](_0xd0f6a8[_0x589378(0x1ee)]);if(_0x50ba0c){const _0x3ddb8c=_0x3c250e[_0x589378(0x1f7)](_0x50ba0c);_0x585323[_0x589378(0x26b)](_0x50fa20[_0x589378(0x246)],_0x3ddb8c),_0x3ddb8c['on'](_0x589378(0x25d),(_0x4533e0,_0x3edf76,_0x5d9e6c)=>{const _0xc4b304=_0x589378;if(_0xc4b304(0x218)==_0x3ddb8c[_0xc4b304(0x231)][_0xc4b304(0x22d)]){const _0x3f8745=_0x3c4e4a[_0xc4b304(0x20b)][_0xc4b304(0x223)](_0x5d9e6c[_0xc4b304(0x1ee)]);_0x3f8745?(_0x3ddb8c[_0xc4b304(0x21e)]=_0x3f8745[_0xc4b304(0x21e)],_0x3ddb8c[_0xc4b304(0x260)]=_0x3f8745[_0xc4b304(0x260)]):(_0x585323[_0xc4b304(0x25e)](_0x50fa20[_0xc4b304(0x246)]),_0x3ddb8c[_0xc4b304(0x25f)]());}});}}});}),_0x3c4e4a[_0x56ab63(0x232)]['on'](_0x56ab63(0x25a),()=>{const _0x3b874e=_0x56ab63;_0x585323[_0x3b874e(0x25b)]>0x0&&_0x3c4e4a[_0x3b874e(0x21a)]({'isUndoable':!0x1},_0x4f5e25=>{const _0x2c2b23=_0x3b874e;for(const [_0x5a4393,_0x5830c6]of _0x585323)_0x2c2b23(0x218)==_0x3c4e4a[_0x2c2b23(0x219)][_0x2c2b23(0x1f8)](_0x5a4393)[_0x2c2b23(0x200)]()[_0x2c2b23(0x231)][_0x2c2b23(0x22d)]&&(te(_0x5a4393[_0x2c2b23(0x265)](':')[0x2],_0x5830c6[_0x2c2b23(0x229)](),_0x3c4e4a,_0x4f5e25),_0x5830c6[_0x2c2b23(0x25f)]());_0x585323[_0x2c2b23(0x242)]();});});}(_0x5de722),this[_0x28664c(0x258)][_0x28664c(0x256)](_0xad345e[_0x28664c(0x232)],_0x28664c(0x22b),(_0x3f7fe6,{key:_0x468771})=>{const _0x32b7a0=_0x28664c;_0x32b7a0(0x24a)===_0x468771&&function(_0x586aed){const _0x398f28=_0x32b7a0;_0x586aed[_0x398f28(0x227)][_0x398f28(0x262)][_0x398f28(0x25a)](_0x479e02=>{const _0x29c811=_0x398f28;for(const _0x3906e of _0x586aed[_0x29c811(0x201)][_0x29c811(0x219)]){if(!_0x3906e[_0x29c811(0x246)][_0x29c811(0x20d)](_0x29c811(0x237)))continue;const _0x594f89=_0x586aed[_0x29c811(0x227)][_0x29c811(0x1ec)][_0x29c811(0x220)](_0x3906e[_0x29c811(0x246)]);if(_0x594f89){for(const _0x3e4ede of _0x594f89)_0x479e02[_0x29c811(0x20c)](_0x29c811(0x212),_0x3e4ede);}}});}(_0x5de722);},{'useCapture':!0x0});}[_0x39b659(0x1ff)](){const _0x122f10=_0x39b659,_0x496887=this[_0x122f10(0x257)],_0xddcc35=_0x496887[_0x122f10(0x238)][_0x122f10(0x1f8)](_0x122f10(0x1fa));_0xddcc35&&_0x496887[_0x122f10(0x201)]['on'](_0x122f10(0x24f),(_0x1105be,_0x450849)=>{const _0xf8fee4=_0x122f10,_0x123447=_0x450849[0x0];if(!_0x123447[_0xf8fee4(0x1f0)])return;if(_0xf8fee4(0x244)!=_0x123447[_0xf8fee4(0x221)]||!_0x123447[_0xf8fee4(0x246)][_0xf8fee4(0x20d)](_0xf8fee4(0x204)))return;const _0x5451e3=_0x123447[_0xf8fee4(0x1ed)];_0xddcc35[_0xf8fee4(0x225)][_0xf8fee4(0x24c)](_0x5451e3)&&(_0x123447[_0xf8fee4(0x214)]=_0x123447[_0xf8fee4(0x1fb)]?_0x496887[_0xf8fee4(0x201)][_0xf8fee4(0x20f)](_0x123447[_0xf8fee4(0x1fb)][_0xf8fee4(0x21e)],_0x123447[_0xf8fee4(0x1fb)][_0xf8fee4(0x260)]):null);},{'priority':_0x122f10(0x210)});}[_0x39b659(0x26e)](){const _0x302310=_0x39b659;return this[_0x302310(0x258)][_0x302310(0x26c)](),super[_0x302310(0x26e)]();}[_0x39b659(0x271)](){const _0x803900=_0x39b659,_0x5a9a83=this[_0x803900(0x257)],_0x46561a=_0x5a9a83[_0x803900(0x201)][_0x803900(0x232)],_0x3a6987=_0x5a9a83[_0x803900(0x254)][_0x803900(0x1f8)](_0x3c5e46);_0x5a9a83[_0x803900(0x201)][_0x803900(0x21a)]({'isUndoable':!0x1},_0x3e80d6=>{const _0x1be139=_0x803900,_0x42a608=_0x1be139(0x23a)+_0x3a6987[_0x1be139(0x247)],_0x25b0e9=_0x1be139(0x206)+_0x3a6987[_0x1be139(0x247)],_0x464116=_0x5a9a83[_0x1be139(0x201)][_0x1be139(0x219)][_0x1be139(0x24c)](_0x42a608);_0x5a9a83[_0x1be139(0x227)][_0x1be139(0x262)][_0x1be139(0x209)]?te(_0x3a6987[_0x1be139(0x247)],_0x46561a[_0x1be139(0x23f)][_0x1be139(0x205)](),_0x5a9a83[_0x1be139(0x201)],_0x3e80d6):_0x464116&&(_0x3e80d6[_0x1be139(0x239)](_0x42a608),_0x3e80d6[_0x1be139(0x239)](_0x25b0e9));});}}function te(_0x2f0ec7,_0x115898,_0x92f03e,_0x30aad0){const _0x46da71=_0x39b659,_0x54aa2a=_0x46da71(0x23a)+_0x2f0ec7,_0x50b7d2=_0x46da71(0x206)+_0x2f0ec7,_0x23dd05=_0x115898[_0x46da71(0x202)]();let _0x5a81c1=_0x115898[_0x46da71(0x21e)];if(_0x23dd05&&_0x23dd05['is'](_0x46da71(0x249),_0x46da71(0x211))){const _0x3825fa=function(_0x39d2b5,_0x2c50c2){const _0x5d140e=_0x46da71;for(const _0x874116 of _0x39d2b5[_0x5d140e(0x1fc)]())if(_0x2c50c2[_0x5d140e(0x20b)][_0x5d140e(0x21d)](_0x874116,_0x5d140e(0x263)))return _0x874116;}(_0x115898,_0x92f03e);_0x3825fa&&(_0x5a81c1=_0x3825fa,_0x115898=_0x30aad0[_0x46da71(0x20f)](_0x5a81c1));}const _0x2e0c0e=_0x30aad0[_0x46da71(0x20f)](_0x5a81c1);_0x92f03e[_0x46da71(0x219)][_0x46da71(0x24c)](_0x54aa2a)?(_0x30aad0[_0x46da71(0x208)](_0x54aa2a,{'range':_0x115898}),_0x30aad0[_0x46da71(0x208)](_0x50b7d2,{'range':_0x2e0c0e})):(_0x30aad0[_0x46da71(0x268)](_0x54aa2a,{'range':_0x115898,'usingOperation':!0x0}),_0x30aad0[_0x46da71(0x268)](_0x50b7d2,{'range':_0x2e0c0e,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x32326d=_0x4a17;(function(_0x400bf0,_0x18f78f){const _0x1a814f=_0x4a17,_0x11af21=_0x400bf0();while(!![]){try{const _0x59249a=-parseInt(_0x1a814f(0x6f))/0x1*(-parseInt(_0x1a814f(0x75))/0x2)+parseInt(_0x1a814f(0x8e))/0x3*(parseInt(_0x1a814f(0xd9))/0x4)+parseInt(_0x1a814f(0x6d))/0x5+parseInt(_0x1a814f(0x8c))/0x6+parseInt(_0x1a814f(0x7a))/0x7+parseInt(_0x1a814f(0xc0))/0x8*(parseInt(_0x1a814f(0xf2))/0x9)+parseInt(_0x1a814f(0x7e))/0xa*(-parseInt(_0x1a814f(0x72))/0xb);if(_0x59249a===_0x18f78f)break;else _0x11af21['push'](_0x11af21['shift']());}catch(_0x3001e6){_0x11af21['push'](_0x11af21['shift']());}}}(_0xff96,0x52b83));import{Plugin as _0x1774ab}from'ckeditor5/src/core.js';function _0x4a17(_0x2c64d4,_0x2a8076){const _0xff9693=_0xff96();return _0x4a17=function(_0x4a179c,_0x53f710){_0x4a179c=_0x4a179c-0x68;let _0xd17dd7=_0xff9693[_0x4a179c];return _0xd17dd7;},_0x4a17(_0x2c64d4,_0x2a8076);}import{global as _0x3c273b,DomEmitterMixin as _0x304139}from'ckeditor5/src/utils.js';function _0xff96(){const _0x5dc55e=['791924GSYtYu','getMarkerClass','getAttribute','marker','getSelectionClass','user:','undo','addMarker','remove','Escape','setCustomProperty','user:position','requires','getPositions','change','name','mouseleave','toRange','stopListening','$text','editing','start','markerRange','commands','removeClass','9TjwVsk','markerName','checkChild','userPositionMarker','mySessionId','applyOperation','classList','1980530ZxeDfS','getUserBySessionId','2111FkuRBu','markerToHighlight','nodeAfter','55kNAiXi','mapper','getStart','218puJgnY','isDocumentOperation','init','end','selection','4018532thketa','oldRange','isObject','addEventListener','4047150mytfQR','root','startsWith','getCustomProperty','change:range','highest','fromRange','isPremiumPlugin','span','get','hasDomSelection','getNearestSelectionRange','isInline','user:range','3467208PITHLy','getFirstRange','6EMNcQY','plugins','textContent','markerNameToElements','listenTo','_domEmitter','removeMarker','keydown','_createdBatches','document','$graveyard','delete','false','tableCell','model','clear','isSimilar','isCollapsed','mouseenter','size','isOfficialPlugin','reconvertMarker','setAttribute','pluginName','schema','createElement','createRange','createUIElement','toDomElement','ck-user__marker-tooltip','getContainedElement','markers','element','deletionPosition','ck-user__marker_hovered','markerToElement','spellcheck','data-session-id','render','for','add','user:position:','update:user:range','type','contenteditable','color','ck-user__marker\x20','innerHTML','ck-user__selection','editingDowncast','1506264GxtpNs','batch','editor','detach','afterInit','user:range:','conversion','split','UserMarkers','outerHTML','enqueueChange','isLimit','newRange','rootName','set','has','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','view','parent','hasContent','createUserMarkerOperations','getRange','orderNumber','destroy','updateMarker'];_0xff96=function(){return _0x5dc55e;};return _0xff96();}import{Sessions as _0x15ea52}from'./sessions.js';import{ModelLiveRange as _0x1142a8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x1774ab{[_0x32326d(0x93)]=new(_0x304139())();static get[_0x32326d(0xe5)](){return[_0x15ea52];}static get[_0x32326d(0xa5)](){const _0x5d7393=_0x32326d;return _0x5d7393(0xc8);}static get[_0x32326d(0xa2)](){return!0x0;}static get[_0x32326d(0x85)](){return!0x0;}[_0x32326d(0x77)](){const _0xcc7fcd=_0x32326d,_0xc7e11f=this[_0xcc7fcd(0xc2)],_0x51c8ac=_0xc7e11f[_0xcc7fcd(0x8f)][_0xcc7fcd(0x87)](_0x15ea52);_0xc7e11f[_0xcc7fcd(0xc6)][_0xcc7fcd(0xb5)](_0xcc7fcd(0xbf))[_0xcc7fcd(0xb1)]({'model':_0xcc7fcd(0xe4),'view':(_0x117c76,{writer:_0x635d21})=>function(_0x5f16e4,_0x10a725,_0x1a9a27,_0x20fece){const _0x28f9d4=_0xcc7fcd,_0x4697f2=_0x5f16e4[_0x28f9d4(0xf3)][_0x28f9d4(0xc7)](':')[0x2],_0x12741b=_0x1a9a27[_0x28f9d4(0x6e)](_0x4697f2);if(!_0x12741b||_0x4697f2===_0x1a9a27[_0x28f9d4(0x6a)])return;if(!_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xa6)][_0x28f9d4(0x68)](_0x5f16e4[_0x28f9d4(0xef)][_0x28f9d4(0xee)],_0x28f9d4(0xec)))return;const _0x126e90={'class':_0x28f9d4(0xbc)+_0x12741b[_0x28f9d4(0xbb)][_0x28f9d4(0xda)](),'data-name':_0x12741b[_0x28f9d4(0xe8)],'data-session-id':_0x4697f2},_0x3a2dc2=_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xad)][_0x28f9d4(0x87)](_0x5f16e4[_0x28f9d4(0xf3)]),_0x403fd8=_0x3a2dc2[_0x28f9d4(0x74)](),_0x22eae2=_0x403fd8[_0x28f9d4(0x71)],_0x16a0e3=_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xa6)];if(_0x22eae2&&_0x16a0e3[_0x28f9d4(0x7c)](_0x22eae2)&&_0x16a0e3[_0x28f9d4(0x8a)](_0x22eae2)&&!_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xad)][_0x28f9d4(0x87)](_0x28f9d4(0xc5)+_0x4697f2)[_0x28f9d4(0xd5)]()[_0x28f9d4(0x9f)])return;const _0x4ad6cb=_0x403fd8[_0x28f9d4(0xd2)];return _0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xa6)][_0x28f9d4(0xcb)](_0x4ad6cb)&&!_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xd3)](_0x4ad6cb)&&(_0x126e90[_0x28f9d4(0xba)]=!0x1),function(_0x7c7dde,_0xcbad08,_0x221902){const _0x36acce=_0x28f9d4,_0x3746d6=_0x7c7dde[_0x36acce(0xa9)](_0x36acce(0x86),_0xcbad08);return _0x7c7dde[_0x36acce(0xe3)](_0x36acce(0x69),!0x0,_0x3746d6),_0x3746d6[_0x36acce(0xb4)]=function(_0x2d680d){const _0x4908b2=_0x36acce,_0x289e04=this[_0x4908b2(0xaa)](_0x2d680d),_0x47e85b=document[_0x4908b2(0xa7)](_0x4908b2(0x86));return _0x47e85b[_0x4908b2(0x6c)][_0x4908b2(0xb6)](_0x4908b2(0xab)),_0x47e85b[_0x4908b2(0xa4)](_0x4908b2(0xba),_0x4908b2(0x9a)),_0x47e85b[_0x4908b2(0xa4)](_0x4908b2(0xb2),_0x4908b2(0x9a)),_0x47e85b[_0x4908b2(0x90)]=_0x221902[_0x4908b2(0xe8)],_0x289e04[_0x4908b2(0xbd)]=_0x4908b2(0xd0)+_0x47e85b[_0x4908b2(0xc9)]+'',_0x289e04[_0x4908b2(0x7d)](_0x4908b2(0xa0),()=>{const _0x37b50b=_0x4908b2;_0x289e04[_0x37b50b(0x6c)][_0x37b50b(0xb6)](_0x37b50b(0xb0));}),_0x289e04[_0x4908b2(0x7d)](_0x4908b2(0xe9),()=>{const _0x5a0434=_0x4908b2;_0x289e04[_0x5a0434(0x6c)][_0x5a0434(0xe1)](_0x5a0434(0xb0));}),_0x289e04;},_0x3746d6[_0x36acce(0x9e)]=function(_0x7024b9){const _0x432629=_0x36acce;return!(!this[_0x432629(0x81)](_0x432629(0x69))||!_0x7024b9[_0x432629(0x81)](_0x432629(0x69))||this[_0x432629(0xdb)](_0x432629(0xb3))!=_0x7024b9[_0x432629(0xdb)](_0x432629(0xb3)));},_0x3746d6;}(_0x10a725,_0x126e90,_0x12741b);}(_0x117c76,_0x635d21,_0x51c8ac,_0xc7e11f)}),_0xc7e11f[_0xcc7fcd(0xc6)][_0xcc7fcd(0xb5)](_0xcc7fcd(0xbf))[_0xcc7fcd(0x70)]({'model':_0xcc7fcd(0x8b),'view':_0x3eaad8=>function(_0x3d2a05,_0x1c0db1){const _0x1981b9=_0xcc7fcd,_0x55aa3b=_0x3d2a05[_0x1981b9(0xf3)][_0x1981b9(0xc7)](':')[0x2];if(_0x55aa3b===_0x1c0db1[_0x1981b9(0x6a)])return null;const _0x5bc774=_0x1c0db1[_0x1981b9(0x6e)](_0x55aa3b);if(!_0x5bc774)return{'id':_0x55aa3b,'classes':[]};return{'id':_0x55aa3b,'classes':[_0x1981b9(0xbe),_0x5bc774[_0x1981b9(0xbb)][_0x1981b9(0xdd)]()],'attributes':{'data-session-id':_0x55aa3b},'priority':0x7d0+_0x5bc774[_0x1981b9(0xd6)]};}(_0x3eaad8,_0x51c8ac)}),function(_0x14e38e){const _0x498d85=_0xcc7fcd,_0x4f50a1=_0x14e38e[_0x498d85(0x9c)],_0xe8f2dc=new Map(),_0x3890de=_0x14e38e[_0x498d85(0x8f)][_0x498d85(0x87)](_0x15ea52);_0x4f50a1[_0x498d85(0xad)]['on'](_0x498d85(0xb8),(_0x45dbab,_0x416e84,_0x5811ce,_0x2634c4)=>{const _0x41e150=_0x498d85;if(!_0x2634c4&&_0xe8f2dc[_0x41e150(0x87)](_0x416e84[_0x41e150(0xe8)]))return _0xe8f2dc[_0x41e150(0x87)](_0x416e84[_0x41e150(0xe8)])[_0x41e150(0xc3)](),void _0xe8f2dc[_0x41e150(0x99)](_0x416e84[_0x41e150(0xe8)]);const _0x8dacf6=_0x416e84[_0x41e150(0xe8)][_0x41e150(0xc7)](':')[0x2];if(_0x8dacf6===_0x3890de[_0x41e150(0x6a)])return;const _0x578636=_0x41e150(0xb7)+_0x8dacf6;_0x4f50a1[_0x41e150(0xad)][_0x41e150(0xcf)](_0x578636)&&_0x14e38e[_0x41e150(0xed)][_0x41e150(0xa3)](_0x578636),_0x416e84['on'](_0x41e150(0x82),(_0x1bb0bd,_0x4d536d,_0x587d60)=>{const _0x187d04=_0x41e150;if(_0x187d04(0x98)!=_0x4d536d[_0x187d04(0x7f)][_0x187d04(0xcd)]&&_0x187d04(0x98)==_0x416e84[_0x187d04(0xd5)]()[_0x187d04(0x7f)][_0x187d04(0xcd)]&&!_0xe8f2dc[_0x187d04(0xcf)](_0x416e84[_0x187d04(0xe8)])){const _0x1d8176=_0x4f50a1[_0x187d04(0xa6)][_0x187d04(0x89)](_0x587d60[_0x187d04(0xaf)]);if(_0x1d8176){const _0x1c8fa4=_0x1142a8[_0x187d04(0x84)](_0x1d8176);_0xe8f2dc[_0x187d04(0xce)](_0x416e84[_0x187d04(0xe8)],_0x1c8fa4),_0x1c8fa4['on'](_0x187d04(0x82),(_0x22857e,_0x560b66,_0xb1c943)=>{const _0x1717d6=_0x187d04;if(_0x1717d6(0x98)==_0x1c8fa4[_0x1717d6(0x7f)][_0x1717d6(0xcd)]){const _0x2d6d25=_0x4f50a1[_0x1717d6(0xa6)][_0x1717d6(0x89)](_0xb1c943[_0x1717d6(0xaf)]);_0x2d6d25?(_0x1c8fa4[_0x1717d6(0xee)]=_0x2d6d25[_0x1717d6(0xee)],_0x1c8fa4[_0x1717d6(0x78)]=_0x2d6d25[_0x1717d6(0x78)]):(_0xe8f2dc[_0x1717d6(0x99)](_0x416e84[_0x1717d6(0xe8)]),_0x1c8fa4[_0x1717d6(0xc3)]());}});}}});}),_0x4f50a1[_0x498d85(0x97)]['on'](_0x498d85(0xe7),()=>{const _0x33e61a=_0x498d85;_0xe8f2dc[_0x33e61a(0xa1)]>0x0&&_0x4f50a1[_0x33e61a(0xca)]({'isUndoable':!0x1},_0x3bceac=>{const _0x1a6030=_0x33e61a;for(const [_0x489f8d,_0x5b034e]of _0xe8f2dc)_0x1a6030(0x98)==_0x4f50a1[_0x1a6030(0xad)][_0x1a6030(0x87)](_0x489f8d)[_0x1a6030(0xd5)]()[_0x1a6030(0x7f)][_0x1a6030(0xcd)]&&(te(_0x489f8d[_0x1a6030(0xc7)](':')[0x2],_0x5b034e[_0x1a6030(0xea)](),_0x4f50a1,_0x3bceac),_0x5b034e[_0x1a6030(0xc3)]());_0xe8f2dc[_0x1a6030(0x9d)]();});});}(_0xc7e11f),this[_0xcc7fcd(0x93)][_0xcc7fcd(0x92)](_0x3c273b[_0xcc7fcd(0x97)],_0xcc7fcd(0x95),(_0x3032df,{key:_0x2c41b0})=>{const _0x15e871=_0xcc7fcd;_0x15e871(0xe2)===_0x2c41b0&&function(_0x3dbb21){const _0x11e668=_0x15e871;_0x3dbb21[_0x11e668(0xed)][_0x11e668(0xd1)][_0x11e668(0xe7)](_0x5bbfda=>{const _0x94fdde=_0x11e668;for(const _0x378073 of _0x3dbb21[_0x94fdde(0x9c)][_0x94fdde(0xad)]){if(!_0x378073[_0x94fdde(0xe8)][_0x94fdde(0x80)](_0x94fdde(0xe4)))continue;const _0x2183c7=_0x3dbb21[_0x94fdde(0xed)][_0x94fdde(0x73)][_0x94fdde(0x91)](_0x378073[_0x94fdde(0xe8)]);if(_0x2183c7){for(const _0x55af3d of _0x2183c7)_0x5bbfda[_0x94fdde(0xf1)](_0x94fdde(0xb0),_0x55af3d);}}});}(_0xc7e11f);},{'useCapture':!0x0});}[_0x32326d(0xc4)](){const _0x4d8f67=_0x32326d,_0x5c2899=this[_0x4d8f67(0xc2)],_0x20dc10=_0x5c2899[_0x4d8f67(0xf0)][_0x4d8f67(0x87)](_0x4d8f67(0xdf));_0x20dc10&&_0x5c2899[_0x4d8f67(0x9c)]['on'](_0x4d8f67(0x6b),(_0x19e367,_0x471f28)=>{const _0x688a5f=_0x4d8f67,_0x2cd0f0=_0x471f28[0x0];if(!_0x2cd0f0[_0x688a5f(0x76)])return;if(_0x688a5f(0xdc)!=_0x2cd0f0[_0x688a5f(0xb9)]||!_0x2cd0f0[_0x688a5f(0xe8)][_0x688a5f(0x80)](_0x688a5f(0xde)))return;const _0x597012=_0x2cd0f0[_0x688a5f(0xc1)];_0x20dc10[_0x688a5f(0x96)][_0x688a5f(0xcf)](_0x597012)&&(_0x2cd0f0[_0x688a5f(0xcc)]=_0x2cd0f0[_0x688a5f(0x7b)]?_0x5c2899[_0x688a5f(0x9c)][_0x688a5f(0xa8)](_0x2cd0f0[_0x688a5f(0x7b)][_0x688a5f(0xee)],_0x2cd0f0[_0x688a5f(0x7b)][_0x688a5f(0x78)]):null);},{'priority':_0x4d8f67(0x83)});}[_0x32326d(0xd7)](){const _0xadcc49=_0x32326d;return this[_0xadcc49(0x93)][_0xadcc49(0xeb)](),super[_0xadcc49(0xd7)]();}[_0x32326d(0xd4)](){const _0x4728d8=_0x32326d,_0x329a15=this[_0x4728d8(0xc2)],_0x2cf974=_0x329a15[_0x4728d8(0x9c)][_0x4728d8(0x97)],_0x3817c3=_0x329a15[_0x4728d8(0x8f)][_0x4728d8(0x87)](_0x15ea52);_0x329a15[_0x4728d8(0x9c)][_0x4728d8(0xca)]({'isUndoable':!0x1},_0x50480d=>{const _0x72a901=_0x4728d8,_0x4ff6af=_0x72a901(0xc5)+_0x3817c3[_0x72a901(0x6a)],_0x35ec04=_0x72a901(0xb7)+_0x3817c3[_0x72a901(0x6a)],_0x2a3541=_0x329a15[_0x72a901(0x9c)][_0x72a901(0xad)][_0x72a901(0xcf)](_0x4ff6af);_0x329a15[_0x72a901(0xed)][_0x72a901(0xd1)][_0x72a901(0x88)]?te(_0x3817c3[_0x72a901(0x6a)],_0x2cf974[_0x72a901(0x79)][_0x72a901(0x8d)](),_0x329a15[_0x72a901(0x9c)],_0x50480d):_0x2a3541&&(_0x50480d[_0x72a901(0x94)](_0x4ff6af),_0x50480d[_0x72a901(0x94)](_0x35ec04));});}}function te(_0x23abcc,_0x377ebd,_0x406f49,_0x6e872f){const _0x563019=_0x32326d,_0x152b61=_0x563019(0xc5)+_0x23abcc,_0x148031=_0x563019(0xb7)+_0x23abcc,_0x99f00f=_0x377ebd[_0x563019(0xac)]();let _0x506bc3=_0x377ebd[_0x563019(0xee)];if(_0x99f00f&&_0x99f00f['is'](_0x563019(0xae),_0x563019(0x9b))){const _0x309386=function(_0x5ce791,_0x501136){const _0x545346=_0x563019;for(const _0x2d1fd0 of _0x5ce791[_0x545346(0xe6)]())if(_0x501136[_0x545346(0xa6)][_0x545346(0x68)](_0x2d1fd0,_0x545346(0xec)))return _0x2d1fd0;}(_0x377ebd,_0x406f49);_0x309386&&(_0x506bc3=_0x309386,_0x377ebd=_0x6e872f[_0x563019(0xa8)](_0x506bc3));}const _0x2fc5fa=_0x6e872f[_0x563019(0xa8)](_0x506bc3);_0x406f49[_0x563019(0xad)][_0x563019(0xcf)](_0x152b61)?(_0x6e872f[_0x563019(0xd8)](_0x152b61,{'range':_0x377ebd}),_0x6e872f[_0x563019(0xd8)](_0x148031,{'range':_0x2fc5fa})):(_0x6e872f[_0x563019(0xe0)](_0x152b61,{'range':_0x377ebd,'usingOperation':!0x0}),_0x6e872f[_0x563019(0xe0)](_0x148031,{'range':_0x2fc5fa,'usingOperation':!0x0}));}
|