@ckeditor/ckeditor5-real-time-collaboration 43.3.1 → 44.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -6
- package/build/real-time-collaboration.js +1 -1
- package/dist/augmentation.d.ts +8 -1
- package/dist/index.js +6 -6
- package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +12 -0
- package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +12 -0
- 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/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 +9 -9
- package/src/augmentation.d.ts +8 -1
- 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 +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +12 -0
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +12 -0
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53d343=_0xf168;(function(_0x177a6e,_0x12e109){const _0x39f841=_0xf168,_0xdc1cd9=_0x177a6e();while(!![]){try{const _0x252fb0=-parseInt(_0x39f841(0x18c))/0x1+-parseInt(_0x39f841(0x182))/0x2*(-parseInt(_0x39f841(0x188))/0x3)+-parseInt(_0x39f841(0x18f))/0x4+-parseInt(_0x39f841(0x184))/0x5+-parseInt(_0x39f841(0x18a))/0x6+-parseInt(_0x39f841(0x186))/0x7*(-parseInt(_0x39f841(0x180))/0x8)+parseInt(_0x39f841(0x18b))/0x9;if(_0x252fb0===_0x12e109)break;else _0xdc1cd9['push'](_0xdc1cd9['shift']());}catch(_0x50fcc0){_0xdc1cd9['push'](_0xdc1cd9['shift']());}}}(_0x3077,0x503bb));function _0x3077(){const _0x533805=['list','change:hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','listenTo','ck-presence-list__list','render','hasPopup','removeAttribute','div','element','items','setTemplate','keystrokes','fire','setAttribute','724792aQrrcK','set','86PHccVc','aria-expanded','93820FVPlGt','createCollection','21WZGAIa','execute','36210zgXfLx','isExpanded','3389382adVBZr','10799694wBWCsk','481391saZeEZ','focus','Connected\x20users\x20list','2388344uPcJzb','bindTemplate'];_0x3077=function(){return _0x533805;};return _0x3077();}import{View as _0x2206eb}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x31265d}from'ckeditor5/src/utils.js';import{getTranslation as _0x31cb8c}from'../../common-translations.js';function _0xf168(_0x3d9d89,_0x2a2bd2){const _0x3077e1=_0x3077();return _0xf168=function(_0xf168d6,_0x5cad9b){_0xf168d6=_0xf168d6-0x171;let _0x33f94=_0x3077e1[_0xf168d6];return _0x33f94;},_0xf168(_0x3d9d89,_0x2a2bd2);}export default class es extends _0x2206eb{constructor(_0x59b4e7){const _0x29d14f=_0xf168;super(_0x59b4e7);const _0x531702=this[_0x29d14f(0x190)];this[_0x29d14f(0x17b)]=this[_0x29d14f(0x185)](),this[_0x29d14f(0x17d)]=new _0x31265d(),this[_0x29d14f(0x181)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x29d14f(0x17c)]({'tag':_0x29d14f(0x179),'attributes':{'aria-haspopup':_0x531702['if'](_0x29d14f(0x177)),'aria-expanded':_0x531702['to'](_0x29d14f(0x189),_0xd43b0a=>this[_0x29d14f(0x177)]&&String(_0xd43b0a)),'aria-label':_0x531702['to'](_0x29d14f(0x177),_0x1e23d4=>_0x31cb8c(_0x59b4e7,_0x1e23d4?_0x29d14f(0x173):_0x29d14f(0x18e))),'role':_0x29d14f(0x171),'tabindex':_0x531702['to'](_0x29d14f(0x177),_0x3a85e2=>!!_0x3a85e2&&0x0),'class':['ck',_0x29d14f(0x175)]},'children':this[_0x29d14f(0x17b)],'on':{'click':_0x531702['to'](()=>this[_0x29d14f(0x17e)](_0x29d14f(0x187)))}}),this['on'](_0x29d14f(0x172),(_0x1c31ca,_0x2298da,_0x34c2db)=>{const _0x101105=_0x29d14f;this[_0x101105(0x17a)]&&(_0x34c2db?this[_0x101105(0x17a)][_0x101105(0x17f)](_0x101105(0x183),String(this[_0x101105(0x189)])):this[_0x101105(0x17a)][_0x101105(0x178)](_0x101105(0x183)));});}[_0x53d343(0x18d)](){const _0xa5f29e=_0x53d343;this[_0xa5f29e(0x17a)][_0xa5f29e(0x18d)]();}[_0x53d343(0x176)](){const _0x3446ed=_0x53d343;super[_0x3446ed(0x176)](),this[_0x3446ed(0x17d)][_0x3446ed(0x174)](this[_0x3446ed(0x17a)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xf4e7(){const _0x28d49b=['items','ck-reset','isCollapsed','8561LkEmkE','hasPopup','tooltipPosition','locale','4VzCjyc','2934NHKOAf','11309664LYyyGz','set','5890185uEBgmL','740698MIcSqs','first','div','8900530FJvowE','change','bindTemplate','listenTo','181749KFZIxv','ck-presence-list','ck-rounded-corners','1216111zWGGgW','setTemplate','ck-presence-list--collapsed','9nsFBHs','inlineListView','counterView','bind'];_0xf4e7=function(){return _0x28d49b;};return _0xf4e7();}(function(_0x2267a2,_0x5405cd){const _0xfd1b4b=_0x2593,_0x14c7d3=_0x2267a2();while(!![]){try{const _0x1b8f6d=-parseInt(_0xfd1b4b(0x1c1))/0x1+parseInt(_0xfd1b4b(0x1d4))/0x2+parseInt(_0xfd1b4b(0x1be))/0x3*(-parseInt(_0xfd1b4b(0x1cf))/0x4)+-parseInt(_0xfd1b4b(0x1d3))/0x5+parseInt(_0xfd1b4b(0x1d0))/0x6*(parseInt(_0xfd1b4b(0x1cb))/0x7)+parseInt(_0xfd1b4b(0x1d1))/0x8+parseInt(_0xfd1b4b(0x1c4))/0x9*(parseInt(_0xfd1b4b(0x1d7))/0xa);if(_0x1b8f6d===_0x5405cd)break;else _0x14c7d3['push'](_0x14c7d3['shift']());}catch(_0x14f752){_0x14c7d3['push'](_0x14c7d3['shift']());}}}(_0xf4e7,0xc7912));import{View as _0x564d04}from'ckeditor5/src/ui.js';import _0x2e0fff from'./presencecounterview.js';import _0x504831 from'./presenceinlinelistview.js';function _0x2593(_0x39afcf,_0x298e52){const _0xf4e7b3=_0xf4e7();return _0x2593=function(_0x2593d3,_0x28d31c){_0x2593d3=_0x2593d3-0x1bb;let _0x57ad3a=_0xf4e7b3[_0x2593d3];return _0x57ad3a;},_0x2593(_0x39afcf,_0x298e52);}import'../../../theme/presencelist.css';export default class et extends _0x564d04{constructor(_0x1c9c66){const _0x133bb4=_0x2593;super(_0x1c9c66);const _0x3f898a=this[_0x133bb4(0x1bc)];this[_0x133bb4(0x1d2)](_0x133bb4(0x1ca),!0x0),this[_0x133bb4(0x1c6)]=new _0x2e0fff(this[_0x133bb4(0x1ce)]),this[_0x133bb4(0x1c5)]=new _0x504831(_0x1c9c66),this[_0x133bb4(0x1c5)][_0x133bb4(0x1c7)](_0x133bb4(0x1cc))['to'](this,_0x133bb4(0x1ca)),this[_0x133bb4(0x1bd)](this[_0x133bb4(0x1c5)][_0x133bb4(0x1c8)],_0x133bb4(0x1bb),()=>{const _0x492b35=_0x133bb4;for(const _0x2cd02f of this[_0x492b35(0x1c5)][_0x492b35(0x1c8)])_0x2cd02f[_0x492b35(0x1cd)]='s';this[_0x492b35(0x1c5)][_0x492b35(0x1c8)][_0x492b35(0x1d5)]&&(this[_0x492b35(0x1c5)][_0x492b35(0x1c8)][_0x492b35(0x1d5)][_0x492b35(0x1cd)]='se');}),this[_0x133bb4(0x1c2)]({'tag':_0x133bb4(0x1d6),'attributes':{'class':['ck',_0x133bb4(0x1bf),_0x133bb4(0x1c9),_0x133bb4(0x1c0),_0x3f898a['if'](_0x133bb4(0x1ca),_0x133bb4(0x1c3))]},'children':[this[_0x133bb4(0x1c6)],this[_0x133bb4(0x1c5)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x32f6fc=_0x3097;(function(_0x189a01,_0x5bdfa3){var _0x1416dd=_0x3097,_0x1b8844=_0x189a01();while(!![]){try{var _0x4133b4=-parseInt(_0x1416dd(0x1aa))/0x1*(-parseInt(_0x1416dd(0x19e))/0x2)+parseInt(_0x1416dd(0x1af))/0x3*(-parseInt(_0x1416dd(0x1b0))/0x4)+parseInt(_0x1416dd(0x1a8))/0x5*(parseInt(_0x1416dd(0x1ae))/0x6)+-parseInt(_0x1416dd(0x19f))/0x7*(-parseInt(_0x1416dd(0x1ad))/0x8)+parseInt(_0x1416dd(0x1a7))/0x9*(-parseInt(_0x1416dd(0x1a4))/0xa)+-parseInt(_0x1416dd(0x1a0))/0xb*(parseInt(_0x1416dd(0x1a1))/0xc)+parseInt(_0x1416dd(0x1a3))/0xd*(parseInt(_0x1416dd(0x1a5))/0xe);if(_0x4133b4===_0x5bdfa3)break;else _0x1b8844['push'](_0x1b8844['shift']());}catch(_0x2406b7){_0x1b8844['push'](_0x1b8844['shift']());}}}(_0x4c81,0x19b6b));import{ContextPlugin as _0x4ed8bc}from'ckeditor5/src/core.js';function _0x3097(_0x59320b,_0x32e3c6){var _0x4c8148=_0x4c81();return _0x3097=function(_0x309775,_0x10d51b){_0x309775=_0x309775-0x19e;var _0x2d9ec2=_0x4c8148[_0x309775];return _0x2d9ec2;},_0x3097(_0x59320b,_0x32e3c6);}import _0x599ef9 from'./realtimecollaborativeediting/sessions.js';function _0x4c81(){var _0x3e1775=['458075zpePkx','pluginName','1Kdwghj','isOfficialPlugin','requires','658232oSvfba','6nqmYuV','24540ZAYPGf','92rHyXgT','192562XbslLR','7IwLhoj','305998sPkJAN','72hPeTPq','PresenceList','4826068fRRqmr','4960VWpbze','14jxUDAh','isPremiumPlugin','3285yfzNxr'];_0x4c81=function(){return _0x3e1775;};return _0x4c81();}import _0x230ff7 from'./presencelist/presencelistui.js';export default class s extends _0x4ed8bc{static get[_0x32f6fc(0x1ac)](){return[_0x599ef9,_0x230ff7];}static get[_0x32f6fc(0x1a9)](){var _0x280252=_0x32f6fc;return _0x280252(0x1a2);}static get[_0x32f6fc(0x1ab)](){return!0x0;}static get[_0x32f6fc(0x1a6)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x21c3c3=_0x4b97;function _0x4b97(_0x541d19,_0x3f5f8a){const _0x36f3bb=_0x36f3();return _0x4b97=function(_0x4b9783,_0x44995b){_0x4b9783=_0x4b9783-0x79;let _0x4b198f=_0x36f3bb[_0x4b9783];return _0x4b198f;},_0x4b97(_0x541d19,_0x3f5f8a);}(function(_0x24ef9c,_0x14b309){const _0x158cf9=_0x4b97,_0x14eb03=_0x24ef9c();while(!![]){try{const _0x10a61f=-parseInt(_0x158cf9(0xd6))/0x1+parseInt(_0x158cf9(0x85))/0x2+-parseInt(_0x158cf9(0xce))/0x3+-parseInt(_0x158cf9(0x8e))/0x4+-parseInt(_0x158cf9(0xb3))/0x5+parseInt(_0x158cf9(0x7e))/0x6*(parseInt(_0x158cf9(0xd1))/0x7)+parseInt(_0x158cf9(0xd2))/0x8*(parseInt(_0x158cf9(0xc9))/0x9);if(_0x10a61f===_0x14b309)break;else _0x14eb03['push'](_0x14eb03['shift']());}catch(_0x34401f){_0x14eb03['push'](_0x14eb03['shift']());}}}(_0x36f3,0x80bd9));import{Context as _0x247b5b,ContextPlugin as _0x52fa90}from'ckeditor5/src/core.js';import{CKEditorError as _0xec2327}from'ckeditor5/src/utils.js';import{Users as _0x50d769}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x36f3(){const _0x45f66c=['from','commentAdded','getMany','userId','startsWith','CommentsRepository','getConnectedSessions','resolvedAt','config','disconnect','getCommentThreads','removeComment','message','off','listenTo','pluginName','_setUpService','_terminateService','Permissions','_services','updateCommentThread','3357Hyeioo','getUser','removeCommentThread','reconnect','resolveCommentThread','2365734ocwPNy','404','commentThreadUpdated','495376SLfydg','53536zjFPQi','mySessionId','adapter','destroy','251433XNbgbP','reopen','getComment','context','plugins','setPermissions','sessionAdd:','commentRemoved','updateComment','reopenCommentThread','commentUpdated','resolve','connect','36pyHVlm','catch','isPremiumPlugin','register','deletedAt','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','278452rrRuGr','init','get','add','has','size','CommentsService','comments','isOfficialPlugin','1782700kfWszz','code','permissions','authorId','content','_fetchMissingUsersForThreads','set','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','addUser','requires','map','attributes','commentThreadResolved','unregister','commentThreadReopened','CloudServicesCommentsAdapter','commentThreadRemoved','update','createdAt','commentId','addToReconnectionStack','resolvedBy','commentThreadAdded','getCommentThread','addComment','cloud-services-internal-error:\x20Not\x20connected.','keys','cloudservicescommentsadapter-connect-already-connected','_getService','_connectService','assign','commentThreadId','cloudservicescommentsadapter-disconnect-not-exist','remove','delete','addCommentThread','cloudservicescommentsadapter-service-not-exist','5234715rNNIIA'];_0x36f3=function(){return _0x45f66c;};return _0x36f3();}import{CommentsService as _0x79609d,User as _0x374df6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x22468c from'../realtimecollaborativeediting/websocketgateway.js';import _0x39228c from'../realtimecollaborativeediting/sessions.js';class a extends _0x52fa90{static get[_0x21c3c3(0x97)](){const _0x77715d=_0x21c3c3;return[_0x22468c,_0x77715d(0xb9),_0x39228c,_0x50d769];}static get[_0x21c3c3(0xc3)](){const _0x3a4c70=_0x21c3c3;return _0x3a4c70(0x9d);}static get[_0x21c3c3(0x8d)](){return!0x0;}static get[_0x21c3c3(0x80)](){return!0x0;}constructor(_0x2fb2fc){const _0x92e8b9=_0x21c3c3;super(_0x2fb2fc),this[_0x92e8b9(0xc7)]=new Map();}async[_0x21c3c3(0x86)](){const _0x2d2ae7=_0x21c3c3,_0x2746b4=this[_0x2d2ae7(0xd9)],_0xd30534=_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x2d2ae7(0xb9));if(_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x22468c)[_0x2d2ae7(0xa2)](this),_0xd30534[_0x2d2ae7(0xd4)]={'addCommentThread':async({channelId:_0x43292a,threadId:_0x46d5b7,comments:_0x1f63d7,resolvedAt:_0x4fdc81,resolvedBy:_0x1bdf33,context:_0x4f2a88,attributes:_0x589413})=>{const _0x10105b=_0x2d2ae7,_0xa88b07=await this[_0x10105b(0xaa)](_0x43292a)[_0x10105b(0xb1)]({'commentThreadId':_0x46d5b7,'comments':_0x1f63d7[_0x10105b(0x98)](_0x9591fc=>function(_0x3d8687,_0x264ccd,_0x5b9fa7){const _0x41c174=_0x10105b;return{'commentThreadId':_0x5b9fa7,'commentId':_0x3d8687[_0x41c174(0xa1)],'userId':_0x3d8687[_0x41c174(0x91)],'content':_0x3d8687[_0x41c174(0x92)],'documentId':_0x264ccd,'createdAt':_0x3d8687[_0x41c174(0xa0)],'attributes':_0x3d8687[_0x41c174(0x99)]||{}};}(_0x9591fc,_0x43292a,_0x46d5b7)),'resolvedAt':_0x4fdc81,'resolvedBy':_0x1bdf33,'context':_0x4f2a88,'attributes':_0x589413})[_0x10105b(0x7f)](ot);return{'threadId':_0xa88b07[_0x10105b(0xad)],'comments':_0xa88b07[_0x10105b(0x8c)]};},'getCommentThread':async({channelId:_0x2450c4,threadId:_0x412d8a})=>{const _0x5e67c5=_0x2d2ae7,_0x1ad601=await this[_0x5e67c5(0xaa)](_0x2450c4)[_0x5e67c5(0xa5)](_0x412d8a)[_0x5e67c5(0x7f)](ot);return _0x1ad601[_0x5e67c5(0x82)]?null:(await this[_0x5e67c5(0x93)]([_0x1ad601]),{'threadId':_0x1ad601[_0x5e67c5(0xad)],'comments':_0x1ad601[_0x5e67c5(0x8c)][_0x5e67c5(0x98)](nt),'context':_0x1ad601[_0x5e67c5(0xd9)],'resolvedAt':_0x1ad601[_0x5e67c5(0xbb)],'resolvedBy':_0x1ad601[_0x5e67c5(0xa3)],'attributes':_0x1ad601[_0x5e67c5(0x99)]||{}});},'updateCommentThread':async({channelId:_0x45821b,threadId:_0x545ca9,context:_0xe27c38,unlinkedAt:_0x5529e1,attributes:_0x227a13})=>this[_0x2d2ae7(0xaa)](_0x45821b)[_0x2d2ae7(0xc8)]({'commentThreadId':_0x545ca9,'context':_0xe27c38,'attributes':_0x227a13,'unlinkedAt':_0x5529e1})[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'resolveCommentThread':async({channelId:_0x1416c1,threadId:_0x15b09e})=>{const _0x1e2430=_0x2d2ae7,_0x527f90=await this[_0x1e2430(0xaa)](_0x1416c1)[_0x1e2430(0xcd)](_0x15b09e)[_0x1e2430(0x7f)](et)[_0x1e2430(0x7f)](ot);return{'threadId':_0x527f90[_0x1e2430(0xad)],'resolvedAt':_0x527f90[_0x1e2430(0xbb)],'resolvedBy':_0x527f90[_0x1e2430(0xa3)]};},'reopenCommentThread':async({channelId:_0x113aa4,threadId:_0x4954bb})=>this[_0x2d2ae7(0xaa)](_0x113aa4)[_0x2d2ae7(0x7a)](_0x4954bb)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'removeCommentThread':({channelId:_0x4be103,threadId:_0x11b75b})=>this[_0x2d2ae7(0xaa)](_0x4be103)[_0x2d2ae7(0xcb)](_0x11b75b)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'addComment':({channelId:_0x29a04f,threadId:_0x8c3977,commentId:_0x54e7cf,content:_0x332818,attributes:_0x19aa13})=>this[_0x2d2ae7(0xaa)](_0x29a04f)[_0x2d2ae7(0xa6)](_0x8c3977,_0x54e7cf,_0x332818,_0x19aa13)[_0x2d2ae7(0x7f)](ot),'updateComment':({channelId:_0x24db21,threadId:_0x3aa685,commentId:_0x486d4e,content:_0x27bae7,attributes:_0x42cec6})=>this[_0x2d2ae7(0xaa)](_0x24db21)[_0x2d2ae7(0x79)](_0x3aa685,_0x486d4e,_0x27bae7,_0x42cec6)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot),'removeComment':({channelId:_0x25e2cb,threadId:_0x4e024f,commentId:_0x54b61d})=>this[_0x2d2ae7(0xaa)](_0x25e2cb)[_0x2d2ae7(0xbf)](_0x4e024f,_0x54b61d)[_0x2d2ae7(0x7f)](et)[_0x2d2ae7(0x7f)](ot)},_0x2746b4 instanceof _0x247b5b){const _0x24a713=_0x2746b4[_0x2d2ae7(0xbc)][_0x2d2ae7(0x87)](_0x2d2ae7(0x84)),_0x2437b3=_0x2746b4[_0x2d2ae7(0xda)][_0x2d2ae7(0x87)](_0x39228c);await this[_0x2d2ae7(0xc4)](_0x24a713);const _0x546039=await this[_0x2d2ae7(0xc7)][_0x2d2ae7(0x87)](_0x24a713)[_0x2d2ae7(0xba)]();this[_0x2d2ae7(0xc2)](_0x2437b3,_0x2d2ae7(0xdc)+_0x24a713,(_0x367ec3,{session:_0x3ef54f})=>{const _0x11a171=_0x2d2ae7;_0x3ef54f['id']===_0x2437b3[_0x11a171(0xd3)]&&(_0x367ec3[_0x11a171(0xc1)](),this[_0x11a171(0xd9)][_0x11a171(0xda)][_0x11a171(0x87)](_0x11a171(0xc6))[_0x11a171(0xdb)](_0x3ef54f[_0x11a171(0x90)],_0x24a713));}),_0x2437b3[_0x2d2ae7(0x81)](_0x24a713,_0x546039);}}async[_0x21c3c3(0xc4)](_0xc8dc0f){const _0x3a6d73=_0x21c3c3;if(this[_0x3a6d73(0xc7)][_0x3a6d73(0x89)](_0xc8dc0f))throw new _0xec2327(_0x3a6d73(0xa9),null,{'channelId':_0xc8dc0f});const _0x552e61=this[_0x3a6d73(0xd9)][_0x3a6d73(0xda)][_0x3a6d73(0x87)](_0x3a6d73(0xb9)),_0x15160f=new a[(_0x3a6d73(0x8b))](_0xc8dc0f);this[_0x3a6d73(0xc7)][_0x3a6d73(0x94)](_0xc8dc0f,_0x15160f),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xa4),(_0x377c39,_0x5a4017)=>{const _0x199728=_0x3a6d73,{commentThreadId:_0x1449b8,documentId:_0x39abb0,context:_0xe6019b,attributes:_0x6e764d,resolvedAt:_0x2b988e,resolvedBy:_0x5bee26,comments:_0x3b0ce6}=_0x5a4017;_0x552e61[_0x199728(0xa5)](_0x1449b8)||_0x552e61[_0x199728(0xb1)]({'threadId':_0x1449b8,'channelId':_0x39abb0,'comments':_0x3b0ce6?_0x3b0ce6[_0x199728(0x98)](nt):[],'context':_0xe6019b,'attributes':_0x6e764d,'resolvedAt':_0x2b988e,'resolvedBy':_0x5bee26,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xd0),(_0x102dac,{commentThreadId:_0x10658e,documentId:_0x251cd0,context:_0x486343,unlinkedAt:_0x2b56ab,attributes:_0x5670c8})=>{const _0x11e114=_0x3a6d73;_0x552e61[_0x11e114(0xa5)](_0x10658e)&&_0x552e61[_0x11e114(0xc8)]({'threadId':_0x10658e,'channelId':_0x251cd0,'context':_0x486343,'unlinkedAt':_0x2b56ab,'attributes':_0x5670c8,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9a),(_0x121977,{commentThreadId:_0x2811c4,resolvedBy:_0x253b06,resolvedAt:_0x4284ec})=>{const _0x288401=_0x3a6d73,_0x45d44b=_0x552e61[_0x288401(0xa5)](_0x2811c4);_0x45d44b&&_0x45d44b[_0x288401(0x7c)]({'resolvedBy':_0x253b06,'resolvedAt':_0x4284ec,'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9c),(_0x77e77,{commentThreadId:_0x30cf46})=>{const _0x3b644e=_0x3a6d73,_0x474664=_0x552e61[_0x3b644e(0xa5)](_0x30cf46);_0x474664&&_0x474664[_0x3b644e(0xd7)]({'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x9e),(_0x2f57a2,{commentThreadId:_0x175a0e})=>{const _0x23841c=_0x3a6d73,_0x38a684=_0x552e61[_0x23841c(0xa5)](_0x175a0e);_0x38a684&&_0x38a684[_0x23841c(0xaf)]({'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xb5),(_0x5a4e61,_0x173b47)=>{const _0x585b52=_0x3a6d73,_0x443fca=_0x173b47[_0x585b52(0xad)],_0x12453a=_0x552e61[_0x585b52(0xa5)](_0x443fca);_0x12453a&&_0x12453a[_0x585b52(0xa6)]({...nt(_0x173b47),'isFromAdapter':!0x0});}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0x7b),(_0x2fefb1,{commentThreadId:_0x1335d6,commentId:_0x2ffa71,content:_0x345186,attributes:_0x1bc274})=>{const _0x10f09a=_0x3a6d73,_0x5714b2=_0x552e61[_0x10f09a(0xa5)](_0x1335d6);if(_0x5714b2){const _0x24426e=_0x5714b2[_0x10f09a(0xd8)](_0x2ffa71);_0x24426e&&_0x24426e[_0x10f09a(0x9f)]({'content':_0x345186,'attributes':_0x1bc274,'isFromAdapter':!0x0});}}),this[_0x3a6d73(0xc2)](_0x15160f,_0x3a6d73(0xdd),(_0x519a09,{commentThreadId:_0x2427c4,commentId:_0x32d08f})=>{const _0x3d6f3d=_0x3a6d73,_0x425888=_0x552e61[_0x3d6f3d(0xa5)](_0x2427c4);if(_0x425888){const _0x513f41=_0x425888[_0x3d6f3d(0xd8)](_0x32d08f);_0x513f41&&_0x513f41[_0x3d6f3d(0xaf)]({'isFromAdapter':!0x0});}}),await this[_0x3a6d73(0xab)](_0xc8dc0f);}[_0x21c3c3(0xd5)](){const _0x280996=_0x21c3c3;if(this[_0x280996(0xd9)]instanceof _0x247b5b){const _0x356a80=this[_0x280996(0xd9)][_0x280996(0xbc)][_0x280996(0x87)](_0x280996(0x84));this[_0x280996(0xc5)](_0x356a80);}}[_0x21c3c3(0xc5)](_0x377967){const _0x1b5112=_0x21c3c3;if(!this[_0x1b5112(0xc7)][_0x1b5112(0x89)](_0x377967))throw new _0xec2327(_0x1b5112(0xae),null,{'channelId':_0x377967});this[_0x1b5112(0xaa)](_0x377967)[_0x1b5112(0xbd)](),this[_0x1b5112(0xc7)][_0x1b5112(0xb0)](_0x377967);}async[_0x21c3c3(0xcc)](){const _0x35881d=_0x21c3c3;for(const _0x3395c1 of this[_0x35881d(0xc7)][_0x35881d(0xa8)]())await this[_0x35881d(0xab)](_0x3395c1);if(this[_0x35881d(0xd9)]instanceof _0x247b5b){const _0x5f534f=this[_0x35881d(0xd9)][_0x35881d(0xbc)][_0x35881d(0x87)](_0x35881d(0x84)),_0x1a337e=this[_0x35881d(0xd9)][_0x35881d(0xda)][_0x35881d(0x87)](_0x39228c);_0x1a337e[_0x35881d(0x9b)](_0x5f534f);const _0x1f0b2c=await this[_0x35881d(0xc7)][_0x35881d(0x87)](_0x5f534f)[_0x35881d(0xba)]();_0x1a337e[_0x35881d(0x81)](_0x5f534f,_0x1f0b2c);}}async[_0x21c3c3(0xab)](_0x4c1254){const _0x5d2a0d=_0x21c3c3,{connection:_0x14e6a7}=this[_0x5d2a0d(0xd9)][_0x5d2a0d(0xda)][_0x5d2a0d(0x87)](_0x22468c),_0x111c33=this[_0x5d2a0d(0xd9)][_0x5d2a0d(0xda)][_0x5d2a0d(0x87)](_0x5d2a0d(0xb9)),_0x2c3af0=this[_0x5d2a0d(0xc7)][_0x5d2a0d(0x87)](_0x4c1254),_0x183c02=await _0x2c3af0[_0x5d2a0d(0x7d)](_0x14e6a7);await this[_0x5d2a0d(0x93)](_0x183c02);const _0x37cfc2=new Set(Array[_0x5d2a0d(0xb4)](_0x111c33[_0x5d2a0d(0xbe)]({'channelId':_0x4c1254}),_0x3c84cb=>_0x3c84cb['id']));for(const _0xb10a2e of _0x183c02)_0xb10a2e[_0x5d2a0d(0x82)]||_0x37cfc2[_0x5d2a0d(0xb0)](_0xb10a2e[_0x5d2a0d(0xad)]);for(const _0xba6727 of _0x37cfc2)_0x111c33[_0x5d2a0d(0xa5)](_0xba6727)[_0x5d2a0d(0xaf)]({'isFromAdapter':!0x0});for(const _0x1a092e of _0x183c02){let _0x23fd07=_0x111c33[_0x5d2a0d(0xa5)](_0x1a092e[_0x5d2a0d(0xad)]);const {commentThreadId:_0x3e57c4,context:_0x137479,attributes:_0x51014d,resolvedBy:_0x2f5f83,resolvedAt:_0x2fa560,unlinkedAt:_0x50017e,deletedAt:_0x14cefb}=_0x1a092e;if(_0x14cefb)continue;_0x23fd07||(_0x23fd07=_0x111c33[_0x5d2a0d(0xb1)]({'channelId':_0x4c1254,'threadId':_0x3e57c4,'context':_0x137479,'attributes':_0x51014d||{},'resolvedBy':_0x2f5f83,'resolvedAt':_0x2fa560,'unlinkedAt':_0x50017e,'isFromAdapter':!0x0}));const _0x3fd58a=new Set(Array[_0x5d2a0d(0xb4)](_0x23fd07[_0x5d2a0d(0x8c)],_0x3c0503=>_0x3c0503['id']));for(const _0x3e424e of _0x1a092e[_0x5d2a0d(0x8c)])_0x3fd58a[_0x5d2a0d(0xb0)](_0x3e424e[_0x5d2a0d(0xa1)]);for(const _0x26ce71 of _0x3fd58a)_0x23fd07[_0x5d2a0d(0xd8)](_0x26ce71)[_0x5d2a0d(0xaf)]({'isFromAdapter':!0x0});for(const _0x17a981 of _0x1a092e[_0x5d2a0d(0x8c)]){const _0x583c1b=_0x23fd07[_0x5d2a0d(0xd8)](_0x17a981[_0x5d2a0d(0xa1)]);_0x583c1b?_0x583c1b[_0x5d2a0d(0x92)]!==_0x17a981[_0x5d2a0d(0x92)]&&_0x583c1b[_0x5d2a0d(0x9f)]({'content':_0x17a981[_0x5d2a0d(0x92)],'isFromAdapter':!0x0}):_0x23fd07[_0x5d2a0d(0xa6)](Object[_0x5d2a0d(0xac)](nt(_0x17a981),{'isFromAdapter':!0x0}));}}}[_0x21c3c3(0xaa)](_0x1fe40e){const _0x37a4a9=_0x21c3c3;if(!this[_0x37a4a9(0xc7)][_0x37a4a9(0x89)](_0x1fe40e))throw new _0xec2327(_0x37a4a9(0xb2),null,{'channelId':_0x1fe40e});return this[_0x37a4a9(0xc7)][_0x37a4a9(0x87)](_0x1fe40e);}async[_0x21c3c3(0x93)](_0x864545){const _0x317df8=_0x21c3c3,_0x513088=this[_0x317df8(0xd9)][_0x317df8(0xda)][_0x317df8(0x87)](_0x50d769),{connection:_0x29778f}=this[_0x317df8(0xd9)][_0x317df8(0xda)][_0x317df8(0x87)](_0x22468c),_0x2ce215=new Set();for(const {resolvedBy:_0x4fc81f,comments:_0x264291}of _0x864545){_0x4fc81f&&!_0x513088[_0x317df8(0xca)](_0x4fc81f)&&_0x2ce215[_0x317df8(0x88)](_0x4fc81f);for(const {userId:_0x1a588a}of _0x264291)_0x513088[_0x317df8(0xca)](_0x1a588a)||_0x2ce215[_0x317df8(0x88)](_0x1a588a);}if(0x0===_0x2ce215[_0x317df8(0x8a)])return;const _0x142b2d=await _0x374df6[_0x317df8(0xb6)](_0x29778f,Array[_0x317df8(0xb4)](_0x2ce215));for(const _0x268e15 of _0x142b2d)_0x513088[_0x317df8(0xca)](_0x268e15['id'])||_0x513088[_0x317df8(0x96)](_0x268e15);}}a[_0x21c3c3(0x8b)]=_0x79609d;export default a;async function et(_0x4e07fa){const _0x5f427d=_0x21c3c3;if(_0x5f427d(0xcf)!==_0x4e07fa[_0x5f427d(0x8f)])throw _0x4e07fa;}function ot(_0x2ebcd4){const _0x2d66fd=_0x21c3c3;if((_0x1488f3=_0x2ebcd4)[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0x95))||_0x1488f3[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0xa7))||_0x1488f3[_0x2d66fd(0xc0)][_0x2d66fd(0xb8)](_0x2d66fd(0x83)))return new Promise(()=>{});var _0x1488f3;throw _0x2ebcd4;}function nt(_0x42e613){const _0x132836=_0x21c3c3;return{'threadId':_0x42e613[_0x132836(0xad)],'commentId':_0x42e613[_0x132836(0xa1)],'content':_0x42e613[_0x132836(0x92)],'createdAt':_0x42e613[_0x132836(0xa0)],'authorId':_0x42e613[_0x132836(0xb7)],'attributes':_0x42e613[_0x132836(0x99)]||{}};}
|
|
23
|
+
const _0x39dd5c=_0x3f59;(function(_0x2550d7,_0x436435){const _0xdc8829=_0x3f59,_0x445ed7=_0x2550d7();while(!![]){try{const _0x2511c0=parseInt(_0xdc8829(0x186))/0x1+parseInt(_0xdc8829(0x14c))/0x2+-parseInt(_0xdc8829(0x177))/0x3*(parseInt(_0xdc8829(0x15e))/0x4)+-parseInt(_0xdc8829(0x163))/0x5*(parseInt(_0xdc8829(0x154))/0x6)+-parseInt(_0xdc8829(0x199))/0x7*(parseInt(_0xdc8829(0x155))/0x8)+-parseInt(_0xdc8829(0x180))/0x9*(parseInt(_0xdc8829(0x192))/0xa)+parseInt(_0xdc8829(0x15d))/0xb;if(_0x2511c0===_0x436435)break;else _0x445ed7['push'](_0x445ed7['shift']());}catch(_0x89df5f){_0x445ed7['push'](_0x445ed7['shift']());}}}(_0x12c0,0x72187));import{Context as _0x45fc7b,ContextPlugin as _0x489c0f}from'ckeditor5/src/core.js';function _0x3f59(_0x2904e4,_0x39929c){const _0x12c0d7=_0x12c0();return _0x3f59=function(_0x3f5923,_0x386502){_0x3f5923=_0x3f5923-0x13b;let _0x4046de=_0x12c0d7[_0x3f5923];return _0x4046de;},_0x3f59(_0x2904e4,_0x39929c);}import{CKEditorError as _0x5a59af}from'ckeditor5/src/utils.js';import{Users as _0x334cc8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4bfa58,User as _0x492877}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x506e74 from'../realtimecollaborativeediting/websocketgateway.js';import _0x541cdb from'../realtimecollaborativeediting/sessions.js';function _0x12c0(){const _0xc2c200=['1172424KTDxiH','commentThreadId','userId','deletedAt','commentThreadRemoved','1066055jacewX','update','remove','reopen','getCommentThread','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','commentAdded','adapter','cloudservicescommentsadapter-service-not-exist','disconnect','getConnectedSessions','comments','connect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','content','pluginName','from','mySessionId','_fetchMissingUsersForThreads','3SvLVOI','listenTo','size','CloudServicesCommentsAdapter','add','assign','startsWith','commentThreadResolved','isPremiumPlugin','72QhNRLo','sessionAdd:','isOfficialPlugin','commentThreadReopened','createdAt','config','652995LjeSsi','cloud-services-internal-error:\x20Request\x20timeout.','CommentsRepository','collaboration.channelId','addCommentThread','addToReconnectionStack','updateComment','cloudservicescommentsadapter-connect-already-connected','resolvedBy','get','resolve','delete','835540djesBS','map','Permissions','commentRemoved','_connectService','_services','message','7Bbfaeq','commentThreadAdded','reconnect','commentId','keys','permissions','plugins','attributes','off','commentUpdated','CommentsService','removeComment','cloudservicescommentsadapter-disconnect-not-exist','register','init','removeCommentThread','authorId','_terminateService','_getService','getMany','resolveCommentThread','commentThreadUpdated','getCommentThreads','resolvedAt','context','destroy','1004158sRDZqE','reopenCommentThread','catch','getComment','set','404','getUser','addUser','24xakbiq','6526680yzPekr','code','updateCommentThread','_setUpService','addComment','requires','unregister','has','21367258JOPVzx'];_0x12c0=function(){return _0xc2c200;};return _0x12c0();}class a extends _0x489c0f{static get[_0x39dd5c(0x15a)](){const _0x1120ba=_0x39dd5c;return[_0x506e74,_0x1120ba(0x188),_0x541cdb,_0x334cc8];}static get[_0x39dd5c(0x173)](){const _0x17aaa3=_0x39dd5c;return _0x17aaa3(0x17a);}static get[_0x39dd5c(0x182)](){return!0x0;}static get[_0x39dd5c(0x17f)](){return!0x0;}constructor(_0x556a56){const _0x469c99=_0x39dd5c;super(_0x556a56),this[_0x469c99(0x197)]=new Map();}async[_0x39dd5c(0x140)](){const _0x2d94ef=_0x39dd5c,_0x113d9e=this[_0x2d94ef(0x14a)],_0x48d6a0=_0x113d9e[_0x2d94ef(0x19f)][_0x2d94ef(0x18f)](_0x2d94ef(0x188));if(_0x113d9e[_0x2d94ef(0x19f)][_0x2d94ef(0x18f)](_0x506e74)[_0x2d94ef(0x18b)](this),_0x48d6a0[_0x2d94ef(0x16b)]={'addCommentThread':async({channelId:_0x879a70,threadId:_0x413dde,comments:_0x9bbfb9,resolvedAt:_0xd8d8d6,resolvedBy:_0x2356c5,context:_0x2adc79,attributes:_0x1dc5ba})=>{const _0x2ecd29=_0x2d94ef,_0x2db137=await this[_0x2ecd29(0x144)](_0x879a70)[_0x2ecd29(0x18a)]({'commentThreadId':_0x413dde,'comments':_0x9bbfb9[_0x2ecd29(0x193)](_0xbdbc6c=>function(_0x530463,_0x41b832,_0x5e2da6){const _0x132f8b=_0x2ecd29;return{'commentThreadId':_0x5e2da6,'commentId':_0x530463[_0x132f8b(0x19c)],'userId':_0x530463[_0x132f8b(0x142)],'content':_0x530463[_0x132f8b(0x172)],'documentId':_0x41b832,'createdAt':_0x530463[_0x132f8b(0x184)],'attributes':_0x530463[_0x132f8b(0x1a0)]||{}};}(_0xbdbc6c,_0x879a70,_0x413dde)),'resolvedAt':_0xd8d8d6,'resolvedBy':_0x2356c5,'context':_0x2adc79,'attributes':_0x1dc5ba})[_0x2ecd29(0x14e)](w);return{'threadId':_0x2db137[_0x2ecd29(0x15f)],'comments':_0x2db137[_0x2ecd29(0x16f)]};},'getCommentThread':async({channelId:_0x367e83,threadId:_0x436a7d})=>{const _0x20fb59=_0x2d94ef,_0x2bcaa6=await this[_0x20fb59(0x144)](_0x367e83)[_0x20fb59(0x167)](_0x436a7d)[_0x20fb59(0x14e)](w);return _0x2bcaa6[_0x20fb59(0x161)]?null:(await this[_0x20fb59(0x176)]([_0x2bcaa6]),{'threadId':_0x2bcaa6[_0x20fb59(0x15f)],'comments':_0x2bcaa6[_0x20fb59(0x16f)][_0x20fb59(0x193)](b),'context':_0x2bcaa6[_0x20fb59(0x14a)],'resolvedAt':_0x2bcaa6[_0x20fb59(0x149)],'resolvedBy':_0x2bcaa6[_0x20fb59(0x18e)],'attributes':_0x2bcaa6[_0x20fb59(0x1a0)]||{}});},'updateCommentThread':async({channelId:_0x1ab46f,threadId:_0xa6ac5a,context:_0x2dd199,unlinkedAt:_0x2d3560,attributes:_0x125871})=>this[_0x2d94ef(0x144)](_0x1ab46f)[_0x2d94ef(0x157)]({'commentThreadId':_0xa6ac5a,'context':_0x2dd199,'attributes':_0x125871,'unlinkedAt':_0x2d3560})[_0x2d94ef(0x14e)](y)[_0x2d94ef(0x14e)](w),'resolveCommentThread':async({channelId:_0x10dcd7,threadId:_0x47ec3})=>{const _0x5b7160=_0x2d94ef,_0x557c7a=await this[_0x5b7160(0x144)](_0x10dcd7)[_0x5b7160(0x146)](_0x47ec3)[_0x5b7160(0x14e)](y)[_0x5b7160(0x14e)](w);return{'threadId':_0x557c7a[_0x5b7160(0x15f)],'resolvedAt':_0x557c7a[_0x5b7160(0x149)],'resolvedBy':_0x557c7a[_0x5b7160(0x18e)]};},'reopenCommentThread':async({channelId:_0x551600,threadId:_0x570696})=>this[_0x2d94ef(0x144)](_0x551600)[_0x2d94ef(0x14d)](_0x570696)[_0x2d94ef(0x14e)](y)[_0x2d94ef(0x14e)](w),'removeCommentThread':({channelId:_0x2ccaa5,threadId:_0x47dad1})=>this[_0x2d94ef(0x144)](_0x2ccaa5)[_0x2d94ef(0x141)](_0x47dad1)[_0x2d94ef(0x14e)](y)[_0x2d94ef(0x14e)](w),'addComment':({channelId:_0x3b2455,threadId:_0x795370,commentId:_0x160df5,content:_0x9c637e,attributes:_0x4a9e3c})=>this[_0x2d94ef(0x144)](_0x3b2455)[_0x2d94ef(0x159)](_0x795370,_0x160df5,_0x9c637e,_0x4a9e3c)[_0x2d94ef(0x14e)](w),'updateComment':({channelId:_0x28ff31,threadId:_0x49b8c1,commentId:_0x1308cb,content:_0x5997ce,attributes:_0x48ae52})=>this[_0x2d94ef(0x144)](_0x28ff31)[_0x2d94ef(0x18c)](_0x49b8c1,_0x1308cb,_0x5997ce,_0x48ae52)[_0x2d94ef(0x14e)](y)[_0x2d94ef(0x14e)](w),'removeComment':({channelId:_0x4857c4,threadId:_0x21df03,commentId:_0x223aba})=>this[_0x2d94ef(0x144)](_0x4857c4)[_0x2d94ef(0x13d)](_0x21df03,_0x223aba)[_0x2d94ef(0x14e)](y)[_0x2d94ef(0x14e)](w)},_0x113d9e instanceof _0x45fc7b){const _0x239440=_0x113d9e[_0x2d94ef(0x185)][_0x2d94ef(0x18f)](_0x2d94ef(0x189)),_0x4c16b1=_0x113d9e[_0x2d94ef(0x19f)][_0x2d94ef(0x18f)](_0x541cdb);await this[_0x2d94ef(0x158)](_0x239440);const _0x30dac1=await this[_0x2d94ef(0x197)][_0x2d94ef(0x18f)](_0x239440)[_0x2d94ef(0x16e)]();this[_0x2d94ef(0x178)](_0x4c16b1,_0x2d94ef(0x181)+_0x239440,(_0x402b16,{session:_0x1a610c})=>{const _0x18c415=_0x2d94ef;_0x1a610c['id']===_0x4c16b1[_0x18c415(0x175)]&&(_0x402b16[_0x18c415(0x1a1)](),this[_0x18c415(0x14a)][_0x18c415(0x19f)][_0x18c415(0x18f)](_0x18c415(0x194))[_0x18c415(0x169)](_0x1a610c[_0x18c415(0x19e)],_0x239440));}),_0x4c16b1[_0x2d94ef(0x13f)](_0x239440,_0x30dac1);}}async[_0x39dd5c(0x158)](_0x27ff27){const _0x45f716=_0x39dd5c;if(this[_0x45f716(0x197)][_0x45f716(0x15c)](_0x27ff27))throw new _0x5a59af(_0x45f716(0x18d),null,{'channelId':_0x27ff27});const _0x2c421e=this[_0x45f716(0x14a)][_0x45f716(0x19f)][_0x45f716(0x18f)](_0x45f716(0x188)),_0x3cd0a5=new a[(_0x45f716(0x13c))](_0x27ff27);this[_0x45f716(0x197)][_0x45f716(0x150)](_0x27ff27,_0x3cd0a5),this[_0x45f716(0x178)](_0x3cd0a5,_0x45f716(0x19a),(_0x2f87ff,_0x564c42)=>{const _0x553c48=_0x45f716,{commentThreadId:_0x2290c0,documentId:_0x581041,context:_0x16f81a,attributes:_0x23a07e,resolvedAt:_0x291e02,resolvedBy:_0x509ef7,comments:_0x47714c}=_0x564c42;_0x2c421e[_0x553c48(0x167)](_0x2290c0)||_0x2c421e[_0x553c48(0x18a)]({'threadId':_0x2290c0,'channelId':_0x581041,'comments':_0x47714c?_0x47714c[_0x553c48(0x193)](b):[],'context':_0x16f81a,'attributes':_0x23a07e,'resolvedAt':_0x291e02,'resolvedBy':_0x509ef7,'isFromAdapter':!0x0});}),this[_0x45f716(0x178)](_0x3cd0a5,_0x45f716(0x147),(_0x562807,{commentThreadId:_0x477bf0,documentId:_0x39bb87,context:_0x451248,unlinkedAt:_0x30ac1b,attributes:_0x38d086})=>{const _0xa80277=_0x45f716;_0x2c421e[_0xa80277(0x167)](_0x477bf0)&&_0x2c421e[_0xa80277(0x157)]({'threadId':_0x477bf0,'channelId':_0x39bb87,'context':_0x451248,'unlinkedAt':_0x30ac1b,'attributes':_0x38d086,'isFromAdapter':!0x0});}),this[_0x45f716(0x178)](_0x3cd0a5,_0x45f716(0x17e),(_0x47f09d,{commentThreadId:_0x1b0512,resolvedBy:_0x21173e,resolvedAt:_0x396afa})=>{const _0xed1753=_0x45f716,_0x9a4d55=_0x2c421e[_0xed1753(0x167)](_0x1b0512);_0x9a4d55&&_0x9a4d55[_0xed1753(0x190)]({'resolvedBy':_0x21173e,'resolvedAt':_0x396afa,'isFromAdapter':!0x0});}),this[_0x45f716(0x178)](_0x3cd0a5,_0x45f716(0x183),(_0x5f4a0d,{commentThreadId:_0x3ef6c3})=>{const _0x5c24f3=_0x45f716,_0x3cd954=_0x2c421e[_0x5c24f3(0x167)](_0x3ef6c3);_0x3cd954&&_0x3cd954[_0x5c24f3(0x166)]({'isFromAdapter':!0x0});}),this[_0x45f716(0x178)](_0x3cd0a5,_0x45f716(0x162),(_0x35e346,{commentThreadId:_0x51ba96})=>{const _0x2b4d35=_0x45f716,_0xdde025=_0x2c421e[_0x2b4d35(0x167)](_0x51ba96);_0xdde025&&_0xdde025[_0x2b4d35(0x165)]({'isFromAdapter':!0x0});}),this[_0x45f716(0x178)](_0x3cd0a5,_0x45f716(0x16a),(_0x471a11,_0x5a65a5)=>{const _0x18f10b=_0x45f716,_0xf6e42b=_0x5a65a5[_0x18f10b(0x15f)],_0x1c3cde=_0x2c421e[_0x18f10b(0x167)](_0xf6e42b);_0x1c3cde&&_0x1c3cde[_0x18f10b(0x159)]({...b(_0x5a65a5),'isFromAdapter':!0x0});}),this[_0x45f716(0x178)](_0x3cd0a5,_0x45f716(0x13b),(_0x45788d,{commentThreadId:_0x219355,commentId:_0x12eb6d,content:_0x387cf2,attributes:_0x32a07f})=>{const _0x5e81c2=_0x45f716,_0x21596e=_0x2c421e[_0x5e81c2(0x167)](_0x219355);if(_0x21596e){const _0x4aa8a5=_0x21596e[_0x5e81c2(0x14f)](_0x12eb6d);_0x4aa8a5&&_0x4aa8a5[_0x5e81c2(0x164)]({'content':_0x387cf2,'attributes':_0x32a07f,'isFromAdapter':!0x0});}}),this[_0x45f716(0x178)](_0x3cd0a5,_0x45f716(0x195),(_0x1d0af,{commentThreadId:_0x550f65,commentId:_0x417bf6})=>{const _0xc41e1c=_0x45f716,_0x23219c=_0x2c421e[_0xc41e1c(0x167)](_0x550f65);if(_0x23219c){const _0x15d1d9=_0x23219c[_0xc41e1c(0x14f)](_0x417bf6);_0x15d1d9&&_0x15d1d9[_0xc41e1c(0x165)]({'isFromAdapter':!0x0});}}),await this[_0x45f716(0x196)](_0x27ff27);}[_0x39dd5c(0x14b)](){const _0x59c743=_0x39dd5c;if(this[_0x59c743(0x14a)]instanceof _0x45fc7b){const _0x7ff02b=this[_0x59c743(0x14a)][_0x59c743(0x185)][_0x59c743(0x18f)](_0x59c743(0x189));this[_0x59c743(0x143)](_0x7ff02b);}}[_0x39dd5c(0x143)](_0x15b68f){const _0x2dd70e=_0x39dd5c;if(!this[_0x2dd70e(0x197)][_0x2dd70e(0x15c)](_0x15b68f))throw new _0x5a59af(_0x2dd70e(0x13e),null,{'channelId':_0x15b68f});this[_0x2dd70e(0x144)](_0x15b68f)[_0x2dd70e(0x16d)](),this[_0x2dd70e(0x197)][_0x2dd70e(0x191)](_0x15b68f);}async[_0x39dd5c(0x19b)](){const _0x49aa11=_0x39dd5c;for(const _0x3c8bba of this[_0x49aa11(0x197)][_0x49aa11(0x19d)]())await this[_0x49aa11(0x196)](_0x3c8bba);if(this[_0x49aa11(0x14a)]instanceof _0x45fc7b){const _0x3f075f=this[_0x49aa11(0x14a)][_0x49aa11(0x185)][_0x49aa11(0x18f)](_0x49aa11(0x189)),_0x15b2c0=this[_0x49aa11(0x14a)][_0x49aa11(0x19f)][_0x49aa11(0x18f)](_0x541cdb);_0x15b2c0[_0x49aa11(0x15b)](_0x3f075f);const _0x1602c1=await this[_0x49aa11(0x197)][_0x49aa11(0x18f)](_0x3f075f)[_0x49aa11(0x16e)]();_0x15b2c0[_0x49aa11(0x13f)](_0x3f075f,_0x1602c1);}}async[_0x39dd5c(0x196)](_0x1951a7){const _0x8c56a8=_0x39dd5c,{connection:_0x11dcab}=this[_0x8c56a8(0x14a)][_0x8c56a8(0x19f)][_0x8c56a8(0x18f)](_0x506e74),_0x245a93=this[_0x8c56a8(0x14a)][_0x8c56a8(0x19f)][_0x8c56a8(0x18f)](_0x8c56a8(0x188)),_0x4d5144=this[_0x8c56a8(0x197)][_0x8c56a8(0x18f)](_0x1951a7),_0x485a78=await _0x4d5144[_0x8c56a8(0x170)](_0x11dcab);await this[_0x8c56a8(0x176)](_0x485a78);const _0x3ced44=new Set(Array[_0x8c56a8(0x174)](_0x245a93[_0x8c56a8(0x148)]({'channelId':_0x1951a7}),_0x2db4d4=>_0x2db4d4['id']));for(const _0x4de32b of _0x485a78)_0x4de32b[_0x8c56a8(0x161)]||_0x3ced44[_0x8c56a8(0x191)](_0x4de32b[_0x8c56a8(0x15f)]);for(const _0x591e03 of _0x3ced44)_0x245a93[_0x8c56a8(0x167)](_0x591e03)[_0x8c56a8(0x165)]({'isFromAdapter':!0x0});for(const _0xaebe09 of _0x485a78){let _0x8fa119=_0x245a93[_0x8c56a8(0x167)](_0xaebe09[_0x8c56a8(0x15f)]);const {commentThreadId:_0x26b1cf,context:_0x128ad2,attributes:_0x41db62,resolvedBy:_0x343ebe,resolvedAt:_0x28da72,unlinkedAt:_0xbd4009,deletedAt:_0x4a5846}=_0xaebe09;if(_0x4a5846)continue;_0x8fa119||(_0x8fa119=_0x245a93[_0x8c56a8(0x18a)]({'channelId':_0x1951a7,'threadId':_0x26b1cf,'context':_0x128ad2,'attributes':_0x41db62||{},'resolvedBy':_0x343ebe,'resolvedAt':_0x28da72,'unlinkedAt':_0xbd4009,'isFromAdapter':!0x0}));const _0xa42b1=new Set(Array[_0x8c56a8(0x174)](_0x8fa119[_0x8c56a8(0x16f)],_0x12e02d=>_0x12e02d['id']));for(const _0x3827a9 of _0xaebe09[_0x8c56a8(0x16f)])_0xa42b1[_0x8c56a8(0x191)](_0x3827a9[_0x8c56a8(0x19c)]);for(const _0x352196 of _0xa42b1)_0x8fa119[_0x8c56a8(0x14f)](_0x352196)[_0x8c56a8(0x165)]({'isFromAdapter':!0x0});for(const _0x4f104a of _0xaebe09[_0x8c56a8(0x16f)]){const _0x57171f=_0x8fa119[_0x8c56a8(0x14f)](_0x4f104a[_0x8c56a8(0x19c)]);_0x57171f?_0x57171f[_0x8c56a8(0x172)]!==_0x4f104a[_0x8c56a8(0x172)]&&_0x57171f[_0x8c56a8(0x164)]({'content':_0x4f104a[_0x8c56a8(0x172)],'isFromAdapter':!0x0}):_0x8fa119[_0x8c56a8(0x159)](Object[_0x8c56a8(0x17c)](b(_0x4f104a),{'isFromAdapter':!0x0}));}}}[_0x39dd5c(0x144)](_0x316762){const _0x518d72=_0x39dd5c;if(!this[_0x518d72(0x197)][_0x518d72(0x15c)](_0x316762))throw new _0x5a59af(_0x518d72(0x16c),null,{'channelId':_0x316762});return this[_0x518d72(0x197)][_0x518d72(0x18f)](_0x316762);}async[_0x39dd5c(0x176)](_0x458f91){const _0x30d5e7=_0x39dd5c,_0x5d0ca1=this[_0x30d5e7(0x14a)][_0x30d5e7(0x19f)][_0x30d5e7(0x18f)](_0x334cc8),{connection:_0x30185e}=this[_0x30d5e7(0x14a)][_0x30d5e7(0x19f)][_0x30d5e7(0x18f)](_0x506e74),_0xd2f650=new Set();for(const {resolvedBy:_0x4dbb3b,comments:_0x499c20}of _0x458f91){_0x4dbb3b&&!_0x5d0ca1[_0x30d5e7(0x152)](_0x4dbb3b)&&_0xd2f650[_0x30d5e7(0x17b)](_0x4dbb3b);for(const {userId:_0x32e9af}of _0x499c20)_0x5d0ca1[_0x30d5e7(0x152)](_0x32e9af)||_0xd2f650[_0x30d5e7(0x17b)](_0x32e9af);}if(0x0===_0xd2f650[_0x30d5e7(0x179)])return;const _0x4c384a=await _0x492877[_0x30d5e7(0x145)](_0x30185e,Array[_0x30d5e7(0x174)](_0xd2f650));for(const _0x20ed92 of _0x4c384a)_0x5d0ca1[_0x30d5e7(0x152)](_0x20ed92['id'])||_0x5d0ca1[_0x30d5e7(0x153)](_0x20ed92);}}a[_0x39dd5c(0x13c)]=_0x4bfa58;export default a;async function y(_0x114b04){const _0x41ad1c=_0x39dd5c;if(_0x41ad1c(0x151)!==_0x114b04[_0x41ad1c(0x156)])throw _0x114b04;}function w(_0xca2b0b){const _0x548cbf=_0x39dd5c;if((_0xff94a7=_0xca2b0b)[_0x548cbf(0x198)][_0x548cbf(0x17d)](_0x548cbf(0x171))||_0xff94a7[_0x548cbf(0x198)][_0x548cbf(0x17d)](_0x548cbf(0x168))||_0xff94a7[_0x548cbf(0x198)][_0x548cbf(0x17d)](_0x548cbf(0x187)))return new Promise(()=>{});var _0xff94a7;throw _0xca2b0b;}function b(_0x3e1e21){const _0x27dee9=_0x39dd5c;return{'threadId':_0x3e1e21[_0x27dee9(0x15f)],'commentId':_0x3e1e21[_0x27dee9(0x19c)],'content':_0x3e1e21[_0x27dee9(0x172)],'createdAt':_0x3e1e21[_0x27dee9(0x184)],'authorId':_0x3e1e21[_0x27dee9(0x160)],'attributes':_0x3e1e21[_0x27dee9(0x1a0)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ad03f=_0x5e88;(function(_0x4f2284,_0x503048){const _0x105592=_0x5e88,_0xd4d8d1=_0x4f2284();while(!![]){try{const _0x1bbdb1=-parseInt(_0x105592(0x102))/0x1*(parseInt(_0x105592(0x109))/0x2)+-parseInt(_0x105592(0xff))/0x3*(-parseInt(_0x105592(0xfb))/0x4)+parseInt(_0x105592(0xfd))/0x5+parseInt(_0x105592(0x100))/0x6+parseInt(_0x105592(0xfc))/0x7+parseInt(_0x105592(0x104))/0x8+-parseInt(_0x105592(0xf1))/0x9*(parseInt(_0x105592(0x106))/0xa);if(_0x1bbdb1===_0x503048)break;else _0xd4d8d1['push'](_0xd4d8d1['shift']());}catch(_0xa60944){_0xd4d8d1['push'](_0xd4d8d1['shift']());}}}(_0x4abf,0xd9d80));import{Plugin as _0x3a8d48}from'ckeditor5/src/core.js';import _0x40470 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x148e08 from'./realtimecollaborativeediting.js';function _0x5e88(_0x3a043a,_0x27744f){const _0x4abfa3=_0x4abf();return _0x5e88=function(_0x5e88e5,_0xaafe01){_0x5e88e5=_0x5e88e5-0xf0;let _0x112355=_0x4abfa3[_0x5e88e5];return _0x112355;},_0x5e88(_0x3a043a,_0x27744f);}import _0x244256 from'./realtimecollaborativeediting/websocketgateway.js';function _0x4abf(){const _0x1c31c8=['config','CommentsEditing','isOfficialPlugin','listenTo','5286123SrJflv','RealTimeCollaborativeComments','plugins','destroy','_setUpService','Comments','ready','get','switchReadOnly','data','1469436SOklqU','8979089ldoPEG','2235145OZpsPY','CommentsRepository','6ZDPoGa','136860OcGgLR','change:state','9BgqNaM','once','7619352ZslvvZ','pluginName','40UBNAWm','requires','collaboration.channelId','44006JayCij','connected','_terminateService','init','isThreadsLoadingPaused','editor','isPremiumPlugin'];_0x4abf=function(){return _0x1c31c8;};return _0x4abf();}export default class m extends _0x3a8d48{static get[_0x4ad03f(0x107)](){const _0x5d2bdf=_0x4ad03f;return[_0x5d2bdf(0xf6),_0x40470,_0x148e08,_0x244256];}static get[_0x4ad03f(0x105)](){const _0x11c972=_0x4ad03f;return _0x11c972(0xf2);}static get[_0x4ad03f(0x112)](){return!0x0;}static get[_0x4ad03f(0x10f)](){return!0x0;}[_0x4ad03f(0x10c)](){const _0x3faf11=_0x4ad03f,_0x4fb912=this[_0x3faf11(0x10e)][_0x3faf11(0xf3)][_0x3faf11(0xf8)](_0x244256),_0x2327cb=this[_0x3faf11(0x10e)][_0x3faf11(0xf3)][_0x3faf11(0xf8)](_0x3faf11(0x111)),_0x23f864=this[_0x3faf11(0x10e)][_0x3faf11(0xf3)][_0x3faf11(0xf8)](_0x40470);return this[_0x3faf11(0x10e)][_0x3faf11(0xfa)][_0x3faf11(0x103)](_0x3faf11(0xf7),()=>{const _0x4adc=_0x3faf11;this[_0x4adc(0xf0)](_0x4fb912,_0x4adc(0x101),(_0x702093,_0x220ae9,_0x1a44dd)=>{const _0x8473fe=_0x4adc;_0x2327cb[_0x8473fe(0x10d)]=_0x8473fe(0x10a)!==_0x1a44dd;});}),this[_0x3faf11(0xf0)](_0x4fb912,_0x3faf11(0x101),(_0x47bd83,_0x2354a2,_0x359ca2)=>{const _0x1bdf9c=_0x3faf11;this[_0x1bdf9c(0x10e)][_0x1bdf9c(0xf3)][_0x1bdf9c(0xf8)](_0x1bdf9c(0xfe))[_0x1bdf9c(0xf9)](_0x1bdf9c(0x10a)!==_0x359ca2);}),_0x23f864[_0x3faf11(0xf5)](this[_0x3faf11(0x10e)][_0x3faf11(0x110)][_0x3faf11(0xf8)](_0x3faf11(0x108)));}[_0x4ad03f(0xf4)](){const _0xf8025c=_0x4ad03f;this[_0xf8025c(0x10e)][_0xf8025c(0xf3)][_0xf8025c(0xf8)](_0x40470)[_0xf8025c(0x10b)](this[_0xf8025c(0x10e)][_0xf8025c(0x110)][_0xf8025c(0xf8)](_0xf8025c(0x108))),super[_0xf8025c(0xf4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x29e759=_0x44b1;(function(_0x25a18e,_0x1ae65c){const _0x1a606f=_0x44b1,_0x44f75b=_0x25a18e();while(!![]){try{const _0x2dd06b=parseInt(_0x1a606f(0x17d))/0x1*(parseInt(_0x1a606f(0x208))/0x2)+-parseInt(_0x1a606f(0x1f1))/0x3+-parseInt(_0x1a606f(0x23d))/0x4+-parseInt(_0x1a606f(0x1c9))/0x5+-parseInt(_0x1a606f(0x1f9))/0x6+-parseInt(_0x1a606f(0x175))/0x7*(parseInt(_0x1a606f(0x23a))/0x8)+-parseInt(_0x1a606f(0x201))/0x9*(-parseInt(_0x1a606f(0x236))/0xa);if(_0x2dd06b===_0x1ae65c)break;else _0x44f75b['push'](_0x44f75b['shift']());}catch(_0x3b47ed){_0x44f75b['push'](_0x44f75b['shift']());}}}(_0x8416,0x33e37));import{Plugin as _0x255e56,PendingActions as _0xb106ea}from'ckeditor5/src/core.js';function _0x44b1(_0x463bf6,_0x518d6e){const _0x8416e0=_0x8416();return _0x44b1=function(_0x44b1cc,_0x2c19fd){_0x44b1cc=_0x44b1cc-0x141;let _0x53c633=_0x8416e0[_0x44b1cc];return _0x53c633;},_0x44b1(_0x463bf6,_0x518d6e);}import{CKEditorError as _0x863be0,version as _0x3ebfc5,uid as _0x3ab699}from'ckeditor5/src/utils.js';import{Notification as _0x1369aa}from'ckeditor5/src/ui.js';import{transformSets as _0x499335,NoOperation as _0x3c62e9,InsertOperation as _0x24d7f2,MarkerOperation as _0x3c4fba,RootAttributeOperation as _0x5b8da9,OperationFactory as _0x1d4d83,History as _0x463704}from'ckeditor5/src/engine.js';import _0x2c2c8f from'./websocketgateway.js';import _0x2ea552 from'./sessions.js';import _0x5b5253 from'./usermarkers.js';import{getTranslation as _0x48f94a}from'../common-translations.js';import{Compressor as _0x44ec9d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x32dfb3}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8416(){const _0x2180f2=['Synchronization\x20issue','apply','round','1dIbUOe','getIdOfTheLastOperation','_handleSendingSelectionMarkers','realtimecollaborationclient-sendbufferedoperations','cloudDocumentVersion','stopListening','reset','_handleReconnectionError','initData','init','connect','document:write','isEnabled','createPositionFromPath','cs:removeUser','real-time-collaboration','Notification','_knownRootNames','roots','document','addToReconnectionStack','markers','409','decompress','_addKnownRoot','cloud-services-internal-error:\x20Not\x20connected.','root','Permissions','serverHistory','permissions','createdAt','_clearPendingAction','connected','size','version','affectedSelectable','getOperationAuthor','rootsAttributes','lastOperationId','pluginName','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.','view','_updateServerHistory','enableReadOnlyMode','CommentsOnly','cloudServices.bundleVersion','collaboration.channelId','_isLoaded','_crash','404','sessionCreatedAt','getDocumentDetails','reconnect','_isPendingUpdate','currentDocumentSession','operationsReceived','enqueueChange','state','_refreshUserSelectionMarkers','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isDisconnection','catch','ready','isDocumentOperation','from','add','end','type','define','_offset','createRoot','_getAffectedRoot','requires','register','newRange','realtimecollaborationclient-init-non-existent-root','1576725OMhVuc','attributes','_handleInitialConnectionData','_setUpDataInit','isReadOnly','cloud-services-internal-error:\x20Request\x20timeout.','$root','change:hasDomSelection','_getOperationsFromInitData','removeFromReconnectionStack','entries','_setPendingAction','_connectAfterSessionHasBeenFlushed','_connectService','_lastServerVersion','RealTimeCollaborationClient','compress','_loadRoot','connection','_initThrowingOnDataSet','get','applyOperation','sessionAdd:','plugins','getMany','fire','_hasSelectionChanged','push','rtc-destroyed','_saveOperationInBuffer','map','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','string','_document','locale','_service','return','addUser','_hasSynchronizationProblem','lastOperationAcceptedAt','756495GxpxKB','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.','batch','_bufferRootLoad','data','collaboration-missing-channelid','position','__className','2045580ehxDhl','realtimecollaborationclient-initservice-internal-error','baseVersion','message','model','createUserMarkerOperations','_lastSyncedOperationId','_handleExternalOperations','13612302RQPghL','_compressOperations','reconnection:\x20flushed\x20session','_operationToId','disconnected','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_compressor','201166vTgTNY','addOperation','userId','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-initservice-incorrect-server-operation','slice','_pendingAction','CollaborativeEditingService','editing','_operationIdentifier','history','setIdForTheLastOperation','setPermissions','length','PENDING_ACTION_SENDING_DATA','fromJSON','addRoot','rtc-offline','_sendBufferedOperations','bind','getOperations','toJSON','_sendBufferedOperationsDelayed','getConnectedSessions','isOfficialPlugin','path','_initSessionsHandling','move','clone','change:_isPendingUpdate','createPositionAt','InsertOperation','has','suppressErrorInCollaboration','createRange','_handleReceivedOperations','mySessionId','_currentBufferDelay','startsWith','disableReadOnlyMode','_fetchMissingUsers','_waitUntilSynced','_disconnectService','_decompressOperations','unregister','lastDocumentSession','10WrASYF','stop','getRoot','_isEditingAllowed','133976eZXRVH','_knownOperations','sessionId','1298464QajRrN','isUndoneOperation','keys','isPremiumPlugin','directChange','_sendBufferedOperationsDelayId','parse','loadRoot','getUser','insert','editor','addRootAttribute','_shouldSendUpdate','wasUndone','realtimecollaborationclient-init-document-already-initialized','then','destroy','error','start','high','_applyOperationsSet','change:_isEditingAllowed','off','_isAttached','_handleServerResponse','multi-root-editor-root-attributes-no-root','differ','channelSessions','rootName','change:range','_authorId','_isConnected','lastSyncVersion','realtimecollaborationclient-handleserverresponse','targetPosition','_ignoredOperations','finally','forEach','filter','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sendOperations','_baseBufferDelay','offset','_shouldSendSelectionUpdate','code','marker','realtimecollaborationclient-init-session-connection-error','config','_disconnectionOperations','set','_bufferedOperations','remove','listenTo','disconnect','collaboration','metadata','selection','showWarning','wereChangesApplied','_handleReconnectionResponse','70HfflWQ','affectsData','_channelId','_isInit','includes'];_0x8416=function(){return _0x2180f2;};return _0x8416();}import{User as _0x314d9e,CollaborativeEditingService as _0x18e670}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x255e56{static get[_0x29e759(0x1c5)](){return[_0x2c2c8f,_0x2ea552,_0x5b5253,_0xb106ea,_0x32dfb3,_0x1369aa];}static get[_0x29e759(0x1a4)](){const _0x17f86b=_0x29e759;return _0x17f86b(0x1d8);}static get[_0x29e759(0x220)](){return!0x0;}static get[_0x29e759(0x240)](){return!0x0;}get[_0x29e759(0x181)](){const _0x5eb0f2=_0x29e759;return this[_0x5eb0f2(0x1d7)]+this[_0x5eb0f2(0x1c2)];}get[_0x29e759(0x1d7)](){const _0x6dd598=_0x29e759;return this[_0x6dd598(0x199)][_0x6dd598(0x19f)]-this[_0x6dd598(0x1c2)];}get[_0x29e759(0x159)](){const _0x55a5e7=_0x29e759,_0x2c35d4=this[_0x55a5e7(0x199)][_0x55a5e7(0x21c)]();for(let _0x2909a3=_0x2c35d4[_0x55a5e7(0x215)]-0x1;_0x2909a3>=0x0;_0x2909a3--){const _0x329a23=_0x2c35d4[_0x2909a3];if(!this[_0x55a5e7(0x169)][_0x55a5e7(0x228)](_0x329a23))return _0x329a23[_0x55a5e7(0x1fb)]+0x1-this[_0x55a5e7(0x1c2)];}return 0x0;}constructor(_0x1d5374){const _0x1653ca=_0x29e759;if(super(_0x1d5374),this[_0x1653ca(0x1c2)]=0x0,this[_0x1653ca(0x23c)]=null,this[_0x1653ca(0x199)]=new _0x463704(),this[_0x1653ca(0x143)][_0x1653ca(0x168)][_0x1653ca(0x1c1)](_0x1653ca(0x16f),{}),this[_0x1653ca(0x177)]=this[_0x1653ca(0x143)][_0x1653ca(0x168)][_0x1653ca(0x1dd)](_0x1653ca(0x1ab)),!this[_0x1653ca(0x177)])throw new _0x863be0(_0x1653ca(0x1f6),this);const _0x38d5db=_0x1d5374[_0x1653ca(0x168)][_0x1653ca(0x1dd)](_0x1653ca(0x1aa))||_0x3ebfc5;this[_0x1653ca(0x1ec)]=new l[(_0x1653ca(0x20f))](_0x38d5db,this[_0x1653ca(0x177)]),this[_0x1653ca(0x1ea)]=this[_0x1653ca(0x143)][_0x1653ca(0x1fd)][_0x1653ca(0x190)],this[_0x1653ca(0x207)]=new _0x44ec9d(),this[_0x1653ca(0x16b)]=[],this[_0x1653ca(0x23b)]=new WeakSet(),this[_0x1653ca(0x18e)]=new Set(),this[_0x1653ca(0x16a)](_0x1653ca(0x1b2),!0x1),this[_0x1653ca(0x16a)](_0x1653ca(0x1ef),!0x1),this[_0x1653ca(0x20e)]=null,this[_0x1653ca(0x1e3)]=!0x1,this[_0x1653ca(0x242)]=null,this[_0x1653ca(0x162)]=0x12c,this[_0x1653ca(0x22d)]=this[_0x1653ca(0x162)],this[_0x1653ca(0x1ff)]=null,this[_0x1653ca(0x169)]=new WeakSet(),this[_0x1653ca(0x211)]=new G(this[_0x1653ca(0x169)]);}[_0x29e759(0x186)](){const _0xa061ef=_0x29e759,_0xdc8d8c=this[_0xa061ef(0x143)],_0x424d02=_0xdc8d8c[_0xa061ef(0x1e0)][_0xa061ef(0x1dd)](_0x32dfb3),_0x4d9cfe=_0xdc8d8c[_0xa061ef(0x1e0)][_0xa061ef(0x1dd)](_0x2c2c8f);this[_0xa061ef(0x16d)](_0x424d02,_0xa061ef(0x1a1),(_0x555dc0,_0x30e3b3)=>{const _0x5942c9=_0xa061ef,_0x2d0346=_0x30e3b3[0x0];_0x2d0346[_0x5942c9(0x157)]&&(_0x555dc0[_0x5942c9(0x1ed)]=_0x424d02[_0x5942c9(0x141)](_0x2d0346[_0x5942c9(0x157)]),_0x555dc0[_0x5942c9(0x237)]()),null===_0x2d0346[_0x5942c9(0x157)]&&(_0x555dc0[_0x5942c9(0x1ed)]=null,_0x555dc0[_0x5942c9(0x237)]());},{'priority':_0xa061ef(0x14c)}),this[_0xa061ef(0x16d)](_0xdc8d8c[_0xa061ef(0x1fd)][_0xa061ef(0x190)][_0xa061ef(0x171)],_0xa061ef(0x156),(_0x330986,_0x1053e8)=>{const _0x46d072=_0xa061ef;_0x1053e8[_0x46d072(0x241)]&&this[_0x46d072(0x1b7)]();}),this[_0xa061ef(0x16d)](_0xdc8d8c[_0xa061ef(0x210)][_0xa061ef(0x1a6)],_0xa061ef(0x1d0),()=>{const _0x47c084=_0xa061ef;this[_0x47c084(0x1b7)]();}),this[_0xa061ef(0x1dc)](),_0xdc8d8c[_0xa061ef(0x1fd)]['on'](_0xa061ef(0x1de),(_0x58c31c,_0x4411cf)=>{const _0x193072=_0xa061ef,_0x473a76=_0x4411cf[0x0];_0x473a76[_0x193072(0x1bc)]&&(this[_0x193072(0x1e6)](_0x473a76),this[_0x193072(0x145)]()&&this[_0x193072(0x21e)]());}),this[_0xa061ef(0x1cc)](),this[_0xa061ef(0x21b)](_0xa061ef(0x239))['to'](_0x4d9cfe,_0xa061ef(0x1b6),this,_0xa061ef(0x1ef),(_0x61edf4,_0x2d6f42)=>_0xa061ef(0x19d)===_0x61edf4&&!_0x2d6f42),this['on'](_0xa061ef(0x14e),()=>{const _0x1ee4a1=_0xa061ef;this[_0x1ee4a1(0x239)]?_0xdc8d8c[_0x1ee4a1(0x22f)](_0x1ee4a1(0x219)):_0xdc8d8c[_0x1ee4a1(0x1a8)](_0x1ee4a1(0x219));}),this[_0xa061ef(0x239)]?_0xdc8d8c[_0xa061ef(0x22f)](_0xa061ef(0x219)):_0xdc8d8c[_0xa061ef(0x1a8)](_0xa061ef(0x219)),this[_0xa061ef(0x16a)](_0xa061ef(0x158),!0x1);}async[_0x29e759(0x1b1)](){const _0x2646bd=_0x29e759,_0x3efccb=this[_0x2646bd(0x143)][_0x2646bd(0x1e0)][_0x2646bd(0x1dd)](_0x2ea552),_0x361d15=this[_0x2646bd(0x143)][_0x2646bd(0x1e0)][_0x2646bd(0x1dd)](_0x2c2c8f);try{this[_0x2646bd(0x1b2)]=!0x0,_0x3efccb[_0x2646bd(0x234)](this[_0x2646bd(0x177)]);const _0x469e23=await this[_0x2646bd(0x1ec)][_0x2646bd(0x1b1)](_0x361d15[_0x2646bd(0x1db)],this[_0x2646bd(0x159)]);await this[_0x2646bd(0x174)](_0x469e23)&&(this[_0x2646bd(0x1b2)]=!0x1,this[_0x2646bd(0x19c)]());const _0x5bf1a0=await this[_0x2646bd(0x1ec)][_0x2646bd(0x21f)]();_0x3efccb[_0x2646bd(0x1c6)](this[_0x2646bd(0x177)],_0x5bf1a0),this[_0x2646bd(0x17f)](),this[_0x2646bd(0x158)]=!0x0;}catch(_0x2d25f3){if(function(_0x53cfdd){const _0xd07d90=_0x2646bd;return _0xd07d90(0x1ae)===_0x53cfdd[_0xd07d90(0x165)];}(_0x2d25f3)&&this[_0x2646bd(0x23c)])await this[_0x2646bd(0x1d5)]();else{if(function(_0x1b74a5){const _0x429ef4=_0x2646bd;return _0x429ef4(0x193)===_0x1b74a5[_0x429ef4(0x165)];}(_0x2d25f3)){const _0x3a25ed=_0x48f94a(this[_0x2646bd(0x143)][_0x2646bd(0x1eb)],_0x2646bd(0x160));this[_0x2646bd(0x184)](_0x3a25ed);}else{if(!(_0x2d25f3 instanceof H))throw _0x2d25f3;this[_0x2646bd(0x184)]();}}}}[_0x29e759(0x149)](){const _0x51e633=_0x29e759,_0x495271=this[_0x51e633(0x143)][_0x51e633(0x1e0)][_0x51e633(0x1dd)](_0x2c2c8f),_0x3b9080=this[_0x51e633(0x143)][_0x51e633(0x1e0)][_0x51e633(0x1dd)](_0x2ea552);this[_0x51e633(0x143)][_0x51e633(0x1a8)](_0x51e633(0x1e5)),_0x3b9080[_0x51e633(0x154)][_0x51e633(0x228)](this[_0x51e633(0x177)])&&_0x3b9080[_0x51e633(0x234)](this[_0x51e633(0x177)]),_0x495271[_0x51e633(0x1d2)](this),this[_0x51e633(0x232)](),super[_0x51e633(0x149)]();}async[_0x29e759(0x174)](_0x1ea955){const _0x5d156a=_0x29e759;if(this[_0x5d156a(0x23c)]!==_0x1ea955[_0x5d156a(0x23c)]&&this[_0x5d156a(0x1ff)]!==_0x1ea955[_0x5d156a(0x1a3)])throw new H();return this[_0x5d156a(0x23c)]=_0x1ea955[_0x5d156a(0x23c)],this[_0x5d156a(0x151)]([],{..._0x1ea955,'wereChangesApplied':!0x1,'data':_0x1ea955[_0x5d156a(0x1f5)]},_0x5d156a(0x1b1));}async[_0x29e759(0x1d6)](_0x562f32,_0x5726c3=!0x1){const _0x1668f4=_0x29e759,{connection:_0x1e60ed}=this[_0x1668f4(0x143)][_0x1668f4(0x1e0)][_0x1668f4(0x1dd)](_0x2c2c8f);l[_0x1668f4(0x20f)][_0x1668f4(0x21f)](_0x1e60ed,this[_0x1668f4(0x177)])[_0x1668f4(0x148)](_0x4db12b=>this[_0x1668f4(0x222)](_0x4db12b))[_0x1668f4(0x1ba)](_0x208dc9=>{const _0x19ad42=_0x1668f4;this[_0x19ad42(0x1ad)](_0x19ad42(0x167),_0x208dc9);}),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x1b4),this[_0x1668f4(0x22b)][_0x1668f4(0x21b)](this)),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x14a),(_0x3a4fcb,_0x9ec4f3)=>{const _0x18054f=_0x1668f4;this[_0x18054f(0x1ad)](_0x18054f(0x1fa),_0x9ec4f3);}),this[_0x1668f4(0x16d)](this[_0x1668f4(0x1ec)],_0x1668f4(0x205),()=>{const _0x49e5a8=_0x1668f4;this[_0x49e5a8(0x158)]=!0x1;});const _0x1e6af6=this[_0x1668f4(0x211)][_0x1668f4(0x17e)](_0x562f32);this[_0x1668f4(0x1b2)]=!0x0;const _0x471f1a=await this[_0x1668f4(0x1ec)][_0x1668f4(0x187)](_0x1e60ed,this[_0x1668f4(0x202)](_0x562f32),_0x1e6af6);if(this[_0x1668f4(0x23c)]=_0x471f1a[_0x1668f4(0x23c)],_0x5726c3){if(!_0x471f1a[_0x1668f4(0x173)])return void this[_0x1668f4(0x184)]();this[_0x1668f4(0x1b2)]=!0x1,this[_0x1668f4(0x19c)](),this[_0x1668f4(0x199)][_0x1668f4(0x183)](),this[_0x1668f4(0x1c2)]=_0x471f1a[_0x1668f4(0x163)],this[_0x1668f4(0x199)][_0x1668f4(0x19f)]=this[_0x1668f4(0x1c2)],await this[_0x1668f4(0x151)](_0x562f32,_0x471f1a,_0x1668f4(0x203));}else await this[_0x1668f4(0x1cb)](_0x471f1a,_0x562f32);this[_0x1668f4(0x17f)](),this[_0x1668f4(0x158)]=!0x0;}[_0x29e759(0x17f)](){const _0x718fd=_0x29e759,_0x112a1e=this[_0x718fd(0x143)][_0x718fd(0x1e0)][_0x718fd(0x1dd)](_0x2ea552),_0x1af25c=this[_0x718fd(0x143)][_0x718fd(0x1e0)][_0x718fd(0x1dd)](_0x5b5253),_0x5bb78f=_0x112a1e[_0x718fd(0x154)][_0x718fd(0x1dd)](this[_0x718fd(0x177)]);_0x5bb78f&&_0x5bb78f[_0x718fd(0x215)]>0x1?_0x1af25c[_0x718fd(0x1fe)]():this[_0x718fd(0x16d)](_0x112a1e,_0x718fd(0x1df)+this[_0x718fd(0x177)],()=>{const _0x294859=_0x718fd;0x2===_0x112a1e[_0x294859(0x154)][_0x294859(0x1dd)](this[_0x294859(0x177)])[_0x294859(0x215)]&&_0x1af25c[_0x294859(0x1fe)]();});}async[_0x29e759(0x22b)](_0x172023,_0x31259f,_0x22d008,_0x42a5a7){const _0x2b16a9=_0x29e759;if(!this[_0x2b16a9(0x1b2)]&&this[_0x2b16a9(0x1ea)][_0x2b16a9(0x19f)]==_0x31259f){const _0x4d31a8=this[_0x2b16a9(0x233)](_0x22d008,_0x42a5a7);await this[_0x2b16a9(0x230)](_0x4d31a8),this[_0x2b16a9(0x200)](_0x4d31a8,_0x31259f,_0x22d008[_0x2b16a9(0x1a3)])||this[_0x2b16a9(0x1ad)](_0x2b16a9(0x20c));}}async[_0x29e759(0x1d5)](){const _0x4507f7=_0x29e759;this[_0x4507f7(0x232)]();const {locale:_0x5873b9}=this[_0x4507f7(0x143)];let _0x36879c;try{_0x36879c=await this[_0x4507f7(0x1ec)][_0x4507f7(0x1b0)]();}catch(_0x2f1c51){const _0x1a03b5=_0x48f94a(_0x5873b9,_0x4507f7(0x1b8));return void this[_0x4507f7(0x184)](_0x1a03b5);}const _0x23428f=_0x36879c[_0x4507f7(0x1b3)]||_0x36879c[_0x4507f7(0x235)];if(this[_0x4507f7(0x1ff)]===_0x23428f[_0x4507f7(0x1a3)])await this[_0x4507f7(0x1d6)](this[_0x4507f7(0x143)][_0x4507f7(0x1fd)][_0x4507f7(0x190)][_0x4507f7(0x212)][_0x4507f7(0x21c)](),!0x0);else{const _0x4948f=_0x48f94a(_0x5873b9,_0x4507f7(0x1f2));this[_0x4507f7(0x184)](_0x4948f);}}[_0x29e759(0x232)](){const _0x164444=_0x29e759;this[_0x164444(0x1ec)][_0x164444(0x16e)](),this[_0x164444(0x16b)]=[],clearTimeout(this[_0x164444(0x242)]),this[_0x164444(0x182)](this[_0x164444(0x1ec)]);}[_0x29e759(0x222)](_0x5794ab){const _0x469aa0=_0x29e759,_0x1da3f8=this[_0x469aa0(0x143)][_0x469aa0(0x1e0)][_0x469aa0(0x1dd)](_0x2ea552);this[_0x469aa0(0x16d)](_0x1da3f8,_0x469aa0(0x1df)+this[_0x469aa0(0x177)],(_0x343ef1,{session:_0xcf4fd5})=>{const _0x16e412=_0x469aa0;if(_0xcf4fd5['id']===_0x1da3f8[_0x16e412(0x22c)]){_0x343ef1[_0x16e412(0x14f)]();const _0x2d5940=this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x228)](_0x16e412(0x1a9))&&this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x1dd)](_0x16e412(0x1a9));let _0x24d7fd=_0xcf4fd5[_0x16e412(0x19a)];_0x2d5940&&_0x2d5940[_0x16e412(0x189)]&&(_0x24d7fd=_0x24d7fd[_0x16e412(0x15f)](_0x24f44a=>_0x16e412(0x188)!==_0x24f44a)),this[_0x16e412(0x143)][_0x16e412(0x1e0)][_0x16e412(0x1dd)](_0x16e412(0x198))[_0x16e412(0x214)](_0x24d7fd,this[_0x16e412(0x177)]);}}),_0x1da3f8[_0x469aa0(0x1c6)](this[_0x469aa0(0x177)],_0x5794ab);}[_0x29e759(0x1dc)](){const _0x386e91=_0x29e759,_0x1163ce=this[_0x386e91(0x143)][_0x386e91(0x1f5)][_0x386e91(0x16a)];this[_0x386e91(0x143)][_0x386e91(0x1f5)][_0x386e91(0x16a)]=(..._0x164f25)=>{const _0x50499f=_0x386e91;if(!_0x164f25[_0x164f25[_0x50499f(0x215)]-0x1][_0x50499f(0x229)])throw new _0x863be0(_0x50499f(0x206),this);_0x1163ce[_0x50499f(0x17b)](this[_0x50499f(0x143)][_0x50499f(0x1f5)],_0x164f25);};}[_0x29e759(0x1cc)](){const _0x3e8c44=_0x29e759;this[_0x3e8c44(0x143)][_0x3e8c44(0x1f5)]['on'](_0x3e8c44(0x186),(_0x2d99aa,[_0x4b4011])=>{const _0x5647c1=_0x3e8c44;if(this[_0x5647c1(0x1ea)][_0x5647c1(0x19f)])throw new _0x863be0(_0x5647c1(0x147),this);_0x2d99aa[_0x5647c1(0x237)](),this[_0x5647c1(0x1d4)]();const _0x13b602=this[_0x5647c1(0x143)][_0x5647c1(0x168)][_0x5647c1(0x1dd)](_0x5647c1(0x1a2)),_0x556637=this[_0x5647c1(0x1d1)](_0x4b4011,_0x13b602);0x0==_0x556637[_0x5647c1(0x215)]&&_0x556637[_0x5647c1(0x1e4)](new _0x3c62e9(0x0)),_0x2d99aa[_0x5647c1(0x1ed)]=this[_0x5647c1(0x1d6)](_0x556637)[_0x5647c1(0x148)](()=>{const _0x38bddd=_0x5647c1;this[_0x38bddd(0x143)][_0x38bddd(0x1e0)][_0x38bddd(0x1dd)](_0x2c2c8f)[_0x38bddd(0x191)](this),this[_0x38bddd(0x143)][_0x38bddd(0x1f5)][_0x38bddd(0x1e2)](_0x38bddd(0x1bb));})[_0x5647c1(0x1ba)](_0x455ce3=>this[_0x5647c1(0x1ad)](_0x5647c1(0x20b),_0x455ce3))[_0x5647c1(0x15d)](()=>this[_0x5647c1(0x19c)]());},{'priority':_0x3e8c44(0x14c)}),this[_0x3e8c44(0x143)]['on'](_0x3e8c44(0x244),async(_0x14ba58,[_0x4f0ac3,_0x29f7e3])=>{const _0x9525b5=_0x3e8c44;_0x14ba58[_0x9525b5(0x237)]();const _0x54c8e2=this[_0x9525b5(0x143)][_0x9525b5(0x1fd)][_0x9525b5(0x190)][_0x9525b5(0x238)](_0x4f0ac3);if(!this[_0x9525b5(0x18e)][_0x9525b5(0x228)](_0x4f0ac3)){const _0x1650a0=_0x29f7e3&&_0x29f7e3[_0x9525b5(0x1f5)]?_0x29f7e3[_0x9525b5(0x1f5)]:'',_0x250779=_0x29f7e3&&_0x29f7e3[_0x9525b5(0x1ca)]?_0x29f7e3[_0x9525b5(0x1ca)]:{};await this[_0x9525b5(0x1da)](_0x4f0ac3,_0x1650a0,_0x250779);}this[_0x9525b5(0x143)][_0x9525b5(0x1fd)][_0x9525b5(0x1b5)]({'isUndoable':!0x1},()=>{const _0xb88074=_0x9525b5;_0x54c8e2[_0xb88074(0x1ac)]=!0x0,this[_0xb88074(0x143)][_0xb88074(0x1fd)][_0xb88074(0x190)][_0xb88074(0x153)][_0xb88074(0x1f4)](_0x54c8e2);});},{'priority':_0x3e8c44(0x14c)});}async[_0x29e759(0x230)](_0x27ca43){const _0x4845bd=_0x29e759,_0xaae61c=this[_0x4845bd(0x143)][_0x4845bd(0x1e0)][_0x4845bd(0x1dd)](_0x32dfb3),{connection:_0xea9638}=this[_0x4845bd(0x143)][_0x4845bd(0x1e0)][_0x4845bd(0x1dd)](_0x2c2c8f),_0x550eef=new Set();for(const _0x3b4ade of _0x27ca43){const _0x336b1f=_0x3b4ade[_0x4845bd(0x157)];_0x336b1f&&!_0xaae61c[_0x4845bd(0x141)](_0x336b1f)&&_0x550eef[_0x4845bd(0x1be)](_0x336b1f);}if(0x0===_0x550eef[_0x4845bd(0x19e)])return;const _0x188bc6=await _0x314d9e[_0x4845bd(0x1e1)](_0xea9638,Array[_0x4845bd(0x1bd)](_0x550eef));for(const _0x33c80c of _0x188bc6)_0xaae61c[_0x4845bd(0x141)](_0x33c80c['id'])||_0xaae61c[_0x4845bd(0x1ee)](_0x33c80c);}[_0x29e759(0x1d1)](_0x1cd3a3,_0x541216={}){const _0x47a070=_0x29e759,_0x3f0c6d=this[_0x47a070(0x143)][_0x47a070(0x1fd)],_0x4e2e98=[];let _0x22b99a=0x0;const _0x4585e7=_0x47a070(0x1e9)==typeof _0x1cd3a3?{'main':_0x1cd3a3}:_0x1cd3a3;for(const _0x24b5c5 of Object[_0x47a070(0x23f)](_0x4585e7)){if(!this[_0x47a070(0x1ea)][_0x47a070(0x18f)][_0x47a070(0x228)](_0x24b5c5))throw new _0x863be0(_0x47a070(0x1c8),this);const _0x4dd37f=this[_0x47a070(0x143)][_0x47a070(0x1f5)][_0x47a070(0x243)](_0x4585e7[_0x24b5c5]),_0x22b557=this[_0x47a070(0x1ea)][_0x47a070(0x238)](_0x24b5c5),_0x3473af=new _0x24d7f2(_0x3f0c6d[_0x47a070(0x226)](_0x22b557,0x0),_0x4dd37f,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x3473af);for(const [_0x2d2407,_0x2dca4f]of _0x4dd37f[_0x47a070(0x192)]){const _0x1d4f5e=_0x3f0c6d[_0x47a070(0x22a)](_0x3f0c6d[_0x47a070(0x18a)](_0x22b557,_0x2dca4f[_0x47a070(0x14b)][_0x47a070(0x221)][_0x47a070(0x20d)]()),_0x3f0c6d[_0x47a070(0x18a)](_0x22b557,_0x2dca4f[_0x47a070(0x1bf)][_0x47a070(0x221)][_0x47a070(0x20d)]())),_0x12e768=new _0x3c4fba(_0x2d2407,null,_0x1d4f5e,_0x3f0c6d[_0x47a070(0x192)],!0x0,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x12e768);}}if(_0x541216)for(const [_0x132ffa,_0x5a1b5d]of Object[_0x47a070(0x1d3)](_0x541216)){const _0x26b982=_0x3f0c6d[_0x47a070(0x190)][_0x47a070(0x238)](_0x132ffa);if(!_0x26b982)throw new _0x863be0(_0x47a070(0x152),null);for(const [_0x5d6bb3,_0x21e57b]of Object[_0x47a070(0x1d3)](_0x5a1b5d))if(null!==_0x21e57b){const _0x15964a=new _0x5b8da9(_0x26b982,_0x5d6bb3,null,_0x21e57b,_0x22b99a++);_0x4e2e98[_0x47a070(0x1e4)](_0x15964a);}}return _0x4e2e98;}async[_0x29e759(0x1da)](_0x314d6b,_0x3bd182,_0x1657cd){const _0xbea194=_0x29e759;this[_0xbea194(0x1d1)]({[_0x314d6b]:_0x3bd182},{[_0x314d6b]:_0x1657cd})[_0xbea194(0x15e)]((_0x19bd26,_0x16ca88)=>{const _0xebb340=_0xbea194;_0x19bd26[_0xebb340(0x1fb)]=this[_0xebb340(0x1ea)][_0xebb340(0x19f)]+_0x16ca88,_0x19bd26[_0xebb340(0x178)]=!0x0,this[_0xebb340(0x1e6)](_0x19bd26);}),this[_0xbea194(0x21e)](),await this[_0xbea194(0x231)]();}async[_0x29e759(0x1cb)](_0x275836,_0x59a10e){const _0x48621b=_0x29e759;let _0x1c020f;this[_0x48621b(0x1c2)]=_0x275836[_0x48621b(0x163)];const _0x4e944d=_0x275836[_0x48621b(0x173)]&&!_0x275836[_0x48621b(0x185)],_0x3f1a6f=_0x4e944d?0x0:_0x275836[_0x48621b(0x1f5)][_0x48621b(0x1fb)];if(_0x59a10e[_0x48621b(0x15e)](_0x3ce322=>{const _0x16e87d=_0x48621b;_0x3ce322[_0x16e87d(0x178)]=!0x0,_0x3ce322[_0x16e87d(0x19b)]=_0x275836[_0x16e87d(0x1af)],_0x3ce322[_0x16e87d(0x157)]=null;}),_0x4e944d)_0x1c020f=_0x59a10e,this[_0x48621b(0x14d)](_0x1c020f,_0x4e944d);else{if(_0x275836[_0x48621b(0x185)]){const _0x3ed140=this[_0x48621b(0x1d1)](_0x275836[_0x48621b(0x185)]);this[_0x48621b(0x1ea)][_0x48621b(0x212)][_0x48621b(0x19f)]=-_0x3ed140[_0x48621b(0x215)],_0x3ed140[_0x48621b(0x15e)](_0x4f14be=>{const _0x490086=_0x48621b;_0x4f14be[_0x490086(0x1fb)]-=_0x3ed140[_0x490086(0x215)],_0x4f14be[_0x490086(0x19b)]=_0x275836[_0x490086(0x1af)],_0x4f14be[_0x490086(0x178)]=!0x0,_0x4f14be[_0x490086(0x157)]=null;}),this[_0x48621b(0x14d)](_0x3ed140,!0x0),this[_0x48621b(0x199)][_0x48621b(0x19f)]=-_0x3ed140[_0x48621b(0x215)]+this[_0x48621b(0x1c2)],this[_0x48621b(0x1a7)](_0x3ed140);}this[_0x48621b(0x1ea)][_0x48621b(0x212)][_0x48621b(0x19f)]=_0x3f1a6f,_0x1c020f=this[_0x48621b(0x233)](_0x275836[_0x48621b(0x1f5)],_0x275836[_0x48621b(0x170)]),await this[_0x48621b(0x230)](_0x1c020f),this[_0x48621b(0x14d)](_0x1c020f,_0x4e944d);}_0x275836[_0x48621b(0x1a3)]&&(this[_0x48621b(0x211)][_0x48621b(0x213)](_0x1c020f,_0x275836[_0x48621b(0x1a3)]),this[_0x48621b(0x1ff)]=_0x275836[_0x48621b(0x1a3)]),this[_0x48621b(0x199)][_0x48621b(0x19f)]=_0x3f1a6f+this[_0x48621b(0x1c2)],this[_0x48621b(0x1a7)](_0x1c020f),_0x59a10e[_0x48621b(0x15f)](_0x4ebae6=>{const _0x4ac6e5=_0x48621b,_0x57c796=this[_0x4ac6e5(0x1c4)](_0x4ebae6);return _0x57c796&&!this[_0x4ac6e5(0x18e)][_0x4ac6e5(0x228)](_0x57c796);})[_0x48621b(0x15e)]((_0x4d94c8,_0x4ba028)=>{const _0x2a3957=_0x48621b;_0x4d94c8[_0x2a3957(0x1fb)]=this[_0x2a3957(0x1ea)][_0x2a3957(0x19f)]+_0x4ba028,this[_0x2a3957(0x1e6)](_0x4d94c8);}),this[_0x48621b(0x145)]()?(this[_0x48621b(0x22d)]=0x0,this[_0x48621b(0x21e)](!0x0),await this[_0x48621b(0x231)]()):(this[_0x48621b(0x1b2)]=!0x1,this[_0x48621b(0x19c)]());}[_0x29e759(0x1ad)](_0x558e56,_0x469af9){const _0x39f716=_0x29e759;throw this[_0x39f716(0x1b2)]=!0x0,_0x469af9&&console[_0x39f716(0x14a)](_0x469af9),new _0x863be0(_0x558e56,this[_0x39f716(0x143)]);}[_0x29e759(0x1e6)](_0xdb6a8e){const _0x115db1=_0x29e759;this[_0x115db1(0x23b)][_0x115db1(0x228)](_0xdb6a8e)||(this[_0x115db1(0x23b)][_0x115db1(0x1be)](_0xdb6a8e),this[_0x115db1(0x16b)][_0x115db1(0x1e4)](_0xdb6a8e),this[_0x115db1(0x20e)]||_0x115db1(0x166)==_0xdb6a8e[_0x115db1(0x1c0)]&&!_0xdb6a8e[_0x115db1(0x176)]||this[_0x115db1(0x1d4)]());}[_0x29e759(0x21e)](_0xca1a49=!0x1){const _0x7a44be=_0x29e759;!_0xca1a49&&this[_0x7a44be(0x1b2)]||(this[_0x7a44be(0x1b2)]=!0x0,clearTimeout(this[_0x7a44be(0x242)]),this[_0x7a44be(0x242)]=setTimeout(()=>{const _0x3de9e0=_0x7a44be;this[_0x3de9e0(0x21a)]()[_0x3de9e0(0x148)](_0x5dfbd4=>{const _0x459e8f=_0x3de9e0;_0x5dfbd4&&(this[_0x459e8f(0x19c)](),this[_0x459e8f(0x1b2)]=!0x1);})[_0x3de9e0(0x1ba)](_0x2ac405=>{const _0x3ba610=_0x3de9e0;if(this[_0x3ba610(0x19c)](),this[_0x3ba610(0x1b2)]=!0x1,!function(_0x371134){const _0x3ada56=_0x3ba610;return _0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x196))||_0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x1e8))||_0x371134[_0x3ada56(0x1fc)][_0x3ada56(0x22e)](_0x3ada56(0x1ce));}(_0x2ac405))throw _0x2ac405;});},this[_0x7a44be(0x22d)]));}[_0x29e759(0x231)](){return new Promise(_0x20cab6=>{const _0x520775=_0x44b1;this['on'](_0x520775(0x225),()=>{_0x20cab6();});});}async[_0x29e759(0x21a)](){const _0x1e567c=_0x29e759,_0x5f4852=this[_0x1e567c(0x143)][_0x1e567c(0x1e0)][_0x1e567c(0x1dd)](_0x5b5253);if(this[_0x1e567c(0x164)]()&&(_0x5f4852[_0x1e567c(0x1fe)](),this[_0x1e567c(0x1e3)]=!0x1),!this[_0x1e567c(0x145)]())return!0x0;const _0x3b16eb=[...this[_0x1e567c(0x16b)]];for(const _0xe12b85 of _0x3b16eb)_0xe12b85[_0x1e567c(0x146)]=this[_0x1e567c(0x1ea)][_0x1e567c(0x212)][_0x1e567c(0x23e)](_0xe12b85);const _0x38c5e7=this[_0x1e567c(0x211)][_0x1e567c(0x17e)](_0x3b16eb),_0x33ccb8=F++,_0x4f9226=this[_0x1e567c(0x202)](_0x3b16eb),_0xc20494=await this[_0x1e567c(0x1ec)][_0x1e567c(0x161)](_0x4f9226,_0x4f9226[_0x1e567c(0x1fb)],_0x38c5e7);try{return await this[_0x1e567c(0x151)](_0x3b16eb,_0xc20494,_0x33ccb8);}catch(_0x29dda7){return this[_0x1e567c(0x1ad)](_0x1e567c(0x180),_0x29dda7);}}async[_0x29e759(0x151)](_0x39e66b,_0x370e5a,_0x1227ad){const _0x4622c3=_0x29e759;if(_0x4622c3(0x14a)in _0x370e5a)throw _0x370e5a[_0x4622c3(0x14a)];let _0xffd9d9=!0x1;if(_0x370e5a[_0x4622c3(0x173)]){_0x370e5a[_0x4622c3(0x1a3)]&&(this[_0x4622c3(0x1ff)]=_0x370e5a[_0x4622c3(0x1a3)]),this[_0x4622c3(0x16b)]=this[_0x4622c3(0x16b)][_0x4622c3(0x15f)](_0x3da59e=>!_0x39e66b[_0x4622c3(0x179)](_0x3da59e));for(const _0x3f5d34 of _0x39e66b)_0x3f5d34[_0x4622c3(0x19b)]=_0x4622c3(0x1f0)in _0x370e5a&&_0x370e5a[_0x4622c3(0x1f0)]||void 0x0;q(_0x39e66b,_0x370e5a[_0x4622c3(0x19f)]-_0x39e66b[_0x4622c3(0x215)]),this[_0x4622c3(0x1a7)](_0x39e66b);const _0x61df2d=_0x39e66b[_0x4622c3(0x15f)](_0x589069=>{const _0x5cb281=_0x4622c3;if(!_0x589069[_0x5cb281(0x178)])return!0x1;const _0x10fc21=this[_0x5cb281(0x1c4)](_0x589069);return _0x10fc21&&!this[_0x5cb281(0x18e)][_0x5cb281(0x228)](_0x10fc21);});q(_0x61df2d,this[_0x4622c3(0x1ea)][_0x4622c3(0x19f)]),this[_0x4622c3(0x14d)](_0x61df2d),_0xffd9d9=!0x0,this[_0x4622c3(0x22d)]=this[_0x4622c3(0x162)];}else{const _0x2d6f83=this[_0x4622c3(0x233)](_0x370e5a[_0x4622c3(0x1f5)],_0x370e5a[_0x4622c3(0x170)])[_0x4622c3(0x15f)](_0x278951=>_0x278951[_0x4622c3(0x1fb)]>=this[_0x4622c3(0x1d7)]);_0x2d6f83[_0x4622c3(0x15e)](_0x5c2428=>this[_0x4622c3(0x195)](_0x5c2428)),this[_0x4622c3(0x16b)]=this[_0x4622c3(0x16b)][_0x4622c3(0x15f)](_0x5231b7=>!_0x5231b7[_0x4622c3(0x178)]||!this[_0x4622c3(0x18e)][_0x4622c3(0x228)](this[_0x4622c3(0x1c4)](_0x5231b7))),this[_0x4622c3(0x16b)][_0x4622c3(0x215)]&&q(this[_0x4622c3(0x16b)],this[_0x4622c3(0x16b)][0x0][_0x4622c3(0x1fb)]),await this[_0x4622c3(0x230)](_0x2d6f83),_0xffd9d9=this[_0x4622c3(0x200)](_0x2d6f83,_0x370e5a[_0x4622c3(0x19f)],_0x370e5a[_0x4622c3(0x1a3)]),this[_0x4622c3(0x22d)]=Math[_0x4622c3(0x17c)](this[_0x4622c3(0x22d)]/0x2);}return _0xffd9d9?!this[_0x4622c3(0x145)]()||(this[_0x4622c3(0x21e)](!0x0),!0x1):this[_0x4622c3(0x1ad)](_0x4622c3(0x15a));}[_0x29e759(0x200)](_0x2dc5ef,_0x56930a,_0x344082){const _0x1b49f4=_0x29e759;try{const _0x39abd1={'document':this[_0x1b49f4(0x1ea)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4ee1b0,operationsB:_0xd666e,originalOperations:_0x18f7ab}=_0x499335(_0x2dc5ef,this[_0x1b49f4(0x16b)],_0x39abd1);q(_0x4ee1b0,this[_0x1b49f4(0x1ea)][_0x1b49f4(0x19f)]),q(_0xd666e,_0x56930a);for(const _0x268451 of _0x4ee1b0){const _0x3e55e5=_0x18f7ab[_0x1b49f4(0x1dd)](_0x268451);_0x268451[_0x1b49f4(0x157)]=_0x3e55e5?_0x3e55e5[_0x1b49f4(0x157)]:null;}_0x344082&&(this[_0x1b49f4(0x211)][_0x1b49f4(0x213)](_0x2dc5ef,_0x344082),this[_0x1b49f4(0x1ff)]=_0x344082),this[_0x1b49f4(0x16b)]=[..._0xd666e],this[_0x1b49f4(0x14d)](_0x4ee1b0),this[_0x1b49f4(0x1a7)](_0x2dc5ef);}catch(_0x2e0242){return console[_0x1b49f4(0x14a)](_0x2e0242),!0x1;}return!0x0;}[_0x29e759(0x14d)](_0x52c9af,_0x5813c0=!0x1){const _0x145f58=_0x29e759;this[_0x145f58(0x143)][_0x145f58(0x1fd)][_0x145f58(0x1b5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x21d97a=>{const _0x2f8d6c=_0x145f58;for(const _0x5e943f of _0x52c9af)this[_0x2f8d6c(0x23b)][_0x2f8d6c(0x1be)](_0x5e943f),this[_0x2f8d6c(0x195)](_0x5e943f),_0x21d97a[_0x2f8d6c(0x1f3)][_0x2f8d6c(0x209)](_0x5e943f),this[_0x2f8d6c(0x143)][_0x2f8d6c(0x1fd)][_0x2f8d6c(0x1de)](_0x5e943f);});}[_0x29e759(0x195)](_0x188935){const _0xa21a99=_0x29e759,_0x39e86f=this[_0xa21a99(0x1c4)](_0x188935);_0x39e86f&&this[_0xa21a99(0x18e)][_0xa21a99(0x1be)](_0x39e86f);}[_0x29e759(0x1c4)](_0x4e395c){const _0x40fd3e=_0x29e759;let _0x46ecb5,_0x49b58b;switch(_0x4e395c[_0x40fd3e(0x1c0)]){case _0x40fd3e(0x142):_0x46ecb5=_0x4e395c[_0x40fd3e(0x1f7)][_0x40fd3e(0x197)];break;case _0x40fd3e(0x166):if(_0x49b58b=_0x4e395c[_0x40fd3e(0x1c7)],!_0x49b58b)return null;_0x46ecb5=_0x49b58b[_0x40fd3e(0x197)];break;case _0x40fd3e(0x144):_0x46ecb5=_0x4e395c[_0x40fd3e(0x197)];break;case _0x40fd3e(0x218):_0x46ecb5=_0x4e395c[_0x40fd3e(0x1a0)];break;case _0x40fd3e(0x223):_0x46ecb5=_0x4e395c[_0x40fd3e(0x15b)][_0x40fd3e(0x197)];break;default:return null;}return _0x46ecb5[_0x40fd3e(0x155)];}[_0x29e759(0x1a7)](_0x18b3e6){const _0xe2ba4f=_0x29e759;_0x18b3e6[_0xe2ba4f(0x15e)](_0x4ecc1b=>{const _0x1d5073=_0xe2ba4f,_0xdac1c2=_0x4ecc1b[_0x1d5073(0x224)]();_0xdac1c2[_0x1d5073(0x157)]=_0x4ecc1b[_0x1d5073(0x157)],_0xdac1c2[_0x1d5073(0x178)]=!!_0x4ecc1b[_0x1d5073(0x178)],_0xdac1c2[_0x1d5073(0x19b)]=_0x4ecc1b[_0x1d5073(0x19b)],_0xdac1c2[_0x1d5073(0x1fb)]+=this[_0x1d5073(0x1c2)],_0x4ecc1b[_0x1d5073(0x1b9)]&&this[_0x1d5073(0x169)][_0x1d5073(0x1be)](_0xdac1c2),this[_0x1d5073(0x199)][_0x1d5073(0x209)](_0xdac1c2);});}[_0x29e759(0x184)](_0x55db8b){const _0xa27b8a=_0x29e759,_0x36dbd6=this[_0xa27b8a(0x143)][_0xa27b8a(0x1e0)][_0xa27b8a(0x1dd)](_0xa27b8a(0x18d)),_0x1c72d5=this[_0xa27b8a(0x143)][_0xa27b8a(0x1eb)];_0x55db8b||(_0x55db8b=_0x48f94a(_0x1c72d5,_0xa27b8a(0x1a5))),_0x36dbd6[_0xa27b8a(0x172)](_0x55db8b,{'title':_0x48f94a(_0x1c72d5,_0xa27b8a(0x17a)),'namespace':_0xa27b8a(0x18c)}),this[_0xa27b8a(0x1ef)]=!0x0,clearTimeout(this[_0xa27b8a(0x242)]),this[_0xa27b8a(0x16b)]=[],this[_0xa27b8a(0x143)][_0xa27b8a(0x1e0)][_0xa27b8a(0x1dd)](_0x2c2c8f)[_0xa27b8a(0x149)]();}[_0x29e759(0x1d4)](){const _0x45be21=_0x29e759;this[_0x45be21(0x20e)]||(this[_0x45be21(0x20e)]=this[_0x45be21(0x143)][_0x45be21(0x1e0)][_0x45be21(0x1dd)](_0xb106ea)[_0x45be21(0x1be)](_0x48f94a(this[_0x45be21(0x143)][_0x45be21(0x1eb)],_0x45be21(0x216))));}[_0x29e759(0x19c)](){const _0x14635d=_0x29e759;this[_0x14635d(0x20e)]&&(this[_0x14635d(0x143)][_0x14635d(0x1e0)][_0x14635d(0x1dd)](_0xb106ea)[_0x14635d(0x16c)](this[_0x14635d(0x20e)]),this[_0x14635d(0x20e)]=null);}[_0x29e759(0x202)](_0x2eedbf){const _0x1076d6=_0x29e759,_0x1f4471=_0x2eedbf[_0x1076d6(0x1e7)](_0x2a1039=>_0x2a1039[_0x1076d6(0x21d)]());return this[_0x1076d6(0x207)][_0x1076d6(0x1d9)](_0x1f4471);}[_0x29e759(0x233)](_0x415692,_0xa62862){const _0x1dd8f5=_0x29e759;return this[_0x1dd8f5(0x207)][_0x1dd8f5(0x194)](_0x415692)[_0x1dd8f5(0x1e7)]((_0x46bc2d,_0x3bdb67)=>{const _0x1ea2bf=_0x1dd8f5,_0x2adc25=_0x1ea2bf(0x186)==_0xa62862[_0x3bdb67][_0x1ea2bf(0x1c0)];if(_0x1ea2bf(0x227)==_0x46bc2d[_0x1ea2bf(0x1f8)]){const _0x40eeeb=_0x46bc2d[_0x1ea2bf(0x1f7)][_0x1ea2bf(0x197)];!this[_0x1ea2bf(0x1ea)][_0x1ea2bf(0x238)](_0x40eeeb)&&(this[_0x1ea2bf(0x1ea)][_0x1ea2bf(0x1c3)](_0x1ea2bf(0x1cf),_0x40eeeb)[_0x1ea2bf(0x150)]=!0x1);}const _0x4ba1b1=_0x1d4d83[_0x1ea2bf(0x217)](_0x46bc2d,this[_0x1ea2bf(0x1ea)]);return _0x4ba1b1[_0x1ea2bf(0x146)]=_0x46bc2d[_0x1ea2bf(0x146)],_0x4ba1b1[_0x1ea2bf(0x178)]=_0x2adc25,_0x4ba1b1[_0x1ea2bf(0x157)]=_0x2adc25?null:_0xa62862[_0x3bdb67][_0x1ea2bf(0x20a)],_0x4ba1b1[_0x1ea2bf(0x1b9)]=_0x1ea2bf(0x18b)===_0xa62862[_0x3bdb67][_0x1ea2bf(0x1c0)],_0x4ba1b1[_0x1ea2bf(0x19b)]=_0xa62862[_0x3bdb67][_0x1ea2bf(0x19b)],_0x4ba1b1;});}[_0x29e759(0x1b7)](){const _0x1bf480=_0x29e759;this[_0x1bf480(0x1e3)]=!0x0,this[_0x1bf480(0x164)]()?this[_0x1bf480(0x21e)]():this[_0x1bf480(0x1e3)]=!0x1;}[_0x29e759(0x164)](){const _0x4ebd12=_0x29e759,_0x4703b7=this[_0x4ebd12(0x143)][_0x4ebd12(0x1e0)][_0x4ebd12(0x1dd)](_0x2ea552)[_0x4ebd12(0x154)][_0x4ebd12(0x1dd)](this[_0x4ebd12(0x177)]);return!this[_0x4ebd12(0x143)][_0x4ebd12(0x1cd)]&&!!_0x4703b7&&_0x4703b7[_0x4ebd12(0x215)]>0x1&&this[_0x4ebd12(0x1e3)];}[_0x29e759(0x145)](){const _0x26a21c=_0x29e759;return this[_0x26a21c(0x16b)][_0x26a21c(0x215)]>0x0||this[_0x26a21c(0x164)]();}}l[_0x29e759(0x20f)]=_0x18e670;export default l;class H extends Error{}function q(_0x59c68a,_0x59ef5a){const _0x51979b=_0x29e759;for(const _0x144f4c of _0x59c68a)_0x144f4c[_0x51979b(0x1fb)]=_0x59ef5a++;}class G{constructor(_0x2438d0){const _0x5ae163=_0x29e759;this[_0x5ae163(0x15c)]=_0x2438d0,this[_0x5ae163(0x204)]=new WeakMap();}[_0x29e759(0x17e)](_0x43a876){const _0x8a8eaa=_0x29e759;let _0x551139=_0x43a876[_0x8a8eaa(0x215)];for(;_0x551139--;){const _0x2a8486=_0x43a876[_0x551139];if(!this[_0x8a8eaa(0x15c)][_0x8a8eaa(0x228)](_0x2a8486)){if(!this[_0x8a8eaa(0x204)][_0x8a8eaa(0x228)](_0x2a8486)){const _0x9cbdf8=_0x3ab699()[_0x8a8eaa(0x20d)](0x1,0x12);this[_0x8a8eaa(0x204)][_0x8a8eaa(0x16a)](_0x2a8486,_0x9cbdf8);}return this[_0x8a8eaa(0x204)][_0x8a8eaa(0x1dd)](_0x2a8486);}}}[_0x29e759(0x213)](_0x3968b2,_0x23d36c){const _0x4428ef=_0x29e759;if(!_0x23d36c)return;let _0x57d913=_0x3968b2[_0x4428ef(0x215)];for(;_0x57d913--;){const _0x5b46ae=_0x3968b2[_0x57d913];this[_0x4428ef(0x15c)][_0x4428ef(0x228)](_0x5b46ae)||this[_0x4428ef(0x204)][_0x4428ef(0x16a)](_0x5b46ae,_0x23d36c);}}}
|
|
23
|
+
function _0x3938(_0x2b3230,_0x3ee2d7){const _0x1a1e93=_0x1a1e();return _0x3938=function(_0x39381e,_0x1341b9){_0x39381e=_0x39381e-0x84;let _0x2586f9=_0x1a1e93[_0x39381e];return _0x2586f9;},_0x3938(_0x2b3230,_0x3ee2d7);}const _0x22c009=_0x3938;(function(_0x5c12cc,_0x546a43){const _0xbf3503=_0x3938,_0x2ce34d=_0x5c12cc();while(!![]){try{const _0x4c7746=parseInt(_0xbf3503(0xae))/0x1+parseInt(_0xbf3503(0xd0))/0x2+parseInt(_0xbf3503(0x170))/0x3*(-parseInt(_0xbf3503(0x94))/0x4)+-parseInt(_0xbf3503(0xcd))/0x5+parseInt(_0xbf3503(0xb2))/0x6*(parseInt(_0xbf3503(0x160))/0x7)+-parseInt(_0xbf3503(0x113))/0x8*(parseInt(_0xbf3503(0x183))/0x9)+parseInt(_0xbf3503(0xbf))/0xa*(parseInt(_0xbf3503(0xf5))/0xb);if(_0x4c7746===_0x546a43)break;else _0x2ce34d['push'](_0x2ce34d['shift']());}catch(_0x5c1a2f){_0x2ce34d['push'](_0x2ce34d['shift']());}}}(_0x1a1e,0x6263b));function _0x1a1e(){const _0x4330ed=['createPositionAt','_setUpDataInit','addUser','_knownOperations','collaboration-missing-channelid','152lxubbD','realtimecollaborationclient-initservice-internal-error','destroy','length','cloudServices.bundleVersion','return','_compressOperations','isPremiumPlugin','wereChangesApplied','__className','_handleExternalOperations','history','_offset','_document','editing','connected','move','stopListening','realtimecollaborationclient-init-document-already-initialized','_knownRootNames','lastOperationId','directChange','CommentsOnly','_setPendingAction','metadata','batch','32440HRVXfd','RealTimeCollaborationClient','size','_baseBufferDelay','54420jkeuXz','Permissions','root','addToReconnectionStack','code','ready','addOperation','sessionId','_isDisconnection','enableReadOnlyMode','push','collaboration','_authorId','30bsgQzT','setPermissions','_connectAfterSessionHasBeenFlushed','$root','suppressErrorInCollaboration','_clearPendingAction','realtimecollaborationclient-init-non-existent-root','change:range','off','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','lastSyncVersion','createdAt','409','_initSessionsHandling','3303340JQRbmK','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.','_getOperationsFromInitData','1391514jOXjgQ','isUndoneOperation','cloudDocumentVersion','insert','channelSessions','stop','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getRoot','collaboration.channelId','error','state','then','rootName','message','setIdForTheLastOperation','_handleServerResponse','change:_isEditingAllowed','string','targetPosition','disconnected','_sendBufferedOperations','rtc-offline','selection','document:write','_handleSendingSelectionMarkers','_shouldSendUpdate','apply','_disconnectionOperations','CollaborativeEditingService','_currentBufferDelay','getOperations','_decompressOperations','getConnectedSessions','cloud-services-internal-error:\x20Request\x20timeout.','addRoot','toJSON','includes','5450027oiIZcq','InsertOperation','define','initData','realtimecollaborationclient-initservice-incorrect-server-operation','_isAttached','_operationToId','remove','_connectService','wasUndone','_crash','newRange','cloud-services-internal-error:\x20Not\x20connected.','map','register','Notification','_sendBufferedOperationsDelayed','realtimecollaborationclient-error','404','_getAffectedRoot','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.','catch','round','isDocumentOperation','affectsData','has','removeFromReconnectionStack','_loadRoot','_handleReceivedOperations','attributes','8FkvYKD','plugins','_updateServerHistory','_isLoaded','connection','createUserMarkerOperations','fire','bind','enqueueChange','realtimecollaborationclient-handleserverresponse','_ignoredOperations','getDocumentDetails','lastOperationAcceptedAt','rtc-destroyed','marker','_hasSelectionChanged','PENDING_ACTION_SENDING_DATA','createRange','differ','cs:removeUser','createRoot','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getMany','slice','real-time-collaboration','locale','reconnect','compress','isOfficialPlugin','_handleInitialConnectionData','_handleReconnectionError','_service','fromJSON','_bufferedOperations','disableReadOnlyMode','baseVersion','version','multi-root-editor-root-attributes-no-root','affectedSelectable','_bufferRootLoad','_shouldSendSelectionUpdate','realtimecollaborationclient-sendbufferedoperations','loadRoot','model','requires','permissions','_waitUntilSynced','add','_handleReconnectionResponse','serverHistory','_lastSyncedOperationId','_channelId','pluginName','_applyOperationsSet','init','_isConnected','_isPendingUpdate','lastDocumentSession','_disconnectService','type','end','reset','get','sessionAdd:','data','decompress','keys','path','getUser','_addKnownRoot','getOperationAuthor','isReadOnly','isEnabled','high','finally','sendOperations','filter','49ylWNjH','config','userId','change:_isPendingUpdate','_fetchMissingUsers','showWarning','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','connect','rootsAttributes','_isEditingAllowed','realtimecollaborationclient-init-connection-failed','sessionCreatedAt','unregister','set','mySessionId','start','48147foKMUz','_isInit','Synchronization\x20issue','view','listenTo','_operationIdentifier','markers','roots','currentDocumentSession','from','document','_saveOperationInBuffer','_compressor','_refreshUserSelectionMarkers','_initThrowingOnDataSet','change:hasDomSelection','position','_pendingAction','_sendBufferedOperationsDelayId','5440725JHaNsx','forEach','editor','createPositionFromPath','operationsReceived','disconnect','getIdOfTheLastOperation','_hasSynchronizationProblem','offset','startsWith','parse','addRootAttribute','reconnection:\x20flushed\x20session','_lastServerVersion','realtimecollaborationclient-init-session-connection-error','clone','entries','applyOperation'];_0x1a1e=function(){return _0x4330ed;};return _0x1a1e();}import{Plugin as _0x847389,PendingActions as _0x5f58ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x51dab0,version as _0x2db2ac,uid as _0x55b5fc}from'ckeditor5/src/utils.js';import{Notification as _0x576693}from'ckeditor5/src/ui.js';import{transformSets as _0x2446b9,NoOperation as _0x6a9e0d,InsertOperation as _0x26154a,MarkerOperation as _0x2e4b2a,RootAttributeOperation as _0x3a10e0,OperationFactory as _0x21e835,History as _0x49d512}from'ckeditor5/src/engine.js';import _0x1bb309 from'./websocketgateway.js';import _0x565542 from'./sessions.js';import _0x322f33 from'./usermarkers.js';import{getTranslation as _0x9dcb6d}from'../common-translations.js';import{Compressor as _0x35d6a0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x44a3e1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x44662,CollaborativeEditingService as _0x23a105}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x847389{static get[_0x22c009(0x13f)](){return[_0x1bb309,_0x565542,_0x322f33,_0x5f58ef,_0x44a3e1,_0x576693];}static get[_0x22c009(0x147)](){const _0x12c654=_0x22c009;return _0x12c654(0xaf);}static get[_0x22c009(0x12f)](){return!0x0;}static get[_0x22c009(0x9b)](){return!0x0;}get[_0x22c009(0xd2)](){const _0x429a6a=_0x22c009;return this[_0x429a6a(0x8a)]+this[_0x429a6a(0xa0)];}get[_0x22c009(0x8a)](){const _0x31d200=_0x22c009;return this[_0x31d200(0x144)][_0x31d200(0x137)]-this[_0x31d200(0xa0)];}get[_0x22c009(0xc9)](){const _0x29259a=_0x22c009,_0x57b723=this[_0x29259a(0x144)][_0x29259a(0xee)]();for(let _0x1e4b9d=_0x57b723[_0x29259a(0x97)]-0x1;_0x1e4b9d>=0x0;_0x1e4b9d--){const _0x143c93=_0x57b723[_0x1e4b9d];if(!this[_0x29259a(0xeb)][_0x29259a(0x10e)](_0x143c93))return _0x143c93[_0x29259a(0x136)]+0x1-this[_0x29259a(0xa0)];}return 0x0;}constructor(_0xe06d90){const _0x41e096=_0x22c009;if(super(_0xe06d90),this[_0x41e096(0xa0)]=0x0,this[_0x41e096(0xb9)]=null,this[_0x41e096(0x144)]=new _0x49d512(),this[_0x41e096(0x185)][_0x41e096(0x161)][_0x41e096(0xf7)](_0x41e096(0xbd),{}),this[_0x41e096(0x146)]=this[_0x41e096(0x185)][_0x41e096(0x161)][_0x41e096(0x151)](_0x41e096(0xd8)),!this[_0x41e096(0x146)])throw new _0x51dab0(_0x41e096(0x93),this);const _0x5106cf=_0xe06d90[_0x41e096(0x161)][_0x41e096(0x151)](_0x41e096(0x98))||_0x2db2ac;this[_0x41e096(0x132)]=new l[(_0x41e096(0xec))](_0x5106cf,this[_0x41e096(0x146)]),this[_0x41e096(0xa1)]=this[_0x41e096(0x185)][_0x41e096(0x13e)][_0x41e096(0x17a)],this[_0x41e096(0x17c)]=new _0x35d6a0(),this[_0x41e096(0x134)]=[],this[_0x41e096(0x92)]=new WeakSet(),this[_0x41e096(0xa7)]=new Set(),this[_0x41e096(0x16d)](_0x41e096(0x14b),!0x1),this[_0x41e096(0x16d)](_0x41e096(0x84),!0x1),this[_0x41e096(0x181)]=null,this[_0x41e096(0x122)]=!0x1,this[_0x41e096(0x182)]=null,this[_0x41e096(0xb1)]=0x12c,this[_0x41e096(0xed)]=this[_0x41e096(0xb1)],this[_0x41e096(0x145)]=null,this[_0x41e096(0xeb)]=new WeakSet(),this[_0x41e096(0x175)]=new W(this[_0x41e096(0xeb)]);}[_0x22c009(0x149)](){const _0x5d3719=_0x22c009,_0xe8584e=this[_0x5d3719(0x185)],_0x406f1e=_0xe8584e[_0x5d3719(0x114)][_0x5d3719(0x151)](_0x44a3e1),_0xe48060=_0xe8584e[_0x5d3719(0x114)][_0x5d3719(0x151)](_0x1bb309);this[_0x5d3719(0x174)](_0x406f1e,_0x5d3719(0x159),(_0x5160d7,_0x1bd280)=>{const _0x2313de=_0x5d3719,_0x4bcdd3=_0x1bd280[0x0];_0x4bcdd3[_0x2313de(0xbe)]&&(_0x5160d7[_0x2313de(0x99)]=_0x406f1e[_0x2313de(0x157)](_0x4bcdd3[_0x2313de(0xbe)]),_0x5160d7[_0x2313de(0xd5)]()),null===_0x4bcdd3[_0x2313de(0xbe)]&&(_0x5160d7[_0x2313de(0x99)]=null,_0x5160d7[_0x2313de(0xd5)]());},{'priority':_0x5d3719(0x15c)}),this[_0x5d3719(0x174)](_0xe8584e[_0x5d3719(0x13e)][_0x5d3719(0x17a)][_0x5d3719(0xe6)],_0x5d3719(0xc6),(_0x5a7e7d,_0x400c7a)=>{const _0x520585=_0x5d3719;_0x400c7a[_0x520585(0xa9)]&&this[_0x520585(0x17d)]();}),this[_0x5d3719(0x174)](_0xe8584e[_0x5d3719(0xa2)][_0x5d3719(0x173)],_0x5d3719(0x17f),()=>{const _0x134f91=_0x5d3719;this[_0x134f91(0x17d)]();}),this[_0x5d3719(0x17e)](),_0xe8584e[_0x5d3719(0x13e)]['on'](_0x5d3719(0x8e),(_0x544c2b,_0x1b78a4)=>{const _0x79c295=_0x5d3719,_0x1d306c=_0x1b78a4[0x0];_0x1d306c[_0x79c295(0x10c)]&&(this[_0x79c295(0x17b)](_0x1d306c),this[_0x79c295(0xe9)]()&&this[_0x79c295(0x105)]());}),this[_0x5d3719(0x90)](),this[_0x5d3719(0x11a)](_0x5d3719(0x169))['to'](_0xe48060,_0x5d3719(0xda),this,_0x5d3719(0x84),(_0x4cd3d0,_0x25f31b)=>_0x5d3719(0xa3)===_0x4cd3d0&&!_0x25f31b),this['on'](_0x5d3719(0xe0),()=>{const _0x45e188=_0x5d3719;this[_0x45e188(0x169)]?_0xe8584e[_0x45e188(0x135)](_0x45e188(0xe5)):_0xe8584e[_0x45e188(0xbb)](_0x45e188(0xe5));}),this[_0x5d3719(0x169)]?_0xe8584e[_0x5d3719(0x135)](_0x5d3719(0xe5)):_0xe8584e[_0x5d3719(0xbb)](_0x5d3719(0xe5)),this[_0x5d3719(0x16d)](_0x5d3719(0x14a),!0x1);}async[_0x22c009(0x12d)](){const _0x4fd8bb=_0x22c009,_0x2c95c5=this[_0x4fd8bb(0x185)][_0x4fd8bb(0x114)][_0x4fd8bb(0x151)](_0x565542),_0x24c6fd=this[_0x4fd8bb(0x185)][_0x4fd8bb(0x114)][_0x4fd8bb(0x151)](_0x1bb309);try{this[_0x4fd8bb(0x14b)]=!0x0,_0x2c95c5[_0x4fd8bb(0x16c)](this[_0x4fd8bb(0x146)]);const _0x474dd9=await this[_0x4fd8bb(0x132)][_0x4fd8bb(0x12d)](_0x24c6fd[_0x4fd8bb(0x117)],this[_0x4fd8bb(0xc9)]);await this[_0x4fd8bb(0x143)](_0x474dd9)&&(this[_0x4fd8bb(0x14b)]=!0x1,this[_0x4fd8bb(0xc4)]());const _0x3327a9=await this[_0x4fd8bb(0x132)][_0x4fd8bb(0xf0)]();_0x2c95c5[_0x4fd8bb(0x103)](this[_0x4fd8bb(0x146)],_0x3327a9),this[_0x4fd8bb(0xe8)](),this[_0x4fd8bb(0x14a)]=!0x0;}catch(_0x35b88a){if(function(_0x51d003){const _0x73c3dd=_0x4fd8bb;return _0x73c3dd(0x107)===_0x51d003[_0x73c3dd(0xb6)];}(_0x35b88a)&&this[_0x4fd8bb(0xb9)])await this[_0x4fd8bb(0xc1)]();else{if(function(_0x1cea5c){const _0x236cc2=_0x4fd8bb;return _0x236cc2(0xcb)===_0x1cea5c[_0x236cc2(0xb6)];}(_0x35b88a)){const _0x5dd49d=_0x9dcb6d(this[_0x4fd8bb(0x185)][_0x4fd8bb(0x12c)],_0x4fd8bb(0xd6));this[_0x4fd8bb(0x131)](_0x5dd49d);}else{if(!(_0x35b88a instanceof z))throw _0x35b88a;this[_0x4fd8bb(0x131)]();}}}}[_0x22c009(0x96)](){const _0x48a215=_0x22c009,_0x5b1581=this[_0x48a215(0x185)][_0x48a215(0x114)][_0x48a215(0x151)](_0x1bb309),_0x18dc0c=this[_0x48a215(0x185)][_0x48a215(0x114)][_0x48a215(0x151)](_0x565542);this[_0x48a215(0x185)][_0x48a215(0xbb)](_0x48a215(0x120)),_0x18dc0c[_0x48a215(0xd4)][_0x48a215(0x10e)](this[_0x48a215(0x146)])&&_0x18dc0c[_0x48a215(0x16c)](this[_0x48a215(0x146)]),_0x5b1581[_0x48a215(0x10f)](this),this[_0x48a215(0x14d)](),super[_0x48a215(0x96)]();}async[_0x22c009(0x143)](_0x1dd09f){const _0x4d7d31=_0x22c009;if(this[_0x4d7d31(0xb9)]!==_0x1dd09f[_0x4d7d31(0xb9)]&&this[_0x4d7d31(0x145)]!==_0x1dd09f[_0x4d7d31(0xa8)])throw new z();return this[_0x4d7d31(0xb9)]=_0x1dd09f[_0x4d7d31(0xb9)],this[_0x4d7d31(0xdf)]([],{..._0x1dd09f,'wereChangesApplied':!0x1,'data':_0x1dd09f[_0x4d7d31(0x153)]},_0x4d7d31(0x12d));}async[_0x22c009(0xfd)](_0x3b359e,_0x2c514f=!0x1){const _0xe1794e=_0x22c009,{connection:_0x354055}=this[_0xe1794e(0x185)][_0xe1794e(0x114)][_0xe1794e(0x151)](_0x1bb309);l[_0xe1794e(0xec)][_0xe1794e(0xf0)](_0x354055,this[_0xe1794e(0x146)])[_0xe1794e(0xdb)](_0x1da887=>this[_0xe1794e(0xcc)](_0x1da887))[_0xe1794e(0x10a)](_0xf16130=>{const _0x1f7e24=_0xe1794e;this[_0x1f7e24(0xff)](_0x1f7e24(0x8b),_0xf16130);}),this[_0xe1794e(0x174)](this[_0xe1794e(0x132)],_0xe1794e(0x187),this[_0xe1794e(0x111)][_0xe1794e(0x11a)](this)),this[_0xe1794e(0x174)](this[_0xe1794e(0x132)],_0xe1794e(0xd9),(_0x275260,_0x4549cb)=>{const _0x33a395=_0xe1794e;this[_0x33a395(0xff)](_0x33a395(0x95),_0x4549cb);}),this[_0xe1794e(0x174)](this[_0xe1794e(0x132)],_0xe1794e(0xe3),()=>{const _0x462804=_0xe1794e;this[_0x462804(0x14a)]=!0x1;});const _0x1a2896=this[_0xe1794e(0x175)][_0xe1794e(0x189)](_0x3b359e);this[_0xe1794e(0x14b)]=!0x0;const _0x3f4b93=await this[_0xe1794e(0x132)][_0xe1794e(0x167)](_0x354055,this[_0xe1794e(0x9a)](_0x3b359e),_0x1a2896);if(this[_0xe1794e(0xb9)]=_0x3f4b93[_0xe1794e(0xb9)],_0x2c514f){if(!_0x3f4b93[_0xe1794e(0x9c)])return void this[_0xe1794e(0x131)]();this[_0xe1794e(0x14b)]=!0x1,this[_0xe1794e(0xc4)](),this[_0xe1794e(0x144)][_0xe1794e(0x150)](),this[_0xe1794e(0xa0)]=_0x3f4b93[_0xe1794e(0x85)],this[_0xe1794e(0x144)][_0xe1794e(0x137)]=this[_0xe1794e(0xa0)],await this[_0xe1794e(0xdf)](_0x3b359e,_0x3f4b93,_0xe1794e(0x89));}else await this[_0xe1794e(0x130)](_0x3f4b93,_0x3b359e);this[_0xe1794e(0xe8)](),this[_0xe1794e(0x14a)]=!0x0;}[_0x22c009(0xe8)](){const _0x5d8d75=_0x22c009,_0x57f8ed=this[_0x5d8d75(0x185)][_0x5d8d75(0x114)][_0x5d8d75(0x151)](_0x565542),_0x3b3f2f=this[_0x5d8d75(0x185)][_0x5d8d75(0x114)][_0x5d8d75(0x151)](_0x322f33),_0x160581=_0x57f8ed[_0x5d8d75(0xd4)][_0x5d8d75(0x151)](this[_0x5d8d75(0x146)]);_0x160581&&_0x160581[_0x5d8d75(0x97)]>0x1?_0x3b3f2f[_0x5d8d75(0x118)]():this[_0x5d8d75(0x174)](_0x57f8ed,_0x5d8d75(0x152)+this[_0x5d8d75(0x146)],()=>{const _0x360e96=_0x5d8d75;0x2===_0x57f8ed[_0x360e96(0xd4)][_0x360e96(0x151)](this[_0x360e96(0x146)])[_0x360e96(0x97)]&&_0x3b3f2f[_0x360e96(0x118)]();});}async[_0x22c009(0x111)](_0xb9adb7,_0x2777bb,_0x5138b9,_0x35b769){const _0x2cc55c=_0x22c009;if(!this[_0x2cc55c(0x14b)]&&this[_0x2cc55c(0xa1)][_0x2cc55c(0x137)]==_0x2777bb){const _0x394f1a=this[_0x2cc55c(0xef)](_0x5138b9,_0x35b769);await this[_0x2cc55c(0x164)](_0x394f1a),this[_0x2cc55c(0x9e)](_0x394f1a,_0x2777bb,_0x5138b9[_0x2cc55c(0xa8)])||this[_0x2cc55c(0xff)](_0x2cc55c(0xf9));}}async[_0x22c009(0xc1)](){const _0x2fcc6d=_0x22c009;this[_0x2fcc6d(0x14d)]();const {locale:_0x1da1c9}=this[_0x2fcc6d(0x185)];let _0x150537;try{_0x150537=await this[_0x2fcc6d(0x132)][_0x2fcc6d(0x11e)]();}catch(_0x1b71f8){const _0x31c5ae=_0x9dcb6d(_0x1da1c9,_0x2fcc6d(0xc8));return void this[_0x2fcc6d(0x131)](_0x31c5ae);}const _0x11d9d3=_0x150537[_0x2fcc6d(0x178)]||_0x150537[_0x2fcc6d(0x14c)];if(this[_0x2fcc6d(0x145)]===_0x11d9d3[_0x2fcc6d(0xa8)])await this[_0x2fcc6d(0xfd)](this[_0x2fcc6d(0x185)][_0x2fcc6d(0x13e)][_0x2fcc6d(0x17a)][_0x2fcc6d(0x9f)][_0x2fcc6d(0xee)](),!0x0);else{const _0x3d65bb=_0x9dcb6d(_0x1da1c9,_0x2fcc6d(0xce));this[_0x2fcc6d(0x131)](_0x3d65bb);}}[_0x22c009(0x14d)](){const _0x28e4ec=_0x22c009;this[_0x28e4ec(0x132)][_0x28e4ec(0x188)](),this[_0x28e4ec(0x134)]=[],clearTimeout(this[_0x28e4ec(0x182)]),this[_0x28e4ec(0xa5)](this[_0x28e4ec(0x132)]);}[_0x22c009(0xcc)](_0x28f908){const _0x599ce0=_0x22c009,_0x314288=this[_0x599ce0(0x185)][_0x599ce0(0x114)][_0x599ce0(0x151)](_0x565542);this[_0x599ce0(0x174)](_0x314288,_0x599ce0(0x152)+this[_0x599ce0(0x146)],(_0x318692,{session:_0x1fb2b4})=>{const _0x54967b=_0x599ce0;if(_0x1fb2b4['id']===_0x314288[_0x54967b(0x16e)]){_0x318692[_0x54967b(0xc7)]();const _0x4934cd=this[_0x54967b(0x185)][_0x54967b(0x114)][_0x54967b(0x10e)](_0x54967b(0xaa))&&this[_0x54967b(0x185)][_0x54967b(0x114)][_0x54967b(0x151)](_0x54967b(0xaa));let _0x5c5ae6=_0x1fb2b4[_0x54967b(0x140)];_0x4934cd&&_0x4934cd[_0x54967b(0x15b)]&&(_0x5c5ae6=_0x5c5ae6[_0x54967b(0x15f)](_0x3ef3c4=>_0x54967b(0xe7)!==_0x3ef3c4)),this[_0x54967b(0x185)][_0x54967b(0x114)][_0x54967b(0x151)](_0x54967b(0xb3))[_0x54967b(0xc0)](_0x5c5ae6,this[_0x54967b(0x146)]);}}),_0x314288[_0x599ce0(0x103)](this[_0x599ce0(0x146)],_0x28f908);}[_0x22c009(0x17e)](){const _0x373723=_0x22c009,_0x1ebc4e=this[_0x373723(0x185)][_0x373723(0x153)][_0x373723(0x16d)];this[_0x373723(0x185)][_0x373723(0x153)][_0x373723(0x16d)]=(..._0x24c339)=>{const _0x15a925=_0x373723;if(!_0x24c339[_0x24c339[_0x15a925(0x97)]-0x1][_0x15a925(0xc3)])throw new _0x51dab0(_0x15a925(0x128),this);_0x1ebc4e[_0x15a925(0xea)](this[_0x15a925(0x185)][_0x15a925(0x153)],_0x24c339);};}[_0x22c009(0x90)](){const _0x26f0e7=_0x22c009;this[_0x26f0e7(0x185)][_0x26f0e7(0x153)]['on'](_0x26f0e7(0x149),(_0x491fae,[_0x3177ed])=>{const _0x37f8f1=_0x26f0e7;if(this[_0x37f8f1(0xa1)][_0x37f8f1(0x137)])throw new _0x51dab0(_0x37f8f1(0xa6),this);_0x491fae[_0x37f8f1(0xd5)](),this[_0x37f8f1(0xab)]();const _0x3641df=this[_0x37f8f1(0x185)][_0x37f8f1(0x161)][_0x37f8f1(0x151)](_0x37f8f1(0x168)),_0x398a54=this[_0x37f8f1(0xcf)](_0x3177ed,_0x3641df);0x0==_0x398a54[_0x37f8f1(0x97)]&&_0x398a54[_0x37f8f1(0xbc)](new _0x6a9e0d(0x0)),_0x491fae[_0x37f8f1(0x99)]=this[_0x37f8f1(0xfd)](_0x398a54)[_0x37f8f1(0xdb)](()=>{const _0x41a439=_0x37f8f1;this[_0x41a439(0x185)][_0x41a439(0x114)][_0x41a439(0x151)](_0x1bb309)[_0x41a439(0xb5)](this),this[_0x41a439(0x185)][_0x41a439(0x153)][_0x41a439(0x119)](_0x41a439(0xb7));})[_0x37f8f1(0x10a)](_0x281543=>this[_0x37f8f1(0xff)](_0x37f8f1(0x16a),_0x281543))[_0x37f8f1(0x15d)](()=>this[_0x37f8f1(0xc4)]());},{'priority':_0x26f0e7(0x15c)}),this[_0x26f0e7(0x185)]['on'](_0x26f0e7(0x13d),async(_0x40d2fa,[_0x146e74,_0x252def])=>{const _0x15b173=_0x26f0e7;_0x40d2fa[_0x15b173(0xd5)]();const _0x3a00d5=this[_0x15b173(0x185)][_0x15b173(0x13e)][_0x15b173(0x17a)][_0x15b173(0xd7)](_0x146e74);if(!this[_0x15b173(0xa7)][_0x15b173(0x10e)](_0x146e74)){const _0x2ee942=_0x252def&&_0x252def[_0x15b173(0x153)]?_0x252def[_0x15b173(0x153)]:'',_0x38337f=_0x252def&&_0x252def[_0x15b173(0x112)]?_0x252def[_0x15b173(0x112)]:{};await this[_0x15b173(0x110)](_0x146e74,_0x2ee942,_0x38337f);}this[_0x15b173(0x185)][_0x15b173(0x13e)][_0x15b173(0x11b)]({'isUndoable':!0x1},()=>{const _0x1c6462=_0x15b173;_0x3a00d5[_0x1c6462(0x116)]=!0x0,this[_0x1c6462(0x185)][_0x1c6462(0x13e)][_0x1c6462(0x17a)][_0x1c6462(0x125)][_0x1c6462(0x13a)](_0x3a00d5);});},{'priority':_0x26f0e7(0x15c)});}async[_0x22c009(0x164)](_0x192719){const _0x2822f9=_0x22c009,_0x1864bd=this[_0x2822f9(0x185)][_0x2822f9(0x114)][_0x2822f9(0x151)](_0x44a3e1),{connection:_0x3ec907}=this[_0x2822f9(0x185)][_0x2822f9(0x114)][_0x2822f9(0x151)](_0x1bb309),_0x4c66de=new Set();for(const _0x5e3cd4 of _0x192719){const _0x455f13=_0x5e3cd4[_0x2822f9(0xbe)];_0x455f13&&!_0x1864bd[_0x2822f9(0x157)](_0x455f13)&&_0x4c66de[_0x2822f9(0x142)](_0x455f13);}if(0x0===_0x4c66de[_0x2822f9(0xb0)])return;const _0x15e631=await _0x44662[_0x2822f9(0x129)](_0x3ec907,Array[_0x2822f9(0x179)](_0x4c66de));for(const _0x43aed0 of _0x15e631)_0x1864bd[_0x2822f9(0x157)](_0x43aed0['id'])||_0x1864bd[_0x2822f9(0x91)](_0x43aed0);}[_0x22c009(0xcf)](_0x3c52a0,_0x4eeffd={}){const _0x94a324=_0x22c009,_0x4c7e2a=this[_0x94a324(0x185)][_0x94a324(0x13e)],_0x39269d=[];let _0x5057bb=0x0;const _0x16beea=_0x94a324(0xe1)==typeof _0x3c52a0?{'main':_0x3c52a0}:_0x3c52a0;for(const _0x402bd9 of Object[_0x94a324(0x155)](_0x16beea)){if(!this[_0x94a324(0xa1)][_0x94a324(0x177)][_0x94a324(0x10e)](_0x402bd9))throw new _0x51dab0(_0x94a324(0xc5),this);const _0x2fe7a2=this[_0x94a324(0x185)][_0x94a324(0x153)][_0x94a324(0x87)](_0x16beea[_0x402bd9]),_0x195850=this[_0x94a324(0xa1)][_0x94a324(0xd7)](_0x402bd9),_0x19bf38=new _0x26154a(_0x4c7e2a[_0x94a324(0x8f)](_0x195850,0x0),_0x2fe7a2,_0x5057bb++);_0x39269d[_0x94a324(0xbc)](_0x19bf38);for(const [_0x484e06,_0x3e23dc]of _0x2fe7a2[_0x94a324(0x176)]){const _0x2dddb1=_0x4c7e2a[_0x94a324(0x124)](_0x4c7e2a[_0x94a324(0x186)](_0x195850,_0x3e23dc[_0x94a324(0x16f)][_0x94a324(0x156)][_0x94a324(0x12a)]()),_0x4c7e2a[_0x94a324(0x186)](_0x195850,_0x3e23dc[_0x94a324(0x14f)][_0x94a324(0x156)][_0x94a324(0x12a)]())),_0x1b79de=new _0x2e4b2a(_0x484e06,null,_0x2dddb1,_0x4c7e2a[_0x94a324(0x176)],!0x0,_0x5057bb++);_0x39269d[_0x94a324(0xbc)](_0x1b79de);}}if(_0x4eeffd)for(const [_0x4ebe7b,_0x45071c]of Object[_0x94a324(0x8d)](_0x4eeffd)){const _0x1bb6fb=_0x4c7e2a[_0x94a324(0x17a)][_0x94a324(0xd7)](_0x4ebe7b);if(!_0x1bb6fb)throw new _0x51dab0(_0x94a324(0x138),null);for(const [_0x339ea6,_0x21ccf9]of Object[_0x94a324(0x8d)](_0x45071c))if(null!==_0x21ccf9){const _0x4aec30=new _0x3a10e0(_0x1bb6fb,_0x339ea6,null,_0x21ccf9,_0x5057bb++);_0x39269d[_0x94a324(0xbc)](_0x4aec30);}}return _0x39269d;}async[_0x22c009(0x110)](_0x4f1db9,_0x7047c3,_0x4a26ca){const _0x17524f=_0x22c009;this[_0x17524f(0xcf)]({[_0x4f1db9]:_0x7047c3},{[_0x4f1db9]:_0x4a26ca})[_0x17524f(0x184)]((_0x13bca2,_0x5ad3d2)=>{const _0x48d701=_0x17524f;_0x13bca2[_0x48d701(0x136)]=this[_0x48d701(0xa1)][_0x48d701(0x137)]+_0x5ad3d2,_0x13bca2[_0x48d701(0x171)]=!0x0,this[_0x48d701(0x17b)](_0x13bca2);}),this[_0x17524f(0x105)](),await this[_0x17524f(0x141)]();}async[_0x22c009(0x130)](_0x1c3e0a,_0x42d6b6){const _0x4c897d=_0x22c009;let _0x3d167a;this[_0x4c897d(0xa0)]=_0x1c3e0a[_0x4c897d(0x85)];const _0xafec1a=_0x1c3e0a[_0x4c897d(0x9c)]&&!_0x1c3e0a[_0x4c897d(0xf8)],_0x55bcdd=_0xafec1a?0x0:_0x1c3e0a[_0x4c897d(0x153)][_0x4c897d(0x136)];if(_0x42d6b6[_0x4c897d(0x184)](_0x5ba1e8=>{const _0x41321e=_0x4c897d;_0x5ba1e8[_0x41321e(0x171)]=!0x0,_0x5ba1e8[_0x41321e(0xca)]=_0x1c3e0a[_0x41321e(0x16b)],_0x5ba1e8[_0x41321e(0xbe)]=null;}),_0xafec1a)_0x3d167a=_0x42d6b6,this[_0x4c897d(0x148)](_0x3d167a,_0xafec1a);else{if(_0x1c3e0a[_0x4c897d(0xf8)]){const _0x2fbd7c=this[_0x4c897d(0xcf)](_0x1c3e0a[_0x4c897d(0xf8)]);this[_0x4c897d(0xa1)][_0x4c897d(0x9f)][_0x4c897d(0x137)]=-_0x2fbd7c[_0x4c897d(0x97)],_0x2fbd7c[_0x4c897d(0x184)](_0x13d7a2=>{const _0x2f7d71=_0x4c897d;_0x13d7a2[_0x2f7d71(0x136)]-=_0x2fbd7c[_0x2f7d71(0x97)],_0x13d7a2[_0x2f7d71(0xca)]=_0x1c3e0a[_0x2f7d71(0x16b)],_0x13d7a2[_0x2f7d71(0x171)]=!0x0,_0x13d7a2[_0x2f7d71(0xbe)]=null;}),this[_0x4c897d(0x148)](_0x2fbd7c,!0x0),this[_0x4c897d(0x144)][_0x4c897d(0x137)]=-_0x2fbd7c[_0x4c897d(0x97)]+this[_0x4c897d(0xa0)],this[_0x4c897d(0x115)](_0x2fbd7c);}this[_0x4c897d(0xa1)][_0x4c897d(0x9f)][_0x4c897d(0x137)]=_0x55bcdd,_0x3d167a=this[_0x4c897d(0xef)](_0x1c3e0a[_0x4c897d(0x153)],_0x1c3e0a[_0x4c897d(0xac)]),await this[_0x4c897d(0x164)](_0x3d167a),this[_0x4c897d(0x148)](_0x3d167a,_0xafec1a);}_0x1c3e0a[_0x4c897d(0xa8)]&&(this[_0x4c897d(0x175)][_0x4c897d(0xde)](_0x3d167a,_0x1c3e0a[_0x4c897d(0xa8)]),this[_0x4c897d(0x145)]=_0x1c3e0a[_0x4c897d(0xa8)]),this[_0x4c897d(0x144)][_0x4c897d(0x137)]=_0x55bcdd+this[_0x4c897d(0xa0)],this[_0x4c897d(0x115)](_0x3d167a),_0x42d6b6[_0x4c897d(0x15f)](_0x5b66d2=>{const _0x3058f7=_0x4c897d,_0x193aef=this[_0x3058f7(0x108)](_0x5b66d2);return _0x193aef&&!this[_0x3058f7(0xa7)][_0x3058f7(0x10e)](_0x193aef);})[_0x4c897d(0x184)]((_0xb4adef,_0x51f38b)=>{const _0x129fe8=_0x4c897d;_0xb4adef[_0x129fe8(0x136)]=this[_0x129fe8(0xa1)][_0x129fe8(0x137)]+_0x51f38b,this[_0x129fe8(0x17b)](_0xb4adef);}),this[_0x4c897d(0xe9)]()?(this[_0x4c897d(0xed)]=0x0,this[_0x4c897d(0x105)](!0x0),await this[_0x4c897d(0x141)]()):(this[_0x4c897d(0x14b)]=!0x1,this[_0x4c897d(0xc4)]());}[_0x22c009(0xff)](_0x4e7d90,_0x11f4e0,_0x28d151){const _0x591087=_0x22c009;throw this[_0x591087(0x14b)]=!0x0,_0x11f4e0&&console[_0x591087(0xd9)](_0x11f4e0),_0x28d151&&this[_0x591087(0x185)][_0x591087(0xbb)](_0x591087(0x106)),new _0x51dab0(_0x4e7d90,this[_0x591087(0x185)]);}[_0x22c009(0x17b)](_0x437aeb){const _0x2b70de=_0x22c009;this[_0x2b70de(0x92)][_0x2b70de(0x10e)](_0x437aeb)||(this[_0x2b70de(0x92)][_0x2b70de(0x142)](_0x437aeb),this[_0x2b70de(0x134)][_0x2b70de(0xbc)](_0x437aeb),this[_0x2b70de(0x181)]||_0x2b70de(0x121)==_0x437aeb[_0x2b70de(0x14e)]&&!_0x437aeb[_0x2b70de(0x10d)]||this[_0x2b70de(0xab)]());}[_0x22c009(0x105)](_0x8b1912=!0x1){const _0x1035e2=_0x22c009;!_0x8b1912&&this[_0x1035e2(0x14b)]||(this[_0x1035e2(0x14b)]=!0x0,clearTimeout(this[_0x1035e2(0x182)]),this[_0x1035e2(0x182)]=setTimeout(()=>{const _0xda3356=_0x1035e2;this[_0xda3356(0xe4)]()[_0xda3356(0xdb)](_0x4fb54e=>{const _0xf43dcb=_0xda3356;_0x4fb54e&&(this[_0xf43dcb(0xc4)](),this[_0xf43dcb(0x14b)]=!0x1);})[_0xda3356(0x10a)](_0x4ec4fa=>{const _0x1a1ddb=_0xda3356;this[_0x1a1ddb(0xc4)](),this[_0x1a1ddb(0x14b)]=!0x1,function(_0x194f01){const _0x77ad8f=_0x1a1ddb;return _0x194f01[_0x77ad8f(0xdd)][_0x77ad8f(0x86)](_0x77ad8f(0x101))||_0x194f01[_0x77ad8f(0xdd)][_0x77ad8f(0x86)](_0x77ad8f(0x166))||_0x194f01[_0x77ad8f(0xdd)][_0x77ad8f(0x86)](_0x77ad8f(0xf1));}(_0x4ec4fa)||this[_0x1a1ddb(0xff)](_0x4ec4fa[_0x1a1ddb(0xdd)],_0x4ec4fa,!0x0);});},this[_0x1035e2(0xed)]));}[_0x22c009(0x141)](){return new Promise(_0x29651e=>{const _0x901e03=_0x3938;this['on'](_0x901e03(0x163),()=>{_0x29651e();});});}async[_0x22c009(0xe4)](){const _0x1f394a=_0x22c009,_0x3c906c=this[_0x1f394a(0x185)][_0x1f394a(0x114)][_0x1f394a(0x151)](_0x322f33);if(this[_0x1f394a(0x13b)]()&&(_0x3c906c[_0x1f394a(0x118)](),this[_0x1f394a(0x122)]=!0x1),!this[_0x1f394a(0xe9)]())return!0x0;const _0x31a666=[...this[_0x1f394a(0x134)]];for(const _0x57436e of _0x31a666)_0x57436e[_0x1f394a(0xfe)]=this[_0x1f394a(0xa1)][_0x1f394a(0x9f)][_0x1f394a(0xd1)](_0x57436e);const _0x960a9e=this[_0x1f394a(0x175)][_0x1f394a(0x189)](_0x31a666),_0x5c9f02=M++,_0x4a8ff4=this[_0x1f394a(0x9a)](_0x31a666),_0x15c6f4=await this[_0x1f394a(0x132)][_0x1f394a(0x15e)](_0x4a8ff4,_0x4a8ff4[_0x1f394a(0x136)],_0x960a9e);try{return await this[_0x1f394a(0xdf)](_0x31a666,_0x15c6f4,_0x5c9f02);}catch(_0x37266e){return this[_0x1f394a(0xff)](_0x1f394a(0x13c),_0x37266e);}}async[_0x22c009(0xdf)](_0x2e749a,_0x3c3f8c,_0x245a1d){const _0x330378=_0x22c009;if(_0x330378(0xd9)in _0x3c3f8c)throw _0x3c3f8c[_0x330378(0xd9)];let _0x59f173=!0x1;if(_0x3c3f8c[_0x330378(0x9c)]){_0x3c3f8c[_0x330378(0xa8)]&&(this[_0x330378(0x145)]=_0x3c3f8c[_0x330378(0xa8)]),this[_0x330378(0x134)]=this[_0x330378(0x134)][_0x330378(0x15f)](_0x4e843d=>!_0x2e749a[_0x330378(0xf4)](_0x4e843d));for(const _0x1b8594 of _0x2e749a)_0x1b8594[_0x330378(0xca)]=_0x330378(0x11f)in _0x3c3f8c&&_0x3c3f8c[_0x330378(0x11f)]||void 0x0;V(_0x2e749a,_0x3c3f8c[_0x330378(0x137)]-_0x2e749a[_0x330378(0x97)]),this[_0x330378(0x115)](_0x2e749a);const _0x1c0186=_0x2e749a[_0x330378(0x15f)](_0x35f697=>{const _0x3aab05=_0x330378;if(!_0x35f697[_0x3aab05(0x171)])return!0x1;const _0x2c4fc1=this[_0x3aab05(0x108)](_0x35f697);return _0x2c4fc1&&!this[_0x3aab05(0xa7)][_0x3aab05(0x10e)](_0x2c4fc1);});V(_0x1c0186,this[_0x330378(0xa1)][_0x330378(0x137)]),this[_0x330378(0x148)](_0x1c0186),_0x59f173=!0x0,this[_0x330378(0xed)]=this[_0x330378(0xb1)];}else{const _0x393148=this[_0x330378(0xef)](_0x3c3f8c[_0x330378(0x153)],_0x3c3f8c[_0x330378(0xac)])[_0x330378(0x15f)](_0x17d96a=>_0x17d96a[_0x330378(0x136)]>=this[_0x330378(0x8a)]);_0x393148[_0x330378(0x184)](_0x325d86=>this[_0x330378(0x158)](_0x325d86)),this[_0x330378(0x134)]=this[_0x330378(0x134)][_0x330378(0x15f)](_0x15074c=>!_0x15074c[_0x330378(0x171)]||!this[_0x330378(0xa7)][_0x330378(0x10e)](this[_0x330378(0x108)](_0x15074c))),this[_0x330378(0x134)][_0x330378(0x97)]&&V(this[_0x330378(0x134)],this[_0x330378(0x134)][0x0][_0x330378(0x136)]),await this[_0x330378(0x164)](_0x393148),_0x59f173=this[_0x330378(0x9e)](_0x393148,_0x3c3f8c[_0x330378(0x137)],_0x3c3f8c[_0x330378(0xa8)]),this[_0x330378(0xed)]=Math[_0x330378(0x10b)](this[_0x330378(0xed)]/0x2);}return _0x59f173?!this[_0x330378(0xe9)]()||(this[_0x330378(0x105)](!0x0),!0x1):this[_0x330378(0xff)](_0x330378(0x11c));}[_0x22c009(0x9e)](_0x2d16e3,_0x5a1a31,_0xe42b28){const _0x14ea92=_0x22c009;try{const _0x523a67={'document':this[_0x14ea92(0xa1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xadf87c,operationsB:_0xc849e7,originalOperations:_0x5962cf}=_0x2446b9(_0x2d16e3,this[_0x14ea92(0x134)],_0x523a67);V(_0xadf87c,this[_0x14ea92(0xa1)][_0x14ea92(0x137)]),V(_0xc849e7,_0x5a1a31);for(const _0x49b6d4 of _0xadf87c){const _0x1dd5f3=_0x5962cf[_0x14ea92(0x151)](_0x49b6d4);_0x49b6d4[_0x14ea92(0xbe)]=_0x1dd5f3?_0x1dd5f3[_0x14ea92(0xbe)]:null;}_0xe42b28&&(this[_0x14ea92(0x175)][_0x14ea92(0xde)](_0x2d16e3,_0xe42b28),this[_0x14ea92(0x145)]=_0xe42b28),this[_0x14ea92(0x134)]=[..._0xc849e7],this[_0x14ea92(0x148)](_0xadf87c),this[_0x14ea92(0x115)](_0x2d16e3);}catch(_0x589822){return console[_0x14ea92(0xd9)](_0x589822),!0x1;}return!0x0;}[_0x22c009(0x148)](_0x361d46,_0x21ca96=!0x1){const _0x50a0f2=_0x22c009;this[_0x50a0f2(0x185)][_0x50a0f2(0x13e)][_0x50a0f2(0x11b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2ad88b=>{const _0x102788=_0x50a0f2;for(const _0x1bd1d8 of _0x361d46)this[_0x102788(0x92)][_0x102788(0x142)](_0x1bd1d8),this[_0x102788(0x158)](_0x1bd1d8),_0x2ad88b[_0x102788(0xad)][_0x102788(0xb8)](_0x1bd1d8),this[_0x102788(0x185)][_0x102788(0x13e)][_0x102788(0x8e)](_0x1bd1d8);});}[_0x22c009(0x158)](_0x339bb7){const _0xca4fad=_0x22c009,_0x25b655=this[_0xca4fad(0x108)](_0x339bb7);_0x25b655&&this[_0xca4fad(0xa7)][_0xca4fad(0x142)](_0x25b655);}[_0x22c009(0x108)](_0x19c578){const _0x495eab=_0x22c009;let _0x1e8890,_0x1abdc5;switch(_0x19c578[_0x495eab(0x14e)]){case _0x495eab(0xd3):_0x1e8890=_0x19c578[_0x495eab(0x180)][_0x495eab(0xb4)];break;case _0x495eab(0x121):if(_0x1abdc5=_0x19c578[_0x495eab(0x100)],!_0x1abdc5)return null;_0x1e8890=_0x1abdc5[_0x495eab(0xb4)];break;case _0x495eab(0x88):_0x1e8890=_0x19c578[_0x495eab(0xb4)];break;case _0x495eab(0xf2):_0x1e8890=_0x19c578[_0x495eab(0x139)];break;case _0x495eab(0xa4):_0x1e8890=_0x19c578[_0x495eab(0xe2)][_0x495eab(0xb4)];break;default:return null;}return _0x1e8890[_0x495eab(0xdc)];}[_0x22c009(0x115)](_0x3f8f29){const _0x341934=_0x22c009;_0x3f8f29[_0x341934(0x184)](_0x2efc16=>{const _0x5c10ab=_0x341934,_0x16966d=_0x2efc16[_0x5c10ab(0x8c)]();_0x16966d[_0x5c10ab(0xbe)]=_0x2efc16[_0x5c10ab(0xbe)],_0x16966d[_0x5c10ab(0x171)]=!!_0x2efc16[_0x5c10ab(0x171)],_0x16966d[_0x5c10ab(0xca)]=_0x2efc16[_0x5c10ab(0xca)],_0x16966d[_0x5c10ab(0x136)]+=this[_0x5c10ab(0xa0)],_0x2efc16[_0x5c10ab(0xba)]&&this[_0x5c10ab(0xeb)][_0x5c10ab(0x142)](_0x16966d),this[_0x5c10ab(0x144)][_0x5c10ab(0xb8)](_0x16966d);});}[_0x22c009(0x131)](_0x208eb5){const _0x5a99e6=_0x22c009,_0xd01d62=this[_0x5a99e6(0x185)][_0x5a99e6(0x114)][_0x5a99e6(0x151)](_0x5a99e6(0x104)),_0x23d1a6=this[_0x5a99e6(0x185)][_0x5a99e6(0x12c)];_0x208eb5||(_0x208eb5=_0x9dcb6d(_0x23d1a6,_0x5a99e6(0x109))),_0xd01d62[_0x5a99e6(0x165)](_0x208eb5,{'title':_0x9dcb6d(_0x23d1a6,_0x5a99e6(0x172)),'namespace':_0x5a99e6(0x12b)}),this[_0x5a99e6(0x84)]=!0x0,clearTimeout(this[_0x5a99e6(0x182)]),this[_0x5a99e6(0x134)]=[],this[_0x5a99e6(0x185)][_0x5a99e6(0x114)][_0x5a99e6(0x151)](_0x1bb309)[_0x5a99e6(0x96)]();}[_0x22c009(0xab)](){const _0x40b64b=_0x22c009;this[_0x40b64b(0x181)]||(this[_0x40b64b(0x181)]=this[_0x40b64b(0x185)][_0x40b64b(0x114)][_0x40b64b(0x151)](_0x5f58ef)[_0x40b64b(0x142)](_0x9dcb6d(this[_0x40b64b(0x185)][_0x40b64b(0x12c)],_0x40b64b(0x123))));}[_0x22c009(0xc4)](){const _0x47f310=_0x22c009;this[_0x47f310(0x181)]&&(this[_0x47f310(0x185)][_0x47f310(0x114)][_0x47f310(0x151)](_0x5f58ef)[_0x47f310(0xfc)](this[_0x47f310(0x181)]),this[_0x47f310(0x181)]=null);}[_0x22c009(0x9a)](_0x1a0164){const _0x17d5c8=_0x22c009,_0x21c31f=_0x1a0164[_0x17d5c8(0x102)](_0x569394=>_0x569394[_0x17d5c8(0xf3)]());return this[_0x17d5c8(0x17c)][_0x17d5c8(0x12e)](_0x21c31f);}[_0x22c009(0xef)](_0x24cd8b,_0x453177){const _0xd03cba=_0x22c009;return this[_0xd03cba(0x17c)][_0xd03cba(0x154)](_0x24cd8b)[_0xd03cba(0x102)]((_0x599a2c,_0xb90e60)=>{const _0x6f0c43=_0xd03cba,_0x42c8c3=_0x6f0c43(0x149)==_0x453177[_0xb90e60][_0x6f0c43(0x14e)];if(_0x6f0c43(0xf6)==_0x599a2c[_0x6f0c43(0x9d)]){const _0xfc54cd=_0x599a2c[_0x6f0c43(0x180)][_0x6f0c43(0xb4)];!this[_0x6f0c43(0xa1)][_0x6f0c43(0xd7)](_0xfc54cd)&&(this[_0x6f0c43(0xa1)][_0x6f0c43(0x127)](_0x6f0c43(0xc2),_0xfc54cd)[_0x6f0c43(0xfa)]=!0x1);}const _0x46bb7a=_0x21e835[_0x6f0c43(0x133)](_0x599a2c,this[_0x6f0c43(0xa1)]);return _0x46bb7a[_0x6f0c43(0xfe)]=_0x599a2c[_0x6f0c43(0xfe)],_0x46bb7a[_0x6f0c43(0x171)]=_0x42c8c3,_0x46bb7a[_0x6f0c43(0xbe)]=_0x42c8c3?null:_0x453177[_0xb90e60][_0x6f0c43(0x162)],_0x46bb7a[_0x6f0c43(0xba)]=_0x6f0c43(0x126)===_0x453177[_0xb90e60][_0x6f0c43(0x14e)],_0x46bb7a[_0x6f0c43(0xca)]=_0x453177[_0xb90e60][_0x6f0c43(0xca)],_0x46bb7a;});}[_0x22c009(0x17d)](){const _0x285922=_0x22c009;this[_0x285922(0x122)]=!0x0,this[_0x285922(0x13b)]()?this[_0x285922(0x105)]():this[_0x285922(0x122)]=!0x1;}[_0x22c009(0x13b)](){const _0x3b8542=_0x22c009,_0x2967e6=this[_0x3b8542(0x185)][_0x3b8542(0x114)][_0x3b8542(0x151)](_0x565542)[_0x3b8542(0xd4)][_0x3b8542(0x151)](this[_0x3b8542(0x146)]);return!this[_0x3b8542(0x185)][_0x3b8542(0x15a)]&&!!_0x2967e6&&_0x2967e6[_0x3b8542(0x97)]>0x1&&this[_0x3b8542(0x122)];}[_0x22c009(0xe9)](){const _0x15a73f=_0x22c009;return this[_0x15a73f(0x134)][_0x15a73f(0x97)]>0x0||this[_0x15a73f(0x13b)]();}}l[_0x22c009(0xec)]=_0x23a105;export default l;class z extends Error{}function V(_0x37686c,_0x428064){const _0x1600e8=_0x22c009;for(const _0x32ba43 of _0x37686c)_0x32ba43[_0x1600e8(0x136)]=_0x428064++;}class W{constructor(_0xdaab4b){const _0x17c67d=_0x22c009;this[_0x17c67d(0x11d)]=_0xdaab4b,this[_0x17c67d(0xfb)]=new WeakMap();}[_0x22c009(0x189)](_0x558112){const _0x141e0c=_0x22c009;let _0x173e4e=_0x558112[_0x141e0c(0x97)];for(;_0x173e4e--;){const _0x3ddcd2=_0x558112[_0x173e4e];if(!this[_0x141e0c(0x11d)][_0x141e0c(0x10e)](_0x3ddcd2)){if(!this[_0x141e0c(0xfb)][_0x141e0c(0x10e)](_0x3ddcd2)){const _0x456926=_0x55b5fc()[_0x141e0c(0x12a)](0x1,0x12);this[_0x141e0c(0xfb)][_0x141e0c(0x16d)](_0x3ddcd2,_0x456926);}return this[_0x141e0c(0xfb)][_0x141e0c(0x151)](_0x3ddcd2);}}}[_0x22c009(0xde)](_0x2162d8,_0x2527a8){const _0x3f73ca=_0x22c009;if(!_0x2527a8)return;let _0xaf8b13=_0x2162d8[_0x3f73ca(0x97)];for(;_0xaf8b13--;){const _0x3f0d4a=_0x2162d8[_0xaf8b13];this[_0x3f73ca(0x11d)][_0x3f73ca(0x10e)](_0x3f0d4a)||this[_0x3f73ca(0xfb)][_0x3f73ca(0x16d)](_0x3f0d4a,_0x2527a8);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3405e9=_0x4ef8;function _0x5522(){const _0x412efb=['8wgpfWn','186123qncrIX','3841782mNSxGA','allConnectedUsers','addUser','listenTo','getUserBySessionId','2727078FCaXuK','unregister','6KHHUrR','init','connected','isOfficialPlugin','state','register','orderNumber','getUserRole','channelConnectedUsers','sessions-register-already-registered','sessionId','get','_users','change:state','role','user','Sessions','clear','getUser','stopListening','plugins','135437qFNLUt','pluginName','assign','forEach','3331431JcYkHL','values','has','mySessionId','sessions-unregister-not-exist','channelSessions','2160710RgrtRR','add','isMe','sessionAdd:','isPremiumPlugin','connection','requires','_uniqueUsersCount','fire','1960876TlQJIQ','_handleSessionAdd','delete','_createUser','set','_registeredSessions','size','defineMe','getUserSessions','_handleSessionRemove','remove','context'];_0x5522=function(){return _0x412efb;};return _0x5522();}function _0x4ef8(_0xc9051c,_0xfcd2b3){const _0x5522b0=_0x5522();return _0x4ef8=function(_0x4ef88d,_0x578c5b){_0x4ef88d=_0x4ef88d-0x1a5;let _0x40f223=_0x5522b0[_0x4ef88d];return _0x40f223;},_0x4ef8(_0xc9051c,_0xfcd2b3);}(function(_0x3fd5b0,_0x5e0f5c){const _0x34cde6=_0x4ef8,_0x46978d=_0x3fd5b0();while(!![]){try{const _0x129228=parseInt(_0x34cde6(0x1af))/0x1+parseInt(_0x34cde6(0x1d7))/0x2*(parseInt(_0x34cde6(0x1cf))/0x3)+-parseInt(_0x34cde6(0x1c2))/0x4+parseInt(_0x34cde6(0x1b9))/0x5+-parseInt(_0x34cde6(0x1d5))/0x6+parseInt(_0x34cde6(0x1d0))/0x7+parseInt(_0x34cde6(0x1ce))/0x8*(parseInt(_0x34cde6(0x1b3))/0x9);if(_0x129228===_0x5e0f5c)break;else _0x46978d['push'](_0x46978d['shift']());}catch(_0x38c592){_0x46978d['push'](_0x46978d['shift']());}}}(_0x5522,0xb1b93));import{ContextPlugin as _0x552fb3}from'ckeditor5/src/core.js';import{Collection as _0x1e0451,CKEditorError as _0x48c64c}from'ckeditor5/src/utils.js';import _0x1bb228 from'./websocketgateway.js';import{Users as _0x18f8ad}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x552fb3{static get[_0x3405e9(0x1b0)](){const _0x560411=_0x3405e9;return _0x560411(0x1aa);}static get[_0x3405e9(0x1da)](){return!0x0;}static get[_0x3405e9(0x1bd)](){return!0x0;}static get[_0x3405e9(0x1bf)](){return[_0x1bb228,_0x18f8ad];}constructor(_0x169d16){const _0x1470d8=_0x3405e9;super(_0x169d16),this[_0x1470d8(0x1b8)]=new Map(),this[_0x1470d8(0x1df)]=new Map(),this[_0x1470d8(0x1d1)]=new _0x1e0451(),this[_0x1470d8(0x1c7)]=new Map(),this[_0x1470d8(0x1c0)]=0x0,this[_0x1470d8(0x1a6)]=this[_0x1470d8(0x1cd)][_0x1470d8(0x1ae)][_0x1470d8(0x1a5)](_0x18f8ad);}[_0x3405e9(0x1d8)](){const _0xebd7f3=_0x3405e9,_0x522c42=this[_0xebd7f3(0x1cd)][_0xebd7f3(0x1ae)][_0xebd7f3(0x1a5)](_0x1bb228);this[_0xebd7f3(0x1d3)](_0x522c42,_0xebd7f3(0x1a7),(_0x32d1ba,_0x2042d6,_0x3b62ca)=>{const _0x2f10a8=_0xebd7f3;if(_0x2f10a8(0x1d9)!==_0x3b62ca)this[_0x2f10a8(0x1b8)][_0x2f10a8(0x1b2)](_0x269304=>_0x269304[_0x2f10a8(0x1ab)]()),this[_0x2f10a8(0x1df)][_0x2f10a8(0x1b2)](_0x1c0f05=>_0x1c0f05[_0x2f10a8(0x1ab)]()),this[_0x2f10a8(0x1d1)][_0x2f10a8(0x1ab)]();else{for(const [_0x176d19,_0x3cf843]of this[_0x2f10a8(0x1c7)])for(const _0x190bb2 of _0x3cf843)this[_0x2f10a8(0x1c3)](_0x176d19,_0x190bb2);}}),this[_0xebd7f3(0x1c5)](_0x522c42[_0xebd7f3(0x1be)]['me'],!0x0);}[_0x3405e9(0x1dc)](_0x2cdac7,_0x2554d7){const _0xf0c523=_0x3405e9;if(this[_0xf0c523(0x1c7)][_0xf0c523(0x1b5)](_0x2cdac7))throw new _0x48c64c(_0xf0c523(0x1e0),null,{'channelId':_0x2cdac7});this[_0xf0c523(0x1c7)][_0xf0c523(0x1c6)](_0x2cdac7,_0x2554d7),this[_0xf0c523(0x1b8)][_0xf0c523(0x1c6)](_0x2cdac7,new _0x1e0451()),this[_0xf0c523(0x1df)][_0xf0c523(0x1c6)](_0x2cdac7,new _0x1e0451()),this[_0xf0c523(0x1d3)](_0x2554d7,_0xf0c523(0x1ba),(_0x61c4b9,_0x2f6719)=>this[_0xf0c523(0x1c3)](_0x2cdac7,_0x2f6719)),this[_0xf0c523(0x1d3)](_0x2554d7,_0xf0c523(0x1cc),(_0x1d33e8,_0x2ce5f2)=>this[_0xf0c523(0x1cb)](_0x2cdac7,_0x2ce5f2));for(const _0x47df8f of _0x2554d7)this[_0xf0c523(0x1c3)](_0x2cdac7,_0x47df8f);}[_0x3405e9(0x1d6)](_0x134018){const _0xdb575b=_0x3405e9;if(!this[_0xdb575b(0x1c7)][_0xdb575b(0x1b5)](_0x134018))throw new _0x48c64c(_0xdb575b(0x1b7),null,{'channelId':_0x134018});const _0x12eee5=this[_0xdb575b(0x1c7)][_0xdb575b(0x1a5)](_0x134018);this[_0xdb575b(0x1ad)](_0x12eee5);for(const _0x511498 of _0x12eee5)_0xdb575b(0x1d9)===this[_0xdb575b(0x1cd)][_0xdb575b(0x1ae)][_0xdb575b(0x1a5)](_0x1bb228)[_0xdb575b(0x1db)]&&this[_0xdb575b(0x1cb)](_0x134018,_0x511498);this[_0xdb575b(0x1c7)][_0xdb575b(0x1c4)](_0x134018),this[_0xdb575b(0x1b8)][_0xdb575b(0x1c4)](_0x134018),this[_0xdb575b(0x1df)][_0xdb575b(0x1c4)](_0x134018);}get[_0x3405e9(0x1b6)](){const _0x230044=_0x3405e9;return this[_0x230044(0x1cd)][_0x230044(0x1ae)][_0x230044(0x1a5)](_0x1bb228)[_0x230044(0x1be)][_0x230044(0x1e1)];}[_0x3405e9(0x1d4)](_0x192900){const _0xe9a50e=_0x3405e9;for(const _0x1dd881 of this[_0xe9a50e(0x1b8)][_0xe9a50e(0x1b4)]())for(const _0x243753 of _0x1dd881)if(_0x243753['id']===_0x192900)return _0x243753[_0xe9a50e(0x1a9)];}[_0x3405e9(0x1ca)](_0x5a2022,_0x53c69c){const _0x4de6ce=_0x3405e9,_0x1bb415=_0x53c69c?[this[_0x4de6ce(0x1b8)][_0x4de6ce(0x1a5)](_0x53c69c)]:this[_0x4de6ce(0x1b8)][_0x4de6ce(0x1b4)](),_0x23ce62=new Set();for(const _0x1a627e of _0x1bb415)for(const _0x31dad1 of _0x1a627e)_0x31dad1[_0x4de6ce(0x1a9)]['id']===_0x5a2022['id']&&_0x23ce62[_0x4de6ce(0x1ba)](_0x31dad1['id']);return _0x23ce62;}[_0x3405e9(0x1de)](_0x5182e7){const _0x532fe0=_0x3405e9;for(const _0x3b487e of this[_0x532fe0(0x1b8)][_0x532fe0(0x1b4)]())for(const _0x532837 of _0x3b487e)if(_0x532837[_0x532fe0(0x1a9)]===_0x5182e7)return _0x532837[_0x532fe0(0x1a8)];}[_0x3405e9(0x1c3)](_0x31876f,_0x579840){const _0x4f76fd=_0x3405e9;if(_0x4f76fd(0x1d9)!==this[_0x4f76fd(0x1cd)][_0x4f76fd(0x1ae)][_0x4f76fd(0x1a5)](_0x1bb228)[_0x4f76fd(0x1db)])return;const _0x1a9390=_0x579840[_0x4f76fd(0x1a9)],_0x3d90bb=this[_0x4f76fd(0x1a6)][_0x4f76fd(0x1ac)](_0x1a9390['id'])||this[_0x4f76fd(0x1c5)](_0x1a9390),_0x156a93=Object[_0x4f76fd(0x1b1)]({},_0x579840,{'user':_0x3d90bb});this[_0x4f76fd(0x1b8)][_0x4f76fd(0x1a5)](_0x31876f)[_0x4f76fd(0x1ba)](_0x156a93);const _0x57782d=this[_0x4f76fd(0x1df)][_0x4f76fd(0x1a5)](_0x31876f);_0x57782d[_0x4f76fd(0x1b5)](_0x3d90bb['id'])||_0x57782d[_0x4f76fd(0x1ba)](_0x3d90bb),this[_0x4f76fd(0x1d1)][_0x4f76fd(0x1b5)](_0x3d90bb['id'])||this[_0x4f76fd(0x1d1)][_0x4f76fd(0x1ba)](_0x3d90bb,_0x3d90bb[_0x4f76fd(0x1bb)]?0x0:void 0x0),this[_0x4f76fd(0x1c1)](_0x4f76fd(0x1bc)+_0x31876f,{'channelId':_0x31876f,'session':_0x156a93});}[_0x3405e9(0x1cb)](_0x4116bd,_0x2d8801){const _0x66d9d1=_0x3405e9;if(_0x66d9d1(0x1d9)!==this[_0x66d9d1(0x1cd)][_0x66d9d1(0x1ae)][_0x66d9d1(0x1a5)](_0x1bb228)[_0x66d9d1(0x1db)])return;const _0x19c437=this[_0x66d9d1(0x1df)][_0x66d9d1(0x1a5)](_0x4116bd),_0x16fbde=_0x2d8801[_0x66d9d1(0x1a9)];_0x16fbde['id']&&(this[_0x66d9d1(0x1b8)][_0x66d9d1(0x1a5)](_0x4116bd)[_0x66d9d1(0x1cc)](_0x2d8801['id']),_0x19c437[_0x66d9d1(0x1b5)](_0x16fbde['id'])&&!this[_0x66d9d1(0x1ca)](_0x16fbde,_0x4116bd)[_0x66d9d1(0x1c8)]&&_0x19c437[_0x66d9d1(0x1cc)](_0x16fbde['id']),this[_0x66d9d1(0x1d1)][_0x66d9d1(0x1a5)](_0x16fbde['id'])&&!this[_0x66d9d1(0x1ca)](_0x16fbde)[_0x66d9d1(0x1c8)]&&this[_0x66d9d1(0x1d1)][_0x66d9d1(0x1cc)](_0x16fbde['id']));}[_0x3405e9(0x1c5)](_0x5740dc,_0x1b6fe4){const _0x18fd2d=_0x3405e9,_0x36b960=this[_0x18fd2d(0x1a6)][_0x18fd2d(0x1d2)](_0x5740dc);return _0x1b6fe4&&this[_0x18fd2d(0x1a6)][_0x18fd2d(0x1c9)](_0x5740dc['id']),_0x36b960[_0x18fd2d(0x1dd)]=this[_0x18fd2d(0x1c0)]++,_0x36b960;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5a616e=_0x5ef2;(function(_0x2a15df,_0x2eaa3e){const _0x5a89a9=_0x5ef2,_0x36afbf=_0x2a15df();while(!![]){try{const _0x25a4f5=-parseInt(_0x5a89a9(0x137))/0x1+-parseInt(_0x5a89a9(0x14a))/0x2*(-parseInt(_0x5a89a9(0x152))/0x3)+-parseInt(_0x5a89a9(0x1a6))/0x4+-parseInt(_0x5a89a9(0x16a))/0x5+-parseInt(_0x5a89a9(0x13e))/0x6*(parseInt(_0x5a89a9(0x1b4))/0x7)+parseInt(_0x5a89a9(0x174))/0x8*(-parseInt(_0x5a89a9(0x151))/0x9)+parseInt(_0x5a89a9(0x150))/0xa;if(_0x25a4f5===_0x2eaa3e)break;else _0x36afbf['push'](_0x36afbf['shift']());}catch(_0x3fed5c){_0x36afbf['push'](_0x36afbf['shift']());}}}(_0x4ae3,0x57889));import{Plugin as _0xce0148}from'ckeditor5/src/core.js';import{global as _0x26690b,DomEmitterMixin as _0x2fc66f}from'ckeditor5/src/utils.js';import _0x2d6012 from'./sessions.js';import{LiveRange as _0x255de2}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5ef2(_0x64d2bc,_0x2a9df7){const _0x4ae34b=_0x4ae3();return _0x5ef2=function(_0x5ef253,_0x243dfe){_0x5ef253=_0x5ef253-0x136;let _0x1db6bf=_0x4ae34b[_0x5ef253];return _0x1db6bf;},_0x5ef2(_0x64d2bc,_0x2a9df7);}export default class E extends _0xce0148{constructor(){const _0x4cbf09=_0x5ef2;super(...arguments),this[_0x4cbf09(0x158)]=new(_0x2fc66f())();}static get[_0x5a616e(0x1af)](){return[_0x2d6012];}static get[_0x5a616e(0x144)](){const _0x2aa91a=_0x5a616e;return _0x2aa91a(0x18d);}static get[_0x5a616e(0x194)](){return!0x0;}static get[_0x5a616e(0x190)](){return!0x0;}[_0x5a616e(0x162)](){const _0x45757d=_0x5a616e,_0x4b9b27=this[_0x45757d(0x1b0)],_0x2d7a2f=_0x4b9b27[_0x45757d(0x15a)][_0x45757d(0x1aa)](_0x2d6012);_0x4b9b27[_0x45757d(0x18a)][_0x45757d(0x14f)](_0x45757d(0x1b2))[_0x45757d(0x143)]({'model':_0x45757d(0x165),'view':(_0x356397,{writer:_0xdecb9e})=>function(_0x37231e,_0x2b6f8b,_0x1348ce,_0xc3ca61){const _0x4b8027=_0x45757d,_0x450097=_0x37231e[_0x4b8027(0x173)][_0x4b8027(0x1ab)](':')[0x2],_0x106787=_0x1348ce[_0x4b8027(0x145)](_0x450097);if(!_0x106787||_0x450097===_0x1348ce[_0x4b8027(0x13b)])return;if(!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)][_0x4b8027(0x153)](_0x37231e[_0x4b8027(0x19a)][_0x4b8027(0x19f)],_0x4b8027(0x191)))return;const _0x44c9e9={'class':_0x4b8027(0x170)+_0x106787[_0x4b8027(0x164)][_0x4b8027(0x15f)](),'data-name':_0x106787[_0x4b8027(0x1a5)],'data-session-id':_0x450097},_0xb3e587=_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x16c)][_0x4b8027(0x1aa)](_0x37231e[_0x4b8027(0x173)]),_0x797778=_0xb3e587[_0x4b8027(0x1b8)](),_0x4f4f56=_0x797778[_0x4b8027(0x159)],_0x3a914d=_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)];if(_0x4f4f56&&_0x3a914d[_0x4b8027(0x17e)](_0x4f4f56)&&_0x3a914d[_0x4b8027(0x17a)](_0x4f4f56)&&!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x16c)][_0x4b8027(0x1aa)](_0x4b8027(0x16d)+_0x450097)[_0x4b8027(0x146)]()[_0x4b8027(0x147)])return;const _0x25183f=_0x797778[_0x4b8027(0x1ad)];return _0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x1a7)][_0x4b8027(0x185)](_0x25183f)&&!_0xc3ca61[_0x4b8027(0x189)][_0x4b8027(0x181)](_0x25183f)&&(_0x44c9e9[_0x4b8027(0x182)]=!0x1),function(_0x5c6dc4,_0x4f3b55,_0x130c8f){const _0x5ddab4=_0x4b8027,_0x1753aa=_0x5c6dc4[_0x5ddab4(0x18c)](_0x5ddab4(0x1b5),_0x4f3b55);return _0x5c6dc4[_0x5ddab4(0x188)](_0x5ddab4(0x140),!0x0,_0x1753aa),_0x1753aa[_0x5ddab4(0x13f)]=function(_0x3adf5d){const _0x4834b2=_0x5ddab4,_0x5bde3c=this[_0x4834b2(0x13d)](_0x3adf5d);return _0x5bde3c[_0x4834b2(0x1a1)]=_0x4834b2(0x17b)+_0x130c8f[_0x4834b2(0x1a5)]+_0x4834b2(0x14b),_0x5bde3c[_0x4834b2(0x186)](_0x4834b2(0x196),()=>{const _0x1a64ef=_0x4834b2;_0x5bde3c[_0x1a64ef(0x142)][_0x1a64ef(0x154)](_0x1a64ef(0x175));}),_0x5bde3c[_0x4834b2(0x186)](_0x4834b2(0x1a4),()=>{const _0x30fa1a=_0x4834b2;_0x5bde3c[_0x30fa1a(0x142)][_0x30fa1a(0x19c)](_0x30fa1a(0x175));}),_0x5bde3c;},_0x1753aa[_0x5ddab4(0x148)]=function(_0x1b0a8d){const _0x43178c=_0x5ddab4;return!(!this[_0x43178c(0x168)](_0x43178c(0x140))||!_0x1b0a8d[_0x43178c(0x168)](_0x43178c(0x140))||this[_0x43178c(0x157)](_0x43178c(0x177))!=_0x1b0a8d[_0x43178c(0x157)](_0x43178c(0x177)));},_0x1753aa;}(_0x2b6f8b,_0x44c9e9,_0x106787);}(_0x356397,_0xdecb9e,_0x2d7a2f,_0x4b9b27)}),_0x4b9b27[_0x45757d(0x18a)][_0x45757d(0x14f)](_0x45757d(0x1b2))[_0x45757d(0x141)]({'model':_0x45757d(0x15b),'view':_0x1828f4=>function(_0x24977d,_0x3d00e6){const _0x50b231=_0x45757d,_0x288cfa=_0x24977d[_0x50b231(0x173)][_0x50b231(0x1ab)](':')[0x2];if(_0x288cfa===_0x3d00e6[_0x50b231(0x13b)])return null;const _0x46457b=_0x3d00e6[_0x50b231(0x145)](_0x288cfa);if(!_0x46457b)return{'id':_0x288cfa,'classes':[]};return{'id':_0x288cfa,'classes':[_0x50b231(0x199),_0x46457b[_0x50b231(0x164)][_0x50b231(0x166)]()],'attributes':{'data-session-id':_0x288cfa},'priority':0x7d0+_0x46457b[_0x50b231(0x18f)]};}(_0x1828f4,_0x2d7a2f)}),function(_0x13fe85){const _0x429634=_0x45757d,_0xd0ee03=_0x13fe85[_0x429634(0x189)],_0x2e2c99=new Map(),_0x49cf0e=_0x13fe85[_0x429634(0x15a)][_0x429634(0x1aa)](_0x2d6012);_0xd0ee03[_0x429634(0x16c)]['on'](_0x429634(0x19d),(_0x1c4e6b,_0x3420d1,_0x19386e,_0x17bff9)=>{const _0xc22da7=_0x429634;if(!_0x17bff9&&_0x2e2c99[_0xc22da7(0x1aa)](_0x3420d1[_0xc22da7(0x1a5)]))return _0x2e2c99[_0xc22da7(0x1aa)](_0x3420d1[_0xc22da7(0x1a5)])[_0xc22da7(0x193)](),void _0x2e2c99[_0xc22da7(0x160)](_0x3420d1[_0xc22da7(0x1a5)]);const _0x285a38=_0x3420d1[_0xc22da7(0x1a5)][_0xc22da7(0x1ab)](':')[0x2];if(_0x285a38===_0x49cf0e[_0xc22da7(0x13b)])return;const _0x18f3d5=_0xc22da7(0x1ae)+_0x285a38;_0xd0ee03[_0xc22da7(0x16c)][_0xc22da7(0x1ac)](_0x18f3d5)&&_0x13fe85[_0xc22da7(0x15c)][_0xc22da7(0x14e)](_0x18f3d5),_0x3420d1['on'](_0xc22da7(0x149),(_0x5ebcb1,_0x94e652,_0x107477)=>{const _0x441d7b=_0xc22da7;if(_0x441d7b(0x180)!=_0x94e652[_0x441d7b(0x13c)][_0x441d7b(0x15d)]&&_0x441d7b(0x180)==_0x3420d1[_0x441d7b(0x146)]()[_0x441d7b(0x13c)][_0x441d7b(0x15d)]&&!_0x2e2c99[_0x441d7b(0x1ac)](_0x3420d1[_0x441d7b(0x1a5)])){const _0x2f24dd=_0xd0ee03[_0x441d7b(0x1a7)][_0x441d7b(0x1a9)](_0x107477[_0x441d7b(0x136)]);if(_0x2f24dd){const _0x1e5351=_0x255de2[_0x441d7b(0x19b)](_0x2f24dd);_0x2e2c99[_0x441d7b(0x1b6)](_0x3420d1[_0x441d7b(0x1a5)],_0x1e5351),_0x1e5351['on'](_0x441d7b(0x149),(_0x507a22,_0x331cb0,_0x48e568)=>{const _0x25a190=_0x441d7b;if(_0x25a190(0x180)==_0x1e5351[_0x25a190(0x13c)][_0x25a190(0x15d)]){const _0x11df88=_0xd0ee03[_0x25a190(0x1a7)][_0x25a190(0x1a9)](_0x48e568[_0x25a190(0x136)]);_0x11df88?(_0x1e5351[_0x25a190(0x19f)]=_0x11df88[_0x25a190(0x19f)],_0x1e5351[_0x25a190(0x1b1)]=_0x11df88[_0x25a190(0x1b1)]):(_0x2e2c99[_0x25a190(0x160)](_0x3420d1[_0x25a190(0x1a5)]),_0x1e5351[_0x25a190(0x193)]());}});}}});}),_0xd0ee03[_0x429634(0x18b)]['on'](_0x429634(0x172),()=>{const _0x35974f=_0x429634;_0x2e2c99[_0x35974f(0x192)]>0x0&&_0xd0ee03[_0x35974f(0x1a0)]({'isUndoable':!0x1},_0x18cad7=>{const _0x3207eb=_0x35974f;for(const [_0x5f2e90,_0x3f91df]of _0x2e2c99)_0x3207eb(0x180)==_0xd0ee03[_0x3207eb(0x16c)][_0x3207eb(0x1aa)](_0x5f2e90)[_0x3207eb(0x146)]()[_0x3207eb(0x13c)][_0x3207eb(0x15d)]&&(Q(_0x5f2e90[_0x3207eb(0x1ab)](':')[0x2],_0x3f91df[_0x3207eb(0x198)](),_0xd0ee03,_0x18cad7),_0x3f91df[_0x3207eb(0x193)]());_0x2e2c99[_0x3207eb(0x17c)]();});});}(_0x4b9b27),this[_0x45757d(0x158)][_0x45757d(0x187)](_0x26690b[_0x45757d(0x18b)],_0x45757d(0x1a3),(_0x2d9859,{key:_0x495089})=>{const _0x5750ae=_0x45757d;_0x5750ae(0x167)===_0x495089&&function(_0x529fe2){const _0x1aa03d=_0x5750ae;_0x529fe2[_0x1aa03d(0x15c)][_0x1aa03d(0x17f)][_0x1aa03d(0x172)](_0x5d211f=>{const _0x44aaca=_0x1aa03d;for(const _0x476f58 of _0x529fe2[_0x44aaca(0x189)][_0x44aaca(0x16c)]){if(!_0x476f58[_0x44aaca(0x1a5)][_0x44aaca(0x19e)](_0x44aaca(0x165)))continue;const _0x4f7ec6=_0x529fe2[_0x44aaca(0x15c)][_0x44aaca(0x1b9)][_0x44aaca(0x155)](_0x476f58[_0x44aaca(0x1a5)]);if(_0x4f7ec6){for(const _0x24b5c9 of _0x4f7ec6)_0x5d211f[_0x44aaca(0x17d)](_0x44aaca(0x175),_0x24b5c9);}}});}(_0x4b9b27);},{'useCapture':!0x0});}[_0x5a616e(0x178)](){const _0x583b6e=_0x5a616e,_0x2dd98d=this[_0x583b6e(0x1b0)],_0x2dc547=_0x2dd98d[_0x583b6e(0x169)][_0x583b6e(0x1aa)](_0x583b6e(0x176));_0x2dc547&&_0x2dd98d[_0x583b6e(0x189)]['on'](_0x583b6e(0x13a),(_0x4287f4,_0x5e6652)=>{const _0x52bbd9=_0x583b6e,_0x358132=_0x5e6652[0x0];if(_0x52bbd9(0x1b3)!=_0x358132[_0x52bbd9(0x1b7)]||!_0x358132[_0x52bbd9(0x1a5)][_0x52bbd9(0x19e)](_0x52bbd9(0x1a8)))return;const _0x317616=_0x358132[_0x52bbd9(0x197)];_0x2dc547[_0x52bbd9(0x15e)][_0x52bbd9(0x1ac)](_0x317616)&&(_0x358132[_0x52bbd9(0x195)]=_0x358132[_0x52bbd9(0x179)]?_0x2dd98d[_0x52bbd9(0x189)][_0x52bbd9(0x184)](_0x358132[_0x52bbd9(0x179)][_0x52bbd9(0x19f)],_0x358132[_0x52bbd9(0x179)][_0x52bbd9(0x1b1)]):null);},{'priority':_0x583b6e(0x16b)});}[_0x5a616e(0x18e)](){const _0x5d755a=_0x5a616e;return this[_0x5d755a(0x158)][_0x5d755a(0x16f)](),super[_0x5d755a(0x18e)]();}[_0x5a616e(0x139)](){const _0x209ea6=_0x5a616e,_0x3f96ea=this[_0x209ea6(0x1b0)],_0x4e4a64=_0x3f96ea[_0x209ea6(0x189)][_0x209ea6(0x18b)],_0x43ea80=_0x3f96ea[_0x209ea6(0x15a)][_0x209ea6(0x1aa)](_0x2d6012);_0x3f96ea[_0x209ea6(0x189)][_0x209ea6(0x1a0)]({'isUndoable':!0x1},_0x537614=>{const _0xc57081=_0x209ea6,_0x2bad05=_0xc57081(0x16d)+_0x43ea80[_0xc57081(0x13b)],_0x4ca16e=_0xc57081(0x1ae)+_0x43ea80[_0xc57081(0x13b)],_0x107e10=_0x3f96ea[_0xc57081(0x189)][_0xc57081(0x16c)][_0xc57081(0x1ac)](_0x2bad05);_0x3f96ea[_0xc57081(0x15c)][_0xc57081(0x17f)][_0xc57081(0x163)]?Q(_0x43ea80[_0xc57081(0x13b)],_0x4e4a64[_0xc57081(0x156)][_0xc57081(0x171)](),_0x3f96ea[_0xc57081(0x189)],_0x537614):_0x107e10&&(_0x537614[_0xc57081(0x1a2)](_0x2bad05),_0x537614[_0xc57081(0x1a2)](_0x4ca16e));});}}function _0x4ae3(){const _0x17e0d8=['editing','rootName','_createdBatches','getMarkerClass','delete','getPositions','init','hasDomSelection','color','user:position','getSelectionClass','Escape','getCustomProperty','commands','2160590EUUmFh','highest','markers','user:range:','addMarker','stopListening','ck-user__marker\x20','getFirstRange','change','markerName','500776BGoHvx','ck-user__marker_hovered','undo','data-session-id','afterInit','oldRange','isInline','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','clear','removeClass','isObject','view','$graveyard','hasContent','contenteditable','getContainedElement','createRange','isLimit','addEventListener','listenTo','setCustomProperty','model','conversion','document','createUIElement','UserMarkers','destroy','orderNumber','isPremiumPlugin','$text','size','detach','isOfficialPlugin','newRange','mouseenter','batch','toRange','ck-user__selection','markerRange','fromRange','remove','update:user:range','startsWith','start','enqueueChange','innerHTML','removeMarker','keydown','mouseleave','name','678540QYdMvq','schema','user:','getNearestSelectionRange','get','split','has','parent','user:position:','requires','editor','end','editingDowncast','marker','427bhNQlu','span','set','type','getStart','mapper','deletionPosition','4690FwFWiK','updateMarker','createUserMarkerOperations','applyOperation','mySessionId','root','toDomElement','29424VHODkV','render','userPositionMarker','markerToHighlight','classList','markerToElement','pluginName','getUserBySessionId','getRange','isCollapsed','isSimilar','change:range','862YcjYgj','</span>','tableCell','element','reconvertMarker','for','12581460AOGaWi','81aWpzCy','3963gTJAFa','checkChild','add','markerNameToElements','selection','getAttribute','_domEmitter','nodeAfter','plugins','user:range'];_0x4ae3=function(){return _0x17e0d8;};return _0x4ae3();}function Q(_0x426cfe,_0x1d3057,_0x31b5fa,_0x244496){const _0x48d471=_0x5a616e,_0x43cbce=_0x48d471(0x16d)+_0x426cfe,_0x11bf47=_0x48d471(0x1ae)+_0x426cfe,_0xb4d13a=_0x1d3057[_0x48d471(0x183)]();let _0x24ee2f=_0x1d3057[_0x48d471(0x19f)];_0xb4d13a&&_0xb4d13a['is'](_0x48d471(0x14d),_0x48d471(0x14c))&&(_0x24ee2f=function(_0x33edee,_0x5830f6){const _0x477618=_0x48d471;for(const _0x3d49cd of _0x33edee[_0x477618(0x161)]())if(_0x5830f6[_0x477618(0x1a7)][_0x477618(0x153)](_0x3d49cd,_0x477618(0x191)))return _0x3d49cd;}(_0x1d3057,_0x31b5fa),_0x1d3057=_0x244496[_0x48d471(0x184)](_0x24ee2f));const _0x4261f9=_0x244496[_0x48d471(0x184)](_0x24ee2f);_0x31b5fa[_0x48d471(0x16c)][_0x48d471(0x1ac)](_0x43cbce)?(_0x244496[_0x48d471(0x138)](_0x43cbce,{'range':_0x1d3057}),_0x244496[_0x48d471(0x138)](_0x11bf47,{'range':_0x4261f9})):(_0x244496[_0x48d471(0x16e)](_0x43cbce,{'range':_0x1d3057,'usingOperation':!0x0}),_0x244496[_0x48d471(0x16e)](_0x11bf47,{'range':_0x4261f9,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x4fc9ed=_0x12af;(function(_0x3726a8,_0x5e5c80){const _0x1fbe72=_0x12af,_0x435906=_0x3726a8();while(!![]){try{const _0x8f68f8=parseInt(_0x1fbe72(0x97))/0x1*(parseInt(_0x1fbe72(0xb0))/0x2)+-parseInt(_0x1fbe72(0xf9))/0x3+parseInt(_0x1fbe72(0x116))/0x4*(parseInt(_0x1fbe72(0x98))/0x5)+-parseInt(_0x1fbe72(0xc5))/0x6+parseInt(_0x1fbe72(0xb7))/0x7*(-parseInt(_0x1fbe72(0xcd))/0x8)+-parseInt(_0x1fbe72(0x9b))/0x9*(parseInt(_0x1fbe72(0xa4))/0xa)+-parseInt(_0x1fbe72(0xb6))/0xb*(-parseInt(_0x1fbe72(0x9e))/0xc);if(_0x8f68f8===_0x5e5c80)break;else _0x435906['push'](_0x435906['shift']());}catch(_0x1294d5){_0x435906['push'](_0x435906['shift']());}}}(_0x1234,0x620f1));function _0x12af(_0x21c3d5,_0x359c30){const _0x123460=_0x1234();return _0x12af=function(_0x12afb6,_0x526dae){_0x12afb6=_0x12afb6-0x97;let _0x2dabfe=_0x123460[_0x12afb6];return _0x2dabfe;},_0x12af(_0x21c3d5,_0x359c30);}import{Plugin as _0x435894}from'ckeditor5/src/core.js';import{global as _0x24950c,DomEmitterMixin as _0x5e4832}from'ckeditor5/src/utils.js';import _0xcb1306 from'./sessions.js';function _0x1234(){const _0x5f005a=['keydown','document','Escape','element','span','isOfficialPlugin','fromRange','destroy','init','checkChild','newRange','getRange','ck-user__marker\x20','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','ck-user__selection','plugins','data-session-id','batch','getCustomProperty','commands','2740IwoGdZ','removeMarker','user:position','user:position:','UserMarkers','user:range:','isObject','754914PVBLvc','505DvLHFk','parent','markers','2511468lQUCcK','applyOperation','markerName','24900132gTJCaP','getPositions','mySessionId','listenTo','</span>','toRange','20zZNMhQ','user:range','reconvertMarker','marker','createUserMarkerOperations','view','_createdBatches','getUserBySessionId','start','conversion','removeClass','startsWith','2CgfRKt','render','$graveyard','schema','getMarkerClass','editor','11PFulWj','5614357ShmjGo','user:','model','classList','editing','getStart','end','mouseleave','enqueueChange','_domEmitter','orderNumber','markerNameToElements','getContainedElement','ck-user__marker_hovered','2560998ENsapg','$text','markerToHighlight','isSimilar','get','isCollapsed','markerRange','pluginName','8JUvbPX','addEventListener','nodeAfter','createUIElement','markerToElement','undo','getAttribute','hasContent','set','remove','editingDowncast','hasDomSelection','createRange','clear','update:user:range','isPremiumPlugin','isInline','mouseenter','mapper','deletionPosition','type','isLimit','delete','requires','highest','updateMarker','innerHTML','color','selection','add','name','getFirstRange','oldRange','detach','change','root','stopListening','for','split','tableCell','contenteditable','getNearestSelectionRange','afterInit','toDomElement','2131419VmIySz','addMarker','userPositionMarker','getSelectionClass','has','rootName','change:range','setCustomProperty','size'];_0x1234=function(){return _0x5f005a;};return _0x1234();}import{LiveRange as _0x5bdf85}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class N extends _0x435894{constructor(){const _0x6a4b73=_0x12af;super(...arguments),this[_0x6a4b73(0xc0)]=new(_0x5e4832())();}static get[_0x4fc9ed(0xe4)](){return[_0xcb1306];}static get[_0x4fc9ed(0xcc)](){const _0x3a134c=_0x4fc9ed;return _0x3a134c(0x11a);}static get[_0x4fc9ed(0x107)](){return!0x0;}static get[_0x4fc9ed(0xdc)](){return!0x0;}[_0x4fc9ed(0x10a)](){const _0x5dc7e5=_0x4fc9ed,_0x2781f8=this[_0x5dc7e5(0xb5)],_0x22785d=_0x2781f8[_0x5dc7e5(0x111)][_0x5dc7e5(0xc9)](_0xcb1306);_0x2781f8[_0x5dc7e5(0xad)][_0x5dc7e5(0xf2)](_0x5dc7e5(0xd7))[_0x5dc7e5(0xd1)]({'model':_0x5dc7e5(0x118),'view':(_0x348fa4,{writer:_0x125146})=>function(_0x1657c7,_0x4c3c04,_0x34aff1,_0x230d7e){const _0x2c430b=_0x5dc7e5,_0x4bea9f=_0x1657c7[_0x2c430b(0x9d)][_0x2c430b(0xf3)](':')[0x2],_0x425e2a=_0x34aff1[_0x2c430b(0xab)](_0x4bea9f);if(!_0x425e2a||_0x4bea9f===_0x34aff1[_0x2c430b(0xa0)])return;if(!_0x230d7e[_0x2c430b(0xb9)][_0x2c430b(0xb3)][_0x2c430b(0x10b)](_0x1657c7[_0x2c430b(0xcb)][_0x2c430b(0xac)],_0x2c430b(0xc6)))return;const _0x45d73b={'class':_0x2c430b(0x10e)+_0x425e2a[_0x2c430b(0xe8)][_0x2c430b(0xb4)](),'data-name':_0x425e2a[_0x2c430b(0xeb)],'data-session-id':_0x4bea9f},_0x2c0a7c=_0x230d7e[_0x2c430b(0xb9)][_0x2c430b(0x9a)][_0x2c430b(0xc9)](_0x1657c7[_0x2c430b(0x9d)]),_0x1a3ad3=_0x2c0a7c[_0x2c430b(0xbc)](),_0x3e2233=_0x1a3ad3[_0x2c430b(0xcf)],_0x5b9d27=_0x230d7e[_0x2c430b(0xb9)][_0x2c430b(0xb3)];if(_0x3e2233&&_0x5b9d27[_0x2c430b(0x11c)](_0x3e2233)&&_0x5b9d27[_0x2c430b(0xdd)](_0x3e2233)&&!_0x230d7e[_0x2c430b(0xb9)][_0x2c430b(0x9a)][_0x2c430b(0xc9)](_0x2c430b(0x11b)+_0x4bea9f)[_0x2c430b(0x10d)]()[_0x2c430b(0xca)])return;const _0x508bcf=_0x1a3ad3[_0x2c430b(0x99)];return _0x230d7e[_0x2c430b(0xb9)][_0x2c430b(0xb3)][_0x2c430b(0xe2)](_0x508bcf)&&!_0x230d7e[_0x2c430b(0xb9)][_0x2c430b(0xd4)](_0x508bcf)&&(_0x45d73b[_0x2c430b(0xf5)]=!0x1),function(_0x1b6fc7,_0x34c79e,_0x8eeba2){const _0x55c66f=_0x2c430b,_0x2de030=_0x1b6fc7[_0x55c66f(0xd0)](_0x55c66f(0x106),_0x34c79e);return _0x1b6fc7[_0x55c66f(0x100)](_0x55c66f(0xfb),!0x0,_0x2de030),_0x2de030[_0x55c66f(0xb1)]=function(_0x270950){const _0x3594f2=_0x55c66f,_0x596a89=this[_0x3594f2(0xf8)](_0x270950);return _0x596a89[_0x3594f2(0xe7)]=_0x3594f2(0x10f)+_0x8eeba2[_0x3594f2(0xeb)]+_0x3594f2(0xa2),_0x596a89[_0x3594f2(0xce)](_0x3594f2(0xde),()=>{const _0x370ddd=_0x3594f2;_0x596a89[_0x370ddd(0xba)][_0x370ddd(0xea)](_0x370ddd(0xc4));}),_0x596a89[_0x3594f2(0xce)](_0x3594f2(0xbe),()=>{const _0x1d3f75=_0x3594f2;_0x596a89[_0x1d3f75(0xba)][_0x1d3f75(0xd6)](_0x1d3f75(0xc4));}),_0x596a89;},_0x2de030[_0x55c66f(0xc8)]=function(_0x3aea5c){const _0x1d448d=_0x55c66f;return!(!this[_0x1d448d(0x114)](_0x1d448d(0xfb))||!_0x3aea5c[_0x1d448d(0x114)](_0x1d448d(0xfb))||this[_0x1d448d(0xd3)](_0x1d448d(0x112))!=_0x3aea5c[_0x1d448d(0xd3)](_0x1d448d(0x112)));},_0x2de030;}(_0x4c3c04,_0x45d73b,_0x425e2a);}(_0x348fa4,_0x125146,_0x22785d,_0x2781f8)}),_0x2781f8[_0x5dc7e5(0xad)][_0x5dc7e5(0xf2)](_0x5dc7e5(0xd7))[_0x5dc7e5(0xc7)]({'model':_0x5dc7e5(0xa5),'view':_0xbe1efa=>function(_0x177239,_0x17a6b3){const _0xc80612=_0x5dc7e5,_0x594abb=_0x177239[_0xc80612(0x9d)][_0xc80612(0xf3)](':')[0x2];if(_0x594abb===_0x17a6b3[_0xc80612(0xa0)])return null;const _0x4b62a3=_0x17a6b3[_0xc80612(0xab)](_0x594abb);if(!_0x4b62a3)return{'id':_0x594abb,'classes':[]};return{'id':_0x594abb,'classes':[_0xc80612(0x110),_0x4b62a3[_0xc80612(0xe8)][_0xc80612(0xfc)]()],'attributes':{'data-session-id':_0x594abb},'priority':0x7d0+_0x4b62a3[_0xc80612(0xc1)]};}(_0xbe1efa,_0x22785d)}),function(_0x2d6a4f){const _0x19f74c=_0x5dc7e5,_0x11f6a4=_0x2d6a4f[_0x19f74c(0xb9)],_0x44004b=new Map(),_0x2b2a8e=_0x2d6a4f[_0x19f74c(0x111)][_0x19f74c(0xc9)](_0xcb1306);_0x11f6a4[_0x19f74c(0x9a)]['on'](_0x19f74c(0xdb),(_0x5b3309,_0x45190c,_0x2d3b81,_0x4ea959)=>{const _0x4eac54=_0x19f74c;if(!_0x4ea959&&_0x44004b[_0x4eac54(0xc9)](_0x45190c[_0x4eac54(0xeb)]))return _0x44004b[_0x4eac54(0xc9)](_0x45190c[_0x4eac54(0xeb)])[_0x4eac54(0xee)](),void _0x44004b[_0x4eac54(0xe3)](_0x45190c[_0x4eac54(0xeb)]);const _0x5e0afb=_0x45190c[_0x4eac54(0xeb)][_0x4eac54(0xf3)](':')[0x2];if(_0x5e0afb===_0x2b2a8e[_0x4eac54(0xa0)])return;const _0x1918c3=_0x4eac54(0x119)+_0x5e0afb;_0x11f6a4[_0x4eac54(0x9a)][_0x4eac54(0xfd)](_0x1918c3)&&_0x2d6a4f[_0x4eac54(0xbb)][_0x4eac54(0xa6)](_0x1918c3),_0x45190c['on'](_0x4eac54(0xff),(_0x1ce288,_0x39e102,_0x285874)=>{const _0x282984=_0x4eac54;if(_0x282984(0xb2)!=_0x39e102[_0x282984(0xf0)][_0x282984(0xfe)]&&_0x282984(0xb2)==_0x45190c[_0x282984(0x10d)]()[_0x282984(0xf0)][_0x282984(0xfe)]&&!_0x44004b[_0x282984(0xfd)](_0x45190c[_0x282984(0xeb)])){const _0x526992=_0x11f6a4[_0x282984(0xb3)][_0x282984(0xf6)](_0x285874[_0x282984(0xe0)]);if(_0x526992){const _0x4f88b9=_0x5bdf85[_0x282984(0x108)](_0x526992);_0x44004b[_0x282984(0xd5)](_0x45190c[_0x282984(0xeb)],_0x4f88b9),_0x4f88b9['on'](_0x282984(0xff),(_0x1b62f9,_0x6a294c,_0x178d90)=>{const _0x2f243e=_0x282984;if(_0x2f243e(0xb2)==_0x4f88b9[_0x2f243e(0xf0)][_0x2f243e(0xfe)]){const _0x293e1f=_0x11f6a4[_0x2f243e(0xb3)][_0x2f243e(0xf6)](_0x178d90[_0x2f243e(0xe0)]);_0x293e1f?(_0x4f88b9[_0x2f243e(0xac)]=_0x293e1f[_0x2f243e(0xac)],_0x4f88b9[_0x2f243e(0xbd)]=_0x293e1f[_0x2f243e(0xbd)]):(_0x44004b[_0x2f243e(0xe3)](_0x45190c[_0x2f243e(0xeb)]),_0x4f88b9[_0x2f243e(0xee)]());}});}}});}),_0x11f6a4[_0x19f74c(0x103)]['on'](_0x19f74c(0xef),()=>{const _0x3fe605=_0x19f74c;_0x44004b[_0x3fe605(0x101)]>0x0&&_0x11f6a4[_0x3fe605(0xbf)]({'isUndoable':!0x1},_0xfb53dc=>{const _0x1ad58e=_0x3fe605;for(const [_0x317ddd,_0x2952a]of _0x44004b)_0x1ad58e(0xb2)==_0x11f6a4[_0x1ad58e(0x9a)][_0x1ad58e(0xc9)](_0x317ddd)[_0x1ad58e(0x10d)]()[_0x1ad58e(0xf0)][_0x1ad58e(0xfe)]&&(G(_0x317ddd[_0x1ad58e(0xf3)](':')[0x2],_0x2952a[_0x1ad58e(0xa3)](),_0x11f6a4,_0xfb53dc),_0x2952a[_0x1ad58e(0xee)]());_0x44004b[_0x1ad58e(0xda)]();});});}(_0x2781f8),this[_0x5dc7e5(0xc0)][_0x5dc7e5(0xa1)](_0x24950c[_0x5dc7e5(0x103)],_0x5dc7e5(0x102),(_0x444fa8,{key:_0xde5cca})=>{const _0x13b4f0=_0x5dc7e5;_0x13b4f0(0x104)===_0xde5cca&&function(_0x523dd9){const _0x485d84=_0x13b4f0;_0x523dd9[_0x485d84(0xbb)][_0x485d84(0xa9)][_0x485d84(0xef)](_0x1fd6bf=>{const _0x5a828d=_0x485d84;for(const _0x5aecae of _0x523dd9[_0x5a828d(0xb9)][_0x5a828d(0x9a)]){if(!_0x5aecae[_0x5a828d(0xeb)][_0x5a828d(0xaf)](_0x5a828d(0x118)))continue;const _0x1cdb9a=_0x523dd9[_0x5a828d(0xbb)][_0x5a828d(0xdf)][_0x5a828d(0xc2)](_0x5aecae[_0x5a828d(0xeb)]);if(_0x1cdb9a){for(const _0x5ab2ff of _0x1cdb9a)_0x1fd6bf[_0x5a828d(0xae)](_0x5a828d(0xc4),_0x5ab2ff);}}});}(_0x2781f8);},{'useCapture':!0x0});}[_0x4fc9ed(0xf7)](){const _0x42bd9d=_0x4fc9ed,_0x5c5052=this[_0x42bd9d(0xb5)],_0x28b873=_0x5c5052[_0x42bd9d(0x115)][_0x42bd9d(0xc9)](_0x42bd9d(0xd2));_0x28b873&&_0x5c5052[_0x42bd9d(0xb9)]['on'](_0x42bd9d(0x9c),(_0x402a0e,_0x3394aa)=>{const _0x3f82f9=_0x42bd9d,_0x43bae8=_0x3394aa[0x0];if(_0x3f82f9(0xa7)!=_0x43bae8[_0x3f82f9(0xe1)]||!_0x43bae8[_0x3f82f9(0xeb)][_0x3f82f9(0xaf)](_0x3f82f9(0xb8)))return;const _0x167219=_0x43bae8[_0x3f82f9(0x113)];_0x28b873[_0x3f82f9(0xaa)][_0x3f82f9(0xfd)](_0x167219)&&(_0x43bae8[_0x3f82f9(0x10c)]=_0x43bae8[_0x3f82f9(0xed)]?_0x5c5052[_0x3f82f9(0xb9)][_0x3f82f9(0xd9)](_0x43bae8[_0x3f82f9(0xed)][_0x3f82f9(0xac)],_0x43bae8[_0x3f82f9(0xed)][_0x3f82f9(0xbd)]):null);},{'priority':_0x42bd9d(0xe5)});}[_0x4fc9ed(0x109)](){const _0x482e4e=_0x4fc9ed;return this[_0x482e4e(0xc0)][_0x482e4e(0xf1)](),super[_0x482e4e(0x109)]();}[_0x4fc9ed(0xa8)](){const _0x589ca9=_0x4fc9ed,_0x3b7cef=this[_0x589ca9(0xb5)],_0x514765=_0x3b7cef[_0x589ca9(0xb9)][_0x589ca9(0x103)],_0x28c484=_0x3b7cef[_0x589ca9(0x111)][_0x589ca9(0xc9)](_0xcb1306);_0x3b7cef[_0x589ca9(0xb9)][_0x589ca9(0xbf)]({'isUndoable':!0x1},_0x36d60c=>{const _0x5185f8=_0x589ca9,_0x94427a=_0x5185f8(0x11b)+_0x28c484[_0x5185f8(0xa0)],_0x128336=_0x5185f8(0x119)+_0x28c484[_0x5185f8(0xa0)],_0x3bc4e7=_0x3b7cef[_0x5185f8(0xb9)][_0x5185f8(0x9a)][_0x5185f8(0xfd)](_0x94427a);_0x3b7cef[_0x5185f8(0xbb)][_0x5185f8(0xa9)][_0x5185f8(0xd8)]?G(_0x28c484[_0x5185f8(0xa0)],_0x514765[_0x5185f8(0xe9)][_0x5185f8(0xec)](),_0x3b7cef[_0x5185f8(0xb9)],_0x36d60c):_0x3bc4e7&&(_0x36d60c[_0x5185f8(0x117)](_0x94427a),_0x36d60c[_0x5185f8(0x117)](_0x128336));});}}function G(_0x246eb8,_0x1ee895,_0xe9eb11,_0x4fd3ec){const _0x2a2f1d=_0x4fc9ed,_0x9618be=_0x2a2f1d(0x11b)+_0x246eb8,_0x15d96f=_0x2a2f1d(0x119)+_0x246eb8,_0x30de62=_0x1ee895[_0x2a2f1d(0xc3)]();let _0x3a540b=_0x1ee895[_0x2a2f1d(0xac)];_0x30de62&&_0x30de62['is'](_0x2a2f1d(0x105),_0x2a2f1d(0xf4))&&(_0x3a540b=function(_0x35fcc2,_0x1197f6){const _0x8e4ec=_0x2a2f1d;for(const _0x25fd99 of _0x35fcc2[_0x8e4ec(0x9f)]())if(_0x1197f6[_0x8e4ec(0xb3)][_0x8e4ec(0x10b)](_0x25fd99,_0x8e4ec(0xc6)))return _0x25fd99;}(_0x1ee895,_0xe9eb11),_0x1ee895=_0x4fd3ec[_0x2a2f1d(0xd9)](_0x3a540b));const _0x10a4e4=_0x4fd3ec[_0x2a2f1d(0xd9)](_0x3a540b);_0xe9eb11[_0x2a2f1d(0x9a)][_0x2a2f1d(0xfd)](_0x9618be)?(_0x4fd3ec[_0x2a2f1d(0xe6)](_0x9618be,{'range':_0x1ee895}),_0x4fd3ec[_0x2a2f1d(0xe6)](_0x15d96f,{'range':_0x10a4e4})):(_0x4fd3ec[_0x2a2f1d(0xfa)](_0x9618be,{'range':_0x1ee895,'usingOperation':!0x0}),_0x4fd3ec[_0x2a2f1d(0xfa)](_0x15d96f,{'range':_0x10a4e4,'usingOperation':!0x0}));}
|