@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.6 → 47.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x9608(_0x332229,_0x38539d){const _0x580553=_0x5805();return _0x9608=function(_0x9608ac,_0x2b32ec){_0x9608ac=_0x9608ac-0x8e;let _0x111d05=_0x580553[_0x9608ac];return _0x111d05;},_0x9608(_0x332229,_0x38539d);}const _0x696ae1=_0x9608;(function(_0x57d310,_0x1031c4){const _0xdeb755=_0x9608,_0x18e3cf=_0x57d310();while(!![]){try{const _0x387bfb=parseInt(_0xdeb755(0x92))/0x1+-parseInt(_0xdeb755(0xb4))/0x2*(parseInt(_0xdeb755(0xa6))/0x3)+-parseInt(_0xdeb755(0xa1))/0x4+-parseInt(_0xdeb755(0xa4))/0x5+-parseInt(_0xdeb755(0xaa))/0x6*(parseInt(_0xdeb755(0xb5))/0x7)+parseInt(_0xdeb755(0x9d))/0x8*(-parseInt(_0xdeb755(0xa9))/0x9)+-parseInt(_0xdeb755(0xb0))/0xa*(-parseInt(_0xdeb755(0x95))/0xb);if(_0x387bfb===_0x1031c4)break;else _0x18e3cf['push'](_0x18e3cf['shift']());}catch(_0xbb0676){_0x18e3cf['push'](_0x18e3cf['shift']());}}}(_0x5805,0x20897));function _0x5805(){const _0x47f461=['fire','141571aeSwYu','createCollection','items','1121197uobTHF','div','change:hasPopup','set','.ck-balloon-panel_with-arrow','element','Connected\x20users\x20list','querySelector','1015304VadfKZ','setTemplate','relatedTarget','aria-expanded','901580wxKwQh','setAttribute','isExpanded','894970uRrhTz','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','18vqQzrz','ck-presence-list__list','hasPopup','9YtbXUm','416478tEbknU','keystrokes','listenTo','.ck-presence-list__dropdown-list','presencelist:hide','bindTemplate','70Euqqgn','removeAttribute','render','contains','40358LaCtWQ','7cIxEpu','presencelist:show','list','focus'];_0x5805=function(){return _0x47f461;};return _0x5805();}import{View as _0x61c5fb}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1c672d}from'ckeditor5/src/utils.js';import{getTranslation as _0x55fe18}from'../../common-translations.js';export class PresenceInlineListView extends _0x61c5fb{[_0x696ae1(0x94)];[_0x696ae1(0xab)];constructor(_0x1c2350){const _0x422269=_0x696ae1;super(_0x1c2350);const _0x2803af=this[_0x422269(0xaf)];this[_0x422269(0x94)]=this[_0x422269(0x93)](),this[_0x422269(0xab)]=new _0x1c672d(),this[_0x422269(0x98)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x422269(0x9e)]({'tag':_0x422269(0x96),'attributes':{'aria-haspopup':_0x2803af['if'](_0x422269(0xa8)),'aria-expanded':_0x2803af['to'](_0x422269(0xa3),_0x358707=>this[_0x422269(0xa8)]&&String(_0x358707)),'aria-label':_0x2803af['to'](_0x422269(0xa8),_0x16f3c7=>_0x55fe18(_0x1c2350,_0x16f3c7?_0x422269(0xa5):_0x422269(0x9b))),'role':_0x422269(0x8f),'tabindex':_0x2803af['to'](_0x422269(0xa8),_0x43a6c2=>!!_0x43a6c2&&0x0),'class':['ck',_0x422269(0xa7)]},'children':this[_0x422269(0x94)],'on':{'mouseenter':_0x2803af['to'](()=>this[_0x422269(0x91)](_0x422269(0x8e))),'mouseleave':_0x2803af['to'](_0x3ccfb2=>{const _0x156d9d=_0x422269,_0x22b684=_0x3ccfb2,_0x3e8976=document[_0x156d9d(0x9c)](_0x156d9d(0xad)),_0x5a6211=document[_0x156d9d(0x9c)](_0x156d9d(0x99));_0x3e8976?.[_0x156d9d(0xb3)](_0x22b684[_0x156d9d(0x9f)])||_0x5a6211?.[_0x156d9d(0xb3)](_0x22b684[_0x156d9d(0x9f)])||this[_0x156d9d(0x91)](_0x156d9d(0xae));})}}),this['on'](_0x422269(0x97),(_0x50d147,_0xe29d50,_0x19b9b2)=>{const _0x21853c=_0x422269;this[_0x21853c(0x9a)]&&(_0x19b9b2?this[_0x21853c(0x9a)][_0x21853c(0xa2)](_0x21853c(0xa0),String(this[_0x21853c(0xa3)])):this[_0x21853c(0x9a)][_0x21853c(0xb1)](_0x21853c(0xa0)));});}[_0x696ae1(0x90)](){const _0x4cef1e=_0x696ae1;this[_0x4cef1e(0x9a)][_0x4cef1e(0x90)]();}[_0x696ae1(0xb2)](){const _0x3f80d0=_0x696ae1;super[_0x3f80d0(0xb2)](),this[_0x3f80d0(0xab)][_0x3f80d0(0xac)](this[_0x3f80d0(0x9a)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b52b7=_0x2592;(function(_0x13158c,_0x49dd6d){const _0x258b53=_0x2592,_0x5e256b=_0x13158c();while(!![]){try{const _0x8b8555=-parseInt(_0x258b53(0x1d5))/0x1*(parseInt(_0x258b53(0x1da))/0x2)+-parseInt(_0x258b53(0x1dd))/0x3+-parseInt(_0x258b53(0x1d2))/0x4*(parseInt(_0x258b53(0x1eb))/0x5)+parseInt(_0x258b53(0x1ea))/0x6*(-parseInt(_0x258b53(0x1ee))/0x7)+-parseInt(_0x258b53(0x1e2))/0x8+-parseInt(_0x258b53(0x1db))/0x9+parseInt(_0x258b53(0x1dc))/0xa*(parseInt(_0x258b53(0x1d7))/0xb);if(_0x8b8555===_0x49dd6d)break;else _0x5e256b['push'](_0x5e256b['shift']());}catch(_0xb88bee){_0x5e256b['push'](_0x5e256b['shift']());}}}(_0x14cf,0xbf500));import{View as _0x31cab9}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xf30ac1}from'./presencecounterview.js';function _0x2592(_0x1632f8,_0x329194){const _0x14cf6b=_0x14cf();return _0x2592=function(_0x2592fc,_0x2fed18){_0x2592fc=_0x2592fc-0x1d1;let _0x1b1ef5=_0x14cf6b[_0x2592fc];return _0x1b1ef5;},_0x2592(_0x1632f8,_0x329194);}import{PresenceInlineListView as _0x17de9b}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x31cab9{[_0x3b52b7(0x1de)];[_0x3b52b7(0x1ec)];constructor(_0x364c7b,_0x51a4ba=0x6){const _0x46badb=_0x3b52b7;super(_0x364c7b);const _0x431783=this[_0x46badb(0x1e1)];this[_0x46badb(0x1e9)](_0x46badb(0x1e3),!0x0),this[_0x46badb(0x1de)]=new _0xf30ac1(this[_0x46badb(0x1d9)],_0x51a4ba),this[_0x46badb(0x1ec)]=new _0x17de9b(_0x364c7b),this[_0x46badb(0x1ec)][_0x46badb(0x1d4)](_0x46badb(0x1d3))['to'](this,_0x46badb(0x1e3)),this[_0x46badb(0x1df)](this[_0x46badb(0x1ec)][_0x46badb(0x1e0)],_0x46badb(0x1e6),()=>{const _0x5a09a5=_0x46badb;for(const _0x43fc35 of this[_0x5a09a5(0x1ec)][_0x5a09a5(0x1e0)])_0x43fc35[_0x5a09a5(0x1e4)]='s';this[_0x5a09a5(0x1ec)][_0x5a09a5(0x1e0)][_0x5a09a5(0x1e5)]&&(this[_0x5a09a5(0x1ec)][_0x5a09a5(0x1e0)][_0x5a09a5(0x1e5)][_0x5a09a5(0x1e4)]='se');}),this[_0x46badb(0x1e8)]({'tag':_0x46badb(0x1d6),'attributes':{'class':['ck',_0x46badb(0x1d8),_0x46badb(0x1ed),_0x46badb(0x1d1),_0x431783['if'](_0x46badb(0x1e3),_0x46badb(0x1e7))]},'children':[this[_0x46badb(0x1ec)]]});}}function _0x14cf(){const _0x178d57=['tooltipPosition','first','change','ck-presence-list--collapsed','setTemplate','set','1528386cgMTzC','395adSPEg','inlineListView','ck-reset','28jxQEaP','ck-rounded-corners','71156usJoAc','hasPopup','bind','1ZdzxVl','div','187DrCkvq','ck-presence-list','locale','2648398uaXSBD','9246618PWJxfZ','4633780CgSpky','3714246WmsDDk','counterView','listenTo','items','bindTemplate','8638976RMSduX','isCollapsed'];_0x14cf=function(){return _0x178d57;};return _0x14cf();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xc447(){var _0x7beb2e=['PresenceList','1848162RuctHw','isOfficialPlugin','requires','3737661DheRqX','32962963XJcmVX','11489301sbwVnd','7kkRCcS','8qzGFYL','pluginName','16255ZZXAFO','1843898LoMFHJ','1GUfqhj','11284540zHAHVN','isPremiumPlugin','716UHBnQf'];_0xc447=function(){return _0x7beb2e;};return _0xc447();}var _0x54576f=_0x555f;(function(_0xaf7c4e,_0x4e63a2){var _0x41a3d9=_0x555f,_0x4b197e=_0xaf7c4e();while(!![]){try{var _0x40aafa=parseInt(_0x41a3d9(0x17f))/0x1*(-parseInt(_0x41a3d9(0x17e))/0x2)+parseInt(_0x41a3d9(0x187))/0x3+parseInt(_0x41a3d9(0x182))/0x4*(-parseInt(_0x41a3d9(0x17d))/0x5)+parseInt(_0x41a3d9(0x184))/0x6*(parseInt(_0x41a3d9(0x18a))/0x7)+parseInt(_0x41a3d9(0x17b))/0x8*(-parseInt(_0x41a3d9(0x189))/0x9)+-parseInt(_0x41a3d9(0x180))/0xa+parseInt(_0x41a3d9(0x188))/0xb;if(_0x40aafa===_0x4e63a2)break;else _0x4b197e['push'](_0x4b197e['shift']());}catch(_0x3c7b77){_0x4b197e['push'](_0x4b197e['shift']());}}}(_0xc447,0x9ca5a));function _0x555f(_0x3727ff,_0x4ae853){var _0xc4478f=_0xc447();return _0x555f=function(_0x555f16,_0x561f8b){_0x555f16=_0x555f16-0x17b;var _0x330f1b=_0xc4478f[_0x555f16];return _0x330f1b;},_0x555f(_0x3727ff,_0x4ae853);}import{ContextPlugin as _0x112b9c}from'ckeditor5/src/core.js';import{Sessions as _0x2f09b0}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x542400}from'./presencelist/presencelistui.js';export class PresenceList extends _0x112b9c{static get[_0x54576f(0x186)](){return[_0x2f09b0,_0x542400];}static get[_0x54576f(0x17c)](){var _0xf4e484=_0x54576f;return _0xf4e484(0x183);}static get[_0x54576f(0x185)](){return!0x0;}static get[_0x54576f(0x181)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2b44f7)());[_0x47f45f(0x21f)];static get[_0x47f45f(0x1fa)](){const _0x54ddd4=_0x47f45f;return[_0x230724,_0x54ddd4(0x221),_0x47891c,_0x57c0f6];}static get[_0x47f45f(0x1ec)](){const _0xa95d36=_0x47f45f;return _0xa95d36(0x1e5);}static get[_0x47f45f(0x1e9)](){return!0x0;}static get[_0x47f45f(0x1e7)](){return!0x0;}constructor(_0x294e78){const _0x415b53=_0x47f45f;super(_0x294e78),this[_0x415b53(0x21f)]=new Map();}async[_0x47f45f(0x1fe)](){const _0x5f0209=_0x47f45f,_0x4abee2=this[_0x5f0209(0x1d9)],_0x5da411=_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x5f0209(0x221));if(_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x230724)[_0x5f0209(0x1fc)](this),_0x5da411[_0x5f0209(0x203)]={'addCommentThread':async({channelId:_0xf0e680,threadId:_0x58c47a,comments:_0x47fed4,resolvedAt:_0x15e922,resolvedBy:_0x531858,context:_0x4b2597,attributes:_0x5d6107})=>{const _0x274f51=_0x5f0209,_0x13b3d5=await this[_0x274f51(0x212)](_0xf0e680)[_0x274f51(0x206)]({'commentThreadId':_0x58c47a,'comments':_0x47fed4[_0x274f51(0x1fd)](_0x1858f5=>function(_0x254ee1,_0x153ed7,_0x28b028){const _0x28f275=_0x274f51;return{'commentThreadId':_0x28b028,'commentId':_0x254ee1[_0x28f275(0x1d8)],'userId':_0x254ee1[_0x28f275(0x22d)],'content':_0x254ee1[_0x28f275(0x215)],'documentId':_0x153ed7,'createdAt':_0x254ee1[_0x28f275(0x218)],'attributes':_0x254ee1[_0x28f275(0x227)]||{}};}(_0x1858f5,_0xf0e680,_0x58c47a)),'resolvedAt':_0x15e922,'resolvedBy':_0x531858,'context':_0x4b2597,'attributes':_0x5d6107})[_0x274f51(0x1cc)](A);return{'threadId':_0x13b3d5[_0x274f51(0x22a)],'comments':_0x13b3d5[_0x274f51(0x200)]};},'getCommentThread':async({channelId:_0x5ffcaa,threadId:_0x19663d})=>{const _0x2fb543=_0x5f0209,_0x11902d=await this[_0x2fb543(0x212)](_0x5ffcaa)[_0x2fb543(0x228)](_0x19663d)[_0x2fb543(0x1cc)](f)[_0x2fb543(0x1cc)](A);return _0x11902d?_0x11902d[_0x2fb543(0x1f3)]?null:(await this[_0x2fb543(0x1d6)]([_0x11902d]),{'threadId':_0x11902d[_0x2fb543(0x22a)],'comments':_0x11902d[_0x2fb543(0x200)][_0x2fb543(0x1fd)](p),'context':_0x11902d[_0x2fb543(0x1d9)],'resolvedAt':_0x11902d[_0x2fb543(0x1da)],'resolvedBy':_0x11902d[_0x2fb543(0x208)],'attributes':_0x11902d[_0x2fb543(0x227)]||{}}):null;},'updateCommentThread':async({channelId:_0x10b016,threadId:_0x48804a,context:_0x4e1ac6,unlinkedAt:_0x21236a,attributes:_0x2365b7})=>this[_0x5f0209(0x212)](_0x10b016)[_0x5f0209(0x1de)]({'commentThreadId':_0x48804a,'context':_0x4e1ac6,'attributes':_0x2365b7,'unlinkedAt':_0x21236a})[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'resolveCommentThread':async({channelId:_0x132622,threadId:_0x447e53})=>{const _0x184f7b=_0x5f0209,_0x28aebe=await this[_0x184f7b(0x212)](_0x132622)[_0x184f7b(0x1c8)](_0x447e53)[_0x184f7b(0x1cc)](f)[_0x184f7b(0x1cc)](A);return{'threadId':_0x28aebe[_0x184f7b(0x22a)],'resolvedAt':_0x28aebe[_0x184f7b(0x1da)],'resolvedBy':_0x28aebe[_0x184f7b(0x208)]};},'reopenCommentThread':async({channelId:_0x31aac9,threadId:_0xe16ee})=>this[_0x5f0209(0x212)](_0x31aac9)[_0x5f0209(0x1d5)](_0xe16ee)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'removeCommentThread':({channelId:_0x28c9db,threadId:_0x5b0442})=>this[_0x5f0209(0x212)](_0x28c9db)[_0x5f0209(0x207)](_0x5b0442)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'addComment':({channelId:_0x48e9a8,threadId:_0xda5476,commentId:_0x5948c6,content:_0x1fcfcf,attributes:_0x427497})=>this[_0x5f0209(0x212)](_0x48e9a8)[_0x5f0209(0x1ee)](_0xda5476,_0x5948c6,_0x1fcfcf,_0x427497)[_0x5f0209(0x1cc)](A),'updateComment':({channelId:_0x3a68d1,threadId:_0xfa4c01,commentId:_0x250a62,content:_0x2e2013,attributes:_0x3e4886})=>this[_0x5f0209(0x212)](_0x3a68d1)[_0x5f0209(0x1f9)](_0xfa4c01,_0x250a62,_0x2e2013,_0x3e4886)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'removeComment':({channelId:_0x198374,threadId:_0x550ea5,commentId:_0x3ffddc})=>this[_0x5f0209(0x212)](_0x198374)[_0x5f0209(0x22b)](_0x550ea5,_0x3ffddc)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A)},_0x4abee2 instanceof _0x4d5ce1){const _0x2f3775=_0x4abee2[_0x5f0209(0x1f0)][_0x5f0209(0x1e2)](_0x5f0209(0x1d3)),_0x4723c1=_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x47891c);await this[_0x5f0209(0x20d)](_0x2f3775);const _0x44a1c5=await this[_0x5f0209(0x21f)][_0x5f0209(0x1e2)](_0x2f3775)[_0x5f0209(0x20e)]();this[_0x5f0209(0x20a)](_0x4723c1,_0x5f0209(0x1f2)+_0x2f3775,(_0x223df5,{session:_0x1a2ab8})=>{const _0x345ca4=_0x5f0209;_0x1a2ab8['id']===_0x4723c1[_0x345ca4(0x1f7)]&&(_0x223df5[_0x345ca4(0x1d0)](),this[_0x345ca4(0x1d9)][_0x345ca4(0x1dd)][_0x345ca4(0x1e2)](_0x345ca4(0x1cd))[_0x345ca4(0x213)](_0x1a2ab8[_0x345ca4(0x1e6)],_0x2f3775));}),_0x4723c1[_0x5f0209(0x1ce)](_0x2f3775,_0x44a1c5);}}async[_0x47f45f(0x20d)](_0x1bc96d){const _0x345184=_0x47f45f;if(this[_0x345184(0x21f)][_0x345184(0x226)](_0x1bc96d))throw new _0x12749a(_0x345184(0x201),null,{'channelId':_0x1bc96d});const _0x2cf0c0=this[_0x345184(0x1d9)][_0x345184(0x1dd)][_0x345184(0x1e2)](_0x345184(0x221)),_0x14dfe9=new CloudServicesCommentsAdapter[(_0x345184(0x1e1))](_0x1bc96d);this[_0x345184(0x21f)][_0x345184(0x20b)](_0x1bc96d,_0x14dfe9),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1ef),(_0x217cf2,_0x3c01df)=>{const _0x35e76a=_0x345184,{commentThreadId:_0x2b4774,documentId:_0x1648b4,context:_0x245a9d,attributes:_0x42465e,resolvedAt:_0x6db50c,resolvedBy:_0x2a71a0,comments:_0x46584b}=_0x3c01df;_0x2cf0c0[_0x35e76a(0x228)](_0x2b4774)||_0x2cf0c0[_0x35e76a(0x206)]({'threadId':_0x2b4774,'channelId':_0x1648b4,'comments':_0x46584b?_0x46584b[_0x35e76a(0x1fd)](p):[],'context':_0x245a9d,'attributes':_0x42465e,'resolvedAt':_0x6db50c,'resolvedBy':_0x2a71a0,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1df),(_0x52a43c,{commentThreadId:_0x497f38,documentId:_0x39a597,context:_0x3a540c,unlinkedAt:_0x4425d0,attributes:_0x4e62ea})=>{const _0x32c0f1=_0x345184;_0x2cf0c0[_0x32c0f1(0x228)](_0x497f38)&&_0x2cf0c0[_0x32c0f1(0x1de)]({'threadId':_0x497f38,'channelId':_0x39a597,'context':_0x3a540c,'unlinkedAt':_0x4425d0,'attributes':_0x4e62ea,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1f4),(_0x4bee36,{commentThreadId:_0x5724f4,resolvedBy:_0x2c16f5,resolvedAt:_0x128bbd})=>{const _0x8cf037=_0x345184,_0x1b0d43=_0x2cf0c0[_0x8cf037(0x228)](_0x5724f4);_0x1b0d43&&_0x1b0d43[_0x8cf037(0x210)]({'resolvedBy':_0x2c16f5,'resolvedAt':_0x128bbd,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1ed),(_0x100991,{commentThreadId:_0x2610a7})=>{const _0x630657=_0x345184,_0x1c3c66=_0x2cf0c0[_0x630657(0x228)](_0x2610a7);_0x1c3c66&&_0x1c3c66[_0x630657(0x20f)]({'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x202),(_0x57d1bc,{commentThreadId:_0xaf61a5})=>{const _0x5eb413=_0x345184,_0x2c007d=_0x2cf0c0[_0x5eb413(0x228)](_0xaf61a5);_0x2c007d&&_0x2c007d[_0x5eb413(0x20c)]({'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1f8),(_0x1f4c7d,_0x166613)=>{const _0x27468d=_0x345184,_0x1660fe=_0x166613[_0x27468d(0x22a)],_0x49080d=_0x2cf0c0[_0x27468d(0x228)](_0x1660fe);_0x49080d&&_0x49080d[_0x27468d(0x1ee)]({...p(_0x166613),'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1dc),(_0x2fcbb,{commentThreadId:_0x4eca6a,commentId:_0x441a84,content:_0x5c77dc,attributes:_0x3cf6c1})=>{const _0x2ebff8=_0x345184,_0x14c495=_0x2cf0c0[_0x2ebff8(0x228)](_0x4eca6a);if(_0x14c495){const _0x3f2c98=_0x14c495[_0x2ebff8(0x219)](_0x441a84);_0x3f2c98&&_0x3f2c98[_0x2ebff8(0x1ca)]({'content':_0x5c77dc,'attributes':_0x3cf6c1,'isFromAdapter':!0x0});}}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x217),(_0x242157,{commentThreadId:_0x108c98,commentId:_0x39fe51})=>{const _0x1b7689=_0x345184,_0x355c11=_0x2cf0c0[_0x1b7689(0x228)](_0x108c98);if(_0x355c11){const _0x312360=_0x355c11[_0x1b7689(0x219)](_0x39fe51);_0x312360&&_0x312360[_0x1b7689(0x20c)]({'isFromAdapter':!0x0});}}),await this[_0x345184(0x1ea)](_0x1bc96d);}[_0x47f45f(0x1cb)](){const _0x5a7646=_0x47f45f;if(this[_0x5a7646(0x1d9)]instanceof _0x4d5ce1){const _0x2a96ad=this[_0x5a7646(0x1d9)][_0x5a7646(0x1f0)][_0x5a7646(0x1e2)](_0x5a7646(0x1d3));this[_0x5a7646(0x1c7)](_0x2a96ad);}}[_0x47f45f(0x1c7)](_0x24aa79){const _0x43e53d=_0x47f45f;if(!this[_0x43e53d(0x21f)][_0x43e53d(0x226)](_0x24aa79))throw new _0x12749a(_0x43e53d(0x222),null,{'channelId':_0x24aa79});this[_0x43e53d(0x212)](_0x24aa79)[_0x43e53d(0x229)](),this[_0x43e53d(0x21f)][_0x43e53d(0x21e)](_0x24aa79);}async[_0x47f45f(0x205)](){const _0xb7016f=_0x47f45f;for(const _0x4ce3ae of this[_0xb7016f(0x21f)][_0xb7016f(0x21c)]())await this[_0xb7016f(0x1ea)](_0x4ce3ae);if(this[_0xb7016f(0x1d9)]instanceof _0x4d5ce1){const _0x2a0b7=this[_0xb7016f(0x1d9)][_0xb7016f(0x1f0)][_0xb7016f(0x1e2)](_0xb7016f(0x1d3)),_0x5022c6=this[_0xb7016f(0x1d9)][_0xb7016f(0x1dd)][_0xb7016f(0x1e2)](_0x47891c);_0x5022c6[_0xb7016f(0x22c)](_0x2a0b7);const _0x4ac60c=await this[_0xb7016f(0x21f)][_0xb7016f(0x1e2)](_0x2a0b7)[_0xb7016f(0x20e)]();_0x5022c6[_0xb7016f(0x1ce)](_0x2a0b7,_0x4ac60c);}}async[_0x47f45f(0x1ea)](_0x180b7b){const _0x137f7a=_0x47f45f,{connection:_0x1e53fd}=this[_0x137f7a(0x1d9)][_0x137f7a(0x1dd)][_0x137f7a(0x1e2)](_0x230724),_0x4e3311=this[_0x137f7a(0x1d9)][_0x137f7a(0x1dd)][_0x137f7a(0x1e2)](_0x137f7a(0x221)),_0x5abec0=this[_0x137f7a(0x21f)][_0x137f7a(0x1e2)](_0x180b7b),_0x1fe181=await _0x5abec0[_0x137f7a(0x21b)](_0x1e53fd);await this[_0x137f7a(0x1d6)](_0x1fe181);const _0x16eb51=new Set(Array[_0x137f7a(0x1d4)](_0x4e3311[_0x137f7a(0x1cf)]({'channelId':_0x180b7b}),_0x1bd71c=>_0x1bd71c['id']));for(const _0x22cb63 of _0x1fe181)_0x22cb63[_0x137f7a(0x1f3)]||_0x16eb51[_0x137f7a(0x21e)](_0x22cb63[_0x137f7a(0x22a)]);for(const _0x1113a8 of _0x16eb51)_0x4e3311[_0x137f7a(0x228)](_0x1113a8)[_0x137f7a(0x20c)]({'isFromAdapter':!0x0});for(const _0x155b28 of _0x1fe181){let _0x2e6278=_0x4e3311[_0x137f7a(0x228)](_0x155b28[_0x137f7a(0x22a)]);const {commentThreadId:_0x1059f5,context:_0x318f22,attributes:_0x305b3f,resolvedBy:_0x3169a3,resolvedAt:_0xe17783,unlinkedAt:_0x465c2f,deletedAt:_0x3c3ab4}=_0x155b28;if(_0x3c3ab4)continue;_0x2e6278||(_0x2e6278=_0x4e3311[_0x137f7a(0x206)]({'channelId':_0x180b7b,'threadId':_0x1059f5,'context':_0x318f22,'attributes':_0x305b3f||{},'resolvedBy':_0x3169a3,'resolvedAt':_0xe17783,'unlinkedAt':_0x465c2f,'isFromAdapter':!0x0}));const _0xea3eca=new Set(Array[_0x137f7a(0x1d4)](_0x2e6278[_0x137f7a(0x200)],_0x53a9a1=>_0x53a9a1['id']));for(const _0x2a94c6 of _0x155b28[_0x137f7a(0x200)])_0xea3eca[_0x137f7a(0x21e)](_0x2a94c6[_0x137f7a(0x1d8)]);for(const _0x49823a of _0xea3eca)_0x2e6278[_0x137f7a(0x219)](_0x49823a)[_0x137f7a(0x20c)]({'isFromAdapter':!0x0});for(const _0x533dbb of _0x155b28[_0x137f7a(0x200)]){const _0x3587b4=_0x2e6278[_0x137f7a(0x219)](_0x533dbb[_0x137f7a(0x1d8)]);_0x3587b4?_0x3587b4[_0x137f7a(0x215)]!==_0x533dbb[_0x137f7a(0x215)]&&_0x3587b4[_0x137f7a(0x1ca)]({'content':_0x533dbb[_0x137f7a(0x215)],'isFromAdapter':!0x0}):_0x2e6278[_0x137f7a(0x1ee)](Object[_0x137f7a(0x1db)](p(_0x533dbb),{'isFromAdapter':!0x0}));}}}[_0x47f45f(0x212)](_0x586f05){const _0x34bcfd=_0x47f45f;if(!this[_0x34bcfd(0x21f)][_0x34bcfd(0x226)](_0x586f05))throw new _0x12749a(_0x34bcfd(0x22e),null,{'channelId':_0x586f05});return this[_0x34bcfd(0x21f)][_0x34bcfd(0x1e2)](_0x586f05);}async[_0x47f45f(0x1d6)](_0x1b8e28){const _0x502093=_0x47f45f,_0x176286=this[_0x502093(0x1d9)][_0x502093(0x1dd)][_0x502093(0x1e2)](_0x57c0f6),{connection:_0xf2590d}=this[_0x502093(0x1d9)][_0x502093(0x1dd)][_0x502093(0x1e2)](_0x230724),_0x3d76b7=new Set();for(const {resolvedBy:_0x4849c7,comments:_0x2ce501}of _0x1b8e28){_0x4849c7&&!_0x176286[_0x502093(0x1ff)](_0x4849c7)&&_0x3d76b7[_0x502093(0x1f1)](_0x4849c7);for(const {userId:_0xbbb299}of _0x2ce501)_0x176286[_0x502093(0x1ff)](_0xbbb299)||_0x3d76b7[_0x502093(0x1f1)](_0xbbb299);}if(0x0===_0x3d76b7[_0x502093(0x1e4)])return;const _0x5f1845=await _0x43a30d[_0x502093(0x1f5)](_0xf2590d,Array[_0x502093(0x1d4)](_0x3d76b7));for(const _0x373177 of _0x5f1845)_0x176286[_0x502093(0x1ff)](_0x373177['id'])||_0x176286[_0x502093(0x1d7)](_0x373177);}}async function f(_0x205d50){const _0x21d53b=_0x47f45f;if(_0x21d53b(0x225)!==_0x205d50[_0x21d53b(0x1eb)])throw _0x205d50;}function A(_0x38f013){const _0x2e3387=_0x47f45f;if((_0x101e71=_0x38f013)[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x1f6))||_0x101e71[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x1c9))||_0x101e71[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x21a)))return new Promise(()=>{});var _0x101e71;throw _0x38f013;}function p(_0x26aac7){const _0x3e6470=_0x47f45f;return{'threadId':_0x26aac7[_0x3e6470(0x22a)],'commentId':_0x26aac7[_0x3e6470(0x1d8)],'content':_0x26aac7[_0x3e6470(0x215)],'createdAt':_0x26aac7[_0x3e6470(0x218)],'authorId':_0x26aac7[_0x3e6470(0x209)],'attributes':_0x26aac7[_0x3e6470(0x227)]||{}};}
|
|
23
|
+
const _0x3f1008=_0x15c2;(function(_0x406119,_0xe63fe2){const _0xd70ab2=_0x15c2,_0xf526c0=_0x406119();while(!![]){try{const _0x361bf0=parseInt(_0xd70ab2(0x219))/0x1+parseInt(_0xd70ab2(0x1f9))/0x2*(parseInt(_0xd70ab2(0x1f1))/0x3)+-parseInt(_0xd70ab2(0x1e8))/0x4+-parseInt(_0xd70ab2(0x1e6))/0x5+-parseInt(_0xd70ab2(0x1fe))/0x6+-parseInt(_0xd70ab2(0x20d))/0x7*(parseInt(_0xd70ab2(0x205))/0x8)+parseInt(_0xd70ab2(0x1e0))/0x9;if(_0x361bf0===_0xe63fe2)break;else _0xf526c0['push'](_0xf526c0['shift']());}catch(_0x35fda0){_0xf526c0['push'](_0xf526c0['shift']());}}}(_0x2fd2,0x1ed5f));function _0x15c2(_0x4f6ad3,_0x54124c){const _0x2fd241=_0x2fd2();return _0x15c2=function(_0x15c2f2,_0x39a08e){_0x15c2f2=_0x15c2f2-0x1dc;let _0x2d37ea=_0x2fd241[_0x15c2f2];return _0x2d37ea;},_0x15c2(_0x4f6ad3,_0x54124c);}import{Context as _0x4e06d0,ContextPlugin as _0x412245}from'ckeditor5/src/core.js';import{CKEditorError as _0x56ab25}from'ckeditor5/src/utils.js';function _0x2fd2(){const _0x55bd14=['off','code','cloud-services-internal-error:\x20Not\x20connected.','attributes','register','_fetchMissingUsersForThreads','message','commentThreadRemoved','getMany','config','commentUpdated','from','collaboration.channelId','mySessionId','addToReconnectionStack','CloudServicesCommentsAdapter','updateComment','isPremiumPlugin','startsWith','_getService','commentThreadAdded','commentAdded','commentThreadId','_services','userId','addComment','content','listenTo','set','requires','getUser','cloudservicescommentsadapter-connect-already-connected','resolve','removeCommentThread','4697910ThgAvE','adapter','addUser','reopen','updateCommentThread','commentThreadReopened','1137155YtVxke','getCommentThreads','270032rFGZPY','setPermissions','map','plugins','_setUpService','CommentsService','commentRemoved','commentThreadResolved','unregister','262245KiKron','createdAt','404','pluginName','comments','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadUpdated','permissions','2JvEcXE','addCommentThread','authorId','add','getComment','156444XTUApb','reconnect','deletedAt','get','size','connect','resolveCommentThread','104RWprSH','keys','sessionAdd:','cloud-services-internal-error:\x20Request\x20timeout.','catch','destroy','_terminateService','context','130137KIJKxm','getCommentThread','CommentsRepository','removeComment','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-disconnect-not-exist','_connectService','resolvedBy','getConnectedSessions','resolvedAt','assign','has','79594buFUAE','init','update','delete','disconnect','remove','commentId','Permissions','reopenCommentThread','isOfficialPlugin'];_0x2fd2=function(){return _0x55bd14;};return _0x2fd2();}import{Users as _0x61deb9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5657f9,User as _0x389523}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x43b371}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x21093b}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x412245{static [_0x3f1008(0x1ed)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5657f9)());[_0x3f1008(0x23a)];static get[_0x3f1008(0x240)](){const _0x1aae21=_0x3f1008;return[_0x43b371,_0x1aae21(0x20f),_0x21093b,_0x61deb9];}static get[_0x3f1008(0x1f4)](){const _0x5a9b4b=_0x3f1008;return _0x5a9b4b(0x232);}static get[_0x3f1008(0x222)](){return!0x0;}static get[_0x3f1008(0x234)](){return!0x0;}constructor(_0x5871a3){const _0x5652b2=_0x3f1008;super(_0x5871a3),this[_0x5652b2(0x23a)]=new Map();}async[_0x3f1008(0x21a)](){const _0x4a9fcc=_0x3f1008,_0x9b3d55=this[_0x4a9fcc(0x20c)],_0xe4a4aa=_0x9b3d55[_0x4a9fcc(0x1eb)][_0x4a9fcc(0x201)](_0x4a9fcc(0x20f));if(_0x9b3d55[_0x4a9fcc(0x1eb)][_0x4a9fcc(0x201)](_0x43b371)[_0x4a9fcc(0x231)](this),_0xe4a4aa[_0x4a9fcc(0x1e1)]={'addCommentThread':async({channelId:_0x577d59,threadId:_0x1301c9,comments:_0x3592b0,resolvedAt:_0x1ba876,resolvedBy:_0x5018e8,context:_0x4e65f4,attributes:_0x1ab087})=>{const _0xfa7175=_0x4a9fcc,_0xbbc072=await this[_0xfa7175(0x236)](_0x577d59)[_0xfa7175(0x1fa)]({'commentThreadId':_0x1301c9,'comments':_0x3592b0[_0xfa7175(0x1ea)](_0x4152a4=>function(_0x499114,_0x38989e,_0x530b04){const _0x582d26=_0xfa7175;return{'commentThreadId':_0x530b04,'commentId':_0x499114[_0x582d26(0x21f)],'userId':_0x499114[_0x582d26(0x1fb)],'content':_0x499114[_0x582d26(0x23d)],'documentId':_0x38989e,'createdAt':_0x499114[_0x582d26(0x1f2)],'attributes':_0x499114[_0x582d26(0x226)]||{}};}(_0x4152a4,_0x577d59,_0x1301c9)),'resolvedAt':_0x1ba876,'resolvedBy':_0x5018e8,'context':_0x4e65f4,'attributes':_0x1ab087})[_0xfa7175(0x209)](A);return{'threadId':_0xbbc072[_0xfa7175(0x239)],'comments':_0xbbc072[_0xfa7175(0x1f5)]};},'getCommentThread':async({channelId:_0x2ab243,threadId:_0x533d4d})=>{const _0x41956a=_0x4a9fcc,_0x4d0272=await this[_0x41956a(0x236)](_0x2ab243)[_0x41956a(0x20e)](_0x533d4d)[_0x41956a(0x209)](f)[_0x41956a(0x209)](A);return _0x4d0272?_0x4d0272[_0x41956a(0x200)]?null:(await this[_0x41956a(0x228)]([_0x4d0272]),{'threadId':_0x4d0272[_0x41956a(0x239)],'comments':_0x4d0272[_0x41956a(0x1f5)][_0x41956a(0x1ea)](p),'context':_0x4d0272[_0x41956a(0x20c)],'resolvedAt':_0x4d0272[_0x41956a(0x216)],'resolvedBy':_0x4d0272[_0x41956a(0x214)],'attributes':_0x4d0272[_0x41956a(0x226)]||{}}):null;},'updateCommentThread':async({channelId:_0x38cd35,threadId:_0x5465e5,context:_0xf089ff,unlinkedAt:_0x3c3d0a,attributes:_0x463fe1})=>this[_0x4a9fcc(0x236)](_0x38cd35)[_0x4a9fcc(0x1e4)]({'commentThreadId':_0x5465e5,'context':_0xf089ff,'attributes':_0x463fe1,'unlinkedAt':_0x3c3d0a})[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A),'resolveCommentThread':async({channelId:_0x1bf75f,threadId:_0x247ddb})=>{const _0x3ae032=_0x4a9fcc,_0x29047f=await this[_0x3ae032(0x236)](_0x1bf75f)[_0x3ae032(0x204)](_0x247ddb)[_0x3ae032(0x209)](f)[_0x3ae032(0x209)](A);return{'threadId':_0x29047f[_0x3ae032(0x239)],'resolvedAt':_0x29047f[_0x3ae032(0x216)],'resolvedBy':_0x29047f[_0x3ae032(0x214)]};},'reopenCommentThread':async({channelId:_0x131f7a,threadId:_0x22bf78})=>this[_0x4a9fcc(0x236)](_0x131f7a)[_0x4a9fcc(0x221)](_0x22bf78)[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A),'removeCommentThread':({channelId:_0x32051d,threadId:_0x1f16c4})=>this[_0x4a9fcc(0x236)](_0x32051d)[_0x4a9fcc(0x1df)](_0x1f16c4)[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A),'addComment':({channelId:_0x2283de,threadId:_0x3fda46,commentId:_0x11ed9a,content:_0x325999,attributes:_0xc558fd})=>this[_0x4a9fcc(0x236)](_0x2283de)[_0x4a9fcc(0x23c)](_0x3fda46,_0x11ed9a,_0x325999,_0xc558fd)[_0x4a9fcc(0x209)](A),'updateComment':({channelId:_0x2d3986,threadId:_0xe96b77,commentId:_0x4058a7,content:_0x38f3e6,attributes:_0x89b147})=>this[_0x4a9fcc(0x236)](_0x2d3986)[_0x4a9fcc(0x233)](_0xe96b77,_0x4058a7,_0x38f3e6,_0x89b147)[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A),'removeComment':({channelId:_0x17c268,threadId:_0x51114b,commentId:_0x415acf})=>this[_0x4a9fcc(0x236)](_0x17c268)[_0x4a9fcc(0x210)](_0x51114b,_0x415acf)[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A)},_0x9b3d55 instanceof _0x4e06d0){const _0x3591a0=_0x9b3d55[_0x4a9fcc(0x22c)][_0x4a9fcc(0x201)](_0x4a9fcc(0x22f)),_0x4189b6=_0x9b3d55[_0x4a9fcc(0x1eb)][_0x4a9fcc(0x201)](_0x21093b);await this[_0x4a9fcc(0x1ec)](_0x3591a0);const _0x671b05=await this[_0x4a9fcc(0x23a)][_0x4a9fcc(0x201)](_0x3591a0)[_0x4a9fcc(0x215)]();this[_0x4a9fcc(0x23e)](_0x4189b6,_0x4a9fcc(0x207)+_0x3591a0,(_0x4eaf4f,{session:_0x3bdddf})=>{const _0x36df87=_0x4a9fcc;_0x3bdddf['id']===_0x4189b6[_0x36df87(0x230)]&&(_0x4eaf4f[_0x36df87(0x223)](),this[_0x36df87(0x20c)][_0x36df87(0x1eb)][_0x36df87(0x201)](_0x36df87(0x220))[_0x36df87(0x1e9)](_0x3bdddf[_0x36df87(0x1f8)],_0x3591a0));}),_0x4189b6[_0x4a9fcc(0x227)](_0x3591a0,_0x671b05);}}async[_0x3f1008(0x1ec)](_0x4f1db4){const _0xbd5aab=_0x3f1008;if(this[_0xbd5aab(0x23a)][_0xbd5aab(0x218)](_0x4f1db4))throw new _0x56ab25(_0xbd5aab(0x1dd),null,{'channelId':_0x4f1db4});const _0xb7a70d=this[_0xbd5aab(0x20c)][_0xbd5aab(0x1eb)][_0xbd5aab(0x201)](_0xbd5aab(0x20f)),_0x5abbb8=new CloudServicesCommentsAdapter[(_0xbd5aab(0x1ed))](_0x4f1db4);this[_0xbd5aab(0x23a)][_0xbd5aab(0x23f)](_0x4f1db4,_0x5abbb8),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x237),(_0xf2256f,_0x3539c1)=>{const _0x3077d3=_0xbd5aab,{commentThreadId:_0x45f2e7,documentId:_0x913e70,context:_0x52951f,attributes:_0x5cc5e4,resolvedAt:_0x14a2a9,resolvedBy:_0x592f81,comments:_0x2fa479}=_0x3539c1;_0xb7a70d[_0x3077d3(0x20e)](_0x45f2e7)||_0xb7a70d[_0x3077d3(0x1fa)]({'threadId':_0x45f2e7,'channelId':_0x913e70,'comments':_0x2fa479?_0x2fa479[_0x3077d3(0x1ea)](p):[],'context':_0x52951f,'attributes':_0x5cc5e4,'resolvedAt':_0x14a2a9,'resolvedBy':_0x592f81,'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x1f7),(_0x150253,{commentThreadId:_0x2b07a3,documentId:_0x52e297,context:_0x2eacc5,unlinkedAt:_0x37f6e0,attributes:_0x10b003})=>{const _0x5ceaa2=_0xbd5aab;_0xb7a70d[_0x5ceaa2(0x20e)](_0x2b07a3)&&_0xb7a70d[_0x5ceaa2(0x1e4)]({'threadId':_0x2b07a3,'channelId':_0x52e297,'context':_0x2eacc5,'unlinkedAt':_0x37f6e0,'attributes':_0x10b003,'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x1ef),(_0x80c386,{commentThreadId:_0xcae0cf,resolvedBy:_0x3b8976,resolvedAt:_0x1f2a63})=>{const _0x88a522=_0xbd5aab,_0x2338e5=_0xb7a70d[_0x88a522(0x20e)](_0xcae0cf);_0x2338e5&&_0x2338e5[_0x88a522(0x1de)]({'resolvedBy':_0x3b8976,'resolvedAt':_0x1f2a63,'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x1e5),(_0x347e58,{commentThreadId:_0x4f89cc})=>{const _0x575094=_0xbd5aab,_0x5549bb=_0xb7a70d[_0x575094(0x20e)](_0x4f89cc);_0x5549bb&&_0x5549bb[_0x575094(0x1e3)]({'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x22a),(_0x58e53a,{commentThreadId:_0x28a42a})=>{const _0x8fd080=_0xbd5aab,_0x2fb3d8=_0xb7a70d[_0x8fd080(0x20e)](_0x28a42a);_0x2fb3d8&&_0x2fb3d8[_0x8fd080(0x21e)]({'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x238),(_0x2d3c25,_0x3fcb60)=>{const _0x5b4a6a=_0xbd5aab,_0x1dcba8=_0x3fcb60[_0x5b4a6a(0x239)],_0x45013f=_0xb7a70d[_0x5b4a6a(0x20e)](_0x1dcba8);_0x45013f&&_0x45013f[_0x5b4a6a(0x23c)]({...p(_0x3fcb60),'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x22d),(_0x3581e7,{commentThreadId:_0x1d87cb,commentId:_0xcad28a,content:_0x14ba6b,attributes:_0x393daf})=>{const _0x4ed9d3=_0xbd5aab,_0x588298=_0xb7a70d[_0x4ed9d3(0x20e)](_0x1d87cb);if(_0x588298){const _0x509738=_0x588298[_0x4ed9d3(0x1fd)](_0xcad28a);_0x509738&&_0x509738[_0x4ed9d3(0x21b)]({'content':_0x14ba6b,'attributes':_0x393daf,'isFromAdapter':!0x0});}}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x1ee),(_0x5b3a7d,{commentThreadId:_0x10a082,commentId:_0x21bd53})=>{const _0x1b4f60=_0xbd5aab,_0x577e8f=_0xb7a70d[_0x1b4f60(0x20e)](_0x10a082);if(_0x577e8f){const _0x2e04cc=_0x577e8f[_0x1b4f60(0x1fd)](_0x21bd53);_0x2e04cc&&_0x2e04cc[_0x1b4f60(0x21e)]({'isFromAdapter':!0x0});}}),await this[_0xbd5aab(0x213)](_0x4f1db4);}[_0x3f1008(0x20a)](){const _0x84df3b=_0x3f1008;if(this[_0x84df3b(0x20c)]instanceof _0x4e06d0){const _0x5115c9=this[_0x84df3b(0x20c)][_0x84df3b(0x22c)][_0x84df3b(0x201)](_0x84df3b(0x22f));this[_0x84df3b(0x20b)](_0x5115c9);}}[_0x3f1008(0x20b)](_0x49fdff){const _0x18f3db=_0x3f1008;if(!this[_0x18f3db(0x23a)][_0x18f3db(0x218)](_0x49fdff))throw new _0x56ab25(_0x18f3db(0x212),null,{'channelId':_0x49fdff});this[_0x18f3db(0x236)](_0x49fdff)[_0x18f3db(0x21d)](),this[_0x18f3db(0x23a)][_0x18f3db(0x21c)](_0x49fdff);}async[_0x3f1008(0x1ff)](){const _0x3ae359=_0x3f1008;for(const _0x2b1cf7 of this[_0x3ae359(0x23a)][_0x3ae359(0x206)]())await this[_0x3ae359(0x213)](_0x2b1cf7);if(this[_0x3ae359(0x20c)]instanceof _0x4e06d0){const _0x355aac=this[_0x3ae359(0x20c)][_0x3ae359(0x22c)][_0x3ae359(0x201)](_0x3ae359(0x22f)),_0x42071a=this[_0x3ae359(0x20c)][_0x3ae359(0x1eb)][_0x3ae359(0x201)](_0x21093b);_0x42071a[_0x3ae359(0x1f0)](_0x355aac);const _0x3bc69d=await this[_0x3ae359(0x23a)][_0x3ae359(0x201)](_0x355aac)[_0x3ae359(0x215)]();_0x42071a[_0x3ae359(0x227)](_0x355aac,_0x3bc69d);}}async[_0x3f1008(0x213)](_0x587677){const _0x12a6b7=_0x3f1008,{connection:_0xbd915}=this[_0x12a6b7(0x20c)][_0x12a6b7(0x1eb)][_0x12a6b7(0x201)](_0x43b371),_0x1962a2=this[_0x12a6b7(0x20c)][_0x12a6b7(0x1eb)][_0x12a6b7(0x201)](_0x12a6b7(0x20f)),_0x219c4d=this[_0x12a6b7(0x23a)][_0x12a6b7(0x201)](_0x587677),_0x679769=await _0x219c4d[_0x12a6b7(0x203)](_0xbd915);await this[_0x12a6b7(0x228)](_0x679769);const _0x40a1d4=new Set(Array[_0x12a6b7(0x22e)](_0x1962a2[_0x12a6b7(0x1e7)]({'channelId':_0x587677}),_0xac76a=>_0xac76a['id']));for(const _0x559ff7 of _0x679769)_0x559ff7[_0x12a6b7(0x200)]||_0x40a1d4[_0x12a6b7(0x21c)](_0x559ff7[_0x12a6b7(0x239)]);for(const _0x429959 of _0x40a1d4)_0x1962a2[_0x12a6b7(0x20e)](_0x429959)[_0x12a6b7(0x21e)]({'isFromAdapter':!0x0});for(const _0x422f91 of _0x679769){let _0x8d60cf=_0x1962a2[_0x12a6b7(0x20e)](_0x422f91[_0x12a6b7(0x239)]);const {commentThreadId:_0x3032ea,context:_0x1856e8,attributes:_0x1bf70f,resolvedBy:_0x73202d,resolvedAt:_0x5deebe,unlinkedAt:_0x2af644,deletedAt:_0x2d9d61}=_0x422f91;if(_0x2d9d61)continue;_0x8d60cf||(_0x8d60cf=_0x1962a2[_0x12a6b7(0x1fa)]({'channelId':_0x587677,'threadId':_0x3032ea,'context':_0x1856e8,'attributes':_0x1bf70f||{},'resolvedBy':_0x73202d,'resolvedAt':_0x5deebe,'unlinkedAt':_0x2af644,'isFromAdapter':!0x0}));const _0x14335a=new Set(Array[_0x12a6b7(0x22e)](_0x8d60cf[_0x12a6b7(0x1f5)],_0x3e5ffa=>_0x3e5ffa['id']));for(const _0x182ff7 of _0x422f91[_0x12a6b7(0x1f5)])_0x14335a[_0x12a6b7(0x21c)](_0x182ff7[_0x12a6b7(0x21f)]);for(const _0x439dd0 of _0x14335a)_0x8d60cf[_0x12a6b7(0x1fd)](_0x439dd0)[_0x12a6b7(0x21e)]({'isFromAdapter':!0x0});for(const _0xa9fab1 of _0x422f91[_0x12a6b7(0x1f5)]){const _0x74b10d=_0x8d60cf[_0x12a6b7(0x1fd)](_0xa9fab1[_0x12a6b7(0x21f)]);_0x74b10d?_0x74b10d[_0x12a6b7(0x23d)]!==_0xa9fab1[_0x12a6b7(0x23d)]&&_0x74b10d[_0x12a6b7(0x21b)]({'content':_0xa9fab1[_0x12a6b7(0x23d)],'isFromAdapter':!0x0}):_0x8d60cf[_0x12a6b7(0x23c)](Object[_0x12a6b7(0x217)](p(_0xa9fab1),{'isFromAdapter':!0x0}));}}}[_0x3f1008(0x236)](_0x59b7b1){const _0x3c9d99=_0x3f1008;if(!this[_0x3c9d99(0x23a)][_0x3c9d99(0x218)](_0x59b7b1))throw new _0x56ab25(_0x3c9d99(0x211),null,{'channelId':_0x59b7b1});return this[_0x3c9d99(0x23a)][_0x3c9d99(0x201)](_0x59b7b1);}async[_0x3f1008(0x228)](_0x2a0f16){const _0x51c2de=_0x3f1008,_0x5c9aa3=this[_0x51c2de(0x20c)][_0x51c2de(0x1eb)][_0x51c2de(0x201)](_0x61deb9),{connection:_0x44561e}=this[_0x51c2de(0x20c)][_0x51c2de(0x1eb)][_0x51c2de(0x201)](_0x43b371),_0x2d6189=new Set();for(const {resolvedBy:_0x338c1f,comments:_0x51b017}of _0x2a0f16){_0x338c1f&&!_0x5c9aa3[_0x51c2de(0x1dc)](_0x338c1f)&&_0x2d6189[_0x51c2de(0x1fc)](_0x338c1f);for(const {userId:_0x126b91}of _0x51b017)_0x5c9aa3[_0x51c2de(0x1dc)](_0x126b91)||_0x2d6189[_0x51c2de(0x1fc)](_0x126b91);}if(0x0===_0x2d6189[_0x51c2de(0x202)])return;const _0x33caf8=await _0x389523[_0x51c2de(0x22b)](_0x44561e,Array[_0x51c2de(0x22e)](_0x2d6189));for(const _0x310491 of _0x33caf8)_0x5c9aa3[_0x51c2de(0x1dc)](_0x310491['id'])||_0x5c9aa3[_0x51c2de(0x1e2)](_0x310491);}}async function f(_0x171d5d){const _0x192ebb=_0x3f1008;if(_0x192ebb(0x1f3)!==_0x171d5d[_0x192ebb(0x224)])throw _0x171d5d;}function A(_0x17decf){const _0x12973a=_0x3f1008;if((_0x28cf34=_0x17decf)[_0x12973a(0x229)][_0x12973a(0x235)](_0x12973a(0x1f6))||_0x28cf34[_0x12973a(0x229)][_0x12973a(0x235)](_0x12973a(0x225))||_0x28cf34[_0x12973a(0x229)][_0x12973a(0x235)](_0x12973a(0x208)))return new Promise(()=>{});var _0x28cf34;throw _0x17decf;}function p(_0x4d3ee8){const _0x170daf=_0x3f1008;return{'threadId':_0x4d3ee8[_0x170daf(0x239)],'commentId':_0x4d3ee8[_0x170daf(0x21f)],'content':_0x4d3ee8[_0x170daf(0x23d)],'createdAt':_0x4d3ee8[_0x170daf(0x1f2)],'authorId':_0x4d3ee8[_0x170daf(0x23b)],'attributes':_0x4d3ee8[_0x170daf(0x226)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d8982=_0x3f8d;(function(_0x91133f,_0x36b91c){const _0x29a1c9=_0x3f8d,_0x296baf=_0x91133f();while(!![]){try{const _0x52089d=parseInt(_0x29a1c9(0x13f))/0x1*(parseInt(_0x29a1c9(0x15e))/0x2)+-parseInt(_0x29a1c9(0x144))/0x3+parseInt(_0x29a1c9(0x157))/0x4*(parseInt(_0x29a1c9(0x14d))/0x5)+parseInt(_0x29a1c9(0x146))/0x6+parseInt(_0x29a1c9(0x15d))/0x7+parseInt(_0x29a1c9(0x141))/0x8*(parseInt(_0x29a1c9(0x158))/0x9)+-parseInt(_0x29a1c9(0x14a))/0xa;if(_0x52089d===_0x36b91c)break;else _0x296baf['push'](_0x296baf['shift']());}catch(_0x448ed6){_0x296baf['push'](_0x296baf['shift']());}}}(_0x36cb,0xe353f));import{Plugin as _0x3cf708}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x507be1}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x36cb(){const _0x422286=['CommentsRepository','destroy','21705140NtPdeR','_setUpService','editor','5jijYBr','config','init','listenTo','_terminateService','requires','isThreadsLoadingPaused','connected','ready','once','3494372uebTPC','15851763fXrUae','data','Comments','CommentsEditing','collaboration.channelId','1693559NPTfEs','2067718mTZtIk','isPremiumPlugin','pluginName','switchReadOnly','1HMTpts','change:state','8vvpkZg','RealTimeCollaborativeComments','plugins','2904129PFcWdO','get','953976BCSqFg','isOfficialPlugin'];_0x36cb=function(){return _0x422286;};return _0x36cb();}import{RealTimeCollaborativeEditing as _0x3bad1b}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x3541ba}from'./realtimecollaborativeediting/websocketgateway.js';function _0x3f8d(_0x158740,_0x3429b5){const _0x36cb0e=_0x36cb();return _0x3f8d=function(_0x3f8d9c,_0x66aa41){_0x3f8d9c=_0x3f8d9c-0x13e;let _0x61412c=_0x36cb0e[_0x3f8d9c];return _0x61412c;},_0x3f8d(_0x158740,_0x3429b5);}export class RealTimeCollaborativeComments extends _0x3cf708{static get[_0x2d8982(0x152)](){const _0x326b4c=_0x2d8982;return[_0x326b4c(0x15a),_0x507be1,_0x3bad1b,_0x3541ba];}static get[_0x2d8982(0x160)](){const _0x1fa381=_0x2d8982;return _0x1fa381(0x142);}static get[_0x2d8982(0x147)](){return!0x0;}static get[_0x2d8982(0x15f)](){return!0x0;}[_0x2d8982(0x14f)](){const _0x24ce61=_0x2d8982,_0x50e833=this[_0x24ce61(0x14c)][_0x24ce61(0x143)][_0x24ce61(0x145)](_0x3541ba),_0x137998=this[_0x24ce61(0x14c)][_0x24ce61(0x143)][_0x24ce61(0x145)](_0x24ce61(0x15b)),_0x2c3f4c=this[_0x24ce61(0x14c)][_0x24ce61(0x143)][_0x24ce61(0x145)](_0x507be1);return this[_0x24ce61(0x14c)][_0x24ce61(0x159)][_0x24ce61(0x156)](_0x24ce61(0x155),()=>{const _0xfd16ed=_0x24ce61;this[_0xfd16ed(0x150)](_0x50e833,_0xfd16ed(0x140),(_0x3ae083,_0x2f7e29,_0x56b6ca)=>{const _0x2016c5=_0xfd16ed;_0x137998[_0x2016c5(0x153)]=_0x2016c5(0x154)!==_0x56b6ca;});}),this[_0x24ce61(0x150)](_0x50e833,_0x24ce61(0x140),(_0x34d9cd,_0x23d70f,_0x5c2f28)=>{const _0x5d071f=_0x24ce61;this[_0x5d071f(0x14c)][_0x5d071f(0x143)][_0x5d071f(0x145)](_0x5d071f(0x148))[_0x5d071f(0x13e)](_0x5d071f(0x154)!==_0x5c2f28);}),_0x2c3f4c[_0x24ce61(0x14b)](this[_0x24ce61(0x14c)][_0x24ce61(0x14e)][_0x24ce61(0x145)](_0x24ce61(0x15c)));}[_0x2d8982(0x149)](){const _0x54998a=_0x2d8982;this[_0x54998a(0x14c)][_0x54998a(0x143)][_0x54998a(0x145)](_0x507be1)[_0x54998a(0x151)](this[_0x54998a(0x14c)][_0x54998a(0x14e)][_0x54998a(0x145)](_0x54998a(0x15c))),super[_0x54998a(0x149)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x62907b)());[_0x40afd6(0x196)];[_0x40afd6(0x11d)];[_0x40afd6(0xa8)];[_0x40afd6(0xc5)];[_0x40afd6(0x198)];[_0x40afd6(0x176)];[_0x40afd6(0x156)];[_0x40afd6(0x122)];[_0x40afd6(0xdb)];[_0x40afd6(0xdd)];[_0x40afd6(0x13b)];[_0x40afd6(0x17d)];[_0x40afd6(0x101)];[_0x40afd6(0x185)];[_0x40afd6(0x17a)];[_0x40afd6(0xda)];[_0x40afd6(0x187)];[_0x40afd6(0x119)];static get[_0x40afd6(0x155)](){return[_0x331a8f,_0x4b8b4e,_0x3d17da,_0x3b1d7f,_0x5df85d,_0x576aa8];}static get[_0x40afd6(0xd4)](){const _0x465108=_0x40afd6;return _0x465108(0xad);}static get[_0x40afd6(0x127)](){return!0x0;}static get[_0x40afd6(0xab)](){return!0x0;}get[_0x40afd6(0x105)](){const _0x1a0521=_0x40afd6;return this[_0x1a0521(0x190)]+this[_0x1a0521(0x196)];}get[_0x40afd6(0x190)](){const _0x191257=_0x40afd6;return this[_0x191257(0xa8)][_0x191257(0x16a)]-this[_0x191257(0x196)];}get[_0x40afd6(0x152)](){const _0x171514=_0x40afd6,_0x7a32b=this[_0x171514(0xa8)][_0x171514(0x162)]();for(let _0x8db8c4=_0x7a32b[_0x171514(0x114)]-0x1;_0x8db8c4>=0x0;_0x8db8c4--){const _0x1c112c=_0x7a32b[_0x8db8c4];if(!this[_0x171514(0x187)][_0x171514(0x181)](_0x1c112c))return _0x1c112c[_0x171514(0xeb)]+0x1-this[_0x171514(0x196)];}return 0x0;}constructor(_0x506f12){const _0x8c5d0f=_0x40afd6;if(super(_0x506f12),this[_0x8c5d0f(0x196)]=0x0,this[_0x8c5d0f(0x11d)]=null,this[_0x8c5d0f(0xa8)]=new _0x3612cd(),this[_0x8c5d0f(0x145)][_0x8c5d0f(0x195)][_0x8c5d0f(0x171)](_0x8c5d0f(0xb5),{}),this[_0x8c5d0f(0xc5)]=this[_0x8c5d0f(0x145)][_0x8c5d0f(0x195)][_0x8c5d0f(0xaa)](_0x8c5d0f(0x14e)),!this[_0x8c5d0f(0xc5)])throw new _0x1ac2d8(_0x8c5d0f(0x129),this);const _0x414bc6=_0x506f12[_0x8c5d0f(0x195)][_0x8c5d0f(0xaa)](_0x8c5d0f(0x133))||_0x446c66;this[_0x8c5d0f(0x198)]=new RealTimeCollaborationClient[(_0x8c5d0f(0xd7))](_0x414bc6,this[_0x8c5d0f(0xc5)]),this[_0x8c5d0f(0x176)]=this[_0x8c5d0f(0x145)][_0x8c5d0f(0xc7)][_0x8c5d0f(0x19d)],this[_0x8c5d0f(0x156)]=new _0x17bad1(),this[_0x8c5d0f(0x122)]=[],this[_0x8c5d0f(0xdb)]=new WeakSet(),this[_0x8c5d0f(0xdd)]=new Set(),this[_0x8c5d0f(0x16e)](_0x8c5d0f(0xf9),!0x1),this[_0x8c5d0f(0x16e)](_0x8c5d0f(0x108),!0x1),this[_0x8c5d0f(0x13b)]=null,this[_0x8c5d0f(0x17d)]=!0x1,this[_0x8c5d0f(0x101)]=null,this[_0x8c5d0f(0x185)]=0x12c,this[_0x8c5d0f(0x17a)]=this[_0x8c5d0f(0x185)],this[_0x8c5d0f(0xda)]=null,this[_0x8c5d0f(0x187)]=new WeakSet(),this[_0x8c5d0f(0x119)]=new W(this[_0x8c5d0f(0x187)]);}[_0x40afd6(0x18b)](){const _0x54e9e0=_0x40afd6,_0x12df2b=this[_0x54e9e0(0x145)],_0x592784=_0x12df2b[_0x54e9e0(0x117)][_0x54e9e0(0xaa)](_0x5df85d),_0x45d337=_0x12df2b[_0x54e9e0(0x117)][_0x54e9e0(0xaa)](_0x331a8f);this[_0x54e9e0(0x136)](_0x592784,_0x54e9e0(0x142),(_0x3937c7,_0x42af80)=>{const _0x363746=_0x54e9e0,_0x36b811=_0x42af80[0x0];_0x36b811[_0x363746(0xe0)]&&(_0x3937c7[_0x363746(0xc6)]=_0x592784[_0x363746(0xae)](_0x36b811[_0x363746(0xe0)]),_0x3937c7[_0x363746(0xe9)]()),null===_0x36b811[_0x363746(0xe0)]&&(_0x3937c7[_0x363746(0xc6)]=null,_0x3937c7[_0x363746(0xe9)]());},{'priority':_0x54e9e0(0xb7)}),this[_0x54e9e0(0x136)](_0x12df2b[_0x54e9e0(0xc7)][_0x54e9e0(0x19d)][_0x54e9e0(0xe7)],_0x54e9e0(0xcf),(_0x2a8229,_0x4ce42a)=>{const _0x447101=_0x54e9e0;_0x4ce42a[_0x447101(0x123)]&&this[_0x447101(0xce)]();}),this[_0x54e9e0(0x136)](_0x12df2b[_0x54e9e0(0x137)][_0x54e9e0(0xd6)],_0x54e9e0(0x182),()=>{const _0x35a47d=_0x54e9e0;this[_0x35a47d(0xce)]();}),this[_0x54e9e0(0x12d)](),_0x12df2b[_0x54e9e0(0xc7)]['on'](_0x54e9e0(0x153),(_0x30d3e1,_0x1d29c5)=>{const _0x55e968=_0x54e9e0,_0x3072c8=_0x1d29c5[0x0];_0x3072c8[_0x55e968(0x9c)]&&(this[_0x55e968(0xb3)](_0x3072c8),this[_0x55e968(0xe4)]()&&this[_0x55e968(0xba)]());}),this[_0x54e9e0(0x124)](),this[_0x54e9e0(0x118)](_0x54e9e0(0x13a))['to'](_0x45d337,_0x54e9e0(0x126),this,_0x54e9e0(0x108),(_0x40b96a,_0xea6edd)=>_0x54e9e0(0x140)===_0x40b96a&&!_0xea6edd),this['on'](_0x54e9e0(0x15d),()=>{const _0x5c0387=_0x54e9e0;this[_0x5c0387(0x13a)]?_0x12df2b[_0x5c0387(0x166)](_0x5c0387(0x18f)):_0x12df2b[_0x5c0387(0x144)](_0x5c0387(0x18f));}),this[_0x54e9e0(0x13a)]?_0x12df2b[_0x54e9e0(0x166)](_0x54e9e0(0x18f)):_0x12df2b[_0x54e9e0(0x144)](_0x54e9e0(0x18f)),this[_0x54e9e0(0x16e)](_0x54e9e0(0xee),!0x1);}async[_0x40afd6(0x9e)](){const _0x1d5af0=_0x40afd6,_0x34e3fb=this[_0x1d5af0(0x145)][_0x1d5af0(0x117)][_0x1d5af0(0xaa)](_0x4b8b4e),_0x227681=this[_0x1d5af0(0x145)][_0x1d5af0(0x117)][_0x1d5af0(0xaa)](_0x331a8f);try{this[_0x1d5af0(0xf9)]=!0x0,_0x34e3fb[_0x1d5af0(0x18a)](this[_0x1d5af0(0xc5)]);const _0x4a3e89=await this[_0x1d5af0(0x198)][_0x1d5af0(0x9e)](_0x227681[_0x1d5af0(0x16d)],this[_0x1d5af0(0x152)]);await this[_0x1d5af0(0x10a)](_0x4a3e89)&&(this[_0x1d5af0(0xf9)]=!0x1,this[_0x1d5af0(0xe6)]());const _0x25b9fe=await this[_0x1d5af0(0x198)][_0x1d5af0(0xaf)]();_0x34e3fb[_0x1d5af0(0x135)](this[_0x1d5af0(0xc5)],_0x25b9fe),this[_0x1d5af0(0xa4)](),this[_0x1d5af0(0xee)]=!0x0;}catch(_0x32de73){if(function(_0x241287){const _0x55c87e=_0x1d5af0;return _0x55c87e(0x19a)===_0x241287[_0x55c87e(0xf3)];}(_0x32de73)&&this[_0x1d5af0(0x11d)])await this[_0x1d5af0(0xc2)]();else{if(function(_0x36d3cd){const _0x175175=_0x1d5af0;return _0x175175(0x10c)===_0x36d3cd[_0x175175(0xf3)];}(_0x32de73)){const _0x5cb99a=_0x156544(this[_0x1d5af0(0x145)][_0x1d5af0(0x199)],_0x1d5af0(0x173));this[_0x1d5af0(0xd9)](_0x5cb99a);}else{if(!(_0x32de73 instanceof H))throw _0x32de73;this[_0x1d5af0(0xd9)]();}}}}[_0x40afd6(0x189)](){const _0x48b253=_0x40afd6,_0x49d15d=this[_0x48b253(0x145)][_0x48b253(0x117)][_0x48b253(0xaa)](_0x331a8f),_0x139529=this[_0x48b253(0x145)][_0x48b253(0x117)][_0x48b253(0xaa)](_0x4b8b4e);this[_0x48b253(0x145)][_0x48b253(0x144)](_0x48b253(0x10e)),_0x139529[_0x48b253(0xe5)][_0x48b253(0x181)](this[_0x48b253(0xc5)])&&_0x139529[_0x48b253(0x18a)](this[_0x48b253(0xc5)]),_0x49d15d[_0x48b253(0xa1)](this),this[_0x48b253(0xf5)](),super[_0x48b253(0x189)]();}async[_0x40afd6(0x10a)](_0x2a682f){const _0x3360f1=_0x40afd6;if(this[_0x3360f1(0x11d)]!==_0x2a682f[_0x3360f1(0x11d)]&&this[_0x3360f1(0xda)]!==_0x2a682f[_0x3360f1(0x154)])throw new H();return this[_0x3360f1(0x11d)]=_0x2a682f[_0x3360f1(0x11d)],this[_0x3360f1(0x160)]([],{..._0x2a682f,'wereChangesApplied':!0x1,'data':_0x2a682f[_0x3360f1(0x116)]},_0x3360f1(0x9e));}async[_0x40afd6(0x186)](_0x3fe28f,_0x5cc92a=!0x1){const _0x42f65f=_0x40afd6,{connection:_0x511a03}=this[_0x42f65f(0x145)][_0x42f65f(0x117)][_0x42f65f(0xaa)](_0x331a8f);RealTimeCollaborationClient[_0x42f65f(0xd7)][_0x42f65f(0xaf)](_0x511a03,this[_0x42f65f(0xc5)])[_0x42f65f(0xfd)](_0x5f1caf=>this[_0x42f65f(0x14d)](_0x5f1caf))[_0x42f65f(0xa2)](_0xc3e82e=>{const _0x3dbdd1=_0x42f65f;this[_0x3dbdd1(0xc4)](_0x3dbdd1(0x106),_0xc3e82e);}),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0x9b),this[_0x42f65f(0x18c)][_0x42f65f(0x118)](this)),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0x149),(_0x31365d,_0x3c3d66)=>{const _0x226c19=_0x42f65f;this[_0x226c19(0xc4)](_0x226c19(0x148),_0x3c3d66);}),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0xfb),()=>{const _0x26b11f=_0x42f65f;this[_0x26b11f(0xee)]=!0x1;});const _0x3ad57f=this[_0x42f65f(0x119)][_0x42f65f(0xf8)](_0x3fe28f);this[_0x42f65f(0xf9)]=!0x0;const _0x3fe6fe=await this[_0x42f65f(0x198)][_0x42f65f(0xb1)](_0x511a03,this[_0x42f65f(0x172)](_0x3fe28f),_0x3ad57f);if(this[_0x42f65f(0x11d)]=_0x3fe6fe[_0x42f65f(0x11d)],_0x5cc92a){if(!_0x3fe6fe[_0x42f65f(0x131)])return void this[_0x42f65f(0xd9)]();this[_0x42f65f(0xf9)]=!0x1,this[_0x42f65f(0xe6)](),this[_0x42f65f(0xa8)][_0x42f65f(0x12e)](),this[_0x42f65f(0x196)]=_0x3fe6fe[_0x42f65f(0x10b)],this[_0x42f65f(0xa8)][_0x42f65f(0x16a)]=this[_0x42f65f(0x196)],await this[_0x42f65f(0x160)](_0x3fe28f,_0x3fe6fe,_0x42f65f(0x194));}else await this[_0x42f65f(0x167)](_0x3fe6fe,_0x3fe28f);this[_0x42f65f(0xa4)](),this[_0x42f65f(0xee)]=!0x0;}[_0x40afd6(0xa4)](){const _0x26101e=_0x40afd6,_0x4def29=this[_0x26101e(0x145)][_0x26101e(0x117)][_0x26101e(0xaa)](_0x4b8b4e),_0x4b0fef=this[_0x26101e(0x145)][_0x26101e(0x117)][_0x26101e(0xaa)](_0x3d17da),_0x3fa576=_0x4def29[_0x26101e(0xe5)][_0x26101e(0xaa)](this[_0x26101e(0xc5)]);_0x3fa576&&_0x3fa576[_0x26101e(0x114)]>0x1?_0x4b0fef[_0x26101e(0x17c)]():this[_0x26101e(0x136)](_0x4def29,_0x26101e(0x10f)+this[_0x26101e(0xc5)],()=>{const _0x587376=_0x26101e;0x2===_0x4def29[_0x587376(0xe5)][_0x587376(0xaa)](this[_0x587376(0xc5)])[_0x587376(0x114)]&&_0x4b0fef[_0x587376(0x17c)]();});}async[_0x40afd6(0x18c)](_0x5978c0,_0x683ab2,_0x7958f4,_0x14783b){const _0x24bb46=_0x40afd6;if(!this[_0x24bb46(0xf9)]&&this[_0x24bb46(0x176)][_0x24bb46(0x16a)]==_0x683ab2){const _0x4648b8=this[_0x24bb46(0x16c)](_0x7958f4,_0x14783b);await this[_0x24bb46(0xe2)](_0x4648b8),this[_0x24bb46(0x17e)](_0x4648b8,_0x683ab2,_0x7958f4[_0x24bb46(0x154)])||this[_0x24bb46(0xc4)](_0x24bb46(0x12b));}}async[_0x40afd6(0xc2)](){const _0x24e2d4=_0x40afd6;this[_0x24e2d4(0xf5)]();const {locale:_0x3c7845}=this[_0x24e2d4(0x145)];let _0x151d78;try{_0x151d78=await this[_0x24e2d4(0x198)][_0x24e2d4(0xde)]();}catch{const _0x1cda60=_0x156544(_0x3c7845,_0x24e2d4(0xf7));return void this[_0x24e2d4(0xd9)](_0x1cda60);}const _0x2a1a2f=_0x151d78[_0x24e2d4(0x159)]||_0x151d78[_0x24e2d4(0xe3)];if(this[_0x24e2d4(0xda)]!==_0x2a1a2f[_0x24e2d4(0x154)]){const _0x1c1783=_0x156544(_0x3c7845,_0x24e2d4(0xea));return void this[_0x24e2d4(0xd9)](_0x1c1783);}await this[_0x24e2d4(0x186)](this[_0x24e2d4(0x145)][_0x24e2d4(0xc7)][_0x24e2d4(0x19d)][_0x24e2d4(0x146)][_0x24e2d4(0x162)](),!0x0);}[_0x40afd6(0xf5)](){const _0x30f98a=_0x40afd6;this[_0x30f98a(0x198)][_0x30f98a(0xf2)](),this[_0x30f98a(0x122)]=[],clearTimeout(this[_0x30f98a(0x101)]),this[_0x30f98a(0x175)](this[_0x30f98a(0x198)]);}[_0x40afd6(0x14d)](_0x36c6b1){const _0x1b3f71=_0x40afd6,_0x374cc6=this[_0x1b3f71(0x145)][_0x1b3f71(0x117)][_0x1b3f71(0xaa)](_0x4b8b4e);this[_0x1b3f71(0x136)](_0x374cc6,_0x1b3f71(0x10f)+this[_0x1b3f71(0xc5)],(_0x221941,{session:_0x5f0845})=>{const _0x25257c=_0x1b3f71;if(_0x5f0845['id']===_0x374cc6[_0x25257c(0xb0)]){_0x221941[_0x25257c(0x169)]();const _0x3fb71f=this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0x181)](_0x25257c(0x12a))&&this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0xaa)](_0x25257c(0x12a));let _0x1d1f78=_0x5f0845[_0x25257c(0x14f)];_0x3fb71f&&_0x3fb71f[_0x25257c(0x164)]&&(_0x1d1f78=_0x1d1f78[_0x25257c(0xb4)](_0x108801=>_0x25257c(0x12c)!==_0x108801)),this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0xaa)](_0x25257c(0x188))[_0x25257c(0x150)](_0x1d1f78,this[_0x25257c(0xc5)]);}}),_0x374cc6[_0x1b3f71(0x135)](this[_0x1b3f71(0xc5)],_0x36c6b1);}[_0x40afd6(0x12d)](){const _0x5175f6=_0x40afd6,_0x3dde6b=this[_0x5175f6(0x145)][_0x5175f6(0x116)][_0x5175f6(0x16e)];this[_0x5175f6(0x145)][_0x5175f6(0x116)][_0x5175f6(0x16e)]=(..._0x32e723)=>{const _0x36a8a0=_0x5175f6;if(!_0x32e723[_0x32e723[_0x36a8a0(0x114)]-0x1][_0x36a8a0(0x143)])throw new _0x1ac2d8(_0x36a8a0(0x112),this);_0x3dde6b[_0x36a8a0(0x99)](this[_0x36a8a0(0x145)][_0x36a8a0(0x116)],_0x32e723);};}[_0x40afd6(0x124)](){const _0x2db2c7=_0x40afd6;this[_0x2db2c7(0x145)][_0x2db2c7(0x116)]['on'](_0x2db2c7(0x18b),(_0x4b5ce0,[_0x423a7b])=>{const _0x2246fa=_0x2db2c7;if(this[_0x2246fa(0x176)][_0x2246fa(0x16a)])throw new _0x1ac2d8(_0x2246fa(0x15e),this);_0x4b5ce0[_0x2246fa(0xe9)](),this[_0x2246fa(0xc3)]();const _0x6d75bc=this[_0x2246fa(0x145)][_0x2246fa(0x195)][_0x2246fa(0xaa)](_0x2246fa(0x12f)),_0x2135d4=this[_0x2246fa(0x14c)](_0x423a7b,_0x6d75bc);0x0==_0x2135d4[_0x2246fa(0x114)]&&_0x2135d4[_0x2246fa(0x125)](new _0x166358(0x0)),_0x4b5ce0[_0x2246fa(0xc6)]=this[_0x2246fa(0x186)](_0x2135d4)[_0x2246fa(0xfd)](()=>{const _0x535665=_0x2246fa;this[_0x535665(0x145)][_0x535665(0x117)][_0x535665(0xaa)](_0x331a8f)[_0x535665(0x132)](this),this[_0x535665(0x145)][_0x535665(0x116)][_0x535665(0x110)](_0x535665(0x100));})[_0x2246fa(0xa2)](_0x4ce069=>this[_0x2246fa(0xc4)](_0x2246fa(0xd0),_0x4ce069))[_0x2246fa(0xcb)](()=>this[_0x2246fa(0xe6)]());},{'priority':_0x2db2c7(0xb7)}),this[_0x2db2c7(0x145)]['on'](_0x2db2c7(0xbb),async(_0x438802,[_0xed59a8,_0x158b00])=>{const _0x37fe9c=_0x2db2c7;_0x438802[_0x37fe9c(0xe9)]();const _0x250857=this[_0x37fe9c(0x145)][_0x37fe9c(0xc7)][_0x37fe9c(0x19d)][_0x37fe9c(0x177)](_0xed59a8);if(!this[_0x37fe9c(0xdd)][_0x37fe9c(0x181)](_0xed59a8)){const _0x5322f5=_0x158b00&&_0x158b00[_0x37fe9c(0x116)]?_0x158b00[_0x37fe9c(0x116)]:'',_0x3e07fd=_0x158b00&&_0x158b00[_0x37fe9c(0x151)]?_0x158b00[_0x37fe9c(0x151)]:{};await this[_0x37fe9c(0x15f)](_0xed59a8,_0x5322f5,_0x3e07fd);}this[_0x37fe9c(0x145)][_0x37fe9c(0xc7)][_0x37fe9c(0x9a)]({'isUndoable':!0x1},()=>{const _0x2dd1c2=_0x37fe9c;_0x250857[_0x2dd1c2(0xfc)]=!0x0,this[_0x2dd1c2(0x145)][_0x2dd1c2(0xc7)][_0x2dd1c2(0x19d)][_0x2dd1c2(0x104)][_0x2dd1c2(0xf6)](_0x250857);});},{'priority':_0x2db2c7(0xb7)});}async[_0x40afd6(0xe2)](_0x26c8bf){const _0x585cc7=_0x40afd6,_0x58670d=this[_0x585cc7(0x145)][_0x585cc7(0x117)][_0x585cc7(0xaa)](_0x5df85d),{connection:_0x57d4d0}=this[_0x585cc7(0x145)][_0x585cc7(0x117)][_0x585cc7(0xaa)](_0x331a8f),_0x1d7b33=new Set();for(const _0x5164e7 of _0x26c8bf){const _0x489b19=_0x5164e7[_0x585cc7(0xe0)];_0x489b19&&!_0x58670d[_0x585cc7(0xae)](_0x489b19)&&_0x1d7b33[_0x585cc7(0x11c)](_0x489b19);}if(0x0===_0x1d7b33[_0x585cc7(0x193)])return;const _0x12b055=await _0x1fc2e0[_0x585cc7(0xa6)](_0x57d4d0,Array[_0x585cc7(0x15a)](_0x1d7b33));for(const _0x3eb453 of _0x12b055)_0x58670d[_0x585cc7(0xae)](_0x3eb453['id'])||_0x58670d[_0x585cc7(0x115)](_0x3eb453);}[_0x40afd6(0x14c)](_0x3c6ccd,_0x538391={}){const _0x12bfeb=_0x40afd6,_0x296098=this[_0x12bfeb(0x145)][_0x12bfeb(0xc7)],_0x444240=[];let _0x26630f=0x0;const _0x72cda5=_0x12bfeb(0x10d)==typeof _0x3c6ccd?{'main':_0x3c6ccd}:_0x3c6ccd;for(const _0x34315a of Object[_0x12bfeb(0x141)](_0x72cda5)){if(!this[_0x12bfeb(0x176)][_0x12bfeb(0xb6)][_0x12bfeb(0x181)](_0x34315a))throw new _0x1ac2d8(_0x12bfeb(0x128),this);const _0x1c0c98=this[_0x12bfeb(0x145)][_0x12bfeb(0x116)][_0x12bfeb(0x139)](_0x72cda5[_0x34315a]),_0x271a52=this[_0x12bfeb(0x176)][_0x12bfeb(0x177)](_0x34315a),_0x4f852d=new _0x52dda0(_0x296098[_0x12bfeb(0x192)](_0x271a52,0x0),_0x1c0c98,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x4f852d);for(const [_0x4d4fc2,_0x202a91]of _0x1c0c98[_0x12bfeb(0xd2)]){const _0x35f6e0=_0x296098[_0x12bfeb(0x11e)](_0x296098[_0x12bfeb(0xa3)](_0x271a52,_0x202a91[_0x12bfeb(0xe1)][_0x12bfeb(0xa0)][_0x12bfeb(0xdf)]()),_0x296098[_0x12bfeb(0xa3)](_0x271a52,_0x202a91[_0x12bfeb(0xfa)][_0x12bfeb(0xa0)][_0x12bfeb(0xdf)]())),_0x469602=new _0x264540(_0x4d4fc2,null,_0x35f6e0,_0x296098[_0x12bfeb(0xd2)],!0x0,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x469602);}}if(_0x538391)for(const [_0x465528,_0x31eb4a]of Object[_0x12bfeb(0xbf)](_0x538391)){const _0x5a8ac7=_0x296098[_0x12bfeb(0x19d)][_0x12bfeb(0x177)](_0x465528);if(!_0x5a8ac7)throw new _0x1ac2d8(_0x12bfeb(0x14a),null);for(const [_0x349928,_0x40a0d1]of Object[_0x12bfeb(0xbf)](_0x31eb4a))if(null!==_0x40a0d1){const _0x2f16ac=new _0x305f59(_0x5a8ac7,_0x349928,null,_0x40a0d1,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x2f16ac);}}return _0x444240;}async[_0x40afd6(0x15f)](_0xf9fb1b,_0x225a8d,_0x229acd){const _0x257f5e=_0x40afd6;this[_0x257f5e(0x14c)]({[_0xf9fb1b]:_0x225a8d},{[_0xf9fb1b]:_0x229acd})[_0x257f5e(0x111)]((_0x183bd1,_0x41afb3)=>{const _0x12157f=_0x257f5e;_0x183bd1[_0x12157f(0xeb)]=this[_0x12157f(0x176)][_0x12157f(0x16a)]+_0x41afb3,_0x183bd1[_0x12157f(0x165)]=!0x0,this[_0x12157f(0xb3)](_0x183bd1);}),this[_0x257f5e(0xba)](),await this[_0x257f5e(0x9d)]();}async[_0x40afd6(0x167)](_0x4dc637,_0x27388c){const _0x373aac=_0x40afd6;let _0x4a60a3;this[_0x373aac(0x196)]=_0x4dc637[_0x373aac(0x10b)];const _0x4ac224=_0x4dc637[_0x373aac(0x131)]&&!_0x4dc637[_0x373aac(0xca)],_0x6a678e=_0x4ac224?0x0:_0x4dc637[_0x373aac(0x116)][_0x373aac(0xeb)];if(_0x27388c[_0x373aac(0x111)](_0x4346f6=>{const _0x3db44a=_0x373aac;_0x4346f6[_0x3db44a(0x165)]=!0x0,_0x4346f6[_0x3db44a(0xa9)]=_0x4dc637[_0x3db44a(0x161)],_0x4346f6[_0x3db44a(0xe0)]=null;}),_0x4ac224)_0x4a60a3=_0x27388c,this[_0x373aac(0xf4)](_0x4a60a3,_0x4ac224);else{if(_0x4dc637[_0x373aac(0xca)]){const _0x42653a=this[_0x373aac(0x14c)](_0x4dc637[_0x373aac(0xca)]);this[_0x373aac(0x176)][_0x373aac(0x146)][_0x373aac(0x16a)]=-_0x42653a[_0x373aac(0x114)],_0x42653a[_0x373aac(0x111)](_0x418a87=>{const _0x5029f6=_0x373aac;_0x418a87[_0x5029f6(0xeb)]-=_0x42653a[_0x5029f6(0x114)],_0x418a87[_0x5029f6(0xa9)]=_0x4dc637[_0x5029f6(0x161)],_0x418a87[_0x5029f6(0x165)]=!0x0,_0x418a87[_0x5029f6(0xe0)]=null;}),this[_0x373aac(0xf4)](_0x42653a,!0x0),this[_0x373aac(0xa8)][_0x373aac(0x16a)]=-_0x42653a[_0x373aac(0x114)]+this[_0x373aac(0x196)],this[_0x373aac(0x157)](_0x42653a);}this[_0x373aac(0x176)][_0x373aac(0x146)][_0x373aac(0x16a)]=_0x6a678e,_0x4a60a3=this[_0x373aac(0x16c)](_0x4dc637[_0x373aac(0x116)],_0x4dc637[_0x373aac(0xef)]),await this[_0x373aac(0xe2)](_0x4a60a3),this[_0x373aac(0xf4)](_0x4a60a3,_0x4ac224);}_0x4dc637[_0x373aac(0x154)]&&(this[_0x373aac(0x119)][_0x373aac(0x19c)](_0x4a60a3,_0x4dc637[_0x373aac(0x154)]),this[_0x373aac(0xda)]=_0x4dc637[_0x373aac(0x154)]),this[_0x373aac(0xa8)][_0x373aac(0x16a)]=_0x6a678e+this[_0x373aac(0x196)],this[_0x373aac(0x157)](_0x4a60a3),_0x27388c[_0x373aac(0xb4)](_0x5e9172=>{const _0x5ca24e=_0x373aac,_0x3e70e4=this[_0x5ca24e(0x11f)](_0x5e9172);return _0x3e70e4&&!this[_0x5ca24e(0xdd)][_0x5ca24e(0x181)](_0x3e70e4);})[_0x373aac(0x111)]((_0x59803b,_0x15d89e)=>{const _0x4e93b6=_0x373aac;_0x59803b[_0x4e93b6(0xeb)]=this[_0x4e93b6(0x176)][_0x4e93b6(0x16a)]+_0x15d89e,this[_0x4e93b6(0xb3)](_0x59803b);}),this[_0x373aac(0xe4)]()?(this[_0x373aac(0x17a)]=0x0,this[_0x373aac(0xba)](!0x0),await this[_0x373aac(0x9d)]()):(this[_0x373aac(0xf9)]=!0x1,this[_0x373aac(0xe6)]());}[_0x40afd6(0xc4)](_0x5cf666,_0x456560){const _0x4817e0=_0x40afd6,_0x9d2b76=_0x456560&&_0x456560[_0x4817e0(0xb2)];if(_0x9d2b76&&_0x9d2b76[_0x4817e0(0x19b)](_0x4817e0(0xf0)))throw _0x456560;const _0x3c1d35=this[_0x4817e0(0x145)][_0x4817e0(0x117)][_0x4817e0(0xaa)](_0x331a8f);throw this[_0x4817e0(0xf9)]=!0x0,_0x3c1d35[_0x4817e0(0xf2)](),this[_0x4817e0(0x145)][_0x4817e0(0x144)](_0x4817e0(0xff)),new _0x1ac2d8(_0x5cf666,this[_0x4817e0(0x145)],_0x9d2b76?{'originalError':_0x9d2b76}:void 0x0);}[_0x40afd6(0xb3)](_0x8df20d){const _0xf900ef=_0x40afd6;this[_0xf900ef(0xdb)][_0xf900ef(0x181)](_0x8df20d)||(this[_0xf900ef(0xdb)][_0xf900ef(0x11c)](_0x8df20d),this[_0xf900ef(0x122)][_0xf900ef(0x125)](_0x8df20d),this[_0xf900ef(0x13b)]||_0xf900ef(0xcd)==_0x8df20d[_0xf900ef(0x9f)]&&!_0x8df20d[_0xf900ef(0x121)]||this[_0xf900ef(0xc3)]());}[_0x40afd6(0xba)](_0x3506db=!0x1){const _0x295865=_0x40afd6;!_0x3506db&&this[_0x295865(0xf9)]||(this[_0x295865(0xf9)]=!0x0,clearTimeout(this[_0x295865(0x101)]),this[_0x295865(0x101)]=setTimeout(()=>{const _0x49ccb6=_0x295865;this[_0x49ccb6(0xd1)]()[_0x49ccb6(0xfd)](_0x5842bb=>{const _0x20ccbd=_0x49ccb6;_0x5842bb&&(this[_0x20ccbd(0xe6)](),this[_0x20ccbd(0xf9)]=!0x1);})[_0x49ccb6(0xa2)](_0x3f618e=>{const _0x437ab1=_0x49ccb6;this[_0x437ab1(0xe6)](),this[_0x437ab1(0xf9)]=!0x1,function(_0x412de2){const _0x5c0d69=_0x437ab1;return _0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0x180))||_0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0xdc))||_0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0x183));}(_0x3f618e)||this[_0x437ab1(0xc4)](_0x3f618e[_0x437ab1(0xb2)],_0x3f618e);});},this[_0x295865(0x17a)]));}[_0x40afd6(0x9d)](){return new Promise(_0x34f5df=>{const _0x512239=_0x4099;this['on'](_0x512239(0x13d),()=>{_0x34f5df();});});}async[_0x40afd6(0xd1)](){const _0xdadd73=_0x40afd6,_0x301a03=this[_0xdadd73(0x145)][_0xdadd73(0x117)][_0xdadd73(0xaa)](_0x3d17da);if(this[_0xdadd73(0x18d)]()&&(_0x301a03[_0xdadd73(0x17c)](),this[_0xdadd73(0x17d)]=!0x1),!this[_0xdadd73(0xe4)]())return!0x0;const _0x1618e7=[...this[_0xdadd73(0x122)]];for(const _0x1df65d of _0x1618e7)_0x1df65d[_0xdadd73(0x147)]=this[_0xdadd73(0x176)][_0xdadd73(0x146)][_0xdadd73(0x163)](_0x1df65d);const _0x53fa40=this[_0xdadd73(0x119)][_0xdadd73(0xf8)](_0x1618e7),_0x25a7cb=z++,_0x250c83=this[_0xdadd73(0x172)](_0x1618e7),_0x3c0764=await this[_0xdadd73(0x198)][_0xdadd73(0x16f)](_0x250c83,_0x250c83[_0xdadd73(0xeb)],_0x53fa40);try{return await this[_0xdadd73(0x160)](_0x1618e7,_0x3c0764,_0x25a7cb);}catch(_0x3ebd2b){return this[_0xdadd73(0xc4)](_0xdadd73(0x103),_0x3ebd2b);}}async[_0x40afd6(0x160)](_0x2da63d,_0x3b5a94,_0x2e1aaf){const _0x1890e3=_0x40afd6;if(_0x1890e3(0x149)in _0x3b5a94)throw _0x3b5a94[_0x1890e3(0x149)];let _0x1a46f2=!0x1;if(_0x3b5a94[_0x1890e3(0x131)]){_0x3b5a94[_0x1890e3(0x154)]&&(this[_0x1890e3(0xda)]=_0x3b5a94[_0x1890e3(0x154)]),this[_0x1890e3(0x122)]=this[_0x1890e3(0x122)][_0x1890e3(0xb4)](_0x5a2ee1=>!_0x2da63d[_0x1890e3(0x170)](_0x5a2ee1));for(const _0x13e441 of _0x2da63d)_0x13e441[_0x1890e3(0xa9)]=_0x1890e3(0x168)in _0x3b5a94&&_0x3b5a94[_0x1890e3(0x168)]||void 0x0;V(_0x2da63d,_0x3b5a94[_0x1890e3(0x16a)]-_0x2da63d[_0x1890e3(0x114)]),this[_0x1890e3(0x157)](_0x2da63d);const _0x51942e=_0x2da63d[_0x1890e3(0xb4)](_0x30d655=>{const _0x388420=_0x1890e3;if(!_0x30d655[_0x388420(0x165)])return!0x1;const _0x4c9de9=this[_0x388420(0x11f)](_0x30d655);return _0x4c9de9&&!this[_0x388420(0xdd)][_0x388420(0x181)](_0x4c9de9);});V(_0x51942e,this[_0x1890e3(0x176)][_0x1890e3(0x16a)]),this[_0x1890e3(0xf4)](_0x51942e),_0x1a46f2=!0x0,this[_0x1890e3(0x17a)]=this[_0x1890e3(0x185)];}else{const _0x57456f=this[_0x1890e3(0x16c)](_0x3b5a94[_0x1890e3(0x116)],_0x3b5a94[_0x1890e3(0xef)])[_0x1890e3(0xb4)](_0x3911fb=>_0x3911fb[_0x1890e3(0xeb)]>=this[_0x1890e3(0x190)]);_0x57456f[_0x1890e3(0x111)](_0x213dd0=>this[_0x1890e3(0x18e)](_0x213dd0)),this[_0x1890e3(0x122)]=this[_0x1890e3(0x122)][_0x1890e3(0xb4)](_0x4c2e87=>!_0x4c2e87[_0x1890e3(0x165)]||!this[_0x1890e3(0xdd)][_0x1890e3(0x181)](this[_0x1890e3(0x11f)](_0x4c2e87))),this[_0x1890e3(0x122)][_0x1890e3(0x114)]&&V(this[_0x1890e3(0x122)],this[_0x1890e3(0x122)][0x0][_0x1890e3(0xeb)]),await this[_0x1890e3(0xe2)](_0x57456f),_0x1a46f2=this[_0x1890e3(0x17e)](_0x57456f,_0x3b5a94[_0x1890e3(0x16a)],_0x3b5a94[_0x1890e3(0x154)]),this[_0x1890e3(0x17a)]=Math[_0x1890e3(0xc0)](this[_0x1890e3(0x17a)]/0x2);}return _0x1a46f2?!this[_0x1890e3(0xe4)]()||(this[_0x1890e3(0xba)](!0x0),!0x1):this[_0x1890e3(0xc4)](_0x1890e3(0x109));}[_0x40afd6(0x17e)](_0x15498e,_0xd24bc3,_0xf08633){const _0x3646e2=_0x40afd6;try{const _0x23f64c={'document':this[_0x3646e2(0x176)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x32f0ae,operationsB:_0x285377,originalOperations:_0x24fe18}=_0x23d2f0(_0x15498e,this[_0x3646e2(0x122)],_0x23f64c);V(_0x32f0ae,this[_0x3646e2(0x176)][_0x3646e2(0x16a)]),V(_0x285377,_0xd24bc3);for(const _0x6e8f06 of _0x32f0ae){const _0x2be6ee=_0x24fe18[_0x3646e2(0xaa)](_0x6e8f06);_0x6e8f06[_0x3646e2(0xe0)]=_0x2be6ee?_0x2be6ee[_0x3646e2(0xe0)]:null;}_0xf08633&&(this[_0x3646e2(0x119)][_0x3646e2(0x19c)](_0x15498e,_0xf08633),this[_0x3646e2(0xda)]=_0xf08633),this[_0x3646e2(0x122)]=[..._0x285377],this[_0x3646e2(0xf4)](_0x32f0ae),this[_0x3646e2(0x157)](_0x15498e);}catch(_0xa8dba0){return console[_0x3646e2(0x149)](_0xa8dba0),!0x1;}return!0x0;}[_0x40afd6(0xf4)](_0x30aee7,_0x58579f=!0x1){const _0x40f5f9=_0x40afd6;this[_0x40f5f9(0x145)][_0x40f5f9(0xc7)][_0x40f5f9(0x9a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5be50e=>{const _0x226f49=_0x40f5f9;for(const _0x340ca4 of _0x30aee7)this[_0x226f49(0xdb)][_0x226f49(0x11c)](_0x340ca4),this[_0x226f49(0x18e)](_0x340ca4),_0x5be50e[_0x226f49(0xa7)][_0x226f49(0x179)](_0x340ca4),this[_0x226f49(0x145)][_0x226f49(0xc7)][_0x226f49(0x153)](_0x340ca4);});}[_0x40afd6(0x18e)](_0x261417){const _0x1d02d3=_0x40afd6,_0x1cb6f5=this[_0x1d02d3(0x11f)](_0x261417);_0x1cb6f5&&this[_0x1d02d3(0xdd)][_0x1d02d3(0x11c)](_0x1cb6f5);}[_0x40afd6(0x11f)](_0x327c29){const _0x5da2f3=_0x40afd6;let _0x40a1a6,_0x49134a;switch(_0x327c29[_0x5da2f3(0x9f)]){case _0x5da2f3(0x107):_0x40a1a6=_0x327c29[_0x5da2f3(0xb8)][_0x5da2f3(0x134)];break;case _0x5da2f3(0xcd):if(_0x49134a=_0x327c29[_0x5da2f3(0xd8)],!_0x49134a)return null;_0x40a1a6=_0x49134a[_0x5da2f3(0x134)];break;case _0x5da2f3(0x184):_0x40a1a6=_0x327c29[_0x5da2f3(0x134)];break;case _0x5da2f3(0x158):_0x40a1a6=_0x327c29[_0x5da2f3(0xc1)];break;case _0x5da2f3(0xb9):_0x40a1a6=_0x327c29[_0x5da2f3(0x102)][_0x5da2f3(0x134)];break;default:return null;}return _0x40a1a6[_0x5da2f3(0x15b)];}[_0x40afd6(0x157)](_0x5b1289){const _0x1eeec6=_0x40afd6;_0x5b1289[_0x1eeec6(0x111)](_0x2aa7a1=>{const _0x56b8f=_0x1eeec6,_0xe91413=_0x2aa7a1[_0x56b8f(0x11b)]();_0xe91413[_0x56b8f(0xe0)]=_0x2aa7a1[_0x56b8f(0xe0)],_0xe91413[_0x56b8f(0x165)]=!!_0x2aa7a1[_0x56b8f(0x165)],_0xe91413[_0x56b8f(0xa9)]=_0x2aa7a1[_0x56b8f(0xa9)],_0xe91413[_0x56b8f(0xeb)]+=this[_0x56b8f(0x196)],_0x2aa7a1[_0x56b8f(0xbe)]&&this[_0x56b8f(0x187)][_0x56b8f(0x11c)](_0xe91413),this[_0x56b8f(0xa8)][_0x56b8f(0x179)](_0xe91413);});}[_0x40afd6(0xd9)](_0x28b28f){const _0x2a765a=_0x40afd6,_0x5ee174=this[_0x2a765a(0x145)][_0x2a765a(0x117)][_0x2a765a(0xaa)](_0x2a765a(0xbc)),_0x575b3a=this[_0x2a765a(0x145)][_0x2a765a(0x199)];_0x28b28f||(_0x28b28f=_0x156544(_0x575b3a,_0x2a765a(0x178))),_0x5ee174[_0x2a765a(0xa5)](_0x28b28f,{'title':_0x156544(_0x575b3a,_0x2a765a(0x13e)),'namespace':_0x2a765a(0x15c)}),this[_0x2a765a(0x108)]=!0x0,clearTimeout(this[_0x2a765a(0x101)]),this[_0x2a765a(0x122)]=[],this[_0x2a765a(0x145)][_0x2a765a(0x117)][_0x2a765a(0xaa)](_0x331a8f)[_0x2a765a(0xf2)]();}[_0x40afd6(0xc3)](){const _0x3abddd=_0x40afd6;this[_0x3abddd(0x13b)]||(this[_0x3abddd(0x13b)]=this[_0x3abddd(0x145)][_0x3abddd(0x117)][_0x3abddd(0xaa)](_0x3b1d7f)[_0x3abddd(0x11c)](_0x156544(this[_0x3abddd(0x145)][_0x3abddd(0x199)],_0x3abddd(0x138))));}[_0x40afd6(0xe6)](){const _0x3892c2=_0x40afd6;this[_0x3892c2(0x13b)]&&(this[_0x3892c2(0x145)][_0x3892c2(0x117)][_0x3892c2(0xaa)](_0x3b1d7f)[_0x3892c2(0x191)](this[_0x3892c2(0x13b)]),this[_0x3892c2(0x13b)]=null);}[_0x40afd6(0x172)](_0x1817a4){const _0x43479b=_0x40afd6,_0x17c343=_0x1817a4[_0x43479b(0xbd)](_0x2daefd=>_0x2daefd[_0x43479b(0x16b)]());return this[_0x43479b(0x156)][_0x43479b(0x197)](_0x17c343);}[_0x40afd6(0x16c)](_0x3caf8c,_0x49590c){const _0x520983=_0x40afd6;return this[_0x520983(0x156)][_0x520983(0x174)](_0x3caf8c)[_0x520983(0xbd)]((_0x114a0a,_0x4a2929)=>{const _0x403359=_0x520983,_0x7d84e9=_0x403359(0x18b)==_0x49590c[_0x4a2929][_0x403359(0x9f)];if(_0x403359(0xc8)==_0x114a0a[_0x403359(0x98)]){const _0x2ecdff=_0x114a0a[_0x403359(0xb8)][_0x403359(0x134)];!this[_0x403359(0x176)][_0x403359(0x177)](_0x2ecdff)&&(this[_0x403359(0x176)][_0x403359(0x11a)](_0x403359(0xe8),_0x2ecdff)[_0x403359(0xfe)]=!0x1);}const _0x3ebb43=_0x2f7a13[_0x403359(0xd3)](_0x114a0a,this[_0x403359(0x176)]);return _0x3ebb43[_0x403359(0x147)]=_0x114a0a[_0x403359(0x147)],_0x3ebb43[_0x403359(0x165)]=_0x7d84e9,_0x3ebb43[_0x403359(0xe0)]=_0x7d84e9?null:_0x49590c[_0x4a2929][_0x403359(0xf1)],_0x3ebb43[_0x403359(0xbe)]=_0x403359(0x14b)===_0x49590c[_0x4a2929][_0x403359(0x9f)],_0x3ebb43[_0x403359(0xa9)]=_0x49590c[_0x4a2929][_0x403359(0xa9)],_0x3ebb43;});}[_0x40afd6(0xce)](){const _0x37df39=_0x40afd6;this[_0x37df39(0x17d)]=!0x0,this[_0x37df39(0x18d)]()?this[_0x37df39(0xba)]():this[_0x37df39(0x17d)]=!0x1;}[_0x40afd6(0x18d)](){const _0x23d13d=_0x40afd6,_0x418c8e=this[_0x23d13d(0x145)][_0x23d13d(0x117)][_0x23d13d(0xaa)](_0x4b8b4e)[_0x23d13d(0xe5)][_0x23d13d(0xaa)](this[_0x23d13d(0xc5)]);return!this[_0x23d13d(0x145)][_0x23d13d(0x13c)]&&!!_0x418c8e&&_0x418c8e[_0x23d13d(0x114)]>0x1&&this[_0x23d13d(0x17d)];}[_0x40afd6(0xe4)](){const _0x1de02d=_0x40afd6;return this[_0x1de02d(0x122)][_0x1de02d(0x114)]>0x0||this[_0x1de02d(0x18d)]();}}class H extends Error{}function V(_0x5616c5,_0x5cbfcf){const _0x3b2bf8=_0x40afd6;for(const _0x4d56b6 of _0x5616c5)_0x4d56b6[_0x3b2bf8(0xeb)]=_0x5cbfcf++;}class W{[_0x40afd6(0x17b)];[_0x40afd6(0xc9)];constructor(_0x340f9e){const _0x2e3961=_0x40afd6;this[_0x2e3961(0x17b)]=_0x340f9e,this[_0x2e3961(0xc9)]=new WeakMap();}[_0x40afd6(0xf8)](_0x35a77a){const _0x56d3c2=_0x40afd6;let _0x54c93e=_0x35a77a[_0x56d3c2(0x114)];for(;_0x54c93e--;){const _0x8c9a7c=_0x35a77a[_0x54c93e];if(!this[_0x56d3c2(0x17b)][_0x56d3c2(0x181)](_0x8c9a7c)){if(!this[_0x56d3c2(0xc9)][_0x56d3c2(0x181)](_0x8c9a7c)){const _0x136f39=_0x585e67()[_0x56d3c2(0xdf)](0x1,0x12);this[_0x56d3c2(0xc9)][_0x56d3c2(0x16e)](_0x8c9a7c,_0x136f39);}return this[_0x56d3c2(0xc9)][_0x56d3c2(0xaa)](_0x8c9a7c);}}}[_0x40afd6(0x19c)](_0x4b77d7,_0x20e2ca){const _0x271304=_0x40afd6;if(!_0x20e2ca)return;let _0x29421e=_0x4b77d7[_0x271304(0x114)];for(;_0x29421e--;){const _0x4b8e6e=_0x4b77d7[_0x29421e];this[_0x271304(0x17b)][_0x271304(0x181)](_0x4b8e6e)||this[_0x271304(0xc9)][_0x271304(0x16e)](_0x4b8e6e,_0x20e2ca);}}}
|
|
23
|
+
const _0x10e274=_0x3956;(function(_0x52fb2b,_0xe0672b){const _0x208a3c=_0x3956,_0x46dd00=_0x52fb2b();while(!![]){try{const _0x37e50d=parseInt(_0x208a3c(0x250))/0x1+-parseInt(_0x208a3c(0x25e))/0x2+-parseInt(_0x208a3c(0x297))/0x3+parseInt(_0x208a3c(0x224))/0x4*(-parseInt(_0x208a3c(0x279))/0x5)+parseInt(_0x208a3c(0x2b5))/0x6*(parseInt(_0x208a3c(0x234))/0x7)+-parseInt(_0x208a3c(0x261))/0x8*(parseInt(_0x208a3c(0x1db))/0x9)+-parseInt(_0x208a3c(0x2c2))/0xa*(-parseInt(_0x208a3c(0x229))/0xb);if(_0x37e50d===_0xe0672b)break;else _0x46dd00['push'](_0x46dd00['shift']());}catch(_0x37c1d8){_0x46dd00['push'](_0x46dd00['shift']());}}}(_0x4842,0x9e99a));import{Plugin as _0x3b493c,PendingActions as _0x3edcf9}from'ckeditor5/src/core.js';import{CKEditorError as _0x266f7f,version as _0x29c638,uid as _0x52d808}from'ckeditor5/src/utils.js';import{Notification as _0x316140}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x480c79,NoOperation as _0x3b48c8,InsertOperation as _0x537c52,MarkerOperation as _0x358fee,RootAttributeOperation as _0x44283e,OperationFactory as _0x30a2bd,History as _0x2953a8}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2f0865}from'./websocketgateway.js';import{Sessions as _0x2a0cfe}from'./sessions.js';import{UserMarkers as _0x912664}from'./usermarkers.js';function _0x3956(_0x27ab90,_0x1a3704){const _0x48425d=_0x4842();return _0x3956=function(_0x395690,_0x3384ca){_0x395690=_0x395690-0x1c0;let _0x5220c2=_0x48425d[_0x395690];return _0x5220c2;},_0x3956(_0x27ab90,_0x1a3704);}import{getTranslation as _0x10b1ab}from'../common-translations.js';import{Compressor as _0x19c2de}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1f758b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2e67af,CollaborativeEditingService as _0x1fcc6a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;function _0x4842(){const _0xe21026=['Notification','_baseBufferDelay','lastOperationId','createdAt','connect','fire','insert','real-time-collaboration','decompress','model','_handleExternalOperations','getOperations','document','applyOperation','RealTimeCollaborationClient','_saveOperationInBuffer','wasUndone','loadRoot','affectsData','isUndoneOperation','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_fetchMissingUsers','CommentsOnly','connected','reconnect','1019367OEjOlJ','createUserMarkerOperations','_isLoaded','sessionId','return','end','message','markers','_clearPendingAction','disconnected','_lastSyncedOperationId','_initThrowingOnDataSet','unregister','_waitUntilSynced','createPositionAt','init','_isInit','_bufferRootLoad','isOfficialPlugin','_handleReceivedOperations','getRoot','has','from','_setPendingAction','sessionCreatedAt','connection','realtimecollaborationclient-init-session-connection-error','showWarning','404','_refreshUserSelectionMarkers','realtimecollaborationclient-init-document-already-initialized','catch','Synchronization\x20issue','parse','differ','requires','CollaborativeEditingService','directChange','_lastServerVersion','_compressor','realtimecollaborationclient-error','getUser','attributes','_disconnectionOperations','history','toJSON','createPositionFromPath','addRootAttribute','rtc-offline','apply','rootName','high','enableReadOnlyMode','stop','editor','disconnect','_knownOperations','operationsReceived','lastOperationAcceptedAt','cloud-services-internal-error:\x20Request\x20timeout.','getDocumentDetails','_shouldSendUpdate','_service','cs:removeUser','_sendBufferedOperationsDelayId','realtimecollaborationclient-handleserverresponse','__className','_ignoredOperations','_initSessionsHandling','mySessionId','_loadRoot','getConnectedSessions','_pendingAction','16Chjnbw','getOperationAuthor','_sendBufferedOperationsDelayed','set','cloudDocumentVersion','583pzJYHq','register','string','round','locale','_sendBufferedOperations','_handleReconnectionError','change:_isEditingAllowed','lastSyncVersion','code','409','826iNKeIs','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.','addRoot','newRange','_handleInitialConnectionData','reset','_setUpDataInit','removeFromReconnectionStack','initData','type','collaboration.channelId','includes','change:range','createRoot','_knownRootNames','_handleServerResponse','_currentBufferDelay','_isConnected','enqueueChange','_handleReconnectionResponse','then','document:write','pluginName','editing','remove','destroy','forEach','rootsAttributes','266334bGgWFX','fromJSON','affectedSelectable','_connectService','permissions','error','sessionAdd:','compress','push','add','selection','listenTo','_getAffectedRoot','data','1322618tnpJbz','getMany','_compressOperations','8lgJrEq','_addKnownRoot','addToReconnectionStack','move','suppressErrorInCollaboration','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','serverHistory','version','_channelId','slice','size','channelSessions','marker','createRange','wereChangesApplied','_applyOperationsSet','realtimecollaborationclient-sendbufferedoperations','_offset','_isPendingUpdate','InsertOperation','change:hasDomSelection','view','addUser','keys','525260JOHlNJ','_isAttached','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isDocumentOperation','targetPosition','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-init-non-existent-root','sendOperations','_isDisconnection','_getOperationsFromInitData','offset','collaboration-missing-channelid','_decompressOperations','currentDocumentSession','reconnection:\x20flushed\x20session','state','$root','Permissions','_updateServerHistory','position','length','config','baseVersion','batch','_operationIdentifier','cloud-services-internal-error:\x20Not\x20connected.','isReadOnly','_disconnectService','setIdForTheLastOperation','change:_isPendingUpdate','3357912FgdVpw','finally','realtimecollaborationclient-init-service-internal-error','userId','path','plugins','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.','isEnabled','_document','_crash','PENDING_ACTION_SENDING_DATA','startsWith','multi-root-editor-root-attributes-no-root','root','cloudServices.bundleVersion','roots','addOperation','clone','isPremiumPlugin','start','filter','_isEditingAllowed','disableReadOnlyMode','_hasSelectionChanged','ready','_bufferedOperations','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','bind','lastDocumentSession','1428dLUwXh','collaboration','entries','map','setPermissions','rtc-destroyed','_hasSynchronizationProblem','get','getIdOfTheLastOperation','metadata','_operationToId','realtimecollaborationclient-init-connection-failed','_authorId','503640urrKeD','stopListening','realtimecollaborationclient','off','define','realtimecollaborationclient-init-service-incorrect-server-operation','_shouldSendSelectionUpdate'];_0x4842=function(){return _0xe21026;};return _0x4842();}export class RealTimeCollaborationClient extends _0x3b493c{static [_0x10e274(0x1ff)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1fcc6a)());[_0x10e274(0x272)];[_0x10e274(0x1de)];[_0x10e274(0x267)];[_0x10e274(0x269)];[_0x10e274(0x219)];[_0x10e274(0x29f)];[_0x10e274(0x202)];[_0x10e274(0x2b0)];[_0x10e274(0x213)];[_0x10e274(0x242)];[_0x10e274(0x223)];[_0x10e274(0x2ae)];[_0x10e274(0x21b)];[_0x10e274(0x1c3)];[_0x10e274(0x244)];[_0x10e274(0x1e5)];[_0x10e274(0x206)];[_0x10e274(0x291)];static get[_0x10e274(0x1fe)](){return[_0x2f0865,_0x2a0cfe,_0x912664,_0x3edcf9,_0x1f758b,_0x316140];}static get[_0x10e274(0x24a)](){const _0x5ddd3b=_0x10e274;return _0x5ddd3b(0x1d0);}static get[_0x10e274(0x1ed)](){return!0x0;}static get[_0x10e274(0x2a9)](){return!0x0;}get[_0x10e274(0x228)](){const _0x4513cb=_0x10e274;return this[_0x4513cb(0x201)]+this[_0x4513cb(0x272)];}get[_0x10e274(0x201)](){const _0x31ea65=_0x10e274;return this[_0x31ea65(0x267)][_0x31ea65(0x268)]-this[_0x31ea65(0x272)];}get[_0x10e274(0x231)](){const _0xabe1b2=_0x10e274,_0x189f77=this[_0xabe1b2(0x267)][_0xabe1b2(0x1cd)]();for(let _0x38141f=_0x189f77[_0xabe1b2(0x28d)]-0x1;_0x38141f>=0x0;_0x38141f--){const _0x5ea197=_0x189f77[_0x38141f];if(!this[_0xabe1b2(0x206)][_0xabe1b2(0x1f0)](_0x5ea197))return _0x5ea197[_0xabe1b2(0x28f)]+0x1-this[_0xabe1b2(0x272)];}return 0x0;}constructor(_0x1a27fe){const _0x297546=_0x10e274;if(super(_0x1a27fe),this[_0x297546(0x272)]=0x0,this[_0x297546(0x1de)]=null,this[_0x297546(0x267)]=new _0x2953a8(),this[_0x297546(0x211)][_0x297546(0x28e)][_0x297546(0x2c6)](_0x297546(0x2b6),{}),this[_0x297546(0x269)]=this[_0x297546(0x211)][_0x297546(0x28e)][_0x297546(0x2bc)](_0x297546(0x23e)),!this[_0x297546(0x269)])throw new _0x266f7f(_0x297546(0x284),this);const _0xfa485f=_0x1a27fe[_0x297546(0x28e)][_0x297546(0x2bc)](_0x297546(0x2a5))||_0x29c638;this[_0x297546(0x219)]=new RealTimeCollaborationClient[(_0x297546(0x1ff))](_0xfa485f,this[_0x297546(0x269)]),this[_0x297546(0x29f)]=this[_0x297546(0x211)][_0x297546(0x1cb)][_0x297546(0x1ce)],this[_0x297546(0x202)]=new _0x19c2de(),this[_0x297546(0x2b0)]=[],this[_0x297546(0x213)]=new WeakSet(),this[_0x297546(0x242)]=new Set(),this[_0x297546(0x227)](_0x297546(0x273),!0x1),this[_0x297546(0x227)](_0x297546(0x2bb),!0x1),this[_0x297546(0x223)]=null,this[_0x297546(0x2ae)]=!0x1,this[_0x297546(0x21b)]=null,this[_0x297546(0x1c3)]=0x12c,this[_0x297546(0x244)]=this[_0x297546(0x1c3)],this[_0x297546(0x1e5)]=null,this[_0x297546(0x206)]=new WeakSet(),this[_0x297546(0x291)]=new F(this[_0x297546(0x206)]);}[_0x10e274(0x1ea)](){const _0x5b83a5=_0x10e274,_0x1442bc=this[_0x5b83a5(0x211)],_0x5d2dbc=_0x1442bc[_0x5b83a5(0x29c)][_0x5b83a5(0x2bc)](_0x1f758b),_0x2309ca=_0x1442bc[_0x5b83a5(0x29c)][_0x5b83a5(0x2bc)](_0x2f0865);this[_0x5b83a5(0x25b)](_0x5d2dbc,_0x5b83a5(0x225),(_0x449a6f,_0x29e3d0)=>{const _0x54840b=_0x5b83a5,_0x39aa18=_0x29e3d0[0x0];_0x39aa18[_0x54840b(0x2c1)]&&(_0x449a6f[_0x54840b(0x1df)]=_0x5d2dbc[_0x54840b(0x204)](_0x39aa18[_0x54840b(0x2c1)]),_0x449a6f[_0x54840b(0x210)]()),null===_0x39aa18[_0x54840b(0x2c1)]&&(_0x449a6f[_0x54840b(0x1df)]=null,_0x449a6f[_0x54840b(0x210)]());},{'priority':_0x5b83a5(0x20e)}),this[_0x5b83a5(0x25b)](_0x1442bc[_0x5b83a5(0x1cb)][_0x5b83a5(0x1ce)][_0x5b83a5(0x25a)],_0x5b83a5(0x240),(_0x1a6694,_0x2667a8)=>{const _0x59cc2f=_0x5b83a5;_0x2667a8[_0x59cc2f(0x200)]&&this[_0x59cc2f(0x1f8)]();}),this[_0x5b83a5(0x25b)](_0x1442bc[_0x5b83a5(0x24b)][_0x5b83a5(0x276)],_0x5b83a5(0x275),()=>{const _0x259eed=_0x5b83a5;this[_0x259eed(0x1f8)]();}),this[_0x5b83a5(0x1e6)](),_0x1442bc[_0x5b83a5(0x1cb)]['on'](_0x5b83a5(0x1cf),(_0x4d3e42,_0x1d61d9)=>{const _0x2774e9=_0x5b83a5,_0x14f90d=_0x1d61d9[0x0];_0x14f90d[_0x2774e9(0x27c)]&&(this[_0x2774e9(0x1d1)](_0x14f90d),this[_0x2774e9(0x218)]()&&this[_0x2774e9(0x226)]());}),this[_0x5b83a5(0x23a)](),this[_0x5b83a5(0x2b3)](_0x5b83a5(0x2ac))['to'](_0x2309ca,_0x5b83a5(0x288),this,_0x5b83a5(0x2bb),(_0xefebab,_0x4ccdd1)=>_0x5b83a5(0x1d9)===_0xefebab&&!_0x4ccdd1),this['on'](_0x5b83a5(0x230),()=>{const _0x208bbd=_0x5b83a5;this[_0x208bbd(0x2ac)]?_0x1442bc[_0x208bbd(0x2ad)](_0x208bbd(0x20b)):_0x1442bc[_0x208bbd(0x20f)](_0x208bbd(0x20b));}),this[_0x5b83a5(0x2ac)]?_0x1442bc[_0x5b83a5(0x2ad)](_0x5b83a5(0x20b)):_0x1442bc[_0x5b83a5(0x20f)](_0x5b83a5(0x20b)),this[_0x5b83a5(0x227)](_0x5b83a5(0x245),!0x1);}async[_0x10e274(0x1da)](){const _0x2c4397=_0x10e274,_0x823334=this[_0x2c4397(0x211)][_0x2c4397(0x29c)][_0x2c4397(0x2bc)](_0x2a0cfe),_0x5c8ab8=this[_0x2c4397(0x211)][_0x2c4397(0x29c)][_0x2c4397(0x2bc)](_0x2f0865);try{this[_0x2c4397(0x273)]=!0x0,_0x823334[_0x2c4397(0x1e7)](this[_0x2c4397(0x269)]);const _0x56c776=await this[_0x2c4397(0x219)][_0x2c4397(0x1da)](_0x5c8ab8[_0x2c4397(0x1f4)],this[_0x2c4397(0x231)]);await this[_0x2c4397(0x247)](_0x56c776)&&(this[_0x2c4397(0x273)]=!0x1,this[_0x2c4397(0x1e3)]());const _0x3c5a80=await this[_0x2c4397(0x219)][_0x2c4397(0x222)]();_0x823334[_0x2c4397(0x22a)](this[_0x2c4397(0x269)],_0x3c5a80),this[_0x2c4397(0x2b1)](),this[_0x2c4397(0x245)]=!0x0;}catch(_0x471899){if(function(_0x51d552){const _0x3fbe79=_0x2c4397;return _0x3fbe79(0x1f7)===_0x51d552[_0x3fbe79(0x232)];}(_0x471899)&&this[_0x2c4397(0x1de)])await this[_0x2c4397(0x27e)]();else{if(function(_0x539476){const _0x32bd30=_0x2c4397;return _0x32bd30(0x233)===_0x539476[_0x32bd30(0x232)];}(_0x471899)){const _0x4d84b0=_0x10b1ab(this[_0x2c4397(0x211)][_0x2c4397(0x22d)],_0x2c4397(0x1d6));this[_0x2c4397(0x22f)](_0x4d84b0);}else{if(!(_0x471899 instanceof V))throw _0x471899;this[_0x2c4397(0x22f)]();}}}}[_0x10e274(0x24d)](){const _0x4efc84=_0x10e274,_0x5872f7=this[_0x4efc84(0x211)][_0x4efc84(0x29c)][_0x4efc84(0x2bc)](_0x2f0865),_0x2e781d=this[_0x4efc84(0x211)][_0x4efc84(0x29c)][_0x4efc84(0x2bc)](_0x2a0cfe);this[_0x4efc84(0x211)][_0x4efc84(0x20f)](_0x4efc84(0x2ba)),_0x2e781d[_0x4efc84(0x26c)][_0x4efc84(0x1f0)](this[_0x4efc84(0x269)])&&_0x2e781d[_0x4efc84(0x1e7)](this[_0x4efc84(0x269)]),_0x5872f7[_0x4efc84(0x23b)](this),this[_0x4efc84(0x294)](),super[_0x4efc84(0x24d)]();}async[_0x10e274(0x247)](_0x50f3a5){const _0x5c83d2=_0x10e274;if(this[_0x5c83d2(0x1de)]!==_0x50f3a5[_0x5c83d2(0x1de)]&&this[_0x5c83d2(0x1e5)]!==_0x50f3a5[_0x5c83d2(0x1c4)])throw new V();return this[_0x5c83d2(0x1de)]=_0x50f3a5[_0x5c83d2(0x1de)],this[_0x5c83d2(0x243)]([],{..._0x50f3a5,'wereChangesApplied':!0x1,'data':_0x50f3a5[_0x5c83d2(0x25d)]},_0x5c83d2(0x1da));}async[_0x10e274(0x253)](_0xd1c3d,_0x432018=!0x1){const _0xd1c13d=_0x10e274,{connection:_0x5b12a9}=this[_0xd1c13d(0x211)][_0xd1c13d(0x29c)][_0xd1c13d(0x2bc)](_0x2f0865);RealTimeCollaborationClient[_0xd1c13d(0x1ff)][_0xd1c13d(0x222)](_0x5b12a9,this[_0xd1c13d(0x269)])[_0xd1c13d(0x248)](_0x4281c9=>this[_0xd1c13d(0x21f)](_0x4281c9))[_0xd1c13d(0x1fa)](_0x4c992c=>{const _0x4c1e85=_0xd1c13d;this[_0x4c1e85(0x2a0)](_0x4c1e85(0x1f5),_0x4c992c);}),this[_0xd1c13d(0x25b)](this[_0xd1c13d(0x219)],_0xd1c13d(0x214),this[_0xd1c13d(0x1ee)][_0xd1c13d(0x2b3)](this)),this[_0xd1c13d(0x25b)](this[_0xd1c13d(0x219)],_0xd1c13d(0x255),(_0x4eea34,_0x96cec8)=>{const _0xb0ac96=_0xd1c13d;this[_0xb0ac96(0x2a0)](_0xb0ac96(0x299),_0x96cec8);}),this[_0xd1c13d(0x25b)](this[_0xd1c13d(0x219)],_0xd1c13d(0x1e4),()=>{const _0x222caf=_0xd1c13d;this[_0x222caf(0x245)]=!0x1;});const _0x4ba975=this[_0xd1c13d(0x291)][_0xd1c13d(0x2bd)](_0xd1c3d);this[_0xd1c13d(0x273)]=!0x0;const _0x11e9fa=await this[_0xd1c13d(0x219)][_0xd1c13d(0x1c6)](_0x5b12a9,this[_0xd1c13d(0x260)](_0xd1c3d),_0x4ba975);if(this[_0xd1c13d(0x1de)]=_0x11e9fa[_0xd1c13d(0x1de)],_0x432018){if(!_0x11e9fa[_0xd1c13d(0x26f)])return void this[_0xd1c13d(0x22f)]();this[_0xd1c13d(0x273)]=!0x1,this[_0xd1c13d(0x1e3)](),this[_0xd1c13d(0x267)][_0xd1c13d(0x239)](),this[_0xd1c13d(0x272)]=_0x11e9fa[_0xd1c13d(0x283)],this[_0xd1c13d(0x267)][_0xd1c13d(0x268)]=this[_0xd1c13d(0x272)],await this[_0xd1c13d(0x243)](_0xd1c3d,_0x11e9fa,_0xd1c13d(0x287));}else await this[_0xd1c13d(0x238)](_0x11e9fa,_0xd1c3d);this[_0xd1c13d(0x2b1)](),this[_0xd1c13d(0x245)]=!0x0;}[_0x10e274(0x2b1)](){const _0x24217a=_0x10e274,_0x350a39=this[_0x24217a(0x211)][_0x24217a(0x29c)][_0x24217a(0x2bc)](_0x2a0cfe),_0x571395=this[_0x24217a(0x211)][_0x24217a(0x29c)][_0x24217a(0x2bc)](_0x912664),_0x39eb7b=_0x350a39[_0x24217a(0x26c)][_0x24217a(0x2bc)](this[_0x24217a(0x269)]);_0x39eb7b&&_0x39eb7b[_0x24217a(0x28d)]>0x1?_0x571395[_0x24217a(0x1dc)]():this[_0x24217a(0x25b)](_0x350a39,_0x24217a(0x256)+this[_0x24217a(0x269)],()=>{const _0x500a62=_0x24217a;0x2===_0x350a39[_0x500a62(0x26c)][_0x500a62(0x2bc)](this[_0x500a62(0x269)])[_0x500a62(0x28d)]&&_0x571395[_0x500a62(0x1dc)]();});}async[_0x10e274(0x1ee)](_0x1190ed,_0xd7b870,_0x3b5f86,_0x583cb1){const _0x43fdbc=_0x10e274;if(!this[_0x43fdbc(0x273)]&&this[_0x43fdbc(0x29f)][_0x43fdbc(0x268)]==_0xd7b870){const _0x1c1a61=this[_0x43fdbc(0x285)](_0x3b5f86,_0x583cb1);await this[_0x43fdbc(0x1d7)](_0x1c1a61),this[_0x43fdbc(0x1cc)](_0x1c1a61,_0xd7b870,_0x3b5f86[_0x43fdbc(0x1c4)])||this[_0x43fdbc(0x2a0)](_0x43fdbc(0x1c0));}}async[_0x10e274(0x27e)](){const _0x572eaa=_0x10e274;this[_0x572eaa(0x294)]();const {locale:_0x450bcc}=this[_0x572eaa(0x211)];let _0x4d8ea5;try{_0x4d8ea5=await this[_0x572eaa(0x219)][_0x572eaa(0x217)]();}catch{const _0x392cb1=_0x10b1ab(_0x450bcc,_0x572eaa(0x27b));return void this[_0x572eaa(0x22f)](_0x392cb1);}const _0x463a63=_0x4d8ea5[_0x572eaa(0x286)]||_0x4d8ea5[_0x572eaa(0x2b4)];if(this[_0x572eaa(0x1e5)]!==_0x463a63[_0x572eaa(0x1c4)]){const _0x3c2206=_0x10b1ab(_0x450bcc,_0x572eaa(0x29d));return void this[_0x572eaa(0x22f)](_0x3c2206);}await this[_0x572eaa(0x253)](this[_0x572eaa(0x211)][_0x572eaa(0x1cb)][_0x572eaa(0x1ce)][_0x572eaa(0x207)][_0x572eaa(0x1cd)](),!0x0);}[_0x10e274(0x294)](){const _0xbef01c=_0x10e274;this[_0xbef01c(0x219)][_0xbef01c(0x212)](),this[_0xbef01c(0x2b0)]=[],clearTimeout(this[_0xbef01c(0x21b)]),this[_0xbef01c(0x2c3)](this[_0xbef01c(0x219)]);}[_0x10e274(0x21f)](_0x1c7ba4){const _0x41f1dd=_0x10e274,_0x4fa3a8=this[_0x41f1dd(0x211)][_0x41f1dd(0x29c)][_0x41f1dd(0x2bc)](_0x2a0cfe);this[_0x41f1dd(0x25b)](_0x4fa3a8,_0x41f1dd(0x256)+this[_0x41f1dd(0x269)],(_0x30a526,{session:_0x2facd1})=>{const _0x37e65f=_0x41f1dd;if(_0x2facd1['id']===_0x4fa3a8[_0x37e65f(0x220)]){_0x30a526[_0x37e65f(0x2c5)]();const _0x15ce5e=this[_0x37e65f(0x211)][_0x37e65f(0x29c)][_0x37e65f(0x1f0)](_0x37e65f(0x1d8))&&this[_0x37e65f(0x211)][_0x37e65f(0x29c)][_0x37e65f(0x2bc)](_0x37e65f(0x1d8));let _0x1f936b=_0x2facd1[_0x37e65f(0x254)];_0x15ce5e&&_0x15ce5e[_0x37e65f(0x29e)]&&(_0x1f936b=_0x1f936b[_0x37e65f(0x2ab)](_0x30d5b4=>_0x37e65f(0x249)!==_0x30d5b4)),this[_0x37e65f(0x211)][_0x37e65f(0x29c)][_0x37e65f(0x2bc)](_0x37e65f(0x28a))[_0x37e65f(0x2b9)](_0x1f936b,this[_0x37e65f(0x269)]);}}),_0x4fa3a8[_0x41f1dd(0x22a)](this[_0x41f1dd(0x269)],_0x1c7ba4);}[_0x10e274(0x1e6)](){const _0x298935=_0x10e274,_0x9581f=this[_0x298935(0x211)][_0x298935(0x25d)][_0x298935(0x227)];this[_0x298935(0x211)][_0x298935(0x25d)][_0x298935(0x227)]=(..._0x189ca8)=>{const _0x10aedc=_0x298935;if(!_0x189ca8[_0x189ca8[_0x10aedc(0x28d)]-0x1][_0x10aedc(0x265)])throw new _0x266f7f(_0x10aedc(0x266),this);_0x9581f[_0x10aedc(0x20c)](this[_0x10aedc(0x211)][_0x10aedc(0x25d)],_0x189ca8);};}[_0x10e274(0x23a)](){const _0x1ed691=_0x10e274;this[_0x1ed691(0x211)][_0x1ed691(0x25d)]['on'](_0x1ed691(0x1ea),(_0x3393cb,[_0x2209ac])=>{const _0x303de2=_0x1ed691;if(this[_0x303de2(0x29f)][_0x303de2(0x268)])throw new _0x266f7f(_0x303de2(0x1f9),this);_0x3393cb[_0x303de2(0x210)](),this[_0x303de2(0x1f2)]();const _0x1f32c1=this[_0x303de2(0x211)][_0x303de2(0x28e)][_0x303de2(0x2bc)](_0x303de2(0x24f)),_0x5c9c17=this[_0x303de2(0x282)](_0x2209ac,_0x1f32c1);0x0==_0x5c9c17[_0x303de2(0x28d)]&&_0x5c9c17[_0x303de2(0x258)](new _0x3b48c8(0x0)),_0x3393cb[_0x303de2(0x1df)]=this[_0x303de2(0x253)](_0x5c9c17)[_0x303de2(0x248)](()=>{const _0x598f9c=_0x303de2;this[_0x598f9c(0x211)][_0x598f9c(0x29c)][_0x598f9c(0x2bc)](_0x2f0865)[_0x598f9c(0x263)](this),this[_0x598f9c(0x211)][_0x598f9c(0x25d)][_0x598f9c(0x1c7)](_0x598f9c(0x2af));})[_0x303de2(0x1fa)](_0x104f3f=>this[_0x303de2(0x2a0)](_0x303de2(0x2c0),_0x104f3f))[_0x303de2(0x298)](()=>this[_0x303de2(0x1e3)]());},{'priority':_0x1ed691(0x20e)}),this[_0x1ed691(0x211)]['on'](_0x1ed691(0x1d3),async(_0x55cbc2,[_0x5e6457,_0x26b0f7])=>{const _0x31c695=_0x1ed691;_0x55cbc2[_0x31c695(0x210)]();const _0x436b3f=this[_0x31c695(0x211)][_0x31c695(0x1cb)][_0x31c695(0x1ce)][_0x31c695(0x1ef)](_0x5e6457);if(!this[_0x31c695(0x242)][_0x31c695(0x1f0)](_0x5e6457)){const _0x4aca5f=_0x26b0f7&&_0x26b0f7[_0x31c695(0x25d)]?_0x26b0f7[_0x31c695(0x25d)]:'',_0x46262a=_0x26b0f7&&_0x26b0f7[_0x31c695(0x205)]?_0x26b0f7[_0x31c695(0x205)]:{};await this[_0x31c695(0x221)](_0x5e6457,_0x4aca5f,_0x46262a);}this[_0x31c695(0x211)][_0x31c695(0x1cb)][_0x31c695(0x246)]({'isUndoable':!0x1},()=>{const _0x4c8b73=_0x31c695;_0x436b3f[_0x4c8b73(0x1dd)]=!0x0,this[_0x4c8b73(0x211)][_0x4c8b73(0x1cb)][_0x4c8b73(0x1ce)][_0x4c8b73(0x1fd)][_0x4c8b73(0x1ec)](_0x436b3f);});},{'priority':_0x1ed691(0x20e)});}async[_0x10e274(0x1d7)](_0x292085){const _0xd2b831=_0x10e274,_0x44bd91=this[_0xd2b831(0x211)][_0xd2b831(0x29c)][_0xd2b831(0x2bc)](_0x1f758b),{connection:_0x4eedad}=this[_0xd2b831(0x211)][_0xd2b831(0x29c)][_0xd2b831(0x2bc)](_0x2f0865),_0x529789=new Set();for(const _0x553364 of _0x292085){const _0x3a00d1=_0x553364[_0xd2b831(0x2c1)];_0x3a00d1&&!_0x44bd91[_0xd2b831(0x204)](_0x3a00d1)&&_0x529789[_0xd2b831(0x259)](_0x3a00d1);}if(0x0===_0x529789[_0xd2b831(0x26b)])return;const _0x4ea5c9=await _0x2e67af[_0xd2b831(0x25f)](_0x4eedad,Array[_0xd2b831(0x1f1)](_0x529789));for(const _0x44cbea of _0x4ea5c9)_0x44bd91[_0xd2b831(0x204)](_0x44cbea['id'])||_0x44bd91[_0xd2b831(0x277)](_0x44cbea);}[_0x10e274(0x282)](_0x2767c9,_0x124c32={}){const _0x4c2892=_0x10e274,_0x387a7a=this[_0x4c2892(0x211)][_0x4c2892(0x1cb)],_0x1086fc=[];let _0x366c33=0x0;const _0x3b917f=_0x4c2892(0x22b)==typeof _0x2767c9?{'main':_0x2767c9}:_0x2767c9;for(const _0x4568cf of Object[_0x4c2892(0x278)](_0x3b917f)){if(!this[_0x4c2892(0x29f)][_0x4c2892(0x2a6)][_0x4c2892(0x1f0)](_0x4568cf))throw new _0x266f7f(_0x4c2892(0x27f),this);const _0x203e82=this[_0x4c2892(0x211)][_0x4c2892(0x25d)][_0x4c2892(0x1fc)](_0x3b917f[_0x4568cf]),_0x111115=this[_0x4c2892(0x29f)][_0x4c2892(0x1ef)](_0x4568cf),_0x20e0bc=new _0x537c52(_0x387a7a[_0x4c2892(0x1e9)](_0x111115,0x0),_0x203e82,_0x366c33++);_0x1086fc[_0x4c2892(0x258)](_0x20e0bc);for(const [_0x53ccde,_0x52831b]of _0x203e82[_0x4c2892(0x1e2)]){const _0x4752ea=_0x387a7a[_0x4c2892(0x26e)](_0x387a7a[_0x4c2892(0x209)](_0x111115,_0x52831b[_0x4c2892(0x2aa)][_0x4c2892(0x29b)][_0x4c2892(0x26a)]()),_0x387a7a[_0x4c2892(0x209)](_0x111115,_0x52831b[_0x4c2892(0x1e0)][_0x4c2892(0x29b)][_0x4c2892(0x26a)]())),_0x14b0a3=new _0x358fee(_0x53ccde,null,_0x4752ea,_0x387a7a[_0x4c2892(0x1e2)],!0x0,_0x366c33++);_0x1086fc[_0x4c2892(0x258)](_0x14b0a3);}}if(_0x124c32)for(const [_0x41de70,_0x44f0d4]of Object[_0x4c2892(0x2b7)](_0x124c32)){const _0x3d5c38=_0x387a7a[_0x4c2892(0x1ce)][_0x4c2892(0x1ef)](_0x41de70);if(!_0x3d5c38)throw new _0x266f7f(_0x4c2892(0x2a3),null);for(const [_0x49f5d8,_0x4e1788]of Object[_0x4c2892(0x2b7)](_0x44f0d4))if(null!==_0x4e1788){const _0x592368=new _0x44283e(_0x3d5c38,_0x49f5d8,null,_0x4e1788,_0x366c33++);_0x1086fc[_0x4c2892(0x258)](_0x592368);}}return _0x1086fc;}async[_0x10e274(0x221)](_0x2e91e8,_0x2c761b,_0x41eb97){const _0x58f283=_0x10e274;this[_0x58f283(0x282)]({[_0x2e91e8]:_0x2c761b},{[_0x2e91e8]:_0x41eb97})[_0x58f283(0x24e)]((_0x3f92c0,_0x2dc941)=>{const _0x1f6056=_0x58f283;_0x3f92c0[_0x1f6056(0x28f)]=this[_0x1f6056(0x29f)][_0x1f6056(0x268)]+_0x2dc941,_0x3f92c0[_0x1f6056(0x1eb)]=!0x0,this[_0x1f6056(0x1d1)](_0x3f92c0);}),this[_0x58f283(0x226)](),await this[_0x58f283(0x1e8)]();}async[_0x10e274(0x238)](_0x13567f,_0x199a11){const _0x3753b5=_0x10e274;let _0x152423;this[_0x3753b5(0x272)]=_0x13567f[_0x3753b5(0x283)];const _0x2e0bbe=_0x13567f[_0x3753b5(0x26f)]&&!_0x13567f[_0x3753b5(0x23c)],_0x130f05=_0x2e0bbe?0x0:_0x13567f[_0x3753b5(0x25d)][_0x3753b5(0x28f)];if(_0x199a11[_0x3753b5(0x24e)](_0x8977dc=>{const _0x458bf5=_0x3753b5;_0x8977dc[_0x458bf5(0x1eb)]=!0x0,_0x8977dc[_0x458bf5(0x1c5)]=_0x13567f[_0x458bf5(0x1f3)],_0x8977dc[_0x458bf5(0x2c1)]=null;}),_0x2e0bbe)_0x152423=_0x199a11,this[_0x3753b5(0x270)](_0x152423,_0x2e0bbe);else{if(_0x13567f[_0x3753b5(0x23c)]){const _0x342234=this[_0x3753b5(0x282)](_0x13567f[_0x3753b5(0x23c)]);this[_0x3753b5(0x29f)][_0x3753b5(0x207)][_0x3753b5(0x268)]=-_0x342234[_0x3753b5(0x28d)],_0x342234[_0x3753b5(0x24e)](_0x5deec9=>{const _0x41b912=_0x3753b5;_0x5deec9[_0x41b912(0x28f)]-=_0x342234[_0x41b912(0x28d)],_0x5deec9[_0x41b912(0x1c5)]=_0x13567f[_0x41b912(0x1f3)],_0x5deec9[_0x41b912(0x1eb)]=!0x0,_0x5deec9[_0x41b912(0x2c1)]=null;}),this[_0x3753b5(0x270)](_0x342234,!0x0),this[_0x3753b5(0x267)][_0x3753b5(0x268)]=-_0x342234[_0x3753b5(0x28d)]+this[_0x3753b5(0x272)],this[_0x3753b5(0x28b)](_0x342234);}this[_0x3753b5(0x29f)][_0x3753b5(0x207)][_0x3753b5(0x268)]=_0x130f05,_0x152423=this[_0x3753b5(0x285)](_0x13567f[_0x3753b5(0x25d)],_0x13567f[_0x3753b5(0x2be)]),await this[_0x3753b5(0x1d7)](_0x152423),this[_0x3753b5(0x270)](_0x152423,_0x2e0bbe);}_0x13567f[_0x3753b5(0x1c4)]&&(this[_0x3753b5(0x291)][_0x3753b5(0x295)](_0x152423,_0x13567f[_0x3753b5(0x1c4)]),this[_0x3753b5(0x1e5)]=_0x13567f[_0x3753b5(0x1c4)]),this[_0x3753b5(0x267)][_0x3753b5(0x268)]=_0x130f05+this[_0x3753b5(0x272)],this[_0x3753b5(0x28b)](_0x152423),_0x199a11[_0x3753b5(0x2ab)](_0x16c7d6=>{const _0x503e41=_0x3753b5,_0x42edde=this[_0x503e41(0x25c)](_0x16c7d6);return _0x42edde&&!this[_0x503e41(0x242)][_0x503e41(0x1f0)](_0x42edde);})[_0x3753b5(0x24e)]((_0xc62a5f,_0x570dea)=>{const _0x19bbdf=_0x3753b5;_0xc62a5f[_0x19bbdf(0x28f)]=this[_0x19bbdf(0x29f)][_0x19bbdf(0x268)]+_0x570dea,this[_0x19bbdf(0x1d1)](_0xc62a5f);}),this[_0x3753b5(0x218)]()?(this[_0x3753b5(0x244)]=0x0,this[_0x3753b5(0x226)](!0x0),await this[_0x3753b5(0x1e8)]()):(this[_0x3753b5(0x273)]=!0x1,this[_0x3753b5(0x1e3)]());}[_0x10e274(0x2a0)](_0x4fa0f5,_0x202028){const _0x7c6727=_0x10e274,_0x1c9ca6=_0x202028&&_0x202028[_0x7c6727(0x1e1)];if(_0x1c9ca6&&_0x1c9ca6[_0x7c6727(0x2a2)](_0x7c6727(0x2c4)))throw _0x202028;const _0x1bf85c=this[_0x7c6727(0x211)][_0x7c6727(0x29c)][_0x7c6727(0x2bc)](_0x2f0865);throw this[_0x7c6727(0x273)]=!0x0,_0x1bf85c[_0x7c6727(0x212)](),this[_0x7c6727(0x211)][_0x7c6727(0x20f)](_0x7c6727(0x203)),new _0x266f7f(_0x4fa0f5,this[_0x7c6727(0x211)],_0x1c9ca6?{'originalError':_0x1c9ca6}:void 0x0);}[_0x10e274(0x1d1)](_0x84de39){const _0x2f31a0=_0x10e274;this[_0x2f31a0(0x213)][_0x2f31a0(0x1f0)](_0x84de39)||(this[_0x2f31a0(0x213)][_0x2f31a0(0x259)](_0x84de39),this[_0x2f31a0(0x2b0)][_0x2f31a0(0x258)](_0x84de39),this[_0x2f31a0(0x223)]||_0x2f31a0(0x26d)==_0x84de39[_0x2f31a0(0x23d)]&&!_0x84de39[_0x2f31a0(0x1d4)]||this[_0x2f31a0(0x1f2)]());}[_0x10e274(0x226)](_0x112f4b=!0x1){const _0x2f65ed=_0x10e274;!_0x112f4b&&this[_0x2f65ed(0x273)]||(this[_0x2f65ed(0x273)]=!0x0,clearTimeout(this[_0x2f65ed(0x21b)]),this[_0x2f65ed(0x21b)]=setTimeout(()=>{const _0x334a93=_0x2f65ed;this[_0x334a93(0x22e)]()[_0x334a93(0x248)](_0xbf6b96=>{const _0x5a8e57=_0x334a93;_0xbf6b96&&(this[_0x5a8e57(0x1e3)](),this[_0x5a8e57(0x273)]=!0x1);})[_0x334a93(0x1fa)](_0x5e167b=>{const _0x330cdc=_0x334a93;this[_0x330cdc(0x1e3)](),this[_0x330cdc(0x273)]=!0x1,function(_0x8c1e51){const _0x548030=_0x330cdc;return _0x8c1e51[_0x548030(0x1e1)][_0x548030(0x2a2)](_0x548030(0x292))||_0x8c1e51[_0x548030(0x1e1)][_0x548030(0x2a2)](_0x548030(0x2b2))||_0x8c1e51[_0x548030(0x1e1)][_0x548030(0x2a2)](_0x548030(0x216));}(_0x5e167b)||this[_0x330cdc(0x2a0)](_0x5e167b[_0x330cdc(0x1e1)],_0x5e167b);});},this[_0x2f65ed(0x244)]));}[_0x10e274(0x1e8)](){return new Promise(_0xd01680=>{const _0x21090b=_0x3956;this['on'](_0x21090b(0x296),()=>{_0xd01680();});});}async[_0x10e274(0x22e)](){const _0x417fd5=_0x10e274,_0x454f11=this[_0x417fd5(0x211)][_0x417fd5(0x29c)][_0x417fd5(0x2bc)](_0x912664);if(this[_0x417fd5(0x1c1)]()&&(_0x454f11[_0x417fd5(0x1dc)](),this[_0x417fd5(0x2ae)]=!0x1),!this[_0x417fd5(0x218)]())return!0x0;const _0x58bce5=[...this[_0x417fd5(0x2b0)]];for(const _0x5c8d5d of _0x58bce5)_0x5c8d5d[_0x417fd5(0x1d2)]=this[_0x417fd5(0x29f)][_0x417fd5(0x207)][_0x417fd5(0x1d5)](_0x5c8d5d);const _0x3bbdf8=this[_0x417fd5(0x291)][_0x417fd5(0x2bd)](_0x58bce5),_0x37cb73=H++,_0x1413dc=this[_0x417fd5(0x260)](_0x58bce5),_0x23c6f2=await this[_0x417fd5(0x219)][_0x417fd5(0x280)](_0x1413dc,_0x1413dc[_0x417fd5(0x28f)],_0x3bbdf8);try{return await this[_0x417fd5(0x243)](_0x58bce5,_0x23c6f2,_0x37cb73);}catch(_0x54a1b6){return this[_0x417fd5(0x2a0)](_0x417fd5(0x271),_0x54a1b6);}}async[_0x10e274(0x243)](_0x1226fe,_0x4fab78,_0x4b0b4a){const _0x2b556f=_0x10e274;if(_0x2b556f(0x255)in _0x4fab78)throw _0x4fab78[_0x2b556f(0x255)];let _0x4e1b51=!0x1;if(_0x4fab78[_0x2b556f(0x26f)]){_0x4fab78[_0x2b556f(0x1c4)]&&(this[_0x2b556f(0x1e5)]=_0x4fab78[_0x2b556f(0x1c4)]),this[_0x2b556f(0x2b0)]=this[_0x2b556f(0x2b0)][_0x2b556f(0x2ab)](_0x4558d2=>!_0x1226fe[_0x2b556f(0x23f)](_0x4558d2));for(const _0x4c660c of _0x1226fe)_0x4c660c[_0x2b556f(0x1c5)]=_0x2b556f(0x215)in _0x4fab78&&_0x4fab78[_0x2b556f(0x215)]||void 0x0;W(_0x1226fe,_0x4fab78[_0x2b556f(0x268)]-_0x1226fe[_0x2b556f(0x28d)]),this[_0x2b556f(0x28b)](_0x1226fe);const _0x1d7b50=_0x1226fe[_0x2b556f(0x2ab)](_0x409ea8=>{const _0x1214bf=_0x2b556f;if(!_0x409ea8[_0x1214bf(0x1eb)])return!0x1;const _0x207c95=this[_0x1214bf(0x25c)](_0x409ea8);return _0x207c95&&!this[_0x1214bf(0x242)][_0x1214bf(0x1f0)](_0x207c95);});W(_0x1d7b50,this[_0x2b556f(0x29f)][_0x2b556f(0x268)]),this[_0x2b556f(0x270)](_0x1d7b50),_0x4e1b51=!0x0,this[_0x2b556f(0x244)]=this[_0x2b556f(0x1c3)];}else{const _0x26593d=this[_0x2b556f(0x285)](_0x4fab78[_0x2b556f(0x25d)],_0x4fab78[_0x2b556f(0x2be)])[_0x2b556f(0x2ab)](_0x25a6b1=>_0x25a6b1[_0x2b556f(0x28f)]>=this[_0x2b556f(0x201)]);_0x26593d[_0x2b556f(0x24e)](_0x56b663=>this[_0x2b556f(0x262)](_0x56b663)),this[_0x2b556f(0x2b0)]=this[_0x2b556f(0x2b0)][_0x2b556f(0x2ab)](_0x52f97e=>!_0x52f97e[_0x2b556f(0x1eb)]||!this[_0x2b556f(0x242)][_0x2b556f(0x1f0)](this[_0x2b556f(0x25c)](_0x52f97e))),this[_0x2b556f(0x2b0)][_0x2b556f(0x28d)]&&W(this[_0x2b556f(0x2b0)],this[_0x2b556f(0x2b0)][0x0][_0x2b556f(0x28f)]),await this[_0x2b556f(0x1d7)](_0x26593d),_0x4e1b51=this[_0x2b556f(0x1cc)](_0x26593d,_0x4fab78[_0x2b556f(0x268)],_0x4fab78[_0x2b556f(0x1c4)]),this[_0x2b556f(0x244)]=Math[_0x2b556f(0x22c)](this[_0x2b556f(0x244)]/0x2);}return _0x4e1b51?!this[_0x2b556f(0x218)]()||(this[_0x2b556f(0x226)](!0x0),!0x1):this[_0x2b556f(0x2a0)](_0x2b556f(0x21c));}[_0x10e274(0x1cc)](_0xbeb2d7,_0x2f9407,_0x15da9f){const _0x5c2aea=_0x10e274;try{const _0x351e82={'document':this[_0x5c2aea(0x29f)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x123202,operationsB:_0x49fe1b,originalOperations:_0x29326a}=_0x480c79(_0xbeb2d7,this[_0x5c2aea(0x2b0)],_0x351e82);W(_0x123202,this[_0x5c2aea(0x29f)][_0x5c2aea(0x268)]),W(_0x49fe1b,_0x2f9407);for(const _0x7125ec of _0x123202){const _0x2d4e08=_0x29326a[_0x5c2aea(0x2bc)](_0x7125ec);_0x7125ec[_0x5c2aea(0x2c1)]=_0x2d4e08?_0x2d4e08[_0x5c2aea(0x2c1)]:null;}_0x15da9f&&(this[_0x5c2aea(0x291)][_0x5c2aea(0x295)](_0xbeb2d7,_0x15da9f),this[_0x5c2aea(0x1e5)]=_0x15da9f),this[_0x5c2aea(0x2b0)]=[..._0x49fe1b],this[_0x5c2aea(0x270)](_0x123202),this[_0x5c2aea(0x28b)](_0xbeb2d7);}catch(_0x52dd2d){return console[_0x5c2aea(0x255)](_0x52dd2d),!0x1;}return!0x0;}[_0x10e274(0x270)](_0x48cb35,_0x26613c=!0x1){const _0x5c8a4e=_0x10e274;this[_0x5c8a4e(0x211)][_0x5c8a4e(0x1cb)][_0x5c8a4e(0x246)]({'isUndoable':!0x1,'isLocal':!0x1},_0xf224f1=>{const _0x17f3f5=_0x5c8a4e;for(const _0x23a96e of _0x48cb35)this[_0x17f3f5(0x213)][_0x17f3f5(0x259)](_0x23a96e),this[_0x17f3f5(0x262)](_0x23a96e),_0xf224f1[_0x17f3f5(0x290)][_0x17f3f5(0x2a7)](_0x23a96e),this[_0x17f3f5(0x211)][_0x17f3f5(0x1cb)][_0x17f3f5(0x1cf)](_0x23a96e);});}[_0x10e274(0x262)](_0x4a4e38){const _0x41c6cc=_0x10e274,_0x41a9f0=this[_0x41c6cc(0x25c)](_0x4a4e38);_0x41a9f0&&this[_0x41c6cc(0x242)][_0x41c6cc(0x259)](_0x41a9f0);}[_0x10e274(0x25c)](_0x367b71){const _0x3e5590=_0x10e274;let _0x530b62,_0x27f48d;switch(_0x367b71[_0x3e5590(0x23d)]){case _0x3e5590(0x1c8):_0x530b62=_0x367b71[_0x3e5590(0x28c)][_0x3e5590(0x2a4)];break;case _0x3e5590(0x26d):if(_0x27f48d=_0x367b71[_0x3e5590(0x237)],!_0x27f48d)return null;_0x530b62=_0x27f48d[_0x3e5590(0x2a4)];break;case _0x3e5590(0x20a):_0x530b62=_0x367b71[_0x3e5590(0x2a4)];break;case _0x3e5590(0x236):_0x530b62=_0x367b71[_0x3e5590(0x252)];break;case _0x3e5590(0x264):_0x530b62=_0x367b71[_0x3e5590(0x27d)][_0x3e5590(0x2a4)];break;default:return null;}return _0x530b62[_0x3e5590(0x20d)];}[_0x10e274(0x28b)](_0x22c91e){const _0x3c2ebd=_0x10e274;_0x22c91e[_0x3c2ebd(0x24e)](_0x3ed812=>{const _0x44b864=_0x3c2ebd,_0x47d919=_0x3ed812[_0x44b864(0x2a8)]();_0x47d919[_0x44b864(0x2c1)]=_0x3ed812[_0x44b864(0x2c1)],_0x47d919[_0x44b864(0x1eb)]=!!_0x3ed812[_0x44b864(0x1eb)],_0x47d919[_0x44b864(0x1c5)]=_0x3ed812[_0x44b864(0x1c5)],_0x47d919[_0x44b864(0x28f)]+=this[_0x44b864(0x272)],_0x3ed812[_0x44b864(0x281)]&&this[_0x44b864(0x206)][_0x44b864(0x259)](_0x47d919),this[_0x44b864(0x267)][_0x44b864(0x2a7)](_0x47d919);});}[_0x10e274(0x22f)](_0x5e16ef){const _0x3f5e49=_0x10e274,_0x2f7970=this[_0x3f5e49(0x211)][_0x3f5e49(0x29c)][_0x3f5e49(0x2bc)](_0x3f5e49(0x1c2)),_0x11236e=this[_0x3f5e49(0x211)][_0x3f5e49(0x22d)];_0x5e16ef||(_0x5e16ef=_0x10b1ab(_0x11236e,_0x3f5e49(0x235))),_0x2f7970[_0x3f5e49(0x1f6)](_0x5e16ef,{'title':_0x10b1ab(_0x11236e,_0x3f5e49(0x1fb)),'namespace':_0x3f5e49(0x1c9)}),this[_0x3f5e49(0x2bb)]=!0x0,clearTimeout(this[_0x3f5e49(0x21b)]),this[_0x3f5e49(0x2b0)]=[],this[_0x3f5e49(0x211)][_0x3f5e49(0x29c)][_0x3f5e49(0x2bc)](_0x2f0865)[_0x3f5e49(0x212)]();}[_0x10e274(0x1f2)](){const _0x32f773=_0x10e274;this[_0x32f773(0x223)]||(this[_0x32f773(0x223)]=this[_0x32f773(0x211)][_0x32f773(0x29c)][_0x32f773(0x2bc)](_0x3edcf9)[_0x32f773(0x259)](_0x10b1ab(this[_0x32f773(0x211)][_0x32f773(0x22d)],_0x32f773(0x2a1))));}[_0x10e274(0x1e3)](){const _0x53fca4=_0x10e274;this[_0x53fca4(0x223)]&&(this[_0x53fca4(0x211)][_0x53fca4(0x29c)][_0x53fca4(0x2bc)](_0x3edcf9)[_0x53fca4(0x24c)](this[_0x53fca4(0x223)]),this[_0x53fca4(0x223)]=null);}[_0x10e274(0x260)](_0x36658c){const _0x14b934=_0x10e274,_0x433f0e=_0x36658c[_0x14b934(0x2b8)](_0xb49342=>_0xb49342[_0x14b934(0x208)]());return this[_0x14b934(0x202)][_0x14b934(0x257)](_0x433f0e);}[_0x10e274(0x285)](_0x5ca547,_0x1372b6){const _0x187b1f=_0x10e274;return this[_0x187b1f(0x202)][_0x187b1f(0x1ca)](_0x5ca547)[_0x187b1f(0x2b8)]((_0x129359,_0x10a68b)=>{const _0x48e8e5=_0x187b1f,_0x5564e3=_0x48e8e5(0x1ea)==_0x1372b6[_0x10a68b][_0x48e8e5(0x23d)];if(_0x48e8e5(0x274)==_0x129359[_0x48e8e5(0x21d)]){const _0x5da37b=_0x129359[_0x48e8e5(0x28c)][_0x48e8e5(0x2a4)];!this[_0x48e8e5(0x29f)][_0x48e8e5(0x1ef)](_0x5da37b)&&(this[_0x48e8e5(0x29f)][_0x48e8e5(0x241)](_0x48e8e5(0x289),_0x5da37b)[_0x48e8e5(0x27a)]=!0x1);}const _0x32c525=_0x30a2bd[_0x48e8e5(0x251)](_0x129359,this[_0x48e8e5(0x29f)]);return _0x32c525[_0x48e8e5(0x1d2)]=_0x129359[_0x48e8e5(0x1d2)],_0x32c525[_0x48e8e5(0x1eb)]=_0x5564e3,_0x32c525[_0x48e8e5(0x2c1)]=_0x5564e3?null:_0x1372b6[_0x10a68b][_0x48e8e5(0x29a)],_0x32c525[_0x48e8e5(0x281)]=_0x48e8e5(0x21a)===_0x1372b6[_0x10a68b][_0x48e8e5(0x23d)],_0x32c525[_0x48e8e5(0x1c5)]=_0x1372b6[_0x10a68b][_0x48e8e5(0x1c5)],_0x32c525;});}[_0x10e274(0x1f8)](){const _0x1385fc=_0x10e274;this[_0x1385fc(0x2ae)]=!0x0,this[_0x1385fc(0x1c1)]()?this[_0x1385fc(0x226)]():this[_0x1385fc(0x2ae)]=!0x1;}[_0x10e274(0x1c1)](){const _0x14ff8a=_0x10e274,_0xff1d3a=this[_0x14ff8a(0x211)][_0x14ff8a(0x29c)][_0x14ff8a(0x2bc)](_0x2a0cfe)[_0x14ff8a(0x26c)][_0x14ff8a(0x2bc)](this[_0x14ff8a(0x269)]);return!this[_0x14ff8a(0x211)][_0x14ff8a(0x293)]&&!!_0xff1d3a&&_0xff1d3a[_0x14ff8a(0x28d)]>0x1&&this[_0x14ff8a(0x2ae)];}[_0x10e274(0x218)](){const _0x30c857=_0x10e274;return this[_0x30c857(0x2b0)][_0x30c857(0x28d)]>0x0||this[_0x30c857(0x1c1)]();}}class V extends Error{}function W(_0x11e93c,_0x5b6131){const _0x591c56=_0x10e274;for(const _0x5902e8 of _0x11e93c)_0x5902e8[_0x591c56(0x28f)]=_0x5b6131++;}class F{[_0x10e274(0x21e)];[_0x10e274(0x2bf)];constructor(_0x10b6bd){const _0x273de1=_0x10e274;this[_0x273de1(0x21e)]=_0x10b6bd,this[_0x273de1(0x2bf)]=new WeakMap();}[_0x10e274(0x2bd)](_0x2c60b2){const _0x315a02=_0x10e274;let _0x504497=_0x2c60b2[_0x315a02(0x28d)];for(;_0x504497--;){const _0x284815=_0x2c60b2[_0x504497];if(!this[_0x315a02(0x21e)][_0x315a02(0x1f0)](_0x284815)){if(!this[_0x315a02(0x2bf)][_0x315a02(0x1f0)](_0x284815)){const _0x144b11=_0x52d808()[_0x315a02(0x26a)](0x1,0x12);this[_0x315a02(0x2bf)][_0x315a02(0x227)](_0x284815,_0x144b11);}return this[_0x315a02(0x2bf)][_0x315a02(0x2bc)](_0x284815);}}}[_0x10e274(0x295)](_0x2b7631,_0x1441d3){const _0x25d05b=_0x10e274;if(!_0x1441d3)return;let _0x57ac75=_0x2b7631[_0x25d05b(0x28d)];for(;_0x57ac75--;){const _0x3e9985=_0x2b7631[_0x57ac75];this[_0x25d05b(0x21e)][_0x25d05b(0x1f0)](_0x3e9985)||this[_0x25d05b(0x2bf)][_0x25d05b(0x227)](_0x3e9985,_0x1441d3);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45eda0=_0x3fa9;(function(_0x304f1d,_0x571ee6){const _0x43f491=_0x3fa9,_0xabdf60=_0x304f1d();while(!![]){try{const _0x3d7123=-parseInt(_0x43f491(0x17d))/0x1+parseInt(_0x43f491(0x161))/0x2*(parseInt(_0x43f491(0x175))/0x3)+-parseInt(_0x43f491(0x160))/0x4+parseInt(_0x43f491(0x18c))/0x5+-parseInt(_0x43f491(0x15d))/0x6+-parseInt(_0x43f491(0x16e))/0x7+-parseInt(_0x43f491(0x163))/0x8*(-parseInt(_0x43f491(0x171))/0x9);if(_0x3d7123===_0x571ee6)break;else _0xabdf60['push'](_0xabdf60['shift']());}catch(_0x871ab2){_0xabdf60['push'](_0xabdf60['shift']());}}}(_0x481d,0xd2628));function _0x3fa9(_0x2c536a,_0xd47fbe){const _0x481dc8=_0x481d();return _0x3fa9=function(_0x3fa901,_0x92accf){_0x3fa901=_0x3fa901-0x158;let _0x25c8cd=_0x481dc8[_0x3fa901];return _0x25c8cd;},_0x3fa9(_0x2c536a,_0xd47fbe);}import{ContextPlugin as _0x3e7f26}from'ckeditor5/src/core.js';import{Collection as _0x509bab,CKEditorError as _0x295a04}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xa4ea9}from'./websocketgateway.js';function _0x481d(){const _0x262552=['plugins','sessions-unregister-not-exist','assign','values','clear','context','remove','pluginName','_uniqueUsersCount','add','isPremiumPlugin','_createUser','179556pDouCO','change:state','init','6659036hJrfmu','210gttmMx','_handleSessionRemove','17802104dryAsd','unregister','getUserSessions','getUserBySessionId','mySessionId','Sessions','sessionId','defineMe','addUser','_users','getUserRole','2987432fcukSk','getUser','register','9hlDMCA','_handleSessionAdd','_registeredSessions','sessionAdd:','44925PkGumM','connection','requires','role','get','user','delete','state','1487130HqKUyC','set','isMe','sessions-register-already-registered','forEach','channelConnectedUsers','isOfficialPlugin','connected','hiddenInPresenceList','stopListening','fire','orderNumber','has','allConnectedUsers','listenTo','3363445YlnCjf','size','channelSessions'];_0x481d=function(){return _0x262552;};return _0x481d();}import{Users as _0x6217f3}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3e7f26{[_0x45eda0(0x18e)];[_0x45eda0(0x182)];[_0x45eda0(0x18a)];[_0x45eda0(0x173)];[_0x45eda0(0x159)];[_0x45eda0(0x16c)];static get[_0x45eda0(0x158)](){const _0x1fa492=_0x45eda0;return _0x1fa492(0x168);}static get[_0x45eda0(0x183)](){return!0x0;}static get[_0x45eda0(0x15b)](){return!0x0;}static get[_0x45eda0(0x177)](){return[_0xa4ea9,_0x6217f3];}constructor(_0x5aa462){const _0x2db78f=_0x45eda0;super(_0x5aa462),this[_0x2db78f(0x18e)]=new Map(),this[_0x2db78f(0x182)]=new Map(),this[_0x2db78f(0x18a)]=new _0x509bab(),this[_0x2db78f(0x173)]=new Map(),this[_0x2db78f(0x159)]=0x0,this[_0x2db78f(0x16c)]=this[_0x2db78f(0x194)][_0x2db78f(0x18f)][_0x2db78f(0x179)](_0x6217f3);}[_0x45eda0(0x15f)](){const _0x1442cf=_0x45eda0,_0x3f010d=this[_0x1442cf(0x194)][_0x1442cf(0x18f)][_0x1442cf(0x179)](_0xa4ea9);this[_0x1442cf(0x18b)](_0x3f010d,_0x1442cf(0x15e),(_0x72e65e,_0x2d75db,_0x17a8d3)=>{const _0x587e23=_0x1442cf;if(_0x587e23(0x184)!==_0x17a8d3)this[_0x587e23(0x18e)][_0x587e23(0x181)](_0x5987be=>_0x5987be[_0x587e23(0x193)]()),this[_0x587e23(0x182)][_0x587e23(0x181)](_0x128fe6=>_0x128fe6[_0x587e23(0x193)]()),this[_0x587e23(0x18a)][_0x587e23(0x193)]();else{for(const [_0x37a5a5,_0x1171fd]of this[_0x587e23(0x173)])for(const _0x5bf408 of _0x1171fd)this[_0x587e23(0x172)](_0x37a5a5,_0x5bf408);}}),this[_0x1442cf(0x15c)](_0x3f010d[_0x1442cf(0x176)]['me'],!0x0);}[_0x45eda0(0x170)](_0x16591d,_0x2de8f0){const _0x18e08f=_0x45eda0;if(this[_0x18e08f(0x173)][_0x18e08f(0x189)](_0x16591d))throw new _0x295a04(_0x18e08f(0x180),null,{'channelId':_0x16591d});this[_0x18e08f(0x173)][_0x18e08f(0x17e)](_0x16591d,_0x2de8f0),this[_0x18e08f(0x18e)][_0x18e08f(0x17e)](_0x16591d,new _0x509bab()),this[_0x18e08f(0x182)][_0x18e08f(0x17e)](_0x16591d,new _0x509bab()),this[_0x18e08f(0x18b)](_0x2de8f0,_0x18e08f(0x15a),(_0x4c6a92,_0x11d144)=>this[_0x18e08f(0x172)](_0x16591d,_0x11d144)),this[_0x18e08f(0x18b)](_0x2de8f0,_0x18e08f(0x195),(_0x28cc92,_0x5f5162)=>this[_0x18e08f(0x162)](_0x16591d,_0x5f5162));for(const _0x5c67c4 of _0x2de8f0)this[_0x18e08f(0x172)](_0x16591d,_0x5c67c4);}[_0x45eda0(0x164)](_0x301e83){const _0x411075=_0x45eda0;if(!this[_0x411075(0x173)][_0x411075(0x189)](_0x301e83))throw new _0x295a04(_0x411075(0x190),null,{'channelId':_0x301e83});const _0x42021e=this[_0x411075(0x173)][_0x411075(0x179)](_0x301e83);this[_0x411075(0x186)](_0x42021e);for(const _0x15d00f of _0x42021e)_0x411075(0x184)===this[_0x411075(0x194)][_0x411075(0x18f)][_0x411075(0x179)](_0xa4ea9)[_0x411075(0x17c)]&&this[_0x411075(0x162)](_0x301e83,_0x15d00f);this[_0x411075(0x173)][_0x411075(0x17b)](_0x301e83),this[_0x411075(0x18e)][_0x411075(0x17b)](_0x301e83),this[_0x411075(0x182)][_0x411075(0x17b)](_0x301e83);}get[_0x45eda0(0x167)](){const _0x56a099=_0x45eda0;return this[_0x56a099(0x194)][_0x56a099(0x18f)][_0x56a099(0x179)](_0xa4ea9)[_0x56a099(0x176)][_0x56a099(0x169)];}[_0x45eda0(0x166)](_0x58974b){const _0x4d7fe7=_0x45eda0;for(const _0x48e00a of this[_0x4d7fe7(0x18e)][_0x4d7fe7(0x192)]())for(const _0x9a593e of _0x48e00a)if(_0x9a593e['id']===_0x58974b)return _0x9a593e[_0x4d7fe7(0x17a)];}[_0x45eda0(0x165)](_0x1ab42b,_0x366403){const _0x1fc82d=_0x45eda0,_0x1f4905=_0x366403?[this[_0x1fc82d(0x18e)][_0x1fc82d(0x179)](_0x366403)]:this[_0x1fc82d(0x18e)][_0x1fc82d(0x192)](),_0x3deaca=new Set();for(const _0x577481 of _0x1f4905)for(const _0x5c80a6 of _0x577481)_0x5c80a6[_0x1fc82d(0x17a)]['id']===_0x1ab42b['id']&&_0x3deaca[_0x1fc82d(0x15a)](_0x5c80a6['id']);return _0x3deaca;}[_0x45eda0(0x16d)](_0x3d9992){const _0x538bb0=_0x45eda0;for(const _0x3c0af7 of this[_0x538bb0(0x18e)][_0x538bb0(0x192)]())for(const _0x4e65d2 of _0x3c0af7)if(_0x4e65d2[_0x538bb0(0x17a)]===_0x3d9992)return _0x4e65d2[_0x538bb0(0x178)];}[_0x45eda0(0x172)](_0xd3aa38,_0x240a0d){const _0x53a57f=_0x45eda0;if(_0x53a57f(0x184)!==this[_0x53a57f(0x194)][_0x53a57f(0x18f)][_0x53a57f(0x179)](_0xa4ea9)[_0x53a57f(0x17c)])return;const _0x21cf97=_0x240a0d[_0x53a57f(0x17a)],_0x265e51=this[_0x53a57f(0x16c)][_0x53a57f(0x16f)](_0x21cf97['id'])||this[_0x53a57f(0x15c)](_0x21cf97),_0xb4784d=Object[_0x53a57f(0x191)]({},_0x240a0d,{'user':_0x265e51});if(this[_0x53a57f(0x18e)][_0x53a57f(0x179)](_0xd3aa38)[_0x53a57f(0x15a)](_0xb4784d),!_0x21cf97[_0x53a57f(0x185)]){const _0x420673=this[_0x53a57f(0x182)][_0x53a57f(0x179)](_0xd3aa38);_0x420673[_0x53a57f(0x189)](_0x265e51['id'])||_0x420673[_0x53a57f(0x15a)](_0x265e51),this[_0x53a57f(0x18a)][_0x53a57f(0x189)](_0x265e51['id'])||_0x21cf97[_0x53a57f(0x185)]||this[_0x53a57f(0x18a)][_0x53a57f(0x15a)](_0x265e51,_0x265e51[_0x53a57f(0x17f)]?0x0:void 0x0);}this[_0x53a57f(0x187)](_0x53a57f(0x174)+_0xd3aa38,{'channelId':_0xd3aa38,'session':_0xb4784d});}[_0x45eda0(0x162)](_0x2bcf0c,_0x1db15f){const _0x236c03=_0x45eda0;if(_0x236c03(0x184)!==this[_0x236c03(0x194)][_0x236c03(0x18f)][_0x236c03(0x179)](_0xa4ea9)[_0x236c03(0x17c)])return;const _0x5cd231=this[_0x236c03(0x182)][_0x236c03(0x179)](_0x2bcf0c),_0x5568ec=_0x1db15f[_0x236c03(0x17a)];_0x5568ec['id']&&(this[_0x236c03(0x18e)][_0x236c03(0x179)](_0x2bcf0c)[_0x236c03(0x195)](_0x1db15f['id']),_0x5cd231[_0x236c03(0x189)](_0x5568ec['id'])&&!this[_0x236c03(0x165)](_0x5568ec,_0x2bcf0c)[_0x236c03(0x18d)]&&_0x5cd231[_0x236c03(0x195)](_0x5568ec['id']),this[_0x236c03(0x18a)][_0x236c03(0x179)](_0x5568ec['id'])&&!this[_0x236c03(0x165)](_0x5568ec)[_0x236c03(0x18d)]&&this[_0x236c03(0x18a)][_0x236c03(0x195)](_0x5568ec['id']));}[_0x45eda0(0x15c)](_0x4fe118,_0x3fbc09){const _0x437ee5=_0x45eda0,_0x1c3401=this[_0x437ee5(0x16c)][_0x437ee5(0x16b)](_0x4fe118);return _0x3fbc09&&this[_0x437ee5(0x16c)][_0x437ee5(0x16a)](_0x4fe118['id']),_0x1c3401[_0x437ee5(0x188)]=this[_0x437ee5(0x159)]++,_0x1c3401;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x167006=_0x4836;function _0x7b09(){const _0x215f23=['_createdBatches','init','get','fromRange','has','editing','getFirstRange','element','$graveyard','document','render','rootName','createUIElement','ck-user__selection','createElement','setAttribute','applyOperation','removeClass','hasContent','6379992AiiXaC','enqueueChange','markerName','root','plugins','remove','toRange','getUserBySessionId','user:range:','add','orderNumber','getAttribute','markerNameToElements','type','reconvertMarker','nodeAfter','isOfficialPlugin','ck-user__marker-tooltip','conversion','delete','textContent','8myMvtr','afterInit','startsWith','spellcheck','toDomElement','getSelectionClass','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','editingDowncast','undo','listenTo','3870obEWYr','isObject','getNearestSelectionRange','contenteditable','highest','clear','marker','isCollapsed','isSimilar','stopListening','deletionPosition','mouseleave','for','pluginName','color','commands','ck-user__marker\x20','54AXMiRe','3956428QCaZfD','classList','selection','parent','checkChild','getMarkerClass','markers','removeMarker','19454830DNzRvQ','innerHTML','split','detach','user:range','Escape','getContainedElement','set','oldRange','mapper','mouseenter','isLimit','false','isPremiumPlugin','getStart','data-session-id','283652ekTXqj','createUserMarkerOperations','3564096ioRONc','addMarker','outerHTML','markerToHighlight','addEventListener','keydown','3LZmQHC','view','ck-user__marker_hovered','markerRange','UserMarkers','change:range','requires','update:user:range','updateMarker','tableCell','userPositionMarker','batch','markerToElement','name','setCustomProperty','editor','mySessionId','start','user:position:','createRange','schema','2987180xOPTaP','_domEmitter','user:position','user:','isInline','model','end','hasDomSelection','getRange','size','getPositions','span','$text','destroy','getCustomProperty','change','newRange','isDocumentOperation'];_0x7b09=function(){return _0x215f23;};return _0x7b09();}(function(_0xb07c7f,_0x30963b){const _0xc06605=_0x4836,_0x1b6326=_0xb07c7f();while(!![]){try{const _0x361a0a=parseInt(_0xc06605(0x19a))/0x1*(-parseInt(_0xc06605(0x189))/0x2)+parseInt(_0xc06605(0x1bb))/0x3*(-parseInt(_0xc06605(0x1b3))/0x4)+-parseInt(_0xc06605(0x145))/0x5+-parseInt(_0xc06605(0x1b5))/0x6+parseInt(_0xc06605(0x19b))/0x7*(parseInt(_0xc06605(0x17f))/0x8)+-parseInt(_0xc06605(0x16a))/0x9+parseInt(_0xc06605(0x1a3))/0xa;if(_0x361a0a===_0x30963b)break;else _0x1b6326['push'](_0x1b6326['shift']());}catch(_0x4f45b3){_0x1b6326['push'](_0x1b6326['shift']());}}}(_0x7b09,0x6a300));import{Plugin as _0x139bde}from'ckeditor5/src/core.js';function _0x4836(_0x39ae34,_0x1d0df6){const _0x7b09f6=_0x7b09();return _0x4836=function(_0x48365b,_0x259e46){_0x48365b=_0x48365b-0x133;let _0x194da4=_0x7b09f6[_0x48365b];return _0x194da4;},_0x4836(_0x39ae34,_0x1d0df6);}import{global as _0x21cef0,DomEmitterMixin as _0x10dd82}from'ckeditor5/src/utils.js';import{Sessions as _0x282d56}from'./sessions.js';import{ModelLiveRange as _0x18fe7e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x139bde{[_0x167006(0x146)]=new(_0x10dd82())();static get[_0x167006(0x136)](){return[_0x282d56];}static get[_0x167006(0x196)](){const _0x3e60f7=_0x167006;return _0x3e60f7(0x134);}static get[_0x167006(0x17a)](){return!0x0;}static get[_0x167006(0x1b0)](){return!0x0;}[_0x167006(0x158)](){const _0x293736=_0x167006,_0xe0e89e=this[_0x293736(0x13f)],_0xb6c644=_0xe0e89e[_0x293736(0x16e)][_0x293736(0x159)](_0x282d56);_0xe0e89e[_0x293736(0x17c)][_0x293736(0x195)](_0x293736(0x186))[_0x293736(0x13c)]({'model':_0x293736(0x147),'view':(_0x2d61ab,{writer:_0x337806})=>function(_0x3eae12,_0x3cdd98,_0x9c3a2d,_0x426174){const _0x39d9a3=_0x293736,_0x5d0bf2=_0x3eae12[_0x39d9a3(0x16c)][_0x39d9a3(0x1a5)](':')[0x2],_0x26539b=_0x9c3a2d[_0x39d9a3(0x171)](_0x5d0bf2);if(!_0x26539b||_0x5d0bf2===_0x9c3a2d[_0x39d9a3(0x140)])return;if(!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)][_0x39d9a3(0x19f)](_0x3eae12[_0x39d9a3(0x133)][_0x39d9a3(0x141)],_0x39d9a3(0x151)))return;const _0x1007c1={'class':_0x39d9a3(0x199)+_0x26539b[_0x39d9a3(0x197)][_0x39d9a3(0x1a0)](),'data-name':_0x26539b[_0x39d9a3(0x13d)],'data-session-id':_0x5d0bf2},_0x45af75=_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x1a1)][_0x39d9a3(0x159)](_0x3eae12[_0x39d9a3(0x16c)]),_0x546788=_0x45af75[_0x39d9a3(0x1b1)](),_0x1e4e15=_0x546788[_0x39d9a3(0x179)],_0x27dcf4=_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)];if(_0x1e4e15&&_0x27dcf4[_0x39d9a3(0x18a)](_0x1e4e15)&&_0x27dcf4[_0x39d9a3(0x149)](_0x1e4e15)&&!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x1a1)][_0x39d9a3(0x159)](_0x39d9a3(0x172)+_0x5d0bf2)[_0x39d9a3(0x14d)]()[_0x39d9a3(0x190)])return;const _0x5cdf05=_0x546788[_0x39d9a3(0x19e)];return _0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)][_0x39d9a3(0x1ae)](_0x5cdf05)&&!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x169)](_0x5cdf05)&&(_0x1007c1[_0x39d9a3(0x18c)]=!0x1),function(_0x109bec,_0x3fd478,_0x56c929){const _0x4ff3e6=_0x39d9a3,_0x39faf4=_0x109bec[_0x4ff3e6(0x163)](_0x4ff3e6(0x150),_0x3fd478);return _0x109bec[_0x4ff3e6(0x13e)](_0x4ff3e6(0x13a),!0x0,_0x39faf4),_0x39faf4[_0x4ff3e6(0x161)]=function(_0x5eafb0){const _0x40b0be=_0x4ff3e6,_0x24ea35=this[_0x40b0be(0x183)](_0x5eafb0),_0xfedb8a=document[_0x40b0be(0x165)](_0x40b0be(0x150));return _0xfedb8a[_0x40b0be(0x19c)][_0x40b0be(0x173)](_0x40b0be(0x17b)),_0xfedb8a[_0x40b0be(0x166)](_0x40b0be(0x18c),_0x40b0be(0x1af)),_0xfedb8a[_0x40b0be(0x166)](_0x40b0be(0x182),_0x40b0be(0x1af)),_0xfedb8a[_0x40b0be(0x17e)]=_0x56c929[_0x40b0be(0x13d)],_0x24ea35[_0x40b0be(0x1a4)]=_0x40b0be(0x185)+_0xfedb8a[_0x40b0be(0x1b7)]+'',_0x24ea35[_0x40b0be(0x1b9)](_0x40b0be(0x1ad),()=>{const _0xc00c33=_0x40b0be;_0x24ea35[_0xc00c33(0x19c)][_0xc00c33(0x173)](_0xc00c33(0x1bd));}),_0x24ea35[_0x40b0be(0x1b9)](_0x40b0be(0x194),()=>{const _0x2ee6f4=_0x40b0be;_0x24ea35[_0x2ee6f4(0x19c)][_0x2ee6f4(0x16f)](_0x2ee6f4(0x1bd));}),_0x24ea35;},_0x39faf4[_0x4ff3e6(0x191)]=function(_0x4d1c92){const _0x392373=_0x4ff3e6;return!(!this[_0x392373(0x153)](_0x392373(0x13a))||!_0x4d1c92[_0x392373(0x153)](_0x392373(0x13a))||this[_0x392373(0x175)](_0x392373(0x1b2))!=_0x4d1c92[_0x392373(0x175)](_0x392373(0x1b2)));},_0x39faf4;}(_0x3cdd98,_0x1007c1,_0x26539b);}(_0x2d61ab,_0x337806,_0xb6c644,_0xe0e89e)}),_0xe0e89e[_0x293736(0x17c)][_0x293736(0x195)](_0x293736(0x186))[_0x293736(0x1b8)]({'model':_0x293736(0x1a7),'view':_0x273106=>function(_0x4a9846,_0x4a6323){const _0x11f2a6=_0x293736,_0x385dcf=_0x4a9846[_0x11f2a6(0x16c)][_0x11f2a6(0x1a5)](':')[0x2];if(_0x385dcf===_0x4a6323[_0x11f2a6(0x140)])return null;const _0x232355=_0x4a6323[_0x11f2a6(0x171)](_0x385dcf);if(!_0x232355)return{'id':_0x385dcf,'classes':[]};return{'id':_0x385dcf,'classes':[_0x11f2a6(0x164),_0x232355[_0x11f2a6(0x197)][_0x11f2a6(0x184)]()],'attributes':{'data-session-id':_0x385dcf},'priority':0x7d0+_0x232355[_0x11f2a6(0x174)]};}(_0x273106,_0xb6c644)}),function(_0x5992ed){const _0x59882d=_0x293736,_0x317b18=_0x5992ed[_0x59882d(0x14a)],_0x279d7c=new Map(),_0x396b86=_0x5992ed[_0x59882d(0x16e)][_0x59882d(0x159)](_0x282d56);_0x317b18[_0x59882d(0x1a1)]['on'](_0x59882d(0x137),(_0x23e405,_0x56a64e,_0x3c0a6e,_0x4c64cf)=>{const _0x3bdd85=_0x59882d;if(!_0x4c64cf&&_0x279d7c[_0x3bdd85(0x159)](_0x56a64e[_0x3bdd85(0x13d)]))return _0x279d7c[_0x3bdd85(0x159)](_0x56a64e[_0x3bdd85(0x13d)])[_0x3bdd85(0x1a6)](),void _0x279d7c[_0x3bdd85(0x17d)](_0x56a64e[_0x3bdd85(0x13d)]);const _0x50b87b=_0x56a64e[_0x3bdd85(0x13d)][_0x3bdd85(0x1a5)](':')[0x2];if(_0x50b87b===_0x396b86[_0x3bdd85(0x140)])return;const _0x769c07=_0x3bdd85(0x142)+_0x50b87b;_0x317b18[_0x3bdd85(0x1a1)][_0x3bdd85(0x15b)](_0x769c07)&&_0x5992ed[_0x3bdd85(0x15c)][_0x3bdd85(0x178)](_0x769c07),_0x56a64e['on'](_0x3bdd85(0x135),(_0x3817c8,_0xcd4d74,_0xcad439)=>{const _0x4b6370=_0x3bdd85;if(_0x4b6370(0x15f)!=_0xcd4d74[_0x4b6370(0x16d)][_0x4b6370(0x162)]&&_0x4b6370(0x15f)==_0x56a64e[_0x4b6370(0x14d)]()[_0x4b6370(0x16d)][_0x4b6370(0x162)]&&!_0x279d7c[_0x4b6370(0x15b)](_0x56a64e[_0x4b6370(0x13d)])){const _0x31b169=_0x317b18[_0x4b6370(0x144)][_0x4b6370(0x18b)](_0xcad439[_0x4b6370(0x193)]);if(_0x31b169){const _0x9a528=_0x18fe7e[_0x4b6370(0x15a)](_0x31b169);_0x279d7c[_0x4b6370(0x1aa)](_0x56a64e[_0x4b6370(0x13d)],_0x9a528),_0x9a528['on'](_0x4b6370(0x135),(_0x38d5e9,_0xbde633,_0x17eb53)=>{const _0x511044=_0x4b6370;if(_0x511044(0x15f)==_0x9a528[_0x511044(0x16d)][_0x511044(0x162)]){const _0x1bb8bf=_0x317b18[_0x511044(0x144)][_0x511044(0x18b)](_0x17eb53[_0x511044(0x193)]);_0x1bb8bf?(_0x9a528[_0x511044(0x141)]=_0x1bb8bf[_0x511044(0x141)],_0x9a528[_0x511044(0x14b)]=_0x1bb8bf[_0x511044(0x14b)]):(_0x279d7c[_0x511044(0x17d)](_0x56a64e[_0x511044(0x13d)]),_0x9a528[_0x511044(0x1a6)]());}});}}});}),_0x317b18[_0x59882d(0x160)]['on'](_0x59882d(0x154),()=>{const _0x3c87a7=_0x59882d;_0x279d7c[_0x3c87a7(0x14e)]>0x0&&_0x317b18[_0x3c87a7(0x16b)]({'isUndoable':!0x1},_0x2a84c1=>{const _0x1d071d=_0x3c87a7;for(const [_0x5e0613,_0x26e500]of _0x279d7c)_0x1d071d(0x15f)==_0x317b18[_0x1d071d(0x1a1)][_0x1d071d(0x159)](_0x5e0613)[_0x1d071d(0x14d)]()[_0x1d071d(0x16d)][_0x1d071d(0x162)]&&(J(_0x5e0613[_0x1d071d(0x1a5)](':')[0x2],_0x26e500[_0x1d071d(0x170)](),_0x317b18,_0x2a84c1),_0x26e500[_0x1d071d(0x1a6)]());_0x279d7c[_0x1d071d(0x18e)]();});});}(_0xe0e89e),this[_0x293736(0x146)][_0x293736(0x188)](_0x21cef0[_0x293736(0x160)],_0x293736(0x1ba),(_0x2e2349,{key:_0x3b8062})=>{const _0x47ddb2=_0x293736;_0x47ddb2(0x1a8)===_0x3b8062&&function(_0x1ebf3b){const _0x58b424=_0x47ddb2;_0x1ebf3b[_0x58b424(0x15c)][_0x58b424(0x1bc)][_0x58b424(0x154)](_0x1f14db=>{const _0xd0d288=_0x58b424;for(const _0x134e3c of _0x1ebf3b[_0xd0d288(0x14a)][_0xd0d288(0x1a1)]){if(!_0x134e3c[_0xd0d288(0x13d)][_0xd0d288(0x181)](_0xd0d288(0x147)))continue;const _0x48e0d8=_0x1ebf3b[_0xd0d288(0x15c)][_0xd0d288(0x1ac)][_0xd0d288(0x176)](_0x134e3c[_0xd0d288(0x13d)]);if(_0x48e0d8){for(const _0x6c3a94 of _0x48e0d8)_0x1f14db[_0xd0d288(0x168)](_0xd0d288(0x1bd),_0x6c3a94);}}});}(_0xe0e89e);},{'useCapture':!0x0});}[_0x167006(0x180)](){const _0xf39126=_0x167006,_0x30cf25=this[_0xf39126(0x13f)],_0x2c05ea=_0x30cf25[_0xf39126(0x198)][_0xf39126(0x159)](_0xf39126(0x187));_0x2c05ea&&_0x30cf25[_0xf39126(0x14a)]['on'](_0xf39126(0x167),(_0xba6392,_0x41b382)=>{const _0x47e846=_0xf39126,_0x25fd88=_0x41b382[0x0];if(!_0x25fd88[_0x47e846(0x156)])return;if(_0x47e846(0x18f)!=_0x25fd88[_0x47e846(0x177)]||!_0x25fd88[_0x47e846(0x13d)][_0x47e846(0x181)](_0x47e846(0x148)))return;const _0x1aa98d=_0x25fd88[_0x47e846(0x13b)];_0x2c05ea[_0x47e846(0x157)][_0x47e846(0x15b)](_0x1aa98d)&&(_0x25fd88[_0x47e846(0x155)]=_0x25fd88[_0x47e846(0x1ab)]?_0x30cf25[_0x47e846(0x14a)][_0x47e846(0x143)](_0x25fd88[_0x47e846(0x1ab)][_0x47e846(0x141)],_0x25fd88[_0x47e846(0x1ab)][_0x47e846(0x14b)]):null);},{'priority':_0xf39126(0x18d)});}[_0x167006(0x152)](){const _0x46c0dc=_0x167006;return this[_0x46c0dc(0x146)][_0x46c0dc(0x192)](),super[_0x46c0dc(0x152)]();}[_0x167006(0x1b4)](){const _0x40b432=_0x167006,_0x1bae73=this[_0x40b432(0x13f)],_0x2e08dd=_0x1bae73[_0x40b432(0x14a)][_0x40b432(0x160)],_0x1f83fa=_0x1bae73[_0x40b432(0x16e)][_0x40b432(0x159)](_0x282d56);_0x1bae73[_0x40b432(0x14a)][_0x40b432(0x16b)]({'isUndoable':!0x1},_0x46b65c=>{const _0x38e69c=_0x40b432,_0x1df3b1=_0x38e69c(0x172)+_0x1f83fa[_0x38e69c(0x140)],_0x31a0d3=_0x38e69c(0x142)+_0x1f83fa[_0x38e69c(0x140)],_0x370396=_0x1bae73[_0x38e69c(0x14a)][_0x38e69c(0x1a1)][_0x38e69c(0x15b)](_0x1df3b1);_0x1bae73[_0x38e69c(0x15c)][_0x38e69c(0x1bc)][_0x38e69c(0x14c)]?J(_0x1f83fa[_0x38e69c(0x140)],_0x2e08dd[_0x38e69c(0x19d)][_0x38e69c(0x15d)](),_0x1bae73[_0x38e69c(0x14a)],_0x46b65c):_0x370396&&(_0x46b65c[_0x38e69c(0x1a2)](_0x1df3b1),_0x46b65c[_0x38e69c(0x1a2)](_0x31a0d3));});}}function J(_0x2ba78b,_0x51ea66,_0x4f1538,_0x469325){const _0x1926eb=_0x167006,_0x1792a1=_0x1926eb(0x172)+_0x2ba78b,_0x282e42=_0x1926eb(0x142)+_0x2ba78b,_0x47b73d=_0x51ea66[_0x1926eb(0x1a9)]();let _0x43c6a5=_0x51ea66[_0x1926eb(0x141)];if(_0x47b73d&&_0x47b73d['is'](_0x1926eb(0x15e),_0x1926eb(0x139))){const _0x3a7d31=function(_0x513725,_0x2bb1f0){const _0x1e81bf=_0x1926eb;for(const _0xd670b3 of _0x513725[_0x1e81bf(0x14f)]())if(_0x2bb1f0[_0x1e81bf(0x144)][_0x1e81bf(0x19f)](_0xd670b3,_0x1e81bf(0x151)))return _0xd670b3;}(_0x51ea66,_0x4f1538);_0x3a7d31&&(_0x43c6a5=_0x3a7d31,_0x51ea66=_0x469325[_0x1926eb(0x143)](_0x43c6a5));}const _0x2fb8b5=_0x469325[_0x1926eb(0x143)](_0x43c6a5);_0x4f1538[_0x1926eb(0x1a1)][_0x1926eb(0x15b)](_0x1792a1)?(_0x469325[_0x1926eb(0x138)](_0x1792a1,{'range':_0x51ea66}),_0x469325[_0x1926eb(0x138)](_0x282e42,{'range':_0x2fb8b5})):(_0x469325[_0x1926eb(0x1b6)](_0x1792a1,{'range':_0x51ea66,'usingOperation':!0x0}),_0x469325[_0x1926eb(0x1b6)](_0x282e42,{'range':_0x2fb8b5,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5eec9c=_0x1921;(function(_0x4f0202,_0xd7b1d3){const _0x57a847=_0x1921,_0x1d2556=_0x4f0202();while(!![]){try{const _0x1b3be0=parseInt(_0x57a847(0xcb))/0x1*(parseInt(_0x57a847(0xe2))/0x2)+parseInt(_0x57a847(0x8a))/0x3+-parseInt(_0x57a847(0xe6))/0x4*(-parseInt(_0x57a847(0xdc))/0x5)+parseInt(_0x57a847(0xcd))/0x6*(-parseInt(_0x57a847(0xa5))/0x7)+-parseInt(_0x57a847(0xcc))/0x8+parseInt(_0x57a847(0xb5))/0x9*(parseInt(_0x57a847(0xe5))/0xa)+parseInt(_0x57a847(0x8b))/0xb*(-parseInt(_0x57a847(0xb8))/0xc);if(_0x1b3be0===_0xd7b1d3)break;else _0x1d2556['push'](_0x1d2556['shift']());}catch(_0x194650){_0x1d2556['push'](_0x1d2556['shift']());}}}(_0x3eb3,0x6889e));import{Plugin as _0x4efa59}from'ckeditor5/src/core.js';import{global as _0x2821fa,DomEmitterMixin as _0x4adc99}from'ckeditor5/src/utils.js';function _0x3eb3(){const _0xf1d9f=['size','has','listenTo','hasDomSelection','document','editing','removeClass','getContainedElement','isLimit','837963cXibRr','setCustomProperty','mapper','84wzbTAs','getRange','end','markerToHighlight','enqueueChange','addEventListener','root','addMarker','$text','update:user:range','stopListening','remove','getAttribute','requires','oldRange','orderNumber','updateMarker','getFirstRange','getStart','349519HcxUIM','246896PSpqNl','432GjvYJy','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getMarkerClass','ck-user__marker-tooltip','editingDowncast','user:range','isPremiumPlugin','marker','contenteditable','markerNameToElements','reconvertMarker','getUserBySessionId','$graveyard','userPositionMarker','split','1209145BMbRRm','element','createUserMarkerOperations','createRange','applyOperation','init','2OQUszp','view','user:','30eNuEBq','4zOXkhR','span','render','toDomElement','type','textContent','change','markerName','classList','Escape','add','outerHTML','false','tableCell','name','isDocumentOperation','selection','markerToElement','pluginName','isObject','ck-user__selection','UserMarkers','conversion','set','fromRange','batch','clear','markers','mouseleave','toRange','delete','afterInit','user:position:','getNearestSelectionRange','get','user:position','checkChild','getCustomProperty','user:range:','highest','color','markerRange','change:range','spellcheck','createUIElement','ck-user__marker_hovered','_domEmitter','deletionPosition','undo','130821TCWDJH','255200JlpsRt','_createdBatches','ck-user__marker\x20','detach','destroy','commands','schema','startsWith','mouseenter','isSimilar','setAttribute','getPositions','removeMarker','rootName','mySessionId','keydown','nodeAfter','data-session-id','innerHTML','createElement','start','for','isOfficialPlugin','plugins','hasContent','newRange','28469JxIHtl','isInline','getSelectionClass','editor','parent','isCollapsed','model'];_0x3eb3=function(){return _0xf1d9f;};return _0x3eb3();}import{Sessions as _0x3eadbf}from'./sessions.js';function _0x1921(_0xaf38d8,_0x38e9be){const _0x3eb31d=_0x3eb3();return _0x1921=function(_0x1921c8,_0x19b4d9){_0x1921c8=_0x1921c8-0x87;let _0x226e54=_0x3eb31d[_0x1921c8];return _0x226e54;},_0x1921(_0xaf38d8,_0x38e9be);}import{ModelLiveRange as _0x4c83f1}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4efa59{[_0x5eec9c(0x87)]=new(_0x4adc99())();static get[_0x5eec9c(0xc5)](){return[_0x3eadbf];}static get[_0x5eec9c(0xf8)](){const _0xfbe95f=_0x5eec9c;return _0xfbe95f(0xfb);}static get[_0x5eec9c(0xa1)](){return!0x0;}static get[_0x5eec9c(0xd3)](){return!0x0;}[_0x5eec9c(0xe1)](){const _0x521b44=_0x5eec9c,_0x3c7260=this[_0x521b44(0xa8)],_0x1703d6=_0x3c7260[_0x521b44(0xa2)][_0x521b44(0x108)](_0x3eadbf);_0x3c7260[_0x521b44(0xfc)][_0x521b44(0xa0)](_0x521b44(0xd1))[_0x521b44(0xf7)]({'model':_0x521b44(0x109),'view':(_0x2767ad,{writer:_0x291b63})=>function(_0x4b490d,_0x22d5f1,_0x49581b,_0x74cf94){const _0x2727ac=_0x521b44,_0x26b4df=_0x4b490d[_0x2727ac(0xed)][_0x2727ac(0xdb)](':')[0x2],_0x41d67a=_0x49581b[_0x2727ac(0xd8)](_0x26b4df);if(!_0x41d67a||_0x26b4df===_0x49581b[_0x2727ac(0x99)])return;if(!_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x91)][_0x2727ac(0x10a)](_0x4b490d[_0x2727ac(0x10f)][_0x2727ac(0x9f)],_0x2727ac(0xc0)))return;const _0x2c2955={'class':_0x2727ac(0x8d)+_0x41d67a[_0x2727ac(0x10e)][_0x2727ac(0xcf)](),'data-name':_0x41d67a[_0x2727ac(0xf4)],'data-session-id':_0x26b4df},_0x317ccf=_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x101)][_0x2727ac(0x108)](_0x4b490d[_0x2727ac(0xed)]),_0x41b53e=_0x317ccf[_0x2727ac(0xca)](),_0x25834d=_0x41b53e[_0x2727ac(0x9b)],_0x9c6583=_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x91)];if(_0x25834d&&_0x9c6583[_0x2727ac(0xf9)](_0x25834d)&&_0x9c6583[_0x2727ac(0xa6)](_0x25834d)&&!_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x101)][_0x2727ac(0x108)](_0x2727ac(0x10c)+_0x26b4df)[_0x2727ac(0xb9)]()[_0x2727ac(0xaa)])return;const _0x545c9b=_0x41b53e[_0x2727ac(0xa9)];return _0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x91)][_0x2727ac(0xb4)](_0x545c9b)&&!_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0xa3)](_0x545c9b)&&(_0x2c2955[_0x2727ac(0xd5)]=!0x1),function(_0x3699c3,_0xf73e6f,_0x5e81a4){const _0x3bf629=_0x2727ac,_0x77fa2=_0x3699c3[_0x3bf629(0x112)](_0x3bf629(0xe7),_0xf73e6f);return _0x3699c3[_0x3bf629(0xb6)](_0x3bf629(0xda),!0x0,_0x77fa2),_0x77fa2[_0x3bf629(0xe8)]=function(_0x49d3ff){const _0x451aa1=_0x3bf629,_0x475069=this[_0x451aa1(0xe9)](_0x49d3ff),_0x91db9e=document[_0x451aa1(0x9e)](_0x451aa1(0xe7));return _0x91db9e[_0x451aa1(0xee)][_0x451aa1(0xf0)](_0x451aa1(0xd0)),_0x91db9e[_0x451aa1(0x95)](_0x451aa1(0xd5),_0x451aa1(0xf2)),_0x91db9e[_0x451aa1(0x95)](_0x451aa1(0x111),_0x451aa1(0xf2)),_0x91db9e[_0x451aa1(0xeb)]=_0x5e81a4[_0x451aa1(0xf4)],_0x475069[_0x451aa1(0x9d)]=_0x451aa1(0xce)+_0x91db9e[_0x451aa1(0xf1)]+'',_0x475069[_0x451aa1(0xbd)](_0x451aa1(0x93),()=>{const _0xfe150f=_0x451aa1;_0x475069[_0xfe150f(0xee)][_0xfe150f(0xf0)](_0xfe150f(0x113));}),_0x475069[_0x451aa1(0xbd)](_0x451aa1(0x102),()=>{const _0x1fabdd=_0x451aa1;_0x475069[_0x1fabdd(0xee)][_0x1fabdd(0xc3)](_0x1fabdd(0x113));}),_0x475069;},_0x77fa2[_0x3bf629(0x94)]=function(_0x4da117){const _0x473b3f=_0x3bf629;return!(!this[_0x473b3f(0x10b)](_0x473b3f(0xda))||!_0x4da117[_0x473b3f(0x10b)](_0x473b3f(0xda))||this[_0x473b3f(0xc4)](_0x473b3f(0x9c))!=_0x4da117[_0x473b3f(0xc4)](_0x473b3f(0x9c)));},_0x77fa2;}(_0x22d5f1,_0x2c2955,_0x41d67a);}(_0x2767ad,_0x291b63,_0x1703d6,_0x3c7260)}),_0x3c7260[_0x521b44(0xfc)][_0x521b44(0xa0)](_0x521b44(0xd1))[_0x521b44(0xbb)]({'model':_0x521b44(0xd2),'view':_0x1adefb=>function(_0x153b5d,_0x1c3967){const _0x2fc0e0=_0x521b44,_0x2c16a9=_0x153b5d[_0x2fc0e0(0xed)][_0x2fc0e0(0xdb)](':')[0x2];if(_0x2c16a9===_0x1c3967[_0x2fc0e0(0x99)])return null;const _0x4bff0e=_0x1c3967[_0x2fc0e0(0xd8)](_0x2c16a9);if(!_0x4bff0e)return{'id':_0x2c16a9,'classes':[]};return{'id':_0x2c16a9,'classes':[_0x2fc0e0(0xfa),_0x4bff0e[_0x2fc0e0(0x10e)][_0x2fc0e0(0xa7)]()],'attributes':{'data-session-id':_0x2c16a9},'priority':0x7d0+_0x4bff0e[_0x2fc0e0(0xc7)]};}(_0x1adefb,_0x1703d6)}),function(_0x1d1f64){const _0x363148=_0x521b44,_0x20c6b1=_0x1d1f64[_0x363148(0xab)],_0x4d07e8=new Map(),_0x30dc8e=_0x1d1f64[_0x363148(0xa2)][_0x363148(0x108)](_0x3eadbf);_0x20c6b1[_0x363148(0x101)]['on'](_0x363148(0xc1),(_0x363d76,_0x3ebb49,_0x4d21c4,_0x16ba0f)=>{const _0x34130e=_0x363148;if(!_0x16ba0f&&_0x4d07e8[_0x34130e(0x108)](_0x3ebb49[_0x34130e(0xf4)]))return _0x4d07e8[_0x34130e(0x108)](_0x3ebb49[_0x34130e(0xf4)])[_0x34130e(0x8e)](),void _0x4d07e8[_0x34130e(0x104)](_0x3ebb49[_0x34130e(0xf4)]);const _0x570115=_0x3ebb49[_0x34130e(0xf4)][_0x34130e(0xdb)](':')[0x2];if(_0x570115===_0x30dc8e[_0x34130e(0x99)])return;const _0x15ddbd=_0x34130e(0x106)+_0x570115;_0x20c6b1[_0x34130e(0x101)][_0x34130e(0xad)](_0x15ddbd)&&_0x1d1f64[_0x34130e(0xb1)][_0x34130e(0xd7)](_0x15ddbd),_0x3ebb49['on'](_0x34130e(0x110),(_0x2fdfe4,_0x5b65c2,_0x3b495c)=>{const _0xa39489=_0x34130e;if(_0xa39489(0xd9)!=_0x5b65c2[_0xa39489(0xbe)][_0xa39489(0x98)]&&_0xa39489(0xd9)==_0x3ebb49[_0xa39489(0xb9)]()[_0xa39489(0xbe)][_0xa39489(0x98)]&&!_0x4d07e8[_0xa39489(0xad)](_0x3ebb49[_0xa39489(0xf4)])){const _0xa51ad7=_0x20c6b1[_0xa39489(0x91)][_0xa39489(0x107)](_0x3b495c[_0xa39489(0x88)]);if(_0xa51ad7){const _0xd3c8ea=_0x4c83f1[_0xa39489(0xfe)](_0xa51ad7);_0x4d07e8[_0xa39489(0xfd)](_0x3ebb49[_0xa39489(0xf4)],_0xd3c8ea),_0xd3c8ea['on'](_0xa39489(0x110),(_0x44952a,_0x680bc,_0xd0f392)=>{const _0x27c950=_0xa39489;if(_0x27c950(0xd9)==_0xd3c8ea[_0x27c950(0xbe)][_0x27c950(0x98)]){const _0x41cc2c=_0x20c6b1[_0x27c950(0x91)][_0x27c950(0x107)](_0xd0f392[_0x27c950(0x88)]);_0x41cc2c?(_0xd3c8ea[_0x27c950(0x9f)]=_0x41cc2c[_0x27c950(0x9f)],_0xd3c8ea[_0x27c950(0xba)]=_0x41cc2c[_0x27c950(0xba)]):(_0x4d07e8[_0x27c950(0x104)](_0x3ebb49[_0x27c950(0xf4)]),_0xd3c8ea[_0x27c950(0x8e)]());}});}}});}),_0x20c6b1[_0x363148(0xb0)]['on'](_0x363148(0xec),()=>{const _0xf71821=_0x363148;_0x4d07e8[_0xf71821(0xac)]>0x0&&_0x20c6b1[_0xf71821(0xbc)]({'isUndoable':!0x1},_0x5639e4=>{const _0x261e8e=_0xf71821;for(const [_0x41bf43,_0xd7b68d]of _0x4d07e8)_0x261e8e(0xd9)==_0x20c6b1[_0x261e8e(0x101)][_0x261e8e(0x108)](_0x41bf43)[_0x261e8e(0xb9)]()[_0x261e8e(0xbe)][_0x261e8e(0x98)]&&(K(_0x41bf43[_0x261e8e(0xdb)](':')[0x2],_0xd7b68d[_0x261e8e(0x103)](),_0x20c6b1,_0x5639e4),_0xd7b68d[_0x261e8e(0x8e)]());_0x4d07e8[_0x261e8e(0x100)]();});});}(_0x3c7260),this[_0x521b44(0x87)][_0x521b44(0xae)](_0x2821fa[_0x521b44(0xb0)],_0x521b44(0x9a),(_0x540658,{key:_0x227bd4})=>{const _0x2aaa16=_0x521b44;_0x2aaa16(0xef)===_0x227bd4&&function(_0x2359a5){const _0x1b1e75=_0x2aaa16;_0x2359a5[_0x1b1e75(0xb1)][_0x1b1e75(0xe3)][_0x1b1e75(0xec)](_0x3502fb=>{const _0x191b35=_0x1b1e75;for(const _0x3342a7 of _0x2359a5[_0x191b35(0xab)][_0x191b35(0x101)]){if(!_0x3342a7[_0x191b35(0xf4)][_0x191b35(0x92)](_0x191b35(0x109)))continue;const _0x21ba79=_0x2359a5[_0x191b35(0xb1)][_0x191b35(0xb7)][_0x191b35(0xd6)](_0x3342a7[_0x191b35(0xf4)]);if(_0x21ba79){for(const _0x173072 of _0x21ba79)_0x3502fb[_0x191b35(0xb2)](_0x191b35(0x113),_0x173072);}}});}(_0x3c7260);},{'useCapture':!0x0});}[_0x5eec9c(0x105)](){const _0x156265=_0x5eec9c,_0x3dfea4=this[_0x156265(0xa8)],_0x31803c=_0x3dfea4[_0x156265(0x90)][_0x156265(0x108)](_0x156265(0x89));_0x31803c&&_0x3dfea4[_0x156265(0xab)]['on'](_0x156265(0xe0),(_0xbf5c62,_0x973eff)=>{const _0x3148bd=_0x156265,_0x48b19a=_0x973eff[0x0];if(!_0x48b19a[_0x3148bd(0xf5)])return;if(_0x3148bd(0xd4)!=_0x48b19a[_0x3148bd(0xea)]||!_0x48b19a[_0x3148bd(0xf4)][_0x3148bd(0x92)](_0x3148bd(0xe4)))return;const _0x46f089=_0x48b19a[_0x3148bd(0xff)];_0x31803c[_0x3148bd(0x8c)][_0x3148bd(0xad)](_0x46f089)&&(_0x48b19a[_0x3148bd(0xa4)]=_0x48b19a[_0x3148bd(0xc6)]?_0x3dfea4[_0x3148bd(0xab)][_0x3148bd(0xdf)](_0x48b19a[_0x3148bd(0xc6)][_0x3148bd(0x9f)],_0x48b19a[_0x3148bd(0xc6)][_0x3148bd(0xba)]):null);},{'priority':_0x156265(0x10d)});}[_0x5eec9c(0x8f)](){const _0x5cc541=_0x5eec9c;return this[_0x5cc541(0x87)][_0x5cc541(0xc2)](),super[_0x5cc541(0x8f)]();}[_0x5eec9c(0xde)](){const _0x153011=_0x5eec9c,_0x2e7ba2=this[_0x153011(0xa8)],_0x564c64=_0x2e7ba2[_0x153011(0xab)][_0x153011(0xb0)],_0x2a620f=_0x2e7ba2[_0x153011(0xa2)][_0x153011(0x108)](_0x3eadbf);_0x2e7ba2[_0x153011(0xab)][_0x153011(0xbc)]({'isUndoable':!0x1},_0x45e282=>{const _0x57750a=_0x153011,_0x91f19b=_0x57750a(0x10c)+_0x2a620f[_0x57750a(0x99)],_0x52531c=_0x57750a(0x106)+_0x2a620f[_0x57750a(0x99)],_0x484fb2=_0x2e7ba2[_0x57750a(0xab)][_0x57750a(0x101)][_0x57750a(0xad)](_0x91f19b);_0x2e7ba2[_0x57750a(0xb1)][_0x57750a(0xe3)][_0x57750a(0xaf)]?K(_0x2a620f[_0x57750a(0x99)],_0x564c64[_0x57750a(0xf6)][_0x57750a(0xc9)](),_0x2e7ba2[_0x57750a(0xab)],_0x45e282):_0x484fb2&&(_0x45e282[_0x57750a(0x97)](_0x91f19b),_0x45e282[_0x57750a(0x97)](_0x52531c));});}}function K(_0x2bf7bc,_0x4e065b,_0xf98d8f,_0x404730){const _0x1aa118=_0x5eec9c,_0x49d1ea=_0x1aa118(0x10c)+_0x2bf7bc,_0x3aa444=_0x1aa118(0x106)+_0x2bf7bc,_0xca197=_0x4e065b[_0x1aa118(0xb3)]();let _0x43df73=_0x4e065b[_0x1aa118(0x9f)];if(_0xca197&&_0xca197['is'](_0x1aa118(0xdd),_0x1aa118(0xf3))){const _0x1f897c=function(_0x668fa7,_0xbfc4eb){const _0x3e7401=_0x1aa118;for(const _0x790792 of _0x668fa7[_0x3e7401(0x96)]())if(_0xbfc4eb[_0x3e7401(0x91)][_0x3e7401(0x10a)](_0x790792,_0x3e7401(0xc0)))return _0x790792;}(_0x4e065b,_0xf98d8f);_0x1f897c&&(_0x43df73=_0x1f897c,_0x4e065b=_0x404730[_0x1aa118(0xdf)](_0x43df73));}const _0x19e1d4=_0x404730[_0x1aa118(0xdf)](_0x43df73);_0xf98d8f[_0x1aa118(0x101)][_0x1aa118(0xad)](_0x49d1ea)?(_0x404730[_0x1aa118(0xc8)](_0x49d1ea,{'range':_0x4e065b}),_0x404730[_0x1aa118(0xc8)](_0x3aa444,{'range':_0x19e1d4})):(_0x404730[_0x1aa118(0xbf)](_0x49d1ea,{'range':_0x4e065b,'usingOperation':!0x0}),_0x404730[_0x1aa118(0xbf)](_0x3aa444,{'range':_0x19e1d4,'usingOperation':!0x0}));}
|