@ckeditor/ckeditor5-real-time-collaboration 46.1.1-alpha.0 → 46.1.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x44e99a=_0x1057;(function(_0x2f2ddd,_0x113ceb){const _0x37f9d5=_0x1057,_0x5c8d02=_0x2f2ddd();while(!![]){try{const _0x556a85=-parseInt(_0x37f9d5(0x198))/0x1+parseInt(_0x37f9d5(0x184))/0x2+-parseInt(_0x37f9d5(0x192))/0x3+-parseInt(_0x37f9d5(0x188))/0x4*(parseInt(_0x37f9d5(0x186))/0x5)+parseInt(_0x37f9d5(0x189))/0x6+parseInt(_0x37f9d5(0x1a0))/0x7*(-parseInt(_0x37f9d5(0x182))/0x8)+parseInt(_0x37f9d5(0x19a))/0x9;if(_0x556a85===_0x113ceb)break;else _0x5c8d02['push'](_0x5c8d02['shift']());}catch(_0x38da69){_0x5c8d02['push'](_0x5c8d02['shift']());}}}(_0x283b,0x21c84));function _0x283b(){const _0x41771c=['render','div','222646zAGSSq','element','4669884lgpbEI','isExpanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','.ck-presence-list__dropdown-list','list','fire','148799KgbSOw','bindTemplate','items','setAttribute','createCollection','setTemplate','hasPopup','focus','104aLJoSz','presencelist:show','329518ZIWVRY','.ck-balloon-panel_with-arrow','16085gGENZX','presencelist:hide','8SgZAPN','732252TuXCtT','change:hasPopup','aria-expanded','contains','ck-presence-list__list','listenTo','set','querySelector','keystrokes','485652saXOVA','Connected\x20users\x20list','removeAttribute','relatedTarget'];_0x283b=function(){return _0x41771c;};return _0x283b();}function _0x1057(_0x16d23d,_0x5936fb){const _0x283b1e=_0x283b();return _0x1057=function(_0x105706,_0x50000e){_0x105706=_0x105706-0x180;let _0x3e29d0=_0x283b1e[_0x105706];return _0x3e29d0;},_0x1057(_0x16d23d,_0x5936fb);}import{View as _0x4ad38a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5caaac}from'ckeditor5/src/utils.js';import{getTranslation as _0x1f668b}from'../../common-translations.js';export class PresenceInlineListView extends _0x4ad38a{[_0x44e99a(0x1a2)];[_0x44e99a(0x191)];constructor(_0x1e344d){const _0xc2b54b=_0x44e99a;super(_0x1e344d);const _0x195c67=this[_0xc2b54b(0x1a1)];this[_0xc2b54b(0x1a2)]=this[_0xc2b54b(0x1a4)](),this[_0xc2b54b(0x191)]=new _0x5caaac(),this[_0xc2b54b(0x18f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xc2b54b(0x1a5)]({'tag':_0xc2b54b(0x197),'attributes':{'aria-haspopup':_0x195c67['if'](_0xc2b54b(0x180)),'aria-expanded':_0x195c67['to'](_0xc2b54b(0x19b),_0x401e8e=>this[_0xc2b54b(0x180)]&&String(_0x401e8e)),'aria-label':_0x195c67['to'](_0xc2b54b(0x180),_0x160123=>_0x1f668b(_0x1e344d,_0x160123?_0xc2b54b(0x19c):_0xc2b54b(0x193))),'role':_0xc2b54b(0x19e),'tabindex':_0x195c67['to'](_0xc2b54b(0x180),_0x119158=>!!_0x119158&&0x0),'class':['ck',_0xc2b54b(0x18d)]},'children':this[_0xc2b54b(0x1a2)],'on':{'mouseenter':_0x195c67['to'](()=>this[_0xc2b54b(0x19f)](_0xc2b54b(0x183))),'mouseleave':_0x195c67['to'](_0x9ff19d=>{const _0x3955d9=_0xc2b54b,_0x25977c=_0x9ff19d,_0x488396=document[_0x3955d9(0x190)](_0x3955d9(0x19d)),_0x41db6d=document[_0x3955d9(0x190)](_0x3955d9(0x185));_0x488396?.[_0x3955d9(0x18c)](_0x25977c[_0x3955d9(0x195)])||_0x41db6d?.[_0x3955d9(0x18c)](_0x25977c[_0x3955d9(0x195)])||this[_0x3955d9(0x19f)](_0x3955d9(0x187));})}}),this['on'](_0xc2b54b(0x18a),(_0x4595c7,_0x62b958,_0x56da93)=>{const _0x1ae721=_0xc2b54b;this[_0x1ae721(0x199)]&&(_0x56da93?this[_0x1ae721(0x199)][_0x1ae721(0x1a3)](_0x1ae721(0x18b),String(this[_0x1ae721(0x19b)])):this[_0x1ae721(0x199)][_0x1ae721(0x194)](_0x1ae721(0x18b)));});}[_0x44e99a(0x181)](){const _0x35b4fb=_0x44e99a;this[_0x35b4fb(0x199)][_0x35b4fb(0x181)]();}[_0x44e99a(0x196)](){const _0x2581ad=_0x44e99a;super[_0x2581ad(0x196)](),this[_0x2581ad(0x191)][_0x2581ad(0x18e)](this[_0x2581ad(0x199)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c57f4=_0xa310;(function(_0x187139,_0x585fed){const _0x29fa27=_0xa310,_0x43dfb5=_0x187139();while(!![]){try{const _0x20c396=parseInt(_0x29fa27(0xd5))/0x1+parseInt(_0x29fa27(0xd8))/0x2*(-parseInt(_0x29fa27(0xc1))/0x3)+-parseInt(_0x29fa27(0xc4))/0x4*(-parseInt(_0x29fa27(0xd0))/0x5)+parseInt(_0x29fa27(0xcc))/0x6+-parseInt(_0x29fa27(0xc9))/0x7*(parseInt(_0x29fa27(0xcd))/0x8)+-parseInt(_0x29fa27(0xd1))/0x9+parseInt(_0x29fa27(0xd7))/0xa*(parseInt(_0x29fa27(0xd3))/0xb);if(_0x20c396===_0x585fed)break;else _0x43dfb5['push'](_0x43dfb5['shift']());}catch(_0x50d06c){_0x43dfb5['push'](_0x43dfb5['shift']());}}}(_0xf775,0x41926));import{View as _0x8b5ad5}from'ckeditor5/src/ui.js';function _0xa310(_0x7a891d,_0x166648){const _0xf77507=_0xf775();return _0xa310=function(_0xa31028,_0x592f92){_0xa31028=_0xa31028-0xbb;let _0x4945e5=_0xf77507[_0xa31028];return _0x4945e5;},_0xa310(_0x7a891d,_0x166648);}import{PresenceCounterView as _0x2b3707}from'./presencecounterview.js';import{PresenceInlineListView as _0x3cb7c4}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0xf775(){const _0x3963e4=['first','listenTo','240780PWhEkJ','586712bOMeLM','counterView','set','5PklPrY','84339gvaBMf','bind','143vDvtSg','items','175973fjQStp','inlineListView','28110MAYAhm','169102PoLIKC','div','bindTemplate','ck-presence-list--collapsed','ck-presence-list','ck-reset','tooltipPosition','3HZSGvj','locale','setTemplate','732788BGJGZq','hasPopup','isCollapsed','ck-rounded-corners','change','7ZYXkAi'];_0xf775=function(){return _0x3963e4;};return _0xf775();}export class PresenceListView extends _0x8b5ad5{[_0x5c57f4(0xce)];[_0x5c57f4(0xd6)];constructor(_0x174362,_0x164c24=0x6){const _0x19bf5c=_0x5c57f4;super(_0x174362);const _0x56b711=this[_0x19bf5c(0xbc)];this[_0x19bf5c(0xcf)](_0x19bf5c(0xc6),!0x0),this[_0x19bf5c(0xce)]=new _0x2b3707(this[_0x19bf5c(0xc2)],_0x164c24),this[_0x19bf5c(0xd6)]=new _0x3cb7c4(_0x174362),this[_0x19bf5c(0xd6)][_0x19bf5c(0xd2)](_0x19bf5c(0xc5))['to'](this,_0x19bf5c(0xc6)),this[_0x19bf5c(0xcb)](this[_0x19bf5c(0xd6)][_0x19bf5c(0xd4)],_0x19bf5c(0xc8),()=>{const _0x319b23=_0x19bf5c;for(const _0x88ab4b of this[_0x319b23(0xd6)][_0x319b23(0xd4)])_0x88ab4b[_0x319b23(0xc0)]='s';this[_0x319b23(0xd6)][_0x319b23(0xd4)][_0x319b23(0xca)]&&(this[_0x319b23(0xd6)][_0x319b23(0xd4)][_0x319b23(0xca)][_0x319b23(0xc0)]='se');}),this[_0x19bf5c(0xc3)]({'tag':_0x19bf5c(0xbb),'attributes':{'class':['ck',_0x19bf5c(0xbe),_0x19bf5c(0xbf),_0x19bf5c(0xc7),_0x56b711['if'](_0x19bf5c(0xc6),_0x19bf5c(0xbd))]},'children':[this[_0x19bf5c(0xd6)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x537296=_0x5dff;function _0x5dff(_0x3f2392,_0x404285){var _0x34c3a0=_0x34c3();return _0x5dff=function(_0x5dffe5,_0x1b617f){_0x5dffe5=_0x5dffe5-0x19d;var _0x7bb29e=_0x34c3a0[_0x5dffe5];return _0x7bb29e;},_0x5dff(_0x3f2392,_0x404285);}(function(_0x17197b,_0x30044f){var _0xfdbc8c=_0x5dff,_0x1cc8aa=_0x17197b();while(!![]){try{var _0x34ffc9=-parseInt(_0xfdbc8c(0x1a7))/0x1+parseInt(_0xfdbc8c(0x1a2))/0x2+-parseInt(_0xfdbc8c(0x1aa))/0x3*(parseInt(_0xfdbc8c(0x19e))/0x4)+-parseInt(_0xfdbc8c(0x1a1))/0x5+parseInt(_0xfdbc8c(0x1a5))/0x6+-parseInt(_0xfdbc8c(0x19d))/0x7*(-parseInt(_0xfdbc8c(0x1a6))/0x8)+parseInt(_0xfdbc8c(0x1a3))/0x9;if(_0x34ffc9===_0x30044f)break;else _0x1cc8aa['push'](_0x1cc8aa['shift']());}catch(_0x67e86){_0x1cc8aa['push'](_0x1cc8aa['shift']());}}}(_0x34c3,0x4d852));import{ContextPlugin as _0x24d775}from'ckeditor5/src/core.js';function _0x34c3(){var _0x143057=['851104HPHuuM','isOfficialPlugin','PresenceList','59645vFaODj','291646oAbPBd','2586438vzsUaI','isPremiumPlugin','2821488hNITSp','16zlbOEg','376734UCxuHd','pluginName','requires','3OZBPqk','54278sxHgai'];_0x34c3=function(){return _0x143057;};return _0x34c3();}import{Sessions as _0x8be107}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x845abe}from'./presencelist/presencelistui.js';export class PresenceList extends _0x24d775{static get[_0x537296(0x1a9)](){return[_0x8be107,_0x845abe];}static get[_0x537296(0x1a8)](){var _0x4e07be=_0x537296;return _0x4e07be(0x1a0);}static get[_0x537296(0x19f)](){return!0x0;}static get[_0x537296(0x1a4)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4649e4)());[_0x4a9002(0xbb)];static get[_0x4a9002(0xbd)](){const _0x36f949=_0x4a9002;return[_0x46319f,_0x36f949(0xd8),_0x435c65,_0x3259f1];}static get[_0x4a9002(0xa3)](){const _0x6f556a=_0x4a9002;return _0x6f556a(0xb3);}static get[_0x4a9002(0xce)](){return!0x0;}static get[_0x4a9002(0x7d)](){return!0x0;}constructor(_0x2d8ac0){const _0x381e7e=_0x4a9002;super(_0x2d8ac0),this[_0x381e7e(0xbb)]=new Map();}async[_0x4a9002(0x88)](){const _0x2d2713=_0x4a9002,_0x3fc9c0=this[_0x2d2713(0xd4)],_0x1579ca=_0x3fc9c0[_0x2d2713(0x95)][_0x2d2713(0x76)](_0x2d2713(0xd8));if(_0x3fc9c0[_0x2d2713(0x95)][_0x2d2713(0x76)](_0x46319f)[_0x2d2713(0xb6)](this),_0x1579ca[_0x2d2713(0x89)]={'addCommentThread':async({channelId:_0x833715,threadId:_0x120261,comments:_0x30e114,resolvedAt:_0x1dccbc,resolvedBy:_0x2b8f49,context:_0x451775,attributes:_0x5d68e6})=>{const _0x4344ce=_0x2d2713,_0x5c4435=await this[_0x4344ce(0x73)](_0x833715)[_0x4344ce(0x8e)]({'commentThreadId':_0x120261,'comments':_0x30e114[_0x4344ce(0xb5)](_0x521f0b=>function(_0x575406,_0xa8ce25,_0x520d91){const _0x226cda=_0x4344ce;return{'commentThreadId':_0x520d91,'commentId':_0x575406[_0x226cda(0xab)],'userId':_0x575406[_0x226cda(0x77)],'content':_0x575406[_0x226cda(0xcd)],'documentId':_0xa8ce25,'createdAt':_0x575406[_0x226cda(0xc8)],'attributes':_0x575406[_0x226cda(0x83)]||{}};}(_0x521f0b,_0x833715,_0x120261)),'resolvedAt':_0x1dccbc,'resolvedBy':_0x2b8f49,'context':_0x451775,'attributes':_0x5d68e6})[_0x4344ce(0xb1)](tt);return{'threadId':_0x5c4435[_0x4344ce(0x85)],'comments':_0x5c4435[_0x4344ce(0xd6)]};},'getCommentThread':async({channelId:_0x427a29,threadId:_0x308252})=>{const _0x301a2c=_0x2d2713,_0x5101c5=await this[_0x301a2c(0x73)](_0x427a29)[_0x301a2c(0xcf)](_0x308252)[_0x301a2c(0xb1)](Z)[_0x301a2c(0xb1)](tt);return _0x5101c5?_0x5101c5[_0x301a2c(0x81)]?null:(await this[_0x301a2c(0xcb)]([_0x5101c5]),{'threadId':_0x5101c5[_0x301a2c(0x85)],'comments':_0x5101c5[_0x301a2c(0xd6)][_0x301a2c(0xb5)](et),'context':_0x5101c5[_0x301a2c(0xd4)],'resolvedAt':_0x5101c5[_0x301a2c(0xbc)],'resolvedBy':_0x5101c5[_0x301a2c(0x99)],'attributes':_0x5101c5[_0x301a2c(0x83)]||{}}):null;},'updateCommentThread':async({channelId:_0x2f5642,threadId:_0x30b64b,context:_0x5b8598,unlinkedAt:_0x469841,attributes:_0xaf88a3})=>this[_0x2d2713(0x73)](_0x2f5642)[_0x2d2713(0xb2)]({'commentThreadId':_0x30b64b,'context':_0x5b8598,'attributes':_0xaf88a3,'unlinkedAt':_0x469841})[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt),'resolveCommentThread':async({channelId:_0x468527,threadId:_0x3866a8})=>{const _0x27803e=_0x2d2713,_0x516958=await this[_0x27803e(0x73)](_0x468527)[_0x27803e(0x91)](_0x3866a8)[_0x27803e(0xb1)](Z)[_0x27803e(0xb1)](tt);return{'threadId':_0x516958[_0x27803e(0x85)],'resolvedAt':_0x516958[_0x27803e(0xbc)],'resolvedBy':_0x516958[_0x27803e(0x99)]};},'reopenCommentThread':async({channelId:_0x53d13a,threadId:_0x21e6fa})=>this[_0x2d2713(0x73)](_0x53d13a)[_0x2d2713(0xd9)](_0x21e6fa)[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt),'removeCommentThread':({channelId:_0x1fee98,threadId:_0x136a76})=>this[_0x2d2713(0x73)](_0x1fee98)[_0x2d2713(0x97)](_0x136a76)[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt),'addComment':({channelId:_0x296878,threadId:_0x600edc,commentId:_0x56a24a,content:_0xfe499e,attributes:_0x468b32})=>this[_0x2d2713(0x73)](_0x296878)[_0x2d2713(0xb9)](_0x600edc,_0x56a24a,_0xfe499e,_0x468b32)[_0x2d2713(0xb1)](tt),'updateComment':({channelId:_0xa95130,threadId:_0x1a68e4,commentId:_0x18b9f8,content:_0x11bcd6,attributes:_0x4c57f9})=>this[_0x2d2713(0x73)](_0xa95130)[_0x2d2713(0xbf)](_0x1a68e4,_0x18b9f8,_0x11bcd6,_0x4c57f9)[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt),'removeComment':({channelId:_0x292cc1,threadId:_0x375138,commentId:_0x2dc43e})=>this[_0x2d2713(0x73)](_0x292cc1)[_0x2d2713(0xd1)](_0x375138,_0x2dc43e)[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt)},_0x3fc9c0 instanceof _0x545cda){const _0x222561=_0x3fc9c0[_0x2d2713(0x7c)][_0x2d2713(0x76)](_0x2d2713(0xa2)),_0x59f513=_0x3fc9c0[_0x2d2713(0x95)][_0x2d2713(0x76)](_0x435c65);await this[_0x2d2713(0x9c)](_0x222561);const _0x22bc17=await this[_0x2d2713(0xbb)][_0x2d2713(0x76)](_0x222561)[_0x2d2713(0xd7)]();this[_0x2d2713(0xa8)](_0x59f513,_0x2d2713(0x9b)+_0x222561,(_0x6881a0,{session:_0x3c4305})=>{const _0x368e79=_0x2d2713;_0x3c4305['id']===_0x59f513[_0x368e79(0x96)]&&(_0x6881a0[_0x368e79(0xa5)](),this[_0x368e79(0xd4)][_0x368e79(0x95)][_0x368e79(0x76)](_0x368e79(0x7f))[_0x368e79(0x8a)](_0x3c4305[_0x368e79(0x9a)],_0x222561));}),_0x59f513[_0x2d2713(0x74)](_0x222561,_0x22bc17);}}async[_0x4a9002(0x9c)](_0x193ab4){const _0x2b5701=_0x4a9002;if(this[_0x2b5701(0xbb)][_0x2b5701(0xa9)](_0x193ab4))throw new _0x1fc73f(_0x2b5701(0xa0),null,{'channelId':_0x193ab4});const _0x23af8f=this[_0x2b5701(0xd4)][_0x2b5701(0x95)][_0x2b5701(0x76)](_0x2b5701(0xd8)),_0x3be90a=new s[(_0x2b5701(0xba))](_0x193ab4);this[_0x2b5701(0xbb)][_0x2b5701(0xa4)](_0x193ab4,_0x3be90a),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xaf),(_0x82b947,_0xd0a8c8)=>{const _0x27e5ed=_0x2b5701,{commentThreadId:_0x123910,documentId:_0x96948e,context:_0x146187,attributes:_0x4d53a3,resolvedAt:_0x23ab39,resolvedBy:_0xd0e75f,comments:_0x419f29}=_0xd0a8c8;_0x23af8f[_0x27e5ed(0xcf)](_0x123910)||_0x23af8f[_0x27e5ed(0x8e)]({'threadId':_0x123910,'channelId':_0x96948e,'comments':_0x419f29?_0x419f29[_0x27e5ed(0xb5)](et):[],'context':_0x146187,'attributes':_0x4d53a3,'resolvedAt':_0x23ab39,'resolvedBy':_0xd0e75f,'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0x82),(_0x3b98f6,{commentThreadId:_0x505018,documentId:_0x128bc9,context:_0x4aeb85,unlinkedAt:_0x2b018f,attributes:_0x1edb2e})=>{const _0x30867=_0x2b5701;_0x23af8f[_0x30867(0xcf)](_0x505018)&&_0x23af8f[_0x30867(0xb2)]({'threadId':_0x505018,'channelId':_0x128bc9,'context':_0x4aeb85,'unlinkedAt':_0x2b018f,'attributes':_0x1edb2e,'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xd3),(_0xb1d68e,{commentThreadId:_0x568745,resolvedBy:_0x5d8dbf,resolvedAt:_0x441787})=>{const _0x316f66=_0x2b5701,_0x122dcd=_0x23af8f[_0x316f66(0xcf)](_0x568745);_0x122dcd&&_0x122dcd[_0x316f66(0xc4)]({'resolvedBy':_0x5d8dbf,'resolvedAt':_0x441787,'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0x9e),(_0xde34c3,{commentThreadId:_0x552446})=>{const _0x4c27b1=_0x2b5701,_0x1b66e8=_0x23af8f[_0x4c27b1(0xcf)](_0x552446);_0x1b66e8&&_0x1b66e8[_0x4c27b1(0xbe)]({'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xc9),(_0x1e669f,{commentThreadId:_0x253dc9})=>{const _0xec0efa=_0x2b5701,_0x38780e=_0x23af8f[_0xec0efa(0xcf)](_0x253dc9);_0x38780e&&_0x38780e[_0xec0efa(0xc1)]({'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xcc),(_0x82d1ed,_0x13314d)=>{const _0x2eb10b=_0x2b5701,_0x13045a=_0x13314d[_0x2eb10b(0x85)],_0x271198=_0x23af8f[_0x2eb10b(0xcf)](_0x13045a);_0x271198&&_0x271198[_0x2eb10b(0xb9)]({...et(_0x13314d),'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xc2),(_0x27a79d,{commentThreadId:_0x2a2c32,commentId:_0x453bc3,content:_0x3a7134,attributes:_0x1b35e7})=>{const _0x26cc42=_0x2b5701,_0x3b0fde=_0x23af8f[_0x26cc42(0xcf)](_0x2a2c32);if(_0x3b0fde){const _0x5b8630=_0x3b0fde[_0x26cc42(0x79)](_0x453bc3);_0x5b8630&&_0x5b8630[_0x26cc42(0x7e)]({'content':_0x3a7134,'attributes':_0x1b35e7,'isFromAdapter':!0x0});}}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0x90),(_0x31d9ce,{commentThreadId:_0x5c3205,commentId:_0xf0a629})=>{const _0x77763d=_0x2b5701,_0x35eee9=_0x23af8f[_0x77763d(0xcf)](_0x5c3205);if(_0x35eee9){const _0x108b09=_0x35eee9[_0x77763d(0x79)](_0xf0a629);_0x108b09&&_0x108b09[_0x77763d(0xc1)]({'isFromAdapter':!0x0});}}),await this[_0x2b5701(0xaa)](_0x193ab4);}[_0x4a9002(0x9f)](){const _0xeebfe1=_0x4a9002;if(this[_0xeebfe1(0xd4)]instanceof _0x545cda){const _0x5a7209=this[_0xeebfe1(0xd4)][_0xeebfe1(0x7c)][_0xeebfe1(0x76)](_0xeebfe1(0xa2));this[_0xeebfe1(0x93)](_0x5a7209);}}[_0x4a9002(0x93)](_0x538f34){const _0x5b9c6c=_0x4a9002;if(!this[_0x5b9c6c(0xbb)][_0x5b9c6c(0xa9)](_0x538f34))throw new _0x1fc73f(_0x5b9c6c(0x8b),null,{'channelId':_0x538f34});this[_0x5b9c6c(0x73)](_0x538f34)[_0x5b9c6c(0xca)](),this[_0x5b9c6c(0xbb)][_0x5b9c6c(0x78)](_0x538f34);}async[_0x4a9002(0x8c)](){const _0x40fba3=_0x4a9002;for(const _0x596bde of this[_0x40fba3(0xbb)][_0x40fba3(0x84)]())await this[_0x40fba3(0xaa)](_0x596bde);if(this[_0x40fba3(0xd4)]instanceof _0x545cda){const _0x235b9d=this[_0x40fba3(0xd4)][_0x40fba3(0x7c)][_0x40fba3(0x76)](_0x40fba3(0xa2)),_0x3b6884=this[_0x40fba3(0xd4)][_0x40fba3(0x95)][_0x40fba3(0x76)](_0x435c65);_0x3b6884[_0x40fba3(0xc5)](_0x235b9d);const _0x12e7c3=await this[_0x40fba3(0xbb)][_0x40fba3(0x76)](_0x235b9d)[_0x40fba3(0xd7)]();_0x3b6884[_0x40fba3(0x74)](_0x235b9d,_0x12e7c3);}}async[_0x4a9002(0xaa)](_0x501a68){const _0x580976=_0x4a9002,{connection:_0x45eabb}=this[_0x580976(0xd4)][_0x580976(0x95)][_0x580976(0x76)](_0x46319f),_0x3b4a06=this[_0x580976(0xd4)][_0x580976(0x95)][_0x580976(0x76)](_0x580976(0xd8)),_0x42cac2=this[_0x580976(0xbb)][_0x580976(0x76)](_0x501a68),_0x5169c7=await _0x42cac2[_0x580976(0x86)](_0x45eabb);await this[_0x580976(0xcb)](_0x5169c7);const _0x567c74=new Set(Array[_0x580976(0x9d)](_0x3b4a06[_0x580976(0x87)]({'channelId':_0x501a68}),_0x17d6ed=>_0x17d6ed['id']));for(const _0x578ea1 of _0x5169c7)_0x578ea1[_0x580976(0x81)]||_0x567c74[_0x580976(0x78)](_0x578ea1[_0x580976(0x85)]);for(const _0x1d1f11 of _0x567c74)_0x3b4a06[_0x580976(0xcf)](_0x1d1f11)[_0x580976(0xc1)]({'isFromAdapter':!0x0});for(const _0x35155d of _0x5169c7){let _0x1fe022=_0x3b4a06[_0x580976(0xcf)](_0x35155d[_0x580976(0x85)]);const {commentThreadId:_0x1a25da,context:_0x613107,attributes:_0x1c6462,resolvedBy:_0x37c50e,resolvedAt:_0x512472,unlinkedAt:_0x2a8295,deletedAt:_0x31f8e1}=_0x35155d;if(_0x31f8e1)continue;_0x1fe022||(_0x1fe022=_0x3b4a06[_0x580976(0x8e)]({'channelId':_0x501a68,'threadId':_0x1a25da,'context':_0x613107,'attributes':_0x1c6462||{},'resolvedBy':_0x37c50e,'resolvedAt':_0x512472,'unlinkedAt':_0x2a8295,'isFromAdapter':!0x0}));const _0x32a925=new Set(Array[_0x580976(0x9d)](_0x1fe022[_0x580976(0xd6)],_0x17db50=>_0x17db50['id']));for(const _0x4857d4 of _0x35155d[_0x580976(0xd6)])_0x32a925[_0x580976(0x78)](_0x4857d4[_0x580976(0xab)]);for(const _0x3542b6 of _0x32a925)_0x1fe022[_0x580976(0x79)](_0x3542b6)[_0x580976(0xc1)]({'isFromAdapter':!0x0});for(const _0x3f49a4 of _0x35155d[_0x580976(0xd6)]){const _0x36054a=_0x1fe022[_0x580976(0x79)](_0x3f49a4[_0x580976(0xab)]);_0x36054a?_0x36054a[_0x580976(0xcd)]!==_0x3f49a4[_0x580976(0xcd)]&&_0x36054a[_0x580976(0x7e)]({'content':_0x3f49a4[_0x580976(0xcd)],'isFromAdapter':!0x0}):_0x1fe022[_0x580976(0xb9)](Object[_0x580976(0xc3)](et(_0x3f49a4),{'isFromAdapter':!0x0}));}}}[_0x4a9002(0x73)](_0x5ce105){const _0x321cbf=_0x4a9002;if(!this[_0x321cbf(0xbb)][_0x321cbf(0xa9)](_0x5ce105))throw new _0x1fc73f(_0x321cbf(0x7b),null,{'channelId':_0x5ce105});return this[_0x321cbf(0xbb)][_0x321cbf(0x76)](_0x5ce105);}async[_0x4a9002(0xcb)](_0x50f4bc){const _0x4eea77=_0x4a9002,_0x3a3d73=this[_0x4eea77(0xd4)][_0x4eea77(0x95)][_0x4eea77(0x76)](_0x3259f1),{connection:_0xba56ec}=this[_0x4eea77(0xd4)][_0x4eea77(0x95)][_0x4eea77(0x76)](_0x46319f),_0x17bb7a=new Set();for(const {resolvedBy:_0x61752e,comments:_0x1361ca}of _0x50f4bc){_0x61752e&&!_0x3a3d73[_0x4eea77(0xb4)](_0x61752e)&&_0x17bb7a[_0x4eea77(0xac)](_0x61752e);for(const {userId:_0x3c86a4}of _0x1361ca)_0x3a3d73[_0x4eea77(0xb4)](_0x3c86a4)||_0x17bb7a[_0x4eea77(0xac)](_0x3c86a4);}if(0x0===_0x17bb7a[_0x4eea77(0xc6)])return;const _0x303373=await _0x4728f0[_0x4eea77(0x80)](_0xba56ec,Array[_0x4eea77(0x9d)](_0x17bb7a));for(const _0x1aa883 of _0x303373)_0x3a3d73[_0x4eea77(0xb4)](_0x1aa883['id'])||_0x3a3d73[_0x4eea77(0x98)](_0x1aa883);}}function _0xe885(_0x4111ed,_0x1824d9){const _0x4e82cd=_0x4e82();return _0xe885=function(_0xe88526,_0x1b2635){_0xe88526=_0xe88526-0x73;let _0x490758=_0x4e82cd[_0xe88526];return _0x490758;},_0xe885(_0x4111ed,_0x1824d9);}export{s as CloudServicesCommentsAdapter};async function Z(_0x210b6e){const _0x4b0a30=_0x4a9002;if(_0x4b0a30(0xb8)!==_0x210b6e[_0x4b0a30(0xd0)])throw _0x210b6e;}function tt(_0x2b406c){const _0x1438ab=_0x4a9002;if((_0x497a64=_0x2b406c)[_0x1438ab(0x7a)][_0x1438ab(0x8d)](_0x1438ab(0xa6))||_0x497a64[_0x1438ab(0x7a)][_0x1438ab(0x8d)](_0x1438ab(0xa7))||_0x497a64[_0x1438ab(0x7a)][_0x1438ab(0x8d)](_0x1438ab(0xb0)))return new Promise(()=>{});var _0x497a64;throw _0x2b406c;}function et(_0x139ac0){const _0xb35056=_0x4a9002;return{'threadId':_0x139ac0[_0xb35056(0x85)],'commentId':_0x139ac0[_0xb35056(0xab)],'content':_0x139ac0[_0xb35056(0xcd)],'createdAt':_0x139ac0[_0xb35056(0xc8)],'authorId':_0x139ac0[_0xb35056(0xd2)],'attributes':_0x139ac0[_0xb35056(0x83)]||{}};}
|
|
23
|
+
const _0x57b6e4=_0x506d;function _0x506d(_0x22b627,_0x38b215){const _0x50ec12=_0x50ec();return _0x506d=function(_0x506df7,_0x1a8b73){_0x506df7=_0x506df7-0xd1;let _0x5c553a=_0x50ec12[_0x506df7];return _0x5c553a;},_0x506d(_0x22b627,_0x38b215);}(function(_0x44a23e,_0x597c09){const _0x5f2064=_0x506d,_0x4622cb=_0x44a23e();while(!![]){try{const _0x265ee7=-parseInt(_0x5f2064(0xd9))/0x1*(parseInt(_0x5f2064(0x104))/0x2)+-parseInt(_0x5f2064(0x11f))/0x3*(parseInt(_0x5f2064(0xe7))/0x4)+parseInt(_0x5f2064(0x116))/0x5+parseInt(_0x5f2064(0x132))/0x6*(-parseInt(_0x5f2064(0x113))/0x7)+-parseInt(_0x5f2064(0x10e))/0x8*(parseInt(_0x5f2064(0xf7))/0x9)+-parseInt(_0x5f2064(0x114))/0xa+-parseInt(_0x5f2064(0xd4))/0xb*(-parseInt(_0x5f2064(0xdb))/0xc);if(_0x265ee7===_0x597c09)break;else _0x4622cb['push'](_0x4622cb['shift']());}catch(_0x47c0f3){_0x4622cb['push'](_0x4622cb['shift']());}}}(_0x50ec,0xc69fc));import{Context as _0x1c03e2,ContextPlugin as _0x225cf2}from'ckeditor5/src/core.js';function _0x50ec(){const _0x383f06=['commentThreadId','keys','context','updateCommentThread','3dwELKd','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','18372AHOcGn','collaboration.channelId','update','getCommentThread','map','CloudServicesCommentsAdapter','commentThreadUpdated','addCommentThread','delete','commentThreadReopened','reopen','from','5999024hHXrsz','size','comments','connect','listenTo','commentUpdated','deletedAt','reconnect','cloudservicescommentsadapter-connect-already-connected','register','reopenCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','remove','CommentsService','createdAt','Permissions','5193fxcTSt','isOfficialPlugin','_connectService','commentThreadResolved','getConnectedSessions','_setUpService','_fetchMissingUsersForThreads','commentRemoved','addToReconnectionStack','resolve','pluginName','removeCommentThread','permissions','628954uLbpxJ','setPermissions','404','mySessionId','_services','disconnect','isPremiumPlugin','CommentsRepository','commentThreadAdded','commentThreadRemoved','11976sTsDZh','content','_terminateService','resolveCommentThread','config','10864DHfoCe','15907210CWVtzl','unregister','3954610kHzJcF','updateComment','off','get','set','getMany','commentId','_getService','message','3aQLQcp','addComment','removeComment','catch','startsWith','sessionAdd:','cloud-services-internal-error:\x20Not\x20connected.','addUser','plugins','has','getUser','requires','commentAdded','code','add','init','resolvedBy','destroy','getComment','90AmJwgn','authorId','attributes','userId','cloudservicescommentsadapter-service-not-exist','resolvedAt','getCommentThreads','adapter','assign','cloudservicescommentsadapter-disconnect-not-exist','35519RIIemQ'];_0x50ec=function(){return _0x383f06;};return _0x50ec();}import{CKEditorError as _0x2abcb1}from'ckeditor5/src/utils.js';import{Users as _0x3b3de0}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x54c710,User as _0x53dc51}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x414817}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3455ca}from'../realtimecollaborativeediting/sessions.js';class s extends _0x225cf2{static [_0x57b6e4(0xf4)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x54c710)());[_0x57b6e4(0x108)];static get[_0x57b6e4(0x12a)](){const _0x80f80d=_0x57b6e4;return[_0x414817,_0x80f80d(0x10b),_0x3455ca,_0x3b3de0];}static get[_0x57b6e4(0x101)](){const _0x155ff4=_0x57b6e4;return _0x155ff4(0xe0);}static get[_0x57b6e4(0xf8)](){return!0x0;}static get[_0x57b6e4(0x10a)](){return!0x0;}constructor(_0x596ed9){const _0x153019=_0x57b6e4;super(_0x596ed9),this[_0x153019(0x108)]=new Map();}async[_0x57b6e4(0x12e)](){const _0x31f2d0=_0x57b6e4,_0x953c17=this[_0x31f2d0(0xd7)],_0x5902c0=_0x953c17[_0x31f2d0(0x127)][_0x31f2d0(0x119)](_0x31f2d0(0x10b));if(_0x953c17[_0x31f2d0(0x127)][_0x31f2d0(0x119)](_0x414817)[_0x31f2d0(0xff)](this),_0x5902c0[_0x31f2d0(0xd1)]={'addCommentThread':async({channelId:_0x1253d8,threadId:_0x1e7299,comments:_0x518f18,resolvedAt:_0x85dd79,resolvedBy:_0x5d2107,context:_0x2b372e,attributes:_0x198caf})=>{const _0x3411f8=_0x31f2d0,_0x3e658f=await this[_0x3411f8(0x11d)](_0x1253d8)[_0x3411f8(0xe2)]({'commentThreadId':_0x1e7299,'comments':_0x518f18[_0x3411f8(0xdf)](_0x111995=>function(_0x5f4c33,_0xe7f031,_0x427d0c){const _0x206f28=_0x3411f8;return{'commentThreadId':_0x427d0c,'commentId':_0x5f4c33[_0x206f28(0x11c)],'userId':_0x5f4c33[_0x206f28(0x133)],'content':_0x5f4c33[_0x206f28(0x10f)],'documentId':_0xe7f031,'createdAt':_0x5f4c33[_0x206f28(0xf5)],'attributes':_0x5f4c33[_0x206f28(0x134)]||{}};}(_0x111995,_0x1253d8,_0x1e7299)),'resolvedAt':_0x85dd79,'resolvedBy':_0x5d2107,'context':_0x2b372e,'attributes':_0x198caf})[_0x3411f8(0x122)](A);return{'threadId':_0x3e658f[_0x3411f8(0xd5)],'comments':_0x3e658f[_0x3411f8(0xe9)]};},'getCommentThread':async({channelId:_0x3a0093,threadId:_0x4171ea})=>{const _0x1c9547=_0x31f2d0,_0x5e7073=await this[_0x1c9547(0x11d)](_0x3a0093)[_0x1c9547(0xde)](_0x4171ea)[_0x1c9547(0x122)](v)[_0x1c9547(0x122)](A);return _0x5e7073?_0x5e7073[_0x1c9547(0xed)]?null:(await this[_0x1c9547(0xfd)]([_0x5e7073]),{'threadId':_0x5e7073[_0x1c9547(0xd5)],'comments':_0x5e7073[_0x1c9547(0xe9)][_0x1c9547(0xdf)](p),'context':_0x5e7073[_0x1c9547(0xd7)],'resolvedAt':_0x5e7073[_0x1c9547(0x137)],'resolvedBy':_0x5e7073[_0x1c9547(0x12f)],'attributes':_0x5e7073[_0x1c9547(0x134)]||{}}):null;},'updateCommentThread':async({channelId:_0xcce808,threadId:_0x1cba90,context:_0x3ed99f,unlinkedAt:_0x12df12,attributes:_0xa923bf})=>this[_0x31f2d0(0x11d)](_0xcce808)[_0x31f2d0(0xd8)]({'commentThreadId':_0x1cba90,'context':_0x3ed99f,'attributes':_0xa923bf,'unlinkedAt':_0x12df12})[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A),'resolveCommentThread':async({channelId:_0x3de05e,threadId:_0x7aa300})=>{const _0x5e29cc=_0x31f2d0,_0x34190e=await this[_0x5e29cc(0x11d)](_0x3de05e)[_0x5e29cc(0x111)](_0x7aa300)[_0x5e29cc(0x122)](v)[_0x5e29cc(0x122)](A);return{'threadId':_0x34190e[_0x5e29cc(0xd5)],'resolvedAt':_0x34190e[_0x5e29cc(0x137)],'resolvedBy':_0x34190e[_0x5e29cc(0x12f)]};},'reopenCommentThread':async({channelId:_0x5a5c5b,threadId:_0x5771d0})=>this[_0x31f2d0(0x11d)](_0x5a5c5b)[_0x31f2d0(0xf1)](_0x5771d0)[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A),'removeCommentThread':({channelId:_0x37aa89,threadId:_0x3d8f31})=>this[_0x31f2d0(0x11d)](_0x37aa89)[_0x31f2d0(0x102)](_0x3d8f31)[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A),'addComment':({channelId:_0x5ebe7c,threadId:_0x523101,commentId:_0x32b58e,content:_0x37da5e,attributes:_0x3bcc08})=>this[_0x31f2d0(0x11d)](_0x5ebe7c)[_0x31f2d0(0x120)](_0x523101,_0x32b58e,_0x37da5e,_0x3bcc08)[_0x31f2d0(0x122)](A),'updateComment':({channelId:_0x3e81fc,threadId:_0x551386,commentId:_0x5a98f3,content:_0x57af30,attributes:_0x4f2f1f})=>this[_0x31f2d0(0x11d)](_0x3e81fc)[_0x31f2d0(0x117)](_0x551386,_0x5a98f3,_0x57af30,_0x4f2f1f)[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A),'removeComment':({channelId:_0x3a7564,threadId:_0xce83be,commentId:_0x2c2e7b})=>this[_0x31f2d0(0x11d)](_0x3a7564)[_0x31f2d0(0x121)](_0xce83be,_0x2c2e7b)[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A)},_0x953c17 instanceof _0x1c03e2){const _0x2c5ff7=_0x953c17[_0x31f2d0(0x112)][_0x31f2d0(0x119)](_0x31f2d0(0xdc)),_0x1e31df=_0x953c17[_0x31f2d0(0x127)][_0x31f2d0(0x119)](_0x3455ca);await this[_0x31f2d0(0xfc)](_0x2c5ff7);const _0x3a1e76=await this[_0x31f2d0(0x108)][_0x31f2d0(0x119)](_0x2c5ff7)[_0x31f2d0(0xfb)]();this[_0x31f2d0(0xeb)](_0x1e31df,_0x31f2d0(0x124)+_0x2c5ff7,(_0x1724dc,{session:_0xfe18ba})=>{const _0x418591=_0x31f2d0;_0xfe18ba['id']===_0x1e31df[_0x418591(0x107)]&&(_0x1724dc[_0x418591(0x118)](),this[_0x418591(0xd7)][_0x418591(0x127)][_0x418591(0x119)](_0x418591(0xf6))[_0x418591(0x105)](_0xfe18ba[_0x418591(0x103)],_0x2c5ff7));}),_0x1e31df[_0x31f2d0(0xf0)](_0x2c5ff7,_0x3a1e76);}}async[_0x57b6e4(0xfc)](_0x1df496){const _0x21075d=_0x57b6e4;if(this[_0x21075d(0x108)][_0x21075d(0x128)](_0x1df496))throw new _0x2abcb1(_0x21075d(0xef),null,{'channelId':_0x1df496});const _0x26edc2=this[_0x21075d(0xd7)][_0x21075d(0x127)][_0x21075d(0x119)](_0x21075d(0x10b)),_0x1f90c8=new s[(_0x21075d(0xf4))](_0x1df496);this[_0x21075d(0x108)][_0x21075d(0x11a)](_0x1df496,_0x1f90c8),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0x10c),(_0x2960ad,_0x6d09a0)=>{const _0x298fae=_0x21075d,{commentThreadId:_0x2bb4a0,documentId:_0x1dbfcd,context:_0x4392d8,attributes:_0x595c9e,resolvedAt:_0x4f36b0,resolvedBy:_0x3dd55a,comments:_0x5cac88}=_0x6d09a0;_0x26edc2[_0x298fae(0xde)](_0x2bb4a0)||_0x26edc2[_0x298fae(0xe2)]({'threadId':_0x2bb4a0,'channelId':_0x1dbfcd,'comments':_0x5cac88?_0x5cac88[_0x298fae(0xdf)](p):[],'context':_0x4392d8,'attributes':_0x595c9e,'resolvedAt':_0x4f36b0,'resolvedBy':_0x3dd55a,'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xe1),(_0x182287,{commentThreadId:_0x1f0c1e,documentId:_0x382e19,context:_0x4509a1,unlinkedAt:_0x31fc47,attributes:_0x24d335})=>{const _0x1ee6d2=_0x21075d;_0x26edc2[_0x1ee6d2(0xde)](_0x1f0c1e)&&_0x26edc2[_0x1ee6d2(0xd8)]({'threadId':_0x1f0c1e,'channelId':_0x382e19,'context':_0x4509a1,'unlinkedAt':_0x31fc47,'attributes':_0x24d335,'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xfa),(_0x57ba05,{commentThreadId:_0x415de2,resolvedBy:_0x28e811,resolvedAt:_0x5524f5})=>{const _0x5541be=_0x21075d,_0x51ea7e=_0x26edc2[_0x5541be(0xde)](_0x415de2);_0x51ea7e&&_0x51ea7e[_0x5541be(0x100)]({'resolvedBy':_0x28e811,'resolvedAt':_0x5524f5,'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xe4),(_0x891e98,{commentThreadId:_0x330cb})=>{const _0x54e7ef=_0x21075d,_0x3eb61b=_0x26edc2[_0x54e7ef(0xde)](_0x330cb);_0x3eb61b&&_0x3eb61b[_0x54e7ef(0xe5)]({'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0x10d),(_0xb4ab6b,{commentThreadId:_0x39c0b8})=>{const _0xe01851=_0x21075d,_0x13af14=_0x26edc2[_0xe01851(0xde)](_0x39c0b8);_0x13af14&&_0x13af14[_0xe01851(0xf3)]({'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0x12b),(_0x3991ea,_0x472123)=>{const _0x33dd46=_0x21075d,_0x5f225b=_0x472123[_0x33dd46(0xd5)],_0x29f30a=_0x26edc2[_0x33dd46(0xde)](_0x5f225b);_0x29f30a&&_0x29f30a[_0x33dd46(0x120)]({...p(_0x472123),'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xec),(_0x1ec7a5,{commentThreadId:_0x460282,commentId:_0x157471,content:_0x4a26d2,attributes:_0x328835})=>{const _0x21f7cc=_0x21075d,_0xcb9bed=_0x26edc2[_0x21f7cc(0xde)](_0x460282);if(_0xcb9bed){const _0x23da36=_0xcb9bed[_0x21f7cc(0x131)](_0x157471);_0x23da36&&_0x23da36[_0x21f7cc(0xdd)]({'content':_0x4a26d2,'attributes':_0x328835,'isFromAdapter':!0x0});}}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xfe),(_0x59f054,{commentThreadId:_0x1ad7ce,commentId:_0x56ec2d})=>{const _0x2ae685=_0x21075d,_0x28d233=_0x26edc2[_0x2ae685(0xde)](_0x1ad7ce);if(_0x28d233){const _0x358afb=_0x28d233[_0x2ae685(0x131)](_0x56ec2d);_0x358afb&&_0x358afb[_0x2ae685(0xf3)]({'isFromAdapter':!0x0});}}),await this[_0x21075d(0xf9)](_0x1df496);}[_0x57b6e4(0x130)](){const _0x5a7744=_0x57b6e4;if(this[_0x5a7744(0xd7)]instanceof _0x1c03e2){const _0x273d4d=this[_0x5a7744(0xd7)][_0x5a7744(0x112)][_0x5a7744(0x119)](_0x5a7744(0xdc));this[_0x5a7744(0x110)](_0x273d4d);}}[_0x57b6e4(0x110)](_0x140eb6){const _0x313684=_0x57b6e4;if(!this[_0x313684(0x108)][_0x313684(0x128)](_0x140eb6))throw new _0x2abcb1(_0x313684(0xd3),null,{'channelId':_0x140eb6});this[_0x313684(0x11d)](_0x140eb6)[_0x313684(0x109)](),this[_0x313684(0x108)][_0x313684(0xe3)](_0x140eb6);}async[_0x57b6e4(0xee)](){const _0xe63cd4=_0x57b6e4;for(const _0x573a4a of this[_0xe63cd4(0x108)][_0xe63cd4(0xd6)]())await this[_0xe63cd4(0xf9)](_0x573a4a);if(this[_0xe63cd4(0xd7)]instanceof _0x1c03e2){const _0x3b6380=this[_0xe63cd4(0xd7)][_0xe63cd4(0x112)][_0xe63cd4(0x119)](_0xe63cd4(0xdc)),_0x25f5ff=this[_0xe63cd4(0xd7)][_0xe63cd4(0x127)][_0xe63cd4(0x119)](_0x3455ca);_0x25f5ff[_0xe63cd4(0x115)](_0x3b6380);const _0x76f668=await this[_0xe63cd4(0x108)][_0xe63cd4(0x119)](_0x3b6380)[_0xe63cd4(0xfb)]();_0x25f5ff[_0xe63cd4(0xf0)](_0x3b6380,_0x76f668);}}async[_0x57b6e4(0xf9)](_0x2d4751){const _0x365967=_0x57b6e4,{connection:_0x36a4be}=this[_0x365967(0xd7)][_0x365967(0x127)][_0x365967(0x119)](_0x414817),_0xd4fb01=this[_0x365967(0xd7)][_0x365967(0x127)][_0x365967(0x119)](_0x365967(0x10b)),_0x367a5d=this[_0x365967(0x108)][_0x365967(0x119)](_0x2d4751),_0x50fcad=await _0x367a5d[_0x365967(0xea)](_0x36a4be);await this[_0x365967(0xfd)](_0x50fcad);const _0x1a67bb=new Set(Array[_0x365967(0xe6)](_0xd4fb01[_0x365967(0x138)]({'channelId':_0x2d4751}),_0x53be1c=>_0x53be1c['id']));for(const _0x9971c5 of _0x50fcad)_0x9971c5[_0x365967(0xed)]||_0x1a67bb[_0x365967(0xe3)](_0x9971c5[_0x365967(0xd5)]);for(const _0x439aca of _0x1a67bb)_0xd4fb01[_0x365967(0xde)](_0x439aca)[_0x365967(0xf3)]({'isFromAdapter':!0x0});for(const _0x11f8cf of _0x50fcad){let _0x1ac755=_0xd4fb01[_0x365967(0xde)](_0x11f8cf[_0x365967(0xd5)]);const {commentThreadId:_0xaf93af,context:_0x326c1c,attributes:_0x54153f,resolvedBy:_0x40ebb9,resolvedAt:_0xf2b4bd,unlinkedAt:_0x4d84b9,deletedAt:_0x1ab01f}=_0x11f8cf;if(_0x1ab01f)continue;_0x1ac755||(_0x1ac755=_0xd4fb01[_0x365967(0xe2)]({'channelId':_0x2d4751,'threadId':_0xaf93af,'context':_0x326c1c,'attributes':_0x54153f||{},'resolvedBy':_0x40ebb9,'resolvedAt':_0xf2b4bd,'unlinkedAt':_0x4d84b9,'isFromAdapter':!0x0}));const _0x3ada4c=new Set(Array[_0x365967(0xe6)](_0x1ac755[_0x365967(0xe9)],_0x2909fc=>_0x2909fc['id']));for(const _0x15bb34 of _0x11f8cf[_0x365967(0xe9)])_0x3ada4c[_0x365967(0xe3)](_0x15bb34[_0x365967(0x11c)]);for(const _0x20b3ba of _0x3ada4c)_0x1ac755[_0x365967(0x131)](_0x20b3ba)[_0x365967(0xf3)]({'isFromAdapter':!0x0});for(const _0x29b6df of _0x11f8cf[_0x365967(0xe9)]){const _0x28f6f8=_0x1ac755[_0x365967(0x131)](_0x29b6df[_0x365967(0x11c)]);_0x28f6f8?_0x28f6f8[_0x365967(0x10f)]!==_0x29b6df[_0x365967(0x10f)]&&_0x28f6f8[_0x365967(0xdd)]({'content':_0x29b6df[_0x365967(0x10f)],'isFromAdapter':!0x0}):_0x1ac755[_0x365967(0x120)](Object[_0x365967(0xd2)](p(_0x29b6df),{'isFromAdapter':!0x0}));}}}[_0x57b6e4(0x11d)](_0x42b91e){const _0x1eb259=_0x57b6e4;if(!this[_0x1eb259(0x108)][_0x1eb259(0x128)](_0x42b91e))throw new _0x2abcb1(_0x1eb259(0x136),null,{'channelId':_0x42b91e});return this[_0x1eb259(0x108)][_0x1eb259(0x119)](_0x42b91e);}async[_0x57b6e4(0xfd)](_0x2c50db){const _0x2a9832=_0x57b6e4,_0x573f1b=this[_0x2a9832(0xd7)][_0x2a9832(0x127)][_0x2a9832(0x119)](_0x3b3de0),{connection:_0x495aeb}=this[_0x2a9832(0xd7)][_0x2a9832(0x127)][_0x2a9832(0x119)](_0x414817),_0x2c8736=new Set();for(const {resolvedBy:_0x1536ac,comments:_0x2fc423}of _0x2c50db){_0x1536ac&&!_0x573f1b[_0x2a9832(0x129)](_0x1536ac)&&_0x2c8736[_0x2a9832(0x12d)](_0x1536ac);for(const {userId:_0x7826c8}of _0x2fc423)_0x573f1b[_0x2a9832(0x129)](_0x7826c8)||_0x2c8736[_0x2a9832(0x12d)](_0x7826c8);}if(0x0===_0x2c8736[_0x2a9832(0xe8)])return;const _0x3784f9=await _0x53dc51[_0x2a9832(0x11b)](_0x495aeb,Array[_0x2a9832(0xe6)](_0x2c8736));for(const _0x1cdf82 of _0x3784f9)_0x573f1b[_0x2a9832(0x129)](_0x1cdf82['id'])||_0x573f1b[_0x2a9832(0x126)](_0x1cdf82);}}export{s as CloudServicesCommentsAdapter};async function v(_0x1d3803){const _0x41f4dd=_0x57b6e4;if(_0x41f4dd(0x106)!==_0x1d3803[_0x41f4dd(0x12c)])throw _0x1d3803;}function A(_0x87caf3){const _0x14b522=_0x57b6e4;if((_0xf1bd33=_0x87caf3)[_0x14b522(0x11e)][_0x14b522(0x123)](_0x14b522(0xda))||_0xf1bd33[_0x14b522(0x11e)][_0x14b522(0x123)](_0x14b522(0x125))||_0xf1bd33[_0x14b522(0x11e)][_0x14b522(0x123)](_0x14b522(0xf2)))return new Promise(()=>{});var _0xf1bd33;throw _0x87caf3;}function p(_0x10e5b4){const _0x4088d1=_0x57b6e4;return{'threadId':_0x10e5b4[_0x4088d1(0xd5)],'commentId':_0x10e5b4[_0x4088d1(0x11c)],'content':_0x10e5b4[_0x4088d1(0x10f)],'createdAt':_0x10e5b4[_0x4088d1(0xf5)],'authorId':_0x10e5b4[_0x4088d1(0x135)],'attributes':_0x10e5b4[_0x4088d1(0x134)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b5111=_0x2611;function _0x2611(_0x825cd9,_0x722195){const _0xbdc4f3=_0xbdc4();return _0x2611=function(_0x261119,_0x4ed501){_0x261119=_0x261119-0xc1;let _0x545466=_0xbdc4f3[_0x261119];return _0x545466;},_0x2611(_0x825cd9,_0x722195);}function _0xbdc4(){const _0x205d0f=['RealTimeCollaborativeComments','isPremiumPlugin','listenTo','CommentsRepository','1668PVjJvA','Comments','18ptFLaS','isOfficialPlugin','_terminateService','connected','editor','17418jEHxoV','9611JgPLMl','plugins','data','_setUpService','69676zftOIp','requires','ready','get','92lSirfX','isThreadsLoadingPaused','destroy','change:state','init','CommentsEditing','187934BYYuuy','collaboration.channelId','5956360ExaOmq','741568LJOdGx','pluginName','once','839580lgxgLN','config','switchReadOnly'];_0xbdc4=function(){return _0x205d0f;};return _0xbdc4();}(function(_0x2eb4b7,_0x417b25){const _0x36da30=_0x2611,_0x43354f=_0x2eb4b7();while(!![]){try{const _0x204d92=parseInt(_0x36da30(0xd8))/0x1+parseInt(_0x36da30(0xd2))/0x2*(parseInt(_0x36da30(0xc9))/0x3)+-parseInt(_0x36da30(0xce))/0x4+parseInt(_0x36da30(0xde))/0x5+-parseInt(_0x36da30(0xc2))/0x6*(-parseInt(_0x36da30(0xca))/0x7)+-parseInt(_0x36da30(0xdb))/0x8*(parseInt(_0x36da30(0xc4))/0x9)+-parseInt(_0x36da30(0xda))/0xa;if(_0x204d92===_0x417b25)break;else _0x43354f['push'](_0x43354f['shift']());}catch(_0x258453){_0x43354f['push'](_0x43354f['shift']());}}}(_0xbdc4,0x3255d));import{Plugin as _0x4d8673}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x5328fb}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x5a1a19}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x2ab41d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4d8673{static get[_0x2b5111(0xcf)](){const _0xbb32fd=_0x2b5111;return[_0xbb32fd(0xc3),_0x5328fb,_0x5a1a19,_0x2ab41d];}static get[_0x2b5111(0xdc)](){const _0x33bd38=_0x2b5111;return _0x33bd38(0xe1);}static get[_0x2b5111(0xc5)](){return!0x0;}static get[_0x2b5111(0xe2)](){return!0x0;}[_0x2b5111(0xd6)](){const _0xce9cf2=_0x2b5111,_0x26a215=this[_0xce9cf2(0xc8)][_0xce9cf2(0xcb)][_0xce9cf2(0xd1)](_0x2ab41d),_0x1ff3ab=this[_0xce9cf2(0xc8)][_0xce9cf2(0xcb)][_0xce9cf2(0xd1)](_0xce9cf2(0xd7)),_0x181806=this[_0xce9cf2(0xc8)][_0xce9cf2(0xcb)][_0xce9cf2(0xd1)](_0x5328fb);return this[_0xce9cf2(0xc8)][_0xce9cf2(0xcc)][_0xce9cf2(0xdd)](_0xce9cf2(0xd0),()=>{const _0xb69c4a=_0xce9cf2;this[_0xb69c4a(0xe3)](_0x26a215,_0xb69c4a(0xd5),(_0xcfff61,_0x457f85,_0x409b38)=>{const _0x4b686c=_0xb69c4a;_0x1ff3ab[_0x4b686c(0xd3)]=_0x4b686c(0xc7)!==_0x409b38;});}),this[_0xce9cf2(0xe3)](_0x26a215,_0xce9cf2(0xd5),(_0x3e907a,_0x343ba3,_0x31b3c5)=>{const _0x161a8e=_0xce9cf2;this[_0x161a8e(0xc8)][_0x161a8e(0xcb)][_0x161a8e(0xd1)](_0x161a8e(0xc1))[_0x161a8e(0xe0)](_0x161a8e(0xc7)!==_0x31b3c5);}),_0x181806[_0xce9cf2(0xcd)](this[_0xce9cf2(0xc8)][_0xce9cf2(0xdf)][_0xce9cf2(0xd1)](_0xce9cf2(0xd9)));}[_0x2b5111(0xd4)](){const _0x576223=_0x2b5111;this[_0x576223(0xc8)][_0x576223(0xcb)][_0x576223(0xd1)](_0x5328fb)[_0x576223(0xc6)](this[_0x576223(0xc8)][_0x576223(0xdf)][_0x576223(0xd1)](_0x576223(0xd9))),super[_0x576223(0xd4)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4fcc5b)());[_0x226577(0x17d)];[_0x226577(0x1ed)];[_0x226577(0x1ad)];[_0x226577(0x1fb)];[_0x226577(0x20b)];[_0x226577(0x1bc)];[_0x226577(0x228)];[_0x226577(0x148)];[_0x226577(0x21b)];[_0x226577(0x213)];[_0x226577(0x209)];[_0x226577(0x21e)];[_0x226577(0x234)];[_0x226577(0x218)];[_0x226577(0x14f)];[_0x226577(0x16a)];[_0x226577(0x217)];[_0x226577(0x152)];static get[_0x226577(0x214)](){return[_0x1b9bd0,_0xac2796,_0x12d10e,_0x1ea745,_0x58d49a,_0x53e0ae];}static get[_0x226577(0x20d)](){const _0x18810a=_0x226577;return _0x18810a(0x14e);}static get[_0x226577(0x229)](){return!0x0;}static get[_0x226577(0x18a)](){return!0x0;}get[_0x226577(0x199)](){const _0x4018c2=_0x226577;return this[_0x4018c2(0x195)]+this[_0x4018c2(0x17d)];}get[_0x226577(0x195)](){const _0x519a59=_0x226577;return this[_0x519a59(0x1ad)][_0x519a59(0x1ec)]-this[_0x519a59(0x17d)];}get[_0x226577(0x17c)](){const _0x30f7e0=_0x226577,_0x248aac=this[_0x30f7e0(0x1ad)][_0x30f7e0(0x1ca)]();for(let _0x4bbc23=_0x248aac[_0x30f7e0(0x239)]-0x1;_0x4bbc23>=0x0;_0x4bbc23--){const _0x51e102=_0x248aac[_0x4bbc23];if(!this[_0x30f7e0(0x217)][_0x30f7e0(0x1e0)](_0x51e102))return _0x51e102[_0x30f7e0(0x1b3)]+0x1-this[_0x30f7e0(0x17d)];}return 0x0;}constructor(_0x22f6ea){const _0x506e87=_0x226577;if(super(_0x22f6ea),this[_0x506e87(0x17d)]=0x0,this[_0x506e87(0x1ed)]=null,this[_0x506e87(0x1ad)]=new _0x454f77(),this[_0x506e87(0x1c3)][_0x506e87(0x1c4)][_0x506e87(0x1f2)](_0x506e87(0x1b7),{}),this[_0x506e87(0x1fb)]=this[_0x506e87(0x1c3)][_0x506e87(0x1c4)][_0x506e87(0x180)](_0x506e87(0x215)),!this[_0x506e87(0x1fb)])throw new _0x5e68c9(_0x506e87(0x155),this);const _0x31c587=_0x22f6ea[_0x506e87(0x1c4)][_0x506e87(0x180)](_0x506e87(0x1ef))||_0x9dee38;this[_0x506e87(0x20b)]=new l[(_0x506e87(0x1f9))](_0x31c587,this[_0x506e87(0x1fb)]),this[_0x506e87(0x1bc)]=this[_0x506e87(0x1c3)][_0x506e87(0x1c7)][_0x506e87(0x203)],this[_0x506e87(0x228)]=new _0x5284bf(),this[_0x506e87(0x148)]=[],this[_0x506e87(0x21b)]=new WeakSet(),this[_0x506e87(0x213)]=new Set(),this[_0x506e87(0x232)](_0x506e87(0x172),!0x1),this[_0x506e87(0x232)](_0x506e87(0x170),!0x1),this[_0x506e87(0x209)]=null,this[_0x506e87(0x21e)]=!0x1,this[_0x506e87(0x234)]=null,this[_0x506e87(0x218)]=0x12c,this[_0x506e87(0x14f)]=this[_0x506e87(0x218)],this[_0x506e87(0x16a)]=null,this[_0x506e87(0x217)]=new WeakSet(),this[_0x506e87(0x152)]=new C(this[_0x506e87(0x217)]);}[_0x226577(0x16b)](){const _0x3b8dad=_0x226577,_0x56d2e2=this[_0x3b8dad(0x1c3)],_0x28bd0f=_0x56d2e2[_0x3b8dad(0x15e)][_0x3b8dad(0x180)](_0x58d49a),_0x81c0bb=_0x56d2e2[_0x3b8dad(0x15e)][_0x3b8dad(0x180)](_0x1b9bd0);this[_0x3b8dad(0x138)](_0x28bd0f,_0x3b8dad(0x160),(_0x50aeee,_0x7f638e)=>{const _0xd9dd05=_0x3b8dad,_0x2e09bf=_0x7f638e[0x0];_0x2e09bf[_0xd9dd05(0x1a6)]&&(_0x50aeee[_0xd9dd05(0x16c)]=_0x28bd0f[_0xd9dd05(0x238)](_0x2e09bf[_0xd9dd05(0x1a6)]),_0x50aeee[_0xd9dd05(0x139)]()),null===_0x2e09bf[_0xd9dd05(0x1a6)]&&(_0x50aeee[_0xd9dd05(0x16c)]=null,_0x50aeee[_0xd9dd05(0x139)]());},{'priority':_0x3b8dad(0x201)}),this[_0x3b8dad(0x138)](_0x56d2e2[_0x3b8dad(0x1c7)][_0x3b8dad(0x203)][_0x3b8dad(0x22a)],_0x3b8dad(0x1cd),(_0x10d291,_0x5a855c)=>{const _0x540a7e=_0x3b8dad;_0x5a855c[_0x540a7e(0x192)]&&this[_0x540a7e(0x182)]();}),this[_0x3b8dad(0x138)](_0x56d2e2[_0x3b8dad(0x23b)][_0x3b8dad(0x184)],_0x3b8dad(0x191),()=>{const _0x531e4a=_0x3b8dad;this[_0x531e4a(0x182)]();}),this[_0x3b8dad(0x1ea)](),_0x56d2e2[_0x3b8dad(0x1c7)]['on'](_0x3b8dad(0x140),(_0x475c9e,_0x38eb2d)=>{const _0x7a5c2b=_0x3b8dad,_0x41d24c=_0x38eb2d[0x0];_0x41d24c[_0x7a5c2b(0x185)]&&(this[_0x7a5c2b(0x1f8)](_0x41d24c),this[_0x7a5c2b(0x19f)]()&&this[_0x7a5c2b(0x18d)]());}),this[_0x3b8dad(0x153)](),this[_0x3b8dad(0x151)](_0x3b8dad(0x22f))['to'](_0x81c0bb,_0x3b8dad(0x216),this,_0x3b8dad(0x170),(_0x559cb8,_0x2dc0e1)=>_0x3b8dad(0x1cc)===_0x559cb8&&!_0x2dc0e1),this['on'](_0x3b8dad(0x163),()=>{const _0x300748=_0x3b8dad;this[_0x300748(0x22f)]?_0x56d2e2[_0x300748(0x219)](_0x300748(0x1d3)):_0x56d2e2[_0x300748(0x1ba)](_0x300748(0x1d3));}),this[_0x3b8dad(0x22f)]?_0x56d2e2[_0x3b8dad(0x219)](_0x3b8dad(0x1d3)):_0x56d2e2[_0x3b8dad(0x1ba)](_0x3b8dad(0x1d3)),this[_0x3b8dad(0x232)](_0x3b8dad(0x1a9),!0x1);}async[_0x226577(0x1f1)](){const _0x185d5e=_0x226577,_0x2ef188=this[_0x185d5e(0x1c3)][_0x185d5e(0x15e)][_0x185d5e(0x180)](_0xac2796),_0x17311b=this[_0x185d5e(0x1c3)][_0x185d5e(0x15e)][_0x185d5e(0x180)](_0x1b9bd0);try{this[_0x185d5e(0x172)]=!0x0,_0x2ef188[_0x185d5e(0x235)](this[_0x185d5e(0x1fb)]);const _0x2ef344=await this[_0x185d5e(0x20b)][_0x185d5e(0x1f1)](_0x17311b[_0x185d5e(0x197)],this[_0x185d5e(0x17c)]);await this[_0x185d5e(0x1a3)](_0x2ef344)&&(this[_0x185d5e(0x172)]=!0x1,this[_0x185d5e(0x1d2)]());const _0x4394bc=await this[_0x185d5e(0x20b)][_0x185d5e(0x1dd)]();_0x2ef188[_0x185d5e(0x1ee)](this[_0x185d5e(0x1fb)],_0x4394bc),this[_0x185d5e(0x13e)](),this[_0x185d5e(0x1a9)]=!0x0;}catch(_0xa8f4e0){if(function(_0x409f0e){const _0x79bba2=_0x185d5e;return _0x79bba2(0x1cb)===_0x409f0e[_0x79bba2(0x1d1)];}(_0xa8f4e0)&&this[_0x185d5e(0x1ed)])await this[_0x185d5e(0x1b0)]();else{if(function(_0x48bc48){const _0x34eace=_0x185d5e;return _0x34eace(0x19c)===_0x48bc48[_0x34eace(0x1d1)];}(_0xa8f4e0)){const _0x234d59=_0x3419bc(this[_0x185d5e(0x1c3)][_0x185d5e(0x1f5)],_0x185d5e(0x1fa));this[_0x185d5e(0x15a)](_0x234d59);}else{if(!(_0xa8f4e0 instanceof P))throw _0xa8f4e0;this[_0x185d5e(0x15a)]();}}}}[_0x226577(0x1b9)](){const _0x44ec78=_0x226577,_0x46d754=this[_0x44ec78(0x1c3)][_0x44ec78(0x15e)][_0x44ec78(0x180)](_0x1b9bd0),_0x35b22e=this[_0x44ec78(0x1c3)][_0x44ec78(0x15e)][_0x44ec78(0x180)](_0xac2796);this[_0x44ec78(0x1c3)][_0x44ec78(0x1ba)](_0x44ec78(0x18e)),_0x35b22e[_0x44ec78(0x193)][_0x44ec78(0x1e0)](this[_0x44ec78(0x1fb)])&&_0x35b22e[_0x44ec78(0x235)](this[_0x44ec78(0x1fb)]),_0x46d754[_0x44ec78(0x1cf)](this),this[_0x44ec78(0x19a)](),super[_0x44ec78(0x1b9)]();}async[_0x226577(0x1a3)](_0x58b529){const _0x62167f=_0x226577;if(this[_0x62167f(0x1ed)]!==_0x58b529[_0x62167f(0x1ed)]&&this[_0x62167f(0x16a)]!==_0x58b529[_0x62167f(0x1d0)])throw new P();return this[_0x62167f(0x1ed)]=_0x58b529[_0x62167f(0x1ed)],this[_0x62167f(0x1af)]([],{..._0x58b529,'wereChangesApplied':!0x1,'data':_0x58b529[_0x62167f(0x1bb)]},_0x62167f(0x1f1));}async[_0x226577(0x236)](_0x3bccfd,_0x1ae183=!0x1){const _0x43bc74=_0x226577,{connection:_0xb79103}=this[_0x43bc74(0x1c3)][_0x43bc74(0x15e)][_0x43bc74(0x180)](_0x1b9bd0);l[_0x43bc74(0x1f9)][_0x43bc74(0x1dd)](_0xb79103,this[_0x43bc74(0x1fb)])[_0x43bc74(0x1f0)](_0x79cedb=>this[_0x43bc74(0x230)](_0x79cedb))[_0x43bc74(0x19d)](_0x2bcba2=>{const _0x30ac07=_0x43bc74;this[_0x30ac07(0x17a)](_0x30ac07(0x16e),_0x2bcba2);}),this[_0x43bc74(0x138)](this[_0x43bc74(0x20b)],_0x43bc74(0x147),this[_0x43bc74(0x1c5)][_0x43bc74(0x151)](this)),this[_0x43bc74(0x138)](this[_0x43bc74(0x20b)],_0x43bc74(0x1ac),(_0x34e751,_0x2ddea6)=>{const _0x45b4f2=_0x43bc74;this[_0x45b4f2(0x17a)](_0x45b4f2(0x1e2),_0x2ddea6);}),this[_0x43bc74(0x138)](this[_0x43bc74(0x20b)],_0x43bc74(0x1a1),()=>{const _0xdffafd=_0x43bc74;this[_0xdffafd(0x1a9)]=!0x1;});const _0x129c98=this[_0x43bc74(0x152)][_0x43bc74(0x187)](_0x3bccfd);this[_0x43bc74(0x172)]=!0x0;const _0x17e66c=await this[_0x43bc74(0x20b)][_0x43bc74(0x196)](_0xb79103,this[_0x43bc74(0x183)](_0x3bccfd),_0x129c98);if(this[_0x43bc74(0x1ed)]=_0x17e66c[_0x43bc74(0x1ed)],_0x1ae183){if(!_0x17e66c[_0x43bc74(0x231)])return void this[_0x43bc74(0x15a)]();this[_0x43bc74(0x172)]=!0x1,this[_0x43bc74(0x1d2)](),this[_0x43bc74(0x1ad)][_0x43bc74(0x233)](),this[_0x43bc74(0x17d)]=_0x17e66c[_0x43bc74(0x181)],this[_0x43bc74(0x1ad)][_0x43bc74(0x1ec)]=this[_0x43bc74(0x17d)],await this[_0x43bc74(0x1af)](_0x3bccfd,_0x17e66c,_0x43bc74(0x17e));}else await this[_0x43bc74(0x178)](_0x17e66c,_0x3bccfd);this[_0x43bc74(0x13e)](),this[_0x43bc74(0x1a9)]=!0x0;}[_0x226577(0x13e)](){const _0x5d8c30=_0x226577,_0x5a37bf=this[_0x5d8c30(0x1c3)][_0x5d8c30(0x15e)][_0x5d8c30(0x180)](_0xac2796),_0x77bc9a=this[_0x5d8c30(0x1c3)][_0x5d8c30(0x15e)][_0x5d8c30(0x180)](_0x12d10e),_0x46dfee=_0x5a37bf[_0x5d8c30(0x193)][_0x5d8c30(0x180)](this[_0x5d8c30(0x1fb)]);_0x46dfee&&_0x46dfee[_0x5d8c30(0x239)]>0x1?_0x77bc9a[_0x5d8c30(0x162)]():this[_0x5d8c30(0x138)](_0x5a37bf,_0x5d8c30(0x166)+this[_0x5d8c30(0x1fb)],()=>{const _0x1dc0ba=_0x5d8c30;0x2===_0x5a37bf[_0x1dc0ba(0x193)][_0x1dc0ba(0x180)](this[_0x1dc0ba(0x1fb)])[_0x1dc0ba(0x239)]&&_0x77bc9a[_0x1dc0ba(0x162)]();});}async[_0x226577(0x1c5)](_0x1e6dab,_0x53d125,_0x14c104,_0x37a06a){const _0x816745=_0x226577;if(!this[_0x816745(0x172)]&&this[_0x816745(0x1bc)][_0x816745(0x1ec)]==_0x53d125){const _0x352032=this[_0x816745(0x20c)](_0x14c104,_0x37a06a);await this[_0x816745(0x1d6)](_0x352032),this[_0x816745(0x1fd)](_0x352032,_0x53d125,_0x14c104[_0x816745(0x1d0)])||this[_0x816745(0x17a)](_0x816745(0x202));}}async[_0x226577(0x1b0)](){const _0x398943=_0x226577;this[_0x398943(0x19a)]();const {locale:_0x5f3b4f}=this[_0x398943(0x1c3)];let _0xf77c99;try{_0xf77c99=await this[_0x398943(0x20b)][_0x398943(0x1a7)]();}catch{const _0x505473=_0x3419bc(_0x5f3b4f,_0x398943(0x1e7));return void this[_0x398943(0x15a)](_0x505473);}const _0x52eddd=_0xf77c99[_0x398943(0x171)]||_0xf77c99[_0x398943(0x177)];if(this[_0x398943(0x16a)]!==_0x52eddd[_0x398943(0x1d0)]){const _0x3f5f6b=_0x3419bc(_0x5f3b4f,_0x398943(0x13c));return void this[_0x398943(0x15a)](_0x3f5f6b);}await this[_0x398943(0x236)](this[_0x398943(0x1c3)][_0x398943(0x1c7)][_0x398943(0x203)][_0x398943(0x208)][_0x398943(0x1ca)](),!0x0);}[_0x226577(0x19a)](){const _0x242280=_0x226577;this[_0x242280(0x20b)][_0x242280(0x1a5)](),this[_0x242280(0x148)]=[],clearTimeout(this[_0x242280(0x234)]),this[_0x242280(0x1bf)](this[_0x242280(0x20b)]);}[_0x226577(0x230)](_0x29e264){const _0x1031a8=_0x226577,_0x4c3a69=this[_0x1031a8(0x1c3)][_0x1031a8(0x15e)][_0x1031a8(0x180)](_0xac2796);this[_0x1031a8(0x138)](_0x4c3a69,_0x1031a8(0x166)+this[_0x1031a8(0x1fb)],(_0xad8931,{session:_0x3e95f8})=>{const _0x49ca6d=_0x1031a8;if(_0x3e95f8['id']===_0x4c3a69[_0x49ca6d(0x14c)]){_0xad8931[_0x49ca6d(0x1eb)]();const _0x2b266c=this[_0x49ca6d(0x1c3)][_0x49ca6d(0x15e)][_0x49ca6d(0x1e0)](_0x49ca6d(0x164))&&this[_0x49ca6d(0x1c3)][_0x49ca6d(0x15e)][_0x49ca6d(0x180)](_0x49ca6d(0x164));let _0x4116fc=_0x3e95f8[_0x49ca6d(0x1e6)];_0x2b266c&&_0x2b266c[_0x49ca6d(0x15b)]&&(_0x4116fc=_0x4116fc[_0x49ca6d(0x220)](_0x2545ce=>_0x49ca6d(0x20a)!==_0x2545ce)),this[_0x49ca6d(0x1c3)][_0x49ca6d(0x15e)][_0x49ca6d(0x180)](_0x49ca6d(0x18f))[_0x49ca6d(0x13f)](_0x4116fc,this[_0x49ca6d(0x1fb)]);}}),_0x4c3a69[_0x1031a8(0x1ee)](this[_0x1031a8(0x1fb)],_0x29e264);}[_0x226577(0x1ea)](){const _0x235d74=_0x226577,_0x28ce3c=this[_0x235d74(0x1c3)][_0x235d74(0x1bb)][_0x235d74(0x232)];this[_0x235d74(0x1c3)][_0x235d74(0x1bb)][_0x235d74(0x232)]=(..._0x195565)=>{const _0x442ae6=_0x235d74;if(!_0x195565[_0x195565[_0x442ae6(0x239)]-0x1][_0x442ae6(0x176)])throw new _0x5e68c9(_0x442ae6(0x207),this);_0x28ce3c[_0x442ae6(0x19b)](this[_0x442ae6(0x1c3)][_0x442ae6(0x1bb)],_0x195565);};}[_0x226577(0x153)](){const _0x47d858=_0x226577;this[_0x47d858(0x1c3)][_0x47d858(0x1bb)]['on'](_0x47d858(0x16b),(_0x4f90aa,[_0x48341d])=>{const _0x5f09e7=_0x47d858;if(this[_0x5f09e7(0x1bc)][_0x5f09e7(0x1ec)])throw new _0x5e68c9(_0x5f09e7(0x17f),this);_0x4f90aa[_0x5f09e7(0x139)](),this[_0x5f09e7(0x1ab)]();const _0x412c4e=this[_0x5f09e7(0x1c3)][_0x5f09e7(0x1c4)][_0x5f09e7(0x180)](_0x5f09e7(0x23a)),_0x332c2c=this[_0x5f09e7(0x23c)](_0x48341d,_0x412c4e);0x0==_0x332c2c[_0x5f09e7(0x239)]&&_0x332c2c[_0x5f09e7(0x225)](new _0x5a7a2e(0x0)),_0x4f90aa[_0x5f09e7(0x16c)]=this[_0x5f09e7(0x236)](_0x332c2c)[_0x5f09e7(0x1f0)](()=>{const _0x200ba5=_0x5f09e7;this[_0x200ba5(0x1c3)][_0x200ba5(0x15e)][_0x200ba5(0x180)](_0x1b9bd0)[_0x200ba5(0x1b2)](this),this[_0x200ba5(0x1c3)][_0x200ba5(0x1bb)][_0x200ba5(0x179)](_0x200ba5(0x23e));})[_0x5f09e7(0x19d)](_0x3c4a91=>this[_0x5f09e7(0x17a)](_0x5f09e7(0x169),_0x3c4a91))[_0x5f09e7(0x154)](()=>this[_0x5f09e7(0x1d2)]());},{'priority':_0x47d858(0x201)}),this[_0x47d858(0x1c3)]['on'](_0x47d858(0x19e),async(_0x322dde,[_0x12d5a0,_0x59d3db])=>{const _0x1ae108=_0x47d858;_0x322dde[_0x1ae108(0x139)]();const _0x9ea676=this[_0x1ae108(0x1c3)][_0x1ae108(0x1c7)][_0x1ae108(0x203)][_0x1ae108(0x210)](_0x12d5a0);if(!this[_0x1ae108(0x213)][_0x1ae108(0x1e0)](_0x12d5a0)){const _0x2655a5=_0x59d3db&&_0x59d3db[_0x1ae108(0x1bb)]?_0x59d3db[_0x1ae108(0x1bb)]:'',_0x397450=_0x59d3db&&_0x59d3db[_0x1ae108(0x1e4)]?_0x59d3db[_0x1ae108(0x1e4)]:{};await this[_0x1ae108(0x20f)](_0x12d5a0,_0x2655a5,_0x397450);}this[_0x1ae108(0x1c3)][_0x1ae108(0x1c7)][_0x1ae108(0x1f4)]({'isUndoable':!0x1},()=>{const _0x3cc90f=_0x1ae108;_0x9ea676[_0x3cc90f(0x223)]=!0x0,this[_0x3cc90f(0x1c3)][_0x3cc90f(0x1c7)][_0x3cc90f(0x203)][_0x3cc90f(0x150)][_0x3cc90f(0x1c0)](_0x9ea676);});},{'priority':_0x47d858(0x201)});}async[_0x226577(0x1d6)](_0x2188b8){const _0x4e9912=_0x226577,_0x4234c2=this[_0x4e9912(0x1c3)][_0x4e9912(0x15e)][_0x4e9912(0x180)](_0x58d49a),{connection:_0x12190a}=this[_0x4e9912(0x1c3)][_0x4e9912(0x15e)][_0x4e9912(0x180)](_0x1b9bd0),_0x49d0f7=new Set();for(const _0x1434d8 of _0x2188b8){const _0x483dc8=_0x1434d8[_0x4e9912(0x1a6)];_0x483dc8&&!_0x4234c2[_0x4e9912(0x238)](_0x483dc8)&&_0x49d0f7[_0x4e9912(0x224)](_0x483dc8);}if(0x0===_0x49d0f7[_0x4e9912(0x1ae)])return;const _0xb6cb87=await _0x37fe72[_0x4e9912(0x159)](_0x12190a,Array[_0x4e9912(0x1b4)](_0x49d0f7));for(const _0x120046 of _0xb6cb87)_0x4234c2[_0x4e9912(0x238)](_0x120046['id'])||_0x4234c2[_0x4e9912(0x20e)](_0x120046);}[_0x226577(0x23c)](_0x2a4a02,_0x2912fb={}){const _0x16aa9a=_0x226577,_0x24125f=this[_0x16aa9a(0x1c3)][_0x16aa9a(0x1c7)],_0x3361fb=[];let _0x1d84f6=0x0;const _0xb43e10=_0x16aa9a(0x186)==typeof _0x2a4a02?{'main':_0x2a4a02}:_0x2a4a02;for(const _0x540bac of Object[_0x16aa9a(0x1a0)](_0xb43e10)){if(!this[_0x16aa9a(0x1bc)][_0x16aa9a(0x18b)][_0x16aa9a(0x1e0)](_0x540bac))throw new _0x5e68c9(_0x16aa9a(0x227),this);const _0x500a41=this[_0x16aa9a(0x1c3)][_0x16aa9a(0x1bb)][_0x16aa9a(0x1ff)](_0xb43e10[_0x540bac]),_0x4985d0=this[_0x16aa9a(0x1bc)][_0x16aa9a(0x210)](_0x540bac),_0x358131=new _0x47cc5e(_0x24125f[_0x16aa9a(0x22e)](_0x4985d0,0x0),_0x500a41,_0x1d84f6++);_0x3361fb[_0x16aa9a(0x225)](_0x358131);for(const [_0x58b79e,_0x5141e1]of _0x500a41[_0x16aa9a(0x141)]){const _0x866b63=_0x24125f[_0x16aa9a(0x1a8)](_0x24125f[_0x16aa9a(0x1a2)](_0x4985d0,_0x5141e1[_0x16aa9a(0x1b6)][_0x16aa9a(0x1de)][_0x16aa9a(0x15d)]()),_0x24125f[_0x16aa9a(0x1a2)](_0x4985d0,_0x5141e1[_0x16aa9a(0x1e1)][_0x16aa9a(0x1de)][_0x16aa9a(0x15d)]())),_0x1d83d9=new _0x5646d6(_0x58b79e,null,_0x866b63,_0x24125f[_0x16aa9a(0x141)],!0x0,_0x1d84f6++);_0x3361fb[_0x16aa9a(0x225)](_0x1d83d9);}}if(_0x2912fb)for(const [_0x5e7b3f,_0x6709bc]of Object[_0x16aa9a(0x13b)](_0x2912fb)){const _0x114e5b=_0x24125f[_0x16aa9a(0x203)][_0x16aa9a(0x210)](_0x5e7b3f);if(!_0x114e5b)throw new _0x5e68c9(_0x16aa9a(0x15f),null);for(const [_0x129015,_0x949d6c]of Object[_0x16aa9a(0x13b)](_0x6709bc))if(null!==_0x949d6c){const _0x5b16d2=new _0x3f192f(_0x114e5b,_0x129015,null,_0x949d6c,_0x1d84f6++);_0x3361fb[_0x16aa9a(0x225)](_0x5b16d2);}}return _0x3361fb;}async[_0x226577(0x20f)](_0x3623c4,_0x7cf886,_0x54dfc0){const _0x45944d=_0x226577;this[_0x45944d(0x23c)]({[_0x3623c4]:_0x7cf886},{[_0x3623c4]:_0x54dfc0})[_0x45944d(0x21a)]((_0xe7063,_0x4108c1)=>{const _0x30eb47=_0x45944d;_0xe7063[_0x30eb47(0x1b3)]=this[_0x30eb47(0x1bc)][_0x30eb47(0x1ec)]+_0x4108c1,_0xe7063[_0x30eb47(0x175)]=!0x0,this[_0x30eb47(0x1f8)](_0xe7063);}),this[_0x45944d(0x18d)](),await this[_0x45944d(0x149)]();}async[_0x226577(0x178)](_0x64f192,_0x249a32){const _0x41b235=_0x226577;let _0x418cd8;this[_0x41b235(0x17d)]=_0x64f192[_0x41b235(0x181)];const _0x113a00=_0x64f192[_0x41b235(0x231)]&&!_0x64f192[_0x41b235(0x1c2)],_0x31aa46=_0x113a00?0x0:_0x64f192[_0x41b235(0x1bb)][_0x41b235(0x1b3)];if(_0x249a32[_0x41b235(0x21a)](_0x341f38=>{const _0x5cb173=_0x41b235;_0x341f38[_0x5cb173(0x175)]=!0x0,_0x341f38[_0x5cb173(0x14b)]=_0x64f192[_0x5cb173(0x16f)],_0x341f38[_0x5cb173(0x1a6)]=null;}),_0x113a00)_0x418cd8=_0x249a32,this[_0x41b235(0x1b8)](_0x418cd8,_0x113a00);else{if(_0x64f192[_0x41b235(0x1c2)]){const _0x59e835=this[_0x41b235(0x23c)](_0x64f192[_0x41b235(0x1c2)]);this[_0x41b235(0x1bc)][_0x41b235(0x208)][_0x41b235(0x1ec)]=-_0x59e835[_0x41b235(0x239)],_0x59e835[_0x41b235(0x21a)](_0x172b4f=>{const _0x314435=_0x41b235;_0x172b4f[_0x314435(0x1b3)]-=_0x59e835[_0x314435(0x239)],_0x172b4f[_0x314435(0x14b)]=_0x64f192[_0x314435(0x16f)],_0x172b4f[_0x314435(0x175)]=!0x0,_0x172b4f[_0x314435(0x1a6)]=null;}),this[_0x41b235(0x1b8)](_0x59e835,!0x0),this[_0x41b235(0x1ad)][_0x41b235(0x1ec)]=-_0x59e835[_0x41b235(0x239)]+this[_0x41b235(0x17d)],this[_0x41b235(0x1fe)](_0x59e835);}this[_0x41b235(0x1bc)][_0x41b235(0x208)][_0x41b235(0x1ec)]=_0x31aa46,_0x418cd8=this[_0x41b235(0x20c)](_0x64f192[_0x41b235(0x1bb)],_0x64f192[_0x41b235(0x1c6)]),await this[_0x41b235(0x1d6)](_0x418cd8),this[_0x41b235(0x1b8)](_0x418cd8,_0x113a00);}_0x64f192[_0x41b235(0x1d0)]&&(this[_0x41b235(0x152)][_0x41b235(0x142)](_0x418cd8,_0x64f192[_0x41b235(0x1d0)]),this[_0x41b235(0x16a)]=_0x64f192[_0x41b235(0x1d0)]),this[_0x41b235(0x1ad)][_0x41b235(0x1ec)]=_0x31aa46+this[_0x41b235(0x17d)],this[_0x41b235(0x1fe)](_0x418cd8),_0x249a32[_0x41b235(0x220)](_0x585c10=>{const _0x36af87=_0x41b235,_0x795e81=this[_0x36af87(0x221)](_0x585c10);return _0x795e81&&!this[_0x36af87(0x213)][_0x36af87(0x1e0)](_0x795e81);})[_0x41b235(0x21a)]((_0x4c95bb,_0x558cef)=>{const _0x26e253=_0x41b235;_0x4c95bb[_0x26e253(0x1b3)]=this[_0x26e253(0x1bc)][_0x26e253(0x1ec)]+_0x558cef,this[_0x26e253(0x1f8)](_0x4c95bb);}),this[_0x41b235(0x19f)]()?(this[_0x41b235(0x14f)]=0x0,this[_0x41b235(0x18d)](!0x0),await this[_0x41b235(0x149)]()):(this[_0x41b235(0x172)]=!0x1,this[_0x41b235(0x1d2)]());}[_0x226577(0x17a)](_0x4ac4af,_0x49b101){const _0x331787=_0x226577,_0x37e024=_0x49b101&&_0x49b101[_0x331787(0x1d9)];if(_0x37e024&&_0x37e024[_0x331787(0x16d)](_0x331787(0x237)))throw _0x49b101;const _0x506de2=this[_0x331787(0x1c3)][_0x331787(0x15e)][_0x331787(0x180)](_0x1b9bd0);throw this[_0x331787(0x172)]=!0x0,_0x506de2[_0x331787(0x1a5)](),this[_0x331787(0x1c3)][_0x331787(0x1ba)](_0x331787(0x146)),new _0x5e68c9(_0x4ac4af,this[_0x331787(0x1c3)],_0x37e024?{'originalError':_0x37e024}:void 0x0);}[_0x226577(0x1f8)](_0xa5a249){const _0x7ea425=_0x226577;this[_0x7ea425(0x21b)][_0x7ea425(0x1e0)](_0xa5a249)||(this[_0x7ea425(0x21b)][_0x7ea425(0x224)](_0xa5a249),this[_0x7ea425(0x148)][_0x7ea425(0x225)](_0xa5a249),this[_0x7ea425(0x209)]||_0x7ea425(0x143)==_0xa5a249[_0x7ea425(0x168)]&&!_0xa5a249[_0x7ea425(0x144)]||this[_0x7ea425(0x1ab)]());}[_0x226577(0x18d)](_0x819363=!0x1){const _0x78a329=_0x226577;!_0x819363&&this[_0x78a329(0x172)]||(this[_0x78a329(0x172)]=!0x0,clearTimeout(this[_0x78a329(0x234)]),this[_0x78a329(0x234)]=setTimeout(()=>{const _0x427f53=_0x78a329;this[_0x427f53(0x212)]()[_0x427f53(0x1f0)](_0x359f88=>{const _0x5030fc=_0x427f53;_0x359f88&&(this[_0x5030fc(0x1d2)](),this[_0x5030fc(0x172)]=!0x1);})[_0x427f53(0x19d)](_0x26f16b=>{const _0x231106=_0x427f53;this[_0x231106(0x1d2)](),this[_0x231106(0x172)]=!0x1,function(_0x1f3488){const _0x43b64d=_0x231106;return _0x1f3488[_0x43b64d(0x1d9)][_0x43b64d(0x16d)](_0x43b64d(0x205))||_0x1f3488[_0x43b64d(0x1d9)][_0x43b64d(0x16d)](_0x43b64d(0x18c))||_0x1f3488[_0x43b64d(0x1d9)][_0x43b64d(0x16d)](_0x43b64d(0x157));}(_0x26f16b)||this[_0x231106(0x17a)](_0x26f16b[_0x231106(0x1d9)],_0x26f16b);});},this[_0x78a329(0x14f)]));}[_0x226577(0x149)](){return new Promise(_0x1863b2=>{const _0x9fb2bd=_0x2c3d;this['on'](_0x9fb2bd(0x206),()=>{_0x1863b2();});});}async[_0x226577(0x212)](){const _0x317b47=_0x226577,_0x2f0ac5=this[_0x317b47(0x1c3)][_0x317b47(0x15e)][_0x317b47(0x180)](_0x12d10e);if(this[_0x317b47(0x13d)]()&&(_0x2f0ac5[_0x317b47(0x162)](),this[_0x317b47(0x21e)]=!0x1),!this[_0x317b47(0x19f)]())return!0x0;const _0x192998=[...this[_0x317b47(0x148)]];for(const _0x559b48 of _0x192998)_0x559b48[_0x317b47(0x21c)]=this[_0x317b47(0x1bc)][_0x317b47(0x208)][_0x317b47(0x1d5)](_0x559b48);const _0x19781e=this[_0x317b47(0x152)][_0x317b47(0x187)](_0x192998),_0x44ec35=D++,_0x534ade=this[_0x317b47(0x183)](_0x192998),_0x4a40c0=await this[_0x317b47(0x20b)][_0x317b47(0x1e8)](_0x534ade,_0x534ade[_0x317b47(0x1b3)],_0x19781e);try{return await this[_0x317b47(0x1af)](_0x192998,_0x4a40c0,_0x44ec35);}catch(_0x1b516e){return this[_0x317b47(0x17a)](_0x317b47(0x1fc),_0x1b516e);}}async[_0x226577(0x1af)](_0x10da04,_0x22b461,_0x1f92d7){const _0x29fde6=_0x226577;if(_0x29fde6(0x1ac)in _0x22b461)throw _0x22b461[_0x29fde6(0x1ac)];let _0x26ad0b=!0x1;if(_0x22b461[_0x29fde6(0x231)]){_0x22b461[_0x29fde6(0x1d0)]&&(this[_0x29fde6(0x16a)]=_0x22b461[_0x29fde6(0x1d0)]),this[_0x29fde6(0x148)]=this[_0x29fde6(0x148)][_0x29fde6(0x220)](_0x7409da=>!_0x10da04[_0x29fde6(0x15c)](_0x7409da));for(const _0x3ec68d of _0x10da04)_0x3ec68d[_0x29fde6(0x14b)]=_0x29fde6(0x173)in _0x22b461&&_0x22b461[_0x29fde6(0x173)]||void 0x0;U(_0x10da04,_0x22b461[_0x29fde6(0x1ec)]-_0x10da04[_0x29fde6(0x239)]),this[_0x29fde6(0x1fe)](_0x10da04);const _0x46f066=_0x10da04[_0x29fde6(0x220)](_0x143884=>{const _0xf69a23=_0x29fde6;if(!_0x143884[_0xf69a23(0x175)])return!0x1;const _0x5f40ae=this[_0xf69a23(0x221)](_0x143884);return _0x5f40ae&&!this[_0xf69a23(0x213)][_0xf69a23(0x1e0)](_0x5f40ae);});U(_0x46f066,this[_0x29fde6(0x1bc)][_0x29fde6(0x1ec)]),this[_0x29fde6(0x1b8)](_0x46f066),_0x26ad0b=!0x0,this[_0x29fde6(0x14f)]=this[_0x29fde6(0x218)];}else{const _0x55c63c=this[_0x29fde6(0x20c)](_0x22b461[_0x29fde6(0x1bb)],_0x22b461[_0x29fde6(0x1c6)])[_0x29fde6(0x220)](_0x54067c=>_0x54067c[_0x29fde6(0x1b3)]>=this[_0x29fde6(0x195)]);_0x55c63c[_0x29fde6(0x21a)](_0x4bfd1f=>this[_0x29fde6(0x190)](_0x4bfd1f)),this[_0x29fde6(0x148)]=this[_0x29fde6(0x148)][_0x29fde6(0x220)](_0x28665f=>!_0x28665f[_0x29fde6(0x175)]||!this[_0x29fde6(0x213)][_0x29fde6(0x1e0)](this[_0x29fde6(0x221)](_0x28665f))),this[_0x29fde6(0x148)][_0x29fde6(0x239)]&&U(this[_0x29fde6(0x148)],this[_0x29fde6(0x148)][0x0][_0x29fde6(0x1b3)]),await this[_0x29fde6(0x1d6)](_0x55c63c),_0x26ad0b=this[_0x29fde6(0x1fd)](_0x55c63c,_0x22b461[_0x29fde6(0x1ec)],_0x22b461[_0x29fde6(0x1d0)]),this[_0x29fde6(0x14f)]=Math[_0x29fde6(0x198)](this[_0x29fde6(0x14f)]/0x2);}return _0x26ad0b?!this[_0x29fde6(0x19f)]()||(this[_0x29fde6(0x18d)](!0x0),!0x1):this[_0x29fde6(0x17a)](_0x29fde6(0x14a));}[_0x226577(0x1fd)](_0x440c08,_0x23b7f7,_0x31ce2b){const _0x4fd6fc=_0x226577;try{const _0x4ebd90={'document':this[_0x4fd6fc(0x1bc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x56c2b0,operationsB:_0x1eb939,originalOperations:_0x1cfd9a}=_0x3c091e(_0x440c08,this[_0x4fd6fc(0x148)],_0x4ebd90);U(_0x56c2b0,this[_0x4fd6fc(0x1bc)][_0x4fd6fc(0x1ec)]),U(_0x1eb939,_0x23b7f7);for(const _0x59c103 of _0x56c2b0){const _0x3ba64c=_0x1cfd9a[_0x4fd6fc(0x180)](_0x59c103);_0x59c103[_0x4fd6fc(0x1a6)]=_0x3ba64c?_0x3ba64c[_0x4fd6fc(0x1a6)]:null;}_0x31ce2b&&(this[_0x4fd6fc(0x152)][_0x4fd6fc(0x142)](_0x440c08,_0x31ce2b),this[_0x4fd6fc(0x16a)]=_0x31ce2b),this[_0x4fd6fc(0x148)]=[..._0x1eb939],this[_0x4fd6fc(0x1b8)](_0x56c2b0),this[_0x4fd6fc(0x1fe)](_0x440c08);}catch(_0x2aca72){return console[_0x4fd6fc(0x1ac)](_0x2aca72),!0x1;}return!0x0;}[_0x226577(0x1b8)](_0x414b1c,_0x899902=!0x1){const _0x5471a1=_0x226577;this[_0x5471a1(0x1c3)][_0x5471a1(0x1c7)][_0x5471a1(0x1f4)]({'isUndoable':!0x1,'isLocal':!0x1},_0x44c89e=>{const _0x492774=_0x5471a1;for(const _0x44a5c5 of _0x414b1c)this[_0x492774(0x21b)][_0x492774(0x224)](_0x44a5c5),this[_0x492774(0x190)](_0x44a5c5),_0x44c89e[_0x492774(0x1d4)][_0x492774(0x1e9)](_0x44a5c5),this[_0x492774(0x1c3)][_0x492774(0x1c7)][_0x492774(0x140)](_0x44a5c5);});}[_0x226577(0x190)](_0xf93523){const _0x1b243e=_0x226577,_0x4b5e9d=this[_0x1b243e(0x221)](_0xf93523);_0x4b5e9d&&this[_0x1b243e(0x213)][_0x1b243e(0x224)](_0x4b5e9d);}[_0x226577(0x221)](_0x568b0b){const _0x456fc4=_0x226577;let _0x1ae62c,_0x5bb371;switch(_0x568b0b[_0x456fc4(0x168)]){case _0x456fc4(0x21f):_0x1ae62c=_0x568b0b[_0x456fc4(0x226)][_0x456fc4(0x156)];break;case _0x456fc4(0x143):if(_0x5bb371=_0x568b0b[_0x456fc4(0x158)],!_0x5bb371)return null;_0x1ae62c=_0x5bb371[_0x456fc4(0x156)];break;case _0x456fc4(0x1c9):_0x1ae62c=_0x568b0b[_0x456fc4(0x156)];break;case _0x456fc4(0x1be):_0x1ae62c=_0x568b0b[_0x456fc4(0x167)];break;case _0x456fc4(0x22b):_0x1ae62c=_0x568b0b[_0x456fc4(0x22c)][_0x456fc4(0x156)];break;default:return null;}return _0x1ae62c[_0x456fc4(0x161)];}[_0x226577(0x1fe)](_0x1fcaae){const _0x2b26a6=_0x226577;_0x1fcaae[_0x2b26a6(0x21a)](_0x2e1b16=>{const _0x1eb81e=_0x2b26a6,_0x1f5efe=_0x2e1b16[_0x1eb81e(0x1b1)]();_0x1f5efe[_0x1eb81e(0x1a6)]=_0x2e1b16[_0x1eb81e(0x1a6)],_0x1f5efe[_0x1eb81e(0x175)]=!!_0x2e1b16[_0x1eb81e(0x175)],_0x1f5efe[_0x1eb81e(0x14b)]=_0x2e1b16[_0x1eb81e(0x14b)],_0x1f5efe[_0x1eb81e(0x1b3)]+=this[_0x1eb81e(0x17d)],_0x2e1b16[_0x1eb81e(0x200)]&&this[_0x1eb81e(0x217)][_0x1eb81e(0x224)](_0x1f5efe),this[_0x1eb81e(0x1ad)][_0x1eb81e(0x1e9)](_0x1f5efe);});}[_0x226577(0x15a)](_0x448ef1){const _0x4d244f=_0x226577,_0x353075=this[_0x4d244f(0x1c3)][_0x4d244f(0x15e)][_0x4d244f(0x180)](_0x4d244f(0x1b5)),_0x4a8c6a=this[_0x4d244f(0x1c3)][_0x4d244f(0x1f5)];_0x448ef1||(_0x448ef1=_0x3419bc(_0x4a8c6a,_0x4d244f(0x1d7))),_0x353075[_0x4d244f(0x1bd)](_0x448ef1,{'title':_0x3419bc(_0x4a8c6a,_0x4d244f(0x165)),'namespace':_0x4d244f(0x194)}),this[_0x4d244f(0x170)]=!0x0,clearTimeout(this[_0x4d244f(0x234)]),this[_0x4d244f(0x148)]=[],this[_0x4d244f(0x1c3)][_0x4d244f(0x15e)][_0x4d244f(0x180)](_0x1b9bd0)[_0x4d244f(0x1a5)]();}[_0x226577(0x1ab)](){const _0x34599e=_0x226577;this[_0x34599e(0x209)]||(this[_0x34599e(0x209)]=this[_0x34599e(0x1c3)][_0x34599e(0x15e)][_0x34599e(0x180)](_0x1ea745)[_0x34599e(0x224)](_0x3419bc(this[_0x34599e(0x1c3)][_0x34599e(0x1f5)],_0x34599e(0x204))));}[_0x226577(0x1d2)](){const _0x268f3b=_0x226577;this[_0x268f3b(0x209)]&&(this[_0x268f3b(0x1c3)][_0x268f3b(0x15e)][_0x268f3b(0x180)](_0x1ea745)[_0x268f3b(0x1c8)](this[_0x268f3b(0x209)]),this[_0x268f3b(0x209)]=null);}[_0x226577(0x183)](_0x5567b2){const _0x1217f4=_0x226577,_0x4af068=_0x5567b2[_0x1217f4(0x1dc)](_0x1595dc=>_0x1595dc[_0x1217f4(0x1f6)]());return this[_0x1217f4(0x228)][_0x1217f4(0x1e3)](_0x4af068);}[_0x226577(0x20c)](_0x71505e,_0x54f958){const _0x2c34b3=_0x226577;return this[_0x2c34b3(0x228)][_0x2c34b3(0x1da)](_0x71505e)[_0x2c34b3(0x1dc)]((_0x2e01a8,_0xa5e347)=>{const _0x294379=_0x2c34b3,_0x37c7a3=_0x294379(0x16b)==_0x54f958[_0xa5e347][_0x294379(0x168)];if(_0x294379(0x211)==_0x2e01a8[_0x294379(0x222)]){const _0x548e30=_0x2e01a8[_0x294379(0x226)][_0x294379(0x156)];!this[_0x294379(0x1bc)][_0x294379(0x210)](_0x548e30)&&(this[_0x294379(0x1bc)][_0x294379(0x1aa)](_0x294379(0x189),_0x548e30)[_0x294379(0x145)]=!0x1);}const _0x1634c2=_0x2d1868[_0x294379(0x1a4)](_0x2e01a8,this[_0x294379(0x1bc)]);return _0x1634c2[_0x294379(0x21c)]=_0x2e01a8[_0x294379(0x21c)],_0x1634c2[_0x294379(0x175)]=_0x37c7a3,_0x1634c2[_0x294379(0x1a6)]=_0x37c7a3?null:_0x54f958[_0xa5e347][_0x294379(0x174)],_0x1634c2[_0x294379(0x200)]=_0x294379(0x1d8)===_0x54f958[_0xa5e347][_0x294379(0x168)],_0x1634c2[_0x294379(0x14b)]=_0x54f958[_0xa5e347][_0x294379(0x14b)],_0x1634c2;});}[_0x226577(0x182)](){const _0x31f288=_0x226577;this[_0x31f288(0x21e)]=!0x0,this[_0x31f288(0x13d)]()?this[_0x31f288(0x18d)]():this[_0x31f288(0x21e)]=!0x1;}[_0x226577(0x13d)](){const _0x2ac891=_0x226577,_0x3081db=this[_0x2ac891(0x1c3)][_0x2ac891(0x15e)][_0x2ac891(0x180)](_0xac2796)[_0x2ac891(0x193)][_0x2ac891(0x180)](this[_0x2ac891(0x1fb)]);return!this[_0x2ac891(0x1c3)][_0x2ac891(0x1ce)]&&!!_0x3081db&&_0x3081db[_0x2ac891(0x239)]>0x1&&this[_0x2ac891(0x21e)];}[_0x226577(0x19f)](){const _0x5a413d=_0x226577;return this[_0x5a413d(0x148)][_0x5a413d(0x239)]>0x0||this[_0x5a413d(0x13d)]();}}export{l as RealTimeCollaborationClient};class P extends Error{}function U(_0x50ebc6,_0x15d5e4){const _0x5709ab=_0x226577;for(const _0x2b6826 of _0x50ebc6)_0x2b6826[_0x5709ab(0x1b3)]=_0x15d5e4++;}class C{[_0x226577(0x23d)];[_0x226577(0x1f7)];constructor(_0x5917fc){const _0x622fa3=_0x226577;this[_0x622fa3(0x23d)]=_0x5917fc,this[_0x622fa3(0x1f7)]=new WeakMap();}[_0x226577(0x187)](_0x348409){const _0x1e7bd6=_0x226577;let _0x33c435=_0x348409[_0x1e7bd6(0x239)];for(;_0x33c435--;){const _0x5b570b=_0x348409[_0x33c435];if(!this[_0x1e7bd6(0x23d)][_0x1e7bd6(0x1e0)](_0x5b570b)){if(!this[_0x1e7bd6(0x1f7)][_0x1e7bd6(0x1e0)](_0x5b570b)){const _0x324086=_0x36aa51()[_0x1e7bd6(0x15d)](0x1,0x12);this[_0x1e7bd6(0x1f7)][_0x1e7bd6(0x232)](_0x5b570b,_0x324086);}return this[_0x1e7bd6(0x1f7)][_0x1e7bd6(0x180)](_0x5b570b);}}}[_0x226577(0x142)](_0x23b636,_0x3d4b7e){const _0x5ce94b=_0x226577;if(!_0x3d4b7e)return;let _0x53855a=_0x23b636[_0x5ce94b(0x239)];for(;_0x53855a--;){const _0x53d9cd=_0x23b636[_0x53855a];this[_0x5ce94b(0x23d)][_0x5ce94b(0x1e0)](_0x53d9cd)||this[_0x5ce94b(0x1f7)][_0x5ce94b(0x232)](_0x53d9cd,_0x3d4b7e);}}}function _0x1a5c(){const _0x4831ec=['_isDisconnection','high','realtimecollaborationclient-init-service-incorrect-server-operation','document','PENDING_ACTION_SENDING_DATA','cloud-services-internal-error:\x20Not\x20connected.','change:_isPendingUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','history','_pendingAction','document:write','_service','_decompressOperations','pluginName','addUser','_loadRoot','getRoot','InsertOperation','_sendBufferedOperations','_knownRootNames','requires','collaboration.channelId','state','_disconnectionOperations','_baseBufferDelay','disableReadOnlyMode','forEach','_knownOperations','wasUndone','1760JItBGL','_hasSelectionChanged','insert','filter','_getAffectedRoot','__className','_isLoaded','add','push','position','realtimecollaborationclient-init-non-existent-root','_compressor','isOfficialPlugin','selection','move','targetPosition','1jsudoG','createPositionAt','_isEditingAllowed','_initSessionsHandling','wereChangesApplied','set','reset','_sendBufferedOperationsDelayId','unregister','_connectService','realtimecollaborationclient','getUser','length','rootsAttributes','editing','_getOperationsFromInitData','_ignoredOperations','ready','listenTo','stop','82481VerAbz','entries','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.','_shouldSendSelectionUpdate','_handleSendingSelectionMarkers','setPermissions','applyOperation','markers','setIdForTheLastOperation','marker','affectsData','_isAttached','realtimecollaborationclient-error','operationsReceived','_bufferedOperations','_waitUntilSynced','realtimecollaborationclient-handleserverresponse','createdAt','mySessionId','31446qSVVkx','RealTimeCollaborationClient','_currentBufferDelay','differ','bind','_operationIdentifier','_setUpDataInit','finally','collaboration-missing-channelid','root','cloud-services-internal-error:\x20Request\x20timeout.','newRange','getMany','_handleReconnectionError','isEnabled','includes','slice','plugins','multi-root-editor-root-attributes-no-root','getOperationAuthor','rootName','createUserMarkerOperations','change:_isEditingAllowed','CommentsOnly','Synchronization\x20issue','sessionAdd:','affectedSelectable','type','realtimecollaborationclient-init-connection-failed','_lastSyncedOperationId','init','return','startsWith','realtimecollaborationclient-init-session-connection-error','sessionCreatedAt','_hasSynchronizationProblem','currentDocumentSession','_isPendingUpdate','lastOperationAcceptedAt','userId','_isInit','suppressErrorInCollaboration','lastDocumentSession','_handleInitialConnectionData','fire','_crash','9318gcvOLP','lastSyncVersion','_offset','reconnection:\x20flushed\x20session','realtimecollaborationclient-init-document-already-initialized','get','offset','_refreshUserSelectionMarkers','_compressOperations','view','isDocumentOperation','string','getIdOfTheLastOperation','6693929nlWfaX','$root','isPremiumPlugin','roots','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_sendBufferedOperationsDelayed','rtc-destroyed','Permissions','_addKnownRoot','change:hasDomSelection','directChange','channelSessions','real-time-collaboration','_lastServerVersion','connect','connection','round','cloudDocumentVersion','_disconnectService','apply','409','catch','loadRoot','_shouldSendUpdate','keys','disconnected','createPositionFromPath','_handleReconnectionResponse','fromJSON','disconnect','_authorId','getDocumentDetails','createRange','_isConnected','createRoot','_setPendingAction','error','serverHistory','size','_handleServerResponse','_connectAfterSessionHasBeenFlushed','clone','addToReconnectionStack','baseVersion','from','Notification','start','collaboration','_applyOperationsSet','destroy','enableReadOnlyMode','data','_document','showWarning','addRoot','stopListening','_bufferRootLoad','5dXIzMR','initData','editor','config','_handleReceivedOperations','metadata','model','remove','addRootAttribute','getOperations','404','connected','change:range','isReadOnly','removeFromReconnectionStack','lastOperationId','code','_clearPendingAction','rtc-offline','batch','isUndoneOperation','_fetchMissingUsers','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.','cs:removeUser','message','decompress','376otwxkQ','map','getConnectedSessions','path','660192FHYEfd','has','end','realtimecollaborationclient-init-service-internal-error','compress','attributes','2829124pVsOce','permissions','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sendOperations','addOperation','_initThrowingOnDataSet','off','version','sessionId','register','cloudServices.bundleVersion','then','reconnect','define','833156UvPNmM','enqueueChange','locale','toJSON','_operationToId','_saveOperationInBuffer','CollaborativeEditingService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_channelId','realtimecollaborationclient-sendbufferedoperations','_handleExternalOperations','_updateServerHistory','parse'];_0x1a5c=function(){return _0x4831ec;};return _0x1a5c();}
|
|
23
|
+
const _0x41fd7a=_0xf394;function _0x4884(){const _0x147658=['sessionId','markers','slice','2035030DchOwd','collaboration.channelId','70tEIXQn','_loadRoot','baseVersion','_updateServerHistory','sessionCreatedAt','userId','move','_sendBufferedOperationsDelayed','ready','_shouldSendSelectionUpdate','_handleSendingSelectionMarkers','push','_authorId','getDocumentDetails','affectedSelectable','insert','editing','collaboration-missing-channelid','_connectService','document:write','permissions','disconnected','realtimecollaborationclient-error','enqueueChange','_operationIdentifier','_isEditingAllowed','size','stopListening','getUser','_isConnected','createPositionFromPath','type','filter','_initThrowingOnDataSet','targetPosition','_document','_getOperationsFromInitData','_lastSyncedOperationId','isOfficialPlugin','length','3JZPUWa','end','disableReadOnlyMode','clone','realtimecollaborationclient-init-service-internal-error','change:_isPendingUpdate','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:_isEditingAllowed','rtc-destroyed','loadRoot','parse','decompress','metadata','offset','marker','Synchronization\x20issue','round','mySessionId','addOperation','_disconnectionOperations','isEnabled','_crash','code','initData','1955qOVrpJ','__className','_knownOperations','getOperations','_bufferedOperations','_handleInitialConnectionData','removeFromReconnectionStack','catch','reset','createRange','roots','CollaborativeEditingService','editor','history','channelSessions','enableReadOnlyMode','path','stop','createdAt','operationsReceived','createRoot','cloud-services-internal-error:\x20Request\x20timeout.','from','change:range','position','_hasSynchronizationProblem','_isPendingUpdate','view','connect','reconnect','_pendingAction','_service','realtimecollaborationclient','forEach','_handleReconnectionError','rootName','getMany','locale','change:hasDomSelection','destroy','1398SFwCUG','apply','getOperationAuthor','_setPendingAction','_isLoaded','pluginName','_handleReconnectionResponse','directChange','_fetchMissingUsers','add','define','currentDocumentSession','createPositionAt','_offset','root','rtc-offline','Notification','entries','844232pxgdgC','plugins','sendOperations','_clearPendingAction','real-time-collaboration','409','createUserMarkerOperations','3238692XXXqsz','compress','$root','_compressOperations','wasUndone','_handleServerResponse','_setUpDataInit','3478158csrsqt','addRootAttribute','get','PENDING_ACTION_SENDING_DATA','getRoot','_knownRootNames','cloud-services-internal-error:\x20Not\x20connected.','state','suppressErrorInCollaboration','_applyOperationsSet','lastDocumentSession','selection','then','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.','realtimecollaborationclient-init-connection-failed','_isDisconnection','_sendBufferedOperationsDelayId','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getConnectedSessions','includes','realtimecollaborationclient-init-service-incorrect-server-operation','error','CommentsOnly','lastOperationId','isDocumentOperation','config','startsWith','_handleReceivedOperations','setPermissions','rootsAttributes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','data','_disconnectService','_bufferRootLoad','_hasSelectionChanged','connected','remove','finally','_operationToId','isReadOnly','cs:removeUser','reconnection:\x20flushed\x20session','_compressor','document','addUser','realtimecollaborationclient-handleserverresponse','_decompressOperations','_channelId','realtimecollaborationclient-init-session-connection-error','map','unregister','model','_sendBufferedOperations','fire','lastOperationAcceptedAt','RealTimeCollaborationClient','_shouldSendUpdate','_currentBufferDelay','keys','cloudServices.bundleVersion','multi-root-editor-root-attributes-no-root','isUndoneOperation','_initSessionsHandling','set','batch','fromJSON','message','_getAffectedRoot','newRange','bind','serverHistory','affectsData','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-document-already-initialized','isPremiumPlugin','Permissions','addRoot','high','_waitUntilSynced','listenTo','toJSON','string','_baseBufferDelay','_ignoredOperations','addToReconnectionStack','_isAttached','sessionAdd:','_refreshUserSelectionMarkers','10170999xUZLaW','realtimecollaborationclient-sendbufferedoperations','setIdForTheLastOperation','getIdOfTheLastOperation','showWarning','differ','off','connection','lastSyncVersion','cloudDocumentVersion','wereChangesApplied','has','_connectAfterSessionHasBeenFlushed','_handleExternalOperations','return','404','_saveOperationInBuffer','attributes','register','start','applyOperation','requires','init','_addKnownRoot','version','5826530nTOajI','_lastServerVersion','InsertOperation','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.','disconnect','realtimecollaborationclient-init-non-existent-root','collaboration','_isInit'];_0x4884=function(){return _0x147658;};return _0x4884();}(function(_0x3bd68c,_0xe295e){const _0x285312=_0xf394,_0x9544e7=_0x3bd68c();while(!![]){try{const _0x1605c2=-parseInt(_0x285312(0x9b))/0x1*(parseInt(_0x285312(0xc3))/0x2)+-parseInt(_0x285312(0x189))/0x3*(-parseInt(_0x285312(0xdc))/0x4)+parseInt(_0x285312(0x154))/0x5+parseInt(_0x285312(0xe3))/0x6+parseInt(_0x285312(0x161))/0x7*(parseInt(_0x285312(0xd5))/0x8)+-parseInt(_0x285312(0x13b))/0x9+-parseInt(_0x285312(0x15f))/0xa;if(_0x1605c2===_0xe295e)break;else _0x9544e7['push'](_0x9544e7['shift']());}catch(_0x4e615c){_0x9544e7['push'](_0x9544e7['shift']());}}}(_0x4884,0xde1eb));import{Plugin as _0x4e02b8,PendingActions as _0x414f14}from'ckeditor5/src/core.js';import{CKEditorError as _0x196d64,version as _0x7d8c79,uid as _0x127c6d}from'ckeditor5/src/utils.js';import{Notification as _0x37874a}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x14c196,NoOperation as _0x3ff557,InsertOperation as _0x56aa64,MarkerOperation as _0x1bc67b,RootAttributeOperation as _0x1f57c7,OperationFactory as _0xdee5c8,History as _0x661d03}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4dce2f}from'./websocketgateway.js';import{Sessions as _0x5bc9a6}from'./sessions.js';import{UserMarkers as _0x2bb55b}from'./usermarkers.js';import{getTranslation as _0x63c980}from'../common-translations.js';import{Compressor as _0x29649e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3f41ff}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xf394(_0x4b29cd,_0x18d72e){const _0x48843b=_0x4884();return _0xf394=function(_0xf394a2,_0x427baa){_0xf394a2=_0xf394a2-0x98;let _0x53c42b=_0x48843b[_0xf394a2];return _0x53c42b;},_0xf394(_0x4b29cd,_0x18d72e);}import{User as _0x45652e,CollaborativeEditingService as _0x2ecac0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let N=0x1;class l extends _0x4e02b8{static [_0x41fd7a(0xa6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2ecac0)());[_0x41fd7a(0xd0)];[_0x41fd7a(0x15c)];[_0x41fd7a(0x129)];[_0x41fd7a(0x112)];[_0x41fd7a(0xba)];[_0x41fd7a(0x184)];[_0x41fd7a(0x10d)];[_0x41fd7a(0x9f)];[_0x41fd7a(0x9d)];[_0x41fd7a(0xe8)];[_0x41fd7a(0xb9)];[_0x41fd7a(0x105)];[_0x41fd7a(0xf3)];[_0x41fd7a(0x135)];[_0x41fd7a(0x11c)];[_0x41fd7a(0x186)];[_0x41fd7a(0x19c)];[_0x41fd7a(0x179)];static get[_0x41fd7a(0x150)](){return[_0x4dce2f,_0x5bc9a6,_0x2bb55b,_0x414f14,_0x3f41ff,_0x37874a];}static get[_0x41fd7a(0xc8)](){const _0x580b9f=_0x41fd7a;return _0x580b9f(0x11a);}static get[_0x41fd7a(0x187)](){return!0x0;}static get[_0x41fd7a(0x12d)](){return!0x0;}get[_0x41fd7a(0x144)](){const _0x59106c=_0x41fd7a;return this[_0x59106c(0x155)]+this[_0x59106c(0xd0)];}get[_0x41fd7a(0x155)](){const _0x44a976=_0x41fd7a;return this[_0x44a976(0x129)][_0x44a976(0x153)]-this[_0x44a976(0xd0)];}get[_0x41fd7a(0x143)](){const _0x46d399=_0x41fd7a,_0x3d03ac=this[_0x46d399(0x129)][_0x46d399(0x9e)]();for(let _0x4004dc=_0x3d03ac[_0x46d399(0x188)]-0x1;_0x4004dc>=0x0;_0x4004dc--){const _0x518c2d=_0x3d03ac[_0x4004dc];if(!this[_0x46d399(0x19c)][_0x46d399(0x146)](_0x518c2d))return _0x518c2d[_0x46d399(0x163)]+0x1-this[_0x46d399(0xd0)];}return 0x0;}constructor(_0x3114f0){const _0x230c7f=_0x41fd7a;if(super(_0x3114f0),this[_0x230c7f(0xd0)]=0x0,this[_0x230c7f(0x15c)]=null,this[_0x230c7f(0x129)]=new _0x661d03(),this[_0x230c7f(0xa7)][_0x230c7f(0xfc)][_0x230c7f(0xcd)](_0x230c7f(0x15a),{}),this[_0x230c7f(0x112)]=this[_0x230c7f(0xa7)][_0x230c7f(0xfc)][_0x230c7f(0xe5)](_0x230c7f(0x160)),!this[_0x230c7f(0x112)])throw new _0x196d64(_0x230c7f(0x172),this);const _0x10b27a=_0x3114f0[_0x230c7f(0xfc)][_0x230c7f(0xe5)](_0x230c7f(0x11e))||_0x7d8c79;this[_0x230c7f(0xba)]=new l[(_0x230c7f(0xa6))](_0x10b27a,this[_0x230c7f(0x112)]),this[_0x230c7f(0x184)]=this[_0x230c7f(0xa7)][_0x230c7f(0x116)][_0x230c7f(0x10e)],this[_0x230c7f(0x10d)]=new _0x29649e(),this[_0x230c7f(0x9f)]=[],this[_0x230c7f(0x9d)]=new WeakSet(),this[_0x230c7f(0xe8)]=new Set(),this[_0x230c7f(0x122)](_0x230c7f(0xb5),!0x1),this[_0x230c7f(0x122)](_0x230c7f(0xb4),!0x1),this[_0x230c7f(0xb9)]=null,this[_0x230c7f(0x105)]=!0x1,this[_0x230c7f(0xf3)]=null,this[_0x230c7f(0x135)]=0x12c,this[_0x230c7f(0x11c)]=this[_0x230c7f(0x135)],this[_0x230c7f(0x186)]=null,this[_0x230c7f(0x19c)]=new WeakSet(),this[_0x230c7f(0x179)]=new M(this[_0x230c7f(0x19c)]);}[_0x41fd7a(0x151)](){const _0x14ca33=_0x41fd7a,_0x2332d1=this[_0x14ca33(0xa7)],_0x11446e=_0x2332d1[_0x14ca33(0xd6)][_0x14ca33(0xe5)](_0x3f41ff),_0x4478f8=_0x2332d1[_0x14ca33(0xd6)][_0x14ca33(0xe5)](_0x4dce2f);this[_0x14ca33(0x132)](_0x11446e,_0x14ca33(0xc5),(_0x2b9883,_0xa2f97b)=>{const _0x5dfe4e=_0x14ca33,_0x6107ba=_0xa2f97b[0x0];_0x6107ba[_0x5dfe4e(0x16d)]&&(_0x2b9883[_0x5dfe4e(0x149)]=_0x11446e[_0x5dfe4e(0x17d)](_0x6107ba[_0x5dfe4e(0x16d)]),_0x2b9883[_0x5dfe4e(0xac)]()),null===_0x6107ba[_0x5dfe4e(0x16d)]&&(_0x2b9883[_0x5dfe4e(0x149)]=null,_0x2b9883[_0x5dfe4e(0xac)]());},{'priority':_0x14ca33(0x130)}),this[_0x14ca33(0x132)](_0x2332d1[_0x14ca33(0x116)][_0x14ca33(0x10e)][_0x14ca33(0xee)],_0x14ca33(0xb2),(_0x435612,_0x1212f5)=>{const _0x4d530c=_0x14ca33;_0x1212f5[_0x4d530c(0xca)]&&this[_0x4d530c(0x13a)]();}),this[_0x14ca33(0x132)](_0x2332d1[_0x14ca33(0x171)][_0x14ca33(0xb6)],_0x14ca33(0xc1),()=>{const _0x42b49a=_0x14ca33;this[_0x42b49a(0x13a)]();}),this[_0x14ca33(0x182)](),_0x2332d1[_0x14ca33(0x116)]['on'](_0x14ca33(0x14f),(_0x43b4f8,_0x3e9968)=>{const _0x552746=_0x14ca33,_0x295c47=_0x3e9968[0x0];_0x295c47[_0x552746(0xfb)]&&(this[_0x552746(0x14b)](_0x295c47),this[_0x552746(0x11b)]()&&this[_0x552746(0x168)]());}),this[_0x14ca33(0xe2)](),this[_0x14ca33(0x128)](_0x14ca33(0x17a))['to'](_0x4478f8,_0x14ca33(0xea),this,_0x14ca33(0xb4),(_0x186578,_0x278011)=>_0x14ca33(0x106)===_0x186578&&!_0x278011),this['on'](_0x14ca33(0x190),()=>{const _0x89aafd=_0x14ca33;this[_0x89aafd(0x17a)]?_0x2332d1[_0x89aafd(0x18b)](_0x89aafd(0xd2)):_0x2332d1[_0x89aafd(0xaa)](_0x89aafd(0xd2));}),this[_0x14ca33(0x17a)]?_0x2332d1[_0x14ca33(0x18b)](_0x14ca33(0xd2)):_0x2332d1[_0x14ca33(0xaa)](_0x14ca33(0xd2)),this[_0x14ca33(0x122)](_0x14ca33(0x17e),!0x1);}async[_0x41fd7a(0xb8)](){const _0x36526a=_0x41fd7a,_0xd1aab7=this[_0x36526a(0xa7)][_0x36526a(0xd6)][_0x36526a(0xe5)](_0x5bc9a6),_0x27e21a=this[_0x36526a(0xa7)][_0x36526a(0xd6)][_0x36526a(0xe5)](_0x4dce2f);try{this[_0x36526a(0xb5)]=!0x0,_0xd1aab7[_0x36526a(0x115)](this[_0x36526a(0x112)]);const _0x3f1de3=await this[_0x36526a(0xba)][_0x36526a(0xb8)](_0x27e21a[_0x36526a(0x142)],this[_0x36526a(0x143)]);await this[_0x36526a(0xc9)](_0x3f1de3)&&(this[_0x36526a(0xb5)]=!0x1,this[_0x36526a(0xd8)]());const _0x506334=await this[_0x36526a(0xba)][_0x36526a(0xf5)]();_0xd1aab7[_0x36526a(0x14d)](this[_0x36526a(0x112)],_0x506334),this[_0x36526a(0x16b)](),this[_0x36526a(0x17e)]=!0x0;}catch(_0x3216a6){if(function(_0x13f731){const _0x4cd0e6=_0x36526a;return _0x4cd0e6(0x14a)===_0x13f731[_0x4cd0e6(0x99)];}(_0x3216a6)&&this[_0x36526a(0x15c)])await this[_0x36526a(0x147)]();else{if(function(_0x4219e2){const _0x592456=_0x36526a;return _0x592456(0xda)===_0x4219e2[_0x592456(0x99)];}(_0x3216a6)){const _0x5638f6=_0x63c980(this[_0x36526a(0xa7)][_0x36526a(0xc0)],_0x36526a(0x101));this[_0x36526a(0xbd)](_0x5638f6);}else{if(!(_0x3216a6 instanceof B))throw _0x3216a6;this[_0x36526a(0xbd)]();}}}}[_0x41fd7a(0xc2)](){const _0x496cd0=_0x41fd7a,_0x14ae51=this[_0x496cd0(0xa7)][_0x496cd0(0xd6)][_0x496cd0(0xe5)](_0x4dce2f),_0x58d3fc=this[_0x496cd0(0xa7)][_0x496cd0(0xd6)][_0x496cd0(0xe5)](_0x5bc9a6);this[_0x496cd0(0xa7)][_0x496cd0(0xaa)](_0x496cd0(0x191)),_0x58d3fc[_0x496cd0(0xa9)][_0x496cd0(0x146)](this[_0x496cd0(0x112)])&&_0x58d3fc[_0x496cd0(0x115)](this[_0x496cd0(0x112)]),_0x14ae51[_0x496cd0(0xa1)](this),this[_0x496cd0(0x103)](),super[_0x496cd0(0xc2)]();}async[_0x41fd7a(0xc9)](_0x4b768a){const _0x32bf75=_0x41fd7a;if(this[_0x32bf75(0x15c)]!==_0x4b768a[_0x32bf75(0x15c)]&&this[_0x32bf75(0x186)]!==_0x4b768a[_0x32bf75(0xfa)])throw new B();return this[_0x32bf75(0x15c)]=_0x4b768a[_0x32bf75(0x15c)],this[_0x32bf75(0xe1)]([],{..._0x4b768a,'wereChangesApplied':!0x1,'data':_0x4b768a[_0x32bf75(0x102)]},_0x32bf75(0xb8));}async[_0x41fd7a(0x173)](_0x384791,_0xa5f6ad=!0x1){const _0x1b9c23=_0x41fd7a,{connection:_0x1be234}=this[_0x1b9c23(0xa7)][_0x1b9c23(0xd6)][_0x1b9c23(0xe5)](_0x4dce2f);l[_0x1b9c23(0xa6)][_0x1b9c23(0xf5)](_0x1be234,this[_0x1b9c23(0x112)])[_0x1b9c23(0xef)](_0x4d5474=>this[_0x1b9c23(0x121)](_0x4d5474))[_0x1b9c23(0xa2)](_0x41c455=>{const _0x4787a0=_0x1b9c23;this[_0x4787a0(0x98)](_0x4787a0(0x113),_0x41c455);}),this[_0x1b9c23(0x132)](this[_0x1b9c23(0xba)],_0x1b9c23(0xae),this[_0x1b9c23(0xfe)][_0x1b9c23(0x128)](this)),this[_0x1b9c23(0x132)](this[_0x1b9c23(0xba)],_0x1b9c23(0xf8),(_0x517349,_0x5df01b)=>{const _0x5b733f=_0x1b9c23;this[_0x5b733f(0x98)](_0x5b733f(0x18d),_0x5df01b);}),this[_0x1b9c23(0x132)](this[_0x1b9c23(0xba)],_0x1b9c23(0x176),()=>{const _0x36a5ed=_0x1b9c23;this[_0x36a5ed(0x17e)]=!0x1;});const _0x3f1934=this[_0x1b9c23(0x179)][_0x1b9c23(0x13e)](_0x384791);this[_0x1b9c23(0xb5)]=!0x0;const _0x890866=await this[_0x1b9c23(0xba)][_0x1b9c23(0xb7)](_0x1be234,this[_0x1b9c23(0xdf)](_0x384791),_0x3f1934);if(this[_0x1b9c23(0x15c)]=_0x890866[_0x1b9c23(0x15c)],_0xa5f6ad){if(!_0x890866[_0x1b9c23(0x145)])return void this[_0x1b9c23(0xbd)]();this[_0x1b9c23(0xb5)]=!0x1,this[_0x1b9c23(0xd8)](),this[_0x1b9c23(0x129)][_0x1b9c23(0xa3)](),this[_0x1b9c23(0xd0)]=_0x890866[_0x1b9c23(0x196)],this[_0x1b9c23(0x129)][_0x1b9c23(0x153)]=this[_0x1b9c23(0xd0)],await this[_0x1b9c23(0xe1)](_0x384791,_0x890866,_0x1b9c23(0x10c));}else await this[_0x1b9c23(0xa0)](_0x890866,_0x384791);this[_0x1b9c23(0x16b)](),this[_0x1b9c23(0x17e)]=!0x0;}[_0x41fd7a(0x16b)](){const _0x403322=_0x41fd7a,_0x7dd5a9=this[_0x403322(0xa7)][_0x403322(0xd6)][_0x403322(0xe5)](_0x5bc9a6),_0x2d705c=this[_0x403322(0xa7)][_0x403322(0xd6)][_0x403322(0xe5)](_0x2bb55b),_0x5e082f=_0x7dd5a9[_0x403322(0xa9)][_0x403322(0xe5)](this[_0x403322(0x112)]);_0x5e082f&&_0x5e082f[_0x403322(0x188)]>0x1?_0x2d705c[_0x403322(0xdb)]():this[_0x403322(0x132)](_0x7dd5a9,_0x403322(0x139)+this[_0x403322(0x112)],()=>{const _0x599911=_0x403322;0x2===_0x7dd5a9[_0x599911(0xa9)][_0x599911(0xe5)](this[_0x599911(0x112)])[_0x599911(0x188)]&&_0x2d705c[_0x599911(0xdb)]();});}async[_0x41fd7a(0xfe)](_0x9700d7,_0x38ac99,_0x157fba,_0xab44da){const _0x1166bd=_0x41fd7a;if(!this[_0x1166bd(0xb5)]&&this[_0x1166bd(0x184)][_0x1166bd(0x153)]==_0x38ac99){const _0x57cdf0=this[_0x1166bd(0x111)](_0x157fba,_0xab44da);await this[_0x1166bd(0xcb)](_0x57cdf0),this[_0x1166bd(0x148)](_0x57cdf0,_0x38ac99,_0x157fba[_0x1166bd(0xfa)])||this[_0x1166bd(0x98)](_0x1166bd(0xf7));}}async[_0x41fd7a(0x147)](){const _0x1ae30e=_0x41fd7a;this[_0x1ae30e(0x103)]();const {locale:_0x107776}=this[_0x1ae30e(0xa7)];let _0x46087a;try{_0x46087a=await this[_0x1ae30e(0xba)][_0x1ae30e(0x16e)]();}catch{const _0x310fee=_0x63c980(_0x107776,_0x1ae30e(0xf4));return void this[_0x1ae30e(0xbd)](_0x310fee);}const _0x395910=_0x46087a[_0x1ae30e(0xce)]||_0x46087a[_0x1ae30e(0xed)];if(this[_0x1ae30e(0x186)]!==_0x395910[_0x1ae30e(0xfa)]){const _0x5dbd92=_0x63c980(_0x107776,_0x1ae30e(0xf0));return void this[_0x1ae30e(0xbd)](_0x5dbd92);}await this[_0x1ae30e(0x173)](this[_0x1ae30e(0xa7)][_0x1ae30e(0x116)][_0x1ae30e(0x10e)][_0x1ae30e(0xa8)][_0x1ae30e(0x9e)](),!0x0);}[_0x41fd7a(0x103)](){const _0x2ed2a1=_0x41fd7a;this[_0x2ed2a1(0xba)][_0x2ed2a1(0x158)](),this[_0x2ed2a1(0x9f)]=[],clearTimeout(this[_0x2ed2a1(0xf3)]),this[_0x2ed2a1(0x17c)](this[_0x2ed2a1(0xba)]);}[_0x41fd7a(0x121)](_0xdd032c){const _0x46b10a=_0x41fd7a,_0x4631b0=this[_0x46b10a(0xa7)][_0x46b10a(0xd6)][_0x46b10a(0xe5)](_0x5bc9a6);this[_0x46b10a(0x132)](_0x4631b0,_0x46b10a(0x139)+this[_0x46b10a(0x112)],(_0x294323,{session:_0x500e0f})=>{const _0x29c0af=_0x46b10a;if(_0x500e0f['id']===_0x4631b0[_0x29c0af(0x19a)]){_0x294323[_0x29c0af(0x141)]();const _0x5b8112=this[_0x29c0af(0xa7)][_0x29c0af(0xd6)][_0x29c0af(0x146)](_0x29c0af(0xf9))&&this[_0x29c0af(0xa7)][_0x29c0af(0xd6)][_0x29c0af(0xe5)](_0x29c0af(0xf9));let _0x2ab0c9=_0x500e0f[_0x29c0af(0x175)];_0x5b8112&&_0x5b8112[_0x29c0af(0x19d)]&&(_0x2ab0c9=_0x2ab0c9[_0x29c0af(0x181)](_0x500d52=>_0x29c0af(0x174)!==_0x500d52)),this[_0x29c0af(0xa7)][_0x29c0af(0xd6)][_0x29c0af(0xe5)](_0x29c0af(0x12e))[_0x29c0af(0xff)](_0x2ab0c9,this[_0x29c0af(0x112)]);}}),_0x4631b0[_0x46b10a(0x14d)](this[_0x46b10a(0x112)],_0xdd032c);}[_0x41fd7a(0x182)](){const _0x1bc410=_0x41fd7a,_0x363e43=this[_0x1bc410(0xa7)][_0x1bc410(0x102)][_0x1bc410(0x122)];this[_0x1bc410(0xa7)][_0x1bc410(0x102)][_0x1bc410(0x122)]=(..._0x4cec41)=>{const _0x268de4=_0x1bc410;if(!_0x4cec41[_0x4cec41[_0x268de4(0x188)]-0x1][_0x268de4(0xeb)])throw new _0x196d64(_0x268de4(0x12b),this);_0x363e43[_0x268de4(0xc4)](this[_0x268de4(0xa7)][_0x268de4(0x102)],_0x4cec41);};}[_0x41fd7a(0xe2)](){const _0x427981=_0x41fd7a;this[_0x427981(0xa7)][_0x427981(0x102)]['on'](_0x427981(0x151),(_0x5b4971,[_0x456cb4])=>{const _0x2bfbb2=_0x427981;if(this[_0x2bfbb2(0x184)][_0x2bfbb2(0x153)])throw new _0x196d64(_0x2bfbb2(0x12c),this);_0x5b4971[_0x2bfbb2(0xac)](),this[_0x2bfbb2(0xc6)]();const _0x102c4e=this[_0x2bfbb2(0xa7)][_0x2bfbb2(0xfc)][_0x2bfbb2(0xe5)](_0x2bfbb2(0x100)),_0x2c2b37=this[_0x2bfbb2(0x185)](_0x456cb4,_0x102c4e);0x0==_0x2c2b37[_0x2bfbb2(0x188)]&&_0x2c2b37[_0x2bfbb2(0x16c)](new _0x3ff557(0x0)),_0x5b4971[_0x2bfbb2(0x149)]=this[_0x2bfbb2(0x173)](_0x2c2b37)[_0x2bfbb2(0xef)](()=>{const _0x3786f9=_0x2bfbb2;this[_0x3786f9(0xa7)][_0x3786f9(0xd6)][_0x3786f9(0xe5)](_0x4dce2f)[_0x3786f9(0x137)](this),this[_0x3786f9(0xa7)][_0x3786f9(0x102)][_0x3786f9(0x118)](_0x3786f9(0x169));})[_0x2bfbb2(0xa2)](_0x12e509=>this[_0x2bfbb2(0x98)](_0x2bfbb2(0xf1),_0x12e509))[_0x2bfbb2(0x108)](()=>this[_0x2bfbb2(0xd8)]());},{'priority':_0x427981(0x130)}),this[_0x427981(0xa7)]['on'](_0x427981(0x192),async(_0x2e4f15,[_0x512c07,_0x16d8b3])=>{const _0x30fb8c=_0x427981;_0x2e4f15[_0x30fb8c(0xac)]();const _0x4d4b22=this[_0x30fb8c(0xa7)][_0x30fb8c(0x116)][_0x30fb8c(0x10e)][_0x30fb8c(0xe7)](_0x512c07);if(!this[_0x30fb8c(0xe8)][_0x30fb8c(0x146)](_0x512c07)){const _0x425c68=_0x16d8b3&&_0x16d8b3[_0x30fb8c(0x102)]?_0x16d8b3[_0x30fb8c(0x102)]:'',_0x543f26=_0x16d8b3&&_0x16d8b3[_0x30fb8c(0x14c)]?_0x16d8b3[_0x30fb8c(0x14c)]:{};await this[_0x30fb8c(0x162)](_0x512c07,_0x425c68,_0x543f26);}this[_0x30fb8c(0xa7)][_0x30fb8c(0x116)][_0x30fb8c(0x178)]({'isUndoable':!0x1},()=>{const _0x2cd39f=_0x30fb8c;_0x4d4b22[_0x2cd39f(0xc7)]=!0x0,this[_0x2cd39f(0xa7)][_0x2cd39f(0x116)][_0x2cd39f(0x10e)][_0x2cd39f(0x140)][_0x2cd39f(0x104)](_0x4d4b22);});},{'priority':_0x427981(0x130)});}async[_0x41fd7a(0xcb)](_0x48fa43){const _0x5f3b4b=_0x41fd7a,_0x33991d=this[_0x5f3b4b(0xa7)][_0x5f3b4b(0xd6)][_0x5f3b4b(0xe5)](_0x3f41ff),{connection:_0x581cc9}=this[_0x5f3b4b(0xa7)][_0x5f3b4b(0xd6)][_0x5f3b4b(0xe5)](_0x4dce2f),_0x1baade=new Set();for(const _0xeb3a05 of _0x48fa43){const _0x5550d6=_0xeb3a05[_0x5f3b4b(0x16d)];_0x5550d6&&!_0x33991d[_0x5f3b4b(0x17d)](_0x5550d6)&&_0x1baade[_0x5f3b4b(0xcc)](_0x5550d6);}if(0x0===_0x1baade[_0x5f3b4b(0x17b)])return;const _0x425dca=await _0x45652e[_0x5f3b4b(0xbf)](_0x581cc9,Array[_0x5f3b4b(0xb1)](_0x1baade));for(const _0x11e0da of _0x425dca)_0x33991d[_0x5f3b4b(0x17d)](_0x11e0da['id'])||_0x33991d[_0x5f3b4b(0x10f)](_0x11e0da);}[_0x41fd7a(0x185)](_0x11da4a,_0x43ee62={}){const _0x17a497=_0x41fd7a,_0x4a6b53=this[_0x17a497(0xa7)][_0x17a497(0x116)],_0x2763f5=[];let _0x331694=0x0;const _0x4d1900=_0x17a497(0x134)==typeof _0x11da4a?{'main':_0x11da4a}:_0x11da4a;for(const _0x598130 of Object[_0x17a497(0x11d)](_0x4d1900)){if(!this[_0x17a497(0x184)][_0x17a497(0xa5)][_0x17a497(0x146)](_0x598130))throw new _0x196d64(_0x17a497(0x159),this);const _0x1ccd86=this[_0x17a497(0xa7)][_0x17a497(0x102)][_0x17a497(0x193)](_0x4d1900[_0x598130]),_0x168655=this[_0x17a497(0x184)][_0x17a497(0xe7)](_0x598130),_0x47ff75=new _0x56aa64(_0x4a6b53[_0x17a497(0xcf)](_0x168655,0x0),_0x1ccd86,_0x331694++);_0x2763f5[_0x17a497(0x16c)](_0x47ff75);for(const [_0x44370c,_0x1ea9ed]of _0x1ccd86[_0x17a497(0x15d)]){const _0x42229b=_0x4a6b53[_0x17a497(0xa4)](_0x4a6b53[_0x17a497(0x17f)](_0x168655,_0x1ea9ed[_0x17a497(0x14e)][_0x17a497(0xab)][_0x17a497(0x15e)]()),_0x4a6b53[_0x17a497(0x17f)](_0x168655,_0x1ea9ed[_0x17a497(0x18a)][_0x17a497(0xab)][_0x17a497(0x15e)]())),_0x223b15=new _0x1bc67b(_0x44370c,null,_0x42229b,_0x4a6b53[_0x17a497(0x15d)],!0x0,_0x331694++);_0x2763f5[_0x17a497(0x16c)](_0x223b15);}}if(_0x43ee62)for(const [_0x2d8f31,_0x4afa6c]of Object[_0x17a497(0xd4)](_0x43ee62)){const _0x1d9476=_0x4a6b53[_0x17a497(0x10e)][_0x17a497(0xe7)](_0x2d8f31);if(!_0x1d9476)throw new _0x196d64(_0x17a497(0x11f),null);for(const [_0x37c8aa,_0x4e3e92]of Object[_0x17a497(0xd4)](_0x4afa6c))if(null!==_0x4e3e92){const _0x12638f=new _0x1f57c7(_0x1d9476,_0x37c8aa,null,_0x4e3e92,_0x331694++);_0x2763f5[_0x17a497(0x16c)](_0x12638f);}}return _0x2763f5;}async[_0x41fd7a(0x162)](_0xd4b380,_0x2b6d6f,_0x542f40){const _0x279110=_0x41fd7a;this[_0x279110(0x185)]({[_0xd4b380]:_0x2b6d6f},{[_0xd4b380]:_0x542f40})[_0x279110(0xbc)]((_0xa04d44,_0x506ce0)=>{const _0x166940=_0x279110;_0xa04d44[_0x166940(0x163)]=this[_0x166940(0x184)][_0x166940(0x153)]+_0x506ce0,_0xa04d44[_0x166940(0x15b)]=!0x0,this[_0x166940(0x14b)](_0xa04d44);}),this[_0x279110(0x168)](),await this[_0x279110(0x131)]();}async[_0x41fd7a(0xa0)](_0x233509,_0x51139b){const _0x1c26db=_0x41fd7a;let _0x34ebf2;this[_0x1c26db(0xd0)]=_0x233509[_0x1c26db(0x196)];const _0x238920=_0x233509[_0x1c26db(0x145)]&&!_0x233509[_0x1c26db(0x9a)],_0x145088=_0x238920?0x0:_0x233509[_0x1c26db(0x102)][_0x1c26db(0x163)];if(_0x51139b[_0x1c26db(0xbc)](_0x5d1a32=>{const _0x57aa88=_0x1c26db;_0x5d1a32[_0x57aa88(0x15b)]=!0x0,_0x5d1a32[_0x57aa88(0xad)]=_0x233509[_0x57aa88(0x165)],_0x5d1a32[_0x57aa88(0x16d)]=null;}),_0x238920)_0x34ebf2=_0x51139b,this[_0x1c26db(0xec)](_0x34ebf2,_0x238920);else{if(_0x233509[_0x1c26db(0x9a)]){const _0x4e3fcb=this[_0x1c26db(0x185)](_0x233509[_0x1c26db(0x9a)]);this[_0x1c26db(0x184)][_0x1c26db(0xa8)][_0x1c26db(0x153)]=-_0x4e3fcb[_0x1c26db(0x188)],_0x4e3fcb[_0x1c26db(0xbc)](_0x10b643=>{const _0x4c0eee=_0x1c26db;_0x10b643[_0x4c0eee(0x163)]-=_0x4e3fcb[_0x4c0eee(0x188)],_0x10b643[_0x4c0eee(0xad)]=_0x233509[_0x4c0eee(0x165)],_0x10b643[_0x4c0eee(0x15b)]=!0x0,_0x10b643[_0x4c0eee(0x16d)]=null;}),this[_0x1c26db(0xec)](_0x4e3fcb,!0x0),this[_0x1c26db(0x129)][_0x1c26db(0x153)]=-_0x4e3fcb[_0x1c26db(0x188)]+this[_0x1c26db(0xd0)],this[_0x1c26db(0x164)](_0x4e3fcb);}this[_0x1c26db(0x184)][_0x1c26db(0xa8)][_0x1c26db(0x153)]=_0x145088,_0x34ebf2=this[_0x1c26db(0x111)](_0x233509[_0x1c26db(0x102)],_0x233509[_0x1c26db(0x195)]),await this[_0x1c26db(0xcb)](_0x34ebf2),this[_0x1c26db(0xec)](_0x34ebf2,_0x238920);}_0x233509[_0x1c26db(0xfa)]&&(this[_0x1c26db(0x179)][_0x1c26db(0x13d)](_0x34ebf2,_0x233509[_0x1c26db(0xfa)]),this[_0x1c26db(0x186)]=_0x233509[_0x1c26db(0xfa)]),this[_0x1c26db(0x129)][_0x1c26db(0x153)]=_0x145088+this[_0x1c26db(0xd0)],this[_0x1c26db(0x164)](_0x34ebf2),_0x51139b[_0x1c26db(0x181)](_0x590040=>{const _0x548a7e=_0x1c26db,_0x4a56fa=this[_0x548a7e(0x126)](_0x590040);return _0x4a56fa&&!this[_0x548a7e(0xe8)][_0x548a7e(0x146)](_0x4a56fa);})[_0x1c26db(0xbc)]((_0x552c10,_0x5d3025)=>{const _0x2c83dd=_0x1c26db;_0x552c10[_0x2c83dd(0x163)]=this[_0x2c83dd(0x184)][_0x2c83dd(0x153)]+_0x5d3025,this[_0x2c83dd(0x14b)](_0x552c10);}),this[_0x1c26db(0x11b)]()?(this[_0x1c26db(0x11c)]=0x0,this[_0x1c26db(0x168)](!0x0),await this[_0x1c26db(0x131)]()):(this[_0x1c26db(0xb5)]=!0x1,this[_0x1c26db(0xd8)]());}[_0x41fd7a(0x98)](_0x3c49d8,_0x142e99){const _0x29868b=_0x41fd7a,_0x2f5498=_0x142e99&&_0x142e99[_0x29868b(0x125)];if(_0x2f5498&&_0x2f5498[_0x29868b(0xfd)](_0x29868b(0xbb)))throw _0x142e99;const _0x4a2dd9=this[_0x29868b(0xa7)][_0x29868b(0xd6)][_0x29868b(0xe5)](_0x4dce2f);throw this[_0x29868b(0xb5)]=!0x0,_0x4a2dd9[_0x29868b(0x158)](),this[_0x29868b(0xa7)][_0x29868b(0xaa)](_0x29868b(0x177)),new _0x196d64(_0x3c49d8,this[_0x29868b(0xa7)],_0x2f5498?{'originalError':_0x2f5498}:void 0x0);}[_0x41fd7a(0x14b)](_0x4080f7){const _0x1e7095=_0x41fd7a;this[_0x1e7095(0x9d)][_0x1e7095(0x146)](_0x4080f7)||(this[_0x1e7095(0x9d)][_0x1e7095(0xcc)](_0x4080f7),this[_0x1e7095(0x9f)][_0x1e7095(0x16c)](_0x4080f7),this[_0x1e7095(0xb9)]||_0x1e7095(0x197)==_0x4080f7[_0x1e7095(0x180)]&&!_0x4080f7[_0x1e7095(0x12a)]||this[_0x1e7095(0xc6)]());}[_0x41fd7a(0x168)](_0xb34521=!0x1){const _0x243bc1=_0x41fd7a;!_0xb34521&&this[_0x243bc1(0xb5)]||(this[_0x243bc1(0xb5)]=!0x0,clearTimeout(this[_0x243bc1(0xf3)]),this[_0x243bc1(0xf3)]=setTimeout(()=>{const _0x43c759=_0x243bc1;this[_0x43c759(0x117)]()[_0x43c759(0xef)](_0x4bdc17=>{const _0x5f4b12=_0x43c759;_0x4bdc17&&(this[_0x5f4b12(0xd8)](),this[_0x5f4b12(0xb5)]=!0x1);})[_0x43c759(0xa2)](_0x58126e=>{const _0x2d755c=_0x43c759;this[_0x2d755c(0xd8)](),this[_0x2d755c(0xb5)]=!0x1,function(_0x454c79){const _0x943fce=_0x2d755c;return _0x454c79[_0x943fce(0x125)][_0x943fce(0xfd)](_0x943fce(0xe9))||_0x454c79[_0x943fce(0x125)][_0x943fce(0xfd)](_0x943fce(0x18f))||_0x454c79[_0x943fce(0x125)][_0x943fce(0xfd)](_0x943fce(0xb0));}(_0x58126e)||this[_0x2d755c(0x98)](_0x58126e[_0x2d755c(0x125)],_0x58126e);});},this[_0x243bc1(0x11c)]));}[_0x41fd7a(0x131)](){return new Promise(_0x4bafa4=>{const _0x1dd04a=_0xf394;this['on'](_0x1dd04a(0x18e),()=>{_0x4bafa4();});});}async[_0x41fd7a(0x117)](){const _0x23b2ea=_0x41fd7a,_0xefffa1=this[_0x23b2ea(0xa7)][_0x23b2ea(0xd6)][_0x23b2ea(0xe5)](_0x2bb55b);if(this[_0x23b2ea(0x16a)]()&&(_0xefffa1[_0x23b2ea(0xdb)](),this[_0x23b2ea(0x105)]=!0x1),!this[_0x23b2ea(0x11b)]())return!0x0;const _0xe75639=[...this[_0x23b2ea(0x9f)]];for(const _0x2eb00a of _0xe75639)_0x2eb00a[_0x23b2ea(0xe0)]=this[_0x23b2ea(0x184)][_0x23b2ea(0xa8)][_0x23b2ea(0x120)](_0x2eb00a);const _0x273f63=this[_0x23b2ea(0x179)][_0x23b2ea(0x13e)](_0xe75639),_0x1c8ae1=N++,_0x35d77c=this[_0x23b2ea(0xdf)](_0xe75639),_0x3dae3e=await this[_0x23b2ea(0xba)][_0x23b2ea(0xd7)](_0x35d77c,_0x35d77c[_0x23b2ea(0x163)],_0x273f63);try{return await this[_0x23b2ea(0xe1)](_0xe75639,_0x3dae3e,_0x1c8ae1);}catch(_0x311b80){return this[_0x23b2ea(0x98)](_0x23b2ea(0x13c),_0x311b80);}}async[_0x41fd7a(0xe1)](_0x4ba32c,_0x3e31f5,_0x35308f){const _0x2929fb=_0x41fd7a;if(_0x2929fb(0xf8)in _0x3e31f5)throw _0x3e31f5[_0x2929fb(0xf8)];let _0x4d2fc8=!0x1;if(_0x3e31f5[_0x2929fb(0x145)]){_0x3e31f5[_0x2929fb(0xfa)]&&(this[_0x2929fb(0x186)]=_0x3e31f5[_0x2929fb(0xfa)]),this[_0x2929fb(0x9f)]=this[_0x2929fb(0x9f)][_0x2929fb(0x181)](_0x33a878=>!_0x4ba32c[_0x2929fb(0xf6)](_0x33a878));for(const _0x2e9cf1 of _0x4ba32c)_0x2e9cf1[_0x2929fb(0xad)]=_0x2929fb(0x119)in _0x3e31f5&&_0x3e31f5[_0x2929fb(0x119)]||void 0x0;x(_0x4ba32c,_0x3e31f5[_0x2929fb(0x153)]-_0x4ba32c[_0x2929fb(0x188)]),this[_0x2929fb(0x164)](_0x4ba32c);const _0x1a4ab7=_0x4ba32c[_0x2929fb(0x181)](_0x2cc98b=>{const _0x2189de=_0x2929fb;if(!_0x2cc98b[_0x2189de(0x15b)])return!0x1;const _0x4a6fbc=this[_0x2189de(0x126)](_0x2cc98b);return _0x4a6fbc&&!this[_0x2189de(0xe8)][_0x2189de(0x146)](_0x4a6fbc);});x(_0x1a4ab7,this[_0x2929fb(0x184)][_0x2929fb(0x153)]),this[_0x2929fb(0xec)](_0x1a4ab7),_0x4d2fc8=!0x0,this[_0x2929fb(0x11c)]=this[_0x2929fb(0x135)];}else{const _0x40e6bb=this[_0x2929fb(0x111)](_0x3e31f5[_0x2929fb(0x102)],_0x3e31f5[_0x2929fb(0x195)])[_0x2929fb(0x181)](_0x6a5fed=>_0x6a5fed[_0x2929fb(0x163)]>=this[_0x2929fb(0x155)]);_0x40e6bb[_0x2929fb(0xbc)](_0x1cb113=>this[_0x2929fb(0x152)](_0x1cb113)),this[_0x2929fb(0x9f)]=this[_0x2929fb(0x9f)][_0x2929fb(0x181)](_0xcb1677=>!_0xcb1677[_0x2929fb(0x15b)]||!this[_0x2929fb(0xe8)][_0x2929fb(0x146)](this[_0x2929fb(0x126)](_0xcb1677))),this[_0x2929fb(0x9f)][_0x2929fb(0x188)]&&x(this[_0x2929fb(0x9f)],this[_0x2929fb(0x9f)][0x0][_0x2929fb(0x163)]),await this[_0x2929fb(0xcb)](_0x40e6bb),_0x4d2fc8=this[_0x2929fb(0x148)](_0x40e6bb,_0x3e31f5[_0x2929fb(0x153)],_0x3e31f5[_0x2929fb(0xfa)]),this[_0x2929fb(0x11c)]=Math[_0x2929fb(0x199)](this[_0x2929fb(0x11c)]/0x2);}return _0x4d2fc8?!this[_0x2929fb(0x11b)]()||(this[_0x2929fb(0x168)](!0x0),!0x1):this[_0x2929fb(0x98)](_0x2929fb(0x110));}[_0x41fd7a(0x148)](_0x32d1da,_0x1dc36c,_0x21faaf){const _0x45a625=_0x41fd7a;try{const _0x52baea={'document':this[_0x45a625(0x184)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x84629d,operationsB:_0x355f69,originalOperations:_0x2fa469}=_0x14c196(_0x32d1da,this[_0x45a625(0x9f)],_0x52baea);x(_0x84629d,this[_0x45a625(0x184)][_0x45a625(0x153)]),x(_0x355f69,_0x1dc36c);for(const _0x5bcf6a of _0x84629d){const _0x24790c=_0x2fa469[_0x45a625(0xe5)](_0x5bcf6a);_0x5bcf6a[_0x45a625(0x16d)]=_0x24790c?_0x24790c[_0x45a625(0x16d)]:null;}_0x21faaf&&(this[_0x45a625(0x179)][_0x45a625(0x13d)](_0x32d1da,_0x21faaf),this[_0x45a625(0x186)]=_0x21faaf),this[_0x45a625(0x9f)]=[..._0x355f69],this[_0x45a625(0xec)](_0x84629d),this[_0x45a625(0x164)](_0x32d1da);}catch(_0x252f1d){return console[_0x45a625(0xf8)](_0x252f1d),!0x1;}return!0x0;}[_0x41fd7a(0xec)](_0x33b65f,_0x536804=!0x1){const _0xd7c9=_0x41fd7a;this[_0xd7c9(0xa7)][_0xd7c9(0x116)][_0xd7c9(0x178)]({'isUndoable':!0x1,'isLocal':!0x1},_0x99912b=>{const _0x303d3d=_0xd7c9;for(const _0x104db1 of _0x33b65f)this[_0x303d3d(0x9d)][_0x303d3d(0xcc)](_0x104db1),this[_0x303d3d(0x152)](_0x104db1),_0x99912b[_0x303d3d(0x123)][_0x303d3d(0x19b)](_0x104db1),this[_0x303d3d(0xa7)][_0x303d3d(0x116)][_0x303d3d(0x14f)](_0x104db1);});}[_0x41fd7a(0x152)](_0x4e910e){const _0xe5d8f6=_0x41fd7a,_0x430428=this[_0xe5d8f6(0x126)](_0x4e910e);_0x430428&&this[_0xe5d8f6(0xe8)][_0xe5d8f6(0xcc)](_0x430428);}[_0x41fd7a(0x126)](_0x1cba0e){const _0x305601=_0x41fd7a;let _0xfa69b7,_0x799762;switch(_0x1cba0e[_0x305601(0x180)]){case _0x305601(0x170):_0xfa69b7=_0x1cba0e[_0x305601(0xb3)][_0x305601(0xd1)];break;case _0x305601(0x197):if(_0x799762=_0x1cba0e[_0x305601(0x127)],!_0x799762)return null;_0xfa69b7=_0x799762[_0x305601(0xd1)];break;case _0x305601(0xe4):_0xfa69b7=_0x1cba0e[_0x305601(0xd1)];break;case _0x305601(0x12f):_0xfa69b7=_0x1cba0e[_0x305601(0x16f)];break;case _0x305601(0x167):_0xfa69b7=_0x1cba0e[_0x305601(0x183)][_0x305601(0xd1)];break;default:return null;}return _0xfa69b7[_0x305601(0xbe)];}[_0x41fd7a(0x164)](_0x2457ea){const _0xa85aaf=_0x41fd7a;_0x2457ea[_0xa85aaf(0xbc)](_0x50923b=>{const _0x127364=_0xa85aaf,_0x2e6fce=_0x50923b[_0x127364(0x18c)]();_0x2e6fce[_0x127364(0x16d)]=_0x50923b[_0x127364(0x16d)],_0x2e6fce[_0x127364(0x15b)]=!!_0x50923b[_0x127364(0x15b)],_0x2e6fce[_0x127364(0xad)]=_0x50923b[_0x127364(0xad)],_0x2e6fce[_0x127364(0x163)]+=this[_0x127364(0xd0)],_0x50923b[_0x127364(0xf2)]&&this[_0x127364(0x19c)][_0x127364(0xcc)](_0x2e6fce),this[_0x127364(0x129)][_0x127364(0x19b)](_0x2e6fce);});}[_0x41fd7a(0xbd)](_0x4c5725){const _0x47ca88=_0x41fd7a,_0x57835a=this[_0x47ca88(0xa7)][_0x47ca88(0xd6)][_0x47ca88(0xe5)](_0x47ca88(0xd3)),_0xb9682f=this[_0x47ca88(0xa7)][_0x47ca88(0xc0)];_0x4c5725||(_0x4c5725=_0x63c980(_0xb9682f,_0x47ca88(0x157))),_0x57835a[_0x47ca88(0x13f)](_0x4c5725,{'title':_0x63c980(_0xb9682f,_0x47ca88(0x198)),'namespace':_0x47ca88(0xd9)}),this[_0x47ca88(0xb4)]=!0x0,clearTimeout(this[_0x47ca88(0xf3)]),this[_0x47ca88(0x9f)]=[],this[_0x47ca88(0xa7)][_0x47ca88(0xd6)][_0x47ca88(0xe5)](_0x4dce2f)[_0x47ca88(0x158)]();}[_0x41fd7a(0xc6)](){const _0x2face1=_0x41fd7a;this[_0x2face1(0xb9)]||(this[_0x2face1(0xb9)]=this[_0x2face1(0xa7)][_0x2face1(0xd6)][_0x2face1(0xe5)](_0x414f14)[_0x2face1(0xcc)](_0x63c980(this[_0x2face1(0xa7)][_0x2face1(0xc0)],_0x2face1(0xe6))));}[_0x41fd7a(0xd8)](){const _0x7e2dbe=_0x41fd7a;this[_0x7e2dbe(0xb9)]&&(this[_0x7e2dbe(0xa7)][_0x7e2dbe(0xd6)][_0x7e2dbe(0xe5)](_0x414f14)[_0x7e2dbe(0x107)](this[_0x7e2dbe(0xb9)]),this[_0x7e2dbe(0xb9)]=null);}[_0x41fd7a(0xdf)](_0x5ec82b){const _0x50c73f=_0x41fd7a,_0x17f83c=_0x5ec82b[_0x50c73f(0x114)](_0x5c957c=>_0x5c957c[_0x50c73f(0x133)]());return this[_0x50c73f(0x10d)][_0x50c73f(0xdd)](_0x17f83c);}[_0x41fd7a(0x111)](_0x2581e2,_0x2291d9){const _0xb266fd=_0x41fd7a;return this[_0xb266fd(0x10d)][_0xb266fd(0x194)](_0x2581e2)[_0xb266fd(0x114)]((_0x3ce677,_0x29f0da)=>{const _0x59bd10=_0xb266fd,_0x1f1ed3=_0x59bd10(0x151)==_0x2291d9[_0x29f0da][_0x59bd10(0x180)];if(_0x59bd10(0x156)==_0x3ce677[_0x59bd10(0x9c)]){const _0x55eb98=_0x3ce677[_0x59bd10(0xb3)][_0x59bd10(0xd1)];!this[_0x59bd10(0x184)][_0x59bd10(0xe7)](_0x55eb98)&&(this[_0x59bd10(0x184)][_0x59bd10(0xaf)](_0x59bd10(0xde),_0x55eb98)[_0x59bd10(0x138)]=!0x1);}const _0x2d876c=_0xdee5c8[_0x59bd10(0x124)](_0x3ce677,this[_0x59bd10(0x184)]);return _0x2d876c[_0x59bd10(0xe0)]=_0x3ce677[_0x59bd10(0xe0)],_0x2d876c[_0x59bd10(0x15b)]=_0x1f1ed3,_0x2d876c[_0x59bd10(0x16d)]=_0x1f1ed3?null:_0x2291d9[_0x29f0da][_0x59bd10(0x166)],_0x2d876c[_0x59bd10(0xf2)]=_0x59bd10(0x10b)===_0x2291d9[_0x29f0da][_0x59bd10(0x180)],_0x2d876c[_0x59bd10(0xad)]=_0x2291d9[_0x29f0da][_0x59bd10(0xad)],_0x2d876c;});}[_0x41fd7a(0x13a)](){const _0x471188=_0x41fd7a;this[_0x471188(0x105)]=!0x0,this[_0x471188(0x16a)]()?this[_0x471188(0x168)]():this[_0x471188(0x105)]=!0x1;}[_0x41fd7a(0x16a)](){const _0xd4d3cc=_0x41fd7a,_0x110a97=this[_0xd4d3cc(0xa7)][_0xd4d3cc(0xd6)][_0xd4d3cc(0xe5)](_0x5bc9a6)[_0xd4d3cc(0xa9)][_0xd4d3cc(0xe5)](this[_0xd4d3cc(0x112)]);return!this[_0xd4d3cc(0xa7)][_0xd4d3cc(0x10a)]&&!!_0x110a97&&_0x110a97[_0xd4d3cc(0x188)]>0x1&&this[_0xd4d3cc(0x105)];}[_0x41fd7a(0x11b)](){const _0xeef684=_0x41fd7a;return this[_0xeef684(0x9f)][_0xeef684(0x188)]>0x0||this[_0xeef684(0x16a)]();}}export{l as RealTimeCollaborationClient};class B extends Error{}function x(_0x22b92d,_0x4b2b3c){const _0x5257dc=_0x41fd7a;for(const _0x1f516e of _0x22b92d)_0x1f516e[_0x5257dc(0x163)]=_0x4b2b3c++;}class M{[_0x41fd7a(0x136)];[_0x41fd7a(0x109)];constructor(_0x1044a3){const _0x15166d=_0x41fd7a;this[_0x15166d(0x136)]=_0x1044a3,this[_0x15166d(0x109)]=new WeakMap();}[_0x41fd7a(0x13e)](_0x2ade00){const _0x1f5254=_0x41fd7a;let _0x52c0ac=_0x2ade00[_0x1f5254(0x188)];for(;_0x52c0ac--;){const _0x562185=_0x2ade00[_0x52c0ac];if(!this[_0x1f5254(0x136)][_0x1f5254(0x146)](_0x562185)){if(!this[_0x1f5254(0x109)][_0x1f5254(0x146)](_0x562185)){const _0x3a5c0e=_0x127c6d()[_0x1f5254(0x15e)](0x1,0x12);this[_0x1f5254(0x109)][_0x1f5254(0x122)](_0x562185,_0x3a5c0e);}return this[_0x1f5254(0x109)][_0x1f5254(0xe5)](_0x562185);}}}[_0x41fd7a(0x13d)](_0x3c43b4,_0x157e4c){const _0x213e10=_0x41fd7a;if(!_0x157e4c)return;let _0x40b44f=_0x3c43b4[_0x213e10(0x188)];for(;_0x40b44f--;){const _0x1ab7b0=_0x3c43b4[_0x40b44f];this[_0x213e10(0x136)][_0x213e10(0x146)](_0x1ab7b0)||this[_0x213e10(0x109)][_0x213e10(0x122)](_0x1ab7b0,_0x157e4c);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x26ae82=_0x5a64;function _0x2ab4(){const _0x26540e=['user','_users','remove','getUserBySessionId','_createUser','isPremiumPlugin','connection','size','register','defineMe','9233kdmfZB','sessions-unregister-not-exist','3143992yPPXhz','getUserSessions','_handleSessionRemove','_registeredSessions','add','channelConnectedUsers','Sessions','_uniqueUsersCount','9GigPaW','sessionId','has','mySessionId','sessions-register-already-registered','get','unregister','3151072TnkEXi','getUser','channelSessions','assign','pluginName','isOfficialPlugin','requires','sessionAdd:','forEach','isMe','state','change:state','clear','addUser','plugins','2742zDvgtA','connected','listenTo','stopListening','14611410VUocee','values','allConnectedUsers','init','delete','621582XrCwea','185739GnfjYL','orderNumber','26GFPDwr','getUserRole','context','fire','_handleSessionAdd','hiddenInPresenceList','role','1490425PXtHxz','set'];_0x2ab4=function(){return _0x26540e;};return _0x2ab4();}(function(_0xe11518,_0x3174b1){const _0x5a5759=_0x5a64,_0x57a1cf=_0xe11518();while(!![]){try{const _0x1c7c5e=parseInt(_0x5a5759(0x12e))/0x1+parseInt(_0x5a5759(0x131))/0x2*(parseInt(_0x5a5759(0x12f))/0x3)+-parseInt(_0x5a5759(0x155))/0x4+parseInt(_0x5a5759(0x138))/0x5+-parseInt(_0x5a5759(0x164))/0x6*(-parseInt(_0x5a5759(0x144))/0x7)+parseInt(_0x5a5759(0x146))/0x8+-parseInt(_0x5a5759(0x14e))/0x9*(parseInt(_0x5a5759(0x129))/0xa);if(_0x1c7c5e===_0x3174b1)break;else _0x57a1cf['push'](_0x57a1cf['shift']());}catch(_0x27c675){_0x57a1cf['push'](_0x57a1cf['shift']());}}}(_0x2ab4,0x73171));import{ContextPlugin as _0x397c45}from'ckeditor5/src/core.js';import{Collection as _0x2599eb,CKEditorError as _0x3c3f73}from'ckeditor5/src/utils.js';function _0x5a64(_0x3bd090,_0x17dff2){const _0x2ab4df=_0x2ab4();return _0x5a64=function(_0x5a6400,_0x93f2e9){_0x5a6400=_0x5a6400-0x127;let _0x138b07=_0x2ab4df[_0x5a6400];return _0x138b07;},_0x5a64(_0x3bd090,_0x17dff2);}import{WebSocketGateway as _0x5aad5b}from'./websocketgateway.js';import{Users as _0xd1470e}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x397c45{[_0x26ae82(0x157)];[_0x26ae82(0x14b)];[_0x26ae82(0x12b)];[_0x26ae82(0x149)];[_0x26ae82(0x14d)];[_0x26ae82(0x13b)];static get[_0x26ae82(0x159)](){const _0x171a7f=_0x26ae82;return _0x171a7f(0x14c);}static get[_0x26ae82(0x15a)](){return!0x0;}static get[_0x26ae82(0x13f)](){return!0x0;}static get[_0x26ae82(0x15b)](){return[_0x5aad5b,_0xd1470e];}constructor(_0x41a051){const _0x1b3ade=_0x26ae82;super(_0x41a051),this[_0x1b3ade(0x157)]=new Map(),this[_0x1b3ade(0x14b)]=new Map(),this[_0x1b3ade(0x12b)]=new _0x2599eb(),this[_0x1b3ade(0x149)]=new Map(),this[_0x1b3ade(0x14d)]=0x0,this[_0x1b3ade(0x13b)]=this[_0x1b3ade(0x133)][_0x1b3ade(0x163)][_0x1b3ade(0x153)](_0xd1470e);}[_0x26ae82(0x12c)](){const _0x59eb0e=_0x26ae82,_0x5922be=this[_0x59eb0e(0x133)][_0x59eb0e(0x163)][_0x59eb0e(0x153)](_0x5aad5b);this[_0x59eb0e(0x127)](_0x5922be,_0x59eb0e(0x160),(_0x131f3d,_0x5c66f9,_0x2e938d)=>{const _0x1f9b16=_0x59eb0e;if(_0x1f9b16(0x165)!==_0x2e938d)this[_0x1f9b16(0x157)][_0x1f9b16(0x15d)](_0x14ba2c=>_0x14ba2c[_0x1f9b16(0x161)]()),this[_0x1f9b16(0x14b)][_0x1f9b16(0x15d)](_0x2d1279=>_0x2d1279[_0x1f9b16(0x161)]()),this[_0x1f9b16(0x12b)][_0x1f9b16(0x161)]();else{for(const [_0x508f45,_0x327166]of this[_0x1f9b16(0x149)])for(const _0x51aaeb of _0x327166)this[_0x1f9b16(0x135)](_0x508f45,_0x51aaeb);}}),this[_0x59eb0e(0x13e)](_0x5922be[_0x59eb0e(0x140)]['me'],!0x0);}[_0x26ae82(0x142)](_0x5d1753,_0x29e385){const _0x8f89a4=_0x26ae82;if(this[_0x8f89a4(0x149)][_0x8f89a4(0x150)](_0x5d1753))throw new _0x3c3f73(_0x8f89a4(0x152),null,{'channelId':_0x5d1753});this[_0x8f89a4(0x149)][_0x8f89a4(0x139)](_0x5d1753,_0x29e385),this[_0x8f89a4(0x157)][_0x8f89a4(0x139)](_0x5d1753,new _0x2599eb()),this[_0x8f89a4(0x14b)][_0x8f89a4(0x139)](_0x5d1753,new _0x2599eb()),this[_0x8f89a4(0x127)](_0x29e385,_0x8f89a4(0x14a),(_0x4daf66,_0x30bbb9)=>this[_0x8f89a4(0x135)](_0x5d1753,_0x30bbb9)),this[_0x8f89a4(0x127)](_0x29e385,_0x8f89a4(0x13c),(_0x4d46f5,_0x1e9d01)=>this[_0x8f89a4(0x148)](_0x5d1753,_0x1e9d01));for(const _0x4666e5 of _0x29e385)this[_0x8f89a4(0x135)](_0x5d1753,_0x4666e5);}[_0x26ae82(0x154)](_0x21ca93){const _0x2fe088=_0x26ae82;if(!this[_0x2fe088(0x149)][_0x2fe088(0x150)](_0x21ca93))throw new _0x3c3f73(_0x2fe088(0x145),null,{'channelId':_0x21ca93});const _0x3af432=this[_0x2fe088(0x149)][_0x2fe088(0x153)](_0x21ca93);this[_0x2fe088(0x128)](_0x3af432);for(const _0x4320b4 of _0x3af432)_0x2fe088(0x165)===this[_0x2fe088(0x133)][_0x2fe088(0x163)][_0x2fe088(0x153)](_0x5aad5b)[_0x2fe088(0x15f)]&&this[_0x2fe088(0x148)](_0x21ca93,_0x4320b4);this[_0x2fe088(0x149)][_0x2fe088(0x12d)](_0x21ca93),this[_0x2fe088(0x157)][_0x2fe088(0x12d)](_0x21ca93),this[_0x2fe088(0x14b)][_0x2fe088(0x12d)](_0x21ca93);}get[_0x26ae82(0x151)](){const _0x102dd9=_0x26ae82;return this[_0x102dd9(0x133)][_0x102dd9(0x163)][_0x102dd9(0x153)](_0x5aad5b)[_0x102dd9(0x140)][_0x102dd9(0x14f)];}[_0x26ae82(0x13d)](_0x57e91b){const _0x4f2fd8=_0x26ae82;for(const _0x5e1729 of this[_0x4f2fd8(0x157)][_0x4f2fd8(0x12a)]())for(const _0x3275e3 of _0x5e1729)if(_0x3275e3['id']===_0x57e91b)return _0x3275e3[_0x4f2fd8(0x13a)];}[_0x26ae82(0x147)](_0x46867f,_0x206f2e){const _0x53e574=_0x26ae82,_0x10b69f=_0x206f2e?[this[_0x53e574(0x157)][_0x53e574(0x153)](_0x206f2e)]:this[_0x53e574(0x157)][_0x53e574(0x12a)](),_0x27f38d=new Set();for(const _0x5755b4 of _0x10b69f)for(const _0x4bc497 of _0x5755b4)_0x4bc497[_0x53e574(0x13a)]['id']===_0x46867f['id']&&_0x27f38d[_0x53e574(0x14a)](_0x4bc497['id']);return _0x27f38d;}[_0x26ae82(0x132)](_0x43df6e){const _0x23e93b=_0x26ae82;for(const _0x2d78d3 of this[_0x23e93b(0x157)][_0x23e93b(0x12a)]())for(const _0x14b3ea of _0x2d78d3)if(_0x14b3ea[_0x23e93b(0x13a)]===_0x43df6e)return _0x14b3ea[_0x23e93b(0x137)];}[_0x26ae82(0x135)](_0x3a45ea,_0x46257f){const _0xce6eb3=_0x26ae82;if(_0xce6eb3(0x165)!==this[_0xce6eb3(0x133)][_0xce6eb3(0x163)][_0xce6eb3(0x153)](_0x5aad5b)[_0xce6eb3(0x15f)])return;const _0x4ba6f2=_0x46257f[_0xce6eb3(0x13a)],_0x419903=this[_0xce6eb3(0x13b)][_0xce6eb3(0x156)](_0x4ba6f2['id'])||this[_0xce6eb3(0x13e)](_0x4ba6f2),_0x9f4e9c=Object[_0xce6eb3(0x158)]({},_0x46257f,{'user':_0x419903});if(this[_0xce6eb3(0x157)][_0xce6eb3(0x153)](_0x3a45ea)[_0xce6eb3(0x14a)](_0x9f4e9c),!_0x4ba6f2[_0xce6eb3(0x136)]){const _0x21b9a3=this[_0xce6eb3(0x14b)][_0xce6eb3(0x153)](_0x3a45ea);_0x21b9a3[_0xce6eb3(0x150)](_0x419903['id'])||_0x21b9a3[_0xce6eb3(0x14a)](_0x419903),this[_0xce6eb3(0x12b)][_0xce6eb3(0x150)](_0x419903['id'])||_0x4ba6f2[_0xce6eb3(0x136)]||this[_0xce6eb3(0x12b)][_0xce6eb3(0x14a)](_0x419903,_0x419903[_0xce6eb3(0x15e)]?0x0:void 0x0);}this[_0xce6eb3(0x134)](_0xce6eb3(0x15c)+_0x3a45ea,{'channelId':_0x3a45ea,'session':_0x9f4e9c});}[_0x26ae82(0x148)](_0x1ec854,_0x3955a4){const _0x3a3dbc=_0x26ae82;if(_0x3a3dbc(0x165)!==this[_0x3a3dbc(0x133)][_0x3a3dbc(0x163)][_0x3a3dbc(0x153)](_0x5aad5b)[_0x3a3dbc(0x15f)])return;const _0x330ceb=this[_0x3a3dbc(0x14b)][_0x3a3dbc(0x153)](_0x1ec854),_0x5a7547=_0x3955a4[_0x3a3dbc(0x13a)];_0x5a7547['id']&&(this[_0x3a3dbc(0x157)][_0x3a3dbc(0x153)](_0x1ec854)[_0x3a3dbc(0x13c)](_0x3955a4['id']),_0x330ceb[_0x3a3dbc(0x150)](_0x5a7547['id'])&&!this[_0x3a3dbc(0x147)](_0x5a7547,_0x1ec854)[_0x3a3dbc(0x141)]&&_0x330ceb[_0x3a3dbc(0x13c)](_0x5a7547['id']),this[_0x3a3dbc(0x12b)][_0x3a3dbc(0x153)](_0x5a7547['id'])&&!this[_0x3a3dbc(0x147)](_0x5a7547)[_0x3a3dbc(0x141)]&&this[_0x3a3dbc(0x12b)][_0x3a3dbc(0x13c)](_0x5a7547['id']));}[_0x26ae82(0x13e)](_0x5258eb,_0x368aba){const _0x191a56=_0x26ae82,_0x3c0d93=this[_0x191a56(0x13b)][_0x191a56(0x162)](_0x5258eb);return _0x368aba&&this[_0x191a56(0x13b)][_0x191a56(0x143)](_0x5258eb['id']),_0x3c0d93[_0x191a56(0x130)]=this[_0x191a56(0x14d)]++,_0x3c0d93;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x26e2(){const _0x17d2e7=['1247826AVrAnn','148coHobU','getCustomProperty','nodeAfter','isLimit','fromRange','getFirstRange','isOfficialPlugin','schema','2069565NGLQUM','start','addEventListener','mouseenter','keydown','split','deletionPosition','getContainedElement','classList','markerRange','Escape','newRange','mapper','user:range:','has','reconvertMarker','getNearestSelectionRange','isSimilar','update:user:range','2155860IKcOVi','spellcheck','span','createRange','commands','setAttribute','removeClass','root','getSelectionClass','name','pluginName','isObject','stopListening','clear','isInline','innerHTML','model','_createdBatches','marker','applyOperation','user:range','_domEmitter','createElement','contenteditable','orderNumber','getAttribute','oldRange','5458HaALYx','hasDomSelection','get','getPositions','requires','add','setCustomProperty','destroy','conversion','5qrflfk','enqueueChange','detach','ck-user__marker\x20','ck-user__selection','createUserMarkerOperations','removeMarker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','remove','getStart','outerHTML','listenTo','7mMQWbc','set','toDomElement','view','change:range','init','startsWith','mouseleave','mySessionId','$graveyard','editing','$text','data-session-id','change','end','element','1328508slCjpa','isDocumentOperation','ck-user__marker_hovered','type','false','user:','parent','markerNameToElements','markerToHighlight','markers','rootName','getUserBySessionId','size','afterInit','hasContent','tableCell','batch','markerToElement','userPositionMarker','7853820kOzTMU','ck-user__marker-tooltip','toRange','user:position','document','plugins','editingDowncast','isCollapsed','createUIElement','addMarker','selection','user:position:','isPremiumPlugin','color','getRange','delete','UserMarkers','editor','undo','checkChild','render','updateMarker','highest','markerName','getMarkerClass','for','textContent','3999536ewUJJK'];_0x26e2=function(){return _0x17d2e7;};return _0x26e2();}function _0x4766(_0xf10e96,_0x5f0494){const _0x26e2b9=_0x26e2();return _0x4766=function(_0x4766ed,_0x51aa61){_0x4766ed=_0x4766ed-0xc6;let _0x51b776=_0x26e2b9[_0x4766ed];return _0x51b776;},_0x4766(_0xf10e96,_0x5f0494);}const _0x4ab7a7=_0x4766;(function(_0x487b78,_0x11401c){const _0xc254b=_0x4766,_0x1aedb8=_0x487b78();while(!![]){try{const _0xb9c9d4=-parseInt(_0xc254b(0x10e))/0x1*(-parseInt(_0xc254b(0x144))/0x2)+parseInt(_0xc254b(0x116))/0x3+parseInt(_0xc254b(0x129))/0x4+parseInt(_0xc254b(0x14d))/0x5*(parseInt(_0xc254b(0x10d))/0x6)+-parseInt(_0xc254b(0xce))/0x7*(parseInt(_0xc254b(0x10c))/0x8)+-parseInt(_0xc254b(0xde))/0x9+-parseInt(_0xc254b(0xf1))/0xa;if(_0xb9c9d4===_0x11401c)break;else _0x1aedb8['push'](_0x1aedb8['shift']());}catch(_0x40a4b0){_0x1aedb8['push'](_0x1aedb8['shift']());}}}(_0x26e2,0x638c3));import{Plugin as _0x2092c2}from'ckeditor5/src/core.js';import{global as _0x13af45,DomEmitterMixin as _0x210b25}from'ckeditor5/src/utils.js';import{Sessions as _0x5d57d2}from'./sessions.js';import{ModelLiveRange as _0x68921a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2092c2{[_0x4ab7a7(0x13e)]=new(_0x210b25())();static get[_0x4ab7a7(0x148)](){return[_0x5d57d2];}static get[_0x4ab7a7(0x133)](){const _0x3b5577=_0x4ab7a7;return _0x3b5577(0x101);}static get[_0x4ab7a7(0x114)](){return!0x0;}static get[_0x4ab7a7(0xfd)](){return!0x0;}[_0x4ab7a7(0xd3)](){const _0x44a18d=_0x4ab7a7,_0x263519=this[_0x44a18d(0x102)],_0x222ed9=_0x263519[_0x44a18d(0xf6)][_0x44a18d(0x146)](_0x5d57d2);_0x263519[_0x44a18d(0x14c)][_0x44a18d(0x10a)](_0x44a18d(0xf7))[_0x44a18d(0xef)]({'model':_0x44a18d(0xf4),'view':(_0x40afd3,{writer:_0x5a7b59})=>function(_0x4e29c1,_0x4adec1,_0x188575,_0x1f0248){const _0x45f4af=_0x44a18d,_0x4f831d=_0x4e29c1[_0x45f4af(0x108)][_0x45f4af(0x11b)](':')[0x2],_0x311ec5=_0x188575[_0x45f4af(0xe9)](_0x4f831d);if(!_0x311ec5||_0x4f831d===_0x188575[_0x45f4af(0xd6)])return;if(!_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0x115)][_0x45f4af(0x104)](_0x4e29c1[_0x45f4af(0x11f)][_0x45f4af(0x117)],_0x45f4af(0xd9)))return;const _0x47a618={'class':_0x45f4af(0x150)+_0x311ec5[_0x45f4af(0xfe)][_0x45f4af(0x109)](),'data-name':_0x311ec5[_0x45f4af(0x132)],'data-session-id':_0x4f831d},_0x43fb5a=_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0xe7)][_0x45f4af(0x146)](_0x4e29c1[_0x45f4af(0x108)]),_0x5d1647=_0x43fb5a[_0x45f4af(0xcb)](),_0x197c79=_0x5d1647[_0x45f4af(0x110)],_0x318512=_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0x115)];if(_0x197c79&&_0x318512[_0x45f4af(0x134)](_0x197c79)&&_0x318512[_0x45f4af(0x137)](_0x197c79)&&!_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0xe7)][_0x45f4af(0x146)](_0x45f4af(0x123)+_0x4f831d)[_0x45f4af(0xff)]()[_0x45f4af(0xf8)])return;const _0x56ac8e=_0x5d1647[_0x45f4af(0xe4)];return _0x1f0248[_0x45f4af(0x139)][_0x45f4af(0x115)][_0x45f4af(0x111)](_0x56ac8e)&&!_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0xec)](_0x56ac8e)&&(_0x47a618[_0x45f4af(0x140)]=!0x1),function(_0x591be6,_0x108d7b,_0x11584a){const _0x15ed7d=_0x45f4af,_0x31f8f5=_0x591be6[_0x15ed7d(0xf9)](_0x15ed7d(0x12b),_0x108d7b);return _0x591be6[_0x15ed7d(0x14a)](_0x15ed7d(0xf0),!0x0,_0x31f8f5),_0x31f8f5[_0x15ed7d(0x105)]=function(_0x32b3cd){const _0x592c0a=_0x15ed7d,_0x481530=this[_0x592c0a(0xd0)](_0x32b3cd),_0x390519=document[_0x592c0a(0x13f)](_0x592c0a(0x12b));return _0x390519[_0x592c0a(0x11e)][_0x592c0a(0x149)](_0x592c0a(0xf2)),_0x390519[_0x592c0a(0x12e)](_0x592c0a(0x140),_0x592c0a(0xe2)),_0x390519[_0x592c0a(0x12e)](_0x592c0a(0x12a),_0x592c0a(0xe2)),_0x390519[_0x592c0a(0x10b)]=_0x11584a[_0x592c0a(0x132)],_0x481530[_0x592c0a(0x138)]=_0x592c0a(0xc9)+_0x390519[_0x592c0a(0xcc)]+'',_0x481530[_0x592c0a(0x118)](_0x592c0a(0x119),()=>{const _0x56d171=_0x592c0a;_0x481530[_0x56d171(0x11e)][_0x56d171(0x149)](_0x56d171(0xe0));}),_0x481530[_0x592c0a(0x118)](_0x592c0a(0xd5),()=>{const _0x5c85bc=_0x592c0a;_0x481530[_0x5c85bc(0x11e)][_0x5c85bc(0xca)](_0x5c85bc(0xe0));}),_0x481530;},_0x31f8f5[_0x15ed7d(0x127)]=function(_0x2e7cd2){const _0x13b111=_0x15ed7d;return!(!this[_0x13b111(0x10f)](_0x13b111(0xf0))||!_0x2e7cd2[_0x13b111(0x10f)](_0x13b111(0xf0))||this[_0x13b111(0x142)](_0x13b111(0xda))!=_0x2e7cd2[_0x13b111(0x142)](_0x13b111(0xda)));},_0x31f8f5;}(_0x4adec1,_0x47a618,_0x311ec5);}(_0x40afd3,_0x5a7b59,_0x222ed9,_0x263519)}),_0x263519[_0x44a18d(0x14c)][_0x44a18d(0x10a)](_0x44a18d(0xf7))[_0x44a18d(0xe6)]({'model':_0x44a18d(0x13d),'view':_0x316020=>function(_0x45c851,_0x1aa83e){const _0x275d25=_0x44a18d,_0xfba991=_0x45c851[_0x275d25(0x108)][_0x275d25(0x11b)](':')[0x2];if(_0xfba991===_0x1aa83e[_0x275d25(0xd6)])return null;const _0x4634d5=_0x1aa83e[_0x275d25(0xe9)](_0xfba991);if(!_0x4634d5)return{'id':_0xfba991,'classes':[]};return{'id':_0xfba991,'classes':[_0x275d25(0xc6),_0x4634d5[_0x275d25(0xfe)][_0x275d25(0x131)]()],'attributes':{'data-session-id':_0xfba991},'priority':0x7d0+_0x4634d5[_0x275d25(0x141)]};}(_0x316020,_0x222ed9)}),function(_0x568e00){const _0x20497e=_0x44a18d,_0xb7bc6c=_0x568e00[_0x20497e(0x139)],_0x321a74=new Map(),_0x366869=_0x568e00[_0x20497e(0xf6)][_0x20497e(0x146)](_0x5d57d2);_0xb7bc6c[_0x20497e(0xe7)]['on'](_0x20497e(0x128),(_0xb6112b,_0x1cfd91,_0x200b0d,_0x3a9e5b)=>{const _0x49c7dd=_0x20497e;if(!_0x3a9e5b&&_0x321a74[_0x49c7dd(0x146)](_0x1cfd91[_0x49c7dd(0x132)]))return _0x321a74[_0x49c7dd(0x146)](_0x1cfd91[_0x49c7dd(0x132)])[_0x49c7dd(0x14f)](),void _0x321a74[_0x49c7dd(0x100)](_0x1cfd91[_0x49c7dd(0x132)]);const _0x10658d=_0x1cfd91[_0x49c7dd(0x132)][_0x49c7dd(0x11b)](':')[0x2];if(_0x10658d===_0x366869[_0x49c7dd(0xd6)])return;const _0x4d4fe9=_0x49c7dd(0xfc)+_0x10658d;_0xb7bc6c[_0x49c7dd(0xe7)][_0x49c7dd(0x124)](_0x4d4fe9)&&_0x568e00[_0x49c7dd(0xd8)][_0x49c7dd(0x125)](_0x4d4fe9),_0x1cfd91['on'](_0x49c7dd(0xd2),(_0x123296,_0x536e34,_0x4c1598)=>{const _0x321b5f=_0x49c7dd;if(_0x321b5f(0xd7)!=_0x536e34[_0x321b5f(0x130)][_0x321b5f(0xe8)]&&_0x321b5f(0xd7)==_0x1cfd91[_0x321b5f(0xff)]()[_0x321b5f(0x130)][_0x321b5f(0xe8)]&&!_0x321a74[_0x321b5f(0x124)](_0x1cfd91[_0x321b5f(0x132)])){const _0x457917=_0xb7bc6c[_0x321b5f(0x115)][_0x321b5f(0x126)](_0x4c1598[_0x321b5f(0x11c)]);if(_0x457917){const _0x56b17f=_0x68921a[_0x321b5f(0x112)](_0x457917);_0x321a74[_0x321b5f(0xcf)](_0x1cfd91[_0x321b5f(0x132)],_0x56b17f),_0x56b17f['on'](_0x321b5f(0xd2),(_0x18f0a8,_0x121fb9,_0x5f3434)=>{const _0x1bfdda=_0x321b5f;if(_0x1bfdda(0xd7)==_0x56b17f[_0x1bfdda(0x130)][_0x1bfdda(0xe8)]){const _0x332618=_0xb7bc6c[_0x1bfdda(0x115)][_0x1bfdda(0x126)](_0x5f3434[_0x1bfdda(0x11c)]);_0x332618?(_0x56b17f[_0x1bfdda(0x117)]=_0x332618[_0x1bfdda(0x117)],_0x56b17f[_0x1bfdda(0xdc)]=_0x332618[_0x1bfdda(0xdc)]):(_0x321a74[_0x1bfdda(0x100)](_0x1cfd91[_0x1bfdda(0x132)]),_0x56b17f[_0x1bfdda(0x14f)]());}});}}});}),_0xb7bc6c[_0x20497e(0xf5)]['on'](_0x20497e(0xdb),()=>{const _0x9757c6=_0x20497e;_0x321a74[_0x9757c6(0xea)]>0x0&&_0xb7bc6c[_0x9757c6(0x14e)]({'isUndoable':!0x1},_0x1d105e=>{const _0x577688=_0x9757c6;for(const [_0xed4da1,_0x69ffe3]of _0x321a74)_0x577688(0xd7)==_0xb7bc6c[_0x577688(0xe7)][_0x577688(0x146)](_0xed4da1)[_0x577688(0xff)]()[_0x577688(0x130)][_0x577688(0xe8)]&&(q(_0xed4da1[_0x577688(0x11b)](':')[0x2],_0x69ffe3[_0x577688(0xf3)](),_0xb7bc6c,_0x1d105e),_0x69ffe3[_0x577688(0x14f)]());_0x321a74[_0x577688(0x136)]();});});}(_0x263519),this[_0x44a18d(0x13e)][_0x44a18d(0xcd)](_0x13af45[_0x44a18d(0xf5)],_0x44a18d(0x11a),(_0x5cd7ea,{key:_0x1c74bc})=>{const _0x2131d9=_0x44a18d;_0x2131d9(0x120)===_0x1c74bc&&function(_0x49d1d4){const _0x1ab569=_0x2131d9;_0x49d1d4[_0x1ab569(0xd8)][_0x1ab569(0xd1)][_0x1ab569(0xdb)](_0x5a5440=>{const _0x301be9=_0x1ab569;for(const _0x19ec2a of _0x49d1d4[_0x301be9(0x139)][_0x301be9(0xe7)]){if(!_0x19ec2a[_0x301be9(0x132)][_0x301be9(0xd4)](_0x301be9(0xf4)))continue;const _0x29d74a=_0x49d1d4[_0x301be9(0xd8)][_0x301be9(0x122)][_0x301be9(0xe5)](_0x19ec2a[_0x301be9(0x132)]);if(_0x29d74a){for(const _0x4d88f2 of _0x29d74a)_0x5a5440[_0x301be9(0x12f)](_0x301be9(0xe0),_0x4d88f2);}}});}(_0x263519);},{'useCapture':!0x0});}[_0x4ab7a7(0xeb)](){const _0x313cf3=_0x4ab7a7,_0x5a967e=this[_0x313cf3(0x102)],_0x5bb8f1=_0x5a967e[_0x313cf3(0x12d)][_0x313cf3(0x146)](_0x313cf3(0x103));_0x5bb8f1&&_0x5a967e[_0x313cf3(0x139)]['on'](_0x313cf3(0x13c),(_0x441db8,_0x1db2ef)=>{const _0xf2f2ec=_0x313cf3,_0x3fe5b4=_0x1db2ef[0x0];if(!_0x3fe5b4[_0xf2f2ec(0xdf)])return;if(_0xf2f2ec(0x13b)!=_0x3fe5b4[_0xf2f2ec(0xe1)]||!_0x3fe5b4[_0xf2f2ec(0x132)][_0xf2f2ec(0xd4)](_0xf2f2ec(0xe3)))return;const _0x45ee52=_0x3fe5b4[_0xf2f2ec(0xee)];_0x5bb8f1[_0xf2f2ec(0x13a)][_0xf2f2ec(0x124)](_0x45ee52)&&(_0x3fe5b4[_0xf2f2ec(0x121)]=_0x3fe5b4[_0xf2f2ec(0x143)]?_0x5a967e[_0xf2f2ec(0x139)][_0xf2f2ec(0x12c)](_0x3fe5b4[_0xf2f2ec(0x143)][_0xf2f2ec(0x117)],_0x3fe5b4[_0xf2f2ec(0x143)][_0xf2f2ec(0xdc)]):null);},{'priority':_0x313cf3(0x107)});}[_0x4ab7a7(0x14b)](){const _0x362a02=_0x4ab7a7;return this[_0x362a02(0x13e)][_0x362a02(0x135)](),super[_0x362a02(0x14b)]();}[_0x4ab7a7(0xc7)](){const _0x4fae68=_0x4ab7a7,_0x10c92d=this[_0x4fae68(0x102)],_0x239675=_0x10c92d[_0x4fae68(0x139)][_0x4fae68(0xf5)],_0x3e0494=_0x10c92d[_0x4fae68(0xf6)][_0x4fae68(0x146)](_0x5d57d2);_0x10c92d[_0x4fae68(0x139)][_0x4fae68(0x14e)]({'isUndoable':!0x1},_0x45e7a0=>{const _0x3bad60=_0x4fae68,_0x21a909=_0x3bad60(0x123)+_0x3e0494[_0x3bad60(0xd6)],_0x2e1f46=_0x3bad60(0xfc)+_0x3e0494[_0x3bad60(0xd6)],_0x22de32=_0x10c92d[_0x3bad60(0x139)][_0x3bad60(0xe7)][_0x3bad60(0x124)](_0x21a909);_0x10c92d[_0x3bad60(0xd8)][_0x3bad60(0xd1)][_0x3bad60(0x145)]?q(_0x3e0494[_0x3bad60(0xd6)],_0x239675[_0x3bad60(0xfb)][_0x3bad60(0x113)](),_0x10c92d[_0x3bad60(0x139)],_0x45e7a0):_0x22de32&&(_0x45e7a0[_0x3bad60(0xc8)](_0x21a909),_0x45e7a0[_0x3bad60(0xc8)](_0x2e1f46));});}}function q(_0x448caf,_0x20cbb6,_0x13a3a0,_0x2fe2f0){const _0x39bc1a=_0x4ab7a7,_0xae74e3=_0x39bc1a(0x123)+_0x448caf,_0x440fb8=_0x39bc1a(0xfc)+_0x448caf,_0x18fc16=_0x20cbb6[_0x39bc1a(0x11d)]();let _0x2e4180=_0x20cbb6[_0x39bc1a(0x117)];if(_0x18fc16&&_0x18fc16['is'](_0x39bc1a(0xdd),_0x39bc1a(0xed))){const _0x24cf7a=function(_0x2de395,_0x51c29d){const _0x16a89f=_0x39bc1a;for(const _0x8a0cc5 of _0x2de395[_0x16a89f(0x147)]())if(_0x51c29d[_0x16a89f(0x115)][_0x16a89f(0x104)](_0x8a0cc5,_0x16a89f(0xd9)))return _0x8a0cc5;}(_0x20cbb6,_0x13a3a0);_0x24cf7a&&(_0x2e4180=_0x24cf7a,_0x20cbb6=_0x2fe2f0[_0x39bc1a(0x12c)](_0x2e4180));}const _0x5e5855=_0x2fe2f0[_0x39bc1a(0x12c)](_0x2e4180);_0x13a3a0[_0x39bc1a(0xe7)][_0x39bc1a(0x124)](_0xae74e3)?(_0x2fe2f0[_0x39bc1a(0x106)](_0xae74e3,{'range':_0x20cbb6}),_0x2fe2f0[_0x39bc1a(0x106)](_0x440fb8,{'range':_0x5e5855})):(_0x2fe2f0[_0x39bc1a(0xfa)](_0xae74e3,{'range':_0x20cbb6,'usingOperation':!0x0}),_0x2fe2f0[_0x39bc1a(0xfa)](_0x440fb8,{'range':_0x5e5855,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x9837(){const _0x507529=['user:range','batch','markerName','start','getFirstRange','tableCell','oldRange','isSimilar','editing','document','hasDomSelection','applyOperation','add','textContent','enqueueChange','isCollapsed','getStart','conversion','10fVjVoJ','addEventListener','false','147124tZTRqY','change:range','clear','classList','mouseleave','ck-user__selection','set','isLimit','7044RKZPYS','editingDowncast','user:','view','type','markers','18577pPcVZz','_createdBatches','4935708yudRrg','toDomElement','ck-user__marker_hovered','$text','user:position:','newRange','isDocumentOperation','userPositionMarker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','UserMarkers','color','1603596XhdNBU','checkChild','element','end','change','render','getSelectionClass','500rTTQzM','markerNameToElements','isPremiumPlugin','mapper','detach','fromRange','isObject','remove','user:position','afterInit','mySessionId','listenTo','span','getAttribute','deletionPosition','size','10tzHxtp','updateMarker','keydown','orderNumber','markerRange','model','markerToElement','selection','delete','getNearestSelectionRange','nodeAfter','highest','root','user:range:','getCustomProperty','undo','toRange','_domEmitter','editor','addMarker','innerHTML','stopListening','setCustomProperty','4562261HIzSLP','createUserMarkerOperations','contenteditable','getPositions','createUIElement','has','spellcheck','requires','getRange','869491lwfWaM','reconvertMarker','marker','data-session-id','hasContent','39usuJiI','getContainedElement','init','Escape','$graveyard','startsWith','getUserBySessionId','for','removeMarker','split','outerHTML','pluginName','plugins','update:user:range','createRange','getMarkerClass','setAttribute','rootName','isInline','markerToHighlight','name','isOfficialPlugin','mouseenter','commands','parent','createElement','get','8FojGbc','schema','destroy','ck-user__marker\x20','removeClass','1852aMCSxZ'];_0x9837=function(){return _0x507529;};return _0x9837();}const _0x1338c4=_0xad16;(function(_0x219e24,_0x5f5c25){const _0x43c155=_0xad16,_0xa07d09=_0x219e24();while(!![]){try{const _0x109e0b=-parseInt(_0x43c155(0x1f5))/0x1*(parseInt(_0x43c155(0x24a))/0x2)+-parseInt(_0x43c155(0x22a))/0x3*(-parseInt(_0x43c155(0x1d2))/0x4)+parseInt(_0x43c155(0x205))/0x5*(-parseInt(_0x43c155(0x1ee))/0x6)+parseInt(_0x43c155(0x225))/0x7*(parseInt(_0x43c155(0x245))/0x8)+-parseInt(_0x43c155(0x1e2))/0x9+parseInt(_0x43c155(0x1cf))/0xa*(parseInt(_0x43c155(0x21c))/0xb)+-parseInt(_0x43c155(0x1da))/0xc*(-parseInt(_0x43c155(0x1e0))/0xd);if(_0x109e0b===_0x5f5c25)break;else _0xa07d09['push'](_0xa07d09['shift']());}catch(_0x3c59a8){_0xa07d09['push'](_0xa07d09['shift']());}}}(_0x9837,0x4baec));import{Plugin as _0x2627f2}from'ckeditor5/src/core.js';import{global as _0x591881,DomEmitterMixin as _0x2dac41}from'ckeditor5/src/utils.js';import{Sessions as _0x2177b9}from'./sessions.js';import{ModelLiveRange as _0x871040}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0xad16(_0x105c70,_0x8ad3ea){const _0x9837ce=_0x9837();return _0xad16=function(_0xad166a,_0x127bb8){_0xad166a=_0xad166a-0x1c9;let _0x3a9d71=_0x9837ce[_0xad166a];return _0x3a9d71;},_0xad16(_0x105c70,_0x8ad3ea);}export class UserMarkers extends _0x2627f2{[_0x1338c4(0x216)]=new(_0x2dac41())();static get[_0x1338c4(0x223)](){return[_0x2177b9];}static get[_0x1338c4(0x235)](){const _0x29918a=_0x1338c4;return _0x29918a(0x1ec);}static get[_0x1338c4(0x23f)](){return!0x0;}static get[_0x1338c4(0x1f7)](){return!0x0;}[_0x1338c4(0x22c)](){const _0xc8c100=_0x1338c4,_0x2ea0b7=this[_0xc8c100(0x217)],_0x113f3a=_0x2ea0b7[_0xc8c100(0x236)][_0xc8c100(0x244)](_0x2177b9);_0x2ea0b7[_0xc8c100(0x1ce)][_0xc8c100(0x231)](_0xc8c100(0x1db))[_0xc8c100(0x20b)]({'model':_0xc8c100(0x1fd),'view':(_0x2cff37,{writer:_0x182fc1})=>function(_0x5379b1,_0x481bb8,_0x248f69,_0x3e6d57){const _0x50ac1c=_0xc8c100,_0x553f80=_0x5379b1[_0x50ac1c(0x24d)][_0x50ac1c(0x233)](':')[0x2],_0x51d80b=_0x248f69[_0x50ac1c(0x230)](_0x553f80);if(!_0x51d80b||_0x553f80===_0x248f69[_0x50ac1c(0x1ff)])return;if(!_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x246)][_0x50ac1c(0x1ef)](_0x5379b1[_0x50ac1c(0x209)][_0x50ac1c(0x24e)],_0x50ac1c(0x1e5)))return;const _0x586f84={'class':_0x50ac1c(0x248)+_0x51d80b[_0x50ac1c(0x1ed)][_0x50ac1c(0x239)](),'data-name':_0x51d80b[_0x50ac1c(0x23e)],'data-session-id':_0x553f80},_0xbb435b=_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x1df)][_0x50ac1c(0x244)](_0x5379b1[_0x50ac1c(0x24d)]),_0x42ada6=_0xbb435b[_0x50ac1c(0x1cd)](),_0x1e0f92=_0x42ada6[_0x50ac1c(0x20f)],_0x3e4436=_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x246)];if(_0x1e0f92&&_0x3e4436[_0x50ac1c(0x1fb)](_0x1e0f92)&&_0x3e4436[_0x50ac1c(0x23c)](_0x1e0f92)&&!_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x1df)][_0x50ac1c(0x244)](_0x50ac1c(0x212)+_0x553f80)[_0x50ac1c(0x224)]()[_0x50ac1c(0x1cc)])return;const _0x4ebc94=_0x42ada6[_0x50ac1c(0x242)];return _0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x246)][_0x50ac1c(0x1d9)](_0x4ebc94)&&!_0x3e6d57[_0x50ac1c(0x20a)][_0x50ac1c(0x229)](_0x4ebc94)&&(_0x586f84[_0x50ac1c(0x21e)]=!0x1),function(_0x1adf7f,_0x11abfa,_0x1d05ce){const _0x3698e3=_0x50ac1c,_0x27bee2=_0x1adf7f[_0x3698e3(0x220)](_0x3698e3(0x201),_0x11abfa);return _0x1adf7f[_0x3698e3(0x21b)](_0x3698e3(0x1e9),!0x0,_0x27bee2),_0x27bee2[_0x3698e3(0x1f3)]=function(_0x4c88f4){const _0x48cb2d=_0x3698e3,_0x3aa139=this[_0x48cb2d(0x1e3)](_0x4c88f4),_0x2d26c5=document[_0x48cb2d(0x243)](_0x48cb2d(0x201));return _0x2d26c5[_0x48cb2d(0x1d5)][_0x48cb2d(0x1c9)](_0x48cb2d(0x1eb)),_0x2d26c5[_0x48cb2d(0x23a)](_0x48cb2d(0x21e),_0x48cb2d(0x1d1)),_0x2d26c5[_0x48cb2d(0x23a)](_0x48cb2d(0x222),_0x48cb2d(0x1d1)),_0x2d26c5[_0x48cb2d(0x1ca)]=_0x1d05ce[_0x48cb2d(0x23e)],_0x3aa139[_0x48cb2d(0x219)]=_0x48cb2d(0x1ea)+_0x2d26c5[_0x48cb2d(0x234)]+'',_0x3aa139[_0x48cb2d(0x1d0)](_0x48cb2d(0x240),()=>{const _0x14b328=_0x48cb2d;_0x3aa139[_0x14b328(0x1d5)][_0x14b328(0x1c9)](_0x14b328(0x1e4));}),_0x3aa139[_0x48cb2d(0x1d0)](_0x48cb2d(0x1d6),()=>{const _0x4b5172=_0x48cb2d;_0x3aa139[_0x4b5172(0x1d5)][_0x4b5172(0x1fc)](_0x4b5172(0x1e4));}),_0x3aa139;},_0x27bee2[_0x3698e3(0x252)]=function(_0x2dbf6b){const _0x144505=_0x3698e3;return!(!this[_0x144505(0x213)](_0x144505(0x1e9))||!_0x2dbf6b[_0x144505(0x213)](_0x144505(0x1e9))||this[_0x144505(0x202)](_0x144505(0x228))!=_0x2dbf6b[_0x144505(0x202)](_0x144505(0x228)));},_0x27bee2;}(_0x481bb8,_0x586f84,_0x51d80b);}(_0x2cff37,_0x182fc1,_0x113f3a,_0x2ea0b7)}),_0x2ea0b7[_0xc8c100(0x1ce)][_0xc8c100(0x231)](_0xc8c100(0x1db))[_0xc8c100(0x23d)]({'model':_0xc8c100(0x24b),'view':_0x5e4aee=>function(_0x2abeea,_0x4c725){const _0x17c440=_0xc8c100,_0x249ded=_0x2abeea[_0x17c440(0x24d)][_0x17c440(0x233)](':')[0x2];if(_0x249ded===_0x4c725[_0x17c440(0x1ff)])return null;const _0x314364=_0x4c725[_0x17c440(0x230)](_0x249ded);if(!_0x314364)return{'id':_0x249ded,'classes':[]};return{'id':_0x249ded,'classes':[_0x17c440(0x1d7),_0x314364[_0x17c440(0x1ed)][_0x17c440(0x1f4)]()],'attributes':{'data-session-id':_0x249ded},'priority':0x7d0+_0x314364[_0x17c440(0x208)]};}(_0x5e4aee,_0x113f3a)}),function(_0x50a840){const _0x3ccfd1=_0xc8c100,_0x9b2c8a=_0x50a840[_0x3ccfd1(0x20a)],_0x95e969=new Map(),_0xe2f7f2=_0x50a840[_0x3ccfd1(0x236)][_0x3ccfd1(0x244)](_0x2177b9);_0x9b2c8a[_0x3ccfd1(0x1df)]['on'](_0x3ccfd1(0x237),(_0x48b4e0,_0x4cc8e1,_0xee3ec7,_0x1686bb)=>{const _0x19b907=_0x3ccfd1;if(!_0x1686bb&&_0x95e969[_0x19b907(0x244)](_0x4cc8e1[_0x19b907(0x23e)]))return _0x95e969[_0x19b907(0x244)](_0x4cc8e1[_0x19b907(0x23e)])[_0x19b907(0x1f9)](),void _0x95e969[_0x19b907(0x20d)](_0x4cc8e1[_0x19b907(0x23e)]);const _0x3d47f1=_0x4cc8e1[_0x19b907(0x23e)][_0x19b907(0x233)](':')[0x2];if(_0x3d47f1===_0xe2f7f2[_0x19b907(0x1ff)])return;const _0x61ac0d=_0x19b907(0x1e6)+_0x3d47f1;_0x9b2c8a[_0x19b907(0x1df)][_0x19b907(0x221)](_0x61ac0d)&&_0x50a840[_0x19b907(0x253)][_0x19b907(0x226)](_0x61ac0d),_0x4cc8e1['on'](_0x19b907(0x1d3),(_0x1623d4,_0x2c65dc,_0x4ea7bb)=>{const _0x32c446=_0x19b907;if(_0x32c446(0x22e)!=_0x2c65dc[_0x32c446(0x211)][_0x32c446(0x23b)]&&_0x32c446(0x22e)==_0x4cc8e1[_0x32c446(0x224)]()[_0x32c446(0x211)][_0x32c446(0x23b)]&&!_0x95e969[_0x32c446(0x221)](_0x4cc8e1[_0x32c446(0x23e)])){const _0x1c2bc2=_0x9b2c8a[_0x32c446(0x246)][_0x32c446(0x20e)](_0x4ea7bb[_0x32c446(0x203)]);if(_0x1c2bc2){const _0x4af9dc=_0x871040[_0x32c446(0x1fa)](_0x1c2bc2);_0x95e969[_0x32c446(0x1d8)](_0x4cc8e1[_0x32c446(0x23e)],_0x4af9dc),_0x4af9dc['on'](_0x32c446(0x1d3),(_0x3e0003,_0x121cdb,_0x1b614e)=>{const _0x1085b5=_0x32c446;if(_0x1085b5(0x22e)==_0x4af9dc[_0x1085b5(0x211)][_0x1085b5(0x23b)]){const _0x18c871=_0x9b2c8a[_0x1085b5(0x246)][_0x1085b5(0x20e)](_0x1b614e[_0x1085b5(0x203)]);_0x18c871?(_0x4af9dc[_0x1085b5(0x24e)]=_0x18c871[_0x1085b5(0x24e)],_0x4af9dc[_0x1085b5(0x1f1)]=_0x18c871[_0x1085b5(0x1f1)]):(_0x95e969[_0x1085b5(0x20d)](_0x4cc8e1[_0x1085b5(0x23e)]),_0x4af9dc[_0x1085b5(0x1f9)]());}});}}});}),_0x9b2c8a[_0x3ccfd1(0x254)]['on'](_0x3ccfd1(0x1f2),()=>{const _0x35affe=_0x3ccfd1;_0x95e969[_0x35affe(0x204)]>0x0&&_0x9b2c8a[_0x35affe(0x1cb)]({'isUndoable':!0x1},_0x41c167=>{const _0x16090d=_0x35affe;for(const [_0xa102c3,_0x4e1cc4]of _0x95e969)_0x16090d(0x22e)==_0x9b2c8a[_0x16090d(0x1df)][_0x16090d(0x244)](_0xa102c3)[_0x16090d(0x224)]()[_0x16090d(0x211)][_0x16090d(0x23b)]&&(G(_0xa102c3[_0x16090d(0x233)](':')[0x2],_0x4e1cc4[_0x16090d(0x215)](),_0x9b2c8a,_0x41c167),_0x4e1cc4[_0x16090d(0x1f9)]());_0x95e969[_0x16090d(0x1d4)]();});});}(_0x2ea0b7),this[_0xc8c100(0x216)][_0xc8c100(0x200)](_0x591881[_0xc8c100(0x254)],_0xc8c100(0x207),(_0x376be2,{key:_0x59e60c})=>{const _0x1feaae=_0xc8c100;_0x1feaae(0x22d)===_0x59e60c&&function(_0x4cc45b){const _0x1f1203=_0x1feaae;_0x4cc45b[_0x1f1203(0x253)][_0x1f1203(0x1dd)][_0x1f1203(0x1f2)](_0x4cae0d=>{const _0x64e7b3=_0x1f1203;for(const _0x1df9c8 of _0x4cc45b[_0x64e7b3(0x20a)][_0x64e7b3(0x1df)]){if(!_0x1df9c8[_0x64e7b3(0x23e)][_0x64e7b3(0x22f)](_0x64e7b3(0x1fd)))continue;const _0x3679cd=_0x4cc45b[_0x64e7b3(0x253)][_0x64e7b3(0x1f8)][_0x64e7b3(0x1f6)](_0x1df9c8[_0x64e7b3(0x23e)]);if(_0x3679cd){for(const _0x4a3579 of _0x3679cd)_0x4cae0d[_0x64e7b3(0x249)](_0x64e7b3(0x1e4),_0x4a3579);}}});}(_0x2ea0b7);},{'useCapture':!0x0});}[_0x1338c4(0x1fe)](){const _0x5c8e65=_0x1338c4,_0x45dae9=this[_0x5c8e65(0x217)],_0x381fc5=_0x45dae9[_0x5c8e65(0x241)][_0x5c8e65(0x244)](_0x5c8e65(0x214));_0x381fc5&&_0x45dae9[_0x5c8e65(0x20a)]['on'](_0x5c8e65(0x256),(_0x585bfc,_0x2e986c)=>{const _0x853047=_0x5c8e65,_0xcf4764=_0x2e986c[0x0];if(!_0xcf4764[_0x853047(0x1e8)])return;if(_0x853047(0x227)!=_0xcf4764[_0x853047(0x1de)]||!_0xcf4764[_0x853047(0x23e)][_0x853047(0x22f)](_0x853047(0x1dc)))return;const _0xc8ceec=_0xcf4764[_0x853047(0x24c)];_0x381fc5[_0x853047(0x1e1)][_0x853047(0x221)](_0xc8ceec)&&(_0xcf4764[_0x853047(0x1e7)]=_0xcf4764[_0x853047(0x251)]?_0x45dae9[_0x853047(0x20a)][_0x853047(0x238)](_0xcf4764[_0x853047(0x251)][_0x853047(0x24e)],_0xcf4764[_0x853047(0x251)][_0x853047(0x1f1)]):null);},{'priority':_0x5c8e65(0x210)});}[_0x1338c4(0x247)](){const _0x2f1bef=_0x1338c4;return this[_0x2f1bef(0x216)][_0x2f1bef(0x21a)](),super[_0x2f1bef(0x247)]();}[_0x1338c4(0x21d)](){const _0x524e91=_0x1338c4,_0x136f86=this[_0x524e91(0x217)],_0x4b23d0=_0x136f86[_0x524e91(0x20a)][_0x524e91(0x254)],_0x433bea=_0x136f86[_0x524e91(0x236)][_0x524e91(0x244)](_0x2177b9);_0x136f86[_0x524e91(0x20a)][_0x524e91(0x1cb)]({'isUndoable':!0x1},_0x2610f0=>{const _0x4073ad=_0x524e91,_0x3c8ffc=_0x4073ad(0x212)+_0x433bea[_0x4073ad(0x1ff)],_0xe0d888=_0x4073ad(0x1e6)+_0x433bea[_0x4073ad(0x1ff)],_0xf016f5=_0x136f86[_0x4073ad(0x20a)][_0x4073ad(0x1df)][_0x4073ad(0x221)](_0x3c8ffc);_0x136f86[_0x4073ad(0x253)][_0x4073ad(0x1dd)][_0x4073ad(0x255)]?G(_0x433bea[_0x4073ad(0x1ff)],_0x4b23d0[_0x4073ad(0x20c)][_0x4073ad(0x24f)](),_0x136f86[_0x4073ad(0x20a)],_0x2610f0):_0xf016f5&&(_0x2610f0[_0x4073ad(0x232)](_0x3c8ffc),_0x2610f0[_0x4073ad(0x232)](_0xe0d888));});}}function G(_0x5c8735,_0x3eeb41,_0x31dd58,_0x44b116){const _0x54072d=_0x1338c4,_0x26b4b2=_0x54072d(0x212)+_0x5c8735,_0x5bc861=_0x54072d(0x1e6)+_0x5c8735,_0x532e6a=_0x3eeb41[_0x54072d(0x22b)]();let _0x3ea391=_0x3eeb41[_0x54072d(0x24e)];if(_0x532e6a&&_0x532e6a['is'](_0x54072d(0x1f0),_0x54072d(0x250))){const _0x4332fb=function(_0x5482d4,_0x3ef9ea){const _0x34a26d=_0x54072d;for(const _0x500f3a of _0x5482d4[_0x34a26d(0x21f)]())if(_0x3ef9ea[_0x34a26d(0x246)][_0x34a26d(0x1ef)](_0x500f3a,_0x34a26d(0x1e5)))return _0x500f3a;}(_0x3eeb41,_0x31dd58);_0x4332fb&&(_0x3ea391=_0x4332fb,_0x3eeb41=_0x44b116[_0x54072d(0x238)](_0x3ea391));}const _0x404e52=_0x44b116[_0x54072d(0x238)](_0x3ea391);_0x31dd58[_0x54072d(0x1df)][_0x54072d(0x221)](_0x26b4b2)?(_0x44b116[_0x54072d(0x206)](_0x26b4b2,{'range':_0x3eeb41}),_0x44b116[_0x54072d(0x206)](_0x5bc861,{'range':_0x404e52})):(_0x44b116[_0x54072d(0x218)](_0x26b4b2,{'range':_0x3eeb41,'usingOperation':!0x0}),_0x44b116[_0x54072d(0x218)](_0x5bc861,{'range':_0x404e52,'usingOperation':!0x0}));}
|