@ckeditor/ckeditor5-real-time-collaboration 46.0.0 → 46.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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.d.ts +0 -2
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4b58fc=_0x1b63;function _0x1b63(_0x387174,_0x2e8d44){const _0x1d488e=_0x1d48();return _0x1b63=function(_0x1b6379,_0x177225){_0x1b6379=_0x1b6379-0x144;let _0x1286ec=_0x1d488e[_0x1b6379];return _0x1286ec;},_0x1b63(_0x387174,_0x2e8d44);}(function(_0x17be1c,_0x31ccd3){const _0x4cc32f=_0x1b63,_0x160e34=_0x17be1c();while(!![]){try{const _0x118b13=-parseInt(_0x4cc32f(0x169))/0x1+-parseInt(_0x4cc32f(0x16b))/0x2+-parseInt(_0x4cc32f(0x158))/0x3*(parseInt(_0x4cc32f(0x152))/0x4)+-parseInt(_0x4cc32f(0x157))/0x5+parseInt(_0x4cc32f(0x14c))/0x6*(parseInt(_0x4cc32f(0x163))/0x7)+parseInt(_0x4cc32f(0x14d))/0x8*(parseInt(_0x4cc32f(0x16a))/0x9)+parseInt(_0x4cc32f(0x165))/0xa*(parseInt(_0x4cc32f(0x164))/0xb);if(_0x118b13===_0x31ccd3)break;else _0x160e34['push'](_0x160e34['shift']());}catch(_0x4ce835){_0x160e34['push'](_0x160e34['shift']());}}}(_0x1d48,0xa2d12));function _0x1d48(){const _0x3276fc=['ck-presence-list__list','isExpanded','presencelist:hide','presencelist:show','setAttribute','7fnxGIg','36220316gLSmts','10uaRjAC','set','querySelector','relatedTarget','811830dOizlx','287658NLrilN','232446AXTmmF','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','.ck-presence-list__dropdown-list','items','bindTemplate','Connected\x20users\x20list','setTemplate','list','fire','1756962zJzORP','8LpwApm','removeAttribute','createCollection','element','contains','20Bguwkh','listenTo','render','change:hasPopup','.ck-balloon-panel_with-arrow','6264545BZMjFj','461811XYAloY','aria-expanded','keystrokes','div','focus','hasPopup'];_0x1d48=function(){return _0x3276fc;};return _0x1d48();}import{View as _0x5ea355}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x27001a}from'ckeditor5/src/utils.js';import{getTranslation as _0x15cd8c}from'../../common-translations.js';export class PresenceInlineListView extends _0x5ea355{[_0x4b58fc(0x146)];[_0x4b58fc(0x15a)];constructor(_0x57bf75){const _0x5a631c=_0x4b58fc;super(_0x57bf75);const _0xd690c6=this[_0x5a631c(0x147)];this[_0x5a631c(0x146)]=this[_0x5a631c(0x14f)](),this[_0x5a631c(0x15a)]=new _0x27001a(),this[_0x5a631c(0x166)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5a631c(0x149)]({'tag':_0x5a631c(0x15b),'attributes':{'aria-haspopup':_0xd690c6['if'](_0x5a631c(0x15d)),'aria-expanded':_0xd690c6['to'](_0x5a631c(0x15f),_0x27f01e=>this[_0x5a631c(0x15d)]&&String(_0x27f01e)),'aria-label':_0xd690c6['to'](_0x5a631c(0x15d),_0x1097cb=>_0x15cd8c(_0x57bf75,_0x1097cb?_0x5a631c(0x144):_0x5a631c(0x148))),'role':_0x5a631c(0x14a),'tabindex':_0xd690c6['to'](_0x5a631c(0x15d),_0x4fad5f=>!!_0x4fad5f&&0x0),'class':['ck',_0x5a631c(0x15e)]},'children':this[_0x5a631c(0x146)],'on':{'mouseenter':_0xd690c6['to'](()=>this[_0x5a631c(0x14b)](_0x5a631c(0x161))),'mouseleave':_0xd690c6['to'](_0x2e51e6=>{const _0x34eb87=_0x5a631c,_0x30d66d=_0x2e51e6,_0x1d083e=document[_0x34eb87(0x167)](_0x34eb87(0x145)),_0x31433d=document[_0x34eb87(0x167)](_0x34eb87(0x156));_0x1d083e?.[_0x34eb87(0x151)](_0x30d66d[_0x34eb87(0x168)])||_0x31433d?.[_0x34eb87(0x151)](_0x30d66d[_0x34eb87(0x168)])||this[_0x34eb87(0x14b)](_0x34eb87(0x160));})}}),this['on'](_0x5a631c(0x155),(_0x474fa2,_0x596f2d,_0x12027c)=>{const _0x56cf9e=_0x5a631c;this[_0x56cf9e(0x150)]&&(_0x12027c?this[_0x56cf9e(0x150)][_0x56cf9e(0x162)](_0x56cf9e(0x159),String(this[_0x56cf9e(0x15f)])):this[_0x56cf9e(0x150)][_0x56cf9e(0x14e)](_0x56cf9e(0x159)));});}[_0x4b58fc(0x15c)](){const _0xf58161=_0x4b58fc;this[_0xf58161(0x150)][_0xf58161(0x15c)]();}[_0x4b58fc(0x154)](){const _0x26ecd9=_0x4b58fc;super[_0x26ecd9(0x154)](),this[_0x26ecd9(0x15a)][_0x26ecd9(0x153)](this[_0x26ecd9(0x150)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x26f75f=_0x4bb7;(function(_0x23936b,_0x2d401e){const _0x1b9647=_0x4bb7,_0x3921c2=_0x23936b();while(!![]){try{const _0x2207d7=parseInt(_0x1b9647(0x19d))/0x1*(-parseInt(_0x1b9647(0x192))/0x2)+-parseInt(_0x1b9647(0x197))/0x3+-parseInt(_0x1b9647(0x19c))/0x4*(-parseInt(_0x1b9647(0x19e))/0x5)+-parseInt(_0x1b9647(0x194))/0x6+-parseInt(_0x1b9647(0x195))/0x7*(parseInt(_0x1b9647(0x199))/0x8)+-parseInt(_0x1b9647(0x18c))/0x9+-parseInt(_0x1b9647(0x191))/0xa*(-parseInt(_0x1b9647(0x198))/0xb);if(_0x2207d7===_0x2d401e)break;else _0x3921c2['push'](_0x3921c2['shift']());}catch(_0x2b27c5){_0x3921c2['push'](_0x3921c2['shift']());}}}(_0x5e76,0x3f29b));import{View as _0x5dfce5}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x35a605}from'./presencecounterview.js';function _0x5e76(){const _0x3fcd67=['2505519UOYbEA','ck-reset','inlineListView','ck-presence-list--collapsed','setTemplate','73370Uvlbxw','2mBZhME','items','1484700MKjZbf','1381863jdkCSY','listenTo','554022oKdQlO','1782QyyIGX','8dRmjWE','hasPopup','bindTemplate','4zkyJoQ','142778HGhRMU','604115SzXhBs','first','ck-presence-list','isCollapsed','locale','tooltipPosition','div','counterView','set','change','bind','ck-rounded-corners'];_0x5e76=function(){return _0x3fcd67;};return _0x5e76();}import{PresenceInlineListView as _0x266ff7}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x4bb7(_0x41cca4,_0x2dbabd){const _0x5e7668=_0x5e76();return _0x4bb7=function(_0x4bb7e1,_0x25c951){_0x4bb7e1=_0x4bb7e1-0x182;let _0x184244=_0x5e7668[_0x4bb7e1];return _0x184244;},_0x4bb7(_0x41cca4,_0x2dbabd);}export class PresenceListView extends _0x5dfce5{[_0x26f75f(0x187)];[_0x26f75f(0x18e)];constructor(_0x1ddbd1,_0x1d86ea=0x6){const _0x24d348=_0x26f75f;super(_0x1ddbd1);const _0x2754d0=this[_0x24d348(0x19b)];this[_0x24d348(0x188)](_0x24d348(0x183),!0x0),this[_0x24d348(0x187)]=new _0x35a605(this[_0x24d348(0x184)],_0x1d86ea),this[_0x24d348(0x18e)]=new _0x266ff7(_0x1ddbd1),this[_0x24d348(0x18e)][_0x24d348(0x18a)](_0x24d348(0x19a))['to'](this,_0x24d348(0x183)),this[_0x24d348(0x196)](this[_0x24d348(0x18e)][_0x24d348(0x193)],_0x24d348(0x189),()=>{const _0x3e8619=_0x24d348;for(const _0x9245c4 of this[_0x3e8619(0x18e)][_0x3e8619(0x193)])_0x9245c4[_0x3e8619(0x185)]='s';this[_0x3e8619(0x18e)][_0x3e8619(0x193)][_0x3e8619(0x19f)]&&(this[_0x3e8619(0x18e)][_0x3e8619(0x193)][_0x3e8619(0x19f)][_0x3e8619(0x185)]='se');}),this[_0x24d348(0x190)]({'tag':_0x24d348(0x186),'attributes':{'class':['ck',_0x24d348(0x182),_0x24d348(0x18d),_0x24d348(0x18b),_0x2754d0['if'](_0x24d348(0x183),_0x24d348(0x18f))]},'children':[this[_0x24d348(0x18e)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1403(_0x3a0a93,_0x49d153){var _0x21ad51=_0x21ad();return _0x1403=function(_0x1403d3,_0x175ee0){_0x1403d3=_0x1403d3-0x174;var _0xedeaff=_0x21ad51[_0x1403d3];return _0xedeaff;},_0x1403(_0x3a0a93,_0x49d153);}var _0x4cecdc=_0x1403;(function(_0x1f45b4,_0x1d2fc6){var _0x29e921=_0x1403,_0x57aca8=_0x1f45b4();while(!![]){try{var _0x331d8c=-parseInt(_0x29e921(0x177))/0x1+-parseInt(_0x29e921(0x17e))/0x2*(-parseInt(_0x29e921(0x181))/0x3)+parseInt(_0x29e921(0x17a))/0x4*(-parseInt(_0x29e921(0x17d))/0x5)+-parseInt(_0x29e921(0x182))/0x6+-parseInt(_0x29e921(0x178))/0x7+parseInt(_0x29e921(0x179))/0x8*(parseInt(_0x29e921(0x174))/0x9)+parseInt(_0x29e921(0x17f))/0xa;if(_0x331d8c===_0x1d2fc6)break;else _0x57aca8['push'](_0x57aca8['shift']());}catch(_0x1c1a70){_0x57aca8['push'](_0x57aca8['shift']());}}}(_0x21ad,0x85e7e));import{ContextPlugin as _0x182c45}from'ckeditor5/src/core.js';import{Sessions as _0x30048f}from'./realtimecollaborativeediting/sessions.js';function _0x21ad(){var _0x456780=['527780ItCqzK','746xcvAdc','12349110HciPhm','pluginName','144fNFEtU','706326NOAHuI','1422xzopsA','requires','PresenceList','100970lpWnFT','1972026jiYaEC','37776FMHYEE','36GvtotR','isPremiumPlugin','isOfficialPlugin'];_0x21ad=function(){return _0x456780;};return _0x21ad();}import{PresenceListUI as _0x34c966}from'./presencelist/presencelistui.js';export class PresenceList extends _0x182c45{static get[_0x4cecdc(0x175)](){return[_0x30048f,_0x34c966];}static get[_0x4cecdc(0x180)](){var _0x46c341=_0x4cecdc;return _0x46c341(0x176);}static get[_0x4cecdc(0x17c)](){return!0x0;}static get[_0x4cecdc(0x17b)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x3aa10b)());[_0x3ef3dc(0xe7)];static get[_0x3ef3dc(0xb1)](){const _0x452954=_0x3ef3dc;return[_0x42ddff,_0x452954(0xb8),_0x4f6bee,_0x3316c0];}static get[_0x3ef3dc(0xa7)](){const _0x1ed707=_0x3ef3dc;return _0x1ed707(0xcd);}static get[_0x3ef3dc(0xf3)](){return!0x0;}static get[_0x3ef3dc(0xce)](){return!0x0;}constructor(_0x2d1d79){const _0x5db593=_0x3ef3dc;super(_0x2d1d79),this[_0x5db593(0xe7)]=new Map();}async[_0x3ef3dc(0xaa)](){const _0x5949e2=_0x3ef3dc,_0x53e834=this[_0x5949e2(0xc1)],_0x1d589c=_0x53e834[_0x5949e2(0xa2)][_0x5949e2(0xf9)](_0x5949e2(0xb8));if(_0x53e834[_0x5949e2(0xa2)][_0x5949e2(0xf9)](_0x42ddff)[_0x5949e2(0xed)](this),_0x1d589c[_0x5949e2(0xc7)]={'addCommentThread':async({channelId:_0x18a058,threadId:_0x49e184,comments:_0x234477,resolvedAt:_0x53edcf,resolvedBy:_0x3da372,context:_0x5c4205,attributes:_0xd18c33})=>{const _0x2ae6e6=_0x5949e2,_0x49da63=await this[_0x2ae6e6(0xe5)](_0x18a058)[_0x2ae6e6(0xd9)]({'commentThreadId':_0x49e184,'comments':_0x234477[_0x2ae6e6(0xfb)](_0x4bd860=>function(_0x3ecfd0,_0x123caf,_0x448da0){const _0x5a87c9=_0x2ae6e6;return{'commentThreadId':_0x448da0,'commentId':_0x3ecfd0[_0x5a87c9(0xf2)],'userId':_0x3ecfd0[_0x5a87c9(0xae)],'content':_0x3ecfd0[_0x5a87c9(0xa1)],'documentId':_0x123caf,'createdAt':_0x3ecfd0[_0x5a87c9(0xd2)],'attributes':_0x3ecfd0[_0x5a87c9(0xe1)]||{}};}(_0x4bd860,_0x18a058,_0x49e184)),'resolvedAt':_0x53edcf,'resolvedBy':_0x3da372,'context':_0x5c4205,'attributes':_0xd18c33})[_0x2ae6e6(0xa4)](A);return{'threadId':_0x49da63[_0x2ae6e6(0xdb)],'comments':_0x49da63[_0x2ae6e6(0xc8)]};},'getCommentThread':async({channelId:_0x2d1c23,threadId:_0x2b9701})=>{const _0x10d6c9=_0x5949e2,_0x2b43e2=await this[_0x10d6c9(0xe5)](_0x2d1c23)[_0x10d6c9(0xb4)](_0x2b9701)[_0x10d6c9(0xa4)](A);return _0x2b43e2[_0x10d6c9(0xf8)]?null:(await this[_0x10d6c9(0xe2)]([_0x2b43e2]),{'threadId':_0x2b43e2[_0x10d6c9(0xdb)],'comments':_0x2b43e2[_0x10d6c9(0xc8)][_0x10d6c9(0xfb)](p),'context':_0x2b43e2[_0x10d6c9(0xc1)],'resolvedAt':_0x2b43e2[_0x10d6c9(0x9f)],'resolvedBy':_0x2b43e2[_0x10d6c9(0xe4)],'attributes':_0x2b43e2[_0x10d6c9(0xe1)]||{}});},'updateCommentThread':async({channelId:_0x587f38,threadId:_0x5a4b76,context:_0x4409e0,unlinkedAt:_0x4fd667,attributes:_0x1adacc})=>this[_0x5949e2(0xe5)](_0x587f38)[_0x5949e2(0xeb)]({'commentThreadId':_0x5a4b76,'context':_0x4409e0,'attributes':_0x1adacc,'unlinkedAt':_0x4fd667})[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A),'resolveCommentThread':async({channelId:_0x5cd04f,threadId:_0x200a61})=>{const _0x5009a1=_0x5949e2,_0x3b98ba=await this[_0x5009a1(0xe5)](_0x5cd04f)[_0x5009a1(0xac)](_0x200a61)[_0x5009a1(0xa4)](v)[_0x5009a1(0xa4)](A);return{'threadId':_0x3b98ba[_0x5009a1(0xdb)],'resolvedAt':_0x3b98ba[_0x5009a1(0x9f)],'resolvedBy':_0x3b98ba[_0x5009a1(0xe4)]};},'reopenCommentThread':async({channelId:_0x437998,threadId:_0x4e9a34})=>this[_0x5949e2(0xe5)](_0x437998)[_0x5949e2(0xda)](_0x4e9a34)[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A),'removeCommentThread':({channelId:_0x428fcd,threadId:_0x2b39bd})=>this[_0x5949e2(0xe5)](_0x428fcd)[_0x5949e2(0xde)](_0x2b39bd)[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A),'addComment':({channelId:_0x313546,threadId:_0x2d9b97,commentId:_0x5722d7,content:_0x3e854c,attributes:_0x3c9717})=>this[_0x5949e2(0xe5)](_0x313546)[_0x5949e2(0xb2)](_0x2d9b97,_0x5722d7,_0x3e854c,_0x3c9717)[_0x5949e2(0xa4)](A),'updateComment':({channelId:_0x562c41,threadId:_0xc0650f,commentId:_0xbafeb8,content:_0x1d7bc4,attributes:_0xf23ae9})=>this[_0x5949e2(0xe5)](_0x562c41)[_0x5949e2(0xb9)](_0xc0650f,_0xbafeb8,_0x1d7bc4,_0xf23ae9)[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A),'removeComment':({channelId:_0x2427d8,threadId:_0x57ebe9,commentId:_0x578fa2})=>this[_0x5949e2(0xe5)](_0x2427d8)[_0x5949e2(0xfe)](_0x57ebe9,_0x578fa2)[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A)},_0x53e834 instanceof _0x5f0c1d){const _0x5a61e6=_0x53e834[_0x5949e2(0xff)][_0x5949e2(0xf9)](_0x5949e2(0xd6)),_0x49245c=_0x53e834[_0x5949e2(0xa2)][_0x5949e2(0xf9)](_0x4f6bee);await this[_0x5949e2(0xb5)](_0x5a61e6);const _0x1b3af1=await this[_0x5949e2(0xe7)][_0x5949e2(0xf9)](_0x5a61e6)[_0x5949e2(0xd8)]();this[_0x5949e2(0xd4)](_0x49245c,_0x5949e2(0xe9)+_0x5a61e6,(_0xc49efb,{session:_0x45096b})=>{const _0x2bac54=_0x5949e2;_0x45096b['id']===_0x49245c[_0x2bac54(0xe6)]&&(_0xc49efb[_0x2bac54(0x9b)](),this[_0x2bac54(0xc1)][_0x2bac54(0xa2)][_0x2bac54(0xf9)](_0x2bac54(0xd7))[_0x2bac54(0xa6)](_0x45096b[_0x2bac54(0xcf)],_0x5a61e6));}),_0x49245c[_0x5949e2(0xc9)](_0x5a61e6,_0x1b3af1);}}async[_0x3ef3dc(0xb5)](_0x4123be){const _0x2a9c2f=_0x3ef3dc;if(this[_0x2a9c2f(0xe7)][_0x2a9c2f(0xaf)](_0x4123be))throw new _0x2c9401(_0x2a9c2f(0xd1),null,{'channelId':_0x4123be});const _0x27561f=this[_0x2a9c2f(0xc1)][_0x2a9c2f(0xa2)][_0x2a9c2f(0xf9)](_0x2a9c2f(0xb8)),_0x3af42f=new s[(_0x2a9c2f(0xf7))](_0x4123be);this[_0x2a9c2f(0xe7)][_0x2a9c2f(0xee)](_0x4123be,_0x3af42f),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xd3),(_0x31c5f6,_0x417287)=>{const _0x2d8ec7=_0x2a9c2f,{commentThreadId:_0x3d907a,documentId:_0x30bef8,context:_0x1dc8b1,attributes:_0x25e174,resolvedAt:_0x279bc6,resolvedBy:_0x3f65a9,comments:_0x37908d}=_0x417287;_0x27561f[_0x2d8ec7(0xb4)](_0x3d907a)||_0x27561f[_0x2d8ec7(0xd9)]({'threadId':_0x3d907a,'channelId':_0x30bef8,'comments':_0x37908d?_0x37908d[_0x2d8ec7(0xfb)](p):[],'context':_0x1dc8b1,'attributes':_0x25e174,'resolvedAt':_0x279bc6,'resolvedBy':_0x3f65a9,'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xa3),(_0x339a14,{commentThreadId:_0x51c48b,documentId:_0x17406b,context:_0x514c8d,unlinkedAt:_0x18a938,attributes:_0x5a7ce9})=>{const _0x1b1a3a=_0x2a9c2f;_0x27561f[_0x1b1a3a(0xb4)](_0x51c48b)&&_0x27561f[_0x1b1a3a(0xeb)]({'threadId':_0x51c48b,'channelId':_0x17406b,'context':_0x514c8d,'unlinkedAt':_0x18a938,'attributes':_0x5a7ce9,'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xad),(_0x3f6435,{commentThreadId:_0xa5610c,resolvedBy:_0x1fb74e,resolvedAt:_0x2a12a0})=>{const _0x223a98=_0x2a9c2f,_0x362ad7=_0x27561f[_0x223a98(0xb4)](_0xa5610c);_0x362ad7&&_0x362ad7[_0x223a98(0xdf)]({'resolvedBy':_0x1fb74e,'resolvedAt':_0x2a12a0,'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xa0),(_0x160d5f,{commentThreadId:_0x2aa1f1})=>{const _0x1d4187=_0x2a9c2f,_0x4b0dc7=_0x27561f[_0x1d4187(0xb4)](_0x2aa1f1);_0x4b0dc7&&_0x4b0dc7[_0x1d4187(0xf5)]({'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0x9c),(_0x5dc517,{commentThreadId:_0x37c4cb})=>{const _0x3f8b31=_0x2a9c2f,_0x131531=_0x27561f[_0x3f8b31(0xb4)](_0x37c4cb);_0x131531&&_0x131531[_0x3f8b31(0xc2)]({'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xc5),(_0x4c6a4b,_0x1f8201)=>{const _0x40cc6d=_0x2a9c2f,_0x446d82=_0x1f8201[_0x40cc6d(0xdb)],_0x14b425=_0x27561f[_0x40cc6d(0xb4)](_0x446d82);_0x14b425&&_0x14b425[_0x40cc6d(0xb2)]({...p(_0x1f8201),'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xa9),(_0x16387c,{commentThreadId:_0x553607,commentId:_0x1b0419,content:_0x27a219,attributes:_0x1d7a1a})=>{const _0x3b3949=_0x2a9c2f,_0x2182c1=_0x27561f[_0x3b3949(0xb4)](_0x553607);if(_0x2182c1){const _0x2baa69=_0x2182c1[_0x3b3949(0xd0)](_0x1b0419);_0x2baa69&&_0x2baa69[_0x3b3949(0xea)]({'content':_0x27a219,'attributes':_0x1d7a1a,'isFromAdapter':!0x0});}}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xbc),(_0x51e713,{commentThreadId:_0x3dbed1,commentId:_0x4d5c14})=>{const _0x41c608=_0x2a9c2f,_0x43962e=_0x27561f[_0x41c608(0xb4)](_0x3dbed1);if(_0x43962e){const _0x26ba8c=_0x43962e[_0x41c608(0xd0)](_0x4d5c14);_0x26ba8c&&_0x26ba8c[_0x41c608(0xc2)]({'isFromAdapter':!0x0});}}),await this[_0x2a9c2f(0xe8)](_0x4123be);}[_0x3ef3dc(0xc6)](){const _0x4eb8fb=_0x3ef3dc;if(this[_0x4eb8fb(0xc1)]instanceof _0x5f0c1d){const _0x4334b9=this[_0x4eb8fb(0xc1)][_0x4eb8fb(0xff)][_0x4eb8fb(0xf9)](_0x4eb8fb(0xd6));this[_0x4eb8fb(0xdd)](_0x4334b9);}}[_0x3ef3dc(0xdd)](_0x48432d){const _0x6e443e=_0x3ef3dc;if(!this[_0x6e443e(0xe7)][_0x6e443e(0xaf)](_0x48432d))throw new _0x2c9401(_0x6e443e(0xc0),null,{'channelId':_0x48432d});this[_0x6e443e(0xe5)](_0x48432d)[_0x6e443e(0xcb)](),this[_0x6e443e(0xe7)][_0x6e443e(0xfd)](_0x48432d);}async[_0x3ef3dc(0xa5)](){const _0x376941=_0x3ef3dc;for(const _0x8fcf5b of this[_0x376941(0xe7)][_0x376941(0xa8)]())await this[_0x376941(0xe8)](_0x8fcf5b);if(this[_0x376941(0xc1)]instanceof _0x5f0c1d){const _0x598c16=this[_0x376941(0xc1)][_0x376941(0xff)][_0x376941(0xf9)](_0x376941(0xd6)),_0x40f796=this[_0x376941(0xc1)][_0x376941(0xa2)][_0x376941(0xf9)](_0x4f6bee);_0x40f796[_0x376941(0xbf)](_0x598c16);const _0x24aba4=await this[_0x376941(0xe7)][_0x376941(0xf9)](_0x598c16)[_0x376941(0xd8)]();_0x40f796[_0x376941(0xc9)](_0x598c16,_0x24aba4);}}async[_0x3ef3dc(0xe8)](_0x17bb5c){const _0x23f595=_0x3ef3dc,{connection:_0x3feb2f}=this[_0x23f595(0xc1)][_0x23f595(0xa2)][_0x23f595(0xf9)](_0x42ddff),_0x572c91=this[_0x23f595(0xc1)][_0x23f595(0xa2)][_0x23f595(0xf9)](_0x23f595(0xb8)),_0x3037cb=this[_0x23f595(0xe7)][_0x23f595(0xf9)](_0x17bb5c),_0x2f2330=await _0x3037cb[_0x23f595(0xc3)](_0x3feb2f);await this[_0x23f595(0xe2)](_0x2f2330);const _0x2b0395=new Set(Array[_0x23f595(0xef)](_0x572c91[_0x23f595(0xbb)]({'channelId':_0x17bb5c}),_0x53f48a=>_0x53f48a['id']));for(const _0x50d3c9 of _0x2f2330)_0x50d3c9[_0x23f595(0xf8)]||_0x2b0395[_0x23f595(0xfd)](_0x50d3c9[_0x23f595(0xdb)]);for(const _0x5ee807 of _0x2b0395)_0x572c91[_0x23f595(0xb4)](_0x5ee807)[_0x23f595(0xc2)]({'isFromAdapter':!0x0});for(const _0x4f48e9 of _0x2f2330){let _0x5e73cf=_0x572c91[_0x23f595(0xb4)](_0x4f48e9[_0x23f595(0xdb)]);const {commentThreadId:_0x5a8c24,context:_0x2a481d,attributes:_0x3bc83f,resolvedBy:_0x571165,resolvedAt:_0x493b82,unlinkedAt:_0x23518c,deletedAt:_0x1d235d}=_0x4f48e9;if(_0x1d235d)continue;_0x5e73cf||(_0x5e73cf=_0x572c91[_0x23f595(0xd9)]({'channelId':_0x17bb5c,'threadId':_0x5a8c24,'context':_0x2a481d,'attributes':_0x3bc83f||{},'resolvedBy':_0x571165,'resolvedAt':_0x493b82,'unlinkedAt':_0x23518c,'isFromAdapter':!0x0}));const _0x512921=new Set(Array[_0x23f595(0xef)](_0x5e73cf[_0x23f595(0xc8)],_0x1df260=>_0x1df260['id']));for(const _0x136b4e of _0x4f48e9[_0x23f595(0xc8)])_0x512921[_0x23f595(0xfd)](_0x136b4e[_0x23f595(0xf2)]);for(const _0x3b257c of _0x512921)_0x5e73cf[_0x23f595(0xd0)](_0x3b257c)[_0x23f595(0xc2)]({'isFromAdapter':!0x0});for(const _0x1140a2 of _0x4f48e9[_0x23f595(0xc8)]){const _0x334d3e=_0x5e73cf[_0x23f595(0xd0)](_0x1140a2[_0x23f595(0xf2)]);_0x334d3e?_0x334d3e[_0x23f595(0xa1)]!==_0x1140a2[_0x23f595(0xa1)]&&_0x334d3e[_0x23f595(0xea)]({'content':_0x1140a2[_0x23f595(0xa1)],'isFromAdapter':!0x0}):_0x5e73cf[_0x23f595(0xb2)](Object[_0x23f595(0xfa)](p(_0x1140a2),{'isFromAdapter':!0x0}));}}}[_0x3ef3dc(0xe5)](_0x5e0e70){const _0x38c590=_0x3ef3dc;if(!this[_0x38c590(0xe7)][_0x38c590(0xaf)](_0x5e0e70))throw new _0x2c9401(_0x38c590(0xe0),null,{'channelId':_0x5e0e70});return this[_0x38c590(0xe7)][_0x38c590(0xf9)](_0x5e0e70);}async[_0x3ef3dc(0xe2)](_0x3a01ee){const _0x55f350=_0x3ef3dc,_0x303b38=this[_0x55f350(0xc1)][_0x55f350(0xa2)][_0x55f350(0xf9)](_0x3316c0),{connection:_0x32bb1f}=this[_0x55f350(0xc1)][_0x55f350(0xa2)][_0x55f350(0xf9)](_0x42ddff),_0x42c690=new Set();for(const {resolvedBy:_0x4e7aae,comments:_0xda2773}of _0x3a01ee){_0x4e7aae&&!_0x303b38[_0x55f350(0xb7)](_0x4e7aae)&&_0x42c690[_0x55f350(0xf6)](_0x4e7aae);for(const {userId:_0x3342d2}of _0xda2773)_0x303b38[_0x55f350(0xb7)](_0x3342d2)||_0x42c690[_0x55f350(0xf6)](_0x3342d2);}if(0x0===_0x42c690[_0x55f350(0xc4)])return;const _0x224cce=await _0x464395[_0x55f350(0xbd)](_0x32bb1f,Array[_0x55f350(0xef)](_0x42c690));for(const _0xba0776 of _0x224cce)_0x303b38[_0x55f350(0xb7)](_0xba0776['id'])||_0x303b38[_0x55f350(0xd5)](_0xba0776);}}export{s as CloudServicesCommentsAdapter};async function v(_0x126eed){const _0x4377d4=_0x3ef3dc;if(_0x4377d4(0xfc)!==_0x126eed[_0x4377d4(0xbe)])throw _0x126eed;}function A(_0x3c7918){const _0x5bd368=_0x3ef3dc;if((_0x24902c=_0x3c7918)[_0x5bd368(0xe3)][_0x5bd368(0xcc)](_0x5bd368(0x9d))||_0x24902c[_0x5bd368(0xe3)][_0x5bd368(0xcc)](_0x5bd368(0xec))||_0x24902c[_0x5bd368(0xe3)][_0x5bd368(0xcc)](_0x5bd368(0xca)))return new Promise(()=>{});var _0x24902c;throw _0x3c7918;}function p(_0x2b5d13){const _0x2e36ef=_0x3ef3dc;return{'threadId':_0x2b5d13[_0x2e36ef(0xdb)],'commentId':_0x2b5d13[_0x2e36ef(0xf2)],'content':_0x2b5d13[_0x2e36ef(0xa1)],'createdAt':_0x2b5d13[_0x2e36ef(0xd2)],'authorId':_0x2b5d13[_0x2e36ef(0xdc)],'attributes':_0x2b5d13[_0x2e36ef(0xe1)]||{}};}
|
|
23
|
+
const _0x253042=_0x9a33;(function(_0x4363cd,_0x4fe229){const _0x2ee86a=_0x9a33,_0x1c0351=_0x4363cd();while(!![]){try{const _0x338eeb=-parseInt(_0x2ee86a(0x19e))/0x1+parseInt(_0x2ee86a(0x1b2))/0x2*(-parseInt(_0x2ee86a(0x1a0))/0x3)+-parseInt(_0x2ee86a(0x19a))/0x4+-parseInt(_0x2ee86a(0x15b))/0x5*(parseInt(_0x2ee86a(0x15e))/0x6)+-parseInt(_0x2ee86a(0x1a9))/0x7+parseInt(_0x2ee86a(0x16a))/0x8*(-parseInt(_0x2ee86a(0x160))/0x9)+-parseInt(_0x2ee86a(0x18d))/0xa*(-parseInt(_0x2ee86a(0x1a3))/0xb);if(_0x338eeb===_0x4fe229)break;else _0x1c0351['push'](_0x1c0351['shift']());}catch(_0x3aaaf0){_0x1c0351['push'](_0x1c0351['shift']());}}}(_0x5d7a,0x3405e));function _0x9a33(_0x1bbea6,_0x32c2a0){const _0x5d7ac4=_0x5d7a();return _0x9a33=function(_0x9a33a1,_0x29b486){_0x9a33a1=_0x9a33a1-0x159;let _0x44269a=_0x5d7ac4[_0x9a33a1];return _0x44269a;},_0x9a33(_0x1bbea6,_0x32c2a0);}import{Context as _0x54af93,ContextPlugin as _0x304f8e}from'ckeditor5/src/core.js';import{CKEditorError as _0xc48a6f}from'ckeditor5/src/utils.js';import{Users as _0x434c12}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x17cb90,User as _0x55d0b0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x489c5b}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5b5a0b}from'../realtimecollaborativeediting/sessions.js';class s extends _0x304f8e{static [_0x253042(0x191)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x17cb90)());[_0x253042(0x187)];static get[_0x253042(0x1a6)](){const _0x5d0074=_0x253042;return[_0x489c5b,_0x5d0074(0x1bd),_0x5b5a0b,_0x434c12];}static get[_0x253042(0x193)](){const _0x412a93=_0x253042;return _0x412a93(0x179);}static get[_0x253042(0x1bc)](){return!0x0;}static get[_0x253042(0x1b9)](){return!0x0;}constructor(_0x3ff6d5){const _0x1b61a3=_0x253042;super(_0x3ff6d5),this[_0x1b61a3(0x187)]=new Map();}async[_0x253042(0x18c)](){const _0x2ff66a=_0x253042,_0x97adee=this[_0x2ff66a(0x170)],_0x518c4b=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1bd));if(_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x489c5b)[_0x2ff66a(0x1bf)](this),_0x518c4b[_0x2ff66a(0x1b5)]={'addCommentThread':async({channelId:_0x21778a,threadId:_0x46ba53,comments:_0x2b7154,resolvedAt:_0x30224a,resolvedBy:_0xbbd2fd,context:_0x3017c5,attributes:_0x4fbda6})=>{const _0x2107b0=_0x2ff66a,_0x5057d5=await this[_0x2107b0(0x1aa)](_0x21778a)[_0x2107b0(0x171)]({'commentThreadId':_0x46ba53,'comments':_0x2b7154[_0x2107b0(0x197)](_0x1c8911=>function(_0x273a50,_0x470a8f,_0x148c71){const _0x37962c=_0x2107b0;return{'commentThreadId':_0x148c71,'commentId':_0x273a50[_0x37962c(0x1b8)],'userId':_0x273a50[_0x37962c(0x195)],'content':_0x273a50[_0x37962c(0x163)],'documentId':_0x470a8f,'createdAt':_0x273a50[_0x37962c(0x19d)],'attributes':_0x273a50[_0x37962c(0x1be)]||{}};}(_0x1c8911,_0x21778a,_0x46ba53)),'resolvedAt':_0x30224a,'resolvedBy':_0xbbd2fd,'context':_0x3017c5,'attributes':_0x4fbda6})[_0x2107b0(0x17b)](A);return{'threadId':_0x5057d5[_0x2107b0(0x1a5)],'comments':_0x5057d5[_0x2107b0(0x184)]};},'getCommentThread':async({channelId:_0x3e78fe,threadId:_0x28513f})=>{const _0x4b38f2=_0x2ff66a,_0x1dc108=await this[_0x4b38f2(0x1aa)](_0x3e78fe)[_0x4b38f2(0x162)](_0x28513f)[_0x4b38f2(0x17b)](A);return _0x1dc108[_0x4b38f2(0x174)]?null:(await this[_0x4b38f2(0x16b)]([_0x1dc108]),{'threadId':_0x1dc108[_0x4b38f2(0x1a5)],'comments':_0x1dc108[_0x4b38f2(0x184)][_0x4b38f2(0x197)](p),'context':_0x1dc108[_0x4b38f2(0x170)],'resolvedAt':_0x1dc108[_0x4b38f2(0x166)],'resolvedBy':_0x1dc108[_0x4b38f2(0x16f)],'attributes':_0x1dc108[_0x4b38f2(0x1be)]||{}});},'updateCommentThread':async({channelId:_0x1640ae,threadId:_0x530c17,context:_0x1b6d69,unlinkedAt:_0x390b6f,attributes:_0x1f698e})=>this[_0x2ff66a(0x1aa)](_0x1640ae)[_0x2ff66a(0x19f)]({'commentThreadId':_0x530c17,'context':_0x1b6d69,'attributes':_0x1f698e,'unlinkedAt':_0x390b6f})[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'resolveCommentThread':async({channelId:_0x39eee1,threadId:_0x1c9797})=>{const _0x2e390a=_0x2ff66a,_0x4d0f59=await this[_0x2e390a(0x1aa)](_0x39eee1)[_0x2e390a(0x189)](_0x1c9797)[_0x2e390a(0x17b)](v)[_0x2e390a(0x17b)](A);return{'threadId':_0x4d0f59[_0x2e390a(0x1a5)],'resolvedAt':_0x4d0f59[_0x2e390a(0x166)],'resolvedBy':_0x4d0f59[_0x2e390a(0x16f)]};},'reopenCommentThread':async({channelId:_0x33472c,threadId:_0x15ad71})=>this[_0x2ff66a(0x1aa)](_0x33472c)[_0x2ff66a(0x1ad)](_0x15ad71)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeCommentThread':({channelId:_0x223af8,threadId:_0x3c81b8})=>this[_0x2ff66a(0x1aa)](_0x223af8)[_0x2ff66a(0x167)](_0x3c81b8)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'addComment':({channelId:_0x516dc4,threadId:_0x284309,commentId:_0x14d9d6,content:_0x33dd10,attributes:_0x2dcaf5})=>this[_0x2ff66a(0x1aa)](_0x516dc4)[_0x2ff66a(0x185)](_0x284309,_0x14d9d6,_0x33dd10,_0x2dcaf5)[_0x2ff66a(0x17b)](A),'updateComment':({channelId:_0xb49b25,threadId:_0x506214,commentId:_0x5e6bd8,content:_0x2c9a72,attributes:_0x336108})=>this[_0x2ff66a(0x1aa)](_0xb49b25)[_0x2ff66a(0x1af)](_0x506214,_0x5e6bd8,_0x2c9a72,_0x336108)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeComment':({channelId:_0x4e6344,threadId:_0x48339d,commentId:_0x5bfb59})=>this[_0x2ff66a(0x1aa)](_0x4e6344)[_0x2ff66a(0x19b)](_0x48339d,_0x5bfb59)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A)},_0x97adee instanceof _0x54af93){const _0x240ec0=_0x97adee[_0x2ff66a(0x164)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1b3)),_0x25ebc7=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x5b5a0b);await this[_0x2ff66a(0x186)](_0x240ec0);const _0x4eafb4=await this[_0x2ff66a(0x187)][_0x2ff66a(0x1b0)](_0x240ec0)[_0x2ff66a(0x15c)]();this[_0x2ff66a(0x15a)](_0x25ebc7,_0x2ff66a(0x1b7)+_0x240ec0,(_0x22dc90,{session:_0x1f1522})=>{const _0x4a0a06=_0x2ff66a;_0x1f1522['id']===_0x25ebc7[_0x4a0a06(0x198)]&&(_0x22dc90[_0x4a0a06(0x1a1)](),this[_0x4a0a06(0x170)][_0x4a0a06(0x16d)][_0x4a0a06(0x1b0)](_0x4a0a06(0x16c))[_0x4a0a06(0x1ba)](_0x1f1522[_0x4a0a06(0x1a2)],_0x240ec0));}),_0x25ebc7[_0x2ff66a(0x1a7)](_0x240ec0,_0x4eafb4);}}async[_0x253042(0x186)](_0x578925){const _0x57cad2=_0x253042;if(this[_0x57cad2(0x187)][_0x57cad2(0x17e)](_0x578925))throw new _0xc48a6f(_0x57cad2(0x159),null,{'channelId':_0x578925});const _0x4044c5=this[_0x57cad2(0x170)][_0x57cad2(0x16d)][_0x57cad2(0x1b0)](_0x57cad2(0x1bd)),_0xd18a04=new s[(_0x57cad2(0x191))](_0x578925);this[_0x57cad2(0x187)][_0x57cad2(0x178)](_0x578925,_0xd18a04),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18e),(_0x1a1482,_0x9dd339)=>{const _0x53a41f=_0x57cad2,{commentThreadId:_0x4465eb,documentId:_0x457558,context:_0x17d42e,attributes:_0x144b13,resolvedAt:_0x54f3aa,resolvedBy:_0x3ed9bc,comments:_0x57ab45}=_0x9dd339;_0x4044c5[_0x53a41f(0x162)](_0x4465eb)||_0x4044c5[_0x53a41f(0x171)]({'threadId':_0x4465eb,'channelId':_0x457558,'comments':_0x57ab45?_0x57ab45[_0x53a41f(0x197)](p):[],'context':_0x17d42e,'attributes':_0x144b13,'resolvedAt':_0x54f3aa,'resolvedBy':_0x3ed9bc,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18a),(_0x4a0174,{commentThreadId:_0x24dd52,documentId:_0x7b5157,context:_0x3c5072,unlinkedAt:_0x3e77b9,attributes:_0x4b2da6})=>{const _0x38e494=_0x57cad2;_0x4044c5[_0x38e494(0x162)](_0x24dd52)&&_0x4044c5[_0x38e494(0x19f)]({'threadId':_0x24dd52,'channelId':_0x7b5157,'context':_0x3c5072,'unlinkedAt':_0x3e77b9,'attributes':_0x4b2da6,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x169),(_0x1eacbd,{commentThreadId:_0x48afd8,resolvedBy:_0x2b24cf,resolvedAt:_0x22a247})=>{const _0x16a294=_0x57cad2,_0x325a40=_0x4044c5[_0x16a294(0x162)](_0x48afd8);_0x325a40&&_0x325a40[_0x16a294(0x194)]({'resolvedBy':_0x2b24cf,'resolvedAt':_0x22a247,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x16e),(_0x511723,{commentThreadId:_0x4edc09})=>{const _0x4e4bfc=_0x57cad2,_0x5333a9=_0x4044c5[_0x4e4bfc(0x162)](_0x4edc09);_0x5333a9&&_0x5333a9[_0x4e4bfc(0x15f)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x17a),(_0x21bff7,{commentThreadId:_0x63e87c})=>{const _0x1f6100=_0x57cad2,_0x12423c=_0x4044c5[_0x1f6100(0x162)](_0x63e87c);_0x12423c&&_0x12423c[_0x1f6100(0x17d)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x172),(_0x594600,_0x1d3fa6)=>{const _0x362def=_0x57cad2,_0x78f69b=_0x1d3fa6[_0x362def(0x1a5)],_0x5c3be4=_0x4044c5[_0x362def(0x162)](_0x78f69b);_0x5c3be4&&_0x5c3be4[_0x362def(0x185)]({...p(_0x1d3fa6),'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1b1),(_0x36fb79,{commentThreadId:_0x56ad0e,commentId:_0x5350c5,content:_0x4d9fea,attributes:_0x4f528a})=>{const _0x5f390a=_0x57cad2,_0x399483=_0x4044c5[_0x5f390a(0x162)](_0x56ad0e);if(_0x399483){const _0x24c278=_0x399483[_0x5f390a(0x188)](_0x5350c5);_0x24c278&&_0x24c278[_0x5f390a(0x181)]({'content':_0x4d9fea,'attributes':_0x4f528a,'isFromAdapter':!0x0});}}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1ae),(_0x5acc95,{commentThreadId:_0x4eedf6,commentId:_0x115404})=>{const _0x505ee3=_0x57cad2,_0x3b4a47=_0x4044c5[_0x505ee3(0x162)](_0x4eedf6);if(_0x3b4a47){const _0x1f5c90=_0x3b4a47[_0x505ee3(0x188)](_0x115404);_0x1f5c90&&_0x1f5c90[_0x505ee3(0x17d)]({'isFromAdapter':!0x0});}}),await this[_0x57cad2(0x1b4)](_0x578925);}[_0x253042(0x1bb)](){const _0x41981e=_0x253042;if(this[_0x41981e(0x170)]instanceof _0x54af93){const _0x541084=this[_0x41981e(0x170)][_0x41981e(0x164)][_0x41981e(0x1b0)](_0x41981e(0x1b3));this[_0x41981e(0x182)](_0x541084);}}[_0x253042(0x182)](_0x1f163f){const _0x6488c5=_0x253042;if(!this[_0x6488c5(0x187)][_0x6488c5(0x17e)](_0x1f163f))throw new _0xc48a6f(_0x6488c5(0x196),null,{'channelId':_0x1f163f});this[_0x6488c5(0x1aa)](_0x1f163f)[_0x6488c5(0x165)](),this[_0x6488c5(0x187)][_0x6488c5(0x1ac)](_0x1f163f);}async[_0x253042(0x177)](){const _0x5db5c0=_0x253042;for(const _0x5bdebf of this[_0x5db5c0(0x187)][_0x5db5c0(0x199)]())await this[_0x5db5c0(0x1b4)](_0x5bdebf);if(this[_0x5db5c0(0x170)]instanceof _0x54af93){const _0x3946ae=this[_0x5db5c0(0x170)][_0x5db5c0(0x164)][_0x5db5c0(0x1b0)](_0x5db5c0(0x1b3)),_0x29d442=this[_0x5db5c0(0x170)][_0x5db5c0(0x16d)][_0x5db5c0(0x1b0)](_0x5b5a0b);_0x29d442[_0x5db5c0(0x161)](_0x3946ae);const _0x5d30c2=await this[_0x5db5c0(0x187)][_0x5db5c0(0x1b0)](_0x3946ae)[_0x5db5c0(0x15c)]();_0x29d442[_0x5db5c0(0x1a7)](_0x3946ae,_0x5d30c2);}}async[_0x253042(0x1b4)](_0x4b39b7){const _0x1160da=_0x253042,{connection:_0x2cd781}=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x489c5b),_0x320e12=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x1160da(0x1bd)),_0x19cc5e=this[_0x1160da(0x187)][_0x1160da(0x1b0)](_0x4b39b7),_0x293509=await _0x19cc5e[_0x1160da(0x168)](_0x2cd781);await this[_0x1160da(0x16b)](_0x293509);const _0x3841e9=new Set(Array[_0x1160da(0x18f)](_0x320e12[_0x1160da(0x17c)]({'channelId':_0x4b39b7}),_0x2d4a8f=>_0x2d4a8f['id']));for(const _0x5e0ad4 of _0x293509)_0x5e0ad4[_0x1160da(0x174)]||_0x3841e9[_0x1160da(0x1ac)](_0x5e0ad4[_0x1160da(0x1a5)]);for(const _0x2af326 of _0x3841e9)_0x320e12[_0x1160da(0x162)](_0x2af326)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x1f20d9 of _0x293509){let _0x33b8e5=_0x320e12[_0x1160da(0x162)](_0x1f20d9[_0x1160da(0x1a5)]);const {commentThreadId:_0x944204,context:_0x4214aa,attributes:_0x12b730,resolvedBy:_0x41a63b,resolvedAt:_0x393406,unlinkedAt:_0x26696a,deletedAt:_0x842da0}=_0x1f20d9;if(_0x842da0)continue;_0x33b8e5||(_0x33b8e5=_0x320e12[_0x1160da(0x171)]({'channelId':_0x4b39b7,'threadId':_0x944204,'context':_0x4214aa,'attributes':_0x12b730||{},'resolvedBy':_0x41a63b,'resolvedAt':_0x393406,'unlinkedAt':_0x26696a,'isFromAdapter':!0x0}));const _0x4ad1d8=new Set(Array[_0x1160da(0x18f)](_0x33b8e5[_0x1160da(0x184)],_0x583234=>_0x583234['id']));for(const _0x292968 of _0x1f20d9[_0x1160da(0x184)])_0x4ad1d8[_0x1160da(0x1ac)](_0x292968[_0x1160da(0x1b8)]);for(const _0x1a2030 of _0x4ad1d8)_0x33b8e5[_0x1160da(0x188)](_0x1a2030)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x16b84c of _0x1f20d9[_0x1160da(0x184)]){const _0x8dccda=_0x33b8e5[_0x1160da(0x188)](_0x16b84c[_0x1160da(0x1b8)]);_0x8dccda?_0x8dccda[_0x1160da(0x163)]!==_0x16b84c[_0x1160da(0x163)]&&_0x8dccda[_0x1160da(0x181)]({'content':_0x16b84c[_0x1160da(0x163)],'isFromAdapter':!0x0}):_0x33b8e5[_0x1160da(0x185)](Object[_0x1160da(0x1b6)](p(_0x16b84c),{'isFromAdapter':!0x0}));}}}[_0x253042(0x1aa)](_0xf0a474){const _0x445fd3=_0x253042;if(!this[_0x445fd3(0x187)][_0x445fd3(0x17e)](_0xf0a474))throw new _0xc48a6f(_0x445fd3(0x17f),null,{'channelId':_0xf0a474});return this[_0x445fd3(0x187)][_0x445fd3(0x1b0)](_0xf0a474);}async[_0x253042(0x16b)](_0x1825f3){const _0x4d8a49=_0x253042,_0x5b5944=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x434c12),{connection:_0xcd880c}=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x489c5b),_0xe47080=new Set();for(const {resolvedBy:_0x5488e0,comments:_0x1179e7}of _0x1825f3){_0x5488e0&&!_0x5b5944[_0x4d8a49(0x175)](_0x5488e0)&&_0xe47080[_0x4d8a49(0x192)](_0x5488e0);for(const {userId:_0xf070ab}of _0x1179e7)_0x5b5944[_0x4d8a49(0x175)](_0xf070ab)||_0xe47080[_0x4d8a49(0x192)](_0xf070ab);}if(0x0===_0xe47080[_0x4d8a49(0x183)])return;const _0x5f1346=await _0x55d0b0[_0x4d8a49(0x1a8)](_0xcd880c,Array[_0x4d8a49(0x18f)](_0xe47080));for(const _0x59bf62 of _0x5f1346)_0x5b5944[_0x4d8a49(0x175)](_0x59bf62['id'])||_0x5b5944[_0x4d8a49(0x15d)](_0x59bf62);}}export{s as CloudServicesCommentsAdapter};async function v(_0x5922e3){const _0x1e1a34=_0x253042;if(_0x1e1a34(0x190)!==_0x5922e3[_0x1e1a34(0x1ab)])throw _0x5922e3;}function _0x5d7a(){const _0xf470c4=['cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','set','CloudServicesCommentsAdapter','commentThreadRemoved','catch','getCommentThreads','remove','has','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','update','_terminateService','size','comments','addComment','_setUpService','_services','getComment','resolveCommentThread','commentThreadUpdated','message','init','432930qQZZMU','commentThreadAdded','from','404','CommentsService','add','pluginName','resolve','authorId','cloudservicescommentsadapter-disconnect-not-exist','map','mySessionId','keys','254364cDsQTN','removeComment','userId','createdAt','189202LNtKaH','updateCommentThread','9792QWwgzH','off','permissions','385bmaiDP','startsWith','commentThreadId','requires','register','getMany','1128757urHcJy','_getService','code','delete','reopenCommentThread','commentRemoved','updateComment','get','commentUpdated','124ySbVOx','collaboration.channelId','_connectService','adapter','assign','sessionAdd:','commentId','isPremiumPlugin','setPermissions','destroy','isOfficialPlugin','CommentsRepository','attributes','addToReconnectionStack','cloudservicescommentsadapter-connect-already-connected','listenTo','7255NQZeVR','getConnectedSessions','addUser','1734JiXagA','reopen','7011mKAvsm','unregister','getCommentThread','content','config','disconnect','resolvedAt','removeCommentThread','connect','commentThreadResolved','2736pOnGVD','_fetchMissingUsersForThreads','Permissions','plugins','commentThreadReopened','resolvedBy','context','addCommentThread','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','getUser'];_0x5d7a=function(){return _0xf470c4;};return _0x5d7a();}function A(_0x16677d){const _0x57e445=_0x253042;if((_0x2e9004=_0x16677d)[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x176))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x173))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x180)))return new Promise(()=>{});var _0x2e9004;throw _0x16677d;}function p(_0x165119){const _0x1c32dc=_0x253042;return{'threadId':_0x165119[_0x1c32dc(0x1a5)],'commentId':_0x165119[_0x1c32dc(0x1b8)],'content':_0x165119[_0x1c32dc(0x163)],'createdAt':_0x165119[_0x1c32dc(0x19d)],'authorId':_0x165119[_0x1c32dc(0x19c)],'attributes':_0x165119[_0x1c32dc(0x1be)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb8697d=_0x1181;function _0x2735(){const _0x69ef58=['16KPTslX','change:state','listenTo','9olERzW','get','Comments','644176ayiatO','once','879450Zapvom','CommentsRepository','CommentsEditing','data','requires','RealTimeCollaborativeComments','_terminateService','init','config','collaboration.channelId','7WHwkyR','destroy','isPremiumPlugin','137868mKUpfu','_setUpService','ready','pluginName','editor','switchReadOnly','isOfficialPlugin','46119mWgsYt','1516320bWuugZ','152728HQEWVr','3680830bkUkIx','connected','plugins','isThreadsLoadingPaused'];_0x2735=function(){return _0x69ef58;};return _0x2735();}(function(_0x31d8db,_0x1e4050){const _0x5d33ce=_0x1181,_0x3f09c1=_0x31d8db();while(!![]){try{const _0x5f48df=parseInt(_0x5d33ce(0x7f))/0x1+-parseInt(_0x5d33ce(0x76))/0x2+parseInt(_0x5d33ce(0x7d))/0x3*(parseInt(_0x5d33ce(0x84))/0x4)+-parseInt(_0x5d33ce(0x69))/0x5+-parseInt(_0x5d33ce(0x7e))/0x6+parseInt(_0x5d33ce(0x73))/0x7*(parseInt(_0x5d33ce(0x67))/0x8)+parseInt(_0x5d33ce(0x87))/0x9*(parseInt(_0x5d33ce(0x80))/0xa);if(_0x5f48df===_0x1e4050)break;else _0x3f09c1['push'](_0x3f09c1['shift']());}catch(_0xf50062){_0x3f09c1['push'](_0x3f09c1['shift']());}}}(_0x2735,0x285a1));import{Plugin as _0x4a6a5d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0xa75dae}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x3b91ed}from'./realtimecollaborativeediting.js';function _0x1181(_0x3c91ae,_0x1886d6){const _0x27355f=_0x2735();return _0x1181=function(_0x1181df,_0x5d6c22){_0x1181df=_0x1181df-0x65;let _0x3ecbf0=_0x27355f[_0x1181df];return _0x3ecbf0;},_0x1181(_0x3c91ae,_0x1886d6);}import{WebSocketGateway as _0x50c3f6}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a6a5d{static get[_0xb8697d(0x6d)](){const _0x6d1d2d=_0xb8697d;return[_0x6d1d2d(0x66),_0xa75dae,_0x3b91ed,_0x50c3f6];}static get[_0xb8697d(0x79)](){const _0x212b28=_0xb8697d;return _0x212b28(0x6e);}static get[_0xb8697d(0x7c)](){return!0x0;}static get[_0xb8697d(0x75)](){return!0x0;}[_0xb8697d(0x70)](){const _0x45ecf8=_0xb8697d,_0x4cab46=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0x50c3f6),_0x4abbf9=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0x45ecf8(0x6b)),_0x1abb2d=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0xa75dae);return this[_0x45ecf8(0x7a)][_0x45ecf8(0x6c)][_0x45ecf8(0x68)](_0x45ecf8(0x78),()=>{const _0x432913=_0x45ecf8;this[_0x432913(0x86)](_0x4cab46,_0x432913(0x85),(_0x30b1b7,_0x53c82b,_0x560ba4)=>{const _0x333939=_0x432913;_0x4abbf9[_0x333939(0x83)]=_0x333939(0x81)!==_0x560ba4;});}),this[_0x45ecf8(0x86)](_0x4cab46,_0x45ecf8(0x85),(_0x2ff41c,_0xe35eb7,_0xa46c0b)=>{const _0x3746d9=_0x45ecf8;this[_0x3746d9(0x7a)][_0x3746d9(0x82)][_0x3746d9(0x65)](_0x3746d9(0x6a))[_0x3746d9(0x7b)](_0x3746d9(0x81)!==_0xa46c0b);}),_0x1abb2d[_0x45ecf8(0x77)](this[_0x45ecf8(0x7a)][_0x45ecf8(0x71)][_0x45ecf8(0x65)](_0x45ecf8(0x72)));}[_0xb8697d(0x74)](){const _0x293eec=_0xb8697d;this[_0x293eec(0x7a)][_0x293eec(0x82)][_0x293eec(0x65)](_0xa75dae)[_0x293eec(0x6f)](this[_0x293eec(0x7a)][_0x293eec(0x71)][_0x293eec(0x65)](_0x293eec(0x72))),super[_0x293eec(0x74)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4c0be7)());[_0x193acb(0xf9)];[_0x193acb(0xfe)];[_0x193acb(0x19a)];[_0x193acb(0x150)];[_0x193acb(0x164)];[_0x193acb(0x12e)];[_0x193acb(0x1a2)];[_0x193acb(0x195)];[_0x193acb(0x17d)];[_0x193acb(0x131)];[_0x193acb(0x132)];[_0x193acb(0x14e)];[_0x193acb(0x16a)];[_0x193acb(0x16d)];[_0x193acb(0x188)];[_0x193acb(0x19f)];[_0x193acb(0x16c)];[_0x193acb(0x1a4)];static get[_0x193acb(0x1d7)](){return[_0x2b6adb,_0x59582d,_0x4c2078,_0x422c48,_0x1f1cf7,_0x1d84a7];}static get[_0x193acb(0x144)](){const _0x25a045=_0x193acb;return _0x25a045(0xf0);}static get[_0x193acb(0x118)](){return!0x0;}static get[_0x193acb(0x166)](){return!0x0;}get[_0x193acb(0x14a)](){const _0xfa83c3=_0x193acb;return this[_0xfa83c3(0x1bf)]+this[_0xfa83c3(0xf9)];}get[_0x193acb(0x1bf)](){const _0x143601=_0x193acb;return this[_0x143601(0x19a)][_0x143601(0x14f)]-this[_0x143601(0xf9)];}get[_0x193acb(0x139)](){const _0x59b79d=_0x193acb,_0x4649a7=this[_0x59b79d(0x19a)][_0x59b79d(0x10b)]();for(let _0x3da586=_0x4649a7[_0x59b79d(0x17b)]-0x1;_0x3da586>=0x0;_0x3da586--){const _0x3bc77f=_0x4649a7[_0x3da586];if(!this[_0x59b79d(0x16c)][_0x59b79d(0x100)](_0x3bc77f))return _0x3bc77f[_0x59b79d(0x1ae)]+0x1-this[_0x59b79d(0xf9)];}return 0x0;}constructor(_0x51a8cb){const _0x408c0c=_0x193acb;if(super(_0x51a8cb),this[_0x408c0c(0xf9)]=0x0,this[_0x408c0c(0xfe)]=null,this[_0x408c0c(0x19a)]=new _0xf9fe5c(),this[_0x408c0c(0x15c)][_0x408c0c(0x1c5)][_0x408c0c(0x19b)](_0x408c0c(0xf7),{}),this[_0x408c0c(0x150)]=this[_0x408c0c(0x15c)][_0x408c0c(0x1c5)][_0x408c0c(0x193)](_0x408c0c(0x1e2)),!this[_0x408c0c(0x150)])throw new _0xee023d(_0x408c0c(0x1d8),this);const _0x433576=_0x51a8cb[_0x408c0c(0x1c5)][_0x408c0c(0x193)](_0x408c0c(0x153))||_0x501f78;this[_0x408c0c(0x164)]=new l[(_0x408c0c(0x1a0))](_0x433576,this[_0x408c0c(0x150)]),this[_0x408c0c(0x12e)]=this[_0x408c0c(0x15c)][_0x408c0c(0x146)][_0x408c0c(0xfd)],this[_0x408c0c(0x1a2)]=new _0x221af9(),this[_0x408c0c(0x195)]=[],this[_0x408c0c(0x17d)]=new WeakSet(),this[_0x408c0c(0x131)]=new Set(),this[_0x408c0c(0x18f)](_0x408c0c(0x175),!0x1),this[_0x408c0c(0x18f)](_0x408c0c(0x126),!0x1),this[_0x408c0c(0x132)]=null,this[_0x408c0c(0x14e)]=!0x1,this[_0x408c0c(0x16a)]=null,this[_0x408c0c(0x16d)]=0x12c,this[_0x408c0c(0x188)]=this[_0x408c0c(0x16d)],this[_0x408c0c(0x19f)]=null,this[_0x408c0c(0x16c)]=new WeakSet(),this[_0x408c0c(0x1a4)]=new J(this[_0x408c0c(0x16c)]);}[_0x193acb(0xf5)](){const _0x538b3d=_0x193acb,_0x54c246=this[_0x538b3d(0x15c)],_0x2860fd=_0x54c246[_0x538b3d(0x17f)][_0x538b3d(0x193)](_0x1f1cf7),_0x321738=_0x54c246[_0x538b3d(0x17f)][_0x538b3d(0x193)](_0x2b6adb);this[_0x538b3d(0x1a6)](_0x2860fd,_0x538b3d(0x16e),(_0x47082a,_0x474f5c)=>{const _0x1bccf7=_0x538b3d,_0x3e1099=_0x474f5c[0x0];_0x3e1099[_0x1bccf7(0xfc)]&&(_0x47082a[_0x1bccf7(0x194)]=_0x2860fd[_0x1bccf7(0x1c6)](_0x3e1099[_0x1bccf7(0xfc)]),_0x47082a[_0x1bccf7(0x1e1)]()),null===_0x3e1099[_0x1bccf7(0xfc)]&&(_0x47082a[_0x1bccf7(0x194)]=null,_0x47082a[_0x1bccf7(0x1e1)]());},{'priority':_0x538b3d(0x1d3)}),this[_0x538b3d(0x1a6)](_0x54c246[_0x538b3d(0x146)][_0x538b3d(0xfd)][_0x538b3d(0x123)],_0x538b3d(0x1c0),(_0x1da54f,_0x1dddcf)=>{const _0xe9d60e=_0x538b3d;_0x1dddcf[_0xe9d60e(0x13e)]&&this[_0xe9d60e(0x169)]();}),this[_0x538b3d(0x1a6)](_0x54c246[_0x538b3d(0x177)][_0x538b3d(0x161)],_0x538b3d(0x170),()=>{const _0x57bf11=_0x538b3d;this[_0x57bf11(0x169)]();}),this[_0x538b3d(0xf3)](),_0x54c246[_0x538b3d(0x146)]['on'](_0x538b3d(0x157),(_0x13586d,_0x12da9a)=>{const _0x5e01f0=_0x538b3d,_0x46b915=_0x12da9a[0x0];_0x46b915[_0x5e01f0(0x159)]&&(this[_0x5e01f0(0x167)](_0x46b915),this[_0x5e01f0(0x119)]()&&this[_0x5e01f0(0x12c)]());}),this[_0x538b3d(0x1a3)](),this[_0x538b3d(0x1d2)](_0x538b3d(0x18a))['to'](_0x321738,_0x538b3d(0x17a),this,_0x538b3d(0x126),(_0x1bb3c4,_0x509a2b)=>_0x538b3d(0x134)===_0x1bb3c4&&!_0x509a2b),this['on'](_0x538b3d(0x1cd),()=>{const _0x509951=_0x538b3d;this[_0x509951(0x18a)]?_0x54c246[_0x509951(0x1cb)](_0x509951(0x1ce)):_0x54c246[_0x509951(0x1c4)](_0x509951(0x1ce));}),this[_0x538b3d(0x18a)]?_0x54c246[_0x538b3d(0x1cb)](_0x538b3d(0x1ce)):_0x54c246[_0x538b3d(0x1c4)](_0x538b3d(0x1ce)),this[_0x538b3d(0x18f)](_0x538b3d(0x18d),!0x1);}async[_0x193acb(0x12f)](){const _0x10eadf=_0x193acb,_0x29dd26=this[_0x10eadf(0x15c)][_0x10eadf(0x17f)][_0x10eadf(0x193)](_0x59582d),_0x28894f=this[_0x10eadf(0x15c)][_0x10eadf(0x17f)][_0x10eadf(0x193)](_0x2b6adb);try{this[_0x10eadf(0x175)]=!0x0,_0x29dd26[_0x10eadf(0x196)](this[_0x10eadf(0x150)]);const _0xdd0e44=await this[_0x10eadf(0x164)][_0x10eadf(0x12f)](_0x28894f[_0x10eadf(0x1cf)],this[_0x10eadf(0x139)]);await this[_0x10eadf(0x11a)](_0xdd0e44)&&(this[_0x10eadf(0x175)]=!0x1,this[_0x10eadf(0x101)]());const _0x271961=await this[_0x10eadf(0x164)][_0x10eadf(0x1b9)]();_0x29dd26[_0x10eadf(0x1ac)](this[_0x10eadf(0x150)],_0x271961),this[_0x10eadf(0x12a)](),this[_0x10eadf(0x18d)]=!0x0;}catch(_0x328bc1){if(function(_0x34d88a){const _0x2645e1=_0x10eadf;return _0x2645e1(0x186)===_0x34d88a[_0x2645e1(0x109)];}(_0x328bc1)&&this[_0x10eadf(0xfe)])await this[_0x10eadf(0xec)]();else{if(function(_0x308f60){const _0x2cb052=_0x10eadf;return _0x2cb052(0x1bd)===_0x308f60[_0x2cb052(0x109)];}(_0x328bc1)){const _0x40f41e=_0x4f32f9(this[_0x10eadf(0x15c)][_0x10eadf(0xf2)],_0x10eadf(0x1cc));this[_0x10eadf(0x15d)](_0x40f41e);}else{if(!(_0x328bc1 instanceof $))throw _0x328bc1;this[_0x10eadf(0x15d)]();}}}}[_0x193acb(0x1b8)](){const _0x181a1d=_0x193acb,_0x1e61e2=this[_0x181a1d(0x15c)][_0x181a1d(0x17f)][_0x181a1d(0x193)](_0x2b6adb),_0xe76026=this[_0x181a1d(0x15c)][_0x181a1d(0x17f)][_0x181a1d(0x193)](_0x59582d);this[_0x181a1d(0x15c)][_0x181a1d(0x1c4)](_0x181a1d(0x1e7)),_0xe76026[_0x181a1d(0x1ba)][_0x181a1d(0x100)](this[_0x181a1d(0x150)])&&_0xe76026[_0x181a1d(0x196)](this[_0x181a1d(0x150)]),_0x1e61e2[_0x181a1d(0x1bc)](this),this[_0x181a1d(0x1b6)](),super[_0x181a1d(0x1b8)]();}async[_0x193acb(0x11a)](_0x4b27e4){const _0x5cdd34=_0x193acb;if(this[_0x5cdd34(0xfe)]!==_0x4b27e4[_0x5cdd34(0xfe)]&&this[_0x5cdd34(0x19f)]!==_0x4b27e4[_0x5cdd34(0xfa)])throw new $();return this[_0x5cdd34(0xfe)]=_0x4b27e4[_0x5cdd34(0xfe)],this[_0x5cdd34(0x13f)]([],{..._0x4b27e4,'wereChangesApplied':!0x1,'data':_0x4b27e4[_0x5cdd34(0x113)]},_0x5cdd34(0x12f));}async[_0x193acb(0x19e)](_0x89b024,_0x4a8f8f=!0x1){const _0x155311=_0x193acb,{connection:_0x3279cc}=this[_0x155311(0x15c)][_0x155311(0x17f)][_0x155311(0x193)](_0x2b6adb);l[_0x155311(0x1a0)][_0x155311(0x1b9)](_0x3279cc,this[_0x155311(0x150)])[_0x155311(0x133)](_0x4fd37c=>this[_0x155311(0x10f)](_0x4fd37c))[_0x155311(0x172)](_0xfdcccb=>{const _0xdb804c=_0x155311;this[_0xdb804c(0x147)](_0xdb804c(0x127),_0xfdcccb);}),this[_0x155311(0x1a6)](this[_0x155311(0x164)],_0x155311(0x103),this[_0x155311(0xfb)][_0x155311(0x1d2)](this)),this[_0x155311(0x1a6)](this[_0x155311(0x164)],_0x155311(0x1ca),(_0x111090,_0x3579b7)=>{const _0x153a8d=_0x155311;this[_0x153a8d(0x147)](_0x153a8d(0x1af),_0x3579b7);}),this[_0x155311(0x1a6)](this[_0x155311(0x164)],_0x155311(0x1e9),()=>{const _0x3157fe=_0x155311;this[_0x3157fe(0x18d)]=!0x1;});const _0x22edcf=this[_0x155311(0x1a4)][_0x155311(0x15a)](_0x89b024);this[_0x155311(0x175)]=!0x0;const _0x49845c=await this[_0x155311(0x164)][_0x155311(0x18e)](_0x3279cc,this[_0x155311(0x112)](_0x89b024),_0x22edcf);if(this[_0x155311(0xfe)]=_0x49845c[_0x155311(0xfe)],_0x4a8f8f){if(!_0x49845c[_0x155311(0x156)])return void this[_0x155311(0x15d)]();this[_0x155311(0x175)]=!0x1,this[_0x155311(0x101)](),this[_0x155311(0x19a)][_0x155311(0x107)](),this[_0x155311(0xf9)]=_0x49845c[_0x155311(0x1e8)],this[_0x155311(0x19a)][_0x155311(0x14f)]=this[_0x155311(0xf9)],await this[_0x155311(0x13f)](_0x89b024,_0x49845c,_0x155311(0x1d0));}else await this[_0x155311(0x1d9)](_0x49845c,_0x89b024);this[_0x155311(0x12a)](),this[_0x155311(0x18d)]=!0x0;}[_0x193acb(0x12a)](){const _0x2db2f4=_0x193acb,_0x61a77b=this[_0x2db2f4(0x15c)][_0x2db2f4(0x17f)][_0x2db2f4(0x193)](_0x59582d),_0x529127=this[_0x2db2f4(0x15c)][_0x2db2f4(0x17f)][_0x2db2f4(0x193)](_0x4c2078),_0x974e39=_0x61a77b[_0x2db2f4(0x1ba)][_0x2db2f4(0x193)](this[_0x2db2f4(0x150)]);_0x974e39&&_0x974e39[_0x2db2f4(0x17b)]>0x1?_0x529127[_0x2db2f4(0x1df)]():this[_0x2db2f4(0x1a6)](_0x61a77b,_0x2db2f4(0x10c)+this[_0x2db2f4(0x150)],()=>{const _0x1e80c4=_0x2db2f4;0x2===_0x61a77b[_0x1e80c4(0x1ba)][_0x1e80c4(0x193)](this[_0x1e80c4(0x150)])[_0x1e80c4(0x17b)]&&_0x529127[_0x1e80c4(0x1df)]();});}async[_0x193acb(0xfb)](_0x4424e1,_0x29088,_0x3a32b5,_0x5a6224){const _0x1b89d1=_0x193acb;if(!this[_0x1b89d1(0x175)]&&this[_0x1b89d1(0x12e)][_0x1b89d1(0x14f)]==_0x29088){const _0x27f27b=this[_0x1b89d1(0x184)](_0x3a32b5,_0x5a6224);await this[_0x1b89d1(0x154)](_0x27f27b),this[_0x1b89d1(0x152)](_0x27f27b,_0x29088,_0x3a32b5[_0x1b89d1(0xfa)])||this[_0x1b89d1(0x147)](_0x1b89d1(0x117));}}async[_0x193acb(0xec)](){const _0xba43f5=_0x193acb;this[_0xba43f5(0x1b6)]();const {locale:_0x393fa7}=this[_0xba43f5(0x15c)];let _0x91ebac;try{_0x91ebac=await this[_0xba43f5(0x164)][_0xba43f5(0x19c)]();}catch{const _0x2c8bd2=_0x4f32f9(_0x393fa7,_0xba43f5(0x15b));return void this[_0xba43f5(0x15d)](_0x2c8bd2);}const _0x48aa32=_0x91ebac[_0xba43f5(0x15f)]||_0x91ebac[_0xba43f5(0x16f)];if(this[_0xba43f5(0x19f)]!==_0x48aa32[_0xba43f5(0xfa)]){const _0x154a1c=_0x4f32f9(_0x393fa7,_0xba43f5(0x1aa));return void this[_0xba43f5(0x15d)](_0x154a1c);}await this[_0xba43f5(0x19e)](this[_0xba43f5(0x15c)][_0xba43f5(0x146)][_0xba43f5(0xfd)][_0xba43f5(0x1e0)][_0xba43f5(0x10b)](),!0x0);}[_0x193acb(0x1b6)](){const _0x21a04a=_0x193acb;this[_0x21a04a(0x164)][_0x21a04a(0x130)](),this[_0x21a04a(0x195)]=[],clearTimeout(this[_0x21a04a(0x16a)]),this[_0x21a04a(0x1c1)](this[_0x21a04a(0x164)]);}[_0x193acb(0x10f)](_0x4b5db6){const _0x6f107b=_0x193acb,_0x112a42=this[_0x6f107b(0x15c)][_0x6f107b(0x17f)][_0x6f107b(0x193)](_0x59582d);this[_0x6f107b(0x1a6)](_0x112a42,_0x6f107b(0x10c)+this[_0x6f107b(0x150)],(_0x6f7e6a,{session:_0x224787})=>{const _0x373d36=_0x6f107b;if(_0x224787['id']===_0x112a42[_0x373d36(0x160)]){_0x6f7e6a[_0x373d36(0x158)]();const _0x1cc4ed=this[_0x373d36(0x15c)][_0x373d36(0x17f)][_0x373d36(0x100)](_0x373d36(0xed))&&this[_0x373d36(0x15c)][_0x373d36(0x17f)][_0x373d36(0x193)](_0x373d36(0xed));let _0x173f57=_0x224787[_0x373d36(0x1c7)];_0x1cc4ed&&_0x1cc4ed[_0x373d36(0x192)]&&(_0x173f57=_0x173f57[_0x373d36(0x121)](_0x250cbf=>_0x373d36(0x176)!==_0x250cbf)),this[_0x373d36(0x15c)][_0x373d36(0x17f)][_0x373d36(0x193)](_0x373d36(0x1da))[_0x373d36(0x105)](_0x173f57,this[_0x373d36(0x150)]);}}),_0x112a42[_0x6f107b(0x1ac)](this[_0x6f107b(0x150)],_0x4b5db6);}[_0x193acb(0xf3)](){const _0x1fe063=_0x193acb,_0x2a72d1=this[_0x1fe063(0x15c)][_0x1fe063(0x113)][_0x1fe063(0x18f)];this[_0x1fe063(0x15c)][_0x1fe063(0x113)][_0x1fe063(0x18f)]=(..._0x1b3ee1)=>{const _0x35502c=_0x1fe063;if(!_0x1b3ee1[_0x1b3ee1[_0x35502c(0x17b)]-0x1][_0x35502c(0x149)])throw new _0xee023d(_0x35502c(0x1b1),this);_0x2a72d1[_0x35502c(0x1dd)](this[_0x35502c(0x15c)][_0x35502c(0x113)],_0x1b3ee1);};}[_0x193acb(0x1a3)](){const _0x44deb4=_0x193acb;this[_0x44deb4(0x15c)][_0x44deb4(0x113)]['on'](_0x44deb4(0xf5),(_0x4cdea6,[_0x2cfc60])=>{const _0x21af50=_0x44deb4;if(this[_0x21af50(0x12e)][_0x21af50(0x14f)])throw new _0xee023d(_0x21af50(0xff),this);_0x4cdea6[_0x21af50(0x1e1)](),this[_0x21af50(0x19d)]();const _0x2ed073=this[_0x21af50(0x15c)][_0x21af50(0x1c5)][_0x21af50(0x193)](_0x21af50(0x180)),_0x3866c5=this[_0x21af50(0x14c)](_0x2cfc60,_0x2ed073);0x0==_0x3866c5[_0x21af50(0x17b)]&&_0x3866c5[_0x21af50(0x1d4)](new _0x1a58c0(0x0)),_0x4cdea6[_0x21af50(0x194)]=this[_0x21af50(0x19e)](_0x3866c5)[_0x21af50(0x133)](()=>{const _0x45856a=_0x21af50;this[_0x45856a(0x15c)][_0x45856a(0x17f)][_0x45856a(0x193)](_0x2b6adb)[_0x45856a(0x15e)](this),this[_0x45856a(0x15c)][_0x45856a(0x113)][_0x45856a(0x1a5)](_0x45856a(0x1b5));})[_0x21af50(0x172)](_0x1b58e5=>this[_0x21af50(0x147)](_0x21af50(0x141),_0x1b58e5))[_0x21af50(0x111)](()=>this[_0x21af50(0x101)]());},{'priority':_0x44deb4(0x1d3)}),this[_0x44deb4(0x15c)]['on'](_0x44deb4(0x13d),async(_0x29553e,[_0x5cfe59,_0x4644db])=>{const _0xeca154=_0x44deb4;_0x29553e[_0xeca154(0x1e1)]();const _0x39e281=this[_0xeca154(0x15c)][_0xeca154(0x146)][_0xeca154(0xfd)][_0xeca154(0xef)](_0x5cfe59);if(!this[_0xeca154(0x131)][_0xeca154(0x100)](_0x5cfe59)){const _0x594e26=_0x4644db&&_0x4644db[_0xeca154(0x113)]?_0x4644db[_0xeca154(0x113)]:'',_0x3b545d=_0x4644db&&_0x4644db[_0xeca154(0x124)]?_0x4644db[_0xeca154(0x124)]:{};await this[_0xeca154(0x181)](_0x5cfe59,_0x594e26,_0x3b545d);}this[_0xeca154(0x15c)][_0xeca154(0x146)][_0xeca154(0x1e3)]({'isUndoable':!0x1},()=>{const _0x25ea97=_0xeca154;_0x39e281[_0x25ea97(0x137)]=!0x0,this[_0x25ea97(0x15c)][_0x25ea97(0x146)][_0x25ea97(0xfd)][_0x25ea97(0x165)][_0x25ea97(0x13b)](_0x39e281);});},{'priority':_0x44deb4(0x1d3)});}async[_0x193acb(0x154)](_0x12dfea){const _0x3e9a00=_0x193acb,_0x147546=this[_0x3e9a00(0x15c)][_0x3e9a00(0x17f)][_0x3e9a00(0x193)](_0x1f1cf7),{connection:_0x5dcc2e}=this[_0x3e9a00(0x15c)][_0x3e9a00(0x17f)][_0x3e9a00(0x193)](_0x2b6adb),_0x508ce4=new Set();for(const _0x314fda of _0x12dfea){const _0x5786a8=_0x314fda[_0x3e9a00(0xfc)];_0x5786a8&&!_0x147546[_0x3e9a00(0x1c6)](_0x5786a8)&&_0x508ce4[_0x3e9a00(0x1a1)](_0x5786a8);}if(0x0===_0x508ce4[_0x3e9a00(0x1dc)])return;const _0xe568a2=await _0xff91df[_0x3e9a00(0x1a9)](_0x5dcc2e,Array[_0x3e9a00(0x1be)](_0x508ce4));for(const _0x264969 of _0xe568a2)_0x147546[_0x3e9a00(0x1c6)](_0x264969['id'])||_0x147546[_0x3e9a00(0x1ec)](_0x264969);}[_0x193acb(0x14c)](_0x52b7a2,_0x241a10={}){const _0x4ae0b1=_0x193acb,_0x59f1ec=this[_0x4ae0b1(0x15c)][_0x4ae0b1(0x146)],_0x47ca59=[];let _0x48d0bb=0x0;const _0x33efe7=_0x4ae0b1(0x148)==typeof _0x52b7a2?{'main':_0x52b7a2}:_0x52b7a2;for(const _0x19dbf7 of Object[_0x4ae0b1(0x155)](_0x33efe7)){if(!this[_0x4ae0b1(0x12e)][_0x4ae0b1(0x17c)][_0x4ae0b1(0x100)](_0x19dbf7))throw new _0xee023d(_0x4ae0b1(0x18c),this);const _0x4fef4f=this[_0x4ae0b1(0x15c)][_0x4ae0b1(0x113)][_0x4ae0b1(0xf1)](_0x33efe7[_0x19dbf7]),_0x3def15=this[_0x4ae0b1(0x12e)][_0x4ae0b1(0xef)](_0x19dbf7),_0x158389=new _0x42b20e(_0x59f1ec[_0x4ae0b1(0x1eb)](_0x3def15,0x0),_0x4fef4f,_0x48d0bb++);_0x47ca59[_0x4ae0b1(0x1d4)](_0x158389);for(const [_0xeb0b78,_0x4795b7]of _0x4fef4f[_0x4ae0b1(0x122)]){const _0x368474=_0x59f1ec[_0x4ae0b1(0x1ad)](_0x59f1ec[_0x4ae0b1(0x1ed)](_0x3def15,_0x4795b7[_0x4ae0b1(0x12d)][_0x4ae0b1(0x1c9)][_0x4ae0b1(0x1ab)]()),_0x59f1ec[_0x4ae0b1(0x1ed)](_0x3def15,_0x4795b7[_0x4ae0b1(0x13c)][_0x4ae0b1(0x1c9)][_0x4ae0b1(0x1ab)]())),_0xae193a=new _0x30ddd4(_0xeb0b78,null,_0x368474,_0x59f1ec[_0x4ae0b1(0x122)],!0x0,_0x48d0bb++);_0x47ca59[_0x4ae0b1(0x1d4)](_0xae193a);}}if(_0x241a10)for(const [_0x3185db,_0x21e353]of Object[_0x4ae0b1(0x16b)](_0x241a10)){const _0x2f297c=_0x59f1ec[_0x4ae0b1(0xfd)][_0x4ae0b1(0xef)](_0x3185db);if(!_0x2f297c)throw new _0xee023d(_0x4ae0b1(0x1b3),null);for(const [_0xd01a12,_0x5e37e0]of Object[_0x4ae0b1(0x16b)](_0x21e353))if(null!==_0x5e37e0){const _0x576781=new _0x77a20f(_0x2f297c,_0xd01a12,null,_0x5e37e0,_0x48d0bb++);_0x47ca59[_0x4ae0b1(0x1d4)](_0x576781);}}return _0x47ca59;}async[_0x193acb(0x181)](_0x1e6ccb,_0x5db88c,_0x3fb5a7){const _0xd3e36e=_0x193acb;this[_0xd3e36e(0x14c)]({[_0x1e6ccb]:_0x5db88c},{[_0x1e6ccb]:_0x3fb5a7})[_0xd3e36e(0x168)]((_0x1303ca,_0x4661b9)=>{const _0x53582f=_0xd3e36e;_0x1303ca[_0x53582f(0x1ae)]=this[_0x53582f(0x12e)][_0x53582f(0x14f)]+_0x4661b9,_0x1303ca[_0x53582f(0x14d)]=!0x0,this[_0x53582f(0x167)](_0x1303ca);}),this[_0xd3e36e(0x12c)](),await this[_0xd3e36e(0x138)]();}async[_0x193acb(0x1d9)](_0x1e9eff,_0x54aea8){const _0x27f8f2=_0x193acb;let _0x331976;this[_0x27f8f2(0xf9)]=_0x1e9eff[_0x27f8f2(0x1e8)];const _0x4e5f18=_0x1e9eff[_0x27f8f2(0x156)]&&!_0x1e9eff[_0x27f8f2(0x114)],_0xf6ed27=_0x4e5f18?0x0:_0x1e9eff[_0x27f8f2(0x113)][_0x27f8f2(0x1ae)];if(_0x54aea8[_0x27f8f2(0x168)](_0x2e833e=>{const _0x200fa0=_0x27f8f2;_0x2e833e[_0x200fa0(0x14d)]=!0x0,_0x2e833e[_0x200fa0(0x128)]=_0x1e9eff[_0x200fa0(0x1de)],_0x2e833e[_0x200fa0(0xfc)]=null;}),_0x4e5f18)_0x331976=_0x54aea8,this[_0x27f8f2(0x1d6)](_0x331976,_0x4e5f18);else{if(_0x1e9eff[_0x27f8f2(0x114)]){const _0x5804bb=this[_0x27f8f2(0x14c)](_0x1e9eff[_0x27f8f2(0x114)]);this[_0x27f8f2(0x12e)][_0x27f8f2(0x1e0)][_0x27f8f2(0x14f)]=-_0x5804bb[_0x27f8f2(0x17b)],_0x5804bb[_0x27f8f2(0x168)](_0x596fdc=>{const _0x26d699=_0x27f8f2;_0x596fdc[_0x26d699(0x1ae)]-=_0x5804bb[_0x26d699(0x17b)],_0x596fdc[_0x26d699(0x128)]=_0x1e9eff[_0x26d699(0x1de)],_0x596fdc[_0x26d699(0x14d)]=!0x0,_0x596fdc[_0x26d699(0xfc)]=null;}),this[_0x27f8f2(0x1d6)](_0x5804bb,!0x0),this[_0x27f8f2(0x19a)][_0x27f8f2(0x14f)]=-_0x5804bb[_0x27f8f2(0x17b)]+this[_0x27f8f2(0xf9)],this[_0x27f8f2(0x115)](_0x5804bb);}this[_0x27f8f2(0x12e)][_0x27f8f2(0x1e0)][_0x27f8f2(0x14f)]=_0xf6ed27,_0x331976=this[_0x27f8f2(0x184)](_0x1e9eff[_0x27f8f2(0x113)],_0x1e9eff[_0x27f8f2(0x140)]),await this[_0x27f8f2(0x154)](_0x331976),this[_0x27f8f2(0x1d6)](_0x331976,_0x4e5f18);}_0x1e9eff[_0x27f8f2(0xfa)]&&(this[_0x27f8f2(0x1a4)][_0x27f8f2(0x11b)](_0x331976,_0x1e9eff[_0x27f8f2(0xfa)]),this[_0x27f8f2(0x19f)]=_0x1e9eff[_0x27f8f2(0xfa)]),this[_0x27f8f2(0x19a)][_0x27f8f2(0x14f)]=_0xf6ed27+this[_0x27f8f2(0xf9)],this[_0x27f8f2(0x115)](_0x331976),_0x54aea8[_0x27f8f2(0x121)](_0x31ca44=>{const _0x341501=_0x27f8f2,_0x592d7c=this[_0x341501(0x199)](_0x31ca44);return _0x592d7c&&!this[_0x341501(0x131)][_0x341501(0x100)](_0x592d7c);})[_0x27f8f2(0x168)]((_0x351c08,_0x27dc51)=>{const _0x3f38aa=_0x27f8f2;_0x351c08[_0x3f38aa(0x1ae)]=this[_0x3f38aa(0x12e)][_0x3f38aa(0x14f)]+_0x27dc51,this[_0x3f38aa(0x167)](_0x351c08);}),this[_0x27f8f2(0x119)]()?(this[_0x27f8f2(0x188)]=0x0,this[_0x27f8f2(0x12c)](!0x0),await this[_0x27f8f2(0x138)]()):(this[_0x27f8f2(0x175)]=!0x1,this[_0x27f8f2(0x101)]());}[_0x193acb(0x147)](_0x4e33ea,_0x276655){const _0x19e96b=_0x193acb,_0x197a86=_0x276655&&_0x276655[_0x19e96b(0x108)];if(_0x197a86&&_0x197a86[_0x19e96b(0x151)](_0x19e96b(0x1b4)))throw _0x276655;const _0x1eb714=this[_0x19e96b(0x15c)][_0x19e96b(0x17f)][_0x19e96b(0x193)](_0x2b6adb);throw this[_0x19e96b(0x175)]=!0x0,_0x1eb714[_0x19e96b(0x130)](),this[_0x19e96b(0x15c)][_0x19e96b(0x1c4)](_0x19e96b(0x14b)),new _0xee023d(_0x4e33ea,this[_0x19e96b(0x15c)],_0x197a86?{'originalError':_0x197a86}:void 0x0);}[_0x193acb(0x167)](_0x1f09b2){const _0x2a1818=_0x193acb;this[_0x2a1818(0x17d)][_0x2a1818(0x100)](_0x1f09b2)||(this[_0x2a1818(0x17d)][_0x2a1818(0x1a1)](_0x1f09b2),this[_0x2a1818(0x195)][_0x2a1818(0x1d4)](_0x1f09b2),this[_0x2a1818(0x132)]||_0x2a1818(0x125)==_0x1f09b2[_0x2a1818(0x12b)]&&!_0x1f09b2[_0x2a1818(0x1a7)]||this[_0x2a1818(0x19d)]());}[_0x193acb(0x12c)](_0x16d507=!0x1){const _0x3c96a3=_0x193acb;!_0x16d507&&this[_0x3c96a3(0x175)]||(this[_0x3c96a3(0x175)]=!0x0,clearTimeout(this[_0x3c96a3(0x16a)]),this[_0x3c96a3(0x16a)]=setTimeout(()=>{const _0x362a8a=_0x3c96a3;this[_0x362a8a(0x120)]()[_0x362a8a(0x133)](_0x5c71f3=>{const _0x5e3611=_0x362a8a;_0x5c71f3&&(this[_0x5e3611(0x101)](),this[_0x5e3611(0x175)]=!0x1);})[_0x362a8a(0x172)](_0x4a30d8=>{const _0x5283fd=_0x362a8a;this[_0x5283fd(0x101)](),this[_0x5283fd(0x175)]=!0x1,function(_0x47a98e){const _0x5a1bb7=_0x5283fd;return _0x47a98e[_0x5a1bb7(0x108)][_0x5a1bb7(0x151)](_0x5a1bb7(0x187))||_0x47a98e[_0x5a1bb7(0x108)][_0x5a1bb7(0x151)](_0x5a1bb7(0xeb))||_0x47a98e[_0x5a1bb7(0x108)][_0x5a1bb7(0x151)](_0x5a1bb7(0xf4));}(_0x4a30d8)||this[_0x5283fd(0x147)](_0x4a30d8[_0x5283fd(0x108)],_0x4a30d8);});},this[_0x3c96a3(0x188)]));}[_0x193acb(0x138)](){return new Promise(_0x3949e0=>{const _0xba1236=_0x2120;this['on'](_0xba1236(0x110),()=>{_0x3949e0();});});}async[_0x193acb(0x120)](){const _0x79a6cc=_0x193acb,_0x4ae2b5=this[_0x79a6cc(0x15c)][_0x79a6cc(0x17f)][_0x79a6cc(0x193)](_0x4c2078);if(this[_0x79a6cc(0x1e4)]()&&(_0x4ae2b5[_0x79a6cc(0x1df)](),this[_0x79a6cc(0x14e)]=!0x1),!this[_0x79a6cc(0x119)]())return!0x0;const _0x1997bd=[...this[_0x79a6cc(0x195)]];for(const _0x4760a1 of _0x1997bd)_0x4760a1[_0x79a6cc(0x11d)]=this[_0x79a6cc(0x12e)][_0x79a6cc(0x1e0)][_0x79a6cc(0x198)](_0x4760a1);const _0x4516fc=this[_0x79a6cc(0x1a4)][_0x79a6cc(0x15a)](_0x1997bd),_0x12b14b=G++,_0x3d0473=this[_0x79a6cc(0x112)](_0x1997bd),_0x5789f6=await this[_0x79a6cc(0x164)][_0x79a6cc(0x145)](_0x3d0473,_0x3d0473[_0x79a6cc(0x1ae)],_0x4516fc);try{return await this[_0x79a6cc(0x13f)](_0x1997bd,_0x5789f6,_0x12b14b);}catch(_0x2c925f){return this[_0x79a6cc(0x147)](_0x79a6cc(0x13a),_0x2c925f);}}async[_0x193acb(0x13f)](_0x473039,_0x47e635,_0x1b4362){const _0x359611=_0x193acb;if(_0x359611(0x1ca)in _0x47e635)throw _0x47e635[_0x359611(0x1ca)];let _0x2bbf25=!0x1;if(_0x47e635[_0x359611(0x156)]){_0x47e635[_0x359611(0xfa)]&&(this[_0x359611(0x19f)]=_0x47e635[_0x359611(0xfa)]),this[_0x359611(0x195)]=this[_0x359611(0x195)][_0x359611(0x121)](_0x3c4a49=>!_0x473039[_0x359611(0x162)](_0x3c4a49));for(const _0x584cf3 of _0x473039)_0x584cf3[_0x359611(0x128)]=_0x359611(0x1b0)in _0x47e635&&_0x47e635[_0x359611(0x1b0)]||void 0x0;K(_0x473039,_0x47e635[_0x359611(0x14f)]-_0x473039[_0x359611(0x17b)]),this[_0x359611(0x115)](_0x473039);const _0x362773=_0x473039[_0x359611(0x121)](_0x130a6b=>{const _0x1ab8d2=_0x359611;if(!_0x130a6b[_0x1ab8d2(0x14d)])return!0x1;const _0x5c425d=this[_0x1ab8d2(0x199)](_0x130a6b);return _0x5c425d&&!this[_0x1ab8d2(0x131)][_0x1ab8d2(0x100)](_0x5c425d);});K(_0x362773,this[_0x359611(0x12e)][_0x359611(0x14f)]),this[_0x359611(0x1d6)](_0x362773),_0x2bbf25=!0x0,this[_0x359611(0x188)]=this[_0x359611(0x16d)];}else{const _0x2391cf=this[_0x359611(0x184)](_0x47e635[_0x359611(0x113)],_0x47e635[_0x359611(0x140)])[_0x359611(0x121)](_0x12991b=>_0x12991b[_0x359611(0x1ae)]>=this[_0x359611(0x1bf)]);_0x2391cf[_0x359611(0x168)](_0x2e5ebe=>this[_0x359611(0x179)](_0x2e5ebe)),this[_0x359611(0x195)]=this[_0x359611(0x195)][_0x359611(0x121)](_0x4a77c9=>!_0x4a77c9[_0x359611(0x14d)]||!this[_0x359611(0x131)][_0x359611(0x100)](this[_0x359611(0x199)](_0x4a77c9))),this[_0x359611(0x195)][_0x359611(0x17b)]&&K(this[_0x359611(0x195)],this[_0x359611(0x195)][0x0][_0x359611(0x1ae)]),await this[_0x359611(0x154)](_0x2391cf),_0x2bbf25=this[_0x359611(0x152)](_0x2391cf,_0x47e635[_0x359611(0x14f)],_0x47e635[_0x359611(0xfa)]),this[_0x359611(0x188)]=Math[_0x359611(0x189)](this[_0x359611(0x188)]/0x2);}return _0x2bbf25?!this[_0x359611(0x119)]()||(this[_0x359611(0x12c)](!0x0),!0x1):this[_0x359611(0x147)](_0x359611(0x1b7));}[_0x193acb(0x152)](_0x4eb493,_0x4262cc,_0xd78057){const _0x328ba9=_0x193acb;try{const _0x50d875={'document':this[_0x328ba9(0x12e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x49a940,operationsB:_0x114e83,originalOperations:_0x4a2c3a}=_0x2d54a2(_0x4eb493,this[_0x328ba9(0x195)],_0x50d875);K(_0x49a940,this[_0x328ba9(0x12e)][_0x328ba9(0x14f)]),K(_0x114e83,_0x4262cc);for(const _0x5010f4 of _0x49a940){const _0x25b22a=_0x4a2c3a[_0x328ba9(0x193)](_0x5010f4);_0x5010f4[_0x328ba9(0xfc)]=_0x25b22a?_0x25b22a[_0x328ba9(0xfc)]:null;}_0xd78057&&(this[_0x328ba9(0x1a4)][_0x328ba9(0x11b)](_0x4eb493,_0xd78057),this[_0x328ba9(0x19f)]=_0xd78057),this[_0x328ba9(0x195)]=[..._0x114e83],this[_0x328ba9(0x1d6)](_0x49a940),this[_0x328ba9(0x115)](_0x4eb493);}catch(_0x50943){return console[_0x328ba9(0x1ca)](_0x50943),!0x1;}return!0x0;}[_0x193acb(0x1d6)](_0x1c3113,_0x52e8f6=!0x1){const _0x24dfe2=_0x193acb;this[_0x24dfe2(0x15c)][_0x24dfe2(0x146)][_0x24dfe2(0x1e3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2967ee=>{const _0x2604b3=_0x24dfe2;for(const _0x8d487f of _0x1c3113)this[_0x2604b3(0x17d)][_0x2604b3(0x1a1)](_0x8d487f),this[_0x2604b3(0x179)](_0x8d487f),_0x2967ee[_0x2604b3(0xea)][_0x2604b3(0x143)](_0x8d487f),this[_0x2604b3(0x15c)][_0x2604b3(0x146)][_0x2604b3(0x157)](_0x8d487f);});}[_0x193acb(0x179)](_0x1a7b6e){const _0x19bba1=_0x193acb,_0x5e40cc=this[_0x19bba1(0x199)](_0x1a7b6e);_0x5e40cc&&this[_0x19bba1(0x131)][_0x19bba1(0x1a1)](_0x5e40cc);}[_0x193acb(0x199)](_0x2cd9c8){const _0x1fb46a=_0x193acb;let _0x58aede,_0x39c68e;switch(_0x2cd9c8[_0x1fb46a(0x12b)]){case _0x1fb46a(0xee):_0x58aede=_0x2cd9c8[_0x1fb46a(0x185)][_0x1fb46a(0x102)];break;case _0x1fb46a(0x125):if(_0x39c68e=_0x2cd9c8[_0x1fb46a(0x10d)],!_0x39c68e)return null;_0x58aede=_0x39c68e[_0x1fb46a(0x102)];break;case _0x1fb46a(0x190):_0x58aede=_0x2cd9c8[_0x1fb46a(0x102)];break;case _0x1fb46a(0x10e):_0x58aede=_0x2cd9c8[_0x1fb46a(0x142)];break;case _0x1fb46a(0x171):_0x58aede=_0x2cd9c8[_0x1fb46a(0x182)][_0x1fb46a(0x102)];break;default:return null;}return _0x58aede[_0x1fb46a(0x1ea)];}[_0x193acb(0x115)](_0x356d6f){const _0x13087b=_0x193acb;_0x356d6f[_0x13087b(0x168)](_0x305394=>{const _0x33b77d=_0x13087b,_0x22f9f4=_0x305394[_0x33b77d(0x135)]();_0x22f9f4[_0x33b77d(0xfc)]=_0x305394[_0x33b77d(0xfc)],_0x22f9f4[_0x33b77d(0x14d)]=!!_0x305394[_0x33b77d(0x14d)],_0x22f9f4[_0x33b77d(0x128)]=_0x305394[_0x33b77d(0x128)],_0x22f9f4[_0x33b77d(0x1ae)]+=this[_0x33b77d(0xf9)],_0x305394[_0x33b77d(0x191)]&&this[_0x33b77d(0x16c)][_0x33b77d(0x1a1)](_0x22f9f4),this[_0x33b77d(0x19a)][_0x33b77d(0x143)](_0x22f9f4);});}[_0x193acb(0x15d)](_0x92f4da){const _0x106fd6=_0x193acb,_0x46a4d4=this[_0x106fd6(0x15c)][_0x106fd6(0x17f)][_0x106fd6(0x193)](_0x106fd6(0x197)),_0x5c606b=this[_0x106fd6(0x15c)][_0x106fd6(0xf2)];_0x92f4da||(_0x92f4da=_0x4f32f9(_0x5c606b,_0x106fd6(0x18b))),_0x46a4d4[_0x106fd6(0x1db)](_0x92f4da,{'title':_0x4f32f9(_0x5c606b,_0x106fd6(0x106)),'namespace':_0x106fd6(0x163)}),this[_0x106fd6(0x126)]=!0x0,clearTimeout(this[_0x106fd6(0x16a)]),this[_0x106fd6(0x195)]=[],this[_0x106fd6(0x15c)][_0x106fd6(0x17f)][_0x106fd6(0x193)](_0x2b6adb)[_0x106fd6(0x130)]();}[_0x193acb(0x19d)](){const _0x5ee924=_0x193acb;this[_0x5ee924(0x132)]||(this[_0x5ee924(0x132)]=this[_0x5ee924(0x15c)][_0x5ee924(0x17f)][_0x5ee924(0x193)](_0x422c48)[_0x5ee924(0x1a1)](_0x4f32f9(this[_0x5ee924(0x15c)][_0x5ee924(0xf2)],_0x5ee924(0x1e6))));}[_0x193acb(0x101)](){const _0x451e16=_0x193acb;this[_0x451e16(0x132)]&&(this[_0x451e16(0x15c)][_0x451e16(0x17f)][_0x451e16(0x193)](_0x422c48)[_0x451e16(0xf8)](this[_0x451e16(0x132)]),this[_0x451e16(0x132)]=null);}[_0x193acb(0x112)](_0x2ec007){const _0x1af476=_0x193acb,_0x4cc576=_0x2ec007[_0x1af476(0x173)](_0x5b6837=>_0x5b6837[_0x1af476(0x1d5)]());return this[_0x1af476(0x1a2)][_0x1af476(0x129)](_0x4cc576);}[_0x193acb(0x184)](_0x1f7ee4,_0x240e80){const _0x2d5e77=_0x193acb;return this[_0x2d5e77(0x1a2)][_0x2d5e77(0x1b2)](_0x1f7ee4)[_0x2d5e77(0x173)]((_0x26fcd8,_0x30742b)=>{const _0x497525=_0x2d5e77,_0x506637=_0x497525(0xf5)==_0x240e80[_0x30742b][_0x497525(0x12b)];if(_0x497525(0x11e)==_0x26fcd8[_0x497525(0x1c2)]){const _0x4e5eda=_0x26fcd8[_0x497525(0x185)][_0x497525(0x102)];!this[_0x497525(0x12e)][_0x497525(0xef)](_0x4e5eda)&&(this[_0x497525(0x12e)][_0x497525(0x104)](_0x497525(0x174),_0x4e5eda)[_0x497525(0x1c8)]=!0x1);}const _0x437575=_0x2e75c6[_0x497525(0xf6)](_0x26fcd8,this[_0x497525(0x12e)]);return _0x437575[_0x497525(0x11d)]=_0x26fcd8[_0x497525(0x11d)],_0x437575[_0x497525(0x14d)]=_0x506637,_0x437575[_0x497525(0xfc)]=_0x506637?null:_0x240e80[_0x30742b][_0x497525(0x1c3)],_0x437575[_0x497525(0x191)]=_0x497525(0x178)===_0x240e80[_0x30742b][_0x497525(0x12b)],_0x437575[_0x497525(0x128)]=_0x240e80[_0x30742b][_0x497525(0x128)],_0x437575;});}[_0x193acb(0x169)](){const _0xd1404e=_0x193acb;this[_0xd1404e(0x14e)]=!0x0,this[_0xd1404e(0x1e4)]()?this[_0xd1404e(0x12c)]():this[_0xd1404e(0x14e)]=!0x1;}[_0x193acb(0x1e4)](){const _0x80813=_0x193acb,_0xba00be=this[_0x80813(0x15c)][_0x80813(0x17f)][_0x80813(0x193)](_0x59582d)[_0x80813(0x1ba)][_0x80813(0x193)](this[_0x80813(0x150)]);return!this[_0x80813(0x15c)][_0x80813(0x1a8)]&&!!_0xba00be&&_0xba00be[_0x80813(0x17b)]>0x1&&this[_0x80813(0x14e)];}[_0x193acb(0x119)](){const _0x4c2284=_0x193acb;return this[_0x4c2284(0x195)][_0x4c2284(0x17b)]>0x0||this[_0x4c2284(0x1e4)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function _0x1b45(){const _0x239f4c=['404','cloud-services-internal-error:\x20Not\x20connected.','_currentBufferDelay','round','_isEditingAllowed','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.','realtimecollaborationclient-init-non-existent-root','_isConnected','connect','set','addRootAttribute','_isDisconnection','isEnabled','get','return','_bufferedOperations','unregister','Notification','isUndoneOperation','_getAffectedRoot','serverHistory','define','getDocumentDetails','_setPendingAction','_connectService','_lastSyncedOperationId','CollaborativeEditingService','add','_compressor','_setUpDataInit','_operationIdentifier','fire','listenTo','affectsData','isReadOnly','getMany','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.','slice','register','createRange','baseVersion','realtimecollaborationclient-init-service-internal-error','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','decompress','multi-root-editor-root-attributes-no-root','realtimecollaborationclient','ready','_disconnectService','realtimecollaborationclient-handleserverresponse','destroy','getConnectedSessions','channelSessions','186354JJKoCn','removeFromReconnectionStack','409','from','_lastServerVersion','change:range','stopListening','__className','userId','enableReadOnlyMode','config','getUser','permissions','_isAttached','path','error','disableReadOnlyMode','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isEditingAllowed','rtc-offline','connection','reconnection:\x20flushed\x20session','25374OAkffY','bind','high','push','toJSON','_applyOperationsSet','requires','collaboration-missing-channelid','_handleInitialConnectionData','Permissions','showWarning','size','apply','sessionCreatedAt','createUserMarkerOperations','history','stop','collaboration.channelId','enqueueChange','_shouldSendSelectionUpdate','494214hptHOq','PENDING_ACTION_SENDING_DATA','rtc-destroyed','offset','disconnected','rootName','createPositionAt','addUser','createPositionFromPath','batch','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_connectAfterSessionHasBeenFlushed','CommentsOnly','insert','getRoot','RealTimeCollaborationClient','parse','locale','_initThrowingOnDataSet','cloud-services-internal-error:\x20Request\x20timeout.','init','fromJSON','collaboration','remove','_offset','lastOperationId','_handleReceivedOperations','_authorId','document','sessionId','realtimecollaborationclient-init-document-already-initialized','has','_clearPendingAction','root','operationsReceived','createRoot','setPermissions','Synchronization\x20issue','reset','message','code','388465ElQCTk','getOperations','sessionAdd:','newRange','addRoot','_initSessionsHandling','change:_isPendingUpdate','finally','_compressOperations','data','initData','_updateServerHistory','196326LdagEm','realtimecollaborationclient-init-service-incorrect-server-operation','isOfficialPlugin','_shouldSendUpdate','_handleReconnectionResponse','setIdForTheLastOperation','_ignoredOperations','wasUndone','InsertOperation','44OEDzrg','_sendBufferedOperations','filter','markers','selection','attributes','marker','_hasSynchronizationProblem','realtimecollaborationclient-init-session-connection-error','createdAt','compress','_handleSendingSelectionMarkers','type','_sendBufferedOperationsDelayed','start','_document','reconnect','disconnect','_knownRootNames','_pendingAction','then','connected','clone','1245940TXfbGS','_isLoaded','_waitUntilSynced','lastSyncVersion','realtimecollaborationclient-sendbufferedoperations','_bufferRootLoad','end','loadRoot','directChange','_handleServerResponse','metadata','realtimecollaborationclient-init-connection-failed','affectedSelectable','addOperation','pluginName','sendOperations','model','_crash','string','suppressErrorInCollaboration','cloudDocumentVersion','realtimecollaborationclient-error','_getOperationsFromInitData','_isInit','_hasSelectionChanged','version','_channelId','startsWith','_handleExternalOperations','cloudServices.bundleVersion','_fetchMissingUsers','keys','wereChangesApplied','applyOperation','off','isDocumentOperation','getIdOfTheLastOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editor','_handleReconnectionError','addToReconnectionStack','currentDocumentSession','mySessionId','view','includes','real-time-collaboration','_service','differ','isPremiumPlugin','_saveOperationInBuffer','forEach','_refreshUserSelectionMarkers','_sendBufferedOperationsDelayId','entries','_disconnectionOperations','_baseBufferDelay','getOperationAuthor','lastDocumentSession','change:hasDomSelection','move','catch','map','$root','_isPendingUpdate','document:write','editing','cs:removeUser','_addKnownRoot','state','length','roots','_knownOperations','_operationToId','plugins','rootsAttributes','_loadRoot','targetPosition','7461776KBnboX','_decompressOperations','position'];_0x1b45=function(){return _0x239f4c;};return _0x1b45();}function K(_0x2f826d,_0x45b9ca){const _0x34ac78=_0x193acb;for(const _0x2a9ed3 of _0x2f826d)_0x2a9ed3[_0x34ac78(0x1ae)]=_0x45b9ca++;}class J{[_0x193acb(0x11c)];[_0x193acb(0x17e)];constructor(_0x256a08){const _0x283b87=_0x193acb;this[_0x283b87(0x11c)]=_0x256a08,this[_0x283b87(0x17e)]=new WeakMap();}[_0x193acb(0x15a)](_0x353033){const _0x7f2532=_0x193acb;let _0x2e38e8=_0x353033[_0x7f2532(0x17b)];for(;_0x2e38e8--;){const _0x56569c=_0x353033[_0x2e38e8];if(!this[_0x7f2532(0x11c)][_0x7f2532(0x100)](_0x56569c)){if(!this[_0x7f2532(0x17e)][_0x7f2532(0x100)](_0x56569c)){const _0x234453=_0x1b2547()[_0x7f2532(0x1ab)](0x1,0x12);this[_0x7f2532(0x17e)][_0x7f2532(0x18f)](_0x56569c,_0x234453);}return this[_0x7f2532(0x17e)][_0x7f2532(0x193)](_0x56569c);}}}[_0x193acb(0x11b)](_0x5007d4,_0x3c2391){const _0x2f9f80=_0x193acb;if(!_0x3c2391)return;let _0x558bd1=_0x5007d4[_0x2f9f80(0x17b)];for(;_0x558bd1--;){const _0x1de47b=_0x5007d4[_0x558bd1];this[_0x2f9f80(0x11c)][_0x2f9f80(0x100)](_0x1de47b)||this[_0x2f9f80(0x17e)][_0x2f9f80(0x18f)](_0x1de47b,_0x3c2391);}}}
|
|
23
|
+
const _0x563395=_0x4a75;function _0x4a75(_0x22c43f,_0x52b276){const _0x487114=_0x4871();return _0x4a75=function(_0x4a750a,_0xb42bf5){_0x4a750a=_0x4a750a-0x1c5;let _0xe36a3d=_0x487114[_0x4a750a];return _0xe36a3d;},_0x4a75(_0x22c43f,_0x52b276);}(function(_0x3c6f72,_0x3b3272){const _0x5d17ac=_0x4a75,_0xa9c712=_0x3c6f72();while(!![]){try{const _0x2422b4=-parseInt(_0x5d17ac(0x289))/0x1+-parseInt(_0x5d17ac(0x226))/0x2+parseInt(_0x5d17ac(0x285))/0x3*(-parseInt(_0x5d17ac(0x237))/0x4)+-parseInt(_0x5d17ac(0x1d0))/0x5+-parseInt(_0x5d17ac(0x244))/0x6+-parseInt(_0x5d17ac(0x2b7))/0x7+parseInt(_0x5d17ac(0x200))/0x8;if(_0x2422b4===_0x3b3272)break;else _0xa9c712['push'](_0xa9c712['shift']());}catch(_0x7070df){_0xa9c712['push'](_0xa9c712['shift']());}}}(_0x4871,0x9ebd5));import{Plugin as _0x35520c,PendingActions as _0x27b87e}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ed81d,version as _0x456c12,uid as _0x1f7307}from'ckeditor5/src/utils.js';import{Notification as _0x52a8e8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x24882b,NoOperation as _0x2f9c27,InsertOperation as _0x2fdfca,MarkerOperation as _0x26f800,RootAttributeOperation as _0x141fa3,OperationFactory as _0x23f92f,History as _0x584afd}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x27bbb7}from'./websocketgateway.js';import{Sessions as _0x476ffd}from'./sessions.js';import{UserMarkers as _0x1cf422}from'./usermarkers.js';import{getTranslation as _0x4651ae}from'../common-translations.js';import{Compressor as _0xb4b325}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x8da8de}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x58ffd5,CollaborativeEditingService as _0x18bac9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x35520c{static [_0x563395(0x276)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x18bac9)());[_0x563395(0x2aa)];[_0x563395(0x223)];[_0x563395(0x217)];[_0x563395(0x2ad)];[_0x563395(0x205)];[_0x563395(0x299)];[_0x563395(0x26f)];[_0x563395(0x1db)];[_0x563395(0x294)];[_0x563395(0x29b)];[_0x563395(0x284)];[_0x563395(0x2b8)];[_0x563395(0x271)];[_0x563395(0x263)];[_0x563395(0x261)];[_0x563395(0x1fa)];[_0x563395(0x264)];[_0x563395(0x1e6)];static get[_0x563395(0x215)](){return[_0x27bbb7,_0x476ffd,_0x1cf422,_0x27b87e,_0x8da8de,_0x52a8e8];}static get[_0x563395(0x238)](){const _0x5d9405=_0x563395;return _0x5d9405(0x256);}static get[_0x563395(0x267)](){return!0x0;}static get[_0x563395(0x1d5)](){return!0x0;}get[_0x563395(0x24b)](){const _0x5b8d56=_0x563395;return this[_0x5b8d56(0x2ba)]+this[_0x5b8d56(0x2aa)];}get[_0x563395(0x2ba)](){const _0x5541e7=_0x563395;return this[_0x5541e7(0x217)][_0x5541e7(0x287)]-this[_0x5541e7(0x2aa)];}get[_0x563395(0x1d9)](){const _0x4df1ce=_0x563395,_0x7abd2d=this[_0x4df1ce(0x217)][_0x4df1ce(0x1ea)]();for(let _0x15fb24=_0x7abd2d[_0x4df1ce(0x2bb)]-0x1;_0x15fb24>=0x0;_0x15fb24--){const _0x2e2587=_0x7abd2d[_0x15fb24];if(!this[_0x4df1ce(0x264)][_0x4df1ce(0x22e)](_0x2e2587))return _0x2e2587[_0x4df1ce(0x2c6)]+0x1-this[_0x4df1ce(0x2aa)];}return 0x0;}constructor(_0x21d5a9){const _0x53eb74=_0x563395;if(super(_0x21d5a9),this[_0x53eb74(0x2aa)]=0x0,this[_0x53eb74(0x223)]=null,this[_0x53eb74(0x217)]=new _0x584afd(),this[_0x53eb74(0x272)][_0x53eb74(0x203)][_0x53eb74(0x1f4)](_0x53eb74(0x2b2),{}),this[_0x53eb74(0x2ad)]=this[_0x53eb74(0x272)][_0x53eb74(0x203)][_0x53eb74(0x1c7)](_0x53eb74(0x2af)),!this[_0x53eb74(0x2ad)])throw new _0x3ed81d(_0x53eb74(0x2a3),this);const _0x2f33cf=_0x21d5a9[_0x53eb74(0x203)][_0x53eb74(0x1c7)](_0x53eb74(0x27e))||_0x456c12;this[_0x53eb74(0x205)]=new l[(_0x53eb74(0x276))](_0x2f33cf,this[_0x53eb74(0x2ad)]),this[_0x53eb74(0x299)]=this[_0x53eb74(0x272)][_0x53eb74(0x2a1)][_0x53eb74(0x2b5)],this[_0x53eb74(0x26f)]=new _0xb4b325(),this[_0x53eb74(0x1db)]=[],this[_0x53eb74(0x294)]=new WeakSet(),this[_0x53eb74(0x29b)]=new Set(),this[_0x53eb74(0x1ed)](_0x53eb74(0x1cf),!0x1),this[_0x53eb74(0x1ed)](_0x53eb74(0x2a8),!0x1),this[_0x53eb74(0x284)]=null,this[_0x53eb74(0x2b8)]=!0x1,this[_0x53eb74(0x271)]=null,this[_0x53eb74(0x263)]=0x12c,this[_0x53eb74(0x261)]=this[_0x53eb74(0x263)],this[_0x53eb74(0x1fa)]=null,this[_0x53eb74(0x264)]=new WeakSet(),this[_0x53eb74(0x1e6)]=new J(this[_0x53eb74(0x264)]);}[_0x563395(0x23d)](){const _0x589769=_0x563395,_0x4f8de1=this[_0x589769(0x272)],_0x225a7d=_0x4f8de1[_0x589769(0x275)][_0x589769(0x1c7)](_0x8da8de),_0x51490f=_0x4f8de1[_0x589769(0x275)][_0x589769(0x1c7)](_0x27bbb7);this[_0x589769(0x23a)](_0x225a7d,_0x589769(0x201),(_0x26f614,_0xf8de86)=>{const _0x37f217=_0x589769,_0x284e19=_0xf8de86[0x0];_0x284e19[_0x37f217(0x1d1)]&&(_0x26f614[_0x37f217(0x211)]=_0x225a7d[_0x37f217(0x210)](_0x284e19[_0x37f217(0x1d1)]),_0x26f614[_0x37f217(0x2ae)]()),null===_0x284e19[_0x37f217(0x1d1)]&&(_0x26f614[_0x37f217(0x211)]=null,_0x26f614[_0x37f217(0x2ae)]());},{'priority':_0x589769(0x2bc)}),this[_0x589769(0x23a)](_0x4f8de1[_0x589769(0x2a1)][_0x589769(0x2b5)][_0x589769(0x23e)],_0x589769(0x25c),(_0xd5ff5a,_0x2b3d2f)=>{const _0x2cfdac=_0x589769;_0x2b3d2f[_0x2cfdac(0x29d)]&&this[_0x2cfdac(0x28d)]();}),this[_0x589769(0x23a)](_0x4f8de1[_0x589769(0x291)][_0x589769(0x1c6)],_0x589769(0x20f),()=>{const _0x5aaade=_0x589769;this[_0x5aaade(0x28d)]();}),this[_0x589769(0x23c)](),_0x4f8de1[_0x589769(0x2a1)]['on'](_0x589769(0x208),(_0x5e481d,_0x310fd7)=>{const _0x1b0ec1=_0x589769,_0x4da998=_0x310fd7[0x0];_0x4da998[_0x1b0ec1(0x1c5)]&&(this[_0x1b0ec1(0x1f2)](_0x4da998),this[_0x1b0ec1(0x248)]()&&this[_0x1b0ec1(0x27d)]());}),this[_0x589769(0x234)](),this[_0x589769(0x1d6)](_0x589769(0x242))['to'](_0x51490f,_0x589769(0x260),this,_0x589769(0x2a8),(_0x5ca473,_0x388b9e)=>_0x589769(0x2a4)===_0x5ca473&&!_0x388b9e),this['on'](_0x589769(0x26e),()=>{const _0x1b058d=_0x589769;this[_0x1b058d(0x242)]?_0x4f8de1[_0x1b058d(0x229)](_0x1b058d(0x1c8)):_0x4f8de1[_0x1b058d(0x26a)](_0x1b058d(0x1c8));}),this[_0x589769(0x242)]?_0x4f8de1[_0x589769(0x229)](_0x589769(0x1c8)):_0x4f8de1[_0x589769(0x26a)](_0x589769(0x1c8)),this[_0x589769(0x1ed)](_0x589769(0x1f7),!0x1);}async[_0x563395(0x259)](){const _0x1183a6=_0x563395,_0x2dbae2=this[_0x1183a6(0x272)][_0x1183a6(0x275)][_0x1183a6(0x1c7)](_0x476ffd),_0x392bad=this[_0x1183a6(0x272)][_0x1183a6(0x275)][_0x1183a6(0x1c7)](_0x27bbb7);try{this[_0x1183a6(0x1cf)]=!0x0,_0x2dbae2[_0x1183a6(0x1e9)](this[_0x1183a6(0x2ad)]);const _0x3cc861=await this[_0x1183a6(0x205)][_0x1183a6(0x259)](_0x392bad[_0x1183a6(0x265)],this[_0x1183a6(0x1d9)]);await this[_0x1183a6(0x239)](_0x3cc861)&&(this[_0x1183a6(0x1cf)]=!0x1,this[_0x1183a6(0x206)]());const _0x49076c=await this[_0x1183a6(0x205)][_0x1183a6(0x1f8)]();_0x2dbae2[_0x1183a6(0x247)](this[_0x1183a6(0x2ad)],_0x49076c),this[_0x1183a6(0x1fd)](),this[_0x1183a6(0x1f7)]=!0x0;}catch(_0x3c4e7c){if(function(_0x4dad8f){const _0xa3af00=_0x1183a6;return _0xa3af00(0x22d)===_0x4dad8f[_0xa3af00(0x283)];}(_0x3c4e7c)&&this[_0x1183a6(0x223)])await this[_0x1183a6(0x253)]();else{if(function(_0x5a60ba){const _0x414cfa=_0x1183a6;return _0x414cfa(0x245)===_0x5a60ba[_0x414cfa(0x283)];}(_0x3c4e7c)){const _0x13ad2c=_0x4651ae(this[_0x1183a6(0x272)][_0x1183a6(0x202)],_0x1183a6(0x2c3));this[_0x1183a6(0x1c9)](_0x13ad2c);}else{if(!(_0x3c4e7c instanceof $))throw _0x3c4e7c;this[_0x1183a6(0x1c9)]();}}}}[_0x563395(0x1da)](){const _0x5dde4f=_0x563395,_0x501fbd=this[_0x5dde4f(0x272)][_0x5dde4f(0x275)][_0x5dde4f(0x1c7)](_0x27bbb7),_0x29bbf6=this[_0x5dde4f(0x272)][_0x5dde4f(0x275)][_0x5dde4f(0x1c7)](_0x476ffd);this[_0x5dde4f(0x272)][_0x5dde4f(0x26a)](_0x5dde4f(0x230)),_0x29bbf6[_0x5dde4f(0x1f0)][_0x5dde4f(0x22e)](this[_0x5dde4f(0x2ad)])&&_0x29bbf6[_0x5dde4f(0x1e9)](this[_0x5dde4f(0x2ad)]),_0x501fbd[_0x5dde4f(0x1ff)](this),this[_0x5dde4f(0x219)](),super[_0x5dde4f(0x1da)]();}async[_0x563395(0x239)](_0x4f84bc){const _0x258df6=_0x563395;if(this[_0x258df6(0x223)]!==_0x4f84bc[_0x258df6(0x223)]&&this[_0x258df6(0x1fa)]!==_0x4f84bc[_0x258df6(0x2a2)])throw new $();return this[_0x258df6(0x223)]=_0x4f84bc[_0x258df6(0x223)],this[_0x258df6(0x236)]([],{..._0x4f84bc,'wereChangesApplied':!0x1,'data':_0x4f84bc[_0x258df6(0x21d)]},_0x258df6(0x259));}async[_0x563395(0x292)](_0x51540e,_0x2ca268=!0x1){const _0x5165fa=_0x563395,{connection:_0x1e99b3}=this[_0x5165fa(0x272)][_0x5165fa(0x275)][_0x5165fa(0x1c7)](_0x27bbb7);l[_0x5165fa(0x276)][_0x5165fa(0x1f8)](_0x1e99b3,this[_0x5165fa(0x2ad)])[_0x5165fa(0x222)](_0x243dd2=>this[_0x5165fa(0x207)](_0x243dd2))[_0x5165fa(0x1f9)](_0x472704=>{const _0x6e8577=_0x5165fa;this[_0x6e8577(0x2b1)](_0x6e8577(0x25b),_0x472704);}),this[_0x5165fa(0x23a)](this[_0x5165fa(0x205)],_0x5165fa(0x273),this[_0x5165fa(0x212)][_0x5165fa(0x1d6)](this)),this[_0x5165fa(0x23a)](this[_0x5165fa(0x205)],_0x5165fa(0x252),(_0x2e76bc,_0xdc18eb)=>{const _0x5de763=_0x5165fa;this[_0x5de763(0x2b1)](_0x5de763(0x2b9),_0xdc18eb);}),this[_0x5165fa(0x23a)](this[_0x5165fa(0x205)],_0x5165fa(0x1f3),()=>{const _0x267525=_0x5165fa;this[_0x267525(0x1f7)]=!0x1;});const _0x187940=this[_0x5165fa(0x1e6)][_0x5165fa(0x1d7)](_0x51540e);this[_0x5165fa(0x1cf)]=!0x0;const _0x27eafb=await this[_0x5165fa(0x205)][_0x5165fa(0x1cd)](_0x1e99b3,this[_0x5165fa(0x28b)](_0x51540e),_0x187940);if(this[_0x5165fa(0x223)]=_0x27eafb[_0x5165fa(0x223)],_0x2ca268){if(!_0x27eafb[_0x5165fa(0x280)])return void this[_0x5165fa(0x1c9)]();this[_0x5165fa(0x1cf)]=!0x1,this[_0x5165fa(0x206)](),this[_0x5165fa(0x217)][_0x5165fa(0x26b)](),this[_0x5165fa(0x2aa)]=_0x27eafb[_0x5165fa(0x228)],this[_0x5165fa(0x217)][_0x5165fa(0x287)]=this[_0x5165fa(0x2aa)],await this[_0x5165fa(0x236)](_0x51540e,_0x27eafb,_0x5165fa(0x249));}else await this[_0x5165fa(0x22c)](_0x27eafb,_0x51540e);this[_0x5165fa(0x1fd)](),this[_0x5165fa(0x1f7)]=!0x0;}[_0x563395(0x1fd)](){const _0x447978=_0x563395,_0x1f7758=this[_0x447978(0x272)][_0x447978(0x275)][_0x447978(0x1c7)](_0x476ffd),_0x594eba=this[_0x447978(0x272)][_0x447978(0x275)][_0x447978(0x1c7)](_0x1cf422),_0x4dba16=_0x1f7758[_0x447978(0x1f0)][_0x447978(0x1c7)](this[_0x447978(0x2ad)]);_0x4dba16&&_0x4dba16[_0x447978(0x2bb)]>0x1?_0x594eba[_0x447978(0x2a6)]():this[_0x447978(0x23a)](_0x1f7758,_0x447978(0x251)+this[_0x447978(0x2ad)],()=>{const _0x4d1eec=_0x447978;0x2===_0x1f7758[_0x4d1eec(0x1f0)][_0x4d1eec(0x1c7)](this[_0x4d1eec(0x2ad)])[_0x4d1eec(0x2bb)]&&_0x594eba[_0x4d1eec(0x2a6)]();});}async[_0x563395(0x212)](_0x4da756,_0x262150,_0x6c4cfe,_0x5a8714){const _0x244016=_0x563395;if(!this[_0x244016(0x1cf)]&&this[_0x244016(0x299)][_0x244016(0x287)]==_0x262150){const _0x391fad=this[_0x244016(0x28e)](_0x6c4cfe,_0x5a8714);await this[_0x244016(0x2ab)](_0x391fad),this[_0x244016(0x25f)](_0x391fad,_0x262150,_0x6c4cfe[_0x244016(0x2a2)])||this[_0x244016(0x2b1)](_0x244016(0x2bf));}}async[_0x563395(0x253)](){const _0x487ac9=_0x563395;this[_0x487ac9(0x219)]();const {locale:_0x4535a2}=this[_0x487ac9(0x272)];let _0x450376;try{_0x450376=await this[_0x487ac9(0x205)][_0x487ac9(0x25a)]();}catch{const _0x5c9258=_0x4651ae(_0x4535a2,_0x487ac9(0x246));return void this[_0x487ac9(0x1c9)](_0x5c9258);}const _0x292f2e=_0x450376[_0x487ac9(0x286)]||_0x450376[_0x487ac9(0x2bd)];if(this[_0x487ac9(0x1fa)]!==_0x292f2e[_0x487ac9(0x2a2)]){const _0xf7f97c=_0x4651ae(_0x4535a2,_0x487ac9(0x2a9));return void this[_0x487ac9(0x1c9)](_0xf7f97c);}await this[_0x487ac9(0x292)](this[_0x487ac9(0x272)][_0x487ac9(0x2a1)][_0x487ac9(0x2b5)][_0x487ac9(0x27f)][_0x487ac9(0x1ea)](),!0x0);}[_0x563395(0x219)](){const _0x38ef91=_0x563395;this[_0x38ef91(0x205)][_0x38ef91(0x27a)](),this[_0x38ef91(0x1db)]=[],clearTimeout(this[_0x38ef91(0x271)]),this[_0x38ef91(0x1ec)](this[_0x38ef91(0x205)]);}[_0x563395(0x207)](_0x57a9e5){const _0x435dd6=_0x563395,_0x13413c=this[_0x435dd6(0x272)][_0x435dd6(0x275)][_0x435dd6(0x1c7)](_0x476ffd);this[_0x435dd6(0x23a)](_0x13413c,_0x435dd6(0x251)+this[_0x435dd6(0x2ad)],(_0x361607,{session:_0x28a346})=>{const _0x25477e=_0x435dd6;if(_0x28a346['id']===_0x13413c[_0x25477e(0x2b0)]){_0x361607[_0x25477e(0x1df)]();const _0x21db62=this[_0x25477e(0x272)][_0x25477e(0x275)][_0x25477e(0x22e)](_0x25477e(0x2c5))&&this[_0x25477e(0x272)][_0x25477e(0x275)][_0x25477e(0x1c7)](_0x25477e(0x2c5));let _0x46f6de=_0x28a346[_0x25477e(0x27c)];_0x21db62&&_0x21db62[_0x25477e(0x21b)]&&(_0x46f6de=_0x46f6de[_0x25477e(0x20b)](_0x26b315=>_0x25477e(0x1ee)!==_0x26b315)),this[_0x25477e(0x272)][_0x25477e(0x275)][_0x25477e(0x1c7)](_0x25477e(0x220))[_0x25477e(0x24c)](_0x46f6de,this[_0x25477e(0x2ad)]);}}),_0x13413c[_0x435dd6(0x247)](this[_0x435dd6(0x2ad)],_0x57a9e5);}[_0x563395(0x23c)](){const _0x5ae56e=_0x563395,_0x4d627a=this[_0x5ae56e(0x272)][_0x5ae56e(0x21d)][_0x5ae56e(0x1ed)];this[_0x5ae56e(0x272)][_0x5ae56e(0x21d)][_0x5ae56e(0x1ed)]=(..._0x12a5b1)=>{const _0x80c65a=_0x5ae56e;if(!_0x12a5b1[_0x12a5b1[_0x80c65a(0x2bb)]-0x1][_0x80c65a(0x20e)])throw new _0x3ed81d(_0x80c65a(0x290),this);_0x4d627a[_0x80c65a(0x22f)](this[_0x80c65a(0x272)][_0x80c65a(0x21d)],_0x12a5b1);};}[_0x563395(0x234)](){const _0x2a2a96=_0x563395;this[_0x2a2a96(0x272)][_0x2a2a96(0x21d)]['on'](_0x2a2a96(0x23d),(_0x1f4864,[_0x2d99ed])=>{const _0x2abc27=_0x2a2a96;if(this[_0x2abc27(0x299)][_0x2abc27(0x287)])throw new _0x3ed81d(_0x2abc27(0x270),this);_0x1f4864[_0x2abc27(0x2ae)](),this[_0x2abc27(0x1dd)]();const _0x4c294f=this[_0x2abc27(0x272)][_0x2abc27(0x203)][_0x2abc27(0x1c7)](_0x2abc27(0x24a)),_0xd07ed1=this[_0x2abc27(0x274)](_0x2d99ed,_0x4c294f);0x0==_0xd07ed1[_0x2abc27(0x2bb)]&&_0xd07ed1[_0x2abc27(0x1fe)](new _0x2f9c27(0x0)),_0x1f4864[_0x2abc27(0x211)]=this[_0x2abc27(0x292)](_0xd07ed1)[_0x2abc27(0x222)](()=>{const _0x1f6c8d=_0x2abc27;this[_0x1f6c8d(0x272)][_0x1f6c8d(0x275)][_0x1f6c8d(0x1c7)](_0x27bbb7)[_0x1f6c8d(0x213)](this),this[_0x1f6c8d(0x272)][_0x1f6c8d(0x21d)][_0x1f6c8d(0x250)](_0x1f6c8d(0x279));})[_0x2abc27(0x1f9)](_0x3f4234=>this[_0x2abc27(0x2b1)](_0x2abc27(0x2b3),_0x3f4234))[_0x2abc27(0x1e2)](()=>this[_0x2abc27(0x206)]());},{'priority':_0x2a2a96(0x2bc)}),this[_0x2a2a96(0x272)]['on'](_0x2a2a96(0x257),async(_0xca538a,[_0x244646,_0x19d540])=>{const _0x2be052=_0x2a2a96;_0xca538a[_0x2be052(0x2ae)]();const _0x17e3bb=this[_0x2be052(0x272)][_0x2be052(0x2a1)][_0x2be052(0x2b5)][_0x2be052(0x227)](_0x244646);if(!this[_0x2be052(0x29b)][_0x2be052(0x22e)](_0x244646)){const _0x3da448=_0x19d540&&_0x19d540[_0x2be052(0x21d)]?_0x19d540[_0x2be052(0x21d)]:'',_0x2b5204=_0x19d540&&_0x19d540[_0x2be052(0x1ef)]?_0x19d540[_0x2be052(0x1ef)]:{};await this[_0x2be052(0x1cb)](_0x244646,_0x3da448,_0x2b5204);}this[_0x2be052(0x272)][_0x2be052(0x2a1)][_0x2be052(0x26c)]({'isUndoable':!0x1},()=>{const _0x12d91f=_0x2be052;_0x17e3bb[_0x12d91f(0x22a)]=!0x0,this[_0x12d91f(0x272)][_0x12d91f(0x2a1)][_0x12d91f(0x2b5)][_0x12d91f(0x278)][_0x12d91f(0x25d)](_0x17e3bb);});},{'priority':_0x2a2a96(0x2bc)});}async[_0x563395(0x2ab)](_0x558543){const _0x4ef48c=_0x563395,_0x230cea=this[_0x4ef48c(0x272)][_0x4ef48c(0x275)][_0x4ef48c(0x1c7)](_0x8da8de),{connection:_0x321e7d}=this[_0x4ef48c(0x272)][_0x4ef48c(0x275)][_0x4ef48c(0x1c7)](_0x27bbb7),_0x4b11b8=new Set();for(const _0x57a08c of _0x558543){const _0x56e2ac=_0x57a08c[_0x4ef48c(0x1d1)];_0x56e2ac&&!_0x230cea[_0x4ef48c(0x210)](_0x56e2ac)&&_0x4b11b8[_0x4ef48c(0x2a7)](_0x56e2ac);}if(0x0===_0x4b11b8[_0x4ef48c(0x2c7)])return;const _0x51e836=await _0x58ffd5[_0x4ef48c(0x27b)](_0x321e7d,Array[_0x4ef48c(0x218)](_0x4b11b8));for(const _0x87c399 of _0x51e836)_0x230cea[_0x4ef48c(0x210)](_0x87c399['id'])||_0x230cea[_0x4ef48c(0x277)](_0x87c399);}[_0x563395(0x274)](_0x4f8e3d,_0xc07dac={}){const _0x3e05cd=_0x563395,_0x37a619=this[_0x3e05cd(0x272)][_0x3e05cd(0x2a1)],_0x506f61=[];let _0x18fc49=0x0;const _0x6b2149=_0x3e05cd(0x225)==typeof _0x4f8e3d?{'main':_0x4f8e3d}:_0x4f8e3d;for(const _0x49f9c7 of Object[_0x3e05cd(0x268)](_0x6b2149)){if(!this[_0x3e05cd(0x299)][_0x3e05cd(0x221)][_0x3e05cd(0x22e)](_0x49f9c7))throw new _0x3ed81d(_0x3e05cd(0x24d),this);const _0x3cbeb0=this[_0x3e05cd(0x272)][_0x3e05cd(0x21d)][_0x3e05cd(0x1f6)](_0x6b2149[_0x49f9c7]),_0x2a7bfb=this[_0x3e05cd(0x299)][_0x3e05cd(0x227)](_0x49f9c7),_0x2cdee4=new _0x2fdfca(_0x37a619[_0x3e05cd(0x235)](_0x2a7bfb,0x0),_0x3cbeb0,_0x18fc49++);_0x506f61[_0x3e05cd(0x1fe)](_0x2cdee4);for(const [_0x294b82,_0x324459]of _0x3cbeb0[_0x3e05cd(0x1e3)]){const _0x4849c5=_0x37a619[_0x3e05cd(0x1f5)](_0x37a619[_0x3e05cd(0x216)](_0x2a7bfb,_0x324459[_0x3e05cd(0x233)][_0x3e05cd(0x2ac)][_0x3e05cd(0x22b)]()),_0x37a619[_0x3e05cd(0x216)](_0x2a7bfb,_0x324459[_0x3e05cd(0x243)][_0x3e05cd(0x2ac)][_0x3e05cd(0x22b)]())),_0x16123d=new _0x26f800(_0x294b82,null,_0x4849c5,_0x37a619[_0x3e05cd(0x1e3)],!0x0,_0x18fc49++);_0x506f61[_0x3e05cd(0x1fe)](_0x16123d);}}if(_0xc07dac)for(const [_0x5b9f98,_0x5cfc86]of Object[_0x3e05cd(0x2a5)](_0xc07dac)){const _0x52c524=_0x37a619[_0x3e05cd(0x2b5)][_0x3e05cd(0x227)](_0x5b9f98);if(!_0x52c524)throw new _0x3ed81d(_0x3e05cd(0x1cc),null);for(const [_0x3e6ae7,_0x4e3f4f]of Object[_0x3e05cd(0x2a5)](_0x5cfc86))if(null!==_0x4e3f4f){const _0x540166=new _0x141fa3(_0x52c524,_0x3e6ae7,null,_0x4e3f4f,_0x18fc49++);_0x506f61[_0x3e05cd(0x1fe)](_0x540166);}}return _0x506f61;}async[_0x563395(0x1cb)](_0x30a4ea,_0x244ab6,_0x1766a0){const _0x26ab34=_0x563395;this[_0x26ab34(0x274)]({[_0x30a4ea]:_0x244ab6},{[_0x30a4ea]:_0x1766a0})[_0x26ab34(0x262)]((_0x3e6296,_0x548229)=>{const _0x312d36=_0x26ab34;_0x3e6296[_0x312d36(0x2c6)]=this[_0x312d36(0x299)][_0x312d36(0x287)]+_0x548229,_0x3e6296[_0x312d36(0x1e5)]=!0x0,this[_0x312d36(0x1f2)](_0x3e6296);}),this[_0x26ab34(0x27d)](),await this[_0x26ab34(0x2c0)]();}async[_0x563395(0x22c)](_0x446b9d,_0x37bca0){const _0x168fea=_0x563395;let _0x4d5c61;this[_0x168fea(0x2aa)]=_0x446b9d[_0x168fea(0x228)];const _0x23da1e=_0x446b9d[_0x168fea(0x280)]&&!_0x446b9d[_0x168fea(0x1e8)],_0x913f1b=_0x23da1e?0x0:_0x446b9d[_0x168fea(0x21d)][_0x168fea(0x2c6)];if(_0x37bca0[_0x168fea(0x262)](_0x37e772=>{const _0x127876=_0x168fea;_0x37e772[_0x127876(0x1e5)]=!0x0,_0x37e772[_0x127876(0x204)]=_0x446b9d[_0x127876(0x224)],_0x37e772[_0x127876(0x1d1)]=null;}),_0x23da1e)_0x4d5c61=_0x37bca0,this[_0x168fea(0x231)](_0x4d5c61,_0x23da1e);else{if(_0x446b9d[_0x168fea(0x1e8)]){const _0x1fca48=this[_0x168fea(0x274)](_0x446b9d[_0x168fea(0x1e8)]);this[_0x168fea(0x299)][_0x168fea(0x27f)][_0x168fea(0x287)]=-_0x1fca48[_0x168fea(0x2bb)],_0x1fca48[_0x168fea(0x262)](_0xae380f=>{const _0x221d3b=_0x168fea;_0xae380f[_0x221d3b(0x2c6)]-=_0x1fca48[_0x221d3b(0x2bb)],_0xae380f[_0x221d3b(0x204)]=_0x446b9d[_0x221d3b(0x224)],_0xae380f[_0x221d3b(0x1e5)]=!0x0,_0xae380f[_0x221d3b(0x1d1)]=null;}),this[_0x168fea(0x231)](_0x1fca48,!0x0),this[_0x168fea(0x217)][_0x168fea(0x287)]=-_0x1fca48[_0x168fea(0x2bb)]+this[_0x168fea(0x2aa)],this[_0x168fea(0x297)](_0x1fca48);}this[_0x168fea(0x299)][_0x168fea(0x27f)][_0x168fea(0x287)]=_0x913f1b,_0x4d5c61=this[_0x168fea(0x28e)](_0x446b9d[_0x168fea(0x21d)],_0x446b9d[_0x168fea(0x24f)]),await this[_0x168fea(0x2ab)](_0x4d5c61),this[_0x168fea(0x231)](_0x4d5c61,_0x23da1e);}_0x446b9d[_0x168fea(0x2a2)]&&(this[_0x168fea(0x1e6)][_0x168fea(0x1fc)](_0x4d5c61,_0x446b9d[_0x168fea(0x2a2)]),this[_0x168fea(0x1fa)]=_0x446b9d[_0x168fea(0x2a2)]),this[_0x168fea(0x217)][_0x168fea(0x287)]=_0x913f1b+this[_0x168fea(0x2aa)],this[_0x168fea(0x297)](_0x4d5c61),_0x37bca0[_0x168fea(0x20b)](_0x4563f8=>{const _0x1e85f7=_0x168fea,_0x224fbd=this[_0x1e85f7(0x2c8)](_0x4563f8);return _0x224fbd&&!this[_0x1e85f7(0x29b)][_0x1e85f7(0x22e)](_0x224fbd);})[_0x168fea(0x262)]((_0x1bbf05,_0x5f13ed)=>{const _0xd1f00c=_0x168fea;_0x1bbf05[_0xd1f00c(0x2c6)]=this[_0xd1f00c(0x299)][_0xd1f00c(0x287)]+_0x5f13ed,this[_0xd1f00c(0x1f2)](_0x1bbf05);}),this[_0x168fea(0x248)]()?(this[_0x168fea(0x261)]=0x0,this[_0x168fea(0x27d)](!0x0),await this[_0x168fea(0x2c0)]()):(this[_0x168fea(0x1cf)]=!0x1,this[_0x168fea(0x206)]());}[_0x563395(0x2b1)](_0x7cc935,_0x38d1da){const _0x3be4f0=_0x563395,_0x9f8543=_0x38d1da&&_0x38d1da[_0x3be4f0(0x240)];if(_0x9f8543&&_0x9f8543[_0x3be4f0(0x29f)](_0x3be4f0(0x26d)))throw _0x38d1da;const _0x5329a1=this[_0x3be4f0(0x272)][_0x3be4f0(0x275)][_0x3be4f0(0x1c7)](_0x27bbb7);throw this[_0x3be4f0(0x1cf)]=!0x0,_0x5329a1[_0x3be4f0(0x27a)](),this[_0x3be4f0(0x272)][_0x3be4f0(0x26a)](_0x3be4f0(0x282)),new _0x3ed81d(_0x7cc935,this[_0x3be4f0(0x272)],_0x9f8543?{'originalError':_0x9f8543}:void 0x0);}[_0x563395(0x1f2)](_0x2ff70a){const _0x2cbc9d=_0x563395;this[_0x2cbc9d(0x294)][_0x2cbc9d(0x22e)](_0x2ff70a)||(this[_0x2cbc9d(0x294)][_0x2cbc9d(0x2a7)](_0x2ff70a),this[_0x2cbc9d(0x1db)][_0x2cbc9d(0x1fe)](_0x2ff70a),this[_0x2cbc9d(0x284)]||_0x2cbc9d(0x1e4)==_0x2ff70a[_0x2cbc9d(0x295)]&&!_0x2ff70a[_0x2cbc9d(0x1e0)]||this[_0x2cbc9d(0x1dd)]());}[_0x563395(0x27d)](_0x3e2de7=!0x1){const _0x5d7e73=_0x563395;!_0x3e2de7&&this[_0x5d7e73(0x1cf)]||(this[_0x5d7e73(0x1cf)]=!0x0,clearTimeout(this[_0x5d7e73(0x271)]),this[_0x5d7e73(0x271)]=setTimeout(()=>{const _0x213d63=_0x5d7e73;this[_0x213d63(0x2c4)]()[_0x213d63(0x222)](_0x5454b5=>{const _0xc737e8=_0x213d63;_0x5454b5&&(this[_0xc737e8(0x206)](),this[_0xc737e8(0x1cf)]=!0x1);})[_0x213d63(0x1f9)](_0x359b31=>{const _0x54e0e8=_0x213d63;this[_0x54e0e8(0x206)](),this[_0x54e0e8(0x1cf)]=!0x1,function(_0xe0837){const _0x13877a=_0x54e0e8;return _0xe0837[_0x13877a(0x240)][_0x13877a(0x29f)](_0x13877a(0x288))||_0xe0837[_0x13877a(0x240)][_0x13877a(0x29f)](_0x13877a(0x2b4))||_0xe0837[_0x13877a(0x240)][_0x13877a(0x29f)](_0x13877a(0x298));}(_0x359b31)||this[_0x54e0e8(0x2b1)](_0x359b31[_0x54e0e8(0x240)],_0x359b31);});},this[_0x5d7e73(0x261)]));}[_0x563395(0x2c0)](){return new Promise(_0x2edb9a=>{const _0xb2be77=_0x4a75;this['on'](_0xb2be77(0x21f),()=>{_0x2edb9a();});});}async[_0x563395(0x2c4)](){const _0x5d719e=_0x563395,_0x20014f=this[_0x5d719e(0x272)][_0x5d719e(0x275)][_0x5d719e(0x1c7)](_0x1cf422);if(this[_0x5d719e(0x2b6)]()&&(_0x20014f[_0x5d719e(0x2a6)](),this[_0x5d719e(0x2b8)]=!0x1),!this[_0x5d719e(0x248)]())return!0x0;const _0x165ff6=[...this[_0x5d719e(0x1db)]];for(const _0x43c9aa of _0x165ff6)_0x43c9aa[_0x5d719e(0x296)]=this[_0x5d719e(0x299)][_0x5d719e(0x27f)][_0x5d719e(0x255)](_0x43c9aa);const _0x470821=this[_0x5d719e(0x1e6)][_0x5d719e(0x1d7)](_0x165ff6),_0x5af77d=G++,_0x3c44a9=this[_0x5d719e(0x28b)](_0x165ff6),_0x3039cf=await this[_0x5d719e(0x205)][_0x5d719e(0x1de)](_0x3c44a9,_0x3c44a9[_0x5d719e(0x2c6)],_0x470821);try{return await this[_0x5d719e(0x236)](_0x165ff6,_0x3039cf,_0x5af77d);}catch(_0x51efea){return this[_0x5d719e(0x2b1)](_0x5d719e(0x266),_0x51efea);}}async[_0x563395(0x236)](_0x56745b,_0x2ace21,_0x50e9e4){const _0x15194c=_0x563395;if(_0x15194c(0x252)in _0x2ace21)throw _0x2ace21[_0x15194c(0x252)];let _0x435ff6=!0x1;if(_0x2ace21[_0x15194c(0x280)]){_0x2ace21[_0x15194c(0x2a2)]&&(this[_0x15194c(0x1fa)]=_0x2ace21[_0x15194c(0x2a2)]),this[_0x15194c(0x1db)]=this[_0x15194c(0x1db)][_0x15194c(0x20b)](_0x40299b=>!_0x56745b[_0x15194c(0x28c)](_0x40299b));for(const _0x42adb5 of _0x56745b)_0x42adb5[_0x15194c(0x204)]=_0x15194c(0x20c)in _0x2ace21&&_0x2ace21[_0x15194c(0x20c)]||void 0x0;K(_0x56745b,_0x2ace21[_0x15194c(0x287)]-_0x56745b[_0x15194c(0x2bb)]),this[_0x15194c(0x297)](_0x56745b);const _0x51bed6=_0x56745b[_0x15194c(0x20b)](_0x1c637f=>{const _0x324e86=_0x15194c;if(!_0x1c637f[_0x324e86(0x1e5)])return!0x1;const _0xb1f6=this[_0x324e86(0x2c8)](_0x1c637f);return _0xb1f6&&!this[_0x324e86(0x29b)][_0x324e86(0x22e)](_0xb1f6);});K(_0x51bed6,this[_0x15194c(0x299)][_0x15194c(0x287)]),this[_0x15194c(0x231)](_0x51bed6),_0x435ff6=!0x0,this[_0x15194c(0x261)]=this[_0x15194c(0x263)];}else{const _0x350bb7=this[_0x15194c(0x28e)](_0x2ace21[_0x15194c(0x21d)],_0x2ace21[_0x15194c(0x24f)])[_0x15194c(0x20b)](_0x38899f=>_0x38899f[_0x15194c(0x2c6)]>=this[_0x15194c(0x2ba)]);_0x350bb7[_0x15194c(0x262)](_0x5ec007=>this[_0x15194c(0x1e1)](_0x5ec007)),this[_0x15194c(0x1db)]=this[_0x15194c(0x1db)][_0x15194c(0x20b)](_0x569fda=>!_0x569fda[_0x15194c(0x1e5)]||!this[_0x15194c(0x29b)][_0x15194c(0x22e)](this[_0x15194c(0x2c8)](_0x569fda))),this[_0x15194c(0x1db)][_0x15194c(0x2bb)]&&K(this[_0x15194c(0x1db)],this[_0x15194c(0x1db)][0x0][_0x15194c(0x2c6)]),await this[_0x15194c(0x2ab)](_0x350bb7),_0x435ff6=this[_0x15194c(0x25f)](_0x350bb7,_0x2ace21[_0x15194c(0x287)],_0x2ace21[_0x15194c(0x2a2)]),this[_0x15194c(0x261)]=Math[_0x15194c(0x1d2)](this[_0x15194c(0x261)]/0x2);}return _0x435ff6?!this[_0x15194c(0x248)]()||(this[_0x15194c(0x27d)](!0x0),!0x1):this[_0x15194c(0x2b1)](_0x15194c(0x1d4));}[_0x563395(0x25f)](_0x1978aa,_0x57206e,_0x314bd3){const _0x2753b6=_0x563395;try{const _0x2dbd15={'document':this[_0x2753b6(0x299)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1b3245,operationsB:_0x378498,originalOperations:_0x5aa04b}=_0x24882b(_0x1978aa,this[_0x2753b6(0x1db)],_0x2dbd15);K(_0x1b3245,this[_0x2753b6(0x299)][_0x2753b6(0x287)]),K(_0x378498,_0x57206e);for(const _0x12b111 of _0x1b3245){const _0x5315e9=_0x5aa04b[_0x2753b6(0x1c7)](_0x12b111);_0x12b111[_0x2753b6(0x1d1)]=_0x5315e9?_0x5315e9[_0x2753b6(0x1d1)]:null;}_0x314bd3&&(this[_0x2753b6(0x1e6)][_0x2753b6(0x1fc)](_0x1978aa,_0x314bd3),this[_0x2753b6(0x1fa)]=_0x314bd3),this[_0x2753b6(0x1db)]=[..._0x378498],this[_0x2753b6(0x231)](_0x1b3245),this[_0x2753b6(0x297)](_0x1978aa);}catch(_0x286634){return console[_0x2753b6(0x252)](_0x286634),!0x1;}return!0x0;}[_0x563395(0x231)](_0x41530b,_0x158a2b=!0x1){const _0x936675=_0x563395;this[_0x936675(0x272)][_0x936675(0x2a1)][_0x936675(0x26c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5917bc=>{const _0x294a84=_0x936675;for(const _0x379bfd of _0x41530b)this[_0x294a84(0x294)][_0x294a84(0x2a7)](_0x379bfd),this[_0x294a84(0x1e1)](_0x379bfd),_0x5917bc[_0x294a84(0x1dc)][_0x294a84(0x1ce)](_0x379bfd),this[_0x294a84(0x272)][_0x294a84(0x2a1)][_0x294a84(0x208)](_0x379bfd);});}[_0x563395(0x1e1)](_0x5e2fbe){const _0x5ee9ab=_0x563395,_0x34d8a3=this[_0x5ee9ab(0x2c8)](_0x5e2fbe);_0x34d8a3&&this[_0x5ee9ab(0x29b)][_0x5ee9ab(0x2a7)](_0x34d8a3);}[_0x563395(0x2c8)](_0x29d9fc){const _0x20229b=_0x563395;let _0x415782,_0x3137b2;switch(_0x29d9fc[_0x20229b(0x295)]){case _0x20229b(0x2c2):_0x415782=_0x29d9fc[_0x20229b(0x28a)][_0x20229b(0x21e)];break;case _0x20229b(0x1e4):if(_0x3137b2=_0x29d9fc[_0x20229b(0x209)],!_0x3137b2)return null;_0x415782=_0x3137b2[_0x20229b(0x21e)];break;case _0x20229b(0x1eb):_0x415782=_0x29d9fc[_0x20229b(0x21e)];break;case _0x20229b(0x1fb):_0x415782=_0x29d9fc[_0x20229b(0x29e)];break;case _0x20229b(0x2be):_0x415782=_0x29d9fc[_0x20229b(0x25e)][_0x20229b(0x21e)];break;default:return null;}return _0x415782[_0x20229b(0x24e)];}[_0x563395(0x297)](_0x4d2b70){const _0x2c21e7=_0x563395;_0x4d2b70[_0x2c21e7(0x262)](_0x500fae=>{const _0x52a5e6=_0x2c21e7,_0x50daac=_0x500fae[_0x52a5e6(0x232)]();_0x50daac[_0x52a5e6(0x1d1)]=_0x500fae[_0x52a5e6(0x1d1)],_0x50daac[_0x52a5e6(0x1e5)]=!!_0x500fae[_0x52a5e6(0x1e5)],_0x50daac[_0x52a5e6(0x204)]=_0x500fae[_0x52a5e6(0x204)],_0x50daac[_0x52a5e6(0x2c6)]+=this[_0x52a5e6(0x2aa)],_0x500fae[_0x52a5e6(0x23f)]&&this[_0x52a5e6(0x264)][_0x52a5e6(0x2a7)](_0x50daac),this[_0x52a5e6(0x217)][_0x52a5e6(0x1ce)](_0x50daac);});}[_0x563395(0x1c9)](_0x46ce8a){const _0x1e04dd=_0x563395,_0x2478e7=this[_0x1e04dd(0x272)][_0x1e04dd(0x275)][_0x1e04dd(0x1c7)](_0x1e04dd(0x29c)),_0x7f07df=this[_0x1e04dd(0x272)][_0x1e04dd(0x202)];_0x46ce8a||(_0x46ce8a=_0x4651ae(_0x7f07df,_0x1e04dd(0x28f))),_0x2478e7[_0x1e04dd(0x2a0)](_0x46ce8a,{'title':_0x4651ae(_0x7f07df,_0x1e04dd(0x269)),'namespace':_0x1e04dd(0x1ca)}),this[_0x1e04dd(0x2a8)]=!0x0,clearTimeout(this[_0x1e04dd(0x271)]),this[_0x1e04dd(0x1db)]=[],this[_0x1e04dd(0x272)][_0x1e04dd(0x275)][_0x1e04dd(0x1c7)](_0x27bbb7)[_0x1e04dd(0x27a)]();}[_0x563395(0x1dd)](){const _0x5d3aeb=_0x563395;this[_0x5d3aeb(0x284)]||(this[_0x5d3aeb(0x284)]=this[_0x5d3aeb(0x272)][_0x5d3aeb(0x275)][_0x5d3aeb(0x1c7)](_0x27b87e)[_0x5d3aeb(0x2a7)](_0x4651ae(this[_0x5d3aeb(0x272)][_0x5d3aeb(0x202)],_0x5d3aeb(0x258))));}[_0x563395(0x206)](){const _0x321e78=_0x563395;this[_0x321e78(0x284)]&&(this[_0x321e78(0x272)][_0x321e78(0x275)][_0x321e78(0x1c7)](_0x27b87e)[_0x321e78(0x21c)](this[_0x321e78(0x284)]),this[_0x321e78(0x284)]=null);}[_0x563395(0x28b)](_0x11d602){const _0x2fe138=_0x563395,_0x2ff158=_0x11d602[_0x2fe138(0x293)](_0x3d3748=>_0x3d3748[_0x2fe138(0x20d)]());return this[_0x2fe138(0x26f)][_0x2fe138(0x241)](_0x2ff158);}[_0x563395(0x28e)](_0x4fbb8b,_0xbd269e){const _0x1caea6=_0x563395;return this[_0x1caea6(0x26f)][_0x1caea6(0x1e7)](_0x4fbb8b)[_0x1caea6(0x293)]((_0x31092d,_0x98faa8)=>{const _0xe28982=_0x1caea6,_0x3377ff=_0xe28982(0x23d)==_0xbd269e[_0x98faa8][_0xe28982(0x295)];if(_0xe28982(0x1f1)==_0x31092d[_0xe28982(0x1d3)]){const _0x458a3a=_0x31092d[_0xe28982(0x28a)][_0xe28982(0x21e)];!this[_0xe28982(0x299)][_0xe28982(0x227)](_0x458a3a)&&(this[_0xe28982(0x299)][_0xe28982(0x281)](_0xe28982(0x23b),_0x458a3a)[_0xe28982(0x254)]=!0x1);}const _0x367c3a=_0x23f92f[_0xe28982(0x1d8)](_0x31092d,this[_0xe28982(0x299)]);return _0x367c3a[_0xe28982(0x296)]=_0x31092d[_0xe28982(0x296)],_0x367c3a[_0xe28982(0x1e5)]=_0x3377ff,_0x367c3a[_0xe28982(0x1d1)]=_0x3377ff?null:_0xbd269e[_0x98faa8][_0xe28982(0x214)],_0x367c3a[_0xe28982(0x23f)]=_0xe28982(0x29a)===_0xbd269e[_0x98faa8][_0xe28982(0x295)],_0x367c3a[_0xe28982(0x204)]=_0xbd269e[_0x98faa8][_0xe28982(0x204)],_0x367c3a;});}[_0x563395(0x28d)](){const _0x268dfc=_0x563395;this[_0x268dfc(0x2b8)]=!0x0,this[_0x268dfc(0x2b6)]()?this[_0x268dfc(0x27d)]():this[_0x268dfc(0x2b8)]=!0x1;}[_0x563395(0x2b6)](){const _0x322b68=_0x563395,_0x26cd89=this[_0x322b68(0x272)][_0x322b68(0x275)][_0x322b68(0x1c7)](_0x476ffd)[_0x322b68(0x1f0)][_0x322b68(0x1c7)](this[_0x322b68(0x2ad)]);return!this[_0x322b68(0x272)][_0x322b68(0x20a)]&&!!_0x26cd89&&_0x26cd89[_0x322b68(0x2bb)]>0x1&&this[_0x322b68(0x2b8)];}[_0x563395(0x248)](){const _0x580b90=_0x563395;return this[_0x580b90(0x1db)][_0x580b90(0x2bb)]>0x0||this[_0x580b90(0x2b6)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x49f93c,_0x536e2f){const _0x165453=_0x563395;for(const _0x5576f2 of _0x49f93c)_0x5576f2[_0x165453(0x2c6)]=_0x536e2f++;}function _0x4871(){const _0x3f3e7e=['_handleSendingSelectionMarkers','push','removeFromReconnectionStack','30618672DKPAaG','getOperationAuthor','locale','config','createdAt','_service','_clearPendingAction','_initSessionsHandling','applyOperation','newRange','isReadOnly','filter','lastOperationAcceptedAt','toJSON','suppressErrorInCollaboration','change:hasDomSelection','getUser','return','_handleReceivedOperations','addToReconnectionStack','userId','requires','createPositionFromPath','serverHistory','from','_disconnectService','_ignoredOperations','isEnabled','remove','data','root','change:_isPendingUpdate','Permissions','roots','then','sessionId','sessionCreatedAt','string','842672hcIFkT','getRoot','offset','disableReadOnlyMode','_isLoaded','slice','_handleInitialConnectionData','404','has','apply','rtc-destroyed','_applyOperationsSet','clone','start','_setUpDataInit','createPositionAt','_handleServerResponse','1260740RtKONx','pluginName','_handleReconnectionResponse','listenTo','$root','_initThrowingOnDataSet','init','selection','_isDisconnection','message','compress','_isEditingAllowed','end','7795164FHzWZB','409','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','register','_shouldSendUpdate','reconnection:\x20flushed\x20session','rootsAttributes','cloudDocumentVersion','setPermissions','realtimecollaborationclient-init-non-existent-root','rootName','metadata','fire','sessionAdd:','error','_connectAfterSessionHasBeenFlushed','_isAttached','isUndoneOperation','RealTimeCollaborationClient','loadRoot','PENDING_ACTION_SENDING_DATA','reconnect','getDocumentDetails','realtimecollaborationclient-init-session-connection-error','change:range','_bufferRootLoad','targetPosition','_handleExternalOperations','state','_currentBufferDelay','forEach','_baseBufferDelay','_disconnectionOperations','connection','realtimecollaborationclient-sendbufferedoperations','isOfficialPlugin','keys','Synchronization\x20issue','enableReadOnlyMode','reset','enqueueChange','realtimecollaborationclient','change:_isEditingAllowed','_compressor','realtimecollaborationclient-init-document-already-initialized','_sendBufferedOperationsDelayId','editor','operationsReceived','_getOperationsFromInitData','plugins','CollaborativeEditingService','addUser','differ','ready','disconnect','getMany','permissions','_sendBufferedOperationsDelayed','cloudServices.bundleVersion','history','wereChangesApplied','createRoot','realtimecollaborationclient-error','code','_pendingAction','3hjRCFj','currentDocumentSession','version','cloud-services-internal-error:\x20Not\x20connected.','29346jlhSrZ','position','_compressOperations','includes','_refreshUserSelectionMarkers','_decompressOperations','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.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','editing','_connectService','map','_knownOperations','type','wasUndone','_updateServerHistory','cloud-services-internal-error:\x20Request\x20timeout.','_document','cs:removeUser','_knownRootNames','Notification','directChange','affectedSelectable','startsWith','showWarning','model','lastOperationId','collaboration-missing-channelid','connected','entries','createUserMarkerOperations','add','_hasSynchronizationProblem','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.','_offset','_fetchMissingUsers','path','_channelId','stop','collaboration.channelId','mySessionId','_crash','collaboration','realtimecollaborationclient-init-connection-failed','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','document','_shouldSendSelectionUpdate','3978002rZOQSB','_hasSelectionChanged','realtimecollaborationclient-init-service-internal-error','_lastServerVersion','length','high','lastDocumentSession','move','realtimecollaborationclient-init-service-incorrect-server-operation','_waitUntilSynced','_operationToId','insert','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_sendBufferedOperations','CommentsOnly','baseVersion','size','_getAffectedRoot','isDocumentOperation','view','get','rtc-offline','_handleReconnectionError','real-time-collaboration','_loadRoot','multi-root-editor-root-attributes-no-root','connect','addOperation','_isPendingUpdate','2718950YxpEwv','_authorId','round','__className','realtimecollaborationclient-handleserverresponse','isPremiumPlugin','bind','getIdOfTheLastOperation','fromJSON','lastSyncVersion','destroy','_bufferedOperations','batch','_setPendingAction','sendOperations','off','affectsData','_addKnownRoot','finally','markers','marker','_isInit','_operationIdentifier','decompress','initData','unregister','getOperations','addRootAttribute','stopListening','set','document:write','attributes','channelSessions','InsertOperation','_saveOperationInBuffer','disconnected','define','createRange','parse','_isConnected','getConnectedSessions','catch','_lastSyncedOperationId','addRoot','setIdForTheLastOperation'];_0x4871=function(){return _0x3f3e7e;};return _0x4871();}class J{[_0x563395(0x21a)];[_0x563395(0x2c1)];constructor(_0x4a315c){const _0x12c4d0=_0x563395;this[_0x12c4d0(0x21a)]=_0x4a315c,this[_0x12c4d0(0x2c1)]=new WeakMap();}[_0x563395(0x1d7)](_0xd4ac11){const _0x3f12a5=_0x563395;let _0x4b6e48=_0xd4ac11[_0x3f12a5(0x2bb)];for(;_0x4b6e48--;){const _0x790509=_0xd4ac11[_0x4b6e48];if(!this[_0x3f12a5(0x21a)][_0x3f12a5(0x22e)](_0x790509)){if(!this[_0x3f12a5(0x2c1)][_0x3f12a5(0x22e)](_0x790509)){const _0x3df27=_0x1f7307()[_0x3f12a5(0x22b)](0x1,0x12);this[_0x3f12a5(0x2c1)][_0x3f12a5(0x1ed)](_0x790509,_0x3df27);}return this[_0x3f12a5(0x2c1)][_0x3f12a5(0x1c7)](_0x790509);}}}[_0x563395(0x1fc)](_0x4152fb,_0x447127){const _0x37142a=_0x563395;if(!_0x447127)return;let _0xd37b36=_0x4152fb[_0x37142a(0x2bb)];for(;_0xd37b36--;){const _0x1aa219=_0x4152fb[_0xd37b36];this[_0x37142a(0x21a)][_0x37142a(0x22e)](_0x1aa219)||this[_0x37142a(0x2c1)][_0x37142a(0x1ed)](_0x1aa219,_0x447127);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5f41(_0x247cf0,_0x221ce4){const _0x21997b=_0x2199();return _0x5f41=function(_0x5f41af,_0x2509b4){_0x5f41af=_0x5f41af-0xc0;let _0x1f1f73=_0x21997b[_0x5f41af];return _0x1f1f73;},_0x5f41(_0x247cf0,_0x221ce4);}const _0x486c7d=_0x5f41;(function(_0x5392df,_0x312dcf){const _0x592d36=_0x5f41,_0x3e58ba=_0x5392df();while(!![]){try{const _0x257981=-parseInt(_0x592d36(0xf5))/0x1*(parseInt(_0x592d36(0xed))/0x2)+-parseInt(_0x592d36(0xf3))/0x3+parseInt(_0x592d36(0xc0))/0x4+-parseInt(_0x592d36(0xe2))/0x5*(-parseInt(_0x592d36(0xd4))/0x6)+parseInt(_0x592d36(0xca))/0x7+parseInt(_0x592d36(0xec))/0x8+parseInt(_0x592d36(0xe7))/0x9*(parseInt(_0x592d36(0xc6))/0xa);if(_0x257981===_0x312dcf)break;else _0x3e58ba['push'](_0x3e58ba['shift']());}catch(_0x2aae74){_0x3e58ba['push'](_0x3e58ba['shift']());}}}(_0x2199,0x4f260));import{ContextPlugin as _0x5e3f13}from'ckeditor5/src/core.js';import{Collection as _0x4515e1,CKEditorError as _0x20de7b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2627e2}from'./websocketgateway.js';import{Users as _0x48a61a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2199(){const _0x22d31b=['Sessions','isOfficialPlugin','get','sessionAdd:','register','1347945WGwbIg','fire','4pzTOBr','_handleSessionAdd','assign','_users','role','clear','mySessionId','requires','_registeredSessions','745816MLnvKM','getUserBySessionId','channelConnectedUsers','orderNumber','sessions-register-already-registered','sessions-unregister-not-exist','60010vgMpzU','state','defineMe','forEach','1094254NXWLhr','pluginName','init','sessionId','connection','getUser','set','_createUser','size','add','6LGYLCr','_handleSessionRemove','values','isPremiumPlugin','delete','_uniqueUsersCount','context','remove','isMe','stopListening','change:state','getUserRole','connected','channelSessions','524465pjIjrY','listenTo','allConnectedUsers','getUserSessions','plugins','873wqFZBT','has','addUser','unregister','user','1364872sphuTA','213434KstDCg'];_0x2199=function(){return _0x22d31b;};return _0x2199();}export class Sessions extends _0x5e3f13{[_0x486c7d(0xe1)];[_0x486c7d(0xc2)];[_0x486c7d(0xe4)];[_0x486c7d(0xfd)];[_0x486c7d(0xd9)];[_0x486c7d(0xf8)];static get[_0x486c7d(0xcb)](){const _0x4d7970=_0x486c7d;return _0x4d7970(0xee);}static get[_0x486c7d(0xef)](){return!0x0;}static get[_0x486c7d(0xd7)](){return!0x0;}static get[_0x486c7d(0xfc)](){return[_0x2627e2,_0x48a61a];}constructor(_0x329208){const _0x49fc37=_0x486c7d;super(_0x329208),this[_0x49fc37(0xe1)]=new Map(),this[_0x49fc37(0xc2)]=new Map(),this[_0x49fc37(0xe4)]=new _0x4515e1(),this[_0x49fc37(0xfd)]=new Map(),this[_0x49fc37(0xd9)]=0x0,this[_0x49fc37(0xf8)]=this[_0x49fc37(0xda)][_0x49fc37(0xe6)][_0x49fc37(0xf0)](_0x48a61a);}[_0x486c7d(0xcc)](){const _0x30ad82=_0x486c7d,_0x455c94=this[_0x30ad82(0xda)][_0x30ad82(0xe6)][_0x30ad82(0xf0)](_0x2627e2);this[_0x30ad82(0xe3)](_0x455c94,_0x30ad82(0xde),(_0x5b7178,_0x313cba,_0x506e95)=>{const _0x1b4a02=_0x30ad82;if(_0x1b4a02(0xe0)!==_0x506e95)this[_0x1b4a02(0xe1)][_0x1b4a02(0xc9)](_0x3c1239=>_0x3c1239[_0x1b4a02(0xfa)]()),this[_0x1b4a02(0xc2)][_0x1b4a02(0xc9)](_0x193f10=>_0x193f10[_0x1b4a02(0xfa)]()),this[_0x1b4a02(0xe4)][_0x1b4a02(0xfa)]();else{for(const [_0x536940,_0xef3358]of this[_0x1b4a02(0xfd)])for(const _0x24b999 of _0xef3358)this[_0x1b4a02(0xf6)](_0x536940,_0x24b999);}}),this[_0x30ad82(0xd1)](_0x455c94[_0x30ad82(0xce)]['me'],!0x0);}[_0x486c7d(0xf2)](_0x3d23d4,_0x2dea95){const _0x4d51e6=_0x486c7d;if(this[_0x4d51e6(0xfd)][_0x4d51e6(0xe8)](_0x3d23d4))throw new _0x20de7b(_0x4d51e6(0xc4),null,{'channelId':_0x3d23d4});this[_0x4d51e6(0xfd)][_0x4d51e6(0xd0)](_0x3d23d4,_0x2dea95),this[_0x4d51e6(0xe1)][_0x4d51e6(0xd0)](_0x3d23d4,new _0x4515e1()),this[_0x4d51e6(0xc2)][_0x4d51e6(0xd0)](_0x3d23d4,new _0x4515e1()),this[_0x4d51e6(0xe3)](_0x2dea95,_0x4d51e6(0xd3),(_0x2f990b,_0x46baba)=>this[_0x4d51e6(0xf6)](_0x3d23d4,_0x46baba)),this[_0x4d51e6(0xe3)](_0x2dea95,_0x4d51e6(0xdb),(_0x37f094,_0x459e9e)=>this[_0x4d51e6(0xd5)](_0x3d23d4,_0x459e9e));for(const _0x4cadd8 of _0x2dea95)this[_0x4d51e6(0xf6)](_0x3d23d4,_0x4cadd8);}[_0x486c7d(0xea)](_0xcd4eff){const _0x8c039=_0x486c7d;if(!this[_0x8c039(0xfd)][_0x8c039(0xe8)](_0xcd4eff))throw new _0x20de7b(_0x8c039(0xc5),null,{'channelId':_0xcd4eff});const _0x43501e=this[_0x8c039(0xfd)][_0x8c039(0xf0)](_0xcd4eff);this[_0x8c039(0xdd)](_0x43501e);for(const _0x21fc8c of _0x43501e)_0x8c039(0xe0)===this[_0x8c039(0xda)][_0x8c039(0xe6)][_0x8c039(0xf0)](_0x2627e2)[_0x8c039(0xc7)]&&this[_0x8c039(0xd5)](_0xcd4eff,_0x21fc8c);this[_0x8c039(0xfd)][_0x8c039(0xd8)](_0xcd4eff),this[_0x8c039(0xe1)][_0x8c039(0xd8)](_0xcd4eff),this[_0x8c039(0xc2)][_0x8c039(0xd8)](_0xcd4eff);}get[_0x486c7d(0xfb)](){const _0x112ac7=_0x486c7d;return this[_0x112ac7(0xda)][_0x112ac7(0xe6)][_0x112ac7(0xf0)](_0x2627e2)[_0x112ac7(0xce)][_0x112ac7(0xcd)];}[_0x486c7d(0xc1)](_0x40cf7e){const _0x3a0c24=_0x486c7d;for(const _0x38f855 of this[_0x3a0c24(0xe1)][_0x3a0c24(0xd6)]())for(const _0xa8998f of _0x38f855)if(_0xa8998f['id']===_0x40cf7e)return _0xa8998f[_0x3a0c24(0xeb)];}[_0x486c7d(0xe5)](_0x25931c,_0x42f923){const _0x22d6f2=_0x486c7d,_0x57bd43=_0x42f923?[this[_0x22d6f2(0xe1)][_0x22d6f2(0xf0)](_0x42f923)]:this[_0x22d6f2(0xe1)][_0x22d6f2(0xd6)](),_0x241b74=new Set();for(const _0x58a985 of _0x57bd43)for(const _0x44f20f of _0x58a985)_0x44f20f[_0x22d6f2(0xeb)]['id']===_0x25931c['id']&&_0x241b74[_0x22d6f2(0xd3)](_0x44f20f['id']);return _0x241b74;}[_0x486c7d(0xdf)](_0x18bd88){const _0xa6e985=_0x486c7d;for(const _0x4a3670 of this[_0xa6e985(0xe1)][_0xa6e985(0xd6)]())for(const _0x374ba3 of _0x4a3670)if(_0x374ba3[_0xa6e985(0xeb)]===_0x18bd88)return _0x374ba3[_0xa6e985(0xf9)];}[_0x486c7d(0xf6)](_0x5c6f0d,_0x4ae146){const _0x105d91=_0x486c7d;if(_0x105d91(0xe0)!==this[_0x105d91(0xda)][_0x105d91(0xe6)][_0x105d91(0xf0)](_0x2627e2)[_0x105d91(0xc7)])return;const _0x8e8f57=_0x4ae146[_0x105d91(0xeb)],_0x2f315c=this[_0x105d91(0xf8)][_0x105d91(0xcf)](_0x8e8f57['id'])||this[_0x105d91(0xd1)](_0x8e8f57),_0x31bc49=Object[_0x105d91(0xf7)]({},_0x4ae146,{'user':_0x2f315c});this[_0x105d91(0xe1)][_0x105d91(0xf0)](_0x5c6f0d)[_0x105d91(0xd3)](_0x31bc49);const _0x182321=this[_0x105d91(0xc2)][_0x105d91(0xf0)](_0x5c6f0d);_0x182321[_0x105d91(0xe8)](_0x2f315c['id'])||_0x182321[_0x105d91(0xd3)](_0x2f315c),this[_0x105d91(0xe4)][_0x105d91(0xe8)](_0x2f315c['id'])||this[_0x105d91(0xe4)][_0x105d91(0xd3)](_0x2f315c,_0x2f315c[_0x105d91(0xdc)]?0x0:void 0x0),this[_0x105d91(0xf4)](_0x105d91(0xf1)+_0x5c6f0d,{'channelId':_0x5c6f0d,'session':_0x31bc49});}[_0x486c7d(0xd5)](_0x2c3f87,_0x50e86e){const _0x5a89d0=_0x486c7d;if(_0x5a89d0(0xe0)!==this[_0x5a89d0(0xda)][_0x5a89d0(0xe6)][_0x5a89d0(0xf0)](_0x2627e2)[_0x5a89d0(0xc7)])return;const _0x38a3dd=this[_0x5a89d0(0xc2)][_0x5a89d0(0xf0)](_0x2c3f87),_0x3b91b2=_0x50e86e[_0x5a89d0(0xeb)];_0x3b91b2['id']&&(this[_0x5a89d0(0xe1)][_0x5a89d0(0xf0)](_0x2c3f87)[_0x5a89d0(0xdb)](_0x50e86e['id']),_0x38a3dd[_0x5a89d0(0xe8)](_0x3b91b2['id'])&&!this[_0x5a89d0(0xe5)](_0x3b91b2,_0x2c3f87)[_0x5a89d0(0xd2)]&&_0x38a3dd[_0x5a89d0(0xdb)](_0x3b91b2['id']),this[_0x5a89d0(0xe4)][_0x5a89d0(0xf0)](_0x3b91b2['id'])&&!this[_0x5a89d0(0xe5)](_0x3b91b2)[_0x5a89d0(0xd2)]&&this[_0x5a89d0(0xe4)][_0x5a89d0(0xdb)](_0x3b91b2['id']));}[_0x486c7d(0xd1)](_0x559f1f,_0x540713){const _0x2aca8e=_0x486c7d,_0x22f335=this[_0x2aca8e(0xf8)][_0x2aca8e(0xe9)](_0x559f1f);return _0x540713&&this[_0x2aca8e(0xf8)][_0x2aca8e(0xc8)](_0x559f1f['id']),_0x22f335[_0x2aca8e(0xc3)]=this[_0x2aca8e(0xd9)]++,_0x22f335;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a120f=_0xfd0e;(function(_0x5cf02d,_0x38b313){const _0x4b8592=_0xfd0e,_0x3fc01a=_0x5cf02d();while(!![]){try{const _0x54840a=-parseInt(_0x4b8592(0x133))/0x1*(parseInt(_0x4b8592(0x13b))/0x2)+-parseInt(_0x4b8592(0x1a0))/0x3*(parseInt(_0x4b8592(0x137))/0x4)+-parseInt(_0x4b8592(0x157))/0x5+-parseInt(_0x4b8592(0x159))/0x6+parseInt(_0x4b8592(0x19f))/0x7*(parseInt(_0x4b8592(0x184))/0x8)+-parseInt(_0x4b8592(0x150))/0x9+parseInt(_0x4b8592(0x174))/0xa;if(_0x54840a===_0x38b313)break;else _0x3fc01a['push'](_0x3fc01a['shift']());}catch(_0x30f5a3){_0x3fc01a['push'](_0x3fc01a['shift']());}}}(_0x8b96,0x5ffa9));import{Plugin as _0x34caa2}from'ckeditor5/src/core.js';import{global as _0x454886,DomEmitterMixin as _0x2b583f}from'ckeditor5/src/utils.js';function _0xfd0e(_0x51d27e,_0x8013aa){const _0x8b968f=_0x8b96();return _0xfd0e=function(_0xfd0e13,_0xe937e1){_0xfd0e13=_0xfd0e13-0x122;let _0x4af766=_0x8b968f[_0xfd0e13];return _0x4af766;},_0xfd0e(_0x51d27e,_0x8013aa);}import{Sessions as _0xd075a8}from'./sessions.js';function _0x8b96(){const _0x49c4dd=['addEventListener','destroy','isObject','change:range','ck-user__marker_hovered','hasContent','ck-user__marker\x20','nodeAfter','toRange','reconvertMarker','name','add','conversion','createElement','markerName','ck-user__marker-tooltip','rootName','split','afterInit','outerHTML','_createdBatches','userPositionMarker','selection','hasDomSelection','removeMarker','16981730HXScGv','user:range','getStart','createUserMarkerOperations','startsWith','model','keydown','getCustomProperty','isPremiumPlugin','marker','newRange','schema','updateMarker','for','stopListening','createUIElement','192WahgUf','getMarkerClass','delete','document','contenteditable','color','parent','user:range:','applyOperation','getAttribute','isDocumentOperation','getRange','mouseenter','has','setAttribute','undo','user:position','user:','detach','setCustomProperty','checkChild','data-session-id','commands','get','clear','orderNumber','change','78666aMbqEJ','87PIvqsa','enqueueChange','ck-user__selection','getNearestSelectionRange','$text','false','mouseleave','UserMarkers','getPositions','isLimit','toDomElement','listenTo','getSelectionClass','set','classList','render','type','deletionPosition','init','oldRange','fromRange','start','remove','user:position:','markerRange','mapper','getContainedElement','Escape','editor','createRange','5nKNHRw','innerHTML','pluginName','end','71444bjTjnE','size','batch','_domEmitter','23286julkGi','editingDowncast','addMarker','element','isOfficialPlugin','markerToElement','isInline','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','spellcheck','markers','markerNameToElements','markerToHighlight','view','textContent','editing','update:user:range','removeClass','tableCell','isSimilar','highest','isCollapsed','1460961NhDViE','getUserBySessionId','span','root','getFirstRange','plugins','requires','1765990sIXnha','mySessionId','2898270dmLikf','$graveyard'];_0x8b96=function(){return _0x49c4dd;};return _0x8b96();}import{ModelLiveRange as _0x3c876a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x34caa2{[_0x1a120f(0x13a)]=new(_0x2b583f())();static get[_0x1a120f(0x156)](){return[_0xd075a8];}static get[_0x1a120f(0x135)](){const _0xef2972=_0x1a120f;return _0xef2972(0x1a7);}static get[_0x1a120f(0x13f)](){return!0x0;}static get[_0x1a120f(0x17c)](){return!0x0;}[_0x1a120f(0x127)](){const _0x2bb2bb=_0x1a120f,_0x5ec2d9=this[_0x2bb2bb(0x131)],_0x55fb15=_0x5ec2d9[_0x2bb2bb(0x155)][_0x2bb2bb(0x19b)](_0xd075a8);_0x5ec2d9[_0x2bb2bb(0x167)][_0x2bb2bb(0x181)](_0x2bb2bb(0x13c))[_0x2bb2bb(0x140)]({'model':_0x2bb2bb(0x194),'view':(_0x88a4d2,{writer:_0x58c700})=>function(_0xe5fd26,_0x5ca8ba,_0x42d58f,_0x3b3ca3){const _0x21a193=_0x2bb2bb,_0x41f009=_0xe5fd26[_0x21a193(0x169)][_0x21a193(0x16c)](':')[0x2],_0x4e0f9d=_0x42d58f[_0x21a193(0x151)](_0x41f009);if(!_0x4e0f9d||_0x41f009===_0x42d58f[_0x21a193(0x158)])return;if(!_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x17f)][_0x21a193(0x198)](_0xe5fd26[_0x21a193(0x12d)][_0x21a193(0x12a)],_0x21a193(0x1a4)))return;const _0x2aef03={'class':_0x21a193(0x161)+_0x4e0f9d[_0x21a193(0x189)][_0x21a193(0x185)](),'data-name':_0x4e0f9d[_0x21a193(0x165)],'data-session-id':_0x41f009},_0x2541e9=_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x144)][_0x21a193(0x19b)](_0xe5fd26[_0x21a193(0x169)]),_0x177ea3=_0x2541e9[_0x21a193(0x176)](),_0x813e06=_0x177ea3[_0x21a193(0x162)],_0x548a8e=_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x17f)];if(_0x813e06&&_0x548a8e[_0x21a193(0x15d)](_0x813e06)&&_0x548a8e[_0x21a193(0x141)](_0x813e06)&&!_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x144)][_0x21a193(0x19b)](_0x21a193(0x18b)+_0x41f009)[_0x21a193(0x18f)]()[_0x21a193(0x14f)])return;const _0x556b01=_0x177ea3[_0x21a193(0x18a)];return _0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x17f)][_0x21a193(0x1a9)](_0x556b01)&&!_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x160)](_0x556b01)&&(_0x2aef03[_0x21a193(0x188)]=!0x1),function(_0x452cd1,_0x498e0b,_0x119ba1){const _0x27ed19=_0x21a193,_0x472f5e=_0x452cd1[_0x27ed19(0x183)](_0x27ed19(0x152),_0x498e0b);return _0x452cd1[_0x27ed19(0x197)](_0x27ed19(0x170),!0x0,_0x472f5e),_0x472f5e[_0x27ed19(0x124)]=function(_0x4b89e4){const _0x35583f=_0x27ed19,_0x27ff04=this[_0x35583f(0x1aa)](_0x4b89e4),_0x5919d3=document[_0x35583f(0x168)](_0x35583f(0x152));return _0x5919d3[_0x35583f(0x123)][_0x35583f(0x166)](_0x35583f(0x16a)),_0x5919d3[_0x35583f(0x192)](_0x35583f(0x188),_0x35583f(0x1a5)),_0x5919d3[_0x35583f(0x192)](_0x35583f(0x143),_0x35583f(0x1a5)),_0x5919d3[_0x35583f(0x148)]=_0x119ba1[_0x35583f(0x165)],_0x27ff04[_0x35583f(0x134)]=_0x35583f(0x142)+_0x5919d3[_0x35583f(0x16e)]+'',_0x27ff04[_0x35583f(0x15b)](_0x35583f(0x190),()=>{const _0x5c701d=_0x35583f;_0x27ff04[_0x5c701d(0x123)][_0x5c701d(0x166)](_0x5c701d(0x15f));}),_0x27ff04[_0x35583f(0x15b)](_0x35583f(0x1a6),()=>{const _0x221146=_0x35583f;_0x27ff04[_0x221146(0x123)][_0x221146(0x12b)](_0x221146(0x15f));}),_0x27ff04;},_0x472f5e[_0x27ed19(0x14d)]=function(_0x3b47ad){const _0x1868bb=_0x27ed19;return!(!this[_0x1868bb(0x17b)](_0x1868bb(0x170))||!_0x3b47ad[_0x1868bb(0x17b)](_0x1868bb(0x170))||this[_0x1868bb(0x18d)](_0x1868bb(0x199))!=_0x3b47ad[_0x1868bb(0x18d)](_0x1868bb(0x199)));},_0x472f5e;}(_0x5ca8ba,_0x2aef03,_0x4e0f9d);}(_0x88a4d2,_0x58c700,_0x55fb15,_0x5ec2d9)}),_0x5ec2d9[_0x2bb2bb(0x167)][_0x2bb2bb(0x181)](_0x2bb2bb(0x13c))[_0x2bb2bb(0x146)]({'model':_0x2bb2bb(0x175),'view':_0x2edf17=>function(_0x2a5338,_0x38d2cc){const _0x4f7941=_0x2bb2bb,_0xe37c0f=_0x2a5338[_0x4f7941(0x169)][_0x4f7941(0x16c)](':')[0x2];if(_0xe37c0f===_0x38d2cc[_0x4f7941(0x158)])return null;const _0x5f3c80=_0x38d2cc[_0x4f7941(0x151)](_0xe37c0f);if(!_0x5f3c80)return{'id':_0xe37c0f,'classes':[]};return{'id':_0xe37c0f,'classes':[_0x4f7941(0x1a2),_0x5f3c80[_0x4f7941(0x189)][_0x4f7941(0x1ac)]()],'attributes':{'data-session-id':_0xe37c0f},'priority':0x7d0+_0x5f3c80[_0x4f7941(0x19d)]};}(_0x2edf17,_0x55fb15)}),function(_0x4fc0f6){const _0x2587dd=_0x2bb2bb,_0x688fc7=_0x4fc0f6[_0x2587dd(0x179)],_0x1b111b=new Map(),_0x584f51=_0x4fc0f6[_0x2587dd(0x155)][_0x2587dd(0x19b)](_0xd075a8);_0x688fc7[_0x2587dd(0x144)]['on'](_0x2587dd(0x14a),(_0x41ed53,_0x56d701,_0x3a672b,_0x4484f9)=>{const _0x5687ab=_0x2587dd;if(!_0x4484f9&&_0x1b111b[_0x5687ab(0x19b)](_0x56d701[_0x5687ab(0x165)]))return _0x1b111b[_0x5687ab(0x19b)](_0x56d701[_0x5687ab(0x165)])[_0x5687ab(0x196)](),void _0x1b111b[_0x5687ab(0x186)](_0x56d701[_0x5687ab(0x165)]);const _0x1b5d62=_0x56d701[_0x5687ab(0x165)][_0x5687ab(0x16c)](':')[0x2];if(_0x1b5d62===_0x584f51[_0x5687ab(0x158)])return;const _0x3b4268=_0x5687ab(0x12c)+_0x1b5d62;_0x688fc7[_0x5687ab(0x144)][_0x5687ab(0x191)](_0x3b4268)&&_0x4fc0f6[_0x5687ab(0x149)][_0x5687ab(0x164)](_0x3b4268),_0x56d701['on'](_0x5687ab(0x15e),(_0x2433a5,_0x53435c,_0x363f02)=>{const _0xc8a1cf=_0x5687ab;if(_0xc8a1cf(0x15a)!=_0x53435c[_0xc8a1cf(0x153)][_0xc8a1cf(0x16b)]&&_0xc8a1cf(0x15a)==_0x56d701[_0xc8a1cf(0x18f)]()[_0xc8a1cf(0x153)][_0xc8a1cf(0x16b)]&&!_0x1b111b[_0xc8a1cf(0x191)](_0x56d701[_0xc8a1cf(0x165)])){const _0x2481c4=_0x688fc7[_0xc8a1cf(0x17f)][_0xc8a1cf(0x1a3)](_0x363f02[_0xc8a1cf(0x126)]);if(_0x2481c4){const _0x467c26=_0x3c876a[_0xc8a1cf(0x129)](_0x2481c4);_0x1b111b[_0xc8a1cf(0x122)](_0x56d701[_0xc8a1cf(0x165)],_0x467c26),_0x467c26['on'](_0xc8a1cf(0x15e),(_0x24052e,_0x2df200,_0x5070f7)=>{const _0x3cf921=_0xc8a1cf;if(_0x3cf921(0x15a)==_0x467c26[_0x3cf921(0x153)][_0x3cf921(0x16b)]){const _0x4f8160=_0x688fc7[_0x3cf921(0x17f)][_0x3cf921(0x1a3)](_0x5070f7[_0x3cf921(0x126)]);_0x4f8160?(_0x467c26[_0x3cf921(0x12a)]=_0x4f8160[_0x3cf921(0x12a)],_0x467c26[_0x3cf921(0x136)]=_0x4f8160[_0x3cf921(0x136)]):(_0x1b111b[_0x3cf921(0x186)](_0x56d701[_0x3cf921(0x165)]),_0x467c26[_0x3cf921(0x196)]());}});}}});}),_0x688fc7[_0x2587dd(0x187)]['on'](_0x2587dd(0x19e),()=>{const _0x147c09=_0x2587dd;_0x1b111b[_0x147c09(0x138)]>0x0&&_0x688fc7[_0x147c09(0x1a1)]({'isUndoable':!0x1},_0x7e121e=>{const _0xcad149=_0x147c09;for(const [_0xb700c0,_0x24b1e6]of _0x1b111b)_0xcad149(0x15a)==_0x688fc7[_0xcad149(0x144)][_0xcad149(0x19b)](_0xb700c0)[_0xcad149(0x18f)]()[_0xcad149(0x153)][_0xcad149(0x16b)]&&(Z(_0xb700c0[_0xcad149(0x16c)](':')[0x2],_0x24b1e6[_0xcad149(0x163)](),_0x688fc7,_0x7e121e),_0x24b1e6[_0xcad149(0x196)]());_0x1b111b[_0xcad149(0x19c)]();});});}(_0x5ec2d9),this[_0x2bb2bb(0x13a)][_0x2bb2bb(0x1ab)](_0x454886[_0x2bb2bb(0x187)],_0x2bb2bb(0x17a),(_0x144140,{key:_0x3fa0ea})=>{const _0x28437d=_0x2bb2bb;_0x28437d(0x130)===_0x3fa0ea&&function(_0x4208ed){const _0x3998c8=_0x28437d;_0x4208ed[_0x3998c8(0x149)][_0x3998c8(0x147)][_0x3998c8(0x19e)](_0x59dd6e=>{const _0x31e59c=_0x3998c8;for(const _0x4777be of _0x4208ed[_0x31e59c(0x179)][_0x31e59c(0x144)]){if(!_0x4777be[_0x31e59c(0x165)][_0x31e59c(0x178)](_0x31e59c(0x194)))continue;const _0x5be735=_0x4208ed[_0x31e59c(0x149)][_0x31e59c(0x12e)][_0x31e59c(0x145)](_0x4777be[_0x31e59c(0x165)]);if(_0x5be735){for(const _0x58e79c of _0x5be735)_0x59dd6e[_0x31e59c(0x14b)](_0x31e59c(0x15f),_0x58e79c);}}});}(_0x5ec2d9);},{'useCapture':!0x0});}[_0x1a120f(0x16d)](){const _0x10a208=_0x1a120f,_0x2d615a=this[_0x10a208(0x131)],_0xf4c3b1=_0x2d615a[_0x10a208(0x19a)][_0x10a208(0x19b)](_0x10a208(0x193));_0xf4c3b1&&_0x2d615a[_0x10a208(0x179)]['on'](_0x10a208(0x18c),(_0x56e84e,_0x5c2ac9)=>{const _0x6db639=_0x10a208,_0x38e31b=_0x5c2ac9[0x0];if(!_0x38e31b[_0x6db639(0x18e)])return;if(_0x6db639(0x17d)!=_0x38e31b[_0x6db639(0x125)]||!_0x38e31b[_0x6db639(0x165)][_0x6db639(0x178)](_0x6db639(0x195)))return;const _0x212cdd=_0x38e31b[_0x6db639(0x139)];_0xf4c3b1[_0x6db639(0x16f)][_0x6db639(0x191)](_0x212cdd)&&(_0x38e31b[_0x6db639(0x17e)]=_0x38e31b[_0x6db639(0x128)]?_0x2d615a[_0x6db639(0x179)][_0x6db639(0x132)](_0x38e31b[_0x6db639(0x128)][_0x6db639(0x12a)],_0x38e31b[_0x6db639(0x128)][_0x6db639(0x136)]):null);},{'priority':_0x10a208(0x14e)});}[_0x1a120f(0x15c)](){const _0x3f5cb7=_0x1a120f;return this[_0x3f5cb7(0x13a)][_0x3f5cb7(0x182)](),super[_0x3f5cb7(0x15c)]();}[_0x1a120f(0x177)](){const _0x1080ce=_0x1a120f,_0x2d44f3=this[_0x1080ce(0x131)],_0x4bfe67=_0x2d44f3[_0x1080ce(0x179)][_0x1080ce(0x187)],_0x20c8da=_0x2d44f3[_0x1080ce(0x155)][_0x1080ce(0x19b)](_0xd075a8);_0x2d44f3[_0x1080ce(0x179)][_0x1080ce(0x1a1)]({'isUndoable':!0x1},_0x40c5df=>{const _0x47c181=_0x1080ce,_0x526532=_0x47c181(0x18b)+_0x20c8da[_0x47c181(0x158)],_0x53ff80=_0x47c181(0x12c)+_0x20c8da[_0x47c181(0x158)],_0x3e0f5=_0x2d44f3[_0x47c181(0x179)][_0x47c181(0x144)][_0x47c181(0x191)](_0x526532);_0x2d44f3[_0x47c181(0x149)][_0x47c181(0x147)][_0x47c181(0x172)]?Z(_0x20c8da[_0x47c181(0x158)],_0x4bfe67[_0x47c181(0x171)][_0x47c181(0x154)](),_0x2d44f3[_0x47c181(0x179)],_0x40c5df):_0x3e0f5&&(_0x40c5df[_0x47c181(0x173)](_0x526532),_0x40c5df[_0x47c181(0x173)](_0x53ff80));});}}function Z(_0x318cd5,_0x36a5c4,_0x57ab04,_0x14ff2f){const _0x27892d=_0x1a120f,_0x27e492=_0x27892d(0x18b)+_0x318cd5,_0x46cdaa=_0x27892d(0x12c)+_0x318cd5,_0x3c4cb3=_0x36a5c4[_0x27892d(0x12f)]();let _0x2b4e6b=_0x36a5c4[_0x27892d(0x12a)];if(_0x3c4cb3&&_0x3c4cb3['is'](_0x27892d(0x13e),_0x27892d(0x14c))){const _0x29626d=function(_0x36791e,_0x19a494){const _0x43db2f=_0x27892d;for(const _0x55df01 of _0x36791e[_0x43db2f(0x1a8)]())if(_0x19a494[_0x43db2f(0x17f)][_0x43db2f(0x198)](_0x55df01,_0x43db2f(0x1a4)))return _0x55df01;}(_0x36a5c4,_0x57ab04);_0x29626d&&(_0x2b4e6b=_0x29626d,_0x36a5c4=_0x14ff2f[_0x27892d(0x132)](_0x2b4e6b));}const _0x3f7f58=_0x14ff2f[_0x27892d(0x132)](_0x2b4e6b);_0x57ab04[_0x27892d(0x144)][_0x27892d(0x191)](_0x27e492)?(_0x14ff2f[_0x27892d(0x180)](_0x27e492,{'range':_0x36a5c4}),_0x14ff2f[_0x27892d(0x180)](_0x46cdaa,{'range':_0x3f7f58})):(_0x14ff2f[_0x27892d(0x13d)](_0x27e492,{'range':_0x36a5c4,'usingOperation':!0x0}),_0x14ff2f[_0x27892d(0x13d)](_0x46cdaa,{'range':_0x3f7f58,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x1b99(){const _0x3f6610=['markerToHighlight','update:user:range','327990zKLjwh','isCollapsed','remove','tableCell','name','mySessionId','getPositions','markers','isLimit','markerRange','isDocumentOperation','oldRange','listenTo','getCustomProperty','user:','mapper','size','innerHTML','createUIElement','ck-user__marker\x20','hasContent','editor','enqueueChange','stopListening','color','isInline','setAttribute','600028izKICG','mouseenter','fromRange','selection','highest','mouseleave','type','removeClass','_createdBatches','set','getFirstRange','orderNumber','requires','getSelectionClass','2220NVKECs','6qMOeSl','ck-user__marker-tooltip','document','9416GUXUvK','markerToElement','isPremiumPlugin','conversion','removeMarker','$text','marker','end','keydown','textContent','add','1916925UVIHlb','reconvertMarker','split','for','setCustomProperty','markerNameToElements','detach','deletionPosition','startsWith','hasDomSelection','_domEmitter','getNearestSelectionRange','model','updateMarker','getMarkerClass','root','classList','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','batch','afterInit','editing','isSimilar','147585CeySaN','isObject','pluginName','isOfficialPlugin','6ACxNGv','init','change:range','delete','element','parent','user:range','plugins','contenteditable','schema','view','userPositionMarker','addMarker','addEventListener','getStart','undo','nodeAfter','has','getUserBySessionId','18CvauMj','span','6486312RYSZyD','getContainedElement','ck-user__selection','render','destroy','commands','getRange','start','get','clear','createElement','createUserMarkerOperations','$graveyard','spellcheck','getAttribute','toRange','UserMarkers','createRange','false','outerHTML','user:range:','checkChild','applyOperation','toDomElement','data-session-id','newRange','markerName','user:position:','ck-user__marker_hovered','rootName','user:position','editingDowncast','7070248UkquVO','change','Escape'];_0x1b99=function(){return _0x3f6610;};return _0x1b99();}const _0x415507=_0x5523;(function(_0x1ab840,_0x306bb7){const _0x11c7cc=_0x5523,_0x449847=_0x1ab840();while(!![]){try{const _0x12b234=parseInt(_0x11c7cc(0x215))/0x1+parseInt(_0x11c7cc(0x1b3))/0x2*(parseInt(_0x11c7cc(0x1d7))/0x3)+parseInt(_0x11c7cc(0x1a4))/0x4+-parseInt(_0x11c7cc(0x1c1))/0x5+parseInt(_0x11c7cc(0x1db))/0x6*(-parseInt(_0x11c7cc(0x1f0))/0x7)+-parseInt(_0x11c7cc(0x210))/0x8*(-parseInt(_0x11c7cc(0x1ee))/0x9)+-parseInt(_0x11c7cc(0x1b2))/0xa*(parseInt(_0x11c7cc(0x1b6))/0xb);if(_0x12b234===_0x306bb7)break;else _0x449847['push'](_0x449847['shift']());}catch(_0x1b0295){_0x449847['push'](_0x449847['shift']());}}}(_0x1b99,0xda0b7));import{Plugin as _0x39a480}from'ckeditor5/src/core.js';import{global as _0x563d8f,DomEmitterMixin as _0x1ebc40}from'ckeditor5/src/utils.js';import{Sessions as _0x9b4e7f}from'./sessions.js';import{ModelLiveRange as _0x464264}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5523(_0x285302,_0x3e8030){const _0x1b9949=_0x1b99();return _0x5523=function(_0x552307,_0x32b6a2){_0x552307=_0x552307-0x18b;let _0x50123d=_0x1b9949[_0x552307];return _0x50123d;},_0x5523(_0x285302,_0x3e8030);}export class UserMarkers extends _0x39a480{[_0x415507(0x1cb)]=new(_0x1ebc40())();static get[_0x415507(0x1b0)](){return[_0x9b4e7f];}static get[_0x415507(0x1d9)](){const _0x357737=_0x415507;return _0x357737(0x200);}static get[_0x415507(0x1da)](){return!0x0;}static get[_0x415507(0x1b8)](){return!0x0;}[_0x415507(0x1dc)](){const _0xbdacf4=_0x415507,_0x36cc79=this[_0xbdacf4(0x19e)],_0x1ec1a1=_0x36cc79[_0xbdacf4(0x1e2)][_0xbdacf4(0x1f8)](_0x9b4e7f);_0x36cc79[_0xbdacf4(0x1b9)][_0xbdacf4(0x1c4)](_0xbdacf4(0x20f))[_0xbdacf4(0x1b7)]({'model':_0xbdacf4(0x20e),'view':(_0xb13797,{writer:_0x5d4123})=>function(_0xb83b0a,_0x2ef077,_0x242794,_0x460dc9){const _0x98b15f=_0xbdacf4,_0x56a7f5=_0xb83b0a[_0x98b15f(0x20a)][_0x98b15f(0x1c3)](':')[0x2],_0x3c3675=_0x242794[_0x98b15f(0x1ed)](_0x56a7f5);if(!_0x3c3675||_0x56a7f5===_0x242794[_0x98b15f(0x18e)])return;if(!_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x1e4)][_0x98b15f(0x205)](_0xb83b0a[_0x98b15f(0x192)][_0x98b15f(0x1f7)],_0x98b15f(0x1bb)))return;const _0x37b5a0={'class':_0x98b15f(0x19c)+_0x3c3675[_0x98b15f(0x1a1)][_0x98b15f(0x1cf)](),'data-name':_0x3c3675[_0x98b15f(0x18d)],'data-session-id':_0x56a7f5},_0x1de6c8=_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x190)][_0x98b15f(0x1f8)](_0xb83b0a[_0x98b15f(0x20a)]),_0x4439d6=_0x1de6c8[_0x98b15f(0x1e9)](),_0x4a41e1=_0x4439d6[_0x98b15f(0x1eb)],_0x992044=_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x1e4)];if(_0x4a41e1&&_0x992044[_0x98b15f(0x1d8)](_0x4a41e1)&&_0x992044[_0x98b15f(0x1a2)](_0x4a41e1)&&!_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x190)][_0x98b15f(0x1f8)](_0x98b15f(0x204)+_0x56a7f5)[_0x98b15f(0x1f6)]()[_0x98b15f(0x216)])return;const _0x29f6c5=_0x4439d6[_0x98b15f(0x1e0)];return _0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x1e4)][_0x98b15f(0x191)](_0x29f6c5)&&!_0x460dc9[_0x98b15f(0x1cd)][_0x98b15f(0x19d)](_0x29f6c5)&&(_0x37b5a0[_0x98b15f(0x1e3)]=!0x1),function(_0x27b795,_0x2d422b,_0x3e23bf){const _0x26012a=_0x98b15f,_0x7edfe1=_0x27b795[_0x26012a(0x19b)](_0x26012a(0x1ef),_0x2d422b);return _0x27b795[_0x26012a(0x1c5)](_0x26012a(0x1e6),!0x0,_0x7edfe1),_0x7edfe1[_0x26012a(0x1f3)]=function(_0x3e65ae){const _0x23a5cc=_0x26012a,_0x596cdc=this[_0x23a5cc(0x207)](_0x3e65ae),_0x1e1ed0=document[_0x23a5cc(0x1fa)](_0x23a5cc(0x1ef));return _0x1e1ed0[_0x23a5cc(0x1d1)][_0x23a5cc(0x1c0)](_0x23a5cc(0x1b4)),_0x1e1ed0[_0x23a5cc(0x1a3)](_0x23a5cc(0x1e3),_0x23a5cc(0x202)),_0x1e1ed0[_0x23a5cc(0x1a3)](_0x23a5cc(0x1fd),_0x23a5cc(0x202)),_0x1e1ed0[_0x23a5cc(0x1bf)]=_0x3e23bf[_0x23a5cc(0x18d)],_0x596cdc[_0x23a5cc(0x19a)]=_0x23a5cc(0x1d2)+_0x1e1ed0[_0x23a5cc(0x203)]+'',_0x596cdc[_0x23a5cc(0x1e8)](_0x23a5cc(0x1a5),()=>{const _0x4739fc=_0x23a5cc;_0x596cdc[_0x4739fc(0x1d1)][_0x4739fc(0x1c0)](_0x4739fc(0x20c));}),_0x596cdc[_0x23a5cc(0x1e8)](_0x23a5cc(0x1a9),()=>{const _0x24a3bb=_0x23a5cc;_0x596cdc[_0x24a3bb(0x1d1)][_0x24a3bb(0x18b)](_0x24a3bb(0x20c));}),_0x596cdc;},_0x7edfe1[_0x26012a(0x1d6)]=function(_0x186fc7){const _0x18aac3=_0x26012a;return!(!this[_0x18aac3(0x196)](_0x18aac3(0x1e6))||!_0x186fc7[_0x18aac3(0x196)](_0x18aac3(0x1e6))||this[_0x18aac3(0x1fe)](_0x18aac3(0x208))!=_0x186fc7[_0x18aac3(0x1fe)](_0x18aac3(0x208)));},_0x7edfe1;}(_0x2ef077,_0x37b5a0,_0x3c3675);}(_0xb13797,_0x5d4123,_0x1ec1a1,_0x36cc79)}),_0x36cc79[_0xbdacf4(0x1b9)][_0xbdacf4(0x1c4)](_0xbdacf4(0x20f))[_0xbdacf4(0x213)]({'model':_0xbdacf4(0x1e1),'view':_0x20613d=>function(_0x46e797,_0x32691b){const _0x5389c3=_0xbdacf4,_0x401da6=_0x46e797[_0x5389c3(0x20a)][_0x5389c3(0x1c3)](':')[0x2];if(_0x401da6===_0x32691b[_0x5389c3(0x18e)])return null;const _0x482bff=_0x32691b[_0x5389c3(0x1ed)](_0x401da6);if(!_0x482bff)return{'id':_0x401da6,'classes':[]};return{'id':_0x401da6,'classes':[_0x5389c3(0x1f2),_0x482bff[_0x5389c3(0x1a1)][_0x5389c3(0x1b1)]()],'attributes':{'data-session-id':_0x401da6},'priority':0x7d0+_0x482bff[_0x5389c3(0x1af)]};}(_0x20613d,_0x1ec1a1)}),function(_0x5d5a1d){const _0x5bf1c9=_0xbdacf4,_0xfe4b44=_0x5d5a1d[_0x5bf1c9(0x1cd)],_0x167ea4=new Map(),_0x44a296=_0x5d5a1d[_0x5bf1c9(0x1e2)][_0x5bf1c9(0x1f8)](_0x9b4e7f);_0xfe4b44[_0x5bf1c9(0x190)]['on'](_0x5bf1c9(0x214),(_0xbcd540,_0x98557,_0x28e436,_0x5589ce)=>{const _0x236c7d=_0x5bf1c9;if(!_0x5589ce&&_0x167ea4[_0x236c7d(0x1f8)](_0x98557[_0x236c7d(0x18d)]))return _0x167ea4[_0x236c7d(0x1f8)](_0x98557[_0x236c7d(0x18d)])[_0x236c7d(0x1c7)](),void _0x167ea4[_0x236c7d(0x1de)](_0x98557[_0x236c7d(0x18d)]);const _0x251501=_0x98557[_0x236c7d(0x18d)][_0x236c7d(0x1c3)](':')[0x2];if(_0x251501===_0x44a296[_0x236c7d(0x18e)])return;const _0x3dbc96=_0x236c7d(0x20b)+_0x251501;_0xfe4b44[_0x236c7d(0x190)][_0x236c7d(0x1ec)](_0x3dbc96)&&_0x5d5a1d[_0x236c7d(0x1d5)][_0x236c7d(0x1c2)](_0x3dbc96),_0x98557['on'](_0x236c7d(0x1dd),(_0x3f743d,_0x16d7dd,_0x4b9d8a)=>{const _0x4f3e64=_0x236c7d;if(_0x4f3e64(0x1fc)!=_0x16d7dd[_0x4f3e64(0x1d0)][_0x4f3e64(0x20d)]&&_0x4f3e64(0x1fc)==_0x98557[_0x4f3e64(0x1f6)]()[_0x4f3e64(0x1d0)][_0x4f3e64(0x20d)]&&!_0x167ea4[_0x4f3e64(0x1ec)](_0x98557[_0x4f3e64(0x18d)])){const _0x422f08=_0xfe4b44[_0x4f3e64(0x1e4)][_0x4f3e64(0x1cc)](_0x4b9d8a[_0x4f3e64(0x1c8)]);if(_0x422f08){const _0x1603c9=_0x464264[_0x4f3e64(0x1a6)](_0x422f08);_0x167ea4[_0x4f3e64(0x1ad)](_0x98557[_0x4f3e64(0x18d)],_0x1603c9),_0x1603c9['on'](_0x4f3e64(0x1dd),(_0x44d17e,_0x4d666b,_0x48b721)=>{const _0x29972a=_0x4f3e64;if(_0x29972a(0x1fc)==_0x1603c9[_0x29972a(0x1d0)][_0x29972a(0x20d)]){const _0x4212eb=_0xfe4b44[_0x29972a(0x1e4)][_0x29972a(0x1cc)](_0x48b721[_0x29972a(0x1c8)]);_0x4212eb?(_0x1603c9[_0x29972a(0x1f7)]=_0x4212eb[_0x29972a(0x1f7)],_0x1603c9[_0x29972a(0x1bd)]=_0x4212eb[_0x29972a(0x1bd)]):(_0x167ea4[_0x29972a(0x1de)](_0x98557[_0x29972a(0x18d)]),_0x1603c9[_0x29972a(0x1c7)]());}});}}});}),_0xfe4b44[_0x5bf1c9(0x1b5)]['on'](_0x5bf1c9(0x211),()=>{const _0x47a3dd=_0x5bf1c9;_0x167ea4[_0x47a3dd(0x199)]>0x0&&_0xfe4b44[_0x47a3dd(0x19f)]({'isUndoable':!0x1},_0x48263c=>{const _0x537639=_0x47a3dd;for(const [_0xfe1f93,_0x181b63]of _0x167ea4)_0x537639(0x1fc)==_0xfe4b44[_0x537639(0x190)][_0x537639(0x1f8)](_0xfe1f93)[_0x537639(0x1f6)]()[_0x537639(0x1d0)][_0x537639(0x20d)]&&(Z(_0xfe1f93[_0x537639(0x1c3)](':')[0x2],_0x181b63[_0x537639(0x1ff)](),_0xfe4b44,_0x48263c),_0x181b63[_0x537639(0x1c7)]());_0x167ea4[_0x537639(0x1f9)]();});});}(_0x36cc79),this[_0xbdacf4(0x1cb)][_0xbdacf4(0x195)](_0x563d8f[_0xbdacf4(0x1b5)],_0xbdacf4(0x1be),(_0x154b7d,{key:_0x2f1736})=>{const _0x4857e9=_0xbdacf4;_0x4857e9(0x212)===_0x2f1736&&function(_0x32eb85){const _0x3608db=_0x4857e9;_0x32eb85[_0x3608db(0x1d5)][_0x3608db(0x1e5)][_0x3608db(0x211)](_0x24f24e=>{const _0x3ecc08=_0x3608db;for(const _0x4eee5c of _0x32eb85[_0x3ecc08(0x1cd)][_0x3ecc08(0x190)]){if(!_0x4eee5c[_0x3ecc08(0x18d)][_0x3ecc08(0x1c9)](_0x3ecc08(0x20e)))continue;const _0xa1c7c4=_0x32eb85[_0x3ecc08(0x1d5)][_0x3ecc08(0x198)][_0x3ecc08(0x1c6)](_0x4eee5c[_0x3ecc08(0x18d)]);if(_0xa1c7c4){for(const _0x4f942e of _0xa1c7c4)_0x24f24e[_0x3ecc08(0x1ab)](_0x3ecc08(0x20c),_0x4f942e);}}});}(_0x36cc79);},{'useCapture':!0x0});}[_0x415507(0x1d4)](){const _0x3a289e=_0x415507,_0x3f5a58=this[_0x3a289e(0x19e)],_0x32da60=_0x3f5a58[_0x3a289e(0x1f5)][_0x3a289e(0x1f8)](_0x3a289e(0x1ea));_0x32da60&&_0x3f5a58[_0x3a289e(0x1cd)]['on'](_0x3a289e(0x206),(_0x2bb791,_0x2c3006)=>{const _0x491320=_0x3a289e,_0x41c1f7=_0x2c3006[0x0];if(!_0x41c1f7[_0x491320(0x193)])return;if(_0x491320(0x1bc)!=_0x41c1f7[_0x491320(0x1aa)]||!_0x41c1f7[_0x491320(0x18d)][_0x491320(0x1c9)](_0x491320(0x197)))return;const _0x31178d=_0x41c1f7[_0x491320(0x1d3)];_0x32da60[_0x491320(0x1ac)][_0x491320(0x1ec)](_0x31178d)&&(_0x41c1f7[_0x491320(0x209)]=_0x41c1f7[_0x491320(0x194)]?_0x3f5a58[_0x491320(0x1cd)][_0x491320(0x201)](_0x41c1f7[_0x491320(0x194)][_0x491320(0x1f7)],_0x41c1f7[_0x491320(0x194)][_0x491320(0x1bd)]):null);},{'priority':_0x3a289e(0x1a8)});}[_0x415507(0x1f4)](){const _0x25db28=_0x415507;return this[_0x25db28(0x1cb)][_0x25db28(0x1a0)](),super[_0x25db28(0x1f4)]();}[_0x415507(0x1fb)](){const _0x494b14=_0x415507,_0x30a0f4=this[_0x494b14(0x19e)],_0x430a23=_0x30a0f4[_0x494b14(0x1cd)][_0x494b14(0x1b5)],_0x502b5a=_0x30a0f4[_0x494b14(0x1e2)][_0x494b14(0x1f8)](_0x9b4e7f);_0x30a0f4[_0x494b14(0x1cd)][_0x494b14(0x19f)]({'isUndoable':!0x1},_0x5c56fd=>{const _0x1394bb=_0x494b14,_0x1840b5=_0x1394bb(0x204)+_0x502b5a[_0x1394bb(0x18e)],_0x29cbe9=_0x1394bb(0x20b)+_0x502b5a[_0x1394bb(0x18e)],_0xa16f2c=_0x30a0f4[_0x1394bb(0x1cd)][_0x1394bb(0x190)][_0x1394bb(0x1ec)](_0x1840b5);_0x30a0f4[_0x1394bb(0x1d5)][_0x1394bb(0x1e5)][_0x1394bb(0x1ca)]?Z(_0x502b5a[_0x1394bb(0x18e)],_0x430a23[_0x1394bb(0x1a7)][_0x1394bb(0x1ae)](),_0x30a0f4[_0x1394bb(0x1cd)],_0x5c56fd):_0xa16f2c&&(_0x5c56fd[_0x1394bb(0x1ba)](_0x1840b5),_0x5c56fd[_0x1394bb(0x1ba)](_0x29cbe9));});}}function Z(_0x58b7f5,_0x26aa1e,_0x414c78,_0x4cc20d){const _0x431d36=_0x415507,_0x4ccd65=_0x431d36(0x204)+_0x58b7f5,_0x142d8b=_0x431d36(0x20b)+_0x58b7f5,_0x25c1ec=_0x26aa1e[_0x431d36(0x1f1)]();let _0x24f840=_0x26aa1e[_0x431d36(0x1f7)];if(_0x25c1ec&&_0x25c1ec['is'](_0x431d36(0x1df),_0x431d36(0x18c))){const _0x443e72=function(_0x59c1ba,_0x1b0419){const _0x16351f=_0x431d36;for(const _0x50e82b of _0x59c1ba[_0x16351f(0x18f)]())if(_0x1b0419[_0x16351f(0x1e4)][_0x16351f(0x205)](_0x50e82b,_0x16351f(0x1bb)))return _0x50e82b;}(_0x26aa1e,_0x414c78);_0x443e72&&(_0x24f840=_0x443e72,_0x26aa1e=_0x4cc20d[_0x431d36(0x201)](_0x24f840));}const _0x86d717=_0x4cc20d[_0x431d36(0x201)](_0x24f840);_0x414c78[_0x431d36(0x190)][_0x431d36(0x1ec)](_0x4ccd65)?(_0x4cc20d[_0x431d36(0x1ce)](_0x4ccd65,{'range':_0x26aa1e}),_0x4cc20d[_0x431d36(0x1ce)](_0x142d8b,{'range':_0x86d717})):(_0x4cc20d[_0x431d36(0x1e7)](_0x4ccd65,{'range':_0x26aa1e,'usingOperation':!0x0}),_0x4cc20d[_0x431d36(0x1e7)](_0x142d8b,{'range':_0x86d717,'usingOperation':!0x0}));}
|