@ckeditor/ckeditor5-real-time-collaboration 46.1.0-alpha.1 → 46.1.0-alpha.2
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 +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1188(_0xc5b1eb,_0x322cd4){const _0x1d9f94=_0x1d9f();return _0x1188=function(_0x118802,_0x3d9ba6){_0x118802=_0x118802-0x9c;let _0x734066=_0x1d9f94[_0x118802];return _0x734066;},_0x1188(_0xc5b1eb,_0x322cd4);}const _0x526a9d=_0x1188;(function(_0x369c40,_0x21581d){const _0x298d53=_0x1188,_0x5ba765=_0x369c40();while(!![]){try{const _0x351b2b=-parseInt(_0x298d53(0xa8))/0x1+-parseInt(_0x298d53(0xa0))/0x2+-parseInt(_0x298d53(0xae))/0x3+parseInt(_0x298d53(0xbc))/0x4*(parseInt(_0x298d53(0xb2))/0x5)+parseInt(_0x298d53(0xac))/0x6+parseInt(_0x298d53(0xa3))/0x7+-parseInt(_0x298d53(0xb8))/0x8*(-parseInt(_0x298d53(0xc1))/0x9);if(_0x351b2b===_0x21581d)break;else _0x5ba765['push'](_0x5ba765['shift']());}catch(_0x3bb87e){_0x5ba765['push'](_0x5ba765['shift']());}}}(_0x1d9f,0xb8202));import{View as _0x372a37}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x410a0a}from'ckeditor5/src/utils.js';import{getTranslation as _0x3e6697}from'../../common-translations.js';export class PresenceInlineListView extends _0x372a37{[_0x526a9d(0x9c)];[_0x526a9d(0xb3)];constructor(_0x57a760){const _0x1c9a98=_0x526a9d;super(_0x57a760);const _0xccd2e9=this[_0x1c9a98(0xab)];this[_0x1c9a98(0x9c)]=this[_0x1c9a98(0xad)](),this[_0x1c9a98(0xb3)]=new _0x410a0a(),this[_0x1c9a98(0xb1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1c9a98(0xb0)]({'tag':_0x1c9a98(0xaf),'attributes':{'aria-haspopup':_0xccd2e9['if'](_0x1c9a98(0xa2)),'aria-expanded':_0xccd2e9['to'](_0x1c9a98(0xb7),_0x1368fa=>this[_0x1c9a98(0xa2)]&&String(_0x1368fa)),'aria-label':_0xccd2e9['to'](_0x1c9a98(0xa2),_0x553220=>_0x3e6697(_0x57a760,_0x553220?_0x1c9a98(0xa5):_0x1c9a98(0xb6))),'role':_0x1c9a98(0xaa),'tabindex':_0xccd2e9['to'](_0x1c9a98(0xa2),_0x1c9fcf=>!!_0x1c9fcf&&0x0),'class':['ck',_0x1c9a98(0xb5)]},'children':this[_0x1c9a98(0x9c)],'on':{'mouseenter':_0xccd2e9['to'](()=>this[_0x1c9a98(0x9e)](_0x1c9a98(0x9f))),'mouseleave':_0xccd2e9['to'](_0x3d437d=>{const _0x16eb44=_0x1c9a98,_0x4dc664=_0x3d437d,_0x1c99a2=document[_0x16eb44(0xa6)](_0x16eb44(0xb9)),_0x383150=document[_0x16eb44(0xa6)](_0x16eb44(0xb4));_0x1c99a2?.[_0x16eb44(0xbd)](_0x4dc664[_0x16eb44(0xa7)])||_0x383150?.[_0x16eb44(0xbd)](_0x4dc664[_0x16eb44(0xa7)])||this[_0x16eb44(0x9e)](_0x16eb44(0xba));})}}),this['on'](_0x1c9a98(0xa4),(_0x41b063,_0x46ba7f,_0xed323)=>{const _0x554681=_0x1c9a98;this[_0x554681(0xbf)]&&(_0xed323?this[_0x554681(0xbf)][_0x554681(0xbb)](_0x554681(0xbe),String(this[_0x554681(0xb7)])):this[_0x554681(0xbf)][_0x554681(0xa1)](_0x554681(0xbe)));});}[_0x526a9d(0xc0)](){const _0x1e4601=_0x526a9d;this[_0x1e4601(0xbf)][_0x1e4601(0xc0)]();}[_0x526a9d(0xa9)](){const _0x1633d9=_0x526a9d;super[_0x1633d9(0xa9)](),this[_0x1633d9(0xb3)][_0x1633d9(0x9d)](this[_0x1633d9(0xbf)]);}}function _0x1d9f(){const _0xd4bd62=['3074520hwGSnF','div','setTemplate','set','365dTuOvT','keystrokes','.ck-balloon-panel_with-arrow','ck-presence-list__list','Connected\x20users\x20list','isExpanded','8BFASmA','.ck-presence-list__dropdown-list','presencelist:hide','setAttribute','63124kAxFor','contains','aria-expanded','element','focus','11569518TckiIp','items','listenTo','fire','presencelist:show','2712032kePXZa','removeAttribute','hasPopup','6873132xZnpHL','change:hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','relatedTarget','1306452auruzV','render','list','bindTemplate','6132570FyWCFT','createCollection'];_0x1d9f=function(){return _0xd4bd62;};return _0x1d9f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d1e5a=_0x52b0;(function(_0x11f5e6,_0xa3c5dc){const _0x16c21e=_0x52b0,_0xd6bc2d=_0x11f5e6();while(!![]){try{const _0x5ae796=-parseInt(_0x16c21e(0x1b4))/0x1*(parseInt(_0x16c21e(0x1aa))/0x2)+parseInt(_0x16c21e(0x1a9))/0x3+parseInt(_0x16c21e(0x1ad))/0x4+parseInt(_0x16c21e(0x1b3))/0x5+-parseInt(_0x16c21e(0x1c1))/0x6*(parseInt(_0x16c21e(0x1b0))/0x7)+parseInt(_0x16c21e(0x1b5))/0x8*(-parseInt(_0x16c21e(0x1bb))/0x9)+parseInt(_0x16c21e(0x1b2))/0xa*(-parseInt(_0x16c21e(0x1af))/0xb);if(_0x5ae796===_0xa3c5dc)break;else _0xd6bc2d['push'](_0xd6bc2d['shift']());}catch(_0x776446){_0xd6bc2d['push'](_0xd6bc2d['shift']());}}}(_0x2d61,0xe79ec));import{View as _0x3a5119}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x215735}from'./presencecounterview.js';import{PresenceInlineListView as _0x3208aa}from'./presenceinlinelistview.js';function _0x52b0(_0x364378,_0x1095ef){const _0x2d6192=_0x2d61();return _0x52b0=function(_0x52b0d3,_0x34cc87){_0x52b0d3=_0x52b0d3-0x1a6;let _0x594f89=_0x2d6192[_0x52b0d3];return _0x594f89;},_0x52b0(_0x364378,_0x1095ef);}function _0x2d61(){const _0x293a97=['hasPopup','first','div','1206981MCbjte','items','tooltipPosition','ck-reset','setTemplate','change','3109326jnTgGY','listenTo','isCollapsed','locale','bindTemplate','ck-presence-list--collapsed','4794432biOZRA','2GcQPEi','counterView','bind','6504516epTxMQ','set','1529BMzqEC','14iCeMGV','ck-presence-list','66530fbaPrH','6285345evwlvd','766763KhRIND','48WuEQAV','inlineListView','ck-rounded-corners'];_0x2d61=function(){return _0x293a97;};return _0x2d61();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x3a5119{[_0x5d1e5a(0x1ab)];[_0x5d1e5a(0x1b6)];constructor(_0x1506d0,_0x54897f=0x6){const _0x1f71e5=_0x5d1e5a;super(_0x1506d0);const _0x502fe7=this[_0x1f71e5(0x1a7)];this[_0x1f71e5(0x1ae)](_0x1f71e5(0x1c3),!0x0),this[_0x1f71e5(0x1ab)]=new _0x215735(this[_0x1f71e5(0x1a6)],_0x54897f),this[_0x1f71e5(0x1b6)]=new _0x3208aa(_0x1506d0),this[_0x1f71e5(0x1b6)][_0x1f71e5(0x1ac)](_0x1f71e5(0x1b8))['to'](this,_0x1f71e5(0x1c3)),this[_0x1f71e5(0x1c2)](this[_0x1f71e5(0x1b6)][_0x1f71e5(0x1bc)],_0x1f71e5(0x1c0),()=>{const _0x5971f9=_0x1f71e5;for(const _0x52a3ec of this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)])_0x52a3ec[_0x5971f9(0x1bd)]='s';this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)][_0x5971f9(0x1b9)]&&(this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)][_0x5971f9(0x1b9)][_0x5971f9(0x1bd)]='se');}),this[_0x1f71e5(0x1bf)]({'tag':_0x1f71e5(0x1ba),'attributes':{'class':['ck',_0x1f71e5(0x1b1),_0x1f71e5(0x1be),_0x1f71e5(0x1b7),_0x502fe7['if'](_0x1f71e5(0x1c3),_0x1f71e5(0x1a8))]},'children':[this[_0x1f71e5(0x1b6)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4a04ef=_0x71f3;(function(_0x17e10f,_0x39e9fd){var _0x423ded=_0x71f3,_0x2605f1=_0x17e10f();while(!![]){try{var _0x24b13b=parseInt(_0x423ded(0x125))/0x1+parseInt(_0x423ded(0x12d))/0x2*(parseInt(_0x423ded(0x128))/0x3)+parseInt(_0x423ded(0x127))/0x4+parseInt(_0x423ded(0x12f))/0x5*(-parseInt(_0x423ded(0x12e))/0x6)+-parseInt(_0x423ded(0x124))/0x7*(-parseInt(_0x423ded(0x122))/0x8)+parseInt(_0x423ded(0x12b))/0x9+-parseInt(_0x423ded(0x129))/0xa;if(_0x24b13b===_0x39e9fd)break;else _0x2605f1['push'](_0x2605f1['shift']());}catch(_0x54ceb4){_0x2605f1['push'](_0x2605f1['shift']());}}}(_0x3ae8,0x739a2));function _0x3ae8(){var _0x498a2b=['isOfficialPlugin','2477016dHBwmN','9171YawtvX','10647070wLPvRM','requires','7727031wmxHbx','isPremiumPlugin','34dtOJGw','42pbdMKH','619825OCKnnx','pluginName','32giIWPU','PresenceList','828583jVrXNL','402710HNVCRM'];_0x3ae8=function(){return _0x498a2b;};return _0x3ae8();}import{ContextPlugin as _0xcc011e}from'ckeditor5/src/core.js';function _0x71f3(_0x1efc51,_0x3a59d3){var _0x3ae8e7=_0x3ae8();return _0x71f3=function(_0x71f30e,_0x85065d){_0x71f30e=_0x71f30e-0x121;var _0x158eb2=_0x3ae8e7[_0x71f30e];return _0x158eb2;},_0x71f3(_0x1efc51,_0x3a59d3);}import{Sessions as _0x57252d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x144019}from'./presencelist/presencelistui.js';export class PresenceList extends _0xcc011e{static get[_0x4a04ef(0x12a)](){return[_0x57252d,_0x144019];}static get[_0x4a04ef(0x121)](){var _0x39f092=_0x4a04ef;return _0x39f092(0x123);}static get[_0x4a04ef(0x126)](){return!0x0;}static get[_0x4a04ef(0x12c)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x10a965)());[_0x1e0912(0x132)];static get[_0x1e0912(0x16a)](){const _0xa75286=_0x1e0912;return[_0x518ec5,_0xa75286(0x10c),_0x3fc0ec,_0x2eb7dd];}static get[_0x1e0912(0x15b)](){const _0x89d248=_0x1e0912;return _0x89d248(0x10f);}static get[_0x1e0912(0x147)](){return!0x0;}static get[_0x1e0912(0x11f)](){return!0x0;}constructor(_0xd5d977){const _0x53111f=_0x1e0912;super(_0xd5d977),this[_0x53111f(0x132)]=new Map();}async[_0x1e0912(0x13c)](){const _0xf589a9=_0x1e0912,_0x4c060b=this[_0xf589a9(0x11d)],_0x4b6ada=_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0xf589a9(0x10c));if(_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0x518ec5)[_0xf589a9(0x164)](this),_0x4b6ada[_0xf589a9(0x129)]={'addCommentThread':async({channelId:_0x41e1e6,threadId:_0x16f2c6,comments:_0x1d4550,resolvedAt:_0x56db34,resolvedBy:_0x37e630,context:_0x232c4d,attributes:_0x3c46a2})=>{const _0x34ecef=_0xf589a9,_0x5f515f=await this[_0x34ecef(0x122)](_0x41e1e6)[_0x34ecef(0x109)]({'commentThreadId':_0x16f2c6,'comments':_0x1d4550[_0x34ecef(0x120)](_0x14a1c5=>function(_0x320257,_0x1a3889,_0x210b3e){const _0x4b45f1=_0x34ecef;return{'commentThreadId':_0x210b3e,'commentId':_0x320257[_0x4b45f1(0x143)],'userId':_0x320257[_0x4b45f1(0x111)],'content':_0x320257[_0x4b45f1(0x140)],'documentId':_0x1a3889,'createdAt':_0x320257[_0x4b45f1(0x12f)],'attributes':_0x320257[_0x4b45f1(0x13e)]||{}};}(_0x14a1c5,_0x41e1e6,_0x16f2c6)),'resolvedAt':_0x56db34,'resolvedBy':_0x37e630,'context':_0x232c4d,'attributes':_0x3c46a2})[_0x34ecef(0x158)](k);return{'threadId':_0x5f515f[_0x34ecef(0x159)],'comments':_0x5f515f[_0x34ecef(0x113)]};},'getCommentThread':async({channelId:_0x3b4ddc,threadId:_0x3a8441})=>{const _0x49cd10=_0xf589a9,_0x14e9ff=await this[_0x49cd10(0x122)](_0x3b4ddc)[_0x49cd10(0x146)](_0x3a8441)[_0x49cd10(0x158)](F)[_0x49cd10(0x158)](k);return _0x14e9ff?_0x14e9ff[_0x49cd10(0x162)]?null:(await this[_0x49cd10(0x10a)]([_0x14e9ff]),{'threadId':_0x14e9ff[_0x49cd10(0x159)],'comments':_0x14e9ff[_0x49cd10(0x113)][_0x49cd10(0x120)](B),'context':_0x14e9ff[_0x49cd10(0x11d)],'resolvedAt':_0x14e9ff[_0x49cd10(0x11b)],'resolvedBy':_0x14e9ff[_0x49cd10(0x11a)],'attributes':_0x14e9ff[_0x49cd10(0x13e)]||{}}):null;},'updateCommentThread':async({channelId:_0x5f2c94,threadId:_0x2b8b15,context:_0x4ca562,unlinkedAt:_0x4a9497,attributes:_0x4693d8})=>this[_0xf589a9(0x122)](_0x5f2c94)[_0xf589a9(0x14a)]({'commentThreadId':_0x2b8b15,'context':_0x4ca562,'attributes':_0x4693d8,'unlinkedAt':_0x4a9497})[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'resolveCommentThread':async({channelId:_0x3858db,threadId:_0x5a34a0})=>{const _0x2898d7=_0xf589a9,_0x44002d=await this[_0x2898d7(0x122)](_0x3858db)[_0x2898d7(0x153)](_0x5a34a0)[_0x2898d7(0x158)](F)[_0x2898d7(0x158)](k);return{'threadId':_0x44002d[_0x2898d7(0x159)],'resolvedAt':_0x44002d[_0x2898d7(0x11b)],'resolvedBy':_0x44002d[_0x2898d7(0x11a)]};},'reopenCommentThread':async({channelId:_0x415439,threadId:_0x43435b})=>this[_0xf589a9(0x122)](_0x415439)[_0xf589a9(0x14f)](_0x43435b)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'removeCommentThread':({channelId:_0x518425,threadId:_0xd9389e})=>this[_0xf589a9(0x122)](_0x518425)[_0xf589a9(0x123)](_0xd9389e)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'addComment':({channelId:_0x46d6f3,threadId:_0x44d4ac,commentId:_0x308152,content:_0x1b1d31,attributes:_0x32c634})=>this[_0xf589a9(0x122)](_0x46d6f3)[_0xf589a9(0x13d)](_0x44d4ac,_0x308152,_0x1b1d31,_0x32c634)[_0xf589a9(0x158)](k),'updateComment':({channelId:_0x4efbc8,threadId:_0x187fde,commentId:_0x355097,content:_0x4245a2,attributes:_0x50f428})=>this[_0xf589a9(0x122)](_0x4efbc8)[_0xf589a9(0x15d)](_0x187fde,_0x355097,_0x4245a2,_0x50f428)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k),'removeComment':({channelId:_0x2d0361,threadId:_0x11be0c,commentId:_0x43bb66})=>this[_0xf589a9(0x122)](_0x2d0361)[_0xf589a9(0x161)](_0x11be0c,_0x43bb66)[_0xf589a9(0x158)](F)[_0xf589a9(0x158)](k)},_0x4c060b instanceof _0x4b9e9){const _0x18d3cd=_0x4c060b[_0xf589a9(0x149)][_0xf589a9(0x163)](_0xf589a9(0x144)),_0x228068=_0x4c060b[_0xf589a9(0x14b)][_0xf589a9(0x163)](_0x3fc0ec);await this[_0xf589a9(0x15c)](_0x18d3cd);const _0x22b62d=await this[_0xf589a9(0x132)][_0xf589a9(0x163)](_0x18d3cd)[_0xf589a9(0x131)]();this[_0xf589a9(0x165)](_0x228068,_0xf589a9(0x157)+_0x18d3cd,(_0x8cfd7a,{session:_0x673ad1})=>{const _0x3a1fab=_0xf589a9;_0x673ad1['id']===_0x228068[_0x3a1fab(0x126)]&&(_0x8cfd7a[_0x3a1fab(0x130)](),this[_0x3a1fab(0x11d)][_0x3a1fab(0x14b)][_0x3a1fab(0x163)](_0x3a1fab(0x11c))[_0x3a1fab(0x151)](_0x673ad1[_0x3a1fab(0x135)],_0x18d3cd));}),_0x228068[_0xf589a9(0x13a)](_0x18d3cd,_0x22b62d);}}async[_0x1e0912(0x15c)](_0x58b648){const _0x2c52dd=_0x1e0912;if(this[_0x2c52dd(0x132)][_0x2c52dd(0x10b)](_0x58b648))throw new _0x1bbc76(_0x2c52dd(0x107),null,{'channelId':_0x58b648});const _0x456849=this[_0x2c52dd(0x11d)][_0x2c52dd(0x14b)][_0x2c52dd(0x163)](_0x2c52dd(0x10c)),_0x2e9c1b=new s[(_0x2c52dd(0x169))](_0x58b648);this[_0x2c52dd(0x132)][_0x2c52dd(0x121)](_0x58b648,_0x2e9c1b),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x142),(_0x13899c,_0x226738)=>{const _0x442ac4=_0x2c52dd,{commentThreadId:_0x2d3dc3,documentId:_0x10fac8,context:_0x1ce843,attributes:_0x21076d,resolvedAt:_0x2159eb,resolvedBy:_0xb29625,comments:_0x2c63e9}=_0x226738;_0x456849[_0x442ac4(0x146)](_0x2d3dc3)||_0x456849[_0x442ac4(0x109)]({'threadId':_0x2d3dc3,'channelId':_0x10fac8,'comments':_0x2c63e9?_0x2c63e9[_0x442ac4(0x120)](B):[],'context':_0x1ce843,'attributes':_0x21076d,'resolvedAt':_0x2159eb,'resolvedBy':_0xb29625,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x136),(_0x3ead4a,{commentThreadId:_0x1d014a,documentId:_0x50d7f1,context:_0x5f5360,unlinkedAt:_0x45edbb,attributes:_0x367e35})=>{const _0x10de8a=_0x2c52dd;_0x456849[_0x10de8a(0x146)](_0x1d014a)&&_0x456849[_0x10de8a(0x14a)]({'threadId':_0x1d014a,'channelId':_0x50d7f1,'context':_0x5f5360,'unlinkedAt':_0x45edbb,'attributes':_0x367e35,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x11e),(_0x12e9f9,{commentThreadId:_0x3dcfcd,resolvedBy:_0x3df38d,resolvedAt:_0x43d002})=>{const _0x5bc27e=_0x2c52dd,_0x2a3c7b=_0x456849[_0x5bc27e(0x146)](_0x3dcfcd);_0x2a3c7b&&_0x2a3c7b[_0x5bc27e(0x166)]({'resolvedBy':_0x3df38d,'resolvedAt':_0x43d002,'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x119),(_0x4458b9,{commentThreadId:_0x57ca91})=>{const _0x2a0898=_0x2c52dd,_0x505da0=_0x456849[_0x2a0898(0x146)](_0x57ca91);_0x505da0&&_0x505da0[_0x2a0898(0x134)]({'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x128),(_0x34e037,{commentThreadId:_0x2ebb35})=>{const _0x16adf0=_0x2c52dd,_0x50eecc=_0x456849[_0x16adf0(0x146)](_0x2ebb35);_0x50eecc&&_0x50eecc[_0x16adf0(0x141)]({'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x139),(_0x25fe1c,_0x39f36b)=>{const _0x233588=_0x2c52dd,_0x1be920=_0x39f36b[_0x233588(0x159)],_0x191347=_0x456849[_0x233588(0x146)](_0x1be920);_0x191347&&_0x191347[_0x233588(0x13d)]({...B(_0x39f36b),'isFromAdapter':!0x0});}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x12e),(_0x219336,{commentThreadId:_0x20cffa,commentId:_0x190e24,content:_0x2340a4,attributes:_0x53d754})=>{const _0x4df7c4=_0x2c52dd,_0x2fd03e=_0x456849[_0x4df7c4(0x146)](_0x20cffa);if(_0x2fd03e){const _0x9314a2=_0x2fd03e[_0x4df7c4(0x12b)](_0x190e24);_0x9314a2&&_0x9314a2[_0x4df7c4(0x16b)]({'content':_0x2340a4,'attributes':_0x53d754,'isFromAdapter':!0x0});}}),this[_0x2c52dd(0x165)](_0x2e9c1b,_0x2c52dd(0x15a),(_0x5c9f41,{commentThreadId:_0x15d733,commentId:_0x2e424b})=>{const _0x2b3d74=_0x2c52dd,_0x3de68b=_0x456849[_0x2b3d74(0x146)](_0x15d733);if(_0x3de68b){const _0x48543a=_0x3de68b[_0x2b3d74(0x12b)](_0x2e424b);_0x48543a&&_0x48543a[_0x2b3d74(0x141)]({'isFromAdapter':!0x0});}}),await this[_0x2c52dd(0x133)](_0x58b648);}[_0x1e0912(0x168)](){const _0x26de90=_0x1e0912;if(this[_0x26de90(0x11d)]instanceof _0x4b9e9){const _0x374ab0=this[_0x26de90(0x11d)][_0x26de90(0x149)][_0x26de90(0x163)](_0x26de90(0x144));this[_0x26de90(0x14c)](_0x374ab0);}}[_0x1e0912(0x14c)](_0x1ee743){const _0x1e758e=_0x1e0912;if(!this[_0x1e758e(0x132)][_0x1e758e(0x10b)](_0x1ee743))throw new _0x1bbc76(_0x1e758e(0x152),null,{'channelId':_0x1ee743});this[_0x1e758e(0x122)](_0x1ee743)[_0x1e758e(0x124)](),this[_0x1e758e(0x132)][_0x1e758e(0x12d)](_0x1ee743);}async[_0x1e0912(0x155)](){const _0x3f1213=_0x1e0912;for(const _0x5242a9 of this[_0x3f1213(0x132)][_0x3f1213(0x160)]())await this[_0x3f1213(0x133)](_0x5242a9);if(this[_0x3f1213(0x11d)]instanceof _0x4b9e9){const _0x46c3ba=this[_0x3f1213(0x11d)][_0x3f1213(0x149)][_0x3f1213(0x163)](_0x3f1213(0x144)),_0x24655b=this[_0x3f1213(0x11d)][_0x3f1213(0x14b)][_0x3f1213(0x163)](_0x3fc0ec);_0x24655b[_0x3f1213(0x154)](_0x46c3ba);const _0x401381=await this[_0x3f1213(0x132)][_0x3f1213(0x163)](_0x46c3ba)[_0x3f1213(0x131)]();_0x24655b[_0x3f1213(0x13a)](_0x46c3ba,_0x401381);}}async[_0x1e0912(0x133)](_0x4d9f31){const _0x5f2be4=_0x1e0912,{connection:_0x28082e}=this[_0x5f2be4(0x11d)][_0x5f2be4(0x14b)][_0x5f2be4(0x163)](_0x518ec5),_0x1c0f50=this[_0x5f2be4(0x11d)][_0x5f2be4(0x14b)][_0x5f2be4(0x163)](_0x5f2be4(0x10c)),_0x4d2600=this[_0x5f2be4(0x132)][_0x5f2be4(0x163)](_0x4d9f31),_0x16b608=await _0x4d2600[_0x5f2be4(0x15f)](_0x28082e);await this[_0x5f2be4(0x10a)](_0x16b608);const _0x585706=new Set(Array[_0x5f2be4(0x116)](_0x1c0f50[_0x5f2be4(0x125)]({'channelId':_0x4d9f31}),_0x57708f=>_0x57708f['id']));for(const _0x1f2e76 of _0x16b608)_0x1f2e76[_0x5f2be4(0x162)]||_0x585706[_0x5f2be4(0x12d)](_0x1f2e76[_0x5f2be4(0x159)]);for(const _0x5acf6b of _0x585706)_0x1c0f50[_0x5f2be4(0x146)](_0x5acf6b)[_0x5f2be4(0x141)]({'isFromAdapter':!0x0});for(const _0x5233c4 of _0x16b608){let _0x52c978=_0x1c0f50[_0x5f2be4(0x146)](_0x5233c4[_0x5f2be4(0x159)]);const {commentThreadId:_0x5ad864,context:_0x5176a8,attributes:_0x35d663,resolvedBy:_0x501016,resolvedAt:_0x5a94df,unlinkedAt:_0x275c09,deletedAt:_0x1ab6fc}=_0x5233c4;if(_0x1ab6fc)continue;_0x52c978||(_0x52c978=_0x1c0f50[_0x5f2be4(0x109)]({'channelId':_0x4d9f31,'threadId':_0x5ad864,'context':_0x5176a8,'attributes':_0x35d663||{},'resolvedBy':_0x501016,'resolvedAt':_0x5a94df,'unlinkedAt':_0x275c09,'isFromAdapter':!0x0}));const _0x37cb1c=new Set(Array[_0x5f2be4(0x116)](_0x52c978[_0x5f2be4(0x113)],_0x410ae0=>_0x410ae0['id']));for(const _0x2f1e63 of _0x5233c4[_0x5f2be4(0x113)])_0x37cb1c[_0x5f2be4(0x12d)](_0x2f1e63[_0x5f2be4(0x143)]);for(const _0x4d0574 of _0x37cb1c)_0x52c978[_0x5f2be4(0x12b)](_0x4d0574)[_0x5f2be4(0x141)]({'isFromAdapter':!0x0});for(const _0x1fb108 of _0x5233c4[_0x5f2be4(0x113)]){const _0x11372a=_0x52c978[_0x5f2be4(0x12b)](_0x1fb108[_0x5f2be4(0x143)]);_0x11372a?_0x11372a[_0x5f2be4(0x140)]!==_0x1fb108[_0x5f2be4(0x140)]&&_0x11372a[_0x5f2be4(0x16b)]({'content':_0x1fb108[_0x5f2be4(0x140)],'isFromAdapter':!0x0}):_0x52c978[_0x5f2be4(0x13d)](Object[_0x5f2be4(0x167)](B(_0x1fb108),{'isFromAdapter':!0x0}));}}}[_0x1e0912(0x122)](_0x54049e){const _0x1a1dd9=_0x1e0912;if(!this[_0x1a1dd9(0x132)][_0x1a1dd9(0x10b)](_0x54049e))throw new _0x1bbc76(_0x1a1dd9(0x14d),null,{'channelId':_0x54049e});return this[_0x1a1dd9(0x132)][_0x1a1dd9(0x163)](_0x54049e);}async[_0x1e0912(0x10a)](_0x17f02a){const _0x3c0f09=_0x1e0912,_0x1ca585=this[_0x3c0f09(0x11d)][_0x3c0f09(0x14b)][_0x3c0f09(0x163)](_0x2eb7dd),{connection:_0x17c712}=this[_0x3c0f09(0x11d)][_0x3c0f09(0x14b)][_0x3c0f09(0x163)](_0x518ec5),_0x2c77a7=new Set();for(const {resolvedBy:_0x2ffc43,comments:_0xb75b28}of _0x17f02a){_0x2ffc43&&!_0x1ca585[_0x3c0f09(0x137)](_0x2ffc43)&&_0x2c77a7[_0x3c0f09(0x145)](_0x2ffc43);for(const {userId:_0x25471b}of _0xb75b28)_0x1ca585[_0x3c0f09(0x137)](_0x25471b)||_0x2c77a7[_0x3c0f09(0x145)](_0x25471b);}if(0x0===_0x2c77a7[_0x3c0f09(0x112)])return;const _0x13928b=await _0x224393[_0x3c0f09(0x117)](_0x17c712,Array[_0x3c0f09(0x116)](_0x2c77a7));for(const _0x1f9e39 of _0x13928b)_0x1ca585[_0x3c0f09(0x137)](_0x1f9e39['id'])||_0x1ca585[_0x3c0f09(0x115)](_0x1f9e39);}}export{s as CloudServicesCommentsAdapter};async function F(_0x34fe5a){const _0x5f3b73=_0x1e0912;if(_0x5f3b73(0x118)!==_0x34fe5a[_0x5f3b73(0x148)])throw _0x34fe5a;}function k(_0x1b2354){const _0x3dfe1f=_0x1e0912;if((_0x3cffbe=_0x1b2354)[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x13b))||_0x3cffbe[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x138))||_0x3cffbe[_0x3dfe1f(0x15e)][_0x3dfe1f(0x156)](_0x3dfe1f(0x10d)))return new Promise(()=>{});var _0x3cffbe;throw _0x1b2354;}function B(_0x273970){const _0x21dfcd=_0x1e0912;return{'threadId':_0x273970[_0x21dfcd(0x159)],'commentId':_0x273970[_0x21dfcd(0x143)],'content':_0x273970[_0x21dfcd(0x140)],'createdAt':_0x273970[_0x21dfcd(0x12f)],'authorId':_0x273970[_0x21dfcd(0x106)],'attributes':_0x273970[_0x21dfcd(0x13e)]||{}};}
|
|
23
|
+
function _0x307e(){const _0x112758=['authorId','resolvedAt','config','_getService','keys','updateComment','assign','requires','commentId','getMany','_connectService','message','comments','117XHcSxI','commentThreadResolved','remove','permissions','pluginName','setPermissions','CommentsService','2441886TdDZbK','size','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Not\x20connected.','reopen','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','Permissions','resolve','260atgPDq','cloudservicescommentsadapter-disconnect-not-exist','commentThreadAdded','getUser','mySessionId','resolveCommentThread','commentThreadUpdated','unregister','connect','_terminateService','getCommentThread','2782801uagKHR','content','cloudservicescommentsadapter-service-not-exist','from','83814hrUcFv','has','addUser','CloudServicesCommentsAdapter','update','attributes','resolvedBy','addToReconnectionStack','commentRemoved','commentUpdated','code','_services','context','sessionAdd:','addCommentThread','get','isPremiumPlugin','map','171656ZJoBsI','adapter','commentThreadRemoved','catch','userId','isOfficialPlugin','reopenCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','commentThreadReopened','removeComment','getCommentThreads','getComment','8681FENeTk','CommentsRepository','register','1373610dwTcOe','commentAdded','1206960QpCjjO','init','commentThreadId','off','set','addComment','startsWith','add','reconnect','2gIsizV','destroy','collaboration.channelId','deletedAt','updateCommentThread','_setUpService','plugins','cloudservicescommentsadapter-connect-already-connected','404','removeCommentThread','disconnect','getConnectedSessions','delete','createdAt'];_0x307e=function(){return _0x112758;};return _0x307e();}const _0x4f273f=_0x5b91;(function(_0x42f96b,_0x30e6b8){const _0x3522ad=_0x5b91,_0x448dad=_0x42f96b();while(!![]){try{const _0x252258=-parseInt(_0x3522ad(0x143))/0x1*(parseInt(_0x3522ad(0x151))/0x2)+-parseInt(_0x3522ad(0x173))/0x3+parseInt(_0x3522ad(0x148))/0x4+-parseInt(_0x3522ad(0x17b))/0x5*(-parseInt(_0x3522ad(0x18a))/0x6)+parseInt(_0x3522ad(0x186))/0x7+-parseInt(_0x3522ad(0x19c))/0x8*(parseInt(_0x3522ad(0x16c))/0x9)+parseInt(_0x3522ad(0x146))/0xa;if(_0x252258===_0x30e6b8)break;else _0x448dad['push'](_0x448dad['shift']());}catch(_0x39abc2){_0x448dad['push'](_0x448dad['shift']());}}}(_0x307e,0x70a88));import{Context as _0x3a48f1,ContextPlugin as _0x39ba65}from'ckeditor5/src/core.js';import{CKEditorError as _0x57b31f}from'ckeditor5/src/utils.js';import{Users as _0x3edf02}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3d1b83,User as _0x578d72}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1339d1}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x95d09b}from'../realtimecollaborativeediting/sessions.js';class s extends _0x39ba65{static [_0x4f273f(0x172)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3d1b83)());[_0x4f273f(0x195)];static get[_0x4f273f(0x166)](){const _0x2af247=_0x4f273f;return[_0x1339d1,_0x2af247(0x144),_0x95d09b,_0x3edf02];}static get[_0x4f273f(0x170)](){const _0x7cdf6d=_0x4f273f;return _0x7cdf6d(0x18d);}static get[_0x4f273f(0x1a1)](){return!0x0;}static get[_0x4f273f(0x19a)](){return!0x0;}constructor(_0xa1aee8){const _0x55fb31=_0x4f273f;super(_0xa1aee8),this[_0x55fb31(0x195)]=new Map();}async[_0x4f273f(0x149)](){const _0x12d27f=_0x4f273f,_0x1bf5aa=this[_0x12d27f(0x196)],_0x3e78c1=_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x12d27f(0x144));if(_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x1339d1)[_0x12d27f(0x191)](this),_0x3e78c1[_0x12d27f(0x19d)]={'addCommentThread':async({channelId:_0x3a5767,threadId:_0x3768b4,comments:_0x1c3379,resolvedAt:_0x58a212,resolvedBy:_0x26070a,context:_0x59beb0,attributes:_0x55a9c7})=>{const _0x44c0f9=_0x12d27f,_0x2fae06=await this[_0x44c0f9(0x162)](_0x3a5767)[_0x44c0f9(0x198)]({'commentThreadId':_0x3768b4,'comments':_0x1c3379[_0x44c0f9(0x19b)](_0x439a91=>function(_0x53bfc7,_0x19b6cf,_0x3ce611){const _0x30d092=_0x44c0f9;return{'commentThreadId':_0x3ce611,'commentId':_0x53bfc7[_0x30d092(0x167)],'userId':_0x53bfc7[_0x30d092(0x15f)],'content':_0x53bfc7[_0x30d092(0x187)],'documentId':_0x19b6cf,'createdAt':_0x53bfc7[_0x30d092(0x15e)],'attributes':_0x53bfc7[_0x30d092(0x18f)]||{}};}(_0x439a91,_0x3a5767,_0x3768b4)),'resolvedAt':_0x58a212,'resolvedBy':_0x26070a,'context':_0x59beb0,'attributes':_0x55a9c7})[_0x44c0f9(0x19f)](A);return{'threadId':_0x2fae06[_0x44c0f9(0x14a)],'comments':_0x2fae06[_0x44c0f9(0x16b)]};},'getCommentThread':async({channelId:_0x175a1a,threadId:_0x2b41b3})=>{const _0x4d85ed=_0x12d27f,_0x1b657b=await this[_0x4d85ed(0x162)](_0x175a1a)[_0x4d85ed(0x185)](_0x2b41b3)[_0x4d85ed(0x19f)](v)[_0x4d85ed(0x19f)](A);return _0x1b657b?_0x1b657b[_0x4d85ed(0x154)]?null:(await this[_0x4d85ed(0x175)]([_0x1b657b]),{'threadId':_0x1b657b[_0x4d85ed(0x14a)],'comments':_0x1b657b[_0x4d85ed(0x16b)][_0x4d85ed(0x19b)](p),'context':_0x1b657b[_0x4d85ed(0x196)],'resolvedAt':_0x1b657b[_0x4d85ed(0x160)],'resolvedBy':_0x1b657b[_0x4d85ed(0x190)],'attributes':_0x1b657b[_0x4d85ed(0x18f)]||{}}):null;},'updateCommentThread':async({channelId:_0x1e4a42,threadId:_0x598177,context:_0x511fad,unlinkedAt:_0x39f4c5,attributes:_0x129a69})=>this[_0x12d27f(0x162)](_0x1e4a42)[_0x12d27f(0x155)]({'commentThreadId':_0x598177,'context':_0x511fad,'attributes':_0x129a69,'unlinkedAt':_0x39f4c5})[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'resolveCommentThread':async({channelId:_0x34ae6c,threadId:_0x441873})=>{const _0x2fe06f=_0x12d27f,_0x3f9c82=await this[_0x2fe06f(0x162)](_0x34ae6c)[_0x2fe06f(0x180)](_0x441873)[_0x2fe06f(0x19f)](v)[_0x2fe06f(0x19f)](A);return{'threadId':_0x3f9c82[_0x2fe06f(0x14a)],'resolvedAt':_0x3f9c82[_0x2fe06f(0x160)],'resolvedBy':_0x3f9c82[_0x2fe06f(0x190)]};},'reopenCommentThread':async({channelId:_0x1aa740,threadId:_0x104c19})=>this[_0x12d27f(0x162)](_0x1aa740)[_0x12d27f(0x1a2)](_0x104c19)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'removeCommentThread':({channelId:_0x43d306,threadId:_0x54f1f8})=>this[_0x12d27f(0x162)](_0x43d306)[_0x12d27f(0x15a)](_0x54f1f8)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'addComment':({channelId:_0x2e5517,threadId:_0x5b24c8,commentId:_0x3613dc,content:_0x3df3c4,attributes:_0x5c3d2a})=>this[_0x12d27f(0x162)](_0x2e5517)[_0x12d27f(0x14d)](_0x5b24c8,_0x3613dc,_0x3df3c4,_0x5c3d2a)[_0x12d27f(0x19f)](A),'updateComment':({channelId:_0x781022,threadId:_0x1c1b2e,commentId:_0x35cb7c,content:_0x32d700,attributes:_0x2de351})=>this[_0x12d27f(0x162)](_0x781022)[_0x12d27f(0x164)](_0x1c1b2e,_0x35cb7c,_0x32d700,_0x2de351)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'removeComment':({channelId:_0x4d9746,threadId:_0x3a2df2,commentId:_0x92bf04})=>this[_0x12d27f(0x162)](_0x4d9746)[_0x12d27f(0x140)](_0x3a2df2,_0x92bf04)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A)},_0x1bf5aa instanceof _0x3a48f1){const _0x5ad6c2=_0x1bf5aa[_0x12d27f(0x161)][_0x12d27f(0x199)](_0x12d27f(0x153)),_0x2e6e8c=_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x95d09b);await this[_0x12d27f(0x156)](_0x5ad6c2);const _0x5dfda8=await this[_0x12d27f(0x195)][_0x12d27f(0x199)](_0x5ad6c2)[_0x12d27f(0x15c)]();this[_0x12d27f(0x1a4)](_0x2e6e8c,_0x12d27f(0x197)+_0x5ad6c2,(_0x5ba06a,{session:_0x253b03})=>{const _0x3d3e53=_0x12d27f;_0x253b03['id']===_0x2e6e8c[_0x3d3e53(0x17f)]&&(_0x5ba06a[_0x3d3e53(0x14b)](),this[_0x3d3e53(0x196)][_0x3d3e53(0x157)][_0x3d3e53(0x199)](_0x3d3e53(0x179))[_0x3d3e53(0x171)](_0x253b03[_0x3d3e53(0x16f)],_0x5ad6c2));}),_0x2e6e8c[_0x12d27f(0x145)](_0x5ad6c2,_0x5dfda8);}}async[_0x4f273f(0x156)](_0x31b4b7){const _0x111034=_0x4f273f;if(this[_0x111034(0x195)][_0x111034(0x18b)](_0x31b4b7))throw new _0x57b31f(_0x111034(0x158),null,{'channelId':_0x31b4b7});const _0x5beae3=this[_0x111034(0x196)][_0x111034(0x157)][_0x111034(0x199)](_0x111034(0x144)),_0x428b3e=new s[(_0x111034(0x172))](_0x31b4b7);this[_0x111034(0x195)][_0x111034(0x14c)](_0x31b4b7,_0x428b3e),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x17d),(_0x483abc,_0x308cd2)=>{const _0x2c9a48=_0x111034,{commentThreadId:_0x6ec20a,documentId:_0x1f7329,context:_0x3597f9,attributes:_0x40120f,resolvedAt:_0x23dd3f,resolvedBy:_0x4d8623,comments:_0x643edd}=_0x308cd2;_0x5beae3[_0x2c9a48(0x185)](_0x6ec20a)||_0x5beae3[_0x2c9a48(0x198)]({'threadId':_0x6ec20a,'channelId':_0x1f7329,'comments':_0x643edd?_0x643edd[_0x2c9a48(0x19b)](p):[],'context':_0x3597f9,'attributes':_0x40120f,'resolvedAt':_0x23dd3f,'resolvedBy':_0x4d8623,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x181),(_0x16a979,{commentThreadId:_0xbb9198,documentId:_0x23a25d,context:_0x2cb4e8,unlinkedAt:_0xcf7aac,attributes:_0xf87fe7})=>{const _0x25508c=_0x111034;_0x5beae3[_0x25508c(0x185)](_0xbb9198)&&_0x5beae3[_0x25508c(0x155)]({'threadId':_0xbb9198,'channelId':_0x23a25d,'context':_0x2cb4e8,'unlinkedAt':_0xcf7aac,'attributes':_0xf87fe7,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x16d),(_0xf8c4c4,{commentThreadId:_0x102905,resolvedBy:_0x221421,resolvedAt:_0x14b7f4})=>{const _0x155d31=_0x111034,_0x22e4eb=_0x5beae3[_0x155d31(0x185)](_0x102905);_0x22e4eb&&_0x22e4eb[_0x155d31(0x17a)]({'resolvedBy':_0x221421,'resolvedAt':_0x14b7f4,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x1a5),(_0x4ceeed,{commentThreadId:_0x2d70da})=>{const _0x293d14=_0x111034,_0x5bc27b=_0x5beae3[_0x293d14(0x185)](_0x2d70da);_0x5bc27b&&_0x5bc27b[_0x293d14(0x177)]({'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x19e),(_0x35c1a3,{commentThreadId:_0x5e34da})=>{const _0x451e95=_0x111034,_0x135d57=_0x5beae3[_0x451e95(0x185)](_0x5e34da);_0x135d57&&_0x135d57[_0x451e95(0x16e)]({'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x147),(_0x49c1e1,_0x4b5354)=>{const _0x393498=_0x111034,_0x5e338b=_0x4b5354[_0x393498(0x14a)],_0x68e84d=_0x5beae3[_0x393498(0x185)](_0x5e338b);_0x68e84d&&_0x68e84d[_0x393498(0x14d)]({...p(_0x4b5354),'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x193),(_0x43b42a,{commentThreadId:_0x1c9081,commentId:_0x5f2ad1,content:_0x21bb82,attributes:_0x8d3b1e})=>{const _0x20013a=_0x111034,_0x36af36=_0x5beae3[_0x20013a(0x185)](_0x1c9081);if(_0x36af36){const _0x4925b8=_0x36af36[_0x20013a(0x142)](_0x5f2ad1);_0x4925b8&&_0x4925b8[_0x20013a(0x18e)]({'content':_0x21bb82,'attributes':_0x8d3b1e,'isFromAdapter':!0x0});}}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x192),(_0x149328,{commentThreadId:_0x2a62d4,commentId:_0x420e3b})=>{const _0x49b2b0=_0x111034,_0x2fdce9=_0x5beae3[_0x49b2b0(0x185)](_0x2a62d4);if(_0x2fdce9){const _0x359b53=_0x2fdce9[_0x49b2b0(0x142)](_0x420e3b);_0x359b53&&_0x359b53[_0x49b2b0(0x16e)]({'isFromAdapter':!0x0});}}),await this[_0x111034(0x169)](_0x31b4b7);}[_0x4f273f(0x152)](){const _0x57759a=_0x4f273f;if(this[_0x57759a(0x196)]instanceof _0x3a48f1){const _0x292472=this[_0x57759a(0x196)][_0x57759a(0x161)][_0x57759a(0x199)](_0x57759a(0x153));this[_0x57759a(0x184)](_0x292472);}}[_0x4f273f(0x184)](_0x1b07c3){const _0x6e61f3=_0x4f273f;if(!this[_0x6e61f3(0x195)][_0x6e61f3(0x18b)](_0x1b07c3))throw new _0x57b31f(_0x6e61f3(0x17c),null,{'channelId':_0x1b07c3});this[_0x6e61f3(0x162)](_0x1b07c3)[_0x6e61f3(0x15b)](),this[_0x6e61f3(0x195)][_0x6e61f3(0x15d)](_0x1b07c3);}async[_0x4f273f(0x150)](){const _0x254c58=_0x4f273f;for(const _0x4d2c22 of this[_0x254c58(0x195)][_0x254c58(0x163)]())await this[_0x254c58(0x169)](_0x4d2c22);if(this[_0x254c58(0x196)]instanceof _0x3a48f1){const _0x14dc86=this[_0x254c58(0x196)][_0x254c58(0x161)][_0x254c58(0x199)](_0x254c58(0x153)),_0x3ac42b=this[_0x254c58(0x196)][_0x254c58(0x157)][_0x254c58(0x199)](_0x95d09b);_0x3ac42b[_0x254c58(0x182)](_0x14dc86);const _0x383841=await this[_0x254c58(0x195)][_0x254c58(0x199)](_0x14dc86)[_0x254c58(0x15c)]();_0x3ac42b[_0x254c58(0x145)](_0x14dc86,_0x383841);}}async[_0x4f273f(0x169)](_0x2e922e){const _0x13d17f=_0x4f273f,{connection:_0x553181}=this[_0x13d17f(0x196)][_0x13d17f(0x157)][_0x13d17f(0x199)](_0x1339d1),_0x41838e=this[_0x13d17f(0x196)][_0x13d17f(0x157)][_0x13d17f(0x199)](_0x13d17f(0x144)),_0x3e6f2e=this[_0x13d17f(0x195)][_0x13d17f(0x199)](_0x2e922e),_0x25276c=await _0x3e6f2e[_0x13d17f(0x183)](_0x553181);await this[_0x13d17f(0x175)](_0x25276c);const _0x2075bd=new Set(Array[_0x13d17f(0x189)](_0x41838e[_0x13d17f(0x141)]({'channelId':_0x2e922e}),_0x1b12ec=>_0x1b12ec['id']));for(const _0x746422 of _0x25276c)_0x746422[_0x13d17f(0x154)]||_0x2075bd[_0x13d17f(0x15d)](_0x746422[_0x13d17f(0x14a)]);for(const _0x15ee6e of _0x2075bd)_0x41838e[_0x13d17f(0x185)](_0x15ee6e)[_0x13d17f(0x16e)]({'isFromAdapter':!0x0});for(const _0x4c1990 of _0x25276c){let _0x36c4a4=_0x41838e[_0x13d17f(0x185)](_0x4c1990[_0x13d17f(0x14a)]);const {commentThreadId:_0x46521b,context:_0x301d81,attributes:_0x4c03,resolvedBy:_0x5b776b,resolvedAt:_0x2c25d2,unlinkedAt:_0x43a27c,deletedAt:_0x1bb118}=_0x4c1990;if(_0x1bb118)continue;_0x36c4a4||(_0x36c4a4=_0x41838e[_0x13d17f(0x198)]({'channelId':_0x2e922e,'threadId':_0x46521b,'context':_0x301d81,'attributes':_0x4c03||{},'resolvedBy':_0x5b776b,'resolvedAt':_0x2c25d2,'unlinkedAt':_0x43a27c,'isFromAdapter':!0x0}));const _0x212d75=new Set(Array[_0x13d17f(0x189)](_0x36c4a4[_0x13d17f(0x16b)],_0x1b4816=>_0x1b4816['id']));for(const _0x2f656c of _0x4c1990[_0x13d17f(0x16b)])_0x212d75[_0x13d17f(0x15d)](_0x2f656c[_0x13d17f(0x167)]);for(const _0x36e31d of _0x212d75)_0x36c4a4[_0x13d17f(0x142)](_0x36e31d)[_0x13d17f(0x16e)]({'isFromAdapter':!0x0});for(const _0x592052 of _0x4c1990[_0x13d17f(0x16b)]){const _0x1901c8=_0x36c4a4[_0x13d17f(0x142)](_0x592052[_0x13d17f(0x167)]);_0x1901c8?_0x1901c8[_0x13d17f(0x187)]!==_0x592052[_0x13d17f(0x187)]&&_0x1901c8[_0x13d17f(0x18e)]({'content':_0x592052[_0x13d17f(0x187)],'isFromAdapter':!0x0}):_0x36c4a4[_0x13d17f(0x14d)](Object[_0x13d17f(0x165)](p(_0x592052),{'isFromAdapter':!0x0}));}}}[_0x4f273f(0x162)](_0x4c47ac){const _0x4c5664=_0x4f273f;if(!this[_0x4c5664(0x195)][_0x4c5664(0x18b)](_0x4c47ac))throw new _0x57b31f(_0x4c5664(0x188),null,{'channelId':_0x4c47ac});return this[_0x4c5664(0x195)][_0x4c5664(0x199)](_0x4c47ac);}async[_0x4f273f(0x175)](_0x3202b4){const _0x42072f=_0x4f273f,_0xfc0ff8=this[_0x42072f(0x196)][_0x42072f(0x157)][_0x42072f(0x199)](_0x3edf02),{connection:_0x287abb}=this[_0x42072f(0x196)][_0x42072f(0x157)][_0x42072f(0x199)](_0x1339d1),_0x5c7ba7=new Set();for(const {resolvedBy:_0x52f53e,comments:_0x34391c}of _0x3202b4){_0x52f53e&&!_0xfc0ff8[_0x42072f(0x17e)](_0x52f53e)&&_0x5c7ba7[_0x42072f(0x14f)](_0x52f53e);for(const {userId:_0x5bb959}of _0x34391c)_0xfc0ff8[_0x42072f(0x17e)](_0x5bb959)||_0x5c7ba7[_0x42072f(0x14f)](_0x5bb959);}if(0x0===_0x5c7ba7[_0x42072f(0x174)])return;const _0xbdffa3=await _0x578d72[_0x42072f(0x168)](_0x287abb,Array[_0x42072f(0x189)](_0x5c7ba7));for(const _0x12b280 of _0xbdffa3)_0xfc0ff8[_0x42072f(0x17e)](_0x12b280['id'])||_0xfc0ff8[_0x42072f(0x18c)](_0x12b280);}}export{s as CloudServicesCommentsAdapter};async function v(_0x18f3b3){const _0x1931bb=_0x4f273f;if(_0x1931bb(0x159)!==_0x18f3b3[_0x1931bb(0x194)])throw _0x18f3b3;}function _0x5b91(_0x13f27b,_0x31fded){const _0x307ef9=_0x307e();return _0x5b91=function(_0x5b91e4,_0x10c0ec){_0x5b91e4=_0x5b91e4-0x140;let _0x22c348=_0x307ef9[_0x5b91e4];return _0x22c348;},_0x5b91(_0x13f27b,_0x31fded);}function A(_0x54c4d0){const _0x2cde1e=_0x4f273f;if((_0x32bb1b=_0x54c4d0)[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x178))||_0x32bb1b[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x176))||_0x32bb1b[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x1a3)))return new Promise(()=>{});var _0x32bb1b;throw _0x54c4d0;}function p(_0x39cd9b){const _0x1917c6=_0x4f273f;return{'threadId':_0x39cd9b[_0x1917c6(0x14a)],'commentId':_0x39cd9b[_0x1917c6(0x167)],'content':_0x39cd9b[_0x1917c6(0x187)],'createdAt':_0x39cd9b[_0x1917c6(0x15e)],'authorId':_0x39cd9b[_0x1917c6(0x1a0)],'attributes':_0x39cd9b[_0x1917c6(0x18f)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x481ba6=_0x5423;function _0x5423(_0x2ae5b3,_0x577215){const _0x28bdc3=_0x28bd();return _0x5423=function(_0x542395,_0x2b0baa){_0x542395=_0x542395-0x1ed;let _0x316610=_0x28bdc3[_0x542395];return _0x316610;},_0x5423(_0x2ae5b3,_0x577215);}(function(_0x28e9c3,_0x1c8b57){const _0x506d23=_0x5423,_0x4d37b1=_0x28e9c3();while(!![]){try{const _0x95b326=parseInt(_0x506d23(0x1fb))/0x1+-parseInt(_0x506d23(0x20f))/0x2*(-parseInt(_0x506d23(0x1fa))/0x3)+-parseInt(_0x506d23(0x208))/0x4+parseInt(_0x506d23(0x1fc))/0x5*(parseInt(_0x506d23(0x1f8))/0x6)+-parseInt(_0x506d23(0x200))/0x7*(-parseInt(_0x506d23(0x1f5))/0x8)+parseInt(_0x506d23(0x203))/0x9*(parseInt(_0x506d23(0x1f4))/0xa)+parseInt(_0x506d23(0x211))/0xb*(-parseInt(_0x506d23(0x1f0))/0xc);if(_0x95b326===_0x1c8b57)break;else _0x4d37b1['push'](_0x4d37b1['shift']());}catch(_0x1b714c){_0x4d37b1['push'](_0x4d37b1['shift']());}}}(_0x28bd,0x1ab9a));import{Plugin as _0x58b033}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1f0587}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x286c4e}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5f1c45}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x58b033{static get[_0x481ba6(0x1f2)](){const _0x633df7=_0x481ba6;return[_0x633df7(0x20e),_0x1f0587,_0x286c4e,_0x5f1c45];}static get[_0x481ba6(0x1f1)](){const _0x49609b=_0x481ba6;return _0x49609b(0x20c);}static get[_0x481ba6(0x207)](){return!0x0;}static get[_0x481ba6(0x1ff)](){return!0x0;}[_0x481ba6(0x20b)](){const _0xfc771d=_0x481ba6,_0x1ced0f=this[_0xfc771d(0x1fe)][_0xfc771d(0x206)][_0xfc771d(0x1ee)](_0x5f1c45),_0x55cce0=this[_0xfc771d(0x1fe)][_0xfc771d(0x206)][_0xfc771d(0x1ee)](_0xfc771d(0x204)),_0x3b7c3f=this[_0xfc771d(0x1fe)][_0xfc771d(0x206)][_0xfc771d(0x1ee)](_0x1f0587);return this[_0xfc771d(0x1fe)][_0xfc771d(0x209)][_0xfc771d(0x1ef)](_0xfc771d(0x205),()=>{const _0x2cdbac=_0xfc771d;this[_0x2cdbac(0x20d)](_0x1ced0f,_0x2cdbac(0x1f6),(_0x3ff5de,_0x26d04f,_0x523940)=>{const _0x540f06=_0x2cdbac;_0x55cce0[_0x540f06(0x210)]=_0x540f06(0x1f7)!==_0x523940;});}),this[_0xfc771d(0x20d)](_0x1ced0f,_0xfc771d(0x1f6),(_0x5cbc13,_0xf2fce2,_0x4715ce)=>{const _0x1cb7f4=_0xfc771d;this[_0x1cb7f4(0x1fe)][_0x1cb7f4(0x206)][_0x1cb7f4(0x1ee)](_0x1cb7f4(0x1fd))[_0x1cb7f4(0x1f3)](_0x1cb7f4(0x1f7)!==_0x4715ce);}),_0x3b7c3f[_0xfc771d(0x20a)](this[_0xfc771d(0x1fe)][_0xfc771d(0x201)][_0xfc771d(0x1ee)](_0xfc771d(0x202)));}[_0x481ba6(0x1ed)](){const _0x13ee4d=_0x481ba6;this[_0x13ee4d(0x1fe)][_0x13ee4d(0x206)][_0x13ee4d(0x1ee)](_0x1f0587)[_0x13ee4d(0x1f9)](this[_0x13ee4d(0x1fe)][_0x13ee4d(0x201)][_0x13ee4d(0x1ee)](_0x13ee4d(0x202))),super[_0x13ee4d(0x1ed)]();}}function _0x28bd(){const _0x2d19f7=['switchReadOnly','26480NFmDoY','1726552aINjMb','change:state','connected','42sOchPT','_terminateService','171669CRxzSk','85009FeHArj','23605jSDXha','CommentsRepository','editor','isPremiumPlugin','7ijPKne','config','collaboration.channelId','36EOhZDK','CommentsEditing','ready','plugins','isOfficialPlugin','714316SsvxKy','data','_setUpService','init','RealTimeCollaborativeComments','listenTo','Comments','2DWYTDd','isThreadsLoadingPaused','250019ZtYyDa','destroy','get','once','60FKZYwa','pluginName','requires'];_0x28bd=function(){return _0x2d19f7;};return _0x28bd();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x162206)());[_0x5c7728(0x192)];[_0x5c7728(0x1ea)];[_0x5c7728(0x227)];[_0x5c7728(0x24d)];[_0x5c7728(0x190)];[_0x5c7728(0x25c)];[_0x5c7728(0x233)];[_0x5c7728(0x1a5)];[_0x5c7728(0x195)];[_0x5c7728(0x247)];[_0x5c7728(0x1c9)];[_0x5c7728(0x202)];[_0x5c7728(0x27c)];[_0x5c7728(0x211)];[_0x5c7728(0x200)];[_0x5c7728(0x25f)];[_0x5c7728(0x276)];[_0x5c7728(0x251)];static get[_0x5c7728(0x286)](){return[_0x5074aa,_0x1d9ade,_0x350120,_0x9d865f,_0x1f4150,_0x16c8e3];}static get[_0x5c7728(0x229)](){const _0x199773=_0x5c7728;return _0x199773(0x22a);}static get[_0x5c7728(0x1ff)](){return!0x0;}static get[_0x5c7728(0x201)](){return!0x0;}get[_0x5c7728(0x264)](){const _0x1353f9=_0x5c7728;return this[_0x1353f9(0x1fa)]+this[_0x1353f9(0x192)];}get[_0x5c7728(0x1fa)](){const _0x3f5efe=_0x5c7728;return this[_0x3f5efe(0x227)][_0x3f5efe(0x19e)]-this[_0x3f5efe(0x192)];}get[_0x5c7728(0x1bb)](){const _0x30fb72=_0x5c7728,_0x18efaf=this[_0x30fb72(0x227)][_0x30fb72(0x1ca)]();for(let _0x1d52ba=_0x18efaf[_0x30fb72(0x1be)]-0x1;_0x1d52ba>=0x0;_0x1d52ba--){const _0x1a859d=_0x18efaf[_0x1d52ba];if(!this[_0x30fb72(0x276)][_0x30fb72(0x1b5)](_0x1a859d))return _0x1a859d[_0x30fb72(0x20c)]+0x1-this[_0x30fb72(0x192)];}return 0x0;}constructor(_0x3e961d){const _0x43c59c=_0x5c7728;if(super(_0x3e961d),this[_0x43c59c(0x192)]=0x0,this[_0x43c59c(0x1ea)]=null,this[_0x43c59c(0x227)]=new _0x5c290d(),this[_0x43c59c(0x266)][_0x43c59c(0x19c)][_0x43c59c(0x1c4)](_0x43c59c(0x1ae),{}),this[_0x43c59c(0x24d)]=this[_0x43c59c(0x266)][_0x43c59c(0x19c)][_0x43c59c(0x18e)](_0x43c59c(0x19b)),!this[_0x43c59c(0x24d)])throw new _0x30765c(_0x43c59c(0x1cf),this);const _0x27fd8b=_0x3e961d[_0x43c59c(0x19c)][_0x43c59c(0x18e)](_0x43c59c(0x24c))||_0x376890;this[_0x43c59c(0x190)]=new l[(_0x43c59c(0x20e))](_0x27fd8b,this[_0x43c59c(0x24d)]),this[_0x43c59c(0x25c)]=this[_0x43c59c(0x266)][_0x43c59c(0x1aa)][_0x43c59c(0x22b)],this[_0x43c59c(0x233)]=new _0x557956(),this[_0x43c59c(0x1a5)]=[],this[_0x43c59c(0x195)]=new WeakSet(),this[_0x43c59c(0x247)]=new Set(),this[_0x43c59c(0x269)](_0x43c59c(0x1c7),!0x1),this[_0x43c59c(0x269)](_0x43c59c(0x1f5),!0x1),this[_0x43c59c(0x1c9)]=null,this[_0x43c59c(0x202)]=!0x1,this[_0x43c59c(0x27c)]=null,this[_0x43c59c(0x211)]=0x12c,this[_0x43c59c(0x200)]=this[_0x43c59c(0x211)],this[_0x43c59c(0x25f)]=null,this[_0x43c59c(0x276)]=new WeakSet(),this[_0x43c59c(0x251)]=new J(this[_0x43c59c(0x276)]);}[_0x5c7728(0x1d5)](){const _0x41ab30=_0x5c7728,_0x5eabd0=this[_0x41ab30(0x266)],_0x509b85=_0x5eabd0[_0x41ab30(0x191)][_0x41ab30(0x18e)](_0x1f4150),_0xce3a6e=_0x5eabd0[_0x41ab30(0x191)][_0x41ab30(0x18e)](_0x5074aa);this[_0x41ab30(0x273)](_0x509b85,_0x41ab30(0x26e),(_0x3c83c1,_0x1c2644)=>{const _0x24a2ed=_0x41ab30,_0x3418d0=_0x1c2644[0x0];_0x3418d0[_0x24a2ed(0x23c)]&&(_0x3c83c1[_0x24a2ed(0x22e)]=_0x509b85[_0x24a2ed(0x283)](_0x3418d0[_0x24a2ed(0x23c)]),_0x3c83c1[_0x24a2ed(0x1c6)]()),null===_0x3418d0[_0x24a2ed(0x23c)]&&(_0x3c83c1[_0x24a2ed(0x22e)]=null,_0x3c83c1[_0x24a2ed(0x1c6)]());},{'priority':_0x41ab30(0x239)}),this[_0x41ab30(0x273)](_0x5eabd0[_0x41ab30(0x1aa)][_0x41ab30(0x22b)][_0x41ab30(0x1bd)],_0x41ab30(0x28a),(_0x51d5d2,_0x3998ce)=>{const _0x4aa36f=_0x41ab30;_0x3998ce[_0x4aa36f(0x287)]&&this[_0x4aa36f(0x1db)]();}),this[_0x41ab30(0x273)](_0x5eabd0[_0x41ab30(0x248)][_0x41ab30(0x277)],_0x41ab30(0x271),()=>{const _0x2af5f8=_0x41ab30;this[_0x2af5f8(0x1db)]();}),this[_0x41ab30(0x275)](),_0x5eabd0[_0x41ab30(0x1aa)]['on'](_0x41ab30(0x1e0),(_0x183433,_0x8be878)=>{const _0x429c87=_0x41ab30,_0x378c34=_0x8be878[0x0];_0x378c34[_0x429c87(0x1f0)]&&(this[_0x429c87(0x228)](_0x378c34),this[_0x429c87(0x234)]()&&this[_0x429c87(0x1ee)]());}),this[_0x41ab30(0x1dd)](),this[_0x41ab30(0x222)](_0x41ab30(0x252))['to'](_0xce3a6e,_0x41ab30(0x1e5),this,_0x41ab30(0x1f5),(_0xc46c74,_0x846f5b)=>_0x41ab30(0x28f)===_0xc46c74&&!_0x846f5b),this['on'](_0x41ab30(0x1e6),()=>{const _0x48c776=_0x41ab30;this[_0x48c776(0x252)]?_0x5eabd0[_0x48c776(0x1b2)](_0x48c776(0x237)):_0x5eabd0[_0x48c776(0x203)](_0x48c776(0x237));}),this[_0x41ab30(0x252)]?_0x5eabd0[_0x41ab30(0x1b2)](_0x41ab30(0x237)):_0x5eabd0[_0x41ab30(0x203)](_0x41ab30(0x237)),this[_0x41ab30(0x269)](_0x41ab30(0x270),!0x1);}async[_0x5c7728(0x1df)](){const _0x3d4ea4=_0x5c7728,_0x873834=this[_0x3d4ea4(0x266)][_0x3d4ea4(0x191)][_0x3d4ea4(0x18e)](_0x1d9ade),_0x26f20b=this[_0x3d4ea4(0x266)][_0x3d4ea4(0x191)][_0x3d4ea4(0x18e)](_0x5074aa);try{this[_0x3d4ea4(0x1c7)]=!0x0,_0x873834[_0x3d4ea4(0x1eb)](this[_0x3d4ea4(0x24d)]);const _0xa8612c=await this[_0x3d4ea4(0x190)][_0x3d4ea4(0x1df)](_0x26f20b[_0x3d4ea4(0x1bf)],this[_0x3d4ea4(0x1bb)]);await this[_0x3d4ea4(0x1a9)](_0xa8612c)&&(this[_0x3d4ea4(0x1c7)]=!0x1,this[_0x3d4ea4(0x20f)]());const _0x3434b4=await this[_0x3d4ea4(0x190)][_0x3d4ea4(0x1c8)]();_0x873834[_0x3d4ea4(0x28c)](this[_0x3d4ea4(0x24d)],_0x3434b4),this[_0x3d4ea4(0x1e3)](),this[_0x3d4ea4(0x270)]=!0x0;}catch(_0x16673b){if(function(_0x3900c9){const _0x2c6ee6=_0x3d4ea4;return _0x2c6ee6(0x254)===_0x3900c9[_0x2c6ee6(0x221)];}(_0x16673b)&&this[_0x3d4ea4(0x1ea)])await this[_0x3d4ea4(0x1f2)]();else{if(function(_0x20d2e9){const _0x3be8c8=_0x3d4ea4;return _0x3be8c8(0x24b)===_0x20d2e9[_0x3be8c8(0x221)];}(_0x16673b)){const _0x3736de=_0xb6e749(this[_0x3d4ea4(0x266)][_0x3d4ea4(0x1d4)],_0x3d4ea4(0x1bc));this[_0x3d4ea4(0x1ba)](_0x3736de);}else{if(!(_0x16673b instanceof $))throw _0x16673b;this[_0x3d4ea4(0x1ba)]();}}}}[_0x5c7728(0x1b6)](){const _0x279790=_0x5c7728,_0xdf6894=this[_0x279790(0x266)][_0x279790(0x191)][_0x279790(0x18e)](_0x5074aa),_0xe1e064=this[_0x279790(0x266)][_0x279790(0x191)][_0x279790(0x18e)](_0x1d9ade);this[_0x279790(0x266)][_0x279790(0x203)](_0x279790(0x26f)),_0xe1e064[_0x279790(0x196)][_0x279790(0x1b5)](this[_0x279790(0x24d)])&&_0xe1e064[_0x279790(0x1eb)](this[_0x279790(0x24d)]),_0xdf6894[_0x279790(0x288)](this),this[_0x279790(0x27e)](),super[_0x279790(0x1b6)]();}async[_0x5c7728(0x1a9)](_0x59820c){const _0x34f6b6=_0x5c7728;if(this[_0x34f6b6(0x1ea)]!==_0x59820c[_0x34f6b6(0x1ea)]&&this[_0x34f6b6(0x25f)]!==_0x59820c[_0x34f6b6(0x19a)])throw new $();return this[_0x34f6b6(0x1ea)]=_0x59820c[_0x34f6b6(0x1ea)],this[_0x34f6b6(0x20a)]([],{..._0x59820c,'wereChangesApplied':!0x1,'data':_0x59820c[_0x34f6b6(0x21e)]},_0x34f6b6(0x1df));}async[_0x5c7728(0x27b)](_0x113927,_0x716a00=!0x1){const _0x1afa7e=_0x5c7728,{connection:_0x432ef9}=this[_0x1afa7e(0x266)][_0x1afa7e(0x191)][_0x1afa7e(0x18e)](_0x5074aa);l[_0x1afa7e(0x20e)][_0x1afa7e(0x1c8)](_0x432ef9,this[_0x1afa7e(0x24d)])[_0x1afa7e(0x1d1)](_0x11ad41=>this[_0x1afa7e(0x253)](_0x11ad41))[_0x1afa7e(0x205)](_0x451860=>{const _0x79570=_0x1afa7e;this[_0x79570(0x1d2)](_0x79570(0x1c2),_0x451860);}),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x225),this[_0x1afa7e(0x193)][_0x1afa7e(0x222)](this)),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x1f3),(_0x484fd9,_0x37bf35)=>{const _0x368879=_0x1afa7e;this[_0x368879(0x1d2)](_0x368879(0x18c),_0x37bf35);}),this[_0x1afa7e(0x273)](this[_0x1afa7e(0x190)],_0x1afa7e(0x23e),()=>{const _0x25160c=_0x1afa7e;this[_0x25160c(0x270)]=!0x1;});const _0x31da92=this[_0x1afa7e(0x251)][_0x1afa7e(0x24e)](_0x113927);this[_0x1afa7e(0x1c7)]=!0x0;const _0x591884=await this[_0x1afa7e(0x190)][_0x1afa7e(0x272)](_0x432ef9,this[_0x1afa7e(0x1a8)](_0x113927),_0x31da92);if(this[_0x1afa7e(0x1ea)]=_0x591884[_0x1afa7e(0x1ea)],_0x716a00){if(!_0x591884[_0x1afa7e(0x216)])return void this[_0x1afa7e(0x1ba)]();this[_0x1afa7e(0x1c7)]=!0x1,this[_0x1afa7e(0x20f)](),this[_0x1afa7e(0x227)][_0x1afa7e(0x27f)](),this[_0x1afa7e(0x192)]=_0x591884[_0x1afa7e(0x1b4)],this[_0x1afa7e(0x227)][_0x1afa7e(0x19e)]=this[_0x1afa7e(0x192)],await this[_0x1afa7e(0x20a)](_0x113927,_0x591884,_0x1afa7e(0x284));}else await this[_0x1afa7e(0x21b)](_0x591884,_0x113927);this[_0x1afa7e(0x1e3)](),this[_0x1afa7e(0x270)]=!0x0;}[_0x5c7728(0x1e3)](){const _0x5260bc=_0x5c7728,_0x4c0756=this[_0x5260bc(0x266)][_0x5260bc(0x191)][_0x5260bc(0x18e)](_0x1d9ade),_0x45526f=this[_0x5260bc(0x266)][_0x5260bc(0x191)][_0x5260bc(0x18e)](_0x350120),_0x47e49e=_0x4c0756[_0x5260bc(0x196)][_0x5260bc(0x18e)](this[_0x5260bc(0x24d)]);_0x47e49e&&_0x47e49e[_0x5260bc(0x1be)]>0x1?_0x45526f[_0x5260bc(0x1ef)]():this[_0x5260bc(0x273)](_0x4c0756,_0x5260bc(0x1a1)+this[_0x5260bc(0x24d)],()=>{const _0x1246d3=_0x5260bc;0x2===_0x4c0756[_0x1246d3(0x196)][_0x1246d3(0x18e)](this[_0x1246d3(0x24d)])[_0x1246d3(0x1be)]&&_0x45526f[_0x1246d3(0x1ef)]();});}async[_0x5c7728(0x193)](_0x3fd6eb,_0x3b7877,_0x3451ad,_0x39e8cb){const _0x3e79af=_0x5c7728;if(!this[_0x3e79af(0x1c7)]&&this[_0x3e79af(0x25c)][_0x3e79af(0x19e)]==_0x3b7877){const _0x40ba22=this[_0x3e79af(0x26a)](_0x3451ad,_0x39e8cb);await this[_0x3e79af(0x23d)](_0x40ba22),this[_0x3e79af(0x215)](_0x40ba22,_0x3b7877,_0x3451ad[_0x3e79af(0x19a)])||this[_0x3e79af(0x1d2)](_0x3e79af(0x1e2));}}async[_0x5c7728(0x1f2)](){const _0x1beb83=_0x5c7728;this[_0x1beb83(0x27e)]();const {locale:_0x5585c0}=this[_0x1beb83(0x266)];let _0x6f13a0;try{_0x6f13a0=await this[_0x1beb83(0x190)][_0x1beb83(0x1d0)]();}catch{const _0x323966=_0xb6e749(_0x5585c0,_0x1beb83(0x1fb));return void this[_0x1beb83(0x1ba)](_0x323966);}const _0x157937=_0x6f13a0[_0x1beb83(0x282)]||_0x6f13a0[_0x1beb83(0x280)];if(this[_0x1beb83(0x25f)]!==_0x157937[_0x1beb83(0x19a)]){const _0x124178=_0xb6e749(_0x5585c0,_0x1beb83(0x267));return void this[_0x1beb83(0x1ba)](_0x124178);}await this[_0x1beb83(0x27b)](this[_0x1beb83(0x266)][_0x1beb83(0x1aa)][_0x1beb83(0x22b)][_0x1beb83(0x1a3)][_0x1beb83(0x1ca)](),!0x0);}[_0x5c7728(0x27e)](){const _0x438f68=_0x5c7728;this[_0x438f68(0x190)][_0x438f68(0x208)](),this[_0x438f68(0x1a5)]=[],clearTimeout(this[_0x438f68(0x27c)]),this[_0x438f68(0x25b)](this[_0x438f68(0x190)]);}[_0x5c7728(0x253)](_0x559904){const _0x134733=_0x5c7728,_0x3ede5b=this[_0x134733(0x266)][_0x134733(0x191)][_0x134733(0x18e)](_0x1d9ade);this[_0x134733(0x273)](_0x3ede5b,_0x134733(0x1a1)+this[_0x134733(0x24d)],(_0x43bfb8,{session:_0x1b102c})=>{const _0x4ef79b=_0x134733;if(_0x1b102c['id']===_0x3ede5b[_0x4ef79b(0x1e1)]){_0x43bfb8[_0x4ef79b(0x1da)]();const _0x544e6d=this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x1b5)](_0x4ef79b(0x1b9))&&this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x18e)](_0x4ef79b(0x1b9));let _0x2d7f28=_0x1b102c[_0x4ef79b(0x1d3)];_0x544e6d&&_0x544e6d[_0x4ef79b(0x1e4)]&&(_0x2d7f28=_0x2d7f28[_0x4ef79b(0x265)](_0x9bce54=>_0x4ef79b(0x274)!==_0x9bce54)),this[_0x4ef79b(0x266)][_0x4ef79b(0x191)][_0x4ef79b(0x18e)](_0x4ef79b(0x206))[_0x4ef79b(0x263)](_0x2d7f28,this[_0x4ef79b(0x24d)]);}}),_0x3ede5b[_0x134733(0x28c)](this[_0x134733(0x24d)],_0x559904);}[_0x5c7728(0x275)](){const _0x231555=_0x5c7728,_0x2f0a95=this[_0x231555(0x266)][_0x231555(0x21e)][_0x231555(0x269)];this[_0x231555(0x266)][_0x231555(0x21e)][_0x231555(0x269)]=(..._0x3387bb)=>{const _0x5f1436=_0x231555;if(!_0x3387bb[_0x3387bb[_0x5f1436(0x1be)]-0x1][_0x5f1436(0x214)])throw new _0x30765c(_0x5f1436(0x260),this);_0x2f0a95[_0x5f1436(0x27d)](this[_0x5f1436(0x266)][_0x5f1436(0x21e)],_0x3387bb);};}[_0x5c7728(0x1dd)](){const _0x3dee8f=_0x5c7728;this[_0x3dee8f(0x266)][_0x3dee8f(0x21e)]['on'](_0x3dee8f(0x1d5),(_0x3e0363,[_0x3bd4dd])=>{const _0x566440=_0x3dee8f;if(this[_0x566440(0x25c)][_0x566440(0x19e)])throw new _0x30765c(_0x566440(0x1fc),this);_0x3e0363[_0x566440(0x1c6)](),this[_0x566440(0x1ab)]();const _0x1d38ff=this[_0x566440(0x266)][_0x566440(0x19c)][_0x566440(0x18e)](_0x566440(0x1c1)),_0x83ef=this[_0x566440(0x26d)](_0x3bd4dd,_0x1d38ff);0x0==_0x83ef[_0x566440(0x1be)]&&_0x83ef[_0x566440(0x1fd)](new _0x8f63b(0x0)),_0x3e0363[_0x566440(0x22e)]=this[_0x566440(0x27b)](_0x83ef)[_0x566440(0x1d1)](()=>{const _0x3ba40f=_0x566440;this[_0x3ba40f(0x266)][_0x3ba40f(0x191)][_0x3ba40f(0x18e)](_0x5074aa)[_0x3ba40f(0x26b)](this),this[_0x3ba40f(0x266)][_0x3ba40f(0x21e)][_0x3ba40f(0x209)](_0x3ba40f(0x1d6));})[_0x566440(0x205)](_0xa68ad9=>this[_0x566440(0x1d2)](_0x566440(0x246),_0xa68ad9))[_0x566440(0x1af)](()=>this[_0x566440(0x20f)]());},{'priority':_0x3dee8f(0x239)}),this[_0x3dee8f(0x266)]['on'](_0x3dee8f(0x268),async(_0x470613,[_0x40d3b3,_0x3c0835])=>{const _0x37f3d6=_0x3dee8f;_0x470613[_0x37f3d6(0x1c6)]();const _0x35b1cf=this[_0x37f3d6(0x266)][_0x37f3d6(0x1aa)][_0x37f3d6(0x22b)][_0x37f3d6(0x236)](_0x40d3b3);if(!this[_0x37f3d6(0x247)][_0x37f3d6(0x1b5)](_0x40d3b3)){const _0x2e67fb=_0x3c0835&&_0x3c0835[_0x37f3d6(0x21e)]?_0x3c0835[_0x37f3d6(0x21e)]:'',_0x1d1819=_0x3c0835&&_0x3c0835[_0x37f3d6(0x1f9)]?_0x3c0835[_0x37f3d6(0x1f9)]:{};await this[_0x37f3d6(0x21f)](_0x40d3b3,_0x2e67fb,_0x1d1819);}this[_0x37f3d6(0x266)][_0x37f3d6(0x1aa)][_0x37f3d6(0x25d)]({'isUndoable':!0x1},()=>{const _0x129c5e=_0x37f3d6;_0x35b1cf[_0x129c5e(0x1b3)]=!0x0,this[_0x129c5e(0x266)][_0x129c5e(0x1aa)][_0x129c5e(0x22b)][_0x129c5e(0x24f)][_0x129c5e(0x197)](_0x35b1cf);});},{'priority':_0x3dee8f(0x239)});}async[_0x5c7728(0x23d)](_0xf44829){const _0x249833=_0x5c7728,_0x42ed8b=this[_0x249833(0x266)][_0x249833(0x191)][_0x249833(0x18e)](_0x1f4150),{connection:_0x125219}=this[_0x249833(0x266)][_0x249833(0x191)][_0x249833(0x18e)](_0x5074aa),_0x24d530=new Set();for(const _0x415829 of _0xf44829){const _0x58b3db=_0x415829[_0x249833(0x23c)];_0x58b3db&&!_0x42ed8b[_0x249833(0x283)](_0x58b3db)&&_0x24d530[_0x249833(0x231)](_0x58b3db);}if(0x0===_0x24d530[_0x249833(0x24a)])return;const _0x249999=await _0x533fad[_0x249833(0x1ad)](_0x125219,Array[_0x249833(0x1f4)](_0x24d530));for(const _0x4c0e57 of _0x249999)_0x42ed8b[_0x249833(0x283)](_0x4c0e57['id'])||_0x42ed8b[_0x249833(0x1e8)](_0x4c0e57);}[_0x5c7728(0x26d)](_0x75e40c,_0x2b86f4={}){const _0x20b3a5=_0x5c7728,_0x48d7c2=this[_0x20b3a5(0x266)][_0x20b3a5(0x1aa)],_0x21a51f=[];let _0x1129cd=0x0;const _0x15d639=_0x20b3a5(0x285)==typeof _0x75e40c?{'main':_0x75e40c}:_0x75e40c;for(const _0x1cb287 of Object[_0x20b3a5(0x224)](_0x15d639)){if(!this[_0x20b3a5(0x25c)][_0x20b3a5(0x232)][_0x20b3a5(0x1b5)](_0x1cb287))throw new _0x30765c(_0x20b3a5(0x244),this);const _0x2524b1=this[_0x20b3a5(0x266)][_0x20b3a5(0x21e)][_0x20b3a5(0x25a)](_0x15d639[_0x1cb287]),_0x70b00b=this[_0x20b3a5(0x25c)][_0x20b3a5(0x236)](_0x1cb287),_0x4eec83=new _0x496b8d(_0x48d7c2[_0x20b3a5(0x204)](_0x70b00b,0x0),_0x2524b1,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x4eec83);for(const [_0x323b21,_0x57653e]of _0x2524b1[_0x20b3a5(0x1d9)]){const _0x328223=_0x48d7c2[_0x20b3a5(0x22f)](_0x48d7c2[_0x20b3a5(0x1ed)](_0x70b00b,_0x57653e[_0x20b3a5(0x256)][_0x20b3a5(0x290)][_0x20b3a5(0x259)]()),_0x48d7c2[_0x20b3a5(0x1ed)](_0x70b00b,_0x57653e[_0x20b3a5(0x20b)][_0x20b3a5(0x290)][_0x20b3a5(0x259)]())),_0x2e6d1c=new _0x459bd0(_0x323b21,null,_0x328223,_0x48d7c2[_0x20b3a5(0x1d9)],!0x0,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x2e6d1c);}}if(_0x2b86f4)for(const [_0x5d2757,_0x4bb5a4]of Object[_0x20b3a5(0x27a)](_0x2b86f4)){const _0x5dee2c=_0x48d7c2[_0x20b3a5(0x22b)][_0x20b3a5(0x236)](_0x5d2757);if(!_0x5dee2c)throw new _0x30765c(_0x20b3a5(0x207),null);for(const [_0xd1a8bc,_0x54374f]of Object[_0x20b3a5(0x27a)](_0x4bb5a4))if(null!==_0x54374f){const _0x47ebd9=new _0x413ef6(_0x5dee2c,_0xd1a8bc,null,_0x54374f,_0x1129cd++);_0x21a51f[_0x20b3a5(0x1fd)](_0x47ebd9);}}return _0x21a51f;}async[_0x5c7728(0x21f)](_0x4c457b,_0x3fd851,_0x3a2fb3){const _0x1b1b62=_0x5c7728;this[_0x1b1b62(0x26d)]({[_0x4c457b]:_0x3fd851},{[_0x4c457b]:_0x3a2fb3})[_0x1b1b62(0x1b7)]((_0x4bd355,_0x8ae27d)=>{const _0x34eb90=_0x1b1b62;_0x4bd355[_0x34eb90(0x20c)]=this[_0x34eb90(0x25c)][_0x34eb90(0x19e)]+_0x8ae27d,_0x4bd355[_0x34eb90(0x1a4)]=!0x0,this[_0x34eb90(0x228)](_0x4bd355);}),this[_0x1b1b62(0x1ee)](),await this[_0x1b1b62(0x281)]();}async[_0x5c7728(0x21b)](_0x2c22b0,_0x5aeeeb){const _0x2f3503=_0x5c7728;let _0x274b2f;this[_0x2f3503(0x192)]=_0x2c22b0[_0x2f3503(0x1b4)];const _0x16c968=_0x2c22b0[_0x2f3503(0x216)]&&!_0x2c22b0[_0x2f3503(0x1ec)],_0x2f15ba=_0x16c968?0x0:_0x2c22b0[_0x2f3503(0x21e)][_0x2f3503(0x20c)];if(_0x5aeeeb[_0x2f3503(0x1b7)](_0x3e7e87=>{const _0x356e2c=_0x2f3503;_0x3e7e87[_0x356e2c(0x1a4)]=!0x0,_0x3e7e87[_0x356e2c(0x199)]=_0x2c22b0[_0x356e2c(0x1cc)],_0x3e7e87[_0x356e2c(0x23c)]=null;}),_0x16c968)_0x274b2f=_0x5aeeeb,this[_0x2f3503(0x278)](_0x274b2f,_0x16c968);else{if(_0x2c22b0[_0x2f3503(0x1ec)]){const _0x4f3d69=this[_0x2f3503(0x26d)](_0x2c22b0[_0x2f3503(0x1ec)]);this[_0x2f3503(0x25c)][_0x2f3503(0x1a3)][_0x2f3503(0x19e)]=-_0x4f3d69[_0x2f3503(0x1be)],_0x4f3d69[_0x2f3503(0x1b7)](_0x3e7bad=>{const _0x2ce244=_0x2f3503;_0x3e7bad[_0x2ce244(0x20c)]-=_0x4f3d69[_0x2ce244(0x1be)],_0x3e7bad[_0x2ce244(0x199)]=_0x2c22b0[_0x2ce244(0x1cc)],_0x3e7bad[_0x2ce244(0x1a4)]=!0x0,_0x3e7bad[_0x2ce244(0x23c)]=null;}),this[_0x2f3503(0x278)](_0x4f3d69,!0x0),this[_0x2f3503(0x227)][_0x2f3503(0x19e)]=-_0x4f3d69[_0x2f3503(0x1be)]+this[_0x2f3503(0x192)],this[_0x2f3503(0x28b)](_0x4f3d69);}this[_0x2f3503(0x25c)][_0x2f3503(0x1a3)][_0x2f3503(0x19e)]=_0x2f15ba,_0x274b2f=this[_0x2f3503(0x26a)](_0x2c22b0[_0x2f3503(0x21e)],_0x2c22b0[_0x2f3503(0x1d8)]),await this[_0x2f3503(0x23d)](_0x274b2f),this[_0x2f3503(0x278)](_0x274b2f,_0x16c968);}_0x2c22b0[_0x2f3503(0x19a)]&&(this[_0x2f3503(0x251)][_0x2f3503(0x230)](_0x274b2f,_0x2c22b0[_0x2f3503(0x19a)]),this[_0x2f3503(0x25f)]=_0x2c22b0[_0x2f3503(0x19a)]),this[_0x2f3503(0x227)][_0x2f3503(0x19e)]=_0x2f15ba+this[_0x2f3503(0x192)],this[_0x2f3503(0x28b)](_0x274b2f),_0x5aeeeb[_0x2f3503(0x265)](_0x5d54bc=>{const _0x5c2b63=_0x2f3503,_0x1289e0=this[_0x5c2b63(0x1a0)](_0x5d54bc);return _0x1289e0&&!this[_0x5c2b63(0x247)][_0x5c2b63(0x1b5)](_0x1289e0);})[_0x2f3503(0x1b7)]((_0x5455ed,_0x497ef5)=>{const _0x278362=_0x2f3503;_0x5455ed[_0x278362(0x20c)]=this[_0x278362(0x25c)][_0x278362(0x19e)]+_0x497ef5,this[_0x278362(0x228)](_0x5455ed);}),this[_0x2f3503(0x234)]()?(this[_0x2f3503(0x200)]=0x0,this[_0x2f3503(0x1ee)](!0x0),await this[_0x2f3503(0x281)]()):(this[_0x2f3503(0x1c7)]=!0x1,this[_0x2f3503(0x20f)]());}[_0x5c7728(0x1d2)](_0x13b5ad,_0x27b4a1){const _0x2910f7=_0x5c7728,_0x37469e=_0x27b4a1&&_0x27b4a1[_0x2910f7(0x194)];if(_0x37469e&&_0x37469e[_0x2910f7(0x21c)](_0x2910f7(0x1b1)))throw _0x27b4a1;const _0x36b500=this[_0x2910f7(0x266)][_0x2910f7(0x191)][_0x2910f7(0x18e)](_0x5074aa);throw this[_0x2910f7(0x1c7)]=!0x0,_0x36b500[_0x2910f7(0x208)](),this[_0x2910f7(0x266)][_0x2910f7(0x203)](_0x2910f7(0x21a)),new _0x30765c(_0x13b5ad,this[_0x2910f7(0x266)],_0x37469e?{'originalError':_0x37469e}:void 0x0);}[_0x5c7728(0x228)](_0x1e350a){const _0x5d6030=_0x5c7728;this[_0x5d6030(0x195)][_0x5d6030(0x1b5)](_0x1e350a)||(this[_0x5d6030(0x195)][_0x5d6030(0x231)](_0x1e350a),this[_0x5d6030(0x1a5)][_0x5d6030(0x1fd)](_0x1e350a),this[_0x5d6030(0x1c9)]||_0x5d6030(0x198)==_0x1e350a[_0x5d6030(0x18f)]&&!_0x1e350a[_0x5d6030(0x21d)]||this[_0x5d6030(0x1ab)]());}[_0x5c7728(0x1ee)](_0x56d2fe=!0x1){const _0x3c82da=_0x5c7728;!_0x56d2fe&&this[_0x3c82da(0x1c7)]||(this[_0x3c82da(0x1c7)]=!0x0,clearTimeout(this[_0x3c82da(0x27c)]),this[_0x3c82da(0x27c)]=setTimeout(()=>{const _0x345f83=_0x3c82da;this[_0x345f83(0x1c3)]()[_0x345f83(0x1d1)](_0x1125b3=>{const _0x204aec=_0x345f83;_0x1125b3&&(this[_0x204aec(0x20f)](),this[_0x204aec(0x1c7)]=!0x1);})[_0x345f83(0x205)](_0x266012=>{const _0x13bdca=_0x345f83;this[_0x13bdca(0x20f)](),this[_0x13bdca(0x1c7)]=!0x1,function(_0x2210e5){const _0x37992a=_0x13bdca;return _0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x28e))||_0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x1cb))||_0x2210e5[_0x37992a(0x194)][_0x37992a(0x21c)](_0x37992a(0x1fe));}(_0x266012)||this[_0x13bdca(0x1d2)](_0x266012[_0x13bdca(0x194)],_0x266012);});},this[_0x3c82da(0x200)]));}[_0x5c7728(0x281)](){return new Promise(_0x47e668=>{const _0x5b34e0=_0x5c29;this['on'](_0x5b34e0(0x19d),()=>{_0x47e668();});});}async[_0x5c7728(0x1c3)](){const _0x43987a=_0x5c7728,_0x2c49fa=this[_0x43987a(0x266)][_0x43987a(0x191)][_0x43987a(0x18e)](_0x350120);if(this[_0x43987a(0x23a)]()&&(_0x2c49fa[_0x43987a(0x1ef)](),this[_0x43987a(0x202)]=!0x1),!this[_0x43987a(0x234)]())return!0x0;const _0x19effd=[...this[_0x43987a(0x1a5)]];for(const _0x21e6cf of _0x19effd)_0x21e6cf[_0x43987a(0x279)]=this[_0x43987a(0x25c)][_0x43987a(0x1a3)][_0x43987a(0x250)](_0x21e6cf);const _0x26921a=this[_0x43987a(0x251)][_0x43987a(0x24e)](_0x19effd),_0x32d6e0=G++,_0xba993=this[_0x43987a(0x1a8)](_0x19effd),_0xc2b1f5=await this[_0x43987a(0x190)][_0x43987a(0x212)](_0xba993,_0xba993[_0x43987a(0x20c)],_0x26921a);try{return await this[_0x43987a(0x20a)](_0x19effd,_0xc2b1f5,_0x32d6e0);}catch(_0x16a9ed){return this[_0x43987a(0x1d2)](_0x43987a(0x20d),_0x16a9ed);}}async[_0x5c7728(0x20a)](_0x5f5a30,_0x3771fa,_0x5dace7){const _0x2627eb=_0x5c7728;if(_0x2627eb(0x1f3)in _0x3771fa)throw _0x3771fa[_0x2627eb(0x1f3)];let _0x2a246d=!0x1;if(_0x3771fa[_0x2627eb(0x216)]){_0x3771fa[_0x2627eb(0x19a)]&&(this[_0x2627eb(0x25f)]=_0x3771fa[_0x2627eb(0x19a)]),this[_0x2627eb(0x1a5)]=this[_0x2627eb(0x1a5)][_0x2627eb(0x265)](_0x49edcb=>!_0x5f5a30[_0x2627eb(0x217)](_0x49edcb));for(const _0x2020d2 of _0x5f5a30)_0x2020d2[_0x2627eb(0x199)]=_0x2627eb(0x1a2)in _0x3771fa&&_0x3771fa[_0x2627eb(0x1a2)]||void 0x0;K(_0x5f5a30,_0x3771fa[_0x2627eb(0x19e)]-_0x5f5a30[_0x2627eb(0x1be)]),this[_0x2627eb(0x28b)](_0x5f5a30);const _0x241b4f=_0x5f5a30[_0x2627eb(0x265)](_0x27f48f=>{const _0x2c903a=_0x2627eb;if(!_0x27f48f[_0x2c903a(0x1a4)])return!0x1;const _0x2c7553=this[_0x2c903a(0x1a0)](_0x27f48f);return _0x2c7553&&!this[_0x2c903a(0x247)][_0x2c903a(0x1b5)](_0x2c7553);});K(_0x241b4f,this[_0x2627eb(0x25c)][_0x2627eb(0x19e)]),this[_0x2627eb(0x278)](_0x241b4f),_0x2a246d=!0x0,this[_0x2627eb(0x200)]=this[_0x2627eb(0x211)];}else{const _0x4994c1=this[_0x2627eb(0x26a)](_0x3771fa[_0x2627eb(0x21e)],_0x3771fa[_0x2627eb(0x1d8)])[_0x2627eb(0x265)](_0x34d0bb=>_0x34d0bb[_0x2627eb(0x20c)]>=this[_0x2627eb(0x1fa)]);_0x4994c1[_0x2627eb(0x1b7)](_0x5b365a=>this[_0x2627eb(0x1ac)](_0x5b365a)),this[_0x2627eb(0x1a5)]=this[_0x2627eb(0x1a5)][_0x2627eb(0x265)](_0x22245f=>!_0x22245f[_0x2627eb(0x1a4)]||!this[_0x2627eb(0x247)][_0x2627eb(0x1b5)](this[_0x2627eb(0x1a0)](_0x22245f))),this[_0x2627eb(0x1a5)][_0x2627eb(0x1be)]&&K(this[_0x2627eb(0x1a5)],this[_0x2627eb(0x1a5)][0x0][_0x2627eb(0x20c)]),await this[_0x2627eb(0x23d)](_0x4994c1),_0x2a246d=this[_0x2627eb(0x215)](_0x4994c1,_0x3771fa[_0x2627eb(0x19e)],_0x3771fa[_0x2627eb(0x19a)]),this[_0x2627eb(0x200)]=Math[_0x2627eb(0x245)](this[_0x2627eb(0x200)]/0x2);}return _0x2a246d?!this[_0x2627eb(0x234)]()||(this[_0x2627eb(0x1ee)](!0x0),!0x1):this[_0x2627eb(0x1d2)](_0x2627eb(0x23b));}[_0x5c7728(0x215)](_0x5c7e0a,_0x127473,_0x1eda32){const _0x54d8ee=_0x5c7728;try{const _0x1d5344={'document':this[_0x54d8ee(0x25c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x9ef4aa,operationsB:_0x44b967,originalOperations:_0x4e84ee}=_0x4c0dd8(_0x5c7e0a,this[_0x54d8ee(0x1a5)],_0x1d5344);K(_0x9ef4aa,this[_0x54d8ee(0x25c)][_0x54d8ee(0x19e)]),K(_0x44b967,_0x127473);for(const _0x4f6569 of _0x9ef4aa){const _0x515fa0=_0x4e84ee[_0x54d8ee(0x18e)](_0x4f6569);_0x4f6569[_0x54d8ee(0x23c)]=_0x515fa0?_0x515fa0[_0x54d8ee(0x23c)]:null;}_0x1eda32&&(this[_0x54d8ee(0x251)][_0x54d8ee(0x230)](_0x5c7e0a,_0x1eda32),this[_0x54d8ee(0x25f)]=_0x1eda32),this[_0x54d8ee(0x1a5)]=[..._0x44b967],this[_0x54d8ee(0x278)](_0x9ef4aa),this[_0x54d8ee(0x28b)](_0x5c7e0a);}catch(_0x57287d){return console[_0x54d8ee(0x1f3)](_0x57287d),!0x1;}return!0x0;}[_0x5c7728(0x278)](_0x5e6eb0,_0x4f1245=!0x1){const _0x29a116=_0x5c7728;this[_0x29a116(0x266)][_0x29a116(0x1aa)][_0x29a116(0x25d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x22efb5=>{const _0x9ca003=_0x29a116;for(const _0x355e47 of _0x5e6eb0)this[_0x9ca003(0x195)][_0x9ca003(0x231)](_0x355e47),this[_0x9ca003(0x1ac)](_0x355e47),_0x22efb5[_0x9ca003(0x1ce)][_0x9ca003(0x1f1)](_0x355e47),this[_0x9ca003(0x266)][_0x9ca003(0x1aa)][_0x9ca003(0x1e0)](_0x355e47);});}[_0x5c7728(0x1ac)](_0x292f54){const _0x2d132d=_0x5c7728,_0x20e7fb=this[_0x2d132d(0x1a0)](_0x292f54);_0x20e7fb&&this[_0x2d132d(0x247)][_0x2d132d(0x231)](_0x20e7fb);}[_0x5c7728(0x1a0)](_0xf7b818){const _0x177003=_0x5c7728;let _0x2ddcc9,_0x13c35a;switch(_0xf7b818[_0x177003(0x18f)]){case _0x177003(0x1f7):_0x2ddcc9=_0xf7b818[_0x177003(0x249)][_0x177003(0x235)];break;case _0x177003(0x198):if(_0x13c35a=_0xf7b818[_0x177003(0x23f)],!_0x13c35a)return null;_0x2ddcc9=_0x13c35a[_0x177003(0x235)];break;case _0x177003(0x22c):_0x2ddcc9=_0xf7b818[_0x177003(0x235)];break;case _0x177003(0x1f8):_0x2ddcc9=_0xf7b818[_0x177003(0x19f)];break;case _0x177003(0x257):_0x2ddcc9=_0xf7b818[_0x177003(0x243)][_0x177003(0x235)];break;default:return null;}return _0x2ddcc9[_0x177003(0x289)];}[_0x5c7728(0x28b)](_0x3a8f6f){const _0x4a339c=_0x5c7728;_0x3a8f6f[_0x4a339c(0x1b7)](_0x48c6e7=>{const _0x108ecb=_0x4a339c,_0x1a2125=_0x48c6e7[_0x108ecb(0x255)]();_0x1a2125[_0x108ecb(0x23c)]=_0x48c6e7[_0x108ecb(0x23c)],_0x1a2125[_0x108ecb(0x1a4)]=!!_0x48c6e7[_0x108ecb(0x1a4)],_0x1a2125[_0x108ecb(0x199)]=_0x48c6e7[_0x108ecb(0x199)],_0x1a2125[_0x108ecb(0x20c)]+=this[_0x108ecb(0x192)],_0x48c6e7[_0x108ecb(0x1e7)]&&this[_0x108ecb(0x276)][_0x108ecb(0x231)](_0x1a2125),this[_0x108ecb(0x227)][_0x108ecb(0x1f1)](_0x1a2125);});}[_0x5c7728(0x1ba)](_0x1e115d){const _0x4c6dbc=_0x5c7728,_0x2e7384=this[_0x4c6dbc(0x266)][_0x4c6dbc(0x191)][_0x4c6dbc(0x18e)](_0x4c6dbc(0x18d)),_0x39abbd=this[_0x4c6dbc(0x266)][_0x4c6dbc(0x1d4)];_0x1e115d||(_0x1e115d=_0xb6e749(_0x39abbd,_0x4c6dbc(0x1a6))),_0x2e7384[_0x4c6dbc(0x258)](_0x1e115d,{'title':_0xb6e749(_0x39abbd,_0x4c6dbc(0x1c5)),'namespace':_0x4c6dbc(0x1d7)}),this[_0x4c6dbc(0x1f5)]=!0x0,clearTimeout(this[_0x4c6dbc(0x27c)]),this[_0x4c6dbc(0x1a5)]=[],this[_0x4c6dbc(0x266)][_0x4c6dbc(0x191)][_0x4c6dbc(0x18e)](_0x5074aa)[_0x4c6dbc(0x208)]();}[_0x5c7728(0x1ab)](){const _0x53e201=_0x5c7728;this[_0x53e201(0x1c9)]||(this[_0x53e201(0x1c9)]=this[_0x53e201(0x266)][_0x53e201(0x191)][_0x53e201(0x18e)](_0x9d865f)[_0x53e201(0x231)](_0xb6e749(this[_0x53e201(0x266)][_0x53e201(0x1d4)],_0x53e201(0x262))));}[_0x5c7728(0x20f)](){const _0x1e72ca=_0x5c7728;this[_0x1e72ca(0x1c9)]&&(this[_0x1e72ca(0x266)][_0x1e72ca(0x191)][_0x1e72ca(0x18e)](_0x9d865f)[_0x1e72ca(0x226)](this[_0x1e72ca(0x1c9)]),this[_0x1e72ca(0x1c9)]=null);}[_0x5c7728(0x1a8)](_0x4f5af6){const _0x4f9ebb=_0x5c7728,_0x3de0fd=_0x4f5af6[_0x4f9ebb(0x241)](_0x373f4=>_0x373f4[_0x4f9ebb(0x210)]());return this[_0x4f9ebb(0x233)][_0x4f9ebb(0x238)](_0x3de0fd);}[_0x5c7728(0x26a)](_0x51f8d0,_0x1bfb3d){const _0xe0ebc3=_0x5c7728;return this[_0xe0ebc3(0x233)][_0xe0ebc3(0x261)](_0x51f8d0)[_0xe0ebc3(0x241)]((_0x409997,_0x5e655f)=>{const _0x3aba9f=_0xe0ebc3,_0x14364c=_0x3aba9f(0x1d5)==_0x1bfb3d[_0x5e655f][_0x3aba9f(0x18f)];if(_0x3aba9f(0x218)==_0x409997[_0x3aba9f(0x26c)]){const _0x5ef76e=_0x409997[_0x3aba9f(0x249)][_0x3aba9f(0x235)];!this[_0x3aba9f(0x25c)][_0x3aba9f(0x236)](_0x5ef76e)&&(this[_0x3aba9f(0x25c)][_0x3aba9f(0x240)](_0x3aba9f(0x28d),_0x5ef76e)[_0x3aba9f(0x1cd)]=!0x1);}const _0x394bfe=_0x508621[_0x3aba9f(0x242)](_0x409997,this[_0x3aba9f(0x25c)]);return _0x394bfe[_0x3aba9f(0x279)]=_0x409997[_0x3aba9f(0x279)],_0x394bfe[_0x3aba9f(0x1a4)]=_0x14364c,_0x394bfe[_0x3aba9f(0x23c)]=_0x14364c?null:_0x1bfb3d[_0x5e655f][_0x3aba9f(0x1de)],_0x394bfe[_0x3aba9f(0x1e7)]=_0x3aba9f(0x1b0)===_0x1bfb3d[_0x5e655f][_0x3aba9f(0x18f)],_0x394bfe[_0x3aba9f(0x199)]=_0x1bfb3d[_0x5e655f][_0x3aba9f(0x199)],_0x394bfe;});}[_0x5c7728(0x1db)](){const _0x142bcb=_0x5c7728;this[_0x142bcb(0x202)]=!0x0,this[_0x142bcb(0x23a)]()?this[_0x142bcb(0x1ee)]():this[_0x142bcb(0x202)]=!0x1;}[_0x5c7728(0x23a)](){const _0x56ac68=_0x5c7728,_0x58ca93=this[_0x56ac68(0x266)][_0x56ac68(0x191)][_0x56ac68(0x18e)](_0x1d9ade)[_0x56ac68(0x196)][_0x56ac68(0x18e)](this[_0x56ac68(0x24d)]);return!this[_0x56ac68(0x266)][_0x56ac68(0x1f6)]&&!!_0x58ca93&&_0x58ca93[_0x56ac68(0x1be)]>0x1&&this[_0x56ac68(0x202)];}[_0x5c7728(0x234)](){const _0x3e42ba=_0x5c7728;return this[_0x3e42ba(0x1a5)][_0x3e42ba(0x1be)]>0x0||this[_0x3e42ba(0x23a)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x21724c,_0x590865){const _0x138a14=_0x5c7728;for(const _0x2164a4 of _0x21724c)_0x2164a4[_0x138a14(0x20c)]=_0x590865++;}class J{[_0x5c7728(0x213)];[_0x5c7728(0x1b8)];constructor(_0x54ffd3){const _0x33b67a=_0x5c7728;this[_0x33b67a(0x213)]=_0x54ffd3,this[_0x33b67a(0x1b8)]=new WeakMap();}[_0x5c7728(0x24e)](_0x216f84){const _0x2e89f6=_0x5c7728;let _0x9f9abe=_0x216f84[_0x2e89f6(0x1be)];for(;_0x9f9abe--;){const _0x3fef99=_0x216f84[_0x9f9abe];if(!this[_0x2e89f6(0x213)][_0x2e89f6(0x1b5)](_0x3fef99)){if(!this[_0x2e89f6(0x1b8)][_0x2e89f6(0x1b5)](_0x3fef99)){const _0x19bde3=_0x4bd1d9()[_0x2e89f6(0x259)](0x1,0x12);this[_0x2e89f6(0x1b8)][_0x2e89f6(0x269)](_0x3fef99,_0x19bde3);}return this[_0x2e89f6(0x1b8)][_0x2e89f6(0x18e)](_0x3fef99);}}}[_0x5c7728(0x230)](_0x2ddb81,_0x1b92f0){const _0x162513=_0x5c7728;if(!_0x1b92f0)return;let _0x3bb73e=_0x2ddb81[_0x162513(0x1be)];for(;_0x3bb73e--;){const _0x459747=_0x2ddb81[_0x3bb73e];this[_0x162513(0x213)][_0x162513(0x1b5)](_0x459747)||this[_0x162513(0x1b8)][_0x162513(0x269)](_0x459747,_0x1b92f0);}}}
|
|
23
|
+
const _0x1bea44=_0x49c9;(function(_0x23f033,_0x395bcc){const _0x1aa358=_0x49c9,_0x3d6921=_0x23f033();while(!![]){try{const _0x51e18a=-parseInt(_0x1aa358(0x1da))/0x1*(parseInt(_0x1aa358(0x123))/0x2)+-parseInt(_0x1aa358(0x109))/0x3+parseInt(_0x1aa358(0x111))/0x4+-parseInt(_0x1aa358(0x148))/0x5+-parseInt(_0x1aa358(0x168))/0x6+-parseInt(_0x1aa358(0x14e))/0x7+parseInt(_0x1aa358(0x15e))/0x8;if(_0x51e18a===_0x395bcc)break;else _0x3d6921['push'](_0x3d6921['shift']());}catch(_0x4081a5){_0x3d6921['push'](_0x3d6921['shift']());}}}(_0x2b06,0x47f66));import{Plugin as _0x252a98,PendingActions as _0x33ad1c}from'ckeditor5/src/core.js';import{CKEditorError as _0x58a5ab,version as _0x3a98c4,uid as _0xff2b59}from'ckeditor5/src/utils.js';import{Notification as _0x211d0a}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x44dbdf,NoOperation as _0x3670fa,InsertOperation as _0x355a32,MarkerOperation as _0x584013,RootAttributeOperation as _0x2c996b,OperationFactory as _0x1b1d77,History as _0x461d0d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x47cf5e}from'./websocketgateway.js';function _0x2b06(){const _0x39c82f=['1652454nxhzyC','stop','wereChangesApplied','_disconnectionOperations','_crash','realtimecollaborationclient','_isInit','realtimecollaborationclient-sendbufferedoperations','return','end','isEnabled','Permissions','sessionCreatedAt','suppressErrorInCollaboration','document','marker','realtimecollaborationclient-init-session-connection-error','_addKnownRoot','getUser','realtimecollaborationclient-init-non-existent-root','root','attributes','removeFromReconnectionStack','toJSON','newRange','realtimecollaborationclient-init-document-already-initialized','wasUndone','cloud-services-internal-error:\x20Request\x20timeout.','_connectService','history','apply','markers','error','pluginName','_handleReceivedOperations','_applyOperationsSet','batch','createPositionFromPath','_hasSynchronizationProblem','serverHistory','_knownOperations','rtc-destroyed','realtimecollaborationclient-init-service-internal-error','sessionId','getIdOfTheLastOperation','length','$root','high','_bufferedOperations','_getOperationsFromInitData','setIdForTheLastOperation','editor','sessionAdd:','requires','channelSessions','change:range','finally','_channelId','plugins','rtc-offline','cloudDocumentVersion','_lastSyncedOperationId','init','offset','collaboration-missing-channelid','metadata','roots','startsWith','code','_loadRoot','_ignoredOperations','document:write','409','_hasSelectionChanged','parse','connect','define','CollaborativeEditingService','InsertOperation','_operationIdentifier','get','_compressor','_fetchMissingUsers','createRoot','fire','_isConnected','_handleReconnectionError','entries','has','rootName','_clearPendingAction','multi-root-editor-root-attributes-no-root','then','destroy','push','connected','move','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.','keys','disconnected','_isEditingAllowed','createPositionAt','RealTimeCollaborationClient','string','isUndoneOperation','getDocumentDetails','_authorId','set','addOperation','loadRoot','operationsReceived','_currentBufferDelay','affectedSelectable','__className','71563vjEacX','permissions','size','selection','_shouldSendUpdate','getOperationAuthor','isPremiumPlugin','_handleServerResponse','cs:removeUser','config','isDocumentOperation','isOfficialPlugin','model','slice','add','_updateServerHistory','getRoot','connection','createUserMarkerOperations','change:hasDomSelection','_isDisconnection','lastOperationId','affectsData','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.','directChange','disableReadOnlyMode','fromJSON','_initThrowingOnDataSet','listenTo','_bufferRootLoad','_sendBufferedOperationsDelayed','state','path','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','clone','_isPendingUpdate','addRootAttribute','insert','from','Synchronization\x20issue','_saveOperationInBuffer','ready','getOperations','realtimecollaborationclient-init-connection-failed','_isLoaded','_handleExternalOperations','lastDocumentSession','type','map','lastOperationAcceptedAt','addToReconnectionStack','1192767HgdaIf','mySessionId','_sendBufferedOperations','enqueueChange','realtimecollaborationclient-handleserverresponse','_service','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Not\x20connected.','1052968ToplhY','_pendingAction','realtimecollaborationclient-error','_baseBufferDelay','userId','_sendBufferedOperationsDelayId','addRoot','version','_shouldSendSelectionUpdate','reconnection:\x20flushed\x20session','collaboration.channelId','locale','change:_isEditingAllowed','Notification','reconnect','_initSessionsHandling','message','currentDocumentSession','2XezCKS','_getAffectedRoot','compress','_offset','disconnect','baseVersion','_handleInitialConnectionData','isReadOnly','round','start','_compressOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','showWarning','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isPendingUpdate','lastSyncVersion','addUser','_connectAfterSessionHasBeenFlushed','bind','_isAttached','rootsAttributes','view','_setUpDataInit','getConnectedSessions','404','unregister','createdAt','applyOperation','targetPosition','setPermissions','remove','register','catch','differ','_decompressOperations','_operationToId','decompress','26920kqeltP','cloudServices.bundleVersion','PENDING_ACTION_SENDING_DATA','CommentsOnly','includes','editing','770476InVwli','createRange','initData','_handleReconnectionResponse','filter','_waitUntilSynced','_disconnectService','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','_lastServerVersion','realtimecollaborationclient-init-service-incorrect-server-operation','forEach','enableReadOnlyMode','_knownRootNames','stopListening','sendOperations','7132232hijTWs','collaboration','data','_setPendingAction','_document','getMany','position','_refreshUserSelectionMarkers','off','reset'];_0x2b06=function(){return _0x39c82f;};return _0x2b06();}import{Sessions as _0x10f393}from'./sessions.js';import{UserMarkers as _0x13b1ce}from'./usermarkers.js';import{getTranslation as _0x4a75f7}from'../common-translations.js';import{Compressor as _0x4a9e91}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5afec8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5215cc,CollaborativeEditingService as _0x8816df}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;function _0x49c9(_0x17a7d3,_0x186e71){const _0x2b0653=_0x2b06();return _0x49c9=function(_0x49c93c,_0x18b914){_0x49c93c=_0x49c93c-0x107;let _0x5d978a=_0x2b0653[_0x49c93c];return _0x5d978a;},_0x49c9(_0x17a7d3,_0x186e71);}class l extends _0x252a98{static [_0x1bea44(0x1b5)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x8816df)());[_0x1bea44(0x126)];[_0x1bea44(0x193)];[_0x1bea44(0x18f)];[_0x1bea44(0x1a1)];[_0x1bea44(0x10e)];[_0x1bea44(0x162)];[_0x1bea44(0x1b9)];[_0x1bea44(0x198)];[_0x1bea44(0x190)];[_0x1bea44(0x15b)];[_0x1bea44(0x112)];[_0x1bea44(0x1b1)];[_0x1bea44(0x116)];[_0x1bea44(0x114)];[_0x1bea44(0x1d7)];[_0x1bea44(0x1a5)];[_0x1bea44(0x16b)];[_0x1bea44(0x1b7)];static get[_0x1bea44(0x19d)](){return[_0x47cf5e,_0x10f393,_0x13b1ce,_0x33ad1c,_0x5afec8,_0x211d0a];}static get[_0x1bea44(0x189)](){const _0x2bab8b=_0x1bea44;return _0x2bab8b(0x1ce);}static get[_0x1bea44(0x1e5)](){return!0x0;}static get[_0x1bea44(0x1e0)](){return!0x0;}get[_0x1bea44(0x1a4)](){const _0x3e3aef=_0x1bea44;return this[_0x3e3aef(0x157)]+this[_0x3e3aef(0x126)];}get[_0x1bea44(0x157)](){const _0x4e07c0=_0x1bea44;return this[_0x4e07c0(0x18f)][_0x4e07c0(0x118)]-this[_0x4e07c0(0x126)];}get[_0x1bea44(0x132)](){const _0x4f7607=_0x1bea44,_0x92d356=this[_0x4f7607(0x18f)][_0x4f7607(0x204)]();for(let _0x41d6c3=_0x92d356[_0x4f7607(0x195)]-0x1;_0x41d6c3>=0x0;_0x41d6c3--){const _0x9616d5=_0x92d356[_0x41d6c3];if(!this[_0x4f7607(0x16b)][_0x4f7607(0x1c0)](_0x9616d5))return _0x9616d5[_0x4f7607(0x128)]+0x1-this[_0x4f7607(0x126)];}return 0x0;}constructor(_0x672f4){const _0x50df61=_0x1bea44;if(super(_0x672f4),this[_0x50df61(0x126)]=0x0,this[_0x50df61(0x193)]=null,this[_0x50df61(0x18f)]=new _0x461d0d(),this[_0x50df61(0x19b)][_0x50df61(0x1e3)][_0x50df61(0x1b4)](_0x50df61(0x15f),{}),this[_0x50df61(0x1a1)]=this[_0x50df61(0x19b)][_0x50df61(0x1e3)][_0x50df61(0x1b8)](_0x50df61(0x11b)),!this[_0x50df61(0x1a1)])throw new _0x58a5ab(_0x50df61(0x1a8),this);const _0x329791=_0x672f4[_0x50df61(0x1e3)][_0x50df61(0x1b8)](_0x50df61(0x149))||_0x3a98c4;this[_0x50df61(0x10e)]=new l[(_0x50df61(0x1b5))](_0x329791,this[_0x50df61(0x1a1)]),this[_0x50df61(0x162)]=this[_0x50df61(0x19b)][_0x50df61(0x1e6)][_0x50df61(0x176)],this[_0x50df61(0x1b9)]=new _0x4a9e91(),this[_0x50df61(0x198)]=[],this[_0x50df61(0x190)]=new WeakSet(),this[_0x50df61(0x15b)]=new Set(),this[_0x50df61(0x1d3)](_0x50df61(0x1fd),!0x1),this[_0x50df61(0x1d3)](_0x50df61(0x18e),!0x1),this[_0x50df61(0x112)]=null,this[_0x50df61(0x1b1)]=!0x1,this[_0x50df61(0x116)]=null,this[_0x50df61(0x114)]=0x12c,this[_0x50df61(0x1d7)]=this[_0x50df61(0x114)],this[_0x50df61(0x1a5)]=null,this[_0x50df61(0x16b)]=new WeakSet(),this[_0x50df61(0x1b7)]=new J(this[_0x50df61(0x16b)]);}[_0x1bea44(0x1a6)](){const _0x5e23a8=_0x1bea44,_0x1c9857=this[_0x5e23a8(0x19b)],_0xc8e943=_0x1c9857[_0x5e23a8(0x1a2)][_0x5e23a8(0x1b8)](_0x5afec8),_0x593ee8=_0x1c9857[_0x5e23a8(0x1a2)][_0x5e23a8(0x1b8)](_0x47cf5e);this[_0x5e23a8(0x1f6)](_0xc8e943,_0x5e23a8(0x1df),(_0x280729,_0xd18f10)=>{const _0x2fcce8=_0x5e23a8,_0x27d96d=_0xd18f10[0x0];_0x27d96d[_0x2fcce8(0x1d2)]&&(_0x280729[_0x2fcce8(0x170)]=_0xc8e943[_0x2fcce8(0x17a)](_0x27d96d[_0x2fcce8(0x1d2)]),_0x280729[_0x2fcce8(0x169)]()),null===_0x27d96d[_0x2fcce8(0x1d2)]&&(_0x280729[_0x2fcce8(0x170)]=null,_0x280729[_0x2fcce8(0x169)]());},{'priority':_0x5e23a8(0x197)}),this[_0x5e23a8(0x1f6)](_0x1c9857[_0x5e23a8(0x1e6)][_0x5e23a8(0x176)][_0x5e23a8(0x1dd)],_0x5e23a8(0x19f),(_0x521ed3,_0x5b296a)=>{const _0x579439=_0x5e23a8;_0x5b296a[_0x579439(0x1f2)]&&this[_0x579439(0x165)]();}),this[_0x5e23a8(0x1f6)](_0x1c9857[_0x5e23a8(0x14d)][_0x5e23a8(0x138)],_0x5e23a8(0x1ed),()=>{const _0x19dc38=_0x5e23a8;this[_0x19dc38(0x165)]();}),this[_0x5e23a8(0x1f5)](),_0x1c9857[_0x5e23a8(0x1e6)]['on'](_0x5e23a8(0x13e),(_0x4c4218,_0x30643e)=>{const _0x4047cf=_0x5e23a8,_0x5d7eb4=_0x30643e[0x0];_0x5d7eb4[_0x4047cf(0x1e4)]&&(this[_0x4047cf(0x202)](_0x5d7eb4),this[_0x4047cf(0x1de)]()&&this[_0x4047cf(0x1f8)]());}),this[_0x5e23a8(0x139)](),this[_0x5e23a8(0x135)](_0x5e23a8(0x1cc))['to'](_0x593ee8,_0x5e23a8(0x1f9),this,_0x5e23a8(0x18e),(_0x29c720,_0x17f6be)=>_0x5e23a8(0x1c7)===_0x29c720&&!_0x17f6be),this['on'](_0x5e23a8(0x11d),()=>{const _0x49b041=_0x5e23a8;this[_0x49b041(0x1cc)]?_0x1c9857[_0x49b041(0x1f3)](_0x49b041(0x1a3)):_0x1c9857[_0x49b041(0x15a)](_0x49b041(0x1a3));}),this[_0x5e23a8(0x1cc)]?_0x1c9857[_0x5e23a8(0x1f3)](_0x5e23a8(0x1a3)):_0x1c9857[_0x5e23a8(0x15a)](_0x5e23a8(0x1a3)),this[_0x5e23a8(0x1d3)](_0x5e23a8(0x1bd),!0x1);}async[_0x1bea44(0x11f)](){const _0x5417c9=_0x1bea44,_0x1d3428=this[_0x5417c9(0x19b)][_0x5417c9(0x1a2)][_0x5417c9(0x1b8)](_0x10f393),_0x3be0ec=this[_0x5417c9(0x19b)][_0x5417c9(0x1a2)][_0x5417c9(0x1b8)](_0x47cf5e);try{this[_0x5417c9(0x1fd)]=!0x0,_0x1d3428[_0x5417c9(0x13c)](this[_0x5417c9(0x1a1)]);const _0x4141b3=await this[_0x5417c9(0x10e)][_0x5417c9(0x11f)](_0x3be0ec[_0x5417c9(0x1eb)],this[_0x5417c9(0x132)]);await this[_0x5417c9(0x151)](_0x4141b3)&&(this[_0x5417c9(0x1fd)]=!0x1,this[_0x5417c9(0x1c2)]());const _0x185256=await this[_0x5417c9(0x10e)][_0x5417c9(0x13a)]();_0x1d3428[_0x5417c9(0x142)](this[_0x5417c9(0x1a1)],_0x185256),this[_0x5417c9(0x10f)](),this[_0x5417c9(0x1bd)]=!0x0;}catch(_0x4bc8ec){if(function(_0x38dae5){const _0x30e382=_0x5417c9;return _0x30e382(0x13b)===_0x38dae5[_0x30e382(0x1ac)];}(_0x4bc8ec)&&this[_0x5417c9(0x193)])await this[_0x5417c9(0x134)]();else{if(function(_0x7e8a9a){const _0x4b70b3=_0x5417c9;return _0x4b70b3(0x1b0)===_0x7e8a9a[_0x4b70b3(0x1ac)];}(_0x4bc8ec)){const _0x419571=_0x4a75f7(this[_0x5417c9(0x19b)][_0x5417c9(0x11c)],_0x5417c9(0x130));this[_0x5417c9(0x1be)](_0x419571);}else{if(!(_0x4bc8ec instanceof $))throw _0x4bc8ec;this[_0x5417c9(0x1be)]();}}}}[_0x1bea44(0x1c5)](){const _0x47f5b2=_0x1bea44,_0x48c442=this[_0x47f5b2(0x19b)][_0x47f5b2(0x1a2)][_0x47f5b2(0x1b8)](_0x47cf5e),_0x185c0a=this[_0x47f5b2(0x19b)][_0x47f5b2(0x1a2)][_0x47f5b2(0x1b8)](_0x10f393);this[_0x47f5b2(0x19b)][_0x47f5b2(0x15a)](_0x47f5b2(0x191)),_0x185c0a[_0x47f5b2(0x19e)][_0x47f5b2(0x1c0)](this[_0x47f5b2(0x1a1)])&&_0x185c0a[_0x47f5b2(0x13c)](this[_0x47f5b2(0x1a1)]),_0x48c442[_0x47f5b2(0x17e)](this),this[_0x47f5b2(0x154)](),super[_0x47f5b2(0x1c5)]();}async[_0x1bea44(0x151)](_0x4d0428){const _0x4347ba=_0x1bea44;if(this[_0x4347ba(0x193)]!==_0x4d0428[_0x4347ba(0x193)]&&this[_0x4347ba(0x1a5)]!==_0x4d0428[_0x4347ba(0x1ef)])throw new $();return this[_0x4347ba(0x193)]=_0x4d0428[_0x4347ba(0x193)],this[_0x4347ba(0x1e1)]([],{..._0x4d0428,'wereChangesApplied':!0x1,'data':_0x4d0428[_0x4347ba(0x160)]},_0x4347ba(0x11f));}async[_0x1bea44(0x184)](_0x2245fe,_0x40c494=!0x1){const _0x4034da=_0x1bea44,{connection:_0x235368}=this[_0x4034da(0x19b)][_0x4034da(0x1a2)][_0x4034da(0x1b8)](_0x47cf5e);l[_0x4034da(0x1b5)][_0x4034da(0x13a)](_0x235368,this[_0x4034da(0x1a1)])[_0x4034da(0x1c4)](_0x4d8340=>this[_0x4034da(0x120)](_0x4d8340))[_0x4034da(0x143)](_0x2fc8ad=>{const _0x543d81=_0x4034da;this[_0x543d81(0x16c)](_0x543d81(0x178),_0x2fc8ad);}),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x1d6),this[_0x4034da(0x18a)][_0x4034da(0x135)](this)),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x188),(_0x5278d6,_0x10b0d6)=>{const _0x229fe3=_0x4034da;this[_0x229fe3(0x16c)](_0x229fe3(0x192),_0x10b0d6);}),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x1cb),()=>{const _0x43f6ee=_0x4034da;this[_0x43f6ee(0x1bd)]=!0x1;});const _0x3f5811=this[_0x4034da(0x1b7)][_0x4034da(0x194)](_0x2245fe);this[_0x4034da(0x1fd)]=!0x0;const _0x2c465b=await this[_0x4034da(0x10e)][_0x4034da(0x1b3)](_0x235368,this[_0x4034da(0x12d)](_0x2245fe),_0x3f5811);if(this[_0x4034da(0x193)]=_0x2c465b[_0x4034da(0x193)],_0x40c494){if(!_0x2c465b[_0x4034da(0x16a)])return void this[_0x4034da(0x1be)]();this[_0x4034da(0x1fd)]=!0x1,this[_0x4034da(0x1c2)](),this[_0x4034da(0x18f)][_0x4034da(0x167)](),this[_0x4034da(0x126)]=_0x2c465b[_0x4034da(0x1a7)],this[_0x4034da(0x18f)][_0x4034da(0x118)]=this[_0x4034da(0x126)],await this[_0x4034da(0x1e1)](_0x2245fe,_0x2c465b,_0x4034da(0x11a));}else await this[_0x4034da(0x129)](_0x2c465b,_0x2245fe);this[_0x4034da(0x10f)](),this[_0x4034da(0x1bd)]=!0x0;}[_0x1bea44(0x10f)](){const _0x598145=_0x1bea44,_0x4610e0=this[_0x598145(0x19b)][_0x598145(0x1a2)][_0x598145(0x1b8)](_0x10f393),_0x36d3f1=this[_0x598145(0x19b)][_0x598145(0x1a2)][_0x598145(0x1b8)](_0x13b1ce),_0x43e9de=_0x4610e0[_0x598145(0x19e)][_0x598145(0x1b8)](this[_0x598145(0x1a1)]);_0x43e9de&&_0x43e9de[_0x598145(0x195)]>0x1?_0x36d3f1[_0x598145(0x1ec)]():this[_0x598145(0x1f6)](_0x4610e0,_0x598145(0x19c)+this[_0x598145(0x1a1)],()=>{const _0x3fd1d2=_0x598145;0x2===_0x4610e0[_0x3fd1d2(0x19e)][_0x3fd1d2(0x1b8)](this[_0x3fd1d2(0x1a1)])[_0x3fd1d2(0x195)]&&_0x36d3f1[_0x3fd1d2(0x1ec)]();});}async[_0x1bea44(0x18a)](_0x4ba033,_0x204c27,_0x546127,_0xcfc389){const _0xf4a10f=_0x1bea44;if(!this[_0xf4a10f(0x1fd)]&&this[_0xf4a10f(0x162)][_0xf4a10f(0x118)]==_0x204c27){const _0x1d7143=this[_0xf4a10f(0x145)](_0x546127,_0xcfc389);await this[_0xf4a10f(0x1ba)](_0x1d7143),this[_0xf4a10f(0x207)](_0x1d7143,_0x204c27,_0x546127[_0xf4a10f(0x1ef)])||this[_0xf4a10f(0x16c)](_0xf4a10f(0x158));}}async[_0x1bea44(0x134)](){const _0x29044c=_0x1bea44;this[_0x29044c(0x154)]();const {locale:_0x5378ae}=this[_0x29044c(0x19b)];let _0x5b48c9;try{_0x5b48c9=await this[_0x29044c(0x10e)][_0x29044c(0x1d1)]();}catch{const _0x19425a=_0x4a75f7(_0x5378ae,_0x29044c(0x155));return void this[_0x29044c(0x1be)](_0x19425a);}const _0x123f82=_0x5b48c9[_0x29044c(0x122)]||_0x5b48c9[_0x29044c(0x208)];if(this[_0x29044c(0x1a5)]!==_0x123f82[_0x29044c(0x1ef)]){const _0xedef52=_0x4a75f7(_0x5378ae,_0x29044c(0x1f1));return void this[_0x29044c(0x1be)](_0xedef52);}await this[_0x29044c(0x184)](this[_0x29044c(0x19b)][_0x29044c(0x1e6)][_0x29044c(0x176)][_0x29044c(0x185)][_0x29044c(0x204)](),!0x0);}[_0x1bea44(0x154)](){const _0x20799c=_0x1bea44;this[_0x20799c(0x10e)][_0x20799c(0x127)](),this[_0x20799c(0x198)]=[],clearTimeout(this[_0x20799c(0x116)]),this[_0x20799c(0x15c)](this[_0x20799c(0x10e)]);}[_0x1bea44(0x120)](_0xe53d78){const _0x39cb02=_0x1bea44,_0x22aa56=this[_0x39cb02(0x19b)][_0x39cb02(0x1a2)][_0x39cb02(0x1b8)](_0x10f393);this[_0x39cb02(0x1f6)](_0x22aa56,_0x39cb02(0x19c)+this[_0x39cb02(0x1a1)],(_0x3afa2b,{session:_0x4eae53})=>{const _0x27c532=_0x39cb02;if(_0x4eae53['id']===_0x22aa56[_0x27c532(0x10a)]){_0x3afa2b[_0x27c532(0x166)]();const _0x2558a8=this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1c0)](_0x27c532(0x14b))&&this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1b8)](_0x27c532(0x14b));let _0x40a3bc=_0x4eae53[_0x27c532(0x1db)];_0x2558a8&&_0x2558a8[_0x27c532(0x172)]&&(_0x40a3bc=_0x40a3bc[_0x27c532(0x152)](_0x2c0a55=>_0x27c532(0x1af)!==_0x2c0a55)),this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1b8)](_0x27c532(0x173))[_0x27c532(0x140)](_0x40a3bc,this[_0x27c532(0x1a1)]);}}),_0x22aa56[_0x39cb02(0x142)](this[_0x39cb02(0x1a1)],_0xe53d78);}[_0x1bea44(0x1f5)](){const _0x115365=_0x1bea44,_0x4d92ff=this[_0x115365(0x19b)][_0x115365(0x160)][_0x115365(0x1d3)];this[_0x115365(0x19b)][_0x115365(0x160)][_0x115365(0x1d3)]=(..._0x160b60)=>{const _0x5c61a0=_0x115365;if(!_0x160b60[_0x160b60[_0x5c61a0(0x195)]-0x1][_0x5c61a0(0x175)])throw new _0x58a5ab(_0x5c61a0(0x1fb),this);_0x4d92ff[_0x5c61a0(0x186)](this[_0x5c61a0(0x19b)][_0x5c61a0(0x160)],_0x160b60);};}[_0x1bea44(0x139)](){const _0x5b09cd=_0x1bea44;this[_0x5b09cd(0x19b)][_0x5b09cd(0x160)]['on'](_0x5b09cd(0x1a6),(_0x195236,[_0x5c357f])=>{const _0x2329fd=_0x5b09cd;if(this[_0x2329fd(0x162)][_0x2329fd(0x118)])throw new _0x58a5ab(_0x2329fd(0x181),this);_0x195236[_0x2329fd(0x169)](),this[_0x2329fd(0x161)]();const _0x248ec8=this[_0x2329fd(0x19b)][_0x2329fd(0x1e3)][_0x2329fd(0x1b8)](_0x2329fd(0x137)),_0xec0f87=this[_0x2329fd(0x199)](_0x5c357f,_0x248ec8);0x0==_0xec0f87[_0x2329fd(0x195)]&&_0xec0f87[_0x2329fd(0x1c6)](new _0x3670fa(0x0)),_0x195236[_0x2329fd(0x170)]=this[_0x2329fd(0x184)](_0xec0f87)[_0x2329fd(0x1c4)](()=>{const _0x35ce37=_0x2329fd;this[_0x35ce37(0x19b)][_0x35ce37(0x1a2)][_0x35ce37(0x1b8)](_0x47cf5e)[_0x35ce37(0x108)](this),this[_0x35ce37(0x19b)][_0x35ce37(0x160)][_0x35ce37(0x1bc)](_0x35ce37(0x203));})[_0x2329fd(0x143)](_0x4d9e4c=>this[_0x2329fd(0x16c)](_0x2329fd(0x205),_0x4d9e4c))[_0x2329fd(0x1a0)](()=>this[_0x2329fd(0x1c2)]());},{'priority':_0x5b09cd(0x197)}),this[_0x5b09cd(0x19b)]['on'](_0x5b09cd(0x1d5),async(_0x370479,[_0x5b7997,_0x141700])=>{const _0x1dcfae=_0x5b09cd;_0x370479[_0x1dcfae(0x169)]();const _0x1a48c4=this[_0x1dcfae(0x19b)][_0x1dcfae(0x1e6)][_0x1dcfae(0x176)][_0x1dcfae(0x1ea)](_0x5b7997);if(!this[_0x1dcfae(0x15b)][_0x1dcfae(0x1c0)](_0x5b7997)){const _0x3b67d9=_0x141700&&_0x141700[_0x1dcfae(0x160)]?_0x141700[_0x1dcfae(0x160)]:'',_0x1441ef=_0x141700&&_0x141700[_0x1dcfae(0x17d)]?_0x141700[_0x1dcfae(0x17d)]:{};await this[_0x1dcfae(0x1ad)](_0x5b7997,_0x3b67d9,_0x1441ef);}this[_0x1dcfae(0x19b)][_0x1dcfae(0x1e6)][_0x1dcfae(0x10c)]({'isUndoable':!0x1},()=>{const _0x577def=_0x1dcfae;_0x1a48c4[_0x577def(0x206)]=!0x0,this[_0x577def(0x19b)][_0x577def(0x1e6)][_0x577def(0x176)][_0x577def(0x144)][_0x577def(0x1f7)](_0x1a48c4);});},{'priority':_0x5b09cd(0x197)});}async[_0x1bea44(0x1ba)](_0x15d9a0){const _0x1b459b=_0x1bea44,_0x42f254=this[_0x1b459b(0x19b)][_0x1b459b(0x1a2)][_0x1b459b(0x1b8)](_0x5afec8),{connection:_0x265ef3}=this[_0x1b459b(0x19b)][_0x1b459b(0x1a2)][_0x1b459b(0x1b8)](_0x47cf5e),_0xe4f5d5=new Set();for(const _0x2a5dbd of _0x15d9a0){const _0x33eabc=_0x2a5dbd[_0x1b459b(0x1d2)];_0x33eabc&&!_0x42f254[_0x1b459b(0x17a)](_0x33eabc)&&_0xe4f5d5[_0x1b459b(0x1e8)](_0x33eabc);}if(0x0===_0xe4f5d5[_0x1b459b(0x1dc)])return;const _0x19cd87=await _0x5215cc[_0x1b459b(0x163)](_0x265ef3,Array[_0x1b459b(0x200)](_0xe4f5d5));for(const _0x344094 of _0x19cd87)_0x42f254[_0x1b459b(0x17a)](_0x344094['id'])||_0x42f254[_0x1b459b(0x133)](_0x344094);}[_0x1bea44(0x199)](_0x33ea84,_0x22b295={}){const _0x1b3ef9=_0x1bea44,_0x5a44ec=this[_0x1b3ef9(0x19b)][_0x1b3ef9(0x1e6)],_0x11cb87=[];let _0x43e833=0x0;const _0x21d2d8=_0x1b3ef9(0x1cf)==typeof _0x33ea84?{'main':_0x33ea84}:_0x33ea84;for(const _0x58ffb7 of Object[_0x1b3ef9(0x1ca)](_0x21d2d8)){if(!this[_0x1b3ef9(0x162)][_0x1b3ef9(0x1aa)][_0x1b3ef9(0x1c0)](_0x58ffb7))throw new _0x58a5ab(_0x1b3ef9(0x17b),this);const _0x1d1f65=this[_0x1b3ef9(0x19b)][_0x1b3ef9(0x160)][_0x1b3ef9(0x1b2)](_0x21d2d8[_0x58ffb7]),_0x44592b=this[_0x1b3ef9(0x162)][_0x1b3ef9(0x1ea)](_0x58ffb7),_0x3a3433=new _0x355a32(_0x5a44ec[_0x1b3ef9(0x1cd)](_0x44592b,0x0),_0x1d1f65,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x3a3433);for(const [_0x4a1e65,_0x52d585]of _0x1d1f65[_0x1b3ef9(0x187)]){const _0x5cd669=_0x5a44ec[_0x1b3ef9(0x14f)](_0x5a44ec[_0x1b3ef9(0x18d)](_0x44592b,_0x52d585[_0x1b3ef9(0x12c)][_0x1b3ef9(0x1fa)][_0x1b3ef9(0x1e7)]()),_0x5a44ec[_0x1b3ef9(0x18d)](_0x44592b,_0x52d585[_0x1b3ef9(0x171)][_0x1b3ef9(0x1fa)][_0x1b3ef9(0x1e7)]())),_0x1420d1=new _0x584013(_0x4a1e65,null,_0x5cd669,_0x5a44ec[_0x1b3ef9(0x187)],!0x0,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x1420d1);}}if(_0x22b295)for(const [_0x1a5f63,_0x4e714f]of Object[_0x1b3ef9(0x1bf)](_0x22b295)){const _0x3b51d5=_0x5a44ec[_0x1b3ef9(0x176)][_0x1b3ef9(0x1ea)](_0x1a5f63);if(!_0x3b51d5)throw new _0x58a5ab(_0x1b3ef9(0x1c3),null);for(const [_0x174768,_0x1a7ebd]of Object[_0x1b3ef9(0x1bf)](_0x4e714f))if(null!==_0x1a7ebd){const _0x14509b=new _0x2c996b(_0x3b51d5,_0x174768,null,_0x1a7ebd,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x14509b);}}return _0x11cb87;}async[_0x1bea44(0x1ad)](_0x13db9f,_0x105a3e,_0x2426aa){const _0x57fcc8=_0x1bea44;this[_0x57fcc8(0x199)]({[_0x13db9f]:_0x105a3e},{[_0x13db9f]:_0x2426aa})[_0x57fcc8(0x159)]((_0xfd8659,_0x5a5ddd)=>{const _0x428445=_0x57fcc8;_0xfd8659[_0x428445(0x128)]=this[_0x428445(0x162)][_0x428445(0x118)]+_0x5a5ddd,_0xfd8659[_0x428445(0x16e)]=!0x0,this[_0x428445(0x202)](_0xfd8659);}),this[_0x57fcc8(0x1f8)](),await this[_0x57fcc8(0x153)]();}async[_0x1bea44(0x129)](_0x402628,_0x1e4aed){const _0x226043=_0x1bea44;let _0x1791ed;this[_0x226043(0x126)]=_0x402628[_0x226043(0x1a7)];const _0x3aa938=_0x402628[_0x226043(0x16a)]&&!_0x402628[_0x226043(0x150)],_0xa8516=_0x3aa938?0x0:_0x402628[_0x226043(0x160)][_0x226043(0x128)];if(_0x1e4aed[_0x226043(0x159)](_0xf68aa1=>{const _0x44827f=_0x226043;_0xf68aa1[_0x44827f(0x16e)]=!0x0,_0xf68aa1[_0x44827f(0x13d)]=_0x402628[_0x44827f(0x174)],_0xf68aa1[_0x44827f(0x1d2)]=null;}),_0x3aa938)_0x1791ed=_0x1e4aed,this[_0x226043(0x18b)](_0x1791ed,_0x3aa938);else{if(_0x402628[_0x226043(0x150)]){const _0x49ed96=this[_0x226043(0x199)](_0x402628[_0x226043(0x150)]);this[_0x226043(0x162)][_0x226043(0x185)][_0x226043(0x118)]=-_0x49ed96[_0x226043(0x195)],_0x49ed96[_0x226043(0x159)](_0xab98a9=>{const _0xb83d7f=_0x226043;_0xab98a9[_0xb83d7f(0x128)]-=_0x49ed96[_0xb83d7f(0x195)],_0xab98a9[_0xb83d7f(0x13d)]=_0x402628[_0xb83d7f(0x174)],_0xab98a9[_0xb83d7f(0x16e)]=!0x0,_0xab98a9[_0xb83d7f(0x1d2)]=null;}),this[_0x226043(0x18b)](_0x49ed96,!0x0),this[_0x226043(0x18f)][_0x226043(0x118)]=-_0x49ed96[_0x226043(0x195)]+this[_0x226043(0x126)],this[_0x226043(0x1e9)](_0x49ed96);}this[_0x226043(0x162)][_0x226043(0x185)][_0x226043(0x118)]=_0xa8516,_0x1791ed=this[_0x226043(0x145)](_0x402628[_0x226043(0x160)],_0x402628[_0x226043(0x1a9)]),await this[_0x226043(0x1ba)](_0x1791ed),this[_0x226043(0x18b)](_0x1791ed,_0x3aa938);}_0x402628[_0x226043(0x1ef)]&&(this[_0x226043(0x1b7)][_0x226043(0x19a)](_0x1791ed,_0x402628[_0x226043(0x1ef)]),this[_0x226043(0x1a5)]=_0x402628[_0x226043(0x1ef)]),this[_0x226043(0x18f)][_0x226043(0x118)]=_0xa8516+this[_0x226043(0x126)],this[_0x226043(0x1e9)](_0x1791ed),_0x1e4aed[_0x226043(0x152)](_0x374c92=>{const _0x1076c0=_0x226043,_0x48ff79=this[_0x1076c0(0x124)](_0x374c92);return _0x48ff79&&!this[_0x1076c0(0x15b)][_0x1076c0(0x1c0)](_0x48ff79);})[_0x226043(0x159)]((_0x55a3e8,_0x290c85)=>{const _0x379ce0=_0x226043;_0x55a3e8[_0x379ce0(0x128)]=this[_0x379ce0(0x162)][_0x379ce0(0x118)]+_0x290c85,this[_0x379ce0(0x202)](_0x55a3e8);}),this[_0x226043(0x1de)]()?(this[_0x226043(0x1d7)]=0x0,this[_0x226043(0x1f8)](!0x0),await this[_0x226043(0x153)]()):(this[_0x226043(0x1fd)]=!0x1,this[_0x226043(0x1c2)]());}[_0x1bea44(0x16c)](_0x321037,_0x1d9394){const _0x4769f8=_0x1bea44,_0x20e9fe=_0x1d9394&&_0x1d9394[_0x4769f8(0x121)];if(_0x20e9fe&&_0x20e9fe[_0x4769f8(0x1ab)](_0x4769f8(0x16d)))throw _0x1d9394;const _0x3a7a2f=this[_0x4769f8(0x19b)][_0x4769f8(0x1a2)][_0x4769f8(0x1b8)](_0x47cf5e);throw this[_0x4769f8(0x1fd)]=!0x0,_0x3a7a2f[_0x4769f8(0x127)](),this[_0x4769f8(0x19b)][_0x4769f8(0x15a)](_0x4769f8(0x113)),new _0x58a5ab(_0x321037,this[_0x4769f8(0x19b)],_0x20e9fe?{'originalError':_0x20e9fe}:void 0x0);}[_0x1bea44(0x202)](_0x56b22b){const _0x3f244f=_0x1bea44;this[_0x3f244f(0x190)][_0x3f244f(0x1c0)](_0x56b22b)||(this[_0x3f244f(0x190)][_0x3f244f(0x1e8)](_0x56b22b),this[_0x3f244f(0x198)][_0x3f244f(0x1c6)](_0x56b22b),this[_0x3f244f(0x112)]||_0x3f244f(0x177)==_0x56b22b[_0x3f244f(0x209)]&&!_0x56b22b[_0x3f244f(0x1f0)]||this[_0x3f244f(0x161)]());}[_0x1bea44(0x1f8)](_0x3e7fc1=!0x1){const _0x22fb24=_0x1bea44;!_0x3e7fc1&&this[_0x22fb24(0x1fd)]||(this[_0x22fb24(0x1fd)]=!0x0,clearTimeout(this[_0x22fb24(0x116)]),this[_0x22fb24(0x116)]=setTimeout(()=>{const _0x52267a=_0x22fb24;this[_0x52267a(0x10b)]()[_0x52267a(0x1c4)](_0x359b71=>{const _0x34db60=_0x52267a;_0x359b71&&(this[_0x34db60(0x1c2)](),this[_0x34db60(0x1fd)]=!0x1);})[_0x52267a(0x143)](_0x53c740=>{const _0x26d89e=_0x52267a;this[_0x26d89e(0x1c2)](),this[_0x26d89e(0x1fd)]=!0x1,function(_0x2179dc){const _0x516318=_0x26d89e;return _0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x110))||_0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x12e))||_0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x183));}(_0x53c740)||this[_0x26d89e(0x16c)](_0x53c740[_0x26d89e(0x121)],_0x53c740);});},this[_0x22fb24(0x1d7)]));}[_0x1bea44(0x153)](){return new Promise(_0x18f402=>{const _0x436309=_0x49c9;this['on'](_0x436309(0x131),()=>{_0x18f402();});});}async[_0x1bea44(0x10b)](){const _0x2fe250=_0x1bea44,_0x11014f=this[_0x2fe250(0x19b)][_0x2fe250(0x1a2)][_0x2fe250(0x1b8)](_0x13b1ce);if(this[_0x2fe250(0x119)]()&&(_0x11014f[_0x2fe250(0x1ec)](),this[_0x2fe250(0x1b1)]=!0x1),!this[_0x2fe250(0x1de)]())return!0x0;const _0x1d0c8a=[...this[_0x2fe250(0x198)]];for(const _0x351a2e of _0x1d0c8a)_0x351a2e[_0x2fe250(0x182)]=this[_0x2fe250(0x162)][_0x2fe250(0x185)][_0x2fe250(0x1d0)](_0x351a2e);const _0x4a43e7=this[_0x2fe250(0x1b7)][_0x2fe250(0x194)](_0x1d0c8a),_0x2f3711=G++,_0x14932e=this[_0x2fe250(0x12d)](_0x1d0c8a),_0x3046e1=await this[_0x2fe250(0x10e)][_0x2fe250(0x15d)](_0x14932e,_0x14932e[_0x2fe250(0x128)],_0x4a43e7);try{return await this[_0x2fe250(0x1e1)](_0x1d0c8a,_0x3046e1,_0x2f3711);}catch(_0xafbe2e){return this[_0x2fe250(0x16c)](_0x2fe250(0x16f),_0xafbe2e);}}async[_0x1bea44(0x1e1)](_0x1e29a3,_0x5e0648,_0x528741){const _0x2d0d8d=_0x1bea44;if(_0x2d0d8d(0x188)in _0x5e0648)throw _0x5e0648[_0x2d0d8d(0x188)];let _0x259d5f=!0x1;if(_0x5e0648[_0x2d0d8d(0x16a)]){_0x5e0648[_0x2d0d8d(0x1ef)]&&(this[_0x2d0d8d(0x1a5)]=_0x5e0648[_0x2d0d8d(0x1ef)]),this[_0x2d0d8d(0x198)]=this[_0x2d0d8d(0x198)][_0x2d0d8d(0x152)](_0x4f9dd0=>!_0x1e29a3[_0x2d0d8d(0x14c)](_0x4f9dd0));for(const _0x2d1c5a of _0x1e29a3)_0x2d1c5a[_0x2d0d8d(0x13d)]=_0x2d0d8d(0x107)in _0x5e0648&&_0x5e0648[_0x2d0d8d(0x107)]||void 0x0;K(_0x1e29a3,_0x5e0648[_0x2d0d8d(0x118)]-_0x1e29a3[_0x2d0d8d(0x195)]),this[_0x2d0d8d(0x1e9)](_0x1e29a3);const _0x5a7d91=_0x1e29a3[_0x2d0d8d(0x152)](_0x3d2074=>{const _0x833847=_0x2d0d8d;if(!_0x3d2074[_0x833847(0x16e)])return!0x1;const _0x4589b4=this[_0x833847(0x124)](_0x3d2074);return _0x4589b4&&!this[_0x833847(0x15b)][_0x833847(0x1c0)](_0x4589b4);});K(_0x5a7d91,this[_0x2d0d8d(0x162)][_0x2d0d8d(0x118)]),this[_0x2d0d8d(0x18b)](_0x5a7d91),_0x259d5f=!0x0,this[_0x2d0d8d(0x1d7)]=this[_0x2d0d8d(0x114)];}else{const _0x1eb3df=this[_0x2d0d8d(0x145)](_0x5e0648[_0x2d0d8d(0x160)],_0x5e0648[_0x2d0d8d(0x1a9)])[_0x2d0d8d(0x152)](_0x40abae=>_0x40abae[_0x2d0d8d(0x128)]>=this[_0x2d0d8d(0x157)]);_0x1eb3df[_0x2d0d8d(0x159)](_0x23e0c6=>this[_0x2d0d8d(0x179)](_0x23e0c6)),this[_0x2d0d8d(0x198)]=this[_0x2d0d8d(0x198)][_0x2d0d8d(0x152)](_0x1410c6=>!_0x1410c6[_0x2d0d8d(0x16e)]||!this[_0x2d0d8d(0x15b)][_0x2d0d8d(0x1c0)](this[_0x2d0d8d(0x124)](_0x1410c6))),this[_0x2d0d8d(0x198)][_0x2d0d8d(0x195)]&&K(this[_0x2d0d8d(0x198)],this[_0x2d0d8d(0x198)][0x0][_0x2d0d8d(0x128)]),await this[_0x2d0d8d(0x1ba)](_0x1eb3df),_0x259d5f=this[_0x2d0d8d(0x207)](_0x1eb3df,_0x5e0648[_0x2d0d8d(0x118)],_0x5e0648[_0x2d0d8d(0x1ef)]),this[_0x2d0d8d(0x1d7)]=Math[_0x2d0d8d(0x12b)](this[_0x2d0d8d(0x1d7)]/0x2);}return _0x259d5f?!this[_0x2d0d8d(0x1de)]()||(this[_0x2d0d8d(0x1f8)](!0x0),!0x1):this[_0x2d0d8d(0x16c)](_0x2d0d8d(0x10d));}[_0x1bea44(0x207)](_0x2ca459,_0x55ddec,_0x1171f0){const _0x57ee3f=_0x1bea44;try{const _0x5f08c4={'document':this[_0x57ee3f(0x162)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xc0d427,operationsB:_0x265699,originalOperations:_0x4047e2}=_0x44dbdf(_0x2ca459,this[_0x57ee3f(0x198)],_0x5f08c4);K(_0xc0d427,this[_0x57ee3f(0x162)][_0x57ee3f(0x118)]),K(_0x265699,_0x55ddec);for(const _0x484cce of _0xc0d427){const _0x105690=_0x4047e2[_0x57ee3f(0x1b8)](_0x484cce);_0x484cce[_0x57ee3f(0x1d2)]=_0x105690?_0x105690[_0x57ee3f(0x1d2)]:null;}_0x1171f0&&(this[_0x57ee3f(0x1b7)][_0x57ee3f(0x19a)](_0x2ca459,_0x1171f0),this[_0x57ee3f(0x1a5)]=_0x1171f0),this[_0x57ee3f(0x198)]=[..._0x265699],this[_0x57ee3f(0x18b)](_0xc0d427),this[_0x57ee3f(0x1e9)](_0x2ca459);}catch(_0x346552){return console[_0x57ee3f(0x188)](_0x346552),!0x1;}return!0x0;}[_0x1bea44(0x18b)](_0x53c5c3,_0x1bbc39=!0x1){const _0x4dcb63=_0x1bea44;this[_0x4dcb63(0x19b)][_0x4dcb63(0x1e6)][_0x4dcb63(0x10c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x572e32=>{const _0x4997b9=_0x4dcb63;for(const _0x5ac7d9 of _0x53c5c3)this[_0x4997b9(0x190)][_0x4997b9(0x1e8)](_0x5ac7d9),this[_0x4997b9(0x179)](_0x5ac7d9),_0x572e32[_0x4997b9(0x18c)][_0x4997b9(0x1d4)](_0x5ac7d9),this[_0x4997b9(0x19b)][_0x4997b9(0x1e6)][_0x4997b9(0x13e)](_0x5ac7d9);});}[_0x1bea44(0x179)](_0x78c77c){const _0x127c51=_0x1bea44,_0x2ac353=this[_0x127c51(0x124)](_0x78c77c);_0x2ac353&&this[_0x127c51(0x15b)][_0x127c51(0x1e8)](_0x2ac353);}[_0x1bea44(0x124)](_0x1ce178){const _0x2d3436=_0x1bea44;let _0x59b793,_0x142bff;switch(_0x1ce178[_0x2d3436(0x209)]){case _0x2d3436(0x1ff):_0x59b793=_0x1ce178[_0x2d3436(0x164)][_0x2d3436(0x17c)];break;case _0x2d3436(0x177):if(_0x142bff=_0x1ce178[_0x2d3436(0x180)],!_0x142bff)return null;_0x59b793=_0x142bff[_0x2d3436(0x17c)];break;case _0x2d3436(0x1fe):_0x59b793=_0x1ce178[_0x2d3436(0x17c)];break;case _0x2d3436(0x117):_0x59b793=_0x1ce178[_0x2d3436(0x1d8)];break;case _0x2d3436(0x1c8):_0x59b793=_0x1ce178[_0x2d3436(0x13f)][_0x2d3436(0x17c)];break;default:return null;}return _0x59b793[_0x2d3436(0x1c1)];}[_0x1bea44(0x1e9)](_0x52ca7c){const _0x305068=_0x1bea44;_0x52ca7c[_0x305068(0x159)](_0x4d55fb=>{const _0x558ece=_0x305068,_0x4bd29a=_0x4d55fb[_0x558ece(0x1fc)]();_0x4bd29a[_0x558ece(0x1d2)]=_0x4d55fb[_0x558ece(0x1d2)],_0x4bd29a[_0x558ece(0x16e)]=!!_0x4d55fb[_0x558ece(0x16e)],_0x4bd29a[_0x558ece(0x13d)]=_0x4d55fb[_0x558ece(0x13d)],_0x4bd29a[_0x558ece(0x128)]+=this[_0x558ece(0x126)],_0x4d55fb[_0x558ece(0x1ee)]&&this[_0x558ece(0x16b)][_0x558ece(0x1e8)](_0x4bd29a),this[_0x558ece(0x18f)][_0x558ece(0x1d4)](_0x4bd29a);});}[_0x1bea44(0x1be)](_0x2f877a){const _0x21a5a6=_0x1bea44,_0x1a5923=this[_0x21a5a6(0x19b)][_0x21a5a6(0x1a2)][_0x21a5a6(0x1b8)](_0x21a5a6(0x11e)),_0x322590=this[_0x21a5a6(0x19b)][_0x21a5a6(0x11c)];_0x2f877a||(_0x2f877a=_0x4a75f7(_0x322590,_0x21a5a6(0x1c9))),_0x1a5923[_0x21a5a6(0x12f)](_0x2f877a,{'title':_0x4a75f7(_0x322590,_0x21a5a6(0x201)),'namespace':_0x21a5a6(0x156)}),this[_0x21a5a6(0x18e)]=!0x0,clearTimeout(this[_0x21a5a6(0x116)]),this[_0x21a5a6(0x198)]=[],this[_0x21a5a6(0x19b)][_0x21a5a6(0x1a2)][_0x21a5a6(0x1b8)](_0x47cf5e)[_0x21a5a6(0x127)]();}[_0x1bea44(0x161)](){const _0x32b1e0=_0x1bea44;this[_0x32b1e0(0x112)]||(this[_0x32b1e0(0x112)]=this[_0x32b1e0(0x19b)][_0x32b1e0(0x1a2)][_0x32b1e0(0x1b8)](_0x33ad1c)[_0x32b1e0(0x1e8)](_0x4a75f7(this[_0x32b1e0(0x19b)][_0x32b1e0(0x11c)],_0x32b1e0(0x14a))));}[_0x1bea44(0x1c2)](){const _0x229ba5=_0x1bea44;this[_0x229ba5(0x112)]&&(this[_0x229ba5(0x19b)][_0x229ba5(0x1a2)][_0x229ba5(0x1b8)](_0x33ad1c)[_0x229ba5(0x141)](this[_0x229ba5(0x112)]),this[_0x229ba5(0x112)]=null);}[_0x1bea44(0x12d)](_0x240f0c){const _0x272e13=_0x1bea44,_0x4022a7=_0x240f0c[_0x272e13(0x20a)](_0x4ed22f=>_0x4ed22f[_0x272e13(0x17f)]());return this[_0x272e13(0x1b9)][_0x272e13(0x125)](_0x4022a7);}[_0x1bea44(0x145)](_0x57345b,_0x45ec03){const _0xb261c2=_0x1bea44;return this[_0xb261c2(0x1b9)][_0xb261c2(0x147)](_0x57345b)[_0xb261c2(0x20a)]((_0x7f0eb3,_0x4c38ae)=>{const _0x10aedc=_0xb261c2,_0x55d36d=_0x10aedc(0x1a6)==_0x45ec03[_0x4c38ae][_0x10aedc(0x209)];if(_0x10aedc(0x1b6)==_0x7f0eb3[_0x10aedc(0x1d9)]){const _0x4fe34c=_0x7f0eb3[_0x10aedc(0x164)][_0x10aedc(0x17c)];!this[_0x10aedc(0x162)][_0x10aedc(0x1ea)](_0x4fe34c)&&(this[_0x10aedc(0x162)][_0x10aedc(0x1bb)](_0x10aedc(0x196),_0x4fe34c)[_0x10aedc(0x136)]=!0x1);}const _0x222ae7=_0x1b1d77[_0x10aedc(0x1f4)](_0x7f0eb3,this[_0x10aedc(0x162)]);return _0x222ae7[_0x10aedc(0x182)]=_0x7f0eb3[_0x10aedc(0x182)],_0x222ae7[_0x10aedc(0x16e)]=_0x55d36d,_0x222ae7[_0x10aedc(0x1d2)]=_0x55d36d?null:_0x45ec03[_0x4c38ae][_0x10aedc(0x115)],_0x222ae7[_0x10aedc(0x1ee)]=_0x10aedc(0x1e2)===_0x45ec03[_0x4c38ae][_0x10aedc(0x209)],_0x222ae7[_0x10aedc(0x13d)]=_0x45ec03[_0x4c38ae][_0x10aedc(0x13d)],_0x222ae7;});}[_0x1bea44(0x165)](){const _0x286150=_0x1bea44;this[_0x286150(0x1b1)]=!0x0,this[_0x286150(0x119)]()?this[_0x286150(0x1f8)]():this[_0x286150(0x1b1)]=!0x1;}[_0x1bea44(0x119)](){const _0x10e429=_0x1bea44,_0x428faf=this[_0x10e429(0x19b)][_0x10e429(0x1a2)][_0x10e429(0x1b8)](_0x10f393)[_0x10e429(0x19e)][_0x10e429(0x1b8)](this[_0x10e429(0x1a1)]);return!this[_0x10e429(0x19b)][_0x10e429(0x12a)]&&!!_0x428faf&&_0x428faf[_0x10e429(0x195)]>0x1&&this[_0x10e429(0x1b1)];}[_0x1bea44(0x1de)](){const _0x51ef07=_0x1bea44;return this[_0x51ef07(0x198)][_0x51ef07(0x195)]>0x0||this[_0x51ef07(0x119)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x36cab0,_0x3f8685){const _0x6f1076=_0x1bea44;for(const _0x489c2b of _0x36cab0)_0x489c2b[_0x6f1076(0x128)]=_0x3f8685++;}class J{[_0x1bea44(0x1ae)];[_0x1bea44(0x146)];constructor(_0x3a4a88){const _0x2bad40=_0x1bea44;this[_0x2bad40(0x1ae)]=_0x3a4a88,this[_0x2bad40(0x146)]=new WeakMap();}[_0x1bea44(0x194)](_0x4c9417){const _0x40d0b2=_0x1bea44;let _0x30824c=_0x4c9417[_0x40d0b2(0x195)];for(;_0x30824c--;){const _0x4202d1=_0x4c9417[_0x30824c];if(!this[_0x40d0b2(0x1ae)][_0x40d0b2(0x1c0)](_0x4202d1)){if(!this[_0x40d0b2(0x146)][_0x40d0b2(0x1c0)](_0x4202d1)){const _0x4fc11c=_0xff2b59()[_0x40d0b2(0x1e7)](0x1,0x12);this[_0x40d0b2(0x146)][_0x40d0b2(0x1d3)](_0x4202d1,_0x4fc11c);}return this[_0x40d0b2(0x146)][_0x40d0b2(0x1b8)](_0x4202d1);}}}[_0x1bea44(0x19a)](_0x1c6e3d,_0x45128f){const _0x433b0c=_0x1bea44;if(!_0x45128f)return;let _0x4d90c9=_0x1c6e3d[_0x433b0c(0x195)];for(;_0x4d90c9--;){const _0x355791=_0x1c6e3d[_0x4d90c9];this[_0x433b0c(0x1ae)][_0x433b0c(0x1c0)](_0x355791)||this[_0x433b0c(0x146)][_0x433b0c(0x1d3)](_0x355791,_0x45128f);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39275e=_0x1af9;(function(_0x66c6f2,_0x5cfdf2){const _0x5f4ad7=_0x1af9,_0x5203d6=_0x66c6f2();while(!![]){try{const _0x2271d1=-parseInt(_0x5f4ad7(0x1ee))/0x1*(-parseInt(_0x5f4ad7(0x1ea))/0x2)+-parseInt(_0x5f4ad7(0x1d9))/0x3+parseInt(_0x5f4ad7(0x1e9))/0x4+parseInt(_0x5f4ad7(0x204))/0x5+parseInt(_0x5f4ad7(0x1d2))/0x6+parseInt(_0x5f4ad7(0x209))/0x7*(-parseInt(_0x5f4ad7(0x1d8))/0x8)+-parseInt(_0x5f4ad7(0x1f5))/0x9;if(_0x2271d1===_0x5cfdf2)break;else _0x5203d6['push'](_0x5203d6['shift']());}catch(_0x533db7){_0x5203d6['push'](_0x5203d6['shift']());}}}(_0x16fc,0xecd1f));function _0x1af9(_0x415607,_0x56bae4){const _0x16fcae=_0x16fc();return _0x1af9=function(_0x1af96a,_0x437eb2){_0x1af96a=_0x1af96a-0x1cd;let _0x565026=_0x16fcae[_0x1af96a];return _0x565026;},_0x1af9(_0x415607,_0x56bae4);}import{ContextPlugin as _0x37f576}from'ckeditor5/src/core.js';import{Collection as _0x13f6db,CKEditorError as _0x2b4035}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1d61cd}from'./websocketgateway.js';function _0x16fc(){const _0x29fc80=['17544HlVyyg','974148CTihOJ','_handleSessionRemove','fire','add','mySessionId','_handleSessionAdd','connected','defineMe','stopListening','channelSessions','pluginName','size','has','sessions-unregister-not-exist','init','addUser','5040836eQkSRN','118NQRPLU','forEach','role','change:state','21313OMXCXy','assign','unregister','values','allConnectedUsers','plugins','register','13073112lOCSfo','_users','hiddenInPresenceList','remove','sessionId','user','sessionAdd:','getUser','_registeredSessions','state','set','orderNumber','getUserBySessionId','getUserRole','requires','6457175vVSTGX','getUserSessions','connection','_uniqueUsersCount','sessions-register-already-registered','5383FtrafZ','isPremiumPlugin','context','clear','_createUser','Sessions','channelConnectedUsers','3747630udLUCi','delete','isOfficialPlugin','isMe','listenTo','get'];_0x16fc=function(){return _0x29fc80;};return _0x16fc();}import{Users as _0x583e63}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x37f576{[_0x39275e(0x1e2)];[_0x39275e(0x1d1)];[_0x39275e(0x1f2)];[_0x39275e(0x1fd)];[_0x39275e(0x207)];[_0x39275e(0x1f6)];static get[_0x39275e(0x1e3)](){const _0x4d1b82=_0x39275e;return _0x4d1b82(0x1d0);}static get[_0x39275e(0x1d4)](){return!0x0;}static get[_0x39275e(0x20a)](){return!0x0;}static get[_0x39275e(0x203)](){return[_0x1d61cd,_0x583e63];}constructor(_0x523df3){const _0x135cf3=_0x39275e;super(_0x523df3),this[_0x135cf3(0x1e2)]=new Map(),this[_0x135cf3(0x1d1)]=new Map(),this[_0x135cf3(0x1f2)]=new _0x13f6db(),this[_0x135cf3(0x1fd)]=new Map(),this[_0x135cf3(0x207)]=0x0,this[_0x135cf3(0x1f6)]=this[_0x135cf3(0x1cd)][_0x135cf3(0x1f3)][_0x135cf3(0x1d7)](_0x583e63);}[_0x39275e(0x1e7)](){const _0x478ff7=_0x39275e,_0x5bde13=this[_0x478ff7(0x1cd)][_0x478ff7(0x1f3)][_0x478ff7(0x1d7)](_0x1d61cd);this[_0x478ff7(0x1d6)](_0x5bde13,_0x478ff7(0x1ed),(_0x3207eb,_0x2b5622,_0x57fce8)=>{const _0x255478=_0x478ff7;if(_0x255478(0x1df)!==_0x57fce8)this[_0x255478(0x1e2)][_0x255478(0x1eb)](_0x7d7a78=>_0x7d7a78[_0x255478(0x1ce)]()),this[_0x255478(0x1d1)][_0x255478(0x1eb)](_0x3d639f=>_0x3d639f[_0x255478(0x1ce)]()),this[_0x255478(0x1f2)][_0x255478(0x1ce)]();else{for(const [_0x43c29e,_0x27b58b]of this[_0x255478(0x1fd)])for(const _0xb6a311 of _0x27b58b)this[_0x255478(0x1de)](_0x43c29e,_0xb6a311);}}),this[_0x478ff7(0x1cf)](_0x5bde13[_0x478ff7(0x206)]['me'],!0x0);}[_0x39275e(0x1f4)](_0x458afb,_0x3d4674){const _0x36e83a=_0x39275e;if(this[_0x36e83a(0x1fd)][_0x36e83a(0x1e5)](_0x458afb))throw new _0x2b4035(_0x36e83a(0x208),null,{'channelId':_0x458afb});this[_0x36e83a(0x1fd)][_0x36e83a(0x1ff)](_0x458afb,_0x3d4674),this[_0x36e83a(0x1e2)][_0x36e83a(0x1ff)](_0x458afb,new _0x13f6db()),this[_0x36e83a(0x1d1)][_0x36e83a(0x1ff)](_0x458afb,new _0x13f6db()),this[_0x36e83a(0x1d6)](_0x3d4674,_0x36e83a(0x1dc),(_0x39f7bc,_0x1484e3)=>this[_0x36e83a(0x1de)](_0x458afb,_0x1484e3)),this[_0x36e83a(0x1d6)](_0x3d4674,_0x36e83a(0x1f8),(_0x4d664b,_0x598874)=>this[_0x36e83a(0x1da)](_0x458afb,_0x598874));for(const _0x19e545 of _0x3d4674)this[_0x36e83a(0x1de)](_0x458afb,_0x19e545);}[_0x39275e(0x1f0)](_0x2fae16){const _0x9bd1f0=_0x39275e;if(!this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1e5)](_0x2fae16))throw new _0x2b4035(_0x9bd1f0(0x1e6),null,{'channelId':_0x2fae16});const _0x205c7d=this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1d7)](_0x2fae16);this[_0x9bd1f0(0x1e1)](_0x205c7d);for(const _0x4500d4 of _0x205c7d)_0x9bd1f0(0x1df)===this[_0x9bd1f0(0x1cd)][_0x9bd1f0(0x1f3)][_0x9bd1f0(0x1d7)](_0x1d61cd)[_0x9bd1f0(0x1fe)]&&this[_0x9bd1f0(0x1da)](_0x2fae16,_0x4500d4);this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1d3)](_0x2fae16),this[_0x9bd1f0(0x1e2)][_0x9bd1f0(0x1d3)](_0x2fae16),this[_0x9bd1f0(0x1d1)][_0x9bd1f0(0x1d3)](_0x2fae16);}get[_0x39275e(0x1dd)](){const _0x488c55=_0x39275e;return this[_0x488c55(0x1cd)][_0x488c55(0x1f3)][_0x488c55(0x1d7)](_0x1d61cd)[_0x488c55(0x206)][_0x488c55(0x1f9)];}[_0x39275e(0x201)](_0x4805cc){const _0x119c02=_0x39275e;for(const _0x54cee1 of this[_0x119c02(0x1e2)][_0x119c02(0x1f1)]())for(const _0x3f26d4 of _0x54cee1)if(_0x3f26d4['id']===_0x4805cc)return _0x3f26d4[_0x119c02(0x1fa)];}[_0x39275e(0x205)](_0x50450e,_0x266dae){const _0x18bf0b=_0x39275e,_0x3dcb02=_0x266dae?[this[_0x18bf0b(0x1e2)][_0x18bf0b(0x1d7)](_0x266dae)]:this[_0x18bf0b(0x1e2)][_0x18bf0b(0x1f1)](),_0x110b80=new Set();for(const _0x27c1e0 of _0x3dcb02)for(const _0x3f9150 of _0x27c1e0)_0x3f9150[_0x18bf0b(0x1fa)]['id']===_0x50450e['id']&&_0x110b80[_0x18bf0b(0x1dc)](_0x3f9150['id']);return _0x110b80;}[_0x39275e(0x202)](_0x1b31c7){const _0x23feb5=_0x39275e;for(const _0x2f08ab of this[_0x23feb5(0x1e2)][_0x23feb5(0x1f1)]())for(const _0x2f031b of _0x2f08ab)if(_0x2f031b[_0x23feb5(0x1fa)]===_0x1b31c7)return _0x2f031b[_0x23feb5(0x1ec)];}[_0x39275e(0x1de)](_0x30fd12,_0x413434){const _0x3f0f0f=_0x39275e;if(_0x3f0f0f(0x1df)!==this[_0x3f0f0f(0x1cd)][_0x3f0f0f(0x1f3)][_0x3f0f0f(0x1d7)](_0x1d61cd)[_0x3f0f0f(0x1fe)])return;const _0xd82c36=_0x413434[_0x3f0f0f(0x1fa)],_0x5c5946=this[_0x3f0f0f(0x1f6)][_0x3f0f0f(0x1fc)](_0xd82c36['id'])||this[_0x3f0f0f(0x1cf)](_0xd82c36),_0x5acd2e=Object[_0x3f0f0f(0x1ef)]({},_0x413434,{'user':_0x5c5946});if(this[_0x3f0f0f(0x1e2)][_0x3f0f0f(0x1d7)](_0x30fd12)[_0x3f0f0f(0x1dc)](_0x5acd2e),!_0xd82c36[_0x3f0f0f(0x1f7)]){const _0x21f3be=this[_0x3f0f0f(0x1d1)][_0x3f0f0f(0x1d7)](_0x30fd12);_0x21f3be[_0x3f0f0f(0x1e5)](_0x5c5946['id'])||_0x21f3be[_0x3f0f0f(0x1dc)](_0x5c5946),this[_0x3f0f0f(0x1f2)][_0x3f0f0f(0x1e5)](_0x5c5946['id'])||_0xd82c36[_0x3f0f0f(0x1f7)]||this[_0x3f0f0f(0x1f2)][_0x3f0f0f(0x1dc)](_0x5c5946,_0x5c5946[_0x3f0f0f(0x1d5)]?0x0:void 0x0);}this[_0x3f0f0f(0x1db)](_0x3f0f0f(0x1fb)+_0x30fd12,{'channelId':_0x30fd12,'session':_0x5acd2e});}[_0x39275e(0x1da)](_0x4aedf7,_0xd8c10f){const _0x4f3354=_0x39275e;if(_0x4f3354(0x1df)!==this[_0x4f3354(0x1cd)][_0x4f3354(0x1f3)][_0x4f3354(0x1d7)](_0x1d61cd)[_0x4f3354(0x1fe)])return;const _0x40a693=this[_0x4f3354(0x1d1)][_0x4f3354(0x1d7)](_0x4aedf7),_0x480c72=_0xd8c10f[_0x4f3354(0x1fa)];_0x480c72['id']&&(this[_0x4f3354(0x1e2)][_0x4f3354(0x1d7)](_0x4aedf7)[_0x4f3354(0x1f8)](_0xd8c10f['id']),_0x40a693[_0x4f3354(0x1e5)](_0x480c72['id'])&&!this[_0x4f3354(0x205)](_0x480c72,_0x4aedf7)[_0x4f3354(0x1e4)]&&_0x40a693[_0x4f3354(0x1f8)](_0x480c72['id']),this[_0x4f3354(0x1f2)][_0x4f3354(0x1d7)](_0x480c72['id'])&&!this[_0x4f3354(0x205)](_0x480c72)[_0x4f3354(0x1e4)]&&this[_0x4f3354(0x1f2)][_0x4f3354(0x1f8)](_0x480c72['id']));}[_0x39275e(0x1cf)](_0x2b4b57,_0x40e8b3){const _0x102fef=_0x39275e,_0x4fa4c0=this[_0x102fef(0x1f6)][_0x102fef(0x1e8)](_0x2b4b57);return _0x40e8b3&&this[_0x102fef(0x1f6)][_0x102fef(0x1e0)](_0x2b4b57['id']),_0x4fa4c0[_0x102fef(0x200)]=this[_0x102fef(0x207)]++,_0x4fa4c0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x631e33=_0x4dd7;(function(_0x47d353,_0x30bf4d){const _0x518bab=_0x4dd7,_0x9b1078=_0x47d353();while(!![]){try{const _0x2deb5a=-parseInt(_0x518bab(0xd1))/0x1*(parseInt(_0x518bab(0xdb))/0x2)+parseInt(_0x518bab(0x120))/0x3+parseInt(_0x518bab(0x126))/0x4*(parseInt(_0x518bab(0xd4))/0x5)+-parseInt(_0x518bab(0xc9))/0x6+parseInt(_0x518bab(0xca))/0x7+parseInt(_0x518bab(0xf1))/0x8*(-parseInt(_0x518bab(0xe6))/0x9)+parseInt(_0x518bab(0xa7))/0xa*(parseInt(_0x518bab(0x10c))/0xb);if(_0x2deb5a===_0x30bf4d)break;else _0x9b1078['push'](_0x9b1078['shift']());}catch(_0x2c0c10){_0x9b1078['push'](_0x9b1078['shift']());}}}(_0x5115,0xacd95));function _0x5115(){const _0x5ac991=['createUIElement','delete','contenteditable','spellcheck','render','addMarker','user:range:','isOfficialPlugin','highest','deletionPosition','updateMarker','editor','getSelectionClass','change:range','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','33iOLlLk','createElement','_domEmitter','hasDomSelection','marker','update:user:range','editing','enqueueChange','nodeAfter','$text','selection','isDocumentOperation','getStart','innerHTML','isPremiumPlugin','false','root','markerToElement','start','mapper','3371706hzKVGx','isCollapsed','textContent','reconvertMarker','setAttribute','ck-user__marker\x20','48FpXSsY','newRange','change','span','mySessionId','commands','listenTo','getNearestSelectionRange','getUserBySessionId','startsWith','mouseleave','user:','undo','4445190FZBmom','has','oldRange','isObject','rootName','model','getPositions','$graveyard','markerRange','element','classList','applyOperation','schema','userPositionMarker','split','isLimit','get','isInline','data-session-id','destroy','ck-user__marker-tooltip','init','createUserMarkerOperations','batch','checkChild','outerHTML','user:position:','add','editingDowncast','end','toDomElement','_createdBatches','removeMarker','getFirstRange','2441340GqlRJI','3868627CejUzn','getContainedElement','markers','fromRange','clear','addEventListener','removeClass','212885pYKwaW','type','Escape','37575ChUSSp','plugins','mouseenter','remove','markerName','getMarkerClass','UserMarkers','10ZACluH','stopListening','conversion','user:range','set','requires','tableCell','view','ck-user__marker_hovered','createRange','for','4144482bNXnYe','afterInit','color','isSimilar','getAttribute','document','ck-user__selection','user:position','keydown','getRange','markerNameToElements','16bZEIMq','parent','size','detach','name','getCustomProperty','setCustomProperty','markerToHighlight','pluginName','hasContent','toRange','orderNumber'];_0x5115=function(){return _0x5ac991;};return _0x5115();}import{Plugin as _0x38813c}from'ckeditor5/src/core.js';import{global as _0x515e1f,DomEmitterMixin as _0x3fa892}from'ckeditor5/src/utils.js';import{Sessions as _0x2514ff}from'./sessions.js';import{ModelLiveRange as _0x43fb75}from'ckeditor5/src/engine.js';function _0x4dd7(_0x4efff7,_0x48f5e7){const _0x5115c8=_0x5115();return _0x4dd7=function(_0x4dd794,_0x3bc0f3){_0x4dd794=_0x4dd794-0xa6;let _0x2741f3=_0x5115c8[_0x4dd794];return _0x2741f3;},_0x4dd7(_0x4efff7,_0x48f5e7);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x38813c{[_0x631e33(0x10e)]=new(_0x3fa892())();static get[_0x631e33(0xe0)](){return[_0x2514ff];}static get[_0x631e33(0xf9)](){const _0x3d9b7a=_0x631e33;return _0x3d9b7a(0xda);}static get[_0x631e33(0x104)](){return!0x0;}static get[_0x631e33(0x11a)](){return!0x0;}[_0x631e33(0xbc)](){const _0x477aba=_0x631e33,_0x3abe68=this[_0x477aba(0x108)],_0x4c245b=_0x3abe68[_0x477aba(0xd5)][_0x477aba(0xb7)](_0x2514ff);_0x3abe68[_0x477aba(0xdd)][_0x477aba(0xe5)](_0x477aba(0xc3))[_0x477aba(0x11d)]({'model':_0x477aba(0xed),'view':(_0x26c627,{writer:_0x4af3b1})=>function(_0x6abc80,_0x48797d,_0x47e51f,_0x75a382){const _0x1302ff=_0x477aba,_0xe33be0=_0x6abc80[_0x1302ff(0xd8)][_0x1302ff(0xb5)](':')[0x2],_0x20e2b4=_0x47e51f[_0x1302ff(0x12e)](_0xe33be0);if(!_0x20e2b4||_0xe33be0===_0x47e51f[_0x1302ff(0x12a)])return;if(!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)][_0x1302ff(0xbf)](_0x6abc80[_0x1302ff(0xaf)][_0x1302ff(0x11e)],_0x1302ff(0x115)))return;const _0x34096b={'class':_0x1302ff(0x125)+_0x20e2b4[_0x1302ff(0xe8)][_0x1302ff(0xd9)](),'data-name':_0x20e2b4[_0x1302ff(0xf5)],'data-session-id':_0xe33be0},_0x2ca1ee=_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xcc)][_0x1302ff(0xb7)](_0x6abc80[_0x1302ff(0xd8)]),_0x48c56c=_0x2ca1ee[_0x1302ff(0x118)](),_0x5e8c6f=_0x48c56c[_0x1302ff(0x114)],_0x5db0c5=_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)];if(_0x5e8c6f&&_0x5db0c5[_0x1302ff(0xaa)](_0x5e8c6f)&&_0x5db0c5[_0x1302ff(0xb8)](_0x5e8c6f)&&!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xcc)][_0x1302ff(0xb7)](_0x1302ff(0x103)+_0xe33be0)[_0x1302ff(0xef)]()[_0x1302ff(0x121)])return;const _0x26930d=_0x48c56c[_0x1302ff(0xf2)];return _0x75a382[_0x1302ff(0xac)][_0x1302ff(0xb3)][_0x1302ff(0xb6)](_0x26930d)&&!_0x75a382[_0x1302ff(0xac)][_0x1302ff(0xfa)](_0x26930d)&&(_0x34096b[_0x1302ff(0xff)]=!0x1),function(_0x5ba483,_0x5054db,_0xc2f479){const _0x48ea41=_0x1302ff,_0x2affa9=_0x5ba483[_0x48ea41(0xfd)](_0x48ea41(0x129),_0x5054db);return _0x5ba483[_0x48ea41(0xf7)](_0x48ea41(0xb4),!0x0,_0x2affa9),_0x2affa9[_0x48ea41(0x101)]=function(_0x2f2ab0){const _0x2ad4a3=_0x48ea41,_0x3239d2=this[_0x2ad4a3(0xc5)](_0x2f2ab0),_0x507b75=document[_0x2ad4a3(0x10d)](_0x2ad4a3(0x129));return _0x507b75[_0x2ad4a3(0xb1)][_0x2ad4a3(0xc2)](_0x2ad4a3(0xbb)),_0x507b75[_0x2ad4a3(0x124)](_0x2ad4a3(0xff),_0x2ad4a3(0x11b)),_0x507b75[_0x2ad4a3(0x124)](_0x2ad4a3(0x100),_0x2ad4a3(0x11b)),_0x507b75[_0x2ad4a3(0x122)]=_0xc2f479[_0x2ad4a3(0xf5)],_0x3239d2[_0x2ad4a3(0x119)]=_0x2ad4a3(0x10b)+_0x507b75[_0x2ad4a3(0xc0)]+'',_0x3239d2[_0x2ad4a3(0xcf)](_0x2ad4a3(0xd6),()=>{const _0x38ce7c=_0x2ad4a3;_0x3239d2[_0x38ce7c(0xb1)][_0x38ce7c(0xc2)](_0x38ce7c(0xe3));}),_0x3239d2[_0x2ad4a3(0xcf)](_0x2ad4a3(0x130),()=>{const _0xa2179f=_0x2ad4a3;_0x3239d2[_0xa2179f(0xb1)][_0xa2179f(0xd7)](_0xa2179f(0xe3));}),_0x3239d2;},_0x2affa9[_0x48ea41(0xe9)]=function(_0x146623){const _0x2a8063=_0x48ea41;return!(!this[_0x2a8063(0xf6)](_0x2a8063(0xb4))||!_0x146623[_0x2a8063(0xf6)](_0x2a8063(0xb4))||this[_0x2a8063(0xea)](_0x2a8063(0xb9))!=_0x146623[_0x2a8063(0xea)](_0x2a8063(0xb9)));},_0x2affa9;}(_0x48797d,_0x34096b,_0x20e2b4);}(_0x26c627,_0x4af3b1,_0x4c245b,_0x3abe68)}),_0x3abe68[_0x477aba(0xdd)][_0x477aba(0xe5)](_0x477aba(0xc3))[_0x477aba(0xf8)]({'model':_0x477aba(0xde),'view':_0x39f08e=>function(_0x2f40ee,_0x1b8771){const _0x1e81d9=_0x477aba,_0x3cce15=_0x2f40ee[_0x1e81d9(0xd8)][_0x1e81d9(0xb5)](':')[0x2];if(_0x3cce15===_0x1b8771[_0x1e81d9(0x12a)])return null;const _0xd8d496=_0x1b8771[_0x1e81d9(0x12e)](_0x3cce15);if(!_0xd8d496)return{'id':_0x3cce15,'classes':[]};return{'id':_0x3cce15,'classes':[_0x1e81d9(0xec),_0xd8d496[_0x1e81d9(0xe8)][_0x1e81d9(0x109)]()],'attributes':{'data-session-id':_0x3cce15},'priority':0x7d0+_0xd8d496[_0x1e81d9(0xfc)]};}(_0x39f08e,_0x4c245b)}),function(_0x3d698f){const _0x121e1c=_0x477aba,_0x2ffd32=_0x3d698f[_0x121e1c(0xac)],_0x27a457=new Map(),_0x25f721=_0x3d698f[_0x121e1c(0xd5)][_0x121e1c(0xb7)](_0x2514ff);_0x2ffd32[_0x121e1c(0xcc)]['on'](_0x121e1c(0x111),(_0x424c11,_0x4da1f5,_0x3e7f0e,_0x247b75)=>{const _0x3253fd=_0x121e1c;if(!_0x247b75&&_0x27a457[_0x3253fd(0xb7)](_0x4da1f5[_0x3253fd(0xf5)]))return _0x27a457[_0x3253fd(0xb7)](_0x4da1f5[_0x3253fd(0xf5)])[_0x3253fd(0xf4)](),void _0x27a457[_0x3253fd(0xfe)](_0x4da1f5[_0x3253fd(0xf5)]);const _0x3372a2=_0x4da1f5[_0x3253fd(0xf5)][_0x3253fd(0xb5)](':')[0x2];if(_0x3372a2===_0x25f721[_0x3253fd(0x12a)])return;const _0x597c2d=_0x3253fd(0xc1)+_0x3372a2;_0x2ffd32[_0x3253fd(0xcc)][_0x3253fd(0xa8)](_0x597c2d)&&_0x3d698f[_0x3253fd(0x112)][_0x3253fd(0x123)](_0x597c2d),_0x4da1f5['on'](_0x3253fd(0x10a),(_0x20a0e6,_0x5be11,_0x2c5ed6)=>{const _0x1058b3=_0x3253fd;if(_0x1058b3(0xae)!=_0x5be11[_0x1058b3(0x11c)][_0x1058b3(0xab)]&&_0x1058b3(0xae)==_0x4da1f5[_0x1058b3(0xef)]()[_0x1058b3(0x11c)][_0x1058b3(0xab)]&&!_0x27a457[_0x1058b3(0xa8)](_0x4da1f5[_0x1058b3(0xf5)])){const _0x3bf456=_0x2ffd32[_0x1058b3(0xb3)][_0x1058b3(0x12d)](_0x2c5ed6[_0x1058b3(0x106)]);if(_0x3bf456){const _0xa617d5=_0x43fb75[_0x1058b3(0xcd)](_0x3bf456);_0x27a457[_0x1058b3(0xdf)](_0x4da1f5[_0x1058b3(0xf5)],_0xa617d5),_0xa617d5['on'](_0x1058b3(0x10a),(_0x3232c5,_0x180b00,_0x322d2a)=>{const _0x5e3d8c=_0x1058b3;if(_0x5e3d8c(0xae)==_0xa617d5[_0x5e3d8c(0x11c)][_0x5e3d8c(0xab)]){const _0x10d0c0=_0x2ffd32[_0x5e3d8c(0xb3)][_0x5e3d8c(0x12d)](_0x322d2a[_0x5e3d8c(0x106)]);_0x10d0c0?(_0xa617d5[_0x5e3d8c(0x11e)]=_0x10d0c0[_0x5e3d8c(0x11e)],_0xa617d5[_0x5e3d8c(0xc4)]=_0x10d0c0[_0x5e3d8c(0xc4)]):(_0x27a457[_0x5e3d8c(0xfe)](_0x4da1f5[_0x5e3d8c(0xf5)]),_0xa617d5[_0x5e3d8c(0xf4)]());}});}}});}),_0x2ffd32[_0x121e1c(0xeb)]['on'](_0x121e1c(0x128),()=>{const _0x2ad4a2=_0x121e1c;_0x27a457[_0x2ad4a2(0xf3)]>0x0&&_0x2ffd32[_0x2ad4a2(0x113)]({'isUndoable':!0x1},_0x31e84c=>{const _0x2109d1=_0x2ad4a2;for(const [_0x2176b7,_0x1db880]of _0x27a457)_0x2109d1(0xae)==_0x2ffd32[_0x2109d1(0xcc)][_0x2109d1(0xb7)](_0x2176b7)[_0x2109d1(0xef)]()[_0x2109d1(0x11c)][_0x2109d1(0xab)]&&(Z(_0x2176b7[_0x2109d1(0xb5)](':')[0x2],_0x1db880[_0x2109d1(0xfb)](),_0x2ffd32,_0x31e84c),_0x1db880[_0x2109d1(0xf4)]());_0x27a457[_0x2109d1(0xce)]();});});}(_0x3abe68),this[_0x477aba(0x10e)][_0x477aba(0x12c)](_0x515e1f[_0x477aba(0xeb)],_0x477aba(0xee),(_0x2c509b,{key:_0x3696be})=>{const _0x39a352=_0x477aba;_0x39a352(0xd3)===_0x3696be&&function(_0x2a1530){const _0x26805b=_0x39a352;_0x2a1530[_0x26805b(0x112)][_0x26805b(0xe2)][_0x26805b(0x128)](_0x4be1d5=>{const _0x5d0592=_0x26805b;for(const _0x5e7d4d of _0x2a1530[_0x5d0592(0xac)][_0x5d0592(0xcc)]){if(!_0x5e7d4d[_0x5d0592(0xf5)][_0x5d0592(0x12f)](_0x5d0592(0xed)))continue;const _0x240ffa=_0x2a1530[_0x5d0592(0x112)][_0x5d0592(0x11f)][_0x5d0592(0xf0)](_0x5e7d4d[_0x5d0592(0xf5)]);if(_0x240ffa){for(const _0x46daa2 of _0x240ffa)_0x4be1d5[_0x5d0592(0xd0)](_0x5d0592(0xe3),_0x46daa2);}}});}(_0x3abe68);},{'useCapture':!0x0});}[_0x631e33(0xe7)](){const _0x342fe1=_0x631e33,_0x3c9b21=this[_0x342fe1(0x108)],_0x413dee=_0x3c9b21[_0x342fe1(0x12b)][_0x342fe1(0xb7)](_0x342fe1(0xa6));_0x413dee&&_0x3c9b21[_0x342fe1(0xac)]['on'](_0x342fe1(0xb2),(_0x1057e4,_0x5d3509)=>{const _0x41244a=_0x342fe1,_0x381ba2=_0x5d3509[0x0];if(!_0x381ba2[_0x41244a(0x117)])return;if(_0x41244a(0x110)!=_0x381ba2[_0x41244a(0xd2)]||!_0x381ba2[_0x41244a(0xf5)][_0x41244a(0x12f)](_0x41244a(0x131)))return;const _0x22d163=_0x381ba2[_0x41244a(0xbe)];_0x413dee[_0x41244a(0xc6)][_0x41244a(0xa8)](_0x22d163)&&(_0x381ba2[_0x41244a(0x127)]=_0x381ba2[_0x41244a(0xa9)]?_0x3c9b21[_0x41244a(0xac)][_0x41244a(0xe4)](_0x381ba2[_0x41244a(0xa9)][_0x41244a(0x11e)],_0x381ba2[_0x41244a(0xa9)][_0x41244a(0xc4)]):null);},{'priority':_0x342fe1(0x105)});}[_0x631e33(0xba)](){const _0x38c190=_0x631e33;return this[_0x38c190(0x10e)][_0x38c190(0xdc)](),super[_0x38c190(0xba)]();}[_0x631e33(0xbd)](){const _0x1adb3c=_0x631e33,_0x50a816=this[_0x1adb3c(0x108)],_0x5415a7=_0x50a816[_0x1adb3c(0xac)][_0x1adb3c(0xeb)],_0x3534fa=_0x50a816[_0x1adb3c(0xd5)][_0x1adb3c(0xb7)](_0x2514ff);_0x50a816[_0x1adb3c(0xac)][_0x1adb3c(0x113)]({'isUndoable':!0x1},_0x4e25dc=>{const _0x4a9980=_0x1adb3c,_0x352caa=_0x4a9980(0x103)+_0x3534fa[_0x4a9980(0x12a)],_0x4a1fbf=_0x4a9980(0xc1)+_0x3534fa[_0x4a9980(0x12a)],_0x6491b9=_0x50a816[_0x4a9980(0xac)][_0x4a9980(0xcc)][_0x4a9980(0xa8)](_0x352caa);_0x50a816[_0x4a9980(0x112)][_0x4a9980(0xe2)][_0x4a9980(0x10f)]?Z(_0x3534fa[_0x4a9980(0x12a)],_0x5415a7[_0x4a9980(0x116)][_0x4a9980(0xc8)](),_0x50a816[_0x4a9980(0xac)],_0x4e25dc):_0x6491b9&&(_0x4e25dc[_0x4a9980(0xc7)](_0x352caa),_0x4e25dc[_0x4a9980(0xc7)](_0x4a1fbf));});}}function Z(_0x33666b,_0x1062a8,_0x1b5e89,_0x51812e){const _0x54f10b=_0x631e33,_0x248012=_0x54f10b(0x103)+_0x33666b,_0x4f9b0b=_0x54f10b(0xc1)+_0x33666b,_0x4228d4=_0x1062a8[_0x54f10b(0xcb)]();let _0x4730c7=_0x1062a8[_0x54f10b(0x11e)];if(_0x4228d4&&_0x4228d4['is'](_0x54f10b(0xb0),_0x54f10b(0xe1))){const _0x5d4a06=function(_0x5d3420,_0x6e9e97){const _0x354e07=_0x54f10b;for(const _0x38ab1d of _0x5d3420[_0x354e07(0xad)]())if(_0x6e9e97[_0x354e07(0xb3)][_0x354e07(0xbf)](_0x38ab1d,_0x354e07(0x115)))return _0x38ab1d;}(_0x1062a8,_0x1b5e89);_0x5d4a06&&(_0x4730c7=_0x5d4a06,_0x1062a8=_0x51812e[_0x54f10b(0xe4)](_0x4730c7));}const _0x20061e=_0x51812e[_0x54f10b(0xe4)](_0x4730c7);_0x1b5e89[_0x54f10b(0xcc)][_0x54f10b(0xa8)](_0x248012)?(_0x51812e[_0x54f10b(0x107)](_0x248012,{'range':_0x1062a8}),_0x51812e[_0x54f10b(0x107)](_0x4f9b0b,{'range':_0x20061e})):(_0x51812e[_0x54f10b(0x102)](_0x248012,{'range':_0x1062a8,'usingOperation':!0x0}),_0x51812e[_0x54f10b(0x102)](_0x4f9b0b,{'range':_0x20061e,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x458e30=_0x182e;(function(_0xc6a80,_0x5c3251){const _0x488c36=_0x182e,_0x5ac5b9=_0xc6a80();while(!![]){try{const _0x227e34=-parseInt(_0x488c36(0x13c))/0x1+parseInt(_0x488c36(0x137))/0x2*(-parseInt(_0x488c36(0x11b))/0x3)+-parseInt(_0x488c36(0x149))/0x4+-parseInt(_0x488c36(0x153))/0x5+parseInt(_0x488c36(0x178))/0x6*(-parseInt(_0x488c36(0x14b))/0x7)+-parseInt(_0x488c36(0x139))/0x8*(-parseInt(_0x488c36(0x16c))/0x9)+parseInt(_0x488c36(0x141))/0xa;if(_0x227e34===_0x5c3251)break;else _0x5ac5b9['push'](_0x5ac5b9['shift']());}catch(_0x306004){_0x5ac5b9['push'](_0x5ac5b9['shift']());}}}(_0x4824,0xee092));import{Plugin as _0x81d1cd}from'ckeditor5/src/core.js';function _0x182e(_0x25e055,_0x506f19){const _0x48243b=_0x4824();return _0x182e=function(_0x182e8e,_0x30eeb9){_0x182e8e=_0x182e8e-0x113;let _0x57f2b9=_0x48243b[_0x182e8e];return _0x57f2b9;},_0x182e(_0x25e055,_0x506f19);}import{global as _0x12f304,DomEmitterMixin as _0x2ac433}from'ckeditor5/src/utils.js';import{Sessions as _0x39b204}from'./sessions.js';import{ModelLiveRange as _0x58cd9a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x81d1cd{[_0x458e30(0x129)]=new(_0x2ac433())();static get[_0x458e30(0x16e)](){return[_0x39b204];}static get[_0x458e30(0x12e)](){const _0xa4bb17=_0x458e30;return _0xa4bb17(0x134);}static get[_0x458e30(0x15d)](){return!0x0;}static get[_0x458e30(0x165)](){return!0x0;}[_0x458e30(0x11f)](){const _0x175c44=_0x458e30,_0x47f28a=this[_0x175c44(0x17a)],_0x50e410=_0x47f28a[_0x175c44(0x132)][_0x175c44(0x198)](_0x39b204);_0x47f28a[_0x175c44(0x174)][_0x175c44(0x130)](_0x175c44(0x11c))[_0x175c44(0x17f)]({'model':_0x175c44(0x13b),'view':(_0x19561c,{writer:_0x3f6981})=>function(_0x258a25,_0x37aa10,_0x647949,_0x3856da){const _0xfd2693=_0x175c44,_0x3ee2c=_0x258a25[_0xfd2693(0x17e)][_0xfd2693(0x16b)](':')[0x2],_0x203a9a=_0x647949[_0xfd2693(0x15c)](_0x3ee2c);if(!_0x203a9a||_0x3ee2c===_0x647949[_0xfd2693(0x135)])return;if(!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)][_0xfd2693(0x13f)](_0x258a25[_0xfd2693(0x142)][_0xfd2693(0x114)],_0xfd2693(0x19a)))return;const _0x556024={'class':_0xfd2693(0x162)+_0x203a9a[_0xfd2693(0x126)][_0xfd2693(0x11a)](),'data-name':_0x203a9a[_0xfd2693(0x13d)],'data-session-id':_0x3ee2c},_0x1011e6=_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x121)][_0xfd2693(0x198)](_0x258a25[_0xfd2693(0x17e)]),_0x17abb3=_0x1011e6[_0xfd2693(0x118)](),_0x400c5b=_0x17abb3[_0xfd2693(0x172)],_0x4ae4ad=_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)];if(_0x400c5b&&_0x4ae4ad[_0xfd2693(0x170)](_0x400c5b)&&_0x4ae4ad[_0xfd2693(0x18f)](_0x400c5b)&&!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x121)][_0xfd2693(0x198)](_0xfd2693(0x16f)+_0x3ee2c)[_0xfd2693(0x180)]()[_0xfd2693(0x13a)])return;const _0x53615d=_0x17abb3[_0xfd2693(0x140)];return _0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)][_0xfd2693(0x144)](_0x53615d)&&!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x199)](_0x53615d)&&(_0x556024[_0xfd2693(0x193)]=!0x1),function(_0x5578ff,_0x4d7dd1,_0x4d9331){const _0xb1f62a=_0xfd2693,_0x597a58=_0x5578ff[_0xb1f62a(0x13e)](_0xb1f62a(0x148),_0x4d7dd1);return _0x5578ff[_0xb1f62a(0x196)](_0xb1f62a(0x127),!0x0,_0x597a58),_0x597a58[_0xb1f62a(0x123)]=function(_0x57fc7f){const _0x3c37b7=_0xb1f62a,_0x35543b=this[_0x3c37b7(0x167)](_0x57fc7f),_0x341bc2=document[_0x3c37b7(0x15b)](_0x3c37b7(0x148));return _0x341bc2[_0x3c37b7(0x17c)][_0x3c37b7(0x12d)](_0x3c37b7(0x136)),_0x341bc2[_0x3c37b7(0x187)](_0x3c37b7(0x193),_0x3c37b7(0x122)),_0x341bc2[_0x3c37b7(0x187)](_0x3c37b7(0x117),_0x3c37b7(0x122)),_0x341bc2[_0x3c37b7(0x176)]=_0x4d9331[_0x3c37b7(0x13d)],_0x35543b[_0x3c37b7(0x14a)]=_0x3c37b7(0x14d)+_0x341bc2[_0x3c37b7(0x177)]+'',_0x35543b[_0x3c37b7(0x155)](_0x3c37b7(0x131),()=>{const _0x36d5e2=_0x3c37b7;_0x35543b[_0x36d5e2(0x17c)][_0x36d5e2(0x12d)](_0x36d5e2(0x125));}),_0x35543b[_0x3c37b7(0x155)](_0x3c37b7(0x188),()=>{const _0x7396dc=_0x3c37b7;_0x35543b[_0x7396dc(0x17c)][_0x7396dc(0x181)](_0x7396dc(0x125));}),_0x35543b;},_0x597a58[_0xb1f62a(0x156)]=function(_0x4fc93f){const _0x32d3cc=_0xb1f62a;return!(!this[_0x32d3cc(0x195)](_0x32d3cc(0x127))||!_0x4fc93f[_0x32d3cc(0x195)](_0x32d3cc(0x127))||this[_0x32d3cc(0x147)](_0x32d3cc(0x169))!=_0x4fc93f[_0x32d3cc(0x147)](_0x32d3cc(0x169)));},_0x597a58;}(_0x37aa10,_0x556024,_0x203a9a);}(_0x19561c,_0x3f6981,_0x50e410,_0x47f28a)}),_0x47f28a[_0x175c44(0x174)][_0x175c44(0x130)](_0x175c44(0x11c))[_0x175c44(0x11d)]({'model':_0x175c44(0x186),'view':_0x3da786=>function(_0x65c846,_0x3e6dc8){const _0x3f4f18=_0x175c44,_0x54d45f=_0x65c846[_0x3f4f18(0x17e)][_0x3f4f18(0x16b)](':')[0x2];if(_0x54d45f===_0x3e6dc8[_0x3f4f18(0x135)])return null;const _0x5ed05f=_0x3e6dc8[_0x3f4f18(0x15c)](_0x54d45f);if(!_0x5ed05f)return{'id':_0x54d45f,'classes':[]};return{'id':_0x54d45f,'classes':[_0x3f4f18(0x17b),_0x5ed05f[_0x3f4f18(0x126)][_0x3f4f18(0x150)]()],'attributes':{'data-session-id':_0x54d45f},'priority':0x7d0+_0x5ed05f[_0x3f4f18(0x19c)]};}(_0x3da786,_0x50e410)}),function(_0x580455){const _0x298a8b=_0x175c44,_0x2c5260=_0x580455[_0x298a8b(0x183)],_0x16bf07=new Map(),_0x5991ae=_0x580455[_0x298a8b(0x132)][_0x298a8b(0x198)](_0x39b204);_0x2c5260[_0x298a8b(0x121)]['on'](_0x298a8b(0x166),(_0x47f332,_0x3a8b3e,_0x39ec9d,_0x1c7fd0)=>{const _0x4116dd=_0x298a8b;if(!_0x1c7fd0&&_0x16bf07[_0x4116dd(0x198)](_0x3a8b3e[_0x4116dd(0x13d)]))return _0x16bf07[_0x4116dd(0x198)](_0x3a8b3e[_0x4116dd(0x13d)])[_0x4116dd(0x12c)](),void _0x16bf07[_0x4116dd(0x19d)](_0x3a8b3e[_0x4116dd(0x13d)]);const _0x241a8a=_0x3a8b3e[_0x4116dd(0x13d)][_0x4116dd(0x16b)](':')[0x2];if(_0x241a8a===_0x5991ae[_0x4116dd(0x135)])return;const _0x48b048=_0x4116dd(0x18a)+_0x241a8a;_0x2c5260[_0x4116dd(0x121)][_0x4116dd(0x185)](_0x48b048)&&_0x580455[_0x4116dd(0x12f)][_0x4116dd(0x18c)](_0x48b048),_0x3a8b3e['on'](_0x4116dd(0x116),(_0xfc9c22,_0x5253d2,_0x42135b)=>{const _0x2df196=_0x4116dd;if(_0x2df196(0x157)!=_0x5253d2[_0x2df196(0x161)][_0x2df196(0x197)]&&_0x2df196(0x157)==_0x3a8b3e[_0x2df196(0x180)]()[_0x2df196(0x161)][_0x2df196(0x197)]&&!_0x16bf07[_0x2df196(0x185)](_0x3a8b3e[_0x2df196(0x13d)])){const _0x11f44d=_0x2c5260[_0x2df196(0x119)][_0x2df196(0x160)](_0x42135b[_0x2df196(0x120)]);if(_0x11f44d){const _0x2408e2=_0x58cd9a[_0x2df196(0x159)](_0x11f44d);_0x16bf07[_0x2df196(0x171)](_0x3a8b3e[_0x2df196(0x13d)],_0x2408e2),_0x2408e2['on'](_0x2df196(0x116),(_0x2109d5,_0x1270a1,_0x464e06)=>{const _0x34537f=_0x2df196;if(_0x34537f(0x157)==_0x2408e2[_0x34537f(0x161)][_0x34537f(0x197)]){const _0x365e56=_0x2c5260[_0x34537f(0x119)][_0x34537f(0x160)](_0x464e06[_0x34537f(0x120)]);_0x365e56?(_0x2408e2[_0x34537f(0x114)]=_0x365e56[_0x34537f(0x114)],_0x2408e2[_0x34537f(0x128)]=_0x365e56[_0x34537f(0x128)]):(_0x16bf07[_0x34537f(0x19d)](_0x3a8b3e[_0x34537f(0x13d)]),_0x2408e2[_0x34537f(0x12c)]());}});}}});}),_0x2c5260[_0x298a8b(0x189)]['on'](_0x298a8b(0x124),()=>{const _0x417dc1=_0x298a8b;_0x16bf07[_0x417dc1(0x163)]>0x0&&_0x2c5260[_0x417dc1(0x168)]({'isUndoable':!0x1},_0x27c6b3=>{const _0x197f5f=_0x417dc1;for(const [_0x71c6f2,_0x31e2a0]of _0x16bf07)_0x197f5f(0x157)==_0x2c5260[_0x197f5f(0x121)][_0x197f5f(0x198)](_0x71c6f2)[_0x197f5f(0x180)]()[_0x197f5f(0x161)][_0x197f5f(0x197)]&&(Z(_0x71c6f2[_0x197f5f(0x16b)](':')[0x2],_0x31e2a0[_0x197f5f(0x158)](),_0x2c5260,_0x27c6b3),_0x31e2a0[_0x197f5f(0x12c)]());_0x16bf07[_0x197f5f(0x12b)]();});});}(_0x47f28a),this[_0x175c44(0x129)][_0x175c44(0x182)](_0x12f304[_0x175c44(0x189)],_0x175c44(0x113),(_0x55e4c9,{key:_0x2aefd9})=>{const _0xeebeef=_0x175c44;_0xeebeef(0x14c)===_0x2aefd9&&function(_0x2c405d){const _0x2898dd=_0xeebeef;_0x2c405d[_0x2898dd(0x12f)][_0x2898dd(0x184)][_0x2898dd(0x124)](_0x730c7c=>{const _0x205c5e=_0x2898dd;for(const _0xa3aef0 of _0x2c405d[_0x205c5e(0x183)][_0x205c5e(0x121)]){if(!_0xa3aef0[_0x205c5e(0x13d)][_0x205c5e(0x179)](_0x205c5e(0x13b)))continue;const _0x4d1cc0=_0x2c405d[_0x205c5e(0x12f)][_0x205c5e(0x14e)][_0x205c5e(0x154)](_0xa3aef0[_0x205c5e(0x13d)]);if(_0x4d1cc0){for(const _0x3bbdcd of _0x4d1cc0)_0x730c7c[_0x205c5e(0x164)](_0x205c5e(0x125),_0x3bbdcd);}}});}(_0x47f28a);},{'useCapture':!0x0});}[_0x458e30(0x12a)](){const _0x50577a=_0x458e30,_0x43f4f7=this[_0x50577a(0x17a)],_0x13611e=_0x43f4f7[_0x50577a(0x194)][_0x50577a(0x198)](_0x50577a(0x19b));_0x13611e&&_0x43f4f7[_0x50577a(0x183)]['on'](_0x50577a(0x14f),(_0x5e4f1d,_0x5d71cb)=>{const _0x3bbd5d=_0x50577a,_0x221726=_0x5d71cb[0x0];if(!_0x221726[_0x3bbd5d(0x190)])return;if(_0x3bbd5d(0x18b)!=_0x221726[_0x3bbd5d(0x146)]||!_0x221726[_0x3bbd5d(0x13d)][_0x3bbd5d(0x179)](_0x3bbd5d(0x192)))return;const _0x1410ee=_0x221726[_0x3bbd5d(0x143)];_0x13611e[_0x3bbd5d(0x175)][_0x3bbd5d(0x185)](_0x1410ee)&&(_0x221726[_0x3bbd5d(0x133)]=_0x221726[_0x3bbd5d(0x191)]?_0x43f4f7[_0x3bbd5d(0x183)][_0x3bbd5d(0x152)](_0x221726[_0x3bbd5d(0x191)][_0x3bbd5d(0x114)],_0x221726[_0x3bbd5d(0x191)][_0x3bbd5d(0x128)]):null);},{'priority':_0x50577a(0x138)});}[_0x458e30(0x173)](){const _0x32a9d6=_0x458e30;return this[_0x32a9d6(0x129)][_0x32a9d6(0x15a)](),super[_0x32a9d6(0x173)]();}[_0x458e30(0x17d)](){const _0x583795=_0x458e30,_0x21482a=this[_0x583795(0x17a)],_0x1bcba0=_0x21482a[_0x583795(0x183)][_0x583795(0x189)],_0x5b24c8=_0x21482a[_0x583795(0x132)][_0x583795(0x198)](_0x39b204);_0x21482a[_0x583795(0x183)][_0x583795(0x168)]({'isUndoable':!0x1},_0x5ecd19=>{const _0x2220be=_0x583795,_0x1b65c1=_0x2220be(0x16f)+_0x5b24c8[_0x2220be(0x135)],_0x46cb1b=_0x2220be(0x18a)+_0x5b24c8[_0x2220be(0x135)],_0x2a04f6=_0x21482a[_0x2220be(0x183)][_0x2220be(0x121)][_0x2220be(0x185)](_0x1b65c1);_0x21482a[_0x2220be(0x12f)][_0x2220be(0x184)][_0x2220be(0x16a)]?Z(_0x5b24c8[_0x2220be(0x135)],_0x1bcba0[_0x2220be(0x18e)][_0x2220be(0x15e)](),_0x21482a[_0x2220be(0x183)],_0x5ecd19):_0x2a04f6&&(_0x5ecd19[_0x2220be(0x11e)](_0x1b65c1),_0x5ecd19[_0x2220be(0x11e)](_0x46cb1b));});}}function _0x4824(){const _0x1a1320=['1328499NOSgVG','name','createUIElement','checkChild','parent','52458550CdCrGN','markerRange','batch','isLimit','element','type','getAttribute','span','1520044EEMGnQ','innerHTML','15323RXFESi','Escape','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mapper','applyOperation','getSelectionClass','addMarker','createRange','6100875FlgCTG','markerNameToElements','addEventListener','isSimilar','$graveyard','toRange','fromRange','stopListening','createElement','getUserBySessionId','isOfficialPlugin','getFirstRange','tableCell','getNearestSelectionRange','root','ck-user__marker\x20','size','removeClass','isPremiumPlugin','update:user:range','toDomElement','enqueueChange','data-session-id','hasDomSelection','split','220869hippYC','updateMarker','requires','user:range:','isObject','set','nodeAfter','destroy','conversion','_createdBatches','textContent','outerHTML','2136PUrTMi','startsWith','editor','ck-user__selection','classList','createUserMarkerOperations','markerName','markerToElement','getRange','remove','listenTo','model','view','has','user:range','setAttribute','mouseleave','document','user:position:','marker','reconvertMarker','getContainedElement','selection','isInline','isDocumentOperation','oldRange','user:','contenteditable','commands','getCustomProperty','setCustomProperty','rootName','get','hasContent','$text','undo','orderNumber','delete','keydown','start','getPositions','change:range','spellcheck','getStart','schema','getMarkerClass','79629fvBacK','editingDowncast','markerToHighlight','removeMarker','init','deletionPosition','markers','false','render','change','ck-user__marker_hovered','color','userPositionMarker','end','_domEmitter','afterInit','clear','detach','add','pluginName','editing','for','mouseenter','plugins','newRange','UserMarkers','mySessionId','ck-user__marker-tooltip','72bPpfbm','highest','128jKJiDy','isCollapsed','user:position'];_0x4824=function(){return _0x1a1320;};return _0x4824();}function Z(_0x2fae42,_0x3b9f38,_0x2a39cd,_0x234399){const _0x551700=_0x458e30,_0x40073f=_0x551700(0x16f)+_0x2fae42,_0x32ecb8=_0x551700(0x18a)+_0x2fae42,_0x1783c2=_0x3b9f38[_0x551700(0x18d)]();let _0x29373b=_0x3b9f38[_0x551700(0x114)];if(_0x1783c2&&_0x1783c2['is'](_0x551700(0x145),_0x551700(0x15f))){const _0x27304f=function(_0x54865d,_0x470567){const _0x29b6f4=_0x551700;for(const _0x28bb9e of _0x54865d[_0x29b6f4(0x115)]())if(_0x470567[_0x29b6f4(0x119)][_0x29b6f4(0x13f)](_0x28bb9e,_0x29b6f4(0x19a)))return _0x28bb9e;}(_0x3b9f38,_0x2a39cd);_0x27304f&&(_0x29373b=_0x27304f,_0x3b9f38=_0x234399[_0x551700(0x152)](_0x29373b));}const _0x2c3f98=_0x234399[_0x551700(0x152)](_0x29373b);_0x2a39cd[_0x551700(0x121)][_0x551700(0x185)](_0x40073f)?(_0x234399[_0x551700(0x16d)](_0x40073f,{'range':_0x3b9f38}),_0x234399[_0x551700(0x16d)](_0x32ecb8,{'range':_0x2c3f98})):(_0x234399[_0x551700(0x151)](_0x40073f,{'range':_0x3b9f38,'usingOperation':!0x0}),_0x234399[_0x551700(0x151)](_0x32ecb8,{'range':_0x2c3f98,'usingOperation':!0x0}));}
|