@ckeditor/ckeditor5-real-time-collaboration 47.6.2 → 47.7.0-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
|
-
const
|
|
23
|
+
const _0x4c28e7=_0x4585;(function(_0x5e4657,_0x2e622e){const _0x3c1ae6=_0x4585,_0x55cf64=_0x5e4657();while(!![]){try{const _0xc4e530=parseInt(_0x3c1ae6(0x1f3))/0x1*(parseInt(_0x3c1ae6(0x1e6))/0x2)+parseInt(_0x3c1ae6(0x1ec))/0x3+-parseInt(_0x3c1ae6(0x1e8))/0x4+-parseInt(_0x3c1ae6(0x1e7))/0x5+-parseInt(_0x3c1ae6(0x1d7))/0x6+-parseInt(_0x3c1ae6(0x1db))/0x7*(-parseInt(_0x3c1ae6(0x1dd))/0x8)+-parseInt(_0x3c1ae6(0x1ef))/0x9*(-parseInt(_0x3c1ae6(0x1d1))/0xa);if(_0xc4e530===_0x2e622e)break;else _0x55cf64['push'](_0x55cf64['shift']());}catch(_0x540b43){_0x55cf64['push'](_0x55cf64['shift']());}}}(_0x5751,0x9250c));function _0x5751(){const _0x3731ec=['set','keystrokes','ck-presence-list__list','listenTo','contains','394862dqruhQ','2577585WeOfvB','750384ePMuvm','items','setAttribute','element','1569897gbQijr','createCollection','list','18BipPVl','relatedTarget','presencelist:hide','render','3oCEIJY','.ck-balloon-panel_with-arrow','aria-expanded','setTemplate','.ck-presence-list__dropdown-list','3060290FcwDXO','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','isExpanded','Connected\x20users\x20list','querySelector','presencelist:show','7104798dXoDUB','fire','hasPopup','change:hasPopup','4298tWopVf','div','9888XRSuYB','focus','removeAttribute','bindTemplate'];_0x5751=function(){return _0x3731ec;};return _0x5751();}import{View as _0x1c1ac2}from'ckeditor5/src/ui.js';function _0x4585(_0x7f2537,_0x4b8090){const _0x5751ee=_0x5751();return _0x4585=function(_0x4585e7,_0x2b5671){_0x4585e7=_0x4585e7-0x1cd;let _0xe92250=_0x5751ee[_0x4585e7];return _0xe92250;},_0x4585(_0x7f2537,_0x4b8090);}import{KeystrokeHandler as _0x161e16}from'ckeditor5/src/utils.js';import{getTranslation as _0x506d5b}from'../../common-translations.js';export class PresenceInlineListView extends _0x1c1ac2{[_0x4c28e7(0x1e9)];[_0x4c28e7(0x1e2)];constructor(_0x5bee64){const _0x15bfc2=_0x4c28e7;super(_0x5bee64);const _0x319ca4=this[_0x15bfc2(0x1e0)];this[_0x15bfc2(0x1e9)]=this[_0x15bfc2(0x1ed)](),this[_0x15bfc2(0x1e2)]=new _0x161e16(),this[_0x15bfc2(0x1e1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x15bfc2(0x1cf)]({'tag':_0x15bfc2(0x1dc),'attributes':{'aria-haspopup':_0x319ca4['if'](_0x15bfc2(0x1d9)),'aria-expanded':_0x319ca4['to'](_0x15bfc2(0x1d3),_0x31d7f0=>this[_0x15bfc2(0x1d9)]&&String(_0x31d7f0)),'aria-label':_0x319ca4['to'](_0x15bfc2(0x1d9),_0x306161=>_0x506d5b(_0x5bee64,_0x306161?_0x15bfc2(0x1d2):_0x15bfc2(0x1d4))),'role':_0x15bfc2(0x1ee),'tabindex':_0x319ca4['to'](_0x15bfc2(0x1d9),_0x4e6958=>!!_0x4e6958&&0x0),'class':['ck',_0x15bfc2(0x1e3)]},'children':this[_0x15bfc2(0x1e9)],'on':{'mouseenter':_0x319ca4['to'](()=>this[_0x15bfc2(0x1d8)](_0x15bfc2(0x1d6))),'mouseleave':_0x319ca4['to'](_0x5c65be=>{const _0x45fdaf=_0x15bfc2,_0x3ddff4=_0x5c65be,_0x387e23=document[_0x45fdaf(0x1d5)](_0x45fdaf(0x1d0)),_0x3bdde1=document[_0x45fdaf(0x1d5)](_0x45fdaf(0x1cd));_0x387e23?.[_0x45fdaf(0x1e5)](_0x3ddff4[_0x45fdaf(0x1f0)])||_0x3bdde1?.[_0x45fdaf(0x1e5)](_0x3ddff4[_0x45fdaf(0x1f0)])||this[_0x45fdaf(0x1d8)](_0x45fdaf(0x1f1));})}}),this['on'](_0x15bfc2(0x1da),(_0x1e5961,_0x171c47,_0x396b8f)=>{const _0x170522=_0x15bfc2;this[_0x170522(0x1eb)]&&(_0x396b8f?this[_0x170522(0x1eb)][_0x170522(0x1ea)](_0x170522(0x1ce),String(this[_0x170522(0x1d3)])):this[_0x170522(0x1eb)][_0x170522(0x1df)](_0x170522(0x1ce)));});}[_0x4c28e7(0x1de)](){const _0x16d0b6=_0x4c28e7;this[_0x16d0b6(0x1eb)][_0x16d0b6(0x1de)]();}[_0x4c28e7(0x1f2)](){const _0x582598=_0x4c28e7;super[_0x582598(0x1f2)](),this[_0x582598(0x1e2)][_0x582598(0x1e4)](this[_0x582598(0x1eb)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x286574=_0xadc0;function _0x5881(){const _0x1d5dbb=['locale','bindTemplate','div','14QedPJS','2192379CcfMDL','bind','first','6280OsAoSS','142742FVVwvH','723078nJKxlh','items','setTemplate','ck-reset','change','ck-presence-list','3708891RmUTdt','ck-rounded-corners','set','counterView','ck-presence-list--collapsed','8PqfCrw','isCollapsed','tooltipPosition','inlineListView','27325510hbONYZ','3216DfkYvj','hasPopup','listenTo','7872473PqiflL'];_0x5881=function(){return _0x1d5dbb;};return _0x5881();}(function(_0x101d34,_0x52e877){const _0x49cf3b=_0xadc0,_0x2fb4fe=_0x101d34();while(!![]){try{const _0x5b0e52=-parseInt(_0x49cf3b(0xd9))/0x1*(-parseInt(_0x49cf3b(0xd4))/0x2)+parseInt(_0x49cf3b(0xd5))/0x3+parseInt(_0x49cf3b(0xcd))/0x4*(parseInt(_0x49cf3b(0xd8))/0x5)+-parseInt(_0x49cf3b(0xda))/0x6+parseInt(_0x49cf3b(0xd0))/0x7+-parseInt(_0x49cf3b(0xe5))/0x8*(parseInt(_0x49cf3b(0xe0))/0x9)+-parseInt(_0x49cf3b(0xcc))/0xa;if(_0x5b0e52===_0x52e877)break;else _0x2fb4fe['push'](_0x2fb4fe['shift']());}catch(_0x33daf5){_0x2fb4fe['push'](_0x2fb4fe['shift']());}}}(_0x5881,0x924f7));import{View as _0x23077e}from'ckeditor5/src/ui.js';function _0xadc0(_0x32dc41,_0x56c770){const _0x58819e=_0x5881();return _0xadc0=function(_0xadc0b9,_0x33ef2a){_0xadc0b9=_0xadc0b9-0xca;let _0x3274d6=_0x58819e[_0xadc0b9];return _0x3274d6;},_0xadc0(_0x32dc41,_0x56c770);}import{PresenceCounterView as _0x3d4d5e}from'./presencecounterview.js';import{PresenceInlineListView as _0xdc8588}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x23077e{[_0x286574(0xe3)];[_0x286574(0xcb)];constructor(_0xbf5118,_0x1626c8=0x6){const _0x5308e7=_0x286574;super(_0xbf5118);const _0x3050f4=this[_0x5308e7(0xd2)];this[_0x5308e7(0xe2)](_0x5308e7(0xe6),!0x0),this[_0x5308e7(0xe3)]=new _0x3d4d5e(this[_0x5308e7(0xd1)],_0x1626c8),this[_0x5308e7(0xcb)]=new _0xdc8588(_0xbf5118),this[_0x5308e7(0xcb)][_0x5308e7(0xd6)](_0x5308e7(0xce))['to'](this,_0x5308e7(0xe6)),this[_0x5308e7(0xcf)](this[_0x5308e7(0xcb)][_0x5308e7(0xdb)],_0x5308e7(0xde),()=>{const _0x4292c1=_0x5308e7;for(const _0x4c2445 of this[_0x4292c1(0xcb)][_0x4292c1(0xdb)])_0x4c2445[_0x4292c1(0xca)]='s';this[_0x4292c1(0xcb)][_0x4292c1(0xdb)][_0x4292c1(0xd7)]&&(this[_0x4292c1(0xcb)][_0x4292c1(0xdb)][_0x4292c1(0xd7)][_0x4292c1(0xca)]='se');}),this[_0x5308e7(0xdc)]({'tag':_0x5308e7(0xd3),'attributes':{'class':['ck',_0x5308e7(0xdf),_0x5308e7(0xdd),_0x5308e7(0xe1),_0x3050f4['if'](_0x5308e7(0xe6),_0x5308e7(0xe4))]},'children':[this[_0x5308e7(0xcb)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1a41a1=_0x1473;function _0x1473(_0x313ebd,_0x1acc1b){var _0x29e912=_0x29e9();return _0x1473=function(_0x147347,_0x56a488){_0x147347=_0x147347-0x129;var _0x33a307=_0x29e912[_0x147347];return _0x33a307;},_0x1473(_0x313ebd,_0x1acc1b);}(function(_0x462805,_0x16afdd){var _0x1cc6f8=_0x1473,_0x3641b5=_0x462805();while(!![]){try{var _0x1e5497=parseInt(_0x1cc6f8(0x12a))/0x1+-parseInt(_0x1cc6f8(0x135))/0x2*(-parseInt(_0x1cc6f8(0x137))/0x3)+parseInt(_0x1cc6f8(0x136))/0x4+parseInt(_0x1cc6f8(0x131))/0x5*(parseInt(_0x1cc6f8(0x130))/0x6)+-parseInt(_0x1cc6f8(0x12d))/0x7*(-parseInt(_0x1cc6f8(0x129))/0x8)+parseInt(_0x1cc6f8(0x134))/0x9+-parseInt(_0x1cc6f8(0x12b))/0xa;if(_0x1e5497===_0x16afdd)break;else _0x3641b5['push'](_0x3641b5['shift']());}catch(_0x5389eb){_0x3641b5['push'](_0x3641b5['shift']());}}}(_0x29e9,0x471cf));import{ContextPlugin as _0x5e58d8}from'ckeditor5/src/core.js';import{Sessions as _0x1355a0}from'./realtimecollaborativeediting/sessions.js';function _0x29e9(){var _0x1e15bf=['251607Wwleiq','14676820XdOxYZ','isOfficialPlugin','231329WMDHlg','isPremiumPlugin','PresenceList','263406rmysrj','5ZLbRFh','pluginName','requires','1925388dPpljt','2PESgET','1704512PMthUc','883923huWzpM','128OjVGan'];_0x29e9=function(){return _0x1e15bf;};return _0x29e9();}import{PresenceListUI as _0x1746a4}from'./presencelist/presencelistui.js';export class PresenceList extends _0x5e58d8{static get[_0x1a41a1(0x133)](){return[_0x1355a0,_0x1746a4];}static get[_0x1a41a1(0x132)](){var _0xe48545=_0x1a41a1;return _0xe48545(0x12f);}static get[_0x1a41a1(0x12c)](){return!0x0;}static get[_0x1a41a1(0x12e)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x3f892e)());[_0x53117a(0xe9)];static get[_0x53117a(0xa6)](){const _0x556456=_0x53117a;return[_0x37f22d,_0x556456(0xf2),_0x5106ee,_0x22227d];}static get[_0x53117a(0xb3)](){const _0xd34bc8=_0x53117a;return _0xd34bc8(0xf9);}static get[_0x53117a(0xaf)](){return!0x0;}static get[_0x53117a(0x9c)](){return!0x0;}constructor(_0x9f4598){const _0x577877=_0x53117a;super(_0x9f4598),this[_0x577877(0xe9)]=new Map();}async[_0x53117a(0xfe)](){const _0x2e29f2=_0x53117a,_0x103eda=this[_0x2e29f2(0x9e)],_0x1c5e03=_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x2e29f2(0xf2));if(_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x37f22d)[_0x2e29f2(0xe4)](this),_0x1c5e03[_0x2e29f2(0xbf)]={'addCommentThread':async({channelId:_0xe78910,threadId:_0x21a432,comments:_0x1abfa9,resolvedAt:_0x1f89a6,resolvedBy:_0x40f417,context:_0x2b11d0,attributes:_0x428d70})=>{const _0x570256=_0x2e29f2,_0x2c080e=await this[_0x570256(0xea)](_0xe78910)[_0x570256(0xa3)]({'commentThreadId':_0x21a432,'comments':_0x1abfa9[_0x570256(0xcf)](_0x4d6d22=>function(_0x435fa8,_0x539b17,_0x2d4c2c){const _0x519ac2=_0x570256;return{'commentThreadId':_0x2d4c2c,'commentId':_0x435fa8[_0x519ac2(0xa7)],'userId':_0x435fa8[_0x519ac2(0xf7)],'content':_0x435fa8[_0x519ac2(0xac)],'documentId':_0x539b17,'createdAt':_0x435fa8[_0x519ac2(0xc2)],'attributes':_0x435fa8[_0x519ac2(0xee)]||{}};}(_0x4d6d22,_0xe78910,_0x21a432)),'resolvedAt':_0x1f89a6,'resolvedBy':_0x40f417,'context':_0x2b11d0,'attributes':_0x428d70})[_0x570256(0xd8)](z);return{'threadId':_0x2c080e[_0x570256(0xc8)],'comments':_0x2c080e[_0x570256(0xc7)]};},'getCommentThread':async({channelId:_0x407d8c,threadId:_0x38993a})=>{const _0x5a6d43=_0x2e29f2,_0x114a58=await this[_0x5a6d43(0xea)](_0x407d8c)[_0x5a6d43(0xd3)](_0x38993a)[_0x5a6d43(0xd8)](N)[_0x5a6d43(0xd8)](z);return _0x114a58?_0x114a58[_0x5a6d43(0xbb)]?null:(await this[_0x5a6d43(0x9b)]([_0x114a58]),{'threadId':_0x114a58[_0x5a6d43(0xc8)],'comments':_0x114a58[_0x5a6d43(0xc7)][_0x5a6d43(0xcf)](H),'context':_0x114a58[_0x5a6d43(0x9e)],'resolvedAt':_0x114a58[_0x5a6d43(0xa9)],'resolvedBy':_0x114a58[_0x5a6d43(0xd6)],'attributes':_0x114a58[_0x5a6d43(0xee)]||{}}):null;},'updateCommentThread':async({channelId:_0x5216c6,threadId:_0x31d399,context:_0x446ebc,unlinkedAt:_0x5aa0fc,attributes:_0x376408})=>this[_0x2e29f2(0xea)](_0x5216c6)[_0x2e29f2(0xce)]({'commentThreadId':_0x31d399,'context':_0x446ebc,'attributes':_0x376408,'unlinkedAt':_0x5aa0fc})[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'resolveCommentThread':async({channelId:_0x13a948,threadId:_0x3c5ae1})=>{const _0x1c1a77=_0x2e29f2,_0x2744d7=await this[_0x1c1a77(0xea)](_0x13a948)[_0x1c1a77(0xd0)](_0x3c5ae1)[_0x1c1a77(0xd8)](N)[_0x1c1a77(0xd8)](z);return{'threadId':_0x2744d7[_0x1c1a77(0xc8)],'resolvedAt':_0x2744d7[_0x1c1a77(0xa9)],'resolvedBy':_0x2744d7[_0x1c1a77(0xd6)]};},'reopenCommentThread':async({channelId:_0x3abf11,threadId:_0x211cf4})=>this[_0x2e29f2(0xea)](_0x3abf11)[_0x2e29f2(0xf6)](_0x211cf4)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'removeCommentThread':({channelId:_0x2b4794,threadId:_0x3203c9})=>this[_0x2e29f2(0xea)](_0x2b4794)[_0x2e29f2(0xed)](_0x3203c9)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'addComment':({channelId:_0x445a28,threadId:_0x2f07b2,commentId:_0x173659,content:_0xe86d88,attributes:_0x118d71})=>this[_0x2e29f2(0xea)](_0x445a28)[_0x2e29f2(0xf0)](_0x2f07b2,_0x173659,_0xe86d88,_0x118d71)[_0x2e29f2(0xd8)](z),'updateComment':({channelId:_0x2b3f0a,threadId:_0x2037bc,commentId:_0x4433fa,content:_0x522379,attributes:_0x470f78})=>this[_0x2e29f2(0xea)](_0x2b3f0a)[_0x2e29f2(0xbe)](_0x2037bc,_0x4433fa,_0x522379,_0x470f78)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'removeComment':({channelId:_0x48695c,threadId:_0x20bf62,commentId:_0x1f2adc})=>this[_0x2e29f2(0xea)](_0x48695c)[_0x2e29f2(0xc1)](_0x20bf62,_0x1f2adc)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z)},_0x103eda instanceof _0x5874a4){const _0x353e45=_0x103eda[_0x2e29f2(0xdd)][_0x2e29f2(0xd9)](_0x2e29f2(0xd5)),_0x463f25=_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x5106ee);await this[_0x2e29f2(0xe5)](_0x353e45);const _0x9c76f5=await this[_0x2e29f2(0xe9)][_0x2e29f2(0xd9)](_0x353e45)[_0x2e29f2(0xe1)]();this[_0x2e29f2(0xe6)](_0x463f25,_0x2e29f2(0xe0)+_0x353e45,(_0x4e585a,{session:_0x19c9b6})=>{const _0xf89d54=_0x2e29f2;_0x19c9b6['id']===_0x463f25[_0xf89d54(0xbd)]&&(_0x4e585a[_0xf89d54(0xef)](),this[_0xf89d54(0x9e)][_0xf89d54(0xc0)][_0xf89d54(0xd9)](_0xf89d54(0xda))[_0xf89d54(0xd1)](_0x19c9b6[_0xf89d54(0xbc)],_0x353e45));}),_0x463f25[_0x2e29f2(0xb8)](_0x353e45,_0x9c76f5);}}async[_0x53117a(0xe5)](_0x47c7a2){const _0x1a0b28=_0x53117a;if(this[_0x1a0b28(0xe9)][_0x1a0b28(0xf8)](_0x47c7a2))throw new _0x30cf86(_0x1a0b28(0xdb),null,{'channelId':_0x47c7a2});const _0x195c0d=this[_0x1a0b28(0x9e)][_0x1a0b28(0xc0)][_0x1a0b28(0xd9)](_0x1a0b28(0xf2)),_0x1158eb=new CloudServicesCommentsAdapter[(_0x1a0b28(0xa1))](_0x47c7a2);this[_0x1a0b28(0xe9)][_0x1a0b28(0x100)](_0x47c7a2,_0x1158eb),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa5),(_0x5017a3,_0x1a6431)=>{const _0x10d271=_0x1a0b28,{commentThreadId:_0x80eb69,documentId:_0x2c7cbd,context:_0x2f1063,attributes:_0x2931ad,resolvedAt:_0x1f56e2,resolvedBy:_0x21fec1,comments:_0x36c8d7}=_0x1a6431;_0x195c0d[_0x10d271(0xd3)](_0x80eb69)||_0x195c0d[_0x10d271(0xa3)]({'threadId':_0x80eb69,'channelId':_0x2c7cbd,'comments':_0x36c8d7?_0x36c8d7[_0x10d271(0xcf)](H):[],'context':_0x2f1063,'attributes':_0x2931ad,'resolvedAt':_0x1f56e2,'resolvedBy':_0x21fec1,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xec),(_0x16fd3b,{commentThreadId:_0x5cd069,documentId:_0x1d9aeb,context:_0x12898f,unlinkedAt:_0x30b53e,attributes:_0x18a0cf})=>{const _0x3bb97b=_0x1a0b28;_0x195c0d[_0x3bb97b(0xd3)](_0x5cd069)&&_0x195c0d[_0x3bb97b(0xce)]({'threadId':_0x5cd069,'channelId':_0x1d9aeb,'context':_0x12898f,'unlinkedAt':_0x30b53e,'attributes':_0x18a0cf,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa2),(_0x1d5e0a,{commentThreadId:_0x16d595,resolvedBy:_0x30fa0c,resolvedAt:_0x344f33})=>{const _0x32c380=_0x1a0b28,_0x3a46bb=_0x195c0d[_0x32c380(0xd3)](_0x16d595);_0x3a46bb&&_0x3a46bb[_0x32c380(0xba)]({'resolvedBy':_0x30fa0c,'resolvedAt':_0x344f33,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xca),(_0x317d3b,{commentThreadId:_0x32f775})=>{const _0x307099=_0x1a0b28,_0xaa6d62=_0x195c0d[_0x307099(0xd3)](_0x32f775);_0xaa6d62&&_0xaa6d62[_0x307099(0xc6)]({'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xe7),(_0x2115fa,{commentThreadId:_0x288605})=>{const _0x2a9bf5=_0x1a0b28,_0x2ca621=_0x195c0d[_0x2a9bf5(0xd3)](_0x288605);_0x2ca621&&_0x2ca621[_0x2a9bf5(0x101)]({'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xb6),(_0x669980,_0xa98c80)=>{const _0x2319e7=_0x1a0b28,_0x348c62=_0xa98c80[_0x2319e7(0xc8)],_0x2c25a2=_0x195c0d[_0x2319e7(0xd3)](_0x348c62);_0x2c25a2&&_0x2c25a2[_0x2319e7(0xf0)]({...H(_0xa98c80),'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa8),(_0x1b2c6b,{commentThreadId:_0x51f401,commentId:_0x3dc6c0,content:_0x3a6456,attributes:_0x4538fd})=>{const _0x953e17=_0x1a0b28,_0x221bb8=_0x195c0d[_0x953e17(0xd3)](_0x51f401);if(_0x221bb8){const _0x416ba7=_0x221bb8[_0x953e17(0xfd)](_0x3dc6c0);_0x416ba7&&_0x416ba7[_0x953e17(0xff)]({'content':_0x3a6456,'attributes':_0x4538fd,'isFromAdapter':!0x0});}}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xc9),(_0xdfe83,{commentThreadId:_0x35a581,commentId:_0x2bbc35})=>{const _0x54b2b2=_0x1a0b28,_0x5ef8db=_0x195c0d[_0x54b2b2(0xd3)](_0x35a581);if(_0x5ef8db){const _0x51c740=_0x5ef8db[_0x54b2b2(0xfd)](_0x2bbc35);_0x51c740&&_0x51c740[_0x54b2b2(0x101)]({'isFromAdapter':!0x0});}}),await this[_0x1a0b28(0xf3)](_0x47c7a2);}[_0x53117a(0xf5)](){const _0x1bcae2=_0x53117a;if(this[_0x1bcae2(0x9e)]instanceof _0x5874a4){const _0x3bde14=this[_0x1bcae2(0x9e)][_0x1bcae2(0xdd)][_0x1bcae2(0xd9)](_0x1bcae2(0xd5));this[_0x1bcae2(0xe3)](_0x3bde14);}}[_0x53117a(0xe3)](_0x2b0394){const _0x382e88=_0x53117a;if(!this[_0x382e88(0xe9)][_0x382e88(0xf8)](_0x2b0394))throw new _0x30cf86(_0x382e88(0xde),null,{'channelId':_0x2b0394});this[_0x382e88(0xea)](_0x2b0394)[_0x382e88(0xb9)](),this[_0x382e88(0xe9)][_0x382e88(0xe8)](_0x2b0394);}async[_0x53117a(0xeb)](){const _0x23e9ba=_0x53117a;for(const _0x29b19c of this[_0x23e9ba(0xe9)][_0x23e9ba(0xcb)]())await this[_0x23e9ba(0xf3)](_0x29b19c);if(this[_0x23e9ba(0x9e)]instanceof _0x5874a4){const _0x244f1c=this[_0x23e9ba(0x9e)][_0x23e9ba(0xdd)][_0x23e9ba(0xd9)](_0x23e9ba(0xd5)),_0x215548=this[_0x23e9ba(0x9e)][_0x23e9ba(0xc0)][_0x23e9ba(0xd9)](_0x5106ee);_0x215548[_0x23e9ba(0xd2)](_0x244f1c);const _0x3144a8=await this[_0x23e9ba(0xe9)][_0x23e9ba(0xd9)](_0x244f1c)[_0x23e9ba(0xe1)]();_0x215548[_0x23e9ba(0xb8)](_0x244f1c,_0x3144a8);}}async[_0x53117a(0xf3)](_0x12de3c){const _0xc6b66a=_0x53117a,{connection:_0x1610c8}=this[_0xc6b66a(0x9e)][_0xc6b66a(0xc0)][_0xc6b66a(0xd9)](_0x37f22d),_0x2dd3c3=this[_0xc6b66a(0x9e)][_0xc6b66a(0xc0)][_0xc6b66a(0xd9)](_0xc6b66a(0xf2)),_0x5ae082=this[_0xc6b66a(0xe9)][_0xc6b66a(0xd9)](_0x12de3c),_0x4a5789=await _0x5ae082[_0xc6b66a(0xf4)](_0x1610c8);await this[_0xc6b66a(0x9b)](_0x4a5789);const _0x1f1c24=new Set(Array[_0xc6b66a(0xaa)](_0x2dd3c3[_0xc6b66a(0xad)]({'channelId':_0x12de3c}),_0x13606f=>_0x13606f['id']));for(const _0x49a986 of _0x4a5789)_0x49a986[_0xc6b66a(0xbb)]||_0x1f1c24[_0xc6b66a(0xe8)](_0x49a986[_0xc6b66a(0xc8)]);for(const _0x5df257 of _0x1f1c24)_0x2dd3c3[_0xc6b66a(0xd3)](_0x5df257)[_0xc6b66a(0x101)]({'isFromAdapter':!0x0});for(const _0x1114d9 of _0x4a5789){let _0x14d5ea=_0x2dd3c3[_0xc6b66a(0xd3)](_0x1114d9[_0xc6b66a(0xc8)]);const {commentThreadId:_0x3172ed,context:_0x50e7f1,attributes:_0x138d6e,resolvedBy:_0x5e8660,resolvedAt:_0x5a037c,unlinkedAt:_0x560e08,deletedAt:_0x4793ba}=_0x1114d9;if(_0x4793ba)continue;_0x14d5ea||(_0x14d5ea=_0x2dd3c3[_0xc6b66a(0xa3)]({'channelId':_0x12de3c,'threadId':_0x3172ed,'context':_0x50e7f1,'attributes':_0x138d6e||{},'resolvedBy':_0x5e8660,'resolvedAt':_0x5a037c,'unlinkedAt':_0x560e08,'isFromAdapter':!0x0}));const _0x14caa5=new Set(Array[_0xc6b66a(0xaa)](_0x14d5ea[_0xc6b66a(0xc7)],_0x453c6d=>_0x453c6d['id']));for(const _0x164030 of _0x1114d9[_0xc6b66a(0xc7)])_0x14caa5[_0xc6b66a(0xe8)](_0x164030[_0xc6b66a(0xa7)]);for(const _0x5244e1 of _0x14caa5)_0x14d5ea[_0xc6b66a(0xfd)](_0x5244e1)[_0xc6b66a(0x101)]({'isFromAdapter':!0x0});for(const _0x553e57 of _0x1114d9[_0xc6b66a(0xc7)]){const _0x29f302=_0x14d5ea[_0xc6b66a(0xfd)](_0x553e57[_0xc6b66a(0xa7)]);_0x29f302?_0x29f302[_0xc6b66a(0xac)]!==_0x553e57[_0xc6b66a(0xac)]&&_0x29f302[_0xc6b66a(0xff)]({'content':_0x553e57[_0xc6b66a(0xac)],'isFromAdapter':!0x0}):_0x14d5ea[_0xc6b66a(0xf0)](Object[_0xc6b66a(0xdc)](H(_0x553e57),{'isFromAdapter':!0x0}));}}}[_0x53117a(0xea)](_0x504469){const _0x48d60c=_0x53117a;if(!this[_0x48d60c(0xe9)][_0x48d60c(0xf8)](_0x504469))throw new _0x30cf86(_0x48d60c(0xa0),null,{'channelId':_0x504469});return this[_0x48d60c(0xe9)][_0x48d60c(0xd9)](_0x504469);}async[_0x53117a(0x9b)](_0x45a6e3){const _0x4d755b=_0x53117a,_0x29a723=this[_0x4d755b(0x9e)][_0x4d755b(0xc0)][_0x4d755b(0xd9)](_0x22227d),{connection:_0x2a9e3c}=this[_0x4d755b(0x9e)][_0x4d755b(0xc0)][_0x4d755b(0xd9)](_0x37f22d),_0x5bb918=new Set();for(const {resolvedBy:_0x40a8a6,comments:_0x5bd900}of _0x45a6e3){_0x40a8a6&&!_0x29a723[_0x4d755b(0xc3)](_0x40a8a6)&&_0x5bb918[_0x4d755b(0x9d)](_0x40a8a6);for(const {userId:_0x54287a}of _0x5bd900)_0x29a723[_0x4d755b(0xc3)](_0x54287a)||_0x5bb918[_0x4d755b(0x9d)](_0x54287a);}if(0x0===_0x5bb918[_0x4d755b(0xc4)])return;const _0x843ec7=await _0x1ee747[_0x4d755b(0x9f)](_0x2a9e3c,Array[_0x4d755b(0xaa)](_0x5bb918));for(const _0x5979f2 of _0x843ec7)_0x29a723[_0x4d755b(0xc3)](_0x5979f2['id'])||_0x29a723[_0x4d755b(0xb1)](_0x5979f2);}}async function N(_0x337e37){const _0x2c6883=_0x53117a;if(_0x2c6883(0xab)!==_0x337e37[_0x2c6883(0xfc)])throw _0x337e37;}function z(_0x4a5210){const _0x2a137a=_0x53117a;if((_0x579794=_0x4a5210)[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xd7))||_0x579794[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xf1))||_0x579794[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xc5)))return new Promise(()=>{});var _0x579794;throw _0x4a5210;}function H(_0x53ced3){const _0x553338=_0x53117a;return{'threadId':_0x53ced3[_0x553338(0xc8)],'commentId':_0x53ced3[_0x553338(0xa7)],'content':_0x53ced3[_0x553338(0xac)],'createdAt':_0x53ced3[_0x553338(0xc2)],'authorId':_0x53ced3[_0x553338(0xfa)],'attributes':_0x53ced3[_0x553338(0xee)]||{}};}
|
|
23
|
+
function _0x3b88(){const _0x5cfdb2=['commentThreadRemoved','getConnectedSessions','addToReconnectionStack','init','85HgnGNj','update','removeComment','size','has','connect','isPremiumPlugin','_terminateService','reconnect','commentThreadAdded','commentRemoved','setPermissions','set','code','cloud-services-internal-error:\x20Not\x20connected.','plugins','_setUpService','disconnect','requires','permissions','listenTo','content','cloudservicescommentsadapter-disconnect-not-exist','commentAdded','getCommentThreads','adapter','getMany','remove','message','2335993HLkkTQ','resolveCommentThread','getUser','collaboration.channelId','userId','Permissions','mySessionId','resolvedAt','reopenCommentThread','getCommentThread','cloudservicescommentsadapter-connect-already-connected','unregister','comments','123156oHwlSp','assign','commentThreadId','off','1671522BNiUgO','context','reopen','deletedAt','updateCommentThread','authorId','cloud-services-internal-error:\x20Request\x20timeout.','register','addUser','_fetchMissingUsersForThreads','58450ANLKce','addCommentThread','2737007TaeZhl','delete','_getService','commentId','attributes','catch','cloudservicescommentsadapter-service-not-exist','2UXyGiG','removeCommentThread','pluginName','add','CloudServicesCommentsAdapter','getComment','404','8rCeQHC','resolve','_services','commentThreadReopened','CommentsRepository','isOfficialPlugin','CommentsService','resolvedBy','addComment','commentUpdated','108856TZlgHw','destroy','config','commentThreadResolved','createdAt','updateComment','startsWith','sessionAdd:','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','from','10IiomGs','367596JUYHcJ','keys','map','commentThreadUpdated','get','_connectService'];_0x3b88=function(){return _0x5cfdb2;};return _0x3b88();}const _0x10e2f0=_0x3872;function _0x3872(_0x3636f6,_0x2f4eac){const _0x3b887b=_0x3b88();return _0x3872=function(_0x387241,_0x15031c){_0x387241=_0x387241-0xe0;let _0x135927=_0x3b887b[_0x387241];return _0x135927;},_0x3872(_0x3636f6,_0x2f4eac);}(function(_0x26db6f,_0x544b96){const _0x369faa=_0x3872,_0x22f1c5=_0x26db6f();while(!![]){try{const _0x3fd657=-parseInt(_0x369faa(0xe2))/0x1*(parseInt(_0x369faa(0xeb))/0x2)+-parseInt(_0x369faa(0x13b))/0x3+parseInt(_0x369faa(0xfc))/0x4*(-parseInt(_0x369faa(0x111))/0x5)+parseInt(_0x369faa(0x13f))/0x6+parseInt(_0x369faa(0xe4))/0x7+parseInt(_0x369faa(0xf2))/0x8*(-parseInt(_0x369faa(0x107))/0x9)+parseInt(_0x369faa(0x106))/0xa*(parseInt(_0x369faa(0x12e))/0xb);if(_0x3fd657===_0x544b96)break;else _0x22f1c5['push'](_0x22f1c5['shift']());}catch(_0x1d0261){_0x22f1c5['push'](_0x22f1c5['shift']());}}}(_0x3b88,0x441b7));import{Context as _0x277878,ContextPlugin as _0x4d51bd}from'ckeditor5/src/core.js';import{CKEditorError as _0x42a1b1}from'ckeditor5/src/utils.js';import{Users as _0x48223e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x350175,User as _0x3adb2a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x34935d}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1a34ce}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4d51bd{static [_0x10e2f0(0xf8)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x350175)());[_0x10e2f0(0xf4)];static get[_0x10e2f0(0x123)](){const _0x3b1f07=_0x10e2f0;return[_0x34935d,_0x3b1f07(0xf6),_0x1a34ce,_0x48223e];}static get[_0x10e2f0(0xed)](){const _0x175250=_0x10e2f0;return _0x175250(0xef);}static get[_0x10e2f0(0xf7)](){return!0x0;}static get[_0x10e2f0(0x117)](){return!0x0;}constructor(_0x33980d){const _0x19d962=_0x10e2f0;super(_0x33980d),this[_0x19d962(0xf4)]=new Map();}async[_0x10e2f0(0x110)](){const _0x2d297f=_0x10e2f0,_0x32272c=this[_0x2d297f(0x140)],_0x4ea229=_0x32272c[_0x2d297f(0x120)][_0x2d297f(0x10b)](_0x2d297f(0xf6));if(_0x32272c[_0x2d297f(0x120)][_0x2d297f(0x10b)](_0x34935d)[_0x2d297f(0x10f)](this),_0x4ea229[_0x2d297f(0x12a)]={'addCommentThread':async({channelId:_0x26863c,threadId:_0x547025,comments:_0x3ed6c1,resolvedAt:_0x2346ec,resolvedBy:_0x4ab3d4,context:_0x1e928b,attributes:_0x346889})=>{const _0x20ddd6=_0x2d297f,_0x424f7d=await this[_0x20ddd6(0xe6)](_0x26863c)[_0x20ddd6(0xe3)]({'commentThreadId':_0x547025,'comments':_0x3ed6c1[_0x20ddd6(0x109)](_0x2a7d9d=>function(_0x29bf2d,_0x26e05f,_0x1a3b04){const _0x53b813=_0x20ddd6;return{'commentThreadId':_0x1a3b04,'commentId':_0x29bf2d[_0x53b813(0xe7)],'userId':_0x29bf2d[_0x53b813(0x144)],'content':_0x29bf2d[_0x53b813(0x126)],'documentId':_0x26e05f,'createdAt':_0x29bf2d[_0x53b813(0x100)],'attributes':_0x29bf2d[_0x53b813(0xe8)]||{}};}(_0x2a7d9d,_0x26863c,_0x547025)),'resolvedAt':_0x2346ec,'resolvedBy':_0x4ab3d4,'context':_0x1e928b,'attributes':_0x346889})[_0x20ddd6(0xe9)](A);return{'threadId':_0x424f7d[_0x20ddd6(0x13d)],'comments':_0x424f7d[_0x20ddd6(0x13a)]};},'getCommentThread':async({channelId:_0x11a41c,threadId:_0x22f19f})=>{const _0x3ac4d1=_0x2d297f,_0x26fc10=await this[_0x3ac4d1(0xe6)](_0x11a41c)[_0x3ac4d1(0x137)](_0x22f19f)[_0x3ac4d1(0xe9)](f)[_0x3ac4d1(0xe9)](A);return _0x26fc10?_0x26fc10[_0x3ac4d1(0x142)]?null:(await this[_0x3ac4d1(0xe1)]([_0x26fc10]),{'threadId':_0x26fc10[_0x3ac4d1(0x13d)],'comments':_0x26fc10[_0x3ac4d1(0x13a)][_0x3ac4d1(0x109)](p),'context':_0x26fc10[_0x3ac4d1(0x140)],'resolvedAt':_0x26fc10[_0x3ac4d1(0x135)],'resolvedBy':_0x26fc10[_0x3ac4d1(0xf9)],'attributes':_0x26fc10[_0x3ac4d1(0xe8)]||{}}):null;},'updateCommentThread':async({channelId:_0x48f98a,threadId:_0x2aae8a,context:_0x23ad81,unlinkedAt:_0x4dee06,attributes:_0x15e1e3})=>this[_0x2d297f(0xe6)](_0x48f98a)[_0x2d297f(0x143)]({'commentThreadId':_0x2aae8a,'context':_0x23ad81,'attributes':_0x15e1e3,'unlinkedAt':_0x4dee06})[_0x2d297f(0xe9)](f)[_0x2d297f(0xe9)](A),'resolveCommentThread':async({channelId:_0x17e935,threadId:_0x574569})=>{const _0x36973e=_0x2d297f,_0x59529c=await this[_0x36973e(0xe6)](_0x17e935)[_0x36973e(0x12f)](_0x574569)[_0x36973e(0xe9)](f)[_0x36973e(0xe9)](A);return{'threadId':_0x59529c[_0x36973e(0x13d)],'resolvedAt':_0x59529c[_0x36973e(0x135)],'resolvedBy':_0x59529c[_0x36973e(0xf9)]};},'reopenCommentThread':async({channelId:_0x46f1a6,threadId:_0x589d55})=>this[_0x2d297f(0xe6)](_0x46f1a6)[_0x2d297f(0x136)](_0x589d55)[_0x2d297f(0xe9)](f)[_0x2d297f(0xe9)](A),'removeCommentThread':({channelId:_0x2e4543,threadId:_0x2dbd9f})=>this[_0x2d297f(0xe6)](_0x2e4543)[_0x2d297f(0xec)](_0x2dbd9f)[_0x2d297f(0xe9)](f)[_0x2d297f(0xe9)](A),'addComment':({channelId:_0x3de065,threadId:_0x217f66,commentId:_0x504304,content:_0x1ee43b,attributes:_0x6b9ac3})=>this[_0x2d297f(0xe6)](_0x3de065)[_0x2d297f(0xfa)](_0x217f66,_0x504304,_0x1ee43b,_0x6b9ac3)[_0x2d297f(0xe9)](A),'updateComment':({channelId:_0x58dabc,threadId:_0x444cdc,commentId:_0x2d645e,content:_0x359331,attributes:_0x33bd9d})=>this[_0x2d297f(0xe6)](_0x58dabc)[_0x2d297f(0x101)](_0x444cdc,_0x2d645e,_0x359331,_0x33bd9d)[_0x2d297f(0xe9)](f)[_0x2d297f(0xe9)](A),'removeComment':({channelId:_0x5e4f00,threadId:_0x12183e,commentId:_0x4bffb2})=>this[_0x2d297f(0xe6)](_0x5e4f00)[_0x2d297f(0x113)](_0x12183e,_0x4bffb2)[_0x2d297f(0xe9)](f)[_0x2d297f(0xe9)](A)},_0x32272c instanceof _0x277878){const _0x44f1e1=_0x32272c[_0x2d297f(0xfe)][_0x2d297f(0x10b)](_0x2d297f(0x131)),_0x47c9d1=_0x32272c[_0x2d297f(0x120)][_0x2d297f(0x10b)](_0x1a34ce);await this[_0x2d297f(0x121)](_0x44f1e1);const _0x5e1eab=await this[_0x2d297f(0xf4)][_0x2d297f(0x10b)](_0x44f1e1)[_0x2d297f(0x10e)]();this[_0x2d297f(0x125)](_0x47c9d1,_0x2d297f(0x103)+_0x44f1e1,(_0x4c6561,{session:_0x5c52d1})=>{const _0x504802=_0x2d297f;_0x5c52d1['id']===_0x47c9d1[_0x504802(0x134)]&&(_0x4c6561[_0x504802(0x13e)](),this[_0x504802(0x140)][_0x504802(0x120)][_0x504802(0x10b)](_0x504802(0x133))[_0x504802(0x11c)](_0x5c52d1[_0x504802(0x124)],_0x44f1e1));}),_0x47c9d1[_0x2d297f(0x146)](_0x44f1e1,_0x5e1eab);}}async[_0x10e2f0(0x121)](_0x364b3f){const _0x150711=_0x10e2f0;if(this[_0x150711(0xf4)][_0x150711(0x115)](_0x364b3f))throw new _0x42a1b1(_0x150711(0x138),null,{'channelId':_0x364b3f});const _0x57a83e=this[_0x150711(0x140)][_0x150711(0x120)][_0x150711(0x10b)](_0x150711(0xf6)),_0x4b705f=new CloudServicesCommentsAdapter[(_0x150711(0xf8))](_0x364b3f);this[_0x150711(0xf4)][_0x150711(0x11d)](_0x364b3f,_0x4b705f),this[_0x150711(0x125)](_0x4b705f,_0x150711(0x11a),(_0x3b2bb4,_0x45d57b)=>{const _0x41784a=_0x150711,{commentThreadId:_0x5bbcf5,documentId:_0x22d085,context:_0x5437d5,attributes:_0x1fff0d,resolvedAt:_0x153827,resolvedBy:_0x45b10b,comments:_0x565fd4}=_0x45d57b;_0x57a83e[_0x41784a(0x137)](_0x5bbcf5)||_0x57a83e[_0x41784a(0xe3)]({'threadId':_0x5bbcf5,'channelId':_0x22d085,'comments':_0x565fd4?_0x565fd4[_0x41784a(0x109)](p):[],'context':_0x5437d5,'attributes':_0x1fff0d,'resolvedAt':_0x153827,'resolvedBy':_0x45b10b,'isFromAdapter':!0x0});}),this[_0x150711(0x125)](_0x4b705f,_0x150711(0x10a),(_0x12ba62,{commentThreadId:_0x1d8979,documentId:_0x3620a1,context:_0x1c92e2,unlinkedAt:_0x2ca3a,attributes:_0x3c11cc})=>{const _0x427451=_0x150711;_0x57a83e[_0x427451(0x137)](_0x1d8979)&&_0x57a83e[_0x427451(0x143)]({'threadId':_0x1d8979,'channelId':_0x3620a1,'context':_0x1c92e2,'unlinkedAt':_0x2ca3a,'attributes':_0x3c11cc,'isFromAdapter':!0x0});}),this[_0x150711(0x125)](_0x4b705f,_0x150711(0xff),(_0xbd0a91,{commentThreadId:_0x22a4f9,resolvedBy:_0x47616c,resolvedAt:_0x45f08c})=>{const _0x4f9ad4=_0x150711,_0x1f976d=_0x57a83e[_0x4f9ad4(0x137)](_0x22a4f9);_0x1f976d&&_0x1f976d[_0x4f9ad4(0xf3)]({'resolvedBy':_0x47616c,'resolvedAt':_0x45f08c,'isFromAdapter':!0x0});}),this[_0x150711(0x125)](_0x4b705f,_0x150711(0xf5),(_0x1288a3,{commentThreadId:_0x21fcfa})=>{const _0x5f57b9=_0x150711,_0x1de480=_0x57a83e[_0x5f57b9(0x137)](_0x21fcfa);_0x1de480&&_0x1de480[_0x5f57b9(0x141)]({'isFromAdapter':!0x0});}),this[_0x150711(0x125)](_0x4b705f,_0x150711(0x10d),(_0x2fb284,{commentThreadId:_0x3c9b84})=>{const _0x287278=_0x150711,_0x2ecdb0=_0x57a83e[_0x287278(0x137)](_0x3c9b84);_0x2ecdb0&&_0x2ecdb0[_0x287278(0x12c)]({'isFromAdapter':!0x0});}),this[_0x150711(0x125)](_0x4b705f,_0x150711(0x128),(_0x396c94,_0xcb521e)=>{const _0x3e4926=_0x150711,_0xad9275=_0xcb521e[_0x3e4926(0x13d)],_0x103ca1=_0x57a83e[_0x3e4926(0x137)](_0xad9275);_0x103ca1&&_0x103ca1[_0x3e4926(0xfa)]({...p(_0xcb521e),'isFromAdapter':!0x0});}),this[_0x150711(0x125)](_0x4b705f,_0x150711(0xfb),(_0x4c01b2,{commentThreadId:_0x3e1f10,commentId:_0x3e84f0,content:_0x4b93e3,attributes:_0x111b6d})=>{const _0x38d7e7=_0x150711,_0x5c8581=_0x57a83e[_0x38d7e7(0x137)](_0x3e1f10);if(_0x5c8581){const _0x1223a9=_0x5c8581[_0x38d7e7(0xf0)](_0x3e84f0);_0x1223a9&&_0x1223a9[_0x38d7e7(0x112)]({'content':_0x4b93e3,'attributes':_0x111b6d,'isFromAdapter':!0x0});}}),this[_0x150711(0x125)](_0x4b705f,_0x150711(0x11b),(_0xac7ec3,{commentThreadId:_0x504a92,commentId:_0x5a5fbe})=>{const _0x111e92=_0x150711,_0x4899eb=_0x57a83e[_0x111e92(0x137)](_0x504a92);if(_0x4899eb){const _0x394ef1=_0x4899eb[_0x111e92(0xf0)](_0x5a5fbe);_0x394ef1&&_0x394ef1[_0x111e92(0x12c)]({'isFromAdapter':!0x0});}}),await this[_0x150711(0x10c)](_0x364b3f);}[_0x10e2f0(0xfd)](){const _0x7032fa=_0x10e2f0;if(this[_0x7032fa(0x140)]instanceof _0x277878){const _0x3c9d2a=this[_0x7032fa(0x140)][_0x7032fa(0xfe)][_0x7032fa(0x10b)](_0x7032fa(0x131));this[_0x7032fa(0x118)](_0x3c9d2a);}}[_0x10e2f0(0x118)](_0x3d4f56){const _0x288690=_0x10e2f0;if(!this[_0x288690(0xf4)][_0x288690(0x115)](_0x3d4f56))throw new _0x42a1b1(_0x288690(0x127),null,{'channelId':_0x3d4f56});this[_0x288690(0xe6)](_0x3d4f56)[_0x288690(0x122)](),this[_0x288690(0xf4)][_0x288690(0xe5)](_0x3d4f56);}async[_0x10e2f0(0x119)](){const _0x10f1c4=_0x10e2f0;for(const _0x2e4f0a of this[_0x10f1c4(0xf4)][_0x10f1c4(0x108)]())await this[_0x10f1c4(0x10c)](_0x2e4f0a);if(this[_0x10f1c4(0x140)]instanceof _0x277878){const _0x114048=this[_0x10f1c4(0x140)][_0x10f1c4(0xfe)][_0x10f1c4(0x10b)](_0x10f1c4(0x131)),_0x17c107=this[_0x10f1c4(0x140)][_0x10f1c4(0x120)][_0x10f1c4(0x10b)](_0x1a34ce);_0x17c107[_0x10f1c4(0x139)](_0x114048);const _0x1baed=await this[_0x10f1c4(0xf4)][_0x10f1c4(0x10b)](_0x114048)[_0x10f1c4(0x10e)]();_0x17c107[_0x10f1c4(0x146)](_0x114048,_0x1baed);}}async[_0x10e2f0(0x10c)](_0x7bc353){const _0x3499cc=_0x10e2f0,{connection:_0x1a8fdb}=this[_0x3499cc(0x140)][_0x3499cc(0x120)][_0x3499cc(0x10b)](_0x34935d),_0x17b305=this[_0x3499cc(0x140)][_0x3499cc(0x120)][_0x3499cc(0x10b)](_0x3499cc(0xf6)),_0x263141=this[_0x3499cc(0xf4)][_0x3499cc(0x10b)](_0x7bc353),_0x1c27d5=await _0x263141[_0x3499cc(0x116)](_0x1a8fdb);await this[_0x3499cc(0xe1)](_0x1c27d5);const _0x52f8e4=new Set(Array[_0x3499cc(0x105)](_0x17b305[_0x3499cc(0x129)]({'channelId':_0x7bc353}),_0x275290=>_0x275290['id']));for(const _0x473c47 of _0x1c27d5)_0x473c47[_0x3499cc(0x142)]||_0x52f8e4[_0x3499cc(0xe5)](_0x473c47[_0x3499cc(0x13d)]);for(const _0x19884a of _0x52f8e4)_0x17b305[_0x3499cc(0x137)](_0x19884a)[_0x3499cc(0x12c)]({'isFromAdapter':!0x0});for(const _0x5b5fba of _0x1c27d5){let _0x533f3a=_0x17b305[_0x3499cc(0x137)](_0x5b5fba[_0x3499cc(0x13d)]);const {commentThreadId:_0x35104,context:_0x2f8c05,attributes:_0x20da7b,resolvedBy:_0x6f0396,resolvedAt:_0x350172,unlinkedAt:_0x50450d,deletedAt:_0x1b6f65}=_0x5b5fba;if(_0x1b6f65)continue;_0x533f3a||(_0x533f3a=_0x17b305[_0x3499cc(0xe3)]({'channelId':_0x7bc353,'threadId':_0x35104,'context':_0x2f8c05,'attributes':_0x20da7b||{},'resolvedBy':_0x6f0396,'resolvedAt':_0x350172,'unlinkedAt':_0x50450d,'isFromAdapter':!0x0}));const _0x59fa8a=new Set(Array[_0x3499cc(0x105)](_0x533f3a[_0x3499cc(0x13a)],_0x20c800=>_0x20c800['id']));for(const _0x3ce2c2 of _0x5b5fba[_0x3499cc(0x13a)])_0x59fa8a[_0x3499cc(0xe5)](_0x3ce2c2[_0x3499cc(0xe7)]);for(const _0x2dc6f6 of _0x59fa8a)_0x533f3a[_0x3499cc(0xf0)](_0x2dc6f6)[_0x3499cc(0x12c)]({'isFromAdapter':!0x0});for(const _0x28bab7 of _0x5b5fba[_0x3499cc(0x13a)]){const _0x2cd3a5=_0x533f3a[_0x3499cc(0xf0)](_0x28bab7[_0x3499cc(0xe7)]);_0x2cd3a5?_0x2cd3a5[_0x3499cc(0x126)]!==_0x28bab7[_0x3499cc(0x126)]&&_0x2cd3a5[_0x3499cc(0x112)]({'content':_0x28bab7[_0x3499cc(0x126)],'isFromAdapter':!0x0}):_0x533f3a[_0x3499cc(0xfa)](Object[_0x3499cc(0x13c)](p(_0x28bab7),{'isFromAdapter':!0x0}));}}}[_0x10e2f0(0xe6)](_0x4e28e8){const _0x5997d8=_0x10e2f0;if(!this[_0x5997d8(0xf4)][_0x5997d8(0x115)](_0x4e28e8))throw new _0x42a1b1(_0x5997d8(0xea),null,{'channelId':_0x4e28e8});return this[_0x5997d8(0xf4)][_0x5997d8(0x10b)](_0x4e28e8);}async[_0x10e2f0(0xe1)](_0x141ec1){const _0x59aac2=_0x10e2f0,_0x577aba=this[_0x59aac2(0x140)][_0x59aac2(0x120)][_0x59aac2(0x10b)](_0x48223e),{connection:_0x5ac351}=this[_0x59aac2(0x140)][_0x59aac2(0x120)][_0x59aac2(0x10b)](_0x34935d),_0x19ebf9=new Set();for(const {resolvedBy:_0x291ab3,comments:_0x13d112}of _0x141ec1){_0x291ab3&&!_0x577aba[_0x59aac2(0x130)](_0x291ab3)&&_0x19ebf9[_0x59aac2(0xee)](_0x291ab3);for(const {userId:_0x5c4fc1}of _0x13d112)_0x577aba[_0x59aac2(0x130)](_0x5c4fc1)||_0x19ebf9[_0x59aac2(0xee)](_0x5c4fc1);}if(0x0===_0x19ebf9[_0x59aac2(0x114)])return;const _0x3a153f=await _0x3adb2a[_0x59aac2(0x12b)](_0x5ac351,Array[_0x59aac2(0x105)](_0x19ebf9));for(const _0xb8fd65 of _0x3a153f)_0x577aba[_0x59aac2(0x130)](_0xb8fd65['id'])||_0x577aba[_0x59aac2(0xe0)](_0xb8fd65);}}async function f(_0x4e81e4){const _0x27d56c=_0x10e2f0;if(_0x27d56c(0xf1)!==_0x4e81e4[_0x27d56c(0x11e)])throw _0x4e81e4;}function A(_0xb87f4c){const _0x570eb3=_0x10e2f0;if((_0x487497=_0xb87f4c)[_0x570eb3(0x12d)][_0x570eb3(0x102)](_0x570eb3(0x104))||_0x487497[_0x570eb3(0x12d)][_0x570eb3(0x102)](_0x570eb3(0x11f))||_0x487497[_0x570eb3(0x12d)][_0x570eb3(0x102)](_0x570eb3(0x145)))return new Promise(()=>{});var _0x487497;throw _0xb87f4c;}function p(_0x12b2da){const _0x23aeb1=_0x10e2f0;return{'threadId':_0x12b2da[_0x23aeb1(0x13d)],'commentId':_0x12b2da[_0x23aeb1(0xe7)],'content':_0x12b2da[_0x23aeb1(0x126)],'createdAt':_0x12b2da[_0x23aeb1(0x100)],'authorId':_0x12b2da[_0x23aeb1(0x132)],'attributes':_0x12b2da[_0x23aeb1(0xe8)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x438599=_0x8d3f;(function(_0x4f51d9,_0x201559){const _0xb5d47=_0x8d3f,_0x2fdee4=_0x4f51d9();while(!![]){try{const _0x591e02=-parseInt(_0xb5d47(0xf0))/0x1+-parseInt(_0xb5d47(0xf6))/0x2+parseInt(_0xb5d47(0xf4))/0x3+parseInt(_0xb5d47(0xfe))/0x4+-parseInt(_0xb5d47(0xeb))/0x5+-parseInt(_0xb5d47(0x109))/0x6*(parseInt(_0xb5d47(0xec))/0x7)+parseInt(_0xb5d47(0xff))/0x8;if(_0x591e02===_0x201559)break;else _0x2fdee4['push'](_0x2fdee4['shift']());}catch(_0x279ea1){_0x2fdee4['push'](_0x2fdee4['shift']());}}}(_0x49c8,0x625de));import{Plugin as _0x9fc27c}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x6789b7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x202eac}from'./realtimecollaborativeediting.js';function _0x8d3f(_0x553342,_0x3955){const _0x49c858=_0x49c8();return _0x8d3f=function(_0x8d3fc1,_0x2a91db){_0x8d3fc1=_0x8d3fc1-0xe9;let _0x265691=_0x49c858[_0x8d3fc1];return _0x265691;},_0x8d3f(_0x553342,_0x3955);}import{WebSocketGateway as _0x1216a3}from'./realtimecollaborativeediting/websocketgateway.js';function _0x49c8(){const _0x56befd=['destroy','isOfficialPlugin','Comments','change:state','24sqvYTx','plugins','switchReadOnly','61155XOnelM','983297qcNQfc','config','CommentsEditing','init','748518Sbjhoa','data','get','collaboration.channelId','1774506bRmTGe','RealTimeCollaborativeComments','102064yrNaRW','requires','_terminateService','listenTo','ready','once','connected','CommentsRepository','21396uQSZEg','9437792vIOpkn','pluginName','isPremiumPlugin','editor','_setUpService','isThreadsLoadingPaused'];_0x49c8=function(){return _0x56befd;};return _0x49c8();}export class RealTimeCollaborativeComments extends _0x9fc27c{static get[_0x438599(0xf7)](){const _0xf1b03=_0x438599;return[_0xf1b03(0x107),_0x6789b7,_0x202eac,_0x1216a3];}static get[_0x438599(0x100)](){const _0x1093dd=_0x438599;return _0x1093dd(0xf5);}static get[_0x438599(0x106)](){return!0x0;}static get[_0x438599(0x101)](){return!0x0;}[_0x438599(0xef)](){const _0x127070=_0x438599,_0x3836ca=this[_0x127070(0x102)][_0x127070(0xe9)][_0x127070(0xf2)](_0x1216a3),_0x590163=this[_0x127070(0x102)][_0x127070(0xe9)][_0x127070(0xf2)](_0x127070(0xee)),_0x5b24b7=this[_0x127070(0x102)][_0x127070(0xe9)][_0x127070(0xf2)](_0x6789b7);return this[_0x127070(0x102)][_0x127070(0xf1)][_0x127070(0xfb)](_0x127070(0xfa),()=>{const _0x266efd=_0x127070;this[_0x266efd(0xf9)](_0x3836ca,_0x266efd(0x108),(_0x3367e3,_0x1c4507,_0x5de577)=>{const _0x415bc3=_0x266efd;_0x590163[_0x415bc3(0x104)]=_0x415bc3(0xfc)!==_0x5de577;});}),this[_0x127070(0xf9)](_0x3836ca,_0x127070(0x108),(_0x54a804,_0x39a6ba,_0x1673b5)=>{const _0x4d7c97=_0x127070;this[_0x4d7c97(0x102)][_0x4d7c97(0xe9)][_0x4d7c97(0xf2)](_0x4d7c97(0xfd))[_0x4d7c97(0xea)](_0x4d7c97(0xfc)!==_0x1673b5);}),_0x5b24b7[_0x127070(0x103)](this[_0x127070(0x102)][_0x127070(0xed)][_0x127070(0xf2)](_0x127070(0xf3)));}[_0x438599(0x105)](){const _0x4659a8=_0x438599;this[_0x4659a8(0x102)][_0x4659a8(0xe9)][_0x4659a8(0xf2)](_0x6789b7)[_0x4659a8(0xf8)](this[_0x4659a8(0x102)][_0x4659a8(0xed)][_0x4659a8(0xf2)](_0x4659a8(0xf3))),super[_0x4659a8(0x105)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x28d6ce)());[_0x505943(0x1e4)];[_0x505943(0x27f)];[_0x505943(0x201)];[_0x505943(0x20b)];[_0x505943(0x258)];[_0x505943(0x297)];[_0x505943(0x235)];[_0x505943(0x293)];[_0x505943(0x262)];[_0x505943(0x24a)];[_0x505943(0x238)];[_0x505943(0x2a8)];[_0x505943(0x26d)];[_0x505943(0x26e)];[_0x505943(0x237)];[_0x505943(0x1ff)];[_0x505943(0x22f)];[_0x505943(0x256)];static get[_0x505943(0x2dc)](){return[_0x2642bf,_0x52f8ac,_0x20e009,_0x1a4c78,_0x21098e,_0x25ab24];}static get[_0x505943(0x2ce)](){const _0x5152a7=_0x505943;return _0x5152a7(0x2ca);}static get[_0x505943(0x27a)](){return!0x0;}static get[_0x505943(0x25f)](){return!0x0;}get[_0x505943(0x29b)](){const _0x4777e5=_0x505943;return this[_0x4777e5(0x2b0)]+this[_0x4777e5(0x1e4)];}get[_0x505943(0x2b0)](){const _0x16dbf6=_0x505943;return this[_0x16dbf6(0x201)][_0x16dbf6(0x2b9)]-this[_0x16dbf6(0x1e4)];}get[_0x505943(0x28c)](){const _0x5ad13a=_0x505943,_0x290b7f=this[_0x5ad13a(0x201)][_0x5ad13a(0x246)]();for(let _0x539b6f=_0x290b7f[_0x5ad13a(0x2b1)]-0x1;_0x539b6f>=0x0;_0x539b6f--){const _0x396405=_0x290b7f[_0x539b6f];if(!this[_0x5ad13a(0x22f)][_0x5ad13a(0x1fe)](_0x396405))return _0x396405[_0x5ad13a(0x2bd)]+0x1-this[_0x5ad13a(0x1e4)];}return 0x0;}constructor(_0x2b604d){const _0x220c76=_0x505943;if(super(_0x2b604d),this[_0x220c76(0x1e4)]=0x0,this[_0x220c76(0x27f)]=null,this[_0x220c76(0x201)]=new _0x1f7d08(),this[_0x220c76(0x26b)][_0x220c76(0x2af)][_0x220c76(0x2b2)](_0x220c76(0x210),{}),this[_0x220c76(0x20b)]=this[_0x220c76(0x26b)][_0x220c76(0x2af)][_0x220c76(0x2d9)](_0x220c76(0x2bc)),!this[_0x220c76(0x20b)])throw new _0x1c76e3(_0x220c76(0x2a5),this);const _0x52aedc=_0x2b604d[_0x220c76(0x2af)][_0x220c76(0x2d9)](_0x220c76(0x257))||_0x5a8c68;this[_0x220c76(0x258)]=new RealTimeCollaborationClient[(_0x220c76(0x200))](_0x52aedc,this[_0x220c76(0x20b)]),this[_0x220c76(0x297)]=this[_0x220c76(0x26b)][_0x220c76(0x2bf)][_0x220c76(0x2c6)],this[_0x220c76(0x235)]=new _0x3e0cbe(),this[_0x220c76(0x293)]=[],this[_0x220c76(0x262)]=new WeakSet(),this[_0x220c76(0x24a)]=new Set(),this[_0x220c76(0x1f7)](_0x220c76(0x284),!0x1),this[_0x220c76(0x1f7)](_0x220c76(0x271),!0x1),this[_0x220c76(0x238)]=null,this[_0x220c76(0x2a8)]=!0x1,this[_0x220c76(0x26d)]=null,this[_0x220c76(0x26e)]=0x12c,this[_0x220c76(0x237)]=this[_0x220c76(0x26e)],this[_0x220c76(0x1ff)]=null,this[_0x220c76(0x22f)]=new WeakSet(),this[_0x220c76(0x256)]=new U(this[_0x220c76(0x22f)]);}[_0x505943(0x275)](){const _0x58846a=_0x505943,_0xa31efc=this[_0x58846a(0x26b)],_0x5d46ce=_0xa31efc[_0x58846a(0x2cf)][_0x58846a(0x2d9)](_0x21098e),_0x292714=_0xa31efc[_0x58846a(0x2cf)][_0x58846a(0x2d9)](_0x2642bf);this[_0x58846a(0x1de)](_0x5d46ce,_0x58846a(0x289),(_0xba2bc5,_0x4a85ac)=>{const _0x5baf5b=_0x58846a,_0x1d0a28=_0x4a85ac[0x0];_0x1d0a28[_0x5baf5b(0x29a)]&&(_0xba2bc5[_0x5baf5b(0x1ea)]=_0x5d46ce[_0x5baf5b(0x299)](_0x1d0a28[_0x5baf5b(0x29a)]),_0xba2bc5[_0x5baf5b(0x259)]()),null===_0x1d0a28[_0x5baf5b(0x29a)]&&(_0xba2bc5[_0x5baf5b(0x1ea)]=null,_0xba2bc5[_0x5baf5b(0x259)]());},{'priority':_0x58846a(0x2a0)}),this[_0x58846a(0x1de)](_0xa31efc[_0x58846a(0x2bf)][_0x58846a(0x2c6)][_0x58846a(0x2a7)],_0x58846a(0x28d),(_0x228414,_0x3663dd)=>{const _0x4001ea=_0x58846a;_0x3663dd[_0x4001ea(0x1f8)]&&this[_0x4001ea(0x1dc)]();}),this[_0x58846a(0x1de)](_0xa31efc[_0x58846a(0x245)][_0x58846a(0x21e)],_0x58846a(0x25a),()=>{const _0x3afc93=_0x58846a;this[_0x3afc93(0x1dc)]();}),this[_0x58846a(0x1f6)](),_0xa31efc[_0x58846a(0x2bf)]['on'](_0x58846a(0x255),(_0x1979d9,_0x359648)=>{const _0xf925f4=_0x58846a,_0x3c6b73=_0x359648[0x0];_0x3c6b73[_0xf925f4(0x1f2)]&&(this[_0xf925f4(0x263)](_0x3c6b73),this[_0xf925f4(0x2c9)]()&&this[_0xf925f4(0x2b8)]());}),this[_0x58846a(0x253)](),this[_0x58846a(0x2c0)](_0x58846a(0x2a2))['to'](_0x292714,_0x58846a(0x2cc),this,_0x58846a(0x271),(_0x61df9d,_0x3883bd)=>_0x58846a(0x2d8)===_0x61df9d&&!_0x3883bd),this['on'](_0x58846a(0x1ee),()=>{const _0x24d965=_0x58846a;this[_0x24d965(0x2a2)]?_0xa31efc[_0x24d965(0x243)](_0x24d965(0x231)):_0xa31efc[_0x24d965(0x227)](_0x24d965(0x231));}),this[_0x58846a(0x2a2)]?_0xa31efc[_0x58846a(0x243)](_0x58846a(0x231)):_0xa31efc[_0x58846a(0x227)](_0x58846a(0x231)),this[_0x58846a(0x1f7)](_0x58846a(0x222),!0x1);}async[_0x505943(0x25b)](){const _0x23e99a=_0x505943,_0x3142b6=this[_0x23e99a(0x26b)][_0x23e99a(0x2cf)][_0x23e99a(0x2d9)](_0x52f8ac),_0x93ede9=this[_0x23e99a(0x26b)][_0x23e99a(0x2cf)][_0x23e99a(0x2d9)](_0x2642bf);try{this[_0x23e99a(0x284)]=!0x0,_0x3142b6[_0x23e99a(0x2d7)](this[_0x23e99a(0x20b)]);const _0xf10563=await this[_0x23e99a(0x258)][_0x23e99a(0x25b)](_0x93ede9[_0x23e99a(0x220)],this[_0x23e99a(0x28c)]);await this[_0x23e99a(0x269)](_0xf10563)&&(this[_0x23e99a(0x284)]=!0x1,this[_0x23e99a(0x1e5)]());const _0x43058d=await this[_0x23e99a(0x258)][_0x23e99a(0x21d)]();_0x3142b6[_0x23e99a(0x2c1)](this[_0x23e99a(0x20b)],_0x43058d),this[_0x23e99a(0x1e3)](),this[_0x23e99a(0x222)]=!0x0;}catch(_0x4b09a2){if(function(_0x299417){const _0x556377=_0x23e99a;return _0x556377(0x24d)===_0x299417[_0x556377(0x285)];}(_0x4b09a2)&&this[_0x23e99a(0x27f)])await this[_0x23e99a(0x202)]();else{if(function(_0x5327b5){const _0xf4ba96=_0x23e99a;return _0xf4ba96(0x292)===_0x5327b5[_0xf4ba96(0x285)];}(_0x4b09a2)){const _0x3b260f=_0x461b5b(this[_0x23e99a(0x26b)][_0x23e99a(0x1db)],_0x23e99a(0x272));this[_0x23e99a(0x1f4)](_0x3b260f);}else{if(!(_0x4b09a2 instanceof D))throw _0x4b09a2;this[_0x23e99a(0x1f4)]();}}}}[_0x505943(0x1e1)](){const _0x4550bc=_0x505943,_0x9afe96=this[_0x4550bc(0x26b)][_0x4550bc(0x2cf)][_0x4550bc(0x2d9)](_0x2642bf),_0x23aee9=this[_0x4550bc(0x26b)][_0x4550bc(0x2cf)][_0x4550bc(0x2d9)](_0x52f8ac);this[_0x4550bc(0x26b)][_0x4550bc(0x227)](_0x4550bc(0x23f)),_0x23aee9[_0x4550bc(0x288)][_0x4550bc(0x1fe)](this[_0x4550bc(0x20b)])&&_0x23aee9[_0x4550bc(0x2d7)](this[_0x4550bc(0x20b)]),_0x9afe96[_0x4550bc(0x2d2)](this),this[_0x4550bc(0x1fc)](),super[_0x4550bc(0x1e1)]();}async[_0x505943(0x269)](_0x3a47d8){const _0x5d6809=_0x505943;if(this[_0x5d6809(0x27f)]!==_0x3a47d8[_0x5d6809(0x27f)]&&this[_0x5d6809(0x1ff)]!==_0x3a47d8[_0x5d6809(0x1ec)])throw new D();return this[_0x5d6809(0x27f)]=_0x3a47d8[_0x5d6809(0x27f)],this[_0x5d6809(0x283)]([],{..._0x3a47d8,'wereChangesApplied':!0x1,'data':_0x3a47d8[_0x5d6809(0x2a3)]},_0x5d6809(0x25b));}async[_0x505943(0x23e)](_0x33b1b5,_0x54b02d=!0x1){const _0x3a9682=_0x505943,{connection:_0x576868}=this[_0x3a9682(0x26b)][_0x3a9682(0x2cf)][_0x3a9682(0x2d9)](_0x2642bf);RealTimeCollaborationClient[_0x3a9682(0x200)][_0x3a9682(0x21d)](_0x576868,this[_0x3a9682(0x20b)])[_0x3a9682(0x2dd)](_0x311add=>this[_0x3a9682(0x2ba)](_0x311add))[_0x3a9682(0x291)](_0x12b763=>{const _0x47e82a=_0x3a9682;this[_0x47e82a(0x1f0)](_0x47e82a(0x233),_0x12b763);}),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x1e6),this[_0x3a9682(0x236)][_0x3a9682(0x2c0)](this)),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x29d),(_0x181dd1,_0x4f1273)=>{const _0x215aa3=_0x3a9682;this[_0x215aa3(0x1f0)](_0x215aa3(0x264),_0x4f1273);}),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x216),()=>{const _0x18641d=_0x3a9682;this[_0x18641d(0x222)]=!0x1;});const _0x591c7d=this[_0x3a9682(0x256)][_0x3a9682(0x24f)](_0x33b1b5);this[_0x3a9682(0x284)]=!0x0;const _0x171138=await this[_0x3a9682(0x258)][_0x3a9682(0x273)](_0x576868,this[_0x3a9682(0x225)](_0x33b1b5),_0x591c7d);if(this[_0x3a9682(0x27f)]=_0x171138[_0x3a9682(0x27f)],_0x54b02d){if(!_0x171138[_0x3a9682(0x242)])return void this[_0x3a9682(0x1f4)]();this[_0x3a9682(0x284)]=!0x1,this[_0x3a9682(0x1e5)](),this[_0x3a9682(0x201)][_0x3a9682(0x2b4)](),this[_0x3a9682(0x1e4)]=_0x171138[_0x3a9682(0x1ed)],this[_0x3a9682(0x201)][_0x3a9682(0x2b9)]=this[_0x3a9682(0x1e4)],await this[_0x3a9682(0x283)](_0x33b1b5,_0x171138,_0x3a9682(0x230));}else await this[_0x3a9682(0x29c)](_0x171138,_0x33b1b5);this[_0x3a9682(0x1e3)](),this[_0x3a9682(0x222)]=!0x0;}[_0x505943(0x1e3)](){const _0x5ce75d=_0x505943,_0xa09822=this[_0x5ce75d(0x26b)][_0x5ce75d(0x2cf)][_0x5ce75d(0x2d9)](_0x52f8ac),_0x276faa=this[_0x5ce75d(0x26b)][_0x5ce75d(0x2cf)][_0x5ce75d(0x2d9)](_0x20e009),_0x13d1cf=_0xa09822[_0x5ce75d(0x288)][_0x5ce75d(0x2d9)](this[_0x5ce75d(0x20b)]);_0x13d1cf&&_0x13d1cf[_0x5ce75d(0x2b1)]>0x1?_0x276faa[_0x5ce75d(0x212)]():this[_0x5ce75d(0x1de)](_0xa09822,_0x5ce75d(0x21b)+this[_0x5ce75d(0x20b)],()=>{const _0x38f848=_0x5ce75d;0x2===_0xa09822[_0x38f848(0x288)][_0x38f848(0x2d9)](this[_0x38f848(0x20b)])[_0x38f848(0x2b1)]&&_0x276faa[_0x38f848(0x212)]();});}async[_0x505943(0x236)](_0x32f4ba,_0x461927,_0x397403,_0x51c871){const _0x33fd92=_0x505943;if(!this[_0x33fd92(0x284)]&&this[_0x33fd92(0x297)][_0x33fd92(0x2b9)]==_0x461927){const _0x1ed78a=this[_0x33fd92(0x232)](_0x397403,_0x51c871);await this[_0x33fd92(0x2c7)](_0x1ed78a),this[_0x33fd92(0x286)](_0x1ed78a,_0x461927,_0x397403[_0x33fd92(0x1ec)])||this[_0x33fd92(0x1f0)](_0x33fd92(0x239));}}async[_0x505943(0x202)](){const _0x1a8d55=_0x505943;this[_0x1a8d55(0x1fc)]();const {locale:_0x43bbd1}=this[_0x1a8d55(0x26b)];let _0x5578af;try{_0x5578af=await this[_0x1a8d55(0x258)][_0x1a8d55(0x206)]();}catch{const _0x4437bb=_0x461b5b(_0x43bbd1,_0x1a8d55(0x295));return void this[_0x1a8d55(0x1f4)](_0x4437bb);}const _0xf9d932=_0x5578af[_0x1a8d55(0x2d0)]||_0x5578af[_0x1a8d55(0x294)];if(this[_0x1a8d55(0x1ff)]!==_0xf9d932[_0x1a8d55(0x1ec)]){const _0x1c585a=_0x461b5b(_0x43bbd1,_0x1a8d55(0x2a9));return void this[_0x1a8d55(0x1f4)](_0x1c585a);}await this[_0x1a8d55(0x23e)](this[_0x1a8d55(0x26b)][_0x1a8d55(0x2bf)][_0x1a8d55(0x2c6)][_0x1a8d55(0x260)][_0x1a8d55(0x246)](),!0x0);}[_0x505943(0x1fc)](){const _0x1e3a1c=_0x505943;this[_0x1e3a1c(0x258)][_0x1e3a1c(0x203)](),this[_0x1e3a1c(0x293)]=[],clearTimeout(this[_0x1e3a1c(0x26d)]),this[_0x1e3a1c(0x24b)](this[_0x1e3a1c(0x258)]);}[_0x505943(0x2ba)](_0x1cceb4){const _0x15acc6=_0x505943,_0x3d4198=this[_0x15acc6(0x26b)][_0x15acc6(0x2cf)][_0x15acc6(0x2d9)](_0x52f8ac);this[_0x15acc6(0x1de)](_0x3d4198,_0x15acc6(0x21b)+this[_0x15acc6(0x20b)],(_0x400093,{session:_0x59f6ac})=>{const _0x152676=_0x15acc6;if(_0x59f6ac['id']===_0x3d4198[_0x152676(0x244)]){_0x400093[_0x152676(0x207)]();const _0x111ba3=this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x1fe)](_0x152676(0x261))&&this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x2d9)](_0x152676(0x261));let _0x352c7f=_0x59f6ac[_0x152676(0x1ef)];_0x111ba3&&_0x111ba3[_0x152676(0x2ae)]&&(_0x352c7f=_0x352c7f[_0x152676(0x28f)](_0x28f471=>_0x152676(0x234)!==_0x28f471)),this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x2d9)](_0x152676(0x23d))[_0x152676(0x290)](_0x352c7f,this[_0x152676(0x20b)]);}}),_0x3d4198[_0x15acc6(0x2c1)](this[_0x15acc6(0x20b)],_0x1cceb4);}[_0x505943(0x1f6)](){const _0x50c1b1=_0x505943,_0x1000c5=this[_0x50c1b1(0x26b)][_0x50c1b1(0x2a3)][_0x50c1b1(0x1f7)];this[_0x50c1b1(0x26b)][_0x50c1b1(0x2a3)][_0x50c1b1(0x1f7)]=(..._0x4c68d6)=>{const _0x2bc855=_0x50c1b1;if(!_0x4c68d6[_0x4c68d6[_0x2bc855(0x2b1)]-0x1][_0x2bc855(0x20e)])throw new _0x1c76e3(_0x2bc855(0x27d),this);_0x1000c5[_0x2bc855(0x2d1)](this[_0x2bc855(0x26b)][_0x2bc855(0x2a3)],_0x4c68d6);};}[_0x505943(0x253)](){const _0x5ae876=_0x505943;this[_0x5ae876(0x26b)][_0x5ae876(0x2a3)]['on'](_0x5ae876(0x275),(_0x499775,[_0x26d0ad])=>{const _0x4dcba0=_0x5ae876;if(this[_0x4dcba0(0x297)][_0x4dcba0(0x2b9)])throw new _0x1c76e3(_0x4dcba0(0x1d8),this);_0x499775[_0x4dcba0(0x259)](),this[_0x4dcba0(0x1df)]();const _0x4edf79=this[_0x4dcba0(0x26b)][_0x4dcba0(0x2af)][_0x4dcba0(0x2d9)](_0x4dcba0(0x25c)),_0x1e61bd=this[_0x4dcba0(0x1eb)](_0x26d0ad,_0x4edf79);0x0==_0x1e61bd[_0x4dcba0(0x2b1)]&&_0x1e61bd[_0x4dcba0(0x279)](new _0x507943(0x0)),_0x499775[_0x4dcba0(0x1ea)]=this[_0x4dcba0(0x23e)](_0x1e61bd)[_0x4dcba0(0x2dd)](()=>{const _0x53fb38=_0x4dcba0;this[_0x53fb38(0x26b)][_0x53fb38(0x2cf)][_0x53fb38(0x2d9)](_0x2642bf)[_0x53fb38(0x1e7)](this),this[_0x53fb38(0x26b)][_0x53fb38(0x2a3)][_0x53fb38(0x208)](_0x53fb38(0x268));})[_0x4dcba0(0x291)](_0x584655=>this[_0x4dcba0(0x1f0)](_0x4dcba0(0x1da),_0x584655))[_0x4dcba0(0x223)](()=>this[_0x4dcba0(0x1e5)]());},{'priority':_0x5ae876(0x2a0)}),this[_0x5ae876(0x26b)]['on'](_0x5ae876(0x2b7),async(_0x20cfed,[_0x53fd7b,_0xa1f3ff])=>{const _0x12a11b=_0x5ae876;_0x20cfed[_0x12a11b(0x259)]();const _0x51245a=this[_0x12a11b(0x26b)][_0x12a11b(0x2bf)][_0x12a11b(0x2c6)][_0x12a11b(0x24c)](_0x53fd7b);if(!this[_0x12a11b(0x24a)][_0x12a11b(0x1fe)](_0x53fd7b)){const _0x3b306e=_0xa1f3ff&&_0xa1f3ff[_0x12a11b(0x2a3)]?_0xa1f3ff[_0x12a11b(0x2a3)]:'',_0x3aad0d=_0xa1f3ff&&_0xa1f3ff[_0x12a11b(0x1e8)]?_0xa1f3ff[_0x12a11b(0x1e8)]:{};await this[_0x12a11b(0x247)](_0x53fd7b,_0x3b306e,_0x3aad0d);}this[_0x12a11b(0x26b)][_0x12a11b(0x2bf)][_0x12a11b(0x2c5)]({'isUndoable':!0x1},()=>{const _0x5a6dbd=_0x12a11b;_0x51245a[_0x5a6dbd(0x26a)]=!0x0,this[_0x5a6dbd(0x26b)][_0x5a6dbd(0x2bf)][_0x5a6dbd(0x2c6)][_0x5a6dbd(0x254)][_0x5a6dbd(0x2b3)](_0x51245a);});},{'priority':_0x5ae876(0x2a0)});}async[_0x505943(0x2c7)](_0x4fa5c8){const _0x4c3912=_0x505943,_0x5d2e6f=this[_0x4c3912(0x26b)][_0x4c3912(0x2cf)][_0x4c3912(0x2d9)](_0x21098e),{connection:_0x4499a5}=this[_0x4c3912(0x26b)][_0x4c3912(0x2cf)][_0x4c3912(0x2d9)](_0x2642bf),_0x53dfa6=new Set();for(const _0x4e68e6 of _0x4fa5c8){const _0x1569a9=_0x4e68e6[_0x4c3912(0x29a)];_0x1569a9&&!_0x5d2e6f[_0x4c3912(0x299)](_0x1569a9)&&_0x53dfa6[_0x4c3912(0x2ac)](_0x1569a9);}if(0x0===_0x53dfa6[_0x4c3912(0x20f)])return;const _0x3227a6=await _0x5f0e5c[_0x4c3912(0x29e)](_0x4499a5,Array[_0x4c3912(0x1fa)](_0x53dfa6));for(const _0x585a0b of _0x3227a6)_0x5d2e6f[_0x4c3912(0x299)](_0x585a0b['id'])||_0x5d2e6f[_0x4c3912(0x226)](_0x585a0b);}[_0x505943(0x1eb)](_0x8d0ae1,_0x5a1e46={}){const _0x57f113=_0x505943,_0x239783=this[_0x57f113(0x26b)][_0x57f113(0x2bf)],_0x5e6e5d=[];let _0x31eb27=0x0;const _0x5bdc58=_0x57f113(0x219)==typeof _0x8d0ae1?{'main':_0x8d0ae1}:_0x8d0ae1;for(const _0x2c1f04 of Object[_0x57f113(0x276)](_0x5bdc58)){if(!this[_0x57f113(0x297)][_0x57f113(0x25e)][_0x57f113(0x1fe)](_0x2c1f04))throw new _0x1c76e3(_0x57f113(0x27b),this);const _0x104cbb=this[_0x57f113(0x26b)][_0x57f113(0x2a3)][_0x57f113(0x229)](_0x5bdc58[_0x2c1f04]),_0x3aec39=this[_0x57f113(0x297)][_0x57f113(0x24c)](_0x2c1f04),_0x3bc031=new _0x1ee6a8(_0x239783[_0x57f113(0x21c)](_0x3aec39,0x0),_0x104cbb,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x3bc031);for(const [_0x1c39bd,_0x51384a]of _0x104cbb[_0x57f113(0x2c8)]){const _0xf57a52=_0x239783[_0x57f113(0x2c2)](_0x239783[_0x57f113(0x22e)](_0x3aec39,_0x51384a[_0x57f113(0x281)][_0x57f113(0x2db)][_0x57f113(0x25d)]()),_0x239783[_0x57f113(0x22e)](_0x3aec39,_0x51384a[_0x57f113(0x2d3)][_0x57f113(0x2db)][_0x57f113(0x25d)]())),_0x371198=new _0x2a5813(_0x1c39bd,null,_0xf57a52,_0x239783[_0x57f113(0x2c8)],!0x0,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x371198);}}if(_0x5a1e46)for(const [_0x50c886,_0x5931c3]of Object[_0x57f113(0x2be)](_0x5a1e46)){const _0x2ae036=_0x239783[_0x57f113(0x2c6)][_0x57f113(0x24c)](_0x50c886);if(!_0x2ae036)throw new _0x1c76e3(_0x57f113(0x21a),null);for(const [_0x5d2d72,_0x142146]of Object[_0x57f113(0x2be)](_0x5931c3))if(null!==_0x142146){const _0x192af5=new _0xe66668(_0x2ae036,_0x5d2d72,null,_0x142146,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x192af5);}}return _0x5e6e5d;}async[_0x505943(0x247)](_0x3e202b,_0x1d9617,_0x3340e4){const _0x39b48a=_0x505943;this[_0x39b48a(0x1eb)]({[_0x3e202b]:_0x1d9617},{[_0x3e202b]:_0x3340e4})[_0x39b48a(0x241)]((_0x164bc2,_0x4c705c)=>{const _0x516fd3=_0x39b48a;_0x164bc2[_0x516fd3(0x2bd)]=this[_0x516fd3(0x297)][_0x516fd3(0x2b9)]+_0x4c705c,_0x164bc2[_0x516fd3(0x24e)]=!0x0,this[_0x516fd3(0x263)](_0x164bc2);}),this[_0x39b48a(0x2b8)](),await this[_0x39b48a(0x1fd)]();}async[_0x505943(0x29c)](_0x5622ec,_0x40e374){const _0x4a6f40=_0x505943;let _0x29deb9;this[_0x4a6f40(0x1e4)]=_0x5622ec[_0x4a6f40(0x1ed)];const _0x4d2294=_0x5622ec[_0x4a6f40(0x242)]&&!_0x5622ec[_0x4a6f40(0x22d)],_0x2fa021=_0x4d2294?0x0:_0x5622ec[_0x4a6f40(0x2a3)][_0x4a6f40(0x2bd)];if(_0x40e374[_0x4a6f40(0x241)](_0x347fbf=>{const _0x2d8f00=_0x4a6f40;_0x347fbf[_0x2d8f00(0x24e)]=!0x0,_0x347fbf[_0x2d8f00(0x22c)]=_0x5622ec[_0x2d8f00(0x270)],_0x347fbf[_0x2d8f00(0x29a)]=null;}),_0x4d2294)_0x29deb9=_0x40e374,this[_0x4a6f40(0x205)](_0x29deb9,_0x4d2294);else{if(_0x5622ec[_0x4a6f40(0x22d)]){const _0x94b2ad=this[_0x4a6f40(0x1eb)](_0x5622ec[_0x4a6f40(0x22d)]);this[_0x4a6f40(0x297)][_0x4a6f40(0x260)][_0x4a6f40(0x2b9)]=-_0x94b2ad[_0x4a6f40(0x2b1)],_0x94b2ad[_0x4a6f40(0x241)](_0x3f4617=>{const _0x39de77=_0x4a6f40;_0x3f4617[_0x39de77(0x2bd)]-=_0x94b2ad[_0x39de77(0x2b1)],_0x3f4617[_0x39de77(0x22c)]=_0x5622ec[_0x39de77(0x270)],_0x3f4617[_0x39de77(0x24e)]=!0x0,_0x3f4617[_0x39de77(0x29a)]=null;}),this[_0x4a6f40(0x205)](_0x94b2ad,!0x0),this[_0x4a6f40(0x201)][_0x4a6f40(0x2b9)]=-_0x94b2ad[_0x4a6f40(0x2b1)]+this[_0x4a6f40(0x1e4)],this[_0x4a6f40(0x267)](_0x94b2ad);}this[_0x4a6f40(0x297)][_0x4a6f40(0x260)][_0x4a6f40(0x2b9)]=_0x2fa021,_0x29deb9=this[_0x4a6f40(0x232)](_0x5622ec[_0x4a6f40(0x2a3)],_0x5622ec[_0x4a6f40(0x26f)]),await this[_0x4a6f40(0x2c7)](_0x29deb9),this[_0x4a6f40(0x205)](_0x29deb9,_0x4d2294);}_0x5622ec[_0x4a6f40(0x1ec)]&&(this[_0x4a6f40(0x256)][_0x4a6f40(0x248)](_0x29deb9,_0x5622ec[_0x4a6f40(0x1ec)]),this[_0x4a6f40(0x1ff)]=_0x5622ec[_0x4a6f40(0x1ec)]),this[_0x4a6f40(0x201)][_0x4a6f40(0x2b9)]=_0x2fa021+this[_0x4a6f40(0x1e4)],this[_0x4a6f40(0x267)](_0x29deb9),_0x40e374[_0x4a6f40(0x28f)](_0x26d6f5=>{const _0x494c95=_0x4a6f40,_0x3b8e84=this[_0x494c95(0x23b)](_0x26d6f5);return _0x3b8e84&&!this[_0x494c95(0x24a)][_0x494c95(0x1fe)](_0x3b8e84);})[_0x4a6f40(0x241)]((_0xa15c3f,_0x2e22fa)=>{const _0x421b6c=_0x4a6f40;_0xa15c3f[_0x421b6c(0x2bd)]=this[_0x421b6c(0x297)][_0x421b6c(0x2b9)]+_0x2e22fa,this[_0x421b6c(0x263)](_0xa15c3f);}),this[_0x4a6f40(0x2c9)]()?(this[_0x4a6f40(0x237)]=0x0,this[_0x4a6f40(0x2b8)](!0x0),await this[_0x4a6f40(0x1fd)]()):(this[_0x4a6f40(0x284)]=!0x1,this[_0x4a6f40(0x1e5)]());}[_0x505943(0x1f0)](_0x3128c6,_0x4bef51){const _0x18ea16=_0x505943,_0x14219b=_0x4bef51&&_0x4bef51[_0x18ea16(0x1e2)];if(_0x14219b&&_0x14219b[_0x18ea16(0x221)](_0x18ea16(0x1f3)))throw _0x4bef51;const _0xc1b960=this[_0x18ea16(0x26b)][_0x18ea16(0x2cf)][_0x18ea16(0x2d9)](_0x2642bf);throw this[_0x18ea16(0x284)]=!0x0,_0xc1b960[_0x18ea16(0x203)](),this[_0x18ea16(0x26b)][_0x18ea16(0x227)](_0x18ea16(0x28b)),new _0x1c76e3(_0x3128c6,this[_0x18ea16(0x26b)],_0x14219b?{'originalError':_0x14219b}:void 0x0);}[_0x505943(0x263)](_0x56aef2){const _0x40b398=_0x505943;this[_0x40b398(0x262)][_0x40b398(0x1fe)](_0x56aef2)||(this[_0x40b398(0x262)][_0x40b398(0x2ac)](_0x56aef2),this[_0x40b398(0x293)][_0x40b398(0x279)](_0x56aef2),this[_0x40b398(0x238)]||_0x40b398(0x27c)==_0x56aef2[_0x40b398(0x20d)]&&!_0x56aef2[_0x40b398(0x251)]||this[_0x40b398(0x1df)]());}[_0x505943(0x2b8)](_0x53088a=!0x1){const _0x50ed45=_0x505943;!_0x53088a&&this[_0x50ed45(0x284)]||(this[_0x50ed45(0x284)]=!0x0,clearTimeout(this[_0x50ed45(0x26d)]),this[_0x50ed45(0x26d)]=setTimeout(()=>{const _0x243e97=_0x50ed45;this[_0x243e97(0x29f)]()[_0x243e97(0x2dd)](_0x160a41=>{const _0x59d0bb=_0x243e97;_0x160a41&&(this[_0x59d0bb(0x1e5)](),this[_0x59d0bb(0x284)]=!0x1);})[_0x243e97(0x291)](_0x275cf6=>{const _0x3bed36=_0x243e97;this[_0x3bed36(0x1e5)](),this[_0x3bed36(0x284)]=!0x1,function(_0x363094){const _0x290d84=_0x3bed36;return _0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x2da))||_0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x22b))||_0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x2bb));}(_0x275cf6)||this[_0x3bed36(0x1f0)](_0x275cf6[_0x3bed36(0x1e2)],_0x275cf6);});},this[_0x50ed45(0x237)]));}[_0x505943(0x1fd)](){return new Promise(_0x578962=>{const _0x23ef70=_0x2673;this['on'](_0x23ef70(0x240),()=>{_0x578962();});});}async[_0x505943(0x29f)](){const _0x2e1022=_0x505943,_0x150182=this[_0x2e1022(0x26b)][_0x2e1022(0x2cf)][_0x2e1022(0x2d9)](_0x20e009);if(this[_0x2e1022(0x2a6)]()&&(_0x150182[_0x2e1022(0x212)](),this[_0x2e1022(0x2a8)]=!0x1),!this[_0x2e1022(0x2c9)]())return!0x0;const _0x4146f4=[...this[_0x2e1022(0x293)]];for(const _0x40bf0e of _0x4146f4)_0x40bf0e[_0x2e1022(0x265)]=this[_0x2e1022(0x297)][_0x2e1022(0x260)][_0x2e1022(0x2b5)](_0x40bf0e);const _0x26dee0=this[_0x2e1022(0x256)][_0x2e1022(0x24f)](_0x4146f4),_0x59db1c=j++,_0x32e6bb=this[_0x2e1022(0x225)](_0x4146f4),_0x2f6d52=await this[_0x2e1022(0x258)][_0x2e1022(0x287)](_0x32e6bb,_0x32e6bb[_0x2e1022(0x2bd)],_0x26dee0);try{return await this[_0x2e1022(0x283)](_0x4146f4,_0x2f6d52,_0x59db1c);}catch(_0x3dfc02){return this[_0x2e1022(0x1f0)](_0x2e1022(0x2d6),_0x3dfc02);}}async[_0x505943(0x283)](_0x2acc1b,_0x3535d2,_0x1352ef){const _0x233ece=_0x505943;if(_0x233ece(0x29d)in _0x3535d2)throw _0x3535d2[_0x233ece(0x29d)];let _0x2aa098=!0x1;if(_0x3535d2[_0x233ece(0x242)]){_0x3535d2[_0x233ece(0x1ec)]&&(this[_0x233ece(0x1ff)]=_0x3535d2[_0x233ece(0x1ec)]),this[_0x233ece(0x293)]=this[_0x233ece(0x293)][_0x233ece(0x28f)](_0x41e7b3=>!_0x2acc1b[_0x233ece(0x2c3)](_0x41e7b3));for(const _0x2f2431 of _0x2acc1b)_0x2f2431[_0x233ece(0x22c)]=_0x233ece(0x1f9)in _0x3535d2&&_0x3535d2[_0x233ece(0x1f9)]||void 0x0;P(_0x2acc1b,_0x3535d2[_0x233ece(0x2b9)]-_0x2acc1b[_0x233ece(0x2b1)]),this[_0x233ece(0x267)](_0x2acc1b);const _0x1586ff=_0x2acc1b[_0x233ece(0x28f)](_0x14d22d=>{const _0x1fe5cf=_0x233ece;if(!_0x14d22d[_0x1fe5cf(0x24e)])return!0x1;const _0xbc58f7=this[_0x1fe5cf(0x23b)](_0x14d22d);return _0xbc58f7&&!this[_0x1fe5cf(0x24a)][_0x1fe5cf(0x1fe)](_0xbc58f7);});P(_0x1586ff,this[_0x233ece(0x297)][_0x233ece(0x2b9)]),this[_0x233ece(0x205)](_0x1586ff),_0x2aa098=!0x0,this[_0x233ece(0x237)]=this[_0x233ece(0x26e)];}else{const _0x5986e2=this[_0x233ece(0x232)](_0x3535d2[_0x233ece(0x2a3)],_0x3535d2[_0x233ece(0x26f)])[_0x233ece(0x28f)](_0x28da2e=>_0x28da2e[_0x233ece(0x2bd)]>=this[_0x233ece(0x2b0)]);_0x5986e2[_0x233ece(0x241)](_0x1750e0=>this[_0x233ece(0x249)](_0x1750e0)),this[_0x233ece(0x293)]=this[_0x233ece(0x293)][_0x233ece(0x28f)](_0xffca6a=>!_0xffca6a[_0x233ece(0x24e)]||!this[_0x233ece(0x24a)][_0x233ece(0x1fe)](this[_0x233ece(0x23b)](_0xffca6a))),this[_0x233ece(0x293)][_0x233ece(0x2b1)]&&P(this[_0x233ece(0x293)],this[_0x233ece(0x293)][0x0][_0x233ece(0x2bd)]),await this[_0x233ece(0x2c7)](_0x5986e2),_0x2aa098=this[_0x233ece(0x286)](_0x5986e2,_0x3535d2[_0x233ece(0x2b9)],_0x3535d2[_0x233ece(0x1ec)]),this[_0x233ece(0x237)]=Math[_0x233ece(0x266)](this[_0x233ece(0x237)]/0x2);}return _0x2aa098?!this[_0x233ece(0x2c9)]()||(this[_0x233ece(0x2b8)](!0x0),!0x1):this[_0x233ece(0x1f0)](_0x233ece(0x1e9));}[_0x505943(0x286)](_0x5cbda5,_0x5344fd,_0x2ecea0){const _0xbc5b3b=_0x505943;try{const _0x53ad41={'document':this[_0xbc5b3b(0x297)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x94413f,operationsB:_0x175c93,originalOperations:_0xd5214b}=_0x39265c(_0x5cbda5,this[_0xbc5b3b(0x293)],_0x53ad41);P(_0x94413f,this[_0xbc5b3b(0x297)][_0xbc5b3b(0x2b9)]),P(_0x175c93,_0x5344fd);for(const _0x15f4d2 of _0x94413f){const _0x21137d=_0xd5214b[_0xbc5b3b(0x2d9)](_0x15f4d2);_0x15f4d2[_0xbc5b3b(0x29a)]=_0x21137d?_0x21137d[_0xbc5b3b(0x29a)]:null;}_0x2ecea0&&(this[_0xbc5b3b(0x256)][_0xbc5b3b(0x248)](_0x5cbda5,_0x2ecea0),this[_0xbc5b3b(0x1ff)]=_0x2ecea0),this[_0xbc5b3b(0x293)]=[..._0x175c93],this[_0xbc5b3b(0x205)](_0x94413f),this[_0xbc5b3b(0x267)](_0x5cbda5);}catch(_0x4bbc7f){return console[_0xbc5b3b(0x29d)](_0x4bbc7f),!0x1;}return!0x0;}[_0x505943(0x205)](_0x1e9521,_0x5215d0=!0x1){const _0x2d791c=_0x505943;this[_0x2d791c(0x26b)][_0x2d791c(0x2bf)][_0x2d791c(0x2c5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x420dbc=>{const _0x5bc609=_0x2d791c;for(const _0x53d1a4 of _0x1e9521)this[_0x5bc609(0x262)][_0x5bc609(0x2ac)](_0x53d1a4),this[_0x5bc609(0x249)](_0x53d1a4),_0x420dbc[_0x5bc609(0x274)][_0x5bc609(0x2ad)](_0x53d1a4),this[_0x5bc609(0x26b)][_0x5bc609(0x2bf)][_0x5bc609(0x255)](_0x53d1a4);});}[_0x505943(0x249)](_0x289f84){const _0x2b9ffb=_0x505943,_0x1a31a1=this[_0x2b9ffb(0x23b)](_0x289f84);_0x1a31a1&&this[_0x2b9ffb(0x24a)][_0x2b9ffb(0x2ac)](_0x1a31a1);}[_0x505943(0x23b)](_0x24b653){const _0x1af272=_0x505943;let _0x33a764,_0x3c204e;switch(_0x24b653[_0x1af272(0x20d)]){case _0x1af272(0x2a4):_0x33a764=_0x24b653[_0x1af272(0x28a)][_0x1af272(0x277)];break;case _0x1af272(0x27c):if(_0x3c204e=_0x24b653[_0x1af272(0x214)],!_0x3c204e)return null;_0x33a764=_0x3c204e[_0x1af272(0x277)];break;case _0x1af272(0x213):_0x33a764=_0x24b653[_0x1af272(0x277)];break;case _0x1af272(0x228):_0x33a764=_0x24b653[_0x1af272(0x1fb)];break;case _0x1af272(0x298):_0x33a764=_0x24b653[_0x1af272(0x1d7)][_0x1af272(0x277)];break;default:return null;}return _0x33a764[_0x1af272(0x1e0)];}[_0x505943(0x267)](_0x2a757a){const _0x3e469a=_0x505943;_0x2a757a[_0x3e469a(0x241)](_0x23d78d=>{const _0x121761=_0x3e469a,_0x33e1e3=_0x23d78d[_0x121761(0x215)]();_0x33e1e3[_0x121761(0x29a)]=_0x23d78d[_0x121761(0x29a)],_0x33e1e3[_0x121761(0x24e)]=!!_0x23d78d[_0x121761(0x24e)],_0x33e1e3[_0x121761(0x22c)]=_0x23d78d[_0x121761(0x22c)],_0x33e1e3[_0x121761(0x2bd)]+=this[_0x121761(0x1e4)],_0x23d78d[_0x121761(0x28e)]&&this[_0x121761(0x22f)][_0x121761(0x2ac)](_0x33e1e3),this[_0x121761(0x201)][_0x121761(0x2ad)](_0x33e1e3);});}[_0x505943(0x1f4)](_0x427d2e){const _0x40dfda=_0x505943,_0x255053=this[_0x40dfda(0x26b)][_0x40dfda(0x2cf)][_0x40dfda(0x2d9)](_0x40dfda(0x2cb)),_0x408ab7=this[_0x40dfda(0x26b)][_0x40dfda(0x1db)];_0x427d2e||(_0x427d2e=_0x461b5b(_0x408ab7,_0x40dfda(0x23c))),_0x255053[_0x40dfda(0x2ab)](_0x427d2e,{'title':_0x461b5b(_0x408ab7,_0x40dfda(0x218)),'namespace':_0x40dfda(0x21f)}),this[_0x40dfda(0x271)]=!0x0,clearTimeout(this[_0x40dfda(0x26d)]),this[_0x40dfda(0x293)]=[],this[_0x40dfda(0x26b)][_0x40dfda(0x2cf)][_0x40dfda(0x2d9)](_0x2642bf)[_0x40dfda(0x203)]();}[_0x505943(0x1df)](){const _0x58e3fc=_0x505943;this[_0x58e3fc(0x238)]||(this[_0x58e3fc(0x238)]=this[_0x58e3fc(0x26b)][_0x58e3fc(0x2cf)][_0x58e3fc(0x2d9)](_0x1a4c78)[_0x58e3fc(0x2ac)](_0x461b5b(this[_0x58e3fc(0x26b)][_0x58e3fc(0x1db)],_0x58e3fc(0x211))));}[_0x505943(0x1e5)](){const _0x4f9f3d=_0x505943;this[_0x4f9f3d(0x238)]&&(this[_0x4f9f3d(0x26b)][_0x4f9f3d(0x2cf)][_0x4f9f3d(0x2d9)](_0x1a4c78)[_0x4f9f3d(0x23a)](this[_0x4f9f3d(0x238)]),this[_0x4f9f3d(0x238)]=null);}[_0x505943(0x225)](_0x7da548){const _0x1fe58b=_0x505943,_0x40acef=_0x7da548[_0x1fe58b(0x27e)](_0x21b05f=>_0x21b05f[_0x1fe58b(0x2c4)]());return this[_0x1fe58b(0x235)][_0x1fe58b(0x2b6)](_0x40acef);}[_0x505943(0x232)](_0xc1643,_0x3edd35){const _0x104701=_0x505943;return this[_0x104701(0x235)][_0x104701(0x1f1)](_0xc1643)[_0x104701(0x27e)]((_0x2b2124,_0x5ec632)=>{const _0x48d88=_0x104701,_0x5dccfe=_0x48d88(0x275)==_0x3edd35[_0x5ec632][_0x48d88(0x20d)];if(_0x48d88(0x26c)==_0x2b2124[_0x48d88(0x1dd)]){const _0x5b7442=_0x2b2124[_0x48d88(0x28a)][_0x48d88(0x277)];!this[_0x48d88(0x297)][_0x48d88(0x24c)](_0x5b7442)&&(this[_0x48d88(0x297)][_0x48d88(0x2cd)](_0x48d88(0x252),_0x5b7442)[_0x48d88(0x217)]=!0x1);}const _0x4eb246=_0x3fd96c[_0x48d88(0x1f5)](_0x2b2124,this[_0x48d88(0x297)]);return _0x4eb246[_0x48d88(0x265)]=_0x2b2124[_0x48d88(0x265)],_0x4eb246[_0x48d88(0x24e)]=_0x5dccfe,_0x4eb246[_0x48d88(0x29a)]=_0x5dccfe?null:_0x3edd35[_0x5ec632][_0x48d88(0x20c)],_0x4eb246[_0x48d88(0x28e)]=_0x48d88(0x2a1)===_0x3edd35[_0x5ec632][_0x48d88(0x20d)],_0x4eb246[_0x48d88(0x22c)]=_0x3edd35[_0x5ec632][_0x48d88(0x22c)],_0x4eb246;});}[_0x505943(0x1dc)](){const _0x30bde0=_0x505943;this[_0x30bde0(0x2a8)]=!0x0,this[_0x30bde0(0x2a6)]()?this[_0x30bde0(0x2b8)]():this[_0x30bde0(0x2a8)]=!0x1;}[_0x505943(0x2a6)](){const _0x46747e=_0x505943,_0x34ecbc=this[_0x46747e(0x26b)][_0x46747e(0x2cf)][_0x46747e(0x2d9)](_0x52f8ac)[_0x46747e(0x288)][_0x46747e(0x2d9)](this[_0x46747e(0x20b)]);return!this[_0x46747e(0x26b)][_0x46747e(0x20a)]&&!!_0x34ecbc&&_0x34ecbc[_0x46747e(0x2b1)]>0x1&&this[_0x46747e(0x2a8)];}[_0x505943(0x2c9)](){const _0x1aba4b=_0x505943;return this[_0x1aba4b(0x293)][_0x1aba4b(0x2b1)]>0x0||this[_0x1aba4b(0x2a6)]();}}class D extends Error{}function P(_0x1d368,_0x55fd0e){const _0x387bfe=_0x505943;for(const _0x772e6 of _0x1d368)_0x772e6[_0x387bfe(0x2bd)]=_0x55fd0e++;}class U{[_0x505943(0x2d5)];[_0x505943(0x2aa)];constructor(_0x1afa7b){const _0x465b37=_0x505943;this[_0x465b37(0x2d5)]=_0x1afa7b,this[_0x465b37(0x2aa)]=new WeakMap();}[_0x505943(0x24f)](_0x265cef){const _0x3a7a49=_0x505943;let _0x1d1bfe=_0x265cef[_0x3a7a49(0x2b1)];for(;_0x1d1bfe--;){const _0x1b39b0=_0x265cef[_0x1d1bfe];if(!this[_0x3a7a49(0x2d5)][_0x3a7a49(0x1fe)](_0x1b39b0)){if(!this[_0x3a7a49(0x2aa)][_0x3a7a49(0x1fe)](_0x1b39b0)){const _0x4b7d3a=_0x2cc8bc()[_0x3a7a49(0x25d)](0x1,0x12);this[_0x3a7a49(0x2aa)][_0x3a7a49(0x1f7)](_0x1b39b0,_0x4b7d3a);}return this[_0x3a7a49(0x2aa)][_0x3a7a49(0x2d9)](_0x1b39b0);}}}[_0x505943(0x248)](_0x492fa7,_0x2a4049){const _0x93190=_0x505943;if(!_0x2a4049)return;let _0xe7f072=_0x492fa7[_0x93190(0x2b1)];for(;_0xe7f072--;){const _0x315152=_0x492fa7[_0xe7f072];this[_0x93190(0x2d5)][_0x93190(0x1fe)](_0x315152)||this[_0x93190(0x2aa)][_0x93190(0x1f7)](_0x315152,_0x2a4049);}}}
|
|
23
|
+
function _0x2431(_0x432cec,_0x539397){const _0x2d2e99=_0x2d2e();return _0x2431=function(_0x243182,_0x18fffa){_0x243182=_0x243182-0x1c3;let _0x5d3837=_0x2d2e99[_0x243182];return _0x5d3837;},_0x2431(_0x432cec,_0x539397);}function _0x2d2e(){const _0x521b67=['channelSessions','InsertOperation','realtimecollaborationclient-init-service-incorrect-server-operation','cloud-services-internal-error:\x20Not\x20connected.','_initSessionsHandling','connection','selection','getRoot','forEach','entries','_clearPendingAction','_operationToId','_isEditingAllowed','_sendBufferedOperationsDelayId','sessionCreatedAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','markers','baseVersion','compress','_setPendingAction','26706OraDAE','$root','return','roots','data','_document','model','sendOperations','sessionAdd:','push','catch','cloudServices.bundleVersion','size','real-time-collaboration','_sendBufferedOperationsDelayed','stop','userId','_sendBufferedOperations','_ignoredOperations','getConnectedSessions','_saveOperationInBuffer','CommentsOnly','connected','currentDocumentSession','keys','ready','map','_handleInitialConnectionData','multi-root-editor-root-attributes-no-root','length','history','path','rtc-destroyed','destroy','_shouldSendSelectionUpdate','root','isUndoneOperation','lastOperationId','decompress','sessionId','_addKnownRoot','_isPendingUpdate','361720zDImaL','slice','_connectAfterSessionHasBeenFlushed','change:_isEditingAllowed','rootsAttributes','realtimecollaborationclient-init-document-already-initialized','string','operationsReceived','change:hasDomSelection','getUser','realtimecollaborationclient-error','_hasSynchronizationProblem','_applyOperationsSet','document','affectsData','disconnected','addRoot','apply','toJSON','end','editor','_authorId','_knownRootNames','_bufferedOperations','type','_handleServerResponse','listenTo','CollaborativeEditingService','disableReadOnlyMode','addOperation','getOperations','suppressErrorInCollaboration','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_lastServerVersion','Permissions','_connectService','rootName','getIdOfTheLastOperation','disconnect','applyOperation','_knownOperations','595LExGan','99VHKuva','_fetchMissingUsers','createUserMarkerOperations','_isLoaded','wasUndone','mySessionId','createRoot','clone','lastDocumentSession','state','409','__className','_hasSelectionChanged','collaboration','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.','error','2DlQzLi','showWarning','plugins','document:write','_service','differ','getOperationAuthor','_bufferRootLoad','startsWith','_baseBufferDelay','_crash','_getOperationsFromInitData','targetPosition','add','message','1217948iSbjrH','realtimecollaborationclient-init-session-connection-error','version','getMany','_channelId','_handleReconnectionError','_decompressOperations','rtc-offline','move','start','view','createRange','addToReconnectionStack','_shouldSendUpdate','batch','getDocumentDetails','locale','reconnection:\x20flushed\x20session','isDocumentOperation','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','attributes','loadRoot','off','_getAffectedRoot','RealTimeCollaborationClient','isOfficialPlugin','Synchronization\x20issue','metadata','realtimecollaborationclient-handleserverresponse','_pendingAction','11457089ApHbDb','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient','directChange','wereChangesApplied','enqueueChange','isReadOnly','_updateServerHistory','finally','_isInit','setIdForTheLastOperation','realtimecollaborationclient-init-non-existent-root','bind','_disconnectService','fromJSON','collaboration.channelId','change:range','initData','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.','_setUpDataInit','parse','init','get','code','config','2251995wpPbar','PENDING_ACTION_SENDING_DATA','_handleReceivedOperations','remove','_waitUntilSynced','_operationIdentifier','_compressOperations','_handleReconnectionResponse','serverHistory','position','realtimecollaborationclient-sendbufferedoperations','addRootAttribute','createPositionFromPath','isEnabled','enableReadOnlyMode','editing','Notification','isPremiumPlugin','_isAttached','from','collaboration-missing-channelid','addUser','includes','pluginName','setPermissions','affectedSelectable','cloud-services-internal-error:\x20Request\x20timeout.','_isDisconnection','marker','fire','cloudDocumentVersion','realtimecollaborationclient-init-service-internal-error','register','removeFromReconnectionStack','then','connect','newRange','lastOperationAcceptedAt','reconnect','lastSyncVersion','has','_compressor','change:_isPendingUpdate','createPositionAt','define','createdAt','845928ZaywYc','unregister','_refreshUserSelectionMarkers','_handleSendingSelectionMarkers','_offset','offset','filter','_isConnected','1190987eicohb','high','reset','insert','_currentBufferDelay','cs:removeUser','_disconnectionOperations','realtimecollaborationclient-init-connection-failed','_initThrowingOnDataSet','_lastSyncedOperationId','requires','404','_loadRoot','round','_handleExternalOperations','set','permissions','stopListening'];_0x2d2e=function(){return _0x521b67;};return _0x2d2e();}const _0x38ae22=_0x2431;(function(_0x1e5640,_0x3ce5be){const _0x146093=_0x2431,_0x5cc28f=_0x1e5640();while(!![]){try{const _0x4fa0c8=parseInt(_0x146093(0x2a1))/0x1*(-parseInt(_0x146093(0x225))/0x2)+parseInt(_0x146093(0x26b))/0x3+parseInt(_0x146093(0x234))/0x4+-parseInt(_0x146093(0x214))/0x5*(-parseInt(_0x146093(0x2c7))/0x6)+parseInt(_0x146093(0x252))/0x7+-parseInt(_0x146093(0x299))/0x8*(parseInt(_0x146093(0x215))/0x9)+parseInt(_0x146093(0x1eb))/0xa;if(_0x4fa0c8===_0x3ce5be)break;else _0x5cc28f['push'](_0x5cc28f['shift']());}catch(_0x35291d){_0x5cc28f['push'](_0x5cc28f['shift']());}}}(_0x2d2e,0xdc99e));import{Plugin as _0x547521,PendingActions as _0x106abb}from'ckeditor5/src/core.js';import{CKEditorError as _0xe7df33,version as _0x11be57,uid as _0x34c94e}from'ckeditor5/src/utils.js';import{Notification as _0x30621c}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x201237,NoOperation as _0x987ac7,InsertOperation as _0x158320,MarkerOperation as _0x23d146,RootAttributeOperation as _0x4f49bc,OperationFactory as _0x30cd3b,History as _0x4a5a00}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x3da049}from'./websocketgateway.js';import{Sessions as _0x257127}from'./sessions.js';import{UserMarkers as _0xe49e78}from'./usermarkers.js';import{getTranslation as _0x103e7a}from'../common-translations.js';import{Compressor as _0x2dad7f}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2e17af}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4a2436,CollaborativeEditingService as _0x3dae60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x547521{static [_0x38ae22(0x206)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3dae60)());[_0x38ae22(0x29d)];[_0x38ae22(0x1e8)];[_0x38ae22(0x273)];[_0x38ae22(0x238)];[_0x38ae22(0x229)];[_0x38ae22(0x1c6)];[_0x38ae22(0x294)];[_0x38ae22(0x202)];[_0x38ae22(0x213)];[_0x38ae22(0x201)];[_0x38ae22(0x251)];[_0x38ae22(0x221)];[_0x38ae22(0x2c0)];[_0x38ae22(0x22e)];[_0x38ae22(0x2a5)];[_0x38ae22(0x2aa)];[_0x38ae22(0x2a7)];[_0x38ae22(0x270)];static get[_0x38ae22(0x2ab)](){return[_0x3da049,_0x257127,_0xe49e78,_0x106abb,_0x2e17af,_0x30621c];}static get[_0x38ae22(0x282)](){const _0x2bc306=_0x38ae22;return _0x2bc306(0x24c);}static get[_0x38ae22(0x24d)](){return!0x0;}static get[_0x38ae22(0x27c)](){return!0x0;}get[_0x38ae22(0x289)](){const _0x14aa47=_0x38ae22;return this[_0x14aa47(0x20c)]+this[_0x14aa47(0x29d)];}get[_0x38ae22(0x20c)](){const _0x71f866=_0x38ae22;return this[_0x71f866(0x273)][_0x71f866(0x236)]-this[_0x71f866(0x29d)];}get[_0x38ae22(0x292)](){const _0x58eeac=_0x38ae22,_0x2c9e30=this[_0x58eeac(0x273)][_0x58eeac(0x209)]();for(let _0x3b2b12=_0x2c9e30[_0x58eeac(0x1de)]-0x1;_0x3b2b12>=0x0;_0x3b2b12--){const _0x32921a=_0x2c9e30[_0x3b2b12];if(!this[_0x58eeac(0x2a7)][_0x58eeac(0x293)](_0x32921a))return _0x32921a[_0x58eeac(0x2c4)]+0x1-this[_0x58eeac(0x29d)];}return 0x0;}constructor(_0x1093a4){const _0x2b6028=_0x38ae22;if(super(_0x1093a4),this[_0x2b6028(0x29d)]=0x0,this[_0x2b6028(0x1e8)]=null,this[_0x2b6028(0x273)]=new _0x4a5a00(),this[_0x2b6028(0x1ff)][_0x2b6028(0x26a)][_0x2b6028(0x297)](_0x2b6028(0x222),{}),this[_0x2b6028(0x238)]=this[_0x2b6028(0x1ff)][_0x2b6028(0x26a)][_0x2b6028(0x268)](_0x2b6028(0x261)),!this[_0x2b6028(0x238)])throw new _0xe7df33(_0x2b6028(0x27f),this);const _0x4448b2=_0x1093a4[_0x2b6028(0x26a)][_0x2b6028(0x268)](_0x2b6028(0x1cc))||_0x11be57;this[_0x2b6028(0x229)]=new RealTimeCollaborationClient[(_0x2b6028(0x206))](_0x4448b2,this[_0x2b6028(0x238)]),this[_0x2b6028(0x1c6)]=this[_0x2b6028(0x1ff)][_0x2b6028(0x1c7)][_0x2b6028(0x1f8)],this[_0x2b6028(0x294)]=new _0x2dad7f(),this[_0x2b6028(0x202)]=[],this[_0x2b6028(0x213)]=new WeakSet(),this[_0x2b6028(0x201)]=new Set(),this[_0x2b6028(0x2b0)](_0x2b6028(0x1ea),!0x1),this[_0x2b6028(0x2b0)](_0x2b6028(0x1f6),!0x1),this[_0x2b6028(0x251)]=null,this[_0x2b6028(0x221)]=!0x1,this[_0x2b6028(0x2c0)]=null,this[_0x2b6028(0x22e)]=0x12c,this[_0x2b6028(0x2a5)]=this[_0x2b6028(0x22e)],this[_0x2b6028(0x2aa)]=null,this[_0x2b6028(0x2a7)]=new WeakSet(),this[_0x2b6028(0x270)]=new J(this[_0x2b6028(0x2a7)]);}[_0x38ae22(0x267)](){const _0x5278e8=_0x38ae22,_0x26ed21=this[_0x5278e8(0x1ff)],_0xc72aed=_0x26ed21[_0x5278e8(0x227)][_0x5278e8(0x268)](_0x2e17af),_0x208adf=_0x26ed21[_0x5278e8(0x227)][_0x5278e8(0x268)](_0x3da049);this[_0x5278e8(0x205)](_0xc72aed,_0x5278e8(0x22b),(_0x3061b2,_0x5376ca)=>{const _0x350630=_0x5278e8,_0xf3f908=_0x5376ca[0x0];_0xf3f908[_0x350630(0x200)]&&(_0x3061b2[_0x350630(0x1c3)]=_0xc72aed[_0x350630(0x1f4)](_0xf3f908[_0x350630(0x200)]),_0x3061b2[_0x350630(0x1d0)]()),null===_0xf3f908[_0x350630(0x200)]&&(_0x3061b2[_0x350630(0x1c3)]=null,_0x3061b2[_0x350630(0x1d0)]());},{'priority':_0x5278e8(0x2a2)}),this[_0x5278e8(0x205)](_0x26ed21[_0x5278e8(0x1c7)][_0x5278e8(0x1f8)][_0x5278e8(0x2b9)],_0x5278e8(0x262),(_0x3cbaf4,_0x318ed8)=>{const _0x395494=_0x5278e8;_0x318ed8[_0x395494(0x255)]&&this[_0x395494(0x29b)]();}),this[_0x5278e8(0x205)](_0x26ed21[_0x5278e8(0x27a)][_0x5278e8(0x23e)],_0x5278e8(0x1f3),()=>{const _0x489db1=_0x5278e8;this[_0x489db1(0x29b)]();}),this[_0x5278e8(0x2a9)](),_0x26ed21[_0x5278e8(0x1c7)]['on'](_0x5278e8(0x212),(_0x51995c,_0x2adb2e)=>{const _0x3c8f52=_0x5278e8,_0x56c2be=_0x2adb2e[0x0];_0x56c2be[_0x3c8f52(0x246)]&&(this[_0x3c8f52(0x1d5)](_0x56c2be),this[_0x3c8f52(0x241)]()&&this[_0x3c8f52(0x1cf)]());}),this[_0x5278e8(0x265)](),this[_0x5278e8(0x25e)](_0x5278e8(0x2bf))['to'](_0x208adf,_0x5278e8(0x21e),this,_0x5278e8(0x1f6),(_0x24eabb,_0xd87fa9)=>_0x5278e8(0x1d7)===_0x24eabb&&!_0xd87fa9),this['on'](_0x5278e8(0x1ee),()=>{const _0x4bcad4=_0x5278e8;this[_0x4bcad4(0x2bf)]?_0x26ed21[_0x4bcad4(0x207)](_0x4bcad4(0x23b)):_0x26ed21[_0x4bcad4(0x279)](_0x4bcad4(0x23b));}),this[_0x5278e8(0x2bf)]?_0x26ed21[_0x5278e8(0x207)](_0x5278e8(0x23b)):_0x26ed21[_0x5278e8(0x279)](_0x5278e8(0x23b)),this[_0x5278e8(0x2b0)](_0x5278e8(0x2a0),!0x1);}async[_0x38ae22(0x291)](){const _0x3ae1c2=_0x38ae22,_0x371374=this[_0x3ae1c2(0x1ff)][_0x3ae1c2(0x227)][_0x3ae1c2(0x268)](_0x257127),_0x532cb5=this[_0x3ae1c2(0x1ff)][_0x3ae1c2(0x227)][_0x3ae1c2(0x268)](_0x3da049);try{this[_0x3ae1c2(0x1ea)]=!0x0,_0x371374[_0x3ae1c2(0x29a)](this[_0x3ae1c2(0x238)]);const _0x29575d=await this[_0x3ae1c2(0x229)][_0x3ae1c2(0x291)](_0x532cb5[_0x3ae1c2(0x2b8)],this[_0x3ae1c2(0x292)]);await this[_0x3ae1c2(0x272)](_0x29575d)&&(this[_0x3ae1c2(0x1ea)]=!0x1,this[_0x3ae1c2(0x2bd)]());const _0x2d76b8=await this[_0x3ae1c2(0x229)][_0x3ae1c2(0x1d4)]();_0x371374[_0x3ae1c2(0x28b)](this[_0x3ae1c2(0x238)],_0x2d76b8),this[_0x3ae1c2(0x29c)](),this[_0x3ae1c2(0x2a0)]=!0x0;}catch(_0x1c62dc){if(function(_0x433c6a){const _0x35a804=_0x3ae1c2;return _0x35a804(0x2ac)===_0x433c6a[_0x35a804(0x269)];}(_0x1c62dc)&&this[_0x3ae1c2(0x1e8)])await this[_0x3ae1c2(0x1ed)]();else{if(function(_0x36eb86){const _0x481757=_0x3ae1c2;return _0x481757(0x21f)===_0x36eb86[_0x481757(0x269)];}(_0x1c62dc)){const _0x4742c1=_0x103e7a(this[_0x3ae1c2(0x1ff)][_0x3ae1c2(0x244)],_0x3ae1c2(0x20b));this[_0x3ae1c2(0x239)](_0x4742c1);}else{if(!(_0x1c62dc instanceof $))throw _0x1c62dc;this[_0x3ae1c2(0x239)]();}}}}[_0x38ae22(0x1e2)](){const _0x35297a=_0x38ae22,_0x51c2e2=this[_0x35297a(0x1ff)][_0x35297a(0x227)][_0x35297a(0x268)](_0x3da049),_0x266de9=this[_0x35297a(0x1ff)][_0x35297a(0x227)][_0x35297a(0x268)](_0x257127);this[_0x35297a(0x1ff)][_0x35297a(0x279)](_0x35297a(0x1e1)),_0x266de9[_0x35297a(0x2b3)][_0x35297a(0x293)](this[_0x35297a(0x238)])&&_0x266de9[_0x35297a(0x29a)](this[_0x35297a(0x238)]),_0x51c2e2[_0x35297a(0x28c)](this),this[_0x35297a(0x25f)](),super[_0x35297a(0x1e2)]();}async[_0x38ae22(0x272)](_0x5bf0db){const _0x52e67f=_0x38ae22;if(this[_0x52e67f(0x1e8)]!==_0x5bf0db[_0x52e67f(0x1e8)]&&this[_0x52e67f(0x2aa)]!==_0x5bf0db[_0x52e67f(0x1e6)])throw new $();return this[_0x52e67f(0x1e8)]=_0x5bf0db[_0x52e67f(0x1e8)],this[_0x52e67f(0x204)]([],{..._0x5bf0db,'wereChangesApplied':!0x1,'data':_0x5bf0db[_0x52e67f(0x1c5)]},_0x52e67f(0x291));}async[_0x38ae22(0x20e)](_0x53722a,_0x2954fd=!0x1){const _0x3b2720=_0x38ae22,{connection:_0x4088f4}=this[_0x3b2720(0x1ff)][_0x3b2720(0x227)][_0x3b2720(0x268)](_0x3da049);RealTimeCollaborationClient[_0x3b2720(0x206)][_0x3b2720(0x1d4)](_0x4088f4,this[_0x3b2720(0x238)])[_0x3b2720(0x28d)](_0x232bfb=>this[_0x3b2720(0x2b7)](_0x232bfb))[_0x3b2720(0x1cb)](_0x52dad1=>{const _0x5ace68=_0x3b2720;this[_0x5ace68(0x22f)](_0x5ace68(0x235),_0x52dad1);}),this[_0x3b2720(0x205)](this[_0x3b2720(0x229)],_0x3b2720(0x1f2),this[_0x3b2720(0x26d)][_0x3b2720(0x25e)](this)),this[_0x3b2720(0x205)](this[_0x3b2720(0x229)],_0x3b2720(0x224),(_0x420ea6,_0x4502de)=>{const _0x9e1de9=_0x3b2720;this[_0x9e1de9(0x22f)](_0x9e1de9(0x28a),_0x4502de);}),this[_0x3b2720(0x205)](this[_0x3b2720(0x229)],_0x3b2720(0x1fa),()=>{const _0x3babd8=_0x3b2720;this[_0x3babd8(0x2a0)]=!0x1;});const _0x2ddcdb=this[_0x3b2720(0x270)][_0x3b2720(0x210)](_0x53722a);this[_0x3b2720(0x1ea)]=!0x0;const _0x3703cd=await this[_0x3b2720(0x229)][_0x3b2720(0x28e)](_0x4088f4,this[_0x3b2720(0x271)](_0x53722a),_0x2ddcdb);if(this[_0x3b2720(0x1e8)]=_0x3703cd[_0x3b2720(0x1e8)],_0x2954fd){if(!_0x3703cd[_0x3b2720(0x256)])return void this[_0x3b2720(0x239)]();this[_0x3b2720(0x1ea)]=!0x1,this[_0x3b2720(0x2bd)](),this[_0x3b2720(0x273)][_0x3b2720(0x2a3)](),this[_0x3b2720(0x29d)]=_0x3703cd[_0x3b2720(0x29e)],this[_0x3b2720(0x273)][_0x3b2720(0x236)]=this[_0x3b2720(0x29d)],await this[_0x3b2720(0x204)](_0x53722a,_0x3703cd,_0x3b2720(0x245));}else await this[_0x3b2720(0x1dc)](_0x3703cd,_0x53722a);this[_0x3b2720(0x29c)](),this[_0x3b2720(0x2a0)]=!0x0;}[_0x38ae22(0x29c)](){const _0x151ace=_0x38ae22,_0x1e4675=this[_0x151ace(0x1ff)][_0x151ace(0x227)][_0x151ace(0x268)](_0x257127),_0x3fcced=this[_0x151ace(0x1ff)][_0x151ace(0x227)][_0x151ace(0x268)](_0xe49e78),_0x1d48a6=_0x1e4675[_0x151ace(0x2b3)][_0x151ace(0x268)](this[_0x151ace(0x238)]);_0x1d48a6&&_0x1d48a6[_0x151ace(0x1de)]>0x1?_0x3fcced[_0x151ace(0x217)]():this[_0x151ace(0x205)](_0x1e4675,_0x151ace(0x1c9)+this[_0x151ace(0x238)],()=>{const _0xd8b6fd=_0x151ace;0x2===_0x1e4675[_0xd8b6fd(0x2b3)][_0xd8b6fd(0x268)](this[_0xd8b6fd(0x238)])[_0xd8b6fd(0x1de)]&&_0x3fcced[_0xd8b6fd(0x217)]();});}async[_0x38ae22(0x26d)](_0x1828c0,_0x4ec869,_0x1fc3ad,_0x209ac5){const _0x1fa259=_0x38ae22;if(!this[_0x1fa259(0x1ea)]&&this[_0x1fa259(0x1c6)][_0x1fa259(0x236)]==_0x4ec869){const _0x4132af=this[_0x1fa259(0x23a)](_0x1fc3ad,_0x209ac5);await this[_0x1fa259(0x216)](_0x4132af),this[_0x1fa259(0x2af)](_0x4132af,_0x4ec869,_0x1fc3ad[_0x1fa259(0x1e6)])||this[_0x1fa259(0x22f)](_0x1fa259(0x2b5));}}async[_0x38ae22(0x1ed)](){const _0x350b23=_0x38ae22;this[_0x350b23(0x25f)]();const {locale:_0x4af866}=this[_0x350b23(0x1ff)];let _0x4f1af8;try{_0x4f1af8=await this[_0x350b23(0x229)][_0x350b23(0x243)]();}catch{const _0x279c3f=_0x103e7a(_0x4af866,_0x350b23(0x2c2));return void this[_0x350b23(0x239)](_0x279c3f);}const _0x598264=_0x4f1af8[_0x350b23(0x1d8)]||_0x4f1af8[_0x350b23(0x21d)];if(this[_0x350b23(0x2aa)]!==_0x598264[_0x350b23(0x1e6)]){const _0x6ea50a=_0x103e7a(_0x4af866,_0x350b23(0x264));return void this[_0x350b23(0x239)](_0x6ea50a);}await this[_0x350b23(0x20e)](this[_0x350b23(0x1ff)][_0x350b23(0x1c7)][_0x350b23(0x1f8)][_0x350b23(0x1df)][_0x350b23(0x209)](),!0x0);}[_0x38ae22(0x25f)](){const _0xaf3d9c=_0x38ae22;this[_0xaf3d9c(0x229)][_0xaf3d9c(0x211)](),this[_0xaf3d9c(0x202)]=[],clearTimeout(this[_0xaf3d9c(0x2c0)]),this[_0xaf3d9c(0x2b2)](this[_0xaf3d9c(0x229)]);}[_0x38ae22(0x2b7)](_0x501ae1){const _0x4c9ed4=_0x38ae22,_0x395210=this[_0x4c9ed4(0x1ff)][_0x4c9ed4(0x227)][_0x4c9ed4(0x268)](_0x257127);this[_0x4c9ed4(0x205)](_0x395210,_0x4c9ed4(0x1c9)+this[_0x4c9ed4(0x238)],(_0x5c4e94,{session:_0x49f5c9})=>{const _0x5c30fb=_0x4c9ed4;if(_0x49f5c9['id']===_0x395210[_0x5c30fb(0x21a)]){_0x5c4e94[_0x5c30fb(0x24a)]();const _0x5a7092=this[_0x5c30fb(0x1ff)][_0x5c30fb(0x227)][_0x5c30fb(0x293)](_0x5c30fb(0x1d6))&&this[_0x5c30fb(0x1ff)][_0x5c30fb(0x227)][_0x5c30fb(0x268)](_0x5c30fb(0x1d6));let _0x1fa3be=_0x49f5c9[_0x5c30fb(0x2b1)];_0x5a7092&&_0x5a7092[_0x5c30fb(0x278)]&&(_0x1fa3be=_0x1fa3be[_0x5c30fb(0x29f)](_0x48bb01=>_0x5c30fb(0x228)!==_0x48bb01)),this[_0x5c30fb(0x1ff)][_0x5c30fb(0x227)][_0x5c30fb(0x268)](_0x5c30fb(0x20d))[_0x5c30fb(0x283)](_0x1fa3be,this[_0x5c30fb(0x238)]);}}),_0x395210[_0x4c9ed4(0x28b)](this[_0x4c9ed4(0x238)],_0x501ae1);}[_0x38ae22(0x2a9)](){const _0x3c5e13=_0x38ae22,_0x4ba613=this[_0x3c5e13(0x1ff)][_0x3c5e13(0x1c5)][_0x3c5e13(0x2b0)];this[_0x3c5e13(0x1ff)][_0x3c5e13(0x1c5)][_0x3c5e13(0x2b0)]=(..._0x2f52b4)=>{const _0x1fa68c=_0x3c5e13;if(!_0x2f52b4[_0x2f52b4[_0x1fa68c(0x1de)]-0x1][_0x1fa68c(0x20a)])throw new _0xe7df33(_0x1fa68c(0x253),this);_0x4ba613[_0x1fa68c(0x1fc)](this[_0x1fa68c(0x1ff)][_0x1fa68c(0x1c5)],_0x2f52b4);};}[_0x38ae22(0x265)](){const _0x2ca163=_0x38ae22;this[_0x2ca163(0x1ff)][_0x2ca163(0x1c5)]['on'](_0x2ca163(0x267),(_0x1da504,[_0x40ffa8])=>{const _0x5abddc=_0x2ca163;if(this[_0x5abddc(0x1c6)][_0x5abddc(0x236)])throw new _0xe7df33(_0x5abddc(0x1f0),this);_0x1da504[_0x5abddc(0x1d0)](),this[_0x5abddc(0x2c6)]();const _0x50e26d=this[_0x5abddc(0x1ff)][_0x5abddc(0x26a)][_0x5abddc(0x268)](_0x5abddc(0x1ef)),_0x21d572=this[_0x5abddc(0x230)](_0x40ffa8,_0x50e26d);0x0==_0x21d572[_0x5abddc(0x1de)]&&_0x21d572[_0x5abddc(0x1ca)](new _0x987ac7(0x0)),_0x1da504[_0x5abddc(0x1c3)]=this[_0x5abddc(0x20e)](_0x21d572)[_0x5abddc(0x28d)](()=>{const _0x525742=_0x5abddc;this[_0x525742(0x1ff)][_0x525742(0x227)][_0x525742(0x268)](_0x3da049)[_0x525742(0x240)](this),this[_0x525742(0x1ff)][_0x525742(0x1c5)][_0x525742(0x288)](_0x525742(0x1da));})[_0x5abddc(0x1cb)](_0x56bdb3=>this[_0x5abddc(0x22f)](_0x5abddc(0x2a8),_0x56bdb3))[_0x5abddc(0x25a)](()=>this[_0x5abddc(0x2bd)]());},{'priority':_0x2ca163(0x2a2)}),this[_0x2ca163(0x1ff)]['on'](_0x2ca163(0x249),async(_0x497327,[_0x12d8db,_0x1d9a46])=>{const _0x484fdb=_0x2ca163;_0x497327[_0x484fdb(0x1d0)]();const _0x136f27=this[_0x484fdb(0x1ff)][_0x484fdb(0x1c7)][_0x484fdb(0x1f8)][_0x484fdb(0x2ba)](_0x12d8db);if(!this[_0x484fdb(0x201)][_0x484fdb(0x293)](_0x12d8db)){const _0x4d950c=_0x1d9a46&&_0x1d9a46[_0x484fdb(0x1c5)]?_0x1d9a46[_0x484fdb(0x1c5)]:'',_0x5a1214=_0x1d9a46&&_0x1d9a46[_0x484fdb(0x248)]?_0x1d9a46[_0x484fdb(0x248)]:{};await this[_0x484fdb(0x2ad)](_0x12d8db,_0x4d950c,_0x5a1214);}this[_0x484fdb(0x1ff)][_0x484fdb(0x1c7)][_0x484fdb(0x257)]({'isUndoable':!0x1},()=>{const _0x823e8e=_0x484fdb;_0x136f27[_0x823e8e(0x218)]=!0x0,this[_0x823e8e(0x1ff)][_0x823e8e(0x1c7)][_0x823e8e(0x1f8)][_0x823e8e(0x22a)][_0x823e8e(0x22c)](_0x136f27);});},{'priority':_0x2ca163(0x2a2)});}async[_0x38ae22(0x216)](_0x55f458){const _0x15c5f4=_0x38ae22,_0x203050=this[_0x15c5f4(0x1ff)][_0x15c5f4(0x227)][_0x15c5f4(0x268)](_0x2e17af),{connection:_0x170ca9}=this[_0x15c5f4(0x1ff)][_0x15c5f4(0x227)][_0x15c5f4(0x268)](_0x3da049),_0x35e88c=new Set();for(const _0x409cf2 of _0x55f458){const _0x49756b=_0x409cf2[_0x15c5f4(0x200)];_0x49756b&&!_0x203050[_0x15c5f4(0x1f4)](_0x49756b)&&_0x35e88c[_0x15c5f4(0x232)](_0x49756b);}if(0x0===_0x35e88c[_0x15c5f4(0x1cd)])return;const _0x4f7f94=await _0x4a2436[_0x15c5f4(0x237)](_0x170ca9,Array[_0x15c5f4(0x27e)](_0x35e88c));for(const _0x4a5d1a of _0x4f7f94)_0x203050[_0x15c5f4(0x1f4)](_0x4a5d1a['id'])||_0x203050[_0x15c5f4(0x280)](_0x4a5d1a);}[_0x38ae22(0x230)](_0x1dfdee,_0x3a3135={}){const _0x5365a6=_0x38ae22,_0x2274a3=this[_0x5365a6(0x1ff)][_0x5365a6(0x1c7)],_0x290a18=[];let _0x5a3c89=0x0;const _0x47a57b=_0x5365a6(0x1f1)==typeof _0x1dfdee?{'main':_0x1dfdee}:_0x1dfdee;for(const _0x18f0fb of Object[_0x5365a6(0x1d9)](_0x47a57b)){if(!this[_0x5365a6(0x1c6)][_0x5365a6(0x1c4)][_0x5365a6(0x293)](_0x18f0fb))throw new _0xe7df33(_0x5365a6(0x25d),this);const _0x434010=this[_0x5365a6(0x1ff)][_0x5365a6(0x1c5)][_0x5365a6(0x266)](_0x47a57b[_0x18f0fb]),_0x188d20=this[_0x5365a6(0x1c6)][_0x5365a6(0x2ba)](_0x18f0fb),_0x2d26c5=new _0x158320(_0x2274a3[_0x5365a6(0x296)](_0x188d20,0x0),_0x434010,_0x5a3c89++);_0x290a18[_0x5365a6(0x1ca)](_0x2d26c5);for(const [_0x13813e,_0x4d2d23]of _0x434010[_0x5365a6(0x2c3)]){const _0x17931b=_0x2274a3[_0x5365a6(0x23f)](_0x2274a3[_0x5365a6(0x277)](_0x188d20,_0x4d2d23[_0x5365a6(0x23d)][_0x5365a6(0x1e0)][_0x5365a6(0x1ec)]()),_0x2274a3[_0x5365a6(0x277)](_0x188d20,_0x4d2d23[_0x5365a6(0x1fe)][_0x5365a6(0x1e0)][_0x5365a6(0x1ec)]())),_0x525d3e=new _0x23d146(_0x13813e,null,_0x17931b,_0x2274a3[_0x5365a6(0x2c3)],!0x0,_0x5a3c89++);_0x290a18[_0x5365a6(0x1ca)](_0x525d3e);}}if(_0x3a3135)for(const [_0x289f00,_0x105f8a]of Object[_0x5365a6(0x2bc)](_0x3a3135)){const _0x46c953=_0x2274a3[_0x5365a6(0x1f8)][_0x5365a6(0x2ba)](_0x289f00);if(!_0x46c953)throw new _0xe7df33(_0x5365a6(0x1dd),null);for(const [_0xf254b7,_0x5b96d1]of Object[_0x5365a6(0x2bc)](_0x105f8a))if(null!==_0x5b96d1){const _0x3d85a0=new _0x4f49bc(_0x46c953,_0xf254b7,null,_0x5b96d1,_0x5a3c89++);_0x290a18[_0x5365a6(0x1ca)](_0x3d85a0);}}return _0x290a18;}async[_0x38ae22(0x2ad)](_0xa22e61,_0x16a158,_0x3010f4){const _0x50fee6=_0x38ae22;this[_0x50fee6(0x230)]({[_0xa22e61]:_0x16a158},{[_0xa22e61]:_0x3010f4})[_0x50fee6(0x2bb)]((_0x5228d4,_0xb221c3)=>{const _0x15f731=_0x50fee6;_0x5228d4[_0x15f731(0x2c4)]=this[_0x15f731(0x1c6)][_0x15f731(0x236)]+_0xb221c3,_0x5228d4[_0x15f731(0x25b)]=!0x0,this[_0x15f731(0x1d5)](_0x5228d4);}),this[_0x50fee6(0x1cf)](),await this[_0x50fee6(0x26f)]();}async[_0x38ae22(0x1dc)](_0x1321d1,_0x45452a){const _0x1c6ac6=_0x38ae22;let _0x51d853;this[_0x1c6ac6(0x29d)]=_0x1321d1[_0x1c6ac6(0x29e)];const _0x41a3f0=_0x1321d1[_0x1c6ac6(0x256)]&&!_0x1321d1[_0x1c6ac6(0x263)],_0x11a0a8=_0x41a3f0?0x0:_0x1321d1[_0x1c6ac6(0x1c5)][_0x1c6ac6(0x2c4)];if(_0x45452a[_0x1c6ac6(0x2bb)](_0x4b1159=>{const _0x1e49cd=_0x1c6ac6;_0x4b1159[_0x1e49cd(0x25b)]=!0x0,_0x4b1159[_0x1e49cd(0x298)]=_0x1321d1[_0x1e49cd(0x2c1)],_0x4b1159[_0x1e49cd(0x200)]=null;}),_0x41a3f0)_0x51d853=_0x45452a,this[_0x1c6ac6(0x1f7)](_0x51d853,_0x41a3f0);else{if(_0x1321d1[_0x1c6ac6(0x263)]){const _0x51c12a=this[_0x1c6ac6(0x230)](_0x1321d1[_0x1c6ac6(0x263)]);this[_0x1c6ac6(0x1c6)][_0x1c6ac6(0x1df)][_0x1c6ac6(0x236)]=-_0x51c12a[_0x1c6ac6(0x1de)],_0x51c12a[_0x1c6ac6(0x2bb)](_0x4d6e15=>{const _0x31a638=_0x1c6ac6;_0x4d6e15[_0x31a638(0x2c4)]-=_0x51c12a[_0x31a638(0x1de)],_0x4d6e15[_0x31a638(0x298)]=_0x1321d1[_0x31a638(0x2c1)],_0x4d6e15[_0x31a638(0x25b)]=!0x0,_0x4d6e15[_0x31a638(0x200)]=null;}),this[_0x1c6ac6(0x1f7)](_0x51c12a,!0x0),this[_0x1c6ac6(0x273)][_0x1c6ac6(0x236)]=-_0x51c12a[_0x1c6ac6(0x1de)]+this[_0x1c6ac6(0x29d)],this[_0x1c6ac6(0x259)](_0x51c12a);}this[_0x1c6ac6(0x1c6)][_0x1c6ac6(0x1df)][_0x1c6ac6(0x236)]=_0x11a0a8,_0x51d853=this[_0x1c6ac6(0x23a)](_0x1321d1[_0x1c6ac6(0x1c5)],_0x1321d1[_0x1c6ac6(0x24f)]),await this[_0x1c6ac6(0x216)](_0x51d853),this[_0x1c6ac6(0x1f7)](_0x51d853,_0x41a3f0);}_0x1321d1[_0x1c6ac6(0x1e6)]&&(this[_0x1c6ac6(0x270)][_0x1c6ac6(0x25c)](_0x51d853,_0x1321d1[_0x1c6ac6(0x1e6)]),this[_0x1c6ac6(0x2aa)]=_0x1321d1[_0x1c6ac6(0x1e6)]),this[_0x1c6ac6(0x273)][_0x1c6ac6(0x236)]=_0x11a0a8+this[_0x1c6ac6(0x29d)],this[_0x1c6ac6(0x259)](_0x51d853),_0x45452a[_0x1c6ac6(0x29f)](_0x600592=>{const _0x3aaf46=_0x1c6ac6,_0x52eed0=this[_0x3aaf46(0x24b)](_0x600592);return _0x52eed0&&!this[_0x3aaf46(0x201)][_0x3aaf46(0x293)](_0x52eed0);})[_0x1c6ac6(0x2bb)]((_0x3bf6b4,_0x156b6b)=>{const _0x6f11ab=_0x1c6ac6;_0x3bf6b4[_0x6f11ab(0x2c4)]=this[_0x6f11ab(0x1c6)][_0x6f11ab(0x236)]+_0x156b6b,this[_0x6f11ab(0x1d5)](_0x3bf6b4);}),this[_0x1c6ac6(0x241)]()?(this[_0x1c6ac6(0x2a5)]=0x0,this[_0x1c6ac6(0x1cf)](!0x0),await this[_0x1c6ac6(0x26f)]()):(this[_0x1c6ac6(0x1ea)]=!0x1,this[_0x1c6ac6(0x2bd)]());}[_0x38ae22(0x22f)](_0x3759e8,_0x187254){const _0x43f5d5=_0x38ae22,_0x2e25fe=_0x187254&&_0x187254[_0x43f5d5(0x233)];if(_0x2e25fe&&_0x2e25fe[_0x43f5d5(0x22d)](_0x43f5d5(0x254)))throw _0x187254;const _0x49b51d=this[_0x43f5d5(0x1ff)][_0x43f5d5(0x227)][_0x43f5d5(0x268)](_0x3da049);throw this[_0x43f5d5(0x1ea)]=!0x0,_0x49b51d[_0x43f5d5(0x211)](),this[_0x43f5d5(0x1ff)][_0x43f5d5(0x279)](_0x43f5d5(0x1f5)),new _0xe7df33(_0x3759e8,this[_0x43f5d5(0x1ff)],_0x2e25fe?{'originalError':_0x2e25fe}:void 0x0);}[_0x38ae22(0x1d5)](_0x3bf39d){const _0x21af24=_0x38ae22;this[_0x21af24(0x213)][_0x21af24(0x293)](_0x3bf39d)||(this[_0x21af24(0x213)][_0x21af24(0x232)](_0x3bf39d),this[_0x21af24(0x202)][_0x21af24(0x1ca)](_0x3bf39d),this[_0x21af24(0x251)]||_0x21af24(0x287)==_0x3bf39d[_0x21af24(0x203)]&&!_0x3bf39d[_0x21af24(0x1f9)]||this[_0x21af24(0x2c6)]());}[_0x38ae22(0x1cf)](_0x1b41be=!0x1){const _0xa25ee7=_0x38ae22;!_0x1b41be&&this[_0xa25ee7(0x1ea)]||(this[_0xa25ee7(0x1ea)]=!0x0,clearTimeout(this[_0xa25ee7(0x2c0)]),this[_0xa25ee7(0x2c0)]=setTimeout(()=>{const _0x4a37ae=_0xa25ee7;this[_0x4a37ae(0x1d2)]()[_0x4a37ae(0x28d)](_0xa1d8b3=>{const _0x32c5a7=_0x4a37ae;_0xa1d8b3&&(this[_0x32c5a7(0x2bd)](),this[_0x32c5a7(0x1ea)]=!0x1);})[_0x4a37ae(0x1cb)](_0x49e950=>{const _0x5cadcb=_0x4a37ae;this[_0x5cadcb(0x2bd)](),this[_0x5cadcb(0x1ea)]=!0x1,function(_0x494c8c){const _0xe3ba9=_0x5cadcb;return _0x494c8c[_0xe3ba9(0x233)][_0xe3ba9(0x22d)](_0xe3ba9(0x2b6))||_0x494c8c[_0xe3ba9(0x233)][_0xe3ba9(0x22d)](_0xe3ba9(0x247))||_0x494c8c[_0xe3ba9(0x233)][_0xe3ba9(0x22d)](_0xe3ba9(0x285));}(_0x49e950)||this[_0x5cadcb(0x22f)](_0x49e950[_0x5cadcb(0x233)],_0x49e950);});},this[_0xa25ee7(0x2a5)]));}[_0x38ae22(0x26f)](){return new Promise(_0x245ceb=>{const _0x556930=_0x2431;this['on'](_0x556930(0x295),()=>{_0x245ceb();});});}async[_0x38ae22(0x1d2)](){const _0xb9ad79=_0x38ae22,_0x3ba84d=this[_0xb9ad79(0x1ff)][_0xb9ad79(0x227)][_0xb9ad79(0x268)](_0xe49e78);if(this[_0xb9ad79(0x1e3)]()&&(_0x3ba84d[_0xb9ad79(0x217)](),this[_0xb9ad79(0x221)]=!0x1),!this[_0xb9ad79(0x241)]())return!0x0;const _0x1fbbd8=[...this[_0xb9ad79(0x202)]];for(const _0x419e46 of _0x1fbbd8)_0x419e46[_0xb9ad79(0x219)]=this[_0xb9ad79(0x1c6)][_0xb9ad79(0x1df)][_0xb9ad79(0x1e5)](_0x419e46);const _0x52e8ec=this[_0xb9ad79(0x270)][_0xb9ad79(0x210)](_0x1fbbd8),_0x459102=G++,_0x3c161e=this[_0xb9ad79(0x271)](_0x1fbbd8),_0x2c3c33=await this[_0xb9ad79(0x229)][_0xb9ad79(0x1c8)](_0x3c161e,_0x3c161e[_0xb9ad79(0x2c4)],_0x52e8ec);try{return await this[_0xb9ad79(0x204)](_0x1fbbd8,_0x2c3c33,_0x459102);}catch(_0x4d481c){return this[_0xb9ad79(0x22f)](_0xb9ad79(0x275),_0x4d481c);}}async[_0x38ae22(0x204)](_0x4b7c00,_0xc13d92,_0x49efb7){const _0x457bc5=_0x38ae22;if(_0x457bc5(0x224)in _0xc13d92)throw _0xc13d92[_0x457bc5(0x224)];let _0x1dfcf1=!0x1;if(_0xc13d92[_0x457bc5(0x256)]){_0xc13d92[_0x457bc5(0x1e6)]&&(this[_0x457bc5(0x2aa)]=_0xc13d92[_0x457bc5(0x1e6)]),this[_0x457bc5(0x202)]=this[_0x457bc5(0x202)][_0x457bc5(0x29f)](_0xb387cf=>!_0x4b7c00[_0x457bc5(0x281)](_0xb387cf));for(const _0x526e2e of _0x4b7c00)_0x526e2e[_0x457bc5(0x298)]=_0x457bc5(0x290)in _0xc13d92&&_0xc13d92[_0x457bc5(0x290)]||void 0x0;K(_0x4b7c00,_0xc13d92[_0x457bc5(0x236)]-_0x4b7c00[_0x457bc5(0x1de)]),this[_0x457bc5(0x259)](_0x4b7c00);const _0x32cf99=_0x4b7c00[_0x457bc5(0x29f)](_0xe4a0ce=>{const _0x5b5e47=_0x457bc5;if(!_0xe4a0ce[_0x5b5e47(0x25b)])return!0x1;const _0x18a91b=this[_0x5b5e47(0x24b)](_0xe4a0ce);return _0x18a91b&&!this[_0x5b5e47(0x201)][_0x5b5e47(0x293)](_0x18a91b);});K(_0x32cf99,this[_0x457bc5(0x1c6)][_0x457bc5(0x236)]),this[_0x457bc5(0x1f7)](_0x32cf99),_0x1dfcf1=!0x0,this[_0x457bc5(0x2a5)]=this[_0x457bc5(0x22e)];}else{const _0x5448e5=this[_0x457bc5(0x23a)](_0xc13d92[_0x457bc5(0x1c5)],_0xc13d92[_0x457bc5(0x24f)])[_0x457bc5(0x29f)](_0xb7e039=>_0xb7e039[_0x457bc5(0x2c4)]>=this[_0x457bc5(0x20c)]);_0x5448e5[_0x457bc5(0x2bb)](_0x5dc747=>this[_0x457bc5(0x1e9)](_0x5dc747)),this[_0x457bc5(0x202)]=this[_0x457bc5(0x202)][_0x457bc5(0x29f)](_0x26305e=>!_0x26305e[_0x457bc5(0x25b)]||!this[_0x457bc5(0x201)][_0x457bc5(0x293)](this[_0x457bc5(0x24b)](_0x26305e))),this[_0x457bc5(0x202)][_0x457bc5(0x1de)]&&K(this[_0x457bc5(0x202)],this[_0x457bc5(0x202)][0x0][_0x457bc5(0x2c4)]),await this[_0x457bc5(0x216)](_0x5448e5),_0x1dfcf1=this[_0x457bc5(0x2af)](_0x5448e5,_0xc13d92[_0x457bc5(0x236)],_0xc13d92[_0x457bc5(0x1e6)]),this[_0x457bc5(0x2a5)]=Math[_0x457bc5(0x2ae)](this[_0x457bc5(0x2a5)]/0x2);}return _0x1dfcf1?!this[_0x457bc5(0x241)]()||(this[_0x457bc5(0x1cf)](!0x0),!0x1):this[_0x457bc5(0x22f)](_0x457bc5(0x250));}[_0x38ae22(0x2af)](_0x1a514f,_0x1f89f7,_0x3c575e){const _0x28c6c0=_0x38ae22;try{const _0x1b4593={'document':this[_0x28c6c0(0x1c6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44aee6,operationsB:_0x23af5e,originalOperations:_0x8d208b}=_0x201237(_0x1a514f,this[_0x28c6c0(0x202)],_0x1b4593);K(_0x44aee6,this[_0x28c6c0(0x1c6)][_0x28c6c0(0x236)]),K(_0x23af5e,_0x1f89f7);for(const _0x19b45b of _0x44aee6){const _0x179563=_0x8d208b[_0x28c6c0(0x268)](_0x19b45b);_0x19b45b[_0x28c6c0(0x200)]=_0x179563?_0x179563[_0x28c6c0(0x200)]:null;}_0x3c575e&&(this[_0x28c6c0(0x270)][_0x28c6c0(0x25c)](_0x1a514f,_0x3c575e),this[_0x28c6c0(0x2aa)]=_0x3c575e),this[_0x28c6c0(0x202)]=[..._0x23af5e],this[_0x28c6c0(0x1f7)](_0x44aee6),this[_0x28c6c0(0x259)](_0x1a514f);}catch(_0x277348){return console[_0x28c6c0(0x224)](_0x277348),!0x1;}return!0x0;}[_0x38ae22(0x1f7)](_0x14c613,_0x4269e2=!0x1){const _0x10f86b=_0x38ae22;this[_0x10f86b(0x1ff)][_0x10f86b(0x1c7)][_0x10f86b(0x257)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3100f1=>{const _0x12dfd0=_0x10f86b;for(const _0x1de4e0 of _0x14c613)this[_0x12dfd0(0x213)][_0x12dfd0(0x232)](_0x1de4e0),this[_0x12dfd0(0x1e9)](_0x1de4e0),_0x3100f1[_0x12dfd0(0x242)][_0x12dfd0(0x208)](_0x1de4e0),this[_0x12dfd0(0x1ff)][_0x12dfd0(0x1c7)][_0x12dfd0(0x212)](_0x1de4e0);});}[_0x38ae22(0x1e9)](_0x5b2072){const _0x1ca103=_0x38ae22,_0x275d67=this[_0x1ca103(0x24b)](_0x5b2072);_0x275d67&&this[_0x1ca103(0x201)][_0x1ca103(0x232)](_0x275d67);}[_0x38ae22(0x24b)](_0x26fb24){const _0x231c2e=_0x38ae22;let _0x2682d5,_0x653119;switch(_0x26fb24[_0x231c2e(0x203)]){case _0x231c2e(0x2a4):_0x2682d5=_0x26fb24[_0x231c2e(0x274)][_0x231c2e(0x1e4)];break;case _0x231c2e(0x287):if(_0x653119=_0x26fb24[_0x231c2e(0x28f)],!_0x653119)return null;_0x2682d5=_0x653119[_0x231c2e(0x1e4)];break;case _0x231c2e(0x276):_0x2682d5=_0x26fb24[_0x231c2e(0x1e4)];break;case _0x231c2e(0x1fb):_0x2682d5=_0x26fb24[_0x231c2e(0x284)];break;case _0x231c2e(0x23c):_0x2682d5=_0x26fb24[_0x231c2e(0x231)][_0x231c2e(0x1e4)];break;default:return null;}return _0x2682d5[_0x231c2e(0x20f)];}[_0x38ae22(0x259)](_0x23b56e){const _0x2c4787=_0x38ae22;_0x23b56e[_0x2c4787(0x2bb)](_0x4d2a0a=>{const _0x41a57b=_0x2c4787,_0x339bef=_0x4d2a0a[_0x41a57b(0x21c)]();_0x339bef[_0x41a57b(0x200)]=_0x4d2a0a[_0x41a57b(0x200)],_0x339bef[_0x41a57b(0x25b)]=!!_0x4d2a0a[_0x41a57b(0x25b)],_0x339bef[_0x41a57b(0x298)]=_0x4d2a0a[_0x41a57b(0x298)],_0x339bef[_0x41a57b(0x2c4)]+=this[_0x41a57b(0x29d)],_0x4d2a0a[_0x41a57b(0x286)]&&this[_0x41a57b(0x2a7)][_0x41a57b(0x232)](_0x339bef),this[_0x41a57b(0x273)][_0x41a57b(0x208)](_0x339bef);});}[_0x38ae22(0x239)](_0x2d0df6){const _0x6057c3=_0x38ae22,_0x8416d3=this[_0x6057c3(0x1ff)][_0x6057c3(0x227)][_0x6057c3(0x268)](_0x6057c3(0x27b)),_0x1ea171=this[_0x6057c3(0x1ff)][_0x6057c3(0x244)];_0x2d0df6||(_0x2d0df6=_0x103e7a(_0x1ea171,_0x6057c3(0x223))),_0x8416d3[_0x6057c3(0x226)](_0x2d0df6,{'title':_0x103e7a(_0x1ea171,_0x6057c3(0x24e)),'namespace':_0x6057c3(0x1ce)}),this[_0x6057c3(0x1f6)]=!0x0,clearTimeout(this[_0x6057c3(0x2c0)]),this[_0x6057c3(0x202)]=[],this[_0x6057c3(0x1ff)][_0x6057c3(0x227)][_0x6057c3(0x268)](_0x3da049)[_0x6057c3(0x211)]();}[_0x38ae22(0x2c6)](){const _0x359a96=_0x38ae22;this[_0x359a96(0x251)]||(this[_0x359a96(0x251)]=this[_0x359a96(0x1ff)][_0x359a96(0x227)][_0x359a96(0x268)](_0x106abb)[_0x359a96(0x232)](_0x103e7a(this[_0x359a96(0x1ff)][_0x359a96(0x244)],_0x359a96(0x26c))));}[_0x38ae22(0x2bd)](){const _0x53cf0b=_0x38ae22;this[_0x53cf0b(0x251)]&&(this[_0x53cf0b(0x1ff)][_0x53cf0b(0x227)][_0x53cf0b(0x268)](_0x106abb)[_0x53cf0b(0x26e)](this[_0x53cf0b(0x251)]),this[_0x53cf0b(0x251)]=null);}[_0x38ae22(0x271)](_0x5333b4){const _0x44302a=_0x38ae22,_0x2de834=_0x5333b4[_0x44302a(0x1db)](_0x2b09fa=>_0x2b09fa[_0x44302a(0x1fd)]());return this[_0x44302a(0x294)][_0x44302a(0x2c5)](_0x2de834);}[_0x38ae22(0x23a)](_0x1e13f0,_0x3eeb8a){const _0x52a2c2=_0x38ae22;return this[_0x52a2c2(0x294)][_0x52a2c2(0x1e7)](_0x1e13f0)[_0x52a2c2(0x1db)]((_0x2914c6,_0x2d6597)=>{const _0x4b6969=_0x52a2c2,_0xb2a907=_0x4b6969(0x267)==_0x3eeb8a[_0x2d6597][_0x4b6969(0x203)];if(_0x4b6969(0x2b4)==_0x2914c6[_0x4b6969(0x220)]){const _0x1cb3bf=_0x2914c6[_0x4b6969(0x274)][_0x4b6969(0x1e4)];!this[_0x4b6969(0x1c6)][_0x4b6969(0x2ba)](_0x1cb3bf)&&(this[_0x4b6969(0x1c6)][_0x4b6969(0x21b)](_0x4b6969(0x2c8),_0x1cb3bf)[_0x4b6969(0x27d)]=!0x1);}const _0x5d5230=_0x30cd3b[_0x4b6969(0x260)](_0x2914c6,this[_0x4b6969(0x1c6)]);return _0x5d5230[_0x4b6969(0x219)]=_0x2914c6[_0x4b6969(0x219)],_0x5d5230[_0x4b6969(0x25b)]=_0xb2a907,_0x5d5230[_0x4b6969(0x200)]=_0xb2a907?null:_0x3eeb8a[_0x2d6597][_0x4b6969(0x1d1)],_0x5d5230[_0x4b6969(0x286)]=_0x4b6969(0x2a6)===_0x3eeb8a[_0x2d6597][_0x4b6969(0x203)],_0x5d5230[_0x4b6969(0x298)]=_0x3eeb8a[_0x2d6597][_0x4b6969(0x298)],_0x5d5230;});}[_0x38ae22(0x29b)](){const _0x4d2494=_0x38ae22;this[_0x4d2494(0x221)]=!0x0,this[_0x4d2494(0x1e3)]()?this[_0x4d2494(0x1cf)]():this[_0x4d2494(0x221)]=!0x1;}[_0x38ae22(0x1e3)](){const _0x158a24=_0x38ae22,_0x128354=this[_0x158a24(0x1ff)][_0x158a24(0x227)][_0x158a24(0x268)](_0x257127)[_0x158a24(0x2b3)][_0x158a24(0x268)](this[_0x158a24(0x238)]);return!this[_0x158a24(0x1ff)][_0x158a24(0x258)]&&!!_0x128354&&_0x128354[_0x158a24(0x1de)]>0x1&&this[_0x158a24(0x221)];}[_0x38ae22(0x241)](){const _0x469cd8=_0x38ae22;return this[_0x469cd8(0x202)][_0x469cd8(0x1de)]>0x0||this[_0x469cd8(0x1e3)]();}}class $ extends Error{}function K(_0x1009a7,_0x5977ca){const _0x2015eb=_0x38ae22;for(const _0x3bc647 of _0x1009a7)_0x3bc647[_0x2015eb(0x2c4)]=_0x5977ca++;}class J{[_0x38ae22(0x1d3)];[_0x38ae22(0x2be)];constructor(_0x28d478){const _0x516cd5=_0x38ae22;this[_0x516cd5(0x1d3)]=_0x28d478,this[_0x516cd5(0x2be)]=new WeakMap();}[_0x38ae22(0x210)](_0x3a438e){const _0x63787f=_0x38ae22;let _0x20ba2e=_0x3a438e[_0x63787f(0x1de)];for(;_0x20ba2e--;){const _0x49c9b8=_0x3a438e[_0x20ba2e];if(!this[_0x63787f(0x1d3)][_0x63787f(0x293)](_0x49c9b8)){if(!this[_0x63787f(0x2be)][_0x63787f(0x293)](_0x49c9b8)){const _0x470031=_0x34c94e()[_0x63787f(0x1ec)](0x1,0x12);this[_0x63787f(0x2be)][_0x63787f(0x2b0)](_0x49c9b8,_0x470031);}return this[_0x63787f(0x2be)][_0x63787f(0x268)](_0x49c9b8);}}}[_0x38ae22(0x25c)](_0x1afc20,_0x2716f6){const _0x5a9155=_0x38ae22;if(!_0x2716f6)return;let _0x5e4d2b=_0x1afc20[_0x5a9155(0x1de)];for(;_0x5e4d2b--;){const _0x1c52a6=_0x1afc20[_0x5e4d2b];this[_0x5a9155(0x1d3)][_0x5a9155(0x293)](_0x1c52a6)||this[_0x5a9155(0x2be)][_0x5a9155(0x2b0)](_0x1c52a6,_0x2716f6);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x238a(_0x57c731,_0x279b59){const _0x4139b8=_0x4139();return _0x238a=function(_0x238a01,_0x8bfce2){_0x238a01=_0x238a01-0xfc;let _0x49608a=_0x4139b8[_0x238a01];return _0x49608a;},_0x238a(_0x57c731,_0x279b59);}function _0x4139(){const _0x578021=['Sessions','remove','change:state','stopListening','1332840sTuhol','sessionAdd:','_users','sessions-register-already-registered','1796388eHrPcl','getUserSessions','listenTo','2207478BdnmgK','forEach','context','connected','_handleSessionAdd','values','13968yHISnr','channelSessions','fire','getUserRole','requires','hiddenInPresenceList','has','isPremiumPlugin','init','sessionId','assign','_handleSessionRemove','set','3566304qBrBns','role','orderNumber','pluginName','get','allConnectedUsers','111SRsgju','defineMe','3940440btfbCI','user','connection','_registeredSessions','state','130UhFotz','clear','add','delete','plugins','size','register','mySessionId','unregister','isMe','addUser','getUser','_uniqueUsersCount','channelConnectedUsers','_createUser','sessions-unregister-not-exist','148828DhOovb','isOfficialPlugin','getUserBySessionId'];_0x4139=function(){return _0x578021;};return _0x4139();}const _0x442ef5=_0x238a;(function(_0xcdc0ef,_0x12fdee){const _0x10c05e=_0x238a,_0x2acba2=_0xcdc0ef();while(!![]){try{const _0x51cbd5=parseInt(_0x10c05e(0x100))/0x1+parseInt(_0x10c05e(0x104))/0x2+-parseInt(_0x10c05e(0x120))/0x3*(parseInt(_0x10c05e(0x137))/0x4)+-parseInt(_0x10c05e(0x127))/0x5*(-parseInt(_0x10c05e(0x10d))/0x6)+-parseInt(_0x10c05e(0x107))/0x7+parseInt(_0x10c05e(0x122))/0x8+-parseInt(_0x10c05e(0x11a))/0x9;if(_0x51cbd5===_0x12fdee)break;else _0x2acba2['push'](_0x2acba2['shift']());}catch(_0x37cffe){_0x2acba2['push'](_0x2acba2['shift']());}}}(_0x4139,0xa9e28));import{ContextPlugin as _0x26ba1b}from'ckeditor5/src/core.js';import{Collection as _0x35baed,CKEditorError as _0x3a9e39}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4375b8}from'./websocketgateway.js';import{Users as _0x42d5e3}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x26ba1b{[_0x442ef5(0x10e)];[_0x442ef5(0x134)];[_0x442ef5(0x11f)];[_0x442ef5(0x125)];[_0x442ef5(0x133)];[_0x442ef5(0x102)];static get[_0x442ef5(0x11d)](){const _0x23538e=_0x442ef5;return _0x23538e(0xfc);}static get[_0x442ef5(0x138)](){return!0x0;}static get[_0x442ef5(0x114)](){return!0x0;}static get[_0x442ef5(0x111)](){return[_0x4375b8,_0x42d5e3];}constructor(_0x3cad67){const _0x31fabc=_0x442ef5;super(_0x3cad67),this[_0x31fabc(0x10e)]=new Map(),this[_0x31fabc(0x134)]=new Map(),this[_0x31fabc(0x11f)]=new _0x35baed(),this[_0x31fabc(0x125)]=new Map(),this[_0x31fabc(0x133)]=0x0,this[_0x31fabc(0x102)]=this[_0x31fabc(0x109)][_0x31fabc(0x12b)][_0x31fabc(0x11e)](_0x42d5e3);}[_0x442ef5(0x115)](){const _0x53d75d=_0x442ef5,_0x59e755=this[_0x53d75d(0x109)][_0x53d75d(0x12b)][_0x53d75d(0x11e)](_0x4375b8);this[_0x53d75d(0x106)](_0x59e755,_0x53d75d(0xfe),(_0x1a07b8,_0x49a786,_0xdbf9f2)=>{const _0x27d3d2=_0x53d75d;if(_0x27d3d2(0x10a)!==_0xdbf9f2)this[_0x27d3d2(0x10e)][_0x27d3d2(0x108)](_0x28176f=>_0x28176f[_0x27d3d2(0x128)]()),this[_0x27d3d2(0x134)][_0x27d3d2(0x108)](_0x57ac4b=>_0x57ac4b[_0x27d3d2(0x128)]()),this[_0x27d3d2(0x11f)][_0x27d3d2(0x128)]();else{for(const [_0x50025c,_0x43c275]of this[_0x27d3d2(0x125)])for(const _0x43b032 of _0x43c275)this[_0x27d3d2(0x10b)](_0x50025c,_0x43b032);}}),this[_0x53d75d(0x135)](_0x59e755[_0x53d75d(0x124)]['me'],!0x0);}[_0x442ef5(0x12d)](_0x2395d5,_0x1bb2ab){const _0x401437=_0x442ef5;if(this[_0x401437(0x125)][_0x401437(0x113)](_0x2395d5))throw new _0x3a9e39(_0x401437(0x103),null,{'channelId':_0x2395d5});this[_0x401437(0x125)][_0x401437(0x119)](_0x2395d5,_0x1bb2ab),this[_0x401437(0x10e)][_0x401437(0x119)](_0x2395d5,new _0x35baed()),this[_0x401437(0x134)][_0x401437(0x119)](_0x2395d5,new _0x35baed()),this[_0x401437(0x106)](_0x1bb2ab,_0x401437(0x129),(_0x5d72c9,_0x157547)=>this[_0x401437(0x10b)](_0x2395d5,_0x157547)),this[_0x401437(0x106)](_0x1bb2ab,_0x401437(0xfd),(_0x9ebb69,_0x37c1a1)=>this[_0x401437(0x118)](_0x2395d5,_0x37c1a1));for(const _0x270c9a of _0x1bb2ab)this[_0x401437(0x10b)](_0x2395d5,_0x270c9a);}[_0x442ef5(0x12f)](_0x467ba9){const _0x4bf530=_0x442ef5;if(!this[_0x4bf530(0x125)][_0x4bf530(0x113)](_0x467ba9))throw new _0x3a9e39(_0x4bf530(0x136),null,{'channelId':_0x467ba9});const _0x491854=this[_0x4bf530(0x125)][_0x4bf530(0x11e)](_0x467ba9);this[_0x4bf530(0xff)](_0x491854);for(const _0x4b8c22 of _0x491854)_0x4bf530(0x10a)===this[_0x4bf530(0x109)][_0x4bf530(0x12b)][_0x4bf530(0x11e)](_0x4375b8)[_0x4bf530(0x126)]&&this[_0x4bf530(0x118)](_0x467ba9,_0x4b8c22);this[_0x4bf530(0x125)][_0x4bf530(0x12a)](_0x467ba9),this[_0x4bf530(0x10e)][_0x4bf530(0x12a)](_0x467ba9),this[_0x4bf530(0x134)][_0x4bf530(0x12a)](_0x467ba9);}get[_0x442ef5(0x12e)](){const _0x361af3=_0x442ef5;return this[_0x361af3(0x109)][_0x361af3(0x12b)][_0x361af3(0x11e)](_0x4375b8)[_0x361af3(0x124)][_0x361af3(0x116)];}[_0x442ef5(0x139)](_0x427c43){const _0x29a1db=_0x442ef5;for(const _0x2e257e of this[_0x29a1db(0x10e)][_0x29a1db(0x10c)]())for(const _0x297b57 of _0x2e257e)if(_0x297b57['id']===_0x427c43)return _0x297b57[_0x29a1db(0x123)];}[_0x442ef5(0x105)](_0x8753c8,_0x1c621c){const _0x1a455f=_0x442ef5,_0x5d310e=_0x1c621c?[this[_0x1a455f(0x10e)][_0x1a455f(0x11e)](_0x1c621c)]:this[_0x1a455f(0x10e)][_0x1a455f(0x10c)](),_0x5d450a=new Set();for(const _0x27361a of _0x5d310e)for(const _0x2fe831 of _0x27361a)_0x2fe831[_0x1a455f(0x123)]['id']===_0x8753c8['id']&&_0x5d450a[_0x1a455f(0x129)](_0x2fe831['id']);return _0x5d450a;}[_0x442ef5(0x110)](_0x176aa5){const _0x255231=_0x442ef5;for(const _0x152333 of this[_0x255231(0x10e)][_0x255231(0x10c)]())for(const _0x3cb781 of _0x152333)if(_0x3cb781[_0x255231(0x123)]===_0x176aa5)return _0x3cb781[_0x255231(0x11b)];}[_0x442ef5(0x10b)](_0x12b7c9,_0xd0230e){const _0x55f57e=_0x442ef5;if(_0x55f57e(0x10a)!==this[_0x55f57e(0x109)][_0x55f57e(0x12b)][_0x55f57e(0x11e)](_0x4375b8)[_0x55f57e(0x126)])return;const _0x391ca5=_0xd0230e[_0x55f57e(0x123)],_0x46ccb9=this[_0x55f57e(0x102)][_0x55f57e(0x132)](_0x391ca5['id'])||this[_0x55f57e(0x135)](_0x391ca5),_0x48ffb8=Object[_0x55f57e(0x117)]({},_0xd0230e,{'user':_0x46ccb9});if(this[_0x55f57e(0x10e)][_0x55f57e(0x11e)](_0x12b7c9)[_0x55f57e(0x129)](_0x48ffb8),!_0x391ca5[_0x55f57e(0x112)]){const _0xf8719c=this[_0x55f57e(0x134)][_0x55f57e(0x11e)](_0x12b7c9);_0xf8719c[_0x55f57e(0x113)](_0x46ccb9['id'])||_0xf8719c[_0x55f57e(0x129)](_0x46ccb9),this[_0x55f57e(0x11f)][_0x55f57e(0x113)](_0x46ccb9['id'])||_0x391ca5[_0x55f57e(0x112)]||this[_0x55f57e(0x11f)][_0x55f57e(0x129)](_0x46ccb9,_0x46ccb9[_0x55f57e(0x130)]?0x0:void 0x0);}this[_0x55f57e(0x10f)](_0x55f57e(0x101)+_0x12b7c9,{'channelId':_0x12b7c9,'session':_0x48ffb8});}[_0x442ef5(0x118)](_0xdc126,_0x15ff19){const _0x47cd55=_0x442ef5;if(_0x47cd55(0x10a)!==this[_0x47cd55(0x109)][_0x47cd55(0x12b)][_0x47cd55(0x11e)](_0x4375b8)[_0x47cd55(0x126)])return;const _0x18f2fd=this[_0x47cd55(0x134)][_0x47cd55(0x11e)](_0xdc126),_0x2d7e7e=_0x15ff19[_0x47cd55(0x123)];_0x2d7e7e['id']&&(this[_0x47cd55(0x10e)][_0x47cd55(0x11e)](_0xdc126)[_0x47cd55(0xfd)](_0x15ff19['id']),_0x18f2fd[_0x47cd55(0x113)](_0x2d7e7e['id'])&&!this[_0x47cd55(0x105)](_0x2d7e7e,_0xdc126)[_0x47cd55(0x12c)]&&_0x18f2fd[_0x47cd55(0xfd)](_0x2d7e7e['id']),this[_0x47cd55(0x11f)][_0x47cd55(0x11e)](_0x2d7e7e['id'])&&!this[_0x47cd55(0x105)](_0x2d7e7e)[_0x47cd55(0x12c)]&&this[_0x47cd55(0x11f)][_0x47cd55(0xfd)](_0x2d7e7e['id']));}[_0x442ef5(0x135)](_0x48698c,_0x150bee){const _0x53d5a6=_0x442ef5,_0x5a8adc=this[_0x53d5a6(0x102)][_0x53d5a6(0x131)](_0x48698c);return _0x150bee&&this[_0x53d5a6(0x102)][_0x53d5a6(0x121)](_0x48698c['id']),_0x5a8adc[_0x53d5a6(0x11c)]=this[_0x53d5a6(0x133)]++,_0x5a8adc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bc87f=_0x3f64;(function(_0x46def3,_0xd8725e){const _0x38ee0b=_0x3f64,_0x4aec59=_0x46def3();while(!![]){try{const _0x35bdd5=-parseInt(_0x38ee0b(0x130))/0x1+parseInt(_0x38ee0b(0x18b))/0x2+-parseInt(_0x38ee0b(0x15d))/0x3+parseInt(_0x38ee0b(0x145))/0x4*(parseInt(_0x38ee0b(0x157))/0x5)+-parseInt(_0x38ee0b(0x17b))/0x6+-parseInt(_0x38ee0b(0x13f))/0x7+parseInt(_0x38ee0b(0x117))/0x8;if(_0x35bdd5===_0xd8725e)break;else _0x4aec59['push'](_0x4aec59['shift']());}catch(_0x19badb){_0x4aec59['push'](_0x4aec59['shift']());}}}(_0x3723,0x45c08));function _0x3f64(_0x1e088b,_0x2041f9){const _0x37234c=_0x3723();return _0x3f64=function(_0x3f6490,_0x360223){_0x3f6490=_0x3f6490-0x112;let _0x1756a8=_0x37234c[_0x3f6490];return _0x1756a8;},_0x3f64(_0x1e088b,_0x2041f9);}import{Plugin as _0x536526}from'ckeditor5/src/core.js';import{global as _0x5b8abf,DomEmitterMixin as _0x9ccdb3}from'ckeditor5/src/utils.js';import{Sessions as _0x221bf1}from'./sessions.js';import{ModelLiveRange as _0x335d88}from'ckeditor5/src/engine.js';function _0x3723(){const _0x24fff0=['getSelectionClass','remove','124bYvwnK','toDomElement','contenteditable','createUIElement','markerNameToElements','user:','split','listenTo','outerHTML','afterInit','conversion','schema','getAttribute','type','view','user:range:','$graveyard','updateMarker','39230DFoaCZ','pluginName','hasDomSelection','spellcheck','editing','mouseenter','1536156vriRJT','innerHTML','removeMarker','tableCell','highest','clear','createElement','set','classList','ck-user__marker_hovered','delete','markerRange','ck-user__marker\x20','batch','toRange','nodeAfter','rootName','fromRange','isCollapsed','start','markerToElement','getContainedElement','oldRange','ck-user__marker-tooltip','applyOperation','mouseleave','getUserBySessionId','markers','name','keydown','1886304aRzfLm','user:position','_domEmitter','addMarker','enqueueChange','userPositionMarker','has','isInline','init','user:range','plugins','markerToHighlight','selection','change','destroy','isLimit','1035128ukUfUq','detach','get','ck-user__selection','for','false','document','editor','addEventListener','add','span','orderNumber','UserMarkers','_createdBatches','isSimilar','getNearestSelectionRange','stopListening','marker','data-session-id','size','getPositions','6858144kEBbXv','undo','color','markerName','commands','createRange','root','deletionPosition','model','mapper','newRange','isOfficialPlugin','Escape','reconvertMarker','render','checkChild','textContent','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','update:user:range','end','parent','isObject','user:position:','element','requires','65479JPAimF','getRange','getFirstRange','getCustomProperty','removeClass','startsWith','mySessionId','setAttribute','isPremiumPlugin','hasContent','getMarkerClass','$text','setCustomProperty','editingDowncast','change:range','3083073Hbtbfr','createUserMarkerOperations','isDocumentOperation','getStart'];_0x3723=function(){return _0x24fff0;};return _0x3723();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x536526{[_0x1bc87f(0x17d)]=new(_0x9ccdb3())();static get[_0x1bc87f(0x12f)](){return[_0x221bf1];}static get[_0x1bc87f(0x158)](){const _0x8e6d68=_0x1bc87f;return _0x8e6d68(0x197);}static get[_0x1bc87f(0x122)](){return!0x0;}static get[_0x1bc87f(0x138)](){return!0x0;}[_0x1bc87f(0x183)](){const _0x12d1c6=_0x1bc87f,_0x3075e1=this[_0x12d1c6(0x192)],_0x584338=_0x3075e1[_0x12d1c6(0x185)][_0x12d1c6(0x18d)](_0x221bf1);_0x3075e1[_0x12d1c6(0x14f)][_0x12d1c6(0x18f)](_0x12d1c6(0x13d))[_0x12d1c6(0x171)]({'model':_0x12d1c6(0x17c),'view':(_0x4c3f9e,{writer:_0x1f6b37})=>function(_0x17b99e,_0x28ed4,_0x47239c,_0x5667dc){const _0xf70ba9=_0x12d1c6,_0x11f7ba=_0x17b99e[_0xf70ba9(0x11a)][_0xf70ba9(0x14b)](':')[0x2],_0x4cc746=_0x47239c[_0xf70ba9(0x177)](_0x11f7ba);if(!_0x4cc746||_0x11f7ba===_0x47239c[_0xf70ba9(0x136)])return;if(!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)][_0xf70ba9(0x126)](_0x17b99e[_0xf70ba9(0x168)][_0xf70ba9(0x170)],_0xf70ba9(0x13b)))return;const _0x285603={'class':_0xf70ba9(0x169)+_0x4cc746[_0xf70ba9(0x119)][_0xf70ba9(0x13a)](),'data-name':_0x4cc746[_0xf70ba9(0x179)],'data-session-id':_0x11f7ba},_0x36c446=_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x178)][_0xf70ba9(0x18d)](_0x17b99e[_0xf70ba9(0x11a)]),_0x469581=_0x36c446[_0xf70ba9(0x142)](),_0x457948=_0x469581[_0xf70ba9(0x16c)],_0xd57ccf=_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)];if(_0x457948&&_0xd57ccf[_0xf70ba9(0x12c)](_0x457948)&&_0xd57ccf[_0xf70ba9(0x182)](_0x457948)&&!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x178)][_0xf70ba9(0x18d)](_0xf70ba9(0x154)+_0x11f7ba)[_0xf70ba9(0x131)]()[_0xf70ba9(0x16f)])return;const _0x33fd94=_0x469581[_0xf70ba9(0x12b)];return _0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)][_0xf70ba9(0x18a)](_0x33fd94)&&!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x139)](_0x33fd94)&&(_0x285603[_0xf70ba9(0x147)]=!0x1),function(_0x112726,_0x4e31a3,_0x53c9ae){const _0x5d240f=_0xf70ba9,_0x1d0226=_0x112726[_0x5d240f(0x148)](_0x5d240f(0x195),_0x4e31a3);return _0x112726[_0x5d240f(0x13c)](_0x5d240f(0x180),!0x0,_0x1d0226),_0x1d0226[_0x5d240f(0x125)]=function(_0x254316){const _0x551994=_0x5d240f,_0x3f7981=this[_0x551994(0x146)](_0x254316),_0x1e90b4=document[_0x551994(0x163)](_0x551994(0x195));return _0x1e90b4[_0x551994(0x165)][_0x551994(0x194)](_0x551994(0x174)),_0x1e90b4[_0x551994(0x137)](_0x551994(0x147),_0x551994(0x190)),_0x1e90b4[_0x551994(0x137)](_0x551994(0x15a),_0x551994(0x190)),_0x1e90b4[_0x551994(0x127)]=_0x53c9ae[_0x551994(0x179)],_0x3f7981[_0x551994(0x15e)]=_0x551994(0x128)+_0x1e90b4[_0x551994(0x14d)]+'',_0x3f7981[_0x551994(0x193)](_0x551994(0x15c),()=>{const _0x11158e=_0x551994;_0x3f7981[_0x11158e(0x165)][_0x11158e(0x194)](_0x11158e(0x166));}),_0x3f7981[_0x551994(0x193)](_0x551994(0x176),()=>{const _0x5585a5=_0x551994;_0x3f7981[_0x5585a5(0x165)][_0x5585a5(0x144)](_0x5585a5(0x166));}),_0x3f7981;},_0x1d0226[_0x5d240f(0x199)]=function(_0x506d03){const _0x3c7811=_0x5d240f;return!(!this[_0x3c7811(0x133)](_0x3c7811(0x180))||!_0x506d03[_0x3c7811(0x133)](_0x3c7811(0x180))||this[_0x3c7811(0x151)](_0x3c7811(0x114))!=_0x506d03[_0x3c7811(0x151)](_0x3c7811(0x114)));},_0x1d0226;}(_0x28ed4,_0x285603,_0x4cc746);}(_0x4c3f9e,_0x1f6b37,_0x584338,_0x3075e1)}),_0x3075e1[_0x12d1c6(0x14f)][_0x12d1c6(0x18f)](_0x12d1c6(0x13d))[_0x12d1c6(0x186)]({'model':_0x12d1c6(0x184),'view':_0x22e1c6=>function(_0x49f313,_0x23d467){const _0x506021=_0x12d1c6,_0x79b270=_0x49f313[_0x506021(0x11a)][_0x506021(0x14b)](':')[0x2];if(_0x79b270===_0x23d467[_0x506021(0x136)])return null;const _0x590fa3=_0x23d467[_0x506021(0x177)](_0x79b270);if(!_0x590fa3)return{'id':_0x79b270,'classes':[]};return{'id':_0x79b270,'classes':[_0x506021(0x18e),_0x590fa3[_0x506021(0x119)][_0x506021(0x143)]()],'attributes':{'data-session-id':_0x79b270},'priority':0x7d0+_0x590fa3[_0x506021(0x196)]};}(_0x22e1c6,_0x584338)}),function(_0x9c607a){const _0x303da7=_0x12d1c6,_0x5a0614=_0x9c607a[_0x303da7(0x11f)],_0xedf9c9=new Map(),_0x531652=_0x9c607a[_0x303da7(0x185)][_0x303da7(0x18d)](_0x221bf1);_0x5a0614[_0x303da7(0x178)]['on'](_0x303da7(0x129),(_0x32cd9b,_0x3e6c10,_0x59a22a,_0x9fd3cc)=>{const _0x19a911=_0x303da7;if(!_0x9fd3cc&&_0xedf9c9[_0x19a911(0x18d)](_0x3e6c10[_0x19a911(0x179)]))return _0xedf9c9[_0x19a911(0x18d)](_0x3e6c10[_0x19a911(0x179)])[_0x19a911(0x18c)](),void _0xedf9c9[_0x19a911(0x167)](_0x3e6c10[_0x19a911(0x179)]);const _0x14a553=_0x3e6c10[_0x19a911(0x179)][_0x19a911(0x14b)](':')[0x2];if(_0x14a553===_0x531652[_0x19a911(0x136)])return;const _0x5d4e9d=_0x19a911(0x12d)+_0x14a553;_0x5a0614[_0x19a911(0x178)][_0x19a911(0x181)](_0x5d4e9d)&&_0x9c607a[_0x19a911(0x15b)][_0x19a911(0x124)](_0x5d4e9d),_0x3e6c10['on'](_0x19a911(0x13e),(_0xef2e9a,_0x169b18,_0x2e8f40)=>{const _0x55b0c1=_0x19a911;if(_0x55b0c1(0x155)!=_0x169b18[_0x55b0c1(0x11d)][_0x55b0c1(0x16d)]&&_0x55b0c1(0x155)==_0x3e6c10[_0x55b0c1(0x131)]()[_0x55b0c1(0x11d)][_0x55b0c1(0x16d)]&&!_0xedf9c9[_0x55b0c1(0x181)](_0x3e6c10[_0x55b0c1(0x179)])){const _0xa86563=_0x5a0614[_0x55b0c1(0x150)][_0x55b0c1(0x19a)](_0x2e8f40[_0x55b0c1(0x11e)]);if(_0xa86563){const _0x5a0992=_0x335d88[_0x55b0c1(0x16e)](_0xa86563);_0xedf9c9[_0x55b0c1(0x164)](_0x3e6c10[_0x55b0c1(0x179)],_0x5a0992),_0x5a0992['on'](_0x55b0c1(0x13e),(_0x32afd9,_0x271b63,_0x5a5bb0)=>{const _0x3b43c5=_0x55b0c1;if(_0x3b43c5(0x155)==_0x5a0992[_0x3b43c5(0x11d)][_0x3b43c5(0x16d)]){const _0x3d0fa3=_0x5a0614[_0x3b43c5(0x150)][_0x3b43c5(0x19a)](_0x5a5bb0[_0x3b43c5(0x11e)]);_0x3d0fa3?(_0x5a0992[_0x3b43c5(0x170)]=_0x3d0fa3[_0x3b43c5(0x170)],_0x5a0992[_0x3b43c5(0x12a)]=_0x3d0fa3[_0x3b43c5(0x12a)]):(_0xedf9c9[_0x3b43c5(0x167)](_0x3e6c10[_0x3b43c5(0x179)]),_0x5a0992[_0x3b43c5(0x18c)]());}});}}});}),_0x5a0614[_0x303da7(0x191)]['on'](_0x303da7(0x188),()=>{const _0x5398fd=_0x303da7;_0xedf9c9[_0x5398fd(0x115)]>0x0&&_0x5a0614[_0x5398fd(0x17f)]({'isUndoable':!0x1},_0x22b56d=>{const _0x5ecc2b=_0x5398fd;for(const [_0x205131,_0x5945f3]of _0xedf9c9)_0x5ecc2b(0x155)==_0x5a0614[_0x5ecc2b(0x178)][_0x5ecc2b(0x18d)](_0x205131)[_0x5ecc2b(0x131)]()[_0x5ecc2b(0x11d)][_0x5ecc2b(0x16d)]&&(q(_0x205131[_0x5ecc2b(0x14b)](':')[0x2],_0x5945f3[_0x5ecc2b(0x16b)](),_0x5a0614,_0x22b56d),_0x5945f3[_0x5ecc2b(0x18c)]());_0xedf9c9[_0x5ecc2b(0x162)]();});});}(_0x3075e1),this[_0x12d1c6(0x17d)][_0x12d1c6(0x14c)](_0x5b8abf[_0x12d1c6(0x191)],_0x12d1c6(0x17a),(_0x1f43a9,{key:_0x5d6987})=>{const _0x358235=_0x12d1c6;_0x358235(0x123)===_0x5d6987&&function(_0x1c5a9c){const _0x314e27=_0x358235;_0x1c5a9c[_0x314e27(0x15b)][_0x314e27(0x153)][_0x314e27(0x188)](_0x41d6b3=>{const _0x59a07b=_0x314e27;for(const _0x3f126b of _0x1c5a9c[_0x59a07b(0x11f)][_0x59a07b(0x178)]){if(!_0x3f126b[_0x59a07b(0x179)][_0x59a07b(0x135)](_0x59a07b(0x17c)))continue;const _0x326f1f=_0x1c5a9c[_0x59a07b(0x15b)][_0x59a07b(0x120)][_0x59a07b(0x149)](_0x3f126b[_0x59a07b(0x179)]);if(_0x326f1f){for(const _0x469131 of _0x326f1f)_0x41d6b3[_0x59a07b(0x134)](_0x59a07b(0x166),_0x469131);}}});}(_0x3075e1);},{'useCapture':!0x0});}[_0x1bc87f(0x14e)](){const _0x384227=_0x1bc87f,_0x53b189=this[_0x384227(0x192)],_0x5f45fa=_0x53b189[_0x384227(0x11b)][_0x384227(0x18d)](_0x384227(0x118));_0x5f45fa&&_0x53b189[_0x384227(0x11f)]['on'](_0x384227(0x175),(_0x27af90,_0xfbb288)=>{const _0x4158a8=_0x384227,_0x5efdb9=_0xfbb288[0x0];if(!_0x5efdb9[_0x4158a8(0x141)])return;if(_0x4158a8(0x113)!=_0x5efdb9[_0x4158a8(0x152)]||!_0x5efdb9[_0x4158a8(0x179)][_0x4158a8(0x135)](_0x4158a8(0x14a)))return;const _0x521d9d=_0x5efdb9[_0x4158a8(0x16a)];_0x5f45fa[_0x4158a8(0x198)][_0x4158a8(0x181)](_0x521d9d)&&(_0x5efdb9[_0x4158a8(0x121)]=_0x5efdb9[_0x4158a8(0x173)]?_0x53b189[_0x4158a8(0x11f)][_0x4158a8(0x11c)](_0x5efdb9[_0x4158a8(0x173)][_0x4158a8(0x170)],_0x5efdb9[_0x4158a8(0x173)][_0x4158a8(0x12a)]):null);},{'priority':_0x384227(0x161)});}[_0x1bc87f(0x189)](){const _0x137a60=_0x1bc87f;return this[_0x137a60(0x17d)][_0x137a60(0x112)](),super[_0x137a60(0x189)]();}[_0x1bc87f(0x140)](){const _0x1bd2ba=_0x1bc87f,_0x56cb7e=this[_0x1bd2ba(0x192)],_0x333e26=_0x56cb7e[_0x1bd2ba(0x11f)][_0x1bd2ba(0x191)],_0x2fe22a=_0x56cb7e[_0x1bd2ba(0x185)][_0x1bd2ba(0x18d)](_0x221bf1);_0x56cb7e[_0x1bd2ba(0x11f)][_0x1bd2ba(0x17f)]({'isUndoable':!0x1},_0x486f53=>{const _0x2582eb=_0x1bd2ba,_0x33b672=_0x2582eb(0x154)+_0x2fe22a[_0x2582eb(0x136)],_0xd14d6e=_0x2582eb(0x12d)+_0x2fe22a[_0x2582eb(0x136)],_0xa66bd=_0x56cb7e[_0x2582eb(0x11f)][_0x2582eb(0x178)][_0x2582eb(0x181)](_0x33b672);_0x56cb7e[_0x2582eb(0x15b)][_0x2582eb(0x153)][_0x2582eb(0x159)]?q(_0x2fe22a[_0x2582eb(0x136)],_0x333e26[_0x2582eb(0x187)][_0x2582eb(0x132)](),_0x56cb7e[_0x2582eb(0x11f)],_0x486f53):_0xa66bd&&(_0x486f53[_0x2582eb(0x15f)](_0x33b672),_0x486f53[_0x2582eb(0x15f)](_0xd14d6e));});}}function q(_0x3798a4,_0x49c938,_0xb80bbc,_0x2f7e3c){const _0x4ff699=_0x1bc87f,_0x2693dd=_0x4ff699(0x154)+_0x3798a4,_0x42d917=_0x4ff699(0x12d)+_0x3798a4,_0x22adf8=_0x49c938[_0x4ff699(0x172)]();let _0x356e10=_0x49c938[_0x4ff699(0x170)];if(_0x22adf8&&_0x22adf8['is'](_0x4ff699(0x12e),_0x4ff699(0x160))){const _0x19dc43=function(_0x5ac2ff,_0x56e41c){const _0x516bca=_0x4ff699;for(const _0x92f84e of _0x5ac2ff[_0x516bca(0x116)]())if(_0x56e41c[_0x516bca(0x150)][_0x516bca(0x126)](_0x92f84e,_0x516bca(0x13b)))return _0x92f84e;}(_0x49c938,_0xb80bbc);_0x19dc43&&(_0x356e10=_0x19dc43,_0x49c938=_0x2f7e3c[_0x4ff699(0x11c)](_0x356e10));}const _0x20d142=_0x2f7e3c[_0x4ff699(0x11c)](_0x356e10);_0xb80bbc[_0x4ff699(0x178)][_0x4ff699(0x181)](_0x2693dd)?(_0x2f7e3c[_0x4ff699(0x156)](_0x2693dd,{'range':_0x49c938}),_0x2f7e3c[_0x4ff699(0x156)](_0x42d917,{'range':_0x20d142})):(_0x2f7e3c[_0x4ff699(0x17e)](_0x2693dd,{'range':_0x49c938,'usingOperation':!0x0}),_0x2f7e3c[_0x4ff699(0x17e)](_0x42d917,{'range':_0x20d142,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x3edb4f=_0x3b9f;(function(_0x3299eb,_0x1b0bb0){const _0x324d74=_0x3b9f,_0x37b8c1=_0x3299eb();while(!![]){try{const _0xf31ad6=-parseInt(_0x324d74(0x25b))/0x1+-parseInt(_0x324d74(0x246))/0x2+parseInt(_0x324d74(0x200))/0x3*(-parseInt(_0x324d74(0x219))/0x4)+parseInt(_0x324d74(0x262))/0x5+parseInt(_0x324d74(0x24a))/0x6+-parseInt(_0x324d74(0x23b))/0x7+parseInt(_0x324d74(0x229))/0x8;if(_0xf31ad6===_0x1b0bb0)break;else _0x37b8c1['push'](_0x37b8c1['shift']());}catch(_0x451435){_0x37b8c1['push'](_0x37b8c1['shift']());}}}(_0x39d0,0x40c0a));import{Plugin as _0x176fcd}from'ckeditor5/src/core.js';import{global as _0x14144f,DomEmitterMixin as _0x1e13fb}from'ckeditor5/src/utils.js';function _0x3b9f(_0x5ab57e,_0x3b6c8b){const _0x39d03f=_0x39d0();return _0x3b9f=function(_0x3b9f8f,_0x24c08e){_0x3b9f8f=_0x3b9f8f-0x1e7;let _0x33e894=_0x39d03f[_0x3b9f8f];return _0x33e894;},_0x3b9f(_0x5ab57e,_0x3b6c8b);}import{Sessions as _0x1e179c}from'./sessions.js';import{ModelLiveRange as _0x2d91d6}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x39d0(){const _0x136fe2=['mySessionId','markerToElement','enqueueChange','change','view','pluginName','markerName','oldRange','destroy','applyOperation','mapper','getFirstRange','editingDowncast','mouseenter','8208088ZwWDIK','$graveyard','addEventListener','deletionPosition','color','Escape','UserMarkers','hasContent','false','contenteditable','$text','tableCell','plugins','start','clear','selection','highest','updateMarker','3614002OtxxQd','rootName','has','isSimilar','for','orderNumber','isCollapsed','conversion','checkChild','ck-user__marker\x20','isInline','900882cfshXH','stopListening','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','createElement','316212vvjmtz','root','user:position:','markerNameToElements','setCustomProperty','get','model','innerHTML','schema','isObject','_createdBatches','getMarkerClass','removeMarker','detach','ck-user__marker_hovered','change:range','isOfficialPlugin','116685lEXcWe','afterInit','newRange','textContent','commands','ck-user__marker-tooltip','marker','2142335fbEnXE','markers','user:','listenTo','delete','data-session-id','hasDomSelection','fromRange','init','keydown','split','parent','batch','undo','isPremiumPlugin','getAttribute','user:position','isDocumentOperation','toRange','nodeAfter','createUserMarkerOperations','startsWith','reconvertMarker','span','update:user:range','editing','remove','userPositionMarker','getSelectionClass','getContainedElement','markerToHighlight','mouseleave','user:range:','add','element','addMarker','getStart','render','set','27978irQMMn','document','ck-user__selection','getCustomProperty','getRange','spellcheck','classList','end','removeClass','setAttribute','name','size','getUserBySessionId','editor','isLimit','type','outerHTML','toDomElement','getPositions','markerRange','getNearestSelectionRange','requires','createRange','createUIElement','_domEmitter','68XoUXcN','user:range'];_0x39d0=function(){return _0x136fe2;};return _0x39d0();}export class UserMarkers extends _0x176fcd{[_0x3edb4f(0x218)]=new(_0x1e13fb())();static get[_0x3edb4f(0x215)](){return[_0x1e179c];}static get[_0x3edb4f(0x220)](){const _0x468edd=_0x3edb4f;return _0x468edd(0x22f);}static get[_0x3edb4f(0x25a)](){return!0x0;}static get[_0x3edb4f(0x1e7)](){return!0x0;}[_0x3edb4f(0x26a)](){const _0xe3bf47=_0x3edb4f,_0x4865a1=this[_0xe3bf47(0x20d)],_0x3cd1a6=_0x4865a1[_0xe3bf47(0x235)][_0xe3bf47(0x24f)](_0x1e179c);_0x4865a1[_0xe3bf47(0x242)][_0xe3bf47(0x23f)](_0xe3bf47(0x227))[_0xe3bf47(0x21c)]({'model':_0xe3bf47(0x1e9),'view':(_0xc90fb7,{writer:_0x54f197})=>function(_0x131341,_0x6efc59,_0xc6b30a,_0xaa8237){const _0x53f685=_0xe3bf47,_0x2ebef4=_0x131341[_0x53f685(0x221)][_0x53f685(0x26c)](':')[0x2],_0x6db9f1=_0xc6b30a[_0x53f685(0x20c)](_0x2ebef4);if(!_0x6db9f1||_0x2ebef4===_0xc6b30a[_0x53f685(0x21b)])return;if(!_0xaa8237[_0x53f685(0x250)][_0x53f685(0x252)][_0x53f685(0x243)](_0x131341[_0x53f685(0x213)][_0x53f685(0x236)],_0x53f685(0x233)))return;const _0x568435={'class':_0x53f685(0x244)+_0x6db9f1[_0x53f685(0x22d)][_0x53f685(0x255)](),'data-name':_0x6db9f1[_0x53f685(0x20a)],'data-session-id':_0x2ebef4},_0x4a3023=_0xaa8237[_0x53f685(0x250)][_0x53f685(0x263)][_0x53f685(0x24f)](_0x131341[_0x53f685(0x221)]),_0x4d6458=_0x4a3023[_0x53f685(0x1fd)](),_0x3d32a1=_0x4d6458[_0x53f685(0x1ec)],_0x5c47b3=_0xaa8237[_0x53f685(0x250)][_0x53f685(0x252)];if(_0x3d32a1&&_0x5c47b3[_0x53f685(0x253)](_0x3d32a1)&&_0x5c47b3[_0x53f685(0x245)](_0x3d32a1)&&!_0xaa8237[_0x53f685(0x250)][_0x53f685(0x263)][_0x53f685(0x24f)](_0x53f685(0x1f9)+_0x2ebef4)[_0x53f685(0x204)]()[_0x53f685(0x241)])return;const _0x372939=_0x4d6458[_0x53f685(0x26d)];return _0xaa8237[_0x53f685(0x250)][_0x53f685(0x252)][_0x53f685(0x20e)](_0x372939)&&!_0xaa8237[_0x53f685(0x250)][_0x53f685(0x230)](_0x372939)&&(_0x568435[_0x53f685(0x232)]=!0x1),function(_0x5c3e6f,_0x5feef1,_0x2e2cc1){const _0x2cd630=_0x53f685,_0x37bacd=_0x5c3e6f[_0x2cd630(0x217)](_0x2cd630(0x1f0),_0x5feef1);return _0x5c3e6f[_0x2cd630(0x24e)](_0x2cd630(0x1f4),!0x0,_0x37bacd),_0x37bacd[_0x2cd630(0x1fe)]=function(_0x57a9e1){const _0x48f199=_0x2cd630,_0x1784b3=this[_0x48f199(0x211)](_0x57a9e1),_0x384f61=document[_0x48f199(0x249)](_0x48f199(0x1f0));return _0x384f61[_0x48f199(0x206)][_0x48f199(0x1fa)](_0x48f199(0x260)),_0x384f61[_0x48f199(0x209)](_0x48f199(0x232),_0x48f199(0x231)),_0x384f61[_0x48f199(0x209)](_0x48f199(0x205),_0x48f199(0x231)),_0x384f61[_0x48f199(0x25e)]=_0x2e2cc1[_0x48f199(0x20a)],_0x1784b3[_0x48f199(0x251)]=_0x48f199(0x248)+_0x384f61[_0x48f199(0x210)]+'',_0x1784b3[_0x48f199(0x22b)](_0x48f199(0x228),()=>{const _0x5ae873=_0x48f199;_0x1784b3[_0x5ae873(0x206)][_0x5ae873(0x1fa)](_0x5ae873(0x258));}),_0x1784b3[_0x48f199(0x22b)](_0x48f199(0x1f8),()=>{const _0x4ea723=_0x48f199;_0x1784b3[_0x4ea723(0x206)][_0x4ea723(0x1f3)](_0x4ea723(0x258));}),_0x1784b3;},_0x37bacd[_0x2cd630(0x23e)]=function(_0x5a8793){const _0x174f0b=_0x2cd630;return!(!this[_0x174f0b(0x203)](_0x174f0b(0x1f4))||!_0x5a8793[_0x174f0b(0x203)](_0x174f0b(0x1f4))||this[_0x174f0b(0x1e8)](_0x174f0b(0x267))!=_0x5a8793[_0x174f0b(0x1e8)](_0x174f0b(0x267)));},_0x37bacd;}(_0x6efc59,_0x568435,_0x6db9f1);}(_0xc90fb7,_0x54f197,_0x3cd1a6,_0x4865a1)}),_0x4865a1[_0xe3bf47(0x242)][_0xe3bf47(0x23f)](_0xe3bf47(0x227))[_0xe3bf47(0x1f7)]({'model':_0xe3bf47(0x21a),'view':_0x2a2777=>function(_0xa35e80,_0x5cd8e0){const _0x57aac6=_0xe3bf47,_0x1afe9f=_0xa35e80[_0x57aac6(0x221)][_0x57aac6(0x26c)](':')[0x2];if(_0x1afe9f===_0x5cd8e0[_0x57aac6(0x21b)])return null;const _0x2e091a=_0x5cd8e0[_0x57aac6(0x20c)](_0x1afe9f);if(!_0x2e091a)return{'id':_0x1afe9f,'classes':[]};return{'id':_0x1afe9f,'classes':[_0x57aac6(0x202),_0x2e091a[_0x57aac6(0x22d)][_0x57aac6(0x1f5)]()],'attributes':{'data-session-id':_0x1afe9f},'priority':0x7d0+_0x2e091a[_0x57aac6(0x240)]};}(_0x2a2777,_0x3cd1a6)}),function(_0x1168f1){const _0x42b1f8=_0xe3bf47,_0x69707b=_0x1168f1[_0x42b1f8(0x250)],_0x5e0da2=new Map(),_0x37a5a1=_0x1168f1[_0x42b1f8(0x235)][_0x42b1f8(0x24f)](_0x1e179c);_0x69707b[_0x42b1f8(0x263)]['on'](_0x42b1f8(0x1f1),(_0x19dc39,_0x54a75e,_0x1e8a7c,_0x100c70)=>{const _0x446f48=_0x42b1f8;if(!_0x100c70&&_0x5e0da2[_0x446f48(0x24f)](_0x54a75e[_0x446f48(0x20a)]))return _0x5e0da2[_0x446f48(0x24f)](_0x54a75e[_0x446f48(0x20a)])[_0x446f48(0x257)](),void _0x5e0da2[_0x446f48(0x266)](_0x54a75e[_0x446f48(0x20a)]);const _0x297d31=_0x54a75e[_0x446f48(0x20a)][_0x446f48(0x26c)](':')[0x2];if(_0x297d31===_0x37a5a1[_0x446f48(0x21b)])return;const _0xad4b16=_0x446f48(0x24c)+_0x297d31;_0x69707b[_0x446f48(0x263)][_0x446f48(0x23d)](_0xad4b16)&&_0x1168f1[_0x446f48(0x1f2)][_0x446f48(0x1ef)](_0xad4b16),_0x54a75e['on'](_0x446f48(0x259),(_0x231e48,_0x318f1d,_0x5ed907)=>{const _0x3de3a5=_0x446f48;if(_0x3de3a5(0x22a)!=_0x318f1d[_0x3de3a5(0x24b)][_0x3de3a5(0x23c)]&&_0x3de3a5(0x22a)==_0x54a75e[_0x3de3a5(0x204)]()[_0x3de3a5(0x24b)][_0x3de3a5(0x23c)]&&!_0x5e0da2[_0x3de3a5(0x23d)](_0x54a75e[_0x3de3a5(0x20a)])){const _0x2dec47=_0x69707b[_0x3de3a5(0x252)][_0x3de3a5(0x214)](_0x5ed907[_0x3de3a5(0x22c)]);if(_0x2dec47){const _0x2964bf=_0x2d91d6[_0x3de3a5(0x269)](_0x2dec47);_0x5e0da2[_0x3de3a5(0x1ff)](_0x54a75e[_0x3de3a5(0x20a)],_0x2964bf),_0x2964bf['on'](_0x3de3a5(0x259),(_0x3b5a75,_0x48e0c6,_0x2146c0)=>{const _0x5802fe=_0x3de3a5;if(_0x5802fe(0x22a)==_0x2964bf[_0x5802fe(0x24b)][_0x5802fe(0x23c)]){const _0x1f9bcf=_0x69707b[_0x5802fe(0x252)][_0x5802fe(0x214)](_0x2146c0[_0x5802fe(0x22c)]);_0x1f9bcf?(_0x2964bf[_0x5802fe(0x236)]=_0x1f9bcf[_0x5802fe(0x236)],_0x2964bf[_0x5802fe(0x207)]=_0x1f9bcf[_0x5802fe(0x207)]):(_0x5e0da2[_0x5802fe(0x266)](_0x54a75e[_0x5802fe(0x20a)]),_0x2964bf[_0x5802fe(0x257)]());}});}}});}),_0x69707b[_0x42b1f8(0x201)]['on'](_0x42b1f8(0x21e),()=>{const _0x46a8ed=_0x42b1f8;_0x5e0da2[_0x46a8ed(0x20b)]>0x0&&_0x69707b[_0x46a8ed(0x21d)]({'isUndoable':!0x1},_0x273a17=>{const _0x5a87d7=_0x46a8ed;for(const [_0x4ca0d7,_0x582037]of _0x5e0da2)_0x5a87d7(0x22a)==_0x69707b[_0x5a87d7(0x263)][_0x5a87d7(0x24f)](_0x4ca0d7)[_0x5a87d7(0x204)]()[_0x5a87d7(0x24b)][_0x5a87d7(0x23c)]&&(Z(_0x4ca0d7[_0x5a87d7(0x26c)](':')[0x2],_0x582037[_0x5a87d7(0x1eb)](),_0x69707b,_0x273a17),_0x582037[_0x5a87d7(0x257)]());_0x5e0da2[_0x5a87d7(0x237)]();});});}(_0x4865a1),this[_0xe3bf47(0x218)][_0xe3bf47(0x265)](_0x14144f[_0xe3bf47(0x201)],_0xe3bf47(0x26b),(_0x1d791e,{key:_0x241136})=>{const _0x186c65=_0xe3bf47;_0x186c65(0x22e)===_0x241136&&function(_0x571833){const _0x2bf522=_0x186c65;_0x571833[_0x2bf522(0x1f2)][_0x2bf522(0x21f)][_0x2bf522(0x21e)](_0x241054=>{const _0x152d85=_0x2bf522;for(const _0x1d3fe7 of _0x571833[_0x152d85(0x250)][_0x152d85(0x263)]){if(!_0x1d3fe7[_0x152d85(0x20a)][_0x152d85(0x1ee)](_0x152d85(0x1e9)))continue;const _0x50b7f5=_0x571833[_0x152d85(0x1f2)][_0x152d85(0x225)][_0x152d85(0x24d)](_0x1d3fe7[_0x152d85(0x20a)]);if(_0x50b7f5){for(const _0x22e6fd of _0x50b7f5)_0x241054[_0x152d85(0x208)](_0x152d85(0x258),_0x22e6fd);}}});}(_0x4865a1);},{'useCapture':!0x0});}[_0x3edb4f(0x25c)](){const _0x171ca2=_0x3edb4f,_0x5a7a5d=this[_0x171ca2(0x20d)],_0x338345=_0x5a7a5d[_0x171ca2(0x25f)][_0x171ca2(0x24f)](_0x171ca2(0x26f));_0x338345&&_0x5a7a5d[_0x171ca2(0x250)]['on'](_0x171ca2(0x224),(_0x577381,_0x3ee4f7)=>{const _0x4927c2=_0x171ca2,_0x44d8ee=_0x3ee4f7[0x0];if(!_0x44d8ee[_0x4927c2(0x1ea)])return;if(_0x4927c2(0x261)!=_0x44d8ee[_0x4927c2(0x20f)]||!_0x44d8ee[_0x4927c2(0x20a)][_0x4927c2(0x1ee)](_0x4927c2(0x264)))return;const _0x5b0b4a=_0x44d8ee[_0x4927c2(0x26e)];_0x338345[_0x4927c2(0x254)][_0x4927c2(0x23d)](_0x5b0b4a)&&(_0x44d8ee[_0x4927c2(0x25d)]=_0x44d8ee[_0x4927c2(0x222)]?_0x5a7a5d[_0x4927c2(0x250)][_0x4927c2(0x216)](_0x44d8ee[_0x4927c2(0x222)][_0x4927c2(0x236)],_0x44d8ee[_0x4927c2(0x222)][_0x4927c2(0x207)]):null);},{'priority':_0x171ca2(0x239)});}[_0x3edb4f(0x223)](){const _0x4c50ea=_0x3edb4f;return this[_0x4c50ea(0x218)][_0x4c50ea(0x247)](),super[_0x4c50ea(0x223)]();}[_0x3edb4f(0x1ed)](){const _0x5386c9=_0x3edb4f,_0x420cf4=this[_0x5386c9(0x20d)],_0x26dac0=_0x420cf4[_0x5386c9(0x250)][_0x5386c9(0x201)],_0x4df838=_0x420cf4[_0x5386c9(0x235)][_0x5386c9(0x24f)](_0x1e179c);_0x420cf4[_0x5386c9(0x250)][_0x5386c9(0x21d)]({'isUndoable':!0x1},_0x2806f6=>{const _0x5ea2e5=_0x5386c9,_0x11da5d=_0x5ea2e5(0x1f9)+_0x4df838[_0x5ea2e5(0x21b)],_0x1e25b7=_0x5ea2e5(0x24c)+_0x4df838[_0x5ea2e5(0x21b)],_0x1369a8=_0x420cf4[_0x5ea2e5(0x250)][_0x5ea2e5(0x263)][_0x5ea2e5(0x23d)](_0x11da5d);_0x420cf4[_0x5ea2e5(0x1f2)][_0x5ea2e5(0x21f)][_0x5ea2e5(0x268)]?Z(_0x4df838[_0x5ea2e5(0x21b)],_0x26dac0[_0x5ea2e5(0x238)][_0x5ea2e5(0x226)](),_0x420cf4[_0x5ea2e5(0x250)],_0x2806f6):_0x1369a8&&(_0x2806f6[_0x5ea2e5(0x256)](_0x11da5d),_0x2806f6[_0x5ea2e5(0x256)](_0x1e25b7));});}}function Z(_0x2da298,_0x472b0e,_0x475299,_0x55ddbe){const _0x193184=_0x3edb4f,_0x44aaf6=_0x193184(0x1f9)+_0x2da298,_0x2859b8=_0x193184(0x24c)+_0x2da298,_0x5aa04b=_0x472b0e[_0x193184(0x1f6)]();let _0xee2006=_0x472b0e[_0x193184(0x236)];if(_0x5aa04b&&_0x5aa04b['is'](_0x193184(0x1fb),_0x193184(0x234))){const _0x1dee1a=function(_0x27e145,_0x2b4a34){const _0x231496=_0x193184;for(const _0xaf470e of _0x27e145[_0x231496(0x212)]())if(_0x2b4a34[_0x231496(0x252)][_0x231496(0x243)](_0xaf470e,_0x231496(0x233)))return _0xaf470e;}(_0x472b0e,_0x475299);_0x1dee1a&&(_0xee2006=_0x1dee1a,_0x472b0e=_0x55ddbe[_0x193184(0x216)](_0xee2006));}const _0x40b9bf=_0x55ddbe[_0x193184(0x216)](_0xee2006);_0x475299[_0x193184(0x263)][_0x193184(0x23d)](_0x44aaf6)?(_0x55ddbe[_0x193184(0x23a)](_0x44aaf6,{'range':_0x472b0e}),_0x55ddbe[_0x193184(0x23a)](_0x2859b8,{'range':_0x40b9bf})):(_0x55ddbe[_0x193184(0x1fc)](_0x44aaf6,{'range':_0x472b0e,'usingOperation':!0x0}),_0x55ddbe[_0x193184(0x1fc)](_0x2859b8,{'range':_0x40b9bf,'usingOperation':!0x0}));}
|