@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.2 → 43.2.0-alpha.4
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/package.json +9 -9
- 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/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x25d9(){const _0xd09ace=['destroy','content','1bONxnH','attachToDom','isMe','textarea','offsetWidth','input','ck\x20ck-presence-list__balloon',':not([disabled]):not([tabindex=\x22-1\x22])','onClick','remove','allConnectedUsers','reverse','Tab','3734560QHZfIV','[tabindex]','hasTooltip','get','using','368178OkPrDZ','add','querySelectorAll','button','number','offsetHeight','element','join','bind','231iRgBlk','config','displayMe','6100680HKjhGX','locale','bindTo','map','detachFromDom','presenceList.container','isExpanded','isCollapsed','Esc','hideDropdown','indexOf','execute','presenceList.displayMe','change:isFocused','isHidden','sort','presenceList','focusTracker','set','isFocusable','168nHkpzj','keystrokes','init','currentDisplayedUsers','pin','isRendered','isVisible','appendChild','counterView','filter','balloonPanelView','plugins','Enter','_bodyCollection','20CwbcHR','1356268MQJgLy','[contenteditable]','length','inlineListView','listenTo','context','_handleUserAdd','activeElement','_handleUserRemove','_allConnectedUsers','showDropdown','view','checkIfScrollable','10848uFlnwq','presencelist-collapseat-invalid-format','define','Shift+Tab','focus','presencelist-missing-container','usersCount','tabIndex','63321313JvGSwP','class','select','4927293LxhghL','_createView','body','min','from','render','presenceList.collapseAt','requires','unpin','presenceDropdownView','items'];_0x25d9=function(){return _0xd09ace;};return _0x25d9();}const _0x1ea984=_0x2602;(function(_0x421799,_0x1f03d5){const _0x236885=_0x2602,_0x1ee11d=_0x421799();while(!![]){try{const _0x5b81e3=parseInt(_0x236885(0xe8))/0x1*(-parseInt(_0x236885(0xc3))/0x2)+-parseInt(_0x236885(0x103))/0x3*(parseInt(_0x236885(0xd0))/0x4)+-parseInt(_0x236885(0xf5))/0x5+parseInt(_0x236885(0xfa))/0x6*(-parseInt(_0x236885(0x11a))/0x7)+-parseInt(_0x236885(0x106))/0x8+parseInt(_0x236885(0xdb))/0x9*(-parseInt(_0x236885(0xc2))/0xa)+parseInt(_0x236885(0xd8))/0xb;if(_0x5b81e3===_0x1f03d5)break;else _0x1ee11d['push'](_0x1ee11d['shift']());}catch(_0x33c665){_0x1ee11d['push'](_0x1ee11d['shift']());}}}(_0x25d9,0xc172a));import{ContextPlugin as _0x379bc7}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cd858,Collection as _0x59fb59}from'ckeditor5/src/utils.js';function _0x2602(_0xa2a28c,_0x5ba501){const _0x25d9f4=_0x25d9();return _0x2602=function(_0x260215,_0x4f179c){_0x260215=_0x260215-0xc0;let _0x401335=_0x25d9f4[_0x260215];return _0x401335;},_0x2602(_0xa2a28c,_0x5ba501);}import{clickOutsideHandler as _0x282539,BalloonPanelView as _0x928d94,BodyCollection as _0x1b12a0}from'ckeditor5/src/ui.js';import{isElement as _0x11b23d}from'lodash-es';import _0x5d7d12 from'../realtimecollaborativeediting/sessions.js';import _0x233802 from'./view/presencelistview.js';import _0x2d0f00 from'./view/presencedropdownlistview.js';import _0x45e2bb from'./view/presencedropdownlistitemview.js';import _0x321e04 from'./view/presenceinlinelistitemview.js';const D={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x379bc7{constructor(_0x202683){const _0x26224b=_0x2602;super(_0x202683),this[_0x26224b(0xc1)]=null,this[_0x26224b(0xc8)][_0x26224b(0x104)][_0x26224b(0xd2)](_0x26224b(0x116),D);const _0x32969=_0x202683[_0x26224b(0x104)][_0x26224b(0xf8)](_0x26224b(0xe1));if(_0x26224b(0xfe)!=typeof _0x32969)throw new _0x4cd858(_0x26224b(0xd1),this);if(_0x32969<0x1)throw new _0x4cd858(_0x26224b(0xd1),this);this[_0x26224b(0xcc)]=this[_0x26224b(0xc8)][_0x26224b(0x125)][_0x26224b(0xf8)](_0x5d7d12)[_0x26224b(0xf2)],this[_0x26224b(0x118)](_0x26224b(0xd6),0x0),this[_0x26224b(0x11d)]=new _0x59fb59(),this[_0x26224b(0x124)]=new _0x928d94(),this[_0x26224b(0x124)][_0x26224b(0xd9)]=_0x26224b(0xee),this[_0x26224b(0xce)]=this[_0x26224b(0xdc)](),this[_0x26224b(0xe4)]=void 0x0;}static get[_0x1ea984(0xe2)](){return[_0x5d7d12];}[_0x1ea984(0x11c)](){const _0x2af1ff=_0x1ea984;for(const _0x431aff of this[_0x2af1ff(0xcc)])this[_0x2af1ff(0xc9)](_0x431aff);this[_0x2af1ff(0xc7)](this[_0x2af1ff(0xcc)],_0x2af1ff(0xfb),(_0x242561,_0x5ea074)=>{const _0x300322=_0x2af1ff;this[_0x300322(0xc9)](_0x5ea074);}),this[_0x2af1ff(0xc7)](this[_0x2af1ff(0xcc)],_0x2af1ff(0xf1),(_0x588f2a,_0xe18586)=>{const _0x112cf6=_0x2af1ff;this[_0x112cf6(0xcb)](_0xe18586);});}[_0x1ea984(0xdc)](){const _0x15fe3f=_0x1ea984,_0x37a167=this[_0x15fe3f(0xc8)],_0x4ca72c=new _0x233802(this[_0x15fe3f(0xc8)][_0x15fe3f(0x107)]),_0x27070d=this[_0x15fe3f(0x124)];if(!_0x11b23d(_0x37a167[_0x15fe3f(0x104)][_0x15fe3f(0xf8)](_0x15fe3f(0x10b))))throw new _0x4cd858(_0x15fe3f(0xd5),this);return _0x4ca72c[_0x15fe3f(0x122)][_0x15fe3f(0x102)](_0x15fe3f(0xd6))['to'](this),_0x4ca72c[_0x15fe3f(0x102)](_0x15fe3f(0x10d))['to'](this,_0x15fe3f(0xd6),_0x1302d2=>{const _0x2ae0b0=_0x15fe3f,{collapseAt:_0x5e1811,displayMe:_0x450977}=_0x37a167[_0x2ae0b0(0x104)][_0x2ae0b0(0xf8)](_0x2ae0b0(0x116)),_0x7c7271=_0x1302d2>=_0x5e1811;return _0x4ca72c[_0x2ae0b0(0x122)][_0x2ae0b0(0x114)]=!(0x1==_0x1302d2&&_0x450977||_0x7c7271),_0x7c7271||this[_0x2ae0b0(0x10f)](),_0x7c7271;}),_0x4ca72c[_0x15fe3f(0xc6)][_0x15fe3f(0xe5)][_0x15fe3f(0x108)](this[_0x15fe3f(0x11d)])[_0x15fe3f(0xf9)](_0x7a5bdd=>{const _0x54136b=_0x15fe3f,_0x2d9afc=_0x37a167[_0x54136b(0x104)][_0x54136b(0xf8)](_0x54136b(0x116)),_0x284046=new _0x321e04(_0x37a167[_0x54136b(0x107)],_0x7a5bdd,!!_0x2d9afc[_0x54136b(0xf0)]);return _0x284046[_0x54136b(0x102)](_0x54136b(0xf7))['to'](_0x4ca72c,_0x54136b(0x10d),_0x419560=>!_0x419560),_0x284046[_0x54136b(0x102)](_0x54136b(0x119))['to'](_0x4ca72c,_0x54136b(0x10d),_0xca11e9=>!_0xca11e9),_0x2d9afc[_0x54136b(0xf0)]&&this[_0x54136b(0xc7)](_0x284046,_0x54136b(0x111),()=>{const _0x27d2e=_0x54136b;this[_0x27d2e(0xce)][_0x27d2e(0x10d)]||_0x2d9afc[_0x27d2e(0xf0)](_0x7a5bdd,_0x284046[_0x27d2e(0x100)]);}),_0x284046;}),this[_0x15fe3f(0xc7)](_0x4ca72c[_0x15fe3f(0xc6)],_0x15fe3f(0x111),()=>{const _0x4a80cd=_0x15fe3f;this[_0x4a80cd(0xe4)]?this[_0x4a80cd(0x10f)]():this[_0x4a80cd(0xce)][_0x4a80cd(0x10d)]&&this[_0x4a80cd(0xcd)]();}),_0x4ca72c[_0x15fe3f(0xc6)][_0x15fe3f(0x11b)][_0x15fe3f(0x118)](_0x15fe3f(0xc0),(_0x7edc09,_0x577cfe)=>{const _0x51a506=_0x15fe3f;this[_0x51a506(0xce)][_0x51a506(0x10d)]&&(this[_0x51a506(0xcd)](),_0x577cfe());}),_0x4ca72c[_0x15fe3f(0xe0)](),_0x27070d[_0x15fe3f(0xe0)](),_0x282539({'emitter':_0x4ca72c,'activator':()=>_0x27070d[_0x15fe3f(0x120)],'contextElements':[_0x27070d[_0x15fe3f(0x100)],_0x4ca72c[_0x15fe3f(0xc6)][_0x15fe3f(0x100)]],'callback':()=>this[_0x15fe3f(0x10f)]()}),_0x37a167[_0x15fe3f(0x104)][_0x15fe3f(0xf8)](_0x15fe3f(0x10b))[_0x15fe3f(0x121)](_0x4ca72c[_0x15fe3f(0x100)]),this[_0x15fe3f(0xc1)]=new _0x1b12a0(this[_0x15fe3f(0xc8)][_0x15fe3f(0x107)]),this[_0x15fe3f(0xc1)][_0x15fe3f(0xe9)](),this[_0x15fe3f(0xc1)][_0x15fe3f(0xfb)](this[_0x15fe3f(0x124)]),_0x4ca72c;}[_0x1ea984(0xc9)](_0x28d75f){const _0x18729d=_0x1ea984;if(!this[_0x18729d(0xc8)][_0x18729d(0x104)][_0x18729d(0xf8)](_0x18729d(0x112))&&_0x28d75f[_0x18729d(0xea)])return;const _0x485200=this[_0x18729d(0xc8)][_0x18729d(0x104)][_0x18729d(0xf8)](_0x18729d(0xe1))-0x1;this[_0x18729d(0xd6)]++,this[_0x18729d(0x11d)][_0x18729d(0xc5)]==_0x485200&&this[_0x18729d(0x11d)][_0x18729d(0xc5)]>0x1&&this[_0x18729d(0x11d)][_0x18729d(0xf1)](0x1);const _0x304db5=_0x28d75f[_0x18729d(0xea)]?0x0:this[_0x18729d(0x11d)][_0x18729d(0xc5)];this[_0x18729d(0x11d)][_0x18729d(0xfb)](_0x28d75f,_0x304db5);}[_0x1ea984(0xcb)](_0x49f9c6){const _0x177688=_0x1ea984;if(this[_0x177688(0xd6)]--,this[_0x177688(0x11d)][_0x177688(0xf8)](_0x49f9c6['id'])&&(this[_0x177688(0x11d)][_0x177688(0xf1)](_0x49f9c6['id']),this[_0x177688(0x11d)][_0x177688(0xc5)]<this[_0x177688(0xd6)])){for(const _0x4963db of Array[_0x177688(0xdf)](this[_0x177688(0xcc)])[_0x177688(0xf3)]())if(!this[_0x177688(0x11d)][_0x177688(0xf8)](_0x4963db['id']))return void this[_0x177688(0x11d)][_0x177688(0xfb)](_0x4963db,Math[_0x177688(0xde)](this[_0x177688(0x11d)][_0x177688(0xc5)],0x1));}}[_0x1ea984(0xcd)](){const _0x8840d9=_0x1ea984;if(this[_0x8840d9(0xe4)])return;const _0x16e0fb=this[_0x8840d9(0xc8)][_0x8840d9(0x104)][_0x8840d9(0xf8)](_0x8840d9(0x116));this[_0x8840d9(0xe4)]=new _0x2d0f00(this[_0x8840d9(0xc8)][_0x8840d9(0x107)],!!_0x16e0fb[_0x8840d9(0xf0)]),this[_0x8840d9(0xce)][_0x8840d9(0xc6)][_0x8840d9(0x10c)]=!0x0;const {listWrapperView:_0x51ddbc}=this[_0x8840d9(0xe4)];_0x51ddbc[_0x8840d9(0xe5)][_0x8840d9(0x108)](this[_0x8840d9(0xcc)])[_0x8840d9(0xf9)](_0x2bc935=>{const _0x3f23ef=_0x8840d9;if(!_0x16e0fb[_0x3f23ef(0x105)]&&_0x2bc935[_0x3f23ef(0xea)])return null;const _0x1d49b7=new _0x45e2bb(this[_0x3f23ef(0xc8)][_0x3f23ef(0x107)],_0x2bc935,!!_0x16e0fb[_0x3f23ef(0xf0)]);return _0x16e0fb[_0x3f23ef(0xf0)]&&this[_0x3f23ef(0xc7)](_0x1d49b7,_0x3f23ef(0x111),()=>{const _0xa17f1b=_0x3f23ef;_0x16e0fb[_0xa17f1b(0xf0)](_0x2bc935,_0x1d49b7[_0xa17f1b(0x100)]);}),_0x1d49b7;}),this[_0x8840d9(0x124)][_0x8840d9(0xe7)][_0x8840d9(0xfb)](this[_0x8840d9(0xe4)]),this[_0x8840d9(0x124)][_0x8840d9(0x11e)]({'target':this[_0x8840d9(0xce)][_0x8840d9(0xc6)][_0x8840d9(0x100)]}),_0x51ddbc[_0x8840d9(0xd4)](),_0x51ddbc[_0x8840d9(0xcf)]();const _0x15d8df=(_0x159840,_0x40b015)=>{const _0x1818fb=_0x8840d9;this[_0x1818fb(0x10f)](),this[_0x1818fb(0xce)][_0x1818fb(0xc6)][_0x1818fb(0xd4)](),_0x40b015();};_0x51ddbc[_0x8840d9(0x11b)][_0x8840d9(0x118)](_0x8840d9(0x10e),_0x15d8df),_0x51ddbc[_0x8840d9(0x11b)][_0x8840d9(0x118)](_0x8840d9(0xd3),_0x15d8df),_0x51ddbc[_0x8840d9(0x11b)][_0x8840d9(0x118)](_0x8840d9(0xf4),(_0xfc5906,_0x554983)=>{const _0x46ab43=_0x8840d9;!function(_0x1dffc2){const _0xca0b9e=_0x2602,_0x36d0b5=['a',_0xca0b9e(0xfd),_0xca0b9e(0xed),_0xca0b9e(0xda),_0xca0b9e(0xeb),_0xca0b9e(0xf6),_0xca0b9e(0xc4)][_0xca0b9e(0x109)](_0x593217=>_0x593217+_0xca0b9e(0xef))[_0xca0b9e(0x101)](','),_0x46fd1b=[...document[_0xca0b9e(0xdd)][_0xca0b9e(0xfc)](_0x36d0b5)][_0xca0b9e(0x123)](_0x3d3c12=>_0x3d3c12===document[_0xca0b9e(0xca)]||_0x3d3c12[_0xca0b9e(0xec)]+_0x3d3c12[_0xca0b9e(0xff)]>0x0)[_0xca0b9e(0x115)]((_0x1e9c6d,_0x490439)=>(_0x1e9c6d[_0xca0b9e(0xd7)]||0x0)-(_0x490439[_0xca0b9e(0xd7)]||0x0)),_0x5d83a9=_0x46fd1b[_0xca0b9e(0x110)](_0x1dffc2),_0x25fce9=_0x46fd1b[(_0x5d83a9+0x1)%_0x46fd1b[_0xca0b9e(0xc5)]];_0x25fce9&&_0x25fce9[_0xca0b9e(0xd4)]();}(this[_0x46ab43(0xce)][_0x46ab43(0x100)]),this[_0x46ab43(0x10f)](),_0x554983();}),_0x51ddbc[_0x8840d9(0x117)][_0x8840d9(0xfb)](this[_0x8840d9(0xce)][_0x8840d9(0x100)]),_0x51ddbc[_0x8840d9(0x117)]['on'](_0x8840d9(0x113),(_0x4dccb2,_0x6400a1,_0x597955)=>{const _0x25d1cf=_0x8840d9;_0x597955||this[_0x25d1cf(0x10f)]();});}[_0x1ea984(0x10f)](){const _0x553349=_0x1ea984;this[_0x553349(0xe4)]&&(this[_0x553349(0xce)][_0x553349(0xc6)][_0x553349(0x10c)]=!0x1,this[_0x553349(0x124)][_0x553349(0xe3)](),this[_0x553349(0x124)][_0x553349(0xe7)][_0x553349(0xf1)](this[_0x553349(0xe4)]),this[_0x553349(0xe4)][_0x553349(0xe6)](),this[_0x553349(0xe4)]=void 0x0);}[_0x1ea984(0xe6)](){const _0x70a417=_0x1ea984;super[_0x70a417(0xe6)](),this[_0x70a417(0xce)]&&this[_0x70a417(0xce)][_0x70a417(0x11f)]&&this[_0x70a417(0xce)][_0x70a417(0xe6)](),this[_0x70a417(0xc1)]&&(this[_0x70a417(0xc1)][_0x70a417(0x10a)](),this[_0x70a417(0xc1)][_0x70a417(0xe6)](),this[_0x70a417(0xc1)]=null);}}
|
|
23
|
+
const _0x753a0d=_0x25c7;function _0x34d2(){const _0xa73318=['allConnectedUsers','keystrokes','element','reverse','add','7502296ImEJpQ','presencelist-collapseat-invalid-format','define','_handleUserAdd','pin','view','focus','attachToDom','isRendered','58050927XWPbQS','remove','map','3133527jmRGVS','Shift+Tab','isMe','button','isHidden','hideDropdown','284179pcQLyD','plugins','presenceList','onClick','presencelist-missing-container','destroy','init','checkIfScrollable','currentDisplayedUsers','body','_allConnectedUsers','select','from','listenTo','isCollapsed','presenceList.collapseAt','_bodyCollection','bind','Esc','isFocusable','join','activeElement','balloonPanelView','counterView','_handleUserRemove','class','presenceList.container','input','tabIndex','Tab','offsetWidth','locale','content','indexOf','min','1840995IDIzRR','presenceDropdownView','config','requires','execute','unpin','presenceList.displayMe','isExpanded','bindTo','set','detachFromDom',':not([disabled]):not([tabindex=\x22-1\x22])','[tabindex]','appendChild','[contenteditable]','showDropdown','length','sort','querySelectorAll','2XZnKYc','_createView','Enter','1320802HOwYTz','items','inlineListView','context','displayMe','filter','using','isVisible','change:isFocused','get','number','56PJmeao','hasTooltip','offsetHeight','usersCount','7083552hSBPdB','render','focusTracker','ck\x20ck-presence-list__balloon','textarea'];_0x34d2=function(){return _0xa73318;};return _0x34d2();}(function(_0x1883cc,_0x250989){const _0x2f2f75=_0x25c7,_0x4a3319=_0x1883cc();while(!![]){try{const _0x9876cf=-parseInt(_0x2f2f75(0x172))/0x1+-parseInt(_0x2f2f75(0x16f))/0x2*(parseInt(_0x2f2f75(0x197))/0x3)+-parseInt(_0x2f2f75(0x18b))/0x4+-parseInt(_0x2f2f75(0x15c))/0x5+-parseInt(_0x2f2f75(0x181))/0x6+-parseInt(_0x2f2f75(0x19d))/0x7*(-parseInt(_0x2f2f75(0x17d))/0x8)+parseInt(_0x2f2f75(0x194))/0x9;if(_0x9876cf===_0x250989)break;else _0x4a3319['push'](_0x4a3319['shift']());}catch(_0x1303db){_0x4a3319['push'](_0x4a3319['shift']());}}}(_0x34d2,0xe69de));import{ContextPlugin as _0x1123a3}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b1742,Collection as _0x1d5e70}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xe5fb30,BalloonPanelView as _0x253e06,BodyCollection as _0xacd971}from'ckeditor5/src/ui.js';import{isElement as _0x2da9e7}from'lodash-es';import _0x400915 from'../realtimecollaborativeediting/sessions.js';import _0x4774c9 from'./view/presencelistview.js';import _0x49cf03 from'./view/presencedropdownlistview.js';import _0x360c72 from'./view/presencedropdownlistitemview.js';function _0x25c7(_0x56e821,_0x3c5aec){const _0x34d245=_0x34d2();return _0x25c7=function(_0x25c756,_0x4bba5a){_0x25c756=_0x25c756-0x154;let _0x3bfa6b=_0x34d245[_0x25c756];return _0x3bfa6b;},_0x25c7(_0x56e821,_0x3c5aec);}import _0x56b9e2 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x1123a3{constructor(_0xf3a2c1){const _0x4334fc=_0x25c7;super(_0xf3a2c1),this[_0x4334fc(0x1ad)]=null,this[_0x4334fc(0x175)][_0x4334fc(0x15e)][_0x4334fc(0x18d)](_0x4334fc(0x19f),A);const _0x2f1c35=_0xf3a2c1[_0x4334fc(0x15e)][_0x4334fc(0x17b)](_0x4334fc(0x1ac));if(_0x4334fc(0x17c)!=typeof _0x2f1c35)throw new _0x3b1742(_0x4334fc(0x18c),this);if(_0x2f1c35<0x1)throw new _0x3b1742(_0x4334fc(0x18c),this);this[_0x4334fc(0x1a7)]=this[_0x4334fc(0x175)][_0x4334fc(0x19e)][_0x4334fc(0x17b)](_0x400915)[_0x4334fc(0x186)],this[_0x4334fc(0x165)](_0x4334fc(0x180),0x0),this[_0x4334fc(0x1a5)]=new _0x1d5e70(),this[_0x4334fc(0x1b3)]=new _0x253e06(),this[_0x4334fc(0x1b3)][_0x4334fc(0x1b6)]=_0x4334fc(0x184),this[_0x4334fc(0x190)]=this[_0x4334fc(0x170)](),this[_0x4334fc(0x15d)]=void 0x0;}static get[_0x753a0d(0x15f)](){return[_0x400915];}[_0x753a0d(0x1a3)](){const _0x1fe718=_0x753a0d;for(const _0x531234 of this[_0x1fe718(0x1a7)])this[_0x1fe718(0x18e)](_0x531234);this[_0x1fe718(0x1aa)](this[_0x1fe718(0x1a7)],_0x1fe718(0x18a),(_0x470410,_0x38ff6c)=>{const _0x1a7765=_0x1fe718;this[_0x1a7765(0x18e)](_0x38ff6c);}),this[_0x1fe718(0x1aa)](this[_0x1fe718(0x1a7)],_0x1fe718(0x195),(_0x119ef8,_0x473513)=>{const _0x554fa4=_0x1fe718;this[_0x554fa4(0x1b5)](_0x473513);});}[_0x753a0d(0x170)](){const _0xddf8ce=_0x753a0d,_0x2b1216=this[_0xddf8ce(0x175)],_0x5243a8=new _0x4774c9(this[_0xddf8ce(0x175)][_0xddf8ce(0x158)]),_0x14b007=this[_0xddf8ce(0x1b3)];if(!_0x2da9e7(_0x2b1216[_0xddf8ce(0x15e)][_0xddf8ce(0x17b)](_0xddf8ce(0x1b7))))throw new _0x3b1742(_0xddf8ce(0x1a1),this);return _0x5243a8[_0xddf8ce(0x1b4)][_0xddf8ce(0x1ae)](_0xddf8ce(0x180))['to'](this),_0x5243a8[_0xddf8ce(0x1ae)](_0xddf8ce(0x1ab))['to'](this,_0xddf8ce(0x180),_0x1ad089=>{const _0x24c272=_0xddf8ce,{collapseAt:_0x47376a,displayMe:_0xa6731a}=_0x2b1216[_0x24c272(0x15e)][_0x24c272(0x17b)](_0x24c272(0x19f)),_0x2096cb=_0x1ad089>=_0x47376a;return _0x5243a8[_0x24c272(0x1b4)][_0x24c272(0x19b)]=!(0x1==_0x1ad089&&_0xa6731a||_0x2096cb),_0x2096cb||this[_0x24c272(0x19c)](),_0x2096cb;}),_0x5243a8[_0xddf8ce(0x174)][_0xddf8ce(0x173)][_0xddf8ce(0x164)](this[_0xddf8ce(0x1a5)])[_0xddf8ce(0x178)](_0x4e2a31=>{const _0x1c8880=_0xddf8ce,_0x5a93ec=_0x2b1216[_0x1c8880(0x15e)][_0x1c8880(0x17b)](_0x1c8880(0x19f)),_0x4c0f27=new _0x56b9e2(_0x2b1216[_0x1c8880(0x158)],_0x4e2a31,!!_0x5a93ec[_0x1c8880(0x1a0)]);return _0x4c0f27[_0x1c8880(0x1ae)](_0x1c8880(0x17e))['to'](_0x5243a8,_0x1c8880(0x1ab),_0x28ecbd=>!_0x28ecbd),_0x4c0f27[_0x1c8880(0x1ae)](_0x1c8880(0x1b0))['to'](_0x5243a8,_0x1c8880(0x1ab),_0x4b1c2a=>!_0x4b1c2a),_0x5a93ec[_0x1c8880(0x1a0)]&&this[_0x1c8880(0x1aa)](_0x4c0f27,_0x1c8880(0x160),()=>{const _0x5571d9=_0x1c8880;this[_0x5571d9(0x190)][_0x5571d9(0x1ab)]||_0x5a93ec[_0x5571d9(0x1a0)](_0x4e2a31,_0x4c0f27[_0x5571d9(0x188)]);}),_0x4c0f27;}),this[_0xddf8ce(0x1aa)](_0x5243a8[_0xddf8ce(0x174)],_0xddf8ce(0x160),()=>{const _0x195c36=_0xddf8ce;this[_0x195c36(0x15d)]?this[_0x195c36(0x19c)]():this[_0x195c36(0x190)][_0x195c36(0x1ab)]&&this[_0x195c36(0x16b)]();}),_0x5243a8[_0xddf8ce(0x174)][_0xddf8ce(0x187)][_0xddf8ce(0x165)](_0xddf8ce(0x171),(_0x17ca31,_0x300f12)=>{const _0x69079=_0xddf8ce;this[_0x69079(0x190)][_0x69079(0x1ab)]&&(this[_0x69079(0x16b)](),_0x300f12());}),_0x5243a8[_0xddf8ce(0x182)](),_0x14b007[_0xddf8ce(0x182)](),_0xe5fb30({'emitter':_0x5243a8,'activator':()=>_0x14b007[_0xddf8ce(0x179)],'contextElements':[_0x14b007[_0xddf8ce(0x188)],_0x5243a8[_0xddf8ce(0x174)][_0xddf8ce(0x188)]],'callback':()=>this[_0xddf8ce(0x19c)]()}),_0x2b1216[_0xddf8ce(0x15e)][_0xddf8ce(0x17b)](_0xddf8ce(0x1b7))[_0xddf8ce(0x169)](_0x5243a8[_0xddf8ce(0x188)]),this[_0xddf8ce(0x1ad)]=new _0xacd971(this[_0xddf8ce(0x175)][_0xddf8ce(0x158)]),this[_0xddf8ce(0x1ad)][_0xddf8ce(0x192)](),this[_0xddf8ce(0x1ad)][_0xddf8ce(0x18a)](this[_0xddf8ce(0x1b3)]),_0x5243a8;}[_0x753a0d(0x18e)](_0x370da5){const _0x391873=_0x753a0d;if(!this[_0x391873(0x175)][_0x391873(0x15e)][_0x391873(0x17b)](_0x391873(0x162))&&_0x370da5[_0x391873(0x199)])return;const _0x348168=this[_0x391873(0x175)][_0x391873(0x15e)][_0x391873(0x17b)](_0x391873(0x1ac))-0x1;this[_0x391873(0x180)]++,this[_0x391873(0x1a5)][_0x391873(0x16c)]==_0x348168&&this[_0x391873(0x1a5)][_0x391873(0x16c)]>0x1&&this[_0x391873(0x1a5)][_0x391873(0x195)](0x1);const _0x192d67=_0x370da5[_0x391873(0x199)]?0x0:this[_0x391873(0x1a5)][_0x391873(0x16c)];this[_0x391873(0x1a5)][_0x391873(0x18a)](_0x370da5,_0x192d67);}[_0x753a0d(0x1b5)](_0x1ce1fc){const _0x2d0846=_0x753a0d;if(this[_0x2d0846(0x180)]--,this[_0x2d0846(0x1a5)][_0x2d0846(0x17b)](_0x1ce1fc['id'])&&(this[_0x2d0846(0x1a5)][_0x2d0846(0x195)](_0x1ce1fc['id']),this[_0x2d0846(0x1a5)][_0x2d0846(0x16c)]<this[_0x2d0846(0x180)])){for(const _0xe9aa66 of Array[_0x2d0846(0x1a9)](this[_0x2d0846(0x1a7)])[_0x2d0846(0x189)]())if(!this[_0x2d0846(0x1a5)][_0x2d0846(0x17b)](_0xe9aa66['id']))return void this[_0x2d0846(0x1a5)][_0x2d0846(0x18a)](_0xe9aa66,Math[_0x2d0846(0x15b)](this[_0x2d0846(0x1a5)][_0x2d0846(0x16c)],0x1));}}[_0x753a0d(0x16b)](){const _0x5d629e=_0x753a0d;if(this[_0x5d629e(0x15d)])return;const _0x1d29f3=this[_0x5d629e(0x175)][_0x5d629e(0x15e)][_0x5d629e(0x17b)](_0x5d629e(0x19f));this[_0x5d629e(0x15d)]=new _0x49cf03(this[_0x5d629e(0x175)][_0x5d629e(0x158)],!!_0x1d29f3[_0x5d629e(0x1a0)]),this[_0x5d629e(0x190)][_0x5d629e(0x174)][_0x5d629e(0x163)]=!0x0;const {listWrapperView:_0x292481}=this[_0x5d629e(0x15d)];_0x292481[_0x5d629e(0x173)][_0x5d629e(0x164)](this[_0x5d629e(0x1a7)])[_0x5d629e(0x178)](_0x3c95ae=>{const _0x30ffa0=_0x5d629e;if(!_0x1d29f3[_0x30ffa0(0x176)]&&_0x3c95ae[_0x30ffa0(0x199)])return null;const _0x34bded=new _0x360c72(this[_0x30ffa0(0x175)][_0x30ffa0(0x158)],_0x3c95ae,!!_0x1d29f3[_0x30ffa0(0x1a0)]);return _0x1d29f3[_0x30ffa0(0x1a0)]&&this[_0x30ffa0(0x1aa)](_0x34bded,_0x30ffa0(0x160),()=>{const _0x90dfbe=_0x30ffa0;_0x1d29f3[_0x90dfbe(0x1a0)](_0x3c95ae,_0x34bded[_0x90dfbe(0x188)]);}),_0x34bded;}),this[_0x5d629e(0x1b3)][_0x5d629e(0x159)][_0x5d629e(0x18a)](this[_0x5d629e(0x15d)]),this[_0x5d629e(0x1b3)][_0x5d629e(0x18f)]({'target':this[_0x5d629e(0x190)][_0x5d629e(0x174)][_0x5d629e(0x188)]}),_0x292481[_0x5d629e(0x191)](),_0x292481[_0x5d629e(0x1a4)]();const _0x30d45e=(_0x4e53cb,_0x47a698)=>{const _0x388bf3=_0x5d629e;this[_0x388bf3(0x19c)](),this[_0x388bf3(0x190)][_0x388bf3(0x174)][_0x388bf3(0x191)](),_0x47a698();};_0x292481[_0x5d629e(0x187)][_0x5d629e(0x165)](_0x5d629e(0x1af),_0x30d45e),_0x292481[_0x5d629e(0x187)][_0x5d629e(0x165)](_0x5d629e(0x198),_0x30d45e),_0x292481[_0x5d629e(0x187)][_0x5d629e(0x165)](_0x5d629e(0x156),(_0x3679f9,_0x1f15ca)=>{const _0xad1bff=_0x5d629e;!function(_0x50dc12){const _0x31f69e=_0x25c7,_0x44b2e8=['a',_0x31f69e(0x19a),_0x31f69e(0x154),_0x31f69e(0x1a8),_0x31f69e(0x185),_0x31f69e(0x168),_0x31f69e(0x16a)][_0x31f69e(0x196)](_0x1a91e9=>_0x1a91e9+_0x31f69e(0x167))[_0x31f69e(0x1b1)](','),_0x180646=[...document[_0x31f69e(0x1a6)][_0x31f69e(0x16e)](_0x44b2e8)][_0x31f69e(0x177)](_0x5de705=>_0x5de705===document[_0x31f69e(0x1b2)]||_0x5de705[_0x31f69e(0x157)]+_0x5de705[_0x31f69e(0x17f)]>0x0)[_0x31f69e(0x16d)]((_0x20912a,_0x914c12)=>(_0x20912a[_0x31f69e(0x155)]||0x0)-(_0x914c12[_0x31f69e(0x155)]||0x0)),_0x14a6e9=_0x180646[_0x31f69e(0x15a)](_0x50dc12),_0x38d77d=_0x180646[(_0x14a6e9+0x1)%_0x180646[_0x31f69e(0x16c)]];_0x38d77d&&_0x38d77d[_0x31f69e(0x191)]();}(this[_0xad1bff(0x190)][_0xad1bff(0x188)]),this[_0xad1bff(0x19c)](),_0x1f15ca();}),_0x292481[_0x5d629e(0x183)][_0x5d629e(0x18a)](this[_0x5d629e(0x190)][_0x5d629e(0x188)]),_0x292481[_0x5d629e(0x183)]['on'](_0x5d629e(0x17a),(_0x11a0e8,_0x35bc47,_0x5e7817)=>{const _0xbcdb8f=_0x5d629e;_0x5e7817||this[_0xbcdb8f(0x19c)]();});}[_0x753a0d(0x19c)](){const _0x2741a4=_0x753a0d;this[_0x2741a4(0x15d)]&&(this[_0x2741a4(0x190)][_0x2741a4(0x174)][_0x2741a4(0x163)]=!0x1,this[_0x2741a4(0x1b3)][_0x2741a4(0x161)](),this[_0x2741a4(0x1b3)][_0x2741a4(0x159)][_0x2741a4(0x195)](this[_0x2741a4(0x15d)]),this[_0x2741a4(0x15d)][_0x2741a4(0x1a2)](),this[_0x2741a4(0x15d)]=void 0x0);}[_0x753a0d(0x1a2)](){const _0x510137=_0x753a0d;super[_0x510137(0x1a2)](),this[_0x510137(0x190)]&&this[_0x510137(0x190)][_0x510137(0x193)]&&this[_0x510137(0x190)][_0x510137(0x1a2)](),this[_0x510137(0x1ad)]&&(this[_0x510137(0x1ad)][_0x510137(0x166)](),this[_0x510137(0x1ad)][_0x510137(0x1a2)](),this[_0x510137(0x1ad)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5237e8,_0xbaa7a3){const _0x692c09=_0x2eb0,_0x2f5564=_0x5237e8();while(!![]){try{const _0x57bb08=parseInt(_0x692c09(0x1a7))/0x1*(parseInt(_0x692c09(0x1a1))/0x2)+parseInt(_0x692c09(0x196))/0x3*(-parseInt(_0x692c09(0x19e))/0x4)+-parseInt(_0x692c09(0x1a0))/0x5+parseInt(_0x692c09(0x197))/0x6+parseInt(_0x692c09(0x199))/0x7+parseInt(_0x692c09(0x19f))/0x8*(parseInt(_0x692c09(0x19a))/0x9)+-parseInt(_0x692c09(0x1a3))/0xa;if(_0x57bb08===_0xbaa7a3)break;else _0x2f5564['push'](_0x2f5564['shift']());}catch(_0x3b4f15){_0x2f5564['push'](_0x2f5564['shift']());}}}(_0x4ee3,0x703c7));import{View as _0x38ae84}from'ckeditor5/src/ui.js';import{getTranslation as _0xe7891}from'../../common-translations.js';function _0x4ee3(){const _0x1301c6=['setTemplate','CONNECTED_USERS','3826ebDjnE','set','3XjiGyV','3662874DRIyPq','bindTemplate','4740078dfVEct','18zdlbJw','isHidden','div','ck-presence-list__counter','193588jQylzR','2678344xPzclf','1268780osWslC','34zXpytO','ck-presence-list__counter--hidden','12603890PjwcgR','usersCount'];_0x4ee3=function(){return _0x1301c6;};return _0x4ee3();}function _0x2eb0(_0x1fbe2f,_0x3271f6){const _0x4ee3a7=_0x4ee3();return _0x2eb0=function(_0x2eb03a,_0x5ee787){_0x2eb03a=_0x2eb03a-0x195;let _0x21fe21=_0x4ee3a7[_0x2eb03a];return _0x21fe21;},_0x2eb0(_0x1fbe2f,_0x3271f6);}export default class ts extends _0x38ae84{constructor(_0x1f23cc){const _0x14b425=_0x2eb0;super(_0x1f23cc);const _0x198c88=this[_0x14b425(0x198)];this[_0x14b425(0x195)](_0x14b425(0x1a4),0x0),this[_0x14b425(0x195)](_0x14b425(0x19b),!0x0),this[_0x14b425(0x1a5)]({'tag':_0x14b425(0x19c),'attributes':{'class':['ck',_0x14b425(0x19d),_0x198c88['if'](_0x14b425(0x19b),_0x14b425(0x1a2))]},'children':[{'text':_0x198c88['to'](_0x14b425(0x1a4),_0x245e80=>_0xe7891(_0x1f23cc,_0x14b425(0x1a6),_0x245e80))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2383(){const _0x496b42=['tag','getBackgroundColorClass','color','ck-presence-list__dropdown-list-item','button','220435LSyQtz','focus','name','execute','2121pOfIlM','32760IiejKh','1231013TsMaos','3566133mXSpTv','861184UPuvwJ','394qlQxeq','30gFCJaq','true','userView','bindTemplate','span','229505CqaXeP','setTemplate','ck-presence-list__marker','presentation','ck-user__full-name','fire','element'];_0x2383=function(){return _0x496b42;};return _0x2383();}function _0x2f0e(_0x50cbff,_0x9414a8){const _0x238379=_0x2383();return _0x2f0e=function(_0x2f0efc,_0x643614){_0x2f0efc=_0x2f0efc-0x1b3;let _0xbefc67=_0x238379[_0x2f0efc];return _0xbefc67;},_0x2f0e(_0x50cbff,_0x9414a8);}const _0x2101d4=_0x2f0e;(function(_0x4a155a,_0x2204c1){const _0x20b506=_0x2f0e,_0x31b1a1=_0x4a155a();while(!![]){try{const _0x4335b3=-parseInt(_0x20b506(0x1c5))/0x1+parseInt(_0x20b506(0x1bf))/0x2*(parseInt(_0x20b506(0x1ba))/0x3)+parseInt(_0x20b506(0x1be))/0x4+parseInt(_0x20b506(0x1b6))/0x5*(-parseInt(_0x20b506(0x1c0))/0x6)+-parseInt(_0x20b506(0x1bc))/0x7+parseInt(_0x20b506(0x1bb))/0x8+parseInt(_0x20b506(0x1bd))/0x9;if(_0x4335b3===_0x2204c1)break;else _0x31b1a1['push'](_0x31b1a1['shift']());}catch(_0x282f4f){_0x31b1a1['push'](_0x31b1a1['shift']());}}}(_0x2383,0x1f854));import{ListItemView as _0x4b0ba7}from'ckeditor5/src/ui.js';import{UserView as _0x19c125}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4b0ba7{constructor(_0x138e18,_0x1b1ba5,_0x22386b){const _0x2eaacc=_0x2f0e;super(_0x138e18);const _0x330edd=this[_0x2eaacc(0x1c3)];this[_0x2eaacc(0x1c2)]=new _0x19c125(_0x138e18,_0x1b1ba5);const _0x4023cb={'tag':'li','attributes':{'class':['ck',_0x2eaacc(0x1b4)],'tabindex':-0x1,'role':_0x2eaacc(0x1c8),'aria-label':_0x1b1ba5[_0x2eaacc(0x1b8)]},'children':[this[_0x2eaacc(0x1c2)],{'tag':_0x2eaacc(0x1c4),'attributes':{'class':['ck',_0x2eaacc(0x1c9)]},'children':[{'text':_0x1b1ba5[_0x2eaacc(0x1b8)]}]},{'tag':_0x2eaacc(0x1c4),'attributes':{'class':['ck',_0x2eaacc(0x1c7),_0x1b1ba5[_0x2eaacc(0x1b3)][_0x2eaacc(0x1cd)]()],'aria-hidden':_0x2eaacc(0x1c1)}}]};_0x22386b&&(_0x4023cb[_0x2eaacc(0x1cc)]=_0x2eaacc(0x1b5),_0x4023cb['on']={'click':_0x330edd['to'](()=>this[_0x2eaacc(0x1ca)](_0x2eaacc(0x1b9)))}),this[_0x2eaacc(0x1c6)](_0x4023cb);}[_0x2101d4(0x1b7)](){const _0x2e33ad=_0x2101d4;this[_0x2e33ad(0x1cb)][_0x2e33ad(0x1b7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c7fbb=_0x5b47;function _0x5b47(_0x40adde,_0x3574d0){const _0xc5afca=_0xc5af();return _0x5b47=function(_0x5b4745,_0x50acab){_0x5b4745=_0x5b4745-0x13c;let _0x3c87b1=_0xc5afca[_0x5b4745];return _0x3c87b1;},_0x5b47(_0x40adde,_0x3574d0);}function _0xc5af(){const _0x189797=['items','div','8WuCpek','9789577JRTjqL','set','element','24523565xDOwjG','change','ck-presence-list__dropdown-list-wrapper','ck-reset','36BLKncG','9299930Wjznsh','resize','_isScrollable','Connected\x20users\x20list\x20dropdown\x20menu','scrollHeight','ck-presence-list__dropdown-list','ck-list','356415bVrsdx','listenTo','ck-presence-list__dropdown-list-wrapper_scrollable','role','render','checkIfScrollable','clientHeight','ariaLabel','194omqiwL','max','window','application','listWrapperView','1004jBHVdb','innerHeight','bindTemplate','3499983UdOZkt','4481GYyQup','5523hyebVt','ariaLabelledBy','setTemplate'];_0xc5af=function(){return _0x189797;};return _0xc5af();}(function(_0x3ced49,_0x653532){const _0x3eeae0=_0x5b47,_0x1bfa96=_0x3ced49();while(!![]){try{const _0x57b288=parseInt(_0x3eeae0(0x15b))/0x1*(parseInt(_0x3eeae0(0x152))/0x2)+parseInt(_0x3eeae0(0x15c))/0x3*(parseInt(_0x3eeae0(0x157))/0x4)+parseInt(_0x3eeae0(0x14a))/0x5*(parseInt(_0x3eeae0(0x142))/0x6)+-parseInt(_0x3eeae0(0x162))/0x7*(parseInt(_0x3eeae0(0x161))/0x8)+-parseInt(_0x3eeae0(0x15a))/0x9+-parseInt(_0x3eeae0(0x143))/0xa+parseInt(_0x3eeae0(0x13e))/0xb;if(_0x57b288===_0x653532)break;else _0x1bfa96['push'](_0x1bfa96['shift']());}catch(_0x152a52){_0x1bfa96['push'](_0x1bfa96['shift']());}}}(_0xc5af,0xcc376));import{ListView as _0x2a5e87,View as _0x2c6867}from'ckeditor5/src/ui.js';import{global as _0xf1b5e8}from'ckeditor5/src/utils.js';import{getTranslation as _0x33036a}from'../../common-translations.js';export default class j extends _0x2c6867{constructor(_0x49b915,_0x2ed881){const _0x461d87=_0x5b47;super(_0x49b915),this[_0x461d87(0x156)]=new PresenceDropdownListWrapperView(_0x49b915,_0x2ed881),this[_0x461d87(0x15e)]({'tag':_0x461d87(0x160),'attributes':{'tabindex':-0x1,'role':_0x461d87(0x155),'class':['ck',_0x461d87(0x148)],'aria-label':_0x33036a(_0x49b915,_0x461d87(0x146))},'children':[this[_0x461d87(0x156)]]});}}export class PresenceDropdownListWrapperView extends _0x2a5e87{constructor(_0x13cb4c,_0x5d4af8){const _0x52f66c=_0x5b47;super(_0x13cb4c);const _0x5b86b6=this[_0x52f66c(0x159)];this[_0x52f66c(0x13c)](_0x52f66c(0x145),!0x1),this[_0x52f66c(0x15e)]({'tag':_0x5d4af8?_0x52f66c(0x160):'ul','attributes':{'class':['ck',_0x52f66c(0x141),_0x52f66c(0x149),_0x52f66c(0x140),_0x5b86b6['if'](_0x52f66c(0x145),_0x52f66c(0x14c))],'role':_0x5b86b6['to'](_0x52f66c(0x14d)),'aria-label':_0x5b86b6['to'](_0x52f66c(0x151)),'aria-labelledby':_0x5b86b6['to'](_0x52f66c(0x15d))},'children':this[_0x52f66c(0x15f)]}),this[_0x52f66c(0x14b)](_0xf1b5e8[_0x52f66c(0x154)],_0x52f66c(0x144),()=>this[_0x52f66c(0x14f)]()),this[_0x52f66c(0x15f)]['on'](_0x52f66c(0x13f),()=>this[_0x52f66c(0x14f)]());}[_0x4c7fbb(0x14e)](){const _0x3803ad=_0x4c7fbb;super[_0x3803ad(0x14e)](),this[_0x3803ad(0x14f)]();}[_0x4c7fbb(0x14f)](){const _0x194fb7=_0x4c7fbb,_0x10606d=this[_0x194fb7(0x13d)];_0x10606d&&(this[_0x194fb7(0x145)]=Math[_0x194fb7(0x153)](_0x10606d[_0x194fb7(0x147)],_0x10606d[_0x194fb7(0x150)])>0.8*window[_0x194fb7(0x158)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x564175,_0x45d7c0){const _0x3a4800=_0x2817,_0xbf2ed5=_0x564175();while(!![]){try{const _0x56783a=-parseInt(_0x3a4800(0x1fd))/0x1+parseInt(_0x3a4800(0x1fe))/0x2+parseInt(_0x3a4800(0x1e7))/0x3+parseInt(_0x3a4800(0x1e4))/0x4+parseInt(_0x3a4800(0x1e5))/0x5*(-parseInt(_0x3a4800(0x1ea))/0x6)+parseInt(_0x3a4800(0x1f7))/0x7+parseInt(_0x3a4800(0x1e8))/0x8*(-parseInt(_0x3a4800(0x1ec))/0x9);if(_0x56783a===_0x45d7c0)break;else _0xbf2ed5['push'](_0xbf2ed5['shift']());}catch(_0xd5e9a8){_0xbf2ed5['push'](_0xbf2ed5['shift']());}}}(_0x5bd4,0xa6752));function _0x5bd4(){const _0x30808d=['listitem','button','hasTooltip','userView','markerView','tag','execute','ck-presence-list__list-item__tooltip','isFocusable','3202941nZmaFO','div','setTemplate','text','ck-presence-list__marker','ck-presence-list__list-item','1342740FzGjFz','877378sjUFPM','tooltipPosition','true','getBackgroundColorClass','template','bindTemplate','span','5313508qvuNkz','145fVPoyi','fire','3603075WLnwHT','8PKOKBB','color','105582GZQFLz','set','8017119woykks','name'];_0x5bd4=function(){return _0x30808d;};return _0x5bd4();}import{LabelView as _0x9262e5,View as _0x1724e4}from'ckeditor5/src/ui.js';import{UserView as _0x2f1f63}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x1724e4{constructor(_0x21e33f,_0x43adb1,_0x48f847){const _0x41ebaf=_0x2817;super(_0x21e33f);const _0x380803=this[_0x41ebaf(0x1e2)];this[_0x41ebaf(0x1eb)](_0x41ebaf(0x1f6),!0x1),this[_0x41ebaf(0x1eb)](_0x41ebaf(0x1f0),!0x0),this[_0x41ebaf(0x1eb)](_0x41ebaf(0x1de),''),this[_0x41ebaf(0x1f1)]=new _0x2f1f63(_0x21e33f,_0x43adb1),this[_0x41ebaf(0x1f2)]=new dt(_0x21e33f,_0x43adb1);const _0xfa501e=new _0x9262e5(_0x21e33f);_0xfa501e[_0x41ebaf(0x1e1)][_0x41ebaf(0x1f3)]=_0x41ebaf(0x1e3),_0xfa501e[_0x41ebaf(0x1fa)]=_0x43adb1[_0x41ebaf(0x1ed)];const _0x22ae1e={'tag':_0x41ebaf(0x1f8),'attributes':{'class':['ck',_0x41ebaf(0x1fc)],'role':_0x41ebaf(0x1ee),'tabindex':_0x380803['to'](_0x41ebaf(0x1f6),_0x1a2867=>!!_0x1a2867&&0x0),'aria-labelledby':_0xfa501e['id'],'data-cke-tooltip-text':this[_0x41ebaf(0x1f1)][_0x41ebaf(0x1ed)],'data-cke-tooltip-position':_0x380803['to'](_0x41ebaf(0x1de)),'data-cke-tooltip-disabled':_0x380803['to'](_0x41ebaf(0x1f0),_0x411c24=>!_0x411c24),'data-cke-tooltip-class':_0x41ebaf(0x1f5)},'children':[this[_0x41ebaf(0x1f1)],this[_0x41ebaf(0x1f2)],_0xfa501e]};_0x48f847&&(_0x22ae1e[_0x41ebaf(0x1f3)]=_0x41ebaf(0x1ef),_0x22ae1e['on']={'click':_0x380803['to'](()=>this[_0x41ebaf(0x1e6)](_0x41ebaf(0x1f4)))}),this[_0x41ebaf(0x1f9)](_0x22ae1e);}}function _0x2817(_0x33adfd,_0xbb4058){const _0x5bd493=_0x5bd4();return _0x2817=function(_0x28174e,_0x2efc80){_0x28174e=_0x28174e-0x1de;let _0xacb836=_0x5bd493[_0x28174e];return _0xacb836;},_0x2817(_0x33adfd,_0xbb4058);}class dt extends _0x1724e4{constructor(_0x110a96,_0x405c93){const _0x451277=_0x2817;super(_0x110a96),this[_0x451277(0x1f9)]({'tag':_0x451277(0x1e3),'attributes':{'class':['ck',_0x451277(0x1fb),_0x405c93[_0x451277(0x1e9)][_0x451277(0x1e0)]()],'aria-hidden':_0x451277(0x1df)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1701a7=_0x3a9a;(function(_0x3f6563,_0x305e30){const _0x2dfb02=_0x3a9a,_0x5b9409=_0x3f6563();while(!![]){try{const _0x3f1835=parseInt(_0x2dfb02(0x1ef))/0x1*(parseInt(_0x2dfb02(0x1ee))/0x2)+parseInt(_0x2dfb02(0x1fc))/0x3*(parseInt(_0x2dfb02(0x1e1))/0x4)+parseInt(_0x2dfb02(0x1e3))/0x5+parseInt(_0x2dfb02(0x1f9))/0x6+-parseInt(_0x2dfb02(0x1f0))/0x7+-parseInt(_0x2dfb02(0x1f4))/0x8+-parseInt(_0x2dfb02(0x1e9))/0x9;if(_0x3f1835===_0x305e30)break;else _0x5b9409['push'](_0x5b9409['shift']());}catch(_0x4614d5){_0x5b9409['push'](_0x5b9409['shift']());}}}(_0x5881,0xe02c8));import{View as _0x282368}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x37553f}from'ckeditor5/src/utils.js';function _0x3a9a(_0x3ae61c,_0x1befb0){const _0x58815b=_0x5881();return _0x3a9a=function(_0x3a9a8b,_0x161ac0){_0x3a9a8b=_0x3a9a8b-0x1de;let _0x1648b4=_0x58815b[_0x3a9a8b];return _0x1648b4;},_0x3a9a(_0x3ae61c,_0x1befb0);}import{getTranslation as _0x5d28c6}from'../../common-translations.js';export default class es extends _0x282368{constructor(_0x55ee80){const _0x3e0998=_0x3a9a;super(_0x55ee80);const _0x2f3a51=this[_0x3e0998(0x1e2)];this[_0x3e0998(0x1f6)]=this[_0x3e0998(0x1eb)](),this[_0x3e0998(0x1e6)]=new _0x37553f(),this[_0x3e0998(0x1e0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3e0998(0x1e8)]({'tag':_0x3e0998(0x1f7),'attributes':{'aria-haspopup':_0x2f3a51['if'](_0x3e0998(0x1fd)),'aria-expanded':_0x2f3a51['to'](_0x3e0998(0x1e4),_0x4aa20a=>this[_0x3e0998(0x1fd)]&&String(_0x4aa20a)),'aria-label':_0x2f3a51['to'](_0x3e0998(0x1fd),_0x3eade1=>_0x5d28c6(_0x55ee80,_0x3eade1?_0x3e0998(0x1ed):_0x3e0998(0x1fa))),'role':_0x3e0998(0x1ec),'tabindex':_0x2f3a51['to'](_0x3e0998(0x1fd),_0x3eec7d=>!!_0x3eec7d&&0x0),'class':['ck',_0x3e0998(0x1e7)]},'children':this[_0x3e0998(0x1f6)],'on':{'click':_0x2f3a51['to'](()=>this[_0x3e0998(0x1e5)](_0x3e0998(0x1f3)))}}),this['on'](_0x3e0998(0x1f8),(_0x534f6d,_0x25b243,_0x1435a0)=>{const _0x37fd78=_0x3e0998;this[_0x37fd78(0x1f2)]&&(_0x1435a0?this[_0x37fd78(0x1f2)][_0x37fd78(0x1f1)](_0x37fd78(0x1f5),String(this[_0x37fd78(0x1e4)])):this[_0x37fd78(0x1f2)][_0x37fd78(0x1de)](_0x37fd78(0x1f5)));});}[_0x1701a7(0x1fb)](){const _0xe19c9b=_0x1701a7;this[_0xe19c9b(0x1f2)][_0xe19c9b(0x1fb)]();}[_0x1701a7(0x1df)](){const _0x18cbe4=_0x1701a7;super[_0x18cbe4(0x1df)](),this[_0x18cbe4(0x1e6)][_0x18cbe4(0x1ea)](this[_0x18cbe4(0x1f2)]);}}function _0x5881(){const _0x4f7663=['div','change:hasPopup','9454800JuwCLQ','Connected\x20users\x20list','focus','1318014aKSYzu','hasPopup','removeAttribute','render','set','8QmXvJn','bindTemplate','9003455rSMRUV','isExpanded','fire','keystrokes','ck-presence-list__list','setTemplate','14706225SyysKv','listenTo','createCollection','list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','6IJUjCQ','29711dSHJud','1581517xSCIfx','setAttribute','element','execute','12529024aTCZlR','aria-expanded','items'];_0x5881=function(){return _0x4f7663;};return _0x5881();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x183025,_0xd60aa5){const _0x3b5dea=_0x7a3a,_0xe1a35b=_0x183025();while(!![]){try{const _0x159701=-parseInt(_0x3b5dea(0x167))/0x1*(-parseInt(_0x3b5dea(0x176))/0x2)+parseInt(_0x3b5dea(0x162))/0x3*(parseInt(_0x3b5dea(0x15c))/0x4)+-parseInt(_0x3b5dea(0x165))/0x5*(parseInt(_0x3b5dea(0x169))/0x6)+-parseInt(_0x3b5dea(0x16f))/0x7*(parseInt(_0x3b5dea(0x16d))/0x8)+parseInt(_0x3b5dea(0x16c))/0x9+parseInt(_0x3b5dea(0x174))/0xa*(-parseInt(_0x3b5dea(0x15d))/0xb)+-parseInt(_0x3b5dea(0x175))/0xc;if(_0x159701===_0xd60aa5)break;else _0xe1a35b['push'](_0xe1a35b['shift']());}catch(_0x218618){_0xe1a35b['push'](_0xe1a35b['shift']());}}}(_0x6796,0xe51a9));import{View as _0x67bcc2}from'ckeditor5/src/ui.js';function _0x7a3a(_0xaa5440,_0x538381){const _0x679659=_0x6796();return _0x7a3a=function(_0x7a3a9e,_0x2d3b1c){_0x7a3a9e=_0x7a3a9e-0x158;let _0x44df60=_0x679659[_0x7a3a9e];return _0x44df60;},_0x7a3a(_0xaa5440,_0x538381);}import _0x37fce4 from'./presencecounterview.js';import _0x3b8619 from'./presenceinlinelistview.js';function _0x6796(){const _0x126c61=['477114lKlpEf','bind','tooltipPosition','div','items','3599553UCFwOZ','listenTo','ck-reset','20ScCOkn','counterView','2rchuhS','isCollapsed','936228AneZBJ','setTemplate','hasPopup','14908950gdsoMl','688912wsGsIV','ck-rounded-corners','140rRyNbP','inlineListView','bindTemplate','first','change','230RFlNzu','238080ahDEXv','1445882NoQZTr','ck-presence-list--collapsed','set','ck-presence-list','locale','4QZxOKN'];_0x6796=function(){return _0x126c61;};return _0x6796();}import'../../../theme/presencelist.css';export default class L extends _0x67bcc2{constructor(_0x4a2cc1){const _0x5d4731=_0x7a3a;super(_0x4a2cc1);const _0x8bfcbb=this[_0x5d4731(0x171)];this[_0x5d4731(0x159)](_0x5d4731(0x168),!0x0),this[_0x5d4731(0x166)]=new _0x37fce4(this[_0x5d4731(0x15b)]),this[_0x5d4731(0x170)]=new _0x3b8619(_0x4a2cc1),this[_0x5d4731(0x170)][_0x5d4731(0x15e)](_0x5d4731(0x16b))['to'](this,_0x5d4731(0x168)),this[_0x5d4731(0x163)](this[_0x5d4731(0x170)][_0x5d4731(0x161)],_0x5d4731(0x173),()=>{const _0x5af406=_0x5d4731;for(const _0x23bf9c of this[_0x5af406(0x170)][_0x5af406(0x161)])_0x23bf9c[_0x5af406(0x15f)]='s';this[_0x5af406(0x170)][_0x5af406(0x161)][_0x5af406(0x172)]&&(this[_0x5af406(0x170)][_0x5af406(0x161)][_0x5af406(0x172)][_0x5af406(0x15f)]='se');}),this[_0x5d4731(0x16a)]({'tag':_0x5d4731(0x160),'attributes':{'class':['ck',_0x5d4731(0x15a),_0x5d4731(0x164),_0x5d4731(0x16e),_0x8bfcbb['if'](_0x5d4731(0x168),_0x5d4731(0x158))]},'children':[this[_0x5d4731(0x166)],this[_0x5d4731(0x170)]]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39481f=_0x3087;(function(_0x3c59e8,_0xc35a14){const _0x5f50af=_0x3087,_0x3bafef=_0x3c59e8();while(!![]){try{const _0x488960=-parseInt(_0x5f50af(0x15f))/0x1+parseInt(_0x5f50af(0x16f))/0x2*(parseInt(_0x5f50af(0x136))/0x3)+parseInt(_0x5f50af(0x165))/0x4*(parseInt(_0x5f50af(0x142))/0x5)+parseInt(_0x5f50af(0x138))/0x6*(-parseInt(_0x5f50af(0x175))/0x7)+-parseInt(_0x5f50af(0x143))/0x8+parseInt(_0x5f50af(0x161))/0x9*(parseInt(_0x5f50af(0x16e))/0xa)+parseInt(_0x5f50af(0x154))/0xb;if(_0x488960===_0xc35a14)break;else _0x3bafef['push'](_0x3bafef['shift']());}catch(_0x33eacd){_0x3bafef['push'](_0x3bafef['shift']());}}}(_0x525c,0x29452));import{Context as _0x470efe,ContextPlugin as _0x40cfae}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f349d}from'ckeditor5/src/utils.js';function _0x3087(_0x56203d,_0x3c7a99){const _0x525c32=_0x525c();return _0x3087=function(_0x308726,_0x3d4daa){_0x308726=_0x308726-0x12a;let _0x36a528=_0x525c32[_0x308726];return _0x36a528;},_0x3087(_0x56203d,_0x3c7a99);}import{Users as _0x3d6665}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x525c(){const _0x6c04aa=['commentId','cloudservicescommentsadapter-disconnect-not-exist','collaboration.channelId','startsWith','delete','code','2429230nuRWNB','3922ifOFba','removeCommentThread','mySessionId','getComment','_getService','getCommentThread','1113FrAENx','set','get','addCommentThread','commentThreadReopened','keys','context','adapter','updateCommentThread','deletedAt','from','authorId','map','getMany','reconnect','cloud-services-internal-error:\x20Not\x20connected.','message','assign','requires','userId','update','createdAt','addComment','_setUpService','CommentsRepository','getConnectedSessions','cloudservicescommentsadapter-service-not-exist','addToReconnectionStack','catch','resolvedAt','cloud-services-internal-error:\x20Request\x20timeout.','404','_connectService','getUser','comments','resolvedBy','register','commentAdded','195xaBjfU','commentThreadRemoved','3972nHbURw','content','_fetchMissingUsersForThreads','commentRemoved','size','_services','listenTo','disconnect','resolveCommentThread','resolve','27175aviuri','375488MndsGL','CloudServicesCommentsAdapter','_terminateService','Permissions','off','plugins','commentThreadResolved','permissions','has','reopen','attributes','unregister','commentUpdated','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','removeComment','reopenCommentThread','pluginName','1820962CqXrwI','updateComment','connect','sessionAdd:','init','getCommentThreads','commentThreadId','addUser','CommentsService','config','commentThreadAdded','258174GSYEgZ','destroy','9daUbPd','add','cloudservicescommentsadapter-connect-already-connected','remove','32sINiOY','commentThreadUpdated','setPermissions'];_0x525c=function(){return _0x6c04aa;};return _0x525c();}import{CommentsService as _0x54bc76,User as _0x4cdf9b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x506c92 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1a0683 from'../realtimecollaborativeediting/sessions.js';class a extends _0x40cfae{static get[_0x39481f(0x187)](){const _0xaa3fbb=_0x39481f;return[_0x506c92,_0xaa3fbb(0x18d),_0x1a0683,_0x3d6665];}static get[_0x39481f(0x153)](){const _0x9e4e4d=_0x39481f;return _0x9e4e4d(0x144);}constructor(_0x4e7c30){const _0x565aca=_0x39481f;super(_0x4e7c30),this[_0x565aca(0x13d)]=new Map();}async[_0x39481f(0x158)](){const _0x44a360=_0x39481f,_0x5dd4be=this[_0x44a360(0x17b)],_0x530f68=_0x5dd4be[_0x44a360(0x148)][_0x44a360(0x177)](_0x44a360(0x18d));if(_0x5dd4be[_0x44a360(0x148)][_0x44a360(0x177)](_0x506c92)[_0x44a360(0x12b)](this),_0x530f68[_0x44a360(0x17c)]={'addCommentThread':async({channelId:_0x51e286,threadId:_0x2dcb2a,comments:_0x348eef,resolvedAt:_0x4bcd45,resolvedBy:_0x1138b0,context:_0x1d2d09,attributes:_0x51b42a})=>{const _0x42816f=_0x44a360,_0x1b511b=await this[_0x42816f(0x173)](_0x51e286)[_0x42816f(0x178)]({'commentThreadId':_0x2dcb2a,'comments':_0x348eef[_0x42816f(0x181)](_0x4faf1f=>function(_0x5ccd67,_0x2c5ba6,_0x2f92c7){const _0x72f68a=_0x42816f;return{'commentThreadId':_0x2f92c7,'commentId':_0x5ccd67[_0x72f68a(0x168)],'userId':_0x5ccd67[_0x72f68a(0x180)],'content':_0x5ccd67[_0x72f68a(0x139)],'documentId':_0x2c5ba6,'createdAt':_0x5ccd67[_0x72f68a(0x18a)],'attributes':_0x5ccd67[_0x72f68a(0x14d)]||{}};}(_0x4faf1f,_0x51e286,_0x2dcb2a)),'resolvedAt':_0x4bcd45,'resolvedBy':_0x1138b0,'context':_0x1d2d09,'attributes':_0x51b42a})[_0x42816f(0x12c)](w);return{'threadId':_0x1b511b[_0x42816f(0x15a)],'comments':_0x1b511b[_0x42816f(0x132)]};},'getCommentThread':async({channelId:_0x490e52,threadId:_0x5f4df6})=>{const _0x58688a=_0x44a360,_0x586ed4=await this[_0x58688a(0x173)](_0x490e52)[_0x58688a(0x174)](_0x5f4df6)[_0x58688a(0x12c)](w);return _0x586ed4[_0x58688a(0x17e)]?null:(await this[_0x58688a(0x13a)]([_0x586ed4]),{'threadId':_0x586ed4[_0x58688a(0x15a)],'comments':_0x586ed4[_0x58688a(0x132)][_0x58688a(0x181)](b),'context':_0x586ed4[_0x58688a(0x17b)],'resolvedAt':_0x586ed4[_0x58688a(0x12d)],'resolvedBy':_0x586ed4[_0x58688a(0x133)],'attributes':_0x586ed4[_0x58688a(0x14d)]||{}});},'updateCommentThread':async({channelId:_0x35315b,threadId:_0x53de1e,context:_0x5a9cca,unlinkedAt:_0x52fd04,attributes:_0x1eb7fb})=>this[_0x44a360(0x173)](_0x35315b)[_0x44a360(0x17d)]({'commentThreadId':_0x53de1e,'context':_0x5a9cca,'attributes':_0x1eb7fb,'unlinkedAt':_0x52fd04})[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w),'resolveCommentThread':async({channelId:_0x20555c,threadId:_0x3c19fc})=>{const _0x25f83a=_0x44a360,_0x36e170=await this[_0x25f83a(0x173)](_0x20555c)[_0x25f83a(0x140)](_0x3c19fc)[_0x25f83a(0x12c)](y)[_0x25f83a(0x12c)](w);return{'threadId':_0x36e170[_0x25f83a(0x15a)],'resolvedAt':_0x36e170[_0x25f83a(0x12d)],'resolvedBy':_0x36e170[_0x25f83a(0x133)]};},'reopenCommentThread':async({channelId:_0x506d23,threadId:_0x4af50c})=>this[_0x44a360(0x173)](_0x506d23)[_0x44a360(0x152)](_0x4af50c)[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w),'removeCommentThread':({channelId:_0x49ddb2,threadId:_0x153ca1})=>this[_0x44a360(0x173)](_0x49ddb2)[_0x44a360(0x170)](_0x153ca1)[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w),'addComment':({channelId:_0x4e8890,threadId:_0x4939ec,commentId:_0xc5a9c,content:_0x1cbc70,attributes:_0x4d9966})=>this[_0x44a360(0x173)](_0x4e8890)[_0x44a360(0x18b)](_0x4939ec,_0xc5a9c,_0x1cbc70,_0x4d9966)[_0x44a360(0x12c)](w),'updateComment':({channelId:_0x2a9223,threadId:_0x5d66c9,commentId:_0x4aacc7,content:_0xb64bb2,attributes:_0x5b1a49})=>this[_0x44a360(0x173)](_0x2a9223)[_0x44a360(0x155)](_0x5d66c9,_0x4aacc7,_0xb64bb2,_0x5b1a49)[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w),'removeComment':({channelId:_0x366b2e,threadId:_0x1d396d,commentId:_0x5c5154})=>this[_0x44a360(0x173)](_0x366b2e)[_0x44a360(0x151)](_0x1d396d,_0x5c5154)[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w)},_0x5dd4be instanceof _0x470efe){const _0x18d2fb=_0x5dd4be[_0x44a360(0x15d)][_0x44a360(0x177)](_0x44a360(0x16a)),_0xa600bf=_0x5dd4be[_0x44a360(0x148)][_0x44a360(0x177)](_0x1a0683);await this[_0x44a360(0x18c)](_0x18d2fb);const _0x434d04=await this[_0x44a360(0x13d)][_0x44a360(0x177)](_0x18d2fb)[_0x44a360(0x18e)]();this[_0x44a360(0x13e)](_0xa600bf,_0x44a360(0x157)+_0x18d2fb,(_0x4690ac,{session:_0x182684})=>{const _0x1fad96=_0x44a360;_0x182684['id']===_0xa600bf[_0x1fad96(0x171)]&&(_0x4690ac[_0x1fad96(0x147)](),this[_0x1fad96(0x17b)][_0x1fad96(0x148)][_0x1fad96(0x177)](_0x1fad96(0x146))[_0x1fad96(0x167)](_0x182684[_0x1fad96(0x14a)],_0x18d2fb));}),_0xa600bf[_0x44a360(0x134)](_0x18d2fb,_0x434d04);}}async[_0x39481f(0x18c)](_0x58e29b){const _0x592ce9=_0x39481f;if(this[_0x592ce9(0x13d)][_0x592ce9(0x14b)](_0x58e29b))throw new _0x1f349d(_0x592ce9(0x163),null,{'channelId':_0x58e29b});const _0x294d79=this[_0x592ce9(0x17b)][_0x592ce9(0x148)][_0x592ce9(0x177)](_0x592ce9(0x18d)),_0x1f8304=new a[(_0x592ce9(0x15c))](_0x58e29b);this[_0x592ce9(0x13d)][_0x592ce9(0x176)](_0x58e29b,_0x1f8304),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x15e),(_0x7644a0,_0x4d4970)=>{const _0x5f3657=_0x592ce9,{commentThreadId:_0x49c64c,documentId:_0x6d8091,context:_0x27e285,attributes:_0x35f91f,resolvedAt:_0x26b48e,resolvedBy:_0x42985a,comments:_0x28ceb3}=_0x4d4970;_0x294d79[_0x5f3657(0x174)](_0x49c64c)||_0x294d79[_0x5f3657(0x178)]({'threadId':_0x49c64c,'channelId':_0x6d8091,'comments':_0x28ceb3?_0x28ceb3[_0x5f3657(0x181)](b):[],'context':_0x27e285,'attributes':_0x35f91f,'resolvedAt':_0x26b48e,'resolvedBy':_0x42985a,'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x166),(_0x351e79,{commentThreadId:_0x5ba21d,documentId:_0x6392cc,context:_0x10b388,unlinkedAt:_0x52e94d,attributes:_0x2f51d7})=>{const _0x3c653f=_0x592ce9;_0x294d79[_0x3c653f(0x174)](_0x5ba21d)&&_0x294d79[_0x3c653f(0x17d)]({'threadId':_0x5ba21d,'channelId':_0x6392cc,'context':_0x10b388,'unlinkedAt':_0x52e94d,'attributes':_0x2f51d7,'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x149),(_0x53c2e4,{commentThreadId:_0xd35d9a,resolvedBy:_0x117126,resolvedAt:_0xdb0a51})=>{const _0x17af5a=_0x592ce9,_0x616245=_0x294d79[_0x17af5a(0x174)](_0xd35d9a);_0x616245&&_0x616245[_0x17af5a(0x141)]({'resolvedBy':_0x117126,'resolvedAt':_0xdb0a51,'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x179),(_0x267cc0,{commentThreadId:_0x27059b})=>{const _0x8cad64=_0x592ce9,_0x14976a=_0x294d79[_0x8cad64(0x174)](_0x27059b);_0x14976a&&_0x14976a[_0x8cad64(0x14c)]({'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x137),(_0x224e62,{commentThreadId:_0x10cb00})=>{const _0x4ad276=_0x592ce9,_0xa9f9ce=_0x294d79[_0x4ad276(0x174)](_0x10cb00);_0xa9f9ce&&_0xa9f9ce[_0x4ad276(0x164)]({'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x135),(_0x1fa3dd,_0x359452)=>{const _0x5cf9a7=_0x592ce9,_0x358f68=_0x359452[_0x5cf9a7(0x15a)],_0xbcb6ec=_0x294d79[_0x5cf9a7(0x174)](_0x358f68);_0xbcb6ec&&_0xbcb6ec[_0x5cf9a7(0x18b)]({...b(_0x359452),'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x14f),(_0x510f9d,{commentThreadId:_0x315171,commentId:_0x255b98,content:_0x29ac13,attributes:_0x5aad41})=>{const _0xaedd3=_0x592ce9,_0x159aa2=_0x294d79[_0xaedd3(0x174)](_0x315171);if(_0x159aa2){const _0x3e7346=_0x159aa2[_0xaedd3(0x172)](_0x255b98);_0x3e7346&&_0x3e7346[_0xaedd3(0x189)]({'content':_0x29ac13,'attributes':_0x5aad41,'isFromAdapter':!0x0});}}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x13b),(_0x1a94f1,{commentThreadId:_0x4b3168,commentId:_0x5b333f})=>{const _0x19eca3=_0x592ce9,_0x1de53d=_0x294d79[_0x19eca3(0x174)](_0x4b3168);if(_0x1de53d){const _0x4a5b02=_0x1de53d[_0x19eca3(0x172)](_0x5b333f);_0x4a5b02&&_0x4a5b02[_0x19eca3(0x164)]({'isFromAdapter':!0x0});}}),await this[_0x592ce9(0x130)](_0x58e29b);}[_0x39481f(0x160)](){const _0x5a3579=_0x39481f;if(this[_0x5a3579(0x17b)]instanceof _0x470efe){const _0x5ab031=this[_0x5a3579(0x17b)][_0x5a3579(0x15d)][_0x5a3579(0x177)](_0x5a3579(0x16a));this[_0x5a3579(0x145)](_0x5ab031);}}[_0x39481f(0x145)](_0x5380f3){const _0x39d568=_0x39481f;if(!this[_0x39d568(0x13d)][_0x39d568(0x14b)](_0x5380f3))throw new _0x1f349d(_0x39d568(0x169),null,{'channelId':_0x5380f3});this[_0x39d568(0x173)](_0x5380f3)[_0x39d568(0x13f)](),this[_0x39d568(0x13d)][_0x39d568(0x16c)](_0x5380f3);}async[_0x39481f(0x183)](){const _0x3cdd25=_0x39481f;for(const _0x4341c2 of this[_0x3cdd25(0x13d)][_0x3cdd25(0x17a)]())await this[_0x3cdd25(0x130)](_0x4341c2);if(this[_0x3cdd25(0x17b)]instanceof _0x470efe){const _0x32e571=this[_0x3cdd25(0x17b)][_0x3cdd25(0x15d)][_0x3cdd25(0x177)](_0x3cdd25(0x16a)),_0x4a7d7d=this[_0x3cdd25(0x17b)][_0x3cdd25(0x148)][_0x3cdd25(0x177)](_0x1a0683);_0x4a7d7d[_0x3cdd25(0x14e)](_0x32e571);const _0x1bfff5=await this[_0x3cdd25(0x13d)][_0x3cdd25(0x177)](_0x32e571)[_0x3cdd25(0x18e)]();_0x4a7d7d[_0x3cdd25(0x134)](_0x32e571,_0x1bfff5);}}async[_0x39481f(0x130)](_0x2605d0){const _0x48efe1=_0x39481f,{connection:_0x2dcefc}=this[_0x48efe1(0x17b)][_0x48efe1(0x148)][_0x48efe1(0x177)](_0x506c92),_0x41eb6d=this[_0x48efe1(0x17b)][_0x48efe1(0x148)][_0x48efe1(0x177)](_0x48efe1(0x18d)),_0x146843=this[_0x48efe1(0x13d)][_0x48efe1(0x177)](_0x2605d0),_0x33cf29=await _0x146843[_0x48efe1(0x156)](_0x2dcefc);await this[_0x48efe1(0x13a)](_0x33cf29);const _0x1bee43=new Set(Array[_0x48efe1(0x17f)](_0x41eb6d[_0x48efe1(0x159)]({'channelId':_0x2605d0}),_0x3a1af4=>_0x3a1af4['id']));for(const _0x33e343 of _0x33cf29)_0x33e343[_0x48efe1(0x17e)]||_0x1bee43[_0x48efe1(0x16c)](_0x33e343[_0x48efe1(0x15a)]);for(const _0x10470c of _0x1bee43)_0x41eb6d[_0x48efe1(0x174)](_0x10470c)[_0x48efe1(0x164)]({'isFromAdapter':!0x0});for(const _0x18ea3a of _0x33cf29){let _0x62166b=_0x41eb6d[_0x48efe1(0x174)](_0x18ea3a[_0x48efe1(0x15a)]);const {commentThreadId:_0x40b6b6,context:_0x33d874,attributes:_0xbcfbdb,resolvedBy:_0x16734d,resolvedAt:_0x51eea1,unlinkedAt:_0x23a862,deletedAt:_0x3354bd}=_0x18ea3a;if(_0x3354bd)continue;_0x62166b||(_0x62166b=_0x41eb6d[_0x48efe1(0x178)]({'channelId':_0x2605d0,'threadId':_0x40b6b6,'context':_0x33d874,'attributes':_0xbcfbdb||{},'resolvedBy':_0x16734d,'resolvedAt':_0x51eea1,'unlinkedAt':_0x23a862,'isFromAdapter':!0x0}));const _0x4d2185=new Set(Array[_0x48efe1(0x17f)](_0x62166b[_0x48efe1(0x132)],_0x241a3e=>_0x241a3e['id']));for(const _0x66d42 of _0x18ea3a[_0x48efe1(0x132)])_0x4d2185[_0x48efe1(0x16c)](_0x66d42[_0x48efe1(0x168)]);for(const _0x5a319e of _0x4d2185)_0x62166b[_0x48efe1(0x172)](_0x5a319e)[_0x48efe1(0x164)]({'isFromAdapter':!0x0});for(const _0x874821 of _0x18ea3a[_0x48efe1(0x132)]){const _0x1e478f=_0x62166b[_0x48efe1(0x172)](_0x874821[_0x48efe1(0x168)]);_0x1e478f?_0x1e478f[_0x48efe1(0x139)]!==_0x874821[_0x48efe1(0x139)]&&_0x1e478f[_0x48efe1(0x189)]({'content':_0x874821[_0x48efe1(0x139)],'isFromAdapter':!0x0}):_0x62166b[_0x48efe1(0x18b)](Object[_0x48efe1(0x186)](b(_0x874821),{'isFromAdapter':!0x0}));}}}[_0x39481f(0x173)](_0x52369f){const _0x15e5fe=_0x39481f;if(!this[_0x15e5fe(0x13d)][_0x15e5fe(0x14b)](_0x52369f))throw new _0x1f349d(_0x15e5fe(0x12a),null,{'channelId':_0x52369f});return this[_0x15e5fe(0x13d)][_0x15e5fe(0x177)](_0x52369f);}async[_0x39481f(0x13a)](_0x1088f5){const _0x223db0=_0x39481f,_0x589bfa=this[_0x223db0(0x17b)][_0x223db0(0x148)][_0x223db0(0x177)](_0x3d6665),{connection:_0x2d6485}=this[_0x223db0(0x17b)][_0x223db0(0x148)][_0x223db0(0x177)](_0x506c92),_0x1664e6=new Set();for(const {resolvedBy:_0x4e8b9d,comments:_0x18c1de}of _0x1088f5){_0x4e8b9d&&!_0x589bfa[_0x223db0(0x131)](_0x4e8b9d)&&_0x1664e6[_0x223db0(0x162)](_0x4e8b9d);for(const {userId:_0x3b2a0f}of _0x18c1de)_0x589bfa[_0x223db0(0x131)](_0x3b2a0f)||_0x1664e6[_0x223db0(0x162)](_0x3b2a0f);}if(0x0===_0x1664e6[_0x223db0(0x13c)])return;const _0x29f2c1=await _0x4cdf9b[_0x223db0(0x182)](_0x2d6485,Array[_0x223db0(0x17f)](_0x1664e6));for(const _0x2f0636 of _0x29f2c1)_0x589bfa[_0x223db0(0x131)](_0x2f0636['id'])||_0x589bfa[_0x223db0(0x15b)](_0x2f0636);}}a[_0x39481f(0x15c)]=_0x54bc76;export default a;async function y(_0x1af7bd){const _0x28174c=_0x39481f;if(_0x28174c(0x12f)!==_0x1af7bd[_0x28174c(0x16d)])throw _0x1af7bd;}function w(_0x4a73bf){const _0x2df7f8=_0x39481f;if((_0x40e78f=_0x4a73bf)[_0x2df7f8(0x185)][_0x2df7f8(0x16b)](_0x2df7f8(0x150))||_0x40e78f[_0x2df7f8(0x185)][_0x2df7f8(0x16b)](_0x2df7f8(0x184))||_0x40e78f[_0x2df7f8(0x185)][_0x2df7f8(0x16b)](_0x2df7f8(0x12e)))return new Promise(()=>{});var _0x40e78f;throw _0x4a73bf;}function b(_0x5eb68a){const _0x5635d9=_0x39481f;return{'threadId':_0x5eb68a[_0x5635d9(0x15a)],'commentId':_0x5eb68a[_0x5635d9(0x168)],'content':_0x5eb68a[_0x5635d9(0x139)],'createdAt':_0x5eb68a[_0x5635d9(0x18a)],'authorId':_0x5eb68a[_0x5635d9(0x188)],'attributes':_0x5eb68a[_0x5635d9(0x14d)]||{}};}
|
|
23
|
+
const _0x54fd4f=_0x558f;(function(_0x1f00d6,_0x134caf){const _0x5cc5d4=_0x558f,_0x4dc9e0=_0x1f00d6();while(!![]){try{const _0x5a940d=parseInt(_0x5cc5d4(0x15d))/0x1*(-parseInt(_0x5cc5d4(0x162))/0x2)+-parseInt(_0x5cc5d4(0x1ad))/0x3*(-parseInt(_0x5cc5d4(0x15f))/0x4)+parseInt(_0x5cc5d4(0x199))/0x5+parseInt(_0x5cc5d4(0x154))/0x6+parseInt(_0x5cc5d4(0x1a5))/0x7*(parseInt(_0x5cc5d4(0x166))/0x8)+parseInt(_0x5cc5d4(0x194))/0x9+-parseInt(_0x5cc5d4(0x17c))/0xa*(parseInt(_0x5cc5d4(0x1a2))/0xb);if(_0x5a940d===_0x134caf)break;else _0x4dc9e0['push'](_0x4dc9e0['shift']());}catch(_0x41b3ce){_0x4dc9e0['push'](_0x4dc9e0['shift']());}}}(_0x4c82,0x700e9));import{Context as _0x2e6bbd,ContextPlugin as _0x46bb20}from'ckeditor5/src/core.js';import{CKEditorError as _0x9abc7a}from'ckeditor5/src/utils.js';import{Users as _0x5902bc}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x14c5df,User as _0xf7407f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x175ef4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5b1a92 from'../realtimecollaborativeediting/sessions.js';class a extends _0x46bb20{static get[_0x54fd4f(0x163)](){const _0xabc122=_0x54fd4f;return[_0x175ef4,_0xabc122(0x1b3),_0x5b1a92,_0x5902bc];}static get[_0x54fd4f(0x19c)](){const _0x24cbc2=_0x54fd4f;return _0x24cbc2(0x175);}constructor(_0x266669){const _0x5ccfce=_0x54fd4f;super(_0x266669),this[_0x5ccfce(0x1ac)]=new Map();}async[_0x54fd4f(0x196)](){const _0x396799=_0x54fd4f,_0x3906e7=this[_0x396799(0x1ab)],_0x2b03a7=_0x3906e7[_0x396799(0x16a)][_0x396799(0x188)](_0x396799(0x1b3));if(_0x3906e7[_0x396799(0x16a)][_0x396799(0x188)](_0x175ef4)[_0x396799(0x164)](this),_0x2b03a7[_0x396799(0x18d)]={'addCommentThread':async({channelId:_0x496d63,threadId:_0x1f374f,comments:_0x43ba8e,resolvedAt:_0x342eb7,resolvedBy:_0x21c6a3,context:_0x123455,attributes:_0x2e2449})=>{const _0x7a94fc=_0x396799,_0x53e8e8=await this[_0x7a94fc(0x191)](_0x496d63)[_0x7a94fc(0x1a6)]({'commentThreadId':_0x1f374f,'comments':_0x43ba8e[_0x7a94fc(0x174)](_0x2a2fd4=>function(_0x253893,_0x5c3560,_0x3dbfaa){const _0x280b4f=_0x7a94fc;return{'commentThreadId':_0x3dbfaa,'commentId':_0x253893[_0x280b4f(0x156)],'userId':_0x253893[_0x280b4f(0x160)],'content':_0x253893[_0x280b4f(0x19e)],'documentId':_0x5c3560,'createdAt':_0x253893[_0x280b4f(0x18c)],'attributes':_0x253893[_0x280b4f(0x177)]||{}};}(_0x2a2fd4,_0x496d63,_0x1f374f)),'resolvedAt':_0x342eb7,'resolvedBy':_0x21c6a3,'context':_0x123455,'attributes':_0x2e2449})[_0x7a94fc(0x1ae)](ot);return{'threadId':_0x53e8e8[_0x7a94fc(0x184)],'comments':_0x53e8e8[_0x7a94fc(0x1aa)]};},'getCommentThread':async({channelId:_0x3400c0,threadId:_0x50d27c})=>{const _0x3661f7=_0x396799,_0x3f2953=await this[_0x3661f7(0x191)](_0x3400c0)[_0x3661f7(0x19a)](_0x50d27c)[_0x3661f7(0x1ae)](ot);return _0x3f2953[_0x3661f7(0x155)]?null:(await this[_0x3661f7(0x18a)]([_0x3f2953]),{'threadId':_0x3f2953[_0x3661f7(0x184)],'comments':_0x3f2953[_0x3661f7(0x1aa)][_0x3661f7(0x174)](nt),'context':_0x3f2953[_0x3661f7(0x1ab)],'resolvedAt':_0x3f2953[_0x3661f7(0x161)],'resolvedBy':_0x3f2953[_0x3661f7(0x15b)],'attributes':_0x3f2953[_0x3661f7(0x177)]||{}});},'updateCommentThread':async({channelId:_0x5e7fe7,threadId:_0x32c8f9,context:_0x4eb5c9,unlinkedAt:_0xc8afde,attributes:_0x5cf21a})=>this[_0x396799(0x191)](_0x5e7fe7)[_0x396799(0x153)]({'commentThreadId':_0x32c8f9,'context':_0x4eb5c9,'attributes':_0x5cf21a,'unlinkedAt':_0xc8afde})[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot),'resolveCommentThread':async({channelId:_0x50a157,threadId:_0x3691dd})=>{const _0x423cc9=_0x396799,_0x2e0a8=await this[_0x423cc9(0x191)](_0x50a157)[_0x423cc9(0x190)](_0x3691dd)[_0x423cc9(0x1ae)](et)[_0x423cc9(0x1ae)](ot);return{'threadId':_0x2e0a8[_0x423cc9(0x184)],'resolvedAt':_0x2e0a8[_0x423cc9(0x161)],'resolvedBy':_0x2e0a8[_0x423cc9(0x15b)]};},'reopenCommentThread':async({channelId:_0x4df103,threadId:_0x241403})=>this[_0x396799(0x191)](_0x4df103)[_0x396799(0x186)](_0x241403)[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot),'removeCommentThread':({channelId:_0x325411,threadId:_0x1bac36})=>this[_0x396799(0x191)](_0x325411)[_0x396799(0x1af)](_0x1bac36)[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot),'addComment':({channelId:_0x33bd73,threadId:_0x29c141,commentId:_0x3f3b16,content:_0x202792,attributes:_0x5c950b})=>this[_0x396799(0x191)](_0x33bd73)[_0x396799(0x181)](_0x29c141,_0x3f3b16,_0x202792,_0x5c950b)[_0x396799(0x1ae)](ot),'updateComment':({channelId:_0x23b97e,threadId:_0x4767a2,commentId:_0x2d8ed1,content:_0x3d1084,attributes:_0xca8186})=>this[_0x396799(0x191)](_0x23b97e)[_0x396799(0x180)](_0x4767a2,_0x2d8ed1,_0x3d1084,_0xca8186)[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot),'removeComment':({channelId:_0x425fb8,threadId:_0x1298ad,commentId:_0x4ac19d})=>this[_0x396799(0x191)](_0x425fb8)[_0x396799(0x167)](_0x1298ad,_0x4ac19d)[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot)},_0x3906e7 instanceof _0x2e6bbd){const _0x4b9da7=_0x3906e7[_0x396799(0x16f)][_0x396799(0x188)](_0x396799(0x158)),_0x125e69=_0x3906e7[_0x396799(0x16a)][_0x396799(0x188)](_0x5b1a92);await this[_0x396799(0x1a0)](_0x4b9da7);const _0x14c554=await this[_0x396799(0x1ac)][_0x396799(0x188)](_0x4b9da7)[_0x396799(0x173)]();this[_0x396799(0x183)](_0x125e69,_0x396799(0x15e)+_0x4b9da7,(_0x4acea1,{session:_0x4f82a2})=>{const _0x2de3a8=_0x396799;_0x4f82a2['id']===_0x125e69[_0x2de3a8(0x169)]&&(_0x4acea1[_0x2de3a8(0x157)](),this[_0x2de3a8(0x1ab)][_0x2de3a8(0x16a)][_0x2de3a8(0x188)](_0x2de3a8(0x14f))[_0x2de3a8(0x170)](_0x4f82a2[_0x2de3a8(0x152)],_0x4b9da7));}),_0x125e69[_0x396799(0x1a9)](_0x4b9da7,_0x14c554);}}async[_0x54fd4f(0x1a0)](_0x4d67a1){const _0x4818a4=_0x54fd4f;if(this[_0x4818a4(0x1ac)][_0x4818a4(0x19d)](_0x4d67a1))throw new _0x9abc7a(_0x4818a4(0x171),null,{'channelId':_0x4d67a1});const _0x39a675=this[_0x4818a4(0x1ab)][_0x4818a4(0x16a)][_0x4818a4(0x188)](_0x4818a4(0x1b3)),_0x269f54=new a[(_0x4818a4(0x1b2))](_0x4d67a1);this[_0x4818a4(0x1ac)][_0x4818a4(0x165)](_0x4d67a1,_0x269f54),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x193),(_0x666d88,_0x156277)=>{const _0x2f6301=_0x4818a4,{commentThreadId:_0x5af38c,documentId:_0x9a4f01,context:_0xd5a1c5,attributes:_0x40be6d,resolvedAt:_0x4872ca,resolvedBy:_0x535d14,comments:_0x43c712}=_0x156277;_0x39a675[_0x2f6301(0x19a)](_0x5af38c)||_0x39a675[_0x2f6301(0x1a6)]({'threadId':_0x5af38c,'channelId':_0x9a4f01,'comments':_0x43c712?_0x43c712[_0x2f6301(0x174)](nt):[],'context':_0xd5a1c5,'attributes':_0x40be6d,'resolvedAt':_0x4872ca,'resolvedBy':_0x535d14,'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x185),(_0x4cf3f5,{commentThreadId:_0x350aad,documentId:_0x4faaa8,context:_0x1cc438,unlinkedAt:_0x16ae78,attributes:_0x1f3c59})=>{const _0x5312c7=_0x4818a4;_0x39a675[_0x5312c7(0x19a)](_0x350aad)&&_0x39a675[_0x5312c7(0x153)]({'threadId':_0x350aad,'channelId':_0x4faaa8,'context':_0x1cc438,'unlinkedAt':_0x16ae78,'attributes':_0x1f3c59,'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x18b),(_0x3d1500,{commentThreadId:_0xfa912,resolvedBy:_0x33dbc6,resolvedAt:_0x3f1dea})=>{const _0x2ab666=_0x4818a4,_0x511aba=_0x39a675[_0x2ab666(0x19a)](_0xfa912);_0x511aba&&_0x511aba[_0x2ab666(0x151)]({'resolvedBy':_0x33dbc6,'resolvedAt':_0x3f1dea,'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x150),(_0x4e0cd3,{commentThreadId:_0x522a25})=>{const _0x4991c2=_0x4818a4,_0x2109d2=_0x39a675[_0x4991c2(0x19a)](_0x522a25);_0x2109d2&&_0x2109d2[_0x4991c2(0x179)]({'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x1b1),(_0x12e6e7,{commentThreadId:_0x12c7f5})=>{const _0x5123e6=_0x4818a4,_0x517d14=_0x39a675[_0x5123e6(0x19a)](_0x12c7f5);_0x517d14&&_0x517d14[_0x5123e6(0x17b)]({'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x17d),(_0x203858,_0x58d007)=>{const _0x32ae04=_0x4818a4,_0x5ca578=_0x58d007[_0x32ae04(0x184)],_0x1517f1=_0x39a675[_0x32ae04(0x19a)](_0x5ca578);_0x1517f1&&_0x1517f1[_0x32ae04(0x181)]({...nt(_0x58d007),'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x19f),(_0x477385,{commentThreadId:_0x552394,commentId:_0x845688,content:_0x31735a,attributes:_0x412388})=>{const _0x5bc33d=_0x4818a4,_0xff72c4=_0x39a675[_0x5bc33d(0x19a)](_0x552394);if(_0xff72c4){const _0x307b1f=_0xff72c4[_0x5bc33d(0x1a3)](_0x845688);_0x307b1f&&_0x307b1f[_0x5bc33d(0x17e)]({'content':_0x31735a,'attributes':_0x412388,'isFromAdapter':!0x0});}}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x1a4),(_0x1e7e8f,{commentThreadId:_0x124e1c,commentId:_0x48ae0d})=>{const _0x3ec6a5=_0x4818a4,_0xff3ec7=_0x39a675[_0x3ec6a5(0x19a)](_0x124e1c);if(_0xff3ec7){const _0x13a30b=_0xff3ec7[_0x3ec6a5(0x1a3)](_0x48ae0d);_0x13a30b&&_0x13a30b[_0x3ec6a5(0x17b)]({'isFromAdapter':!0x0});}}),await this[_0x4818a4(0x1a1)](_0x4d67a1);}[_0x54fd4f(0x16c)](){const _0x51bb88=_0x54fd4f;if(this[_0x51bb88(0x1ab)]instanceof _0x2e6bbd){const _0xb51d3c=this[_0x51bb88(0x1ab)][_0x51bb88(0x16f)][_0x51bb88(0x188)](_0x51bb88(0x158));this[_0x51bb88(0x168)](_0xb51d3c);}}[_0x54fd4f(0x168)](_0x2df506){const _0x212ff1=_0x54fd4f;if(!this[_0x212ff1(0x1ac)][_0x212ff1(0x19d)](_0x2df506))throw new _0x9abc7a(_0x212ff1(0x1a7),null,{'channelId':_0x2df506});this[_0x212ff1(0x191)](_0x2df506)[_0x212ff1(0x16d)](),this[_0x212ff1(0x1ac)][_0x212ff1(0x197)](_0x2df506);}async[_0x54fd4f(0x172)](){const _0x109c9b=_0x54fd4f;for(const _0x5f35e0 of this[_0x109c9b(0x1ac)][_0x109c9b(0x1a8)]())await this[_0x109c9b(0x1a1)](_0x5f35e0);if(this[_0x109c9b(0x1ab)]instanceof _0x2e6bbd){const _0x47a38c=this[_0x109c9b(0x1ab)][_0x109c9b(0x16f)][_0x109c9b(0x188)](_0x109c9b(0x158)),_0x31c5b2=this[_0x109c9b(0x1ab)][_0x109c9b(0x16a)][_0x109c9b(0x188)](_0x5b1a92);_0x31c5b2[_0x109c9b(0x176)](_0x47a38c);const _0x59ff76=await this[_0x109c9b(0x1ac)][_0x109c9b(0x188)](_0x47a38c)[_0x109c9b(0x173)]();_0x31c5b2[_0x109c9b(0x1a9)](_0x47a38c,_0x59ff76);}}async[_0x54fd4f(0x1a1)](_0x53d067){const _0xd867bf=_0x54fd4f,{connection:_0x56f85b}=this[_0xd867bf(0x1ab)][_0xd867bf(0x16a)][_0xd867bf(0x188)](_0x175ef4),_0x395be8=this[_0xd867bf(0x1ab)][_0xd867bf(0x16a)][_0xd867bf(0x188)](_0xd867bf(0x1b3)),_0x1b59bd=this[_0xd867bf(0x1ac)][_0xd867bf(0x188)](_0x53d067),_0x4ba7cd=await _0x1b59bd[_0xd867bf(0x192)](_0x56f85b);await this[_0xd867bf(0x18a)](_0x4ba7cd);const _0xc4878c=new Set(Array[_0xd867bf(0x178)](_0x395be8[_0xd867bf(0x1b0)]({'channelId':_0x53d067}),_0x3810f1=>_0x3810f1['id']));for(const _0xe48420 of _0x4ba7cd)_0xe48420[_0xd867bf(0x155)]||_0xc4878c[_0xd867bf(0x197)](_0xe48420[_0xd867bf(0x184)]);for(const _0x2bbf7e of _0xc4878c)_0x395be8[_0xd867bf(0x19a)](_0x2bbf7e)[_0xd867bf(0x17b)]({'isFromAdapter':!0x0});for(const _0x544949 of _0x4ba7cd){let _0x13deae=_0x395be8[_0xd867bf(0x19a)](_0x544949[_0xd867bf(0x184)]);const {commentThreadId:_0x155c84,context:_0x155e43,attributes:_0x20444e,resolvedBy:_0x2d20cd,resolvedAt:_0x355795,unlinkedAt:_0x4b6cc3,deletedAt:_0x1993d1}=_0x544949;if(_0x1993d1)continue;_0x13deae||(_0x13deae=_0x395be8[_0xd867bf(0x1a6)]({'channelId':_0x53d067,'threadId':_0x155c84,'context':_0x155e43,'attributes':_0x20444e||{},'resolvedBy':_0x2d20cd,'resolvedAt':_0x355795,'unlinkedAt':_0x4b6cc3,'isFromAdapter':!0x0}));const _0x1cb185=new Set(Array[_0xd867bf(0x178)](_0x13deae[_0xd867bf(0x1aa)],_0x280b5a=>_0x280b5a['id']));for(const _0x353a72 of _0x544949[_0xd867bf(0x1aa)])_0x1cb185[_0xd867bf(0x197)](_0x353a72[_0xd867bf(0x156)]);for(const _0x29c567 of _0x1cb185)_0x13deae[_0xd867bf(0x1a3)](_0x29c567)[_0xd867bf(0x17b)]({'isFromAdapter':!0x0});for(const _0x4fb260 of _0x544949[_0xd867bf(0x1aa)]){const _0x445baa=_0x13deae[_0xd867bf(0x1a3)](_0x4fb260[_0xd867bf(0x156)]);_0x445baa?_0x445baa[_0xd867bf(0x19e)]!==_0x4fb260[_0xd867bf(0x19e)]&&_0x445baa[_0xd867bf(0x17e)]({'content':_0x4fb260[_0xd867bf(0x19e)],'isFromAdapter':!0x0}):_0x13deae[_0xd867bf(0x181)](Object[_0xd867bf(0x182)](nt(_0x4fb260),{'isFromAdapter':!0x0}));}}}[_0x54fd4f(0x191)](_0x346294){const _0x6ae7aa=_0x54fd4f;if(!this[_0x6ae7aa(0x1ac)][_0x6ae7aa(0x19d)](_0x346294))throw new _0x9abc7a(_0x6ae7aa(0x18f),null,{'channelId':_0x346294});return this[_0x6ae7aa(0x1ac)][_0x6ae7aa(0x188)](_0x346294);}async[_0x54fd4f(0x18a)](_0x3342d6){const _0x50fe54=_0x54fd4f,_0x516331=this[_0x50fe54(0x1ab)][_0x50fe54(0x16a)][_0x50fe54(0x188)](_0x5902bc),{connection:_0x1d2593}=this[_0x50fe54(0x1ab)][_0x50fe54(0x16a)][_0x50fe54(0x188)](_0x175ef4),_0x5e0f9d=new Set();for(const {resolvedBy:_0x24d8c6,comments:_0x17ec8b}of _0x3342d6){_0x24d8c6&&!_0x516331[_0x50fe54(0x19b)](_0x24d8c6)&&_0x5e0f9d[_0x50fe54(0x187)](_0x24d8c6);for(const {userId:_0x12f559}of _0x17ec8b)_0x516331[_0x50fe54(0x19b)](_0x12f559)||_0x5e0f9d[_0x50fe54(0x187)](_0x12f559);}if(0x0===_0x5e0f9d[_0x50fe54(0x15c)])return;const _0x4802e7=await _0xf7407f[_0x50fe54(0x16e)](_0x1d2593,Array[_0x50fe54(0x178)](_0x5e0f9d));for(const _0x5c34c9 of _0x4802e7)_0x516331[_0x50fe54(0x19b)](_0x5c34c9['id'])||_0x516331[_0x50fe54(0x18e)](_0x5c34c9);}}a[_0x54fd4f(0x1b2)]=_0x14c5df;export default a;function _0x558f(_0x2fbb11,_0x37a5f6){const _0x4c8298=_0x4c82();return _0x558f=function(_0x558f50,_0x2086db){_0x558f50=_0x558f50-0x14f;let _0x11ecc3=_0x4c8298[_0x558f50];return _0x11ecc3;},_0x558f(_0x2fbb11,_0x37a5f6);}async function et(_0x182157){const _0x414232=_0x54fd4f;if(_0x414232(0x17a)!==_0x182157[_0x414232(0x195)])throw _0x182157;}function ot(_0x5235e6){const _0x4c1359=_0x54fd4f;if((_0x54a9bb=_0x5235e6)[_0x4c1359(0x16b)][_0x4c1359(0x159)](_0x4c1359(0x189))||_0x54a9bb[_0x4c1359(0x16b)][_0x4c1359(0x159)](_0x4c1359(0x15a))||_0x54a9bb[_0x4c1359(0x16b)][_0x4c1359(0x159)](_0x4c1359(0x17f)))return new Promise(()=>{});var _0x54a9bb;throw _0x5235e6;}function _0x4c82(){const _0x50009d=['_terminateService','mySessionId','plugins','message','destroy','disconnect','getMany','config','setPermissions','cloudservicescommentsadapter-connect-already-connected','reconnect','getConnectedSessions','map','CloudServicesCommentsAdapter','unregister','attributes','from','reopen','404','remove','50jANdNY','commentAdded','update','cloud-services-internal-error:\x20Request\x20timeout.','updateComment','addComment','assign','listenTo','commentThreadId','commentThreadUpdated','reopenCommentThread','add','get','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_fetchMissingUsersForThreads','commentThreadResolved','createdAt','adapter','addUser','cloudservicescommentsadapter-service-not-exist','resolveCommentThread','_getService','connect','commentThreadAdded','5205510JvPoWv','code','init','delete','userId','4521245eecRao','getCommentThread','getUser','pluginName','has','content','commentUpdated','_setUpService','_connectService','5012381eAhYrY','getComment','commentRemoved','2222612afrWKf','addCommentThread','cloudservicescommentsadapter-disconnect-not-exist','keys','register','comments','context','_services','405pNZWMQ','catch','removeCommentThread','getCommentThreads','commentThreadRemoved','CommentsService','CommentsRepository','Permissions','commentThreadReopened','resolve','permissions','updateCommentThread','2135490ntkleP','deletedAt','commentId','off','collaboration.channelId','startsWith','cloud-services-internal-error:\x20Not\x20connected.','resolvedBy','size','297963mgJIgL','sessionAdd:','25472htrspb','authorId','resolvedAt','4mahPaQ','requires','addToReconnectionStack','set','16yYCTOt','removeComment'];_0x4c82=function(){return _0x50009d;};return _0x4c82();}function nt(_0x3770a1){const _0x4b8624=_0x54fd4f;return{'threadId':_0x3770a1[_0x4b8624(0x184)],'commentId':_0x3770a1[_0x4b8624(0x156)],'content':_0x3770a1[_0x4b8624(0x19e)],'createdAt':_0x3770a1[_0x4b8624(0x18c)],'authorId':_0x3770a1[_0x4b8624(0x198)],'attributes':_0x3770a1[_0x4b8624(0x177)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2f3e(_0x2bd9d7,_0x1e40b3){const _0x38dda6=_0x38dd();return _0x2f3e=function(_0x2f3ed4,_0x2f80cf){_0x2f3ed4=_0x2f3ed4-0xf3;let _0x3dfb75=_0x38dda6[_0x2f3ed4];return _0x3dfb75;},_0x2f3e(_0x2bd9d7,_0x1e40b3);}const _0x9c938c=_0x2f3e;(function(_0x314021,_0x31d680){const _0x553513=_0x2f3e,_0x53fce1=_0x314021();while(!![]){try{const _0x460fe8=parseInt(_0x553513(0x19c))/0x1*(-parseInt(_0x553513(0x170))/0x2)+parseInt(_0x553513(0x1ca))/0x3+parseInt(_0x553513(0x102))/0x4+-parseInt(_0x553513(0x1a0))/0x5+-parseInt(_0x553513(0x145))/0x6*(-parseInt(_0x553513(0x1d4))/0x7)+parseInt(_0x553513(0x1bb))/0x8*(-parseInt(_0x553513(0x17a))/0x9)+parseInt(_0x553513(0x17f))/0xa*(-parseInt(_0x553513(0x183))/0xb);if(_0x460fe8===_0x31d680)break;else _0x53fce1['push'](_0x53fce1['shift']());}catch(_0x9c2986){_0x53fce1['push'](_0x53fce1['shift']());}}}(_0x38dd,0x9c497));import{Plugin as _0x5f4d07,PendingActions as _0x221424}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d8879,version as _0x39f93d,uid as _0x288e1b}from'ckeditor5/src/utils.js';import{Notification as _0x50b1da}from'ckeditor5/src/ui.js';import{transformSets as _0x4aa3b4,NoOperation as _0x54c66b,InsertOperation as _0x4bf43d,MarkerOperation as _0x55c30c,RootAttributeOperation as _0x54271c,OperationFactory as _0x241b0f,History as _0x4fd2c4}from'ckeditor5/src/engine.js';import _0x1685db from'./websocketgateway.js';import _0xce67e9 from'./sessions.js';function _0x38dd(){const _0x277fc0=['createdAt','addRoot','forEach','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-initservice-incorrect-server-operation','RealTimeCollaborationClient','409','_updateServerHistory','attributes','_hasSelectionChanged','define','remove','_setUpDataInit','_connectService','roots','length','_clearPendingAction','editing','get','_initSessionsHandling','addToReconnectionStack','add','isEnabled','_handleReceivedOperations','position','insert','lastOperationAcceptedAt','requires','serverHistory','CollaborativeEditingService','CommentsOnly','clone','rootName','_baseBufferDelay','404','cloudDocumentVersion','directChange','_lastSyncedOperationId','isReadOnly','_lastServerVersion','_disconnectionOperations','bind','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Permissions','_bufferedOperations','change:_isEditingAllowed','_bufferRootLoad','cloud-services-internal-error:\x20Request\x20timeout.','real-time-collaboration','change:range','return','_loadRoot','size','_service','error','disconnected','initData','917712IaIDqe','PENDING_ACTION_SENDING_DATA','then','collaboration-missing-channelid','lastDocumentSession','destroy','locale','createRoot','realtimecollaborationclient-init-non-existent-root','stopListening','addUser','type','operationsReceived','start','string','state','createUserMarkerOperations','realtimecollaborationclient-init-session-connection-error','addRootAttribute','connected','config','_handleReconnectionResponse','listenTo','getMany','_isAttached','_handleInitialConnectionData','lastOperationId','sendOperations','enqueueChange','getOperationAuthor','path','multi-root-editor-root-attributes-no-root','reconnection:\x20flushed\x20session','connect','end','change:_isPendingUpdate','_sendBufferedOperationsDelayId','removeFromReconnectionStack','rtc-destroyed','_initThrowingOnDataSet','_offset','entries','from','178MhVoPX','_handleSendingSelectionMarkers','_handleServerResponse','_knownRootNames','_getOperationsFromInitData','_isLoaded','differ','_connectAfterSessionHasBeenFlushed','pluginName','getUser','262503kXizrb','apply','collaboration.channelId','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.','reconnect','15220lOeDvH','document:write','_addKnownRoot','cloudServices.bundleVersion','4378WWkazP','_getAffectedRoot','_decompressOperations','markers','data','reset','_disconnectService','_currentBufferDelay','createPositionAt','decompress','InsertOperation','channelSessions','history','Notification','_shouldSendSelectionUpdate','newRange','wasUndone','permissions','affectedSelectable','init','finally','Synchronization\x20issue','map','_crash','round','13807VVPvXY','message','off','disableReadOnlyMode','324885QXcdKS','_operationIdentifier','_isConnected','root','getRoot','_refreshUserSelectionMarkers','catch','selection','getConnectedSessions','_authorId','sessionCreatedAt','$root','_compressor','_knownOperations','_isInit','_handleExternalOperations','change:hasDomSelection','document','realtimecollaborationclient-init-connection-failed','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.','includes','setIdForTheLastOperation','_isPendingUpdate','_isEditingAllowed','realtimecollaborationclient-handleserverresponse','createRange','applyOperation','32QKwRCu','plugins','unregister','_operationToId','ready','batch','currentDocumentSession','_saveOperationInBuffer','suppressErrorInCollaboration','filter','_sendBufferedOperations','loadRoot','_ignoredOperations','_hasSynchronizationProblem','_fetchMissingUsers','3794271STSJDM','_shouldSendUpdate','_waitUntilSynced','fromJSON','__className','_isDisconnection','realtimecollaborationclient-initservice-internal-error','getOperations','editor','slice','7YKINdB','cloud-services-internal-error:\x20Not\x20connected.','parse','getIdOfTheLastOperation','realtimecollaborationclient-sendbufferedoperations','wereChangesApplied','offset','getDocumentDetails','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rtc-offline','affectsData','high','_sendBufferedOperationsDelayed','baseVersion','_pendingAction','realtimecollaborationclient-init-document-already-initialized','startsWith','showWarning','targetPosition','sessionAdd:','metadata','fire','isDocumentOperation','view','rootsAttributes','register','push','mySessionId','_setPendingAction','_channelId','_applyOperationsSet','marker','code','keys','collaboration','disconnect','isUndoneOperation','connection','setPermissions','model','cs:removeUser','move','lastSyncVersion','set','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','compress','_document','_handleReconnectionError','userId','4954664BWxdha','createPositionFromPath','addOperation','toJSON','enableReadOnlyMode','sessionId','has','_compressOperations','stop','version'];_0x38dd=function(){return _0x277fc0;};return _0x38dd();}import _0xd45f74 from'./usermarkers.js';import{getTranslation as _0x530df2}from'../common-translations.js';import{Compressor as _0x2beec0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4ef4cb}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xd5243d,CollaborativeEditingService as _0x3ecd2a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x5f4d07{static get[_0x9c938c(0x127)](){return[_0x1685db,_0xce67e9,_0xd45f74,_0x221424,_0x4ef4cb,_0x50b1da];}static get[_0x9c938c(0x178)](){const _0x450a69=_0x9c938c;return _0x450a69(0x111);}get[_0x9c938c(0x12f)](){const _0x4ebbb3=_0x9c938c;return this[_0x4ebbb3(0x133)]+this[_0x4ebbb3(0x16d)];}get[_0x9c938c(0x133)](){const _0x518fca=_0x9c938c;return this[_0x518fca(0x128)][_0x518fca(0x10b)]-this[_0x518fca(0x16d)];}get[_0x9c938c(0xfb)](){const _0x51a8ad=_0x9c938c,_0x280ddc=this[_0x51a8ad(0x128)][_0x51a8ad(0x1d1)]();for(let _0x3263e8=_0x280ddc[_0x51a8ad(0x11b)]-0x1;_0x3263e8>=0x0;_0x3263e8--){const _0x1b4a1f=_0x280ddc[_0x3263e8];if(!this[_0x51a8ad(0x134)][_0x51a8ad(0x108)](_0x1b4a1f))return _0x1b4a1f[_0x51a8ad(0x1e1)]+0x1-this[_0x51a8ad(0x16d)];}return 0x0;}constructor(_0x1e0d4c){const _0x791278=_0x9c938c;if(super(_0x1e0d4c),this[_0x791278(0x16d)]=0x0,this[_0x791278(0x107)]=null,this[_0x791278(0x128)]=new _0x4fd2c4(),this[_0x791278(0x1d2)][_0x791278(0x159)][_0x791278(0x116)](_0x791278(0xf3),{}),this[_0x791278(0x1f1)]=this[_0x791278(0x1d2)][_0x791278(0x159)][_0x791278(0x11e)](_0x791278(0x17c)),!this[_0x791278(0x1f1)])throw new _0x4d8879(_0x791278(0x148),this);const _0x20d0aa=_0x1e0d4c[_0x791278(0x159)][_0x791278(0x11e)](_0x791278(0x182))||_0x39f93d;this[_0x791278(0x141)]=new l[(_0x791278(0x129))](_0x20d0aa,this[_0x791278(0x1f1)]),this[_0x791278(0xff)]=this[_0x791278(0x1d2)][_0x791278(0xf8)][_0x791278(0x1b1)],this[_0x791278(0x1ac)]=new _0x2beec0(),this[_0x791278(0x138)]=[],this[_0x791278(0x1ad)]=new WeakSet(),this[_0x791278(0x173)]=new Set(),this[_0x791278(0xfc)](_0x791278(0x1b6),!0x1),this[_0x791278(0xfc)](_0x791278(0x1c8),!0x1),this[_0x791278(0x1e2)]=null,this[_0x791278(0x115)]=!0x1,this[_0x791278(0x169)]=null,this[_0x791278(0x12d)]=0x12c,this[_0x791278(0x18a)]=this[_0x791278(0x12d)],this[_0x791278(0x131)]=null,this[_0x791278(0x134)]=new WeakSet(),this[_0x791278(0x1a1)]=new X(this[_0x791278(0x134)]);}[_0x9c938c(0x196)](){const _0x8a7519=_0x9c938c,_0x5d20d8=this[_0x8a7519(0x1d2)],_0x93c8c8=_0x5d20d8[_0x8a7519(0x1bc)][_0x8a7519(0x11e)](_0x4ef4cb),_0x4b207c=_0x5d20d8[_0x8a7519(0x1bc)][_0x8a7519(0x11e)](_0x1685db);this[_0x8a7519(0x15b)](_0x93c8c8,_0x8a7519(0x162),(_0x414aa4,_0x12aabb)=>{const _0x4622b7=_0x8a7519,_0x486d3b=_0x12aabb[0x0];_0x486d3b[_0x4622b7(0x1a9)]&&(_0x414aa4[_0x4622b7(0x13e)]=_0x93c8c8[_0x4622b7(0x179)](_0x486d3b[_0x4622b7(0x1a9)]),_0x414aa4[_0x4622b7(0x10a)]()),null===_0x486d3b[_0x4622b7(0x1a9)]&&(_0x414aa4[_0x4622b7(0x13e)]=null,_0x414aa4[_0x4622b7(0x10a)]());},{'priority':_0x8a7519(0x1df)}),this[_0x8a7519(0x15b)](_0x5d20d8[_0x8a7519(0xf8)][_0x8a7519(0x1b1)][_0x8a7519(0x1a7)],_0x8a7519(0x13d),(_0x13acdd,_0x532826)=>{const _0x2a7e61=_0x8a7519;_0x532826[_0x2a7e61(0x130)]&&this[_0x2a7e61(0x1a5)]();}),this[_0x8a7519(0x15b)](_0x5d20d8[_0x8a7519(0x11d)][_0x8a7519(0x1eb)],_0x8a7519(0x1b0),()=>{const _0x48a5a6=_0x8a7519;this[_0x48a5a6(0x1a5)]();}),this[_0x8a7519(0x16c)](),_0x5d20d8[_0x8a7519(0xf8)]['on'](_0x8a7519(0x1ba),(_0x1b538b,_0x2c43a5)=>{const _0xa8cf4e=_0x8a7519,_0xb063aa=_0x2c43a5[0x0];_0xb063aa[_0xa8cf4e(0x1ea)]&&(this[_0xa8cf4e(0x1c2)](_0xb063aa),this[_0xa8cf4e(0x1cb)]()&&this[_0xa8cf4e(0x1e0)]());}),this[_0x8a7519(0x118)](),this[_0x8a7519(0x135)](_0x8a7519(0x1b7))['to'](_0x4b207c,_0x8a7519(0x154),this,_0x8a7519(0x1c8),(_0x2d8ee1,_0x338dd5)=>_0x8a7519(0x158)===_0x2d8ee1&&!_0x338dd5),this['on'](_0x8a7519(0x139),()=>{const _0x529ba7=_0x8a7519;this[_0x529ba7(0x1b7)]?_0x5d20d8[_0x529ba7(0x19f)](_0x529ba7(0x1dd)):_0x5d20d8[_0x529ba7(0x106)](_0x529ba7(0x1dd));}),this[_0x8a7519(0x1b7)]?_0x5d20d8[_0x8a7519(0x19f)](_0x8a7519(0x1dd)):_0x5d20d8[_0x8a7519(0x106)](_0x8a7519(0x1dd)),this[_0x8a7519(0xfc)](_0x8a7519(0x1a2),!0x1);}async[_0x9c938c(0x17e)](){const _0x52742d=_0x9c938c,_0x346d6d=this[_0x52742d(0x1d2)][_0x52742d(0x1bc)][_0x52742d(0x11e)](_0xce67e9),_0x3caf96=this[_0x52742d(0x1d2)][_0x52742d(0x1bc)][_0x52742d(0x11e)](_0x1685db);try{this[_0x52742d(0x1b6)]=!0x0,_0x346d6d[_0x52742d(0x1bd)](this[_0x52742d(0x1f1)]);const _0x10b371=await this[_0x52742d(0x141)][_0x52742d(0x17e)](_0x3caf96[_0x52742d(0xf6)],this[_0x52742d(0xfb)]);await this[_0x52742d(0x15a)](_0x10b371)&&(this[_0x52742d(0x1b6)]=!0x1,this[_0x52742d(0x11c)]());const _0x17b0b3=await this[_0x52742d(0x141)][_0x52742d(0x1a8)]();_0x346d6d[_0x52742d(0x1ed)](this[_0x52742d(0x1f1)],_0x17b0b3),this[_0x52742d(0x171)](),this[_0x52742d(0x1a2)]=!0x0;}catch(_0x568abe){if(function(_0x37c851){const _0x1cc834=_0x52742d;return _0x1cc834(0x12e)===_0x37c851[_0x1cc834(0x1f4)];}(_0x568abe)&&this[_0x52742d(0x107)])await this[_0x52742d(0x177)]();else{if(function(_0x3fd1a7){const _0x18c83c=_0x52742d;return _0x18c83c(0x112)===_0x3fd1a7[_0x18c83c(0x1f4)];}(_0x568abe)){const _0x3d7a3e=_0x530df2(this[_0x52742d(0x1d2)][_0x52742d(0x14b)],_0x52742d(0x10f));this[_0x52742d(0x100)](_0x3d7a3e);}else{if(!(_0x568abe instanceof J))throw _0x568abe;this[_0x52742d(0x100)]();}}}}[_0x9c938c(0x14a)](){const _0x36f9cf=_0x9c938c,_0x449e50=this[_0x36f9cf(0x1d2)][_0x36f9cf(0x1bc)][_0x36f9cf(0x11e)](_0x1685db),_0x55f813=this[_0x36f9cf(0x1d2)][_0x36f9cf(0x1bc)][_0x36f9cf(0x11e)](_0xce67e9);this[_0x36f9cf(0x1d2)][_0x36f9cf(0x106)](_0x36f9cf(0x16b)),_0x55f813[_0x36f9cf(0x18e)][_0x36f9cf(0x108)](this[_0x36f9cf(0x1f1)])&&_0x55f813[_0x36f9cf(0x1bd)](this[_0x36f9cf(0x1f1)]),_0x449e50[_0x36f9cf(0x16a)](this),this[_0x36f9cf(0x189)](),super[_0x36f9cf(0x14a)]();}async[_0x9c938c(0x15a)](_0x54fd25){const _0x5cd2ff=_0x9c938c;if(this[_0x5cd2ff(0x107)]!==_0x54fd25[_0x5cd2ff(0x107)]&&this[_0x5cd2ff(0x131)]!==_0x54fd25[_0x5cd2ff(0x15f)])throw new J();return this[_0x5cd2ff(0x107)]=_0x54fd25[_0x5cd2ff(0x107)],this[_0x5cd2ff(0x172)]([],{..._0x54fd25,'wereChangesApplied':!0x1,'data':_0x54fd25[_0x5cd2ff(0x187)]},_0x5cd2ff(0x17e));}async[_0x9c938c(0x119)](_0x4de485,_0x5085a7=!0x1){const _0x3a837e=_0x9c938c,{connection:_0x3d4a52}=this[_0x3a837e(0x1d2)][_0x3a837e(0x1bc)][_0x3a837e(0x11e)](_0x1685db);l[_0x3a837e(0x129)][_0x3a837e(0x1a8)](_0x3d4a52,this[_0x3a837e(0x1f1)])[_0x3a837e(0x147)](_0xb0b430=>this[_0x3a837e(0x11f)](_0xb0b430))[_0x3a837e(0x1a6)](_0x221954=>{const _0x5b277e=_0x3a837e;this[_0x5b277e(0x19a)](_0x5b277e(0x156),_0x221954);}),this[_0x3a837e(0x15b)](this[_0x3a837e(0x141)],_0x3a837e(0x151),this[_0x3a837e(0x123)][_0x3a837e(0x135)](this)),this[_0x3a837e(0x15b)](this[_0x3a837e(0x141)],_0x3a837e(0x142),(_0x44aaa3,_0x5a5425)=>{const _0x417303=_0x3a837e;this[_0x417303(0x19a)](_0x417303(0x1d0),_0x5a5425);}),this[_0x3a837e(0x15b)](this[_0x3a837e(0x141)],_0x3a837e(0x143),()=>{const _0x7f3b53=_0x3a837e;this[_0x7f3b53(0x1a2)]=!0x1;});const _0x3e7b61=this[_0x3a837e(0x1a1)][_0x3a837e(0x1d7)](_0x4de485);this[_0x3a837e(0x1b6)]=!0x0;const _0xeeeb06=await this[_0x3a837e(0x141)][_0x3a837e(0x166)](_0x3d4a52,this[_0x3a837e(0x109)](_0x4de485),_0x3e7b61);if(this[_0x3a837e(0x107)]=_0xeeeb06[_0x3a837e(0x107)],_0x5085a7){if(!_0xeeeb06[_0x3a837e(0x1d9)])return void this[_0x3a837e(0x100)]();this[_0x3a837e(0x1b6)]=!0x1,this[_0x3a837e(0x11c)](),this[_0x3a837e(0x128)][_0x3a837e(0x188)](),this[_0x3a837e(0x16d)]=_0xeeeb06[_0x3a837e(0x1da)],this[_0x3a837e(0x128)][_0x3a837e(0x10b)]=this[_0x3a837e(0x16d)],await this[_0x3a837e(0x172)](_0x4de485,_0xeeeb06,_0x3a837e(0x165));}else await this[_0x3a837e(0x15e)](_0xeeeb06,_0x4de485);this[_0x3a837e(0x171)](),this[_0x3a837e(0x1a2)]=!0x0;}[_0x9c938c(0x171)](){const _0x49f99c=_0x9c938c,_0x50917c=this[_0x49f99c(0x1d2)][_0x49f99c(0x1bc)][_0x49f99c(0x11e)](_0xce67e9),_0x5e4b3a=this[_0x49f99c(0x1d2)][_0x49f99c(0x1bc)][_0x49f99c(0x11e)](_0xd45f74),_0x184bd3=_0x50917c[_0x49f99c(0x18e)][_0x49f99c(0x11e)](this[_0x49f99c(0x1f1)]);_0x184bd3&&_0x184bd3[_0x49f99c(0x11b)]>0x1?_0x5e4b3a[_0x49f99c(0x155)]():this[_0x49f99c(0x15b)](_0x50917c,_0x49f99c(0x1e7)+this[_0x49f99c(0x1f1)],()=>{const _0x52bf14=_0x49f99c;0x2===_0x50917c[_0x52bf14(0x18e)][_0x52bf14(0x11e)](this[_0x52bf14(0x1f1)])[_0x52bf14(0x11b)]&&_0x5e4b3a[_0x52bf14(0x155)]();});}async[_0x9c938c(0x123)](_0x1c31f3,_0x1b73e4,_0x29ff56,_0x4962bd){const _0x232fcf=_0x9c938c;if(!this[_0x232fcf(0x1b6)]&&this[_0x232fcf(0xff)][_0x232fcf(0x10b)]==_0x1b73e4){const _0x2e1b66=this[_0x232fcf(0x185)](_0x29ff56,_0x4962bd);await this[_0x232fcf(0x1c9)](_0x2e1b66),this[_0x232fcf(0x1af)](_0x2e1b66,_0x1b73e4,_0x29ff56[_0x232fcf(0x15f)])||this[_0x232fcf(0x19a)](_0x232fcf(0x110));}}async[_0x9c938c(0x177)](){const _0x5b336b=_0x9c938c;this[_0x5b336b(0x189)]();const {locale:_0x2e31f6}=this[_0x5b336b(0x1d2)];let _0x8f1a51;try{_0x8f1a51=await this[_0x5b336b(0x141)][_0x5b336b(0x1db)]();}catch(_0x3670b9){const _0x5f2324=_0x530df2(_0x2e31f6,_0x5b336b(0x136));return void this[_0x5b336b(0x100)](_0x5f2324);}const _0x10617a=_0x8f1a51[_0x5b336b(0x1c1)]||_0x8f1a51[_0x5b336b(0x149)];if(this[_0x5b336b(0x131)]===_0x10617a[_0x5b336b(0x15f)])await this[_0x5b336b(0x119)](this[_0x5b336b(0x1d2)][_0x5b336b(0xf8)][_0x5b336b(0x1b1)][_0x5b336b(0x18f)][_0x5b336b(0x1d1)](),!0x0);else{const _0x28bdd5=_0x530df2(_0x2e31f6,_0x5b336b(0x17d));this[_0x5b336b(0x100)](_0x28bdd5);}}[_0x9c938c(0x189)](){const _0xbc54e7=_0x9c938c;this[_0xbc54e7(0x141)][_0xbc54e7(0xf4)](),this[_0xbc54e7(0x138)]=[],clearTimeout(this[_0xbc54e7(0x169)]),this[_0xbc54e7(0x14e)](this[_0xbc54e7(0x141)]);}[_0x9c938c(0x11f)](_0x479b7f){const _0x4f0011=_0x9c938c,_0x51180c=this[_0x4f0011(0x1d2)][_0x4f0011(0x1bc)][_0x4f0011(0x11e)](_0xce67e9);this[_0x4f0011(0x15b)](_0x51180c,_0x4f0011(0x1e7)+this[_0x4f0011(0x1f1)],(_0x5cafda,{session:_0x2968f6})=>{const _0x5714d7=_0x4f0011;if(_0x2968f6['id']===_0x51180c[_0x5714d7(0x1ef)]){_0x5cafda[_0x5714d7(0x19e)]();const _0x74e0a7=this[_0x5714d7(0x1d2)][_0x5714d7(0x1bc)][_0x5714d7(0x108)](_0x5714d7(0x12a))&&this[_0x5714d7(0x1d2)][_0x5714d7(0x1bc)][_0x5714d7(0x11e)](_0x5714d7(0x12a));let _0x7d2729=_0x2968f6[_0x5714d7(0x194)];_0x74e0a7&&_0x74e0a7[_0x5714d7(0x122)]&&(_0x7d2729=_0x7d2729[_0x5714d7(0x1c4)](_0x200fca=>_0x5714d7(0x180)!==_0x200fca)),this[_0x5714d7(0x1d2)][_0x5714d7(0x1bc)][_0x5714d7(0x11e)](_0x5714d7(0x137))[_0x5714d7(0xf7)](_0x7d2729,this[_0x5714d7(0x1f1)]);}}),_0x51180c[_0x4f0011(0x1ed)](this[_0x4f0011(0x1f1)],_0x479b7f);}[_0x9c938c(0x16c)](){const _0x47a5a1=_0x9c938c,_0x4e493e=this[_0x47a5a1(0x1d2)][_0x47a5a1(0x187)][_0x47a5a1(0xfc)];this[_0x47a5a1(0x1d2)][_0x47a5a1(0x187)][_0x47a5a1(0xfc)]=(..._0x54bd54)=>{const _0x4f2e1f=_0x47a5a1;if(!_0x54bd54[_0x54bd54[_0x4f2e1f(0x11b)]-0x1][_0x4f2e1f(0x1c3)])throw new _0x4d8879(_0x4f2e1f(0xfd),this);_0x4e493e[_0x4f2e1f(0x17b)](this[_0x4f2e1f(0x1d2)][_0x4f2e1f(0x187)],_0x54bd54);};}[_0x9c938c(0x118)](){const _0x1f7d5f=_0x9c938c;this[_0x1f7d5f(0x1d2)][_0x1f7d5f(0x187)]['on'](_0x1f7d5f(0x196),(_0x4bb3fb,[_0x4144fa])=>{const _0x37cbf6=_0x1f7d5f;if(this[_0x37cbf6(0xff)][_0x37cbf6(0x10b)])throw new _0x4d8879(_0x37cbf6(0x1e3),this);_0x4bb3fb[_0x37cbf6(0x10a)](),this[_0x37cbf6(0x1f0)]();const _0x4707bf=this[_0x37cbf6(0x1d2)][_0x37cbf6(0x159)][_0x37cbf6(0x11e)](_0x37cbf6(0x1ec)),_0x588aab=this[_0x37cbf6(0x174)](_0x4144fa,_0x4707bf);0x0==_0x588aab[_0x37cbf6(0x11b)]&&_0x588aab[_0x37cbf6(0x1ee)](new _0x54c66b(0x0)),_0x4bb3fb[_0x37cbf6(0x13e)]=this[_0x37cbf6(0x119)](_0x588aab)[_0x37cbf6(0x147)](()=>{const _0x3da0fd=_0x37cbf6;this[_0x3da0fd(0x1d2)][_0x3da0fd(0x1bc)][_0x3da0fd(0x11e)](_0x1685db)[_0x3da0fd(0x120)](this),this[_0x3da0fd(0x1d2)][_0x3da0fd(0x187)][_0x3da0fd(0x1e9)](_0x3da0fd(0x1bf));})[_0x37cbf6(0x1a6)](_0x5bae10=>this[_0x37cbf6(0x19a)](_0x37cbf6(0x1b2),_0x5bae10))[_0x37cbf6(0x197)](()=>this[_0x37cbf6(0x11c)]());},{'priority':_0x1f7d5f(0x1df)}),this[_0x1f7d5f(0x1d2)]['on'](_0x1f7d5f(0x1c6),async(_0xd9656f,[_0x30e779,_0x50e851])=>{const _0x4d7b5d=_0x1f7d5f;_0xd9656f[_0x4d7b5d(0x10a)]();const _0x27e41f=this[_0x4d7b5d(0x1d2)][_0x4d7b5d(0xf8)][_0x4d7b5d(0x1b1)][_0x4d7b5d(0x1a4)](_0x30e779);if(!this[_0x4d7b5d(0x173)][_0x4d7b5d(0x108)](_0x30e779)){const _0x43d29f=_0x50e851&&_0x50e851[_0x4d7b5d(0x187)]?_0x50e851[_0x4d7b5d(0x187)]:'',_0x5aa391=_0x50e851&&_0x50e851[_0x4d7b5d(0x114)]?_0x50e851[_0x4d7b5d(0x114)]:{};await this[_0x4d7b5d(0x13f)](_0x30e779,_0x43d29f,_0x5aa391);}this[_0x4d7b5d(0x1d2)][_0x4d7b5d(0xf8)][_0x4d7b5d(0x161)]({'isUndoable':!0x1},()=>{const _0x5a85d3=_0x4d7b5d;_0x27e41f[_0x5a85d3(0x175)]=!0x0,this[_0x5a85d3(0x1d2)][_0x5a85d3(0xf8)][_0x5a85d3(0x1b1)][_0x5a85d3(0x176)][_0x5a85d3(0x13a)](_0x27e41f);});},{'priority':_0x1f7d5f(0x1df)});}async[_0x9c938c(0x1c9)](_0x2d9c58){const _0x23cffb=_0x9c938c,_0x2c4eee=this[_0x23cffb(0x1d2)][_0x23cffb(0x1bc)][_0x23cffb(0x11e)](_0x4ef4cb),{connection:_0x4855c9}=this[_0x23cffb(0x1d2)][_0x23cffb(0x1bc)][_0x23cffb(0x11e)](_0x1685db),_0x59c8de=new Set();for(const _0x253f07 of _0x2d9c58){const _0x334f01=_0x253f07[_0x23cffb(0x1a9)];_0x334f01&&!_0x2c4eee[_0x23cffb(0x179)](_0x334f01)&&_0x59c8de[_0x23cffb(0x121)](_0x334f01);}if(0x0===_0x59c8de[_0x23cffb(0x140)])return;const _0x222970=await _0xd5243d[_0x23cffb(0x15c)](_0x4855c9,Array[_0x23cffb(0x16f)](_0x59c8de));for(const _0x47b657 of _0x222970)_0x2c4eee[_0x23cffb(0x179)](_0x47b657['id'])||_0x2c4eee[_0x23cffb(0x14f)](_0x47b657);}[_0x9c938c(0x174)](_0x511fb0,_0x38a583={}){const _0x113569=_0x9c938c,_0x1eaeb2=this[_0x113569(0x1d2)][_0x113569(0xf8)],_0x27ad36=[];let _0x4b2203=0x0;const _0x1e8b0b=_0x113569(0x153)==typeof _0x511fb0?{'main':_0x511fb0}:_0x511fb0;for(const _0xb77d52 of Object[_0x113569(0x1f5)](_0x1e8b0b)){if(!this[_0x113569(0xff)][_0x113569(0x11a)][_0x113569(0x108)](_0xb77d52))throw new _0x4d8879(_0x113569(0x14d),this);const _0x3a7303=this[_0x113569(0x1d2)][_0x113569(0x187)][_0x113569(0x1d6)](_0x1e8b0b[_0xb77d52]),_0x34664b=this[_0x113569(0xff)][_0x113569(0x1a4)](_0xb77d52),_0x3b324b=new _0x4bf43d(_0x1eaeb2[_0x113569(0x18b)](_0x34664b,0x0),_0x3a7303,_0x4b2203++);_0x27ad36[_0x113569(0x1ee)](_0x3b324b);for(const [_0x40b96a,_0x582d14]of _0x3a7303[_0x113569(0x186)]){const _0x27dce9=_0x1eaeb2[_0x113569(0x1b9)](_0x1eaeb2[_0x113569(0x103)](_0x34664b,_0x582d14[_0x113569(0x152)][_0x113569(0x163)][_0x113569(0x1d3)]()),_0x1eaeb2[_0x113569(0x103)](_0x34664b,_0x582d14[_0x113569(0x167)][_0x113569(0x163)][_0x113569(0x1d3)]())),_0x3881a8=new _0x55c30c(_0x40b96a,null,_0x27dce9,_0x1eaeb2[_0x113569(0x186)],!0x0,_0x4b2203++);_0x27ad36[_0x113569(0x1ee)](_0x3881a8);}}if(_0x38a583)for(const [_0x1db30d,_0x50743f]of Object[_0x113569(0x16e)](_0x38a583)){const _0x17af57=_0x1eaeb2[_0x113569(0x1b1)][_0x113569(0x1a4)](_0x1db30d);if(!_0x17af57)throw new _0x4d8879(_0x113569(0x164),null);for(const [_0x1aba9e,_0x5014e0]of Object[_0x113569(0x16e)](_0x50743f))if(null!==_0x5014e0){const _0x57538c=new _0x54271c(_0x17af57,_0x1aba9e,null,_0x5014e0,_0x4b2203++);_0x27ad36[_0x113569(0x1ee)](_0x57538c);}}return _0x27ad36;}async[_0x9c938c(0x13f)](_0x47fd7f,_0x438950,_0x2a9b62){const _0x269741=_0x9c938c;this[_0x269741(0x174)]({[_0x47fd7f]:_0x438950},{[_0x47fd7f]:_0x2a9b62})[_0x269741(0x10e)]((_0x33b2eb,_0x421d42)=>{const _0x370343=_0x269741;_0x33b2eb[_0x370343(0x1e1)]=this[_0x370343(0xff)][_0x370343(0x10b)]+_0x421d42,_0x33b2eb[_0x370343(0x1ae)]=!0x0,this[_0x370343(0x1c2)](_0x33b2eb);}),this[_0x269741(0x1e0)](),await this[_0x269741(0x1cc)]();}async[_0x9c938c(0x15e)](_0x17d627,_0x10f844){const _0x5ca73c=_0x9c938c;let _0x59b277;this[_0x5ca73c(0x16d)]=_0x17d627[_0x5ca73c(0x1da)];const _0x35ca9d=_0x17d627[_0x5ca73c(0x1d9)]&&!_0x17d627[_0x5ca73c(0x144)],_0x3ed83f=_0x35ca9d?0x0:_0x17d627[_0x5ca73c(0x187)][_0x5ca73c(0x1e1)];if(_0x10f844[_0x5ca73c(0x10e)](_0x285015=>{const _0x32ec2b=_0x5ca73c;_0x285015[_0x32ec2b(0x1ae)]=!0x0,_0x285015[_0x32ec2b(0x10c)]=_0x17d627[_0x32ec2b(0x1aa)],_0x285015[_0x32ec2b(0x1a9)]=null;}),_0x35ca9d)_0x59b277=_0x10f844,this[_0x5ca73c(0x1f2)](_0x59b277,_0x35ca9d);else{if(_0x17d627[_0x5ca73c(0x144)]){const _0x46fd33=this[_0x5ca73c(0x174)](_0x17d627[_0x5ca73c(0x144)]);this[_0x5ca73c(0xff)][_0x5ca73c(0x18f)][_0x5ca73c(0x10b)]=-_0x46fd33[_0x5ca73c(0x11b)],_0x46fd33[_0x5ca73c(0x10e)](_0x114c39=>{const _0x2f98c2=_0x5ca73c;_0x114c39[_0x2f98c2(0x1e1)]-=_0x46fd33[_0x2f98c2(0x11b)],_0x114c39[_0x2f98c2(0x10c)]=_0x17d627[_0x2f98c2(0x1aa)],_0x114c39[_0x2f98c2(0x1ae)]=!0x0,_0x114c39[_0x2f98c2(0x1a9)]=null;}),this[_0x5ca73c(0x1f2)](_0x46fd33,!0x0),this[_0x5ca73c(0x128)][_0x5ca73c(0x10b)]=-_0x46fd33[_0x5ca73c(0x11b)]+this[_0x5ca73c(0x16d)],this[_0x5ca73c(0x113)](_0x46fd33);}this[_0x5ca73c(0xff)][_0x5ca73c(0x18f)][_0x5ca73c(0x10b)]=_0x3ed83f,_0x59b277=this[_0x5ca73c(0x185)](_0x17d627[_0x5ca73c(0x187)],_0x17d627[_0x5ca73c(0x1e8)]),await this[_0x5ca73c(0x1c9)](_0x59b277),this[_0x5ca73c(0x1f2)](_0x59b277,_0x35ca9d);}_0x17d627[_0x5ca73c(0x15f)]&&(this[_0x5ca73c(0x1a1)][_0x5ca73c(0x1b5)](_0x59b277,_0x17d627[_0x5ca73c(0x15f)]),this[_0x5ca73c(0x131)]=_0x17d627[_0x5ca73c(0x15f)]),this[_0x5ca73c(0x128)][_0x5ca73c(0x10b)]=_0x3ed83f+this[_0x5ca73c(0x16d)],this[_0x5ca73c(0x113)](_0x59b277),_0x10f844[_0x5ca73c(0x1c4)](_0x1e8e95=>{const _0x35c4ee=_0x5ca73c,_0x1eedea=this[_0x35c4ee(0x184)](_0x1e8e95);return _0x1eedea&&!this[_0x35c4ee(0x173)][_0x35c4ee(0x108)](_0x1eedea);})[_0x5ca73c(0x10e)]((_0x27775d,_0x3813e1)=>{const _0x31f0a3=_0x5ca73c;_0x27775d[_0x31f0a3(0x1e1)]=this[_0x31f0a3(0xff)][_0x31f0a3(0x10b)]+_0x3813e1,this[_0x31f0a3(0x1c2)](_0x27775d);}),this[_0x5ca73c(0x1cb)]()?(this[_0x5ca73c(0x18a)]=0x0,this[_0x5ca73c(0x1e0)](!0x0),await this[_0x5ca73c(0x1cc)]()):(this[_0x5ca73c(0x1b6)]=!0x1,this[_0x5ca73c(0x11c)]());}[_0x9c938c(0x19a)](_0x19482f,_0x199fd7){const _0x48d769=_0x9c938c;throw this[_0x48d769(0x1b6)]=!0x0,_0x199fd7&&console[_0x48d769(0x142)](_0x199fd7),new _0x4d8879(_0x19482f,this[_0x48d769(0x1d2)]);}[_0x9c938c(0x1c2)](_0x27ad22){const _0x2cd517=_0x9c938c;this[_0x2cd517(0x1ad)][_0x2cd517(0x108)](_0x27ad22)||(this[_0x2cd517(0x1ad)][_0x2cd517(0x121)](_0x27ad22),this[_0x2cd517(0x138)][_0x2cd517(0x1ee)](_0x27ad22),this[_0x2cd517(0x1e2)]||_0x2cd517(0x1f3)==_0x27ad22[_0x2cd517(0x150)]&&!_0x27ad22[_0x2cd517(0x1de)]||this[_0x2cd517(0x1f0)]());}[_0x9c938c(0x1e0)](_0x112751=!0x1){const _0x2e1615=_0x9c938c;!_0x112751&&this[_0x2e1615(0x1b6)]||(this[_0x2e1615(0x1b6)]=!0x0,clearTimeout(this[_0x2e1615(0x169)]),this[_0x2e1615(0x169)]=setTimeout(()=>{const _0x4439ce=_0x2e1615;this[_0x4439ce(0x1c5)]()[_0x4439ce(0x147)](_0x73c73c=>{const _0x896888=_0x4439ce;_0x73c73c&&(this[_0x896888(0x11c)](),this[_0x896888(0x1b6)]=!0x1);})[_0x4439ce(0x1a6)](_0x298b69=>{const _0x545d9e=_0x4439ce;if(this[_0x545d9e(0x11c)](),this[_0x545d9e(0x1b6)]=!0x1,!function(_0x3ebdf9){const _0x970a6c=_0x545d9e;return _0x3ebdf9[_0x970a6c(0x19d)][_0x970a6c(0x1e4)](_0x970a6c(0x1d5))||_0x3ebdf9[_0x970a6c(0x19d)][_0x970a6c(0x1e4)](_0x970a6c(0x1dc))||_0x3ebdf9[_0x970a6c(0x19d)][_0x970a6c(0x1e4)](_0x970a6c(0x13b));}(_0x298b69))throw _0x298b69;});},this[_0x2e1615(0x18a)]));}[_0x9c938c(0x1cc)](){return new Promise(_0x24694d=>{const _0x3767a0=_0x2f3e;this['on'](_0x3767a0(0x168),()=>{_0x24694d();});});}async[_0x9c938c(0x1c5)](){const _0x5a5b37=_0x9c938c,_0x39752a=this[_0x5a5b37(0x1d2)][_0x5a5b37(0x1bc)][_0x5a5b37(0x11e)](_0xd45f74);if(this[_0x5a5b37(0x191)]()&&(_0x39752a[_0x5a5b37(0x155)](),this[_0x5a5b37(0x115)]=!0x1),!this[_0x5a5b37(0x1cb)]())return!0x0;const _0x41c54c=[...this[_0x5a5b37(0x138)]];for(const _0xb49679 of _0x41c54c)_0xb49679[_0x5a5b37(0x193)]=this[_0x5a5b37(0xff)][_0x5a5b37(0x18f)][_0x5a5b37(0xf5)](_0xb49679);const _0xaf1747=this[_0x5a5b37(0x1a1)][_0x5a5b37(0x1d7)](_0x41c54c),_0x28126f=K++,_0x5de910=this[_0x5a5b37(0x109)](_0x41c54c),_0x269d09=await this[_0x5a5b37(0x141)][_0x5a5b37(0x160)](_0x5de910,_0x5de910[_0x5a5b37(0x1e1)],_0xaf1747);try{return await this[_0x5a5b37(0x172)](_0x41c54c,_0x269d09,_0x28126f);}catch(_0x4103d3){return this[_0x5a5b37(0x19a)](_0x5a5b37(0x1d8),_0x4103d3);}}async[_0x9c938c(0x172)](_0x4980b8,_0x1f7fed,_0x4b2c44){const _0x2d3e17=_0x9c938c;if(_0x2d3e17(0x142)in _0x1f7fed)throw _0x1f7fed[_0x2d3e17(0x142)];let _0x7101c6=!0x1;if(_0x1f7fed[_0x2d3e17(0x1d9)]){_0x1f7fed[_0x2d3e17(0x15f)]&&(this[_0x2d3e17(0x131)]=_0x1f7fed[_0x2d3e17(0x15f)]),this[_0x2d3e17(0x138)]=this[_0x2d3e17(0x138)][_0x2d3e17(0x1c4)](_0x5b649f=>!_0x4980b8[_0x2d3e17(0x1b4)](_0x5b649f));for(const _0x2ca9ba of _0x4980b8)_0x2ca9ba[_0x2d3e17(0x10c)]=_0x2d3e17(0x126)in _0x1f7fed&&_0x1f7fed[_0x2d3e17(0x126)]||void 0x0;Q(_0x4980b8,_0x1f7fed[_0x2d3e17(0x10b)]-_0x4980b8[_0x2d3e17(0x11b)]),this[_0x2d3e17(0x113)](_0x4980b8);const _0xd2642e=_0x4980b8[_0x2d3e17(0x1c4)](_0x385669=>{const _0x1749ba=_0x2d3e17;if(!_0x385669[_0x1749ba(0x1ae)])return!0x1;const _0x28e2e0=this[_0x1749ba(0x184)](_0x385669);return _0x28e2e0&&!this[_0x1749ba(0x173)][_0x1749ba(0x108)](_0x28e2e0);});Q(_0xd2642e,this[_0x2d3e17(0xff)][_0x2d3e17(0x10b)]),this[_0x2d3e17(0x1f2)](_0xd2642e),_0x7101c6=!0x0,this[_0x2d3e17(0x18a)]=this[_0x2d3e17(0x12d)];}else{const _0x150725=this[_0x2d3e17(0x185)](_0x1f7fed[_0x2d3e17(0x187)],_0x1f7fed[_0x2d3e17(0x1e8)])[_0x2d3e17(0x1c4)](_0x5b0241=>_0x5b0241[_0x2d3e17(0x1e1)]>=this[_0x2d3e17(0x133)]);_0x150725[_0x2d3e17(0x10e)](_0x209855=>this[_0x2d3e17(0x181)](_0x209855)),this[_0x2d3e17(0x138)]=this[_0x2d3e17(0x138)][_0x2d3e17(0x1c4)](_0x31a294=>!_0x31a294[_0x2d3e17(0x1ae)]||!this[_0x2d3e17(0x173)][_0x2d3e17(0x108)](this[_0x2d3e17(0x184)](_0x31a294))),this[_0x2d3e17(0x138)][_0x2d3e17(0x11b)]&&Q(this[_0x2d3e17(0x138)],this[_0x2d3e17(0x138)][0x0][_0x2d3e17(0x1e1)]),await this[_0x2d3e17(0x1c9)](_0x150725),_0x7101c6=this[_0x2d3e17(0x1af)](_0x150725,_0x1f7fed[_0x2d3e17(0x10b)],_0x1f7fed[_0x2d3e17(0x15f)]),this[_0x2d3e17(0x18a)]=Math[_0x2d3e17(0x19b)](this[_0x2d3e17(0x18a)]/0x2);}return _0x7101c6?!this[_0x2d3e17(0x1cb)]()||(this[_0x2d3e17(0x1e0)](!0x0),!0x1):this[_0x2d3e17(0x19a)](_0x2d3e17(0x1b8));}[_0x9c938c(0x1af)](_0x1c52ca,_0x22d021,_0x3eec01){const _0x15aba0=_0x9c938c;try{const _0x140595={'document':this[_0x15aba0(0xff)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1e223a,operationsB:_0x114d8b,originalOperations:_0x1923d7}=_0x4aa3b4(_0x1c52ca,this[_0x15aba0(0x138)],_0x140595);Q(_0x1e223a,this[_0x15aba0(0xff)][_0x15aba0(0x10b)]),Q(_0x114d8b,_0x22d021);for(const _0xccd30 of _0x1e223a){const _0x50e532=_0x1923d7[_0x15aba0(0x11e)](_0xccd30);_0xccd30[_0x15aba0(0x1a9)]=_0x50e532?_0x50e532[_0x15aba0(0x1a9)]:null;}_0x3eec01&&(this[_0x15aba0(0x1a1)][_0x15aba0(0x1b5)](_0x1c52ca,_0x3eec01),this[_0x15aba0(0x131)]=_0x3eec01),this[_0x15aba0(0x138)]=[..._0x114d8b],this[_0x15aba0(0x1f2)](_0x1e223a),this[_0x15aba0(0x113)](_0x1c52ca);}catch(_0x3899a6){return console[_0x15aba0(0x142)](_0x3899a6),!0x1;}return!0x0;}[_0x9c938c(0x1f2)](_0x27c3f5,_0xd4c5bb=!0x1){const _0x5b188b=_0x9c938c;this[_0x5b188b(0x1d2)][_0x5b188b(0xf8)][_0x5b188b(0x161)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5798e0=>{const _0x992c03=_0x5b188b;for(const _0x4eb331 of _0x27c3f5)this[_0x992c03(0x1ad)][_0x992c03(0x121)](_0x4eb331),this[_0x992c03(0x181)](_0x4eb331),_0x5798e0[_0x992c03(0x1c0)][_0x992c03(0x104)](_0x4eb331),this[_0x992c03(0x1d2)][_0x992c03(0xf8)][_0x992c03(0x1ba)](_0x4eb331);});}[_0x9c938c(0x181)](_0x2e00f4){const _0x4280e2=_0x9c938c,_0x229dcc=this[_0x4280e2(0x184)](_0x2e00f4);_0x229dcc&&this[_0x4280e2(0x173)][_0x4280e2(0x121)](_0x229dcc);}[_0x9c938c(0x184)](_0x5c2c41){const _0x431444=_0x9c938c;let _0xa2c191,_0xa40932;switch(_0x5c2c41[_0x431444(0x150)]){case _0x431444(0x125):_0xa2c191=_0x5c2c41[_0x431444(0x124)][_0x431444(0x1a3)];break;case _0x431444(0x1f3):if(_0xa40932=_0x5c2c41[_0x431444(0x192)],!_0xa40932)return null;_0xa2c191=_0xa40932[_0x431444(0x1a3)];break;case _0x431444(0x157):_0xa2c191=_0x5c2c41[_0x431444(0x1a3)];break;case _0x431444(0x10d):_0xa2c191=_0x5c2c41[_0x431444(0x195)];break;case _0x431444(0xfa):_0xa2c191=_0x5c2c41[_0x431444(0x1e6)][_0x431444(0x1a3)];break;default:return null;}return _0xa2c191[_0x431444(0x12c)];}[_0x9c938c(0x113)](_0xdc851e){const _0xf87766=_0x9c938c;_0xdc851e[_0xf87766(0x10e)](_0x486b3d=>{const _0x374d32=_0xf87766,_0x169141=_0x486b3d[_0x374d32(0x12b)]();_0x169141[_0x374d32(0x1a9)]=_0x486b3d[_0x374d32(0x1a9)],_0x169141[_0x374d32(0x1ae)]=!!_0x486b3d[_0x374d32(0x1ae)],_0x169141[_0x374d32(0x10c)]=_0x486b3d[_0x374d32(0x10c)],_0x169141[_0x374d32(0x1e1)]+=this[_0x374d32(0x16d)],_0x486b3d[_0x374d32(0x1cf)]&&this[_0x374d32(0x134)][_0x374d32(0x121)](_0x169141),this[_0x374d32(0x128)][_0x374d32(0x104)](_0x169141);});}[_0x9c938c(0x100)](_0x62d920){const _0x250bc2=_0x9c938c,_0x1f9931=this[_0x250bc2(0x1d2)][_0x250bc2(0x1bc)][_0x250bc2(0x11e)](_0x250bc2(0x190)),_0x3f45c0=this[_0x250bc2(0x1d2)][_0x250bc2(0x14b)];_0x62d920||(_0x62d920=_0x530df2(_0x3f45c0,_0x250bc2(0x1b3))),_0x1f9931[_0x250bc2(0x1e5)](_0x62d920,{'title':_0x530df2(_0x3f45c0,_0x250bc2(0x198)),'namespace':_0x250bc2(0x13c)}),this[_0x250bc2(0x1c8)]=!0x0,clearTimeout(this[_0x250bc2(0x169)]),this[_0x250bc2(0x138)]=[],this[_0x250bc2(0x1d2)][_0x250bc2(0x1bc)][_0x250bc2(0x11e)](_0x1685db)[_0x250bc2(0x14a)]();}[_0x9c938c(0x1f0)](){const _0x271384=_0x9c938c;this[_0x271384(0x1e2)]||(this[_0x271384(0x1e2)]=this[_0x271384(0x1d2)][_0x271384(0x1bc)][_0x271384(0x11e)](_0x221424)[_0x271384(0x121)](_0x530df2(this[_0x271384(0x1d2)][_0x271384(0x14b)],_0x271384(0x146))));}[_0x9c938c(0x11c)](){const _0x58f1cd=_0x9c938c;this[_0x58f1cd(0x1e2)]&&(this[_0x58f1cd(0x1d2)][_0x58f1cd(0x1bc)][_0x58f1cd(0x11e)](_0x221424)[_0x58f1cd(0x117)](this[_0x58f1cd(0x1e2)]),this[_0x58f1cd(0x1e2)]=null);}[_0x9c938c(0x109)](_0x4f3a31){const _0x47a46b=_0x9c938c,_0xd641f0=_0x4f3a31[_0x47a46b(0x199)](_0x203b7a=>_0x203b7a[_0x47a46b(0x105)]());return this[_0x47a46b(0x1ac)][_0x47a46b(0xfe)](_0xd641f0);}[_0x9c938c(0x185)](_0x31162c,_0x21a8d4){const _0x5f56a1=_0x9c938c;return this[_0x5f56a1(0x1ac)][_0x5f56a1(0x18c)](_0x31162c)[_0x5f56a1(0x199)]((_0x3c155f,_0x5d11eb)=>{const _0x4a3039=_0x5f56a1,_0xa04d18=_0x4a3039(0x196)==_0x21a8d4[_0x5d11eb][_0x4a3039(0x150)];if(_0x4a3039(0x18d)==_0x3c155f[_0x4a3039(0x1ce)]){const _0x36fccb=_0x3c155f[_0x4a3039(0x124)][_0x4a3039(0x1a3)];!this[_0x4a3039(0xff)][_0x4a3039(0x1a4)](_0x36fccb)&&(this[_0x4a3039(0xff)][_0x4a3039(0x14c)](_0x4a3039(0x1ab),_0x36fccb)[_0x4a3039(0x15d)]=!0x1);}const _0x53f0eb=_0x241b0f[_0x4a3039(0x1cd)](_0x3c155f,this[_0x4a3039(0xff)]);return _0x53f0eb[_0x4a3039(0x193)]=_0x3c155f[_0x4a3039(0x193)],_0x53f0eb[_0x4a3039(0x1ae)]=_0xa04d18,_0x53f0eb[_0x4a3039(0x1a9)]=_0xa04d18?null:_0x21a8d4[_0x5d11eb][_0x4a3039(0x101)],_0x53f0eb[_0x4a3039(0x1cf)]=_0x4a3039(0xf9)===_0x21a8d4[_0x5d11eb][_0x4a3039(0x150)],_0x53f0eb[_0x4a3039(0x10c)]=_0x21a8d4[_0x5d11eb][_0x4a3039(0x10c)],_0x53f0eb;});}[_0x9c938c(0x1a5)](){const _0x3b1350=_0x9c938c;this[_0x3b1350(0x115)]=!0x0,this[_0x3b1350(0x191)]()?this[_0x3b1350(0x1e0)]():this[_0x3b1350(0x115)]=!0x1;}[_0x9c938c(0x191)](){const _0x282174=_0x9c938c,_0x445748=this[_0x282174(0x1d2)][_0x282174(0x1bc)][_0x282174(0x11e)](_0xce67e9)[_0x282174(0x18e)][_0x282174(0x11e)](this[_0x282174(0x1f1)]);return!this[_0x282174(0x1d2)][_0x282174(0x132)]&&!!_0x445748&&_0x445748[_0x282174(0x11b)]>0x1&&this[_0x282174(0x115)];}[_0x9c938c(0x1cb)](){const _0x297ae5=_0x9c938c;return this[_0x297ae5(0x138)][_0x297ae5(0x11b)]>0x0||this[_0x297ae5(0x191)]();}}l[_0x9c938c(0x129)]=_0x3ecd2a;export default l;class J extends Error{}function Q(_0x6dfd2b,_0x44da21){const _0x1bffb2=_0x9c938c;for(const _0x5bd66e of _0x6dfd2b)_0x5bd66e[_0x1bffb2(0x1e1)]=_0x44da21++;}class X{constructor(_0x2bdde6){const _0x11535f=_0x9c938c;this[_0x11535f(0x1c7)]=_0x2bdde6,this[_0x11535f(0x1be)]=new WeakMap();}[_0x9c938c(0x1d7)](_0x429ece){const _0x27dfe0=_0x9c938c;let _0x1ba8eb=_0x429ece[_0x27dfe0(0x11b)];for(;_0x1ba8eb--;){const _0x42cfc5=_0x429ece[_0x1ba8eb];if(!this[_0x27dfe0(0x1c7)][_0x27dfe0(0x108)](_0x42cfc5)){if(!this[_0x27dfe0(0x1be)][_0x27dfe0(0x108)](_0x42cfc5)){const _0x5edbe7=_0x288e1b()[_0x27dfe0(0x1d3)](0x1,0x12);this[_0x27dfe0(0x1be)][_0x27dfe0(0xfc)](_0x42cfc5,_0x5edbe7);}return this[_0x27dfe0(0x1be)][_0x27dfe0(0x11e)](_0x42cfc5);}}}[_0x9c938c(0x1b5)](_0x5e7e9c,_0x17fe13){const _0x1aeab3=_0x9c938c;if(!_0x17fe13)return;let _0x39df1f=_0x5e7e9c[_0x1aeab3(0x11b)];for(;_0x39df1f--;){const _0x88fccd=_0x5e7e9c[_0x39df1f];this[_0x1aeab3(0x1c7)][_0x1aeab3(0x108)](_0x88fccd)||this[_0x1aeab3(0x1be)][_0x1aeab3(0xfc)](_0x88fccd,_0x17fe13);}}}
|
|
23
|
+
const _0x5dbe19=_0x3636;(function(_0x4bb5e4,_0x2d2ff0){const _0x3a06f6=_0x3636,_0x319f8f=_0x4bb5e4();while(!![]){try{const _0x44cb79=parseInt(_0x3a06f6(0xfc))/0x1+-parseInt(_0x3a06f6(0x145))/0x2*(-parseInt(_0x3a06f6(0x165))/0x3)+parseInt(_0x3a06f6(0xef))/0x4*(-parseInt(_0x3a06f6(0xe0))/0x5)+-parseInt(_0x3a06f6(0x96))/0x6*(-parseInt(_0x3a06f6(0xa9))/0x7)+-parseInt(_0x3a06f6(0xf4))/0x8*(-parseInt(_0x3a06f6(0xf3))/0x9)+parseInt(_0x3a06f6(0x149))/0xa*(parseInt(_0x3a06f6(0xc8))/0xb)+-parseInt(_0x3a06f6(0xf0))/0xc*(parseInt(_0x3a06f6(0xea))/0xd);if(_0x44cb79===_0x2d2ff0)break;else _0x319f8f['push'](_0x319f8f['shift']());}catch(_0x45e5cf){_0x319f8f['push'](_0x319f8f['shift']());}}}(_0x59c1,0xe915f));function _0x3636(_0x11b0dc,_0x3422bd){const _0x59c12f=_0x59c1();return _0x3636=function(_0x3636cf,_0x4f592d){_0x3636cf=_0x3636cf-0x93;let _0x54b5d9=_0x59c12f[_0x3636cf];return _0x54b5d9;},_0x3636(_0x11b0dc,_0x3422bd);}import{Plugin as _0x43c957,PendingActions as _0x4b2280}from'ckeditor5/src/core.js';import{CKEditorError as _0xe3ed2e,version as _0x434e71,uid as _0x4c1cc1}from'ckeditor5/src/utils.js';import{Notification as _0x4d397d}from'ckeditor5/src/ui.js';import{transformSets as _0x1edf9b,NoOperation as _0x5d5449,InsertOperation as _0x54ab1c,MarkerOperation as _0x44fe44,RootAttributeOperation as _0x17fb6c,OperationFactory as _0xbe4b04,History as _0x27d421}from'ckeditor5/src/engine.js';import _0x2c1409 from'./websocketgateway.js';import _0x45efe6 from'./sessions.js';import _0x427c3d from'./usermarkers.js';import{getTranslation as _0x873d8f}from'../common-translations.js';import{Compressor as _0x3bb952}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xc32174}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x44c4d5,CollaborativeEditingService as _0x150f89}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x59c1(){const _0x5c186e=['getOperationAuthor','compress','offset','cloudDocumentVersion','createPositionFromPath','start','parse','getOperations','_baseBufferDelay','realtimecollaborationclient-init-non-existent-root','_isInit','listenTo','_isPendingUpdate','state','loadRoot','destroy','__className','_handleReceivedOperations','_isDisconnection','Permissions','addRoot','off','initData','change:range','$root','sessionCreatedAt','rootName','root','toJSON','createdAt','affectsData','_disconnectionOperations','cs:removeUser','round','wereChangesApplied','getConnectedSessions','rtc-destroyed','_authorId','_operationToId','_document','differ','_handleInitialConnectionData','string','Notification','connected','_handleExternalOperations','_currentBufferDelay','reconnect','fromJSON','lastOperationId','attributes','stop','138988YLRani','decompress','_getAffectedRoot','userId','70nLvNRY','insert','path','pluginName','cloudServices.bundleVersion','plugins','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnect','_fetchMissingUsers','_setPendingAction','finally','affectedSelectable','markers','set','_handleSendingSelectionMarkers','slice','size','change:_isEditingAllowed','view','_isConnected','_sendBufferedOperations','lastDocumentSession','isReadOnly','error','_connectService','createRange','realtimecollaborationclient-init-session-connection-error','init','9BdQoJZ','change:_isPendingUpdate','setIdForTheLastOperation','404','keys','sendOperations','_initThrowingOnDataSet','disableReadOnlyMode','getIdOfTheLastOperation','real-time-collaboration','_applyOperationsSet','isDocumentOperation','currentDocumentSession','_bufferedOperations','lastSyncVersion','realtimecollaborationclient-init-document-already-initialized','_crash','_getOperationsFromInitData','addToReconnectionStack','bind','mySessionId','collaboration','end','_decompressOperations','version','createUserMarkerOperations','ready','_offset','editing','_isAttached','_lastSyncedOperationId','_addKnownRoot','_knownOperations','fire','realtimecollaborationclient-initservice-incorrect-server-operation','cloud-services-internal-error:\x20Not\x20connected.','define','_lastServerVersion','add','_channelId','reconnection:\x20flushed\x20session','createPositionAt','_refreshUserSelectionMarkers','_hasSelectionChanged','_isLoaded','_isEditingAllowed','applyOperation','createRoot','CommentsOnly','409','getMany','reset','_sendBufferedOperationsDelayed','_disconnectService','134802XIuaKy','Synchronization\x20issue','code','enqueueChange','document','targetPosition','removeFromReconnectionStack','lastOperationAcceptedAt','register','isUndoneOperation','history','_setUpDataInit','remove','locale','RealTimeCollaborationClient','sessionId','catch','_ignoredOperations','CollaborativeEditingService','287UHxfjO','_handleServerResponse','realtimecollaborationclient-initservice-internal-error','length','config','_bufferRootLoad','map','from','addUser','_shouldSendSelectionUpdate','collaboration.channelId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_operationIdentifier','_loadRoot','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-init-connection-failed','isEnabled','stopListening','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','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.','operationsReceived','addOperation','collaboration-missing-channelid','addRootAttribute','_updateServerHistory','connect','realtimecollaborationclient-sendbufferedoperations','cloud-services-internal-error:\x20Request\x20timeout.','sessionAdd:','wasUndone','_hasSynchronizationProblem','678777pSwWzd','InsertOperation','_connectAfterSessionHasBeenFlushed','getRoot','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.','high','entries','unregister','showWarning','selection','roots','PENDING_ACTION_SENDING_DATA','_compressOperations','_service','editor','return','_knownRootNames','rtc-offline','batch','apply','_saveOperationInBuffer','get','_initSessionsHandling','getDocumentDetails','4159195IYWigd','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_sendBufferedOperationsDelayId','includes','push','forEach','filter','suppressErrorInCollaboration','marker','_waitUntilSynced','26QKjHRP','newRange','getUser','directChange','model','4fgZocW','14825136EpibBU','baseVersion','serverHistory','17010117HkbMYq','8gbIbIM','setPermissions','requires','_handleReconnectionError','channelSessions','move','permissions','_handleReconnectionResponse','805823loEaug','_shouldSendUpdate','metadata','realtimecollaborationclient-handleserverresponse','clone','_pendingAction','_clearPendingAction','document:write','then','message','data','enableReadOnlyMode','change:hasDomSelection','has','disconnected','type','position','_compressor','rootsAttributes','connection','startsWith'];_0x59c1=function(){return _0x5c186e;};return _0x59c1();}let F=0x1;class l extends _0x43c957{static get[_0x5dbe19(0xf6)](){return[_0x2c1409,_0x45efe6,_0x427c3d,_0x4b2280,_0xc32174,_0x4d397d];}static get[_0x5dbe19(0x14c)](){const _0x2a4460=_0x5dbe19;return _0x2a4460(0xa4);}get[_0x5dbe19(0x114)](){const _0x2b9957=_0x5dbe19;return this[_0x2b9957(0x18a)]+this[_0x2b9957(0x180)];}get[_0x5dbe19(0x18a)](){const _0x49f901=_0x5dbe19;return this[_0x49f901(0xf2)][_0x49f901(0x17d)]-this[_0x49f901(0x180)];}get[_0x5dbe19(0x173)](){const _0x27f659=_0x5dbe19,_0x1158e3=this[_0x27f659(0xf2)][_0x27f659(0x118)]();for(let _0xa86b4b=_0x1158e3[_0x27f659(0xac)]-0x1;_0xa86b4b>=0x0;_0xa86b4b--){const _0x2e4ce7=_0x1158e3[_0xa86b4b];if(!this[_0x27f659(0x130)][_0x27f659(0x109)](_0x2e4ce7))return _0x2e4ce7[_0x27f659(0xf1)]+0x1-this[_0x27f659(0x180)];}return 0x0;}constructor(_0x2622e6){const _0x23ca77=_0x5dbe19;if(super(_0x2622e6),this[_0x23ca77(0x180)]=0x0,this[_0x23ca77(0xa5)]=null,this[_0x23ca77(0xf2)]=new _0x27d421(),this[_0x23ca77(0xd6)][_0x23ca77(0xad)][_0x23ca77(0x189)](_0x23ca77(0x17a),{}),this[_0x23ca77(0x18c)]=this[_0x23ca77(0xd6)][_0x23ca77(0xad)][_0x23ca77(0xdd)](_0x23ca77(0xb3)),!this[_0x23ca77(0x18c)])throw new _0xe3ed2e(_0x23ca77(0xbf),this);const _0x4934e1=_0x2622e6[_0x23ca77(0xad)][_0x23ca77(0xdd)](_0x23ca77(0x14d))||_0x434e71;this[_0x23ca77(0xd5)]=new l[(_0x23ca77(0xa8))](_0x4934e1,this[_0x23ca77(0x18c)]),this[_0x23ca77(0x138)]=this[_0x23ca77(0xd6)][_0x23ca77(0xee)][_0x23ca77(0x9a)],this[_0x23ca77(0x10d)]=new _0x3bb952(),this[_0x23ca77(0x172)]=[],this[_0x23ca77(0x185)]=new WeakSet(),this[_0x23ca77(0xd8)]=new Set(),this[_0x23ca77(0x156)](_0x23ca77(0x11d),!0x1),this[_0x23ca77(0x156)](_0x23ca77(0xc7),!0x1),this[_0x23ca77(0x101)]=null,this[_0x23ca77(0x190)]=!0x1,this[_0x23ca77(0xe2)]=null,this[_0x23ca77(0x119)]=0x12c,this[_0x23ca77(0x13f)]=this[_0x23ca77(0x119)],this[_0x23ca77(0x183)]=null,this[_0x23ca77(0x130)]=new WeakSet(),this[_0x23ca77(0xb5)]=new G(this[_0x23ca77(0x130)]);}[_0x5dbe19(0x164)](){const _0x13b0c3=_0x5dbe19,_0x3d5749=this[_0x13b0c3(0xd6)],_0x5c737d=_0x3d5749[_0x13b0c3(0x14e)][_0x13b0c3(0xdd)](_0xc32174),_0x4db5ea=_0x3d5749[_0x13b0c3(0x14e)][_0x13b0c3(0xdd)](_0x2c1409);this[_0x13b0c3(0x11c)](_0x5c737d,_0x13b0c3(0x111),(_0x237a8f,_0x16ebba)=>{const _0x18e35f=_0x13b0c3,_0x435ace=_0x16ebba[0x0];_0x435ace[_0x18e35f(0x136)]&&(_0x237a8f[_0x18e35f(0xd7)]=_0x5c737d[_0x18e35f(0xec)](_0x435ace[_0x18e35f(0x136)]),_0x237a8f[_0x18e35f(0x144)]()),null===_0x435ace[_0x18e35f(0x136)]&&(_0x237a8f[_0x18e35f(0xd7)]=null,_0x237a8f[_0x18e35f(0x144)]());},{'priority':_0x13b0c3(0xcd)}),this[_0x13b0c3(0x11c)](_0x3d5749[_0x13b0c3(0xee)][_0x13b0c3(0x9a)][_0x13b0c3(0xd1)],_0x13b0c3(0x128),(_0x41202a,_0x91fddc)=>{const _0x5e490a=_0x13b0c3;_0x91fddc[_0x5e490a(0xed)]&&this[_0x5e490a(0x18f)]();}),this[_0x13b0c3(0x11c)](_0x3d5749[_0x13b0c3(0x181)][_0x13b0c3(0x15b)],_0x13b0c3(0x108),()=>{const _0x4fa766=_0x13b0c3;this[_0x4fa766(0x18f)]();}),this[_0x13b0c3(0x16b)](),_0x3d5749[_0x13b0c3(0xee)]['on'](_0x13b0c3(0x193),(_0x3b045e,_0x3c7a47)=>{const _0x34afa3=_0x13b0c3,_0x1c0fbe=_0x3c7a47[0x0];_0x1c0fbe[_0x34afa3(0x170)]&&(this[_0x34afa3(0xdc)](_0x1c0fbe),this[_0x34afa3(0xfd)]()&&this[_0x34afa3(0x94)]());}),this[_0x13b0c3(0xa1)](),this[_0x13b0c3(0x178)](_0x13b0c3(0x192))['to'](_0x4db5ea,_0x13b0c3(0x11e),this,_0x13b0c3(0xc7),(_0x10cb81,_0x3ab9d6)=>_0x13b0c3(0x13d)===_0x10cb81&&!_0x3ab9d6),this['on'](_0x13b0c3(0x15a),()=>{const _0x6af656=_0x13b0c3;this[_0x6af656(0x192)]?_0x3d5749[_0x6af656(0x16c)](_0x6af656(0xd9)):_0x3d5749[_0x6af656(0x107)](_0x6af656(0xd9));}),this[_0x13b0c3(0x192)]?_0x3d5749[_0x13b0c3(0x16c)](_0x13b0c3(0xd9)):_0x3d5749[_0x13b0c3(0x107)](_0x13b0c3(0xd9)),this[_0x13b0c3(0x156)](_0x13b0c3(0x15c),!0x1);}async[_0x5dbe19(0x140)](){const _0x243560=_0x5dbe19,_0x3c93ed=this[_0x243560(0xd6)][_0x243560(0x14e)][_0x243560(0xdd)](_0x45efe6),_0x41f549=this[_0x243560(0xd6)][_0x243560(0x14e)][_0x243560(0xdd)](_0x2c1409);try{this[_0x243560(0x11d)]=!0x0,_0x3c93ed[_0x243560(0xcf)](this[_0x243560(0x18c)]);const _0x1b9d79=await this[_0x243560(0xd5)][_0x243560(0x140)](_0x41f549[_0x243560(0x10f)],this[_0x243560(0x173)]);await this[_0x243560(0xfb)](_0x1b9d79)&&(this[_0x243560(0x11d)]=!0x1,this[_0x243560(0x102)]());const _0x12e10c=await this[_0x243560(0xd5)][_0x243560(0x134)]();_0x3c93ed[_0x243560(0x9e)](this[_0x243560(0x18c)],_0x12e10c),this[_0x243560(0x157)](),this[_0x243560(0x15c)]=!0x0;}catch(_0x2adb3b){if(function(_0x5e5734){const _0x101b97=_0x243560;return _0x101b97(0x168)===_0x5e5734[_0x101b97(0x98)];}(_0x2adb3b)&&this[_0x243560(0xa5)])await this[_0x243560(0xca)]();else{if(function(_0x26c6a2){const _0xd9e26d=_0x243560;return _0xd9e26d(0x196)===_0x26c6a2[_0xd9e26d(0x98)];}(_0x2adb3b)){const _0x4921ee=_0x873d8f(this[_0x243560(0xd6)][_0x243560(0xa3)],_0x243560(0x14f));this[_0x243560(0xf7)](_0x4921ee);}else{if(!(_0x2adb3b instanceof H))throw _0x2adb3b;this[_0x243560(0xf7)]();}}}}[_0x5dbe19(0x120)](){const _0xab240e=_0x5dbe19,_0x3a0e3f=this[_0xab240e(0xd6)][_0xab240e(0x14e)][_0xab240e(0xdd)](_0x2c1409),_0x15cb65=this[_0xab240e(0xd6)][_0xab240e(0x14e)][_0xab240e(0xdd)](_0x45efe6);this[_0xab240e(0xd6)][_0xab240e(0x107)](_0xab240e(0x135)),_0x15cb65[_0xab240e(0xf8)][_0xab240e(0x109)](this[_0xab240e(0x18c)])&&_0x15cb65[_0xab240e(0xcf)](this[_0xab240e(0x18c)]),_0x3a0e3f[_0xab240e(0x9c)](this),this[_0xab240e(0x95)](),super[_0xab240e(0x120)]();}async[_0x5dbe19(0xfb)](_0x4b25d9){const _0x1fc52d=_0x5dbe19;if(this[_0x1fc52d(0xa5)]!==_0x4b25d9[_0x1fc52d(0xa5)]&&this[_0x1fc52d(0x183)]!==_0x4b25d9[_0x1fc52d(0x142)])throw new H();return this[_0x1fc52d(0xa5)]=_0x4b25d9[_0x1fc52d(0xa5)],this[_0x1fc52d(0xaa)]([],{..._0x4b25d9,'wereChangesApplied':!0x1,'data':_0x4b25d9[_0x1fc52d(0x106)]},_0x1fc52d(0x140));}async[_0x5dbe19(0x161)](_0xe471a2,_0x53e31c=!0x1){const _0x6e013=_0x5dbe19,{connection:_0x556e56}=this[_0x6e013(0xd6)][_0x6e013(0x14e)][_0x6e013(0xdd)](_0x2c1409);l[_0x6e013(0xa8)][_0x6e013(0x134)](_0x556e56,this[_0x6e013(0x18c)])[_0x6e013(0x104)](_0x214083=>this[_0x6e013(0xde)](_0x214083))[_0x6e013(0xa6)](_0x4cc82f=>{const _0x4f0029=_0x6e013;this[_0x4f0029(0x175)](_0x4f0029(0x163),_0x4cc82f);}),this[_0x6e013(0x11c)](this[_0x6e013(0xd5)],_0x6e013(0xbd),this[_0x6e013(0x122)][_0x6e013(0x178)](this)),this[_0x6e013(0x11c)](this[_0x6e013(0xd5)],_0x6e013(0x160),(_0x94181e,_0x1bf332)=>{const _0x2825f7=_0x6e013;this[_0x2825f7(0x175)](_0x2825f7(0xab),_0x1bf332);}),this[_0x6e013(0x11c)](this[_0x6e013(0xd5)],_0x6e013(0x10a),()=>{const _0x12da46=_0x6e013;this[_0x12da46(0x15c)]=!0x1;});const _0x21adaa=this[_0x6e013(0xb5)][_0x6e013(0x16d)](_0xe471a2);this[_0x6e013(0x11d)]=!0x0;const _0x30764d=await this[_0x6e013(0xd5)][_0x6e013(0xc2)](_0x556e56,this[_0x6e013(0xd4)](_0xe471a2),_0x21adaa);if(this[_0x6e013(0xa5)]=_0x30764d[_0x6e013(0xa5)],_0x53e31c){if(!_0x30764d[_0x6e013(0x133)])return void this[_0x6e013(0xf7)]();this[_0x6e013(0x11d)]=!0x1,this[_0x6e013(0x102)](),this[_0x6e013(0xf2)][_0x6e013(0x93)](),this[_0x6e013(0x180)]=_0x30764d[_0x6e013(0x113)],this[_0x6e013(0xf2)][_0x6e013(0x17d)]=this[_0x6e013(0x180)],await this[_0x6e013(0xaa)](_0xe471a2,_0x30764d,_0x6e013(0x18d));}else await this[_0x6e013(0x13a)](_0x30764d,_0xe471a2);this[_0x6e013(0x157)](),this[_0x6e013(0x15c)]=!0x0;}[_0x5dbe19(0x157)](){const _0x640346=_0x5dbe19,_0x41cf82=this[_0x640346(0xd6)][_0x640346(0x14e)][_0x640346(0xdd)](_0x45efe6),_0xd8a8e7=this[_0x640346(0xd6)][_0x640346(0x14e)][_0x640346(0xdd)](_0x427c3d),_0x131c8c=_0x41cf82[_0x640346(0xf8)][_0x640346(0xdd)](this[_0x640346(0x18c)]);_0x131c8c&&_0x131c8c[_0x640346(0xac)]>0x1?_0xd8a8e7[_0x640346(0x17e)]():this[_0x640346(0x11c)](_0x41cf82,_0x640346(0xc5)+this[_0x640346(0x18c)],()=>{const _0x148ae6=_0x640346;0x2===_0x41cf82[_0x148ae6(0xf8)][_0x148ae6(0xdd)](this[_0x148ae6(0x18c)])[_0x148ae6(0xac)]&&_0xd8a8e7[_0x148ae6(0x17e)]();});}async[_0x5dbe19(0x122)](_0xade111,_0x5f4deb,_0x1e7526,_0x38e149){const _0x3ff1a8=_0x5dbe19;if(!this[_0x3ff1a8(0x11d)]&&this[_0x3ff1a8(0x138)][_0x3ff1a8(0x17d)]==_0x5f4deb){const _0x27e23e=this[_0x3ff1a8(0x17c)](_0x1e7526,_0x38e149);await this[_0x3ff1a8(0x151)](_0x27e23e),this[_0x3ff1a8(0x13e)](_0x27e23e,_0x5f4deb,_0x1e7526[_0x3ff1a8(0x142)])||this[_0x3ff1a8(0x175)](_0x3ff1a8(0x187));}}async[_0x5dbe19(0xca)](){const _0x2b03ff=_0x5dbe19;this[_0x2b03ff(0x95)]();const {locale:_0x4e8090}=this[_0x2b03ff(0xd6)];let _0x5ae85b;try{_0x5ae85b=await this[_0x2b03ff(0xd5)][_0x2b03ff(0xdf)]();}catch(_0x4249e3){const _0x11a51a=_0x873d8f(_0x4e8090,_0x2b03ff(0xe1));return void this[_0x2b03ff(0xf7)](_0x11a51a);}const _0x30ae5e=_0x5ae85b[_0x2b03ff(0x171)]||_0x5ae85b[_0x2b03ff(0x15e)];if(this[_0x2b03ff(0x183)]===_0x30ae5e[_0x2b03ff(0x142)])await this[_0x2b03ff(0x161)](this[_0x2b03ff(0xd6)][_0x2b03ff(0xee)][_0x2b03ff(0x9a)][_0x2b03ff(0xa0)][_0x2b03ff(0x118)](),!0x0);else{const _0x1b6148=_0x873d8f(_0x4e8090,_0x2b03ff(0xbc));this[_0x2b03ff(0xf7)](_0x1b6148);}}[_0x5dbe19(0x95)](){const _0x1e2735=_0x5dbe19;this[_0x1e2735(0xd5)][_0x1e2735(0x150)](),this[_0x1e2735(0x172)]=[],clearTimeout(this[_0x1e2735(0xe2)]),this[_0x1e2735(0xba)](this[_0x1e2735(0xd5)]);}[_0x5dbe19(0xde)](_0x1f76c4){const _0x3ccdf5=_0x5dbe19,_0x351269=this[_0x3ccdf5(0xd6)][_0x3ccdf5(0x14e)][_0x3ccdf5(0xdd)](_0x45efe6);this[_0x3ccdf5(0x11c)](_0x351269,_0x3ccdf5(0xc5)+this[_0x3ccdf5(0x18c)],(_0x8df0f8,{session:_0x1291d3})=>{const _0x536092=_0x3ccdf5;if(_0x1291d3['id']===_0x351269[_0x536092(0x179)]){_0x8df0f8[_0x536092(0x126)]();const _0x3527e1=this[_0x536092(0xd6)][_0x536092(0x14e)][_0x536092(0x109)](_0x536092(0x195))&&this[_0x536092(0xd6)][_0x536092(0x14e)][_0x536092(0xdd)](_0x536092(0x195));let _0x145487=_0x1291d3[_0x536092(0xfa)];_0x3527e1&&_0x3527e1[_0x536092(0xb9)]&&(_0x145487=_0x145487[_0x536092(0xe6)](_0x2e0fdf=>_0x536092(0x103)!==_0x2e0fdf)),this[_0x536092(0xd6)][_0x536092(0x14e)][_0x536092(0xdd)](_0x536092(0x124))[_0x536092(0xf5)](_0x145487,this[_0x536092(0x18c)]);}}),_0x351269[_0x3ccdf5(0x9e)](this[_0x3ccdf5(0x18c)],_0x1f76c4);}[_0x5dbe19(0x16b)](){const _0xe109=_0x5dbe19,_0x44f44b=this[_0xe109(0xd6)][_0xe109(0x106)][_0xe109(0x156)];this[_0xe109(0xd6)][_0xe109(0x106)][_0xe109(0x156)]=(..._0x3db8c5)=>{const _0x3430d0=_0xe109;if(!_0x3db8c5[_0x3db8c5[_0x3430d0(0xac)]-0x1][_0x3430d0(0xe7)])throw new _0xe3ed2e(_0x3430d0(0xbb),this);_0x44f44b[_0x3430d0(0xdb)](this[_0x3430d0(0xd6)][_0x3430d0(0x106)],_0x3db8c5);};}[_0x5dbe19(0xa1)](){const _0x272f31=_0x5dbe19;this[_0x272f31(0xd6)][_0x272f31(0x106)]['on'](_0x272f31(0x164),(_0xc2183b,[_0xb2d01c])=>{const _0x1b394e=_0x272f31;if(this[_0x1b394e(0x138)][_0x1b394e(0x17d)])throw new _0xe3ed2e(_0x1b394e(0x174),this);_0xc2183b[_0x1b394e(0x144)](),this[_0x1b394e(0x152)]();const _0x139ffa=this[_0x1b394e(0xd6)][_0x1b394e(0xad)][_0x1b394e(0xdd)](_0x1b394e(0x10e)),_0x4815c1=this[_0x1b394e(0x176)](_0xb2d01c,_0x139ffa);0x0==_0x4815c1[_0x1b394e(0xac)]&&_0x4815c1[_0x1b394e(0xe4)](new _0x5d5449(0x0)),_0xc2183b[_0x1b394e(0xd7)]=this[_0x1b394e(0x161)](_0x4815c1)[_0x1b394e(0x104)](()=>{const _0x1f0d60=_0x1b394e;this[_0x1f0d60(0xd6)][_0x1f0d60(0x14e)][_0x1f0d60(0xdd)](_0x2c1409)[_0x1f0d60(0x177)](this),this[_0x1f0d60(0xd6)][_0x1f0d60(0x106)][_0x1f0d60(0x186)](_0x1f0d60(0x17f));})[_0x1b394e(0xa6)](_0x4a3197=>this[_0x1b394e(0x175)](_0x1b394e(0xb8),_0x4a3197))[_0x1b394e(0x153)](()=>this[_0x1b394e(0x102)]());},{'priority':_0x272f31(0xcd)}),this[_0x272f31(0xd6)]['on'](_0x272f31(0x11f),async(_0x112cc7,[_0x59c775,_0xc6b7c0])=>{const _0x4bc560=_0x272f31;_0x112cc7[_0x4bc560(0x144)]();const _0x56c0ed=this[_0x4bc560(0xd6)][_0x4bc560(0xee)][_0x4bc560(0x9a)][_0x4bc560(0xcb)](_0x59c775);if(!this[_0x4bc560(0xd8)][_0x4bc560(0x109)](_0x59c775)){const _0x41eee9=_0xc6b7c0&&_0xc6b7c0[_0x4bc560(0x106)]?_0xc6b7c0[_0x4bc560(0x106)]:'',_0x211962=_0xc6b7c0&&_0xc6b7c0[_0x4bc560(0x143)]?_0xc6b7c0[_0x4bc560(0x143)]:{};await this[_0x4bc560(0xb6)](_0x59c775,_0x41eee9,_0x211962);}this[_0x4bc560(0xd6)][_0x4bc560(0xee)][_0x4bc560(0x99)]({'isUndoable':!0x1},()=>{const _0x827366=_0x4bc560;_0x56c0ed[_0x827366(0x191)]=!0x0,this[_0x827366(0xd6)][_0x827366(0xee)][_0x827366(0x9a)][_0x827366(0x139)][_0x827366(0xae)](_0x56c0ed);});},{'priority':_0x272f31(0xcd)});}async[_0x5dbe19(0x151)](_0x58a4ce){const _0x3e0bd=_0x5dbe19,_0x52cfd3=this[_0x3e0bd(0xd6)][_0x3e0bd(0x14e)][_0x3e0bd(0xdd)](_0xc32174),{connection:_0x5f940f}=this[_0x3e0bd(0xd6)][_0x3e0bd(0x14e)][_0x3e0bd(0xdd)](_0x2c1409),_0x4ab5e7=new Set();for(const _0x43b13f of _0x58a4ce){const _0x32023c=_0x43b13f[_0x3e0bd(0x136)];_0x32023c&&!_0x52cfd3[_0x3e0bd(0xec)](_0x32023c)&&_0x4ab5e7[_0x3e0bd(0x18b)](_0x32023c);}if(0x0===_0x4ab5e7[_0x3e0bd(0x159)])return;const _0x1421d0=await _0x44c4d5[_0x3e0bd(0x197)](_0x5f940f,Array[_0x3e0bd(0xb0)](_0x4ab5e7));for(const _0x5ccb82 of _0x1421d0)_0x52cfd3[_0x3e0bd(0xec)](_0x5ccb82['id'])||_0x52cfd3[_0x3e0bd(0xb1)](_0x5ccb82);}[_0x5dbe19(0x176)](_0x272556,_0x1d482e={}){const _0x5a44b2=_0x5dbe19,_0x3e4ef8=this[_0x5a44b2(0xd6)][_0x5a44b2(0xee)],_0x175e7c=[];let _0x623031=0x0;const _0x47ce2c=_0x5a44b2(0x13b)==typeof _0x272556?{'main':_0x272556}:_0x272556;for(const _0x5a36df of Object[_0x5a44b2(0x169)](_0x47ce2c)){if(!this[_0x5a44b2(0x138)][_0x5a44b2(0xd2)][_0x5a44b2(0x109)](_0x5a36df))throw new _0xe3ed2e(_0x5a44b2(0x11a),this);const _0x4d4ebe=this[_0x5a44b2(0xd6)][_0x5a44b2(0x106)][_0x5a44b2(0x117)](_0x47ce2c[_0x5a36df]),_0x15807e=this[_0x5a44b2(0x138)][_0x5a44b2(0xcb)](_0x5a36df),_0x4f5415=new _0x54ab1c(_0x3e4ef8[_0x5a44b2(0x18e)](_0x15807e,0x0),_0x4d4ebe,_0x623031++);_0x175e7c[_0x5a44b2(0xe4)](_0x4f5415);for(const [_0x2c0f7f,_0x3cc4bb]of _0x4d4ebe[_0x5a44b2(0x155)]){const _0x9655f8=_0x3e4ef8[_0x5a44b2(0x162)](_0x3e4ef8[_0x5a44b2(0x115)](_0x15807e,_0x3cc4bb[_0x5a44b2(0x116)][_0x5a44b2(0x14b)][_0x5a44b2(0x158)]()),_0x3e4ef8[_0x5a44b2(0x115)](_0x15807e,_0x3cc4bb[_0x5a44b2(0x17b)][_0x5a44b2(0x14b)][_0x5a44b2(0x158)]())),_0x485374=new _0x44fe44(_0x2c0f7f,null,_0x9655f8,_0x3e4ef8[_0x5a44b2(0x155)],!0x0,_0x623031++);_0x175e7c[_0x5a44b2(0xe4)](_0x485374);}}if(_0x1d482e)for(const [_0x3f768b,_0x47c893]of Object[_0x5a44b2(0xce)](_0x1d482e)){const _0x2a7d82=_0x3e4ef8[_0x5a44b2(0x9a)][_0x5a44b2(0xcb)](_0x3f768b);if(!_0x2a7d82)throw new _0xe3ed2e(_0x5a44b2(0xb7),null);for(const [_0x180acc,_0x18c6bb]of Object[_0x5a44b2(0xce)](_0x47c893))if(null!==_0x18c6bb){const _0x337137=new _0x17fb6c(_0x2a7d82,_0x180acc,null,_0x18c6bb,_0x623031++);_0x175e7c[_0x5a44b2(0xe4)](_0x337137);}}return _0x175e7c;}async[_0x5dbe19(0xb6)](_0x21e1fb,_0x3cc506,_0x2c7ba2){const _0xc4cb24=_0x5dbe19;this[_0xc4cb24(0x176)]({[_0x21e1fb]:_0x3cc506},{[_0x21e1fb]:_0x2c7ba2})[_0xc4cb24(0xe5)]((_0x1e2800,_0x42df17)=>{const _0x56f102=_0xc4cb24;_0x1e2800[_0x56f102(0xf1)]=this[_0x56f102(0x138)][_0x56f102(0x17d)]+_0x42df17,_0x1e2800[_0x56f102(0x11b)]=!0x0,this[_0x56f102(0xdc)](_0x1e2800);}),this[_0xc4cb24(0x94)](),await this[_0xc4cb24(0xe9)]();}async[_0x5dbe19(0x13a)](_0x511a21,_0x277d58){const _0x455e53=_0x5dbe19;let _0x5cd775;this[_0x455e53(0x180)]=_0x511a21[_0x455e53(0x113)];const _0x197f70=_0x511a21[_0x455e53(0x133)]&&!_0x511a21[_0x455e53(0x127)],_0x1f7636=_0x197f70?0x0:_0x511a21[_0x455e53(0x106)][_0x455e53(0xf1)];if(_0x277d58[_0x455e53(0xe5)](_0x5b1295=>{const _0x209b99=_0x455e53;_0x5b1295[_0x209b99(0x11b)]=!0x0,_0x5b1295[_0x209b99(0x12e)]=_0x511a21[_0x209b99(0x12a)],_0x5b1295[_0x209b99(0x136)]=null;}),_0x197f70)_0x5cd775=_0x277d58,this[_0x455e53(0x16f)](_0x5cd775,_0x197f70);else{if(_0x511a21[_0x455e53(0x127)]){const _0x2e8908=this[_0x455e53(0x176)](_0x511a21[_0x455e53(0x127)]);this[_0x455e53(0x138)][_0x455e53(0xa0)][_0x455e53(0x17d)]=-_0x2e8908[_0x455e53(0xac)],_0x2e8908[_0x455e53(0xe5)](_0x2f0e35=>{const _0xba1bb0=_0x455e53;_0x2f0e35[_0xba1bb0(0xf1)]-=_0x2e8908[_0xba1bb0(0xac)],_0x2f0e35[_0xba1bb0(0x12e)]=_0x511a21[_0xba1bb0(0x12a)],_0x2f0e35[_0xba1bb0(0x11b)]=!0x0,_0x2f0e35[_0xba1bb0(0x136)]=null;}),this[_0x455e53(0x16f)](_0x2e8908,!0x0),this[_0x455e53(0xf2)][_0x455e53(0x17d)]=-_0x2e8908[_0x455e53(0xac)]+this[_0x455e53(0x180)],this[_0x455e53(0xc1)](_0x2e8908);}this[_0x455e53(0x138)][_0x455e53(0xa0)][_0x455e53(0x17d)]=_0x1f7636,_0x5cd775=this[_0x455e53(0x17c)](_0x511a21[_0x455e53(0x106)],_0x511a21[_0x455e53(0xfe)]),await this[_0x455e53(0x151)](_0x5cd775),this[_0x455e53(0x16f)](_0x5cd775,_0x197f70);}_0x511a21[_0x455e53(0x142)]&&(this[_0x455e53(0xb5)][_0x455e53(0x167)](_0x5cd775,_0x511a21[_0x455e53(0x142)]),this[_0x455e53(0x183)]=_0x511a21[_0x455e53(0x142)]),this[_0x455e53(0xf2)][_0x455e53(0x17d)]=_0x1f7636+this[_0x455e53(0x180)],this[_0x455e53(0xc1)](_0x5cd775),_0x277d58[_0x455e53(0xe6)](_0x3647c1=>{const _0x22ac1e=_0x455e53,_0x28976f=this[_0x22ac1e(0x147)](_0x3647c1);return _0x28976f&&!this[_0x22ac1e(0xd8)][_0x22ac1e(0x109)](_0x28976f);})[_0x455e53(0xe5)]((_0x22d403,_0x2712b1)=>{const _0x40c03a=_0x455e53;_0x22d403[_0x40c03a(0xf1)]=this[_0x40c03a(0x138)][_0x40c03a(0x17d)]+_0x2712b1,this[_0x40c03a(0xdc)](_0x22d403);}),this[_0x455e53(0xfd)]()?(this[_0x455e53(0x13f)]=0x0,this[_0x455e53(0x94)](!0x0),await this[_0x455e53(0xe9)]()):(this[_0x455e53(0x11d)]=!0x1,this[_0x455e53(0x102)]());}[_0x5dbe19(0x175)](_0x3aeb4b,_0x4eb137){const _0x14e681=_0x5dbe19;throw this[_0x14e681(0x11d)]=!0x0,_0x4eb137&&console[_0x14e681(0x160)](_0x4eb137),new _0xe3ed2e(_0x3aeb4b,this[_0x14e681(0xd6)]);}[_0x5dbe19(0xdc)](_0x4dae46){const _0xe6056c=_0x5dbe19;this[_0xe6056c(0x185)][_0xe6056c(0x109)](_0x4dae46)||(this[_0xe6056c(0x185)][_0xe6056c(0x18b)](_0x4dae46),this[_0xe6056c(0x172)][_0xe6056c(0xe4)](_0x4dae46),this[_0xe6056c(0x101)]||_0xe6056c(0xe8)==_0x4dae46[_0xe6056c(0x10b)]&&!_0x4dae46[_0xe6056c(0x12f)]||this[_0xe6056c(0x152)]());}[_0x5dbe19(0x94)](_0x72d514=!0x1){const _0x131751=_0x5dbe19;!_0x72d514&&this[_0x131751(0x11d)]||(this[_0x131751(0x11d)]=!0x0,clearTimeout(this[_0x131751(0xe2)]),this[_0x131751(0xe2)]=setTimeout(()=>{const _0x567d12=_0x131751;this[_0x567d12(0x15d)]()[_0x567d12(0x104)](_0x1dd935=>{const _0x43fc49=_0x567d12;_0x1dd935&&(this[_0x43fc49(0x102)](),this[_0x43fc49(0x11d)]=!0x1);})[_0x567d12(0xa6)](_0x515a49=>{const _0x568e02=_0x567d12;if(this[_0x568e02(0x102)](),this[_0x568e02(0x11d)]=!0x1,!function(_0x5d55b8){const _0x100eb6=_0x568e02;return _0x5d55b8[_0x100eb6(0x105)][_0x100eb6(0x110)](_0x100eb6(0x188))||_0x5d55b8[_0x100eb6(0x105)][_0x100eb6(0x110)](_0x100eb6(0xb4))||_0x5d55b8[_0x100eb6(0x105)][_0x100eb6(0x110)](_0x100eb6(0xc4));}(_0x515a49))throw _0x515a49;});},this[_0x131751(0x13f)]));}[_0x5dbe19(0xe9)](){return new Promise(_0x5b18dc=>{const _0x11f857=_0x3636;this['on'](_0x11f857(0x166),()=>{_0x5b18dc();});});}async[_0x5dbe19(0x15d)](){const _0x415bb5=_0x5dbe19,_0x113204=this[_0x415bb5(0xd6)][_0x415bb5(0x14e)][_0x415bb5(0xdd)](_0x427c3d);if(this[_0x415bb5(0xb2)]()&&(_0x113204[_0x415bb5(0x17e)](),this[_0x415bb5(0x190)]=!0x1),!this[_0x415bb5(0xfd)]())return!0x0;const _0x14429b=[...this[_0x415bb5(0x172)]];for(const _0x363316 of _0x14429b)_0x363316[_0x415bb5(0xc6)]=this[_0x415bb5(0x138)][_0x415bb5(0xa0)][_0x415bb5(0x9f)](_0x363316);const _0x536410=this[_0x415bb5(0xb5)][_0x415bb5(0x16d)](_0x14429b),_0x34bdf4=F++,_0x226bd2=this[_0x415bb5(0xd4)](_0x14429b),_0x3ddf1b=await this[_0x415bb5(0xd5)][_0x415bb5(0x16a)](_0x226bd2,_0x226bd2[_0x415bb5(0xf1)],_0x536410);try{return await this[_0x415bb5(0xaa)](_0x14429b,_0x3ddf1b,_0x34bdf4);}catch(_0x477510){return this[_0x415bb5(0x175)](_0x415bb5(0xc3),_0x477510);}}async[_0x5dbe19(0xaa)](_0x29ba53,_0x596136,_0x5ad726){const _0x40c6d9=_0x5dbe19;if(_0x40c6d9(0x160)in _0x596136)throw _0x596136[_0x40c6d9(0x160)];let _0x217c01=!0x1;if(_0x596136[_0x40c6d9(0x133)]){_0x596136[_0x40c6d9(0x142)]&&(this[_0x40c6d9(0x183)]=_0x596136[_0x40c6d9(0x142)]),this[_0x40c6d9(0x172)]=this[_0x40c6d9(0x172)][_0x40c6d9(0xe6)](_0x3e4dac=>!_0x29ba53[_0x40c6d9(0xe3)](_0x3e4dac));for(const _0x1da5ed of _0x29ba53)_0x1da5ed[_0x40c6d9(0x12e)]=_0x40c6d9(0x9d)in _0x596136&&_0x596136[_0x40c6d9(0x9d)]||void 0x0;q(_0x29ba53,_0x596136[_0x40c6d9(0x17d)]-_0x29ba53[_0x40c6d9(0xac)]),this[_0x40c6d9(0xc1)](_0x29ba53);const _0x3b05f6=_0x29ba53[_0x40c6d9(0xe6)](_0x48363a=>{const _0x27df00=_0x40c6d9;if(!_0x48363a[_0x27df00(0x11b)])return!0x1;const _0x5de6b2=this[_0x27df00(0x147)](_0x48363a);return _0x5de6b2&&!this[_0x27df00(0xd8)][_0x27df00(0x109)](_0x5de6b2);});q(_0x3b05f6,this[_0x40c6d9(0x138)][_0x40c6d9(0x17d)]),this[_0x40c6d9(0x16f)](_0x3b05f6),_0x217c01=!0x0,this[_0x40c6d9(0x13f)]=this[_0x40c6d9(0x119)];}else{const _0x2d9315=this[_0x40c6d9(0x17c)](_0x596136[_0x40c6d9(0x106)],_0x596136[_0x40c6d9(0xfe)])[_0x40c6d9(0xe6)](_0x52b880=>_0x52b880[_0x40c6d9(0xf1)]>=this[_0x40c6d9(0x18a)]);_0x2d9315[_0x40c6d9(0xe5)](_0x2aedc1=>this[_0x40c6d9(0x184)](_0x2aedc1)),this[_0x40c6d9(0x172)]=this[_0x40c6d9(0x172)][_0x40c6d9(0xe6)](_0x550bfd=>!_0x550bfd[_0x40c6d9(0x11b)]||!this[_0x40c6d9(0xd8)][_0x40c6d9(0x109)](this[_0x40c6d9(0x147)](_0x550bfd))),this[_0x40c6d9(0x172)][_0x40c6d9(0xac)]&&q(this[_0x40c6d9(0x172)],this[_0x40c6d9(0x172)][0x0][_0x40c6d9(0xf1)]),await this[_0x40c6d9(0x151)](_0x2d9315),_0x217c01=this[_0x40c6d9(0x13e)](_0x2d9315,_0x596136[_0x40c6d9(0x17d)],_0x596136[_0x40c6d9(0x142)]),this[_0x40c6d9(0x13f)]=Math[_0x40c6d9(0x132)](this[_0x40c6d9(0x13f)]/0x2);}return _0x217c01?!this[_0x40c6d9(0xfd)]()||(this[_0x40c6d9(0x94)](!0x0),!0x1):this[_0x40c6d9(0x175)](_0x40c6d9(0xff));}[_0x5dbe19(0x13e)](_0x5d3303,_0x37540d,_0x316714){const _0x393ac8=_0x5dbe19;try{const _0x307bb0={'document':this[_0x393ac8(0x138)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5dffcd,operationsB:_0x2d3edd,originalOperations:_0x4c4941}=_0x1edf9b(_0x5d3303,this[_0x393ac8(0x172)],_0x307bb0);q(_0x5dffcd,this[_0x393ac8(0x138)][_0x393ac8(0x17d)]),q(_0x2d3edd,_0x37540d);for(const _0x233fac of _0x5dffcd){const _0x4de8e2=_0x4c4941[_0x393ac8(0xdd)](_0x233fac);_0x233fac[_0x393ac8(0x136)]=_0x4de8e2?_0x4de8e2[_0x393ac8(0x136)]:null;}_0x316714&&(this[_0x393ac8(0xb5)][_0x393ac8(0x167)](_0x5d3303,_0x316714),this[_0x393ac8(0x183)]=_0x316714),this[_0x393ac8(0x172)]=[..._0x2d3edd],this[_0x393ac8(0x16f)](_0x5dffcd),this[_0x393ac8(0xc1)](_0x5d3303);}catch(_0x4edf18){return console[_0x393ac8(0x160)](_0x4edf18),!0x1;}return!0x0;}[_0x5dbe19(0x16f)](_0x337a0d,_0x489ef3=!0x1){const _0x1b6a3c=_0x5dbe19;this[_0x1b6a3c(0xd6)][_0x1b6a3c(0xee)][_0x1b6a3c(0x99)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4585a5=>{const _0x3d38a1=_0x1b6a3c;for(const _0xb83d87 of _0x337a0d)this[_0x3d38a1(0x185)][_0x3d38a1(0x18b)](_0xb83d87),this[_0x3d38a1(0x184)](_0xb83d87),_0x4585a5[_0x3d38a1(0xda)][_0x3d38a1(0xbe)](_0xb83d87),this[_0x3d38a1(0xd6)][_0x3d38a1(0xee)][_0x3d38a1(0x193)](_0xb83d87);});}[_0x5dbe19(0x184)](_0x124f8a){const _0xe4a60c=_0x5dbe19,_0x27cfa2=this[_0xe4a60c(0x147)](_0x124f8a);_0x27cfa2&&this[_0xe4a60c(0xd8)][_0xe4a60c(0x18b)](_0x27cfa2);}[_0x5dbe19(0x147)](_0x58d5c3){const _0x108747=_0x5dbe19;let _0x380cb7,_0x4e255b;switch(_0x58d5c3[_0x108747(0x10b)]){case _0x108747(0x14a):_0x380cb7=_0x58d5c3[_0x108747(0x10c)][_0x108747(0x12c)];break;case _0x108747(0xe8):if(_0x4e255b=_0x58d5c3[_0x108747(0xeb)],!_0x4e255b)return null;_0x380cb7=_0x4e255b[_0x108747(0x12c)];break;case _0x108747(0xc0):_0x380cb7=_0x58d5c3[_0x108747(0x12c)];break;case _0x108747(0x125):_0x380cb7=_0x58d5c3[_0x108747(0x154)];break;case _0x108747(0xf9):_0x380cb7=_0x58d5c3[_0x108747(0x9b)][_0x108747(0x12c)];break;default:return null;}return _0x380cb7[_0x108747(0x12b)];}[_0x5dbe19(0xc1)](_0x39598b){const _0xc79315=_0x5dbe19;_0x39598b[_0xc79315(0xe5)](_0x8e3fb6=>{const _0x1837d5=_0xc79315,_0x282d24=_0x8e3fb6[_0x1837d5(0x100)]();_0x282d24[_0x1837d5(0x136)]=_0x8e3fb6[_0x1837d5(0x136)],_0x282d24[_0x1837d5(0x11b)]=!!_0x8e3fb6[_0x1837d5(0x11b)],_0x282d24[_0x1837d5(0x12e)]=_0x8e3fb6[_0x1837d5(0x12e)],_0x282d24[_0x1837d5(0xf1)]+=this[_0x1837d5(0x180)],_0x8e3fb6[_0x1837d5(0x123)]&&this[_0x1837d5(0x130)][_0x1837d5(0x18b)](_0x282d24),this[_0x1837d5(0xf2)][_0x1837d5(0xbe)](_0x282d24);});}[_0x5dbe19(0xf7)](_0xd9ac35){const _0x5b3cbe=_0x5dbe19,_0x5a5727=this[_0x5b3cbe(0xd6)][_0x5b3cbe(0x14e)][_0x5b3cbe(0xdd)](_0x5b3cbe(0x13c)),_0x4d30cd=this[_0x5b3cbe(0xd6)][_0x5b3cbe(0xa3)];_0xd9ac35||(_0xd9ac35=_0x873d8f(_0x4d30cd,_0x5b3cbe(0xcc))),_0x5a5727[_0x5b3cbe(0xd0)](_0xd9ac35,{'title':_0x873d8f(_0x4d30cd,_0x5b3cbe(0x97)),'namespace':_0x5b3cbe(0x16e)}),this[_0x5b3cbe(0xc7)]=!0x0,clearTimeout(this[_0x5b3cbe(0xe2)]),this[_0x5b3cbe(0x172)]=[],this[_0x5b3cbe(0xd6)][_0x5b3cbe(0x14e)][_0x5b3cbe(0xdd)](_0x2c1409)[_0x5b3cbe(0x120)]();}[_0x5dbe19(0x152)](){const _0xe02e2c=_0x5dbe19;this[_0xe02e2c(0x101)]||(this[_0xe02e2c(0x101)]=this[_0xe02e2c(0xd6)][_0xe02e2c(0x14e)][_0xe02e2c(0xdd)](_0x4b2280)[_0xe02e2c(0x18b)](_0x873d8f(this[_0xe02e2c(0xd6)][_0xe02e2c(0xa3)],_0xe02e2c(0xd3))));}[_0x5dbe19(0x102)](){const _0x30c329=_0x5dbe19;this[_0x30c329(0x101)]&&(this[_0x30c329(0xd6)][_0x30c329(0x14e)][_0x30c329(0xdd)](_0x4b2280)[_0x30c329(0xa2)](this[_0x30c329(0x101)]),this[_0x30c329(0x101)]=null);}[_0x5dbe19(0xd4)](_0x2ca23c){const _0x27fcec=_0x5dbe19,_0x35427c=_0x2ca23c[_0x27fcec(0xaf)](_0x38e42b=>_0x38e42b[_0x27fcec(0x12d)]());return this[_0x27fcec(0x10d)][_0x27fcec(0x112)](_0x35427c);}[_0x5dbe19(0x17c)](_0x540896,_0x5e9747){const _0x21ab58=_0x5dbe19;return this[_0x21ab58(0x10d)][_0x21ab58(0x146)](_0x540896)[_0x21ab58(0xaf)]((_0x445848,_0x408c12)=>{const _0x31a9da=_0x21ab58,_0x9742b3=_0x31a9da(0x164)==_0x5e9747[_0x408c12][_0x31a9da(0x10b)];if(_0x31a9da(0xc9)==_0x445848[_0x31a9da(0x121)]){const _0x298426=_0x445848[_0x31a9da(0x10c)][_0x31a9da(0x12c)];!this[_0x31a9da(0x138)][_0x31a9da(0xcb)](_0x298426)&&(this[_0x31a9da(0x138)][_0x31a9da(0x194)](_0x31a9da(0x129),_0x298426)[_0x31a9da(0x182)]=!0x1);}const _0x10f230=_0xbe4b04[_0x31a9da(0x141)](_0x445848,this[_0x31a9da(0x138)]);return _0x10f230[_0x31a9da(0xc6)]=_0x445848[_0x31a9da(0xc6)],_0x10f230[_0x31a9da(0x11b)]=_0x9742b3,_0x10f230[_0x31a9da(0x136)]=_0x9742b3?null:_0x5e9747[_0x408c12][_0x31a9da(0x148)],_0x10f230[_0x31a9da(0x123)]=_0x31a9da(0x131)===_0x5e9747[_0x408c12][_0x31a9da(0x10b)],_0x10f230[_0x31a9da(0x12e)]=_0x5e9747[_0x408c12][_0x31a9da(0x12e)],_0x10f230;});}[_0x5dbe19(0x18f)](){const _0x3f8093=_0x5dbe19;this[_0x3f8093(0x190)]=!0x0,this[_0x3f8093(0xb2)]()?this[_0x3f8093(0x94)]():this[_0x3f8093(0x190)]=!0x1;}[_0x5dbe19(0xb2)](){const _0x6fa27f=_0x5dbe19,_0x554061=this[_0x6fa27f(0xd6)][_0x6fa27f(0x14e)][_0x6fa27f(0xdd)](_0x45efe6)[_0x6fa27f(0xf8)][_0x6fa27f(0xdd)](this[_0x6fa27f(0x18c)]);return!this[_0x6fa27f(0xd6)][_0x6fa27f(0x15f)]&&!!_0x554061&&_0x554061[_0x6fa27f(0xac)]>0x1&&this[_0x6fa27f(0x190)];}[_0x5dbe19(0xfd)](){const _0x3abdae=_0x5dbe19;return this[_0x3abdae(0x172)][_0x3abdae(0xac)]>0x0||this[_0x3abdae(0xb2)]();}}l[_0x5dbe19(0xa8)]=_0x150f89;export default l;class H extends Error{}function q(_0x36f116,_0x35d45a){const _0x3ff49a=_0x5dbe19;for(const _0x211b43 of _0x36f116)_0x211b43[_0x3ff49a(0xf1)]=_0x35d45a++;}class G{constructor(_0x264405){const _0x1136cb=_0x5dbe19;this[_0x1136cb(0xa7)]=_0x264405,this[_0x1136cb(0x137)]=new WeakMap();}[_0x5dbe19(0x16d)](_0x412adb){const _0x581321=_0x5dbe19;let _0x5917ba=_0x412adb[_0x581321(0xac)];for(;_0x5917ba--;){const _0x174b04=_0x412adb[_0x5917ba];if(!this[_0x581321(0xa7)][_0x581321(0x109)](_0x174b04)){if(!this[_0x581321(0x137)][_0x581321(0x109)](_0x174b04)){const _0x2dd659=_0x4c1cc1()[_0x581321(0x158)](0x1,0x12);this[_0x581321(0x137)][_0x581321(0x156)](_0x174b04,_0x2dd659);}return this[_0x581321(0x137)][_0x581321(0xdd)](_0x174b04);}}}[_0x5dbe19(0x167)](_0x472008,_0x4b5d05){const _0x41108c=_0x5dbe19;if(!_0x4b5d05)return;let _0x1a23e0=_0x472008[_0x41108c(0xac)];for(;_0x1a23e0--;){const _0x168338=_0x472008[_0x1a23e0];this[_0x41108c(0xa7)][_0x41108c(0x109)](_0x168338)||this[_0x41108c(0x137)][_0x41108c(0x156)](_0x168338,_0x4b5d05);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x143a3b=_0x3ff3;(function(_0x1b8697,_0x51cd2f){const _0x25a7ab=_0x3ff3,_0x554f32=_0x1b8697();while(!![]){try{const _0x3b5c95=-parseInt(_0x25a7ab(0x19d))/0x1+parseInt(_0x25a7ab(0x1b8))/0x2*(-parseInt(_0x25a7ab(0x19e))/0x3)+-parseInt(_0x25a7ab(0x1a0))/0x4+-parseInt(_0x25a7ab(0x194))/0x5*(parseInt(_0x25a7ab(0x1c1))/0x6)+parseInt(_0x25a7ab(0x1b9))/0x7+-parseInt(_0x25a7ab(0x1c4))/0x8+parseInt(_0x25a7ab(0x1a5))/0x9*(parseInt(_0x25a7ab(0x1cb))/0xa);if(_0x3b5c95===_0x51cd2f)break;else _0x554f32['push'](_0x554f32['shift']());}catch(_0x55d692){_0x554f32['push'](_0x554f32['shift']());}}}(_0x1145,0x9f9db));function _0x3ff3(_0x29a301,_0x1ebbc0){const _0x1145bb=_0x1145();return _0x3ff3=function(_0x3ff360,_0x45aa1d){_0x3ff360=_0x3ff360-0x191;let _0x5b7877=_0x1145bb[_0x3ff360];return _0x5b7877;},_0x3ff3(_0x29a301,_0x1ebbc0);}import{ContextPlugin as _0xa64c9b}from'ckeditor5/src/core.js';function _0x1145(){const _0x41e784=['744gihOaS','channelConnectedUsers','allConnectedUsers','9028576HRNnbX','user','requires','getUserBySessionId','sessions-unregister-not-exist','Sessions','role','17252880ArXrKm','defineMe','add','addUser','remove','38100uRINEE','sessionId','set','forEach','unregister','sessions-register-already-registered','context','sessionAdd:','getUser','642574YMcxxD','3bGqPOu','_registeredSessions','782492VgFAWx','plugins','size','isMe','change:state','18axBbuo','_handleSessionAdd','stopListening','assign','listenTo','_uniqueUsersCount','pluginName','clear','delete','register','mySessionId','connected','connection','has','orderNumber','values','get','fire','init','1816762XWjORH','7162687KSQcvC','_users','getUserRole','getUserSessions','state','_createUser','_handleSessionRemove','channelSessions'];_0x1145=function(){return _0x41e784;};return _0x1145();}import{Collection as _0x1d994c,CKEditorError as _0x1f4eba}from'ckeditor5/src/utils.js';import _0x5dc40c from'./websocketgateway.js';import{Users as _0x41a837}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0xa64c9b{static get[_0x143a3b(0x1ab)](){const _0x391316=_0x143a3b;return _0x391316(0x1c9);}static get[_0x143a3b(0x1c6)](){return[_0x5dc40c,_0x41a837];}constructor(_0x549b69){const _0x489bd6=_0x143a3b;super(_0x549b69),this[_0x489bd6(0x1c0)]=new Map(),this[_0x489bd6(0x1c2)]=new Map(),this[_0x489bd6(0x1c3)]=new _0x1d994c(),this[_0x489bd6(0x19f)]=new Map(),this[_0x489bd6(0x1aa)]=0x0,this[_0x489bd6(0x1ba)]=this[_0x489bd6(0x19a)][_0x489bd6(0x1a1)][_0x489bd6(0x1b5)](_0x41a837);}[_0x143a3b(0x1b7)](){const _0x5eff38=_0x143a3b,_0x1c8eae=this[_0x5eff38(0x19a)][_0x5eff38(0x1a1)][_0x5eff38(0x1b5)](_0x5dc40c);this[_0x5eff38(0x1a9)](_0x1c8eae,_0x5eff38(0x1a4),(_0x2069a4,_0x5594c0,_0x58e7ea)=>{const _0x23fabe=_0x5eff38;if(_0x23fabe(0x1b0)!==_0x58e7ea)this[_0x23fabe(0x1c0)][_0x23fabe(0x197)](_0x3591c8=>_0x3591c8[_0x23fabe(0x1ac)]()),this[_0x23fabe(0x1c2)][_0x23fabe(0x197)](_0x28b718=>_0x28b718[_0x23fabe(0x1ac)]()),this[_0x23fabe(0x1c3)][_0x23fabe(0x1ac)]();else{for(const [_0x39354f,_0x488bf1]of this[_0x23fabe(0x19f)])for(const _0x261833 of _0x488bf1)this[_0x23fabe(0x1a6)](_0x39354f,_0x261833);}}),this[_0x5eff38(0x1be)](_0x1c8eae[_0x5eff38(0x1b1)]['me'],!0x0);}[_0x143a3b(0x1ae)](_0x4861d8,_0xa05329){const _0x345174=_0x143a3b;if(this[_0x345174(0x19f)][_0x345174(0x1b2)](_0x4861d8))throw new _0x1f4eba(_0x345174(0x199),null,{'channelId':_0x4861d8});this[_0x345174(0x19f)][_0x345174(0x196)](_0x4861d8,_0xa05329),this[_0x345174(0x1c0)][_0x345174(0x196)](_0x4861d8,new _0x1d994c()),this[_0x345174(0x1c2)][_0x345174(0x196)](_0x4861d8,new _0x1d994c()),this[_0x345174(0x1a9)](_0xa05329,_0x345174(0x191),(_0x441607,_0x361c86)=>this[_0x345174(0x1a6)](_0x4861d8,_0x361c86)),this[_0x345174(0x1a9)](_0xa05329,_0x345174(0x193),(_0x6daf69,_0xe3e0c5)=>this[_0x345174(0x1bf)](_0x4861d8,_0xe3e0c5));for(const _0x2b3a03 of _0xa05329)this[_0x345174(0x1a6)](_0x4861d8,_0x2b3a03);}[_0x143a3b(0x198)](_0x21974d){const _0x5c248e=_0x143a3b;if(!this[_0x5c248e(0x19f)][_0x5c248e(0x1b2)](_0x21974d))throw new _0x1f4eba(_0x5c248e(0x1c8),null,{'channelId':_0x21974d});const _0x372b36=this[_0x5c248e(0x19f)][_0x5c248e(0x1b5)](_0x21974d);this[_0x5c248e(0x1a7)](_0x372b36);for(const _0x2ef73d of _0x372b36)_0x5c248e(0x1b0)===this[_0x5c248e(0x19a)][_0x5c248e(0x1a1)][_0x5c248e(0x1b5)](_0x5dc40c)[_0x5c248e(0x1bd)]&&this[_0x5c248e(0x1bf)](_0x21974d,_0x2ef73d);this[_0x5c248e(0x19f)][_0x5c248e(0x1ad)](_0x21974d),this[_0x5c248e(0x1c0)][_0x5c248e(0x1ad)](_0x21974d),this[_0x5c248e(0x1c2)][_0x5c248e(0x1ad)](_0x21974d);}get[_0x143a3b(0x1af)](){const _0x4c6186=_0x143a3b;return this[_0x4c6186(0x19a)][_0x4c6186(0x1a1)][_0x4c6186(0x1b5)](_0x5dc40c)[_0x4c6186(0x1b1)][_0x4c6186(0x195)];}[_0x143a3b(0x1c7)](_0x9a6b7f){const _0x35df5c=_0x143a3b;for(const _0x7cfa67 of this[_0x35df5c(0x1c0)][_0x35df5c(0x1b4)]())for(const _0x2e4e10 of _0x7cfa67)if(_0x2e4e10['id']===_0x9a6b7f)return _0x2e4e10[_0x35df5c(0x1c5)];}[_0x143a3b(0x1bc)](_0x4c0027,_0x292c8d){const _0x3d8ec7=_0x143a3b,_0x27a112=_0x292c8d?[this[_0x3d8ec7(0x1c0)][_0x3d8ec7(0x1b5)](_0x292c8d)]:this[_0x3d8ec7(0x1c0)][_0x3d8ec7(0x1b4)](),_0x495ac1=new Set();for(const _0x4cde85 of _0x27a112)for(const _0x4a8fdc of _0x4cde85)_0x4a8fdc[_0x3d8ec7(0x1c5)]['id']===_0x4c0027['id']&&_0x495ac1[_0x3d8ec7(0x191)](_0x4a8fdc['id']);return _0x495ac1;}[_0x143a3b(0x1bb)](_0x4b130f){const _0x5d5a73=_0x143a3b;for(const _0x79239 of this[_0x5d5a73(0x1c0)][_0x5d5a73(0x1b4)]())for(const _0x50c84c of _0x79239)if(_0x50c84c[_0x5d5a73(0x1c5)]===_0x4b130f)return _0x50c84c[_0x5d5a73(0x1ca)];}[_0x143a3b(0x1a6)](_0x59b857,_0x29e836){const _0x1d6d58=_0x143a3b;if(_0x1d6d58(0x1b0)!==this[_0x1d6d58(0x19a)][_0x1d6d58(0x1a1)][_0x1d6d58(0x1b5)](_0x5dc40c)[_0x1d6d58(0x1bd)])return;const _0x2082af=_0x29e836[_0x1d6d58(0x1c5)],_0x7f3796=this[_0x1d6d58(0x1ba)][_0x1d6d58(0x19c)](_0x2082af['id'])||this[_0x1d6d58(0x1be)](_0x2082af),_0x1a5cb7=Object[_0x1d6d58(0x1a8)]({},_0x29e836,{'user':_0x7f3796});this[_0x1d6d58(0x1c0)][_0x1d6d58(0x1b5)](_0x59b857)[_0x1d6d58(0x191)](_0x1a5cb7);const _0x1efd8a=this[_0x1d6d58(0x1c2)][_0x1d6d58(0x1b5)](_0x59b857);_0x1efd8a[_0x1d6d58(0x1b2)](_0x7f3796['id'])||_0x1efd8a[_0x1d6d58(0x191)](_0x7f3796),this[_0x1d6d58(0x1c3)][_0x1d6d58(0x1b2)](_0x7f3796['id'])||this[_0x1d6d58(0x1c3)][_0x1d6d58(0x191)](_0x7f3796,_0x7f3796[_0x1d6d58(0x1a3)]?0x0:void 0x0),this[_0x1d6d58(0x1b6)](_0x1d6d58(0x19b)+_0x59b857,{'channelId':_0x59b857,'session':_0x1a5cb7});}[_0x143a3b(0x1bf)](_0x5a820b,_0x23f8ae){const _0x4a557b=_0x143a3b;if(_0x4a557b(0x1b0)!==this[_0x4a557b(0x19a)][_0x4a557b(0x1a1)][_0x4a557b(0x1b5)](_0x5dc40c)[_0x4a557b(0x1bd)])return;const _0x1064cb=this[_0x4a557b(0x1c2)][_0x4a557b(0x1b5)](_0x5a820b),_0x5d7345=_0x23f8ae[_0x4a557b(0x1c5)];_0x5d7345['id']&&(this[_0x4a557b(0x1c0)][_0x4a557b(0x1b5)](_0x5a820b)[_0x4a557b(0x193)](_0x23f8ae['id']),_0x1064cb[_0x4a557b(0x1b2)](_0x5d7345['id'])&&!this[_0x4a557b(0x1bc)](_0x5d7345,_0x5a820b)[_0x4a557b(0x1a2)]&&_0x1064cb[_0x4a557b(0x193)](_0x5d7345['id']),this[_0x4a557b(0x1c3)][_0x4a557b(0x1b5)](_0x5d7345['id'])&&!this[_0x4a557b(0x1bc)](_0x5d7345)[_0x4a557b(0x1a2)]&&this[_0x4a557b(0x1c3)][_0x4a557b(0x193)](_0x5d7345['id']));}[_0x143a3b(0x1be)](_0x30846a,_0x57b3a7){const _0x59ecde=_0x143a3b,_0x513978=this[_0x59ecde(0x1ba)][_0x59ecde(0x192)](_0x30846a);return _0x57b3a7&&this[_0x59ecde(0x1ba)][_0x59ecde(0x1cc)](_0x30846a['id']),_0x513978[_0x59ecde(0x1b3)]=this[_0x59ecde(0x1aa)]++,_0x513978;}}
|