@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.6 → 46.0.0-alpha.7
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
|
-
|
|
23
|
+
function _0x439f(){const _0xc71306=['listenTo','keystrokes','querySelector','change:hasPopup','set','items','6OgVVKw','element','focus','9Yukffw','list','setTemplate','2214666OkJRaV','aria-expanded','bindTemplate','671895eHUSmk','ck-presence-list__list','isExpanded','.ck-balloon-panel_with-arrow','886184ZzihoX','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','.ck-presence-list__dropdown-list','hasPopup','Connected\x20users\x20list','6888eCkmVI','258409nnEFZq','2556870OxQcKy','render','17046zprSGU','div','presencelist:hide','fire','setAttribute','removeAttribute','createCollection','contains','presencelist:show'];_0x439f=function(){return _0xc71306;};return _0x439f();}const _0x99c326=_0xc51f;(function(_0x4a531c,_0x16c298){const _0x35155a=_0xc51f,_0x482137=_0x4a531c();while(!![]){try{const _0xca8773=-parseInt(_0x35155a(0xd4))/0x1+parseInt(_0x35155a(0xc0))/0x2*(-parseInt(_0x35155a(0xc3))/0x3)+-parseInt(_0x35155a(0xcd))/0x4+-parseInt(_0x35155a(0xd5))/0x5+-parseInt(_0x35155a(0xc6))/0x6+parseInt(_0x35155a(0xc9))/0x7+-parseInt(_0x35155a(0xd3))/0x8*(-parseInt(_0x35155a(0xd7))/0x9);if(_0xca8773===_0x16c298)break;else _0x482137['push'](_0x482137['shift']());}catch(_0x1c06de){_0x482137['push'](_0x482137['shift']());}}}(_0x439f,0x596be));import{View as _0x3959b7}from'ckeditor5/src/ui.js';function _0xc51f(_0x3e5049,_0x294460){const _0x439f1a=_0x439f();return _0xc51f=function(_0xc51f8d,_0x13f2f4){_0xc51f8d=_0xc51f8d-0xb9;let _0x1ec557=_0x439f1a[_0xc51f8d];return _0x1ec557;},_0xc51f(_0x3e5049,_0x294460);}import{KeystrokeHandler as _0x3bf4ca}from'ckeditor5/src/utils.js';import{getTranslation as _0x42437a}from'../../common-translations.js';export class PresenceInlineListView extends _0x3959b7{[_0x99c326(0xbf)];[_0x99c326(0xbb)];constructor(_0xac5146){const _0x47d968=_0x99c326;super(_0xac5146);const _0x5368a9=this[_0x47d968(0xc8)];this[_0x47d968(0xbf)]=this[_0x47d968(0xdd)](),this[_0x47d968(0xbb)]=new _0x3bf4ca(),this[_0x47d968(0xbe)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47d968(0xc5)]({'tag':_0x47d968(0xd8),'attributes':{'aria-haspopup':_0x5368a9['if'](_0x47d968(0xd1)),'aria-expanded':_0x5368a9['to'](_0x47d968(0xcb),_0x4322db=>this[_0x47d968(0xd1)]&&String(_0x4322db)),'aria-label':_0x5368a9['to'](_0x47d968(0xd1),_0x1ba5e5=>_0x42437a(_0xac5146,_0x1ba5e5?_0x47d968(0xce):_0x47d968(0xd2))),'role':_0x47d968(0xc4),'tabindex':_0x5368a9['to'](_0x47d968(0xd1),_0x274216=>!!_0x274216&&0x0),'class':['ck',_0x47d968(0xca)]},'children':this[_0x47d968(0xbf)],'on':{'mouseenter':_0x5368a9['to'](()=>this[_0x47d968(0xda)](_0x47d968(0xb9))),'mouseleave':_0x5368a9['to'](_0xe1effc=>{const _0x39e984=_0x47d968,_0x4c60cf=_0xe1effc,_0x4e94af=document[_0x39e984(0xbc)](_0x39e984(0xd0)),_0x38b3be=document[_0x39e984(0xbc)](_0x39e984(0xcc));_0x4e94af?.[_0x39e984(0xde)](_0x4c60cf[_0x39e984(0xcf)])||_0x38b3be?.[_0x39e984(0xde)](_0x4c60cf[_0x39e984(0xcf)])||this[_0x39e984(0xda)](_0x39e984(0xd9));})}}),this['on'](_0x47d968(0xbd),(_0x28a709,_0x5ed99c,_0x54fd2d)=>{const _0x232a3d=_0x47d968;this[_0x232a3d(0xc1)]&&(_0x54fd2d?this[_0x232a3d(0xc1)][_0x232a3d(0xdb)](_0x232a3d(0xc7),String(this[_0x232a3d(0xcb)])):this[_0x232a3d(0xc1)][_0x232a3d(0xdc)](_0x232a3d(0xc7)));});}[_0x99c326(0xc2)](){const _0x58560f=_0x99c326;this[_0x58560f(0xc1)][_0x58560f(0xc2)]();}[_0x99c326(0xd6)](){const _0x1ae2ec=_0x99c326;super[_0x1ae2ec(0xd6)](),this[_0x1ae2ec(0xbb)][_0x1ae2ec(0xba)](this[_0x1ae2ec(0xc1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5655b4=_0x1dad;(function(_0x5d0882,_0x2b146f){const _0x368714=_0x1dad,_0x2c22c4=_0x5d0882();while(!![]){try{const _0x2fe1d6=parseInt(_0x368714(0x134))/0x1*(-parseInt(_0x368714(0x14c))/0x2)+-parseInt(_0x368714(0x147))/0x3+-parseInt(_0x368714(0x137))/0x4+parseInt(_0x368714(0x145))/0x5+parseInt(_0x368714(0x135))/0x6+-parseInt(_0x368714(0x13b))/0x7*(parseInt(_0x368714(0x13d))/0x8)+parseInt(_0x368714(0x14f))/0x9;if(_0x2fe1d6===_0x2b146f)break;else _0x2c22c4['push'](_0x2c22c4['shift']());}catch(_0x89d430){_0x2c22c4['push'](_0x2c22c4['shift']());}}}(_0x2734,0x6ad93));import{View as _0x6edf49}from'ckeditor5/src/ui.js';function _0x2734(){const _0x3ed53a=['bindTemplate','ck-presence-list--collapsed','165823iZcAAx','tooltipPosition','56JRojOO','locale','div','change','ck-rounded-corners','ck-presence-list','isCollapsed','items','4008585ByzcFx','first','896505jxiQTz','inlineListView','set','hasPopup','listenTo','3802vSRfbP','ck-reset','counterView','6087249IattXq','421mzFEhR','3965790NpMkqB','bind','1745652LykQNw','setTemplate'];_0x2734=function(){return _0x3ed53a;};return _0x2734();}import{PresenceCounterView as _0x5090a4}from'./presencecounterview.js';import{PresenceInlineListView as _0x5e4330}from'./presenceinlinelistview.js';function _0x1dad(_0x25f68a,_0x3f72ae){const _0x2734b3=_0x2734();return _0x1dad=function(_0x1dade6,_0x2c4844){_0x1dade6=_0x1dade6-0x134;let _0xc3d7bc=_0x2734b3[_0x1dade6];return _0xc3d7bc;},_0x1dad(_0x25f68a,_0x3f72ae);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x6edf49{[_0x5655b4(0x14e)];[_0x5655b4(0x148)];constructor(_0x28c5e1,_0x143488=0x6){const _0xb0a489=_0x5655b4;super(_0x28c5e1);const _0x42e3b5=this[_0xb0a489(0x139)];this[_0xb0a489(0x149)](_0xb0a489(0x143),!0x0),this[_0xb0a489(0x14e)]=new _0x5090a4(this[_0xb0a489(0x13e)],_0x143488),this[_0xb0a489(0x148)]=new _0x5e4330(_0x28c5e1),this[_0xb0a489(0x148)][_0xb0a489(0x136)](_0xb0a489(0x14a))['to'](this,_0xb0a489(0x143)),this[_0xb0a489(0x14b)](this[_0xb0a489(0x148)][_0xb0a489(0x144)],_0xb0a489(0x140),()=>{const _0x375dff=_0xb0a489;for(const _0x2b69d1 of this[_0x375dff(0x148)][_0x375dff(0x144)])_0x2b69d1[_0x375dff(0x13c)]='s';this[_0x375dff(0x148)][_0x375dff(0x144)][_0x375dff(0x146)]&&(this[_0x375dff(0x148)][_0x375dff(0x144)][_0x375dff(0x146)][_0x375dff(0x13c)]='se');}),this[_0xb0a489(0x138)]({'tag':_0xb0a489(0x13f),'attributes':{'class':['ck',_0xb0a489(0x142),_0xb0a489(0x14d),_0xb0a489(0x141),_0x42e3b5['if'](_0xb0a489(0x143),_0xb0a489(0x13a))]},'children':[this[_0xb0a489(0x148)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2cb0(_0x13113a,_0x5967b9){var _0xcc2606=_0xcc26();return _0x2cb0=function(_0x2cb0df,_0x20d449){_0x2cb0df=_0x2cb0df-0x9c;var _0x14e304=_0xcc2606[_0x2cb0df];return _0x14e304;},_0x2cb0(_0x13113a,_0x5967b9);}var _0x1b8fd2=_0x2cb0;(function(_0x5eb4d3,_0x1cf87d){var _0x22956d=_0x2cb0,_0x315c94=_0x5eb4d3();while(!![]){try{var _0x5afffb=-parseInt(_0x22956d(0xa5))/0x1*(-parseInt(_0x22956d(0xa9))/0x2)+-parseInt(_0x22956d(0xab))/0x3*(parseInt(_0x22956d(0xaa))/0x4)+-parseInt(_0x22956d(0xa2))/0x5+parseInt(_0x22956d(0xa4))/0x6*(parseInt(_0x22956d(0x9c))/0x7)+-parseInt(_0x22956d(0xa6))/0x8+parseInt(_0x22956d(0x9d))/0x9+parseInt(_0x22956d(0xa0))/0xa*(parseInt(_0x22956d(0xa8))/0xb);if(_0x5afffb===_0x1cf87d)break;else _0x315c94['push'](_0x315c94['shift']());}catch(_0x47db27){_0x315c94['push'](_0x315c94['shift']());}}}(_0xcc26,0x7b65b));import{ContextPlugin as _0x453d74}from'ckeditor5/src/core.js';import{Sessions as _0x40c434}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4c56ad}from'./presencelist/presencelistui.js';function _0xcc26(){var _0x4d723e=['3060496Uqokgv','isPremiumPlugin','11jjgoAG','21594jCxCaG','208imvfLW','28722NyiUOV','7OdSEQa','1763604AHGfkY','isOfficialPlugin','pluginName','6508070hZuryi','requires','278905ZQnVWL','PresenceList','3050922SymCDL','8kKePvY'];_0xcc26=function(){return _0x4d723e;};return _0xcc26();}export class PresenceList extends _0x453d74{static get[_0x1b8fd2(0xa1)](){return[_0x40c434,_0x4c56ad];}static get[_0x1b8fd2(0x9f)](){var _0x2c1653=_0x1b8fd2;return _0x2c1653(0xa3);}static get[_0x1b8fd2(0x9e)](){return!0x0;}static get[_0x1b8fd2(0xa7)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x583e70)());[_0x404913(0x7c)];static get[_0x404913(0x6f)](){const _0x1d8464=_0x404913;return[_0x119252,_0x1d8464(0xa5),_0x52e909,_0x2cbe78];}static get[_0x404913(0x6e)](){const _0x1aae6d=_0x404913;return _0x1aae6d(0x77);}static get[_0x404913(0x93)](){return!0x0;}static get[_0x404913(0x7f)](){return!0x0;}constructor(_0x43b375){const _0xe4556d=_0x404913;super(_0x43b375),this[_0xe4556d(0x7c)]=new Map();}async[_0x404913(0x97)](){const _0x5f2aee=_0x404913,_0x9c05f5=this[_0x5f2aee(0x9f)],_0x13fed4=_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x5f2aee(0xa5));if(_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x119252)[_0x5f2aee(0x80)](this),_0x13fed4[_0x5f2aee(0xc6)]={'addCommentThread':async({channelId:_0x1c8134,threadId:_0x230b80,comments:_0x4cfbe4,resolvedAt:_0xb7760e,resolvedBy:_0x293957,context:_0x24bbea,attributes:_0x490c37})=>{const _0x499c23=_0x5f2aee,_0x1a507c=await this[_0x499c23(0x86)](_0x1c8134)[_0x499c23(0xb0)]({'commentThreadId':_0x230b80,'comments':_0x4cfbe4[_0x499c23(0xcd)](_0x8b74e9=>function(_0x22c240,_0x73ccc3,_0x541930){const _0x57d119=_0x499c23;return{'commentThreadId':_0x541930,'commentId':_0x22c240[_0x57d119(0x96)],'userId':_0x22c240[_0x57d119(0x6b)],'content':_0x22c240[_0x57d119(0xc4)],'documentId':_0x73ccc3,'createdAt':_0x22c240[_0x57d119(0x89)],'attributes':_0x22c240[_0x57d119(0xae)]||{}};}(_0x8b74e9,_0x1c8134,_0x230b80)),'resolvedAt':_0xb7760e,'resolvedBy':_0x293957,'context':_0x24bbea,'attributes':_0x490c37})[_0x499c23(0x76)](k);return{'threadId':_0x1a507c[_0x499c23(0xad)],'comments':_0x1a507c[_0x499c23(0x8f)]};},'getCommentThread':async({channelId:_0x5d46e1,threadId:_0x369787})=>{const _0x151433=_0x5f2aee,_0x2df2f0=await this[_0x151433(0x86)](_0x5d46e1)[_0x151433(0xb5)](_0x369787)[_0x151433(0x76)](k);return _0x2df2f0[_0x151433(0xc9)]?null:(await this[_0x151433(0x73)]([_0x2df2f0]),{'threadId':_0x2df2f0[_0x151433(0xad)],'comments':_0x2df2f0[_0x151433(0x8f)][_0x151433(0xcd)](B),'context':_0x2df2f0[_0x151433(0x9f)],'resolvedAt':_0x2df2f0[_0x151433(0xc1)],'resolvedBy':_0x2df2f0[_0x151433(0xba)],'attributes':_0x2df2f0[_0x151433(0xae)]||{}});},'updateCommentThread':async({channelId:_0x2b784b,threadId:_0x5d724a,context:_0x54f287,unlinkedAt:_0x2fc467,attributes:_0x5556cb})=>this[_0x5f2aee(0x86)](_0x2b784b)[_0x5f2aee(0x99)]({'commentThreadId':_0x5d724a,'context':_0x54f287,'attributes':_0x5556cb,'unlinkedAt':_0x2fc467})[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'resolveCommentThread':async({channelId:_0x3906e5,threadId:_0x4d5507})=>{const _0x173408=_0x5f2aee,_0x849c39=await this[_0x173408(0x86)](_0x3906e5)[_0x173408(0xcb)](_0x4d5507)[_0x173408(0x76)](F)[_0x173408(0x76)](k);return{'threadId':_0x849c39[_0x173408(0xad)],'resolvedAt':_0x849c39[_0x173408(0xc1)],'resolvedBy':_0x849c39[_0x173408(0xba)]};},'reopenCommentThread':async({channelId:_0xef1226,threadId:_0x2a28e8})=>this[_0x5f2aee(0x86)](_0xef1226)[_0x5f2aee(0xc7)](_0x2a28e8)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'removeCommentThread':({channelId:_0x230519,threadId:_0x3d59a6})=>this[_0x5f2aee(0x86)](_0x230519)[_0x5f2aee(0x8c)](_0x3d59a6)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'addComment':({channelId:_0x3dbc11,threadId:_0x159091,commentId:_0x556f07,content:_0x80119b,attributes:_0x215b47})=>this[_0x5f2aee(0x86)](_0x3dbc11)[_0x5f2aee(0xa6)](_0x159091,_0x556f07,_0x80119b,_0x215b47)[_0x5f2aee(0x76)](k),'updateComment':({channelId:_0x412eb4,threadId:_0x32b323,commentId:_0x45b427,content:_0x59ccf4,attributes:_0x23e7c9})=>this[_0x5f2aee(0x86)](_0x412eb4)[_0x5f2aee(0xc3)](_0x32b323,_0x45b427,_0x59ccf4,_0x23e7c9)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'removeComment':({channelId:_0x7ea6f6,threadId:_0x4fe917,commentId:_0x1f4741})=>this[_0x5f2aee(0x86)](_0x7ea6f6)[_0x5f2aee(0x9d)](_0x4fe917,_0x1f4741)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k)},_0x9c05f5 instanceof _0x2f53f5){const _0x2e00b6=_0x9c05f5[_0x5f2aee(0xaa)][_0x5f2aee(0x91)](_0x5f2aee(0x6d)),_0x2e39c7=_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x52e909);await this[_0x5f2aee(0x81)](_0x2e00b6);const _0x20fc69=await this[_0x5f2aee(0x7c)][_0x5f2aee(0x91)](_0x2e00b6)[_0x5f2aee(0x83)]();this[_0x5f2aee(0x8a)](_0x2e39c7,_0x5f2aee(0x71)+_0x2e00b6,(_0x418f5d,{session:_0x4611ef})=>{const _0xc7c938=_0x5f2aee;_0x4611ef['id']===_0x2e39c7[_0xc7c938(0x95)]&&(_0x418f5d[_0xc7c938(0x90)](),this[_0xc7c938(0x9f)][_0xc7c938(0x9a)][_0xc7c938(0x91)](_0xc7c938(0xaf))[_0xc7c938(0x7d)](_0x4611ef[_0xc7c938(0x74)],_0x2e00b6));}),_0x2e39c7[_0x5f2aee(0xa2)](_0x2e00b6,_0x20fc69);}}async[_0x404913(0x81)](_0x1df551){const _0x17de6d=_0x404913;if(this[_0x17de6d(0x7c)][_0x17de6d(0x85)](_0x1df551))throw new _0x31f2f4(_0x17de6d(0xc2),null,{'channelId':_0x1df551});const _0x1cd2a7=this[_0x17de6d(0x9f)][_0x17de6d(0x9a)][_0x17de6d(0x91)](_0x17de6d(0xa5)),_0x146fc0=new s[(_0x17de6d(0xb7))](_0x1df551);this[_0x17de6d(0x7c)][_0x17de6d(0xc8)](_0x1df551,_0x146fc0),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xc5),(_0x35b098,_0x13043a)=>{const _0x52c145=_0x17de6d,{commentThreadId:_0x14f8c3,documentId:_0x5def5e,context:_0x153bc7,attributes:_0x5765c9,resolvedAt:_0x2a9bc5,resolvedBy:_0x320a04,comments:_0x172926}=_0x13043a;_0x1cd2a7[_0x52c145(0xb5)](_0x14f8c3)||_0x1cd2a7[_0x52c145(0xb0)]({'threadId':_0x14f8c3,'channelId':_0x5def5e,'comments':_0x172926?_0x172926[_0x52c145(0xcd)](B):[],'context':_0x153bc7,'attributes':_0x5765c9,'resolvedAt':_0x2a9bc5,'resolvedBy':_0x320a04,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xa0),(_0x3867de,{commentThreadId:_0x299eaf,documentId:_0x1167d6,context:_0x568a46,unlinkedAt:_0x4a859a,attributes:_0x31b018})=>{const _0x36e694=_0x17de6d;_0x1cd2a7[_0x36e694(0xb5)](_0x299eaf)&&_0x1cd2a7[_0x36e694(0x99)]({'threadId':_0x299eaf,'channelId':_0x1167d6,'context':_0x568a46,'unlinkedAt':_0x4a859a,'attributes':_0x31b018,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xcc),(_0x3b835d,{commentThreadId:_0x1867c5,resolvedBy:_0x5bb99e,resolvedAt:_0x487bc0})=>{const _0x1ac2f1=_0x17de6d,_0x4fa95a=_0x1cd2a7[_0x1ac2f1(0xb5)](_0x1867c5);_0x4fa95a&&_0x4fa95a[_0x1ac2f1(0xce)]({'resolvedBy':_0x5bb99e,'resolvedAt':_0x487bc0,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xbd),(_0x2aeb76,{commentThreadId:_0xc61045})=>{const _0x2f92d8=_0x17de6d,_0x2b7207=_0x1cd2a7[_0x2f92d8(0xb5)](_0xc61045);_0x2b7207&&_0x2b7207[_0x2f92d8(0x94)]({'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x78),(_0x3bba61,{commentThreadId:_0x1d40f5})=>{const _0x28c2b8=_0x17de6d,_0xb61b85=_0x1cd2a7[_0x28c2b8(0xb5)](_0x1d40f5);_0xb61b85&&_0xb61b85[_0x28c2b8(0xbe)]({'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x8d),(_0x496881,_0x35c0e5)=>{const _0x13884d=_0x17de6d,_0x1cd978=_0x35c0e5[_0x13884d(0xad)],_0x101614=_0x1cd2a7[_0x13884d(0xb5)](_0x1cd978);_0x101614&&_0x101614[_0x13884d(0xa6)]({...B(_0x35c0e5),'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x6a),(_0x10ae45,{commentThreadId:_0x11b6c5,commentId:_0x5771b1,content:_0xaa45fa,attributes:_0x3de175})=>{const _0x5c1b0f=_0x17de6d,_0x34bcb2=_0x1cd2a7[_0x5c1b0f(0xb5)](_0x11b6c5);if(_0x34bcb2){const _0x5ac5bd=_0x34bcb2[_0x5c1b0f(0x8e)](_0x5771b1);_0x5ac5bd&&_0x5ac5bd[_0x5c1b0f(0xa4)]({'content':_0xaa45fa,'attributes':_0x3de175,'isFromAdapter':!0x0});}}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x9e),(_0x43f9dd,{commentThreadId:_0x19fca6,commentId:_0x2338d0})=>{const _0xf415bd=_0x17de6d,_0x441ea5=_0x1cd2a7[_0xf415bd(0xb5)](_0x19fca6);if(_0x441ea5){const _0x3e07f1=_0x441ea5[_0xf415bd(0x8e)](_0x2338d0);_0x3e07f1&&_0x3e07f1[_0xf415bd(0xbe)]({'isFromAdapter':!0x0});}}),await this[_0x17de6d(0xab)](_0x1df551);}[_0x404913(0x7b)](){const _0x2b36a6=_0x404913;if(this[_0x2b36a6(0x9f)]instanceof _0x2f53f5){const _0x9447e6=this[_0x2b36a6(0x9f)][_0x2b36a6(0xaa)][_0x2b36a6(0x91)](_0x2b36a6(0x6d));this[_0x2b36a6(0x87)](_0x9447e6);}}[_0x404913(0x87)](_0xea5bdf){const _0x1d2080=_0x404913;if(!this[_0x1d2080(0x7c)][_0x1d2080(0x85)](_0xea5bdf))throw new _0x31f2f4(_0x1d2080(0x98),null,{'channelId':_0xea5bdf});this[_0x1d2080(0x86)](_0xea5bdf)[_0x1d2080(0x75)](),this[_0x1d2080(0x7c)][_0x1d2080(0xbf)](_0xea5bdf);}async[_0x404913(0x6c)](){const _0x429d30=_0x404913;for(const _0x4d3f70 of this[_0x429d30(0x7c)][_0x429d30(0xb1)]())await this[_0x429d30(0xab)](_0x4d3f70);if(this[_0x429d30(0x9f)]instanceof _0x2f53f5){const _0x40f81a=this[_0x429d30(0x9f)][_0x429d30(0xaa)][_0x429d30(0x91)](_0x429d30(0x6d)),_0x2d6d=this[_0x429d30(0x9f)][_0x429d30(0x9a)][_0x429d30(0x91)](_0x52e909);_0x2d6d[_0x429d30(0xb6)](_0x40f81a);const _0x44c0f2=await this[_0x429d30(0x7c)][_0x429d30(0x91)](_0x40f81a)[_0x429d30(0x83)]();_0x2d6d[_0x429d30(0xa2)](_0x40f81a,_0x44c0f2);}}async[_0x404913(0xab)](_0xbffd4){const _0x4de636=_0x404913,{connection:_0x530f03}=this[_0x4de636(0x9f)][_0x4de636(0x9a)][_0x4de636(0x91)](_0x119252),_0x8e52cc=this[_0x4de636(0x9f)][_0x4de636(0x9a)][_0x4de636(0x91)](_0x4de636(0xa5)),_0x3d2bb7=this[_0x4de636(0x7c)][_0x4de636(0x91)](_0xbffd4),_0x4c9c71=await _0x3d2bb7[_0x4de636(0x69)](_0x530f03);await this[_0x4de636(0x73)](_0x4c9c71);const _0x127fd7=new Set(Array[_0x4de636(0x82)](_0x8e52cc[_0x4de636(0x79)]({'channelId':_0xbffd4}),_0x33bac7=>_0x33bac7['id']));for(const _0xc674aa of _0x4c9c71)_0xc674aa[_0x4de636(0xc9)]||_0x127fd7[_0x4de636(0xbf)](_0xc674aa[_0x4de636(0xad)]);for(const _0x518c2a of _0x127fd7)_0x8e52cc[_0x4de636(0xb5)](_0x518c2a)[_0x4de636(0xbe)]({'isFromAdapter':!0x0});for(const _0x11c4e7 of _0x4c9c71){let _0xa60ec8=_0x8e52cc[_0x4de636(0xb5)](_0x11c4e7[_0x4de636(0xad)]);const {commentThreadId:_0x251c78,context:_0x14c267,attributes:_0x2f8301,resolvedBy:_0x4e615e,resolvedAt:_0x1307ed,unlinkedAt:_0xbe83e7,deletedAt:_0x126d2e}=_0x11c4e7;if(_0x126d2e)continue;_0xa60ec8||(_0xa60ec8=_0x8e52cc[_0x4de636(0xb0)]({'channelId':_0xbffd4,'threadId':_0x251c78,'context':_0x14c267,'attributes':_0x2f8301||{},'resolvedBy':_0x4e615e,'resolvedAt':_0x1307ed,'unlinkedAt':_0xbe83e7,'isFromAdapter':!0x0}));const _0x1f922d=new Set(Array[_0x4de636(0x82)](_0xa60ec8[_0x4de636(0x8f)],_0x2622a9=>_0x2622a9['id']));for(const _0x3c3272 of _0x11c4e7[_0x4de636(0x8f)])_0x1f922d[_0x4de636(0xbf)](_0x3c3272[_0x4de636(0x96)]);for(const _0x36eb3e of _0x1f922d)_0xa60ec8[_0x4de636(0x8e)](_0x36eb3e)[_0x4de636(0xbe)]({'isFromAdapter':!0x0});for(const _0x52c5a4 of _0x11c4e7[_0x4de636(0x8f)]){const _0x343c37=_0xa60ec8[_0x4de636(0x8e)](_0x52c5a4[_0x4de636(0x96)]);_0x343c37?_0x343c37[_0x4de636(0xc4)]!==_0x52c5a4[_0x4de636(0xc4)]&&_0x343c37[_0x4de636(0xa4)]({'content':_0x52c5a4[_0x4de636(0xc4)],'isFromAdapter':!0x0}):_0xa60ec8[_0x4de636(0xa6)](Object[_0x4de636(0x8b)](B(_0x52c5a4),{'isFromAdapter':!0x0}));}}}[_0x404913(0x86)](_0x167ba9){const _0x5c8a58=_0x404913;if(!this[_0x5c8a58(0x7c)][_0x5c8a58(0x85)](_0x167ba9))throw new _0x31f2f4(_0x5c8a58(0xa1),null,{'channelId':_0x167ba9});return this[_0x5c8a58(0x7c)][_0x5c8a58(0x91)](_0x167ba9);}async[_0x404913(0x73)](_0x4239f1){const _0x576713=_0x404913,_0x40ac43=this[_0x576713(0x9f)][_0x576713(0x9a)][_0x576713(0x91)](_0x2cbe78),{connection:_0x5b36b0}=this[_0x576713(0x9f)][_0x576713(0x9a)][_0x576713(0x91)](_0x119252),_0x146d01=new Set();for(const {resolvedBy:_0x27c1ff,comments:_0x21cc6a}of _0x4239f1){_0x27c1ff&&!_0x40ac43[_0x576713(0xb8)](_0x27c1ff)&&_0x146d01[_0x576713(0xb4)](_0x27c1ff);for(const {userId:_0x28bf47}of _0x21cc6a)_0x40ac43[_0x576713(0xb8)](_0x28bf47)||_0x146d01[_0x576713(0xb4)](_0x28bf47);}if(0x0===_0x146d01[_0x576713(0x88)])return;const _0x2cf21b=await _0x46537d[_0x576713(0x7e)](_0x5b36b0,Array[_0x576713(0x82)](_0x146d01));for(const _0x400522 of _0x2cf21b)_0x40ac43[_0x576713(0xb8)](_0x400522['id'])||_0x40ac43[_0x576713(0x72)](_0x400522);}}export{s as CloudServicesCommentsAdapter};async function F(_0x182b14){const _0xa8c853=_0x404913;if(_0xa8c853(0xb9)!==_0x182b14[_0xa8c853(0xa3)])throw _0x182b14;}function k(_0xc83947){const _0x382db6=_0x404913;if((_0x472a19=_0xc83947)[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xc0))||_0x472a19[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xca))||_0x472a19[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xb2)))return new Promise(()=>{});var _0x472a19;throw _0xc83947;}function B(_0x346cb3){const _0x5c98a3=_0x404913;return{'threadId':_0x346cb3[_0x5c98a3(0xad)],'commentId':_0x346cb3[_0x5c98a3(0x96)],'content':_0x346cb3[_0x5c98a3(0xc4)],'createdAt':_0x346cb3[_0x5c98a3(0x89)],'authorId':_0x346cb3[_0x5c98a3(0x9c)],'attributes':_0x346cb3[_0x5c98a3(0xae)]||{}};}
|
|
23
|
+
const _0xae2e3b=_0x12ef;(function(_0x2548ae,_0x26a5c3){const _0x1cf0cb=_0x12ef,_0x44faba=_0x2548ae();while(!![]){try{const _0x3c5e2d=parseInt(_0x1cf0cb(0x1a4))/0x1+-parseInt(_0x1cf0cb(0x188))/0x2*(parseInt(_0x1cf0cb(0x1aa))/0x3)+-parseInt(_0x1cf0cb(0x18a))/0x4+parseInt(_0x1cf0cb(0x1ba))/0x5+-parseInt(_0x1cf0cb(0x183))/0x6*(-parseInt(_0x1cf0cb(0x1e0))/0x7)+-parseInt(_0x1cf0cb(0x192))/0x8+parseInt(_0x1cf0cb(0x1bb))/0x9;if(_0x3c5e2d===_0x26a5c3)break;else _0x44faba['push'](_0x44faba['shift']());}catch(_0x3518b4){_0x44faba['push'](_0x44faba['shift']());}}}(_0x3f53,0x753f3));import{Context as _0x678aa8,ContextPlugin as _0x56cb30}from'ckeditor5/src/core.js';import{CKEditorError as _0x396057}from'ckeditor5/src/utils.js';import{Users as _0x40462a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3e0484,User as _0x473bc7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2ac7b2}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x218873}from'../realtimecollaborativeediting/sessions.js';class s extends _0x56cb30{static [_0xae2e3b(0x1cb)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3e0484)());[_0xae2e3b(0x1b8)];static get[_0xae2e3b(0x1d2)](){const _0x29a3de=_0xae2e3b;return[_0x2ac7b2,_0x29a3de(0x1d1),_0x218873,_0x40462a];}static get[_0xae2e3b(0x1d9)](){const _0xcb4fd8=_0xae2e3b;return _0xcb4fd8(0x1c3);}static get[_0xae2e3b(0x1a9)](){return!0x0;}static get[_0xae2e3b(0x1d7)](){return!0x0;}constructor(_0x3cbee7){const _0x2253a7=_0xae2e3b;super(_0x3cbee7),this[_0x2253a7(0x1b8)]=new Map();}async[_0xae2e3b(0x1a2)](){const _0x69fe79=_0xae2e3b,_0x36b5cf=this[_0x69fe79(0x197)],_0x5443cb=_0x36b5cf[_0x69fe79(0x1ca)][_0x69fe79(0x1bd)](_0x69fe79(0x1d1));if(_0x36b5cf[_0x69fe79(0x1ca)][_0x69fe79(0x1bd)](_0x2ac7b2)[_0x69fe79(0x1c9)](this),_0x5443cb[_0x69fe79(0x1d3)]={'addCommentThread':async({channelId:_0x11973d,threadId:_0x9ee625,comments:_0x3a5b02,resolvedAt:_0x461d3e,resolvedBy:_0x453e74,context:_0x5e0894,attributes:_0x40d6f4})=>{const _0x2fbfdc=_0x69fe79,_0xecd61=await this[_0x2fbfdc(0x1b0)](_0x11973d)[_0x2fbfdc(0x180)]({'commentThreadId':_0x9ee625,'comments':_0x3a5b02[_0x2fbfdc(0x1b7)](_0x21085a=>function(_0x1993fe,_0x33d206,_0x432303){const _0x20fafb=_0x2fbfdc;return{'commentThreadId':_0x432303,'commentId':_0x1993fe[_0x20fafb(0x1c4)],'userId':_0x1993fe[_0x20fafb(0x198)],'content':_0x1993fe[_0x20fafb(0x17c)],'documentId':_0x33d206,'createdAt':_0x1993fe[_0x20fafb(0x1ad)],'attributes':_0x1993fe[_0x20fafb(0x1d6)]||{}};}(_0x21085a,_0x11973d,_0x9ee625)),'resolvedAt':_0x461d3e,'resolvedBy':_0x453e74,'context':_0x5e0894,'attributes':_0x40d6f4})[_0x2fbfdc(0x1ae)](nt);return{'threadId':_0xecd61[_0x2fbfdc(0x1bc)],'comments':_0xecd61[_0x2fbfdc(0x185)]};},'getCommentThread':async({channelId:_0x665bb2,threadId:_0xd275d3})=>{const _0x3a71e0=_0x69fe79,_0x3f317d=await this[_0x3a71e0(0x1b0)](_0x665bb2)[_0x3a71e0(0x1de)](_0xd275d3)[_0x3a71e0(0x1ae)](nt);return _0x3f317d[_0x3a71e0(0x1a1)]?null:(await this[_0x3a71e0(0x18e)]([_0x3f317d]),{'threadId':_0x3f317d[_0x3a71e0(0x1bc)],'comments':_0x3f317d[_0x3a71e0(0x185)][_0x3a71e0(0x1b7)](st),'context':_0x3f317d[_0x3a71e0(0x197)],'resolvedAt':_0x3f317d[_0x3a71e0(0x1dc)],'resolvedBy':_0x3f317d[_0x3a71e0(0x1a8)],'attributes':_0x3f317d[_0x3a71e0(0x1d6)]||{}});},'updateCommentThread':async({channelId:_0x43ea42,threadId:_0x57db95,context:_0x86518b,unlinkedAt:_0x1c5a9c,attributes:_0x5596e4})=>this[_0x69fe79(0x1b0)](_0x43ea42)[_0x69fe79(0x1b9)]({'commentThreadId':_0x57db95,'context':_0x86518b,'attributes':_0x5596e4,'unlinkedAt':_0x1c5a9c})[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt),'resolveCommentThread':async({channelId:_0x3ef3b8,threadId:_0x533986})=>{const _0x466171=_0x69fe79,_0x1ba8bb=await this[_0x466171(0x1b0)](_0x3ef3b8)[_0x466171(0x17d)](_0x533986)[_0x466171(0x1ae)](ot)[_0x466171(0x1ae)](nt);return{'threadId':_0x1ba8bb[_0x466171(0x1bc)],'resolvedAt':_0x1ba8bb[_0x466171(0x1dc)],'resolvedBy':_0x1ba8bb[_0x466171(0x1a8)]};},'reopenCommentThread':async({channelId:_0x1e9baa,threadId:_0x3d23c6})=>this[_0x69fe79(0x1b0)](_0x1e9baa)[_0x69fe79(0x18b)](_0x3d23c6)[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt),'removeCommentThread':({channelId:_0x1e7237,threadId:_0x19113c})=>this[_0x69fe79(0x1b0)](_0x1e7237)[_0x69fe79(0x1af)](_0x19113c)[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt),'addComment':({channelId:_0x16a6a8,threadId:_0x58be8c,commentId:_0xbe298f,content:_0x575cf1,attributes:_0x5b7ecc})=>this[_0x69fe79(0x1b0)](_0x16a6a8)[_0x69fe79(0x1ab)](_0x58be8c,_0xbe298f,_0x575cf1,_0x5b7ecc)[_0x69fe79(0x1ae)](nt),'updateComment':({channelId:_0x582ef5,threadId:_0x56dae4,commentId:_0x35c3e9,content:_0x2fcdf7,attributes:_0xe22c01})=>this[_0x69fe79(0x1b0)](_0x582ef5)[_0x69fe79(0x189)](_0x56dae4,_0x35c3e9,_0x2fcdf7,_0xe22c01)[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt),'removeComment':({channelId:_0x38b221,threadId:_0x17a75c,commentId:_0x534a4a})=>this[_0x69fe79(0x1b0)](_0x38b221)[_0x69fe79(0x1a5)](_0x17a75c,_0x534a4a)[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt)},_0x36b5cf instanceof _0x678aa8){const _0x2ca7c2=_0x36b5cf[_0x69fe79(0x187)][_0x69fe79(0x1bd)](_0x69fe79(0x1b5)),_0x17a26a=_0x36b5cf[_0x69fe79(0x1ca)][_0x69fe79(0x1bd)](_0x218873);await this[_0x69fe79(0x17f)](_0x2ca7c2);const _0x5f3c4b=await this[_0x69fe79(0x1b8)][_0x69fe79(0x1bd)](_0x2ca7c2)[_0x69fe79(0x182)]();this[_0x69fe79(0x1b2)](_0x17a26a,_0x69fe79(0x1d5)+_0x2ca7c2,(_0x3c5a6d,{session:_0xc271fb})=>{const _0x4aefa9=_0x69fe79;_0xc271fb['id']===_0x17a26a[_0x4aefa9(0x191)]&&(_0x3c5a6d[_0x4aefa9(0x1c0)](),this[_0x4aefa9(0x197)][_0x4aefa9(0x1ca)][_0x4aefa9(0x1bd)](_0x4aefa9(0x1cf))[_0x4aefa9(0x1c7)](_0xc271fb[_0x4aefa9(0x181)],_0x2ca7c2));}),_0x17a26a[_0x69fe79(0x1bf)](_0x2ca7c2,_0x5f3c4b);}}async[_0xae2e3b(0x17f)](_0x5e8db2){const _0x2e461c=_0xae2e3b;if(this[_0x2e461c(0x1b8)][_0x2e461c(0x195)](_0x5e8db2))throw new _0x396057(_0x2e461c(0x19c),null,{'channelId':_0x5e8db2});const _0x2b1e2e=this[_0x2e461c(0x197)][_0x2e461c(0x1ca)][_0x2e461c(0x1bd)](_0x2e461c(0x1d1)),_0x5e6d2c=new s[(_0x2e461c(0x1cb))](_0x5e8db2);this[_0x2e461c(0x1b8)][_0x2e461c(0x1c1)](_0x5e8db2,_0x5e6d2c),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x1dd),(_0x4e83e5,_0x3efca0)=>{const _0x3052da=_0x2e461c,{commentThreadId:_0x178b01,documentId:_0x309b40,context:_0xa6abe9,attributes:_0x45fb47,resolvedAt:_0x4b1dd4,resolvedBy:_0x1baf62,comments:_0x3462aa}=_0x3efca0;_0x2b1e2e[_0x3052da(0x1de)](_0x178b01)||_0x2b1e2e[_0x3052da(0x180)]({'threadId':_0x178b01,'channelId':_0x309b40,'comments':_0x3462aa?_0x3462aa[_0x3052da(0x1b7)](st):[],'context':_0xa6abe9,'attributes':_0x45fb47,'resolvedAt':_0x4b1dd4,'resolvedBy':_0x1baf62,'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x194),(_0x6c9bf0,{commentThreadId:_0x3e93ba,documentId:_0xb6a962,context:_0x4ea4c4,unlinkedAt:_0x3fb2c3,attributes:_0x47c6ed})=>{const _0x32c604=_0x2e461c;_0x2b1e2e[_0x32c604(0x1de)](_0x3e93ba)&&_0x2b1e2e[_0x32c604(0x1b9)]({'threadId':_0x3e93ba,'channelId':_0xb6a962,'context':_0x4ea4c4,'unlinkedAt':_0x3fb2c3,'attributes':_0x47c6ed,'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x1ce),(_0x5053dc,{commentThreadId:_0x47a820,resolvedBy:_0x13cbd0,resolvedAt:_0x52b9de})=>{const _0x26c11b=_0x2e461c,_0x261e13=_0x2b1e2e[_0x26c11b(0x1de)](_0x47a820);_0x261e13&&_0x261e13[_0x26c11b(0x1d0)]({'resolvedBy':_0x13cbd0,'resolvedAt':_0x52b9de,'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x19d),(_0x184767,{commentThreadId:_0x435860})=>{const _0x506b64=_0x2e461c,_0x37f8df=_0x2b1e2e[_0x506b64(0x1de)](_0x435860);_0x37f8df&&_0x37f8df[_0x506b64(0x1b6)]({'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x19e),(_0x11df7a,{commentThreadId:_0x145291})=>{const _0x13de24=_0x2e461c,_0x3de85c=_0x2b1e2e[_0x13de24(0x1de)](_0x145291);_0x3de85c&&_0x3de85c[_0x13de24(0x1d8)]({'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x196),(_0x29e8b7,_0x38c4ef)=>{const _0x5111bd=_0x2e461c,_0x7ddfcb=_0x38c4ef[_0x5111bd(0x1bc)],_0x374731=_0x2b1e2e[_0x5111bd(0x1de)](_0x7ddfcb);_0x374731&&_0x374731[_0x5111bd(0x1ab)]({...st(_0x38c4ef),'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x190),(_0x5edb59,{commentThreadId:_0x2864a8,commentId:_0x41cdeb,content:_0x10163f,attributes:_0x4c2f01})=>{const _0x2643ce=_0x2e461c,_0x184bf6=_0x2b1e2e[_0x2643ce(0x1de)](_0x2864a8);if(_0x184bf6){const _0x1ad0eb=_0x184bf6[_0x2643ce(0x18c)](_0x41cdeb);_0x1ad0eb&&_0x1ad0eb[_0x2643ce(0x1cc)]({'content':_0x10163f,'attributes':_0x4c2f01,'isFromAdapter':!0x0});}}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x17e),(_0x183c8f,{commentThreadId:_0x273a1d,commentId:_0x555ad3})=>{const _0x20a485=_0x2e461c,_0xadab9d=_0x2b1e2e[_0x20a485(0x1de)](_0x273a1d);if(_0xadab9d){const _0x173d32=_0xadab9d[_0x20a485(0x18c)](_0x555ad3);_0x173d32&&_0x173d32[_0x20a485(0x1d8)]({'isFromAdapter':!0x0});}}),await this[_0x2e461c(0x19b)](_0x5e8db2);}[_0xae2e3b(0x1c6)](){const _0x109591=_0xae2e3b;if(this[_0x109591(0x197)]instanceof _0x678aa8){const _0x404507=this[_0x109591(0x197)][_0x109591(0x187)][_0x109591(0x1bd)](_0x109591(0x1b5));this[_0x109591(0x1a6)](_0x404507);}}[_0xae2e3b(0x1a6)](_0x25adb9){const _0x5b7d3f=_0xae2e3b;if(!this[_0x5b7d3f(0x1b8)][_0x5b7d3f(0x195)](_0x25adb9))throw new _0x396057(_0x5b7d3f(0x18f),null,{'channelId':_0x25adb9});this[_0x5b7d3f(0x1b0)](_0x25adb9)[_0x5b7d3f(0x1c5)](),this[_0x5b7d3f(0x1b8)][_0x5b7d3f(0x1b1)](_0x25adb9);}async[_0xae2e3b(0x1d4)](){const _0x46807b=_0xae2e3b;for(const _0x9a9af1 of this[_0x46807b(0x1b8)][_0x46807b(0x1a3)]())await this[_0x46807b(0x19b)](_0x9a9af1);if(this[_0x46807b(0x197)]instanceof _0x678aa8){const _0x230fd6=this[_0x46807b(0x197)][_0x46807b(0x187)][_0x46807b(0x1bd)](_0x46807b(0x1b5)),_0x286908=this[_0x46807b(0x197)][_0x46807b(0x1ca)][_0x46807b(0x1bd)](_0x218873);_0x286908[_0x46807b(0x1a0)](_0x230fd6);const _0x282a54=await this[_0x46807b(0x1b8)][_0x46807b(0x1bd)](_0x230fd6)[_0x46807b(0x182)]();_0x286908[_0x46807b(0x1bf)](_0x230fd6,_0x282a54);}}async[_0xae2e3b(0x19b)](_0xb66702){const _0x1b4854=_0xae2e3b,{connection:_0x43b2bc}=this[_0x1b4854(0x197)][_0x1b4854(0x1ca)][_0x1b4854(0x1bd)](_0x2ac7b2),_0x227104=this[_0x1b4854(0x197)][_0x1b4854(0x1ca)][_0x1b4854(0x1bd)](_0x1b4854(0x1d1)),_0x58c030=this[_0x1b4854(0x1b8)][_0x1b4854(0x1bd)](_0xb66702),_0x4082fe=await _0x58c030[_0x1b4854(0x186)](_0x43b2bc);await this[_0x1b4854(0x18e)](_0x4082fe);const _0x2ce0bf=new Set(Array[_0x1b4854(0x19a)](_0x227104[_0x1b4854(0x193)]({'channelId':_0xb66702}),_0x39e58f=>_0x39e58f['id']));for(const _0x251d9a of _0x4082fe)_0x251d9a[_0x1b4854(0x1a1)]||_0x2ce0bf[_0x1b4854(0x1b1)](_0x251d9a[_0x1b4854(0x1bc)]);for(const _0x21c478 of _0x2ce0bf)_0x227104[_0x1b4854(0x1de)](_0x21c478)[_0x1b4854(0x1d8)]({'isFromAdapter':!0x0});for(const _0x167e2b of _0x4082fe){let _0xe2439c=_0x227104[_0x1b4854(0x1de)](_0x167e2b[_0x1b4854(0x1bc)]);const {commentThreadId:_0x48d727,context:_0x45ba01,attributes:_0x3d3f0b,resolvedBy:_0x1ff502,resolvedAt:_0x117972,unlinkedAt:_0x3e79fa,deletedAt:_0x48f04b}=_0x167e2b;if(_0x48f04b)continue;_0xe2439c||(_0xe2439c=_0x227104[_0x1b4854(0x180)]({'channelId':_0xb66702,'threadId':_0x48d727,'context':_0x45ba01,'attributes':_0x3d3f0b||{},'resolvedBy':_0x1ff502,'resolvedAt':_0x117972,'unlinkedAt':_0x3e79fa,'isFromAdapter':!0x0}));const _0x5cdcdd=new Set(Array[_0x1b4854(0x19a)](_0xe2439c[_0x1b4854(0x185)],_0x36ee0b=>_0x36ee0b['id']));for(const _0x2f89e8 of _0x167e2b[_0x1b4854(0x185)])_0x5cdcdd[_0x1b4854(0x1b1)](_0x2f89e8[_0x1b4854(0x1c4)]);for(const _0x220ebb of _0x5cdcdd)_0xe2439c[_0x1b4854(0x18c)](_0x220ebb)[_0x1b4854(0x1d8)]({'isFromAdapter':!0x0});for(const _0x4ea2ed of _0x167e2b[_0x1b4854(0x185)]){const _0x1931d5=_0xe2439c[_0x1b4854(0x18c)](_0x4ea2ed[_0x1b4854(0x1c4)]);_0x1931d5?_0x1931d5[_0x1b4854(0x17c)]!==_0x4ea2ed[_0x1b4854(0x17c)]&&_0x1931d5[_0x1b4854(0x1cc)]({'content':_0x4ea2ed[_0x1b4854(0x17c)],'isFromAdapter':!0x0}):_0xe2439c[_0x1b4854(0x1ab)](Object[_0x1b4854(0x1cd)](st(_0x4ea2ed),{'isFromAdapter':!0x0}));}}}[_0xae2e3b(0x1b0)](_0x44d61b){const _0x12d6a0=_0xae2e3b;if(!this[_0x12d6a0(0x1b8)][_0x12d6a0(0x195)](_0x44d61b))throw new _0x396057(_0x12d6a0(0x1df),null,{'channelId':_0x44d61b});return this[_0x12d6a0(0x1b8)][_0x12d6a0(0x1bd)](_0x44d61b);}async[_0xae2e3b(0x18e)](_0x455146){const _0x23209b=_0xae2e3b,_0x19653d=this[_0x23209b(0x197)][_0x23209b(0x1ca)][_0x23209b(0x1bd)](_0x40462a),{connection:_0x34dd76}=this[_0x23209b(0x197)][_0x23209b(0x1ca)][_0x23209b(0x1bd)](_0x2ac7b2),_0x6c5329=new Set();for(const {resolvedBy:_0x12e247,comments:_0x39d18a}of _0x455146){_0x12e247&&!_0x19653d[_0x23209b(0x1b3)](_0x12e247)&&_0x6c5329[_0x23209b(0x1da)](_0x12e247);for(const {userId:_0x454eaf}of _0x39d18a)_0x19653d[_0x23209b(0x1b3)](_0x454eaf)||_0x6c5329[_0x23209b(0x1da)](_0x454eaf);}if(0x0===_0x6c5329[_0x23209b(0x1a7)])return;const _0x1bab44=await _0x473bc7[_0x23209b(0x1ac)](_0x34dd76,Array[_0x23209b(0x19a)](_0x6c5329));for(const _0xc5b2dd of _0x1bab44)_0x19653d[_0x23209b(0x1b3)](_0xc5b2dd['id'])||_0x19653d[_0x23209b(0x1be)](_0xc5b2dd);}}function _0x3f53(){const _0x3fa686=['CloudServicesCommentsAdapter','commentId','disconnect','destroy','setPermissions','404','addToReconnectionStack','plugins','CommentsService','update','assign','commentThreadResolved','Permissions','resolve','CommentsRepository','requires','adapter','reconnect','sessionAdd:','attributes','isPremiumPlugin','remove','pluginName','add','userId','resolvedAt','commentThreadAdded','getCommentThread','cloudservicescommentsadapter-service-not-exist','7YOxPwk','content','resolveCommentThread','commentRemoved','_setUpService','addCommentThread','permissions','getConnectedSessions','1391046QLARzX','startsWith','comments','connect','config','474262lBqUSP','updateComment','1586520AdlVnQ','reopenCommentThread','getComment','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_fetchMissingUsersForThreads','cloudservicescommentsadapter-disconnect-not-exist','commentUpdated','mySessionId','429216HncCTo','getCommentThreads','commentThreadUpdated','has','commentAdded','context','authorId','message','from','_connectService','cloudservicescommentsadapter-connect-already-connected','commentThreadReopened','commentThreadRemoved','cloud-services-internal-error:\x20Not\x20connected.','unregister','deletedAt','init','keys','790721fKoCRu','removeComment','_terminateService','size','resolvedBy','isOfficialPlugin','12KrixlE','addComment','getMany','createdAt','catch','removeCommentThread','_getService','delete','listenTo','getUser','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','reopen','map','_services','updateCommentThread','3916920Zhrmid','657927puXFnl','commentThreadId','get','addUser','register','off','set','code'];_0x3f53=function(){return _0x3fa686;};return _0x3f53();}export{s as CloudServicesCommentsAdapter};async function ot(_0x265abb){const _0x120d4f=_0xae2e3b;if(_0x120d4f(0x1c8)!==_0x265abb[_0x120d4f(0x1c2)])throw _0x265abb;}function _0x12ef(_0x83d0e7,_0x2452ab){const _0x3f5328=_0x3f53();return _0x12ef=function(_0x12ef06,_0x48edf2){_0x12ef06=_0x12ef06-0x17c;let _0x590a17=_0x3f5328[_0x12ef06];return _0x590a17;},_0x12ef(_0x83d0e7,_0x2452ab);}function nt(_0x4344f6){const _0x47a032=_0xae2e3b;if((_0x5de80f=_0x4344f6)[_0x47a032(0x199)][_0x47a032(0x184)](_0x47a032(0x18d))||_0x5de80f[_0x47a032(0x199)][_0x47a032(0x184)](_0x47a032(0x19f))||_0x5de80f[_0x47a032(0x199)][_0x47a032(0x184)](_0x47a032(0x1b4)))return new Promise(()=>{});var _0x5de80f;throw _0x4344f6;}function st(_0x4d9b6a){const _0x2a1809=_0xae2e3b;return{'threadId':_0x4d9b6a[_0x2a1809(0x1bc)],'commentId':_0x4d9b6a[_0x2a1809(0x1c4)],'content':_0x4d9b6a[_0x2a1809(0x17c)],'createdAt':_0x4d9b6a[_0x2a1809(0x1ad)],'authorId':_0x4d9b6a[_0x2a1809(0x1db)],'attributes':_0x4d9b6a[_0x2a1809(0x1d6)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5ee9(){const _0x358cf9=['_setUpService','editor','get','change:state','12CMTojU','data','connected','requires','103587ojifFw','9804510WBHEOt','collaboration.channelId','switchReadOnly','15uYDuNH','1733154wsgJtG','destroy','CommentsRepository','isOfficialPlugin','Comments','once','isPremiumPlugin','CommentsEditing','config','2813724cpmWKZ','init','912212PDQQIw','1068933woHaVZ','plugins','_terminateService','ready','RealTimeCollaborativeComments','isThreadsLoadingPaused','3416808CKAkGi','listenTo','pluginName'];_0x5ee9=function(){return _0x358cf9;};return _0x5ee9();}const _0x28835f=_0x4153;(function(_0x601448,_0xd10496){const _0x3390c8=_0x4153,_0xc8f8b=_0x601448();while(!![]){try{const _0x433128=-parseInt(_0x3390c8(0xbd))/0x1+parseInt(_0x3390c8(0xcb))/0x2+parseInt(_0x3390c8(0xce))/0x3*(parseInt(_0x3390c8(0xdb))/0x4)+parseInt(_0x3390c8(0xc1))/0x5*(-parseInt(_0x3390c8(0xc2))/0x6)+-parseInt(_0x3390c8(0xcd))/0x7+parseInt(_0x3390c8(0xd4))/0x8+-parseInt(_0x3390c8(0xbe))/0x9;if(_0x433128===_0xd10496)break;else _0xc8f8b['push'](_0xc8f8b['shift']());}catch(_0x24b106){_0xc8f8b['push'](_0xc8f8b['shift']());}}}(_0x5ee9,0xae142));import{Plugin as _0x3e885b}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2eb697}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x49fff1}from'./realtimecollaborativeediting.js';function _0x4153(_0xe138e,_0x4e1fed){const _0x5ee90d=_0x5ee9();return _0x4153=function(_0x4153d2,_0xec1f84){_0x4153d2=_0x4153d2-0xbd;let _0x1fb672=_0x5ee90d[_0x4153d2];return _0x1fb672;},_0x4153(_0xe138e,_0x4e1fed);}import{WebSocketGateway as _0x1174b4}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x3e885b{static get[_0x28835f(0xde)](){const _0x4fe2d1=_0x28835f;return[_0x4fe2d1(0xc6),_0x2eb697,_0x49fff1,_0x1174b4];}static get[_0x28835f(0xd6)](){const _0xb05295=_0x28835f;return _0xb05295(0xd2);}static get[_0x28835f(0xc5)](){return!0x0;}static get[_0x28835f(0xc8)](){return!0x0;}[_0x28835f(0xcc)](){const _0x134612=_0x28835f,_0x41d39a=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x1174b4),_0x55c02b=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x134612(0xc9)),_0x24c4d4=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x2eb697);return this[_0x134612(0xd8)][_0x134612(0xdc)][_0x134612(0xc7)](_0x134612(0xd1),()=>{const _0x3b67dc=_0x134612;this[_0x3b67dc(0xd5)](_0x41d39a,_0x3b67dc(0xda),(_0x58d468,_0x5cafa0,_0x22ab0a)=>{const _0x50f43a=_0x3b67dc;_0x55c02b[_0x50f43a(0xd3)]=_0x50f43a(0xdd)!==_0x22ab0a;});}),this[_0x134612(0xd5)](_0x41d39a,_0x134612(0xda),(_0x5b4d18,_0x2d303a,_0x2f8770)=>{const _0x19890e=_0x134612;this[_0x19890e(0xd8)][_0x19890e(0xcf)][_0x19890e(0xd9)](_0x19890e(0xc4))[_0x19890e(0xc0)](_0x19890e(0xdd)!==_0x2f8770);}),_0x24c4d4[_0x134612(0xd7)](this[_0x134612(0xd8)][_0x134612(0xca)][_0x134612(0xd9)](_0x134612(0xbf)));}[_0x28835f(0xc3)](){const _0x47c8bc=_0x28835f;this[_0x47c8bc(0xd8)][_0x47c8bc(0xcf)][_0x47c8bc(0xd9)](_0x2eb697)[_0x47c8bc(0xd0)](this[_0x47c8bc(0xd8)][_0x47c8bc(0xca)][_0x47c8bc(0xd9)](_0x47c8bc(0xbf))),super[_0x47c8bc(0xc3)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0xc7dd8a)());[_0x11b185(0x16a)];[_0x11b185(0x181)];[_0x11b185(0x16b)];[_0x11b185(0x130)];[_0x11b185(0x174)];[_0x11b185(0x14e)];[_0x11b185(0x17b)];[_0x11b185(0x170)];[_0x11b185(0x18e)];[_0x11b185(0x1e7)];[_0x11b185(0x1e0)];[_0x11b185(0x1d1)];[_0x11b185(0x117)];[_0x11b185(0x21c)];[_0x11b185(0x165)];[_0x11b185(0x123)];[_0x11b185(0x1d3)];[_0x11b185(0x20f)];static get[_0x11b185(0x15b)](){return[_0x8aa329,_0x10854f,_0x304d6b,_0x58ef67,_0x14a7cf,_0xda24db];}static get[_0x11b185(0x183)](){const _0x4135e6=_0x11b185;return _0x4135e6(0x19f);}static get[_0x11b185(0x218)](){return!0x0;}static get[_0x11b185(0x126)](){return!0x0;}get[_0x11b185(0x141)](){const _0x1c571a=_0x11b185;return this[_0x1c571a(0x135)]+this[_0x1c571a(0x16a)];}get[_0x11b185(0x135)](){const _0x3519c8=_0x11b185;return this[_0x3519c8(0x16b)][_0x3519c8(0x209)]-this[_0x3519c8(0x16a)];}get[_0x11b185(0x11e)](){const _0x479f79=_0x11b185,_0x510e8c=this[_0x479f79(0x16b)][_0x479f79(0x13a)]();for(let _0x388724=_0x510e8c[_0x479f79(0x208)]-0x1;_0x388724>=0x0;_0x388724--){const _0x4e29db=_0x510e8c[_0x388724];if(!this[_0x479f79(0x1d3)][_0x479f79(0x172)](_0x4e29db))return _0x4e29db[_0x479f79(0x1be)]+0x1-this[_0x479f79(0x16a)];}return 0x0;}constructor(_0x21e513){const _0x47a974=_0x11b185;if(super(_0x21e513),this[_0x47a974(0x16a)]=0x0,this[_0x47a974(0x181)]=null,this[_0x47a974(0x16b)]=new _0x4d6a87(),this[_0x47a974(0x129)][_0x47a974(0x206)][_0x47a974(0x127)](_0x47a974(0x1e1),{}),this[_0x47a974(0x130)]=this[_0x47a974(0x129)][_0x47a974(0x206)][_0x47a974(0x160)](_0x47a974(0x128)),!this[_0x47a974(0x130)])throw new _0x1510e6(_0x47a974(0x212),this);const _0x1b54a1=_0x21e513[_0x47a974(0x206)][_0x47a974(0x160)](_0x47a974(0x1dc))||_0x3c1129;this[_0x47a974(0x174)]=new l[(_0x47a974(0x1b6))](_0x1b54a1,this[_0x47a974(0x130)]),this[_0x47a974(0x14e)]=this[_0x47a974(0x129)][_0x47a974(0x1bd)][_0x47a974(0x1ba)],this[_0x47a974(0x17b)]=new _0x2dfa6(),this[_0x47a974(0x170)]=[],this[_0x47a974(0x18e)]=new WeakSet(),this[_0x47a974(0x1e7)]=new Set(),this[_0x47a974(0x210)](_0x47a974(0x202),!0x1),this[_0x47a974(0x210)](_0x47a974(0x1c4),!0x1),this[_0x47a974(0x1e0)]=null,this[_0x47a974(0x1d1)]=!0x1,this[_0x47a974(0x117)]=null,this[_0x47a974(0x21c)]=0x12c,this[_0x47a974(0x165)]=this[_0x47a974(0x21c)],this[_0x47a974(0x123)]=null,this[_0x47a974(0x1d3)]=new WeakSet(),this[_0x47a974(0x20f)]=new J(this[_0x47a974(0x1d3)]);}[_0x11b185(0x205)](){const _0x23cb71=_0x11b185,_0x2d71d0=this[_0x23cb71(0x129)],_0x4d59e1=_0x2d71d0[_0x23cb71(0x1dd)][_0x23cb71(0x160)](_0x14a7cf),_0x30c5b5=_0x2d71d0[_0x23cb71(0x1dd)][_0x23cb71(0x160)](_0x8aa329);this[_0x23cb71(0x13c)](_0x4d59e1,_0x23cb71(0x1fc),(_0x523b6e,_0x199615)=>{const _0x5a9ea7=_0x23cb71,_0x5c011b=_0x199615[0x0];_0x5c011b[_0x5a9ea7(0x166)]&&(_0x523b6e[_0x5a9ea7(0x1bb)]=_0x4d59e1[_0x5a9ea7(0x14f)](_0x5c011b[_0x5a9ea7(0x166)]),_0x523b6e[_0x5a9ea7(0x12d)]()),null===_0x5c011b[_0x5a9ea7(0x166)]&&(_0x523b6e[_0x5a9ea7(0x1bb)]=null,_0x523b6e[_0x5a9ea7(0x12d)]());},{'priority':_0x23cb71(0x199)}),this[_0x23cb71(0x13c)](_0x2d71d0[_0x23cb71(0x1bd)][_0x23cb71(0x1ba)][_0x23cb71(0x21e)],_0x23cb71(0x1ce),(_0xaa4eb,_0x1a6aef)=>{const _0xad800f=_0x23cb71;_0x1a6aef[_0xad800f(0x21a)]&&this[_0xad800f(0x12f)]();}),this[_0x23cb71(0x13c)](_0x2d71d0[_0x23cb71(0x1cb)][_0x23cb71(0x120)],_0x23cb71(0x1c0),()=>{const _0x3133e9=_0x23cb71;this[_0x3133e9(0x12f)]();}),this[_0x23cb71(0x214)](),_0x2d71d0[_0x23cb71(0x1bd)]['on'](_0x23cb71(0x1cd),(_0xf76db2,_0x231c27)=>{const _0x4c459b=_0x23cb71,_0x2fde8e=_0x231c27[0x0];_0x2fde8e[_0x4c459b(0x1fb)]&&(this[_0x4c459b(0x11c)](_0x2fde8e),this[_0x4c459b(0x1de)]()&&this[_0x4c459b(0x182)]());}),this[_0x23cb71(0x122)](),this[_0x23cb71(0x1bf)](_0x23cb71(0x159))['to'](_0x30c5b5,_0x23cb71(0x1b8),this,_0x23cb71(0x1c4),(_0x252e02,_0x41a625)=>_0x23cb71(0x194)===_0x252e02&&!_0x41a625),this['on'](_0x23cb71(0x138),()=>{const _0x35c3ac=_0x23cb71;this[_0x35c3ac(0x159)]?_0x2d71d0[_0x35c3ac(0x14b)](_0x35c3ac(0x1ca)):_0x2d71d0[_0x35c3ac(0x1b0)](_0x35c3ac(0x1ca));}),this[_0x23cb71(0x159)]?_0x2d71d0[_0x23cb71(0x14b)](_0x23cb71(0x1ca)):_0x2d71d0[_0x23cb71(0x1b0)](_0x23cb71(0x1ca)),this[_0x23cb71(0x210)](_0x23cb71(0x149),!0x1);}async[_0x11b185(0x157)](){const _0x5ad048=_0x11b185,_0x34c4ce=this[_0x5ad048(0x129)][_0x5ad048(0x1dd)][_0x5ad048(0x160)](_0x10854f),_0x2cd1e7=this[_0x5ad048(0x129)][_0x5ad048(0x1dd)][_0x5ad048(0x160)](_0x8aa329);try{this[_0x5ad048(0x202)]=!0x0,_0x34c4ce[_0x5ad048(0x137)](this[_0x5ad048(0x130)]);const _0x51134a=await this[_0x5ad048(0x174)][_0x5ad048(0x157)](_0x2cd1e7[_0x5ad048(0x167)],this[_0x5ad048(0x11e)]);await this[_0x5ad048(0x1ec)](_0x51134a)&&(this[_0x5ad048(0x202)]=!0x1,this[_0x5ad048(0x1e3)]());const _0x42bc34=await this[_0x5ad048(0x174)][_0x5ad048(0x152)]();_0x34c4ce[_0x5ad048(0x142)](this[_0x5ad048(0x130)],_0x42bc34),this[_0x5ad048(0x1cc)](),this[_0x5ad048(0x149)]=!0x0;}catch(_0x42e2e6){if(function(_0x3290b4){const _0x3aaade=_0x5ad048;return _0x3aaade(0x153)===_0x3290b4[_0x3aaade(0x1a0)];}(_0x42e2e6)&&this[_0x5ad048(0x181)])await this[_0x5ad048(0x213)]();else{if(function(_0x1656ea){const _0x365728=_0x5ad048;return _0x365728(0x1a2)===_0x1656ea[_0x365728(0x1a0)];}(_0x42e2e6)){const _0x10d00f=_0x473c58(this[_0x5ad048(0x129)][_0x5ad048(0x178)],_0x5ad048(0x1b1));this[_0x5ad048(0x19a)](_0x10d00f);}else{if(!(_0x42e2e6 instanceof $))throw _0x42e2e6;this[_0x5ad048(0x19a)]();}}}}[_0x11b185(0x1a9)](){const _0x146786=_0x11b185,_0xbcdd1c=this[_0x146786(0x129)][_0x146786(0x1dd)][_0x146786(0x160)](_0x8aa329),_0x69b494=this[_0x146786(0x129)][_0x146786(0x1dd)][_0x146786(0x160)](_0x10854f);this[_0x146786(0x129)][_0x146786(0x1b0)](_0x146786(0x1f3)),_0x69b494[_0x146786(0x203)][_0x146786(0x172)](this[_0x146786(0x130)])&&_0x69b494[_0x146786(0x137)](this[_0x146786(0x130)]),_0xbcdd1c[_0x146786(0x155)](this),this[_0x146786(0x1f5)](),super[_0x146786(0x1a9)]();}async[_0x11b185(0x1ec)](_0x2460b7){const _0x5eea7b=_0x11b185;if(this[_0x5eea7b(0x181)]!==_0x2460b7[_0x5eea7b(0x181)]&&this[_0x5eea7b(0x123)]!==_0x2460b7[_0x5eea7b(0x162)])throw new $();return this[_0x5eea7b(0x181)]=_0x2460b7[_0x5eea7b(0x181)],this[_0x5eea7b(0x12b)]([],{..._0x2460b7,'wereChangesApplied':!0x1,'data':_0x2460b7[_0x5eea7b(0x1d6)]},_0x5eea7b(0x157));}async[_0x11b185(0x1f0)](_0x2f7981,_0x24c42b=!0x1){const _0x2a8829=_0x11b185,{connection:_0xd8fcfa}=this[_0x2a8829(0x129)][_0x2a8829(0x1dd)][_0x2a8829(0x160)](_0x8aa329);l[_0x2a8829(0x1b6)][_0x2a8829(0x152)](_0xd8fcfa,this[_0x2a8829(0x130)])[_0x2a8829(0x1ee)](_0x4f7ed8=>this[_0x2a8829(0x17e)](_0x4f7ed8))[_0x2a8829(0x14c)](_0x477bce=>{const _0x1525e7=_0x2a8829;this[_0x1525e7(0x1a4)](_0x1525e7(0x132),_0x477bce);}),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x1a8),this[_0x2a8829(0x1af)][_0x2a8829(0x1bf)](this)),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x1c1),(_0x2ff4b6,_0x18ab3e)=>{const _0x9885f4=_0x2a8829;this[_0x9885f4(0x1a4)](_0x9885f4(0x1b4),_0x18ab3e);}),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x154),()=>{const _0x34b5e7=_0x2a8829;this[_0x34b5e7(0x149)]=!0x1;});const _0x4b8e5d=this[_0x2a8829(0x20f)][_0x2a8829(0x20d)](_0x2f7981);this[_0x2a8829(0x202)]=!0x0;const _0x1b0c8e=await this[_0x2a8829(0x174)][_0x2a8829(0x139)](_0xd8fcfa,this[_0x2a8829(0x16c)](_0x2f7981),_0x4b8e5d);if(this[_0x2a8829(0x181)]=_0x1b0c8e[_0x2a8829(0x181)],_0x24c42b){if(!_0x1b0c8e[_0x2a8829(0x1c3)])return void this[_0x2a8829(0x19a)]();this[_0x2a8829(0x202)]=!0x1,this[_0x2a8829(0x1e3)](),this[_0x2a8829(0x16b)][_0x2a8829(0x1e6)](),this[_0x2a8829(0x16a)]=_0x1b0c8e[_0x2a8829(0x179)],this[_0x2a8829(0x16b)][_0x2a8829(0x209)]=this[_0x2a8829(0x16a)],await this[_0x2a8829(0x12b)](_0x2f7981,_0x1b0c8e,_0x2a8829(0x198));}else await this[_0x2a8829(0x1f1)](_0x1b0c8e,_0x2f7981);this[_0x2a8829(0x1cc)](),this[_0x2a8829(0x149)]=!0x0;}[_0x11b185(0x1cc)](){const _0x29c5e5=_0x11b185,_0x33e3e1=this[_0x29c5e5(0x129)][_0x29c5e5(0x1dd)][_0x29c5e5(0x160)](_0x10854f),_0x3396ec=this[_0x29c5e5(0x129)][_0x29c5e5(0x1dd)][_0x29c5e5(0x160)](_0x304d6b),_0x41c915=_0x33e3e1[_0x29c5e5(0x203)][_0x29c5e5(0x160)](this[_0x29c5e5(0x130)]);_0x41c915&&_0x41c915[_0x29c5e5(0x208)]>0x1?_0x3396ec[_0x29c5e5(0x20c)]():this[_0x29c5e5(0x13c)](_0x33e3e1,_0x29c5e5(0x1ac)+this[_0x29c5e5(0x130)],()=>{const _0xf7c499=_0x29c5e5;0x2===_0x33e3e1[_0xf7c499(0x203)][_0xf7c499(0x160)](this[_0xf7c499(0x130)])[_0xf7c499(0x208)]&&_0x3396ec[_0xf7c499(0x20c)]();});}async[_0x11b185(0x1af)](_0x5bf733,_0x132c37,_0x4ee2fe,_0x4ae537){const _0x41a145=_0x11b185;if(!this[_0x41a145(0x202)]&&this[_0x41a145(0x14e)][_0x41a145(0x209)]==_0x132c37){const _0x152b3d=this[_0x41a145(0x1ff)](_0x4ee2fe,_0x4ae537);await this[_0x41a145(0x21d)](_0x152b3d),this[_0x41a145(0x1d4)](_0x152b3d,_0x132c37,_0x4ee2fe[_0x41a145(0x162)])||this[_0x41a145(0x1a4)](_0x41a145(0x15a));}}async[_0x11b185(0x213)](){const _0x510dfb=_0x11b185;this[_0x510dfb(0x1f5)]();const {locale:_0x18c5c3}=this[_0x510dfb(0x129)];let _0x18cce3;try{_0x18cce3=await this[_0x510dfb(0x174)][_0x510dfb(0x1f6)]();}catch{const _0x230973=_0x473c58(_0x18c5c3,_0x510dfb(0x17f));return void this[_0x510dfb(0x19a)](_0x230973);}const _0x3ff794=_0x18cce3[_0x510dfb(0x21b)]||_0x18cce3[_0x510dfb(0x168)];if(this[_0x510dfb(0x123)]!==_0x3ff794[_0x510dfb(0x162)]){const _0x1bee2a=_0x473c58(_0x18c5c3,_0x510dfb(0x207));return void this[_0x510dfb(0x19a)](_0x1bee2a);}await this[_0x510dfb(0x1f0)](this[_0x510dfb(0x129)][_0x510dfb(0x1bd)][_0x510dfb(0x1ba)][_0x510dfb(0x188)][_0x510dfb(0x13a)](),!0x0);}[_0x11b185(0x1f5)](){const _0x33c8c0=_0x11b185;this[_0x33c8c0(0x174)][_0x33c8c0(0x17d)](),this[_0x33c8c0(0x170)]=[],clearTimeout(this[_0x33c8c0(0x117)]),this[_0x33c8c0(0x1f9)](this[_0x33c8c0(0x174)]);}[_0x11b185(0x17e)](_0x208fe5){const _0x5c9dc5=_0x11b185,_0xd52af=this[_0x5c9dc5(0x129)][_0x5c9dc5(0x1dd)][_0x5c9dc5(0x160)](_0x10854f);this[_0x5c9dc5(0x13c)](_0xd52af,_0x5c9dc5(0x1ac)+this[_0x5c9dc5(0x130)],(_0x1c8695,{session:_0x406066})=>{const _0x174433=_0x5c9dc5;if(_0x406066['id']===_0xd52af[_0x174433(0x145)]){_0x1c8695[_0x174433(0x15d)]();const _0x562592=this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x172)](_0x174433(0x1a3))&&this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x160)](_0x174433(0x1a3));let _0x192d40=_0x406066[_0x174433(0x1f2)];_0x562592&&_0x562592[_0x174433(0x1b7)]&&(_0x192d40=_0x192d40[_0x174433(0x18c)](_0x328532=>_0x174433(0x1fa)!==_0x328532)),this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x160)](_0x174433(0x1e8))[_0x174433(0x118)](_0x192d40,this[_0x174433(0x130)]);}}),_0xd52af[_0x5c9dc5(0x142)](this[_0x5c9dc5(0x130)],_0x208fe5);}[_0x11b185(0x214)](){const _0x2175f9=_0x11b185,_0x2f5322=this[_0x2175f9(0x129)][_0x2175f9(0x1d6)][_0x2175f9(0x210)];this[_0x2175f9(0x129)][_0x2175f9(0x1d6)][_0x2175f9(0x210)]=(..._0x8e4460)=>{const _0x41992d=_0x2175f9;if(!_0x8e4460[_0x8e4460[_0x41992d(0x208)]-0x1][_0x41992d(0x17c)])throw new _0x1510e6(_0x41992d(0x18d),this);_0x2f5322[_0x41992d(0x216)](this[_0x41992d(0x129)][_0x41992d(0x1d6)],_0x8e4460);};}[_0x11b185(0x122)](){const _0x11b908=_0x11b185;this[_0x11b908(0x129)][_0x11b908(0x1d6)]['on'](_0x11b908(0x205),(_0x17752c,[_0x3ca638])=>{const _0x2d83a3=_0x11b908;if(this[_0x2d83a3(0x14e)][_0x2d83a3(0x209)])throw new _0x1510e6(_0x2d83a3(0x204),this);_0x17752c[_0x2d83a3(0x12d)](),this[_0x2d83a3(0x180)]();const _0x3f2914=this[_0x2d83a3(0x129)][_0x2d83a3(0x206)][_0x2d83a3(0x160)](_0x2d83a3(0x1a1)),_0x5503d3=this[_0x2d83a3(0x196)](_0x3ca638,_0x3f2914);0x0==_0x5503d3[_0x2d83a3(0x208)]&&_0x5503d3[_0x2d83a3(0x200)](new _0x27aecf(0x0)),_0x17752c[_0x2d83a3(0x1bb)]=this[_0x2d83a3(0x1f0)](_0x5503d3)[_0x2d83a3(0x1ee)](()=>{const _0x21c831=_0x2d83a3;this[_0x21c831(0x129)][_0x21c831(0x1dd)][_0x21c831(0x160)](_0x8aa329)[_0x21c831(0x1e2)](this),this[_0x21c831(0x129)][_0x21c831(0x1d6)][_0x21c831(0x1ea)](_0x21c831(0x19b));})[_0x2d83a3(0x14c)](_0x4a5274=>this[_0x2d83a3(0x1a4)](_0x2d83a3(0x134),_0x4a5274))[_0x2d83a3(0x1e4)](()=>this[_0x2d83a3(0x1e3)]());},{'priority':_0x11b908(0x199)}),this[_0x11b908(0x129)]['on'](_0x11b908(0x12c),async(_0x548400,[_0x5675d4,_0x3fb737])=>{const _0x7c7b1b=_0x11b908;_0x548400[_0x7c7b1b(0x12d)]();const _0x436b13=this[_0x7c7b1b(0x129)][_0x7c7b1b(0x1bd)][_0x7c7b1b(0x1ba)][_0x7c7b1b(0x164)](_0x5675d4);if(!this[_0x7c7b1b(0x1e7)][_0x7c7b1b(0x172)](_0x5675d4)){const _0x38b4ff=_0x3fb737&&_0x3fb737[_0x7c7b1b(0x1d6)]?_0x3fb737[_0x7c7b1b(0x1d6)]:'',_0x31d82f=_0x3fb737&&_0x3fb737[_0x7c7b1b(0x171)]?_0x3fb737[_0x7c7b1b(0x171)]:{};await this[_0x7c7b1b(0x19c)](_0x5675d4,_0x38b4ff,_0x31d82f);}this[_0x7c7b1b(0x129)][_0x7c7b1b(0x1bd)][_0x7c7b1b(0x1ad)]({'isUndoable':!0x1},()=>{const _0x146b94=_0x7c7b1b;_0x436b13[_0x146b94(0x11d)]=!0x0,this[_0x146b94(0x129)][_0x146b94(0x1bd)][_0x146b94(0x1ba)][_0x146b94(0x1a7)][_0x146b94(0x1fd)](_0x436b13);});},{'priority':_0x11b908(0x199)});}async[_0x11b185(0x21d)](_0x4777d3){const _0xa87b9a=_0x11b185,_0x1ea85b=this[_0xa87b9a(0x129)][_0xa87b9a(0x1dd)][_0xa87b9a(0x160)](_0x14a7cf),{connection:_0x584a71}=this[_0xa87b9a(0x129)][_0xa87b9a(0x1dd)][_0xa87b9a(0x160)](_0x8aa329),_0x3a2256=new Set();for(const _0x46b103 of _0x4777d3){const _0x59e033=_0x46b103[_0xa87b9a(0x166)];_0x59e033&&!_0x1ea85b[_0xa87b9a(0x14f)](_0x59e033)&&_0x3a2256[_0xa87b9a(0x143)](_0x59e033);}if(0x0===_0x3a2256[_0xa87b9a(0x15e)])return;const _0x3ff189=await _0xcf351c[_0xa87b9a(0x20e)](_0x584a71,Array[_0xa87b9a(0x20b)](_0x3a2256));for(const _0x226fe0 of _0x3ff189)_0x1ea85b[_0xa87b9a(0x14f)](_0x226fe0['id'])||_0x1ea85b[_0xa87b9a(0x1f8)](_0x226fe0);}[_0x11b185(0x196)](_0x146b6b,_0x212d82={}){const _0x17aba6=_0x11b185,_0x4d0f01=this[_0x17aba6(0x129)][_0x17aba6(0x1bd)],_0x6eafd9=[];let _0x507bd4=0x0;const _0x54e7dd=_0x17aba6(0x1f4)==typeof _0x146b6b?{'main':_0x146b6b}:_0x146b6b;for(const _0x2be16c of Object[_0x17aba6(0x156)](_0x54e7dd)){if(!this[_0x17aba6(0x14e)][_0x17aba6(0x1d8)][_0x17aba6(0x172)](_0x2be16c))throw new _0x1510e6(_0x17aba6(0x1eb),this);const _0x7f67e5=this[_0x17aba6(0x129)][_0x17aba6(0x1d6)][_0x17aba6(0x186)](_0x54e7dd[_0x2be16c]),_0x4ac9b6=this[_0x17aba6(0x14e)][_0x17aba6(0x164)](_0x2be16c),_0x56d567=new _0x35ef47(_0x4d0f01[_0x17aba6(0x16e)](_0x4ac9b6,0x0),_0x7f67e5,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x56d567);for(const [_0x305e62,_0x1d423d]of _0x7f67e5[_0x17aba6(0x13b)]){const _0x2a9898=_0x4d0f01[_0x17aba6(0x1da)](_0x4d0f01[_0x17aba6(0x15f)](_0x4ac9b6,_0x1d423d[_0x17aba6(0x18f)][_0x17aba6(0x1c5)][_0x17aba6(0x169)]()),_0x4d0f01[_0x17aba6(0x15f)](_0x4ac9b6,_0x1d423d[_0x17aba6(0x148)][_0x17aba6(0x1c5)][_0x17aba6(0x169)]())),_0x11d3ad=new _0x520762(_0x305e62,null,_0x2a9898,_0x4d0f01[_0x17aba6(0x13b)],!0x0,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x11d3ad);}}if(_0x212d82)for(const [_0x5868a2,_0x1511f7]of Object[_0x17aba6(0x1a5)](_0x212d82)){const _0xe92aa5=_0x4d0f01[_0x17aba6(0x1ba)][_0x17aba6(0x164)](_0x5868a2);if(!_0xe92aa5)throw new _0x1510e6(_0x17aba6(0x163),null);for(const [_0x227624,_0xf113ee]of Object[_0x17aba6(0x1a5)](_0x1511f7))if(null!==_0xf113ee){const _0x5e34b4=new _0x62aac(_0xe92aa5,_0x227624,null,_0xf113ee,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x5e34b4);}}return _0x6eafd9;}async[_0x11b185(0x19c)](_0xadb2a4,_0x39c197,_0x4f492b){const _0x468e90=_0x11b185;this[_0x468e90(0x196)]({[_0xadb2a4]:_0x39c197},{[_0xadb2a4]:_0x4f492b})[_0x468e90(0x1d7)]((_0x4abf6d,_0x4e0959)=>{const _0x4d93cc=_0x468e90;_0x4abf6d[_0x4d93cc(0x1be)]=this[_0x4d93cc(0x14e)][_0x4d93cc(0x209)]+_0x4e0959,_0x4abf6d[_0x4d93cc(0x161)]=!0x0,this[_0x4d93cc(0x11c)](_0x4abf6d);}),this[_0x468e90(0x182)](),await this[_0x468e90(0x1d0)]();}async[_0x11b185(0x1f1)](_0x228e33,_0x4de179){const _0x430dcd=_0x11b185;let _0x43f788;this[_0x430dcd(0x16a)]=_0x228e33[_0x430dcd(0x179)];const _0x397c7c=_0x228e33[_0x430dcd(0x1c3)]&&!_0x228e33[_0x430dcd(0x19e)],_0x359168=_0x397c7c?0x0:_0x228e33[_0x430dcd(0x1d6)][_0x430dcd(0x1be)];if(_0x4de179[_0x430dcd(0x1d7)](_0x308c29=>{const _0x491d6a=_0x430dcd;_0x308c29[_0x491d6a(0x161)]=!0x0,_0x308c29[_0x491d6a(0x215)]=_0x228e33[_0x491d6a(0x13f)],_0x308c29[_0x491d6a(0x166)]=null;}),_0x397c7c)_0x43f788=_0x4de179,this[_0x430dcd(0x11b)](_0x43f788,_0x397c7c);else{if(_0x228e33[_0x430dcd(0x19e)]){const _0x58fe96=this[_0x430dcd(0x196)](_0x228e33[_0x430dcd(0x19e)]);this[_0x430dcd(0x14e)][_0x430dcd(0x188)][_0x430dcd(0x209)]=-_0x58fe96[_0x430dcd(0x208)],_0x58fe96[_0x430dcd(0x1d7)](_0x54209f=>{const _0x319c0a=_0x430dcd;_0x54209f[_0x319c0a(0x1be)]-=_0x58fe96[_0x319c0a(0x208)],_0x54209f[_0x319c0a(0x215)]=_0x228e33[_0x319c0a(0x13f)],_0x54209f[_0x319c0a(0x161)]=!0x0,_0x54209f[_0x319c0a(0x166)]=null;}),this[_0x430dcd(0x11b)](_0x58fe96,!0x0),this[_0x430dcd(0x16b)][_0x430dcd(0x209)]=-_0x58fe96[_0x430dcd(0x208)]+this[_0x430dcd(0x16a)],this[_0x430dcd(0x1b3)](_0x58fe96);}this[_0x430dcd(0x14e)][_0x430dcd(0x188)][_0x430dcd(0x209)]=_0x359168,_0x43f788=this[_0x430dcd(0x1ff)](_0x228e33[_0x430dcd(0x1d6)],_0x228e33[_0x430dcd(0x16d)]),await this[_0x430dcd(0x21d)](_0x43f788),this[_0x430dcd(0x11b)](_0x43f788,_0x397c7c);}_0x228e33[_0x430dcd(0x162)]&&(this[_0x430dcd(0x20f)][_0x430dcd(0x125)](_0x43f788,_0x228e33[_0x430dcd(0x162)]),this[_0x430dcd(0x123)]=_0x228e33[_0x430dcd(0x162)]),this[_0x430dcd(0x16b)][_0x430dcd(0x209)]=_0x359168+this[_0x430dcd(0x16a)],this[_0x430dcd(0x1b3)](_0x43f788),_0x4de179[_0x430dcd(0x18c)](_0x3c6fd7=>{const _0x7bd248=_0x430dcd,_0x5f164a=this[_0x7bd248(0x1c2)](_0x3c6fd7);return _0x5f164a&&!this[_0x7bd248(0x1e7)][_0x7bd248(0x172)](_0x5f164a);})[_0x430dcd(0x1d7)]((_0x175c89,_0x3cb17b)=>{const _0x4dfb2c=_0x430dcd;_0x175c89[_0x4dfb2c(0x1be)]=this[_0x4dfb2c(0x14e)][_0x4dfb2c(0x209)]+_0x3cb17b,this[_0x4dfb2c(0x11c)](_0x175c89);}),this[_0x430dcd(0x1de)]()?(this[_0x430dcd(0x165)]=0x0,this[_0x430dcd(0x182)](!0x0),await this[_0x430dcd(0x1d0)]()):(this[_0x430dcd(0x202)]=!0x1,this[_0x430dcd(0x1e3)]());}[_0x11b185(0x1a4)](_0xae9c0d,_0x546852){const _0x39b756=_0x11b185,_0x4982f=_0x546852&&_0x546852[_0x39b756(0x147)];if(_0x4982f&&_0x4982f[_0x39b756(0x185)](_0x39b756(0x173)))throw _0x546852;const _0x1a351f=this[_0x39b756(0x129)][_0x39b756(0x1dd)][_0x39b756(0x160)](_0x8aa329);throw this[_0x39b756(0x202)]=!0x0,_0x1a351f[_0x39b756(0x17d)](),this[_0x39b756(0x129)][_0x39b756(0x1b0)](_0x39b756(0x1b9)),new _0x1510e6(_0xae9c0d,this[_0x39b756(0x129)],_0x4982f?{'originalError':_0x4982f}:void 0x0);}[_0x11b185(0x11c)](_0xbc87d){const _0x12c44e=_0x11b185;this[_0x12c44e(0x18e)][_0x12c44e(0x172)](_0xbc87d)||(this[_0x12c44e(0x18e)][_0x12c44e(0x143)](_0xbc87d),this[_0x12c44e(0x170)][_0x12c44e(0x200)](_0xbc87d),this[_0x12c44e(0x1e0)]||_0x12c44e(0x1d9)==_0xbc87d[_0x12c44e(0x140)]&&!_0xbc87d[_0x12c44e(0x12e)]||this[_0x12c44e(0x180)]());}[_0x11b185(0x182)](_0xafc7c2=!0x1){const _0x58714f=_0x11b185;!_0xafc7c2&&this[_0x58714f(0x202)]||(this[_0x58714f(0x202)]=!0x0,clearTimeout(this[_0x58714f(0x117)]),this[_0x58714f(0x117)]=setTimeout(()=>{const _0x15584a=_0x58714f;this[_0x15584a(0x11f)]()[_0x15584a(0x1ee)](_0x479280=>{const _0x290224=_0x15584a;_0x479280&&(this[_0x290224(0x1e3)](),this[_0x290224(0x202)]=!0x1);})[_0x15584a(0x14c)](_0x36202d=>{const _0x46504f=_0x15584a;this[_0x46504f(0x1e3)](),this[_0x46504f(0x202)]=!0x1,function(_0x57e9ed){const _0x1b4acb=_0x46504f;return _0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1e5))||_0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1c8))||_0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1d2));}(_0x36202d)||this[_0x46504f(0x1a4)](_0x36202d[_0x46504f(0x147)],_0x36202d);});},this[_0x58714f(0x165)]));}[_0x11b185(0x1d0)](){return new Promise(_0x6d14e7=>{const _0x571fa1=_0x51b4;this['on'](_0x571fa1(0x175),()=>{_0x6d14e7();});});}async[_0x11b185(0x11f)](){const _0x480e4e=_0x11b185,_0x1871ed=this[_0x480e4e(0x129)][_0x480e4e(0x1dd)][_0x480e4e(0x160)](_0x304d6b);if(this[_0x480e4e(0x192)]()&&(_0x1871ed[_0x480e4e(0x20c)](),this[_0x480e4e(0x1d1)]=!0x1),!this[_0x480e4e(0x1de)]())return!0x0;const _0x1dc1ec=[...this[_0x480e4e(0x170)]];for(const _0x487c1c of _0x1dc1ec)_0x487c1c[_0x480e4e(0x184)]=this[_0x480e4e(0x14e)][_0x480e4e(0x188)][_0x480e4e(0x18b)](_0x487c1c);const _0x40a959=this[_0x480e4e(0x20f)][_0x480e4e(0x20d)](_0x1dc1ec),_0x2cfe1b=G++,_0x2c0bad=this[_0x480e4e(0x16c)](_0x1dc1ec),_0x1bb1cc=await this[_0x480e4e(0x174)][_0x480e4e(0x133)](_0x2c0bad,_0x2c0bad[_0x480e4e(0x1be)],_0x40a959);try{return await this[_0x480e4e(0x12b)](_0x1dc1ec,_0x1bb1cc,_0x2cfe1b);}catch(_0x4ed331){return this[_0x480e4e(0x1a4)](_0x480e4e(0x1ab),_0x4ed331);}}async[_0x11b185(0x12b)](_0x2c16a8,_0x36ffc1,_0x38a12f){const _0x30b4ac=_0x11b185;if(_0x30b4ac(0x1c1)in _0x36ffc1)throw _0x36ffc1[_0x30b4ac(0x1c1)];let _0x333b81=!0x1;if(_0x36ffc1[_0x30b4ac(0x1c3)]){_0x36ffc1[_0x30b4ac(0x162)]&&(this[_0x30b4ac(0x123)]=_0x36ffc1[_0x30b4ac(0x162)]),this[_0x30b4ac(0x170)]=this[_0x30b4ac(0x170)][_0x30b4ac(0x18c)](_0x3ab392=>!_0x2c16a8[_0x30b4ac(0x190)](_0x3ab392));for(const _0x3377f9 of _0x2c16a8)_0x3377f9[_0x30b4ac(0x215)]=_0x30b4ac(0x14a)in _0x36ffc1&&_0x36ffc1[_0x30b4ac(0x14a)]||void 0x0;K(_0x2c16a8,_0x36ffc1[_0x30b4ac(0x209)]-_0x2c16a8[_0x30b4ac(0x208)]),this[_0x30b4ac(0x1b3)](_0x2c16a8);const _0x18a4b5=_0x2c16a8[_0x30b4ac(0x18c)](_0x45215a=>{const _0x2f5c19=_0x30b4ac;if(!_0x45215a[_0x2f5c19(0x161)])return!0x1;const _0x1cc17e=this[_0x2f5c19(0x1c2)](_0x45215a);return _0x1cc17e&&!this[_0x2f5c19(0x1e7)][_0x2f5c19(0x172)](_0x1cc17e);});K(_0x18a4b5,this[_0x30b4ac(0x14e)][_0x30b4ac(0x209)]),this[_0x30b4ac(0x11b)](_0x18a4b5),_0x333b81=!0x0,this[_0x30b4ac(0x165)]=this[_0x30b4ac(0x21c)];}else{const _0x25329a=this[_0x30b4ac(0x1ff)](_0x36ffc1[_0x30b4ac(0x1d6)],_0x36ffc1[_0x30b4ac(0x16d)])[_0x30b4ac(0x18c)](_0x2d5a84=>_0x2d5a84[_0x30b4ac(0x1be)]>=this[_0x30b4ac(0x135)]);_0x25329a[_0x30b4ac(0x1d7)](_0x3b63e2=>this[_0x30b4ac(0x158)](_0x3b63e2)),this[_0x30b4ac(0x170)]=this[_0x30b4ac(0x170)][_0x30b4ac(0x18c)](_0x278100=>!_0x278100[_0x30b4ac(0x161)]||!this[_0x30b4ac(0x1e7)][_0x30b4ac(0x172)](this[_0x30b4ac(0x1c2)](_0x278100))),this[_0x30b4ac(0x170)][_0x30b4ac(0x208)]&&K(this[_0x30b4ac(0x170)],this[_0x30b4ac(0x170)][0x0][_0x30b4ac(0x1be)]),await this[_0x30b4ac(0x21d)](_0x25329a),_0x333b81=this[_0x30b4ac(0x1d4)](_0x25329a,_0x36ffc1[_0x30b4ac(0x209)],_0x36ffc1[_0x30b4ac(0x162)]),this[_0x30b4ac(0x165)]=Math[_0x30b4ac(0x1a6)](this[_0x30b4ac(0x165)]/0x2);}return _0x333b81?!this[_0x30b4ac(0x1de)]()||(this[_0x30b4ac(0x182)](!0x0),!0x1):this[_0x30b4ac(0x1a4)](_0x30b4ac(0x13d));}[_0x11b185(0x1d4)](_0x14ba1d,_0x50685d,_0x58b823){const _0x39ac83=_0x11b185;try{const _0x4dfbce={'document':this[_0x39ac83(0x14e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x35e326,operationsB:_0x5aed0b,originalOperations:_0x52e49d}=_0x59e1b3(_0x14ba1d,this[_0x39ac83(0x170)],_0x4dfbce);K(_0x35e326,this[_0x39ac83(0x14e)][_0x39ac83(0x209)]),K(_0x5aed0b,_0x50685d);for(const _0x463490 of _0x35e326){const _0x505a0b=_0x52e49d[_0x39ac83(0x160)](_0x463490);_0x463490[_0x39ac83(0x166)]=_0x505a0b?_0x505a0b[_0x39ac83(0x166)]:null;}_0x58b823&&(this[_0x39ac83(0x20f)][_0x39ac83(0x125)](_0x14ba1d,_0x58b823),this[_0x39ac83(0x123)]=_0x58b823),this[_0x39ac83(0x170)]=[..._0x5aed0b],this[_0x39ac83(0x11b)](_0x35e326),this[_0x39ac83(0x1b3)](_0x14ba1d);}catch(_0x55a05f){return console[_0x39ac83(0x1c1)](_0x55a05f),!0x1;}return!0x0;}[_0x11b185(0x11b)](_0x18456,_0x2d24a0=!0x1){const _0x1ecb14=_0x11b185;this[_0x1ecb14(0x129)][_0x1ecb14(0x1bd)][_0x1ecb14(0x1ad)]({'isUndoable':!0x1,'isLocal':!0x1},_0x6267ca=>{const _0x5496a0=_0x1ecb14;for(const _0x3dfb83 of _0x18456)this[_0x5496a0(0x18e)][_0x5496a0(0x143)](_0x3dfb83),this[_0x5496a0(0x158)](_0x3dfb83),_0x6267ca[_0x5496a0(0x1df)][_0x5496a0(0x1d5)](_0x3dfb83),this[_0x5496a0(0x129)][_0x5496a0(0x1bd)][_0x5496a0(0x1cd)](_0x3dfb83);});}[_0x11b185(0x158)](_0x21bab5){const _0x309dff=_0x11b185,_0x375968=this[_0x309dff(0x1c2)](_0x21bab5);_0x375968&&this[_0x309dff(0x1e7)][_0x309dff(0x143)](_0x375968);}[_0x11b185(0x1c2)](_0x1bb9eb){const _0x3eb2a3=_0x11b185;let _0x3820ba,_0x456223;switch(_0x1bb9eb[_0x3eb2a3(0x140)]){case _0x3eb2a3(0x193):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x1ed)][_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x1d9):if(_0x456223=_0x1bb9eb[_0x3eb2a3(0x1cf)],!_0x456223)return null;_0x3820ba=_0x456223[_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x176):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x124):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x13e)];break;case _0x3eb2a3(0x16f):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x201)][_0x3eb2a3(0x1ae)];break;default:return null;}return _0x3820ba[_0x3eb2a3(0x136)];}[_0x11b185(0x1b3)](_0x555ffc){const _0xd8174b=_0x11b185;_0x555ffc[_0xd8174b(0x1d7)](_0x2be055=>{const _0x79ff16=_0xd8174b,_0x457f5a=_0x2be055[_0x79ff16(0x187)]();_0x457f5a[_0x79ff16(0x166)]=_0x2be055[_0x79ff16(0x166)],_0x457f5a[_0x79ff16(0x161)]=!!_0x2be055[_0x79ff16(0x161)],_0x457f5a[_0x79ff16(0x215)]=_0x2be055[_0x79ff16(0x215)],_0x457f5a[_0x79ff16(0x1be)]+=this[_0x79ff16(0x16a)],_0x2be055[_0x79ff16(0x20a)]&&this[_0x79ff16(0x1d3)][_0x79ff16(0x143)](_0x457f5a),this[_0x79ff16(0x16b)][_0x79ff16(0x1d5)](_0x457f5a);});}[_0x11b185(0x19a)](_0x2d69ce){const _0x150d8c=_0x11b185,_0x15b0f5=this[_0x150d8c(0x129)][_0x150d8c(0x1dd)][_0x150d8c(0x160)](_0x150d8c(0x131)),_0xbd77a0=this[_0x150d8c(0x129)][_0x150d8c(0x178)];_0x2d69ce||(_0x2d69ce=_0x473c58(_0xbd77a0,_0x150d8c(0x121))),_0x15b0f5[_0x150d8c(0x219)](_0x2d69ce,{'title':_0x473c58(_0xbd77a0,_0x150d8c(0x1c9)),'namespace':_0x150d8c(0x1db)}),this[_0x150d8c(0x1c4)]=!0x0,clearTimeout(this[_0x150d8c(0x117)]),this[_0x150d8c(0x170)]=[],this[_0x150d8c(0x129)][_0x150d8c(0x1dd)][_0x150d8c(0x160)](_0x8aa329)[_0x150d8c(0x17d)]();}[_0x11b185(0x180)](){const _0x3b7b88=_0x11b185;this[_0x3b7b88(0x1e0)]||(this[_0x3b7b88(0x1e0)]=this[_0x3b7b88(0x129)][_0x3b7b88(0x1dd)][_0x3b7b88(0x160)](_0x58ef67)[_0x3b7b88(0x143)](_0x473c58(this[_0x3b7b88(0x129)][_0x3b7b88(0x178)],_0x3b7b88(0x11a))));}[_0x11b185(0x1e3)](){const _0x46863f=_0x11b185;this[_0x46863f(0x1e0)]&&(this[_0x46863f(0x129)][_0x46863f(0x1dd)][_0x46863f(0x160)](_0x58ef67)[_0x46863f(0x144)](this[_0x46863f(0x1e0)]),this[_0x46863f(0x1e0)]=null);}[_0x11b185(0x16c)](_0x34e78b){const _0x40df20=_0x11b185,_0x19b2f0=_0x34e78b[_0x40df20(0x12a)](_0x31eaf9=>_0x31eaf9[_0x40df20(0x119)]());return this[_0x40df20(0x17b)][_0x40df20(0x18a)](_0x19b2f0);}[_0x11b185(0x1ff)](_0x29d0b5,_0x2de4ff){const _0xa33b33=_0x11b185;return this[_0xa33b33(0x17b)][_0xa33b33(0x17a)](_0x29d0b5)[_0xa33b33(0x12a)]((_0x118dbb,_0x10ad0a)=>{const _0x5e40c3=_0xa33b33,_0x46606a=_0x5e40c3(0x205)==_0x2de4ff[_0x10ad0a][_0x5e40c3(0x140)];if(_0x5e40c3(0x1bc)==_0x118dbb[_0x5e40c3(0x1e9)]){const _0x2eb26d=_0x118dbb[_0x5e40c3(0x1ed)][_0x5e40c3(0x1ae)];!this[_0x5e40c3(0x14e)][_0x5e40c3(0x164)](_0x2eb26d)&&(this[_0x5e40c3(0x14e)][_0x5e40c3(0x1b2)](_0x5e40c3(0x14d),_0x2eb26d)[_0x5e40c3(0x189)]=!0x1);}const _0x46d1a6=_0x1e1845[_0x5e40c3(0x1aa)](_0x118dbb,this[_0x5e40c3(0x14e)]);return _0x46d1a6[_0x5e40c3(0x184)]=_0x118dbb[_0x5e40c3(0x184)],_0x46d1a6[_0x5e40c3(0x161)]=_0x46606a,_0x46d1a6[_0x5e40c3(0x166)]=_0x46606a?null:_0x2de4ff[_0x10ad0a][_0x5e40c3(0x191)],_0x46d1a6[_0x5e40c3(0x20a)]=_0x5e40c3(0x15c)===_0x2de4ff[_0x10ad0a][_0x5e40c3(0x140)],_0x46d1a6[_0x5e40c3(0x215)]=_0x2de4ff[_0x10ad0a][_0x5e40c3(0x215)],_0x46d1a6;});}[_0x11b185(0x12f)](){const _0x3415c5=_0x11b185;this[_0x3415c5(0x1d1)]=!0x0,this[_0x3415c5(0x192)]()?this[_0x3415c5(0x182)]():this[_0x3415c5(0x1d1)]=!0x1;}[_0x11b185(0x192)](){const _0x50d61e=_0x11b185,_0x52c5a0=this[_0x50d61e(0x129)][_0x50d61e(0x1dd)][_0x50d61e(0x160)](_0x10854f)[_0x50d61e(0x203)][_0x50d61e(0x160)](this[_0x50d61e(0x130)]);return!this[_0x50d61e(0x129)][_0x50d61e(0x217)]&&!!_0x52c5a0&&_0x52c5a0[_0x50d61e(0x208)]>0x1&&this[_0x50d61e(0x1d1)];}[_0x11b185(0x1de)](){const _0x2e77b4=_0x11b185;return this[_0x2e77b4(0x170)][_0x2e77b4(0x208)]>0x0||this[_0x2e77b4(0x192)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x9f6f04,_0xf0c00f){const _0x395b47=_0x11b185;for(const _0xd811a0 of _0x9f6f04)_0xd811a0[_0x395b47(0x1be)]=_0xf0c00f++;}class J{[_0x11b185(0x1ef)];[_0x11b185(0x1c7)];constructor(_0xb06548){const _0x3fba2a=_0x11b185;this[_0x3fba2a(0x1ef)]=_0xb06548,this[_0x3fba2a(0x1c7)]=new WeakMap();}[_0x11b185(0x20d)](_0x290f0f){const _0x446f98=_0x11b185;let _0x13e23e=_0x290f0f[_0x446f98(0x208)];for(;_0x13e23e--;){const _0x2b84be=_0x290f0f[_0x13e23e];if(!this[_0x446f98(0x1ef)][_0x446f98(0x172)](_0x2b84be)){if(!this[_0x446f98(0x1c7)][_0x446f98(0x172)](_0x2b84be)){const _0x55568f=_0x22c164()[_0x446f98(0x169)](0x1,0x12);this[_0x446f98(0x1c7)][_0x446f98(0x210)](_0x2b84be,_0x55568f);}return this[_0x446f98(0x1c7)][_0x446f98(0x160)](_0x2b84be);}}}[_0x11b185(0x125)](_0x376f8a,_0x4545cd){const _0x539a0d=_0x11b185;if(!_0x4545cd)return;let _0x45f7fe=_0x376f8a[_0x539a0d(0x208)];for(;_0x45f7fe--;){const _0x6eb834=_0x376f8a[_0x45f7fe];this[_0x539a0d(0x1ef)][_0x539a0d(0x172)](_0x6eb834)||this[_0x539a0d(0x1c7)][_0x539a0d(0x210)](_0x6eb834,_0x4545cd);}}}
|
|
23
|
+
const _0x1758dd=_0x4d9c;function _0x4d9c(_0x4fe78b,_0x5d0264){const _0x186d90=_0x186d();return _0x4d9c=function(_0x4d9c64,_0x4670e6){_0x4d9c64=_0x4d9c64-0x1f0;let _0x3b434f=_0x186d90[_0x4d9c64];return _0x3b434f;},_0x4d9c(_0x4fe78b,_0x5d0264);}(function(_0x5d6162,_0x31d7f5){const _0x35657b=_0x4d9c,_0xd7db36=_0x5d6162();while(!![]){try{const _0x11c54c=parseInt(_0x35657b(0x2a8))/0x1+parseInt(_0x35657b(0x271))/0x2+parseInt(_0x35657b(0x223))/0x3*(-parseInt(_0x35657b(0x24c))/0x4)+-parseInt(_0x35657b(0x257))/0x5*(-parseInt(_0x35657b(0x2d8))/0x6)+-parseInt(_0x35657b(0x22e))/0x7*(parseInt(_0x35657b(0x26f))/0x8)+parseInt(_0x35657b(0x2b0))/0x9+parseInt(_0x35657b(0x2a4))/0xa*(-parseInt(_0x35657b(0x2c1))/0xb);if(_0x11c54c===_0x31d7f5)break;else _0xd7db36['push'](_0xd7db36['shift']());}catch(_0x898d96){_0xd7db36['push'](_0xd7db36['shift']());}}}(_0x186d,0xcc065));import{Plugin as _0x483a73,PendingActions as _0x4d1628}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b2cc9,version as _0x210e6e,uid as _0x2334eb}from'ckeditor5/src/utils.js';import{Notification as _0x511de5}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x513267,NoOperation as _0x5a158f,InsertOperation as _0x305c33,MarkerOperation as _0xf8f9c0,RootAttributeOperation as _0x553c12,OperationFactory as _0x6399d7,History as _0x20b2da}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x272920}from'./websocketgateway.js';import{Sessions as _0x1db1fa}from'./sessions.js';import{UserMarkers as _0x138abb}from'./usermarkers.js';import{getTranslation as _0x2578e4}from'../common-translations.js';import{Compressor as _0x2cf428}from'@ckeditor/ckeditor5-operations-compressor';function _0x186d(){const _0x4ada0a=['realtimecollaborationclient-init-document-already-initialized','catch','getRoot','init','permissions','fromJSON','clone','cs:removeUser','_knownOperations','Permissions','_knownRootNames','bind','_shouldSendUpdate','_ignoredOperations','collaboration.channelId','_waitUntilSynced','connection','60xuioFA','model','connect','startsWith','601753RqMyXc','compress','loadRoot','channelSessions','_operationIdentifier','_setPendingAction','rootName','isDocumentOperation','3713733FuxkMf','getDocumentDetails','addUser','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','serverHistory','enqueueChange','realtimecollaborationclient-init-service-incorrect-server-operation','_connectAfterSessionHasBeenFlushed','addRootAttribute','batch','realtimecollaborationclient-init-service-internal-error','_operationToId','_handleInitialConnectionData','path','locale','sessionAdd:','_compressOperations','1724635oemaWu','getOperationAuthor','decompress','cloud-services-internal-error:\x20Not\x20connected.','insert','fire','_handleServerResponse','change:hasDomSelection','_addKnownRoot','parse','applyOperation','editing','_handleReconnectionResponse','isUndoneOperation','_compressor','newRange','unregister','slice','CollaborativeEditingService','_authorId','document:write','stop','disconnected','432378qkVhcD','_loadRoot','_disconnectionOperations','error','realtimecollaborationclient-init-session-connection-error','getIdOfTheLastOperation','isEnabled','InsertOperation','define','baseVersion','404','_getAffectedRoot','createRange','setIdForTheLastOperation','enableReadOnlyMode','affectsData','createdAt','Notification','_initSessionsHandling','targetPosition','history','_shouldSendSelectionUpdate','_updateServerHistory','Synchronization\x20issue','change:range','offset','_isPendingUpdate','filter','affectedSelectable','_hasSelectionChanged','_sendBufferedOperations','lastOperationAcceptedAt','_channelId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','message','$root','currentDocumentSession','createUserMarkerOperations','operationsReceived','_saveOperationInBuffer','wereChangesApplied','code','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','RealTimeCollaborationClient','round','view','PENDING_ACTION_SENDING_DATA','config','409','move','_sendBufferedOperationsDelayId','initData','mySessionId','get','plugins','_decompressOperations','isReadOnly','pluginName','type','attributes','length','setPermissions','collaboration-missing-channelid','_baseBufferDelay','_sendBufferedOperationsDelayed','editor','_isLoaded','set','metadata','sessionId','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.','reconnection:\x20flushed\x20session','_bufferedOperations','_isConnected','end','reconnect','register','CommentsOnly','removeFromReconnectionStack','high','realtimecollaborationclient-error','off','2181VSIxUA','showWarning','markers','map','cloudServices.bundleVersion','_currentBufferDelay','disableReadOnlyMode','_offset','suppressErrorInCollaboration','getMany','requires','21vZpimU','isPremiumPlugin','_getOperationsFromInitData','from','_document','real-time-collaboration','_isDisconnection','disconnect','differ','data','_refreshUserSelectionMarkers','marker','version','then','getUser','createPositionFromPath','_isInit','_lastSyncedOperationId','finally','addRoot','_setUpDataInit','_service','realtimecollaborationclient-init-non-existent-root','keys','cloudDocumentVersion','__className','collaboration','createPositionAt','wasUndone','string','8572VneiDm','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectService','_clearPendingAction','getConnectedSessions','createRoot','_initThrowingOnDataSet','forEach','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.','connected','start','70MPWfoO','realtimecollaborationclient-sendbufferedoperations','_fetchMissingUsers','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','getOperations','add','stopListening','addOperation','realtimecollaborationclient-init-connection-failed','remove','realtimecollaborationclient-handleserverresponse','_pendingAction','rtc-destroyed','state','userId','rootsAttributes','addToReconnectionStack','lastSyncVersion','listenTo','_hasSynchronizationProblem','_isAttached','position','rtc-offline','668840uMYJMM','_handleExternalOperations','3123798WaSPIY','sendOperations','_lastServerVersion','entries','multi-root-editor-root-attributes-no-root','has','roots','selection','_handleReconnectionError','_crash','_applyOperationsSet','reset','document','lastOperationId','_isEditingAllowed','_bufferRootLoad','destroy','ready','realtimecollaborationclient','root','toJSON','change:_isEditingAllowed','_disconnectService','includes','push','return','sessionCreatedAt','change:_isPendingUpdate','directChange','size','_handleReceivedOperations','lastDocumentSession','apply','_handleSendingSelectionMarkers'];_0x186d=function(){return _0x4ada0a;};return _0x186d();}import{Users as _0x211fcc}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4ccef9,CollaborativeEditingService as _0x4f67a6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let q=0x1;class l extends _0x483a73{static [_0x1758dd(0x2d3)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4f67a6)());[_0x1758dd(0x22a)];[_0x1758dd(0x216)];[_0x1758dd(0x2b4)];[_0x1758dd(0x1f1)];[_0x1758dd(0x243)];[_0x1758dd(0x232)];[_0x1758dd(0x2cf)];[_0x1758dd(0x219)];[_0x1758dd(0x29b)];[_0x1758dd(0x29d)];[_0x1758dd(0x263)];[_0x1758dd(0x2f5)];[_0x1758dd(0x203)];[_0x1758dd(0x210)];[_0x1758dd(0x228)];[_0x1758dd(0x23f)];[_0x1758dd(0x2da)];[_0x1758dd(0x2ac)];static get[_0x1758dd(0x22d)](){return[_0x272920,_0x1db1fa,_0x138abb,_0x4d1628,_0x211fcc,_0x511de5];}static get[_0x1758dd(0x20a)](){const _0x17e23d=_0x1758dd;return _0x17e23d(0x1fc);}static get[_0x1758dd(0x25b)](){return!0x0;}static get[_0x1758dd(0x22f)](){return!0x0;}get[_0x1758dd(0x246)](){const _0x47cef5=_0x1758dd;return this[_0x47cef5(0x273)]+this[_0x47cef5(0x22a)];}get[_0x1758dd(0x273)](){const _0x501096=_0x1758dd;return this[_0x501096(0x2b4)][_0x501096(0x23a)]-this[_0x501096(0x22a)];}get[_0x1758dd(0x269)](){const _0x26c3c6=_0x1758dd,_0x96d05c=this[_0x26c3c6(0x2b4)][_0x26c3c6(0x25c)]();for(let _0x5f28f4=_0x96d05c[_0x26c3c6(0x20d)]-0x1;_0x5f28f4>=0x0;_0x5f28f4--){const _0x4413ae=_0x96d05c[_0x5f28f4];if(!this[_0x26c3c6(0x2da)][_0x26c3c6(0x276)](_0x4413ae))return _0x4413ae[_0x26c3c6(0x2e1)]+0x1-this[_0x26c3c6(0x22a)];}return 0x0;}constructor(_0x1a204a){const _0x5ca7ce=_0x1758dd;if(super(_0x1a204a),this[_0x5ca7ce(0x22a)]=0x0,this[_0x5ca7ce(0x216)]=null,this[_0x5ca7ce(0x2b4)]=new _0x20b2da(),this[_0x5ca7ce(0x212)][_0x5ca7ce(0x200)][_0x5ca7ce(0x2e0)](_0x5ca7ce(0x248),{}),this[_0x5ca7ce(0x1f1)]=this[_0x5ca7ce(0x212)][_0x5ca7ce(0x200)][_0x5ca7ce(0x206)](_0x5ca7ce(0x2a1)),!this[_0x5ca7ce(0x1f1)])throw new _0x4b2cc9(_0x5ca7ce(0x20f),this);const _0x1cdfb6=_0x1a204a[_0x5ca7ce(0x200)][_0x5ca7ce(0x206)](_0x5ca7ce(0x227))||_0x210e6e;this[_0x5ca7ce(0x243)]=new l[(_0x5ca7ce(0x2d3))](_0x1cdfb6,this[_0x5ca7ce(0x1f1)]),this[_0x5ca7ce(0x232)]=this[_0x5ca7ce(0x212)][_0x5ca7ce(0x2a5)][_0x5ca7ce(0x27d)],this[_0x5ca7ce(0x2cf)]=new _0x2cf428(),this[_0x5ca7ce(0x219)]=[],this[_0x5ca7ce(0x29b)]=new WeakSet(),this[_0x5ca7ce(0x29d)]=new Set(),this[_0x5ca7ce(0x214)](_0x5ca7ce(0x2f2),!0x1),this[_0x5ca7ce(0x214)](_0x5ca7ce(0x26b),!0x1),this[_0x5ca7ce(0x263)]=null,this[_0x5ca7ce(0x2f5)]=!0x1,this[_0x5ca7ce(0x203)]=null,this[_0x5ca7ce(0x210)]=0x12c,this[_0x5ca7ce(0x228)]=this[_0x5ca7ce(0x210)],this[_0x5ca7ce(0x23f)]=null,this[_0x5ca7ce(0x2da)]=new WeakSet(),this[_0x5ca7ce(0x2ac)]=new K(this[_0x5ca7ce(0x2da)]);}[_0x1758dd(0x296)](){const _0x3aa47e=_0x1758dd,_0x1a09fd=this[_0x3aa47e(0x212)],_0x40a07a=_0x1a09fd[_0x3aa47e(0x207)][_0x3aa47e(0x206)](_0x211fcc),_0x530f0f=_0x1a09fd[_0x3aa47e(0x207)][_0x3aa47e(0x206)](_0x272920);this[_0x3aa47e(0x26a)](_0x40a07a,_0x3aa47e(0x2c2),(_0x29a2c0,_0x54168f)=>{const _0x50977b=_0x3aa47e,_0x5c8c20=_0x54168f[0x0];_0x5c8c20[_0x50977b(0x2d4)]&&(_0x29a2c0[_0x50977b(0x28a)]=_0x40a07a[_0x50977b(0x23c)](_0x5c8c20[_0x50977b(0x2d4)]),_0x29a2c0[_0x50977b(0x2d6)]()),null===_0x5c8c20[_0x50977b(0x2d4)]&&(_0x29a2c0[_0x50977b(0x28a)]=null,_0x29a2c0[_0x50977b(0x2d6)]());},{'priority':_0x3aa47e(0x220)}),this[_0x3aa47e(0x26a)](_0x1a09fd[_0x3aa47e(0x2a5)][_0x3aa47e(0x27d)][_0x3aa47e(0x278)],_0x3aa47e(0x2f0),(_0x388ca3,_0x2b2313)=>{const _0x126842=_0x3aa47e;_0x2b2313[_0x126842(0x28d)]&&this[_0x126842(0x238)]();}),this[_0x3aa47e(0x26a)](_0x1a09fd[_0x3aa47e(0x2cc)][_0x3aa47e(0x1fe)],_0x3aa47e(0x2c8),()=>{const _0x177af6=_0x3aa47e;this[_0x177af6(0x238)]();}),this[_0x3aa47e(0x252)](),_0x1a09fd[_0x3aa47e(0x2a5)]['on'](_0x3aa47e(0x2cb),(_0x35e669,_0x732e2d)=>{const _0x3f895b=_0x3aa47e,_0x8f12d1=_0x732e2d[0x0];_0x8f12d1[_0x3f895b(0x2af)]&&(this[_0x3f895b(0x1f8)](_0x8f12d1),this[_0x3f895b(0x29f)]()&&this[_0x3f895b(0x211)]());}),this[_0x3aa47e(0x242)](),this[_0x3aa47e(0x29e)](_0x3aa47e(0x27f))['to'](_0x530f0f,_0x3aa47e(0x265),this,_0x3aa47e(0x26b),(_0x597a93,_0x229b67)=>_0x3aa47e(0x255)===_0x597a93&&!_0x229b67),this['on'](_0x3aa47e(0x286),()=>{const _0x2b19ab=_0x3aa47e;this[_0x2b19ab(0x27f)]?_0x1a09fd[_0x2b19ab(0x229)](_0x2b19ab(0x26e)):_0x1a09fd[_0x2b19ab(0x2e6)](_0x2b19ab(0x26e));}),this[_0x3aa47e(0x27f)]?_0x1a09fd[_0x3aa47e(0x229)](_0x3aa47e(0x26e)):_0x1a09fd[_0x3aa47e(0x2e6)](_0x3aa47e(0x26e)),this[_0x3aa47e(0x214)](_0x3aa47e(0x21a),!0x1);}async[_0x1758dd(0x21c)](){const _0x4b799e=_0x1758dd,_0x34cd00=this[_0x4b799e(0x212)][_0x4b799e(0x207)][_0x4b799e(0x206)](_0x1db1fa),_0x4ce625=this[_0x4b799e(0x212)][_0x4b799e(0x207)][_0x4b799e(0x206)](_0x272920);try{this[_0x4b799e(0x2f2)]=!0x0,_0x34cd00[_0x4b799e(0x2d1)](this[_0x4b799e(0x1f1)]);const _0x4cc0cc=await this[_0x4b799e(0x243)][_0x4b799e(0x21c)](_0x4ce625[_0x4b799e(0x2a3)],this[_0x4b799e(0x269)]);await this[_0x4b799e(0x2cd)](_0x4cc0cc)&&(this[_0x4b799e(0x2f2)]=!0x1,this[_0x4b799e(0x24f)]());const _0x25c013=await this[_0x4b799e(0x243)][_0x4b799e(0x250)]();_0x34cd00[_0x4b799e(0x21d)](this[_0x4b799e(0x1f1)],_0x25c013),this[_0x4b799e(0x292)](),this[_0x4b799e(0x21a)]=!0x0;}catch(_0x17663c){if(function(_0x351d95){const _0xd9c56f=_0x4b799e;return _0xd9c56f(0x2e2)===_0x351d95[_0xd9c56f(0x1fa)];}(_0x17663c)&&this[_0x4b799e(0x216)])await this[_0x4b799e(0x2b7)]();else{if(function(_0x223108){const _0x4bd1df=_0x4b799e;return _0x4bd1df(0x201)===_0x223108[_0x4bd1df(0x1fa)];}(_0x17663c)){const _0x5bc948=_0x2578e4(this[_0x4b799e(0x212)][_0x4b799e(0x2be)],_0x4b799e(0x24d));this[_0x4b799e(0x279)](_0x5bc948);}else{if(!(_0x17663c instanceof G))throw _0x17663c;this[_0x4b799e(0x279)]();}}}}[_0x1758dd(0x281)](){const _0x54c191=_0x1758dd,_0x1f3358=this[_0x54c191(0x212)][_0x54c191(0x207)][_0x54c191(0x206)](_0x272920),_0x157b8e=this[_0x54c191(0x212)][_0x54c191(0x207)][_0x54c191(0x206)](_0x1db1fa);this[_0x54c191(0x212)][_0x54c191(0x2e6)](_0x54c191(0x264)),_0x157b8e[_0x54c191(0x2ab)][_0x54c191(0x276)](this[_0x54c191(0x1f1)])&&_0x157b8e[_0x54c191(0x2d1)](this[_0x54c191(0x1f1)]),_0x1f3358[_0x54c191(0x21f)](this),this[_0x54c191(0x287)](),super[_0x54c191(0x281)]();}async[_0x1758dd(0x2cd)](_0x571d33){const _0x1ed258=_0x1758dd;if(this[_0x1ed258(0x216)]!==_0x571d33[_0x1ed258(0x216)]&&this[_0x1ed258(0x23f)]!==_0x571d33[_0x1ed258(0x27e)])throw new G();return this[_0x1ed258(0x216)]=_0x571d33[_0x1ed258(0x216)],this[_0x1ed258(0x2c7)]([],{..._0x571d33,'wereChangesApplied':!0x1,'data':_0x571d33[_0x1ed258(0x237)]},_0x1ed258(0x21c));}async[_0x1758dd(0x24e)](_0x43f814,_0x3ee5ec=!0x1){const _0x152682=_0x1758dd,{connection:_0x24c414}=this[_0x152682(0x212)][_0x152682(0x207)][_0x152682(0x206)](_0x272920);l[_0x152682(0x2d3)][_0x152682(0x250)](_0x24c414,this[_0x152682(0x1f1)])[_0x152682(0x23b)](_0xb9f820=>this[_0x152682(0x2ea)](_0xb9f820))[_0x152682(0x294)](_0x123c41=>{const _0x4eb704=_0x152682;this[_0x4eb704(0x27a)](_0x4eb704(0x2dc),_0x123c41);}),this[_0x152682(0x26a)](this[_0x152682(0x243)],_0x152682(0x1f7),this[_0x152682(0x28f)][_0x152682(0x29e)](this)),this[_0x152682(0x26a)](this[_0x152682(0x243)],_0x152682(0x2db),(_0x31c375,_0x45f87f)=>{const _0x4fe5a9=_0x152682;this[_0x4fe5a9(0x27a)](_0x4fe5a9(0x2ba),_0x45f87f);}),this[_0x152682(0x26a)](this[_0x152682(0x243)],_0x152682(0x2d7),()=>{const _0x4e01df=_0x152682;this[_0x4e01df(0x21a)]=!0x1;});const _0x1af086=this[_0x152682(0x2ac)][_0x152682(0x2dd)](_0x43f814);this[_0x152682(0x2f2)]=!0x0;const _0x4a7674=await this[_0x152682(0x243)][_0x152682(0x2a6)](_0x24c414,this[_0x152682(0x2c0)](_0x43f814),_0x1af086);if(this[_0x152682(0x216)]=_0x4a7674[_0x152682(0x216)],_0x3ee5ec){if(!_0x4a7674[_0x152682(0x1f9)])return void this[_0x152682(0x279)]();this[_0x152682(0x2f2)]=!0x1,this[_0x152682(0x24f)](),this[_0x152682(0x2b4)][_0x152682(0x27c)](),this[_0x152682(0x22a)]=_0x4a7674[_0x152682(0x2f1)],this[_0x152682(0x2b4)][_0x152682(0x23a)]=this[_0x152682(0x22a)],await this[_0x152682(0x2c7)](_0x43f814,_0x4a7674,_0x152682(0x218));}else await this[_0x152682(0x2bc)](_0x4a7674,_0x43f814);this[_0x152682(0x292)](),this[_0x152682(0x21a)]=!0x0;}[_0x1758dd(0x292)](){const _0xe0c3cf=_0x1758dd,_0x2eef28=this[_0xe0c3cf(0x212)][_0xe0c3cf(0x207)][_0xe0c3cf(0x206)](_0x1db1fa),_0x4c98a4=this[_0xe0c3cf(0x212)][_0xe0c3cf(0x207)][_0xe0c3cf(0x206)](_0x138abb),_0x3eacf3=_0x2eef28[_0xe0c3cf(0x2ab)][_0xe0c3cf(0x206)](this[_0xe0c3cf(0x1f1)]);_0x3eacf3&&_0x3eacf3[_0xe0c3cf(0x20d)]>0x1?_0x4c98a4[_0xe0c3cf(0x1f6)]():this[_0xe0c3cf(0x26a)](_0x2eef28,_0xe0c3cf(0x2bf)+this[_0xe0c3cf(0x1f1)],()=>{const _0x5e0df9=_0xe0c3cf;0x2===_0x2eef28[_0x5e0df9(0x2ab)][_0x5e0df9(0x206)](this[_0x5e0df9(0x1f1)])[_0x5e0df9(0x20d)]&&_0x4c98a4[_0x5e0df9(0x1f6)]();});}async[_0x1758dd(0x28f)](_0x457545,_0x53dfeb,_0x2a2fb8,_0x3d46a1){const _0x1843f4=_0x1758dd;if(!this[_0x1843f4(0x2f2)]&&this[_0x1843f4(0x232)][_0x1843f4(0x23a)]==_0x53dfeb){const _0x2ba244=this[_0x1843f4(0x208)](_0x2a2fb8,_0x3d46a1);await this[_0x1843f4(0x259)](_0x2ba244),this[_0x1843f4(0x270)](_0x2ba244,_0x53dfeb,_0x2a2fb8[_0x1843f4(0x27e)])||this[_0x1843f4(0x27a)](_0x1843f4(0x2b6));}}async[_0x1758dd(0x2b7)](){const _0x470b10=_0x1758dd;this[_0x470b10(0x287)]();const {locale:_0x588a4e}=this[_0x470b10(0x212)];let _0x337616;try{_0x337616=await this[_0x470b10(0x243)][_0x470b10(0x2b1)]();}catch{const _0x34e91e=_0x2578e4(_0x588a4e,_0x470b10(0x2b3));return void this[_0x470b10(0x279)](_0x34e91e);}const _0x329844=_0x337616[_0x470b10(0x1f5)]||_0x337616[_0x470b10(0x290)];if(this[_0x470b10(0x23f)]!==_0x329844[_0x470b10(0x27e)]){const _0x35c5b6=_0x2578e4(_0x588a4e,_0x470b10(0x254));return void this[_0x470b10(0x279)](_0x35c5b6);}await this[_0x470b10(0x24e)](this[_0x470b10(0x212)][_0x470b10(0x2a5)][_0x470b10(0x27d)][_0x470b10(0x2ec)][_0x470b10(0x25c)](),!0x0);}[_0x1758dd(0x287)](){const _0x317732=_0x1758dd;this[_0x317732(0x243)][_0x317732(0x235)](),this[_0x317732(0x219)]=[],clearTimeout(this[_0x317732(0x203)]),this[_0x317732(0x25e)](this[_0x317732(0x243)]);}[_0x1758dd(0x2ea)](_0x309595){const _0x41d456=_0x1758dd,_0x630d91=this[_0x41d456(0x212)][_0x41d456(0x207)][_0x41d456(0x206)](_0x1db1fa);this[_0x41d456(0x26a)](_0x630d91,_0x41d456(0x2bf)+this[_0x41d456(0x1f1)],(_0x435f96,{session:_0x3990a9})=>{const _0x5243cd=_0x41d456;if(_0x3990a9['id']===_0x630d91[_0x5243cd(0x205)]){_0x435f96[_0x5243cd(0x222)]();const _0x333cd6=this[_0x5243cd(0x212)][_0x5243cd(0x207)][_0x5243cd(0x276)](_0x5243cd(0x21e))&&this[_0x5243cd(0x212)][_0x5243cd(0x207)][_0x5243cd(0x206)](_0x5243cd(0x21e));let _0x498702=_0x3990a9[_0x5243cd(0x297)];_0x333cd6&&_0x333cd6[_0x5243cd(0x2de)]&&(_0x498702=_0x498702[_0x5243cd(0x2f3)](_0x8d1143=>_0x5243cd(0x2d5)!==_0x8d1143)),this[_0x5243cd(0x212)][_0x5243cd(0x207)][_0x5243cd(0x206)](_0x5243cd(0x29c))[_0x5243cd(0x20e)](_0x498702,this[_0x5243cd(0x1f1)]);}}),_0x630d91[_0x41d456(0x21d)](this[_0x41d456(0x1f1)],_0x309595);}[_0x1758dd(0x252)](){const _0x24cb06=_0x1758dd,_0x353ba7=this[_0x24cb06(0x212)][_0x24cb06(0x237)][_0x24cb06(0x214)];this[_0x24cb06(0x212)][_0x24cb06(0x237)][_0x24cb06(0x214)]=(..._0x452ca6)=>{const _0x2c608f=_0x24cb06;if(!_0x452ca6[_0x452ca6[_0x2c608f(0x20d)]-0x1][_0x2c608f(0x22b)])throw new _0x4b2cc9(_0x2c608f(0x1f2),this);_0x353ba7[_0x2c608f(0x291)](this[_0x2c608f(0x212)][_0x2c608f(0x237)],_0x452ca6);};}[_0x1758dd(0x242)](){const _0x44da27=_0x1758dd;this[_0x44da27(0x212)][_0x44da27(0x237)]['on'](_0x44da27(0x296),(_0x467757,[_0x498a41])=>{const _0x179cca=_0x44da27;if(this[_0x179cca(0x232)][_0x179cca(0x23a)])throw new _0x4b2cc9(_0x179cca(0x293),this);_0x467757[_0x179cca(0x2d6)](),this[_0x179cca(0x2ad)]();const _0x1cbca6=this[_0x179cca(0x212)][_0x179cca(0x200)][_0x179cca(0x206)](_0x179cca(0x267)),_0x25632f=this[_0x179cca(0x230)](_0x498a41,_0x1cbca6);0x0==_0x25632f[_0x179cca(0x20d)]&&_0x25632f[_0x179cca(0x289)](new _0x5a158f(0x0)),_0x467757[_0x179cca(0x28a)]=this[_0x179cca(0x24e)](_0x25632f)[_0x179cca(0x23b)](()=>{const _0x1ecaf=_0x179cca;this[_0x1ecaf(0x212)][_0x1ecaf(0x207)][_0x1ecaf(0x206)](_0x272920)[_0x1ecaf(0x268)](this),this[_0x1ecaf(0x212)][_0x1ecaf(0x237)][_0x1ecaf(0x2c6)](_0x1ecaf(0x282));})[_0x179cca(0x294)](_0x107471=>this[_0x179cca(0x27a)](_0x179cca(0x260),_0x107471))[_0x179cca(0x240)](()=>this[_0x179cca(0x24f)]());},{'priority':_0x44da27(0x220)}),this[_0x44da27(0x212)]['on'](_0x44da27(0x2aa),async(_0x21d5a2,[_0x491eb1,_0x2976f4])=>{const _0x115f32=_0x44da27;_0x21d5a2[_0x115f32(0x2d6)]();const _0x5622a2=this[_0x115f32(0x212)][_0x115f32(0x2a5)][_0x115f32(0x27d)][_0x115f32(0x295)](_0x491eb1);if(!this[_0x115f32(0x29d)][_0x115f32(0x276)](_0x491eb1)){const _0x52dd65=_0x2976f4&&_0x2976f4[_0x115f32(0x237)]?_0x2976f4[_0x115f32(0x237)]:'',_0x469fcc=_0x2976f4&&_0x2976f4[_0x115f32(0x20c)]?_0x2976f4[_0x115f32(0x20c)]:{};await this[_0x115f32(0x2d9)](_0x491eb1,_0x52dd65,_0x469fcc);}this[_0x115f32(0x212)][_0x115f32(0x2a5)][_0x115f32(0x2b5)]({'isUndoable':!0x1},()=>{const _0x5c731a=_0x115f32;_0x5622a2[_0x5c731a(0x213)]=!0x0,this[_0x5c731a(0x212)][_0x5c731a(0x2a5)][_0x5c731a(0x27d)][_0x5c731a(0x236)][_0x5c731a(0x280)](_0x5622a2);});},{'priority':_0x44da27(0x220)});}async[_0x1758dd(0x259)](_0x1b770c){const _0x4b6bd4=_0x1758dd,_0x9f4791=this[_0x4b6bd4(0x212)][_0x4b6bd4(0x207)][_0x4b6bd4(0x206)](_0x211fcc),{connection:_0x1adb1a}=this[_0x4b6bd4(0x212)][_0x4b6bd4(0x207)][_0x4b6bd4(0x206)](_0x272920),_0x3e3bd9=new Set();for(const _0x49c9aa of _0x1b770c){const _0xacf031=_0x49c9aa[_0x4b6bd4(0x2d4)];_0xacf031&&!_0x9f4791[_0x4b6bd4(0x23c)](_0xacf031)&&_0x3e3bd9[_0x4b6bd4(0x25d)](_0xacf031);}if(0x0===_0x3e3bd9[_0x4b6bd4(0x28e)])return;const _0x4081b6=await _0x4ccef9[_0x4b6bd4(0x22c)](_0x1adb1a,Array[_0x4b6bd4(0x231)](_0x3e3bd9));for(const _0x153f7d of _0x4081b6)_0x9f4791[_0x4b6bd4(0x23c)](_0x153f7d['id'])||_0x9f4791[_0x4b6bd4(0x2b2)](_0x153f7d);}[_0x1758dd(0x230)](_0xeeb9b7,_0x3f21ff={}){const _0x409c1b=_0x1758dd,_0x2c15c6=this[_0x409c1b(0x212)][_0x409c1b(0x2a5)],_0x5a7ab4=[];let _0x3d4a5c=0x0;const _0x37408f=_0x409c1b(0x24b)==typeof _0xeeb9b7?{'main':_0xeeb9b7}:_0xeeb9b7;for(const _0x22ffce of Object[_0x409c1b(0x245)](_0x37408f)){if(!this[_0x409c1b(0x232)][_0x409c1b(0x277)][_0x409c1b(0x276)](_0x22ffce))throw new _0x4b2cc9(_0x409c1b(0x244),this);const _0x3757a0=this[_0x409c1b(0x212)][_0x409c1b(0x237)][_0x409c1b(0x2ca)](_0x37408f[_0x22ffce]),_0x5d232c=this[_0x409c1b(0x232)][_0x409c1b(0x295)](_0x22ffce),_0x3eab30=new _0x305c33(_0x2c15c6[_0x409c1b(0x249)](_0x5d232c,0x0),_0x3757a0,_0x3d4a5c++);_0x5a7ab4[_0x409c1b(0x289)](_0x3eab30);for(const [_0x167c95,_0x3519b9]of _0x3757a0[_0x409c1b(0x225)]){const _0x467a28=_0x2c15c6[_0x409c1b(0x2e4)](_0x2c15c6[_0x409c1b(0x23d)](_0x5d232c,_0x3519b9[_0x409c1b(0x256)][_0x409c1b(0x2bd)][_0x409c1b(0x2d2)]()),_0x2c15c6[_0x409c1b(0x23d)](_0x5d232c,_0x3519b9[_0x409c1b(0x21b)][_0x409c1b(0x2bd)][_0x409c1b(0x2d2)]())),_0x37b4f0=new _0xf8f9c0(_0x167c95,null,_0x467a28,_0x2c15c6[_0x409c1b(0x225)],!0x0,_0x3d4a5c++);_0x5a7ab4[_0x409c1b(0x289)](_0x37b4f0);}}if(_0x3f21ff)for(const [_0x4c33c5,_0x1891b5]of Object[_0x409c1b(0x274)](_0x3f21ff)){const _0x319f2c=_0x2c15c6[_0x409c1b(0x27d)][_0x409c1b(0x295)](_0x4c33c5);if(!_0x319f2c)throw new _0x4b2cc9(_0x409c1b(0x275),null);for(const [_0x331165,_0x3f4720]of Object[_0x409c1b(0x274)](_0x1891b5))if(null!==_0x3f4720){const _0x33db51=new _0x553c12(_0x319f2c,_0x331165,null,_0x3f4720,_0x3d4a5c++);_0x5a7ab4[_0x409c1b(0x289)](_0x33db51);}}return _0x5a7ab4;}async[_0x1758dd(0x2d9)](_0x2740c5,_0x20f13a,_0x11a3c6){const _0x3bece3=_0x1758dd;this[_0x3bece3(0x230)]({[_0x2740c5]:_0x20f13a},{[_0x2740c5]:_0x11a3c6})[_0x3bece3(0x253)]((_0x54081e,_0x3b4eab)=>{const _0x407ba7=_0x3bece3;_0x54081e[_0x407ba7(0x2e1)]=this[_0x407ba7(0x232)][_0x407ba7(0x23a)]+_0x3b4eab,_0x54081e[_0x407ba7(0x23e)]=!0x0,this[_0x407ba7(0x1f8)](_0x54081e);}),this[_0x3bece3(0x211)](),await this[_0x3bece3(0x2a2)]();}async[_0x1758dd(0x2bc)](_0x1658cf,_0x49c044){const _0x13fdcd=_0x1758dd;let _0x7dbb48;this[_0x13fdcd(0x22a)]=_0x1658cf[_0x13fdcd(0x2f1)];const _0x31d979=_0x1658cf[_0x13fdcd(0x1f9)]&&!_0x1658cf[_0x13fdcd(0x204)],_0xf08d6b=_0x31d979?0x0:_0x1658cf[_0x13fdcd(0x237)][_0x13fdcd(0x2e1)];if(_0x49c044[_0x13fdcd(0x253)](_0x5cb71f=>{const _0x19670b=_0x13fdcd;_0x5cb71f[_0x19670b(0x23e)]=!0x0,_0x5cb71f[_0x19670b(0x2e8)]=_0x1658cf[_0x19670b(0x28b)],_0x5cb71f[_0x19670b(0x2d4)]=null;}),_0x31d979)_0x7dbb48=_0x49c044,this[_0x13fdcd(0x27b)](_0x7dbb48,_0x31d979);else{if(_0x1658cf[_0x13fdcd(0x204)]){const _0x24b19a=this[_0x13fdcd(0x230)](_0x1658cf[_0x13fdcd(0x204)]);this[_0x13fdcd(0x232)][_0x13fdcd(0x2ec)][_0x13fdcd(0x23a)]=-_0x24b19a[_0x13fdcd(0x20d)],_0x24b19a[_0x13fdcd(0x253)](_0x5706a4=>{const _0x5ed7ea=_0x13fdcd;_0x5706a4[_0x5ed7ea(0x2e1)]-=_0x24b19a[_0x5ed7ea(0x20d)],_0x5706a4[_0x5ed7ea(0x2e8)]=_0x1658cf[_0x5ed7ea(0x28b)],_0x5706a4[_0x5ed7ea(0x23e)]=!0x0,_0x5706a4[_0x5ed7ea(0x2d4)]=null;}),this[_0x13fdcd(0x27b)](_0x24b19a,!0x0),this[_0x13fdcd(0x2b4)][_0x13fdcd(0x23a)]=-_0x24b19a[_0x13fdcd(0x20d)]+this[_0x13fdcd(0x22a)],this[_0x13fdcd(0x2ee)](_0x24b19a);}this[_0x13fdcd(0x232)][_0x13fdcd(0x2ec)][_0x13fdcd(0x23a)]=_0xf08d6b,_0x7dbb48=this[_0x13fdcd(0x208)](_0x1658cf[_0x13fdcd(0x237)],_0x1658cf[_0x13fdcd(0x215)]),await this[_0x13fdcd(0x259)](_0x7dbb48),this[_0x13fdcd(0x27b)](_0x7dbb48,_0x31d979);}_0x1658cf[_0x13fdcd(0x27e)]&&(this[_0x13fdcd(0x2ac)][_0x13fdcd(0x2e5)](_0x7dbb48,_0x1658cf[_0x13fdcd(0x27e)]),this[_0x13fdcd(0x23f)]=_0x1658cf[_0x13fdcd(0x27e)]),this[_0x13fdcd(0x2b4)][_0x13fdcd(0x23a)]=_0xf08d6b+this[_0x13fdcd(0x22a)],this[_0x13fdcd(0x2ee)](_0x7dbb48),_0x49c044[_0x13fdcd(0x2f3)](_0x5ac35f=>{const _0xb22c4f=_0x13fdcd,_0x350329=this[_0xb22c4f(0x2e3)](_0x5ac35f);return _0x350329&&!this[_0xb22c4f(0x29d)][_0xb22c4f(0x276)](_0x350329);})[_0x13fdcd(0x253)]((_0xeb013e,_0x1bbe7f)=>{const _0x1bc9b8=_0x13fdcd;_0xeb013e[_0x1bc9b8(0x2e1)]=this[_0x1bc9b8(0x232)][_0x1bc9b8(0x23a)]+_0x1bbe7f,this[_0x1bc9b8(0x1f8)](_0xeb013e);}),this[_0x13fdcd(0x29f)]()?(this[_0x13fdcd(0x228)]=0x0,this[_0x13fdcd(0x211)](!0x0),await this[_0x13fdcd(0x2a2)]()):(this[_0x13fdcd(0x2f2)]=!0x1,this[_0x13fdcd(0x24f)]());}[_0x1758dd(0x27a)](_0x4b78e6,_0x21cd4f){const _0x50a686=_0x1758dd,_0x438af9=_0x21cd4f&&_0x21cd4f[_0x50a686(0x1f3)];if(_0x438af9&&_0x438af9[_0x50a686(0x2a7)](_0x50a686(0x283)))throw _0x21cd4f;const _0x187a9f=this[_0x50a686(0x212)][_0x50a686(0x207)][_0x50a686(0x206)](_0x272920);throw this[_0x50a686(0x2f2)]=!0x0,_0x187a9f[_0x50a686(0x235)](),this[_0x50a686(0x212)][_0x50a686(0x2e6)](_0x50a686(0x221)),new _0x4b2cc9(_0x4b78e6,this[_0x50a686(0x212)],_0x438af9?{'originalError':_0x438af9}:void 0x0);}[_0x1758dd(0x1f8)](_0x1af42b){const _0x3f2741=_0x1758dd;this[_0x3f2741(0x29b)][_0x3f2741(0x276)](_0x1af42b)||(this[_0x3f2741(0x29b)][_0x3f2741(0x25d)](_0x1af42b),this[_0x3f2741(0x219)][_0x3f2741(0x289)](_0x1af42b),this[_0x3f2741(0x263)]||_0x3f2741(0x239)==_0x1af42b[_0x3f2741(0x20b)]&&!_0x1af42b[_0x3f2741(0x2e7)]||this[_0x3f2741(0x2ad)]());}[_0x1758dd(0x211)](_0x15b987=!0x1){const _0x457e59=_0x1758dd;!_0x15b987&&this[_0x457e59(0x2f2)]||(this[_0x457e59(0x2f2)]=!0x0,clearTimeout(this[_0x457e59(0x203)]),this[_0x457e59(0x203)]=setTimeout(()=>{const _0x42e1d2=_0x457e59;this[_0x42e1d2(0x2f6)]()[_0x42e1d2(0x23b)](_0x1993b3=>{const _0x11baad=_0x42e1d2;_0x1993b3&&(this[_0x11baad(0x24f)](),this[_0x11baad(0x2f2)]=!0x1);})[_0x42e1d2(0x294)](_0x1d4696=>{const _0x343f33=_0x42e1d2;this[_0x343f33(0x24f)](),this[_0x343f33(0x2f2)]=!0x1,function(_0x29b308){const _0x41705c=_0x343f33;return _0x29b308[_0x41705c(0x1f3)][_0x41705c(0x2a7)](_0x41705c(0x2c4))||_0x29b308[_0x41705c(0x1f3)][_0x41705c(0x2a7)](_0x41705c(0x1fb))||_0x29b308[_0x41705c(0x1f3)][_0x41705c(0x2a7)](_0x41705c(0x25a));}(_0x1d4696)||this[_0x343f33(0x27a)](_0x1d4696[_0x343f33(0x1f3)],_0x1d4696);});},this[_0x457e59(0x228)]));}[_0x1758dd(0x2a2)](){return new Promise(_0x565bed=>{const _0x5c2276=_0x4d9c;this['on'](_0x5c2276(0x28c),()=>{_0x565bed();});});}async[_0x1758dd(0x2f6)](){const _0x442a95=_0x1758dd,_0x193c2f=this[_0x442a95(0x212)][_0x442a95(0x207)][_0x442a95(0x206)](_0x138abb);if(this[_0x442a95(0x2ed)]()&&(_0x193c2f[_0x442a95(0x1f6)](),this[_0x442a95(0x2f5)]=!0x1),!this[_0x442a95(0x29f)]())return!0x0;const _0x56ea31=[...this[_0x442a95(0x219)]];for(const _0x4821ff of _0x56ea31)_0x4821ff[_0x442a95(0x24a)]=this[_0x442a95(0x232)][_0x442a95(0x2ec)][_0x442a95(0x2ce)](_0x4821ff);const _0x31f03e=this[_0x442a95(0x2ac)][_0x442a95(0x2dd)](_0x56ea31),_0x5830ed=q++,_0x3c6199=this[_0x442a95(0x2c0)](_0x56ea31),_0x21aa08=await this[_0x442a95(0x243)][_0x442a95(0x272)](_0x3c6199,_0x3c6199[_0x442a95(0x2e1)],_0x31f03e);try{return await this[_0x442a95(0x2c7)](_0x56ea31,_0x21aa08,_0x5830ed);}catch(_0x4680e1){return this[_0x442a95(0x27a)](_0x442a95(0x258),_0x4680e1);}}async[_0x1758dd(0x2c7)](_0x4436d5,_0xc73f16,_0x17f6fa){const _0x3e529a=_0x1758dd;if(_0x3e529a(0x2db)in _0xc73f16)throw _0xc73f16[_0x3e529a(0x2db)];let _0x56d66a=!0x1;if(_0xc73f16[_0x3e529a(0x1f9)]){_0xc73f16[_0x3e529a(0x27e)]&&(this[_0x3e529a(0x23f)]=_0xc73f16[_0x3e529a(0x27e)]),this[_0x3e529a(0x219)]=this[_0x3e529a(0x219)][_0x3e529a(0x2f3)](_0x3dcc92=>!_0x4436d5[_0x3e529a(0x288)](_0x3dcc92));for(const _0x229da6 of _0x4436d5)_0x229da6[_0x3e529a(0x2e8)]=_0x3e529a(0x1f0)in _0xc73f16&&_0xc73f16[_0x3e529a(0x1f0)]||void 0x0;$(_0x4436d5,_0xc73f16[_0x3e529a(0x23a)]-_0x4436d5[_0x3e529a(0x20d)]),this[_0x3e529a(0x2ee)](_0x4436d5);const _0xa5442b=_0x4436d5[_0x3e529a(0x2f3)](_0x2c54c8=>{const _0x3002a6=_0x3e529a;if(!_0x2c54c8[_0x3002a6(0x23e)])return!0x1;const _0x33c513=this[_0x3002a6(0x2e3)](_0x2c54c8);return _0x33c513&&!this[_0x3002a6(0x29d)][_0x3002a6(0x276)](_0x33c513);});$(_0xa5442b,this[_0x3e529a(0x232)][_0x3e529a(0x23a)]),this[_0x3e529a(0x27b)](_0xa5442b),_0x56d66a=!0x0,this[_0x3e529a(0x228)]=this[_0x3e529a(0x210)];}else{const _0x516cd4=this[_0x3e529a(0x208)](_0xc73f16[_0x3e529a(0x237)],_0xc73f16[_0x3e529a(0x215)])[_0x3e529a(0x2f3)](_0x24cdd7=>_0x24cdd7[_0x3e529a(0x2e1)]>=this[_0x3e529a(0x273)]);_0x516cd4[_0x3e529a(0x253)](_0x37eaef=>this[_0x3e529a(0x2c9)](_0x37eaef)),this[_0x3e529a(0x219)]=this[_0x3e529a(0x219)][_0x3e529a(0x2f3)](_0x301ae4=>!_0x301ae4[_0x3e529a(0x23e)]||!this[_0x3e529a(0x29d)][_0x3e529a(0x276)](this[_0x3e529a(0x2e3)](_0x301ae4))),this[_0x3e529a(0x219)][_0x3e529a(0x20d)]&&$(this[_0x3e529a(0x219)],this[_0x3e529a(0x219)][0x0][_0x3e529a(0x2e1)]),await this[_0x3e529a(0x259)](_0x516cd4),_0x56d66a=this[_0x3e529a(0x270)](_0x516cd4,_0xc73f16[_0x3e529a(0x23a)],_0xc73f16[_0x3e529a(0x27e)]),this[_0x3e529a(0x228)]=Math[_0x3e529a(0x1fd)](this[_0x3e529a(0x228)]/0x2);}return _0x56d66a?!this[_0x3e529a(0x29f)]()||(this[_0x3e529a(0x211)](!0x0),!0x1):this[_0x3e529a(0x27a)](_0x3e529a(0x262));}[_0x1758dd(0x270)](_0xb5f3ba,_0x75e62f,_0x1a8f3b){const _0x228f5d=_0x1758dd;try{const _0x328cbb={'document':this[_0x228f5d(0x232)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x49eae5,operationsB:_0x322ba8,originalOperations:_0x1866b7}=_0x513267(_0xb5f3ba,this[_0x228f5d(0x219)],_0x328cbb);$(_0x49eae5,this[_0x228f5d(0x232)][_0x228f5d(0x23a)]),$(_0x322ba8,_0x75e62f);for(const _0x2a8e7d of _0x49eae5){const _0x2996f2=_0x1866b7[_0x228f5d(0x206)](_0x2a8e7d);_0x2a8e7d[_0x228f5d(0x2d4)]=_0x2996f2?_0x2996f2[_0x228f5d(0x2d4)]:null;}_0x1a8f3b&&(this[_0x228f5d(0x2ac)][_0x228f5d(0x2e5)](_0xb5f3ba,_0x1a8f3b),this[_0x228f5d(0x23f)]=_0x1a8f3b),this[_0x228f5d(0x219)]=[..._0x322ba8],this[_0x228f5d(0x27b)](_0x49eae5),this[_0x228f5d(0x2ee)](_0xb5f3ba);}catch(_0x18b413){return console[_0x228f5d(0x2db)](_0x18b413),!0x1;}return!0x0;}[_0x1758dd(0x27b)](_0x40899e,_0x15d4a7=!0x1){const _0x1722dd=_0x1758dd;this[_0x1722dd(0x212)][_0x1722dd(0x2a5)][_0x1722dd(0x2b5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x42f9aa=>{const _0x6b21de=_0x1722dd;for(const _0x26de86 of _0x40899e)this[_0x6b21de(0x29b)][_0x6b21de(0x25d)](_0x26de86),this[_0x6b21de(0x2c9)](_0x26de86),_0x42f9aa[_0x6b21de(0x2b9)][_0x6b21de(0x25f)](_0x26de86),this[_0x6b21de(0x212)][_0x6b21de(0x2a5)][_0x6b21de(0x2cb)](_0x26de86);});}[_0x1758dd(0x2c9)](_0x1906d5){const _0x13e6a2=_0x1758dd,_0x841f2e=this[_0x13e6a2(0x2e3)](_0x1906d5);_0x841f2e&&this[_0x13e6a2(0x29d)][_0x13e6a2(0x25d)](_0x841f2e);}[_0x1758dd(0x2e3)](_0x1384d2){const _0x5caccf=_0x1758dd;let _0x223f19,_0x3bfe3a;switch(_0x1384d2[_0x5caccf(0x20b)]){case _0x5caccf(0x2c5):_0x223f19=_0x1384d2[_0x5caccf(0x26d)][_0x5caccf(0x284)];break;case _0x5caccf(0x239):if(_0x3bfe3a=_0x1384d2[_0x5caccf(0x2d0)],!_0x3bfe3a)return null;_0x223f19=_0x3bfe3a[_0x5caccf(0x284)];break;case _0x5caccf(0x2b8):_0x223f19=_0x1384d2[_0x5caccf(0x284)];break;case _0x5caccf(0x241):_0x223f19=_0x1384d2[_0x5caccf(0x2f4)];break;case _0x5caccf(0x202):_0x223f19=_0x1384d2[_0x5caccf(0x2eb)][_0x5caccf(0x284)];break;default:return null;}return _0x223f19[_0x5caccf(0x2ae)];}[_0x1758dd(0x2ee)](_0x88337b){const _0x238c5d=_0x1758dd;_0x88337b[_0x238c5d(0x253)](_0x3bd1c3=>{const _0x176ad7=_0x238c5d,_0x4fdff7=_0x3bd1c3[_0x176ad7(0x299)]();_0x4fdff7[_0x176ad7(0x2d4)]=_0x3bd1c3[_0x176ad7(0x2d4)],_0x4fdff7[_0x176ad7(0x23e)]=!!_0x3bd1c3[_0x176ad7(0x23e)],_0x4fdff7[_0x176ad7(0x2e8)]=_0x3bd1c3[_0x176ad7(0x2e8)],_0x4fdff7[_0x176ad7(0x2e1)]+=this[_0x176ad7(0x22a)],_0x3bd1c3[_0x176ad7(0x234)]&&this[_0x176ad7(0x2da)][_0x176ad7(0x25d)](_0x4fdff7),this[_0x176ad7(0x2b4)][_0x176ad7(0x25f)](_0x4fdff7);});}[_0x1758dd(0x279)](_0x57e866){const _0x4fe1fd=_0x1758dd,_0x42e8cd=this[_0x4fe1fd(0x212)][_0x4fe1fd(0x207)][_0x4fe1fd(0x206)](_0x4fe1fd(0x2e9)),_0x5cd7ee=this[_0x4fe1fd(0x212)][_0x4fe1fd(0x2be)];_0x57e866||(_0x57e866=_0x2578e4(_0x5cd7ee,_0x4fe1fd(0x217))),_0x42e8cd[_0x4fe1fd(0x224)](_0x57e866,{'title':_0x2578e4(_0x5cd7ee,_0x4fe1fd(0x2ef)),'namespace':_0x4fe1fd(0x233)}),this[_0x4fe1fd(0x26b)]=!0x0,clearTimeout(this[_0x4fe1fd(0x203)]),this[_0x4fe1fd(0x219)]=[],this[_0x4fe1fd(0x212)][_0x4fe1fd(0x207)][_0x4fe1fd(0x206)](_0x272920)[_0x4fe1fd(0x235)]();}[_0x1758dd(0x2ad)](){const _0x34c3d2=_0x1758dd;this[_0x34c3d2(0x263)]||(this[_0x34c3d2(0x263)]=this[_0x34c3d2(0x212)][_0x34c3d2(0x207)][_0x34c3d2(0x206)](_0x4d1628)[_0x34c3d2(0x25d)](_0x2578e4(this[_0x34c3d2(0x212)][_0x34c3d2(0x2be)],_0x34c3d2(0x1ff))));}[_0x1758dd(0x24f)](){const _0x4b2e1b=_0x1758dd;this[_0x4b2e1b(0x263)]&&(this[_0x4b2e1b(0x212)][_0x4b2e1b(0x207)][_0x4b2e1b(0x206)](_0x4d1628)[_0x4b2e1b(0x261)](this[_0x4b2e1b(0x263)]),this[_0x4b2e1b(0x263)]=null);}[_0x1758dd(0x2c0)](_0x57f7f8){const _0x136ee7=_0x1758dd,_0x308e59=_0x57f7f8[_0x136ee7(0x226)](_0x293e28=>_0x293e28[_0x136ee7(0x285)]());return this[_0x136ee7(0x2cf)][_0x136ee7(0x2a9)](_0x308e59);}[_0x1758dd(0x208)](_0x4dda9e,_0x1f4a71){const _0x33ae17=_0x1758dd;return this[_0x33ae17(0x2cf)][_0x33ae17(0x2c3)](_0x4dda9e)[_0x33ae17(0x226)]((_0x52a837,_0x1e0208)=>{const _0x16559b=_0x33ae17,_0x2becb9=_0x16559b(0x296)==_0x1f4a71[_0x1e0208][_0x16559b(0x20b)];if(_0x16559b(0x2df)==_0x52a837[_0x16559b(0x247)]){const _0x43a1ab=_0x52a837[_0x16559b(0x26d)][_0x16559b(0x284)];!this[_0x16559b(0x232)][_0x16559b(0x295)](_0x43a1ab)&&(this[_0x16559b(0x232)][_0x16559b(0x251)](_0x16559b(0x1f4),_0x43a1ab)[_0x16559b(0x26c)]=!0x1);}const _0x393766=_0x6399d7[_0x16559b(0x298)](_0x52a837,this[_0x16559b(0x232)]);return _0x393766[_0x16559b(0x24a)]=_0x52a837[_0x16559b(0x24a)],_0x393766[_0x16559b(0x23e)]=_0x2becb9,_0x393766[_0x16559b(0x2d4)]=_0x2becb9?null:_0x1f4a71[_0x1e0208][_0x16559b(0x266)],_0x393766[_0x16559b(0x234)]=_0x16559b(0x29a)===_0x1f4a71[_0x1e0208][_0x16559b(0x20b)],_0x393766[_0x16559b(0x2e8)]=_0x1f4a71[_0x1e0208][_0x16559b(0x2e8)],_0x393766;});}[_0x1758dd(0x238)](){const _0x411323=_0x1758dd;this[_0x411323(0x2f5)]=!0x0,this[_0x411323(0x2ed)]()?this[_0x411323(0x211)]():this[_0x411323(0x2f5)]=!0x1;}[_0x1758dd(0x2ed)](){const _0x57f0b8=_0x1758dd,_0x2dea4a=this[_0x57f0b8(0x212)][_0x57f0b8(0x207)][_0x57f0b8(0x206)](_0x1db1fa)[_0x57f0b8(0x2ab)][_0x57f0b8(0x206)](this[_0x57f0b8(0x1f1)]);return!this[_0x57f0b8(0x212)][_0x57f0b8(0x209)]&&!!_0x2dea4a&&_0x2dea4a[_0x57f0b8(0x20d)]>0x1&&this[_0x57f0b8(0x2f5)];}[_0x1758dd(0x29f)](){const _0x2eed67=_0x1758dd;return this[_0x2eed67(0x219)][_0x2eed67(0x20d)]>0x0||this[_0x2eed67(0x2ed)]();}}export{l as RealTimeCollaborationClient};class G extends Error{}function $(_0x273989,_0x25cecb){const _0x274b37=_0x1758dd;for(const _0x32e505 of _0x273989)_0x32e505[_0x274b37(0x2e1)]=_0x25cecb++;}class K{[_0x1758dd(0x2a0)];[_0x1758dd(0x2bb)];constructor(_0x53e87d){const _0x5850fe=_0x1758dd;this[_0x5850fe(0x2a0)]=_0x53e87d,this[_0x5850fe(0x2bb)]=new WeakMap();}[_0x1758dd(0x2dd)](_0x3bd50e){const _0x54c502=_0x1758dd;let _0x23cf16=_0x3bd50e[_0x54c502(0x20d)];for(;_0x23cf16--;){const _0x2780b3=_0x3bd50e[_0x23cf16];if(!this[_0x54c502(0x2a0)][_0x54c502(0x276)](_0x2780b3)){if(!this[_0x54c502(0x2bb)][_0x54c502(0x276)](_0x2780b3)){const _0x1b3128=_0x2334eb()[_0x54c502(0x2d2)](0x1,0x12);this[_0x54c502(0x2bb)][_0x54c502(0x214)](_0x2780b3,_0x1b3128);}return this[_0x54c502(0x2bb)][_0x54c502(0x206)](_0x2780b3);}}}[_0x1758dd(0x2e5)](_0x2e2909,_0x4bc8d9){const _0x59659f=_0x1758dd;if(!_0x4bc8d9)return;let _0x56816b=_0x2e2909[_0x59659f(0x20d)];for(;_0x56816b--;){const _0x348f5d=_0x2e2909[_0x56816b];this[_0x59659f(0x2a0)][_0x59659f(0x276)](_0x348f5d)||this[_0x59659f(0x2bb)][_0x59659f(0x214)](_0x348f5d,_0x4bc8d9);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x52d597=_0x8082;(function(_0x4d6929,_0x37cbe3){const _0x47bdfe=_0x8082,_0x1bb8d6=_0x4d6929();while(!![]){try{const _0x55560a=-parseInt(_0x47bdfe(0xf5))/0x1*(parseInt(_0x47bdfe(0xfb))/0x2)+-parseInt(_0x47bdfe(0xcc))/0x3*(-parseInt(_0x47bdfe(0xde))/0x4)+-parseInt(_0x47bdfe(0xd8))/0x5*(parseInt(_0x47bdfe(0xd5))/0x6)+-parseInt(_0x47bdfe(0xdc))/0x7*(-parseInt(_0x47bdfe(0xef))/0x8)+parseInt(_0x47bdfe(0xe5))/0x9+-parseInt(_0x47bdfe(0xe4))/0xa+-parseInt(_0x47bdfe(0xc6))/0xb;if(_0x55560a===_0x37cbe3)break;else _0x1bb8d6['push'](_0x1bb8d6['shift']());}catch(_0x5c27e2){_0x1bb8d6['push'](_0x1bb8d6['shift']());}}}(_0x435a,0xd7ac6));import{ContextPlugin as _0x51a191}from'ckeditor5/src/core.js';function _0x8082(_0x5bc7f5,_0x2394e2){const _0x435a37=_0x435a();return _0x8082=function(_0x808255,_0x34c50a){_0x808255=_0x808255-0xc1;let _0x659413=_0x435a37[_0x808255];return _0x659413;},_0x8082(_0x5bc7f5,_0x2394e2);}import{Collection as _0x3fdb72,CKEditorError as _0x3ce3b7}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4a0190}from'./websocketgateway.js';import{Users as _0x1f3ad3}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x51a191{[_0x52d597(0xf1)];[_0x52d597(0xf0)];[_0x52d597(0xdb)];[_0x52d597(0xf4)];[_0x52d597(0xe0)];[_0x52d597(0xcd)];static get[_0x52d597(0xc8)](){const _0x353f64=_0x52d597;return _0x353f64(0xc4);}static get[_0x52d597(0xff)](){return!0x0;}static get[_0x52d597(0xe6)](){return!0x0;}static get[_0x52d597(0xec)](){return[_0x4a0190,_0x1f3ad3];}constructor(_0x31722d){const _0x6b28ce=_0x52d597;super(_0x31722d),this[_0x6b28ce(0xf1)]=new Map(),this[_0x6b28ce(0xf0)]=new Map(),this[_0x6b28ce(0xdb)]=new _0x3fdb72(),this[_0x6b28ce(0xf4)]=new Map(),this[_0x6b28ce(0xe0)]=0x0,this[_0x6b28ce(0xcd)]=this[_0x6b28ce(0xcf)][_0x6b28ce(0xc9)][_0x6b28ce(0xd2)](_0x1f3ad3);}[_0x52d597(0xe3)](){const _0x58418e=_0x52d597,_0x5d134e=this[_0x58418e(0xcf)][_0x58418e(0xc9)][_0x58418e(0xd2)](_0x4a0190);this[_0x58418e(0xf8)](_0x5d134e,_0x58418e(0xca),(_0x4c1ee3,_0x1fa975,_0x37f4a8)=>{const _0x73e987=_0x58418e;if(_0x73e987(0xe8)!==_0x37f4a8)this[_0x73e987(0xf1)][_0x73e987(0xed)](_0xd971c0=>_0xd971c0[_0x73e987(0xc3)]()),this[_0x73e987(0xf0)][_0x73e987(0xed)](_0x50ccce=>_0x50ccce[_0x73e987(0xc3)]()),this[_0x73e987(0xdb)][_0x73e987(0xc3)]();else{for(const [_0x45fd26,_0x404188]of this[_0x73e987(0xf4)])for(const _0x169887 of _0x404188)this[_0x73e987(0xcb)](_0x45fd26,_0x169887);}}),this[_0x58418e(0xf6)](_0x5d134e[_0x58418e(0xda)]['me'],!0x0);}[_0x52d597(0xd6)](_0x448166,_0x2bd702){const _0x5c834a=_0x52d597;if(this[_0x5c834a(0xf4)][_0x5c834a(0xd7)](_0x448166))throw new _0x3ce3b7(_0x5c834a(0xe7),null,{'channelId':_0x448166});this[_0x5c834a(0xf4)][_0x5c834a(0xf7)](_0x448166,_0x2bd702),this[_0x5c834a(0xf1)][_0x5c834a(0xf7)](_0x448166,new _0x3fdb72()),this[_0x5c834a(0xf0)][_0x5c834a(0xf7)](_0x448166,new _0x3fdb72()),this[_0x5c834a(0xf8)](_0x2bd702,_0x5c834a(0xc2),(_0x12861f,_0x48ce22)=>this[_0x5c834a(0xcb)](_0x448166,_0x48ce22)),this[_0x5c834a(0xf8)](_0x2bd702,_0x5c834a(0xfe),(_0x1878de,_0xbf61f0)=>this[_0x5c834a(0xf3)](_0x448166,_0xbf61f0));for(const _0x4d92c7 of _0x2bd702)this[_0x5c834a(0xcb)](_0x448166,_0x4d92c7);}[_0x52d597(0xc1)](_0x54a773){const _0x5e6f5d=_0x52d597;if(!this[_0x5e6f5d(0xf4)][_0x5e6f5d(0xd7)](_0x54a773))throw new _0x3ce3b7(_0x5e6f5d(0xd3),null,{'channelId':_0x54a773});const _0x4d82e3=this[_0x5e6f5d(0xf4)][_0x5e6f5d(0xd2)](_0x54a773);this[_0x5e6f5d(0xd4)](_0x4d82e3);for(const _0x157af5 of _0x4d82e3)_0x5e6f5d(0xe8)===this[_0x5e6f5d(0xcf)][_0x5e6f5d(0xc9)][_0x5e6f5d(0xd2)](_0x4a0190)[_0x5e6f5d(0xd1)]&&this[_0x5e6f5d(0xf3)](_0x54a773,_0x157af5);this[_0x5e6f5d(0xf4)][_0x5e6f5d(0xe2)](_0x54a773),this[_0x5e6f5d(0xf1)][_0x5e6f5d(0xe2)](_0x54a773),this[_0x5e6f5d(0xf0)][_0x5e6f5d(0xe2)](_0x54a773);}get[_0x52d597(0xea)](){const _0x4131bb=_0x52d597;return this[_0x4131bb(0xcf)][_0x4131bb(0xc9)][_0x4131bb(0xd2)](_0x4a0190)[_0x4131bb(0xda)][_0x4131bb(0xd0)];}[_0x52d597(0xe9)](_0x42209){const _0x2fc9a0=_0x52d597;for(const _0x22cc36 of this[_0x2fc9a0(0xf1)][_0x2fc9a0(0xc5)]())for(const _0x2c891e of _0x22cc36)if(_0x2c891e['id']===_0x42209)return _0x2c891e[_0x2fc9a0(0xc7)];}[_0x52d597(0xfa)](_0x1258a8,_0x2b2eff){const _0x3d733e=_0x52d597,_0x4050ab=_0x2b2eff?[this[_0x3d733e(0xf1)][_0x3d733e(0xd2)](_0x2b2eff)]:this[_0x3d733e(0xf1)][_0x3d733e(0xc5)](),_0x31c4b0=new Set();for(const _0x2988ae of _0x4050ab)for(const _0x12267b of _0x2988ae)_0x12267b[_0x3d733e(0xc7)]['id']===_0x1258a8['id']&&_0x31c4b0[_0x3d733e(0xc2)](_0x12267b['id']);return _0x31c4b0;}[_0x52d597(0xeb)](_0x5e5755){const _0x3c76f7=_0x52d597;for(const _0x1db1e4 of this[_0x3c76f7(0xf1)][_0x3c76f7(0xc5)]())for(const _0x50d659 of _0x1db1e4)if(_0x50d659[_0x3c76f7(0xc7)]===_0x5e5755)return _0x50d659[_0x3c76f7(0xfd)];}[_0x52d597(0xcb)](_0x3b930e,_0x3e6e94){const _0x275f05=_0x52d597;if(_0x275f05(0xe8)!==this[_0x275f05(0xcf)][_0x275f05(0xc9)][_0x275f05(0xd2)](_0x4a0190)[_0x275f05(0xd1)])return;const _0x3d8d64=_0x3e6e94[_0x275f05(0xc7)],_0x7cb8b1=this[_0x275f05(0xcd)][_0x275f05(0xce)](_0x3d8d64['id'])||this[_0x275f05(0xf6)](_0x3d8d64),_0x1b5118=Object[_0x275f05(0xf9)]({},_0x3e6e94,{'user':_0x7cb8b1});this[_0x275f05(0xf1)][_0x275f05(0xd2)](_0x3b930e)[_0x275f05(0xc2)](_0x1b5118);const _0x1ba4b8=this[_0x275f05(0xf0)][_0x275f05(0xd2)](_0x3b930e);_0x1ba4b8[_0x275f05(0xd7)](_0x7cb8b1['id'])||_0x1ba4b8[_0x275f05(0xc2)](_0x7cb8b1),this[_0x275f05(0xdb)][_0x275f05(0xd7)](_0x7cb8b1['id'])||this[_0x275f05(0xdb)][_0x275f05(0xc2)](_0x7cb8b1,_0x7cb8b1[_0x275f05(0xd9)]?0x0:void 0x0),this[_0x275f05(0xe1)](_0x275f05(0xdf)+_0x3b930e,{'channelId':_0x3b930e,'session':_0x1b5118});}[_0x52d597(0xf3)](_0x436a89,_0x47dc88){const _0x4c8766=_0x52d597;if(_0x4c8766(0xe8)!==this[_0x4c8766(0xcf)][_0x4c8766(0xc9)][_0x4c8766(0xd2)](_0x4a0190)[_0x4c8766(0xd1)])return;const _0x1bd6ff=this[_0x4c8766(0xf0)][_0x4c8766(0xd2)](_0x436a89),_0x46d095=_0x47dc88[_0x4c8766(0xc7)];_0x46d095['id']&&(this[_0x4c8766(0xf1)][_0x4c8766(0xd2)](_0x436a89)[_0x4c8766(0xfe)](_0x47dc88['id']),_0x1bd6ff[_0x4c8766(0xd7)](_0x46d095['id'])&&!this[_0x4c8766(0xfa)](_0x46d095,_0x436a89)[_0x4c8766(0xee)]&&_0x1bd6ff[_0x4c8766(0xfe)](_0x46d095['id']),this[_0x4c8766(0xdb)][_0x4c8766(0xd2)](_0x46d095['id'])&&!this[_0x4c8766(0xfa)](_0x46d095)[_0x4c8766(0xee)]&&this[_0x4c8766(0xdb)][_0x4c8766(0xfe)](_0x46d095['id']));}[_0x52d597(0xf6)](_0x181dc7,_0x2077bb){const _0x7dcaf=_0x52d597,_0x1325c8=this[_0x7dcaf(0xcd)][_0x7dcaf(0xf2)](_0x181dc7);return _0x2077bb&&this[_0x7dcaf(0xcd)][_0x7dcaf(0xfc)](_0x181dc7['id']),_0x1325c8[_0x7dcaf(0xdd)]=this[_0x7dcaf(0xe0)]++,_0x1325c8;}}function _0x435a(){const _0x538537=['register','has','78070bgpYyp','isMe','connection','allConnectedUsers','994zNVvbR','orderNumber','5903116jzlkkK','sessionAdd:','_uniqueUsersCount','fire','delete','init','15175860eXyLJv','10191222VbwYxZ','isPremiumPlugin','sessions-register-already-registered','connected','getUserBySessionId','mySessionId','getUserRole','requires','forEach','size','77168DTsTnz','channelConnectedUsers','channelSessions','addUser','_handleSessionRemove','_registeredSessions','5118XRwmSw','_createUser','set','listenTo','assign','getUserSessions','408gtOTCT','defineMe','role','remove','isOfficialPlugin','unregister','add','clear','Sessions','values','193061KWTQYy','user','pluginName','plugins','change:state','_handleSessionAdd','3QnMxgw','_users','getUser','context','sessionId','state','get','sessions-unregister-not-exist','stopListening','198THyfWf'];_0x435a=function(){return _0x538537;};return _0x435a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1ed243=_0x2c03;(function(_0x2cad80,_0x50e415){const _0x4401a7=_0x2c03,_0x38e076=_0x2cad80();while(!![]){try{const _0x2d1a90=parseInt(_0x4401a7(0x1c3))/0x1*(-parseInt(_0x4401a7(0x1d6))/0x2)+parseInt(_0x4401a7(0x1ee))/0x3*(-parseInt(_0x4401a7(0x1dc))/0x4)+-parseInt(_0x4401a7(0x221))/0x5*(-parseInt(_0x4401a7(0x1c9))/0x6)+-parseInt(_0x4401a7(0x1af))/0x7*(-parseInt(_0x4401a7(0x20f))/0x8)+parseInt(_0x4401a7(0x1ac))/0x9+-parseInt(_0x4401a7(0x1f0))/0xa+parseInt(_0x4401a7(0x200))/0xb;if(_0x2d1a90===_0x50e415)break;else _0x38e076['push'](_0x38e076['shift']());}catch(_0x382478){_0x38e076['push'](_0x38e076['shift']());}}}(_0x2779,0x6aeb3));import{Plugin as _0x514fab}from'ckeditor5/src/core.js';import{global as _0x2394ad,DomEmitterMixin as _0x13b138}from'ckeditor5/src/utils.js';import{Sessions as _0x355080}from'./sessions.js';import{ModelLiveRange as _0x1d38cf}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x2c03(_0x307ff3,_0x3df7c1){const _0x277938=_0x2779();return _0x2c03=function(_0x2c03f1,_0x325874){_0x2c03f1=_0x2c03f1-0x1ab;let _0x5b8dbd=_0x277938[_0x2c03f1];return _0x5b8dbd;},_0x2c03(_0x307ff3,_0x3df7c1);}export class UserMarkers extends _0x514fab{[_0x1ed243(0x232)]=new(_0x13b138())();static get[_0x1ed243(0x233)](){return[_0x355080];}static get[_0x1ed243(0x1ad)](){const _0x573f66=_0x1ed243;return _0x573f66(0x21f);}static get[_0x1ed243(0x224)](){return!0x0;}static get[_0x1ed243(0x22d)](){return!0x0;}[_0x1ed243(0x202)](){const _0x149fc9=_0x1ed243,_0x3fe26a=this[_0x149fc9(0x208)],_0x48b7d6=_0x3fe26a[_0x149fc9(0x1e1)][_0x149fc9(0x1b2)](_0x355080);_0x3fe26a[_0x149fc9(0x214)][_0x149fc9(0x1de)](_0x149fc9(0x22a))[_0x149fc9(0x1db)]({'model':_0x149fc9(0x1b4),'view':(_0x186d99,{writer:_0x10d843})=>function(_0x47a9f0,_0x3d39b,_0x2c32ef,_0x2acd5e){const _0xcacda0=_0x149fc9,_0x4695d1=_0x47a9f0[_0xcacda0(0x1ce)][_0xcacda0(0x20b)](':')[0x2],_0x105af4=_0x2c32ef[_0xcacda0(0x21c)](_0x4695d1);if(!_0x105af4||_0x4695d1===_0x2c32ef[_0xcacda0(0x1cf)])return;if(!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)][_0xcacda0(0x235)](_0x47a9f0[_0xcacda0(0x1d9)][_0xcacda0(0x1c4)],_0xcacda0(0x210)))return;const _0x38c651={'class':_0xcacda0(0x206)+_0x105af4[_0xcacda0(0x215)][_0xcacda0(0x22b)](),'data-name':_0x105af4[_0xcacda0(0x1eb)],'data-session-id':_0x4695d1},_0x2e4af5=_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1dd)][_0xcacda0(0x1b2)](_0x47a9f0[_0xcacda0(0x1ce)]),_0x5db449=_0x2e4af5[_0xcacda0(0x226)](),_0x59db8a=_0x5db449[_0xcacda0(0x212)],_0xbd208f=_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)];if(_0x59db8a&&_0xbd208f[_0xcacda0(0x1b9)](_0x59db8a)&&_0xbd208f[_0xcacda0(0x1c2)](_0x59db8a)&&!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1dd)][_0xcacda0(0x1b2)](_0xcacda0(0x21e)+_0x4695d1)[_0xcacda0(0x211)]()[_0xcacda0(0x229)])return;const _0x8ff5d0=_0x5db449[_0xcacda0(0x22c)];return _0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)][_0xcacda0(0x22f)](_0x8ff5d0)&&!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1c8)](_0x8ff5d0)&&(_0x38c651[_0xcacda0(0x1fd)]=!0x1),function(_0x4aeb6f,_0xfa337f,_0x3c6bb6){const _0x4832ca=_0xcacda0,_0x5009f4=_0x4aeb6f[_0x4832ca(0x1f2)](_0x4832ca(0x1d7),_0xfa337f);return _0x4aeb6f[_0x4832ca(0x1b3)](_0x4832ca(0x227),!0x0,_0x5009f4),_0x5009f4[_0x4832ca(0x236)]=function(_0x510dda){const _0x256340=_0x4832ca,_0x4476b2=this[_0x256340(0x1bd)](_0x510dda),_0x2de5f6=document[_0x256340(0x1b7)](_0x256340(0x1d7));return _0x2de5f6[_0x256340(0x217)][_0x256340(0x219)](_0x256340(0x1c5)),_0x2de5f6[_0x256340(0x218)](_0x256340(0x1fd),_0x256340(0x1b8)),_0x2de5f6[_0x256340(0x218)](_0x256340(0x1b5),_0x256340(0x1b8)),_0x2de5f6[_0x256340(0x1f1)]=_0x3c6bb6[_0x256340(0x1eb)],_0x4476b2[_0x256340(0x1c0)]=_0x256340(0x1ca)+_0x2de5f6[_0x256340(0x1f9)]+'',_0x4476b2[_0x256340(0x201)](_0x256340(0x1cb),()=>{const _0x275066=_0x256340;_0x4476b2[_0x275066(0x217)][_0x275066(0x219)](_0x275066(0x1ba));}),_0x4476b2[_0x256340(0x201)](_0x256340(0x20d),()=>{const _0xdff1a5=_0x256340;_0x4476b2[_0xdff1a5(0x217)][_0xdff1a5(0x1e3)](_0xdff1a5(0x1ba));}),_0x4476b2;},_0x5009f4[_0x4832ca(0x213)]=function(_0x2aa208){const _0x2ba065=_0x4832ca;return!(!this[_0x2ba065(0x1d2)](_0x2ba065(0x227))||!_0x2aa208[_0x2ba065(0x1d2)](_0x2ba065(0x227))||this[_0x2ba065(0x1e0)](_0x2ba065(0x1d0))!=_0x2aa208[_0x2ba065(0x1e0)](_0x2ba065(0x1d0)));},_0x5009f4;}(_0x3d39b,_0x38c651,_0x105af4);}(_0x186d99,_0x10d843,_0x48b7d6,_0x3fe26a)}),_0x3fe26a[_0x149fc9(0x214)][_0x149fc9(0x1de)](_0x149fc9(0x22a))[_0x149fc9(0x234)]({'model':_0x149fc9(0x231),'view':_0x3b33cc=>function(_0x16598b,_0x17fbf0){const _0x59b2f2=_0x149fc9,_0x17ff99=_0x16598b[_0x59b2f2(0x1ce)][_0x59b2f2(0x20b)](':')[0x2];if(_0x17ff99===_0x17fbf0[_0x59b2f2(0x1cf)])return null;const _0x241374=_0x17fbf0[_0x59b2f2(0x21c)](_0x17ff99);if(!_0x241374)return{'id':_0x17ff99,'classes':[]};return{'id':_0x17ff99,'classes':[_0x59b2f2(0x1d3),_0x241374[_0x59b2f2(0x215)][_0x59b2f2(0x21a)]()],'attributes':{'data-session-id':_0x17ff99},'priority':0x7d0+_0x241374[_0x59b2f2(0x21b)]};}(_0x3b33cc,_0x48b7d6)}),function(_0x50ff50){const _0x43ed76=_0x149fc9,_0x588244=_0x50ff50[_0x43ed76(0x1f6)],_0x59a59e=new Map(),_0x58857c=_0x50ff50[_0x43ed76(0x1e1)][_0x43ed76(0x1b2)](_0x355080);_0x588244[_0x43ed76(0x1dd)]['on'](_0x43ed76(0x20c),(_0x7d74a1,_0x53819d,_0xc190aa,_0x243d51)=>{const _0x38eda9=_0x43ed76;if(!_0x243d51&&_0x59a59e[_0x38eda9(0x1b2)](_0x53819d[_0x38eda9(0x1eb)]))return _0x59a59e[_0x38eda9(0x1b2)](_0x53819d[_0x38eda9(0x1eb)])[_0x38eda9(0x1da)](),void _0x59a59e[_0x38eda9(0x216)](_0x53819d[_0x38eda9(0x1eb)]);const _0x3b2ace=_0x53819d[_0x38eda9(0x1eb)][_0x38eda9(0x20b)](':')[0x2];if(_0x3b2ace===_0x58857c[_0x38eda9(0x1cf)])return;const _0x4e98a4=_0x38eda9(0x1e6)+_0x3b2ace;_0x588244[_0x38eda9(0x1dd)][_0x38eda9(0x1b0)](_0x4e98a4)&&_0x50ff50[_0x38eda9(0x1fa)][_0x38eda9(0x223)](_0x4e98a4),_0x53819d['on'](_0x38eda9(0x1d8),(_0x4f100c,_0x3684b4,_0x2b44f8)=>{const _0x47ee09=_0x38eda9;if(_0x47ee09(0x1f5)!=_0x3684b4[_0x47ee09(0x1df)][_0x47ee09(0x1f7)]&&_0x47ee09(0x1f5)==_0x53819d[_0x47ee09(0x211)]()[_0x47ee09(0x1df)][_0x47ee09(0x1f7)]&&!_0x59a59e[_0x47ee09(0x1b0)](_0x53819d[_0x47ee09(0x1eb)])){const _0x33bb16=_0x588244[_0x47ee09(0x1cd)][_0x47ee09(0x1ec)](_0x2b44f8[_0x47ee09(0x207)]);if(_0x33bb16){const _0x2670ef=_0x1d38cf[_0x47ee09(0x1ed)](_0x33bb16);_0x59a59e[_0x47ee09(0x203)](_0x53819d[_0x47ee09(0x1eb)],_0x2670ef),_0x2670ef['on'](_0x47ee09(0x1d8),(_0x32be1c,_0x301985,_0x21b5c5)=>{const _0x26285b=_0x47ee09;if(_0x26285b(0x1f5)==_0x2670ef[_0x26285b(0x1df)][_0x26285b(0x1f7)]){const _0x1174c6=_0x588244[_0x26285b(0x1cd)][_0x26285b(0x1ec)](_0x21b5c5[_0x26285b(0x207)]);_0x1174c6?(_0x2670ef[_0x26285b(0x1c4)]=_0x1174c6[_0x26285b(0x1c4)],_0x2670ef[_0x26285b(0x1c1)]=_0x1174c6[_0x26285b(0x1c1)]):(_0x59a59e[_0x26285b(0x216)](_0x53819d[_0x26285b(0x1eb)]),_0x2670ef[_0x26285b(0x1da)]());}});}}});}),_0x588244[_0x43ed76(0x1d5)]['on'](_0x43ed76(0x1e9),()=>{const _0x138d92=_0x43ed76;_0x59a59e[_0x138d92(0x1fc)]>0x0&&_0x588244[_0x138d92(0x204)]({'isUndoable':!0x1},_0xbc04a3=>{const _0x31f12a=_0x138d92;for(const [_0x193480,_0x151a1f]of _0x59a59e)_0x31f12a(0x1f5)==_0x588244[_0x31f12a(0x1dd)][_0x31f12a(0x1b2)](_0x193480)[_0x31f12a(0x211)]()[_0x31f12a(0x1df)][_0x31f12a(0x1f7)]&&(Z(_0x193480[_0x31f12a(0x20b)](':')[0x2],_0x151a1f[_0x31f12a(0x1b6)](),_0x588244,_0xbc04a3),_0x151a1f[_0x31f12a(0x1da)]());_0x59a59e[_0x31f12a(0x1cc)]();});});}(_0x3fe26a),this[_0x149fc9(0x232)][_0x149fc9(0x20a)](_0x2394ad[_0x149fc9(0x1d5)],_0x149fc9(0x1bf),(_0x58c8ba,{key:_0x1036c8})=>{const _0x30e72d=_0x149fc9;_0x30e72d(0x1ef)===_0x1036c8&&function(_0x2c0936){const _0x47565d=_0x30e72d;_0x2c0936[_0x47565d(0x1fa)][_0x47565d(0x1be)][_0x47565d(0x1e9)](_0x3aa5d0=>{const _0x366d32=_0x47565d;for(const _0x40f995 of _0x2c0936[_0x366d32(0x1f6)][_0x366d32(0x1dd)]){if(!_0x40f995[_0x366d32(0x1eb)][_0x366d32(0x222)](_0x366d32(0x1b4)))continue;const _0x489497=_0x2c0936[_0x366d32(0x1fa)][_0x366d32(0x1ff)][_0x366d32(0x225)](_0x40f995[_0x366d32(0x1eb)]);if(_0x489497){for(const _0x24b721 of _0x489497)_0x3aa5d0[_0x366d32(0x1f8)](_0x366d32(0x1ba),_0x24b721);}}});}(_0x3fe26a);},{'useCapture':!0x0});}[_0x1ed243(0x1fb)](){const _0x5a0422=_0x1ed243,_0x546d32=this[_0x5a0422(0x208)],_0xcc6ce8=_0x546d32[_0x5a0422(0x1bc)][_0x5a0422(0x1b2)](_0x5a0422(0x1ea));_0xcc6ce8&&_0x546d32[_0x5a0422(0x1f6)]['on'](_0x5a0422(0x230),(_0x37621a,_0x2535f7)=>{const _0x5f4ea8=_0x5a0422,_0x1c28b5=_0x2535f7[0x0];if(!_0x1c28b5[_0x5f4ea8(0x1f4)])return;if(_0x5f4ea8(0x1c7)!=_0x1c28b5[_0x5f4ea8(0x1e2)]||!_0x1c28b5[_0x5f4ea8(0x1eb)][_0x5f4ea8(0x222)](_0x5f4ea8(0x1ae)))return;const _0x58cd92=_0x1c28b5[_0x5f4ea8(0x1f3)];_0xcc6ce8[_0x5f4ea8(0x1e5)][_0x5f4ea8(0x1b0)](_0x58cd92)&&(_0x1c28b5[_0x5f4ea8(0x21d)]=_0x1c28b5[_0x5f4ea8(0x205)]?_0x546d32[_0x5f4ea8(0x1f6)][_0x5f4ea8(0x22e)](_0x1c28b5[_0x5f4ea8(0x205)][_0x5f4ea8(0x1c4)],_0x1c28b5[_0x5f4ea8(0x205)][_0x5f4ea8(0x1c1)]):null);},{'priority':_0x5a0422(0x1d1)});}[_0x1ed243(0x1b1)](){const _0xd38ef2=_0x1ed243;return this[_0xd38ef2(0x232)][_0xd38ef2(0x1c6)](),super[_0xd38ef2(0x1b1)]();}[_0x1ed243(0x209)](){const _0x3ee005=_0x1ed243,_0x8cf360=this[_0x3ee005(0x208)],_0x2fc249=_0x8cf360[_0x3ee005(0x1f6)][_0x3ee005(0x1d5)],_0x1d666b=_0x8cf360[_0x3ee005(0x1e1)][_0x3ee005(0x1b2)](_0x355080);_0x8cf360[_0x3ee005(0x1f6)][_0x3ee005(0x204)]({'isUndoable':!0x1},_0x1f70f1=>{const _0x10f1fa=_0x3ee005,_0x3f5da4=_0x10f1fa(0x21e)+_0x1d666b[_0x10f1fa(0x1cf)],_0x4ba174=_0x10f1fa(0x1e6)+_0x1d666b[_0x10f1fa(0x1cf)],_0x34c2fc=_0x8cf360[_0x10f1fa(0x1f6)][_0x10f1fa(0x1dd)][_0x10f1fa(0x1b0)](_0x3f5da4);_0x8cf360[_0x10f1fa(0x1fa)][_0x10f1fa(0x1be)][_0x10f1fa(0x1fe)]?Z(_0x1d666b[_0x10f1fa(0x1cf)],_0x2fc249[_0x10f1fa(0x1d4)][_0x10f1fa(0x228)](),_0x8cf360[_0x10f1fa(0x1f6)],_0x1f70f1):_0x34c2fc&&(_0x1f70f1[_0x10f1fa(0x220)](_0x3f5da4),_0x1f70f1[_0x10f1fa(0x220)](_0x4ba174));});}}function _0x2779(){const _0x5dcc62=['innerHTML','end','isInline','1151NJgibp','start','ck-user__marker-tooltip','stopListening','marker','hasContent','7758bvVKfp','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mouseenter','clear','schema','markerName','mySessionId','data-session-id','highest','getCustomProperty','ck-user__selection','selection','document','458JyFmAt','span','change:range','markerRange','detach','markerToElement','364YmfeNT','markers','for','root','getAttribute','plugins','type','remove','getPositions','_createdBatches','user:position:','getContainedElement','updateMarker','change','undo','name','getNearestSelectionRange','fromRange','27543lGfmsc','Escape','7812600xehUBn','textContent','createUIElement','batch','isDocumentOperation','$graveyard','model','rootName','removeClass','outerHTML','editing','afterInit','size','contenteditable','hasDomSelection','mapper','11483021MIUngf','addEventListener','init','set','enqueueChange','oldRange','ck-user__marker\x20','deletionPosition','editor','createUserMarkerOperations','listenTo','split','update:user:range','mouseleave','addMarker','125368VignpV','$text','getRange','nodeAfter','isSimilar','conversion','color','delete','classList','setAttribute','add','getSelectionClass','orderNumber','getUserBySessionId','newRange','user:range:','UserMarkers','removeMarker','1875RSpxzZ','startsWith','reconvertMarker','isOfficialPlugin','markerNameToElements','getStart','userPositionMarker','getFirstRange','isCollapsed','editingDowncast','getMarkerClass','parent','isPremiumPlugin','createRange','isLimit','applyOperation','user:range','_domEmitter','requires','markerToHighlight','checkChild','render','element','4989582LiFaPk','pluginName','user:','105ODLIWm','has','destroy','get','setCustomProperty','user:position','spellcheck','toRange','createElement','false','isObject','ck-user__marker_hovered','tableCell','commands','toDomElement','view','keydown'];_0x2779=function(){return _0x5dcc62;};return _0x2779();}function Z(_0x32d80d,_0x3aaffe,_0x4e6b93,_0x495d6f){const _0x229f83=_0x1ed243,_0x5e5313=_0x229f83(0x21e)+_0x32d80d,_0xe38477=_0x229f83(0x1e6)+_0x32d80d,_0x7b750=_0x3aaffe[_0x229f83(0x1e7)]();let _0x139192=_0x3aaffe[_0x229f83(0x1c4)];if(_0x7b750&&_0x7b750['is'](_0x229f83(0x1ab),_0x229f83(0x1bb))){const _0x54eb17=function(_0x48898d,_0x440726){const _0x1620f4=_0x229f83;for(const _0x41aaa5 of _0x48898d[_0x1620f4(0x1e4)]())if(_0x440726[_0x1620f4(0x1cd)][_0x1620f4(0x235)](_0x41aaa5,_0x1620f4(0x210)))return _0x41aaa5;}(_0x3aaffe,_0x4e6b93);_0x54eb17&&(_0x139192=_0x54eb17,_0x3aaffe=_0x495d6f[_0x229f83(0x22e)](_0x139192));}const _0x337f9a=_0x495d6f[_0x229f83(0x22e)](_0x139192);_0x4e6b93[_0x229f83(0x1dd)][_0x229f83(0x1b0)](_0x5e5313)?(_0x495d6f[_0x229f83(0x1e8)](_0x5e5313,{'range':_0x3aaffe}),_0x495d6f[_0x229f83(0x1e8)](_0xe38477,{'range':_0x337f9a})):(_0x495d6f[_0x229f83(0x20e)](_0x5e5313,{'range':_0x3aaffe,'usingOperation':!0x0}),_0x495d6f[_0x229f83(0x20e)](_0xe38477,{'range':_0x337f9a,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x49322a=_0x1436;(function(_0xa2dce7,_0x2fb523){const _0x5443d2=_0x1436,_0x1913d7=_0xa2dce7();while(!![]){try{const _0x411d1c=parseInt(_0x5443d2(0xf1))/0x1+-parseInt(_0x5443d2(0x16b))/0x2*(parseInt(_0x5443d2(0xfd))/0x3)+-parseInt(_0x5443d2(0x138))/0x4*(-parseInt(_0x5443d2(0x13d))/0x5)+-parseInt(_0x5443d2(0x143))/0x6*(-parseInt(_0x5443d2(0x13c))/0x7)+-parseInt(_0x5443d2(0x15e))/0x8*(-parseInt(_0x5443d2(0x132))/0x9)+-parseInt(_0x5443d2(0x158))/0xa+-parseInt(_0x5443d2(0x124))/0xb;if(_0x411d1c===_0x2fb523)break;else _0x1913d7['push'](_0x1913d7['shift']());}catch(_0x52928e){_0x1913d7['push'](_0x1913d7['shift']());}}}(_0x15d1,0x5bf39));import{Plugin as _0x1efe7f}from'ckeditor5/src/core.js';import{global as _0x42643d,DomEmitterMixin as _0x4b725a}from'ckeditor5/src/utils.js';import{Sessions as _0x3eb767}from'./sessions.js';function _0x15d1(){const _0x23ac3e=['isCollapsed','for','listenTo','undo','473229UijhZC','end','outerHTML','rootName','mouseenter','updateMarker','455636oXFHRb','editing','$text','stopListening','7Zrqijd','20bztvHE','hasContent','span','toRange','model','start','1721838nbGoNg','textContent','innerHTML','type','document','getStart','createRange','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerNameToElements','enqueueChange','size','ck-user__marker\x20','mouseleave','tableCell','isObject','userPositionMarker','keydown','removeMarker','removeClass','newRange','commands','2540670agUVcu','applyOperation','split','nodeAfter','element','conversion','16kWCpmC','user:range','mapper','render','markers','getUserBySessionId','isInline','addMarker','markerToHighlight','init','createUserMarkerOperations','UserMarkers','isSimilar','99742jUPBjt','getFirstRange','update:user:range','mySessionId','detach','color','getRange','contenteditable','highest','false','setCustomProperty','user:position','isOfficialPlugin','fromRange','selection','isDocumentOperation','requires','ck-user__marker_hovered','667596BzAqSr','getPositions','markerToElement','isPremiumPlugin','view','destroy','deletionPosition','has','createElement','startsWith','ck-user__selection','addEventListener','18fksGgk','spellcheck','delete','checkChild','oldRange','root','change','data-session-id','change:range','$graveyard','parent','editor','getContainedElement','name','getSelectionClass','markerName','batch','clear','set','_createdBatches','get','user:','add','orderNumber','_domEmitter','remove','afterInit','markerRange','getAttribute','setAttribute','user:position:','marker','editingDowncast','classList','getNearestSelectionRange','getMarkerClass','hasDomSelection','schema','reconvertMarker','6439851hkHPHZ','user:range:','toDomElement','isLimit','ck-user__marker-tooltip','Escape','pluginName','getCustomProperty','plugins','createUIElement'];_0x15d1=function(){return _0x23ac3e;};return _0x15d1();}import{ModelLiveRange as _0x261016}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1436(_0x58e46e,_0x155772){const _0x15d144=_0x15d1();return _0x1436=function(_0x14365a,_0x48cefd){_0x14365a=_0x14365a-0xee;let _0x73a2cc=_0x15d144[_0x14365a];return _0x73a2cc;},_0x1436(_0x58e46e,_0x155772);}export class UserMarkers extends _0x1efe7f{[_0x49322a(0x115)]=new(_0x4b725a())();static get[_0x49322a(0xef)](){return[_0x3eb767];}static get[_0x49322a(0x12a)](){const _0x3694ed=_0x49322a;return _0x3694ed(0x169);}static get[_0x49322a(0x177)](){return!0x0;}static get[_0x49322a(0xf4)](){return!0x0;}[_0x49322a(0x167)](){const _0x477fcc=_0x49322a,_0x177093=this[_0x477fcc(0x108)],_0x5539f8=_0x177093[_0x477fcc(0x12c)][_0x477fcc(0x111)](_0x3eb767);_0x177093[_0x477fcc(0x15d)][_0x477fcc(0x12f)](_0x477fcc(0x11d))[_0x477fcc(0xf3)]({'model':_0x477fcc(0x176),'view':(_0x5db517,{writer:_0x536f6c})=>function(_0xac7e6a,_0x516bec,_0x25add1,_0x50993b){const _0x45664e=_0x477fcc,_0x57367a=_0xac7e6a[_0x45664e(0x10c)][_0x45664e(0x15a)](':')[0x2],_0x4aa09c=_0x25add1[_0x45664e(0x163)](_0x57367a);if(!_0x4aa09c||_0x57367a===_0x25add1[_0x45664e(0x16e)])return;if(!_0x50993b[_0x45664e(0x141)][_0x45664e(0x122)][_0x45664e(0x100)](_0xac7e6a[_0x45664e(0x118)][_0x45664e(0x142)],_0x45664e(0x13a)))return;const _0x247419={'class':_0x45664e(0x14e)+_0x4aa09c[_0x45664e(0x170)][_0x45664e(0x120)](),'data-name':_0x4aa09c[_0x45664e(0x10a)],'data-session-id':_0x57367a},_0x2c1ccc=_0x50993b[_0x45664e(0x141)][_0x45664e(0x162)][_0x45664e(0x111)](_0xac7e6a[_0x45664e(0x10c)]),_0x424c57=_0x2c1ccc[_0x45664e(0x148)](),_0x599885=_0x424c57[_0x45664e(0x15b)],_0xee314c=_0x50993b[_0x45664e(0x141)][_0x45664e(0x122)];if(_0x599885&&_0xee314c[_0x45664e(0x151)](_0x599885)&&_0xee314c[_0x45664e(0x164)](_0x599885)&&!_0x50993b[_0x45664e(0x141)][_0x45664e(0x162)][_0x45664e(0x111)](_0x45664e(0x125)+_0x57367a)[_0x45664e(0x171)]()[_0x45664e(0x12e)])return;const _0x39d11d=_0x424c57[_0x45664e(0x107)];return _0x50993b[_0x45664e(0x141)][_0x45664e(0x122)][_0x45664e(0x127)](_0x39d11d)&&!_0x50993b[_0x45664e(0x141)][_0x45664e(0x13e)](_0x39d11d)&&(_0x247419[_0x45664e(0x172)]=!0x1),function(_0x296c1e,_0x57f03f,_0x449dd9){const _0x14acad=_0x45664e,_0x4196e0=_0x296c1e[_0x14acad(0x12d)](_0x14acad(0x13f),_0x57f03f);return _0x296c1e[_0x14acad(0x175)](_0x14acad(0x152),!0x0,_0x4196e0),_0x4196e0[_0x14acad(0x161)]=function(_0x262833){const _0x484b4b=_0x14acad,_0x523a02=this[_0x484b4b(0x126)](_0x262833),_0x2a1aa4=document[_0x484b4b(0xf9)](_0x484b4b(0x13f));return _0x2a1aa4[_0x484b4b(0x11e)][_0x484b4b(0x113)](_0x484b4b(0x128)),_0x2a1aa4[_0x484b4b(0x11a)](_0x484b4b(0x172),_0x484b4b(0x174)),_0x2a1aa4[_0x484b4b(0x11a)](_0x484b4b(0xfe),_0x484b4b(0x174)),_0x2a1aa4[_0x484b4b(0x144)]=_0x449dd9[_0x484b4b(0x10a)],_0x523a02[_0x484b4b(0x145)]=_0x484b4b(0x14a)+_0x2a1aa4[_0x484b4b(0x134)]+'',_0x523a02[_0x484b4b(0xfc)](_0x484b4b(0x136),()=>{const _0x55309a=_0x484b4b;_0x523a02[_0x55309a(0x11e)][_0x55309a(0x113)](_0x55309a(0xf0));}),_0x523a02[_0x484b4b(0xfc)](_0x484b4b(0x14f),()=>{const _0x1f18d2=_0x484b4b;_0x523a02[_0x1f18d2(0x11e)][_0x1f18d2(0x116)](_0x1f18d2(0xf0));}),_0x523a02;},_0x4196e0[_0x14acad(0x16a)]=function(_0x3aaa3d){const _0x44fb86=_0x14acad;return!(!this[_0x44fb86(0x12b)](_0x44fb86(0x152))||!_0x3aaa3d[_0x44fb86(0x12b)](_0x44fb86(0x152))||this[_0x44fb86(0x119)](_0x44fb86(0x104))!=_0x3aaa3d[_0x44fb86(0x119)](_0x44fb86(0x104)));},_0x4196e0;}(_0x516bec,_0x247419,_0x4aa09c);}(_0x5db517,_0x536f6c,_0x5539f8,_0x177093)}),_0x177093[_0x477fcc(0x15d)][_0x477fcc(0x12f)](_0x477fcc(0x11d))[_0x477fcc(0x166)]({'model':_0x477fcc(0x15f),'view':_0x19c8ae=>function(_0x48423d,_0x409635){const _0x2bbabd=_0x477fcc,_0x2b8b3f=_0x48423d[_0x2bbabd(0x10c)][_0x2bbabd(0x15a)](':')[0x2];if(_0x2b8b3f===_0x409635[_0x2bbabd(0x16e)])return null;const _0x54b256=_0x409635[_0x2bbabd(0x163)](_0x2b8b3f);if(!_0x54b256)return{'id':_0x2b8b3f,'classes':[]};return{'id':_0x2b8b3f,'classes':[_0x2bbabd(0xfb),_0x54b256[_0x2bbabd(0x170)][_0x2bbabd(0x10b)]()],'attributes':{'data-session-id':_0x2b8b3f},'priority':0x7d0+_0x54b256[_0x2bbabd(0x114)]};}(_0x19c8ae,_0x5539f8)}),function(_0x11ccf9){const _0x5b14d9=_0x477fcc,_0x594653=_0x11ccf9[_0x5b14d9(0x141)],_0x3b7c05=new Map(),_0x31b4dc=_0x11ccf9[_0x5b14d9(0x12c)][_0x5b14d9(0x111)](_0x3eb767);_0x594653[_0x5b14d9(0x162)]['on'](_0x5b14d9(0x16d),(_0x155bce,_0x17ba27,_0x7db44b,_0x4a75da)=>{const _0x10f68f=_0x5b14d9;if(!_0x4a75da&&_0x3b7c05[_0x10f68f(0x111)](_0x17ba27[_0x10f68f(0x10a)]))return _0x3b7c05[_0x10f68f(0x111)](_0x17ba27[_0x10f68f(0x10a)])[_0x10f68f(0x16f)](),void _0x3b7c05[_0x10f68f(0xff)](_0x17ba27[_0x10f68f(0x10a)]);const _0x22fb6a=_0x17ba27[_0x10f68f(0x10a)][_0x10f68f(0x15a)](':')[0x2];if(_0x22fb6a===_0x31b4dc[_0x10f68f(0x16e)])return;const _0x932e6a=_0x10f68f(0x11b)+_0x22fb6a;_0x594653[_0x10f68f(0x162)][_0x10f68f(0xf8)](_0x932e6a)&&_0x11ccf9[_0x10f68f(0x139)][_0x10f68f(0x123)](_0x932e6a),_0x17ba27['on'](_0x10f68f(0x105),(_0xf7fecd,_0x253121,_0x4a8e27)=>{const _0x2c5ae6=_0x10f68f;if(_0x2c5ae6(0x106)!=_0x253121[_0x2c5ae6(0x102)][_0x2c5ae6(0x135)]&&_0x2c5ae6(0x106)==_0x17ba27[_0x2c5ae6(0x171)]()[_0x2c5ae6(0x102)][_0x2c5ae6(0x135)]&&!_0x3b7c05[_0x2c5ae6(0xf8)](_0x17ba27[_0x2c5ae6(0x10a)])){const _0x32e833=_0x594653[_0x2c5ae6(0x122)][_0x2c5ae6(0x11f)](_0x4a8e27[_0x2c5ae6(0xf7)]);if(_0x32e833){const _0x2f3b78=_0x261016[_0x2c5ae6(0x178)](_0x32e833);_0x3b7c05[_0x2c5ae6(0x10f)](_0x17ba27[_0x2c5ae6(0x10a)],_0x2f3b78),_0x2f3b78['on'](_0x2c5ae6(0x105),(_0x5ec259,_0x30b2a1,_0x2bcb0c)=>{const _0x1a12f4=_0x2c5ae6;if(_0x1a12f4(0x106)==_0x2f3b78[_0x1a12f4(0x102)][_0x1a12f4(0x135)]){const _0x8d6c02=_0x594653[_0x1a12f4(0x122)][_0x1a12f4(0x11f)](_0x2bcb0c[_0x1a12f4(0xf7)]);_0x8d6c02?(_0x2f3b78[_0x1a12f4(0x142)]=_0x8d6c02[_0x1a12f4(0x142)],_0x2f3b78[_0x1a12f4(0x133)]=_0x8d6c02[_0x1a12f4(0x133)]):(_0x3b7c05[_0x1a12f4(0xff)](_0x17ba27[_0x1a12f4(0x10a)]),_0x2f3b78[_0x1a12f4(0x16f)]());}});}}});}),_0x594653[_0x5b14d9(0x147)]['on'](_0x5b14d9(0x103),()=>{const _0x461746=_0x5b14d9;_0x3b7c05[_0x461746(0x14d)]>0x0&&_0x594653[_0x461746(0x14c)]({'isUndoable':!0x1},_0xe639e8=>{const _0x46d02f=_0x461746;for(const [_0x551b87,_0x24a7c9]of _0x3b7c05)_0x46d02f(0x106)==_0x594653[_0x46d02f(0x162)][_0x46d02f(0x111)](_0x551b87)[_0x46d02f(0x171)]()[_0x46d02f(0x102)][_0x46d02f(0x135)]&&(Y(_0x551b87[_0x46d02f(0x15a)](':')[0x2],_0x24a7c9[_0x46d02f(0x140)](),_0x594653,_0xe639e8),_0x24a7c9[_0x46d02f(0x16f)]());_0x3b7c05[_0x46d02f(0x10e)]();});});}(_0x177093),this[_0x477fcc(0x115)][_0x477fcc(0x130)](_0x42643d[_0x477fcc(0x147)],_0x477fcc(0x153),(_0x2d04a5,{key:_0x621c16})=>{const _0x377bcd=_0x477fcc;_0x377bcd(0x129)===_0x621c16&&function(_0x2f8ead){const _0x255d94=_0x377bcd;_0x2f8ead[_0x255d94(0x139)][_0x255d94(0xf5)][_0x255d94(0x103)](_0x46c003=>{const _0x11dc92=_0x255d94;for(const _0x49e317 of _0x2f8ead[_0x11dc92(0x141)][_0x11dc92(0x162)]){if(!_0x49e317[_0x11dc92(0x10a)][_0x11dc92(0xfa)](_0x11dc92(0x176)))continue;const _0x47c48b=_0x2f8ead[_0x11dc92(0x139)][_0x11dc92(0x160)][_0x11dc92(0x14b)](_0x49e317[_0x11dc92(0x10a)]);if(_0x47c48b){for(const _0x2f88db of _0x47c48b)_0x46c003[_0x11dc92(0x155)](_0x11dc92(0xf0),_0x2f88db);}}});}(_0x177093);},{'useCapture':!0x0});}[_0x49322a(0x117)](){const _0x43fa66=_0x49322a,_0x29e589=this[_0x43fa66(0x108)],_0x56adce=_0x29e589[_0x43fa66(0x157)][_0x43fa66(0x111)](_0x43fa66(0x131));_0x56adce&&_0x29e589[_0x43fa66(0x141)]['on'](_0x43fa66(0x159),(_0x1c1bf5,_0x5319d0)=>{const _0x273798=_0x43fa66,_0x424408=_0x5319d0[0x0];if(!_0x424408[_0x273798(0xee)])return;if(_0x273798(0x11c)!=_0x424408[_0x273798(0x146)]||!_0x424408[_0x273798(0x10a)][_0x273798(0xfa)](_0x273798(0x112)))return;const _0x52b64b=_0x424408[_0x273798(0x10d)];_0x56adce[_0x273798(0x110)][_0x273798(0xf8)](_0x52b64b)&&(_0x424408[_0x273798(0x156)]=_0x424408[_0x273798(0x101)]?_0x29e589[_0x273798(0x141)][_0x273798(0x149)](_0x424408[_0x273798(0x101)][_0x273798(0x142)],_0x424408[_0x273798(0x101)][_0x273798(0x133)]):null);},{'priority':_0x43fa66(0x173)});}[_0x49322a(0xf6)](){const _0x476b47=_0x49322a;return this[_0x476b47(0x115)][_0x476b47(0x13b)](),super[_0x476b47(0xf6)]();}[_0x49322a(0x168)](){const _0x16517d=_0x49322a,_0x15b448=this[_0x16517d(0x108)],_0x547c2c=_0x15b448[_0x16517d(0x141)][_0x16517d(0x147)],_0x216803=_0x15b448[_0x16517d(0x12c)][_0x16517d(0x111)](_0x3eb767);_0x15b448[_0x16517d(0x141)][_0x16517d(0x14c)]({'isUndoable':!0x1},_0x4499d4=>{const _0x2ae984=_0x16517d,_0x2a9c00=_0x2ae984(0x125)+_0x216803[_0x2ae984(0x16e)],_0x4d092f=_0x2ae984(0x11b)+_0x216803[_0x2ae984(0x16e)],_0x3cdc99=_0x15b448[_0x2ae984(0x141)][_0x2ae984(0x162)][_0x2ae984(0xf8)](_0x2a9c00);_0x15b448[_0x2ae984(0x139)][_0x2ae984(0xf5)][_0x2ae984(0x121)]?Y(_0x216803[_0x2ae984(0x16e)],_0x547c2c[_0x2ae984(0x179)][_0x2ae984(0x16c)](),_0x15b448[_0x2ae984(0x141)],_0x4499d4):_0x3cdc99&&(_0x4499d4[_0x2ae984(0x154)](_0x2a9c00),_0x4499d4[_0x2ae984(0x154)](_0x4d092f));});}}function Y(_0x107731,_0x18ba72,_0x481293,_0x488dba){const _0x4fb69a=_0x49322a,_0x35db96=_0x4fb69a(0x125)+_0x107731,_0x3aef68=_0x4fb69a(0x11b)+_0x107731,_0x3764bc=_0x18ba72[_0x4fb69a(0x109)]();let _0x6821c5=_0x18ba72[_0x4fb69a(0x142)];if(_0x3764bc&&_0x3764bc['is'](_0x4fb69a(0x15c),_0x4fb69a(0x150))){const _0x340c99=function(_0x21bd2b,_0x5d048b){const _0x1d4b23=_0x4fb69a;for(const _0x3e528b of _0x21bd2b[_0x1d4b23(0xf2)]())if(_0x5d048b[_0x1d4b23(0x122)][_0x1d4b23(0x100)](_0x3e528b,_0x1d4b23(0x13a)))return _0x3e528b;}(_0x18ba72,_0x481293);_0x340c99&&(_0x6821c5=_0x340c99,_0x18ba72=_0x488dba[_0x4fb69a(0x149)](_0x6821c5));}const _0x200033=_0x488dba[_0x4fb69a(0x149)](_0x6821c5);_0x481293[_0x4fb69a(0x162)][_0x4fb69a(0xf8)](_0x35db96)?(_0x488dba[_0x4fb69a(0x137)](_0x35db96,{'range':_0x18ba72}),_0x488dba[_0x4fb69a(0x137)](_0x3aef68,{'range':_0x200033})):(_0x488dba[_0x4fb69a(0x165)](_0x35db96,{'range':_0x18ba72,'usingOperation':!0x0}),_0x488dba[_0x4fb69a(0x165)](_0x3aef68,{'range':_0x200033,'usingOperation':!0x0}));}
|