@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.3 → 46.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x21cad4=_0x3f33;(function(_0x4c0c2e,_0x36b342){const _0x44f0fb=_0x3f33,_0x1878f8=_0x4c0c2e();while(!![]){try{const _0x481a97=-parseInt(_0x44f0fb(0xdd))/0x1+parseInt(_0x44f0fb(0xeb))/0x2+parseInt(_0x44f0fb(0xe3))/0x3+parseInt(_0x44f0fb(0xd5))/0x4*(parseInt(_0x44f0fb(0xce))/0x5)+-parseInt(_0x44f0fb(0xd7))/0x6+-parseInt(_0x44f0fb(0xd8))/0x7+-parseInt(_0x44f0fb(0xe6))/0x8;if(_0x481a97===_0x36b342)break;else _0x1878f8['push'](_0x1878f8['shift']());}catch(_0x3a08cb){_0x1878f8['push'](_0x1878f8['shift']());}}}(_0x2b56,0xc1d16));function _0x3f33(_0x53b47b,_0x1ac191){const _0x2b56a7=_0x2b56();return _0x3f33=function(_0x3f33b0,_0x573c04){_0x3f33b0=_0x3f33b0-0xcc;let _0x3ce761=_0x2b56a7[_0x3f33b0];return _0x3ce761;},_0x3f33(_0x53b47b,_0x1ac191);}function _0x2b56(){const _0x26ec0e=['div','3266192GRkKqP','list','aria-expanded','contains','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3108888pjvRSi','hasPopup','removeAttribute','.ck-presence-list__dropdown-list','.ck-balloon-panel_with-arrow','fire','render','querySelector','500sOEvcd','focus','ck-presence-list__list','isExpanded','element','set','createCollection','26216rHLYtO','presencelist:hide','2664408saHyGJ','6103370bZOXEh','items','listenTo','bindTemplate','relatedTarget','1106373vyAphN','setAttribute','setTemplate','Connected\x20users\x20list','change:hasPopup','presencelist:show','4243977FPcqwl','keystrokes'];_0x2b56=function(){return _0x26ec0e;};return _0x2b56();}import{View as _0x5ea11b}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4c9da6}from'ckeditor5/src/utils.js';import{getTranslation as _0xa5144d}from'../../common-translations.js';export class PresenceInlineListView extends _0x5ea11b{[_0x21cad4(0xd9)];[_0x21cad4(0xe4)];constructor(_0x18e590){const _0x326d29=_0x21cad4;super(_0x18e590);const _0x385224=this[_0x326d29(0xdb)];this[_0x326d29(0xd9)]=this[_0x326d29(0xd4)](),this[_0x326d29(0xe4)]=new _0x4c9da6(),this[_0x326d29(0xd3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x326d29(0xdf)]({'tag':_0x326d29(0xe5),'attributes':{'aria-haspopup':_0x385224['if'](_0x326d29(0xec)),'aria-expanded':_0x385224['to'](_0x326d29(0xd1),_0x53bc3c=>this[_0x326d29(0xec)]&&String(_0x53bc3c)),'aria-label':_0x385224['to'](_0x326d29(0xec),_0x44dd8b=>_0xa5144d(_0x18e590,_0x44dd8b?_0x326d29(0xea):_0x326d29(0xe0))),'role':_0x326d29(0xe7),'tabindex':_0x385224['to'](_0x326d29(0xec),_0x57079a=>!!_0x57079a&&0x0),'class':['ck',_0x326d29(0xd0)]},'children':this[_0x326d29(0xd9)],'on':{'mouseenter':_0x385224['to'](()=>this[_0x326d29(0xf0)](_0x326d29(0xe2))),'mouseleave':_0x385224['to'](_0x487c4c=>{const _0x26acce=_0x326d29,_0x20cd1b=_0x487c4c,_0xc9b3ca=document[_0x26acce(0xcd)](_0x26acce(0xee)),_0x32ed8b=document[_0x26acce(0xcd)](_0x26acce(0xef));_0xc9b3ca?.[_0x26acce(0xe9)](_0x20cd1b[_0x26acce(0xdc)])||_0x32ed8b?.[_0x26acce(0xe9)](_0x20cd1b[_0x26acce(0xdc)])||this[_0x26acce(0xf0)](_0x26acce(0xd6));})}}),this['on'](_0x326d29(0xe1),(_0x122fb3,_0x48f1a3,_0x3cec4e)=>{const _0x28ce1a=_0x326d29;this[_0x28ce1a(0xd2)]&&(_0x3cec4e?this[_0x28ce1a(0xd2)][_0x28ce1a(0xde)](_0x28ce1a(0xe8),String(this[_0x28ce1a(0xd1)])):this[_0x28ce1a(0xd2)][_0x28ce1a(0xed)](_0x28ce1a(0xe8)));});}[_0x21cad4(0xcf)](){const _0x44164b=_0x21cad4;this[_0x44164b(0xd2)][_0x44164b(0xcf)]();}[_0x21cad4(0xcc)](){const _0x543012=_0x21cad4;super[_0x543012(0xcc)](),this[_0x543012(0xe4)][_0x543012(0xda)](this[_0x543012(0xd2)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x417c24=_0x1fe6;(function(_0x594ecc,_0x19b012){const _0x882dcf=_0x1fe6,_0x53f78b=_0x594ecc();while(!![]){try{const _0x272c2c=parseInt(_0x882dcf(0x102))/0x1+parseInt(_0x882dcf(0xf1))/0x2+-parseInt(_0x882dcf(0xf8))/0x3+parseInt(_0x882dcf(0xf6))/0x4+parseInt(_0x882dcf(0x101))/0x5+-parseInt(_0x882dcf(0xf0))/0x6*(parseInt(_0x882dcf(0xed))/0x7)+-parseInt(_0x882dcf(0xf9))/0x8;if(_0x272c2c===_0x19b012)break;else _0x53f78b['push'](_0x53f78b['shift']());}catch(_0x391c54){_0x53f78b['push'](_0x53f78b['shift']());}}}(_0x142d,0xde62f));import{View as _0x2cb82c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x86d562}from'./presencecounterview.js';function _0x1fe6(_0xb2ed0b,_0x1524d8){const _0x142d7e=_0x142d();return _0x1fe6=function(_0x1fe682,_0x110e73){_0x1fe682=_0x1fe682-0xec;let _0x3d0a49=_0x142d7e[_0x1fe682];return _0x3d0a49;},_0x1fe6(_0xb2ed0b,_0x1524d8);}function _0x142d(){const _0x1eaecb=['ck-reset','21774JNSuCe','2388920mvkxZx','change','div','hasPopup','ck-rounded-corners','3934028NdPwty','counterView','3351672lerHfi','12226352dvzroQ','first','bindTemplate','tooltipPosition','bind','inlineListView','listenTo','isCollapsed','3268975NZzfLT','1530289eXTeNl','ck-presence-list--collapsed','set','locale','ck-presence-list','items','1554FMjOyU','setTemplate'];_0x142d=function(){return _0x1eaecb;};return _0x142d();}import{PresenceInlineListView as _0x2a1b9b}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x2cb82c{[_0x417c24(0xf7)];[_0x417c24(0xfe)];constructor(_0x202cb9,_0x69a792=0x6){const _0x5999ad=_0x417c24;super(_0x202cb9);const _0x33672b=this[_0x5999ad(0xfb)];this[_0x5999ad(0x104)](_0x5999ad(0x100),!0x0),this[_0x5999ad(0xf7)]=new _0x86d562(this[_0x5999ad(0x105)],_0x69a792),this[_0x5999ad(0xfe)]=new _0x2a1b9b(_0x202cb9),this[_0x5999ad(0xfe)][_0x5999ad(0xfd)](_0x5999ad(0xf4))['to'](this,_0x5999ad(0x100)),this[_0x5999ad(0xff)](this[_0x5999ad(0xfe)][_0x5999ad(0xec)],_0x5999ad(0xf2),()=>{const _0x5015a0=_0x5999ad;for(const _0x2fd0d3 of this[_0x5015a0(0xfe)][_0x5015a0(0xec)])_0x2fd0d3[_0x5015a0(0xfc)]='s';this[_0x5015a0(0xfe)][_0x5015a0(0xec)][_0x5015a0(0xfa)]&&(this[_0x5015a0(0xfe)][_0x5015a0(0xec)][_0x5015a0(0xfa)][_0x5015a0(0xfc)]='se');}),this[_0x5999ad(0xee)]({'tag':_0x5999ad(0xf3),'attributes':{'class':['ck',_0x5999ad(0x106),_0x5999ad(0xef),_0x5999ad(0xf5),_0x33672b['if'](_0x5999ad(0x100),_0x5999ad(0x103))]},'children':[this[_0x5999ad(0xfe)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x21f2(){var _0x342b2c=['216245xgZrWM','PresenceList','1384528JGhTMf','isPremiumPlugin','1786776MHjNlC','72684SNJysG','pluginName','9199490vJnJHS','isOfficialPlugin','requires','3538ETMpgZ','7ztbUdM','180ywUHsJ','9skishO','323637AsDXGU'];_0x21f2=function(){return _0x342b2c;};return _0x21f2();}var _0x48f907=_0x5cbc;(function(_0x4e653d,_0x2cf887){var _0x52fd95=_0x5cbc,_0x4e108a=_0x4e653d();while(!![]){try{var _0x132787=-parseInt(_0x52fd95(0x1f0))/0x1*(parseInt(_0x52fd95(0x1f2))/0x2)+parseInt(_0x52fd95(0x1f4))/0x3+-parseInt(_0x52fd95(0x1eb))/0x4+-parseInt(_0x52fd95(0x1e6))/0x5+-parseInt(_0x52fd95(0x1ea))/0x6*(parseInt(_0x52fd95(0x1f1))/0x7)+-parseInt(_0x52fd95(0x1e8))/0x8+parseInt(_0x52fd95(0x1f3))/0x9*(parseInt(_0x52fd95(0x1ed))/0xa);if(_0x132787===_0x2cf887)break;else _0x4e108a['push'](_0x4e108a['shift']());}catch(_0x2f73d1){_0x4e108a['push'](_0x4e108a['shift']());}}}(_0x21f2,0x2b3e6));function _0x5cbc(_0x50a14e,_0x4f3ee8){var _0x21f2c4=_0x21f2();return _0x5cbc=function(_0x5cbc82,_0x248eb8){_0x5cbc82=_0x5cbc82-0x1e6;var _0x181250=_0x21f2c4[_0x5cbc82];return _0x181250;},_0x5cbc(_0x50a14e,_0x4f3ee8);}import{ContextPlugin as _0x588523}from'ckeditor5/src/core.js';import{Sessions as _0x383bea}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x13a183}from'./presencelist/presencelistui.js';export class PresenceList extends _0x588523{static get[_0x48f907(0x1ef)](){return[_0x383bea,_0x13a183];}static get[_0x48f907(0x1ec)](){var _0x31a77e=_0x48f907;return _0x31a77e(0x1e7);}static get[_0x48f907(0x1ee)](){return!0x0;}static get[_0x48f907(0x1e9)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0xe59d4)());[_0x4224ad(0x104)];static get[_0x4224ad(0xed)](){const _0x34a668=_0x4224ad;return[_0x283d34,_0x34a668(0x134),_0x3d53a0,_0x5e3cb0];}static get[_0x4224ad(0x115)](){const _0x37b31d=_0x4224ad;return _0x37b31d(0x105);}static get[_0x4224ad(0xf6)](){return!0x0;}static get[_0x4224ad(0xf2)](){return!0x0;}constructor(_0x5208f4){const _0x385edf=_0x4224ad;super(_0x5208f4),this[_0x385edf(0x104)]=new Map();}async[_0x4224ad(0x135)](){const _0x37ff6c=_0x4224ad,_0x30723f=this[_0x37ff6c(0xe2)],_0x4dfffe=_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x37ff6c(0x134));if(_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x283d34)[_0x37ff6c(0x103)](this),_0x4dfffe[_0x37ff6c(0xe3)]={'addCommentThread':async({channelId:_0x157183,threadId:_0x623d49,comments:_0x4599aa,resolvedAt:_0x1c3bed,resolvedBy:_0x59f225,context:_0x437d17,attributes:_0x46af08})=>{const _0x1cae80=_0x37ff6c,_0x30f4b7=await this[_0x1cae80(0xf9)](_0x157183)[_0x1cae80(0x13a)]({'commentThreadId':_0x623d49,'comments':_0x4599aa[_0x1cae80(0xfe)](_0x51bfa2=>function(_0x191ab9,_0x18f173,_0x15f07e){const _0x2ab583=_0x1cae80;return{'commentThreadId':_0x15f07e,'commentId':_0x191ab9[_0x2ab583(0x123)],'userId':_0x191ab9[_0x2ab583(0x111)],'content':_0x191ab9[_0x2ab583(0xf7)],'documentId':_0x18f173,'createdAt':_0x191ab9[_0x2ab583(0x13b)],'attributes':_0x191ab9[_0x2ab583(0x11f)]||{}};}(_0x51bfa2,_0x157183,_0x623d49)),'resolvedAt':_0x1c3bed,'resolvedBy':_0x59f225,'context':_0x437d17,'attributes':_0x46af08})[_0x1cae80(0x110)](tt);return{'threadId':_0x30f4b7[_0x1cae80(0x113)],'comments':_0x30f4b7[_0x1cae80(0xf8)]};},'getCommentThread':async({channelId:_0x2f2b92,threadId:_0x25aed0})=>{const _0x5e117d=_0x37ff6c,_0x5ee477=await this[_0x5e117d(0xf9)](_0x2f2b92)[_0x5e117d(0x124)](_0x25aed0)[_0x5e117d(0x110)](tt);return _0x5ee477[_0x5e117d(0x12c)]?null:(await this[_0x5e117d(0xee)]([_0x5ee477]),{'threadId':_0x5ee477[_0x5e117d(0x113)],'comments':_0x5ee477[_0x5e117d(0xf8)][_0x5e117d(0xfe)](et),'context':_0x5ee477[_0x5e117d(0xe2)],'resolvedAt':_0x5ee477[_0x5e117d(0x109)],'resolvedBy':_0x5ee477[_0x5e117d(0xe4)],'attributes':_0x5ee477[_0x5e117d(0x11f)]||{}});},'updateCommentThread':async({channelId:_0x195032,threadId:_0x495d29,context:_0x195a63,unlinkedAt:_0x3ce574,attributes:_0x28086a})=>this[_0x37ff6c(0xf9)](_0x195032)[_0x37ff6c(0xf3)]({'commentThreadId':_0x495d29,'context':_0x195a63,'attributes':_0x28086a,'unlinkedAt':_0x3ce574})[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'resolveCommentThread':async({channelId:_0x560d84,threadId:_0x500457})=>{const _0x36eb98=_0x37ff6c,_0x457520=await this[_0x36eb98(0xf9)](_0x560d84)[_0x36eb98(0xec)](_0x500457)[_0x36eb98(0x110)](Z)[_0x36eb98(0x110)](tt);return{'threadId':_0x457520[_0x36eb98(0x113)],'resolvedAt':_0x457520[_0x36eb98(0x109)],'resolvedBy':_0x457520[_0x36eb98(0xe4)]};},'reopenCommentThread':async({channelId:_0x4d5e5b,threadId:_0x6ba342})=>this[_0x37ff6c(0xf9)](_0x4d5e5b)[_0x37ff6c(0x128)](_0x6ba342)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'removeCommentThread':({channelId:_0x2961d9,threadId:_0x1f8de9})=>this[_0x37ff6c(0xf9)](_0x2961d9)[_0x37ff6c(0x132)](_0x1f8de9)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'addComment':({channelId:_0x3343b8,threadId:_0x23de67,commentId:_0x5d8ee1,content:_0x18adb8,attributes:_0xba4958})=>this[_0x37ff6c(0xf9)](_0x3343b8)[_0x37ff6c(0x114)](_0x23de67,_0x5d8ee1,_0x18adb8,_0xba4958)[_0x37ff6c(0x110)](tt),'updateComment':({channelId:_0x2787c8,threadId:_0x4f90d3,commentId:_0x7c9b0d,content:_0x5cbf30,attributes:_0x35a76c})=>this[_0x37ff6c(0xf9)](_0x2787c8)[_0x37ff6c(0x10e)](_0x4f90d3,_0x7c9b0d,_0x5cbf30,_0x35a76c)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'removeComment':({channelId:_0x16188b,threadId:_0x183d7f,commentId:_0x36066c})=>this[_0x37ff6c(0xf9)](_0x16188b)[_0x37ff6c(0xd8)](_0x183d7f,_0x36066c)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt)},_0x30723f instanceof _0x321968){const _0x2b1bf0=_0x30723f[_0x37ff6c(0xdc)][_0x37ff6c(0xe7)](_0x37ff6c(0x11e)),_0x1721da=_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x3d53a0);await this[_0x37ff6c(0xda)](_0x2b1bf0);const _0x1e3c3d=await this[_0x37ff6c(0x104)][_0x37ff6c(0xe7)](_0x2b1bf0)[_0x37ff6c(0x116)]();this[_0x37ff6c(0xfa)](_0x1721da,_0x37ff6c(0xef)+_0x2b1bf0,(_0x2d915c,{session:_0x52cecf})=>{const _0x2b1e28=_0x37ff6c;_0x52cecf['id']===_0x1721da[_0x2b1e28(0x10f)]&&(_0x2d915c[_0x2b1e28(0x125)](),this[_0x2b1e28(0xe2)][_0x2b1e28(0x12d)][_0x2b1e28(0xe7)](_0x2b1e28(0xe5))[_0x2b1e28(0x122)](_0x52cecf[_0x2b1e28(0x10c)],_0x2b1bf0));}),_0x1721da[_0x37ff6c(0x13c)](_0x2b1bf0,_0x1e3c3d);}}async[_0x4224ad(0xda)](_0x38067c){const _0x470897=_0x4224ad;if(this[_0x470897(0x104)][_0x470897(0x108)](_0x38067c))throw new _0x9a9c4(_0x470897(0x11a),null,{'channelId':_0x38067c});const _0x5afccb=this[_0x470897(0xe2)][_0x470897(0x12d)][_0x470897(0xe7)](_0x470897(0x134)),_0x26e9cb=new s[(_0x470897(0xeb))](_0x38067c);this[_0x470897(0x104)][_0x470897(0x136)](_0x38067c,_0x26e9cb),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x12e),(_0x2bee45,_0x350473)=>{const _0x2b289c=_0x470897,{commentThreadId:_0x460e65,documentId:_0x409434,context:_0x5b28af,attributes:_0x4b97bc,resolvedAt:_0x10cfdf,resolvedBy:_0xa5256a,comments:_0xecf561}=_0x350473;_0x5afccb[_0x2b289c(0x124)](_0x460e65)||_0x5afccb[_0x2b289c(0x13a)]({'threadId':_0x460e65,'channelId':_0x409434,'comments':_0xecf561?_0xecf561[_0x2b289c(0xfe)](et):[],'context':_0x5b28af,'attributes':_0x4b97bc,'resolvedAt':_0x10cfdf,'resolvedBy':_0xa5256a,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x12b),(_0x5ae9df,{commentThreadId:_0xf903da,documentId:_0x372ea0,context:_0x525de7,unlinkedAt:_0x448638,attributes:_0x4b0c7c})=>{const _0x412eb5=_0x470897;_0x5afccb[_0x412eb5(0x124)](_0xf903da)&&_0x5afccb[_0x412eb5(0xf3)]({'threadId':_0xf903da,'channelId':_0x372ea0,'context':_0x525de7,'unlinkedAt':_0x448638,'attributes':_0x4b0c7c,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x11c),(_0x1bcaa5,{commentThreadId:_0xfd02c5,resolvedBy:_0x1c3071,resolvedAt:_0x2e4858})=>{const _0x380d4c=_0x470897,_0x2e4674=_0x5afccb[_0x380d4c(0x124)](_0xfd02c5);_0x2e4674&&_0x2e4674[_0x380d4c(0x119)]({'resolvedBy':_0x1c3071,'resolvedAt':_0x2e4858,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xf1),(_0x22ba63,{commentThreadId:_0x48f48e})=>{const _0x85a4a4=_0x470897,_0x4998ae=_0x5afccb[_0x85a4a4(0x124)](_0x48f48e);_0x4998ae&&_0x4998ae[_0x85a4a4(0xf4)]({'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x102),(_0x409ed1,{commentThreadId:_0x3ee2c4})=>{const _0x1c5fc1=_0x470897,_0x500ff9=_0x5afccb[_0x1c5fc1(0x124)](_0x3ee2c4);_0x500ff9&&_0x500ff9[_0x1c5fc1(0x10d)]({'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xe6),(_0x2cc947,_0x299ef6)=>{const _0x5077ba=_0x470897,_0x3fe324=_0x299ef6[_0x5077ba(0x113)],_0x47bec5=_0x5afccb[_0x5077ba(0x124)](_0x3fe324);_0x47bec5&&_0x47bec5[_0x5077ba(0x114)]({...et(_0x299ef6),'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xe9),(_0x4f8497,{commentThreadId:_0xb48e81,commentId:_0x254fce,content:_0x38de3a,attributes:_0x49d8c8})=>{const _0x559bbf=_0x470897,_0x32494d=_0x5afccb[_0x559bbf(0x124)](_0xb48e81);if(_0x32494d){const _0x21bc72=_0x32494d[_0x559bbf(0x100)](_0x254fce);_0x21bc72&&_0x21bc72[_0x559bbf(0xe0)]({'content':_0x38de3a,'attributes':_0x49d8c8,'isFromAdapter':!0x0});}}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xf5),(_0x76431a,{commentThreadId:_0x2f5481,commentId:_0x1719ea})=>{const _0x47e191=_0x470897,_0x2765d9=_0x5afccb[_0x47e191(0x124)](_0x2f5481);if(_0x2765d9){const _0x3cd085=_0x2765d9[_0x47e191(0x100)](_0x1719ea);_0x3cd085&&_0x3cd085[_0x47e191(0x10d)]({'isFromAdapter':!0x0});}}),await this[_0x470897(0xe1)](_0x38067c);}[_0x4224ad(0xd9)](){const _0x1db6c6=_0x4224ad;if(this[_0x1db6c6(0xe2)]instanceof _0x321968){const _0x50a65d=this[_0x1db6c6(0xe2)][_0x1db6c6(0xdc)][_0x1db6c6(0xe7)](_0x1db6c6(0x11e));this[_0x1db6c6(0xea)](_0x50a65d);}}[_0x4224ad(0xea)](_0x353dd5){const _0x64d9fe=_0x4224ad;if(!this[_0x64d9fe(0x104)][_0x64d9fe(0x108)](_0x353dd5))throw new _0x9a9c4(_0x64d9fe(0x107),null,{'channelId':_0x353dd5});this[_0x64d9fe(0xf9)](_0x353dd5)[_0x64d9fe(0x11b)](),this[_0x64d9fe(0x104)][_0x64d9fe(0x131)](_0x353dd5);}async[_0x4224ad(0x126)](){const _0x431952=_0x4224ad;for(const _0x55dd3c of this[_0x431952(0x104)][_0x431952(0xf0)]())await this[_0x431952(0xe1)](_0x55dd3c);if(this[_0x431952(0xe2)]instanceof _0x321968){const _0xb78b60=this[_0x431952(0xe2)][_0x431952(0xdc)][_0x431952(0xe7)](_0x431952(0x11e)),_0x49752d=this[_0x431952(0xe2)][_0x431952(0x12d)][_0x431952(0xe7)](_0x3d53a0);_0x49752d[_0x431952(0xde)](_0xb78b60);const _0x2390b4=await this[_0x431952(0x104)][_0x431952(0xe7)](_0xb78b60)[_0x431952(0x116)]();_0x49752d[_0x431952(0x13c)](_0xb78b60,_0x2390b4);}}async[_0x4224ad(0xe1)](_0x2da181){const _0x57e201=_0x4224ad,{connection:_0x44542f}=this[_0x57e201(0xe2)][_0x57e201(0x12d)][_0x57e201(0xe7)](_0x283d34),_0x2d3e6b=this[_0x57e201(0xe2)][_0x57e201(0x12d)][_0x57e201(0xe7)](_0x57e201(0x134)),_0x15690f=this[_0x57e201(0x104)][_0x57e201(0xe7)](_0x2da181),_0x104147=await _0x15690f[_0x57e201(0x130)](_0x44542f);await this[_0x57e201(0xee)](_0x104147);const _0x21dbb4=new Set(Array[_0x57e201(0xfc)](_0x2d3e6b[_0x57e201(0x129)]({'channelId':_0x2da181}),_0x4e764e=>_0x4e764e['id']));for(const _0x4b9139 of _0x104147)_0x4b9139[_0x57e201(0x12c)]||_0x21dbb4[_0x57e201(0x131)](_0x4b9139[_0x57e201(0x113)]);for(const _0x253d3d of _0x21dbb4)_0x2d3e6b[_0x57e201(0x124)](_0x253d3d)[_0x57e201(0x10d)]({'isFromAdapter':!0x0});for(const _0x5be771 of _0x104147){let _0x314f6a=_0x2d3e6b[_0x57e201(0x124)](_0x5be771[_0x57e201(0x113)]);const {commentThreadId:_0x2c1652,context:_0x5f2cd8,attributes:_0x320551,resolvedBy:_0x5dae51,resolvedAt:_0x22cccd,unlinkedAt:_0xa184aa,deletedAt:_0x36103e}=_0x5be771;if(_0x36103e)continue;_0x314f6a||(_0x314f6a=_0x2d3e6b[_0x57e201(0x13a)]({'channelId':_0x2da181,'threadId':_0x2c1652,'context':_0x5f2cd8,'attributes':_0x320551||{},'resolvedBy':_0x5dae51,'resolvedAt':_0x22cccd,'unlinkedAt':_0xa184aa,'isFromAdapter':!0x0}));const _0x52c8e3=new Set(Array[_0x57e201(0xfc)](_0x314f6a[_0x57e201(0xf8)],_0x589aa3=>_0x589aa3['id']));for(const _0x58e6fe of _0x5be771[_0x57e201(0xf8)])_0x52c8e3[_0x57e201(0x131)](_0x58e6fe[_0x57e201(0x123)]);for(const _0x56d72a of _0x52c8e3)_0x314f6a[_0x57e201(0x100)](_0x56d72a)[_0x57e201(0x10d)]({'isFromAdapter':!0x0});for(const _0x86e1c8 of _0x5be771[_0x57e201(0xf8)]){const _0x1f7ce5=_0x314f6a[_0x57e201(0x100)](_0x86e1c8[_0x57e201(0x123)]);_0x1f7ce5?_0x1f7ce5[_0x57e201(0xf7)]!==_0x86e1c8[_0x57e201(0xf7)]&&_0x1f7ce5[_0x57e201(0xe0)]({'content':_0x86e1c8[_0x57e201(0xf7)],'isFromAdapter':!0x0}):_0x314f6a[_0x57e201(0x114)](Object[_0x57e201(0x117)](et(_0x86e1c8),{'isFromAdapter':!0x0}));}}}[_0x4224ad(0xf9)](_0x56ff99){const _0x497dfa=_0x4224ad;if(!this[_0x497dfa(0x104)][_0x497dfa(0x108)](_0x56ff99))throw new _0x9a9c4(_0x497dfa(0xe8),null,{'channelId':_0x56ff99});return this[_0x497dfa(0x104)][_0x497dfa(0xe7)](_0x56ff99);}async[_0x4224ad(0xee)](_0x4649b1){const _0x1f5caf=_0x4224ad,_0x450d3c=this[_0x1f5caf(0xe2)][_0x1f5caf(0x12d)][_0x1f5caf(0xe7)](_0x5e3cb0),{connection:_0x3f309c}=this[_0x1f5caf(0xe2)][_0x1f5caf(0x12d)][_0x1f5caf(0xe7)](_0x283d34),_0x583a19=new Set();for(const {resolvedBy:_0x25c25f,comments:_0x51d80c}of _0x4649b1){_0x25c25f&&!_0x450d3c[_0x1f5caf(0x106)](_0x25c25f)&&_0x583a19[_0x1f5caf(0x11d)](_0x25c25f);for(const {userId:_0x2bc6fb}of _0x51d80c)_0x450d3c[_0x1f5caf(0x106)](_0x2bc6fb)||_0x583a19[_0x1f5caf(0x11d)](_0x2bc6fb);}if(0x0===_0x583a19[_0x1f5caf(0x10b)])return;const _0x24e697=await _0x14e34d[_0x1f5caf(0x101)](_0x3f309c,Array[_0x1f5caf(0xfc)](_0x583a19));for(const _0x3f3c95 of _0x24e697)_0x450d3c[_0x1f5caf(0x106)](_0x3f3c95['id'])||_0x450d3c[_0x1f5caf(0x13e)](_0x3f3c95);}}export{s as CloudServicesCommentsAdapter};function _0x2aaa(){const _0x3032fd=['resolvedAt','138000UkzGge','size','permissions','remove','updateComment','mySessionId','catch','authorId','cloud-services-internal-error:\x20Not\x20connected.','commentThreadId','addComment','pluginName','getConnectedSessions','assign','code','resolve','cloudservicescommentsadapter-connect-already-connected','disconnect','commentThreadResolved','add','collaboration.channelId','attributes','message','425755WasRgE','setPermissions','commentId','getCommentThread','off','reconnect','424852OcINwF','reopenCommentThread','getCommentThreads','userId','commentThreadUpdated','deletedAt','plugins','commentThreadAdded','404','connect','delete','removeCommentThread','35076uIRjiL','CommentsRepository','init','set','668232ltVLoM','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','14DQRrYp','addCommentThread','createdAt','register','135390zqJrsQ','addUser','removeComment','destroy','_setUpService','startsWith','config','cloud-services-internal-error:\x20Request\x20timeout.','unregister','8FloufG','update','_connectService','context','adapter','resolvedBy','Permissions','commentAdded','get','cloudservicescommentsadapter-service-not-exist','commentUpdated','_terminateService','CommentsService','resolveCommentThread','requires','_fetchMissingUsersForThreads','sessionAdd:','keys','commentThreadReopened','isPremiumPlugin','updateCommentThread','reopen','commentRemoved','isOfficialPlugin','content','comments','_getService','listenTo','69831hwvUbY','from','60vdacfv','map','160BgsDrJ','getComment','getMany','commentThreadRemoved','addToReconnectionStack','_services','CloudServicesCommentsAdapter','getUser','cloudservicescommentsadapter-disconnect-not-exist','has'];_0x2aaa=function(){return _0x3032fd;};return _0x2aaa();}async function Z(_0x39e103){const _0x3e451d=_0x4224ad;if(_0x3e451d(0x12f)!==_0x39e103[_0x3e451d(0x118)])throw _0x39e103;}function tt(_0x1c3e28){const _0x2da6f3=_0x4224ad;if((_0x4cabb0=_0x1c3e28)[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0x138))||_0x4cabb0[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0x112))||_0x4cabb0[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0xdd)))return new Promise(()=>{});var _0x4cabb0;throw _0x1c3e28;}function et(_0x1c08a8){const _0xf422a9=_0x4224ad;return{'threadId':_0x1c08a8[_0xf422a9(0x113)],'commentId':_0x1c08a8[_0xf422a9(0x123)],'content':_0x1c08a8[_0xf422a9(0xf7)],'createdAt':_0x1c08a8[_0xf422a9(0x13b)],'authorId':_0x1c08a8[_0xf422a9(0x12a)],'attributes':_0x1c08a8[_0xf422a9(0x11f)]||{}};}
|
|
23
|
+
const _0x4e4e06=_0x2cb9;(function(_0x5b4897,_0x19b844){const _0x27ffca=_0x2cb9,_0x5464cf=_0x5b4897();while(!![]){try{const _0x519187=parseInt(_0x27ffca(0x1f5))/0x1*(parseInt(_0x27ffca(0x22c))/0x2)+-parseInt(_0x27ffca(0x251))/0x3+parseInt(_0x27ffca(0x222))/0x4+parseInt(_0x27ffca(0x213))/0x5*(-parseInt(_0x27ffca(0x20c))/0x6)+parseInt(_0x27ffca(0x24e))/0x7+parseInt(_0x27ffca(0x228))/0x8*(-parseInt(_0x27ffca(0x242))/0x9)+parseInt(_0x27ffca(0x237))/0xa*(parseInt(_0x27ffca(0x1fd))/0xb);if(_0x519187===_0x19b844)break;else _0x5464cf['push'](_0x5464cf['shift']());}catch(_0x5c39fc){_0x5464cf['push'](_0x5464cf['shift']());}}}(_0x2a92,0x729d7));import{Context as _0x193f49,ContextPlugin as _0x22d020}from'ckeditor5/src/core.js';function _0x2a92(){const _0x1f7485=['1444185QmDnFw','catch','init','authorId','addUser','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentId','isOfficialPlugin','sessionAdd:','config','cloud-services-internal-error:\x20Not\x20connected.','41PrNYIP','remove','connect','add','disconnect','startsWith','removeCommentThread','CommentsService','11hngsyV','updateComment','permissions','attributes','404','message','delete','_services','get','CommentsRepository','keys','has','commentAdded','getCommentThreads','listenTo','443346XKEjyv','resolveCommentThread','from','update','map','mySessionId','content','35lokddB','code','adapter','deletedAt','plugins','context','_getService','getMany','getComment','CloudServicesCommentsAdapter','setPermissions','getConnectedSessions','commentRemoved','_terminateService','cloudservicescommentsadapter-connect-already-connected','192420HmJfCv','collaboration.channelId','_fetchMissingUsersForThreads','pluginName','cloudservicescommentsadapter-disconnect-not-exist','removeComment','6519032BMIsjU','reconnect','assign','_setUpService','45622MghrdO','register','commentThreadUpdated','updateCommentThread','userId','commentThreadReopened','_connectService','cloudservicescommentsadapter-service-not-exist','resolvedBy','resolve','commentThreadAdded','12602280opdjeU','off','Permissions','commentThreadRemoved','createdAt','isPremiumPlugin','requires','destroy','resolvedAt','comments','cloud-services-internal-error:\x20Request\x20timeout.','9OHsbAL','size','reopen','addComment','commentUpdated','unregister','reopenCommentThread','set','commentThreadId','addCommentThread','commentThreadResolved','getCommentThread','275730NmTUug','getUser','addToReconnectionStack'];_0x2a92=function(){return _0x1f7485;};return _0x2a92();}import{CKEditorError as _0x2a1619}from'ckeditor5/src/utils.js';import{Users as _0x277b60}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5248bc,User as _0x3d5079}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x45ca48}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5f32cc}from'../realtimecollaborativeediting/sessions.js';function _0x2cb9(_0x3e9c82,_0x231fcb){const _0x2a924c=_0x2a92();return _0x2cb9=function(_0x2cb963,_0x2fe52a){_0x2cb963=_0x2cb963-0x1f0;let _0x444f4b=_0x2a924c[_0x2cb963];return _0x444f4b;},_0x2cb9(_0x3e9c82,_0x231fcb);}class s extends _0x22d020{static [_0x4e4e06(0x1fc)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5248bc)());[_0x4e4e06(0x204)];static get[_0x4e4e06(0x23d)](){const _0x34914b=_0x4e4e06;return[_0x45ca48,_0x34914b(0x206),_0x5f32cc,_0x277b60];}static get[_0x4e4e06(0x225)](){const _0x270877=_0x4e4e06;return _0x270877(0x21c);}static get[_0x4e4e06(0x1f1)](){return!0x0;}static get[_0x4e4e06(0x23c)](){return!0x0;}constructor(_0x4059c8){const _0x21de40=_0x4e4e06;super(_0x4059c8),this[_0x21de40(0x204)]=new Map();}async[_0x4e4e06(0x253)](){const _0x11c3c5=_0x4e4e06,_0x339b04=this[_0x11c3c5(0x218)],_0x38b8c2=_0x339b04[_0x11c3c5(0x217)][_0x11c3c5(0x205)](_0x11c3c5(0x206));if(_0x339b04[_0x11c3c5(0x217)][_0x11c3c5(0x205)](_0x45ca48)[_0x11c3c5(0x250)](this),_0x38b8c2[_0x11c3c5(0x215)]={'addCommentThread':async({channelId:_0x190039,threadId:_0x433daf,comments:_0x5ced54,resolvedAt:_0x55e59a,resolvedBy:_0x49cedd,context:_0x32d025,attributes:_0x3f89e4})=>{const _0x4b1d72=_0x11c3c5,_0x273dfa=await this[_0x4b1d72(0x219)](_0x190039)[_0x4b1d72(0x24b)]({'commentThreadId':_0x433daf,'comments':_0x5ced54[_0x4b1d72(0x210)](_0x245b26=>function(_0x3eba7c,_0x37ed75,_0xdf5a35){const _0x15193e=_0x4b1d72;return{'commentThreadId':_0xdf5a35,'commentId':_0x3eba7c[_0x15193e(0x1f0)],'userId':_0x3eba7c[_0x15193e(0x254)],'content':_0x3eba7c[_0x15193e(0x212)],'documentId':_0x37ed75,'createdAt':_0x3eba7c[_0x15193e(0x23b)],'attributes':_0x3eba7c[_0x15193e(0x200)]||{}};}(_0x245b26,_0x190039,_0x433daf)),'resolvedAt':_0x55e59a,'resolvedBy':_0x49cedd,'context':_0x32d025,'attributes':_0x3f89e4})[_0x4b1d72(0x252)](tt);return{'threadId':_0x273dfa[_0x4b1d72(0x24a)],'comments':_0x273dfa[_0x4b1d72(0x240)]};},'getCommentThread':async({channelId:_0x56deb8,threadId:_0x5aeeaa})=>{const _0x5590c7=_0x11c3c5,_0x5fe159=await this[_0x5590c7(0x219)](_0x56deb8)[_0x5590c7(0x24d)](_0x5aeeaa)[_0x5590c7(0x252)](tt);return _0x5fe159[_0x5590c7(0x216)]?null:(await this[_0x5590c7(0x224)]([_0x5fe159]),{'threadId':_0x5fe159[_0x5590c7(0x24a)],'comments':_0x5fe159[_0x5590c7(0x240)][_0x5590c7(0x210)](et),'context':_0x5fe159[_0x5590c7(0x218)],'resolvedAt':_0x5fe159[_0x5590c7(0x23f)],'resolvedBy':_0x5fe159[_0x5590c7(0x234)],'attributes':_0x5fe159[_0x5590c7(0x200)]||{}});},'updateCommentThread':async({channelId:_0x2e2551,threadId:_0x6bea68,context:_0x208c44,unlinkedAt:_0x2f0519,attributes:_0x2637c5})=>this[_0x11c3c5(0x219)](_0x2e2551)[_0x11c3c5(0x22f)]({'commentThreadId':_0x6bea68,'context':_0x208c44,'attributes':_0x2637c5,'unlinkedAt':_0x2f0519})[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt),'resolveCommentThread':async({channelId:_0x835f0f,threadId:_0x35d271})=>{const _0x1b5b8a=_0x11c3c5,_0x415d6b=await this[_0x1b5b8a(0x219)](_0x835f0f)[_0x1b5b8a(0x20d)](_0x35d271)[_0x1b5b8a(0x252)](Z)[_0x1b5b8a(0x252)](tt);return{'threadId':_0x415d6b[_0x1b5b8a(0x24a)],'resolvedAt':_0x415d6b[_0x1b5b8a(0x23f)],'resolvedBy':_0x415d6b[_0x1b5b8a(0x234)]};},'reopenCommentThread':async({channelId:_0x36b8bf,threadId:_0xffa3c5})=>this[_0x11c3c5(0x219)](_0x36b8bf)[_0x11c3c5(0x248)](_0xffa3c5)[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt),'removeCommentThread':({channelId:_0xcb7461,threadId:_0x51dc89})=>this[_0x11c3c5(0x219)](_0xcb7461)[_0x11c3c5(0x1fb)](_0x51dc89)[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt),'addComment':({channelId:_0x5ef05b,threadId:_0x1cfab0,commentId:_0x102db4,content:_0x1bccfd,attributes:_0x1f3f99})=>this[_0x11c3c5(0x219)](_0x5ef05b)[_0x11c3c5(0x245)](_0x1cfab0,_0x102db4,_0x1bccfd,_0x1f3f99)[_0x11c3c5(0x252)](tt),'updateComment':({channelId:_0xe1c397,threadId:_0x15c9bf,commentId:_0x106de1,content:_0x10d884,attributes:_0x440923})=>this[_0x11c3c5(0x219)](_0xe1c397)[_0x11c3c5(0x1fe)](_0x15c9bf,_0x106de1,_0x10d884,_0x440923)[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt),'removeComment':({channelId:_0x4b09db,threadId:_0x11cba1,commentId:_0x2fe0cd})=>this[_0x11c3c5(0x219)](_0x4b09db)[_0x11c3c5(0x227)](_0x11cba1,_0x2fe0cd)[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt)},_0x339b04 instanceof _0x193f49){const _0x3e62f4=_0x339b04[_0x11c3c5(0x1f3)][_0x11c3c5(0x205)](_0x11c3c5(0x223)),_0xb282cd=_0x339b04[_0x11c3c5(0x217)][_0x11c3c5(0x205)](_0x5f32cc);await this[_0x11c3c5(0x22b)](_0x3e62f4);const _0x4ffb51=await this[_0x11c3c5(0x204)][_0x11c3c5(0x205)](_0x3e62f4)[_0x11c3c5(0x21e)]();this[_0x11c3c5(0x20b)](_0xb282cd,_0x11c3c5(0x1f2)+_0x3e62f4,(_0x525591,{session:_0x57fcfa})=>{const _0xe8131d=_0x11c3c5;_0x57fcfa['id']===_0xb282cd[_0xe8131d(0x211)]&&(_0x525591[_0xe8131d(0x238)](),this[_0xe8131d(0x218)][_0xe8131d(0x217)][_0xe8131d(0x205)](_0xe8131d(0x239))[_0xe8131d(0x21d)](_0x57fcfa[_0xe8131d(0x1ff)],_0x3e62f4));}),_0xb282cd[_0x11c3c5(0x22d)](_0x3e62f4,_0x4ffb51);}}async[_0x4e4e06(0x22b)](_0x5d86ae){const _0x2270ba=_0x4e4e06;if(this[_0x2270ba(0x204)][_0x2270ba(0x208)](_0x5d86ae))throw new _0x2a1619(_0x2270ba(0x221),null,{'channelId':_0x5d86ae});const _0x49702e=this[_0x2270ba(0x218)][_0x2270ba(0x217)][_0x2270ba(0x205)](_0x2270ba(0x206)),_0xca53cc=new s[(_0x2270ba(0x1fc))](_0x5d86ae);this[_0x2270ba(0x204)][_0x2270ba(0x249)](_0x5d86ae,_0xca53cc),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x236),(_0x160733,_0x250f27)=>{const _0x2d283c=_0x2270ba,{commentThreadId:_0x3c2f9d,documentId:_0x5b2ab4,context:_0xe7d42d,attributes:_0x1d823f,resolvedAt:_0x5a8a97,resolvedBy:_0x1b3208,comments:_0x644794}=_0x250f27;_0x49702e[_0x2d283c(0x24d)](_0x3c2f9d)||_0x49702e[_0x2d283c(0x24b)]({'threadId':_0x3c2f9d,'channelId':_0x5b2ab4,'comments':_0x644794?_0x644794[_0x2d283c(0x210)](et):[],'context':_0xe7d42d,'attributes':_0x1d823f,'resolvedAt':_0x5a8a97,'resolvedBy':_0x1b3208,'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x22e),(_0x370348,{commentThreadId:_0x11cd01,documentId:_0x1b06ae,context:_0x124ee8,unlinkedAt:_0xede50e,attributes:_0x1387cb})=>{const _0x389dd6=_0x2270ba;_0x49702e[_0x389dd6(0x24d)](_0x11cd01)&&_0x49702e[_0x389dd6(0x22f)]({'threadId':_0x11cd01,'channelId':_0x1b06ae,'context':_0x124ee8,'unlinkedAt':_0xede50e,'attributes':_0x1387cb,'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x24c),(_0x387c32,{commentThreadId:_0x2834dc,resolvedBy:_0xf861af,resolvedAt:_0xc42909})=>{const _0x1550a3=_0x2270ba,_0x2fce48=_0x49702e[_0x1550a3(0x24d)](_0x2834dc);_0x2fce48&&_0x2fce48[_0x1550a3(0x235)]({'resolvedBy':_0xf861af,'resolvedAt':_0xc42909,'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x231),(_0xad6a10,{commentThreadId:_0x44eca7})=>{const _0x36f721=_0x2270ba,_0x228498=_0x49702e[_0x36f721(0x24d)](_0x44eca7);_0x228498&&_0x228498[_0x36f721(0x244)]({'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x23a),(_0x23f98b,{commentThreadId:_0x1d0cb6})=>{const _0x28a03c=_0x2270ba,_0x404dab=_0x49702e[_0x28a03c(0x24d)](_0x1d0cb6);_0x404dab&&_0x404dab[_0x28a03c(0x1f6)]({'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x209),(_0x3afb8f,_0x45c3dd)=>{const _0x2ec46a=_0x2270ba,_0x2729b8=_0x45c3dd[_0x2ec46a(0x24a)],_0x2c4abd=_0x49702e[_0x2ec46a(0x24d)](_0x2729b8);_0x2c4abd&&_0x2c4abd[_0x2ec46a(0x245)]({...et(_0x45c3dd),'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x246),(_0x28d62a,{commentThreadId:_0x51bd35,commentId:_0x3df994,content:_0x527972,attributes:_0x21383c})=>{const _0x1658e2=_0x2270ba,_0x8e9b84=_0x49702e[_0x1658e2(0x24d)](_0x51bd35);if(_0x8e9b84){const _0x30dee3=_0x8e9b84[_0x1658e2(0x21b)](_0x3df994);_0x30dee3&&_0x30dee3[_0x1658e2(0x20f)]({'content':_0x527972,'attributes':_0x21383c,'isFromAdapter':!0x0});}}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x21f),(_0x10c252,{commentThreadId:_0x6235d1,commentId:_0x4e94e4})=>{const _0x336cda=_0x2270ba,_0x40cd6a=_0x49702e[_0x336cda(0x24d)](_0x6235d1);if(_0x40cd6a){const _0x2baed6=_0x40cd6a[_0x336cda(0x21b)](_0x4e94e4);_0x2baed6&&_0x2baed6[_0x336cda(0x1f6)]({'isFromAdapter':!0x0});}}),await this[_0x2270ba(0x232)](_0x5d86ae);}[_0x4e4e06(0x23e)](){const _0x319e6b=_0x4e4e06;if(this[_0x319e6b(0x218)]instanceof _0x193f49){const _0x7be315=this[_0x319e6b(0x218)][_0x319e6b(0x1f3)][_0x319e6b(0x205)](_0x319e6b(0x223));this[_0x319e6b(0x220)](_0x7be315);}}[_0x4e4e06(0x220)](_0x21896c){const _0x52abe4=_0x4e4e06;if(!this[_0x52abe4(0x204)][_0x52abe4(0x208)](_0x21896c))throw new _0x2a1619(_0x52abe4(0x226),null,{'channelId':_0x21896c});this[_0x52abe4(0x219)](_0x21896c)[_0x52abe4(0x1f9)](),this[_0x52abe4(0x204)][_0x52abe4(0x203)](_0x21896c);}async[_0x4e4e06(0x229)](){const _0x31263e=_0x4e4e06;for(const _0x53a25b of this[_0x31263e(0x204)][_0x31263e(0x207)]())await this[_0x31263e(0x232)](_0x53a25b);if(this[_0x31263e(0x218)]instanceof _0x193f49){const _0x9bc16e=this[_0x31263e(0x218)][_0x31263e(0x1f3)][_0x31263e(0x205)](_0x31263e(0x223)),_0x21918c=this[_0x31263e(0x218)][_0x31263e(0x217)][_0x31263e(0x205)](_0x5f32cc);_0x21918c[_0x31263e(0x247)](_0x9bc16e);const _0x334f75=await this[_0x31263e(0x204)][_0x31263e(0x205)](_0x9bc16e)[_0x31263e(0x21e)]();_0x21918c[_0x31263e(0x22d)](_0x9bc16e,_0x334f75);}}async[_0x4e4e06(0x232)](_0xf66240){const _0x400b76=_0x4e4e06,{connection:_0x5bc9d9}=this[_0x400b76(0x218)][_0x400b76(0x217)][_0x400b76(0x205)](_0x45ca48),_0x239ed9=this[_0x400b76(0x218)][_0x400b76(0x217)][_0x400b76(0x205)](_0x400b76(0x206)),_0x1d3ada=this[_0x400b76(0x204)][_0x400b76(0x205)](_0xf66240),_0x51b2ae=await _0x1d3ada[_0x400b76(0x1f7)](_0x5bc9d9);await this[_0x400b76(0x224)](_0x51b2ae);const _0x3df027=new Set(Array[_0x400b76(0x20e)](_0x239ed9[_0x400b76(0x20a)]({'channelId':_0xf66240}),_0xcc022d=>_0xcc022d['id']));for(const _0x51b02e of _0x51b2ae)_0x51b02e[_0x400b76(0x216)]||_0x3df027[_0x400b76(0x203)](_0x51b02e[_0x400b76(0x24a)]);for(const _0xe34603 of _0x3df027)_0x239ed9[_0x400b76(0x24d)](_0xe34603)[_0x400b76(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4e27c9 of _0x51b2ae){let _0x5464f=_0x239ed9[_0x400b76(0x24d)](_0x4e27c9[_0x400b76(0x24a)]);const {commentThreadId:_0x5d849d,context:_0xef826c,attributes:_0x3a931f,resolvedBy:_0x1b3a4a,resolvedAt:_0x56985f,unlinkedAt:_0x4e0e55,deletedAt:_0x76e0d8}=_0x4e27c9;if(_0x76e0d8)continue;_0x5464f||(_0x5464f=_0x239ed9[_0x400b76(0x24b)]({'channelId':_0xf66240,'threadId':_0x5d849d,'context':_0xef826c,'attributes':_0x3a931f||{},'resolvedBy':_0x1b3a4a,'resolvedAt':_0x56985f,'unlinkedAt':_0x4e0e55,'isFromAdapter':!0x0}));const _0x3331b6=new Set(Array[_0x400b76(0x20e)](_0x5464f[_0x400b76(0x240)],_0x409e42=>_0x409e42['id']));for(const _0x19d08 of _0x4e27c9[_0x400b76(0x240)])_0x3331b6[_0x400b76(0x203)](_0x19d08[_0x400b76(0x1f0)]);for(const _0x363d97 of _0x3331b6)_0x5464f[_0x400b76(0x21b)](_0x363d97)[_0x400b76(0x1f6)]({'isFromAdapter':!0x0});for(const _0x3e9aee of _0x4e27c9[_0x400b76(0x240)]){const _0xde9063=_0x5464f[_0x400b76(0x21b)](_0x3e9aee[_0x400b76(0x1f0)]);_0xde9063?_0xde9063[_0x400b76(0x212)]!==_0x3e9aee[_0x400b76(0x212)]&&_0xde9063[_0x400b76(0x20f)]({'content':_0x3e9aee[_0x400b76(0x212)],'isFromAdapter':!0x0}):_0x5464f[_0x400b76(0x245)](Object[_0x400b76(0x22a)](et(_0x3e9aee),{'isFromAdapter':!0x0}));}}}[_0x4e4e06(0x219)](_0x7c8b8c){const _0x5befaa=_0x4e4e06;if(!this[_0x5befaa(0x204)][_0x5befaa(0x208)](_0x7c8b8c))throw new _0x2a1619(_0x5befaa(0x233),null,{'channelId':_0x7c8b8c});return this[_0x5befaa(0x204)][_0x5befaa(0x205)](_0x7c8b8c);}async[_0x4e4e06(0x224)](_0x3f9245){const _0x1f78fc=_0x4e4e06,_0x4f9257=this[_0x1f78fc(0x218)][_0x1f78fc(0x217)][_0x1f78fc(0x205)](_0x277b60),{connection:_0x46ad3b}=this[_0x1f78fc(0x218)][_0x1f78fc(0x217)][_0x1f78fc(0x205)](_0x45ca48),_0x225b4c=new Set();for(const {resolvedBy:_0x5c4301,comments:_0x1958e6}of _0x3f9245){_0x5c4301&&!_0x4f9257[_0x1f78fc(0x24f)](_0x5c4301)&&_0x225b4c[_0x1f78fc(0x1f8)](_0x5c4301);for(const {userId:_0x74d2c4}of _0x1958e6)_0x4f9257[_0x1f78fc(0x24f)](_0x74d2c4)||_0x225b4c[_0x1f78fc(0x1f8)](_0x74d2c4);}if(0x0===_0x225b4c[_0x1f78fc(0x243)])return;const _0x19729b=await _0x3d5079[_0x1f78fc(0x21a)](_0x46ad3b,Array[_0x1f78fc(0x20e)](_0x225b4c));for(const _0x525b1c of _0x19729b)_0x4f9257[_0x1f78fc(0x24f)](_0x525b1c['id'])||_0x4f9257[_0x1f78fc(0x255)](_0x525b1c);}}export{s as CloudServicesCommentsAdapter};async function Z(_0x3b078a){const _0x5a40a6=_0x4e4e06;if(_0x5a40a6(0x201)!==_0x3b078a[_0x5a40a6(0x214)])throw _0x3b078a;}function tt(_0xb1d841){const _0x10bc72=_0x4e4e06;if((_0x250039=_0xb1d841)[_0x10bc72(0x202)][_0x10bc72(0x1fa)](_0x10bc72(0x256))||_0x250039[_0x10bc72(0x202)][_0x10bc72(0x1fa)](_0x10bc72(0x1f4))||_0x250039[_0x10bc72(0x202)][_0x10bc72(0x1fa)](_0x10bc72(0x241)))return new Promise(()=>{});var _0x250039;throw _0xb1d841;}function et(_0x1bdf68){const _0x17b1c9=_0x4e4e06;return{'threadId':_0x1bdf68[_0x17b1c9(0x24a)],'commentId':_0x1bdf68[_0x17b1c9(0x1f0)],'content':_0x1bdf68[_0x17b1c9(0x212)],'createdAt':_0x1bdf68[_0x17b1c9(0x23b)],'authorId':_0x1bdf68[_0x17b1c9(0x230)],'attributes':_0x1bdf68[_0x17b1c9(0x200)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3cc5(_0x3ae555,_0x593b7d){const _0x886205=_0x8862();return _0x3cc5=function(_0x3cc5c5,_0x289a45){_0x3cc5c5=_0x3cc5c5-0x1e4;let _0x4435d3=_0x886205[_0x3cc5c5];return _0x4435d3;},_0x3cc5(_0x3ae555,_0x593b7d);}const _0x1f96c0=_0x3cc5;(function(_0xc0c5b3,_0x3e0210){const _0x3f5fce=_0x3cc5,_0x5a6190=_0xc0c5b3();while(!![]){try{const _0x18c67d=-parseInt(_0x3f5fce(0x1e5))/0x1*(parseInt(_0x3f5fce(0x206))/0x2)+parseInt(_0x3f5fce(0x203))/0x3*(-parseInt(_0x3f5fce(0x1eb))/0x4)+-parseInt(_0x3f5fce(0x1fe))/0x5+parseInt(_0x3f5fce(0x1fb))/0x6*(-parseInt(_0x3f5fce(0x200))/0x7)+parseInt(_0x3f5fce(0x1e6))/0x8*(parseInt(_0x3f5fce(0x1f3))/0x9)+parseInt(_0x3f5fce(0x1e9))/0xa+parseInt(_0x3f5fce(0x1ef))/0xb;if(_0x18c67d===_0x3e0210)break;else _0x5a6190['push'](_0x5a6190['shift']());}catch(_0x597251){_0x5a6190['push'](_0x5a6190['shift']());}}}(_0x8862,0xa481f));import{Plugin as _0x35c538}from'ckeditor5/src/core.js';function _0x8862(){const _0x38a191=['listenTo','_terminateService','ready','once','1543722cOZWYT','plugins','_setUpService','3197230vejYDS','Comments','7wFvXHu','pluginName','editor','2411202tgKYdf','data','isPremiumPlugin','209194IeUsJI','CommentsEditing','init','1sUcPqp','8PLlLhw','requires','RealTimeCollaborativeComments','10062900cKGQcy','get','4BpgvXC','isOfficialPlugin','CommentsRepository','isThreadsLoadingPaused','11623337oOjPOP','change:state','collaboration.channelId','destroy','3743370tTGKTU','connected','config','switchReadOnly'];_0x8862=function(){return _0x38a191;};return _0x8862();}import{CloudServicesCommentsAdapter as _0x15366d}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x1f9e8b}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x493c24}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x35c538{static get[_0x1f96c0(0x1e7)](){const _0x331c35=_0x1f96c0;return[_0x331c35(0x1ff),_0x15366d,_0x1f9e8b,_0x493c24];}static get[_0x1f96c0(0x201)](){const _0x1d9e06=_0x1f96c0;return _0x1d9e06(0x1e8);}static get[_0x1f96c0(0x1ec)](){return!0x0;}static get[_0x1f96c0(0x205)](){return!0x0;}[_0x1f96c0(0x1e4)](){const _0x14c273=_0x1f96c0,_0x38286a=this[_0x14c273(0x202)][_0x14c273(0x1fc)][_0x14c273(0x1ea)](_0x493c24),_0x1aa804=this[_0x14c273(0x202)][_0x14c273(0x1fc)][_0x14c273(0x1ea)](_0x14c273(0x207)),_0x283016=this[_0x14c273(0x202)][_0x14c273(0x1fc)][_0x14c273(0x1ea)](_0x15366d);return this[_0x14c273(0x202)][_0x14c273(0x204)][_0x14c273(0x1fa)](_0x14c273(0x1f9),()=>{const _0x10263c=_0x14c273;this[_0x10263c(0x1f7)](_0x38286a,_0x10263c(0x1f0),(_0x4eb8e6,_0x4cc8a9,_0x381f67)=>{const _0x3fdd95=_0x10263c;_0x1aa804[_0x3fdd95(0x1ee)]=_0x3fdd95(0x1f4)!==_0x381f67;});}),this[_0x14c273(0x1f7)](_0x38286a,_0x14c273(0x1f0),(_0x58a158,_0x2b123e,_0x393a8b)=>{const _0x474970=_0x14c273;this[_0x474970(0x202)][_0x474970(0x1fc)][_0x474970(0x1ea)](_0x474970(0x1ed))[_0x474970(0x1f6)](_0x474970(0x1f4)!==_0x393a8b);}),_0x283016[_0x14c273(0x1fd)](this[_0x14c273(0x202)][_0x14c273(0x1f5)][_0x14c273(0x1ea)](_0x14c273(0x1f1)));}[_0x1f96c0(0x1f2)](){const _0x1ae3f6=_0x1f96c0;this[_0x1ae3f6(0x202)][_0x1ae3f6(0x1fc)][_0x1ae3f6(0x1ea)](_0x15366d)[_0x1ae3f6(0x1f8)](this[_0x1ae3f6(0x202)][_0x1ae3f6(0x1f5)][_0x1ae3f6(0x1ea)](_0x1ae3f6(0x1f1))),super[_0x1ae3f6(0x1f2)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x358367)());[_0x159529(0x15d)];[_0x159529(0xf7)];[_0x159529(0x12b)];[_0x159529(0x100)];[_0x159529(0x125)];[_0x159529(0xcf)];[_0x159529(0x19e)];[_0x159529(0x154)];[_0x159529(0xc7)];[_0x159529(0x186)];[_0x159529(0xc4)];[_0x159529(0x15b)];[_0x159529(0x1a0)];[_0x159529(0xe0)];[_0x159529(0xae)];[_0x159529(0x161)];[_0x159529(0x187)];[_0x159529(0xcd)];static get[_0x159529(0xa5)](){return[_0x272763,_0x43facc,_0x1284d0,_0x1e5774,_0xba7229,_0x2b1f9f];}static get[_0x159529(0xee)](){const _0x457683=_0x159529;return _0x457683(0x111);}static get[_0x159529(0x129)](){return!0x0;}static get[_0x159529(0x196)](){return!0x0;}get[_0x159529(0x148)](){const _0x1cf239=_0x159529;return this[_0x1cf239(0x171)]+this[_0x1cf239(0x15d)];}get[_0x159529(0x171)](){const _0x17044c=_0x159529;return this[_0x17044c(0x12b)][_0x17044c(0x152)]-this[_0x17044c(0x15d)];}get[_0x159529(0x1a1)](){const _0x30bfef=_0x159529,_0xd74f7f=this[_0x30bfef(0x12b)][_0x30bfef(0x188)]();for(let _0x523592=_0xd74f7f[_0x30bfef(0x10e)]-0x1;_0x523592>=0x0;_0x523592--){const _0x176c3f=_0xd74f7f[_0x523592];if(!this[_0x30bfef(0x187)][_0x30bfef(0xb9)](_0x176c3f))return _0x176c3f[_0x30bfef(0xab)]+0x1-this[_0x30bfef(0x15d)];}return 0x0;}constructor(_0x144d82){const _0x3a5914=_0x159529;if(super(_0x144d82),this[_0x3a5914(0x15d)]=0x0,this[_0x3a5914(0xf7)]=null,this[_0x3a5914(0x12b)]=new _0x20c63f(),this[_0x3a5914(0x1a5)][_0x3a5914(0x1a2)][_0x3a5914(0xa8)](_0x3a5914(0x141),{}),this[_0x3a5914(0x100)]=this[_0x3a5914(0x1a5)][_0x3a5914(0x1a2)][_0x3a5914(0x109)](_0x3a5914(0x14a)),!this[_0x3a5914(0x100)])throw new _0x375b1(_0x3a5914(0x146),this);const _0x2802a8=_0x144d82[_0x3a5914(0x1a2)][_0x3a5914(0x109)](_0x3a5914(0xb2))||_0x6e04ea;this[_0x3a5914(0x125)]=new l[(_0x3a5914(0xdb))](_0x2802a8,this[_0x3a5914(0x100)]),this[_0x3a5914(0xcf)]=this[_0x3a5914(0x1a5)][_0x3a5914(0xdf)][_0x3a5914(0xc2)],this[_0x3a5914(0x19e)]=new _0x50ab3f(),this[_0x3a5914(0x154)]=[],this[_0x3a5914(0xc7)]=new WeakSet(),this[_0x3a5914(0x186)]=new Set(),this[_0x3a5914(0x14d)](_0x3a5914(0x137),!0x1),this[_0x3a5914(0x14d)](_0x3a5914(0xa1),!0x1),this[_0x3a5914(0xc4)]=null,this[_0x3a5914(0x15b)]=!0x1,this[_0x3a5914(0x1a0)]=null,this[_0x3a5914(0xe0)]=0x12c,this[_0x3a5914(0xae)]=this[_0x3a5914(0xe0)],this[_0x3a5914(0x161)]=null,this[_0x3a5914(0x187)]=new WeakSet(),this[_0x3a5914(0xcd)]=new F(this[_0x3a5914(0x187)]);}[_0x159529(0x16e)](){const _0x20f7b9=_0x159529,_0x5e3b97=this[_0x20f7b9(0x1a5)],_0x488d5a=_0x5e3b97[_0x20f7b9(0xd4)][_0x20f7b9(0x109)](_0xba7229),_0x59b95b=_0x5e3b97[_0x20f7b9(0xd4)][_0x20f7b9(0x109)](_0x272763);this[_0x20f7b9(0xc8)](_0x488d5a,_0x20f7b9(0x170),(_0x599a08,_0x2bef35)=>{const _0x10e98c=_0x20f7b9,_0x3cac98=_0x2bef35[0x0];_0x3cac98[_0x10e98c(0x120)]&&(_0x599a08[_0x10e98c(0x17e)]=_0x488d5a[_0x10e98c(0x13a)](_0x3cac98[_0x10e98c(0x120)]),_0x599a08[_0x10e98c(0x12a)]()),null===_0x3cac98[_0x10e98c(0x120)]&&(_0x599a08[_0x10e98c(0x17e)]=null,_0x599a08[_0x10e98c(0x12a)]());},{'priority':_0x20f7b9(0x19d)}),this[_0x20f7b9(0xc8)](_0x5e3b97[_0x20f7b9(0xdf)][_0x20f7b9(0xc2)][_0x20f7b9(0x182)],_0x20f7b9(0xc9),(_0x594f8e,_0x5659cd)=>{const _0x2bc194=_0x20f7b9;_0x5659cd[_0x2bc194(0x123)]&&this[_0x2bc194(0x18b)]();}),this[_0x20f7b9(0xc8)](_0x5e3b97[_0x20f7b9(0x17d)][_0x20f7b9(0x127)],_0x20f7b9(0x119),()=>{const _0x11d34d=_0x20f7b9;this[_0x11d34d(0x18b)]();}),this[_0x20f7b9(0x10a)](),_0x5e3b97[_0x20f7b9(0xdf)]['on'](_0x20f7b9(0x193),(_0x1894a7,_0xf9d36b)=>{const _0x547570=_0x20f7b9,_0x11cc22=_0xf9d36b[0x0];_0x11cc22[_0x547570(0xe3)]&&(this[_0x547570(0x11e)](_0x11cc22),this[_0x547570(0xef)]()&&this[_0x547570(0xad)]());}),this[_0x20f7b9(0xca)](),this[_0x20f7b9(0x118)](_0x20f7b9(0x112))['to'](_0x59b95b,_0x20f7b9(0x172),this,_0x20f7b9(0xa1),(_0x4b6841,_0xf49784)=>_0x20f7b9(0xd9)===_0x4b6841&&!_0xf49784),this['on'](_0x20f7b9(0xda),()=>{const _0x5ba721=_0x20f7b9;this[_0x5ba721(0x112)]?_0x5e3b97[_0x5ba721(0xe5)](_0x5ba721(0x189)):_0x5e3b97[_0x5ba721(0xf4)](_0x5ba721(0x189));}),this[_0x20f7b9(0x112)]?_0x5e3b97[_0x20f7b9(0xe5)](_0x20f7b9(0x189)):_0x5e3b97[_0x20f7b9(0xf4)](_0x20f7b9(0x189)),this[_0x20f7b9(0x14d)](_0x20f7b9(0x140),!0x1);}async[_0x159529(0x11b)](){const _0x150090=_0x159529,_0x472f23=this[_0x150090(0x1a5)][_0x150090(0xd4)][_0x150090(0x109)](_0x43facc),_0x2f335b=this[_0x150090(0x1a5)][_0x150090(0xd4)][_0x150090(0x109)](_0x272763);try{this[_0x150090(0x137)]=!0x0,_0x472f23[_0x150090(0xac)](this[_0x150090(0x100)]);const _0x2babd2=await this[_0x150090(0x125)][_0x150090(0x11b)](_0x2f335b[_0x150090(0xea)],this[_0x150090(0x1a1)]);await this[_0x150090(0x19c)](_0x2babd2)&&(this[_0x150090(0x137)]=!0x1,this[_0x150090(0xe6)]());const _0x20528d=await this[_0x150090(0x125)][_0x150090(0x19f)]();_0x472f23[_0x150090(0x19b)](this[_0x150090(0x100)],_0x20528d),this[_0x150090(0x197)](),this[_0x150090(0x140)]=!0x0;}catch(_0x19635f){if(function(_0x44ae12){const _0x343533=_0x150090;return _0x343533(0x116)===_0x44ae12[_0x343533(0x13f)];}(_0x19635f)&&this[_0x150090(0xf7)])await this[_0x150090(0xfc)]();else{if(function(_0x535392){const _0x20a363=_0x150090;return _0x20a363(0xfe)===_0x535392[_0x20a363(0x13f)];}(_0x19635f)){const _0x417237=_0x36eb0e(this[_0x150090(0x1a5)][_0x150090(0x19a)],_0x150090(0x155));this[_0x150090(0xff)](_0x417237);}else{if(!(_0x19635f instanceof V))throw _0x19635f;this[_0x150090(0xff)]();}}}}[_0x159529(0x139)](){const _0x56d31c=_0x159529,_0x4e65a8=this[_0x56d31c(0x1a5)][_0x56d31c(0xd4)][_0x56d31c(0x109)](_0x272763),_0x524277=this[_0x56d31c(0x1a5)][_0x56d31c(0xd4)][_0x56d31c(0x109)](_0x43facc);this[_0x56d31c(0x1a5)][_0x56d31c(0xf4)](_0x56d31c(0x184)),_0x524277[_0x56d31c(0x157)][_0x56d31c(0xb9)](this[_0x56d31c(0x100)])&&_0x524277[_0x56d31c(0xac)](this[_0x56d31c(0x100)]),_0x4e65a8[_0x56d31c(0xd7)](this),this[_0x56d31c(0x132)](),super[_0x56d31c(0x139)]();}async[_0x159529(0x19c)](_0x5b4ca1){const _0x246934=_0x159529;if(this[_0x246934(0xf7)]!==_0x5b4ca1[_0x246934(0xf7)]&&this[_0x246934(0x161)]!==_0x5b4ca1[_0x246934(0xc6)])throw new V();return this[_0x246934(0xf7)]=_0x5b4ca1[_0x246934(0xf7)],this[_0x246934(0x12f)]([],{..._0x5b4ca1,'wereChangesApplied':!0x1,'data':_0x5b4ca1[_0x246934(0x16a)]},_0x246934(0x11b));}async[_0x159529(0xb5)](_0x134d4d,_0x4e9802=!0x1){const _0x2833a3=_0x159529,{connection:_0x12ca58}=this[_0x2833a3(0x1a5)][_0x2833a3(0xd4)][_0x2833a3(0x109)](_0x272763);l[_0x2833a3(0xdb)][_0x2833a3(0x19f)](_0x12ca58,this[_0x2833a3(0x100)])[_0x2833a3(0x121)](_0x42e9b7=>this[_0x2833a3(0x138)](_0x42e9b7))[_0x2833a3(0x14f)](_0x51d01b=>{const _0x584e3e=_0x2833a3;this[_0x584e3e(0xf1)](_0x584e3e(0x17b),_0x51d01b);}),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0x181),this[_0x2833a3(0x130)][_0x2833a3(0x118)](this)),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0x113),(_0x489f09,_0x2846e2)=>{const _0x50c0cf=_0x2833a3;this[_0x50c0cf(0xf1)](_0x50c0cf(0xce),_0x2846e2);}),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0xa3),()=>{const _0x553dd8=_0x2833a3;this[_0x553dd8(0x140)]=!0x1;});const _0xaf0b2e=this[_0x2833a3(0xcd)][_0x2833a3(0xa6)](_0x134d4d);this[_0x2833a3(0x137)]=!0x0;const _0x2738a5=await this[_0x2833a3(0x125)][_0x2833a3(0x1a4)](_0x12ca58,this[_0x2833a3(0xdd)](_0x134d4d),_0xaf0b2e);if(this[_0x2833a3(0xf7)]=_0x2738a5[_0x2833a3(0xf7)],_0x4e9802){if(!_0x2738a5[_0x2833a3(0x15c)])return void this[_0x2833a3(0xff)]();this[_0x2833a3(0x137)]=!0x1,this[_0x2833a3(0xe6)](),this[_0x2833a3(0x12b)][_0x2833a3(0x136)](),this[_0x2833a3(0x15d)]=_0x2738a5[_0x2833a3(0x1a3)],this[_0x2833a3(0x12b)][_0x2833a3(0x152)]=this[_0x2833a3(0x15d)],await this[_0x2833a3(0x12f)](_0x134d4d,_0x2738a5,_0x2833a3(0x110));}else await this[_0x2833a3(0x159)](_0x2738a5,_0x134d4d);this[_0x2833a3(0x197)](),this[_0x2833a3(0x140)]=!0x0;}[_0x159529(0x197)](){const _0x4eaa66=_0x159529,_0x3a86d7=this[_0x4eaa66(0x1a5)][_0x4eaa66(0xd4)][_0x4eaa66(0x109)](_0x43facc),_0xeddeb=this[_0x4eaa66(0x1a5)][_0x4eaa66(0xd4)][_0x4eaa66(0x109)](_0x1284d0),_0x1eb83c=_0x3a86d7[_0x4eaa66(0x157)][_0x4eaa66(0x109)](this[_0x4eaa66(0x100)]);_0x1eb83c&&_0x1eb83c[_0x4eaa66(0x10e)]>0x1?_0xeddeb[_0x4eaa66(0xe8)]():this[_0x4eaa66(0xc8)](_0x3a86d7,_0x4eaa66(0x126)+this[_0x4eaa66(0x100)],()=>{const _0x11b804=_0x4eaa66;0x2===_0x3a86d7[_0x11b804(0x157)][_0x11b804(0x109)](this[_0x11b804(0x100)])[_0x11b804(0x10e)]&&_0xeddeb[_0x11b804(0xe8)]();});}async[_0x159529(0x130)](_0x45d018,_0x1cd0e3,_0x1d9b78,_0x3eb5c7){const _0x1576a0=_0x159529;if(!this[_0x1576a0(0x137)]&&this[_0x1576a0(0xcf)][_0x1576a0(0x152)]==_0x1cd0e3){const _0x191f4d=this[_0x1576a0(0xd6)](_0x1d9b78,_0x3eb5c7);await this[_0x1576a0(0xa9)](_0x191f4d),this[_0x1576a0(0xbe)](_0x191f4d,_0x1cd0e3,_0x1d9b78[_0x1576a0(0xc6)])||this[_0x1576a0(0xf1)](_0x1576a0(0xd3));}}async[_0x159529(0xfc)](){const _0x23ac79=_0x159529;this[_0x23ac79(0x132)]();const {locale:_0x6342d8}=this[_0x23ac79(0x1a5)];let _0x7b6a93;try{_0x7b6a93=await this[_0x23ac79(0x125)][_0x23ac79(0xbd)]();}catch{const _0x47f124=_0x36eb0e(_0x6342d8,_0x23ac79(0x199));return void this[_0x23ac79(0xff)](_0x47f124);}const _0x172785=_0x7b6a93[_0x23ac79(0xc1)]||_0x7b6a93[_0x23ac79(0xf9)];if(this[_0x23ac79(0x161)]!==_0x172785[_0x23ac79(0xc6)]){const _0x45beba=_0x36eb0e(_0x6342d8,_0x23ac79(0x13c));return void this[_0x23ac79(0xff)](_0x45beba);}await this[_0x23ac79(0xb5)](this[_0x23ac79(0x1a5)][_0x23ac79(0xdf)][_0x23ac79(0xc2)][_0x23ac79(0x14e)][_0x23ac79(0x188)](),!0x0);}[_0x159529(0x132)](){const _0xbfaf50=_0x159529;this[_0xbfaf50(0x125)][_0xbfaf50(0x191)](),this[_0xbfaf50(0x154)]=[],clearTimeout(this[_0xbfaf50(0x1a0)]),this[_0xbfaf50(0x162)](this[_0xbfaf50(0x125)]);}[_0x159529(0x138)](_0x564b81){const _0x3fe5e6=_0x159529,_0x1623d7=this[_0x3fe5e6(0x1a5)][_0x3fe5e6(0xd4)][_0x3fe5e6(0x109)](_0x43facc);this[_0x3fe5e6(0xc8)](_0x1623d7,_0x3fe5e6(0x126)+this[_0x3fe5e6(0x100)],(_0x160a27,{session:_0x5f0c45})=>{const _0x28356f=_0x3fe5e6;if(_0x5f0c45['id']===_0x1623d7[_0x28356f(0xf5)]){_0x160a27[_0x28356f(0x195)]();const _0x555940=this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0xb9)](_0x28356f(0xb4))&&this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0x109)](_0x28356f(0xb4));let _0x1cf325=_0x5f0c45[_0x28356f(0x18d)];_0x555940&&_0x555940[_0x28356f(0xfa)]&&(_0x1cf325=_0x1cf325[_0x28356f(0x131)](_0x126f9f=>_0x28356f(0xf2)!==_0x126f9f)),this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0x109)](_0x28356f(0xc5))[_0x28356f(0x102)](_0x1cf325,this[_0x28356f(0x100)]);}}),_0x1623d7[_0x3fe5e6(0x19b)](this[_0x3fe5e6(0x100)],_0x564b81);}[_0x159529(0x10a)](){const _0x1cce6e=_0x159529,_0x252213=this[_0x1cce6e(0x1a5)][_0x1cce6e(0x16a)][_0x1cce6e(0x14d)];this[_0x1cce6e(0x1a5)][_0x1cce6e(0x16a)][_0x1cce6e(0x14d)]=(..._0x444bcb)=>{const _0x4a5989=_0x1cce6e;if(!_0x444bcb[_0x444bcb[_0x4a5989(0x10e)]-0x1][_0x4a5989(0x13e)])throw new _0x375b1(_0x4a5989(0xcc),this);_0x252213[_0x4a5989(0x18f)](this[_0x4a5989(0x1a5)][_0x4a5989(0x16a)],_0x444bcb);};}[_0x159529(0xca)](){const _0x5e136e=_0x159529;this[_0x5e136e(0x1a5)][_0x5e136e(0x16a)]['on'](_0x5e136e(0x16e),(_0x1822be,[_0x487c83])=>{const _0x273e85=_0x5e136e;if(this[_0x273e85(0xcf)][_0x273e85(0x152)])throw new _0x375b1(_0x273e85(0x105),this);_0x1822be[_0x273e85(0x12a)](),this[_0x273e85(0x153)]();const _0xd01c2b=this[_0x273e85(0x1a5)][_0x273e85(0x1a2)][_0x273e85(0x109)](_0x273e85(0x144)),_0x41a5e2=this[_0x273e85(0x164)](_0x487c83,_0xd01c2b);0x0==_0x41a5e2[_0x273e85(0x10e)]&&_0x41a5e2[_0x273e85(0x176)](new _0x1ec415(0x0)),_0x1822be[_0x273e85(0x17e)]=this[_0x273e85(0xb5)](_0x41a5e2)[_0x273e85(0x121)](()=>{const _0x56f041=_0x273e85;this[_0x56f041(0x1a5)][_0x56f041(0xd4)][_0x56f041(0x109)](_0x272763)[_0x56f041(0xaa)](this),this[_0x56f041(0x1a5)][_0x56f041(0x16a)][_0x56f041(0x177)](_0x56f041(0x185));})[_0x273e85(0x14f)](_0x5ce653=>this[_0x273e85(0xf1)](_0x273e85(0x158),_0x5ce653))[_0x273e85(0x194)](()=>this[_0x273e85(0xe6)]());},{'priority':_0x5e136e(0x19d)}),this[_0x5e136e(0x1a5)]['on'](_0x5e136e(0x169),async(_0x485ed8,[_0x28847c,_0x40ab56])=>{const _0x51ef54=_0x5e136e;_0x485ed8[_0x51ef54(0x12a)]();const _0x4cf137=this[_0x51ef54(0x1a5)][_0x51ef54(0xdf)][_0x51ef54(0xc2)][_0x51ef54(0x168)](_0x28847c);if(!this[_0x51ef54(0x186)][_0x51ef54(0xb9)](_0x28847c)){const _0x3f23c6=_0x40ab56&&_0x40ab56[_0x51ef54(0x16a)]?_0x40ab56[_0x51ef54(0x16a)]:'',_0x53f9f6=_0x40ab56&&_0x40ab56[_0x51ef54(0x117)]?_0x40ab56[_0x51ef54(0x117)]:{};await this[_0x51ef54(0x128)](_0x28847c,_0x3f23c6,_0x53f9f6);}this[_0x51ef54(0x1a5)][_0x51ef54(0xdf)][_0x51ef54(0xeb)]({'isUndoable':!0x1},()=>{const _0x519650=_0x51ef54;_0x4cf137[_0x519650(0xd8)]=!0x0,this[_0x519650(0x1a5)][_0x519650(0xdf)][_0x519650(0xc2)][_0x519650(0x16d)][_0x519650(0xb1)](_0x4cf137);});},{'priority':_0x5e136e(0x19d)});}async[_0x159529(0xa9)](_0x3f2a6f){const _0x54f9fe=_0x159529,_0x41c085=this[_0x54f9fe(0x1a5)][_0x54f9fe(0xd4)][_0x54f9fe(0x109)](_0xba7229),{connection:_0x25f8af}=this[_0x54f9fe(0x1a5)][_0x54f9fe(0xd4)][_0x54f9fe(0x109)](_0x272763),_0x3858f7=new Set();for(const _0x265110 of _0x3f2a6f){const _0x3437df=_0x265110[_0x54f9fe(0x120)];_0x3437df&&!_0x41c085[_0x54f9fe(0x13a)](_0x3437df)&&_0x3858f7[_0x54f9fe(0x101)](_0x3437df);}if(0x0===_0x3858f7[_0x54f9fe(0x149)])return;const _0x2f37e5=await _0x31cf61[_0x54f9fe(0xf0)](_0x25f8af,Array[_0x54f9fe(0xfd)](_0x3858f7));for(const _0x144326 of _0x2f37e5)_0x41c085[_0x54f9fe(0x13a)](_0x144326['id'])||_0x41c085[_0x54f9fe(0x14c)](_0x144326);}[_0x159529(0x164)](_0x170683,_0x379004={}){const _0x28286f=_0x159529,_0x1aacd9=this[_0x28286f(0x1a5)][_0x28286f(0xdf)],_0x32fd6d=[];let _0x346b8a=0x0;const _0x209d7b=_0x28286f(0x160)==typeof _0x170683?{'main':_0x170683}:_0x170683;for(const _0x4c04cc of Object[_0x28286f(0xb0)](_0x209d7b)){if(!this[_0x28286f(0xcf)][_0x28286f(0x108)][_0x28286f(0xb9)](_0x4c04cc))throw new _0x375b1(_0x28286f(0x183),this);const _0x241ba4=this[_0x28286f(0x1a5)][_0x28286f(0x16a)][_0x28286f(0xe4)](_0x209d7b[_0x4c04cc]),_0x591d44=this[_0x28286f(0xcf)][_0x28286f(0x168)](_0x4c04cc),_0x37372f=new _0x3fa1d8(_0x1aacd9[_0x28286f(0x165)](_0x591d44,0x0),_0x241ba4,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x37372f);for(const [_0x4529c7,_0x479928]of _0x241ba4[_0x28286f(0xaf)]){const _0x35dd16=_0x1aacd9[_0x28286f(0x163)](_0x1aacd9[_0x28286f(0x133)](_0x591d44,_0x479928[_0x28286f(0x16b)][_0x28286f(0x10b)][_0x28286f(0xba)]()),_0x1aacd9[_0x28286f(0x133)](_0x591d44,_0x479928[_0x28286f(0x174)][_0x28286f(0x10b)][_0x28286f(0xba)]())),_0x3be28d=new _0x3c0c0b(_0x4529c7,null,_0x35dd16,_0x1aacd9[_0x28286f(0xaf)],!0x0,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x3be28d);}}if(_0x379004)for(const [_0x386bb6,_0x2cdb3b]of Object[_0x28286f(0xfb)](_0x379004)){const _0x5566b7=_0x1aacd9[_0x28286f(0xc2)][_0x28286f(0x168)](_0x386bb6);if(!_0x5566b7)throw new _0x375b1(_0x28286f(0x134),null);for(const [_0x10a1cd,_0x375b9f]of Object[_0x28286f(0xfb)](_0x2cdb3b))if(null!==_0x375b9f){const _0x4a767e=new _0x28272e(_0x5566b7,_0x10a1cd,null,_0x375b9f,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x4a767e);}}return _0x32fd6d;}async[_0x159529(0x128)](_0x1afc63,_0x6fbd56,_0xa0950c){const _0x5847ad=_0x159529;this[_0x5847ad(0x164)]({[_0x1afc63]:_0x6fbd56},{[_0x1afc63]:_0xa0950c})[_0x5847ad(0xb6)]((_0x52f6a4,_0x10ba69)=>{const _0x1f20b9=_0x5847ad;_0x52f6a4[_0x1f20b9(0xab)]=this[_0x1f20b9(0xcf)][_0x1f20b9(0x152)]+_0x10ba69,_0x52f6a4[_0x1f20b9(0xdc)]=!0x0,this[_0x1f20b9(0x11e)](_0x52f6a4);}),this[_0x5847ad(0xad)](),await this[_0x5847ad(0xb3)]();}async[_0x159529(0x159)](_0x10f137,_0x23f733){const _0x44adc8=_0x159529;let _0x2ca85f;this[_0x44adc8(0x15d)]=_0x10f137[_0x44adc8(0x1a3)];const _0x44abd9=_0x10f137[_0x44adc8(0x15c)]&&!_0x10f137[_0x44adc8(0x147)],_0x478b85=_0x44abd9?0x0:_0x10f137[_0x44adc8(0x16a)][_0x44adc8(0xab)];if(_0x23f733[_0x44adc8(0xb6)](_0x1a86bf=>{const _0x30e1cb=_0x44adc8;_0x1a86bf[_0x30e1cb(0xdc)]=!0x0,_0x1a86bf[_0x30e1cb(0x15a)]=_0x10f137[_0x30e1cb(0x179)],_0x1a86bf[_0x30e1cb(0x120)]=null;}),_0x44abd9)_0x2ca85f=_0x23f733,this[_0x44adc8(0x114)](_0x2ca85f,_0x44abd9);else{if(_0x10f137[_0x44adc8(0x147)]){const _0xcd0a0a=this[_0x44adc8(0x164)](_0x10f137[_0x44adc8(0x147)]);this[_0x44adc8(0xcf)][_0x44adc8(0x14e)][_0x44adc8(0x152)]=-_0xcd0a0a[_0x44adc8(0x10e)],_0xcd0a0a[_0x44adc8(0xb6)](_0x5249ad=>{const _0x33d756=_0x44adc8;_0x5249ad[_0x33d756(0xab)]-=_0xcd0a0a[_0x33d756(0x10e)],_0x5249ad[_0x33d756(0x15a)]=_0x10f137[_0x33d756(0x179)],_0x5249ad[_0x33d756(0xdc)]=!0x0,_0x5249ad[_0x33d756(0x120)]=null;}),this[_0x44adc8(0x114)](_0xcd0a0a,!0x0),this[_0x44adc8(0x12b)][_0x44adc8(0x152)]=-_0xcd0a0a[_0x44adc8(0x10e)]+this[_0x44adc8(0x15d)],this[_0x44adc8(0x17c)](_0xcd0a0a);}this[_0x44adc8(0xcf)][_0x44adc8(0x14e)][_0x44adc8(0x152)]=_0x478b85,_0x2ca85f=this[_0x44adc8(0xd6)](_0x10f137[_0x44adc8(0x16a)],_0x10f137[_0x44adc8(0x10c)]),await this[_0x44adc8(0xa9)](_0x2ca85f),this[_0x44adc8(0x114)](_0x2ca85f,_0x44abd9);}_0x10f137[_0x44adc8(0xc6)]&&(this[_0x44adc8(0xcd)][_0x44adc8(0xc3)](_0x2ca85f,_0x10f137[_0x44adc8(0xc6)]),this[_0x44adc8(0x161)]=_0x10f137[_0x44adc8(0xc6)]),this[_0x44adc8(0x12b)][_0x44adc8(0x152)]=_0x478b85+this[_0x44adc8(0x15d)],this[_0x44adc8(0x17c)](_0x2ca85f),_0x23f733[_0x44adc8(0x131)](_0xc2f03c=>{const _0x59afe1=_0x44adc8,_0x412b5f=this[_0x59afe1(0x150)](_0xc2f03c);return _0x412b5f&&!this[_0x59afe1(0x186)][_0x59afe1(0xb9)](_0x412b5f);})[_0x44adc8(0xb6)]((_0x6755c8,_0x28a939)=>{const _0x3549fe=_0x44adc8;_0x6755c8[_0x3549fe(0xab)]=this[_0x3549fe(0xcf)][_0x3549fe(0x152)]+_0x28a939,this[_0x3549fe(0x11e)](_0x6755c8);}),this[_0x44adc8(0xef)]()?(this[_0x44adc8(0xae)]=0x0,this[_0x44adc8(0xad)](!0x0),await this[_0x44adc8(0xb3)]()):(this[_0x44adc8(0x137)]=!0x1,this[_0x44adc8(0xe6)]());}[_0x159529(0xf1)](_0x113dc2,_0x4f1478){const _0x5bc319=_0x159529,_0x92a76=_0x4f1478&&_0x4f1478[_0x5bc319(0x145)];if(_0x92a76&&_0x92a76[_0x5bc319(0xbc)](_0x5bc319(0x1a6)))throw _0x4f1478;const _0x39fc7d=this[_0x5bc319(0x1a5)][_0x5bc319(0xd4)][_0x5bc319(0x109)](_0x272763);throw this[_0x5bc319(0x137)]=!0x0,_0x39fc7d[_0x5bc319(0x191)](),this[_0x5bc319(0x1a5)][_0x5bc319(0xf4)](_0x5bc319(0x166)),new _0x375b1(_0x113dc2,this[_0x5bc319(0x1a5)],_0x92a76?{'originalError':_0x92a76}:void 0x0);}[_0x159529(0x11e)](_0x24f6f2){const _0x100ae1=_0x159529;this[_0x100ae1(0xc7)][_0x100ae1(0xb9)](_0x24f6f2)||(this[_0x100ae1(0xc7)][_0x100ae1(0x101)](_0x24f6f2),this[_0x100ae1(0x154)][_0x100ae1(0x176)](_0x24f6f2),this[_0x100ae1(0xc4)]||_0x100ae1(0x135)==_0x24f6f2[_0x100ae1(0x18e)]&&!_0x24f6f2[_0x100ae1(0x15e)]||this[_0x100ae1(0x153)]());}[_0x159529(0xad)](_0x435b80=!0x1){const _0x51a728=_0x159529;!_0x435b80&&this[_0x51a728(0x137)]||(this[_0x51a728(0x137)]=!0x0,clearTimeout(this[_0x51a728(0x1a0)]),this[_0x51a728(0x1a0)]=setTimeout(()=>{const _0x4e924c=_0x51a728;this[_0x4e924c(0x198)]()[_0x4e924c(0x121)](_0x4bb549=>{const _0x5719f0=_0x4e924c;_0x4bb549&&(this[_0x5719f0(0xe6)](),this[_0x5719f0(0x137)]=!0x1);})[_0x4e924c(0x14f)](_0xb55395=>{const _0x2b0907=_0x4e924c;this[_0x2b0907(0xe6)](),this[_0x2b0907(0x137)]=!0x1,function(_0x5f0766){const _0x2f28f1=_0x2b0907;return _0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0xe7))||_0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0xd0))||_0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0x151));}(_0xb55395)||this[_0x2b0907(0xf1)](_0xb55395[_0x2b0907(0x145)],_0xb55395);});},this[_0x51a728(0xae)]));}[_0x159529(0xb3)](){return new Promise(_0x5cb6f4=>{const _0x5a03f2=_0x31c8;this['on'](_0x5a03f2(0x122),()=>{_0x5cb6f4();});});}async[_0x159529(0x198)](){const _0x5d023a=_0x159529,_0x23774e=this[_0x5d023a(0x1a5)][_0x5d023a(0xd4)][_0x5d023a(0x109)](_0x1284d0);if(this[_0x5d023a(0xd5)]()&&(_0x23774e[_0x5d023a(0xe8)](),this[_0x5d023a(0x15b)]=!0x1),!this[_0x5d023a(0xef)]())return!0x0;const _0x25f437=[...this[_0x5d023a(0x154)]];for(const _0x2620f7 of _0x25f437)_0x2620f7[_0x5d023a(0x17f)]=this[_0x5d023a(0xcf)][_0x5d023a(0x14e)][_0x5d023a(0xde)](_0x2620f7);const _0x15731d=this[_0x5d023a(0xcd)][_0x5d023a(0xa6)](_0x25f437),_0x334e9a=H++,_0x143805=this[_0x5d023a(0xdd)](_0x25f437),_0x48152c=await this[_0x5d023a(0x125)][_0x5d023a(0x103)](_0x143805,_0x143805[_0x5d023a(0xab)],_0x15731d);try{return await this[_0x5d023a(0x12f)](_0x25f437,_0x48152c,_0x334e9a);}catch(_0x5819ea){return this[_0x5d023a(0xf1)](_0x5d023a(0x104),_0x5819ea);}}async[_0x159529(0x12f)](_0x39dc4f,_0x43addb,_0x3fe6bc){const _0x34c1b9=_0x159529;if(_0x34c1b9(0x113)in _0x43addb)throw _0x43addb[_0x34c1b9(0x113)];let _0x3c6ac4=!0x1;if(_0x43addb[_0x34c1b9(0x15c)]){_0x43addb[_0x34c1b9(0xc6)]&&(this[_0x34c1b9(0x161)]=_0x43addb[_0x34c1b9(0xc6)]),this[_0x34c1b9(0x154)]=this[_0x34c1b9(0x154)][_0x34c1b9(0x131)](_0xa37279=>!_0x39dc4f[_0x34c1b9(0x16f)](_0xa37279));for(const _0x535574 of _0x39dc4f)_0x535574[_0x34c1b9(0x15a)]=_0x34c1b9(0x143)in _0x43addb&&_0x43addb[_0x34c1b9(0x143)]||void 0x0;W(_0x39dc4f,_0x43addb[_0x34c1b9(0x152)]-_0x39dc4f[_0x34c1b9(0x10e)]),this[_0x34c1b9(0x17c)](_0x39dc4f);const _0x239984=_0x39dc4f[_0x34c1b9(0x131)](_0xc2bb2b=>{const _0x2779e2=_0x34c1b9;if(!_0xc2bb2b[_0x2779e2(0xdc)])return!0x1;const _0x5ab7ca=this[_0x2779e2(0x150)](_0xc2bb2b);return _0x5ab7ca&&!this[_0x2779e2(0x186)][_0x2779e2(0xb9)](_0x5ab7ca);});W(_0x239984,this[_0x34c1b9(0xcf)][_0x34c1b9(0x152)]),this[_0x34c1b9(0x114)](_0x239984),_0x3c6ac4=!0x0,this[_0x34c1b9(0xae)]=this[_0x34c1b9(0xe0)];}else{const _0x21abba=this[_0x34c1b9(0xd6)](_0x43addb[_0x34c1b9(0x16a)],_0x43addb[_0x34c1b9(0x10c)])[_0x34c1b9(0x131)](_0xbc8ed5=>_0xbc8ed5[_0x34c1b9(0xab)]>=this[_0x34c1b9(0x171)]);_0x21abba[_0x34c1b9(0xb6)](_0x2e3d30=>this[_0x34c1b9(0xbb)](_0x2e3d30)),this[_0x34c1b9(0x154)]=this[_0x34c1b9(0x154)][_0x34c1b9(0x131)](_0x5069eb=>!_0x5069eb[_0x34c1b9(0xdc)]||!this[_0x34c1b9(0x186)][_0x34c1b9(0xb9)](this[_0x34c1b9(0x150)](_0x5069eb))),this[_0x34c1b9(0x154)][_0x34c1b9(0x10e)]&&W(this[_0x34c1b9(0x154)],this[_0x34c1b9(0x154)][0x0][_0x34c1b9(0xab)]),await this[_0x34c1b9(0xa9)](_0x21abba),_0x3c6ac4=this[_0x34c1b9(0xbe)](_0x21abba,_0x43addb[_0x34c1b9(0x152)],_0x43addb[_0x34c1b9(0xc6)]),this[_0x34c1b9(0xae)]=Math[_0x34c1b9(0x156)](this[_0x34c1b9(0xae)]/0x2);}return _0x3c6ac4?!this[_0x34c1b9(0xef)]()||(this[_0x34c1b9(0xad)](!0x0),!0x1):this[_0x34c1b9(0xf1)](_0x34c1b9(0x11a));}[_0x159529(0xbe)](_0x5a2b0d,_0x57fded,_0x16c2e7){const _0x5a0601=_0x159529;try{const _0x446921={'document':this[_0x5a0601(0xcf)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5eacf7,operationsB:_0x5cbd60,originalOperations:_0x47e681}=_0x15f012(_0x5a2b0d,this[_0x5a0601(0x154)],_0x446921);W(_0x5eacf7,this[_0x5a0601(0xcf)][_0x5a0601(0x152)]),W(_0x5cbd60,_0x57fded);for(const _0x87dd41 of _0x5eacf7){const _0x2b1f96=_0x47e681[_0x5a0601(0x109)](_0x87dd41);_0x87dd41[_0x5a0601(0x120)]=_0x2b1f96?_0x2b1f96[_0x5a0601(0x120)]:null;}_0x16c2e7&&(this[_0x5a0601(0xcd)][_0x5a0601(0xc3)](_0x5a2b0d,_0x16c2e7),this[_0x5a0601(0x161)]=_0x16c2e7),this[_0x5a0601(0x154)]=[..._0x5cbd60],this[_0x5a0601(0x114)](_0x5eacf7),this[_0x5a0601(0x17c)](_0x5a2b0d);}catch(_0x424cd5){return console[_0x5a0601(0x113)](_0x424cd5),!0x1;}return!0x0;}[_0x159529(0x114)](_0x33a3cf,_0x120550=!0x1){const _0xd31ddb=_0x159529;this[_0xd31ddb(0x1a5)][_0xd31ddb(0xdf)][_0xd31ddb(0xeb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3e3f25=>{const _0x3248cf=_0xd31ddb;for(const _0x39ad6b of _0x33a3cf)this[_0x3248cf(0xc7)][_0x3248cf(0x101)](_0x39ad6b),this[_0x3248cf(0xbb)](_0x39ad6b),_0x3e3f25[_0x3248cf(0x106)][_0x3248cf(0x175)](_0x39ad6b),this[_0x3248cf(0x1a5)][_0x3248cf(0xdf)][_0x3248cf(0x193)](_0x39ad6b);});}[_0x159529(0xbb)](_0x2601c2){const _0x29773b=_0x159529,_0xcd5a75=this[_0x29773b(0x150)](_0x2601c2);_0xcd5a75&&this[_0x29773b(0x186)][_0x29773b(0x101)](_0xcd5a75);}[_0x159529(0x150)](_0x5101da){const _0x26f382=_0x159529;let _0x3295f5,_0x119ff2;switch(_0x5101da[_0x26f382(0x18e)]){case _0x26f382(0xf6):_0x3295f5=_0x5101da[_0x26f382(0xe2)][_0x26f382(0x107)];break;case _0x26f382(0x135):if(_0x119ff2=_0x5101da[_0x26f382(0xd1)],!_0x119ff2)return null;_0x3295f5=_0x119ff2[_0x26f382(0x107)];break;case _0x26f382(0x192):_0x3295f5=_0x5101da[_0x26f382(0x107)];break;case _0x26f382(0x10d):_0x3295f5=_0x5101da[_0x26f382(0xe9)];break;case _0x26f382(0x142):_0x3295f5=_0x5101da[_0x26f382(0x13b)][_0x26f382(0x107)];break;default:return null;}return _0x3295f5[_0x26f382(0xbf)];}[_0x159529(0x17c)](_0x31e455){const _0x38281f=_0x159529;_0x31e455[_0x38281f(0xb6)](_0x2831fe=>{const _0x4b70d7=_0x38281f,_0x4e62c6=_0x2831fe[_0x4b70d7(0x10f)]();_0x4e62c6[_0x4b70d7(0x120)]=_0x2831fe[_0x4b70d7(0x120)],_0x4e62c6[_0x4b70d7(0xdc)]=!!_0x2831fe[_0x4b70d7(0xdc)],_0x4e62c6[_0x4b70d7(0x15a)]=_0x2831fe[_0x4b70d7(0x15a)],_0x4e62c6[_0x4b70d7(0xab)]+=this[_0x4b70d7(0x15d)],_0x2831fe[_0x4b70d7(0x18c)]&&this[_0x4b70d7(0x187)][_0x4b70d7(0x101)](_0x4e62c6),this[_0x4b70d7(0x12b)][_0x4b70d7(0x175)](_0x4e62c6);});}[_0x159529(0xff)](_0x5826a3){const _0x201df5=_0x159529,_0x1d869d=this[_0x201df5(0x1a5)][_0x201df5(0xd4)][_0x201df5(0x109)](_0x201df5(0x18a)),_0x7aad9=this[_0x201df5(0x1a5)][_0x201df5(0x19a)];_0x5826a3||(_0x5826a3=_0x36eb0e(_0x7aad9,_0x201df5(0xed))),_0x1d869d[_0x201df5(0xb8)](_0x5826a3,{'title':_0x36eb0e(_0x7aad9,_0x201df5(0xd2)),'namespace':_0x201df5(0xc0)}),this[_0x201df5(0xa1)]=!0x0,clearTimeout(this[_0x201df5(0x1a0)]),this[_0x201df5(0x154)]=[],this[_0x201df5(0x1a5)][_0x201df5(0xd4)][_0x201df5(0x109)](_0x272763)[_0x201df5(0x191)]();}[_0x159529(0x153)](){const _0x232ba8=_0x159529;this[_0x232ba8(0xc4)]||(this[_0x232ba8(0xc4)]=this[_0x232ba8(0x1a5)][_0x232ba8(0xd4)][_0x232ba8(0x109)](_0x1e5774)[_0x232ba8(0x101)](_0x36eb0e(this[_0x232ba8(0x1a5)][_0x232ba8(0x19a)],_0x232ba8(0x14b))));}[_0x159529(0xe6)](){const _0x10e1f1=_0x159529;this[_0x10e1f1(0xc4)]&&(this[_0x10e1f1(0x1a5)][_0x10e1f1(0xd4)][_0x10e1f1(0x109)](_0x1e5774)[_0x10e1f1(0xf3)](this[_0x10e1f1(0xc4)]),this[_0x10e1f1(0xc4)]=null);}[_0x159529(0xdd)](_0x1a14fe){const _0x4288f7=_0x159529,_0xa73dc2=_0x1a14fe[_0x4288f7(0x12d)](_0x30fc9f=>_0x30fc9f[_0x4288f7(0x16c)]());return this[_0x4288f7(0x19e)][_0x4288f7(0x15f)](_0xa73dc2);}[_0x159529(0xd6)](_0x2b088f,_0x2f0fbe){const _0xe2d87d=_0x159529;return this[_0xe2d87d(0x19e)][_0xe2d87d(0x115)](_0x2b088f)[_0xe2d87d(0x12d)]((_0x5a49e,_0x530b22)=>{const _0x48bc05=_0xe2d87d,_0xfea694=_0x48bc05(0x16e)==_0x2f0fbe[_0x530b22][_0x48bc05(0x18e)];if(_0x48bc05(0x17a)==_0x5a49e[_0x48bc05(0xa7)]){const _0x422802=_0x5a49e[_0x48bc05(0xe2)][_0x48bc05(0x107)];!this[_0x48bc05(0xcf)][_0x48bc05(0x168)](_0x422802)&&(this[_0x48bc05(0xcf)][_0x48bc05(0x173)](_0x48bc05(0x180),_0x422802)[_0x48bc05(0x13d)]=!0x1);}const _0x53a921=_0x408bf8[_0x48bc05(0xcb)](_0x5a49e,this[_0x48bc05(0xcf)]);return _0x53a921[_0x48bc05(0x17f)]=_0x5a49e[_0x48bc05(0x17f)],_0x53a921[_0x48bc05(0xdc)]=_0xfea694,_0x53a921[_0x48bc05(0x120)]=_0xfea694?null:_0x2f0fbe[_0x530b22][_0x48bc05(0x12e)],_0x53a921[_0x48bc05(0x18c)]=_0x48bc05(0xa2)===_0x2f0fbe[_0x530b22][_0x48bc05(0x18e)],_0x53a921[_0x48bc05(0x15a)]=_0x2f0fbe[_0x530b22][_0x48bc05(0x15a)],_0x53a921;});}[_0x159529(0x18b)](){const _0x1c668c=_0x159529;this[_0x1c668c(0x15b)]=!0x0,this[_0x1c668c(0xd5)]()?this[_0x1c668c(0xad)]():this[_0x1c668c(0x15b)]=!0x1;}[_0x159529(0xd5)](){const _0x1faffc=_0x159529,_0x504dab=this[_0x1faffc(0x1a5)][_0x1faffc(0xd4)][_0x1faffc(0x109)](_0x43facc)[_0x1faffc(0x157)][_0x1faffc(0x109)](this[_0x1faffc(0x100)]);return!this[_0x1faffc(0x1a5)][_0x1faffc(0x11c)]&&!!_0x504dab&&_0x504dab[_0x1faffc(0x10e)]>0x1&&this[_0x1faffc(0x15b)];}[_0x159529(0xef)](){const _0x510fbd=_0x159529;return this[_0x510fbd(0x154)][_0x510fbd(0x10e)]>0x0||this[_0x510fbd(0xd5)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x2814bd,_0x3007f2){const _0xdbfd66=_0x159529;for(const _0x26f8da of _0x2814bd)_0x26f8da[_0xdbfd66(0xab)]=_0x3007f2++;}function _0x1d67(){const _0x3ec1e0=['userId','_handleServerResponse','_handleReceivedOperations','filter','_disconnectService','createPositionFromPath','multi-root-editor-root-attributes-no-root','marker','reset','_isPendingUpdate','_initSessionsHandling','destroy','getUser','targetPosition','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.','_isAttached','suppressErrorInCollaboration','code','_isConnected','collaboration','move','lastOperationAcceptedAt','rootsAttributes','message','collaboration-missing-channelid','initData','cloudDocumentVersion','size','collaboration.channelId','PENDING_ACTION_SENDING_DATA','addUser','set','history','catch','_getAffectedRoot','cloud-services-internal-error:\x20Request\x20timeout.','version','_setPendingAction','_bufferedOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','channelSessions','realtimecollaborationclient-init-connection-failed','_handleInitialConnectionData','createdAt','_hasSelectionChanged','wereChangesApplied','_offset','affectsData','compress','string','_lastSyncedOperationId','stopListening','createRange','_getOperationsFromInitData','createPositionAt','realtimecollaborationclient-error','_ignoredOperations','getRoot','loadRoot','data','start','toJSON','differ','init','includes','getOperationAuthor','_lastServerVersion','state','createRoot','end','addOperation','push','fire','3801245mZnJzh','sessionCreatedAt','InsertOperation','realtimecollaborationclient-init-session-connection-error','_updateServerHistory','editing','return','wasUndone','$root','operationsReceived','selection','realtimecollaborationclient-init-non-existent-root','rtc-destroyed','ready','_knownRootNames','_disconnectionOperations','getOperations','rtc-offline','Notification','_refreshUserSelectionMarkers','_isDisconnection','permissions','type','apply','2588OHjpHd','disconnect','addRootAttribute','applyOperation','finally','off','isPremiumPlugin','_handleSendingSelectionMarkers','_sendBufferedOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','locale','register','_handleReconnectionResponse','high','_compressor','getConnectedSessions','_sendBufferedOperationsDelayId','lastSyncVersion','config','offset','connect','editor','realtimecollaborationclient','_hasSynchronizationProblem','cs:removeUser','disconnected','722418YmOMWw','requires','getIdOfTheLastOperation','__className','define','_fetchMissingUsers','addToReconnectionStack','baseVersion','unregister','_sendBufferedOperationsDelayed','_currentBufferDelay','markers','keys','_bufferRootLoad','cloudServices.bundleVersion','_waitUntilSynced','CommentsOnly','_connectService','forEach','_operationToId','showWarning','has','slice','_addKnownRoot','startsWith','getDocumentDetails','_handleExternalOperations','rootName','real-time-collaboration','currentDocumentSession','document','setIdForTheLastOperation','_pendingAction','Permissions','lastOperationId','_knownOperations','listenTo','change:range','_setUpDataInit','fromJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_operationIdentifier','realtimecollaborationclient-init-service-internal-error','_document','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','newRange','Synchronization\x20issue','realtimecollaborationclient-init-service-incorrect-server-operation','plugins','_shouldSendSelectionUpdate','_decompressOperations','removeFromReconnectionStack','_isLoaded','connected','change:_isEditingAllowed','CollaborativeEditingService','_isInit','_compressOperations','isUndoneOperation','model','_baseBufferDelay','1887960WUtfcm','position','isDocumentOperation','parse','disableReadOnlyMode','_clearPendingAction','cloud-services-internal-error:\x20Not\x20connected.','createUserMarkerOperations','affectedSelectable','connection','enqueueChange','2252364sSzxbm','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.','pluginName','_shouldSendUpdate','getMany','_crash','document:write','remove','enableReadOnlyMode','mySessionId','insert','sessionId','6970CShALl','lastDocumentSession','isEnabled','entries','_connectAfterSessionHasBeenFlushed','from','409','_handleReconnectionError','_channelId','add','setPermissions','sendOperations','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-init-document-already-initialized','batch','root','roots','get','_initThrowingOnDataSet','path','metadata','addRoot','length','clone','reconnection:\x20flushed\x20session','RealTimeCollaborationClient','_isEditingAllowed','error','_applyOperationsSet','decompress','404','attributes','bind','change:hasDomSelection','realtimecollaborationclient-handleserverresponse','reconnect','isReadOnly','4405acRmaV','_saveOperationInBuffer','2SECmDA','_authorId','then','change:_isPendingUpdate','directChange','953664zcaDJU','_service','sessionAdd:','view','_loadRoot','isOfficialPlugin','stop','serverHistory','1170pZsqZY','map'];_0x1d67=function(){return _0x3ec1e0;};return _0x1d67();}class F{[_0x159529(0x167)];[_0x159529(0xb7)];constructor(_0x3570c2){const _0x62e5e2=_0x159529;this[_0x62e5e2(0x167)]=_0x3570c2,this[_0x62e5e2(0xb7)]=new WeakMap();}[_0x159529(0xa6)](_0x224ceb){const _0x469e8c=_0x159529;let _0x18acf2=_0x224ceb[_0x469e8c(0x10e)];for(;_0x18acf2--;){const _0x43492c=_0x224ceb[_0x18acf2];if(!this[_0x469e8c(0x167)][_0x469e8c(0xb9)](_0x43492c)){if(!this[_0x469e8c(0xb7)][_0x469e8c(0xb9)](_0x43492c)){const _0x1b9726=_0x1d5413()[_0x469e8c(0xba)](0x1,0x12);this[_0x469e8c(0xb7)][_0x469e8c(0x14d)](_0x43492c,_0x1b9726);}return this[_0x469e8c(0xb7)][_0x469e8c(0x109)](_0x43492c);}}}[_0x159529(0xc3)](_0x296f78,_0x14b436){const _0xd9be74=_0x159529;if(!_0x14b436)return;let _0x49766a=_0x296f78[_0xd9be74(0x10e)];for(;_0x49766a--;){const _0x5abffa=_0x296f78[_0x49766a];this[_0xd9be74(0x167)][_0xd9be74(0xb9)](_0x5abffa)||this[_0xd9be74(0xb7)][_0xd9be74(0x14d)](_0x5abffa,_0x14b436);}}}
|
|
23
|
+
const _0x4afd6c=_0x4029;(function(_0x595f82,_0x260751){const _0x18a34d=_0x4029,_0xba1cda=_0x595f82();while(!![]){try{const _0x84bbc4=parseInt(_0x18a34d(0x101))/0x1*(-parseInt(_0x18a34d(0x11c))/0x2)+parseInt(_0x18a34d(0x11e))/0x3*(parseInt(_0x18a34d(0x164))/0x4)+parseInt(_0x18a34d(0x131))/0x5+parseInt(_0x18a34d(0xfe))/0x6*(parseInt(_0x18a34d(0x16c))/0x7)+parseInt(_0x18a34d(0xd3))/0x8*(parseInt(_0x18a34d(0xf1))/0x9)+parseInt(_0x18a34d(0x129))/0xa+-parseInt(_0x18a34d(0x14f))/0xb*(parseInt(_0x18a34d(0x13c))/0xc);if(_0x84bbc4===_0x260751)break;else _0xba1cda['push'](_0xba1cda['shift']());}catch(_0x40a4ba){_0xba1cda['push'](_0xba1cda['shift']());}}}(_0x44d6,0xb898a));import{Plugin as _0xed2d28,PendingActions as _0x54c9b7}from'ckeditor5/src/core.js';import{CKEditorError as _0x677526,version as _0x47967e,uid as _0x59a422}from'ckeditor5/src/utils.js';import{Notification as _0x572118}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x587abf,NoOperation as _0x28e999,InsertOperation as _0xb74e41,MarkerOperation as _0x2e702e,RootAttributeOperation as _0x129bdd,OperationFactory as _0x11d0be,History as _0x3481dd}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5b20ad}from'./websocketgateway.js';import{Sessions as _0x192d17}from'./sessions.js';import{UserMarkers as _0x4cedd7}from'./usermarkers.js';import{getTranslation as _0x1ffdd4}from'../common-translations.js';import{Compressor as _0x284e01}from'@ckeditor/ckeditor5-operations-compressor';function _0x4029(_0x5e5386,_0x2d7a31){const _0x44d66a=_0x44d6();return _0x4029=function(_0x4029ee,_0x83aae6){_0x4029ee=_0x4029ee-0x9c;let _0x16e424=_0x44d66a[_0x4029ee];return _0x16e424;},_0x4029(_0x5e5386,_0x2d7a31);}import{Users as _0x5bce93}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4271a3,CollaborativeEditingService as _0x62187d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x44d6(){const _0x47a66d=['The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','history','_clearPendingAction','real-time-collaboration','sendOperations','decompress','length','message','requires','cs:removeUser','directChange','slice','Notification','getDocumentDetails','stop','data','isOfficialPlugin','permissions','includes','_decompressOperations','collaboration','_initThrowingOnDataSet','createPositionFromPath','model','realtimecollaborationclient-init-document-already-initialized','attributes','_loadRoot','cloudDocumentVersion','3222DKihfi','_document','addRootAttribute','position','register','$root','_waitUntilSynced','enableReadOnlyMode','getOperations','CommentsOnly','reset','_connectService','insert','6523326NHSoaS','rootsAttributes','realtimecollaborationclient-init-connection-failed','12hHXdXP','wereChangesApplied','_lastSyncedOperationId','remove','409','markers','ready','unregister','realtimecollaborationclient-init-non-existent-root','_handleSendingSelectionMarkers','realtimecollaborationclient-sendbufferedoperations','define','lastOperationId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isConnected','bind','selection','offset','clone','_setUpDataInit','has','_updateServerHistory','fire','get','_isAttached','createdAt','root','137822KnPjxg','getOperationAuthor','9BOvTWN','compress','isUndoneOperation','change:range','_baseBufferDelay','addUser','_handleInitialConnectionData','__className','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_refreshUserSelectionMarkers','init','3875230KoEtGu','_operationIdentifier','batch','end','connected','currentDocumentSession','_hasSelectionChanged','cloud-services-internal-error:\x20Not\x20connected.','3463575RpHIiS','editing','PENDING_ACTION_SENDING_DATA','fromJSON','_handleReconnectionResponse','code','marker','createRoot','listenTo','disconnect','getConnectedSessions','12buzDSA','entries','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','high','destroy','realtimecollaborationclient-init-service-internal-error','collaboration.channelId','metadata','state','return','differ','set','isDocumentOperation','_disconnectionOperations','realtimecollaborationclient-handleserverresponse','round','realtimecollaborationclient-error','newRange','realtimecollaborationclient-init-service-incorrect-server-operation','20963591tkdDVj','_saveOperationInBuffer','lastDocumentSession','_shouldSendSelectionUpdate','serverHistory','off','start','getMany','applyOperation','_service','apply','then','_hasSynchronizationProblem','_handleReconnectionError','_channelId','affectedSelectable','CollaborativeEditingService','isPremiumPlugin','change:_isEditingAllowed','_currentBufferDelay','isReadOnly','1364672BUydku','disableReadOnlyMode','_compressor','_bufferRootLoad','_handleServerResponse','Synchronization\x20issue','getIdOfTheLastOperation','_fetchMissingUsers','7KMFHvc','addRoot','_ignoredOperations','locale','setIdForTheLastOperation','_isEditingAllowed','operationsReceived','_sendBufferedOperationsDelayId','forEach','connection','move','_getOperationsFromInitData','InsertOperation','createUserMarkerOperations','toJSON','plugins','error','cloud-services-internal-error:\x20Request\x20timeout.','RealTimeCollaborationClient','mySessionId','_isPendingUpdate','_pendingAction','_initSessionsHandling','disconnected','finally','document:write','reconnect','lastOperationAcceptedAt','isEnabled','path','baseVersion','suppressErrorInCollaboration','parse','rootName','_isDisconnection','createRange','_getAffectedRoot','stopListening','pluginName','realtimecollaborationclient-init-session-connection-error','rtc-destroyed','_crash','lastSyncVersion','loadRoot','catch','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.','keys','_knownOperations','_isInit','404','_applyOperationsSet','setPermissions','_disconnectService','_compressOperations','showWarning','roots','sessionId','_authorId','createPositionAt','sessionAdd:','sessionCreatedAt','affectsData','config','_setPendingAction','_isLoaded','change:_isPendingUpdate','enqueueChange','cloudServices.bundleVersion','size','startsWith','_connectAfterSessionHasBeenFlushed','push','view','connect','removeFromReconnectionStack','_knownRootNames','userId','rtc-offline','Permissions','_sendBufferedOperations','from','multi-root-editor-root-attributes-no-root','add','type','channelSessions','_handleExternalOperations','version','_lastServerVersion','_bufferedOperations','getRoot','targetPosition','editor','addToReconnectionStack','realtimecollaborationclient','document','filter','_handleReceivedOperations','_addKnownRoot','reconnection:\x20flushed\x20session','initData','_offset','_operationToId','map','change:hasDomSelection','wasUndone','collaboration-missing-channelid','addOperation','string','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.','_shouldSendUpdate','getUser','6656AkPKBC','_sendBufferedOperationsDelayed'];_0x44d6=function(){return _0x47a66d;};return _0x44d6();}let H=0x1;class l extends _0xed2d28{static [_0x4afd6c(0x15f)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x62187d)());[_0x4afd6c(0xc8)];[_0x4afd6c(0x9c)];[_0x4afd6c(0x153)];[_0x4afd6c(0x15d)];[_0x4afd6c(0x158)];[_0x4afd6c(0xf2)];[_0x4afd6c(0x166)];[_0x4afd6c(0xbc)];[_0x4afd6c(0x19b)];[_0x4afd6c(0xaf)];[_0x4afd6c(0x181)];[_0x4afd6c(0x12f)];[_0x4afd6c(0x173)];[_0x4afd6c(0x122)];[_0x4afd6c(0x162)];[_0x4afd6c(0x103)];[_0x4afd6c(0x149)];[_0x4afd6c(0x12a)];static get[_0x4afd6c(0xdd)](){return[_0x5b20ad,_0x192d17,_0x4cedd7,_0x54c9b7,_0x5bce93,_0x572118];}static get[_0x4afd6c(0x192)](){const _0x5a6850=_0x4afd6c;return _0x5a6850(0x17e);}static get[_0x4afd6c(0xe5)](){return!0x0;}static get[_0x4afd6c(0x160)](){return!0x0;}get[_0x4afd6c(0xf0)](){const _0xd06156=_0x4afd6c;return this[_0xd06156(0xbb)]+this[_0xd06156(0xc8)];}get[_0x4afd6c(0xbb)](){const _0x18a829=_0x4afd6c;return this[_0x18a829(0x153)][_0x18a829(0xba)]-this[_0x18a829(0xc8)];}get[_0x4afd6c(0x196)](){const _0x7f260c=_0x4afd6c,_0x39d621=this[_0x7f260c(0x153)][_0x7f260c(0xf9)]();for(let _0x16aa22=_0x39d621[_0x7f260c(0xdb)]-0x1;_0x16aa22>=0x0;_0x16aa22--){const _0x5cc268=_0x39d621[_0x16aa22];if(!this[_0x7f260c(0x149)][_0x7f260c(0x115)](_0x5cc268))return _0x5cc268[_0x7f260c(0x18a)]+0x1-this[_0x7f260c(0xc8)];}return 0x0;}constructor(_0x3bca0){const _0x5d1018=_0x4afd6c;if(super(_0x3bca0),this[_0x5d1018(0xc8)]=0x0,this[_0x5d1018(0x9c)]=null,this[_0x5d1018(0x153)]=new _0x3481dd(),this[_0x5d1018(0xbf)][_0x5d1018(0xa2)][_0x5d1018(0x10c)](_0x5d1018(0xe9),{}),this[_0x5d1018(0x15d)]=this[_0x5d1018(0xbf)][_0x5d1018(0xa2)][_0x5d1018(0x118)](_0x5d1018(0x142)),!this[_0x5d1018(0x15d)])throw new _0x677526(_0x5d1018(0xcd),this);const _0x476b7b=_0x3bca0[_0x5d1018(0xa2)][_0x5d1018(0x118)](_0x5d1018(0xa7))||_0x47967e;this[_0x5d1018(0x158)]=new l[(_0x5d1018(0x15f))](_0x476b7b,this[_0x5d1018(0x15d)]),this[_0x5d1018(0xf2)]=this[_0x5d1018(0xbf)][_0x5d1018(0xec)][_0x5d1018(0xc2)],this[_0x5d1018(0x166)]=new _0x284e01(),this[_0x5d1018(0xbc)]=[],this[_0x5d1018(0x19b)]=new WeakSet(),this[_0x5d1018(0xaf)]=new Set(),this[_0x5d1018(0x147)](_0x5d1018(0x180),!0x1),this[_0x5d1018(0x147)](_0x5d1018(0x15b),!0x1),this[_0x5d1018(0x181)]=null,this[_0x5d1018(0x12f)]=!0x1,this[_0x5d1018(0x173)]=null,this[_0x5d1018(0x122)]=0x12c,this[_0x5d1018(0x162)]=this[_0x5d1018(0x122)],this[_0x5d1018(0x103)]=null,this[_0x5d1018(0x149)]=new WeakSet(),this[_0x5d1018(0x12a)]=new F(this[_0x5d1018(0x149)]);}[_0x4afd6c(0x128)](){const _0x14937e=_0x4afd6c,_0x46313d=this[_0x14937e(0xbf)],_0x1413aa=_0x46313d[_0x14937e(0x17b)][_0x14937e(0x118)](_0x5bce93),_0x305a05=_0x46313d[_0x14937e(0x17b)][_0x14937e(0x118)](_0x5b20ad);this[_0x14937e(0x139)](_0x1413aa,_0x14937e(0x11d),(_0x43492a,_0x3e9115)=>{const _0x2d5f3e=_0x14937e,_0x5b69ee=_0x3e9115[0x0];_0x5b69ee[_0x2d5f3e(0x9d)]&&(_0x43492a[_0x2d5f3e(0x145)]=_0x1413aa[_0x2d5f3e(0xd2)](_0x5b69ee[_0x2d5f3e(0x9d)]),_0x43492a[_0x2d5f3e(0xe3)]()),null===_0x5b69ee[_0x2d5f3e(0x9d)]&&(_0x43492a[_0x2d5f3e(0x145)]=null,_0x43492a[_0x2d5f3e(0xe3)]());},{'priority':_0x14937e(0x13f)}),this[_0x14937e(0x139)](_0x46313d[_0x14937e(0xec)][_0x14937e(0xc2)][_0x14937e(0x111)],_0x14937e(0x121),(_0xbca0f0,_0xd431f3)=>{const _0x279c92=_0x14937e;_0xd431f3[_0x279c92(0xdf)]&&this[_0x279c92(0x127)]();}),this[_0x14937e(0x139)](_0x46313d[_0x14937e(0x132)][_0x14937e(0xac)],_0x14937e(0xcb),()=>{const _0x421ba6=_0x14937e;this[_0x421ba6(0x127)]();}),this[_0x14937e(0xea)](),_0x46313d[_0x14937e(0xec)]['on'](_0x14937e(0x157),(_0x43ed77,_0x301062)=>{const _0xc51c3a=_0x14937e,_0x22104c=_0x301062[0x0];_0x22104c[_0xc51c3a(0x148)]&&(this[_0xc51c3a(0x150)](_0x22104c),this[_0xc51c3a(0xd1)]()&&this[_0xc51c3a(0xd4)]());}),this[_0x14937e(0x114)](),this[_0x14937e(0x110)](_0x14937e(0x171))['to'](_0x305a05,_0x14937e(0x144),this,_0x14937e(0x15b),(_0x2a8f0c,_0x1ef412)=>_0x14937e(0x12d)===_0x2a8f0c&&!_0x1ef412),this['on'](_0x14937e(0x161),()=>{const _0xfd4e51=_0x14937e;this[_0xfd4e51(0x171)]?_0x46313d[_0xfd4e51(0x165)](_0xfd4e51(0xb1)):_0x46313d[_0xfd4e51(0xf8)](_0xfd4e51(0xb1));}),this[_0x14937e(0x171)]?_0x46313d[_0x14937e(0x165)](_0x14937e(0xb1)):_0x46313d[_0x14937e(0xf8)](_0x14937e(0xb1)),this[_0x14937e(0x147)](_0x14937e(0x10f),!0x1);}async[_0x4afd6c(0x186)](){const _0x43e297=_0x4afd6c,_0x74bce7=this[_0x43e297(0xbf)][_0x43e297(0x17b)][_0x43e297(0x118)](_0x192d17),_0xd67720=this[_0x43e297(0xbf)][_0x43e297(0x17b)][_0x43e297(0x118)](_0x5b20ad);try{this[_0x43e297(0x180)]=!0x0,_0x74bce7[_0x43e297(0x108)](this[_0x43e297(0x15d)]);const _0x43f247=await this[_0x43e297(0x158)][_0x43e297(0x186)](_0xd67720[_0x43e297(0x175)],this[_0x43e297(0x196)]);await this[_0x43e297(0x135)](_0x43f247)&&(this[_0x43e297(0x180)]=!0x1,this[_0x43e297(0xd7)]());const _0x5b2b44=await this[_0x43e297(0x158)][_0x43e297(0x13b)]();_0x74bce7[_0x43e297(0xf5)](this[_0x43e297(0x15d)],_0x5b2b44),this[_0x43e297(0x10a)](),this[_0x43e297(0x10f)]=!0x0;}catch(_0x2cee99){if(function(_0x1430ec){const _0x4d0047=_0x43e297;return _0x4d0047(0x19d)===_0x1430ec[_0x4d0047(0x136)];}(_0x2cee99)&&this[_0x43e297(0x9c)])await this[_0x43e297(0xaa)]();else{if(function(_0x3d16f8){const _0x557460=_0x43e297;return _0x557460(0x105)===_0x3d16f8[_0x557460(0x136)];}(_0x2cee99)){const _0x2b3f12=_0x1ffdd4(this[_0x43e297(0xbf)][_0x43e297(0x16f)],_0x43e297(0xd5));this[_0x43e297(0x15c)](_0x2b3f12);}else{if(!(_0x2cee99 instanceof V))throw _0x2cee99;this[_0x43e297(0x15c)]();}}}}[_0x4afd6c(0x140)](){const _0x53173c=_0x4afd6c,_0xe4dc08=this[_0x53173c(0xbf)][_0x53173c(0x17b)][_0x53173c(0x118)](_0x5b20ad),_0x4709e5=this[_0x53173c(0xbf)][_0x53173c(0x17b)][_0x53173c(0x118)](_0x192d17);this[_0x53173c(0xbf)][_0x53173c(0xf8)](_0x53173c(0x194)),_0x4709e5[_0x53173c(0xb8)][_0x53173c(0x115)](this[_0x53173c(0x15d)])&&_0x4709e5[_0x53173c(0x108)](this[_0x53173c(0x15d)]),_0xe4dc08[_0x53173c(0xae)](this),this[_0x53173c(0x1a0)](),super[_0x53173c(0x140)]();}async[_0x4afd6c(0x135)](_0x24db06){const _0x3d6ffe=_0x4afd6c;if(this[_0x3d6ffe(0x9c)]!==_0x24db06[_0x3d6ffe(0x9c)]&&this[_0x3d6ffe(0x103)]!==_0x24db06[_0x3d6ffe(0x10d)])throw new V();return this[_0x3d6ffe(0x9c)]=_0x24db06[_0x3d6ffe(0x9c)],this[_0x3d6ffe(0x168)]([],{..._0x24db06,'wereChangesApplied':!0x1,'data':_0x24db06[_0x3d6ffe(0xe4)]},_0x3d6ffe(0x186));}async[_0x4afd6c(0xfc)](_0x3520a4,_0x4b36ed=!0x1){const _0x103faf=_0x4afd6c,{connection:_0x7be854}=this[_0x103faf(0xbf)][_0x103faf(0x17b)][_0x103faf(0x118)](_0x5b20ad);l[_0x103faf(0x15f)][_0x103faf(0x13b)](_0x7be854,this[_0x103faf(0x15d)])[_0x103faf(0x15a)](_0x3ee593=>this[_0x103faf(0x182)](_0x3ee593))[_0x103faf(0x198)](_0x5e2349=>{const _0x24a5cd=_0x103faf;this[_0x24a5cd(0x195)](_0x24a5cd(0x193),_0x5e2349);}),this[_0x103faf(0x139)](this[_0x103faf(0x158)],_0x103faf(0x172),this[_0x103faf(0xc4)][_0x103faf(0x110)](this)),this[_0x103faf(0x139)](this[_0x103faf(0x158)],_0x103faf(0x17c),(_0x5c9666,_0x38e403)=>{const _0x4f4a37=_0x103faf;this[_0x4f4a37(0x195)](_0x4f4a37(0x141),_0x38e403);}),this[_0x103faf(0x139)](this[_0x103faf(0x158)],_0x103faf(0x183),()=>{const _0x3c78f5=_0x103faf;this[_0x3c78f5(0x10f)]=!0x1;});const _0x1e7445=this[_0x103faf(0x12a)][_0x103faf(0x16a)](_0x3520a4);this[_0x103faf(0x180)]=!0x0;const _0x327864=await this[_0x103faf(0x158)][_0x103faf(0xad)](_0x7be854,this[_0x103faf(0x1a1)](_0x3520a4),_0x1e7445);if(this[_0x103faf(0x9c)]=_0x327864[_0x103faf(0x9c)],_0x4b36ed){if(!_0x327864[_0x103faf(0x102)])return void this[_0x103faf(0x15c)]();this[_0x103faf(0x180)]=!0x1,this[_0x103faf(0xd7)](),this[_0x103faf(0x153)][_0x103faf(0xfb)](),this[_0x103faf(0xc8)]=_0x327864[_0x103faf(0x112)],this[_0x103faf(0x153)][_0x103faf(0xba)]=this[_0x103faf(0xc8)],await this[_0x103faf(0x168)](_0x3520a4,_0x327864,_0x103faf(0xc6));}else await this[_0x103faf(0x124)](_0x327864,_0x3520a4);this[_0x103faf(0x10a)](),this[_0x103faf(0x10f)]=!0x0;}[_0x4afd6c(0x10a)](){const _0x2b66a8=_0x4afd6c,_0x312a4e=this[_0x2b66a8(0xbf)][_0x2b66a8(0x17b)][_0x2b66a8(0x118)](_0x192d17),_0x1384fc=this[_0x2b66a8(0xbf)][_0x2b66a8(0x17b)][_0x2b66a8(0x118)](_0x4cedd7),_0x2d49f0=_0x312a4e[_0x2b66a8(0xb8)][_0x2b66a8(0x118)](this[_0x2b66a8(0x15d)]);_0x2d49f0&&_0x2d49f0[_0x2b66a8(0xdb)]>0x1?_0x1384fc[_0x2b66a8(0x179)]():this[_0x2b66a8(0x139)](_0x312a4e,_0x2b66a8(0x9f)+this[_0x2b66a8(0x15d)],()=>{const _0x10ebf7=_0x2b66a8;0x2===_0x312a4e[_0x10ebf7(0xb8)][_0x10ebf7(0x118)](this[_0x10ebf7(0x15d)])[_0x10ebf7(0xdb)]&&_0x1384fc[_0x10ebf7(0x179)]();});}async[_0x4afd6c(0xc4)](_0xb3f723,_0x3d5aec,_0x5cb9b7,_0x56a000){const _0x29a233=_0x4afd6c;if(!this[_0x29a233(0x180)]&&this[_0x29a233(0xf2)][_0x29a233(0xba)]==_0x3d5aec){const _0xe71503=this[_0x29a233(0xe8)](_0x5cb9b7,_0x56a000);await this[_0x29a233(0x16b)](_0xe71503),this[_0x29a233(0xb9)](_0xe71503,_0x3d5aec,_0x5cb9b7[_0x29a233(0x10d)])||this[_0x29a233(0x195)](_0x29a233(0x14e));}}async[_0x4afd6c(0xaa)](){const _0x3e6309=_0x4afd6c;this[_0x3e6309(0x1a0)]();const {locale:_0x248f5e}=this[_0x3e6309(0xbf)];let _0x5c1305;try{_0x5c1305=await this[_0x3e6309(0x158)][_0x3e6309(0xe2)]();}catch{const _0x3c18dc=_0x1ffdd4(_0x248f5e,_0x3e6309(0x126));return void this[_0x3e6309(0x15c)](_0x3c18dc);}const _0x54a0ec=_0x5c1305[_0x3e6309(0x12e)]||_0x5c1305[_0x3e6309(0x151)];if(this[_0x3e6309(0x103)]!==_0x54a0ec[_0x3e6309(0x10d)]){const _0x3c7f70=_0x1ffdd4(_0x248f5e,_0x3e6309(0x199));return void this[_0x3e6309(0x15c)](_0x3c7f70);}await this[_0x3e6309(0xfc)](this[_0x3e6309(0xbf)][_0x3e6309(0xec)][_0x3e6309(0xc2)][_0x3e6309(0xd6)][_0x3e6309(0xf9)](),!0x0);}[_0x4afd6c(0x1a0)](){const _0xeb9f2f=_0x4afd6c;this[_0xeb9f2f(0x158)][_0xeb9f2f(0x13a)](),this[_0xeb9f2f(0xbc)]=[],clearTimeout(this[_0xeb9f2f(0x173)]),this[_0xeb9f2f(0x191)](this[_0xeb9f2f(0x158)]);}[_0x4afd6c(0x182)](_0x7b7445){const _0x4aab02=_0x4afd6c,_0x2075e9=this[_0x4aab02(0xbf)][_0x4aab02(0x17b)][_0x4aab02(0x118)](_0x192d17);this[_0x4aab02(0x139)](_0x2075e9,_0x4aab02(0x9f)+this[_0x4aab02(0x15d)],(_0x19d6d6,{session:_0x156d16})=>{const _0x5d6149=_0x4aab02;if(_0x156d16['id']===_0x2075e9[_0x5d6149(0x17f)]){_0x19d6d6[_0x5d6149(0x154)]();const _0x20348e=this[_0x5d6149(0xbf)][_0x5d6149(0x17b)][_0x5d6149(0x115)](_0x5d6149(0xfa))&&this[_0x5d6149(0xbf)][_0x5d6149(0x17b)][_0x5d6149(0x118)](_0x5d6149(0xfa));let _0x4fb0ce=_0x156d16[_0x5d6149(0xe6)];_0x20348e&&_0x20348e[_0x5d6149(0x188)]&&(_0x4fb0ce=_0x4fb0ce[_0x5d6149(0xc3)](_0x5e56e0=>_0x5d6149(0x185)!==_0x5e56e0)),this[_0x5d6149(0xbf)][_0x5d6149(0x17b)][_0x5d6149(0x118)](_0x5d6149(0xb2))[_0x5d6149(0x19f)](_0x4fb0ce,this[_0x5d6149(0x15d)]);}}),_0x2075e9[_0x4aab02(0xf5)](this[_0x4aab02(0x15d)],_0x7b7445);}[_0x4afd6c(0xea)](){const _0x318adb=_0x4afd6c,_0x1c8285=this[_0x318adb(0xbf)][_0x318adb(0xe4)][_0x318adb(0x147)];this[_0x318adb(0xbf)][_0x318adb(0xe4)][_0x318adb(0x147)]=(..._0x21083d)=>{const _0x4cfe54=_0x318adb;if(!_0x21083d[_0x21083d[_0x4cfe54(0xdb)]-0x1][_0x4cfe54(0x18b)])throw new _0x677526(_0x4cfe54(0x10e),this);_0x1c8285[_0x4cfe54(0x159)](this[_0x4cfe54(0xbf)][_0x4cfe54(0xe4)],_0x21083d);};}[_0x4afd6c(0x114)](){const _0x309a07=_0x4afd6c;this[_0x309a07(0xbf)][_0x309a07(0xe4)]['on'](_0x309a07(0x128),(_0x35e774,[_0x50eeb8])=>{const _0x118e8a=_0x309a07;if(this[_0x118e8a(0xf2)][_0x118e8a(0xba)])throw new _0x677526(_0x118e8a(0xed),this);_0x35e774[_0x118e8a(0xe3)](),this[_0x118e8a(0xa3)]();const _0x4e9f9c=this[_0x118e8a(0xbf)][_0x118e8a(0xa2)][_0x118e8a(0x118)](_0x118e8a(0xff)),_0x5f0537=this[_0x118e8a(0x177)](_0x50eeb8,_0x4e9f9c);0x0==_0x5f0537[_0x118e8a(0xdb)]&&_0x5f0537[_0x118e8a(0xab)](new _0x28e999(0x0)),_0x35e774[_0x118e8a(0x145)]=this[_0x118e8a(0xfc)](_0x5f0537)[_0x118e8a(0x15a)](()=>{const _0x3106e6=_0x118e8a;this[_0x3106e6(0xbf)][_0x3106e6(0x17b)][_0x3106e6(0x118)](_0x5b20ad)[_0x3106e6(0xc0)](this),this[_0x3106e6(0xbf)][_0x3106e6(0xe4)][_0x3106e6(0x117)](_0x3106e6(0x107));})[_0x118e8a(0x198)](_0x4a5884=>this[_0x118e8a(0x195)](_0x118e8a(0x100),_0x4a5884))[_0x118e8a(0x184)](()=>this[_0x118e8a(0xd7)]());},{'priority':_0x309a07(0x13f)}),this[_0x309a07(0xbf)]['on'](_0x309a07(0x197),async(_0x40f9f0,[_0x1866ef,_0x43779e])=>{const _0x8fb9f0=_0x309a07;_0x40f9f0[_0x8fb9f0(0xe3)]();const _0x53c560=this[_0x8fb9f0(0xbf)][_0x8fb9f0(0xec)][_0x8fb9f0(0xc2)][_0x8fb9f0(0xbd)](_0x1866ef);if(!this[_0x8fb9f0(0xaf)][_0x8fb9f0(0x115)](_0x1866ef)){const _0x51fb0a=_0x43779e&&_0x43779e[_0x8fb9f0(0xe4)]?_0x43779e[_0x8fb9f0(0xe4)]:'',_0x49b047=_0x43779e&&_0x43779e[_0x8fb9f0(0xee)]?_0x43779e[_0x8fb9f0(0xee)]:{};await this[_0x8fb9f0(0xef)](_0x1866ef,_0x51fb0a,_0x49b047);}this[_0x8fb9f0(0xbf)][_0x8fb9f0(0xec)][_0x8fb9f0(0xa6)]({'isUndoable':!0x1},()=>{const _0x149781=_0x8fb9f0;_0x53c560[_0x149781(0xa4)]=!0x0,this[_0x149781(0xbf)][_0x149781(0xec)][_0x149781(0xc2)][_0x149781(0x146)][_0x149781(0x167)](_0x53c560);});},{'priority':_0x309a07(0x13f)});}async[_0x4afd6c(0x16b)](_0x130b2c){const _0x39429d=_0x4afd6c,_0x1fb58f=this[_0x39429d(0xbf)][_0x39429d(0x17b)][_0x39429d(0x118)](_0x5bce93),{connection:_0x5eb1b6}=this[_0x39429d(0xbf)][_0x39429d(0x17b)][_0x39429d(0x118)](_0x5b20ad),_0x462164=new Set();for(const _0x1bd048 of _0x130b2c){const _0xe1ce76=_0x1bd048[_0x39429d(0x9d)];_0xe1ce76&&!_0x1fb58f[_0x39429d(0xd2)](_0xe1ce76)&&_0x462164[_0x39429d(0xb6)](_0xe1ce76);}if(0x0===_0x462164[_0x39429d(0xa8)])return;const _0x38beb9=await _0x4271a3[_0x39429d(0x156)](_0x5eb1b6,Array[_0x39429d(0xb4)](_0x462164));for(const _0xc2307f of _0x38beb9)_0x1fb58f[_0x39429d(0xd2)](_0xc2307f['id'])||_0x1fb58f[_0x39429d(0x123)](_0xc2307f);}[_0x4afd6c(0x177)](_0xd220f4,_0x187b6b={}){const _0x4fca1d=_0x4afd6c,_0x33b33d=this[_0x4fca1d(0xbf)][_0x4fca1d(0xec)],_0x2e6096=[];let _0x162ee4=0x0;const _0x122fe8=_0x4fca1d(0xcf)==typeof _0xd220f4?{'main':_0xd220f4}:_0xd220f4;for(const _0x13fff1 of Object[_0x4fca1d(0x19a)](_0x122fe8)){if(!this[_0x4fca1d(0xf2)][_0x4fca1d(0x1a3)][_0x4fca1d(0x115)](_0x13fff1))throw new _0x677526(_0x4fca1d(0x109),this);const _0x111676=this[_0x4fca1d(0xbf)][_0x4fca1d(0xe4)][_0x4fca1d(0x18c)](_0x122fe8[_0x13fff1]),_0x4ebf75=this[_0x4fca1d(0xf2)][_0x4fca1d(0xbd)](_0x13fff1),_0x5c57fe=new _0xb74e41(_0x33b33d[_0x4fca1d(0x9e)](_0x4ebf75,0x0),_0x111676,_0x162ee4++);_0x2e6096[_0x4fca1d(0xab)](_0x5c57fe);for(const [_0x48e673,_0x140347]of _0x111676[_0x4fca1d(0x106)]){const _0x40193b=_0x33b33d[_0x4fca1d(0x18f)](_0x33b33d[_0x4fca1d(0xeb)](_0x4ebf75,_0x140347[_0x4fca1d(0x155)][_0x4fca1d(0x189)][_0x4fca1d(0xe0)]()),_0x33b33d[_0x4fca1d(0xeb)](_0x4ebf75,_0x140347[_0x4fca1d(0x12c)][_0x4fca1d(0x189)][_0x4fca1d(0xe0)]())),_0x5a33cd=new _0x2e702e(_0x48e673,null,_0x40193b,_0x33b33d[_0x4fca1d(0x106)],!0x0,_0x162ee4++);_0x2e6096[_0x4fca1d(0xab)](_0x5a33cd);}}if(_0x187b6b)for(const [_0x4e44f1,_0x587ba5]of Object[_0x4fca1d(0x13d)](_0x187b6b)){const _0x2f09a8=_0x33b33d[_0x4fca1d(0xc2)][_0x4fca1d(0xbd)](_0x4e44f1);if(!_0x2f09a8)throw new _0x677526(_0x4fca1d(0xb5),null);for(const [_0x4665cf,_0x2f742f]of Object[_0x4fca1d(0x13d)](_0x587ba5))if(null!==_0x2f742f){const _0x421ea2=new _0x129bdd(_0x2f09a8,_0x4665cf,null,_0x2f742f,_0x162ee4++);_0x2e6096[_0x4fca1d(0xab)](_0x421ea2);}}return _0x2e6096;}async[_0x4afd6c(0xef)](_0x3aad21,_0x3e7e69,_0x4b8bc2){const _0x4bd23f=_0x4afd6c;this[_0x4bd23f(0x177)]({[_0x3aad21]:_0x3e7e69},{[_0x3aad21]:_0x4b8bc2})[_0x4bd23f(0x174)]((_0x424668,_0x15300c)=>{const _0x3ab936=_0x4bd23f;_0x424668[_0x3ab936(0x18a)]=this[_0x3ab936(0xf2)][_0x3ab936(0xba)]+_0x15300c,_0x424668[_0x3ab936(0x19c)]=!0x0,this[_0x3ab936(0x150)](_0x424668);}),this[_0x4bd23f(0xd4)](),await this[_0x4bd23f(0xf7)]();}async[_0x4afd6c(0x124)](_0x3a9676,_0x5d8b45){const _0x4576e3=_0x4afd6c;let _0x1ad10d;this[_0x4576e3(0xc8)]=_0x3a9676[_0x4576e3(0x112)];const _0x19e525=_0x3a9676[_0x4576e3(0x102)]&&!_0x3a9676[_0x4576e3(0xc7)],_0x1f9cd4=_0x19e525?0x0:_0x3a9676[_0x4576e3(0xe4)][_0x4576e3(0x18a)];if(_0x5d8b45[_0x4576e3(0x174)](_0xcc307a=>{const _0x44ce8f=_0x4576e3;_0xcc307a[_0x44ce8f(0x19c)]=!0x0,_0xcc307a[_0x44ce8f(0x11a)]=_0x3a9676[_0x44ce8f(0xa0)],_0xcc307a[_0x44ce8f(0x9d)]=null;}),_0x19e525)_0x1ad10d=_0x5d8b45,this[_0x4576e3(0x19e)](_0x1ad10d,_0x19e525);else{if(_0x3a9676[_0x4576e3(0xc7)]){const _0x439823=this[_0x4576e3(0x177)](_0x3a9676[_0x4576e3(0xc7)]);this[_0x4576e3(0xf2)][_0x4576e3(0xd6)][_0x4576e3(0xba)]=-_0x439823[_0x4576e3(0xdb)],_0x439823[_0x4576e3(0x174)](_0x43774d=>{const _0x13635e=_0x4576e3;_0x43774d[_0x13635e(0x18a)]-=_0x439823[_0x13635e(0xdb)],_0x43774d[_0x13635e(0x11a)]=_0x3a9676[_0x13635e(0xa0)],_0x43774d[_0x13635e(0x19c)]=!0x0,_0x43774d[_0x13635e(0x9d)]=null;}),this[_0x4576e3(0x19e)](_0x439823,!0x0),this[_0x4576e3(0x153)][_0x4576e3(0xba)]=-_0x439823[_0x4576e3(0xdb)]+this[_0x4576e3(0xc8)],this[_0x4576e3(0x116)](_0x439823);}this[_0x4576e3(0xf2)][_0x4576e3(0xd6)][_0x4576e3(0xba)]=_0x1f9cd4,_0x1ad10d=this[_0x4576e3(0xe8)](_0x3a9676[_0x4576e3(0xe4)],_0x3a9676[_0x4576e3(0x143)]),await this[_0x4576e3(0x16b)](_0x1ad10d),this[_0x4576e3(0x19e)](_0x1ad10d,_0x19e525);}_0x3a9676[_0x4576e3(0x10d)]&&(this[_0x4576e3(0x12a)][_0x4576e3(0x170)](_0x1ad10d,_0x3a9676[_0x4576e3(0x10d)]),this[_0x4576e3(0x103)]=_0x3a9676[_0x4576e3(0x10d)]),this[_0x4576e3(0x153)][_0x4576e3(0xba)]=_0x1f9cd4+this[_0x4576e3(0xc8)],this[_0x4576e3(0x116)](_0x1ad10d),_0x5d8b45[_0x4576e3(0xc3)](_0x344ee0=>{const _0x14aa0f=_0x4576e3,_0x622c4e=this[_0x14aa0f(0x190)](_0x344ee0);return _0x622c4e&&!this[_0x14aa0f(0xaf)][_0x14aa0f(0x115)](_0x622c4e);})[_0x4576e3(0x174)]((_0x493c6d,_0x18209e)=>{const _0x2a95fa=_0x4576e3;_0x493c6d[_0x2a95fa(0x18a)]=this[_0x2a95fa(0xf2)][_0x2a95fa(0xba)]+_0x18209e,this[_0x2a95fa(0x150)](_0x493c6d);}),this[_0x4576e3(0xd1)]()?(this[_0x4576e3(0x162)]=0x0,this[_0x4576e3(0xd4)](!0x0),await this[_0x4576e3(0xf7)]()):(this[_0x4576e3(0x180)]=!0x1,this[_0x4576e3(0xd7)]());}[_0x4afd6c(0x195)](_0x4e1c84,_0xdc49f3){const _0x51236f=_0x4afd6c,_0x53b29e=_0xdc49f3&&_0xdc49f3[_0x51236f(0xdc)];if(_0x53b29e&&_0x53b29e[_0x51236f(0xa9)](_0x51236f(0xc1)))throw _0xdc49f3;const _0x115b4b=this[_0x51236f(0xbf)][_0x51236f(0x17b)][_0x51236f(0x118)](_0x5b20ad);throw this[_0x51236f(0x180)]=!0x0,_0x115b4b[_0x51236f(0x13a)](),this[_0x51236f(0xbf)][_0x51236f(0xf8)](_0x51236f(0x14c)),new _0x677526(_0x4e1c84,this[_0x51236f(0xbf)],_0x53b29e?{'originalError':_0x53b29e}:void 0x0);}[_0x4afd6c(0x150)](_0x40d088){const _0x554f36=_0x4afd6c;this[_0x554f36(0x19b)][_0x554f36(0x115)](_0x40d088)||(this[_0x554f36(0x19b)][_0x554f36(0xb6)](_0x40d088),this[_0x554f36(0xbc)][_0x554f36(0xab)](_0x40d088),this[_0x554f36(0x181)]||_0x554f36(0x137)==_0x40d088[_0x554f36(0xb7)]&&!_0x40d088[_0x554f36(0xa1)]||this[_0x554f36(0xa3)]());}[_0x4afd6c(0xd4)](_0x4e584a=!0x1){const _0x4fcc57=_0x4afd6c;!_0x4e584a&&this[_0x4fcc57(0x180)]||(this[_0x4fcc57(0x180)]=!0x0,clearTimeout(this[_0x4fcc57(0x173)]),this[_0x4fcc57(0x173)]=setTimeout(()=>{const _0x333650=_0x4fcc57;this[_0x333650(0xb3)]()[_0x333650(0x15a)](_0x44e0dd=>{const _0x20e4a5=_0x333650;_0x44e0dd&&(this[_0x20e4a5(0xd7)](),this[_0x20e4a5(0x180)]=!0x1);})[_0x333650(0x198)](_0x1164ed=>{const _0xf32a58=_0x333650;this[_0xf32a58(0xd7)](),this[_0xf32a58(0x180)]=!0x1,function(_0x5da0bf){const _0x56e4d9=_0xf32a58;return _0x5da0bf[_0x56e4d9(0xdc)][_0x56e4d9(0xa9)](_0x56e4d9(0x130))||_0x5da0bf[_0x56e4d9(0xdc)][_0x56e4d9(0xa9)](_0x56e4d9(0x13e))||_0x5da0bf[_0x56e4d9(0xdc)][_0x56e4d9(0xa9)](_0x56e4d9(0x17d));}(_0x1164ed)||this[_0xf32a58(0x195)](_0x1164ed[_0xf32a58(0xdc)],_0x1164ed);});},this[_0x4fcc57(0x162)]));}[_0x4afd6c(0xf7)](){return new Promise(_0xae9b39=>{const _0x2db520=_0x4029;this['on'](_0x2db520(0xa5),()=>{_0xae9b39();});});}async[_0x4afd6c(0xb3)](){const _0x5f026f=_0x4afd6c,_0x3b42bb=this[_0x5f026f(0xbf)][_0x5f026f(0x17b)][_0x5f026f(0x118)](_0x4cedd7);if(this[_0x5f026f(0x152)]()&&(_0x3b42bb[_0x5f026f(0x179)](),this[_0x5f026f(0x12f)]=!0x1),!this[_0x5f026f(0xd1)]())return!0x0;const _0x2e8ee2=[...this[_0x5f026f(0xbc)]];for(const _0x3faffd of _0x2e8ee2)_0x3faffd[_0x5f026f(0xcc)]=this[_0x5f026f(0xf2)][_0x5f026f(0xd6)][_0x5f026f(0x120)](_0x3faffd);const _0x3b862f=this[_0x5f026f(0x12a)][_0x5f026f(0x16a)](_0x2e8ee2),_0x195d32=H++,_0x58118d=this[_0x5f026f(0x1a1)](_0x2e8ee2),_0x3439b9=await this[_0x5f026f(0x158)][_0x5f026f(0xd9)](_0x58118d,_0x58118d[_0x5f026f(0x18a)],_0x3b862f);try{return await this[_0x5f026f(0x168)](_0x2e8ee2,_0x3439b9,_0x195d32);}catch(_0x570840){return this[_0x5f026f(0x195)](_0x5f026f(0x10b),_0x570840);}}async[_0x4afd6c(0x168)](_0x19e73a,_0x1d0787,_0x45563b){const _0x284048=_0x4afd6c;if(_0x284048(0x17c)in _0x1d0787)throw _0x1d0787[_0x284048(0x17c)];let _0x527979=!0x1;if(_0x1d0787[_0x284048(0x102)]){_0x1d0787[_0x284048(0x10d)]&&(this[_0x284048(0x103)]=_0x1d0787[_0x284048(0x10d)]),this[_0x284048(0xbc)]=this[_0x284048(0xbc)][_0x284048(0xc3)](_0x71aa0d=>!_0x19e73a[_0x284048(0xe7)](_0x71aa0d));for(const _0x44a9c6 of _0x19e73a)_0x44a9c6[_0x284048(0x11a)]=_0x284048(0x187)in _0x1d0787&&_0x1d0787[_0x284048(0x187)]||void 0x0;W(_0x19e73a,_0x1d0787[_0x284048(0xba)]-_0x19e73a[_0x284048(0xdb)]),this[_0x284048(0x116)](_0x19e73a);const _0x3b4662=_0x19e73a[_0x284048(0xc3)](_0x3ec376=>{const _0x2473d3=_0x284048;if(!_0x3ec376[_0x2473d3(0x19c)])return!0x1;const _0x144247=this[_0x2473d3(0x190)](_0x3ec376);return _0x144247&&!this[_0x2473d3(0xaf)][_0x2473d3(0x115)](_0x144247);});W(_0x3b4662,this[_0x284048(0xf2)][_0x284048(0xba)]),this[_0x284048(0x19e)](_0x3b4662),_0x527979=!0x0,this[_0x284048(0x162)]=this[_0x284048(0x122)];}else{const _0x44e716=this[_0x284048(0xe8)](_0x1d0787[_0x284048(0xe4)],_0x1d0787[_0x284048(0x143)])[_0x284048(0xc3)](_0x5aa0ba=>_0x5aa0ba[_0x284048(0x18a)]>=this[_0x284048(0xbb)]);_0x44e716[_0x284048(0x174)](_0x53fb41=>this[_0x284048(0xc5)](_0x53fb41)),this[_0x284048(0xbc)]=this[_0x284048(0xbc)][_0x284048(0xc3)](_0x15bba0=>!_0x15bba0[_0x284048(0x19c)]||!this[_0x284048(0xaf)][_0x284048(0x115)](this[_0x284048(0x190)](_0x15bba0))),this[_0x284048(0xbc)][_0x284048(0xdb)]&&W(this[_0x284048(0xbc)],this[_0x284048(0xbc)][0x0][_0x284048(0x18a)]),await this[_0x284048(0x16b)](_0x44e716),_0x527979=this[_0x284048(0xb9)](_0x44e716,_0x1d0787[_0x284048(0xba)],_0x1d0787[_0x284048(0x10d)]),this[_0x284048(0x162)]=Math[_0x284048(0x14b)](this[_0x284048(0x162)]/0x2);}return _0x527979?!this[_0x284048(0xd1)]()||(this[_0x284048(0xd4)](!0x0),!0x1):this[_0x284048(0x195)](_0x284048(0x14a));}[_0x4afd6c(0xb9)](_0x577289,_0x476698,_0x2cd97f){const _0x37a762=_0x4afd6c;try{const _0x2d4757={'document':this[_0x37a762(0xf2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1eacf2,operationsB:_0x5bbbed,originalOperations:_0x2b7112}=_0x587abf(_0x577289,this[_0x37a762(0xbc)],_0x2d4757);W(_0x1eacf2,this[_0x37a762(0xf2)][_0x37a762(0xba)]),W(_0x5bbbed,_0x476698);for(const _0x2a0342 of _0x1eacf2){const _0x514e7a=_0x2b7112[_0x37a762(0x118)](_0x2a0342);_0x2a0342[_0x37a762(0x9d)]=_0x514e7a?_0x514e7a[_0x37a762(0x9d)]:null;}_0x2cd97f&&(this[_0x37a762(0x12a)][_0x37a762(0x170)](_0x577289,_0x2cd97f),this[_0x37a762(0x103)]=_0x2cd97f),this[_0x37a762(0xbc)]=[..._0x5bbbed],this[_0x37a762(0x19e)](_0x1eacf2),this[_0x37a762(0x116)](_0x577289);}catch(_0x8cf077){return console[_0x37a762(0x17c)](_0x8cf077),!0x1;}return!0x0;}[_0x4afd6c(0x19e)](_0x11e3f4,_0x22619a=!0x1){const _0x3d3a46=_0x4afd6c;this[_0x3d3a46(0xbf)][_0x3d3a46(0xec)][_0x3d3a46(0xa6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4db82b=>{const _0x2ba464=_0x3d3a46;for(const _0x20b3fe of _0x11e3f4)this[_0x2ba464(0x19b)][_0x2ba464(0xb6)](_0x20b3fe),this[_0x2ba464(0xc5)](_0x20b3fe),_0x4db82b[_0x2ba464(0x12b)][_0x2ba464(0xce)](_0x20b3fe),this[_0x2ba464(0xbf)][_0x2ba464(0xec)][_0x2ba464(0x157)](_0x20b3fe);});}[_0x4afd6c(0xc5)](_0x4c5493){const _0x132689=_0x4afd6c,_0x1be4f3=this[_0x132689(0x190)](_0x4c5493);_0x1be4f3&&this[_0x132689(0xaf)][_0x132689(0xb6)](_0x1be4f3);}[_0x4afd6c(0x190)](_0x280f67){const _0x4e31ae=_0x4afd6c;let _0x4a96e6,_0x183317;switch(_0x280f67[_0x4e31ae(0xb7)]){case _0x4e31ae(0xfd):_0x4a96e6=_0x280f67[_0x4e31ae(0xf4)][_0x4e31ae(0x11b)];break;case _0x4e31ae(0x137):if(_0x183317=_0x280f67[_0x4e31ae(0x14d)],!_0x183317)return null;_0x4a96e6=_0x183317[_0x4e31ae(0x11b)];break;case _0x4e31ae(0xf3):_0x4a96e6=_0x280f67[_0x4e31ae(0x11b)];break;case _0x4e31ae(0x16d):_0x4a96e6=_0x280f67[_0x4e31ae(0x15e)];break;case _0x4e31ae(0x176):_0x4a96e6=_0x280f67[_0x4e31ae(0xbe)][_0x4e31ae(0x11b)];break;default:return null;}return _0x4a96e6[_0x4e31ae(0x18d)];}[_0x4afd6c(0x116)](_0x330ace){const _0x304b0c=_0x4afd6c;_0x330ace[_0x304b0c(0x174)](_0x56deca=>{const _0x32e878=_0x304b0c,_0x5c1569=_0x56deca[_0x32e878(0x113)]();_0x5c1569[_0x32e878(0x9d)]=_0x56deca[_0x32e878(0x9d)],_0x5c1569[_0x32e878(0x19c)]=!!_0x56deca[_0x32e878(0x19c)],_0x5c1569[_0x32e878(0x11a)]=_0x56deca[_0x32e878(0x11a)],_0x5c1569[_0x32e878(0x18a)]+=this[_0x32e878(0xc8)],_0x56deca[_0x32e878(0x18e)]&&this[_0x32e878(0x149)][_0x32e878(0xb6)](_0x5c1569),this[_0x32e878(0x153)][_0x32e878(0xce)](_0x5c1569);});}[_0x4afd6c(0x15c)](_0x1a69b6){const _0x4b0d13=_0x4afd6c,_0xb3f19a=this[_0x4b0d13(0xbf)][_0x4b0d13(0x17b)][_0x4b0d13(0x118)](_0x4b0d13(0xe1)),_0x43aeb5=this[_0x4b0d13(0xbf)][_0x4b0d13(0x16f)];_0x1a69b6||(_0x1a69b6=_0x1ffdd4(_0x43aeb5,_0x4b0d13(0xd0))),_0xb3f19a[_0x4b0d13(0x1a2)](_0x1a69b6,{'title':_0x1ffdd4(_0x43aeb5,_0x4b0d13(0x169)),'namespace':_0x4b0d13(0xd8)}),this[_0x4b0d13(0x15b)]=!0x0,clearTimeout(this[_0x4b0d13(0x173)]),this[_0x4b0d13(0xbc)]=[],this[_0x4b0d13(0xbf)][_0x4b0d13(0x17b)][_0x4b0d13(0x118)](_0x5b20ad)[_0x4b0d13(0x13a)]();}[_0x4afd6c(0xa3)](){const _0x57fff0=_0x4afd6c;this[_0x57fff0(0x181)]||(this[_0x57fff0(0x181)]=this[_0x57fff0(0xbf)][_0x57fff0(0x17b)][_0x57fff0(0x118)](_0x54c9b7)[_0x57fff0(0xb6)](_0x1ffdd4(this[_0x57fff0(0xbf)][_0x57fff0(0x16f)],_0x57fff0(0x133))));}[_0x4afd6c(0xd7)](){const _0x2d8aac=_0x4afd6c;this[_0x2d8aac(0x181)]&&(this[_0x2d8aac(0xbf)][_0x2d8aac(0x17b)][_0x2d8aac(0x118)](_0x54c9b7)[_0x2d8aac(0x104)](this[_0x2d8aac(0x181)]),this[_0x2d8aac(0x181)]=null);}[_0x4afd6c(0x1a1)](_0x3a349b){const _0x12b588=_0x4afd6c,_0x3207b5=_0x3a349b[_0x12b588(0xca)](_0x137f4a=>_0x137f4a[_0x12b588(0x17a)]());return this[_0x12b588(0x166)][_0x12b588(0x11f)](_0x3207b5);}[_0x4afd6c(0xe8)](_0x1123a5,_0x37d2de){const _0x43847b=_0x4afd6c;return this[_0x43847b(0x166)][_0x43847b(0xda)](_0x1123a5)[_0x43847b(0xca)]((_0x3e6030,_0x525959)=>{const _0x3be98f=_0x43847b,_0x5047c4=_0x3be98f(0x128)==_0x37d2de[_0x525959][_0x3be98f(0xb7)];if(_0x3be98f(0x178)==_0x3e6030[_0x3be98f(0x125)]){const _0x576621=_0x3e6030[_0x3be98f(0xf4)][_0x3be98f(0x11b)];!this[_0x3be98f(0xf2)][_0x3be98f(0xbd)](_0x576621)&&(this[_0x3be98f(0xf2)][_0x3be98f(0x138)](_0x3be98f(0xf6),_0x576621)[_0x3be98f(0x119)]=!0x1);}const _0x4b65fb=_0x11d0be[_0x3be98f(0x134)](_0x3e6030,this[_0x3be98f(0xf2)]);return _0x4b65fb[_0x3be98f(0xcc)]=_0x3e6030[_0x3be98f(0xcc)],_0x4b65fb[_0x3be98f(0x19c)]=_0x5047c4,_0x4b65fb[_0x3be98f(0x9d)]=_0x5047c4?null:_0x37d2de[_0x525959][_0x3be98f(0xb0)],_0x4b65fb[_0x3be98f(0x18e)]=_0x3be98f(0xde)===_0x37d2de[_0x525959][_0x3be98f(0xb7)],_0x4b65fb[_0x3be98f(0x11a)]=_0x37d2de[_0x525959][_0x3be98f(0x11a)],_0x4b65fb;});}[_0x4afd6c(0x127)](){const _0x1f4465=_0x4afd6c;this[_0x1f4465(0x12f)]=!0x0,this[_0x1f4465(0x152)]()?this[_0x1f4465(0xd4)]():this[_0x1f4465(0x12f)]=!0x1;}[_0x4afd6c(0x152)](){const _0x2614be=_0x4afd6c,_0x30b4ed=this[_0x2614be(0xbf)][_0x2614be(0x17b)][_0x2614be(0x118)](_0x192d17)[_0x2614be(0xb8)][_0x2614be(0x118)](this[_0x2614be(0x15d)]);return!this[_0x2614be(0xbf)][_0x2614be(0x163)]&&!!_0x30b4ed&&_0x30b4ed[_0x2614be(0xdb)]>0x1&&this[_0x2614be(0x12f)];}[_0x4afd6c(0xd1)](){const _0x1c4f73=_0x4afd6c;return this[_0x1c4f73(0xbc)][_0x1c4f73(0xdb)]>0x0||this[_0x1c4f73(0x152)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x20c60b,_0x188bb8){const _0x1dcf9d=_0x4afd6c;for(const _0x396b71 of _0x20c60b)_0x396b71[_0x1dcf9d(0x18a)]=_0x188bb8++;}class F{[_0x4afd6c(0x16e)];[_0x4afd6c(0xc9)];constructor(_0x2d0aa0){const _0x5bc7fb=_0x4afd6c;this[_0x5bc7fb(0x16e)]=_0x2d0aa0,this[_0x5bc7fb(0xc9)]=new WeakMap();}[_0x4afd6c(0x16a)](_0x5e58d1){const _0x597348=_0x4afd6c;let _0x11d624=_0x5e58d1[_0x597348(0xdb)];for(;_0x11d624--;){const _0xb91ead=_0x5e58d1[_0x11d624];if(!this[_0x597348(0x16e)][_0x597348(0x115)](_0xb91ead)){if(!this[_0x597348(0xc9)][_0x597348(0x115)](_0xb91ead)){const _0x2890e8=_0x59a422()[_0x597348(0xe0)](0x1,0x12);this[_0x597348(0xc9)][_0x597348(0x147)](_0xb91ead,_0x2890e8);}return this[_0x597348(0xc9)][_0x597348(0x118)](_0xb91ead);}}}[_0x4afd6c(0x170)](_0x133ed9,_0x319507){const _0x259cb1=_0x4afd6c;if(!_0x319507)return;let _0x5f21d3=_0x133ed9[_0x259cb1(0xdb)];for(;_0x5f21d3--;){const _0x212889=_0x133ed9[_0x5f21d3];this[_0x259cb1(0x16e)][_0x259cb1(0x115)](_0x212889)||this[_0x259cb1(0xc9)][_0x259cb1(0x147)](_0x212889,_0x319507);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1834e0=_0x20d0;(function(_0x81711b,_0xd97807){const _0x31f1fe=_0x20d0,_0x3a9340=_0x81711b();while(!![]){try{const _0x1ef4bc=-parseInt(_0x31f1fe(0x116))/0x1*(-parseInt(_0x31f1fe(0xf6))/0x2)+-parseInt(_0x31f1fe(0xf8))/0x3+-parseInt(_0x31f1fe(0x108))/0x4+parseInt(_0x31f1fe(0x10e))/0x5*(-parseInt(_0x31f1fe(0x11a))/0x6)+parseInt(_0x31f1fe(0xf7))/0x7*(-parseInt(_0x31f1fe(0xf4))/0x8)+-parseInt(_0x31f1fe(0x112))/0x9*(parseInt(_0x31f1fe(0x117))/0xa)+parseInt(_0x31f1fe(0x126))/0xb;if(_0x1ef4bc===_0xd97807)break;else _0x3a9340['push'](_0x3a9340['shift']());}catch(_0x327c9e){_0x3a9340['push'](_0x3a9340['shift']());}}}(_0x211f,0xd8675));import{ContextPlugin as _0x301990}from'ckeditor5/src/core.js';function _0x211f(){const _0x33610d=['42666Vjbqxk','Sessions','connection','getUserBySessionId','register','_handleSessionRemove','assign','delete','requires','_createUser','allConnectedUsers','plugins','56814934QFGiKG','orderNumber','fire','defineMe','getUserRole','connected','isMe','_uniqueUsersCount','pluginName','channelConnectedUsers','getUser','getUserSessions','context','7374304cDSSlt','_handleSessionAdd','290IpGdPL','7bJXGle','2076354yTZAOv','clear','sessions-register-already-registered','add','values','unregister','stopListening','forEach','role','isOfficialPlugin','has','listenTo','mySessionId','set','state','user','3118408luoeHa','_users','sessions-unregister-not-exist','_registeredSessions','get','sessionAdd:','1005sHWVvR','init','size','addUser','9iMDnuE','remove','channelSessions','change:state','8939GiPJQT','17519410mxJmtA','sessionId','isPremiumPlugin'];_0x211f=function(){return _0x33610d;};return _0x211f();}import{Collection as _0x401e84,CKEditorError as _0x5887fc}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4252a0}from'./websocketgateway.js';import{Users as _0xa48389}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x20d0(_0x161f5b,_0x17abdd){const _0x211fb0=_0x211f();return _0x20d0=function(_0x20d0b9,_0x2ae82c){_0x20d0b9=_0x20d0b9-0xf2;let _0xdc78e2=_0x211fb0[_0x20d0b9];return _0xdc78e2;},_0x20d0(_0x161f5b,_0x17abdd);}export class Sessions extends _0x301990{[_0x1834e0(0x114)];[_0x1834e0(0x12f)];[_0x1834e0(0x124)];[_0x1834e0(0x10b)];[_0x1834e0(0x12d)];[_0x1834e0(0x109)];static get[_0x1834e0(0x12e)](){const _0x4673fd=_0x1834e0;return _0x4673fd(0x11b);}static get[_0x1834e0(0x101)](){return!0x0;}static get[_0x1834e0(0x119)](){return!0x0;}static get[_0x1834e0(0x122)](){return[_0x4252a0,_0xa48389];}constructor(_0x4b2672){const _0x3efe9e=_0x1834e0;super(_0x4b2672),this[_0x3efe9e(0x114)]=new Map(),this[_0x3efe9e(0x12f)]=new Map(),this[_0x3efe9e(0x124)]=new _0x401e84(),this[_0x3efe9e(0x10b)]=new Map(),this[_0x3efe9e(0x12d)]=0x0,this[_0x3efe9e(0x109)]=this[_0x3efe9e(0xf3)][_0x3efe9e(0x125)][_0x3efe9e(0x10c)](_0xa48389);}[_0x1834e0(0x10f)](){const _0x32f2f3=_0x1834e0,_0x1ddaee=this[_0x32f2f3(0xf3)][_0x32f2f3(0x125)][_0x32f2f3(0x10c)](_0x4252a0);this[_0x32f2f3(0x103)](_0x1ddaee,_0x32f2f3(0x115),(_0x3aca19,_0x4384cd,_0x3e457a)=>{const _0x3436c3=_0x32f2f3;if(_0x3436c3(0x12b)!==_0x3e457a)this[_0x3436c3(0x114)][_0x3436c3(0xff)](_0x25adf0=>_0x25adf0[_0x3436c3(0xf9)]()),this[_0x3436c3(0x12f)][_0x3436c3(0xff)](_0xa817e8=>_0xa817e8[_0x3436c3(0xf9)]()),this[_0x3436c3(0x124)][_0x3436c3(0xf9)]();else{for(const [_0x43609e,_0x228662]of this[_0x3436c3(0x10b)])for(const _0x40a6d6 of _0x228662)this[_0x3436c3(0xf5)](_0x43609e,_0x40a6d6);}}),this[_0x32f2f3(0x123)](_0x1ddaee[_0x32f2f3(0x11c)]['me'],!0x0);}[_0x1834e0(0x11e)](_0x171c30,_0x3d779){const _0x3d4242=_0x1834e0;if(this[_0x3d4242(0x10b)][_0x3d4242(0x102)](_0x171c30))throw new _0x5887fc(_0x3d4242(0xfa),null,{'channelId':_0x171c30});this[_0x3d4242(0x10b)][_0x3d4242(0x105)](_0x171c30,_0x3d779),this[_0x3d4242(0x114)][_0x3d4242(0x105)](_0x171c30,new _0x401e84()),this[_0x3d4242(0x12f)][_0x3d4242(0x105)](_0x171c30,new _0x401e84()),this[_0x3d4242(0x103)](_0x3d779,_0x3d4242(0xfb),(_0x6d1103,_0x6d8c83)=>this[_0x3d4242(0xf5)](_0x171c30,_0x6d8c83)),this[_0x3d4242(0x103)](_0x3d779,_0x3d4242(0x113),(_0x434a7c,_0x46cbc1)=>this[_0x3d4242(0x11f)](_0x171c30,_0x46cbc1));for(const _0x12945b of _0x3d779)this[_0x3d4242(0xf5)](_0x171c30,_0x12945b);}[_0x1834e0(0xfd)](_0x2a410b){const _0x516d31=_0x1834e0;if(!this[_0x516d31(0x10b)][_0x516d31(0x102)](_0x2a410b))throw new _0x5887fc(_0x516d31(0x10a),null,{'channelId':_0x2a410b});const _0x104136=this[_0x516d31(0x10b)][_0x516d31(0x10c)](_0x2a410b);this[_0x516d31(0xfe)](_0x104136);for(const _0x2fcfbc of _0x104136)_0x516d31(0x12b)===this[_0x516d31(0xf3)][_0x516d31(0x125)][_0x516d31(0x10c)](_0x4252a0)[_0x516d31(0x106)]&&this[_0x516d31(0x11f)](_0x2a410b,_0x2fcfbc);this[_0x516d31(0x10b)][_0x516d31(0x121)](_0x2a410b),this[_0x516d31(0x114)][_0x516d31(0x121)](_0x2a410b),this[_0x516d31(0x12f)][_0x516d31(0x121)](_0x2a410b);}get[_0x1834e0(0x104)](){const _0x2060ad=_0x1834e0;return this[_0x2060ad(0xf3)][_0x2060ad(0x125)][_0x2060ad(0x10c)](_0x4252a0)[_0x2060ad(0x11c)][_0x2060ad(0x118)];}[_0x1834e0(0x11d)](_0x3ba150){const _0xb914a=_0x1834e0;for(const _0x5a944c of this[_0xb914a(0x114)][_0xb914a(0xfc)]())for(const _0x25b9f7 of _0x5a944c)if(_0x25b9f7['id']===_0x3ba150)return _0x25b9f7[_0xb914a(0x107)];}[_0x1834e0(0xf2)](_0x1da55b,_0x1a37b4){const _0x9b881d=_0x1834e0,_0x461e62=_0x1a37b4?[this[_0x9b881d(0x114)][_0x9b881d(0x10c)](_0x1a37b4)]:this[_0x9b881d(0x114)][_0x9b881d(0xfc)](),_0x410c88=new Set();for(const _0x147d0a of _0x461e62)for(const _0x60e410 of _0x147d0a)_0x60e410[_0x9b881d(0x107)]['id']===_0x1da55b['id']&&_0x410c88[_0x9b881d(0xfb)](_0x60e410['id']);return _0x410c88;}[_0x1834e0(0x12a)](_0xd96122){const _0x4177cb=_0x1834e0;for(const _0x3e5b20 of this[_0x4177cb(0x114)][_0x4177cb(0xfc)]())for(const _0x44448d of _0x3e5b20)if(_0x44448d[_0x4177cb(0x107)]===_0xd96122)return _0x44448d[_0x4177cb(0x100)];}[_0x1834e0(0xf5)](_0x2537d0,_0xaf7c96){const _0x43adec=_0x1834e0;if(_0x43adec(0x12b)!==this[_0x43adec(0xf3)][_0x43adec(0x125)][_0x43adec(0x10c)](_0x4252a0)[_0x43adec(0x106)])return;const _0x1a1b87=_0xaf7c96[_0x43adec(0x107)],_0x4a9fae=this[_0x43adec(0x109)][_0x43adec(0x130)](_0x1a1b87['id'])||this[_0x43adec(0x123)](_0x1a1b87),_0x1d30cb=Object[_0x43adec(0x120)]({},_0xaf7c96,{'user':_0x4a9fae});this[_0x43adec(0x114)][_0x43adec(0x10c)](_0x2537d0)[_0x43adec(0xfb)](_0x1d30cb);const _0x5bd2f0=this[_0x43adec(0x12f)][_0x43adec(0x10c)](_0x2537d0);_0x5bd2f0[_0x43adec(0x102)](_0x4a9fae['id'])||_0x5bd2f0[_0x43adec(0xfb)](_0x4a9fae),this[_0x43adec(0x124)][_0x43adec(0x102)](_0x4a9fae['id'])||this[_0x43adec(0x124)][_0x43adec(0xfb)](_0x4a9fae,_0x4a9fae[_0x43adec(0x12c)]?0x0:void 0x0),this[_0x43adec(0x128)](_0x43adec(0x10d)+_0x2537d0,{'channelId':_0x2537d0,'session':_0x1d30cb});}[_0x1834e0(0x11f)](_0x493763,_0x24d463){const _0x57efca=_0x1834e0;if(_0x57efca(0x12b)!==this[_0x57efca(0xf3)][_0x57efca(0x125)][_0x57efca(0x10c)](_0x4252a0)[_0x57efca(0x106)])return;const _0x26af35=this[_0x57efca(0x12f)][_0x57efca(0x10c)](_0x493763),_0x1d0b0b=_0x24d463[_0x57efca(0x107)];_0x1d0b0b['id']&&(this[_0x57efca(0x114)][_0x57efca(0x10c)](_0x493763)[_0x57efca(0x113)](_0x24d463['id']),_0x26af35[_0x57efca(0x102)](_0x1d0b0b['id'])&&!this[_0x57efca(0xf2)](_0x1d0b0b,_0x493763)[_0x57efca(0x110)]&&_0x26af35[_0x57efca(0x113)](_0x1d0b0b['id']),this[_0x57efca(0x124)][_0x57efca(0x10c)](_0x1d0b0b['id'])&&!this[_0x57efca(0xf2)](_0x1d0b0b)[_0x57efca(0x110)]&&this[_0x57efca(0x124)][_0x57efca(0x113)](_0x1d0b0b['id']));}[_0x1834e0(0x123)](_0x41c63e,_0x13aacf){const _0x5962a4=_0x1834e0,_0x163c50=this[_0x5962a4(0x109)][_0x5962a4(0x111)](_0x41c63e);return _0x13aacf&&this[_0x5962a4(0x109)][_0x5962a4(0x129)](_0x41c63e['id']),_0x163c50[_0x5962a4(0x127)]=this[_0x5962a4(0x12d)]++,_0x163c50;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x482868=_0x22c4;(function(_0x51715f,_0x389b6d){const _0xaba87d=_0x22c4,_0x51aa27=_0x51715f();while(!![]){try{const _0x3b9dbc=-parseInt(_0xaba87d(0xea))/0x1*(-parseInt(_0xaba87d(0xa2))/0x2)+-parseInt(_0xaba87d(0x9c))/0x3*(parseInt(_0xaba87d(0x9d))/0x4)+-parseInt(_0xaba87d(0xb8))/0x5+-parseInt(_0xaba87d(0xc1))/0x6+parseInt(_0xaba87d(0xdc))/0x7+parseInt(_0xaba87d(0xe2))/0x8+-parseInt(_0xaba87d(0xc9))/0x9*(-parseInt(_0xaba87d(0xd3))/0xa);if(_0x3b9dbc===_0x389b6d)break;else _0x51aa27['push'](_0x51aa27['shift']());}catch(_0x450340){_0x51aa27['push'](_0x51aa27['shift']());}}}(_0x129b,0xbf41a));function _0x129b(){const _0x28db56=['getAttribute','user:range:','undo','init','newRange','user:position:','toDomElement','plugins','contenteditable','stopListening','isCollapsed','requires','createElement','checkChild','classList','mouseleave','getContainedElement','detach','highest','delete','getPositions','isObject','applyOperation','getFirstRange','parent','batch','rootName','set','selection','hasContent','end','for','change','markerNameToElements','user:','editor','15vWKwzn','819028iqPDTR','_createdBatches','destroy','reconvertMarker','isDocumentOperation','196EtrtQk','root','_domEmitter','createUserMarkerOperations','view','keydown','isInline','markerRange','markerToElement','clear','toRange','marker','addMarker','false','getNearestSelectionRange','commands','setAttribute','spellcheck','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','updateMarker','textContent','isOfficialPlugin','4515825JsDTVT','enqueueChange','userPositionMarker','nodeAfter','removeClass','markers','isLimit','getUserBySessionId','setCustomProperty','5457168bfSpOJ','editing','getCustomProperty','element','listenTo','markerName','get','mapper','147213ySasOD','deletionPosition','mySessionId','remove','conversion','getMarkerClass','name','data-session-id','outerHTML','update:user:range','510sBWcUX','isSimilar','user:range','startsWith','getSelectionClass','type','$text','schema','getRange','538419mQZgnF','split','innerHTML','ck-user__selection','pluginName','removeMarker','10426576iiVWwG','add','start','createRange','change:range','editingDowncast','render','orderNumber','14341PCZQkE','isPremiumPlugin','mouseenter','tableCell','ck-user__marker_hovered','hasDomSelection','UserMarkers','afterInit','model','fromRange','getStart','user:position','ck-user__marker\x20','color','document','span','$graveyard','addEventListener','Escape','ck-user__marker-tooltip','createUIElement','has','oldRange','size','markerToHighlight'];_0x129b=function(){return _0x28db56;};return _0x129b();}import{Plugin as _0x4534fc}from'ckeditor5/src/core.js';import{global as _0x22f48b,DomEmitterMixin as _0x802dcb}from'ckeditor5/src/utils.js';import{Sessions as _0x38fa51}from'./sessions.js';import{ModelLiveRange as _0x3bd113}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x22c4(_0x517bf6,_0x55bb6a){const _0x129baf=_0x129b();return _0x22c4=function(_0x22c420,_0x150ef5){_0x22c420=_0x22c420-0x73;let _0xe84ddd=_0x129baf[_0x22c420];return _0xe84ddd;},_0x22c4(_0x517bf6,_0x55bb6a);}export class UserMarkers extends _0x4534fc{[_0x482868(0xa4)]=new(_0x802dcb())();static get[_0x482868(0x83)](){return[_0x38fa51];}static get[_0x482868(0xe0)](){const _0x294c6f=_0x482868;return _0x294c6f(0xf0);}static get[_0x482868(0xb7)](){return!0x0;}static get[_0x482868(0xeb)](){return!0x0;}[_0x482868(0x7b)](){const _0x390f7d=_0x482868,_0x394bcd=this[_0x390f7d(0x9b)],_0x1b80b6=_0x394bcd[_0x390f7d(0x7f)][_0x390f7d(0xc7)](_0x38fa51);_0x394bcd[_0x390f7d(0xcd)][_0x390f7d(0x97)](_0x390f7d(0xe7))[_0x390f7d(0xaa)]({'model':_0x390f7d(0xf5),'view':(_0x3c70fb,{writer:_0x299932})=>function(_0x1880fc,_0x18761e,_0x4a8762,_0x5634ed){const _0x30a3c4=_0x390f7d,_0x79b54a=_0x1880fc[_0x30a3c4(0xc6)][_0x30a3c4(0xdd)](':')[0x2],_0x476358=_0x4a8762[_0x30a3c4(0xbf)](_0x79b54a);if(!_0x476358||_0x79b54a===_0x4a8762[_0x30a3c4(0xcb)])return;if(!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)][_0x30a3c4(0x85)](_0x1880fc[_0x30a3c4(0xa9)][_0x30a3c4(0xe4)],_0x30a3c4(0xd9)))return;const _0x20b74f={'class':_0x30a3c4(0xf6)+_0x476358[_0x30a3c4(0xf7)][_0x30a3c4(0xce)](),'data-name':_0x476358[_0x30a3c4(0xcf)],'data-session-id':_0x79b54a},_0x2ae594=_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xbd)][_0x30a3c4(0xc7)](_0x1880fc[_0x30a3c4(0xc6)]),_0x583bad=_0x2ae594[_0x30a3c4(0xf4)](),_0x1e2dee=_0x583bad[_0x30a3c4(0xbb)],_0x29de2c=_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)];if(_0x1e2dee&&_0x29de2c[_0x30a3c4(0x8d)](_0x1e2dee)&&_0x29de2c[_0x30a3c4(0xa8)](_0x1e2dee)&&!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xbd)][_0x30a3c4(0xc7)](_0x30a3c4(0x79)+_0x79b54a)[_0x30a3c4(0xdb)]()[_0x30a3c4(0x82)])return;const _0x4d86af=_0x583bad[_0x30a3c4(0x90)];return _0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)][_0x30a3c4(0xbe)](_0x4d86af)&&!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0x95)](_0x4d86af)&&(_0x20b74f[_0x30a3c4(0x80)]=!0x1),function(_0xcda66f,_0x3b0181,_0x2145c9){const _0x16d009=_0x30a3c4,_0x337187=_0xcda66f[_0x16d009(0x73)](_0x16d009(0xf9),_0x3b0181);return _0xcda66f[_0x16d009(0xc0)](_0x16d009(0xba),!0x0,_0x337187),_0x337187[_0x16d009(0xe8)]=function(_0x5de661){const _0x2a030c=_0x16d009,_0x577bfc=this[_0x2a030c(0x7e)](_0x5de661),_0x40f031=document[_0x2a030c(0x84)](_0x2a030c(0xf9));return _0x40f031[_0x2a030c(0x86)][_0x2a030c(0xe3)](_0x2a030c(0xfd)),_0x40f031[_0x2a030c(0xb2)](_0x2a030c(0x80),_0x2a030c(0xaf)),_0x40f031[_0x2a030c(0xb2)](_0x2a030c(0xb3),_0x2a030c(0xaf)),_0x40f031[_0x2a030c(0xb6)]=_0x2145c9[_0x2a030c(0xcf)],_0x577bfc[_0x2a030c(0xde)]=_0x2a030c(0xb4)+_0x40f031[_0x2a030c(0xd1)]+'',_0x577bfc[_0x2a030c(0xfb)](_0x2a030c(0xec),()=>{const _0xee5764=_0x2a030c;_0x577bfc[_0xee5764(0x86)][_0xee5764(0xe3)](_0xee5764(0xee));}),_0x577bfc[_0x2a030c(0xfb)](_0x2a030c(0x87),()=>{const _0x162423=_0x2a030c;_0x577bfc[_0x162423(0x86)][_0x162423(0xcc)](_0x162423(0xee));}),_0x577bfc;},_0x337187[_0x16d009(0xd4)]=function(_0x569187){const _0x1f814b=_0x16d009;return!(!this[_0x1f814b(0xc3)](_0x1f814b(0xba))||!_0x569187[_0x1f814b(0xc3)](_0x1f814b(0xba))||this[_0x1f814b(0x78)](_0x1f814b(0xd0))!=_0x569187[_0x1f814b(0x78)](_0x1f814b(0xd0)));},_0x337187;}(_0x18761e,_0x20b74f,_0x476358);}(_0x3c70fb,_0x299932,_0x1b80b6,_0x394bcd)}),_0x394bcd[_0x390f7d(0xcd)][_0x390f7d(0x97)](_0x390f7d(0xe7))[_0x390f7d(0x77)]({'model':_0x390f7d(0xd5),'view':_0x4d70d5=>function(_0x691bce,_0x3e9a40){const _0x37697b=_0x390f7d,_0x22ac1e=_0x691bce[_0x37697b(0xc6)][_0x37697b(0xdd)](':')[0x2];if(_0x22ac1e===_0x3e9a40[_0x37697b(0xcb)])return null;const _0x449c85=_0x3e9a40[_0x37697b(0xbf)](_0x22ac1e);if(!_0x449c85)return{'id':_0x22ac1e,'classes':[]};return{'id':_0x22ac1e,'classes':[_0x37697b(0xdf),_0x449c85[_0x37697b(0xf7)][_0x37697b(0xd7)]()],'attributes':{'data-session-id':_0x22ac1e},'priority':0x7d0+_0x449c85[_0x37697b(0xe9)]};}(_0x4d70d5,_0x1b80b6)}),function(_0x4eae79){const _0x5484d4=_0x390f7d,_0x2b842f=_0x4eae79[_0x5484d4(0xf2)],_0x289482=new Map(),_0x598626=_0x4eae79[_0x5484d4(0x7f)][_0x5484d4(0xc7)](_0x38fa51);_0x2b842f[_0x5484d4(0xbd)]['on'](_0x5484d4(0xd2),(_0x3c29fa,_0x2fabcc,_0x482322,_0xde53b1)=>{const _0x4ef5f1=_0x5484d4;if(!_0xde53b1&&_0x289482[_0x4ef5f1(0xc7)](_0x2fabcc[_0x4ef5f1(0xcf)]))return _0x289482[_0x4ef5f1(0xc7)](_0x2fabcc[_0x4ef5f1(0xcf)])[_0x4ef5f1(0x89)](),void _0x289482[_0x4ef5f1(0x8b)](_0x2fabcc[_0x4ef5f1(0xcf)]);const _0x43d517=_0x2fabcc[_0x4ef5f1(0xcf)][_0x4ef5f1(0xdd)](':')[0x2];if(_0x43d517===_0x598626[_0x4ef5f1(0xcb)])return;const _0x4c0ca1=_0x4ef5f1(0x7d)+_0x43d517;_0x2b842f[_0x4ef5f1(0xbd)][_0x4ef5f1(0x74)](_0x4c0ca1)&&_0x4eae79[_0x4ef5f1(0xc2)][_0x4ef5f1(0xa0)](_0x4c0ca1),_0x2fabcc['on'](_0x4ef5f1(0xe6),(_0x39fd29,_0x1b5c9c,_0x29e7cb)=>{const _0x5a7e36=_0x4ef5f1;if(_0x5a7e36(0xfa)!=_0x1b5c9c[_0x5a7e36(0xa3)][_0x5a7e36(0x92)]&&_0x5a7e36(0xfa)==_0x2fabcc[_0x5a7e36(0xdb)]()[_0x5a7e36(0xa3)][_0x5a7e36(0x92)]&&!_0x289482[_0x5a7e36(0x74)](_0x2fabcc[_0x5a7e36(0xcf)])){const _0xad5be0=_0x2b842f[_0x5a7e36(0xda)][_0x5a7e36(0xb0)](_0x29e7cb[_0x5a7e36(0xca)]);if(_0xad5be0){const _0x5a1c7c=_0x3bd113[_0x5a7e36(0xf3)](_0xad5be0);_0x289482[_0x5a7e36(0x93)](_0x2fabcc[_0x5a7e36(0xcf)],_0x5a1c7c),_0x5a1c7c['on'](_0x5a7e36(0xe6),(_0x3e680a,_0x4396d0,_0x15f50c)=>{const _0x57adbe=_0x5a7e36;if(_0x57adbe(0xfa)==_0x5a1c7c[_0x57adbe(0xa3)][_0x57adbe(0x92)]){const _0x2410b4=_0x2b842f[_0x57adbe(0xda)][_0x57adbe(0xb0)](_0x15f50c[_0x57adbe(0xca)]);_0x2410b4?(_0x5a1c7c[_0x57adbe(0xe4)]=_0x2410b4[_0x57adbe(0xe4)],_0x5a1c7c[_0x57adbe(0x96)]=_0x2410b4[_0x57adbe(0x96)]):(_0x289482[_0x57adbe(0x8b)](_0x2fabcc[_0x57adbe(0xcf)]),_0x5a1c7c[_0x57adbe(0x89)]());}});}}});}),_0x2b842f[_0x5484d4(0xf8)]['on'](_0x5484d4(0x98),()=>{const _0x514249=_0x5484d4;_0x289482[_0x514249(0x76)]>0x0&&_0x2b842f[_0x514249(0xb9)]({'isUndoable':!0x1},_0x4e288b=>{const _0x18e0ea=_0x514249;for(const [_0x15b110,_0x35568c]of _0x289482)_0x18e0ea(0xfa)==_0x2b842f[_0x18e0ea(0xbd)][_0x18e0ea(0xc7)](_0x15b110)[_0x18e0ea(0xdb)]()[_0x18e0ea(0xa3)][_0x18e0ea(0x92)]&&(J(_0x15b110[_0x18e0ea(0xdd)](':')[0x2],_0x35568c[_0x18e0ea(0xac)](),_0x2b842f,_0x4e288b),_0x35568c[_0x18e0ea(0x89)]());_0x289482[_0x18e0ea(0xab)]();});});}(_0x394bcd),this[_0x390f7d(0xa4)][_0x390f7d(0xc5)](_0x22f48b[_0x390f7d(0xf8)],_0x390f7d(0xa7),(_0x16f8c1,{key:_0x2ddb89})=>{const _0x3ae48c=_0x390f7d;_0x3ae48c(0xfc)===_0x2ddb89&&function(_0x4a337f){const _0x46a585=_0x3ae48c;_0x4a337f[_0x46a585(0xc2)][_0x46a585(0xa6)][_0x46a585(0x98)](_0x23b0d6=>{const _0x29726f=_0x46a585;for(const _0x5759e6 of _0x4a337f[_0x29726f(0xf2)][_0x29726f(0xbd)]){if(!_0x5759e6[_0x29726f(0xcf)][_0x29726f(0xd6)](_0x29726f(0xf5)))continue;const _0x145224=_0x4a337f[_0x29726f(0xc2)][_0x29726f(0xc8)][_0x29726f(0x99)](_0x5759e6[_0x29726f(0xcf)]);if(_0x145224){for(const _0x4f45d2 of _0x145224)_0x23b0d6[_0x29726f(0xbc)](_0x29726f(0xee),_0x4f45d2);}}});}(_0x394bcd);},{'useCapture':!0x0});}[_0x482868(0xf1)](){const _0xf5c2c2=_0x482868,_0x1d35bc=this[_0xf5c2c2(0x9b)],_0x136d1a=_0x1d35bc[_0xf5c2c2(0xb1)][_0xf5c2c2(0xc7)](_0xf5c2c2(0x7a));_0x136d1a&&_0x1d35bc[_0xf5c2c2(0xf2)]['on'](_0xf5c2c2(0x8e),(_0x530890,_0x352b19)=>{const _0x364dd6=_0xf5c2c2,_0x199634=_0x352b19[0x0];if(!_0x199634[_0x364dd6(0xa1)])return;if(_0x364dd6(0xad)!=_0x199634[_0x364dd6(0xd8)]||!_0x199634[_0x364dd6(0xcf)][_0x364dd6(0xd6)](_0x364dd6(0x9a)))return;const _0x3cb64d=_0x199634[_0x364dd6(0x91)];_0x136d1a[_0x364dd6(0x9e)][_0x364dd6(0x74)](_0x3cb64d)&&(_0x199634[_0x364dd6(0x7c)]=_0x199634[_0x364dd6(0x75)]?_0x1d35bc[_0x364dd6(0xf2)][_0x364dd6(0xe5)](_0x199634[_0x364dd6(0x75)][_0x364dd6(0xe4)],_0x199634[_0x364dd6(0x75)][_0x364dd6(0x96)]):null);},{'priority':_0xf5c2c2(0x8a)});}[_0x482868(0x9f)](){const _0x53eefb=_0x482868;return this[_0x53eefb(0xa4)][_0x53eefb(0x81)](),super[_0x53eefb(0x9f)]();}[_0x482868(0xa5)](){const _0x35a4c6=_0x482868,_0x19ba90=this[_0x35a4c6(0x9b)],_0x1779bd=_0x19ba90[_0x35a4c6(0xf2)][_0x35a4c6(0xf8)],_0x562ee8=_0x19ba90[_0x35a4c6(0x7f)][_0x35a4c6(0xc7)](_0x38fa51);_0x19ba90[_0x35a4c6(0xf2)][_0x35a4c6(0xb9)]({'isUndoable':!0x1},_0x31377c=>{const _0x5b3a44=_0x35a4c6,_0x1bc627=_0x5b3a44(0x79)+_0x562ee8[_0x5b3a44(0xcb)],_0x201924=_0x5b3a44(0x7d)+_0x562ee8[_0x5b3a44(0xcb)],_0xd24388=_0x19ba90[_0x5b3a44(0xf2)][_0x5b3a44(0xbd)][_0x5b3a44(0x74)](_0x1bc627);_0x19ba90[_0x5b3a44(0xc2)][_0x5b3a44(0xa6)][_0x5b3a44(0xef)]?J(_0x562ee8[_0x5b3a44(0xcb)],_0x1779bd[_0x5b3a44(0x94)][_0x5b3a44(0x8f)](),_0x19ba90[_0x5b3a44(0xf2)],_0x31377c):_0xd24388&&(_0x31377c[_0x5b3a44(0xe1)](_0x1bc627),_0x31377c[_0x5b3a44(0xe1)](_0x201924));});}}function J(_0x3922ed,_0x538e67,_0x21d24d,_0x12c22d){const _0x3a2565=_0x482868,_0x68a786=_0x3a2565(0x79)+_0x3922ed,_0x5de20f=_0x3a2565(0x7d)+_0x3922ed,_0x3d5ef3=_0x538e67[_0x3a2565(0x88)]();let _0x19657e=_0x538e67[_0x3a2565(0xe4)];if(_0x3d5ef3&&_0x3d5ef3['is'](_0x3a2565(0xc4),_0x3a2565(0xed))){const _0x337715=function(_0x1a1044,_0x2326ba){const _0x1607b1=_0x3a2565;for(const _0x1e1d0d of _0x1a1044[_0x1607b1(0x8c)]())if(_0x2326ba[_0x1607b1(0xda)][_0x1607b1(0x85)](_0x1e1d0d,_0x1607b1(0xd9)))return _0x1e1d0d;}(_0x538e67,_0x21d24d);_0x337715&&(_0x19657e=_0x337715,_0x538e67=_0x12c22d[_0x3a2565(0xe5)](_0x19657e));}const _0x25df51=_0x12c22d[_0x3a2565(0xe5)](_0x19657e);_0x21d24d[_0x3a2565(0xbd)][_0x3a2565(0x74)](_0x68a786)?(_0x12c22d[_0x3a2565(0xb5)](_0x68a786,{'range':_0x538e67}),_0x12c22d[_0x3a2565(0xb5)](_0x5de20f,{'range':_0x25df51})):(_0x12c22d[_0x3a2565(0xae)](_0x68a786,{'range':_0x538e67,'usingOperation':!0x0}),_0x12c22d[_0x3a2565(0xae)](_0x5de20f,{'range':_0x25df51,'usingOperation':!0x0}));}
|
|
23
|
+
function _0xd067(){const _0xf290ca=['isOfficialPlugin','isInline','getUserBySessionId','addMarker','setCustomProperty','addEventListener','delete','color','user:','609133ELLuJg','clear','toDomElement','deletionPosition','keydown','ck-user__marker-tooltip','spellcheck','update:user:range','createUserMarkerOperations','536JFMMYY','checkChild','isCollapsed','createUIElement','add','for','listenTo','426786LUrynz','false','editor','conversion','$text','editingDowncast','has','user:range:','markers','marker','mySessionId','35321gEXfhk','reconvertMarker','mapper','batch','contenteditable','applyOperation','getCustomProperty','getRange','Escape','innerHTML','UserMarkers','markerNameToElements','removeMarker','get','user:position:','getAttribute','rootName','setAttribute','parent','classList','outerHTML','16925vrkwuO','remove','change:range','updateMarker','highest','tableCell','newRange','createRange','ck-user__selection','removeClass','type','destroy','mouseenter','data-session-id','5330ayqgJF','schema','start','createElement','getFirstRange','markerName','36XwaUbg','getContainedElement','isDocumentOperation','14687QAiIMQ','commands','getMarkerClass','markerToElement','init','fromRange','detach','markerRange','view','change','670752wRlKTm','isSimilar','_createdBatches','isLimit','getNearestSelectionRange','split','8stMqcw','plugins','$graveyard','editing','isObject','requires','oldRange','undo','orderNumber','ck-user__marker\x20','name','afterInit','hasContent','document','user:range','userPositionMarker','_domEmitter','toRange','mouseleave','hasDomSelection','getStart','textContent','set','ck-user__marker_hovered','enqueueChange','markerToHighlight','pluginName','nodeAfter','stopListening','isPremiumPlugin','getSelectionClass','user:position','render','element','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','root','selection','getPositions','3900132gvAoTy','model','size','end','startsWith','span'];_0xd067=function(){return _0xf290ca;};return _0xd067();}const _0x23900f=_0x3c6d;(function(_0x4bc9b5,_0x5a6d9e){const _0x2da9df=_0x3c6d,_0x55d5e2=_0x4bc9b5();while(!![]){try{const _0x58e02b=-parseInt(_0x2da9df(0x12d))/0x1*(parseInt(_0x2da9df(0x13d))/0x2)+parseInt(_0x2da9df(0x182))/0x3+-parseInt(_0x2da9df(0x17b))/0x4*(parseInt(_0x2da9df(0x1a2))/0x5)+-parseInt(_0x2da9df(0x12a))/0x6*(parseInt(_0x2da9df(0x172))/0x7)+-parseInt(_0x2da9df(0x137))/0x8+-parseInt(_0x2da9df(0x163))/0x9+-parseInt(_0x2da9df(0x124))/0xa*(-parseInt(_0x2da9df(0x18d))/0xb);if(_0x58e02b===_0x5a6d9e)break;else _0x55d5e2['push'](_0x55d5e2['shift']());}catch(_0x3f2026){_0x55d5e2['push'](_0x55d5e2['shift']());}}}(_0xd067,0x49c01));import{Plugin as _0x3b0c83}from'ckeditor5/src/core.js';import{global as _0x13a9c3,DomEmitterMixin as _0x206e3d}from'ckeditor5/src/utils.js';function _0x3c6d(_0x4d1c98,_0x5d83d7){const _0xd06703=_0xd067();return _0x3c6d=function(_0x3c6d5e,_0x5eb5cd){_0x3c6d5e=_0x3c6d5e-0x11c;let _0x299206=_0xd06703[_0x3c6d5e];return _0x299206;},_0x3c6d(_0x4d1c98,_0x5d83d7);}import{Sessions as _0x55341d}from'./sessions.js';import{ModelLiveRange as _0x365cdb}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3b0c83{[_0x23900f(0x14d)]=new(_0x206e3d())();static get[_0x23900f(0x142)](){return[_0x55341d];}static get[_0x23900f(0x157)](){const _0x47255d=_0x23900f;return _0x47255d(0x197);}static get[_0x23900f(0x169)](){return!0x0;}static get[_0x23900f(0x15a)](){return!0x0;}[_0x23900f(0x131)](){const _0x5e8884=_0x23900f,_0x67b830=this[_0x5e8884(0x184)],_0x2f0a71=_0x67b830[_0x5e8884(0x13e)][_0x5e8884(0x19a)](_0x55341d);_0x67b830[_0x5e8884(0x185)][_0x5e8884(0x180)](_0x5e8884(0x187))[_0x5e8884(0x130)]({'model':_0x5e8884(0x15c),'view':(_0x276e20,{writer:_0xd89d68})=>function(_0x385751,_0x1d2280,_0x12863a,_0xfbbd1e){const _0x309f6=_0x5e8884,_0x445046=_0x385751[_0x309f6(0x129)][_0x309f6(0x13c)](':')[0x2],_0x575e2a=_0x12863a[_0x309f6(0x16b)](_0x445046);if(!_0x575e2a||_0x445046===_0x12863a[_0x309f6(0x18c)])return;if(!_0xfbbd1e[_0x309f6(0x164)][_0x309f6(0x125)][_0x309f6(0x17c)](_0x385751[_0x309f6(0x134)][_0x309f6(0x126)],_0x309f6(0x186)))return;const _0x4f5635={'class':_0x309f6(0x146)+_0x575e2a[_0x309f6(0x170)][_0x309f6(0x12f)](),'data-name':_0x575e2a[_0x309f6(0x147)],'data-session-id':_0x445046},_0x53c8e7=_0xfbbd1e[_0x309f6(0x164)][_0x309f6(0x18a)][_0x309f6(0x19a)](_0x385751[_0x309f6(0x129)]),_0x32aad1=_0x53c8e7[_0x309f6(0x151)](),_0x376842=_0x32aad1[_0x309f6(0x158)],_0x46b8b7=_0xfbbd1e[_0x309f6(0x164)][_0x309f6(0x125)];if(_0x376842&&_0x46b8b7[_0x309f6(0x141)](_0x376842)&&_0x46b8b7[_0x309f6(0x16a)](_0x376842)&&!_0xfbbd1e[_0x309f6(0x164)][_0x309f6(0x18a)][_0x309f6(0x19a)](_0x309f6(0x189)+_0x445046)[_0x309f6(0x194)]()[_0x309f6(0x17d)])return;const _0x5983c6=_0x32aad1[_0x309f6(0x19f)];return _0xfbbd1e[_0x309f6(0x164)][_0x309f6(0x125)][_0x309f6(0x13a)](_0x5983c6)&&!_0xfbbd1e[_0x309f6(0x164)][_0x309f6(0x149)](_0x5983c6)&&(_0x4f5635[_0x309f6(0x191)]=!0x1),function(_0x4262f5,_0x29d253,_0x27d33c){const _0x3b668e=_0x309f6,_0x2d32bd=_0x4262f5[_0x3b668e(0x17e)](_0x3b668e(0x168),_0x29d253);return _0x4262f5[_0x3b668e(0x16d)](_0x3b668e(0x14c),!0x0,_0x2d32bd),_0x2d32bd[_0x3b668e(0x15d)]=function(_0x243f74){const _0x106a30=_0x3b668e,_0x20adcf=this[_0x106a30(0x174)](_0x243f74),_0x4632a5=document[_0x106a30(0x127)](_0x106a30(0x168));return _0x4632a5[_0x106a30(0x1a0)][_0x106a30(0x17f)](_0x106a30(0x177)),_0x4632a5[_0x106a30(0x19e)](_0x106a30(0x191),_0x106a30(0x183)),_0x4632a5[_0x106a30(0x19e)](_0x106a30(0x178),_0x106a30(0x183)),_0x4632a5[_0x106a30(0x152)]=_0x27d33c[_0x106a30(0x147)],_0x20adcf[_0x106a30(0x196)]=_0x106a30(0x15f)+_0x4632a5[_0x106a30(0x1a1)]+'',_0x20adcf[_0x106a30(0x16e)](_0x106a30(0x122),()=>{const _0x4e23ec=_0x106a30;_0x20adcf[_0x4e23ec(0x1a0)][_0x4e23ec(0x17f)](_0x4e23ec(0x154));}),_0x20adcf[_0x106a30(0x16e)](_0x106a30(0x14f),()=>{const _0x2fc564=_0x106a30;_0x20adcf[_0x2fc564(0x1a0)][_0x2fc564(0x1a3)](_0x2fc564(0x154));}),_0x20adcf;},_0x2d32bd[_0x3b668e(0x138)]=function(_0x3dbaf6){const _0x13423c=_0x3b668e;return!(!this[_0x13423c(0x193)](_0x13423c(0x14c))||!_0x3dbaf6[_0x13423c(0x193)](_0x13423c(0x14c))||this[_0x13423c(0x19c)](_0x13423c(0x123))!=_0x3dbaf6[_0x13423c(0x19c)](_0x13423c(0x123)));},_0x2d32bd;}(_0x1d2280,_0x4f5635,_0x575e2a);}(_0x276e20,_0xd89d68,_0x2f0a71,_0x67b830)}),_0x67b830[_0x5e8884(0x185)][_0x5e8884(0x180)](_0x5e8884(0x187))[_0x5e8884(0x156)]({'model':_0x5e8884(0x14b),'view':_0x4c978a=>function(_0x15637c,_0x5eb64a){const _0x3f56df=_0x5e8884,_0x323756=_0x15637c[_0x3f56df(0x129)][_0x3f56df(0x13c)](':')[0x2];if(_0x323756===_0x5eb64a[_0x3f56df(0x18c)])return null;const _0x1be2b8=_0x5eb64a[_0x3f56df(0x16b)](_0x323756);if(!_0x1be2b8)return{'id':_0x323756,'classes':[]};return{'id':_0x323756,'classes':[_0x3f56df(0x11e),_0x1be2b8[_0x3f56df(0x170)][_0x3f56df(0x15b)]()],'attributes':{'data-session-id':_0x323756},'priority':0x7d0+_0x1be2b8[_0x3f56df(0x145)]};}(_0x4c978a,_0x2f0a71)}),function(_0x315926){const _0x1fa378=_0x5e8884,_0x36d385=_0x315926[_0x1fa378(0x164)],_0x5a1bdf=new Map(),_0x5e78f8=_0x315926[_0x1fa378(0x13e)][_0x1fa378(0x19a)](_0x55341d);_0x36d385[_0x1fa378(0x18a)]['on'](_0x1fa378(0x179),(_0x4db3c0,_0x5b6a46,_0x32eabd,_0x3b0a08)=>{const _0x438736=_0x1fa378;if(!_0x3b0a08&&_0x5a1bdf[_0x438736(0x19a)](_0x5b6a46[_0x438736(0x147)]))return _0x5a1bdf[_0x438736(0x19a)](_0x5b6a46[_0x438736(0x147)])[_0x438736(0x133)](),void _0x5a1bdf[_0x438736(0x16f)](_0x5b6a46[_0x438736(0x147)]);const _0x326f12=_0x5b6a46[_0x438736(0x147)][_0x438736(0x13c)](':')[0x2];if(_0x326f12===_0x5e78f8[_0x438736(0x18c)])return;const _0x4efdae=_0x438736(0x19b)+_0x326f12;_0x36d385[_0x438736(0x18a)][_0x438736(0x188)](_0x4efdae)&&_0x315926[_0x438736(0x140)][_0x438736(0x18e)](_0x4efdae),_0x5b6a46['on'](_0x438736(0x1a4),(_0x534786,_0x3b35f2,_0x42908b)=>{const _0x1dac84=_0x438736;if(_0x1dac84(0x13f)!=_0x3b35f2[_0x1dac84(0x160)][_0x1dac84(0x19d)]&&_0x1dac84(0x13f)==_0x5b6a46[_0x1dac84(0x194)]()[_0x1dac84(0x160)][_0x1dac84(0x19d)]&&!_0x5a1bdf[_0x1dac84(0x188)](_0x5b6a46[_0x1dac84(0x147)])){const _0x5c7131=_0x36d385[_0x1dac84(0x125)][_0x1dac84(0x13b)](_0x42908b[_0x1dac84(0x175)]);if(_0x5c7131){const _0x37513c=_0x365cdb[_0x1dac84(0x132)](_0x5c7131);_0x5a1bdf[_0x1dac84(0x153)](_0x5b6a46[_0x1dac84(0x147)],_0x37513c),_0x37513c['on'](_0x1dac84(0x1a4),(_0x5c0457,_0x5c24c1,_0x305dcf)=>{const _0x5ac88a=_0x1dac84;if(_0x5ac88a(0x13f)==_0x37513c[_0x5ac88a(0x160)][_0x5ac88a(0x19d)]){const _0x4f7271=_0x36d385[_0x5ac88a(0x125)][_0x5ac88a(0x13b)](_0x305dcf[_0x5ac88a(0x175)]);_0x4f7271?(_0x37513c[_0x5ac88a(0x126)]=_0x4f7271[_0x5ac88a(0x126)],_0x37513c[_0x5ac88a(0x166)]=_0x4f7271[_0x5ac88a(0x166)]):(_0x5a1bdf[_0x5ac88a(0x16f)](_0x5b6a46[_0x5ac88a(0x147)]),_0x37513c[_0x5ac88a(0x133)]());}});}}});}),_0x36d385[_0x1fa378(0x14a)]['on'](_0x1fa378(0x136),()=>{const _0x411ef6=_0x1fa378;_0x5a1bdf[_0x411ef6(0x165)]>0x0&&_0x36d385[_0x411ef6(0x155)]({'isUndoable':!0x1},_0x4ae1d7=>{const _0x33d71a=_0x411ef6;for(const [_0x417c50,_0x22c2c0]of _0x5a1bdf)_0x33d71a(0x13f)==_0x36d385[_0x33d71a(0x18a)][_0x33d71a(0x19a)](_0x417c50)[_0x33d71a(0x194)]()[_0x33d71a(0x160)][_0x33d71a(0x19d)]&&(J(_0x417c50[_0x33d71a(0x13c)](':')[0x2],_0x22c2c0[_0x33d71a(0x14e)](),_0x36d385,_0x4ae1d7),_0x22c2c0[_0x33d71a(0x133)]());_0x5a1bdf[_0x33d71a(0x173)]();});});}(_0x67b830),this[_0x5e8884(0x14d)][_0x5e8884(0x181)](_0x13a9c3[_0x5e8884(0x14a)],_0x5e8884(0x176),(_0x3b8a47,{key:_0x5674aa})=>{const _0x124383=_0x5e8884;_0x124383(0x195)===_0x5674aa&&function(_0xc1e93){const _0x314c47=_0x124383;_0xc1e93[_0x314c47(0x140)][_0x314c47(0x135)][_0x314c47(0x136)](_0xb111ae=>{const _0x25b651=_0x314c47;for(const _0x358962 of _0xc1e93[_0x25b651(0x164)][_0x25b651(0x18a)]){if(!_0x358962[_0x25b651(0x147)][_0x25b651(0x167)](_0x25b651(0x15c)))continue;const _0x443ff9=_0xc1e93[_0x25b651(0x140)][_0x25b651(0x18f)][_0x25b651(0x198)](_0x358962[_0x25b651(0x147)]);if(_0x443ff9){for(const _0x198a47 of _0x443ff9)_0xb111ae[_0x25b651(0x11f)](_0x25b651(0x154),_0x198a47);}}});}(_0x67b830);},{'useCapture':!0x0});}[_0x23900f(0x148)](){const _0x365902=_0x23900f,_0x5e69e9=this[_0x365902(0x184)],_0x1e9f8b=_0x5e69e9[_0x365902(0x12e)][_0x365902(0x19a)](_0x365902(0x144));_0x1e9f8b&&_0x5e69e9[_0x365902(0x164)]['on'](_0x365902(0x192),(_0x131b98,_0x3d7607)=>{const _0x49ae80=_0x365902,_0x2c0e15=_0x3d7607[0x0];if(!_0x2c0e15[_0x49ae80(0x12c)])return;if(_0x49ae80(0x18b)!=_0x2c0e15[_0x49ae80(0x120)]||!_0x2c0e15[_0x49ae80(0x147)][_0x49ae80(0x167)](_0x49ae80(0x171)))return;const _0x5cc96d=_0x2c0e15[_0x49ae80(0x190)];_0x1e9f8b[_0x49ae80(0x139)][_0x49ae80(0x188)](_0x5cc96d)&&(_0x2c0e15[_0x49ae80(0x11c)]=_0x2c0e15[_0x49ae80(0x143)]?_0x5e69e9[_0x49ae80(0x164)][_0x49ae80(0x11d)](_0x2c0e15[_0x49ae80(0x143)][_0x49ae80(0x126)],_0x2c0e15[_0x49ae80(0x143)][_0x49ae80(0x166)]):null);},{'priority':_0x365902(0x1a6)});}[_0x23900f(0x121)](){const _0x1909b2=_0x23900f;return this[_0x1909b2(0x14d)][_0x1909b2(0x159)](),super[_0x1909b2(0x121)]();}[_0x23900f(0x17a)](){const _0xd000d3=_0x23900f,_0x42dcb3=this[_0xd000d3(0x184)],_0x1cd7b8=_0x42dcb3[_0xd000d3(0x164)][_0xd000d3(0x14a)],_0x574c07=_0x42dcb3[_0xd000d3(0x13e)][_0xd000d3(0x19a)](_0x55341d);_0x42dcb3[_0xd000d3(0x164)][_0xd000d3(0x155)]({'isUndoable':!0x1},_0xf8e752=>{const _0x760bf9=_0xd000d3,_0x367530=_0x760bf9(0x189)+_0x574c07[_0x760bf9(0x18c)],_0x13b435=_0x760bf9(0x19b)+_0x574c07[_0x760bf9(0x18c)],_0x74d798=_0x42dcb3[_0x760bf9(0x164)][_0x760bf9(0x18a)][_0x760bf9(0x188)](_0x367530);_0x42dcb3[_0x760bf9(0x140)][_0x760bf9(0x135)][_0x760bf9(0x150)]?J(_0x574c07[_0x760bf9(0x18c)],_0x1cd7b8[_0x760bf9(0x161)][_0x760bf9(0x128)](),_0x42dcb3[_0x760bf9(0x164)],_0xf8e752):_0x74d798&&(_0xf8e752[_0x760bf9(0x199)](_0x367530),_0xf8e752[_0x760bf9(0x199)](_0x13b435));});}}function J(_0x1f39d3,_0x457d49,_0x4eee30,_0x5c80de){const _0x2b0f6d=_0x23900f,_0x4b499b=_0x2b0f6d(0x189)+_0x1f39d3,_0x3f27d7=_0x2b0f6d(0x19b)+_0x1f39d3,_0x134681=_0x457d49[_0x2b0f6d(0x12b)]();let _0x25cd6d=_0x457d49[_0x2b0f6d(0x126)];if(_0x134681&&_0x134681['is'](_0x2b0f6d(0x15e),_0x2b0f6d(0x1a7))){const _0x52b3ce=function(_0x14f8a1,_0x5790c1){const _0x4eda7=_0x2b0f6d;for(const _0xfc0239 of _0x14f8a1[_0x4eda7(0x162)]())if(_0x5790c1[_0x4eda7(0x125)][_0x4eda7(0x17c)](_0xfc0239,_0x4eda7(0x186)))return _0xfc0239;}(_0x457d49,_0x4eee30);_0x52b3ce&&(_0x25cd6d=_0x52b3ce,_0x457d49=_0x5c80de[_0x2b0f6d(0x11d)](_0x25cd6d));}const _0x4ed290=_0x5c80de[_0x2b0f6d(0x11d)](_0x25cd6d);_0x4eee30[_0x2b0f6d(0x18a)][_0x2b0f6d(0x188)](_0x4b499b)?(_0x5c80de[_0x2b0f6d(0x1a5)](_0x4b499b,{'range':_0x457d49}),_0x5c80de[_0x2b0f6d(0x1a5)](_0x3f27d7,{'range':_0x4ed290})):(_0x5c80de[_0x2b0f6d(0x16c)](_0x4b499b,{'range':_0x457d49,'usingOperation':!0x0}),_0x5c80de[_0x2b0f6d(0x16c)](_0x3f27d7,{'range':_0x4ed290,'usingOperation':!0x0}));}
|