@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.0 → 47.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f4561=_0x5b57;(function(_0x1150a8,_0x2cb892){const _0x94331a=_0x5b57,_0x1ea74c=_0x1150a8();while(!![]){try{const _0x4bb564=parseInt(_0x94331a(0x1df))/0x1*(-parseInt(_0x94331a(0x1ee))/0x2)+-parseInt(_0x94331a(0x1f7))/0x3+parseInt(_0x94331a(0x1e6))/0x4*(-parseInt(_0x94331a(0x1e9))/0x5)+-parseInt(_0x94331a(0x1f5))/0x6*(parseInt(_0x94331a(0x1dc))/0x7)+-parseInt(_0x94331a(0x1eb))/0x8*(-parseInt(_0x94331a(0x1f1))/0x9)+parseInt(_0x94331a(0x1e3))/0xa+parseInt(_0x94331a(0x1f2))/0xb*(parseInt(_0x94331a(0x1e2))/0xc);if(_0x4bb564===_0x2cb892)break;else _0x1ea74c['push'](_0x1ea74c['shift']());}catch(_0x5326a2){_0x1ea74c['push'](_0x1ea74c['shift']());}}}(_0x468f,0xdd3ca));function _0x468f(){const _0x421bfe=['presencelist:show','keystrokes','12bbYdCy','11724660ftfcOr','change:hasPopup','div','887764yzNXol','focus','set','40QWrsQT','.ck-presence-list__dropdown-list','776EzLiBr','items','setTemplate','814522fhaGDY','isExpanded','presencelist:hide','34722mgyPBb','27508415eQCVSx','aria-expanded','render','2722938bxtYUC','bindTemplate','1513977fDcorN','setAttribute','Connected\x20users\x20list','createCollection','relatedTarget','contains','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','listenTo','removeAttribute','element','fire','.ck-balloon-panel_with-arrow','ck-presence-list__list','hasPopup','7sogKua','list','querySelector','1rVElKo'];_0x468f=function(){return _0x421bfe;};return _0x468f();}import{View as _0x442d34}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3bbc48}from'ckeditor5/src/utils.js';import{getTranslation as _0xbdaf8a}from'../../common-translations.js';function _0x5b57(_0x49bad6,_0x47e19c){const _0x468f38=_0x468f();return _0x5b57=function(_0x5b5769,_0x414f1a){_0x5b5769=_0x5b5769-0x1d8;let _0x5b9284=_0x468f38[_0x5b5769];return _0x5b9284;},_0x5b57(_0x49bad6,_0x47e19c);}export class PresenceInlineListView extends _0x442d34{[_0x2f4561(0x1ec)];[_0x2f4561(0x1e1)];constructor(_0x159674){const _0x1f65ed=_0x2f4561;super(_0x159674);const _0x28f40d=this[_0x1f65ed(0x1f6)];this[_0x1f65ed(0x1ec)]=this[_0x1f65ed(0x1fa)](),this[_0x1f65ed(0x1e1)]=new _0x3bbc48(),this[_0x1f65ed(0x1e8)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1f65ed(0x1ed)]({'tag':_0x1f65ed(0x1e5),'attributes':{'aria-haspopup':_0x28f40d['if'](_0x1f65ed(0x1db)),'aria-expanded':_0x28f40d['to'](_0x1f65ed(0x1ef),_0x288c96=>this[_0x1f65ed(0x1db)]&&String(_0x288c96)),'aria-label':_0x28f40d['to'](_0x1f65ed(0x1db),_0x3e3930=>_0xbdaf8a(_0x159674,_0x3e3930?_0x1f65ed(0x1fd):_0x1f65ed(0x1f9))),'role':_0x1f65ed(0x1dd),'tabindex':_0x28f40d['to'](_0x1f65ed(0x1db),_0x1dda05=>!!_0x1dda05&&0x0),'class':['ck',_0x1f65ed(0x1da)]},'children':this[_0x1f65ed(0x1ec)],'on':{'mouseenter':_0x28f40d['to'](()=>this[_0x1f65ed(0x1d8)](_0x1f65ed(0x1e0))),'mouseleave':_0x28f40d['to'](_0x27fab3=>{const _0x253db1=_0x1f65ed,_0x4721c8=_0x27fab3,_0x4d8841=document[_0x253db1(0x1de)](_0x253db1(0x1ea)),_0x12b283=document[_0x253db1(0x1de)](_0x253db1(0x1d9));_0x4d8841?.[_0x253db1(0x1fc)](_0x4721c8[_0x253db1(0x1fb)])||_0x12b283?.[_0x253db1(0x1fc)](_0x4721c8[_0x253db1(0x1fb)])||this[_0x253db1(0x1d8)](_0x253db1(0x1f0));})}}),this['on'](_0x1f65ed(0x1e4),(_0x1d4f17,_0x2c9e6d,_0x5b0bdf)=>{const _0x5a0153=_0x1f65ed;this[_0x5a0153(0x200)]&&(_0x5b0bdf?this[_0x5a0153(0x200)][_0x5a0153(0x1f8)](_0x5a0153(0x1f3),String(this[_0x5a0153(0x1ef)])):this[_0x5a0153(0x200)][_0x5a0153(0x1ff)](_0x5a0153(0x1f3)));});}[_0x2f4561(0x1e7)](){const _0x2d8e33=_0x2f4561;this[_0x2d8e33(0x200)][_0x2d8e33(0x1e7)]();}[_0x2f4561(0x1f4)](){const _0xd89cd4=_0x2f4561;super[_0xd89cd4(0x1f4)](),this[_0xd89cd4(0x1e1)][_0xd89cd4(0x1fe)](this[_0xd89cd4(0x200)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x517b69=_0x12f9;(function(_0x5aa61f,_0x114583){const _0x35f349=_0x12f9,_0x1c7bac=_0x5aa61f();while(!![]){try{const _0x3bdc13=-parseInt(_0x35f349(0x1fe))/0x1*(parseInt(_0x35f349(0x1e4))/0x2)+-parseInt(_0x35f349(0x1ed))/0x3*(parseInt(_0x35f349(0x1ee))/0x4)+-parseInt(_0x35f349(0x1fb))/0x5*(parseInt(_0x35f349(0x1e0))/0x6)+parseInt(_0x35f349(0x1f9))/0x7*(-parseInt(_0x35f349(0x1fd))/0x8)+-parseInt(_0x35f349(0x1fc))/0x9*(-parseInt(_0x35f349(0x1fa))/0xa)+parseInt(_0x35f349(0x1e1))/0xb+-parseInt(_0x35f349(0x1f3))/0xc*(-parseInt(_0x35f349(0x1f1))/0xd);if(_0x3bdc13===_0x114583)break;else _0x1c7bac['push'](_0x1c7bac['shift']());}catch(_0x4d09e6){_0x1c7bac['push'](_0x1c7bac['shift']());}}}(_0x787e,0x95afa));import{View as _0x45f2d3}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x3eb2cf}from'./presencecounterview.js';import{PresenceInlineListView as _0x5f2a95}from'./presenceinlinelistview.js';function _0x787e(){const _0x526c6a=['change','ck-reset','26UVEhss','ck-rounded-corners','12663492QHSPFc','listenTo','first','bindTemplate','items','ck-presence-list','133UaOalT','4990TKqdHm','40LQNCXI','10386wllOsC','429896LwjuhM','4538OqySEb','setTemplate','326430jXqpMz','5723652yJOXnz','tooltipPosition','set','142sDrlUc','ck-presence-list--collapsed','counterView','div','inlineListView','isCollapsed','hasPopup','bind','locale','815205rLfbrH','12Ecaenm'];_0x787e=function(){return _0x526c6a;};return _0x787e();}function _0x12f9(_0x2c457b,_0x4a251e){const _0x787efa=_0x787e();return _0x12f9=function(_0x12f9e6,_0xa7a19c){_0x12f9e6=_0x12f9e6-0x1df;let _0x447471=_0x787efa[_0x12f9e6];return _0x447471;},_0x12f9(_0x2c457b,_0x4a251e);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x45f2d3{[_0x517b69(0x1e6)];[_0x517b69(0x1e8)];constructor(_0x3c325a,_0x5cef63=0x6){const _0x2ff51a=_0x517b69;super(_0x3c325a);const _0x376808=this[_0x2ff51a(0x1f6)];this[_0x2ff51a(0x1e3)](_0x2ff51a(0x1e9),!0x0),this[_0x2ff51a(0x1e6)]=new _0x3eb2cf(this[_0x2ff51a(0x1ec)],_0x5cef63),this[_0x2ff51a(0x1e8)]=new _0x5f2a95(_0x3c325a),this[_0x2ff51a(0x1e8)][_0x2ff51a(0x1eb)](_0x2ff51a(0x1ea))['to'](this,_0x2ff51a(0x1e9)),this[_0x2ff51a(0x1f4)](this[_0x2ff51a(0x1e8)][_0x2ff51a(0x1f7)],_0x2ff51a(0x1ef),()=>{const _0x1add9c=_0x2ff51a;for(const _0x29d0ab of this[_0x1add9c(0x1e8)][_0x1add9c(0x1f7)])_0x29d0ab[_0x1add9c(0x1e2)]='s';this[_0x1add9c(0x1e8)][_0x1add9c(0x1f7)][_0x1add9c(0x1f5)]&&(this[_0x1add9c(0x1e8)][_0x1add9c(0x1f7)][_0x1add9c(0x1f5)][_0x1add9c(0x1e2)]='se');}),this[_0x2ff51a(0x1df)]({'tag':_0x2ff51a(0x1e7),'attributes':{'class':['ck',_0x2ff51a(0x1f8),_0x2ff51a(0x1f0),_0x2ff51a(0x1f2),_0x376808['if'](_0x2ff51a(0x1e9),_0x2ff51a(0x1e5))]},'children':[this[_0x2ff51a(0x1e8)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3206ce=_0x2101;function _0x2101(_0x459d38,_0x2c9af5){var _0x48b7b5=_0x48b7();return _0x2101=function(_0x2101e4,_0x2ed3c0){_0x2101e4=_0x2101e4-0x147;var _0x141fa2=_0x48b7b5[_0x2101e4];return _0x141fa2;},_0x2101(_0x459d38,_0x2c9af5);}(function(_0x1842e5,_0x35505d){var _0x2b187f=_0x2101,_0x1479b1=_0x1842e5();while(!![]){try{var _0x5435e0=-parseInt(_0x2b187f(0x14a))/0x1*(parseInt(_0x2b187f(0x147))/0x2)+-parseInt(_0x2b187f(0x154))/0x3+-parseInt(_0x2b187f(0x153))/0x4*(parseInt(_0x2b187f(0x14d))/0x5)+-parseInt(_0x2b187f(0x14c))/0x6*(-parseInt(_0x2b187f(0x148))/0x7)+-parseInt(_0x2b187f(0x156))/0x8*(-parseInt(_0x2b187f(0x14e))/0x9)+-parseInt(_0x2b187f(0x149))/0xa+parseInt(_0x2b187f(0x151))/0xb;if(_0x5435e0===_0x35505d)break;else _0x1479b1['push'](_0x1479b1['shift']());}catch(_0x568e7b){_0x1479b1['push'](_0x1479b1['shift']());}}}(_0x48b7,0x967c7));import{ContextPlugin as _0x456838}from'ckeditor5/src/core.js';import{Sessions as _0x3a7027}from'./realtimecollaborativeediting/sessions.js';function _0x48b7(){var _0x103319=['isPremiumPlugin','12426920KYHSOB','isOfficialPlugin','468840lEtKvr','1734936vojRDU','requires','40rugAaT','166714ElPsUH','98obQDor','820950xfEHOe','5lkBBKX','pluginName','316902vSdHsx','25EqoQqK','738855DuYzeU','PresenceList'];_0x48b7=function(){return _0x103319;};return _0x48b7();}import{PresenceListUI as _0x554c5d}from'./presencelist/presencelistui.js';export class PresenceList extends _0x456838{static get[_0x3206ce(0x155)](){return[_0x3a7027,_0x554c5d];}static get[_0x3206ce(0x14b)](){var _0x19811b=_0x3206ce;return _0x19811b(0x14f);}static get[_0x3206ce(0x152)](){return!0x0;}static get[_0x3206ce(0x150)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x3f0617)());[_0x500765(0x17a)];static get[_0x500765(0x14c)](){const _0x2a6f16=_0x500765;return[_0x1cce01,_0x2a6f16(0x167),_0x1caeb3,_0x22a677];}static get[_0x500765(0x150)](){const _0x196903=_0x500765;return _0x196903(0x138);}static get[_0x500765(0x155)](){return!0x0;}static get[_0x500765(0x141)](){return!0x0;}constructor(_0x5c497c){const _0x136567=_0x500765;super(_0x5c497c),this[_0x136567(0x17a)]=new Map();}async[_0x500765(0x170)](){const _0x520ec3=_0x500765,_0x1e626c=this[_0x520ec3(0x147)],_0x10f9fd=_0x1e626c[_0x520ec3(0x182)][_0x520ec3(0x154)](_0x520ec3(0x167));if(_0x1e626c[_0x520ec3(0x182)][_0x520ec3(0x154)](_0x1cce01)[_0x520ec3(0x133)](this),_0x10f9fd[_0x520ec3(0x149)]={'addCommentThread':async({channelId:_0x51fcfd,threadId:_0x1d5623,comments:_0x5c1d02,resolvedAt:_0x9dc7ac,resolvedBy:_0x5afb2a,context:_0x284bd4,attributes:_0x3a693a})=>{const _0x1c4f23=_0x520ec3,_0x39e4a8=await this[_0x1c4f23(0x173)](_0x51fcfd)[_0x1c4f23(0x13d)]({'commentThreadId':_0x1d5623,'comments':_0x5c1d02[_0x1c4f23(0x12f)](_0x1b7861=>function(_0xf95e86,_0x44dbf3,_0x45356f){const _0x16859a=_0x1c4f23;return{'commentThreadId':_0x45356f,'commentId':_0xf95e86[_0x16859a(0x161)],'userId':_0xf95e86[_0x16859a(0x11f)],'content':_0xf95e86[_0x16859a(0x163)],'documentId':_0x44dbf3,'createdAt':_0xf95e86[_0x16859a(0x14e)],'attributes':_0xf95e86[_0x16859a(0x176)]||{}};}(_0x1b7861,_0x51fcfd,_0x1d5623)),'resolvedAt':_0x9dc7ac,'resolvedBy':_0x5afb2a,'context':_0x284bd4,'attributes':_0x3a693a})[_0x1c4f23(0x136)](C);return{'threadId':_0x39e4a8[_0x1c4f23(0x12a)],'comments':_0x39e4a8[_0x1c4f23(0x175)]};},'getCommentThread':async({channelId:_0x59cd8f,threadId:_0x404866})=>{const _0x1f4c82=_0x520ec3,_0x4440e0=await this[_0x1f4c82(0x173)](_0x59cd8f)[_0x1f4c82(0x169)](_0x404866)[_0x1f4c82(0x136)](nt)[_0x1f4c82(0x136)](C);return _0x4440e0?_0x4440e0[_0x1f4c82(0x181)]?null:(await this[_0x1f4c82(0x127)]([_0x4440e0]),{'threadId':_0x4440e0[_0x1f4c82(0x12a)],'comments':_0x4440e0[_0x1f4c82(0x175)][_0x1f4c82(0x12f)](st),'context':_0x4440e0[_0x1f4c82(0x147)],'resolvedAt':_0x4440e0[_0x1f4c82(0x120)],'resolvedBy':_0x4440e0[_0x1f4c82(0x157)],'attributes':_0x4440e0[_0x1f4c82(0x176)]||{}}):null;},'updateCommentThread':async({channelId:_0x7ef772,threadId:_0x40b84f,context:_0x3660ad,unlinkedAt:_0x1efb9f,attributes:_0x38d63a})=>this[_0x520ec3(0x173)](_0x7ef772)[_0x520ec3(0x156)]({'commentThreadId':_0x40b84f,'context':_0x3660ad,'attributes':_0x38d63a,'unlinkedAt':_0x1efb9f})[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C),'resolveCommentThread':async({channelId:_0x47b982,threadId:_0x165fc0})=>{const _0x5ac70b=_0x520ec3,_0x23b5b1=await this[_0x5ac70b(0x173)](_0x47b982)[_0x5ac70b(0x148)](_0x165fc0)[_0x5ac70b(0x136)](nt)[_0x5ac70b(0x136)](C);return{'threadId':_0x23b5b1[_0x5ac70b(0x12a)],'resolvedAt':_0x23b5b1[_0x5ac70b(0x120)],'resolvedBy':_0x23b5b1[_0x5ac70b(0x157)]};},'reopenCommentThread':async({channelId:_0x58ed37,threadId:_0xc17f86})=>this[_0x520ec3(0x173)](_0x58ed37)[_0x520ec3(0x166)](_0xc17f86)[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C),'removeCommentThread':({channelId:_0x183ea7,threadId:_0x4dfaf6})=>this[_0x520ec3(0x173)](_0x183ea7)[_0x520ec3(0x15e)](_0x4dfaf6)[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C),'addComment':({channelId:_0xe338c6,threadId:_0x4b5516,commentId:_0x256d4f,content:_0x44e3aa,attributes:_0x4ace56})=>this[_0x520ec3(0x173)](_0xe338c6)[_0x520ec3(0x12b)](_0x4b5516,_0x256d4f,_0x44e3aa,_0x4ace56)[_0x520ec3(0x136)](C),'updateComment':({channelId:_0x379ee7,threadId:_0xffcfa0,commentId:_0x38edeb,content:_0x1f87d9,attributes:_0x1890ef})=>this[_0x520ec3(0x173)](_0x379ee7)[_0x520ec3(0x152)](_0xffcfa0,_0x38edeb,_0x1f87d9,_0x1890ef)[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C),'removeComment':({channelId:_0xf7034a,threadId:_0x4c5cdc,commentId:_0x531fcb})=>this[_0x520ec3(0x173)](_0xf7034a)[_0x520ec3(0x13e)](_0x4c5cdc,_0x531fcb)[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C)},_0x1e626c instanceof _0x5caa40){const _0x1f6b60=_0x1e626c[_0x520ec3(0x17e)][_0x520ec3(0x154)](_0x520ec3(0x178)),_0x381dee=_0x1e626c[_0x520ec3(0x182)][_0x520ec3(0x154)](_0x1caeb3);await this[_0x520ec3(0x12e)](_0x1f6b60);const _0x1b7663=await this[_0x520ec3(0x17a)][_0x520ec3(0x154)](_0x1f6b60)[_0x520ec3(0x14a)]();this[_0x520ec3(0x184)](_0x381dee,_0x520ec3(0x185)+_0x1f6b60,(_0x1b8c2d,{session:_0xc1c6ac})=>{const _0x3beeab=_0x520ec3;_0xc1c6ac['id']===_0x381dee[_0x3beeab(0x126)]&&(_0x1b8c2d[_0x3beeab(0x15f)](),this[_0x3beeab(0x147)][_0x3beeab(0x182)][_0x3beeab(0x154)](_0x3beeab(0x162))[_0x3beeab(0x17f)](_0xc1c6ac[_0x3beeab(0x13a)],_0x1f6b60));}),_0x381dee[_0x520ec3(0x135)](_0x1f6b60,_0x1b7663);}}async[_0x500765(0x12e)](_0x4401f0){const _0x3b4397=_0x500765;if(this[_0x3b4397(0x17a)][_0x3b4397(0x14d)](_0x4401f0))throw new _0x2cc6e8(_0x3b4397(0x165),null,{'channelId':_0x4401f0});const _0x15a380=this[_0x3b4397(0x147)][_0x3b4397(0x182)][_0x3b4397(0x154)](_0x3b4397(0x167)),_0x299122=new CloudServicesCommentsAdapter[(_0x3b4397(0x179))](_0x4401f0);this[_0x3b4397(0x17a)][_0x3b4397(0x13c)](_0x4401f0,_0x299122),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x128),(_0x572de9,_0x298acf)=>{const _0x296a03=_0x3b4397,{commentThreadId:_0x5a7d6a,documentId:_0x138876,context:_0x1de800,attributes:_0x5e8f50,resolvedAt:_0x39325b,resolvedBy:_0x208fd0,comments:_0x167bb2}=_0x298acf;_0x15a380[_0x296a03(0x169)](_0x5a7d6a)||_0x15a380[_0x296a03(0x13d)]({'threadId':_0x5a7d6a,'channelId':_0x138876,'comments':_0x167bb2?_0x167bb2[_0x296a03(0x12f)](st):[],'context':_0x1de800,'attributes':_0x5e8f50,'resolvedAt':_0x39325b,'resolvedBy':_0x208fd0,'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x125),(_0x293fbd,{commentThreadId:_0x161d85,documentId:_0x11bdb6,context:_0x3f2d14,unlinkedAt:_0x432a54,attributes:_0x502057})=>{const _0x5f4f2b=_0x3b4397;_0x15a380[_0x5f4f2b(0x169)](_0x161d85)&&_0x15a380[_0x5f4f2b(0x156)]({'threadId':_0x161d85,'channelId':_0x11bdb6,'context':_0x3f2d14,'unlinkedAt':_0x432a54,'attributes':_0x502057,'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x12d),(_0x173225,{commentThreadId:_0x3b6a6e,resolvedBy:_0x4c0ce4,resolvedAt:_0x3405c8})=>{const _0x22b76e=_0x3b4397,_0x2ef255=_0x15a380[_0x22b76e(0x169)](_0x3b6a6e);_0x2ef255&&_0x2ef255[_0x22b76e(0x160)]({'resolvedBy':_0x4c0ce4,'resolvedAt':_0x3405c8,'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x142),(_0x307039,{commentThreadId:_0x1caa5c})=>{const _0x2ece9e=_0x3b4397,_0x1e6096=_0x15a380[_0x2ece9e(0x169)](_0x1caa5c);_0x1e6096&&_0x1e6096[_0x2ece9e(0x183)]({'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x129),(_0xa36ce0,{commentThreadId:_0x430a03})=>{const _0x468a4c=_0x3b4397,_0x234d24=_0x15a380[_0x468a4c(0x169)](_0x430a03);_0x234d24&&_0x234d24[_0x468a4c(0x16e)]({'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x16b),(_0x323b2a,_0x4b6008)=>{const _0x10399f=_0x3b4397,_0xa0d4bd=_0x4b6008[_0x10399f(0x12a)],_0x59879f=_0x15a380[_0x10399f(0x169)](_0xa0d4bd);_0x59879f&&_0x59879f[_0x10399f(0x12b)]({...st(_0x4b6008),'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x145),(_0x5521de,{commentThreadId:_0x56ff54,commentId:_0x3f5e27,content:_0x42eed8,attributes:_0x24d64b})=>{const _0x4d4b11=_0x3b4397,_0x44a228=_0x15a380[_0x4d4b11(0x169)](_0x56ff54);if(_0x44a228){const _0x158030=_0x44a228[_0x4d4b11(0x16d)](_0x3f5e27);_0x158030&&_0x158030[_0x4d4b11(0x16f)]({'content':_0x42eed8,'attributes':_0x24d64b,'isFromAdapter':!0x0});}}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x16a),(_0x5171e3,{commentThreadId:_0x148b8c,commentId:_0xabd30d})=>{const _0x56294e=_0x3b4397,_0x42bd37=_0x15a380[_0x56294e(0x169)](_0x148b8c);if(_0x42bd37){const _0x4e79de=_0x42bd37[_0x56294e(0x16d)](_0xabd30d);_0x4e79de&&_0x4e79de[_0x56294e(0x16e)]({'isFromAdapter':!0x0});}}),await this[_0x3b4397(0x174)](_0x4401f0);}[_0x500765(0x15c)](){const _0xbccf59=_0x500765;if(this[_0xbccf59(0x147)]instanceof _0x5caa40){const _0x5d1eff=this[_0xbccf59(0x147)][_0xbccf59(0x17e)][_0xbccf59(0x154)](_0xbccf59(0x178));this[_0xbccf59(0x14f)](_0x5d1eff);}}[_0x500765(0x14f)](_0x210d8c){const _0x52dba2=_0x500765;if(!this[_0x52dba2(0x17a)][_0x52dba2(0x14d)](_0x210d8c))throw new _0x2cc6e8(_0x52dba2(0x144),null,{'channelId':_0x210d8c});this[_0x52dba2(0x173)](_0x210d8c)[_0x52dba2(0x164)](),this[_0x52dba2(0x17a)][_0x52dba2(0x15b)](_0x210d8c);}async[_0x500765(0x122)](){const _0x3be386=_0x500765;for(const _0x3dc191 of this[_0x3be386(0x17a)][_0x3be386(0x168)]())await this[_0x3be386(0x174)](_0x3dc191);if(this[_0x3be386(0x147)]instanceof _0x5caa40){const _0x59ddb4=this[_0x3be386(0x147)][_0x3be386(0x17e)][_0x3be386(0x154)](_0x3be386(0x178)),_0x78b813=this[_0x3be386(0x147)][_0x3be386(0x182)][_0x3be386(0x154)](_0x1caeb3);_0x78b813[_0x3be386(0x124)](_0x59ddb4);const _0x2df330=await this[_0x3be386(0x17a)][_0x3be386(0x154)](_0x59ddb4)[_0x3be386(0x14a)]();_0x78b813[_0x3be386(0x135)](_0x59ddb4,_0x2df330);}}async[_0x500765(0x174)](_0x206fa9){const _0x2f7e34=_0x500765,{connection:_0x4868e3}=this[_0x2f7e34(0x147)][_0x2f7e34(0x182)][_0x2f7e34(0x154)](_0x1cce01),_0x383a66=this[_0x2f7e34(0x147)][_0x2f7e34(0x182)][_0x2f7e34(0x154)](_0x2f7e34(0x167)),_0x58a411=this[_0x2f7e34(0x17a)][_0x2f7e34(0x154)](_0x206fa9),_0x499983=await _0x58a411[_0x2f7e34(0x15d)](_0x4868e3);await this[_0x2f7e34(0x127)](_0x499983);const _0x4134fa=new Set(Array[_0x2f7e34(0x159)](_0x383a66[_0x2f7e34(0x139)]({'channelId':_0x206fa9}),_0x53f581=>_0x53f581['id']));for(const _0xddc254 of _0x499983)_0xddc254[_0x2f7e34(0x181)]||_0x4134fa[_0x2f7e34(0x15b)](_0xddc254[_0x2f7e34(0x12a)]);for(const _0x19f955 of _0x4134fa)_0x383a66[_0x2f7e34(0x169)](_0x19f955)[_0x2f7e34(0x16e)]({'isFromAdapter':!0x0});for(const _0x3e5521 of _0x499983){let _0x38bee9=_0x383a66[_0x2f7e34(0x169)](_0x3e5521[_0x2f7e34(0x12a)]);const {commentThreadId:_0x265dd3,context:_0x1d370e,attributes:_0x49e1c7,resolvedBy:_0x1e0fd9,resolvedAt:_0x4657bc,unlinkedAt:_0xe541cb,deletedAt:_0x1f19cf}=_0x3e5521;if(_0x1f19cf)continue;_0x38bee9||(_0x38bee9=_0x383a66[_0x2f7e34(0x13d)]({'channelId':_0x206fa9,'threadId':_0x265dd3,'context':_0x1d370e,'attributes':_0x49e1c7||{},'resolvedBy':_0x1e0fd9,'resolvedAt':_0x4657bc,'unlinkedAt':_0xe541cb,'isFromAdapter':!0x0}));const _0x494423=new Set(Array[_0x2f7e34(0x159)](_0x38bee9[_0x2f7e34(0x175)],_0xc5199a=>_0xc5199a['id']));for(const _0x4023cf of _0x3e5521[_0x2f7e34(0x175)])_0x494423[_0x2f7e34(0x15b)](_0x4023cf[_0x2f7e34(0x161)]);for(const _0x16a5c4 of _0x494423)_0x38bee9[_0x2f7e34(0x16d)](_0x16a5c4)[_0x2f7e34(0x16e)]({'isFromAdapter':!0x0});for(const _0x1dc7e2 of _0x3e5521[_0x2f7e34(0x175)]){const _0x579016=_0x38bee9[_0x2f7e34(0x16d)](_0x1dc7e2[_0x2f7e34(0x161)]);_0x579016?_0x579016[_0x2f7e34(0x163)]!==_0x1dc7e2[_0x2f7e34(0x163)]&&_0x579016[_0x2f7e34(0x16f)]({'content':_0x1dc7e2[_0x2f7e34(0x163)],'isFromAdapter':!0x0}):_0x38bee9[_0x2f7e34(0x12b)](Object[_0x2f7e34(0x180)](st(_0x1dc7e2),{'isFromAdapter':!0x0}));}}}[_0x500765(0x173)](_0x80cc71){const _0x280ec7=_0x500765;if(!this[_0x280ec7(0x17a)][_0x280ec7(0x14d)](_0x80cc71))throw new _0x2cc6e8(_0x280ec7(0x158),null,{'channelId':_0x80cc71});return this[_0x280ec7(0x17a)][_0x280ec7(0x154)](_0x80cc71);}async[_0x500765(0x127)](_0x2182d5){const _0x9ef2e1=_0x500765,_0x279d3f=this[_0x9ef2e1(0x147)][_0x9ef2e1(0x182)][_0x9ef2e1(0x154)](_0x22a677),{connection:_0x5c521f}=this[_0x9ef2e1(0x147)][_0x9ef2e1(0x182)][_0x9ef2e1(0x154)](_0x1cce01),_0x215635=new Set();for(const {resolvedBy:_0x38cfd6,comments:_0x4dfc98}of _0x2182d5){_0x38cfd6&&!_0x279d3f[_0x9ef2e1(0x17b)](_0x38cfd6)&&_0x215635[_0x9ef2e1(0x121)](_0x38cfd6);for(const {userId:_0x454fe2}of _0x4dfc98)_0x279d3f[_0x9ef2e1(0x17b)](_0x454fe2)||_0x215635[_0x9ef2e1(0x121)](_0x454fe2);}if(0x0===_0x215635[_0x9ef2e1(0x130)])return;const _0x55e791=await _0xb671d3[_0x9ef2e1(0x17d)](_0x5c521f,Array[_0x9ef2e1(0x159)](_0x215635));for(const _0x9ef92d of _0x55e791)_0x279d3f[_0x9ef2e1(0x17b)](_0x9ef92d['id'])||_0x279d3f[_0x9ef2e1(0x16c)](_0x9ef92d);}}async function nt(_0x36cf8b){const _0x27cd21=_0x500765;if(_0x27cd21(0x140)!==_0x36cf8b[_0x27cd21(0x171)])throw _0x36cf8b;}function C(_0x2dae0d){const _0x397e5d=_0x500765;if((_0x5dd236=_0x2dae0d)[_0x397e5d(0x143)][_0x397e5d(0x13f)](_0x397e5d(0x12c))||_0x5dd236[_0x397e5d(0x143)][_0x397e5d(0x13f)](_0x397e5d(0x123))||_0x5dd236[_0x397e5d(0x143)][_0x397e5d(0x13f)](_0x397e5d(0x131)))return new Promise(()=>{});var _0x5dd236;throw _0x2dae0d;}function st(_0x46dce1){const _0x40cb8e=_0x500765;return{'threadId':_0x46dce1[_0x40cb8e(0x12a)],'commentId':_0x46dce1[_0x40cb8e(0x161)],'content':_0x46dce1[_0x40cb8e(0x163)],'createdAt':_0x46dce1[_0x40cb8e(0x14e)],'authorId':_0x46dce1[_0x40cb8e(0x146)],'attributes':_0x46dce1[_0x40cb8e(0x176)]||{}};}
|
|
23
|
+
function _0x465f(){const _0x201968=['collaboration.channelId','getCommentThread','Permissions','update','removeComment','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadResolved','setPermissions','reopen','addComment','commentRemoved','130345kzRtYk','192ksOauG','connect','_services','unregister','map','adapter','1080ixheVL','permissions','resolveCommentThread','deletedAt','sessionAdd:','off','set','isOfficialPlugin','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsersForThreads','code','comments','commentId','mySessionId','624690CqYsOE','commentThreadId','_connectService','9479840DUPrdP','register','commentThreadUpdated','_getService','commentThreadAdded','disconnect','commentThreadRemoved','addUser','getComment','updateComment','reconnect','init','_setUpService','plugins','1821645tcfibg','156IYpXgP','getMany','resolvedAt','catch','createdAt','size','authorId','get','remove','add','addToReconnectionStack','from','496oolWRw','keys','getConnectedSessions','reopenCommentThread','165585rrXWul','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','cloudservicescommentsadapter-service-not-exist','content','404','assign','90279kjXYOC','cloudservicescommentsadapter-disconnect-not-exist','destroy','has','config','commentAdded','commentUpdated','4261kJLGcp','getUser','addCommentThread','resolvedBy','_terminateService','message','CloudServicesCommentsAdapter','getCommentThreads','CommentsService','commentThreadReopened','attributes','pluginName','userId','requires','startsWith','isPremiumPlugin','delete','12jvQMxG','CommentsRepository','resolve','updateCommentThread','context','removeCommentThread'];_0x465f=function(){return _0x201968;};return _0x465f();}const _0x412de2=_0x36ab;function _0x36ab(_0xbee30c,_0x475ed1){const _0x465fd6=_0x465f();return _0x36ab=function(_0x36ab0e,_0x24a8c7){_0x36ab0e=_0x36ab0e-0x1a9;let _0xf3f21f=_0x465fd6[_0x36ab0e];return _0xf3f21f;},_0x36ab(_0xbee30c,_0x475ed1);}(function(_0x55be7f,_0x521a59){const _0xa45ac0=_0x36ab,_0x3c3a44=_0x55be7f();while(!![]){try{const _0x2ffbd7=parseInt(_0xa45ac0(0x206))/0x1*(-parseInt(_0xa45ac0(0x1f4))/0x2)+-parseInt(_0xa45ac0(0x1e7))/0x3+-parseInt(_0xa45ac0(0x1e8))/0x4*(-parseInt(_0xa45ac0(0x1c0))/0x5)+-parseInt(_0xa45ac0(0x1af))/0x6*(-parseInt(_0xa45ac0(0x1f8))/0x7)+parseInt(_0xa45ac0(0x1c7))/0x8*(parseInt(_0xa45ac0(0x1ff))/0x9)+-parseInt(_0xa45ac0(0x1d9))/0xa+parseInt(_0xa45ac0(0x1d6))/0xb*(parseInt(_0xa45ac0(0x1c1))/0xc);if(_0x2ffbd7===_0x521a59)break;else _0x3c3a44['push'](_0x3c3a44['shift']());}catch(_0x10d55e){_0x3c3a44['push'](_0x3c3a44['shift']());}}}(_0x465f,0xae893));import{Context as _0x1c8ce5,ContextPlugin as _0x15330f}from'ckeditor5/src/core.js';import{CKEditorError as _0x40aba7}from'ckeditor5/src/utils.js';import{Users as _0x270f4c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xd94a2,User as _0x20c4a0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1643e5}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2cef3e}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x15330f{static [_0x412de2(0x20e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xd94a2)());[_0x412de2(0x1c3)];static get[_0x412de2(0x1ab)](){const _0x396384=_0x412de2;return[_0x1643e5,_0x396384(0x1b0),_0x2cef3e,_0x270f4c];}static get[_0x412de2(0x1a9)](){const _0x34023b=_0x412de2;return _0x34023b(0x20c);}static get[_0x412de2(0x1ce)](){return!0x0;}static get[_0x412de2(0x1ad)](){return!0x0;}constructor(_0x211e43){const _0x1e7f40=_0x412de2;super(_0x211e43),this[_0x1e7f40(0x1c3)]=new Map();}async[_0x412de2(0x1e4)](){const _0x35b2f3=_0x412de2,_0x13b909=this[_0x35b2f3(0x1b3)],_0x28f6f8=_0x13b909[_0x35b2f3(0x1e6)][_0x35b2f3(0x1ef)](_0x35b2f3(0x1b0));if(_0x13b909[_0x35b2f3(0x1e6)][_0x35b2f3(0x1ef)](_0x1643e5)[_0x35b2f3(0x1f2)](this),_0x28f6f8[_0x35b2f3(0x1c6)]={'addCommentThread':async({channelId:_0x58b5af,threadId:_0x430be3,comments:_0x481ddb,resolvedAt:_0x1bc462,resolvedBy:_0x4d18d2,context:_0x479ace,attributes:_0x524b0a})=>{const _0x2cdab7=_0x35b2f3,_0x1960da=await this[_0x2cdab7(0x1dc)](_0x58b5af)[_0x2cdab7(0x208)]({'commentThreadId':_0x430be3,'comments':_0x481ddb[_0x2cdab7(0x1c5)](_0x359f66=>function(_0x4e283f,_0x2128ca,_0x457d7a){const _0xb709c6=_0x2cdab7;return{'commentThreadId':_0x457d7a,'commentId':_0x4e283f[_0xb709c6(0x1d4)],'userId':_0x4e283f[_0xb709c6(0x1ee)],'content':_0x4e283f[_0xb709c6(0x1fc)],'documentId':_0x2128ca,'createdAt':_0x4e283f[_0xb709c6(0x1ec)],'attributes':_0x4e283f[_0xb709c6(0x210)]||{}};}(_0x359f66,_0x58b5af,_0x430be3)),'resolvedAt':_0x1bc462,'resolvedBy':_0x4d18d2,'context':_0x479ace,'attributes':_0x524b0a})[_0x2cdab7(0x1eb)](k);return{'threadId':_0x1960da[_0x2cdab7(0x1d7)],'comments':_0x1960da[_0x2cdab7(0x1d3)]};},'getCommentThread':async({channelId:_0x380dc8,threadId:_0x2b1518})=>{const _0x3917da=_0x35b2f3,_0x4c7552=await this[_0x3917da(0x1dc)](_0x380dc8)[_0x3917da(0x1b6)](_0x2b1518)[_0x3917da(0x1eb)](F)[_0x3917da(0x1eb)](k);return _0x4c7552?_0x4c7552[_0x3917da(0x1ca)]?null:(await this[_0x3917da(0x1d1)]([_0x4c7552]),{'threadId':_0x4c7552[_0x3917da(0x1d7)],'comments':_0x4c7552[_0x3917da(0x1d3)][_0x3917da(0x1c5)](S),'context':_0x4c7552[_0x3917da(0x1b3)],'resolvedAt':_0x4c7552[_0x3917da(0x1ea)],'resolvedBy':_0x4c7552[_0x3917da(0x209)],'attributes':_0x4c7552[_0x3917da(0x210)]||{}}):null;},'updateCommentThread':async({channelId:_0x545dfb,threadId:_0x1052da,context:_0x258c72,unlinkedAt:_0x4cec4b,attributes:_0x5d9897})=>this[_0x35b2f3(0x1dc)](_0x545dfb)[_0x35b2f3(0x1b2)]({'commentThreadId':_0x1052da,'context':_0x258c72,'attributes':_0x5d9897,'unlinkedAt':_0x4cec4b})[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k),'resolveCommentThread':async({channelId:_0x39c968,threadId:_0x1f18ac})=>{const _0xebbd1e=_0x35b2f3,_0x138f7c=await this[_0xebbd1e(0x1dc)](_0x39c968)[_0xebbd1e(0x1c9)](_0x1f18ac)[_0xebbd1e(0x1eb)](F)[_0xebbd1e(0x1eb)](k);return{'threadId':_0x138f7c[_0xebbd1e(0x1d7)],'resolvedAt':_0x138f7c[_0xebbd1e(0x1ea)],'resolvedBy':_0x138f7c[_0xebbd1e(0x209)]};},'reopenCommentThread':async({channelId:_0x3c1deb,threadId:_0x5aa4ea})=>this[_0x35b2f3(0x1dc)](_0x3c1deb)[_0x35b2f3(0x1f7)](_0x5aa4ea)[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k),'removeCommentThread':({channelId:_0x1d45ac,threadId:_0x41f447})=>this[_0x35b2f3(0x1dc)](_0x1d45ac)[_0x35b2f3(0x1b4)](_0x41f447)[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k),'addComment':({channelId:_0x45ac60,threadId:_0x1fcbe4,commentId:_0x306de2,content:_0x228d2c,attributes:_0x3576ae})=>this[_0x35b2f3(0x1dc)](_0x45ac60)[_0x35b2f3(0x1be)](_0x1fcbe4,_0x306de2,_0x228d2c,_0x3576ae)[_0x35b2f3(0x1eb)](k),'updateComment':({channelId:_0xe6d1cd,threadId:_0x49a22c,commentId:_0x12babf,content:_0x4b5336,attributes:_0x679310})=>this[_0x35b2f3(0x1dc)](_0xe6d1cd)[_0x35b2f3(0x1e2)](_0x49a22c,_0x12babf,_0x4b5336,_0x679310)[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k),'removeComment':({channelId:_0xcc1161,threadId:_0x4ee56a,commentId:_0x4374b4})=>this[_0x35b2f3(0x1dc)](_0xcc1161)[_0x35b2f3(0x1b9)](_0x4ee56a,_0x4374b4)[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k)},_0x13b909 instanceof _0x1c8ce5){const _0x1f15cd=_0x13b909[_0x35b2f3(0x203)][_0x35b2f3(0x1ef)](_0x35b2f3(0x1b5)),_0x935701=_0x13b909[_0x35b2f3(0x1e6)][_0x35b2f3(0x1ef)](_0x2cef3e);await this[_0x35b2f3(0x1e5)](_0x1f15cd);const _0x31ad28=await this[_0x35b2f3(0x1c3)][_0x35b2f3(0x1ef)](_0x1f15cd)[_0x35b2f3(0x1f6)]();this[_0x35b2f3(0x1fa)](_0x935701,_0x35b2f3(0x1cb)+_0x1f15cd,(_0xa39502,{session:_0xb15e9b})=>{const _0x4bb9da=_0x35b2f3;_0xb15e9b['id']===_0x935701[_0x4bb9da(0x1d5)]&&(_0xa39502[_0x4bb9da(0x1cc)](),this[_0x4bb9da(0x1b3)][_0x4bb9da(0x1e6)][_0x4bb9da(0x1ef)](_0x4bb9da(0x1b7))[_0x4bb9da(0x1bc)](_0xb15e9b[_0x4bb9da(0x1c8)],_0x1f15cd));}),_0x935701[_0x35b2f3(0x1da)](_0x1f15cd,_0x31ad28);}}async[_0x412de2(0x1e5)](_0x8daa85){const _0x379983=_0x412de2;if(this[_0x379983(0x1c3)][_0x379983(0x202)](_0x8daa85))throw new _0x40aba7(_0x379983(0x1cf),null,{'channelId':_0x8daa85});const _0x31ff11=this[_0x379983(0x1b3)][_0x379983(0x1e6)][_0x379983(0x1ef)](_0x379983(0x1b0)),_0x60f10b=new CloudServicesCommentsAdapter[(_0x379983(0x20e))](_0x8daa85);this[_0x379983(0x1c3)][_0x379983(0x1cd)](_0x8daa85,_0x60f10b),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1dd),(_0x9b098,_0x27580e)=>{const _0x17cbfa=_0x379983,{commentThreadId:_0x576753,documentId:_0x2b722a,context:_0x3b9f16,attributes:_0x59e5b9,resolvedAt:_0x5342c3,resolvedBy:_0x3c107d,comments:_0xc0a6b6}=_0x27580e;_0x31ff11[_0x17cbfa(0x1b6)](_0x576753)||_0x31ff11[_0x17cbfa(0x208)]({'threadId':_0x576753,'channelId':_0x2b722a,'comments':_0xc0a6b6?_0xc0a6b6[_0x17cbfa(0x1c5)](S):[],'context':_0x3b9f16,'attributes':_0x59e5b9,'resolvedAt':_0x5342c3,'resolvedBy':_0x3c107d,'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1db),(_0x102302,{commentThreadId:_0x3c46f0,documentId:_0x5d8474,context:_0x526c16,unlinkedAt:_0x54e4db,attributes:_0x78423f})=>{const _0x17aa57=_0x379983;_0x31ff11[_0x17aa57(0x1b6)](_0x3c46f0)&&_0x31ff11[_0x17aa57(0x1b2)]({'threadId':_0x3c46f0,'channelId':_0x5d8474,'context':_0x526c16,'unlinkedAt':_0x54e4db,'attributes':_0x78423f,'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1bb),(_0x69f227,{commentThreadId:_0x3486f4,resolvedBy:_0x39b804,resolvedAt:_0x3b033e})=>{const _0x17c0a9=_0x379983,_0x1826f0=_0x31ff11[_0x17c0a9(0x1b6)](_0x3486f4);_0x1826f0&&_0x1826f0[_0x17c0a9(0x1b1)]({'resolvedBy':_0x39b804,'resolvedAt':_0x3b033e,'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x20f),(_0x5e7e25,{commentThreadId:_0x4c3efc})=>{const _0x23570a=_0x379983,_0x55bd86=_0x31ff11[_0x23570a(0x1b6)](_0x4c3efc);_0x55bd86&&_0x55bd86[_0x23570a(0x1bd)]({'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1df),(_0x9b0a86,{commentThreadId:_0x21bc98})=>{const _0x18239d=_0x379983,_0x71fdad=_0x31ff11[_0x18239d(0x1b6)](_0x21bc98);_0x71fdad&&_0x71fdad[_0x18239d(0x1f0)]({'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x204),(_0x3275ba,_0x778d64)=>{const _0x5cf045=_0x379983,_0x3a9ad9=_0x778d64[_0x5cf045(0x1d7)],_0x153b3e=_0x31ff11[_0x5cf045(0x1b6)](_0x3a9ad9);_0x153b3e&&_0x153b3e[_0x5cf045(0x1be)]({...S(_0x778d64),'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x205),(_0x16847d,{commentThreadId:_0x36ee3e,commentId:_0x4ab712,content:_0x17de70,attributes:_0x4c70df})=>{const _0xb45fbe=_0x379983,_0x1f3aea=_0x31ff11[_0xb45fbe(0x1b6)](_0x36ee3e);if(_0x1f3aea){const _0x4fced4=_0x1f3aea[_0xb45fbe(0x1e1)](_0x4ab712);_0x4fced4&&_0x4fced4[_0xb45fbe(0x1b8)]({'content':_0x17de70,'attributes':_0x4c70df,'isFromAdapter':!0x0});}}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1bf),(_0x1aea22,{commentThreadId:_0x2a726d,commentId:_0x946051})=>{const _0x5e9067=_0x379983,_0x24cd26=_0x31ff11[_0x5e9067(0x1b6)](_0x2a726d);if(_0x24cd26){const _0x411bf4=_0x24cd26[_0x5e9067(0x1e1)](_0x946051);_0x411bf4&&_0x411bf4[_0x5e9067(0x1f0)]({'isFromAdapter':!0x0});}}),await this[_0x379983(0x1d8)](_0x8daa85);}[_0x412de2(0x201)](){const _0x518654=_0x412de2;if(this[_0x518654(0x1b3)]instanceof _0x1c8ce5){const _0x5730e6=this[_0x518654(0x1b3)][_0x518654(0x203)][_0x518654(0x1ef)](_0x518654(0x1b5));this[_0x518654(0x20a)](_0x5730e6);}}[_0x412de2(0x20a)](_0x129d4d){const _0x3a6c70=_0x412de2;if(!this[_0x3a6c70(0x1c3)][_0x3a6c70(0x202)](_0x129d4d))throw new _0x40aba7(_0x3a6c70(0x200),null,{'channelId':_0x129d4d});this[_0x3a6c70(0x1dc)](_0x129d4d)[_0x3a6c70(0x1de)](),this[_0x3a6c70(0x1c3)][_0x3a6c70(0x1ae)](_0x129d4d);}async[_0x412de2(0x1e3)](){const _0x4157de=_0x412de2;for(const _0x149a5b of this[_0x4157de(0x1c3)][_0x4157de(0x1f5)]())await this[_0x4157de(0x1d8)](_0x149a5b);if(this[_0x4157de(0x1b3)]instanceof _0x1c8ce5){const _0x2176ef=this[_0x4157de(0x1b3)][_0x4157de(0x203)][_0x4157de(0x1ef)](_0x4157de(0x1b5)),_0xeec2c8=this[_0x4157de(0x1b3)][_0x4157de(0x1e6)][_0x4157de(0x1ef)](_0x2cef3e);_0xeec2c8[_0x4157de(0x1c4)](_0x2176ef);const _0x5c9157=await this[_0x4157de(0x1c3)][_0x4157de(0x1ef)](_0x2176ef)[_0x4157de(0x1f6)]();_0xeec2c8[_0x4157de(0x1da)](_0x2176ef,_0x5c9157);}}async[_0x412de2(0x1d8)](_0x48faed){const _0x1b5a4e=_0x412de2,{connection:_0x51e5bf}=this[_0x1b5a4e(0x1b3)][_0x1b5a4e(0x1e6)][_0x1b5a4e(0x1ef)](_0x1643e5),_0x228ef8=this[_0x1b5a4e(0x1b3)][_0x1b5a4e(0x1e6)][_0x1b5a4e(0x1ef)](_0x1b5a4e(0x1b0)),_0x2a2938=this[_0x1b5a4e(0x1c3)][_0x1b5a4e(0x1ef)](_0x48faed),_0xf44f09=await _0x2a2938[_0x1b5a4e(0x1c2)](_0x51e5bf);await this[_0x1b5a4e(0x1d1)](_0xf44f09);const _0x1628f1=new Set(Array[_0x1b5a4e(0x1f3)](_0x228ef8[_0x1b5a4e(0x20d)]({'channelId':_0x48faed}),_0x15c868=>_0x15c868['id']));for(const _0x20cf41 of _0xf44f09)_0x20cf41[_0x1b5a4e(0x1ca)]||_0x1628f1[_0x1b5a4e(0x1ae)](_0x20cf41[_0x1b5a4e(0x1d7)]);for(const _0x320d4e of _0x1628f1)_0x228ef8[_0x1b5a4e(0x1b6)](_0x320d4e)[_0x1b5a4e(0x1f0)]({'isFromAdapter':!0x0});for(const _0x2393dc of _0xf44f09){let _0x4c2948=_0x228ef8[_0x1b5a4e(0x1b6)](_0x2393dc[_0x1b5a4e(0x1d7)]);const {commentThreadId:_0x2eaa02,context:_0xeb4dd9,attributes:_0x4fe717,resolvedBy:_0x4deba4,resolvedAt:_0x275b51,unlinkedAt:_0x3428ff,deletedAt:_0x419ae1}=_0x2393dc;if(_0x419ae1)continue;_0x4c2948||(_0x4c2948=_0x228ef8[_0x1b5a4e(0x208)]({'channelId':_0x48faed,'threadId':_0x2eaa02,'context':_0xeb4dd9,'attributes':_0x4fe717||{},'resolvedBy':_0x4deba4,'resolvedAt':_0x275b51,'unlinkedAt':_0x3428ff,'isFromAdapter':!0x0}));const _0x4ab0bc=new Set(Array[_0x1b5a4e(0x1f3)](_0x4c2948[_0x1b5a4e(0x1d3)],_0x3a0adc=>_0x3a0adc['id']));for(const _0x39db72 of _0x2393dc[_0x1b5a4e(0x1d3)])_0x4ab0bc[_0x1b5a4e(0x1ae)](_0x39db72[_0x1b5a4e(0x1d4)]);for(const _0x4dfeb9 of _0x4ab0bc)_0x4c2948[_0x1b5a4e(0x1e1)](_0x4dfeb9)[_0x1b5a4e(0x1f0)]({'isFromAdapter':!0x0});for(const _0x127b28 of _0x2393dc[_0x1b5a4e(0x1d3)]){const _0xd333e5=_0x4c2948[_0x1b5a4e(0x1e1)](_0x127b28[_0x1b5a4e(0x1d4)]);_0xd333e5?_0xd333e5[_0x1b5a4e(0x1fc)]!==_0x127b28[_0x1b5a4e(0x1fc)]&&_0xd333e5[_0x1b5a4e(0x1b8)]({'content':_0x127b28[_0x1b5a4e(0x1fc)],'isFromAdapter':!0x0}):_0x4c2948[_0x1b5a4e(0x1be)](Object[_0x1b5a4e(0x1fe)](S(_0x127b28),{'isFromAdapter':!0x0}));}}}[_0x412de2(0x1dc)](_0x2a2620){const _0x346765=_0x412de2;if(!this[_0x346765(0x1c3)][_0x346765(0x202)](_0x2a2620))throw new _0x40aba7(_0x346765(0x1fb),null,{'channelId':_0x2a2620});return this[_0x346765(0x1c3)][_0x346765(0x1ef)](_0x2a2620);}async[_0x412de2(0x1d1)](_0x1bcbb8){const _0x228101=_0x412de2,_0x100c2b=this[_0x228101(0x1b3)][_0x228101(0x1e6)][_0x228101(0x1ef)](_0x270f4c),{connection:_0x5391ab}=this[_0x228101(0x1b3)][_0x228101(0x1e6)][_0x228101(0x1ef)](_0x1643e5),_0x1049ad=new Set();for(const {resolvedBy:_0x7b8d34,comments:_0x5f1687}of _0x1bcbb8){_0x7b8d34&&!_0x100c2b[_0x228101(0x207)](_0x7b8d34)&&_0x1049ad[_0x228101(0x1f1)](_0x7b8d34);for(const {userId:_0xe5ba82}of _0x5f1687)_0x100c2b[_0x228101(0x207)](_0xe5ba82)||_0x1049ad[_0x228101(0x1f1)](_0xe5ba82);}if(0x0===_0x1049ad[_0x228101(0x1ed)])return;const _0x42497f=await _0x20c4a0[_0x228101(0x1e9)](_0x5391ab,Array[_0x228101(0x1f3)](_0x1049ad));for(const _0x31829c of _0x42497f)_0x100c2b[_0x228101(0x207)](_0x31829c['id'])||_0x100c2b[_0x228101(0x1e0)](_0x31829c);}}async function F(_0x5328c7){const _0xbb7f6a=_0x412de2;if(_0xbb7f6a(0x1fd)!==_0x5328c7[_0xbb7f6a(0x1d2)])throw _0x5328c7;}function k(_0x3a109f){const _0x39f609=_0x412de2;if((_0x5f3400=_0x3a109f)[_0x39f609(0x20b)][_0x39f609(0x1ac)](_0x39f609(0x1ba))||_0x5f3400[_0x39f609(0x20b)][_0x39f609(0x1ac)](_0x39f609(0x1d0))||_0x5f3400[_0x39f609(0x20b)][_0x39f609(0x1ac)](_0x39f609(0x1f9)))return new Promise(()=>{});var _0x5f3400;throw _0x3a109f;}function S(_0x262481){const _0x5c5cd5=_0x412de2;return{'threadId':_0x262481[_0x5c5cd5(0x1d7)],'commentId':_0x262481[_0x5c5cd5(0x1d4)],'content':_0x262481[_0x5c5cd5(0x1fc)],'createdAt':_0x262481[_0x5c5cd5(0x1ec)],'authorId':_0x262481[_0x5c5cd5(0x1aa)],'attributes':_0x262481[_0x5c5cd5(0x210)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d7e63=_0x442b;function _0x442b(_0x1b9570,_0x448bd7){const _0x2f7c0e=_0x2f7c();return _0x442b=function(_0x442b6e,_0x347b2b){_0x442b6e=_0x442b6e-0x1d4;let _0x434ef5=_0x2f7c0e[_0x442b6e];return _0x434ef5;},_0x442b(_0x1b9570,_0x448bd7);}function _0x2f7c(){const _0x7977ef=['isThreadsLoadingPaused','56FdthRL','10sUQydf','get','collaboration.channelId','isPremiumPlugin','CommentsEditing','1536084HDACgv','4606602lehWGP','RealTimeCollaborativeComments','6738993aMtAgf','connected','destroy','6470120CIXIyE','pluginName','4812930NQtxUK','data','editor','4nTXwze','ready','isOfficialPlugin','CommentsRepository','config','once','7FdsGKq','plugins','switchReadOnly','listenTo','init','_terminateService','requires','318639mfYqPA','change:state','_setUpService','Comments','67335qzFjuP'];_0x2f7c=function(){return _0x7977ef;};return _0x2f7c();}(function(_0x578ace,_0x20bf9a){const _0x478d97=_0x442b,_0x537332=_0x578ace();while(!![]){try{const _0x11182e=parseInt(_0x478d97(0x1dd))/0x1+parseInt(_0x478d97(0x1e3))/0x2*(parseInt(_0x478d97(0x1e1))/0x3)+-parseInt(_0x478d97(0x1f4))/0x4*(-parseInt(_0x478d97(0x1f1))/0x5)+-parseInt(_0x478d97(0x1e9))/0x6*(parseInt(_0x478d97(0x1d6))/0x7)+-parseInt(_0x478d97(0x1ef))/0x8+-parseInt(_0x478d97(0x1ec))/0x9*(parseInt(_0x478d97(0x1e4))/0xa)+parseInt(_0x478d97(0x1ea))/0xb;if(_0x11182e===_0x20bf9a)break;else _0x537332['push'](_0x537332['shift']());}catch(_0x4b9ec7){_0x537332['push'](_0x537332['shift']());}}}(_0x2f7c,0x7db5f));import{Plugin as _0x45ec85}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x310933}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x498050}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x3b81e1}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x45ec85{static get[_0x5d7e63(0x1dc)](){const _0x2ff2e7=_0x5d7e63;return[_0x2ff2e7(0x1e0),_0x310933,_0x498050,_0x3b81e1];}static get[_0x5d7e63(0x1f0)](){const _0x5dd90d=_0x5d7e63;return _0x5dd90d(0x1eb);}static get[_0x5d7e63(0x1f6)](){return!0x0;}static get[_0x5d7e63(0x1e7)](){return!0x0;}[_0x5d7e63(0x1da)](){const _0x32ef72=_0x5d7e63,_0x3f4bfc=this[_0x32ef72(0x1f3)][_0x32ef72(0x1d7)][_0x32ef72(0x1e5)](_0x3b81e1),_0x24db3e=this[_0x32ef72(0x1f3)][_0x32ef72(0x1d7)][_0x32ef72(0x1e5)](_0x32ef72(0x1e8)),_0x452002=this[_0x32ef72(0x1f3)][_0x32ef72(0x1d7)][_0x32ef72(0x1e5)](_0x310933);return this[_0x32ef72(0x1f3)][_0x32ef72(0x1f2)][_0x32ef72(0x1d5)](_0x32ef72(0x1f5),()=>{const _0x301402=_0x32ef72;this[_0x301402(0x1d9)](_0x3f4bfc,_0x301402(0x1de),(_0xa658f,_0x452d4a,_0x588499)=>{const _0x1501c7=_0x301402;_0x24db3e[_0x1501c7(0x1e2)]=_0x1501c7(0x1ed)!==_0x588499;});}),this[_0x32ef72(0x1d9)](_0x3f4bfc,_0x32ef72(0x1de),(_0x1e6a29,_0x3c0bc8,_0x37c637)=>{const _0x6d1505=_0x32ef72;this[_0x6d1505(0x1f3)][_0x6d1505(0x1d7)][_0x6d1505(0x1e5)](_0x6d1505(0x1f7))[_0x6d1505(0x1d8)](_0x6d1505(0x1ed)!==_0x37c637);}),_0x452002[_0x32ef72(0x1df)](this[_0x32ef72(0x1f3)][_0x32ef72(0x1d4)][_0x32ef72(0x1e5)](_0x32ef72(0x1e6)));}[_0x5d7e63(0x1ee)](){const _0x307627=_0x5d7e63;this[_0x307627(0x1f3)][_0x307627(0x1d7)][_0x307627(0x1e5)](_0x310933)[_0x307627(0x1db)](this[_0x307627(0x1f3)][_0x307627(0x1d4)][_0x307627(0x1e5)](_0x307627(0x1e6))),super[_0x307627(0x1ee)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x4e20b9)());[_0x314188(0x1de)];[_0x314188(0x1f1)];[_0x314188(0x20b)];[_0x314188(0x1f3)];[_0x314188(0x1c5)];[_0x314188(0x199)];[_0x314188(0x161)];[_0x314188(0x1a1)];[_0x314188(0x1d7)];[_0x314188(0x223)];[_0x314188(0x21f)];[_0x314188(0x257)];[_0x314188(0x169)];[_0x314188(0x215)];[_0x314188(0x16f)];[_0x314188(0x185)];[_0x314188(0x18e)];[_0x314188(0x165)];static get[_0x314188(0x1be)](){return[_0x1a53aa,_0x17b746,_0x18f0a0,_0x2facc6,_0x5d0bc4,_0x50bed7];}static get[_0x314188(0x251)](){const _0x721d3a=_0x314188;return _0x721d3a(0x177);}static get[_0x314188(0x15e)](){return!0x0;}static get[_0x314188(0x23d)](){return!0x0;}get[_0x314188(0x21b)](){const _0x3854b9=_0x314188;return this[_0x3854b9(0x25c)]+this[_0x3854b9(0x1de)];}get[_0x314188(0x25c)](){const _0x3cbc7c=_0x314188;return this[_0x3cbc7c(0x20b)][_0x3cbc7c(0x23c)]-this[_0x3cbc7c(0x1de)];}get[_0x314188(0x24c)](){const _0x47b77c=_0x314188,_0x18961c=this[_0x47b77c(0x20b)][_0x47b77c(0x157)]();for(let _0xcdbdee=_0x18961c[_0x47b77c(0x1bb)]-0x1;_0xcdbdee>=0x0;_0xcdbdee--){const _0x18ba04=_0x18961c[_0xcdbdee];if(!this[_0x47b77c(0x18e)][_0x47b77c(0x1ed)](_0x18ba04))return _0x18ba04[_0x47b77c(0x224)]+0x1-this[_0x47b77c(0x1de)];}return 0x0;}constructor(_0x3c7f7d){const _0x40969d=_0x314188;if(super(_0x3c7f7d),this[_0x40969d(0x1de)]=0x0,this[_0x40969d(0x1f1)]=null,this[_0x40969d(0x20b)]=new _0x300b74(),this[_0x40969d(0x1d6)][_0x40969d(0x1e5)][_0x40969d(0x189)](_0x40969d(0x1c7),{}),this[_0x40969d(0x1f3)]=this[_0x40969d(0x1d6)][_0x40969d(0x1e5)][_0x40969d(0x1d8)](_0x40969d(0x16c)),!this[_0x40969d(0x1f3)])throw new _0x1947c2(_0x40969d(0x245),this);const _0xd971d8=_0x3c7f7d[_0x40969d(0x1e5)][_0x40969d(0x1d8)](_0x40969d(0x1b3))||_0x3fd533;this[_0x40969d(0x1c5)]=new RealTimeCollaborationClient[(_0x40969d(0x19f))](_0xd971d8,this[_0x40969d(0x1f3)]),this[_0x40969d(0x199)]=this[_0x40969d(0x1d6)][_0x40969d(0x18f)][_0x40969d(0x1ab)],this[_0x40969d(0x161)]=new _0x39191b(),this[_0x40969d(0x1a1)]=[],this[_0x40969d(0x1d7)]=new WeakSet(),this[_0x40969d(0x223)]=new Set(),this[_0x40969d(0x1df)](_0x40969d(0x1fc),!0x1),this[_0x40969d(0x1df)](_0x40969d(0x231),!0x1),this[_0x40969d(0x21f)]=null,this[_0x40969d(0x257)]=!0x1,this[_0x40969d(0x169)]=null,this[_0x40969d(0x215)]=0x12c,this[_0x40969d(0x16f)]=this[_0x40969d(0x215)],this[_0x40969d(0x185)]=null,this[_0x40969d(0x18e)]=new WeakSet(),this[_0x40969d(0x165)]=new $(this[_0x40969d(0x18e)]);}[_0x314188(0x1f9)](){const _0x30e981=_0x314188,_0x25823a=this[_0x30e981(0x1d6)],_0x3f2bc4=_0x25823a[_0x30e981(0x174)][_0x30e981(0x1d8)](_0x5d0bc4),_0x5125e9=_0x25823a[_0x30e981(0x174)][_0x30e981(0x1d8)](_0x1a53aa);this[_0x30e981(0x1f5)](_0x3f2bc4,_0x30e981(0x234),(_0x58ae5d,_0x8d4ee6)=>{const _0x5ee0e7=_0x30e981,_0x183023=_0x8d4ee6[0x0];_0x183023[_0x5ee0e7(0x16a)]&&(_0x58ae5d[_0x5ee0e7(0x1ea)]=_0x3f2bc4[_0x5ee0e7(0x1a6)](_0x183023[_0x5ee0e7(0x16a)]),_0x58ae5d[_0x5ee0e7(0x1b8)]()),null===_0x183023[_0x5ee0e7(0x16a)]&&(_0x58ae5d[_0x5ee0e7(0x1ea)]=null,_0x58ae5d[_0x5ee0e7(0x1b8)]());},{'priority':_0x30e981(0x1d4)}),this[_0x30e981(0x1f5)](_0x25823a[_0x30e981(0x18f)][_0x30e981(0x1ab)][_0x30e981(0x1bc)],_0x30e981(0x222),(_0x8b6a84,_0x5af8a1)=>{const _0x3888f3=_0x30e981;_0x5af8a1[_0x3888f3(0x171)]&&this[_0x3888f3(0x21d)]();}),this[_0x30e981(0x1f5)](_0x25823a[_0x30e981(0x17e)][_0x30e981(0x160)],_0x30e981(0x176),()=>{const _0x54d534=_0x30e981;this[_0x54d534(0x21d)]();}),this[_0x30e981(0x187)](),_0x25823a[_0x30e981(0x18f)]['on'](_0x30e981(0x1d9),(_0x1e7ae4,_0xcec0a3)=>{const _0x466a5e=_0x30e981,_0x51fd16=_0xcec0a3[0x0];_0x51fd16[_0x466a5e(0x243)]&&(this[_0x466a5e(0x1a5)](_0x51fd16),this[_0x466a5e(0x1e1)]()&&this[_0x466a5e(0x17d)]());}),this[_0x30e981(0x19e)](),this[_0x30e981(0x249)](_0x30e981(0x213))['to'](_0x5125e9,_0x30e981(0x1a3),this,_0x30e981(0x231),(_0x38d7d0,_0x7d0524)=>_0x30e981(0x180)===_0x38d7d0&&!_0x7d0524),this['on'](_0x30e981(0x202),()=>{const _0x413e9b=_0x30e981;this[_0x413e9b(0x213)]?_0x25823a[_0x413e9b(0x1ad)](_0x413e9b(0x246)):_0x25823a[_0x413e9b(0x227)](_0x413e9b(0x246));}),this[_0x30e981(0x213)]?_0x25823a[_0x30e981(0x1ad)](_0x30e981(0x246)):_0x25823a[_0x30e981(0x227)](_0x30e981(0x246)),this[_0x30e981(0x1df)](_0x30e981(0x20a),!0x1);}async[_0x314188(0x197)](){const _0x1998d5=_0x314188,_0x887f00=this[_0x1998d5(0x1d6)][_0x1998d5(0x174)][_0x1998d5(0x1d8)](_0x17b746),_0x16e44e=this[_0x1998d5(0x1d6)][_0x1998d5(0x174)][_0x1998d5(0x1d8)](_0x1a53aa);try{this[_0x1998d5(0x1fc)]=!0x0,_0x887f00[_0x1998d5(0x23f)](this[_0x1998d5(0x1f3)]);const _0x1dfc37=await this[_0x1998d5(0x1c5)][_0x1998d5(0x197)](_0x16e44e[_0x1998d5(0x21a)],this[_0x1998d5(0x24c)]);await this[_0x1998d5(0x1d3)](_0x1dfc37)&&(this[_0x1998d5(0x1fc)]=!0x1,this[_0x1998d5(0x1a0)]());const _0x556e29=await this[_0x1998d5(0x1c5)][_0x1998d5(0x20d)]();_0x887f00[_0x1998d5(0x24e)](this[_0x1998d5(0x1f3)],_0x556e29),this[_0x1998d5(0x182)](),this[_0x1998d5(0x20a)]=!0x0;}catch(_0x157b48){if(function(_0x3ac555){const _0x6db989=_0x1998d5;return _0x6db989(0x1ec)===_0x3ac555[_0x6db989(0x1ff)];}(_0x157b48)&&this[_0x1998d5(0x1f1)])await this[_0x1998d5(0x22d)]();else{if(function(_0x3a7810){const _0x522722=_0x1998d5;return _0x522722(0x18c)===_0x3a7810[_0x522722(0x1ff)];}(_0x157b48)){const _0x17d8bb=_0x525cf8(this[_0x1998d5(0x1d6)][_0x1998d5(0x1fa)],_0x1998d5(0x25d));this[_0x1998d5(0x1ce)](_0x17d8bb);}else{if(!(_0x157b48 instanceof q))throw _0x157b48;this[_0x1998d5(0x1ce)]();}}}}[_0x314188(0x15d)](){const _0x59ff8b=_0x314188,_0x2ae43a=this[_0x59ff8b(0x1d6)][_0x59ff8b(0x174)][_0x59ff8b(0x1d8)](_0x1a53aa),_0x336374=this[_0x59ff8b(0x1d6)][_0x59ff8b(0x174)][_0x59ff8b(0x1d8)](_0x17b746);this[_0x59ff8b(0x1d6)][_0x59ff8b(0x227)](_0x59ff8b(0x1e3)),_0x336374[_0x59ff8b(0x214)][_0x59ff8b(0x1ed)](this[_0x59ff8b(0x1f3)])&&_0x336374[_0x59ff8b(0x23f)](this[_0x59ff8b(0x1f3)]),_0x2ae43a[_0x59ff8b(0x1d5)](this),this[_0x59ff8b(0x19d)](),super[_0x59ff8b(0x15d)]();}async[_0x314188(0x1d3)](_0x530165){const _0x361962=_0x314188;if(this[_0x361962(0x1f1)]!==_0x530165[_0x361962(0x1f1)]&&this[_0x361962(0x185)]!==_0x530165[_0x361962(0x1fe)])throw new q();return this[_0x361962(0x1f1)]=_0x530165[_0x361962(0x1f1)],this[_0x361962(0x183)]([],{..._0x530165,'wereChangesApplied':!0x1,'data':_0x530165[_0x361962(0x170)]},_0x361962(0x197));}async[_0x314188(0x1c9)](_0x5b1cd2,_0x5c9a8a=!0x1){const _0x4bc50a=_0x314188,{connection:_0x32cd39}=this[_0x4bc50a(0x1d6)][_0x4bc50a(0x174)][_0x4bc50a(0x1d8)](_0x1a53aa);RealTimeCollaborationClient[_0x4bc50a(0x19f)][_0x4bc50a(0x20d)](_0x32cd39,this[_0x4bc50a(0x1f3)])[_0x4bc50a(0x17f)](_0x4eef9b=>this[_0x4bc50a(0x1bd)](_0x4eef9b))[_0x4bc50a(0x17b)](_0x4c5512=>{const _0x4197e1=_0x4bc50a;this[_0x4197e1(0x1ee)](_0x4197e1(0x210),_0x4c5512);}),this[_0x4bc50a(0x1f5)](this[_0x4bc50a(0x1c5)],_0x4bc50a(0x1dd),this[_0x4bc50a(0x230)][_0x4bc50a(0x249)](this)),this[_0x4bc50a(0x1f5)](this[_0x4bc50a(0x1c5)],_0x4bc50a(0x158),(_0x406f8b,_0x5f5ceb)=>{const _0x4152cc=_0x4bc50a;this[_0x4152cc(0x1ee)](_0x4152cc(0x236),_0x5f5ceb);}),this[_0x4bc50a(0x1f5)](this[_0x4bc50a(0x1c5)],_0x4bc50a(0x19b),()=>{const _0x433b9d=_0x4bc50a;this[_0x433b9d(0x20a)]=!0x1;});const _0x29e959=this[_0x4bc50a(0x165)][_0x4bc50a(0x22c)](_0x5b1cd2);this[_0x4bc50a(0x1fc)]=!0x0;const _0x4d8673=await this[_0x4bc50a(0x1c5)][_0x4bc50a(0x1d0)](_0x32cd39,this[_0x4bc50a(0x1cd)](_0x5b1cd2),_0x29e959);if(this[_0x4bc50a(0x1f1)]=_0x4d8673[_0x4bc50a(0x1f1)],_0x5c9a8a){if(!_0x4d8673[_0x4bc50a(0x1af)])return void this[_0x4bc50a(0x1ce)]();this[_0x4bc50a(0x1fc)]=!0x1,this[_0x4bc50a(0x1a0)](),this[_0x4bc50a(0x20b)][_0x4bc50a(0x18d)](),this[_0x4bc50a(0x1de)]=_0x4d8673[_0x4bc50a(0x186)],this[_0x4bc50a(0x20b)][_0x4bc50a(0x23c)]=this[_0x4bc50a(0x1de)],await this[_0x4bc50a(0x183)](_0x5b1cd2,_0x4d8673,_0x4bc50a(0x188));}else await this[_0x4bc50a(0x212)](_0x4d8673,_0x5b1cd2);this[_0x4bc50a(0x182)](),this[_0x4bc50a(0x20a)]=!0x0;}[_0x314188(0x182)](){const _0x430993=_0x314188,_0x5ef113=this[_0x430993(0x1d6)][_0x430993(0x174)][_0x430993(0x1d8)](_0x17b746),_0x1e897d=this[_0x430993(0x1d6)][_0x430993(0x174)][_0x430993(0x1d8)](_0x18f0a0),_0x443bb6=_0x5ef113[_0x430993(0x214)][_0x430993(0x1d8)](this[_0x430993(0x1f3)]);_0x443bb6&&_0x443bb6[_0x430993(0x1bb)]>0x1?_0x1e897d[_0x430993(0x1b5)]():this[_0x430993(0x1f5)](_0x5ef113,_0x430993(0x21c)+this[_0x430993(0x1f3)],()=>{const _0xe69d0e=_0x430993;0x2===_0x5ef113[_0xe69d0e(0x214)][_0xe69d0e(0x1d8)](this[_0xe69d0e(0x1f3)])[_0xe69d0e(0x1bb)]&&_0x1e897d[_0xe69d0e(0x1b5)]();});}async[_0x314188(0x230)](_0x5513aa,_0x4ee1dd,_0x400400,_0x345106){const _0x5f2103=_0x314188;if(!this[_0x5f2103(0x1fc)]&&this[_0x5f2103(0x199)][_0x5f2103(0x23c)]==_0x4ee1dd){const _0x5f3425=this[_0x5f2103(0x1e8)](_0x400400,_0x345106);await this[_0x5f2103(0x244)](_0x5f3425),this[_0x5f2103(0x19a)](_0x5f3425,_0x4ee1dd,_0x400400[_0x5f2103(0x1fe)])||this[_0x5f2103(0x1ee)](_0x5f2103(0x184));}}async[_0x314188(0x22d)](){const _0x48ea5e=_0x314188;this[_0x48ea5e(0x19d)]();const {locale:_0x2943f8}=this[_0x48ea5e(0x1d6)];let _0x324da2;try{_0x324da2=await this[_0x48ea5e(0x1c5)][_0x48ea5e(0x225)]();}catch{const _0x41acbe=_0x525cf8(_0x2943f8,_0x48ea5e(0x219));return void this[_0x48ea5e(0x1ce)](_0x41acbe);}const _0x4af307=_0x324da2[_0x48ea5e(0x168)]||_0x324da2[_0x48ea5e(0x203)];if(this[_0x48ea5e(0x185)]!==_0x4af307[_0x48ea5e(0x1fe)]){const _0x288357=_0x525cf8(_0x2943f8,_0x48ea5e(0x240));return void this[_0x48ea5e(0x1ce)](_0x288357);}await this[_0x48ea5e(0x1c9)](this[_0x48ea5e(0x1d6)][_0x48ea5e(0x18f)][_0x48ea5e(0x1ab)][_0x48ea5e(0x238)][_0x48ea5e(0x157)](),!0x0);}[_0x314188(0x19d)](){const _0x22afcb=_0x314188;this[_0x22afcb(0x1c5)][_0x22afcb(0x196)](),this[_0x22afcb(0x1a1)]=[],clearTimeout(this[_0x22afcb(0x169)]),this[_0x22afcb(0x1b9)](this[_0x22afcb(0x1c5)]);}[_0x314188(0x1bd)](_0x1a38c8){const _0x294113=_0x314188,_0x19b2a7=this[_0x294113(0x1d6)][_0x294113(0x174)][_0x294113(0x1d8)](_0x17b746);this[_0x294113(0x1f5)](_0x19b2a7,_0x294113(0x21c)+this[_0x294113(0x1f3)],(_0xb18f33,{session:_0x4439d5})=>{const _0x51f7c0=_0x294113;if(_0x4439d5['id']===_0x19b2a7[_0x51f7c0(0x1e7)]){_0xb18f33[_0x51f7c0(0x1f7)]();const _0x428d76=this[_0x51f7c0(0x1d6)][_0x51f7c0(0x174)][_0x51f7c0(0x1ed)](_0x51f7c0(0x1d2))&&this[_0x51f7c0(0x1d6)][_0x51f7c0(0x174)][_0x51f7c0(0x1d8)](_0x51f7c0(0x1d2));let _0x21699c=_0x4439d5[_0x51f7c0(0x1db)];_0x428d76&&_0x428d76[_0x51f7c0(0x232)]&&(_0x21699c=_0x21699c[_0x51f7c0(0x242)](_0xc14699=>_0x51f7c0(0x254)!==_0xc14699)),this[_0x51f7c0(0x1d6)][_0x51f7c0(0x174)][_0x51f7c0(0x1d8)](_0x51f7c0(0x1cf))[_0x51f7c0(0x194)](_0x21699c,this[_0x51f7c0(0x1f3)]);}}),_0x19b2a7[_0x294113(0x24e)](this[_0x294113(0x1f3)],_0x1a38c8);}[_0x314188(0x187)](){const _0x6acc96=_0x314188,_0x538990=this[_0x6acc96(0x1d6)][_0x6acc96(0x170)][_0x6acc96(0x1df)];this[_0x6acc96(0x1d6)][_0x6acc96(0x170)][_0x6acc96(0x1df)]=(..._0x129c5c)=>{const _0xb3c4f8=_0x6acc96;if(!_0x129c5c[_0x129c5c[_0xb3c4f8(0x1bb)]-0x1][_0xb3c4f8(0x255)])throw new _0x1947c2(_0xb3c4f8(0x159),this);_0x538990[_0xb3c4f8(0x1c6)](this[_0xb3c4f8(0x1d6)][_0xb3c4f8(0x170)],_0x129c5c);};}[_0x314188(0x19e)](){const _0xf21168=_0x314188;this[_0xf21168(0x1d6)][_0xf21168(0x170)]['on'](_0xf21168(0x1f9),(_0xa95b62,[_0x254671])=>{const _0x240c5d=_0xf21168;if(this[_0x240c5d(0x199)][_0x240c5d(0x23c)])throw new _0x1947c2(_0x240c5d(0x22b),this);_0xa95b62[_0x240c5d(0x1b8)](),this[_0x240c5d(0x195)]();const _0x18a280=this[_0x240c5d(0x1d6)][_0x240c5d(0x1e5)][_0x240c5d(0x1d8)](_0x240c5d(0x164)),_0x16bad1=this[_0x240c5d(0x250)](_0x254671,_0x18a280);0x0==_0x16bad1[_0x240c5d(0x1bb)]&&_0x16bad1[_0x240c5d(0x220)](new _0x2a2463(0x0)),_0xa95b62[_0x240c5d(0x1ea)]=this[_0x240c5d(0x1c9)](_0x16bad1)[_0x240c5d(0x17f)](()=>{const _0x1df172=_0x240c5d;this[_0x1df172(0x1d6)][_0x1df172(0x174)][_0x1df172(0x1d8)](_0x1a53aa)[_0x1df172(0x15a)](this),this[_0x1df172(0x1d6)][_0x1df172(0x170)][_0x1df172(0x15b)](_0x1df172(0x24d));})[_0x240c5d(0x17b)](_0x3006eb=>this[_0x240c5d(0x1ee)](_0x240c5d(0x258),_0x3006eb))[_0x240c5d(0x17c)](()=>this[_0x240c5d(0x1a0)]());},{'priority':_0xf21168(0x1d4)}),this[_0xf21168(0x1d6)]['on'](_0xf21168(0x1b1),async(_0x5478dc,[_0x378e65,_0x2d661d])=>{const _0x4e9c8e=_0xf21168;_0x5478dc[_0x4e9c8e(0x1b8)]();const _0x348bbf=this[_0x4e9c8e(0x1d6)][_0x4e9c8e(0x18f)][_0x4e9c8e(0x1ab)][_0x4e9c8e(0x252)](_0x378e65);if(!this[_0x4e9c8e(0x223)][_0x4e9c8e(0x1ed)](_0x378e65)){const _0x4e4c21=_0x2d661d&&_0x2d661d[_0x4e9c8e(0x170)]?_0x2d661d[_0x4e9c8e(0x170)]:'',_0x38d899=_0x2d661d&&_0x2d661d[_0x4e9c8e(0x1b0)]?_0x2d661d[_0x4e9c8e(0x1b0)]:{};await this[_0x4e9c8e(0x1c2)](_0x378e65,_0x4e4c21,_0x38d899);}this[_0x4e9c8e(0x1d6)][_0x4e9c8e(0x18f)][_0x4e9c8e(0x1c3)]({'isUndoable':!0x1},()=>{const _0x5eae66=_0x4e9c8e;_0x348bbf[_0x5eae66(0x175)]=!0x0,this[_0x5eae66(0x1d6)][_0x5eae66(0x18f)][_0x5eae66(0x1ab)][_0x5eae66(0x18a)][_0x5eae66(0x1bf)](_0x348bbf);});},{'priority':_0xf21168(0x1d4)});}async[_0x314188(0x244)](_0x3510c1){const _0x2327e0=_0x314188,_0xd923ce=this[_0x2327e0(0x1d6)][_0x2327e0(0x174)][_0x2327e0(0x1d8)](_0x5d0bc4),{connection:_0x48937c}=this[_0x2327e0(0x1d6)][_0x2327e0(0x174)][_0x2327e0(0x1d8)](_0x1a53aa),_0x43a695=new Set();for(const _0xeee89a of _0x3510c1){const _0x3cdb07=_0xeee89a[_0x2327e0(0x16a)];_0x3cdb07&&!_0xd923ce[_0x2327e0(0x1a6)](_0x3cdb07)&&_0x43a695[_0x2327e0(0x1c8)](_0x3cdb07);}if(0x0===_0x43a695[_0x2327e0(0x209)])return;const _0xf94fb2=await _0x3c3db3[_0x2327e0(0x1f0)](_0x48937c,Array[_0x2327e0(0x200)](_0x43a695));for(const _0x415c2c of _0xf94fb2)_0xd923ce[_0x2327e0(0x1a6)](_0x415c2c['id'])||_0xd923ce[_0x2327e0(0x1e2)](_0x415c2c);}[_0x314188(0x250)](_0x2c5c56,_0x2bdc9e={}){const _0x52dea9=_0x314188,_0x588aeb=this[_0x52dea9(0x1d6)][_0x52dea9(0x18f)],_0x375682=[];let _0x5654bf=0x0;const _0x5bec09=_0x52dea9(0x191)==typeof _0x2c5c56?{'main':_0x2c5c56}:_0x2c5c56;for(const _0x41db75 of Object[_0x52dea9(0x207)](_0x5bec09)){if(!this[_0x52dea9(0x199)][_0x52dea9(0x1c4)][_0x52dea9(0x1ed)](_0x41db75))throw new _0x1947c2(_0x52dea9(0x248),this);const _0x369b38=this[_0x52dea9(0x1d6)][_0x52dea9(0x170)][_0x52dea9(0x1b6)](_0x5bec09[_0x41db75]),_0x590dea=this[_0x52dea9(0x199)][_0x52dea9(0x252)](_0x41db75),_0x10af29=new _0x5554f3(_0x588aeb[_0x52dea9(0x211)](_0x590dea,0x0),_0x369b38,_0x5654bf++);_0x375682[_0x52dea9(0x220)](_0x10af29);for(const [_0x3beb74,_0x407d25]of _0x369b38[_0x52dea9(0x1ae)]){const _0x17e3cc=_0x588aeb[_0x52dea9(0x21e)](_0x588aeb[_0x52dea9(0x15f)](_0x590dea,_0x407d25[_0x52dea9(0x20e)][_0x52dea9(0x226)][_0x52dea9(0x1cb)]()),_0x588aeb[_0x52dea9(0x15f)](_0x590dea,_0x407d25[_0x52dea9(0x206)][_0x52dea9(0x226)][_0x52dea9(0x1cb)]())),_0xf4aa05=new _0x4c17d2(_0x3beb74,null,_0x17e3cc,_0x588aeb[_0x52dea9(0x1ae)],!0x0,_0x5654bf++);_0x375682[_0x52dea9(0x220)](_0xf4aa05);}}if(_0x2bdc9e)for(const [_0x36366b,_0x4228ff]of Object[_0x52dea9(0x216)](_0x2bdc9e)){const _0x5d7901=_0x588aeb[_0x52dea9(0x1ab)][_0x52dea9(0x252)](_0x36366b);if(!_0x5d7901)throw new _0x1947c2(_0x52dea9(0x1b2),null);for(const [_0x2cbc18,_0x359764]of Object[_0x52dea9(0x216)](_0x4228ff))if(null!==_0x359764){const _0x8b41cf=new _0x524c59(_0x5d7901,_0x2cbc18,null,_0x359764,_0x5654bf++);_0x375682[_0x52dea9(0x220)](_0x8b41cf);}}return _0x375682;}async[_0x314188(0x1c2)](_0x226495,_0xab871c,_0x1dd705){const _0x3105a4=_0x314188;this[_0x3105a4(0x250)]({[_0x226495]:_0xab871c},{[_0x226495]:_0x1dd705})[_0x3105a4(0x198)]((_0x43cee4,_0x273c5a)=>{const _0x5f1ca8=_0x3105a4;_0x43cee4[_0x5f1ca8(0x224)]=this[_0x5f1ca8(0x199)][_0x5f1ca8(0x23c)]+_0x273c5a,_0x43cee4[_0x5f1ca8(0x1a7)]=!0x0,this[_0x5f1ca8(0x1a5)](_0x43cee4);}),this[_0x3105a4(0x17d)](),await this[_0x3105a4(0x172)]();}async[_0x314188(0x212)](_0x3c4f4e,_0x4317d5){const _0x46611f=_0x314188;let _0x14574a;this[_0x46611f(0x1de)]=_0x3c4f4e[_0x46611f(0x186)];const _0x9df2ec=_0x3c4f4e[_0x46611f(0x1af)]&&!_0x3c4f4e[_0x46611f(0x16d)],_0x5c0e6e=_0x9df2ec?0x0:_0x3c4f4e[_0x46611f(0x170)][_0x46611f(0x224)];if(_0x4317d5[_0x46611f(0x198)](_0x58b149=>{const _0x1ccbf8=_0x46611f;_0x58b149[_0x1ccbf8(0x1a7)]=!0x0,_0x58b149[_0x1ccbf8(0x1f2)]=_0x3c4f4e[_0x1ccbf8(0x192)],_0x58b149[_0x1ccbf8(0x16a)]=null;}),_0x9df2ec)_0x14574a=_0x4317d5,this[_0x46611f(0x221)](_0x14574a,_0x9df2ec);else{if(_0x3c4f4e[_0x46611f(0x16d)]){const _0x362e0b=this[_0x46611f(0x250)](_0x3c4f4e[_0x46611f(0x16d)]);this[_0x46611f(0x199)][_0x46611f(0x238)][_0x46611f(0x23c)]=-_0x362e0b[_0x46611f(0x1bb)],_0x362e0b[_0x46611f(0x198)](_0x283ee5=>{const _0x17c4e0=_0x46611f;_0x283ee5[_0x17c4e0(0x224)]-=_0x362e0b[_0x17c4e0(0x1bb)],_0x283ee5[_0x17c4e0(0x1f2)]=_0x3c4f4e[_0x17c4e0(0x192)],_0x283ee5[_0x17c4e0(0x1a7)]=!0x0,_0x283ee5[_0x17c4e0(0x16a)]=null;}),this[_0x46611f(0x221)](_0x362e0b,!0x0),this[_0x46611f(0x20b)][_0x46611f(0x23c)]=-_0x362e0b[_0x46611f(0x1bb)]+this[_0x46611f(0x1de)],this[_0x46611f(0x167)](_0x362e0b);}this[_0x46611f(0x199)][_0x46611f(0x238)][_0x46611f(0x23c)]=_0x5c0e6e,_0x14574a=this[_0x46611f(0x1e8)](_0x3c4f4e[_0x46611f(0x170)],_0x3c4f4e[_0x46611f(0x259)]),await this[_0x46611f(0x244)](_0x14574a),this[_0x46611f(0x221)](_0x14574a,_0x9df2ec);}_0x3c4f4e[_0x46611f(0x1fe)]&&(this[_0x46611f(0x165)][_0x46611f(0x22e)](_0x14574a,_0x3c4f4e[_0x46611f(0x1fe)]),this[_0x46611f(0x185)]=_0x3c4f4e[_0x46611f(0x1fe)]),this[_0x46611f(0x20b)][_0x46611f(0x23c)]=_0x5c0e6e+this[_0x46611f(0x1de)],this[_0x46611f(0x167)](_0x14574a),_0x4317d5[_0x46611f(0x242)](_0xc53ace=>{const _0x5907a5=_0x46611f,_0x3dfc76=this[_0x5907a5(0x235)](_0xc53ace);return _0x3dfc76&&!this[_0x5907a5(0x223)][_0x5907a5(0x1ed)](_0x3dfc76);})[_0x46611f(0x198)]((_0x369ada,_0x5ab4e9)=>{const _0x1abc70=_0x46611f;_0x369ada[_0x1abc70(0x224)]=this[_0x1abc70(0x199)][_0x1abc70(0x23c)]+_0x5ab4e9,this[_0x1abc70(0x1a5)](_0x369ada);}),this[_0x46611f(0x1e1)]()?(this[_0x46611f(0x16f)]=0x0,this[_0x46611f(0x17d)](!0x0),await this[_0x46611f(0x172)]()):(this[_0x46611f(0x1fc)]=!0x1,this[_0x46611f(0x1a0)]());}[_0x314188(0x1ee)](_0x26c63f,_0x41dcbf){const _0x285386=_0x314188,_0x265079=_0x41dcbf&&_0x41dcbf[_0x285386(0x1a8)];if(_0x265079&&_0x265079[_0x285386(0x1b7)](_0x285386(0x181)))throw _0x41dcbf;const _0x519840=this[_0x285386(0x1d6)][_0x285386(0x174)][_0x285386(0x1d8)](_0x1a53aa);throw this[_0x285386(0x1fc)]=!0x0,_0x519840[_0x285386(0x196)](),this[_0x285386(0x1d6)][_0x285386(0x227)](_0x285386(0x218)),new _0x1947c2(_0x26c63f,this[_0x285386(0x1d6)],_0x265079?{'originalError':_0x265079}:void 0x0);}[_0x314188(0x1a5)](_0x41d124){const _0x5622a7=_0x314188;this[_0x5622a7(0x1d7)][_0x5622a7(0x1ed)](_0x41d124)||(this[_0x5622a7(0x1d7)][_0x5622a7(0x1c8)](_0x41d124),this[_0x5622a7(0x1a1)][_0x5622a7(0x220)](_0x41d124),this[_0x5622a7(0x21f)]||_0x5622a7(0x1b4)==_0x41d124[_0x5622a7(0x228)]&&!_0x41d124[_0x5622a7(0x25a)]||this[_0x5622a7(0x195)]());}[_0x314188(0x17d)](_0xbc30b6=!0x1){const _0x33cf5d=_0x314188;!_0xbc30b6&&this[_0x33cf5d(0x1fc)]||(this[_0x33cf5d(0x1fc)]=!0x0,clearTimeout(this[_0x33cf5d(0x169)]),this[_0x33cf5d(0x169)]=setTimeout(()=>{const _0x3edcff=_0x33cf5d;this[_0x3edcff(0x162)]()[_0x3edcff(0x17f)](_0x5c0a82=>{const _0x5e1ecf=_0x3edcff;_0x5c0a82&&(this[_0x5e1ecf(0x1a0)](),this[_0x5e1ecf(0x1fc)]=!0x1);})[_0x3edcff(0x17b)](_0x40e4a1=>{const _0x5eab5d=_0x3edcff;this[_0x5eab5d(0x1a0)](),this[_0x5eab5d(0x1fc)]=!0x1,function(_0xec9242){const _0x59c362=_0x5eab5d;return _0xec9242[_0x59c362(0x1a8)][_0x59c362(0x1b7)](_0x59c362(0x23a))||_0xec9242[_0x59c362(0x1a8)][_0x59c362(0x1b7)](_0x59c362(0x23e))||_0xec9242[_0x59c362(0x1a8)][_0x59c362(0x1b7)](_0x59c362(0x256));}(_0x40e4a1)||this[_0x5eab5d(0x1ee)](_0x40e4a1[_0x5eab5d(0x1a8)],_0x40e4a1);});},this[_0x33cf5d(0x16f)]));}[_0x314188(0x172)](){return new Promise(_0x3c18f1=>{const _0x4ab165=_0x504d;this['on'](_0x4ab165(0x1a4),()=>{_0x3c18f1();});});}async[_0x314188(0x162)](){const _0x42d2cc=_0x314188,_0x30a62d=this[_0x42d2cc(0x1d6)][_0x42d2cc(0x174)][_0x42d2cc(0x1d8)](_0x18f0a0);if(this[_0x42d2cc(0x173)]()&&(_0x30a62d[_0x42d2cc(0x1b5)](),this[_0x42d2cc(0x257)]=!0x1),!this[_0x42d2cc(0x1e1)]())return!0x0;const _0x438936=[...this[_0x42d2cc(0x1a1)]];for(const _0x1a7de1 of _0x438936)_0x1a7de1[_0x42d2cc(0x1fd)]=this[_0x42d2cc(0x199)][_0x42d2cc(0x238)][_0x42d2cc(0x20f)](_0x1a7de1);const _0x58344e=this[_0x42d2cc(0x165)][_0x42d2cc(0x22c)](_0x438936),_0x56b831=F++,_0x5c0691=this[_0x42d2cc(0x1cd)](_0x438936),_0x622751=await this[_0x42d2cc(0x1c5)][_0x42d2cc(0x1cc)](_0x5c0691,_0x5c0691[_0x42d2cc(0x224)],_0x58344e);try{return await this[_0x42d2cc(0x183)](_0x438936,_0x622751,_0x56b831);}catch(_0x13ecf4){return this[_0x42d2cc(0x1ee)](_0x42d2cc(0x1f8),_0x13ecf4);}}async[_0x314188(0x183)](_0x24dc7c,_0x35ad67,_0x4242aa){const _0x2504d4=_0x314188;if(_0x2504d4(0x158)in _0x35ad67)throw _0x35ad67[_0x2504d4(0x158)];let _0x462d9c=!0x1;if(_0x35ad67[_0x2504d4(0x1af)]){_0x35ad67[_0x2504d4(0x1fe)]&&(this[_0x2504d4(0x185)]=_0x35ad67[_0x2504d4(0x1fe)]),this[_0x2504d4(0x1a1)]=this[_0x2504d4(0x1a1)][_0x2504d4(0x242)](_0x24e1c7=>!_0x24dc7c[_0x2504d4(0x1fb)](_0x24e1c7));for(const _0x1814b7 of _0x24dc7c)_0x1814b7[_0x2504d4(0x1f2)]=_0x2504d4(0x1ca)in _0x35ad67&&_0x35ad67[_0x2504d4(0x1ca)]||void 0x0;G(_0x24dc7c,_0x35ad67[_0x2504d4(0x23c)]-_0x24dc7c[_0x2504d4(0x1bb)]),this[_0x2504d4(0x167)](_0x24dc7c);const _0x5b67e5=_0x24dc7c[_0x2504d4(0x242)](_0x15ac9b=>{const _0x1b9b46=_0x2504d4;if(!_0x15ac9b[_0x1b9b46(0x1a7)])return!0x1;const _0x2b4814=this[_0x1b9b46(0x235)](_0x15ac9b);return _0x2b4814&&!this[_0x1b9b46(0x223)][_0x1b9b46(0x1ed)](_0x2b4814);});G(_0x5b67e5,this[_0x2504d4(0x199)][_0x2504d4(0x23c)]),this[_0x2504d4(0x221)](_0x5b67e5),_0x462d9c=!0x0,this[_0x2504d4(0x16f)]=this[_0x2504d4(0x215)];}else{const _0x496a3c=this[_0x2504d4(0x1e8)](_0x35ad67[_0x2504d4(0x170)],_0x35ad67[_0x2504d4(0x259)])[_0x2504d4(0x242)](_0x1e6376=>_0x1e6376[_0x2504d4(0x224)]>=this[_0x2504d4(0x25c)]);_0x496a3c[_0x2504d4(0x198)](_0xa37bdb=>this[_0x2504d4(0x1f4)](_0xa37bdb)),this[_0x2504d4(0x1a1)]=this[_0x2504d4(0x1a1)][_0x2504d4(0x242)](_0x3a16c3=>!_0x3a16c3[_0x2504d4(0x1a7)]||!this[_0x2504d4(0x223)][_0x2504d4(0x1ed)](this[_0x2504d4(0x235)](_0x3a16c3))),this[_0x2504d4(0x1a1)][_0x2504d4(0x1bb)]&&G(this[_0x2504d4(0x1a1)],this[_0x2504d4(0x1a1)][0x0][_0x2504d4(0x224)]),await this[_0x2504d4(0x244)](_0x496a3c),_0x462d9c=this[_0x2504d4(0x19a)](_0x496a3c,_0x35ad67[_0x2504d4(0x23c)],_0x35ad67[_0x2504d4(0x1fe)]),this[_0x2504d4(0x16f)]=Math[_0x2504d4(0x24b)](this[_0x2504d4(0x16f)]/0x2);}return _0x462d9c?!this[_0x2504d4(0x1e1)]()||(this[_0x2504d4(0x17d)](!0x0),!0x1):this[_0x2504d4(0x1ee)](_0x2504d4(0x1aa));}[_0x314188(0x19a)](_0x3fddae,_0x220900,_0x592412){const _0x557a8d=_0x314188;try{const _0x371502={'document':this[_0x557a8d(0x199)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x587011,operationsB:_0x3e742c,originalOperations:_0x1ffd7e}=_0x1a3c7e(_0x3fddae,this[_0x557a8d(0x1a1)],_0x371502);G(_0x587011,this[_0x557a8d(0x199)][_0x557a8d(0x23c)]),G(_0x3e742c,_0x220900);for(const _0x1792c1 of _0x587011){const _0x3e1fa2=_0x1ffd7e[_0x557a8d(0x1d8)](_0x1792c1);_0x1792c1[_0x557a8d(0x16a)]=_0x3e1fa2?_0x3e1fa2[_0x557a8d(0x16a)]:null;}_0x592412&&(this[_0x557a8d(0x165)][_0x557a8d(0x22e)](_0x3fddae,_0x592412),this[_0x557a8d(0x185)]=_0x592412),this[_0x557a8d(0x1a1)]=[..._0x3e742c],this[_0x557a8d(0x221)](_0x587011),this[_0x557a8d(0x167)](_0x3fddae);}catch(_0x272ac1){return console[_0x557a8d(0x158)](_0x272ac1),!0x1;}return!0x0;}[_0x314188(0x221)](_0xc56fc3,_0x18b88a=!0x1){const _0x57ecab=_0x314188;this[_0x57ecab(0x1d6)][_0x57ecab(0x18f)][_0x57ecab(0x1c3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x217342=>{const _0x1280c4=_0x57ecab;for(const _0x414f8f of _0xc56fc3)this[_0x1280c4(0x1d7)][_0x1280c4(0x1c8)](_0x414f8f),this[_0x1280c4(0x1f4)](_0x414f8f),_0x217342[_0x1280c4(0x20c)][_0x1280c4(0x1da)](_0x414f8f),this[_0x1280c4(0x1d6)][_0x1280c4(0x18f)][_0x1280c4(0x1d9)](_0x414f8f);});}[_0x314188(0x1f4)](_0x273f2e){const _0x437146=_0x314188,_0x3d4dd7=this[_0x437146(0x235)](_0x273f2e);_0x3d4dd7&&this[_0x437146(0x223)][_0x437146(0x1c8)](_0x3d4dd7);}[_0x314188(0x235)](_0x47b8b5){const _0x5ca355=_0x314188;let _0x5d02eb,_0x2c2c45;switch(_0x47b8b5[_0x5ca355(0x228)]){case _0x5ca355(0x193):_0x5d02eb=_0x47b8b5[_0x5ca355(0x1ac)][_0x5ca355(0x233)];break;case _0x5ca355(0x1b4):if(_0x2c2c45=_0x47b8b5[_0x5ca355(0x22f)],!_0x2c2c45)return null;_0x5d02eb=_0x2c2c45[_0x5ca355(0x233)];break;case _0x5ca355(0x1e4):_0x5d02eb=_0x47b8b5[_0x5ca355(0x233)];break;case _0x5ca355(0x16e):_0x5d02eb=_0x47b8b5[_0x5ca355(0x241)];break;case _0x5ca355(0x1a9):_0x5d02eb=_0x47b8b5[_0x5ca355(0x247)][_0x5ca355(0x233)];break;default:return null;}return _0x5d02eb[_0x5ca355(0x237)];}[_0x314188(0x167)](_0x1640e0){const _0x2ec3f3=_0x314188;_0x1640e0[_0x2ec3f3(0x198)](_0x5aa08a=>{const _0x5762ae=_0x2ec3f3,_0x3fbcb8=_0x5aa08a[_0x5762ae(0x1eb)]();_0x3fbcb8[_0x5762ae(0x16a)]=_0x5aa08a[_0x5762ae(0x16a)],_0x3fbcb8[_0x5762ae(0x1a7)]=!!_0x5aa08a[_0x5762ae(0x1a7)],_0x3fbcb8[_0x5762ae(0x1f2)]=_0x5aa08a[_0x5762ae(0x1f2)],_0x3fbcb8[_0x5762ae(0x224)]+=this[_0x5762ae(0x1de)],_0x5aa08a[_0x5762ae(0x1c1)]&&this[_0x5762ae(0x18e)][_0x5762ae(0x1c8)](_0x3fbcb8),this[_0x5762ae(0x20b)][_0x5762ae(0x1da)](_0x3fbcb8);});}[_0x314188(0x1ce)](_0x504177){const _0x3fc604=_0x314188,_0x372dc5=this[_0x3fc604(0x1d6)][_0x3fc604(0x174)][_0x3fc604(0x1d8)](_0x3fc604(0x205)),_0x3ed63e=this[_0x3fc604(0x1d6)][_0x3fc604(0x1fa)];_0x504177||(_0x504177=_0x525cf8(_0x3ed63e,_0x3fc604(0x1f6))),_0x372dc5[_0x3fc604(0x24f)](_0x504177,{'title':_0x525cf8(_0x3ed63e,_0x3fc604(0x201)),'namespace':_0x3fc604(0x19c)}),this[_0x3fc604(0x231)]=!0x0,clearTimeout(this[_0x3fc604(0x169)]),this[_0x3fc604(0x1a1)]=[],this[_0x3fc604(0x1d6)][_0x3fc604(0x174)][_0x3fc604(0x1d8)](_0x1a53aa)[_0x3fc604(0x196)]();}[_0x314188(0x195)](){const _0x4c61dd=_0x314188;this[_0x4c61dd(0x21f)]||(this[_0x4c61dd(0x21f)]=this[_0x4c61dd(0x1d6)][_0x4c61dd(0x174)][_0x4c61dd(0x1d8)](_0x2facc6)[_0x4c61dd(0x1c8)](_0x525cf8(this[_0x4c61dd(0x1d6)][_0x4c61dd(0x1fa)],_0x4c61dd(0x178))));}[_0x314188(0x1a0)](){const _0x204ef8=_0x314188;this[_0x204ef8(0x21f)]&&(this[_0x204ef8(0x1d6)][_0x204ef8(0x174)][_0x204ef8(0x1d8)](_0x2facc6)[_0x204ef8(0x208)](this[_0x204ef8(0x21f)]),this[_0x204ef8(0x21f)]=null);}[_0x314188(0x1cd)](_0x303d3b){const _0x185bc1=_0x314188,_0x25b6a8=_0x303d3b[_0x185bc1(0x253)](_0x546b19=>_0x546b19[_0x185bc1(0x204)]());return this[_0x185bc1(0x161)][_0x185bc1(0x22a)](_0x25b6a8);}[_0x314188(0x1e8)](_0x155f54,_0x3d435d){const _0xc17c94=_0x314188;return this[_0xc17c94(0x161)][_0xc17c94(0x1dc)](_0x155f54)[_0xc17c94(0x253)]((_0x1d557,_0x21a786)=>{const _0x89fc19=_0xc17c94,_0x42f110=_0x89fc19(0x1f9)==_0x3d435d[_0x21a786][_0x89fc19(0x228)];if(_0x89fc19(0x23b)==_0x1d557[_0x89fc19(0x18b)]){const _0x48feac=_0x1d557[_0x89fc19(0x1ac)][_0x89fc19(0x233)];!this[_0x89fc19(0x199)][_0x89fc19(0x252)](_0x48feac)&&(this[_0x89fc19(0x199)][_0x89fc19(0x17a)](_0x89fc19(0x179),_0x48feac)[_0x89fc19(0x1a2)]=!0x1);}const _0xe160e9=_0x51f79e[_0x89fc19(0x1e6)](_0x1d557,this[_0x89fc19(0x199)]);return _0xe160e9[_0x89fc19(0x1fd)]=_0x1d557[_0x89fc19(0x1fd)],_0xe160e9[_0x89fc19(0x1a7)]=_0x42f110,_0xe160e9[_0x89fc19(0x16a)]=_0x42f110?null:_0x3d435d[_0x21a786][_0x89fc19(0x1c0)],_0xe160e9[_0x89fc19(0x1c1)]=_0x89fc19(0x1ba)===_0x3d435d[_0x21a786][_0x89fc19(0x228)],_0xe160e9[_0x89fc19(0x1f2)]=_0x3d435d[_0x21a786][_0x89fc19(0x1f2)],_0xe160e9;});}[_0x314188(0x21d)](){const _0x2f477c=_0x314188;this[_0x2f477c(0x257)]=!0x0,this[_0x2f477c(0x173)]()?this[_0x2f477c(0x17d)]():this[_0x2f477c(0x257)]=!0x1;}[_0x314188(0x173)](){const _0x59683f=_0x314188,_0xa5bc37=this[_0x59683f(0x1d6)][_0x59683f(0x174)][_0x59683f(0x1d8)](_0x17b746)[_0x59683f(0x214)][_0x59683f(0x1d8)](this[_0x59683f(0x1f3)]);return!this[_0x59683f(0x1d6)][_0x59683f(0x190)]&&!!_0xa5bc37&&_0xa5bc37[_0x59683f(0x1bb)]>0x1&&this[_0x59683f(0x257)];}[_0x314188(0x1e1)](){const _0x3b24d1=_0x314188;return this[_0x3b24d1(0x1a1)][_0x3b24d1(0x1bb)]>0x0||this[_0x3b24d1(0x173)]();}}function _0x504d(_0x536655,_0x2c684e){const _0x4f6136=_0x4f61();return _0x504d=function(_0x504daa,_0x226f7e){_0x504daa=_0x504daa-0x157;let _0x4ceefa=_0x4f6136[_0x504daa];return _0x4ceefa;},_0x504d(_0x536655,_0x2c684e);}class q extends Error{}function G(_0x11f679,_0x24933d){const _0x54eb7c=_0x314188;for(const _0x51e0c9 of _0x11f679)_0x51e0c9[_0x54eb7c(0x224)]=_0x24933d++;}class ${[_0x314188(0x229)];[_0x314188(0x166)];constructor(_0x42d1ed){const _0x18e8d0=_0x314188;this[_0x18e8d0(0x229)]=_0x42d1ed,this[_0x18e8d0(0x166)]=new WeakMap();}[_0x314188(0x22c)](_0x526063){const _0x4bfe2b=_0x314188;let _0x205dee=_0x526063[_0x4bfe2b(0x1bb)];for(;_0x205dee--;){const _0x3eda1c=_0x526063[_0x205dee];if(!this[_0x4bfe2b(0x229)][_0x4bfe2b(0x1ed)](_0x3eda1c)){if(!this[_0x4bfe2b(0x166)][_0x4bfe2b(0x1ed)](_0x3eda1c)){const _0x16a9b9=_0x42bbfa()[_0x4bfe2b(0x1cb)](0x1,0x12);this[_0x4bfe2b(0x166)][_0x4bfe2b(0x1df)](_0x3eda1c,_0x16a9b9);}return this[_0x4bfe2b(0x166)][_0x4bfe2b(0x1d8)](_0x3eda1c);}}}[_0x314188(0x22e)](_0x8b55df,_0xee0c0d){const _0x53bbb6=_0x314188;if(!_0xee0c0d)return;let _0x1e468b=_0x8b55df[_0x53bbb6(0x1bb)];for(;_0x1e468b--;){const _0x504b58=_0x8b55df[_0x1e468b];this[_0x53bbb6(0x229)][_0x53bbb6(0x1ed)](_0x504b58)||this[_0x53bbb6(0x166)][_0x53bbb6(0x1df)](_0x504b58,_0xee0c0d);}}}
|
|
23
|
+
function _0x56dd(){const _0x2d2073=['wasUndone','_isEditingAllowed','requires','userId','realtimecollaborationclient-init-service-internal-error','entries','realtimecollaborationclient-init-session-connection-error','fire','channelSessions','move','_setUpDataInit','1tJjbZJ','_sendBufferedOperations','1637114nPhDEp','_initThrowingOnDataSet','cloud-services-internal-error:\x20Request\x20timeout.','has','_sendBufferedOperationsDelayId','document:write','decompress','_shouldSendSelectionUpdate','createRoot','attributes','createPositionFromPath','CommentsOnly','_disconnectService','init','mySessionId','getOperations','filter','permissions','InsertOperation','plugins','connected','set','start','_applyOperationsSet','_handleSendingSelectionMarkers','651861NhuEbH','suppressErrorInCollaboration','metadata','realtimecollaborationclient','multi-root-editor-root-attributes-no-root','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.','addOperation','_knownOperations','ready','8793328cfaDRa','_clearPendingAction','getIdOfTheLastOperation','2965wboLXf','_loadRoot','applyOperation','_shouldSendUpdate','affectsData','rtc-offline','isPremiumPlugin','newRange','_isAttached','get','connect','initData','collaboration-missing-channelid','code','isUndoneOperation','lastOperationAcceptedAt','disableReadOnlyMode','change:_isEditingAllowed','position','getConnectedSessions','_getOperationsFromInitData','realtimecollaborationclient-sendbufferedoperations','off','realtimecollaborationclient-init-non-existent-root','_handleReconnectionResponse','realtimecollaborationclient-error','change:range','currentDocumentSession','_connectAfterSessionHasBeenFlushed','unregister','addUser','catch','push','_channelId','realtimecollaborationclient-handleserverresponse','getRoot','includes','selection','208310LvKumU','return','createPositionAt','cloud-services-internal-error:\x20Not\x20connected.','_hasSynchronizationProblem','rtc-destroyed','createRange','_baseBufferDelay','loadRoot','parse','11itgUju','lastDocumentSession','length','removeFromReconnectionStack','collaboration','realtimecollaborationclient-init-document-already-initialized','_crash','sessionCreatedAt','path','add','enqueueChange','map','addRoot','_isDisconnection','_operationIdentifier','config','change:hasDomSelection','RealTimeCollaborationClient','Permissions','connection','addRootAttribute','error','fromJSON','marker','__className','from','clone','Synchronization\x20issue','_refreshUserSelectionMarkers','wereChangesApplied','listenTo','createdAt','_isPendingUpdate','forEach','data','CollaborativeEditingService','compress','locale','targetPosition','_initSessionsHandling','slice','108042hlmwdy','createUserMarkerOperations','_ignoredOperations','view','$root','_waitUntilSynced','editor','_sendBufferedOperationsDelayed','editing','apply','_pendingAction','insert','keys','addToReconnectionStack','offset','roots','affectedSelectable','round','stop','version','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.','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_connectService','Notification','differ','sendOperations','baseVersion','isEnabled','reset','77igpsOj','getMany','_bufferedOperations','isReadOnly','_disconnectionOperations','_handleExternalOperations','_decompressOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','end','real-time-collaboration','batch','reconnection:\x20flushed\x20session','_fetchMissingUsers','destroy','string','_saveOperationInBuffer','_lastSyncedOperationId','isOfficialPlugin','_handleReceivedOperations','message','sessionId','remove','model','reconnect','then','_knownRootNames','startsWith','_compressOperations','stopListening','state','_lastServerVersion','collaboration.channelId','setIdForTheLastOperation','_authorId','sessionAdd:','5284Lkvzec','toJSON','getOperationAuthor','lastSyncVersion','2542458hjsISC','register','_getAffectedRoot','getUser','_document','setPermissions','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cs:removeUser','_compressor','markers','high','_isInit','_handleServerResponse','_isConnected','serverHistory','define','isDocumentOperation','cloudServices.bundleVersion','directChange','_handleInitialConnectionData','type','lastOperationId','_operationToId','showWarning','size','404','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','bind','realtimecollaborationclient-init-service-incorrect-server-operation','disconnect','enableReadOnlyMode','history','_bufferRootLoad','rootName','root','operationsReceived','rootsAttributes','_offset','pluginName','_service','change:_isPendingUpdate','PENDING_ACTION_SENDING_DATA','_addKnownRoot','409','finally','_handleReconnectionError','_isLoaded','realtimecollaborationclient-init-connection-failed','cloudDocumentVersion','_currentBufferDelay','_setPendingAction','document','_hasSelectionChanged','_updateServerHistory','getDocumentDetails','disconnected'];_0x56dd=function(){return _0x2d2073;};return _0x56dd();}const _0x4eaf5b=_0x38da;(function(_0x1e4c1d,_0x3b56d6){const _0x1ef88a=_0x38da,_0x443a83=_0x1e4c1d();while(!![]){try{const _0x1c2511=-parseInt(_0x1ef88a(0x2af))/0x1*(-parseInt(_0x1ef88a(0x2b1))/0x2)+-parseInt(_0x1ef88a(0x26c))/0x3+-parseInt(_0x1ef88a(0x268))/0x4*(parseInt(_0x1ef88a(0x2d6))/0x5)+-parseInt(_0x1ef88a(0x228))/0x6*(-parseInt(_0x1ef88a(0x245))/0x7)+parseInt(_0x1ef88a(0x2d3))/0x8+parseInt(_0x1ef88a(0x2ca))/0x9+parseInt(_0x1ef88a(0x1f5))/0xa*(parseInt(_0x1ef88a(0x1ff))/0xb);if(_0x1c2511===_0x3b56d6)break;else _0x443a83['push'](_0x443a83['shift']());}catch(_0x4b4e47){_0x443a83['push'](_0x443a83['shift']());}}}(_0x56dd,0x8d2ad));import{Plugin as _0x513f98,PendingActions as _0x59a20a}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ced12,version as _0x46cc5f,uid as _0x5acec4}from'ckeditor5/src/utils.js';import{Notification as _0x5e6b75}from'ckeditor5/src/ui.js';function _0x38da(_0x1cb12a,_0x408461){const _0x56dd0f=_0x56dd();return _0x38da=function(_0x38da7b,_0x3862b0){_0x38da7b=_0x38da7b-0x1e1;let _0x4851d1=_0x56dd0f[_0x38da7b];return _0x4851d1;},_0x38da(_0x1cb12a,_0x408461);}import{transformOperationSets as _0x9583e6,NoOperation as _0xa8bf29,InsertOperation as _0x3c42fc,MarkerOperation as _0x5a7f81,RootAttributeOperation as _0x18dbca,OperationFactory as _0x5ab9e6,History as _0x5e314d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x388a3a}from'./websocketgateway.js';import{Sessions as _0x5d3e5e}from'./sessions.js';import{UserMarkers as _0x2d10ea}from'./usermarkers.js';import{getTranslation as _0x3640b5}from'../common-translations.js';import{Compressor as _0x11dfd3}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x270f01}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x51a585,CollaborativeEditingService as _0x2d525e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x513f98{static [_0x4eaf5b(0x222)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2d525e)());[_0x4eaf5b(0x291)];[_0x4eaf5b(0x259)];[_0x4eaf5b(0x27a)];[_0x4eaf5b(0x1f0)];[_0x4eaf5b(0x293)];[_0x4eaf5b(0x270)];[_0x4eaf5b(0x274)];[_0x4eaf5b(0x247)];[_0x4eaf5b(0x2d1)];[_0x4eaf5b(0x25e)];[_0x4eaf5b(0x232)];[_0x4eaf5b(0x2a0)];[_0x4eaf5b(0x2b5)];[_0x4eaf5b(0x1fc)];[_0x4eaf5b(0x29d)];[_0x4eaf5b(0x255)];[_0x4eaf5b(0x249)];[_0x4eaf5b(0x20d)];static get[_0x4eaf5b(0x2a6)](){return[_0x388a3a,_0x5d3e5e,_0x2d10ea,_0x59a20a,_0x270f01,_0x5e6b75];}static get[_0x4eaf5b(0x292)](){const _0x51e39f=_0x4eaf5b;return _0x51e39f(0x210);}static get[_0x4eaf5b(0x256)](){return!0x0;}static get[_0x4eaf5b(0x2dc)](){return!0x0;}get[_0x4eaf5b(0x29c)](){const _0x97be25=_0x4eaf5b;return this[_0x97be25(0x263)]+this[_0x97be25(0x291)];}get[_0x4eaf5b(0x263)](){const _0x251e51=_0x4eaf5b;return this[_0x251e51(0x27a)][_0x251e51(0x23b)]-this[_0x251e51(0x291)];}get[_0x4eaf5b(0x26b)](){const _0xe3b9c4=_0x4eaf5b,_0x5485ad=this[_0xe3b9c4(0x27a)][_0xe3b9c4(0x2c0)]();for(let _0x1f3180=_0x5485ad[_0xe3b9c4(0x201)]-0x1;_0x1f3180>=0x0;_0x1f3180--){const _0x22abe3=_0x5485ad[_0x1f3180];if(!this[_0xe3b9c4(0x249)][_0xe3b9c4(0x2b4)](_0x22abe3))return _0x22abe3[_0xe3b9c4(0x242)]+0x1-this[_0xe3b9c4(0x291)];}return 0x0;}constructor(_0x4919a2){const _0x4ea74b=_0x4eaf5b;if(super(_0x4919a2),this[_0x4ea74b(0x291)]=0x0,this[_0x4ea74b(0x259)]=null,this[_0x4ea74b(0x27a)]=new _0x5e314d(),this[_0x4ea74b(0x22e)][_0x4ea74b(0x20e)][_0x4ea74b(0x27b)](_0x4ea74b(0x203),{}),this[_0x4ea74b(0x1f0)]=this[_0x4ea74b(0x22e)][_0x4ea74b(0x20e)][_0x4ea74b(0x2df)](_0x4ea74b(0x264)),!this[_0x4ea74b(0x1f0)])throw new _0x1ced12(_0x4ea74b(0x2e2),this);const _0x59db11=_0x4919a2[_0x4ea74b(0x20e)][_0x4ea74b(0x2df)](_0x4ea74b(0x27d))||_0x46cc5f;this[_0x4ea74b(0x293)]=new RealTimeCollaborationClient[(_0x4ea74b(0x222))](_0x59db11,this[_0x4ea74b(0x1f0)]),this[_0x4ea74b(0x270)]=this[_0x4ea74b(0x22e)][_0x4ea74b(0x25b)][_0x4ea74b(0x29f)],this[_0x4ea74b(0x274)]=new _0x11dfd3(),this[_0x4ea74b(0x247)]=[],this[_0x4ea74b(0x2d1)]=new WeakSet(),this[_0x4ea74b(0x25e)]=new Set(),this[_0x4ea74b(0x2c6)](_0x4ea74b(0x21f),!0x1),this[_0x4ea74b(0x2c6)](_0x4ea74b(0x1f9),!0x1),this[_0x4ea74b(0x232)]=null,this[_0x4ea74b(0x2a0)]=!0x1,this[_0x4ea74b(0x2b5)]=null,this[_0x4ea74b(0x1fc)]=0x12c,this[_0x4ea74b(0x29d)]=this[_0x4ea74b(0x1fc)],this[_0x4ea74b(0x255)]=null,this[_0x4ea74b(0x249)]=new WeakSet(),this[_0x4ea74b(0x20d)]=new J(this[_0x4ea74b(0x249)]);}[_0x4eaf5b(0x2be)](){const _0x4dcbfd=_0x4eaf5b,_0x464b3c=this[_0x4dcbfd(0x22e)],_0x23ae29=_0x464b3c[_0x4dcbfd(0x2c4)][_0x4dcbfd(0x2df)](_0x270f01),_0x432a26=_0x464b3c[_0x4dcbfd(0x2c4)][_0x4dcbfd(0x2df)](_0x388a3a);this[_0x4dcbfd(0x21d)](_0x23ae29,_0x4dcbfd(0x26a),(_0x1ec094,_0x4c1f2b)=>{const _0x267eca=_0x4dcbfd,_0x27e817=_0x4c1f2b[0x0];_0x27e817[_0x267eca(0x266)]&&(_0x1ec094[_0x267eca(0x1f6)]=_0x23ae29[_0x267eca(0x26f)](_0x27e817[_0x267eca(0x266)]),_0x1ec094[_0x267eca(0x23a)]()),null===_0x27e817[_0x267eca(0x266)]&&(_0x1ec094[_0x267eca(0x1f6)]=null,_0x1ec094[_0x267eca(0x23a)]());},{'priority':_0x4dcbfd(0x276)}),this[_0x4dcbfd(0x21d)](_0x464b3c[_0x4dcbfd(0x25b)][_0x4dcbfd(0x29f)][_0x4dcbfd(0x1f4)],_0x4dcbfd(0x1e9),(_0xed304e,_0x52d73e)=>{const _0x27fe9c=_0x4dcbfd;_0x52d73e[_0x27fe9c(0x27e)]&&this[_0x27fe9c(0x21b)]();}),this[_0x4dcbfd(0x21d)](_0x464b3c[_0x4dcbfd(0x230)][_0x4dcbfd(0x22b)],_0x4dcbfd(0x20f),()=>{const _0x325e91=_0x4dcbfd;this[_0x325e91(0x21b)]();}),this[_0x4dcbfd(0x2b2)](),_0x464b3c[_0x4dcbfd(0x25b)]['on'](_0x4dcbfd(0x2d8),(_0x249642,_0x1d90f3)=>{const _0xa1c8e7=_0x4dcbfd,_0x47b4f9=_0x1d90f3[0x0];_0x47b4f9[_0xa1c8e7(0x27c)]&&(this[_0xa1c8e7(0x254)](_0x47b4f9),this[_0xa1c8e7(0x2d9)]()&&this[_0xa1c8e7(0x22f)]());}),this[_0x4dcbfd(0x2ae)](),this[_0x4dcbfd(0x287)](_0x4dcbfd(0x2a5))['to'](_0x432a26,_0x4dcbfd(0x262),this,_0x4dcbfd(0x1f9),(_0x331707,_0x525c0e)=>_0x4dcbfd(0x2c5)===_0x331707&&!_0x525c0e),this['on'](_0x4dcbfd(0x2e7),()=>{const _0x11fd6b=_0x4dcbfd;this[_0x11fd6b(0x2a5)]?_0x464b3c[_0x11fd6b(0x2e6)](_0x11fd6b(0x2db)):_0x464b3c[_0x11fd6b(0x28a)](_0x11fd6b(0x2db));}),this[_0x4dcbfd(0x2a5)]?_0x464b3c[_0x4dcbfd(0x2e6)](_0x4dcbfd(0x2db)):_0x464b3c[_0x4dcbfd(0x28a)](_0x4dcbfd(0x2db)),this[_0x4dcbfd(0x2c6)](_0x4dcbfd(0x279),!0x1);}async[_0x4eaf5b(0x25c)](){const _0x9ae0c4=_0x4eaf5b,_0x3d1276=this[_0x9ae0c4(0x22e)][_0x9ae0c4(0x2c4)][_0x9ae0c4(0x2df)](_0x5d3e5e),_0xf32a3c=this[_0x9ae0c4(0x22e)][_0x9ae0c4(0x2c4)][_0x9ae0c4(0x2df)](_0x388a3a);try{this[_0x9ae0c4(0x21f)]=!0x0,_0x3d1276[_0x9ae0c4(0x1ec)](this[_0x9ae0c4(0x1f0)]);const _0x13ffbe=await this[_0x9ae0c4(0x293)][_0x9ae0c4(0x25c)](_0xf32a3c[_0x9ae0c4(0x212)],this[_0x9ae0c4(0x26b)]);await this[_0x9ae0c4(0x1e7)](_0x13ffbe)&&(this[_0x9ae0c4(0x21f)]=!0x1,this[_0x9ae0c4(0x2d4)]());const _0x48b707=await this[_0x9ae0c4(0x293)][_0x9ae0c4(0x1e2)]();_0x3d1276[_0x9ae0c4(0x26d)](this[_0x9ae0c4(0x1f0)],_0x48b707),this[_0x9ae0c4(0x2c9)](),this[_0x9ae0c4(0x279)]=!0x0;}catch(_0x352b28){if(function(_0x19af28){const _0x4f4c53=_0x9ae0c4;return _0x4f4c53(0x285)===_0x19af28[_0x4f4c53(0x2e3)];}(_0x352b28)&&this[_0x9ae0c4(0x259)])await this[_0x9ae0c4(0x1eb)]();else{if(function(_0x5c2719){const _0x582090=_0x9ae0c4;return _0x582090(0x297)===_0x5c2719[_0x582090(0x2e3)];}(_0x352b28)){const _0xac34ef=_0x3640b5(this[_0x9ae0c4(0x22e)][_0x9ae0c4(0x224)],_0x9ae0c4(0x272));this[_0x9ae0c4(0x299)](_0xac34ef);}else{if(!(_0x352b28 instanceof $))throw _0x352b28;this[_0x9ae0c4(0x299)]();}}}}[_0x4eaf5b(0x252)](){const _0x11d03f=_0x4eaf5b,_0x472cfb=this[_0x11d03f(0x22e)][_0x11d03f(0x2c4)][_0x11d03f(0x2df)](_0x388a3a),_0x311c6a=this[_0x11d03f(0x22e)][_0x11d03f(0x2c4)][_0x11d03f(0x2df)](_0x5d3e5e);this[_0x11d03f(0x22e)][_0x11d03f(0x28a)](_0x11d03f(0x1fa)),_0x311c6a[_0x11d03f(0x2ac)][_0x11d03f(0x2b4)](this[_0x11d03f(0x1f0)])&&_0x311c6a[_0x11d03f(0x1ec)](this[_0x11d03f(0x1f0)]),_0x472cfb[_0x11d03f(0x202)](this),this[_0x11d03f(0x2bd)](),super[_0x11d03f(0x252)]();}async[_0x4eaf5b(0x1e7)](_0x1d256d){const _0x16a99a=_0x4eaf5b;if(this[_0x16a99a(0x259)]!==_0x1d256d[_0x16a99a(0x259)]&&this[_0x16a99a(0x255)]!==_0x1d256d[_0x16a99a(0x281)])throw new $();return this[_0x16a99a(0x259)]=_0x1d256d[_0x16a99a(0x259)],this[_0x16a99a(0x278)]([],{..._0x1d256d,'wereChangesApplied':!0x1,'data':_0x1d256d[_0x16a99a(0x221)]},_0x16a99a(0x25c));}async[_0x4eaf5b(0x23e)](_0x49712a,_0x50ec4b=!0x1){const _0x1bc804=_0x4eaf5b,{connection:_0x474865}=this[_0x1bc804(0x22e)][_0x1bc804(0x2c4)][_0x1bc804(0x2df)](_0x388a3a);RealTimeCollaborationClient[_0x1bc804(0x222)][_0x1bc804(0x1e2)](_0x474865,this[_0x1bc804(0x1f0)])[_0x1bc804(0x25d)](_0x2ac786=>this[_0x1bc804(0x226)](_0x2ac786))[_0x1bc804(0x1ee)](_0x238ced=>{const _0x549f53=_0x1bc804;this[_0x549f53(0x205)](_0x549f53(0x2aa),_0x238ced);}),this[_0x1bc804(0x21d)](this[_0x1bc804(0x293)],_0x1bc804(0x28f),this[_0x1bc804(0x257)][_0x1bc804(0x287)](this)),this[_0x1bc804(0x21d)](this[_0x1bc804(0x293)],_0x1bc804(0x214),(_0x24cf3f,_0x215b29)=>{const _0x17d1f2=_0x1bc804;this[_0x17d1f2(0x205)](_0x17d1f2(0x2a8),_0x215b29);}),this[_0x1bc804(0x21d)](this[_0x1bc804(0x293)],_0x1bc804(0x2a3),()=>{const _0x2e22fd=_0x1bc804;this[_0x2e22fd(0x279)]=!0x1;});const _0xed3eb4=this[_0x1bc804(0x20d)][_0x1bc804(0x2d5)](_0x49712a);this[_0x1bc804(0x21f)]=!0x0;const _0x3211c1=await this[_0x1bc804(0x293)][_0x1bc804(0x2e0)](_0x474865,this[_0x1bc804(0x260)](_0x49712a),_0xed3eb4);if(this[_0x1bc804(0x259)]=_0x3211c1[_0x1bc804(0x259)],_0x50ec4b){if(!_0x3211c1[_0x1bc804(0x21c)])return void this[_0x1bc804(0x299)]();this[_0x1bc804(0x21f)]=!0x1,this[_0x1bc804(0x2d4)](),this[_0x1bc804(0x27a)][_0x1bc804(0x244)](),this[_0x1bc804(0x291)]=_0x3211c1[_0x1bc804(0x236)],this[_0x1bc804(0x27a)][_0x1bc804(0x23b)]=this[_0x1bc804(0x291)],await this[_0x1bc804(0x278)](_0x49712a,_0x3211c1,_0x1bc804(0x250));}else await this[_0x1bc804(0x27f)](_0x3211c1,_0x49712a);this[_0x1bc804(0x2c9)](),this[_0x1bc804(0x279)]=!0x0;}[_0x4eaf5b(0x2c9)](){const _0x532b64=_0x4eaf5b,_0x21cec6=this[_0x532b64(0x22e)][_0x532b64(0x2c4)][_0x532b64(0x2df)](_0x5d3e5e),_0xb49f19=this[_0x532b64(0x22e)][_0x532b64(0x2c4)][_0x532b64(0x2df)](_0x2d10ea),_0x16b7c7=_0x21cec6[_0x532b64(0x2ac)][_0x532b64(0x2df)](this[_0x532b64(0x1f0)]);_0x16b7c7&&_0x16b7c7[_0x532b64(0x201)]>0x1?_0xb49f19[_0x532b64(0x229)]():this[_0x532b64(0x21d)](_0x21cec6,_0x532b64(0x267)+this[_0x532b64(0x1f0)],()=>{const _0x1cbd6d=_0x532b64;0x2===_0x21cec6[_0x1cbd6d(0x2ac)][_0x1cbd6d(0x2df)](this[_0x1cbd6d(0x1f0)])[_0x1cbd6d(0x201)]&&_0xb49f19[_0x1cbd6d(0x229)]();});}async[_0x4eaf5b(0x257)](_0x3a58fe,_0x5be126,_0x48477e,_0xca1bca){const _0x110704=_0x4eaf5b;if(!this[_0x110704(0x21f)]&&this[_0x110704(0x270)][_0x110704(0x23b)]==_0x5be126){const _0x1d0c16=this[_0x110704(0x24b)](_0x48477e,_0xca1bca);await this[_0x110704(0x251)](_0x1d0c16),this[_0x110704(0x24a)](_0x1d0c16,_0x5be126,_0x48477e[_0x110704(0x281)])||this[_0x110704(0x205)](_0x110704(0x288));}}async[_0x4eaf5b(0x1eb)](){const _0x4bc627=_0x4eaf5b;this[_0x4bc627(0x2bd)]();const {locale:_0x279c1d}=this[_0x4bc627(0x22e)];let _0x3fb092;try{_0x3fb092=await this[_0x4bc627(0x293)][_0x4bc627(0x2a2)]();}catch{const _0xd83bdd=_0x3640b5(_0x279c1d,_0x4bc627(0x24c));return void this[_0x4bc627(0x299)](_0xd83bdd);}const _0x421002=_0x3fb092[_0x4bc627(0x1ea)]||_0x3fb092[_0x4bc627(0x200)];if(this[_0x4bc627(0x255)]!==_0x421002[_0x4bc627(0x281)]){const _0x1d3f29=_0x3640b5(_0x279c1d,_0x4bc627(0x23c));return void this[_0x4bc627(0x299)](_0x1d3f29);}await this[_0x4bc627(0x23e)](this[_0x4bc627(0x22e)][_0x4bc627(0x25b)][_0x4bc627(0x29f)][_0x4bc627(0x28b)][_0x4bc627(0x2c0)](),!0x0);}[_0x4eaf5b(0x2bd)](){const _0x60f34=_0x4eaf5b;this[_0x60f34(0x293)][_0x60f34(0x289)](),this[_0x60f34(0x247)]=[],clearTimeout(this[_0x60f34(0x2b5)]),this[_0x60f34(0x261)](this[_0x60f34(0x293)]);}[_0x4eaf5b(0x226)](_0x45be97){const _0xacf65c=_0x4eaf5b,_0x47b4a2=this[_0xacf65c(0x22e)][_0xacf65c(0x2c4)][_0xacf65c(0x2df)](_0x5d3e5e);this[_0xacf65c(0x21d)](_0x47b4a2,_0xacf65c(0x267)+this[_0xacf65c(0x1f0)],(_0x168766,{session:_0x49166b})=>{const _0x31e357=_0xacf65c;if(_0x49166b['id']===_0x47b4a2[_0x31e357(0x2bf)]){_0x168766[_0x31e357(0x1e5)]();const _0x434516=this[_0x31e357(0x22e)][_0x31e357(0x2c4)][_0x31e357(0x2b4)](_0x31e357(0x2bc))&&this[_0x31e357(0x22e)][_0x31e357(0x2c4)][_0x31e357(0x2df)](_0x31e357(0x2bc));let _0x41e46e=_0x49166b[_0x31e357(0x2c2)];_0x434516&&_0x434516[_0x31e357(0x243)]&&(_0x41e46e=_0x41e46e[_0x31e357(0x2c1)](_0x2961f4=>_0x31e357(0x2b6)!==_0x2961f4)),this[_0x31e357(0x22e)][_0x31e357(0x2c4)][_0x31e357(0x2df)](_0x31e357(0x211))[_0x31e357(0x271)](_0x41e46e,this[_0x31e357(0x1f0)]);}}),_0x47b4a2[_0xacf65c(0x26d)](this[_0xacf65c(0x1f0)],_0x45be97);}[_0x4eaf5b(0x2b2)](){const _0x4115e2=_0x4eaf5b,_0x3fd0d5=this[_0x4115e2(0x22e)][_0x4115e2(0x221)][_0x4115e2(0x2c6)];this[_0x4115e2(0x22e)][_0x4115e2(0x221)][_0x4115e2(0x2c6)]=(..._0x2a0bac)=>{const _0x5a8627=_0x4115e2;if(!_0x2a0bac[_0x2a0bac[_0x5a8627(0x201)]-0x1][_0x5a8627(0x2cb)])throw new _0x1ced12(_0x5a8627(0x286),this);_0x3fd0d5[_0x5a8627(0x231)](this[_0x5a8627(0x22e)][_0x5a8627(0x221)],_0x2a0bac);};}[_0x4eaf5b(0x2ae)](){const _0x587552=_0x4eaf5b;this[_0x587552(0x22e)][_0x587552(0x221)]['on'](_0x587552(0x2be),(_0x4f037,[_0x599d0e])=>{const _0x4827b8=_0x587552;if(this[_0x4827b8(0x270)][_0x4827b8(0x23b)])throw new _0x1ced12(_0x4827b8(0x204),this);_0x4f037[_0x4827b8(0x23a)](),this[_0x4827b8(0x29e)]();const _0x4595f0=this[_0x4827b8(0x22e)][_0x4827b8(0x20e)][_0x4827b8(0x2df)](_0x4827b8(0x290)),_0x5f30c4=this[_0x4827b8(0x1e3)](_0x599d0e,_0x4595f0);0x0==_0x5f30c4[_0x4827b8(0x201)]&&_0x5f30c4[_0x4827b8(0x1ef)](new _0xa8bf29(0x0)),_0x4f037[_0x4827b8(0x1f6)]=this[_0x4827b8(0x23e)](_0x5f30c4)[_0x4827b8(0x25d)](()=>{const _0x57736b=_0x4827b8;this[_0x57736b(0x22e)][_0x57736b(0x2c4)][_0x57736b(0x2df)](_0x388a3a)[_0x57736b(0x235)](this),this[_0x57736b(0x22e)][_0x57736b(0x221)][_0x57736b(0x2ab)](_0x57736b(0x2d2));})[_0x4827b8(0x1ee)](_0x2efe91=>this[_0x4827b8(0x205)](_0x4827b8(0x29b),_0x2efe91))[_0x4827b8(0x298)](()=>this[_0x4827b8(0x2d4)]());},{'priority':_0x587552(0x276)}),this[_0x587552(0x22e)]['on'](_0x587552(0x1fd),async(_0x3e2975,[_0x1baa6b,_0x449f8a])=>{const _0x331aaa=_0x587552;_0x3e2975[_0x331aaa(0x23a)]();const _0x3fc75c=this[_0x331aaa(0x22e)][_0x331aaa(0x25b)][_0x331aaa(0x29f)][_0x331aaa(0x1f2)](_0x1baa6b);if(!this[_0x331aaa(0x25e)][_0x331aaa(0x2b4)](_0x1baa6b)){const _0x3d7b23=_0x449f8a&&_0x449f8a[_0x331aaa(0x221)]?_0x449f8a[_0x331aaa(0x221)]:'',_0x5005af=_0x449f8a&&_0x449f8a[_0x331aaa(0x2ba)]?_0x449f8a[_0x331aaa(0x2ba)]:{};await this[_0x331aaa(0x2d7)](_0x1baa6b,_0x3d7b23,_0x5005af);}this[_0x331aaa(0x22e)][_0x331aaa(0x25b)][_0x331aaa(0x209)]({'isUndoable':!0x1},()=>{const _0x5d6f05=_0x331aaa;_0x3fc75c[_0x5d6f05(0x29a)]=!0x0,this[_0x5d6f05(0x22e)][_0x5d6f05(0x25b)][_0x5d6f05(0x29f)][_0x5d6f05(0x240)][_0x5d6f05(0x28c)](_0x3fc75c);});},{'priority':_0x587552(0x276)});}async[_0x4eaf5b(0x251)](_0x1e3e5a){const _0x2e650c=_0x4eaf5b,_0x4f010f=this[_0x2e650c(0x22e)][_0x2e650c(0x2c4)][_0x2e650c(0x2df)](_0x270f01),{connection:_0x377238}=this[_0x2e650c(0x22e)][_0x2e650c(0x2c4)][_0x2e650c(0x2df)](_0x388a3a),_0xe44377=new Set();for(const _0x2c54e5 of _0x1e3e5a){const _0x2c201d=_0x2c54e5[_0x2e650c(0x266)];_0x2c201d&&!_0x4f010f[_0x2e650c(0x26f)](_0x2c201d)&&_0xe44377[_0x2e650c(0x208)](_0x2c201d);}if(0x0===_0xe44377[_0x2e650c(0x284)])return;const _0x58be95=await _0x51a585[_0x2e650c(0x246)](_0x377238,Array[_0x2e650c(0x218)](_0xe44377));for(const _0x125abc of _0x58be95)_0x4f010f[_0x2e650c(0x26f)](_0x125abc['id'])||_0x4f010f[_0x2e650c(0x1ed)](_0x125abc);}[_0x4eaf5b(0x1e3)](_0x5e96cc,_0x5c51fb={}){const _0x2f19f3=_0x4eaf5b,_0x9cfe99=this[_0x2f19f3(0x22e)][_0x2f19f3(0x25b)],_0x5be44b=[];let _0x18793d=0x0;const _0x7cb8d2=_0x2f19f3(0x253)==typeof _0x5e96cc?{'main':_0x5e96cc}:_0x5e96cc;for(const _0x4654ee of Object[_0x2f19f3(0x234)](_0x7cb8d2)){if(!this[_0x2f19f3(0x270)][_0x2f19f3(0x237)][_0x2f19f3(0x2b4)](_0x4654ee))throw new _0x1ced12(_0x2f19f3(0x1e6),this);const _0x40ec9c=this[_0x2f19f3(0x22e)][_0x2f19f3(0x221)][_0x2f19f3(0x1fe)](_0x7cb8d2[_0x4654ee]),_0x546fc0=this[_0x2f19f3(0x270)][_0x2f19f3(0x1f2)](_0x4654ee),_0x4f875e=new _0x3c42fc(_0x9cfe99[_0x2f19f3(0x1f7)](_0x546fc0,0x0),_0x40ec9c,_0x18793d++);_0x5be44b[_0x2f19f3(0x1ef)](_0x4f875e);for(const [_0x218fde,_0x4ec67e]of _0x40ec9c[_0x2f19f3(0x275)]){const _0x190285=_0x9cfe99[_0x2f19f3(0x1fb)](_0x9cfe99[_0x2f19f3(0x2bb)](_0x546fc0,_0x4ec67e[_0x2f19f3(0x2c7)][_0x2f19f3(0x207)][_0x2f19f3(0x227)]()),_0x9cfe99[_0x2f19f3(0x2bb)](_0x546fc0,_0x4ec67e[_0x2f19f3(0x24d)][_0x2f19f3(0x207)][_0x2f19f3(0x227)]())),_0x36575a=new _0x5a7f81(_0x218fde,null,_0x190285,_0x9cfe99[_0x2f19f3(0x275)],!0x0,_0x18793d++);_0x5be44b[_0x2f19f3(0x1ef)](_0x36575a);}}if(_0x5c51fb)for(const [_0x29d9ef,_0x41b216]of Object[_0x2f19f3(0x2a9)](_0x5c51fb)){const _0x981e3c=_0x9cfe99[_0x2f19f3(0x29f)][_0x2f19f3(0x1f2)](_0x29d9ef);if(!_0x981e3c)throw new _0x1ced12(_0x2f19f3(0x2ce),null);for(const [_0x246bf2,_0xc4f1c5]of Object[_0x2f19f3(0x2a9)](_0x41b216))if(null!==_0xc4f1c5){const _0x2f3228=new _0x18dbca(_0x981e3c,_0x246bf2,null,_0xc4f1c5,_0x18793d++);_0x5be44b[_0x2f19f3(0x1ef)](_0x2f3228);}}return _0x5be44b;}async[_0x4eaf5b(0x2d7)](_0x4a3965,_0x32e0a6,_0x4f42b1){const _0x503a41=_0x4eaf5b;this[_0x503a41(0x1e3)]({[_0x4a3965]:_0x32e0a6},{[_0x4a3965]:_0x4f42b1})[_0x503a41(0x220)]((_0x197fb8,_0x451ae0)=>{const _0x48ecc1=_0x503a41;_0x197fb8[_0x48ecc1(0x242)]=this[_0x48ecc1(0x270)][_0x48ecc1(0x23b)]+_0x451ae0,_0x197fb8[_0x48ecc1(0x277)]=!0x0,this[_0x48ecc1(0x254)](_0x197fb8);}),this[_0x503a41(0x22f)](),await this[_0x503a41(0x22d)]();}async[_0x4eaf5b(0x27f)](_0x2e5d70,_0x491cd3){const _0x427c5e=_0x4eaf5b;let _0x437595;this[_0x427c5e(0x291)]=_0x2e5d70[_0x427c5e(0x236)];const _0x7aaefb=_0x2e5d70[_0x427c5e(0x21c)]&&!_0x2e5d70[_0x427c5e(0x2e1)],_0x21a812=_0x7aaefb?0x0:_0x2e5d70[_0x427c5e(0x221)][_0x427c5e(0x242)];if(_0x491cd3[_0x427c5e(0x220)](_0x1a2745=>{const _0x272816=_0x427c5e;_0x1a2745[_0x272816(0x277)]=!0x0,_0x1a2745[_0x272816(0x21e)]=_0x2e5d70[_0x272816(0x206)],_0x1a2745[_0x272816(0x266)]=null;}),_0x7aaefb)_0x437595=_0x491cd3,this[_0x427c5e(0x2c8)](_0x437595,_0x7aaefb);else{if(_0x2e5d70[_0x427c5e(0x2e1)]){const _0x11e5a9=this[_0x427c5e(0x1e3)](_0x2e5d70[_0x427c5e(0x2e1)]);this[_0x427c5e(0x270)][_0x427c5e(0x28b)][_0x427c5e(0x23b)]=-_0x11e5a9[_0x427c5e(0x201)],_0x11e5a9[_0x427c5e(0x220)](_0x59cf5a=>{const _0x1c83ba=_0x427c5e;_0x59cf5a[_0x1c83ba(0x242)]-=_0x11e5a9[_0x1c83ba(0x201)],_0x59cf5a[_0x1c83ba(0x21e)]=_0x2e5d70[_0x1c83ba(0x206)],_0x59cf5a[_0x1c83ba(0x277)]=!0x0,_0x59cf5a[_0x1c83ba(0x266)]=null;}),this[_0x427c5e(0x2c8)](_0x11e5a9,!0x0),this[_0x427c5e(0x27a)][_0x427c5e(0x23b)]=-_0x11e5a9[_0x427c5e(0x201)]+this[_0x427c5e(0x291)],this[_0x427c5e(0x2a1)](_0x11e5a9);}this[_0x427c5e(0x270)][_0x427c5e(0x28b)][_0x427c5e(0x23b)]=_0x21a812,_0x437595=this[_0x427c5e(0x24b)](_0x2e5d70[_0x427c5e(0x221)],_0x2e5d70[_0x427c5e(0x2cc)]),await this[_0x427c5e(0x251)](_0x437595),this[_0x427c5e(0x2c8)](_0x437595,_0x7aaefb);}_0x2e5d70[_0x427c5e(0x281)]&&(this[_0x427c5e(0x20d)][_0x427c5e(0x265)](_0x437595,_0x2e5d70[_0x427c5e(0x281)]),this[_0x427c5e(0x255)]=_0x2e5d70[_0x427c5e(0x281)]),this[_0x427c5e(0x27a)][_0x427c5e(0x23b)]=_0x21a812+this[_0x427c5e(0x291)],this[_0x427c5e(0x2a1)](_0x437595),_0x491cd3[_0x427c5e(0x2c1)](_0x39fe82=>{const _0x24d9f5=_0x427c5e,_0x4c4bb2=this[_0x24d9f5(0x26e)](_0x39fe82);return _0x4c4bb2&&!this[_0x24d9f5(0x25e)][_0x24d9f5(0x2b4)](_0x4c4bb2);})[_0x427c5e(0x220)]((_0x3ddcd4,_0x1b4362)=>{const _0x169846=_0x427c5e;_0x3ddcd4[_0x169846(0x242)]=this[_0x169846(0x270)][_0x169846(0x23b)]+_0x1b4362,this[_0x169846(0x254)](_0x3ddcd4);}),this[_0x427c5e(0x2d9)]()?(this[_0x427c5e(0x29d)]=0x0,this[_0x427c5e(0x22f)](!0x0),await this[_0x427c5e(0x22d)]()):(this[_0x427c5e(0x21f)]=!0x1,this[_0x427c5e(0x2d4)]());}[_0x4eaf5b(0x205)](_0x238991,_0x433491){const _0x32447f=_0x4eaf5b,_0x297a5b=_0x433491&&_0x433491[_0x32447f(0x258)];if(_0x297a5b&&_0x297a5b[_0x32447f(0x25f)](_0x32447f(0x2cd)))throw _0x433491;const _0x29b353=this[_0x32447f(0x22e)][_0x32447f(0x2c4)][_0x32447f(0x2df)](_0x388a3a);throw this[_0x32447f(0x21f)]=!0x0,_0x29b353[_0x32447f(0x289)](),this[_0x32447f(0x22e)][_0x32447f(0x28a)](_0x32447f(0x1e8)),new _0x1ced12(_0x238991,this[_0x32447f(0x22e)],_0x297a5b?{'originalError':_0x297a5b}:void 0x0);}[_0x4eaf5b(0x254)](_0x2fd465){const _0x58f555=_0x4eaf5b;this[_0x58f555(0x2d1)][_0x58f555(0x2b4)](_0x2fd465)||(this[_0x58f555(0x2d1)][_0x58f555(0x208)](_0x2fd465),this[_0x58f555(0x247)][_0x58f555(0x1ef)](_0x2fd465),this[_0x58f555(0x232)]||_0x58f555(0x216)==_0x2fd465[_0x58f555(0x280)]&&!_0x2fd465[_0x58f555(0x2da)]||this[_0x58f555(0x29e)]());}[_0x4eaf5b(0x22f)](_0x520be8=!0x1){const _0x137dcb=_0x4eaf5b;!_0x520be8&&this[_0x137dcb(0x21f)]||(this[_0x137dcb(0x21f)]=!0x0,clearTimeout(this[_0x137dcb(0x2b5)]),this[_0x137dcb(0x2b5)]=setTimeout(()=>{const _0x5ac81e=_0x137dcb;this[_0x5ac81e(0x2b0)]()[_0x5ac81e(0x25d)](_0x2eaacf=>{const _0x13c8e2=_0x5ac81e;_0x2eaacf&&(this[_0x13c8e2(0x2d4)](),this[_0x13c8e2(0x21f)]=!0x1);})[_0x5ac81e(0x1ee)](_0xdee8e4=>{const _0x2cb92d=_0x5ac81e;this[_0x2cb92d(0x2d4)](),this[_0x2cb92d(0x21f)]=!0x1,function(_0x4460fe){const _0xa043aa=_0x2cb92d;return _0x4460fe[_0xa043aa(0x258)][_0xa043aa(0x25f)](_0xa043aa(0x1f8))||_0x4460fe[_0xa043aa(0x258)][_0xa043aa(0x25f)](_0xa043aa(0x23d))||_0x4460fe[_0xa043aa(0x258)][_0xa043aa(0x25f)](_0xa043aa(0x2b3));}(_0xdee8e4)||this[_0x2cb92d(0x205)](_0xdee8e4[_0x2cb92d(0x258)],_0xdee8e4);});},this[_0x137dcb(0x29d)]));}[_0x4eaf5b(0x22d)](){return new Promise(_0x1db83e=>{const _0x41d415=_0x38da;this['on'](_0x41d415(0x294),()=>{_0x1db83e();});});}async[_0x4eaf5b(0x2b0)](){const _0x50a14e=_0x4eaf5b,_0x1dd57e=this[_0x50a14e(0x22e)][_0x50a14e(0x2c4)][_0x50a14e(0x2df)](_0x2d10ea);if(this[_0x50a14e(0x2b8)]()&&(_0x1dd57e[_0x50a14e(0x229)](),this[_0x50a14e(0x2a0)]=!0x1),!this[_0x50a14e(0x2d9)]())return!0x0;const _0x3b0988=[...this[_0x50a14e(0x247)]];for(const _0xce53b7 of _0x3b0988)_0xce53b7[_0x50a14e(0x2a4)]=this[_0x50a14e(0x270)][_0x50a14e(0x28b)][_0x50a14e(0x2e4)](_0xce53b7);const _0x3b734b=this[_0x50a14e(0x20d)][_0x50a14e(0x2d5)](_0x3b0988),_0x2ab6cc=G++,_0xe670b9=this[_0x50a14e(0x260)](_0x3b0988),_0x166180=await this[_0x50a14e(0x293)][_0x50a14e(0x241)](_0xe670b9,_0xe670b9[_0x50a14e(0x242)],_0x3b734b);try{return await this[_0x50a14e(0x278)](_0x3b0988,_0x166180,_0x2ab6cc);}catch(_0x2d7b82){return this[_0x50a14e(0x205)](_0x50a14e(0x1e4),_0x2d7b82);}}async[_0x4eaf5b(0x278)](_0x3580d2,_0x828601,_0x528baa){const _0xc7a2e2=_0x4eaf5b;if(_0xc7a2e2(0x214)in _0x828601)throw _0x828601[_0xc7a2e2(0x214)];let _0x26ce55=!0x1;if(_0x828601[_0xc7a2e2(0x21c)]){_0x828601[_0xc7a2e2(0x281)]&&(this[_0xc7a2e2(0x255)]=_0x828601[_0xc7a2e2(0x281)]),this[_0xc7a2e2(0x247)]=this[_0xc7a2e2(0x247)][_0xc7a2e2(0x2c1)](_0x2135be=>!_0x3580d2[_0xc7a2e2(0x1f3)](_0x2135be));for(const _0x6140e6 of _0x3580d2)_0x6140e6[_0xc7a2e2(0x21e)]=_0xc7a2e2(0x2e5)in _0x828601&&_0x828601[_0xc7a2e2(0x2e5)]||void 0x0;K(_0x3580d2,_0x828601[_0xc7a2e2(0x23b)]-_0x3580d2[_0xc7a2e2(0x201)]),this[_0xc7a2e2(0x2a1)](_0x3580d2);const _0x36bd5c=_0x3580d2[_0xc7a2e2(0x2c1)](_0x3d410b=>{const _0x1c8e63=_0xc7a2e2;if(!_0x3d410b[_0x1c8e63(0x277)])return!0x1;const _0x40c295=this[_0x1c8e63(0x26e)](_0x3d410b);return _0x40c295&&!this[_0x1c8e63(0x25e)][_0x1c8e63(0x2b4)](_0x40c295);});K(_0x36bd5c,this[_0xc7a2e2(0x270)][_0xc7a2e2(0x23b)]),this[_0xc7a2e2(0x2c8)](_0x36bd5c),_0x26ce55=!0x0,this[_0xc7a2e2(0x29d)]=this[_0xc7a2e2(0x1fc)];}else{const _0x24b7e3=this[_0xc7a2e2(0x24b)](_0x828601[_0xc7a2e2(0x221)],_0x828601[_0xc7a2e2(0x2cc)])[_0xc7a2e2(0x2c1)](_0x305b31=>_0x305b31[_0xc7a2e2(0x242)]>=this[_0xc7a2e2(0x263)]);_0x24b7e3[_0xc7a2e2(0x220)](_0x393f34=>this[_0xc7a2e2(0x296)](_0x393f34)),this[_0xc7a2e2(0x247)]=this[_0xc7a2e2(0x247)][_0xc7a2e2(0x2c1)](_0xec69cc=>!_0xec69cc[_0xc7a2e2(0x277)]||!this[_0xc7a2e2(0x25e)][_0xc7a2e2(0x2b4)](this[_0xc7a2e2(0x26e)](_0xec69cc))),this[_0xc7a2e2(0x247)][_0xc7a2e2(0x201)]&&K(this[_0xc7a2e2(0x247)],this[_0xc7a2e2(0x247)][0x0][_0xc7a2e2(0x242)]),await this[_0xc7a2e2(0x251)](_0x24b7e3),_0x26ce55=this[_0xc7a2e2(0x24a)](_0x24b7e3,_0x828601[_0xc7a2e2(0x23b)],_0x828601[_0xc7a2e2(0x281)]),this[_0xc7a2e2(0x29d)]=Math[_0xc7a2e2(0x239)](this[_0xc7a2e2(0x29d)]/0x2);}return _0x26ce55?!this[_0xc7a2e2(0x2d9)]()||(this[_0xc7a2e2(0x22f)](!0x0),!0x1):this[_0xc7a2e2(0x205)](_0xc7a2e2(0x1f1));}[_0x4eaf5b(0x24a)](_0x16dea3,_0x49fd47,_0x363008){const _0x531ee7=_0x4eaf5b;try{const _0x2bea03={'document':this[_0x531ee7(0x270)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1217ea,operationsB:_0x3ee494,originalOperations:_0x3f3b6d}=_0x9583e6(_0x16dea3,this[_0x531ee7(0x247)],_0x2bea03);K(_0x1217ea,this[_0x531ee7(0x270)][_0x531ee7(0x23b)]),K(_0x3ee494,_0x49fd47);for(const _0x5c6a89 of _0x1217ea){const _0x536be2=_0x3f3b6d[_0x531ee7(0x2df)](_0x5c6a89);_0x5c6a89[_0x531ee7(0x266)]=_0x536be2?_0x536be2[_0x531ee7(0x266)]:null;}_0x363008&&(this[_0x531ee7(0x20d)][_0x531ee7(0x265)](_0x16dea3,_0x363008),this[_0x531ee7(0x255)]=_0x363008),this[_0x531ee7(0x247)]=[..._0x3ee494],this[_0x531ee7(0x2c8)](_0x1217ea),this[_0x531ee7(0x2a1)](_0x16dea3);}catch(_0x104dc5){return console[_0x531ee7(0x214)](_0x104dc5),!0x1;}return!0x0;}[_0x4eaf5b(0x2c8)](_0x20a6f7,_0x2e0de7=!0x1){const _0x31dc89=_0x4eaf5b;this[_0x31dc89(0x22e)][_0x31dc89(0x25b)][_0x31dc89(0x209)]({'isUndoable':!0x1,'isLocal':!0x1},_0x157d33=>{const _0x3fbb3e=_0x31dc89;for(const _0x3d982a of _0x20a6f7)this[_0x3fbb3e(0x2d1)][_0x3fbb3e(0x208)](_0x3d982a),this[_0x3fbb3e(0x296)](_0x3d982a),_0x157d33[_0x3fbb3e(0x24f)][_0x3fbb3e(0x2d0)](_0x3d982a),this[_0x3fbb3e(0x22e)][_0x3fbb3e(0x25b)][_0x3fbb3e(0x2d8)](_0x3d982a);});}[_0x4eaf5b(0x296)](_0xc24f93){const _0x162bc7=_0x4eaf5b,_0x1b25ee=this[_0x162bc7(0x26e)](_0xc24f93);_0x1b25ee&&this[_0x162bc7(0x25e)][_0x162bc7(0x208)](_0x1b25ee);}[_0x4eaf5b(0x26e)](_0x46a26d){const _0x1b968c=_0x4eaf5b;let _0x198500,_0x521e2e;switch(_0x46a26d[_0x1b968c(0x280)]){case _0x1b968c(0x233):_0x198500=_0x46a26d[_0x1b968c(0x1e1)][_0x1b968c(0x28e)];break;case _0x1b968c(0x216):if(_0x521e2e=_0x46a26d[_0x1b968c(0x2dd)],!_0x521e2e)return null;_0x198500=_0x521e2e[_0x1b968c(0x28e)];break;case _0x1b968c(0x213):_0x198500=_0x46a26d[_0x1b968c(0x28e)];break;case _0x1b968c(0x20b):_0x198500=_0x46a26d[_0x1b968c(0x238)];break;case _0x1b968c(0x2ad):_0x198500=_0x46a26d[_0x1b968c(0x225)][_0x1b968c(0x28e)];break;default:return null;}return _0x198500[_0x1b968c(0x28d)];}[_0x4eaf5b(0x2a1)](_0xf7aca3){const _0x5c3712=_0x4eaf5b;_0xf7aca3[_0x5c3712(0x220)](_0x3b3a1d=>{const _0x2927da=_0x5c3712,_0x3a5de2=_0x3b3a1d[_0x2927da(0x219)]();_0x3a5de2[_0x2927da(0x266)]=_0x3b3a1d[_0x2927da(0x266)],_0x3a5de2[_0x2927da(0x277)]=!!_0x3b3a1d[_0x2927da(0x277)],_0x3a5de2[_0x2927da(0x21e)]=_0x3b3a1d[_0x2927da(0x21e)],_0x3a5de2[_0x2927da(0x242)]+=this[_0x2927da(0x291)],_0x3b3a1d[_0x2927da(0x20c)]&&this[_0x2927da(0x249)][_0x2927da(0x208)](_0x3a5de2),this[_0x2927da(0x27a)][_0x2927da(0x2d0)](_0x3a5de2);});}[_0x4eaf5b(0x299)](_0x1124e0){const _0x199dd0=_0x4eaf5b,_0xa172bb=this[_0x199dd0(0x22e)][_0x199dd0(0x2c4)][_0x199dd0(0x2df)](_0x199dd0(0x23f)),_0x1d1b13=this[_0x199dd0(0x22e)][_0x199dd0(0x224)];_0x1124e0||(_0x1124e0=_0x3640b5(_0x1d1b13,_0x199dd0(0x2cf))),_0xa172bb[_0x199dd0(0x283)](_0x1124e0,{'title':_0x3640b5(_0x1d1b13,_0x199dd0(0x21a)),'namespace':_0x199dd0(0x24e)}),this[_0x199dd0(0x1f9)]=!0x0,clearTimeout(this[_0x199dd0(0x2b5)]),this[_0x199dd0(0x247)]=[],this[_0x199dd0(0x22e)][_0x199dd0(0x2c4)][_0x199dd0(0x2df)](_0x388a3a)[_0x199dd0(0x289)]();}[_0x4eaf5b(0x29e)](){const _0x240afb=_0x4eaf5b;this[_0x240afb(0x232)]||(this[_0x240afb(0x232)]=this[_0x240afb(0x22e)][_0x240afb(0x2c4)][_0x240afb(0x2df)](_0x59a20a)[_0x240afb(0x208)](_0x3640b5(this[_0x240afb(0x22e)][_0x240afb(0x224)],_0x240afb(0x295))));}[_0x4eaf5b(0x2d4)](){const _0x257168=_0x4eaf5b;this[_0x257168(0x232)]&&(this[_0x257168(0x22e)][_0x257168(0x2c4)][_0x257168(0x2df)](_0x59a20a)[_0x257168(0x25a)](this[_0x257168(0x232)]),this[_0x257168(0x232)]=null);}[_0x4eaf5b(0x260)](_0x387ac3){const _0x1d6312=_0x4eaf5b,_0x5bf246=_0x387ac3[_0x1d6312(0x20a)](_0x51955d=>_0x51955d[_0x1d6312(0x269)]());return this[_0x1d6312(0x274)][_0x1d6312(0x223)](_0x5bf246);}[_0x4eaf5b(0x24b)](_0x41e9d8,_0x813672){const _0x15f4a4=_0x4eaf5b;return this[_0x15f4a4(0x274)][_0x15f4a4(0x2b7)](_0x41e9d8)[_0x15f4a4(0x20a)]((_0x2ad89a,_0x23aa7c)=>{const _0x26baba=_0x15f4a4,_0x1f0dfb=_0x26baba(0x2be)==_0x813672[_0x23aa7c][_0x26baba(0x280)];if(_0x26baba(0x2c3)==_0x2ad89a[_0x26baba(0x217)]){const _0x15eb10=_0x2ad89a[_0x26baba(0x1e1)][_0x26baba(0x28e)];!this[_0x26baba(0x270)][_0x26baba(0x1f2)](_0x15eb10)&&(this[_0x26baba(0x270)][_0x26baba(0x2b9)](_0x26baba(0x22c),_0x15eb10)[_0x26baba(0x2de)]=!0x1);}const _0x220306=_0x5ab9e6[_0x26baba(0x215)](_0x2ad89a,this[_0x26baba(0x270)]);return _0x220306[_0x26baba(0x2a4)]=_0x2ad89a[_0x26baba(0x2a4)],_0x220306[_0x26baba(0x277)]=_0x1f0dfb,_0x220306[_0x26baba(0x266)]=_0x1f0dfb?null:_0x813672[_0x23aa7c][_0x26baba(0x2a7)],_0x220306[_0x26baba(0x20c)]=_0x26baba(0x273)===_0x813672[_0x23aa7c][_0x26baba(0x280)],_0x220306[_0x26baba(0x21e)]=_0x813672[_0x23aa7c][_0x26baba(0x21e)],_0x220306;});}[_0x4eaf5b(0x21b)](){const _0x38f1cf=_0x4eaf5b;this[_0x38f1cf(0x2a0)]=!0x0,this[_0x38f1cf(0x2b8)]()?this[_0x38f1cf(0x22f)]():this[_0x38f1cf(0x2a0)]=!0x1;}[_0x4eaf5b(0x2b8)](){const _0x5c9bdf=_0x4eaf5b,_0x2609f7=this[_0x5c9bdf(0x22e)][_0x5c9bdf(0x2c4)][_0x5c9bdf(0x2df)](_0x5d3e5e)[_0x5c9bdf(0x2ac)][_0x5c9bdf(0x2df)](this[_0x5c9bdf(0x1f0)]);return!this[_0x5c9bdf(0x22e)][_0x5c9bdf(0x248)]&&!!_0x2609f7&&_0x2609f7[_0x5c9bdf(0x201)]>0x1&&this[_0x5c9bdf(0x2a0)];}[_0x4eaf5b(0x2d9)](){const _0x6257cb=_0x4eaf5b;return this[_0x6257cb(0x247)][_0x6257cb(0x201)]>0x0||this[_0x6257cb(0x2b8)]();}}class $ extends Error{}function K(_0x308b47,_0x580063){const _0xf52d2=_0x4eaf5b;for(const _0x22e7d7 of _0x308b47)_0x22e7d7[_0xf52d2(0x242)]=_0x580063++;}class J{[_0x4eaf5b(0x22a)];[_0x4eaf5b(0x282)];constructor(_0x775685){const _0xb8b5d3=_0x4eaf5b;this[_0xb8b5d3(0x22a)]=_0x775685,this[_0xb8b5d3(0x282)]=new WeakMap();}[_0x4eaf5b(0x2d5)](_0x2b5125){const _0x20fba3=_0x4eaf5b;let _0x542086=_0x2b5125[_0x20fba3(0x201)];for(;_0x542086--;){const _0x159aaf=_0x2b5125[_0x542086];if(!this[_0x20fba3(0x22a)][_0x20fba3(0x2b4)](_0x159aaf)){if(!this[_0x20fba3(0x282)][_0x20fba3(0x2b4)](_0x159aaf)){const _0x5c5c9c=_0x5acec4()[_0x20fba3(0x227)](0x1,0x12);this[_0x20fba3(0x282)][_0x20fba3(0x2c6)](_0x159aaf,_0x5c5c9c);}return this[_0x20fba3(0x282)][_0x20fba3(0x2df)](_0x159aaf);}}}[_0x4eaf5b(0x265)](_0x3deb9f,_0x5dc1fc){const _0x51f4eb=_0x4eaf5b;if(!_0x5dc1fc)return;let _0x2f13af=_0x3deb9f[_0x51f4eb(0x201)];for(;_0x2f13af--;){const _0xe4286e=_0x3deb9f[_0x2f13af];this[_0x51f4eb(0x22a)][_0x51f4eb(0x2b4)](_0xe4286e)||this[_0x51f4eb(0x282)][_0x51f4eb(0x2c6)](_0xe4286e,_0x5dc1fc);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x105c(){const _0x1a68eb=['context','delete','addUser','588938xzNcUJ','isPremiumPlugin','10420qKVWej','getUserSessions','unregister','remove','sessions-unregister-not-exist','listenTo','getUserRole','change:state','4iEfKOW','stopListening','sessionId','_handleSessionRemove','allConnectedUsers','get','user','init','mySessionId','plugins','connected','1743015KQQwZE','clear','sessions-register-already-registered','2129764ypsODl','hiddenInPresenceList','values','has','_users','isMe','sessionAdd:','connection','requires','_uniqueUsersCount','channelConnectedUsers','_registeredSessions','forEach','role','_handleSessionAdd','state','orderNumber','2226JXwYxQ','set','150QneJZx','653301IiJEdH','pluginName','channelSessions','getUserBySessionId','assign','fire','3974728BcprUL','size','_createUser','getUser','Sessions','isOfficialPlugin','defineMe','add','register','134993GtsEeb'];_0x105c=function(){return _0x1a68eb;};return _0x105c();}const _0x233e41=_0x314e;(function(_0x134546,_0x31d640){const _0x3caf19=_0x314e,_0x1ae3cf=_0x134546();while(!![]){try{const _0x104457=-parseInt(_0x3caf19(0x163))/0x1+-parseInt(_0x3caf19(0x128))/0x2+parseInt(_0x3caf19(0x13d))/0x3*(parseInt(_0x3caf19(0x132))/0x4)+parseInt(_0x3caf19(0x12a))/0x5*(-parseInt(_0x3caf19(0x151))/0x6)+-parseInt(_0x3caf19(0x140))/0x7+parseInt(_0x3caf19(0x15a))/0x8+-parseInt(_0x3caf19(0x154))/0x9*(-parseInt(_0x3caf19(0x153))/0xa);if(_0x104457===_0x31d640)break;else _0x1ae3cf['push'](_0x1ae3cf['shift']());}catch(_0x16eb9d){_0x1ae3cf['push'](_0x1ae3cf['shift']());}}}(_0x105c,0xa115b));import{ContextPlugin as _0x2e14a6}from'ckeditor5/src/core.js';function _0x314e(_0x191c2d,_0x4b88cd){const _0x105c13=_0x105c();return _0x314e=function(_0x314ecd,_0x6c28f0){_0x314ecd=_0x314ecd-0x128;let _0x572687=_0x105c13[_0x314ecd];return _0x572687;},_0x314e(_0x191c2d,_0x4b88cd);}import{Collection as _0x39fb85,CKEditorError as _0x4ef820}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x599c09}from'./websocketgateway.js';import{Users as _0x1a6ba0}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2e14a6{[_0x233e41(0x156)];[_0x233e41(0x14a)];[_0x233e41(0x136)];[_0x233e41(0x14b)];[_0x233e41(0x149)];[_0x233e41(0x144)];static get[_0x233e41(0x155)](){const _0x559d3c=_0x233e41;return _0x559d3c(0x15e);}static get[_0x233e41(0x15f)](){return!0x0;}static get[_0x233e41(0x129)](){return!0x0;}static get[_0x233e41(0x148)](){return[_0x599c09,_0x1a6ba0];}constructor(_0x234cc4){const _0x37d24c=_0x233e41;super(_0x234cc4),this[_0x37d24c(0x156)]=new Map(),this[_0x37d24c(0x14a)]=new Map(),this[_0x37d24c(0x136)]=new _0x39fb85(),this[_0x37d24c(0x14b)]=new Map(),this[_0x37d24c(0x149)]=0x0,this[_0x37d24c(0x144)]=this[_0x37d24c(0x164)][_0x37d24c(0x13b)][_0x37d24c(0x137)](_0x1a6ba0);}[_0x233e41(0x139)](){const _0x455cdf=_0x233e41,_0xf7ced6=this[_0x455cdf(0x164)][_0x455cdf(0x13b)][_0x455cdf(0x137)](_0x599c09);this[_0x455cdf(0x12f)](_0xf7ced6,_0x455cdf(0x131),(_0x5e92e4,_0x1c4598,_0x5a12a7)=>{const _0x143059=_0x455cdf;if(_0x143059(0x13c)!==_0x5a12a7)this[_0x143059(0x156)][_0x143059(0x14c)](_0x57e6de=>_0x57e6de[_0x143059(0x13e)]()),this[_0x143059(0x14a)][_0x143059(0x14c)](_0x3c15f1=>_0x3c15f1[_0x143059(0x13e)]()),this[_0x143059(0x136)][_0x143059(0x13e)]();else{for(const [_0x557fdb,_0x4481b6]of this[_0x143059(0x14b)])for(const _0x37b7c2 of _0x4481b6)this[_0x143059(0x14e)](_0x557fdb,_0x37b7c2);}}),this[_0x455cdf(0x15c)](_0xf7ced6[_0x455cdf(0x147)]['me'],!0x0);}[_0x233e41(0x162)](_0x1e1f85,_0x5425cf){const _0x555cc3=_0x233e41;if(this[_0x555cc3(0x14b)][_0x555cc3(0x143)](_0x1e1f85))throw new _0x4ef820(_0x555cc3(0x13f),null,{'channelId':_0x1e1f85});this[_0x555cc3(0x14b)][_0x555cc3(0x152)](_0x1e1f85,_0x5425cf),this[_0x555cc3(0x156)][_0x555cc3(0x152)](_0x1e1f85,new _0x39fb85()),this[_0x555cc3(0x14a)][_0x555cc3(0x152)](_0x1e1f85,new _0x39fb85()),this[_0x555cc3(0x12f)](_0x5425cf,_0x555cc3(0x161),(_0x2691f6,_0x124b39)=>this[_0x555cc3(0x14e)](_0x1e1f85,_0x124b39)),this[_0x555cc3(0x12f)](_0x5425cf,_0x555cc3(0x12d),(_0x4994de,_0x37bca8)=>this[_0x555cc3(0x135)](_0x1e1f85,_0x37bca8));for(const _0x5e6be7 of _0x5425cf)this[_0x555cc3(0x14e)](_0x1e1f85,_0x5e6be7);}[_0x233e41(0x12c)](_0x2a3e9d){const _0x4649fe=_0x233e41;if(!this[_0x4649fe(0x14b)][_0x4649fe(0x143)](_0x2a3e9d))throw new _0x4ef820(_0x4649fe(0x12e),null,{'channelId':_0x2a3e9d});const _0x377c1b=this[_0x4649fe(0x14b)][_0x4649fe(0x137)](_0x2a3e9d);this[_0x4649fe(0x133)](_0x377c1b);for(const _0x151e02 of _0x377c1b)_0x4649fe(0x13c)===this[_0x4649fe(0x164)][_0x4649fe(0x13b)][_0x4649fe(0x137)](_0x599c09)[_0x4649fe(0x14f)]&&this[_0x4649fe(0x135)](_0x2a3e9d,_0x151e02);this[_0x4649fe(0x14b)][_0x4649fe(0x165)](_0x2a3e9d),this[_0x4649fe(0x156)][_0x4649fe(0x165)](_0x2a3e9d),this[_0x4649fe(0x14a)][_0x4649fe(0x165)](_0x2a3e9d);}get[_0x233e41(0x13a)](){const _0x5b1300=_0x233e41;return this[_0x5b1300(0x164)][_0x5b1300(0x13b)][_0x5b1300(0x137)](_0x599c09)[_0x5b1300(0x147)][_0x5b1300(0x134)];}[_0x233e41(0x157)](_0x57ed0a){const _0xd97892=_0x233e41;for(const _0x14fbd8 of this[_0xd97892(0x156)][_0xd97892(0x142)]())for(const _0x433731 of _0x14fbd8)if(_0x433731['id']===_0x57ed0a)return _0x433731[_0xd97892(0x138)];}[_0x233e41(0x12b)](_0x1df985,_0x16ccf1){const _0x23d8c2=_0x233e41,_0x490bc8=_0x16ccf1?[this[_0x23d8c2(0x156)][_0x23d8c2(0x137)](_0x16ccf1)]:this[_0x23d8c2(0x156)][_0x23d8c2(0x142)](),_0x5d9d62=new Set();for(const _0x54c99e of _0x490bc8)for(const _0x11da8c of _0x54c99e)_0x11da8c[_0x23d8c2(0x138)]['id']===_0x1df985['id']&&_0x5d9d62[_0x23d8c2(0x161)](_0x11da8c['id']);return _0x5d9d62;}[_0x233e41(0x130)](_0x41ec7f){const _0x3eaec6=_0x233e41;for(const _0x227e16 of this[_0x3eaec6(0x156)][_0x3eaec6(0x142)]())for(const _0x204952 of _0x227e16)if(_0x204952[_0x3eaec6(0x138)]===_0x41ec7f)return _0x204952[_0x3eaec6(0x14d)];}[_0x233e41(0x14e)](_0x1a0182,_0xf46f85){const _0x52bd2b=_0x233e41;if(_0x52bd2b(0x13c)!==this[_0x52bd2b(0x164)][_0x52bd2b(0x13b)][_0x52bd2b(0x137)](_0x599c09)[_0x52bd2b(0x14f)])return;const _0x51ce34=_0xf46f85[_0x52bd2b(0x138)],_0x4127ce=this[_0x52bd2b(0x144)][_0x52bd2b(0x15d)](_0x51ce34['id'])||this[_0x52bd2b(0x15c)](_0x51ce34),_0x16b02b=Object[_0x52bd2b(0x158)]({},_0xf46f85,{'user':_0x4127ce});if(this[_0x52bd2b(0x156)][_0x52bd2b(0x137)](_0x1a0182)[_0x52bd2b(0x161)](_0x16b02b),!_0x51ce34[_0x52bd2b(0x141)]){const _0x2c252a=this[_0x52bd2b(0x14a)][_0x52bd2b(0x137)](_0x1a0182);_0x2c252a[_0x52bd2b(0x143)](_0x4127ce['id'])||_0x2c252a[_0x52bd2b(0x161)](_0x4127ce),this[_0x52bd2b(0x136)][_0x52bd2b(0x143)](_0x4127ce['id'])||_0x51ce34[_0x52bd2b(0x141)]||this[_0x52bd2b(0x136)][_0x52bd2b(0x161)](_0x4127ce,_0x4127ce[_0x52bd2b(0x145)]?0x0:void 0x0);}this[_0x52bd2b(0x159)](_0x52bd2b(0x146)+_0x1a0182,{'channelId':_0x1a0182,'session':_0x16b02b});}[_0x233e41(0x135)](_0x5e1811,_0x23fcca){const _0x2f0e92=_0x233e41;if(_0x2f0e92(0x13c)!==this[_0x2f0e92(0x164)][_0x2f0e92(0x13b)][_0x2f0e92(0x137)](_0x599c09)[_0x2f0e92(0x14f)])return;const _0x3d8274=this[_0x2f0e92(0x14a)][_0x2f0e92(0x137)](_0x5e1811),_0x558763=_0x23fcca[_0x2f0e92(0x138)];_0x558763['id']&&(this[_0x2f0e92(0x156)][_0x2f0e92(0x137)](_0x5e1811)[_0x2f0e92(0x12d)](_0x23fcca['id']),_0x3d8274[_0x2f0e92(0x143)](_0x558763['id'])&&!this[_0x2f0e92(0x12b)](_0x558763,_0x5e1811)[_0x2f0e92(0x15b)]&&_0x3d8274[_0x2f0e92(0x12d)](_0x558763['id']),this[_0x2f0e92(0x136)][_0x2f0e92(0x137)](_0x558763['id'])&&!this[_0x2f0e92(0x12b)](_0x558763)[_0x2f0e92(0x15b)]&&this[_0x2f0e92(0x136)][_0x2f0e92(0x12d)](_0x558763['id']));}[_0x233e41(0x15c)](_0x33383e,_0x45a3b3){const _0x25b1db=_0x233e41,_0x3b5025=this[_0x25b1db(0x144)][_0x25b1db(0x166)](_0x33383e);return _0x45a3b3&&this[_0x25b1db(0x144)][_0x25b1db(0x160)](_0x33383e['id']),_0x3b5025[_0x25b1db(0x150)]=this[_0x25b1db(0x149)]++,_0x3b5025;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1ff3(_0x815ab9,_0x3b04cb){const _0x2fc13d=_0x2fc1();return _0x1ff3=function(_0x1ff335,_0x4d4672){_0x1ff335=_0x1ff335-0x1ab;let _0x4e49c2=_0x2fc13d[_0x1ff335];return _0x4e49c2;},_0x1ff3(_0x815ab9,_0x3b04cb);}const _0x3e3438=_0x1ff3;(function(_0x4eb75e,_0x2c1267){const _0x146da0=_0x1ff3,_0x2ff586=_0x4eb75e();while(!![]){try{const _0x5302ae=-parseInt(_0x146da0(0x211))/0x1*(parseInt(_0x146da0(0x1f5))/0x2)+parseInt(_0x146da0(0x1c4))/0x3+-parseInt(_0x146da0(0x20e))/0x4*(-parseInt(_0x146da0(0x1c7))/0x5)+parseInt(_0x146da0(0x235))/0x6*(parseInt(_0x146da0(0x1ad))/0x7)+-parseInt(_0x146da0(0x1bd))/0x8+-parseInt(_0x146da0(0x1d9))/0x9+-parseInt(_0x146da0(0x1d3))/0xa;if(_0x5302ae===_0x2c1267)break;else _0x2ff586['push'](_0x2ff586['shift']());}catch(_0x4c84ef){_0x2ff586['push'](_0x2ff586['shift']());}}}(_0x2fc1,0x8243d));import{Plugin as _0x3d7f7a}from'ckeditor5/src/core.js';import{global as _0x1c9274,DomEmitterMixin as _0x22e807}from'ckeditor5/src/utils.js';import{Sessions as _0x2ae2f7}from'./sessions.js';import{ModelLiveRange as _0xaa9b84}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x2fc1(){const _0x3ba305=['applyOperation','deletionPosition','root','orderNumber','checkChild','getAttribute','user:','hasDomSelection','init','outerHTML','listenTo','enqueueChange','selection','element','rootName','conversion','change','size','model','isInline','plugins','isDocumentOperation','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markers','batch','toDomElement','nodeAfter','color','6mhdTsr','hasContent','update:user:range','541653OKlblJ','oldRange','getSelectionClass','commands','false','end','getStart','afterInit','requires','has','toRange','UserMarkers','name','user:range','detach','editingDowncast','3006160moWvGQ','data-session-id','setCustomProperty','mouseenter','$text','getFirstRange','$graveyard','2281653zoeBHh','getNearestSelectionRange','schema','1800340ZcSiYy','render','createRange','tableCell','isLimit','add','setAttribute','innerHTML','ck-user__selection','createElement','isPremiumPlugin','markerRange','812120oKtDlY','remove','user:position:','user:position','set','isSimilar','1429425HKXZLh','markerToHighlight','contenteditable','_createdBatches','keydown','reconvertMarker','getCustomProperty','pluginName','markerNameToElements','isObject','classList','start','fromRange','createUIElement','undo','removeClass','_domEmitter','spellcheck','stopListening','ck-user__marker_hovered','mapper','getPositions','marker','editing','getContainedElement','get','change:range','delete','164SQEyjZ','document','view','type','split','updateMarker','editor','highest','isCollapsed','newRange','markerName','for','getMarkerClass','isOfficialPlugin','parent','createUserMarkerOperations','ck-user__marker\x20','getRange','user:range:','addEventListener','removeMarker','addMarker','Escape','startsWith','destroy','4IHDnUa','mouseleave','markerToElement','593vbOWVA','textContent','userPositionMarker','mySessionId','span','getUserBySessionId','clear','ck-user__marker-tooltip'];_0x2fc1=function(){return _0x3ba305;};return _0x2fc1();}export class UserMarkers extends _0x3d7f7a{[_0x3e3438(0x1e9)]=new(_0x22e807())();static get[_0x3e3438(0x1b5)](){return[_0x2ae2f7];}static get[_0x3e3438(0x1e0)](){const _0x1c046b=_0x3e3438;return _0x1c046b(0x1b8);}static get[_0x3e3438(0x202)](){return!0x0;}static get[_0x3e3438(0x1d1)](){return!0x0;}[_0x3e3438(0x221)](){const _0xc66dbf=_0x3e3438,_0x4d1d4f=this[_0xc66dbf(0x1fb)],_0x1cd637=_0x4d1d4f[_0xc66dbf(0x22d)][_0xc66dbf(0x1f2)](_0x2ae2f7);_0x4d1d4f[_0xc66dbf(0x228)][_0xc66dbf(0x200)](_0xc66dbf(0x1bc))[_0xc66dbf(0x210)]({'model':_0xc66dbf(0x1d6),'view':(_0xe448d3,{writer:_0xe29a69})=>function(_0x29152c,_0x2bd2f5,_0x52ee82,_0x32610a){const _0x4c1d33=_0xc66dbf,_0x8c7e7f=_0x29152c[_0x4c1d33(0x1ff)][_0x4c1d33(0x1f9)](':')[0x2],_0x3faf9b=_0x52ee82[_0x4c1d33(0x216)](_0x8c7e7f);if(!_0x3faf9b||_0x8c7e7f===_0x52ee82[_0x4c1d33(0x214)])return;if(!_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x1c6)][_0x4c1d33(0x21d)](_0x29152c[_0x4c1d33(0x1d2)][_0x4c1d33(0x1e4)],_0x4c1d33(0x1c1)))return;const _0x67950={'class':_0x4c1d33(0x205)+_0x3faf9b[_0x4c1d33(0x234)][_0x4c1d33(0x201)](),'data-name':_0x3faf9b[_0x4c1d33(0x1b9)],'data-session-id':_0x8c7e7f},_0x4f0c09=_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x230)][_0x4c1d33(0x1f2)](_0x29152c[_0x4c1d33(0x1ff)]),_0x1ef265=_0x4f0c09[_0x4c1d33(0x1b3)](),_0x3e5dec=_0x1ef265[_0x4c1d33(0x233)],_0x3a9707=_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x1c6)];if(_0x3e5dec&&_0x3a9707[_0x4c1d33(0x1e2)](_0x3e5dec)&&_0x3a9707[_0x4c1d33(0x22c)](_0x3e5dec)&&!_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x230)][_0x4c1d33(0x1f2)](_0x4c1d33(0x207)+_0x8c7e7f)[_0x4c1d33(0x206)]()[_0x4c1d33(0x1fd)])return;const _0x110977=_0x1ef265[_0x4c1d33(0x203)];return _0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x1c6)][_0x4c1d33(0x1cb)](_0x110977)&&!_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x1ab)](_0x110977)&&(_0x67950[_0x4c1d33(0x1db)]=!0x1),function(_0x45a1e8,_0x40a6af,_0x211b8b){const _0xd088ae=_0x4c1d33,_0xeb2325=_0x45a1e8[_0xd088ae(0x1e6)](_0xd088ae(0x215),_0x40a6af);return _0x45a1e8[_0xd088ae(0x1bf)](_0xd088ae(0x213),!0x0,_0xeb2325),_0xeb2325[_0xd088ae(0x1c8)]=function(_0x10142d){const _0x39a0b4=_0xd088ae,_0x19fffa=this[_0x39a0b4(0x232)](_0x10142d),_0x5c4d28=document[_0x39a0b4(0x1d0)](_0x39a0b4(0x215));return _0x5c4d28[_0x39a0b4(0x1e3)][_0x39a0b4(0x1cc)](_0x39a0b4(0x218)),_0x5c4d28[_0x39a0b4(0x1cd)](_0x39a0b4(0x1db),_0x39a0b4(0x1b1)),_0x5c4d28[_0x39a0b4(0x1cd)](_0x39a0b4(0x1ea),_0x39a0b4(0x1b1)),_0x5c4d28[_0x39a0b4(0x212)]=_0x211b8b[_0x39a0b4(0x1b9)],_0x19fffa[_0x39a0b4(0x1ce)]=_0x39a0b4(0x22f)+_0x5c4d28[_0x39a0b4(0x222)]+'',_0x19fffa[_0x39a0b4(0x208)](_0x39a0b4(0x1c0),()=>{const _0x454665=_0x39a0b4;_0x19fffa[_0x454665(0x1e3)][_0x454665(0x1cc)](_0x454665(0x1ec));}),_0x19fffa[_0x39a0b4(0x208)](_0x39a0b4(0x20f),()=>{const _0x46edf7=_0x39a0b4;_0x19fffa[_0x46edf7(0x1e3)][_0x46edf7(0x1d4)](_0x46edf7(0x1ec));}),_0x19fffa;},_0xeb2325[_0xd088ae(0x1d8)]=function(_0x51c7c5){const _0x262df6=_0xd088ae;return!(!this[_0x262df6(0x1df)](_0x262df6(0x213))||!_0x51c7c5[_0x262df6(0x1df)](_0x262df6(0x213))||this[_0x262df6(0x21e)](_0x262df6(0x1be))!=_0x51c7c5[_0x262df6(0x21e)](_0x262df6(0x1be)));},_0xeb2325;}(_0x2bd2f5,_0x67950,_0x3faf9b);}(_0xe448d3,_0xe29a69,_0x1cd637,_0x4d1d4f)}),_0x4d1d4f[_0xc66dbf(0x228)][_0xc66dbf(0x200)](_0xc66dbf(0x1bc))[_0xc66dbf(0x1da)]({'model':_0xc66dbf(0x1ba),'view':_0x53b486=>function(_0x438064,_0x3ab130){const _0x4ee02e=_0xc66dbf,_0x4c6240=_0x438064[_0x4ee02e(0x1ff)][_0x4ee02e(0x1f9)](':')[0x2];if(_0x4c6240===_0x3ab130[_0x4ee02e(0x214)])return null;const _0x65b4ff=_0x3ab130[_0x4ee02e(0x216)](_0x4c6240);if(!_0x65b4ff)return{'id':_0x4c6240,'classes':[]};return{'id':_0x4c6240,'classes':[_0x4ee02e(0x1cf),_0x65b4ff[_0x4ee02e(0x234)][_0x4ee02e(0x1af)]()],'attributes':{'data-session-id':_0x4c6240},'priority':0x7d0+_0x65b4ff[_0x4ee02e(0x21c)]};}(_0x53b486,_0x1cd637)}),function(_0x31e216){const _0x121d6b=_0xc66dbf,_0x152ea6=_0x31e216[_0x121d6b(0x22b)],_0x30d9dd=new Map(),_0x2babc6=_0x31e216[_0x121d6b(0x22d)][_0x121d6b(0x1f2)](_0x2ae2f7);_0x152ea6[_0x121d6b(0x230)]['on'](_0x121d6b(0x1ac),(_0x275685,_0x245221,_0x115170,_0x59d496)=>{const _0x402bde=_0x121d6b;if(!_0x59d496&&_0x30d9dd[_0x402bde(0x1f2)](_0x245221[_0x402bde(0x1b9)]))return _0x30d9dd[_0x402bde(0x1f2)](_0x245221[_0x402bde(0x1b9)])[_0x402bde(0x1bb)](),void _0x30d9dd[_0x402bde(0x1f4)](_0x245221[_0x402bde(0x1b9)]);const _0x56b855=_0x245221[_0x402bde(0x1b9)][_0x402bde(0x1f9)](':')[0x2];if(_0x56b855===_0x2babc6[_0x402bde(0x214)])return;const _0x394b21=_0x402bde(0x1d5)+_0x56b855;_0x152ea6[_0x402bde(0x230)][_0x402bde(0x1b6)](_0x394b21)&&_0x31e216[_0x402bde(0x1f0)][_0x402bde(0x1de)](_0x394b21),_0x245221['on'](_0x402bde(0x1f3),(_0x38167d,_0x13a4f0,_0xf57b5a)=>{const _0x57c3a5=_0x402bde;if(_0x57c3a5(0x1c3)!=_0x13a4f0[_0x57c3a5(0x21b)][_0x57c3a5(0x227)]&&_0x57c3a5(0x1c3)==_0x245221[_0x57c3a5(0x206)]()[_0x57c3a5(0x21b)][_0x57c3a5(0x227)]&&!_0x30d9dd[_0x57c3a5(0x1b6)](_0x245221[_0x57c3a5(0x1b9)])){const _0x470c39=_0x152ea6[_0x57c3a5(0x1c6)][_0x57c3a5(0x1c5)](_0xf57b5a[_0x57c3a5(0x21a)]);if(_0x470c39){const _0x3a5340=_0xaa9b84[_0x57c3a5(0x1e5)](_0x470c39);_0x30d9dd[_0x57c3a5(0x1d7)](_0x245221[_0x57c3a5(0x1b9)],_0x3a5340),_0x3a5340['on'](_0x57c3a5(0x1f3),(_0x51bc70,_0x4457f7,_0xf7acd7)=>{const _0x5ca675=_0x57c3a5;if(_0x5ca675(0x1c3)==_0x3a5340[_0x5ca675(0x21b)][_0x5ca675(0x227)]){const _0x281912=_0x152ea6[_0x5ca675(0x1c6)][_0x5ca675(0x1c5)](_0xf7acd7[_0x5ca675(0x21a)]);_0x281912?(_0x3a5340[_0x5ca675(0x1e4)]=_0x281912[_0x5ca675(0x1e4)],_0x3a5340[_0x5ca675(0x1b2)]=_0x281912[_0x5ca675(0x1b2)]):(_0x30d9dd[_0x5ca675(0x1f4)](_0x245221[_0x5ca675(0x1b9)]),_0x3a5340[_0x5ca675(0x1bb)]());}});}}});}),_0x152ea6[_0x121d6b(0x1f6)]['on'](_0x121d6b(0x229),()=>{const _0x6c57c9=_0x121d6b;_0x30d9dd[_0x6c57c9(0x22a)]>0x0&&_0x152ea6[_0x6c57c9(0x224)]({'isUndoable':!0x1},_0x43111f=>{const _0x25754b=_0x6c57c9;for(const [_0x4128e5,_0x2ea2b4]of _0x30d9dd)_0x25754b(0x1c3)==_0x152ea6[_0x25754b(0x230)][_0x25754b(0x1f2)](_0x4128e5)[_0x25754b(0x206)]()[_0x25754b(0x21b)][_0x25754b(0x227)]&&(X(_0x4128e5[_0x25754b(0x1f9)](':')[0x2],_0x2ea2b4[_0x25754b(0x1b7)](),_0x152ea6,_0x43111f),_0x2ea2b4[_0x25754b(0x1bb)]());_0x30d9dd[_0x25754b(0x217)]();});});}(_0x4d1d4f),this[_0xc66dbf(0x1e9)][_0xc66dbf(0x223)](_0x1c9274[_0xc66dbf(0x1f6)],_0xc66dbf(0x1dd),(_0x51330a,{key:_0x4d535f})=>{const _0x77354=_0xc66dbf;_0x77354(0x20b)===_0x4d535f&&function(_0x4cae68){const _0x2dcf89=_0x77354;_0x4cae68[_0x2dcf89(0x1f0)][_0x2dcf89(0x1f7)][_0x2dcf89(0x229)](_0x482c26=>{const _0x44f5a6=_0x2dcf89;for(const _0x50fec8 of _0x4cae68[_0x44f5a6(0x22b)][_0x44f5a6(0x230)]){if(!_0x50fec8[_0x44f5a6(0x1b9)][_0x44f5a6(0x20c)](_0x44f5a6(0x1d6)))continue;const _0x5e7006=_0x4cae68[_0x44f5a6(0x1f0)][_0x44f5a6(0x1ed)][_0x44f5a6(0x1e1)](_0x50fec8[_0x44f5a6(0x1b9)]);if(_0x5e7006){for(const _0x1d903f of _0x5e7006)_0x482c26[_0x44f5a6(0x1e8)](_0x44f5a6(0x1ec),_0x1d903f);}}});}(_0x4d1d4f);},{'useCapture':!0x0});}[_0x3e3438(0x1b4)](){const _0x99ad5c=_0x3e3438,_0x4cdb17=this[_0x99ad5c(0x1fb)],_0x1e950d=_0x4cdb17[_0x99ad5c(0x1b0)][_0x99ad5c(0x1f2)](_0x99ad5c(0x1e7));_0x1e950d&&_0x4cdb17[_0x99ad5c(0x22b)]['on'](_0x99ad5c(0x219),(_0x5b6afc,_0x2ce169)=>{const _0x29b901=_0x99ad5c,_0x3d8f13=_0x2ce169[0x0];if(!_0x3d8f13[_0x29b901(0x22e)])return;if(_0x29b901(0x1ef)!=_0x3d8f13[_0x29b901(0x1f8)]||!_0x3d8f13[_0x29b901(0x1b9)][_0x29b901(0x20c)](_0x29b901(0x21f)))return;const _0x574170=_0x3d8f13[_0x29b901(0x231)];_0x1e950d[_0x29b901(0x1dc)][_0x29b901(0x1b6)](_0x574170)&&(_0x3d8f13[_0x29b901(0x1fe)]=_0x3d8f13[_0x29b901(0x1ae)]?_0x4cdb17[_0x29b901(0x22b)][_0x29b901(0x1c9)](_0x3d8f13[_0x29b901(0x1ae)][_0x29b901(0x1e4)],_0x3d8f13[_0x29b901(0x1ae)][_0x29b901(0x1b2)]):null);},{'priority':_0x99ad5c(0x1fc)});}[_0x3e3438(0x20d)](){const _0x5a2bf0=_0x3e3438;return this[_0x5a2bf0(0x1e9)][_0x5a2bf0(0x1eb)](),super[_0x5a2bf0(0x20d)]();}[_0x3e3438(0x204)](){const _0x4d54d1=_0x3e3438,_0x20a3a3=this[_0x4d54d1(0x1fb)],_0x4aac6b=_0x20a3a3[_0x4d54d1(0x22b)][_0x4d54d1(0x1f6)],_0x265340=_0x20a3a3[_0x4d54d1(0x22d)][_0x4d54d1(0x1f2)](_0x2ae2f7);_0x20a3a3[_0x4d54d1(0x22b)][_0x4d54d1(0x224)]({'isUndoable':!0x1},_0x2b43aa=>{const _0x3f82ee=_0x4d54d1,_0x5293d4=_0x3f82ee(0x207)+_0x265340[_0x3f82ee(0x214)],_0x133177=_0x3f82ee(0x1d5)+_0x265340[_0x3f82ee(0x214)],_0xf18218=_0x20a3a3[_0x3f82ee(0x22b)][_0x3f82ee(0x230)][_0x3f82ee(0x1b6)](_0x5293d4);_0x20a3a3[_0x3f82ee(0x1f0)][_0x3f82ee(0x1f7)][_0x3f82ee(0x220)]?X(_0x265340[_0x3f82ee(0x214)],_0x4aac6b[_0x3f82ee(0x225)][_0x3f82ee(0x1c2)](),_0x20a3a3[_0x3f82ee(0x22b)],_0x2b43aa):_0xf18218&&(_0x2b43aa[_0x3f82ee(0x209)](_0x5293d4),_0x2b43aa[_0x3f82ee(0x209)](_0x133177));});}}function X(_0x3bab5e,_0x5f0f49,_0x2a4fe8,_0x1e57cb){const _0x2a18e4=_0x3e3438,_0x9636a5=_0x2a18e4(0x207)+_0x3bab5e,_0x409df0=_0x2a18e4(0x1d5)+_0x3bab5e,_0x1ff7ce=_0x5f0f49[_0x2a18e4(0x1f1)]();let _0x185c6a=_0x5f0f49[_0x2a18e4(0x1e4)];if(_0x1ff7ce&&_0x1ff7ce['is'](_0x2a18e4(0x226),_0x2a18e4(0x1ca))){const _0x294522=function(_0x24ca7e,_0x347300){const _0x1e2ee7=_0x2a18e4;for(const _0x5deab4 of _0x24ca7e[_0x1e2ee7(0x1ee)]())if(_0x347300[_0x1e2ee7(0x1c6)][_0x1e2ee7(0x21d)](_0x5deab4,_0x1e2ee7(0x1c1)))return _0x5deab4;}(_0x5f0f49,_0x2a4fe8);_0x294522&&(_0x185c6a=_0x294522,_0x5f0f49=_0x1e57cb[_0x2a18e4(0x1c9)](_0x185c6a));}const _0x220bf5=_0x1e57cb[_0x2a18e4(0x1c9)](_0x185c6a);_0x2a4fe8[_0x2a18e4(0x230)][_0x2a18e4(0x1b6)](_0x9636a5)?(_0x1e57cb[_0x2a18e4(0x1fa)](_0x9636a5,{'range':_0x5f0f49}),_0x1e57cb[_0x2a18e4(0x1fa)](_0x409df0,{'range':_0x220bf5})):(_0x1e57cb[_0x2a18e4(0x20a)](_0x9636a5,{'range':_0x5f0f49,'usingOperation':!0x0}),_0x1e57cb[_0x2a18e4(0x20a)](_0x409df0,{'range':_0x220bf5,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x49b6dc=_0x77f3;(function(_0x3d0e7,_0x32c641){const _0x1ed566=_0x77f3,_0x4f044b=_0x3d0e7();while(!![]){try{const _0x3e49fb=parseInt(_0x1ed566(0x1d5))/0x1+parseInt(_0x1ed566(0x18d))/0x2+-parseInt(_0x1ed566(0x168))/0x3+parseInt(_0x1ed566(0x178))/0x4+-parseInt(_0x1ed566(0x1cf))/0x5+-parseInt(_0x1ed566(0x1c1))/0x6+-parseInt(_0x1ed566(0x1ca))/0x7*(-parseInt(_0x1ed566(0x1d8))/0x8);if(_0x3e49fb===_0x32c641)break;else _0x4f044b['push'](_0x4f044b['shift']());}catch(_0x160502){_0x4f044b['push'](_0x4f044b['shift']());}}}(_0x4f1a,0x3d59c));import{Plugin as _0x1cbfd3}from'ckeditor5/src/core.js';function _0x77f3(_0x13f589,_0x494689){const _0x4f1acb=_0x4f1a();return _0x77f3=function(_0x77f3b6,_0x4dd39c){_0x77f3b6=_0x77f3b6-0x154;let _0x2461de=_0x4f1acb[_0x77f3b6];return _0x2461de;},_0x77f3(_0x13f589,_0x494689);}import{global as _0x159637,DomEmitterMixin as _0x4556c1}from'ckeditor5/src/utils.js';import{Sessions as _0x398bb3}from'./sessions.js';import{ModelLiveRange as _0x8cb815}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x1cbfd3{[_0x49b6dc(0x185)]=new(_0x4556c1())();static get[_0x49b6dc(0x17f)](){return[_0x398bb3];}static get[_0x49b6dc(0x1c0)](){const _0x3b279f=_0x49b6dc;return _0x3b279f(0x1bf);}static get[_0x49b6dc(0x17b)](){return!0x0;}static get[_0x49b6dc(0x198)](){return!0x0;}[_0x49b6dc(0x190)](){const _0x5e2c06=_0x49b6dc,_0xcac8e1=this[_0x5e2c06(0x1a7)],_0x11c706=_0xcac8e1[_0x5e2c06(0x1c3)][_0x5e2c06(0x1bd)](_0x398bb3);_0xcac8e1[_0x5e2c06(0x19e)][_0x5e2c06(0x1b9)](_0x5e2c06(0x1b6))[_0x5e2c06(0x158)]({'model':_0x5e2c06(0x1ab),'view':(_0x2c758f,{writer:_0x409206})=>function(_0x1b9d2f,_0x1d2eb1,_0x37c260,_0x334a15){const _0x5dfab6=_0x5e2c06,_0x221cef=_0x1b9d2f[_0x5dfab6(0x1c6)][_0x5dfab6(0x1d3)](':')[0x2],_0x5c2c29=_0x37c260[_0x5dfab6(0x180)](_0x221cef);if(!_0x5c2c29||_0x221cef===_0x37c260[_0x5dfab6(0x160)])return;if(!_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x173)][_0x5dfab6(0x15e)](_0x1b9d2f[_0x5dfab6(0x16e)][_0x5dfab6(0x1c5)],_0x5dfab6(0x19a)))return;const _0x5449e1={'class':_0x5dfab6(0x1b1)+_0x5c2c29[_0x5dfab6(0x1b0)][_0x5dfab6(0x172)](),'data-name':_0x5c2c29[_0x5dfab6(0x1d1)],'data-session-id':_0x221cef},_0x2459da=_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x195)][_0x5dfab6(0x1bd)](_0x1b9d2f[_0x5dfab6(0x1c6)]),_0x3611e8=_0x2459da[_0x5dfab6(0x1db)](),_0xad6695=_0x3611e8[_0x5dfab6(0x1da)],_0x2f2c94=_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x173)];if(_0xad6695&&_0x2f2c94[_0x5dfab6(0x15a)](_0xad6695)&&_0x2f2c94[_0x5dfab6(0x1ac)](_0xad6695)&&!_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x195)][_0x5dfab6(0x1bd)](_0x5dfab6(0x183)+_0x221cef)[_0x5dfab6(0x197)]()[_0x5dfab6(0x189)])return;const _0x221bd8=_0x3611e8[_0x5dfab6(0x18e)];return _0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x173)][_0x5dfab6(0x186)](_0x221bd8)&&!_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x1cc)](_0x221bd8)&&(_0x5449e1[_0x5dfab6(0x1d7)]=!0x1),function(_0x1ced65,_0x38e0ca,_0xc5fac7){const _0x43c0bd=_0x5dfab6,_0x151ce6=_0x1ced65[_0x43c0bd(0x194)](_0x43c0bd(0x18b),_0x38e0ca);return _0x1ced65[_0x43c0bd(0x154)](_0x43c0bd(0x1d9),!0x0,_0x151ce6),_0x151ce6[_0x43c0bd(0x171)]=function(_0x175fb2){const _0x2e9650=_0x43c0bd,_0x5647b6=this[_0x2e9650(0x156)](_0x175fb2),_0x19e3b6=document[_0x2e9650(0x1b3)](_0x2e9650(0x18b));return _0x19e3b6[_0x2e9650(0x193)][_0x2e9650(0x182)](_0x2e9650(0x15c)),_0x19e3b6[_0x2e9650(0x16c)](_0x2e9650(0x1d7),_0x2e9650(0x1b5)),_0x19e3b6[_0x2e9650(0x16c)](_0x2e9650(0x159),_0x2e9650(0x1b5)),_0x19e3b6[_0x2e9650(0x176)]=_0xc5fac7[_0x2e9650(0x1d1)],_0x5647b6[_0x2e9650(0x15d)]=_0x2e9650(0x1a8)+_0x19e3b6[_0x2e9650(0x1ae)]+'',_0x5647b6[_0x2e9650(0x1c8)](_0x2e9650(0x1c7),()=>{const _0x506c9a=_0x2e9650;_0x5647b6[_0x506c9a(0x193)][_0x506c9a(0x182)](_0x506c9a(0x1d0));}),_0x5647b6[_0x2e9650(0x1c8)](_0x2e9650(0x170),()=>{const _0x424717=_0x2e9650;_0x5647b6[_0x424717(0x193)][_0x424717(0x1be)](_0x424717(0x1d0));}),_0x5647b6;},_0x151ce6[_0x43c0bd(0x19b)]=function(_0x308673){const _0x3e2aca=_0x43c0bd;return!(!this[_0x3e2aca(0x1ba)](_0x3e2aca(0x1d9))||!_0x308673[_0x3e2aca(0x1ba)](_0x3e2aca(0x1d9))||this[_0x3e2aca(0x1a2)](_0x3e2aca(0x17a))!=_0x308673[_0x3e2aca(0x1a2)](_0x3e2aca(0x17a)));},_0x151ce6;}(_0x1d2eb1,_0x5449e1,_0x5c2c29);}(_0x2c758f,_0x409206,_0x11c706,_0xcac8e1)}),_0xcac8e1[_0x5e2c06(0x19e)][_0x5e2c06(0x1b9)](_0x5e2c06(0x1b6))[_0x5e2c06(0x161)]({'model':_0x5e2c06(0x162),'view':_0x3ccdc4=>function(_0x5f3bf3,_0x188c01){const _0x466de4=_0x5e2c06,_0x4daa16=_0x5f3bf3[_0x466de4(0x1c6)][_0x466de4(0x1d3)](':')[0x2];if(_0x4daa16===_0x188c01[_0x466de4(0x160)])return null;const _0x278c77=_0x188c01[_0x466de4(0x180)](_0x4daa16);if(!_0x278c77)return{'id':_0x4daa16,'classes':[]};return{'id':_0x4daa16,'classes':[_0x466de4(0x179),_0x278c77[_0x466de4(0x1b0)][_0x466de4(0x1c2)]()],'attributes':{'data-session-id':_0x4daa16},'priority':0x7d0+_0x278c77[_0x466de4(0x164)]};}(_0x3ccdc4,_0x11c706)}),function(_0x10ef79){const _0x331423=_0x5e2c06,_0xf480a9=_0x10ef79[_0x331423(0x181)],_0x1728e7=new Map(),_0x4f0655=_0x10ef79[_0x331423(0x1c3)][_0x331423(0x1bd)](_0x398bb3);_0xf480a9[_0x331423(0x195)]['on'](_0x331423(0x1d2),(_0x27b9db,_0x1bdd82,_0xfab20a,_0x51e10e)=>{const _0x24b299=_0x331423;if(!_0x51e10e&&_0x1728e7[_0x24b299(0x1bd)](_0x1bdd82[_0x24b299(0x1d1)]))return _0x1728e7[_0x24b299(0x1bd)](_0x1bdd82[_0x24b299(0x1d1)])[_0x24b299(0x15f)](),void _0x1728e7[_0x24b299(0x1c4)](_0x1bdd82[_0x24b299(0x1d1)]);const _0x4048a3=_0x1bdd82[_0x24b299(0x1d1)][_0x24b299(0x1d3)](':')[0x2];if(_0x4048a3===_0x4f0655[_0x24b299(0x160)])return;const _0x2acec6=_0x24b299(0x18c)+_0x4048a3;_0xf480a9[_0x24b299(0x195)][_0x24b299(0x16d)](_0x2acec6)&&_0x10ef79[_0x24b299(0x174)][_0x24b299(0x196)](_0x2acec6),_0x1bdd82['on'](_0x24b299(0x188),(_0x1c5534,_0x459657,_0x161ebc)=>{const _0x307942=_0x24b299;if(_0x307942(0x166)!=_0x459657[_0x307942(0x165)][_0x307942(0x1a3)]&&_0x307942(0x166)==_0x1bdd82[_0x307942(0x197)]()[_0x307942(0x165)][_0x307942(0x1a3)]&&!_0x1728e7[_0x307942(0x16d)](_0x1bdd82[_0x307942(0x1d1)])){const _0x154cb6=_0xf480a9[_0x307942(0x173)][_0x307942(0x175)](_0x161ebc[_0x307942(0x1d4)]);if(_0x154cb6){const _0x41a20d=_0x8cb815[_0x307942(0x19f)](_0x154cb6);_0x1728e7[_0x307942(0x1c9)](_0x1bdd82[_0x307942(0x1d1)],_0x41a20d),_0x41a20d['on'](_0x307942(0x188),(_0x109acb,_0x281270,_0x392b63)=>{const _0x4960a7=_0x307942;if(_0x4960a7(0x166)==_0x41a20d[_0x4960a7(0x165)][_0x4960a7(0x1a3)]){const _0x21515f=_0xf480a9[_0x4960a7(0x173)][_0x4960a7(0x175)](_0x392b63[_0x4960a7(0x1d4)]);_0x21515f?(_0x41a20d[_0x4960a7(0x1c5)]=_0x21515f[_0x4960a7(0x1c5)],_0x41a20d[_0x4960a7(0x192)]=_0x21515f[_0x4960a7(0x192)]):(_0x1728e7[_0x4960a7(0x1c4)](_0x1bdd82[_0x4960a7(0x1d1)]),_0x41a20d[_0x4960a7(0x15f)]());}});}}});}),_0xf480a9[_0x331423(0x1cb)]['on'](_0x331423(0x15b),()=>{const _0x413d15=_0x331423;_0x1728e7[_0x413d15(0x1aa)]>0x0&&_0xf480a9[_0x413d15(0x1a1)]({'isUndoable':!0x1},_0x260333=>{const _0x424a8d=_0x413d15;for(const [_0x16a8de,_0x3d7675]of _0x1728e7)_0x424a8d(0x166)==_0xf480a9[_0x424a8d(0x195)][_0x424a8d(0x1bd)](_0x16a8de)[_0x424a8d(0x197)]()[_0x424a8d(0x165)][_0x424a8d(0x1a3)]&&(Z(_0x16a8de[_0x424a8d(0x1d3)](':')[0x2],_0x3d7675[_0x424a8d(0x1bb)](),_0xf480a9,_0x260333),_0x3d7675[_0x424a8d(0x15f)]());_0x1728e7[_0x424a8d(0x157)]();});});}(_0xcac8e1),this[_0x5e2c06(0x185)][_0x5e2c06(0x17e)](_0x159637[_0x5e2c06(0x1cb)],_0x5e2c06(0x17d),(_0x17cbc1,{key:_0x131707})=>{const _0xb5de2b=_0x5e2c06;_0xb5de2b(0x17c)===_0x131707&&function(_0x15c92a){const _0x591fd7=_0xb5de2b;_0x15c92a[_0x591fd7(0x174)][_0x591fd7(0x16f)][_0x591fd7(0x15b)](_0x369e41=>{const _0x23b588=_0x591fd7;for(const _0x9edd90 of _0x15c92a[_0x23b588(0x181)][_0x23b588(0x195)]){if(!_0x9edd90[_0x23b588(0x1d1)][_0x23b588(0x187)](_0x23b588(0x1ab)))continue;const _0x211412=_0x15c92a[_0x23b588(0x174)][_0x23b588(0x163)][_0x23b588(0x1cd)](_0x9edd90[_0x23b588(0x1d1)]);if(_0x211412){for(const _0x58161e of _0x211412)_0x369e41[_0x23b588(0x1a4)](_0x23b588(0x1d0),_0x58161e);}}});}(_0xcac8e1);},{'useCapture':!0x0});}[_0x49b6dc(0x155)](){const _0x2ded73=_0x49b6dc,_0x47a0e7=this[_0x2ded73(0x1a7)],_0x30e39e=_0x47a0e7[_0x2ded73(0x18a)][_0x2ded73(0x1bd)](_0x2ded73(0x1a9));_0x30e39e&&_0x47a0e7[_0x2ded73(0x181)]['on'](_0x2ded73(0x1af),(_0x38cd75,_0x5f02ea)=>{const _0xdcb136=_0x2ded73,_0x9f7e47=_0x5f02ea[0x0];if(!_0x9f7e47[_0xdcb136(0x169)])return;if(_0xdcb136(0x19d)!=_0x9f7e47[_0xdcb136(0x1b4)]||!_0x9f7e47[_0xdcb136(0x1d1)][_0xdcb136(0x187)](_0xdcb136(0x1d6)))return;const _0x40d6bf=_0x9f7e47[_0xdcb136(0x1dc)];_0x30e39e[_0xdcb136(0x16a)][_0xdcb136(0x16d)](_0x40d6bf)&&(_0x9f7e47[_0xdcb136(0x191)]=_0x9f7e47[_0xdcb136(0x1bc)]?_0x47a0e7[_0xdcb136(0x181)][_0xdcb136(0x177)](_0x9f7e47[_0xdcb136(0x1bc)][_0xdcb136(0x1c5)],_0x9f7e47[_0xdcb136(0x1bc)][_0xdcb136(0x192)]):null);},{'priority':_0x2ded73(0x1b7)});}[_0x49b6dc(0x1a6)](){const _0x62ef47=_0x49b6dc;return this[_0x62ef47(0x185)][_0x62ef47(0x184)](),super[_0x62ef47(0x1a6)]();}[_0x49b6dc(0x1a5)](){const _0xc74f85=_0x49b6dc,_0x4f8f50=this[_0xc74f85(0x1a7)],_0x5476c8=_0x4f8f50[_0xc74f85(0x181)][_0xc74f85(0x1cb)],_0x54c421=_0x4f8f50[_0xc74f85(0x1c3)][_0xc74f85(0x1bd)](_0x398bb3);_0x4f8f50[_0xc74f85(0x181)][_0xc74f85(0x1a1)]({'isUndoable':!0x1},_0x19275f=>{const _0x31261a=_0xc74f85,_0x18ba7a=_0x31261a(0x183)+_0x54c421[_0x31261a(0x160)],_0x21fe81=_0x31261a(0x18c)+_0x54c421[_0x31261a(0x160)],_0x39e626=_0x4f8f50[_0x31261a(0x181)][_0x31261a(0x195)][_0x31261a(0x16d)](_0x18ba7a);_0x4f8f50[_0x31261a(0x174)][_0x31261a(0x16f)][_0x31261a(0x1b8)]?Z(_0x54c421[_0x31261a(0x160)],_0x5476c8[_0x31261a(0x1ad)][_0x31261a(0x1ce)](),_0x4f8f50[_0x31261a(0x181)],_0x19275f):_0x39e626&&(_0x19275f[_0x31261a(0x19c)](_0x18ba7a),_0x19275f[_0x31261a(0x19c)](_0x21fe81));});}}function _0x4f1a(){const _0x529b2f=['undo','size','user:position','isInline','selection','outerHTML','applyOperation','color','ck-user__marker\x20','element','createElement','type','false','editingDowncast','highest','hasDomSelection','for','getCustomProperty','toRange','oldRange','get','remove','UserMarkers','pluginName','1711692QfcvIj','getSelectionClass','plugins','delete','start','markerName','mouseenter','addEventListener','set','3101GPYtzA','document','hasContent','markerNameToElements','getFirstRange','1633515CqBXQJ','ck-user__marker_hovered','name','update:user:range','split','deletionPosition','330065ebIQlr','user:','contenteditable','2728jLwhYQ','userPositionMarker','nodeAfter','getStart','batch','setCustomProperty','afterInit','toDomElement','clear','markerToElement','spellcheck','isObject','change','ck-user__marker-tooltip','innerHTML','checkChild','detach','mySessionId','markerToHighlight','user:range','mapper','orderNumber','root','$graveyard','updateMarker','1204788vopanE','isDocumentOperation','_createdBatches','getPositions','setAttribute','has','markerRange','view','mouseleave','render','getMarkerClass','schema','editing','getNearestSelectionRange','textContent','createRange','1563676rutkFH','ck-user__selection','data-session-id','isOfficialPlugin','Escape','keydown','listenTo','requires','getUserBySessionId','model','add','user:range:','stopListening','_domEmitter','isLimit','startsWith','change:range','isCollapsed','commands','span','user:position:','785652QJCTpK','parent','addMarker','init','newRange','end','classList','createUIElement','markers','reconvertMarker','getRange','isPremiumPlugin','getContainedElement','$text','isSimilar','removeMarker','marker','conversion','fromRange','tableCell','enqueueChange','getAttribute','rootName','removeClass','createUserMarkerOperations','destroy','editor','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'];_0x4f1a=function(){return _0x529b2f;};return _0x4f1a();}function Z(_0x97488e,_0x1ef8a0,_0x2acd13,_0x3b5882){const _0x5ef03c=_0x49b6dc,_0xfa7bf0=_0x5ef03c(0x183)+_0x97488e,_0x24852a=_0x5ef03c(0x18c)+_0x97488e,_0x4317aa=_0x1ef8a0[_0x5ef03c(0x199)]();let _0x1696d8=_0x1ef8a0[_0x5ef03c(0x1c5)];if(_0x4317aa&&_0x4317aa['is'](_0x5ef03c(0x1b2),_0x5ef03c(0x1a0))){const _0x74ac0b=function(_0x48bcc8,_0x2f0d41){const _0x43dd9c=_0x5ef03c;for(const _0x4d858d of _0x48bcc8[_0x43dd9c(0x16b)]())if(_0x2f0d41[_0x43dd9c(0x173)][_0x43dd9c(0x15e)](_0x4d858d,_0x43dd9c(0x19a)))return _0x4d858d;}(_0x1ef8a0,_0x2acd13);_0x74ac0b&&(_0x1696d8=_0x74ac0b,_0x1ef8a0=_0x3b5882[_0x5ef03c(0x177)](_0x1696d8));}const _0x276b8d=_0x3b5882[_0x5ef03c(0x177)](_0x1696d8);_0x2acd13[_0x5ef03c(0x195)][_0x5ef03c(0x16d)](_0xfa7bf0)?(_0x3b5882[_0x5ef03c(0x167)](_0xfa7bf0,{'range':_0x1ef8a0}),_0x3b5882[_0x5ef03c(0x167)](_0x24852a,{'range':_0x276b8d})):(_0x3b5882[_0x5ef03c(0x18f)](_0xfa7bf0,{'range':_0x1ef8a0,'usingOperation':!0x0}),_0x3b5882[_0x5ef03c(0x18f)](_0x24852a,{'range':_0x276b8d,'usingOperation':!0x0}));}
|