@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.5 → 46.0.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3bf9b8=_0x1027;(function(_0x541312,_0x47fa60){const _0x197f10=_0x1027,_0x2e3f06=_0x541312();while(!![]){try{const _0x51fc33=-parseInt(_0x197f10(0x207))/0x1+-parseInt(_0x197f10(0x20d))/0x2*(parseInt(_0x197f10(0x211))/0x3)+-parseInt(_0x197f10(0x212))/0x4+-parseInt(_0x197f10(0x1f8))/0x5*(-parseInt(_0x197f10(0x213))/0x6)+-parseInt(_0x197f10(0x1f1))/0x7*(-parseInt(_0x197f10(0x1f6))/0x8)+parseInt(_0x197f10(0x1ff))/0x9*(-parseInt(_0x197f10(0x206))/0xa)+parseInt(_0x197f10(0x217))/0xb;if(_0x51fc33===_0x47fa60)break;else _0x2e3f06['push'](_0x2e3f06['shift']());}catch(_0x1241ed){_0x2e3f06['push'](_0x2e3f06['shift']());}}}(_0x24e4,0x6c370));import{View as _0x365884}from'ckeditor5/src/ui.js';function _0x1027(_0x1ae3cd,_0x281774){const _0x24e403=_0x24e4();return _0x1027=function(_0x10271d,_0x331fde){_0x10271d=_0x10271d-0x1f1;let _0x509ced=_0x24e403[_0x10271d];return _0x509ced;},_0x1027(_0x1ae3cd,_0x281774);}import{KeystrokeHandler as _0x32ee86}from'ckeditor5/src/utils.js';import{getTranslation as _0x540351}from'../../common-translations.js';export class PresenceInlineListView extends _0x365884{[_0x3bf9b8(0x1fb)];[_0x3bf9b8(0x215)];constructor(_0x4a30ca){const _0x4af3c5=_0x3bf9b8;super(_0x4a30ca);const _0x1591bb=this[_0x4af3c5(0x200)];this[_0x4af3c5(0x1fb)]=this[_0x4af3c5(0x208)](),this[_0x4af3c5(0x215)]=new _0x32ee86(),this[_0x4af3c5(0x1f5)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4af3c5(0x216)]({'tag':_0x4af3c5(0x1fa),'attributes':{'aria-haspopup':_0x1591bb['if'](_0x4af3c5(0x210)),'aria-expanded':_0x1591bb['to'](_0x4af3c5(0x1f7),_0x133476=>this[_0x4af3c5(0x210)]&&String(_0x133476)),'aria-label':_0x1591bb['to'](_0x4af3c5(0x210),_0x54125e=>_0x540351(_0x4a30ca,_0x54125e?_0x4af3c5(0x204):_0x4af3c5(0x20c))),'role':_0x4af3c5(0x20b),'tabindex':_0x1591bb['to'](_0x4af3c5(0x210),_0x5c390d=>!!_0x5c390d&&0x0),'class':['ck',_0x4af3c5(0x203)]},'children':this[_0x4af3c5(0x1fb)],'on':{'mouseenter':_0x1591bb['to'](()=>this[_0x4af3c5(0x201)](_0x4af3c5(0x205))),'mouseleave':_0x1591bb['to'](_0x239e62=>{const _0x279073=_0x4af3c5,_0xe160c4=_0x239e62,_0x1dedce=document[_0x279073(0x20e)](_0x279073(0x209)),_0x2186e4=document[_0x279073(0x20e)](_0x279073(0x1f9));_0x1dedce?.[_0x279073(0x1f3)](_0xe160c4[_0x279073(0x1fd)])||_0x2186e4?.[_0x279073(0x1f3)](_0xe160c4[_0x279073(0x1fd)])||this[_0x279073(0x201)](_0x279073(0x20f));})}}),this['on'](_0x4af3c5(0x1f2),(_0x23e418,_0x1eeea0,_0x2068ee)=>{const _0x4c752f=_0x4af3c5;this[_0x4c752f(0x1fc)]&&(_0x2068ee?this[_0x4c752f(0x1fc)][_0x4c752f(0x1f4)](_0x4c752f(0x218),String(this[_0x4c752f(0x1f7)])):this[_0x4c752f(0x1fc)][_0x4c752f(0x1fe)](_0x4c752f(0x218)));});}[_0x3bf9b8(0x214)](){const _0x20f5cf=_0x3bf9b8;this[_0x20f5cf(0x1fc)][_0x20f5cf(0x214)]();}[_0x3bf9b8(0x20a)](){const _0x5a918f=_0x3bf9b8;super[_0x5a918f(0x20a)](),this[_0x5a918f(0x215)][_0x5a918f(0x202)](this[_0x5a918f(0x1fc)]);}}function _0x24e4(){const _0x168acb=['div','items','element','relatedTarget','removeAttribute','480357odtaHm','bindTemplate','fire','listenTo','ck-presence-list__list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','presencelist:show','30rSGsmz','521730uoclGw','createCollection','.ck-presence-list__dropdown-list','render','list','Connected\x20users\x20list','11630pYRfPU','querySelector','presencelist:hide','hasPopup','177vopCWZ','1712216FbzteS','6askvim','focus','keystrokes','setTemplate','18400932FCJniX','aria-expanded','169617zgtTiq','change:hasPopup','contains','setAttribute','set','8GzZLVI','isExpanded','995965VEsPAV','.ck-balloon-panel_with-arrow'];_0x24e4=function(){return _0x168acb;};return _0x24e4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x214548=_0x1378;(function(_0xebcbe8,_0x279902){const _0x221f4c=_0x1378,_0xa1a72a=_0xebcbe8();while(!![]){try{const _0x3c4ff2=parseInt(_0x221f4c(0x88))/0x1*(parseInt(_0x221f4c(0x8a))/0x2)+parseInt(_0x221f4c(0x81))/0x3+parseInt(_0x221f4c(0x7f))/0x4*(-parseInt(_0x221f4c(0x72))/0x5)+-parseInt(_0x221f4c(0x8d))/0x6+-parseInt(_0x221f4c(0x7d))/0x7*(parseInt(_0x221f4c(0x73))/0x8)+-parseInt(_0x221f4c(0x78))/0x9*(parseInt(_0x221f4c(0x83))/0xa)+parseInt(_0x221f4c(0x70))/0xb;if(_0x3c4ff2===_0x279902)break;else _0xa1a72a['push'](_0xa1a72a['shift']());}catch(_0x5ee8a3){_0xa1a72a['push'](_0xa1a72a['shift']());}}}(_0x3489,0xac13f));function _0x3489(){const _0xc68727=['48372XFtcwS','set','30490utHsMl','isCollapsed','tooltipPosition','ck-presence-list--collapsed','counterView','965VsiKZe','div','2502acpwrZ','inlineListView','ck-reset','3169710Mmxxlp','18674557yjsIAk','change','184665nZLCJf','63808yqcTOV','items','bind','listenTo','locale','3213ORXPgQ','ck-rounded-corners','ck-presence-list','hasPopup','setTemplate','364TpRYJJ','first','20pFmXFG','bindTemplate'];_0x3489=function(){return _0xc68727;};return _0x3489();}import{View as _0x554b41}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x1f5c8e}from'./presencecounterview.js';function _0x1378(_0x49585c,_0x1d21ef){const _0x348945=_0x3489();return _0x1378=function(_0x137891,_0x9c584d){_0x137891=_0x137891-0x70;let _0x1f2cde=_0x348945[_0x137891];return _0x1f2cde;},_0x1378(_0x49585c,_0x1d21ef);}import{PresenceInlineListView as _0xb9c5ab}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x554b41{[_0x214548(0x87)];[_0x214548(0x8b)];constructor(_0x18778f,_0x49c3c7=0x6){const _0x5a4e10=_0x214548;super(_0x18778f);const _0x5f2ca0=this[_0x5a4e10(0x80)];this[_0x5a4e10(0x82)](_0x5a4e10(0x84),!0x0),this[_0x5a4e10(0x87)]=new _0x1f5c8e(this[_0x5a4e10(0x77)],_0x49c3c7),this[_0x5a4e10(0x8b)]=new _0xb9c5ab(_0x18778f),this[_0x5a4e10(0x8b)][_0x5a4e10(0x75)](_0x5a4e10(0x7b))['to'](this,_0x5a4e10(0x84)),this[_0x5a4e10(0x76)](this[_0x5a4e10(0x8b)][_0x5a4e10(0x74)],_0x5a4e10(0x71),()=>{const _0x3bf1d8=_0x5a4e10;for(const _0x17e254 of this[_0x3bf1d8(0x8b)][_0x3bf1d8(0x74)])_0x17e254[_0x3bf1d8(0x85)]='s';this[_0x3bf1d8(0x8b)][_0x3bf1d8(0x74)][_0x3bf1d8(0x7e)]&&(this[_0x3bf1d8(0x8b)][_0x3bf1d8(0x74)][_0x3bf1d8(0x7e)][_0x3bf1d8(0x85)]='se');}),this[_0x5a4e10(0x7c)]({'tag':_0x5a4e10(0x89),'attributes':{'class':['ck',_0x5a4e10(0x7a),_0x5a4e10(0x8c),_0x5a4e10(0x79),_0x5f2ca0['if'](_0x5a4e10(0x84),_0x5a4e10(0x86))]},'children':[this[_0x5a4e10(0x8b)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x450c00=_0x3e11;(function(_0x261b52,_0x3fb0d3){var _0x4b88ae=_0x3e11,_0x226e0e=_0x261b52();while(!![]){try{var _0x47e8ed=parseInt(_0x4b88ae(0x1e3))/0x1*(-parseInt(_0x4b88ae(0x1e9))/0x2)+parseInt(_0x4b88ae(0x1e0))/0x3+parseInt(_0x4b88ae(0x1de))/0x4*(parseInt(_0x4b88ae(0x1e7))/0x5)+-parseInt(_0x4b88ae(0x1db))/0x6*(-parseInt(_0x4b88ae(0x1e8))/0x7)+-parseInt(_0x4b88ae(0x1e2))/0x8+parseInt(_0x4b88ae(0x1e5))/0x9+-parseInt(_0x4b88ae(0x1e6))/0xa;if(_0x47e8ed===_0x3fb0d3)break;else _0x226e0e['push'](_0x226e0e['shift']());}catch(_0x585cb1){_0x226e0e['push'](_0x226e0e['shift']());}}}(_0x4b31,0xbbfcc));import{ContextPlugin as _0xbb3ca7}from'ckeditor5/src/core.js';import{Sessions as _0x147532}from'./realtimecollaborativeediting/sessions.js';function _0x3e11(_0x5e5fdb,_0x26e631){var _0x4b317e=_0x4b31();return _0x3e11=function(_0x3e11ce,_0x299cc9){_0x3e11ce=_0x3e11ce-0x1db;var _0x34d896=_0x4b317e[_0x3e11ce];return _0x34d896;},_0x3e11(_0x5e5fdb,_0x26e631);}import{PresenceListUI as _0x18ad66}from'./presencelist/presencelistui.js';export class PresenceList extends _0xbb3ca7{static get[_0x450c00(0x1dc)](){return[_0x147532,_0x18ad66];}static get[_0x450c00(0x1e1)](){var _0x274d7=_0x450c00;return _0x274d7(0x1dd);}static get[_0x450c00(0x1e4)](){return!0x0;}static get[_0x450c00(0x1df)](){return!0x0;}}function _0x4b31(){var _0x52195a=['PresenceList','8TsnbcA','isPremiumPlugin','1213386vNfpHz','pluginName','4724608IWtqWt','6ikZxcb','isOfficialPlugin','4710393VnSxaF','5938120VgZKCt','3349345SwmWqR','5705naZQSI','289946HOGWYg','4098SKznYg','requires'];_0x4b31=function(){return _0x52195a;};return _0x4b31();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x58b088)());[_0x36719e(0x22d)];static get[_0x36719e(0x226)](){const _0x260ec1=_0x36719e;return[_0x5c2b68,_0x260ec1(0x211),_0x46f592,_0xa7afd6];}static get[_0x36719e(0x21e)](){const _0x3698d7=_0x36719e;return _0x3698d7(0x22e);}static get[_0x36719e(0x1f2)](){return!0x0;}static get[_0x36719e(0x228)](){return!0x0;}constructor(_0x36fc9b){const _0x301554=_0x36719e;super(_0x36fc9b),this[_0x301554(0x22d)]=new Map();}async[_0x36719e(0x1f4)](){const _0x255197=_0x36719e,_0x31d221=this[_0x255197(0x215)],_0x5829d2=_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x255197(0x211));if(_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x5c2b68)[_0x255197(0x213)](this),_0x5829d2[_0x255197(0x1f8)]={'addCommentThread':async({channelId:_0x39eb4b,threadId:_0x3b4734,comments:_0x46c914,resolvedAt:_0x22f02e,resolvedBy:_0x354a84,context:_0x4dad6c,attributes:_0x35b914})=>{const _0x2ad26f=_0x255197,_0x5c7ab1=await this[_0x2ad26f(0x216)](_0x39eb4b)[_0x2ad26f(0x219)]({'commentThreadId':_0x3b4734,'comments':_0x46c914[_0x2ad26f(0x247)](_0x16e9bd=>function(_0x4bbc98,_0x48a813,_0x55ae6b){const _0x132d2a=_0x2ad26f;return{'commentThreadId':_0x55ae6b,'commentId':_0x4bbc98[_0x132d2a(0x222)],'userId':_0x4bbc98[_0x132d2a(0x23f)],'content':_0x4bbc98[_0x132d2a(0x1f0)],'documentId':_0x48a813,'createdAt':_0x4bbc98[_0x132d2a(0x221)],'attributes':_0x4bbc98[_0x132d2a(0x1f6)]||{}};}(_0x16e9bd,_0x39eb4b,_0x3b4734)),'resolvedAt':_0x22f02e,'resolvedBy':_0x354a84,'context':_0x4dad6c,'attributes':_0x35b914})[_0x2ad26f(0x1ef)](A);return{'threadId':_0x5c7ab1[_0x2ad26f(0x208)],'comments':_0x5c7ab1[_0x2ad26f(0x20e)]};},'getCommentThread':async({channelId:_0x5f3061,threadId:_0x5dbd9a})=>{const _0xcf51fc=_0x255197,_0x500d82=await this[_0xcf51fc(0x216)](_0x5f3061)[_0xcf51fc(0x20c)](_0x5dbd9a)[_0xcf51fc(0x1ef)](A);return _0x500d82[_0xcf51fc(0x242)]?null:(await this[_0xcf51fc(0x1fb)]([_0x500d82]),{'threadId':_0x500d82[_0xcf51fc(0x208)],'comments':_0x500d82[_0xcf51fc(0x20e)][_0xcf51fc(0x247)](p),'context':_0x500d82[_0xcf51fc(0x215)],'resolvedAt':_0x500d82[_0xcf51fc(0x245)],'resolvedBy':_0x500d82[_0xcf51fc(0x212)],'attributes':_0x500d82[_0xcf51fc(0x1f6)]||{}});},'updateCommentThread':async({channelId:_0x30d459,threadId:_0x30f71a,context:_0x3c79f6,unlinkedAt:_0x523c14,attributes:_0x3e5122})=>this[_0x255197(0x216)](_0x30d459)[_0x255197(0x238)]({'commentThreadId':_0x30f71a,'context':_0x3c79f6,'attributes':_0x3e5122,'unlinkedAt':_0x523c14})[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'resolveCommentThread':async({channelId:_0x108110,threadId:_0x35286a})=>{const _0x5992f1=_0x255197,_0x4ae520=await this[_0x5992f1(0x216)](_0x108110)[_0x5992f1(0x1ea)](_0x35286a)[_0x5992f1(0x1ef)](v)[_0x5992f1(0x1ef)](A);return{'threadId':_0x4ae520[_0x5992f1(0x208)],'resolvedAt':_0x4ae520[_0x5992f1(0x245)],'resolvedBy':_0x4ae520[_0x5992f1(0x212)]};},'reopenCommentThread':async({channelId:_0xf0ef75,threadId:_0x19f456})=>this[_0x255197(0x216)](_0xf0ef75)[_0x255197(0x231)](_0x19f456)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'removeCommentThread':({channelId:_0x2c0ae7,threadId:_0x3b8131})=>this[_0x255197(0x216)](_0x2c0ae7)[_0x255197(0x229)](_0x3b8131)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'addComment':({channelId:_0x2a0700,threadId:_0xb45512,commentId:_0x1981cb,content:_0x2822c1,attributes:_0x1fce3f})=>this[_0x255197(0x216)](_0x2a0700)[_0x255197(0x24c)](_0xb45512,_0x1981cb,_0x2822c1,_0x1fce3f)[_0x255197(0x1ef)](A),'updateComment':({channelId:_0xf883ff,threadId:_0x50e842,commentId:_0x519611,content:_0x9f4dd9,attributes:_0x5119a5})=>this[_0x255197(0x216)](_0xf883ff)[_0x255197(0x1ed)](_0x50e842,_0x519611,_0x9f4dd9,_0x5119a5)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'removeComment':({channelId:_0x525af8,threadId:_0x1b2e82,commentId:_0x2a44f1})=>this[_0x255197(0x216)](_0x525af8)[_0x255197(0x1f9)](_0x1b2e82,_0x2a44f1)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A)},_0x31d221 instanceof _0x24a958){const _0x3949c9=_0x31d221[_0x255197(0x1fa)][_0x255197(0x220)](_0x255197(0x1ee)),_0xb3d683=_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x46f592);await this[_0x255197(0x1ec)](_0x3949c9);const _0x5c28de=await this[_0x255197(0x22d)][_0x255197(0x220)](_0x3949c9)[_0x255197(0x1e9)]();this[_0x255197(0x21d)](_0xb3d683,_0x255197(0x203)+_0x3949c9,(_0x10a7f5,{session:_0x10e0c2})=>{const _0x3d9f74=_0x255197;_0x10e0c2['id']===_0xb3d683[_0x3d9f74(0x22a)]&&(_0x10a7f5[_0x3d9f74(0x235)](),this[_0x3d9f74(0x215)][_0x3d9f74(0x249)][_0x3d9f74(0x220)](_0x3d9f74(0x233))[_0x3d9f74(0x1f7)](_0x10e0c2[_0x3d9f74(0x20f)],_0x3949c9));}),_0xb3d683[_0x255197(0x1f5)](_0x3949c9,_0x5c28de);}}async[_0x36719e(0x1ec)](_0xb79498){const _0x7e1f94=_0x36719e;if(this[_0x7e1f94(0x22d)][_0x7e1f94(0x232)](_0xb79498))throw new _0x18cbd9(_0x7e1f94(0x243),null,{'channelId':_0xb79498});const _0x396bae=this[_0x7e1f94(0x215)][_0x7e1f94(0x249)][_0x7e1f94(0x220)](_0x7e1f94(0x211)),_0x214295=new s[(_0x7e1f94(0x214))](_0xb79498);this[_0x7e1f94(0x22d)][_0x7e1f94(0x24b)](_0xb79498,_0x214295),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x225),(_0x2c7627,_0x38e4f4)=>{const _0x1b8958=_0x7e1f94,{commentThreadId:_0x2f986c,documentId:_0x596e26,context:_0xba2b5b,attributes:_0x145351,resolvedAt:_0x5792c2,resolvedBy:_0x13667,comments:_0x1793e1}=_0x38e4f4;_0x396bae[_0x1b8958(0x20c)](_0x2f986c)||_0x396bae[_0x1b8958(0x219)]({'threadId':_0x2f986c,'channelId':_0x596e26,'comments':_0x1793e1?_0x1793e1[_0x1b8958(0x247)](p):[],'context':_0xba2b5b,'attributes':_0x145351,'resolvedAt':_0x5792c2,'resolvedBy':_0x13667,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x207),(_0x37f002,{commentThreadId:_0x3e6be0,documentId:_0x199086,context:_0x570f03,unlinkedAt:_0x210398,attributes:_0x307ae7})=>{const _0x528c0a=_0x7e1f94;_0x396bae[_0x528c0a(0x20c)](_0x3e6be0)&&_0x396bae[_0x528c0a(0x238)]({'threadId':_0x3e6be0,'channelId':_0x199086,'context':_0x570f03,'unlinkedAt':_0x210398,'attributes':_0x307ae7,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x23b),(_0x2c944d,{commentThreadId:_0x12984a,resolvedBy:_0x58512b,resolvedAt:_0x43b76d})=>{const _0x32adda=_0x7e1f94,_0x3c16e4=_0x396bae[_0x32adda(0x20c)](_0x12984a);_0x3c16e4&&_0x3c16e4[_0x32adda(0x210)]({'resolvedBy':_0x58512b,'resolvedAt':_0x43b76d,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x1fd),(_0x5ffd78,{commentThreadId:_0x128d65})=>{const _0x3ca243=_0x7e1f94,_0x133118=_0x396bae[_0x3ca243(0x20c)](_0x128d65);_0x133118&&_0x133118[_0x3ca243(0x236)]({'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x23a),(_0xd02963,{commentThreadId:_0x539ec1})=>{const _0x2515da=_0x7e1f94,_0x4a8a25=_0x396bae[_0x2515da(0x20c)](_0x539ec1);_0x4a8a25&&_0x4a8a25[_0x2515da(0x218)]({'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x1fc),(_0x5cda7d,_0x57cb8d)=>{const _0x48ee42=_0x7e1f94,_0x2b6dc0=_0x57cb8d[_0x48ee42(0x208)],_0x3ea7ae=_0x396bae[_0x48ee42(0x20c)](_0x2b6dc0);_0x3ea7ae&&_0x3ea7ae[_0x48ee42(0x24c)]({...p(_0x57cb8d),'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x24d),(_0x56fcf4,{commentThreadId:_0x2e1eb2,commentId:_0x3055ad,content:_0x5115cb,attributes:_0x4b5498})=>{const _0x2eb6f0=_0x7e1f94,_0x24b364=_0x396bae[_0x2eb6f0(0x20c)](_0x2e1eb2);if(_0x24b364){const _0x278aee=_0x24b364[_0x2eb6f0(0x23c)](_0x3055ad);_0x278aee&&_0x278aee[_0x2eb6f0(0x20b)]({'content':_0x5115cb,'attributes':_0x4b5498,'isFromAdapter':!0x0});}}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x204),(_0x478c96,{commentThreadId:_0x4edb65,commentId:_0x37ae9d})=>{const _0x38dfdb=_0x7e1f94,_0x4239b2=_0x396bae[_0x38dfdb(0x20c)](_0x4edb65);if(_0x4239b2){const _0x48c7e1=_0x4239b2[_0x38dfdb(0x23c)](_0x37ae9d);_0x48c7e1&&_0x48c7e1[_0x38dfdb(0x218)]({'isFromAdapter':!0x0});}}),await this[_0x7e1f94(0x24a)](_0xb79498);}[_0x36719e(0x234)](){const _0x189248=_0x36719e;if(this[_0x189248(0x215)]instanceof _0x24a958){const _0x333891=this[_0x189248(0x215)][_0x189248(0x1fa)][_0x189248(0x220)](_0x189248(0x1ee));this[_0x189248(0x21c)](_0x333891);}}[_0x36719e(0x21c)](_0x27fba5){const _0x1937d3=_0x36719e;if(!this[_0x1937d3(0x22d)][_0x1937d3(0x232)](_0x27fba5))throw new _0x18cbd9(_0x1937d3(0x227),null,{'channelId':_0x27fba5});this[_0x1937d3(0x216)](_0x27fba5)[_0x1937d3(0x1f1)](),this[_0x1937d3(0x22d)][_0x1937d3(0x248)](_0x27fba5);}async[_0x36719e(0x22c)](){const _0x45dc07=_0x36719e;for(const _0x531fc0 of this[_0x45dc07(0x22d)][_0x45dc07(0x1f3)]())await this[_0x45dc07(0x24a)](_0x531fc0);if(this[_0x45dc07(0x215)]instanceof _0x24a958){const _0x171021=this[_0x45dc07(0x215)][_0x45dc07(0x1fa)][_0x45dc07(0x220)](_0x45dc07(0x1ee)),_0x279ddc=this[_0x45dc07(0x215)][_0x45dc07(0x249)][_0x45dc07(0x220)](_0x46f592);_0x279ddc[_0x45dc07(0x239)](_0x171021);const _0x1e17b5=await this[_0x45dc07(0x22d)][_0x45dc07(0x220)](_0x171021)[_0x45dc07(0x1e9)]();_0x279ddc[_0x45dc07(0x1f5)](_0x171021,_0x1e17b5);}}async[_0x36719e(0x24a)](_0x17f4c7){const _0x49d0a7=_0x36719e,{connection:_0x4c9d93}=this[_0x49d0a7(0x215)][_0x49d0a7(0x249)][_0x49d0a7(0x220)](_0x5c2b68),_0x3db33d=this[_0x49d0a7(0x215)][_0x49d0a7(0x249)][_0x49d0a7(0x220)](_0x49d0a7(0x211)),_0x32a5c5=this[_0x49d0a7(0x22d)][_0x49d0a7(0x220)](_0x17f4c7),_0x69c840=await _0x32a5c5[_0x49d0a7(0x1eb)](_0x4c9d93);await this[_0x49d0a7(0x1fb)](_0x69c840);const _0x1731e8=new Set(Array[_0x49d0a7(0x21a)](_0x3db33d[_0x49d0a7(0x201)]({'channelId':_0x17f4c7}),_0x300a0d=>_0x300a0d['id']));for(const _0x41aee1 of _0x69c840)_0x41aee1[_0x49d0a7(0x242)]||_0x1731e8[_0x49d0a7(0x248)](_0x41aee1[_0x49d0a7(0x208)]);for(const _0xebb27 of _0x1731e8)_0x3db33d[_0x49d0a7(0x20c)](_0xebb27)[_0x49d0a7(0x218)]({'isFromAdapter':!0x0});for(const _0x34500c of _0x69c840){let _0x13f7df=_0x3db33d[_0x49d0a7(0x20c)](_0x34500c[_0x49d0a7(0x208)]);const {commentThreadId:_0x2af6c9,context:_0x418221,attributes:_0x46c4e5,resolvedBy:_0x479299,resolvedAt:_0xa181b1,unlinkedAt:_0x3fc922,deletedAt:_0x101dc5}=_0x34500c;if(_0x101dc5)continue;_0x13f7df||(_0x13f7df=_0x3db33d[_0x49d0a7(0x219)]({'channelId':_0x17f4c7,'threadId':_0x2af6c9,'context':_0x418221,'attributes':_0x46c4e5||{},'resolvedBy':_0x479299,'resolvedAt':_0xa181b1,'unlinkedAt':_0x3fc922,'isFromAdapter':!0x0}));const _0x2e823a=new Set(Array[_0x49d0a7(0x21a)](_0x13f7df[_0x49d0a7(0x20e)],_0x241a58=>_0x241a58['id']));for(const _0x4701f9 of _0x34500c[_0x49d0a7(0x20e)])_0x2e823a[_0x49d0a7(0x248)](_0x4701f9[_0x49d0a7(0x222)]);for(const _0x44de6c of _0x2e823a)_0x13f7df[_0x49d0a7(0x23c)](_0x44de6c)[_0x49d0a7(0x218)]({'isFromAdapter':!0x0});for(const _0x466f01 of _0x34500c[_0x49d0a7(0x20e)]){const _0x15c609=_0x13f7df[_0x49d0a7(0x23c)](_0x466f01[_0x49d0a7(0x222)]);_0x15c609?_0x15c609[_0x49d0a7(0x1f0)]!==_0x466f01[_0x49d0a7(0x1f0)]&&_0x15c609[_0x49d0a7(0x20b)]({'content':_0x466f01[_0x49d0a7(0x1f0)],'isFromAdapter':!0x0}):_0x13f7df[_0x49d0a7(0x24c)](Object[_0x49d0a7(0x244)](p(_0x466f01),{'isFromAdapter':!0x0}));}}}[_0x36719e(0x216)](_0x47672c){const _0x3d4adf=_0x36719e;if(!this[_0x3d4adf(0x22d)][_0x3d4adf(0x232)](_0x47672c))throw new _0x18cbd9(_0x3d4adf(0x1fe),null,{'channelId':_0x47672c});return this[_0x3d4adf(0x22d)][_0x3d4adf(0x220)](_0x47672c);}async[_0x36719e(0x1fb)](_0x2ecbf5){const _0x29561b=_0x36719e,_0x5bba47=this[_0x29561b(0x215)][_0x29561b(0x249)][_0x29561b(0x220)](_0xa7afd6),{connection:_0x15146f}=this[_0x29561b(0x215)][_0x29561b(0x249)][_0x29561b(0x220)](_0x5c2b68),_0x33bd8d=new Set();for(const {resolvedBy:_0x21d167,comments:_0xb10ef1}of _0x2ecbf5){_0x21d167&&!_0x5bba47[_0x29561b(0x246)](_0x21d167)&&_0x33bd8d[_0x29561b(0x20d)](_0x21d167);for(const {userId:_0x42e3fc}of _0xb10ef1)_0x5bba47[_0x29561b(0x246)](_0x42e3fc)||_0x33bd8d[_0x29561b(0x20d)](_0x42e3fc);}if(0x0===_0x33bd8d[_0x29561b(0x1e6)])return;const _0x2c9525=await _0x32e914[_0x29561b(0x1e7)](_0x15146f,Array[_0x29561b(0x21a)](_0x33bd8d));for(const _0x8bccf of _0x2c9525)_0x5bba47[_0x29561b(0x246)](_0x8bccf['id'])||_0x5bba47[_0x29561b(0x23e)](_0x8bccf);}}export{s as CloudServicesCommentsAdapter};async function v(_0x39cea7){const _0x470f70=_0x36719e;if(_0x470f70(0x1e8)!==_0x39cea7[_0x470f70(0x21b)])throw _0x39cea7;}function A(_0x92ee4){const _0x3c7f7b=_0x36719e;if((_0x30918b=_0x92ee4)[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x205))||_0x30918b[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x241))||_0x30918b[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x22b)))return new Promise(()=>{});var _0x30918b;throw _0x92ee4;}function _0x21e5(_0x376a59,_0x123784){const _0x2e6bbd=_0x2e6b();return _0x21e5=function(_0x21e52c,_0x2c42d5){_0x21e52c=_0x21e52c-0x1e6;let _0x477f23=_0x2e6bbd[_0x21e52c];return _0x477f23;},_0x21e5(_0x376a59,_0x123784);}function p(_0x16e977){const _0x5679c8=_0x36719e;return{'threadId':_0x16e977[_0x5679c8(0x208)],'commentId':_0x16e977[_0x5679c8(0x222)],'content':_0x16e977[_0x5679c8(0x1f0)],'createdAt':_0x16e977[_0x5679c8(0x221)],'authorId':_0x16e977[_0x5679c8(0x202)],'attributes':_0x16e977[_0x5679c8(0x1f6)]||{}};}
|
|
23
|
+
const _0x3b648d=_0x4c8a;(function(_0x46abf4,_0x567ebe){const _0x2b5eb5=_0x4c8a,_0x98033f=_0x46abf4();while(!![]){try{const _0x39617a=-parseInt(_0x2b5eb5(0x1d5))/0x1+parseInt(_0x2b5eb5(0x1eb))/0x2*(parseInt(_0x2b5eb5(0x206))/0x3)+parseInt(_0x2b5eb5(0x1c4))/0x4+parseInt(_0x2b5eb5(0x1f9))/0x5+parseInt(_0x2b5eb5(0x1ce))/0x6+-parseInt(_0x2b5eb5(0x1d1))/0x7+-parseInt(_0x2b5eb5(0x1bb))/0x8*(parseInt(_0x2b5eb5(0x1e0))/0x9);if(_0x39617a===_0x567ebe)break;else _0x98033f['push'](_0x98033f['shift']());}catch(_0x4794ff){_0x98033f['push'](_0x98033f['shift']());}}}(_0x4f42,0x71309));import{Context as _0x38def4,ContextPlugin as _0x26c4ee}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ae507}from'ckeditor5/src/utils.js';import{Users as _0x35473c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x45edf4,User as _0x552a61}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2fc56a}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4f42(){const _0x4062d1=['requires','getComment','404','set','CommentsRepository','has','assign','mySessionId','removeComment','deletedAt','size','adapter','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','3746810uNMMLE','register','getCommentThreads','resolvedAt','cloudservicescommentsadapter-disconnect-not-exist','setPermissions','addToReconnectionStack','commentRemoved','commentThreadAdded','resolve','_fetchMissingUsersForThreads','commentThreadId','listenTo','3UcbnKJ','resolveCommentThread','createdAt','authorId','commentId','reopen','add','_connectService','getCommentThread','context','addComment','reconnect','code','cloudservicescommentsadapter-connect-already-connected','_getService','cloud-services-internal-error:\x20Request\x20timeout.','plugins','init','catch','commentThreadRemoved','config','updateCommentThread','Permissions','getMany','destroy','keys','24xJkNRv','commentThreadResolved','comments','cloud-services-internal-error:\x20Not\x20connected.','addUser','collaboration.channelId','message','updateComment','permissions','3542676cjSUEM','disconnect','get','from','commentThreadUpdated','resolvedBy','commentThreadReopened','_terminateService','removeCommentThread','unregister','5317980uJVbII','connect','cloudservicescommentsadapter-service-not-exist','6405259SVBkUo','startsWith','addCommentThread','isOfficialPlugin','789273XaNnPk','CloudServicesCommentsAdapter','remove','reopenCommentThread','_setUpService','commentAdded','CommentsService','isPremiumPlugin','attributes','sessionAdd:','content','3236157QFqMmV','_services','getUser','delete','pluginName','off','update','userId','getConnectedSessions','commentUpdated','map','1450586ktVLmc'];_0x4f42=function(){return _0x4062d1;};return _0x4f42();}import{Sessions as _0x5a4ac1}from'../realtimecollaborativeediting/sessions.js';class s extends _0x26c4ee{static [_0x3b648d(0x1db)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x45edf4)());[_0x3b648d(0x1e1)];static get[_0x3b648d(0x1ec)](){const _0x51eb9a=_0x3b648d;return[_0x2fc56a,_0x51eb9a(0x1f0),_0x5a4ac1,_0x35473c];}static get[_0x3b648d(0x1e4)](){const _0x1997cb=_0x3b648d;return _0x1997cb(0x1d6);}static get[_0x3b648d(0x1d4)](){return!0x0;}static get[_0x3b648d(0x1dc)](){return!0x0;}constructor(_0xa1cfc7){const _0x615e50=_0x3b648d;super(_0xa1cfc7),this[_0x615e50(0x1e1)]=new Map();}async[_0x3b648d(0x1b2)](){const _0x4dc7e6=_0x3b648d,_0x5e7d11=this[_0x4dc7e6(0x20f)],_0x44d88c=_0x5e7d11[_0x4dc7e6(0x216)][_0x4dc7e6(0x1c6)](_0x4dc7e6(0x1f0));if(_0x5e7d11[_0x4dc7e6(0x216)][_0x4dc7e6(0x1c6)](_0x2fc56a)[_0x4dc7e6(0x1ff)](this),_0x44d88c[_0x4dc7e6(0x1f7)]={'addCommentThread':async({channelId:_0x111aff,threadId:_0x422ae2,comments:_0x1e703a,resolvedAt:_0x24e315,resolvedBy:_0x9b3f98,context:_0x337872,attributes:_0x2298ec})=>{const _0xf99c09=_0x4dc7e6,_0x43686d=await this[_0xf99c09(0x214)](_0x111aff)[_0xf99c09(0x1d3)]({'commentThreadId':_0x422ae2,'comments':_0x1e703a[_0xf99c09(0x1ea)](_0x36e15f=>function(_0x1de3a5,_0x492774,_0x384d9b){const _0xa647ce=_0xf99c09;return{'commentThreadId':_0x384d9b,'commentId':_0x1de3a5[_0xa647ce(0x20a)],'userId':_0x1de3a5[_0xa647ce(0x209)],'content':_0x1de3a5[_0xa647ce(0x1df)],'documentId':_0x492774,'createdAt':_0x1de3a5[_0xa647ce(0x208)],'attributes':_0x1de3a5[_0xa647ce(0x1dd)]||{}};}(_0x36e15f,_0x111aff,_0x422ae2)),'resolvedAt':_0x24e315,'resolvedBy':_0x9b3f98,'context':_0x337872,'attributes':_0x2298ec})[_0xf99c09(0x1b3)](A);return{'threadId':_0x43686d[_0xf99c09(0x204)],'comments':_0x43686d[_0xf99c09(0x1bd)]};},'getCommentThread':async({channelId:_0x154ff9,threadId:_0x582bbe})=>{const _0x5088fc=_0x4dc7e6,_0x37c699=await this[_0x5088fc(0x214)](_0x154ff9)[_0x5088fc(0x20e)](_0x582bbe)[_0x5088fc(0x1b3)](A);return _0x37c699[_0x5088fc(0x1f5)]?null:(await this[_0x5088fc(0x203)]([_0x37c699]),{'threadId':_0x37c699[_0x5088fc(0x204)],'comments':_0x37c699[_0x5088fc(0x1bd)][_0x5088fc(0x1ea)](p),'context':_0x37c699[_0x5088fc(0x20f)],'resolvedAt':_0x37c699[_0x5088fc(0x1fc)],'resolvedBy':_0x37c699[_0x5088fc(0x1c9)],'attributes':_0x37c699[_0x5088fc(0x1dd)]||{}});},'updateCommentThread':async({channelId:_0x4c7156,threadId:_0x4c5082,context:_0x5da6b7,unlinkedAt:_0x48e4d0,attributes:_0x1a526e})=>this[_0x4dc7e6(0x214)](_0x4c7156)[_0x4dc7e6(0x1b6)]({'commentThreadId':_0x4c5082,'context':_0x5da6b7,'attributes':_0x1a526e,'unlinkedAt':_0x48e4d0})[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A),'resolveCommentThread':async({channelId:_0x56842d,threadId:_0x365b3f})=>{const _0x47eea5=_0x4dc7e6,_0x27601e=await this[_0x47eea5(0x214)](_0x56842d)[_0x47eea5(0x207)](_0x365b3f)[_0x47eea5(0x1b3)](v)[_0x47eea5(0x1b3)](A);return{'threadId':_0x27601e[_0x47eea5(0x204)],'resolvedAt':_0x27601e[_0x47eea5(0x1fc)],'resolvedBy':_0x27601e[_0x47eea5(0x1c9)]};},'reopenCommentThread':async({channelId:_0x3b62ef,threadId:_0x273e86})=>this[_0x4dc7e6(0x214)](_0x3b62ef)[_0x4dc7e6(0x1d8)](_0x273e86)[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A),'removeCommentThread':({channelId:_0x4ef33d,threadId:_0x1b6b40})=>this[_0x4dc7e6(0x214)](_0x4ef33d)[_0x4dc7e6(0x1cc)](_0x1b6b40)[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A),'addComment':({channelId:_0x2fdff8,threadId:_0xd468ec,commentId:_0x5bd704,content:_0x2c3ccc,attributes:_0x132678})=>this[_0x4dc7e6(0x214)](_0x2fdff8)[_0x4dc7e6(0x210)](_0xd468ec,_0x5bd704,_0x2c3ccc,_0x132678)[_0x4dc7e6(0x1b3)](A),'updateComment':({channelId:_0x1f14a6,threadId:_0xa29225,commentId:_0x8f0aed,content:_0x245fa9,attributes:_0x3b180c})=>this[_0x4dc7e6(0x214)](_0x1f14a6)[_0x4dc7e6(0x1c2)](_0xa29225,_0x8f0aed,_0x245fa9,_0x3b180c)[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A),'removeComment':({channelId:_0x3119f1,threadId:_0x488a5a,commentId:_0x2ef6a2})=>this[_0x4dc7e6(0x214)](_0x3119f1)[_0x4dc7e6(0x1f4)](_0x488a5a,_0x2ef6a2)[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A)},_0x5e7d11 instanceof _0x38def4){const _0x1f68ee=_0x5e7d11[_0x4dc7e6(0x1b5)][_0x4dc7e6(0x1c6)](_0x4dc7e6(0x1c0)),_0x56d537=_0x5e7d11[_0x4dc7e6(0x216)][_0x4dc7e6(0x1c6)](_0x5a4ac1);await this[_0x4dc7e6(0x1d9)](_0x1f68ee);const _0x40a298=await this[_0x4dc7e6(0x1e1)][_0x4dc7e6(0x1c6)](_0x1f68ee)[_0x4dc7e6(0x1e8)]();this[_0x4dc7e6(0x205)](_0x56d537,_0x4dc7e6(0x1de)+_0x1f68ee,(_0x335d9e,{session:_0x434f76})=>{const _0x1ae117=_0x4dc7e6;_0x434f76['id']===_0x56d537[_0x1ae117(0x1f3)]&&(_0x335d9e[_0x1ae117(0x1e5)](),this[_0x1ae117(0x20f)][_0x1ae117(0x216)][_0x1ae117(0x1c6)](_0x1ae117(0x1b7))[_0x1ae117(0x1fe)](_0x434f76[_0x1ae117(0x1c3)],_0x1f68ee));}),_0x56d537[_0x4dc7e6(0x1fa)](_0x1f68ee,_0x40a298);}}async[_0x3b648d(0x1d9)](_0x3c28de){const _0x5761de=_0x3b648d;if(this[_0x5761de(0x1e1)][_0x5761de(0x1f1)](_0x3c28de))throw new _0x3ae507(_0x5761de(0x213),null,{'channelId':_0x3c28de});const _0x15700f=this[_0x5761de(0x20f)][_0x5761de(0x216)][_0x5761de(0x1c6)](_0x5761de(0x1f0)),_0x575074=new s[(_0x5761de(0x1db))](_0x3c28de);this[_0x5761de(0x1e1)][_0x5761de(0x1ef)](_0x3c28de,_0x575074),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x201),(_0x43f368,_0x1a503a)=>{const _0x260d11=_0x5761de,{commentThreadId:_0x542992,documentId:_0x322f22,context:_0x36311,attributes:_0x559713,resolvedAt:_0x322473,resolvedBy:_0x2485c4,comments:_0x829e06}=_0x1a503a;_0x15700f[_0x260d11(0x20e)](_0x542992)||_0x15700f[_0x260d11(0x1d3)]({'threadId':_0x542992,'channelId':_0x322f22,'comments':_0x829e06?_0x829e06[_0x260d11(0x1ea)](p):[],'context':_0x36311,'attributes':_0x559713,'resolvedAt':_0x322473,'resolvedBy':_0x2485c4,'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1c8),(_0x2f41bd,{commentThreadId:_0x545703,documentId:_0x50b04a,context:_0x570bc8,unlinkedAt:_0x24e83a,attributes:_0x529ce1})=>{const _0x15e1df=_0x5761de;_0x15700f[_0x15e1df(0x20e)](_0x545703)&&_0x15700f[_0x15e1df(0x1b6)]({'threadId':_0x545703,'channelId':_0x50b04a,'context':_0x570bc8,'unlinkedAt':_0x24e83a,'attributes':_0x529ce1,'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1bc),(_0x28d5ba,{commentThreadId:_0x16ccf,resolvedBy:_0xd4ff83,resolvedAt:_0x9097e2})=>{const _0x10f0e8=_0x5761de,_0x4580c6=_0x15700f[_0x10f0e8(0x20e)](_0x16ccf);_0x4580c6&&_0x4580c6[_0x10f0e8(0x202)]({'resolvedBy':_0xd4ff83,'resolvedAt':_0x9097e2,'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1ca),(_0x228d51,{commentThreadId:_0x10d3b9})=>{const _0x39072b=_0x5761de,_0x581eaf=_0x15700f[_0x39072b(0x20e)](_0x10d3b9);_0x581eaf&&_0x581eaf[_0x39072b(0x20b)]({'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1b4),(_0x4be6a1,{commentThreadId:_0x11c3be})=>{const _0x53b936=_0x5761de,_0x548131=_0x15700f[_0x53b936(0x20e)](_0x11c3be);_0x548131&&_0x548131[_0x53b936(0x1d7)]({'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1da),(_0x783c96,_0x391e97)=>{const _0x3f045c=_0x5761de,_0x5a91d8=_0x391e97[_0x3f045c(0x204)],_0x19d022=_0x15700f[_0x3f045c(0x20e)](_0x5a91d8);_0x19d022&&_0x19d022[_0x3f045c(0x210)]({...p(_0x391e97),'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1e9),(_0x22956c,{commentThreadId:_0xdfe1e,commentId:_0xac5d02,content:_0x179bf9,attributes:_0xffaf60})=>{const _0x35168a=_0x5761de,_0x19e8d6=_0x15700f[_0x35168a(0x20e)](_0xdfe1e);if(_0x19e8d6){const _0x27c552=_0x19e8d6[_0x35168a(0x1ed)](_0xac5d02);_0x27c552&&_0x27c552[_0x35168a(0x1e6)]({'content':_0x179bf9,'attributes':_0xffaf60,'isFromAdapter':!0x0});}}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x200),(_0x1f3a13,{commentThreadId:_0x23ca49,commentId:_0x5127b4})=>{const _0x1802cf=_0x5761de,_0x342daf=_0x15700f[_0x1802cf(0x20e)](_0x23ca49);if(_0x342daf){const _0x4c5694=_0x342daf[_0x1802cf(0x1ed)](_0x5127b4);_0x4c5694&&_0x4c5694[_0x1802cf(0x1d7)]({'isFromAdapter':!0x0});}}),await this[_0x5761de(0x20d)](_0x3c28de);}[_0x3b648d(0x1b9)](){const _0x366fcb=_0x3b648d;if(this[_0x366fcb(0x20f)]instanceof _0x38def4){const _0x470575=this[_0x366fcb(0x20f)][_0x366fcb(0x1b5)][_0x366fcb(0x1c6)](_0x366fcb(0x1c0));this[_0x366fcb(0x1cb)](_0x470575);}}[_0x3b648d(0x1cb)](_0x42900a){const _0x2bc36d=_0x3b648d;if(!this[_0x2bc36d(0x1e1)][_0x2bc36d(0x1f1)](_0x42900a))throw new _0x3ae507(_0x2bc36d(0x1fd),null,{'channelId':_0x42900a});this[_0x2bc36d(0x214)](_0x42900a)[_0x2bc36d(0x1c5)](),this[_0x2bc36d(0x1e1)][_0x2bc36d(0x1e3)](_0x42900a);}async[_0x3b648d(0x211)](){const _0x3f4d4c=_0x3b648d;for(const _0x2c2110 of this[_0x3f4d4c(0x1e1)][_0x3f4d4c(0x1ba)]())await this[_0x3f4d4c(0x20d)](_0x2c2110);if(this[_0x3f4d4c(0x20f)]instanceof _0x38def4){const _0x7e0ea5=this[_0x3f4d4c(0x20f)][_0x3f4d4c(0x1b5)][_0x3f4d4c(0x1c6)](_0x3f4d4c(0x1c0)),_0x52721c=this[_0x3f4d4c(0x20f)][_0x3f4d4c(0x216)][_0x3f4d4c(0x1c6)](_0x5a4ac1);_0x52721c[_0x3f4d4c(0x1cd)](_0x7e0ea5);const _0xd0ac2a=await this[_0x3f4d4c(0x1e1)][_0x3f4d4c(0x1c6)](_0x7e0ea5)[_0x3f4d4c(0x1e8)]();_0x52721c[_0x3f4d4c(0x1fa)](_0x7e0ea5,_0xd0ac2a);}}async[_0x3b648d(0x20d)](_0x4db965){const _0x19f8a7=_0x3b648d,{connection:_0x26c68b}=this[_0x19f8a7(0x20f)][_0x19f8a7(0x216)][_0x19f8a7(0x1c6)](_0x2fc56a),_0x3ef027=this[_0x19f8a7(0x20f)][_0x19f8a7(0x216)][_0x19f8a7(0x1c6)](_0x19f8a7(0x1f0)),_0x5e9234=this[_0x19f8a7(0x1e1)][_0x19f8a7(0x1c6)](_0x4db965),_0x22e13a=await _0x5e9234[_0x19f8a7(0x1cf)](_0x26c68b);await this[_0x19f8a7(0x203)](_0x22e13a);const _0x27a7be=new Set(Array[_0x19f8a7(0x1c7)](_0x3ef027[_0x19f8a7(0x1fb)]({'channelId':_0x4db965}),_0x171504=>_0x171504['id']));for(const _0x564ad2 of _0x22e13a)_0x564ad2[_0x19f8a7(0x1f5)]||_0x27a7be[_0x19f8a7(0x1e3)](_0x564ad2[_0x19f8a7(0x204)]);for(const _0x1e2eef of _0x27a7be)_0x3ef027[_0x19f8a7(0x20e)](_0x1e2eef)[_0x19f8a7(0x1d7)]({'isFromAdapter':!0x0});for(const _0x30801f of _0x22e13a){let _0x1f82e0=_0x3ef027[_0x19f8a7(0x20e)](_0x30801f[_0x19f8a7(0x204)]);const {commentThreadId:_0x17880b,context:_0x5da2d5,attributes:_0x4d63ca,resolvedBy:_0x3090a0,resolvedAt:_0x15a428,unlinkedAt:_0x131575,deletedAt:_0xf6b280}=_0x30801f;if(_0xf6b280)continue;_0x1f82e0||(_0x1f82e0=_0x3ef027[_0x19f8a7(0x1d3)]({'channelId':_0x4db965,'threadId':_0x17880b,'context':_0x5da2d5,'attributes':_0x4d63ca||{},'resolvedBy':_0x3090a0,'resolvedAt':_0x15a428,'unlinkedAt':_0x131575,'isFromAdapter':!0x0}));const _0x49c475=new Set(Array[_0x19f8a7(0x1c7)](_0x1f82e0[_0x19f8a7(0x1bd)],_0x172463=>_0x172463['id']));for(const _0x4950e8 of _0x30801f[_0x19f8a7(0x1bd)])_0x49c475[_0x19f8a7(0x1e3)](_0x4950e8[_0x19f8a7(0x20a)]);for(const _0x7a4116 of _0x49c475)_0x1f82e0[_0x19f8a7(0x1ed)](_0x7a4116)[_0x19f8a7(0x1d7)]({'isFromAdapter':!0x0});for(const _0x314f52 of _0x30801f[_0x19f8a7(0x1bd)]){const _0x12b4e7=_0x1f82e0[_0x19f8a7(0x1ed)](_0x314f52[_0x19f8a7(0x20a)]);_0x12b4e7?_0x12b4e7[_0x19f8a7(0x1df)]!==_0x314f52[_0x19f8a7(0x1df)]&&_0x12b4e7[_0x19f8a7(0x1e6)]({'content':_0x314f52[_0x19f8a7(0x1df)],'isFromAdapter':!0x0}):_0x1f82e0[_0x19f8a7(0x210)](Object[_0x19f8a7(0x1f2)](p(_0x314f52),{'isFromAdapter':!0x0}));}}}[_0x3b648d(0x214)](_0xaad679){const _0x47b8a9=_0x3b648d;if(!this[_0x47b8a9(0x1e1)][_0x47b8a9(0x1f1)](_0xaad679))throw new _0x3ae507(_0x47b8a9(0x1d0),null,{'channelId':_0xaad679});return this[_0x47b8a9(0x1e1)][_0x47b8a9(0x1c6)](_0xaad679);}async[_0x3b648d(0x203)](_0x173771){const _0x10ad92=_0x3b648d,_0x594fb3=this[_0x10ad92(0x20f)][_0x10ad92(0x216)][_0x10ad92(0x1c6)](_0x35473c),{connection:_0x210b53}=this[_0x10ad92(0x20f)][_0x10ad92(0x216)][_0x10ad92(0x1c6)](_0x2fc56a),_0x21d4a9=new Set();for(const {resolvedBy:_0xbad402,comments:_0x162fb1}of _0x173771){_0xbad402&&!_0x594fb3[_0x10ad92(0x1e2)](_0xbad402)&&_0x21d4a9[_0x10ad92(0x20c)](_0xbad402);for(const {userId:_0x4a60d6}of _0x162fb1)_0x594fb3[_0x10ad92(0x1e2)](_0x4a60d6)||_0x21d4a9[_0x10ad92(0x20c)](_0x4a60d6);}if(0x0===_0x21d4a9[_0x10ad92(0x1f6)])return;const _0x4389c7=await _0x552a61[_0x10ad92(0x1b8)](_0x210b53,Array[_0x10ad92(0x1c7)](_0x21d4a9));for(const _0x51022b of _0x4389c7)_0x594fb3[_0x10ad92(0x1e2)](_0x51022b['id'])||_0x594fb3[_0x10ad92(0x1bf)](_0x51022b);}}export{s as CloudServicesCommentsAdapter};async function v(_0x1483cc){const _0x2df383=_0x3b648d;if(_0x2df383(0x1ee)!==_0x1483cc[_0x2df383(0x212)])throw _0x1483cc;}function A(_0xc51267){const _0x16836b=_0x3b648d;if((_0x3f2a15=_0xc51267)[_0x16836b(0x1c1)][_0x16836b(0x1d2)](_0x16836b(0x1f8))||_0x3f2a15[_0x16836b(0x1c1)][_0x16836b(0x1d2)](_0x16836b(0x1be))||_0x3f2a15[_0x16836b(0x1c1)][_0x16836b(0x1d2)](_0x16836b(0x215)))return new Promise(()=>{});var _0x3f2a15;throw _0xc51267;}function _0x4c8a(_0x4d02a5,_0x41d5f6){const _0x4f4201=_0x4f42();return _0x4c8a=function(_0x4c8a97,_0x2992ec){_0x4c8a97=_0x4c8a97-0x1b2;let _0x409a5f=_0x4f4201[_0x4c8a97];return _0x409a5f;},_0x4c8a(_0x4d02a5,_0x41d5f6);}function p(_0x4c4f85){const _0x1bc8c7=_0x3b648d;return{'threadId':_0x4c4f85[_0x1bc8c7(0x204)],'commentId':_0x4c4f85[_0x1bc8c7(0x20a)],'content':_0x4c4f85[_0x1bc8c7(0x1df)],'createdAt':_0x4c4f85[_0x1bc8c7(0x208)],'authorId':_0x4c4f85[_0x1bc8c7(0x1e7)],'attributes':_0x4c4f85[_0x1bc8c7(0x1dd)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x430d3d=_0x4ffd;(function(_0x4f75c5,_0x3a2f5d){const _0x837d9e=_0x4ffd,_0x2da372=_0x4f75c5();while(!![]){try{const _0x4e4d84=parseInt(_0x837d9e(0xb3))/0x1*(-parseInt(_0x837d9e(0x9c))/0x2)+-parseInt(_0x837d9e(0x9e))/0x3+parseInt(_0x837d9e(0xab))/0x4+parseInt(_0x837d9e(0xad))/0x5*(-parseInt(_0x837d9e(0x93))/0x6)+parseInt(_0x837d9e(0xaa))/0x7+parseInt(_0x837d9e(0xb4))/0x8+-parseInt(_0x837d9e(0xa2))/0x9*(-parseInt(_0x837d9e(0x99))/0xa);if(_0x4e4d84===_0x3a2f5d)break;else _0x2da372['push'](_0x2da372['shift']());}catch(_0x432e05){_0x2da372['push'](_0x2da372['shift']());}}}(_0x49b8,0x384b7));import{Plugin as _0x20fb18}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2e9762}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x196a1a}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x2ad473}from'./realtimecollaborativeediting/websocketgateway.js';function _0x4ffd(_0x323ad6,_0x62f1e8){const _0x49b8cc=_0x49b8();return _0x4ffd=function(_0x4ffded,_0x13c438){_0x4ffded=_0x4ffded-0x93;let _0x3c80c4=_0x49b8cc[_0x4ffded];return _0x3c80c4;},_0x4ffd(_0x323ad6,_0x62f1e8);}export class RealTimeCollaborativeComments extends _0x20fb18{static get[_0x430d3d(0x9b)](){const _0x419385=_0x430d3d;return[_0x419385(0xac),_0x2e9762,_0x196a1a,_0x2ad473];}static get[_0x430d3d(0xb2)](){const _0x549148=_0x430d3d;return _0x549148(0x9f);}static get[_0x430d3d(0xb0)](){return!0x0;}static get[_0x430d3d(0x97)](){return!0x0;}[_0x430d3d(0xa9)](){const _0x3780ba=_0x430d3d,_0x1438ed=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x2ad473),_0x201a8d=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x3780ba(0xae)),_0x4e18aa=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x2e9762);return this[_0x3780ba(0x9d)][_0x3780ba(0xa5)][_0x3780ba(0xa0)](_0x3780ba(0xa3),()=>{const _0x161ee9=_0x3780ba;this[_0x161ee9(0xb5)](_0x1438ed,_0x161ee9(0x98),(_0x13064e,_0x2a6c75,_0x5d3094)=>{const _0x28933b=_0x161ee9;_0x201a8d[_0x28933b(0x95)]=_0x28933b(0xa6)!==_0x5d3094;});}),this[_0x3780ba(0xb5)](_0x1438ed,_0x3780ba(0x98),(_0x47bcfb,_0x50f1db,_0x338b57)=>{const _0x555c6b=_0x3780ba;this[_0x555c6b(0x9d)][_0x555c6b(0xa1)][_0x555c6b(0xaf)](_0x555c6b(0x9a))[_0x555c6b(0xa8)](_0x555c6b(0xa6)!==_0x338b57);}),_0x4e18aa[_0x3780ba(0x96)](this[_0x3780ba(0x9d)][_0x3780ba(0xa4)][_0x3780ba(0xaf)](_0x3780ba(0xa7)));}[_0x430d3d(0xb1)](){const _0x19c2c5=_0x430d3d;this[_0x19c2c5(0x9d)][_0x19c2c5(0xa1)][_0x19c2c5(0xaf)](_0x2e9762)[_0x19c2c5(0x94)](this[_0x19c2c5(0x9d)][_0x19c2c5(0xa4)][_0x19c2c5(0xaf)](_0x19c2c5(0xa7))),super[_0x19c2c5(0xb1)]();}}function _0x49b8(){const _0x8bd49b=['53565YpEMvk','CommentsEditing','get','isOfficialPlugin','destroy','pluginName','28393QdvxQF','98256tLDhsq','listenTo','108mamepP','_terminateService','isThreadsLoadingPaused','_setUpService','isPremiumPlugin','change:state','20HPhlOv','CommentsRepository','requires','18jZIBcY','editor','1067523fUhVxV','RealTimeCollaborativeComments','once','plugins','2393973oPGJnh','ready','config','data','connected','collaboration.channelId','switchReadOnly','init','529956cPJKrU','1659244rhsWUu','Comments'];_0x49b8=function(){return _0x8bd49b;};return _0x49b8();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x2cc433)());[_0x239d7b(0x215)];[_0x239d7b(0x1dc)];[_0x239d7b(0x1ac)];[_0x239d7b(0x24c)];[_0x239d7b(0x174)];[_0x239d7b(0x1f6)];[_0x239d7b(0x22c)];[_0x239d7b(0x244)];[_0x239d7b(0x22e)];[_0x239d7b(0x18b)];[_0x239d7b(0x253)];[_0x239d7b(0x1b7)];[_0x239d7b(0x1ff)];[_0x239d7b(0x254)];[_0x239d7b(0x208)];[_0x239d7b(0x168)];[_0x239d7b(0x18d)];[_0x239d7b(0x184)];static get[_0x239d7b(0x1b4)](){return[_0xc7c81b,_0x174557,_0x1aaefb,_0x5ba1a5,_0x54ce18,_0x19df8b];}static get[_0x239d7b(0x17f)](){const _0x7f5b67=_0x239d7b;return _0x7f5b67(0x156);}static get[_0x239d7b(0x1a0)](){return!0x0;}static get[_0x239d7b(0x1a9)](){return!0x0;}get[_0x239d7b(0x22a)](){const _0x1f9be0=_0x239d7b;return this[_0x1f9be0(0x16d)]+this[_0x1f9be0(0x215)];}get[_0x239d7b(0x16d)](){const _0x1d16fd=_0x239d7b;return this[_0x1d16fd(0x1ac)][_0x1d16fd(0x1b2)]-this[_0x1d16fd(0x215)];}get[_0x239d7b(0x20d)](){const _0x32711c=_0x239d7b,_0x7e469=this[_0x32711c(0x1ac)][_0x32711c(0x230)]();for(let _0x5e832e=_0x7e469[_0x32711c(0x16f)]-0x1;_0x5e832e>=0x0;_0x5e832e--){const _0x43aa2d=_0x7e469[_0x5e832e];if(!this[_0x32711c(0x18d)][_0x32711c(0x202)](_0x43aa2d))return _0x43aa2d[_0x32711c(0x249)]+0x1-this[_0x32711c(0x215)];}return 0x0;}constructor(_0xd56d2c){const _0x5c984e=_0x239d7b;if(super(_0xd56d2c),this[_0x5c984e(0x215)]=0x0,this[_0x5c984e(0x1dc)]=null,this[_0x5c984e(0x1ac)]=new _0x368b30(),this[_0x5c984e(0x1af)][_0x5c984e(0x20b)][_0x5c984e(0x219)](_0x5c984e(0x210),{}),this[_0x5c984e(0x24c)]=this[_0x5c984e(0x1af)][_0x5c984e(0x20b)][_0x5c984e(0x176)](_0x5c984e(0x185)),!this[_0x5c984e(0x24c)])throw new _0x299d01(_0x5c984e(0x1fc),this);const _0x4657cb=_0xd56d2c[_0x5c984e(0x20b)][_0x5c984e(0x176)](_0x5c984e(0x1d0))||_0x113089;this[_0x5c984e(0x174)]=new l[(_0x5c984e(0x18a))](_0x4657cb,this[_0x5c984e(0x24c)]),this[_0x5c984e(0x1f6)]=this[_0x5c984e(0x1af)][_0x5c984e(0x1b6)][_0x5c984e(0x1fa)],this[_0x5c984e(0x22c)]=new _0x1eae05(),this[_0x5c984e(0x244)]=[],this[_0x5c984e(0x22e)]=new WeakSet(),this[_0x5c984e(0x18b)]=new Set(),this[_0x5c984e(0x18c)](_0x5c984e(0x1a1),!0x1),this[_0x5c984e(0x18c)](_0x5c984e(0x15e),!0x1),this[_0x5c984e(0x253)]=null,this[_0x5c984e(0x1b7)]=!0x1,this[_0x5c984e(0x1ff)]=null,this[_0x5c984e(0x254)]=0x12c,this[_0x5c984e(0x208)]=this[_0x5c984e(0x254)],this[_0x5c984e(0x168)]=null,this[_0x5c984e(0x18d)]=new WeakSet(),this[_0x5c984e(0x184)]=new Z(this[_0x5c984e(0x18d)]);}[_0x239d7b(0x158)](){const _0x51c9ac=_0x239d7b,_0x8c7134=this[_0x51c9ac(0x1af)],_0x407dc4=_0x8c7134[_0x51c9ac(0x1e5)][_0x51c9ac(0x176)](_0x54ce18),_0x568b35=_0x8c7134[_0x51c9ac(0x1e5)][_0x51c9ac(0x176)](_0xc7c81b);this[_0x51c9ac(0x226)](_0x407dc4,_0x51c9ac(0x234),(_0x3062b9,_0x36ee6e)=>{const _0x515a1c=_0x51c9ac,_0x3a31a0=_0x36ee6e[0x0];_0x3a31a0[_0x515a1c(0x242)]&&(_0x3062b9[_0x515a1c(0x236)]=_0x407dc4[_0x515a1c(0x1ed)](_0x3a31a0[_0x515a1c(0x242)]),_0x3062b9[_0x515a1c(0x224)]()),null===_0x3a31a0[_0x515a1c(0x242)]&&(_0x3062b9[_0x515a1c(0x236)]=null,_0x3062b9[_0x515a1c(0x224)]());},{'priority':_0x51c9ac(0x246)}),this[_0x51c9ac(0x226)](_0x8c7134[_0x51c9ac(0x1b6)][_0x51c9ac(0x1fa)][_0x51c9ac(0x160)],_0x51c9ac(0x1db),(_0x49bee,_0x43a7cf)=>{const _0x3441b1=_0x51c9ac;_0x43a7cf[_0x3441b1(0x1b8)]&&this[_0x3441b1(0x1f8)]();}),this[_0x51c9ac(0x226)](_0x8c7134[_0x51c9ac(0x209)][_0x51c9ac(0x17c)],_0x51c9ac(0x1ae),()=>{const _0x24f4eb=_0x51c9ac;this[_0x24f4eb(0x1f8)]();}),this[_0x51c9ac(0x1cb)](),_0x8c7134[_0x51c9ac(0x1b6)]['on'](_0x51c9ac(0x1c2),(_0x441b0b,_0x489646)=>{const _0x55e065=_0x51c9ac,_0x1f0aa2=_0x489646[0x0];_0x1f0aa2[_0x55e065(0x1dd)]&&(this[_0x55e065(0x1b1)](_0x1f0aa2),this[_0x55e065(0x198)]()&&this[_0x55e065(0x201)]());}),this[_0x51c9ac(0x1c9)](),this[_0x51c9ac(0x1ce)](_0x51c9ac(0x214))['to'](_0x568b35,_0x51c9ac(0x20f),this,_0x51c9ac(0x15e),(_0x216577,_0x25eace)=>_0x51c9ac(0x187)===_0x216577&&!_0x25eace),this['on'](_0x51c9ac(0x182),()=>{const _0x1591ac=_0x51c9ac;this[_0x1591ac(0x214)]?_0x8c7134[_0x1591ac(0x16e)](_0x1591ac(0x197)):_0x8c7134[_0x1591ac(0x231)](_0x1591ac(0x197));}),this[_0x51c9ac(0x214)]?_0x8c7134[_0x51c9ac(0x16e)](_0x51c9ac(0x197)):_0x8c7134[_0x51c9ac(0x231)](_0x51c9ac(0x197)),this[_0x51c9ac(0x18c)](_0x51c9ac(0x1f2),!0x1);}async[_0x239d7b(0x186)](){const _0x3a9b64=_0x239d7b,_0x82fd42=this[_0x3a9b64(0x1af)][_0x3a9b64(0x1e5)][_0x3a9b64(0x176)](_0x174557),_0x16d18d=this[_0x3a9b64(0x1af)][_0x3a9b64(0x1e5)][_0x3a9b64(0x176)](_0xc7c81b);try{this[_0x3a9b64(0x1a1)]=!0x0,_0x82fd42[_0x3a9b64(0x257)](this[_0x3a9b64(0x24c)]);const _0x488227=await this[_0x3a9b64(0x174)][_0x3a9b64(0x186)](_0x16d18d[_0x3a9b64(0x216)],this[_0x3a9b64(0x20d)]);await this[_0x3a9b64(0x1ea)](_0x488227)&&(this[_0x3a9b64(0x1a1)]=!0x1,this[_0x3a9b64(0x18f)]());const _0x3e9029=await this[_0x3a9b64(0x174)][_0x3a9b64(0x193)]();_0x82fd42[_0x3a9b64(0x237)](this[_0x3a9b64(0x24c)],_0x3e9029),this[_0x3a9b64(0x1bc)](),this[_0x3a9b64(0x1f2)]=!0x0;}catch(_0x2be6e8){if(function(_0x37b136){const _0x4045cf=_0x3a9b64;return _0x4045cf(0x1d8)===_0x37b136[_0x4045cf(0x23a)];}(_0x2be6e8)&&this[_0x3a9b64(0x1dc)])await this[_0x3a9b64(0x1b0)]();else{if(function(_0xba585a){const _0x92cfed=_0x3a9b64;return _0x92cfed(0x1e4)===_0xba585a[_0x92cfed(0x23a)];}(_0x2be6e8)){const _0x47645d=_0x18fee4(this[_0x3a9b64(0x1af)][_0x3a9b64(0x1ec)],_0x3a9b64(0x24a));this[_0x3a9b64(0x255)](_0x47645d);}else{if(!(_0x2be6e8 instanceof X))throw _0x2be6e8;this[_0x3a9b64(0x255)]();}}}}[_0x239d7b(0x1d9)](){const _0x1a8b51=_0x239d7b,_0x537e73=this[_0x1a8b51(0x1af)][_0x1a8b51(0x1e5)][_0x1a8b51(0x176)](_0xc7c81b),_0x1fd765=this[_0x1a8b51(0x1af)][_0x1a8b51(0x1e5)][_0x1a8b51(0x176)](_0x174557);this[_0x1a8b51(0x1af)][_0x1a8b51(0x231)](_0x1a8b51(0x172)),_0x1fd765[_0x1a8b51(0x17e)][_0x1a8b51(0x202)](this[_0x1a8b51(0x24c)])&&_0x1fd765[_0x1a8b51(0x257)](this[_0x1a8b51(0x24c)]),_0x537e73[_0x1a8b51(0x222)](this),this[_0x1a8b51(0x163)](),super[_0x1a8b51(0x1d9)]();}async[_0x239d7b(0x1ea)](_0x308cf1){const _0x3d9f8e=_0x239d7b;if(this[_0x3d9f8e(0x1dc)]!==_0x308cf1[_0x3d9f8e(0x1dc)]&&this[_0x3d9f8e(0x168)]!==_0x308cf1[_0x3d9f8e(0x23c)])throw new X();return this[_0x3d9f8e(0x1dc)]=_0x308cf1[_0x3d9f8e(0x1dc)],this[_0x3d9f8e(0x21a)]([],{..._0x308cf1,'wereChangesApplied':!0x1,'data':_0x308cf1[_0x3d9f8e(0x1f3)]},_0x3d9f8e(0x186));}async[_0x239d7b(0x169)](_0x467b52,_0x1868f5=!0x1){const _0x502246=_0x239d7b,{connection:_0x38d8b9}=this[_0x502246(0x1af)][_0x502246(0x1e5)][_0x502246(0x176)](_0xc7c81b);l[_0x502246(0x18a)][_0x502246(0x193)](_0x38d8b9,this[_0x502246(0x24c)])[_0x502246(0x1ab)](_0x55ff4d=>this[_0x502246(0x211)](_0x55ff4d))[_0x502246(0x1d7)](_0x3e0219=>{const _0x297c3a=_0x502246;this[_0x297c3a(0x1d2)](_0x297c3a(0x22d),_0x3e0219);}),this[_0x502246(0x226)](this[_0x502246(0x174)],_0x502246(0x1e8),this[_0x502246(0x1d6)][_0x502246(0x1ce)](this)),this[_0x502246(0x226)](this[_0x502246(0x174)],_0x502246(0x175),(_0x381360,_0x55758c)=>{const _0x4980e7=_0x502246;this[_0x4980e7(0x1d2)](_0x4980e7(0x228),_0x55758c);}),this[_0x502246(0x226)](this[_0x502246(0x174)],_0x502246(0x258),()=>{const _0x1c6e7f=_0x502246;this[_0x1c6e7f(0x1f2)]=!0x1;});const _0xd4a126=this[_0x502246(0x184)][_0x502246(0x1f4)](_0x467b52);this[_0x502246(0x1a1)]=!0x0;const _0x498d2b=await this[_0x502246(0x174)][_0x502246(0x177)](_0x38d8b9,this[_0x502246(0x1a8)](_0x467b52),_0xd4a126);if(this[_0x502246(0x1dc)]=_0x498d2b[_0x502246(0x1dc)],_0x1868f5){if(!_0x498d2b[_0x502246(0x239)])return void this[_0x502246(0x255)]();this[_0x502246(0x1a1)]=!0x1,this[_0x502246(0x18f)](),this[_0x502246(0x1ac)][_0x502246(0x252)](),this[_0x502246(0x215)]=_0x498d2b[_0x502246(0x1b5)],this[_0x502246(0x1ac)][_0x502246(0x1b2)]=this[_0x502246(0x215)],await this[_0x502246(0x21a)](_0x467b52,_0x498d2b,_0x502246(0x159));}else await this[_0x502246(0x1c6)](_0x498d2b,_0x467b52);this[_0x502246(0x1bc)](),this[_0x502246(0x1f2)]=!0x0;}[_0x239d7b(0x1bc)](){const _0x51fcfd=_0x239d7b,_0x3ec7f8=this[_0x51fcfd(0x1af)][_0x51fcfd(0x1e5)][_0x51fcfd(0x176)](_0x174557),_0x3513e6=this[_0x51fcfd(0x1af)][_0x51fcfd(0x1e5)][_0x51fcfd(0x176)](_0x1aaefb),_0x26da04=_0x3ec7f8[_0x51fcfd(0x17e)][_0x51fcfd(0x176)](this[_0x51fcfd(0x24c)]);_0x26da04&&_0x26da04[_0x51fcfd(0x16f)]>0x1?_0x3513e6[_0x51fcfd(0x223)]():this[_0x51fcfd(0x226)](_0x3ec7f8,_0x51fcfd(0x15c)+this[_0x51fcfd(0x24c)],()=>{const _0x30c6a9=_0x51fcfd;0x2===_0x3ec7f8[_0x30c6a9(0x17e)][_0x30c6a9(0x176)](this[_0x30c6a9(0x24c)])[_0x30c6a9(0x16f)]&&_0x3513e6[_0x30c6a9(0x223)]();});}async[_0x239d7b(0x1d6)](_0x3ec3c1,_0x3ce0e2,_0xd55f77,_0x1670d9){const _0x2b1c56=_0x239d7b;if(!this[_0x2b1c56(0x1a1)]&&this[_0x2b1c56(0x1f6)][_0x2b1c56(0x1b2)]==_0x3ce0e2){const _0x4c9e5d=this[_0x2b1c56(0x1bf)](_0xd55f77,_0x1670d9);await this[_0x2b1c56(0x250)](_0x4c9e5d),this[_0x2b1c56(0x19e)](_0x4c9e5d,_0x3ce0e2,_0xd55f77[_0x2b1c56(0x23c)])||this[_0x2b1c56(0x1d2)](_0x2b1c56(0x1c3));}}async[_0x239d7b(0x1b0)](){const _0x6e5e98=_0x239d7b;this[_0x6e5e98(0x163)]();const {locale:_0x14fa1d}=this[_0x6e5e98(0x1af)];let _0x228c28;try{_0x228c28=await this[_0x6e5e98(0x174)][_0x6e5e98(0x1fd)]();}catch{const _0x57ab71=_0x18fee4(_0x14fa1d,_0x6e5e98(0x1de));return void this[_0x6e5e98(0x255)](_0x57ab71);}const _0x2a9543=_0x228c28[_0x6e5e98(0x251)]||_0x228c28[_0x6e5e98(0x166)];if(this[_0x6e5e98(0x168)]!==_0x2a9543[_0x6e5e98(0x23c)]){const _0x544d8c=_0x18fee4(_0x14fa1d,_0x6e5e98(0x1a3));return void this[_0x6e5e98(0x255)](_0x544d8c);}await this[_0x6e5e98(0x169)](this[_0x6e5e98(0x1af)][_0x6e5e98(0x1b6)][_0x6e5e98(0x1fa)][_0x6e5e98(0x1cc)][_0x6e5e98(0x230)](),!0x0);}[_0x239d7b(0x163)](){const _0x5187ed=_0x239d7b;this[_0x5187ed(0x174)][_0x5187ed(0x173)](),this[_0x5187ed(0x244)]=[],clearTimeout(this[_0x5187ed(0x1ff)]),this[_0x5187ed(0x1e9)](this[_0x5187ed(0x174)]);}[_0x239d7b(0x211)](_0x50fdbb){const _0x396010=_0x239d7b,_0x250862=this[_0x396010(0x1af)][_0x396010(0x1e5)][_0x396010(0x176)](_0x174557);this[_0x396010(0x226)](_0x250862,_0x396010(0x15c)+this[_0x396010(0x24c)],(_0x4bdb96,{session:_0x59e31d})=>{const _0x5a1662=_0x396010;if(_0x59e31d['id']===_0x250862[_0x5a1662(0x1c8)]){_0x4bdb96[_0x5a1662(0x1ba)]();const _0xcd149f=this[_0x5a1662(0x1af)][_0x5a1662(0x1e5)][_0x5a1662(0x202)](_0x5a1662(0x213))&&this[_0x5a1662(0x1af)][_0x5a1662(0x1e5)][_0x5a1662(0x176)](_0x5a1662(0x213));let _0x37987a=_0x59e31d[_0x5a1662(0x1df)];_0xcd149f&&_0xcd149f[_0x5a1662(0x20c)]&&(_0x37987a=_0x37987a[_0x5a1662(0x161)](_0x15b8c7=>_0x5a1662(0x1e2)!==_0x15b8c7)),this[_0x5a1662(0x1af)][_0x5a1662(0x1e5)][_0x5a1662(0x176)](_0x5a1662(0x191))[_0x5a1662(0x1b9)](_0x37987a,this[_0x5a1662(0x24c)]);}}),_0x250862[_0x396010(0x237)](this[_0x396010(0x24c)],_0x50fdbb);}[_0x239d7b(0x1cb)](){const _0x100271=_0x239d7b,_0x50d5dc=this[_0x100271(0x1af)][_0x100271(0x1f3)][_0x100271(0x18c)];this[_0x100271(0x1af)][_0x100271(0x1f3)][_0x100271(0x18c)]=(..._0x2e1364)=>{const _0x47317a=_0x100271;if(!_0x2e1364[_0x2e1364[_0x47317a(0x16f)]-0x1][_0x47317a(0x1b3)])throw new _0x299d01(_0x47317a(0x19a),this);_0x50d5dc[_0x47317a(0x164)](this[_0x47317a(0x1af)][_0x47317a(0x1f3)],_0x2e1364);};}[_0x239d7b(0x1c9)](){const _0x28a204=_0x239d7b;this[_0x28a204(0x1af)][_0x28a204(0x1f3)]['on'](_0x28a204(0x158),(_0x5e2d03,[_0x430eb2])=>{const _0x2cea46=_0x28a204;if(this[_0x2cea46(0x1f6)][_0x2cea46(0x1b2)])throw new _0x299d01(_0x2cea46(0x1e7),this);_0x5e2d03[_0x2cea46(0x224)](),this[_0x2cea46(0x1ad)]();const _0x4303fe=this[_0x2cea46(0x1af)][_0x2cea46(0x20b)][_0x2cea46(0x176)](_0x2cea46(0x171)),_0x45d55d=this[_0x2cea46(0x1eb)](_0x430eb2,_0x4303fe);0x0==_0x45d55d[_0x2cea46(0x16f)]&&_0x45d55d[_0x2cea46(0x157)](new _0x5490d2(0x0)),_0x5e2d03[_0x2cea46(0x236)]=this[_0x2cea46(0x169)](_0x45d55d)[_0x2cea46(0x1ab)](()=>{const _0x5880ee=_0x2cea46;this[_0x5880ee(0x1af)][_0x5880ee(0x1e5)][_0x5880ee(0x176)](_0xc7c81b)[_0x5880ee(0x1a7)](this),this[_0x5880ee(0x1af)][_0x5880ee(0x1f3)][_0x5880ee(0x1ef)](_0x5880ee(0x1ee));})[_0x2cea46(0x1d7)](_0x32a7dc=>this[_0x2cea46(0x1d2)](_0x2cea46(0x218),_0x32a7dc))[_0x2cea46(0x180)](()=>this[_0x2cea46(0x18f)]());},{'priority':_0x28a204(0x246)}),this[_0x28a204(0x1af)]['on'](_0x28a204(0x21e),async(_0x57c90e,[_0x562c0f,_0x340646])=>{const _0x35186d=_0x28a204;_0x57c90e[_0x35186d(0x224)]();const _0x3704cd=this[_0x35186d(0x1af)][_0x35186d(0x1b6)][_0x35186d(0x1fa)][_0x35186d(0x221)](_0x562c0f);if(!this[_0x35186d(0x18b)][_0x35186d(0x202)](_0x562c0f)){const _0x3a338c=_0x340646&&_0x340646[_0x35186d(0x1f3)]?_0x340646[_0x35186d(0x1f3)]:'',_0x38cc6e=_0x340646&&_0x340646[_0x35186d(0x18e)]?_0x340646[_0x35186d(0x18e)]:{};await this[_0x35186d(0x189)](_0x562c0f,_0x3a338c,_0x38cc6e);}this[_0x35186d(0x1af)][_0x35186d(0x1b6)][_0x35186d(0x24f)]({'isUndoable':!0x1},()=>{const _0x1ba20a=_0x35186d;_0x3704cd[_0x1ba20a(0x19b)]=!0x0,this[_0x1ba20a(0x1af)][_0x1ba20a(0x1b6)][_0x1ba20a(0x1fa)][_0x1ba20a(0x206)][_0x1ba20a(0x162)](_0x3704cd);});},{'priority':_0x28a204(0x246)});}async[_0x239d7b(0x250)](_0x25de0f){const _0x4cbad1=_0x239d7b,_0x5e3496=this[_0x4cbad1(0x1af)][_0x4cbad1(0x1e5)][_0x4cbad1(0x176)](_0x54ce18),{connection:_0x5ea9db}=this[_0x4cbad1(0x1af)][_0x4cbad1(0x1e5)][_0x4cbad1(0x176)](_0xc7c81b),_0x59fb5d=new Set();for(const _0x5b0907 of _0x25de0f){const _0x37206d=_0x5b0907[_0x4cbad1(0x242)];_0x37206d&&!_0x5e3496[_0x4cbad1(0x1ed)](_0x37206d)&&_0x59fb5d[_0x4cbad1(0x1fe)](_0x37206d);}if(0x0===_0x59fb5d[_0x4cbad1(0x207)])return;const _0x5255e6=await _0x386734[_0x4cbad1(0x15d)](_0x5ea9db,Array[_0x4cbad1(0x1bb)](_0x59fb5d));for(const _0x2d3288 of _0x5255e6)_0x5e3496[_0x4cbad1(0x1ed)](_0x2d3288['id'])||_0x5e3496[_0x4cbad1(0x1ca)](_0x2d3288);}[_0x239d7b(0x1eb)](_0x58c692,_0x23add8={}){const _0x3380a7=_0x239d7b,_0x527250=this[_0x3380a7(0x1af)][_0x3380a7(0x1b6)],_0x1091f1=[];let _0x4696d7=0x0;const _0x26cc89=_0x3380a7(0x170)==typeof _0x58c692?{'main':_0x58c692}:_0x58c692;for(const _0x3b01f3 of Object[_0x3380a7(0x205)](_0x26cc89)){if(!this[_0x3380a7(0x1f6)][_0x3380a7(0x23f)][_0x3380a7(0x202)](_0x3b01f3))throw new _0x299d01(_0x3380a7(0x1c0),this);const _0x4f8670=this[_0x3380a7(0x1af)][_0x3380a7(0x1f3)][_0x3380a7(0x21c)](_0x26cc89[_0x3b01f3]),_0x38ef7a=this[_0x3380a7(0x1f6)][_0x3380a7(0x221)](_0x3b01f3),_0x38b7d4=new _0x4e26e3(_0x527250[_0x3380a7(0x1e6)](_0x38ef7a,0x0),_0x4f8670,_0x4696d7++);_0x1091f1[_0x3380a7(0x157)](_0x38b7d4);for(const [_0x3fa702,_0x9f06c]of _0x4f8670[_0x3380a7(0x203)]){const _0x2085a6=_0x527250[_0x3380a7(0x204)](_0x527250[_0x3380a7(0x23e)](_0x38ef7a,_0x9f06c[_0x3380a7(0x22f)][_0x3380a7(0x21b)][_0x3380a7(0x1f7)]()),_0x527250[_0x3380a7(0x23e)](_0x38ef7a,_0x9f06c[_0x3380a7(0x190)][_0x3380a7(0x21b)][_0x3380a7(0x1f7)]())),_0xc9c944=new _0x2324d9(_0x3fa702,null,_0x2085a6,_0x527250[_0x3380a7(0x203)],!0x0,_0x4696d7++);_0x1091f1[_0x3380a7(0x157)](_0xc9c944);}}if(_0x23add8)for(const [_0x13ad89,_0x363d3c]of Object[_0x3380a7(0x183)](_0x23add8)){const _0x3ec7d7=_0x527250[_0x3380a7(0x1fa)][_0x3380a7(0x221)](_0x13ad89);if(!_0x3ec7d7)throw new _0x299d01(_0x3380a7(0x181),null);for(const [_0x1cd043,_0x4695ce]of Object[_0x3380a7(0x183)](_0x363d3c))if(null!==_0x4695ce){const _0x8b16da=new _0xca8d75(_0x3ec7d7,_0x1cd043,null,_0x4695ce,_0x4696d7++);_0x1091f1[_0x3380a7(0x157)](_0x8b16da);}}return _0x1091f1;}async[_0x239d7b(0x189)](_0x3c8210,_0x2efb97,_0x56c845){const _0x492a23=_0x239d7b;this[_0x492a23(0x1eb)]({[_0x3c8210]:_0x2efb97},{[_0x3c8210]:_0x56c845})[_0x492a23(0x167)]((_0x3cb91b,_0x3ef698)=>{const _0x431518=_0x492a23;_0x3cb91b[_0x431518(0x249)]=this[_0x431518(0x1f6)][_0x431518(0x1b2)]+_0x3ef698,_0x3cb91b[_0x431518(0x233)]=!0x0,this[_0x431518(0x1b1)](_0x3cb91b);}),this[_0x492a23(0x201)](),await this[_0x492a23(0x21f)]();}async[_0x239d7b(0x1c6)](_0x19ac9a,_0x2db9d6){const _0x315837=_0x239d7b;let _0x98665c;this[_0x315837(0x215)]=_0x19ac9a[_0x315837(0x1b5)];const _0x1ae077=_0x19ac9a[_0x315837(0x239)]&&!_0x19ac9a[_0x315837(0x21d)],_0x58e640=_0x1ae077?0x0:_0x19ac9a[_0x315837(0x1f3)][_0x315837(0x249)];if(_0x2db9d6[_0x315837(0x167)](_0x7cb3f=>{const _0x20c7ce=_0x315837;_0x7cb3f[_0x20c7ce(0x233)]=!0x0,_0x7cb3f[_0x20c7ce(0x1a5)]=_0x19ac9a[_0x20c7ce(0x1be)],_0x7cb3f[_0x20c7ce(0x242)]=null;}),_0x1ae077)_0x98665c=_0x2db9d6,this[_0x315837(0x235)](_0x98665c,_0x1ae077);else{if(_0x19ac9a[_0x315837(0x21d)]){const _0x16e08b=this[_0x315837(0x1eb)](_0x19ac9a[_0x315837(0x21d)]);this[_0x315837(0x1f6)][_0x315837(0x1cc)][_0x315837(0x1b2)]=-_0x16e08b[_0x315837(0x16f)],_0x16e08b[_0x315837(0x167)](_0x33ca7d=>{const _0x4650a1=_0x315837;_0x33ca7d[_0x4650a1(0x249)]-=_0x16e08b[_0x4650a1(0x16f)],_0x33ca7d[_0x4650a1(0x1a5)]=_0x19ac9a[_0x4650a1(0x1be)],_0x33ca7d[_0x4650a1(0x233)]=!0x0,_0x33ca7d[_0x4650a1(0x242)]=null;}),this[_0x315837(0x235)](_0x16e08b,!0x0),this[_0x315837(0x1ac)][_0x315837(0x1b2)]=-_0x16e08b[_0x315837(0x16f)]+this[_0x315837(0x215)],this[_0x315837(0x1da)](_0x16e08b);}this[_0x315837(0x1f6)][_0x315837(0x1cc)][_0x315837(0x1b2)]=_0x58e640,_0x98665c=this[_0x315837(0x1bf)](_0x19ac9a[_0x315837(0x1f3)],_0x19ac9a[_0x315837(0x220)]),await this[_0x315837(0x250)](_0x98665c),this[_0x315837(0x235)](_0x98665c,_0x1ae077);}_0x19ac9a[_0x315837(0x23c)]&&(this[_0x315837(0x184)][_0x315837(0x178)](_0x98665c,_0x19ac9a[_0x315837(0x23c)]),this[_0x315837(0x168)]=_0x19ac9a[_0x315837(0x23c)]),this[_0x315837(0x1ac)][_0x315837(0x1b2)]=_0x58e640+this[_0x315837(0x215)],this[_0x315837(0x1da)](_0x98665c),_0x2db9d6[_0x315837(0x161)](_0x3d0889=>{const _0x4f2653=_0x315837,_0x249b92=this[_0x4f2653(0x227)](_0x3d0889);return _0x249b92&&!this[_0x4f2653(0x18b)][_0x4f2653(0x202)](_0x249b92);})[_0x315837(0x167)]((_0x3f2870,_0x367ac4)=>{const _0x5e5162=_0x315837;_0x3f2870[_0x5e5162(0x249)]=this[_0x5e5162(0x1f6)][_0x5e5162(0x1b2)]+_0x367ac4,this[_0x5e5162(0x1b1)](_0x3f2870);}),this[_0x315837(0x198)]()?(this[_0x315837(0x208)]=0x0,this[_0x315837(0x201)](!0x0),await this[_0x315837(0x21f)]()):(this[_0x315837(0x1a1)]=!0x1,this[_0x315837(0x18f)]());}[_0x239d7b(0x1d2)](_0x2a3682,_0x27d941){const _0x5c1227=_0x239d7b,_0x182130=_0x27d941&&_0x27d941[_0x5c1227(0x17a)];if(_0x182130&&_0x182130[_0x5c1227(0x20a)](_0x5c1227(0x24d)))throw _0x27d941;const _0x45f766=this[_0x5c1227(0x1af)][_0x5c1227(0x1e5)][_0x5c1227(0x176)](_0xc7c81b);throw this[_0x5c1227(0x1a1)]=!0x0,_0x45f766[_0x5c1227(0x173)](),this[_0x5c1227(0x1af)][_0x5c1227(0x231)](_0x5c1227(0x248)),new _0x299d01(_0x2a3682,this[_0x5c1227(0x1af)],_0x182130?{'originalError':_0x182130}:void 0x0);}[_0x239d7b(0x1b1)](_0x17386b){const _0x4e861d=_0x239d7b;this[_0x4e861d(0x22e)][_0x4e861d(0x202)](_0x17386b)||(this[_0x4e861d(0x22e)][_0x4e861d(0x1fe)](_0x17386b),this[_0x4e861d(0x244)][_0x4e861d(0x157)](_0x17386b),this[_0x4e861d(0x253)]||_0x4e861d(0x1cd)==_0x17386b[_0x4e861d(0x192)]&&!_0x17386b[_0x4e861d(0x1c7)]||this[_0x4e861d(0x1ad)]());}[_0x239d7b(0x201)](_0x5d4f17=!0x1){const _0x19ef2e=_0x239d7b;!_0x5d4f17&&this[_0x19ef2e(0x1a1)]||(this[_0x19ef2e(0x1a1)]=!0x0,clearTimeout(this[_0x19ef2e(0x1ff)]),this[_0x19ef2e(0x1ff)]=setTimeout(()=>{const _0x4c0fce=_0x19ef2e;this[_0x4c0fce(0x20e)]()[_0x4c0fce(0x1ab)](_0x42071c=>{const _0x7f661b=_0x4c0fce;_0x42071c&&(this[_0x7f661b(0x18f)](),this[_0x7f661b(0x1a1)]=!0x1);})[_0x4c0fce(0x1d7)](_0x16139c=>{const _0x5d8473=_0x4c0fce;this[_0x5d8473(0x18f)](),this[_0x5d8473(0x1a1)]=!0x1,function(_0x39938f){const _0x3ca9e1=_0x5d8473;return _0x39938f[_0x3ca9e1(0x17a)][_0x3ca9e1(0x20a)](_0x3ca9e1(0x232))||_0x39938f[_0x3ca9e1(0x17a)][_0x3ca9e1(0x20a)](_0x3ca9e1(0x15b))||_0x39938f[_0x3ca9e1(0x17a)][_0x3ca9e1(0x20a)](_0x3ca9e1(0x256));}(_0x16139c)||this[_0x5d8473(0x1d2)](_0x16139c[_0x5d8473(0x17a)],_0x16139c);});},this[_0x19ef2e(0x208)]));}[_0x239d7b(0x21f)](){return new Promise(_0x8237f9=>{const _0x4f9c61=_0xeaa5;this['on'](_0x4f9c61(0x23d),()=>{_0x8237f9();});});}async[_0x239d7b(0x20e)](){const _0x3835b5=_0x239d7b,_0x631b4e=this[_0x3835b5(0x1af)][_0x3835b5(0x1e5)][_0x3835b5(0x176)](_0x1aaefb);if(this[_0x3835b5(0x17b)]()&&(_0x631b4e[_0x3835b5(0x223)](),this[_0x3835b5(0x1b7)]=!0x1),!this[_0x3835b5(0x198)]())return!0x0;const _0x401651=[...this[_0x3835b5(0x244)]];for(const _0x325080 of _0x401651)_0x325080[_0x3835b5(0x1f5)]=this[_0x3835b5(0x1f6)][_0x3835b5(0x1cc)][_0x3835b5(0x1d3)](_0x325080);const _0x18649b=this[_0x3835b5(0x184)][_0x3835b5(0x1f4)](_0x401651),_0xc49c57=Q++,_0x450c03=this[_0x3835b5(0x1a8)](_0x401651),_0x540d45=await this[_0x3835b5(0x174)][_0x3835b5(0x259)](_0x450c03,_0x450c03[_0x3835b5(0x249)],_0x18649b);try{return await this[_0x3835b5(0x21a)](_0x401651,_0x540d45,_0xc49c57);}catch(_0x5e982b){return this[_0x3835b5(0x1d2)](_0x3835b5(0x245),_0x5e982b);}}async[_0x239d7b(0x21a)](_0x1a763b,_0x41610b,_0x527b26){const _0x1e6b0c=_0x239d7b;if(_0x1e6b0c(0x175)in _0x41610b)throw _0x41610b[_0x1e6b0c(0x175)];let _0x285c6d=!0x1;if(_0x41610b[_0x1e6b0c(0x239)]){_0x41610b[_0x1e6b0c(0x23c)]&&(this[_0x1e6b0c(0x168)]=_0x41610b[_0x1e6b0c(0x23c)]),this[_0x1e6b0c(0x244)]=this[_0x1e6b0c(0x244)][_0x1e6b0c(0x161)](_0x4021e6=>!_0x1a763b[_0x1e6b0c(0x1cf)](_0x4021e6));for(const _0x19b2f1 of _0x1a763b)_0x19b2f1[_0x1e6b0c(0x1a5)]=_0x1e6b0c(0x1c1)in _0x41610b&&_0x41610b[_0x1e6b0c(0x1c1)]||void 0x0;Y(_0x1a763b,_0x41610b[_0x1e6b0c(0x1b2)]-_0x1a763b[_0x1e6b0c(0x16f)]),this[_0x1e6b0c(0x1da)](_0x1a763b);const _0x5cd017=_0x1a763b[_0x1e6b0c(0x161)](_0x272768=>{const _0x40cb3c=_0x1e6b0c;if(!_0x272768[_0x40cb3c(0x233)])return!0x1;const _0xb10b90=this[_0x40cb3c(0x227)](_0x272768);return _0xb10b90&&!this[_0x40cb3c(0x18b)][_0x40cb3c(0x202)](_0xb10b90);});Y(_0x5cd017,this[_0x1e6b0c(0x1f6)][_0x1e6b0c(0x1b2)]),this[_0x1e6b0c(0x235)](_0x5cd017),_0x285c6d=!0x0,this[_0x1e6b0c(0x208)]=this[_0x1e6b0c(0x254)];}else{const _0x2f0b65=this[_0x1e6b0c(0x1bf)](_0x41610b[_0x1e6b0c(0x1f3)],_0x41610b[_0x1e6b0c(0x220)])[_0x1e6b0c(0x161)](_0x4d36fc=>_0x4d36fc[_0x1e6b0c(0x249)]>=this[_0x1e6b0c(0x16d)]);_0x2f0b65[_0x1e6b0c(0x167)](_0x1d543b=>this[_0x1e6b0c(0x247)](_0x1d543b)),this[_0x1e6b0c(0x244)]=this[_0x1e6b0c(0x244)][_0x1e6b0c(0x161)](_0x1b3392=>!_0x1b3392[_0x1e6b0c(0x233)]||!this[_0x1e6b0c(0x18b)][_0x1e6b0c(0x202)](this[_0x1e6b0c(0x227)](_0x1b3392))),this[_0x1e6b0c(0x244)][_0x1e6b0c(0x16f)]&&Y(this[_0x1e6b0c(0x244)],this[_0x1e6b0c(0x244)][0x0][_0x1e6b0c(0x249)]),await this[_0x1e6b0c(0x250)](_0x2f0b65),_0x285c6d=this[_0x1e6b0c(0x19e)](_0x2f0b65,_0x41610b[_0x1e6b0c(0x1b2)],_0x41610b[_0x1e6b0c(0x23c)]),this[_0x1e6b0c(0x208)]=Math[_0x1e6b0c(0x15a)](this[_0x1e6b0c(0x208)]/0x2);}return _0x285c6d?!this[_0x1e6b0c(0x198)]()||(this[_0x1e6b0c(0x201)](!0x0),!0x1):this[_0x1e6b0c(0x1d2)](_0x1e6b0c(0x1bd));}[_0x239d7b(0x19e)](_0x44ace7,_0x4b6eef,_0x17ff33){const _0xa342b=_0x239d7b;try{const _0x12cb1d={'document':this[_0xa342b(0x1f6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3c33a6,operationsB:_0xf5daf9,originalOperations:_0x33338b}=_0x11de3a(_0x44ace7,this[_0xa342b(0x244)],_0x12cb1d);Y(_0x3c33a6,this[_0xa342b(0x1f6)][_0xa342b(0x1b2)]),Y(_0xf5daf9,_0x4b6eef);for(const _0x87dae6 of _0x3c33a6){const _0x255b38=_0x33338b[_0xa342b(0x176)](_0x87dae6);_0x87dae6[_0xa342b(0x242)]=_0x255b38?_0x255b38[_0xa342b(0x242)]:null;}_0x17ff33&&(this[_0xa342b(0x184)][_0xa342b(0x178)](_0x44ace7,_0x17ff33),this[_0xa342b(0x168)]=_0x17ff33),this[_0xa342b(0x244)]=[..._0xf5daf9],this[_0xa342b(0x235)](_0x3c33a6),this[_0xa342b(0x1da)](_0x44ace7);}catch(_0x5e3e48){return console[_0xa342b(0x175)](_0x5e3e48),!0x1;}return!0x0;}[_0x239d7b(0x235)](_0x59bd21,_0x464b11=!0x1){const _0x31dcad=_0x239d7b;this[_0x31dcad(0x1af)][_0x31dcad(0x1b6)][_0x31dcad(0x24f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55b784=>{const _0x115a96=_0x31dcad;for(const _0x7ea65f of _0x59bd21)this[_0x115a96(0x22e)][_0x115a96(0x1fe)](_0x7ea65f),this[_0x115a96(0x247)](_0x7ea65f),_0x55b784[_0x115a96(0x1e3)][_0x115a96(0x179)](_0x7ea65f),this[_0x115a96(0x1af)][_0x115a96(0x1b6)][_0x115a96(0x1c2)](_0x7ea65f);});}[_0x239d7b(0x247)](_0x416801){const _0x24b3fe=_0x239d7b,_0x457b2d=this[_0x24b3fe(0x227)](_0x416801);_0x457b2d&&this[_0x24b3fe(0x18b)][_0x24b3fe(0x1fe)](_0x457b2d);}[_0x239d7b(0x227)](_0x192bb4){const _0x43d993=_0x239d7b;let _0x346c99,_0x4208fe;switch(_0x192bb4[_0x43d993(0x192)]){case _0x43d993(0x1d4):_0x346c99=_0x192bb4[_0x43d993(0x154)][_0x43d993(0x16a)];break;case _0x43d993(0x1cd):if(_0x4208fe=_0x192bb4[_0x43d993(0x229)],!_0x4208fe)return null;_0x346c99=_0x4208fe[_0x43d993(0x16a)];break;case _0x43d993(0x195):_0x346c99=_0x192bb4[_0x43d993(0x16a)];break;case _0x43d993(0x200):_0x346c99=_0x192bb4[_0x43d993(0x1c4)];break;case _0x43d993(0x1f0):_0x346c99=_0x192bb4[_0x43d993(0x212)][_0x43d993(0x16a)];break;default:return null;}return _0x346c99[_0x43d993(0x188)];}[_0x239d7b(0x1da)](_0x5dc43b){const _0x4b45d0=_0x239d7b;_0x5dc43b[_0x4b45d0(0x167)](_0x3e2d17=>{const _0x55da4e=_0x4b45d0,_0xc0ea56=_0x3e2d17[_0x55da4e(0x1e0)]();_0xc0ea56[_0x55da4e(0x242)]=_0x3e2d17[_0x55da4e(0x242)],_0xc0ea56[_0x55da4e(0x233)]=!!_0x3e2d17[_0x55da4e(0x233)],_0xc0ea56[_0x55da4e(0x1a5)]=_0x3e2d17[_0x55da4e(0x1a5)],_0xc0ea56[_0x55da4e(0x249)]+=this[_0x55da4e(0x215)],_0x3e2d17[_0x55da4e(0x17d)]&&this[_0x55da4e(0x18d)][_0x55da4e(0x1fe)](_0xc0ea56),this[_0x55da4e(0x1ac)][_0x55da4e(0x179)](_0xc0ea56);});}[_0x239d7b(0x255)](_0x2a5367){const _0x49698b=_0x239d7b,_0x425ed8=this[_0x49698b(0x1af)][_0x49698b(0x1e5)][_0x49698b(0x176)](_0x49698b(0x194)),_0x41cd1=this[_0x49698b(0x1af)][_0x49698b(0x1ec)];_0x2a5367||(_0x2a5367=_0x18fee4(_0x41cd1,_0x49698b(0x19f))),_0x425ed8[_0x49698b(0x24e)](_0x2a5367,{'title':_0x18fee4(_0x41cd1,_0x49698b(0x1aa)),'namespace':_0x49698b(0x199)}),this[_0x49698b(0x15e)]=!0x0,clearTimeout(this[_0x49698b(0x1ff)]),this[_0x49698b(0x244)]=[],this[_0x49698b(0x1af)][_0x49698b(0x1e5)][_0x49698b(0x176)](_0xc7c81b)[_0x49698b(0x173)]();}[_0x239d7b(0x1ad)](){const _0x3b3552=_0x239d7b;this[_0x3b3552(0x253)]||(this[_0x3b3552(0x253)]=this[_0x3b3552(0x1af)][_0x3b3552(0x1e5)][_0x3b3552(0x176)](_0x5ba1a5)[_0x3b3552(0x1fe)](_0x18fee4(this[_0x3b3552(0x1af)][_0x3b3552(0x1ec)],_0x3b3552(0x16b))));}[_0x239d7b(0x18f)](){const _0x1d1f3d=_0x239d7b;this[_0x1d1f3d(0x253)]&&(this[_0x1d1f3d(0x1af)][_0x1d1f3d(0x1e5)][_0x1d1f3d(0x176)](_0x5ba1a5)[_0x1d1f3d(0x165)](this[_0x1d1f3d(0x253)]),this[_0x1d1f3d(0x253)]=null);}[_0x239d7b(0x1a8)](_0x11d66a){const _0xc8438a=_0x239d7b,_0x3c2e2b=_0x11d66a[_0xc8438a(0x15f)](_0x3ed132=>_0x3ed132[_0xc8438a(0x1fb)]());return this[_0xc8438a(0x22c)][_0xc8438a(0x241)](_0x3c2e2b);}[_0x239d7b(0x1bf)](_0x5bc8c7,_0x568177){const _0x438e33=_0x239d7b;return this[_0x438e33(0x22c)][_0x438e33(0x155)](_0x5bc8c7)[_0x438e33(0x15f)]((_0x420def,_0x122264)=>{const _0x220158=_0x438e33,_0x2bc8f9=_0x220158(0x158)==_0x568177[_0x122264][_0x220158(0x192)];if(_0x220158(0x16c)==_0x420def[_0x220158(0x1f1)]){const _0x23e64d=_0x420def[_0x220158(0x154)][_0x220158(0x16a)];!this[_0x220158(0x1f6)][_0x220158(0x221)](_0x23e64d)&&(this[_0x220158(0x1f6)][_0x220158(0x240)](_0x220158(0x1c5),_0x23e64d)[_0x220158(0x23b)]=!0x1);}const _0x3b7aca=_0x587caa[_0x220158(0x217)](_0x420def,this[_0x220158(0x1f6)]);return _0x3b7aca[_0x220158(0x1f5)]=_0x420def[_0x220158(0x1f5)],_0x3b7aca[_0x220158(0x233)]=_0x2bc8f9,_0x3b7aca[_0x220158(0x242)]=_0x2bc8f9?null:_0x568177[_0x122264][_0x220158(0x1d5)],_0x3b7aca[_0x220158(0x17d)]=_0x220158(0x225)===_0x568177[_0x122264][_0x220158(0x192)],_0x3b7aca[_0x220158(0x1a5)]=_0x568177[_0x122264][_0x220158(0x1a5)],_0x3b7aca;});}[_0x239d7b(0x1f8)](){const _0x2c8bc0=_0x239d7b;this[_0x2c8bc0(0x1b7)]=!0x0,this[_0x2c8bc0(0x17b)]()?this[_0x2c8bc0(0x201)]():this[_0x2c8bc0(0x1b7)]=!0x1;}[_0x239d7b(0x17b)](){const _0x2a3a44=_0x239d7b,_0x2b930a=this[_0x2a3a44(0x1af)][_0x2a3a44(0x1e5)][_0x2a3a44(0x176)](_0x174557)[_0x2a3a44(0x17e)][_0x2a3a44(0x176)](this[_0x2a3a44(0x24c)]);return!this[_0x2a3a44(0x1af)][_0x2a3a44(0x238)]&&!!_0x2b930a&&_0x2b930a[_0x2a3a44(0x16f)]>0x1&&this[_0x2a3a44(0x1b7)];}[_0x239d7b(0x198)](){const _0xf2e963=_0x239d7b;return this[_0xf2e963(0x244)][_0xf2e963(0x16f)]>0x0||this[_0xf2e963(0x17b)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x18a4ab,_0x269dd6){const _0x5b32b0=_0x239d7b;for(const _0x2010cf of _0x18a4ab)_0x2010cf[_0x5b32b0(0x249)]=_0x269dd6++;}class Z{[_0x239d7b(0x24b)];[_0x239d7b(0x19c)];constructor(_0x20a85e){const _0x25066d=_0x239d7b;this[_0x25066d(0x24b)]=_0x20a85e,this[_0x25066d(0x19c)]=new WeakMap();}[_0x239d7b(0x1f4)](_0x292b77){const _0x4dfe6b=_0x239d7b;let _0x3a2896=_0x292b77[_0x4dfe6b(0x16f)];for(;_0x3a2896--;){const _0x5392d2=_0x292b77[_0x3a2896];if(!this[_0x4dfe6b(0x24b)][_0x4dfe6b(0x202)](_0x5392d2)){if(!this[_0x4dfe6b(0x19c)][_0x4dfe6b(0x202)](_0x5392d2)){const _0x3d68d7=_0x4da281()[_0x4dfe6b(0x1f7)](0x1,0x12);this[_0x4dfe6b(0x19c)][_0x4dfe6b(0x18c)](_0x5392d2,_0x3d68d7);}return this[_0x4dfe6b(0x19c)][_0x4dfe6b(0x176)](_0x5392d2);}}}[_0x239d7b(0x178)](_0x3332a0,_0x2b64ac){const _0x4d12c7=_0x239d7b;if(!_0x2b64ac)return;let _0x5997e6=_0x3332a0[_0x4d12c7(0x16f)];for(;_0x5997e6--;){const _0x54ef23=_0x3332a0[_0x5997e6];this[_0x4d12c7(0x24b)][_0x4d12c7(0x202)](_0x54ef23)||this[_0x4d12c7(0x19c)][_0x4d12c7(0x18c)](_0x54ef23,_0x2b64ac);}}}
|
|
23
|
+
const _0xbad4cf=_0x48c2;(function(_0x411913,_0x3328ed){const _0x13f46d=_0x48c2,_0x44ee6c=_0x411913();while(!![]){try{const _0xefefee=parseInt(_0x13f46d(0x1c8))/0x1+-parseInt(_0x13f46d(0x203))/0x2*(parseInt(_0x13f46d(0x206))/0x3)+parseInt(_0x13f46d(0x1e2))/0x4*(parseInt(_0x13f46d(0x1d6))/0x5)+-parseInt(_0x13f46d(0x1c6))/0x6*(-parseInt(_0x13f46d(0x189))/0x7)+-parseInt(_0x13f46d(0x173))/0x8+-parseInt(_0x13f46d(0x156))/0x9*(-parseInt(_0x13f46d(0x196))/0xa)+-parseInt(_0x13f46d(0x1ed))/0xb;if(_0xefefee===_0x3328ed)break;else _0x44ee6c['push'](_0x44ee6c['shift']());}catch(_0x170006){_0x44ee6c['push'](_0x44ee6c['shift']());}}}(_0x1c32,0x89e37));import{Plugin as _0x543271,PendingActions as _0x23109d}from'ckeditor5/src/core.js';import{CKEditorError as _0x18c474,version as _0x62e24a,uid as _0x3e5e60}from'ckeditor5/src/utils.js';import{Notification as _0x4e1e22}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x551b4a,NoOperation as _0x50dfea,InsertOperation as _0x20e510,MarkerOperation as _0x4184ab,RootAttributeOperation as _0x40ccf7,OperationFactory as _0x4e7542,History as _0x2c180a}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x81604}from'./websocketgateway.js';import{Sessions as _0x144506}from'./sessions.js';function _0x48c2(_0xc3a67d,_0x4261b6){const _0x1c32b8=_0x1c32();return _0x48c2=function(_0x48c27c,_0x5dac54){_0x48c27c=_0x48c27c-0x100;let _0x26133d=_0x1c32b8[_0x48c27c];return _0x26133d;},_0x48c2(_0xc3a67d,_0x4261b6);}import{UserMarkers as _0x11133b}from'./usermarkers.js';import{getTranslation as _0x5db92b}from'../common-translations.js';import{Compressor as _0x5ce3be}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4d338}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4fee68,CollaborativeEditingService as _0xa9e4a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;class l extends _0x543271{static [_0xbad4cf(0x1ea)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xa9e4a)());[_0xbad4cf(0x1b6)];[_0xbad4cf(0x193)];[_0xbad4cf(0x175)];[_0xbad4cf(0x150)];[_0xbad4cf(0x127)];[_0xbad4cf(0x100)];[_0xbad4cf(0x178)];[_0xbad4cf(0x1af)];[_0xbad4cf(0x1fe)];[_0xbad4cf(0x1c3)];[_0xbad4cf(0x1cc)];[_0xbad4cf(0x188)];[_0xbad4cf(0x10d)];[_0xbad4cf(0x1a6)];[_0xbad4cf(0x12c)];[_0xbad4cf(0x160)];[_0xbad4cf(0x1d0)];[_0xbad4cf(0x1da)];static get[_0xbad4cf(0x1b3)](){return[_0x81604,_0x144506,_0x11133b,_0x23109d,_0x4d338,_0x4e1e22];}static get[_0xbad4cf(0x1ac)](){const _0x42e27a=_0xbad4cf;return _0x42e27a(0x106);}static get[_0xbad4cf(0x153)](){return!0x0;}static get[_0xbad4cf(0x135)](){return!0x0;}get[_0xbad4cf(0x1fc)](){const _0x295125=_0xbad4cf;return this[_0x295125(0x123)]+this[_0x295125(0x1b6)];}get[_0xbad4cf(0x123)](){const _0x59b898=_0xbad4cf;return this[_0x59b898(0x175)][_0x59b898(0x1c1)]-this[_0x59b898(0x1b6)];}get[_0xbad4cf(0x17a)](){const _0x5ea697=_0xbad4cf,_0x44ebed=this[_0x5ea697(0x175)][_0x5ea697(0x1b4)]();for(let _0x220f7d=_0x44ebed[_0x5ea697(0x1a8)]-0x1;_0x220f7d>=0x0;_0x220f7d--){const _0x540346=_0x44ebed[_0x220f7d];if(!this[_0x5ea697(0x1d0)][_0x5ea697(0x172)](_0x540346))return _0x540346[_0x5ea697(0x1a9)]+0x1-this[_0x5ea697(0x1b6)];}return 0x0;}constructor(_0x586fe9){const _0x523405=_0xbad4cf;if(super(_0x586fe9),this[_0x523405(0x1b6)]=0x0,this[_0x523405(0x193)]=null,this[_0x523405(0x175)]=new _0x2c180a(),this[_0x523405(0x198)][_0x523405(0x201)][_0x523405(0x110)](_0x523405(0x190),{}),this[_0x523405(0x150)]=this[_0x523405(0x198)][_0x523405(0x201)][_0x523405(0x1f4)](_0x523405(0x1d9)),!this[_0x523405(0x150)])throw new _0x18c474(_0x523405(0x13e),this);const _0x2089d3=_0x586fe9[_0x523405(0x201)][_0x523405(0x1f4)](_0x523405(0x146))||_0x62e24a;this[_0x523405(0x127)]=new l[(_0x523405(0x1ea))](_0x2089d3,this[_0x523405(0x150)]),this[_0x523405(0x100)]=this[_0x523405(0x198)][_0x523405(0x16d)][_0x523405(0x109)],this[_0x523405(0x178)]=new _0x5ce3be(),this[_0x523405(0x1af)]=[],this[_0x523405(0x1fe)]=new WeakSet(),this[_0x523405(0x1c3)]=new Set(),this[_0x523405(0x1ad)](_0x523405(0x192),!0x1),this[_0x523405(0x1ad)](_0x523405(0x17e),!0x1),this[_0x523405(0x1cc)]=null,this[_0x523405(0x188)]=!0x1,this[_0x523405(0x10d)]=null,this[_0x523405(0x1a6)]=0x12c,this[_0x523405(0x12c)]=this[_0x523405(0x1a6)],this[_0x523405(0x160)]=null,this[_0x523405(0x1d0)]=new WeakSet(),this[_0x523405(0x1da)]=new tt(this[_0x523405(0x1d0)]);}[_0xbad4cf(0x19e)](){const _0x104f2b=_0xbad4cf,_0x1cc630=this[_0x104f2b(0x198)],_0x38159e=_0x1cc630[_0x104f2b(0x1e3)][_0x104f2b(0x1f4)](_0x4d338),_0xde302b=_0x1cc630[_0x104f2b(0x1e3)][_0x104f2b(0x1f4)](_0x81604);this[_0x104f2b(0x1d8)](_0x38159e,_0x104f2b(0x1d4),(_0xa6250,_0x4962a0)=>{const _0x40399c=_0x104f2b,_0x4e9eb7=_0x4962a0[0x0];_0x4e9eb7[_0x40399c(0x157)]&&(_0xa6250[_0x40399c(0x136)]=_0x38159e[_0x40399c(0x1cb)](_0x4e9eb7[_0x40399c(0x157)]),_0xa6250[_0x40399c(0x205)]()),null===_0x4e9eb7[_0x40399c(0x157)]&&(_0xa6250[_0x40399c(0x136)]=null,_0xa6250[_0x40399c(0x205)]());},{'priority':_0x104f2b(0x1a7)}),this[_0x104f2b(0x1d8)](_0x1cc630[_0x104f2b(0x16d)][_0x104f2b(0x109)][_0x104f2b(0x18b)],_0x104f2b(0x199),(_0x1d55a3,_0x9c3186)=>{const _0x52380c=_0x104f2b;_0x9c3186[_0x52380c(0x16a)]&&this[_0x52380c(0x1d3)]();}),this[_0x104f2b(0x1d8)](_0x1cc630[_0x104f2b(0x1aa)][_0x104f2b(0x1e5)],_0x104f2b(0x122),()=>{const _0x843c7f=_0x104f2b;this[_0x843c7f(0x1d3)]();}),this[_0x104f2b(0x166)](),_0x1cc630[_0x104f2b(0x16d)]['on'](_0x104f2b(0x12d),(_0x3fda7f,_0x1342f6)=>{const _0x2feed2=_0x104f2b,_0x5bd11a=_0x1342f6[0x0];_0x5bd11a[_0x2feed2(0x1df)]&&(this[_0x2feed2(0x16c)](_0x5bd11a),this[_0x2feed2(0x120)]()&&this[_0x2feed2(0x14c)]());}),this[_0x104f2b(0x1d1)](),this[_0x104f2b(0x1cf)](_0x104f2b(0x17f))['to'](_0xde302b,_0x104f2b(0x183),this,_0x104f2b(0x17e),(_0x331eed,_0x5bd527)=>_0x104f2b(0x18d)===_0x331eed&&!_0x5bd527),this['on'](_0x104f2b(0x1c0),()=>{const _0x430ee4=_0x104f2b;this[_0x430ee4(0x17f)]?_0x1cc630[_0x430ee4(0x1ba)](_0x430ee4(0x1ee)):_0x1cc630[_0x430ee4(0x159)](_0x430ee4(0x1ee));}),this[_0x104f2b(0x17f)]?_0x1cc630[_0x104f2b(0x1ba)](_0x104f2b(0x1ee)):_0x1cc630[_0x104f2b(0x159)](_0x104f2b(0x1ee)),this[_0x104f2b(0x1ad)](_0x104f2b(0x1ab),!0x1);}async[_0xbad4cf(0x107)](){const _0x4730b4=_0xbad4cf,_0x3a565b=this[_0x4730b4(0x198)][_0x4730b4(0x1e3)][_0x4730b4(0x1f4)](_0x144506),_0x13e9a8=this[_0x4730b4(0x198)][_0x4730b4(0x1e3)][_0x4730b4(0x1f4)](_0x81604);try{this[_0x4730b4(0x192)]=!0x0,_0x3a565b[_0x4730b4(0x105)](this[_0x4730b4(0x150)]);const _0x5f1440=await this[_0x4730b4(0x127)][_0x4730b4(0x107)](_0x13e9a8[_0x4730b4(0x1fa)],this[_0x4730b4(0x17a)]);await this[_0x4730b4(0x143)](_0x5f1440)&&(this[_0x4730b4(0x192)]=!0x1,this[_0x4730b4(0x1c9)]());const _0x257b77=await this[_0x4730b4(0x127)][_0x4730b4(0x17d)]();_0x3a565b[_0x4730b4(0x1ce)](this[_0x4730b4(0x150)],_0x257b77),this[_0x4730b4(0x14a)](),this[_0x4730b4(0x1ab)]=!0x0;}catch(_0x36c58b){if(function(_0x279e39){const _0x572db9=_0x4730b4;return _0x572db9(0x125)===_0x279e39[_0x572db9(0x19f)];}(_0x36c58b)&&this[_0x4730b4(0x193)])await this[_0x4730b4(0x103)]();else{if(function(_0x1931e9){const _0x611508=_0x4730b4;return _0x611508(0x171)===_0x1931e9[_0x611508(0x19f)];}(_0x36c58b)){const _0x3dafef=_0x5db92b(this[_0x4730b4(0x198)][_0x4730b4(0x149)],_0x4730b4(0x163));this[_0x4730b4(0x191)](_0x3dafef);}else{if(!(_0x36c58b instanceof Y))throw _0x36c58b;this[_0x4730b4(0x191)]();}}}}[_0xbad4cf(0x182)](){const _0x4f0bcf=_0xbad4cf,_0x547eec=this[_0x4f0bcf(0x198)][_0x4f0bcf(0x1e3)][_0x4f0bcf(0x1f4)](_0x81604),_0x564ebc=this[_0x4f0bcf(0x198)][_0x4f0bcf(0x1e3)][_0x4f0bcf(0x1f4)](_0x144506);this[_0x4f0bcf(0x198)][_0x4f0bcf(0x159)](_0x4f0bcf(0x121)),_0x564ebc[_0x4f0bcf(0x1d2)][_0x4f0bcf(0x172)](this[_0x4f0bcf(0x150)])&&_0x564ebc[_0x4f0bcf(0x105)](this[_0x4f0bcf(0x150)]),_0x547eec[_0x4f0bcf(0x1f0)](this),this[_0x4f0bcf(0x129)](),super[_0x4f0bcf(0x182)]();}async[_0xbad4cf(0x143)](_0x96ae9e){const _0x49ae06=_0xbad4cf;if(this[_0x49ae06(0x193)]!==_0x96ae9e[_0x49ae06(0x193)]&&this[_0x49ae06(0x160)]!==_0x96ae9e[_0x49ae06(0x14b)])throw new Y();return this[_0x49ae06(0x193)]=_0x96ae9e[_0x49ae06(0x193)],this[_0x49ae06(0x1c4)]([],{..._0x96ae9e,'wereChangesApplied':!0x1,'data':_0x96ae9e[_0x49ae06(0x147)]},_0x49ae06(0x107));}async[_0xbad4cf(0x181)](_0x4841d0,_0x2a3c46=!0x1){const _0x1e3f5f=_0xbad4cf,{connection:_0x56ab52}=this[_0x1e3f5f(0x198)][_0x1e3f5f(0x1e3)][_0x1e3f5f(0x1f4)](_0x81604);l[_0x1e3f5f(0x1ea)][_0x1e3f5f(0x17d)](_0x56ab52,this[_0x1e3f5f(0x150)])[_0x1e3f5f(0x165)](_0x58a1a2=>this[_0x1e3f5f(0x15f)](_0x58a1a2))[_0x1e3f5f(0x126)](_0x55a3dc=>{const _0x53afcd=_0x1e3f5f;this[_0x53afcd(0x1dc)](_0x53afcd(0x12e),_0x55a3dc);}),this[_0x1e3f5f(0x1d8)](this[_0x1e3f5f(0x127)],_0x1e3f5f(0x161),this[_0x1e3f5f(0x11e)][_0x1e3f5f(0x1cf)](this)),this[_0x1e3f5f(0x1d8)](this[_0x1e3f5f(0x127)],_0x1e3f5f(0x154),(_0x22d253,_0x4fa5eb)=>{const _0xaf3261=_0x1e3f5f;this[_0xaf3261(0x1dc)](_0xaf3261(0x1ae),_0x4fa5eb);}),this[_0x1e3f5f(0x1d8)](this[_0x1e3f5f(0x127)],_0x1e3f5f(0x1eb),()=>{const _0x303357=_0x1e3f5f;this[_0x303357(0x1ab)]=!0x1;});const _0x53e8d8=this[_0x1e3f5f(0x1da)][_0x1e3f5f(0x133)](_0x4841d0);this[_0x1e3f5f(0x192)]=!0x0;const _0x1a5fdd=await this[_0x1e3f5f(0x127)][_0x1e3f5f(0x1e1)](_0x56ab52,this[_0x1e3f5f(0x10f)](_0x4841d0),_0x53e8d8);if(this[_0x1e3f5f(0x193)]=_0x1a5fdd[_0x1e3f5f(0x193)],_0x2a3c46){if(!_0x1a5fdd[_0x1e3f5f(0x1ef)])return void this[_0x1e3f5f(0x191)]();this[_0x1e3f5f(0x192)]=!0x1,this[_0x1e3f5f(0x1c9)](),this[_0x1e3f5f(0x175)][_0x1e3f5f(0x1ca)](),this[_0x1e3f5f(0x1b6)]=_0x1a5fdd[_0x1e3f5f(0x101)],this[_0x1e3f5f(0x175)][_0x1e3f5f(0x1c1)]=this[_0x1e3f5f(0x1b6)],await this[_0x1e3f5f(0x1c4)](_0x4841d0,_0x1a5fdd,_0x1e3f5f(0x15b));}else await this[_0x1e3f5f(0x137)](_0x1a5fdd,_0x4841d0);this[_0x1e3f5f(0x14a)](),this[_0x1e3f5f(0x1ab)]=!0x0;}[_0xbad4cf(0x14a)](){const _0x5002e2=_0xbad4cf,_0x205869=this[_0x5002e2(0x198)][_0x5002e2(0x1e3)][_0x5002e2(0x1f4)](_0x144506),_0x374b19=this[_0x5002e2(0x198)][_0x5002e2(0x1e3)][_0x5002e2(0x1f4)](_0x11133b),_0x5ba0bf=_0x205869[_0x5002e2(0x1d2)][_0x5002e2(0x1f4)](this[_0x5002e2(0x150)]);_0x5ba0bf&&_0x5ba0bf[_0x5002e2(0x1a8)]>0x1?_0x374b19[_0x5002e2(0x19b)]():this[_0x5002e2(0x1d8)](_0x205869,_0x5002e2(0x1de)+this[_0x5002e2(0x150)],()=>{const _0x1c5ac5=_0x5002e2;0x2===_0x205869[_0x1c5ac5(0x1d2)][_0x1c5ac5(0x1f4)](this[_0x1c5ac5(0x150)])[_0x1c5ac5(0x1a8)]&&_0x374b19[_0x1c5ac5(0x19b)]();});}async[_0xbad4cf(0x11e)](_0xedfbcd,_0x5a0d95,_0x8108c4,_0x3b561a){const _0x479d18=_0xbad4cf;if(!this[_0x479d18(0x192)]&&this[_0x479d18(0x100)][_0x479d18(0x1c1)]==_0x5a0d95){const _0x58b3ec=this[_0x479d18(0x10e)](_0x8108c4,_0x3b561a);await this[_0x479d18(0x1ff)](_0x58b3ec),this[_0x479d18(0x130)](_0x58b3ec,_0x5a0d95,_0x8108c4[_0x479d18(0x14b)])||this[_0x479d18(0x1dc)](_0x479d18(0x16f));}}async[_0xbad4cf(0x103)](){const _0x1bacb5=_0xbad4cf;this[_0x1bacb5(0x129)]();const {locale:_0x36ef0a}=this[_0x1bacb5(0x198)];let _0x171bd2;try{_0x171bd2=await this[_0x1bacb5(0x127)][_0x1bacb5(0x1e8)]();}catch{const _0x31604f=_0x5db92b(_0x36ef0a,_0x1bacb5(0x1f3));return void this[_0x1bacb5(0x191)](_0x31604f);}const _0x469666=_0x171bd2[_0x1bacb5(0x1b8)]||_0x171bd2[_0x1bacb5(0x19c)];if(this[_0x1bacb5(0x160)]!==_0x469666[_0x1bacb5(0x14b)]){const _0x4a11f2=_0x5db92b(_0x36ef0a,_0x1bacb5(0x15a));return void this[_0x1bacb5(0x191)](_0x4a11f2);}await this[_0x1bacb5(0x181)](this[_0x1bacb5(0x198)][_0x1bacb5(0x16d)][_0x1bacb5(0x109)][_0x1bacb5(0x104)][_0x1bacb5(0x1b4)](),!0x0);}[_0xbad4cf(0x129)](){const _0x321086=_0xbad4cf;this[_0x321086(0x127)][_0x321086(0x1f9)](),this[_0x321086(0x1af)]=[],clearTimeout(this[_0x321086(0x10d)]),this[_0x321086(0x13d)](this[_0x321086(0x127)]);}[_0xbad4cf(0x15f)](_0x39bb2b){const _0x4b162e=_0xbad4cf,_0x31ad9e=this[_0x4b162e(0x198)][_0x4b162e(0x1e3)][_0x4b162e(0x1f4)](_0x144506);this[_0x4b162e(0x1d8)](_0x31ad9e,_0x4b162e(0x1de)+this[_0x4b162e(0x150)],(_0x7cdf19,{session:_0x34ff7b})=>{const _0x1c7420=_0x4b162e;if(_0x34ff7b['id']===_0x31ad9e[_0x1c7420(0x168)]){_0x7cdf19[_0x1c7420(0x1e7)]();const _0x3cfbe6=this[_0x1c7420(0x198)][_0x1c7420(0x1e3)][_0x1c7420(0x172)](_0x1c7420(0x111))&&this[_0x1c7420(0x198)][_0x1c7420(0x1e3)][_0x1c7420(0x1f4)](_0x1c7420(0x111));let _0x1235cb=_0x34ff7b[_0x1c7420(0x1f7)];_0x3cfbe6&&_0x3cfbe6[_0x1c7420(0x1d5)]&&(_0x1235cb=_0x1235cb[_0x1c7420(0x108)](_0x5d2c39=>_0x1c7420(0x10c)!==_0x5d2c39)),this[_0x1c7420(0x198)][_0x1c7420(0x1e3)][_0x1c7420(0x1f4)](_0x1c7420(0x115))[_0x1c7420(0x1c5)](_0x1235cb,this[_0x1c7420(0x150)]);}}),_0x31ad9e[_0x4b162e(0x1ce)](this[_0x4b162e(0x150)],_0x39bb2b);}[_0xbad4cf(0x166)](){const _0x3d7192=_0xbad4cf,_0x6d3bf3=this[_0x3d7192(0x198)][_0x3d7192(0x147)][_0x3d7192(0x1ad)];this[_0x3d7192(0x198)][_0x3d7192(0x147)][_0x3d7192(0x1ad)]=(..._0x31d2cd)=>{const _0x35757c=_0x3d7192;if(!_0x31d2cd[_0x31d2cd[_0x35757c(0x1a8)]-0x1][_0x35757c(0x197)])throw new _0x18c474(_0x35757c(0x134),this);_0x6d3bf3[_0x35757c(0x12f)](this[_0x35757c(0x198)][_0x35757c(0x147)],_0x31d2cd);};}[_0xbad4cf(0x1d1)](){const _0x1483b3=_0xbad4cf;this[_0x1483b3(0x198)][_0x1483b3(0x147)]['on'](_0x1483b3(0x19e),(_0x409aa3,[_0x288b7f])=>{const _0x22f9cc=_0x1483b3;if(this[_0x22f9cc(0x100)][_0x22f9cc(0x1c1)])throw new _0x18c474(_0x22f9cc(0x195),this);_0x409aa3[_0x22f9cc(0x205)](),this[_0x22f9cc(0x200)]();const _0x53fabf=this[_0x22f9cc(0x198)][_0x22f9cc(0x201)][_0x22f9cc(0x1f4)](_0x22f9cc(0x102)),_0x2c1043=this[_0x22f9cc(0x1e6)](_0x288b7f,_0x53fabf);0x0==_0x2c1043[_0x22f9cc(0x1a8)]&&_0x2c1043[_0x22f9cc(0x186)](new _0x50dfea(0x0)),_0x409aa3[_0x22f9cc(0x136)]=this[_0x22f9cc(0x181)](_0x2c1043)[_0x22f9cc(0x165)](()=>{const _0x5c9b81=_0x22f9cc;this[_0x5c9b81(0x198)][_0x5c9b81(0x1e3)][_0x5c9b81(0x1f4)](_0x81604)[_0x5c9b81(0x128)](this),this[_0x5c9b81(0x198)][_0x5c9b81(0x147)][_0x5c9b81(0x1bf)](_0x5c9b81(0x1b5));})[_0x22f9cc(0x126)](_0x1c786a=>this[_0x22f9cc(0x1dc)](_0x22f9cc(0x141),_0x1c786a))[_0x22f9cc(0x15c)](()=>this[_0x22f9cc(0x1c9)]());},{'priority':_0x1483b3(0x1a7)}),this[_0x1483b3(0x198)]['on'](_0x1483b3(0x162),async(_0x4c588b,[_0x457054,_0x4f28bb])=>{const _0x22a726=_0x1483b3;_0x4c588b[_0x22a726(0x205)]();const _0x12b3db=this[_0x22a726(0x198)][_0x22a726(0x16d)][_0x22a726(0x109)][_0x22a726(0x1d7)](_0x457054);if(!this[_0x22a726(0x1c3)][_0x22a726(0x172)](_0x457054)){const _0x1a8207=_0x4f28bb&&_0x4f28bb[_0x22a726(0x147)]?_0x4f28bb[_0x22a726(0x147)]:'',_0x16dcf8=_0x4f28bb&&_0x4f28bb[_0x22a726(0x1a1)]?_0x4f28bb[_0x22a726(0x1a1)]:{};await this[_0x22a726(0x14f)](_0x457054,_0x1a8207,_0x16dcf8);}this[_0x22a726(0x198)][_0x22a726(0x16d)][_0x22a726(0x176)]({'isUndoable':!0x1},()=>{const _0x51fb84=_0x22a726;_0x12b3db[_0x51fb84(0x1b9)]=!0x0,this[_0x51fb84(0x198)][_0x51fb84(0x16d)][_0x51fb84(0x109)][_0x51fb84(0x18a)][_0x51fb84(0x1db)](_0x12b3db);});},{'priority':_0x1483b3(0x1a7)});}async[_0xbad4cf(0x1ff)](_0x3a7f44){const _0x5ea440=_0xbad4cf,_0x1d1857=this[_0x5ea440(0x198)][_0x5ea440(0x1e3)][_0x5ea440(0x1f4)](_0x4d338),{connection:_0x6dced0}=this[_0x5ea440(0x198)][_0x5ea440(0x1e3)][_0x5ea440(0x1f4)](_0x81604),_0x135cd6=new Set();for(const _0x21a379 of _0x3a7f44){const _0x2c38e0=_0x21a379[_0x5ea440(0x157)];_0x2c38e0&&!_0x1d1857[_0x5ea440(0x1cb)](_0x2c38e0)&&_0x135cd6[_0x5ea440(0x119)](_0x2c38e0);}if(0x0===_0x135cd6[_0x5ea440(0x145)])return;const _0x53499e=await _0x4fee68[_0x5ea440(0x10b)](_0x6dced0,Array[_0x5ea440(0x180)](_0x135cd6));for(const _0x42c6c4 of _0x53499e)_0x1d1857[_0x5ea440(0x1cb)](_0x42c6c4['id'])||_0x1d1857[_0x5ea440(0x174)](_0x42c6c4);}[_0xbad4cf(0x1e6)](_0x38f95a,_0x2b2b17={}){const _0x659fec=_0xbad4cf,_0x2db4c6=this[_0x659fec(0x198)][_0x659fec(0x16d)],_0x178e6b=[];let _0x4cf673=0x0;const _0x4824c8=_0x659fec(0x1e0)==typeof _0x38f95a?{'main':_0x38f95a}:_0x38f95a;for(const _0x33d646 of Object[_0x659fec(0x155)](_0x4824c8)){if(!this[_0x659fec(0x100)][_0x659fec(0x204)][_0x659fec(0x172)](_0x33d646))throw new _0x18c474(_0x659fec(0x118),this);const _0x251ff9=this[_0x659fec(0x198)][_0x659fec(0x147)][_0x659fec(0x144)](_0x4824c8[_0x33d646]),_0xefdb36=this[_0x659fec(0x100)][_0x659fec(0x1d7)](_0x33d646),_0x90a6f4=new _0x20e510(_0x2db4c6[_0x659fec(0x12a)](_0xefdb36,0x0),_0x251ff9,_0x4cf673++);_0x178e6b[_0x659fec(0x186)](_0x90a6f4);for(const [_0x541d50,_0x3db19f]of _0x251ff9[_0x659fec(0x142)]){const _0x3efb7b=_0x2db4c6[_0x659fec(0x194)](_0x2db4c6[_0x659fec(0x13f)](_0xefdb36,_0x3db19f[_0x659fec(0x14e)][_0x659fec(0x11a)][_0x659fec(0x1dd)]()),_0x2db4c6[_0x659fec(0x13f)](_0xefdb36,_0x3db19f[_0x659fec(0x10a)][_0x659fec(0x11a)][_0x659fec(0x1dd)]())),_0x4d2847=new _0x4184ab(_0x541d50,null,_0x3efb7b,_0x2db4c6[_0x659fec(0x142)],!0x0,_0x4cf673++);_0x178e6b[_0x659fec(0x186)](_0x4d2847);}}if(_0x2b2b17)for(const [_0x20acd2,_0x4cefa1]of Object[_0x659fec(0x13a)](_0x2b2b17)){const _0x48a375=_0x2db4c6[_0x659fec(0x109)][_0x659fec(0x1d7)](_0x20acd2);if(!_0x48a375)throw new _0x18c474(_0x659fec(0x1f2),null);for(const [_0x47efa1,_0x4da70d]of Object[_0x659fec(0x13a)](_0x4cefa1))if(null!==_0x4da70d){const _0x932e63=new _0x40ccf7(_0x48a375,_0x47efa1,null,_0x4da70d,_0x4cf673++);_0x178e6b[_0x659fec(0x186)](_0x932e63);}}return _0x178e6b;}async[_0xbad4cf(0x14f)](_0x4e248f,_0x494af7,_0x345f58){const _0x4832b6=_0xbad4cf;this[_0x4832b6(0x1e6)]({[_0x4e248f]:_0x494af7},{[_0x4e248f]:_0x345f58})[_0x4832b6(0x117)]((_0x4f80a3,_0x31296b)=>{const _0x3de2a4=_0x4832b6;_0x4f80a3[_0x3de2a4(0x1a9)]=this[_0x3de2a4(0x100)][_0x3de2a4(0x1c1)]+_0x31296b,_0x4f80a3[_0x3de2a4(0x16e)]=!0x0,this[_0x3de2a4(0x16c)](_0x4f80a3);}),this[_0x4832b6(0x14c)](),await this[_0x4832b6(0x14d)]();}async[_0xbad4cf(0x137)](_0x23b8a8,_0x52d32c){const _0x5288ce=_0xbad4cf;let _0x11faae;this[_0x5288ce(0x1b6)]=_0x23b8a8[_0x5288ce(0x101)];const _0x14483b=_0x23b8a8[_0x5288ce(0x1ef)]&&!_0x23b8a8[_0x5288ce(0x19d)],_0x2e2c8c=_0x14483b?0x0:_0x23b8a8[_0x5288ce(0x147)][_0x5288ce(0x1a9)];if(_0x52d32c[_0x5288ce(0x117)](_0x421778=>{const _0xb4af59=_0x5288ce;_0x421778[_0xb4af59(0x16e)]=!0x0,_0x421778[_0xb4af59(0x15e)]=_0x23b8a8[_0xb4af59(0x202)],_0x421778[_0xb4af59(0x157)]=null;}),_0x14483b)_0x11faae=_0x52d32c,this[_0x5288ce(0x13b)](_0x11faae,_0x14483b);else{if(_0x23b8a8[_0x5288ce(0x19d)]){const _0x1ce086=this[_0x5288ce(0x1e6)](_0x23b8a8[_0x5288ce(0x19d)]);this[_0x5288ce(0x100)][_0x5288ce(0x104)][_0x5288ce(0x1c1)]=-_0x1ce086[_0x5288ce(0x1a8)],_0x1ce086[_0x5288ce(0x117)](_0x3392f0=>{const _0x437a4c=_0x5288ce;_0x3392f0[_0x437a4c(0x1a9)]-=_0x1ce086[_0x437a4c(0x1a8)],_0x3392f0[_0x437a4c(0x15e)]=_0x23b8a8[_0x437a4c(0x202)],_0x3392f0[_0x437a4c(0x16e)]=!0x0,_0x3392f0[_0x437a4c(0x157)]=null;}),this[_0x5288ce(0x13b)](_0x1ce086,!0x0),this[_0x5288ce(0x175)][_0x5288ce(0x1c1)]=-_0x1ce086[_0x5288ce(0x1a8)]+this[_0x5288ce(0x1b6)],this[_0x5288ce(0x169)](_0x1ce086);}this[_0x5288ce(0x100)][_0x5288ce(0x104)][_0x5288ce(0x1c1)]=_0x2e2c8c,_0x11faae=this[_0x5288ce(0x10e)](_0x23b8a8[_0x5288ce(0x147)],_0x23b8a8[_0x5288ce(0x15d)]),await this[_0x5288ce(0x1ff)](_0x11faae),this[_0x5288ce(0x13b)](_0x11faae,_0x14483b);}_0x23b8a8[_0x5288ce(0x14b)]&&(this[_0x5288ce(0x1da)][_0x5288ce(0x187)](_0x11faae,_0x23b8a8[_0x5288ce(0x14b)]),this[_0x5288ce(0x160)]=_0x23b8a8[_0x5288ce(0x14b)]),this[_0x5288ce(0x175)][_0x5288ce(0x1c1)]=_0x2e2c8c+this[_0x5288ce(0x1b6)],this[_0x5288ce(0x169)](_0x11faae),_0x52d32c[_0x5288ce(0x108)](_0x5157fa=>{const _0x15b2ab=_0x5288ce,_0x272f36=this[_0x15b2ab(0x116)](_0x5157fa);return _0x272f36&&!this[_0x15b2ab(0x1c3)][_0x15b2ab(0x172)](_0x272f36);})[_0x5288ce(0x117)]((_0xe1ccce,_0x10f8e6)=>{const _0x240555=_0x5288ce;_0xe1ccce[_0x240555(0x1a9)]=this[_0x240555(0x100)][_0x240555(0x1c1)]+_0x10f8e6,this[_0x240555(0x16c)](_0xe1ccce);}),this[_0x5288ce(0x120)]()?(this[_0x5288ce(0x12c)]=0x0,this[_0x5288ce(0x14c)](!0x0),await this[_0x5288ce(0x14d)]()):(this[_0x5288ce(0x192)]=!0x1,this[_0x5288ce(0x1c9)]());}[_0xbad4cf(0x1dc)](_0x2db3ff,_0x154e43){const _0x4d4bf2=_0xbad4cf,_0x34b7c2=_0x154e43&&_0x154e43[_0x4d4bf2(0x1f6)];if(_0x34b7c2&&_0x34b7c2[_0x4d4bf2(0x177)](_0x4d4bf2(0x158)))throw _0x154e43;const _0x4f3c57=this[_0x4d4bf2(0x198)][_0x4d4bf2(0x1e3)][_0x4d4bf2(0x1f4)](_0x81604);throw this[_0x4d4bf2(0x192)]=!0x0,_0x4f3c57[_0x4d4bf2(0x1f9)](),this[_0x4d4bf2(0x198)][_0x4d4bf2(0x159)](_0x4d4bf2(0x13c)),new _0x18c474(_0x2db3ff,this[_0x4d4bf2(0x198)],_0x34b7c2?{'originalError':_0x34b7c2}:void 0x0);}[_0xbad4cf(0x16c)](_0x1d7615){const _0x37df4e=_0xbad4cf;this[_0x37df4e(0x1fe)][_0x37df4e(0x172)](_0x1d7615)||(this[_0x37df4e(0x1fe)][_0x37df4e(0x119)](_0x1d7615),this[_0x37df4e(0x1af)][_0x37df4e(0x186)](_0x1d7615),this[_0x37df4e(0x1cc)]||_0x37df4e(0x179)==_0x1d7615[_0x37df4e(0x151)]&&!_0x1d7615[_0x37df4e(0x114)]||this[_0x37df4e(0x200)]());}[_0xbad4cf(0x14c)](_0xaa9370=!0x1){const _0x5d2267=_0xbad4cf;!_0xaa9370&&this[_0x5d2267(0x192)]||(this[_0x5d2267(0x192)]=!0x0,clearTimeout(this[_0x5d2267(0x10d)]),this[_0x5d2267(0x10d)]=setTimeout(()=>{const _0x344ee6=_0x5d2267;this[_0x344ee6(0x1f8)]()[_0x344ee6(0x165)](_0x31109d=>{const _0x47c6fb=_0x344ee6;_0x31109d&&(this[_0x47c6fb(0x1c9)](),this[_0x47c6fb(0x192)]=!0x1);})[_0x344ee6(0x126)](_0x46a25c=>{const _0x50cbb3=_0x344ee6;this[_0x50cbb3(0x1c9)](),this[_0x50cbb3(0x192)]=!0x1,function(_0x5a5032){const _0x3bbfce=_0x50cbb3;return _0x5a5032[_0x3bbfce(0x1f6)][_0x3bbfce(0x177)](_0x3bbfce(0x1b0))||_0x5a5032[_0x3bbfce(0x1f6)][_0x3bbfce(0x177)](_0x3bbfce(0x11b))||_0x5a5032[_0x3bbfce(0x1f6)][_0x3bbfce(0x177)](_0x3bbfce(0x1a2));}(_0x46a25c)||this[_0x50cbb3(0x1dc)](_0x46a25c[_0x50cbb3(0x1f6)],_0x46a25c);});},this[_0x5d2267(0x12c)]));}[_0xbad4cf(0x14d)](){return new Promise(_0x54b359=>{const _0x250578=_0x48c2;this['on'](_0x250578(0x1be),()=>{_0x54b359();});});}async[_0xbad4cf(0x1f8)](){const _0x1c7fd2=_0xbad4cf,_0x54a421=this[_0x1c7fd2(0x198)][_0x1c7fd2(0x1e3)][_0x1c7fd2(0x1f4)](_0x11133b);if(this[_0x1c7fd2(0x17c)]()&&(_0x54a421[_0x1c7fd2(0x19b)](),this[_0x1c7fd2(0x188)]=!0x1),!this[_0x1c7fd2(0x120)]())return!0x0;const _0x3bc4c8=[...this[_0x1c7fd2(0x1af)]];for(const _0x1a4078 of _0x3bc4c8)_0x1a4078[_0x1c7fd2(0x1bb)]=this[_0x1c7fd2(0x100)][_0x1c7fd2(0x104)][_0x1c7fd2(0x1a0)](_0x1a4078);const _0x51a959=this[_0x1c7fd2(0x1da)][_0x1c7fd2(0x133)](_0x3bc4c8),_0x734c30=X++,_0x508f4d=this[_0x1c7fd2(0x10f)](_0x3bc4c8),_0x44fa4b=await this[_0x1c7fd2(0x127)][_0x1c7fd2(0x1c2)](_0x508f4d,_0x508f4d[_0x1c7fd2(0x1a9)],_0x51a959);try{return await this[_0x1c7fd2(0x1c4)](_0x3bc4c8,_0x44fa4b,_0x734c30);}catch(_0x4c67dc){return this[_0x1c7fd2(0x1dc)](_0x1c7fd2(0x1a5),_0x4c67dc);}}async[_0xbad4cf(0x1c4)](_0x18c0c7,_0x4cff46,_0x3ac421){const _0x13495c=_0xbad4cf;if(_0x13495c(0x154)in _0x4cff46)throw _0x4cff46[_0x13495c(0x154)];let _0x3beb62=!0x1;if(_0x4cff46[_0x13495c(0x1ef)]){_0x4cff46[_0x13495c(0x14b)]&&(this[_0x13495c(0x160)]=_0x4cff46[_0x13495c(0x14b)]),this[_0x13495c(0x1af)]=this[_0x13495c(0x1af)][_0x13495c(0x108)](_0xd8eeed=>!_0x18c0c7[_0x13495c(0x19a)](_0xd8eeed));for(const _0x198680 of _0x18c0c7)_0x198680[_0x13495c(0x15e)]=_0x13495c(0x140)in _0x4cff46&&_0x4cff46[_0x13495c(0x140)]||void 0x0;Z(_0x18c0c7,_0x4cff46[_0x13495c(0x1c1)]-_0x18c0c7[_0x13495c(0x1a8)]),this[_0x13495c(0x169)](_0x18c0c7);const _0x1bf389=_0x18c0c7[_0x13495c(0x108)](_0x106ec0=>{const _0x1d4b4e=_0x13495c;if(!_0x106ec0[_0x1d4b4e(0x16e)])return!0x1;const _0x298b83=this[_0x1d4b4e(0x116)](_0x106ec0);return _0x298b83&&!this[_0x1d4b4e(0x1c3)][_0x1d4b4e(0x172)](_0x298b83);});Z(_0x1bf389,this[_0x13495c(0x100)][_0x13495c(0x1c1)]),this[_0x13495c(0x13b)](_0x1bf389),_0x3beb62=!0x0,this[_0x13495c(0x12c)]=this[_0x13495c(0x1a6)];}else{const _0x2475d9=this[_0x13495c(0x10e)](_0x4cff46[_0x13495c(0x147)],_0x4cff46[_0x13495c(0x15d)])[_0x13495c(0x108)](_0x4905d1=>_0x4905d1[_0x13495c(0x1a9)]>=this[_0x13495c(0x123)]);_0x2475d9[_0x13495c(0x117)](_0x3b8692=>this[_0x13495c(0x1cd)](_0x3b8692)),this[_0x13495c(0x1af)]=this[_0x13495c(0x1af)][_0x13495c(0x108)](_0x508602=>!_0x508602[_0x13495c(0x16e)]||!this[_0x13495c(0x1c3)][_0x13495c(0x172)](this[_0x13495c(0x116)](_0x508602))),this[_0x13495c(0x1af)][_0x13495c(0x1a8)]&&Z(this[_0x13495c(0x1af)],this[_0x13495c(0x1af)][0x0][_0x13495c(0x1a9)]),await this[_0x13495c(0x1ff)](_0x2475d9),_0x3beb62=this[_0x13495c(0x130)](_0x2475d9,_0x4cff46[_0x13495c(0x1c1)],_0x4cff46[_0x13495c(0x14b)]),this[_0x13495c(0x12c)]=Math[_0x13495c(0x1b1)](this[_0x13495c(0x12c)]/0x2);}return _0x3beb62?!this[_0x13495c(0x120)]()||(this[_0x13495c(0x14c)](!0x0),!0x1):this[_0x13495c(0x1dc)](_0x13495c(0x1e9));}[_0xbad4cf(0x130)](_0x47e431,_0x41d34a,_0x2fadc5){const _0x22dee1=_0xbad4cf;try{const _0x48b1dc={'document':this[_0x22dee1(0x100)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x352338,operationsB:_0x3dca5f,originalOperations:_0x2eb9f3}=_0x551b4a(_0x47e431,this[_0x22dee1(0x1af)],_0x48b1dc);Z(_0x352338,this[_0x22dee1(0x100)][_0x22dee1(0x1c1)]),Z(_0x3dca5f,_0x41d34a);for(const _0x27cec of _0x352338){const _0x4f0960=_0x2eb9f3[_0x22dee1(0x1f4)](_0x27cec);_0x27cec[_0x22dee1(0x157)]=_0x4f0960?_0x4f0960[_0x22dee1(0x157)]:null;}_0x2fadc5&&(this[_0x22dee1(0x1da)][_0x22dee1(0x187)](_0x47e431,_0x2fadc5),this[_0x22dee1(0x160)]=_0x2fadc5),this[_0x22dee1(0x1af)]=[..._0x3dca5f],this[_0x22dee1(0x13b)](_0x352338),this[_0x22dee1(0x169)](_0x47e431);}catch(_0x5065c0){return console[_0x22dee1(0x154)](_0x5065c0),!0x1;}return!0x0;}[_0xbad4cf(0x13b)](_0x16fc9e,_0x326ff6=!0x1){const _0x4b6420=_0xbad4cf;this[_0x4b6420(0x198)][_0x4b6420(0x16d)][_0x4b6420(0x176)]({'isUndoable':!0x1,'isLocal':!0x1},_0x32d989=>{const _0x4d1464=_0x4b6420;for(const _0xb54107 of _0x16fc9e)this[_0x4d1464(0x1fe)][_0x4d1464(0x119)](_0xb54107),this[_0x4d1464(0x1cd)](_0xb54107),_0x32d989[_0x4d1464(0x124)][_0x4d1464(0x1a4)](_0xb54107),this[_0x4d1464(0x198)][_0x4d1464(0x16d)][_0x4d1464(0x12d)](_0xb54107);});}[_0xbad4cf(0x1cd)](_0x335323){const _0x2d80da=_0xbad4cf,_0x59fe4a=this[_0x2d80da(0x116)](_0x335323);_0x59fe4a&&this[_0x2d80da(0x1c3)][_0x2d80da(0x119)](_0x59fe4a);}[_0xbad4cf(0x116)](_0x5a754b){const _0x39c630=_0xbad4cf;let _0x5218bc,_0x636175;switch(_0x5a754b[_0x39c630(0x151)]){case _0x39c630(0x164):_0x5218bc=_0x5a754b[_0x39c630(0x1bc)][_0x39c630(0x18e)];break;case _0x39c630(0x179):if(_0x636175=_0x5a754b[_0x39c630(0x18f)],!_0x636175)return null;_0x5218bc=_0x636175[_0x39c630(0x18e)];break;case _0x39c630(0x11f):_0x5218bc=_0x5a754b[_0x39c630(0x18e)];break;case _0x39c630(0x1b7):_0x5218bc=_0x5a754b[_0x39c630(0x185)];break;case _0x39c630(0x17b):_0x5218bc=_0x5a754b[_0x39c630(0x152)][_0x39c630(0x18e)];break;default:return null;}return _0x5218bc[_0x39c630(0x148)];}[_0xbad4cf(0x169)](_0x3c957a){const _0x4fadbb=_0xbad4cf;_0x3c957a[_0x4fadbb(0x117)](_0xf9b76d=>{const _0x3c5da4=_0x4fadbb,_0x158e0c=_0xf9b76d[_0x3c5da4(0x12b)]();_0x158e0c[_0x3c5da4(0x157)]=_0xf9b76d[_0x3c5da4(0x157)],_0x158e0c[_0x3c5da4(0x16e)]=!!_0xf9b76d[_0x3c5da4(0x16e)],_0x158e0c[_0x3c5da4(0x15e)]=_0xf9b76d[_0x3c5da4(0x15e)],_0x158e0c[_0x3c5da4(0x1a9)]+=this[_0x3c5da4(0x1b6)],_0xf9b76d[_0x3c5da4(0x1c7)]&&this[_0x3c5da4(0x1d0)][_0x3c5da4(0x119)](_0x158e0c),this[_0x3c5da4(0x175)][_0x3c5da4(0x1a4)](_0x158e0c);});}[_0xbad4cf(0x191)](_0x4220d9){const _0x11cfaf=_0xbad4cf,_0xc8a6c2=this[_0x11cfaf(0x198)][_0x11cfaf(0x1e3)][_0x11cfaf(0x1f4)](_0x11cfaf(0x11d)),_0x4d5a2c=this[_0x11cfaf(0x198)][_0x11cfaf(0x149)];_0x4220d9||(_0x4220d9=_0x5db92b(_0x4d5a2c,_0x11cfaf(0x1f5))),_0xc8a6c2[_0x11cfaf(0x1fd)](_0x4220d9,{'title':_0x5db92b(_0x4d5a2c,_0x11cfaf(0x1fb)),'namespace':_0x11cfaf(0x16b)}),this[_0x11cfaf(0x17e)]=!0x0,clearTimeout(this[_0x11cfaf(0x10d)]),this[_0x11cfaf(0x1af)]=[],this[_0x11cfaf(0x198)][_0x11cfaf(0x1e3)][_0x11cfaf(0x1f4)](_0x81604)[_0x11cfaf(0x1f9)]();}[_0xbad4cf(0x200)](){const _0x570af7=_0xbad4cf;this[_0x570af7(0x1cc)]||(this[_0x570af7(0x1cc)]=this[_0x570af7(0x198)][_0x570af7(0x1e3)][_0x570af7(0x1f4)](_0x23109d)[_0x570af7(0x119)](_0x5db92b(this[_0x570af7(0x198)][_0x570af7(0x149)],_0x570af7(0x1ec))));}[_0xbad4cf(0x1c9)](){const _0x2a65f4=_0xbad4cf;this[_0x2a65f4(0x1cc)]&&(this[_0x2a65f4(0x198)][_0x2a65f4(0x1e3)][_0x2a65f4(0x1f4)](_0x23109d)[_0x2a65f4(0x11c)](this[_0x2a65f4(0x1cc)]),this[_0x2a65f4(0x1cc)]=null);}[_0xbad4cf(0x10f)](_0x3d6244){const _0x2fb5ff=_0xbad4cf,_0x6192be=_0x3d6244[_0x2fb5ff(0x112)](_0x33e36f=>_0x33e36f[_0x2fb5ff(0x138)]());return this[_0x2fb5ff(0x178)][_0x2fb5ff(0x18c)](_0x6192be);}[_0xbad4cf(0x10e)](_0x138134,_0x5eb68c){const _0x36b6f8=_0xbad4cf;return this[_0x36b6f8(0x178)][_0x36b6f8(0x167)](_0x138134)[_0x36b6f8(0x112)]((_0x2ed6f4,_0x246c7e)=>{const _0x40c5a8=_0x36b6f8,_0x196e98=_0x40c5a8(0x19e)==_0x5eb68c[_0x246c7e][_0x40c5a8(0x151)];if(_0x40c5a8(0x1bd)==_0x2ed6f4[_0x40c5a8(0x132)]){const _0x77af29=_0x2ed6f4[_0x40c5a8(0x1bc)][_0x40c5a8(0x18e)];!this[_0x40c5a8(0x100)][_0x40c5a8(0x1d7)](_0x77af29)&&(this[_0x40c5a8(0x100)][_0x40c5a8(0x170)](_0x40c5a8(0x131),_0x77af29)[_0x40c5a8(0x1a3)]=!0x1);}const _0x2a24f7=_0x4e7542[_0x40c5a8(0x139)](_0x2ed6f4,this[_0x40c5a8(0x100)]);return _0x2a24f7[_0x40c5a8(0x1bb)]=_0x2ed6f4[_0x40c5a8(0x1bb)],_0x2a24f7[_0x40c5a8(0x16e)]=_0x196e98,_0x2a24f7[_0x40c5a8(0x157)]=_0x196e98?null:_0x5eb68c[_0x246c7e][_0x40c5a8(0x113)],_0x2a24f7[_0x40c5a8(0x1c7)]=_0x40c5a8(0x184)===_0x5eb68c[_0x246c7e][_0x40c5a8(0x151)],_0x2a24f7[_0x40c5a8(0x15e)]=_0x5eb68c[_0x246c7e][_0x40c5a8(0x15e)],_0x2a24f7;});}[_0xbad4cf(0x1d3)](){const _0x4a693d=_0xbad4cf;this[_0x4a693d(0x188)]=!0x0,this[_0x4a693d(0x17c)]()?this[_0x4a693d(0x14c)]():this[_0x4a693d(0x188)]=!0x1;}[_0xbad4cf(0x17c)](){const _0x324c06=_0xbad4cf,_0x3cf01c=this[_0x324c06(0x198)][_0x324c06(0x1e3)][_0x324c06(0x1f4)](_0x144506)[_0x324c06(0x1d2)][_0x324c06(0x1f4)](this[_0x324c06(0x150)]);return!this[_0x324c06(0x198)][_0x324c06(0x1b2)]&&!!_0x3cf01c&&_0x3cf01c[_0x324c06(0x1a8)]>0x1&&this[_0x324c06(0x188)];}[_0xbad4cf(0x120)](){const _0x32cb5f=_0xbad4cf;return this[_0x32cb5f(0x1af)][_0x32cb5f(0x1a8)]>0x0||this[_0x32cb5f(0x17c)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x67e408,_0x3393a7){const _0x52fbd4=_0xbad4cf;for(const _0x30adc8 of _0x67e408)_0x30adc8[_0x52fbd4(0x1a9)]=_0x3393a7++;}function _0x1c32(){const _0x45648f=['selection','compress','connected','root','newRange','collaboration','_handleReconnectionError','_isPendingUpdate','sessionId','createRange','realtimecollaborationclient-init-document-already-initialized','2511170KkEvRY','suppressErrorInCollaboration','editor','change:range','includes','createUserMarkerOperations','lastDocumentSession','initData','init','code','isUndoneOperation','attributes','cloud-services-internal-error:\x20Request\x20timeout.','_isAttached','addOperation','realtimecollaborationclient-sendbufferedoperations','_baseBufferDelay','high','length','baseVersion','editing','_isConnected','pluginName','set','realtimecollaborationclient-init-service-internal-error','_bufferedOperations','cloud-services-internal-error:\x20Not\x20connected.','round','isReadOnly','requires','getOperations','ready','_offset','addRoot','currentDocumentSession','_isLoaded','disableReadOnlyMode','wasUndone','position','InsertOperation','change:_isPendingUpdate','fire','change:_isEditingAllowed','version','sendOperations','_knownRootNames','_handleServerResponse','setPermissions','2932068iMdRvA','_isDisconnection','579181BENIwl','_clearPendingAction','reset','getUser','_pendingAction','_addKnownRoot','register','bind','_disconnectionOperations','_setUpDataInit','channelSessions','_refreshUserSelectionMarkers','getOperationAuthor','isEnabled','100GEvhuN','getRoot','listenTo','collaboration.channelId','_operationIdentifier','_bufferRootLoad','_crash','slice','sessionAdd:','isDocumentOperation','string','connect','201136SELDcu','plugins','_operationToId','view','_getOperationsFromInitData','off','getDocumentDetails','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','disconnected','PENDING_ACTION_SENDING_DATA','15921070mFKEdT','rtc-offline','wereChangesApplied','removeFromReconnectionStack','_ignoredOperations','multi-root-editor-root-attributes-no-root','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','get','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.','message','permissions','_sendBufferedOperations','disconnect','connection','Synchronization\x20issue','cloudDocumentVersion','showWarning','_knownOperations','_fetchMissingUsers','_setPendingAction','config','sessionCreatedAt','73556klWaFw','roots','stop','48OGbjcE','_document','offset','rootsAttributes','_connectAfterSessionHasBeenFlushed','history','unregister','RealTimeCollaborationClient','reconnect','filter','document','end','getMany','document:write','_sendBufferedOperationsDelayId','_decompressOperations','_compressOperations','define','CommentsOnly','map','userId','affectsData','Permissions','_getAffectedRoot','forEach','realtimecollaborationclient-init-non-existent-root','add','path','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','remove','Notification','_handleReceivedOperations','addRootAttribute','_shouldSendUpdate','rtc-destroyed','change:hasDomSelection','_lastServerVersion','batch','404','catch','_service','addToReconnectionStack','_disconnectService','createPositionAt','clone','_currentBufferDelay','applyOperation','realtimecollaborationclient-init-session-connection-error','apply','_handleExternalOperations','$root','__className','getIdOfTheLastOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','isPremiumPlugin','return','_handleInitialConnectionData','toJSON','fromJSON','entries','_applyOperationsSet','realtimecollaborationclient-error','stopListening','collaboration-missing-channelid','createPositionFromPath','lastOperationAcceptedAt','realtimecollaborationclient-init-connection-failed','markers','_handleReconnectionResponse','parse','size','cloudServices.bundleVersion','data','rootName','locale','_handleSendingSelectionMarkers','lastOperationId','_sendBufferedOperationsDelayed','_waitUntilSynced','start','_loadRoot','_channelId','type','targetPosition','isOfficialPlugin','error','keys','9CTJeFd','_authorId','realtimecollaborationclient','enableReadOnlyMode','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.','reconnection:\x20flushed\x20session','finally','metadata','createdAt','_initSessionsHandling','_lastSyncedOperationId','operationsReceived','loadRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','insert','then','_initThrowingOnDataSet','decompress','mySessionId','_updateServerHistory','directChange','real-time-collaboration','_saveOperationInBuffer','model','_isInit','realtimecollaborationclient-init-service-incorrect-server-operation','createRoot','409','has','1701800JnIYLx','addUser','serverHistory','enqueueChange','startsWith','_compressor','marker','lastSyncVersion','move','_shouldSendSelectionUpdate','getConnectedSessions','_hasSynchronizationProblem','_isEditingAllowed','from','_connectService','destroy','state','cs:removeUser','affectedSelectable','push','setIdForTheLastOperation','_hasSelectionChanged','14lagbeL','differ'];_0x1c32=function(){return _0x45648f;};return _0x1c32();}class tt{[_0xbad4cf(0x1f1)];[_0xbad4cf(0x1e4)];constructor(_0x5ce2b2){const _0x3d760d=_0xbad4cf;this[_0x3d760d(0x1f1)]=_0x5ce2b2,this[_0x3d760d(0x1e4)]=new WeakMap();}[_0xbad4cf(0x133)](_0x2bc7cd){const _0x50398b=_0xbad4cf;let _0x242545=_0x2bc7cd[_0x50398b(0x1a8)];for(;_0x242545--;){const _0x2d2930=_0x2bc7cd[_0x242545];if(!this[_0x50398b(0x1f1)][_0x50398b(0x172)](_0x2d2930)){if(!this[_0x50398b(0x1e4)][_0x50398b(0x172)](_0x2d2930)){const _0x1c5875=_0x3e5e60()[_0x50398b(0x1dd)](0x1,0x12);this[_0x50398b(0x1e4)][_0x50398b(0x1ad)](_0x2d2930,_0x1c5875);}return this[_0x50398b(0x1e4)][_0x50398b(0x1f4)](_0x2d2930);}}}[_0xbad4cf(0x187)](_0x139057,_0x41c201){const _0x4e8050=_0xbad4cf;if(!_0x41c201)return;let _0x3903ab=_0x139057[_0x4e8050(0x1a8)];for(;_0x3903ab--;){const _0x332c97=_0x139057[_0x3903ab];this[_0x4e8050(0x1f1)][_0x4e8050(0x172)](_0x332c97)||this[_0x4e8050(0x1e4)][_0x4e8050(0x1ad)](_0x332c97,_0x41c201);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xbf53(){const _0x24147b=['_uniqueUsersCount','state','sessionId','getUserRole','pluginName','999480KmkNSc','clear','7FEIEdD','role','has','allConnectedUsers','stopListening','defineMe','context','1533720kHazLf','sessions-unregister-not-exist','getUser','assign','remove','5687307OTuMCr','change:state','sessions-register-already-registered','isOfficialPlugin','Sessions','delete','values','isPremiumPlugin','_handleSessionAdd','153728rHqqrn','forEach','1281920PdUZca','_createUser','plugins','init','_handleSessionRemove','channelConnectedUsers','getUserBySessionId','size','get','_registeredSessions','sessionAdd:','isMe','listenTo','requires','mySessionId','register','set','add','459649VfcTbt','connected','4188672sOKMRk','connection','user','orderNumber','6Vxovlz','_users','fire','addUser','getUserSessions','channelSessions','unregister'];_0xbf53=function(){return _0x24147b;};return _0xbf53();}const _0x2a6ee3=_0x1d2a;(function(_0x2c0c25,_0x3c8a02){const _0x2bc5c4=_0x1d2a,_0x152f17=_0x2c0c25();while(!![]){try{const _0x5f2cc2=parseInt(_0x2bc5c4(0x1f2))/0x1+-parseInt(_0x2bc5c4(0x1de))/0x2+parseInt(_0x2bc5c4(0x1f8))/0x3*(-parseInt(_0x2bc5c4(0x204))/0x4)+parseInt(_0x2bc5c4(0x1e0))/0x5+parseInt(_0x2bc5c4(0x20d))/0x6+parseInt(_0x2bc5c4(0x206))/0x7*(-parseInt(_0x2bc5c4(0x1f4))/0x8)+parseInt(_0x2bc5c4(0x212))/0x9;if(_0x5f2cc2===_0x3c8a02)break;else _0x152f17['push'](_0x152f17['shift']());}catch(_0x1b1368){_0x152f17['push'](_0x152f17['shift']());}}}(_0xbf53,0x7ae5c));import{ContextPlugin as _0x345796}from'ckeditor5/src/core.js';import{Collection as _0x1b429d,CKEditorError as _0x6d98aa}from'ckeditor5/src/utils.js';function _0x1d2a(_0x44649b,_0x5618e0){const _0xbf53d8=_0xbf53();return _0x1d2a=function(_0x1d2a9b,_0x3c6130){_0x1d2a9b=_0x1d2a9b-0x1d8;let _0x269d13=_0xbf53d8[_0x1d2a9b];return _0x269d13;},_0x1d2a(_0x44649b,_0x5618e0);}import{WebSocketGateway as _0x33b08d}from'./websocketgateway.js';import{Users as _0x17fd09}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x345796{[_0x2a6ee3(0x1fd)];[_0x2a6ee3(0x1e5)];[_0x2a6ee3(0x209)];[_0x2a6ee3(0x1e9)];[_0x2a6ee3(0x1ff)];[_0x2a6ee3(0x1f9)];static get[_0x2a6ee3(0x203)](){const _0x20b93b=_0x2a6ee3;return _0x20b93b(0x1d9);}static get[_0x2a6ee3(0x1d8)](){return!0x0;}static get[_0x2a6ee3(0x1dc)](){return!0x0;}static get[_0x2a6ee3(0x1ed)](){return[_0x33b08d,_0x17fd09];}constructor(_0x3e6f04){const _0x51eece=_0x2a6ee3;super(_0x3e6f04),this[_0x51eece(0x1fd)]=new Map(),this[_0x51eece(0x1e5)]=new Map(),this[_0x51eece(0x209)]=new _0x1b429d(),this[_0x51eece(0x1e9)]=new Map(),this[_0x51eece(0x1ff)]=0x0,this[_0x51eece(0x1f9)]=this[_0x51eece(0x20c)][_0x51eece(0x1e2)][_0x51eece(0x1e8)](_0x17fd09);}[_0x2a6ee3(0x1e3)](){const _0x367724=_0x2a6ee3,_0xeb4edd=this[_0x367724(0x20c)][_0x367724(0x1e2)][_0x367724(0x1e8)](_0x33b08d);this[_0x367724(0x1ec)](_0xeb4edd,_0x367724(0x213),(_0x24449e,_0x5624b0,_0x2182e2)=>{const _0x241b4c=_0x367724;if(_0x241b4c(0x1f3)!==_0x2182e2)this[_0x241b4c(0x1fd)][_0x241b4c(0x1df)](_0x23495b=>_0x23495b[_0x241b4c(0x205)]()),this[_0x241b4c(0x1e5)][_0x241b4c(0x1df)](_0x5a1f07=>_0x5a1f07[_0x241b4c(0x205)]()),this[_0x241b4c(0x209)][_0x241b4c(0x205)]();else{for(const [_0x5d9c10,_0x40d37f]of this[_0x241b4c(0x1e9)])for(const _0x1d14ff of _0x40d37f)this[_0x241b4c(0x1dd)](_0x5d9c10,_0x1d14ff);}}),this[_0x367724(0x1e1)](_0xeb4edd[_0x367724(0x1f5)]['me'],!0x0);}[_0x2a6ee3(0x1ef)](_0x3e3987,_0x496c4e){const _0x16d1d7=_0x2a6ee3;if(this[_0x16d1d7(0x1e9)][_0x16d1d7(0x208)](_0x3e3987))throw new _0x6d98aa(_0x16d1d7(0x214),null,{'channelId':_0x3e3987});this[_0x16d1d7(0x1e9)][_0x16d1d7(0x1f0)](_0x3e3987,_0x496c4e),this[_0x16d1d7(0x1fd)][_0x16d1d7(0x1f0)](_0x3e3987,new _0x1b429d()),this[_0x16d1d7(0x1e5)][_0x16d1d7(0x1f0)](_0x3e3987,new _0x1b429d()),this[_0x16d1d7(0x1ec)](_0x496c4e,_0x16d1d7(0x1f1),(_0xc3c9b6,_0x5d5c13)=>this[_0x16d1d7(0x1dd)](_0x3e3987,_0x5d5c13)),this[_0x16d1d7(0x1ec)](_0x496c4e,_0x16d1d7(0x211),(_0x1caa3f,_0x39a761)=>this[_0x16d1d7(0x1e4)](_0x3e3987,_0x39a761));for(const _0x7d36b4 of _0x496c4e)this[_0x16d1d7(0x1dd)](_0x3e3987,_0x7d36b4);}[_0x2a6ee3(0x1fe)](_0xf34a18){const _0x1e54b3=_0x2a6ee3;if(!this[_0x1e54b3(0x1e9)][_0x1e54b3(0x208)](_0xf34a18))throw new _0x6d98aa(_0x1e54b3(0x20e),null,{'channelId':_0xf34a18});const _0x29a108=this[_0x1e54b3(0x1e9)][_0x1e54b3(0x1e8)](_0xf34a18);this[_0x1e54b3(0x20a)](_0x29a108);for(const _0x461f60 of _0x29a108)_0x1e54b3(0x1f3)===this[_0x1e54b3(0x20c)][_0x1e54b3(0x1e2)][_0x1e54b3(0x1e8)](_0x33b08d)[_0x1e54b3(0x200)]&&this[_0x1e54b3(0x1e4)](_0xf34a18,_0x461f60);this[_0x1e54b3(0x1e9)][_0x1e54b3(0x1da)](_0xf34a18),this[_0x1e54b3(0x1fd)][_0x1e54b3(0x1da)](_0xf34a18),this[_0x1e54b3(0x1e5)][_0x1e54b3(0x1da)](_0xf34a18);}get[_0x2a6ee3(0x1ee)](){const _0x4bee3a=_0x2a6ee3;return this[_0x4bee3a(0x20c)][_0x4bee3a(0x1e2)][_0x4bee3a(0x1e8)](_0x33b08d)[_0x4bee3a(0x1f5)][_0x4bee3a(0x201)];}[_0x2a6ee3(0x1e6)](_0x4a3722){const _0x1db2cb=_0x2a6ee3;for(const _0x50f3e5 of this[_0x1db2cb(0x1fd)][_0x1db2cb(0x1db)]())for(const _0x2f1361 of _0x50f3e5)if(_0x2f1361['id']===_0x4a3722)return _0x2f1361[_0x1db2cb(0x1f6)];}[_0x2a6ee3(0x1fc)](_0x1d40dd,_0x3c2955){const _0x3b9f4b=_0x2a6ee3,_0x35fae9=_0x3c2955?[this[_0x3b9f4b(0x1fd)][_0x3b9f4b(0x1e8)](_0x3c2955)]:this[_0x3b9f4b(0x1fd)][_0x3b9f4b(0x1db)](),_0x138c79=new Set();for(const _0x2cd084 of _0x35fae9)for(const _0x42ab2d of _0x2cd084)_0x42ab2d[_0x3b9f4b(0x1f6)]['id']===_0x1d40dd['id']&&_0x138c79[_0x3b9f4b(0x1f1)](_0x42ab2d['id']);return _0x138c79;}[_0x2a6ee3(0x202)](_0x30d84b){const _0x1b478c=_0x2a6ee3;for(const _0x29c99f of this[_0x1b478c(0x1fd)][_0x1b478c(0x1db)]())for(const _0x5e21b7 of _0x29c99f)if(_0x5e21b7[_0x1b478c(0x1f6)]===_0x30d84b)return _0x5e21b7[_0x1b478c(0x207)];}[_0x2a6ee3(0x1dd)](_0x429797,_0x5aa7e6){const _0x2bc1ad=_0x2a6ee3;if(_0x2bc1ad(0x1f3)!==this[_0x2bc1ad(0x20c)][_0x2bc1ad(0x1e2)][_0x2bc1ad(0x1e8)](_0x33b08d)[_0x2bc1ad(0x200)])return;const _0x4aa812=_0x5aa7e6[_0x2bc1ad(0x1f6)],_0x51e0d7=this[_0x2bc1ad(0x1f9)][_0x2bc1ad(0x20f)](_0x4aa812['id'])||this[_0x2bc1ad(0x1e1)](_0x4aa812),_0x4b93d5=Object[_0x2bc1ad(0x210)]({},_0x5aa7e6,{'user':_0x51e0d7});this[_0x2bc1ad(0x1fd)][_0x2bc1ad(0x1e8)](_0x429797)[_0x2bc1ad(0x1f1)](_0x4b93d5);const _0x4d4a10=this[_0x2bc1ad(0x1e5)][_0x2bc1ad(0x1e8)](_0x429797);_0x4d4a10[_0x2bc1ad(0x208)](_0x51e0d7['id'])||_0x4d4a10[_0x2bc1ad(0x1f1)](_0x51e0d7),this[_0x2bc1ad(0x209)][_0x2bc1ad(0x208)](_0x51e0d7['id'])||this[_0x2bc1ad(0x209)][_0x2bc1ad(0x1f1)](_0x51e0d7,_0x51e0d7[_0x2bc1ad(0x1eb)]?0x0:void 0x0),this[_0x2bc1ad(0x1fa)](_0x2bc1ad(0x1ea)+_0x429797,{'channelId':_0x429797,'session':_0x4b93d5});}[_0x2a6ee3(0x1e4)](_0x269d32,_0x19a8dd){const _0xfbd51f=_0x2a6ee3;if(_0xfbd51f(0x1f3)!==this[_0xfbd51f(0x20c)][_0xfbd51f(0x1e2)][_0xfbd51f(0x1e8)](_0x33b08d)[_0xfbd51f(0x200)])return;const _0x1a9fa3=this[_0xfbd51f(0x1e5)][_0xfbd51f(0x1e8)](_0x269d32),_0x25fa3c=_0x19a8dd[_0xfbd51f(0x1f6)];_0x25fa3c['id']&&(this[_0xfbd51f(0x1fd)][_0xfbd51f(0x1e8)](_0x269d32)[_0xfbd51f(0x211)](_0x19a8dd['id']),_0x1a9fa3[_0xfbd51f(0x208)](_0x25fa3c['id'])&&!this[_0xfbd51f(0x1fc)](_0x25fa3c,_0x269d32)[_0xfbd51f(0x1e7)]&&_0x1a9fa3[_0xfbd51f(0x211)](_0x25fa3c['id']),this[_0xfbd51f(0x209)][_0xfbd51f(0x1e8)](_0x25fa3c['id'])&&!this[_0xfbd51f(0x1fc)](_0x25fa3c)[_0xfbd51f(0x1e7)]&&this[_0xfbd51f(0x209)][_0xfbd51f(0x211)](_0x25fa3c['id']));}[_0x2a6ee3(0x1e1)](_0x1caa04,_0x5a9791){const _0x45df19=_0x2a6ee3,_0x5467fb=this[_0x45df19(0x1f9)][_0x45df19(0x1fb)](_0x1caa04);return _0x5a9791&&this[_0x45df19(0x1f9)][_0x45df19(0x20b)](_0x1caa04['id']),_0x5467fb[_0x45df19(0x1f7)]=this[_0x45df19(0x1ff)]++,_0x5467fb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x477ef0=_0x23db;(function(_0x387afb,_0x22c106){const _0x330fbd=_0x23db,_0xa8ca65=_0x387afb();while(!![]){try{const _0x3e6cbf=-parseInt(_0x330fbd(0x13d))/0x1+-parseInt(_0x330fbd(0x11f))/0x2+parseInt(_0x330fbd(0x101))/0x3*(parseInt(_0x330fbd(0xfd))/0x4)+parseInt(_0x330fbd(0x109))/0x5*(parseInt(_0x330fbd(0x183))/0x6)+parseInt(_0x330fbd(0x13c))/0x7+-parseInt(_0x330fbd(0x146))/0x8*(-parseInt(_0x330fbd(0x14d))/0x9)+-parseInt(_0x330fbd(0x16a))/0xa*(parseInt(_0x330fbd(0x16c))/0xb);if(_0x3e6cbf===_0x22c106)break;else _0xa8ca65['push'](_0xa8ca65['shift']());}catch(_0x919cfa){_0xa8ca65['push'](_0xa8ca65['shift']());}}}(_0x4f32,0xc2504));import{Plugin as _0x489db0}from'ckeditor5/src/core.js';import{global as _0x2deb0e,DomEmitterMixin as _0x352372}from'ckeditor5/src/utils.js';import{Sessions as _0x68dfc0}from'./sessions.js';import{ModelLiveRange as _0x34f5bc}from'ckeditor5/src/engine.js';function _0x23db(_0x918398,_0x2f7b48){const _0x4f32a6=_0x4f32();return _0x23db=function(_0x23db34,_0x3f3c79){_0x23db34=_0x23db34-0xfd;let _0x243a24=_0x4f32a6[_0x23db34];return _0x243a24;},_0x23db(_0x918398,_0x2f7b48);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x489db0{[_0x477ef0(0x121)]=new(_0x352372())();static get[_0x477ef0(0x134)](){return[_0x68dfc0];}static get[_0x477ef0(0x149)](){const _0x84dee3=_0x477ef0;return _0x84dee3(0x184);}static get[_0x477ef0(0x181)](){return!0x0;}static get[_0x477ef0(0x123)](){return!0x0;}[_0x477ef0(0x16b)](){const _0x948fd7=_0x477ef0,_0x36a9a6=this[_0x948fd7(0xff)],_0x47dbaa=_0x36a9a6[_0x948fd7(0x125)][_0x948fd7(0x112)](_0x68dfc0);_0x36a9a6[_0x948fd7(0x102)][_0x948fd7(0x14b)](_0x948fd7(0x13e))[_0x948fd7(0x128)]({'model':_0x948fd7(0x164),'view':(_0x16cd90,{writer:_0x16e227})=>function(_0x3af686,_0x4597eb,_0x2c5807,_0x1d6d7a){const _0x5e7d65=_0x948fd7,_0x5ad5e6=_0x3af686[_0x5e7d65(0x186)][_0x5e7d65(0x12a)](':')[0x2],_0x5afbd5=_0x2c5807[_0x5e7d65(0x168)](_0x5ad5e6);if(!_0x5afbd5||_0x5ad5e6===_0x2c5807[_0x5e7d65(0x140)])return;if(!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)][_0x5e7d65(0x12e)](_0x3af686[_0x5e7d65(0x139)][_0x5e7d65(0x138)],_0x5e7d65(0x127)))return;const _0x26b8d1={'class':_0x5e7d65(0x169)+_0x5afbd5[_0x5e7d65(0x145)][_0x5e7d65(0x133)](),'data-name':_0x5afbd5[_0x5e7d65(0x163)],'data-session-id':_0x5ad5e6},_0x50b6c6=_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x14f)][_0x5e7d65(0x112)](_0x3af686[_0x5e7d65(0x186)]),_0x44e521=_0x50b6c6[_0x5e7d65(0x126)](),_0x4401e9=_0x44e521[_0x5e7d65(0x11a)],_0x35f14d=_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)];if(_0x4401e9&&_0x35f14d[_0x5e7d65(0x142)](_0x4401e9)&&_0x35f14d[_0x5e7d65(0x16d)](_0x4401e9)&&!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x14f)][_0x5e7d65(0x112)](_0x5e7d65(0x10b)+_0x5ad5e6)[_0x5e7d65(0x180)]()[_0x5e7d65(0x15f)])return;const _0x47d8cd=_0x44e521[_0x5e7d65(0x172)];return _0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)][_0x5e7d65(0x13b)](_0x47d8cd)&&!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x135)](_0x47d8cd)&&(_0x26b8d1[_0x5e7d65(0x115)]=!0x1),function(_0x3476b1,_0x2161ff,_0x2c1b94){const _0x5bddda=_0x5e7d65,_0x239be7=_0x3476b1[_0x5bddda(0x182)](_0x5bddda(0x151),_0x2161ff);return _0x3476b1[_0x5bddda(0x15c)](_0x5bddda(0x154),!0x0,_0x239be7),_0x239be7[_0x5bddda(0x106)]=function(_0x582e95){const _0x475d63=_0x5bddda,_0x441d3b=this[_0x475d63(0x15d)](_0x582e95),_0x489713=document[_0x475d63(0x152)](_0x475d63(0x151));return _0x489713[_0x475d63(0x165)][_0x475d63(0x173)](_0x475d63(0x175)),_0x489713[_0x475d63(0x158)](_0x475d63(0x115),_0x475d63(0x156)),_0x489713[_0x475d63(0x158)](_0x475d63(0x166),_0x475d63(0x156)),_0x489713[_0x475d63(0x119)]=_0x2c1b94[_0x475d63(0x163)],_0x441d3b[_0x475d63(0x188)]=_0x475d63(0x100)+_0x489713[_0x475d63(0x108)]+'',_0x441d3b[_0x475d63(0x114)](_0x475d63(0x122),()=>{const _0x55435e=_0x475d63;_0x441d3b[_0x55435e(0x165)][_0x55435e(0x173)](_0x55435e(0x105));}),_0x441d3b[_0x475d63(0x114)](_0x475d63(0x17c),()=>{const _0x486820=_0x475d63;_0x441d3b[_0x486820(0x165)][_0x486820(0x103)](_0x486820(0x105));}),_0x441d3b;},_0x239be7[_0x5bddda(0x141)]=function(_0x111ce3){const _0x1e9da0=_0x5bddda;return!(!this[_0x1e9da0(0x130)](_0x1e9da0(0x154))||!_0x111ce3[_0x1e9da0(0x130)](_0x1e9da0(0x154))||this[_0x1e9da0(0x10a)](_0x1e9da0(0x14c))!=_0x111ce3[_0x1e9da0(0x10a)](_0x1e9da0(0x14c)));},_0x239be7;}(_0x4597eb,_0x26b8d1,_0x5afbd5);}(_0x16cd90,_0x16e227,_0x47dbaa,_0x36a9a6)}),_0x36a9a6[_0x948fd7(0x102)][_0x948fd7(0x14b)](_0x948fd7(0x13e))[_0x948fd7(0x16f)]({'model':_0x948fd7(0x111),'view':_0x300b6d=>function(_0x352704,_0x16080f){const _0x268e7b=_0x948fd7,_0x546d81=_0x352704[_0x268e7b(0x186)][_0x268e7b(0x12a)](':')[0x2];if(_0x546d81===_0x16080f[_0x268e7b(0x140)])return null;const _0x1f4ae0=_0x16080f[_0x268e7b(0x168)](_0x546d81);if(!_0x1f4ae0)return{'id':_0x546d81,'classes':[]};return{'id':_0x546d81,'classes':[_0x268e7b(0x157),_0x1f4ae0[_0x268e7b(0x145)][_0x268e7b(0x171)]()],'attributes':{'data-session-id':_0x546d81},'priority':0x7d0+_0x1f4ae0[_0x268e7b(0x12c)]};}(_0x300b6d,_0x47dbaa)}),function(_0x7a831e){const _0x5a4174=_0x948fd7,_0x2a9c95=_0x7a831e[_0x5a4174(0x14e)],_0x489164=new Map(),_0x32b7be=_0x7a831e[_0x5a4174(0x125)][_0x5a4174(0x112)](_0x68dfc0);_0x2a9c95[_0x5a4174(0x14f)]['on'](_0x5a4174(0x15b),(_0xe25457,_0x116886,_0x52750c,_0x2b89cc)=>{const _0x249585=_0x5a4174;if(!_0x2b89cc&&_0x489164[_0x249585(0x112)](_0x116886[_0x249585(0x163)]))return _0x489164[_0x249585(0x112)](_0x116886[_0x249585(0x163)])[_0x249585(0x11c)](),void _0x489164[_0x249585(0x16e)](_0x116886[_0x249585(0x163)]);const _0x4e4f9b=_0x116886[_0x249585(0x163)][_0x249585(0x12a)](':')[0x2];if(_0x4e4f9b===_0x32b7be[_0x249585(0x140)])return;const _0x42bbfa=_0x249585(0x10f)+_0x4e4f9b;_0x2a9c95[_0x249585(0x14f)][_0x249585(0x162)](_0x42bbfa)&&_0x7a831e[_0x249585(0x120)][_0x249585(0x132)](_0x42bbfa),_0x116886['on'](_0x249585(0x104),(_0x1874f7,_0x1f4404,_0x425acf)=>{const _0x135214=_0x249585;if(_0x135214(0x11b)!=_0x1f4404[_0x135214(0x124)][_0x135214(0x117)]&&_0x135214(0x11b)==_0x116886[_0x135214(0x180)]()[_0x135214(0x124)][_0x135214(0x117)]&&!_0x489164[_0x135214(0x162)](_0x116886[_0x135214(0x163)])){const _0x2848a5=_0x2a9c95[_0x135214(0x17b)][_0x135214(0x10c)](_0x425acf[_0x135214(0x178)]);if(_0x2848a5){const _0x1c418b=_0x34f5bc[_0x135214(0x176)](_0x2848a5);_0x489164[_0x135214(0x11d)](_0x116886[_0x135214(0x163)],_0x1c418b),_0x1c418b['on'](_0x135214(0x104),(_0x39474a,_0x53c368,_0x9b141b)=>{const _0x475520=_0x135214;if(_0x475520(0x11b)==_0x1c418b[_0x475520(0x124)][_0x475520(0x117)]){const _0x5535f2=_0x2a9c95[_0x475520(0x17b)][_0x475520(0x10c)](_0x9b141b[_0x475520(0x178)]);_0x5535f2?(_0x1c418b[_0x475520(0x138)]=_0x5535f2[_0x475520(0x138)],_0x1c418b[_0x475520(0x113)]=_0x5535f2[_0x475520(0x113)]):(_0x489164[_0x475520(0x16e)](_0x116886[_0x475520(0x163)]),_0x1c418b[_0x475520(0x11c)]());}});}}});}),_0x2a9c95[_0x5a4174(0x179)]['on'](_0x5a4174(0x11e),()=>{const _0x286581=_0x5a4174;_0x489164[_0x286581(0x110)]>0x0&&_0x2a9c95[_0x286581(0x144)]({'isUndoable':!0x1},_0x10996c=>{const _0x411a25=_0x286581;for(const [_0x4b2dcc,_0x39119a]of _0x489164)_0x411a25(0x11b)==_0x2a9c95[_0x411a25(0x14f)][_0x411a25(0x112)](_0x4b2dcc)[_0x411a25(0x180)]()[_0x411a25(0x124)][_0x411a25(0x117)]&&(te(_0x4b2dcc[_0x411a25(0x12a)](':')[0x2],_0x39119a[_0x411a25(0x12f)](),_0x2a9c95,_0x10996c),_0x39119a[_0x411a25(0x11c)]());_0x489164[_0x411a25(0x185)]();});});}(_0x36a9a6),this[_0x948fd7(0x121)][_0x948fd7(0x137)](_0x2deb0e[_0x948fd7(0x179)],_0x948fd7(0x15e),(_0x2968be,{key:_0x2daaae})=>{const _0x12776d=_0x948fd7;_0x12776d(0x14a)===_0x2daaae&&function(_0xf4ccf2){const _0x70e2f3=_0x12776d;_0xf4ccf2[_0x70e2f3(0x120)][_0x70e2f3(0x148)][_0x70e2f3(0x11e)](_0x264678=>{const _0xcbfd6a=_0x70e2f3;for(const _0x11bb33 of _0xf4ccf2[_0xcbfd6a(0x14e)][_0xcbfd6a(0x14f)]){if(!_0x11bb33[_0xcbfd6a(0x163)][_0xcbfd6a(0x17d)](_0xcbfd6a(0x164)))continue;const _0x384c97=_0xf4ccf2[_0xcbfd6a(0x120)][_0xcbfd6a(0x17a)][_0xcbfd6a(0x155)](_0x11bb33[_0xcbfd6a(0x163)]);if(_0x384c97){for(const _0x495f7b of _0x384c97)_0x264678[_0xcbfd6a(0xfe)](_0xcbfd6a(0x105),_0x495f7b);}}});}(_0x36a9a6);},{'useCapture':!0x0});}[_0x477ef0(0x174)](){const _0x289793=_0x477ef0,_0x12843c=this[_0x289793(0xff)],_0x4847b3=_0x12843c[_0x289793(0x10d)][_0x289793(0x112)](_0x289793(0x107));_0x4847b3&&_0x12843c[_0x289793(0x14e)]['on'](_0x289793(0x143),(_0x55a53d,_0x56ddaa)=>{const _0x43d008=_0x289793,_0x4f53bd=_0x56ddaa[0x0];if(!_0x4f53bd[_0x43d008(0x129)])return;if(_0x43d008(0x160)!=_0x4f53bd[_0x43d008(0x150)]||!_0x4f53bd[_0x43d008(0x163)][_0x43d008(0x17d)](_0x43d008(0x159)))return;const _0x463ec4=_0x4f53bd[_0x43d008(0x177)];_0x4847b3[_0x43d008(0x170)][_0x43d008(0x162)](_0x463ec4)&&(_0x4f53bd[_0x43d008(0x13a)]=_0x4f53bd[_0x43d008(0x17e)]?_0x12843c[_0x43d008(0x14e)][_0x43d008(0x12d)](_0x4f53bd[_0x43d008(0x17e)][_0x43d008(0x138)],_0x4f53bd[_0x43d008(0x17e)][_0x43d008(0x113)]):null);},{'priority':_0x289793(0x187)});}[_0x477ef0(0x161)](){const _0x2bdad3=_0x477ef0;return this[_0x2bdad3(0x121)][_0x2bdad3(0x15a)](),super[_0x2bdad3(0x161)]();}[_0x477ef0(0x10e)](){const _0x3b7c01=_0x477ef0,_0x29e2f7=this[_0x3b7c01(0xff)],_0x403e10=_0x29e2f7[_0x3b7c01(0x14e)][_0x3b7c01(0x179)],_0x38b0da=_0x29e2f7[_0x3b7c01(0x125)][_0x3b7c01(0x112)](_0x68dfc0);_0x29e2f7[_0x3b7c01(0x14e)][_0x3b7c01(0x144)]({'isUndoable':!0x1},_0x498e47=>{const _0x35e685=_0x3b7c01,_0x45d4b8=_0x35e685(0x10b)+_0x38b0da[_0x35e685(0x140)],_0x34f506=_0x35e685(0x10f)+_0x38b0da[_0x35e685(0x140)],_0x1f95c1=_0x29e2f7[_0x35e685(0x14e)][_0x35e685(0x14f)][_0x35e685(0x162)](_0x45d4b8);_0x29e2f7[_0x35e685(0x120)][_0x35e685(0x148)][_0x35e685(0x147)]?te(_0x38b0da[_0x35e685(0x140)],_0x403e10[_0x35e685(0x167)][_0x35e685(0x118)](),_0x29e2f7[_0x35e685(0x14e)],_0x498e47):_0x1f95c1&&(_0x498e47[_0x35e685(0x13f)](_0x45d4b8),_0x498e47[_0x35e685(0x13f)](_0x34f506));});}}function _0x4f32(){const _0x1b5994=['user:position','classList','spellcheck','selection','getUserBySessionId','ck-user__marker\x20','7627140MYbBFg','init','22cwwtjq','isInline','delete','markerToHighlight','_createdBatches','getSelectionClass','parent','add','afterInit','ck-user__marker-tooltip','fromRange','batch','deletionPosition','document','mapper','schema','mouseleave','startsWith','oldRange','element','getRange','isOfficialPlugin','createUIElement','30YHoNsz','UserMarkers','clear','markerName','highest','innerHTML','4NpGLZF','removeClass','editor','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','1821657zjncKp','conversion','remove','change:range','ck-user__marker_hovered','render','undo','outerHTML','897300pwerXm','getAttribute','user:range:','getNearestSelectionRange','commands','createUserMarkerOperations','user:position:','size','user:range','get','end','addEventListener','contenteditable','getPositions','rootName','getFirstRange','textContent','nodeAfter','$graveyard','detach','set','change','339938mxccWT','editing','_domEmitter','mouseenter','isPremiumPlugin','root','plugins','getStart','$text','markerToElement','isDocumentOperation','split','addMarker','orderNumber','createRange','checkChild','toRange','getCustomProperty','tableCell','reconvertMarker','getMarkerClass','requires','hasContent','getContainedElement','listenTo','start','markerRange','newRange','isLimit','6236797dWzleI','719108LhSwgi','editingDowncast','removeMarker','mySessionId','isSimilar','isObject','applyOperation','enqueueChange','color','2173128BcTZvD','hasDomSelection','view','pluginName','Escape','for','data-session-id','27kJseiD','model','markers','type','span','createElement','updateMarker','userPositionMarker','markerNameToElements','false','ck-user__selection','setAttribute','user:','stopListening','update:user:range','setCustomProperty','toDomElement','keydown','isCollapsed','marker','destroy','has','name'];_0x4f32=function(){return _0x1b5994;};return _0x4f32();}function te(_0x500e40,_0x2c16bf,_0x1fc8dc,_0x49355d){const _0x31e58d=_0x477ef0,_0x5a0391=_0x31e58d(0x10b)+_0x500e40,_0x47c548=_0x31e58d(0x10f)+_0x500e40,_0x2338aa=_0x2c16bf[_0x31e58d(0x136)]();let _0x13a3e2=_0x2c16bf[_0x31e58d(0x138)];if(_0x2338aa&&_0x2338aa['is'](_0x31e58d(0x17f),_0x31e58d(0x131))){const _0x334ff6=function(_0x469f7a,_0x30a737){const _0xa79655=_0x31e58d;for(const _0x2b1c10 of _0x469f7a[_0xa79655(0x116)]())if(_0x30a737[_0xa79655(0x17b)][_0xa79655(0x12e)](_0x2b1c10,_0xa79655(0x127)))return _0x2b1c10;}(_0x2c16bf,_0x1fc8dc);_0x334ff6&&(_0x13a3e2=_0x334ff6,_0x2c16bf=_0x49355d[_0x31e58d(0x12d)](_0x13a3e2));}const _0x52a84d=_0x49355d[_0x31e58d(0x12d)](_0x13a3e2);_0x1fc8dc[_0x31e58d(0x14f)][_0x31e58d(0x162)](_0x5a0391)?(_0x49355d[_0x31e58d(0x153)](_0x5a0391,{'range':_0x2c16bf}),_0x49355d[_0x31e58d(0x153)](_0x47c548,{'range':_0x52a84d})):(_0x49355d[_0x31e58d(0x12b)](_0x5a0391,{'range':_0x2c16bf,'usingOperation':!0x0}),_0x49355d[_0x31e58d(0x12b)](_0x47c548,{'range':_0x52a84d,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x472362=_0x3493;(function(_0x38597b,_0x1aaf22){const _0x34bbf7=_0x3493,_0x1c59c3=_0x38597b();while(!![]){try{const _0x38baa5=parseInt(_0x34bbf7(0x142))/0x1+parseInt(_0x34bbf7(0x150))/0x2*(parseInt(_0x34bbf7(0x118))/0x3)+parseInt(_0x34bbf7(0x15d))/0x4*(parseInt(_0x34bbf7(0x134))/0x5)+-parseInt(_0x34bbf7(0x12c))/0x6*(parseInt(_0x34bbf7(0x13e))/0x7)+parseInt(_0x34bbf7(0x195))/0x8+parseInt(_0x34bbf7(0x163))/0x9*(-parseInt(_0x34bbf7(0x139))/0xa)+-parseInt(_0x34bbf7(0x123))/0xb;if(_0x38baa5===_0x1aaf22)break;else _0x1c59c3['push'](_0x1c59c3['shift']());}catch(_0x3234e8){_0x1c59c3['push'](_0x1c59c3['shift']());}}}(_0x3409,0x8bc23));import{Plugin as _0xf2e478}from'ckeditor5/src/core.js';import{global as _0x19393c,DomEmitterMixin as _0x47f173}from'ckeditor5/src/utils.js';import{Sessions as _0x2dd860}from'./sessions.js';import{ModelLiveRange as _0x7b0f44}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0xf2e478{[_0x472362(0x18c)]=new(_0x47f173())();static get[_0x472362(0x17f)](){return[_0x2dd860];}static get[_0x472362(0x174)](){const _0x41f7f7=_0x472362;return _0x41f7f7(0x141);}static get[_0x472362(0x179)](){return!0x0;}static get[_0x472362(0x193)](){return!0x0;}[_0x472362(0x190)](){const _0x3639a2=_0x472362,_0x16fd82=this[_0x3639a2(0x144)],_0x27a764=_0x16fd82[_0x3639a2(0x198)][_0x3639a2(0x180)](_0x2dd860);_0x16fd82[_0x3639a2(0x148)][_0x3639a2(0x125)](_0x3639a2(0x129))[_0x3639a2(0x133)]({'model':_0x3639a2(0x17b),'view':(_0x1424ff,{writer:_0x253519})=>function(_0x169b90,_0x476bda,_0x268d74,_0x523048){const _0x59807c=_0x3639a2,_0x56ef22=_0x169b90[_0x59807c(0x115)][_0x59807c(0x18d)](':')[0x2],_0x4adc87=_0x268d74[_0x59807c(0x177)](_0x56ef22);if(!_0x4adc87||_0x56ef22===_0x268d74[_0x59807c(0x196)])return;if(!_0x523048[_0x59807c(0x199)][_0x59807c(0x175)][_0x59807c(0x15a)](_0x169b90[_0x59807c(0x140)][_0x59807c(0x136)],_0x59807c(0x152)))return;const _0x5a4fda={'class':_0x59807c(0x11c)+_0x4adc87[_0x59807c(0x155)][_0x59807c(0x11d)](),'data-name':_0x4adc87[_0x59807c(0x187)],'data-session-id':_0x56ef22},_0x403d52=_0x523048[_0x59807c(0x199)][_0x59807c(0x161)][_0x59807c(0x180)](_0x169b90[_0x59807c(0x115)]),_0x98671a=_0x403d52[_0x59807c(0x165)](),_0x164b19=_0x98671a[_0x59807c(0x160)],_0x5a0c48=_0x523048[_0x59807c(0x199)][_0x59807c(0x175)];if(_0x164b19&&_0x5a0c48[_0x59807c(0x135)](_0x164b19)&&_0x5a0c48[_0x59807c(0x145)](_0x164b19)&&!_0x523048[_0x59807c(0x199)][_0x59807c(0x161)][_0x59807c(0x180)](_0x59807c(0x12e)+_0x56ef22)[_0x59807c(0x17c)]()[_0x59807c(0x11b)])return;const _0x1f9a0f=_0x98671a[_0x59807c(0x11a)];return _0x523048[_0x59807c(0x199)][_0x59807c(0x175)][_0x59807c(0x113)](_0x1f9a0f)&&!_0x523048[_0x59807c(0x199)][_0x59807c(0x11f)](_0x1f9a0f)&&(_0x5a4fda[_0x59807c(0x166)]=!0x1),function(_0x5f2df9,_0x521099,_0x5d25f7){const _0x57cd96=_0x59807c,_0x5593ee=_0x5f2df9[_0x57cd96(0x14e)](_0x57cd96(0x164),_0x521099);return _0x5f2df9[_0x57cd96(0x12b)](_0x57cd96(0x173),!0x0,_0x5593ee),_0x5593ee[_0x57cd96(0x149)]=function(_0x400d2d){const _0x4629fe=_0x57cd96,_0x4f903c=this[_0x4629fe(0x13d)](_0x400d2d),_0x5524f0=document[_0x4629fe(0x119)](_0x4629fe(0x164));return _0x5524f0[_0x4629fe(0x154)][_0x4629fe(0x14b)](_0x4629fe(0x143)),_0x5524f0[_0x4629fe(0x19c)](_0x4629fe(0x166),_0x4629fe(0x153)),_0x5524f0[_0x4629fe(0x19c)](_0x4629fe(0x122),_0x4629fe(0x153)),_0x5524f0[_0x4629fe(0x151)]=_0x5d25f7[_0x4629fe(0x187)],_0x4f903c[_0x4629fe(0x121)]=_0x4629fe(0x16a)+_0x5524f0[_0x4629fe(0x124)]+'',_0x4f903c[_0x4629fe(0x138)](_0x4629fe(0x111),()=>{const _0x213e00=_0x4629fe;_0x4f903c[_0x213e00(0x154)][_0x213e00(0x14b)](_0x213e00(0x18b));}),_0x4f903c[_0x4629fe(0x138)](_0x4629fe(0x137),()=>{const _0x19791c=_0x4629fe;_0x4f903c[_0x19791c(0x154)][_0x19791c(0x159)](_0x19791c(0x18b));}),_0x4f903c;},_0x5593ee[_0x57cd96(0x16f)]=function(_0x16640a){const _0x3eb3f7=_0x57cd96;return!(!this[_0x3eb3f7(0x18e)](_0x3eb3f7(0x173))||!_0x16640a[_0x3eb3f7(0x18e)](_0x3eb3f7(0x173))||this[_0x3eb3f7(0x146)](_0x3eb3f7(0x192))!=_0x16640a[_0x3eb3f7(0x146)](_0x3eb3f7(0x192)));},_0x5593ee;}(_0x476bda,_0x5a4fda,_0x4adc87);}(_0x1424ff,_0x253519,_0x27a764,_0x16fd82)}),_0x16fd82[_0x3639a2(0x148)][_0x3639a2(0x125)](_0x3639a2(0x129))[_0x3639a2(0x185)]({'model':_0x3639a2(0x178),'view':_0x43f9ea=>function(_0x5e9c45,_0x3536ae){const _0x154223=_0x3639a2,_0x4aa787=_0x5e9c45[_0x154223(0x115)][_0x154223(0x18d)](':')[0x2];if(_0x4aa787===_0x3536ae[_0x154223(0x196)])return null;const _0x585d7e=_0x3536ae[_0x154223(0x177)](_0x4aa787);if(!_0x585d7e)return{'id':_0x4aa787,'classes':[]};return{'id':_0x4aa787,'classes':[_0x154223(0x169),_0x585d7e[_0x154223(0x155)][_0x154223(0x171)]()],'attributes':{'data-session-id':_0x4aa787},'priority':0x7d0+_0x585d7e[_0x154223(0x170)]};}(_0x43f9ea,_0x27a764)}),function(_0x2718a6){const _0x222931=_0x3639a2,_0x4d7057=_0x2718a6[_0x222931(0x199)],_0x1a98e0=new Map(),_0x93e04d=_0x2718a6[_0x222931(0x198)][_0x222931(0x180)](_0x2dd860);_0x4d7057[_0x222931(0x161)]['on'](_0x222931(0x189),(_0x2fdfbf,_0x2f3bbd,_0x5ea1cc,_0x1a00bb)=>{const _0x574e2a=_0x222931;if(!_0x1a00bb&&_0x1a98e0[_0x574e2a(0x180)](_0x2f3bbd[_0x574e2a(0x187)]))return _0x1a98e0[_0x574e2a(0x180)](_0x2f3bbd[_0x574e2a(0x187)])[_0x574e2a(0x183)](),void _0x1a98e0[_0x574e2a(0x147)](_0x2f3bbd[_0x574e2a(0x187)]);const _0xa62d6f=_0x2f3bbd[_0x574e2a(0x187)][_0x574e2a(0x18d)](':')[0x2];if(_0xa62d6f===_0x93e04d[_0x574e2a(0x196)])return;const _0x54a5d1=_0x574e2a(0x17e)+_0xa62d6f;_0x4d7057[_0x574e2a(0x161)][_0x574e2a(0x17d)](_0x54a5d1)&&_0x2718a6[_0x574e2a(0x14c)][_0x574e2a(0x182)](_0x54a5d1),_0x2f3bbd['on'](_0x574e2a(0x184),(_0x54f3f3,_0x49683f,_0x1ca819)=>{const _0xede33a=_0x574e2a;if(_0xede33a(0x186)!=_0x49683f[_0xede33a(0x13f)][_0xede33a(0x158)]&&_0xede33a(0x186)==_0x2f3bbd[_0xede33a(0x17c)]()[_0xede33a(0x13f)][_0xede33a(0x158)]&&!_0x1a98e0[_0xede33a(0x17d)](_0x2f3bbd[_0xede33a(0x187)])){const _0x4f66bb=_0x4d7057[_0xede33a(0x175)][_0xede33a(0x114)](_0x1ca819[_0xede33a(0x15e)]);if(_0x4f66bb){const _0xc566ec=_0x7b0f44[_0xede33a(0x13a)](_0x4f66bb);_0x1a98e0[_0xede33a(0x12d)](_0x2f3bbd[_0xede33a(0x187)],_0xc566ec),_0xc566ec['on'](_0xede33a(0x184),(_0x38e0fa,_0x486210,_0x582d1a)=>{const _0x40b37b=_0xede33a;if(_0x40b37b(0x186)==_0xc566ec[_0x40b37b(0x13f)][_0x40b37b(0x158)]){const _0x1a154d=_0x4d7057[_0x40b37b(0x175)][_0x40b37b(0x114)](_0x582d1a[_0x40b37b(0x15e)]);_0x1a154d?(_0xc566ec[_0x40b37b(0x136)]=_0x1a154d[_0x40b37b(0x136)],_0xc566ec[_0x40b37b(0x19b)]=_0x1a154d[_0x40b37b(0x19b)]):(_0x1a98e0[_0x40b37b(0x147)](_0x2f3bbd[_0x40b37b(0x187)]),_0xc566ec[_0x40b37b(0x183)]());}});}}});}),_0x4d7057[_0x222931(0x16b)]['on'](_0x222931(0x128),()=>{const _0x4bf6a6=_0x222931;_0x1a98e0[_0x4bf6a6(0x16e)]>0x0&&_0x4d7057[_0x4bf6a6(0x172)]({'isUndoable':!0x1},_0x5506b3=>{const _0x2798b1=_0x4bf6a6;for(const [_0x5e3a39,_0x54272c]of _0x1a98e0)_0x2798b1(0x186)==_0x4d7057[_0x2798b1(0x161)][_0x2798b1(0x180)](_0x5e3a39)[_0x2798b1(0x17c)]()[_0x2798b1(0x13f)][_0x2798b1(0x158)]&&(te(_0x5e3a39[_0x2798b1(0x18d)](':')[0x2],_0x54272c[_0x2798b1(0x15f)](),_0x4d7057,_0x5506b3),_0x54272c[_0x2798b1(0x183)]());_0x1a98e0[_0x2798b1(0x181)]();});});}(_0x16fd82),this[_0x3639a2(0x18c)][_0x3639a2(0x12f)](_0x19393c[_0x3639a2(0x16b)],_0x3639a2(0x130),(_0x1678af,{key:_0x1bbd6d})=>{const _0x4a5ed3=_0x3639a2;_0x4a5ed3(0x168)===_0x1bbd6d&&function(_0x292729){const _0x45ed28=_0x4a5ed3;_0x292729[_0x45ed28(0x14c)][_0x45ed28(0x127)][_0x45ed28(0x128)](_0xa3215a=>{const _0x224cda=_0x45ed28;for(const _0x4eac39 of _0x292729[_0x224cda(0x199)][_0x224cda(0x161)]){if(!_0x4eac39[_0x224cda(0x187)][_0x224cda(0x112)](_0x224cda(0x17b)))continue;const _0x76a82a=_0x292729[_0x224cda(0x14c)][_0x224cda(0x126)][_0x224cda(0x16c)](_0x4eac39[_0x224cda(0x187)]);if(_0x76a82a){for(const _0x291475 of _0x76a82a)_0xa3215a[_0x224cda(0x12a)](_0x224cda(0x18b),_0x291475);}}});}(_0x16fd82);},{'useCapture':!0x0});}[_0x472362(0x116)](){const _0x9d8de9=_0x472362,_0x33e7e4=this[_0x9d8de9(0x144)],_0x2384ab=_0x33e7e4[_0x9d8de9(0x117)][_0x9d8de9(0x180)](_0x9d8de9(0x14d));_0x2384ab&&_0x33e7e4[_0x9d8de9(0x199)]['on'](_0x9d8de9(0x11e),(_0xc4888a,_0x55ccbb)=>{const _0x1460d9=_0x9d8de9,_0x141e12=_0x55ccbb[0x0];if(!_0x141e12[_0x1460d9(0x18a)])return;if(_0x1460d9(0x15c)!=_0x141e12[_0x1460d9(0x13c)]||!_0x141e12[_0x1460d9(0x187)][_0x1460d9(0x112)](_0x1460d9(0x194)))return;const _0x4fb44=_0x141e12[_0x1460d9(0x14f)];_0x2384ab[_0x1460d9(0x157)][_0x1460d9(0x17d)](_0x4fb44)&&(_0x141e12[_0x1460d9(0x191)]=_0x141e12[_0x1460d9(0x176)]?_0x33e7e4[_0x1460d9(0x199)][_0x1460d9(0x197)](_0x141e12[_0x1460d9(0x176)][_0x1460d9(0x136)],_0x141e12[_0x1460d9(0x176)][_0x1460d9(0x19b)]):null);},{'priority':_0x9d8de9(0x156)});}[_0x472362(0x120)](){const _0x27a624=_0x472362;return this[_0x27a624(0x18c)][_0x27a624(0x17a)](),super[_0x27a624(0x120)]();}[_0x472362(0x13b)](){const _0x3be790=_0x472362,_0x506e6b=this[_0x3be790(0x144)],_0x5b556c=_0x506e6b[_0x3be790(0x199)][_0x3be790(0x16b)],_0x44bc88=_0x506e6b[_0x3be790(0x198)][_0x3be790(0x180)](_0x2dd860);_0x506e6b[_0x3be790(0x199)][_0x3be790(0x172)]({'isUndoable':!0x1},_0x400817=>{const _0x248714=_0x3be790,_0x468f00=_0x248714(0x12e)+_0x44bc88[_0x248714(0x196)],_0xb3cec0=_0x248714(0x17e)+_0x44bc88[_0x248714(0x196)],_0x2f9ce2=_0x506e6b[_0x248714(0x199)][_0x248714(0x161)][_0x248714(0x17d)](_0x468f00);_0x506e6b[_0x248714(0x14c)][_0x248714(0x127)][_0x248714(0x14a)]?te(_0x44bc88[_0x248714(0x196)],_0x5b556c[_0x248714(0x19a)][_0x248714(0x162)](),_0x506e6b[_0x248714(0x199)],_0x400817):_0x2f9ce2&&(_0x400817[_0x248714(0x132)](_0x468f00),_0x400817[_0x248714(0x132)](_0xb3cec0));});}}function _0x3409(){const _0x282fea=['setCustomProperty','1146JRfJJV','set','user:range:','listenTo','keydown','addMarker','removeMarker','markerToElement','5ZGQArK','isObject','start','mouseleave','addEventListener','3665940JqpOiw','fromRange','createUserMarkerOperations','type','toDomElement','11291TVguVW','root','markerRange','UserMarkers','571399LHwiIW','ck-user__marker-tooltip','editor','isInline','getAttribute','delete','conversion','render','hasDomSelection','add','editing','undo','createUIElement','batch','2vQZtkt','textContent','$text','false','classList','color','highest','_createdBatches','rootName','remove','checkChild','getContainedElement','marker','2590084hOxxhh','deletionPosition','toRange','nodeAfter','markers','getFirstRange','9RlLvRI','span','getStart','contenteditable','tableCell','Escape','ck-user__selection','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','document','markerNameToElements','getPositions','size','isSimilar','orderNumber','getSelectionClass','enqueueChange','userPositionMarker','pluginName','schema','oldRange','getUserBySessionId','user:range','isOfficialPlugin','stopListening','user:position','getRange','has','user:position:','requires','get','clear','reconvertMarker','detach','change:range','markerToHighlight','$graveyard','name','updateMarker','update:user:range','isDocumentOperation','ck-user__marker_hovered','_domEmitter','split','getCustomProperty','element','init','newRange','data-session-id','isPremiumPlugin','user:','3251368DsPYGV','mySessionId','createRange','plugins','model','selection','end','setAttribute','mouseenter','startsWith','isLimit','getNearestSelectionRange','markerName','afterInit','commands','2339637RMJWRD','createElement','parent','isCollapsed','ck-user__marker\x20','getMarkerClass','applyOperation','hasContent','destroy','innerHTML','spellcheck','12739012akbESv','outerHTML','for','mapper','view','change','editingDowncast','removeClass'];_0x3409=function(){return _0x282fea;};return _0x3409();}function _0x3493(_0x309907,_0x51dd2d){const _0x3409fe=_0x3409();return _0x3493=function(_0x349354,_0x2dd593){_0x349354=_0x349354-0x111;let _0x6ced9c=_0x3409fe[_0x349354];return _0x6ced9c;},_0x3493(_0x309907,_0x51dd2d);}function te(_0x49776f,_0x18ee67,_0x38464f,_0x47cfdc){const _0x2b2892=_0x472362,_0x658121=_0x2b2892(0x12e)+_0x49776f,_0x1a8532=_0x2b2892(0x17e)+_0x49776f,_0xeb71e0=_0x18ee67[_0x2b2892(0x15b)]();let _0x109208=_0x18ee67[_0x2b2892(0x136)];if(_0xeb71e0&&_0xeb71e0['is'](_0x2b2892(0x18f),_0x2b2892(0x167))){const _0x36e3ab=function(_0x32b601,_0x4680a7){const _0x519c96=_0x2b2892;for(const _0xb7a1be of _0x32b601[_0x519c96(0x16d)]())if(_0x4680a7[_0x519c96(0x175)][_0x519c96(0x15a)](_0xb7a1be,_0x519c96(0x152)))return _0xb7a1be;}(_0x18ee67,_0x38464f);_0x36e3ab&&(_0x109208=_0x36e3ab,_0x18ee67=_0x47cfdc[_0x2b2892(0x197)](_0x109208));}const _0x568fc6=_0x47cfdc[_0x2b2892(0x197)](_0x109208);_0x38464f[_0x2b2892(0x161)][_0x2b2892(0x17d)](_0x658121)?(_0x47cfdc[_0x2b2892(0x188)](_0x658121,{'range':_0x18ee67}),_0x47cfdc[_0x2b2892(0x188)](_0x1a8532,{'range':_0x568fc6})):(_0x47cfdc[_0x2b2892(0x131)](_0x658121,{'range':_0x18ee67,'usingOperation':!0x0}),_0x47cfdc[_0x2b2892(0x131)](_0x1a8532,{'range':_0x568fc6,'usingOperation':!0x0}));}
|