@ckeditor/ckeditor5-real-time-collaboration 44.3.0-alpha.7 → 45.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +0 -1
- package/build/real-time-collaboration.js +1 -1
- package/build/translations/be.js +1 -0
- package/ckeditor5-metadata.json +4 -4
- package/dist/index-editor.css +66 -24
- package/dist/index.css +67 -25
- 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.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- 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/lang/translations/be.po +55 -0
- package/package.json +21 -16
- package/src/common-translations.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.d.ts +12 -0
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.d.ts +2 -2
- 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.d.ts +2 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.d.ts +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.d.ts +2 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
- package/theme/presencelist.css +68 -26
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x51157b=_0x338f;(function(_0x3743b4,_0x53a1c4){const _0x3039ee=_0x338f,_0x40b501=_0x3743b4();while(!![]){try{const _0x396a3e=parseInt(_0x3039ee(0x1a6))/0x1*(parseInt(_0x3039ee(0x1a3))/0x2)+parseInt(_0x3039ee(0x1a0))/0x3*(parseInt(_0x3039ee(0x194))/0x4)+parseInt(_0x3039ee(0x19e))/0x5*(-parseInt(_0x3039ee(0x1aa))/0x6)+parseInt(_0x3039ee(0x192))/0x7+-parseInt(_0x3039ee(0x197))/0x8*(-parseInt(_0x3039ee(0x1a5))/0x9)+-parseInt(_0x3039ee(0x19c))/0xa*(-parseInt(_0x3039ee(0x1a2))/0xb)+parseInt(_0x3039ee(0x19d))/0xc*(-parseInt(_0x3039ee(0x1ad))/0xd);if(_0x396a3e===_0x53a1c4)break;else _0x40b501['push'](_0x40b501['shift']());}catch(_0x52022c){_0x40b501['push'](_0x40b501['shift']());}}}(_0x7aa7,0xb7049));function _0x338f(_0xcf063d,_0x19d97e){const _0x7aa75c=_0x7aa7();return _0x338f=function(_0x338fda,_0xabaac2){_0x338fda=_0x338fda-0x190;let _0x37634f=_0x7aa75c[_0x338fda];return _0x37634f;},_0x338f(_0xcf063d,_0x19d97e);}import{ListItemView as _0x74fb1b}from'ckeditor5/src/ui.js';import{UserView as _0x1abf9d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x7aa7(){const _0x48a68b=['ck-user__full-name','9393335qcSyVM','button','56pfnWEM','getBackgroundColorClass','setTemplate','24CdCZuG','color','fire','focus','execute','20SfbvVg','57027708Pnkldp','4990BYGlcZ','span','277743vxhCFp','name','5437729PCuWJn','14426HPCHcN','true','3930318vIDhLw','177JRlngr','bindTemplate','ck-presence-list__dropdown-list-item','presentation','4278iDoqNc','element','ck-presence-list__marker','13sSXNtP','userView','tag'];_0x7aa7=function(){return _0x48a68b;};return _0x7aa7();}export default class k extends _0x74fb1b{[_0x51157b(0x1ae)];constructor(_0x52282f,_0x1784f8,_0x454d8b){const _0x5390ee=_0x51157b;super(_0x52282f);const _0x1bfa64=this[_0x5390ee(0x1a7)];this[_0x5390ee(0x1ae)]=new _0x1abf9d(_0x52282f,_0x1784f8);const _0x23b982={'tag':'li','attributes':{'class':['ck',_0x5390ee(0x1a8)],'tabindex':-0x1,'role':_0x5390ee(0x1a9),'aria-label':_0x1784f8[_0x5390ee(0x1a1)]},'children':[this[_0x5390ee(0x1ae)],{'tag':_0x5390ee(0x19f),'attributes':{'class':['ck',_0x5390ee(0x191)]},'children':[{'text':_0x1784f8[_0x5390ee(0x1a1)]}]},{'tag':_0x5390ee(0x19f),'attributes':{'class':['ck',_0x5390ee(0x1ac),_0x1784f8[_0x5390ee(0x198)][_0x5390ee(0x195)]()],'aria-hidden':_0x5390ee(0x1a4)}}]};_0x454d8b&&(_0x23b982[_0x5390ee(0x190)]=_0x5390ee(0x193),_0x23b982['on']={'click':_0x1bfa64['to'](()=>this[_0x5390ee(0x199)](_0x5390ee(0x19b)))}),this[_0x5390ee(0x196)](_0x23b982);}[_0x51157b(0x19a)](){const _0x237599=_0x51157b;this[_0x237599(0x1ab)][_0x237599(0x19a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ba01a=_0x43fe;(function(_0x46586e,_0x2c3b2d){const _0x2fc25a=_0x43fe,_0x3021ab=_0x46586e();while(!![]){try{const _0x2d9cb5=parseInt(_0x2fc25a(0x12f))/0x1*(parseInt(_0x2fc25a(0x152))/0x2)+-parseInt(_0x2fc25a(0x148))/0x3*(parseInt(_0x2fc25a(0x150))/0x4)+parseInt(_0x2fc25a(0x144))/0x5*(-parseInt(_0x2fc25a(0x139))/0x6)+-parseInt(_0x2fc25a(0x133))/0x7*(parseInt(_0x2fc25a(0x135))/0x8)+parseInt(_0x2fc25a(0x132))/0x9*(-parseInt(_0x2fc25a(0x130))/0xa)+parseInt(_0x2fc25a(0x14a))/0xb+parseInt(_0x2fc25a(0x123))/0xc*(parseInt(_0x2fc25a(0x127))/0xd);if(_0x2d9cb5===_0x2c3b2d)break;else _0x3021ab['push'](_0x3021ab['shift']());}catch(_0x48e622){_0x3021ab['push'](_0x3021ab['shift']());}}}(_0x562f,0x5d39d));function _0x43fe(_0x1d3bcf,_0x380198){const _0x562f22=_0x562f();return _0x43fe=function(_0x43fec7,_0x1ddcd3){_0x43fec7=_0x43fec7-0x123;let _0x105505=_0x562f22[_0x43fec7];return _0x105505;},_0x43fe(_0x1d3bcf,_0x380198);}import{ListView as _0x470f84,View as _0x28b618}from'ckeditor5/src/ui.js';import{global as _0x4352c6}from'ckeditor5/src/utils.js';import{getTranslation as _0xdd54a0}from'../../common-translations.js';export default class x extends _0x28b618{[_0x1ba01a(0x12a)];constructor(_0x420a8b,_0x4b30a7){const _0x372d81=_0x1ba01a;super(_0x420a8b);const _0x59251a=this[_0x372d81(0x138)];this[_0x372d81(0x12a)]=new PresenceDropdownListWrapperView(_0x420a8b,_0x4b30a7),this[_0x372d81(0x145)]({'tag':_0x372d81(0x14b),'attributes':{'tabindex':-0x1,'role':_0x372d81(0x13b),'class':['ck',_0x372d81(0x14c)],'aria-label':_0xdd54a0(_0x420a8b,_0x372d81(0x13e))},'children':[this[_0x372d81(0x12a)]],'on':{'mouseleave':_0x59251a['to'](_0x171736=>{const _0x2d0bad=_0x372d81,_0xad5add=_0x171736,_0x524260=document[_0x2d0bad(0x13c)](_0x2d0bad(0x140)),_0x2875ee=document[_0x2d0bad(0x13c)](_0x2d0bad(0x12c));_0x524260?.[_0x2d0bad(0x146)](_0xad5add[_0x2d0bad(0x137)])||_0x2875ee?.[_0x2d0bad(0x146)](_0xad5add[_0x2d0bad(0x137)])||this[_0x2d0bad(0x12e)](_0x2d0bad(0x141));})}});}}function _0x562f(){const _0x1b8a9a=['checkIfScrollable','listWrapperView','ck-presence-list__dropdown-list-wrapper','.ck-balloon-panel_with-arrow','ariaLabelledBy','fire','293TusxBI','110GIoSNk','scrollHeight','269559CQOKBz','7kHMMuh','ck-reset','6047448uwQuaS','change','relatedTarget','bindTemplate','6MzLGki','element','application','querySelector','window','Connected\x20users\x20list\x20dropdown\x20menu','items','.ck-presence-list__list','presencelist:hide','ck-list','innerHeight','809815ErOraZ','setTemplate','contains','role','1454478ADFUaD','max','4298811DeXCKz','div','ck-presence-list__dropdown-list','ck-presence-list__dropdown-list-wrapper_scrollable','clientHeight','listenTo','4GJjNHN','resize','572sxVMbD','12bRgGOM','render','ariaLabel','_isScrollable','21312655YOjual','set'];_0x562f=function(){return _0x1b8a9a;};return _0x562f();}export class PresenceDropdownListWrapperView extends _0x470f84{constructor(_0x443b43,_0x430800){const _0x5aa19c=_0x1ba01a;super(_0x443b43);const _0x39acdd=this[_0x5aa19c(0x138)];this[_0x5aa19c(0x128)](_0x5aa19c(0x126),!0x1),this[_0x5aa19c(0x145)]({'tag':_0x430800?_0x5aa19c(0x14b):'ul','attributes':{'class':['ck',_0x5aa19c(0x134),_0x5aa19c(0x142),_0x5aa19c(0x12b),_0x39acdd['if'](_0x5aa19c(0x126),_0x5aa19c(0x14d))],'role':_0x39acdd['to'](_0x5aa19c(0x147)),'aria-label':_0x39acdd['to'](_0x5aa19c(0x125)),'aria-labelledby':_0x39acdd['to'](_0x5aa19c(0x12d))},'children':this[_0x5aa19c(0x13f)]}),this[_0x5aa19c(0x14f)](_0x4352c6[_0x5aa19c(0x13d)],_0x5aa19c(0x151),()=>this[_0x5aa19c(0x129)]()),this[_0x5aa19c(0x13f)]['on'](_0x5aa19c(0x136),()=>this[_0x5aa19c(0x129)]());}[_0x1ba01a(0x124)](){const _0x4508c0=_0x1ba01a;super[_0x4508c0(0x124)](),this[_0x4508c0(0x129)]();}[_0x1ba01a(0x129)](){const _0x58648d=_0x1ba01a,_0x239ff6=this[_0x58648d(0x13a)];_0x239ff6&&(this[_0x58648d(0x126)]=Math[_0x58648d(0x149)](_0x239ff6[_0x58648d(0x131)],_0x239ff6[_0x58648d(0x14e)])>0.8*window[_0x58648d(0x143)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
const _0x4979fa=_0x56e7;(function(_0x23f3ee,_0x30ea73){const _0x43eb70=_0x56e7,_0x4a8f55=_0x23f3ee();while(!![]){try{const _0x690f18=parseInt(_0x43eb70(0x177))/0x1+-parseInt(_0x43eb70(0x17e))/0x2*(parseInt(_0x43eb70(0x195))/0x3)+parseInt(_0x43eb70(0x179))/0x4*(-parseInt(_0x43eb70(0x17c))/0x5)+parseInt(_0x43eb70(0x186))/0x6+parseInt(_0x43eb70(0x181))/0x7*(parseInt(_0x43eb70(0x185))/0x8)+-parseInt(_0x43eb70(0x176))/0x9+parseInt(_0x43eb70(0x17f))/0xa*(parseInt(_0x43eb70(0x194))/0xb);if(_0x690f18===_0x30ea73)break;else _0x4a8f55['push'](_0x4a8f55['shift']());}catch(_0x319431){_0x4a8f55['push'](_0x4a8f55['shift']());}}}(_0x1b4b,0xc87f2));function _0x1b4b(){const _0x311bb3=['ck-presence-list__list-item__tooltip','568AyHZPC','set','span','29720KPclsS','execute','14hoIuiF','10rGkwlj','markerView','82649hUJjmn','template','setTemplate','hasTooltip','48DKPEFn','1295160niLBzi','getBackgroundColorClass','fire','tag','text','name','ck-presence-list__marker','userView','bindTemplate','ck-presence-list__list-item','isFocusable','tooltipPosition','div','color','17077588zIcNQC','239049UKzQlm','listitem','true','button','2738169XEdnhK','688094ayHlUq'];_0x1b4b=function(){return _0x311bb3;};return _0x1b4b();}import{LabelView as _0x18a98a,View as _0x2ff856}from'ckeditor5/src/ui.js';import{UserView as _0x1b5b9b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x2ff856{[_0x4979fa(0x18d)];[_0x4979fa(0x180)];constructor(_0x458928,_0x575a12,_0x6b56c0){const _0x3e85db=_0x4979fa;super(_0x458928);const _0x222cc7=this[_0x3e85db(0x18e)];this[_0x3e85db(0x17a)](_0x3e85db(0x190),!0x1),this[_0x3e85db(0x17a)](_0x3e85db(0x184),!0x0),this[_0x3e85db(0x17a)](_0x3e85db(0x191),''),this[_0x3e85db(0x18d)]=new _0x1b5b9b(_0x458928,_0x575a12),this[_0x3e85db(0x180)]=new at(_0x458928,_0x575a12);const _0x217a59=new _0x18a98a(_0x458928);_0x217a59[_0x3e85db(0x182)][_0x3e85db(0x189)]=_0x3e85db(0x17b),_0x217a59[_0x3e85db(0x18a)]=_0x575a12[_0x3e85db(0x18b)];const _0x4bcfb2={'tag':_0x3e85db(0x192),'attributes':{'class':['ck',_0x3e85db(0x18f)],'role':_0x3e85db(0x196),'tabindex':_0x222cc7['to'](_0x3e85db(0x190),_0x193f60=>!!_0x193f60&&0x0),'aria-labelledby':_0x217a59['id'],'data-cke-tooltip-text':this[_0x3e85db(0x18d)][_0x3e85db(0x18b)],'data-cke-tooltip-position':_0x222cc7['to'](_0x3e85db(0x191)),'data-cke-tooltip-disabled':_0x222cc7['to'](_0x3e85db(0x184),_0x1fd87e=>!_0x1fd87e),'data-cke-tooltip-class':_0x3e85db(0x178)},'children':[this[_0x3e85db(0x18d)],this[_0x3e85db(0x180)],_0x217a59]};_0x6b56c0&&(_0x4bcfb2[_0x3e85db(0x189)]=_0x3e85db(0x175),_0x4bcfb2['on']={'click':_0x222cc7['to'](()=>this[_0x3e85db(0x188)](_0x3e85db(0x17d)))}),this[_0x3e85db(0x183)](_0x4bcfb2);}}function _0x56e7(_0x13fc20,_0x30dafa){const _0x1b4bcc=_0x1b4b();return _0x56e7=function(_0x56e7aa,_0x25ac86){_0x56e7aa=_0x56e7aa-0x174;let _0xb0dee7=_0x1b4bcc[_0x56e7aa];return _0xb0dee7;},_0x56e7(_0x13fc20,_0x30dafa);}class at extends _0x2ff856{constructor(_0x419828,_0x3d57ad){const _0x1b0ae1=_0x4979fa;super(_0x419828),this[_0x1b0ae1(0x183)]({'tag':_0x1b0ae1(0x17b),'attributes':{'class':['ck',_0x1b0ae1(0x18c),_0x3d57ad[_0x1b0ae1(0x193)][_0x1b0ae1(0x187)]()],'aria-hidden':_0x1b0ae1(0x174)}});}}
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
6
6
|
import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
|
|
7
|
+
import type PresenceCounterView from './presencecounterview.js';
|
|
7
8
|
import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
8
9
|
export default class PresenceInlineListView extends View implements FocusableView {
|
|
9
10
|
/**
|
|
10
11
|
* The collection of `PresenceInlineListItemView` instances.
|
|
11
12
|
*/
|
|
12
|
-
readonly items: ViewCollection<PresenceInlineListItemView>;
|
|
13
|
+
readonly items: ViewCollection<PresenceInlineListItemView | PresenceCounterView>;
|
|
13
14
|
/**
|
|
14
15
|
* The keystroke handler for the presence inline list view.
|
|
15
16
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3019a7=_0x2d76;(function(_0x462514,_0x3d5546){const _0x404eb5=_0x2d76,_0x5bae9d=_0x462514();while(!![]){try{const _0x372d5b=-parseInt(_0x404eb5(0x1ba))/0x1*(-parseInt(_0x404eb5(0x1b7))/0x2)+-parseInt(_0x404eb5(0x1c9))/0x3+-parseInt(_0x404eb5(0x1b1))/0x4+parseInt(_0x404eb5(0x1b0))/0x5*(parseInt(_0x404eb5(0x1c0))/0x6)+-parseInt(_0x404eb5(0x1c6))/0x7*(-parseInt(_0x404eb5(0x1b3))/0x8)+-parseInt(_0x404eb5(0x1bf))/0x9*(parseInt(_0x404eb5(0x1cd))/0xa)+parseInt(_0x404eb5(0x1b5))/0xb;if(_0x372d5b===_0x3d5546)break;else _0x5bae9d['push'](_0x5bae9d['shift']());}catch(_0x454732){_0x5bae9d['push'](_0x5bae9d['shift']());}}}(_0x2295,0x32c99));import{View as _0x209099}from'ckeditor5/src/ui.js';function _0x2295(){const _0x2b2a62=['890820sFVNjk','.ck-presence-list__dropdown-list','8KbidlE','change:hasPopup','5007860bEpLBH','presencelist:show','32YBZVfq','removeAttribute','element','20633pawLyp','list','aria-expanded','Connected\x20users\x20list','querySelector','3129264UAOAZD','150rGKEep','focus','ck-presence-list__list','items','keystrokes','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','1971837BWfVTf','presencelist:hide','render','1171884XHDzvp','contains','hasPopup','listenTo','10pNllxO','isExpanded','setAttribute','div','setTemplate','set','fire','relatedTarget','createCollection','.ck-balloon-panel_with-arrow','bindTemplate','20395qssWvy'];_0x2295=function(){return _0x2b2a62;};return _0x2295();}function _0x2d76(_0x475761,_0x382376){const _0x2295b4=_0x2295();return _0x2d76=function(_0x2d7600,_0x45219d){_0x2d7600=_0x2d7600-0x1ac;let _0x510b17=_0x2295b4[_0x2d7600];return _0x510b17;},_0x2d76(_0x475761,_0x382376);}import{KeystrokeHandler as _0x5dd3d6}from'ckeditor5/src/utils.js';import{getTranslation as _0xa386e}from'../../common-translations.js';export default class ts extends _0x209099{[_0x3019a7(0x1c3)];[_0x3019a7(0x1c4)];constructor(_0x1ebfcb){const _0x194707=_0x3019a7;super(_0x1ebfcb);const _0x1ee17c=this[_0x194707(0x1af)];this[_0x194707(0x1c3)]=this[_0x194707(0x1ad)](),this[_0x194707(0x1c4)]=new _0x5dd3d6(),this[_0x194707(0x1d2)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x194707(0x1d1)]({'tag':_0x194707(0x1d0),'attributes':{'aria-haspopup':_0x1ee17c['if'](_0x194707(0x1cb)),'aria-expanded':_0x1ee17c['to'](_0x194707(0x1ce),_0x5562da=>this[_0x194707(0x1cb)]&&String(_0x5562da)),'aria-label':_0x1ee17c['to'](_0x194707(0x1cb),_0xaa3193=>_0xa386e(_0x1ebfcb,_0xaa3193?_0x194707(0x1c5):_0x194707(0x1bd))),'role':_0x194707(0x1bb),'tabindex':_0x1ee17c['to'](_0x194707(0x1cb),_0x5c70b6=>!!_0x5c70b6&&0x0),'class':['ck',_0x194707(0x1c2)]},'children':this[_0x194707(0x1c3)],'on':{'mouseenter':_0x1ee17c['to'](()=>this[_0x194707(0x1d3)](_0x194707(0x1b6))),'mouseleave':_0x1ee17c['to'](_0x2418c5=>{const _0x22efdf=_0x194707,_0x4b8d34=_0x2418c5,_0x243702=document[_0x22efdf(0x1be)](_0x22efdf(0x1b2)),_0x15eda9=document[_0x22efdf(0x1be)](_0x22efdf(0x1ae));_0x243702?.[_0x22efdf(0x1ca)](_0x4b8d34[_0x22efdf(0x1ac)])||_0x15eda9?.[_0x22efdf(0x1ca)](_0x4b8d34[_0x22efdf(0x1ac)])||this[_0x22efdf(0x1d3)](_0x22efdf(0x1c7));})}}),this['on'](_0x194707(0x1b4),(_0xb611ef,_0x407f37,_0x29f374)=>{const _0xa73bd3=_0x194707;this[_0xa73bd3(0x1b9)]&&(_0x29f374?this[_0xa73bd3(0x1b9)][_0xa73bd3(0x1cf)](_0xa73bd3(0x1bc),String(this[_0xa73bd3(0x1ce)])):this[_0xa73bd3(0x1b9)][_0xa73bd3(0x1b8)](_0xa73bd3(0x1bc)));});}[_0x3019a7(0x1c1)](){const _0x49a678=_0x3019a7;this[_0x49a678(0x1b9)][_0x49a678(0x1c1)]();}[_0x3019a7(0x1c8)](){const _0x20338a=_0x3019a7;super[_0x20338a(0x1c8)](),this[_0x20338a(0x1c4)][_0x20338a(0x1cc)](this[_0x20338a(0x1b9)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
const _0x377d8b=_0x78ce;(function(_0x240146,_0x3883e6){const _0x34e550=_0x78ce,_0x129bda=_0x240146();while(!![]){try{const _0x2877b0=parseInt(_0x34e550(0x9c))/0x1*(-parseInt(_0x34e550(0x92))/0x2)+parseInt(_0x34e550(0xaa))/0x3+parseInt(_0x34e550(0x98))/0x4*(parseInt(_0x34e550(0xa3))/0x5)+parseInt(_0x34e550(0xa2))/0x6*(parseInt(_0x34e550(0x96))/0x7)+-parseInt(_0x34e550(0xa1))/0x8+parseInt(_0x34e550(0x9f))/0x9+-parseInt(_0x34e550(0x8d))/0xa*(-parseInt(_0x34e550(0x97))/0xb);if(_0x2877b0===_0x3883e6)break;else _0x129bda['push'](_0x129bda['shift']());}catch(_0x4f62f2){_0x129bda['push'](_0x129bda['shift']());}}}(_0x25cd,0xa9ffd));function _0x78ce(_0x22ce5c,_0x374984){const _0x25cd35=_0x25cd();return _0x78ce=function(_0x78ce37,_0x1ea44a){_0x78ce37=_0x78ce37-0x8d;let _0x382575=_0x25cd35[_0x78ce37];return _0x382575;},_0x78ce(_0x22ce5c,_0x374984);}function _0x25cd(){const _0xf689ff=['bindTemplate','7428411TjrGrG','ck-presence-list--collapsed','10122080TXMOLh','3590970BFFLRm','1110095gVaLfU','set','hasPopup','isCollapsed','div','counterView','items','1602432bQBEzb','30bVbCEV','inlineListView','locale','bind','setTemplate','114OhWltP','ck-rounded-corners','tooltipPosition','ck-presence-list','7QQaKCl','1808763yBCwft','4lJjneN','first','listenTo','ck-reset','12487SMwwEX','change'];_0x25cd=function(){return _0xf689ff;};return _0x25cd();}import{View as _0x16c378}from'ckeditor5/src/ui.js';import _0x3a4e73 from'./presencecounterview.js';import _0x39fc96 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x16c378{[_0x377d8b(0xa8)];[_0x377d8b(0x8e)];constructor(_0x4d7be6,_0x10bd7d=0x6){const _0xdd8639=_0x377d8b;super(_0x4d7be6);const _0x76dd10=this[_0xdd8639(0x9e)];this[_0xdd8639(0xa4)](_0xdd8639(0xa6),!0x0),this[_0xdd8639(0xa8)]=new _0x3a4e73(this[_0xdd8639(0x8f)],_0x10bd7d),this[_0xdd8639(0x8e)]=new _0x39fc96(_0x4d7be6),this[_0xdd8639(0x8e)][_0xdd8639(0x90)](_0xdd8639(0xa5))['to'](this,_0xdd8639(0xa6)),this[_0xdd8639(0x9a)](this[_0xdd8639(0x8e)][_0xdd8639(0xa9)],_0xdd8639(0x9d),()=>{const _0x630b65=_0xdd8639;for(const _0x4b8187 of this[_0x630b65(0x8e)][_0x630b65(0xa9)])_0x4b8187[_0x630b65(0x94)]='s';this[_0x630b65(0x8e)][_0x630b65(0xa9)][_0x630b65(0x99)]&&(this[_0x630b65(0x8e)][_0x630b65(0xa9)][_0x630b65(0x99)][_0x630b65(0x94)]='se');}),this[_0xdd8639(0x91)]({'tag':_0xdd8639(0xa7),'attributes':{'class':['ck',_0xdd8639(0x95),_0xdd8639(0x9b),_0xdd8639(0x93),_0x76dd10['if'](_0xdd8639(0xa6),_0xdd8639(0xa0))]},'children':[this[_0xdd8639(0x8e)]]});}}
|
package/src/presencelist.d.ts
CHANGED
|
@@ -12,7 +12,8 @@ import PresenceListUI from './presencelist/presencelistui.js';
|
|
|
12
12
|
/**
|
|
13
13
|
* The `PresenceList` plugin provides a UI which displays all {@link module:collaboration-core/users~Users users} that are
|
|
14
14
|
* currently connected to the edited document. The users are displayed as a row of avatars.
|
|
15
|
-
* The information about the users is provided by
|
|
15
|
+
* The information about the users is provided by
|
|
16
|
+
* [CKEditor Cloud Services](https://ckeditor.com/docs/cs/latest/developer-resources/security/token-endpoint.html#user).
|
|
16
17
|
*
|
|
17
18
|
* The presence list UI collapses to a dropdown if six or more users are connected.
|
|
18
19
|
*/
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4a318e=_0x3c6c;(function(_0x15eb79,_0x3bbc08){var _0x4946ba=_0x3c6c,_0xf4590e=_0x15eb79();while(!![]){try{var _0x349755=parseInt(_0x4946ba(0x10b))/0x1+-parseInt(_0x4946ba(0x113))/0x2*(parseInt(_0x4946ba(0x119))/0x3)+parseInt(_0x4946ba(0x118))/0x4*(parseInt(_0x4946ba(0x111))/0x5)+parseInt(_0x4946ba(0x10e))/0x6+parseInt(_0x4946ba(0x10c))/0x7+parseInt(_0x4946ba(0x117))/0x8*(parseInt(_0x4946ba(0x10f))/0x9)+parseInt(_0x4946ba(0x11a))/0xa*(-parseInt(_0x4946ba(0x112))/0xb);if(_0x349755===_0x3bbc08)break;else _0xf4590e['push'](_0xf4590e['shift']());}catch(_0x45db65){_0xf4590e['push'](_0xf4590e['shift']());}}}(_0x4996,0x7b60e));function _0x3c6c(_0x544976,_0x31a683){var _0x499614=_0x4996();return _0x3c6c=function(_0x3c6c39,_0x58a992){_0x3c6c39=_0x3c6c39-0x10b;var _0x6ded63=_0x499614[_0x3c6c39];return _0x6ded63;},_0x3c6c(_0x544976,_0x31a683);}import{ContextPlugin as _0x4b722f}from'ckeditor5/src/core.js';function _0x4996(){var _0x408b11=['527571bYBTTJ','2037756AwzmSa','PresenceList','5065692KUfqWn','1152zWuiZX','requires','1995830WnwMls','11HZHmCZ','3106vXTBLV','pluginName','isPremiumPlugin','isOfficialPlugin','14680TCOUXO','4nqVuEO','633VRhWpu','14639660OYZUBs'];_0x4996=function(){return _0x408b11;};return _0x4996();}import _0x4f1332 from'./realtimecollaborativeediting/sessions.js';import _0x13bde9 from'./presencelist/presencelistui.js';export default class s extends _0x4b722f{static get[_0x4a318e(0x110)](){return[_0x4f1332,_0x13bde9];}static get[_0x4a318e(0x114)](){var _0x2d34e7=_0x4a318e;return _0x2d34e7(0x10d);}static get[_0x4a318e(0x116)](){return!0x0;}static get[_0x4a318e(0x115)](){return!0x0;}}
|
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1751ef=_0x1cba;(function(_0x2c54e5,_0xf264f9){const _0xf9b219=_0x1cba,_0x41c9f3=_0x2c54e5();while(!![]){try{const _0x14ba44=parseInt(_0xf9b219(0x1ae))/0x1+-parseInt(_0xf9b219(0x1a5))/0x2+-parseInt(_0xf9b219(0x1a0))/0x3+parseInt(_0xf9b219(0x1cf))/0x4+-parseInt(_0xf9b219(0x1ca))/0x5+-parseInt(_0xf9b219(0x1e0))/0x6+parseInt(_0xf9b219(0x180))/0x7;if(_0x14ba44===_0xf264f9)break;else _0x41c9f3['push'](_0x41c9f3['shift']());}catch(_0x46345b){_0x41c9f3['push'](_0x41c9f3['shift']());}}}(_0x15ec,0x42b46));import{Context as _0x192091,ContextPlugin as _0x544ceb}from'ckeditor5/src/core.js';import{CKEditorError as _0x15893d}from'ckeditor5/src/utils.js';import{Users as _0xb47302}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1cba(_0x1e9dcc,_0xe7dd2f){const _0x15ec29=_0x15ec();return _0x1cba=function(_0x1cba93,_0x276c49){_0x1cba93=_0x1cba93-0x17f;let _0x2b8ecc=_0x15ec29[_0x1cba93];return _0x2b8ecc;},_0x1cba(_0x1e9dcc,_0xe7dd2f);}import{CommentsService as _0x315dd4,User as _0x5ddffa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x15ec(){const _0x293e87=['_terminateService','attributes','addUser','userId','set','commentThreadReopened','plugins','createdAt','commentThreadRemoved','config','reconnect','from','getCommentThreads','has','pluginName','Permissions','reopenCommentThread','CommentsRepository','catch','getComment','cloudservicescommentsadapter-disconnect-not-exist','removeCommentThread','162984xfkpId','register','listenTo','commentThreadUpdated','404','580054UmHMZw','init','assign','map','getConnectedSessions','reopen','destroy','add','_connectService','62266sgWNkY','off','get','_fetchMissingUsersForThreads','getMany','_getService','commentId','commentAdded','delete','addCommentThread','startsWith','keys','cloudservicescommentsadapter-service-not-exist','collaboration.channelId','adapter','resolvedBy','comments','isOfficialPlugin','disconnect','CloudServicesCommentsAdapter','updateComment','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','connect','content','update','updateCommentThread','isPremiumPlugin','1792075QGJJJm','getCommentThread','sessionAdd:','permissions','unregister','1905748HlvpWI','commentUpdated','_setUpService','commentThreadId','requires','addToReconnectionStack','setPermissions','deletedAt','_services','removeComment','getUser','message','size','cloud-services-internal-error:\x20Not\x20connected.','addComment','authorId','context','310650FHlmip','cloudservicescommentsadapter-connect-already-connected','commentRemoved','3423448yrmPvp','code','remove','resolve','commentThreadResolved','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','CommentsService','resolvedAt','resolveCommentThread'];_0x15ec=function(){return _0x293e87;};return _0x15ec();}import _0x48d687 from'../realtimecollaborativeediting/websocketgateway.js';import _0x241fa8 from'../realtimecollaborativeediting/sessions.js';class a extends _0x544ceb{static get[_0x1751ef(0x1d3)](){const _0x2d0a81=_0x1751ef;return[_0x48d687,_0x2d0a81(0x19b),_0x241fa8,_0xb47302];}static get[_0x1751ef(0x198)](){const _0x27160a=_0x1751ef;return _0x27160a(0x1c1);}static get[_0x1751ef(0x1bf)](){return!0x0;}static get[_0x1751ef(0x1c9)](){return!0x0;}constructor(_0x287325){const _0x4e8af1=_0x1751ef;super(_0x287325),this[_0x4e8af1(0x1d7)]=new Map();}async[_0x1751ef(0x1a6)](){const _0x3dfae4=_0x1751ef,_0x5695f6=this[_0x3dfae4(0x1df)],_0x2a7f70=_0x5695f6[_0x3dfae4(0x190)][_0x3dfae4(0x1b0)](_0x3dfae4(0x19b));if(_0x5695f6[_0x3dfae4(0x190)][_0x3dfae4(0x1b0)](_0x48d687)[_0x3dfae4(0x1d4)](this),_0x2a7f70[_0x3dfae4(0x1bc)]={'addCommentThread':async({channelId:_0x5e0363,threadId:_0x28bf37,comments:_0x137e07,resolvedAt:_0x139905,resolvedBy:_0x3b7f37,context:_0x4b96a3,attributes:_0xd8939a})=>{const _0x1bf9e0=_0x3dfae4,_0x554ee9=await this[_0x1bf9e0(0x1b3)](_0x5e0363)[_0x1bf9e0(0x1b7)]({'commentThreadId':_0x28bf37,'comments':_0x137e07[_0x1bf9e0(0x1a8)](_0x20d63c=>function(_0x20afff,_0x109315,_0x279d14){const _0x6fe3cf=_0x1bf9e0;return{'commentThreadId':_0x279d14,'commentId':_0x20afff[_0x6fe3cf(0x1b4)],'userId':_0x20afff[_0x6fe3cf(0x1de)],'content':_0x20afff[_0x6fe3cf(0x1c6)],'documentId':_0x109315,'createdAt':_0x20afff[_0x6fe3cf(0x191)],'attributes':_0x20afff[_0x6fe3cf(0x18b)]||{}};}(_0x20d63c,_0x5e0363,_0x28bf37)),'resolvedAt':_0x139905,'resolvedBy':_0x3b7f37,'context':_0x4b96a3,'attributes':_0xd8939a})[_0x1bf9e0(0x19c)](R);return{'threadId':_0x554ee9[_0x1bf9e0(0x1d2)],'comments':_0x554ee9[_0x1bf9e0(0x1be)]};},'getCommentThread':async({channelId:_0x2e631d,threadId:_0xc131f6})=>{const _0x280053=_0x3dfae4,_0x45bc21=await this[_0x280053(0x1b3)](_0x2e631d)[_0x280053(0x1cb)](_0xc131f6)[_0x280053(0x19c)](R);return _0x45bc21[_0x280053(0x1d6)]?null:(await this[_0x280053(0x1b1)]([_0x45bc21]),{'threadId':_0x45bc21[_0x280053(0x1d2)],'comments':_0x45bc21[_0x280053(0x1be)][_0x280053(0x1a8)](S),'context':_0x45bc21[_0x280053(0x1df)],'resolvedAt':_0x45bc21[_0x280053(0x188)],'resolvedBy':_0x45bc21[_0x280053(0x1bd)],'attributes':_0x45bc21[_0x280053(0x18b)]||{}});},'updateCommentThread':async({channelId:_0x48c179,threadId:_0x27ee9c,context:_0x5cd8e8,unlinkedAt:_0x3786f3,attributes:_0x315587})=>this[_0x3dfae4(0x1b3)](_0x48c179)[_0x3dfae4(0x1c8)]({'commentThreadId':_0x27ee9c,'context':_0x5cd8e8,'attributes':_0x315587,'unlinkedAt':_0x3786f3})[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R),'resolveCommentThread':async({channelId:_0x2abc0f,threadId:_0x21d26b})=>{const _0x4551e5=_0x3dfae4,_0x6b4f26=await this[_0x4551e5(0x1b3)](_0x2abc0f)[_0x4551e5(0x189)](_0x21d26b)[_0x4551e5(0x19c)](B)[_0x4551e5(0x19c)](R);return{'threadId':_0x6b4f26[_0x4551e5(0x1d2)],'resolvedAt':_0x6b4f26[_0x4551e5(0x188)],'resolvedBy':_0x6b4f26[_0x4551e5(0x1bd)]};},'reopenCommentThread':async({channelId:_0x1daaf9,threadId:_0x3f7c48})=>this[_0x3dfae4(0x1b3)](_0x1daaf9)[_0x3dfae4(0x19a)](_0x3f7c48)[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R),'removeCommentThread':({channelId:_0x11f378,threadId:_0x297fd5})=>this[_0x3dfae4(0x1b3)](_0x11f378)[_0x3dfae4(0x19f)](_0x297fd5)[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R),'addComment':({channelId:_0x5ecf0d,threadId:_0x3c5bdb,commentId:_0x4ac803,content:_0x4544d4,attributes:_0x4809b4})=>this[_0x3dfae4(0x1b3)](_0x5ecf0d)[_0x3dfae4(0x1dd)](_0x3c5bdb,_0x4ac803,_0x4544d4,_0x4809b4)[_0x3dfae4(0x19c)](R),'updateComment':({channelId:_0x37a008,threadId:_0x387bd4,commentId:_0x240ba2,content:_0xecc1a6,attributes:_0x5bef5f})=>this[_0x3dfae4(0x1b3)](_0x37a008)[_0x3dfae4(0x1c2)](_0x387bd4,_0x240ba2,_0xecc1a6,_0x5bef5f)[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R),'removeComment':({channelId:_0x2db722,threadId:_0xb2bb32,commentId:_0x3599ef})=>this[_0x3dfae4(0x1b3)](_0x2db722)[_0x3dfae4(0x1d8)](_0xb2bb32,_0x3599ef)[_0x3dfae4(0x19c)](B)[_0x3dfae4(0x19c)](R)},_0x5695f6 instanceof _0x192091){const _0x208578=_0x5695f6[_0x3dfae4(0x193)][_0x3dfae4(0x1b0)](_0x3dfae4(0x1bb)),_0xa4828c=_0x5695f6[_0x3dfae4(0x190)][_0x3dfae4(0x1b0)](_0x241fa8);await this[_0x3dfae4(0x1d1)](_0x208578);const _0x167fd2=await this[_0x3dfae4(0x1d7)][_0x3dfae4(0x1b0)](_0x208578)[_0x3dfae4(0x1a9)]();this[_0x3dfae4(0x1a2)](_0xa4828c,_0x3dfae4(0x1cc)+_0x208578,(_0x54b7dc,{session:_0x5d2663})=>{const _0x4f917b=_0x3dfae4;_0x5d2663['id']===_0xa4828c[_0x4f917b(0x185)]&&(_0x54b7dc[_0x4f917b(0x1af)](),this[_0x4f917b(0x1df)][_0x4f917b(0x190)][_0x4f917b(0x1b0)](_0x4f917b(0x199))[_0x4f917b(0x1d5)](_0x5d2663[_0x4f917b(0x1cd)],_0x208578));}),_0xa4828c[_0x3dfae4(0x1a1)](_0x208578,_0x167fd2);}}async[_0x1751ef(0x1d1)](_0x235809){const _0x481272=_0x1751ef;if(this[_0x481272(0x1d7)][_0x481272(0x197)](_0x235809))throw new _0x15893d(_0x481272(0x1e1),null,{'channelId':_0x235809});const _0x238b2f=this[_0x481272(0x1df)][_0x481272(0x190)][_0x481272(0x1b0)](_0x481272(0x19b)),_0x212fe6=new a[(_0x481272(0x187))](_0x235809);this[_0x481272(0x1d7)][_0x481272(0x18e)](_0x235809,_0x212fe6),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x1c3),(_0x293689,_0x12c542)=>{const _0x38a606=_0x481272,{commentThreadId:_0x357eb6,documentId:_0x3c06d4,context:_0xe4297f,attributes:_0xc4f120,resolvedAt:_0x1631cd,resolvedBy:_0x255321,comments:_0x30a1e6}=_0x12c542;_0x238b2f[_0x38a606(0x1cb)](_0x357eb6)||_0x238b2f[_0x38a606(0x1b7)]({'threadId':_0x357eb6,'channelId':_0x3c06d4,'comments':_0x30a1e6?_0x30a1e6[_0x38a606(0x1a8)](S):[],'context':_0xe4297f,'attributes':_0xc4f120,'resolvedAt':_0x1631cd,'resolvedBy':_0x255321,'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x1a3),(_0x5f3dd7,{commentThreadId:_0x25a378,documentId:_0x37666c,context:_0x23a29,unlinkedAt:_0x53d612,attributes:_0x4addcf})=>{const _0x42436c=_0x481272;_0x238b2f[_0x42436c(0x1cb)](_0x25a378)&&_0x238b2f[_0x42436c(0x1c8)]({'threadId':_0x25a378,'channelId':_0x37666c,'context':_0x23a29,'unlinkedAt':_0x53d612,'attributes':_0x4addcf,'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x184),(_0x1afb2e,{commentThreadId:_0x3b3be2,resolvedBy:_0x8f06f9,resolvedAt:_0x44c431})=>{const _0x35ef21=_0x481272,_0x2e2e9d=_0x238b2f[_0x35ef21(0x1cb)](_0x3b3be2);_0x2e2e9d&&_0x2e2e9d[_0x35ef21(0x183)]({'resolvedBy':_0x8f06f9,'resolvedAt':_0x44c431,'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x18f),(_0x1f7f9b,{commentThreadId:_0x5902cd})=>{const _0x39b983=_0x481272,_0x2c5758=_0x238b2f[_0x39b983(0x1cb)](_0x5902cd);_0x2c5758&&_0x2c5758[_0x39b983(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x192),(_0x4efdbd,{commentThreadId:_0x3d0237})=>{const _0x4aa540=_0x481272,_0x23df2f=_0x238b2f[_0x4aa540(0x1cb)](_0x3d0237);_0x23df2f&&_0x23df2f[_0x4aa540(0x182)]({'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x1b5),(_0x235eef,_0x35c173)=>{const _0x1f5031=_0x481272,_0x47775b=_0x35c173[_0x1f5031(0x1d2)],_0x83a7f8=_0x238b2f[_0x1f5031(0x1cb)](_0x47775b);_0x83a7f8&&_0x83a7f8[_0x1f5031(0x1dd)]({...S(_0x35c173),'isFromAdapter':!0x0});}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x1d0),(_0x4bc89b,{commentThreadId:_0x243ac2,commentId:_0x433957,content:_0x2dca85,attributes:_0x2654e0})=>{const _0xaf04d6=_0x481272,_0x2d0fb1=_0x238b2f[_0xaf04d6(0x1cb)](_0x243ac2);if(_0x2d0fb1){const _0x3e0626=_0x2d0fb1[_0xaf04d6(0x19d)](_0x433957);_0x3e0626&&_0x3e0626[_0xaf04d6(0x1c7)]({'content':_0x2dca85,'attributes':_0x2654e0,'isFromAdapter':!0x0});}}),this[_0x481272(0x1a2)](_0x212fe6,_0x481272(0x17f),(_0x187b18,{commentThreadId:_0x3318e4,commentId:_0x62bd98})=>{const _0x142364=_0x481272,_0x29dd39=_0x238b2f[_0x142364(0x1cb)](_0x3318e4);if(_0x29dd39){const _0x5a82b0=_0x29dd39[_0x142364(0x19d)](_0x62bd98);_0x5a82b0&&_0x5a82b0[_0x142364(0x182)]({'isFromAdapter':!0x0});}}),await this[_0x481272(0x1ad)](_0x235809);}[_0x1751ef(0x1ab)](){const _0x529fa8=_0x1751ef;if(this[_0x529fa8(0x1df)]instanceof _0x192091){const _0x2e880b=this[_0x529fa8(0x1df)][_0x529fa8(0x193)][_0x529fa8(0x1b0)](_0x529fa8(0x1bb));this[_0x529fa8(0x18a)](_0x2e880b);}}[_0x1751ef(0x18a)](_0x214578){const _0x5e4493=_0x1751ef;if(!this[_0x5e4493(0x1d7)][_0x5e4493(0x197)](_0x214578))throw new _0x15893d(_0x5e4493(0x19e),null,{'channelId':_0x214578});this[_0x5e4493(0x1b3)](_0x214578)[_0x5e4493(0x1c0)](),this[_0x5e4493(0x1d7)][_0x5e4493(0x1b6)](_0x214578);}async[_0x1751ef(0x194)](){const _0xc97054=_0x1751ef;for(const _0x3b5d43 of this[_0xc97054(0x1d7)][_0xc97054(0x1b9)]())await this[_0xc97054(0x1ad)](_0x3b5d43);if(this[_0xc97054(0x1df)]instanceof _0x192091){const _0x17b3fc=this[_0xc97054(0x1df)][_0xc97054(0x193)][_0xc97054(0x1b0)](_0xc97054(0x1bb)),_0xf74bac=this[_0xc97054(0x1df)][_0xc97054(0x190)][_0xc97054(0x1b0)](_0x241fa8);_0xf74bac[_0xc97054(0x1ce)](_0x17b3fc);const _0x507082=await this[_0xc97054(0x1d7)][_0xc97054(0x1b0)](_0x17b3fc)[_0xc97054(0x1a9)]();_0xf74bac[_0xc97054(0x1a1)](_0x17b3fc,_0x507082);}}async[_0x1751ef(0x1ad)](_0x2ddf18){const _0x47954a=_0x1751ef,{connection:_0x2b318a}=this[_0x47954a(0x1df)][_0x47954a(0x190)][_0x47954a(0x1b0)](_0x48d687),_0xeb129a=this[_0x47954a(0x1df)][_0x47954a(0x190)][_0x47954a(0x1b0)](_0x47954a(0x19b)),_0x5ce55c=this[_0x47954a(0x1d7)][_0x47954a(0x1b0)](_0x2ddf18),_0x11f165=await _0x5ce55c[_0x47954a(0x1c5)](_0x2b318a);await this[_0x47954a(0x1b1)](_0x11f165);const _0xb482f=new Set(Array[_0x47954a(0x195)](_0xeb129a[_0x47954a(0x196)]({'channelId':_0x2ddf18}),_0x284c12=>_0x284c12['id']));for(const _0x394a6a of _0x11f165)_0x394a6a[_0x47954a(0x1d6)]||_0xb482f[_0x47954a(0x1b6)](_0x394a6a[_0x47954a(0x1d2)]);for(const _0x36d04e of _0xb482f)_0xeb129a[_0x47954a(0x1cb)](_0x36d04e)[_0x47954a(0x182)]({'isFromAdapter':!0x0});for(const _0x46d4d8 of _0x11f165){let _0x26c52c=_0xeb129a[_0x47954a(0x1cb)](_0x46d4d8[_0x47954a(0x1d2)]);const {commentThreadId:_0x32294e,context:_0xaa055e,attributes:_0x228c96,resolvedBy:_0x24eb4a,resolvedAt:_0x4b1a5f,unlinkedAt:_0x2745a4,deletedAt:_0x5309fa}=_0x46d4d8;if(_0x5309fa)continue;_0x26c52c||(_0x26c52c=_0xeb129a[_0x47954a(0x1b7)]({'channelId':_0x2ddf18,'threadId':_0x32294e,'context':_0xaa055e,'attributes':_0x228c96||{},'resolvedBy':_0x24eb4a,'resolvedAt':_0x4b1a5f,'unlinkedAt':_0x2745a4,'isFromAdapter':!0x0}));const _0x153693=new Set(Array[_0x47954a(0x195)](_0x26c52c[_0x47954a(0x1be)],_0x52cfab=>_0x52cfab['id']));for(const _0x7de5e7 of _0x46d4d8[_0x47954a(0x1be)])_0x153693[_0x47954a(0x1b6)](_0x7de5e7[_0x47954a(0x1b4)]);for(const _0xdab0fc of _0x153693)_0x26c52c[_0x47954a(0x19d)](_0xdab0fc)[_0x47954a(0x182)]({'isFromAdapter':!0x0});for(const _0x4ef4d4 of _0x46d4d8[_0x47954a(0x1be)]){const _0x1f453f=_0x26c52c[_0x47954a(0x19d)](_0x4ef4d4[_0x47954a(0x1b4)]);_0x1f453f?_0x1f453f[_0x47954a(0x1c6)]!==_0x4ef4d4[_0x47954a(0x1c6)]&&_0x1f453f[_0x47954a(0x1c7)]({'content':_0x4ef4d4[_0x47954a(0x1c6)],'isFromAdapter':!0x0}):_0x26c52c[_0x47954a(0x1dd)](Object[_0x47954a(0x1a7)](S(_0x4ef4d4),{'isFromAdapter':!0x0}));}}}[_0x1751ef(0x1b3)](_0x3798c1){const _0xff372c=_0x1751ef;if(!this[_0xff372c(0x1d7)][_0xff372c(0x197)](_0x3798c1))throw new _0x15893d(_0xff372c(0x1ba),null,{'channelId':_0x3798c1});return this[_0xff372c(0x1d7)][_0xff372c(0x1b0)](_0x3798c1);}async[_0x1751ef(0x1b1)](_0x5bf165){const _0x361b36=_0x1751ef,_0x1e64f8=this[_0x361b36(0x1df)][_0x361b36(0x190)][_0x361b36(0x1b0)](_0xb47302),{connection:_0x520ca2}=this[_0x361b36(0x1df)][_0x361b36(0x190)][_0x361b36(0x1b0)](_0x48d687),_0x4d2b89=new Set();for(const {resolvedBy:_0x1dd3df,comments:_0x1c84ca}of _0x5bf165){_0x1dd3df&&!_0x1e64f8[_0x361b36(0x1d9)](_0x1dd3df)&&_0x4d2b89[_0x361b36(0x1ac)](_0x1dd3df);for(const {userId:_0x1fd67e}of _0x1c84ca)_0x1e64f8[_0x361b36(0x1d9)](_0x1fd67e)||_0x4d2b89[_0x361b36(0x1ac)](_0x1fd67e);}if(0x0===_0x4d2b89[_0x361b36(0x1db)])return;const _0x426625=await _0x5ddffa[_0x361b36(0x1b2)](_0x520ca2,Array[_0x361b36(0x195)](_0x4d2b89));for(const _0x1d9193 of _0x426625)_0x1e64f8[_0x361b36(0x1d9)](_0x1d9193['id'])||_0x1e64f8[_0x361b36(0x18c)](_0x1d9193);}}a[_0x1751ef(0x187)]=_0x315dd4;export default a;async function B(_0x6faf39){const _0x372ad6=_0x1751ef;if(_0x372ad6(0x1a4)!==_0x6faf39[_0x372ad6(0x181)])throw _0x6faf39;}function R(_0x2bde27){const _0x4bd2cf=_0x1751ef;if((_0x178bd8=_0x2bde27)[_0x4bd2cf(0x1da)][_0x4bd2cf(0x1b8)](_0x4bd2cf(0x186))||_0x178bd8[_0x4bd2cf(0x1da)][_0x4bd2cf(0x1b8)](_0x4bd2cf(0x1dc))||_0x178bd8[_0x4bd2cf(0x1da)][_0x4bd2cf(0x1b8)](_0x4bd2cf(0x1c4)))return new Promise(()=>{});var _0x178bd8;throw _0x2bde27;}function S(_0x5b6a10){const _0x351cb7=_0x1751ef;return{'threadId':_0x5b6a10[_0x351cb7(0x1d2)],'commentId':_0x5b6a10[_0x351cb7(0x1b4)],'content':_0x5b6a10[_0x351cb7(0x1c6)],'createdAt':_0x5b6a10[_0x351cb7(0x191)],'authorId':_0x5b6a10[_0x351cb7(0x18d)],'attributes':_0x5b6a10[_0x351cb7(0x18b)]||{}};}
|
|
23
|
+
function _0x43d9(){const _0x20b8d8=['404','_getService','connect','1389725VdtuAP','resolvedBy','disconnect','CloudServicesCommentsAdapter','cloudservicescommentsadapter-connect-already-connected','_setUpService','addUser','updateCommentThread','130Excjhj','authorId','unregister','listenTo','sessionAdd:','796116WFwdRs','33MGiTVx','reopenCommentThread','get','getUser','config','removeComment','commentThreadId','2625lOFvfP','addToReconnectionStack','commentUpdated','attributes','setPermissions','adapter','16wefqKq','getMany','_services','map','cloud-services-internal-error:\x20Not\x20connected.','19074ENSPxV','message','4498152EerQdj','cloudservicescommentsadapter-disconnect-not-exist','commentThreadUpdated','deletedAt','size','commentThreadRemoved','resolveCommentThread','updateComment','startsWith','permissions','init','removeCommentThread','keys','isPremiumPlugin','delete','set','collaboration.channelId','from','destroy','assign','commentThreadAdded','getComment','register','Permissions','cloud-services-internal-error:\x20Request\x20timeout.','off','createdAt','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','mySessionId','add','pluginName','cloudservicescommentsadapter-service-not-exist','reopen','comments','resolve','commentId','_terminateService','4354StyPmy','code','resolvedAt','content','remove','plugins','reconnect','getConnectedSessions','has','CommentsRepository','478161oHfbsx','88435XDrlZP','getCommentThreads','userId','2073lOegmC','commentThreadReopened','commentThreadResolved','requires','commentRemoved','getCommentThread','CommentsService','_connectService','commentAdded','isOfficialPlugin','catch','addComment','_fetchMissingUsersForThreads','addCommentThread','context','update'];_0x43d9=function(){return _0x20b8d8;};return _0x43d9();}const _0x40e4ca=_0x11c8;function _0x11c8(_0x51612e,_0x42371e){const _0x43d9e0=_0x43d9();return _0x11c8=function(_0x11c87c,_0x4be887){_0x11c87c=_0x11c87c-0x1e1;let _0x32a0db=_0x43d9e0[_0x11c87c];return _0x32a0db;},_0x11c8(_0x51612e,_0x42371e);}(function(_0x2b00cc,_0x416673){const _0x4dea6b=_0x11c8,_0xb1c16a=_0x2b00cc();while(!![]){try{const _0x289f3e=parseInt(_0x4dea6b(0x221))/0x1+parseInt(_0x4dea6b(0x216))/0x2*(-parseInt(_0x4dea6b(0x224))/0x3)+-parseInt(_0x4dea6b(0x1ea))/0x4*(-parseInt(_0x4dea6b(0x237))/0x5)+-parseInt(_0x4dea6b(0x1ef))/0x6*(-parseInt(_0x4dea6b(0x1e4))/0x7)+-parseInt(_0x4dea6b(0x1f1))/0x8+parseInt(_0x4dea6b(0x220))/0x9*(parseInt(_0x4dea6b(0x23f))/0xa)+parseInt(_0x4dea6b(0x245))/0xb*(-parseInt(_0x4dea6b(0x244))/0xc);if(_0x289f3e===_0x416673)break;else _0xb1c16a['push'](_0xb1c16a['shift']());}catch(_0x8ed113){_0xb1c16a['push'](_0xb1c16a['shift']());}}}(_0x43d9,0xc7904));import{Context as _0x11f16f,ContextPlugin as _0x24781c}from'ckeditor5/src/core.js';import{CKEditorError as _0x32e311}from'ckeditor5/src/utils.js';import{Users as _0x2d786c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x27d75a,User as _0x4487ec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x61a640 from'../realtimecollaborativeediting/websocketgateway.js';import _0xfce28f from'../realtimecollaborativeediting/sessions.js';class a extends _0x24781c{static [_0x40e4ca(0x22a)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x27d75a)());[_0x40e4ca(0x1ec)];static get[_0x40e4ca(0x227)](){const _0x23fba8=_0x40e4ca;return[_0x61a640,_0x23fba8(0x21f),_0xfce28f,_0x2d786c];}static get[_0x40e4ca(0x20f)](){const _0x1fa3d4=_0x40e4ca;return _0x1fa3d4(0x23a);}static get[_0x40e4ca(0x22d)](){return!0x0;}static get[_0x40e4ca(0x1fe)](){return!0x0;}constructor(_0xd9374a){const _0x3d55f9=_0x40e4ca;super(_0xd9374a),this[_0x3d55f9(0x1ec)]=new Map();}async[_0x40e4ca(0x1fb)](){const _0x4afb7c=_0x40e4ca,_0xee47b3=this[_0x4afb7c(0x232)],_0x4b79ef=_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0x4afb7c(0x21f));if(_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0x61a640)[_0x4afb7c(0x1e5)](this),_0x4b79ef[_0x4afb7c(0x1e9)]={'addCommentThread':async({channelId:_0x139817,threadId:_0x14d8be,comments:_0x514db7,resolvedAt:_0x229305,resolvedBy:_0x526e48,context:_0xf477ba,attributes:_0x2ec3af})=>{const _0x1cf216=_0x4afb7c,_0x224309=await this[_0x1cf216(0x235)](_0x139817)[_0x1cf216(0x231)]({'commentThreadId':_0x14d8be,'comments':_0x514db7[_0x1cf216(0x1ed)](_0x51bc3e=>function(_0x2d4d6e,_0x5779f9,_0x275a0a){const _0x193c1f=_0x1cf216;return{'commentThreadId':_0x275a0a,'commentId':_0x2d4d6e[_0x193c1f(0x214)],'userId':_0x2d4d6e[_0x193c1f(0x240)],'content':_0x2d4d6e[_0x193c1f(0x219)],'documentId':_0x5779f9,'createdAt':_0x2d4d6e[_0x193c1f(0x20b)],'attributes':_0x2d4d6e[_0x193c1f(0x1e7)]||{}};}(_0x51bc3e,_0x139817,_0x14d8be)),'resolvedAt':_0x229305,'resolvedBy':_0x526e48,'context':_0xf477ba,'attributes':_0x2ec3af})[_0x1cf216(0x22e)](R);return{'threadId':_0x224309[_0x1cf216(0x1e3)],'comments':_0x224309[_0x1cf216(0x212)]};},'getCommentThread':async({channelId:_0x44180b,threadId:_0x3db45a})=>{const _0x546562=_0x4afb7c,_0x2e9e7a=await this[_0x546562(0x235)](_0x44180b)[_0x546562(0x229)](_0x3db45a)[_0x546562(0x22e)](R);return _0x2e9e7a[_0x546562(0x1f4)]?null:(await this[_0x546562(0x230)]([_0x2e9e7a]),{'threadId':_0x2e9e7a[_0x546562(0x1e3)],'comments':_0x2e9e7a[_0x546562(0x212)][_0x546562(0x1ed)](_),'context':_0x2e9e7a[_0x546562(0x232)],'resolvedAt':_0x2e9e7a[_0x546562(0x218)],'resolvedBy':_0x2e9e7a[_0x546562(0x238)],'attributes':_0x2e9e7a[_0x546562(0x1e7)]||{}});},'updateCommentThread':async({channelId:_0x101aad,threadId:_0x163d3c,context:_0x2642d5,unlinkedAt:_0x2f56d9,attributes:_0x179846})=>this[_0x4afb7c(0x235)](_0x101aad)[_0x4afb7c(0x23e)]({'commentThreadId':_0x163d3c,'context':_0x2642d5,'attributes':_0x179846,'unlinkedAt':_0x2f56d9})[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'resolveCommentThread':async({channelId:_0x426b21,threadId:_0x283663})=>{const _0xe138c8=_0x4afb7c,_0x52dc71=await this[_0xe138c8(0x235)](_0x426b21)[_0xe138c8(0x1f7)](_0x283663)[_0xe138c8(0x22e)](S)[_0xe138c8(0x22e)](R);return{'threadId':_0x52dc71[_0xe138c8(0x1e3)],'resolvedAt':_0x52dc71[_0xe138c8(0x218)],'resolvedBy':_0x52dc71[_0xe138c8(0x238)]};},'reopenCommentThread':async({channelId:_0x139d14,threadId:_0x9a3e04})=>this[_0x4afb7c(0x235)](_0x139d14)[_0x4afb7c(0x246)](_0x9a3e04)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'removeCommentThread':({channelId:_0x28a663,threadId:_0x4583a8})=>this[_0x4afb7c(0x235)](_0x28a663)[_0x4afb7c(0x1fc)](_0x4583a8)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'addComment':({channelId:_0x5399a0,threadId:_0xbbce78,commentId:_0x1de155,content:_0x474562,attributes:_0x552a8b})=>this[_0x4afb7c(0x235)](_0x5399a0)[_0x4afb7c(0x22f)](_0xbbce78,_0x1de155,_0x474562,_0x552a8b)[_0x4afb7c(0x22e)](R),'updateComment':({channelId:_0x54ca01,threadId:_0x46830a,commentId:_0x2e7ab1,content:_0x56ef59,attributes:_0x23203e})=>this[_0x4afb7c(0x235)](_0x54ca01)[_0x4afb7c(0x1f8)](_0x46830a,_0x2e7ab1,_0x56ef59,_0x23203e)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'removeComment':({channelId:_0x2c7ab6,threadId:_0x5553b6,commentId:_0x21a91a})=>this[_0x4afb7c(0x235)](_0x2c7ab6)[_0x4afb7c(0x1e2)](_0x5553b6,_0x21a91a)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R)},_0xee47b3 instanceof _0x11f16f){const _0xb35500=_0xee47b3[_0x4afb7c(0x1e1)][_0x4afb7c(0x247)](_0x4afb7c(0x201)),_0x3c77df=_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0xfce28f);await this[_0x4afb7c(0x23c)](_0xb35500);const _0x93a062=await this[_0x4afb7c(0x1ec)][_0x4afb7c(0x247)](_0xb35500)[_0x4afb7c(0x21d)]();this[_0x4afb7c(0x242)](_0x3c77df,_0x4afb7c(0x243)+_0xb35500,(_0x4b4b03,{session:_0x3db69f})=>{const _0x50e51d=_0x4afb7c;_0x3db69f['id']===_0x3c77df[_0x50e51d(0x20d)]&&(_0x4b4b03[_0x50e51d(0x20a)](),this[_0x50e51d(0x232)][_0x50e51d(0x21b)][_0x50e51d(0x247)](_0x50e51d(0x208))[_0x50e51d(0x1e8)](_0x3db69f[_0x50e51d(0x1fa)],_0xb35500));}),_0x3c77df[_0x4afb7c(0x207)](_0xb35500,_0x93a062);}}async[_0x40e4ca(0x23c)](_0x1dae76){const _0x163241=_0x40e4ca;if(this[_0x163241(0x1ec)][_0x163241(0x21e)](_0x1dae76))throw new _0x32e311(_0x163241(0x23b),null,{'channelId':_0x1dae76});const _0x217f02=this[_0x163241(0x232)][_0x163241(0x21b)][_0x163241(0x247)](_0x163241(0x21f)),_0x4c9ae8=new a[(_0x163241(0x22a))](_0x1dae76);this[_0x163241(0x1ec)][_0x163241(0x200)](_0x1dae76,_0x4c9ae8),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x205),(_0x3b7ab8,_0xc1315d)=>{const _0x2e6ee4=_0x163241,{commentThreadId:_0x3dfa93,documentId:_0x31f4b0,context:_0x48edae,attributes:_0x4bce28,resolvedAt:_0x2ad3aa,resolvedBy:_0x5297dd,comments:_0x543922}=_0xc1315d;_0x217f02[_0x2e6ee4(0x229)](_0x3dfa93)||_0x217f02[_0x2e6ee4(0x231)]({'threadId':_0x3dfa93,'channelId':_0x31f4b0,'comments':_0x543922?_0x543922[_0x2e6ee4(0x1ed)](_):[],'context':_0x48edae,'attributes':_0x4bce28,'resolvedAt':_0x2ad3aa,'resolvedBy':_0x5297dd,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1f3),(_0x13a312,{commentThreadId:_0x594ac4,documentId:_0x398196,context:_0x4ec27a,unlinkedAt:_0x226176,attributes:_0xc69793})=>{const _0x296391=_0x163241;_0x217f02[_0x296391(0x229)](_0x594ac4)&&_0x217f02[_0x296391(0x23e)]({'threadId':_0x594ac4,'channelId':_0x398196,'context':_0x4ec27a,'unlinkedAt':_0x226176,'attributes':_0xc69793,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x226),(_0x2b7225,{commentThreadId:_0x2a3602,resolvedBy:_0x204414,resolvedAt:_0x2104b0})=>{const _0x14c621=_0x163241,_0x4efee0=_0x217f02[_0x14c621(0x229)](_0x2a3602);_0x4efee0&&_0x4efee0[_0x14c621(0x213)]({'resolvedBy':_0x204414,'resolvedAt':_0x2104b0,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x225),(_0xbc8768,{commentThreadId:_0x54f5d7})=>{const _0x5bb98c=_0x163241,_0x14d0a9=_0x217f02[_0x5bb98c(0x229)](_0x54f5d7);_0x14d0a9&&_0x14d0a9[_0x5bb98c(0x211)]({'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1f6),(_0x7d3a19,{commentThreadId:_0x415922})=>{const _0x4de81b=_0x163241,_0x45b8bd=_0x217f02[_0x4de81b(0x229)](_0x415922);_0x45b8bd&&_0x45b8bd[_0x4de81b(0x21a)]({'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x22c),(_0x238980,_0x26b929)=>{const _0x6cbc8a=_0x163241,_0x21d218=_0x26b929[_0x6cbc8a(0x1e3)],_0x30dacf=_0x217f02[_0x6cbc8a(0x229)](_0x21d218);_0x30dacf&&_0x30dacf[_0x6cbc8a(0x22f)]({..._(_0x26b929),'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1e6),(_0x1c9fe3,{commentThreadId:_0x4f060a,commentId:_0x5c6115,content:_0x447619,attributes:_0x2b21da})=>{const _0x2d7d1a=_0x163241,_0x500b38=_0x217f02[_0x2d7d1a(0x229)](_0x4f060a);if(_0x500b38){const _0x5300c1=_0x500b38[_0x2d7d1a(0x206)](_0x5c6115);_0x5300c1&&_0x5300c1[_0x2d7d1a(0x233)]({'content':_0x447619,'attributes':_0x2b21da,'isFromAdapter':!0x0});}}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x228),(_0x1bcd26,{commentThreadId:_0xb20c95,commentId:_0xd0ed3})=>{const _0x88039=_0x163241,_0x253872=_0x217f02[_0x88039(0x229)](_0xb20c95);if(_0x253872){const _0x59d72d=_0x253872[_0x88039(0x206)](_0xd0ed3);_0x59d72d&&_0x59d72d[_0x88039(0x21a)]({'isFromAdapter':!0x0});}}),await this[_0x163241(0x22b)](_0x1dae76);}[_0x40e4ca(0x203)](){const _0x458b12=_0x40e4ca;if(this[_0x458b12(0x232)]instanceof _0x11f16f){const _0x15d51a=this[_0x458b12(0x232)][_0x458b12(0x1e1)][_0x458b12(0x247)](_0x458b12(0x201));this[_0x458b12(0x215)](_0x15d51a);}}[_0x40e4ca(0x215)](_0x1717c2){const _0x1d0bfc=_0x40e4ca;if(!this[_0x1d0bfc(0x1ec)][_0x1d0bfc(0x21e)](_0x1717c2))throw new _0x32e311(_0x1d0bfc(0x1f2),null,{'channelId':_0x1717c2});this[_0x1d0bfc(0x235)](_0x1717c2)[_0x1d0bfc(0x239)](),this[_0x1d0bfc(0x1ec)][_0x1d0bfc(0x1ff)](_0x1717c2);}async[_0x40e4ca(0x21c)](){const _0x3a3858=_0x40e4ca;for(const _0xcd4718 of this[_0x3a3858(0x1ec)][_0x3a3858(0x1fd)]())await this[_0x3a3858(0x22b)](_0xcd4718);if(this[_0x3a3858(0x232)]instanceof _0x11f16f){const _0x13c618=this[_0x3a3858(0x232)][_0x3a3858(0x1e1)][_0x3a3858(0x247)](_0x3a3858(0x201)),_0x5a1707=this[_0x3a3858(0x232)][_0x3a3858(0x21b)][_0x3a3858(0x247)](_0xfce28f);_0x5a1707[_0x3a3858(0x241)](_0x13c618);const _0x1c12d5=await this[_0x3a3858(0x1ec)][_0x3a3858(0x247)](_0x13c618)[_0x3a3858(0x21d)]();_0x5a1707[_0x3a3858(0x207)](_0x13c618,_0x1c12d5);}}async[_0x40e4ca(0x22b)](_0x46d359){const _0x14a0a5=_0x40e4ca,{connection:_0x4d6ea1}=this[_0x14a0a5(0x232)][_0x14a0a5(0x21b)][_0x14a0a5(0x247)](_0x61a640),_0x20fa45=this[_0x14a0a5(0x232)][_0x14a0a5(0x21b)][_0x14a0a5(0x247)](_0x14a0a5(0x21f)),_0x28a99a=this[_0x14a0a5(0x1ec)][_0x14a0a5(0x247)](_0x46d359),_0x442288=await _0x28a99a[_0x14a0a5(0x236)](_0x4d6ea1);await this[_0x14a0a5(0x230)](_0x442288);const _0x481724=new Set(Array[_0x14a0a5(0x202)](_0x20fa45[_0x14a0a5(0x222)]({'channelId':_0x46d359}),_0xbbbca=>_0xbbbca['id']));for(const _0x191cb7 of _0x442288)_0x191cb7[_0x14a0a5(0x1f4)]||_0x481724[_0x14a0a5(0x1ff)](_0x191cb7[_0x14a0a5(0x1e3)]);for(const _0x54e310 of _0x481724)_0x20fa45[_0x14a0a5(0x229)](_0x54e310)[_0x14a0a5(0x21a)]({'isFromAdapter':!0x0});for(const _0x454619 of _0x442288){let _0x20e2ea=_0x20fa45[_0x14a0a5(0x229)](_0x454619[_0x14a0a5(0x1e3)]);const {commentThreadId:_0x14890c,context:_0x2c3ee6,attributes:_0x53dc80,resolvedBy:_0x6be7b6,resolvedAt:_0x22bfb0,unlinkedAt:_0x17e10a,deletedAt:_0x4f0666}=_0x454619;if(_0x4f0666)continue;_0x20e2ea||(_0x20e2ea=_0x20fa45[_0x14a0a5(0x231)]({'channelId':_0x46d359,'threadId':_0x14890c,'context':_0x2c3ee6,'attributes':_0x53dc80||{},'resolvedBy':_0x6be7b6,'resolvedAt':_0x22bfb0,'unlinkedAt':_0x17e10a,'isFromAdapter':!0x0}));const _0x1bf509=new Set(Array[_0x14a0a5(0x202)](_0x20e2ea[_0x14a0a5(0x212)],_0x3e70d8=>_0x3e70d8['id']));for(const _0xa13248 of _0x454619[_0x14a0a5(0x212)])_0x1bf509[_0x14a0a5(0x1ff)](_0xa13248[_0x14a0a5(0x214)]);for(const _0x25edbc of _0x1bf509)_0x20e2ea[_0x14a0a5(0x206)](_0x25edbc)[_0x14a0a5(0x21a)]({'isFromAdapter':!0x0});for(const _0x56e63f of _0x454619[_0x14a0a5(0x212)]){const _0x21a944=_0x20e2ea[_0x14a0a5(0x206)](_0x56e63f[_0x14a0a5(0x214)]);_0x21a944?_0x21a944[_0x14a0a5(0x219)]!==_0x56e63f[_0x14a0a5(0x219)]&&_0x21a944[_0x14a0a5(0x233)]({'content':_0x56e63f[_0x14a0a5(0x219)],'isFromAdapter':!0x0}):_0x20e2ea[_0x14a0a5(0x22f)](Object[_0x14a0a5(0x204)](_(_0x56e63f),{'isFromAdapter':!0x0}));}}}[_0x40e4ca(0x235)](_0x652d5d){const _0xe83c95=_0x40e4ca;if(!this[_0xe83c95(0x1ec)][_0xe83c95(0x21e)](_0x652d5d))throw new _0x32e311(_0xe83c95(0x210),null,{'channelId':_0x652d5d});return this[_0xe83c95(0x1ec)][_0xe83c95(0x247)](_0x652d5d);}async[_0x40e4ca(0x230)](_0x14952f){const _0xf07c7=_0x40e4ca,_0x58e40f=this[_0xf07c7(0x232)][_0xf07c7(0x21b)][_0xf07c7(0x247)](_0x2d786c),{connection:_0xca5bd2}=this[_0xf07c7(0x232)][_0xf07c7(0x21b)][_0xf07c7(0x247)](_0x61a640),_0x5ccc9f=new Set();for(const {resolvedBy:_0x2755f1,comments:_0xbec4fa}of _0x14952f){_0x2755f1&&!_0x58e40f[_0xf07c7(0x248)](_0x2755f1)&&_0x5ccc9f[_0xf07c7(0x20e)](_0x2755f1);for(const {userId:_0x194468}of _0xbec4fa)_0x58e40f[_0xf07c7(0x248)](_0x194468)||_0x5ccc9f[_0xf07c7(0x20e)](_0x194468);}if(0x0===_0x5ccc9f[_0xf07c7(0x1f5)])return;const _0x5c360d=await _0x4487ec[_0xf07c7(0x1eb)](_0xca5bd2,Array[_0xf07c7(0x202)](_0x5ccc9f));for(const _0x38da54 of _0x5c360d)_0x58e40f[_0xf07c7(0x248)](_0x38da54['id'])||_0x58e40f[_0xf07c7(0x23d)](_0x38da54);}}export default a;async function S(_0x2e2dd7){const _0x115814=_0x40e4ca;if(_0x115814(0x234)!==_0x2e2dd7[_0x115814(0x217)])throw _0x2e2dd7;}function R(_0x58ab01){const _0x5e7fce=_0x40e4ca;if((_0x2fb55c=_0x58ab01)[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x20c))||_0x2fb55c[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x1ee))||_0x2fb55c[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x209)))return new Promise(()=>{});var _0x2fb55c;throw _0x58ab01;}function _(_0x309ea9){const _0x45cdde=_0x40e4ca;return{'threadId':_0x309ea9[_0x45cdde(0x1e3)],'commentId':_0x309ea9[_0x45cdde(0x214)],'content':_0x309ea9[_0x45cdde(0x219)],'createdAt':_0x309ea9[_0x45cdde(0x20b)],'authorId':_0x309ea9[_0x45cdde(0x223)],'attributes':_0x309ea9[_0x45cdde(0x1e7)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ff33b=_0x3572;(function(_0x2b83b7,_0x9f0497){const _0x2b36e3=_0x3572,_0x48032e=_0x2b83b7();while(!![]){try{const _0xef5b89=parseInt(_0x2b36e3(0x1e9))/0x1+parseInt(_0x2b36e3(0x1fc))/0x2*(parseInt(_0x2b36e3(0x1f4))/0x3)+parseInt(_0x2b36e3(0x1dc))/0x4*(-parseInt(_0x2b36e3(0x1db))/0x5)+-parseInt(_0x2b36e3(0x1f5))/0x6*(parseInt(_0x2b36e3(0x1e4))/0x7)+parseInt(_0x2b36e3(0x1ee))/0x8+parseInt(_0x2b36e3(0x1ef))/0x9*(parseInt(_0x2b36e3(0x1f8))/0xa)+parseInt(_0x2b36e3(0x1e0))/0xb;if(_0xef5b89===_0x9f0497)break;else _0x48032e['push'](_0x48032e['shift']());}catch(_0x88752a){_0x48032e['push'](_0x48032e['shift']());}}}(_0x5aa5,0x8ed90));function _0x3572(_0x311593,_0x4f09c4){const _0x5aa580=_0x5aa5();return _0x3572=function(_0x357226,_0x4a74ea){_0x357226=_0x357226-0x1da;let _0x63b660=_0x5aa580[_0x357226];return _0x63b660;},_0x3572(_0x311593,_0x4f09c4);}import{Plugin as _0x37aef9}from'ckeditor5/src/core.js';import _0x2253e1 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x235ae2 from'./realtimecollaborativeediting.js';function _0x5aa5(){const _0x286dcb=['config','switchReadOnly','6835587UjJUyM','listenTo','destroy','isOfficialPlugin','115941DVawTd','plugins','change:state','CommentsRepository','pluginName','220034OPqSlb','_terminateService','RealTimeCollaborativeComments','isPremiumPlugin','data','7465016CbwDtH','234btpcGa','_setUpService','collaboration.channelId','isThreadsLoadingPaused','ready','235371pQWCKx','372rJPXBW','connected','Comments','225610SnWVWS','editor','once','get','6DXmOcf','CommentsEditing','init','125MqcscT','157524Isrspp','requires'];_0x5aa5=function(){return _0x286dcb;};return _0x5aa5();}import _0xd53675 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x37aef9{static get[_0x4ff33b(0x1dd)](){const _0x12924d=_0x4ff33b;return[_0x12924d(0x1f7),_0x2253e1,_0x235ae2,_0xd53675];}static get[_0x4ff33b(0x1e8)](){const _0x1fcd44=_0x4ff33b;return _0x1fcd44(0x1eb);}static get[_0x4ff33b(0x1e3)](){return!0x0;}static get[_0x4ff33b(0x1ec)](){return!0x0;}[_0x4ff33b(0x1da)](){const _0x384fa8=_0x4ff33b,_0x1e3507=this[_0x384fa8(0x1f9)][_0x384fa8(0x1e5)][_0x384fa8(0x1fb)](_0xd53675),_0x197f6c=this[_0x384fa8(0x1f9)][_0x384fa8(0x1e5)][_0x384fa8(0x1fb)](_0x384fa8(0x1fd)),_0x4ab4fe=this[_0x384fa8(0x1f9)][_0x384fa8(0x1e5)][_0x384fa8(0x1fb)](_0x2253e1);return this[_0x384fa8(0x1f9)][_0x384fa8(0x1ed)][_0x384fa8(0x1fa)](_0x384fa8(0x1f3),()=>{const _0x21e529=_0x384fa8;this[_0x21e529(0x1e1)](_0x1e3507,_0x21e529(0x1e6),(_0x225c3f,_0x390e45,_0x16b93b)=>{const _0x212f43=_0x21e529;_0x197f6c[_0x212f43(0x1f2)]=_0x212f43(0x1f6)!==_0x16b93b;});}),this[_0x384fa8(0x1e1)](_0x1e3507,_0x384fa8(0x1e6),(_0x17e0e6,_0x265253,_0x8eb07e)=>{const _0x417cef=_0x384fa8;this[_0x417cef(0x1f9)][_0x417cef(0x1e5)][_0x417cef(0x1fb)](_0x417cef(0x1e7))[_0x417cef(0x1df)](_0x417cef(0x1f6)!==_0x8eb07e);}),_0x4ab4fe[_0x384fa8(0x1f0)](this[_0x384fa8(0x1f9)][_0x384fa8(0x1de)][_0x384fa8(0x1fb)](_0x384fa8(0x1f1)));}[_0x4ff33b(0x1e2)](){const _0x3c5c15=_0x4ff33b;this[_0x3c5c15(0x1f9)][_0x3c5c15(0x1e5)][_0x3c5c15(0x1fb)](_0x2253e1)[_0x3c5c15(0x1ea)](this[_0x3c5c15(0x1f9)][_0x3c5c15(0x1de)][_0x3c5c15(0x1fb)](_0x3c5c15(0x1f1))),super[_0x3c5c15(0x1e2)]();}}
|
|
@@ -20,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4fec(){const _0x2a9614=['sessionAdd:','realtimecollaborationclient-init-service-incorrect-server-operation','_handleInitialConnectionData','compress','suppressErrorInCollaboration','connect','disableReadOnlyMode','10141614IqZMfe','_sendBufferedOperations','listenTo','createRange','bind','213930eGaLpO','lastOperationId','operationsReceived','removeFromReconnectionStack','enqueueChange','collaboration.channelId','directChange','_addKnownRoot','start','_lastServerVersion','_offset','createUserMarkerOperations','filter','requires','type','size','_currentBufferDelay','_isInit','addToReconnectionStack','multi-root-editor-root-attributes-no-root','stop','cloud-services-internal-error:\x20Not\x20connected.','get','_setPendingAction','editing','sessionId','setIdForTheLastOperation','realtimecollaborationclient','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.','isOfficialPlugin','11730299GKbHuG','$root','_crash','showWarning','addRootAttribute','703758eFqoDg','set','end','addOperation','36yisVVy','collaboration','PENDING_ACTION_SENDING_DATA','connected','_clearPendingAction','_saveOperationInBuffer','startsWith','keys','return','markers','message','_hasSynchronizationProblem','getUser','locale','_fetchMissingUsers','_operationToId','_getOperationsFromInitData','remove','_authorId','__className','_handleReceivedOperations','forEach','selection','clone','change:range','1661474yzzSap','_bufferRootLoad','string','_service','fire','baseVersion','409','collaboration-missing-channelid','destroy','round','_handleReconnectionError','permissions','change:hasDomSelection','finally','rootsAttributes','realtimecollaborationclient-sendbufferedoperations','toJSON','isEnabled','getConnectedSessions','_document','_initSessionsHandling','_bufferedOperations','plugins','affectedSelectable','lastOperationAcceptedAt','targetPosition','register','setPermissions','metadata','_sendBufferedOperationsDelayed','createRoot','init','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.','_pendingAction','_disconnectionOperations','_isLoaded','getMany','ready','CollaborativeEditingService','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','state','_connectService','_shouldSendUpdate','roots','model','userId','realtimecollaborationclient-init-non-existent-root','fromJSON','lastSyncVersion','off','code','_handleSendingSelectionMarkers','history','parse','_getAffectedRoot','sessionCreatedAt','_ignoredOperations','position','connection','enableReadOnlyMode','_compressOperations','disconnect','Notification','addUser','realtimecollaborationclient-error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','reset','serverHistory','add','getOperations','_isConnected','realtimecollaborationclient-init-session-connection-error','change:_isEditingAllowed','define','newRange','_channelId','cs:removeUser','affectsData','_compressor','_lastSyncedOperationId','from','_baseBufferDelay','_isAttached','getOperationAuthor','_setUpDataInit','realtimecollaborationclient-init-connection-failed','change:_isPendingUpdate','apply','_disconnectService','isPremiumPlugin','Synchronization\x20issue','realtimecollaborationclient-handleserverresponse','404','_applyOperationsSet','loadRoot','stopListening','realtimecollaborationclient-init-document-already-initialized','differ','error','unregister','createPositionAt','data','_initThrowingOnDataSet','3412OtVMee','createdAt','rootName','document','_waitUntilSynced','_isEditingAllowed','_knownRootNames','has','getIdOfTheLastOperation','_updateServerHistory','initData','createPositionFromPath','getDocumentDetails','_shouldSendSelectionUpdate','insert','isDocumentOperation','_isDisconnection','_handleExternalOperations','mySessionId','catch','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','rtc-destroyed','document:write','map','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rtc-offline','attributes','lastDocumentSession','pluginName','applyOperation','_sendBufferedOperationsDelayId','Permissions','batch','high','InsertOperation','1857tQoVwV','getRoot','decompress','_refreshUserSelectionMarkers','isUndoneOperation','move','disconnected','push','config','12550240elrDHW','version','_hasSelectionChanged','currentDocumentSession','cloud-services-internal-error:\x20Request\x20timeout.','isReadOnly','realtimecollaborationclient-init-service-internal-error','_loadRoot','cloudServices.bundleVersion','root','marker','path','includes','wasUndone','editor','_handleReconnectionResponse','length','CommentsOnly','real-time-collaboration','_connectAfterSessionHasBeenFlushed','wereChangesApplied','then','_handleServerResponse','view','addRoot','entries','_decompressOperations','_isPendingUpdate','reconnect','reconnection:\x20flushed\x20session','slice','channelSessions','_knownOperations','RealTimeCollaborationClient','sendOperations','offset','cloudDocumentVersion','_operationIdentifier'];_0x4fec=function(){return _0x2a9614;};return _0x4fec();}const _0x31f80d=_0x3597;function _0x3597(_0x46dadd,_0x3ec713){const _0x4fec29=_0x4fec();return _0x3597=function(_0x359712,_0x33c8e0){_0x359712=_0x359712-0x11a;let _0x5b45e4=_0x4fec29[_0x359712];return _0x5b45e4;},_0x3597(_0x46dadd,_0x3ec713);}(function(_0x4f93cc,_0x1b9405){const _0xc4c62c=_0x3597,_0xc3c60b=_0x4f93cc();while(!![]){try{const _0x2df3ff=-parseInt(_0xc4c62c(0x1e1))/0x1+parseInt(_0xc4c62c(0x143))/0x2*(parseInt(_0xc4c62c(0x166))/0x3)+-parseInt(_0xc4c62c(0x1c8))/0x4*(-parseInt(_0xc4c62c(0x1a1))/0x5)+-parseInt(_0xc4c62c(0x1c4))/0x6+parseInt(_0xc4c62c(0x1bf))/0x7+-parseInt(_0xc4c62c(0x16f))/0x8+parseInt(_0xc4c62c(0x19c))/0x9;if(_0x2df3ff===_0x1b9405)break;else _0xc3c60b['push'](_0xc3c60b['shift']());}catch(_0x4817ce){_0xc3c60b['push'](_0xc3c60b['shift']());}}}(_0x4fec,0xdac90));import{Plugin as _0x3a91b3,PendingActions as _0x52abce}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b2791,version as _0x36be02,uid as _0x1b73fb}from'ckeditor5/src/utils.js';import{Notification as _0x49cee7}from'ckeditor5/src/ui.js';import{transformSets as _0x5c38c1,NoOperation as _0x1167be,InsertOperation as _0x207f8e,MarkerOperation as _0x2f9242,RootAttributeOperation as _0x5bb2c5,OperationFactory as _0x3eb348,History as _0x21922a}from'ckeditor5/src/engine.js';import _0x5400b7 from'./websocketgateway.js';import _0x487d5f from'./sessions.js';import _0x48fe73 from'./usermarkers.js';import{getTranslation as _0x3d41b2}from'../common-translations.js';import{Compressor as _0x389eff}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x37b2d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x59f905,CollaborativeEditingService as _0x20ad45}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x3a91b3{static get[_0x31f80d(0x1ae)](){return[_0x5400b7,_0x487d5f,_0x48fe73,_0x52abce,_0x37b2d8,_0x49cee7];}static get[_0x31f80d(0x15f)](){const _0x1c8917=_0x31f80d;return _0x1c8917(0x190);}static get[_0x31f80d(0x1be)](){return!0x0;}static get[_0x31f80d(0x135)](){return!0x0;}get[_0x31f80d(0x193)](){const _0x302f7e=_0x31f80d;return this[_0x302f7e(0x1aa)]+this[_0x302f7e(0x1ab)];}get[_0x31f80d(0x1aa)](){const _0x25adbb=_0x31f80d;return this[_0x25adbb(0x11f)][_0x25adbb(0x170)]-this[_0x25adbb(0x1ab)];}get[_0x31f80d(0x211)](){const _0x2e427d=_0x31f80d,_0x92c0b3=this[_0x2e427d(0x11f)][_0x2e427d(0x121)]();for(let _0x1b9296=_0x92c0b3[_0x2e427d(0x17f)]-0x1;_0x1b9296>=0x0;_0x1b9296--){const _0x447c9e=_0x92c0b3[_0x1b9296];if(!this[_0x2e427d(0x203)][_0x2e427d(0x14a)](_0x447c9e))return _0x447c9e[_0x2e427d(0x1e6)]+0x1-this[_0x2e427d(0x1ab)];}return 0x0;}constructor(_0x8ef14d){const _0x5e5672=_0x31f80d;if(super(_0x8ef14d),this[_0x5e5672(0x1ab)]=0x0,this[_0x5e5672(0x1ba)]=null,this[_0x5e5672(0x11f)]=new _0x21922a(),this[_0x5e5672(0x17d)][_0x5e5672(0x16e)][_0x5e5672(0x125)](_0x5e5672(0x1c9),{}),this[_0x5e5672(0x127)]=this[_0x5e5672(0x17d)][_0x5e5672(0x16e)][_0x5e5672(0x1b7)](_0x5e5672(0x1a6)),!this[_0x5e5672(0x127)])throw new _0x3b2791(_0x5e5672(0x1e8),this);const _0x1676d7=_0x8ef14d[_0x5e5672(0x16e)][_0x5e5672(0x1b7)](_0x5e5672(0x177))||_0x36be02;this[_0x5e5672(0x1e4)]=new l[(_0x5e5672(0x207))](_0x1676d7,this[_0x5e5672(0x127)]),this[_0x5e5672(0x1f4)]=this[_0x5e5672(0x17d)][_0x5e5672(0x20d)][_0x5e5672(0x146)],this[_0x5e5672(0x12a)]=new _0x389eff(),this[_0x5e5672(0x1f6)]=[],this[_0x5e5672(0x18f)]=new WeakSet(),this[_0x5e5672(0x149)]=new Set(),this[_0x5e5672(0x1c5)](_0x5e5672(0x18a),!0x1),this[_0x5e5672(0x1c5)](_0x5e5672(0x1d3),!0x1),this[_0x5e5672(0x202)]=null,this[_0x5e5672(0x171)]=!0x1,this[_0x5e5672(0x161)]=null,this[_0x5e5672(0x12d)]=0x12c,this[_0x5e5672(0x1b1)]=this[_0x5e5672(0x12d)],this[_0x5e5672(0x12b)]=null,this[_0x5e5672(0x203)]=new WeakSet(),this[_0x5e5672(0x194)]=new it(this[_0x5e5672(0x203)]);}[_0x31f80d(0x200)](){const _0x2186ec=_0x31f80d,_0x43d5bb=this[_0x2186ec(0x17d)],_0x2792a0=_0x43d5bb[_0x2186ec(0x1f7)][_0x2186ec(0x1b7)](_0x37b2d8),_0x570560=_0x43d5bb[_0x2186ec(0x1f7)][_0x2186ec(0x1b7)](_0x5400b7);this[_0x2186ec(0x19e)](_0x2792a0,_0x2186ec(0x12f),(_0x876c41,_0x38a3a0)=>{const _0x1903e5=_0x2186ec,_0x3785bd=_0x38a3a0[0x0];_0x3785bd[_0x1903e5(0x1da)]&&(_0x876c41[_0x1903e5(0x1d0)]=_0x2792a0[_0x1903e5(0x1d4)](_0x3785bd[_0x1903e5(0x1da)]),_0x876c41[_0x1903e5(0x1b5)]()),null===_0x3785bd[_0x1903e5(0x1da)]&&(_0x876c41[_0x1903e5(0x1d0)]=null,_0x876c41[_0x1903e5(0x1b5)]());},{'priority':_0x2186ec(0x164)}),this[_0x2186ec(0x19e)](_0x43d5bb[_0x2186ec(0x20d)][_0x2186ec(0x146)][_0x2186ec(0x1de)],_0x2186ec(0x1e0),(_0x5cb906,_0x19dbce)=>{const _0x3b2d62=_0x2186ec;_0x19dbce[_0x3b2d62(0x1a7)]&&this[_0x3b2d62(0x169)]();}),this[_0x2186ec(0x19e)](_0x43d5bb[_0x2186ec(0x1b9)][_0x2186ec(0x186)],_0x2186ec(0x1ed),()=>{const _0x11e2fe=_0x2186ec;this[_0x11e2fe(0x169)]();}),this[_0x2186ec(0x142)](),_0x43d5bb[_0x2186ec(0x20d)]['on'](_0x2186ec(0x160),(_0x577da0,_0x189a59)=>{const _0x19ffb1=_0x2186ec,_0x41129a=_0x189a59[0x0];_0x41129a[_0x19ffb1(0x152)]&&(this[_0x19ffb1(0x1cd)](_0x41129a),this[_0x19ffb1(0x20b)]()&&this[_0x19ffb1(0x1fe)]());}),this[_0x2186ec(0x130)](),this[_0x2186ec(0x1a0)](_0x2186ec(0x148))['to'](_0x570560,_0x2186ec(0x209),this,_0x2186ec(0x1d3),(_0x4c6a83,_0x56330a)=>_0x2186ec(0x1cb)===_0x4c6a83&&!_0x56330a),this['on'](_0x2186ec(0x124),()=>{const _0x329535=_0x2186ec;this[_0x329535(0x148)]?_0x43d5bb[_0x329535(0x19b)](_0x329535(0x15c)):_0x43d5bb[_0x329535(0x21c)](_0x329535(0x15c));}),this[_0x2186ec(0x148)]?_0x43d5bb[_0x2186ec(0x19b)](_0x2186ec(0x15c)):_0x43d5bb[_0x2186ec(0x21c)](_0x2186ec(0x15c)),this[_0x2186ec(0x1c5)](_0x2186ec(0x122),!0x1);}async[_0x31f80d(0x18b)](){const _0x183f69=_0x31f80d,_0x3ae5fc=this[_0x183f69(0x17d)][_0x183f69(0x1f7)][_0x183f69(0x1b7)](_0x487d5f),_0x421b65=this[_0x183f69(0x17d)][_0x183f69(0x1f7)][_0x183f69(0x1b7)](_0x5400b7);try{this[_0x183f69(0x18a)]=!0x0,_0x3ae5fc[_0x183f69(0x13f)](this[_0x183f69(0x127)]);const _0x200cda=await this[_0x183f69(0x1e4)][_0x183f69(0x18b)](_0x421b65[_0x183f69(0x21b)],this[_0x183f69(0x211)]);await this[_0x183f69(0x17e)](_0x200cda)&&(this[_0x183f69(0x18a)]=!0x1,this[_0x183f69(0x1cc)]());const _0x5adbbe=await this[_0x183f69(0x1e4)][_0x183f69(0x1f3)]();_0x3ae5fc[_0x183f69(0x1fb)](this[_0x183f69(0x127)],_0x5adbbe),this[_0x183f69(0x214)](),this[_0x183f69(0x122)]=!0x0;}catch(_0x1e103c){if(function(_0x210620){const _0x3279f3=_0x183f69;return _0x3279f3(0x138)===_0x210620[_0x3279f3(0x213)];}(_0x1e103c)&&this[_0x183f69(0x1ba)])await this[_0x183f69(0x182)]();else{if(function(_0x3eb078){const _0x101bdb=_0x183f69;return _0x101bdb(0x1e7)===_0x3eb078[_0x101bdb(0x213)];}(_0x1e103c)){const _0x4b5191=_0x3d41b2(this[_0x183f69(0x17d)][_0x183f69(0x1d5)],_0x183f69(0x11d));this[_0x183f69(0x1eb)](_0x4b5191);}else{if(!(_0x1e103c instanceof Z))throw _0x1e103c;this[_0x183f69(0x1eb)]();}}}}[_0x31f80d(0x1e9)](){const _0x4b66a7=_0x31f80d,_0x252c26=this[_0x4b66a7(0x17d)][_0x4b66a7(0x1f7)][_0x4b66a7(0x1b7)](_0x5400b7),_0x38e7a5=this[_0x4b66a7(0x17d)][_0x4b66a7(0x1f7)][_0x4b66a7(0x1b7)](_0x487d5f);this[_0x4b66a7(0x17d)][_0x4b66a7(0x21c)](_0x4b66a7(0x158)),_0x38e7a5[_0x4b66a7(0x18e)][_0x4b66a7(0x14a)](this[_0x4b66a7(0x127)])&&_0x38e7a5[_0x4b66a7(0x13f)](this[_0x4b66a7(0x127)]),_0x252c26[_0x4b66a7(0x1a4)](this),this[_0x4b66a7(0x134)](),super[_0x4b66a7(0x1e9)]();}async[_0x31f80d(0x17e)](_0x4bf315){const _0x320057=_0x31f80d;if(this[_0x320057(0x1ba)]!==_0x4bf315[_0x320057(0x1ba)]&&this[_0x320057(0x12b)]!==_0x4bf315[_0x320057(0x1a2)])throw new Z();return this[_0x320057(0x1ba)]=_0x4bf315[_0x320057(0x1ba)],this[_0x320057(0x185)]([],{..._0x4bf315,'wereChangesApplied':!0x1,'data':_0x4bf315[_0x320057(0x141)]},_0x320057(0x18b));}async[_0x31f80d(0x20a)](_0x77eb69,_0x4b8749=!0x1){const _0x41d3ae=_0x31f80d,{connection:_0x4fcdb3}=this[_0x41d3ae(0x17d)][_0x41d3ae(0x1f7)][_0x41d3ae(0x1b7)](_0x5400b7);l[_0x41d3ae(0x207)][_0x41d3ae(0x1f3)](_0x4fcdb3,this[_0x41d3ae(0x127)])[_0x41d3ae(0x184)](_0xfb83f7=>this[_0x41d3ae(0x1f5)](_0xfb83f7))[_0x41d3ae(0x156)](_0x2958ff=>{const _0x59e32b=_0x41d3ae;this[_0x59e32b(0x1c1)](_0x59e32b(0x123),_0x2958ff);}),this[_0x41d3ae(0x19e)](this[_0x41d3ae(0x1e4)],_0x41d3ae(0x1a3),this[_0x41d3ae(0x1dc)][_0x41d3ae(0x1a0)](this)),this[_0x41d3ae(0x19e)](this[_0x41d3ae(0x1e4)],_0x41d3ae(0x13e),(_0x535b31,_0xc068ad)=>{const _0x32a45d=_0x41d3ae;this[_0x32a45d(0x1c1)](_0x32a45d(0x175),_0xc068ad);}),this[_0x41d3ae(0x19e)](this[_0x41d3ae(0x1e4)],_0x41d3ae(0x16c),()=>{const _0x164ffa=_0x41d3ae;this[_0x164ffa(0x122)]=!0x1;});const _0x1a6255=this[_0x41d3ae(0x194)][_0x41d3ae(0x14b)](_0x77eb69);this[_0x41d3ae(0x18a)]=!0x0;const _0x48e4f2=await this[_0x41d3ae(0x1e4)][_0x41d3ae(0x19a)](_0x4fcdb3,this[_0x41d3ae(0x21d)](_0x77eb69),_0x1a6255);if(this[_0x41d3ae(0x1ba)]=_0x48e4f2[_0x41d3ae(0x1ba)],_0x4b8749){if(!_0x48e4f2[_0x41d3ae(0x183)])return void this[_0x41d3ae(0x1eb)]();this[_0x41d3ae(0x18a)]=!0x1,this[_0x41d3ae(0x1cc)](),this[_0x41d3ae(0x11f)][_0x41d3ae(0x11e)](),this[_0x41d3ae(0x1ab)]=_0x48e4f2[_0x41d3ae(0x192)],this[_0x41d3ae(0x11f)][_0x41d3ae(0x170)]=this[_0x41d3ae(0x1ab)],await this[_0x41d3ae(0x185)](_0x77eb69,_0x48e4f2,_0x41d3ae(0x18c));}else await this[_0x41d3ae(0x197)](_0x48e4f2,_0x77eb69);this[_0x41d3ae(0x214)](),this[_0x41d3ae(0x122)]=!0x0;}[_0x31f80d(0x214)](){const _0x5466b9=_0x31f80d,_0x1a5876=this[_0x5466b9(0x17d)][_0x5466b9(0x1f7)][_0x5466b9(0x1b7)](_0x487d5f),_0x4cdf92=this[_0x5466b9(0x17d)][_0x5466b9(0x1f7)][_0x5466b9(0x1b7)](_0x48fe73),_0x5200fe=_0x1a5876[_0x5466b9(0x18e)][_0x5466b9(0x1b7)](this[_0x5466b9(0x127)]);_0x5200fe&&_0x5200fe[_0x5466b9(0x17f)]>0x1?_0x4cdf92[_0x5466b9(0x1ac)]():this[_0x5466b9(0x19e)](_0x1a5876,_0x5466b9(0x195)+this[_0x5466b9(0x127)],()=>{const _0x4ebd60=_0x5466b9;0x2===_0x1a5876[_0x4ebd60(0x18e)][_0x4ebd60(0x1b7)](this[_0x4ebd60(0x127)])[_0x4ebd60(0x17f)]&&_0x4cdf92[_0x4ebd60(0x1ac)]();});}async[_0x31f80d(0x1dc)](_0x409c94,_0x1294e5,_0x49712,_0x49ed07){const _0x1b0728=_0x31f80d;if(!this[_0x1b0728(0x18a)]&&this[_0x1b0728(0x1f4)][_0x1b0728(0x170)]==_0x1294e5){const _0x47fa1a=this[_0x1b0728(0x189)](_0x49712,_0x49ed07);await this[_0x1b0728(0x1d6)](_0x47fa1a),this[_0x1b0728(0x154)](_0x47fa1a,_0x1294e5,_0x49712[_0x1b0728(0x1a2)])||this[_0x1b0728(0x1c1)](_0x1b0728(0x196));}}async[_0x31f80d(0x182)](){const _0x555efc=_0x31f80d;this[_0x555efc(0x134)]();const {locale:_0x56bd02}=this[_0x555efc(0x17d)];let _0x349bc9;try{_0x349bc9=await this[_0x555efc(0x1e4)][_0x555efc(0x14f)]();}catch(_0x2f4d09){const _0x432220=_0x3d41b2(_0x56bd02,_0x555efc(0x15b));return void this[_0x555efc(0x1eb)](_0x432220);}const _0x53281f=_0x349bc9[_0x555efc(0x172)]||_0x349bc9[_0x555efc(0x15e)];if(this[_0x555efc(0x12b)]===_0x53281f[_0x555efc(0x1a2)])await this[_0x555efc(0x20a)](this[_0x555efc(0x17d)][_0x555efc(0x20d)][_0x555efc(0x146)][_0x555efc(0x215)][_0x555efc(0x121)](),!0x0);else{const _0x5c26c5=_0x3d41b2(_0x56bd02,_0x555efc(0x201));this[_0x555efc(0x1eb)](_0x5c26c5);}}[_0x31f80d(0x134)](){const _0x325c52=_0x31f80d;this[_0x325c52(0x1e4)][_0x325c52(0x21e)](),this[_0x325c52(0x1f6)]=[],clearTimeout(this[_0x325c52(0x161)]),this[_0x325c52(0x13b)](this[_0x325c52(0x1e4)]);}[_0x31f80d(0x1f5)](_0x223a11){const _0x2db3d7=_0x31f80d,_0x45cf8a=this[_0x2db3d7(0x17d)][_0x2db3d7(0x1f7)][_0x2db3d7(0x1b7)](_0x487d5f);this[_0x2db3d7(0x19e)](_0x45cf8a,_0x2db3d7(0x195)+this[_0x2db3d7(0x127)],(_0x5874e3,{session:_0x5070ec})=>{const _0x24177c=_0x2db3d7;if(_0x5070ec['id']===_0x45cf8a[_0x24177c(0x155)]){_0x5874e3[_0x24177c(0x212)]();const _0x5c6cf3=this[_0x24177c(0x17d)][_0x24177c(0x1f7)][_0x24177c(0x14a)](_0x24177c(0x180))&&this[_0x24177c(0x17d)][_0x24177c(0x1f7)][_0x24177c(0x1b7)](_0x24177c(0x180));let _0x3f79f9=_0x5070ec[_0x24177c(0x1ec)];_0x5c6cf3&&_0x5c6cf3[_0x24177c(0x1f2)]&&(_0x3f79f9=_0x3f79f9[_0x24177c(0x1ad)](_0x3b4939=>_0x24177c(0x159)!==_0x3b4939)),this[_0x24177c(0x17d)][_0x24177c(0x1f7)][_0x24177c(0x1b7)](_0x24177c(0x162))[_0x24177c(0x1fc)](_0x3f79f9,this[_0x24177c(0x127)]);}}),_0x45cf8a[_0x2db3d7(0x1fb)](this[_0x2db3d7(0x127)],_0x223a11);}[_0x31f80d(0x142)](){const _0x551735=_0x31f80d,_0x128580=this[_0x551735(0x17d)][_0x551735(0x141)][_0x551735(0x1c5)];this[_0x551735(0x17d)][_0x551735(0x141)][_0x551735(0x1c5)]=(..._0x72df27)=>{const _0x18c92c=_0x551735;if(!_0x72df27[_0x72df27[_0x18c92c(0x17f)]-0x1][_0x18c92c(0x199)])throw new _0x3b2791(_0x18c92c(0x157),this);_0x128580[_0x18c92c(0x133)](this[_0x18c92c(0x17d)][_0x18c92c(0x141)],_0x72df27);};}[_0x31f80d(0x130)](){const _0x215915=_0x31f80d;this[_0x215915(0x17d)][_0x215915(0x141)]['on'](_0x215915(0x200),(_0xcccfcf,[_0x5be94e])=>{const _0x41d326=_0x215915;if(this[_0x41d326(0x1f4)][_0x41d326(0x170)])throw new _0x3b2791(_0x41d326(0x13c),this);_0xcccfcf[_0x41d326(0x1b5)](),this[_0x41d326(0x1b8)]();const _0x2b4617=this[_0x41d326(0x17d)][_0x41d326(0x16e)][_0x41d326(0x1b7)](_0x41d326(0x1ef)),_0x463ad8=this[_0x41d326(0x1d8)](_0x5be94e,_0x2b4617);0x0==_0x463ad8[_0x41d326(0x17f)]&&_0x463ad8[_0x41d326(0x16d)](new _0x1167be(0x0)),_0xcccfcf[_0x41d326(0x1d0)]=this[_0x41d326(0x20a)](_0x463ad8)[_0x41d326(0x184)](()=>{const _0x58a339=_0x41d326;this[_0x58a339(0x17d)][_0x58a339(0x1f7)][_0x58a339(0x1b7)](_0x5400b7)[_0x58a339(0x1b3)](this),this[_0x58a339(0x17d)][_0x58a339(0x141)][_0x58a339(0x1e5)](_0x58a339(0x206));})[_0x41d326(0x156)](_0x1041b3=>this[_0x41d326(0x1c1)](_0x41d326(0x131),_0x1041b3))[_0x41d326(0x1ee)](()=>this[_0x41d326(0x1cc)]());},{'priority':_0x215915(0x164)}),this[_0x215915(0x17d)]['on'](_0x215915(0x13a),async(_0x5b8b8b,[_0x524727,_0x26ec5d])=>{const _0x620c72=_0x215915;_0x5b8b8b[_0x620c72(0x1b5)]();const _0x210030=this[_0x620c72(0x17d)][_0x620c72(0x20d)][_0x620c72(0x146)][_0x620c72(0x167)](_0x524727);if(!this[_0x620c72(0x149)][_0x620c72(0x14a)](_0x524727)){const _0x366f9f=_0x26ec5d&&_0x26ec5d[_0x620c72(0x141)]?_0x26ec5d[_0x620c72(0x141)]:'',_0x3af5f4=_0x26ec5d&&_0x26ec5d[_0x620c72(0x15d)]?_0x26ec5d[_0x620c72(0x15d)]:{};await this[_0x620c72(0x176)](_0x524727,_0x366f9f,_0x3af5f4);}this[_0x620c72(0x17d)][_0x620c72(0x20d)][_0x620c72(0x1a5)]({'isUndoable':!0x1},()=>{const _0x131f0a=_0x620c72;_0x210030[_0x131f0a(0x204)]=!0x0,this[_0x131f0a(0x17d)][_0x131f0a(0x20d)][_0x131f0a(0x146)][_0x131f0a(0x13d)][_0x131f0a(0x1e2)](_0x210030);});},{'priority':_0x215915(0x164)});}async[_0x31f80d(0x1d6)](_0x46ceab){const _0x53c944=_0x31f80d,_0x399e1e=this[_0x53c944(0x17d)][_0x53c944(0x1f7)][_0x53c944(0x1b7)](_0x37b2d8),{connection:_0x298e2f}=this[_0x53c944(0x17d)][_0x53c944(0x1f7)][_0x53c944(0x1b7)](_0x5400b7),_0x3e9e19=new Set();for(const _0x288c82 of _0x46ceab){const _0x5c3a32=_0x288c82[_0x53c944(0x1da)];_0x5c3a32&&!_0x399e1e[_0x53c944(0x1d4)](_0x5c3a32)&&_0x3e9e19[_0x53c944(0x120)](_0x5c3a32);}if(0x0===_0x3e9e19[_0x53c944(0x1b0)])return;const _0x18ea18=await _0x59f905[_0x53c944(0x205)](_0x298e2f,Array[_0x53c944(0x12c)](_0x3e9e19));for(const _0x2f8df6 of _0x18ea18)_0x399e1e[_0x53c944(0x1d4)](_0x2f8df6['id'])||_0x399e1e[_0x53c944(0x11b)](_0x2f8df6);}[_0x31f80d(0x1d8)](_0x361a00,_0x33ad04={}){const _0x3b6692=_0x31f80d,_0xd914f=this[_0x3b6692(0x17d)][_0x3b6692(0x20d)],_0x5acf10=[];let _0x43118b=0x0;const _0x25d7d9=_0x3b6692(0x1e3)==typeof _0x361a00?{'main':_0x361a00}:_0x361a00;for(const _0x3331fa of Object[_0x3b6692(0x1cf)](_0x25d7d9)){if(!this[_0x3b6692(0x1f4)][_0x3b6692(0x20c)][_0x3b6692(0x14a)](_0x3331fa))throw new _0x3b2791(_0x3b6692(0x20f),this);const _0x2d9941=this[_0x3b6692(0x17d)][_0x3b6692(0x141)][_0x3b6692(0x216)](_0x25d7d9[_0x3331fa]),_0x1a4416=this[_0x3b6692(0x1f4)][_0x3b6692(0x167)](_0x3331fa),_0x1c96f7=new _0x207f8e(_0xd914f[_0x3b6692(0x140)](_0x1a4416,0x0),_0x2d9941,_0x43118b++);_0x5acf10[_0x3b6692(0x16d)](_0x1c96f7);for(const [_0x430745,_0x349025]of _0x2d9941[_0x3b6692(0x1d1)]){const _0x5d53b0=_0xd914f[_0x3b6692(0x19f)](_0xd914f[_0x3b6692(0x14e)](_0x1a4416,_0x349025[_0x3b6692(0x1a9)][_0x3b6692(0x17a)][_0x3b6692(0x18d)]()),_0xd914f[_0x3b6692(0x14e)](_0x1a4416,_0x349025[_0x3b6692(0x1c6)][_0x3b6692(0x17a)][_0x3b6692(0x18d)]())),_0x379288=new _0x2f9242(_0x430745,null,_0x5d53b0,_0xd914f[_0x3b6692(0x1d1)],!0x0,_0x43118b++);_0x5acf10[_0x3b6692(0x16d)](_0x379288);}}if(_0x33ad04)for(const [_0x54fe06,_0x92fae0]of Object[_0x3b6692(0x188)](_0x33ad04)){const _0x233c91=_0xd914f[_0x3b6692(0x146)][_0x3b6692(0x167)](_0x54fe06);if(!_0x233c91)throw new _0x3b2791(_0x3b6692(0x1b4),null);for(const [_0x58ac3d,_0x27f258]of Object[_0x3b6692(0x188)](_0x92fae0))if(null!==_0x27f258){const _0x36c235=new _0x5bb2c5(_0x233c91,_0x58ac3d,null,_0x27f258,_0x43118b++);_0x5acf10[_0x3b6692(0x16d)](_0x36c235);}}return _0x5acf10;}async[_0x31f80d(0x176)](_0x5c73e9,_0x74f255,_0x32ce1b){const _0x24810b=_0x31f80d;this[_0x24810b(0x1d8)]({[_0x5c73e9]:_0x74f255},{[_0x5c73e9]:_0x32ce1b})[_0x24810b(0x1dd)]((_0x188fa8,_0x24c27c)=>{const _0x15bde8=_0x24810b;_0x188fa8[_0x15bde8(0x1e6)]=this[_0x15bde8(0x1f4)][_0x15bde8(0x170)]+_0x24c27c,_0x188fa8[_0x15bde8(0x1b2)]=!0x0,this[_0x15bde8(0x1cd)](_0x188fa8);}),this[_0x24810b(0x1fe)](),await this[_0x24810b(0x147)]();}async[_0x31f80d(0x197)](_0x5e02ad,_0x2849ad){const _0x25ed68=_0x31f80d;let _0x542ed9;this[_0x25ed68(0x1ab)]=_0x5e02ad[_0x25ed68(0x192)];const _0x3dafa2=_0x5e02ad[_0x25ed68(0x183)]&&!_0x5e02ad[_0x25ed68(0x14d)],_0x2e0f40=_0x3dafa2?0x0:_0x5e02ad[_0x25ed68(0x141)][_0x25ed68(0x1e6)];if(_0x2849ad[_0x25ed68(0x1dd)](_0x23d8b2=>{const _0x4a78a8=_0x25ed68;_0x23d8b2[_0x4a78a8(0x1b2)]=!0x0,_0x23d8b2[_0x4a78a8(0x144)]=_0x5e02ad[_0x4a78a8(0x218)],_0x23d8b2[_0x4a78a8(0x1da)]=null;}),_0x3dafa2)_0x542ed9=_0x2849ad,this[_0x25ed68(0x139)](_0x542ed9,_0x3dafa2);else{if(_0x5e02ad[_0x25ed68(0x14d)]){const _0x33cb13=this[_0x25ed68(0x1d8)](_0x5e02ad[_0x25ed68(0x14d)]);this[_0x25ed68(0x1f4)][_0x25ed68(0x215)][_0x25ed68(0x170)]=-_0x33cb13[_0x25ed68(0x17f)],_0x33cb13[_0x25ed68(0x1dd)](_0x41036b=>{const _0x52d937=_0x25ed68;_0x41036b[_0x52d937(0x1e6)]-=_0x33cb13[_0x52d937(0x17f)],_0x41036b[_0x52d937(0x144)]=_0x5e02ad[_0x52d937(0x218)],_0x41036b[_0x52d937(0x1b2)]=!0x0,_0x41036b[_0x52d937(0x1da)]=null;}),this[_0x25ed68(0x139)](_0x33cb13,!0x0),this[_0x25ed68(0x11f)][_0x25ed68(0x170)]=-_0x33cb13[_0x25ed68(0x17f)]+this[_0x25ed68(0x1ab)],this[_0x25ed68(0x14c)](_0x33cb13);}this[_0x25ed68(0x1f4)][_0x25ed68(0x215)][_0x25ed68(0x170)]=_0x2e0f40,_0x542ed9=this[_0x25ed68(0x189)](_0x5e02ad[_0x25ed68(0x141)],_0x5e02ad[_0x25ed68(0x1fd)]),await this[_0x25ed68(0x1d6)](_0x542ed9),this[_0x25ed68(0x139)](_0x542ed9,_0x3dafa2);}_0x5e02ad[_0x25ed68(0x1a2)]&&(this[_0x25ed68(0x194)][_0x25ed68(0x1bb)](_0x542ed9,_0x5e02ad[_0x25ed68(0x1a2)]),this[_0x25ed68(0x12b)]=_0x5e02ad[_0x25ed68(0x1a2)]),this[_0x25ed68(0x11f)][_0x25ed68(0x170)]=_0x2e0f40+this[_0x25ed68(0x1ab)],this[_0x25ed68(0x14c)](_0x542ed9),_0x2849ad[_0x25ed68(0x1ad)](_0x13a4a6=>{const _0x1bb984=_0x25ed68,_0x514bd3=this[_0x1bb984(0x217)](_0x13a4a6);return _0x514bd3&&!this[_0x1bb984(0x149)][_0x1bb984(0x14a)](_0x514bd3);})[_0x25ed68(0x1dd)]((_0x4ec497,_0x273c82)=>{const _0x2883d5=_0x25ed68;_0x4ec497[_0x2883d5(0x1e6)]=this[_0x2883d5(0x1f4)][_0x2883d5(0x170)]+_0x273c82,this[_0x2883d5(0x1cd)](_0x4ec497);}),this[_0x25ed68(0x20b)]()?(this[_0x25ed68(0x1b1)]=0x0,this[_0x25ed68(0x1fe)](!0x0),await this[_0x25ed68(0x147)]()):(this[_0x25ed68(0x18a)]=!0x1,this[_0x25ed68(0x1cc)]());}[_0x31f80d(0x1c1)](_0x174f5b,_0x8accb2){const _0x1861e0=_0x31f80d,_0x444563=_0x8accb2&&_0x8accb2[_0x1861e0(0x1d2)];if(_0x444563&&_0x444563[_0x1861e0(0x1ce)](_0x1861e0(0x1bc)))throw _0x8accb2;const _0x3031f7=this[_0x1861e0(0x17d)][_0x1861e0(0x1f7)][_0x1861e0(0x1b7)](_0x5400b7);throw this[_0x1861e0(0x18a)]=!0x0,_0x3031f7[_0x1861e0(0x21e)](),this[_0x1861e0(0x17d)][_0x1861e0(0x21c)](_0x1861e0(0x11c)),new _0x3b2791(_0x174f5b,this[_0x1861e0(0x17d)],_0x444563?{'originalError':_0x444563}:void 0x0);}[_0x31f80d(0x1cd)](_0x28c7a6){const _0x57d5d7=_0x31f80d;this[_0x57d5d7(0x18f)][_0x57d5d7(0x14a)](_0x28c7a6)||(this[_0x57d5d7(0x18f)][_0x57d5d7(0x120)](_0x28c7a6),this[_0x57d5d7(0x1f6)][_0x57d5d7(0x16d)](_0x28c7a6),this[_0x57d5d7(0x202)]||_0x57d5d7(0x179)==_0x28c7a6[_0x57d5d7(0x1af)]&&!_0x28c7a6[_0x57d5d7(0x129)]||this[_0x57d5d7(0x1b8)]());}[_0x31f80d(0x1fe)](_0x2172a7=!0x1){const _0x429fa3=_0x31f80d;!_0x2172a7&&this[_0x429fa3(0x18a)]||(this[_0x429fa3(0x18a)]=!0x0,clearTimeout(this[_0x429fa3(0x161)]),this[_0x429fa3(0x161)]=setTimeout(()=>{const _0x4cfe9e=_0x429fa3;this[_0x4cfe9e(0x19d)]()[_0x4cfe9e(0x184)](_0xfa2ceb=>{const _0xa4dd82=_0x4cfe9e;_0xfa2ceb&&(this[_0xa4dd82(0x1cc)](),this[_0xa4dd82(0x18a)]=!0x1);})[_0x4cfe9e(0x156)](_0x1a227c=>{const _0x6f70e5=_0x4cfe9e;this[_0x6f70e5(0x1cc)](),this[_0x6f70e5(0x18a)]=!0x1,function(_0x3adfc5){const _0x48585f=_0x6f70e5;return _0x3adfc5[_0x48585f(0x1d2)][_0x48585f(0x1ce)](_0x48585f(0x1b6))||_0x3adfc5[_0x48585f(0x1d2)][_0x48585f(0x1ce)](_0x48585f(0x208))||_0x3adfc5[_0x48585f(0x1d2)][_0x48585f(0x1ce)](_0x48585f(0x173));}(_0x1a227c)||this[_0x6f70e5(0x1c1)](_0x1a227c[_0x6f70e5(0x1d2)],_0x1a227c);});},this[_0x429fa3(0x1b1)]));}[_0x31f80d(0x147)](){return new Promise(_0x2366a9=>{const _0x128338=_0x3597;this['on'](_0x128338(0x132),()=>{_0x2366a9();});});}async[_0x31f80d(0x19d)](){const _0x3ca47c=_0x31f80d,_0x1f9f10=this[_0x3ca47c(0x17d)][_0x3ca47c(0x1f7)][_0x3ca47c(0x1b7)](_0x48fe73);if(this[_0x3ca47c(0x150)]()&&(_0x1f9f10[_0x3ca47c(0x1ac)](),this[_0x3ca47c(0x171)]=!0x1),!this[_0x3ca47c(0x20b)]())return!0x0;const _0x116ea3=[...this[_0x3ca47c(0x1f6)]];for(const _0x4d4086 of _0x116ea3)_0x4d4086[_0x3ca47c(0x17c)]=this[_0x3ca47c(0x1f4)][_0x3ca47c(0x215)][_0x3ca47c(0x16a)](_0x4d4086);const _0xc282a6=this[_0x3ca47c(0x194)][_0x3ca47c(0x14b)](_0x116ea3),_0x2654dd=Y++,_0x5725b4=this[_0x3ca47c(0x21d)](_0x116ea3),_0x40acf9=await this[_0x3ca47c(0x1e4)][_0x3ca47c(0x191)](_0x5725b4,_0x5725b4[_0x3ca47c(0x1e6)],_0xc282a6);try{return await this[_0x3ca47c(0x185)](_0x116ea3,_0x40acf9,_0x2654dd);}catch(_0x34eab1){return this[_0x3ca47c(0x1c1)](_0x3ca47c(0x1f0),_0x34eab1);}}async[_0x31f80d(0x185)](_0x293923,_0x253681,_0xf29775){const _0x33f26c=_0x31f80d;if(_0x33f26c(0x13e)in _0x253681)throw _0x253681[_0x33f26c(0x13e)];let _0x439029=!0x1;if(_0x253681[_0x33f26c(0x183)]){_0x253681[_0x33f26c(0x1a2)]&&(this[_0x33f26c(0x12b)]=_0x253681[_0x33f26c(0x1a2)]),this[_0x33f26c(0x1f6)]=this[_0x33f26c(0x1f6)][_0x33f26c(0x1ad)](_0x4ff667=>!_0x293923[_0x33f26c(0x17b)](_0x4ff667));for(const _0x250a96 of _0x293923)_0x250a96[_0x33f26c(0x144)]=_0x33f26c(0x1f9)in _0x253681&&_0x253681[_0x33f26c(0x1f9)]||void 0x0;tt(_0x293923,_0x253681[_0x33f26c(0x170)]-_0x293923[_0x33f26c(0x17f)]),this[_0x33f26c(0x14c)](_0x293923);const _0x207843=_0x293923[_0x33f26c(0x1ad)](_0x3aa054=>{const _0x3179b4=_0x33f26c;if(!_0x3aa054[_0x3179b4(0x1b2)])return!0x1;const _0x2ea530=this[_0x3179b4(0x217)](_0x3aa054);return _0x2ea530&&!this[_0x3179b4(0x149)][_0x3179b4(0x14a)](_0x2ea530);});tt(_0x207843,this[_0x33f26c(0x1f4)][_0x33f26c(0x170)]),this[_0x33f26c(0x139)](_0x207843),_0x439029=!0x0,this[_0x33f26c(0x1b1)]=this[_0x33f26c(0x12d)];}else{const _0xc1b19d=this[_0x33f26c(0x189)](_0x253681[_0x33f26c(0x141)],_0x253681[_0x33f26c(0x1fd)])[_0x33f26c(0x1ad)](_0x5df2d0=>_0x5df2d0[_0x33f26c(0x1e6)]>=this[_0x33f26c(0x1aa)]);_0xc1b19d[_0x33f26c(0x1dd)](_0x29027c=>this[_0x33f26c(0x1a8)](_0x29027c)),this[_0x33f26c(0x1f6)]=this[_0x33f26c(0x1f6)][_0x33f26c(0x1ad)](_0x11f3cd=>!_0x11f3cd[_0x33f26c(0x1b2)]||!this[_0x33f26c(0x149)][_0x33f26c(0x14a)](this[_0x33f26c(0x217)](_0x11f3cd))),this[_0x33f26c(0x1f6)][_0x33f26c(0x17f)]&&tt(this[_0x33f26c(0x1f6)],this[_0x33f26c(0x1f6)][0x0][_0x33f26c(0x1e6)]),await this[_0x33f26c(0x1d6)](_0xc1b19d),_0x439029=this[_0x33f26c(0x154)](_0xc1b19d,_0x253681[_0x33f26c(0x170)],_0x253681[_0x33f26c(0x1a2)]),this[_0x33f26c(0x1b1)]=Math[_0x33f26c(0x1ea)](this[_0x33f26c(0x1b1)]/0x2);}return _0x439029?!this[_0x33f26c(0x20b)]()||(this[_0x33f26c(0x1fe)](!0x0),!0x1):this[_0x33f26c(0x1c1)](_0x33f26c(0x137));}[_0x31f80d(0x154)](_0x1c4761,_0x222e57,_0x4b35d6){const _0x2efd37=_0x31f80d;try{const _0x39bbf3={'document':this[_0x2efd37(0x1f4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x27b282,operationsB:_0x33af50,originalOperations:_0x3e5540}=_0x5c38c1(_0x1c4761,this[_0x2efd37(0x1f6)],_0x39bbf3);tt(_0x27b282,this[_0x2efd37(0x1f4)][_0x2efd37(0x170)]),tt(_0x33af50,_0x222e57);for(const _0x196738 of _0x27b282){const _0x22620b=_0x3e5540[_0x2efd37(0x1b7)](_0x196738);_0x196738[_0x2efd37(0x1da)]=_0x22620b?_0x22620b[_0x2efd37(0x1da)]:null;}_0x4b35d6&&(this[_0x2efd37(0x194)][_0x2efd37(0x1bb)](_0x1c4761,_0x4b35d6),this[_0x2efd37(0x12b)]=_0x4b35d6),this[_0x2efd37(0x1f6)]=[..._0x33af50],this[_0x2efd37(0x139)](_0x27b282),this[_0x2efd37(0x14c)](_0x1c4761);}catch(_0x3c3779){return console[_0x2efd37(0x13e)](_0x3c3779),!0x1;}return!0x0;}[_0x31f80d(0x139)](_0x13859d,_0x20c320=!0x1){const _0x1a7a58=_0x31f80d;this[_0x1a7a58(0x17d)][_0x1a7a58(0x20d)][_0x1a7a58(0x1a5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1fb7c2=>{const _0xc9f52a=_0x1a7a58;for(const _0x155c07 of _0x13859d)this[_0xc9f52a(0x18f)][_0xc9f52a(0x120)](_0x155c07),this[_0xc9f52a(0x1a8)](_0x155c07),_0x1fb7c2[_0xc9f52a(0x163)][_0xc9f52a(0x1c7)](_0x155c07),this[_0xc9f52a(0x17d)][_0xc9f52a(0x20d)][_0xc9f52a(0x160)](_0x155c07);});}[_0x31f80d(0x1a8)](_0x43de49){const _0x4a36e3=_0x31f80d,_0x69302=this[_0x4a36e3(0x217)](_0x43de49);_0x69302&&this[_0x4a36e3(0x149)][_0x4a36e3(0x120)](_0x69302);}[_0x31f80d(0x217)](_0x5b0852){const _0x43a93f=_0x31f80d;let _0xf19db2,_0xc95a6e;switch(_0x5b0852[_0x43a93f(0x1af)]){case _0x43a93f(0x151):_0xf19db2=_0x5b0852[_0x43a93f(0x21a)][_0x43a93f(0x178)];break;case _0x43a93f(0x179):if(_0xc95a6e=_0x5b0852[_0x43a93f(0x126)],!_0xc95a6e)return null;_0xf19db2=_0xc95a6e[_0x43a93f(0x178)];break;case _0x43a93f(0x1c3):_0xf19db2=_0x5b0852[_0x43a93f(0x178)];break;case _0x43a93f(0x187):_0xf19db2=_0x5b0852[_0x43a93f(0x1f8)];break;case _0x43a93f(0x16b):_0xf19db2=_0x5b0852[_0x43a93f(0x1fa)][_0x43a93f(0x178)];break;default:return null;}return _0xf19db2[_0x43a93f(0x145)];}[_0x31f80d(0x14c)](_0x13a07e){const _0x4c54a4=_0x31f80d;_0x13a07e[_0x4c54a4(0x1dd)](_0x3573bb=>{const _0x588128=_0x4c54a4,_0x23b6cf=_0x3573bb[_0x588128(0x1df)]();_0x23b6cf[_0x588128(0x1da)]=_0x3573bb[_0x588128(0x1da)],_0x23b6cf[_0x588128(0x1b2)]=!!_0x3573bb[_0x588128(0x1b2)],_0x23b6cf[_0x588128(0x144)]=_0x3573bb[_0x588128(0x144)],_0x23b6cf[_0x588128(0x1e6)]+=this[_0x588128(0x1ab)],_0x3573bb[_0x588128(0x153)]&&this[_0x588128(0x203)][_0x588128(0x120)](_0x23b6cf),this[_0x588128(0x11f)][_0x588128(0x1c7)](_0x23b6cf);});}[_0x31f80d(0x1eb)](_0x4445e9){const _0x440bb0=_0x31f80d,_0x2fd54f=this[_0x440bb0(0x17d)][_0x440bb0(0x1f7)][_0x440bb0(0x1b7)](_0x440bb0(0x11a)),_0x2f6dc9=this[_0x440bb0(0x17d)][_0x440bb0(0x1d5)];_0x4445e9||(_0x4445e9=_0x3d41b2(_0x2f6dc9,_0x440bb0(0x1bd))),_0x2fd54f[_0x440bb0(0x1c2)](_0x4445e9,{'title':_0x3d41b2(_0x2f6dc9,_0x440bb0(0x136)),'namespace':_0x440bb0(0x181)}),this[_0x440bb0(0x1d3)]=!0x0,clearTimeout(this[_0x440bb0(0x161)]),this[_0x440bb0(0x1f6)]=[],this[_0x440bb0(0x17d)][_0x440bb0(0x1f7)][_0x440bb0(0x1b7)](_0x5400b7)[_0x440bb0(0x21e)]();}[_0x31f80d(0x1b8)](){const _0x152ed0=_0x31f80d;this[_0x152ed0(0x202)]||(this[_0x152ed0(0x202)]=this[_0x152ed0(0x17d)][_0x152ed0(0x1f7)][_0x152ed0(0x1b7)](_0x52abce)[_0x152ed0(0x120)](_0x3d41b2(this[_0x152ed0(0x17d)][_0x152ed0(0x1d5)],_0x152ed0(0x1ca))));}[_0x31f80d(0x1cc)](){const _0x5eb897=_0x31f80d;this[_0x5eb897(0x202)]&&(this[_0x5eb897(0x17d)][_0x5eb897(0x1f7)][_0x5eb897(0x1b7)](_0x52abce)[_0x5eb897(0x1d9)](this[_0x5eb897(0x202)]),this[_0x5eb897(0x202)]=null);}[_0x31f80d(0x21d)](_0x4961cf){const _0x2bbd20=_0x31f80d,_0x10068b=_0x4961cf[_0x2bbd20(0x15a)](_0xc9e7be=>_0xc9e7be[_0x2bbd20(0x1f1)]());return this[_0x2bbd20(0x12a)][_0x2bbd20(0x198)](_0x10068b);}[_0x31f80d(0x189)](_0x350e76,_0x3b9731){const _0x1a5b55=_0x31f80d;return this[_0x1a5b55(0x12a)][_0x1a5b55(0x168)](_0x350e76)[_0x1a5b55(0x15a)]((_0x5d00a9,_0x10911d)=>{const _0x34922d=_0x1a5b55,_0x1f811a=_0x34922d(0x200)==_0x3b9731[_0x10911d][_0x34922d(0x1af)];if(_0x34922d(0x165)==_0x5d00a9[_0x34922d(0x1db)]){const _0x2f0574=_0x5d00a9[_0x34922d(0x21a)][_0x34922d(0x178)];!this[_0x34922d(0x1f4)][_0x34922d(0x167)](_0x2f0574)&&(this[_0x34922d(0x1f4)][_0x34922d(0x1ff)](_0x34922d(0x1c0),_0x2f0574)[_0x34922d(0x12e)]=!0x1);}const _0x450c84=_0x3eb348[_0x34922d(0x210)](_0x5d00a9,this[_0x34922d(0x1f4)]);return _0x450c84[_0x34922d(0x17c)]=_0x5d00a9[_0x34922d(0x17c)],_0x450c84[_0x34922d(0x1b2)]=_0x1f811a,_0x450c84[_0x34922d(0x1da)]=_0x1f811a?null:_0x3b9731[_0x10911d][_0x34922d(0x20e)],_0x450c84[_0x34922d(0x153)]=_0x34922d(0x128)===_0x3b9731[_0x10911d][_0x34922d(0x1af)],_0x450c84[_0x34922d(0x144)]=_0x3b9731[_0x10911d][_0x34922d(0x144)],_0x450c84;});}[_0x31f80d(0x169)](){const _0x283f6b=_0x31f80d;this[_0x283f6b(0x171)]=!0x0,this[_0x283f6b(0x150)]()?this[_0x283f6b(0x1fe)]():this[_0x283f6b(0x171)]=!0x1;}[_0x31f80d(0x150)](){const _0x3c1735=_0x31f80d,_0x44745b=this[_0x3c1735(0x17d)][_0x3c1735(0x1f7)][_0x3c1735(0x1b7)](_0x487d5f)[_0x3c1735(0x18e)][_0x3c1735(0x1b7)](this[_0x3c1735(0x127)]);return!this[_0x3c1735(0x17d)][_0x3c1735(0x174)]&&!!_0x44745b&&_0x44745b[_0x3c1735(0x17f)]>0x1&&this[_0x3c1735(0x171)];}[_0x31f80d(0x20b)](){const _0x237489=_0x31f80d;return this[_0x237489(0x1f6)][_0x237489(0x17f)]>0x0||this[_0x237489(0x150)]();}}l[_0x31f80d(0x207)]=_0x20ad45;export default l;class Z extends Error{}function tt(_0x4aeea7,_0x16f6e1){const _0x23a9f5=_0x31f80d;for(const _0x3c163c of _0x4aeea7)_0x3c163c[_0x23a9f5(0x1e6)]=_0x16f6e1++;}class it{constructor(_0x82a49f){const _0x1b8dfa=_0x31f80d;this[_0x1b8dfa(0x219)]=_0x82a49f,this[_0x1b8dfa(0x1d7)]=new WeakMap();}[_0x31f80d(0x14b)](_0x4be774){const _0x189e0c=_0x31f80d;let _0x2ddf5a=_0x4be774[_0x189e0c(0x17f)];for(;_0x2ddf5a--;){const _0x2f276c=_0x4be774[_0x2ddf5a];if(!this[_0x189e0c(0x219)][_0x189e0c(0x14a)](_0x2f276c)){if(!this[_0x189e0c(0x1d7)][_0x189e0c(0x14a)](_0x2f276c)){const _0x395165=_0x1b73fb()[_0x189e0c(0x18d)](0x1,0x12);this[_0x189e0c(0x1d7)][_0x189e0c(0x1c5)](_0x2f276c,_0x395165);}return this[_0x189e0c(0x1d7)][_0x189e0c(0x1b7)](_0x2f276c);}}}[_0x31f80d(0x1bb)](_0x15ed3c,_0x1a4bf1){const _0x57a786=_0x31f80d;if(!_0x1a4bf1)return;let _0x482b97=_0x15ed3c[_0x57a786(0x17f)];for(;_0x482b97--;){const _0x2c6ddd=_0x15ed3c[_0x482b97];this[_0x57a786(0x219)][_0x57a786(0x14a)](_0x2c6ddd)||this[_0x57a786(0x1d7)][_0x57a786(0x1c5)](_0x2c6ddd,_0x1a4bf1);}}}
|
|
23
|
+
const _0x1476db=_0x92ac;(function(_0x4bb195,_0x216406){const _0x200076=_0x92ac,_0xc22331=_0x4bb195();while(!![]){try{const _0x1c1ae2=parseInt(_0x200076(0x2b0))/0x1+-parseInt(_0x200076(0x247))/0x2+-parseInt(_0x200076(0x2e1))/0x3+parseInt(_0x200076(0x2be))/0x4+-parseInt(_0x200076(0x2af))/0x5+parseInt(_0x200076(0x226))/0x6+parseInt(_0x200076(0x1ee))/0x7;if(_0x1c1ae2===_0x216406)break;else _0xc22331['push'](_0xc22331['shift']());}catch(_0x14468a){_0xc22331['push'](_0xc22331['shift']());}}}(_0x47a6,0x69c78));import{Plugin as _0x162b61,PendingActions as _0x1bd6ad}from'ckeditor5/src/core.js';import{CKEditorError as _0x590191,version as _0x2568ec,uid as _0x1bff2c}from'ckeditor5/src/utils.js';import{Notification as _0x272b52}from'ckeditor5/src/ui.js';import{transformSets as _0x153093,NoOperation as _0x5d7728,InsertOperation as _0xd8a022,MarkerOperation as _0x1fdfb4,RootAttributeOperation as _0x568806,OperationFactory as _0x26a5eb,History as _0x41ffaa}from'ckeditor5/src/engine.js';import _0x4dc931 from'./websocketgateway.js';import _0xbbb5a9 from'./sessions.js';function _0x92ac(_0x4c9c73,_0x1fc625){const _0x47a6eb=_0x47a6();return _0x92ac=function(_0x92ac8e,_0x57ece1){_0x92ac8e=_0x92ac8e-0x1e7;let _0x4f45a=_0x47a6eb[_0x92ac8e];return _0x4f45a;},_0x92ac(_0x4c9c73,_0x1fc625);}import _0x3a0ced from'./usermarkers.js';import{getTranslation as _0x4f485d}from'../common-translations.js';import{Compressor as _0x5e3aa3}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x554773}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x19450e,CollaborativeEditingService as _0x4f29f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x162b61{static [_0x1476db(0x231)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4f29f1)());[_0x1476db(0x275)];[_0x1476db(0x28d)];[_0x1476db(0x272)];[_0x1476db(0x253)];[_0x1476db(0x1e9)];[_0x1476db(0x20b)];[_0x1476db(0x215)];[_0x1476db(0x241)];[_0x1476db(0x2b2)];[_0x1476db(0x297)];[_0x1476db(0x228)];[_0x1476db(0x2ba)];[_0x1476db(0x242)];[_0x1476db(0x1f4)];[_0x1476db(0x240)];[_0x1476db(0x25a)];[_0x1476db(0x2ac)];[_0x1476db(0x243)];static get[_0x1476db(0x2bf)](){return[_0x4dc931,_0xbbb5a9,_0x3a0ced,_0x1bd6ad,_0x554773,_0x272b52];}static get[_0x1476db(0x294)](){const _0x58dfed=_0x1476db;return _0x58dfed(0x2e9);}static get[_0x1476db(0x23e)](){return!0x0;}static get[_0x1476db(0x2ae)](){return!0x0;}get[_0x1476db(0x287)](){const _0x3a1cca=_0x1476db;return this[_0x3a1cca(0x2ab)]+this[_0x3a1cca(0x275)];}get[_0x1476db(0x2ab)](){const _0x49058b=_0x1476db;return this[_0x49058b(0x272)][_0x49058b(0x2e6)]-this[_0x49058b(0x275)];}get[_0x1476db(0x2dc)](){const _0x3bc054=_0x1476db,_0x2bfaf2=this[_0x3bc054(0x272)][_0x3bc054(0x225)]();for(let _0x1dc097=_0x2bfaf2[_0x3bc054(0x252)]-0x1;_0x1dc097>=0x0;_0x1dc097--){const _0x19c102=_0x2bfaf2[_0x1dc097];if(!this[_0x3bc054(0x2ac)][_0x3bc054(0x214)](_0x19c102))return _0x19c102[_0x3bc054(0x1f7)]+0x1-this[_0x3bc054(0x275)];}return 0x0;}constructor(_0x576569){const _0x268180=_0x1476db;if(super(_0x576569),this[_0x268180(0x275)]=0x0,this[_0x268180(0x28d)]=null,this[_0x268180(0x272)]=new _0x41ffaa(),this[_0x268180(0x1fc)][_0x268180(0x2a3)][_0x268180(0x2cd)](_0x268180(0x269),{}),this[_0x268180(0x253)]=this[_0x268180(0x1fc)][_0x268180(0x2a3)][_0x268180(0x268)](_0x268180(0x1f5)),!this[_0x268180(0x253)])throw new _0x590191(_0x268180(0x213),this);const _0x14e250=_0x576569[_0x268180(0x2a3)][_0x268180(0x268)](_0x268180(0x1e7))||_0x2568ec;this[_0x268180(0x1e9)]=new l[(_0x268180(0x231))](_0x14e250,this[_0x268180(0x253)]),this[_0x268180(0x20b)]=this[_0x268180(0x1fc)][_0x268180(0x20c)][_0x268180(0x2e7)],this[_0x268180(0x215)]=new _0x5e3aa3(),this[_0x268180(0x241)]=[],this[_0x268180(0x2b2)]=new WeakSet(),this[_0x268180(0x297)]=new Set(),this[_0x268180(0x271)](_0x268180(0x218),!0x1),this[_0x268180(0x271)](_0x268180(0x21a),!0x1),this[_0x268180(0x228)]=null,this[_0x268180(0x2ba)]=!0x1,this[_0x268180(0x242)]=null,this[_0x268180(0x1f4)]=0x12c,this[_0x268180(0x240)]=this[_0x268180(0x1f4)],this[_0x268180(0x25a)]=null,this[_0x268180(0x2ac)]=new WeakSet(),this[_0x268180(0x243)]=new Y(this[_0x268180(0x2ac)]);}[_0x1476db(0x20a)](){const _0x5c9fc9=_0x1476db,_0x253f8f=this[_0x5c9fc9(0x1fc)],_0x6ba067=_0x253f8f[_0x5c9fc9(0x2d4)][_0x5c9fc9(0x268)](_0x554773),_0x30dc1f=_0x253f8f[_0x5c9fc9(0x2d4)][_0x5c9fc9(0x268)](_0x4dc931);this[_0x5c9fc9(0x2a2)](_0x6ba067,_0x5c9fc9(0x251),(_0x22e530,_0x56952f)=>{const _0x23473e=_0x5c9fc9,_0x45c63a=_0x56952f[0x0];_0x45c63a[_0x23473e(0x24c)]&&(_0x22e530[_0x23473e(0x238)]=_0x6ba067[_0x23473e(0x2b8)](_0x45c63a[_0x23473e(0x24c)]),_0x22e530[_0x23473e(0x281)]()),null===_0x45c63a[_0x23473e(0x24c)]&&(_0x22e530[_0x23473e(0x238)]=null,_0x22e530[_0x23473e(0x281)]());},{'priority':_0x5c9fc9(0x201)}),this[_0x5c9fc9(0x2a2)](_0x253f8f[_0x5c9fc9(0x20c)][_0x5c9fc9(0x2e7)][_0x5c9fc9(0x2d8)],_0x5c9fc9(0x2d1),(_0x5acc76,_0x2d1aee)=>{const _0x3b1cf4=_0x5c9fc9;_0x2d1aee[_0x3b1cf4(0x212)]&&this[_0x3b1cf4(0x2e5)]();}),this[_0x5c9fc9(0x2a2)](_0x253f8f[_0x5c9fc9(0x1f9)][_0x5c9fc9(0x254)],_0x5c9fc9(0x1fd),()=>{const _0x527fdc=_0x5c9fc9;this[_0x527fdc(0x2e5)]();}),this[_0x5c9fc9(0x22f)](),_0x253f8f[_0x5c9fc9(0x20c)]['on'](_0x5c9fc9(0x2ca),(_0x370942,_0x2352a5)=>{const _0xca7dd5=_0x5c9fc9,_0x1b3304=_0x2352a5[0x0];_0x1b3304[_0xca7dd5(0x239)]&&(this[_0xca7dd5(0x248)](_0x1b3304),this[_0xca7dd5(0x20f)]()&&this[_0xca7dd5(0x1f0)]());}),this[_0x5c9fc9(0x264)](),this[_0x5c9fc9(0x2b4)](_0x5c9fc9(0x1ef))['to'](_0x30dc1f,_0x5c9fc9(0x249),this,_0x5c9fc9(0x21a),(_0x5a49a7,_0x2847a9)=>_0x5c9fc9(0x2b3)===_0x5a49a7&&!_0x2847a9),this['on'](_0x5c9fc9(0x262),()=>{const _0x234330=_0x5c9fc9;this[_0x234330(0x1ef)]?_0x253f8f[_0x234330(0x2e3)](_0x234330(0x26c)):_0x253f8f[_0x234330(0x23a)](_0x234330(0x26c));}),this[_0x5c9fc9(0x1ef)]?_0x253f8f[_0x5c9fc9(0x2e3)](_0x5c9fc9(0x26c)):_0x253f8f[_0x5c9fc9(0x23a)](_0x5c9fc9(0x26c)),this[_0x5c9fc9(0x271)](_0x5c9fc9(0x21d),!0x1);}async[_0x1476db(0x2e2)](){const _0x24d6e7=_0x1476db,_0x108586=this[_0x24d6e7(0x1fc)][_0x24d6e7(0x2d4)][_0x24d6e7(0x268)](_0xbbb5a9),_0x4e6c23=this[_0x24d6e7(0x1fc)][_0x24d6e7(0x2d4)][_0x24d6e7(0x268)](_0x4dc931);try{this[_0x24d6e7(0x218)]=!0x0,_0x108586[_0x24d6e7(0x20d)](this[_0x24d6e7(0x253)]);const _0x507428=await this[_0x24d6e7(0x1e9)][_0x24d6e7(0x2e2)](_0x4e6c23[_0x24d6e7(0x2c5)],this[_0x24d6e7(0x2dc)]);await this[_0x24d6e7(0x28b)](_0x507428)&&(this[_0x24d6e7(0x218)]=!0x1,this[_0x24d6e7(0x2b6)]());const _0x1022c7=await this[_0x24d6e7(0x1e9)][_0x24d6e7(0x295)]();_0x108586[_0x24d6e7(0x25e)](this[_0x24d6e7(0x253)],_0x1022c7),this[_0x24d6e7(0x273)](),this[_0x24d6e7(0x21d)]=!0x0;}catch(_0x341c6a){if(function(_0x5453a5){const _0x391bd6=_0x24d6e7;return _0x391bd6(0x27a)===_0x5453a5[_0x391bd6(0x27e)];}(_0x341c6a)&&this[_0x24d6e7(0x28d)])await this[_0x24d6e7(0x230)]();else{if(function(_0x3a0dfa){const _0x19cae6=_0x24d6e7;return _0x19cae6(0x29b)===_0x3a0dfa[_0x19cae6(0x27e)];}(_0x341c6a)){const _0x3f10a1=_0x4f485d(this[_0x24d6e7(0x1fc)][_0x24d6e7(0x26d)],_0x24d6e7(0x23c));this[_0x24d6e7(0x2de)](_0x3f10a1);}else{if(!(_0x341c6a instanceof Q))throw _0x341c6a;this[_0x24d6e7(0x2de)]();}}}}[_0x1476db(0x236)](){const _0x17dd8f=_0x1476db,_0x539a66=this[_0x17dd8f(0x1fc)][_0x17dd8f(0x2d4)][_0x17dd8f(0x268)](_0x4dc931),_0x3ef75a=this[_0x17dd8f(0x1fc)][_0x17dd8f(0x2d4)][_0x17dd8f(0x268)](_0xbbb5a9);this[_0x17dd8f(0x1fc)][_0x17dd8f(0x23a)](_0x17dd8f(0x2dd)),_0x3ef75a[_0x17dd8f(0x227)][_0x17dd8f(0x214)](this[_0x17dd8f(0x253)])&&_0x3ef75a[_0x17dd8f(0x20d)](this[_0x17dd8f(0x253)]),_0x539a66[_0x17dd8f(0x219)](this),this[_0x17dd8f(0x2a9)](),super[_0x17dd8f(0x236)]();}async[_0x1476db(0x28b)](_0x8bbcee){const _0x209953=_0x1476db;if(this[_0x209953(0x28d)]!==_0x8bbcee[_0x209953(0x28d)]&&this[_0x209953(0x25a)]!==_0x8bbcee[_0x209953(0x28c)])throw new Q();return this[_0x209953(0x28d)]=_0x8bbcee[_0x209953(0x28d)],this[_0x209953(0x1ec)]([],{..._0x8bbcee,'wereChangesApplied':!0x1,'data':_0x8bbcee[_0x209953(0x2a7)]},_0x209953(0x2e2));}async[_0x1476db(0x222)](_0x5cd919,_0x4e4259=!0x1){const _0x27700b=_0x1476db,{connection:_0x21e175}=this[_0x27700b(0x1fc)][_0x27700b(0x2d4)][_0x27700b(0x268)](_0x4dc931);l[_0x27700b(0x231)][_0x27700b(0x295)](_0x21e175,this[_0x27700b(0x253)])[_0x27700b(0x286)](_0x474892=>this[_0x27700b(0x2e4)](_0x474892))[_0x27700b(0x291)](_0x4c4e88=>{const _0x112dda=_0x27700b;this[_0x112dda(0x1ea)](_0x112dda(0x267),_0x4c4e88);}),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x2b7),this[_0x27700b(0x260)][_0x27700b(0x2b4)](this)),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x279),(_0x1339cb,_0x221da8)=>{const _0x437168=_0x27700b;this[_0x437168(0x1ea)](_0x437168(0x22e),_0x221da8);}),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x2bc),()=>{const _0x1dc302=_0x27700b;this[_0x1dc302(0x21d)]=!0x1;});const _0x4a08cd=this[_0x27700b(0x243)][_0x27700b(0x237)](_0x5cd919);this[_0x27700b(0x218)]=!0x0;const _0x4ce023=await this[_0x27700b(0x1e9)][_0x27700b(0x2c2)](_0x21e175,this[_0x27700b(0x217)](_0x5cd919),_0x4a08cd);if(this[_0x27700b(0x28d)]=_0x4ce023[_0x27700b(0x28d)],_0x4e4259){if(!_0x4ce023[_0x27700b(0x1ff)])return void this[_0x27700b(0x2de)]();this[_0x27700b(0x218)]=!0x1,this[_0x27700b(0x2b6)](),this[_0x27700b(0x272)][_0x27700b(0x1fa)](),this[_0x27700b(0x275)]=_0x4ce023[_0x27700b(0x229)],this[_0x27700b(0x272)][_0x27700b(0x2e6)]=this[_0x27700b(0x275)],await this[_0x27700b(0x1ec)](_0x5cd919,_0x4ce023,_0x27700b(0x277));}else await this[_0x27700b(0x250)](_0x4ce023,_0x5cd919);this[_0x27700b(0x273)](),this[_0x27700b(0x21d)]=!0x0;}[_0x1476db(0x273)](){const _0x256104=_0x1476db,_0x4ea684=this[_0x256104(0x1fc)][_0x256104(0x2d4)][_0x256104(0x268)](_0xbbb5a9),_0xb16d1=this[_0x256104(0x1fc)][_0x256104(0x2d4)][_0x256104(0x268)](_0x3a0ced),_0x4e3a56=_0x4ea684[_0x256104(0x227)][_0x256104(0x268)](this[_0x256104(0x253)]);_0x4e3a56&&_0x4e3a56[_0x256104(0x252)]>0x1?_0xb16d1[_0x256104(0x21f)]():this[_0x256104(0x2a2)](_0x4ea684,_0x256104(0x24b)+this[_0x256104(0x253)],()=>{const _0xfed881=_0x256104;0x2===_0x4ea684[_0xfed881(0x227)][_0xfed881(0x268)](this[_0xfed881(0x253)])[_0xfed881(0x252)]&&_0xb16d1[_0xfed881(0x21f)]();});}async[_0x1476db(0x260)](_0x3bdf6f,_0x2798f8,_0x214ee3,_0x55c4d3){const _0x35b00d=_0x1476db;if(!this[_0x35b00d(0x218)]&&this[_0x35b00d(0x20b)][_0x35b00d(0x2e6)]==_0x2798f8){const _0x1ebfc4=this[_0x35b00d(0x2e8)](_0x214ee3,_0x55c4d3);await this[_0x35b00d(0x266)](_0x1ebfc4),this[_0x35b00d(0x23f)](_0x1ebfc4,_0x2798f8,_0x214ee3[_0x35b00d(0x28c)])||this[_0x35b00d(0x1ea)](_0x35b00d(0x2aa));}}async[_0x1476db(0x230)](){const _0x4a43f9=_0x1476db;this[_0x4a43f9(0x2a9)]();const {locale:_0x58b441}=this[_0x4a43f9(0x1fc)];let _0x37f6d6;try{_0x37f6d6=await this[_0x4a43f9(0x1e9)][_0x4a43f9(0x233)]();}catch(_0x1d9e40){const _0x44694f=_0x4f485d(_0x58b441,_0x4a43f9(0x2bb));return void this[_0x4a43f9(0x2de)](_0x44694f);}const _0x58ceab=_0x37f6d6[_0x4a43f9(0x256)]||_0x37f6d6[_0x4a43f9(0x259)];if(this[_0x4a43f9(0x25a)]===_0x58ceab[_0x4a43f9(0x28c)])await this[_0x4a43f9(0x222)](this[_0x4a43f9(0x1fc)][_0x4a43f9(0x20c)][_0x4a43f9(0x2e7)][_0x4a43f9(0x1f8)][_0x4a43f9(0x225)](),!0x0);else{const _0x5b769c=_0x4f485d(_0x58b441,_0x4a43f9(0x2a4));this[_0x4a43f9(0x2de)](_0x5b769c);}}[_0x1476db(0x2a9)](){const _0x3ad218=_0x1476db;this[_0x3ad218(0x1e9)][_0x3ad218(0x221)](),this[_0x3ad218(0x241)]=[],clearTimeout(this[_0x3ad218(0x242)]),this[_0x3ad218(0x1f6)](this[_0x3ad218(0x1e9)]);}[_0x1476db(0x2e4)](_0x343f6d){const _0x591c89=_0x1476db,_0x5ea969=this[_0x591c89(0x1fc)][_0x591c89(0x2d4)][_0x591c89(0x268)](_0xbbb5a9);this[_0x591c89(0x2a2)](_0x5ea969,_0x591c89(0x24b)+this[_0x591c89(0x253)],(_0x53028d,{session:_0x460c7f})=>{const _0x315b16=_0x591c89;if(_0x460c7f['id']===_0x5ea969[_0x315b16(0x2c8)]){_0x53028d[_0x315b16(0x20e)]();const _0x2a3f7b=this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x214)](_0x315b16(0x282))&&this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x268)](_0x315b16(0x282));let _0x24f12d=_0x460c7f[_0x315b16(0x2e0)];_0x2a3f7b&&_0x2a3f7b[_0x315b16(0x25f)]&&(_0x24f12d=_0x24f12d[_0x315b16(0x2cb)](_0x39d238=>_0x315b16(0x208)!==_0x39d238)),this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x268)](_0x315b16(0x2b1))[_0x315b16(0x2d3)](_0x24f12d,this[_0x315b16(0x253)]);}}),_0x5ea969[_0x591c89(0x25e)](this[_0x591c89(0x253)],_0x343f6d);}[_0x1476db(0x22f)](){const _0x15dc16=_0x1476db,_0x4492cc=this[_0x15dc16(0x1fc)][_0x15dc16(0x2a7)][_0x15dc16(0x271)];this[_0x15dc16(0x1fc)][_0x15dc16(0x2a7)][_0x15dc16(0x271)]=(..._0x115c8a)=>{const _0x26f2c3=_0x15dc16;if(!_0x115c8a[_0x115c8a[_0x26f2c3(0x252)]-0x1][_0x26f2c3(0x2b9)])throw new _0x590191(_0x26f2c3(0x2c4),this);_0x4492cc[_0x26f2c3(0x26b)](this[_0x26f2c3(0x1fc)][_0x26f2c3(0x2a7)],_0x115c8a);};}[_0x1476db(0x264)](){const _0x4ed35f=_0x1476db;this[_0x4ed35f(0x1fc)][_0x4ed35f(0x2a7)]['on'](_0x4ed35f(0x20a),(_0x32701b,[_0x43dac2])=>{const _0x5a49b7=_0x4ed35f;if(this[_0x5a49b7(0x20b)][_0x5a49b7(0x2e6)])throw new _0x590191(_0x5a49b7(0x2da),this);_0x32701b[_0x5a49b7(0x281)](),this[_0x5a49b7(0x245)]();const _0x355dcb=this[_0x5a49b7(0x1fc)][_0x5a49b7(0x2a3)][_0x5a49b7(0x268)](_0x5a49b7(0x23b)),_0x231b01=this[_0x5a49b7(0x25b)](_0x43dac2,_0x355dcb);0x0==_0x231b01[_0x5a49b7(0x252)]&&_0x231b01[_0x5a49b7(0x2df)](new _0x5d7728(0x0)),_0x32701b[_0x5a49b7(0x238)]=this[_0x5a49b7(0x222)](_0x231b01)[_0x5a49b7(0x286)](()=>{const _0x53f5c6=_0x5a49b7;this[_0x53f5c6(0x1fc)][_0x53f5c6(0x2d4)][_0x53f5c6(0x268)](_0x4dc931)[_0x53f5c6(0x26a)](this),this[_0x53f5c6(0x1fc)][_0x53f5c6(0x2a7)][_0x53f5c6(0x299)](_0x53f5c6(0x2ce));})[_0x5a49b7(0x291)](_0x43ac78=>this[_0x5a49b7(0x1ea)](_0x5a49b7(0x22d),_0x43ac78))[_0x5a49b7(0x296)](()=>this[_0x5a49b7(0x2b6)]());},{'priority':_0x4ed35f(0x201)}),this[_0x4ed35f(0x1fc)]['on'](_0x4ed35f(0x2b5),async(_0x1db954,[_0x47a11f,_0x50bad0])=>{const _0x432f35=_0x4ed35f;_0x1db954[_0x432f35(0x281)]();const _0x2a0083=this[_0x432f35(0x1fc)][_0x432f35(0x20c)][_0x432f35(0x2e7)][_0x432f35(0x2c9)](_0x47a11f);if(!this[_0x432f35(0x297)][_0x432f35(0x214)](_0x47a11f)){const _0x1aecf8=_0x50bad0&&_0x50bad0[_0x432f35(0x2a7)]?_0x50bad0[_0x432f35(0x2a7)]:'',_0x5094d2=_0x50bad0&&_0x50bad0[_0x432f35(0x22a)]?_0x50bad0[_0x432f35(0x22a)]:{};await this[_0x432f35(0x200)](_0x47a11f,_0x1aecf8,_0x5094d2);}this[_0x432f35(0x1fc)][_0x432f35(0x20c)][_0x432f35(0x205)]({'isUndoable':!0x1},()=>{const _0x249399=_0x432f35;_0x2a0083[_0x249399(0x26f)]=!0x0,this[_0x249399(0x1fc)][_0x249399(0x20c)][_0x249399(0x2e7)][_0x249399(0x244)][_0x249399(0x209)](_0x2a0083);});},{'priority':_0x4ed35f(0x201)});}async[_0x1476db(0x266)](_0x1ce82a){const _0x41af0c=_0x1476db,_0x2e04ee=this[_0x41af0c(0x1fc)][_0x41af0c(0x2d4)][_0x41af0c(0x268)](_0x554773),{connection:_0x31e116}=this[_0x41af0c(0x1fc)][_0x41af0c(0x2d4)][_0x41af0c(0x268)](_0x4dc931),_0x4c27f7=new Set();for(const _0x2dd9e4 of _0x1ce82a){const _0x2a83ba=_0x2dd9e4[_0x41af0c(0x24c)];_0x2a83ba&&!_0x2e04ee[_0x41af0c(0x2b8)](_0x2a83ba)&&_0x4c27f7[_0x41af0c(0x293)](_0x2a83ba);}if(0x0===_0x4c27f7[_0x41af0c(0x203)])return;const _0x169908=await _0x19450e[_0x41af0c(0x22c)](_0x31e116,Array[_0x41af0c(0x26e)](_0x4c27f7));for(const _0x3613d4 of _0x169908)_0x2e04ee[_0x41af0c(0x2b8)](_0x3613d4['id'])||_0x2e04ee[_0x41af0c(0x255)](_0x3613d4);}[_0x1476db(0x25b)](_0x16c0c8,_0x24293e={}){const _0x546c44=_0x1476db,_0x2b7005=this[_0x546c44(0x1fc)][_0x546c44(0x20c)],_0x265505=[];let _0x122c9d=0x0;const _0x14bde2=_0x546c44(0x24f)==typeof _0x16c0c8?{'main':_0x16c0c8}:_0x16c0c8;for(const _0x5489d5 of Object[_0x546c44(0x216)](_0x14bde2)){if(!this[_0x546c44(0x20b)][_0x546c44(0x278)][_0x546c44(0x214)](_0x5489d5))throw new _0x590191(_0x546c44(0x2a1),this);const _0x31b46c=this[_0x546c44(0x1fc)][_0x546c44(0x2a7)][_0x546c44(0x28a)](_0x14bde2[_0x5489d5]),_0x3f5a9b=this[_0x546c44(0x20b)][_0x546c44(0x2c9)](_0x5489d5),_0x4f9a78=new _0xd8a022(_0x2b7005[_0x546c44(0x2bd)](_0x3f5a9b,0x0),_0x31b46c,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x4f9a78);for(const [_0x1c96d0,_0x2ac0c6]of _0x31b46c[_0x546c44(0x27f)]){const _0x14bca3=_0x2b7005[_0x546c44(0x235)](_0x2b7005[_0x546c44(0x2d2)](_0x3f5a9b,_0x2ac0c6[_0x546c44(0x220)][_0x546c44(0x298)][_0x546c44(0x2c7)]()),_0x2b7005[_0x546c44(0x2d2)](_0x3f5a9b,_0x2ac0c6[_0x546c44(0x223)][_0x546c44(0x298)][_0x546c44(0x2c7)]())),_0x5e5622=new _0x1fdfb4(_0x1c96d0,null,_0x14bca3,_0x2b7005[_0x546c44(0x27f)],!0x0,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x5e5622);}}if(_0x24293e)for(const [_0x26998f,_0x4b0692]of Object[_0x546c44(0x257)](_0x24293e)){const _0xe3fb52=_0x2b7005[_0x546c44(0x2e7)][_0x546c44(0x2c9)](_0x26998f);if(!_0xe3fb52)throw new _0x590191(_0x546c44(0x1eb),null);for(const [_0x377f70,_0x30ed77]of Object[_0x546c44(0x257)](_0x4b0692))if(null!==_0x30ed77){const _0x56d9e6=new _0x568806(_0xe3fb52,_0x377f70,null,_0x30ed77,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x56d9e6);}}return _0x265505;}async[_0x1476db(0x200)](_0x2283b0,_0x184d3a,_0x32961d){const _0x3cde24=_0x1476db;this[_0x3cde24(0x25b)]({[_0x2283b0]:_0x184d3a},{[_0x2283b0]:_0x32961d})[_0x3cde24(0x2a6)]((_0x27f343,_0x40213b)=>{const _0x382825=_0x3cde24;_0x27f343[_0x382825(0x1f7)]=this[_0x382825(0x20b)][_0x382825(0x2e6)]+_0x40213b,_0x27f343[_0x382825(0x224)]=!0x0,this[_0x382825(0x248)](_0x27f343);}),this[_0x3cde24(0x1f0)](),await this[_0x3cde24(0x27d)]();}async[_0x1476db(0x250)](_0xa0897e,_0xff501a){const _0x2ccea4=_0x1476db;let _0x54a6f9;this[_0x2ccea4(0x275)]=_0xa0897e[_0x2ccea4(0x229)];const _0x2dd08e=_0xa0897e[_0x2ccea4(0x1ff)]&&!_0xa0897e[_0x2ccea4(0x288)],_0x50e8cf=_0x2dd08e?0x0:_0xa0897e[_0x2ccea4(0x2a7)][_0x2ccea4(0x1f7)];if(_0xff501a[_0x2ccea4(0x2a6)](_0x5291ce=>{const _0x164ba6=_0x2ccea4;_0x5291ce[_0x164ba6(0x224)]=!0x0,_0x5291ce[_0x164ba6(0x2d9)]=_0xa0897e[_0x164ba6(0x2db)],_0x5291ce[_0x164ba6(0x24c)]=null;}),_0x2dd08e)_0x54a6f9=_0xff501a,this[_0x2ccea4(0x270)](_0x54a6f9,_0x2dd08e);else{if(_0xa0897e[_0x2ccea4(0x288)]){const _0xa81228=this[_0x2ccea4(0x25b)](_0xa0897e[_0x2ccea4(0x288)]);this[_0x2ccea4(0x20b)][_0x2ccea4(0x1f8)][_0x2ccea4(0x2e6)]=-_0xa81228[_0x2ccea4(0x252)],_0xa81228[_0x2ccea4(0x2a6)](_0x3ac07b=>{const _0x27f1ba=_0x2ccea4;_0x3ac07b[_0x27f1ba(0x1f7)]-=_0xa81228[_0x27f1ba(0x252)],_0x3ac07b[_0x27f1ba(0x2d9)]=_0xa0897e[_0x27f1ba(0x2db)],_0x3ac07b[_0x27f1ba(0x224)]=!0x0,_0x3ac07b[_0x27f1ba(0x24c)]=null;}),this[_0x2ccea4(0x270)](_0xa81228,!0x0),this[_0x2ccea4(0x272)][_0x2ccea4(0x2e6)]=-_0xa81228[_0x2ccea4(0x252)]+this[_0x2ccea4(0x275)],this[_0x2ccea4(0x24d)](_0xa81228);}this[_0x2ccea4(0x20b)][_0x2ccea4(0x1f8)][_0x2ccea4(0x2e6)]=_0x50e8cf,_0x54a6f9=this[_0x2ccea4(0x2e8)](_0xa0897e[_0x2ccea4(0x2a7)],_0xa0897e[_0x2ccea4(0x289)]),await this[_0x2ccea4(0x266)](_0x54a6f9),this[_0x2ccea4(0x270)](_0x54a6f9,_0x2dd08e);}_0xa0897e[_0x2ccea4(0x28c)]&&(this[_0x2ccea4(0x243)][_0x2ccea4(0x1e8)](_0x54a6f9,_0xa0897e[_0x2ccea4(0x28c)]),this[_0x2ccea4(0x25a)]=_0xa0897e[_0x2ccea4(0x28c)]),this[_0x2ccea4(0x272)][_0x2ccea4(0x2e6)]=_0x50e8cf+this[_0x2ccea4(0x275)],this[_0x2ccea4(0x24d)](_0x54a6f9),_0xff501a[_0x2ccea4(0x2cb)](_0x386a71=>{const _0x35b1a3=_0x2ccea4,_0x585d29=this[_0x35b1a3(0x1f1)](_0x386a71);return _0x585d29&&!this[_0x35b1a3(0x297)][_0x35b1a3(0x214)](_0x585d29);})[_0x2ccea4(0x2a6)]((_0x4b1bd6,_0x416049)=>{const _0xefe33=_0x2ccea4;_0x4b1bd6[_0xefe33(0x1f7)]=this[_0xefe33(0x20b)][_0xefe33(0x2e6)]+_0x416049,this[_0xefe33(0x248)](_0x4b1bd6);}),this[_0x2ccea4(0x20f)]()?(this[_0x2ccea4(0x240)]=0x0,this[_0x2ccea4(0x1f0)](!0x0),await this[_0x2ccea4(0x27d)]()):(this[_0x2ccea4(0x218)]=!0x1,this[_0x2ccea4(0x2b6)]());}[_0x1476db(0x1ea)](_0x1fedbe,_0x55229a){const _0x4fae9f=_0x1476db,_0xa6644f=_0x55229a&&_0x55229a[_0x4fae9f(0x24e)];if(_0xa6644f&&_0xa6644f[_0x4fae9f(0x2d0)](_0x4fae9f(0x210)))throw _0x55229a;const _0x426bf0=this[_0x4fae9f(0x1fc)][_0x4fae9f(0x2d4)][_0x4fae9f(0x268)](_0x4dc931);throw this[_0x4fae9f(0x218)]=!0x0,_0x426bf0[_0x4fae9f(0x221)](),this[_0x4fae9f(0x1fc)][_0x4fae9f(0x23a)](_0x4fae9f(0x274)),new _0x590191(_0x1fedbe,this[_0x4fae9f(0x1fc)],_0xa6644f?{'originalError':_0xa6644f}:void 0x0);}[_0x1476db(0x248)](_0x52263c){const _0x363afe=_0x1476db;this[_0x363afe(0x2b2)][_0x363afe(0x214)](_0x52263c)||(this[_0x363afe(0x2b2)][_0x363afe(0x293)](_0x52263c),this[_0x363afe(0x241)][_0x363afe(0x2df)](_0x52263c),this[_0x363afe(0x228)]||_0x363afe(0x1ed)==_0x52263c[_0x363afe(0x2a8)]&&!_0x52263c[_0x363afe(0x276)]||this[_0x363afe(0x245)]());}[_0x1476db(0x1f0)](_0x595407=!0x1){const _0x19cfc4=_0x1476db;!_0x595407&&this[_0x19cfc4(0x218)]||(this[_0x19cfc4(0x218)]=!0x0,clearTimeout(this[_0x19cfc4(0x242)]),this[_0x19cfc4(0x242)]=setTimeout(()=>{const _0x366856=_0x19cfc4;this[_0x366856(0x2cf)]()[_0x366856(0x286)](_0x2ae7a5=>{const _0x186e15=_0x366856;_0x2ae7a5&&(this[_0x186e15(0x2b6)](),this[_0x186e15(0x218)]=!0x1);})[_0x366856(0x291)](_0x314fb5=>{const _0x498619=_0x366856;this[_0x498619(0x2b6)](),this[_0x498619(0x218)]=!0x1,function(_0x2fb9bd){const _0xba9e5a=_0x498619;return _0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x204))||_0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x29e))||_0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x29c));}(_0x314fb5)||this[_0x498619(0x1ea)](_0x314fb5[_0x498619(0x24e)],_0x314fb5);});},this[_0x19cfc4(0x240)]));}[_0x1476db(0x27d)](){return new Promise(_0xa057c5=>{const _0x292edd=_0x92ac;this['on'](_0x292edd(0x234),()=>{_0xa057c5();});});}async[_0x1476db(0x2cf)](){const _0x2965fe=_0x1476db,_0x24eabe=this[_0x2965fe(0x1fc)][_0x2965fe(0x2d4)][_0x2965fe(0x268)](_0x3a0ced);if(this[_0x2965fe(0x2c1)]()&&(_0x24eabe[_0x2965fe(0x21f)](),this[_0x2965fe(0x2ba)]=!0x1),!this[_0x2965fe(0x20f)]())return!0x0;const _0x217223=[...this[_0x2965fe(0x241)]];for(const _0x4aa5c9 of _0x217223)_0x4aa5c9[_0x2965fe(0x211)]=this[_0x2965fe(0x20b)][_0x2965fe(0x1f8)][_0x2965fe(0x1fe)](_0x4aa5c9);const _0x7a01db=this[_0x2965fe(0x243)][_0x2965fe(0x237)](_0x217223),_0x215d70=J++,_0x447b3f=this[_0x2965fe(0x217)](_0x217223),_0x530f9f=await this[_0x2965fe(0x1e9)][_0x2965fe(0x2d7)](_0x447b3f,_0x447b3f[_0x2965fe(0x1f7)],_0x7a01db);try{return await this[_0x2965fe(0x1ec)](_0x217223,_0x530f9f,_0x215d70);}catch(_0x508b17){return this[_0x2965fe(0x1ea)](_0x2965fe(0x2c6),_0x508b17);}}async[_0x1476db(0x1ec)](_0x3f217a,_0x1f025b,_0x264701){const _0x29bd87=_0x1476db;if(_0x29bd87(0x279)in _0x1f025b)throw _0x1f025b[_0x29bd87(0x279)];let _0x2196eb=!0x1;if(_0x1f025b[_0x29bd87(0x1ff)]){_0x1f025b[_0x29bd87(0x28c)]&&(this[_0x29bd87(0x25a)]=_0x1f025b[_0x29bd87(0x28c)]),this[_0x29bd87(0x241)]=this[_0x29bd87(0x241)][_0x29bd87(0x2cb)](_0x4e682=>!_0x3f217a[_0x29bd87(0x284)](_0x4e682));for(const _0x3c70f7 of _0x3f217a)_0x3c70f7[_0x29bd87(0x2d9)]=_0x29bd87(0x28f)in _0x1f025b&&_0x1f025b[_0x29bd87(0x28f)]||void 0x0;X(_0x3f217a,_0x1f025b[_0x29bd87(0x2e6)]-_0x3f217a[_0x29bd87(0x252)]),this[_0x29bd87(0x24d)](_0x3f217a);const _0x10dced=_0x3f217a[_0x29bd87(0x2cb)](_0x588bdf=>{const _0x2f530a=_0x29bd87;if(!_0x588bdf[_0x2f530a(0x224)])return!0x1;const _0x2d8098=this[_0x2f530a(0x1f1)](_0x588bdf);return _0x2d8098&&!this[_0x2f530a(0x297)][_0x2f530a(0x214)](_0x2d8098);});X(_0x10dced,this[_0x29bd87(0x20b)][_0x29bd87(0x2e6)]),this[_0x29bd87(0x270)](_0x10dced),_0x2196eb=!0x0,this[_0x29bd87(0x240)]=this[_0x29bd87(0x1f4)];}else{const _0x1c98b2=this[_0x29bd87(0x2e8)](_0x1f025b[_0x29bd87(0x2a7)],_0x1f025b[_0x29bd87(0x289)])[_0x29bd87(0x2cb)](_0x415cd3=>_0x415cd3[_0x29bd87(0x1f7)]>=this[_0x29bd87(0x2ab)]);_0x1c98b2[_0x29bd87(0x2a6)](_0x1c36d0=>this[_0x29bd87(0x263)](_0x1c36d0)),this[_0x29bd87(0x241)]=this[_0x29bd87(0x241)][_0x29bd87(0x2cb)](_0x50664b=>!_0x50664b[_0x29bd87(0x224)]||!this[_0x29bd87(0x297)][_0x29bd87(0x214)](this[_0x29bd87(0x1f1)](_0x50664b))),this[_0x29bd87(0x241)][_0x29bd87(0x252)]&&X(this[_0x29bd87(0x241)],this[_0x29bd87(0x241)][0x0][_0x29bd87(0x1f7)]),await this[_0x29bd87(0x266)](_0x1c98b2),_0x2196eb=this[_0x29bd87(0x23f)](_0x1c98b2,_0x1f025b[_0x29bd87(0x2e6)],_0x1f025b[_0x29bd87(0x28c)]),this[_0x29bd87(0x240)]=Math[_0x29bd87(0x207)](this[_0x29bd87(0x240)]/0x2);}return _0x2196eb?!this[_0x29bd87(0x20f)]()||(this[_0x29bd87(0x1f0)](!0x0),!0x1):this[_0x29bd87(0x1ea)](_0x29bd87(0x283));}[_0x1476db(0x23f)](_0x4b88f0,_0x8413d4,_0xd9d491){const _0x2eb849=_0x1476db;try{const _0x7e0186={'document':this[_0x2eb849(0x20b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2de1fa,operationsB:_0x1635b8,originalOperations:_0xca8b05}=_0x153093(_0x4b88f0,this[_0x2eb849(0x241)],_0x7e0186);X(_0x2de1fa,this[_0x2eb849(0x20b)][_0x2eb849(0x2e6)]),X(_0x1635b8,_0x8413d4);for(const _0x21ac92 of _0x2de1fa){const _0x16e5f3=_0xca8b05[_0x2eb849(0x268)](_0x21ac92);_0x21ac92[_0x2eb849(0x24c)]=_0x16e5f3?_0x16e5f3[_0x2eb849(0x24c)]:null;}_0xd9d491&&(this[_0x2eb849(0x243)][_0x2eb849(0x1e8)](_0x4b88f0,_0xd9d491),this[_0x2eb849(0x25a)]=_0xd9d491),this[_0x2eb849(0x241)]=[..._0x1635b8],this[_0x2eb849(0x270)](_0x2de1fa),this[_0x2eb849(0x24d)](_0x4b88f0);}catch(_0x147e61){return console[_0x2eb849(0x279)](_0x147e61),!0x1;}return!0x0;}[_0x1476db(0x270)](_0x2a11ff,_0x1ee656=!0x1){const _0x1c9041=_0x1476db;this[_0x1c9041(0x1fc)][_0x1c9041(0x20c)][_0x1c9041(0x205)]({'isUndoable':!0x1,'isLocal':!0x1},_0x31bead=>{const _0x2a62b6=_0x1c9041;for(const _0xac590d of _0x2a11ff)this[_0x2a62b6(0x2b2)][_0x2a62b6(0x293)](_0xac590d),this[_0x2a62b6(0x263)](_0xac590d),_0x31bead[_0x2a62b6(0x27c)][_0x2a62b6(0x2c3)](_0xac590d),this[_0x2a62b6(0x1fc)][_0x2a62b6(0x20c)][_0x2a62b6(0x2ca)](_0xac590d);});}[_0x1476db(0x263)](_0x2636bb){const _0x31b176=_0x1476db,_0x19c4de=this[_0x31b176(0x1f1)](_0x2636bb);_0x19c4de&&this[_0x31b176(0x297)][_0x31b176(0x293)](_0x19c4de);}[_0x1476db(0x1f1)](_0xde424f){const _0x40bbbb=_0x1476db;let _0x438829,_0x4a095d;switch(_0xde424f[_0x40bbbb(0x2a8)]){case _0x40bbbb(0x25c):_0x438829=_0xde424f[_0x40bbbb(0x261)][_0x40bbbb(0x21b)];break;case _0x40bbbb(0x1ed):if(_0x4a095d=_0xde424f[_0x40bbbb(0x25d)],!_0x4a095d)return null;_0x438829=_0x4a095d[_0x40bbbb(0x21b)];break;case _0x40bbbb(0x27b):_0x438829=_0xde424f[_0x40bbbb(0x21b)];break;case _0x40bbbb(0x23d):_0x438829=_0xde424f[_0x40bbbb(0x290)];break;case _0x40bbbb(0x265):_0x438829=_0xde424f[_0x40bbbb(0x21c)][_0x40bbbb(0x21b)];break;default:return null;}return _0x438829[_0x40bbbb(0x1f3)];}[_0x1476db(0x24d)](_0x45c9b0){const _0x39430e=_0x1476db;_0x45c9b0[_0x39430e(0x2a6)](_0x176012=>{const _0x20a926=_0x39430e,_0x273d0f=_0x176012[_0x20a926(0x24a)]();_0x273d0f[_0x20a926(0x24c)]=_0x176012[_0x20a926(0x24c)],_0x273d0f[_0x20a926(0x224)]=!!_0x176012[_0x20a926(0x224)],_0x273d0f[_0x20a926(0x2d9)]=_0x176012[_0x20a926(0x2d9)],_0x273d0f[_0x20a926(0x1f7)]+=this[_0x20a926(0x275)],_0x176012[_0x20a926(0x285)]&&this[_0x20a926(0x2ac)][_0x20a926(0x293)](_0x273d0f),this[_0x20a926(0x272)][_0x20a926(0x2c3)](_0x273d0f);});}[_0x1476db(0x2de)](_0x5f41c4){const _0x358b60=_0x1476db,_0x55fa25=this[_0x358b60(0x1fc)][_0x358b60(0x2d4)][_0x358b60(0x268)](_0x358b60(0x2ad)),_0x55f901=this[_0x358b60(0x1fc)][_0x358b60(0x26d)];_0x5f41c4||(_0x5f41c4=_0x4f485d(_0x55f901,_0x358b60(0x258))),_0x55fa25[_0x358b60(0x29f)](_0x5f41c4,{'title':_0x4f485d(_0x55f901,_0x358b60(0x1f2)),'namespace':_0x358b60(0x232)}),this[_0x358b60(0x21a)]=!0x0,clearTimeout(this[_0x358b60(0x242)]),this[_0x358b60(0x241)]=[],this[_0x358b60(0x1fc)][_0x358b60(0x2d4)][_0x358b60(0x268)](_0x4dc931)[_0x358b60(0x221)]();}[_0x1476db(0x245)](){const _0x513de9=_0x1476db;this[_0x513de9(0x228)]||(this[_0x513de9(0x228)]=this[_0x513de9(0x1fc)][_0x513de9(0x2d4)][_0x513de9(0x268)](_0x1bd6ad)[_0x513de9(0x293)](_0x4f485d(this[_0x513de9(0x1fc)][_0x513de9(0x26d)],_0x513de9(0x2d6))));}[_0x1476db(0x2b6)](){const _0x46aef4=_0x1476db;this[_0x46aef4(0x228)]&&(this[_0x46aef4(0x1fc)][_0x46aef4(0x2d4)][_0x46aef4(0x268)](_0x1bd6ad)[_0x46aef4(0x28e)](this[_0x46aef4(0x228)]),this[_0x46aef4(0x228)]=null);}[_0x1476db(0x217)](_0x1a7508){const _0x2e0ff0=_0x1476db,_0x445a56=_0x1a7508[_0x2e0ff0(0x206)](_0x3f93eb=>_0x3f93eb[_0x2e0ff0(0x2a0)]());return this[_0x2e0ff0(0x215)][_0x2e0ff0(0x2a5)](_0x445a56);}[_0x1476db(0x2e8)](_0x45ceb8,_0xc1f4de){const _0xd19a45=_0x1476db;return this[_0xd19a45(0x215)][_0xd19a45(0x2cc)](_0x45ceb8)[_0xd19a45(0x206)]((_0x2b8c8a,_0x67c0da)=>{const _0x5a7071=_0xd19a45,_0x5b9863=_0x5a7071(0x20a)==_0xc1f4de[_0x67c0da][_0x5a7071(0x2a8)];if(_0x5a7071(0x22b)==_0x2b8c8a[_0x5a7071(0x2c0)]){const _0x2eb966=_0x2b8c8a[_0x5a7071(0x261)][_0x5a7071(0x21b)];!this[_0x5a7071(0x20b)][_0x5a7071(0x2c9)](_0x2eb966)&&(this[_0x5a7071(0x20b)][_0x5a7071(0x280)](_0x5a7071(0x29d),_0x2eb966)[_0x5a7071(0x1fb)]=!0x1);}const _0x34fc02=_0x26a5eb[_0x5a7071(0x29a)](_0x2b8c8a,this[_0x5a7071(0x20b)]);return _0x34fc02[_0x5a7071(0x211)]=_0x2b8c8a[_0x5a7071(0x211)],_0x34fc02[_0x5a7071(0x224)]=_0x5b9863,_0x34fc02[_0x5a7071(0x24c)]=_0x5b9863?null:_0xc1f4de[_0x67c0da][_0x5a7071(0x2d5)],_0x34fc02[_0x5a7071(0x285)]=_0x5a7071(0x246)===_0xc1f4de[_0x67c0da][_0x5a7071(0x2a8)],_0x34fc02[_0x5a7071(0x2d9)]=_0xc1f4de[_0x67c0da][_0x5a7071(0x2d9)],_0x34fc02;});}[_0x1476db(0x2e5)](){const _0x446004=_0x1476db;this[_0x446004(0x2ba)]=!0x0,this[_0x446004(0x2c1)]()?this[_0x446004(0x1f0)]():this[_0x446004(0x2ba)]=!0x1;}[_0x1476db(0x2c1)](){const _0x29de67=_0x1476db,_0x29646c=this[_0x29de67(0x1fc)][_0x29de67(0x2d4)][_0x29de67(0x268)](_0xbbb5a9)[_0x29de67(0x227)][_0x29de67(0x268)](this[_0x29de67(0x253)]);return!this[_0x29de67(0x1fc)][_0x29de67(0x292)]&&!!_0x29646c&&_0x29646c[_0x29de67(0x252)]>0x1&&this[_0x29de67(0x2ba)];}[_0x1476db(0x20f)](){const _0x36ccc3=_0x1476db;return this[_0x36ccc3(0x241)][_0x36ccc3(0x252)]>0x0||this[_0x36ccc3(0x2c1)]();}}export default l;class Q extends Error{}function X(_0x2484b2,_0x34f76e){const _0x10c9cf=_0x1476db;for(const _0x19980d of _0x2484b2)_0x19980d[_0x10c9cf(0x1f7)]=_0x34f76e++;}class Y{[_0x1476db(0x202)];[_0x1476db(0x21e)];constructor(_0xac231f){const _0x180446=_0x1476db;this[_0x180446(0x202)]=_0xac231f,this[_0x180446(0x21e)]=new WeakMap();}[_0x1476db(0x237)](_0x2d5b5c){const _0x57af43=_0x1476db;let _0x5b653a=_0x2d5b5c[_0x57af43(0x252)];for(;_0x5b653a--;){const _0x326494=_0x2d5b5c[_0x5b653a];if(!this[_0x57af43(0x202)][_0x57af43(0x214)](_0x326494)){if(!this[_0x57af43(0x21e)][_0x57af43(0x214)](_0x326494)){const _0x3a9f31=_0x1bff2c()[_0x57af43(0x2c7)](0x1,0x12);this[_0x57af43(0x21e)][_0x57af43(0x271)](_0x326494,_0x3a9f31);}return this[_0x57af43(0x21e)][_0x57af43(0x268)](_0x326494);}}}[_0x1476db(0x1e8)](_0x254aa1,_0x1248d8){const _0x118a17=_0x1476db;if(!_0x1248d8)return;let _0x56e33c=_0x254aa1[_0x118a17(0x252)];for(;_0x56e33c--;){const _0xa70660=_0x254aa1[_0x56e33c];this[_0x118a17(0x202)][_0x118a17(0x214)](_0xa70660)||this[_0x118a17(0x21e)][_0x118a17(0x271)](_0xa70660,_0x1248d8);}}}function _0x47a6(){const _0x481bcf=['_shouldSendSelectionUpdate','connect','addOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','connection','realtimecollaborationclient-sendbufferedoperations','slice','mySessionId','getRoot','applyOperation','filter','decompress','define','ready','_sendBufferedOperations','startsWith','change:range','createPositionFromPath','setPermissions','plugins','userId','PENDING_ACTION_SENDING_DATA','sendOperations','selection','createdAt','realtimecollaborationclient-init-document-already-initialized','sessionCreatedAt','lastSyncVersion','rtc-destroyed','_handleReconnectionError','push','permissions','190947yxvjWN','reconnect','disableReadOnlyMode','_initSessionsHandling','_refreshUserSelectionMarkers','version','document','_decompressOperations','RealTimeCollaborationClient','cloudServices.bundleVersion','setIdForTheLastOperation','_service','_crash','multi-root-editor-root-attributes-no-root','_handleServerResponse','marker','3746722nzYdkl','_isEditingAllowed','_sendBufferedOperationsDelayed','_getAffectedRoot','Synchronization\x20issue','rootName','_baseBufferDelay','collaboration.channelId','stopListening','baseVersion','history','editing','reset','_isAttached','editor','change:hasDomSelection','isUndoneOperation','wereChangesApplied','_loadRoot','high','_ignoredOperations','size','cloud-services-internal-error:\x20Not\x20connected.','enqueueChange','map','round','document:write','_bufferRootLoad','init','_document','model','unregister','off','_shouldSendUpdate','realtimecollaborationclient','wasUndone','directChange','collaboration-missing-channelid','has','_compressor','keys','_compressOperations','_isPendingUpdate','removeFromReconnectionStack','_hasSynchronizationProblem','root','targetPosition','_isConnected','_operationToId','createUserMarkerOperations','start','disconnect','_connectService','end','_isInit','getOperations','2917338YfuAuN','channelSessions','_pendingAction','offset','attributes','InsertOperation','getMany','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-service-internal-error','_initThrowingOnDataSet','_connectAfterSessionHasBeenFlushed','CollaborativeEditingService','real-time-collaboration','getDocumentDetails','change:_isPendingUpdate','createRange','destroy','getIdOfTheLastOperation','return','isDocumentOperation','enableReadOnlyMode','rootsAttributes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addRoot','isOfficialPlugin','_handleExternalOperations','_currentBufferDelay','_bufferedOperations','_sendBufferedOperationsDelayId','_operationIdentifier','differ','_setPendingAction','cs:removeUser','929192ULOVFI','_saveOperationInBuffer','state','clone','sessionAdd:','_authorId','_updateServerHistory','message','string','_handleInitialConnectionData','getOperationAuthor','length','_channelId','view','addUser','currentDocumentSession','entries','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','lastDocumentSession','_lastSyncedOperationId','_getOperationsFromInitData','insert','newRange','register','isEnabled','_handleReceivedOperations','position','change:_isEditingAllowed','_addKnownRoot','_setUpDataInit','move','_fetchMissingUsers','realtimecollaborationclient-init-session-connection-error','get','collaboration','addToReconnectionStack','apply','rtc-offline','locale','from','_isLoaded','_applyOperationsSet','set','serverHistory','_handleSendingSelectionMarkers','realtimecollaborationclient-error','_offset','affectsData','reconnection:\x20flushed\x20session','roots','error','404','addRootAttribute','batch','_waitUntilSynced','code','markers','createRoot','stop','CommentsOnly','realtimecollaborationclient-handleserverresponse','includes','_isDisconnection','then','cloudDocumentVersion','initData','metadata','parse','_handleReconnectionResponse','lastOperationId','sessionId','remove','lastOperationAcceptedAt','affectedSelectable','catch','isReadOnly','add','pluginName','getConnectedSessions','finally','_knownRootNames','path','fire','fromJSON','409','cloud-services-internal-error:\x20Request\x20timeout.','$root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','showWarning','toJSON','realtimecollaborationclient-init-non-existent-root','listenTo','config','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','compress','forEach','data','type','_disconnectService','realtimecollaborationclient-init-service-incorrect-server-operation','_lastServerVersion','_disconnectionOperations','Notification','isPremiumPlugin','2751480TXBQFc','95479gflPFd','Permissions','_knownOperations','connected','bind','loadRoot','_clearPendingAction','operationsReceived','getUser','suppressErrorInCollaboration','_hasSelectionChanged','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnected','createPositionAt','1579460eAdmtJ','requires','__className'];_0x47a6=function(){return _0x481bcf;};return _0x47a6();}
|